/home/ubuntu/api-facebook/routes/webhook.js:20 if (body?.entry[0]?.id == '107716635925902' || ///BCW ^ SyntaxError: Unexpected token . at Module._compile (internal/modules/cjs/loader.js:721:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17) at Module.Hook._require.Module.require (/home/ubuntu/.nvm/versions/node/v10.16.0/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:70:37) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/home/ubuntu/api-facebook/app.js:7:15) at Module._compile (internal/modules/cjs/loader.js:776:30) /home/ubuntu/api-facebook/routes/webhook.js:20 if (body?.entry[0]?.id == '107716635925902' || ///BCW ^ SyntaxError: Unexpected token . at Module._compile (internal/modules/cjs/loader.js:721:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17) at Module.Hook._require.Module.require (/home/ubuntu/.nvm/versions/node/v10.16.0/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:70:37) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/home/ubuntu/api-facebook/app.js:7:15) at Module._compile (internal/modules/cjs/loader.js:776:30) /home/ubuntu/api-facebook/routes/webhook.js:20 if (body?.entry[0]?.id == '107716635925902' || ///BCW ^ SyntaxError: Unexpected token . at Module._compile (internal/modules/cjs/loader.js:721:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17) at Module.Hook._require.Module.require (/home/ubuntu/.nvm/versions/node/v10.16.0/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:70:37) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/home/ubuntu/api-facebook/app.js:7:15) at Module._compile (internal/modules/cjs/loader.js:776:30) /home/ubuntu/api-facebook/routes/webhook.js:20 if (body?.entry[0]?.id == '107716635925902' || ///BCW ^ SyntaxError: Unexpected token . at Module._compile (internal/modules/cjs/loader.js:721:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17) at Module.Hook._require.Module.require (/home/ubuntu/.nvm/versions/node/v10.16.0/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:70:37) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/home/ubuntu/api-facebook/app.js:7:15) at Module._compile (internal/modules/cjs/loader.js:776:30) 01/19/2024 05:01:08: (node:8685) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 01/19/2024 05:33:01: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7704095529617807?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7940, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7704095529617807?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7704095529617807?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7704095529617807?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7704095529617807?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoQSUnz0-WZAoMoPcfSW9fY', 'x-fb-trace-id': 'FKX5gZhaeO5', 'x-fb-rev': '1010903399', 'x-fb-debug': 'QZC/FR69a94/Jtk2nFP477xCsmjLeZd9tQxiSJ1OpZTOfC1mRUdotuMPZMxgrolRstILOIWbB+P4u76UzTKnHA==', date: 'Fri, 19 Jan 2024 05:33:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLgBU9_MxCpnZcX4cgQeq34_WlMIjBmSO5V67--XuXWLsyukdvxeosG4qmGAcBY7bZb8IoC3ftpNyRCoGeXYrMhvFoIMl7r3AHHlQ9Qwrb2zudzGQ"; e_fb_vipport="AcIk9xTlTCDeFMy8Y8J3uYlhZtZ1G1a9dx4ebzt_qVOTSPJMZH_2bSZ--uTE"; e_upip="AcKA13NILH7c84RN4_PQlkoBMYN8f0hver1KM4Y1SfkJhS_XZZ3DiJ6SOWowdWpNfH93u_0DHCYYVGNQG4KvQg0snsx8sa_FuW8"; e_fb_hostheader="AcIaS0nMXm6wu9ZkEcM2Pad-l_vD8ND9Loaxp0_DzSxuMA3O3DX4UO9aHnpQE8a2gHXOPRyJdMH081GT"; e_fb_vipaddr="AcJ5siA4TqkA_fya9UKJdBwnMx5JvSxhNJ045cbXmaZURVc5btM862nGCW3LBEAdiVxBFdIigaOF_FNeh-_SK1puiXQg1glSJg"; e_fb_requesthandler="AcKZizziJD8mkjuWMynBL7Y_rLOMvE7LFOOtvrgXNAzk6mJLgxONAA8-nKXocYTZYcHaZ7zwrio"; e_fb_builduser="AcLn6Hg-y-dq1qzmVZSMwQJefm-OZl5j6J8D11oVtcxbqXYXN2FgtR90m5i16fu7_4U"; e_fb_binaryversion="AcJd7Cm70tIh4uTmlfOrb6HX808gvbYC5JtWIKLAbDdRZ0AX8hWkg1zj6nOQvy1_Q55aehc6YUx_hyDzWjELAJ5jdG7CYTOU-Ag"; e_proxy="AcJtudEoEHjgS60nfHEuMBWB5I6sq1r8sVNwUMuH2q1ijCjLNcdeDimjTigPHxhwPXSzh1KEqWXUbvhky_6D", http_request_error; e_clientaddr="AcK8BIECzlKoLcpJyPYNPhYKfqY1fqIiTeC8vaK4f1f44exhKXcLkwl3QDrxATWQNRQGjqgHoBYCqeJCpA"; e_fb_vipport="AcJWsQ0DHUKehshug_8r2FIxyash7_-V2s1OZN0FPlG-frAOkD_RHWDGVThJ"; e_upip="AcJKPtpNlO45mxjbOIqrtPgwMEGDkLKzFougI0rtMcmCAgG16JgcesLhu4IYz84MQFIk6CxEGCZW6O8KSwVWEznB_oyGlGXh6g"; e_fb_hostheader="AcJmvNcm4i0BdCBqhNuQyKnwgsJERwNU8t6ykAHI3muudgIhs1TmWfewLNf0k_K1ECe-oJquhUDBp16L"; e_fb_vipaddr="AcJ5jg0WysTyngurWA8xqS2_CaF8LVMUZ8U4FB5CyIicwChEuWuzFLfXCFG0Dk-7z1IxL-zqgQ"; e_fb_requesthandler="AcIo6B7Fr_BPnkc8czTi1vQg6gdH3v_iBLQAJE2P3KHfKSWpkBUwZtJKmd91R14cTRko3ZQwci0"; e_fb_builduser="AcJPAEse6aRz4tqw-bcqs1ZT0uAw5isg2nXL54UaoahmG7NppzP7EZbg69svd-KRBkg"; e_fb_binaryversion="AcJFDturHkfEYBml-6eb1FturVYIqRTF4MUpXvPxl2g0oF-4vhTiXqJQnsuQoR3FGuGd_eFVDMejvLqo_-KJ-BM8NhXTIPFPN4I"; e_proxy="AcIJKMMBW3HG-lLU7RZa43lKlw_Njs_DGt8TE6U89rRtUaiixZqDqhNDhyhSVLS84SIy1442j4QeTe0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7704095529617807?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7704095529617807?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7704095529617807?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 05:33:01: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/19/2024 05:33:01: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/19/2024 05:33:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 05:33:01: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ah8L9LPcxCRvBVPaioXCvlb" } } 01/19/2024 05:33:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8064, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALzuJJq7ayuoVgr-PcC-Id4', 'x-fb-trace-id': 'A0m3YaFVd3Q', 'x-fb-rev': '1010903399', 'x-fb-debug': 'j6biYLpxlmfUq41fwEMJtBcB4ZOhCPx4t5Q1crtnDT1bo2wDhG2e2K2zwOHgw9JxsVM+fcjE6QySuMmh7jT2OQ==', date: 'Fri, 19 Jan 2024 05:33:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKaREsJOpPvnvoCM0VwIbhhxzIrHDgquUPag3ZL5zE2p3Z0BAK0KuwOrUEUUjI26XQKoQ9wxZ9tClKNET6mK5OozitKUSNfPzkkvyBOPsKTGzzNkg"; e_fb_vipport="AcKJmHtin3QOyO24xNORWjRVkdEns9r_DVVu01At0pt3F_YxI5eKrwGuJLBl"; e_upip="AcIfPhDuLYaVniUbZWpqeVmFbFDwIMZddKHKLRd5DRPUcRK7IQy49IgLdu1PhAePSawNSW0l75yGEDVeF6-1AFWNztvJy8UMvTU"; e_fb_hostheader="AcKXkN-BTBwycrgmfG5LrX_vIolyrDEa6TL9MItac3msyJLxM8dq48yh96b6H11_apofKSkipGlzgx5U"; e_fb_vipaddr="AcKndoaa3AxiVNEYIDoP6jfKgbrNT1BxsEaqtDc7JVeBPs7GVjujZU9-lbHDV6qixkVTtHgkQBmKOH6ce4d2Wwqu6zk-y-f6Tw"; e_fb_requesthandler="AcL-E-o9uxU1PqMITJBFX485mRzySTVmGww2RRQ9TEDw7S6GCnup3AawBX5u9TAMhO9NSi-5Or0"; e_fb_builduser="AcKzKWsSrcMOcJr_bVdhH2Fe8c9RnMWz6vZ4ILpGiRHwfXw-0S2Pb6GwjA2MKcOi43s"; e_fb_binaryversion="AcJE603UjeleGvHT6J1X9CoFJNPGCNirtVxImR-2rLXworbvvzcq9hi2OqJhlNOJMLogRpACWRjRQ0fEiRywRXGgupr1N_bmJQU"; e_proxy="AcLqszlOLLvp3J6tSbrSmNfquZIb24cH1RKE7q11482Fr9FyMGzwbFZDmB00FesfJQK5hWlqHc75Fq4SfUdn", http_request_error; e_clientaddr="AcKdlT0YZK5tpbZBTl_ubzQfFG9fQDL2qFbArh-4G_wpbUWSe2daPgaVHf7uVFoT7DasSNO39g7lDoKiaA"; e_fb_vipport="AcIb4Jckze91Jl2SIQuAtZjP6NG0yUbvJTwq18-BDn7rNSxhi5OCsZXjsVBq"; e_upip="AcKXnm2yqDOHYJiwqTPz-mD9oBo0G667X-3HKqMtj4vxVJ8xKsnU86z0IvFkdt4bqhUEyhdr5QqU6S698iPbx3EUizTBdcWy4g"; e_fb_hostheader="AcLtCjIkAmdJXpz7OnvryN7kyDTfkCambUzWnjdfSUtU9VVtA_2wr1uXd682zQ2cI282K-jNIt-fdwRi"; e_fb_vipaddr="AcKOI5VqPE7eUQ4Gn2v4nnKixxM8yZnZgvombZ-YlhJjlLuqe4HIqJF8PMk5Lm1V1uvmPRTXIg"; e_fb_requesthandler="AcL9_5qjK0vW3Wrihd7Y_FRrIo0chAMpfyakd_7zK1__fF1nqUaTIzMLZslkngvib9_ICCU_Rlo"; e_fb_builduser="AcIykdN3abTWo4_27OkH9Zkv9IBFlGrAKsQSQPbRl10sCsSHM3aoppvU_IuLAO3ltN8"; e_fb_binaryversion="AcLuA3OCUtg5ixJBQD_WaxyngFd9mzAT2lzSxQrDJGLOu3wPjV7B95IkNFO-ab2MIbd6D07En9XIv1_TVpKPEZVATtYhsda40VQ"; e_proxy="AcJ069Qp-xLK3Afuwpxe_zABW1CfChginDw_zjJkKheIYQ7kxKpGxuKSmdjQGTpTT8akFw8x5qPob1w"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 05:33:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/19/2024 05:33:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8136, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXOHvFhDePrky-zZamcU36W', 'x-fb-trace-id': 'Eqms+zgrSGG', 'x-fb-rev': '1010903399', 'x-fb-debug': 'Z8sqZSxpzFpR6k8JxejTnYjVRbjyVqL6K3P8WxETNA9fifz3lrb8fgMCFxxFpsJM+UnTVBXA5nMKhciUpcCOeA==', date: 'Fri, 19 Jan 2024 05:33:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIJmky5htNbiItx-nCzUTGHVACriClPJ86RMSHNWkj5G3rHkhTU8wE8_muY8I426LA7vZv_pbO0v5l4eGqY6Y72DHBAnfXCTpdtGHeKALEspXCocA"; e_fb_vipport="AcLwP_EhHtbePm9yYHu19uXrNAvc-ATn0JMozoKtriVFo4vCtagLDayLjT4D"; e_upip="AcJPSqK9eLN1rQZntmBAJz1Vunvf_e1aRNaxzVhv2xfR_njoI_8YJtQyCRz7xI7DaBWNIkPWRqIkoo4ukb0a1Wzu9ZC_VZLCbIk"; e_fb_hostheader="AcK_ZWFUNIdYiaPotu2neECO9f0j8GSqZMkymV_iAIiJfFDplsP1MtQL5gECBqrkbKMgVR64k10qtWjn"; e_fb_vipaddr="AcK_sF82umCQ-4P8QSVf3ihU2wT5PUBY7DJaSuexMroG4fHoAyxX7QWdsgBBJQSNLOD_Fxbrd_m2uiBc9u7tScOzWCEG4odH0Q"; e_fb_requesthandler="AcJB_fYAqifJxKcCWMsDV0BU52yuT24vDTV6v9_d6Os4bhs0VqQTIRlbd4uKf11Lcmej3o0Uhx8"; e_fb_builduser="AcKa1-20vKbYB1PhrzWKoN4tnN7rEHyyuVvIYiuUYeY60XPL7smBBLUhHoFxEbfYq4A"; e_fb_binaryversion="AcKGlC2GpeqyLfG_LdUvR-Wv4wHLQx6CPMm3GBn-T3aphrD3x7pUXfMwJQDyWhht8ehf48CxjH3SlucXFi1zXW6r82B_zL4bGKI"; e_proxy="AcJnbFk2cmK6lChKaFGC81kNIikz_z1o2bcUmNsHRMyBuLWuRasQV_vZ5gpyqJFvLR5DJX4jFWuLLgsnPhNn", http_request_error; e_clientaddr="AcKS7Y9EIHrTSFnQ4uw5Xj2VbuLb9HsSu1It5esxO1ZE3OuWixyzEHbhT6bW-AeI_bGUeoWuo-tIhsi4_A"; e_fb_vipport="AcIMejWYm5mhUex6p3ZFXguNvgHFaArdcy6VOwBJFGLdPBxmu8tqSsv3PB6J"; e_upip="AcLSFmQjnVG5ulf7xBzH0jy76NaFw7gcBnkLJfazv3D6qgp3YygroyZI6iaF4URFq3fiNNAbNLQcC_NBDSXKYVCCgJU8t7ocpQ"; e_fb_hostheader="AcLIiXhyzwrY-91PZA-cL28wcS7juwiTjmQdzGc9xvFJIagy3lNaMSTTqUXSRRP5rgABU0e57M7Mx1Nf"; e_fb_vipaddr="AcI4F6rn_XQ-Bdxa24hkcXtFohcW9J7GKpZWYT_yo_LbUoT3isbL0_zA-WVLmW7lfNweG6cy6w"; e_fb_requesthandler="AcKzeqSrAKgEBTZ1dy-we6jcurB9xX0Aa7i0X6C72UatmREyVql3JeZyYTECxLrpo-SsKSLRTy0"; e_fb_builduser="AcIhhaLMzmWhAW9WWN7lRdVfw1fZ8xkJGOVhbKrd-yd03ZfqXcUth-lf0p9BsCtFrE8"; e_fb_binaryversion="AcJWMGcvFYTq6rpJRdlTFZ7lBfevDa2LRWNCyLayPmq8QdtzWc0RNNo5ac60suEDZ2x_Gs4CrxI1TboyAwEKFqHxUQLGPKBPrD0"; e_proxy="AcKogoA_nA7lLmZ16XDTNoJ--EjF2_wG4A6ZCz3j3n8sYi20CiOzHsZHgU8pIWrz21_VR3i3PuoUFGE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 05:33:01: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AbSN8xNHazrEliJOHfSEJSx" } } 01/19/2024 05:33:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 05:33:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8250, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgMzRe5NTA_Sv7gBSisVagf', 'x-fb-trace-id': 'AidQJ0Ewno2', 'x-fb-rev': '1010903399', 'x-fb-debug': 'JKsH/EWrLbsJ7S9YqIn1c48cXKXs7RWLraHRMEMUVGTcpmlznWzWiw9MsUd7ZjrjH4uogq2YFfkzUmwBfSXtVg==', date: 'Fri, 19 Jan 2024 05:33:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJXK2Vj9syXxeOsIInJ1kpDlwbheBWwsqAeooBpeb8U8TAkT1GA3_AWDPlZ740vkeVhVQOoDLYqIPMsEUgJw5y7CHZ5h5AI69na4nRzhU3_mEmxIw"; e_fb_vipport="AcJTvNDMpWQ2ORS4T2S6zC_0VdhC9b1mgi2nFlayCW5AvjQhd8r50uoyvU4A"; e_upip="AcJC9uTFsTNn_66xF18wTrL1osHDVez4xOAWYegM5SLE3CYGELkL-HQXJd7FnD4rPaQcYTcLzRnLeP8_GiXH9xdBx8xn128a9GM"; e_fb_hostheader="AcJElWhoiyMo7N2dzUlTb9Dq9eYBP2lgLB10aeHckVhdmsz1Oac0mx1jbsOgLQ9e5xJXAeShpZ7GnDZ4"; e_fb_vipaddr="AcLV075ZzLJsF59HX9BoTlxSLfWRroKrtL8Os4r3bZhuBJ2Bf1TkeQ3xYLHF21hgVwnnh5VC9gjP5VpngbnvTLZXY2o4QlE5Bw"; e_fb_requesthandler="AcJvADfiz5OSVq4f4lLCvUprlrjejAxwXWrrKGJrL33FkLX_5FQXAjrWCPQ4tVEArFRMQ_VQ434"; e_fb_builduser="AcIC89PthHTKRIKr8TuAbBP62XlsOGVFrU__WJFu8S4KIc9ap9lY9VT58qn_gGW_bac"; e_fb_binaryversion="AcIbFPJfhHXUeP1ihscHEojqF6pXl5mrr_lOVBB4TN3EpvsJ1BM_R7J3P2iN3kgJwyduJv2ikRPt7HBDz5jHrszPuKRLrkmWcKU"; e_proxy="AcIXN2fOTJ4a0ZX-f_6b-OaS_nkPaI2LqvPJf8O2rXrbzoDXPvtGI7oez1fFuxkEGPzX05TZ9ac5FZWoJ1tY", http_request_error; e_clientaddr="AcKD09KH25QpVtwJcQY-EP7OuvZ_KG4kd5SvSomg0xJcybsxE9_j-TDvyW_kIwEYfLOD-0NQnkpRfZ8SkA"; e_fb_vipport="AcIenbek1sfSJ6yyuHbddFfxXmNqcWd7yf1RtqjU4uNGF5DSrwx9aVVuIEak"; e_upip="AcLuIci7Hiq7ihruyTfBj4CzrymPRL1KAV7AoZ7vt_FNim0RS-4Lz_urEDNYB2ieHipBgiN6p3W84XFNIqEX7dwHvc2-zZX0dQ"; e_fb_hostheader="AcJ_qF1Wp9SJxI6j0AlMePeFfam9k_41eOTbTqupQd7SAX3sqUcDHVS0uQ1BN3nrF98KDMSp8PbUryk4"; e_fb_vipaddr="AcLxSAEYBV3L_8u8VCe42CNDzQtC_EEGFPWJirn81sePTefJjAZ4pI-JMatSHzbeULocBs7kug"; e_fb_requesthandler="AcKI5E-WnxI3vOMIdcN0q0swJCUkcG0FZuZVvQy714B-tiwFKZN91jV0FZusitv0HDTXHwl0Whs"; e_fb_builduser="AcKPpqBK_e4JQxlL5mssuK-h_iicSVHIUFzLSiOaupeuRLlzyOsrm_MuaG2FWt_Qeq4"; e_fb_binaryversion="AcJQ2UttF7Y-psg1sQEUNBKxhKeI7vh_05Y5OT4ZFpE_O8rqqATWCyB2H06DAQr0rPGn2MQYYFuWRem9Hz5QrNEsck6r4UIW224"; e_proxy="AcLyCDvKeOzLesp1-aicixPNyhkhhEpcWgF_-hYG7hTZsQNR0ynXJjKRLtPGfCOkMFUFEdTJAyk3Z4U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 05:33:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 05:33:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8581, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aef9JXX0McNmvogRnr-Ynxj', 'x-fb-trace-id': 'ADWCk543gE1', 'x-fb-rev': '1010903399', 'x-fb-debug': 'YBRmrsZZIK7OeasF0pVLdGfxhGWQRSxcKFyiPM2PX0hXt8wQ+y5akVg5qQBgAeUtV1uITyvLSX1totxgLDXkJA==', date: 'Fri, 19 Jan 2024 05:33:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK2AVaY8Eg1L3TpV-sXSV7PjpIqgrEmCIhxwTehL2LQcwuDt-L4e33kKejxS2tKfNhqs3E02UqNrY2hqKbt5xyrVY6SOFjPHfWAoy7XkZvv"; e_fb_vipport="AcLgPw8o8PWpuqTle7Gbmsht5gLfEksyOgYlAIuMt4OZxoBP3cdLvF8GLfcW"; e_upip="AcIAFwvo5lfiBHDzRhMKgRMbJU1ncRsd30gNmTkfJATkc_6vjCjT1nqTgt7kGWgWUZwrssRGMG_dBbzK9R_KFtZhTv25QMySWA"; e_fb_hostheader="AcIYRD21acGOrQsSZkPKCdirrlKxvzLV_CqRVY5yJmQ6HFCZ0Q44pFMvXuUwiXlA6f9A9owfIdclMGXP"; e_fb_vipaddr="AcJE8VPwm0fq-F8c3TqHzHlAEA2KSkgcx1dj7ZlqEW8VyNPe5FVMlzcr5GZeOfuR4U9VF4nJcSvO-4pYXGx8vJfBrz_J5uOuog"; e_fb_requesthandler="AcKiJG7JV2XHH0q6NQm0dv4vq5SpFa9TOxSx_KZNunRRVDUmkaWg04ybfqa-W3NVtgPIWjCXjCs"; e_fb_builduser="AcK4VMvjaUr1BlRN3XanR7ywdjXQDjN1Ueg2xO1R9xh6SsWN86Lk5u9zYhHtf43dkGw"; e_fb_binaryversion="AcKRkCSylf7tIs_YDtHeZmLjsVbSxjmlPL74fj7pjcplZ4AQM-DNOwDtzHqPnEwg42e7zV7elHLao-WqBif8YLQwGDiL4XEgVAA"; e_proxy="AcLOdYsY9AjZWjednppCYhzfFlYuYhPIqvqSR2TzCgAIS34dMn_3rGqCE9NXNCEH6H252DKHh_je6rsbkeqd", http_request_error; e_clientaddr="AcJIPFsSDumlUU8qkqDZ0ZUooN_xCXgXWbj3qsIXloCYtuxDk2gV9msSL8obza_-lTUZEBXk6SlwmeBvnw"; e_fb_vipport="AcL8oxMOV11uS-zrWzH_s208Xk-PrpLN7Co0nxlHli820W2M-E7Vpl6WBcPQ"; e_upip="AcKQrGIsR_hnz9QVBG_bJ1dZ9Oc8FDFb6be3hBJjGgkq9Nf7SZVE8EFCxbEc-kjGKKuE3t-OEF-4895JEzRwNmszXmMWP7V9Sg"; e_fb_hostheader="AcIdFboCu0m6RK36lEX8LYjrKBr7ugrJZ5VW5VoTesM_CsPvGYR6KaknISXBN2ORWRdQ8mR8CrSu2M7T"; e_fb_vipaddr="AcKE5qR9jNCERwSxtKtha3EaBhppoKuker8mLMADuMf70nwTli-HPeOvFwDEBufUWiT67dLUCA"; e_fb_requesthandler="AcKZl6SzWIxyuI0IE21-9jZ_6pnqoZvT4euSIK3sgEdXcRkW0WX5m8Kytcjc-RqAAHl_lWDTin0"; e_fb_builduser="AcLzzEx0fZmX5LJ7D7X9pKor12FEQPm7xn3a--whBC-7y9tmTHippUKMJBx3niGQXRU"; e_fb_binaryversion="AcKTf7fvWGHwY0uMCelWwe7lUF4RVlYJkCOvH_u8_Skd2a9g2D5ACxd7oI2iRFNakP6YxgWxouqPqzPzOMzAunKzb6NinS58RSs"; e_proxy="AcJfNvr_sS50NtLHf0wGmOGqFaHtrIoSBRdQENoi9GiJv5f3PM-UnfRz6Mfi402NBoZt-cO2bkav3Cbx"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 05:33:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 05:33:58: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AiVzVIFOWXFr3r1qVNxB8-P" } } 01/19/2024 05:33:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 05:33:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8717, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Az0WgUZBHZ0TAiIyJ1thd8c', 'x-fb-trace-id': 'Cui0MJXjfqS', 'x-fb-rev': '1010903399', 'x-fb-debug': 'nqTG9+EBInjGWYyM5SHFCAiS3gmS9Qhi+dhXhFrSujJ75rgZOA6g05WWsciRDsO9ntJLgjjzw7zghvllHKD4GA==', date: 'Fri, 19 Jan 2024 05:34:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ3gzOYDK-ua6nuWLxbXPi-WFOIKNw7G5sMqRwxXSD0rvsDc10wIpokymy6goSNohkihUtgCW1UPtsUlKvCpmLlLLe_U3wnWgmtV-g2o1hPQg"; e_fb_vipport="AcJj3FFN8boC0G3uKD_cqoHjE9EuIpMEW5fSCXs06gcAY5btsK1oVsJXbFO0"; e_upip="AcKIPq1YeaWO-Rx865UzgKuZoQ_o0E-VCM9jnr-skwaeLtRxTGkzAwjSW38JBBoCDwpKotpnlEPZEZ21ZdP2-oU-9LZWjJwoj8E"; e_fb_hostheader="AcJ1BJRsu3SpGDsLNjFTVq1GVlxSQy-k7Ekwgo-SXuoqsSlPJAeF51usmDIWJFiRwmGikVUmdoyl_ecs"; e_fb_vipaddr="AcKFKn6mrbxtLOORtpUtVXmJetKI0ixJGSaiXNaaYUhMbCNcORcjim2jhjjB4ZzxSElkZg0Q-Olo_6tYZ6-UacujJnKk44b-CA"; e_fb_requesthandler="AcKrTXSMtgdHXthdaTjQWFqXq6Q96NFhiRIMKpNJUj3pA9phWqJBEIIHbVQ2JqBepY4F6jItafs"; e_fb_builduser="AcI0c4fQcT7Ii4GNSpav_JM2Dpw1sw35bXFb3UlOS8DsnN284o3pL9tJKm9XRNd9XqI"; e_fb_binaryversion="AcJ3_ukalQiNwi7M-vfpwUBw2o2-ylRG579McIKK8YWc5IwIE9JBd_Zx7lgAcsjZx2UHVQw6P98Ed9s3y5DPxWnblM-IljJPkNc"; e_proxy="AcLGZsMtUAn-S0I3ONgYf1uNkF9V6zpOF_VirEIwKbkf-5idqEpMd8tun-uIOClQRvaffiMzvOheSMW3V9OQ", http_request_error; e_clientaddr="AcLzkhrKs8P3C8LK8dLbHMLefSER9nLrL9uMvb3w2pLOo01aPE_1w_D2B8sj839sZlTe6FmntbrxU3rVvw"; e_fb_vipport="AcJUb3krFV2fF0-nQrcs53xo1cRXgZkHq-dmRPs5RWgT-5Q_E_eBZXzv99Nm"; e_upip="AcIgSQwES0lYbu_JH8IgxMgz3Kwr6whlCMsQCCyZq_2uzmjRmnV420ImwtGE_lhibe_eDaOpA7VK1nmFM-yZw8-rDCLtA98nAQ"; e_fb_hostheader="AcIXFrNSLFTUc2pik9qlYncS31EmXJ53iJrTxGnZREAmE3tOAoIA1cEkFm83O0glBDmxoRGI9AJMWfk9"; e_fb_vipaddr="AcIdpuDzepfow7oXUaXwLnWJ4fhDBkSPp1kzBioee-gd8VqtQUr6ey2EKQ-914HJh3tfK7B-RQ"; e_fb_requesthandler="AcJyAaPGA3NKc4TPQ6YNKk1vtKXJUDCnBzB6qp_n8QDW15wQhLuntWfPofwRy9vWsc8tu8zkgT4"; e_fb_builduser="AcLHYn1WiGCeN9hsAEse6ultnnP6nAQfxjng-kAWEXsZmrBYmHY5Nb5XoA-_q0f2ubU"; e_fb_binaryversion="AcKZjH1PSXfMFbi7SBvgmxUAfReiwEbczSVSnfRMsI4kSvQ4AMo_Je57dmc9GKOTPUXSRxpbwx0_-l4P0VC73Q4QzOZjRpsORbI"; e_proxy="AcLqBB7Jto6q0RBWF6PxkZWL2DZ7nchdHfFeUrH7zdYsqCEZeOMbHFxxzpxnegjhTm3aFAQVjnimpxmS"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 05:34:14: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8932, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 19 Jan 2024 05:34:16 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 01/19/2024 05:34:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 05:34:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 05:34:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9045, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'At5NB8Y3fJdV5MEMNpOrbxS', 'x-fb-trace-id': 'E//9lHPsSGY', 'x-fb-rev': '1010903399', 'x-fb-debug': 'N0ZhgDXChy7bfBElUjGrJx5FfGjIl5PF2JuVnfGaQVkYdOIH0OwFfs9R/fMjMKZtkHqhrCugILXWYlmwi/jqKQ==', date: 'Fri, 19 Jan 2024 05:34:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLFzxa3Fmle_lUrZar7miPKu9-ttwbkhOnZviFokc0oABcpacjykq0jZilcpkY35KN-J6n9aj2BxTUdxAlBgXw3IjNY5jFTs1-UMcM3Hn3TDg"; e_fb_vipport="AcI1FaHVAP2CDX5MOrPO07WASecLtJk3HvB7TRRr5Jpu2Go5XRHxP-cQaq2V"; e_upip="AcKy-TiljnaB0B0dHZq-uXSin1PudbJhBE6jFDrP4Uwwue3GmfX1skvb15Q7oNF-v8hcW5BMUoujDCJkvyZ7Ux0x5qxsO5mJOCM"; e_fb_hostheader="AcKRuOiZYcfC3k96zdqbx7kqlsbkTaMwZJKAiXnTcGDZcPGrcKro50W5BS37wXbC8yV0KcT6sQrWOziY"; e_fb_vipaddr="AcJlyCAjZ3p4nmZiGXm8WRV9Oi3aOB_W5qyw5uXKiEfUDTozhsc0LagGiIKbG9v4Hb4Kp4XrKcop0_wl_n9FVqGXXPMlWh_eQA"; e_fb_requesthandler="AcL9pTyyp9Hql9BcpPBTbnl239N6N63lQnABlkq-scRStVduFmYq8l_C1UmhYxvMFXN8qsQ1c88"; e_fb_builduser="AcJ7p6PvIM8bFjIG6HbP-Vos-tLiFGYJSJc1IWgdrwdlxfpAiVH3hQJEG8bsXz4_E84"; e_fb_binaryversion="AcIGq63Qg8rgQLqC43VCyAkmz4hwEIkrhbVDPwH6v_sWb8QzKAqTjUG-bD6nSo2j26xX2gNB93XM3ekp1TXVGTvYh4BdixM39tY"; e_proxy="AcKWqNY3sPgPXmAZcoPxcZpiyM6ekKyA8inmnQMVeb12uzIz0r1FWSwkYqbadD2-X0hb9rjxzYr9J3pQvq9I", http_request_error; e_clientaddr="AcLB1WiGDZWB39kuJHTQs7cTHYgdhFnuOHF_V2WKKmKt3YuFrZDxeuAGCVoDkLQBHJft0x7lcQNjDh1mFw"; e_fb_vipport="AcKGdgH61aVoqnQTMg8HI2sjOXgDq8fvoIQiqiFbTt_2n1YKW38KluC8BNZE"; e_upip="AcLQmu8ZeLpnnwJ6xaOzCOOSYbNbU-Lfn3vUe-o9k3TlQWdbAlqjTLLtritSFtisJekz2GAM0kG7C-UBILOqhKVB5IMdexvKQw"; e_fb_hostheader="AcJTNCxFVzta5T4D6rWJhETZm5Bu6qhPffc630EwkekIl6sYGCE9HUX5ChtSVBF4CEyUkpsUhnWdck7f"; e_fb_vipaddr="AcK2Y7hnVG0E0C8CnGbS_7hAxdYEoXZm2S_uMemkj9BVvsS3h4_CKyr49_7hM1U9Fn1WWf7fRQ"; e_fb_requesthandler="AcJRf7N900GcawZSaGtoc5qXQTMKKjOhzV81CZ6FEShN3S66MtjFEhvM02emcPZq_YxIy3mGIAU"; e_fb_builduser="AcLQGo4KjjYAUnmjrK9oHl72kUaSPO-6dyKswwAw_AqYy74ECpAA69YcbU07PDc3Nr0"; e_fb_binaryversion="AcKtgr5mOEEdG7RehYkn1uYiykW1zaBdeBb9XsBU71liwtSN_jxl8DzjFAe2LcLowYxsapc2sARG_d_yGjnFC7erNavokQztArE"; e_proxy="AcJiWEGe0Du6p9Gtqb6GQrEEOC3Ht-dH9C0vx25L3PUrjserqFeoNH9zyJ6s42d62aOwqlopZwpaeFvm"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 05:34:15: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Aust1tYS_gpsEa8ElaDcYGB" } } 01/19/2024 05:34:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/19/2024 05:34:17: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AdkjgpxjMS5Meicu6qTwy1l" } } 01/19/2024 05:34:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 05:34:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9207, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnBJ58SXUan7UxtW3R1mjG6', 'x-fb-trace-id': 'BlvMTxuiO12', 'x-fb-rev': '1010903399', 'x-fb-debug': '6oFMh9lhOVfHwveXKsYSRn4+kQwhAcpG8Mi1ucWv+zXyHXCcNUBYN8uPSUtiyfliY20NObc8y4Sh2gMwi0ABzA==', date: 'Fri, 19 Jan 2024 05:34:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI35h5bzKUBHpKC4bEBk0KcnOCjkZ7Tffo_0yXRyZswMaXaHIy-UbsLWUvUnTeNvnwVLVVBquKvVEGlKHvExhymHDq0J5_axuSmJ3m5dCLSuA"; e_fb_vipport="AcKJ8z9gSpA95Aj3oXLEA6AL0JkoCZ-86nv1zjDKtF-9JIizuCvigYlI-9Zb"; e_upip="AcKMkV1988Lnm2FYj2uUJrST0t1KuyKKaOmflBDD5D5oVms4zg1amKSfFFM4v-2y7wLSYRyhkNvOIqt1YHR4xiHYp0UqUGlWBAo"; e_fb_hostheader="AcJCPmQM0CaVxReG5ELZt14iQqagMayHTdWbPiI2ioFL7n1UTofB0BoycXFlie8k-SPXmC2RD5l2if2K"; e_fb_vipaddr="AcJHn5y_wdr8rA6K-CGYhA_UrvT5QAQdmiqb2t1f6msLfMFY3_dt8KI-1oPgvJ4BjAr1qM_KgzgxwOMe4yhyKUQsovtgT6koxA"; e_fb_requesthandler="AcLmowsxhEQ6iz8Ltz3bkNCO3wiQqjTf_GRXH_tgzsil-t1M69kWcdsogJjPQH9yf7CTzNi2kpI"; e_fb_builduser="AcJWS6pnX4Z7zj61Sqm-QYYQnXOhxRxUb4pSgxh18LwOGUo0xm8gUJPf8QK7l0S5wxs"; e_fb_binaryversion="AcJ7_zXFIN6pyTA0C7XTAjKle-li2gmSG0mDxh7QV8LehJT76pJbw4SWw3n3f9AzbB78ix73UnxtzbZv_ySrbyKi4eM8EASAKHw"; e_proxy="AcJZ9hI5grv9SBbcQrajB4b9yvtZCB8hvap6VrhWZ6LXonWRoJYMkWM0ht9T9TCJSk5hWeOeul394L3G3Xwn", http_request_error; e_clientaddr="AcIFvDoTyghUSlBwc07VJoQtgemQEqrBFEF6uNrKcxVRjCnCuhYlQeXhgE-0bMTqzepw7SvKUE6-4PwBRQ"; e_fb_vipport="AcKEAjleNniAYA3gQ7qHkywUF9W4y0zuPQxplWVTpfjsjYOBjJqGygZ4ObiV"; e_upip="AcJ9R0rv2poYGTnPNmcYes5pdp5R1u08acpNWSGvyyVGDvEQSICyujPThZnpYUL-iMJINQIKouLItW3aYLSGUT1_Zppz2gvbVQ"; e_fb_hostheader="AcInn6Um0bDm1fJGVDAjG4TpRfymnXlk-Nm1gXobiG492x6oo3dxU-lq9FceBNhsHDANYoyuAD7ftFIz"; e_fb_vipaddr="AcKh1b70nHwwwt95ksN4v8Lvo78L0rNuUjZTJq73sHVyERV088Qkatmidkp8QING2LbQ6AgkyA"; e_fb_requesthandler="AcLQwEzQcZNuSn0BDAbMbdEx2f9o4yLDXRdsG89ACx1MM25H_DJe9jEklPEf3hdpOih5ff9Yidw"; e_fb_builduser="AcLUT-lrES4xoX-F17i968gmPpCMvGWWDGlmxQx51JU1DABGKpB3rPViRe8Cn90I2Aw"; e_fb_binaryversion="AcKDN3ArxulJ9yl-XqTHahd46kubs-DQ-5kWgKTJPG4ZdbW6HZpfzyf3j3RIx1P13RZw-aZFlu-mmw4P-S-2fvCmF41KZcXxuVs"; e_proxy="AcLGQ5L_kxiLBZMJqU01Bji35C_GpPY7E9C0e_iszpUfq1lTV4bbBA7B_zM8CQ6ieJeFqR0MMKdmChA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7704095529617807"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 05:35:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 05:35:25: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ara6mR3c0a43uTTG7BJ--Et" } } 01/19/2024 05:35:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 05:35:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 05:35:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 06:11:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 06:12:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 06:16:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 06:17:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 08:04:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 08:04:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 10:34:32: Error switching inputType 01/19/2024 11:41:03: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7136892193085598?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 81921, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7136892193085598?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7136892193085598?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7136892193085598?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7136892193085598?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJGWIrdOMt_1bCl9Sy_z_W4', 'x-fb-trace-id': 'AhFHxMkXhrS', 'x-fb-rev': '1010906015', 'x-fb-debug': 'm18tkBMi98D0UodQ1hErd6FNpfy+OYOqJOxRkTTbiTUjCphPjZNWqG4tyZjO74F3oT+2JoGl0ey1/ZQa9uH/mg==', date: 'Fri, 19 Jan 2024 11:41:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKMUCkJY9_nLzLePsWor3D7ZCvv982dWXrPzMe0pShvKEsWZllUwLJeCan-G5AmnqP2Mt28kRKcW0dp13CR6E8qo3RNngTIQTA6vhvTLrsGRa1cIQ"; e_fb_vipport="AcIHCRpYQ3fZufWqNFSeb0MppaiND1pcTg7QJhe-gpl7-5Z2CnskgybOYqiM"; e_upip="AcLgHN0GTIvcFRDq_fBqkp-VyR4HXAmmT_Yaa00uewudtz8aa4eZfCq0KzaQ9eAejRyQyJcOpg9P81s1KK6Bek25i-7LQ0p6Hw"; e_fb_hostheader="AcIRyIA6DQSq3axnGM2Fk6T3RDB2JqaNokG-kuQXnNHWVF16C7nG56bL4yUkK5Q2R07Dgb7I3hZgbhet"; e_fb_vipaddr="AcL5_u-NzfA39CoBTrmQeULAkcXAzZsrP_HtxOQaQKqWAfCYcoGYqmO8UOkJMxqPFeW7BJHOTaYi_4jqozSH3zevL3G0G3e85Q"; e_fb_requesthandler="AcKY3Laby98l1MKrFoWZhJimKKmnhow0R1SAaXC3k2okTNCIQHn0FKB-Ah2VhjNiE7G5oXhLZ4Y"; e_fb_builduser="AcJEX89izimTQKd5tgUfToETh-0QD389HcSkjT1GO6KU361XgyeXdiCwkBPPT2NrPXU"; e_fb_binaryversion="AcKFRJ3v_cZI4LxXxtqS18h3alfGOik-Na1m7Gyo2WXMIS8IOMziLbfWx1IgfdZKUkfP0ilXO5x7wIfroBN-1UYm--YfrLbr49U"; e_proxy="AcIUdhFe9A6TfbN3QQhReoXKn3xN5JBNSm33tuk3crPhoOH02CRJw-Ptq2dfSvH58pSs1QTz0vxVfBnPW5FP", http_request_error; e_clientaddr="AcISomf2rLj0vOILmwISY5-PCannpieBvPzuGdrQv_jm600yoBjMEoScPxN3qtD7oiNRomfIGVdXQfwEPg"; e_fb_vipport="AcKuIHX9K3PisfCx1I5TgcFh1Fm4F82_VR6cj18lhHUvksCmQ0WWr6wjsG18"; e_upip="AcJeKihAqL45I-WcjN_QhGJhlJDw2fQBFd9U9raUdIeIFLTXS1b8bVg0KUKps4uw-IexB3CGmO8P-HA0m9CFWEKSJ-leYsvSGw"; e_fb_hostheader="AcKIXB1zhgye-VTU_s4lk-UV-3tffFmZReNYNE4hKUmx01YRWLScDiMwsx0jnlSCp1eiibvaLG_qrhTa"; e_fb_vipaddr="AcLcU8IqxNLeZfiV2qV6s6cA1lUSBzCZaBBKjQJnSzWWs032Gff9tJPbtvvHmdPoh2fg7No"; e_fb_requesthandler="AcJvlsdlPCPaUgLH2Z9EkYDZY7a_cZkIJLS1A6eDldtHaAvx38JFjseLp1ZZLJkePsdo_DxTbPY"; e_fb_builduser="AcLMF9i16v6_67jyvZshnt7UULADFb_JjyClbm1IfTzbGkjbTAc1weUhP9goIgxa34o"; e_fb_binaryversion="AcIG6Ew5IkZMZ6DwCj0JCYbTh3kEDw2gMnSVWahzUJ32erJzlEyUblwPRR792_rkps3P-tqIfH2HJ1KfAYMdkkYNCo9wr86cqt4"; e_proxy="AcLm6HcgyGAfAyUPc0BQ5yHpQDZVEaFTvniQkJDXcnlMMxJYbaYvwp40htp8L9ulJ_Z1yNBErOIWcbQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7136892193085598?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7136892193085598?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7136892193085598?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 11:41:03: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/19/2024 11:41:03: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/19/2024 11:41:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:41:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 82050, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2Gno-MVEG16ldODZ38Upb8', 'x-fb-trace-id': 'Fxycc6NjuuG', 'x-fb-rev': '1010906015', 'x-fb-debug': 'oYMsjY42ZRkbZD28GRSkEsmsd+i3P7YKZU/HEe97SUYjwyDXSXkmQ4PscRiE2DAvA3/3Vhje+XyloH3YsTRQ2g==', date: 'Fri, 19 Jan 2024 11:41:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIKz_wkwLR3KNnLfTHGYDCzBUbvsuTAW9JcukW_sb6109yesAw2C0D-QtXzbRoFplbFYxaeAg084v7OQk-e4Jceoiy2Ew9BFGUGxxoG7u1AlVx4-g"; e_fb_vipport="AcIwaj4x979zFqnOuAp5JoEaUNfgPLamkqgOqVWwlLLCDXkfmY_vU8jA8zna"; e_upip="AcKnz8TGWOR-MUb3iBC_xsol_8p2QBQS5j7lz7ADAEmzyqX-47M1PxZoB-AiiDOECAl7nfYpnCk6Tkp5QfH8c1v6gzs4Wd8K3fY"; e_fb_hostheader="AcKBiwb1kuPZz8Dbnf3-fqV3O2fwDu-f1GiA_ElHusnxMDiAA5si3EPH7e5mpokgMWxWBLfhfVBIloxv"; e_fb_vipaddr="AcIfu-NgNwwh0lr3H_43vTE3x0RWC5LkfVGdcXUh7nUOx53n0zJnMsItBHIJA8VxvtA_fxMHpQaOLHEpfmxqJJ-FT7ZqVStTPQ"; e_fb_requesthandler="AcIg7CTvjN5rnkr0rp2QSF3nBu3znTtZAeN09vKGXMmtjlULwLxMabqqwu2FzAP7hA_Zn54Dhbs"; e_fb_builduser="AcIe6Gm0x2vhK93XPT4qfnYi4fO3G2ygHKP7iE9hOvoINQVMidQoEY0aQ3SBXoin1x4"; e_fb_binaryversion="AcKKG4-UhV-JkHsj95PQiA9C3xk4O4YbHryfa65SX2M0ArnH6MPBkC4WyA8kbIJBAaHx-pLlNRYaGA3htFTFXlnHoUcmC5Whi5s"; e_proxy="AcJA4TBtJXHk8djC7xnpifSsElyomr-9h1QeBz2aX5fkRBhu14E0boN_6iJION15GcZ0txZ7FhfCs-AQkmU", http_request_error; e_clientaddr="AcIOtyp6R7wFcQekoh_Vs_Jt499AA15ARDMsrFLtT8VroiavfgOPeoJ9NZ1MmSKpLL75YJdjsU3hToIXkA"; e_fb_vipport="AcKfJU6u6BwP_Ytwdworw31npRZD1R6U3WIHgKtQCYy7nruUJf9J5YkoKdGF"; e_upip="AcJf5jL3fVG7dUKOif6dj8bo87tV6977UgmuQWGMAIUUaCggeYymzSD7N7R2QkgorWILz-gIzj17dnubYDsnH5UnpHGLjlOOPA"; e_fb_hostheader="AcIkLt5h09NsE-jlp3AJJMkhjj0_NS4Sge1DLWX_QvNP-7hAoqk44MKfgGIlNrBRcyP_kJsKSYfcHC1v"; e_fb_vipaddr="AcICO-BWjd33WVqqKstpj5mSzN38WCBNYjK9WMNHZoyExI2lBR3ER29ZmfxqJihdXdjfr64"; e_fb_requesthandler="AcL4gWKGuRPlkIEN5HtmwyLJ0DNf00cG6xK_fYFspsnscZGi_iTfxDbXj32nnynREBIguoeim0o"; e_fb_builduser="AcLP2e5sauMgZiuJR8r1zRUVv8b18SPXB64pxjH1mHPy5X3a56MoYK5VqfBkKihO3nw"; e_fb_binaryversion="AcJZLjNJJ1G0AepHCsjAj3jEG9ZwYAIgiTzATGiI03BGjueuu42rCz6xV0B7HaeFxUfSgVij-v7-ahDVwoGZaXqJuVKwXgsuhG8"; e_proxy="AcL7XrsmIFl04GH4fDPiAsBzFB17CSHMdRCHciXJDZh4C5aZ5ZpV6xX-5lvHJ38lD3WOff9IZqZaULc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 11:41:04: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AwTV8UUGiHJGig7pJLDKebB" } } 01/19/2024 11:41:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/19/2024 11:41:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 82122, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AL1CjFhsxullneiCiHp0xaC', 'x-fb-trace-id': 'AiHmD+rkM/k', 'x-fb-rev': '1010906670', 'x-fb-debug': 'F1X/KiCKl697t33V+TJ+KvtkpMkAnjSU7fvc3g4IbzxHYDy9iSpopAdIpkYI9gpQYKHSdfBUJ7SprOi23DroPg==', date: 'Fri, 19 Jan 2024 11:41:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ88Cg7aBAki_9M0WIg3al_f8X3qNmR91nzIYUWh8D3UUR4V4IXzyx8tGkFyA0F92r-gWXOV8lDmc8rwL8yEyTvhXhk73jZRw1TKhGk_afFMld8MQ"; e_fb_vipport="AcIMgz3YvtBju8EP5N2AR9X1gnnZ49k3DG36ZEBb9HVyeLH1TO7s2H1OalyG"; e_upip="AcLABaHcRhn-KIeWDXqCbbdy5OTADIuyM88KUXckq1pLxMNseujFOrNhWsAc8l0sdYLIu7kYt-oqE1_b7_2iHYLmEq5dO4UGCA"; e_fb_hostheader="AcJEN91bcKpauXV-JDFmm2Zsb05DVNgt9lcDV6tBv-Z_Xl-ZquwgZfTzO8f3E8HCnddw_HpK0cuAFClz"; e_fb_vipaddr="AcIuKJkbhnMB3hneHmvScxGndNdJB22yqEzwnGGZsAOhp3RuKAi4SOY-LdE1pZlO_BDJ4NSTJ_HC2qFk9baD14C5J3TYuvWH1Q"; e_fb_requesthandler="AcLkR1Ts4HU0zx2IVyuWKrxODcVrcEg0QZ1HfSLfqtXP58lZmyDqzyrYTTu2NxAC2StMYigz5js"; e_fb_builduser="AcIaoghzNrwk9e4Yme-mbbdM3mC47EhkOgpDgQRDxxR_s-QMYIBOqQsp_5hAJLofTVg"; e_fb_binaryversion="AcJAnkJb7GcrjPEi_zoKUSQgKKpjkmEk7AsjqRR2mfr6QvrIDRZ6CkEezOdVveUHjreofD8w9tGl4CQSuYGx0elVP5Zr3xizqEU"; e_proxy="AcLuYzhR1HRfL9tJXgaMwq7KjaZmeg14rAMYQrXiQra3XiL2qZKEeHpbRSDaHaZ_ZT7D0QsMGvCWO495tddI", http_request_error; e_clientaddr="AcJWv-cu2K-ZbtpZQ7zsqcQMP-deBp76EQlOHe2fjxATj-jWinbzlCYjghjHkVHnyBNOvM2etkUyDAkONw"; e_fb_vipport="AcJZuVFHRlUORnnM_ET90OFW1OtFbIjORwgHRVLkocpXqgkgzNcJo5UaeqvW"; e_upip="AcIWajgYhCgUC6XN8rQ0T8WtbQlz9CYKY4rG8bPji5rIOL-rA25dd99POmz5OJ_29rUAPYve0CroML0i7kgix6fzibViWNAhhg"; e_fb_hostheader="AcIlsft-a4rN9HXQZMr9Pi6wb5uxDgpc8kEqLHWSAe4fd1UhZgaODMTa4bgFgFP42v4ixMiLYRR5f4hl"; e_fb_vipaddr="AcI7fvPW28LBD_EU5kSPEe9fBKCHUkkJXrfg4pG4QfjJc1GHoUo5y3h6Px0znlMeXGUBm9w"; e_fb_requesthandler="AcKG7NSb4L7i9hUIz8F62nZ5GOu8vo4flQ37knjWEBmkCSxB70bowrsXaZvMu8ZmNSGVKjIdmTg"; e_fb_builduser="AcIjPnXMPO9kGfMM-om5TQI8VTkSnFoQIoWHQSsX7dzR2sJ9uKTSUSKCvwwLKhy73p4"; e_fb_binaryversion="AcIorihEm-tJKqVlj4FzFbEJ3ANFrLgBd3uZzPGrKP62gnWm_N8h1Ptr2lOyFr_mkk2G4fjNgMNx34FKusKhjjiBZGCL3gzDKa8"; e_proxy="AcLl-ZO-hr-0Jh1fxk5wwLAHdqoz5IAT89BNAU9hG1rN-mJqAEVGlOK8_Wc0lP_-iDnpfP0yhE2n3M8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 11:41:04: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ADZZZBpAOy0Jwf_F8x_7Yik" } } 01/19/2024 11:41:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 11:41:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 82236, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoPyAUtfbfDfbKiFPm3cU8k', 'x-fb-trace-id': 'HEoCjapWnke', 'x-fb-rev': '1010906015', 'x-fb-debug': 'VZPxsh/aX8Ry/GPib2kRMSCBoJAKdEzgLvkVZ6mLUQUI2klDYHpDcePMBEVK6j1n/EQeIRTvFiAvmvX6jr0f0w==', date: 'Fri, 19 Jan 2024 11:41:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLzCUOdDJBi-AopN-q44XrojtZzn1l8hyI5PN0-mbKfdgWYyItKglC3XPHp000EBihRiucJhvhWlvOptOjkEGDh9UzWuXq032vmDDIYIYkcIbBAug"; e_fb_vipport="AcLRfL3T5rPZMSTpG9BCgzruoY6t5Ki2KD2nxi_5DYDTq6XzwCx-saCjexah"; e_upip="AcLg-rYrl-3fxoPUYjEcncKae6eHWZZ2lEBWXuZY-fsprnaFJlqsVy_RaHuJ7Rs721hxLqeeAzUOhLE1_A5KnB1UJkD0OdAVew"; e_fb_hostheader="AcK_N00YmWM7VUhw9W7aWFS7LqZUh8z1VTVON5aWPJlvJOFkrTAYwcB3bYEYtWptuzwasqRWVvxY_xLE"; e_fb_vipaddr="AcKUGGzc0MwLrQSYNVWXmPJ_fJX00ODO7ypPMmR42i9BsLqAAC_fj_z0Hwe-CSxl8wNDvWmGMw2Y4zNxRZeNVBzGQNPRnDT_dA"; e_fb_requesthandler="AcLJinP5pE46CDOxNjn-2bFVDNVpfs0DxpUntrWLgn2lS-7_sqUPMCYeUZ__9aXL2IIrNWe8m6s"; e_fb_builduser="AcKTcy-iU_istaPnPZEJpSFtUwJhWV3M_bDtT33sgv8Gj4JkD52G500fUNklPZTmhFU"; e_fb_binaryversion="AcJ87Zo7X6fbaNd67ROqvzXHcb1CMaEPY8LzBGtzgmcJufKjI8xYv8lOCSE9lQrBH52o7WS_g9dvH6JsksK4og_qC67mRMrKqQg"; e_proxy="AcKqB-0a-pRumw1fewvZJXsCImZ5ldi6joY35s-w9sHit37dG1gmMjFFt38djY69othC0dgpuLJ9goe0h8ij", http_request_error; e_clientaddr="AcLMeyvJAd1tNkbBlsOHwYuMhSZu2kTkZEzeGcpEjLMF_i8tRB6T32OTesKrGfH2vq9XQaJpraCsxdaLBw"; e_fb_vipport="AcJJcPSCe-WnVK4BXoBIVk17qlKdzsruCXFqRQlTw2R6MNIUXWpe7ZXRv0Ee"; e_upip="AcLIuiaTiV3SavO53FQULX4LLwk2OKSDQ-3uriWkHgZBCt7UFjazk7MZCm_JlJuZJW3t4wwfajG7cpOmnGIoEMe2l6G6NJ36JQ"; e_fb_hostheader="AcJfGC-Ehg3u2SZyXX1O692_RhyfMnkE6MMHQeIU5VPRJzIOnfBay91KniDStPkdaBxU0tYtA8YSfBQ6"; e_fb_vipaddr="AcKOfzVPMTSJ9L-mA8AwreZoET31XCy3A6Vguc6DGA2xRMlI2KOkR9Y7h8X8FiQssEf6n_Y"; e_fb_requesthandler="AcKmLnAlCCMMN4xbcfuLcg22rsil2hAVJyJLJti8O2hadsFPdPBx58NL8fGL93rtfRRboKYAz9Q"; e_fb_builduser="AcLc8lGzdZw5fLINUlfFYFC0H5-oc0DL80L7p-Ecw0b86SkjU1qkb-7Kt2DWW6J6JM8"; e_fb_binaryversion="AcIEP2pm46q0pveFoYzPZMUsOg8VAfusHkIISqQQf7HDAwkFfjLda9SFdFNH2te2bix0bLCh_9rykKdaXdqX_sn1K8OSwK5xe-w"; e_proxy="AcLyB8PsZTVJbPm-RZz4U9SssM5xPxAu-NXBCW7m4rCgSVKDvLfbhqfr0lWvLxO9wj63ErVkYDCISR4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 11:42:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:42:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 82675, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A30U_JkRKE0_oh5zpBOImy_', 'x-fb-trace-id': 'HwBRD4Vj1Ji', 'x-fb-rev': '1010906015', 'x-fb-debug': 'L6qeefHuAJTHWmXKZ8GU0Uj/APQOIGhVZVdyEpr4/EFmpz6nbnvNf0hwd/AjNJXuaXfq4HMb+kU9+qvFtyhQiw==', date: 'Fri, 19 Jan 2024 11:42:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLObEcWnP8BK447KQ2boY1PHojNqKsBA4M6_SHExSGhxmLkzk8vf1zE3DSBAUvXR4E8cvSZb8Y7YA3Yb0Q8EWjZqU1fIBfbQl5TE587OJlV"; e_fb_vipport="AcLhV6TZKJWM6cKegNYPbGSGwN-Dd66CF5TWTyNvb8GPKoNafJd9o11HUlfe"; e_upip="AcLUCAB-2HCyqj8vASuZNNr2QSrvvPA0fnCEa8IL8jhn5cOTs-JFqeHsK8AVz3nAz4Py2traliUgsK5DAGHJNMui2QwP5sG-2H0"; e_fb_hostheader="AcJEkUtaB64Xan8yOMwKUaqjgySpVtpXs7J6lhUzlkrP5h1Lta5YEI5BVgCEpHumL_CSKkwsJt99BHZi"; e_fb_vipaddr="AcLPbZKIFG1bxzblZkQ5-UOOxXqISHYu92wEETpA42j-G091tuU652rjXsVDkhza2maHh3hy3z4hO9vS74rWT2y63Mq2MfPm9w"; e_fb_requesthandler="AcL5eTydqwrT3VnTYgliXKsVpNvO1Y2X7VNLDcvp2Poai0Z1t8sYbrdiJccMapBvOBGfoa7bGKQ"; e_fb_builduser="AcJiwEYp7yfaKQn5emtdrj2BNHqENQ05CjfsRstqCIqZd-lBLK2PgW41Et741AyiyYM"; e_fb_binaryversion="AcJ9AmmR-pG4iwxBArfIqKqQtmpkzGv4ei5ThdFP8XgZ3WK2JhTeLZwlcgm4YmjL6HfVF2CH0-MaOw2V8kHLzR-9qDCs1AcLS6c"; e_proxy="AcKVmaUkmZTY-ZUro-YNSJiYRPocXiCJyC4OeWSXX2-0p0mrWIMVlTVafSSdXmfTbMrRv4a2_R-QQgJfQ50M", http_request_error; e_clientaddr="AcKLQZL3AvmQgUEPO07t8Iuod5HPIrnnvg75Ni7hnpqTmXh-HJJ4o6mP7JN9vsH5olrDj0zz4BquX06YkA"; e_fb_vipport="AcI6aVDFapGVXBbEXr4Iine2CpbkqmEjNRItwr_QOgZIzOePxmauSDWxGdWI"; e_upip="AcINbaLI5TEBeD5r4PNyygCu--m-g3fr46cTNzftbWVvVe13Kam7pHZ1bB0gaKNYPaYCNULrbzS361HvTS5fHcw593RGWf_USg"; e_fb_hostheader="AcK5wchqIqeufUnmmsB8RL6Lx_yLMbn96zNjFOUr7vFcGGnkfYCJ5Rzgh7ySqNJeSeV7Wyj_kQlmzgp8"; e_fb_vipaddr="AcLaGMUVwYXuGm8UqglzKj4qD4uWI-3gUeglQFph-E-Ry0j-617R6Y9j7qKTb_C00-BBzWugsw"; e_fb_requesthandler="AcIKSBiMwiuSGZMcQ-RfoUYqG-7QwOlsq_WT0hmzlVG204FoA91rvX5Mi6udp_e5keVh0TAX5V4"; e_fb_builduser="AcKTEgmz1zFqHF0_jlSkFcFcP_iw7mWa69LaLA-LSpp75saSkKMe-Isa-FEV2A0gUAk"; e_fb_binaryversion="AcIcR8PmvOp3ijeXS8S3lIxsVc-cxQyu2pUdV_2IKOV4y-pz1itoFQ9zMCwDE9Fn8VBtRg9mw3IOvw8vpFwSb_H7N9LBvDhjHC4"; e_proxy="AcLIcWzYupWSSU4S1DJfVPaKSrnJNBm7W0rBrhPLscJ0MjDcq9Lh7ad_y3bmRZrDJvKaiscDIN8W3XBI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 11:42:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:42:05: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AXMrv_eqpVnVVI_id0SbG3i" } } 01/19/2024 11:42:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 11:42:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 82844, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1hStnJdBzriYGhuiTYsyyT', 'x-fb-trace-id': 'DLd8K1A2Sjw', 'x-fb-rev': '1010906015', 'x-fb-debug': 'FYGbsTBRncAnbOceFy2eOX42mA6VM96qVnODI6xPsyok3PDjFZPSzB7b2ZkjRc2fG94ggVuaytJ3OGFqckbd6Q==', date: 'Fri, 19 Jan 2024 11:42:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ6_WLOoFaNZtF5xB7NVomsAgYtCd1pzN4LAG9eKBThTlBemDJVVdQb28X_3MeiSwH0fzAmCihrr42KUpy0auvcafHV2ZT5sUlTveHITwAEng"; e_fb_vipport="AcKBPkBKcw4KkJuS89YPBAZM5s90xStKRQF0s_usEKWXRcQHROkAwbS8DHh1"; e_upip="AcKJFUmWWSc1L_QkZk70eyYrajPA32fHrlKwj4vf9K0b68COYZsrwWD9_Y_yoU_865jCipVpu12FkcIRR4ESvtkIPGRK2VQXwLc"; e_fb_hostheader="AcJTmZmUy2Ti51CRukc-CBAWSbPtr5XgZmoIKrMMEu5lf113OhY8n5HPBu31iYWzOElLksrPcz2LIHK1"; e_fb_vipaddr="AcKjOD8eFrmhYhbCz6eg_yH3lcTq5c1CFqY2vKZl_wzPCdpE311t1l6THvK3oacvCNmQwxULjOr-WX9pWDglihr7ScyNsePuag"; e_fb_requesthandler="AcKN0ta3tjOMtClVQR3IFSYIxrttv89osJBCDpaPRqAN__xbzBEyM6vW5DmcquLM3wcqccMfgoY"; e_fb_builduser="AcL0il1T3TRLDEuOWEnWy6iQuCdDdHjjbiHaJKQGl-yndjjfypd5NGEwogYsGZPtvxs"; e_fb_binaryversion="AcJuvzQQkIub79PqyZEQmRk0rHPPB7vKcyxZAzBFj1XTOurHzXJ-jf5qa-SKp8KwiSEtGS3yiE5qcq_YmLh7HqH-BonKdWVQ8QY"; e_proxy="AcKL8Y5aNWe1xwzPm3_T5dBEjEp6b7QMjAQgrvyt1GAwQZPu0F1v1jGflsqqeTuiwjU1kgsO7UfyjIwRXwVT", http_request_error; e_clientaddr="AcIzXYOMRLQV547r-kLeVp7uG5mTPj3rU2HqjVnlL2hz39LJIgFutoUugi31B6Paf9-pDt_MRerrUlXbdw"; e_fb_vipport="AcJeLoJyt6rhglhxUzPiuyyK1QDcks3Tl9L9BgrdBV_OTXriMJejBf6s9e3x"; e_upip="AcKmX5c2kHI-Q9Jn8eTSNq7sY5VIVU6b1wqoPAlzygrub5m8RuyhrLH5UQILQwLjIcbEcMrH-mrE43_SpgA3pdyKFHoKJHM5YA"; e_fb_hostheader="AcLHBb_UkE0XuPbXg8oaYbuEbS-Bh4VGZQ3k-r8ZCuQ0tnDCZF3qcByF-FVnywKG3SiPF7CT_wTKn8hv"; e_fb_vipaddr="AcJfmPwEqDzvt_Pr06a-_1M9spa1shbrK6KtVT90FdPrwGg3d_BHSfGCysK3gyi-weQICHgqQA"; e_fb_requesthandler="AcKBrpz7ZFopr9QKiHIapSHFVZYctaQRd58evPQ_xJJMR0Tl91Xhg2edD3USGKboNDikbeVwPLM"; e_fb_builduser="AcJLAH7Rd8n4WJkfS8EMWsccZWftGg3u7JQA_cXnan_EW-bAXa7Uq0s7bP33B8WmSL0"; e_fb_binaryversion="AcKhKVaKhGJ0XXHdZmMDJKwzGu5l6qoFDxXXrsMl33JYRBqJvNidV9FargENFC52DcR_FOj8iuKVYmeqWHn24RHI6J04PwWzEQk"; e_proxy="AcJaOQVMHdf-u4mVKzN2UH-mKCh05O5iI2Eaylyr9VNx4YGzl12jXH7zCzQ7Isto-UqZqLWAuFOKhLU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7136892193085598"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 11:42:45: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A_KMrdH_EIxo_un8fHstS8y" } } 01/19/2024 11:42:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:42:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:42:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 11:43:41: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ASb1j6YfDiCpt1X7yGnjo7n" } } 01/19/2024 11:43:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:43:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at runNextTicks (node:internal/process/task_queues:65:3) at processImmediate (node:internal/timers:437:9) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:43:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 11:44:03: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ACOKeedpFEGXUFKFBnt30vp" } } 01/19/2024 11:44:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:44:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 11:44:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 13:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:29:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:29:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:30:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:30:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:32:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:33:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 13:45:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:22:36: Error switching inputType 01/19/2024 14:23:08: Error switching inputType 01/19/2024 14:31:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:32:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:34:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:35:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:36:29: Error switching inputType 01/19/2024 14:36:39: Error switching inputType 01/19/2024 14:37:03: Error switching inputType 01/19/2024 14:37:09: Error switching inputType 01/19/2024 14:37:14: Error switching inputType 01/19/2024 14:44:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:45:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:46:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:48:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 14:49:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:01:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:02:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:04:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:05:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:16:02: not found combinations at format texts tag: b 01/19/2024 20:17:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:19:34: Error switching inputType 01/19/2024 20:20:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:21:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:23:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/19/2024 20:47:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A3xUgqlqHXDkF0RF_rUWtXt" } } 01/19/2024 20:47:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 20:47:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 20:47:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 20:55:32: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5684995301624976?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 225910, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5684995301624976?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5684995301624976?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5684995301624976?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5684995301624976?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AE-MELrsk2ELDqM_SZjuhrm', 'x-fb-trace-id': 'C0wrpKQTTg9', 'x-fb-rev': '1010909070', 'x-fb-debug': 'L+hqDefK3IPWfG8R4jVU8gUUPHv2Clkcm28k9vv7LzaU8NfLaaBwuyp7ShQ75ukM9u19qUZZLIfMOTpL8fqPvw==', date: 'Fri, 19 Jan 2024 20:55:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ3ang2SxdcXfhG3MMb2OPoISHYB5t8L0flqJSU34vJjSC_RwSrS0sen4uhC4jiEgR6Jib6sgPdb9ZTnYKZkzvFCKFHwN4SSzjWRhiZkPjjbmtz"; e_fb_vipport="AcJY3DOLQ9igX-w60blFqYUkZ-oNooEvSLQhG6CYZWwK2tlkOw-JAbkSDlmE"; e_upip="AcL9RcOvi3jp81gZHIf5Ukew16rSoiveK6pqb_TaXqRlFGMePo-sU7mnWepsY83sizBKFZd6uhDgcerxtb_g924P8Mi3V5-6hQ"; e_fb_hostheader="AcKwvtwwLZK1548Yb98NPD54cPGThThYJZpQEgEioTWgjbpjfmNXcFf5O7EwOMHwF1ozG8AjN1Wl_TvQ"; e_fb_vipaddr="AcJJKD51uO6k3Lc7L-L-HvEIOpmK_i5_4HVn1lhWcor7fWJYcfVSb0P5kseyFZVGQaXP8rmjNaph7YLddUJ972zbJpVTClMs1g"; e_fb_requesthandler="AcK9gUfQioLEepaXnqk17kpSFhOxlxO76lxfQp43vDfMisXDpckw4JlgvmGWJu_Ama0E8X2RYQs"; e_fb_builduser="AcJFnoEvFway9flKQlarIJY9plIB0ZEFk6QX7YeoRXaDyxpVbO_OBKRM6RERDP8rvKA"; e_fb_binaryversion="AcIdLkr7D1chZVoYjPcTN2EAFJgnRn81IhkFzVFggzZNiz6O_f5OdoHW8h7trMCFrJm4rcf6FAhzgLn7AuHUXgSJddqusgHDXiA"; e_proxy="AcLfuPViIfCKEA94aYJMt0qn-czX1zEAldbP_S0AnAdzs0KcsfuRS9pUxFTP91ZZCQrH_CfV3ZqE1rptN6s", http_request_error; e_clientaddr="AcKY3d8UGoxVFBgqp69efdXP4tnRDWbg3lEWshAmVHuKVP1IpJCL-I4fsEvfeORN-cMrq59uwYih0zVEsg"; e_fb_vipport="AcIpBEj9XhFwiHZ4U5bRAOfIhtDs9nyPEwjWAwLOeQocp911fm8m_TRiy_h6"; e_upip="AcIlzFYvKGvM9PPXXhIuVopKqM7NP0Sc-BwtIbmSQF2aAj4XlWf_Nx1_mnA2OT1nEPfPGjXwixGPOOUHjbGOCklGUOdG0LHuIw"; e_fb_hostheader="AcLpGuXGXFLvswcGiZmFPYW2r8XSQeJ78Xbe2Bel4N_6KFwy-KhFAROyISfC1jaN1CrbAGa_I8JdLG1S"; e_fb_vipaddr="AcJXiWkViqV7CXNCSBrYvUel_K9rX_D05Bo3cQPl-F5dfV6T7g-igTJrf9DVTUlH3M0VI3PTR-c"; e_fb_requesthandler="AcIOLbj1-3EmA2L964C-PGDF9P3B7lIeRjoRLDqzWlBk7vyi-d9oxQnQJ0BR0l5cQsCxhKRDWn8"; e_fb_builduser="AcLWivuJTOrSQR029gqARySC840qOp7aTMhuzOYXcdWTphHzKN_Hg21WRXubpaXjSig"; e_fb_binaryversion="AcJz56uKSte89Ahy_GGVnhEudZ0bUZQBQCRVFHE_iDlY-rVFHs8gRNG57SbJAFEnEFOL9TBPgUU_NCb_YTt_-hJKTpLb8c0_c2Y"; e_proxy="AcKGsT8ibGYYAOSA9AhlYFb3OGfh1qU2Jydpmms-GoWAnr5Cm2EHiG2XPw6o9WQkvOAeBJcs8GCVZHM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5684995301624976?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5684995301624976?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5684995301624976?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 20:55:32: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/19/2024 20:55:32: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/19/2024 20:55:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 20:55:32: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A9y8wTxNP5ZHKSGke53anp6" } } 01/19/2024 20:55:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 226034, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAK9F7_nREN2pQX-Mn_IAZ1', 'x-fb-trace-id': 'CiToGj+lOf0', 'x-fb-rev': '1010909070', 'x-fb-debug': 'IFO+oKsICLr14UQNqs0vDQxz92M0V3NnVLjQulHN7wD1MqA2TM0jkYxuRQM/+b/achCGMBlrfpHZ2MhQmKBPfA==', date: 'Fri, 19 Jan 2024 20:55:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIn1cnqxbUarq1ytGHXKKZ2MaHVUyK6lN6WlEVdURlQ1rBIg-ZlgXZP65ygVqAriQ-rZnlNOTFgK6vB2e2Vf7AQXbvg8RD5npaYuy8uH7I39pDW1A"; e_fb_vipport="AcJrwaRxD5KUipxFClKZSRbqjtOQDTuEwM4Hzijs-aajUecvmIvbnZgjKlwt"; e_upip="AcLw-zo0WBnlZlbriuZj6jez_eKc968Lh2jAle-bs-i87bhpvRqnYW9U-N2Qzhr94HLBfTLk5F4ERUA7n4svJpZwWaES24KZisQ"; e_fb_hostheader="AcLUO2Qwg42HyfpOLF0__t8GIWD8gPmN3-dCHfR99Mixfz1AzhKGs7gUIlm_k68m-Iuw-L1erCi7NVcF"; e_fb_vipaddr="AcLHfyk5IteZDmzZ7dYcH2Oq_IUU-DuuKkYkf7DNKsC0EhJhriYMDO4szSqNiCZPLe6WQrjv6kk-FjOV_jY0iM7IIu0Qo1QzCw"; e_fb_requesthandler="AcI9QoW5Bdu35Lo5HcT4Zb_RsboduYVMcEJPZag-2pSkzGrRhFvys4Nf37ig0Y8i737vb7cTD1w"; e_fb_builduser="AcJk5yLzT1WLefB_N0BU0CSP0Hcah9GP-JGxCm_expXTuFZjqRHJ14nAv5HrAA2OLTE"; e_fb_binaryversion="AcIX-_-q8kH_Ac_MgAKtCEfvw2mqD0fu3mOBH1H4j8q4U8qcUlQ7urvBJ72XJfEIEbDGQr5qVNLHI5tdIxR7TmIqcT6HHUDcAVI"; e_proxy="AcJehb-rsFNmpFjpUWoFpTPJ-_rd9kY-D50jwmDY0mYiYmIdI6dCEmIiaPn2miIQQXx35TLoiz_YutEx23-q", http_request_error; e_clientaddr="AcJC4itFwEdTVaPmQfK-iE6QLQucOeSCPTXjUW4huKclHyD2rEw-AoLQFwKGH95ZJkeCXglt5Zj1-SQckA"; e_fb_vipport="AcLXDfpsywQVxPRFW5JrsKpSNb5DWUxHdfM2TmIYQiwa7YTLirO7eI1bQJp1"; e_upip="AcLzJeBQZiHdKtH5wHVrmjNft5fLSQSFsalYqTWo24VSTCF8krVlVPeKe8HeC7tUIbZ4s-i0Y4OdgWLbqW4oBgO3tvzi6GBiWQ"; e_fb_hostheader="AcKrWZLlBs8ItFHvHQete-n6xu7rma224I5J7p0A4os854_ZRWgIy36_dgXu133QviO5sbZ1xtmApD_a"; e_fb_vipaddr="AcLW5mBRgR2wCiyr4fKt-5H1CI2kX0R5OqXtbbxH701iR542tQhjg9bzAFiXo2Vk5SwmdHf2x5A"; e_fb_requesthandler="AcJRlrmmTD6njsz1VIlLXE29BGMiiPYAaLfVcgYl7tkRavh28B3u15QEfydMayRRmER7rYxTtiY"; e_fb_builduser="AcISeOZ3WAu5n0_pAlw6VsqBNaJzfRt9CXuMxokOtTzSUqz4C5UwrsPBTnwJEedxsoo"; e_fb_binaryversion="AcLLnhKPw4Y6NtpqBvD7lQdT2-YfkpPORlx1LQ_lbKNi4sPKgqjS_ZO28x9O00QttvZ3U9A4wHP6iNeDoeYtzgtxnlvPVDb2SF4"; e_proxy="AcK9IOhoGpdbpRCsYQUwQOx3UNIHV-EvB7KFjeZ0EN9_cP-TZvJ7OQm9lLDEucDIWODuwr5U6xiktyY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 20:55:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/19/2024 20:55:33: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A4SGn-1BgZIbSQRivLLBvhg" } } 01/19/2024 20:55:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 226106, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALPnFi9OnNiKsU97TBYuvDV', 'x-fb-trace-id': 'DCNURm3T86g', 'x-fb-rev': '1010909070', 'x-fb-debug': 'fvn9EN5Fzo+wX/YydmFuWGCx4wUdrBQsgux/qRyn95YteHk8McC+aRf+Nycj8zJB+yqo45p3fteFMStIwtLPRQ==', date: 'Fri, 19 Jan 2024 20:55:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ_8CLBsYJneGZ5nWlSIebt7n-rdqd7BvC0mhdNeHtI3QlPzAbHxvjgBLgSad9QLou4x9lFeuIa4L266YYyd9ILnlrIR4_riqi9Wk0xFLuXEg5qaQ"; e_fb_vipport="AcK8VW6yV966RFKwKMRJDOyyl-3b0bedwT4SQdds_p62xSd-Ov-Z31_u2iUO"; e_upip="AcLbsGUvehDSG0-eNcWDvFfIaME6qVG8IxJo6oXpYvTL1pK1JrHr4B9xDxvo-0PORWBrBcp2VLThukHnmxoaYa_ukb3Irkd58A"; e_fb_hostheader="AcL-Q1hP9JLvHRsllCzRlxePfyXFkh8T2yPe-w1jPuuMYMgHxamd4MIInew7dF4KAZc7rfF5sy0PPiIN"; e_fb_vipaddr="AcKzt-chGC4VjoPNpXRW5TpYGdrAiZwTltc6lO4ezjZ71l52ZCaRkgyuqYmXujWDgucdXK0DWYaIDPRyzkn_vggF-sNkVcq96w"; e_fb_requesthandler="AcLomkq4x8vDa1opt6BdmoTr6ZNA-RIbEP4eqBNu5QCmQOfx51CWbwlpZYAvjlixA6nKVYHO8hk"; e_fb_builduser="AcKF3ie-OoHTw_-eqt2Fv8jujFz-PaYOF1rfvBiZS0L4_-NIhg4QyZETFZNj8ab6lhE"; e_fb_binaryversion="AcLpv3acAeElqaGR3y5zNRcQju0DYA1fJ2D8EuEyVaylNMzhwAAvJwf6Q9W4BLgwbtcES6pQR6VdumzKLApkss3zNocScKp7R5A"; e_proxy="AcI57BzcqUrsFHF8Hl0qX4zn9A1sgMHRcPH3j0d0BiccpL0JoCs-F1-jKvqZ8w9hCAxrZovVc_h_lz9cIMDu", http_request_error; e_clientaddr="AcKU21ZIKrxp54Cd7ZnLebFAuQ2L1VIqBeTAJxNiWH7htPgk07RBvVjTVfykr25auJff_Z8x1WB_AEkang"; e_fb_vipport="AcLs1rYqd9UVz7HgTO5CMQ38Euqe2DrHCuQLU0YP2UG3EbmzQwF-ju_JvgF3"; e_upip="AcLZLuPC2Y0_PAswvQ8C131oeB7Y2rxngjoJteIAPXv-mbU7iUyEJeAOUoEXmh9xg0wkyIGIA8KlEJk7_H2-PkNztUenn0graQ"; e_fb_hostheader="AcKMGWtTO8TT_XVv77hcwhqYECnC1JBqtpYW012mYC2lUk6VK_UzSvHtcWjRED9b0QI9JT3Sw1Y0ybUF"; e_fb_vipaddr="AcLrXSvf8pE_F1rOveEM3uPvWMXF5_SEk-S5lgPkKQoW9cnM5-JPxJosFAOVsE4JAAyeiV-PYX8"; e_fb_requesthandler="AcIpEU1CLao9hdTAgiuYJyYFK8_QFUFzE_ULEDweXcLzHnMTTKWAGue13WedeuplI_h0wDAMDMw"; e_fb_builduser="AcKOipmTg1OeFYQ5O75MOG4Ozukok3e8zwOrjFptu2HF98EEG76BuXu6XGxfAVYduOE"; e_fb_binaryversion="AcIfl0MKrAjESj-cPuY1Kt_SCS1RRbegfFPL6z5NsdVdPZzC8hlcFlYGitePP03YeQvrgmQeGYW4_Ige8v-hfRIjvAgkHic77SA"; e_proxy="AcJcMRkn38oXw_L0m0sxWiESMv9DEFrpRKOxS57U-g_vhtxtiMRFSBuhddZk9ffz-cUKkJXmIthKRKo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 20:55:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/19/2024 20:55:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 226220, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARmpN8hKMMJM3hwrpV6aMW-', 'x-fb-trace-id': 'Apj/XTThd1o', 'x-fb-rev': '1010909070', 'x-fb-debug': 'iz0jq95I9EUDF2EmjeYHzcNlXgxYx+R9BtNe3HCM159i70ThrzI6qMpmEBZuuZpfGtJEzR1/wqFzp4zUOXp9XA==', date: 'Fri, 19 Jan 2024 20:55:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKaHi6SMRc0NLMmYKbpfch0U3k1oIisKef36r9Fjp-Xf3IOutUfHS0yr0Vczv1ce-93q_1e5NEWjhA5eIbXsph60q6pF4tPmJFvaEDLNSlf-L6C_g"; e_fb_vipport="AcIMJMG87zqiB_D1LAyRaSrNmQj2JIEJvV5Q0i9Ju6UHKvw8At8XMFaB4RO7"; e_upip="AcKgviGlWdI_GsaaX6ddTRrseBycWk3bYOZTQ1VdlwPFRlLgOfRoX5B8TDhSOnaRAv8iKgCbqhdtYAFbUdFo9JR3zvBw2zqrKPk"; e_fb_hostheader="AcJ9eNAjucbpZsCA2fG5PTQ-FiekXYbaBAQMZnEiqIadmi2lyglbN62vztdcNGuBi8YHlx_PWDN6MtlW"; e_fb_vipaddr="AcJGh-xDBEYu5PO5mYI8UxFHTCKEjIoxCne4-avGuUhZApN_5eK8y5JaKLJi0kIn-HArNpP-dY7NRyYzES_9uuSSrq67Qa1u5g"; e_fb_requesthandler="AcIdFSp7xcErXV90mrip7e8fdGLd24No6XlRy9h43x-ZVcwgIwSWSaeYStFCbghncr2k8v-QOqc"; e_fb_builduser="AcLbnPldbZzbf_Yvu39vAw4flaCXNMZ3FEWsPRzLju5fIymYTkBr30qra-CxewALtKs"; e_fb_binaryversion="AcJOmOktl0Ko0G7oTMAqFXhX3CN7AdqBd6NSf4IfhTm5ryxyMff3JD1GdGCpq5qR6K_Fifk-jZqWitAL4dc4QEGk0PbYo0Dm33w"; e_proxy="AcKl0qbAbIaequq6wHPx5UOgwcnv6FY0Qukp6uCMScmydlqMTCe5naUGgi7hSH82xZfg5IeqxKGNL2s9ji4i", http_request_error; e_clientaddr="AcLvQj-jw1ur8onHbKMwBqRs4paQuoEzPpESiAHTvoUUVHi53LBA9tgrrUZeiV3jrjAb5KCdieQNl_i5hQ"; e_fb_vipport="AcJVv3Dh8OBrGiOa5GfpkIE82GwczLzQ5YPFTUL7_7Ve3Nvo-LxCObli5YUg"; e_upip="AcJflfWTJzZkK_dTYZ2ycsuglYRK6IGBjKgeIlcaaBwBvUq3Fc27o1VCPfg3KKYXWZ3gyQgCveOoqXH_11uTYAFQZFTIJHvH6Q"; e_fb_hostheader="AcLeG2XNl9PdxtcqODZTuVpkfMDqRzMu3Kk3ejcpht1g-LlWodrIWXwW2FkulxpJoyjIWkvn4P7tpAin"; e_fb_vipaddr="AcIpm2gBhr-u0Etwmm4_C1FgfD9eVlRhMfmvkwFrO7LnW0p6UhsmMkDVtoho4_KLxdmFGR3qRCY"; e_fb_requesthandler="AcIrk-hq48jShO4kA3EsXK6jV5gGIB2oYQOIBmsrK0r9BvC_csqxNSDx6aDLAQ5Uf1we9VWq4Jw"; e_fb_builduser="AcITon0Cq7fBh4OfyQRV9k4RbY1JK56117Q8QGaM6ectL0bjxv-IivhgppL-KkjZaz0"; e_fb_binaryversion="AcKbNdPaUIa5c_LfTtGmScIdnOh4-qwTwCCyMEeiCS9hzwpToHL6hRnrN0QmWgWI1HRgiTdPneLTYQ1XFzoJ3fpYz7VKybDfiSU"; e_proxy="AcLpbaBzIua1qt2oL1iBgHVzfMeaupj5wK_uBgC8pRBpBsN2bO-hlh3pTNlVSQ4_WAuYPnlc2Insjyw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/19/2024 20:55:55: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ac0p2QwbS3mHha5HupRlyNL" } } 01/19/2024 20:55:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 20:55:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/19/2024 20:55:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 02:31:16: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24556081337340510?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 285608, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24556081337340510?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24556081337340510?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24556081337340510?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24556081337340510?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0_S5_VOSTdy5EKdJmSyJkT', 'x-fb-trace-id': 'Ay2VpCo6M6e', 'x-fb-rev': '1010921161', 'x-fb-debug': 'aBnsHllDKaxV3JsI4dpZg/NbgwF/H+5QrWlVTBSZEo+5JDPHif1POIkPcsPoGIsC2rt7RVKrBHavhVeGQQXtAg==', date: 'Sat, 20 Jan 2024 02:31:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJDpHD29ggfh6TONxobkWquYmxv4sPEYB7R-LgKNgdEul5NFA2jVqMHds5ZWl34zDpo_wPC8njnnDb5XtqCcmiwYwuDqXFVPmrDpq65FucEVkTQ"; e_fb_vipport="AcK8nEo_QTE7NT5UXU4QEJEDCWChAt4iJLqfBvenfAvHGMyvG006U3y9H8-i"; e_upip="AcIyIYTpR5QMUId-4dXCPK8Cwvk3-aX3-eqkMNBkU2tqvVm0ARFdyQFSJNGl2IeV_6Nhg4qcFgSoXDDN64m3AJluEIozKo-r3ss"; e_fb_hostheader="AcLlIyr1vjwcOiBP8XnC6proevaljUryK7W9pXazZWeFAfwbWvO8wHnhg5LYUgPKPy47-ODOoyuySfpW"; e_fb_vipaddr="AcJIxdCvSN0iPBMG-hsX1Rs6KQHmSxquqJsIAgowgPoeyPt8BwHTJCgKbuO4nhd5-EaoabsysZusc7t-iiu4egLgeiJ2leNAZg"; e_fb_requesthandler="AcL_attuyaWaGjXH5juCGRieq80J-Vx6heUM69WXeMBbRUSGGycpwfutZputelvm5tt5LOV5yfI"; e_fb_builduser="AcIX1hMCUafM1t36ZK7zrsk6b-xgS8Y7qR4q77eZOHhRYhAN3AIR1g2mHPL8c65x240"; e_fb_binaryversion="AcJ4gAN7RYzBwN4I7MsXulUMdGCyG01QFLq_cVFgEwYnNDFQG7kVbN-jkFClg4Y2YMoPgiItgQDgIl8uGDIRpBCEcN681DkGIuE"; e_proxy="AcJdbut_OzR5ZHTeXJx7408o6Ii0kWZ2wSGBW3R7tWepFczTFxUFFi6o9wQBPCyLYMUbnUEazkbYHV7sqzwr", http_request_error; e_clientaddr="AcK7ly-C-75tAFceZYmZmQDcpbDdd-7CE9H7Qke8r0XpNHza8egditgCFKqmAU2tsKdFPr2LwRpyrdB6zQ"; e_fb_vipport="AcJjpm0gVTrAcZRKzZoIxHp1PRHMT4M3TLP0z3UWrqqTNxjmq4bHvkeU_d-7"; e_upip="AcKeD2VnsqZ1VJpOvI031RVT-58uSmy-YUxJM-V39OuMB-TpQB8o5a95kmmMXL2B4VpYKTGzUSXZtSyTIq0lDeJS7pn2EW2KKw"; e_fb_hostheader="AcLYEZDAddJe8zbQzK9dUKpCFIdDpTLZfPRlzi1EL8Z-MLCIVtzlMUlUqZI-3R6So8w9xFPZBGjzJyJp"; e_fb_vipaddr="AcLc63GLAQriPjRviHsEtf0MqHSlDavjEE6cbha7PT4IsyyzhFhnh8bAbzlHduaxrvM9S68tNQ"; e_fb_requesthandler="AcIGdR910mKNVo3h5kS4g4XeEbEkRAlfuF6C8VaeDRjGTHKIGye7LNPvFcKUBdunmuH_pN9wMgs"; e_fb_builduser="AcKPDUEuwf5d2OAabhXgoSJ8sERCi4f-MrperMaGC5EpkQ7Uv7WGRjmZmuLNERr2U1k"; e_fb_binaryversion="AcKPzvgLYhyTmJWNjKwBFIbv6bZSRWeY9qtljgwXlDFK1Gv7ZN_4vZT8h0GHuqb3S7Tt_BIKZpBYMSKXlbP424SdF-85h9Fkzcs"; e_proxy="AcICJeZoCXLREL77nEGNeMieRRgPNs6HbmF72Jvn9zO0NCd5AIx7Rjesg7Or6QtA8IOsL-GjGdPSoNBp"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24556081337340510?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24556081337340510?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24556081337340510?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/20/2024 02:31:16: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/20/2024 02:31:16: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/20/2024 02:31:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 02:31:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 285732, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al0iQb-SvdbJWpWWAe_4h8K', 'x-fb-trace-id': 'Dh1yOwbLaN9', 'x-fb-rev': '1010921161', 'x-fb-debug': 'qEFOKABILtWe0b1A+2g+2jMPpFvCvAg8VAXV3xFx20CBCGFfgOFyItiLQ/83XR/cXgEPYLwjR9w47tauYZzD/A==', date: 'Sat, 20 Jan 2024 02:31:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKpWLteRPtyPP9S3u7ef2h6JdEC7nVonQM2SJe8dgPFwyQmWqjq6AjKiN-bn8leR-u2B8_rpBuE4hs_rcxv_v-bhUP3jHWLdT3TtQ-OO4OyNwB3_Q"; e_fb_vipport="AcICHRWXQnwLGCfr8PnIAXhiUoWgej0HPYuxl8vEOXHVAVFxrKiLqgm-ZUge"; e_upip="AcIQmBOwHYw3FedhUFM12kJNxmxAVErAGd_pjP3q__OJvX7ansHWPq31DMgr2sPCb12O5eptlo5_j607KyWHlifgdaRX5PfUiQ"; e_fb_hostheader="AcJz05WXAdu2Fq-QHwDlfv9dSM11Lpe4MhLPlytjPOmOZVM-ULVthNVmoFdwoZPTRfYNq06D9CSA5gn1"; e_fb_vipaddr="AcL0HwLoXE33IfFdd4FCUl_Yj4bt1zM6wITu42xNjlT4LZh5s9AiA78pLCbGz3lNB8g8vSoMp2SddU6tFvvmUlNYKbjeELVcZQ"; e_fb_requesthandler="AcI46Qt4N7Rv1GCH6MSzVunSvdFg35YIx3tWHU7ncwl6S2xAnyZ4qGp1-wTZgva9moQ5_CWZHHg"; e_fb_builduser="AcIKo65RnZQ_5dgcBd6SRmydmWtt4G8Bwf49B8osMohqDlRyi_Gd9Ug0PYo-HZ42CFg"; e_fb_binaryversion="AcLKC7vIv5H6WvLCFGrkn1nW4T4NCZqbIy1Zpji27XM9ZrVnrA0GLf7uQhGh04gs0JsRUCgKFr2ogkabZLUjA46S_hM-vzPeEAY"; e_proxy="AcIgh4M4xUaYsxj4UY3_on4fIGDcx6J_NE5P3aalewrs_xC_qr_XtRxutWQgYgm8Ooh_zmexjtenGw5Va0Lo", http_request_error; e_clientaddr="AcIFlC1Ad3LUm2mS1F-P5uuFCb9jV2qRzOrrFTowLiCvsPfBwmJF65Y_jUWkWEAsqtR14zbhK5HSv71U9Q"; e_fb_vipport="AcLQ_O6Dfnkisljral0RrG2zIIY_svMaPzvECZvNpDTzkehd446gRZh7SOWn"; e_upip="AcJOrA7ek0D9jWjQ_cXEcrRFigZsL6-CfL2jlnADZ5zKdlJR70MJ-2AfjA3NXkyfEu78adbn2UiE4zibJ1HOJDLR4G99y9KmuQ"; e_fb_hostheader="AcJfwGaNHy7n4TMXC2o4yDIwFIhoo1DCmE33E2L47M5bggtcEzn6-w-lRE9B4HqdE31iCyIcIga9RDZx"; e_fb_vipaddr="AcIrrunhlk85YLfl_tQJSQw4Xlism6mQnqNu3NulAqBO98X-IfijuTVZFsMuyhSrGTZaHW34hA"; e_fb_requesthandler="AcIxzB7Uw4NvF5-Lwryy_KnLHMYSTnfunVAylITCFqgx6GnQwhQ-bsf9z93UFfpuxeESqBGnGQs"; e_fb_builduser="AcJGjSsXrf8eiZKKYdCgPnw5Nv7vuVZ-xC3h2ErWuPCuC3klyKzt1vFOVC6TET1qV8o"; e_fb_binaryversion="AcJDC8b5_NDmXlTWsN08U3t9deX_jQ8op15qxM_5Vd9hqs5iG-LJmmB_HOFr9phyR_tJqW22fs4aV_G2FO0iaIlXVqNt0dzuvFc"; e_proxy="AcILn9xB1fJ_oTIa9uqJhu9W9tTwLsM1akyYL8gNWwzUVZiw8nyOxqRdKZb8jlGUSnfZqf9cYCwquJ2i"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/20/2024 02:31:16: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ax0UnH-0hcZgv9bHlDUqSZV" } } 01/20/2024 02:31:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/20/2024 02:31:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 285804, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyiifV7oFt3ls_9NznKkiFW', 'x-fb-trace-id': 'GeHStuyKqDd', 'x-fb-rev': '1010921161', 'x-fb-debug': 'uV5ZsanzEsaAzSPZefaQaqExgxn0oJd2xvdVlGDZsOKWqr8sUcXseS+4/S2KKKg7gK3z+dM7HGsgiquIHMQvPg==', date: 'Sat, 20 Jan 2024 02:31:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIswezyYuMCbTwUFnivtIJTaqF1GsbO0qxRhEb-SBHioZzkOQPd2fZRH0iwNpM8PYGf75nMrWTkoKdCKk2fF-XeoIsoCsu1hD_df38N-dx7QwyT7g"; e_fb_vipport="AcJAdZ5zHxQPLEVg9HPvrRTJLPEt9MSEXlD7No09DNgUWyWS2y6Mhb0PodDU"; e_upip="AcKftUJKggzzOnYbUSrz_qbtXUo94vnH5-Kf-CscJLrr7GzyX6gfPgQauBw2B2ypaGgY8zgWqufwRPKr8ICjZgPYvBe71JaUPbs"; e_fb_hostheader="AcKO3wYN97W7iZYvLWPwe9VacR06L9J_QUZ2zBSSYqoNB6MxIxlzYok7uNkSE2rJaFFJ-CIJYxRygbuM"; e_fb_vipaddr="AcInKnK3g18orPQsl5Gyrb_M_KkAGOf5oOFFUhyWs2R9owPAccr3Kxf6qMd4qwxtk2z1uOu4xNVEtKYwNJE9-IMsP8X70zukOQ"; e_fb_requesthandler="AcKx0SVM_NA5zf9s1wEYuvtjDHqK1aIUCg4-Vb_z9kSJhzClEELWDUKOfMKIFWV-IZBeuR9zNVk"; e_fb_builduser="AcLd19F8R86gxFMYA8CPBhltxTU8dQhuh1dWBXbYT_mHWtdXcjxFi6dAShM0D7djTCA"; e_fb_binaryversion="AcJdEPxJe0Aqd_baKEDptUB9TUUD3QwRbsDoxV7axX6vUZdRRTFM49mdT2nrmrFSiwsaufN5jqbzGaTsae01DiKE5jWOnkagUbA"; e_proxy="AcLPD-9is4J66WEdXm2H94ZS60AN4prbaA8JXCGeozUIu7Gf493GW2x9n0BZXQlXlD3RmmxS5TnFRIkQwyuv", http_request_error; e_clientaddr="AcIb0lU2ZqWCrT9lMIoFk5fy8Tl9MZQCnn76h3jFSBIMT6POlb81sy_BnBF-sT7tPgIRnSiAJDZyLJM6CA"; e_fb_vipport="AcKHmLuYmRZT6bYixwl5EmKZ-Lfhh-hcTcaDp3jVUUNuW7sbbYJ_ZRu2T-17"; e_upip="AcJ_EMOsM9YI9oFZE0VbnpSinAHgWWYSDzSRSavFmV8gltXJfACmtvtBkU8hD5BGzCpfgDlGKktw33We5qNV8kYRDDJbiKqkaA"; e_fb_hostheader="AcJcdJEaMd5l6OfQBRyuYdfSZVNjElDgtgu1jcLV-E0WWAnXqoFV3SubkTI7I3TJGboafbEpdrQ3yJFU"; e_fb_vipaddr="AcKcumA1-vtubefHlsWRotIhGS4PgNEg_1Wvtt7Yw63YStLRgQ7SL0RAwTx7USj9zkj5RcOwwg"; e_fb_requesthandler="AcIAIb1m_DrkXCCtquV8Pi0XT1jzRF6mhGIB616DSRqSaHwwKKQFuZG8ny45EeImco7Hbh7Wrsg"; e_fb_builduser="AcKOuKKhqJSpatF4Z2dQT7eAsigpeROHBNh9qTQKIVhhYTt1qCGSf5FFRos4rIcshoQ"; e_fb_binaryversion="AcJdX7q35u_6MvXUu_REWC51bOQizvkajGFlP-HGLpMNv3EjILUd_MObo4ZcJQG77lsQGdLntdvJRZJV5eUuD8fqiLZF3Phf8X8"; e_proxy="AcLjrP4Td952GMGBHtxCXpMcdjO9A7l8hjSmwgwEtOal7g4af9IqUiSZVIQMYrHM8GHF8uNO28hm_oQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/20/2024 02:31:17: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A7geM2JHrW5os_DjCVS6kur" } } 01/20/2024 02:31:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 02:31:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 285918, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoaUWZQYzaaXlR4_ZjqsqNs', 'x-fb-trace-id': 'FE427XudMst', 'x-fb-rev': '1010921161', 'x-fb-debug': 'v13/vN0AloOEM0HLmAGojp0IVYqNcz1ks8qBSeoxMO9Qbefvba1mqbYawS2mxyzQXgKeMkvv9ASL1nm38K2Qgg==', date: 'Sat, 20 Jan 2024 02:31:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLGyBjbwX6TKeeCuXdF5gWTKV4Hdz--rQekWRA7s7Bx3JJd6uKx___Vx-POT46MV3Nis3Ao2W54z9mLHLFjHhH6IbrnnESt0q7148HeTUE4z86AoQ"; e_fb_vipport="AcJ08jan8MJTTHDL3GL2BcMM7VnfBIzVKFFT7HqE2dRhAbhvqhTCN5V1KoBz"; e_upip="AcKfkG-viI4184zs2b13VBGgyjDuz43l6egZaD51z0S1b82JJNryjGvw5etosoubwWDRBhR80xLpJfX4CYhjAKzoNGriogskToc"; e_fb_hostheader="AcJRQ_P4uBUc4k8F7Z6Xw2cPe0icRtSl1eY9UPBeUJhaQGG1GYb3KT9n1v1G4OUa-RxQ4kUOi8irsBZ5"; e_fb_vipaddr="AcIxdcAjPfIqnSdF5lyl7qImjFitw9zh2OgRukCrPXpUCfKy9uoYhitXICLiZy7zV0fi5cBCv4RbMZT5dZ4MaWuEkoEjQnPxTA"; e_fb_requesthandler="AcJ_GtxJb9pY9HOSdW6CsmO-g9ViRpoFcvUzjUTNZ6DYjmbTplkpirkTammEO32_mwoNV3dySvs"; e_fb_builduser="AcJBiIK-YJjvv-YhuW0m1ywnrTAvzOPYCPK1eNqhHKnGzv7JXEE8eSqjunTtN3nG_1s"; e_fb_binaryversion="AcLz_xh9taJWmQ_8Xo18ny260AP2yD2gUTsaZVRa8npKY4P_uv9xt1QMfpSpgxAqMzExLHrl38S81zqridJ0INka1CE_DhsKzKk"; e_proxy="AcIsQ61_deJyBpgl2SqkMcYXyUqYbShxgw3x8Z4tcBUggYOAiUp-XVnC-t-ZMaEizuO0MfEsnf3cbwdzOgAH", http_request_error; e_clientaddr="AcKyy2FLla0VyOAZ8ZufAb1kgye9-YpW51qJXWuiM7TSdZQA8RmMWxy2hov1O8SvO8ajR8pxjE1gJ7YZMw"; e_fb_vipport="AcJF5JPWlg6L1RO-rcw0o_YBBAp3zuV-3CJVUJah65zhtaVrtil9f18NN1fK"; e_upip="AcIytu7_irGT2I6_m5opuK-pNXhmC5v-BSMoDr5OusMlyjsl4yGlCzZ1gqnqqrH08WWaRkVb2IghbRGyh3CoHTTJ5lWhYaKEeg"; e_fb_hostheader="AcLwtme4EkGG2bY1Lze1I8i02EbSdn9XjopFkMBouAhnIkGfmRlrfeYsp-B7nAaGXteTMoldT0292nxx"; e_fb_vipaddr="AcLWncTfs6CswKzhpn5wg_NRbP-rtMcBsx8reD1Rrl26-zirm9a-iS443K3Jf_RpJPIWp8pvJA"; e_fb_requesthandler="AcJhpS6mWVwAnoEYJ2JHC9UumWKjpeoWl53WSHt-ftcgaufrXVPgjMaBNOzOiUrCmi4PLzvWmQ0"; e_fb_builduser="AcKiyCdO7tJd_81eW4KeZQhDBFb2dEvjmsI0CzM5k-4Wzbexk4nLnsd7zPdbN2NVj9o"; e_fb_binaryversion="AcL7z-6wpcYH6KDFHFfehsi9NTbyxihTwR-YfMPUpDam8_0B9oOz-i8Ls1Xkg9Atc9u9u19F4AsBSY2_dr1j3ldGZUtEK-PgRnM"; e_proxy="AcLEBF1hngWdnaLlPGJJkyLIQ8VhGsA0sQsTxBc5AeYGijnPJhpMgzQDOsbBCaOsX5kzzBdZ9aqQTlY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/20/2024 10:23:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 10:23:51: Error on receiveName treatment: TypeError: Cannot read properties of undefined (reading 'name') at receiveName (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_name.js:14:38) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:49:28) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 10:23:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 10:24:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 10:24:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async finishCallback (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :117:7) at async eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :149:3) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 12:45:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 12:45:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 393734, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AveScxKR13xyZ5QvvaXDakv', 'x-fb-trace-id': 'DLM/ZtNmJzT', 'x-fb-rev': '1010926631', 'x-fb-debug': 'ZJR0f2SvDWFOs6VMFrMK/bCZbWpH+MuLhgk/pm1VgQrWc2gkKtcfZMujgaEHk0dOIc/8Ui7u38meZcxAGcPBUw==', date: 'Sat, 20 Jan 2024 12:45:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLAaK1yW7A1NkyG04AT_0DeYg8sM7VZpIsKhRXWU0BM_TUmYfrcmAK_HVUsXifZcs-nUX4Ca4ROSWzE8BDgIXsbRliutaIJ-aQF7kve-WeF_mzpWg"; e_fb_vipport="AcLO3fEPgVa284TCNF6-aGWwPyyJevM3VN7a37p4QRNk-pEgjLAFuzNzvKn4"; e_upip="AcIzCYVeRI0e8F9zV3A6aeepn7wWXnMO3DemviYxJfqeObzhWa_AIpBCdMLgsV8AzRwM_k0DFdxcvl8psstD0b2zPdPj7Gr2nA"; e_fb_hostheader="AcJhurZX4T5M1F60fpq8PZR2P5kILcHnXGUXou2rzbwn738GWroKJMtzm0v3bxdnOi23zwA6IKbOOw8R"; e_fb_vipaddr="AcL3lWrot6KkE2nfD4VrH8qcreHj2BmitWQB3xi7o22108mKrZZDPz2YVy2IlAA1I9BEMRp4B3062y9OeHl1rOS1Q8LZdmavoA"; e_fb_requesthandler="AcL8MmghLbZK5ykLBl4vnkhAMtJsaiZ1QXKCFFw9zZwEcKQeOKSVNJujnBHh9wBGfLasTSzQGrE"; e_fb_builduser="AcLVWB7vaKhYoBzXfEvm1K4uQoTY6OTohSf2WKM5aae2I3JhOhn54CE7kM72YYFkwa4"; e_fb_binaryversion="AcJAjqWD7sS3Axz5BYRbdJQWqEMOqQQCRsSQ7HSkA87ZPduk7Wohvz62eGZonB_l6MfNYbghDyV6qZD-PmMzCGqEC1mG7RQ4E-s"; e_proxy="AcIUyC4BMbrOss6UWY_G-kzGWiBOdq2I04ukTnyzlt70zI82q3gq2rwy6rgyvxTrI3e7li2QUJH9Aam_HaiD", http_request_error; e_clientaddr="AcL8JxMB-vxwYUXj7cuaBGp4_zODjCokZyKsSJjZeaAtfGL44g7eQGvQhqORkCLpVqJm5e9FQJXjeOTk8Q"; e_fb_vipport="AcK-wokFZcmF2UtkRKkg8JsDY_ElHLLRMsST4mrG8b_yK4KwnAvetDIzkCr-"; e_upip="AcKaJRWXqX5MJqhUbR8v3Q9I72eNSbYJ75GTLuXDaQHTO6OwK-r-FEyn6E6r5hM689bREuUkiKhbodeVi6N20IQdPUUkK2cbSw"; e_fb_hostheader="AcJjnhe9wFQmJJD134WG-atfv17XtUTfLNx3fg9nosiFxgY5Wjci8AQ3-UakdzTB3m4sZj44n5ty7Wjt"; e_fb_vipaddr="AcJgnDTRGgOxj2n4fvF0PHLLl_jz9O3QJGZ4efpZ-Dkpbp_AnzlBszMm2fGK9RasD3qDjr7p9A"; e_fb_requesthandler="AcKjMIUCTZGFkgpYCZ_JFyCAuyTNGP3B5tH5Tg8fkkYbir3o-fG7e9fZmIX_ViPGXs1hxLoZPwA"; e_fb_builduser="AcLRFOUsDCtz5KIFClFomh5j13eGCtJxK8c-LqcoiKzyIOTKAOAlTwIskdzmkH98MvY"; e_fb_binaryversion="AcL6UO9NrBbfKMago3MnYWU-RC_C4VdGU3ZHCzHF6QhHLDG__kGIVXucnyebHCWwTkD-tt0TVcSsBT5f0AhYHOGBpmWGmiSWHiY"; e_proxy="AcILjUJT5UhSSJEDKwcKonHsgwxme2QUko1ZnnNSXGHFX3Fv9cz71u_VeiqqbFAiY7iROp06W3TjpVw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/20/2024 12:45:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 12:45:36: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Adn_hiK-oRMb6JcZsye3-pd" } } 01/20/2024 12:45:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 12:45:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 393870, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A--3GZL9M3u7fABi_HVZKi2', 'x-fb-trace-id': 'AFGivsm7sqX', 'x-fb-rev': '1010926631', 'x-fb-debug': 'O7Psf2wt0MoU22FP/NPMCb/mE38X19kMR7Qd/1MXOtrmPUB+g2/A9vEXv8AcpcMG1g+U+39S1KoF1SA/wEWCVQ==', date: 'Sat, 20 Jan 2024 12:45:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKDFvMYeRHS7tpOsfAM1ktjJ7elBxbbv000waP1MG1OPT4gTb6bbxtFplnoFk1Q5CLukeAicYu-UZAJgPn-iLXEoTAJKOUQwffrDG5L8aamBi8n"; e_fb_vipport="AcI82ayBKCeLcqNuneehGEokH9QEk3upKlOhnYPOYlDvG2oyiTQsd0tTYh8g"; e_upip="AcJRAo7JdDg9jzjRN3FXMqllyzfgH79I5sE3BLURKsD3xZiGaZKRi-NBydgkyd8kDh1VF7BtQA5713o4PWhCYRCmo53WD7r0QP0"; e_fb_hostheader="AcJWVatp-ORRmFDQtQzjW1Ini_20Mf3t5T7tMJrOiDcx5COCVdEB1UslJdK9PtUQMjoxta_Gqb5RXYVO"; e_fb_vipaddr="AcIFH36y7AEwnJ22zrug9ETprFwto0Ks9JYAyKB1K2sIW0396cz6GFCFEzdom4umDiGYVQJCLfrPFCHQ7LO3qx6JGHPMlx772Q"; e_fb_requesthandler="AcIr3UPbGy7a4a0lrqplMAf5WF2QnbgmiKKnjJIVYTfBbP2KZjOkzIs1RE3br-7xSw5FVFnANmk"; e_fb_builduser="AcJxnd7bJ4rDOguMlTaEgU-8brp6cg5uY6k9IdlrSiYoB1Qwrsqt4HLgZhlr1KUqiqU"; e_fb_binaryversion="AcInYR5vIZ9u_7zlauJZP085APhn7grLFN-FXmTu10tOgoKVjK2fj59iXoY5atMAl-UQAbK6QlTgIBBgdtH5nhElSB9BlwuU2Co"; e_proxy="AcILCZWNgMLwsc6iaLsVB7N2PSUICtavq4KbcBG4O1ZRX3heV-ceFMwxfaedKWiMRo15sRpv_vwb2IY2xcro", http_request_error; e_clientaddr="AcIaibPZwg1g4noznmda1Gh3JU3-vYbAqPybLb_-tuWDBNHUmxn_Vj84SWaB_FxCW-Sdlq9fmkWUaoe94w"; e_fb_vipport="AcJlPlGEs_LlZ0r_rsV8rIzXIDvPOTJpu2k1q2AMtdRmKECVbJklBd7C3Y6a"; e_upip="AcLF5XQQapHkkiMRhrX3eIniKCfEZnHGh07-qk5udsMZjIfSJfR7WT-_M0F_SmuMPeaJeWCvo-TPdseTKCFv3FltguPeH6NFoA"; e_fb_hostheader="AcJqlAErbR9rB_smNR-KwT9limP6JmAjo7ALqPUfiCexioLGApBpwJ0Fy3WQIkR5Cv7vjLvFstdRnUvT"; e_fb_vipaddr="AcJJqAPUZossfcA5PrGdPHtvFFrI3eH26QEVXrL0JiPdmFwdBZv0mtUuhK3_gXxXZJsK-EOnRQ"; e_fb_requesthandler="AcLB20kMzd0TzpdtAv8pFPVkyN1KVWBHUqs2r7K37hFc7MA0-wmN3pFpn_w53wMnws3M1ZZu8h4"; e_fb_builduser="AcI0ifNJIisWnS_dkp0cqOf5tSvzbJEV4xsDySR97QZl2B8b-dHXIqNd7AwqrnYqHbM"; e_fb_binaryversion="AcJWz_JQ4GYWjjRcouRgkR_-PVB0pECKAU4KMqS1_MBWh6Ntq3xNaNuoPdrZ1AhOtZVtoj0om21vMmejJUJVgK2mZdCPGU6zbwc"; e_proxy="AcL4TnKiOlKuesMzQQB0hS9XpJbkXi20sYtyrb7DpRJyrq3fbBSObUFDs5wFEKZvDoXTcyO05T0Q5oE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24556081337340510"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/20/2024 14:43:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 14:43:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 415203, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOR_bvjcYMpNX8imtc-lr6w', 'x-fb-trace-id': 'FV0VLee48VU', 'x-fb-rev': '1010926883', 'x-fb-debug': 'wA0eMzMCMlQnbIrYIvu2nZbMdHNWv+M5zkHWyB9oQngPA9KSoTrNIRZ/4liEi+qnifh62Q3xiUfsVgFbNfi3xg==', date: 'Sat, 20 Jan 2024 14:43:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ4up-RozRREaP3SKOOAVK1YhdxY7D_-flqU4x8oY5N49HXvcuY8PPWsGvJ8ibLwX3KUm3g3xO8Fz9RQ43heirn2-dbeWNMgInaZGTqZudb1hf4"; e_fb_vipport="AcLk71fxouCss6XlwlYh3vS7WhKzcNUsrXNrDHOAM9CAOLWdbLmdDKTuGTui"; e_upip="AcL7jkhb-vPs5i7OWyvey4InB2m_G34HhTXQ8kvSCWMoGxEstLt6gtHjjuLOuxohf915Wk7-p2GY2EeHFtcReOoU49eiXqoLFC0"; e_fb_hostheader="AcLo030OA3QzIW7Ew7zCXwmbTLNyEG83AwEmkKfuJ4lH6mXU2BmwmAK2NpO7d38BFRq-WjV2Yue0szcC"; e_fb_vipaddr="AcIaeMpTBr5R3r8u6k9Ou-MAljOkTPvyDfEBydt3DScbye7_3ZQAiZWqt0LPb0FInQ1VRpbElsvmaHTqj40wAxMTd_i_YjmNkg"; e_fb_requesthandler="AcIOAPuRbksDMaTT-EymUtffk5cybwzvrXJZh_DXzccUmynZTb1Dl-QE3QTF0EpFN6Lk0-PjjDE"; e_fb_builduser="AcJsMFZl6ZTZL0QfOueMeVq8SiWELD889w828ZRG2l6EzcVwi0x4iRMVlTfLkobD3iE"; e_fb_binaryversion="AcL6v3PLkGItsTH35RGL5ty75oknJ6lWBEK5KBSB0-qq6G4LZXXzTG03oChRdg3Lkal889y04toBuEqFfyYrifoyg0b3A9DWqy8"; e_proxy="AcJPg8Beau__PnU8RphjTr39y7j1gqV0G8DEpj999fxeHvjGLyhjuUP-9M2KHA0WdXxZVtyIZEUSwj8T9Aw1", http_request_error; e_clientaddr="AcIDMi2rz_p3ptrsT_DCJgyHCX_DfFaeQ4OKWE3KSfJVBq13nqWn0iAUzuGqthE0Y3I7e28loVKZkc5X9g"; e_fb_vipport="AcJV6d7DZ5bwNWnVi-uKQLaEJpwIVotMLH-DHjoqh6DsQNXhNsVoxl0qAxc6"; e_upip="AcIemYp68OI4z9-JjE8S-6veZPYPzcCva5dOGVANb8g0ktUvGRx2BMlXy1cbbhiHrpMMzE83qRdwjButsBD99o_7BvT6d-e4RA"; e_fb_hostheader="AcKizBl0zUVp8shy0Z-vZN94Pv-GxoxBusAPocf3EGEqJwdaFvd-HDgRRPpxAxtVMUp8Qz-z3yvMWkDt"; e_fb_vipaddr="AcKDaNvBZa_frgwNivOvuD_lOyoGP-fJgzqIF-Izsi-WqvmXzzmEKWXUnHt0CMiMLLKFsKRKfQ"; e_fb_requesthandler="AcLN6Z4BTdrSk7if1EeLOEDiwgHsy_mcsKRxMnY07jnUqIHehL5YPM3m95xN8tuF3PrMc0-PrmQ"; e_fb_builduser="AcJ8VjRoto6MwgBMH_4M2IPCNqmkLaxxhAVRuGtVnJJDxed3nmG58Qh84NIEf7BgYLg"; e_fb_binaryversion="AcJARkYz8xdqUx4CqBqbMvz07GdwmjMV1L52mdXh6lUQtA8WxwNPrtMOg3aZQGUIYB9mGrDcxMUbui0AUU_o3pISUCkatQN26Co"; e_proxy="AcLIN7RttAdwIJyImJ3sLXNNBpY5wwDCHHAep7BHusHsMw32pGjzr-lLpBvfygW8OIwAqdAPdfrb1_9a"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/20/2024 14:43:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 14:43:11: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ad6we7E18DjyoU2OwVGLB2S" } } 01/20/2024 14:43:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 14:43:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 415339, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdGvz697wX-dvxKWc6K1IkY', 'x-fb-trace-id': 'ErMKdkB1/Zu', 'x-fb-rev': '1010926883', 'x-fb-debug': '2kUcfTd6V5TgIj7rORItzhHZiuqtHR6mHMLPa184Ke2mBeBZOxEkOMAGTK2txzOo5Xj3Rxw50GthR3qhH27Qrg==', date: 'Sat, 20 Jan 2024 14:43:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJz3J70hV1Li9HF7It2niAT8rRef-J3rozl4wu0whWcdDK7ojaGbPW7Mw-g6mg9C7x8EkkO5Dk0460rHZzWHgY7g8ohuI65wB1anM3NtiNtxh3J"; e_fb_vipport="AcKOgySgzD1yIvM2huQbjgxjTECPKm2ssAp9zpcJX5fth_UE0BuVUplYCxbC"; e_upip="AcKJffuBm_r8Nfc4Guw_1NtKVpzzM4QszgDc3XLif8r7u3Nfa6h7AU4F6ellJsKGOpcZEbcsi7ri4V50PWCS8V16CjY8w03J"; e_fb_hostheader="AcJNE_t-2fJz8i4x_JvirArc49xVYpGyt6OqKRc98N8ZCtOtYzWvOKbdG2hpMfS787qxAOQ7Ye8o2-qy"; e_fb_vipaddr="AcLoSF9co35FXKm2qdyhYDcp6dxs2K_fTJ8HyVypPc-0YGw4pt87AUUP_3WZprdcJbcxfSzTwTrV5Aj9SfY2p8jrXHb0e9f1sA"; e_fb_requesthandler="AcL_kWJYQ5p07aTs4JNkFiX4KnLMAZNc_GF9UG1UPRjgVZAYCDdgkcvTXObLeK7nStiQya7X6Vo"; e_fb_builduser="AcJ8vq4f8xmFhpTlj42htfhMdzT--OZ7YspmdQb4DWx00Yk9m4czVmE1tNXzd4aqJ70"; e_fb_binaryversion="AcLK67xAQqPs7TFkZbRG8W9hBiP8fucMiYCC7k8gv7NMwbDj0zEcpGpEXthky2Kn7BREHk37_6xtqA2XhQCyeiWVeRhNVeITDhs"; e_proxy="AcK5m5TPozxvEHfAPNZ07MNkaYen5DSJ8Iaer31ZfxG4Tl7VvMdME-JVlcQLFRdvpPcIkLHqPEsaDBB9a1l_", http_request_error; e_clientaddr="AcLZfeNm6-270l1ppijFnQCnMwD3juhHfcvUXA5ZV0NXMFnb1L07xx8dqFpCzlYc2neG1cE5b5ulje3q-w"; e_fb_vipport="AcK7wVadHHw_cqSHIFMlQHiT1qG592e50iNBJwYKvq_AaB10i98fCfLFMTTd"; e_upip="AcL9j6e9R47pYL449PP9L8CH7LVFxsGx0NfIF_XH19eNXIfAE5kaGwiuvaPHd1-NoHBvD8iN-e-eck71tFi2CjUDR83LHlMMnw"; e_fb_hostheader="AcIsKIlz633Zb7-u4AulhNIV38f_Xcwa8LFkOuw0JkHTKFxH2BMsO2IsaoHFUXPZajpqS99WIAV_Mt-O"; e_fb_vipaddr="AcJK81Sk-uSOkJaZouo7sEnCQDqKDTnD9oFPB8eQMvJf6eovnujkfWN6ISw60ciYE_WTfMgAGA"; e_fb_requesthandler="AcLQNHeEZHQcTV24Y683cwXQn3O3hl-lwTDmMdw_qc3UfCbvjps7OaUVfVrbI_rcb86tEslT7Qg"; e_fb_builduser="AcKTn-qxS_cnjKDCUnjuzi8KymaHK5u9PiUQIG63L7c-ibTiuC0qacvjwHzzapSd0FE"; e_fb_binaryversion="AcJ6Af7pr2tAEVmgniTQr75cd6En4g0KzeDmnmVhQHCxNcFvsysq8Av7hnmA8WDeVgXbhbJkYxM9fiq_zmCxojpYZV4pfMlPjss"; e_proxy="AcJlLKNZwlYKQLyr-Z7NxBzuoRAn9cX9cY7uYEJtTCafoLD9QGkZnRFpdb-qMmKNd2G4j4selv2q4f0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5684995301624976"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/20/2024 15:37:47: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A4sO7kQcP3UHq-gA0xAxUsh" } } 01/20/2024 15:37:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 15:37:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 15:37:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 16:06:13: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AqEm8r7W7dklHJFzKHX641e" } } 01/20/2024 16:06:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 16:06:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 16:06:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 16:06:26: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AF0Uw2koKkoehekeT3nbNfT" } } 01/20/2024 16:06:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 16:06:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 16:06:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 16:07:03: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AU9wKruGUCPJ6pNhUE3Q5BG" } } 01/20/2024 16:07:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 16:07:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 16:07:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 22:33:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 22:33:15: Error on receiveName treatment: TypeError: Cannot read properties of undefined (reading 'name') at receiveName (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_name.js:14:38) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:49:28) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/20/2024 22:33:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/20/2024 22:33:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/21/2024 03:58:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/21/2024 03:58:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/21/2024 03:58:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/21/2024 03:58:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 07:20:11: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7775170155943472?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 856006, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7775170155943472?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7775170155943472?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7775170155943472?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7775170155943472?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxCFywayc5d4hgYBvlr95q9', 'x-fb-trace-id': 'D69kWUwN4m5', 'x-fb-rev': '1010934441', 'x-fb-debug': 'SsiGUELqS087/sACDQH5v4l7TO+EdDik7fifkLIR2nYctWy0fQ/X8aQwa92MkChwLjv2Gy9p/aFpw6QA6M4Brg==', date: 'Mon, 22 Jan 2024 07:20:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKfxspvePymG5KQC_UjOC_qnhub85f5QuRuS1TTt9wgLaiAgDRORvUDe7TKuI3yAAhQN-B6oX_10BJXAaH5y1xbuQ5JkgT9EHew8s63lYD6ppM"; e_fb_vipport="AcJUH4PZ8CUWU89vsFh0ZUYGW7pMFS14yicSOZMfwPbDL2rByKMGILaqrVh_"; e_upip="AcLy9wJeC2WLUlCOSe5j187HK20l4CWmq1KKLatX-vlcFj0bSeo6gYEiir6i5PUzJsvMx72KzWjx5nf7vbL_W-j7lYtcwIrirNs"; e_fb_hostheader="AcK3oZ1Xk_X9ncpz9zOREWT_LN7vHu8RXjG_0-APPAzbwTQSNICPmoDWMuqeo66MA18KYcMDHXUJP56l"; e_fb_vipaddr="AcIGQihBhBj1dccYYBDPbnUe-HQOnDipdKzqDSPbf3tY3Ku5kkTuP6X7aTFVJPYWB61_7lQjd0ReFmwh7wyIw3h3Au-CVQpg7A"; e_fb_requesthandler="AcI76sq3RYByFXNokBtXwoshKB2tbEoEoWdF6QE7rUaSuzFxSeiwez0hiBWbeKualJKpv3kPs98"; e_fb_builduser="AcKkmWqDmD0ejHiL5lOtyBJoPhUMAN_FjEwbKDS0vyOJoL54Rt4Od0--x1MVuwez1NA"; e_fb_binaryversion="AcIu0UhgbSTt-J881uLOUYC7XkbaFPOvQOhoZqvG06gVnFZv4ClcUI_RVW9-tYQBGZGdj6jXiy-8pZC0jiCvug7S3PDfWANz4Fg"; e_proxy="AcKNYyZ4n65UQBjZZRPleq_1J3ZMaTpiDjME6vBjyHQnZpQmKvKKV2ONEHNPOWegh_jOXe1xY0j13wmbIkpB", http_request_error; e_clientaddr="AcKzzPvaV_62bpJnCagb8d32YUjrXdohR8ZEy_gCRWQpS3Z3Ko4LeJ8FRoX-ue6XRcuR_lEcdqQJnSxGeQ"; e_fb_vipport="AcIQov3-YcfZQuLGm0LAzDU8AyHEl0sytd9dzQ38Yp7NbQqt1twpc5JWQ3ih"; e_upip="AcI1ZGrjOjAiPKhwC3qMTZqIeo4uPY2s2cXGniPpyIOp4C1cybVLIkBo2BGX-YCx8qRxzez9K1Fi5yi_S49l5bT4K6aHogrzZw"; e_fb_hostheader="AcKyVfLz7C8pzyUdunUY1LP9hbScpKSMriQMS0krQJMECPgZRXsnC-GQbFxYH7ZBeBhYIixNnwSv0mIH"; e_fb_vipaddr="AcLBTGf0gyfZBIpP2XlbAO5v9_m-pFEf0h2RJJNfYcy7Dcmvi0AuZNrFdotjz0p39QE_1SOC7g"; e_fb_requesthandler="AcJXGiagLBek_ckn3x9GOpZKcmfvA-AQd2COG68Znd6Qk6lBS8nT0wHnTaJyUYQ-A2nq0h_6B4c"; e_fb_builduser="AcK3umK27J08qwy7uzqLqVPFS1xvteBiqSblczZc0yuxyIYgxq2zW7R2i66mdDOPXww"; e_fb_binaryversion="AcJsynwCUGhKfxFLaXoB0rW-LbHDGrlKItnp3a4i1O3xaX2Z1BS1ZXGFeoRanjW1TQeMiZBwAkwQzpp8N-UP21cNtwDVAVKNHEE"; e_proxy="AcJLI3AguQBTFETO7o_1IpHcYZlc_8BApwouziiFRK3teiCeOQTZ6EQB6_k-z9ESOPhu5OCHqyI_OtH_"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7775170155943472?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7775170155943472?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7775170155943472?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 07:20:11: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 07:20:11: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 07:20:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 856126, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AG477lIvjp7w-1oIdbOpTyK', 'x-fb-trace-id': 'DQBtL9T0pMi', 'x-fb-rev': '1010934441', 'x-fb-debug': 'ZRcLMBO6xKT+7UymIkh0CDgrYK/Xbfzxnf3P4tOre/Z05WviyIv+Npt83qAVokYgqqgTaw7EjgyNmJcVP1v1lg==', date: 'Mon, 22 Jan 2024 07:20:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI9YE2bSCaBHhjWnIuCKelrfkhLOA8NcaWIbuMVbvS6j_1C2klSCef1fDNbTmN2UfOVrY8yh01wlbIlhvuUgfCrH7FgXCFpW_i_WMzHF-ZXjxnFCQ"; e_fb_vipport="AcLKKdJIdcZAmW9wufcsepmbxwNmzC63HEEOU-BxvmsKGNRMFwdaReOt0kpQ"; e_upip="AcIJD2h4i3HT5Bmo1H1cMnuS5DyyoPW73vRtU_N_5qz0vgQSW7aYBVLj4f5OfBVinse3T1HiNcFQj2_1_0kHBB1kQ3T_XDsck3c"; e_fb_hostheader="AcIdQGVdbXsN79vIYLlB8zQ4Fjsn6ABbU4h8E_VnWMrMcudm7pfPwgaI9sj5umZ2O3nyeUbZL6GQp5iC"; e_fb_vipaddr="AcIzm8k_oxNcVichZcWRQWdg_v93YYGehiXWaaXakZLJghiRVKDVhU3t38ce_i17ZKh_wBeIEB1_qpU7MBFPRzvEQxnJyryZCQ"; e_fb_requesthandler="AcKOSXJcz8jA63HbM1kKuRra8nEbCXZiFX14TbZk1RUIUH4CSVE1ReIvEerWCC_wbGbRyYFfd-w"; e_fb_builduser="AcIEJaKQCeRjk8etgTSZne67pjjamOBPwoKyr52JLftk5YCXQXlI2a5_iIamJDupIRQ"; e_fb_binaryversion="AcIpniN9K7yHIJM5reG6VvO9B0rfKPG3Pb_Q0Mv3pdluf15Oijh7t9ERYTWBCRq84ttdrbsN-3wSsB8927Df4fqZW4ZVfiC9DAI"; e_proxy="AcJIW9hZQCrd-FjLNQq5kZzeLmFeWLVBhVCpD4qCQSuolmpZL2nVhD4EUG0EL0HP97OxnUwblGDI9clyaaFG", http_request_error; e_clientaddr="AcJt_kDjRkfJ5ZbvcQdQb5ey6kYlDD33oNvFUEjohb2iHzA-3lVizsE-V7-Oig0_wrw3O04R_dJwf_P7SQ"; e_fb_vipport="AcKWQOwhaAelYaZLPuJPt-_2HzkZNPZSjAObw1XnTzJv2mh4ihMJDgJnmLU2"; e_upip="AcI-Hl7jR3PTVbKJwEl353vFmak_DYrdqOHPta4HQFDx8c2ddaEoH8FOoz7fKmUSqlq3TwNOPPNXgQu8_WjIcXEtIthGmtdeUQ"; e_fb_hostheader="AcKvTJ8MMPEi4FH69P3tawghJXX45kosbOkCeD2jLTbeseBF0kg17ENKc3ccMwsZiUPdvJK61Win4XFk"; e_fb_vipaddr="AcK83_C8JCaeeEINK-fQ8Ddp8rnkfdEQoQePw4KBU9yM8ote6LOomvmDUI46sNrhVJEyIh7KKg"; e_fb_requesthandler="AcLNoiqWKsKWYZFeAaZ2vXP7vaalS5tmStljXIHQihlzp-UeEJRWhpiZdc-mj0j3XpyyDL7uC5g"; e_fb_builduser="AcJTOWUYBj_NaIZPoNowTlZ9P7f2rjCo6BUmo2S-SLq9Hp-xQ5AI04SMz7HOUKr34mU"; e_fb_binaryversion="AcK51J-R5CFVMhNcL0xCxDw7kN9TVMK5hZlNNasrzfIUa1mcPkkjCWJL_eaVLgI1BpsUpYxchM1h3Hv533eM7mGpQBkCPzjtyq0"; e_proxy="AcJpgrbL-tAE5oQ-irnB6N_YGBuk66-PkzQ2Tlks7jf0l3mdyqgAeD-LNN630oN2PoA9Yjkw3N5ID90"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 07:20:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 07:20:13: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnOe-zX_WwtWdn2rufQKenx" } } 01/22/2024 07:20:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 07:20:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 856233, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6Z4mpIPuvh2FHdRpYuvCYY', 'x-fb-trace-id': 'HBnj2Xlks4e', 'x-fb-rev': '1010934441', 'x-fb-debug': 'sL0m6Yw4GHVdEwfmZyLLhOruOK2r/wYVF2C0Q5tp5+0oxcZgB00Ptfc5Zk7ofxR0AXdYshydbS3aukmkiBE7vA==', date: 'Mon, 22 Jan 2024 07:20:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJk69c7SEXmTZFLTLnipoVl3N7bh82Ab2aA9aJjdyP5Bo4Uf3ePmJMsTJZ7XXBnKfNABFVkXFghOaKSLAqssQtkLUw4dSUk7PhDmgO3nK52H76PvA"; e_fb_vipport="AcItudvIwWYf6tvEcJiiLdT8E7M5snE3LTB5ZiYvVhm1rxvRQA0e60P8uv3N"; e_upip="AcKI0uzxMVNjoC6T0Bnd5B0j5eSJ6JFVXwT6bYZMJm_CSazze-bPLoiYCaawiEeyUbs598EQF00M4pJyes1kegKFFZvAcxP-GbA"; e_fb_hostheader="AcK3PwB2SxGB7By403W6rJMx7d1QKQdbLJmM3JgTI_A-RfoUkYHIOTos8Gjaf74IDsGeFGTb-vQOFBls"; e_fb_vipaddr="AcJqKGnSlMnmDZ1wHL2hQ4JjmZdslhIGhzBYMwl2bzLmd8U3Eteh01_Hz2cTUzn_S19pu4H7xKdRkWkb5z1tUKGyWKViyLPFWw"; e_fb_requesthandler="AcLXn3K5FzuTuuvGeX_uz6vav6ZrG5hte445WXDRw2OTVXFJbAxOcl5Ey8WkmWAVK_huXx1MuA4"; e_fb_builduser="AcLhNhQdrbs_9HIuevXBDbStZLkSP4K7B0HPzbqKgDtiKmxJjgrTOMnFuNjk7aO3lo8"; e_fb_binaryversion="AcK_AtqU5TtW1Tfz5HUX9WWaxhYns9PI85mfFyVdM2txnL7nAsWR1EtGhgaezzumLx61M1U6ICtqHm4ufH0XQM3Aq0W0-FnE5A0"; e_proxy="AcIaNavqSXeNP7LKTsPuf_aoLyEFb_RpLEzW9OA2ek3_QVV-6IxOAtQ1OP9UUmUa-b52KsG6rePmxyajGfEt", http_request_error; e_clientaddr="AcLBW5hXmN9Qjl2upBp8-5cMKjetBFaD7qt0yci-9CsUxK-ftO3OBERiOTbHsrLjJTf1Ix-OnC1Ppgb1MA"; e_fb_vipport="AcLhbz9wYTvWv2si49hgOf7Hu0S6kNygpwrNmyCYerlDFmdVwTiZCmkjsbaB"; e_upip="AcIB4TZRtCuWDY7OZpk55sgwM49OVoMYznZ9kW9bVdggbRhjAt74ZkbhX_b3tYjl15jRyOLTCUtnqCdydlLGZFIRC-J3AWXzlQ"; e_fb_hostheader="AcJ91MMUH2GYOYVQapiNvvuApAgJV_LgNsj7GcXcte4BaLpwhLAUc77VuMlz6hktIYZOYdgnBWJoBOkC"; e_fb_vipaddr="AcIhxzmiG2uOnRIulkORQkiGu3XDFCwtKKOmje51cGQq2Hhjg25DbhN3zbPa6WpAsgXpNMRULw"; e_fb_requesthandler="AcJO6SVlh5SvncqwXJ8yO-EAL30iOgNb4Y98dUEQ1yfQyPZJdct07uXszt5RoF8oBbB6CoFlZxc"; e_fb_builduser="AcKGRNPy4Ld_joHPgWZ_VdHoQXAXo7H84nUDz0-ytVzFkMpaV8abEgzW7HO_bHP6gXE"; e_fb_binaryversion="AcJvFf726uhRvsTg7fUQYtSo-s9-pg5pT2RhrN9rfc8iPkMmm_wgX9RXhO6uH8oBV8Ojy9RgjP-Ipc3Z0S6CJnOpkHchBxgHPRY"; e_proxy="AcJQw58okq51TNi4omxyZQTuwR4lrd71SapmJHnaAkoD20VE8oEXnw1y3LU47MsF-SfUP759GkshGXHM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 07:20:15: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADWdrjvcLUeOpB9uEB9TVNT" } } 01/22/2024 07:20:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 07:20:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 07:20:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 856371, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ao0shtkdRUp2GJMfF5rDAkn', 'x-fb-trace-id': 'F3akUL5JPRu', 'x-fb-rev': '1010934441', 'x-fb-debug': '1HXaDn3/9Njgq0dj/X+MxIciZj2+VxMfMuhkwQK4b3BnEWtnIF5iORewoicRklWB+VnP2sW2DK53p2NsrfF96w==', date: 'Mon, 22 Jan 2024 07:20:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIThcclZm8-ARf57EDJ4LxfF4bmA06OKjSX1hBQ_8CpM72P0majJn0MIfalcKq5PMDiRfVTJjl4vFBKBenAfCAPzadBKWG09woiXHHO3G0yX1NFFQ"; e_fb_vipport="AcJEGmjLd5Y8b0kCIiKO2vwlXeVHjxJVNi-tT9HX5DZ5UnHSeybMoFY0d1XL"; e_upip="AcIg9gmzJVdAyaUWx_nFBrxnLSTnzYc4sCSanpO-13HrhAzB2ox_IMrkz57Ae2B1VkeaV_Ozwl_m5jUqT8XGviv8fXRpLX9_OQ"; e_fb_hostheader="AcJ4Wc7neCb5IH_BAzKIJ2h_1FWOkoqYRDfWJ39OXU9CphCChCSH1FOpV0o1VGdVQlWBfhlDpIRNW-1H"; e_fb_vipaddr="AcKopuCP4uiUwwzRWpWjPG13T-wOieN7wwctc_A9U5tvFA1VFB8mBElpUQlxwH6mA81PNdEUQP-vN0w1gpRBySw_W8qBIo64JA"; e_fb_requesthandler="AcIA30FYvoH9rtamDd352amBIi3wFRF1XA3U6LPyj3gN6db3_1-qyuMm-LVQssbEHNSLx96VpF4"; e_fb_builduser="AcLSqc-P66izIuUWCzkOsKhkqP-omcVM51-zmGsxBF8pSDenK7pp0AGH1d5US4pTPUc"; e_fb_binaryversion="AcIokzmHQF-U8G6HifaVvihC2XitV3LNLWrlJ1sbLoJkSfFINpUfsOoobwEAxztU-14Pb39EMUh2hafgKvpIWDEenqT1FhctkBQ"; e_proxy="AcKTAZhju7-OokuN84edLl-bPkA0f_-B7OZZgGr3wfDuAi7byuU_wBYKCxh6MosbZtJ4iVyg-SGmIfZ3B0g", http_request_error; e_clientaddr="AcIn9OQNxmESaC8_TKtKPSnvXvsPA5NBYCYGAktAwbCVzghCGq6H_4RTEXqTrvqbsSBVu0Yu0ATYvIMujg"; e_fb_vipport="AcJUxzwQcYMkJYw83t8lb8cWhgCxxWRS27OuE-Zn-CroUVzgirY2FYDbmpT0"; e_upip="AcJSFpe_wAWpbbWXdta6EPeromNRP5JsBUSbnIUxQ-VU7NNArnOrLDJyNeNjQ0t_YHZiRaMqXPabw9F1BpBbonF7hf3XcfGDVA"; e_fb_hostheader="AcIeC4iEUpLZo7NHOuj0Vuyzt1VA5js8r_Z9LYp4T9X4z7e2wfvea-haA4ZaZeNsedumFBcbanYgi8Yx"; e_fb_vipaddr="AcJ1owOsKb0btH6lQsv4GHL0Vvvkp8YuYNGehQPlmMIARzUuTz4wjq23oIuuPp-pcYvtIWMVEQ"; e_fb_requesthandler="AcKkEQ0-c-xLCOD3S2I5FMfEfqRG4e5SowGr8xsrC28J-FIiKtIhAo86djgfhSrZQticDdYkhvA"; e_fb_builduser="AcJDajS3csHb0RyHCgcy0zkJF50MlI5EAF0kPL7o50eciHM7_rWRLSIfnyKNaAhHgUw"; e_fb_binaryversion="AcJVJMjTeGMTQ0XqTdtAYiC0URGvZhubEdnldkTnLtUo71-2ylLAnU4ePPHvRu1AWlmZCcn-Y2z4GM0R9HvjOKEt-0QNtLUWnPE"; e_proxy="AcJWU764F3T36pds9xPmpt0MXhbSRO2TdCzDhjYqgRgZfhGz2EHP2IfH7yh5UNp5CFG_OY2XKYXhRz37"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 07:20:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 07:20:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 856627, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aeqnh2FxfRcFaQ-bqZLgUtM', 'x-fb-trace-id': 'C4J5T1fUpbS', 'x-fb-rev': '1010934441', 'x-fb-debug': 'Kid3bwTv6hameseztZiULycETElv4MlZAs2Exko2O7UFqc/8qSiYAvpmk7P0t6XmXasZ75aK7Nkx7RE1oL3URQ==', date: 'Mon, 22 Jan 2024 07:20:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIN-pIg6DLHOBfgI_tx0VPj9jcs3F02Gmuaa0jwxa6zeGTKC04hM2PyqZF0KheIiknGBV8i4okKmbEBm8TX8l7TVI1s_2vZ_T-6vwk4AsfQTeTk2w"; e_fb_vipport="AcKrnBDsaS8VfPenLqSGQSvyOGEICzoxtUEtnaOH6mSCNMtbfnJVvdM2zs34"; e_upip="AcJMn-ceNc4JrumDuI3R1I3_6rh58s3pIEaWoaN1CQ-MMP37_9aG24e2BIRa9yYtZThzD13D1KH-r8ehxkwb4-w5paG-ez-W9Q"; e_fb_hostheader="AcKVaiyCxgtasDkRNZm7pEqqX2qWu6wovHxa74MaqPut1TPnpHENM0nEMkkM-OW8lbuWNeQaw5mm36pk"; e_fb_vipaddr="AcJbWLvK7rp5Juu32jMNKbJeASePmXNo4WbG20s1JjOAAYmCjgpP9eA49u7GyKLJXmi1TaxrElbSMtIzEsWNUXnB7zduPeAviQ"; e_fb_requesthandler="AcK-xVHE5zUTzpN1hY280aNYKYlB2jkkJIq0koLQRUTz0W9o6rYZ_LrJY6nMmhLeQad-Z69vGn0"; e_fb_builduser="AcL3mOnP0UgAPefsHaxT15_VHS5DuE01P_749Y5Z4HhnJF4UcQJUR4PY0cf5ZXXJG6g"; e_fb_binaryversion="AcLMcIBrjqfaRR_48MohgAxxqI-9TX820JxV97hi9OODs_jdyQPc_JgsXe4gnExvKvtErm5RA7U_JmYjaf6i9czLkKVbFyUlYLE"; e_proxy="AcJ6w__DKdqLtG9dS3EPQ5JugL1E9J4ziv1bO9mjLuU_DFts44I11hZ9raH1VwH27NmXcAYGC5hLJ_qMnQHl", http_request_error; e_clientaddr="AcJXKIrJcAcpPDEPz0FuKz4YGPli7eX1_5LzbjXoUoOfs0pW0rTA_OG7Op98YsWbUGWQGBfTYSGlkucACg"; e_fb_vipport="AcJpc2ZhmNY_cq5LwwlvyvU4LlusHVw-oiS4ZL_YJkDtuS3pxjsCBkXN4z5g"; e_upip="AcJ-fgkMxfSbFBwKRa4ytB6NvZFTMB_th9ZM7vm8b_vUiKf_noXa9h7QUSdy4D7UvKVLrMll2cCSEL5hFozDSrWgGiA2CusXOw"; e_fb_hostheader="AcLlc6SXng-FOrmYYlrRnZFeso7h0N_Fq2NTUkjnSG7cmujaD3PtXj3B9DHM0N7qdkbYANJZWcBRagvl"; e_fb_vipaddr="AcKO5AQTsjmpVEA3tiwJDkRJGHXNZ60V2iudub0cYVEynexCwu_GLJk-QCAwDqGD8R5YYpHQig"; e_fb_requesthandler="AcKmB9TQYOzrCj20ptO4I-JHWvCpCuQfZ9Z6bFdB9lcdxZtrNP6jpr-UDbcDy1WEzYG6d5Gv8tw"; e_fb_builduser="AcI0xZV811-WDBE33T4fG_ltJ-VneenDPYWnCbluUxSEigxOtQLyQ50CAiZWPdT-sY0"; e_fb_binaryversion="AcI7Otb73nZM1TwxGdWCltc4mIJr-nyMb0BjwUZ_F_XW6sOizqu6W-I6J4IlEeZGUK2-7kQFbhu0lhNQCaqDhAcbTvbuVmMmYoI"; e_proxy="AcKINYL5rQA1NJqfPqgN2TL30o0iKFcjHvqTjxBjiTVxisou3w83lSAUDUcAdBt-l6vr6ap41_nuhNo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 07:20:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 07:20:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADBxq2tPE08jO1r2z7Aw4wA" } } 01/22/2024 07:20:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 07:20:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 856762, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6gGDG8szxPnuxymflYHw35', 'x-fb-trace-id': 'BkNzKbn6G1V', 'x-fb-rev': '1010934441', 'x-fb-debug': 'wnb6zjioap8VNj85wV1zrwlSZZG4Z0/x71dwpq4bEDG57MzwkCEEP3focgW2dZaHHWT4yOG8pV81y+JNzcMQqg==', date: 'Mon, 22 Jan 2024 07:20:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIPdHcvOnqd39zSN8maUWcs8jcyuMRgYi6KJ01SIEzFyhgfMc4qV1vcGKK5F9dGSmujh4yDf6fZ2CI3mXDJ04GMUr0wrjRnxkV1gTsrcrT93oBy"; e_fb_vipport="AcILj_IzETNYMqD0Nk1VmmjZY0JidOnn1tkoKQvO5jNXkWrAL3EcAuRA5UZz"; e_upip="AcJoJhuiuLaMfpehurkWLPjqQjJ2pRZswoRTCh4MjhV6vYcBXYajNLDXaqLz8Pe1c4otXBXJoO4J_Fqnf_JFMxiVywZraHg1JA"; e_fb_hostheader="AcIwDh0ovLz19L9av16sAfGrZLxcABrVXAk2Qf7gMC3Ut0V4YtYQkFKl-F9I5PulNxt0svtNg7JxZWPq"; e_fb_vipaddr="AcKkfxpV0ZeRCjFk_MpsuX5UI72gxq1_NEV0_9FyzSc0BYJR6C-p76KrwlVQAxHdpe7vwU2SvywtF-orU69TIbAbqDXwLEhAjw"; e_fb_requesthandler="AcKpmw5nb8h4Ah1S0-z8ELYS1FJ5MR01kZUoC_c0RtasWeq1M1n7SIByyhNko6aCGMuKVbLgMBU"; e_fb_builduser="AcIwKhkc7dYWUsAzbUSSDHFe1fmq9RUue4wF4DrQvRlSI_VFZj0DM1SULx0pTXuQpN0"; e_fb_binaryversion="AcLwKa3JTWkPuhUlLWZC2OzhbrIqVsRL6O_4mt_sO9Jjv6gS34GyMqHmQfeK_t3F_d67HRPaGTHNSmOZJHtugaI4GTpPNhOErGQ"; e_proxy="AcKiGz-p4DprsegPdQSHb1ztasAzdTNUhNGcUUwTPNgVYKBZtf5cN-ETayzmhDUUlFyxc56shOFnbbWzekzD", http_request_error; e_clientaddr="AcJGUz0lR4YXrZZgNBHNjUMQiHidzq59pj9i5ny5OhSbQ5yECA26sCxOnWCzuc8sxkeKurcDS8h0SNumwA"; e_fb_vipport="AcJJYvSP_p0BqH9dXlUFBeF2lQWhWsePSlXlXqKz6492TD4IBMgQU3X99UFm"; e_upip="AcIGQbFzgqfgOCNgUnjUGxOyXmKGE1nMT4aFgX57F_cjBKa3ag3cIom4kAnSs8RiT0InEVGnHla5orVky1hK0kNOCAYjL7cFRQ"; e_fb_hostheader="AcIsil3b8jzhggop_fmRPlm21gfJThRtkjskT9E67gxdszozJ_nfgF7XdzQLQ7RZQe6tXNRMD5QvUmbI"; e_fb_vipaddr="AcJ3GBHGRyZrCYMrpzbbX_yUrgjqkVF-s37Vg7_Mf22bXYp7klMU2kd8ndwMGqEKrktQKTXQGw"; e_fb_requesthandler="AcIWAiTPYRb6KSRUIO_lnTj1hZ0HFfK1ljvDlQOhQhp0pgchCq-gZN1mR3SLzEMAAm1s7wuynbE"; e_fb_builduser="AcJpQpN2JQM9VCBR6a5ZpTSnfjApk-Y0TODITA9O06o_3A6mUwl3m16vLdxDp4lqgVE"; e_fb_binaryversion="AcLNzUSdA8cZ874yVcWWx0G_cDVeSblWNIoLrVGYTwIIQ49vLHeYWK9v4QI3Lh_Eauw2mI_rMuuZ3_GpUcF3lwVixIHKHaewBZI"; e_proxy="AcJ5EHxNvhw4oE_ljePyFcPoTWZFSTZqSpqITw0t6bLmlH5OvyYZixiOACSaltqPOstLTvRSX46LWDU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 07:20:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 07:20:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 07:20:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 856993, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AILbYkUN0Vk5FbqSj3QLk0I', 'x-fb-trace-id': 'E+7nNK8OKQZ', 'x-fb-rev': '1010934441', 'x-fb-debug': 'BK14DxxTT41irapwMLsBlC2pqf7MTrUGrnQ8zBbHlUknXVftNDoGNRt86mi6totNG8+KM8NC1TVLQjjw6CyOUg==', date: 'Mon, 22 Jan 2024 07:20:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJgnAW3Uvc0wU81lc0Cs6pMDdQ50nyDOMOMoGBrcLyEqsaCAuKDJaXtPt-gsLXTBsh_CnrhhdYWX-YwQNw-E-SQtG6DUdXunPFcJhT2nMpKfxLzzA"; e_fb_vipport="AcI0WvZwMVFmBOuCXQqJpjY0pDFF397az7JagIOuO_sHBJOibBAlhGwU7IZ9"; e_upip="AcKVSJmZL6bjJPJRpN2bj7UrZn7X4JQPZxeGXO5_tx73Gh90oHGMATwXL0pANYoaKpIHfVC4VKgbuKgF0AG2QjBNu1ahtPC0Lg"; e_fb_hostheader="AcIT6uk5Agk6cd1pjb7qNmQ2edoJODpjoxbfD1UzzIgUq_RNd9d0pzgEPV2DwAyw71w8sjK5w7NfrngH"; e_fb_vipaddr="AcIhMczPFd-eWje2YHzh2veKYcSXmpvkkDbncOVUSaJ5NrjM3CGKhvqBKGoSvapce_ZkrVON2ApjkGqnQDMJpj62sUhsszNj5Q"; e_fb_requesthandler="AcIj8dLd_f9f6oEKRhyiG-MUUCATC3mKSUimuwRk7kNjikREpwbtpJHGWpJDzsBl6lumxMakN8s"; e_fb_builduser="AcK2sEVMYXeNtSgX6m15g3wHT8aKH-JLMYOvnboZctdsGIW2gIeXcYaCvBIuHeNEn8I"; e_fb_binaryversion="AcJJW_LYyCNvqI9BJfp6IaxQDTfFgfpCzDjAPP2XKDGtMn0kx_NSwu7gsQuz6TL8C2RcY7xhB7EeczjBTwxEmontREVjodemmKY"; e_proxy="AcI8dxSOLO4rcacsxrdQOHXVyTXC14tP9Sakz8hv8Sv5Olf7OpWP1SF6KdLd7HdlOUKwR_IIQqbnKP1PPzGQ", http_request_error; e_clientaddr="AcKWnt3Md3oVDUbIatzXsGhEL7zV9DySOOyy029wtUI5WaqijQyms7gZhSDKMlInWomHmh18ge8xYxyX0Q"; e_fb_vipport="AcIxfdjfbsbfBItJPMUuo4hXHuhqlcg6UBUfPDrOqSwZxf7Kye_Rk1lkJKN3"; e_upip="AcJ4MpvB9YRklS0goAzGlA0Tk4lanvE5xR4D3-C-cDSTndqxCK69idfWOz3GVE40FLSQ1f76jO6M7vhOWAc_TX_h3oM7J45O2w"; e_fb_hostheader="AcLX_NdaQOL1ZEgYMQGmNqzT-S1G8IM4B-oc54L9vRHOi7522rOHp-XvPkhHAwYjbL56xipt_KiNNGYK"; e_fb_vipaddr="AcKyrvJdLGhGzUZNLMYIWZHkxjQCGHMJ19uQO3OUsKTRmAhiOYWUMSG3-_IE7eT35hoKBH4"; e_fb_requesthandler="AcLO6XJ8n4M8ppx6s13rMFNHJl4rQeVdTv8EftjcqOukRKnqVcU-6wv6EDH9Thhw88EQml8iGTg"; e_fb_builduser="AcLXo7fmKT3U4iMIHxQssd3x_gdy_DLELSO9TC_gISCw68A3gcSmcdhdTX2zYkiHBBc"; e_fb_binaryversion="AcKxyqJohmMg3gKHoGmEkhMYtJt6sGyCAj40NRhBh8DQNkWS6_4DRZWePrcpaq_HOROWtN5YlzkSCqIlPpiKpTdTAhpPy-R4QUc"; e_proxy="AcLxcpl1wS2wChmrELoQu6BtzAgqDzVT-jN7Mb7qiH7PJkQ5I7xuhGV166MPSwz3KIX3NralIHCC8U0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 07:20:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A-TteY8ooGLA3J_v9V_BLLF" } } 01/22/2024 07:20:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 07:20:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AhfXiu6pDFqrwy0rfqQRSZ9" } } 01/22/2024 07:20:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 07:20:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 857155, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AfQgCeELUK53wUYoq6SmsIP', 'x-fb-trace-id': 'DsJ64k0cryk', 'x-fb-rev': '1010934441', 'x-fb-debug': 'DiX+6FQATpqv1+v0h3Enk/OzTW30KNoQemef+XFotHid158D4U9ci+R15+sgwWoIGK89ZeaEv+g6zuIaUvhL8Q==', date: 'Mon, 22 Jan 2024 07:20:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLslIfeUGonPH4wyTMOUMQ35l8ppeVb_v-Yp1OhZGgs9HmCyNQQMUZSjC4WAbz3RgeTMP0VGUlMJ-HgRnrht7cjqqfg54mB1HK_meRvbGii_r6VLA"; e_fb_vipport="AcKSmEDlDRERNXOjKovA2JdcCkJ-fUb6hfSbdxigMqQpDE5CRmzX5e2rNDeD"; e_upip="AcLqPlKPDVlBvUk8swho7cV6dRfQKZflOofqaJJO0D7GukKiT84qb1zldc8RIjtdI7JnzdTtDGItJz_E-BBaQeEHIrcMTh0SzA"; e_fb_hostheader="AcKYxFVlZL2nVL5ffqZEIj3Bc6mL5tslZx8RGOR8NpPdHkEvxL94JOPcjfoBi3FlKB1XhApdDOm_ySuP"; e_fb_vipaddr="AcKFMaNpZ1nMbp22ZSuFmdVb44TNE7-NMd927SYAHhBUtpDGFSoNHPb013hb3pqTViIXaEa6aM_ihaM7s-6kkxf71usMHEGwjw"; e_fb_requesthandler="AcJmYc6wxhn_dNlkSRC58ImiqW7-kWNPJgDgFC4b8kT5TG6p-ax_ttiC-X98-Qj9c9r-sXQJgSk"; e_fb_builduser="AcIK05X91Zwb5wWtbIh2XdMMFPa2Fh9CdqmFRIeFwJsKAWI6vuuuLy2rZGE3NB6UkS4"; e_fb_binaryversion="AcJIjgagSLfuqJ7jRRY58smb-pFuHYygH0NzpO1B9pZusFj6xweafJr-FAMFZuXiQG1tRduGmMr1onSjrM-ff6kb_SLb87-Kihs"; e_proxy="AcJ9GTbIELz65xzHdXxLkgzkGJWIVtft2O6nscVbn4-OsR1KEMOl30Nu6Ckqj8LnLb4Yj9rmPBJ3yyQGOJCn", http_request_error; e_clientaddr="AcJhS8gpjJIB8aoFMCchhfbfr10BafRiDAJmcIC9AkbxDKenuQCkvEwHLmUuJFohUFVrrZlzrKLkUf_TZw"; e_fb_vipport="AcJL1b13I0vnIAsAmso4ViFcN-Acf52cfMpjoruXlE3xWA67ykyO1FosE35e"; e_upip="AcJKrra3JmO5SH_1fyzwC-X2N-hYn84MR2m16gh9yH4gJ0pZcCTHb6YJskfBcHH_MLACrfzAcw40_TZZXBFovtuWvumVWTGwQw"; e_fb_hostheader="AcKFub_cauQWJIW2aT_23wMQRSbPAqS5EW5nDNVCOQ_5xVeJ03wQq3dpk_So4IXDaIj9pVtPjp56qHkz"; e_fb_vipaddr="AcK1kta4TsCabVj_Yx1CkD03g0PojOWVF-aMkSg67QQlSwMK6sAZ4ODV119fhULDBkyFkY0"; e_fb_requesthandler="AcKCxqqEmRFmUAB8zcSAZN23GQWsMbx4xKGjFJXUecEu7trQ4cQ4OaXfjqmsl91ZSSw0JdIYReQ"; e_fb_builduser="AcL_zU3vufoIo5PUmFbGEmg0VHMhq1Qw7jcLR0oxErCjTOqIkmdQ_VS3CN4ciKGG78Q"; e_fb_binaryversion="AcJYPtHXw-dHWGJyeNTHIJLgtzWFyv5X1wAzZ7QDmKaj5qSC3GU38dURD3-gtIqjkSWY1FY3vtjZV8rI5FFv4feDI9O-dJDuqYE"; e_proxy="AcIWpaeqzE0z0RVel7hhm5Re1ikaywr5NdsffAPbpEBxDVKLEuUMEzHkt7S95l9Z5u6_JvGb9v9ZfUQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7775170155943472"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:32:09: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6308769379174492?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 902747, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6308769379174492?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6308769379174492?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6308769379174492?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6308769379174492?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsYky0C8v9kPMb0qEJGFY65', 'x-fb-trace-id': 'AWyVuFxeKSg', 'x-fb-rev': '1010935616', 'x-fb-debug': 'YXQPHAJN/xAK4bQ4PQGvl3z6jIoupDIvUqU/5o2fLGEk3t76/8SWZ+EK7Yt3YlEaX+PkvNKtSIBS7dwPRPXAEw==', date: 'Mon, 22 Jan 2024 11:32:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK8gZTRQf-bC4l9SNs8D6fzpfEskHr3Gj5fdkPLjLLfcxfMjM_aPgeC44JAkZ3QY3OSHyZpiUys3Ug-Q66QMC4DCGAmLcIsLjxDiKaDE8Gn-bNJ"; e_fb_vipport="AcLkjpaUYS1PzRplvrfuj4-4bLSKSEZ2L7tsUJKGNVMfIUhXS5VEYti37diw"; e_upip="AcI6WGzDd7VlCr1XqgN7TVHowqWaOlHjKY_rdB95sNR-_HA_kKsWzEmqoAxvyhPCo2ZX6_vSvnucn6ZM3Dgh1tyytF2qm1Z3j-g"; e_fb_hostheader="AcK2mGsiBu7-mdNIcgIVqe1kYbz6HEoKQa69gfHiWlhjZX0T6xZeMgTgJ3OYcv9x7guWFAbdS-k8lVrG"; e_fb_vipaddr="AcKrMcXRFEihDLRJ2-YdZMIbc5LjH6nQ8gr8qULltiJxL6fc2w3012tGY-ZKfVEPa44VogC-XRaMbBG_BlobkP6f9EAit_qKXw"; e_fb_requesthandler="AcKvv6xtYLfnSTGtRfiXcS0Ar5A736B9uB0s5RBYOEhfKVo5EygXecSsNHbPhASzgbSgAfgzOEA"; e_fb_builduser="AcJ9prZdcZVtifIngXsd8Zo4HtpJq1j15RluQp6h7pm7LzWlPTckZuFVnvMb2Olxjpk"; e_fb_binaryversion="AcJNKPAY3fFEL-umKXV4CMDgXjyEvSoPD2yDoQ-asJwJ4cjqz_hnBl7uXO-C9ImzV-Iuc-sZWkGi8TBtzpfBsQfdS6BXJjMnqCA"; e_proxy="AcJRZ01WyYnZmRD88j70lGMY_J_axxsJifqegDqZCUBhjJ1dVOW60ORElAZzenTISwkIqtBOC86FrgAHXSIc", http_request_error; e_clientaddr="AcLEj7Ld8cjB6NhR1BGnjt5U-Gt2K7Ht3_yyPraPUMSzpnNqNNvBmgmWxbMEkaXV5DFPRreqeKMCJEq5jQ"; e_fb_vipport="AcKFLxlAq1DgZNVQjMY500rVFCeohH7RrjoWqw1VxYEQvL5tu6PNjVXOIWmN"; e_upip="AcJTqTeCGgHUrxzyD4jfcPfiZz8bKOsLRNnXEsAT_CKN6jN2kKgK0ncvN6oJLs2lvRkXXfH5PRD_qwGoePQ9R2sbRNClprANuA"; e_fb_hostheader="AcL4Ek-E2wiH0NClQNxl6v7wF77_WflUmGkYVnw6-LyoDpHN3ggcGqgwuWISfqm0DbtaKJJCOxD_2HWD"; e_fb_vipaddr="AcJS7iGAhx1PliVnc9gJr1jUN3Db4VneYtJts1QP8cSXpwk3FGSYpC7tIWiLrppL_WAy8Zmilw"; e_fb_requesthandler="AcKy0rhMKKaG88po7GSAd6lahvChi3RpZ0mbKGz-dbBIlND5xF-snwFBoPyz3chtL1rt8qHjnvA"; e_fb_builduser="AcLATcpxMS7y55W2FFhKQTf18zlbpPGNgvsag0kUgGONhK6tID7qKkdQ5EP5gu2oCZY"; e_fb_binaryversion="AcJNOKsuX7gVNgq5fIhODfPEdtLfsmEBk60_h-Fn8DvyrvgrQL02q5dNC73Rsl3YBzFA3m1tnv5sdOKKT07K7I2aGUNAHChq2R8"; e_proxy="AcLnmbBzPpuG2DRi8ZydTP1pzMnC6vDVUnP_FWz2QoqLo9TP4ws5zMI_NLaWJn4Fj5pa38EI3lDHXJE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6308769379174492?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6308769379174492?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6308769379174492?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:32:09: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 11:32:09: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 11:32:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 11:32:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6308769379174492"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 902871, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiCTppf-yWxv2-1K-ZHqVD9', 'x-fb-trace-id': 'BnoltJCkkWz', 'x-fb-rev': '1010935616', 'x-fb-debug': 'Oa0TT4J1IH7X4m/jtXwNMsryL4pNN/X4sYS3o9wra9g+iJB4v8EzaHAPr1xdWkgg2b8PxQr4rYYPnhyOBtmrUQ==', date: 'Mon, 22 Jan 2024 11:32:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJMEBN9ZsYt_nZzkzslUqMHxk-z70__h7hmieDQjWZVUWlg4y-Ef5AfkEXQaqnhWX45ylXiE5oTX9M0P3L2ZpWfdeli92CHfM0dhT2rD6b4HfTtyQ"; e_fb_vipport="AcKAu6Djb1q93DC5yYREiAF-gzoqiRZHSLwKH7CpLgxzg-Xu15LDXKQ_ft43"; e_upip="AcJXGu3SggbshiKagIhpV9SRJ9cTl9CpK73oakQluEQ7BZ06NH39tOM4dfHvdRbsaHYcru-1AXp3e1LcdZZ7tdHmjJZrVnRaSiQ"; e_fb_hostheader="AcKz1LQ6F54Qy6mlpwQ233xMYWBraGAR2g_FmENe3nw2CaNx-LWsEkwgH7SxQfkxdCsoLGJaTEotLn1e"; e_fb_vipaddr="AcLk-BqUzvIHSsNByRuMVgRJiUfb7RUVx_oZAxJhCfppYgC9hH2PhJlD0mGZKvFUWXVUXn_To54lvFinNTf6uUMbdKDTon0AsA"; e_fb_requesthandler="AcIsgCds-BCCHhZf5R1VW6LzRDWsRnEkz8tC4EeFlneg9M14oeupTd7x598I6VzuIkVXG7VZaFU"; e_fb_builduser="AcIyaYXOESEI13X5r56_vqkvNZDb66v4DpjgBzhQWUD16GOPPxWyVYOJKu4VWUmdF-8"; e_fb_binaryversion="AcItWJn6NVggCeZbQmOd05NPJ9zvbf3qKQRwqDP5AZArtSdH-2huWUdbTJwrHc6Pb_uCZhLKGG9l3boeHwxAwXnJapsf3uVHm5w"; e_proxy="AcK2lEhlVaG_W74kp4ACicbM7pFt2wvGnlDPsa3qIrmzJrTe_pDozwaIWftUcHF8r6etqJ0O-6p8_Fs_mtjP", http_request_error; e_clientaddr="AcJMNpEscyGT65FEj9DcJgOBJqwhhESoEZZsCu6NNfnDtNvVi9cd9HJNPu6CGbnd2443TCw7i21swEyxng"; e_fb_vipport="AcLn6D3QmtWQKZhjZivHt8weQ0kmh_bKkt0lVeZhQUOa0jwBRq7ODa9ly9en"; e_upip="AcLAHnFs0NPIJVMXVrLLtID1st4p4QIrsJckBhcLu6G6kJeAJeN7RHIhF92pR0PtCG_obe0vz8k2xqFfOVEm0MKoeWo4BmA0ug"; e_fb_hostheader="AcJO3aDd9PwtloF1WPPdBsW3fLfjCb20Am2j-5Eqqy5TGAGYXcIxzjBZwjTAwMPsud1HrOuh0rh7OTW1"; e_fb_vipaddr="AcLns0vuaAssxlpH3qYI3OlvK7gN8R4bT1-Fsz5a9Zg_n6Mavy20RrwD-FIfxatHB3mcPdBIrg"; e_fb_requesthandler="AcL2qr31wergXo7GV_L5bIhqNZQNQX-dhZVcNMMVsu4j70NNGGue_YNVDszgYS3wmiQDYJALZEc"; e_fb_builduser="AcKs2Mvb8ZIGBR0Ui1v9Y6gjRZLGEIeCc37FbfadIS3RTJ528D0cVikRGHFjdwMO4ik"; e_fb_binaryversion="AcKdOFmdHPrGayrridYbpATwLIwuWOlEkrJCYcIhvCyxbnJtZ2p7zSF5ivVzalJlhmR_fhHrXRZ1_3y60CRnyH_Tn6K3zx198O0"; e_proxy="AcKos927hdnMfdh6t8DxlhWnXR3CQ3JlNc0-ZHzDK_dk713cxC2hubpzkbPxBwROUSw6PXnY7Sipots"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6308769379174492"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:32:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A_neZqMKrAZHSpzfwVYJuvv" } } 01/22/2024 11:32:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 11:32:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6308769379174492"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 902943, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ai2QWLzZzln0C_kEBm2g4gq', 'x-fb-trace-id': 'FAdxt6pAAY+', 'x-fb-rev': '1010935616', 'x-fb-debug': 'vi+yhfIttkQgCQ7XfbTYScx6C9JWEazE6EFZTkXVUxYXld0ahqdDKgEMDuUonCWIdaft+TYDdebPSHswgNu9HQ==', date: 'Mon, 22 Jan 2024 11:32:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLogT1ugwgrS89eXErtcbbyxRy8Xlmn_p_gpyGtxV0VJ2dgiCDhikrELwHH6o2CBcQDXGHw9GbGskDLfy7Dwa3-IKmzosr3zR0V2doixFbd4kqh"; e_fb_vipport="AcK1wZF69K_JTad1ZdX2GhNsUvJvKf6J2nnQ7ydy793Kqt9uOgjMidy8Cf3_"; e_upip="AcLoPyAFZA7Hmmjd2htTrWE8B0seqcU6InYD7kQdfoOSFcjyHs63Mg3ZgWCAUuVDdMHy2SWAb3584wnntwLN47VODYptRz8YxA"; e_fb_hostheader="AcJGkhKqTcLhVBxpNhzS1BDeR4jwnWAtE2vPlM_FewCnwRszJ1X5A77CJQttwydeiDxXKVfTjICmll6X"; e_fb_vipaddr="AcIBAJqcIfXSr1ddofSDtk-qCChIyEwI3g--Ln_FilTmG_m5Jf1Q2Ngmj0baoliSvuJiQVpdeuewb1nfLVIHhKtLbvgUiVoKgA"; e_fb_requesthandler="AcKWsBrMOH6PxVU-MzFEMSb8quTduhIZpDz9H3rrLZ45u-S6q10PbsuMuYzYHoVq395S3Djhkt4"; e_fb_builduser="AcLCO4OUhcprsLOMm1i8bZjYL55jPeTyZSsu_nSkEhHTD46tEFk8E-ZpgalsJyEk_Ck"; e_fb_binaryversion="AcJdmstdMpMIajWwOX-7jlZBBKJJ_7pkHoh7KidNyKHmYcy_J2P8jhnfdhk8EHaEPG9VhPszn0ikLtXw4YZE0m-53LojE9fzZTM"; e_proxy="AcKs7dk2Fyzb1YLWpykC6JksRDWsyrI-eehdtOxoMuspvN40dAJC7-vFNgLuwikQx2WEwq_FzlOXDNGenl3H", http_request_error; e_clientaddr="AcKeRvk35VVp0D1ScUi9_9-1mJ4tnzuO-gC8Du9GGwu-D9JKkc5d2fUm89Z0TcJjY0U460UgbmnAOmI07Q"; e_fb_vipport="AcL4qfQT1gqJ3pmSlFMHhQjPApGXF4jYb_KUCW-r6xQcCUYqsqPYwnyTUWKY"; e_upip="AcJo8653Jv-xx_qRjg01WbrxqHgJlAzWhb3OVPoObD7fYyLAJXYTQLWEiDbQlseIGAcW5uSWNGLThZOSHb088qlfafzZNr-d2A"; e_fb_hostheader="AcJ4fOaiVEDep-wAvDEPwhhUiNfcBnzXXXY7fTgGaFpyBsbj0mUCmAYT3yY6zmkFX6UgT0IbS9ikid8U"; e_fb_vipaddr="AcLxKD0lqskQS5Jfcbm3Vh9ncIJIuFsueM7UOFm4qNxZ2-BfL3_24CwVe93esIQaS_-fjVzydg"; e_fb_requesthandler="AcLlcCSLCpZsCrfRXQOua44rrUwbbZTGAkW3c-CKpRQfDXamXcahznJqiXTf5LpnkuJemzT3udY"; e_fb_builduser="AcJ3ZZv4lozrfxElmqWCnwNUIl9wl1mUCa-ivxr9GoHvJWeNzMhoBtX82abVADxA9mE"; e_fb_binaryversion="AcLO72Ja5CVCiLjkDLmalwWCY-3m4HCxBF_6-Uy8p7-7YRU479GLMKsDL0bIIU1aKD95nn4a9BWExvZCU6nG7cofWENzZ9s0umY"; e_proxy="AcL0SUMvoyFgXUVsRGl6tz286AdIoWoU9Hb4GPscKeOp91IRwOgLczSiHbHyzgXJMDuQn9srLC73948"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6308769379174492"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:32:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Aw6q-VY8V74ML49mf-TvxlQ" } } 01/22/2024 11:32:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 11:32:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6308769379174492"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 903057, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AS5hQIj1ztvdGbAlTGXdKjo', 'x-fb-trace-id': 'GvrqOlDO9NA', 'x-fb-rev': '1010935616', 'x-fb-debug': '7k74X98+3H74SCWl7xe33mmlldWVb0x8b+KI03Oh3Y3kC7BjaoDr1DNT2LlQXWr7yQdljeDw4/AbHlYyNOBdLw==', date: 'Mon, 22 Jan 2024 11:32:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIFFfTIdAafnW5AThBqQamz5KfjcyQG1-1ISp9XlyTa3nuXgo6Y3hmc3BJPDCTtZvt-Rd3Fg4oyf257ryAUH1bR4Aegx4inFixYJHS4QNp9IgJ2MQ"; e_fb_vipport="AcKLrDeYL30gVih1jDQ64yaDilvtL08Vh4ieZUwBM1zIspzjRq1nuMmK0psq"; e_upip="AcLMo8a2hiyXAI4LTC3z4P32tUDFxviLYnw5qYC8y0jDNlquzt--uoqER9brHmb9dC5U5JYoZhbrNP6SKIEqEA0NEjEJiCYvwQ"; e_fb_hostheader="AcJFArGuqXwC5-No5jTFL25-r69yVImdUSdwvvfWlToOih2IMRm4OzLRShfRy8FpgSGaN-pUwA_FmlbQ"; e_fb_vipaddr="AcIr4kXKzZ6V8XRBhX_8VGch6OPkCFlP9tD6DrV8hB0Dxyhbw6sccRdGLnoH5pLIfL5SQ7mR6sPGNm70CIbMgGZzekbPIh6wwQ"; e_fb_requesthandler="AcJgCf-Q9W44yNFa48ICFwvCt9ohJZm-LbmKJC-LR4f74xqirEkNxe8a3oIbEK3Jn_VEvDJBFOs"; e_fb_builduser="AcL3kRUBRaoDb1GFZrVw78kPo9dZjop1vFVtpRAZ4jwgX4fxtZmHVjOTmmsD6MHbwtk"; e_fb_binaryversion="AcKYI-EARcQMzzrM_3Ab6fzPqqzMvGsa3kz8eWpRSBaQQaj2PTDZI0gq9Ik8MzlQUvFKfWtM6Q_Wn629TQhy9zuNj6o3bGF8YvU"; e_proxy="AcI9VFhPQpA3yyVufnytBIcJQmHMXwUkhc6lNA6CuywHPMu6rbR_grn3fYWhXC5jN8Fy14UNUIiW5k6TYkQz", http_request_error; e_clientaddr="AcK0FZYW0uqCPJi9bnSPJVkXcBGyDy6RR_bwJ2TGHN49h5eKo8Jb8s7VaQhKXQxXvgC4eHUyhXU4TgvbmQ"; e_fb_vipport="AcJAwd0NVxJXOEZg7yDfIgycalpASdOStTPM-MVqat-9hj-u8ycgk-O8VOgB"; e_upip="AcLh4RjlE-HNJaC5j6L7LWAHjtippyJnw8Yd7owBI5w-kD04SSMjhdru4sq3IgSVaRQoKZuP_sEVOg9UciqpWV5l9Q2SIATqRQ"; e_fb_hostheader="AcK2blWe-N3Wp-3w9CJkyUAhJ39-kspW87CDWETY9-qHtK-ZEQouOYKke0L2d46EK6MX6Kchqnet1PiT"; e_fb_vipaddr="AcJy9DL-TvjY0FXDx3exQTGWKjUcc8vEilNTrWINM7BCJuOdZuCllV-hRw_mcNsy1j3T-HK4zw"; e_fb_requesthandler="AcIQnbViBkC-_6nPV_DbSvJ3YhUU3a_pBYyyHuauD-kff9ReNb_VpnzcrAQMRh0GrYL9TdFFNLY"; e_fb_builduser="AcKSeUF2RSKgzMb4WeIlAQi1adxo7r3RV5l6lVwDvTMWchOZG4sKcUTdnYq-sXSCeuI"; e_fb_binaryversion="AcJAqQoy4BsQEOYkpgPwroO9WIDUf5gn4ZW3lRl39tZtiyZRZYkWi-QNV9QOWzAmED5aqYJNLq_YE0Z7AW4rI8Wt1tGzg-QMebk"; e_proxy="AcKzfRe0NKReMjQ6Leul-vqMcYwFZ27qeAZNPDZZL6ZtYySeThGxr0HJ0nKmpN9p49cLuib-2K5BhzTE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6308769379174492"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:36:33: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7152206584874408?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 904007, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7152206584874408?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7152206584874408?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7152206584874408?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7152206584874408?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aph2UoqsCrtbBBdbw3WKjNS', 'x-fb-trace-id': 'HUeBcR/SAgI', 'x-fb-rev': '1010935616', 'x-fb-debug': 'VrvLN0RZxGxzdEObMZpGjD+pY567H1BQOy3yDdZYTz9lGodd6JfMIvALFW/Htpb+tSoQz//YclejM4t3v+7P/w==', date: 'Mon, 22 Jan 2024 11:36:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKx4dLdU-HxIa8dRJzE1N0Ok-HfRAIG8wooo_tRv4bT0urbV2k_Hb1_DhmiFeA68HLupleyy9os8N9tQLDDuUSasu3HR2-2xwlRTLR60yOCKyhc"; e_fb_vipport="AcK1tYtVUtAw_BCyWILp2JGDldoCMoM6mbxr2GUZQTBPpU55KIJAD6R33HT0"; e_upip="AcLS4jK1zMINI1TlOcSacVVkF-ksFee3Z5hlH8Y7XVxtNh71UNhLIfPHcFCvXM9UokRJZZipv1iY4by7c1NBuy726GFS863cOgw"; e_fb_hostheader="AcJdimQE7nT2fBhP5xAF1hxQ3VpwQv35-dkAdpg-Z0QJQ5T90EDYiEmQI-ozV6SZTPPmzyKHXxciFPsh"; e_fb_vipaddr="AcJ8d2AET8iUT1EIwXXHK2FkpRrmIj8ZEf05auOFvg1gpn443mEVDzZS63sbVLS0FZ9lvPu4IX6h99BdMiou5jdU-Bi2kRtIIw"; e_fb_requesthandler="AcLE-RHa4gH9mDLKadDJT6sx-iX0nsvEsepveIlRgOJ8DuaG5M3pC8oayrOv0_J1DupOu6ZzszE"; e_fb_builduser="AcKoyEAkhJHrEjRjF5yXTCpB1fNZ2ykvmkAHz2wpRS3ZaeeSbC6TOxjysjPgeDbaf6U"; e_fb_binaryversion="AcIYaAijEMY5RzbVQPFf01gGclmnecgvskiMUv6WZGJD9XjB4bWoIpQUQN8kUEI4l_k2LnsrD33FtCatKTHJqatEcPW8uLx6sfI"; e_proxy="AcLYMb_H6iIJnfPHENqm08eXHhS1uk_GEPtFl6l-NPOWt2su4HxP2ZwezGzPy0V6ixe67lXVzxUOHUs_Zw_T", http_request_error; e_clientaddr="AcJkzE3nRUpRJrSICNRMdtQgkDcax4EAy4oVo0jGMkRLB7hrL3K0L40dwZBwqEUMp5HsaRz9wj8iEVRiCg"; e_fb_vipport="AcIt8jNJk4hlb2vw9F6-I_ugnM4_IyCbD1LmSVrtVuZFLZD4TzXzJq1kbm4g"; e_upip="AcJPgKUtWQQln05fPKVgS26vohpWLa_C2K6FIGadHqaU5JIyRBGBminQgOTsDbNG0zCLx6BQghwepfg1PLG37pV851rjIzCl6Q"; e_fb_hostheader="AcJg0ikatpfNfk5VGjHaFDgzI4ffdbey48wFZViXbpQGhgYVEmS43XSk4wm7pOmloS79aLp45PpC2AT8"; e_fb_vipaddr="AcL7u8sMpSk-Dn7jWS9H7q2ela-YQfrDnB00HepbCCXVJ_s3BaSFDlzUEUdZYEDYPO9TxKB0Dw"; e_fb_requesthandler="AcJSzz3HcIJ0pSttg9zIRnIy4IJT8J9QoRK4ML7m9DsqebU6nIZG1-5ROJZQCdW2s4OzFh2dAGw"; e_fb_builduser="AcLJYINKLNrY3MwMpPnGbAj-VDmlqaQ3LSe5g_P0iUc3bwMa9Yq2pCJSQyczt54lstU"; e_fb_binaryversion="AcIvoag3wdko6sibCgUNCehqmIzCR_S7wfYTut6EFSVTqu1Nx3ArAWmj4z7l5vNx0Ibeu9iFG9xtIGUvTL5ivJncMYqcRNhQ6pc"; e_proxy="AcIGOIw2WHDHQzAfhjqjsHgra9vLkgYeEto057ECGtzlxv_LK3JQ32H38m7ekCdYdA10WOBTkPaXFH4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7152206584874408?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7152206584874408?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7152206584874408?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:36:33: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 11:36:33: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 11:36:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 11:36:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 904131, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATi4LcL6n8kytXj6LjZVqZP', 'x-fb-trace-id': 'Ei6JnMAqcFK', 'x-fb-rev': '1010935616', 'x-fb-debug': 'kyinMcI/raGLDheDYXbrPPx6+Y9AKWm5OJZKLCj7Vk30OxvXpPY6xf5gn8NBhN+q/z/tpL1BFSLUj8EOLiEGQA==', date: 'Mon, 22 Jan 2024 11:36:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIZDLEAdjb3J8xofymhklSMqtREtGhqe2L5qvgSlRvpdenYgdsRLagXyc2sa0vs9rYkWcTZJvs_1-wEiDY07KysyxcOGPxByxb-wX5n9SJZWKTt8g"; e_fb_vipport="AcJcIXZ9S1jL-lPCfkS7jkyB4MOwb-uGOeRLXH-JEnYCHAz0OURy7uIZNX_m"; e_upip="AcL-Gp8lRlpg4CmS-eEC1xPHPMuckT8y2VwoO2C9LLCcMKVSsJmSOqp9SuhfDZGriSDmPvoPKkS_Yy_VK8Yr69B3YsGfMGbizZY"; e_fb_hostheader="AcK4YYJURL0qkwWICPVp4ojNVCkLWSsPCZkFQExfvVwJ4a2APpvd3qfQqcSUbKC9kw4BLcAcsSh_E27I"; e_fb_vipaddr="AcL9xRUVS1Z3y5WCZVTKugAfft0pzrIlw4ZPYLsMZL0cJc-4ZatXfMhQlZSNb6GR-DzrwOhrMu_V-VUojwBVTxQ755dZMc1jmQ"; e_fb_requesthandler="AcK-SFydEWWFXCNwSRobkpaJrc6YFcOT4f1sDasUn5_pV0scYDx47Ks9Wdp1exxI2HpIP1Y2cX0"; e_fb_builduser="AcKfGRqro58yuh4dhW34pseZhLxzxuaLashIiltRyIC1SjYTUGzD36IQRGNlhvpSdGs"; e_fb_binaryversion="AcIyXLFss2X-JjBExLFbQPqLIszvTtqiaJ6sQv21hDka9xDAijXrYQ73j_fIUBkiTACghYcosVubyfw1UwRU_Ul6x0HPb5O3Iug"; e_proxy="AcLCdPpCm0bgbm8CM8lSRnK5f5AIdCMxipViT1aXgpQ0Abg7M9_V5gHn79HN5LB3xAg2te6HDWJgcTTQtbSy", http_request_error; e_clientaddr="AcJRDXqKEi_QcAG77Dq-UaUfdKjD455MygNIeDwDdaSIOcS4qa88EmpMyc4dUZsLeCVYZp94bzSSl8rTwg"; e_fb_vipport="AcIDI_QkHvW3rV35ENPlyG_momOcNYeob-_AICZ5A4R_rt1QnUMnIFSc360V"; e_upip="AcJoogvupqaWZkaEfhfmee59R22isjM_wgvsTJNBjKtKIILw8wSa-ZdkDAAWeAX5v1UGYzNstenLY-sfxB8119jmUXgAF5w44g"; e_fb_hostheader="AcLv6d_hDSJdGTgHpTnPnYddHOVAkvewM1BFGe8Ffpm7VnVAmgQ69XsKE_rb-BjToszU7tSsMN8XaJjo"; e_fb_vipaddr="AcJAVEZH5gvKP7iCniJ9KXprL3p9_i9BPQXkylz3jpTSUfe_E3G_vZCUjMOfIYgucs6cj1XV9g"; e_fb_requesthandler="AcI_EWo-mcNkOwMmIc1CAvLyYCevAmOwYOBfS7EfXiyq6G0ol_5dHD8HXb7S89gYN7zd0gtNzaM"; e_fb_builduser="AcJII1X_vMzck2scQMIEj83JexCk6UjOr-TGGnYwEEjwkSawkweoDd4TmSbIC0PvvPY"; e_fb_binaryversion="AcLcSSuI_XSru5WtSeoCfVZR7-J8C7antplf8KB8YIHY3OJV5CmH1Kh63JY8zxQ4Ry4CbV2qOxgbKGC_eTD6codyFJirM3hGyPU"; e_proxy="AcJl7JEvsb5iTJfl3SQPiSOO-6Svgo4IxsHEADHpcG0YOBpr_a_90_j1TSk8146VOEPMV6ImbX5dYM0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:36:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AACXAcHuntli9c38q4PHK9a" } } 01/22/2024 11:36:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 11:36:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 904203, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArZB6T4XW3PWdxHKAA7x_gS', 'x-fb-trace-id': 'CbfePWWDmIq', 'x-fb-rev': '1010935616', 'x-fb-debug': '89fQfsUQjjjNp4p8up2Fbk+6L2FCYxCVnDhFCpQ394W2rPZ/xG6KYBROeGZROIclGW3IK6mgpD5ak8dW7RkQxw==', date: 'Mon, 22 Jan 2024 11:36:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKn6XSD33CjsWDdbneRgZU7PnuUeyJpT6UooIK1wJxtHc8FZ4E-jtnBnJVf_XJYhC8V8j-YlGyw-BEDlRhuJeJ3kWmURRTs5YviovL79Mw9dgOD6A"; e_fb_vipport="AcIuXat-21yql-crmwuC3yNMfWs4at7PFR2EBKUXVO-zXtedWvRCVKs7tu2Q"; e_upip="AcJx2EKjyIZZ7WRFNm2OvbDehbGsGNWeN-Dx2Zsd31og0B2WoVqEgP4wog4TWZKxpJoc1DcAwnXEKor3clGXDKvwZPDaKk2d0q0"; e_fb_hostheader="AcKHQmzDOGEaBagzP7bhcfGx5hor4kpi4VL7utGqxbnxxBJUmCTept7a8Wiu4d1OnjsSczv4fUdd27JF"; e_fb_vipaddr="AcLGKJzg6knnjU8P0-ADEqAf8bjWoV5dxO8FR3NJcxsTDQt9fT338t_PUq6cUWBq6fQ-x9gBchEeAA9D1RRen1f5Sd2Mz99ZDg"; e_fb_requesthandler="AcJNW7ACb0Q2fvprbaH1mxlQHu5_CSWzth-xDuMfFD58rkYFDlEUea12gcwyxZ04PLeGK8OfdaA"; e_fb_builduser="AcJjcU1LEpEObgAK94OWMvu7WgP52zeKb740bUWLgL4aelcPpEzPh5pP0JrdIi1Vmnw"; e_fb_binaryversion="AcLQy3SITgZxWc400ZRp8dm5gLrWu-Fs8hy8XzZa8atDDrxdQtNKht8MVAhJeKGsVaESHg7F5bNIvVkW3kpY57cyi7OXCEiPX5c"; e_proxy="AcLK4Q8eBmdQTw9Y1dtTrdRbm63BeiaBuGK7j8qqTKxsVYxyIZrNX0XHhvv8hrJeZe3UFIwnQGwGtf-c0X8I", http_request_error; e_clientaddr="AcLPgzQQ9F9j9kQQ7fv1e5U6d65hSo4TMlIO0-F1vMI_cgtCeMelSj1M5khtYp5ryq4xZx7-kjpABD1Ghg"; e_fb_vipport="AcLZqDNAnBGpl5tf3AYybG_EIi50uXbTg--AVBnt7r3CxRKdHQWo65VUxd8e"; e_upip="AcIq0k9nCEAPAIo1wcSB3Kjm7JE2WIA1-FEWW-60XV2SlPYWZPwL8gMaLcA9Rg-1KNinS6K85QKsu1NhP6UPghH7WDBi0NKGDw"; e_fb_hostheader="AcIo9b5qgvzS5KVWRFEJrXdWu73M_eUoQ0kxX1zLTHq_3FgHEYBvmbloi2tkR3dcQ_Xo8Iczt-EVHwLN"; e_fb_vipaddr="AcKDoOvVIJQyIajTw803GW17j8SzRJL86Clr9RsvkOkafg52ChHHSfpivE5KX4RKrKWKTYpMig"; e_fb_requesthandler="AcJK7hoDFCL7wL-3xb-ulUwrZKyxFWlW5k8d8VE4Uo1maO2E77JPrFqz0wT04LMF8NqzzWGIISE"; e_fb_builduser="AcJ23j78102D_xZ-dcgf06z0J1_xlObBspaVNCppxEF7AS3vLA_svsp8kXpE3-Atad8"; e_fb_binaryversion="AcJiBMvZjIO0w-PMZGCduo2jFSI6RsamYnSUvJmGLu9429Lw2ZnF5p-hAhdK0Fcn3UoeSRBwrGAGUXnLFwHb4EjwvoHEX4ha6D0"; e_proxy="AcJCwmEvZ6sled5DtR_E5ka__S50XqLsTlwXXZiC7aA1ChIu_-WwyxsvvyG9pTPbCXEr0YA3NTGa-uE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:36:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AL67-Y-vQwHUtOY4hAHqfSA" } } 01/22/2024 11:36:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 11:36:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 904317, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFtPHN_umInWua6t-15rFZ6', 'x-fb-trace-id': 'D08Ef242Z6B', 'x-fb-rev': '1010935616', 'x-fb-debug': 'BoRGsr06iNsjz2Jl9geuylOI3eSpnd7ESPzKqAAjePa5tujgQOSsAz2y7PXZ3k0hC/QRwyS70ZSkeafpQEjBFg==', date: 'Mon, 22 Jan 2024 11:36:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJSOKlGtlJGiFXy77LrHCHN367AQ38mwidnCGQI2v-r9RJ9Nid5eGNfF-VZfBlKUrMc5FCvtLAe4oYJ5JfQNT3t7EBjVdP0DgqZbrC7Qc22yfSzzA"; e_fb_vipport="AcI6PgyE58QNq7TuL3jLRU9yc9MuHZUu2EsQwcldNJHY2MOW6O5ir-_rp-Ts"; e_upip="AcJiklFJ-ACEMOFKyRnZG3h2sOSwp4BPSWublFLKoNYqR-rEFik_vubgeL6eHKdr5Q-8r-dE9nvU0hx0Odqm_xoI66xhxa4p7Ww"; e_fb_hostheader="AcJzbTgGqSOcCXY3y3BtHM2H-AnvOktqP1UB3cw_WsHzGzkQyQN09jRE1a4Qc4g6mfifvUh4oNVpYMPb"; e_fb_vipaddr="AcIg4o7A1GgDExYDXHqnkF0B88aVaLmw6tyQjOkUhzy0-XnpjPS7y2hODCXSBOKP_p7jaxAjzrHntIHCWLwsEhmZIpx7QWrEpA"; e_fb_requesthandler="AcIfWFq2M5QfDuXsztnYW5jGBVmrdZNtf2Z4G7FuqUcNlLb38sLYpk4U-Jo1PLq-FCTbYcD0PrE"; e_fb_builduser="AcI3-rlaD2C-oIe-QBFDMTVo9RgB88RjGbK5sAxa-CaJGB6BJuJQ_aB5UEAIPDrcICg"; e_fb_binaryversion="AcI0QsEGv2rXiDb6AMv0mwk-y2MRN_s4Fzg49m1scyAM39oT9F9-V0bSRYORsHLNflzNrzZ62fdTschKXOcEQgD1aKh8wTdS3jI"; e_proxy="AcKMFGV-k8DFr0LnSwotU3t91YMVBmxyzC_kTv5GpQZYfSV1dYn6NMnBRzMGH-juRdh3hh5WCZ2VEuZTukOT", http_request_error; e_clientaddr="AcJgh_yHsvuNqMv4lOBJax_w7bg32i-AGBxwph5-26Tkrur1BLGwIybykHh5JrBqgqrZjoZKdaTd-ugSYA"; e_fb_vipport="AcK_nwNMyZYugp7ec5zzZ7bgYBK1xT89AyhgIFE9cKFNYeeGFwc2kDhzkfH1"; e_upip="AcITZsaRn-tmifDU8fNVpe8VQ9qcMZA_C8Dr8geu-OpOgmKI6JylLMl4ZA4Kp_mawdyUBm70fWNXLGULTUO2sSBE_G0rBwM-ZA"; e_fb_hostheader="AcJ-tvn2iODjtzUAikue5Ep-nufQCQCt1F8H8uz-LEwju3aG-q7HeTDIcl_tw-MIGkO4JDrMNltJQ4vI"; e_fb_vipaddr="AcIyS3MD0wPc6dkOzsa5YdhcFCLaeO1kgl1s7hcZ7YAQzBGwne4QgD6RqZ11HcJD_3H_-jzhWw"; e_fb_requesthandler="AcIfT9ls0peLlcb1Zb2ycgUamGsdZBGrLudeHfLoR6i2K2_Fz6NGFypmt1U4b3hoEPvMZLWTBu8"; e_fb_builduser="AcKd-OdXSV8eAt-v2L7fzV2ktT2OEqgFDyU0TDL1mofFciPAl_Ea_btFtQX9MviEn7g"; e_fb_binaryversion="AcKbJFbCx821yr4ld1QvBr1qGspN7WsadzzfruZOW8oyXsZj1G7SL4KMwHsy6hFoGgfl8D174xx9E8Z527H7w2Q_3Y_76A0oWYM"; e_proxy="AcKhPp8-jBdEWR14lmtIVcHFczQQLqHIwMXNPXWK6lDYNCL1QT1l2wSycQsexBQuHIkq7_tKMMz3OOX3"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:54:01: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7467769126567049?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 907947, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7467769126567049?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7467769126567049?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7467769126567049?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7467769126567049?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOja3avBD4eMe_JL3ksMbO7', 'x-fb-trace-id': 'Cdp5LL9cvJ3', 'x-fb-rev': '1010935616', 'x-fb-debug': 'QyzMLlxR9QBSkAavPmzy0bBDtfVqca6YNSAb9KBB/SY5mi8rpbI0WRnvglR8EvM9c3d4uD1iIPzO7o3VMOEQrQ==', date: 'Mon, 22 Jan 2024 11:54:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKtBqFcpkuFb1a5UHdROk7nRLRGL8HtQ1M05_zDmmMD_uk7lBHCcC8D_LBMtrysdJGqjzsupA-MvjGK11Ag3Pye2pK-c2t_CZvI268oTAwKqLQSUw"; e_fb_vipport="AcIvqON0QyYOyJKryyYSD2vMuTC3jGlFF4UVbRrF_zQCJfOO-glA4WeNISYH"; e_upip="AcJUOARa4Whkei5RX4UsKl7NDviYm1gKbmeIVQdmycin_7KTaaZQBnPxmVl76CUodNQ0pliNH3UxsUE7N42HOYkBhaeuA8ZtUIw"; e_fb_hostheader="AcKNdAlAu8k0kYv8CuGlxirvsrkq2I7vJYrB3MlTMhy2fXssISDVxFVZI7kKYa9lBL8hoJIK_LKRXnty"; e_fb_vipaddr="AcJoM3kv4bCalsON4SiyfDPW09R2L88YR8hx_DQ0vUXwU-nRqtNn_Xua-4AOo2j9gyG0mDc1TyBysBmy1yURceY23PdDglYQqw"; e_fb_requesthandler="AcIBiMT22q0nhelrkMLkz8t_ii0Cc-dJzWmSU288rvz2pPEnmgjbTuuE_3rhD-6UpZiWPvX0fXY"; e_fb_builduser="AcKJ5dWPYvcY9lsjB67q-1Bt3QUwVydDJcCLxVMqdZZmfUgBlX5ov3Hlinh9dLwAAgs"; e_fb_binaryversion="AcKs_h5P505NIHVcLNPmQoBEHuOIAMZpGWiNUDgM8LR1yLnROy9BBZhrqyL_uj8TXS1JbaTdj0xj3TXPubJ51vMhaTs4lOSMdak"; e_proxy="AcKkuA36QWtAPm7-4a7ZRsfs-xn9QGHbxL4yn0Z6va5rsV2Uyiqhq1jDsnsybNcMVS2gbwhkrKm8lMNVGfW9", http_request_error; e_clientaddr="AcKl3a-I0jHm_4jJfg1GNkl7txgEy9uMHJZhWT5_eaIuN_Q-wYmP5o3AAgqIhHsjTLpIMAm8UWzaGFZZQw"; e_fb_vipport="AcLfICSS88Xzpk90FhBD2KAm1F0w0u4QXeaVNfv_ovTwOib5g20ba_zCaIq6"; e_upip="AcLh5_MmOQspDo_SeqGOGkhV-yszrt_Uhqc13HJPwZWHFAlqECQ9oSf7w2_6CEZejg3bcIO9IW9zCXStU4f0FV4GZcqfLq4U2A"; e_fb_hostheader="AcIbOOK1EIL3BvjzskbFXw2Qpy6t0iNVlJzHlrHy1JvMSntMMESrA5vcKbV_q69LFrOzlpDvg40vt2ju"; e_fb_vipaddr="AcKPrDqteDW7UgOpVVkxaLow0lrO9dOGy4IUEIhtA5bzycgRjng5FY4VqnfdIRAKYhwfeR7vLQ"; e_fb_requesthandler="AcIHP5ljiuV1xXyzpzOWDp-OFmZRPGvBRsBN580DbJDtib8B7KwIgabc0Lz7zOSMhoOA3H2vEr0"; e_fb_builduser="AcLDvcQho_zvvT7oTQ0YApEL_7oRGf65X4NkoUVByYA0qxFoudu3PEwH98pzukqWo6w"; e_fb_binaryversion="AcLiHeogGhdn7WCLWT25e8-ELvQsgHFI1gAGgtVl0OnuYh865Rd6FW2Kk27Ubou3TcNSDsyX2oE5-UkCsioh5zNMS2eIHg0Gjb0"; e_proxy="AcLv_m7f3TeSMWhndg97aNKMeHgler5X6aoZA2fOVYxION0xH3GuulW8pxVvHnZvUwYvlwBJpO0tA4Wy"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7467769126567049?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7467769126567049?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7467769126567049?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:54:01: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 11:54:01: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 11:54:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 11:54:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 908071, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALigitW7p0ZPD_x7gziwbEN', 'x-fb-trace-id': 'GcbXrrNYroc', 'x-fb-rev': '1010935616', 'x-fb-debug': '4J3HsU4LboAxHPyDRT1WMmkiYUjHFEIK4My6be269tiXm9FGA1apdkSfyD+XnknGgTDcRX7/w0GFk5+pr36Obg==', date: 'Mon, 22 Jan 2024 11:54:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIdlCZyHCVu4Avtiw-nI1YJEs43WVMjxpTVpdl-O69GVuz_GHgv1IpKlfhRGm5FRlPjohNGraNNdNbVC3h0g1Bf-ss0i9fJrxQl95oJ1OgV_gZTLQ"; e_fb_vipport="AcI4EqCDnuSo6BmifsA6SKAZkCTXT1ul-9bYtbPn-b0zUtsifivNzUZ8kGhn"; e_upip="AcK2AP_mdjTBGm5_f1vXqTU6TdyBjOSoPL2kBQX417Bo01kNdKVCEX7tokbCxiIG0s4eXgeURYoPqCrkBuanvlrrMXuRWIo"; e_fb_hostheader="AcIrwHRI1W-rzPvgWlv15aTnfTv7LLMx70m-AlL7uGzOoY-nxz2Jy0AeE74smde81Fypi6Cx-cDETRo2"; e_fb_vipaddr="AcIdZpdJ02abgofKMFXhrMPaOe2AlEzoXKpWhco9M2jH-kHAo5dpIdOVZa58bcAIbMG7M7zCWDKAwitYEouNuctHDoUIjOAJPQ"; e_fb_requesthandler="AcJCgTQcIc1HS4YArSLBq2Mh1Bs4aAtVTjl23glLXpCPSLjW_0_zmt1GBxKjQ-TtwypqRC5WNB4"; e_fb_builduser="AcIhi4FCYAmfu_-e-9Ym7ChWczWMNxE7rOzft96hvCYROzmJc_u4NBgyt0_GeRnnxt0"; e_fb_binaryversion="AcJ7qTicoFwCPAW-zAk4NIXZu96HwGbzBSo86kxU9cNOV5JDPuYashZFuj2Fd8zKlq8tZ5Va6R29vIZAwqz0svjKI-60wXA60WY"; e_proxy="AcJNJ0QotfvyBvaWjXXssxeGKxJ_vgk2VmapJ0kLxNimt47tEQGArNi7XNQcYdhahA5TKiGqj5fA7XW9RU0-", http_request_error; e_clientaddr="AcIp9ZzkwLfhQZ1f8oReeIYHFFl6P2ccOjLrcfV2OVbvpEY6S6vfaCI0SdiRhk2Yr_OoUujP5HbSX6bEAA"; e_fb_vipport="AcLoY6ffz1JB8wb6EHKslYhxPXPxyhm1UIyxmDX7EcN2QVVdjBsB6fiDvqQ5"; e_upip="AcK5Sgt4MWnk5w4Gyff36m5y3gKcZMSg_fXLHU8Fh5TTWIh_CTlCe9wzYObkJ8kOPhtbqXKFYUv-cxZdKVUTsfn4h1QQfKuhtw"; e_fb_hostheader="AcJ62ODgOJJBurpFeJ9vkmL7zg6fXDt3kep_9NwVMsrmBwAqQT3of6Z6s-SCAwcN6GeNcqL68KQt8e29"; e_fb_vipaddr="AcIPJWCDXVHI22aULKit8VvRLAwZgudI8I6fyE0UudWUZz7_RNw6Pxo2DmmfaftCoOrDA4g6dg"; e_fb_requesthandler="AcLl2oITuXHYyih3xfU2vmgB75MDp5mDEGB5cdPAc-k__jV0sG_eKOjVEI0Rebf5HT1WjjJsBu0"; e_fb_builduser="AcK9Z0oiMIPR4OiPuG9Fe0d8uR_rBUnEykLp4IVAFKYA7MsL16rJ9lSG9b2TWxgx05c"; e_fb_binaryversion="AcKpzwxSVggw2SV1CmhWV_-v6frDysUxEq-jxBtwelAe56t5ecY1Xl-oFW1MNoSYfY5jXmTeaLWC-dV5NvyR3fb36QdQLc2m21U"; e_proxy="AcKtAKzE4Ni-RU2wSebYfyluLuVqSmUNEpLKxdBuqkYQBzWlIuUTUD0kP2hg6Uf9W7dxRmwlMwGMtMc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:54:01: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AGQ0DAXngHduKIhexCkVfwI" } } 01/22/2024 11:54:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 11:54:02: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AmPwOybEPb1JUU4UVC7iPhl" } } 01/22/2024 11:54:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 908143, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArEaKJwksJ0SXb6cDLQs9u_', 'x-fb-trace-id': 'Av0qp6/3n8q', 'x-fb-rev': '1010935616', 'x-fb-debug': 'MccU+7beNTk9YDNH6Q/YULRWvM6Al1odgoIyBLf/jyGM+LCOIZUBfbW7yGFWmPZj/9QB10z19A7OlErhhg67Tw==', date: 'Mon, 22 Jan 2024 11:54:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKvUclyA3hte74RYQjmuw6RF0wIp8QNbFmMhGPpnRRDG6xAMClvZeipuQOhAmYu_rsjxHaFXR5FSznVZVcSEWH4d_AmJQ8deWBVfxmdLV0DRWTByw"; e_fb_vipport="AcLsy2oKBu321QH6T4f-Q4L9nC9G1eURGa0_INHlJeFOB56JPntDfBGT4IL8"; e_upip="AcLLxuzb41Aj4cU5LhuP_ZE-2WmP-sQExNp28RfUXMbdStxPTImCJPakCxegfD4dZeHIAjp5P-PuZRJW3VgjaDKM40MokR5XWw"; e_fb_hostheader="AcLy5sU8NTVjVPbvp3sOjcSl6M6m1Jbz4owcnaKSOOMLNl9CQehNxVqRjO2SQLI665Q5wyNzJ5RlV1bn"; e_fb_vipaddr="AcKHO9FzsPJC1lr01kDIJpR0_yrDGCoEOnh-aeBZHSVFDrsf21hZ0vsUgG8WuX172W2dY3Im294NPUSGe9Zaa1P5VM4_5yhuXg"; e_fb_requesthandler="AcLDfP7FBaEZWwQ5eZYwGtWgo-oDdiaB90tInYgW8ZMksJiordlhhem2EEjnF5apNO0d59LCmdk"; e_fb_builduser="AcL5eEAg4O-SezfxgaaufvTz3rjTHyvxlbqqYxPwzWXP-AmmyQjQT5F3l488KeAjf58"; e_fb_binaryversion="AcICXcDQQEO6prJKb53LUOPTiktii2LzoY61DiNRgeblPZdo6lm3C1Zx9Syvk-h7uVTjvr9q3h61yTkRwSEbU4LKtEF2HML4LgQ"; e_proxy="AcJgG1PBPgyhAZ4FD6XHXs4HFN0rShwvgdDtlfuZlGC_BmSeBAYyOsDdHtGcvs17se4TYALeMG8gwAGYISJU", http_request_error; e_clientaddr="AcKp9NweYJILYx5SkdccW0KFIi-zFQ3qTbzYno6cM0tVpw-luSfx8887C9BvsLS0DTBrMNLn0sAE-cgMhQ"; e_fb_vipport="AcLi7RoczjxHGcL3qGVZ9lQQzTV6V8gKZYkm0SefoaiLzfzjy0ZYL3Bi9WKV"; e_upip="AcLgMtdDdjiy7OBVqTpxnGJ3igkqaZ_nfc1jOHKJ8ULP1TD6fpAgZnPYQGOKKvqZcgwwpaRHbSaXw_pS30D90x-MivIqbY6t_g"; e_fb_hostheader="AcLTiuc_xwN7x-d2Hi_AdyrCujtNeSrUOaM6MA08BSEVzn0HgM_FSDKW48VhyaHTbbx9-ijybqX9WMZ_"; e_fb_vipaddr="AcLIisr2ayziqMllOvuUVNK7VbaMqi2BXvoSUhE1RXZERWW64Vnla4Wbgj3_xt2jLGXQbu6aWw"; e_fb_requesthandler="AcLFWO1fLVzj_EOsk1IeGvKvFv91NJdQNdIo9dMw5l4alpgNMrVBNUe_M8JWvNuFY5AuUHOAAlA"; e_fb_builduser="AcJUQDpabDPjn8lF3K2BfolEPDhe4roJEeqOrdXx9Pua3vPtFtfuZg3byb2zDc2kv44"; e_fb_binaryversion="AcIQ2PmUu9PijHnyljZPM32DprM9Ko7mS-lQSv3icRUIdK9ZZIec7yV66gYblBHbnK5J5RiqWxwji6FfLetcFxrBZmqK5Sguakk"; e_proxy="AcIl3uQiuF9FhtKcPr25pS1Cs2Nnxv9_eaCIwGrWi-LaXQt5ESKwqxMpNwUXZsIYt97UO1Y54oL96nw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:54:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 11:54:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 908257, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuB9ohihBBbopBOR8CSBGWY', 'x-fb-trace-id': 'EpM9cfejeZ2', 'x-fb-rev': '1010935616', 'x-fb-debug': 'RO/O/V0YZ8SrqhJ67LQEVFYyWaN9GJuLnGd0wTHNP5H5NKCMTMZi7nFMyLpWcX91jUNNAQ9wbI243p4MVF5UHw==', date: 'Mon, 22 Jan 2024 11:54:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIO6fiZ_UmWGNNjMZzSWpCtZO4mjtVSzOSPYbLlCo5kUlIXxHoPUGsSmDi-1BPK3OD7Gf3QpS4LQROFGG4uO_dF48F-6h2DLI535J4giUhZ4Zfb6A"; e_fb_vipport="AcLTKOJVQShFFTYgMZcnOVcTqUkCnc7jY27H8p4cJzLvSr9boqvQvYMcu4qb"; e_upip="AcKFHq5WGbXU-UdrhOoRSL_7cjhJweQRkNsW5vD880NyyapaN7qtU8gKrJ-ClVRQ2kyAYBZ1EII_fK0oBsQ3RGSZ0LBf8rj8vPw"; e_fb_hostheader="AcJxp6xVcZAfPQ3XvpqG8dWSNwgjDc9qjhHWZtK0BiRRcWCANJwA6xKhAon9L2ZZmcRk5-W8k_7u78d5"; e_fb_vipaddr="AcL3Mx2a-BoUVXTcezH5G5AHbKA2xIYUkHuuJZDGJVafidkCQPVBrzOw-wbkTgNMEdxwb5n_YvbFoq-_A_YBnGk-hygXWgheSQ"; e_fb_requesthandler="AcJylOr3aJELZCHojEtDQ_wAKyRcI5SaOGasBIII_ml4dxld91MSqmK-jupb70c8lcYvyg4sRew"; e_fb_builduser="AcLQ0NYrMbkJkG9qnKgz0p1SIIi7lWKdr_Bn0Rdeheaeq8uIHVbCdGv2WcpdccBA2yM"; e_fb_binaryversion="AcKKWMhh5QWbS-CCX5MfDEQ5_T56XDTQxYXYwcawzpgahli7Rd_aRwHmb54jbpRDJfYjT-jdOgt-3T8682CVJADbLIa2qRGkpe4"; e_proxy="AcLuD0adRhktaRh4UuXQcSMTOL51ZOMaoAPTslwzUNHF7vqYbOQo9KaOGDQnO4dTN6zDbt5FbWRJB4yjAG56", http_request_error; e_clientaddr="AcJL2rIrkG8VQ9JsTqrhvdasFmF-mJ0er4oItLvRw47i3g1byyPpf7lRAgRAbOjmhptwwLMJAGNf_Bhmkw"; e_fb_vipport="AcJpFf9MXmoXxcwo2smI2bbkeF9Ysu4_7A9PJ6_A7W-sI-95u6wwneX7pVEc"; e_upip="AcKWf-_8l3UVHS-FKq1zYvdjMWiJx4osOr2Y7VxVMDSjVSM0l5AHdYyrxkqVkFXEAhd8RQnh3GwVLL7Wdh82TetlamdN9Mb_Yw"; e_fb_hostheader="AcKq3j5uKE0zt2d47sIdj7OMwPKiwlTylJTFQdVFQfF8ubXodANhJ8n4CCywa_FdrtsyEvbx6-jDD372"; e_fb_vipaddr="AcKttH2wr4t86zo53LSa1ysTnDJklaAZDKpw-3luGHGGThSuMONZgz3zcJo3hFDFOAoieCV0mQ"; e_fb_requesthandler="AcJ3muw9cX4NKIoZQchDmvPpR70gqmvm8Kq-oWeu41rVTgfiLcQsGi6qgprRQLZwxQ7prtJVCzY"; e_fb_builduser="AcLbzKKqjPsVfBrwDEchR0XD930MCCYgv66CTYTIPksRBxjz0GPTpeeL3xcmkZ3esvk"; e_fb_binaryversion="AcLm1J4_x3SC-Z7akgxdb3Ol8p6QsVolxgC5PWvcg_cW16sjLyDcK5TYu09u2Upgy551ku1RBLBx7bGYb_PF1jPa6QhmqfeZs_Y"; e_proxy="AcJW6apiJ2sWdocxuob3u9RA6udZQ3eCBjAgqmpIBIWZ4LteW9bLKWAEu7i4paoBZB986Ybh1WDCywQc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:55:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 11:55:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 908727, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAwcqWx1iKvEH-sbbQN3cRf', 'x-fb-trace-id': 'DNMso8F2jZz', 'x-fb-rev': '1010935616', 'x-fb-debug': '0E/rK5n3tGkB27E7LHoP9FbWErU+wQaOgl9muAHkgl5Hk145FudeYablMJ80l5uFlr/knkd1jqy9g4plbTje7g==', date: 'Mon, 22 Jan 2024 11:55:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLWHP9VAgHDdJ8mcgDrARCWjjqsvAUVWjr2Aqvv8CiB7rMsZeMK_qdeDZCqu4B2POde8TVKOzm2hT7ql888DcvP8rnk5CAaEEKDAGKOypbY8YvC"; e_fb_vipport="AcJu9Vo5EpLCLDlfQ39LHeA1MPI31sR_7LBYjSy3qFFfSfJyvzz7OfTI1MkK"; e_upip="AcLJpNNhrauXsSsVr-JYOZLCTyJh649PZhNvCwFry9urRO3eiytmpDsrHpxwqGOdp0rZs2-z1FFqGlrXrFdiJZmsb4CrwjO_6DY"; e_fb_hostheader="AcKbb5rVs7XrL0hfiYw407xkv064sj4t7tS-TPk5tN5ScZrzyQdJM1xwc0ebvKbHZi37gieBTkCsbqJC"; e_fb_vipaddr="AcKgnp_G6QppGy7SJmqoouI0r2rONG4T-cwovm0w8wURYjNNsaj2ZdwSfimiJA89k1fHs681QqExCxYcZpb_ZoxLmw_4cwBuKg"; e_fb_requesthandler="AcLc3yb0dFIAKhINz-Ejvrt0x-TXTVcps1F2a0hm3APjonOno2sOSVhcOdr4DpevjK_xnOoWzA4"; e_fb_builduser="AcKimBzsQ-EzFJ1hWfK7sXr7rs7DPRh8AkYkWiuwiquoex7winGmEEkef8QyS0qnMOk"; e_fb_binaryversion="AcLhHoQJUX10doGv87AE1rBwhsPMSzTuc8JW38Li7Cowae6i0oDWPXBtwXIN5eta1zvucishm0zA-xaQ2GPEOxvPs7Yegk3i7rA"; e_proxy="AcKKJcOztEYDVWlcelHV8MgqjTUXKmh3NtlsDX5Hqns3VmgZkhjzIAT_ItXQqHkAKpAL6Hhnvq_TalINZd5J", http_request_error; e_clientaddr="AcKwmUihPXmfbu98sPIlOL6kpBbtYcaY0QbycAUmTv5DBB_L75Nl9oZULW68B3AoTkV4kqQafYKhoMPv5Q"; e_fb_vipport="AcIG3c2FFy1jylYBKLYOcQzPnafGamQPGGIwbA60rKqZ8o_l0l5t1l2RUP6V"; e_upip="AcKE7porttpVPpzzsjrnuenE3yZpQAWJbeAnSIiHTUgJ6vuqjeCHpSQKc2BRbZAEgS0d_Ih3WvYX_M2W8i4I-ntD0MOhzUX1fA"; e_fb_hostheader="AcLUU3_VaF7BQX543QGxnD_6TlEBwfTHVcEBlThLxOPROcR_1VTu_96BYGY73QFGfr4jBgAEXjMq6Ypg"; e_fb_vipaddr="AcLjgurixcpg45dezOs653zT89FPJEY4A2v0WBxwBhOlVo5E8s9oOwK7Fo-12vTiCxA4lQ9EYA"; e_fb_requesthandler="AcItb85ze0YHzsOPUEOfghhZVVXgRtJNAXiO3XMHEdMnCz7Xs93jRtNvCt0d0Praj9Rl1NyifX8"; e_fb_builduser="AcL_brr24w7ubj0_2_UlXWSFleeFlrrzD9UykncExQHz1HQCD6--lMu-WqKvn-BvvK0"; e_fb_binaryversion="AcJj5OAIU9ItVvgGd2zlfefOGrqG4aKFeyheff5bKUEF55PRaQwQjJqWs-1ED15gQMYcFvM7Dj0hy94ws5YTzDkE3OFZoM2B-4Y"; e_proxy="AcKEaEldkJCUhbkVy4k2wXfyvAYPpW4fTNi0g8ztePQ6Yw0fJYbckl7iFAe3RzmoCUhEkLhjHDMZuAc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 11:55:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 11:55:29: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AK2I1ojoIT2GAMIMM8B0dvC" } } 01/22/2024 11:55:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 11:55:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 908868, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ani9JY18RyzkcKSa5rR6E1B', 'x-fb-trace-id': 'H1+LCAaJYd7', 'x-fb-rev': '1010935616', 'x-fb-debug': 'YvNV0fgAbFdSJSRa66Osgsq2xZjalewf9XLew/qHk9ZQMFQ8e5be8yn+vY223kfR25TXSc5ffx+KG7pt4r+yzw==', date: 'Mon, 22 Jan 2024 11:55:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJhmvYuIOsppuh3xjHa4IE7qW10IgPYhLh2OZSB8CzpaROKRQIQOtb33cBvJJhu-az07hVtx46gGqlkiqApAkYd8c_oILvyB4uMAuXuyKylpoVkKQ"; e_fb_vipport="AcL_kMmmPDQp8YEdWkJg95a_R3r_8oZY3jhuqygSp_HYXkGKSO6EsbOwOS8w"; e_upip="AcKdBu_fSxRU8ey2cPP8e0uCIhQJMY32WJRcI3XU__iSIi-ZONTAeBjRL_xljT5vi7szzX7XGcXjCeAGNKjREIkGxaNqi7dLsCA"; e_fb_hostheader="AcKPzacqjjx8Axzi6PU1SvFRCx2OBzUdl_-QFLYTae9CAWpORQ_jLa2ehGPih7w-iOmodQHvBJ9pELLz"; e_fb_vipaddr="AcLm5VWwtahdP3YrCFtSg3EVRX7gJe1pMSLF8uti2zAWjTTgiNiVF3J2PhfBfYSdPL58dkl6Xxrkgewrg3VLzlKhI926zt45yQ"; e_fb_requesthandler="AcKWprqEljFDGKlRGLYdY-7cGp82PFv5Uh_kzaef4QWeiZmYXGFBioqW7yVRU-_Y2GQlpWY5OYo"; e_fb_builduser="AcJHEsaCgpWkEtnKy_FlnR8_lEORmzuIXGcGDXsbhi_4IjFfrx9CU9ETotCJiTe3xmU"; e_fb_binaryversion="AcLzrRxEyHgPVyjLj7hpZer7IHvK8tIuXZHa6zFGyGhM9Bp5XkeIJYu0LuWgUlui5Ui2TePrh7cidayEQ38x0unbFyK_ymd_-xI"; e_proxy="AcJGi0qyEBhU-8U5EB-LQ2O5dep2A51OoKvNmuPvFhWHL6cYtxnAl14bG9_QDMMg3N-N5oK5OlCTOM9yw1-3", http_request_error; e_clientaddr="AcJCo4FfGoKDIXoof8UpIqC379itReiK2fe_PZIUyJA1zBe45J6H806I3K1RpMqU9V3FnWL95e6AxQBDJg"; e_fb_vipport="AcKupJbJi4KnzooTJVzUouqdLB_G9mz6bZEG1yfyRjTwDmcvym0effE6JNq_"; e_upip="AcKb7XQ1EOoGXknp1pRIlvt3LuFTwX4a-r3RiOHXxhmV5e9VwABZb5fCxCyUFr7cHAnF-o3EpCLwxbCzaaXpXtrAWf7tiQZVNQ"; e_fb_hostheader="AcIcvLdcR5jm613Y67hU5e7NaQVhqSNGUmqvhYOyH7uggRbzz5L4sAS95MaYC-ifvQOlVUJzWeQpHigh"; e_fb_vipaddr="AcJkU0NqD0vuEKYLuIYvCv5IjKcgreu-rM9urhjssSCOHZXGtDANobG2vIMhNczheFNbelm_uQ"; e_fb_requesthandler="AcIu_d2vnJpdCh424Sfa4beSb6Kvkpw1hTfqgwmlZXbJXQS6aSOtfVthLNoYEzWa49tzCwiQwRc"; e_fb_builduser="AcL4QwVehbeXk-IKpPSvnhRkNoZxIWVQRxVsMXuclh9egcEioNvcmglYCvS8-_K1ITY"; e_fb_binaryversion="AcJ07nDd3SJDn58hrsCuyzH5MZKfEfYX-4JjCFT3mp2UUSjB7hPv2BsQ5loDiP75tsn2PE32y6LK4xV7-OiLV8nVgyctKxY6-6c"; e_proxy="AcL06Ehc8ZfPBDffRrXdiFzhGUpJrrOgzqs7vrfbaO2gc8E1l4zRwLfZx7bQIfyscXQ57Iat3Ju4T8U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7467769126567049"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 12:40:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 12:40:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 917077, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJ4qoAgbd8dlKqAdgCEYBIJ', 'x-fb-trace-id': 'H7x2BIcbugf', 'x-fb-rev': '1010935616', 'x-fb-debug': '5dFowoV8a4ovk2up1G/6YJCnHS3lUzASZeWNhHcVjfjw2f4YcW5PUZF5jhu613RaOeuADZSxBP5FQALW3Dztog==', date: 'Mon, 22 Jan 2024 12:40:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ48rr865pJSBjBt0EZxdc36jib4ydgpq0vhJuaTODWc_CjdBgghPfrxw_-n1pc7eCKTlOeWHGYuFWB2S36EgFzgdqAy4bTWefHToF0AxE_kro"; e_fb_vipport="AcLwf5-GL3IFOOrnQd0BIKHBH82Q6rgTxgBi7UUFwIqNQB9sYMPUE2biSzpp"; e_upip="AcKbT4EAOPhI3ps_-SCuSSc6nWMsCPbfc2TAFofMjSjDPBRkxbGkXAmwiemX4RHB2oNsZGrOkJOvfCTLxUTciblM_2JStcR-0A"; e_fb_hostheader="AcJzQJNAoHTVj3670cybz9cniiVgG0xnK7lcOSB3EMf1ZvFQG-f04t6JLzVsEdmcmV0kqZYOqUtoeCrP"; e_fb_vipaddr="AcLOYSOKc0DnXM0QFeiSFff5MO-myIDPcEt7mY6eoGsi4lU8Mop3dCTWzB9Xr_wDdntRCXAYnqB58QDWw_akYSapYykh9FrQqA"; e_fb_requesthandler="AcInHsr1dL4jEtg9mnXwdE6gDyPv1J8LOOMgoL0He0r7z-zTWz0f5NpKqaNeEXsnm35m25U8alQ"; e_fb_builduser="AcLibCvQ0YKF8aHjoeqZj5XxOuR-CpSyIgM3F7Er1yRHQqj4kqNdhdwBC2gCzeSNqBI"; e_fb_binaryversion="AcKEKOPOSNfXDoi0wiVdS7wpW2V9_bKImqk_XM166LE4C3Jd-X_gN6GKcxphg3ri6jByfapISzm6z14m3abiwFIczG02Fnl-0_0"; e_proxy="AcJWuwU4S0S0clKVtGpL_yjOj7GfDInxiqi82AGB0TvN-tVkYhTe37L7StvZxlpCLikD3j-CH56KWZxcjW67", http_request_error; e_clientaddr="AcKcL9V4IugIqGAb-8E0aGzZhtHpkzXqYyd5q20ZaamMuFgAghY8BxFQGbfM1X1JI_PnXbO9Bc10wg1ONA"; e_fb_vipport="AcJaRdqNhK4iADkdaClPvbi__r-9qswDGbEaRJwRk-Z3elLz8DxLRrZEGJUW"; e_upip="AcJFJYYietX287NSF5Kuitj2VSBpaYWFUkDU4jucv1we0S8ZVErZTuMu4uCFl-ioCyemQy7si1xoPmcK30biVg9j7aNQuFNouw"; e_fb_hostheader="AcL7wMQk1H00Ll1wPN7i1TqZv6dW2IyMV0Oa9sJt5aE2sCi9qr91-OSq4j8xBl1wcrweAgsHrzYE3yet"; e_fb_vipaddr="AcJZG3b0phcBm_W_pyoGuevPEzyXrB5LrYdejeuFtS5Y4jqEPt_jDI7LCg9sNMZt1uoyLOgGzg"; e_fb_requesthandler="AcJiGDmPHFlAzfFQdKTv6___uBcUCKiyNDAzNsYhH4SiUfNvZ4ItoAeOZ8K1mbzg-He2-hm4wqA"; e_fb_builduser="AcKP0mVHCJ7a4qV7bXZHIibQWqoAfRx2VSccUg5CU0RBuNxHS1cE4a-WyZKCCijjCt8"; e_fb_binaryversion="AcL6GvqM9HMjTPPTpFncD7oTxvPpwjdUlBfxDr7-_mhX6PfcTXMwHXTQIxvm44-eF_-T87m6pPhwKNCdIJA5Fnp5BD99Bele-uU"; e_proxy="AcJ6HHw_c6MTzW6YT7l8bPCkjj4loiKsY_8O3wOF6ZheWVtgvfKpRafommQ4ri5TLP0_fMDSmRLb03w"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 12:40:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 12:40:41: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AOJ0FjJge0Oasw0dU9eWxnd" } } 01/22/2024 12:40:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 12:40:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 917223, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUE-wngyE36s-cYLpplHCP1', 'x-fb-trace-id': 'F96QWq/EQ50', 'x-fb-rev': '1010935616', 'x-fb-debug': '4RvPd+G+NoZ2PcMo+zI8sJKS9tHndKCxNd3TjGduktcSd46qV9jSEsYabG3F6aHf6EwcS9HSWfpmuAWKeHq0RQ==', date: 'Mon, 22 Jan 2024 12:40:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLcyUZQmCkCR8TWrf8aKPLQa10e7gIdD84cGblsZ7cF_V-2IhOFum1CLNeakUyK50DYW_G1kEfGbLi_d6O2zubo33LQf-W52oZKPUxyRuKqiyeFIg"; e_fb_vipport="AcLaSe7K0KPN8p2RSBpKM-4yP8JInFmI7l2hYuLhTRYYRFS-_9hOq-y9v-7R"; e_upip="AcIk2STuf293Ri_bKtNpiTsrhmd5YdlbRKzCJmPRVSKoUNbTxiESrKWE12YIPB29GhVHnVa7qsO9CAU3RxDI4mRMJnsxI5ryHUo"; e_fb_hostheader="AcJJdLqLV0uAD5SswvpsjWBEavQCtWfoOds9WMLwGygMMZupcIjV51e3Lby5IPHnL2VBhPhRcCco7jTs"; e_fb_vipaddr="AcKO_pZbm5VVBNDISj3a790bdiLnDMGkZEHNJzn-TsDilQzJv1yP3TN0XYizwWhaT10s0K-H2kSRkNPbTSz6Jj8y7FZ9Oe3nhA"; e_fb_requesthandler="AcKQdTkFUKjg7yaqYvs1MJPkxz1rnNqE1oF5Kp6KSQKGK79nD_BuuVc1QeKQ7b1A3XRkeluxYVM"; e_fb_builduser="AcIxSjxT_StAyhT-iCMon8KFWE71nT4moMlwm5uaw1xYsmYrSy_I6iqx2NwhwR_D0w0"; e_fb_binaryversion="AcK4JzmIh_woCGLwHoYBpqQXI-eqOlhTqT-uLKgVeORO9jNqqA0liaNpEB7DaRB8nemO0ziUu0x1Htfb2N66iGKUAsg5TIuvZbk"; e_proxy="AcKB5sIrjw8xTFItWl2DqFj1ZWBoM0jESPCnoHTaoXnUJ40AVlsxE8ucPgOTQO1QupqEx-2dfy3_FRlHJEms", http_request_error; e_clientaddr="AcJ8QXcl_v_KGTFFaVIhHupumW8eXADZG6PEI_h09JELZ9kbbXEGhCOAgisym9CYaFoYl2fdXEY1KKi8CQ"; e_fb_vipport="AcLEmlExC2xoY27GVRgNLqGLYi6VKsGa5sIZsEfq4EsKSNlKY6T3JQCpHXdg"; e_upip="AcKxG9OEtcLvb2vzc4d-8hXFP5vRkwEq-paM-0fqN6XZNcrSdURsCkmzBVmA6_-ijFJZi4ldJmc_dn5zMjbbfTAqciin1MNwYQ"; e_fb_hostheader="AcL_RZXHNuG1AUtnbma2s5j5IBPEinbjdzRBEVG9Ui--8eyYUDtmUaa5RdUanYOTAPXTuZjpQ_ZiViVD"; e_fb_vipaddr="AcJM4Dro1FFOdrV50j-JUS-wwh3_9VbH3VLpGdVg_Bf9oeeC8GPPM_134E0kPDDKksMpOHpgYQ"; e_fb_requesthandler="AcJeHljR-FfMXZWszJfKzWulO684SzUN5MwVvMoesZQNigAToZs1-KLycDrD1tArhOSvhxEQyMM"; e_fb_builduser="AcLdGbbD3OOG5Q6fnfcRvxcUEadZ27rChUS2Rb7SQf1ltnv6qdNEs_V1UmqpQdJYBkE"; e_fb_binaryversion="AcL6hgYa2K7EcGP5x_uf0e7-QZGK9gs7yGXqGQrFyGwL1irL-avZsMkuAGkUf45ZB9aAcJg6zs0JmH4Vm0X7wf9RXwt9O3QKNh4"; e_proxy="AcLkS1kzoTO5JpiHIc3WG70huB4DS25UpliebmroOo7ivMutEXNnCgTy0LMXxNoMoxuRSQfpuuSm8QE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7152206584874408"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 12:42:30: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AAsrKYYoXk1amfpA8vi3BDn" } } 01/22/2024 12:42:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 12:42:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 12:42:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 12:44:17: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AVHrCf2zn7zXJrP7Ts4NWkd" } } 01/22/2024 12:44:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 12:44:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 12:44:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 14:47:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 64e4ecf133485862fb92d431 01/22/2024 18:37:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/22/2024 18:38:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/22/2024 18:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/22/2024 19:08:35: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7210842632316335?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1044547, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7210842632316335?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7210842632316335?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7210842632316335?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7210842632316335?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVr_B7GVSmV02y5sv-KJc0O', 'x-fb-trace-id': 'AubcX4s8wyD', 'x-fb-rev': '1010938700', 'x-fb-debug': '9huLkqFEaAgM5WY7BPhwu/WGYu2pmpLb/8nLtJpU0TM9V7Xl9PbzwCQM5Qy97sOgcMANeGKCNpLB/IoUd5fORA==', date: 'Mon, 22 Jan 2024 19:08:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIx6WD7PKcuAl59aH71-5bUniRh55PsglU8of9Mdm-2pU5RbqdexOn8Bi2kQ5vM7vB8_mLdHa1sUnrNsI85eKaJibpj3Gcc_HWhHY12byifTpLtvw"; e_fb_vipport="AcJku-sehxJxwzuwusH-XZcgyIFqZy42JPD0b9tnBbiTnP2B4OFTE6jtzbWP"; e_upip="AcJ7V4ykmXNB8VwGX_g6I_vF5F7w21KL1oARkYURwlbR_5rOilgRxdzfqi6a2TLeLsrab49TvszagehHvFe0eBYQQ_14mvqUBQ"; e_fb_hostheader="AcL72Bj3cX_62NXrDWi_Flk9XvtbXBoXmgHXlYUc5y6VBF__duapquU4iAeuvczKlm_rLU3lADuU3HIQ"; e_fb_vipaddr="AcJuaXSrHfHZlj6LANUgvoDrOGJTPMyx32sG41N8mD9oeV5tPpqC_6yJWCVFx7KrdSwCQKJw_d0f8Yf_nYjTkWopmYkW209S9g"; e_fb_requesthandler="AcLYKCGaU1y5jAOVw84ubLNjtPFhaKqoO_gJ5Dkl2oWwJdw_1QuLwpvgxu3-1N9Z0N68wgaLwYU"; e_fb_builduser="AcJcWluD8-lAqvGAjNyV9687F-x6BxH7FDgsukI-zOEsM4zXegZ4M9Gpc5IuqqKCl-4"; e_fb_binaryversion="AcKOjvtUypmjn58uHSbsml5s3M405lWNLKXzgywV5l-AF67lqBU2FVpuwAdTElDzFqGfX6uiXQayaCjinFt18Fuv8xX6Dq3XBjg"; e_proxy="AcL2FKKfsJ8YkdjtbxcWAr2vufXmCcCnoaRy84lPP0GpsOtR0eoB-bg_uL-h70TWSZZgtZUYB6mm8lHLE8Qt", http_request_error; e_clientaddr="AcL_7GBK4z4urVmgwuoI9IPPlnXDNkvyQ-ezPDyO63APXnhdfJYc8pxbo6W3XYfq83RoJiwXewy8MdxfFQ"; e_fb_vipport="AcIAR3-JuAKXby3nY_cEg6CHOdYMZuNQRwV_kTLTtdIO6UPqnUjRV1v18l41"; e_upip="AcLWPWSO6Q8E4LWMfW9b-W3ATL7rvGT6nIZjNJc2rAmtHLLmyo9sXcS92mqjpx9N_YxAnPQScY-Exy9YrcsbKoFeVAcHN8RiHA"; e_fb_hostheader="AcKd312TVqCzvSIn4UGfhbQhv8Le7A-Vni99HC4DO_wD7-nWtPzCEziqBQXnw39W43JypTpa0ulOLVvf"; e_fb_vipaddr="AcIigQsrgihBtepBMfz1DvEnlWjFRzvuqif6ERh9_9UL43p2ociGafj7mx4fqP-iuvoQO7IivA"; e_fb_requesthandler="AcIpD128xSmLkxp9PMJHRWxNF3Eg3lmSw9HiitJ0sLAcaL2JDqQ6YWp80qZmn_QYmMYFv_Ys-eM"; e_fb_builduser="AcLbCQcFVsZ-qiykSjCI1QZeMIDe-7lCi5OQ53y4JvwnUFKqBCqF3RwH9TAw4H9Bj3g"; e_fb_binaryversion="AcJFwPhXyih8oe2TRZbEaTeqNIhoFJSUdqiFnEjyvoIBR1ElYOHNMcG8UfBgBLcqf_VSFS4CRCWEIOtp5R8MFFyzHO0-1uJaID0"; e_proxy="AcKQipPALdw8M2UVCSgTXP5t-bEBeUMa7N0bsZtPsTxJlNSUrd8XbON_ih18mDlFQTS7RR4yjKBr8Cg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7210842632316335?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7210842632316335?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7210842632316335?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 19:08:35: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 19:08:35: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 19:08:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1044665, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5zjdvl3KCwxwHAdJGgxGFb', 'x-fb-trace-id': 'A5VDXnr409l', 'x-fb-rev': '1010938700', 'x-fb-debug': 'WmIP75lPY2tXdkgPZ0onUZcDntodwf9Oc7ZQL7maLT+VN/FmSwms4jG1sI58zV/ECUAZ+Th7bsJHTRL3CfxvXw==', date: 'Mon, 22 Jan 2024 19:08:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIyX-YIaJgeJJaoYfVv48VgeYN8N2ZsSWz0jWRI3jRgQBqJRXOh2-07ePFbHCbrakzuHaaiGZcJweqQBBBO-cWpgofoo3P1Bz5o25NXPIaiU6lGUA"; e_fb_vipport="AcLCV2dPaeaB_8bdIkDm27u0rxV1B0f7VRgg5F5BwQmRHq7Ya3DkzcJu6B9A"; e_upip="AcLr0Spdofp-RAJ374naZIancJEh6nYqZe4T3SUUFOcdkXB_y_jISI9aYlV-gRCo8uN11xlHkdGmPiN0FohqRl31eU6Uur7Y0tQ"; e_fb_hostheader="AcKHujdZLn6xHbTlGEmnWURjfdOQ6KYprrnUzWc9PqNQ4cU6oDnpZRaNHWM1OHCxlzPyTtlpeFqmSXS9"; e_fb_vipaddr="AcLJMiqwGrEFsEla-vGN1wmMwTn7qZ7_WU9S2yXI6RSpPpWbO_KRI0J-DoUrET0Y732W9c-uN6ijRonezIhjwzCPe-a0U0neaQ"; e_fb_requesthandler="AcL7Vmmhr37w_JuusqEpycaJXB1O9aGTCeD9PTp7hoeV6B7WW52exgKfEthKIugKAGZrgguxjRc"; e_fb_builduser="AcLgpaw2LlzEIvdISUxOZndWGP9NzYenoGEek7B2Z1U53A4daVAogwbQgTyfQ6qrQXU"; e_fb_binaryversion="AcKO533_vuVWtNbCfUl7Q-TdK8ruOewBoynYqXPNMOCvIggZrMeVVP8yUTSnz2q3jLDV_VohtrKa7kwpxPRel3_40fegzdBZl8I"; e_proxy="AcIhA4dI1aQ7kVVDICSIopHY48dreM0YprQ9WjmqxOCcREdtdFnTbaiNdKi8TCHXERmTVmxNGlSPI3zcpfft", http_request_error; e_clientaddr="AcLHvD0oRj97_mwrOdCDcC3Sk98VdKQSb4qD7k0ThI3XT0tlhPEreIMqz9fea12nQ5rRJ4yxDfgM3caLIw"; e_fb_vipport="AcLbrWu1TJYYl2P8jGW7gXOnErM7Ws9u41VzKNNzDx2LELUBQYzrbEjw3C76"; e_upip="AcLBgfkLJ5lqyPFyYBlBp3nRh9YD1P05sSCjFRK7EpLLxVHlstJTc8fTnkvEI5si4bgRrg03gBDwBNIWTA9r67EtflAjfCyKeQ"; e_fb_hostheader="AcJDVYJqXtPxDStdya87LJZM48YOu_rDKyKIHm6NSPMF9qO6tw1tMavXlO9pTT2QF4AeGSpmnHNes9Ke"; e_fb_vipaddr="AcKooOFFIVDryb33kek2wUox5_f7L9JJTdBLrPDLnM1NFbcrNbgs2fU4BAtPQ7Ll0dIuH5ZQfw"; e_fb_requesthandler="AcK2eFRB4YDNjUPbXdsW493aE-ZGXTt3UlA4FSo5KgVgA__wvEcR6o8YtfcU839YUKOeI_TpcQM"; e_fb_builduser="AcKE5DecbTMHbKqNuZqXdmxObLnOf9CcT-F0IPx8Px-6bJ9MWxZfWPT619FB2rr4FNw"; e_fb_binaryversion="AcLTJwzpITdf6EuasKRRjoTSkgBakqnJn7hdK7JNH_6ZTvxjHoRuQ6cNrSgKgwOURnCgfD5OPofBixZhS-0N48mxcaIKjdU63Gk"; e_proxy="AcLCbr_sISgU_O0XyHAObaTir0YHEhs5qswb-K0VDcp3_nmIsVqWFDaMbSJC9ECOBsM__362_cLIYek"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 19:08:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 19:08:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANaZf2YD2gaqgan0sF_PdNE" } } 01/22/2024 19:08:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 19:08:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1044744, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmqbH_cdGajnzNioQRsyv7J', 'x-fb-trace-id': 'DXaxAvyTZrE', 'x-fb-rev': '1010938700', 'x-fb-debug': 'F7NB64LzdZzknCw4Qr/FmhSXWKSJmL8PAS6DasM92h7Auyr3lHSCTtJDc26OPlzvnYcWKbwJFcdK95G92uWH5Q==', date: 'Mon, 22 Jan 2024 19:08:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJpWXNKsPYB9-taXpbhYTAEk-RgdkZQGp53ju6k9xp_e2BKpU5VHHNUSdDPqINxz8xhhzEG8hiOqQzQYXMfevX_Hpb3U3dh8KLwgqK2s2erUwZ3"; e_fb_vipport="AcKHskqTcMZAYivCluHPP8F3NLLKdmfH9J3e-VXUDSapdpvgvXZQsTnwB98j"; e_upip="AcJqKicbjBlEUF9CVXLOHvjl3g_Lww1tgdjJEaJANTqaVBnUqND1MYkgL_W4leSdDbksIeULljVrsNEKziRNsAGlEX9mqArwOGY"; e_fb_hostheader="AcJgJdFv8t-sRtJxEW8Y22P782VgZurCJhEbEFCnOnIAcfjonL2CX0KgzPFLuRxyxirw0v2FMm10VnHE"; e_fb_vipaddr="AcIzilKV33SrjWgnSvPswMaPUegTxRB7YH0ELByBRRPh-tpOB71fTMiDBw3hPkh5t0z7j9IsaX7SQnvNnUAwbBjH5bu33ITUYQ"; e_fb_requesthandler="AcIw4bxxJ4w_-qH9P4_nyaXrAkR7l7N9xTfyD_woL6Y0iX7V1NeRCJFawBH5liBEl1tJsiliB0Y"; e_fb_builduser="AcJoNksNK-KfXp87AlT7BUbsyXDJ19k3m4u7eRvuj4jT_sqXdV_Zo59YdVq8E1RRVtI"; e_fb_binaryversion="AcIh2mRB3aqdbDA3tT33k1PYwdOQyt3xZ5Ru49_JN8cAr212vhE8fmzJjq1cP61dpmEQUawGUYuxMFJh-1GErPnCeCxxVtMW5GE"; e_proxy="AcJPC5QCv1ZdkrRmPJX9z1k1XaGXkjhnBqdWak3ggIX0NOh9WUm6C-FuknPXY_sZ3eSdk9VErriAqUe1xv-b", http_request_error; e_clientaddr="AcKeMZ71XyGNeKaMxzhhhQMwWwg6xvQPtFyTe8SaqH8KhtGOYw3DFyQdPr1UH_H_rXRF7frDkKv-cHCH0Q"; e_fb_vipport="AcITABX1dKYyzZEohKxCRoQ07NpX3BZ0ij7WGE1TlSnC32w7nUZZLrsqsGCd"; e_upip="AcKJsZNoqHQdee41D14y4whHyT3b7K2klLKrpymWU7jE6ef6FEW32c7ZULjzxlfvmIn1QfqC0mdyCPNIbPNPGlhOYlgKGhKv9Q"; e_fb_hostheader="AcKz4VNcoYAc_4pKlYTM84UXvcOJ2TqwkqV5Hu43ci11MM2laIVIDzFVxZBfOxHpueX8kmARkIA3UCWP"; e_fb_vipaddr="AcKrInO3WxtJhNvJZfumUx3d8PTtlR-jhjieb5OeYdVS8smRVu7eM-idhHxW-6sanYc1N_4vjA"; e_fb_requesthandler="AcK2hTE529ZeOX0SU43pIXfrPOk0b81jNiYSn_GIqXKv7IhqiAMO9w-LcrdEPA_1L_8dJgp8auE"; e_fb_builduser="AcLhJdD-QL6xEwHLqX-c44KiQQX0zqpW0QmKd7vEFeNKlAbhc5G1EkEGOTGHpwtezIU"; e_fb_binaryversion="AcI2_C1le3ca9thkdjO1EVnBEILpBVk7UaC3IQ3bmSg_tPuroYSqKdgH_xGw6EFHOmo0Vl6sPsNUksBHsTq-rQr2TVeE3LYc7ck"; e_proxy="AcJ5f5KLxBSz4Vae7vtLMs2C84LjBq-UTbARERIwvX_4IkqRC7xFVzJE5nrwiN2Vpg_cD7imfN9cZ-Y"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 19:08:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ATAedMxYw4tM8rPct1LjLzI" } } 01/22/2024 19:08:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 19:08:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 19:08:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1044882, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1kxg9lMMRe7kxAlv7tzVR9', 'x-fb-trace-id': 'CmVeKi+AT8H', 'x-fb-rev': '1010938700', 'x-fb-debug': 'RuDzLeAAvx+/UThXqmHNGdIxb4J7UuwxiAJku7VD0kRUYolguww6HkZUsUrmFnSjNi6VlodeVZ4APrzeRrYUwQ==', date: 'Mon, 22 Jan 2024 19:08:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJRcNn1G4hXkj6TDyUDecrCPhpgp3nGAx9-tXm_hd3VL7BsHHpRcV9ib-qJkmnF_lFHaOz47eblmyjkdaPhNdF_YT9uNJHvRS4QUP7I5EajvR7wog"; e_fb_vipport="AcLRwldegJlw9TbdDj025uNOhVXJn4PoSnqG9Sj8nVKu7DNG_OPWwhheJu8g"; e_upip="AcJl8wIQPsipq23XQO_KKwvlwk-TkZXAJ04oW5nlSxyhI031CZas2Zve72i9zW0XPnVEfxMUGR0o6Q1GJ9cipGRFEl4tngoP"; e_fb_hostheader="AcJ-wr66ohT-rduXJZ_7kRbtZadp4I53Q2gz-RLXrD-c5kON-19mlPyP2a9h3G4BIwSdHWgFSuEHLA-N"; e_fb_vipaddr="AcLsvX1aHLgXztygUiOWV7d6pWH_h9H3yzr_SURe9-XTrsSmz8mfxtjojCqH8aRws-igI_xnnTnam4tSS5WEXnHbOiwIpma3BA"; e_fb_requesthandler="AcLC3fYvX9T4bAs_zsQDONOoTpKECOLFuLmkymeDTxMNldgDJpm3eXKGskQDxbTZ6KhkGPfe7i8"; e_fb_builduser="AcJKQVJKv4_bNv46rOCLe9vl-01fvZQ0tg_UJXiR68JXZod0ytYsVa80dn8LHvEb628"; e_fb_binaryversion="AcLVnT9r2Cr_ujJ-Grwrnjh-z9T1dC-lNGIlvQXMVyqBHmbsE0-YPHLCB-8_jrKjr4mYgbf6x-AXqpghzfmi_9-VsH6NFd7fNMk"; e_proxy="AcK3uSMB8U9ao2dWwJDLJRop2Z5ogfMEezicTgApfGdz79ycoFb3lpL1vLlhgc37cHXPMOBgjzYqQPQv-ZWQ", http_request_error; e_clientaddr="AcKRQMKvK-rx3sG3BLh4LJ74cdcK4cKhAueg-gf1LR-Eyh4oknlVrhS9ZDhB2vM6oxPxtWiSXZP3Dnv2Hg"; e_fb_vipport="AcKZ4Ad21CEmkNeR5eHTEwlDb_XPrD-CQELwx2gMoz0O1Jb592-i3rvEm0r8"; e_upip="AcKntTMTck_FOQaKW6AxdEo4dg0bhKd5h9X7QEBIM3m_2NXcCj-Xq1N0wdLHMfTIcfqIX-oaK7YAWHqUJxaylVdbGUERmBxsRA"; e_fb_hostheader="AcLKuzZk1xZeisGWturYPf5QzqaidMd4Oc-VPeLa0SeJESM4TBH5MgNU0IRJRnoJTi09YYk0WxM7SgOz"; e_fb_vipaddr="AcICLJcAG4Y8gP-W8o3O5jI7wPXC5JFFK4R_s1ozttS_RJa1NVXFBI6mujYC1tEPFxpeGaVtGA"; e_fb_requesthandler="AcIFiQeUO0b6VQmUJaMxTysBcWJgr44wfbnSxgIq3marqTDxjmGaw2ImoltA3VrAx2GvAiSYeB4"; e_fb_builduser="AcJ-XtmPs5D4jzKaTJxgPeILTIV3V1homEQNBXr8s30o1ZVZ-UhofzH6ElWbq5Tfy2U"; e_fb_binaryversion="AcKtmJTXj_Lc99MxmkxwT0Gz1UUEESfav3c9-0U2glzlC6gsGzo_FLZRtzLTZ5Yes0oTIhY_M6Fy6el1NwIOjyE9lMEh9_ZD7yU"; e_proxy="AcKIMDCZJsnIXfZ-2ie-FGQK4Q8PdR5YMKfLQdEJZe9sbjL43OolOZq9GZ5I02mrZCqRtAszSKeGSr0R"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 19:08:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 19:08:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1045102, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoFO4u-Jp9UEcn6DYqHajjr', 'x-fb-trace-id': 'FjCKRW0y7AY', 'x-fb-rev': '1010938700', 'x-fb-debug': 'pzrRM/RJH0wXXSTEEobe0QQxRNVJcuQX0/Ynl+ZB3p5E3r/BBaIRJQMuS7SPgYWuB5b36bKrBzYt/aeaihBGhQ==', date: 'Mon, 22 Jan 2024 19:08:58 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJzvPUHDWKieig3-bZ6MvXrNaqT1dseFWjInXeHyhoKwdNqBxDSfLT6TV47ggUfXWy-a1bGCpW0wnvQmHiMJnhw1ywjEhmUM7Acev6pk1vDWRwzXw"; e_fb_vipport="AcJLL0LRW93jwrM2Xz-MhxzscBDMrRSnufe-ZDnobsyRYlaohC4Ww6BCIuP4"; e_upip="AcIcn8eprpyQSO2rdl6LNn8mR8m_yzJjMksOPdeoV8qqZfUJjA2Kjop_cMrM63V7gyg9JLD3xsuSZJc2u8XkBxC6d8hAZMK6mw"; e_fb_hostheader="AcJtlODCnZO5G4c41tpgebGI6AHdZiONBl8Fjq-OQ_1iFcJ3D2_GY3ZDKoQJhuoO7iIp7u7EzdefjHOq"; e_fb_vipaddr="AcKheemi7Z4yNw4i9wyOwSO6Z8iZ1WuCUXgdJumXZy1Rd3pNfGc6NmT5Kmb0PB35q88017E1YeGz_wsYwTtH1Tbq5ODMbwATsg"; e_fb_requesthandler="AcKr-Ynx8rQeZKeLo8Pipk1PBowVnW6gDLSwBItwXhKWaGvusJ49vEhpEaiWAXLt4HrFspvdwYI"; e_fb_builduser="AcJMcIjHV8slo53kxi2IJPajSSOhImznGWitIw0O-o--qWYmRU79glICoWQpUh9nh1Y"; e_fb_binaryversion="AcKQXGuQXDkvcNsdyLWeXBXyHLcQnwErjdoMR9IojPBnoXhCI6cuyHVl4jy78OViFdFmIL6UCc0-b7gzU6t0NubmCH93CaLwAjc"; e_proxy="AcLlPxFdnMrOSj14yZyI34DoUcijQxpNuod3OE1dtkjLokaD8UdMIBgxh1shJZX9XdJmEHi1sjUdCSq3XMSZ", http_request_error; e_clientaddr="AcLx3uPjHGWLLtgGWUhIsOCJPJTJvbvXjiYWgNhz0nuF2yRORHE_kULzBnfkcpGe9d1Iv63DPfwwOFRTVw"; e_fb_vipport="AcLSPZhQAcllebrMwvg32lwslixKmPz1NQHfYqvp7CBu-p-TdFS0Kzfw7FHG"; e_upip="AcLxYjKyAvKlXZWOQIYCOdB71YFVszrw65mLsEDxvRYvHABqZFMYC0om07RP1pK8eQKHcwRvIW5GVL79r7t_im4WKmxe8-tZFw"; e_fb_hostheader="AcJ9EIuH_rU9I0UkxvcFiOcG_KHmygA36OU3rR1SuruJCW1jobkJDA_ssT5x3Bjg_lBIK_zPzbm4iFOQ"; e_fb_vipaddr="AcJdRY7hPtATdwbuqZ5gougiWW7RCKwIm-krQrpo0r9fdsrjU_L5QhuMPiBeqNVhsRwttnIT2w"; e_fb_requesthandler="AcKJfec4Y40OR_iqltFplKgyAQj6EZvbuGOA0cm6PDbeuUxsh8UpTuUiRwJzpvGo_o0SM4oyVxc"; e_fb_builduser="AcKca2AX2R7uudHwmEQkpcxMg22ksq-stB46xsTMU1WXN1qEXmK92dQv_mAIMwx6NRU"; e_fb_binaryversion="AcJb1sGnxiGtGZMXbBEgvznSaMiculPDpX44zwLj2gRHmLulJqr37ed48REdw7oFU-HYEWV9V84MLPR-0O2O_vL1oO-sbdg7EnY"; e_proxy="AcI7SqQKSOV-XJKnpnGBMA0VkTez6RI4ck1pfl_XU-dGd8tWEOO9czjm35jL4Nh5bgc5O6HTi51nE-1F"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 19:08:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 19:08:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApjQM3lJ5yfrfqHliN5x_VF" } } 01/22/2024 19:08:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 19:08:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1045236, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_yEWbcU2TVtRrAEC6oM9bD', 'x-fb-trace-id': 'HVd8wDiAUTZ', 'x-fb-rev': '1010938700', 'x-fb-debug': 'r3oo9IPL3vHjua55ZvB2pTa+nWIksZ9I/tcXZehtNB5e8IwnGDulgNHd3JJxZBjgh35T5MuG54+zZA4LJbEz6g==', date: 'Mon, 22 Jan 2024 19:09:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIrkhNGJ2ziiqD5h1SBaHLna3ZTtiqKFrhKth97ozJlZcZMfgeGekEPwaymjSRwf5gkAakILEvkAVNwfkUiRuAWugnIBNRKDM0-CbxDIvmYXO0iNQ"; e_fb_vipport="AcKFEc3e--Za8o7bKWCuPxxFv6lbbGKYvAOQ2XKI5pRIsSZRiozzdEAopd9j"; e_upip="AcKoso2BG95sCI2E-9bazo_3BlmfHXHwqpeHYWjF-0I9t3u7ymfRor-j2qMoRf_YFcamqfDluwCwWjbZgdPMnxk3Lsz8WFm3ctQ"; e_fb_hostheader="AcIV7naa8VWiUs31Bt50P9RE-2llay-bnbGlYwXRCrPKNtJEzPBtubj0MNGrCO_8APHTwOZcceiasqsh"; e_fb_vipaddr="AcJMimbmZ3hBNHL2TUG9lsr7A9sQoZseyDTgrVg-vMPmb14ByJnValdHEqCa1lfoWPiWlEQ5C7GiPPV_Uoy4qT0CiU2-FrIyWg"; e_fb_requesthandler="AcJgoojhd67wtSCHpfHjc-RpvjropUQ55k-hsC6KPva-wYhOtSR1kOr7ShOTncOPkM2shiwA2Qs"; e_fb_builduser="AcJ4KAicsYEuB_b6vAwUnPrXSI5m1ERgkBlQHPaVxo-WcQXW1Z8px9BPDXjO3KiRvPk"; e_fb_binaryversion="AcL10sVOI2qD32u-HofuKO9CkN6grfOT5q8a--u0zeI1tlRJMsullNFuidVAgUbemo6IU9Nm9XdYGwqfkX_EsrM76MlSn5iVHUw"; e_proxy="AcJeTSPjy2rYf6CRrHvH-4-A9yqrYsHDiRrmykJfgGl-oSczwoIB1lHgKj2L6GBbx5jTlNlkD1hjwa5y9OYS", http_request_error; e_clientaddr="AcIHyZlPalCWaUuR8tN8It4xbya-YvEp_1Uu2qCO3_0xYFMXPcnJhuLGJuRF2cl62fnGxR6i5mIGSc4T8Q"; e_fb_vipport="AcIeNFz5py4MaXcNTp9kzTdYLxxmNz6wnRTLdNH49Qqvm7Wgt1q6VYsJqffc"; e_upip="AcKpcGudIGJuWywJAxlnmodt3vtqP9WWlFkyjY9WXAuWiUJxWKfQHzzVu94S4947mpAs446brD6l_up90jLGb-QOn7Wwt7JYrA"; e_fb_hostheader="AcKrCcDaqPVB6yhB74ZyGUebrwc-7HlLxf_4dyfbqUj6Xs4rpV26Ko9sZi5BSuDE4YggBKBLejvOnini"; e_fb_vipaddr="AcIqaGWdWkGriVRZQLDvLbxsHLL6nFRY8DXpwa9m34AaM6nrKJbJRJCgE44HlzEjrBMJK40"; e_fb_requesthandler="AcK3GfABBFAnO9y6n95H_vlKGAIQO29U0CFkHF_ny4QWby61QwMJCINbKyPytYwbznAzZBT4xf8"; e_fb_builduser="AcLTFQGv43wLMKECTOlI0CR1vnVr3YEdLKACLTU_PuhDJM4dnyJa6v6D9hwsRjKRkew"; e_fb_binaryversion="AcIBhEC84rD95oievDHvRz_Kg1JBES0LLKT7mLR1OfENBXsQ76ggqLd41w9vffTe4b8F77mFYTPOXm_9TIpnX6BhJakSfuMrvMc"; e_proxy="AcIyrTLlFG10r1g-WuHKOwXZJ_Qu6ccLUsflsoIT1LazFhbAaf5I-H7QKYUas51S4qLywmNg2pn6WMgM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7210842632316335"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 22:54:12: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6807799736016121?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1092312, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6807799736016121?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6807799736016121?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6807799736016121?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6807799736016121?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMT-7XVRk7lrqmcr9Iass6L', 'x-fb-trace-id': 'GGsHc8l16DZ', 'x-fb-rev': '1010946193', 'x-fb-debug': 'hjFcCzDnVAVzOtCoTNg4gwfvGiSAdENVhLs5rhBN9NoakDkH/4aHb5jjj6ruRohNEBi5ipAl52fHeJnFA2x2rg==', date: 'Mon, 22 Jan 2024 22:54:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKSHu8eagM_CVuX2xiXeqsO2m25mlx2PvO2kstdceP-vrhCCnuHiMuV-eZa36b-bGqDvTYq9Nc_YqJFYRkrvlvJG8jjmGmV6aiedgQCejx0Khy2FQ"; e_fb_vipport="AcIwE0w7_C7KaKcJFADtOZsBdE8kS51C7M3buBmLAX2cH-2V59gK1bW_mvrd"; e_upip="AcIvJtm6noS9ETsIBsBCt_aGbyGZDOAQRsND5oJ_DmVoAq4_JxhTp76i-pkGV1oE6RYXbJ5tdcHldlWkiXcM-9QJj3VLEsX7YUQ"; e_fb_hostheader="AcK8Hix8UUYf5OSuIEEDzhPCwb0VkQhORtnx33biRiiSqeBFcPIimFmgqtI6qZ8ZMs-m86SRWgbQAUX3"; e_fb_vipaddr="AcKqVBl4RiUEWNvZEswFC7HZ4bgQu-IKtMUOq-0S2pZtGV5IviCi2EprMSk7SRP9pBSbofZ-V0DFQoYT91BLnil8vfgdNcbaTg"; e_fb_requesthandler="AcLpaT5NV82mBP7w-EYU2vY0_omWsVPxDwxCSptlMv8eVnBqIAoRlbSTlpQWe39lBjxzTxrNG3o"; e_fb_builduser="AcIvaGfHEjLn_U91IV_iBRUNLvbSY-3taowf3BlNxj3vdYPONtcKP_xHWcjhpl5yB4o"; e_fb_binaryversion="AcITCPP27SQzcTo1nyKVV9-pLIBHcTRC-rYz-RVKaWGT_7P35en9IqDhpwttrzIE5yI7DhnaPnxDEvNHB5mmNCC4oAN1NmTo-_k"; e_proxy="AcLxaB7L-BCMPN5AeofRKe_WaO8yRy2HCchpqUkUQT_efCs13Y45pGfbPV7BTdIFfG5epgX_MAYFbmYJTkdX", http_request_error; e_clientaddr="AcIE4TYTOxmV9kmHNFs-CyRknmGe3s0QdiP9n5lTBk0yoRVBUNX9pibew5C-7wxc7G28zZCxiiutLbTLug"; e_fb_vipport="AcImxjqbhPuylMEvOgFplzQWkARLJmBdXelqi5Yph54XAftpLIH-vhBSPHXA"; e_upip="AcJWZYA_-kxIEaXOyAuB9q-M_l62U2mfAf8CNw9ODwdAOzjSZnUdGM-luZa5Lz3hQp7FVPka8TrpI57JKulazTQYg3yMaMRJDQ"; e_fb_hostheader="AcKhEO26YYM3VCMMGZflj9uQPSuMUyD24SmaIF5r0a4IgjDfP2BtSzLMHi90Ad0rsCl4Kt_AlyFE9HrA"; e_fb_vipaddr="AcJ3Pm5CPNcszFgWNAB3xkjTiSKkmfE3Wl1LtsYiNHvJ2rf4HC8NW0xDgn_8-8xqQTP0upRwZ4g"; e_fb_requesthandler="AcLXiyj26M3tvgNze27hE2XtT16MbaMP2u9NOKeksrXxiJb5Y-blu9PrMp7km0d_GvS0o-2rLNk"; e_fb_builduser="AcJavpJOHPR-8qhSWQjYnAyMG6dg12cRVgBMnlRCW3X-0YM3ZJ1RNQwNnMhooAGnNUg"; e_fb_binaryversion="AcIfwa0E1MQxnBDENnnqC-TnqcInVWCoZ7xHn-imP3y_C9XZ1bzfankuL_ke8XdXkdxK_Hqy7EZaBjOeOQKQo8KXtl-5fjfj5HI"; e_proxy="AcKzNxHfq-LsVSDpKS_FcaZqRmGI1T-mNsoTbl4qarE7BJddTnVUoq-lXX--S8rnV0LVOJ68d3fEPbc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6807799736016121?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6807799736016121?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6807799736016121?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 22:54:12: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 22:54:12: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/22/2024 22:54:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6807799736016121"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1092430, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AD1Ld3YaKh1Ln9w2j8ZvQHE', 'x-fb-trace-id': 'HQfd9Zx+Xdl', 'x-fb-rev': '1010946193', 'x-fb-debug': 'tIef69tN7KriMWOraZ91yxwWhgWm/aBE8QglQkh6lIXExqsT7PAvpYqtoZkDTkxOXmYhiB7EZFlFDIzIbotQVg==', date: 'Mon, 22 Jan 2024 22:54:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJpu7PFm6R8VQQq6jUEnBrjAodOqAfJ3g3-FSal6n5lbnPRMZjAIn0wm8g15GG7dz2bUl92PQMEa3e85S5_EgrWAMrfd95vM8O123Bag-06d3aQHQ"; e_fb_vipport="AcLUv3pn2vY7fwELFr6wLElNJ2ScacLgZLhFVYTGrYuCTraaA1-VWXfHvrL0"; e_upip="AcIOh9_8CN6nAd3TnJ8SJ0eCCGdO8bHGzsx581f5ps6qwc-VcFj1m_l0jt_7U925Bc91j9LjvNAg4picCqEvayDV2m1yExZemA"; e_fb_hostheader="AcI0uVP2Cwt8qSJn_DJ5sCQh2EH6gSFEtUnLY5DgvQvZQxlkC7RTwliIY5ZIeRO_AOR3Pxl-UVMlS9X8"; e_fb_vipaddr="AcL6r7b4WNqrq6MzasxSM6ORcXgO3dQyh1Jh7mYcLYgcYDOIsvz_joXxdFBs_FdnN0opBrl1JYO2PMn6zJFXcNLncvUFISTJLw"; e_fb_requesthandler="AcJF61-RsBpLaZ8p98l4iYkwolEU6l_59T2GqogJR7k-nE1OZzSYGw1ytAoxTxgrEzqtnO9yTXc"; e_fb_builduser="AcL6JOUJwWnKS4zptfluq_FbrGOWZ-aubiG6Y8pw4lw-de7WpTeiOCR_8UxQCW1vgao"; e_fb_binaryversion="AcKFXP0GQwml6hDPCo-a9PhkVhfzdbeRdd32kM8EVixSqfkGUGDdVoxgjxPTyCCWSs9GOS3Zh1fUSD_dejMXuFVHz4RgaYCu2Lw"; e_proxy="AcI9UfI_FFhBYLMrJ2i-aftzzxKu_QJ9_CFHV8v8OQwiC8Ynh4wBxa85eugIEpU9LyU7NanB1Je2GCy9qV5Y", http_request_error; e_clientaddr="AcKHTfIP5TSu6l1THOrFT8sVYkuZyKvAZRC0VcyagNwMAf7L-hymHilSopwSn-ZEU8g3l8g6BkgnfPImag"; e_fb_vipport="AcKTVH7LxJS4XVDJ-rD6_HEx2h7Ff0cTjeStVHQORUqOaDxPbgLlA0RscNC3"; e_upip="AcK38OL4rEtqa-V3AcZmxGsh9-6fRYk0FclZFrjp_k7Wj1dITGeYxBYGE7UjGWpDEZVDe5wpNiOgFWb5l5yPRsTeReiQlOCXqw"; e_fb_hostheader="AcLbHS3lV4rShql2ugL-5UfH7ME1vwzSOXb8GShox3WALVeRYT9K695R9AUpjVnO195LO3uTmu62uCLc"; e_fb_vipaddr="AcIJSX7zv-zb7C3Yp0a4_u4TaBpW0h3iNQ7Qzc-g0jUl77iOqLPmtuD-4HjcqHg3j5oagywzJzY"; e_fb_requesthandler="AcLWlX9AjXIQSrJkSBAsvJ8o3fNHcEg-pvQwFd51cxkt_gzF238QhvEhGJaO3r7RRBtoF7-TVlA"; e_fb_builduser="AcJbIDMI_US687ukhDFAqhNsSHSwdbCyCUCKNxezs_jMuCLxpPVMNBL59QpMlbEEjng"; e_fb_binaryversion="AcLxdUGL_mSahU6bQbbpC9K1HVIGeRvn58x54bVdU0QiY6TLSqnwBh4JpLQA8DZzw0qxvwmDuL_aJW6DoYgEChEaKSCWElEPusQ"; e_proxy="AcLnj5TengyJKZeuLoBTEzufziqRPV22-YOuWfZa3m09BEM8A0NKcyeygvRFPTzNoybGqmNjN4GaL48"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6807799736016121"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 22:54:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/22/2024 22:54:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUctLf6h0q1YE8NFPrxsbFO" } } 01/22/2024 22:54:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 22:54:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6807799736016121"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1092528, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvvU4nzq_TB-YAh55MiopqK', 'x-fb-trace-id': 'EFum0m1Nrek', 'x-fb-rev': '1010946193', 'x-fb-debug': 'JgDFhkIlcWfToFGYQJp6FXui0gPoji/ZN+oIi7zLdS0zV4ccUTi6tHLAbqZ/ys4djq/bLnU8QWmCWmjH9y+7vg==', date: 'Mon, 22 Jan 2024 22:54:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ7Kv3Qc-7RQyknPBeMkPZr0kmLN0w2SKQI2kOp5Hx330-u9gll7j027WdybuEBQZHY3KfGjH-zPHrrRGDZfjdjHcLWo9o2ROkkpIMyBvlN1Fc24Q"; e_fb_vipport="AcKEie-RTuSxjy3X7rgoQ5-1bJrNBH-KSDwM4p8s7TWs5BeS1BMDwbIzS04C"; e_upip="AcLGsQKcX3hsAgkaGqR-1KssFkA030iwXZlFrwNU_UGOFVYTT3KGH0iiF5ry0TDHvE7hZTOQyaV4QjXouNUPx3LIm7t0O5vYIQ"; e_fb_hostheader="AcI5V7KBUMkPEsxwp66_lKKlGE4zeOh32xJ0_aEyKhBWR5grPtfvsMtmsOvO1a3Akji3H6liQ_9FBH2j"; e_fb_vipaddr="AcJ_R2PIKamnSKbVwxPLc6WYkJj4mkW0KvVvuKqVF82eSo-rdmxg2wlylkWAfpNbt-hTK0VVo2L-Vql6i3qWzB3McheyHeZONQ"; e_fb_requesthandler="AcJ1HVok9TcCa4EQ0Qm_oWGEyg_LG1p7lY9imJObkva089ZsV6ZWvxt1Dbcj3_aaw2-6V0juT9Q"; e_fb_builduser="AcKNTYh_-Ao-aJwk0IQKOeBvHp1T9C9Xbnn5BzYaVyhW4Qz0UbByldnm0OZd7LqK3aM"; e_fb_binaryversion="AcKOxvkB-Fcnh4vve4NZISmeJeht6ejRhtXceij8AoJrKEtpMjMU4EGVMcp-XnAK69Kp1i-bQoVmIqWFJ1zK96mSuTMUUvkN5fs"; e_proxy="AcLFs05gkH8DtbqiyzT1IWsa9iMwt464zitk2IUG1Y9noKzrUf-Kjr7Ldb7_16wg8FCLcdqM0bSxzGwXv6gz", http_request_error; e_clientaddr="AcLB_T-VrMZ_EfU295yvtFYdpw623CTgnEBq9FJT89U3TVjBUkr-xbJRXTcpmPvdD6GGZCu3QUb2Oex6vQ"; e_fb_vipport="AcLfPwccnYMkYUxx3bL5HEXbiKPnFLvD-NMW441kVmkNY1-w-t0wEsJ0AIH3"; e_upip="AcK8dPw-HLqKhK4FtPvmycevOO8BpURPOGGHVr_355c6OaPA0s2hw51lUr9EMYBXaGjmvjjD9MbfFsDgTGgbSKmj69VspVuQ1g"; e_fb_hostheader="AcLJer2n_cDyC_7NTAVysIsqWhpCQzGV9EamGdCCgG_Si4Wrki4qdnyGFyUzZMpEeWBkuTGhp3DNZYov"; e_fb_vipaddr="AcJ7fKfsigxXNoIS7kVU-DXIEvuytFYpocrAvX7Fx9019VlALHq_afjJF-1v4kUN4F7c2_Lpfmc"; e_fb_requesthandler="AcKnbKIDBdvMZZhYa_sfvC_R2-yX9s5Gw_e3rWpTAX_c0r8tlBA91hPWBLv50mL-gIrn4g9Hl3U"; e_fb_builduser="AcJ0l-Pyi3_sTeZf1qBd8R1r5sTWTsooZnv005p7h8Fn9-3g0MM7g_EuEo3szkW-sXA"; e_fb_binaryversion="AcLKO0F0N3p-TD0P-Fu7ellOr-ze109-bWYCaN8PjmJhCJtIsPBlXCOGdi7FJbal2od5jJ_ojUbNZ4Fbz8nWM7Ix_vDO_j_3f4w"; e_proxy="AcJ7P4ydf8ihbikqn53XohG5CtC8-ITuUPX6PwIJbSe_Tx1F3SyyJ7b1Pj47U9PgIYBbBtGGO7ZzfgQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6807799736016121"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/22/2024 22:54:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AkFZ199HA-j7fnvEOvXObf0" } } 01/22/2024 22:54:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/22/2024 22:54:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/22/2024 22:54:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6807799736016121"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1092666, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxEeRIiH9wqVyP5iafLPGvg', 'x-fb-trace-id': 'G7ltgcx1VB7', 'x-fb-rev': '1010946193', 'x-fb-debug': 'dDRX2ONvaDjI7+Vi1yX3knABdjpZ2QIeXyBBiE12BIwlJd/P27URLCCM3v5LJKUhtkaGC6MQB9kZWHsY+bQgfA==', date: 'Mon, 22 Jan 2024 22:54:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLdBnd-KHZ7Y_xC-f-uHAKci1vQpa2I7Fv0aYhEhJD_9zn-HqDQVR5N8GbNL10mRnOsawGgxpMzJPAkdczSx6pRV6iWiVwSyu2X0rirWcnwEO7qlA"; e_fb_vipport="AcJEPmLzMr-RlvwOdA_TizlQgvzh3-9hXusTqUn4mezhdWU4-Ys6G21mXby8"; e_upip="AcKpIW4UxFfUTgo6ivdz41jZ3a8gW7JWD-Dkv7hfeJ3fk1TlLQNXSzSgckfzWERhun5MwXvVfxtdDW3JaU7Rl0-3l9lNSvQqnw"; e_fb_hostheader="AcLLtAF14dn-G_rx9MFnXWqkv7IMIrXoeWDWryBe_4Zq1EF1kMJ2kCKdyk7jqYy2CtmF2E7HyAX6brJj"; e_fb_vipaddr="AcKk-iC2tdDOUygU35OJ-WzwJJp_nYTZCcFDfOv4WaE_IdTQroHvfpEtkG6TIIlG-EIRsOkoCXsPLPkSiyQfb5eKHC0GkMnKtQ"; e_fb_requesthandler="AcIg9exXdz-Uga0AwWv8D9WDlnNjvmgJRm0MwM2qj3w8nh4Y9H68JOVzEh856Z57HHPu9Fb2aV0"; e_fb_builduser="AcJ8Xnnu92ofarDz-MTDfGcv5SoiUQb3gXAEtdIU5EP2AvFDp3oYv6BLGpTx5CkGDgs"; e_fb_binaryversion="AcK8O3KHEdJ_4on1tlq3f8oa0laFgpDZkMDoV1w1WELhCBvG98jySelw2mtPVL87M1k33oX7ROoJlR5uYPQI4ToshJUxt_t2Wwk"; e_proxy="AcL-A4YvHYCHsMoNC3Fb3V7PSrdqP2Oc1FmbYYFnjUt-j3fkGELmpsGAIpMbCX3xHpgI-nGmxWb98KWd2oUe", http_request_error; e_clientaddr="AcLo37lnNf6H2xJuG5GzvrYguFHCOo1FBTol8xAdVD1rcen1iWGgz4jRy0INazmn_PcVryHNEdq50Yatrw"; e_fb_vipport="AcJQARnp3OWDgYYZuz1ewbn-dlzp3yETY4psJ4luK9w5HcqkaiBxScABvhF0"; e_upip="AcJZyl0kEqHuaCErJA6iY4yPo3UrjmTya2c6vXeVVcn4YM-d7j_M1YTZ-IHxxD8zbBae_VqOM0-SjZy-djvzOu4MsQWn7mT2Jw"; e_fb_hostheader="AcIwizQ0regLag6ztTmUOtCiIX-W8PBwT2RgKOAxwAk0qCdp8ZZIkC40vCCNMP6GtQa1unqCz-ChMbVm"; e_fb_vipaddr="AcKs3WzMLfkoLuBxvfQyMAvksUkmKGxc9nhwX2Gw4O6QFX2hV4yXLpuXGOIAvAolGZ3NdjpYSr0"; e_fb_requesthandler="AcKIy0NFszxl8A7Oy1X0RbcwkpUoyK3KvzBIzFGJcd16rqzC2uaqE7aDBXGRmXJdPCIXw_au2Tc"; e_fb_builduser="AcLlAslNH0R6Sq3ekik_FllaOZfBnz502VnPlQQ3dufquEZe1SKoa74g-iP3o5UrCes"; e_fb_binaryversion="AcKHDzUxmguyW0I6dYxvJRgn5r7kOgQzES-cuA81SMGqBYiE96s7439mQhmByL2iGhnQogCFDS-HcwG4HmxmKcl1RnxgyzTpZNQ"; e_proxy="AcJRJN8wpzzhcop8rOGDWyxk4Uj6i-NQejf1E52WAVvkmBUcFBBfelpP74Kr81oJ4kjzxPQrWc4lygQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6807799736016121"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 00:36:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 00:37:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 00:46:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 00:47:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 02:29:29: Error on controller payload Input Treatment=> type not found 01/23/2024 02:29:30: Error on FAQ function selectQuestion => TypeError: Cannot read properties of undefined (reading 'split') at /home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:68:29 at Object.module.exports.asyncForEach (/home/ubuntu/api-facebook/utils/Utils.js:16:11) at selectQuestion (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:63:19) at receiveFaq (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:26:30) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:102:27) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/23/2024 02:29:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/23/2024 13:23:05: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8663418953675894?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 64320281, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8663418953675894?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8663418953675894?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8663418953675894?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8663418953675894?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZ5JrOzR_Dz5wHKjWNZ36o8', 'x-fb-trace-id': 'CF5bog7lEk2', 'x-fb-rev': '1010962045', 'x-fb-debug': 'sNLnk7iurGVFD9VpbFK0aBlQXkP0yvBkxqoVTV7a8RQqk8Q8s8xkOT8voE9evWrQUITJXxr7M2xdmcy57A1Mpw==', date: 'Tue, 23 Jan 2024 13:23:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKfYH2Pm8cw_zMruiylzcfup70ZpYc_CmgHby_U2qx0spJoiUC-DjMpjBJVjQbj1V1bzdgnJPTRck-pKqolNCdZiNSLlIswDUEIqCGEgCbNnvB5HQ"; e_fb_vipport="AcI3QGj2I9oqbnXvCMqd9ChHd-LUsc7llMQomG-c8E_CG3THxkAcFiNVpsve"; e_upip="AcKQ37GMa0_W8oGwBMACDI_XVkv1g4_XE3kbKoQT9lz08dpH33bnNiEIPSpdJaNH6C7NZpJjDYDa9ymd54knMUC754S4A6KtW0s"; e_fb_hostheader="AcIvcXEu49dHN1RYDeGbUIVzhrjaoeA3VcNoNQVqtWGJYCrx9VzO6j8qnhiSVpgbtslie0xfHNUfvxoq"; e_fb_vipaddr="AcJ9Y0nbXDUgs1jugp1334aTA6Vw5Lgql_t1PRHH98oGw7LRG351L04eU9AlxX8sA858MkFvnTWBlTb82ie-9oiJ8Uhvjh21Gw"; e_fb_requesthandler="AcK_MxZ1cxYfBZ1djm2LRvYkOGDeCfPlsHx1p0HwQYAdLwWAMWI42fR02I1q3n6_EG2dUOfU8Bs"; e_fb_builduser="AcImIL486iAokPGOMjngrBoCAvacGdJ-GasTaudwHWLywODRKqkFys4-Vp4FPQ7-b2U"; e_fb_binaryversion="AcLCsLMpriROQMIjPNkXbkh-cN4mqCWEprq90JLinMnhkaGd3jtx0IWszTa2zFrRiIY8jNmdcVNrxNl9GkZy5kcsvkfHva42Ato"; e_proxy="AcLHGIWv2FWItLuzwxCXVAl3P1BUommok_Rc78OGmkE9Da1-4mDs9WiOp-pWC6vjfx762pVA67wB00Vtf19O", http_request_error; e_clientaddr="AcKMgv2lbInlTfCPwkUTpmfWsP1I4dAVjsZsBbyqGeJXuDY5XmZqspZZ5_E2E9pmrI6oSyETbe1QvUEXDA"; e_fb_vipport="AcLKNVEzjGjZtNmJMMsSeEuCqFlSXjCFpXxSMFMq4NovhouRXHLd8hWWlDr3"; e_upip="AcJ7TenR_etCyxA53Pl2HO4lqXarl8DvbCyPiF4eaT6JNIWCR3NXoctKxoYWtzB-aK5zY-aWqA-vxSnZmfOMLKLt2nuGW8u65w"; e_fb_hostheader="AcJFIdE_fg7fhewSJkR2_clNIHgUShv9hLulw7wr1zW50zF8cCzkhxmvpFUjd540s3TNHc132kCDFwc6"; e_fb_vipaddr="AcKAOzKuSYOCaD8Yz3PvB5E_G_tHEMTCaMG7tHuG7OqPKp3QXj-xJ182qZtxOez2l7bfbpNNyEY"; e_fb_requesthandler="AcKv8RSe0RAsr7E30dI0Rjg8ekdx110eypjRtr8WvTWQZv88fvF9P7-9f11C8y8yWP7Gzq1VFcM"; e_fb_builduser="AcL9KQeSwes-qkvC7jtu3E2pzZblqwTEUWKi-m9rSy_JasFGqqHY3ybypZaRU8od9RE"; e_fb_binaryversion="AcL17uv68v8RUUVij3GZRRJKNLlGDSM7flbR9g8kQIkbqR9xZe0YtWtH1n9oubqj1zAZJybjGFmggF7yv93XeRjY3wR_pbutKj0"; e_proxy="AcIu05yQRYR76_9VOPsleh6JkGobPX7IL9isr6c-UDu7AEB2ZTXf_Xi_3HMcAfwNr3DWPIYUkCn2VX0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8663418953675894?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8663418953675894?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8663418953675894?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 13:23:05: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 13:23:05: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 13:23:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8663418953675894"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 64320399, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArhPxCZduB0JoisW4qLZfbI', 'x-fb-trace-id': 'Bjju5w8maEK', 'x-fb-rev': '1010962045', 'x-fb-debug': '1cX9w/2LY+0REKGU82kA25lX226TdZ1jOOtQGGpyz7aGAkBZY2JdJnFEPvuT6G2v2zL0IfFxsXsh45bypyHqSg==', date: 'Tue, 23 Jan 2024 13:23:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKEBFK9UI5LbEG4J-I5xzfjs_SPQII1koJYCRpW-AVyzu92-lFO2JdT7oBLm5za7EqMOTYEyY0pO8LT6UlgF8d1oYtM2LDdZ7GCoh5Z1knavXCO"; e_fb_vipport="AcKrYTMvOB21EeaoZ41EjbYr2vdsBG3RnN64N6azfpvrQFCM2G6j5JbyX6o5"; e_upip="AcLMVaEzhZ7p0wKWOu6t9zggNyYtPKqO12jIiHzxsxkz8IsjyCj6bNI2gFqSRheJi3wRq6BFiy03pemJ6WBsVySHxfGRm7ezeA"; e_fb_hostheader="AcKljRUMXZzwx2fgvzrrBeJmJm8f220FsWd5i5X3DDg4LwutclmeY0TS-CBcXNSmzoRczkTAraCrc6zy"; e_fb_vipaddr="AcKY5z22Syjc5Vs4s3jXknEdWCHeaBQhMu8XYCtfLUWS0ykkHcXjSW5hvKqR6iQLXSoglZG-yKihcHQXkajH1v8LVzlenlNPHA"; e_fb_requesthandler="AcKhJsBj9VoxBNOAkBd8m1sLcM3CeA9oC0v385S5vpSIUL_J1Aoq0SDsCGPDX5YlDbf-6-UiZ2A"; e_fb_builduser="AcLT2ftL1owTzCdQwcWdxB3u7CR47BuOWeuxXnJR0cxV0U5RcNk32H-xQO43eUvfHAg"; e_fb_binaryversion="AcKwtve7U77nfA9Eqnlg_BGUWV4Oze3kUbcoxaz-lt_2sS7zw_xiBXWb1zL7hYWeYgNOOGBwAf7Ws8odRrS8uTlUKGOxBthVEls"; e_proxy="AcIwXQ63wW9JxKaZjTNCyxJ9jobRHvdtv_7M6DtZydNxhmwuy6VhEsqcQvNumBk6XdHLGpdRDLVjk4LCIOA", http_request_error; e_clientaddr="AcJNcp9_IV_Db9fIEkhtNJt8gUEenRIjG0kLQaM5xF4eIAAI3V7IZr6Sb6e2Ieb1pTNyAtRTNeQgh-UNQA"; e_fb_vipport="AcJt9b1bB9ZfnJLG6IND--L_PaoPkHL2pgfA4FhnO2wA0px6pXWLmLhkSBS1"; e_upip="AcLJeyChWR2IGdnFMbnitcOEkKhNFENwZfsNXKxJaq3h_0rfSBtEosC9X2XwW3FmJ3h9h40Op8SuU3dcWaiiImD9VRDZcnEqSA"; e_fb_hostheader="AcKMDDaANayAwSVTx3_eUBLyoCr6fjq7lFFLrZiLVBKkmL_KNE7N5CSr_EePot9jOseyrBKhAv2Q0C-K"; e_fb_vipaddr="AcLorEJTW6sED7phKsIzXD_VJ1fGWX989BssOZ3mvRWyMFzhfDJ_FRsJbxuaGd4YwrLEsuX2RTU"; e_fb_requesthandler="AcLPKzXDsB1Tj8Bh_R3aHuW47-yaZrw0ytu5fAhXVf7frVerprdp1wC_6CgOH8wqMB6ROoREd7U"; e_fb_builduser="AcL_h6-jkWr0AJTWqDJn52vzoZXJieVBHPOhXqJt3_oiDHYZ-cxDkefTDweVvA3m6cI"; e_fb_binaryversion="AcI5fIosG_Qg9Dkye-FTg2_PZt8zuvbMHQXXv-jEVTLCm30exj1OTbmWUWmL6PyCC0tXS-uSRgiLAXfZcEt_rLqAUmb8zP0OVZg"; e_proxy="AcIXlXWkEv9AGw30C4jI2ATwSmNfM7dHIyr17yE-7pVdqaPfKYH98elDCFlrcpjybsv8hV_VtUkKY6w"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8663418953675894"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 13:23:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/23/2024 13:23:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ab7O05gTyrCGMMD9-hOP10N" } } 01/23/2024 13:23:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/23/2024 13:23:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AqxStTtuvfAOe-lTXG5-fri" } } 01/23/2024 13:23:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8663418953675894"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 64331787, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al1ndBb8pCQW42M4aShgB2S', 'x-fb-trace-id': 'Ai3ghhxk0LL', 'x-fb-rev': '1010962045', 'x-fb-debug': 'XAYnHYlOhkANxLh0Wuo3P9vHKC/WdFxOvCO0SQA4X6L1xV+FpdBEATfHxHmpDyBTDHyyC3OgEKINb7eXreSeUw==', date: 'Tue, 23 Jan 2024 13:23:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIRUW0aAi7i01cwpGW9L7PkUSKl82NJDLlmVgNmaHflCGiTU66XWzVmKa2S6NES18QO_EsFIb2rMDpgbEXUwlc--_j-WvExvjQJ9cKyJEgolZQoRg"; e_fb_vipport="AcJ1UQDEsyC67cbpACIHmfCgz5pOM3ZDmn58nGDngvO27-QuxWQGiCrqGT1g"; e_upip="AcI4fa3PuoibHQrBRrzwad0YLY8fctQxkRj9XG-kyp7C9Gww0gxNxeocjQWgw30kz1TovUXcKosY5OLBE4TwcqJHAlfX09-U6vc"; e_fb_hostheader="AcKxQFiGDKxHPLcv2oe6oL1kIg56DITgWxZww9M87dXqKOI2HmofRfgtGjEeSZPvmems6CMD6DXqh5kd"; e_fb_vipaddr="AcJatmgCuXPRGeyyI41qdxpiGITcEm3MSYueVID3-jKbWVQ6pvpKCFMmFJBiU85tf5GKl5zG3UzGqmfFRnllnyRtvhksyzTpWA"; e_fb_requesthandler="AcKez93Wg-WgHtlBDGOIpIDok0XOqvOHqAMX2H6LdXVkKdfi5UbaBK3ItZxAzp8PVx9MhukjawY"; e_fb_builduser="AcKq8SNo_hdaNB0ONLnxIh8mq_h5tg5CLRol_tGBkQ2_jVPhBLFPqhDSaSBJDsavVu4"; e_fb_binaryversion="AcJRipE1iiS1rSp_6ssV3xoJvMOhxVijbBzQS2zQ39_rmUZwxSF-wL66vIKoBREZzptYWLxT1M_0WEz-AgupHMYUhJAYDnaaq8w"; e_proxy="AcIxYGEEEcy5fFH_OZaftzswB_cIAU6hM80d-ttxEud-ZOD7UGvqPF9temT0gsePFDkkX3y1SvB3LP7hI34", http_request_error; e_clientaddr="AcJiUoCT3_FFKcl67ReMwXKP4ctDyAd7uNeZj4PYv30bBsH8IhhZepOTo32zL5HWNaBUBRDvqXp8F9eSuw"; e_fb_vipport="AcLms7krEjEx3VdfVh-h23sI_-IBqKK7rIiCgAWt3J5ARkSmLDCjjjGM3cDU"; e_upip="AcLFLULHXqOrXioItZNLABzUSJUfHUSISmPWSLs9a9mRuOFi82kSmEEcBQzLU0zKp8tPkEoB523ETNYNuyvkZNlEg4CuLMyKsA"; e_fb_hostheader="AcKR6KB4tZ6VAROaMdhz3z6wy5RlLdp0Bzowoc3MMpf5AWea9quuoOiQK0TRGQtrCUdySRg3jT4PvFrV"; e_fb_vipaddr="AcLXZ6RBOkpUDjtitl7RPINQ_w6vjX98Aq15-_yQWiRMNM-SVFemtmNue_W0Zn43u--OgiDLU1A"; e_fb_requesthandler="AcIc-sN9auu1QPKAmeuoD8GS1E9OJPbbnjlgBqQBST-gLSVYEtdDUDeVot76Ph8uEQiITksPxr4"; e_fb_builduser="AcKCN7JvUkhrBpExm-nr44l9UAX-igmGPFltK42dHmicjwvUeQuCK9pSW1DXk7xwa_Y"; e_fb_binaryversion="AcIZFT461DNdTRjfPmfdDJw2C8DCUyP3gdSz4nXemVuvP8mCltnvYr23TkRQy2EvQZC7RT6-noXEx4nhbc1ncFV06IM7o-D3Dbk"; e_proxy="AcJ7yrcDiA4LlzHJUfw0hzH4Y266TJnM6tem-0025dWjEuvrmh6T4ynyM3ry-Ls3iMc5fkNUi8Aomko"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8663418953675894"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 13:23:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/23/2024 13:23:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/23/2024 13:23:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8663418953675894"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 64343225, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIwhKpfi_Vsuye08vDCXWin', 'x-fb-trace-id': 'EODEUQ6TlXG', 'x-fb-rev': '1010962045', 'x-fb-debug': 'bVVozxgEgSUj7CkmtKhEpX5UJfBPgBHoFy7DBe0su83BOnWNnNZFiMsbNngqG63wgldHlvwoo9qC0bcxXuLIFw==', date: 'Tue, 23 Jan 2024 13:23:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJfcsBqWdvIVZw9ExK0iH-HJcvQaIH2gdJzXPD47O293v7y_9GT3JAxNis2wTI-5AOnXadaQt2E8yFTiy4PeJ79rpSQVfsgy5wW44cb-AG4RqSm-A"; e_fb_vipport="AcLz9eG1-uz-L-JdKJyEhkul3stx9jr6JgUzcjO0IAqAdG8-4eJERYn18AuT"; e_upip="AcKPmIiMBOQ06pLsRZT5TzUBhM_fGogGpNfyr8NQONJ6NBbnRahuaiUmOpXPBFaKZo6FsPNDO97FzRH-19g2kiTnLMmdPMBxMuA"; e_fb_hostheader="AcKAzlmKQ8RYjLJck5xUVinmfIWfd9agq_NPJKIDjSqHkq1yegsdjPycS3rbFAjjnZvKwXdZ1Eu-KgBj"; e_fb_vipaddr="AcLP1ZTFHfmRwHXdor0s-tqukCy7sjhvuPBxAfqocv3M7k5V4Ly3k-cmyRpnZvV6K04HGlOZJhlugqkffqPuiyoxLfW5AHw3_Q"; e_fb_requesthandler="AcIwusKiSt0MJwb6upnIo-teTZnbGOqbroDTB6150Ibb6r5VNtPiV-vLtQF_KMwHK5_wLykpbuQ"; e_fb_builduser="AcKA7dsHbPrVyzZEZYyAy60al_qQeiebTxdWnYeILXK_dEznQMnNh3XGQUOSFeALSzM"; e_fb_binaryversion="AcIqAf0PpjfNTESyWH9MuIX3q_7-0TZiisRM6NvzPm_85gO4bG-_yi3XUF7BF61JonLgpIv1sSwdn_c5OvLwVFYyRg2sw4LcwpE"; e_proxy="AcKbwNAPSl5EME8xEYqksIo97d6NsHPZb90euUwHyNPczrOdXRh-lLCTPi9CI9orUxwmSCUit7ibBacaIdPk", http_request_error; e_clientaddr="AcKpbBc29MLs_vSWh0bo8VrWdGGQcQfQneGwaam_KN4-JkHRArUgwxWCDiAwLeUxTopfNRVP3sVmKKu6jQ"; e_fb_vipport="AcLuorSfKVzoWi9-HNOEA2OiPNdmpAPTH3yb-RZ5YbGTrjqcEd7E1-5UBO0K"; e_upip="AcKu93sqCipzb0-57C6jHfLFadCnJS1NTea5PmmntZTv7rULlkc_x5fPShh_xQztgEAH6aMbli2PNLSJJF3m53a9LeVL9pKfUw"; e_fb_hostheader="AcKJpLmJgh7_JQ9hC8OZvxkt8qqoywSvuGZaZW4-mINUcnvtuHYJC4EmBrW18BvQNZXJPwpDRN7OPnwX"; e_fb_vipaddr="AcJ7wsElp7-TLxcdH9S5dIWYZWSIcg9JHdTtSBJwBJzE2cYzGxSPD9zPsZtjWqrwiUgseaR1OP0"; e_fb_requesthandler="AcJdBsGEKYPorhlMv8va_0FILDKbZqbMGUuTJAYdjxS7Q8dS5tVzwzDzabb1_qfJ3ILX8QFreQM"; e_fb_builduser="AcI4bC-LLxh0ZJ_DtBpgHVBKGng5FMbljsOVAW0M16CMGdkK0n2-0h-Lu2YOQev0AEE"; e_fb_binaryversion="AcI3eV50H6C-KrlKmEZ8EiM-3jRBy3g366sDwNK62j4YN2gCMmbc_9T6TEjbuaFWqETBQpdIQBp7g7HLg3A_R3U2hSX4ja77uME"; e_proxy="AcJxbscvMuTuyNcrcB_OOKWgctke-3dfQKqMt0pR0vyZ-TRWA5y1TM7sBOLXqMQziP85K2M_QyZAkYQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8663418953675894"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 17:46:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 17:47:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 17:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 17:52:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 17:56:09: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24779013011714591?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 116679761, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24779013011714591?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24779013011714591?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24779013011714591?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24779013011714591?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvRKcLZhmpnx0ns32s63Crc', 'x-fb-trace-id': 'GovMfak9OTX', 'x-fb-rev': '1010967096', 'x-fb-debug': 'bAL29VMOqyXBKtPAYtdEBgMKZ3mjSf238ZL+xm2PVkOJy41nLnmtak2BBtDrYqrtaoQ2z8QJPAJBNiVKbFmz/A==', date: 'Tue, 23 Jan 2024 17:56:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIOpP2NiIS9NQW18RVCRvZ3p-sxpC8yoiGx4ERh-LJemNtKpSEPeloMxHd3RIj62rxsttgrEZDSBBkaz91XM87m_J_5meBHazKYu7bcAN7_8VGmeA"; e_fb_vipport="AcIuBqyuQAvqLevZc4TFxnpzUBa1WVsApWgDcrv8hy3JymR9nkSMGrCdZZQT"; e_upip="AcKoGGn8PbEcLkg3WLqv5CukVWP4CWT4NIHAjwtJSQkYdBN5tl91tIQPvjDEEea2PG5_ixymZk7r5WIFZvO-PmpVMytpoUhGcQ"; e_fb_hostheader="AcITRWTAox_YUKmduXjsPRwMKyYwyuxpgRLYEA3hWYxZXYvFRot_4iMMJCiQ3SxJUqNADbhXsffbiETp"; e_fb_vipaddr="AcJpDdRWWytf2CJMG_1Z82ybX3O0qBuqCUuzDxjWiGasuYcV-JW8FHADbHI8SWJDSNQ0mNWewqLiqtRTRRhZ0IiBjLNuLZyADQ"; e_fb_requesthandler="AcIuVomh37XFkuA0bJjvhTE2zD19ZyrtIEEj71vheoGdca-Ku_D7FwKrSUbAhAA1rdONAO88M_w"; e_fb_builduser="AcJqPDgdVU1hsGANCoLMaPeMIRgb17i2QMp7GMNRO5xd3Nlz2wAW0wvkMCP0m4AqI_g"; e_fb_binaryversion="AcJci_W6aW9EypJDogHbVy37DgG77qaTw6l6bvnhc1qVUu7Sj6_tEPEWb4AI6oxESLeyq8phJnHJ8hQp_7cdXg6eSn5W0it3qdU"; e_proxy="AcKMrb54K2Rq1C3Cg5d-pT2ndkEeEu1ORDwy-vsLi7bjVzy__WgY5BcJAPcO1HuXuGnHjqLQqQ8C8XpuIf1F", http_request_error; e_clientaddr="AcJQ4i_xeu7dga0j5GME8p48gH-H8Tp8i7dxXlt_5Un8jMR67AMpwttpm6H92nikXPklsm3G1yOHbVEdSA"; e_fb_vipport="AcISkJae_0YTk-qBW59mOToi304Muvz2G3sDfn_OlXz312lPA2TfJgEwWbJe"; e_upip="AcJSs970wx_mzzwxdv8qLxhBg09yiPPhz5h2oWnE8QfYsA3RLkAJc7YbOSIjF3rgfA1oOBreSG81zXYNkOppMk3u3NyJ3HljRQ"; e_fb_hostheader="AcL7zCzR-cUoKUbcIQlyK4wjDMOTHHfCvQnDOkQX47wEAN1uXYugWX627cS3LZCUnEYQUbkgbX14kgZg"; e_fb_vipaddr="AcItjl03_p9OMmPrBm8ajcJ_dv1XQgYtigFn_H4pv5QwI0npdoIsmrAuSvLkyuWYRPuDPkEQNg"; e_fb_requesthandler="AcKswub42mb2phwMxr0ZKVEvg8Ak0j6dodJP37hNPV7Wzoal3XPj8gjlJJZLrYLZXToh-gXfeKs"; e_fb_builduser="AcIGL1P3B0m_GA-svCcNOSyXcQp-Lfv87Y4vBFJxC6Rjw9ondjpQ7fF35iqEMrWGuXw"; e_fb_binaryversion="AcKvYDaBPWsf1UntuUDwCV6sV0WYG867RhB7Fnh0kSWuCjYPcdtNtwmuZFy30kpQ8yUxTvY6quZgTW1_COzUVMjb9L7jv3N-SWM"; e_proxy="AcIdzpw9rRqGZqCVlzZTrwEh3tKzlUpdMkkUSNBpZGE7lNeh7bwAU0mKmGfZokYL6JUaLdZZh5RQ6k8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24779013011714591?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24779013011714591?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24779013011714591?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 17:56:09: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 17:56:09: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 17:56:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/23/2024 17:56:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24779013011714591"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 116679885, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1-1oIGpetA4WGR9F5MMogb', 'x-fb-trace-id': 'E+W3/Os9Elt', 'x-fb-rev': '1010967096', 'x-fb-debug': 'UsouFnMk0efS28udDR0CMraIpaWlH3iuS04CS0pvl3efPt7vqDfxmTpSYggKFCPhrB6ww98KuvihsO9oejhVLQ==', date: 'Tue, 23 Jan 2024 17:56:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKOKocaCpGGqQAttiLwD_lxCxJzrl7kEamIoWXyeXgNpkiPcBWGaMKTBOJnPuUJ2JSBbU0-2SYpzKkA-bkGD1W33UafhyqVeUlk7dvygLu4t8JbAw"; e_fb_vipport="AcJSxf2dQWcf8A0OyW74mYZrcIUxPS46b773LVQg0II_eOTrCzw-i_Ip0pI1"; e_upip="AcL1xKjLMkfaPVEQFcG38jAl5PGwsVmJFUd6HSajqpxGeOe-7Ge-nj-A7NFy4vuc2_Aiuv1aPAYVgWPLAPc3ZRUm3kyjLkAKuUQ"; e_fb_hostheader="AcLwKCl-elnQbukzHKaqEuzy7EGa4Tnff6it3Kumcebw8dOn4raKbljHlKRXB7y6IJfx8SSfCbvbXIYp"; e_fb_vipaddr="AcLpW59KWIAQGWfy3Rwe7BiC2rx9G3Zbu5_idrnXXlxkw6PzfUMu1HvVt0XM1vD1WcVa_HRyWyL2zS0tsg3mZ9SWW1YSS4HB2w"; e_fb_requesthandler="AcJ-3Q9C2l_DgkV5_8SU54QjkgLZ7hOg_QrOkx0Qnbuu_GszznXeSUi8cTOUKytACGc8n6pf5yg"; e_fb_builduser="AcJmhpkbmFgyY0e-E6XlrSzgaO4Ww4zgEeFVsyrdBK8PR7LV-NpjuG0EYsfvnU0oer4"; e_fb_binaryversion="AcKub2X4J7KxswgLF8SdVKYhdXQNf5krd5ABdWwzvDhO3aIjRsa3MR0V3yT6xDvdbD3YhNkL2DdfBRz4Z0JjipSiWcIo6U-WPUo"; e_proxy="AcIgCck6_YrNfM3nTZubguVwEKPxiCmP02IMxhy-L5RpJn_HPGA8erpQJCL5r1uzxjTfg-JCHbGXVz9DT0GP", http_request_error; e_clientaddr="AcJYTbTmCGB4j6LthFN4b29L-_EV0mnP4faNt49gkjH5TwECIecf4CCi0S8xGSbpkiOW0qhuyb2qhuLLaw"; e_fb_vipport="AcJtmQUFF5_19mMtFbn69g0jAgIxvnzqL3I4P5nEUHgKKlf13e4JZIOiPwhM"; e_upip="AcLIxuIbTRXUh-aG4If8kxn7StaBsn4_KB83QzncY4MRa8cnBxXL95848-zBVWnOpC3-n114rPMsdaLN_4oFFkgWB-t5DAgvJg"; e_fb_hostheader="AcJl0Q39SwupIIfSLqVkr-kUIsQXHLG73R-IA9Pl3ztxWFhU_ZOoEdGBgUcEie0q7z2UVJE2lAX31bk3"; e_fb_vipaddr="AcK-qGpFf5u8jHRV6ov4MoHaO7NxG-uPgWA1d1isv6j_mMuSisE-daNRbjZd5sAhn_1Jk7VW4A"; e_fb_requesthandler="AcLYS9F6-WzQN8ZzsFhvUogu05vzCBKxWcGtz90D4muhRq_OvXlwqktWfbU-rNOKnieTBCxj-0Q"; e_fb_builduser="AcLLFcXa6hNwBRsE3cANUvxwivVF0raMBY_bI-R9Kg7epk29kYr4o3bGmBuix7obs6A"; e_fb_binaryversion="AcKQGsb8uVYU_Q9PNgOSjDMVEMmZ5JP6T546hfcMwvZ9xrjVbOOULO4swmPjB3EEfWNBNeYiyBIeXplfu69Z55zZvDktHZFv74g"; e_proxy="AcKK2z6C2BVC4phj4mQAkjSfuTZTOTqZHxGOP6jdnR0CyjyeAH-Rw4zvdUKjjtGsMo0LY4UuMPV7kLg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24779013011714591"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 17:56:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AHRxGEU1YGafHnj2zRKES8p" } } 01/23/2024 17:56:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/23/2024 17:56:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24779013011714591"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 116679957, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aul3IwrOAJtU_bjv6VOSYLK', 'x-fb-trace-id': 'HuVYhrXblB1', 'x-fb-rev': '1010967096', 'x-fb-debug': '8hjj4vb+Lkapnfyd3roIivOaQz+B4ehGlQqr2qeSPfgtT4J+ZjeI6dLjLv1F6105sBIU1N5Nmk6uyOswBxvbtw==', date: 'Tue, 23 Jan 2024 17:56:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKpxFdJdOoXrXMpFKcWys_mgBKD2pncSFRvQ2KnUIfBizjFXlLNL847xcpfDouvC_TE0mTKXmunamLrY9hOYuAWg0b1lNMXuCgzAXHSRwImgtGD"; e_fb_vipport="AcImfv1bNnZEs9cxncJ_f_E_1GX2CKoZOqFkAttF0grVU5k6FT48Gc-YjI5K"; e_upip="AcKBPTPHz8fGRFOYmg2vJdu-pvVZIkUVDk-gqTxKXgqpKhCHqw3LqM2w-GApYuYgHHEonJxZj5_y8osqD6mQeYDO3PuPpkSp9A"; e_fb_hostheader="AcL6MF56VeIjlEEDEgQc0l0WG5HDxOTaIvlcXN8a8tD80Rf1U7K3c8-LIN1f9STUPKR7D1KW8lMKYJpt"; e_fb_vipaddr="AcICAMGGZQEi1qmA52UjQZfsARNXlswt4PznDUW0hvOmBRplnV0c2RCJxxF9JHr0BMxPksdBeMtR6AxKhADHfgzHm6j0KJEusQ"; e_fb_requesthandler="AcJuDRlgzWpT9vPzgSo1M_UyRITyFSOCtnRTBoo8N7ZjI8mXH_bQUIIliVmpIseoyuI5PRIuMzs"; e_fb_builduser="AcINYNA58HMWePvO-FNxaQGJs_vvNw6wfOCV_Hpj0Gnfa9lMEXdYhuszoMMbO2w_vpE"; e_fb_binaryversion="AcIoLH7cmyDWIKuBgNYqlBWYMXQYlKOYFXGJu2Qn2vBVxr2dv3P-qH8iETx9--pxITC3LfYgWqOWQ-PePyd5CoGv0zIJvkTiITs"; e_proxy="AcIy0IFxF_SHvflJhlyI6wyesE5R5I968XOzwn-zncA0rT9hLwEKFpm2uhxdWFe4qBsnjjdXDsGMXxaehltB", http_request_error; e_clientaddr="AcJPtEU7NcvjvqGBNJEcCqUv6HV__mHIijJpyU9E4a-HFKBkaHIvNeP5YBfN8Q04CaAYr06NAKJsPwAP-w"; e_fb_vipport="AcKcUaehasncBv4bIv31rgVFcU-kYyNEMQX_lwVWaZhgQxyQUcyFjZxz42Y6"; e_upip="AcKo-FgyC_K4yBDxbL8c2lap2Pt3hHa_9bk_HWgKgifMUjLbOpTPjUeirQznN1Bvj4JcIvU_zgZPtQm4PZcFYKK9zIYBjqrTzg"; e_fb_hostheader="AcLleBRJf0t2_BFQKSGHkzsGmT_51gP3-nHBwLZ3Bc-ILbPWRsT_5y5jiCf0QzA8_hwbPWmsKKJl2Lca"; e_fb_vipaddr="AcIt3aPoRfUL2RcnAb7YQMhU4MAJjNBkmwyD-xsxKY3_kNO7YFYShURpHuHY7aAuiSDUpSwCkw"; e_fb_requesthandler="AcJz9A0okTNHYbH3dQkbIDWXqS7Dt9hTAoKyzQu6IE8j1DGc0dVHVPBos-EOmPb3BA21ORWTfik"; e_fb_builduser="AcL32onRorUD8Xua0VtEklHRTv4PsUTcQ_RBfknf8aI2GB_sP6oDTp1MiVtgqJXzGu4"; e_fb_binaryversion="AcKlvTdUOjyGvoKVf7ThS6RCy7SBXFiGry2CY3u7o_wUZ8PC5-uMqf0em1muCAXiVnnKL8_awHwoRS5Xdldl3WOtpAlWYW-GcP8"; e_proxy="AcIg7J2YM62Yjv5m_c3-KPHyl2xjEiaYZO7PiuGzh-YZD_cg35fm6RBzUa_vnZZKJLHGZTRP4tG1UtQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24779013011714591"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 17:56:10: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AZ3AXVjTKf2BfJUzjSSIaV5" } } 01/23/2024 17:56:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/23/2024 17:56:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24779013011714591"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 116680071, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'As_LbOxLyTekGdUaE6kVaLy', 'x-fb-trace-id': 'C39whhYxUiY', 'x-fb-rev': '1010964412', 'x-fb-debug': 'SiYdHQCBqVe2R3rebjp7mdl98F2h4ZYjkRLndzCM2zZ1spmAM8+G7Qg2Rn2AEr+kcsou4KbjUUxRXMPlH7m2Mw==', date: 'Tue, 23 Jan 2024 17:56:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIHNqWFcmTK31l3RVMI2UlnwMnt5xmL6fGrprxX4a0HMIQfvBcOftjEdUeQFVSn2igGs9wRzplV9GBD78u1l0ibwtTN9RoHrWcmdtsAohemOPzf"; e_fb_vipport="AcKZQXNjUT4xYfCLjYGmX35xCcB4voJDF7H3QaUjAYCRosxe4rVwMeWs4J0C"; e_upip="AcKt3toDa8EMdNGFT4ZAwXuYG-bpiY9c3IasIu38UAxeXbOoquUWxp1agGVeYUu3EGJzugMOg_9BgPiFWobmTjnEpkxcRIaKXQ"; e_fb_hostheader="AcIVGzXjLSwqUvkjIdQiicc07WapZRvT0zA_xa09WFQOGLuX6WWn6wqclMBF_721zdqWRgXftvI6Wf9a"; e_fb_vipaddr="AcIKj5-RCJoszglAuPVs_ahFwNHXEQ01iI_n4z5is5QqnRIYc_PS8I8uvfkC3yM2CJmU_tjsiJxCTn6OViengCPBkDuQp2txLQ"; e_fb_requesthandler="AcKHlYD-Psl24Anl0WHwEo0_AsLl71B3bceY_8SdwNri7kgd04rqZ_SuEvBad0U2LRq845Qzzcs"; e_fb_builduser="AcIaCp7dNOzoOMekouObafs_ndsCU2GbYDFzTg4uy1WYsH4joQZbSr_7KOvsvSMw5m4"; e_fb_binaryversion="AcKKRRYS8c6p71KWCZhqdScKEbgrt07yPqIyiVljG8d5xNUHWaYfa8sQSyKulc8tm_9kNVFqaMLfG4Cf0elieGf5cWQTntq_qdc"; e_proxy="AcJlvLwKOkbtllhqCD9dxq2YdSgTRnS-vjgXY48DFnL2_oHIlOPYHyNcfn2iJg9DEeAaTFo7mQ00gRq52tTM", http_request_error; e_clientaddr="AcJKC6qiGNH7oY5KFF8Yfw9CTRKI8ufDnM9_O1SjiuU3HutkkETV9kfC59KGUE31N0OvRvQ2QDoL-eX0Cg"; e_fb_vipport="AcLeCHyYZ3wJJEFn-QuYsC7aPm37H3m_Qf3cH1bpcWWpvKPaURopkzyJ7UYg"; e_upip="AcKn63PYnv6R1-NBhvLqN1l_raYtBjJ3XvestglDX5VqSnDS1fq3w9VRJE3gX1LTN7rKtMmYEHU1cUWIxuMfwAzD-oIMfwxCHw"; e_fb_hostheader="AcJ6Fgf_jA1L4li_hi7yIXzNs5lxCaAcFKTuJiIAh6fo7GeLYgk4rKQNtkyf9kCyifBHfrLOLjo29mL_"; e_fb_vipaddr="AcLbsF7mSzUz-8eO8GHYlTfWg1mFCfuOfyK3eb1BHUSlanc-JSx7FscF7e3Igds_f9p1Q6MxJg"; e_fb_requesthandler="AcIpDTcBCGZ0k3zXU2J15GnhQhWQ_o1gVpYHH8nQL27dFlfKd-OscnLnIAAHzXTl0buU5paK1Ow"; e_fb_builduser="AcIJR_Ikg3GvohvykT5Wryt2mf9mg3Cv5saKP3rGn2k-YXotdjvf5KVF--2SwjJz87E"; e_fb_binaryversion="AcLPUWy4aqtMXfT0OXYb2F_E9Btuf3NQikapvA3vwpcec0a_FXbTJk0VqbkmHpCMJIUZ1LVQjd8kfa6MshAM7p4pUvVbGvFcvR8"; e_proxy="AcIPJePXxKVQIahCJg1p2kIJ2sz-2HJBptzkDkjxdfh2h9_4yEMM7j5FSvTYqWDxvSQgaVfe1d-X74Iv"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24779013011714591"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 18:11:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 18:12:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 18:16:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 18:17:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/23/2024 21:40:21: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7301912819860747?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 170756197, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7301912819860747?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7301912819860747?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7301912819860747?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7301912819860747?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtWNm5FmWPvZOlFKUGkqPKI', 'x-fb-trace-id': 'Fr7cDiun3OR', 'x-fb-rev': '1010971587', 'x-fb-debug': 'getIku+Wa59mBAnedexuSrz6UBNPJbNFMxpR/OD7k0lsmko07Yy3hrMe+XmWOUIzKV1ZfKnt8fPzyGX7wPwOXw==', date: 'Tue, 23 Jan 2024 21:40:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLiWCYiXIehtJFQn7ZJ1AeDQGwWNDhLdxdg6nlTpRMEFCtADz41-741HIiGcVssjUh78mOf1wgumjQ_vn9orXyUk9RqUDxsMi7_RIq9n0unsg6Ziw"; e_fb_vipport="AcJCnVpXo8uGAe-WBDyg7Pzc-BmmdVdDw31SlIA4Vvaiii1GrP0hBAxNc69R"; e_upip="AcL2-vu8FhU41ZXZp_hwJNsaRekKYwq2jlUZjQv-LSJmeemJwc_zfIbY3afI9R4B2N1EIsi2vtZFTvFuwEsKIf_9_Zt2SpXMdHE"; e_fb_hostheader="AcLtNi-jCmMydQ6TAvafjNaJEMWT7tSVT2gQXdzFGcG4kqfYjp_dc3iF3q3g9n16915Y1cxCtHlWM5xK"; e_fb_vipaddr="AcIBT9V_arTM-FQiJqQ-HT_QXK_BNck3j_i2MWjuCBvUTcs9C_k0a3WXGprAsdTFkPSmDFmDXRgKpFcrXZ8TmC5pagwQgSUsgQ"; e_fb_requesthandler="AcJTlYBfyxxvJK2MIGnrdRZ-WVD-1K39DuyBmvYqgK8nfQO_FnrHO6cUT-7C6wLdp6eriIVct98"; e_fb_builduser="AcJY5wWJbFaKm9BQNDXdGHAPx0_jxuMWWhXAT84kKY7zzdGCjfzYjYEdW0kXbU1ko10"; e_fb_binaryversion="AcJ0IUoGDMvLxZv5Au53-I4ltx6tODHv98P6ykpBkDtd9e6vIsSRoY89l67-bPMVFYVepZHhRyczTXcXI0Qx2-3HCdZ1Y2HA52Q"; e_proxy="AcJrDRYWDYJBLI5cIJEXDLTEJT9prTNuezh-_bkdYq9N-sVXzPgID848HLjhRnNcAFTlTxNEMZLXwjGfhAVE", http_request_error; e_clientaddr="AcK2bH6XliwUGKVEmz-1RZlpMQXIVUZ2K70VJ6t1vskix6oUPOSisKQkbmKd5PhhxoEb2RQdl0fyUXirQg"; e_fb_vipport="AcK9B-WDn7gBLfBFogN5PwKPSTDEuTU5CTE4ZqVDa9dKkrpYUpiwpMlZoZmL"; e_upip="AcJ8sjLtJ6WwWQkiyReC8n4UqBFlzHNK1C3Z9RSC1eHgYpEBy1x-1ixcGb4w2lkwNpjBaFaBqQSFkQXSGnxBkwR6FxFUpYoRvg"; e_fb_hostheader="AcLUxGK65hN1BHXDVBFBKpAKJhLWEeg-qq_4Jn9FIJPyWDETB7r4wG4P1Z_UGXpiA0OYiOkaBHNhkelv"; e_fb_vipaddr="AcKdvQPIGFXMNwl_KR-c3LMZPYuQ4O4V6RNGGyS2-6I8NTSQBL1R-4qZ1ArtJKS9ZN41BJM"; e_fb_requesthandler="AcIyORAdE8tVVW2mc7t5P6mzxvQaP9Km3DntIxO8poNU2CR0_FHGymnegDjyCajE3A2wBlfNLYQ"; e_fb_builduser="AcJiLT5lVgJHt6Gg3PFn6Qqs9wutSlP6knYgoHwwAl5NDic7kbt_QpwCzjU8S-KUdj8"; e_fb_binaryversion="AcI4tE-SE0FKlI1HiO--mTL2_R0Qve9_BkcGOMJ3Vq_qpewgEmODAa3fDgJdN8qmpEirotFyS_EZu1l62qoVPLW-XkTOwGa91_Q"; e_proxy="AcKLBOqw2vgCzO8Hf22qLvtKfkbJCp1XMNJ03XXzhxPbaHYdjt6F1VysqVRrsNcqjWFL3QORczpnMmw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7301912819860747?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7301912819860747?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7301912819860747?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 21:40:21: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 21:40:21: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 21:40:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/23/2024 21:40:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7301912819860747"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 170756321, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFdwtwJFKZXL_pUbE8Ess6y', 'x-fb-trace-id': 'FcWLel8Pjpg', 'x-fb-rev': '1010971587', 'x-fb-debug': '03I6ae2+q5fx5iYw69iaCKThX2KKicsmxrmvKj+Ltg9GXA4FKka/64D5tLLon+fVd/RkksU0XoTXcNhok3ZkhQ==', date: 'Tue, 23 Jan 2024 21:40:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI3GDz6m9M5V77ad3da4HzD8jaMIIs1fX_RkKnw5RQmLcYELExp33W18cLJGfUvJDQT-jQZgYGXBofikjmspoW7fQ2YtNr6Uj4wA_Yf_qPU-i-vuw"; e_fb_vipport="AcJ0j2yX_29VW8AcrCHf2lDE-9A0-8anhYkbyxT_awCBJq3ExtYt0HFNVGPu"; e_upip="AcI8jA8_kCzU2EOVg13Etfr-8tP_3mK5Xke_TW8VMp7L-VL76pFsYppNes4JYdgSIucJqyASGE9cyuV-vwhBQTghhIBK0e4deK8"; e_fb_hostheader="AcLcqUZ-AIAQKJjNhbUAHIO_7MaoxxZBz3bgIUBNLaZrfdu-ieOJ2lwPgGNDeJk0pajuoO4WsdiDVC_v"; e_fb_vipaddr="AcKAKtZpVrqBJFf3kEeqv2R1ipvCqQIEGcE7gQW6g1qvEzoDX9j7l9HcScJDgbFStcYK08Zbdzje9ZBfD3yrH-CUjG0bmEY95Q"; e_fb_requesthandler="AcLx8MeC1Wmc0udRt1oI0IAsxabRv6VbFqTJSXqkEFooMM0ldWcpX7YRdCrLfss4gfOpWO7lIKM"; e_fb_builduser="AcKsY5jlHoxScvkAHFlJh8Ql3kX4DXSwCMUrmLq9AcGrneWThLy9XZ5JugAfq3T2Swo"; e_fb_binaryversion="AcLfk6IWTtpwl_ocqANxMawd5444HJI8r3JHpPLBxIW5Yj2nP401rqIAg51YqKMP5PLM8VERNrqyF8yNI98YKeYurRCvGrvHIHA"; e_proxy="AcJP09cvHFH4AeM8IpLazqFYB3iz2oOaGrcOyyoGgaDWhg7IHdZJ5LnrsrxNsgr6itEhZEJdpMfpYrsyUfeC", http_request_error; e_clientaddr="AcLMcBSapXDBh-tKpQCHEgNipwAWmVl_SEmAxnGWAve-NODzFoXdYhpebnbMHIE1kx6o2y2B-G3tFQFlcQ"; e_fb_vipport="AcIi41YQSHhYaelvOmXBclkhf-M1KRoXA1amU-XfKSIlsRwDNp6hfcky_0Df"; e_upip="AcJkz6z_2SA5OyzMZwmo3-aM4qfbcU3E2Rm9sAbji5deKUWe2nxoqQN5uk3tC36UGJ5_jNf0Hm3oFh2ecouXh9KWztZqajbt1Q"; e_fb_hostheader="AcLmCyd7U-12ff-0RdsdAvdEoDF_cC6gDAlOG09fse_uBlakQuV6ysGodEkCF0ViiEOK1rgDYuH6FDIZ"; e_fb_vipaddr="AcKYLqsk_3agKG-Mb0cj8pSA8elVKd6MFhN1P2nF1JZ9Wv4CkCQ9KDa-GSn3NnZYbU7QR2s"; e_fb_requesthandler="AcIPlS-7wprmdc89ETu-vC-G9fZNHc52yl4_AY3-8b-53NCfgxOHaoE7rRoS8iFstQOUP-VTEsk"; e_fb_builduser="AcIMmU7rbxZ0Gh9IEcxFu_87S3bA9mYdxyhWhCF2TimScGMvftQrn0VA_vpo7_yDoog"; e_fb_binaryversion="AcJWln9y6kY23kfiol_Ih8pwBP3mZJfMwkG-QxeJMpHI_JmH5Vil7YC0i45CG3KAxaz2EYMvReUPgirtdqT7tmKwtGJeKZiBB78"; e_proxy="AcIF3VMp0gBEYQRHNh7n96nww_OCbdEAuc2kHSMH1iRXq08L-j1xRinHEdVTPtNpBOD6I6K2ws5dNsk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7301912819860747"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 21:40:21: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A-JHrAnmHwENNWRiNDryk5T" } } 01/23/2024 21:40:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/23/2024 21:40:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7301912819860747"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 170756393, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ag4H6CZmibKBCizRfVwpYuZ', 'x-fb-trace-id': 'G7ncWDj3j+g', 'x-fb-rev': '1010971587', 'x-fb-debug': 'fx5p7aMmP8qSlUbZwEDCZkAl8oLuTPOh+Pb7rz6Ommqk5j2k4hKM1D167AmPSHqb718GeUo1iVe/UM215i2NDQ==', date: 'Tue, 23 Jan 2024 21:40:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ-pcSKuZ2b33TmoCaR3CLYWqDBRlZu7x3lp0Pp7pNJkIT-_dFHVxVJh05e2OHJlQDglH8e6bjYybRwRcGHOsvOdnqmQ14vqK7ot4NvBWJKcq1hQg"; e_fb_vipport="AcKY7lDl1ToHdSTUlbqSKv3Vzca4w4vqLVKhjMsgYx4tTwayt3i4feke5EC2"; e_upip="AcIUAyg8cLf2DEHYZh6CRAQeMw6_SRVwOmE28sJq-jfFpjQf1ado9M8mQi2Iobjx4Xv21GzS_3VXYKyxZYoofPJU6BBqa9NuNpE"; e_fb_hostheader="AcL4mWHzZ4Rgky20ZBEQW329xQkSJMkXs_1ObYbtgly76BNCQQEtSy-qyyVlcS3HVCGwserEdpT3e4Qr"; e_fb_vipaddr="AcKFxeojVmpjXq9VLKfqZZFCUnR10GXbNQ8rxvIxSvUMaWYow0Y8DtUNIqoDRFGzByNO2ERbmZMCfUsIO2eXg3kuddZhSvSXYQ"; e_fb_requesthandler="AcJ5HPOVCpZ9CE_DQ1CDP2aqkuCwP1esmt0MFYoSWsCETSqJaGXsdUGxDCTwkpCjovfx-etpRJA"; e_fb_builduser="AcKRXWZjeBXHj0xTLIGnJmMVOXNFDJxb5qTqHfdIoYUBwR-t3pSbYrOR8TyGLX08Fi8"; e_fb_binaryversion="AcLiVTLXwwBvcNwiYbsMANuVYFz5-j20ls9BMf2-pZW2VQaKuv88kNuf2oIiOT61qk3cOZJnxOlqiFL7Rwglt2L4gBLWv2PB_U4"; e_proxy="AcJJY6gOZR2ZTSxS_3QvKyrYAsteNeT1Fo3znGwo0qLy1E_zrq8SQjOzCesU_bqlOlVhOSSFJFldoAoDPacu", http_request_error; e_clientaddr="AcILoo5u7t3UM8ZXY6W3EUjdUNGKNX69oEkFl4qAYQJzIYQiOp5NALM9whvDsru1k7c6lga8pUUZIvzeLQ"; e_fb_vipport="AcJlY1PZTl_Ock9J4qpMFgivG67APWN4fFPwoO-KyWzIwwstJAI1lALTN2tf"; e_upip="AcIKxmRAQC9uGS-InAq8TK_BOam4-LcXaoDCLTfpmepH00ljv7BDQ5nLVTd4S5fg93tZ_5TBLRwmKCfnSL8HPpSqjKNSTOOLDQ"; e_fb_hostheader="AcLHu9ICrtD4HXO6jnjwj8lj2SzrAqI_VGOWz-lz0y1_s2I0NJhcXalLgVsL8e8rEBx_792fnvnjXT_k"; e_fb_vipaddr="AcIr3ib9I0ZGLuZMqk1tkkh_Ns8Y5VgvRNKoCXcm5dmLczgCQsfjyRjIkSjl7gJL3A1iuJs"; e_fb_requesthandler="AcK4KItzrjs8YBplGh0bWvvJwmUirVCZ5tjbQy5__U7JAaqvbtep3cqeKY3DzYVAyqDcrsOCUU4"; e_fb_builduser="AcKX2LTvis65MEJvFHRVOB7eAzcRMvqxqisw4vMpyN6fXZOaz6VKc80-5z8eDJnR1bw"; e_fb_binaryversion="AcJXlCEgAtXfWEZdQCFYmqbLEPNuaUTYnOz4UxU8JG_p5Xg2VljAREXu4GPEimAqMWij-qybTRe9fRh97TSEDMXNL8qnd5lehZ4"; e_proxy="AcISrpHmm3bBL9ht3pvTk6_ebKPKPjxT_zHWUytxaNN2UuD4bLfkM56uv0dy_Wh8_-X_AZNJKztm8fm3"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7301912819860747"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 21:40:22: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AUXgssV0-jB5EenbOUF5Nkn" } } 01/23/2024 21:40:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/23/2024 21:40:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7301912819860747"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 170756512, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHv0k3_KzWZfMvtD35h7jQ_', 'x-fb-trace-id': 'BVoRMTn/6aK', 'x-fb-rev': '1010971587', 'x-fb-debug': 'uga15slW+iTWjN86YCBpmxjXUmA5luQlXBZCeUaSwuUjUh/g6E2Y6oazXZPxOxZYTi6lXRH8MOC33EQLBdK4OQ==', date: 'Tue, 23 Jan 2024 21:40:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLpxeflSvuf3EyBI8vRjACcbdrGEQmPc1LHXmcFLiuagCIogMb85HIi5ztY-klkELcU1hpveFy-nFq2jgnHy_KaY7IRD-CWySg1yCR9P9d5cA"; e_fb_vipport="AcIWiP0JmOGUiMkAZneg50beZmiL2TOIjWU8IX6vNKLK0wJ9MATBT12I9KpL"; e_upip="AcKf9EvSMSiAM3xcFHSL9t-03TW7pyVaBb1OoU5f3_OKxbwI0Q30PQv9zZyVSz-tSFTDUQ_2n9WpNgdNR_Tn5ejR9oMxcL69sQ"; e_fb_hostheader="AcIwx3YcVpTGKKEonKJtokna25DEVghaPzz2VqVfKWqfPsVJoxY3FPaM76vOxm8--CBiy8ao-8Cjk7-6"; e_fb_vipaddr="AcKabX3yIs4A9WO9EerkH6koKAXRogvbSj8iV1TYF_7-ezKUGLZulDHr6xqguux5s9t7wRp_HeF52yRlR_d5fXhJsPbI62UxOg"; e_fb_requesthandler="AcIImnBpfO4jITRDMYnXHgstWQT7HOU1VS_Fq0Gwy_TJcFZL0F_YzEbeYz1wKw4EaKLK7DQnXZE"; e_fb_builduser="AcJBjH8q2GN9EcsLpCDC01tVdxUlRntSKMIa6oa3kO3eNaz2TnT29ZLOnUhsLChDc3E"; e_fb_binaryversion="AcK_YUzKM9TUvEF2r8DGcwhshlVBEp4NymJoXQK6u-VZP2QL72cT1qbRT2956sqA08Y66m3MotH8_DLhNSdEnqKAp_V0XglmJHI"; e_proxy="AcLfo_IJJlofbBuf9VgQuZyV_qp_gvtBQKHhKCZrSeNdJhf-VcYkCH1fgFXxs5Q9eOngRyuAjsnET4wh6QJx", http_request_error; e_clientaddr="AcLnSPXVSGbFq42TimeS8HHXVqMxtGuhrjJLCELdstQnOodQR9V0M6Gny0NxV_cVSY0TyQpU9MekWK_GoA"; e_fb_vipport="AcIWYIrV_7d7wXu8PIiUCen35XqeTPwiP-bs3wCqnYzn4iFyYDpht7CaqT8j"; e_upip="AcJgBNUt-IUA42_6_t-oY_0eJhcsNxoVsVQmaWEab5feXsgj76oJiF9taHTaLqM9_TAUNXf65UkDjhcf5khntsqqoFxJiB60Qw"; e_fb_hostheader="AcJIW8fuDf0VyPLalFUfK_leAZyVh8by0sQeg6HaRIX6wmIh9zfV1vwu0p7-B_WxR-Ws4Ul-0ZcJowMg"; e_fb_vipaddr="AcL3xpXOnv9Vgp0R7pNSFts4PtZkB77XEvbNW9FPSHpjPJv_lXKMDt6a7ErFN2NAQWkaqS7RJQ"; e_fb_requesthandler="AcJn-GwOte4kjw7BKugShO7geVjeMPqXLSOCnQVz740QFKiiDaJNX9P6jhayo-o8U5QbJWllBBY"; e_fb_builduser="AcLKrAmULT8SjWl2ISOk9MbPE3N2iRwRRK7P9pbYYKJhbHZi1NOj2XoNcdJVuAeoUgA"; e_fb_binaryversion="AcIUJGJMzWWbw3DBj25nQXB2CdrdhZ6Zs_EOuaYXeLFIJ0c8fExy_jvTM5-pN3HD4gglM2mdw1vBeOnayBMhGPTmt3SJZHtuxZM"; e_proxy="AcKF3ljbnEaGY09PhYj3W3DgyrHkwtNXm0cHCiWxr-EAnXJfpTUBTWjzb6Spobn_OsAHjvu0sbzN2AHg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7301912819860747"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 21:43:06: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24584175984561624?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 171480424, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24584175984561624?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24584175984561624?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24584175984561624?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24584175984561624?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APRq8IM9mbW7zUz_L1hzeLs', 'x-fb-trace-id': 'BikOAG0TSS4', 'x-fb-rev': '1010971587', 'x-fb-debug': 'v2Xz9/EDqVXYE24nSqZQg+CVyP7sMX+LrwX90bCsJjnUNS4HOOC1ok+EuisnbtHAnXOH/TCUNzBbfAEIYcU09g==', date: 'Tue, 23 Jan 2024 21:43:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJZupe8gCb_zEBj9yzGZNmgz9JWr0imoNxLgRHvku-lbUCMcWWe5dWyh2TXxkUMAy437Fu_pTd6IA5oBrElsZt3RGVS73teJWu7sJxy7f6SqEQB"; e_fb_vipport="AcKlLz8GNklm3MZQB4q_WpKA0hKjDc6atst5WRW31pT4_0eiEikqzB5Q_jxv"; e_upip="AcIwe96j8Lq8UidH6mPgSqNOxVfacC_Nc-2QJgKHwbC7RRoOeRvnt5qEGB3CnosCGu1TAipJLT85Bhzv86pXAt_lw1-bEp9Ogp0"; e_fb_hostheader="AcL806xAlItxEeKN4g2nZ86iP87hmsF8x-h4EN7HGNfo4zAAPBOPZxByqcSMXdcl_AtERWNfSgOJMQbM"; e_fb_vipaddr="AcKg-TbW_PzGm54ILhHVxG2eJq3pbfxwA0M3qsLzqEo3aXjJ0HxcaFdSaQGWFbNQDTwteCFepGJ7XZ6itcW5YGdYRP-fqEznCg"; e_fb_requesthandler="AcJRdavd1G5sR348PkgdmGGuP0dhq5i1ZcF9a5jjkBDu1brRUatrrVpYykcRUjKkMofJpKAbO0E"; e_fb_builduser="AcJ6TbqMlMF7tCPgcbgybeBLjkmZowJJTx9KCm05h_QZtssicvBpnqCSMQAO7xjQ_LY"; e_fb_binaryversion="AcIXlH9SH_tuIpenNUgLwSxt8aYp8d-qYFMRS2FcLUWarYnvtIz_Fsbx0yVTwkTgFu4Zpdguk1Hcf2bj0k9n-XkArur9-zgXuSI"; e_proxy="AcIaGVi2ctIr7ey-9s14hxwAQP6Pof_8SNvF9dUjai4JFCSyvfEFWLRB-Bh6W2KsoNAl9zegTI8dGsTvKnDI", http_request_error; e_clientaddr="AcJCgIbXeHPi2niA0f2VnbfMitot51N3wu9dmCXZwJxYC5Fx7X3lff1ea9ilOVVQrHf0tRw27SoZpRD_4g"; e_fb_vipport="AcJtTDNyEL8BS9X_cTEocfRPV3je5H6P6e39SjV6f8jEVlotPa4MoqV8rbbR"; e_upip="AcIBGjKdJ-7JemITqko7pK3Y9AZ6BoBs_3tPTEo11DkWbuHfktNJpPA-eAbgFJW58WY_KJ9khofm64gj2nBSe8aTrkYbkfGYSA"; e_fb_hostheader="AcJMN2RRUcVN8NhFcM9Hu6f7qOGtcYlru_gL3Olp2tlhdkiumY82TXkrDo33XQrL481B6RRQQlDVImuG"; e_fb_vipaddr="AcLgOizBLMzs1rDy2txayqjLLLFHUnQZtQNn6Cu5mPQ7_E7QEYr-Ny9zY_s7JI3uXcmlRoOvDg"; e_fb_requesthandler="AcJpMfmj4jnq-_bBDnc11VaxmWqz29d-qaxKY8gQ-I64ZijTdbEhLgHBeZz37Z5GX5yJHW7MAh8"; e_fb_builduser="AcIks0W-iOLa5kG0XaeOnzbPDoK2psUHRSln783Km-vRTREQYCX3D5leeyvL1S_Zb6s"; e_fb_binaryversion="AcJBOg22O80rCLbDfttVy3MWQneCdzEhA9ZgtciYRrLhza-INPLk4oBOXCBVgbIYwB2XAYGTlStCRAHYWmXe1LfY9s7y3XpGkCQ"; e_proxy="AcLEu_YWTekvirekTuxHfAkgmV_o4p4wTq0TZD-G2T4rt4df9ENPM0TNz-5TGb63aQQa3nqNpNDvnYk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24584175984561624?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24584175984561624?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24584175984561624?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 21:43:06: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 21:43:06: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 21:43:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/23/2024 21:43:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24584175984561624"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 171480548, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUYuCsCoRO5KNGfgzzvwyC8', 'x-fb-trace-id': 'Fub+5ux8qFb', 'x-fb-rev': '1010971587', 'x-fb-debug': 'BRfUJD3zp7zi1AOEWb7lhsCX/eZ8v2lr6XD5KzhVegCuWr+4ZNtTEa9EiMpXJC9DmyqBK0U6ioFQQTmySR952w==', date: 'Tue, 23 Jan 2024 21:43:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJjAzgRy5OCK6QWx-0DC6TCHgn5bRnfBYol7xsjMXXN3SjdI7BkkhzznAFspzzGUh9mC3LYEHNgJNQ5Oth_9afR977hnbd8zhSei8wlRED9xixnaA"; e_fb_vipport="AcJ6kD6ykF9PYWtgi_9W_ft78RILLgB6XLT_70WMatX1Kc_8NKYdShf7O1YR"; e_upip="AcJhkRvD3Pi0fuaz94fIIpMMmvpqTnP7i2s-nCpzG8HuXfO8CyiSBjcgtBkX6PZGHDcAXx6pGMFU-yvpo9VwMwwMWVF0S7VRo-o"; e_fb_hostheader="AcJlD--Q6v2II125SZ1VtT1c5aS84fOrBgmZngwBSs3cXzA6Lv7-iWaABc-7spXTuePUBFWuiWKMU63H"; e_fb_vipaddr="AcIyWE5iiC-Mr96eds2-9hRmjUTgXbr0m2ega4RImaKpYIODwFOs2k9LmqokyX4nLp97oHbQC296Xi-e-s6ozg4vg2ydE6EHqg"; e_fb_requesthandler="AcL2pG-FOlI6x6F4zCmCqYpD66xpon8CRLn1Vnu2_IKFYu10vbDlby2Etk6o1yn84blyEnaGoUo"; e_fb_builduser="AcKd1Cq88A5PMZwt5ygxODAx0hYPKIQ0-ZArelzl5y1UVySmsDsLSWiUqPX31hf6Fro"; e_fb_binaryversion="AcLKYrm80BGgundJeDpkP31CEA39O_vf-XJs_Q9o1guV9HKhfKlhEH1oVho6u-Pb7OYC8l_Ft5rCKq2KqNajTzAbOsmEu17JaQo"; e_proxy="AcLHha6QERIfraooSLoMbBOA3mkXrYvqKBvH51R4xXpqW9Mmd9tVUisomreZPmV5ssTd-htsVNQmOBb0_Skd", http_request_error; e_clientaddr="AcKexjEvWx3fmpLhbPQogPSsC6-SUNeH8wMtoUZsjo_lH-rgWwh_vyAfDTrhqHTidaEYqLv3IW31hG7Nuw"; e_fb_vipport="AcKFfbj7EGhVpabvw3aRBm1JbqYs132QIUr41aAZNHekobDDC53F3iL6moI5"; e_upip="AcJ0DGABRnA5tZU7hWrq3JYxKJgeDmYDTE0r19V-SLq3V3UQPS9iq0KyZLVB0uwmjxxBSJlpGHjQ8_dM5mHG61g07KQ_Ap0Wrw"; e_fb_hostheader="AcLya3uvwr4LlT2pt0WIJ1qeriB2ZFz6NncZsMuYqQH3YyDw31ylDeA_Zj0U6BeP71brMAPP_MrLj7sC"; e_fb_vipaddr="AcJdj8F1wwIJDnWR_sCrORZD32L6-vBeTvTOzlw6G2WjAa33sSQprsNa1ErqCOPEcPyOrFTFfA"; e_fb_requesthandler="AcIN5EXPbUDz14gD5mcwD6YOv9veSJl9eAHcHpkR9hSe8pySOBTTV8mi8pxMpP5qZ6uIL4MCh-o"; e_fb_builduser="AcLPB7yUBDl3at9lhH3r5aG2i6cgXu_Az9VX4MzPfYywHf-01eAde2K_sRyJwX4Jvc8"; e_fb_binaryversion="AcKQccSXwuUGq3d7--mJcu8LxnD_pFYPUoAdRfKlazKqIDfswtaewapeC9Ap3Rlfy6Fa1Qs_6xFtA9l687sm_gUwVHkSPpNT7rA"; e_proxy="AcIaINUFdJq2ivC6OUx1BLBbXf2DRC6r7mDvcFk0eRmyllccjUwLkkmEgaQhfyqqwTZIZc8bOEL39xs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24584175984561624"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 21:43:06: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AsvyErFbyG9_N5UH-p--z_g" } } 01/23/2024 21:43:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/23/2024 21:43:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24584175984561624"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 171480625, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWCd5cY7cNeT71xwzdbEs59', 'x-fb-trace-id': 'AGiKMcDEpNW', 'x-fb-rev': '1010971587', 'x-fb-debug': 'OavGoNdGFtd1IhdnKYqVlcpMpacFDdIaA9U7FJNKW7mfthQFBgLzlAf5DQQQkjdIFxrux8mQfu5344Fkkud9Sw==', date: 'Tue, 23 Jan 2024 21:43:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcINr803scW67Vd2igEjfhYMwXzc15PC-VPAI9O6ZJv-INCHNRzkObOhWe1GbK4MjVmJ-XZNnOkiBWHgLz-RXYZLdT7_EyxIDVqMEym0h9LThX1_AA"; e_fb_vipport="AcJMWMJXedYzbojJUo0ocbYcHqABmVbmEdjIZuB-5SUW4yyKhMEG7uy9SdpZ"; e_upip="AcIhM46hRYU8NpR-4MzTe583fQmP4z8mRx2tyNFgNF5VkqMsuIZU7dfgiT1gcxnZwvb5OlCqRMT_UTTnnAysHLr8VCM7KW9LmKI"; e_fb_hostheader="AcIK0OgBTDjbyIptCaf0wJubs5wfTa5k2ueF9JqtQcsIVVtfmN9r1z13S8GN5e50rHTsAw6WWej4J10u"; e_fb_vipaddr="AcL6fE4Vi59YXajfwOiILSRsR7DqG1zP3uingMiHodMDJEKgaFO8Ht9s8Ppg4UHS2Y1y6T8qD99k0iazOe0OY4PO7txmcEIWQg"; e_fb_requesthandler="AcL6C-sEcqzvna6GszNURW4VwhtmlNprWzm4_eHD53q-Wyk_6i4Sjgjy_kFoyoHeNNgPuxqD6Xg"; e_fb_builduser="AcLXR6HNBshSvdXmYnJPeLnoxEud4KVptoNXsQplDg637UNgLL7cgVQ_ek0SBufq814"; e_fb_binaryversion="AcLSngSwTpdwiLwblACyudxcAKQHuv_UIUiehOM1JxY-_PdeEeByduoEZxm9RXXeVjvmKm7WfW4N8g1MigKbcHGt-LhpIdpyXdA"; e_proxy="AcI__u-qKAXPetc7vJi9ugW9f-oAbx7nU6nReZUrnbu9mSjjHyZP6RigLFnZcedjyPl54zl7zVXYlbVjCIM-", http_request_error; e_clientaddr="AcJSZSc7nRfsiUkDu4SmHpsW2iWDyMFp8O7p0lH4YSnQmYFNogjhkvkHpDgNbyQFnGaSaloQHQcxSKKClg"; e_fb_vipport="AcKSS5tudAPQbqX5qukNFOkIc-bl4ug9Fr0F0qszOiSrIZrHxHF7OzpataC0"; e_upip="AcIw2uYraoUoHKzS6Y4lM2FIsmzTi_bI9vSpHQ0tENoUpj8O5qlyjOhfBamW5GBfM2iwvx9zStPMHhVEeiG5mHKMvwELNWmqBg"; e_fb_hostheader="AcKdGEaaG7j1Q4AsZKpx5ao0tsVxI9xzatfnnc8MGCb3lmWGUdLe5GSHG6HK6nftBwgFhnnsjxMsG9va"; e_fb_vipaddr="AcLOKG-zw5a_ydSn-_0EzsWRVGJPTWwMj5dEJoiKMiurLt3bJ63NHCc6KhmbkvttE2lOKIyxIQ"; e_fb_requesthandler="AcLzfBX4gAKLSztPbLEvdnRLo8rJGSLY2cHyoKhURh80cYodSSc1JAScZcDCv1VNIwwL8RegrKc"; e_fb_builduser="AcKGyV5j_bfXGxjzXV7E0v7EWxlYkUA-jxLGdu4v3IUZaRhxAX650tYx6xGQM1DfSxA"; e_fb_binaryversion="AcIfKWYD4QoOL5DG1Fd5KoIrlg2X7m7POMbuRd_uckQXWL3q2ejS2Dd4NcuMBseKGfnhksQEaTUh7qC0qOU3JlNwMxFk7kyPSJo"; e_proxy="AcLoAhgIeB70lWxmieV48xFztUly3uZ5euhfFoa44UPPgJTsEfTcLiCikdtghHfIdRdmqhC3uacdos8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24584175984561624"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 21:43:06: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AGQTgSpg8YpYXYzhIH1vUNP" } } 01/23/2024 21:43:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/23/2024 21:43:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24584175984561624"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 171480739, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOjR0fpJ32ACP7X7fCe9bVD', 'x-fb-trace-id': 'C1hfdRKHz/8', 'x-fb-rev': '1010971587', 'x-fb-debug': 'OKvecdOuD/LX7M9MRXzC8dXxaUSRJmoLYspljUfCCxu8slgzbL2h3tHaUjr17DWGYHcsPjYsvyxCI7gAaCtNgg==', date: 'Tue, 23 Jan 2024 21:43:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIsQb_318uCBpZjoGCmb22MZd0m_v3tHMtHNb0r4uRqWBF_7UeknyktctTIV3pW3699CjlbYg2o3KgQj7hm1RUUqV7O01KMj5oVvcgnoGT4yu56Xg"; e_fb_vipport="AcKJnW3fimeWrcX_PIhBkX-mv5Igy8x3Vy8I2LVMZlmRO0Do20BKXZBtOpMw"; e_upip="AcL5V3Bk3v2DsDFl6oToFuuEz-yy2v6S6MHqUndkJZxcs5xy6iPr1EP2UVZX-qcEQwVU2qVYK9xKrbuSDkx23fK7n4ZpcNVcghs"; e_fb_hostheader="AcLOCGfvrrVh1fNW196cr5V0AkBW2F95z8NrYxQQ_ybvFBY0kWXJ7OAgsBdrSx236JoqPCkXKnr_xsys"; e_fb_vipaddr="AcLT4KcOus9Bdkq6kL0sVx0TtCdwZciY5boopVp_tla8uooPhWvu84qORNRZ5fU1EOavR7ljlckcNIsqb02HaveOrX9710m7CQ"; e_fb_requesthandler="AcK9KMctCiYlPB5iF4LTszWlMeKQ7ZLBQmLqWi10DroJX2TwQSkWUD5SupUXwNWkwR-CcffmGdg"; e_fb_builduser="AcJk1H5pyzTtBXivybWfEw7vmH3_JBmX_YvSjhZj6TYSqB3bkpS-A49T3KLbRJwfWeE"; e_fb_binaryversion="AcLle55gzRXSOM42p7JBxc0ee7b_Fnyd46Z1mhLe2JzT6_dM-pAlCR3XnDw90JJLqA9k_loPL-4hDGBbb1E2o3TsFVIAERW8_pQ"; e_proxy="AcJoQZcsa09ij7vA1GbOtrK7sWV3jPM0yrFF7sBOL4DhppCz_GbVDjiM96JpOQXPiDH4lQr0ZUw5rMY7o7KE", http_request_error; e_clientaddr="AcJx6ZSPcT71EXPZEvzs-aEghY-1sPGrCuliGc9gK8-jqh_6xjxs0HhmAjIABm008NvIRL1IO6I-SdxkxQ"; e_fb_vipport="AcLco5o_S6QR6wnVKBtFAlRsruormkjEbo3L8BUc9Z3l4wl4Du-z9qeetTpp"; e_upip="AcJE-ELf4Nv0EFZpCJt54lDUq2DKRK9R_ZA5mm0eh3DGYowozLQ43dvSIdDiCGnx37SWCpXQadGxtCioJTt4Rw_iYn3GVD206g"; e_fb_hostheader="AcISRPUBox7IOiXbpuX6vmt4u4B9Ppfh8yoJ0OH58pv3UASUB2vA47gVvrE_QWnZPgDjxyU2wKQb_fVt"; e_fb_vipaddr="AcL8Gmp_SMgRF7EYPHKtjMehvULTUshiKtSHyjSYWoBxTbSzY75SbdccxZFCbSgDuOd7SZYoog"; e_fb_requesthandler="AcK7mVZOzqP2cmmicCOTXeXurrn_ssUEqehAEpkS70UvljolHMnAD4YfZBY0HPG0mbSqTJ9-UbE"; e_fb_builduser="AcJzoy_YjJRoI8IL-vPtKZafuc3NUofrk4-q7aMeLRKCfms9fEOlfNEdfT0yIApbTvk"; e_fb_binaryversion="AcK1bcz76dR3WK0hyVRnh2Ou3kUo_j1WCqCQJHARbbemxSZVi2gl39GVqMpH2OeoEPUOetZSJcwYJgPdG9yeEV25os9mZogoVFg"; e_proxy="AcITJSJ1kTPP9KKRMH-3P-N5qs62g7whGUTqNjVto3K5VgODQNsfqXekyyEed_8S9BLBb0BUzHjcYuwM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24584175984561624"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 21:44:27: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Al-tUszNTdtmen16t3cQ3zc" } } 01/23/2024 21:44:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/23/2024 21:44:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/23/2024 21:44:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/23/2024 23:26:11: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25331943986392765?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 199686267, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25331943986392765?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25331943986392765?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25331943986392765?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25331943986392765?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5Ug8ZkkuwB5wwOMpHum0fg', 'x-fb-trace-id': 'HIvtmwMS5h5', 'x-fb-rev': '1010972604', 'x-fb-debug': 'dwtflJ3gKk7NsmRA7CGci2e8ZvTypkTvvDyfDa9WX50DtBige0cufR+MT/zp5B7zNeOZJpRLTPLu9obTo91vsQ==', date: 'Tue, 23 Jan 2024 23:26:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ-cfcy1pSNtQ2098rUxIN45ONgr5u0Nma6wLxALxtu-0Lgy0I_DA84yrTOlr0z6KG-ItGH-lVLpfttS0fc2VX8mUthj3ZP-Dk-zYyNVI14Jw"; e_fb_vipport="AcIrNdDiRN-1S9AiPRgwf0W9z8kSKTrUpKAOWFFPrKA9B7BB3SR_uRoubR6o"; e_upip="AcJLQo3BISZMrOKv_VOAFs5YTX8NGiHwKpUl4ntjvekMyDRegJen45UN4zcpliPaZNztgfY8040AUUQx5n9mda3t7C6EKvmy6A"; e_fb_hostheader="AcJgIO7ry_YVUfA79Axi6N_EJpQJSTvG1wAjD8uLV4sCSe6r1P8AkmQtaJJfCWNH-xOXJ3CEE-SVwOe2"; e_fb_vipaddr="AcKTn4BZTQMvtHYypNFd7pAA294nzTkuLIqrkH99SRpXxlQ6AFxnn7xg8ogkZlq50VHzzzeWgXCvnMqTMlUFygy8BOPi3WjJ4A"; e_fb_requesthandler="AcJN3wWqUV0IYggTU65xlWrrFcB4V0AkDXyR_GcR5P8klroQPvUmBRQio4hSB5hNKYZBSUBiqVU"; e_fb_builduser="AcLjyW_p036b6ECcklW8rzOB_gdj0zX2HwEv7kargDT6NgWZ55ndlZilF9Xv2eKDqNQ"; e_fb_binaryversion="AcKZ3kei_GLF6_L_L2kz3GW_H4TJWdJkcHMD7sw__07q33JwRIomA2Mg1QkIy5DKjyNtyx5JKcdAkLsiW4nujrqnKJopMXaizkE"; e_proxy="AcK11UdF52w8MCR7o9uKG-nWsgxKcCiUrETXPUz9p2iiwgY7u8CjbThqREhURq5OrJZbYQ_vxIq9MJKAlcgC", http_request_error; e_clientaddr="AcKZPHSsfjzV2NkWMY4F6VBWf2RYGxA4B9TiaEaQgrVl_B99LDFDJNIArlp97AP2zcNcZGjjxB1JNTr7pA"; e_fb_vipport="AcIomOURybRLKzR1Dus5j0BNom1Q3uoSXSGQmP9aWQwl39XrXiAkr2_2wbUr"; e_upip="AcK2WkEH27KdnWw-3CIXr3IVUizF3KyCFpQsOmxjb4eN2uOKFlzrYvhbiJcXZ4W27xMHtlnIkT_YveyEZNXsmc5CQXiqSRicRQ"; e_fb_hostheader="AcKlfGGlWUdlIIhYzcgi35nhhje_eMkBYEDR9lZm0iO7reelWGpYJyjL8o0BTW6YYpF3_zEaTgEu_B45"; e_fb_vipaddr="AcKfk4mEsMkOb7Q_78nQlgF53Ahu6jh7e02DbK4R9Dd7B2A4kUnO1Fz5ZHiChlMN-ZSgR6dE-g"; e_fb_requesthandler="AcJIE5Xw1uGqSeBoQ_9ATbOoqgascHegPf_N9kOcElx3T-zS2SNDaUd5ZSubfpcTLf2c5t5PV_c"; e_fb_builduser="AcJ8ExkXorTBJxoGomdnMRxT_xrCP1WC50VHRGa5DoBLtcRi-xwfGnevipiNsOXJ3nE"; e_fb_binaryversion="AcIcRGSXvC-ZX6kCsAX-w-fBgaiBFZu-Oyujyx2lTMq7FPAzy4HIHxPyUozBaAVob63O21-LR0nPNINBftCIONb-scRPAdVbp9s"; e_proxy="AcJiJ4yQMHZZgfmqDEv5V4uqy7IRT_E1U2idS2Wx5h1X479twdrqT5tEZ-_0S_g8TwXD6wUws6X64C0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25331943986392765?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25331943986392765?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25331943986392765?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 23:26:11: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 23:26:11: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/23/2024 23:26:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25331943986392765"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 199686390, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_bwPxUqfJ02LOUgd0vgyO6', 'x-fb-trace-id': 'Bs0s0TDJLI0', 'x-fb-rev': '1010972604', 'x-fb-debug': '1HljdxbTnzhzfTk3dyVTIqTk78qNEEolkNJdCk2EbPjtmK8pWwdJNsn7C4bPuY2wBFLtS2LLoAlLivS+U6x3cg==', date: 'Tue, 23 Jan 2024 23:26:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJgI2DAutlbbK6_xt19O2LgH7RfCF9CdoIQVpUnEN2VFo9HFK6_GTxDhmV7jIBmTuDTZjKnPhNOh7Xf7BTjqeJMSfkAF02Yt9G7ydfTMDe2Kw"; e_fb_vipport="AcIldXsbfRs7IhV_vBbJvBJldTMxZNpCYM6icI8QeY63XwM-9H3tbzpd3q1D"; e_upip="AcJ4dmDpOM3AwlcVS_PgdKfQfcVFOGiT6xfBP9KNbp9zENd7kQC9eA839nIXh6Dg_qMRGiqIehVT-v6qJzamiZ6ZXcjWotbPQQ"; e_fb_hostheader="AcJE7iv4_iz7RETlf9Hzr3OqkCOUT88dJMBLivEY7yeZOnuWWrzKIPmR_0EZEmIC3c5vV_iXYT8URHhT"; e_fb_vipaddr="AcJIl-zwHy--KrWCXusijo5b95xvM8hwzR0ZvrIt_7Rq4xUquS44q9moR5h2fBf2ozXikm9GR8zZzsrVFT20k8wcpOJWi5Qppg"; e_fb_requesthandler="AcK5fTNtOVaInvzOYSsLfcGb3rwias4RObAVGJaBurD-bDCcyxCopdyLJblY9WSw0NIGnvNgDKM"; e_fb_builduser="AcLGY6DcXZ1AKEvvf5KPzrrJfOH190Zk3IACPkSRZrgBuiy24gt32mxAEiKaqIdwUIU"; e_fb_binaryversion="AcLo5wrMHfR-SN-DseQeHz8f1Cjy935LOpQwTY_HJgMCg5KdBJu2K3ZmJ3S8cBgrH6hr90X6IWPdF1VigGSVXzU107VwVXpfBUQ"; e_proxy="AcJW4WuXOHfXzfcCA8RjKtG1gAT2vizZKnG88EFz7nhyKfY2wWPpe-0eNhxCt8mC5YsRm_fEfQJKBIlPM3Af", http_request_error; e_clientaddr="AcIsKNGO1LCH9QUNIfj5c1-TLw3VSlm7W1HZqDaAcx05wPf4iPcpHTdK_j028MyB8CoYNwDqSnE96Gp3pg"; e_fb_vipport="AcJtpggd6vKp9TFDV7Mr_BVAKb4_F3AF_kNYKI6t7hY8HMLkiG6Cteyk_3S0"; e_upip="AcKYrrNJTlQuaZlDSX1KX9_8Gkb-3kcvX1FrIiypwseuQmoud7UhE7hj9CSDUdTZRIOGqQsT6Wo5o0b9QMdGnUReD6IaRrg3Zw"; e_fb_hostheader="AcIPUlWrgdxx6iXnj-7s3Bzzm86573Unv86sIRkky0ES0nWiD07QcOxAk5UtmYUHq1HroOBPYpb2e3Dd"; e_fb_vipaddr="AcILln3Df_SbD0xh07jWV0C7Um7FamqZjn5GsVlekOtxTj5SnOdxdbx8Y_rNaExsp-rOctWKWg"; e_fb_requesthandler="AcIskTRZfYgHv71Tfhu_xy6U28iSjHUe_F_WEgbmziPr8z_5mKLmx6lFSaLr1Eb3CpFEywfLcXU"; e_fb_builduser="AcKgrVu0BeOT0uveO4g_RdlNoyggsaty-kiHsFilAc-gd5kNNxK16ET6lWWVJwRpCJo"; e_fb_binaryversion="AcLz8lHkvqpoq-D7eo22Ble8EBzG4sw3Oe2kDkQz55hHvwhNOoO1Z9OQCP88sNZLHqa3X6D2yGVfQNNxwYoMUinyAv9aIJC_Blw"; e_proxy="AcJYvNxNDinbBQ__tFVH_vwiYyDxvi9RT7YiZuVpTqACm1fMBZFDPzcOAZEedXlPC4a0jOvAW8uQBgU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25331943986392765"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 23:26:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/23/2024 23:26:13: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AVSStl_pTVGtXXsu-2R8hQl" } } 01/23/2024 23:26:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/23/2024 23:26:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25331943986392765"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 199726575, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvgROVtPG-lgrZ4bvOYerZC', 'x-fb-trace-id': 'FQJ1axIig1s', 'x-fb-rev': '1010972604', 'x-fb-debug': 'A6eHQH3oFyS8WoWO2KzttiTk61RGWxL6HkEJvTggKcq6m5lYG3lBnJJgCUtjk+9AL2WPxLyAHW9zzlnEbw0q4A==', date: 'Tue, 23 Jan 2024 23:26:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJakDeqquLRYT9qkIcMOyhwGhGiCFQT-q52UGqfmqEdEGt5YeTbyuKZlZeKalUEzNzC7UFasOsZ1ce1tx13M3qmlGjaNzAwgI9V-IOa6MeYXw"; e_fb_vipport="AcJn6ysRyQ_6tlbn-t8rUIezRzzajH5NNlKukwVFpU9cBQ7ifSOjtZ7b6STj"; e_upip="AcJUK3zkRF2XI6tVUU1yxlyO0CYiRW9Oxg0IQ31Kh7k57cYaMbC2SQPfwctT44hOiF_R4e196fCtHRaDkXyfrkevsBbynVBN5g"; e_fb_hostheader="AcJ7AiLGNvl22LXwRUZKJ5rOVvN3aSrSEBaNGQC1jkvBtuPsBGIT5Sqn8cg-cilR4EqoYPJrKDs8bvNm"; e_fb_vipaddr="AcLpFZcBUKN_8nkgzEk9usM2eQYUsJSb8Sp9QMs93t4RNp0LN0GHdRU4IrdYTW5Gj0rpyDYO5RAVmxALRjDiynb4ao99D-dugg"; e_fb_requesthandler="AcJ11jHQBs_9y_qIpfQJAhJ8x87qC-FTaZfPVX7MEtsrAcMQqG7mOP5MPpQRYByMSUCIuMlLSjs"; e_fb_builduser="AcKX7LgAJvcpNBwjI8lMstGm5DE_YARnCiC7mKvEVIAlEJ7kY_oNZAliXdacVArM9Mc"; e_fb_binaryversion="AcIFaoP53v-H3katWHiXwyw6trCkcjudIvde0mowhrkZ5CyxUOIa1cHFTyJeXSUUmVE2CbHp4zbonBa3C9DcB1HyeGEyAsxeYNg"; e_proxy="AcKA4ZNxgNEl1rn1heJ3uuP9qsyfjkFr03yW-0hsinoLoEZ7QpL-5t5RYs05zPUhgPeNfuJfRPOjAc8E6M2b", http_request_error; e_clientaddr="AcK4meAhzJSf9ZyOjvY6l1vGsoIeIq0F9Qe_XeCWqT3pVvt0YkSLaXKMAeneEvmBM0TCjOUzXSBENAK60A"; e_fb_vipport="AcJYHtKujfaAbPcyRjn0IpzK4IMo4xX8VVomkCfHsw5raypjS3bQKDAJAZoe"; e_upip="AcLGxsFCadttgLs4EXeQvBbJI2ONPu7DlBTcGN25F1r9zooa3gBy-tDRkBGVLJJ9dGabuuDWcKJZw5UttjBrGtteZ9UqEPjt4g"; e_fb_hostheader="AcLE1NDJQPxT_fyiDyJ_gqcH8tErN7WXGxVYzSERBDF7XyLWoT6NID8xMwlqqqSjef5HpvPAcrxK3aTS"; e_fb_vipaddr="AcKnh28XQoXMrgzFj8F-QqunSFf-G-z6lXcRmusdm_b6mcoP_iQQe3JDPnnCYSGNwnK2oFqZVA"; e_fb_requesthandler="AcLjcMabxmKLOuwQyrnylYrGRxdQnx8ytrqYYgSdD4IoK9W-qNozx7YiYmd-cKP58sxb6PrJApE"; e_fb_builduser="AcJ37_c29uxqN08zQqyjt7WdG0bB0sXiwcQ6q-IvxXcrnnStIV0FUjezdLGMBM74twg"; e_fb_binaryversion="AcLypuREZBpWKRKjpE1jHcNkZeOnxDxvtWLE3bXDfI73EEs-kC43Vq6cjZQK5MoROMe_xB3HUyVTMxDaeSdmkYhGQDcODMYLdkg"; e_proxy="AcKRdXVbvlkQuOxnsWms2JydisnqWl5q27gHnAiXjXCw1yQOQkMhsN_-Yyzq7YGI6Xz-skN2dqWh1XM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25331943986392765"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/23/2024 23:26:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABjuJDVFOPNhGGK30JHuave" } } 01/23/2024 23:26:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/23/2024 23:26:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/23/2024 23:26:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25331943986392765"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 199726722, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmEAa1v9Qax86QXkL-zoI1j', 'x-fb-trace-id': 'GMe+nywojpY', 'x-fb-rev': '1010972604', 'x-fb-debug': 'KoEIBOohcO4sXO45EI6cDI8J9eK4qMPBRO5CpP3YzHzjU6J2SM9IBD1Sl1L0mzZ/k1UW8Wfyu6OHkS/Rvnolrw==', date: 'Tue, 23 Jan 2024 23:26:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLdcsaq-ImEJ2d1RcTEFHwUs7xoefMf2lW6QbCBhK0iJr6d7QuyMc65RhXhqEJkupnoaO3oV4H56vQfi6PdNLMeVNFBV61QcYU-fgji2qg3RQ"; e_fb_vipport="AcIv7gSa5eUW68q3LBArTrc6iHg3vprBIfEaeUcpqLcJbdZSjLUsFmCehmrN"; e_upip="AcKx8Yb5ttUwntfRmaLMPsxgQP_MsjANeFDZnhnV36m7ec2pK_bCo-qe4etiTFnt-9MKthcniuP0CbF-poAHL8fWC4NqNg_HKQ"; e_fb_hostheader="AcLrSChExE9MX55BcPUsqKl07pTVTvJwokIfkTDTcqnKColX6g8fFWys6lQgBTW3TlZfbV4UOrbIOlb2"; e_fb_vipaddr="AcKgGM7JZ5-eYkHdPznWT-3xcMyAwhQyD6DqLv4lapn2enH0MK25qLSX825wwKSB_taNK-FDKGR9WVE7MsjUQQxh_LI8mc3-sg"; e_fb_requesthandler="AcI8qlXgQLaNITqwLtSbEamWLY4dfj-02jCr5-PU197UM9n0pBifJKPCyeT6ER4vVQYK9xRxV_w"; e_fb_builduser="AcK5Pns20HuYE8N8EyHrXdRXJP88kbGz66mRTG_eJUOob36sxWQ9r88-MItEy0MX8GQ"; e_fb_binaryversion="AcJfUsnOGfdf3ImAwRNXfh5KDknWlrFZweTxFKiQMJmdkBmxVkAbX4DCCX8K4tNkTVfOqkx2xeCElX8s7RE49-CSS4jzON9sKYo"; e_proxy="AcKvOFYES5hVo4e8u__7zK3ObWbyjGjJT8sStXvR-B4AjpvERxBHbA2lKje9jQtDQBudCdOYcr4lEM3cEij4", http_request_error; e_clientaddr="AcIeFsvNFQBmW29tabZ9CpCUoCdydqWNBDOIfbOV8-1mtkLTljrt7em448C1Qn_9ZtH2fcjhZTbM4Wzp9A"; e_fb_vipport="AcJv6puNiDEsFhpmxIytAf8xHWJ670PyOQx7-WI25R-QIBqMEAHBCiZOHN7s"; e_upip="AcJdo9okRXsPAhvG13hVMP97Ef68aGpSDlAb41Z_prm8k-jBtqGQFZfdXqWfmElCmSBnWvfHnWrlj1VRCV5MS8RzTuuEi7hbaQ"; e_fb_hostheader="AcKrVeUGgFCpn-kIyAffXlQYgp34Fi2aMw21fWEh1XBZ85i72C3mcw8feeyNsVJAL31oYWzRyUR3u502"; e_fb_vipaddr="AcJ1KHTyb3e16fZN4XyBVu_gdwdvOCRn_r2p7vsFvhRBDPAFkTFN73PBfEf8d65HzH-exfjlDg"; e_fb_requesthandler="AcJhLNZlujZ4QGo4pytDLh31yPftmvSwf0BBsF9JGIDS65QoFqeIPKbjsj079GNKuEnWtcIfR_0"; e_fb_builduser="AcJmvqwfu4l9JwhzvxUd_lLR4AVBa-gLBNjRDhTOA_zBHx_WxGwzPZYSD4EV-4IG_Lc"; e_fb_binaryversion="AcJYcV4FmMTtcVxLog0iT94uvqbrv523APMpDItsJZDtnJlzMxl58HPs4YyXFaZRvpQ698dfQlookCr7-ssZJVz78ppHdnSMOK8"; e_proxy="AcLUT8tZEmWrp5W8c2uL7ChhOLkku63BO-0XRisgwmixK2RpTMuECe9WBFK0RGde8oXsOBGc6HZ6VY4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25331943986392765"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:34:04: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7218694961526182?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 430597773, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7218694961526182?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7218694961526182?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7218694961526182?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7218694961526182?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaYvqGnDh9MxvvY0sWg09PT', 'x-fb-trace-id': 'Ah2bofT66xC', 'x-fb-rev': '1010986465', 'x-fb-debug': 'Hf/0MwgVfA0w3mxQT38nj4Ykjp3EvXfct6sokH2rGJMC7Q+eUgZH9E03/6TAI4xxIyLyjLUSuHqn5PNkoCieiQ==', date: 'Wed, 24 Jan 2024 10:34:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI0Kse_Y3ImkvCgKlAh9NrgioYPSK-KOgVMoC8IIhTeGXwmZwxygRIiEQDf0Op8ftWCn-9nnhAy3aybGaLyKeOxcANhntu1tfEnmmLLbyAyGziuuA"; e_fb_vipport="AcJWW8hjdNgM-SVY218fQgMKiRfhi4lFT6v0COCVovb7rFRyBAkbG1Y-E1ZZ"; e_upip="AcI73HQdldSySQdrAYpCYVmb6PTsN5WsMm9ggGSo-R213Zo4F41_MlYzvHzIZn00_vX5Leen8fWMhlfoF75HDbxyyYRq9_G_upU"; e_fb_hostheader="AcKXQJpITEB8GgNBqxebWQHqYc72lGAxreEA7tdEBIj4B9Abnqj0wvY6i59zaUglsyV749nrRR-pg7G8"; e_fb_vipaddr="AcLxHxs1edqgxJEv2EYZAiueBuQUNTGXGeZFdJejqLDCGSGg94JkP6yKCWDWiu2ybtMEFwOPdDF4Anj-Po_PphPmNu2amcOF-g"; e_fb_requesthandler="AcIox8yDh-Nzq-3FFG37pBqFYcyVe2NhsGiUHDp1fGKnBTrydBrzKTmpwtEylj2wu_jjb4PmvRM"; e_fb_builduser="AcJcQicANUvYXYN25RWMBVsbFxlYvrOOloVxuLSo5trpU0SuoRW912aCgRL0q2YYFUc"; e_fb_binaryversion="AcIfwyBnd9Nd-7w347csCHCJrrlWI8yQfXFCjlY1DuoqaoPht3MQtjfhFYthZuzgDOoXLxKWwlTOjKZSIJ_FSRIHZqHx1KgbX54"; e_proxy="AcJh4dgMUAUDQrABX0VxrTixmO_DrA6L2RfH8tCAzRPrs-B7HOwli7ABI9NEehKwJeRq3MGy8ZpaIB-8HgQb", http_request_error; e_clientaddr="AcKWNIi5Cx4e63stIOSQ6mRQq_RSw2wM5bnLTndOx4wffRzkjH730zGUID_iTxeX5CM8in8gfFHL6AQ7mw"; e_fb_vipport="AcKND400emUWYH41-DwWky9oOFB-CZg9t_-OTrFm2K8cptA9UjRKp8wg2fxF"; e_upip="AcIDV0eUSMuGUAvKSlM4WKKqA5B5ZX0_P6-q5tXZ3Y71SNMch4grdQnO0LNbdRn77R7JtvpfLVB4QIwsKkUL6LDYJmMHN2CF8Q"; e_fb_hostheader="AcLUR39DllNCFsqI8zJu9WOaMs7wtbMzkE3YpRQr-ZIEPIrLRtzbVoeIUL7Hg6qnyEdxcncId2_WZckV"; e_fb_vipaddr="AcLtCyrRaTGvrnYDFT7GsTGkFifgeUwp8VlmLVTuNGu5ZS4S87UOJP23P0lR26Zqq2AJa7Y-Fg"; e_fb_requesthandler="AcIhjSz6tHA6Myb_kuOLlcGMHWDufjWmZzlSx8gUSco2_fFTWaDiDfLO_pv7v_kKX0hq8x8Xadc"; e_fb_builduser="AcLgrmT-fxbiVnfZ58EjZG8Gi-9bT8T2-jkjtELpZvIyhnU603FySCsPB7jy178duFE"; e_fb_binaryversion="AcJUk6Zrc_j7B3ubfZ-Lt9-fNdmGZHhzDfIYSxNgf0wXnmch-cFIPaFFt0qbNmvGL2aB4HFBp03GdwnrkcVqXRhwVav-cNsw62E"; e_proxy="AcLdHqVtzmC_GDXdydGj1ASh-0b8rp9LNJdF4-DXvouUni5Q1GsmfK1w70HV1YyUhUUvXudDi0SS0Nbo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7218694961526182?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7218694961526182?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7218694961526182?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:34:04: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/24/2024 10:34:04: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/24/2024 10:34:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 10:34:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 430597897, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Adw5AmZ2_g_napPKSJGXSMC', 'x-fb-trace-id': 'ALEQeHjR9Op', 'x-fb-rev': '1010986465', 'x-fb-debug': 'kmzZ9I3jHZsKwY4IyjpNBDmuTVsq4jARIC9oQunf+LMj/+aVL39W3TE0Cr5H8z9GAzBaFGse63kqoIcjFxk7iA==', date: 'Wed, 24 Jan 2024 10:34:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJm0un1vO2fcXyxDB_kKykWjSemy9qmImW-U7kyvK8gF7F0DlaOPXfFDoOb3aiMmYN7yROd9J_6AiXM_OBY5-S1mRQ_rwxuvDKOX1ab7wmHOIIxGg"; e_fb_vipport="AcJT64USpaWyQ1h1Igx-PrruzGpDEnrfLh508aIeR1YHjoBoyc2XVJRowl-F"; e_upip="AcK3qIesxy5NKGNJHXYdXcyIJOMRfQIvKtn6K0NTf2EthHR8UdRduYDuJR_DGcLRNc3_rq2TE5RNxdKOab8w4RSB9ongxyvoNAk"; e_fb_hostheader="AcLbhQVVvSn9jYG3uP3GZGG16apPbCUlp9wlGQVdLd63AgM9E1DvcHj7-wKOhzEDhW2AGnVy99Js6XF2"; e_fb_vipaddr="AcKUsWk5wVf5uQMgGiDDLQ4PiLu0chgSkhZ0RXHBe2sJHQVqYPOHxpSbOfx6JCNMAl3BOTZOKtRnowTaDXC7RvP8qbYViWLSKQ"; e_fb_requesthandler="AcLAcPxsNvfxTBaC_jRguMpHl32n_3TL4Z9dqUBuwEaz0aE6AxkaHgDrvGVb7Dh5pqtTkLUooZA"; e_fb_builduser="AcJw787xm65iGDpGVa-znBC4UmilZNM0hLj7-ZDrQHEuToPEhZlPvnuc0uA_RHfpqWA"; e_fb_binaryversion="AcKEJgqBgqGqELvZDusUVe_eKKStNpsmBuW2Etke9kiDAziobQ7b1yaZaN6DQqqSNy5Gdd0r36BanJ9RVlghhN7LIAvR9RrLkZU"; e_proxy="AcIMu6h3vpZ9uk2ZZrW7mI_YAhrKMesObz8T8mYxJ4kofgv6RhhdAcu66Ptnd2IBVIL9RAJy8659GeOSqhJR", http_request_error; e_clientaddr="AcL1qvR1Y-yWE2zIKej1q6oAokowJrlXX7lpcbmQXK0ull4NubnsZbA4kEiVBT5_I4l-q8Bp2Le3inO7dQ"; e_fb_vipport="AcKUco8U0wibfgo8l-9q5NDoqk0dQVKp2tt9Oim5U7F1jedDXCzSerTkbkUu"; e_upip="AcKV-3b3dSAKukFWQzJVPX5R9jjIcvYokJdfRVO4jvvriurCUkJJtjRYbl8pwzku9LZhMlh4Xd5A1DXApqRAJWWq6At7-AqJnA"; e_fb_hostheader="AcICljCd5NDTzcQWV-RFZb6281m8NACuJ1duHcEREVUS2ktQxXF2vsxc6bQFnFwvDfdRbm2pk7hQmTuE"; e_fb_vipaddr="AcI39JqVAtufpQObrzz0U0GMr30aD6pEGJOLzU7p0PMTeshAcBmXuvnv69WN_ZqpmudbYO26UQ"; e_fb_requesthandler="AcKYe-QCW-LFg2-FzeRg02qLaT9m75JMieXNJuHeuqDvxLpBkrA-UsG26FdfVyHYA1_ckomQJfA"; e_fb_builduser="AcI5QBDu5Ssx0mw-RvBy53hhmkhGqNjEQ0i0w9XeEM7fLhHk0OMtIRE2b7Qvghzommk"; e_fb_binaryversion="AcLyMBEcMmGetJ8dZDyCdQkCPRJ4Zjl0HJNIWtHyhwQ6NjkcKkhdSBrCgU897hLPH26Xt9FrWmiB_R8gs_Gs3DMW3CPX3rx8yYs"; e_proxy="AcJnU7uyBmuJ79SyqFHmw1KfnqE9UgesDQMc9L1HWimRdSb1bouhergBKpZ0ejBLIl7Noms52Kwfnp1D"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:34:04: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AnM_NiZtkWmij3uws5BZtc9" } } 01/24/2024 10:34:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/24/2024 10:34:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 430597969, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyC9dREGviWGRoqRDZC25ER', 'x-fb-trace-id': 'F3e6QiqBmWV', 'x-fb-rev': '1010986465', 'x-fb-debug': 'hs7gpoWy95vJhiTmvqybm+SRBHe8hSF7/zPR9X56LUEPj+SzWsIl2LYrO8OJDEl/pdw5z9RI1lPyOziMmOEp2w==', date: 'Wed, 24 Jan 2024 10:34:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJYOh1i9eGMZUANFrgdBN4pixpm-3XCW0G_wsJhnlw2P7kvNq2WDYCiBtoL57i1TXb1HTeHXsIULftrDfAM7OF3s77IjCpDs6-2r8m35QpiNDfBiA"; e_fb_vipport="AcJTYx5DD281RUy2xUDj_r-1aWfnK_iSqnpcGUIPCpczYUGR7nPAS4L9Gd5t"; e_upip="AcKEn8ZbWN13OZdZ7P6gy3lYJjf-pyVMFbFCZQZBrSLs4BWDOm8fN67nXBTv65kfcoj8KWd2FbGGnNAJp5wIMbN5jXfaOmHletw"; e_fb_hostheader="AcKGwkmYPH8bTX9Bg99Z1xpdsXDRGTEmlXD-PuF4U8lKFJmQ3XP_lnN4NPv284IqGDYSSqyt47NcGLUr"; e_fb_vipaddr="AcITeH00rtJA2cYoSAgq5J6KV-1wjh6pS_I-7iXTxsWjEP-WQOSz8kqclthwYeJHUK6_VLzTABrlyJSJ_NLbYmhFZdBHRY27Dw"; e_fb_requesthandler="AcJepddU2M0KHlSIgcT1A_LSL3Y9iWdfI_YIAOgEu6K8NPxsmSjcybcY0NGZDzCmh-cRthP7ce8"; e_fb_builduser="AcKMrlDmHSOs_negwvZwl6L156vU6n-JWD637byn5DWjVUdaL6nKX8MyKqb2yvlWzTY"; e_fb_binaryversion="AcJWqP-GG6h7liE40HnODY-ejvtvjOo2B-2hOnmKkxasD2TTFwV6ZFjYEWAg-ZZa73qda5Sck1L3I-WKV2T-8m95Pyyaa0NfLco"; e_proxy="AcIxJAQFCSHoc6bZLvJMvZI9E3iQXRyQydaF-C-x5j72EqY7Yq7PasQQzGgaZzIFS_iIngu2Ba3gJ9kfnZO_", http_request_error; e_clientaddr="AcKy9jJhrwUn_4n8PNHdVjIWyk0UfvZeZEJ6uAJ90r0JlemWjIXAsGiE86q-pDJfjL1SK1Cu1F5Umk_TFw"; e_fb_vipport="AcKV7SG--618i6kgPjKz4JGm7GuLJQAgD3JgvxEQWmIsaU7XYpb4FYHheRMK"; e_upip="AcLog8p4ujJOiMIgDlE3hRdmvP_VILQ7Em3acBXOYE0hmCkHdCLqp8ktTOVz3AbR0pwUtgtg-u_SZfrvnapOYnzMWC1RzyD_wQ"; e_fb_hostheader="AcK4RlFSnx7SFjDeJgnnqB98pcn2Y5Y8DKJv1fHibwLjuxqzf36zh4VwDSBBU6y510ySEY5fJML5lr9z"; e_fb_vipaddr="AcKRspcpzmX-Visjuzex5pL0lIozGUcJ9K9c29xKyA0aJm_OcwEBRz40G1irgx6w494e67Vpjg"; e_fb_requesthandler="AcLNmA1os7-emLgRg9k7hgGsDXX6mYgW90EvVSQD9s38gst_JP_1Pr_02mxmkDLbJ5lcNVLAf9s"; e_fb_builduser="AcKk8OxntFzIapK_Blc0Xjc9uqrCscy-yfRBTMcQu4jjclifSp8AOvXo2ZM3-MimJXs"; e_fb_binaryversion="AcKTvySMk-Plogf0H7FpYNFuOwytF0n_xlRIjvYWJxwGjxONWLnHDyO7Gqqt-gk6eoSusQD4Cn4p8xxSNQtmkQ_U7K2tyK25LRQ"; e_proxy="AcJiA0I0qR-TMRGuWIDjlFAxCpqo6xfABNxwyCLEFEaF-aN4JxYWRxcZ3PBS42bK_Yj4e6oM0zPA0Ck"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:34:04: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AstOoxBt3SjX6CdpVxbgSZE" } } 01/24/2024 10:34:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 10:34:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 430598083, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJQZbfTwE3F50zk1o4qmUe_', 'x-fb-trace-id': 'DSUefLFV8Pu', 'x-fb-rev': '1010986465', 'x-fb-debug': '7fhf+jWEDVFRkcJH0poTuU42ZiuN+d10aJLq8Qspp4xYA9Co90oyDYf3/hTOitVU02tAZc3Md4hKTY5j99Qx5g==', date: 'Wed, 24 Jan 2024 10:34:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL6wOBSOb6lhmiW04xVZMGwCwzRi1GDl8cCvkWuGMzIMVXgh2r-h6kP7MJOKabgpbGz3JMlGK5yejF6J_UoifCH_8niqDXsyvfWln7ufZEr_fofOg"; e_fb_vipport="AcIX9yWz9IgamppCUTeWeVYygRPOoQvInYOQLAQKEu4c5SLrsgY00O_mqw8k"; e_upip="AcKyQ_Ztv_xBo_xK5g8UxE8iBFIFes1r2_ywrfXbDih7rLBqXJFJ-iS2fPbvTeMPF2hWrqDMYYCKk8Ie6X172oyONRxXMw8zP00"; e_fb_hostheader="AcKyQaJDIp0hTi6jQSkYB2jBVPPO0ncEJghF7kAJEatuVbQAEqc86Hwexgzdl3HLmYvNWQDYONIHfZVL"; e_fb_vipaddr="AcLz617NF4bCW3bJ8YodAjKSg7f-a20pFEeKEcibKafdgYMTwgj2puAp4iHMJyPfmQrgq3ElaynfEKpZEFcqgAPNmGek-aAbHQ"; e_fb_requesthandler="AcKHFb5ZOvZ_CEY3zQG89u6CJZvcb-4NgYxmc1zHI3WKNVSIGwQuD-Zz-hcs-KKuT-g0LeiIpws"; e_fb_builduser="AcIMBOa8Pk_9iwEQ8po78xU-UF98bi_1wfzdXvXsSyxaY0faouTqSvd7wSj0yP_WDEc"; e_fb_binaryversion="AcLkXPsQsa5AiJCNJredZwnHnbFl4NGts4SmeiQY6kAXATpwOn6DBqCkFUW4T2gBO-x52TSaUL7jP918EeL3CcuVOvn53_OaLZE"; e_proxy="AcJPsWWQEbOvfvF9LmpnvHrDndKft6iVZTNYM4bM55eMNO4oy7T7gXHBwHqS2n6_GF1uU6JP2m7BWCpOJvs7", http_request_error; e_clientaddr="AcLY7nc-1MLoTePg85y6wTBOV15zYzH0r4o70YoE9fI6AxcktXl-R6735VSiTvin1VKyFKV85vnwPfD9Ig"; e_fb_vipport="AcKWfe7DSCmtqcvhG_JwA-ymcOJn8V9l4KMs5i20B3gPfSHKdLGdlK7QnHje"; e_upip="AcI-4cT8ViBEbgNkUw2YVM_0yfECfo3NTWURDEBUAm7ifttx-j2KcrF6A3dYnkkqBkT2GgOYdQemXB1O49BqgdIDNVPVE_EaMg"; e_fb_hostheader="AcLXZsvVelCK1pY1-kiOkewUcNE39qOuQje6oqlcfPUo9OWKJBm4pftDrItP8Gda7R240bA0L-id5YtE"; e_fb_vipaddr="AcLtffDBkCTl8AlEtb7rS6yWPnbKpOtYV1J5bR_x_qjzukKjv3fMybk_LOcNVzk9hBv7jDNrcw"; e_fb_requesthandler="AcJzLhYsXTB46gof-voNuPE4PJyCrp7TCVYCAw4oDVonDXlYUlsFhXghtn2W6-6JTth04Ny28fY"; e_fb_builduser="AcKSmn1HBNKPoNGmDxQeYuV0gWHl5P4cPo1a01kZZGpKhSytZYSidAYmQ8qcqO3EdAU"; e_fb_binaryversion="AcLvqzZU39L9B-p5fwFWo0A2mo6kVhH_NxGGeu3Z62POEiRZ2PQHmrviDydPDZYSweAJ9CZ6EZN6wdCkD4bgtJC4e1yNKzyLeIc"; e_proxy="AcI42O1EpGoCRGJgF9C0uAYf1YfESddgkXVh9EMzeYrgwOczHnrPxEcrUsl1IntZ-iblhNyzn3QwZWc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:35:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 10:35:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 431129426, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZdWKgI8pIPO0dOe3XHolQZ', 'x-fb-trace-id': 'GVCA6QUuzA3', 'x-fb-rev': '1010986465', 'x-fb-debug': 'ACjT4dsl56Td4doz575EfeQBJ+djzOAeQuK69FXD6dZxtG+14ua0nqPpXuqJwz8/8OMvxazvS611HG6VsvNheg==', date: 'Wed, 24 Jan 2024 10:35:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJnz1D20b4-FIVmLfChExbSUpt7n4n7DBVlJgqr91tmjk_xq2YpHLDXT1m4Rq3hdHZNaVYtDEsXSSIMmUuliFxGQScMajwwnbs4nKj98OCRkmUscQ"; e_fb_vipport="AcIQxePCvCa8QP79aWmTWqHHaD2TAUoaRDbsb7lc2Eketk5OwmGePKQ0XcGA"; e_upip="AcImCPsqqLHpEIXxLoDHb_yfmwBnxqj2No7qK7tjJmqBbV3WKg-hKScbI5xYpj4WkXpmsk5aDMEK7jgatz5Gk-Xt_uq60YvVyQ"; e_fb_hostheader="AcKGIjFPRyoHFU-B2fRpOx-tOf5AihVjuziMVp6M627wg0t_I7XehtfUEiLNvWGpZU_YupEdwqksQ7NS"; e_fb_vipaddr="AcIYfwCbgrWxJMDPTYAQs5UJE2adN41Uycwa7pd98nJv5jiJ-ut-0sanapHnoGMozuP5el-A8a5sl1tM60oyp_Wb9IQTp4Oj8A"; e_fb_requesthandler="AcK7hfSORzIRBDl6pVDwYfkE4EQDCLOuj6fFSCNyOuPkB5iw_eDoVXmis-BLdjTQF1p7-5Zvifc"; e_fb_builduser="AcLfhE_QxFOvqGahilknbKmYr6cMX-P-Wa2sVlwc7RVDvUXXjLIdrkRIhtNRGyOyAOU"; e_fb_binaryversion="AcKKRnFdGrl2_YfrgbeFsGP1GIk4Ie-boCGbXV1o7K1b_p8b3RuGr1h9DcwwV1cIVF-nZKFpgZtLbeE7LBTIjKTqD3VnrGL4JAc"; e_proxy="AcKG8MNw1k8fRe7XGm-353w-wbBRFo-YCSiPv9kFk0x-pGMt57ey5auxtG3xrZ8oYds1VULH9K3d7qCRjd4_", http_request_error; e_clientaddr="AcL9kZ9vjYNoVANVTX_NMJsRTDVqnwStX0lhTI_FybeG5D7fJZuIa67BGdrRw891OnTVenf7iP6OCuHQlA"; e_fb_vipport="AcKhq9BWmcS7NSWACl0GqYnAF6HPZafqr8KMj3PnxYZTBkiORekyHVq-y36s"; e_upip="AcKJAxQBBZpSKa-mGA59X9JMH9iFeZER3EPR4uR5MCV6x2DvojLG_LCEZ4SLiajabjOLCbjm9hRBu9ybNzJIiFYAfXjiOffkRw"; e_fb_hostheader="AcL0gvPqgzr-SzrZYSABFsAum4vuBiNSR5rIxJgsh2XIzlqx63zNkwOz4tKwzvwR58JFIVqtIvvVMH3J"; e_fb_vipaddr="AcL55krp4_lQPGjQpRhQ9MaTcYDwd6s-lzIRj-76XedtmToEdi4edocXfy3hMc_p73Ue7XA"; e_fb_requesthandler="AcKSCOmg9OGa6dL-ptwMJwsFOWgzXdmyiKhxeGwbJy5rCGiTXRdPkTQdGb_1iiG2fD3Ah5ikVho"; e_fb_builduser="AcLQ829dZO_xveQO7MIyK3chrQwRylmBaM2skQCpr3HB7QBzXcVijHPUSVNsPza8RGo"; e_fb_binaryversion="AcL7W7VGvc9LR2ty9z2VfzWliemG_de-jKAfqVT0RCmuP7KzKZF_50OsJY8Nhg9xnEq-LoGGxUfIUkIPfVjPBq9YkRwcZSb5VJA"; e_proxy="AcKWGOwqhrMORmHyjPszQ7QUAiYSuxE-SOWTi3QvvQD5VtWMPiteB7v088fnOpIedpTydkuEU68UsK0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:35:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 10:35:26: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AP1_U5rtCkNiGxidG2HJkoh" } } 01/24/2024 10:35:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 10:35:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 431159068, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGRcV3xBeDyZfp928uMPKUH', 'x-fb-trace-id': 'Htoqk3ryAeX', 'x-fb-rev': '1010986465', 'x-fb-debug': 'gLT2InKF3UJ0isPinC1THhigj3yF+hFrJpqt/+nBRlSbmQuq1aFFgOeK8WxOVgeHF/V4q9UWoXMQFkz2OrB+HA==', date: 'Wed, 24 Jan 2024 10:35:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI5slYbPh17eqbIuXrZNEk4Ql6GuD3HYvwDkm56gLS7yEC111EEC2jSlgo5pEO7QljTmK3A9nOtR9YYajb57_K41weUXQHcCj_eAm4AlCvoQ7p2TA"; e_fb_vipport="AcKwt0KZNjL26ZFaem_qra9softpsOhZwGt9BrB7f-r88veON9haK5weiaBB"; e_upip="AcJIe-ErzuhOl9RbpsUp0pbAgv3g_71uvqs5z7XdOcR-cb8ZOn15Rp5L2Lu6WS51xyYJbjTnuD4nMtJP2T01hM06dSt5m7Wdng0"; e_fb_hostheader="AcKJGOAlGi8_ZvjxPWZL_hMPaBYYubI2F3lg25W-xx6hupFascnSliVaEYdBYeiUknp4vZXX_qx0l-gJ"; e_fb_vipaddr="AcL5hRnqYOzuFvrdWAs5QqYeJGRtM5cskYkDYGt23SmKFBTul2D68lV222jniFQtkeLXhf0x0d1tgMnZlJs7wfUqBv4nEY6Bqw"; e_fb_requesthandler="AcK9IRaWgpeBU2Lv6J9kdHIf5dxJc8TJa09mPhH92vcr-kWlIKbDDbxLkLegmC4w5u355JgKtYY"; e_fb_builduser="AcIZMFhxN-LvbTjM5SzpknRlno-7Y4sTRdqC_9au836q6wsO2ahe_qN_0PO9oL15j8c"; e_fb_binaryversion="AcKMfafN9t4yUFbh3NSESjSM2hsnqvONe9XwPegfnRnyycRITZY8cMFMzmeJRc_nIGLta60_SY5fjlOvqP9gy_-L4Pf8TLvhAHk"; e_proxy="AcLixAM9dU1euFZUAswzoy6KgUXNZJjOD-zEgAwvPKWxK7v1Xu1CjswAsBE4WQI41UrTqKnIwTOXVB54vuUn", http_request_error; e_clientaddr="AcId_1MbnQa54fsRDk7VQtDJQBmBBMO1f6PK43avfMa1htJmINEWRfHVvYIt8RmQggvuff2uyj5_7Fs1eA"; e_fb_vipport="AcKKZdVbb1a70nj9MVjfjw2_bl4e7P7Wlx_7H22ZwDGvKwMttrEYAdGw1fI2"; e_upip="AcLyXuuB3BUGFrzg5j6Ae8Z13bVjPqy-UTvufVmBS8sqRVWA6aWSs56mI_Lr9juTfMcZfcXZcqxPiyqAt0ZIIse7ooanmjQSjQ"; e_fb_hostheader="AcK6U0ajJQewW0R4uUYKaX_nKQkSVbNx81_lo8JX7u84n034J7EmVM88w4eZjVck4WbDELk2DYyURfcW"; e_fb_vipaddr="AcIRjeVy-ikZpKMFZmfFo9oIkB-pmIIcD-hOU3fk9S-A52CgNfNhmXxhbvmU9U0a7oMv0Jo"; e_fb_requesthandler="AcLGpPZbmOtQ3x59pwhw1cHngPMve6SsbvquE0EPdn--Ndel2OSZFUKFk7e9tjSHDOqSU4RdHdM"; e_fb_builduser="AcJBqw9ZffmcfEzXbhnaReFOAhJQwg1RQrLQl3cxJnOvUueDm73TqRJJaE4z4oRGzhw"; e_fb_binaryversion="AcK41moGV0rv8mHY8NnF8N9j3MSttqtKpuyuEoT9H1b5qkcg3hPIzy7mltdZiDhJOjaKmPm9OBG1PyvT3xPpo6R4236Ywlfzk_Y"; e_proxy="AcK9pCFU0Z5IWDyFZYnaRUyi647O8hxvYfXFkhAzSZ79c9UR9PO71BVV8DAr90ltXetzGIwXqGWer0I"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:35:48: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 431306803, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 24 Jan 2024 10:35:50 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 01/24/2024 10:35:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 10:35:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 10:35:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 431306916, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFfblzXg3_eRcvIl0w13Ata', 'x-fb-trace-id': 'FTHK8pwdSGc', 'x-fb-rev': '1010986465', 'x-fb-debug': 't3BziKS7o9myHKZ39LgWXbf0xM/18trmVnxgvIjODimSQDNYCdJwAYRrwN6OQizsZkZgLTIw/3c17DIlYrHhNw==', date: 'Wed, 24 Jan 2024 10:35:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLURUozquWqXM5gJK8P9l_VDv3tvugc6YmuLo95YrKYncC9lcs55DLLMaQBYfJ2eM2Wf8ApDq3EH60FJ7cSwCTAr9X9mDIUQmSv-idAbFXifksqUA"; e_fb_vipport="AcKJ3ZG0W-PV1eiKnGFpjvTC2IQgxRdLWhtH4DnsmyJyv3H_ioM7zpsiTWpc"; e_upip="AcLPW_P6ewgIH9TzuIidcIC3TLkkvRnPrGFYsuHuBzS0PKNMsBtZRQPIJ9PQw_2bdaCvc3bCd4ep9zKEf9RSzV1RKK20MZJztyE"; e_fb_hostheader="AcJmmttJ0wIn19oHorRdV1H1fuhPyRUdv8CM38CNjvAbMoImnmooVankJH2l7qvsckmIAtPj79tkNTk8"; e_fb_vipaddr="AcLfAoXjsA7z8McViCJ2FfSylXj2UiaFeWZ0Y9OJmqVvs_-JG3NnEgBJMjeAxAIao-T8NVb_vyYpYXm4x30t_eqm_v6dRLQ0iQ"; e_fb_requesthandler="AcJIhITF9eXGHy52WYm8rNR3pW5iyYPaqwXH5bUxI3WoAS1zXyGfZ4Cfq33WLy4tFDFkVIIU7vU"; e_fb_builduser="AcKwq0GsYf4i97J8017dE94Tvg7gfAlZOB8-rXMHGOi-UtNo06NHVZdjsP5DJl8ZSv8"; e_fb_binaryversion="AcID05h19yvVyzESQRK0PIdbVT7AbiL4e0KxuCvoxWiAhZoG8Ln0NBC5ei6WX2JrsMSV2HS9Am_qTlciBib-2rh300wfuavT2q8"; e_proxy="AcJ4rkKpJHUW_bwCgQrd9pWyec7TC6agx7X2QHj2J2eXP6EolvjuBiv4t5fPfq3qpcPnrLrZj6E_9cVLVI6O", http_request_error; e_clientaddr="AcIZHXs2Z346ChTmzfvpU-Zx7sfWi5bl0QPdS8TNzhm0TKmXlU7D9u0acPHqLRbAXp28RPrkr-zFqotIzA"; e_fb_vipport="AcJFncfbAU14FNR5ZL745RfxfFl_H57QYTnHiTeMZtjqiEyJlDQeseAXY9Rx"; e_upip="AcLwX6ADmfqxw4tKRkXnhSrQ1-JWUqHGGGvLGDS3HOwIYGU5wNW3DsJni2KVo8Vz6Mr7O8VAJ_KW0K-arsCCc_RMnYm0idQMQA"; e_fb_hostheader="AcKQDzjmHvTcZGQYPxCTse63YcWGrmhnYixgvwdJetWeI1a1nN3Z5Fsk23tQOfkQg15y1b_wsRyOO_uL"; e_fb_vipaddr="AcID1Z92smEjs7afU5DMbtH2Uj6Tvy6-zSAmdceIgBvMZrLG3Ga7U81hL3qcrZqRYmF76Cc"; e_fb_requesthandler="AcJDHMCDntLjBFAzxzlJBwZ8n-xbICETKTEcIB22s3y_UOCjYrj08JYG_hn5drJAUrLjJnKqL1A"; e_fb_builduser="AcLnMH6uhAKx8pz0P4VMibHYLRfF7EEhyBDeQ_XqsZ1p9jaaEVdMxF5qPpTcTQpASDc"; e_fb_binaryversion="AcKDXg50FdMS4u6s4Vl0Ebgnhm0mA3nc4J4QbWYrgeLddnnu2gPaO2bJjTeaDc2J7H0cDkv6nDAuvmt3fMBBV_mpIG8D4DfKeAo"; e_proxy="AcLZHKEJ19xs0mhwvR62rpgqs6sDQIZ2Hs_yrM0JQmRqrkxBhW1UmxT6yxWY5uh-VcZ8bIef6X4fZfY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:35:49: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Al4WP3bTqeSLtDkDi7BhJXZ" } } 01/24/2024 10:35:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/24/2024 10:35:51: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ARgOwf0IDDy76Z8PuupAmvy" } } 01/24/2024 10:35:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 10:35:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 431307088, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbtRMR66pshrOMmMDwz2zg3', 'x-fb-trace-id': 'FaH2/MErG6N', 'x-fb-rev': '1010986465', 'x-fb-debug': 'dTPZkmE49Y6W72ctrNfgbvBUqqAGZaqr41q3ZaenT+kV38gQVvbjlMU09jc31dAbxiA9hqTtxGRAnM8ml4t4gg==', date: 'Wed, 24 Jan 2024 10:35:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKkWvRbKMkUzTkKb8lIaRgzlKmjNg4g2h-1u105SnmikJVsEMkegAE5fZI-0vKmUMKtM9MojL9QEjQHdrW2JxgLszVdo6-DIHIbMXwAS_Gpb7g9"; e_fb_vipport="AcJP2eg9rP4l7I8lj6c6zhlRRxRm9uRAvGDc0JZzesWd1VWOsTMTMS1Zvwfx"; e_upip="AcIj42qFogZQ13RDdi6HGhwMvJnlbu2LHnXAVBN-OkIa1df9H06SIUgS_xA24C5TthH3ph-7vytMPQD0F0_eYFiRVyZNKmDOMG4"; e_fb_hostheader="AcIpqcngc_udOwmyibXsLpsaDD70aqJ_vQ34Wv28wmycjDYwTq7kDYDBi0CarHggW-iwu5ew96BV9q4p"; e_fb_vipaddr="AcKbCTV-eRT18wZ1YwRb4_XBvn-NK_o-OEA0SzfiwLkbyqxczbVh6gf03O2Og3lj0eVmhMAel0E3SEKMRd2mgQOEaNVcH6c7hw"; e_fb_requesthandler="AcJcd3VYKra9KUUhUY3FXzHt284UhBxdS7FK7aLLN-dhp78-3TwVuwPEXixQmLJElr2rdk1sG4A"; e_fb_builduser="AcIij4c-Z_fMbyq-LeWbtqOjKWsBbUkn9MY-zn51wKlVPwB7_5V_WyCHRsWdL1J58aQ"; e_fb_binaryversion="AcLsjryd1an9MUV_PipQxuiFkPCLjyKEv46148TxjLkfqhSLPFIZ7suxnkVNf_5VsF-68443n0FbmTNaukPe6Gz0Bnoirr0JnVk"; e_proxy="AcIjwcnQzi-TNq1wa_clb0eWNEDc18vvNUWmMcOV6AYqV4oUbuO3216YGjSQxLOgYWOvTVmbMRly277_hFMp", http_request_error; e_clientaddr="AcKPANwevQ2ebOww4Pt94gg18KVQrTQpkbKDwb1K-YJtXZ76Te_u0szRQSo2kJQZnpHDJrKIHp2qpl_EXg"; e_fb_vipport="AcJUAmpdvKjPI_KCe8Qo05yKYFpIezIfse0M4wMLwtoBTlC1FBQQlnnREbvu"; e_upip="AcI1LNDx0V9cJkOF9hDdWaONLc3hDvGhXqqja2TbL-y2yckIz6xsty73E84b5I-tw7rmuyON1LM7_2l0d1cRzgrbYtN7s2nXNQ"; e_fb_hostheader="AcJ-hTmvn4e0B-X25CIIGCpu4HKoKJ3DtYqf1nExQ_hGYLgohzggBkWzjBszoeRLM-18W6qOSD1yU-qu"; e_fb_vipaddr="AcLamu6pyb3F7SlMuegXO8UDTzpl0vdn612-8unLTgNiPuKVNciZrLt6iZtYcidi-PMrEEY"; e_fb_requesthandler="AcISXAhI_YXtVVOdIGI7nZqX-IQ7PbgEOTeqpfP88BqxMd-pnUAwz39D-ngQ4FgUmJH-8PmkOyE"; e_fb_builduser="AcKoaAXCNutvel6MKh6RAAiV4QQ674qGN6Utun0F-p31rE2BCL5ZSIvZfZ16mlziyKo"; e_fb_binaryversion="AcJWmMiun_m4-RTX6_Oj4oJQFyELpHpk3VekLZLcZkMTy-52BctwDlXSMcQFQI5eUEZBAm_mDOC4Vhpcdj17OJizOKtf4t1bZR0"; e_proxy="AcIaAfEeLhqYT9OLZ1wsWQfEOasi3uzomsqUYu6u_BSyLWZG6YdKl52kjjmfSZvM7IJMLI7V5_CSZWg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7218694961526182"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 10:41:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 10:42:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 10:45:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AogV7rN9dGZYxfPjR5eXT6_" } } 01/24/2024 10:45:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 11:41:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 11:41:53: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AjxHRPe-xBx81lqzZnqYm5t" } } 01/24/2024 11:41:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 11:41:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 11:41:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 12:29:40: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/23958104507110084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 478630590, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /23958104507110084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/23958104507110084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/23958104507110084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/23958104507110084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvPI4e6S-V-qxWtnqm94Oxy', 'x-fb-trace-id': 'DKL7XKCIz14', 'x-fb-rev': '1010987549', 'x-fb-debug': 'YpZycIXidumz6hfL3F9yTmeUKfemgbJxTc1qhfDHXuU+0AKv/LnZBjroKg8/32P3mgpEzUcTNlsICujY5L56jA==', date: 'Wed, 24 Jan 2024 12:29:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIKT9eXzHXGMoV2Q-9xaV7Zi3d8Fj5-_QYl1Wcn16eOUFxUy0QMboxDEoCKmCbfghYRp__v8nPO1xCGYnDD0d60VP7jJZpmePILp_aqr1nqrjfZBw"; e_fb_vipport="AcLY6fSISNMJvJKwCay2Q9-gnB-5nGT4Y55ML0fvlI4D91KwZ2ztXS9XzrUL"; e_upip="AcKBmTtJ3A_gu_5Vrj4v4tUtCRg-nvF5QJTmx23y1oHn3lhf4WuIxSDbLRE7zfAvQVnbSmjOe32XOUPnMlie9IZuC0VSGtDWtCM"; e_fb_hostheader="AcIgq_ZQKbBWyOhnA1f7q2OPihxWsJ-dxhT22-0cDjBjafR9OXdKnH4gd_gVyKaeY4S2chkDL71viGQX"; e_fb_vipaddr="AcLX2SqxEz218e0N-LY6nIJVZRBAeTF9SlXXGOz3SIr6pk4KZ6LOD3PvLSY6Ag9Zs_cwEhyY2lWlyZLoPA0zh4wSDxDW2BBfvw"; e_fb_requesthandler="AcL_gyXBVxACaJlJ4jm9f8KRb7l9GLp672UHZq1J8Mbw9eyZgGujLjkLG2jMEe2r-JKWN0hi0cw"; e_fb_builduser="AcI6JlwozjhUnCJQZPHc2H6jur9-ruAkp2ttAvEkuzPS_RKKKswwU6HbcgonNj1_Edw"; e_fb_binaryversion="AcIaIRR-42N0aSfJh2_0w-pUB3LTNbSRExUQI8-k734mt2M2mVA9HVdso_-Os2H7urFj3Nw-qcSvdAyQojY3Y6IVbBjhxKi9Nho"; e_proxy="AcKDtePETJhAX9dnanu4Rmt8_HXYDHDg0K7PlYG-_-eMrKG2XjlRaZhEg_A5ZWVutq6wtK70O2r61nZrfbp2", http_request_error; e_clientaddr="AcJNbtYVsrSpadMuyOdcpIKH0g8-LLqfqhWMHd2JVtVEuiv2AvKcj3VazCim2MXABoC33ZMvH9m74UVLhA"; e_fb_vipport="AcLGjpcTkfvBRC1K69IouOErOzLWMRD7f1MMlJlvCdGgO9qeW1DCkbnAXlAm"; e_upip="AcIp9XtUmrfrHbp7W3_DS3T12MvISP_p2Psi7IA5XwIIbTRYdNMRHYtkYxWxXPJWhOrul0bPMGRWnPtqPdeVUuwAG-d9sp_6IQ"; e_fb_hostheader="AcLpPOsvRMBBDG9kT9Rxvfj82s89G-JueYMu-Klu7JiZqVefQdrKq7ISE948WpLJUInxKRy2AOk1UQ0u"; e_fb_vipaddr="AcJ8OJypNpIDPxEMZhxK4BiaBi9-bTRr-GWYvrThUpD74y5VKgId9rlSaCyFXeffXN13gfWNAA"; e_fb_requesthandler="AcKx5-RfC17G7nP-5Xth4nKniMG12IXcWNQBc9K-KUCj-boRqjXDRApOgfbHBoLCg3sEup7nRhU"; e_fb_builduser="AcJ3bDdvdWqUnLTGiey8qdeOBOV-NtrEsjwEY6EXznFtlkwwgyxcFOr1aZkr3pR3W7A"; e_fb_binaryversion="AcKn5_SvCVPFZEOug7xb3Qbh9KL9hhXzBm9Rn9ETnkBdxgcN1nnSo_WcGUrCB0UuWZ-uTgu6Ya-rgflME-vfLwDfsdfY-tCcYyk"; e_proxy="AcKe8by6ht6CUuZNhvFrFGdTDIprT0RwACVBrxfAu5SzANjUd2gbPQV7ZvUTUyxBxpN1zeRlOPAUCr_f"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/23958104507110084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /23958104507110084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/23958104507110084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 12:29:40: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/24/2024 12:29:40: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/24/2024 12:29:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"23958104507110084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 478630714, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1gkYi_owNT77Lk4DuT81g0', 'x-fb-trace-id': 'FQv39y4Yri7', 'x-fb-rev': '1010987549', 'x-fb-debug': 'ep+yY39+gsTxGqH6gFpoG83WHkaICdb6ygtlMyhSTwSsDrIUeQiQLxncTmVLQvquHvyHMVOgbywYzIGAfUPjxg==', date: 'Wed, 24 Jan 2024 12:29:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL8TcBaLjRHz_be8D9_VBBQRoX4NwEbwlaTWoFMwtdW9H_MYg0yVJD4J7g3L9JANEerWEg8pBqpyv654MNN95NeCfhE9BcSw-pxLROGOekKdRQ-TQ"; e_fb_vipport="AcL4JE4yr9RDY7y77eLd6WYkzlUT6vFs5LsVZoZ3Lt4aibvyrcnPTksx0ySp"; e_upip="AcIsziAxaXzUk2z11JAuzH6Kji_HYF4Ws_PR-y2K4lIrejKT6_UMLjps6dFcTLkVc0mDQE2IfvSthq9AmFMhiIG02xtdfVxAD7Q"; e_fb_hostheader="AcJ1I6AtMV7-PE8YogQo_W7gD2F-Hk-lsOzmLtaqtjv_iRKLh8DRLXHF-jfdv98hkFfJCkPRHWHFEWQk"; e_fb_vipaddr="AcI3Ls2QuxW37LzCYbBI64FdQa-y-XCyl2EwjpKinin_-qJwzSYOePlGFiTWwpmduypomNGBBFCJS7OL97XPb-Cf-nZ4yfknGw"; e_fb_requesthandler="AcLTq9yIcmBmRYxbqRVX7TZveZStnYDI8mdDGrzLl1s3j0gijpYlB6pJMcF8BNlvFN9HMU2kl5Q"; e_fb_builduser="AcL9_qtBewfZ_dPTBGJQ6VTd28f4tgAh2yYgx3QV4N7QVE-s3nphy5EvdVRK2DmDZPQ"; e_fb_binaryversion="AcLun3p68BCQvIp1JmMC3oRxMtaNb_aTqK6x6r3b8s0KEROzLGM5VsLXHA56c14aTQp4xGvhyFmeixmnamkDu1-4U8S7WoObCDQ"; e_proxy="AcJyRAJ6ZY5IPfCULT4u01JDz18ntZTBsdZt39con46Gxxv-GructyzpBYJUXWquF0XezFCuAwu-UmH2rKHp", http_request_error; e_clientaddr="AcKszC95qbm87wt5sgAuy_XMO7Yq989K0_weD14VWO-rzeNTdottR8izEo4EYfsBKesph7izTnkkQhLbzQ"; e_fb_vipport="AcLT_YCIt8vkC9WHgDlusWNLHlt7PFXKFRz6reUlXNwgjPk7DjFimNHTUqul"; e_upip="AcLEhSjhipVg7MXsJdScQi_OP7IUEMp-aXU6EXtU3L1c4s5Shiga9jfumH1TNTkCv9AFkkJw4WALAi2_wNi9CRXQ76VoHqpKMg"; e_fb_hostheader="AcLyO5rEv5XYUC1ABRiGcXf9Z1vqF0LUJhB9tl3fTx7jcP-K1auDFv5Wjjid6bXbqAMffev-FtFUn3Da"; e_fb_vipaddr="AcJ1fluy15jWCt7SQJGDjIC2HLRLCXDtUKvzSHvat442rtcxla_agh8I3SvX4x35gC91noTxzQ"; e_fb_requesthandler="AcJdx6eg6ku5b2btIR_DD8pu8gw0ykgI7e_BHYqhKhqRYqy26QyT5LefhfjzBJGtSAgDHbxhfhw"; e_fb_builduser="AcL3UD3ix-4dQmGzPRbbZ-P9EfEnEo-cW5S_Nfymt8CCoseWm30uA7KyfzOjz6v3kYE"; e_fb_binaryversion="AcJW8UJ_Sdk2jnFiCb_foVnViVJ7_PzuUiLsdhFfmvkEDxvWypqFo8PGgusGLcuhsQUWST5aU3m-VD-FJkyW9x05AAkDg3yGcrw"; e_proxy="AcJM5jvRliTh8NVP5_6yT3yMmWJ7oVMUFYINz_GWg0T3LrK3hd2_KHWPkmkCWX-6Kq_4AfxpgHYzY4k"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"23958104507110084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 12:29:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 12:29:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApvVo2_qqYoN6STMHuoWOnN" } } 01/24/2024 12:29:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/24/2024 12:29:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AgzUEgS5vd1p3QzF7G7cVz-" } } 01/24/2024 12:29:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/24/2024 12:29:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 12:29:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"23958104507110084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 478661898, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhdQvjj_lyrEPTPTskNwll_', 'x-fb-trace-id': 'HtGPTGhPn+3', 'x-fb-rev': '1010987549', 'x-fb-debug': 'yM1ODy2y7VUnF+Qp9QCJ3iwCJO50b28m5asdwhm6MSY8mXI6/jqYVM22D4Msvk08SLBL8TvTrtcURKT7/avjpA==', date: 'Wed, 24 Jan 2024 12:29:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI96WZOdLJwpYkEdTucEiiAATZu6PVliCKeKRPXG62u7OdrJI2CZgZFT39wCJTLY3SdDsgoijiBCQdEmzvpPZLEIevKTQ4HJPx8273lucil37fHNw"; e_fb_vipport="AcJiGcF6SNIoLN46qVrsXRPItkeWcxN9W6PNEl_RI4CaO1GtV6DbjpH2Qkep"; e_upip="AcIdxZa2Z3XUKXeFS5Zf1ZrScVaNxqiGMn-OQPF_WZXQzvaLA1dwYwt74IuEsg0ANUcr4ofH6xKBm0VZOvrPGMBdiafiPYzDkls"; e_fb_hostheader="AcIdc61OZ1AORp_14LC-3AkjvGWos-7jwcxRe97NCm2yP-cj8Cmnieu254zW9xboCY8f1do_s34fEeTV"; e_fb_vipaddr="AcJjV5VlHk3zd8VQt5UlUtRFCcwAzEp22kaI36tWCQAXPzsRh4NmqWNRxIYpy2V5PDc6G1BJfjhO4VOKTpTzATU3GlqQLyYf9w"; e_fb_requesthandler="AcLchIj2qdleSig1EmKkz2tGhoUvjer9-VzXejnMWtt8feXsxTgKoo7EVQHXRETKdVxhomeEQ60"; e_fb_builduser="AcL-iiis5nndxGITzAi96Akdum2kgIfPueywSg2BXMx1XytAZcY9OZC8lrQlM9SA9tQ"; e_fb_binaryversion="AcLwPJs4dBJ2FPWG1AC_v0e2s3cimrGuU1CLVXBJNhec1flCm_WZxZDLdICoSJVzwUQW7NtaYgJE8xaDyRMxT_KyArqHjgrvrW8"; e_proxy="AcJfBMQXgPTEJ7bhn6dyDhodovfoQPpl5t4uXaSCAVG7ZQR9HS7bBIZQMkaiJdStC4zB6eLF29rERRSuzI9x", http_request_error; e_clientaddr="AcI5yYq8eKJWpC5cIG-Gyy58ypyb8OY195O2UuvO7TQk1I1S3jYJm6swetKZZ8A0zoQLhiv0lkZ1ELWq8w"; e_fb_vipport="AcI173uJTAIO1_2Ze8p64O_nPFgVkCnANECaJ7XORkj7DjQBVGSAInwzprcY"; e_upip="AcJhafWCRWhdnYwClPaVQRZZVwR_4WWXko2e-w3UwRh9jfod8ByD7hYcV0K__I6lJ4advFImbbU8fB-dKqFZcDjSFdRdc7qXjg"; e_fb_hostheader="AcLwPGqBAAb2CB2ag1V2dQVNmtXetnZko9tWQa6F8PYByi6R0yKbdwMXaQpL4QcNvps1BtHwV6pzZeIt"; e_fb_vipaddr="AcJkTiyxHAYIqWiuJyu2Du-HBwKpc2EOwjfJq4suM3KVRnv4V7u06084awcohD5WLz3T2eu8wA"; e_fb_requesthandler="AcJdIIuPHRz3CwB82JzViX3zIJFYgsZCflOadn2FNWmX4FQQkl3eYdMBAQ5-COYKQVxKs-_I5Cg"; e_fb_builduser="AcIlnkJ863uuPRJ9zcvJ_64Q9du1ZdmIRRoM4fPhuOB1PYVCc051QNLmoUrNo9s8KF4"; e_fb_binaryversion="AcLrztgl1bDDEWja8JfJ10NW90tK3Lsl7NENjkpfF1c2cHu2oeBSI3EY-6qUuX7yI5yZsFwXn20VAIgsVQxw2hiyc7VAlLRzjuA"; e_proxy="AcKFocSoo6MtaQwxPphULbxiWa8_uxpiLAU7MrTJWZgCgNtLzoNbqVi6jDUPFxAsTqCsoTmAksOBXUDJ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"23958104507110084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 12:29:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"23958104507110084"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 478662024, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWbb5MhLqkXUM7WOZBrPTiN', 'x-fb-trace-id': 'EUT1Re5sSpK', 'x-fb-rev': '1010987549', 'x-fb-debug': '0S8hlXhNgKeLjPf12T/XmsVEaOg5JQPTDWhO4676LBsKkYH9Pl8Y+aavi5gvKozsSeap/vMOVZG0gEx9eB7UqQ==', date: 'Wed, 24 Jan 2024 12:29:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKgg8XD_LpsvgTCa6dg7XYln7DgHm5iVrGw1nsjO_dk0CQYf-aUow22Sx78fpFCQcldiqlFKXBS2h40VLIGC0M6NF9hWUE7MDHr80V6QiASzmmrgw"; e_fb_vipport="AcKAgT64hkIxtKWPiLFJ1eVrq46ECrl_SDErTcin0FeFyOCyfJ4SNHNLKp_-"; e_upip="AcIipUZ2-wWf7xs_gX7NqSTAVx3Wxm2wyTbTvS-RaxKhvxzPUZsfUjFs6evSpJIqxWgud77t1m5L73aYy2EqwwXggWM54ySr4w"; e_fb_hostheader="AcKdllya-RTWTR0uOxmsKZ9TFzeHyCKGPUCdiDJtP1Qj-uuqB6bc7tb_CPCh5W-5GVQijjBl6UewdDjz"; e_fb_vipaddr="AcLwC71Ul1ORMuvg0XP-0mC4pKpsYFQyV6LZx5G-KcRhnOrXcjyocOkTGMnhrlEWqxVq7BXyvtaZqkbn4Il0M_OJK9d1NoPvig"; e_fb_requesthandler="AcJempLlHb25Iaev_aCjMZo33ZCOboP9_SF95Zl0dYDoDaEfJiRRTL_4smR4YRL7RitAc9n94MI"; e_fb_builduser="AcIRTzLuP-6cRHlkb9fsWqO4E_Q6y79nft6pmL10PwURnLijLfM0_oll1wx886EAl6w"; e_fb_binaryversion="AcJw-rLr1vXFaAPVSexCRH_sxCJAFgs1bC2NnAZs7B3vrAuP2PtpfU_sKmIZuqk_zzAmULmfGP43gsjkJ-ArS2BfZo94T9uMnyE"; e_proxy="AcIUhdN4aFK0_Hg7E9ms5DoeSvTyzm3nOkyUZzUWMVwXPTO8HKK6OWwZgWkM3_blpi3-cA1B5cxQX85IzqpZ", http_request_error; e_clientaddr="AcKMtkS6KDbwqaAunuZ1eUqq3XySnAM2LWjSIwE_SPnksr-L5n1My5s6zyuHAzkAAkCshAvAmyCuzSfJUA"; e_fb_vipport="AcKQrtTVVfhpkSZ-DR9bMc4scLixW10PWXK4RZSBwq-5YIwd3BNQeYP2doG2"; e_upip="AcLt2imhqx7JZBWJnCQE6D7wRBiJh_u_7KhigwKrGkDIAfRk-Kck5wOinuid6Ma-mOlyG_U-NT0uq6g0g3GZlmjQna0b2o3XpQ"; e_fb_hostheader="AcIKzrnXCnuoJH4aI8VoKn3TDuvn1yFN3oMM1jJ2i_4wjpTHRpOfEMztMKWB2j9N_38tZe7oAPTbMQZD"; e_fb_vipaddr="AcJbzwlyJDGuj9zci8BOXPXmzr-gF5Rh646IkQiUmLpNt9mTtK1_CsCbNr_zNLZsbzSqK7r4Uw"; e_fb_requesthandler="AcLpUwKXGtxF9v4B1fNByX-1aRzBGrXkOWHFasB6bUxKXxqtI0TmVaV-yqlbutIY2wfDrcfSqmc"; e_fb_builduser="AcJ-Q4YaYFYYIQVsKdoPOMn3zU4ABsOzUXazfKXuE2Vohe54Y7U-0ZL194Anh3mHdA0"; e_fb_binaryversion="AcIVHBNOUCvpMvZl4WRRg1PbvRjZ9S-oG3Km1OPpl0HwQ2VAuAAvcLTHZ07L4CxqdVEMSxe7g0uF1jles808k7VKZ1yr7qrTQRQ"; e_proxy="AcI1rHwpM717vyyQMeAtSELQz7tpnl3NrPiHA9zynOo3fjeIcAsZtZyudMyFqgzpKYj1jmQU0Fm-0nAL"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"23958104507110084"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 12:50:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A52KmD8hEk8Hm50S2HAs6Il" } } 01/24/2024 12:50:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 12:50:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASNj5xCzVOKBMBthUcofy-2" } } 01/24/2024 12:50:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 13:45:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 64e4ecf133485862fb92d431 01/24/2024 13:52:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/24/2024 13:53:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/24/2024 14:20:17: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A5b3gimHnLdGhUgK7v5wjQQ" } } 01/24/2024 14:20:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 14:20:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 14:20:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 14:21:43: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AFbOfrCliBFLeCZPuO3BEyt" } } 01/24/2024 14:21:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 14:21:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 14:21:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 14:22:00: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ABSWtlNcrCC7u9Qt3eIWyqR" } } 01/24/2024 14:22:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 14:22:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at runNextTicks (node:internal/process/task_queues:65:3) at processImmediate (node:internal/timers:437:9) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 14:22:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 14:22:33: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A18d9J-DNxHW0krlCx3IxIx" } } 01/24/2024 14:22:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 14:22:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 14:22:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 14:23:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65af07da7af40221edbcbb3d You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 01/24/2024 15:08:28: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AKMDfwhjBfygbP4xphLiGgL" } } 01/24/2024 15:08:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 15:08:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 15:08:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 15:45:50: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A-aUaH7ZryZn6-gO_2TcpAM" } } 01/24/2024 15:45:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 15:45:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 15:45:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 16:16:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A6VAbNxcnv9qs0ToPXLNw6g" } } 01/24/2024 16:16:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 16:16:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 16:16:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 16:16:44: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AYvLHaRlPe7J8ak8DrJ-1sN" } } 01/24/2024 16:16:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 16:16:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 16:16:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 01/24/2024 19:13:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: undefined You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :95:27) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :83:12) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :171:11) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 01/24/2024 19:37:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/24/2024 19:38:02: (node:14611) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 01/24/2024 19:38:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/24/2024 19:54:17: Error switching inputType 01/24/2024 19:54:26: Error switching inputType 01/24/2024 21:49:58: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A3lqWi0H3Ik9wXrpCH6Tlbl" } } 01/24/2024 21:49:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 21:49:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 21:49:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 21:50:46: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A63NScaJ9xSjhk9Gr4AogT_" } } 01/24/2024 21:50:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 21:50:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 21:50:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 21:51:28: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ALge7himB7du-AFl2raldS8" } } 01/24/2024 21:51:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 21:51:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 21:51:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 21:52:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AuLdcY4xHntEENnAVg21MH1" } } 01/24/2024 21:52:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 21:52:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 21:52:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 23:28:33: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7513459712000044?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 54996, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7513459712000044?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7513459712000044?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7513459712000044?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7513459712000044?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXJob7cdUn-PEv0OKvDLW_o', 'x-fb-trace-id': 'CP66PywaH+d', 'x-fb-rev': '1011000223', 'x-fb-debug': 'YDZ3UJpT6EyePlqtUbamXhBW7POZQysQ9FuvOobrcCN7PzKBqQjuXvTCPCXPrT0tyWYT1S/YGcQCBbV57iFcLQ==', date: 'Wed, 24 Jan 2024 23:28:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIllUVstcxLUBxRUP0ghk2Ae0ofEd_vgq6z9o1sYSCLr0Zj6O-iSbABC7uVRTWj9k7xCv4Om0wRhkjF9RWaLiXNT4rIhmyM0ifepLN5VzM68mvxFw"; e_fb_vipport="AcLOFW_fIIzx4U6bgT-UcI4ze6eDNsxLYzummq3yWgxIYU-RuXu6uVFeEOK_"; e_upip="AcKTC3gQShXJaV3jM7zi4ytGbZ9QvrBbdpCDK35b7oFmJZa4UjITT3fnmc0c_Pgx2FYhcsgplnwAJuQNFSsY5kk172z4hvJAHg"; e_fb_hostheader="AcIDyy23YJbSmMC-vlUpzDxIDDEZKuh_jkKHm03e2TQ31wr7nzRQj0aN_2dgkDxFlGlR_tdlzbhRJtu2"; e_fb_vipaddr="AcIDG5xLPbyqf1QyLefd03y0gFY9Hh1IOyS-jyH8_zXK8iK_eDOp3lJGBcp7lxk3iUNZrL6KohRdA95LppnSUDw53pNp1WUibw"; e_fb_requesthandler="AcJ80GkgfBR0OzB_a14CnR04mAAnwCh5LRNao8Gl7bFL__1WFr3qXtYDLUw59CtTU7o-HPA_8dM"; e_fb_builduser="AcIPHtq1v-CjH8uOdy0h5WOQ7hM7vfl9LqDFbW3r2RojhY0vYOIP6S7zdjvNspOJ0L4"; e_fb_binaryversion="AcJC2ZrYQGnSAr3TiqaAWIWeMUjNICvIV7QMbZw_LdhdxS7wMAk1sFcXbprbfvUaTaWkz0WCBr8X3jON1sGUHrix7IDEWdw4F08"; e_proxy="AcKab_Ry08BKXsNRz05bRe9S3nosvQdhmufaeaTeYLq0PZQzRIqoGAEagcnCLGoqAnCJasTqRStHB92fVXpx", http_request_error; e_clientaddr="AcInaqUXuzWC46mthZm-7hFtbmOMMuLPPZR2b5Drmfr497z46Xyn5Bt2DwBzbLDYtJemz_1fDB2z-MprmQ"; e_fb_vipport="AcIeH0DLUhpvz9elQHktj0xc_M_VE-D08n3EYfRaqLxjttO32T4wlH92sOLM"; e_upip="AcK6jLd_6nkEtX7Ap8WqRYo59L9DfMq0JhayddazHQ6-4MNuS4d-j5J5KsqsE0yFJE6lByFUBvBdzDGkfMZ6ajk24RWPvYtGUg"; e_fb_hostheader="AcKmjGrgJ6cZlxFacW-gGfxGXeMYyFeQpQvbJA_BCMhIrdfyaOvYx1hH7kU6nMiZhtR9AgIgmJUs-OW-"; e_fb_vipaddr="AcIvch3gj98S2Uss2B4DeAsjbIhIHrF4yOCz3x6VCUeY6uRo_pDNELJuPFlbd1wd73Or6Hs"; e_fb_requesthandler="AcKhuWk3Sbb_QhF18DFMmDztDaZ4iJpc9WsIAXpuu8V4qm8S2pU5MokvCIkYCFiEdNqbjtFdoHc"; e_fb_builduser="AcI3e3KlIAFx99eK06v4wVjBHsPWamXRn0ZKluepjx9imCwqlLWpV-LY-A_FzhFc3Ow"; e_fb_binaryversion="AcJYw5uT9Jr0Wq69YjG3jfJYws8v99YFuk2VNSoUmLEXVl2blU4D3z_MSOgEcjWHp4IsChfkqBdHWQT0y9QLpQF54ct8F3N6Xw4"; e_proxy="AcIrAsbLjqZt1I13fs1VsSZAI_eKNSAgsvu3DtEs2-xK_plqRT2b2M9vP8gzdv7yO9nU27DZmQoBrH4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7513459712000044?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7513459712000044?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7513459712000044?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 23:28:33: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/24/2024 23:28:33: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/24/2024 23:28:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/24/2024 23:28:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7513459712000044"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55120, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASns76V9gqDr8TPbkcoHZrI', 'x-fb-trace-id': 'Glj+eMImeN/', 'x-fb-rev': '1011000223', 'x-fb-debug': 'oS0nkzKQjGWBuoHq/iEW4tLdu4Os0jxV4p/rT9Ner13RoklXcSsZBXHjmtHG6gUs2gKRUXVcfkr+8raSLRXOAQ==', date: 'Wed, 24 Jan 2024 23:28:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKqDSgPJM-BPlPLL-Ppzh3EhSC2VB_g6ZUIbd36-NEbDam_SkrFEb8DbfS1iUA1x3QsybvYMPugs84J_gidrUoeV6llP2fgrN53Towe8vnnnDYkKw"; e_fb_vipport="AcJvdowOX_7qRwUd8cCS5wcRhS0vatV137wfpwzKseexG6XlfI-f_eK8bsqY"; e_upip="AcJYCk2ZCiE_-c1mbhTkolKAmNcWIbqLODVBK1Y-sN3HhflZz4z4TRdklcb8GL6j5bZZCccyDo4o07GfoQJCIFTru6QNN8tWjjw"; e_fb_hostheader="AcIt5n16OlnBDc5NzL0rBnM-Ovmcy-g3UDSX8UjMbbpw58YdHmazGP8f131n-LrvnVDwIEyvls4anO6e"; e_fb_vipaddr="AcLT5ulokFAEswQOuAj-Qbm7-6HUc3Ca3xJJuw0UYJmSmnAIl3ik8QPKx-SOmMv2T5iaod6nyPyCxqfy6sBtkOalidn8V4-8lA"; e_fb_requesthandler="AcJ4LEh0Xb0SMdA-PMAHan85_CRuBvx82HPNFLaif6Ee5zAYWHr3Sv-diuANrEpt24Mf41JQxpE"; e_fb_builduser="AcIC67deSfVrgla0V8UXkzurWfNmJo1RmcoL5zZ0v-VPZvweLBJRTci5C23mARY_Qzg"; e_fb_binaryversion="AcKCj4PIv7pMwFNy-OhjaDq2MfIcJoUxqqifCF8S1hHAPUXXoXmnhvpDNt3vPt3lPo6SbsW8ghBXLj6iasU-M3-EeGuAnySeiKQ"; e_proxy="AcJ_S7u7XpEHZiqgSDWFyxgmOvbkooBSI-BK0p9b51na3Og-VUd098uiAsQldUdqXKO92oqcTb1Kws57nVDJ", http_request_error; e_clientaddr="AcJhF79KDyOa1kyXkgMojpEzCGFHOIb6d7IWU-Xtruu925vIKcJoPQjbpDfmmZpuQUJ1ryZp9JYfgoA-xg"; e_fb_vipport="AcKMatiY2DrQWmiHXO5REnD4toM6sv7a_1jNE0Kd0KF3XOgoz402hItA2YWt"; e_upip="AcLjObR0ZEjLHr-7AnZ4W5YMMHUaSB5FaK6qnbaz1V4SABGoxPTn4-LEO3T0OwzwLstj0pQujbWo_F6y_bwvgL7_yLf_taRYWQ"; e_fb_hostheader="AcI7vlnKV16izXucWOYOuXCuCN6cr2VzhvWnL0iw5br45GfAJZQgiIYOEQO3JgkaRLKF5pAsVjrdQ10b"; e_fb_vipaddr="AcIy9hUyN7FnQL43lAuC61d_RisiaQd-dD0YWMF1ChJMcuowbcLtlyizO_AcXq3MsTm8Csg"; e_fb_requesthandler="AcIqI85lqxEGfUeZxVDsHv-ut3ZFDh1tqebdX6sdy794kMapYk4IzEmSw-TXxjHmMzqqy59oDR8"; e_fb_builduser="AcLAuhRNE3DtiqS00pValv1i_ISWqPmZ4vf5boWc7bUVyeI6RGogVxgoFZUGxlx1PwA"; e_fb_binaryversion="AcIEEXgY2gjqUL_zknhG8xaDz9F8XEDtMYLcz6f9dfo-9GgNEdxrP8uIJJtA9o_B3dvwvvQK2C1nIRIQoYFYzj__s3F9pUw6pmA"; e_proxy="AcKJJfnjBBKrm02IAWhMsQc8BnsMDA3iKaQR7opVCQFoooozlUcW-7HtBdBGTU2jmyEz9JHgRAx3Yeo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7513459712000044"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 23:28:33: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A5Zs_X3_eYUcnYhriw1mfzH" } } 01/24/2024 23:28:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/24/2024 23:28:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7513459712000044"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55192, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aj7i-ETHlkBOlgSUekayOvB', 'x-fb-trace-id': 'DCQofitqBMq', 'x-fb-rev': '1011000223', 'x-fb-debug': '0fuv3VaZdhcEpAQibBjnp2w/kantT9taNfxoJckIYnJ3m7GOyw/e4nd4jPjr+8UVoeC5hpl73IWaAa567MsZ0Q==', date: 'Wed, 24 Jan 2024 23:28:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIscsmP72KLxe-pR-LNnaQi8DsGHpNaEPmQjHNiNH8jwQq5eY1KpnWP6DPnvZuGzlHi6oCdweAUn_38-PQ8XOZY8ltyHsGvUI9qtx1tHhhuLo7Tow"; e_fb_vipport="AcJkxKH2zCUhTllDFJxfstiQiCJRkHCU0Vx4yYSyxZxKcmTwGJfCBWBpXJk3"; e_upip="AcKY8uWcHrrYRi7-vYrVACvMk3lYTfJC3GU7pFBKGNNckput1RKYVfxIRx2FhHJJjVJJbwcNdvUjuStEvL5xwrwuvvb76w71fM8"; e_fb_hostheader="AcK1dyKT9rqk-ue9vbhXf_-6ssTDF0aWIm-JjY9SHgW3UmU4VfqXCgXcujh8rwDkMKUhBXJ0NgZpMxPh"; e_fb_vipaddr="AcJSpZ5BQtXik01MORo7QkRiJPE-WFCTfw7IFEtXI6PxHC_2_NMlAVcX5fwKZoua3dtGqSK8da8-dAANdmB6MzBDMyvFIOTUmg"; e_fb_requesthandler="AcJ4FgfdxtFCzXIglzws2XMaWx61y4oGtusrYvdlBbnsFDAoA4iMnjSlzP1iS7AIcGC7PIaz2zA"; e_fb_builduser="AcL-EGTgEFpacMTYZ0RDFglQ8VFN8Iqu_-WlQtf6f2nkYe7r7ahqoKU4cuFUiLAgtTs"; e_fb_binaryversion="AcK78pckn8DdVAuM_SgFZ5RVm4TT8Wa-i0nKQRI1GkY-CiPpQlXFRvvErnQmM5Cpc3CYjnDfoU0ldDk3GAVPXkuHx2wYHBymrGQ"; e_proxy="AcJM51AwCrZ5d03jZHexH7pnuoAgYmCOHYJ61rZU6TPhdUz_ncY3IWdaxUcTADJYfjaDvZc3AEn-zk_JrVak", http_request_error; e_clientaddr="AcJt587PvW23-Q-WFEkxDpOSvpage44Tbx6KXT0ZghsziwY3EVfWvOMOKCqNG_9yzpXxwVmblRmP4HXxaA"; e_fb_vipport="AcK7rEK5-EIxkWI9oZ3DWkAi6ZylYId_nqpzf5RqLel8N9TaXmwU_JW4vDW6"; e_upip="AcK9bQ7mxBBy5UIBLG4OTaVkHwlAYH51ajMD64EdzqSgUCbF9vSRHyVaNE1ii7DTEg5dyi8fYlZ1_TceqjpE84GQtz8NytS36g"; e_fb_hostheader="AcLwHpsF6suG37zDS_SZtNObI2yEJSSK5utmFLKPcCB4esgf1nQUEM7BzweSo_JJBRiGqi09O0wr39kb"; e_fb_vipaddr="AcKqClXw7rxwTPkc9pqqmYzu8EF4oeARGxxyhbWV5uh6OR6QYj7arOs7SM3Q12GfPJkKBBc"; e_fb_requesthandler="AcL8IZaDNMJ6q9M8tc-OWJJQna1Xt99hwqpmdZHyuQAnK86dRPeUJoarA1gAvQW8MG9GWxkwqfU"; e_fb_builduser="AcIy9tKHo6fmbO5xplpBkCMj7VEWtJenuJXmeoBbCfOuibmN_T-QXEbvDhUHox6PoFA"; e_fb_binaryversion="AcKxV0m578AGv44Qcs-rHcDxuFrNKvE2yKEbgNCFrVJN7Ty0gsaLsPfEoH7yIK6tICtrp7k6PXO8p4ryB6vglsrCku1mMVAcVXU"; e_proxy="AcL6_pl-7adgKeVhgbfKSJZfjxx-Y7R1Jpom8PNaf5s414Tajs5EXEKs0NuzeSQo7Qpqv6diQFijrrA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7513459712000044"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/24/2024 23:28:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AqIWkFoaufnQ8fHZVoXHhj7" } } 01/24/2024 23:28:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/24/2024 23:28:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7513459712000044"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55306, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvBkyI5sYtY2EUJGzbkEvup', 'x-fb-trace-id': 'D5RoM6zOrkP', 'x-fb-rev': '1011000223', 'x-fb-debug': 'vvHXReDSvlJWeu0ag/eOMdf9Xb/RcEbCmNQeUfADxRnPbm2T2EKwLNhmldw0mVXSyxnV0FcuivRXq1SzHAnXGg==', date: 'Wed, 24 Jan 2024 23:28:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJz_B-gQ9hW5NFK_LnjWdtmnY4Rk4rfzvoJ9EJABauBN6QK8uo71883hyCPGoAvU8tOJMjrXJKz2XOx6zlLGuzP0fXEwEFrX8D_l8YEwzMf2bUc-A"; e_fb_vipport="AcIOJB-xY3wsJN2WtOP4GKZ0BxrOSS4SmzTo_dCu4IEHrXoLGriL4Ub2MHON"; e_upip="AcJJxPKRXwXqVVWaUE41Fm-i8KXLZ9YYTXpKvK2ZmBwxNtAgzuR3YGpe-cAd77_nbmxXKHEkWwrwjaR1fEtY95bQqsVuJFop4mA"; e_fb_hostheader="AcKvssLLZC98k0kjCgQGTdqyzC_fcFoLxCrTY35Ddb5SvHKvYq-wnLXXWu6a1x_Mox-i2fxmAbyfV3vp"; e_fb_vipaddr="AcLS6G1_lqVSXMMvAX3e48mea1BNcg_x1C2tvzh2O4eBw60IOFlZWB58xaLTvDH8gc-HVWRMKf1y7M5tESDxyGoZbdbLo5j6Sw"; e_fb_requesthandler="AcJHXmkEb8DSsR4yJU0wzQEKZgWtbrIHio_k1VLASllKy0Z3E2cev04HQsNLSrg1XEG1forvWuo"; e_fb_builduser="AcJqqrO6aBWgfRiu866q9QG1ggJBJXhk_rs5Kl0Gs-4szx6aL0nNPADk5JjDsNsTzmM"; e_fb_binaryversion="AcIwa6cKBn5ElBF-ViPactRNwoE8Ht4XfG_6IIlcYw6LgjeQVeSFVyeDSr8W3roUS9rQNw1_F8ngPfPt8ivRzt0H_3rOCkm82qk"; e_proxy="AcJqujvHUPpK5v2NA4k8NawxYLfbBrBE2RWtCF8RTXLE99qGvGJS6HssVst9M11-IRyp6thpds6L51YsQVw", http_request_error; e_clientaddr="AcJdMV8cX6OSMbeWjxFC5SoNR7E-Es1_Oqzt97qQcxkiidC0ust6BLg-YpEVE3kQN0_CYjQKud0YHGPXQg"; e_fb_vipport="AcI0Wr_gntsbd838uyfGMn4_yF6x9pBiyoN_xk1af8oZLu44tdQZbyVKPeKm"; e_upip="AcIXn0YGTTD6sOAPOnSjzAMsUf3m-txa3t-jGz0kLTeFfUASb8vA7I7-p4Bh8p43kCi36jMyWiECWF6keGVQrB1iyRDhnefwpg"; e_fb_hostheader="AcI7AAL4uFEAoldlNIKYrEaZpSlN1OT-18eFRU9c7zhaJ5jG0P7SiT9vC9ESIpWzcw24pG86y-ExO_VQ"; e_fb_vipaddr="AcJ0A7QveuLME6q81DCRSQj6_RPSenhsELZvvmUhwXCCR1xUEw-hmkJC8ynQzphlEJVwURo"; e_fb_requesthandler="AcJ-wIUtbTPm2ZiPaNBTdfh6wbMWKUZDlrW4lrnU3ju-aIcHgZecc8CZvKLo5Ltk_DK-pcbO-iA"; e_fb_builduser="AcLhMfCvbZf2ZyGaCZ7C9smQy23wX1cHcXdo9S44l0X3oyqRrIWMzD-qiQIg7pWrJB8"; e_fb_binaryversion="AcIYwe09Tr2D-pn3fcTqcDaVEPAsZ-ibypTVOI4d-_mhqJtag520IktyOH5qvnSFFUnODYBmSoMok-cQRFArBew2gJW8J1H8ttc"; e_proxy="AcJK3NeYfwmUZ2t0Qm8By6Oe4etuWAXzfxpiAgmU4277SoAKXWGpd5fs59urQS3uQnCB2M32zIz53DE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7513459712000044"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 01:50:03: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7264653563557642?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 80089, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7264653563557642?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7264653563557642?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7264653563557642?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7264653563557642?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AL-AgYsSnjlAA3ZBe51kgCE', 'x-fb-trace-id': 'DG0EohWeRnO', 'x-fb-rev': '1011000223', 'x-fb-debug': 'jOILj/jXNmmBRAoixGtwVFHfz7xwvdJpgxyFVlXWxbOdO+ubxAxhf3ezxtcaM6Sciu7LtNIH7974gTYS6Lj48w==', date: 'Thu, 25 Jan 2024 01:50:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJhObvb4YQLsX32ZKg3oNGZFnKwmC94f9iqzki-yYRY-Xzsod1BAb7KrdO1MMVFulNZrGc6KHIHfxR6QHkOJDlrvmIf2p8YFPOuTMNRT9W0hBFVHQ"; e_fb_vipport="AcJhIWPEGy9FJBeuDwG45-TYNW2Y2gTbNVB0YPClD8CYHn2W4NxjWQZc-g54"; e_upip="AcK5NrAiAJgob_F_9qzPmhHDTc0BQUxS63TCPsVfyUs8-ty7lwk3cgrgCTFy1Fx-lbT80toDOM8XvxQ3W7IU8x01mYAcygvkpPI"; e_fb_hostheader="AcKElFIJ90WCNq2EOBzw-wZpLMSamFkBUY2k0zWme8Bt-EGrUhS7LKlsRk8Ubg_LmgMkFTAGIeCsVpmD"; e_fb_vipaddr="AcL02gQ_392rSB6n-tzZAOzJYIy-vTY-Ild9qJL8TewILXy0nXTGfptJnxxiQBwuvzQLF2Qp6_kX8_SO-A_NiSl0MbYB8ZjVvg"; e_fb_requesthandler="AcLjUiTYVY3WnhTODc2jtJ99A5mRmxRJ3nt40b9WkfTFteKAHIRJ8tCh4R_KjrvqcKgtd-1dxY8"; e_fb_builduser="AcJUfUlgyn_AF0ZG6-DdsnVj9QhlOzAv42oVAIulJrkEMhS5tu9d9vm1ymi-0fEzKiA"; e_fb_binaryversion="AcIW7mmvHEpLbpnDuCQVlj5St8YIztKPFNfzVYRO3dDuh_IcTq2xSEDVA0y89vY3dzuTLm6Svm-1E4N0KkL78s10NL4BjnYDv_c"; e_proxy="AcKAWKBSLPFjgZPOfXxnxvlrXfojH0_YXcleLh7X8uAfOqot4_CaFvFc8_OU9CrNm8tJMw_o-LrVoD7RtDWE", http_request_error; e_clientaddr="AcKqdibjELAUW5Szx_P6UwUgC_m0VroT2hC1THVOdDb2xkkt7JT_O9xW4YIlSHQ3INAfVafp-n0f3k6jFQ"; e_fb_vipport="AcL6vI5F4gBrRkgXqARfapkJ1yaKKZY-jLJEKtiS4b0ppfLPNvaNuSTY9kQ5"; e_upip="AcIu9dF77RDLKh8CDaJShHdkGAXmYxQ0mJ5z9p6iuG42Kl-BOBzx0kNVmLxhzFSGEZhlu_CTpsMd5B6atOO5IX1BMw1yfzF4QA"; e_fb_hostheader="AcIp2He33pQmbiJPmCTrHAsYbcLP7D-xgT4mtirnRG4mM5LFHfyraaNWA0IvTBZn1xe8A5x1ffCnUuW-"; e_fb_vipaddr="AcI_7fkh6CT-LWNjbekYwR2W4qtl3JC8IKlWEmwctDVJeZtPYyodHNgiSPoxFLSi0suS8Z4RWzI"; e_fb_requesthandler="AcJhr3LUW_w6v0lqLK3LUTpODmo3pyHh3VbfpaROaEUPTE6LBqMK2A2BB7j1DiFL_RHOowQ0C5U"; e_fb_builduser="AcJDEk23rNUZWPABtHtQOJv4W6IBJYglaYGLnI5i9GILru45sm4L78Q-TSFwX78jbMQ"; e_fb_binaryversion="AcLt2pMMLIe9hae0JjtCS17HObD-JdeyZheeoRstrvaN6ONPWgNgBrMpmtv849YEQaSJVwcUh6PQwfw3H-zOuaEgtWGHcWoXR-8"; e_proxy="AcKXzKpexhCrtn_X_TUzlXTeC5-seJoOOMJWzHEe2Qr7OzutL55Eq8jsCbQZ5tstL29zrCXajuxsoDo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7264653563557642?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7264653563557642?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7264653563557642?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 01:50:03: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 01:50:03: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 01:50:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7264653563557642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 80207, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUkkVnThzpbAazE0ZQs_29h', 'x-fb-trace-id': 'CZaF1bw3YUQ', 'x-fb-rev': '1011000223', 'x-fb-debug': 'mUphtkCk0iBRYY3gzODCLcloTzVSTqwV2mY+3heOza6zyvW4HFuviudNKgJrHIOOZKaFVp06c7Iof/Dmvao3sQ==', date: 'Thu, 25 Jan 2024 01:50:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI8h4YTMSCk91hgQH095EJJQwDAoWCjnKrXg9MgPxwCwpFLMjsCKPajaObn5ZehjsirvLtJLbMyMpn-iQuQFQBKoHiVRyypGhgY4ok0P-DJhyk_aQ"; e_fb_vipport="AcKNOLbMIHfDiOQVNdec-GmWmMqPt1nDqoVKqEEc1a1kf36r43JorPjk_Le8"; e_upip="AcIM6hiR-8CfZlmluJ1NvjvjyH3jSazXc0y9sDCb1RB1ArHhWr3NU4fXhykyQICPtNwPs7-L8xGp3wmdSMu6lWtvXJXlpt9bzg"; e_fb_hostheader="AcKNKxBl9Im5GgygefpwUELJpyYCpwMcpSU49qyTK8ygsbfXQ-MrR4Mr4M9Iow5fR8u-MdbjmKfT-KzI"; e_fb_vipaddr="AcLV1kEUOjvmhaHq9md7zCeHPVJoJkXCW9Esjp0qJonJabEX66j1QPoUN1HVJm9T2veXnTxeRuSJuMYnER4CMCYcv2YzUNahcA"; e_fb_requesthandler="AcINEg5VGqzOgCJy4IMHKlc4Q8jZu-biXz4qKhuTftyDP_YpyUpyyOVFP5ovyfvovGvJTdu-hOo"; e_fb_builduser="AcLbLXYmKrAo68_r-aUuDJyIxajLCoNqVUFCqs7dfdB0RJozuYl_XVKU6PNfZL2bzG4"; e_fb_binaryversion="AcLWMOTjdKUh2xp5C2pHEign55BD_aLhs5KQaLAZcKF11iKJsO6hYfqVFsz1vLgLDtV0e2pNuQM_WfVV_3qt6YVrZMFQ2Xh88jA"; e_proxy="AcJDvuPx7A-tzTMGbSQi4FE3xuVAI1taBA8SXgKDDD_EqggJKREI8a6-po8MEah7BQLm6aUCsHR4D8VNTLU", http_request_error; e_clientaddr="AcLogUz3Tf_tZ7vnEmagqvRHj3bkru9UcuGLMHg7toSpv7cGoCFdhCzMsDxYxR45nAtlgMelMG7xf8dM6A"; e_fb_vipport="AcLRT85AJygvMuf8rhEf1KzZaIx8uDiEdRJ1oeYyv-R3bKs4jqyp5fvQZ9v8"; e_upip="AcIhw7vRVfLW11uGY2KXhqn5BUxGh_j6icKRcBzABk5lha7M0QCOYME8cfQxIZzlKb93vrc6pJKo7UaTCQkrAdoEsG9fDiz5mA"; e_fb_hostheader="AcJI6x7JtEEjAig3qJV881erU6-M9IPixtp33K8xrNQjHYJrsgNe3P_WUFw5lGz7Qdmv4BNDoVNA_GhF"; e_fb_vipaddr="AcI9ORx2Je_JnCmxd8taxpt0kEAW7C8t09uy_EpyGq0T0dsGhTzc0gEbyNteKMF47P96s6I28Es"; e_fb_requesthandler="AcKow11JtzkmfNIw5bFuG6Co9dMM30jTWqhJYhfWpiZ1YosXWDp3EZsXIsFWT2bwXrn0TUgLzco"; e_fb_builduser="AcK637nogDGXueT_e-Gs4WbrQLiOU3r960yfK6ONhZZGp72BjQgLkep_V7O4a-tgNss"; e_fb_binaryversion="AcJOp5bCxjjvYGK_MxvjCO-4XufU1hvZM-0kn6qJ7x6gYiY-6Hah-1seJ0DlJilLnP_luJpMzZEhX4SzRxGVn84tJ4jN2ymEbtc"; e_proxy="AcLRQoF75P2UtdrcH9dopoPkMCMIvOZzRc-htDqiFgW4fs1Ul_cSjsg8gxwPOXQCB0FxeUuz3YdqTvo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7264653563557642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 01:50:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 01:50:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AshTAQDy4hiCAAdTWebQ_th" } } 01/25/2024 01:50:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/25/2024 01:50:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7264653563557642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 80291, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZJXwvVfCz8iqn4ElXrYP8k', 'x-fb-trace-id': 'HNB6IvI00SS', 'x-fb-rev': '1011000223', 'x-fb-debug': 'pleSFraQNZnZ97CTHDoTdLZqCErosBcbLllt3FKNB7/bEBvxtspKcgvbgZVxwWiWz/MbM2J45hEOOlCLrpTdbQ==', date: 'Thu, 25 Jan 2024 01:50:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLQfJqL-lY4YHL_7LmeEcdMTAwPQCrF1YNL9-New61MystFDNxtDMkp-yoduKrih0i_NXguRsuTHlvcgm_DoHOrbU45MN5jz2AcJTyPjPk0c20A_w"; e_fb_vipport="AcIm9eSo6OdJQ00coTpdQtzNw-J921SXJAgOxjEEoLs9vfz7byoGuztRao0H"; e_upip="AcKDeiyG1n4F0OVXBm24t247YtBY1zeinkbAMSi_iaEd0P34qvdK9vaPiwIwnEVfx_x8g4B8-__v2bGx_7FCblCX8azBIzwLlx8"; e_fb_hostheader="AcL_DlF_DaOjQY1q8cSojgRoNvTLXtRXheGDg3jFOgqD7bitRyHT5BL1D1nz_olvVYquODuj53G4rMwN"; e_fb_vipaddr="AcL3BOSvev-3CUIvftyMq-PzGLL1wGEzrIaGbR5CA5h7zSGqzc04oRmCsXb3_WOsTk0_KlXgkstgOGNM6ZBopH7447EzXzThKw"; e_fb_requesthandler="AcIXLtDbn-Me8fFLwrSOzF1c47se5unBiduQD6kHpqDxw5YNW58WPvMC7Yy2JLU8PMZhhkAnk-Q"; e_fb_builduser="AcJgA5T_b_fjf_3qXk-2An4a00nqgwEFWdjphpwQd3v0jcoiwCaJYsnkdkEv9ulh79Y"; e_fb_binaryversion="AcKW71DMTKyfT3HRYBLFx_o6p5xXykdZJcv3PjjA3X4w_TQQRLV-hYyUmk8pAXJ-cARyRGtD0b0Nce5N08Ef_jGXwRytiA7FbJY"; e_proxy="AcIg3ny7R8-sr1meMXsJFsbaz4N9DgBjdced72caj17lPdOnrwCV2gRIdfZ9ab3yTQyDyfatPlKKX9AEaDBH", http_request_error; e_clientaddr="AcIckLulYR2yDerR4r2z5OgM5ehBrg81WVygajq7B2bTNfWljGPrqjdiOukNNdXdlKJRoD0LDuIVdK7ksA"; e_fb_vipport="AcJ-FMlLOGQuTJjbEM3jxBHKNbYrP_wnyyGerAdcSGY_80YTEpRzZBhFPPQF"; e_upip="AcJYFlZ088ehT2WQNIcUN9d2gtlsRN4z8jGbjdwL-bET_Gr36YZz1E98F3bYD6FeNWmmWBGcQD1FCsjNdHcSpUoRKmtdBlYlFA"; e_fb_hostheader="AcKFg9TW-V4j7wh1RQgrif3cZRcnWjE44saCVKOlbVAEz25edQVB_do9sZh5K0nUCBOrGZ7rmaHZREei"; e_fb_vipaddr="AcJhjU8QZwX0jIbX0m8zNuf1zr9vViOoPDDXGNy1wYycbqJqopqv99C2x5xukc-0l9myGGKcVEI"; e_fb_requesthandler="AcLDErP148BhEHE-J8EEGH6c1HFFnjvsDo83Gb58NJbhw6Mte8qG5-pGUgnZzjP4PtEVXzvb8Ok"; e_fb_builduser="AcLCBea4UjTBBoatnKOZnJxOTshU09xW9SjEHcnJjwD1mlWMmamj1PJ6i3cwFuFIzb0"; e_fb_binaryversion="AcKoyhyFohWd9aYZqZJGuAZ5kyohxsDiT0la2aZwbvRTEhCZz2xOro31Q1U2fnD3ExGtYCHY61vJR5uB5RRWhXDMtkH6fG3qY9U"; e_proxy="AcID328MvFFPW2-YVplBdCop2BMQHKKU3ZTqIaxUniM0Y4GkKaGZoxnFRYD6AfIRnGKVQB0yZXnqT_M"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7264653563557642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 01:50:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Arm8S5iD8udZMqTMAYMa4zb" } } 01/25/2024 01:50:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/25/2024 01:50:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 01:50:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7264653563557642"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 80429, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoS8-AB9H8StAXojKDIa6yq', 'x-fb-trace-id': 'A7CF1BlV+bH', 'x-fb-rev': '1011000223', 'x-fb-debug': 'IO4ZUUSVPduwgnJ8lPoyrQobJ8BdNUwlZeHph3ECzDbmqnBnedQXxTKCRqVKo0uHZ8EzDnOzkpODFLzf5yr/Yw==', date: 'Thu, 25 Jan 2024 01:50:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ0TQvwBQDItT6o07hmV_KKPeCXzh9spRFzR9hWhfpf1kkutT3eArlDawaSvYCaGpdGnuqfwBcYHcJEqF4c7Kf3lK6B3NjVKT51FadgP7tkqgjjsg"; e_fb_vipport="AcLWfI-xYGKO2mO-41K32YyWHVr1w1xqtOmAHUHqp8ClzDcdyHu06ueUQ6Hh"; e_upip="AcJZ00eLvNksqqcnzIQpuLjpyBnjOHd_Zw4QrscXuBKW0PHNviXJ4w0okCUZIKB55mmdQwKGu-zezkCXE8MD7nleuoR670TieQ"; e_fb_hostheader="AcIzxgY4fIjuHyRkHt3iJSqQbGDqrkWz702qMiAyqILkYAVuhpVZ0_F6TVmd420sE1dg9eO9t6nfJIVy"; e_fb_vipaddr="AcK_w3PHi7_5YmwIC0KMrDzNWIYqXjNaDe0QhOOFqO25hAPiPCfSV533GZT9ZS4urh5kwxWsg10bI5nLgJLL7jWgJauMKJC4Gw"; e_fb_requesthandler="AcLfYK26s0IDP90g7dl_PFQhQS7DOveaSJ5DYa9CX5kG87W5bjdnl8vGqPCAxmIrPpkY3OMzi18"; e_fb_builduser="AcIVWMd4TztHHHklHenyQYAcR3GJbYSWr4vydHiMBgC8qwAt0BnoNmYOKO2FGhyb9JM"; e_fb_binaryversion="AcK8Z4jXgbSsDYE2bAKaSogrijFVa0_Coq3ugK2tA8V6dRfrS79oEU_XH5AyEQBhx72FvSGbezhowldxs9zLjRsLWvR90MrlLBM"; e_proxy="AcL-W0PIOShPFoI-fIiROf4dzw27ffIDjpftYBjRYCdaZvSCP--MuSay_Jb5Yy4Md8x5k5YCjXwcpI7zQYVo", http_request_error; e_clientaddr="AcIT5TSFqeCSOoqOe7BFyXexkiTSCf59KJPVGxEkwBsFS7lzZyCsQp116NBngj-OILpJTyf-05e68GiIZQ"; e_fb_vipport="AcIlaZuIA_Njze4BANePBOlV4b7p9biWAyBJwkMRguQoQJhAPlvvtQ0VBSDo"; e_upip="AcK4I0ZplVZA0pSytM0Gw43MwH2XP4_CaiGVi80VDhfrt_U0XixAqW-Enxrr_N4EzZX2dMBoFqBPatwJyOEw-XeTadP2nUCHBA"; e_fb_hostheader="AcJKBdhchzfohr5bzAAIEgdSzNo-kv-tdhEaZxBxUWnuQ2lLJh4Ki1oa8rrNsFEPYRzt-RkwE5th2RpB"; e_fb_vipaddr="AcJAueBPmfYmAMKxL_jUid5tuQ4YLqmiYDdy6WY0XywRI9Tc9irocAlAfP4Jse8Up1bq7HL5BFw"; e_fb_requesthandler="AcLfT35VZ1xDjxB82sXxHKXbA_3DgucBC3q7PPq1eJsNrjVTUzcj3rVX-e5TyRWDI3GhZCZzLow"; e_fb_builduser="AcKNvHPau-pnbwwp9TL0XTBtQiX7sJqvNO3C3MhNBlZcpU-OeRoAHTwzUeXVajTi2dQ"; e_fb_binaryversion="AcJTdbTVhqUl_4lpL8xnapn4vln_oVW4nWZZklGOGhPPT43tniPpQLHigxuE08Cq-ZLw8xNnN2zYZVLjAymPXmIW3MdFdEAXUaM"; e_proxy="AcLJYVfYAzQaORwGbHLBIYmbRanxB_JujaJSihDFBpqYp1_nnC7bjk3y1kUMMgNal5cNPawlzXBULqo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7264653563557642"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 03:32:31: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6394061497363054?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 97643, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6394061497363054?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6394061497363054?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6394061497363054?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6394061497363054?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATHB59c0WMD3taC3_B-mXR4', 'x-fb-trace-id': 'Cy434Q9CUJt', 'x-fb-rev': '1011000223', 'x-fb-debug': 'b4hL3KmqU/LKk/rUdVXCOm+3W49GIKMjHiUzy4qvYckltRCE2yxI6/eLU5Tfa7P5oSVW45SRW/gylDurhxMb1Q==', date: 'Thu, 25 Jan 2024 03:32:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI4eT6Y-B58BzVlZ4Cpnh1XX5KaizUmV5mFWOrLwC-PKwMyCFN2CXeHN8zW0W8jP8vv-Z0bCFZ-vECmUlg2_-rWXGLdiVU6wImI23kq_tNIYrDA"; e_fb_vipport="AcJMd-vMZ8fuPLuFuusWSZa6tb9MbXiC9tLgoLhiZw09G4AZr_j1N9QSBk2P"; e_upip="AcI-Ajj2ytz8E_nUFSA97eNxrj_Cf9JbUU1GSz072VIPzCT1JCZP5Az2MrRSyEDG-YQ6oQaHszKzps4-Oj3PQB1obCVGEz354g"; e_fb_hostheader="AcJcFPHC3hl9vj7Lt906V-Eth5oI-qFJ8xOquViH3QE1SGcTs1eeI05x3URDpj2zu9shD8pZ4PJqA9_P"; e_fb_vipaddr="AcJXE5vMN9BlDDXIVA1lhKEm-tu-tBIAVTPdtJqCZw-zGgJOnv4vPjxJYx4erU-_Ms5iEkzdQN_VgDgMlPAblXVNvWSAQJD_yQ"; e_fb_requesthandler="AcLwirAo8znvJ__gbviU7llnVDRuETE8cEa8V8lFslnJSF-TELddArVIbjJKZKywKKEmUGc29A8"; e_fb_builduser="AcKhuUg4z46Ge6ftMY00UTS-go5yuJEY5G1TQqZvy8wzFI6luWvHID2tw83DmNp6na4"; e_fb_binaryversion="AcIa_9A2daBZSJOcNp6r1HaKrh6UnZP5HPj8kLQmvQ_wQ0gfdQfFuWksvETyJXEINeAhgzc_2ReT6OCWXcirG2X12wx5PZVarrE"; e_proxy="AcJMlOZajGgBN3-3cfAvbwq4wXyRQJhKICOzwf-vI9oNYHAZmtrNUAJq2cClGmwnx3hTuaI5nUXIKN5ecta5", http_request_error; e_clientaddr="AcL2jNTVTRzb-7_GNen2LGKcqlxKJJEAALbBqWpEu1RgBsKRuXlJmij_r-3S1ZFW5CXVjiOnWWwixvjpVw"; e_fb_vipport="AcILQvxTj72XHg0xUVTyqc0cdmF5ewcImxwBD8YuGjNMdVQHEFlrj6UZm7Tn"; e_upip="AcLqwZG2vlYY7wGoci8g4BIbHDEuLPE8QwNBxpkxX0QUe8r8fyK8iJ4_6YMSBkfQFwMQjMMGmzx7tYOQCyFN5VqGCHeoNVadHQ"; e_fb_hostheader="AcJU6Z_YnmR_auIipKGI4NGaFwNUqv0irhXTd-XPNSKxMgosQenqXi-rMBce16pjzob0Hcrso48iySN9"; e_fb_vipaddr="AcIwwm0RuzHdKvIGahv6YDbYdNJlFHMi8CHoRv9ziw075mzw9ukKYmmTpf2qdl20ldb-PUY0WA"; e_fb_requesthandler="AcIkRdP8PULgJwLhxMzTkvDgmigSoUPYUddTAin5RCNy3ZhZ7RIc6vHClWfpM913HuvvttQueuA"; e_fb_builduser="AcJ2-VhyIeh2Dj-oCgbo1Kfd50PVMXiJN7bmJ_WgkhndqM_5vjZjAYTNlw2--2DaNW0"; e_fb_binaryversion="AcJ33gIdLXcqr6mxWobCgbdPkkjuZjIQyU10vsjcCGDgAV4iZ8yXKoKzi0mIbGv1dH6jIvKg3Tl_B7y9j6iOrLsOg2f5hQZM1p0"; e_proxy="AcKd92Cvyo8oJgInmhYHYrjjFzF4w9gl0YSScfbeMfo1SChTvW9D3hY7_K7aMWMhYl3OBbr78TumHrI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6394061497363054?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6394061497363054?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6394061497363054?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 03:32:31: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 03:32:31: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 03:32:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 03:32:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6394061497363054"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 97772, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKiK5_tdrUuDZio6WUAgN8l', 'x-fb-trace-id': 'FbJAqCzc5Pg', 'x-fb-rev': '1011000223', 'x-fb-debug': 'apoqAcmJRu6wLHWePWRMSGCMVp9gfRVG3Gx7mgSsaFzRs1CD6RFEyi7iS/qanpEXsfafiVlOBkKrBtDMe8XZlQ==', date: 'Thu, 25 Jan 2024 03:32:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL-rrUDUUgiz7OF8jng4Wrvrjb0Ejzpy07IGQGcQHbX9P0afQsa2BpVPrHC1BFaguQ0QhqJxQr6O0ezR3pkvjnbhqIKCDVsGGoBM3AMyIcP7IahCw"; e_fb_vipport="AcInZJVYdDmxMZ5qIL1XJCHxrG75N1uVM3FNcu6jIS1l8eRAk0upKJrWVYgp"; e_upip="AcJ1GFa4DlQ_TVrjux4A-m-IZvQE0UrXNQbNYfWKZAu7BPglgUO66WxtkfPKCoJJiwf8ifRsMStGgvNBwXYPt_bIfx8FY4ZVOLs"; e_fb_hostheader="AcLIIKrXJlylZ7rOkzI0uJKbB9tCVTi9UPTKWIEN9sTtBc7AwWUNTycXyOgFoKaZ2WhleycM54frdom7"; e_fb_vipaddr="AcIw_LbgtTjnwOUEI7k5b0tTvFGwr0cfofXlAJoYkOwu-CGUINuFIC7vhgo7_Gy6NeRjyRsxwU0UGp6xlcFP98XoGOJaYetVDg"; e_fb_requesthandler="AcL2HGEDXkV2dp56TnarWJ2T2cxBdfzwTI0W9IwsSffl87pDPUu9DDXybgXzuFXhOKYWohOfazA"; e_fb_builduser="AcKq4WxGIdVP46osU4CdVWdTefL0Xjh4Ik_LRsLxqy2Gx0uqR0do0_SE9KddK40BDE8"; e_fb_binaryversion="AcKZgujRgInjW7k5c5S0LDVBFICTbnF-3CxXZXPI8pBL4GSir2L7gO7vp2RHCzNJHz2L6i7v1loD4HfZehlClNb1LLQhsMHAJ0Y"; e_proxy="AcJ8M9huY4kXugTkTV6M6k7gMdr7OJrmt1ssdPaqIcMlkVfZFMRgGPh22tYX4g_KFJ_4YFifeavOp5A26f0e", http_request_error; e_clientaddr="AcI8EPYJeQm6brYiHdCuE_mKB0HBhX2BeaX3n5gRZhOkXSK9ZdQr5nMABgknTWYXikDClrd0oCqi1eh1aA"; e_fb_vipport="AcLj3TfjJY6hzk648w7ezp7dNZ_IX5SqgivHz2kvGGjqJ2yZJBFn2REqoIO9"; e_upip="AcJs8svaoSJr6raHp7EdBo0EF-N6L5fWsWbJ5mILD9f55BjViUcD2E3QPLv7WSoxXf4T1pJ7aQTj1pQYO9F0Ik9JqnqgMrpVbg"; e_fb_hostheader="AcLT7kSsC9lwkecnaHNkmnngh5-_qRlY9544NGyR5uklvGfV0ZCpfniPvU7viu-7ews3XxQT68M4b4e7"; e_fb_vipaddr="AcKinfTHrG7P-p-4t36Drh3IGDu0IF4kjYGF0D292j-b4R8RN0zZpNHXzPOAjsKZZkYiZQ9trg"; e_fb_requesthandler="AcKCMkYGPf_2DRSqeUCOU5Mk9ikpsGd0mtctyl6x-TYj222jlF2MFWKtnv5QZraosu5nefU7PSI"; e_fb_builduser="AcLHUsadMJwKii2t9mvM1V6jOG0MPSlSF7_1ayJN2jQsfzvR0IcSR-HkYRuYPgzpgEk"; e_fb_binaryversion="AcLQGapvam5zUlknJSGAcMI7aApSW9d1iwzFcfT3lG-k74p-jCW6pJOeHToZBzXa2ompB3qhuiiU6Y9ELnYX-M9AVcEHXba_nMs"; e_proxy="AcKZ7JzDqTf40MtOKeYOvxa2k6Xj_qIhaCU6Szvci9tLlHN8JyHgnGgsvjaevgfKr-Vylh0I4C_e_4Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6394061497363054"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 03:32:31: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AfcRRIYYLrlfiEIBMy-Fhql" } } 01/25/2024 03:32:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/25/2024 03:32:31: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AJPoTZlKtDsWxjbmfCIvbc-" } } 01/25/2024 03:32:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6394061497363054"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 97844, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AK3CYk_LT8uizsd3rBjdrAQ', 'x-fb-trace-id': 'BkVo10fDZEL', 'x-fb-rev': '1011000223', 'x-fb-debug': 'fcfRC3kCO3h+cLKKwE8Zaw+nk7rWMU4vpALqWz8fxtdYzAU+N4TZ6s5z47B10Lbaj3S9VA4z4jFjVhcmnD0/qQ==', date: 'Thu, 25 Jan 2024 03:32:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI2bNSFwZWw7Wy0DGGyWtlqHjQ7Ot5_pQrH-yILfozc2xxdRQCL8hUDqDplkO3YvqhDHyHxKKvOOXy246Wqkl-Qi9tWQZmDu1RJgmTf4M38mxzUZg"; e_fb_vipport="AcLr51qe3xhsQsuVrZxznLnqk5P0YV9uO6bwxTTzBzNhcfbQl81LxqwhwB1A"; e_upip="AcIqYyba7qsWApqQz53y_UJUbi90vHv5NC2UmxoIL-wt1Xhs-65396i-TC12B7JxeAk5oMyufQGUj2G7eCbJw7PjXTqNN0T1Sqk"; e_fb_hostheader="AcLGDyxfBXLs_6Uc-AGFnIDx6TdNULAeifDmHBfFmMPYMUc4XXHgyHDddBDfYvBCCHK9SvTd4elHvSXL"; e_fb_vipaddr="AcKqw5JstjIwM-jeTKqhaaPZ-ywo0IkOUU3_k8APW78p7c94zxz2D_JNdZYR1wpLBdt3R-srk2KZL5r7A6Q2EccM2TG2CSb3Kg"; e_fb_requesthandler="AcJ7dwux-81pnUzDLjosuj48uBG5m1lCsRVk7EqyWXNQ_GkzCbMjzKWENj_l0Ay7x7ax16Bsooc"; e_fb_builduser="AcIiBdY2CUX-DacYuyn-yC6AowmCX25xbhsiJvYrts1sCFDpWUcS_Vba6jSN8jZ2kWk"; e_fb_binaryversion="AcLPcZz7g_sbXpxkjOv7QyjbBW0IDr0wGWYLsUXnDbqr_Zu4rfJbvzlOH0Gf5_VJ7xMiuBehqJN6b1ILcW2C2OOj3q1hbUZ2_Ug"; e_proxy="AcKmMYbm_i9_VeJTcmzITvIwaMg8FB8ubcazR6-q3dVurhB6lNawJVuawYyamPbP_b54s5-8m9QWgkk7kPLE", http_request_error; e_clientaddr="AcJPLeYXkYnrT_i0d-GVyVQhKdZzGmY908ivRWwAunToahWOe7i98yZw2qBWk0T5XmuADTfo_RNIm20Xtw"; e_fb_vipport="AcK8bNh7UeSZKHwApIu0S3HR_UMYF62QNOWx3XxVMpFcx_9FER0UbSMsImIX"; e_upip="AcLiH2lc-qgWDaDrSeIZRneeLGNuxB3Lu4_Os1nHzC2WuMJmq65pDgMiAUd0SKt4ZWx1XUHG5MaLahzH6i8wyNvRjR_eWffiQQ"; e_fb_hostheader="AcLzzZUuBGUV4Eqp7I1u7iyAYuayqjGMaBA-yr1abWut2iYU_9Pe4qCIee5AF8Fu3OB0hyqA_pX3u6cS"; e_fb_vipaddr="AcLNdrZIf_rDboROtALa-G9TS4kafGhX6IvjqJ1icmF6MAeYmrfgskieHhiZDZFN-qXrKnwXCA"; e_fb_requesthandler="AcJPJ6P39amGsuqztYDBwPpEselzkfe7wHwBo42UVG7CWin8SVyf7hqOXV8f_KzCWBCgkfYdYXk"; e_fb_builduser="AcKnNAGjSf-cq58Rd73fb9xBDcuztlAAikYd8dbi4XQrk1YSWI9NnT0TPedfI5ard1E"; e_fb_binaryversion="AcLHDMrMILzDO7p0MtuqZJxLpwMcz4aKwv4Zn_3zhMdnRMBr66vdPZqVsY5FcmQ4ulwk40zotHiDYBbMBE2IKnUzATgfltoX8ck"; e_proxy="AcIx5G_d8Al1Go7FGNby_WRGrGtrhR6aYzZSb00w1LwJNXYtYHzWtTP3XpWzg3fChYgQB6uhHVUqsp6q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6394061497363054"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 03:32:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 03:32:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6394061497363054"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 97958, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Acekk3s1A1HRb2cJxoh_dVa', 'x-fb-trace-id': 'Hb2gOZXRDww', 'x-fb-rev': '1011000223', 'x-fb-debug': 'zfhXM8BYIzJPbv5JJh0+Z0iWIWpy9n2CPotHyAQugOgrxaDX+Ujn4izciuVxIpe9w/kS0Mm1UruueYQgOe4++w==', date: 'Thu, 25 Jan 2024 03:32:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKaIMSlYNV3QhfPczS9ECGDsyMTN8zD99Ec8kPZKbhyFW65md5re-O9bK01NNaQQ5NGbq5j8i5wdMZNxxBMEZBeO9XDVjDHXtxqn-8eeqJ9Ezau8w"; e_fb_vipport="AcJWLIOnjKlQxTaiNxPpePbepzeunVChKWiNgTMklQZMrOo3NMExcPirp0Js"; e_upip="AcJcLz_ry5GF3qRj8_vRQ38NF_eH_X3y2YeAz928m96dW0NQbGuhAvlMRBMCE7yoE4Up0Rhd7Ok2-SrWK43V1HSpjvcfEvs1qA"; e_fb_hostheader="AcJXZB6dMGKwpOVVYRY5K7INTncSsUorvaCYh8G9ZL1d_octAUeDKRzQDQ4ICmLMJrFopnbWCE74isbg"; e_fb_vipaddr="AcLvmRTynMnqpU0CDk6mDumUDVHtRaqmmUKquJFCKSN-Oi83-dhTJJoSKAhi1BfMqxxlC0WQyG42qnVOkvGKLMD3lF6IvNlAlg"; e_fb_requesthandler="AcL_OrloozQE__PMfvJyZimyoDVlpUci2dBOSJlanLsYFlESaH8F-Oll81HPeIQyfWZxFB4SWII"; e_fb_builduser="AcJBwPw0sJhm9PumVU0L1_Fw5iOV02lgtE-gKtRXCV6SvikR1nh3Ti_57K_HjsaCsCA"; e_fb_binaryversion="AcKhtYauoseWZuFM1EuTJIq_XEMXhnGT6i3uv3bfw262BI7DnO7bfImhtCYRSxbIhowf1yg6Kwrw1GS1o1Gji2Xvy2u9frN5nfE"; e_proxy="AcLHx-MMNrecbf29EEjolqhi--4xv0JL3y4DZFHSGnWXFwlpPGrmifLmUXVJ5aFH3fQl4l_zRX4Nle7VEJTZ", http_request_error; e_clientaddr="AcKcrDXGdoPtVoAAyBRjloBNJ1clIH14-C586JlOw7QO1j1OmgJoCxNhAVTBkLc3Qmohobqzk5dyBEz-Vw"; e_fb_vipport="AcKicKFstZW1rhEpy0znm0FcQ2Af4JOgkdHZKgoEUy7gKMEr-e62Dd4Ab4TH"; e_upip="AcIx3MVNcN25LK9kYEZ8K_Viw3I1FJD6L0vbD9p2hgrx9Gwn6q8n4rUXFa5ADAASScxaiWZ8HtwuY7m1TrGjhQERUjplY_ZGLw"; e_fb_hostheader="AcIXfhebJJHE-VBxAd6pPlojWglFjF84SrcRsdh9KEyE00dCzrX3DbNqsSjUK99rbV4gmj3UqbMym8Uf"; e_fb_vipaddr="AcITELi7jj89AeW8bZq43kW-jBiN-99cDhP2-uTSanGFKp48o6BpT6SHcafcRy7yizgKN890lQ"; e_fb_requesthandler="AcLlpGo0BWlH6ExEIgY1Qz6K3ouVJqln-KC9iR2EhjV3Vz1SyxNaidv_zUmb4rbc-A53xN1RobA"; e_fb_builduser="AcIru1LedalQUvmsxrMLVAq2-_SSwBgRaN3rCEghophWqWut1IM99NgDzMXFnX2gAHw"; e_fb_binaryversion="AcIgK0qmN_0iJ5SE6iCR7I0O1cK3pYBH1lSA282Jgth19H1XftMU8mIvEZimv-NKMEnkFZvdJLZqiTE4rl3IT87lJpSIOP3Ppwk"; e_proxy="AcLSkMHrurXYWbUpvun5JMh26BLtproHzFO1EF1RPxP78VLVZf3vU-EmGpoSC10wdaXmKH3Jz6bAp9U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6394061497363054"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:05:08: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24775558902057840?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 200872, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24775558902057840?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24775558902057840?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24775558902057840?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24775558902057840?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AB1Z_bIsIfAleQXcSaDW0u9', 'x-fb-trace-id': 'CujvU6rcZpE', 'x-fb-rev': '1011014666', 'x-fb-debug': 'RUz9uC1NGHrnlyQB5awNvPEZP8EZDsd5FBoBUaNIbdiE68Hgb3Km5Jm0AHTCXlfDGNV/kDQTCt1O7p9EkhFvYw==', date: 'Thu, 25 Jan 2024 13:05:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLZRo6eLEo2bU-_4bR-O9IlXsOWcqr0w0qiJ-xuBtNyWtulWoqKvHoIYdmmNl4d7A9chuk5q0SdCNg4VKky5sxElt7iFCvXPCFoKVegiRMJrA"; e_fb_vipport="AcK-Ojk6YXbu4Hw5oB-mboXh7DbIw_diqtCknXG9ll7au_wV9vFEPHpM-7rF"; e_upip="AcKlgNQ3ROhkIwo5hPK1mQ7tVJ4Wx_FWQIXJflMyYp9h51aMO42Vkwyk9bApU5nNeOJUs9gM-dG9GwiLTizp1MG79bZRW7b6vw"; e_fb_hostheader="AcIs2m2ELmaPEVhzQKXBTy3FQVLbZR8u-avr_7YmjNK4JnzE7gWbXvma5dc16lJxMQuMcaCPSAjWZYr9"; e_fb_vipaddr="AcIhcf-xL_sMDYZL0eW82eWrZsuwzM58n4VWiCHa1VcWkn4ehAV7bvnHDsrgsAX1U0jivoX0qiEaPx5NeuB0E9WsE6u6aUk5hQ"; e_fb_requesthandler="AcIvEol9oCnbhi1VRaCBrMU7Ts3PxNTNxxAZrry_s4kAx05JKW5I6Hkw5YYFpWLnaT9hpzQ2SoY"; e_fb_builduser="AcIiC6kBGo31ZcU4zLUAPJL0G0lNh4eurRc5bwOPhCjPDG_GLSZFMsirqMWFx8siMtc"; e_fb_binaryversion="AcKByBBkBIgSx6zyxbtydsctUE8Pzoa2-4V4qQu1J6hsvP5hlfzHgKxGEtiad-Qq_YFjG011pGwRvbEVY0pODIUmIjZEP3nWe44"; e_proxy="AcJ1CVMxzUqjQ7YubFid0v8Kw4tMZ-tAqcSSzkS2RZNWPgEp81i4g9XSgDu1nL0DfQciDOGAt__cBeZSVmTA", http_request_error; e_clientaddr="AcK7xcnG2nT_PvKbnkKkOmWkGftNE6xEbigQDOKIjEPbJai80FtzuLg7Kjp7yKyIkWpiK3CjfNo7lH1v-g"; e_fb_vipport="AcJRrYBF57udi333b32JYhV-NfM_I514iGxVO-UraOsF8M9xSqBA972VLw8E"; e_upip="AcLgkgIfwlJ-o3mTnUSVfKnENcr_VudvmJtOpTjftw78nMEm1GLi4AZWqQFwkwrZvfglzQWPcwiix2_kqH4TjseCpxevjPpujw"; e_fb_hostheader="AcJVy6nPSiDbqx7bEwLSYy03lkyq1AP-ya1JClkhd3pTd1d67Uq5S6g2qG4l5In_H_UUYhWrLRtNMvhq"; e_fb_vipaddr="AcJfuOhRHRlfcbBla0cmgrw07MMJwJ9VUrqshyj-p8mEfIT3glNabxhZOrs-r-ayggLerRH52A"; e_fb_requesthandler="AcK7jb-7UhZPhmzvGPZzgznbvmXN6xgCT8Lcl__OYLXYqlj7qkMEx3xsQeCEWiC2zZiPqHynvRo"; e_fb_builduser="AcLEXYU1p5efh7MxXZx0-V9k88cReHKtyGagAOiye9n8zPmV0d1Km9-frT1lCJ14hik"; e_fb_binaryversion="AcKnZt8ns3dEv-uC4RlEUb6hHFEV_Sv9-9SQyQl1LloEB7qJRcG8tukWS6JyUwoPaN8E3RfJQ64qaGSToZuONjfo1599lDjfY5M"; e_proxy="AcKGZGdsS6NBBacJAjoE9ladW_tc0u7k0f3y3lZmkdsNFRkhMzS_A7WcIWmd_QZ8Kb-v4s2Hj-AcsQTT"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24775558902057840?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24775558902057840?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24775558902057840?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:05:08: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 13:05:08: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 13:05:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 13:05:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AdOqPEC-yjHyrL0mCOnzoRR" } } 01/25/2024 13:05:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 200996, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYF5f_nXVyEnnvOh8E51TO5', 'x-fb-trace-id': 'F2P6XToY/Ap', 'x-fb-rev': '1011014666', 'x-fb-debug': 'Xzo9ZMHLb3bp3WOXilURm0Ut19GnMODaOMWoaiUdh6q9ZEeEGiMmPnAmJ6ybZROo3FEGwbAp5wSfxx1C8gTlNw==', date: 'Thu, 25 Jan 2024 13:05:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKVUPXthCkNui1hMj1TKnYpYAD5G0huSDyOiUtB677WfQ1AfavGtvnALr6MDm0EB0htKk6T7BtOSEi2YIxEwP5DlFR5d1uh3P7x6XV3-x9n"; e_fb_vipport="AcKU04hI-p_rDxp0yeQml5jyEpdl3lsuL-Tsnbxd2_guV6VQ8aU3KZwkaOof"; e_upip="AcIBhucqN9gp8muySrkS003BlWRSYOCK8AnGtvIkFiziR8AET3fbONEYpa2WQ6Habeboaku1rcuCI890WzMdP64Fmc7hDc_HQA"; e_fb_hostheader="AcJ8bkn8gwb-pA-hMd4080dEd3XT86XtXTa1S2empFIgxWAWxeGSvetdvmpl1Rb0MOmSov-p6FL92sYv"; e_fb_vipaddr="AcKah0njvuHeq4BxIsdcYYqvUyeQJHNjNgbQwcWkDxy1IZXGNlnprEUit0QPphDXI6aLk57jCU7uK_9JsCTTT5wVss9h1Cc90Q"; e_fb_requesthandler="AcKIKe5ah0rNsccuMQJlWHyO_bWWYI7ahK8WQZPf0niw08QFKpdeDmKdCvEQtpM5XpoV2cTooGM"; e_fb_builduser="AcJyqXOy7ZaejowUhPKHZLb9JQRIOcRNNuZ0vlB3d5BSSHpVvjH7ddKUxmUDsX4Kh0Q"; e_fb_binaryversion="AcIzSsfIfcKgEJ8fyDnN0v7pv9PXsuifXZ4vSlcan8MlEmsYJUkv7AJOhl_TZmUKei9wy6KTEpO8N06p6mzxjov-ec1QRMdXsSs"; e_proxy="AcIR_t0Xt1s4UMELAVYFCHhF4Kppb2aqNgDSuoEVTwS4lRvuKEDB3igSHntg3Cl9iaTTqyvyzofoegMuEs_c", http_request_error; e_clientaddr="AcLgOTX7Ed8eY_FGVqzCwKcPX_mOW2B4gv01FbuzD0SEFJoA1tv0azV_H_VF_duAX-6U7vF8kVIqy7mkwQ"; e_fb_vipport="AcITZE8r9QzGR690cebaGcWunp6wOcxO_WIFbQwpfI3t531gxwuTCwuMfV_l"; e_upip="AcIUSllZ_RelChTOY4Oyzcbg009dV4lborr4oJ6A_A98E3UzQBBCyffa2e7hbE3mBoXCsXvKwRvoc71MmQcwQ3qfLWsvuIhuIg"; e_fb_hostheader="AcKwDv7UStkdsDI-pDZxCxOTV-fDEVlS7egniwVWyhxi3NssjnExXett3m9lTDr_CgQrdPr8Qo_Ik4eK"; e_fb_vipaddr="AcKlE0-xMGMCbpAjVwMZlSP0Iz1kWHUC6YdyBMSp1eQSgtzrUPnKIvLw7b48Y_nZK4LuikdVzA"; e_fb_requesthandler="AcJhZSXkO6U8rgkvZ9w4u1SnelIKPGXyg_tVYae7HMVUcHCe3AFVu4jVOoVroc9uhH2ZhN2sAxc"; e_fb_builduser="AcKSx264cAYk2SARMWvFIAXKmlTKdTC2gXIVF2SEomksfhBWU7pK-Kd1SgY2g4Gzq3I"; e_fb_binaryversion="AcKEwTwuEXPtHsCjoXlVntTKtVegqYK8uPCU-r3_Kbd99MoqHA7EVf8WIdTcZS6h9GpXihZTw7jCpDaw7eFUxsOgMCAEPbf2N7Q"; e_proxy="AcLsoG23oompuv1gRxKTZ56RauSJzAm5JB92rV1XzxgSCtE9jI8ESMe6sWDS40Rp5FmgZNIRcus9UbQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:05:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/25/2024 13:05:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 201068, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4fxqXy_eDvyhaztOwseQgU', 'x-fb-trace-id': 'GAvYdOVMvNG', 'x-fb-rev': '1011014666', 'x-fb-debug': 'GazHKsRD3cedRZ9ZZhB9fP9y1Leg/tUOn3zxZPL1iuoSSXNpptExy8bDWpncrwJ2js9QCdMx0/NX2tI2xoKgsQ==', date: 'Thu, 25 Jan 2024 13:05:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLCufZoQ1TG5phmOeJpwm70k5t8P160EnK9nMkENV81DL4yXKHliNSgBlevXwuJf5uVe8kwwGIilsf3VWn-oK1Mp5EC8186CM6G_DhBsTKhag"; e_fb_vipport="AcJwt5LRvdIrV9xRWLOikGPsZPlp3F1XcuWNpwvcl1v-5jKcjnHvTjwq2UVp"; e_upip="AcJ4IrWTIeXbLNEoGlxt2pP1GayZqIxW8PyefwtxfdCKH8O-xnpJ0xft25YzAKTZ8hdiSYKtMRR1h-cVLDb6UeV6QMIhfMY"; e_fb_hostheader="AcLwHfYKhkX2Yo8M5gWaJnNu1nWGhnAlHzeVFteZe9LZ92IhPTIiI64O0twOcFchv3MixRLrJ6KAqHEQ"; e_fb_vipaddr="AcLRwLJw2WIpeuElMBfPLGRgB1f-N_JeJebeDkcEPzwr4gzrM_PH9mwBhXNjHe66q_mqk_kdl7DaEhTrX8WT_INp_R4exAnI6w"; e_fb_requesthandler="AcK9FgoQwauSm6mMYyqgXW6eoXv2KttK3xVh-pkErFNukyLnFeXwvSfiBMDtwDesmqPHqqDaZr4"; e_fb_builduser="AcKuXiq3Yz7NGJvuV0dYW2XOdgGXo6f7UoXEwxm6GBwb0FS6RRlyPchLCtQUeW6zm_E"; e_fb_binaryversion="AcKqPOOxG8RwdZNCNGGp0okEowuBJE8n3NVLZBMv-GNxUasBDO1FjM-dvlKpduh5rVDRn53UAoHemd4yqCA4irMA_Ob_krR6ZHQ"; e_proxy="AcKd-TjSM_22USkoo9efVjABh-_b_OlkUtrPvTvuFwhoILdkV8ZwdDY_iMYJ7UTjNux3cmeeGVyPr_kKtLSZ", http_request_error; e_clientaddr="AcIrETRf8hd07NikcfZ_Fxbebkh87bc-ttDmeZrMEN9VGyCaEAKHq8_fjhy9FbIwT1dOND7BjHEynNl3BA"; e_fb_vipport="AcJ4YdB_iGihAaIGg31IiV5nMuHYsPDLnLhxrDNCsn9trBpKFDKp6YmahHuv"; e_upip="AcIiYBJz5spkDNpwfUaBK22bsR4NYbheuOM6sKjPYuVNg39EVBPHWNPcYZqeq_EahjOEZMgRsgQJCUyzulbgMVH3Mmh7wYcPAw"; e_fb_hostheader="AcLo64MQO_LQEtKJaKxINlaGiZz5Yw4ZeTz2YmkvvT6Ulj8VOxuGekcKnARhWO1KEYo1EJaKgMhjR_e0"; e_fb_vipaddr="AcKLJ89kXHWECYSR2c6SAHFY9aM2LNkFJCFtoNrrMEgmm9SYIr9TN2amTbRdYuw1lUteRhmIvA"; e_fb_requesthandler="AcLxtOSKeKdzWudViV_LlwlrNVYRvCJOmP7We9Cjk4Kr0O6A5hw7NK6pJZsFSDqGivAfapqIug8"; e_fb_builduser="AcLTYYvQFjNSKqGf8MsFTKMgPdSzc5rmVZWUEL6yuyPJeiV0odG5Dckr8YN5YWB6MWM"; e_fb_binaryversion="AcJ2ekgLm_yz5hMTzQLGJknzTN9EjeFED2OxW0RzRMbzAVPmpaQh0ktgbppTXc4hIlsm_yo_HV8_yba49o_xUd2TjN6f2kRwvYc"; e_proxy="AcJC5eVg43UvoXbxvZYr7MitHJdlZM_KGrfl1JmgvUhLa5uFb-npBG5v6QTyibrYDv8948UJSNvICVM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:05:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AOha8MTEOTqQ46WtKZsycko" } } 01/25/2024 13:05:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 13:05:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 201182, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0wCz19Wvm3FPo10XXTNWkl', 'x-fb-trace-id': 'Fz7UB/dDBSD', 'x-fb-rev': '1011014666', 'x-fb-debug': 'cl+IIKEVF9qoUYlP9sU49U6TwDXhYBNeetxr71E78oAkti4JeO2tWiYYtnp+EbTNLLJBMk1vmOKgagOaQvPF6Q==', date: 'Thu, 25 Jan 2024 13:05:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLobodqPKepYRCBiTVM46ldXEE0jIgchgDiXNg80NzOokhATgjKdwxfrVRL87w5IX3aaxNAI1nEDIwHO3oKHbu6BKor9omnKKVadhErrGr_rw"; e_fb_vipport="AcLa3XIrMb_RI2aklIZf_IBaeOJw2imgNiP1YhKjixPrQxtmjyjOJHnFXOah"; e_upip="AcJNeT6-VcM53nEowZzIwylmOU0HuGe8-VtjE9v0YbSqul4zpleRt-MtArHebVBWy8enumxMWKfrAJbK2CFQeJIKMvpM42kM51Y"; e_fb_hostheader="AcKTyjiyVe1czcadGrCkJWBBkpTH1_cSfzq448drxptVNXFbvD8vt1Vmnr7frRnbYAV60doOVp_Uz2WM"; e_fb_vipaddr="AcJ1mjuDOqUOlI4jz2rKlAA7qVRxtXbSZv9aSVsOFll2SUHScjPq2aISmor9eWJfNXYEqeU3PQGoBSMxHXrqTUDw5U8K2DecmQ"; e_fb_requesthandler="AcLWkWqIIMzZM1yHkyK3PLNuLLHzWWsOn67BsxXWO6iCT-BnTfd8xprNpyS_oPswWe8kl88NxJ4"; e_fb_builduser="AcLFPsSjcRbg0q8h1-2Zw-_Sk2yrIQKolSjD03FmxoJ2cqqiyj46I4MR2coxDFF8OAk"; e_fb_binaryversion="AcJRYQHrNTcp2old7QkNue2UGXeOOe1zN7C-RZlxg8jUFyTvbi44OsobF-CPbBIBlPXvUZTW8vHXwL6qHauYaG3B2iQ3yKrM83o"; e_proxy="AcIEmsespQTf-yF75A5ClSWSbocA5nxxccSBe-RsTzWSudOoGXnRs3qEe9nsAD1tlqkf5oYQZd2yqCNq_Mk", http_request_error; e_clientaddr="AcKGmdQ3ruOMiTYDA3YrADV1fayP5TKsqgHbgLm826nelmdUldOzpLREdUD2DvjGca3WFSUNTwZOFZ7Nqg"; e_fb_vipport="AcLS6PU0m1XEZy4X0L8JxNNORTBH6MCU-3O3H0IsyoDYPIiCj8BMuatIeLpM"; e_upip="AcJpY0lUR_t_KkGKhB9qNMNQZjMQweu4pek5MLFa0-Vss6CiFf7WkA5WxiF3hUAm4h5GNX4m1j7v4zckiAvsRd_FxfG-1KE78g"; e_fb_hostheader="AcLNX8fLhbZTg6pyXiu2bAqBHO6kaItx_OOnhwuwtixjoayyXYUUyegvIXDaqCbC0Z6EhakRIeHm9x4w"; e_fb_vipaddr="AcKgrMQaxRo2It7jTty2FJ9ExcaR_AmRGPUGaH33PH71KDBAINBOuVhUbWVqwEVgPMEPKe4GFw"; e_fb_requesthandler="AcL2SrI6GOmdDQgrhlL2V2I6dJEoqzaFKtDL7g6m5CGawJqVOvqQM6czZps95H-VkyIjOqWWzeM"; e_fb_builduser="AcLUV7h7G1I638M4r6XGfHxc7wrHhpHED8KtyFfXi8eQ4o7YpwRDfNAjAmERkGtK25I"; e_fb_binaryversion="AcK_YJwTLHmFoGMB2PnfOxwCZJ5DrfvyhnUBZlGAUsGqVx8eA3o_7fBA4ELpIDirscfinPYLqdHICydQ-MEnrryarkHYukcJkMM"; e_proxy="AcJbSp_2Lq3WxWwYIpv5FOaMucxQfOh2aLhVplarahE64D4OSife2t7uDOs3UxXfa7uZvpHYL00k_aSl"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:05:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 13:05:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 201449, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMU8PuXl9gunWPokXtqVwaU', 'x-fb-trace-id': 'FuIKtKDCSYM', 'x-fb-rev': '1011014666', 'x-fb-debug': 'dn5qo1SMZCKzmLEuSne7mPGjU996ZU3WrQczFWvxLwATpK8pf1FVXQgl9XIbgmb+DJ3NdFtD+IsqJh2HNSn1Vw==', date: 'Thu, 25 Jan 2024 13:05:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKt0B49USjqQ7Y8Hbyk4eD4XdzmWqr9J3Nm0sqB2_zG2btRMPmNm1BOz8ZGxp34Plh0pgg9TBVCiY04ETKv8Q3J9eEEvPB9K_hlEiA2erH5aeHB6w"; e_fb_vipport="AcKcBnVRVg-WUUCqffC8omGVK9k-_Qg14AjYT4w_K4j6PAFl-ET5VsOcya8z"; e_upip="AcI1zJCwvSHcTQt2E0ryOlaSN2bziZ-ew-ynG133pGgMWY9u9k8NgdKhrLJ15hsLvhq1m4uFuksRmADTUuQtFlBKa7HrKQL-u0g"; e_fb_hostheader="AcIMHJ09FdGQp8ZXdbR_4IouIc5om3XLJTqNpR9fun7N6-hiCAa_LdzQBw4UmxWN5m3yWDSGJ9ioom_l"; e_fb_vipaddr="AcK8qsuy8QOX8Afa_pTb4NMHXF26DgqCAN5cgADPYzZyHgcgpj5WDOfMFnMCzR4JoVmCbpJ2uTfyhgQQQgXQP158KIZilpsGow"; e_fb_requesthandler="AcIpEOQibQGHCr3PuiSS5EQF_ZD-xD8_jHYALpOY7OfKL40HHSTHCBkkPpR3SUZPjfeDvjkpmFM"; e_fb_builduser="AcJdsqnYhFNGJI7p4F56mAGN1ARpciGTl01VK5hIzSVz3Mc91q5eFeUpcKztOtBaV_k"; e_fb_binaryversion="AcJRPKfMv9sVqPclz2Jb9_zlRDRD8GwdqVdPEpnQ8DDz-K1K-s6fSYbgoKqz3zdTP8FfwLFE9Xkvbqrn070GW_Fju1UIWcFewEM"; e_proxy="AcJp5yKlAPuaACAdgFWPBIJ96EjEaA83Q0i0jl7vDY2ab3wEIxzh_q0M_gm9K_pXrpn67osRjOHI4PteSWM", http_request_error; e_clientaddr="AcKeUZ2Q8OkLmzLTJfcfQRIr8WAAZTtoGj-huutD8AcnLZGGasNPgNcqwTzYtucty2_Si9f5oL94Yr-_KA"; e_fb_vipport="AcLFurUpJsF2j1FKwBN0jc-bh6D6JfSDkrB3m9haJwjAsg1MNiIyAIhe-H6_"; e_upip="AcIc5H-bD1lg5OKGlAzZ3jmtB8i8dlWfxWWdahW1HbEk2fLggIljlEciEdCHN1bU2d8QiVyygvm-JiT7lUHFcAQLQWWkJJxmNQ"; e_fb_hostheader="AcIOkuG0uSc1OuU740sWuPgZdznY7Yf0oVAHfSl0UoJjkUuMuBheJIND0bvmu5p_q6UVBLZtIOgTmXBR"; e_fb_vipaddr="AcKpS-GzHpMY0nv3qKko6Uqij_1o8smmjyUKdpGLvPgkzroQnqTNlQEiKIIgsTZwjh0Ao7r3HA"; e_fb_requesthandler="AcJarZM1vB3pL_j-PvOFsm0HRTq2l_hz7VXwnE08cu1KsoNqDJdZ0XGFr45qY9z_E53q1kkjGO0"; e_fb_builduser="AcLkfh2iTHTFjJWpyXJKCVIXDoCOWCBlPuoxnkmrSieqqcTc1rmwhy-8FLTR-2mhOGU"; e_fb_binaryversion="AcK3J2ePKWGxGrMm3LSMihQMQOE9krDN2wXND2_RV18hg4PQom4JdOhNM0QYsFezM1Mi-RyR0vCpcHx03I3SU5NruG6wHfNCWQQ"; e_proxy="AcL7MxTAA8kQWOxjPS4pJvH_V3QjJHVJ-sAeQ4e3dMlEQ8Foa5jGHiCkBryok-xlX9-0w9FTmUnoqLY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:05:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 13:05:35: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A8b6dTLmHiODxlD1XW4Tamp" } } 01/25/2024 13:05:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 13:05:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 201592, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9puQuEOiHLi4-CtgZ7WWaN', 'x-fb-trace-id': 'Ddrv2b5DA4f', 'x-fb-rev': '1011014666', 'x-fb-debug': 'ZcfipCZSV7S3OxNBNbVq9fbk7Q3X7ymDbNk53g2ONaX3pl1WoGwsx02T8xxMkUpOSheFkhmjpWjx401HBac7Pw==', date: 'Thu, 25 Jan 2024 13:05:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJPNxdKiJJiC-IiDuCPf0dltAaQEi8LLOirkxI3s0xOlbrEHJ_mAmnCKKY5nWw9PFvtPreCa_Y8QonlVgBxf_5orObxeYiGn81-ELPRra1ipbOY"; e_fb_vipport="AcJx3kxG6L5sDjtYhhQMy7Lto2afAFZykrfqj4IBTsSxQ4mVoakw6flaTaX6"; e_upip="AcI_yZgUmWddRLQuGlNYLkIbMCzWp-oN5hNwNxUdl6mKKpnYsYoSDb6-l5Ibcew497BzjP8qIM-gpFQLSiwMoRb5skS5CE59HS0"; e_fb_hostheader="AcIRODerIv9j5n9DimrK15Q-gxQtBOX58_vWOCKYO4hLbLLOYi4FAZ_WjRaYaO-cYB1XRKiCEFeJqWOv"; e_fb_vipaddr="AcJSqQ_iOVACHtD4v4OG8Y14MdoipvFfG_sb9VDWskNYNXZIgyPnkJCOoKjsrah4xC7FeCw1hm_egtGcPTRbnJ2GHUZ6rRlirQ"; e_fb_requesthandler="AcLa8-DD-vJ0WNcRMdu6hlvmvcIgi6Ne97mI1FScIAHoNhxiLpALuW_dXtfqJ_GMuRGb7icAnPI"; e_fb_builduser="AcJnB9jzlbAEtoojjE6g06wLdCNyb5wpK1VwmDhKOp0DavhuaMh22Fh4ISdisTrd5Es"; e_fb_binaryversion="AcLdX2-AkkwkSvVXNxCa8YGKhfGm1jaax5XxYHETi_HBFQ_o--MoOfdsIm1Toe34tv2r6no2PAh6nOfS8wYWp-2vpxVv3hjGL20"; e_proxy="AcJhbSB2mmKR3dr2CGogsqfv9s_0QVRfN_EIicV3mTJxAMaOiX9pwLKFrocV6qE-TwHVOmEW0RarWnDqhjaU", http_request_error; e_clientaddr="AcKYA06z4T_lO6KhwRQi09Ju729hQ-5bC8xYVlKWKp5jOsrT-p9aNbdYHBvMjgaz_5ThOFgvfXZjlHeqrA"; e_fb_vipport="AcL3T3F7a8asxdXlbKh2TyorJ86A0s7ag00RM3TEyZnAd1b6-69MM3M52Gkh"; e_upip="AcKUfYU9jXc6n-q7HF0dUgJPK3m-gQyfPj55k9wp3uM1tS4fm1LnqHkvMzufXsGXRwBB9e3lgOC9QeEe1U8JE_ecqiDG-wF4Yg"; e_fb_hostheader="AcIQpc2lmFYRW8_iJtH476Kh8Y95Bj7lC3a45TuOoevQtIcVeG6_rUMgU0tcHvyYgJwoF2IFsTVfLuAp"; e_fb_vipaddr="AcJjZQNpFLQlJFurbaUVNRSOv22yvV5cs3XYzq0JKUbbtiG5RkthVvsb8H5cghqyFeB0t_s"; e_fb_requesthandler="AcIggrIELSDHDmXeIsQrkOW02RMseO5UTeK81eanZwmwhDtXxEgG3gfFEAa0A2klYWLWIpWKGEY"; e_fb_builduser="AcJJp20BkX1zFN5QmTLUpS5kKldpQ8LK50zJ6z8ig62nVDF8DdaNX3EbuxtDWoMjGCY"; e_fb_binaryversion="AcIC21HDz0j44d0Z7ZfpwRm_jVYQQd1s8VxnCLKJaHYaD58zuGBMirAfRvfG1QSKAQyKBWmcHKWaOXebwMCk2zyJTUh53GFekLc"; e_proxy="AcIwq5I9Csua9rkiQwV3vlRgeNSPt6rS91loVY83TP9HkVqgYHSRrBNf1Z-SPYW4mTZVqfLJslLe2EU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24775558902057840"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:13:17: (node:15883) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 01/25/2024 13:14:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/25/2024 13:15:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/25/2024 13:15:25: (node:15999) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 01/25/2024 13:15:39: (node:16018) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 01/25/2024 13:16:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6237149596386314"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 483, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWXOCSlA8q-E3GgZ0dd7C1i', 'x-fb-trace-id': 'HuSBtiO0qrK', 'x-fb-rev': '1011014666', 'x-fb-debug': 'BJvBiqX5oPwD4NeEd6Cfp6YeeNvXEAYTIlqjagZpUdHYJK9IHthuNPkP/SzU2+uZCsSJKwZVvx+oBT0eDit9LA==', date: 'Thu, 25 Jan 2024 13:16:06 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcLcIEzOiLsknOdXEEevCBwwIXxeYkwN3SP-HYV2HUNBt1Esi-rmcqPF--T1ZBD_r-TOUIz3WeRjl3DBEmv2Wwa_fMYjhVKamdjC1-2-iiQ8UzJtoA"; e_fb_vipport="AcIieqYcloqsV1ZlK5OoG6lNsBvp7t9INCiT4d_CDIaMHj3IiPpTrxsBOLAq"; e_upip="AcIoP_arg8RaBgrghS622ATejUnn0ulJW6nfkfE05a1PpKm1XqphUzwMX52N9L5JBEVHOE4GJ6ca_GcbyZ_C1C66XFoTueB8yWs"; e_fb_hostheader="AcLMZG5gEPpG9kOMrDiHmasP_Ou4BbTEYqHFPRvOfF4ItU_Uz9PcUL-JasDlK9X6RZO4wnqo0WgTPHE5"; e_fb_vipaddr="AcKiTUqXKHtXvTnTEqX79KhDYxPA0i1tVVJS8KuyrW_hEvJH3K03baeqOLlBxZRTB72PdGmhD7udVHB-a2_qZnuDtuMShQqsSA"; e_fb_requesthandler="AcLXf08hS2h5ALoRnNCkihlRfDq3ih-aZTBXtVWTQIo0oaKaOlXedUkfWUC5uS7ZEcM-IXBO5-0"; e_fb_builduser="AcKQdb9WyoS8jjGE6DA_7_5mu3YLEpIVUZiKjFtTehorfWJEtqf4z6utj32hREC60dU"; e_fb_binaryversion="AcLf-ACnpsN-6mpntSpSHxG2-dBK8Qyh48htdlX8_gsQnTA2Apw7-bG02T3oy5ydhR3RF06veSB7lmV2QSaAktXBOP2d126SV8A"; e_proxy="AcICT5oT46ZYNzxxvjsLniruL8s9yeY6xo7rRtMCfqaaCmU-L9l-1_IAzp_3h4uGKggRbQgk-lhEbz5UORDm", http_request_error; e_clientaddr="AcLb0P1AobByhUT363ascpJ-OBXJfqIfTwMU-vbRxqHKQftApY35-A7Omwxd_n_ELTRVkWU_BhuFxFtueQ"; e_fb_vipport="AcLJsjiYYRaWpDdYKMrQkwSIHDiB9DwusQJNrd0ZRof9q8bAK5xXazfUWyh8"; e_upip="AcI5TF71Q63yqgrDEIqmEaZhVpqMkp2Jzv30ByT-BN-c8Z00AA-XtvCp6ue00-USIJVl1U496O6CRTXNRmoT7RktEJefIbuKKg"; e_fb_hostheader="AcJoXRC7IYx3SoE17XBOGVKx8gMCxcHRsTC_DifvuWrm0cA0I24PzQWzs-hZPcE9TvILqhK38q3l_4gP"; e_fb_vipaddr="AcIaGM3dMOooo-l0FhJCUtRH0QrDDvG4qMjfRquzmLLWS1oOKKJU5qhHz3ph_Kt27K1P3AU1bTM"; e_fb_requesthandler="AcKDqT3QmUZ2wYZSigzP7a2ZU7Ug_ce75NdY5Qv9XzVxxGIFsCnpkO0a0cMDSxfx82DfC0CuJcs"; e_fb_builduser="AcLseRF8FXEBdemDbWHt2PokRtTGc7TSAJ_PHeGboUOf071enRp1bTOsYidl2qbEuvU"; e_fb_binaryversion="AcIKh3bMU00Q3UOtdBORVPae_zINkRN0OKSWF8lm70co840w4eDx2M36x8i3QucxLVuiqzmC04Z65JgHE-YVkMLIkUaUHqQAcrk"; e_proxy="AcIFGP5AIkbV8jiOgmYEz_SNYcLbURiKti1mPPPcNh7pFaP0XPfjUK6f6qj4NE_5beEDPWSF5Gt41yw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6237149596386314"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:16:04: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "AByyO8b1CaMPTS-JgY7vtYn" } } 01/25/2024 13:16:04: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "AMj2q8oV4Q86cdf3nML5O1j" } } 01/25/2024 13:16:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6237149596386314"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 682, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7uORA8jQF0ebPhFkAOsOak', 'x-fb-trace-id': 'HbiOKd+VPCF', 'x-fb-rev': '1011014666', 'x-fb-debug': 'yOA3qWJSHqEq7hKxWH2g1DFJ9ibxRCu3TdutguII/8+sooENIxYTYI43DXYDuuHtaDrDzlP0F1/D5AeVMKDE6w==', date: 'Thu, 25 Jan 2024 13:16:07 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcIb4HGhHCnmBoLcBilAn4Tqd9sDRCkBZbzDXd8cTA3V-BV6fxWWgtoBDdD52ItvfMt5NkDQp5CYJJHemKt6rFqa0w2hvsDu4pm0JO4EzEK5kWW5"; e_fb_vipport="AcJg3-ZclDcMLE9NZzFswlYzRGea3SeuBl_nDdGOI26rZdBts-zoky_I4vbh"; e_upip="AcJIxLa7dHoUcMjhMojgQ97ynU4mvvVKMf4UVVnGavh-U5SwOWQ4DBfzi8t38w5cMegSUQ25EA4fjfboQqow6WJ-pJb9KRLgvsY"; e_fb_hostheader="AcIEmJQBObmuPWFEaSIvco5hNEnMVPvtwNV6kclPZNlmQFAnRC0-c67KNfUc63SJEqnpUuCCIred0NHY"; e_fb_vipaddr="AcIHB6b4MMtDqEQ0aszxgFztvEKjOAdBAQINa-l1oiU6fUBXfcbOosWOz9veXrzuRaQg4DUipnr_PUDUDPyvXSfdonqiwVCmcQ"; e_fb_requesthandler="AcI0ALm3jN2CQJEetso3Cv6F1uYvwt27hU4B0U-Dx3CQsQ7Fdb0dtNX6sPGiZvKMiu30VM4M3bQ"; e_fb_builduser="AcKdDi1rJGLhPsyHjvQWSv5cviaJA7xP1GRL3IjPrqc9wAzUnbmOPOKC7T39PuBkzgk"; e_fb_binaryversion="AcIrJ76Nk2R6JyOfel9otqpenKnn3zPo2AFcORbKY8LakkOFXVxwkDqJvri6A1_nKPgWOWjoHeo28J3fs2tsYRJqq6gk3ADOLNM"; e_proxy="AcJNBfdpzY_AWgQNJ5UwdJhaddSmONm-ON2VWLo3X248SBMAvZ4YP4orxCS5cmKxiWe4ni1TpqZhOSNHEOVF", http_request_error; e_clientaddr="AcIdO4XH6-xYQ4HelVCl_MwqxqlMIjL1915ppkVXAHnYx3tQ3PD4rfyz2lHdnP-6aYj2eXtkdoB8Aj_prA"; e_fb_vipport="AcLGlKHdkydIsM7sT4_FLv3b1hWBtV2WPZkOwwxR9IC-3P3qyYve0ib9cZKj"; e_upip="AcJZlpPimhRf884SKeihHP1A8DpQCArrSgsZHHrr1quw1q-kG7BPJN_VSwd61ka99TULnlCfgXA-VbPxKoJNny6jTbwkI8abZw"; e_fb_hostheader="AcI54I1QNEjDkTqUJDWD5v7iTTEz0xGCRcGEqBHiHVavhELFeAc5JGueTyK7yn2bQW2qZ3hDs01qvS2h"; e_fb_vipaddr="AcLpCUVKAeItazujBGLM7cdjqlOO7cSC0PIjFg0rmcgdxsxWaT1OVrZ9rX2S159QmtUvod2QUMs"; e_fb_requesthandler="AcLBxB1qv5CE8Si5tyi2ZEYdyLTTV8p3zDjWCIt4-zbViYwM9-ohGDob0uM1bohCfP3Xjh7Lekc"; e_fb_builduser="AcKX4SyrvtekCFakB-MTZ_eEIjPmERe0FAVSboj5Dl8aLluMYSoeE5ywpoh6pFaJimc"; e_fb_binaryversion="AcKnhHTTFLp3tKa0VNZjDhpTYGXqh_XWfrycKvU9CCTL_MH11GCXGzVpH_o1psGqgIf37hk_M33cN7PAJF4ghozOZDmq_UHmPfc"; e_proxy="AcLucY-3p7poOl2a61pm04WyuAu66rtgSppGzoAbeDZfvRFCtK91udxK7gH_iYHJhY9EeQOFlr-FBXs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6237149596386314"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:16:09: Request bot not found: { id: '118184564707409' } 01/25/2024 13:17:31: Request bot not found: { id: '118184564707409' } 01/25/2024 13:18:49: Request bot not found: { id: '118184564707409' } 01/25/2024 13:18:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/25/2024 13:19:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/25/2024 13:20:04: Request bot not found: { id: '118184564707409' } 01/25/2024 13:20:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6237149596386314"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1790, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Abv5CzHbJJxscs-T1FjCe93', 'x-fb-trace-id': 'AzLm7iDtUvB', 'x-fb-rev': '1011014666', 'x-fb-debug': 'VVsrupRF1nAa8WWrQo+WCE7lkRsFViCeL3zWYUDvnf3RZ3Nkz9A9rfpE2EFZ7NVq8hI9tMM6rQbWDbHc2c/WUA==', date: 'Thu, 25 Jan 2024 13:21:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcL80MqMiSru6z88JG_3zNI479__bW-E8Rrr6Q9Uweq6MB9npIYsi9lv2Mvpd2XRc3gNACEHN5rv8EswKz7HvI9a3PsNEKu3kGysdVNV2tq8XBQN8A"; e_fb_vipport="AcLyjjjQsTNAP2JyMVewfYko701UMmSfjqFNLfBYT1aKbV8FzPMrATgTf9WN"; e_upip="AcLiV99ZVE1x2S4U_-vDAEY8GSdOpcTrWaIQzRmGuvtjW-qhs1zsFi_0l3V__LCBmCnDG3k_6pNkXUp1xs-6HE-bl7qtWhq2bg"; e_fb_hostheader="AcI9a063tdJ7FeXvYJohTkT0DKIJrh-DUhrGbImmboMakY1IaneYZfKVVWIA8qEsxC-hHssUkKPa4kU2"; e_fb_vipaddr="AcJcFXltw4FTAgJzre01QVRnyNHV-uo2Wl2JHUqa9e99hzK36EeBCiqYZr30DCweAqFjviW4MqhrA0R8ObEKpM6V4xfiP3Tbjw"; e_fb_requesthandler="AcLiaJrew6XAix3ifWXEv6bK6b3rEv6fOsT2daIs9bUP7c6doOCE_-f_VJF7GfzBYitYrCHCjC4"; e_fb_builduser="AcI0JAA6vG7iAgEckklFv35GYdulhQrwaTMP6EcgLivxyBorGtRFqQKp0KeFQKfo53c"; e_fb_binaryversion="AcLu9Wc7Ijyz4yIPgoZwpdR3IWrqnppzjbRAuUKgbGXXtqKBzogB1w6EHWZL4p9lyS4B_JvzIspgr4rfZgMjI1tjtGo3Ec4m7no"; e_proxy="AcKyFGpwZbkG2VPOqvyqJ0okCIg-VqD5GdpOlQURomr2u0-5X7-T-vmTfJhKkY0_BdU_ehtGdeOv9P_U1fpO", http_request_error; e_clientaddr="AcIjzx6kap5tC3pnruq03xqQ0olyujYQ45O0j16LYUWl7sWChiOIK5sN4o8G_ncJ-CaK38-s1KOUYOiq5w"; e_fb_vipport="AcLLrAMCp8GGVrEdUMBxDhbkf8uDGPBCYj5NIC4TK7CpztImFISSGklTOBE2"; e_upip="AcIhRaL1zR_OyPxLY8H9-RZFEvzFXFsS0rleAZpgHKhI2hAbOWq6Sgn-BcYaheuETvf7Wtly2brGD1UcW_58tk4vkzUXg1MohA"; e_fb_hostheader="AcK6aCBP-JUOQMTIxBvOwg4bNB5oBEZmdpxUXSZGoJQfAVN1ec_Z4C4Hyagfh52Pi3xw-19Rz0bqU0Xx"; e_fb_vipaddr="AcJhn2TTUeO3VRiIONuMpuLGtGhoZVUfm43UFgDbnsMoWuwiQCOQUJhxNK_8wOrkHhNbuv7OC5Y"; e_fb_requesthandler="AcKe8XuHnqfI-LwQuXKmfgt4wron_R0J4A-OCYBKhNorlI5lvgtQmsWEBu2phMToNRQ0nIWwMQw"; e_fb_builduser="AcKeyG9ujYJHxzJoiveU8nNE7w9enMfJRo5s6cb0e_2EwREyH8uh63v0-mM0CEcbYLU"; e_fb_binaryversion="AcLiARX-tMfR4jDZbzzxJuTVzCbqLhlv7yRtKA8FmRnWpsqZ18IZze2yvp_uJ3fCOaz79NXPoTVn0UbGIVgZPBP8FayyFc2tYNk"; e_proxy="AcKNWx9wRgI1RluYXqeIbwGm0rZcshe18bTFWTP-qrOVX1hDk9Y5_cEHrobTvNddkVx9l2N5YENHFvY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6237149596386314"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:21:00: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "A3w5qTKTZHCB5MVsWAvm2Bv" } } 01/25/2024 13:21:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6237149596386314"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1948, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZ2rzpARcNhztZgOKAs_uf3', 'x-fb-trace-id': 'DoyWZXYJ7nI', 'x-fb-rev': '1011014666', 'x-fb-debug': 'Ov2xiVKQTFa6xi2ljxRcVmSutnh5ySNnDytfBZ1ahRRJt8cOBrDksDxnNnCVXBS7mlbGlXi18fblaWfkkbjADQ==', date: 'Thu, 25 Jan 2024 13:21:02 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcJ41VyI1_81QXAZxQe9QEhxNBIPz_WXAclOikwt1M2E1L6GNeKYbxeP8UNlZSy8fMmkijOfr6HCGVlg2YtmlCORMTakOnKffZRsEXMCP3jKLLePRg"; e_fb_vipport="AcL7s714Rzyw1SaM31zne1FI6ZrW1Tr2nXFwZRPNzdW-FukXsO8hckKNL5ag"; e_upip="AcLBpwxRd0xEd2De8EH2gCPjRepoPNofNDwANqPB62NLxSKq46cRRO-AUGdyOA_RVfXE921a6QWKixLjQjGpB3XvsJXKOhDE2mw"; e_fb_hostheader="AcKhSdv-VChWRKPpsGqEUcz5xxNwnRHaLoWdd1VU2lKNM6-KecLbDkdyvoQEL6Czu_61BdzbZaR6zrL2"; e_fb_vipaddr="AcJ9GVtZ7_rlekRheY8dCSrRkjXOV-cAFaBQzmH2DcwlyN5Pocv3dT4DlowKVB9qsGjYSHIjVDpH99u-tajHxIXVnSEhBkTEhg"; e_fb_requesthandler="AcLgfzZALcfMmwtvofYWFFd_8NXUzwQXOqHlTpGGPLp8UhMK6KfOwXABaaRRI7bLa8kKVx9C31Q"; e_fb_builduser="AcJ7AdZWlR680drsnA1OxvvMobPOGIHSXC--9TAK5deIXhyOwhlC4EvF1cnPnXPC6M4"; e_fb_binaryversion="AcJ59Eu7IaohKiE5NrLZyulT-o7T33uqleqAf56itI1YNcFFsniF6JTqCEyI-clz1MQ_DOWUfFHagTdZ2bLLerYrow0Df1_g614"; e_proxy="AcJXtmz08EBNI-So23ikZjnpEwG7OZQHzpHpAiG4YrI863jP_zoySSvA8HQMjAUV-P8myCNVdmPGdNEcw_vB", http_request_error; e_clientaddr="AcLn0JUYVMBpbi5B5tC5htlYqUCGxjC3JZ9EQYMY-p5RrgOFDYHwNy4XnuRDYoOT-eSfDHT0WTwJvgdMzQ"; e_fb_vipport="AcJSFGqfvLoW8CI6-1FvDLVmw-Tu2DNYaOR2iXBJPwXxMaVw9oUj2I5KFb-A"; e_upip="AcLWTpMPFYO7oMtnEek-brpnb2S11nDEgZ_NrhSukisGfI5ocQC-d-CbCmW6vlCR4egHRiEiotigpQfXwn-KQhdYRJt69TIKag"; e_fb_hostheader="AcKNqgEskpzSEhekLX81MoUyfokucF2CkYtMqssIIucFFZINcMP_5tx6ecsw2jMWOr9LJELK9wbnNman"; e_fb_vipaddr="AcJQ6L8z0uHuR49FKx1bsZuhEVBWC4dD3zYonwotXA0No4lbWl2DI3ARpxeSFTPkIVrsq-7CJ1Q"; e_fb_requesthandler="AcLKd62qItpbKJMncjFBD9mAdriQuDKolhb4Bcurj_yG5xbXfWI3RzheoURtqq_EJ8W7mb-8_CU"; e_fb_builduser="AcJ2AQyT_lz_rWoDLOWzH3r2_yFkA6-v38RbFgxUE_nDEhhi941hR__7MgZU_mNiPHA"; e_fb_binaryversion="AcKq3-gijX10Ts-TO53rqHCH3S95FyxPk2_9FKK5JTwcsDwgzYrTMWsALsaSUF5maxkwOoAJ8pHTQevRn7ohjNGWfh8sLPHcOzI"; e_proxy="AcLi9zbkpY8d3dSN4pmM1PXyGUTVGKvf5K3BEHTnhriSEA4fRV__u6iYBft4djMnNCFheZaVpQpuS4Y"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6237149596386314"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 13:21:27: Request bot not found: { id: '118184564707409' } 01/25/2024 13:22:51: Request bot not found: { id: '118184564707409' } 01/25/2024 13:24:09: Request bot not found: { id: '118184564707409' } 01/25/2024 13:25:23: Request bot not found: { id: '118184564707409' } 01/25/2024 13:26:49: Request bot not found: { id: '118184564707409' } 01/25/2024 13:28:11: Request bot not found: { id: '118184564707409' } 01/25/2024 13:29:27: Request bot not found: { id: '118184564707409' } 01/25/2024 13:30:43: Request bot not found: { id: '118184564707409' } 01/25/2024 13:31:55: Request bot not found: { id: '118184564707409' } 01/25/2024 13:33:16: Request bot not found: { id: '118184564707409' } 01/25/2024 13:34:40: Request bot not found: { id: '118184564707409' } 01/25/2024 13:35:36: Request bot not found: { id: '248124018876073' } 01/25/2024 13:35:36: Request bot not found: { id: '248124018876073' } 01/25/2024 13:35:37: Request bot not found: { id: '248124018876073' } 01/25/2024 13:35:38: Request bot not found: { id: '248124018876073' } 01/25/2024 13:35:40: Request bot not found: { id: '248124018876073' } 01/25/2024 13:35:43: Request bot not found: { id: '248124018876073' } 01/25/2024 13:35:57: Request bot not found: { id: '118184564707409' } 01/25/2024 13:35:59: Request bot not found: { id: '248124018876073' } 01/25/2024 13:37:11: Request bot not found: { id: '248124018876073' } 01/25/2024 13:37:13: Request bot not found: { id: '118184564707409' } 01/25/2024 13:38:24: Request bot not found: { id: '118184564707409' } 01/25/2024 13:38:34: Request bot not found: { id: '248124018876073' } 01/25/2024 13:39:46: Request bot not found: { id: '118184564707409' } 01/25/2024 13:39:53: Request bot not found: { id: '248124018876073' } 01/25/2024 13:41:12: Request bot not found: { id: '118184564707409' } 01/25/2024 13:42:03: Request bot not found: { id: '209996035764853' } 01/25/2024 13:42:04: Request bot not found: { id: '209996035764853' } 01/25/2024 13:42:04: Request bot not found: { id: '209996035764853' } 01/25/2024 13:42:05: Request bot not found: { id: '209996035764853' } 01/25/2024 13:42:06: Request bot not found: { id: '209996035764853' } 01/25/2024 13:42:10: Request bot not found: { id: '209996035764853' } 01/25/2024 13:42:28: Request bot not found: { id: '209996035764853' } 01/25/2024 13:42:35: Request bot not found: { id: '118184564707409' } 01/25/2024 13:42:35: Request bot not found: { id: '118184564707409' } 01/25/2024 13:42:36: Request bot not found: { id: '118184564707409' } 01/25/2024 13:42:36: Request bot not found: { id: '118184564707409' } 01/25/2024 13:42:37: Request bot not found: { id: '118184564707409' } 01/25/2024 13:42:38: Request bot not found: { id: '118184564707409' } 01/25/2024 13:42:42: Request bot not found: { id: '118184564707409' } 01/25/2024 13:42:57: Request bot not found: { id: '118184564707409' } 01/25/2024 13:43:50: Request bot not found: { id: '209996035764853' } 01/25/2024 13:44:08: Request bot not found: { id: '118184564707409' } 01/25/2024 13:45:03: Request bot not found: { id: '209996035764853' } 01/25/2024 13:45:20: Request bot not found: { id: '118184564707409' } 01/25/2024 13:46:38: Request bot not found: { id: '118184564707409' } 01/25/2024 13:47:57: Request bot not found: { id: '118184564707409' } 01/25/2024 13:49:14: Request bot not found: { id: '118184564707409' } 01/25/2024 13:50:31: Request bot not found: { id: '118184564707409' } 01/25/2024 13:51:46: Request bot not found: { id: '396422570389131' } 01/25/2024 13:51:46: Request bot not found: { id: '396422570389131' } 01/25/2024 13:51:47: Request bot not found: { id: '396422570389131' } 01/25/2024 13:51:48: Request bot not found: { id: '396422570389131' } 01/25/2024 13:51:49: Request bot not found: { id: '118184564707409' } 01/25/2024 13:51:49: Request bot not found: { id: '396422570389131' } 01/25/2024 13:51:53: Request bot not found: { id: '396422570389131' } 01/25/2024 13:52:10: Request bot not found: { id: '396422570389131' } 01/25/2024 13:53:04: Request bot not found: { id: '118184564707409' } 01/25/2024 13:53:31: Request bot not found: { id: '396422570389131' } 01/25/2024 13:54:25: Request bot not found: { id: '118184564707409' } 01/25/2024 13:54:52: Request bot not found: { id: '396422570389131' } 01/25/2024 13:55:42: Request bot not found: { id: '118184564707409' } 01/25/2024 13:56:12: Request bot not found: { id: '396422570389131' } 01/25/2024 13:57:27: Request bot not found: { id: '396422570389131' } 01/25/2024 13:58:47: Request bot not found: { id: '396422570389131' } 01/25/2024 14:17:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 14:17:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 14:59:17: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7428324770524618?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 23692, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7428324770524618?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7428324770524618?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7428324770524618?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7428324770524618?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVfVEiG9-Oj7Q61ADbGMuyj', 'x-fb-trace-id': 'HlkWhGGwJot', 'x-fb-rev': '1011015554', 'x-fb-debug': 'l+p37fDCS7vSfbAiQ0SY4UyY0cuHz/5lW8EVcD7gkiw7asUlvh3KQ02cyV23r9/xmKY0JnineDMseF+dCCqRFg==', date: 'Thu, 25 Jan 2024 14:59:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcILvVMidV6h9Q-hZa-gADT_whTtiR7Gnoh0oTtL-bcwlrcHbGsHu3cWnVEGdE5lN0mDIqq5dR1a_Na18TN04xifiZMEP8sdcK-q_4wBlX48vg"; e_fb_vipport="AcIAD2YcFw3or9VrT2wFxQyH71--_tcauwylJf9BbJfV6lnM_qcKF_BTZGTL"; e_upip="AcIrlMkeAArklo92fwLjPdkrOqp-t7Lc9wA8ZOtX8lH-JiKcvHZ5Bh2eX3VfmMWpMlxXoKfHqTaY9vyqfNMslYISqsWfoGUsmOM"; e_fb_hostheader="AcJ5nUZK8oGMSAy1rksXMuAlWT_pZ4Kb7Zdx8KZca1kNl_oM_amAINJPG90bYuxAwPFjz_l6ZSGozW-3"; e_fb_vipaddr="AcJzUwweiN2i2ciZeVx7V_QL6giBudQbUcuNC57C7AQouOVfSJvwyqBp61eQnOTXhGJRz3-FJRYNJ2nXivYWYNYf7goeTIbf4g"; e_fb_requesthandler="AcL7EgJCZaQPmIAtTNGj7FgD8zO2mFBytSmw4GQAR7nnSWLnSgbA6Be2FP0tlW-7RpCf1BvU9Ik"; e_fb_builduser="AcKAC45MvByPFyhD1yjQ2liSUwRUybqgpfRhKY6E3UEp31jeHWk2-6KO6gVNCjEUISo"; e_fb_binaryversion="AcLFkTRzizFlrFwJKBogCIVniAyX7iU4v7Gdudig14S1jE3qI7I4wZSmn134-Y7tMcu44GLTFqcxmpdZtegtkdxZYZuj7rlwOls"; e_proxy="AcKEXrJCV7jSbRXCPafSRxSCRxY5tkBOj3K5n54wbRAEYYaxdfspT90hytB0SnSkoDOrMmhqYWxEJWznNp5o", http_request_error; e_clientaddr="AcJ3DwRu1dgYu7YaqGSJlRRN6lAqa5GZhdOdcNCcOgZ8ekRtb6gbylNCwBRYXNvdZtHzok0EwcwWJVrBZg"; e_fb_vipport="AcIgRxXuH9eBhdsdH2p5xaQWRyrXO1DTks6QMTmSxvCJ90YIeO8pw_29cVK6"; e_upip="AcIV1YwshqeC_WBKQjsB_4l0F16ydxG6CK7u7_7p9o9wB_C__E1OQT0u5-fLPNVGMA6sLZxqnqiwga61YfD8ZFr8QSC7stiEtA"; e_fb_hostheader="AcIhwKM2SCgrt6dceZEC_wl3Yy5Xj-xLbPOuZSnKxZvdhbS-PxOCiHieleeTqkxl3YpBt7GVN_BFJMj0"; e_fb_vipaddr="AcJNhaBRN_MSOFYTtaPTq7Lv_5AaISudUPom0Acgy_BGN0SM81KZW9WU-zx-Pl5-YcrgfKO0Pw"; e_fb_requesthandler="AcKHTuB_Po-6WoD2wn53z5rciIbycziuaImi1OfFF8z9P03aUTij7KV_TVsvDOBvC9rEsQf-ybg"; e_fb_builduser="AcJtkJYkEGLNuhme8szyXk0iJ_t0FZQ9JgovBiP-ftXZPWu2CZsEf4GLgEegi1qWfU0"; e_fb_binaryversion="AcIXzpmuiBBkIMjiHSUr9hAVNIWF8KO5oIwvO1x7E-DZgLADTIPsi1ywJzAgQn21TofXfmpSliuqSGBOyZA_Xp-ZNXwG1Tz_9H4"; e_proxy="AcL37ryaxu4bd-5lWpsXJFybb0WXe5Z4Kl_prkYUVxULkaWglp1jJ80Z53qXcnnasmgDu7_BxCiu4w4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7428324770524618?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7428324770524618?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7428324770524618?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 14:59:17: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 14:59:17: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 14:59:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 14:59:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 23816, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiuiCpcCXpEyuhRCUbN7hL2', 'x-fb-trace-id': 'CAWZShC70EX', 'x-fb-rev': '1011015554', 'x-fb-debug': 'uSHW4fasezDGczBMJcuiSZShAtNLGhPMRJJfbRhWAmFTNGRMD42pVdgtG3diTZH2fxgKt8exH0n6qNCbhTCmrg==', date: 'Thu, 25 Jan 2024 14:59:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIfa20KHVps7Oifa6lpKqL7bWqLDBObhlqVZGY1Ai9uvxJ6vcDAgMTwyKdhwAnGPUw45oMqcV6qyt2IPWTmG9VpxwJu2mdKbem3JgxoNovC7A"; e_fb_vipport="AcLZxPmZmE82IUsFlwHyDgvff5UqK6KXQ5zX4GbYNC61iU7SW44k3KfUUiRM"; e_upip="AcIiKCl71eH0l5fsn5dz-iKc8fmmjZSHbWleFRsKlvHCuZzISVgOn41-ghEnwsc__QfOqixx26hOb5cPNH0IDn8L-JnIzufJRw"; e_fb_hostheader="AcLWyaMXAMpisxxYbRaMFp2k_JYqxmZWfsUgw-TI8lWC6ck-YwrCuCmanzfiuqVEVueKbGqqWnE_mVtD"; e_fb_vipaddr="AcIQ-RIdGwg2V8KPZIHZtj1wz_81ccgpiWs6LAHWlp2z3-QbAZlq5s2xEy1QMHoXBlvg3KYahtZ53pv9fa-msxJV4jYxUCykHg"; e_fb_requesthandler="AcJL3AHcB5Ibpy6UJd8yN5SV6gv7uq4k5R4JwiyrYvH5wV-hRf3l3c-BNBzdXluT4UUx4qL-9xo"; e_fb_builduser="AcLZ_lspXr0J7NT-JnUy-YoqSczywpPlynSR0bORT2cVwtekG-ymOSn43d8FjBeZ4s0"; e_fb_binaryversion="AcLiDCXzxPN_JJb3StSmElemBOCMWuM09jlMttqhApdjLTGewHkqkbxtVC8Le_5iC05h_sjeAOC6oFS8t7_kt4L5dbrmTlSPeI0"; e_proxy="AcKolOh7aDwJq9aszbca7O_xDHYJDhMJ-zCKWhgS2wTh6fTgnHZZgQ7fXOmmezAT761gD5dxjQjD6Fqs9zsb", http_request_error; e_clientaddr="AcLVijh_jFRLdR7POON7Wd_p46gEAibuYwWtiN9IJ80lvS3uKfB1ZtVBkb3SQt4vAS2MweL-E7Z1X4XZjg"; e_fb_vipport="AcIqvw7_DTiwlBOd3-4VPD0F3_H0QQirp08lkwPmlwQFz5IlnfdyQJtucnza"; e_upip="AcKd1lEAXgzlcFBlJwk51biCkIXH_qecpqzB5ggGmntY2ck4kSDHfSmlsZO60uoSjOrRdwpoXzuDTmD557Y58Wq0tOfBKs35Pw"; e_fb_hostheader="AcJqNCL1guTHZtmB7VHumPO_dVgYKQf_5lsU2Y15H9rD2A4RmxIsokl9or-tUV9ndnBtxmxoU6e5v8YW"; e_fb_vipaddr="AcJ8iGMPXw6OKTCnB4bmxZrbamdWUgAbjOAc1eOkR05Koz5or5ZsLNdNjMmWtuJgIMNpC43EIQ"; e_fb_requesthandler="AcI16zIpQDhIH8XhxtbpUAPNE36ntgIcAFs8dv1LbPiO8KjgSKg2sb9FQrCT7pctuByjLPyVYwo"; e_fb_builduser="AcLBKN3TA9SSpGCGCQsFbojdxkrAD0JD6Ww6Pblk0GaqiJ2MyEn-6hAkSo6Lw2o_jeA"; e_fb_binaryversion="AcITx4S5BmmltoNAS1gfkoTHWIDtpHWVExgCCZqBoRL8I4rBFtXRCSyiFEc6bm6awyReyCwdsZu_ZDbPL2XZ-8_v4HmszBSxopQ"; e_proxy="AcKo9-z5c9ZzG2xu3djTuz0faKbkOuQqKbRQlYZ2Eh41moATjsdkZEk5_QWmUhD9VB2aecmelwCH1xo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 14:59:18: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ApsqK6q7HF8Teq74Di9z9d1" } } 01/25/2024 14:59:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/25/2024 14:59:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 23888, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AY8FXdarlC8dTeYRLXUTO_u', 'x-fb-trace-id': 'ANgCfuc2qun', 'x-fb-rev': '1011015554', 'x-fb-debug': 'E5G0yX6HAsA/6NOxMMiIVepz4roeHjGXbPpZfneY7lh6r6/i50c5ejswq5Mw06VOMRyd7y20egRUOh2AlyBvkg==', date: 'Thu, 25 Jan 2024 14:59:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJTx8PKLT_J1OYDTszZXWvlZozAWblyl441vx3-8A-qJVJyxLBzij7A-_06YUz2DXRNWTOAu_5GPd7g6Em9aUICmib0d9t1yyfkUndlRYx50maisA"; e_fb_vipport="AcKEjiOZBzALJmXylsJOZV7X_o8CIhd4TKJDd_WDKU8blhWT-fq8yIuO5gqT"; e_upip="AcJ5lB9gtU7ZK4CkaTg2pqYPqAUfVbHCuqRonsEJFvX2zkxTxOq5myb5tTigwZ9u-SuTNLNxXN36KqPQc12qDBYrjwzCZN_WmEA"; e_fb_hostheader="AcK6YIRL60kGS-1Jbu_xQRujh9P8ofbqhkc7o5T1X2LbaNR0ffQzJC5PAlZ1VkbqU9qe8kOnK2Ky4Dek"; e_fb_vipaddr="AcKryWoejInVeXFxt9lArnaWB9QPB2uSJX9elYzOOrPTfW_dmNlUEZOA1s1_LDC8i6-f3HAbdyWZ4yN-c5ZytWbMgrqP6h2NNA"; e_fb_requesthandler="AcL1oYSfe5PE3kubA47XeAcP6UTaTBLsBYNfBNg5RcPTo2Igfxm1LMKhKKZWdFmX33masYV4csA"; e_fb_builduser="AcKO-0xWTs-T6TAwsnIAuBaDIXRpW3fT2397AnL7mr0RGz05kgVD6R_ngJGZR3KX6L8"; e_fb_binaryversion="AcJpC1dzEFwi_xpqiuLY5AVcPJqIyCgWpV2HVoKFX_91pl-xeDwGlF-3Cp-u1i4pmqK-GRLMNqnEbkXs6UkGYzPdczPDnMy-RXk"; e_proxy="AcKONHsn7IqPbOZtqFghSYdh2hDSB1nSxjLpNv-HmSWN9Pr5V9fKGKYpAe67vy0iUiWgW6qrIJwvdjZjEXuD", http_request_error; e_clientaddr="AcLhogSqmOIXJ3BLfCS5gD3U5F3jmRvwFbpJEKy7IbREVnCxfvR0OMwV67sI-0gybdbCgQ9CcDBIzG4K6w"; e_fb_vipport="AcLuUBX7Ism0bHBH_jDUE2rMa6-xlUtXquSYt0_APrJcHR3cOrbh_6ACotJD"; e_upip="AcJGBeE5Gay8fzjAhWN3SulroVg4gtvjW3w-Chj3-JL9xpm8DtdPa4RWGc2NWDPWtQBeH9ucbr9qnO8a1grvtyT7jTLUSiLERA"; e_fb_hostheader="AcLqIITOKHkOi_LYvVTHTkrtwHgRs4a7D32CBa1cQdmCvkmfMElc5YZK9TRyc2TObf3p6g4eJFhl40Rd"; e_fb_vipaddr="AcLpQBfj8atP7dxZw_9hUIM53WxqOOi5PEsUNLFhzqnEScnrW8SQqQs85t0Y1aESlSi3lMqJZg"; e_fb_requesthandler="AcKnYqyLwGWX0jSJMWa_u4rTAmFXT_uFQvRow_5KpDD_N3tkb0jS5g9TdbTe7TZWkiMsjp7s9SU"; e_fb_builduser="AcKK6Y3wSd11Ot-jqcxEstH8aSW7AV8HWVY_o8Yp5rdRkLppiS7-87UJy59UwSAKOLo"; e_fb_binaryversion="AcKWawZrf4vl3v3pdvQJKfHIXBU3A4CnyhURg0TFTg_2-Y__HZoBi5bNRBhFVQalCIT5orlsYhikrfY8VrU3NPSC0gBFQLLpSXI"; e_proxy="AcLGs-4-2-TP_55je4nDlWYiNnWBUPPqRcQC-f9_b3t2GAGXONdIDMGBnjDCZpkWcqndmFGqo8dpedQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 14:59:18: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ADj3icTCq4FzpCVOxdapQ-M" } } 01/25/2024 14:59:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 14:59:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24002, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AR53_46vTRVwqu0A2fRS3w4', 'x-fb-trace-id': 'GV0kTV1BqW2', 'x-fb-rev': '1011015554', 'x-fb-debug': 'Eg/Gz1dM+LkGsqgNdATzqW+tqViVLMoUFxsLbY5uGY6ueSPtaLgM5PG4+hVzywOAMyTRw1PWMbi12v1yRzU1jg==', date: 'Thu, 25 Jan 2024 14:59:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcINpaLzTh9C9cqHuzb-M27LB2m-hKS4Y59KSZ7Oz9a2zPKX1zENNewWyvkl3Cm0ZYW-Vdfj-Bhwu2KG0kTQ_X-5UcsveULNpAux2sbbM4I0"; e_fb_vipport="AcKN7eEK4V-_VyNYE7REZkAxuN1wnL5IGc-cUTjaih39JNjQKuLjUm30wqMr"; e_upip="AcINMggLRBVxPUom-R4Jc-a2JaoA2vGbTqcJeXJLQhAWGvC7EmYPjcNB_Bf3XHdm1JhYvG1CAJXRyGtQIB1H95X30DUcAAFHAQ"; e_fb_hostheader="AcL66V4okH72Ni8Uex1ul-HrZ4Fyiu4Wv0XRhLVBKC9PbJsxE65ZVv1A5qetRSRAEge1ZMjq92A7gYYG"; e_fb_vipaddr="AcImeMlwA-7OMQqOO2eVZ8mh55nYf-eh4QJUpHCuN3m7EeyX_0xEiESHcCZWE5xPfyOWpIo-tJk407kbFiPeZVb2tTllwu4A9g"; e_fb_requesthandler="AcLM8Vr2I8K5O8JuvZHCqZl4yD26BRnLPuqk9hgvKruUjEtTE9q-Lk5opPZ3nQh42y59HI3rLso"; e_fb_builduser="AcLUNZ-i0LDnZ7-uNQyjtGGESUNdzGa2YR6nHKlte7CCO4SGqSMVXnRNNZ-dFGkPTMA"; e_fb_binaryversion="AcL7JUQuNFMXZneBBUhFw0Xv4iilQCI_5jjnC94B1qL1gzswUdyCYGEAuJ77P_4Xuwv5xYH46MmVCp2XvEAmZ47wWnvivHo0gr0"; e_proxy="AcItx_hVMqoAkqte139vzXRUqwBiayL6J2lg7NgxtVACuW5gKwdJ9UXEyFmhb4euLcDA3Hn9LLibyUJJ0Mqf", http_request_error; e_clientaddr="AcKh6Wwix6hkC4Z_L9BsTWNWU4VT7v-_-TwyoPSpfBTo-ZXl4FdLZyX3W_Y-zNs5mp19gSvW7468wwCkHA"; e_fb_vipport="AcLTBxnPMP1B-WY9gY65h9V1AeHMpPkT_JSaXmvV6YX5hbPY1rZTWwDQxhia"; e_upip="AcKSAmPepkOBTGEf1pCsYoMwiGQVJkiQCDe4ukdKbKhyS7Y7msZML3bkFC2ol8mY4fPjJlEHuvt-E0LVouFbOSgFnmGoZGmKNA"; e_fb_hostheader="AcIj2wYyTWVu-o662Jtoc5HcbyRlIRxQy0j3XuHhzbtN9GcqE58xUpcPsq4WB5eI6EQvJ07F1SmXB2Kf"; e_fb_vipaddr="AcKgTEOLorfIJuAGoqLzBDO3DLW-GSyoF9P2Z4QK1xz5jdJ1jv4ZCV5Y1_qVLidgkFocY3cARA"; e_fb_requesthandler="AcKzb-7XxpNHC9OiegvJ_ZekZhO3iRllRreDhkl5uHgTootS-yQifcVpRFdYTh0HZdgc1Nb5v84"; e_fb_builduser="AcL7M85rmXjy8yliQRaUDcm53g0CEvSot4vHozt1jH9sgqIGYDKOEA4WSWNqTUhtHJA"; e_fb_binaryversion="AcL7cG2vMS0rInIS_bNHSOUP965wgkymqQ0rvzWuM6Bx3zdZUrhroZxHMioueKMZ8L1s8cCZ98dyT1C_AM6_iDLqz-gakGVMeBo"; e_proxy="AcLavLQWGEiKTTZ_-crwJrQEyGu_pOAm6Tj4-t80itctO1Q17bKE9pQjbixaIWMh4wYS3gKnQ8cis-uh"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 14:59:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 14:59:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24218, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjTIlzMsnqMBvSz3hWJ5uBR', 'x-fb-trace-id': 'BzGtv1cRz7m', 'x-fb-rev': '1011015554', 'x-fb-debug': 'uEhCS04IwUqQ3vUIxBCIhtLY5ftFutp8pX/EDa96iRatS5bwx1Jq9XnL6D48fwEDJBKloZSU7TjKB9ndc4DCMA==', date: 'Thu, 25 Jan 2024 14:59:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJY0UWiNj1C-rkEhHI_W2IuWH5vm57xErVxvoAllFVr8WW0jt4XNleUart-qiBSEKGwBEffxrSbP5njCWZGEASmfEC3N10p7RxqdFIhF3ZD_g"; e_fb_vipport="AcInLMa_mci0YhrvB7v_6KzzHU8DfiF88LwhpGIltWliPEkNbOTbuXRW-ox_"; e_upip="AcLguSUSR5XkGk4wubWvYF4ZC6S-vW9Pd1BZSUtEriJ-NkKHtkiP98bbnNUzS94tY-oljwYb1NRQ4m_r69NJ14nFlaYmH1qEZ-4"; e_fb_hostheader="AcLJ85V8HcteOCayv_-ViX6zxXrvU1ppEg8f_zqm9n7vqbxcnjrnuwmKJ5W1FaHt_1nZgsDP7XipSefc"; e_fb_vipaddr="AcISEOhO1JfbobZ0rakcHIuUub5PLZpzQlaNpkMUAhpVUYYUIi1O9CXz0dbycPSQ5ZblcLyuYGDxqWCUl6pDfSgLSb_rk_JJBA"; e_fb_requesthandler="AcJJdYS4Fhtp3VChHq5r7iqF8D6mfE9BvFuWHhO2wY2H7_GjGaJH-FokdqI1qG0ftdEOkD66Xmw"; e_fb_builduser="AcIVYjaVOkT421RXwiiYyeTmoxYpSTcBfWumCmoG-LZk929pBnZ8BLiubXpyWG63J4U"; e_fb_binaryversion="AcLgRtueHsGtyfFW8thcIzTIdIpJHxOWamhKfEl5MkgchGfxGY1ARG6N9JE27yEPzGgRVD95F9e2KiNNWg9QJ23Dku2KheeFrFM"; e_proxy="AcL2USZ2C-ABX4oOvlSSDVgv1rhvYekj4wdYv_30mcGxlx1JFjuw4xQryUCbyvNMicw2q33U5k7CO2pelkOR", http_request_error; e_clientaddr="AcJlcgfzyLPLZU4gphHrtA-B6oyWkwaOJ0p626SqLVYIEM0CMZ3C2ZOepV1Npeft9hpTBKGWNdQKEPSoiQ"; e_fb_vipport="AcJowTFRoJNslaCY4YOvYzD1o7KFqkVCVUVW26J2zvBdGuwUHJLnFJSmdeQO"; e_upip="AcKn_P1fmXtmPnMpUquMGPvULqUrXKGp-iDaUcbMBwxzjJVkPN9SKCLvZjI7c-r2fTUI3A2qAJniQeXnsBFYPe1bx3OhB47bZQ"; e_fb_hostheader="AcIjL1UFZLjtGLmwsiJmdgDLOG_XyjWoJ2q8eTUiKPl5MreilRcB8NzMA7I7smSrM_ES_iWElREY264W"; e_fb_vipaddr="AcLhcibaU6Sygm4zbmKod5vyRjggth8-YFzDcQyv-9tYINkWtGvlAzH8-OPkay39wEDwDaUjcw"; e_fb_requesthandler="AcKd52bUoJej07jpS_mMQ7SPtN-L-UJS4s6bAoADJt3JD73KqfQiYcNBb4gb2gpMy-52IEX-XJA"; e_fb_builduser="AcLGy_Gq5cwqAXpRHF4-MmRGlhUqE_zGogeJI-5i-ePIdpwL33RV08bQGGkcbWwzklA"; e_fb_binaryversion="AcKwvgWsCT9y25IzLtT5Pi2Ip8ysH5m7ZIsTeOM1tMKS78h56x49Fr04iekKG3A-YfkL_jdYzQOLxRD9s-AaGoo2AEtDUcS-a_E"; e_proxy="AcIL_QBtILHdfJEVJZCoEu95r96cvH2M-vwP4xm49C3GjVAkkY9A0zZ5MWr_JDZvGDnuFcz-eXJghiA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 14:59:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 14:59:26: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AlhuSwLzN52NNDFAdi70CpD" } } 01/25/2024 14:59:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 14:59:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24355, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al_AlK7hEhl5tbfWulTg9jo', 'x-fb-trace-id': 'BtEfoAMgva4', 'x-fb-rev': '1011015554', 'x-fb-debug': 'IaWSibYi0EL37nrl7XtSuMbuBbhuG2inhLbJ5bv5qzMSSrFudly7ciY6vFvRJvaUwKrSv9mjUrEi08d+NUrb6w==', date: 'Thu, 25 Jan 2024 14:59:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLl2VsVWVh4UBZI_ep5PA9BvpZsTKqlrLsYZ_PPGxlQ33jo-UZtYPVghUqtm4mDeQKrfcPxgGFZUGSFTvK11NEPc5PM8QwkKlFaZMfiR-D2gA"; e_fb_vipport="AcI1zrV3H3ZLIEEUCqQNHH8-bd2MaBD76jNagKq4Srj9vzYx3Jy-drEmATqy"; e_upip="AcK5lRcG7tqRoTgQwSfx7vLAUicX9MwEeEiZlg4m_pNs9lD6vS9MHpoc8lY9o8r6LhoMQbiAZGvftzeyjIL3AXxEjFMof0Zx9A"; e_fb_hostheader="AcJfUp1DQdB6SvEP9tTZJFtN6DDWY2Xz3RKNKW9wVHXCXI7OPTOfbdxFXhcI7jdcjgrRuqxDDTq9BSLj"; e_fb_vipaddr="AcKvDVbFgEiMo2H5azxiZZNQE6wWL4Y5qwAe4Ek1EToMOwSPZynUvPmpXC8NjXetqD7potmCOxX1g99UM_444FmVXm5hnnajCQ"; e_fb_requesthandler="AcJ7q4Hy6wwBMCWrBuAjpz_P_vbf7P5GuiKV8UNBHKnP5HFdPy2yXVlSTudZpdwH4DQnlEkFgkg"; e_fb_builduser="AcLqe6XbgZNCywGgqzkggKorEO5IKV5YxOgRe9QH9FgZZzLoBUzX8XcNgEkjenSpi9U"; e_fb_binaryversion="AcJj-uWzKgwfcXyBdew7OB3NNZUXJGZ7BR4at8xl0YmJ279naXVS3aE1ZVFkUhLjmP9hG7u86-cuaIV0teJ7mvX2dra_6i3vTYc"; e_proxy="AcLXBEH-lp9utMtrW_zNx3q25gPbF2rgtQ4BDKWtVU3aGfGZznhN3OZ7F_b0Y1ksVr4pxqsOo20Pn_kW-uJ5", http_request_error; e_clientaddr="AcLj6xCDU5m3VirngDw77EKmh1p9U9BRMHc9Xx2InO1PglSZp-mvo9MjGlyLg8S1EIxn_64B1eAUpgjihg"; e_fb_vipport="AcJjNsy_aKZRc7TG-u_4fLDl8yPqdfYoW_1lfwYVvWK-tnpPCDQ1LLKqbEkL"; e_upip="AcJByjUnw65qsgJmUHzfsax2pb4Yetsde3lIoIF7yHGtNa15ORSXSJbKob0gJ6l93SyIC3vdGHdePfjEZd7WVGmu9HbqzCBGiA"; e_fb_hostheader="AcJ-kiP6OR04RXYyNLZj3jPuU9LNxLdojW7m3kxghDvH7S5OnS4rU4Z1k8YmxQxYugMHenJrvkSoEc2I"; e_fb_vipaddr="AcKCrup9BNrtKkMSEaq_tDN3Ii586i-J17vQhXKvkNZwtzY60Oiudie8uSRfDoMTmtFncVlN8Q"; e_fb_requesthandler="AcJPBqyarTm4f-HzRo-RstBvon3DA6JmGjZNYQStID7_OJ73LCFt3kDI9BuiA4mOuVdsueIkbMs"; e_fb_builduser="AcKctH4LNR1RwZZ3FCgcU_PmBxt5NtlOcXD5O_AVo9ZevNKSS6Uuv6KsgdwjGQHyl3A"; e_fb_binaryversion="AcKXsTQlw3LUvFPXJ5AUWWTGajBh5CCqGdyq0pHcguxiZq7LXaIvZF2uVRNBwNmHZNw54mdJRDU2IjUpdxYX9V74S2RrXro-xaY"; e_proxy="AcI6p74XdEe5s1KQB_asE2nRNRuBhdwgkI6H0HeFmZKS_H71O-HQuY7bBGpq5W-HNN0bjO3dkovlKkbV"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7428324770524618"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 15:02:33: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AlmpGTPcMif_TIPeCujsNnj" } } 01/25/2024 15:02:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 15:02:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 15:02:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 15:02:42: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ASfJXRSfZmJxUIWvJF_kVKE" } } 01/25/2024 15:02:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 15:02:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 15:02:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 15:03:14: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ANeeRvDQWbdK_r38BH8ygI_" } } 01/25/2024 15:03:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 15:03:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 15:03:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 15:03:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AD08pI0NtIFLxTMN7kjiJ7Y" } } 01/25/2024 15:03:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 15:03:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 15:03:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 15:05:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/25/2024 15:06:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/25/2024 15:15:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/25/2024 15:16:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/25/2024 16:07:38: Request bot not found: { id: '215725838493727' } 01/25/2024 16:07:39: Request bot not found: { id: '215725838493727' } 01/25/2024 16:07:40: Request bot not found: { id: '215725838493727' } 01/25/2024 16:07:41: Request bot not found: { id: '215725838493727' } 01/25/2024 16:07:43: Request bot not found: { id: '215725838493727' } 01/25/2024 16:07:47: Request bot not found: { id: '215725838493727' } 01/25/2024 16:08:03: Request bot not found: { id: '215725838493727' } 01/25/2024 16:09:22: Request bot not found: { id: '215725838493727' } 01/25/2024 16:10:39: Request bot not found: { id: '215725838493727' } 01/25/2024 16:11:52: Request bot not found: { id: '215725838493727' } 01/25/2024 16:13:11: Request bot not found: { id: '215725838493727' } 01/25/2024 16:14:25: Request bot not found: { id: '215725838493727' } 01/25/2024 16:15:01: Request bot not found: { id: '144313565649530' } 01/25/2024 16:15:02: Request bot not found: { id: '144313565649530' } 01/25/2024 16:15:03: Request bot not found: { id: '144313565649530' } 01/25/2024 16:15:03: Request bot not found: { id: '144313565649530' } 01/25/2024 16:15:04: Request bot not found: { id: '144313565649530' } 01/25/2024 16:15:08: Request bot not found: { id: '144313565649530' } 01/25/2024 16:15:22: Request bot not found: { id: '144313565649530' } 01/25/2024 16:15:40: Request bot not found: { id: '215725838493727' } 01/25/2024 16:16:36: Request bot not found: { id: '144313565649530' } 01/25/2024 16:17:02: Request bot not found: { id: '215725838493727' } 01/25/2024 16:17:55: Request bot not found: { id: '144313565649530' } 01/25/2024 16:18:24: Request bot not found: { id: '215725838493727' } 01/25/2024 16:19:16: Request bot not found: { id: '144313565649530' } 01/25/2024 16:19:39: Request bot not found: { id: '215725838493727' } 01/25/2024 16:20:32: Request bot not found: { id: '144313565649530' } 01/25/2024 16:21:01: Request bot not found: { id: '215725838493727' } 01/25/2024 16:21:53: Request bot not found: { id: '144313565649530' } 01/25/2024 16:22:28: Request bot not found: { id: '215725838493727' } 01/25/2024 16:23:17: Request bot not found: { id: '144313565649530' } 01/25/2024 16:23:53: Request bot not found: { id: '215725838493727' } 01/25/2024 16:24:27: Request bot not found: { id: '144313565649530' } 01/25/2024 16:25:10: Request bot not found: { id: '215725838493727' } 01/25/2024 16:25:39: Request bot not found: { id: '144313565649530' } 01/25/2024 16:26:21: Request bot not found: { id: '215725838493727' } 01/25/2024 16:26:52: Request bot not found: { id: '144313565649530' } 01/25/2024 16:27:37: Request bot not found: { id: '215725838493727' } 01/25/2024 16:28:06: Request bot not found: { id: '144313565649530' } 01/25/2024 16:29:01: Request bot not found: { id: '215725838493727' } 01/25/2024 16:29:24: Request bot not found: { id: '144313565649530' } 01/25/2024 16:30:22: Request bot not found: { id: '215725838493727' } 01/25/2024 16:30:34: Request bot not found: { id: '565033343594012' } 01/25/2024 16:30:35: Request bot not found: { id: '565033343594012' } 01/25/2024 16:30:35: Request bot not found: { id: '565033343594012' } 01/25/2024 16:30:36: Request bot not found: { id: '565033343594012' } 01/25/2024 16:30:38: Request bot not found: { id: '565033343594012' } 01/25/2024 16:30:41: Request bot not found: { id: '565033343594012' } 01/25/2024 16:30:43: Request bot not found: { id: '144313565649530' } 01/25/2024 16:30:56: Request bot not found: { id: '565033343594012' } 01/25/2024 16:31:38: Request bot not found: { id: '215725838493727' } 01/25/2024 16:32:02: Request bot not found: { id: '144313565649530' } 01/25/2024 16:32:10: Request bot not found: { id: '565033343594012' } 01/25/2024 16:33:01: Request bot not found: { id: '215725838493727' } 01/25/2024 16:33:19: Request bot not found: { id: '144313565649530' } 01/25/2024 16:33:25: Request bot not found: { id: '565033343594012' } 01/25/2024 16:34:25: Request bot not found: { id: '215725838493727' } 01/25/2024 16:34:30: Request bot not found: { id: '144313565649530' } 01/25/2024 16:34:38: Request bot not found: { id: '565033343594012' } 01/25/2024 16:35:41: Request bot not found: { id: '215725838493727' } 01/25/2024 16:35:49: Request bot not found: { id: '144313565649530' } 01/25/2024 16:35:53: Request bot not found: { id: '565033343594012' } 01/25/2024 16:36:57: Request bot not found: { id: '215725838493727' } 01/25/2024 16:37:00: Request bot not found: { id: '144313565649530' } 01/25/2024 16:37:07: Request bot not found: { id: '565033343594012' } 01/25/2024 16:38:12: Request bot not found: { id: '215725838493727' } 01/25/2024 16:38:24: Request bot not found: { id: '144313565649530' } 01/25/2024 16:38:25: Request bot not found: { id: '565033343594012' } 01/25/2024 16:39:30: Request bot not found: { id: '215725838493727' } 01/25/2024 16:39:31: Request bot not found: { id: '215725838493727' } 01/25/2024 16:39:32: Request bot not found: { id: '215725838493727' } 01/25/2024 16:39:32: Request bot not found: { id: '215725838493727' } 01/25/2024 16:39:33: Request bot not found: { id: '215725838493727' } 01/25/2024 16:39:35: Request bot not found: { id: '215725838493727' } 01/25/2024 16:39:38: Request bot not found: { id: '215725838493727' } 01/25/2024 16:39:41: Request bot not found: { id: '144313565649530' } 01/25/2024 16:39:46: Request bot not found: { id: '565033343594012' } 01/25/2024 16:39:54: Request bot not found: { id: '215725838493727' } 01/25/2024 16:41:02: Request bot not found: { id: '144313565649530' } 01/25/2024 16:41:08: Request bot not found: { id: '565033343594012' } 01/25/2024 16:41:11: Request bot not found: { id: '215725838493727' } 01/25/2024 16:42:28: Request bot not found: { id: '144313565649530' } 01/25/2024 16:42:31: Request bot not found: { id: '565033343594012' } 01/25/2024 16:42:32: Request bot not found: { id: '215725838493727' } 01/25/2024 16:43:44: Request bot not found: { id: '144313565649530' } 01/25/2024 16:43:48: Request bot not found: { id: '565033343594012' } 01/25/2024 16:43:53: Request bot not found: { id: '215725838493727' } 01/25/2024 16:45:05: Request bot not found: { id: '144313565649530' } 01/25/2024 16:45:08: Request bot not found: { id: '565033343594012' } 01/25/2024 16:45:10: Request bot not found: { id: '215725838493727' } 01/25/2024 16:46:26: Request bot not found: { id: '144313565649530' } 01/25/2024 16:46:27: Request bot not found: { id: '144313565649530' } 01/25/2024 16:46:27: Request bot not found: { id: '144313565649530' } 01/25/2024 16:46:28: Request bot not found: { id: '144313565649530' } 01/25/2024 16:46:29: Request bot not found: { id: '144313565649530' } 01/25/2024 16:46:29: Request bot not found: { id: '215725838493727' } 01/25/2024 16:46:30: Request bot not found: { id: '144313565649530' } 01/25/2024 16:46:31: Request bot not found: { id: '565033343594012' } 01/25/2024 16:46:34: Request bot not found: { id: '144313565649530' } 01/25/2024 16:46:49: Request bot not found: { id: '144313565649530' } 01/25/2024 16:47:42: Request bot not found: { id: '565033343594012' } 01/25/2024 16:47:54: Request bot not found: { id: '215725838493727' } 01/25/2024 16:48:07: Request bot not found: { id: '144313565649530' } 01/25/2024 16:49:01: Request bot not found: { id: '565033343594012' } 01/25/2024 16:49:19: Request bot not found: { id: '215725838493727' } 01/25/2024 16:49:28: Request bot not found: { id: '144313565649530' } 01/25/2024 16:50:18: Request bot not found: { id: '565033343594012' } 01/25/2024 16:50:41: Request bot not found: { id: '144313565649530' } 01/25/2024 16:50:44: Request bot not found: { id: '215725838493727' } 01/25/2024 16:51:30: Request bot not found: { id: '565033343594012' } 01/25/2024 16:51:56: Request bot not found: { id: '144313565649530' } 01/25/2024 16:52:04: Request bot not found: { id: '215725838493727' } 01/25/2024 16:52:51: Request bot not found: { id: '565033343594012' } 01/25/2024 16:53:19: Request bot not found: { id: '144313565649530' } 01/25/2024 16:53:31: Request bot not found: { id: '215725838493727' } 01/25/2024 16:54:11: Request bot not found: { id: '565033343594012' } 01/25/2024 16:54:46: Request bot not found: { id: '144313565649530' } 01/25/2024 16:54:46: Request bot not found: { id: '215725838493727' } 01/25/2024 16:55:29: Request bot not found: { id: '565033343594012' } 01/25/2024 16:56:00: Request bot not found: { id: '144313565649530' } 01/25/2024 16:56:09: Request bot not found: { id: '215725838493727' } 01/25/2024 16:56:48: Request bot not found: { id: '565033343594012' } 01/25/2024 16:57:19: Request bot not found: { id: '144313565649530' } 01/25/2024 16:57:34: Request bot not found: { id: '215725838493727' } 01/25/2024 16:58:06: Request bot not found: { id: '565033343594012' } 01/25/2024 16:58:34: Request bot not found: { id: '144313565649530' } 01/25/2024 16:58:57: Request bot not found: { id: '215725838493727' } 01/25/2024 16:59:27: Request bot not found: { id: '565033343594012' } 01/25/2024 16:59:48: Request bot not found: { id: '144313565649530' } 01/25/2024 17:00:21: Request bot not found: { id: '215725838493727' } 01/25/2024 17:00:46: Request bot not found: { id: '565033343594012' } 01/25/2024 17:01:02: Request bot not found: { id: '144313565649530' } 01/25/2024 17:01:33: Request bot not found: { id: '215725838493727' } 01/25/2024 17:01:59: Request bot not found: { id: '565033343594012' } 01/25/2024 17:02:28: Request bot not found: { id: '144313565649530' } 01/25/2024 17:02:58: Request bot not found: { id: '215725838493727' } 01/25/2024 17:03:48: Request bot not found: { id: '144313565649530' } 01/25/2024 17:04:21: Request bot not found: { id: '215725838493727' } 01/25/2024 17:05:09: Request bot not found: { id: '144313565649530' } 01/25/2024 17:05:39: Request bot not found: { id: '215725838493727' } 01/25/2024 17:06:21: Request bot not found: { id: '144313565649530' } 01/25/2024 17:07:01: Request bot not found: { id: '215725838493727' } 01/25/2024 17:07:45: Request bot not found: { id: '144313565649530' } 01/25/2024 17:08:13: Request bot not found: { id: '215725838493727' } 01/25/2024 17:09:03: Request bot not found: { id: '144313565649530' } 01/25/2024 17:09:32: Request bot not found: { id: '215725838493727' } 01/25/2024 17:10:21: Request bot not found: { id: '144313565649530' } 01/25/2024 17:10:27: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A4qd4dIWp2ZAz5CdPYjch3l" } } 01/25/2024 17:10:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 17:10:53: Request bot not found: { id: '215725838493727' } 01/25/2024 17:11:46: Request bot not found: { id: '144313565649530' } 01/25/2024 17:12:20: Request bot not found: { id: '215725838493727' } 01/25/2024 17:12:20: Request bot not found: { id: '215725838493727' } 01/25/2024 17:12:21: Request bot not found: { id: '215725838493727' } 01/25/2024 17:12:22: Request bot not found: { id: '215725838493727' } 01/25/2024 17:12:23: Request bot not found: { id: '215725838493727' } 01/25/2024 17:12:24: Request bot not found: { id: '215725838493727' } 01/25/2024 17:12:29: Request bot not found: { id: '215725838493727' } 01/25/2024 17:12:46: Request bot not found: { id: '215725838493727' } 01/25/2024 17:13:11: Request bot not found: { id: '144313565649530' } 01/25/2024 17:13:58: Request bot not found: { id: '215725838493727' } 01/25/2024 17:14:24: Request bot not found: { id: '144313565649530' } 01/25/2024 17:15:22: Request bot not found: { id: '215725838493727' } 01/25/2024 17:15:47: Request bot not found: { id: '144313565649530' } 01/25/2024 17:16:39: Request bot not found: { id: '215725838493727' } 01/25/2024 17:16:58: Request bot not found: { id: '144313565649530' } 01/25/2024 17:17:54: Request bot not found: { id: '215725838493727' } 01/25/2024 17:18:24: Request bot not found: { id: '144313565649530' } 01/25/2024 17:19:14: Request bot not found: { id: '215725838493727' } 01/25/2024 17:20:39: Request bot not found: { id: '215725838493727' } 01/25/2024 17:22:06: Request bot not found: { id: '215725838493727' } 01/25/2024 17:23:26: Request bot not found: { id: '215725838493727' } 01/25/2024 17:24:40: Request bot not found: { id: '215725838493727' } 01/25/2024 17:26:01: Request bot not found: { id: '215725838493727' } 01/25/2024 17:27:23: Request bot not found: { id: '215725838493727' } 01/25/2024 17:28:44: Request bot not found: { id: '215725838493727' } 01/25/2024 17:30:10: Request bot not found: { id: '215725838493727' } 01/25/2024 17:30:31: Request bot not found: { id: '565033343594012' } 01/25/2024 17:30:32: Request bot not found: { id: '565033343594012' } 01/25/2024 17:30:32: Request bot not found: { id: '565033343594012' } 01/25/2024 17:30:33: Request bot not found: { id: '565033343594012' } 01/25/2024 17:30:34: Request bot not found: { id: '565033343594012' } 01/25/2024 17:30:38: Request bot not found: { id: '565033343594012' } 01/25/2024 17:30:53: Request bot not found: { id: '565033343594012' } 01/25/2024 17:31:36: Request bot not found: { id: '215725838493727' } 01/25/2024 17:32:11: Request bot not found: { id: '565033343594012' } 01/25/2024 17:32:56: Request bot not found: { id: '215725838493727' } 01/25/2024 17:33:36: Request bot not found: { id: '565033343594012' } 01/25/2024 17:34:09: Request bot not found: { id: '215725838493727' } 01/25/2024 17:34:51: Request bot not found: { id: '565033343594012' } 01/25/2024 17:35:24: Request bot not found: { id: '215725838493727' } 01/25/2024 17:36:05: Request bot not found: { id: '565033343594012' } 01/25/2024 17:36:45: Request bot not found: { id: '215725838493727' } 01/25/2024 17:37:31: Request bot not found: { id: '565033343594012' } 01/25/2024 17:37:58: Request bot not found: { id: '215725838493727' } 01/25/2024 17:38:57: Request bot not found: { id: '565033343594012' } 01/25/2024 17:39:21: Request bot not found: { id: '215725838493727' } 01/25/2024 17:40:21: Request bot not found: { id: '565033343594012' } 01/25/2024 17:40:47: Request bot not found: { id: '215725838493727' } 01/25/2024 17:41:42: Request bot not found: { id: '565033343594012' } 01/25/2024 17:42:02: Request bot not found: { id: '215725838493727' } 01/25/2024 17:42:58: Request bot not found: { id: '565033343594012' } 01/25/2024 17:43:17: Request bot not found: { id: '215725838493727' } 01/25/2024 17:44:09: Request bot not found: { id: '565033343594012' } 01/25/2024 17:44:33: Request bot not found: { id: '215725838493727' } 01/25/2024 17:45:31: Request bot not found: { id: '565033343594012' } 01/25/2024 17:46:48: Request bot not found: { id: '565033343594012' } 01/25/2024 17:48:06: Request bot not found: { id: '565033343594012' } 01/25/2024 17:49:32: Request bot not found: { id: '565033343594012' } 01/25/2024 17:50:51: Request bot not found: { id: '565033343594012' } 01/25/2024 17:52:08: Request bot not found: { id: '565033343594012' } 01/25/2024 17:53:29: Request bot not found: { id: '565033343594012' } 01/25/2024 17:54:43: Request bot not found: { id: '565033343594012' } 01/25/2024 17:56:09: Request bot not found: { id: '565033343594012' } 01/25/2024 17:57:25: Request bot not found: { id: '565033343594012' } 01/25/2024 17:58:39: Request bot not found: { id: '565033343594012' } 01/25/2024 18:00:05: Request bot not found: { id: '565033343594012' } 01/25/2024 18:01:29: Request bot not found: { id: '565033343594012' } 01/25/2024 18:02:48: Request bot not found: { id: '565033343594012' } 01/25/2024 18:13:55: Request bot not found: { id: '357913897873858' } 01/25/2024 18:13:55: Request bot not found: { id: '357913897873858' } 01/25/2024 18:13:56: Request bot not found: { id: '357913897873858' } 01/25/2024 18:13:56: Request bot not found: { id: '357913897873858' } 01/25/2024 18:13:58: Request bot not found: { id: '357913897873858' } 01/25/2024 18:14:01: Request bot not found: { id: '357913897873858' } 01/25/2024 18:14:16: Request bot not found: { id: '357913897873858' } 01/25/2024 18:15:28: Request bot not found: { id: '357913897873858' } 01/25/2024 18:16:45: Request bot not found: { id: '357913897873858' } 01/25/2024 18:18:08: Request bot not found: { id: '357913897873858' } 01/25/2024 18:19:22: Request bot not found: { id: '357913897873858' } 01/25/2024 18:19:48: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6911523352304188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3971110, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6911523352304188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6911523352304188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6911523352304188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6911523352304188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aux2m6U-Jjm3XWW9yJXnMzj', 'x-fb-trace-id': 'B6bJhLmnLWZ', 'x-fb-rev': '1011018676', 'x-fb-debug': 'jEpBlZjMZqMy1Q4bLJ3EFt5ip9JecmlBMhYPF5P1aK74WQoZax5UGo8xw16Dbwu4bv1CnDya3tO3BA7szvip8Q==', date: 'Thu, 25 Jan 2024 18:19:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI_1VQljINnpmC8eD-J9jJn8Cn_jIIyyIm60xC2ZMpZtRm4c3haEguQU35igtxG6RLT3Vp16Secmwwe493m8BuOCJEZo1fXO_q7DekLFxY8G_7r"; e_fb_vipport="AcKINpxExkAdP-qvofur5FM_n9ubhUAZ1ZJiD7z43dEwK9n4lkgKIkXrp6jE"; e_upip="AcK4xHGnIJ9nRNR-DzWB0myXOxKKu9z-Z7dIH13ARPzThVmZd9JQdq_lxd2FMjxm1VY4lgJNFARVdWhhNXhb_SuBIloSyRFvk6M"; e_fb_hostheader="AcLM25tVglXGmoruGtyCPJXc9-8PRXFEo5ZxtZWA5z2c4zbdRZLJVl-pqhm7F0GHbGR058r2RjqbPcUE"; e_fb_vipaddr="AcKlfE4h-vs_8qRxr2Q7oU5CoU4xw9iIZSzIljAfndW8rhVx61a9bEXYPHO6_NU6GWR8Sjt-tpTwrHJWIrHE7CT_Gqx5OeEs-g"; e_fb_requesthandler="AcLCyFiZigDPGLzhqz0AhUpB1jNaSwtCyUb1OU-p9megAmXlQrQB2hWpEZSDpXlCpBP5F-P2JBo"; e_fb_builduser="AcKmLmXi_Axs1osa_fyuFAcIl13oF0mosjEIbW2Fq8DEZBt5j3A3T54dBpCaRisUmvE"; e_fb_binaryversion="AcL2hCbZZY4qWWu4dsldMkmBE8C2cdJi8wAuOlJwuHUCftCDTaShaDt1pdGfRQeXpETavsz4UkAvXegXlrfiTHxfN4USB-_k1k8"; e_proxy="AcLwsmiNVhcqoCmBOf9mtnd1tdZj5DDtD3565tHYx6DtzBf0peJ4qi2bWzAA4Evf1otk4su7Tz4cA8hikVpU", http_request_error; e_clientaddr="AcImHpZftEInmxsPwlwziepUfRvF2ImGP3gdKQ8dAoUCUZxye2Ixqiifz0znDe98Y7WYvBE7VdnNMY0lBQ"; e_fb_vipport="AcK0mzlDRHs9Ya-tCWmsIYPTkzEnkKabVlZojClDeamipNjWsG8OmG_-65AM"; e_upip="AcJxD3n2i4o1TSb_BUY1eH6VLgikijsV7Nm3wq7J2RnCMJrv0ndFq9Nl3SDEaDnFH3ZLyMcdtDxY0TwZDSbIqhxzUi_DDgJQmQ"; e_fb_hostheader="AcIZF6o7NvXDqkPDhQvyqxLbpokNM9rfodaoReI52u6hpxeS-jGmDM3bJjpFIZbZXhC_sGY-Im1--fxQ"; e_fb_vipaddr="AcKEr1qERLf5C--V8Lel2M8ZBiPLTFhKw8MQTMJgyQVAWo5lbbZzYStj5YbPUgTTBJVcWDrFUA"; e_fb_requesthandler="AcKlQdS00LBGZPjVhnnLQa7ep9nAGszru6dXGii6hbHNP99BaFA7tP44Q22EQ6YElVr6ga4P6wc"; e_fb_builduser="AcLk7BSgK8xh6mTjkdxkuz_HFofR-v2-xA7Dp6Rul3Ce6aRHNPh5Qb3mfJwzINIAulA"; e_fb_binaryversion="AcJnfozc9qYRZDX8BIjuMRsHDV93DaXd1-dSHYxzF8xwlEb0MfhBAT8EI8lwwiDTnPGKS5MWQjntGbTHPLFDypynOfrX6A7NvrQ"; e_proxy="AcJHimaYYVu63rKWNpBlfXAFVzoHu_ylDHuWMVw7pbMgoiEihhvITSHnAMm6SpArAMo92AeMWHbsiZ8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6911523352304188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6911523352304188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6911523352304188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 18:19:48: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 18:19:48: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/25/2024 18:19:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 18:19:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6911523352304188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3974038, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARvzYCnImD3sDjz1M2wrT-H', 'x-fb-trace-id': 'E1RaqoPZD3v', 'x-fb-rev': '1011018676', 'x-fb-debug': 'WhMoe4I++/M67KD3b1BsO0oRmCkywcLqApHt6cgef153fmD2xK3EwRsEpQObSm3LwuNbjCIs27OBOpdb4jQzjA==', date: 'Thu, 25 Jan 2024 18:19:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJimjBG8xl437eYR-EVtSe68yK89r3LmMRmOvA0bWghleE7dAZxRXP3hkVxCQqc7DNIYs6KSaYz6YhaPESsNGSyZKgV04r7VWErurOVvsx_68zm"; e_fb_vipport="AcJZABhMCWWnB5uDnEpI1Cx5LUebX-aK5GpprgF2WZHlWdrvK-7G_b3J30m3"; e_upip="AcLu9o2tOo1Prx6mMCu7phRJ1rbHN2Z5aqrQDdeybw2mvZKQAd0FK99AUSI0v4Tf5gW3VSl9omx0wufMzE_eza1oHOtyxvn7"; e_fb_hostheader="AcKLStfPOTFMIkj7ksOHst5S2KBrMfULxoOfeKueLq_ecU0sDht_bnLCoZ3hKz74bRgwiwZUMzKl8tOq"; e_fb_vipaddr="AcKEfh3ZtjwtxC6fPw4COgn1rTcqFTZm0JsIxFvfstt2JxUL17Mt6Jqp30UaOjPbDvnFDITYirmL3GmlX5moES1uqJHIOnnrJg"; e_fb_requesthandler="AcLXCDTUQhrE5ptTnnhQYqPH-rdXtfJCrJq_GGaEESOmjD7VV_aXu0NLcoUFpOVTjuI3ze9gTR4"; e_fb_builduser="AcJA_K3jm8TZZaGh2BfsIEsFvNEsLooKaE87GQkPr7y83abi8LroNb6Pidd2hJT6UAk"; e_fb_binaryversion="AcIgfb_bTveZ_2TwY2v3fXkt3dhnz19d9igvZVjV-arzQ6x1OZVs5FfvKOwutZb-ZhS20tXw4LhqEKFHnikXeAP-IB1jkaLTyxw"; e_proxy="AcJO0TfsWO8uEIhYi3uTyL2DqOrByYrPA-tBXBpiYgqWofHRjNkB6egYP-gAAFdYdAZy1l2G1qa40veXrp2I", http_request_error; e_clientaddr="AcIjLTKhMgX8xlvnJ80o1OlsSkPllS-Dhpu5PdRPO45ZIRp6toVxAv7iRR0_vr_RjeGQp2eRsnss6JFlNg"; e_fb_vipport="AcJE4PiQThnLkU-dZuinDFx48ZnBvNS8sUjNW11bN5qOXSwYPM3HKw0a7M91"; e_upip="AcKdWTFSHW0Mp_Gg431iY480GPFYpLhNLAzU_XTuiANd4NU37UxWz1hy25kZB5pi3pzRe9PRqz5NI0NWECk6HlecFKhJBD59Iw"; e_fb_hostheader="AcIoz3bR6nuJl25LlE0zBrl9uzBRlHgotKPDDdYtDeotY3KpOYEpxjawefnRSMDnUYePuCvUGAXOZ4pZ"; e_fb_vipaddr="AcKvQ08wxsfUjAhvsmEjmZbvi8j7lWicUVfSWMoTq4mrR8jS-VtKNHoUNWxJDKHUqGtlmLmVMw"; e_fb_requesthandler="AcL4MqH3sK6mG2nJkxX8MoDC7VpMDqPytu9s9ufG_hmL6zErbf17h0JRFoTjkHNH7y-Y3MeA1GY"; e_fb_builduser="AcKCrvCcj4ru5JbD8fQ-7XbkMRYILjaeOz3csg9V-wuzOcTdU6AgjGBKvUXgqULrKgc"; e_fb_binaryversion="AcJqUGFESt7MAurBxUThXedIAAVmIal-GKbVwrxQzOg25yaUvrSd0oPUwbceriP5kTGZQ8m-q1LkFkr5zZ1xA0NMabg9jK4YeZQ"; e_proxy="AcLdiTd_tCyAcAukZQWvgWy361uM_nXUQIGJM-W_nzi6k8ki_5Az5-EdOTjrQiiFw-2YDqF-cqRToppj"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6911523352304188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 18:19:48: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AglKfPGz3GtcfExXQcH_l9C" } } 01/25/2024 18:19:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/25/2024 18:19:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6911523352304188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3974119, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A---9cey18UF2QhtWkDTO3F', 'x-fb-trace-id': 'BFxunw60vq1', 'x-fb-rev': '1011018676', 'x-fb-debug': 'y4pOWQmDN4ST6q+4TMcYELpfHU5rcLHL+7airPh47iHsrOSMXk3gjLmqPJeN259NC8i+5lCnyxiFxk+YeEd35A==', date: 'Thu, 25 Jan 2024 18:19:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJyINE_CFDNdGp8TL1-xB40BWyZqAIlBwSWLi4t7YbxX2tYrj2ggWMQ02Rf4RDPRESOPkoGk6Mkeax7NNklD4zyrMlzxiGZlfbmo4oJqoIjyRNDvg"; e_fb_vipport="AcIMrV1tg2ymOdCXxScpjXqswLOO9BkPAXQhC85QlYOtVXyVcfHc-hItySpi"; e_upip="AcIr2W2tmwZsqhGwM_6loi93qmyFWCO9WRYXhvK3CnkpRBISyhqOhrufaRq8hZYzdoi3Do1ICPR3sHZtX9lPhxCKLOQw3_jG3JU"; e_fb_hostheader="AcKP6sFkixZ-x8B0EaSc8tTGONwbmaLSU_wnkHqQqD0yf5tWNKDhz7BUlAbljHUU1nF5g3j22z-Pyq8D"; e_fb_vipaddr="AcI-0dckR9sFBfwhDIu-4W2lgWdlHBraH-dKocQjArSkmDAlKXNoMcnE3TdnOjb8dt5WkgvqYHgZ6eUHyyXtI0ITCP7c_9C6wA"; e_fb_requesthandler="AcJRr1HaQbTlqE9-dybj5Je6gq03GnhctJFi4raJYnkGo_F1QqKQNxe9JFjKzLMxsb5prR86NEc"; e_fb_builduser="AcK02QAFPtTE3gW4rKVBnquslLdeg9btuRXvnTMb_PMulGks-GtqUwPYpPtLe_4840o"; e_fb_binaryversion="AcKFq9GziAOMK1KkyK_C2M7xoQuM_P65y5fDC5kt7OlPXwsLn3VPEbcswA-djhjDZHx4fjDMK9diuaNRXe_MfxZ1pR_vydp7-VM"; e_proxy="AcLDs9kV2GcEdcgOJZwD_cBE8Z0sX0AgvlWQuFhb-W7hX8O-EQVSBo5RWTuShvftnT2wZ1iyMB8VtMuTDLM", http_request_error; e_clientaddr="AcIGSd2x7J0hvIII4ceuE9pIRi4nA9cm92B2M5_85GzADTVzx7zuS_HNnDxFc2R9FnZrcTQSQA1oqCYpbA"; e_fb_vipport="AcKZnlAHu74xNCKBd-qQE8btZXO9CldI3uunqDLbvabaFmKPMjukICTUPCJH"; e_upip="AcJjxGC8DrsFYqT2ExsCcx_0TVbu1CSZIORbkqA9CJrTl6z8jHCZ_CVjd5Ke_g_NT-CnqExu9BVafgkkvPVnaqEr2Qd-fjOaNQ"; e_fb_hostheader="AcLIiHKkYjWgYeO3kAkckAi4JHja_kCN1Ycgu2UMfABbPRmpg7F9md4yZyQXNkxWq65K4FAQ1bpz5hse"; e_fb_vipaddr="AcK5QwI-hO-KY6Uq3_pnzp3X8kSPIHHLkxrk5Z6k-eZZFdNHdFmkX1h3SHIqbldSZSuSuoQuQA"; e_fb_requesthandler="AcLKsKpH8yZ4X_w0C5X4MotaJDXBhHAENl-1mMOcfcAB_lomXFbKaOTV2HdWSXdiQipsh2CLLkc"; e_fb_builduser="AcIl8F0QWtUjLScC7lsbxzIVUQviCnljS80R5Vk3Lzg2dWhFO-JjrkIdFyOiUt4MXA4"; e_fb_binaryversion="AcJMkUMWJDFZeta248fGXfdiwwR6RqCGA-XQvn67WSnX9_2Rl1g94o5b1CfIW3nInof2pR_wh6r3I2XM99vPBHU-nDWKwa7HqyU"; e_proxy="AcLphI-yF29ss35WC2NxX7NeEPg4Jah1ZtxirZV5yx9lOuV2THxczqutSvreuK8Bi3QkQPEB_2cY0ZOQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6911523352304188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 18:19:49: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AAOBm9lw8DLUAiE2JcfJ6uG" } } 01/25/2024 18:19:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 18:19:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6911523352304188"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3974235, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXlnd3WbPo_uV_F_EkNGMPT', 'x-fb-trace-id': 'AUBVqu4WzJy', 'x-fb-rev': '1011018676', 'x-fb-debug': 'onDmCN26lzHv4mN3bLcS91QU6FCBaD3wa+udVDjlttrHIHEvAmSgWUhfTavIgmza/5Moa7JTK2eae82pIIA4lQ==', date: 'Thu, 25 Jan 2024 18:19:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK0w5HIe3oN07zsTX3OIisMiyJV_Pu_P6O7Oxib5nETpYrxJNSUJkhMNWrfX4zpYAbvYYcw4LTvUkWzS5F04hRYR8x4eZtmgF6BlMOnzr-nU4kd"; e_fb_vipport="AcL4jUvWQ-f3D62qLi8_fa34s2b0QT4pr_4wbwMT1AxvSpgTK9R8lmeAhG_O"; e_upip="AcJUMUg_OKGktMGoeiXQb_bXDSCJLJ_YQHTSa5JBPPbNiaU0oJiCdpPx8SFJLNnZ_Jt_XG2G6K_PKZm2EVDt8hK0r0pyaj3tRRg"; e_fb_hostheader="AcKZaWPbe7BlE3EjJF2K3ZGi4rt_Qdac9myHXTnmh2iJt9P7g7sLoUlpqKF_Kz8oNND6jvZTDjeS1dJg"; e_fb_vipaddr="AcLwMlj-dcqA4chUap8qKgRg-PHE3GM0MtBbFGIips12nLZUPUiA1SRqyIpBMAlDBj-kBvfnmoUfYOFqV3uMzgcPnVdeob7Mzg"; e_fb_requesthandler="AcLBfVNQLSYcVRk40RjdhLpeNl0l8B5tFg83dwtgc3n3hRGRzfKl-WSdiho8hpXBREvMuzQOQr0"; e_fb_builduser="AcKlxBrhsOs3H9sqR9Ti1rvqrTUN1yHvcVYq8x2UXV1EhJc6Q6lTFFMfyYb4m_Z4ph4"; e_fb_binaryversion="AcIjLBFzyViZlqR6z30qv9nKV1tzm75I9M25PJDdW6RaY_fm0edxH145fa2RpgofQ9QKcAV1xGskHP8oatlfU2fxypB9pkQdxFs"; e_proxy="AcLhGJsoOGS4XDFaSh4hc2pCSLGVFi0POCa7SG9rhrrhWUnQxwY4e01PbVTAlUdWmHPVBA5V2gsPoTboylVW", http_request_error; e_clientaddr="AcIZArMx0dR6lniPtUU_CO1w7c47nY-SdWDhbBSwgIllLW-N9CMS7uCVhrGjVB1-z_FNWydRAxqYi2CHIQ"; e_fb_vipport="AcJnyIog8RxptB_hEH4ltp53CVskVb940cZPBZFbIM1swbvHtDZfwcmQ9ZJn"; e_upip="AcKKMh5SAJl1jI2DnG9ubPMxR-oFNlWHRymIbPqq1rpnojx6ytMWXLMk4E41cn4hC2g5sf_u7EKAVv-8jEowDzzWanOIzRYM0g"; e_fb_hostheader="AcJzhAyfUghN2JT2nCnK-7CtmPnl47RhOBg620jOR0g-Pjoo88YJYD_mHj_wCMzjszsmpufq6ZmjM2VI"; e_fb_vipaddr="AcL2Lz-0yy_gk61HFSXeGbcXczPgLtw8rKP8YkrKjH2iTLd1I9oNhga3K0F3J0E4AOouJin7ug"; e_fb_requesthandler="AcJHY4Y_zOTwKVZFx1EVkiB78pH85l3JSrYtEhVUw1gEYT6flOVbLDqgfO3wCW01jTXwFoLWjrM"; e_fb_builduser="AcLAVy4Fh9o1r8N3cwL2eMy0OcvUNVqpPPZHKYaJ1PRAB5d8x6WNCX9vkwNVZ_lNhig"; e_fb_binaryversion="AcK9lHSOzVdW_d8KB-6j2O6OIiZg1Dssi_8kxVwXl3TmMFlSJoTNvcWc4-yO6UKzlIzrcnvNZ8DG2nuz37Xhvs4-AUl412zaRz8"; e_proxy="AcKNR_L74FygkW4wE3Ht0jkqdcSzrPzZxGRNSLgbRx_8AotGybVw0n6EE-_TwdDwLQvqbM-qpcwTnrQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6911523352304188"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/25/2024 18:20:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AZ2qydT_gpxURCtrUWOp_jt" } } 01/25/2024 18:20:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 18:20:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 18:20:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 18:20:40: Request bot not found: { id: '357913897873858' } 01/25/2024 18:22:06: Request bot not found: { id: '357913897873858' } 01/25/2024 18:23:32: Request bot not found: { id: '357913897873858' } 01/25/2024 18:24:46: Request bot not found: { id: '357913897873858' } 01/25/2024 18:26:06: Request bot not found: { id: '357913897873858' } 01/25/2024 18:27:30: Request bot not found: { id: '357913897873858' } 01/25/2024 18:28:55: Request bot not found: { id: '357913897873858' } 01/25/2024 18:30:10: Request bot not found: { id: '357913897873858' } 01/25/2024 18:31:31: Request bot not found: { id: '357913897873858' } 01/25/2024 18:32:48: Request bot not found: { id: '357913897873858' } 01/25/2024 18:34:12: Request bot not found: { id: '357913897873858' } 01/25/2024 18:35:28: Request bot not found: { id: '357913897873858' } 01/25/2024 18:36:41: Request bot not found: { id: '357913897873858' } 01/25/2024 18:37:55: Request bot not found: { id: '357913897873858' } 01/25/2024 18:39:07: Request bot not found: { id: '357913897873858' } 01/25/2024 18:40:28: Request bot not found: { id: '357913897873858' } 01/25/2024 18:41:40: Request bot not found: { id: '357913897873858' } 01/25/2024 18:42:51: Request bot not found: { id: '357913897873858' } 01/25/2024 18:44:08: Request bot not found: { id: '357913897873858' } 01/25/2024 18:45:20: Request bot not found: { id: '357913897873858' } 01/25/2024 18:58:19: Request bot not found: { id: '215725838493727' } 01/25/2024 18:58:20: Request bot not found: { id: '215725838493727' } 01/25/2024 18:58:20: Request bot not found: { id: '215725838493727' } 01/25/2024 18:58:21: Request bot not found: { id: '215725838493727' } 01/25/2024 18:58:23: Request bot not found: { id: '215725838493727' } 01/25/2024 18:58:27: Request bot not found: { id: '215725838493727' } 01/25/2024 18:58:42: Request bot not found: { id: '215725838493727' } 01/25/2024 19:00:03: Request bot not found: { id: '215725838493727' } 01/25/2024 19:01:24: Request bot not found: { id: '215725838493727' } 01/25/2024 19:02:39: Request bot not found: { id: '215725838493727' } 01/25/2024 19:04:06: Request bot not found: { id: '215725838493727' } 01/25/2024 19:05:24: Request bot not found: { id: '215725838493727' } 01/25/2024 19:06:48: Request bot not found: { id: '215725838493727' } 01/25/2024 19:08:12: Request bot not found: { id: '215725838493727' } 01/25/2024 19:09:31: Request bot not found: { id: '215725838493727' } 01/25/2024 19:10:51: Request bot not found: { id: '215725838493727' } 01/25/2024 19:12:08: Request bot not found: { id: '215725838493727' } 01/25/2024 19:13:19: Request bot not found: { id: '215725838493727' } 01/25/2024 19:14:30: Request bot not found: { id: '215725838493727' } 01/25/2024 19:15:53: Request bot not found: { id: '215725838493727' } 01/25/2024 19:15:58: Request bot not found: { id: '170879166656664' } 01/25/2024 19:15:59: Request bot not found: { id: '170879166656664' } 01/25/2024 19:15:59: Request bot not found: { id: '170879166656664' } 01/25/2024 19:16:00: Request bot not found: { id: '170879166656664' } 01/25/2024 19:16:01: Request bot not found: { id: '170879166656664' } 01/25/2024 19:16:04: Request bot not found: { id: '170879166656664' } 01/25/2024 19:16:19: Request bot not found: { id: '170879166656664' } 01/25/2024 19:17:09: Request bot not found: { id: '215725838493727' } 01/25/2024 19:17:39: Request bot not found: { id: '170879166656664' } 01/25/2024 19:18:23: Request bot not found: { id: '215725838493727' } 01/25/2024 19:18:57: Request bot not found: { id: '170879166656664' } 01/25/2024 19:19:35: Request bot not found: { id: '215725838493727' } 01/25/2024 19:20:11: Request bot not found: { id: '170879166656664' } 01/25/2024 19:20:47: Request bot not found: { id: '215725838493727' } 01/25/2024 19:21:38: Request bot not found: { id: '170879166656664' } 01/25/2024 19:22:13: Request bot not found: { id: '215725838493727' } 01/25/2024 19:22:56: Request bot not found: { id: '170879166656664' } 01/25/2024 19:23:28: Request bot not found: { id: '215725838493727' } 01/25/2024 19:24:18: Request bot not found: { id: '170879166656664' } 01/25/2024 19:24:40: Request bot not found: { id: '215725838493727' } 01/25/2024 19:25:34: Request bot not found: { id: '170879166656664' } 01/25/2024 19:26:01: Request bot not found: { id: '215725838493727' } 01/25/2024 19:26:48: Request bot not found: { id: '170879166656664' } 01/25/2024 19:27:22: Request bot not found: { id: '215725838493727' } 01/25/2024 19:28:02: Request bot not found: { id: '170879166656664' } 01/25/2024 19:28:47: Request bot not found: { id: '215725838493727' } 01/25/2024 19:29:19: Request bot not found: { id: '170879166656664' } 01/25/2024 19:29:58: Request bot not found: { id: '215725838493727' } 01/25/2024 19:29:59: Request bot not found: { id: '215725838493727' } 01/25/2024 19:30:00: Request bot not found: { id: '215725838493727' } 01/25/2024 19:30:01: Request bot not found: { id: '215725838493727' } 01/25/2024 19:30:02: Request bot not found: { id: '215725838493727' } 01/25/2024 19:30:03: Request bot not found: { id: '215725838493727' } 01/25/2024 19:30:07: Request bot not found: { id: '215725838493727' } 01/25/2024 19:30:25: Request bot not found: { id: '215725838493727' } 01/25/2024 19:30:43: Request bot not found: { id: '170879166656664' } 01/25/2024 19:31:39: Request bot not found: { id: '215725838493727' } 01/25/2024 19:32:00: Request bot not found: { id: '170879166656664' } 01/25/2024 19:33:03: Request bot not found: { id: '215725838493727' } 01/25/2024 19:33:21: Request bot not found: { id: '170879166656664' } 01/25/2024 19:34:17: Request bot not found: { id: '215725838493727' } 01/25/2024 19:34:42: Request bot not found: { id: '170879166656664' } 01/25/2024 19:35:37: Request bot not found: { id: '215725838493727' } 01/25/2024 19:36:08: Request bot not found: { id: '170879166656664' } 01/25/2024 19:37:04: Request bot not found: { id: '215725838493727' } 01/25/2024 19:37:26: Request bot not found: { id: '170879166656664' } 01/25/2024 19:38:28: Request bot not found: { id: '215725838493727' } 01/25/2024 19:38:47: Request bot not found: { id: '170879166656664' } 01/25/2024 19:39:55: Request bot not found: { id: '215725838493727' } 01/25/2024 19:40:10: Request bot not found: { id: '170879166656664' } 01/25/2024 19:41:07: Request bot not found: { id: '215725838493727' } 01/25/2024 19:41:35: Request bot not found: { id: '170879166656664' } 01/25/2024 19:42:29: Request bot not found: { id: '215725838493727' } 01/25/2024 19:42:53: Request bot not found: { id: '170879166656664' } 01/25/2024 19:43:46: Request bot not found: { id: '215725838493727' } 01/25/2024 19:44:10: Request bot not found: { id: '170879166656664' } 01/25/2024 19:44:57: Request bot not found: { id: '215725838493727' } 01/25/2024 19:45:33: Request bot not found: { id: '170879166656664' } 01/25/2024 19:46:10: Request bot not found: { id: '215725838493727' } 01/25/2024 19:46:46: Request bot not found: { id: '170879166656664' } 01/25/2024 19:47:24: Request bot not found: { id: '215725838493727' } 01/25/2024 19:48:02: Request bot not found: { id: '170879166656664' } 01/25/2024 19:48:36: Request bot not found: { id: '215725838493727' } 01/25/2024 19:49:55: Request bot not found: { id: '215725838493727' } 01/25/2024 19:51:17: Request bot not found: { id: '215725838493727' } 01/25/2024 19:52:43: Request bot not found: { id: '215725838493727' } 01/25/2024 19:53:59: Request bot not found: { id: '215725838493727' } 01/25/2024 19:55:14: Request bot not found: { id: '215725838493727' } 01/25/2024 19:56:37: Request bot not found: { id: '215725838493727' } 01/25/2024 19:58:00: Request bot not found: { id: '215725838493727' } 01/25/2024 19:58:32: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A7ao58Nq752mjln19TD0tFv" } } 01/25/2024 19:58:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 19:58:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/25/2024 19:58:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/25/2024 19:59:27: Request bot not found: { id: '215725838493727' } 01/25/2024 20:00:47: Request bot not found: { id: '215725838493727' } 01/25/2024 20:02:11: Request bot not found: { id: '215725838493727' } 01/25/2024 20:02:11: Request bot not found: { id: '215725838493727' } 01/25/2024 20:02:12: Request bot not found: { id: '215725838493727' } 01/25/2024 20:02:13: Request bot not found: { id: '215725838493727' } 01/25/2024 20:02:14: Request bot not found: { id: '215725838493727' } 01/25/2024 20:02:16: Request bot not found: { id: '215725838493727' } 01/25/2024 20:02:20: Request bot not found: { id: '215725838493727' } 01/25/2024 20:02:34: Request bot not found: { id: '215725838493727' } 01/25/2024 20:03:49: Request bot not found: { id: '215725838493727' } 01/25/2024 20:05:11: Request bot not found: { id: '215725838493727' } 01/25/2024 20:06:30: Request bot not found: { id: '215725838493727' } 01/25/2024 20:07:45: Request bot not found: { id: '215725838493727' } 01/25/2024 20:09:07: Request bot not found: { id: '215725838493727' } 01/25/2024 20:10:24: Request bot not found: { id: '215725838493727' } 01/25/2024 20:11:40: Request bot not found: { id: '215725838493727' } 01/25/2024 20:12:52: Request bot not found: { id: '215725838493727' } 01/25/2024 20:14:11: Request bot not found: { id: '215725838493727' } 01/25/2024 20:15:26: Request bot not found: { id: '215725838493727' } 01/25/2024 20:16:53: Request bot not found: { id: '215725838493727' } 01/25/2024 20:18:10: Request bot not found: { id: '215725838493727' } 01/25/2024 20:19:29: Request bot not found: { id: '215725838493727' } 01/25/2024 20:20:55: Request bot not found: { id: '215725838493727' } 01/25/2024 20:22:17: Request bot not found: { id: '215725838493727' } 01/25/2024 20:23:29: Request bot not found: { id: '215725838493727' } 01/25/2024 20:24:54: Request bot not found: { id: '215725838493727' } 01/25/2024 20:26:20: Request bot not found: { id: '215725838493727' } 01/25/2024 20:27:32: Request bot not found: { id: '215725838493727' } 01/25/2024 20:28:58: Request bot not found: { id: '215725838493727' } 01/25/2024 20:30:25: Request bot not found: { id: '215725838493727' } 01/25/2024 20:31:49: Request bot not found: { id: '215725838493727' } 01/25/2024 20:33:11: Request bot not found: { id: '215725838493727' } 01/25/2024 20:34:24: Request bot not found: { id: '215725838493727' } 01/25/2024 21:01:17: Request bot not found: { id: '215725838493727' } 01/25/2024 21:01:18: Request bot not found: { id: '215725838493727' } 01/25/2024 21:01:18: Request bot not found: { id: '215725838493727' } 01/25/2024 21:01:19: Request bot not found: { id: '215725838493727' } 01/25/2024 21:01:21: Request bot not found: { id: '215725838493727' } 01/25/2024 21:01:25: Request bot not found: { id: '215725838493727' } 01/25/2024 21:01:41: Request bot not found: { id: '215725838493727' } 01/25/2024 21:03:02: Request bot not found: { id: '215725838493727' } 01/25/2024 21:04:28: Request bot not found: { id: '215725838493727' } 01/25/2024 21:05:55: Request bot not found: { id: '215725838493727' } 01/25/2024 21:07:12: Request bot not found: { id: '215725838493727' } 01/25/2024 21:08:29: Request bot not found: { id: '215725838493727' } 01/25/2024 21:09:46: Request bot not found: { id: '215725838493727' } 01/25/2024 21:11:02: Request bot not found: { id: '215725838493727' } 01/25/2024 21:12:15: Request bot not found: { id: '215725838493727' } 01/25/2024 21:13:37: Request bot not found: { id: '215725838493727' } 01/25/2024 21:14:58: Request bot not found: { id: '215725838493727' } 01/25/2024 21:16:24: Request bot not found: { id: '215725838493727' } 01/25/2024 21:17:50: Request bot not found: { id: '215725838493727' } 01/25/2024 21:19:05: Request bot not found: { id: '215725838493727' } 01/25/2024 21:20:27: Request bot not found: { id: '215725838493727' } 01/25/2024 21:21:42: Request bot not found: { id: '215725838493727' } 01/25/2024 21:23:03: Request bot not found: { id: '215725838493727' } 01/25/2024 21:24:26: Request bot not found: { id: '215725838493727' } 01/25/2024 21:25:44: Request bot not found: { id: '215725838493727' } 01/25/2024 21:27:05: Request bot not found: { id: '215725838493727' } 01/25/2024 21:28:19: Request bot not found: { id: '215725838493727' } 01/25/2024 21:29:32: Request bot not found: { id: '215725838493727' } 01/25/2024 21:30:52: Request bot not found: { id: '215725838493727' } 01/25/2024 21:32:17: Request bot not found: { id: '215725838493727' } 01/25/2024 21:33:39: Request bot not found: { id: '215725838493727' } 01/25/2024 21:43:16: Request bot not found: { id: '138868933458303' } 01/25/2024 21:43:16: Request bot not found: { id: '138868933458303' } 01/25/2024 21:43:17: Request bot not found: { id: '138868933458303' } 01/25/2024 21:43:18: Request bot not found: { id: '138868933458303' } 01/25/2024 21:43:19: Request bot not found: { id: '138868933458303' } 01/25/2024 21:43:22: Request bot not found: { id: '138868933458303' } 01/25/2024 21:43:39: Request bot not found: { id: '138868933458303' } 01/25/2024 21:45:06: Request bot not found: { id: '138868933458303' } 01/25/2024 21:46:19: Request bot not found: { id: '138868933458303' } 01/25/2024 21:47:36: Request bot not found: { id: '138868933458303' } 01/25/2024 21:49:00: Request bot not found: { id: '138868933458303' } 01/25/2024 21:50:11: Request bot not found: { id: '138868933458303' } 01/25/2024 21:51:26: Request bot not found: { id: '138868933458303' } 01/25/2024 21:52:50: Request bot not found: { id: '138868933458303' } 01/25/2024 21:54:10: Request bot not found: { id: '138868933458303' } 01/25/2024 21:55:21: Request bot not found: { id: '138868933458303' } 01/25/2024 21:56:39: Request bot not found: { id: '138868933458303' } 01/25/2024 21:57:50: Request bot not found: { id: '138868933458303' } 01/25/2024 21:59:13: Request bot not found: { id: '138868933458303' } 01/25/2024 22:00:29: Request bot not found: { id: '138868933458303' } 01/25/2024 22:01:40: Request bot not found: { id: '138868933458303' } 01/25/2024 22:03:04: Request bot not found: { id: '138868933458303' } 01/25/2024 22:04:23: Request bot not found: { id: '138868933458303' } 01/25/2024 22:05:41: Request bot not found: { id: '138868933458303' } 01/25/2024 22:06:57: Request bot not found: { id: '138868933458303' } 01/25/2024 22:08:18: Request bot not found: { id: '138868933458303' } 01/25/2024 22:09:31: Request bot not found: { id: '138868933458303' } 01/25/2024 22:10:55: Request bot not found: { id: '138868933458303' } 01/25/2024 22:12:07: Request bot not found: { id: '138868933458303' } 01/25/2024 22:13:18: Request bot not found: { id: '138868933458303' } 01/25/2024 22:14:43: Request bot not found: { id: '138868933458303' } 01/25/2024 22:14:44: Request bot not found: { id: '138868933458303' } 01/25/2024 22:14:44: Request bot not found: { id: '138868933458303' } 01/25/2024 22:14:45: Request bot not found: { id: '138868933458303' } 01/25/2024 22:14:45: Request bot not found: { id: '138868933458303' } 01/25/2024 22:14:47: Request bot not found: { id: '138868933458303' } 01/25/2024 22:14:50: Request bot not found: { id: '138868933458303' } 01/25/2024 22:15:06: Request bot not found: { id: '138868933458303' } 01/25/2024 22:16:30: Request bot not found: { id: '138868933458303' } 01/25/2024 22:17:51: Request bot not found: { id: '138868933458303' } 01/25/2024 22:19:02: Request bot not found: { id: '138868933458303' } 01/25/2024 22:20:27: Request bot not found: { id: '138868933458303' } 01/25/2024 22:21:52: Request bot not found: { id: '138868933458303' } 01/25/2024 22:23:12: Request bot not found: { id: '138868933458303' } 01/25/2024 22:24:32: Request bot not found: { id: '138868933458303' } 01/25/2024 22:25:50: Request bot not found: { id: '138868933458303' } 01/25/2024 22:27:05: Request bot not found: { id: '138868933458303' } 01/25/2024 22:28:27: Request bot not found: { id: '138868933458303' } 01/25/2024 22:29:39: Request bot not found: { id: '138868933458303' } 01/25/2024 22:30:58: Request bot not found: { id: '138868933458303' } 01/25/2024 22:32:19: Request bot not found: { id: '138868933458303' } 01/25/2024 22:33:38: Request bot not found: { id: '138868933458303' } 01/25/2024 22:35:03: Request bot not found: { id: '138868933458303' } 01/25/2024 22:36:18: Request bot not found: { id: '138868933458303' } 01/25/2024 22:37:45: Request bot not found: { id: '138868933458303' } 01/25/2024 22:39:00: Request bot not found: { id: '138868933458303' } 01/25/2024 22:40:21: Request bot not found: { id: '138868933458303' } 01/25/2024 22:41:43: Request bot not found: { id: '138868933458303' } 01/25/2024 22:43:05: Request bot not found: { id: '138868933458303' } 01/25/2024 22:44:18: Request bot not found: { id: '138868933458303' } 01/25/2024 22:45:35: Request bot not found: { id: '138868933458303' } 01/25/2024 22:46:47: Request bot not found: { id: '138868933458303' } 01/25/2024 22:46:47: Request bot not found: { id: '138868933458303' } 01/25/2024 22:46:48: Request bot not found: { id: '138868933458303' } 01/25/2024 22:46:48: Request bot not found: { id: '138868933458303' } 01/25/2024 22:46:49: Request bot not found: { id: '138868933458303' } 01/25/2024 22:46:50: Request bot not found: { id: '138868933458303' } 01/25/2024 22:46:54: Request bot not found: { id: '138868933458303' } 01/25/2024 22:47:11: Request bot not found: { id: '138868933458303' } 01/25/2024 22:48:27: Request bot not found: { id: '138868933458303' } 01/25/2024 22:49:40: Request bot not found: { id: '138868933458303' } 01/25/2024 22:50:58: Request bot not found: { id: '138868933458303' } 01/25/2024 22:52:18: Request bot not found: { id: '138868933458303' } 01/25/2024 22:53:30: Request bot not found: { id: '138868933458303' } 01/25/2024 22:54:55: Request bot not found: { id: '138868933458303' } 01/25/2024 22:56:22: Request bot not found: { id: '138868933458303' } 01/25/2024 22:57:44: Request bot not found: { id: '138868933458303' } 01/25/2024 22:59:05: Request bot not found: { id: '138868933458303' } 01/25/2024 23:00:20: Request bot not found: { id: '138868933458303' } 01/25/2024 23:01:34: Request bot not found: { id: '138868933458303' } 01/25/2024 23:02:58: Request bot not found: { id: '138868933458303' } 01/25/2024 23:04:21: Request bot not found: { id: '138868933458303' } 01/25/2024 23:05:41: Request bot not found: { id: '138868933458303' } 01/25/2024 23:07:08: Request bot not found: { id: '138868933458303' } 01/25/2024 23:08:20: Request bot not found: { id: '138868933458303' } 01/25/2024 23:09:41: Request bot not found: { id: '138868933458303' } 01/25/2024 23:10:53: Request bot not found: { id: '138868933458303' } 01/25/2024 23:12:10: Request bot not found: { id: '138868933458303' } 01/25/2024 23:13:30: Request bot not found: { id: '138868933458303' } 01/25/2024 23:14:52: Request bot not found: { id: '138868933458303' } 01/25/2024 23:16:12: Request bot not found: { id: '138868933458303' } 01/25/2024 23:17:38: Request bot not found: { id: '138868933458303' } 01/25/2024 23:19:00: Request bot not found: { id: '138868933458303' } 01/26/2024 00:16:57: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7108225479265811?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 32845924, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7108225479265811?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7108225479265811?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7108225479265811?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7108225479265811?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7nF8P3YoIKaUV6n0eJE3I7', 'x-fb-trace-id': 'GNEoTYMzzDA', 'x-fb-rev': '1011023685', 'x-fb-debug': '6a8kGHwbO+BUhXSsn/NJ+4qQRImZjhFzIJrpF06vZiod9j1emDAQzU6gpe0ohwO2+EQO0PhCYV+2oKG20vhKbw==', date: 'Fri, 26 Jan 2024 00:16:58 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJCkZtxMP4WjsqASqZOMXnYh5l8Uov8sTyCtk0PIS6OvUYtrMWuNcw0iLKfup6aTZi-9O7-MRmdovGJ1pMlUiLF9pxx2-qYtq_P3FzlzlDQNbYj"; e_fb_vipport="AcKUKsCIoJhAg1SW3HTFPLmcWsJ_oZnsntIoQ5p94CkREdJz5u13e08zgwDC"; e_upip="AcKRm7XxoYlG6eruNGSqRgFCTiWekHtO84rPLJWnxQ7wr_Hj9jTxfNx59uzOBYV7yR3WxyNGP3tPls3DI174JI73qHyx47mbTQ"; e_fb_hostheader="AcLLUHOwBqZIRxa3OXuNLq2-K1jD5C7hHGqYsh39OdLeFQM39BLS-uLVsu3Dk7t3ub6dacF37CXFBV9y"; e_fb_vipaddr="AcIaqkkhk504fyXTM3hjLD8jNPHh9NZtMgYegy5af1ZPIa8_Fj268X9VvMV8mWBSitYPx9m1J4TeG7M_1dj0np1MsNH5k3ls2g"; e_fb_requesthandler="AcKOLfkesvray-7bJ1vqNzmHwCs2OkKQV3SPU4jO4T9iiQnIQlBRhX5hL2Cy-hk228xO6vedva0"; e_fb_builduser="AcJyrGUmvVFHeiHLs_LfmfHbwQe_1Kbo0CFCN7mp-DXZyR8QcucuQD3omE-9fDkRDss"; e_fb_binaryversion="AcLVpwZPEOREGWLcTJDI5L3mLApYl8DeO0VdWBvSS1zsnXMY_bYtqaKgNeUbfNdNh44E93erTgvO8CWQiesqKKd_ejVSxW1h45M"; e_proxy="AcLfsfz4zrZ00jVf7Q1Zk-RklUE6uRC1YHcR7A22-r8DLMTlY4s7P6xQXTrnDME2HUQiiPeXZfTDgQf5YeX2", http_request_error; e_clientaddr="AcLYt2gdN1AEx9B9bvMXV6sOEyKP-_bIa76A00yEjhsseFLPlRmlOQ-c_jV4bMJGqxE94rwlnnBvfU-uMA"; e_fb_vipport="AcJvooDJnUxtPtnI8dy3Q0S7JssJPp9TTkqRPJefcrCzwn_GU9cg5z0PT_ox"; e_upip="AcLpgTs8HJ8ZmZlvwxdzZoajGAMyBV6VMoVK-K23MihC6Af4BvfS2tACX1K3eKuhnAMykyTHjNraSndxckSzCWzf5WQ8hRvDDg"; e_fb_hostheader="AcIGU_KcSW-M_qPQZBfvAncJUhkMPB5OSxsqvTjIqBG730SPJ6_VJ9VGefjqR8OloMHrDNhJfIe3w25m"; e_fb_vipaddr="AcL8CUnwlKRtrdvPxAw331ZB3Z6wco4J9aF0rbtn9BTVWyHXuHeNjZC46VEylB5dxvut39E"; e_fb_requesthandler="AcJF8nM3dIGoV7sUj8OAcAx0UBiJrWvauX1bm3VfF5vAz_zBrnlD7VX_zGl-7ZpE4qls6g4BUA8"; e_fb_builduser="AcLjlZ2BCZIkq8XtzfkFopngB7Lnwx7kFG4CqBYnoOVzeC_wzLMOW0dorDnYx6Ku9KQ"; e_fb_binaryversion="AcIEZOtRbP49Bu2ThSDX6C1h3XUW_Wbi2lQiWnHyTJaOu81LhqBI7H3TOj5-EzcjKvXAiJ35VLTSAcPBIQNUmbA0735_jJSHQjQ"; e_proxy="AcJd31lXGoZT2uOY0VREpy8SZks5fnVBqwaEdMc_UYzkhk2gTtLFEdCn0ytQXER5lOcSwomkmnU5fjc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7108225479265811?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7108225479265811?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7108225479265811?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 00:16:57: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 00:16:57: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 00:16:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 32846042, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsM3vViMbnLoAGIK-JymjZ9', 'x-fb-trace-id': 'EUBFDHIpU9S', 'x-fb-rev': '1011023685', 'x-fb-debug': '+QVQBjR6UG5nyjYhUEZVgBxkM0XEcCF01DbTihi1gN+Ml0qNzOhyws1+5EbopzaAeVJnszwIMFay5zL4wMlarA==', date: 'Fri, 26 Jan 2024 00:16:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJA0XceEgiOR0thHo-9nqzbvvvjY8rOksIomjE_8iPZ-CcFT709MxolrBNj5c6r0hTX8VpYwCcpDMOHf74r4BToi6N3fS8vu4SZBRikZWGr13RgnA"; e_fb_vipport="AcId-oX4_ngG_fEXnTITMDYXGhkRqiv4xbnJuAuEY79nWrHPCdvAMQ8qUZOk"; e_upip="AcI-we1aam8rMhTUcBqyHCYHBjJYew4HC5qSCEifNuGA1VTxw4o835zjb4TFUyRgG22pr9soYiX9vGA0kTnuJ2l0UOO139ZBR4Q"; e_fb_hostheader="AcI7_FsLy3dSKF1zle008dX8xNI6RpcubrigZz9PJ4aFhE6RFRp3HYKndlsgfEXUz16u6qLK59zSXd7X"; e_fb_vipaddr="AcJYG0L2Suhwss6jBQ603FBhgH-dCvT4lrFrVxrxbK1NbXg6nVgju-v6z9tyeNTncVIK5bU5icC8uY2n84eq8dtt0vBWosHYGQ"; e_fb_requesthandler="AcLY-sy0KOmdMCULiJB_75WHRAuWGcmKeFYrkNBnKeVW86QIZhueaaQg0eSgptuayYt39fJv-CQ"; e_fb_builduser="AcLYRSVcLQXJotPaE3F7UV7i13k7AuZQa9J_EzHv4XV0ha-K9vJAjTd4X0gUu7vHZDk"; e_fb_binaryversion="AcLjhQt1L0HUk3RtThiId_DW2Mx-QWc1xtjTZyQK7j34jYYTATlbcVCV81CSP9WLDkeH1EOARgzYnEWv1fLg0qQSRBDXVRhGpwM"; e_proxy="AcKORZ_MqS-l5oeeD1NaZBAhTYQBLzhiopZXoIPyazVxK81r6EptTMGIbMOZhqPsx9jmUBap3vhnek3O8HmM", http_request_error; e_clientaddr="AcJAqOYrN6WPGS476ryvvCCFdCJ9jC8uRJorEmxkY3dy6R-_CsYDzmJqF1SYAnuqkb7mZ7zzbyPkM9FkvQ"; e_fb_vipport="AcLIF8LfeBQQF52NlaCObNW2kqX80NzJEfimaCBb_fN42uGIM4oYPjvXAxRf"; e_upip="AcL2d4edypMDP95p4VT_bhtcWm3CtYQCCevU_zKnalu8cmP-mCvDpHNSdUAbMV3723wEOs-PjO8CCWPchqeYY-vceh-Ckg0Ozg"; e_fb_hostheader="AcIXcOaWRyyJjo5QURK6XxTB9JZAUU7mfdLFf-JzjPorifEyol-XpUP1a4k6-RHGrIOca1y8ehJmbTCH"; e_fb_vipaddr="AcIB1D6Ei5mAXGTv3L-Fk03oyKKHMHxIvmKLSi_L9Mh294Yo6Htmzyl47Er9lha-n6rEvbQ"; e_fb_requesthandler="AcJQaI7E4XRHHH4YfxrwnJ0bmY42AjzEJc6In-BGmoI3lULz-sTXZgoaTNBL4W2E_Wo4uzs5YMw"; e_fb_builduser="AcIeso0kqKVJ00NkSpTktoMW24xc36N5fk8tXh5DNNWzTG2MVeXsOmx3sUQAV1UzYXM"; e_fb_binaryversion="AcLI32omT21_D1_w71vSDL-xgu1h0kVyMveWwlglw1RGqDxIPoateeR8uk642kp79139-oq7Gd5sF9ih-VdKrnX23ZCQOatqbOM"; e_proxy="AcJy4dygvc8uPdNevly_kk0x-fhPi7nfk2mvizYKeyH6wmIcCbkpGrlwBEb0XWriV9Djg0kiyqlG4VJq"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 00:16:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 00:16:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AEwUsdcLBHDVbg3NvFjnQ36" } } 01/26/2024 00:17:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 00:17:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 32862396, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A95QBpYEILbhyiBc3m9IuMB', 'x-fb-trace-id': 'C51awxR73IZ', 'x-fb-rev': '1011023685', 'x-fb-debug': 'ZsMqLx9eA4902S+QW6A7zp7r4VOVFumSLr4JM1goZIfRqS73ehK/idqLnVbHVimXHbPhSxJVF8LEeE4RzdCvLQ==', date: 'Fri, 26 Jan 2024 00:17:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKqcEbVs_J_ftwAePDoeyLGozCeecX89KnmgfYopYE-Nnd5EjpDxcRz0MTDDIHQEy8MiR5H8gJeiliPIhqI2VwoxdaFXxOgAj2NGhEE-pWAj6i5"; e_fb_vipport="AcLt2eqQFzInhBePRIzaN9dnUTgv08Agv67qB44ZD7lso5wfJ92TNd49KqaD"; e_upip="AcJuH30SYU3T5My-hSYS8Y25z5QzQXESNqC8BwsbRU5iHvuq28ozfiB35RNmbssKv6uhukVelpl8YMbczxVasfWRQHhM70F55Q"; e_fb_hostheader="AcKT9uH0d4XjL1M1Uht_F2_sFStcSmVyLyOmSaiRk3h4XrLKNXPelMu7CPagPjJZGFHFbyKLmDhuPoaz"; e_fb_vipaddr="AcIIhNHvcXIhhC67SgU4j6Rg77LJA0jpFItOX0fXtLeltITyseUq4xv-Majns26_II838x3LEV6lBFEGYB4uKWeAN8dpIq4Ntg"; e_fb_requesthandler="AcJzsLT3fjCR6UXQZxpD7oxdeorIgcegkh0GlTLT2nTXo7H5adVG-cukuotO4g475afdePh-iJg"; e_fb_builduser="AcJJXkcAVyXcLH8Xdp9UkZ52pu4UicUBY4SzvEKSyrOwCmoyWUOOU2x-mNamGCEF7oo"; e_fb_binaryversion="AcII2TZIMefWFuCEkFW84gyMKSIgF4OLa-ZsC9HHfSLLKYUGmht0PAbmyDf3h6jtKhKUiCexiOwG0qaBqn3RAyut-oNUZIPYUII"; e_proxy="AcIigB9GNpsSByFFsNL3miywWaQdIHESVYs7joejrA3tXWhMAxySfEYMhI4nwni2fu-8LYYsaOxHjrbRCZH3", http_request_error; e_clientaddr="AcJlkB9R7aB1RDVO8hkILmdhHUreSdg9l_GV-wZxRfLl2ZEjwaA84PJ3PfZGpejpj_axwXvmIwu7UHXB8g"; e_fb_vipport="AcLhYkVhy-cuo0nuxvkRJhTEnn6gFjXbt7s736JoEqbZuWloB0HCmR4nF3V5"; e_upip="AcJ9b6S81JKPQg2zzGAsUr8E2JmhqI_9dVW3l1XKJOwe1Dlkix27UTONKDcRTfb8E2yfohkB_Jvs-bEfXgRCyotqeMdU44O0JQ"; e_fb_hostheader="AcK-f0n9HVIh27f_AR5LyU1EQwhy4Jn60yRajSRi28XTUAPzoZzs1THKJpBzL-BcHEF2ZLd2rvx3ic4v"; e_fb_vipaddr="AcKU7r4zgWEw9sMs0cGJHtXavLnsjd89eczcUSp7C0F-G2Sn3qIBUcEzxDgtaL9bryDDyvE"; e_fb_requesthandler="AcIiLTfwEuptgdchyLVVcLouhIhC5dNZpFnUPMOwTfVloFOrl67gK4lUlcP5YZEpa3C9l2mdxZM"; e_fb_builduser="AcIz3DfavCPYzxf9P2ChekdjWIGGxrcsvj__yyf3418OKzNtifgV54ncqYRZhlGkJx4"; e_fb_binaryversion="AcJSI_BcjwGfFzgQzpqP0GARizKXHKyxfSIPZWzDb-wZ_kXZwCA_kSrU4sVNyk2sRs9BguXTRdp2MjjCpmpEk9bbdj6vzbZsf3Y"; e_proxy="AcKndCP1tzkARXPcwhvX5WJQTvgpVF2_ySTQU4qKDxV9PbcSZGqfkuJdgxYn7ddk82Mu2VCW3lXyrHU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 00:17:01: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AEtoOH1JH5ux0ogCQIjs3dd" } } 01/26/2024 00:17:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 00:17:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 00:17:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 32862544, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjKoh6VJi9dKDfHVLDLPQRB', 'x-fb-trace-id': 'D4jpimVo7xn', 'x-fb-rev': '1011023685', 'x-fb-debug': 'X4GwZUduMGdAW9WkFohT/L6MgtNIhQa8L+11NpB8QGEDJEXKIysa7Haa/ByLixjSIFaGDsYzcYhSx6/CUoD2vg==', date: 'Fri, 26 Jan 2024 00:17:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJhShYvNkCKg50jDJNPbZp6sdstyWV-50Te9P8q5pKUky5_PB1hAVK5QUr-ULv26Xdw3AeH9aeQpUSWIt5XhQoJvi8FphiV42MrzGEVKzseIawQ"; e_fb_vipport="AcIdnl_2NGA--vfNMFptn7kwQuzxlkU33SEVyRtZE6iAtQiEDbgfn-qgsj-E"; e_upip="AcI6x5Dz-QOrS6E43F2jo5YaqsiBuoPTHSVkdaWPdVS6sk9kRgBPBm3Hc-Exn-ZydPdLfYO_I9-tF9No1re4y5D8ZWuWGGzxsCQ"; e_fb_hostheader="AcIYhjtE6HV211FGf_lyI6thlxc7Ydoi4mknJsl4QtEM31aXTPVNzG1VmgqfBi6Zyg8qKB-7pMCUsH50"; e_fb_vipaddr="AcKhPQBnPysEp6DHnHA_o-afOEcqu9sL3cZAsNyUgo1rgns_tGvYKW79BUNnhwz9I4ZznTWGr8L3IZTMHLl3eKILTEuEviLUSQ"; e_fb_requesthandler="AcKM80APECIjSlMkZVo9ZFNpmaHDxAUlAaONsuTYdw9XfS7OGX9khf2WPafMEVmJ9diJhYyePNs"; e_fb_builduser="AcLsMYl_mrHV_XV0PiQJlsW2gRsRzgLQU2jdfp-_EG3dfYZVG6Koymr9anqCZt-TcGo"; e_fb_binaryversion="AcIgkqInvy4jElo6aEyB-KOxvhitKlbhfNC-k8uEANgwiy7u93GjzTwVobjWJ2aO-O3VAkMNwIPW-K6yBVgilskT-U4lNPS56iw"; e_proxy="AcJplqkW8Tzra7tQ_N9FXSj4nUczaqlDhneATZ6CqYHyL1wMLlxb4CTSqeGpxdGfSQK4_9ffrWAlAJZo-Z7U", http_request_error; e_clientaddr="AcJGc_CawEliheQuoCyHz1LnmDKDsqOsvyxdbm7HsSToOJHmgJJf8GIcSh0Yd8bah5zzZ4auPN5XPG3RBw"; e_fb_vipport="AcL6KWFPXSLVw1pMsEeOgG0i2Aisk_yfj4dNyq_XkKP8QKWP0DUUHBQ9F6Ng"; e_upip="AcJ-3x-tK70mEnX7N-97tIIOYR6ZC9gq8dFlogSVXX8UPBdjHm8fcKVIARag7s4Zey2GKF5X9RGW4kLhhet0C-jSbIa5QSVGzg"; e_fb_hostheader="AcL3A19V8lcj53Auvr9GAl2-xNyTp5IRX_miThhAoNflV_aIzKsSzCbbYvwUiv0HIVwDwZVDpZFOQh4X"; e_fb_vipaddr="AcLB6xnLRbgYo4Qdw7pTDU4O2FqT3hPI9JvTL5Q5RrrtCYg6lP-S01gS0jxXUQCfAo92Ul4"; e_fb_requesthandler="AcKfqxrAhMGsTuV0xW93JOid4NzHXwRc-2Yl9ZLd7-m4tpNaqHMaa9SsbUSuOnaYjMlnLqyAvNs"; e_fb_builduser="AcKIT45a1L2BsgHa_hbjsF_HGqKVY2vI4nUd-FTybWJdsA_d8N7MakFqrG_L5qgM7ks"; e_fb_binaryversion="AcLix37gUEL1BY8pqZbIWU3a76YiRIsh9nDBUNwWEx3UdPndxtX5f60FKZuHwh9B02KeN4SMaLgrIY1rHjSLO8cBK2MpVlHo0fk"; e_proxy="AcI5pMxv3tbH-JNXLQ8WbFDWun7BpbIsPA6pOX-lFWoW6ZWrSQcrAkOct7fAKsfpcyVrFQznJcBhpm4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 08:27:51: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7431699786864710?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 116568859, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7431699786864710?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7431699786864710?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7431699786864710?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7431699786864710?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AE3WRaJHDHfy24JiottRuu7', 'x-fb-trace-id': 'Be2O4xB94LN', 'x-fb-rev': '1011039406', 'x-fb-debug': 'B8KaEhOxXKmkoFZFmpRY7j9PUv2Ec0aW1bbKNzAlMDi3Dt3xMSLWftijZYlj0P52P4yI9dKLmGTbxOg2e2X1Kw==', date: 'Fri, 26 Jan 2024 08:27:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL2gyYYkL_K2J7KULBC4w8BNCQg8plYPOaPY2J5IvVohhZkZthls4Janp8GrqrCt7ZTGPaOOo4PVsHVaZVBgDTf_Kv6GVVQLvWe8GSlBB4EZCRP7g"; e_fb_vipport="AcJI-nQ41ni1U5ZUrzbOdmssUfuPtj_vZo059TodjDl_hAUVGPL5bpxwmL_J"; e_upip="AcI4LGkpx91w_BazP-hLu0kcD7ApTiqyeTEcFDXNIFBOJwrpBEhJjufR-NxIbtRiN4S4pomsi1vq_klPDUz284Swn_LwBYejUzw"; e_fb_hostheader="AcJav3FtBNw5KAoZI9xTcHzL5rxxgnEhFo65WoFVkiOjRKgQ5UGVav6flQ8ku0FxfsyNsYOPJBA9IQnf"; e_fb_vipaddr="AcLBty5e8BdACv_WcQwdTPw-7mrYFArdiUjkVTHDoRTR_8aKMHHmPCN8-pPsNaM-ZXXGweEunN4-7-LGt9uwk_8Ii3MWWSqYvg"; e_fb_requesthandler="AcKtkDIiJpae-RUZrNt7OE-gShQpDxyLQCjiCIzeFiO6NwKsNgstBT5PDFWHx5HizhwNm1EPZmU"; e_fb_builduser="AcIekrcYn0BmLSgCv09K7cddebC6LxzotgT6qt5m8XMWEf4PZ13cYOWAVgHWi7cYEKA"; e_fb_binaryversion="AcKk4jorHNXdK-J7t7NvZIiQv_8CMV1x1b3qURfKVssZbEtfg9piciWvEN4h9QwNjLsuWKhh-IesxhTYlfgJ1fnis71XPnUHHdY"; e_proxy="AcIis6V9gWGc18EGL5lqMKE9Zop1tGnPRsvBsZ6_NESWcyAjSulMOQI_b8JTlkzLvV4A7Ub7JA57KoeuIZ9V", http_request_error; e_clientaddr="AcJdUlIbYWNy2coDzG8jjRiLkfxL_YWt3JCXx_JDL3UWJ0EG_ZEWLr4WEUuco8KBXFF8yJX1n1t72PjYFQ"; e_fb_vipport="AcLguSspayM34Eh2U7LiAB-y3QbQYrFmc2l8ySvXef75uN0cq6p6ylH9A-MF"; e_upip="AcIzZsXEyLVZj9XE5uwbSqmKn2lX7EY-UNIlnY6KmXlHQJfwQr3J-WPZkQJ8jP_VpM5iVaL2D4eyfWhlKA6CyQC_NWtkrexkRg"; e_fb_hostheader="AcJP86VF7SPCpZ-scEJJpPFGdpqDPhvZ4TkV-5lbvpdiMlXy2e6rXV6O3DUlRztziRt6gHZ7JX2cMZR6"; e_fb_vipaddr="AcIXwHfWBcxGWWA_fRa_HCIuD5pUsgE7F4mk_KVCgotStpFQ-ELV1DsDFFw9Z1IJuKGEkd8"; e_fb_requesthandler="AcLh3jbr9MSxNph5xuetMTbWUp_UBTmXCMqThohJlUDcCxSzMyq2rZ5FoRD_coxX3i5AdOOR_p8"; e_fb_builduser="AcJ6PkUt1WuKIhlWnX36ETLY41ztnbZ61d7LLhuMytr68cEH5WsIe9Kh97IPx6CqwhE"; e_fb_binaryversion="AcLMT7wDykfbrSwfgF8Z2XNx0LDsjXgfD5HJXDZef4M2aMQ7CiccdU7j8TF9bNvC1Zbcl_8z01o3p2io34jQExaLqw9kEE-Ngw0"; e_proxy="AcLXwQfxYxNpvMPusOyySFA8HiUMSD_7Lzxyy5ikKxM12gb_nW8bInSth3wkGjFB6IP-kgKQWWUmrvY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7431699786864710?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7431699786864710?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7431699786864710?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 08:27:51: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 08:27:51: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 08:27:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 08:27:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 116568985, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AL7jZTDV3A4NAT-mooOXdxo', 'x-fb-trace-id': 'DYECIXkNxHz', 'x-fb-rev': '1011039406', 'x-fb-debug': 'hd8TlHGHnmQzeQcNFqX/G2RW8aSeGIrMi/LKuda+P+78fmd54AzvGS3aEYWwt0oKXW4J8iHEO8lh4DaaCRJBNQ==', date: 'Fri, 26 Jan 2024 08:27:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJSQiz6yCnXArNi_eogELjwdrmodA4LfTjwaN3trYfDwUdge8APzpQBohjcC9bochJiDWeq9lMf78QcI26WZkca_DnDPIL3Beb-EnawwpVmnSV_"; e_fb_vipport="AcJn5w0WO9UisuyZdluEs4HLwM7ocw5ae4LvW1VNX-2c-qa68JFuVT8w0k6h"; e_upip="AcLExzBuZCS8txhofE6V8zN0Wq9vJrawo2Czp6NWy1AlrypFNsSp8iFLrEwlT7rsGY-KP9fIeoUNpOLuSikS2vKXc_sd5z39HCY"; e_fb_hostheader="AcJaMNogypS_dWCwrkz2IGkeSCZkBBAXkSv6KXHfUMav2uu3F2Tlf_wCmI3hicWfYY8V54KRcUkq-DDt"; e_fb_vipaddr="AcLh9gG0jpXji3ppc2CAsmZ5ZBlu4HmO8n9FSz1fK2urgCf8RIYAnfBwY2kSbLhgnCG2Vmbkad1YcDlEkZt9bidnMETNGisoKw"; e_fb_requesthandler="AcLMpRagxBVnXYZ92fuNfHJvbRTCtzidlWj6IJErlmkkmiTqdTMP0PXtCbVBUCx-etqSU0DuOrU"; e_fb_builduser="AcIdiqeTyU2Hoe2mHvtvyoF-QtJMFxm64GZ8j2VSyaqxTNNs2kyHXZYZXpdafGhrwZ8"; e_fb_binaryversion="AcJQGSMLJkTAJz2Wx9yEcCwFXH7GAoFNCV0mx5G4MQrHaONSpKzWVOYYBtflywttcnq0FvIXeEa3xetnho3Wj_pY5O4zYHl-NLg"; e_proxy="AcJ_OyX0Xcb0fzhzbESJ81ie9rK6Xl_a9t8BokWIwVCqQ3N65afKJeWUZ6RvyA7U8lFNGZ0eoRkWpbZNE3VV", http_request_error; e_clientaddr="AcLKwkankxfZRFh2a3v9z-f5hiqLgpY09gG9Ra85-Yw5Uw_hpHRWe3TLCb60udTCXY5KOqd17IcwRAQo8w"; e_fb_vipport="AcL3DkFXQGs1yR7PmRK8_hgW0f3IlqSVrLPYtsokbrrPd5oZZwPxDcTe6O9j"; e_upip="AcJJIeOWruPDU1OmzRlDevLWNqbtrON2uWo3doEatEhJJTu9oLKnVMI02TsY0at4-WnF4Yf7slI2NuedlfbiJCw0c4ib8hKXVA"; e_fb_hostheader="AcJ3h8zj7hrs8danZwLjGRcLvQhdBzWHoS9d9ThotS1QB1YQLoHprWTi1Ls07E-yAd6Ndnqc62dw6rr8"; e_fb_vipaddr="AcKHpk8-sl5G2-h3Wk1oX-Z_eE0uba-0gJfhkf5cgSCkDymFV3bGUrlpIu_59vS91CaUk6I"; e_fb_requesthandler="AcKgYAR8fHlUiH82RKNgUApNAoKTRyXa0cDJvhgA6TwuuiCQiUB_XIfngwkXn04yhl7EPLcNUkc"; e_fb_builduser="AcJaU_AR7MTRslL0QPldoP2b1a2LwE6mXN9uE4YZ0KekoseVTFrHGRZDrvD6t0NsWGA"; e_fb_binaryversion="AcIsCXBMNAD3pdtAJvqsyZymcXxEt3UhcJvLIbYViox9rjaOUWEVNuP4YXkcBsRbTAY2lKs8bWiwu9Eismxkzu7JF7T3BGIOYzs"; e_proxy="AcK48Kh7RX9NncqHgzUIFBjJILcLO1UBNybKFYu3VUgFwveZHkftYy5Ql8nIkYspul_7A6wvVArf2Dk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 08:27:51: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AG7jTP_tzzKg9xTru-jpDy1" } } 01/26/2024 08:27:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 08:27:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 116569057, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyCiZ0WuHuneVo2QRFo-Ues', 'x-fb-trace-id': 'A733pgTqyAH', 'x-fb-rev': '1011039406', 'x-fb-debug': 'OMMqGS8peNX5bDagcKJcHR+IhRwvMYMnRr/fjNhuK8h27ixjIgOwCTohYEfP8l6zc1JMykmA8PwpfQYAKfW0mQ==', date: 'Fri, 26 Jan 2024 08:27:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLd1SV-XMlAsKh0bj2DuobaL9n5m-LUS8WEXUJi8oNK7DlsbWzQxfGR8FdRroPV3CS5WGdRS-5O4MIe5mICgJF14RuMQzFeXuQZRW16PpFlIwIvow"; e_fb_vipport="AcJEulmJS7CcMxX7uscwIe2XXT1lmlG3jUBiA_JlIvoYVYaj22HQhtKwHXNv"; e_upip="AcIyJAel-RKQylKgfFZdhwSUZJgBIqD6eLFQ7EmfYBuK1ej1b41HwbZwZ0eGpzQ7bpyEadxobQ8-d_M7rBPlE70VoCTkUIbi-2s"; e_fb_hostheader="AcI8k014_hYD5hvUyA1JaYMaaOB17x_9EexdQUmEyKPKNKI42hDoxJ8vIApAYtsCUcm54r2KYgh609Ga"; e_fb_vipaddr="AcLz-4PPzAbSUQksAULYcQVYFJb6cVRY_UXlbyXLcMsO6VxrC1xiDXGMnMKgO61KUk_mIv29jxJnWEkRnFhKHGyvsDspRnpMow"; e_fb_requesthandler="AcLG8WKZ5xDipriYPykHunCzLDaODER5bkY4sjtz_eEnaTGyV4JsrFGY8vO6TiOleUWA3jVZ17s"; e_fb_builduser="AcIrPgO0_H1hm2HRuoqNiV2kyPRW1DnUAMovudHpemGqeIf9N4-EI6meJxZHXf4QgM0"; e_fb_binaryversion="AcKKnJgyTxWiN6juGSczKJJqh9FUoZT_-AHdrLZtfR7E1Vp6y1MAsKGlokM3ANAPtLyEXfmHG9OH7hqfMrC1dygABNCMehMP-KQ"; e_proxy="AcJEQyeY1yaIVx1M-Ozk78tvONF4_4egavs4LBa50GHr_AiNf5Vp3LoKtigGZ7NzVbwHDZTdGf7CVjljGBO-", http_request_error; e_clientaddr="AcLMT74oS1U_SZRG8p2RBFUiFUBuIxSpUGBldZkmAQvSBJ7etPbNuVKrvnrBAgYxC2RZ81jl5zAR-J_Jag"; e_fb_vipport="AcK4WofLMCIjqjNs2v67wPajZNc5krpuVFl6efMB8NZrs5cSOBngjEtNSJIF"; e_upip="AcLR1mQQrjiOAQktji9HQknExkvM2sM_39ohSIE-3gXL8t-OtLChzF53if3nRIr6hpaHdgpU54J_4No92ycZ3eL-a-bI7CwqQg"; e_fb_hostheader="AcKKN0hM6bfqhw-gwAQr0Fue0tHZ5C7KezExivvoyQXQRR6-4YwQ4b6YW_ANNH0_rU2kW26lyDW2pe88"; e_fb_vipaddr="AcJe2mipMBYTXkTcDL8f_9X04QzaSKsuOEX8hbn5AvW1QF4D5JlqHMvdppxtJKbqoMBXBjM"; e_fb_requesthandler="AcK2QuBPuaBunnHMKzRZCCvzdSsfCYj0rtkdKr8MazQ3mCPyHenxKtPOkJR8v2QWFYNn5kL3CY4"; e_fb_builduser="AcK_Cahm9wupjeGvdnjvXyjKT8U7TaId1ngkhN90MHJlXTK3HMOo9uhEd_k7yPdDULo"; e_fb_binaryversion="AcJ1tKodJFdZMrhJ8qI_t5H-RSTxVgHJBMoeV5x1r1BX27MB86hOugo8j69B0p9zG9tDvkLF6f0L2QmXVZR3M9-FOZC22VDcbOc"; e_proxy="AcKBGFQ9SZQMKTEPBKb1IA0W3IFER65JTUmwUL91_AxrF4X42OtOKc9KvHoA3sC5g4znEkCzByQr6Fo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 08:27:51: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AKTHkmmCMLSAH90u4q4O1SY" } } 01/26/2024 08:27:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 08:27:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 116569171, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AfyZUjq1jkc0iAXklFoyNoF', 'x-fb-trace-id': 'DAEgTcCynhl', 'x-fb-rev': '1011039406', 'x-fb-debug': 'alas17tkEdqKU9MHuVcHBuiUGAzTHnd68HCeHFVMD7zh3HIrS62qBYjz14t4ZirpWdymob/11cnxSWTQJs55DA==', date: 'Fri, 26 Jan 2024 08:27:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK91BsagfYCAhuZTDoloEkkHNwuObGH9UYaaRuhuHRkS7seTcF-WefaGlP200GHtKVuix2o4KL59hJHPk-vNrD3ZJRARaPFSKzPxHUVlo970i9BKg"; e_fb_vipport="AcKfZgQeWyXldsfKjzYRJlJwJfk5BLFdSGJbOf8tgPA8x8qIEImmeg_wtoHw"; e_upip="AcISqa71P_KzuHnoMN3V1DASyQJyZHvPYqG20NQXHV8EnoStr5ztEP4B-dd32ohpnjB4E0g-Wu5RVsbht28-57_XWFFju08bgbk"; e_fb_hostheader="AcIe78279QKpq9Mtrgmngh3bW6p4yO2SFHksxnLkUFhoIXVHUPdIMuOcufA8sRnHmPdQqovOiNSa0ggr"; e_fb_vipaddr="AcLT1nNOCIS8SqBHnheAt7ofukMp27UD0wfNFCiZBkRLBqYJ9xfFhxRKBTAsgCom-B8gfozrTSaOdjpAoRh88z2hsVq3hp7luQ"; e_fb_requesthandler="AcK-yNVvH2gIQFfjN8Nc3EJMedq35VoSzA0InDSkE3zJg28GSzWfe8_o6fHH0Ww3DTb2CBWSZYs"; e_fb_builduser="AcLSSKhS-fG2A99oLyuxzEkOnSLGWJ10EZuCFDnPqLGH3X2_9g8XV-D1mXpnqWmb1Vk"; e_fb_binaryversion="AcIms46T7beXB2NGivtE-0i8RQtDRVYtZJbdHoQKUXcpPUfN3oijOYf2C2Aihx_kfm13fgiZOqS6DthUuTSLDIImECw_tGjTTK4"; e_proxy="AcIYTEBocT8T7CyXU4-JkwteJp0SgKJ2L0dNeDVe5VboMXSVCsEw18p8NP_6QN6sPem04Q0CC0VbH3BzCSE-", http_request_error; e_clientaddr="AcI_Acez15mxv_FTOAjr6yChwba_t3We3J9bz_s0kVkMFMWYKPao1zRj2Ptb86_1lj04sEMuwveuyx-yxA"; e_fb_vipport="AcK8qyS9AgWl-Dg4lypWoOgZp9lnnIix-R9HzR9iEVm-9YOrghU_Ih_c9amF"; e_upip="AcKkb67YTfeEQHCoSQ4phhlkkHa_wn1vexjZswNXTLC2JzV1nvjvjhCauRrQ_OXHnSWOyrbe3JIJsTBD-j9r8VtkBSo0sopCtw"; e_fb_hostheader="AcJrTOmG0RSfK2T_Pg-Q_UnCx_zRGvcEczTaDdmNGLlPj7mogzvYjQ8D816HwjAuG6SN68_yP8mfo940"; e_fb_vipaddr="AcJnR_GUW5KADVBDb-XAUZQ6dsc8s2qiP4c4YnVIoKyxg73UoNR1JvDg-Lx3hQ-oGb3MIWw"; e_fb_requesthandler="AcI_KN91lQPd7-fOL2vkPAJA5ugawFu0RqCZM0PNyGfmwTW7Zzc4J6ELwZqL88aHt6Wn2BvzWQU"; e_fb_builduser="AcKMJe4S99q7dTXiAH_Nv1dvhfL-K_foHjBon9Pc3msW_66T-z_DzqLsT6jYHZGtji0"; e_fb_binaryversion="AcKm-iaCT7iVgYSu4UBFoV_u73lwG0yDBS6NGY9r6rzaj29hF9Ryx2RZ3orJIN4FTf6E-kDWe_NX2f84lquxHI0oXtt9qvw_4O0"; e_proxy="AcLi5CpoVxyRJ5VIyXa-aUmFPvHZxSWEutavJVMT6teAK4YXbXSJSu-ahtW4JXMt2moGmXMQQUlX51fR"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 11:55:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 11:56:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 11:56:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 11:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 11:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 12:05:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 12:06:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 12:06:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 12:07:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 12:07:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 12:21:18: Request bot not found: { id: '234064353428134' } 01/26/2024 12:21:18: Request bot not found: { id: '234064353428134' } 01/26/2024 12:21:19: Request bot not found: { id: '234064353428134' } 01/26/2024 12:21:20: Request bot not found: { id: '234064353428134' } 01/26/2024 12:21:21: Request bot not found: { id: '234064353428134' } 01/26/2024 12:21:25: Request bot not found: { id: '234064353428134' } 01/26/2024 12:21:42: Request bot not found: { id: '234064353428134' } 01/26/2024 12:23:00: Request bot not found: { id: '234064353428134' } 01/26/2024 12:24:20: Request bot not found: { id: '234064353428134' } 01/26/2024 12:25:41: Request bot not found: { id: '234064353428134' } 01/26/2024 12:27:04: Request bot not found: { id: '234064353428134' } 01/26/2024 12:28:21: Request bot not found: { id: '234064353428134' } 01/26/2024 12:29:41: Request bot not found: { id: '234064353428134' } 01/26/2024 12:30:57: Request bot not found: { id: '234064353428134' } 01/26/2024 12:32:19: Request bot not found: { id: '234064353428134' } 01/26/2024 12:33:45: Request bot not found: { id: '234064353428134' } 01/26/2024 12:35:01: Request bot not found: { id: '234064353428134' } 01/26/2024 12:36:08: Request bot not found: { id: '100873924683761' } 01/26/2024 12:36:09: Request bot not found: { id: '100873924683761' } 01/26/2024 12:36:10: Request bot not found: { id: '100873924683761' } 01/26/2024 12:36:10: Request bot not found: { id: '100873924683761' } 01/26/2024 12:36:11: Request bot not found: { id: '100873924683761' } 01/26/2024 12:36:15: Request bot not found: { id: '100873924683761' } 01/26/2024 12:36:27: Request bot not found: { id: '234064353428134' } 01/26/2024 12:36:32: Request bot not found: { id: '100873924683761' } 01/26/2024 12:37:46: Request bot not found: { id: '100873924683761' } 01/26/2024 12:37:47: Request bot not found: { id: '234064353428134' } 01/26/2024 12:38:59: Request bot not found: { id: '100873924683761' } 01/26/2024 12:39:01: Request bot not found: { id: '234064353428134' } 01/26/2024 12:40:16: Request bot not found: { id: '234064353428134' } 01/26/2024 12:40:24: Request bot not found: { id: '100873924683761' } 01/26/2024 12:41:27: Request bot not found: { id: '234064353428134' } 01/26/2024 12:41:49: Request bot not found: { id: '100873924683761' } 01/26/2024 12:42:53: Request bot not found: { id: '234064353428134' } 01/26/2024 12:43:12: Request bot not found: { id: '100873924683761' } 01/26/2024 12:44:08: Request bot not found: { id: '234064353428134' } 01/26/2024 12:44:33: Request bot not found: { id: '100873924683761' } 01/26/2024 12:45:29: Request bot not found: { id: '234064353428134' } 01/26/2024 12:45:45: Request bot not found: { id: '100873924683761' } 01/26/2024 12:46:49: Request bot not found: { id: '565033343594012' } 01/26/2024 12:46:49: Request bot not found: { id: '565033343594012' } 01/26/2024 12:46:50: Request bot not found: { id: '565033343594012' } 01/26/2024 12:46:50: Request bot not found: { id: '565033343594012' } 01/26/2024 12:46:51: Request bot not found: { id: '234064353428134' } 01/26/2024 12:46:51: Request bot not found: { id: '565033343594012' } 01/26/2024 12:46:55: Request bot not found: { id: '565033343594012' } 01/26/2024 12:47:07: Request bot not found: { id: '100873924683761' } 01/26/2024 12:47:10: Request bot not found: { id: '565033343594012' } 01/26/2024 12:48:07: Request bot not found: { id: '234064353428134' } 01/26/2024 12:48:21: Request bot not found: { id: '100873924683761' } 01/26/2024 12:48:25: Request bot not found: { id: '565033343594012' } 01/26/2024 12:49:21: Request bot not found: { id: '234064353428134' } 01/26/2024 12:49:33: Request bot not found: { id: '100873924683761' } 01/26/2024 12:49:46: Request bot not found: { id: '565033343594012' } 01/26/2024 12:50:44: Request bot not found: { id: '100873924683761' } 01/26/2024 12:50:48: Request bot not found: { id: '234064353428134' } 01/26/2024 12:51:10: Request bot not found: { id: '565033343594012' } 01/26/2024 12:52:09: Request bot not found: { id: '100873924683761' } 01/26/2024 12:52:13: Request bot not found: { id: '234064353428134' } 01/26/2024 12:52:24: Request bot not found: { id: '565033343594012' } 01/26/2024 12:53:20: Request bot not found: { id: '100873924683761' } 01/26/2024 12:53:24: Request bot not found: { id: '234064353428134' } 01/26/2024 12:53:25: Request bot not found: { id: '234064353428134' } 01/26/2024 12:53:26: Request bot not found: { id: '234064353428134' } 01/26/2024 12:53:26: Request bot not found: { id: '234064353428134' } 01/26/2024 12:53:27: Request bot not found: { id: '234064353428134' } 01/26/2024 12:53:28: Request bot not found: { id: '234064353428134' } 01/26/2024 12:53:32: Request bot not found: { id: '234064353428134' } 01/26/2024 12:53:37: Request bot not found: { id: '565033343594012' } 01/26/2024 12:53:49: Request bot not found: { id: '234064353428134' } 01/26/2024 12:54:38: Request bot not found: { id: '100873924683761' } 01/26/2024 12:54:58: Request bot not found: { id: '565033343594012' } 01/26/2024 12:55:13: Request bot not found: { id: '234064353428134' } 01/26/2024 12:55:57: Request bot not found: { id: '100873924683761' } 01/26/2024 12:56:22: Request bot not found: { id: '565033343594012' } 01/26/2024 12:56:25: Request bot not found: { id: '234064353428134' } 01/26/2024 12:57:14: Request bot not found: { id: '100873924683761' } 01/26/2024 12:57:38: Request bot not found: { id: '234064353428134' } 01/26/2024 12:57:48: Request bot not found: { id: '565033343594012' } 01/26/2024 12:58:40: Request bot not found: { id: '100873924683761' } 01/26/2024 12:58:53: Request bot not found: { id: '234064353428134' } 01/26/2024 12:59:14: Request bot not found: { id: '565033343594012' } 01/26/2024 12:59:54: Request bot not found: { id: '100873924683761' } 01/26/2024 13:00:06: Request bot not found: { id: '234064353428134' } 01/26/2024 13:00:31: Request bot not found: { id: '565033343594012' } 01/26/2024 13:01:11: Request bot not found: { id: '100873924683761' } 01/26/2024 13:01:32: Request bot not found: { id: '234064353428134' } 01/26/2024 13:01:49: Request bot not found: { id: '565033343594012' } 01/26/2024 13:02:25: Request bot not found: { id: '100873924683761' } 01/26/2024 13:02:45: Request bot not found: { id: '234064353428134' } 01/26/2024 13:03:13: Request bot not found: { id: '565033343594012' } 01/26/2024 13:03:46: Request bot not found: { id: '100873924683761' } 01/26/2024 13:04:02: Request bot not found: { id: '234064353428134' } 01/26/2024 13:04:27: Request bot not found: { id: '565033343594012' } 01/26/2024 13:05:03: Request bot not found: { id: '100873924683761' } 01/26/2024 13:05:25: Request bot not found: { id: '234064353428134' } 01/26/2024 13:05:39: Request bot not found: { id: '565033343594012' } 01/26/2024 13:06:15: Request bot not found: { id: '100873924683761' } 01/26/2024 13:06:49: Request bot not found: { id: '234064353428134' } 01/26/2024 13:07:06: Request bot not found: { id: '565033343594012' } 01/26/2024 13:07:39: Request bot not found: { id: '100873924683761' } 01/26/2024 13:07:40: Request bot not found: { id: '100873924683761' } 01/26/2024 13:07:40: Request bot not found: { id: '100873924683761' } 01/26/2024 13:07:41: Request bot not found: { id: '100873924683761' } 01/26/2024 13:07:41: Request bot not found: { id: '100873924683761' } 01/26/2024 13:07:43: Request bot not found: { id: '100873924683761' } 01/26/2024 13:07:46: Request bot not found: { id: '100873924683761' } 01/26/2024 13:08:03: Request bot not found: { id: '100873924683761' } 01/26/2024 13:08:13: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7154444997967175?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 186170239, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7154444997967175?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7154444997967175?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7154444997967175?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7154444997967175?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIkcGTKq3jQxzMrFdMTniKH', 'x-fb-trace-id': 'Az9YaW5TCF5', 'x-fb-rev': '1011041324', 'x-fb-debug': 'OdLs4vnC/llbJMGzsLwHbL3QItiAqkwMzyDMtEeOdaiejRtHoqsl7TfeCqP0I3atEecMH1V4vuET3w08crd+pQ==', date: 'Fri, 26 Jan 2024 13:08:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ3AlLKMgIZRXi6sGVC-bL-6ZU4h8DYOKGoImKl4_x1GAvndLBMDJJMDvqI4T9u0mRmF-bz1-oLMoa36dbfOaWemPeihCK3hQ8O20bQ_YCcqlW4GQ"; e_fb_vipport="AcLEOdeq5k8tzBHnxc_PBIbZRd7vF-HN8HXiqOBDuwnZKxyROwjtkQF0LJ6E"; e_upip="AcLFOiqebobwnOOFGO_ifuiLWkP3odjFQF1e4rUKRHz8q0T5P1FwD-hQecmTlAcR9xtp1CZ_guz1zkUBzciboME7flSlgqwcqw"; e_fb_hostheader="AcKv3GWmUD8Zd6xf0jvnF4lq_4l9liMaU04NLeQmYLATe6AvMhc0GsE6V1Fo9rieVUeHyUcPG5fOXz8s"; e_fb_vipaddr="AcKmAH8Z1AXcjES21j5YfUkZAYhkT2Kl1ItS-0UdUZCo5L1-CrQzWcDRUybPcLrP7k9bOk-5GZjzeAWmYjxrDogzHoWkK2m44Q"; e_fb_requesthandler="AcKG8Z7WP_9LIl_n1UVyMGSCYqFxRnmKTR9EqvJFm1XJI-WrUDKk38QAcOe3DMvX2TDBZUmNQC4"; e_fb_builduser="AcJtUHYdmX-1LUN2r3rISM0qR8gsvOtTOAW5Khowh5it5CTS0WDZ6sXKs_GKc5liFLM"; e_fb_binaryversion="AcKAhglN_whRK2o_EEQplFPIAI0uDfCCYxV63nN8ZFPbc0mag8EbKyxr51RiZnj1TcsBMBYhyH8rmMCtIoehUBi_MvZFBi8jmME"; e_proxy="AcLfC1Lg_pUxdMQpTUoW_FCPFDLc4fCL4_Dshm_wLvxrW6p9LoyAavjXpAq-1PkQ8cynwpmbmBt0tvADTcck", http_request_error; e_clientaddr="AcLcmSbmwjFNkYN_2_BcdFpVcAAcodrzspJrNQkOjgXyVewfB2U3g3MYSTQdaD1GwOj22K2is9UmopZw3A"; e_fb_vipport="AcKDkIWAEHSRi5WLDi50rCC1ZOqF1gY6OspjJcpn7MCQrPB96CsYN4qh_mnI"; e_upip="AcInSqpkwWkQib_P5Dgk24gvjAQdSIevWcbdigZRYqNalB-WmgRytqumiq0uUs4kpiCQIMAWe53cR1zrApTHKudBx9INqUCV8Q"; e_fb_hostheader="AcIGOOkVybVtamO6tLEEhV5PV2njEERqFwX2X9F3TcsvzwwMUMNhYuwJw7wU1VN7D72D_rvXHwO3cWU7"; e_fb_vipaddr="AcIv6h0HfgCjlEbr3ojTOlWM7zm6XYLzfeeB0teDueKdj8c6nuUuRzxuyPK4F4HyGHKrphEe5iA"; e_fb_requesthandler="AcL9Oi-ewAkq4oaYz_V3Xo9-marV8e1KOz6F788xafiG75F3YhNeHEaRv0xfjJGbVQHVCFwHRNI"; e_fb_builduser="AcINBGzCNCTDmu1YGWi3TSLhGhXZXb-MACvfbm9lrcLexSMapRdsuKIJ2h3hLEc_ui8"; e_fb_binaryversion="AcJQeO4biAjMWG0-i4FQyahJMw140HKAU4IVr9Fv8jlDmux8dwjK8wcN0NgJYfgQ4Lu7tAHtTpN36XBtCErJlUScbgJudmW3plY"; e_proxy="AcJumE8R60OncCrJYoNDDuvuzUdMR4oyc5hRa89ntKNFUqWd0JNihlaxPXmyisa3qiTKWagNhDn-eNU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7154444997967175?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7154444997967175?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7154444997967175?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 13:08:13: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 13:08:13: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 13:08:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 13:08:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 186170363, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AE0JwkTqs6bY7Rn1TOVZlIm', 'x-fb-trace-id': 'EriAkWY+Yw/', 'x-fb-rev': '1011041324', 'x-fb-debug': 'SUejTmGdewpRNAIDQoydM4kjDhN9/TO7lU+lyYcwLas+RYZRxdHHG5/zVLfCUsV/Ab4dXz/mjvmtbDnC3+CN/w==', date: 'Fri, 26 Jan 2024 13:08:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIQQkdNYZw-15SsLSHjm7Di4GK1Bo2Ra_AXCEHc3j1eU04asS-N8oHjyPp7PuzDzDmJIzePj_Hvl4qCvz67qLT7uTby83YhM_hEsip-B_1p3QP56Q"; e_fb_vipport="AcJf9mw2oRsr7kyfQ24s5E2eDFYkHTw4-2ItihFYliVMjQVbd57UONt8gslA"; e_upip="AcJmG6wyJglNCw4vTkpHUw1KEOfrgyKGVqMTHCnWr1e2aHSODBge4jGcbvDNe083kUvmT7a4ZXkt97ceGCHcXMJ9yaE12SOFkQ"; e_fb_hostheader="AcLZ40PQigKSBCapLCNV247SIdvyrzkZrM26ImEEFbO-rQqDmSbVmXWDNd4qksc5SlQ_-nAbaItcHA8h"; e_fb_vipaddr="AcIPPoFR4bjPSJTbajPFOvti7sGiuSCCKNDP9k5BLp1j7xUTqFGxHdfLioWdiEhZpeY3fanjXZ4GpQsq9x8o47wxiAQmAwgXHw"; e_fb_requesthandler="AcLvfgBvIslvy4nPGgvbcpOEFFIbrjWkDij6aaC43TCwZDKXYMLhy_WKi061koDZk1vVWaC7DFY"; e_fb_builduser="AcLY1L8HG23VRAYPEZyp_hbIuJvypvCgz3qBfTrZ4rrECog3RG5mgbvx7R52pO5BROM"; e_fb_binaryversion="AcJeS2x8kXkoNrlgofAwZIhsBnDFgNMXeznpkXJ5rxtfoZ0lyWfHr9ilvxYGdGnMM1P0MG6sNwvLIrbyzruIHwmW8ioLYA7WRug"; e_proxy="AcLAu5I_AiR_4Drw5H_c7u49qpZmynKnO1bgIGn1rxUfPgjmCLg63Wzg7GFij4CP6K6DhHcr60Yrp5lvQFqd", http_request_error; e_clientaddr="AcJYbZHYPFK-ASf3ifhmTJHbfetAFYq1PxgFQCstEXXPxS3YQmi-A8xYFNGbVTVPt1x2Bo0b15OYICHqgw"; e_fb_vipport="AcK_7SDzNM_oUTloSHch_TRmelXv0xtRiwWava6XHM7wMxYMyGhJxesm-o0v"; e_upip="AcLGq18RgzAy6RDvelvLjuamgnu0XQiVMcwiM5VVhBhKzP4figOR0aS0U1UmmpAH4UbDxeA2W8KwdYQHQvif4jTowrx_iYs5dw"; e_fb_hostheader="AcKp5uAFn-hHHI4EL7OUlcxgPgUrU1A7Cp0aUDfL6IfR1XGEKJyTa1Sm1ztYRVeWN_IbTU17Vx_dhprX"; e_fb_vipaddr="AcKwuYxzsl3-ao7tY-KQaIcND46mCu7b48v9Mf0D40ci9385N69xTbpADOM9e9EzZCkzDBLDMbs"; e_fb_requesthandler="AcLUrN4pZ8jzZ1SMhK1BK1biI_DjymoUfFSSCGJi-au_j1Svk2tdT40vhkaGFqdxyQ3XFo0uurk"; e_fb_builduser="AcLGMNxy0z8O4jk9m96OKKFC-s6t88R4ufgZUAIaboY9Ljw0oq44r_SVumawzbBSDCo"; e_fb_binaryversion="AcJUfrHt8vouePTW6OFRUa6F4rDger7yzoVqD5js8ZGiMDoLW8wUC2bzFsNX_dq38Fm0p9jyjqpzpKxsHflwW82UVzGzXdDcy0c"; e_proxy="AcLQarN6a8Ys3qevlJaefoToLPWABXtCSXJAZYQJ3D_UEpQW-QhpWnLyJvt9htHtP0NwUdXn5vJMjxQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 13:08:13: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ABwT2LY-_NwRLkGJONAAtX-" } } 01/26/2024 13:08:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 13:08:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 186170435, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APz0pfeTGyQAMTu1qSqPwYR', 'x-fb-trace-id': 'G08qj/LlRrr', 'x-fb-rev': '1011041324', 'x-fb-debug': 'gptm/XUbI5wWlut6qmBjA434uKdHeEwvFYvGpZMVDHc/AdYjGuEgxbx+WHpo0Jt0jqmy6ClDr0A0VYhpy3A1SA==', date: 'Fri, 26 Jan 2024 13:08:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKn6IBmnB81wXSxEkLsCCPDwidGJZiS1LoSCWAK8BxSEwdQJLtiUuX6c_ooYXMj4gKkd-6GP0ZAxlrUzMhYzUFCmjU21Hly5gMvqbsFVaGO5_Vn"; e_fb_vipport="AcKzWfG8oQxI2L_Jd4kBzuhB8xJNdO5o56kj7HFKdtzaoLY4fkYEhU5SgEZb"; e_upip="AcIxVzxmrcgvp_XFNS11qTydbENFyKTLUU9jWRW2d1lO4Lf6lRZbkO8B19uGF_UV9dk6bN-3rldQvLklioNfuSIEl6ceiR6EFg"; e_fb_hostheader="AcIrGoTPGRST7m-e7Wg3yXgaw9wCy-zpoqv6qUDoaftH93m5UimsAHCUnDlIOF4jsHCgIckTFJqcPo4S"; e_fb_vipaddr="AcLgXLVVxef9lgsQa5dn6v_2L_8HL5JFO8Iz8ftsrN8YF7eYwR2-WCdOhKYoJfSp-RBO-uPbjvSL9xnchY2RUHuJx_kB-nzX6A"; e_fb_requesthandler="AcK5ZkXych3rxvslF0nzK1xNVqdcNOL2TT8Yz5lduqiY1xUALggbxFelkc93A_IjneBJFdWzKoc"; e_fb_builduser="AcKHh2CmOtbseRBRkLGWLy0qM0cmjXWTc67O8r1LEPUnEEG7m9gA5eQTrc0Qp3vJeIY"; e_fb_binaryversion="AcJRQTI4kFrLwd67AInNfLQo6V_r554yGJMXKq79At-xg6EayTloHSHjj5fDNodQLcCmuUKsK3PtHq1rFcK0Fw9irK2JnSOFTXk"; e_proxy="AcJxs0_vE6SbrMyoJGDEwqY9yrR8wXeWimY6xCf0mJFnkNPgqsQD41vys5Mg5iJHGBJB0ptOojjLuBJiuQ9w", http_request_error; e_clientaddr="AcLXcd8jtHALlyJRf-Oai-XU-5FD3X7C6eJhmCBDElaTHuQ4mXgNAxXxURF1QnoMDVxfqY9E9kwbSi5Pbg"; e_fb_vipport="AcKl1Od2Bsu0DWwU2QO-ZKzb-wUsLLBeIeIpp9J3YdjMiyfiymaXorci80Kg"; e_upip="AcLuYqtQ6TV-rw5vfW5SCzsiZcqwmzGgatMbiPAyCFzW5Ml8VqDoB89e4uqxre1N7oR55qCodcFGoABBlBBN564RValJaGDL9Q"; e_fb_hostheader="AcLfmtVhhkvxL_xERmng6584cLLRk1aZyWhXFcEzVpelVNoHBzIFr5I4DrpITaupGLF8NUxBCv99xJIi"; e_fb_vipaddr="AcLl4sCfzYtPuTVJ1olIA91hljIC0VqXsvvhl9yWZspfJWzII3Lf2n7sqTz8W9KM3WLFPPJxoqc"; e_fb_requesthandler="AcI8Xo_CEkEZF6yM9eDM7QGGeXyfGTVgb12Eejvzj6JRq1f9CCb-MBmmVwRogDJukoVVFNDJfuA"; e_fb_builduser="AcKNtMC0eTI0kNtTcEqISIq8aPFDKYmbR2R5fxaPMpSBf9UjSk0yyJmp_PSj-ycX78w"; e_fb_binaryversion="AcKr9oHidzjmXxpNt6xT9tc9-Sx0q4qD3fygx-msF7IXx7AOL-I2u9fyce5lGnj00KqqgxShRR7OuZtcAbYCNdlLCKl7f3Dd2Po"; e_proxy="AcIR63RqThvy6Qu1Tb44WCT9M4f5k05mk8ECE4_GCJXWf0xwYAOJUXfpYZXYE8nm3dLfkKU4xflV-zA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 13:08:14: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AKJsv_gMfNUs6D4JnMCA-5J" } } 01/26/2024 13:08:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 13:08:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 186170554, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AS6aYwgu4fiu43oTQmFvETz', 'x-fb-trace-id': 'C8NlsNygaSy', 'x-fb-rev': '1011041324', 'x-fb-debug': 'VTD9mB6VUCVu90rLcGSi0jcmkJOGEeVJl9QrzKxJSjILEpEuD9mivFc2v8xMzQ6GSMF9COlW7iC4k66gjW86lQ==', date: 'Fri, 26 Jan 2024 13:08:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLmM5dlsI9c1vd7y18-LsIxblQAIG-TYzL8e5NFhLwtdpPTENZnVI7M7tZiqgCN0L6NaBqxT6pZsmE1fTdpqSVC2ToSwT88gYHeXQol1Smto4DpjA"; e_fb_vipport="AcJ6g2HAFIpA5GH_ZoRiVfsPcBUzGfZqjjgeoEtdrDxHKPn1eUk2RM_QmJBh"; e_upip="AcLolCL38NwPhNNYGXc2nctiBSFDCOscnQeBAZuFwf5zrjS2164dDn_qgGKOml205KsQhezcVA9vliqRY4IEJ2d0X6W7itbbyQ"; e_fb_hostheader="AcIVOeInh95JhwngscO65EwHHtKC_Qqdd2nrNpxChKkqz3wSuPg2KhU8elz_9A95i8ET0e_WOpZ7qRIe"; e_fb_vipaddr="AcIIJoAKNcp4RrYVrDBlArX6qFCYK_Q2YYEdILM7fefWTNOtlknjHUbqmBQ-bzDCH-oMYGPOhiBHIuocvcSTA8Vcacld41urbg"; e_fb_requesthandler="AcIwIdOQBhUBz-bcFQ37ETA1KDQLXt_YFQeGBRrWBF45LkAJR66mD_XyLIhi9cjBzi7bkGkkoIA"; e_fb_builduser="AcIy3qjPh-ZwJ1Ogsb2ecH-GGa7eZIoiAqDEC78HRELDJqn1BWZyjiT7pFcA77sh2uw"; e_fb_binaryversion="AcKnqGwGEKU2QO3kdzkGD6-vjLQ-Z31MhdlpdWsZ_Q7S3GiRn9X9jEXo-cowM6sf6O8RjNhsYS1Z-qKCqV3B6FkCZWIK3mPgg14"; e_proxy="AcIBZZGKXKl-hN5M_G5T0ZxnAJmtCF4DgxGQJSWZ2wV109t-dgAPT-3gtVzfoQT_mrc2ISOoSpDND3WwtlpC", http_request_error; e_clientaddr="AcI7t5YxLSMWnFLKWzY5iJyqSkpRiz02drEOK3m-FdWO2gFl3l5aju-F656A2hvj21FL9-He-VJlRfH1RA"; e_fb_vipport="AcKtwX-ChmwXn4hsDvFjuI09ZJp3yyCz1scwLo2TkpKSVTUGjm91STqueiSf"; e_upip="AcIb2haTrv1Msu-5bOe6xm_QRBq0JUYMEi1D5vK9t2u9BNOYdk7ZySt0vlORM0YfocC592EkeRtOTYc45x3FLxbg8DERQ09M9A"; e_fb_hostheader="AcIOtMvswVSgV8EbLkjkDIHhWVTlHwlT7NPQ6Rge3TXoBDAADqWRdvG848M7HXmSIHnzSKtguU_qJR_v"; e_fb_vipaddr="AcIm2uC9T-eNNab522etH-OZBgj-KCE7jbhDh40Aw6N415rkbIgeEwMhUbjD_-eBP2WNeFDZhAc"; e_fb_requesthandler="AcLjpm90JQNpkEZlvBbYYX1UoAL3Yfumz4mQKaiZwsnh66Xbe4jsHJc-96C-HRcZSfYCLSdfr8E"; e_fb_builduser="AcJyDvcguOBpvlEtI9mNDaUye3-NU453oIYb-ffhBeHg8Ur8IqwkVdYwUNba_gXc9Jg"; e_fb_binaryversion="AcIGRUFOHlTDfr1NyUKJfi7wa9uHz2AHuG_BshoT5ntIbLDYYzD-yWF7CqXukypCOY7CJzuLrSTIY1Fc_rDdtQEjD5Vn3IY6eSc"; e_proxy="AcJ8Pf0JBy1NiiY11z7NbDv6owF73xQgA41ePY4gSs9qEpDWkVu2I-GeSJoT4MbU2Tg6zT-u-k6bzt0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 13:08:15: Request bot not found: { id: '234064353428134' } 01/26/2024 13:08:20: Request bot not found: { id: '565033343594012' } 01/26/2024 13:09:25: Request bot not found: { id: '100873924683761' } 01/26/2024 13:09:33: Request bot not found: { id: '565033343594012' } 01/26/2024 13:09:33: Request bot not found: { id: '234064353428134' } 01/26/2024 13:10:39: Request bot not found: { id: '100873924683761' } 01/26/2024 13:10:47: Request bot not found: { id: '565033343594012' } 01/26/2024 13:10:59: Request bot not found: { id: '234064353428134' } 01/26/2024 13:12:02: Request bot not found: { id: '565033343594012' } 01/26/2024 13:12:03: Request bot not found: { id: '100873924683761' } 01/26/2024 13:12:12: Request bot not found: { id: '234064353428134' } 01/26/2024 13:13:21: Request bot not found: { id: '565033343594012' } 01/26/2024 13:13:24: Request bot not found: { id: '234064353428134' } 01/26/2024 13:13:29: Request bot not found: { id: '100873924683761' } 01/26/2024 13:14:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 13:14:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 187845046, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOmx9A1j9O2aUnmydhelTlA', 'x-fb-trace-id': 'DuUAv+LJLZB', 'x-fb-rev': '1011041324', 'x-fb-debug': 'GH7cxF0zLR8Dp9VAq5TFuuQ6T+sVQTEomWAUMV6ovFQQF8Hxd30WTWvcGMm/YZ1NEcfR7XNVbeYdr0Rbh6GNUg==', date: 'Fri, 26 Jan 2024 13:14:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJwMt6ou762oqRhxc5owI0z4fbShZNF0jasWlcIQmMOQwA6huM5omLkgvcW7KXIFDKbuewTnSln67V-NFzDRBOuYdc-lpUQm6viX9N8NOPaE5wGug"; e_fb_vipport="AcKLG1_trKrT4ENJ5tWL_hpnjzJfo5zOImWUi4cIW3VnacST6G8RvucabGm8"; e_upip="AcJkAoZKSt3wj3f5cswnWuMHbixttowpIy6VMLcoxFAp_YJRaUkMKicQGN6uCaUjKZuI86bIq3ZQdAQxjWq3UIRh3WjSZzfOBjs"; e_fb_hostheader="AcLgw1qfW-4djEd97cpPDarYPip7ubmqxNdaYjaQZ5cnKORF5eUJQJuqpF6vFa63FjzoiQhhcXuAlZuQ"; e_fb_vipaddr="AcLTeC181IOVOzK_F4zVtK9qUCMFz3kPDWhtYW167Skyl8p_rofNcfwTXIma2ydWwERrOMvA0QQrtZx6Nyzp1SFvZsKnTg1xmw"; e_fb_requesthandler="AcJYq2eNZrCMl0GfGtKXYpuFVRIX1INZcYMBogMAebmRkQbipShd9_cOOLhFvf5pkRxo8YFRs0g"; e_fb_builduser="AcJnbHltYvAhKrHkyurlHA3k3lali8X1kyhrkHOxZ2QMK1gc_Q5JJZsxKzmBUterLcg"; e_fb_binaryversion="AcKQcI7YFaig75kHJd3eS8XP0_nlpQE6BkZHKHSCwrq3X4NhhHm5DlVExX1WjhDk2BP2qmVQrnLhLfKyFbiEagOAyVX3HnpSnVk"; e_proxy="AcIdE306WiL2HUh_Tcbx_IBM1EyfH12Ljt8WduXk345BmcaGYoJUAJcPPTiYMff114inOe3NSLdLnYApN4nY", http_request_error; e_clientaddr="AcLGRit0be-9D-9qTCVS4j7qSTYylB1bWCcDTyL0mP4TsLldIxqT0Opq4wblJf4dGeT51j-VYlcxhgKmgw"; e_fb_vipport="AcJckQcCgVNkxQ6VrOEXHzuyJUGO5QaVuwj9s7r_L1Y-ScjnmFazVBPyZ1-H"; e_upip="AcK-zmKJqe3yNdRyFqhQ7zv1lwVHX9jLM_oqpKqk7LIBvbwJ7vNEnVgOqQqQejbgE685jO2TxOt4lzyx9W8cGj_bB_g2dnQBXA"; e_fb_hostheader="AcIKDth7SGcm9t-V4NvsE1pAaXJJyrihsccSJFhjKNkYisSy5SBUznCoYr0_rLl2QtJIp0vj1pUL2ZzD"; e_fb_vipaddr="AcLm-zEknGLlro9S2m-jalAnxL4BXyDGNosVnJIlXN52NFoj_3SmbfiPcVZMwxnNS416KCs"; e_fb_requesthandler="AcJTx23WLFzjN2OI5VQ54Kws7oJeVEGNZIE7JSCDZ5aprLWg8rAf7vC_RVRxyq6rcr08bp6zhq0"; e_fb_builduser="AcIorS6TkLLw2piFU6VJJDZS5WMgweN5ZyhdNkRy3o-_M5PLMvaNF8Tz8UVQ460Ij_Y"; e_fb_binaryversion="AcI-WsMQKdPkKee0_2fmYgSNUdi4cVr0Als39ki3IocOnlaLhdVSo6ijL-WUkgE2Dr3j0PTmk3K5iy0dLxPcKHPhS0jAWWQ3-zY"; e_proxy="AcIjtUExmMZlozYFHJSIc-TCyGphWNXPOdWLRnkFDopWvL6t6cS6XQi3jSG_Hv9b47BY2UOilvijoeM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 13:14:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 13:14:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AwUcsjs83htoopOI9ZeHF2I" } } 01/26/2024 13:14:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 13:14:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 187845182, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFHQLaRsIATW9hWUaWAqnMO', 'x-fb-trace-id': 'HtDEkqli0oP', 'x-fb-rev': '1011041324', 'x-fb-debug': 'MUl1Wuu0NaDBmiZx73b2LuGu3MUrzNNvKC5vtz66JaHXxQUsuwZZrC2pIasyG2DThrMMG67uCaLphSM8otTVJw==', date: 'Fri, 26 Jan 2024 13:14:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKhMQTRIxs4_ovewpO-rNHzpmclDHx3wvecF6dEmEA1F8-fPADgD1sbOTNmgZjejP76oP--3QSAV0rI3VRi4srJpbxs-udagDRrBDIJ1jGTmJ-o"; e_fb_vipport="AcI25fdd4i2qrV7U9AUrVHVyIKtmQ4TL1YF-euQtsVKE8yfrtPDdOx6L1YPJ"; e_upip="AcKLn8KWG9N8O6jTW0XQhleBWSagX5dEjtc6JJkHxrR9rU1cKyBrYFL_jvdzLwf5AjxqljEnpepByieKkWM63h5uAfw178nzWA"; e_fb_hostheader="AcJios518GOuKDy9p9jdl1E2aKd2fNyd_2fKbzF5RI6BI2ubpuZGvkCquCI03LU3GGcyWohllYOsK7-k"; e_fb_vipaddr="AcIZByuLkQBLU0E5AMvJWd_7xyJDaLStF50PTjABj6rxqsSKj3k61NQGDd61rHUKiZfvwS3Ij1fZWvGuty-kEgG1VrWYRfQp3g"; e_fb_requesthandler="AcJbXHGiviOm9oirbL5R-nHxwvdd8lylRPddLb8iZll2vT-CcxE2OqHvJbHtbPslfbAlNgoqfIs"; e_fb_builduser="AcJoS52Tm6reyguRJRXXfsNctHka5EwHACBx0I4mJQx1KHnK4TAIVWdpSDDhnVcGblI"; e_fb_binaryversion="AcJtW1XjCoQ_QYT13UvNHuHLrgVn2n1fmr9mlMiOENZ21cUc13da6fEYwLKhvGttHDKQ4bOTIwn2P8kDb-VhnUWHLipbfV_g4P8"; e_proxy="AcKYb3n5u_MxNuRAtFuqilu6swHWcwCu-Nw3yncDC8MQgMbqmVieL00-N65T9-kB5iUJOHodqHNP9dDIyev2", http_request_error; e_clientaddr="AcIQo1ruksJ5I67PVMCjEQLR9MNfjV2s3fGjjh-A3sREI6w6PMnjPt21cnCxunx0op7OR11cJAknXrPv0A"; e_fb_vipport="AcLRyGdztUaLL_j9_ABCdPHLiVjwP57TV-L9Jr6Rotbvqptev7gUpT7iHrDs"; e_upip="AcJxa4cAczwGROwsOgQvqu09t07ByJTjaqSHJXCFtJTY77mbn04qX-pnGFufwb23vDx91sHwP6rhEDgcIZXSa2JzMfNymvBiVQ"; e_fb_hostheader="AcJqM5nKCdjVxmbuKcozNHRkmI2aHxt2GeN0DTuoRHJkdPexbjDlt8VTv45jaEdpmty6KF3XhD_u5h6o"; e_fb_vipaddr="AcLkWpOh0EVkwctSIYV_SIc8Zfl_un8Bnxvi_xERiOC_eOGqlo9fYUYDVb0v9KFDlDkirwY"; e_fb_requesthandler="AcIzvQQZAhkUR5X5s48yT49yynVW29UedoOeDZ3QIDeqINYA15FamLRxMyeA07z21gMBCFdTgMI"; e_fb_builduser="AcKEzM7Ghji5awQx9Mdg7Suqk5oQnC1CeoIz3EWphFqoDbbNRRP-31f2uySI58uPQZQ"; e_fb_binaryversion="AcIHoTfOtEid9pkR7RzqNIeUkcWrGxZlkUMAmKgHhSKIyM98vfucpajhns0CVHcHINUWuqlwGsStHuQiP_oQHhAvVeXJLcgNixo"; e_proxy="AcJrHP1yELzKBAjoYuOf-XNIoVqqf8aNEnaCUequB3A0X6Rp9slpbgGyqkH7_gpKWVfpVt0PRD1Itl2t"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 13:14:40: Request bot not found: { id: '565033343594012' } 01/26/2024 13:14:40: Request bot not found: { id: '234064353428134' } 01/26/2024 13:14:52: Request bot not found: { id: '100873924683761' } 01/26/2024 13:15:04: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A3XYOHjhB3FcjtSplb8-MGO" } } 01/26/2024 13:15:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 13:15:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 13:15:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 13:15:55: Request bot not found: { id: '565033343594012' } 01/26/2024 13:15:57: Request bot not found: { id: '234064353428134' } 01/26/2024 13:16:10: Request bot not found: { id: '100873924683761' } 01/26/2024 13:17:10: Request bot not found: { id: '565033343594012' } 01/26/2024 13:17:18: Request bot not found: { id: '234064353428134' } 01/26/2024 13:17:27: Request bot not found: { id: '100873924683761' } 01/26/2024 13:18:27: Request bot not found: { id: '565033343594012' } 01/26/2024 13:18:28: Request bot not found: { id: '565033343594012' } 01/26/2024 13:18:28: Request bot not found: { id: '565033343594012' } 01/26/2024 13:18:29: Request bot not found: { id: '565033343594012' } 01/26/2024 13:18:30: Request bot not found: { id: '565033343594012' } 01/26/2024 13:18:32: Request bot not found: { id: '565033343594012' } 01/26/2024 13:18:35: Request bot not found: { id: '565033343594012' } 01/26/2024 13:18:35: Request bot not found: { id: '234064353428134' } 01/26/2024 13:18:50: Request bot not found: { id: '565033343594012' } 01/26/2024 13:18:51: Request bot not found: { id: '100873924683761' } 01/26/2024 13:19:48: Request bot not found: { id: '234064353428134' } 01/26/2024 13:20:02: Request bot not found: { id: '565033343594012' } 01/26/2024 13:20:16: Request bot not found: { id: '100873924683761' } 01/26/2024 13:21:01: Request bot not found: { id: '234064353428134' } 01/26/2024 13:21:12: Request bot not found: { id: '565033343594012' } 01/26/2024 13:21:40: Request bot not found: { id: '100873924683761' } 01/26/2024 13:22:21: Request bot not found: { id: '234064353428134' } 01/26/2024 13:22:26: Request bot not found: { id: '565033343594012' } 01/26/2024 13:22:51: Request bot not found: { id: '100873924683761' } 01/26/2024 13:23:43: Request bot not found: { id: '234064353428134' } 01/26/2024 13:23:43: Request bot not found: { id: '565033343594012' } 01/26/2024 13:24:02: Request bot not found: { id: '100873924683761' } 01/26/2024 13:25:07: Request bot not found: { id: '234064353428134' } 01/26/2024 13:25:09: Request bot not found: { id: '565033343594012' } 01/26/2024 13:25:15: Request bot not found: { id: '100873924683761' } 01/26/2024 13:26:26: Request bot not found: { id: '100873924683761' } 01/26/2024 13:26:34: Request bot not found: { id: '565033343594012' } 01/26/2024 13:27:47: Request bot not found: { id: '100873924683761' } 01/26/2024 13:27:56: Request bot not found: { id: '565033343594012' } 01/26/2024 13:29:03: Request bot not found: { id: '100873924683761' } 01/26/2024 13:29:18: Request bot not found: { id: '565033343594012' } 01/26/2024 13:30:22: Request bot not found: { id: '100873924683761' } 01/26/2024 13:30:31: Request bot not found: { id: '565033343594012' } 01/26/2024 13:31:49: Request bot not found: { id: '100873924683761' } 01/26/2024 13:31:58: Request bot not found: { id: '565033343594012' } 01/26/2024 13:33:14: Request bot not found: { id: '100873924683761' } 01/26/2024 13:33:18: Request bot not found: { id: '565033343594012' } 01/26/2024 13:34:29: Request bot not found: { id: '100873924683761' } 01/26/2024 13:34:38: Request bot not found: { id: '565033343594012' } 01/26/2024 13:35:44: Request bot not found: { id: '100873924683761' } 01/26/2024 13:35:53: Request bot not found: { id: '565033343594012' } 01/26/2024 13:37:05: Request bot not found: { id: '100873924683761' } 01/26/2024 13:37:16: Request bot not found: { id: '565033343594012' } 01/26/2024 13:38:20: Request bot not found: { id: '100873924683761' } 01/26/2024 13:38:35: Request bot not found: { id: '565033343594012' } 01/26/2024 13:39:43: Request bot not found: { id: '100873924683761' } 01/26/2024 13:39:48: Request bot not found: { id: '565033343594012' } 01/26/2024 13:41:05: Request bot not found: { id: '565033343594012' } 01/26/2024 13:42:22: Request bot not found: { id: '565033343594012' } 01/26/2024 13:43:45: Request bot not found: { id: '565033343594012' } 01/26/2024 13:45:06: Request bot not found: { id: '565033343594012' } 01/26/2024 13:46:33: Request bot not found: { id: '565033343594012' } 01/26/2024 13:47:06: Request bot not found: { id: '231295150286187' } 01/26/2024 13:47:06: Request bot not found: { id: '231295150286187' } 01/26/2024 13:47:07: Request bot not found: { id: '231295150286187' } 01/26/2024 13:47:07: Request bot not found: { id: '231295150286187' } 01/26/2024 13:47:08: Request bot not found: { id: '231295150286187' } 01/26/2024 13:47:12: Request bot not found: { id: '231295150286187' } 01/26/2024 13:47:30: Request bot not found: { id: '231295150286187' } 01/26/2024 13:47:48: Request bot not found: { id: '565033343594012' } 01/26/2024 13:48:50: Request bot not found: { id: '231295150286187' } 01/26/2024 13:49:00: Request bot not found: { id: '565033343594012' } 01/26/2024 13:50:16: Request bot not found: { id: '231295150286187' } 01/26/2024 13:50:20: Request bot not found: { id: '565033343594012' } 01/26/2024 13:51:34: Request bot not found: { id: '231295150286187' } 01/26/2024 13:52:58: Request bot not found: { id: '231295150286187' } 01/26/2024 13:54:12: Request bot not found: { id: '231295150286187' } 01/26/2024 13:55:29: Request bot not found: { id: '231295150286187' } 01/26/2024 13:56:53: Request bot not found: { id: '231295150286187' } 01/26/2024 13:58:18: Request bot not found: { id: '231295150286187' } 01/26/2024 13:59:34: Request bot not found: { id: '231295150286187' } 01/26/2024 14:01:00: Request bot not found: { id: '231295150286187' } 01/26/2024 14:02:12: Request bot not found: { id: '231295150286187' } 01/26/2024 14:03:27: Request bot not found: { id: '231295150286187' } 01/26/2024 14:04:41: Request bot not found: { id: '231295150286187' } 01/26/2024 14:05:59: Request bot not found: { id: '231295150286187' } 01/26/2024 14:07:17: Request bot not found: { id: '231295150286187' } 01/26/2024 14:08:30: Request bot not found: { id: '231295150286187' } 01/26/2024 14:09:57: Request bot not found: { id: '231295150286187' } 01/26/2024 14:11:14: Request bot not found: { id: '231295150286187' } 01/26/2024 14:12:27: Request bot not found: { id: '231295150286187' } 01/26/2024 14:13:52: Request bot not found: { id: '231295150286187' } 01/26/2024 14:15:07: Request bot not found: { id: '231295150286187' } 01/26/2024 14:16:20: Request bot not found: { id: '231295150286187' } 01/26/2024 14:17:35: Request bot not found: { id: '231295150286187' } 01/26/2024 14:18:53: Request bot not found: { id: '231295150286187' } 01/26/2024 14:45:55: Request bot not found: { id: '357913897873858' } 01/26/2024 14:45:56: Request bot not found: { id: '357913897873858' } 01/26/2024 14:45:56: Request bot not found: { id: '357913897873858' } 01/26/2024 14:45:57: Request bot not found: { id: '357913897873858' } 01/26/2024 14:45:58: Request bot not found: { id: '357913897873858' } 01/26/2024 14:46:02: Request bot not found: { id: '357913897873858' } 01/26/2024 14:46:19: Request bot not found: { id: '357913897873858' } 01/26/2024 14:47:34: Request bot not found: { id: '357913897873858' } 01/26/2024 14:48:34: Request bot not found: { id: '546580786281012' } 01/26/2024 14:48:35: Request bot not found: { id: '546580786281012' } 01/26/2024 14:48:36: Request bot not found: { id: '546580786281012' } 01/26/2024 14:48:36: Request bot not found: { id: '546580786281012' } 01/26/2024 14:48:38: Request bot not found: { id: '546580786281012' } 01/26/2024 14:48:41: Request bot not found: { id: '546580786281012' } 01/26/2024 14:48:52: Request bot not found: { id: '357913897873858' } 01/26/2024 14:48:58: Request bot not found: { id: '546580786281012' } 01/26/2024 14:50:16: Request bot not found: { id: '357913897873858' } 01/26/2024 14:50:23: Request bot not found: { id: '546580786281012' } 01/26/2024 14:51:27: Request bot not found: { id: '357913897873858' } 01/26/2024 14:51:37: Request bot not found: { id: '546580786281012' } 01/26/2024 14:52:41: Request bot not found: { id: '357913897873858' } 01/26/2024 14:52:55: Request bot not found: { id: '546580786281012' } 01/26/2024 14:53:53: Request bot not found: { id: '357913897873858' } 01/26/2024 14:54:17: Request bot not found: { id: '546580786281012' } 01/26/2024 14:55:05: Request bot not found: { id: '357913897873858' } 01/26/2024 14:55:37: Request bot not found: { id: '546580786281012' } 01/26/2024 14:56:23: Request bot not found: { id: '357913897873858' } 01/26/2024 14:56:51: Request bot not found: { id: '546580786281012' } 01/26/2024 14:57:43: Request bot not found: { id: '357913897873858' } 01/26/2024 14:58:03: Request bot not found: { id: '546580786281012' } 01/26/2024 14:59:07: Request bot not found: { id: '357913897873858' } 01/26/2024 14:59:14: Request bot not found: { id: '546580786281012' } 01/26/2024 15:00:30: Request bot not found: { id: '357913897873858' } 01/26/2024 15:00:39: Request bot not found: { id: '546580786281012' } 01/26/2024 15:01:53: Request bot not found: { id: '546580786281012' } 01/26/2024 15:01:55: Request bot not found: { id: '357913897873858' } 01/26/2024 15:03:06: Request bot not found: { id: '357913897873858' } 01/26/2024 15:03:09: Request bot not found: { id: '546580786281012' } 01/26/2024 15:04:22: Request bot not found: { id: '546580786281012' } 01/26/2024 15:04:27: Request bot not found: { id: '357913897873858' } 01/26/2024 15:05:37: Request bot not found: { id: '546580786281012' } 01/26/2024 15:05:46: Request bot not found: { id: '357913897873858' } 01/26/2024 15:06:58: Request bot not found: { id: '357913897873858' } 01/26/2024 15:06:59: Request bot not found: { id: '546580786281012' } 01/26/2024 15:08:22: Request bot not found: { id: '357913897873858' } 01/26/2024 15:08:23: Request bot not found: { id: '546580786281012' } 01/26/2024 15:09:36: Request bot not found: { id: '546580786281012' } 01/26/2024 15:09:43: Request bot not found: { id: '357913897873858' } 01/26/2024 15:09:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:10:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:11:03: Request bot not found: { id: '546580786281012' } 01/26/2024 15:11:08: Request bot not found: { id: '357913897873858' } 01/26/2024 15:11:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:12:21: Request bot not found: { id: '546580786281012' } 01/26/2024 15:12:22: Request bot not found: { id: '357913897873858' } 01/26/2024 15:12:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:12:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:13:38: Request bot not found: { id: '357913897873858' } 01/26/2024 15:13:46: Request bot not found: { id: '546580786281012' } 01/26/2024 15:13:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:14:57: Request bot not found: { id: '357913897873858' } 01/26/2024 15:15:09: Request bot not found: { id: '546580786281012' } 01/26/2024 15:15:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:16:22: Request bot not found: { id: '546580786281012' } 01/26/2024 15:16:23: Request bot not found: { id: '357913897873858' } 01/26/2024 15:16:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:17:44: Request bot not found: { id: '357913897873858' } 01/26/2024 15:17:45: Request bot not found: { id: '357913897873858' } 01/26/2024 15:17:45: Request bot not found: { id: '357913897873858' } 01/26/2024 15:17:47: Request bot not found: { id: '546580786281012' } 01/26/2024 15:17:47: Request bot not found: { id: '357913897873858' } 01/26/2024 15:17:48: Request bot not found: { id: '357913897873858' } 01/26/2024 15:17:49: Request bot not found: { id: '357913897873858' } 01/26/2024 15:17:53: Request bot not found: { id: '357913897873858' } 01/26/2024 15:18:09: Request bot not found: { id: '357913897873858' } 01/26/2024 15:19:12: Request bot not found: { id: '546580786281012' } 01/26/2024 15:19:33: Request bot not found: { id: '357913897873858' } 01/26/2024 15:20:36: Request bot not found: { id: '546580786281012' } 01/26/2024 15:20:46: Request bot not found: { id: '357913897873858' } 01/26/2024 15:21:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:22:01: Request bot not found: { id: '357913897873858' } 01/26/2024 15:22:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:23:13: Request bot not found: { id: '357913897873858' } 01/26/2024 15:24:37: Request bot not found: { id: '357913897873858' } 01/26/2024 15:25:56: Request bot not found: { id: '357913897873858' } 01/26/2024 15:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 15:27:06: Request bot not found: { id: '357913897873858' } 01/26/2024 15:28:29: Request bot not found: { id: '357913897873858' } 01/26/2024 15:29:53: Request bot not found: { id: '357913897873858' } 01/26/2024 15:31:12: Request bot not found: { id: '357913897873858' } 01/26/2024 15:32:33: Request bot not found: { id: '357913897873858' } 01/26/2024 15:33:45: Request bot not found: { id: '357913897873858' } 01/26/2024 15:35:01: Request bot not found: { id: '357913897873858' } 01/26/2024 15:36:24: Request bot not found: { id: '357913897873858' } 01/26/2024 15:37:51: Request bot not found: { id: '357913897873858' } 01/26/2024 15:39:09: Request bot not found: { id: '357913897873858' } 01/26/2024 15:40:32: Request bot not found: { id: '357913897873858' } 01/26/2024 15:41:11: Request bot not found: { id: '565033343594012' } 01/26/2024 15:41:12: Request bot not found: { id: '565033343594012' } 01/26/2024 15:41:12: Request bot not found: { id: '565033343594012' } 01/26/2024 15:41:13: Request bot not found: { id: '565033343594012' } 01/26/2024 15:41:14: Request bot not found: { id: '565033343594012' } 01/26/2024 15:41:18: Request bot not found: { id: '565033343594012' } 01/26/2024 15:41:35: Request bot not found: { id: '565033343594012' } 01/26/2024 15:41:45: Request bot not found: { id: '357913897873858' } 01/26/2024 15:42:52: Request bot not found: { id: '565033343594012' } 01/26/2024 15:43:01: Request bot not found: { id: '357913897873858' } 01/26/2024 15:44:18: Request bot not found: { id: '565033343594012' } 01/26/2024 15:44:25: Request bot not found: { id: '357913897873858' } 01/26/2024 15:45:31: Request bot not found: { id: '565033343594012' } 01/26/2024 15:45:52: Request bot not found: { id: '357913897873858' } 01/26/2024 15:46:46: Request bot not found: { id: '565033343594012' } 01/26/2024 15:47:03: Request bot not found: { id: '357913897873858' } 01/26/2024 15:48:10: Request bot not found: { id: '565033343594012' } 01/26/2024 15:48:24: Request bot not found: { id: '357913897873858' } 01/26/2024 15:49:34: Request bot not found: { id: '565033343594012' } 01/26/2024 15:49:42: Request bot not found: { id: '357913897873858' } 01/26/2024 15:49:43: Request bot not found: { id: '357913897873858' } 01/26/2024 15:49:43: Request bot not found: { id: '357913897873858' } 01/26/2024 15:49:44: Request bot not found: { id: '357913897873858' } 01/26/2024 15:49:45: Request bot not found: { id: '357913897873858' } 01/26/2024 15:49:46: Request bot not found: { id: '357913897873858' } 01/26/2024 15:49:50: Request bot not found: { id: '357913897873858' } 01/26/2024 15:50:07: Request bot not found: { id: '357913897873858' } 01/26/2024 15:50:45: Request bot not found: { id: '565033343594012' } 01/26/2024 15:51:33: Request bot not found: { id: '357913897873858' } 01/26/2024 15:52:06: Request bot not found: { id: '565033343594012' } 01/26/2024 15:52:50: Request bot not found: { id: '357913897873858' } 01/26/2024 15:53:29: Request bot not found: { id: '565033343594012' } 01/26/2024 15:54:03: Request bot not found: { id: '357913897873858' } 01/26/2024 15:54:44: Request bot not found: { id: '565033343594012' } 01/26/2024 15:55:28: Request bot not found: { id: '357913897873858' } 01/26/2024 15:56:03: Request bot not found: { id: '565033343594012' } 01/26/2024 15:56:41: Request bot not found: { id: '357913897873858' } 01/26/2024 15:57:21: Request bot not found: { id: '565033343594012' } 01/26/2024 15:58:03: Request bot not found: { id: '357913897873858' } 01/26/2024 15:58:38: Request bot not found: { id: '565033343594012' } 01/26/2024 15:59:21: Request bot not found: { id: '357913897873858' } 01/26/2024 15:59:49: Request bot not found: { id: '565033343594012' } 01/26/2024 16:00:32: Request bot not found: { id: '357913897873858' } 01/26/2024 16:01:01: Request bot not found: { id: '565033343594012' } 01/26/2024 16:01:45: Request bot not found: { id: '357913897873858' } 01/26/2024 16:02:13: Request bot not found: { id: '565033343594012' } 01/26/2024 16:03:06: Request bot not found: { id: '357913897873858' } 01/26/2024 16:03:25: Request bot not found: { id: '565033343594012' } 01/26/2024 16:04:17: Request bot not found: { id: '357913897873858' } 01/26/2024 16:04:50: Request bot not found: { id: '565033343594012' } 01/26/2024 16:05:28: Request bot not found: { id: '357913897873858' } 01/26/2024 16:06:05: Request bot not found: { id: '565033343594012' } 01/26/2024 16:06:51: Request bot not found: { id: '357913897873858' } 01/26/2024 16:07:21: Request bot not found: { id: '565033343594012' } 01/26/2024 16:08:03: Request bot not found: { id: '357913897873858' } 01/26/2024 16:08:44: Request bot not found: { id: '565033343594012' } 01/26/2024 16:09:22: Request bot not found: { id: '357913897873858' } 01/26/2024 16:09:59: Request bot not found: { id: '565033343594012' } 01/26/2024 16:10:33: Request bot not found: { id: '357913897873858' } 01/26/2024 16:11:13: Request bot not found: { id: '565033343594012' } 01/26/2024 16:11:57: Request bot not found: { id: '357913897873858' } 01/26/2024 16:12:26: Request bot not found: { id: '565033343594012' } 01/26/2024 16:13:22: Request bot not found: { id: '357913897873858' } 01/26/2024 16:14:34: Request bot not found: { id: '357913897873858' } 01/26/2024 16:14:42: Request bot not found: { id: '231295150286187' } 01/26/2024 16:14:42: Request bot not found: { id: '231295150286187' } 01/26/2024 16:14:43: Request bot not found: { id: '231295150286187' } 01/26/2024 16:14:44: Request bot not found: { id: '231295150286187' } 01/26/2024 16:14:45: Request bot not found: { id: '231295150286187' } 01/26/2024 16:14:48: Request bot not found: { id: '231295150286187' } 01/26/2024 16:15:04: Request bot not found: { id: '231295150286187' } 01/26/2024 16:15:59: Request bot not found: { id: '357913897873858' } 01/26/2024 16:16:18: Request bot not found: { id: '231295150286187' } 01/26/2024 16:17:16: Request bot not found: { id: '357913897873858' } 01/26/2024 16:17:40: Request bot not found: { id: '231295150286187' } 01/26/2024 16:18:27: Request bot not found: { id: '357913897873858' } 01/26/2024 16:19:03: Request bot not found: { id: '231295150286187' } 01/26/2024 16:19:52: Request bot not found: { id: '357913897873858' } 01/26/2024 16:20:20: Request bot not found: { id: '231295150286187' } 01/26/2024 16:21:10: Request bot not found: { id: '357913897873858' } 01/26/2024 16:21:10: Request bot not found: { id: '357913897873858' } 01/26/2024 16:21:11: Request bot not found: { id: '357913897873858' } 01/26/2024 16:21:12: Request bot not found: { id: '357913897873858' } 01/26/2024 16:21:13: Request bot not found: { id: '357913897873858' } 01/26/2024 16:21:14: Request bot not found: { id: '357913897873858' } 01/26/2024 16:21:17: Request bot not found: { id: '357913897873858' } 01/26/2024 16:21:33: Request bot not found: { id: '357913897873858' } 01/26/2024 16:21:38: Request bot not found: { id: '231295150286187' } 01/26/2024 16:22:58: Request bot not found: { id: '357913897873858' } 01/26/2024 16:22:58: Request bot not found: { id: '231295150286187' } 01/26/2024 16:24:13: Request bot not found: { id: '357913897873858' } 01/26/2024 16:24:22: Request bot not found: { id: '231295150286187' } 01/26/2024 16:25:28: Request bot not found: { id: '357913897873858' } 01/26/2024 16:25:45: Request bot not found: { id: '231295150286187' } 01/26/2024 16:26:41: Request bot not found: { id: '357913897873858' } 01/26/2024 16:27:05: Request bot not found: { id: '231295150286187' } 01/26/2024 16:27:55: Request bot not found: { id: '357913897873858' } 01/26/2024 16:28:27: Request bot not found: { id: '231295150286187' } 01/26/2024 16:29:06: Request bot not found: { id: '357913897873858' } 01/26/2024 16:29:07: Request bot not found: { id: '357913897873858' } 01/26/2024 16:29:07: Request bot not found: { id: '357913897873858' } 01/26/2024 16:29:08: Request bot not found: { id: '357913897873858' } 01/26/2024 16:29:09: Request bot not found: { id: '357913897873858' } 01/26/2024 16:29:13: Request bot not found: { id: '357913897873858' } 01/26/2024 16:29:21: Request bot not found: { id: '357913897873858' } 01/26/2024 16:29:28: Request bot not found: { id: '357913897873858' } 01/26/2024 16:29:39: Request bot not found: { id: '231295150286187' } 01/26/2024 16:30:40: Request bot not found: { id: '357913897873858' } 01/26/2024 16:30:42: Request bot not found: { id: '357913897873858' } 01/26/2024 16:31:03: Request bot not found: { id: '231295150286187' } 01/26/2024 16:31:52: Request bot not found: { id: '357913897873858' } 01/26/2024 16:32:04: Request bot not found: { id: '357913897873858' } 01/26/2024 16:32:30: Request bot not found: { id: '231295150286187' } 01/26/2024 16:33:10: Request bot not found: { id: '357913897873858' } 01/26/2024 16:33:29: Request bot not found: { id: '357913897873858' } 01/26/2024 16:33:47: Request bot not found: { id: '231295150286187' } 01/26/2024 16:34:29: Request bot not found: { id: '357913897873858' } 01/26/2024 16:34:46: Request bot not found: { id: '357913897873858' } 01/26/2024 16:35:01: Request bot not found: { id: '231295150286187' } 01/26/2024 16:35:44: Request bot not found: { id: '357913897873858' } 01/26/2024 16:36:06: Request bot not found: { id: '357913897873858' } 01/26/2024 16:36:27: Request bot not found: { id: '231295150286187' } 01/26/2024 16:37:02: Request bot not found: { id: '357913897873858' } 01/26/2024 16:37:21: Request bot not found: { id: '357913897873858' } 01/26/2024 16:37:41: Request bot not found: { id: '231295150286187' } 01/26/2024 16:38:25: Request bot not found: { id: '357913897873858' } 01/26/2024 16:38:35: Request bot not found: { id: '357913897873858' } 01/26/2024 16:39:47: Request bot not found: { id: '357913897873858' } 01/26/2024 16:39:51: Request bot not found: { id: '357913897873858' } 01/26/2024 16:39:52: Request bot not found: { id: '231295150286187' } 01/26/2024 16:39:52: Request bot not found: { id: '231295150286187' } 01/26/2024 16:39:53: Request bot not found: { id: '231295150286187' } 01/26/2024 16:39:54: Request bot not found: { id: '231295150286187' } 01/26/2024 16:39:55: Request bot not found: { id: '231295150286187' } 01/26/2024 16:39:59: Request bot not found: { id: '231295150286187' } 01/26/2024 16:40:14: Request bot not found: { id: '231295150286187' } 01/26/2024 16:41:12: Request bot not found: { id: '357913897873858' } 01/26/2024 16:41:18: Request bot not found: { id: '357913897873858' } 01/26/2024 16:41:25: Request bot not found: { id: '231295150286187' } 01/26/2024 16:41:26: Request bot not found: { id: '231295150286187' } 01/26/2024 16:41:27: Request bot not found: { id: '231295150286187' } 01/26/2024 16:41:28: Request bot not found: { id: '231295150286187' } 01/26/2024 16:41:29: Request bot not found: { id: '231295150286187' } 01/26/2024 16:41:33: Request bot not found: { id: '231295150286187' } 01/26/2024 16:41:49: Request bot not found: { id: '231295150286187' } 01/26/2024 16:42:29: Request bot not found: { id: '357913897873858' } 01/26/2024 16:42:31: Request bot not found: { id: '357913897873858' } 01/26/2024 16:43:15: Request bot not found: { id: '231295150286187' } 01/26/2024 16:43:44: Request bot not found: { id: '357913897873858' } 01/26/2024 16:44:43: Request bot not found: { id: '231295150286187' } 01/26/2024 16:45:03: Request bot not found: { id: '357913897873858' } 01/26/2024 16:46:08: Request bot not found: { id: '231295150286187' } 01/26/2024 16:46:19: Request bot not found: { id: '357913897873858' } 01/26/2024 16:46:55: Request bot not found: { id: '357913897873858' } 01/26/2024 16:46:55: Request bot not found: { id: '357913897873858' } 01/26/2024 16:46:56: Request bot not found: { id: '357913897873858' } 01/26/2024 16:46:57: Request bot not found: { id: '357913897873858' } 01/26/2024 16:46:58: Request bot not found: { id: '357913897873858' } 01/26/2024 16:47:02: Request bot not found: { id: '357913897873858' } 01/26/2024 16:47:18: Request bot not found: { id: '357913897873858' } 01/26/2024 16:47:20: Request bot not found: { id: '231295150286187' } 01/26/2024 16:47:40: Request bot not found: { id: '357913897873858' } 01/26/2024 16:48:29: Request bot not found: { id: '357913897873858' } 01/26/2024 16:48:36: Request bot not found: { id: '231295150286187' } 01/26/2024 16:49:05: Request bot not found: { id: '357913897873858' } 01/26/2024 16:49:50: Request bot not found: { id: '357913897873858' } 01/26/2024 16:49:56: Request bot not found: { id: '231295150286187' } 01/26/2024 16:50:30: Request bot not found: { id: '357913897873858' } 01/26/2024 16:51:01: Request bot not found: { id: '357913897873858' } 01/26/2024 16:51:20: Request bot not found: { id: '231295150286187' } 01/26/2024 16:51:50: Request bot not found: { id: '357913897873858' } 01/26/2024 16:52:14: Request bot not found: { id: '357913897873858' } 01/26/2024 16:52:47: Request bot not found: { id: '231295150286187' } 01/26/2024 16:53:15: Request bot not found: { id: '357913897873858' } 01/26/2024 16:53:16: Request bot not found: { id: '357913897873858' } 01/26/2024 16:53:17: Request bot not found: { id: '357913897873858' } 01/26/2024 16:53:17: Request bot not found: { id: '357913897873858' } 01/26/2024 16:53:18: Request bot not found: { id: '357913897873858' } 01/26/2024 16:53:19: Request bot not found: { id: '357913897873858' } 01/26/2024 16:53:23: Request bot not found: { id: '357913897873858' } 01/26/2024 16:53:35: Request bot not found: { id: '357913897873858' } 01/26/2024 16:53:38: Request bot not found: { id: '357913897873858' } 01/26/2024 16:54:09: Request bot not found: { id: '231295150286187' } 01/26/2024 16:54:53: Request bot not found: { id: '357913897873858' } 01/26/2024 16:55:01: Request bot not found: { id: '357913897873858' } 01/26/2024 16:55:30: Request bot not found: { id: '231295150286187' } 01/26/2024 16:56:10: Request bot not found: { id: '357913897873858' } 01/26/2024 16:56:16: Request bot not found: { id: '357913897873858' } 01/26/2024 17:15:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b3c9bf2d651b3e92c487bc 01/26/2024 17:28:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 17:29:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 17:32:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b289d82d651b3e92c399a7 01/26/2024 17:35:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 17:36:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 17:38:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 17:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 17:47:27: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5975629722525329?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 270551290, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5975629722525329?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5975629722525329?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5975629722525329?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5975629722525329?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYiUy3Zz08e8c_wbVCOrkzd', 'x-fb-trace-id': 'AAaAttJpxXE', 'x-fb-rev': '1011043326', 'x-fb-debug': 'RZL2zT92zK925/9KF/DMo3EjtX7D5yre3qHaM0+EJnNq4ZhnwVcI+8qvid0A5YGQ7peNsFKaswBm9jydwKatqA==', date: 'Fri, 26 Jan 2024 17:47:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ0JC1QzBNAOM_--ysGqPRiMu0nxsVTG0-pZSTBIoy5V2nmQTUv7dJkMaVQ8TdKr1hGIpNmQ94_TJWqE0YOldVyuIDhplmnbhYB64wcGsHPmCvl"; e_fb_vipport="AcKk6j9_ROAusdJCQGukX1KWq5dXOR8e7lhxVnzT4MCmg1IEjmpVS-HLqRob"; e_upip="AcJU6_sxjZ5hnmU5yN70kItGsP_TN6kABAsalmXK8HNXjXhEHndy319rnet0yHSIOnw5ow0LiSFl-5yp_9_tka90b-jh7G99Vw"; e_fb_hostheader="AcJGC40fPcmjChn_Y20FROtHUS-GTuuIsB-2YB4WK84sijNhlYsDSBlhfXdRO1qKtj0Po5ZaTlPVIxch"; e_fb_vipaddr="AcINAIp4roli9kGNANGfJgxjON3IbNValfu8zh4Tu2Jmmcg5m-eWoHpFLqbhQLnG0971kFqVCNsztCwwHYuFtzn8TneUvIbBqA"; e_fb_requesthandler="AcLUPaDz3IHsZgzEf74tzL9STVPY2GXkRohT5JHIEH1AjSzqCrFXzRHD3QxA4TOXhPLP7Pc07Tk"; e_fb_builduser="AcIrZJJJlGwPyQ_rHTa8amDaCA_2tVxqtNohi8jw4oUQ9S33v4QHDgKQE-zwSa2A8Vc"; e_fb_binaryversion="AcI0FJKnnNPjWNUcVsnekOFEr4jx9u0BGGBI8DmyRWvSCCHF9UTcz27VGRGOGNqIE9V9zWS7UuWkV_-KetSHNsRxNV7dF-OsVow"; e_proxy="AcLPnLEeTcW-ebQJYMA5bmz9IP4PhoVvz0ummpG-_XR6Hyf6vtfyFTOvAf1uJ8wmN5L_sQQmOEcUaJc0AcHe", http_request_error; e_clientaddr="AcLN2wANyRW1L5lYUwaEIsulleHWnqmKvVBxMOxMt_Ibcj6VfPXAnPI5QvL80dT-2W9aYr3u3pItBfy3sQ"; e_fb_vipport="AcKxkTcJrW0YxdgKFuFmQmjeuMwJYO5YLzg9koZ3Z_x2ilzC8HvAQJzWkoHa"; e_upip="AcIx5nl3YMP3deLiNWR7OwWgkM3mPF2AVD238_G1vcq6lx-b3Art26l-wZfuC3YrZJiQ8W27gaKtCVZimVVZllECtPLaGTCuXQ"; e_fb_hostheader="AcL2C_lQgcQ30H7zAjQmobORhYQ5yKSSo7g7rmhVW1Sfb6gHNebB84snpnL43WJP8JUkXnFphAZXh5eM"; e_fb_vipaddr="AcJO_EhCbR2jkNoqIkVe3o5M2NbGPG-vstRIZaklUtNF2tRc4oxv-vJxy8OWPQ6ENx8gyQs"; e_fb_requesthandler="AcIRagx81TS-aG35NbK9cLOtOOc_Pbxbpvxq9f8LYzEZUTE6PVaxUJVZziWr9s3eHAmVt8QTezc"; e_fb_builduser="AcJ5NBM8n-ZnDt06ITt4l9sZxN-ZFcQWz0WCHtMqL6vip7aKMmkmyVY3Nr7aDE-iLqg"; e_fb_binaryversion="AcL3gBNl0ISKgM7s0Do1B-miYjr1fQ_KA6TE8Uw7UGdex0Q3uVwtjsUjrNg4-bdg-E5yo_MIN4jj3toNeFvWsz5IBy-lruY4qoQ"; e_proxy="AcJCVo3KrCQEorc1vAuHUHyd-seNsZAHyMTe2bTl_CdfVWn_w3c2dD9F9xVJJ7RHbEufLjp9GRLke35l"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5975629722525329?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5975629722525329?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5975629722525329?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 17:47:27: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 17:47:27: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 17:47:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 17:47:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 270551414, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtsrgAzuhNILoT4t0o0oFmk', 'x-fb-trace-id': 'DdU7Tc2YWqk', 'x-fb-rev': '1011043326', 'x-fb-debug': '5j+bhR8vHtqtp6vvtBiu0j9TvR513x9dwztzwj5xYhfRVzXEzeIkQsi3NbDNeUEdSj3Xr+AoYDOWexpYUZDBfg==', date: 'Fri, 26 Jan 2024 17:47:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLmtMjD-OWWEIWYuKyo5bwoZwDwjQiYJt7hL3JOGfhR_kjSCuZcTdLeK64oqy_eA8QcpmNz_vTn31NPbz3EDrcYg7chsyIiRaeE9GJcdqxn5bR1"; e_fb_vipport="AcJvIdimzaUiY-BCu6FQvbAwyvCKOZTAutIAmLsSrI_0B1mSXroR9BBrVxjV"; e_upip="AcIrokdOuN7j1Zc6iCXwYliVgNRy-ci24XzvBL5Mn-4A5w4WQjFWSgF_MU7qAz6ssWjF9KZn3GBi8xPhSO3ZiMYPOjcQsTtXfA"; e_fb_hostheader="AcJhoflsDQPofGVaTKWBk6aEJDRt1xPZsATpK_rlLcgYC-xQcoNvkp9wL0Yj2XoBELxEjQGyLgRzOd1_"; e_fb_vipaddr="AcIqKJI_JeeORpB7X7N_V8dxUKIhBmriDU9mrCTc3jl61_P84lqLLk4tnY6GiGMnPkUElcd1fmSUhXk0zyJ_JiQjQbVQIQPx5g"; e_fb_requesthandler="AcKN8gluJGV68TH5D0-zw_lIaTKWHZz3K86Myh672HEct6Bu-iyDwtoJBAh6J6LJ9sGIvbZqRno"; e_fb_builduser="AcKk1X85FgTUQoibNdTYUlpvhPYjeTlza9ysgQWwp9cvxhHkMuyzKnt6ekDJ7_IfuRA"; e_fb_binaryversion="AcLX-LUIrZq_KtMbtmsonLhloTKeLmWG7Nj1gMD_LELkQHrrKppuexWgQ9r5qOCRUUG_Hu2JYMBRT7rKOu8AqhvwiwwLa7e2RxU"; e_proxy="AcLrvp4030ETxDKdeyGKxxXGmgDPH9p_yqgSH-mTs9e6HOoNZsh6qDb6uN_L2o_auiC8elrKroYCFLqt3b1W", http_request_error; e_clientaddr="AcKimfjZ8ZiOiPuhQBOZpSP9OXE7sH4U8G_VrNtL-yfI1A4F2QmTM8Lsy8XrvDQ3ukR-4Vvu9eDFjTa6Qw"; e_fb_vipport="AcLH8z9vnDnohVrvk5810Ksl0VnM0TnGwRQ7te9KcAXKqQckEZyaCDtowQLU"; e_upip="AcJJ5u5kvU22Bm-PoaNoWp3uscvzJdEKp6v6Iipirsx6vlYWJTYeNhGGcnYGFkVBaiGcYq7w6gCSQZVDAfH_wTcLvNoW9WIeRg"; e_fb_hostheader="AcKKwCvzDxstscQ4LoGEye0dbLr3hXMt03IMruUkQ1SowgTrsaPJfR02Srv5PU1oXvLx8__9XLbVcfSx"; e_fb_vipaddr="AcLIGfGRbta9ftNxSx-MHI30dCPAq6Xwi3y2Slp5_MAjwa7Le-yvzqDSuzCmBk3ZONcY0Kk"; e_fb_requesthandler="AcKyvSjbOauMKtQtphpWwhH2t_5rvvQ2GoI9fNrmwvF7dtRyodCgeAf16axPf8pJIysi11bxPIE"; e_fb_builduser="AcLrMCRCwyJsZDcVTvMhvsXA3yAeyuBPhd6RZaKyDfnuvSZP3tHIkQIFjrs6MxSwJdA"; e_fb_binaryversion="AcLzDyXCrT5TNJ5bRXQ2aBXZkz9fgHIkOWS0PLaV3iJ8yJiHRPGGcjC7pqf_M4b5O21dmNPtlghzuxBn6DOQMU6uY6-d4cMxBJM"; e_proxy="AcIGlvTOaiGNyrCNkYmMoJVqYlAPDT9VaFdxsXvppzTQTjYDCRbsxmUu-S4rwD-2FOUIVBFMqmYn6Ys"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 17:47:27: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AT2H4AF1bZqbfAq4egeMgUG" } } 01/26/2024 17:47:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 17:47:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 270551486, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1Xi9OrIICT5t7NTw7PsMHx', 'x-fb-trace-id': 'GTB2znyfOc2', 'x-fb-rev': '1011043326', 'x-fb-debug': 'Lwu8hashXElL/I0yh9cBpiQpd8vVal5b6SqxyB6fkR70PDzZNNAo2TcHVBkQFHcIrfTVoaxFiJDoYXL5MRpOtg==', date: 'Fri, 26 Jan 2024 17:47:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI5WE8OA5AbUBvgC0TIHOCML67IJubDmREZY8BAITLO1nhpBx_6KonEPwIT264W9v-Jsa-M8XsDYyV4Yec7QKY_xywURJ_49Hdm2J-cpnMXwy8N"; e_fb_vipport="AcIbWUyPfSPDXIflg_9iNcHFklEow_k8dNSiHNcjUl13UHcSr0fiiNHsMt7T"; e_upip="AcL4aXCvYR3A_2DzoqUigqHk9z9NJoE4_mMQq5BxkUsvftazTjnFJxuogUXlmRyTb5D1X-gnH7dFb1Sqv9UwuNFdWlcJnhwyuQ"; e_fb_hostheader="AcKZrKo3Wm5yrp43YnIQtjCib2tuN6Gft4bmuOsICWq6qB10IYUDBZVOZp_fqYMFB2U9xTsXmSek82KD"; e_fb_vipaddr="AcJ-fiYwCpiukrHQA--LamXtyLvOMFi7cJ-WdEdlvsremuZ9thsjC1FgbscLzcUb_86lg6YecwB3n9uRuqG0RlUu0Rst7jRMhw"; e_fb_requesthandler="AcKOgJ82B3Y5dm9MQVrYm-qjHAqF7Qmxnvy8mMiIkIVS84QSl3iEIJlCttlBo0TvylTh9Q1TkK4"; e_fb_builduser="AcJ4rQUiqmtVX1WZrVrEILTL88ztNKzyuVMnXBCfOHCN601gh-A9F4pig48XpXomYrc"; e_fb_binaryversion="AcIW5HssBupaC4HJugETJqAhuY5yOEuVNBJ6nR_PoM3hR6PS-cGWECkua03wyTg472I8D5qIsIkiwdueoZRqNNzaA4gTP32yo9k"; e_proxy="AcIkgBSoo794fKio62FRWsbNj2HfJVTSotgWIDOCjhmgyMuCCk9NrBZKgoA8miRu5sl4ybBYYbZmvWV6WsC0", http_request_error; e_clientaddr="AcLTMxYPlWqUEzG4DqpLP3PxCmshSOZFFVLYPxrMsFgDCP3VIe1v7nkbFg0hsn2mIL9qHgxrYu9UkbLT-A"; e_fb_vipport="AcK27kmev1vH3hOv6PWRyYv3hOa_QtyQoxoVQFqLvc5zGQCLpJK1tcRAsc5J"; e_upip="AcKTdBGmSMuzdoEAmAkce5NcinBylsh1PvU41SEr4UHOOVhzsu6HIGvrMI89bjDg3Va8SUb0WiANgrV_Bkfi2ttTuz2m-parfQ"; e_fb_hostheader="AcKxE_rtwmtEV71gBhhkMfeH7CqMGTw2YIvOBCP1e6ZC8aaNZv48D_JPSwLT46oZoS7Oi-chJEh8BBp1"; e_fb_vipaddr="AcLC3zlL_hhNz_bX4YV3O7bimHPCf5nR8P7kKPWUK2Y0XFktQssBwD220yuwgo2YunJvgvg"; e_fb_requesthandler="AcKDakSjQ8IPKd7FaxvcNjJMjGTwbITEn64pdbILek9ygxAqMxA_gWN7-o-7eEHYm6t2nLh7y9I"; e_fb_builduser="AcJqEYNPi2b_KvqB2kt5y0imvI9D4ICJtkrYUEwuCknbMJJ67ul80VzCT0ZWvUhhwb4"; e_fb_binaryversion="AcJuMxCWGAjZr6-4ThaiW7TiMotNfpoQpDr9sThmGKwH3VBaual8oH3j0AiXa849iehyOdJxC5G9iQSLN0Vl3r3mwETr4TsUKuE"; e_proxy="AcIiKGyPdrL5u6HMU5HVfEdsNjMaYzV-62yiLnlz0Y1BvxgpFP61DG62-WHlaOSOYjctFhZrn6aqtoA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 17:47:27: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AMG-uD-GfvxKWxp4ZdtonxT" } } 01/26/2024 17:47:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 17:47:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 270551600, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGa4r571R5joYKZToHth-HR', 'x-fb-trace-id': 'AIXYbdmH4hy', 'x-fb-rev': '1011043326', 'x-fb-debug': 'FdS9dXvCxYBiofP7Rsqs68FYHrvbHJbCXobhe7ocFBiv88Dva236Ln/xwkeqAq/Hz6FDzpqbkrILAiJxI2hnvA==', date: 'Fri, 26 Jan 2024 17:47:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLqk5aGX9QTA5CCdF8jo2ZT24myRyZcSs27OeNRmldtBpr1ftszfxdihkJ3wt_xWYr9z4BbZ0bcFF7wOWxQHQncGrW8MPxMu99zXF9UcnRRrLRdnw"; e_fb_vipport="AcLuObQ64URLPXY8JW-KBuiMi0OFWDXTAC5tBZHgXHTNqqjEp7OSkmDyTCTK"; e_upip="AcJk49l1RR3GJtyYwULwEFZwUaNcUGvf_4AegNXupblY9LO5chYXjgRDXwOgn6tPntJizRCqBW5OzGgZsXq6D6DxNPHAAtHdOf0"; e_fb_hostheader="AcLFiFzncJx-6tDmJCwlL93c_TjRJQdZlfS3V2jzDn6qDLi3HWrqhpioTFn-COgOqwCQBatKZc9GFYeG"; e_fb_vipaddr="AcI1UwF6ScdC1C4FAto2On8TVIFheqSbPJeO4I0WXY9TCEpyJA-0D2NGHfeMX3eexLFpj36YKN_t08cQMH4LG9VQ5aekxx4saw"; e_fb_requesthandler="AcLDQFAtLPGDskzzF5_wfQ68CCoUculH1JtQ90r1lv74kJjpd3739SntIacwuyT5Trt-FebJ0rQ"; e_fb_builduser="AcK7dDSfKsLZCso4JxBK8Uw_41aL14QTUNOrvkOq7FYJGo4UO0TWyw7l-9VhzqIBpD4"; e_fb_binaryversion="AcKY_d76d3Jnmg1MXsUXvwqTzxLntiTdkqHisozvJ_0OAj5JWZIcY32SnGgFUghuwj3lXOqySmXkdaiShHxRDBDq41W9J1c5CMw"; e_proxy="AcKdLj-2M8FhAd4vdAi9JL0LID-LP0ASMA-08-MR39LDJ15ft3GgwM331hwxLsqvcSIbPgN3QwXWI8Ykn-6r", http_request_error; e_clientaddr="AcLeQTHW9gXKCoOuZvEquSSJFMXSW5zV-35CxHH1MZYUela0BlmhJ4pQZnctmn5H3Gq8hjkj5b1X4iPaHw"; e_fb_vipport="AcL3SN-innYKokkGcnM_xJsw6e6d7ibcVU2AYWF0BbM7l_dB7fGEN5IZdAId"; e_upip="AcJ086R6fMoPl7HL63_XOY4qhio9oxcRyXJrwbzqeFv8xTgH0q-v-vyDryx0diF1NuagUum188Uy2EEIqcAMzn2oF9xMh0ygoA"; e_fb_hostheader="AcLWLRYBf4T361w70cPo_l4bObM2I0WMGRoinaCaDGwcSiuFQz2WGMrbe_B0UFBIIhd29iglbtTTCEvT"; e_fb_vipaddr="AcIUKD9jk407GFt0v6O8Z9L5DbC7Hf56kR2ehy6CwFkSRXCjpzpesTmrQzMGtXh4yAiDC8I"; e_fb_requesthandler="AcJTVDuRl28pIxy8eHgm-4xK1F6oZALzQrfcv1CrbWvwmV2IcFxyiE_-KuyPkC8d_m8tD-lfm0c"; e_fb_builduser="AcLfR5z0eAbd12BVMPPzIuFEnA_YIVpSb2T7CwY4NjM6bpSmC2S21eweHqP-fYpaOAU"; e_fb_binaryversion="AcKyrOPbOZ214jz10yZQoFA09UgDl52cfxhbwB5QV76_LF2bjkwqNsiCGCbr8zbboXLCskGB26k3ZFW2M8jQ4gFLjuZySqDvHpw"; e_proxy="AcL3IgnXf6RuYP6X3ct5q-3PUNmRweyXvfGJocSQj7MMxgGrgI1bk_sWxh81p4h4tyQ17nzWGd_oluI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 17:52:08: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ALxvBwX8uK7-_gwdlIq11z1" } } 01/26/2024 17:52:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 17:52:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 17:52:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 17:52:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 17:53:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 17:54:58: Response error send one message => { "error": { "message": "(#230) Requires pages_messaging permission to manage the object", "type": "OAuthException", "code": 230, "fbtrace_id": "AbBiUbRVMj8Ia_SI6PduSt9" } } 01/26/2024 17:54:58: Error sending one message - async function typing Error: Request failed with status code 403 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', data: '{"recipient":{"id":"9935531199797976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 273015755, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, socket: [TLSSocket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [Array], rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 403, statusMessage: 'Forbidden', client: [TLSSocket], _consuming: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 403, statusText: 'Forbidden', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "insufficient_scope" "(#230) Requires pages_messaging permission to manage the object"', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnrH9M1XQOXE4SdCkul_DBq', 'x-fb-trace-id': 'A8Jdh3ijQvg', 'x-fb-rev': '1011043326', 'x-fb-debug': 'Qnrv/YmGgzz8Z8HlNHJg65aVS6BP4KjjzN1TwuRw8gQxfk0M0JlS4eV8qhrZlRhAIjhSIxXkA7/q8bWzZsHNbg==', date: 'Fri, 26 Jan 2024 17:55:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcJVpUSDrPUN0hAVRzqZ7D_pJK9fj3A9X83IdKU_I2ulkSW2DZQEN1BZxyFLJRdxs-MwMITUFIV2qgen3JlziIIuet77-YFu1OxN0epjcQjckr7EGQ"; e_fb_vipport="AcKvfCcuwlRVADgkSVV5Qxz6MAvQV8osKhQ7_mxaRcWDtPNjkzztv0yTKO_-"; e_upip="AcKylNAXYkE5EIbBX-Mn_qTE3il_v_HnRj6lMmGgnaRelXrA90on-hz81MhdWLfdWMRysqYfJ3EZWnyFIBnpKkU9_alfq51rk_0"; e_fb_hostheader="AcJXaL7_tnGGIbE6wr3QDzPwoGqR3KIFqIZ-VQSlbMqUKoGCZB5_pqeRuuTPDD9JHZRMlId6aJHpkVEw"; e_fb_vipaddr="AcLdc-XJkQZITD0gW2b924O7H9QiuIegiWAcqbHf-bLfrymY1h4e-Oa99AbVygVxECoHSX091WLW2JhHSw9BnTGnjQ-yUKCH2A"; e_fb_requesthandler="AcK1z6o1JbRU9mN1Kc0orQmrUSZLu9LxqX-9hPQPrPgBzVAPRWizgb8rZaRJL-T_cPx4unDBCp4"; e_fb_builduser="AcLhgu4U0l0dcn1UMVVHQjTaOZlGnzqG5tvrN39I4vnuA0LEWwFczW32xRCOlD6BE_8"; e_fb_binaryversion="AcKrJa_07owqtImw1grLIN4gq2IMPILq9UX6Gk5jTNZEx9biO6TsIG4xSvQYooh3hXwb80-BNsbenn4fW0pz4AndLyxagWtfONI"; e_proxy="AcKSViLlAB_nGDJ0978JIBDXeYAbP_WqK232_0pJwY2xSG1h9lF0ruzQpnJdGFTi0D5LJ0enjxtIaHJhDvzZ", http_request_error; e_clientaddr="AcI1Rd9Tjc_hpa84E-nvDLhIn7jA3IFWHHKbVnvDv1MQXOmZi83idJMx5b3EqMXBWWE_LT0agAKIeD9DRw"; e_fb_vipport="AcJgSbgMK1qO-ZqI6TjJS-sGNu8vSX-aj_rviwr9K6ZPwxJ7fyxvGL5Nc1B-"; e_upip="AcJxPQ1CnPgcyC8Uv97qJMyR3gw83UPj3XJApKXzjvZ93Htw-8VbVwFkzFitOACmltmTCboIFJiiiQXWdtZTEAQEjRLhuqaxBw"; e_fb_hostheader="AcKAV-WyTeXyYwtyJFbPmCmNx6q7F9vgqXH1ir9Ph1J1CKUoCyIsEzPXgFRJji1zT5rKfN1QlnIj7k5K"; e_fb_vipaddr="AcIY5yY4oxqc18y9Vs1cuL2B7DSV0HdB-nae5Bky3dxWIG2yiPYCUs3SP2umj3Fy3bolLoc"; e_fb_requesthandler="AcKSylidzwBAkDfEFMNk8aamGS9kyRhCfH1FBStqOqDLyVFfeSuqz6AqMbAVKASDCfIQrKxw0ic"; e_fb_builduser="AcL_8iltVzW-q-ByH3MgLK-vcLyVzxPAK15qDvMkTBtI6a1FEVCt0lwtswJJtBqBTv0"; e_fb_binaryversion="AcK2zhTRoAP9CBzjoAlMbiO2IZM0HhENT1O3udxIEtLGIZZGGFjZ_VpG60ivqzrsA53EIP4s8m6rfmFcvZWG6y1yfwinCEmJhoU"; e_proxy="AcKFZmOHgk2bfPchweAh8_pvnOmnfnTjlQXm2Ct44t1i-lTohhOBYSv2Xun212VE8kcjSSCQllIcW1c"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '161' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', data: '{"recipient":{"id":"9935531199797976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 17:55:01: Error sending one message - async function typing Error: Request failed with status code 403 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', data: '{"recipient":{"id":"9935531199797976"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 273039432, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, socket: [TLSSocket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [Array], rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 403, statusMessage: 'Forbidden', client: [TLSSocket], _consuming: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 403, statusText: 'Forbidden', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "insufficient_scope" "(#230) Requires pages_messaging permission to manage the object"', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1FcWoAR4BLjwDgv9oneMw_', 'x-fb-trace-id': 'FWfqkAs4IIW', 'x-fb-rev': '1011043326', 'x-fb-debug': 'SGfMrbse8750sFozleLs8an/F9h4v41d24qdD+wCnbyzQ8pVkZKPjXvLKRMyE8DhC1Ckas0E+hwb4ooT1nThTA==', date: 'Fri, 26 Jan 2024 17:55:02 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcJfl_ouc-kbdVzPEtPpw8qhUOZDJCEpLaeTmlonuN75nmXyhxX8n3uWKSkeHe1ATHRD7_d8HoxSzmmlQh5dzNDSE7ZuRzUhXzhlpFzzJwRUbJGxCQ"; e_fb_vipport="AcLrMBcfRPl3RLqg0ZAyHUluObpkSFlljtjysot3wm6fSq8SlmwdKO_D-_T2"; e_upip="AcLizWw9v_YkGaUdtmlAu9Emo3Jd-uHwLrYpWuiTMoYNG0Vsz72Jmvy28X3c0vydABrWw7CubOuHJLeHyrkhevzI0tyXUWLY"; e_fb_hostheader="AcJZ5Qh3inuMH17ontYQDSQNuHanfkR9IR6MLlRLkwRgQSHhOt0RkmbpFgbRe33AlpHrUwjuqFsRKGJu"; e_fb_vipaddr="AcIINP9odXlYrhIG3Q0S8awa5O34T4IbWBejVP278Zfo8zrBp_SL6fLlfs2pPUAl_xakMyZqHvQp4IUdVjm3O7zmliIzj5kUvg"; e_fb_requesthandler="AcJh_1k_-8TfQ7WuZtgfDGP7j2iqSCaDf8gapnc99KGHFBYBzGfBRuGD_UYvMPQg0sjNve4ilv8"; e_fb_builduser="AcL1YoMYm-JUwlROgp6QSN_MPIwOxYdHKFly-O1Q_sQT-0U7hU_lUCnOVmaaYdVwVwQ"; e_fb_binaryversion="AcKNZsCWO8lP_06lB4IjnHNcaOOS5X7nm09F_BhYJ0n5xN6cl_Vi1yWeU2muHerNzqCmej85tqtypr4GLBU_4tY7QtEY6qhqeWY"; e_proxy="AcLGH6S4pHdEyO_o8AjpFpTcQLt3LS0NCNnw4Hm_Y2p2srlU2LGKaoE6BCDhCXGdLv_0a8aMKhhDts3TPvo3", http_request_error; e_clientaddr="AcIIdszgMR6G1MGJbKzzjWqhpHKAoqgVQozsZCkXOuLzZ2TsCK4T58Qozsl5uq1ovzcDVPg-NS_7zV-1vQ"; e_fb_vipport="AcIms-ELTDBikfdQw4tNSGXs3lneW0siKIc3td04XRz7KwDEHLZU7xDW_rlJ"; e_upip="AcLfbnoQ5pGIBgF8nlJ4WTerf1lktbQbhrrheWZElmceNThL9U7bWweYJuQLLpKowDwu-WddRyVU_3mJjslVqsJeRCRnTA9dyg"; e_fb_hostheader="AcI31-Kzf_xUd5oXGlb2sYpql_ZhViabtKRFtBAfGbWXhvkRNRJIDjMXwk1bQz29CcMJbMLCeEb_1vsv"; e_fb_vipaddr="AcLz7hqROYsg1xi1FeDtkgygPuf3pM-ut3rE7UrROWm5aUMb5zqC3wswJmhrMqfehRVJofU"; e_fb_requesthandler="AcJNIBSTG8Jsyqbt896nkmQKC2UE_Mnx5P6llZ2Ttjgwc1s1I1F8CN-U3ENoo9vB0-5cCmoC5WM"; e_fb_builduser="AcLV10oUus-Yp7ZoosYOq-7gnWFyKZQwUZFuft7BBEdH6gbSU5xhtaag2EK20DqwSgU"; e_fb_binaryversion="AcKfbnbzA1pq8KIqxXOGJPX5X7XUXxEicXwl_9WDsonKIp_l3nGIZK-NlW3HhjpCuRvtmB6BFMXpN9TyBPhqDtTYHp4H9dBLJGc"; e_proxy="AcIq9DxSGpa1O0ua8PvoBxac_c9X3IDIWH_oe9Q0JOZvaiqfHmHnI1zF7kE9tSC803MBSYPEqgINz34"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '161' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', data: '{"recipient":{"id":"9935531199797976"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZCkTbGNOuKC644nanugAL9gy3ExnHyTqKmawWnnp4pfsKFWJcn2mNxfjEZBjlf36nXJA9yb1AadmhmRTe4sCs11gNgLGQoJL2g9pP53XyrrHymo9QcwlutjgBgkAJfZCLK6mNTxpKZCgMKCOapU8iiuEnWIkUOTGxjqrR3hc1SJl7Ydu67h', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 17:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:01:17: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "As_oHLyilKQwiRyAG7-Vssv" } } 01/26/2024 18:01:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 18:01:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 18:01:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 18:02:48: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AqXvNN03dvtBco68zIUwPR2" } } 01/26/2024 18:02:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 18:02:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 18:02:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 18:02:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 18:02:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 275656890, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A10yxAyhkkML8ERksiYzYPC', 'x-fb-trace-id': 'HitaoWHpoQb', 'x-fb-rev': '1011043326', 'x-fb-debug': 'ElNL7fovOLQpTxzOi2lVYVDJmcD2dLQBGlWjLEtniqrYvZleRma/XpBbsdfzt5lUlxKRY5VWt8pswqJdiFcpBw==', date: 'Fri, 26 Jan 2024 18:02:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKC_lLDBoImOJq4uUXVrIrIWL4KewEnjkTfbvN5ZMOcTyDZvNn4nbs1iXkaOc2rezvDqXO_JbGh3FLHMxSSSQN2JafF00bH-JoYogKR-nhFiY6SFQ"; e_fb_vipport="AcLQzdXkbHY_1lj9GfOXGGEstyAZX5efmfD_AAeJ53wI3KPpOV10VxxCXEut"; e_upip="AcLWA1JHuQmOj53F-wLl-8vLuhC__nUGZ9ADek0EHiObU9db99Vak0b1QitTS0TPFVxjEduB4a2CPf8fh9bzqkt5m8RquAc9lQk"; e_fb_hostheader="AcIply6r0wlfh5ghGs6OPYFLDUYC2X-VAzL0t_5by1HrJRe02jzHAU7foA8WfsoxUGJPex5tx8NRT-5q"; e_fb_vipaddr="AcKwHDYp5u3-BHxf81B9oA1qAHfziJAp2HlMkwZynlcktWmFphCHLRwmCVKORPadTKjIAIIuaJtttrkNYJF9W6PGK7KQPhY9OQ"; e_fb_requesthandler="AcKhFq2tVWUTWl65_pCN_9dEhavYhnRBPZoTpE9GkBO9Ytvj2iBSUhTsgKMA0P-MjePpeqljtF4"; e_fb_builduser="AcKUVO4u6utMiwQNNwi8N5pRC5EbebZBIsIpTbXG4v3g2PJrB3K7wol_B4u5F33TIKY"; e_fb_binaryversion="AcKpRC76gzVfdQf7WU2iGRbOr45hNjcWn1evKT8XMBs6EisUDGEUHkf0-F8JisP6hVyvaGztdxrOk_kKNhbVTQiq7Dcl-UHShmE"; e_proxy="AcLO6pPl9ZYMqm9Rgdyho6eTqBnRlnewe5dv4C5VOe-5Bh1L07z0VDIf2H9Yg4mO6Wu7cyqITplNl_O226Wo", http_request_error; e_clientaddr="AcKPIvNSP9paBBddvulaoPEBt5YBiTKUnRfCjjEvmv7WBGL429NJ60yrDvuSCMMpCpWs1ISb9gXVpKpz7w"; e_fb_vipport="AcJQff0TLQMEIYeIwutjs7tnjjDwIl61nqvMqPHbLhZRevYgAzoHfP0Ue4yM"; e_upip="AcIh58kKQJvf8R_IDM_fzG-NmZc6JCbvecf75PUlKeser7pKSlN2kxWzuWyTQc74UhckwXfo8yqW7ASGG-DdFLCwspJYz_-Tvw"; e_fb_hostheader="AcKHVNeh8JYus4j7Zvv-z3kl_PdIaxqm_PfcCMuVdC5BmhjQ5Wleszb3d0uE5tEXX_LzeCrXza1cjDvB"; e_fb_vipaddr="AcKzJxYM_R1pHv4Vq9PFYkmHNC912evKmwNLHmLUPhghZDfTOynY99p7i6Mb_zjqMo4i-ej2Rw"; e_fb_requesthandler="AcKx8_9dpRCMAFrv3qdyasZenM_7oOlYrReirjxQCHFBrNVd7slxPCLxeKOHF5cUbF5S1PVyFX4"; e_fb_builduser="AcK9N3OD-iaQnJIw1vut03R7JdUWlZeLC3yJubeIpR_r3IA8L5GxueTL9jhn_weSnFc"; e_fb_binaryversion="AcLKUXy_0qwBzQVc-eWKxQtproFCvwV2SdPj8uZAIpRWPznV__6quXkdd1CFKporaJ4KO23am8Ds-FMfc9x8zBGyGvF7_LJWyRg"; e_proxy="AcKcJx45-W-U5Cf9pzldN7qZpExXcNgr1AhmEVERE09JyGoA8BmeRqrzw9iepbhnH-S8FqNG1Pl1YX4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 18:02:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 18:02:57: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AM9iDGVbUaIn-qYbhjfbzxJ" } } 01/26/2024 18:02:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 18:02:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 275657039, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjiCOHR3tRb22MFiPasIuAe', 'x-fb-trace-id': 'HsP38JjHMqA', 'x-fb-rev': '1011043326', 'x-fb-debug': 'jNBAVlGv+QGBIYqI/wu0hKR4RIA53tM0uWG0shno4AhMKXx+c+P1Y0iOrpPXCMPuWreLTfRc+/V2IeG3Fserrg==', date: 'Fri, 26 Jan 2024 18:02:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJYnsIu0jHPfGLLfjfkgUv7uMlxXVT8zxWT2245-dpm-UuDUZb2mqiIvDmg901JtfU3SOJ8qw8CLLrCgBA7_yjUIDGa0K-S3RcwweqOpDMB-dsL-w"; e_fb_vipport="AcLQA8JYyDGsdDuuZpok8dFfUTVoDU5Rk8u7zki1GbiGBSBT2Ad5C6r1W43X"; e_upip="AcJJNuMEjTzTxzdH8j4wOFpbawJRhT7i9Ne5X6stv6sLxWeX6x86BHqaYofvQt0nmBk10dqvRNhQUnijJvopOcYjib2w7GM9Yao"; e_fb_hostheader="AcKtG46HL-uz3QrpL3WEabKeeR_APU5LtNMwxKsG-Pd0Y545FylsbHuTzkYtyeB7YQmr0Im5lApEad98"; e_fb_vipaddr="AcJBRRQmqnuc1kv2NWQ2F8amx3kkTkZwS85fPdVY69mRR1EjA3G_WVWMVd5SGZtVcWFetqFotRXcYwHtFAU-VdWRpRWTHe2iXQ"; e_fb_requesthandler="AcLTFpnJoOCoX9Wk0JseN8rOSUCBmPLL-YmPs8a9MVYxfH3h0T9pIVv0mKQ-PtRHxY9BF-Px0-A"; e_fb_builduser="AcLt-gLOwa8uhh93FKVke8p39lDkObvkk81MiQiHa1f7FSSvL1zmsSiATjPUlOAcRuc"; e_fb_binaryversion="AcKz_95_7SflEVH6MYzrDtMDXHL67Wf6phYy-vviNAF5TbFcFU4q6hutSPGb8SA2ogUVcpRdOvcW2AydzbC-A1oWSPzCPEhcBr4"; e_proxy="AcIbsE5zNpHth-ofxhoAFluoxglDZhobhS3LYE5kBcfXtdfVTBPsE86IzahciRAC3vhC-5Xjd4FCqr7dKU7p", http_request_error; e_clientaddr="AcISm0GiZZ0uI4U1vq-6E14DemiD1laKrtdI6Rix7_0hcxVeNf8uRwCVOZUbP8_k6bNnNAWrJpCQZcqN2A"; e_fb_vipport="AcIYBPw0yFe6F1yBGqquucy6vBdUC-ukewu0HU2rcApXxvYTJQ6lnRdyXsEe"; e_upip="AcI87WTUip-iXuVefxLBpnTyJviv6lKF6vV6el00CZa8MmcIhgP5DamFsiMIZSQoGReSM8-FCC6-71z3HTJ7rvqnRvGqDq1v8A"; e_fb_hostheader="AcJZ3n3erYk7IZjElt-FnuwJDmn7_ZRWaov48KxQZpvgCvC24zozpAwl7wRTxMXInOXssVYwW8sRq6-g"; e_fb_vipaddr="AcJKc2_ixO4hY-mVVlScA9jL6pBsxkvi_RYeoQ9RevKXvCc1PRs_3CE2rAHq4sr8DITBslcBaA"; e_fb_requesthandler="AcLGyNx_RCeoCJ7x0s-MUb2mLTmAL8HUK0r5io0gzbCcECqnBdmzYXiD5oQoTqiNutR2LRKsBis"; e_fb_builduser="AcIYdFKfI2r7UfUda7B786XVHGoaThYd_5qStOv9N8fpas5_ft8hC0xChGHbf5HKe90"; e_fb_binaryversion="AcKLgR9OUPKhQXpPAHSiXxMC7h0h3h8GslGlCvmWB2Fm-PlI2FxS9JtbVavjMGzc_dovJ4R15jzlpMVFa3HCXddlrdnStYvZLPw"; e_proxy="AcLTXODiQlJgMHNcrLgvCHvTtJwmLOyUkOgUwMQnowQ9ejK6efwqhFu0BgMgPi_Bd6ZxV3Xk2MHJTBU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5975629722525329"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 18:13:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:14:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:23:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:27:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:37:59: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24677689211877736?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 287409826, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24677689211877736?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24677689211877736?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24677689211877736?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24677689211877736?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AymBD3MHiTrE1bk-0_aUoJT', 'x-fb-trace-id': 'Cwn68GwT9az', 'x-fb-rev': '1011045420', 'x-fb-debug': '+o38Nm935ToN6Vx1JbjAJwIC3wfFCMtd4swF0jsNV818J5UBdh/txqE+3PNiRD3c5xYTt31DmN3XGtJv20br4w==', date: 'Fri, 26 Jan 2024 18:38:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK_za2P5cbCXqavH4vffGiFQPLC3eoQ_xHKSBXj1IKOrOb5Reddt5M71koa0Ix7YQFWiYShOcEfLG8wXW2QMid1iWc2Ynvoe0WekRBgKr-efUWf"; e_fb_vipport="AcIzTqynSGIXd5jj0rc1_QTRgEPTZlzjX2ZWJL7_Ni-GB6TASLgGGmsSo5p4"; e_upip="AcJueMM6jhEIfCoDXjEQl8PdbPsiqjqe81gHVmsBl3GXIhSdSmXLvvZnA-WsGrhLzlbDjwzC2NsDJl8RNS1Hx5y4V9-vw4pO_Q"; e_fb_hostheader="AcJqNg6xX5KhXenTAjyumtNXsPbSOtplU2H1Vcl1WNyFQ4sQiEduRc7bOI4FTom4jd4LNG_EtzIc_Hi1"; e_fb_vipaddr="AcKOr7M_Az1cFxGbiubiZB_Y5o1wQoBJ77zmJuVS7TVLh4IphSglwgq_6uifVzfvelmo_4D9B7oydEFdH367v4LwpfgYRG89oA"; e_fb_requesthandler="AcIIEtRWuIaE25voARuAPj096DgNliysyKrJp1HYMRTRAxbo5w_r7KgSNR2SwYldTJw5uWROLOM"; e_fb_builduser="AcJw_6Rn5SSRTKXLhGRGs_RmoHVTlHW9vHot6RgkTUMWqCKjWx2PEdeT3Lr2PVR0rBs"; e_fb_binaryversion="AcISIOEat2lOMAJB7TUKiPnq1hsUjklawIm2qoxk3HEkXHHvz7wkcGiv8ixBNZ-iqSh5LFs1kiQoWhTmnqqjHR9wE4V_Tff2YIY"; e_proxy="AcJBwM7Y9pRIKbPSJhJNQMMTkGpVxl-2MeC0FVI5AII9TBHWFrCtB3JxJzHXsqzFmBgbANIffAUju8GRoTKf", http_request_error; e_clientaddr="AcLJ5Jtc2es4sTyXXHk-pT_kn9O2Mx_5LLIxZFIgbERUcI4SDgRRxwyNULTwQY1YKdM6yp9jYsSJ57E7tA"; e_fb_vipport="AcLLUK1l5UucM6TtFt_Q4mEwGJNIk6F1_sxB9QQ_WwUNsFPMWsbtYHSjYOK3"; e_upip="AcIVEXLrKqqhK92s8q5MMEd2ZmWdNd4E3LausuUjOsu63nFU1OYdNKBhZC0EALPUe2o-yLVavUem1pokmY3PkvqV4XfMypkQLQ"; e_fb_hostheader="AcJcyln_deQ_SFR02P1RPl1uzY510GsDKrd-8_Vl8dlBqhr4X6821fZfn3yQKc9UuO1MlaDmWYi9uTc7"; e_fb_vipaddr="AcLRin2jqCeJcFWhL_Cr54aDzT2wxR-A5p9izlu0-jR2uSGO5Y9mw_uGIQBp-DlHxiOntxY"; e_fb_requesthandler="AcIfvM4az1_5Ubxwig3c6T19R-WEj3ethFBsPMJ9bPPfy4-rKRpIXwLWVCGQHncIdDEhtTURuUk"; e_fb_builduser="AcIUPqzV58M5jDhfQHIKaAzio1qWH7Oy2XJYfPcHhmKbdTixGhYG5erRYH6z8Md2Q3A"; e_fb_binaryversion="AcJ8Ctxb9DTqPgF4OYM72FgN9BY8ww6NM6Q4JY2UKg-vhrrTZzpgJJZ2MEsZ9Rkwj_gQvMyAm0MIBRM3Mj3v2ojO73bsdMXeWks"; e_proxy="AcJoAu0RjV5uxgNTcTjVQLmdLm5QsR8GqlPF825UZMbiZ1EPPc_TgqgoLvW2EbM--ADQmb4Jseyszw8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24677689211877736?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24677689211877736?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24677689211877736?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 18:37:59: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 18:37:59: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 18:37:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 18:38:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24677689211877736"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 287409950, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMMXjg0TF43OPllRzeTWTMc', 'x-fb-trace-id': 'ALKHDZvHU1K', 'x-fb-rev': '1011045420', 'x-fb-debug': 'aLzTpESCzFmqzq6sOQgYYYW12Qr92FpC7Nuc9PkddrqZudyE2fDpjqZXBgLRmovnvsakOHqFZLty0/YYH2R++g==', date: 'Fri, 26 Jan 2024 18:38:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLH98FGfT3imePHgWNYhdG1_oK1-RLpRNYcWYdFmLvURJO2x7LakmNMsQ_6pcmoiB5qvKe3d6ZHTGF2E4hBSKmugbZYjYU8npcOugYRcI8oW_5T"; e_fb_vipport="AcLRElnOlDZYuTlhKY3V9cWaVw9n-k1mpX4hxB9M9fTEaGlepvMmP1nNU7AT"; e_upip="AcJIXSKbDVOG2-ptNkA1dqyH6x26QN1WNTS7e7sZNn3w_c7jkcchq_PZtLBenheQuxtTrqmuKYh3WjuzzpePYHzoVEbsqJZiqSQ"; e_fb_hostheader="AcKcvJH49UcFS2cJMYz6VjBX-FLwkCDzwd83-huEkE18i44I4uuOMiNgnyGtam8R0nhyDEK5_C3QoGzd"; e_fb_vipaddr="AcJ3ZkciRCQ4rmjh7f8ARrIzLXqynMSnXkChzk7hWiyD58W5u9chz0bZ-OcFn7ymr0YEzBsrUdNPC4uypxuobHQa_Ue2c0ilWw"; e_fb_requesthandler="AcIwx-b9PYpdqzpvGYKAI0GRNNAOy8awXnmFh05t8WGdldk5eALQ33xhednerYaqXufvQb2X6wM"; e_fb_builduser="AcL27wD1sJYSIYQy_FN8d7a16ljzwnJdPit1QLY5jalGYmNYGZe3H1A-yuT4lvK35ZI"; e_fb_binaryversion="AcKLp9zSq9q8HhojyhNroknaivAC9XXw4YDuyLuc6Zrlx_tg9NjxAu3ugDu0ldBG_GIAQZwdQwahgSmJWaLKCiC8DDlA2Nq21qE"; e_proxy="AcJt1VHT58NcLm8Mmk8soPHmVLkzfgiiyYeqX_oPe-JuFW2Opk50svSY_NM_hwQtV8Pdl33PbkMIZ5dhSCFH", http_request_error; e_clientaddr="AcIP-8inydhLICDv3RgKxpab9HuxCU1a64M-z9HLNrQwIL0p_ppOc1Oc7AK2gwIX2N1fqcj31-48HA5ARg"; e_fb_vipport="AcKh1tQcxDjNwpjvT8FDvZpLTkegZFTsnXxZP1ryrSYHteiigxF-AAaU1Ibf"; e_upip="AcLwdGKqyojvJ65ZuYUJCtTpqV5jrDl3zXSlu8qm_4vHTu-7Fuz9CMw3P_W6h7L7ZlNFq6gnaNREQ82P2To5hqE4bTGVm9J5Jw"; e_fb_hostheader="AcKpwA2gquJKs_plTXxeUoOEHoq5bz3d63CIv6hn0N-cz2ZXV1sNz3K2cBwU-sPH2ACmru3kjne0_B9U"; e_fb_vipaddr="AcKUAUNZybQR0CfS3asFHDPxFWes1pqlSpgumLmitQ4q-Lh7W_-Jil-S4QxMbHmcZUZE3ME"; e_fb_requesthandler="AcKLjLENB5lcQ3F5PC3njyrExHfCYkvehYeuUIroi6C5rKsLH097LA4gaMocjQp3vHY47ViIfyo"; e_fb_builduser="AcLV7Uv9s98Ix7nAI_yTsfZxbjOnZMlzVakkaiSAn3kwxgXUKvlBeapzrYwHFD9cQjE"; e_fb_binaryversion="AcKieaCJZ8kbnWnF5e8JNeuklDQtBpFW-dCV8UhCIVYAZmypxMjgEkozwo4izBTOQw_gPpCTrsqe9WMqRHASci3onEegccJWwHg"; e_proxy="AcKc5sA0b_JoPS2Fukpx-9ss9NDWo0mf9GuD5cXo_qTrDO1fKXjLskpKOg3_EVU8wCEpAamwk5pY_Fs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24677689211877736"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 18:38:00: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "APc_J-cGfQ0Cak3MP-WxhYZ" } } 01/26/2024 18:38:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 18:38:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24677689211877736"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 287410022, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Awo13FTvCEl0FkGFfdxXHZB', 'x-fb-trace-id': 'DN/64+CZVWY', 'x-fb-rev': '1011045420', 'x-fb-debug': '977SxzQt/nQx/+N92nOh/qzJInjcscRzxcMfc25zx2We7B3bVWWBlgKb1FInMWq0UD/ZrFuqKoCu3slWw/20Bg==', date: 'Fri, 26 Jan 2024 18:38:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJiwU5PWLt_nsWI1aMd7VYSizZn4RsJoBJaiwe4P4l0Wc-bWHLpLd_gh5vTUlgCUopvfWUraKVXHkbNCu--ux0OhV67tBQrnsprGyBWhwMuoAMWfA"; e_fb_vipport="AcJqfOnhc6_PzlhQLcL34oYtArYWdx67st64y5C4Q0zqlxHeW7aXfZa64zww"; e_upip="AcIgswvh8V1S9p9HKDVzjcA1amMahO2-Rv7BlM-yeRRwRpeXuwSZVwU6r_B4XHfCpd22YO_fIJA6ePulRDQ7mOE0afXOiF4xBLQ"; e_fb_hostheader="AcK5L4FOhZODpbJCvfnL56NbBX8Lqph0LbZvn2Pqsvt7C2gyQoqfJ-A8vS_jPOqbHxR0Be8YDOv-MPSd"; e_fb_vipaddr="AcLLywSwoU822Mc2e_HYeleMRH7BOFtDvuXr4FkhEL7iePjmRA4Uh4yrBbKReM_ZOreR6FJclrkJdNjQ8mQCe99Sy1E5_f7-Rw"; e_fb_requesthandler="AcLvuG0Rb62KphjAV9JJBA96kajFli4IbZa9-ehRQu5PZLrz7IIE8NsbxKWxgaLykLOn-fw_zms"; e_fb_builduser="AcLyPIZOc0N3vEffoVYwPSLQ5-BkdR1Gz4MIZaNzjOb6eiU1Lx8mx8-Clr8M28L6jlY"; e_fb_binaryversion="AcK6geDG1w3-CopGVvKc27tPSAPnOfYPombXz_5SRyE3HlTrZ3phQsBRHMt9jpMeND9pVzmBkqRM-w_L2WvW70aF1XkcmSwcoXI"; e_proxy="AcKgR32pwbu9yXVuMk9we2CwF2nKL0oMQPPE4N6tat4GD2yPvfEXDNsobzY_2APLBrxDs_0FuV-y6sWTjHxr", http_request_error; e_clientaddr="AcLAwwpvBR-SaE9ByfZuMVmRYSuJQd47MkbfuDSDBUyyyyAiRO4XJKQsxJhXpB6cav2-TbxWKZrXpKczVw"; e_fb_vipport="AcLBAyrM9pXhfw1qrp1-2USL9C3CNlHMLG9Uo_d6TSFGBmEsvDrZxWs7GDMD"; e_upip="AcJzjXaQov2hZvN3u0AE8XcpAhKjc_6Qm_xeaukJc5nHRdOnz600Y2vwvkZfDB_Rw6u91z1YBjfPSVrNuSxMvb8sFtmCPrve1A"; e_fb_hostheader="AcJw2gBfKcdjIvLVUFRcr8r2f-7_TNNFce4D0nESOEsfS6KwYWKoBEUqNxyqUjq0MOibMyPEoHou1EKa"; e_fb_vipaddr="AcJ7SOiX-68P9LspN__tGOZiXflrBcSJDoGzhOG6ku_CGJ6cDXR69CRY8hZh0Vi3KKguB38"; e_fb_requesthandler="AcJcqt5xXByO4z2FfwSaW3CxUC2wjFN1VAMmGobZT1iER0tiFE531vKXaUIOcc1rySqtApuodYo"; e_fb_builduser="AcIvEAd767uOHeLuarySU1PdxpSxGHwHX4jHSqnmmtXKMY9TG4nF7n5OJHb4izVru9c"; e_fb_binaryversion="AcKcOGfLmqmEV5pVXYVLqbONt1VZWX-Bvm9j7k1tUhu04n86UnJ4CqrmN8q2gptAFrcuo-JCdllpEIIYNlViWhOiDABR7s_UCnc"; e_proxy="AcK9goRYE10dO6v2EsgQ7HFJT4ItnnnmvhsyzXjvowK5m2RcS6cSjdgjJkpiOUv6OARsxG7VeHCc9DE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24677689211877736"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 18:38:00: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AKwuH0n-wO3g3wBtKBbI5jy" } } 01/26/2024 18:38:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 18:38:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24677689211877736"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 287410136, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEvknlPw96CJhFQ3huKGi5E', 'x-fb-trace-id': 'H6g4dCN/h/b', 'x-fb-rev': '1011045420', 'x-fb-debug': 'zylZ32Ch2l83ldmN+922I6Lv9VgsgE3Y2y2LU6Yn2LgG4zVN0dylBpwWIA0MV6zVEldZzx/y2OWh1jkvGqv3fw==', date: 'Fri, 26 Jan 2024 18:38:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ3a29sxLYTZhr6kSJqcSPeBQ6dRdst3YY0DrdkU4rzjX3x52aBkk1FjNhrXN7qVLL92FvzbwUkDRHi4xAcT6bClMAbEq3F-J3i60vqUnVEwEpo"; e_fb_vipport="AcIAC-dduOxjq2dtCKC1hhRXzJscFL8Si8uziTrs0WT8y1-_3vXObfpqhsw4"; e_upip="AcLO9qCB2UgaANTpei8jTrjd_mKlso8-FNs7qD2DeT5cngs9mHzLuw4vqOGVHY3HillAA5vZkrhzXDHdzv9H7FLVYvcw7k7aUXU"; e_fb_hostheader="AcLbCrOPPsaO9FWZH4NpXY2N17ODMivcZ2CqO4EIPPYCwT1BltrTqpRobzmjK4WGDfXYpqQShIgQQZMv"; e_fb_vipaddr="AcLhpA9oPT55HGb9fmUTabLbVVy04-m-5QvRALEivBE1mKmcPNN--f0c-nXlb2Hi_lZPSf5tWYv8kTDQm_FMWY0cb76azvnC9g"; e_fb_requesthandler="AcKgMSPhmWBpQUjLlZEq86Qw1idHX-hiNHuwf1q2qIe0BfQprposUC-e8T54erdkTDH6M02fFR4"; e_fb_builduser="AcIVkITKZ-z6QIomy_Smx7HDsRmFpr4TKpPTT867c0RCR3G7LrrqVHOV8D8jfZ5AkkY"; e_fb_binaryversion="AcKTqe1MS4foaER0NPRUaUk5vXOFpMgR6Icz2JOcbWZJQQs9eLGvOYQRbbV91DjSJgnixOeUpu3AKigLjSvlaja1WwQy7CRJEP4"; e_proxy="AcLNsBoUxFnl-x-RoLM-yUAGHkBlMC51u6y5V2Vo_5KvcgGTe6zwmuk3BJSOZfOmbOso3hyLd1NlyHHmSdVu", http_request_error; e_clientaddr="AcIwN2onlAo_HWMPHln64LxmKvNCP9PqTT_EUpcc7W0eN_O8pE6zDPsPeFB7IqWk5HmuJhdF55Z9tKI5Gw"; e_fb_vipport="AcLK1iDq0JNRwdQQSJ71HCEf80z8HzUvUNmhxPs9Uf0XeTieFHTMoahLfo4M"; e_upip="AcILKU4HjYiO5kqzlvCJjDTwZ72kXvjJbIywgpATZ5kauraDF2Bdn_9rGUZunZrEdDx8JrOmGIWxpoOVW9UOced5FiJaFTpd-Q"; e_fb_hostheader="AcJt3k_5qg2YjmUN4mctTEMPUTaQybFpn1lm-Pj6m0LgACqIyjNzRBjb7BXoHtXQpLs_W9QefvBFbeZn"; e_fb_vipaddr="AcI2W9EfJq3MU_AdI_N6C8z-24b5uKGU3YZafArhCqoW3QkQxCDpY0HjHYdU6omWayQQwTI"; e_fb_requesthandler="AcLOmBKxtipW87rqA_ogbic57t-6b9AnpUgo1FUwkwjPSh-aX0XqwVJIyAyNpIgAvayLIzMvGjY"; e_fb_builduser="AcL_UP0rVYaW7-r4CzbgC3fbK3_yiikT3SHGaCw7SXPZBBTe4Lk6l3zFYseK8bAVDLI"; e_fb_binaryversion="AcJce08XbXvDnImnEKnltlohz0JLSgHUw_kko2zs6CacqE5hROqo-tqZugSItFCsvBzZo-8j5PJ5rdESErSLobjdZfXgHT4PclU"; e_proxy="AcKksPxZ1Z-z7cRLKad8T5dRkxKYt9cb7JVJ88UFr_QFDykJhKuzmmJl6FTGhrl_d2KVgd-5i_6jwWA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24677689211877736"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 18:43:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:44:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:52:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:53:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 18:54:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 19:04:10: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 296479762, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 26 Jan 2024 19:04:12 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 01/26/2024 19:04:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 19:04:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 19:04:11: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ALLMGJLcDIyodCLKHNWYH_v" } } 01/26/2024 19:04:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 296479875, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AeWAwFjbWhBof0YOVC2NhZw', 'x-fb-trace-id': 'GIlW0wslJly', 'x-fb-rev': '1011045420', 'x-fb-debug': 'bl9QcSd6AA1/qGpwZwBQEqZlkoXrZBw/pnXHUiaM2+kdlQGTgsKlMsR+3vAA2U+JaHCKd7MF1kirZ3QPjPj1yA==', date: 'Fri, 26 Jan 2024 19:04:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLvSPNUfB4xuw035flMnhbCJeBUiNt7JSvLxj7VvHxyfHytExcOlDSmmt9wWzZiC66Ku8tJmrexGlpbC4_Bd1tUUU44CmJliiZrEZfsjoYiaaeL"; e_fb_vipport="AcLTbMa0JvLqJ1Ay143FN2ZyVkHsIg8q5z8dwbiTuvWwkwDlLqL8VO58daU4"; e_upip="AcJLYC51iF5yE5F2ApxMYILNzgdqqDGWy8MzQGow6f1lcLn_7vuSLjOBouJ3XNkX_fjoJjerf-Vd7Bx_qrNZHygSgyXMC4V-RdI"; e_fb_hostheader="AcKkl6HUNCZ9FdE-WAYItY7ay6LpcPYnamg9iYGNTAmkhZ822TZo-uwERdCYZ1-XPZinGgBMhwaYY7VF"; e_fb_vipaddr="AcK9ptwGYgEhBZEFMBjqYXywN9ZH2kBCFwyfcmADAAiTIXIa7JZCKCUUBLcVuKuKNR8p5GxIkwtnWzkPV83Di9kr3dMSJxnk9Q"; e_fb_requesthandler="AcLHPjq4xW2XLeIG2PIUgLNq5klxoC6p7NbiDoxY9enJsRKmXt3_0l-3lKiNruODj-2MpjLjBqE"; e_fb_builduser="AcKgIF2EtmOg8IM0b79RnNHOMnHpLBJMKRjHNJZBeF3UdW3t3uECyQYt2D15RLEtktA"; e_fb_binaryversion="AcIiqSCwxkUCLI3iB_1w_JElOx3ps5gAq9PQxCqv6wXPSDHh4yJUhqVISzAJ-jRaphibNUeN5vhS5p1s9bdups3-ardgGa8-BJI"; e_proxy="AcIDKph6g8dacWsLvcOO4jMg9N-UmpkiL8XrcypDUCgghwYa1awNVsDuWcIcdjLIGbE-0iqCFTYusutSpoo0", http_request_error; e_clientaddr="AcIRTSxcDdc9j94ktig9wmoY1SECrDZNs8IIZYvrVMvgPhKGJQDl77hXh-4cWCWI6m-5cyLl6HptFn32Gg"; e_fb_vipport="AcJsefgqXrA8QAKM-4Sltz26_AaJmJotBuH-SOOHVaJnoyg9SaxUFDWk2NNH"; e_upip="AcJyON7MvFckkQ_we2N866FcxQoH0yUJ7rjosWiWl7k0UlR2e4yY0mhJIK7YdeANbZwAmmUvkY7ErUXzcAdgprXN5vaxhK3pUQ"; e_fb_hostheader="AcJ0aGonEW9G2pzOU7x9S6oSoPBP8ElGDjhIly_AZw2b0hySI6KxzpUP0fWyR80wCe4fBe1Pbnnexfvf"; e_fb_vipaddr="AcIeFR9B5PsnBmpNGGxI-wK3qQ54YHHgpKD2NsnWmvr0IOxWFnhBhNwQtr4RbFCLpR5xDL3CXRA"; e_fb_requesthandler="AcJVHFxpE-I6M2h9s2l4FcwTV-kbipV3uRjpoFhlxmj9_bw2iR1i4DuEZ_zY9KX-Rf-IKHImb8U"; e_fb_builduser="AcLKrCnOyKBFli1qnq24V4y7mYnsHBuuApL8iUAw40R7-DZo7HJxzGyv240ZWMGdVqs"; e_fb_binaryversion="AcKL_pvTSMle8_204AxwVwxX-MQ3FOB2e2J-9ngT7VB8-enQOihrePK39xH8CYP2GJP1UmvYzuTju4hCpYB2UEmGEaq1MkwrEXU"; e_proxy="AcLTFtBK7lxEVsllLacPCEpzrjAa-wtjE-hZEn64c2t9oqS8818nelqINulItdkYirh9kgkTZXsbJdg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 19:04:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 19:04:13: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A1_KhEPM5rOZTkrqgsFQPKI" } } 01/26/2024 19:04:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 19:04:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 296480047, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKiXamFp_bYi_ZXoOg8J7hh', 'x-fb-trace-id': 'AvxmmRU7pn6', 'x-fb-rev': '1011045420', 'x-fb-debug': 'nrhpK3bNLe34o0k3LbHkpdlQlZPwB+hM4KC0mTft9qtkjlGwdDW9aMlIyn4JzwHi+8JQeVbcNY/VdfI8I/8TMw==', date: 'Fri, 26 Jan 2024 19:04:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJdAaIRhKtYad0O2-MFanf6vWhUXnBLDq9ABi2dSzJojRiyjDk7UburmjrGk_W1JCkZiadeB0_K1lrQQY_MCJ64lSa4sBeBSgjlLWLckYVn6AmHAw"; e_fb_vipport="AcLvToY-48BGaAmRCVq9J4esBGA3mIHIM6cQgdW4ESGGBWNytEN9CjukMzXm"; e_upip="AcLxp1LWj5ZlaXEEEfyeRTb6nBvC9y_zxO6ZgzQJIH51UYhI_cn192D-CEES7c2QqSSF_83T-EkTurkO74uA-lgMfnaNkraSBzw"; e_fb_hostheader="AcIksfdpvJlHAr9RjJ62eL5hyfrT_-qsnytSh4ifqXOkCn2GqUy1XkrFTNux8tXsFWHhRPhFvp-ozxAN"; e_fb_vipaddr="AcKOW-Bv5GzIuK1gSKpLJ-R0WZVgmnX8sWU3mkRaNahuAo--jL5JKmyRZM2SjM2Z3wTheYiptKCNQXL2VNU9WAzc_k6LdtvaHA"; e_fb_requesthandler="AcJlquyrNRENYcJGys13l_HFloJ3GdjBnUjnFr8J_D95X_QduUlWNOyVdadgwlErm4oc2m0EYb8"; e_fb_builduser="AcIOLKL7Z9o6XJCdrXWD5ssk5TCzzLlQryGIXc-xjyZhub24BOyY2Bo970moiOFzE2Y"; e_fb_binaryversion="AcJY_8yFAF5q4uWGfl8hr8ZaNDKx5Bj4ddLX9r149O9jpXFV6J6jV3iom8Vl5oXnjJz6BQMZHseJv7q6yMT6NJIXE6UfGs_8NrQ"; e_proxy="AcIn13EBRf5OxoSMVWS35WwKTsgh4tfUH4CMnl2s9CJm0CllDf_CxaxtmHu_BqOcigypxYpc2wry0Tsqn7Et", http_request_error; e_clientaddr="AcIIAzMooXsQAou1Rx2Hr5UjdxdEcaUXZJaurDOg7cmCTf8ydyxN1pIB1qnzWrEsHKWbtMeEKJrsc5wbmw"; e_fb_vipport="AcKZeh-ALvVay39AHqiIXQ8aHTBCxOvUxsQePcmC3rVyTGG-IiESkz_F5iht"; e_upip="AcLuNVjluSroA_4eOchT_ZO1wq_OU92hEf9zwtlfl3pp4lJcZB4oUGJmpG54gD28Esq4emIR9KA-3zBNT4HFj_YSoBIEpLEWTw"; e_fb_hostheader="AcJoym_I3-dCZqGSUZ0OnsOhDVy1wPDs5tKQQXX8JEbloJL9RJ2NojcQ_CiFPXepO9U9ufNB9aYKZOXi"; e_fb_vipaddr="AcKAdcdugrDa6tiCK5QbDbsIMB6jc77BS9ZRBn162Jmrxs2BosnbzDzQp2fshfzZjIPjkDaHeWM"; e_fb_requesthandler="AcJRc2MqZd0N79Wo525YggzIHgR6QLR1kXj_qQoIyrVLZmQr9LwQRBzbzpz6mpXkFQXYMko_M6Q"; e_fb_builduser="AcLP9JmC8F-jI5FxH0xDy0ylDFrlslaKe4Y4kqn_1GKP9sWxx2rtPSaKLPxFHAwKkuA"; e_fb_binaryversion="AcLzm45lCmHsohdpquweXBjx8PX22KrVnVi3wlJGU9vycQW0h_vhnYCkJOBg9eW3ntMWS331qXNcEugDUzCHWa3yHhaUHi51_1M"; e_proxy="AcJZypCPuDJIitSbMojJ-UeDvmVYFKoHTUc4kdndZZDWu5_bxMINCJmX9HI2YgQbD0qiU4DqBD6hJD4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7154444997967175"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 19:05:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 19:06:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 19:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 19:08:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 19:12:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 659d8d990f5b8341ff46a968 01/26/2024 19:24:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b3f4749795693754d28c7c 01/26/2024 19:35:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 19:36:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 19:45:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 19:46:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/26/2024 20:50:59: Request bot not found: { id: '320637341295349' } 01/26/2024 20:51:00: Request bot not found: { id: '320637341295349' } 01/26/2024 20:51:00: Request bot not found: { id: '320637341295349' } 01/26/2024 20:51:01: Request bot not found: { id: '320637341295349' } 01/26/2024 20:51:02: Request bot not found: { id: '320637341295349' } 01/26/2024 20:51:06: Request bot not found: { id: '320637341295349' } 01/26/2024 20:51:21: Request bot not found: { id: '320637341295349' } 01/26/2024 20:52:42: Request bot not found: { id: '320637341295349' } 01/26/2024 20:53:59: Request bot not found: { id: '320637341295349' } 01/26/2024 20:55:12: Request bot not found: { id: '320637341295349' } 01/26/2024 20:56:34: Request bot not found: { id: '320637341295349' } 01/26/2024 20:57:54: Request bot not found: { id: '320637341295349' } 01/26/2024 20:59:15: Request bot not found: { id: '320637341295349' } 01/26/2024 21:00:37: Request bot not found: { id: '320637341295349' } 01/26/2024 21:01:51: Request bot not found: { id: '320637341295349' } 01/26/2024 21:03:15: Request bot not found: { id: '320637341295349' } 01/26/2024 21:04:33: Request bot not found: { id: '320637341295349' } 01/26/2024 21:05:44: Request bot not found: { id: '320637341295349' } 01/26/2024 21:07:01: Request bot not found: { id: '320637341295349' } 01/26/2024 21:08:17: Request bot not found: { id: '320637341295349' } 01/26/2024 21:09:27: Request bot not found: { id: '320637341295349' } 01/26/2024 21:10:47: Request bot not found: { id: '320637341295349' } 01/26/2024 21:11:59: Request bot not found: { id: '320637341295349' } 01/26/2024 21:13:18: Request bot not found: { id: '320637341295349' } 01/26/2024 21:14:29: Request bot not found: { id: '320637341295349' } 01/26/2024 21:15:51: Request bot not found: { id: '320637341295349' } 01/26/2024 21:17:08: Request bot not found: { id: '320637341295349' } 01/26/2024 21:18:29: Request bot not found: { id: '320637341295349' } 01/26/2024 21:19:50: Request bot not found: { id: '320637341295349' } 01/26/2024 21:21:12: Request bot not found: { id: '320637341295349' } 01/26/2024 21:22:35: Request bot not found: { id: '320637341295349' } 01/26/2024 22:19:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A_RHV-Aw0DaUhUFUhxXyq7z" } } 01/26/2024 22:19:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 22:19:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 22:19:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 23:11:21: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7118932201524671?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 395085773, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7118932201524671?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7118932201524671?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7118932201524671?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7118932201524671?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ae4E--KtAiyyJgs4yGI-0T6', 'x-fb-trace-id': 'AbmA3b3vMSo', 'x-fb-rev': '1011051482', 'x-fb-debug': 'JDzKvsYp3F9jVwaZP8Q5TFwXFlpOtvTy0tA072u8GqJZl6MhIpOUNwa4b6Jugn8bko0WV1X+TJW2PqgRGW5MDA==', date: 'Fri, 26 Jan 2024 23:11:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKJxQP2fEvkpl-EhBwZkRQFP2Q6pxQL7yVCcilLUW3c1MvCaXCZezmGMQ0rVrJx4PXcRbaTjU6LSpy2reSbHjjT94XWQpci4t6xy_avGag"; e_fb_vipport="AcJvnoNoWFQPhG2vKOcyCBPg931wUO88nTUVsf5_4a2isLsfeCHZAE8T3gqF"; e_upip="AcJ_X8Qt87F6E5fxsZNzTDBRnM1AeRdHiHUnFj2KujcegCz4NtkVQmMe9WhbrKZs7pE5T4Gqa4HJZVNCxywq-zDCPejKkt53zQ"; e_fb_hostheader="AcJewmxJAWKm13ra8LR3NkCATMiWwITAjPvl1deLn_DofYti48szEkWQOXeHCxt2QYJKfObzMHS-ouS-"; e_fb_vipaddr="AcIavGsPH_fBFRUsEVA4hlKMsN6U0vKAnWAd4Q_s5wjH0_cTAesUrenE6dT4ENfus4POHAD5fgXAheFPHUp8rJkUSwbr2mvNMA"; e_fb_requesthandler="AcLH7dr_PYFXeGYOfmiRZkoRkqfo_kw929J-gTitZDpxH2IghfGQGwXrdZ-oUlBm1vQDQ6TBpNw"; e_fb_builduser="AcLNr6v6jMrVdYvHO8Q2fV-aIEcTfk5AgdftXhhMn9g9H0ZKk8KIFf30NZpkiOvD-gg"; e_fb_binaryversion="AcIU6lHSYfMIE4zgMLAB9kXiwolbKLKHhutLzThSBVTkgFE0QRNUX07fWq23uKktgoIcn--cdyFyfv2sDPkvohgePzyvDPJTyrM"; e_proxy="AcLKbHN5XPlxbBgRkY3ySQ8WHr7yKFmUPwotwQ4co0U47ptjJGCCgXSoKMwQQit7rJ_3Y0wobwMW2WgUGdf2", http_request_error; e_clientaddr="AcKe97Nd4mwRnmdppkRgu3jhyS8rE6fDx_2ZfPyTSh91FrIinPtXjwCD685HBatkvT3lmGiyG-aG_yw0Fw"; e_fb_vipport="AcJXUfnoyj8JYol_8AkvGKwv6xbbAQNPIQXbGDT2ILsEOoCoZlMcaxeWTWB5"; e_upip="AcJxaX8KveDz_Wg2nw9UJTq42pO7KrBHtXQXVgXnvz3UO9cOjF3Kz3aADCfG_Gu2e5yieLZ61nZBt_YbLs6cuphZdNaK0TX-Lg"; e_fb_hostheader="AcKaUhTpq3OmlGWWF5Ad9ZmqOTcRyHZyoqFow8_hx2ToKIvoKYlXJTM6j31YY9cjVEp9r42NHUFEL6ct"; e_fb_vipaddr="AcKaRybTDQ-2le4ZGh1qoq0ckUsRf38hsxnzOGF6pFzbvne4g_79yEjUaJr2CTIlFPARK0vmIQ"; e_fb_requesthandler="AcJ0t9vmde_9aDXTPzDWoxKPxI8mUz7mPQQ5imLxvRhNeoTRm_hi-alvI2lzuirAE04wAvEKRLk"; e_fb_builduser="AcKl2SlDk_p-jrs0PaT6asxqC5cEy_CiItCsyAE-DXFqCuIelDJskjAJffK9mh4_cZY"; e_fb_binaryversion="AcJjoviNFO8tOieHY8VyR6J7NqmNTHOm8_0MC6Z4Igv_K9kq7n2KALJKMc4czgznz2PtHm8rXxAkw1C9UxVRFw93mE3AlXrjafo"; e_proxy="AcLA5DI9BmeZLqOVBr3aLHcmmLHoPHC5xY91ewAKKWnxVzHFQ3j6ODK0iqU3NWhPzOuXkX4LJVZHcl4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7118932201524671?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7118932201524671?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7118932201524671?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 23:11:21: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 23:11:21: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 23:11:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7118932201524671"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 395085891, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Arr56dnigP3FjT7xX1zi7fZ', 'x-fb-trace-id': 'EcLejmUgMwO', 'x-fb-rev': '1011051482', 'x-fb-debug': 'PA5gyuuWcH4MuvEs3oc2nomPWg01E+XOt64w5UHP1hv6PIlPqUMKz0QqVMEoIvqfP2Y/g768fqJGQxlsKsQoOA==', date: 'Fri, 26 Jan 2024 23:11:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKuhaMTyrxAmVJmKQIGr7fY4mJIErjJPRp-tu7FoPiGqjqLkqt9ifOXsPwPXegTXetHbQ1abm_ZLSR8ONL13ZHG4NhPfy-uZCTvxOKI1LF-4g"; e_fb_vipport="AcKDzo6dT3YUf8NB9L1Y3FaTnnj096Mrv7AFs3kAI7tuhk_vvDBKnpsOQy83"; e_upip="AcL9AWzFu8FKY9ltYyyZFDcYW4qB43Fn0Iwpg52xILn7KMChg94_ZNvwABkTioap-hTG-16EaVH3cXjcmZJ2wsR5VmsxecLyt1E"; e_fb_hostheader="AcKeSweSJdSKlvlYBq4kYnm3yoNqyA-iQ0PIA0W1faQuzEgQqKIYPxJ7giAA8qng9QHy-OVa8ZxTNgjR"; e_fb_vipaddr="AcIMyJecpcL-vx7d6BI2esd3yuI5WGVCqKgrFmGN_IuYkGqxHx7aFgGpTrJxJWUs8gj7U-NaMmqBe08Qp_JlAsJIJxQCei2CFQ"; e_fb_requesthandler="AcLG1iop4OQT3tJtLozKn4bJfgm5gXcdfSRp_10l9P_9yjT6uwnzmAQS6I_9aLa9UlomBdussqI"; e_fb_builduser="AcL-h5vMBCthg1YEfA3jL-ONmK4py-RiEJHaiqVGvkWQxFWFM_hHrDqlJh7FAJLX-k0"; e_fb_binaryversion="AcJXrPwYZ3EVjGt4h9-ETNiZFs0v2PDUNSdjjAz8qnS9uTBmagQhp5zN3A1R4QVqoGxdmdr4eLxMLijgGJ5RBBq5DM9KyHrLBTQ"; e_proxy="AcJvx78481a-oyTA6ZYnG3Jz06lhdK44fXnG6U5b_pZBFhQTrvYYVT7Gm0tglFMgcHjlQM6E3p713KM2iD4", http_request_error; e_clientaddr="AcKtCgffXIJFdtaCvn6ysYnRtif4_W_y5FDRb1cpBGk7vamBnFdSv2Du-7cbYsG9Upyq_kSK_Hsz8I2c3w"; e_fb_vipport="AcIAP64fejPcEBc0kYH7YjjPXkEXCpYw93EY2roe0spnTzcdnSTk_At2DM6P"; e_upip="AcJ2y6qPFGI9vmH77bBetrd2haOn5WlmwqVqnkzzcAbLOy5mWy3ECr4I611u-t8--LD6CC--JeGzZG4EPN-gtVAxxFlOSxQg3g"; e_fb_hostheader="AcJ1U-xW5_MjQlOLPt7zQgep9ANdMP86BtyP7cVEYMFSH9JgDPxyEyr-7y-7nBylKecAPFM7D5yGr1Fm"; e_fb_vipaddr="AcKbTNyv73CTtFgYl4crJEnlWVYyev1BypPEYkPrw0sKfnaLM8RPRky8U8X_QjoiLLvrQ0a1-w"; e_fb_requesthandler="AcKMIOY0ejhV4DBnVx26U6Zax813jbl13m_Y470FF1WBAPlMRS72BLef5vg8JyFm9l9e6BCGUyg"; e_fb_builduser="AcKEj4wOsHKeYn2DmVKWbZTRR-t12-zAQNBsSx4Xb5ci7UJgVuxVnbAihAaXSBCdb4M"; e_fb_binaryversion="AcJVEgXT3b9DBIXHEGR-0t23sloVhlgdsV9wTnJuPOyGMsTkrEAen_gC1EPA4JuvjrecvUMqLFETWggQG72ThQky9NoTvvAuwLE"; e_proxy="AcLg_UExMmZG4J1T7kNlAPJGa2rfcFLeV7QRHdm4yLjc7_62s1vIxB-It32jc_vERrV-QUoR7JNjze4g"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7118932201524671"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 23:11:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 23:11:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AuLB8O0xshMTxZ6I1qFvvWq" } } 01/26/2024 23:11:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 23:11:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7118932201524671"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 395118128, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUi06R4VueUsvgGONLTdGCB', 'x-fb-trace-id': 'DSatqjqScFJ', 'x-fb-rev': '1011051482', 'x-fb-debug': 'vP0DO7lG6qshDoMa5gYVWZt1T6VCNY96otB690r1twDoWn7YqXGCJMj9JQUjMfjbI/3HkuXkWBLKfwrGA6kcvg==', date: 'Fri, 26 Jan 2024 23:11:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLqUsg8DCjk4WLcCMuyL34codXwl7VTRNnMD3632IHEU277KATSw8SEnoCFN46F-BTwX6WhnbVlqgZKh4558MgWDJIblwmbli0SgLv0xJ6HQA"; e_fb_vipport="AcLcO3jFkQ0qa1-kjH58PyqZ6LKrwuTNLm5kBljjKFHVbld2b-JJiB80I0jt"; e_upip="AcL0NBNHot8t1caSRQB-6XmJkkwJa6fi0oOxXxAo65M7uU4nHCCv4z-UoV22lZsU8RBcKQO8XHTS04Jtrm-nLsdvXqY6X44nvuA"; e_fb_hostheader="AcI898d8G8CaMLOxDuJmwcUuuTlSj_fGdmO3NZht22Zon20ybfS33WvKXMMnzaMXp6d0OJiMKYxLTpNb"; e_fb_vipaddr="AcL7BDobOhqyTDXs-DARhcKhPLi9w7EQa_F7nfuSaOAoj9o5q-qY8fkE2o7lpIlJZ2QqJMdH70eu2jl4uFjQzqxj7_dKG1-BUg"; e_fb_requesthandler="AcKVxhoEU_O_GoRBFhA9oQ5bDERMV7ErmKaLf7YTsrTrDWJtgiybl6uqPF-wYFdHFUyDAozcAiw"; e_fb_builduser="AcIdnkBmWdOnyqegrmwd-NKZPgKCrkRqnGPAb0EMbt5k-8O46LTmd5BpueM-IDcsbG8"; e_fb_binaryversion="AcIreak3VICTS1pdX4ZQvTUecCOQB3WcizQf0NQ9Taiwf9yQb1FJBbkeehhmKyXWQapgyMW7H3tnuqT6v9T6xUoAJ6dkC_VCsAY"; e_proxy="AcIeG24jtdT_Q7FFQx9bV2PheNjGWCwvAzfkEcM4oX0PgVA4x0GfFHCu8nOS02YnnTH01ewdAj9xsOySki3j", http_request_error; e_clientaddr="AcK5D85qr-joXOXSXAd0WqDpulg9vSff82rY_V-A_HUzgK3P-mW8t8tR-FSKRBHUw13Nimvq1bRLfhT3qg"; e_fb_vipport="AcK2AVlyXy-obICP8SIByvBFFb7hcwvBmVDZM6nRCznKoDAvlPEPJ19TAzas"; e_upip="AcIQYm0gKJoEGqctor0RgE7k_COZgVMgH-AtW-3AVUxm9WYmuX4qQhpjjPkJMqeHztjXqD7vMIcHVdw-ePKMHh5qCaPjee1JzQ"; e_fb_hostheader="AcJNZL_2VK-AQ_sEG5LhY3cjly3XL6XJ8hD90WBFmlgFUy-0sQfIWMWnn3cuhgX7HzEq2v_Md9MvXR0b"; e_fb_vipaddr="AcJFITW4DyA5h9lrNkn2hSJEjMsuTgxvZLMlo1HES2WWpKFs1_3e8K3QNt3nXalUrnOdVZgPow"; e_fb_requesthandler="AcImxGWNdXlU2gcHpEvFo2DoMcHnX87yOfeegWXR4PC6wH53eIZgVfrpD5a4yY6-F1SlEKYnNBE"; e_fb_builduser="AcIcQ-20zwSLMW1bBhU_lr6ckj31LcbWa8bEPL0RKV9mWV9FKiRKxaInLIS9iqiVR9I"; e_fb_binaryversion="AcJFPidypWvaJ-GXE7aQwWz_tr275ZjMbnfNFICmjX-sJoEaGPjn6utJDfK5lA5bUp-I0343LvmD4hQ9ov4_c9zdaGXGf1U_svM"; e_proxy="AcKdxQ_sS1aN56S9x4nlEEQBHdGtPxa5hV2V6HTxF9KvXRSQh5XL7g-gE4vVV1kcFRI_5TDqe2POg9k"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7118932201524671"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 23:11:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AApSehqoqhl9OnEv72FwfgI" } } 01/26/2024 23:11:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 23:11:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 23:11:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7118932201524671"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 395150416, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbVTkVQ9T5G23m48WezW-UD', 'x-fb-trace-id': 'EwiBtzN35XS', 'x-fb-rev': '1011051482', 'x-fb-debug': 'KPDxbYe0V8ZBigb+hcA3LWRMWkZANlySxtSJiA8ntU7pwxILZul4ryy8F9Qk8Q+0JMOz3o4HPJaUls9tzLIO3A==', date: 'Fri, 26 Jan 2024 23:11:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIM1HBgtMPf9n-ThsF5r8ZZAem8bQX-huDxyqe3bWdmCk9xX4kKLOd5v1KEe-hn3Oj04U9jAZ0CIPNl-aqCo1-U2blhOroFa3_L9VaCCUehArUSmg"; e_fb_vipport="AcJQt4vlL-tOM2omURsJQ0MHBHPcBcbb7yfOx5aKWrhCWEbzAyS6e80wpfUv"; e_upip="AcKaTAWTetTl-RA__bn-R-xyqqqGOa218AUmMa2QDsGxGa6K9JRmkhh_sE0XPDzNBzKtCn2-HULFTGtbxoU4kL1YWICF9G0w"; e_fb_hostheader="AcJ3W3FcywIKi9Kb2F5QvkO0dCm2WnVBOUBW-hUb6JeVV5WAoTr-8YGd74MCNHobEfYU5gzA8CVxyPOH"; e_fb_vipaddr="AcJYqgjEF1FWXfnXmzdEJZGT5_V4_WKJmAymF-XRsLuGmosBLsX5WYGFem8BkfFZv6pqSKHK11dZQLKf772Vwxsi3BCniB4P5A"; e_fb_requesthandler="AcKhtB-bStlWs6zU478rNuF4vUQYRLzuU8YAhRa2q3pamSn89zt0naueGnUdV_gp5NYqier6WTM"; e_fb_builduser="AcLTkMkt97ctAjTmIRXs3ZpXdUJgspx01Hj5Djm1pHYKljOMzwEWpEqbsZtrdbKhTKM"; e_fb_binaryversion="AcKVFt-8gJaW-vTGk5SH1AU4tN37oqLAcA63SRsnU0k39sQDzFbVOnzufi32viKCaHx8YdJP1w5hk2FUnBcO5q7N7Oa9mOMWuSw"; e_proxy="AcJ2RuXNyUarbGZDjWxztoY0TqwxYIfoHfTjbkmaQXp9Eea1oVpdbxb3HzghIeEqhdyAYIVOFg5uS4MDuzy_", http_request_error; e_clientaddr="AcIGg_ieOMPEGvOrViUvcV2t18posoryhRM-uabgit5jEVYSNjeCfRQZOyYAmyVl6nAK7npAiba6ZZqiVQ"; e_fb_vipport="AcKhBzi87Mu_8TBwQJzKTOXUkKgCXjLYmdybJy6IfALgoFPHVrKc5nHaFnM1"; e_upip="AcJcwsKPjZBueSyBkx79ft6S2Ioqi18CR1HeFA9tnZotZei7TUQxPeRI5-tLmMpE_Z6faJ0ZtZL3-nZxbBzUc7Zvrzm7ROf8UQ"; e_fb_hostheader="AcIPcgskucjGxQSDFMGbtrdn1K701MjJqfGQ7Lp-qSyuU-0Fy1wSnxEGhjxtrhBzLUEKxv_DPHn8hr_V"; e_fb_vipaddr="AcJ8V92wtvzF-1KZNIhIsjIPIvPlebVuE1LEMSk3Bj9eAbPpbyJAF4NPoQM1RUMSkS1a05HOSQ"; e_fb_requesthandler="AcLcLgaPzVWJJ6X5IhkHgKXBC2BOU35AorLZ7AqDCxRI_UONnXaHTSVrTYykxfkDpOg1kl7kHGA"; e_fb_builduser="AcJkuoKKIiWyNIv92r6EUqoEBSa-XaTj_TSV9O36vnxqVJ6C3wxNFm3TtiXo95bviQ8"; e_fb_binaryversion="AcJQnQkqolOkP4KRdJ32XCcoGmSoEpe4gQ_UG-rGzzM84js5lQ-nnLKh6H2UgBSWRB9e1oL6TwdGLi3pGxPCqddeD0pz_ceOrdI"; e_proxy="AcJiPREnk9S8o_Cn0SnvvHx99IbZspjOYCgMPZp3ZWJxxQgZ3pvvkzrfU8vdx2Wfpiqa4LGa4gDgRVU9"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7118932201524671"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 23:46:54: Request bot not found: { id: '278538958846635' } 01/26/2024 23:46:54: Request bot not found: { id: '278538958846635' } 01/26/2024 23:46:55: Request bot not found: { id: '278538958846635' } 01/26/2024 23:46:56: Request bot not found: { id: '278538958846635' } 01/26/2024 23:46:57: Request bot not found: { id: '278538958846635' } 01/26/2024 23:47:01: Request bot not found: { id: '278538958846635' } 01/26/2024 23:47:19: Request bot not found: { id: '278538958846635' } 01/26/2024 23:48:44: Request bot not found: { id: '278538958846635' } 01/26/2024 23:49:58: Request bot not found: { id: '278538958846635' } 01/26/2024 23:51:09: Request bot not found: { id: '278538958846635' } 01/26/2024 23:52:29: Request bot not found: { id: '278538958846635' } 01/26/2024 23:53:44: Request bot not found: { id: '278538958846635' } 01/26/2024 23:55:06: Request bot not found: { id: '278538958846635' } 01/26/2024 23:55:58: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6898006193658065?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 415314213, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6898006193658065?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6898006193658065?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6898006193658065?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6898006193658065?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMRsUqRMHg58IzJu8IhCb51', 'x-fb-trace-id': 'DnQ8SPxp7li', 'x-fb-rev': '1011051482', 'x-fb-debug': '7fq5DFU7m7kl9VahFN2iveq8lxLp2sRz5+XsO3Rnpec4iGNDbEaYp1dql4EQbuHtz3NPDSjIIs8I7uFGIh92Tw==', date: 'Fri, 26 Jan 2024 23:56:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI2cpNrVwCsBDiyLso--j-A0PMJd-q66Tzazp6A7eNvaXh0lNlyZYan3WKULFJXvn59JECG_1P-wGQ6ud9dXV3Lx7P63sDGv4QL_neL3edHcjXW"; e_fb_vipport="AcKyesKx-XuIWomT7KRaT59e-KVVyUVXvhEaotIPh4mTtsb9FigBn1meOFoA"; e_upip="AcKDa9A8NeLi68539MNDkUPu93z4GHqqB_PBj85tfKk7vgSlrTRK3vik0eAi6FObAifOTXDptrKF1Lq-2MosYM2ca6Q8Ptu7O8Y"; e_fb_hostheader="AcL7xHcYL4NLzCuNHMazNKDBZi_9ThQxkthZmf2svo5tsFP71RJ5MouL6Tm3KjK8c3jlGsS-C_v_8nXT"; e_fb_vipaddr="AcLa-LBDXuLnURX5v8audIug8LUCuTzY2i_7YIWb3NliDd_1bBSPvF407oqm4dkMTXySaYvG8_TkVBbpRbZhoVwmC5R3GGGyYw"; e_fb_requesthandler="AcJ9u1R9cUunpI5cX_8l4vMMEvIXSy-A54_crEoX7q-z9R0uV6XVOxekQ1sMZILjdsV7e-jfOs8"; e_fb_builduser="AcJMm1vQA17vWKk4poA6f8cPd-8R36ApPjoMgqtieUx2O2QGg7HhYZKm2uQHSoQrKrU"; e_fb_binaryversion="AcKugAZFAheSRP0jZD_DmqRWo9htJCl8b5bSgNt8DgVo9KTk1vzerALMEOIXoG2dDpI9Clf03wELGKy9mcvNh0v7PZ7lVWG166w"; e_proxy="AcLzV9Z5-vFQWMOwjrh9nhs6bkfWH9RbguP9_8SEINFPLFPLKyv5DNW3AHOoCKn3PJKK70yQh0n8vkhD77HM", http_request_error; e_clientaddr="AcLIj906QuJCbEdJeSZGh9Se7pT4eYUh80e9nWDREIIHWTw3qmB0wak0okcyt74to7KBl_PgjWkVFxnXPQ"; e_fb_vipport="AcIQT_EA1mN_B2ud7oYwpylszXVkTnaj6NqQroGd2VyTGfPaSSGdd9koSNlx"; e_upip="AcJmnPirjL_OHOafkvwPGo89s8sz4GDcswMhmrz6gkvfRKi1FDiICXQN4TRIvdQlybb9b9dJxsHFA8z_cGPGG2E7JGSq3kXwUQ"; e_fb_hostheader="AcKasr1Rify3hnaStvsX3LfbeyYc5lkq2EvaxiTaKHU3xwdtqYBcaJHcYEyjkXwoo_p777gRloMCHxy8"; e_fb_vipaddr="AcIQMv8acvbbYX85FwIDI_lxW9c3uD4anwOpxpBnpquy-rF9d0Wk1Gs-xrZf-Hl0pXSwqtFIs2E"; e_fb_requesthandler="AcKp9Fv_R_lIhMSN5pgAiTqGRYBghjKUCSl4Yj7z1Q7kSKbRUjs0ljbeJKyO6O8VB41INKkZ28E"; e_fb_builduser="AcK7M3_t09aSZ7iPs_6ki-giTj8_JNU_Cuehl6xqbodZlzkNKkYNoVg1eo30qg3LJtU"; e_fb_binaryversion="AcIgpFX5LN-Bs9KYz3FmTjjfad6L-CFfRftZeBlCDZVkiU7FJaRrFUVP0EqNScTqTUG1fs-pu-2ehXtvL9NiseJwyZjZvsG9oJg"; e_proxy="AcIO9uTsZnMbKPOK9HCOKcFgoLetM-IL1TXVDDGuFMWRmIUQN64FRlNYz4A58Fe4afLzoSeSfAgn8eI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6898006193658065?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6898006193658065?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6898006193658065?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 23:55:58: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 23:55:58: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/26/2024 23:55:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/26/2024 23:55:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6898006193658065"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 415314342, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnZWQmnsq3_KAWq3-KUwnNr', 'x-fb-trace-id': 'BxvspBbLuQQ', 'x-fb-rev': '1011051482', 'x-fb-debug': 'acnOsVCMthd651CjepAPieKZ+x3mEIJG6/ZrsZ8/eKNnclmhCcSCbWpBSz+zHTgTxdqFl+5XcvnHuBDIfyCg0Q==', date: 'Fri, 26 Jan 2024 23:56:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKUWybT7Sc0jfRSPiGQFr8aKW-jKdC6Y5g29Y8Ry73SbsL1NqfEPxf7siEMXFyxwGNaa8t8Ih3FamWWe1JaqUY_JVpjVmMaOYo-dY7rVvL3CMFT"; e_fb_vipport="AcJ4mcIwKsedvah2g1ZA4euhwRpRLQ5e4o_BeD1gyB54TyzchP4xuL2gDUJg"; e_upip="AcLvEtuXGHvOXyQV_4sxuX5mjiR52X8Q8mEGmdTkiLY3PGYuNbTuzYk-Sypx6T6J7NixuniO7X6Ys7tu6k2vuWBEsB_HqzxgUAc"; e_fb_hostheader="AcJAWORO8etZ27YlXNQ9JvXQGpe4RbQscshSxsO_zjZ_g2eN6BieFOZ-CQX9voZYYySKYrCE8Onz4_Lf"; e_fb_vipaddr="AcKZQcFIPJuOSyE1E9kj60SQ7QmzAahkq4IaijglQn9NT8t87eJgnxbaKgP2jap0M7lYwf7PVdtVAgWBwwZlE_z3b2j7_ySKqQ"; e_fb_requesthandler="AcLNNFufwuTYTrS_erByxlPbpDsyzrVOewJCBcfgIeP82CtWmgIiRtUrxziAZ_XehGO_JKozFGI"; e_fb_builduser="AcJDQcOGXCFFaV_SUXsAvRdpyjZHzbxRWNb3gW2TZkpgWSLz_HOkarqv6bl92Ti4Zlw"; e_fb_binaryversion="AcJTRlJE2i7i-sxDzCRBhNSz2igtf2z1uvm-uid11E7uMWRGCFbCIXZQW78Bjh5KONLD9XfON53fpY-k8CshXRQSITiI0QIOorI"; e_proxy="AcJ83_QozXdAAUWwTDN37GHnAGHUNCXLESxGyHrrKX12glz8venDDuF-wB7ADvE0lnx-h4RfBZ0g76rOdDNw", http_request_error; e_clientaddr="AcJQnDiWTPlhjGKG5KFYufwdLioH1jJ7sfmtFc06397BPmWJnXc1-PosYUNvdWRDuf5Hl-Yj-gTAlPdVCw"; e_fb_vipport="AcIFLudnhcBxGCJBmiKzLGGMAfPplRju6i9NN-0ytdfYf6_IPmXNXuUtaFgB"; e_upip="AcLFkV9IkHk5niH2fpP69kpW11gUQw6N7lPa56QxW2nqAoXkLD0xHlPZymou8J6uT-68YBcG4rjGyBM6ueFv8cIPvw6jF4PZoQ"; e_fb_hostheader="AcKPoEWwh8Tpef_iPDWcVDXduhndiPSS1BntZ6N1-yb5ONB0PUdLPGY5PRSvjts_eOUo7OyngyXosy8M"; e_fb_vipaddr="AcJAHYOSdae5sVrLmy-EoW36JfB6sI1frf1M2woTyeyct5-MYxBoB9TtZkDoO9z3MA1eY6SDYkE"; e_fb_requesthandler="AcLu0_suNMTOftq0ymvS97dk7bBc7YftNJc66RaSGq9nlTYdZFhBjdKlpRZbPgT-dTiir0IKAiI"; e_fb_builduser="AcIN57cIOMXSoJ9s7GyxoAmsdT5ZaBc_U9JobMb8lLLEbm8lccpDh-Wy3S6UVyu06fs"; e_fb_binaryversion="AcKVfdfBI3VDh5MdpOmi-to52QqdEjtpkjFdxaQPueF8O2Fx7W-qnXxhAFMn53BlrnqVRFKiOPZXfkFgBuX8b4JlTYejz_q3Akc"; e_proxy="AcKyIEeJtpssXpmUWquVkOZ6lwT7U6DAzZGyBarhxYxHJRymaVBFTdOmx6qpeDot30gKuwXZblVkJVM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6898006193658065"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 23:55:58: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A-kmd2p26GsAbSiIvdNpSRy" } } 01/26/2024 23:55:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/26/2024 23:55:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6898006193658065"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 415314414, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACha5SnZjA6IKPSEjta7pgC', 'x-fb-trace-id': 'Ebq2ZkhGfnq', 'x-fb-rev': '1011051482', 'x-fb-debug': 'tqbuUTx1jenLXU+Mn0+IUs4HWkAt5RnZrd5ae1lDWKo7TsZNPZ9sDPspfcx/MqNkLfgis0hufrYuv9xNDkxxJw==', date: 'Fri, 26 Jan 2024 23:56:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIwXTpAthkhjVEPkz6c7hzLPwsX2MbEl_tBnBTMcclldAik_c7vbRldiWbO5Xzl7uobhdls7NGva_ux93SPGAwhrdl4b6rHa_t8lRKlld8TosDMXA"; e_fb_vipport="AcLhBn-cDhSjad4C6YwCCpbgiQW9QkFk1NMegvguMZijMe7c2Fh82539ouF0"; e_upip="AcKyQSrQqIkZjuhxSLEa2KuZpLoGhBPX5ova64ElD8bd2LnursFwg6fxagMCkEW9tscxOnhDoiqjiyGrlhcv7qOAw2UKotMPJik"; e_fb_hostheader="AcIl6TEzf1ZSJ8ABlbjYE2-oBc7XsJE69cq44gNA-3nRBZHzfNwV03B1huMPQ-FQZFJIG5DZ7I6YLJV7"; e_fb_vipaddr="AcIWdzHQuxVELjepXQAEpmzz7dJB1izpbkUZDwJ962pltCPuWCxy9IHsxh4EKKTzRUJXZCgCsW1P7blGoNfRsYPQeBE9Y2s8rQ"; e_fb_requesthandler="AcLfwrY0GatZse_nUondo5mFVbl7GXw7B1_0u8Sexnz90YpJceo9nfvkvxgEQUzdjDUle50ixag"; e_fb_builduser="AcJQFXcpZN0L_i4kTvbtkqTKTDT_ILMrc430xJ2ywP_19OEXIbzl1E4iefPfn6T1dB8"; e_fb_binaryversion="AcKM5Frn_nDmkPEc0zLjmQ8YbRchBOXEUefUayqgd9Azm3jDJYRR0TvAiTL863Ai_YuY4bhUHfunTU4JxCp_Sc5WgyvXB2rdfqU"; e_proxy="AcIU8yEXGHaScf0NKdiWGMRzGl3YpFC9U9dy8FVAfkLhCcKLJ7kUPVSu7GHPW1x0Aqmk4YkmZGxQ-vcrUNy7", http_request_error; e_clientaddr="AcLI8BStsnuKG2nsN43FKBrXs_e4bhV1feqGsv1IJtywn1gADwFl1FbnuI-wyFocHd87quhxLyrBBagB3g"; e_fb_vipport="AcKgjIFT6n1loJNfExsX_LvgdgPva6GGe9gn5FGdVy-5AcoShRqT4wttpaF-"; e_upip="AcJJN9vHu_yxBeMZRZkhY4p6W4rrEfnltpZViAgTktIqp7VGIwlQQVtNgANU7AtGjMgu__i40jiRBUWl-GRRAhyF4hs44cYLsg"; e_fb_hostheader="AcIFPIYtWGDnuO7qyEmsMc8q9aNEzVju3zt4Hm9RHxhGnP2eCEbLuU1HF9SSPgfmq3ccRlzKIUiXKpK6"; e_fb_vipaddr="AcKhnyW9wklORwC-Ic6KW82uIOjTj57KjnWVIk5cQ33Qy-JgU8JVAMplg9d3Y8FIkjoaj2J_WUI"; e_fb_requesthandler="AcLwRVqcZXTnAfD9jbkMcSZ1nvO0LsbzwnLw5lJa-QkMUuqj5VFmjgU_Z8BtRgZoF_05EW1pGk4"; e_fb_builduser="AcKVh1PaQL0tt37wpzR_XX1mRAmErDt67wVVI3tpdk4ms6ZB-tzv6zR9NlO1Cwi_zqE"; e_fb_binaryversion="AcI_qk36f-wn0xPT4-4sETn3yHCHeZ5Ix_f9ewiuSMOQd40ci0EPs6-j7xRpt-oK90t3N4VUutbufbyj0JJIesYoPmy-Mxsy59E"; e_proxy="AcKdVdL5_XBuKFqaOwVwEgk2lPgliAc7urJCoP_Smti9CXAdvCpDgfsQESLFknqsaYoyR2eGYd1__U8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6898006193658065"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 23:55:58: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AjLkhBerrd5dRlt4U4ddKhr" } } 01/26/2024 23:55:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/26/2024 23:55:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6898006193658065"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 415314528, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARZPaL4X4NomwOse_X6gQR8', 'x-fb-trace-id': 'A3D5syTHHRi', 'x-fb-rev': '1011051482', 'x-fb-debug': 'JuCD50Yr/LeHDeSSEKm3xKT6M94hP9DMpSunQYHrQAqnA8K3qNIkydPewY3jrjXB9pGPELizKlKLJVRKe5t8hg==', date: 'Fri, 26 Jan 2024 23:56:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJAFvFhJdcYs2KwucOkBv5mtR0EJKU_XtjZT8-XSiH7Z3xZAYkm6xwfmSncueFGgqo2GyIXLS5xxtegOLaMKsi3X7CtBmH3MFVnpKlDV49h813LZg"; e_fb_vipport="AcLNJM74EzYEi70qgakqb3XZpJRLubAoYfmW2hI20ekj5iOKaHNIHRS-c53y"; e_upip="AcI0fIP4sgQ6y_eCtdOuBgsDF8rCr8QA59wCRKoBul3kRKf_PLCd8GKUN3KDuuhiNZL85ASl2fqyTBAX9YanXxeH2jzVbwDiNw"; e_fb_hostheader="AcIpKTUr_HwNtJj44T8SyOGIRFjbH6D7JWwG1fCU_llocdld3iB9Q5dqe7TYkfcT0YNaQUR373nvOFdv"; e_fb_vipaddr="AcIKG2CsECqF4u9MZQ106r9V2JjafjSMFYjR7SD7MowdstXmcug_o0K_cbQWi_hrGCeYH8oKtZDORqP7KA_t6h5D8vzdUTOczQ"; e_fb_requesthandler="AcIxMQSQHcyjxmLhzdeAj9kDSDUhef9O3qPMH8h3Zl9kFKsq5g6FBjuHQrXZD3dabpPXwBFBnEg"; e_fb_builduser="AcL-sFOjuACsL9g54VkLiKLpToWGResAoQCTy2IVR-uRdptAEVm5SCGVcnbFQxiWcNM"; e_fb_binaryversion="AcKj67qCMF4DS7-zE-0qxzI1dcMyN5P86XMVxoiwYVk2owFCzZ-BT3euv3GhqjZDzdfxNKryI6C1xKCWHKzXbS1cd3NsltBejvU"; e_proxy="AcLXsFdB24vN7mc-YKrJIgWjGijOCezwCCB-Gyl1UBUrV1vM4RcN0tNUoRIl4yLqXRfMRzTR_tesuO8K1LBF", http_request_error; e_clientaddr="AcJfN_3qYrMkGl__V56gzr6MerJcm298VZzDpLThbnYVpIra13peYWQ_PFsgKj3vGi3bmbV_mVgyYCjO1Q"; e_fb_vipport="AcJLwQwUdKevd8xkf0fTdT2R1lXL1jhZPbCbDL7aluxvvp3T0dOb3GoA5b13"; e_upip="AcLrOGleszJ6QMsS7y0sPgOcyTzUMsBu6wQi78aMKlRcDufDk1U-xZuuax5xTGpsZBSPgnoPgk2LrM3qR_mVzY5CrPTDxY_Plg"; e_fb_hostheader="AcKR60d_-02o6lLML2GUk3OovU2BmyR9yRCOAcmFFeOp4-gIrQYvmt86Ph2oKws4hBu1GOFWpscWGRdg"; e_fb_vipaddr="AcIYWBDZpAYNLEdRi9ofU-rQlC7rGx70UpJ2g07ZGuA95Ki9SZnDVJ9wWHxymEGywko7Pio8c1g"; e_fb_requesthandler="AcKPKAVWI3Q8bYRFHtNBp4WjI1NPlJZETENGXONzXpMws2EHCCerHe_7PJ-T_akYOJ_UiurIg4Q"; e_fb_builduser="AcJzknbLeVxiFCfgF4HYtNBCqS9G5-oDZ1ltNfDUDlNBAo-HedrJ8y-HjUMHFKbRcvI"; e_fb_binaryversion="AcIZ7j_IDo3TIvCLo8lc4I0q52I2ytX2Tv-xw24RgZoKtlJXlMz_iyprnYNukJghi6q99_dVfZf33DcFIwvjoGtOVRTECPwXXOw"; e_proxy="AcJnkgQWyyhdnE4hf81PseMxZup7SuourxexXt2sb9d9lVzE94tui5GwI844dNsN-kghTSUJcSpSIDQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6898006193658065"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/26/2024 23:56:22: Request bot not found: { id: '278538958846635' } 01/26/2024 23:57:36: Request bot not found: { id: '278538958846635' } 01/26/2024 23:58:54: Request bot not found: { id: '278538958846635' } 01/27/2024 00:00:14: Request bot not found: { id: '278538958846635' } 01/27/2024 00:01:32: Request bot not found: { id: '278538958846635' } 01/27/2024 00:02:46: Request bot not found: { id: '278538958846635' } 01/27/2024 00:04:01: Request bot not found: { id: '278538958846635' } 01/27/2024 00:05:16: Request bot not found: { id: '278538958846635' } 01/27/2024 00:06:30: Request bot not found: { id: '278538958846635' } 01/27/2024 00:07:57: Request bot not found: { id: '278538958846635' } 01/27/2024 00:09:09: Request bot not found: { id: '278538958846635' } 01/27/2024 00:10:21: Request bot not found: { id: '278538958846635' } 01/27/2024 00:11:38: Request bot not found: { id: '278538958846635' } 01/27/2024 00:13:03: Request bot not found: { id: '278538958846635' } 01/27/2024 00:14:18: Request bot not found: { id: '278538958846635' } 01/27/2024 00:15:42: Request bot not found: { id: '278538958846635' } 01/27/2024 00:16:54: Request bot not found: { id: '278538958846635' } 01/27/2024 00:18:19: Request bot not found: { id: '278538958846635' } 01/27/2024 10:01:52: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7124812050973539?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 764305849, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7124812050973539?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7124812050973539?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7124812050973539?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7124812050973539?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARxxE4CTc1lswucqB8L3b_-', 'x-fb-trace-id': 'Dwo2Bm7ulFa', 'x-fb-rev': '1011065142', 'x-fb-debug': 'Xs8ugELVPVFAjicK4zu2Mu0qGnvnfuKSD2yjVt71jqIWyKzTI2Ny2kVmTXB9LAC5I2nQQ36My8hSIr+h+SvYhA==', date: 'Sat, 27 Jan 2024 10:01:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJiyE5EshPnUdjBpMFYH9Kzk62XMrv34F7ea-PgBfGjC7WV3fhGyONM9lVtwgBiifr_IbeXvWTj9gJlFVflgGIOUGydDbJyPsDRrrZhgmyo"; e_fb_vipport="AcIfzeI6JuGSL2MdMKx3FOgmyP4koJa_jy1g3LlWVlHXPV4klFRN0fCTWhEb"; e_upip="AcKKa1iF9iXrQlLS8Rj7Q_Wc_CAuz6Tug8w_6CFCgLps_LNafbUJqzyzMwWsswlB9q5j87a9kVaoyCaZU2NfnVlh3kS443nvXjU"; e_fb_hostheader="AcJ2KzLKn4vuggSqJcaLNuxnwnWOPucdfdI4oRkrNTNJ3pEKKXPPx_IziMsJRP-RoKu_HAjiEM6uSTys"; e_fb_vipaddr="AcKbi-PPWsg9kCnxhM3nyATQ_yLQOBW0FxVD_91s58SGDWx9gS-yaMwgMZt1CyMwmFZr2gwh9oJ1kacUbLk8XJ1rUGDobJX03Q"; e_fb_requesthandler="AcJg8nzEBNtq4v1KMwDPB3SRRlu_FXtcY6wh_D23If_UUpxm_LOHzmS_sjav-tDNgvwEPVHnFo0"; e_fb_builduser="AcKNJVPqBiH0RerbS9XWgJGb2_7EaZl5p3kDvXVnhS_CnH1TI6TXbgnaFwfUnFFxsHA"; e_fb_binaryversion="AcJgcmFxpGq1X_eVhTgd7ym3GyHKewVQYD_fqjmU5ZzLNXmrLOhL-zVlzEVQ8EG1U7x8zYe9lYMP2M8E8LBT0QwaEdrSPojLfPs"; e_proxy="AcLQsN0Z6cr2NSaWseT6zr_S2EUHAkyd82u4EFtt2fEP5h17UP_cNRFimLqOfiRG46xU6KpXyUOkdE5wj1pc", http_request_error; e_clientaddr="AcKECwRF2LZAEzaVW9DJfMNUsU_gcG6tvHGT7yYS54ih8189wHPI7Oxag_mO1B045mL0hS2-_22lPkb0Gg"; e_fb_vipport="AcLfY9GYVBsrfV78uHQnvVecKuhFC5cj2SmmlsAzUzCv6LNnJS3bkjvuTmTE"; e_upip="AcKd60jxSALgjGgVgb-cpjk9uqvF_Tb5rGmS09ap7SJ4BrK3ZjpIvBdhYNjv6rhywqFOn24AkUl4E9rvIuKzwfedw0hiUUBLLQ"; e_fb_hostheader="AcKP0sj_03msjfLvp0KVETg_udjod1HIVRyvEQ2gkemLttv55O65Pj0c-slKc10uwLx6RY0nRU8nLF-8"; e_fb_vipaddr="AcI5kNmz9BhdKBiPyrouhGEk_sdcwRKzwEnXYSWg7DqlFyRb7if5ardHs3M9i3KiXRDWweP9Pw"; e_fb_requesthandler="AcK0coMwA50EB7otfsQGl1PiydYDkRsGXNj3Yfpl57XmZhfiKriYw8Tl71AaZkqGnd4qYutK4pM"; e_fb_builduser="AcKYWV1R4liJmzofIuDW00mpynNTrNB3_M5-r6Q6lZl-NxH4K7aAaBkD-xHJxpFUjbk"; e_fb_binaryversion="AcIWUx5USsIyHmQAQrR2mJwFnBDHk2s-o3xPEktNarnPLVMalNbDtt1qChtOVa_NJCcuIvY53qQm1mnC0JZkdet1YTjCPDXEHtU"; e_proxy="AcIsmBIgA3J1KQ9N80SQ4XKFZ27OhtlWEtPuWXf1WMMqlzI8QSh2a2HkCaWARBBWs2IX1f31Kxzj7iU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7124812050973539?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7124812050973539?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7124812050973539?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/27/2024 10:01:52: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/27/2024 10:01:52: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/27/2024 10:01:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/27/2024 10:01:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7124812050973539"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 764305981, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AP4Vy-6Sh3SW0IlNyNlXnBD', 'x-fb-trace-id': 'EXrCZl1P7eI', 'x-fb-rev': '1011065142', 'x-fb-debug': 'NY2wYlgIUKv75q4D1wbs+hQKw40ADMqaXAaOUuGcZOmQoPDTpfpAKfmqDeGg5zLRBRmrMnt3n/5klXKmpmeIMA==', date: 'Sat, 27 Jan 2024 10:01:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKvWJStPmnLS4FFIMnX0Dt4ZAmKFd_FOw4nHGhGQmNEwTm5T1opKhK9RbojCBKkeDCwMOT6B95QsWSpBW56uUxoIhqGw8VcuLGYVNQWrYSvuw"; e_fb_vipport="AcLmMdprV6qv7shKMvAN-LGhFd-gATQuKYwrNW_HrzSjnaHz6GVubeb9unIJ"; e_upip="AcJPl2bifPUvGgqAUMeg0pNkHjsfaNpTr8BechUQqelsIDns0C4P6ks0z1oHhFpq52wx6A-OKG2oOmQLaHOV8px55ypA-d9sVMk"; e_fb_hostheader="AcKRgTpMZte73tKybeLOR3xFM44LfA1un3z7Z5e-PxrvFrCdGg32MTiHmuUL0sIWxqam0AYF5QsT6f9G"; e_fb_vipaddr="AcIHuTagHpErPyLtu6Te1nSwJD6kS1OkJ8X5eh0R3NYatXu_zhtQyPzeihbhZh-zyc_LU7edD6uwglHV4sEXwqLV4rpWHmp3BA"; e_fb_requesthandler="AcI9TMGlZOO8eIWee008MdQORwfw_PLF0HsbSzDTgd97XmpheeyTju2-i4-HurPRgseYWnTqZaU"; e_fb_builduser="AcLD9Ez8kDXR7OgeOmbL11Xr6OUKC-arwWZxNlqIenHv1BcSl8odLl-zWWFGDhNM50E"; e_fb_binaryversion="AcLFxru6fYSQwSLWmT_qHe-whARJY01qxt8f-Vb7ubdqNyMRkuTbY7E8shgbZD-zpAhwKfGhDORMr-RU3ryjLS24XmJbLRN3CYo"; e_proxy="AcJzjGPnavtuxx8CRT9bkEVY777k1BtLREMWv7ZxUvut7R1vYLaVAlISEGFCgjzqWGak4ZhAtV0d6dtNvKfd", http_request_error; e_clientaddr="AcKWWVLFxU3usepPEGd6rJ9nT3ejUfkZbmYkiBHAtZ__WukV4T1HXb5XDdDwegS_zWErqUBMPgkv4_l4ug"; e_fb_vipport="AcLnGJXyBL1Pr9dwOKr1gJjN9T6bP7MjNbrsLi_8Zj1NEP5-B8X7v-W1ytCO"; e_upip="AcIFynM_FcnZdQpFPDEyiFuvEvM01bVx1z0eHnFBhKu89z7GQp8sLW5BA-VvK5oAfmUYTDzlhjkFqpq0U3uzo6F2hoB-zNtn4w"; e_fb_hostheader="AcKvyHRivRr6B8PfKd3aumMzvr0EYrJ_S9Q5tMaHUF5U77OLAltYka9T07-ZAvT_BUOawjEILRkWbVUa"; e_fb_vipaddr="AcJCktf9_k5qWDddmgeQnA7kdlLRun81pbO4p_9goSHKqir6F5fHE5yLGvJeXCwRvkSXpJhnuw"; e_fb_requesthandler="AcKFCZSJrTBeEsnmCGvzQvka1Ov7fbI-hItrVUFf7bNJJCXYXLp2Th-1LUkCtoyPojLofjFOvps"; e_fb_builduser="AcJ8GpHHXgPfWt2VUc9NoMPKmdXwhPfBVOJT6-gaiTLNZSYCWQK0yyuOd9ueTW61dU0"; e_fb_binaryversion="AcI3h257KzMCw5KSpwMhyYQ6wYOcGgLOrhTLxJPqnpYXMVh-xECbFUSWODW-KDJKTj9YlA-JCiA-bGhlCSecsYiPlwBmGR3Bvds"; e_proxy="AcLP1SA8Hvz_ekqmGLW0EE2CzZoc3VJEJacpqH41SfF7TrG-4xc0ja9fFE6zY19ed15vKUKhiPrjpAFW"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7124812050973539"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/27/2024 10:01:53: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AGrsFQqDRIruvwznIUVUkvT" } } 01/27/2024 10:01:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/27/2024 10:01:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7124812050973539"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 764306061, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkT862NdA-y9CAguaLFdD9c', 'x-fb-trace-id': 'GUqC5hvOB6E', 'x-fb-rev': '1011065142', 'x-fb-debug': 'K6Vl/RYkc9SUDgOt2kBBC2U47JhghHq5L47x1GsW/eCmIsJBRZJA9y/MExGE+P8USS7QrnOzQX3szEBJndKbJw==', date: 'Sat, 27 Jan 2024 10:01:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJd6J6lUMkaii0nLejv_PbC3zNgoWicdJwgYymFEuXq6oVbXAr5-RaUMM1aObIhC_JAQjImoTW8uMC1Rm-Dm8BkLCbQ7KVE2VM-tqCH4FCosQ"; e_fb_vipport="AcIdNpgE31iNmNBEm4Ly1IciCFQ-xKnALdgIbaQgF-SdOYkbrEjfM6jMBn8p"; e_upip="AcLiYBB7G13obuGiWvQz2S1wps3XXSHsDixL_nL_uutc1IvvlRbvugQvX9GAb-Li6CMCW7Eh6dVcvQM1_HO_Q1GycB_dlf5oVEE"; e_fb_hostheader="AcJZP8Qz5I1n0O5SQ8CsvI3KrQ3X0Ve1UetEhdDZEY4ljD-KSxEpZoRtQ5M05empO1UyuzAyhn_Gaiac"; e_fb_vipaddr="AcLty5AFp94xwPJLCZQY1NKDS2Mve3SmUNXdiD8rJGZr318zO2-ppK4QQRR-Rhh0GG4H6TrNkZj2a6qRXYAFyPIwnbO90znreA"; e_fb_requesthandler="AcIsPJs1hk4zlQAAhQlFb-g7IUpVT6FqzzWOiR_Iyp9cZqAccavpFaR1Abba34I5Y8C8so3hk5g"; e_fb_builduser="AcKo459zsWwXvii0UII4vRdWiJ-RsR0c_nPCe9aKitIwxOluQPUVQ3XizuYeK89ZueM"; e_fb_binaryversion="AcLngH9ucCKTG7K-_xW_jUMJvvfq0nvV8wMhUvkj10mKe8QgVoRaWImtYpGibYAnzPwzGMaRjUQ25zgKLqP5KQeIz25xpSneH4w"; e_proxy="AcKj7mH-fvDps1VQuWoBGrhvyA1tXVnSyAmqM63-2NSzr67zWh3tNgxhZwWV8Duq5gFn2PNPRM_E5RxaQrMC", http_request_error; e_clientaddr="AcJWHmHHKc6Lmrwl6N8fxBAGlpEqgvBRZVgZikX_F-kH3Zu0KdsD10WMov3Chp-H-ZVt41ehp93Ngyb_lg"; e_fb_vipport="AcJ571EjjtHMAeVky8TC9Y9uazZBUMkYxJaRdXMjgnglIa6CXs4D82bNgZX6"; e_upip="AcIhaoqZ_6AqOz1T6ZThbBP-2eyKullRRQDaO7HG8OJgI3dte6tbhAK8bvGUuPxkiBxStOop4fRbsCVJVupXAT7ARdmctJkSMA"; e_fb_hostheader="AcKGODux914pc6srBUs3A6RvUC_nyJ6QFpWvGgz3IOrLAxKOnVKZ3QhEh5nILWQ5lkiydWD8aGXAWt0a"; e_fb_vipaddr="AcKXq48jipGsPHer8eM__xoKAkNdv5rzLjH8hvaJxV8LgkFsSl3rqVahopSj9wZXrOh9QbbKgA"; e_fb_requesthandler="AcJcO8dLikuROtbAF9F510wLP0UJVy0LqpA5vyBVuJeJxp2RCEWgRHlzjF-4c51Aj-44j27mHb0"; e_fb_builduser="AcI381IPgf3GaaZzMLuezY9zCighOFg8SbI5EUcJIyGKD5DgBq6it1u2SOUXL1MZ_HU"; e_fb_binaryversion="AcJxIg6HwCIvpnpG8C5k_2tDi4pLC1Xgp_g1NneJ2PgTJZzhKWvdTsX4p6HXpKYPbjRDvp3J8OIwTEv5bllj7P0CWek2_NOcqNY"; e_proxy="AcLtaXqkP6h0LE0Ly4ACJfelBD0Coccyk3e1SFnYEen3mDwQX0NtzSKWJhMkjfk8Z4AtmZAXr68dI-g"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7124812050973539"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/27/2024 10:01:53: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AfkJv58jM__yv812F9i67Cm" } } 01/27/2024 10:01:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/27/2024 10:01:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7124812050973539"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 764306180, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjQ20FSeTT8uNB_iGhvAfo9', 'x-fb-trace-id': 'GVAI6L6sq1c', 'x-fb-rev': '1011065142', 'x-fb-debug': '0Dk0youb6QVJniIP54eQN8dXhtB3dgn/nL/7t1NGygyqFxk91t+O0Y0yYuY/gWgDb6ua3ob+o/2u5J9iIGbBgw==', date: 'Sat, 27 Jan 2024 10:01:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI3pfW_zq2c6txJAThC8yKdcwhWMxiHSIBEcpAqdvaZ83ljVtaoFmbe5W8ToOeqq0MsNjt3ZkODoD_4Sjz3nKB6T57VWq8GQqKb9H_uzYnqSA"; e_fb_vipport="AcK7WtxdjukNsdSsJuzE8fH-W3VdLUfCHmgODN8iW1_NAzTcC4uVeHImjMnr"; e_upip="AcIuxxWz12eCsdwZbuiEk6HjhKBTA_mLs1jm-6Jv-kjV5BdOgGMaz4Uzx8XI5qLa7LjR0OmH-tsF-03lgb-7rer_eUYYcQklvw"; e_fb_hostheader="AcLaA5pD0CpdzqEssM9f35pdT86YlMNkfNZAb_t88FqvJVgrN-ovLpxRffPjwn0RQO8Ex0l70fDl8fu_"; e_fb_vipaddr="AcJ_WuZlFTzCuI839eI_9xWKLHYN0q4a6y1UKCKnOvEUxvMYoXMs5bzqL6F2Q4fhkY89r-f0z7FusA9EeYtzTardMZzWCHmq-g"; e_fb_requesthandler="AcKPslxFxRlZi5YU5p_qpOw3Yw49do7R0L3_tMcr4CbTzWfYR3Q9DE73iD0p00ESE09oZhhUjfQ"; e_fb_builduser="AcJ1rLLIV0j2JH3HvRkGnE9temr7CM5banzPYV-fVrAUvL0wWsEDDg7LCr8IJBMY7hQ"; e_fb_binaryversion="AcI0bEH2aQBdSTJzCWRHFDNL4il7G2LFI2N5eLjmVj2NJbAvU83smtYFs6BMnVW8hTAKfZdKuJLMp79e7rZunbZp4QxpugM39IQ"; e_proxy="AcKDg6JnxUCmN5zVEZtinfvP6rByPcl9IVKW8S7OG9qVcsG7m60yhZJ8AEarQPU9Vj4cO4w3njI1ILgPwoGx", http_request_error; e_clientaddr="AcJ4bUiT6jgViInnT5CHGg-dhFsheWsGLjimSJ64lCBVW0G_Pd5TOjpGj8rC4QKggfVZsPtb_5gcPMVmCA"; e_fb_vipport="AcJYTFrhT3F49MJcaTbAEFI1jBFlMUxhOHpbcF_HrRBaOa2zvgcNKu9-nYmE"; e_upip="AcLJjm8gHaalcxEvi3_18b4en3dmvflaSDd2gj_EMIT4_edz_LzImffLsP35y1X6zKdgepIAL8d5_P1g2AS0VmJighulY4_QqQ"; e_fb_hostheader="AcJSmGRhkIzaG_oGdykThT2Eo0AV94qi9YnCfw1e7Y47e5k_Tz8g9QUS9mYn9xGxA3Qpt41bKBT0YVBe"; e_fb_vipaddr="AcIWpZOFHYxx3OC7fiBPp-ua6Uiy_vgef5pr9UY2nlp6aP0J16GLSjvZTjjweeRmLY1qGFUspQ"; e_fb_requesthandler="AcLQPkDNbP6dUDVO0sXLdvQq3mu1hgh4bIhlNrIOTJOgWaa2k5PEX4O9rUEP5dg68otzZIWj1V8"; e_fb_builduser="AcJGJa6vJP2nY9-5a0aLtgB6KPK7NOz7SjGnHojJ_Zhbgry87zNXg7iEYI0lHqBJX2o"; e_fb_binaryversion="AcK8WtuiwpFb6z3ZV_bG_Qf2K_YCII3Znpb6ABvMHrmHLHX-r2h05aisgN3ZQBc9yBi5UEieFfl0fKQ1Jz6Mr2_IIueWFz-LE3A"; e_proxy="AcIj31MD-fKMfGevTUq_oNbgL9h1ZbR4PswQxabiusj5qgEzDCoz2AJaEDsqTomRiRDQwaSTgY6ZYEI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7124812050973539"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/27/2024 10:02:24: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AZRxaDxU4Wm4FHAz6fqzCcf" } } 01/27/2024 10:02:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/27/2024 10:02:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/27/2024 10:02:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/27/2024 14:38:46: Request bot not found: { id: '234064353428134' } 01/27/2024 14:38:46: Request bot not found: { id: '234064353428134' } 01/27/2024 14:38:47: Request bot not found: { id: '234064353428134' } 01/27/2024 14:38:48: Request bot not found: { id: '234064353428134' } 01/27/2024 14:38:50: Request bot not found: { id: '234064353428134' } 01/27/2024 14:38:54: Request bot not found: { id: '234064353428134' } 01/27/2024 14:39:11: Request bot not found: { id: '234064353428134' } 01/27/2024 14:40:31: Request bot not found: { id: '234064353428134' } 01/27/2024 14:41:51: Request bot not found: { id: '234064353428134' } 01/27/2024 14:43:03: Request bot not found: { id: '234064353428134' } 01/27/2024 14:44:18: Request bot not found: { id: '234064353428134' } 01/27/2024 14:45:30: Request bot not found: { id: '234064353428134' } 01/27/2024 14:46:45: Request bot not found: { id: '234064353428134' } 01/27/2024 14:47:59: Request bot not found: { id: '234064353428134' } 01/27/2024 14:49:22: Request bot not found: { id: '234064353428134' } 01/27/2024 14:50:40: Request bot not found: { id: '234064353428134' } 01/27/2024 14:51:53: Request bot not found: { id: '234064353428134' } 01/27/2024 14:53:19: Request bot not found: { id: '234064353428134' } 01/27/2024 14:54:41: Request bot not found: { id: '234064353428134' } 01/27/2024 14:55:57: Request bot not found: { id: '234064353428134' } 01/27/2024 14:57:08: Request bot not found: { id: '234064353428134' } 01/27/2024 14:58:29: Request bot not found: { id: '234064353428134' } 01/27/2024 14:59:40: Request bot not found: { id: '234064353428134' } 01/27/2024 15:00:52: Request bot not found: { id: '234064353428134' } 01/27/2024 15:02:12: Request bot not found: { id: '234064353428134' } 01/27/2024 15:03:33: Request bot not found: { id: '234064353428134' } 01/27/2024 15:04:56: Request bot not found: { id: '234064353428134' } 01/27/2024 15:06:18: Request bot not found: { id: '234064353428134' } 01/27/2024 15:07:30: Request bot not found: { id: '234064353428134' } 01/27/2024 15:08:50: Request bot not found: { id: '234064353428134' } 01/27/2024 15:10:03: Request bot not found: { id: '234064353428134' } 01/27/2024 16:35:06: Request bot not found: { id: '263700267026552' } 01/27/2024 16:35:07: Request bot not found: { id: '263700267026552' } 01/27/2024 16:35:07: Request bot not found: { id: '263700267026552' } 01/27/2024 16:35:09: Request bot not found: { id: '263700267026552' } 01/27/2024 16:35:10: Request bot not found: { id: '263700267026552' } 01/27/2024 16:35:14: Request bot not found: { id: '263700267026552' } 01/27/2024 16:35:31: Request bot not found: { id: '263700267026552' } 01/27/2024 16:36:56: Request bot not found: { id: '263700267026552' } 01/27/2024 16:38:15: Request bot not found: { id: '263700267026552' } 01/27/2024 16:39:31: Request bot not found: { id: '263700267026552' } 01/27/2024 16:40:52: Request bot not found: { id: '263700267026552' } 01/27/2024 16:42:11: Request bot not found: { id: '263700267026552' } 01/27/2024 16:43:24: Request bot not found: { id: '263700267026552' } 01/27/2024 16:44:41: Request bot not found: { id: '263700267026552' } 01/27/2024 16:46:07: Request bot not found: { id: '263700267026552' } 01/27/2024 16:47:31: Request bot not found: { id: '263700267026552' } 01/27/2024 16:48:52: Request bot not found: { id: '263700267026552' } 01/27/2024 16:50:08: Request bot not found: { id: '263700267026552' } 01/27/2024 16:51:33: Request bot not found: { id: '263700267026552' } 01/27/2024 16:52:52: Request bot not found: { id: '263700267026552' } 01/27/2024 16:54:11: Request bot not found: { id: '263700267026552' } 01/27/2024 16:55:32: Request bot not found: { id: '263700267026552' } 01/27/2024 16:56:56: Request bot not found: { id: '263700267026552' } 01/27/2024 16:58:21: Request bot not found: { id: '263700267026552' } 01/27/2024 16:59:40: Request bot not found: { id: '263700267026552' } 01/27/2024 17:00:55: Request bot not found: { id: '263700267026552' } 01/27/2024 17:02:16: Request bot not found: { id: '263700267026552' } 01/27/2024 17:03:36: Request bot not found: { id: '263700267026552' } 01/27/2024 17:05:00: Request bot not found: { id: '263700267026552' } 01/27/2024 17:06:16: Request bot not found: { id: '263700267026552' } 01/27/2024 17:07:29: Request bot not found: { id: '263700267026552' } 01/27/2024 17:07:29: Request bot not found: { id: '263700267026552' } 01/27/2024 17:07:30: Request bot not found: { id: '263700267026552' } 01/27/2024 17:07:31: Request bot not found: { id: '263700267026552' } 01/27/2024 17:07:32: Request bot not found: { id: '263700267026552' } 01/27/2024 17:07:33: Request bot not found: { id: '263700267026552' } 01/27/2024 17:07:36: Request bot not found: { id: '263700267026552' } 01/27/2024 17:07:53: Request bot not found: { id: '263700267026552' } 01/27/2024 17:09:15: Request bot not found: { id: '263700267026552' } 01/27/2024 17:10:33: Request bot not found: { id: '263700267026552' } 01/27/2024 17:11:59: Request bot not found: { id: '263700267026552' } 01/27/2024 17:13:10: Request bot not found: { id: '263700267026552' } 01/27/2024 17:14:31: Request bot not found: { id: '263700267026552' } 01/27/2024 17:15:49: Request bot not found: { id: '263700267026552' } 01/27/2024 17:17:12: Request bot not found: { id: '263700267026552' } 01/27/2024 17:18:32: Request bot not found: { id: '263700267026552' } 01/27/2024 17:19:49: Request bot not found: { id: '263700267026552' } 01/27/2024 17:21:07: Request bot not found: { id: '263700267026552' } 01/27/2024 17:22:33: Request bot not found: { id: '263700267026552' } 01/27/2024 17:23:57: Request bot not found: { id: '263700267026552' } 01/27/2024 17:25:11: Request bot not found: { id: '263700267026552' } 01/27/2024 17:26:28: Request bot not found: { id: '263700267026552' } 01/27/2024 17:27:51: Request bot not found: { id: '263700267026552' } 01/27/2024 17:29:08: Request bot not found: { id: '263700267026552' } 01/27/2024 17:30:30: Request bot not found: { id: '263700267026552' } 01/27/2024 17:31:52: Request bot not found: { id: '263700267026552' } 01/27/2024 17:33:12: Request bot not found: { id: '263700267026552' } 01/27/2024 17:34:34: Request bot not found: { id: '263700267026552' } 01/27/2024 17:35:49: Request bot not found: { id: '263700267026552' } 01/27/2024 17:37:05: Request bot not found: { id: '263700267026552' } 01/27/2024 17:38:17: Request bot not found: { id: '263700267026552' } 01/27/2024 17:39:43: Request bot not found: { id: '263700267026552' } 01/27/2024 17:39:44: Request bot not found: { id: '263700267026552' } 01/27/2024 17:39:45: Request bot not found: { id: '263700267026552' } 01/27/2024 17:39:45: Request bot not found: { id: '263700267026552' } 01/27/2024 17:39:46: Request bot not found: { id: '263700267026552' } 01/27/2024 17:39:47: Request bot not found: { id: '263700267026552' } 01/27/2024 17:39:51: Request bot not found: { id: '263700267026552' } 01/27/2024 17:40:06: Request bot not found: { id: '263700267026552' } 01/27/2024 17:41:24: Request bot not found: { id: '263700267026552' } 01/27/2024 17:42:42: Request bot not found: { id: '263700267026552' } 01/27/2024 17:44:08: Request bot not found: { id: '263700267026552' } 01/27/2024 17:45:27: Request bot not found: { id: '263700267026552' } 01/27/2024 17:48:11: Request bot not found: { id: '263700267026552' } 01/27/2024 17:49:31: Request bot not found: { id: '263700267026552' } 01/27/2024 17:50:44: Request bot not found: { id: '263700267026552' } 01/27/2024 17:52:10: Request bot not found: { id: '263700267026552' } 01/27/2024 17:53:31: Request bot not found: { id: '263700267026552' } 01/27/2024 17:54:46: Request bot not found: { id: '263700267026552' } 01/27/2024 17:56:06: Request bot not found: { id: '263700267026552' } 01/27/2024 17:57:32: Request bot not found: { id: '263700267026552' } 01/27/2024 17:58:49: Request bot not found: { id: '263700267026552' } 01/27/2024 18:00:16: Request bot not found: { id: '263700267026552' } 01/27/2024 18:01:40: Request bot not found: { id: '263700267026552' } 01/27/2024 18:02:58: Request bot not found: { id: '263700267026552' } 01/27/2024 18:04:16: Request bot not found: { id: '263700267026552' } 01/27/2024 18:05:37: Request bot not found: { id: '263700267026552' } 01/27/2024 18:07:00: Request bot not found: { id: '263700267026552' } 01/27/2024 18:08:18: Request bot not found: { id: '263700267026552' } 01/27/2024 18:09:43: Request bot not found: { id: '263700267026552' } 01/27/2024 18:11:06: Request bot not found: { id: '263700267026552' } 01/27/2024 18:12:31: Request bot not found: { id: '263700267026552' } 01/27/2024 18:13:41: Request bot not found: { id: '138868933458303' } 01/27/2024 18:13:41: Request bot not found: { id: '138868933458303' } 01/27/2024 18:13:42: Request bot not found: { id: '138868933458303' } 01/27/2024 18:13:42: Request bot not found: { id: '138868933458303' } 01/27/2024 18:13:44: Request bot not found: { id: '138868933458303' } 01/27/2024 18:13:48: Request bot not found: { id: '138868933458303' } 01/27/2024 18:14:04: Request bot not found: { id: '138868933458303' } 01/27/2024 18:15:29: Request bot not found: { id: '138868933458303' } 01/27/2024 18:16:53: Request bot not found: { id: '138868933458303' } 01/27/2024 18:18:13: Request bot not found: { id: '138868933458303' } 01/27/2024 18:19:38: Request bot not found: { id: '138868933458303' } 01/27/2024 18:21:04: Request bot not found: { id: '138868933458303' } 01/27/2024 18:22:28: Request bot not found: { id: '138868933458303' } 01/27/2024 18:23:52: Request bot not found: { id: '138868933458303' } 01/27/2024 18:25:19: Request bot not found: { id: '138868933458303' } 01/27/2024 18:26:45: Request bot not found: { id: '138868933458303' } 01/27/2024 18:27:57: Request bot not found: { id: '138868933458303' } 01/27/2024 18:29:20: Request bot not found: { id: '138868933458303' } 01/27/2024 18:30:37: Request bot not found: { id: '138868933458303' } 01/27/2024 18:31:55: Request bot not found: { id: '138868933458303' } 01/27/2024 18:32:38: Request bot not found: { id: '263700267026552' } 01/27/2024 18:32:39: Request bot not found: { id: '263700267026552' } 01/27/2024 18:32:40: Request bot not found: { id: '263700267026552' } 01/27/2024 18:32:41: Request bot not found: { id: '263700267026552' } 01/27/2024 18:32:42: Request bot not found: { id: '263700267026552' } 01/27/2024 18:32:46: Request bot not found: { id: '263700267026552' } 01/27/2024 18:33:02: Request bot not found: { id: '263700267026552' } 01/27/2024 18:33:07: Request bot not found: { id: '138868933458303' } 01/27/2024 18:34:13: Request bot not found: { id: '263700267026552' } 01/27/2024 18:34:19: Request bot not found: { id: '138868933458303' } 01/27/2024 18:35:36: Request bot not found: { id: '138868933458303' } 01/27/2024 18:35:38: Request bot not found: { id: '263700267026552' } 01/27/2024 18:36:51: Request bot not found: { id: '138868933458303' } 01/27/2024 18:37:02: Request bot not found: { id: '263700267026552' } 01/27/2024 18:38:13: Request bot not found: { id: '138868933458303' } 01/27/2024 18:38:21: Request bot not found: { id: '263700267026552' } 01/27/2024 18:39:33: Request bot not found: { id: '138868933458303' } 01/27/2024 18:39:41: Request bot not found: { id: '263700267026552' } 01/27/2024 18:40:49: Request bot not found: { id: '138868933458303' } 01/27/2024 18:40:55: Request bot not found: { id: '263700267026552' } 01/27/2024 18:41:48: Request bot not found: { id: '263700267026552' } 01/27/2024 18:41:49: Request bot not found: { id: '263700267026552' } 01/27/2024 18:41:50: Request bot not found: { id: '263700267026552' } 01/27/2024 18:41:51: Request bot not found: { id: '263700267026552' } 01/27/2024 18:41:52: Request bot not found: { id: '263700267026552' } 01/27/2024 18:41:56: Request bot not found: { id: '263700267026552' } 01/27/2024 18:42:07: Request bot not found: { id: '263700267026552' } 01/27/2024 18:42:09: Request bot not found: { id: '138868933458303' } 01/27/2024 18:42:14: Request bot not found: { id: '263700267026552' } 01/27/2024 18:43:20: Request bot not found: { id: '263700267026552' } 01/27/2024 18:43:23: Request bot not found: { id: '138868933458303' } 01/27/2024 18:43:36: Request bot not found: { id: '263700267026552' } 01/27/2024 18:44:32: Request bot not found: { id: '263700267026552' } 01/27/2024 18:44:49: Request bot not found: { id: '138868933458303' } 01/27/2024 18:44:53: Request bot not found: { id: '263700267026552' } 01/27/2024 18:45:58: Request bot not found: { id: '263700267026552' } 01/27/2024 18:46:05: Request bot not found: { id: '263700267026552' } 01/27/2024 18:46:07: Request bot not found: { id: '138868933458303' } 01/27/2024 18:46:07: Request bot not found: { id: '138868933458303' } 01/27/2024 18:46:08: Request bot not found: { id: '138868933458303' } 01/27/2024 18:46:09: Request bot not found: { id: '138868933458303' } 01/27/2024 18:46:09: Request bot not found: { id: '138868933458303' } 01/27/2024 18:46:11: Request bot not found: { id: '138868933458303' } 01/27/2024 18:46:14: Request bot not found: { id: '138868933458303' } 01/27/2024 18:46:30: Request bot not found: { id: '138868933458303' } 01/27/2024 18:47:19: Request bot not found: { id: '263700267026552' } 01/27/2024 18:47:27: Request bot not found: { id: '263700267026552' } 01/27/2024 18:47:52: Request bot not found: { id: '138868933458303' } 01/27/2024 18:48:31: Request bot not found: { id: '263700267026552' } 01/27/2024 18:48:41: Request bot not found: { id: '263700267026552' } 01/27/2024 18:49:03: Request bot not found: { id: '138868933458303' } 01/27/2024 18:49:55: Request bot not found: { id: '263700267026552' } 01/27/2024 18:50:00: Request bot not found: { id: '263700267026552' } 01/27/2024 18:50:28: Request bot not found: { id: '138868933458303' } 01/27/2024 18:51:11: Request bot not found: { id: '263700267026552' } 01/27/2024 18:51:17: Request bot not found: { id: '263700267026552' } 01/27/2024 18:51:42: Request bot not found: { id: '138868933458303' } 01/27/2024 18:52:32: Request bot not found: { id: '263700267026552' } 01/27/2024 18:52:36: Request bot not found: { id: '263700267026552' } 01/27/2024 18:53:04: Request bot not found: { id: '138868933458303' } 01/27/2024 18:53:47: Request bot not found: { id: '263700267026552' } 01/27/2024 18:53:59: Request bot not found: { id: '263700267026552' } 01/27/2024 18:54:19: Request bot not found: { id: '138868933458303' } 01/27/2024 18:55:04: Request bot not found: { id: '263700267026552' } 01/27/2024 18:55:18: Request bot not found: { id: '263700267026552' } 01/27/2024 18:55:40: Request bot not found: { id: '138868933458303' } 01/27/2024 18:56:23: Request bot not found: { id: '263700267026552' } 01/27/2024 18:56:38: Request bot not found: { id: '263700267026552' } 01/27/2024 18:57:04: Request bot not found: { id: '138868933458303' } 01/27/2024 18:57:37: Request bot not found: { id: '263700267026552' } 01/27/2024 18:58:00: Request bot not found: { id: '263700267026552' } 01/27/2024 18:58:24: Request bot not found: { id: '138868933458303' } 01/27/2024 18:58:55: Request bot not found: { id: '263700267026552' } 01/27/2024 18:59:23: Request bot not found: { id: '263700267026552' } 01/27/2024 18:59:44: Request bot not found: { id: '138868933458303' } 01/27/2024 19:00:12: Request bot not found: { id: '263700267026552' } 01/27/2024 19:00:37: Request bot not found: { id: '263700267026552' } 01/27/2024 19:01:07: Request bot not found: { id: '138868933458303' } 01/27/2024 19:01:34: Request bot not found: { id: '263700267026552' } 01/27/2024 19:02:02: Request bot not found: { id: '263700267026552' } 01/27/2024 19:02:30: Request bot not found: { id: '138868933458303' } 01/27/2024 19:02:53: Request bot not found: { id: '263700267026552' } 01/27/2024 19:03:23: Request bot not found: { id: '263700267026552' } 01/27/2024 19:03:42: Request bot not found: { id: '138868933458303' } 01/27/2024 19:04:08: Request bot not found: { id: '263700267026552' } 01/27/2024 19:04:38: Request bot not found: { id: '263700267026552' } 01/27/2024 19:04:38: Request bot not found: { id: '263700267026552' } 01/27/2024 19:04:39: Request bot not found: { id: '263700267026552' } 01/27/2024 19:04:39: Request bot not found: { id: '263700267026552' } 01/27/2024 19:04:40: Request bot not found: { id: '263700267026552' } 01/27/2024 19:04:41: Request bot not found: { id: '263700267026552' } 01/27/2024 19:04:45: Request bot not found: { id: '263700267026552' } 01/27/2024 19:04:56: Request bot not found: { id: '138868933458303' } 01/27/2024 19:04:59: Request bot not found: { id: '263700267026552' } 01/27/2024 19:05:29: Request bot not found: { id: '263700267026552' } 01/27/2024 19:06:09: Request bot not found: { id: '138868933458303' } 01/27/2024 19:06:23: Request bot not found: { id: '263700267026552' } 01/27/2024 19:06:51: Request bot not found: { id: '263700267026552' } 01/27/2024 19:07:29: Request bot not found: { id: '138868933458303' } 01/27/2024 19:07:48: Request bot not found: { id: '263700267026552' } 01/27/2024 19:08:10: Request bot not found: { id: '263700267026552' } 01/27/2024 19:08:48: Request bot not found: { id: '138868933458303' } 01/27/2024 19:09:13: Request bot not found: { id: '263700267026552' } 01/27/2024 19:09:34: Request bot not found: { id: '263700267026552' } 01/27/2024 19:10:00: Request bot not found: { id: '138868933458303' } 01/27/2024 19:10:29: Request bot not found: { id: '263700267026552' } 01/27/2024 19:10:53: Request bot not found: { id: '263700267026552' } 01/27/2024 19:11:26: Request bot not found: { id: '138868933458303' } 01/27/2024 19:11:48: Request bot not found: { id: '263700267026552' } 01/27/2024 19:12:04: Request bot not found: { id: '263700267026552' } 01/27/2024 19:12:51: Request bot not found: { id: '138868933458303' } 01/27/2024 19:13:04: Request bot not found: { id: '263700267026552' } 01/27/2024 19:13:29: Request bot not found: { id: '263700267026552' } 01/27/2024 19:13:30: Request bot not found: { id: '263700267026552' } 01/27/2024 19:13:31: Request bot not found: { id: '263700267026552' } 01/27/2024 19:13:31: Request bot not found: { id: '263700267026552' } 01/27/2024 19:13:32: Request bot not found: { id: '263700267026552' } 01/27/2024 19:13:33: Request bot not found: { id: '263700267026552' } 01/27/2024 19:13:37: Request bot not found: { id: '263700267026552' } 01/27/2024 19:13:54: Request bot not found: { id: '263700267026552' } 01/27/2024 19:14:07: Request bot not found: { id: '138868933458303' } 01/27/2024 19:14:16: Request bot not found: { id: '263700267026552' } 01/27/2024 19:15:08: Request bot not found: { id: '263700267026552' } 01/27/2024 19:15:30: Request bot not found: { id: '138868933458303' } 01/27/2024 19:15:31: Request bot not found: { id: '263700267026552' } 01/27/2024 19:16:34: Request bot not found: { id: '263700267026552' } 01/27/2024 19:16:54: Request bot not found: { id: '138868933458303' } 01/27/2024 19:16:56: Request bot not found: { id: '263700267026552' } 01/27/2024 19:17:46: Request bot not found: { id: '263700267026552' } 01/27/2024 19:18:05: Request bot not found: { id: '138868933458303' } 01/27/2024 19:18:06: Request bot not found: { id: '138868933458303' } 01/27/2024 19:18:06: Request bot not found: { id: '138868933458303' } 01/27/2024 19:18:07: Request bot not found: { id: '138868933458303' } 01/27/2024 19:18:08: Request bot not found: { id: '138868933458303' } 01/27/2024 19:18:09: Request bot not found: { id: '138868933458303' } 01/27/2024 19:18:13: Request bot not found: { id: '138868933458303' } 01/27/2024 19:18:19: Request bot not found: { id: '263700267026552' } 01/27/2024 19:18:30: Request bot not found: { id: '138868933458303' } 01/27/2024 19:19:06: Request bot not found: { id: '263700267026552' } 01/27/2024 19:19:37: Request bot not found: { id: '263700267026552' } 01/27/2024 19:19:52: Request bot not found: { id: '138868933458303' } 01/27/2024 19:20:26: Request bot not found: { id: '263700267026552' } 01/27/2024 19:20:52: Request bot not found: { id: '263700267026552' } 01/27/2024 19:21:18: Request bot not found: { id: '138868933458303' } 01/27/2024 19:21:39: Request bot not found: { id: '263700267026552' } 01/27/2024 19:22:11: Request bot not found: { id: '263700267026552' } 01/27/2024 19:22:35: Request bot not found: { id: '138868933458303' } 01/27/2024 19:22:50: Request bot not found: { id: '263700267026552' } 01/27/2024 19:23:32: Request bot not found: { id: '263700267026552' } 01/27/2024 19:23:48: Request bot not found: { id: '138868933458303' } 01/27/2024 19:24:05: Request bot not found: { id: '263700267026552' } 01/27/2024 19:24:50: Request bot not found: { id: '263700267026552' } 01/27/2024 19:25:10: Request bot not found: { id: '138868933458303' } 01/27/2024 19:25:16: Request bot not found: { id: '263700267026552' } 01/27/2024 19:26:08: Request bot not found: { id: '263700267026552' } 01/27/2024 19:26:32: Request bot not found: { id: '138868933458303' } 01/27/2024 19:26:35: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:17: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:18: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:19: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:20: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:21: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:25: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:29: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:42: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:49: Request bot not found: { id: '263700267026552' } 01/27/2024 19:27:57: Request bot not found: { id: '138868933458303' } 01/27/2024 19:28:47: Request bot not found: { id: '263700267026552' } 01/27/2024 19:28:55: Request bot not found: { id: '263700267026552' } 01/27/2024 19:29:07: Request bot not found: { id: '263700267026552' } 01/27/2024 19:29:23: Request bot not found: { id: '138868933458303' } 01/27/2024 19:30:09: Request bot not found: { id: '263700267026552' } 01/27/2024 19:30:19: Request bot not found: { id: '263700267026552' } 01/27/2024 19:30:27: Request bot not found: { id: '263700267026552' } 01/27/2024 19:30:35: Request bot not found: { id: '138868933458303' } 01/27/2024 19:31:27: Request bot not found: { id: '263700267026552' } 01/27/2024 19:31:34: Request bot not found: { id: '263700267026552' } 01/27/2024 19:31:38: Request bot not found: { id: '263700267026552' } 01/27/2024 19:31:49: Request bot not found: { id: '138868933458303' } 01/27/2024 19:32:17: Error on controller payload Input Treatment=> type not found 01/27/2024 19:32:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/27/2024 19:32:43: Request bot not found: { id: '263700267026552' } 01/27/2024 19:32:54: Request bot not found: { id: '263700267026552' } 01/27/2024 19:32:59: Request bot not found: { id: '263700267026552' } 01/27/2024 19:33:09: Request bot not found: { id: '138868933458303' } 01/27/2024 19:34:00: Request bot not found: { id: '263700267026552' } 01/27/2024 19:34:10: Request bot not found: { id: '263700267026552' } 01/27/2024 19:34:16: Request bot not found: { id: '263700267026552' } 01/27/2024 19:34:27: Request bot not found: { id: '138868933458303' } 01/27/2024 19:35:13: Request bot not found: { id: '263700267026552' } 01/27/2024 19:35:28: Request bot not found: { id: '263700267026552' } 01/27/2024 19:35:31: Request bot not found: { id: '263700267026552' } 01/27/2024 19:35:54: Request bot not found: { id: '138868933458303' } 01/27/2024 19:36:27: Request bot not found: { id: '263700267026552' } 01/27/2024 19:36:42: Request bot not found: { id: '263700267026552' } 01/27/2024 19:36:46: Request bot not found: { id: '263700267026552' } 01/27/2024 19:37:12: Request bot not found: { id: '138868933458303' } 01/27/2024 19:38:05: Request bot not found: { id: '263700267026552' } 01/27/2024 19:38:08: Request bot not found: { id: '263700267026552' } 01/27/2024 19:38:26: Request bot not found: { id: '138868933458303' } 01/27/2024 19:39:24: Request bot not found: { id: '263700267026552' } 01/27/2024 19:39:34: Request bot not found: { id: '263700267026552' } 01/27/2024 19:39:49: Request bot not found: { id: '138868933458303' } 01/27/2024 19:40:45: Request bot not found: { id: '263700267026552' } 01/27/2024 19:40:54: Request bot not found: { id: '263700267026552' } 01/27/2024 19:41:10: Request bot not found: { id: '138868933458303' } 01/27/2024 19:42:06: Request bot not found: { id: '263700267026552' } 01/27/2024 19:42:21: Request bot not found: { id: '263700267026552' } 01/27/2024 19:42:31: Request bot not found: { id: '138868933458303' } 01/27/2024 19:43:31: Request bot not found: { id: '263700267026552' } 01/27/2024 19:43:42: Request bot not found: { id: '263700267026552' } 01/27/2024 19:43:49: Request bot not found: { id: '138868933458303' } 01/27/2024 19:44:54: Request bot not found: { id: '263700267026552' } 01/27/2024 19:44:54: Request bot not found: { id: '263700267026552' } 01/27/2024 19:44:55: Request bot not found: { id: '263700267026552' } 01/27/2024 19:44:56: Request bot not found: { id: '263700267026552' } 01/27/2024 19:44:56: Request bot not found: { id: '263700267026552' } 01/27/2024 19:44:58: Request bot not found: { id: '263700267026552' } 01/27/2024 19:45:01: Request bot not found: { id: '263700267026552' } 01/27/2024 19:45:04: Request bot not found: { id: '263700267026552' } 01/27/2024 19:45:09: Request bot not found: { id: '138868933458303' } 01/27/2024 19:45:18: Request bot not found: { id: '263700267026552' } 01/27/2024 19:46:19: Request bot not found: { id: '263700267026552' } 01/27/2024 19:46:32: Request bot not found: { id: '138868933458303' } 01/27/2024 19:46:33: Request bot not found: { id: '263700267026552' } 01/27/2024 19:47:43: Request bot not found: { id: '263700267026552' } 01/27/2024 19:47:44: Request bot not found: { id: '263700267026552' } 01/27/2024 19:47:49: Request bot not found: { id: '138868933458303' } 01/27/2024 19:49:00: Request bot not found: { id: '263700267026552' } 01/27/2024 19:49:07: Request bot not found: { id: '263700267026552' } 01/27/2024 19:49:12: Request bot not found: { id: '138868933458303' } 01/27/2024 19:50:26: Request bot not found: { id: '263700267026552' } 01/27/2024 19:50:27: Request bot not found: { id: '263700267026552' } 01/27/2024 19:50:37: Request bot not found: { id: '138868933458303' } 01/27/2024 19:50:37: Request bot not found: { id: '138868933458303' } 01/27/2024 19:50:38: Request bot not found: { id: '138868933458303' } 01/27/2024 19:50:38: Request bot not found: { id: '138868933458303' } 01/27/2024 19:50:39: Request bot not found: { id: '138868933458303' } 01/27/2024 19:50:40: Request bot not found: { id: '138868933458303' } 01/27/2024 19:50:44: Request bot not found: { id: '138868933458303' } 01/27/2024 19:51:00: Request bot not found: { id: '138868933458303' } 01/27/2024 19:51:39: Request bot not found: { id: '263700267026552' } 01/27/2024 19:51:54: Request bot not found: { id: '263700267026552' } 01/27/2024 19:52:23: Request bot not found: { id: '138868933458303' } 01/27/2024 19:52:56: Request bot not found: { id: '263700267026552' } 01/27/2024 19:53:05: Request bot not found: { id: '263700267026552' } 01/27/2024 19:53:41: Request bot not found: { id: '138868933458303' } 01/27/2024 19:54:19: Request bot not found: { id: '263700267026552' } 01/27/2024 19:54:21: Request bot not found: { id: '263700267026552' } 01/27/2024 19:54:57: Request bot not found: { id: '138868933458303' } 01/27/2024 19:55:46: Request bot not found: { id: '263700267026552' } 01/27/2024 19:55:46: Request bot not found: { id: '263700267026552' } 01/27/2024 19:56:08: Request bot not found: { id: '138868933458303' } 01/27/2024 19:57:00: Request bot not found: { id: '263700267026552' } 01/27/2024 19:57:02: Request bot not found: { id: '263700267026552' } 01/27/2024 19:57:30: Request bot not found: { id: '138868933458303' } 01/27/2024 19:58:15: Request bot not found: { id: '263700267026552' } 01/27/2024 19:58:25: Request bot not found: { id: '263700267026552' } 01/27/2024 19:58:56: Request bot not found: { id: '138868933458303' } 01/27/2024 19:59:27: Request bot not found: { id: '263700267026552' } 01/27/2024 19:59:37: Request bot not found: { id: '263700267026552' } 01/27/2024 19:59:38: Request bot not found: { id: '263700267026552' } 01/27/2024 19:59:39: Request bot not found: { id: '263700267026552' } 01/27/2024 19:59:40: Request bot not found: { id: '263700267026552' } 01/27/2024 19:59:41: Request bot not found: { id: '263700267026552' } 01/27/2024 19:59:42: Request bot not found: { id: '263700267026552' } 01/27/2024 19:59:46: Request bot not found: { id: '263700267026552' } 01/27/2024 20:00:01: Request bot not found: { id: '263700267026552' } 01/27/2024 20:00:16: Request bot not found: { id: '138868933458303' } 01/27/2024 20:00:50: Request bot not found: { id: '263700267026552' } 01/27/2024 20:01:14: Request bot not found: { id: '263700267026552' } 01/27/2024 20:01:38: Request bot not found: { id: '138868933458303' } 01/27/2024 20:02:07: Request bot not found: { id: '263700267026552' } 01/27/2024 20:02:26: Request bot not found: { id: '263700267026552' } 01/27/2024 20:02:56: Request bot not found: { id: '138868933458303' } 01/27/2024 20:03:32: Request bot not found: { id: '263700267026552' } 01/27/2024 20:03:40: Request bot not found: { id: '263700267026552' } 01/27/2024 20:04:16: Request bot not found: { id: '138868933458303' } 01/27/2024 20:04:50: Request bot not found: { id: '263700267026552' } 01/27/2024 20:05:03: Request bot not found: { id: '263700267026552' } 01/27/2024 20:05:37: Request bot not found: { id: '138868933458303' } 01/27/2024 20:06:13: Request bot not found: { id: '263700267026552' } 01/27/2024 20:06:21: Request bot not found: { id: '263700267026552' } 01/27/2024 20:06:59: Request bot not found: { id: '138868933458303' } 01/27/2024 20:07:38: Request bot not found: { id: '263700267026552' } 01/27/2024 20:07:39: Request bot not found: { id: '263700267026552' } 01/27/2024 20:08:10: Request bot not found: { id: '138868933458303' } 01/27/2024 20:08:55: Request bot not found: { id: '263700267026552' } 01/27/2024 20:09:01: Request bot not found: { id: '263700267026552' } 01/27/2024 20:09:37: Request bot not found: { id: '138868933458303' } 01/27/2024 20:10:10: Request bot not found: { id: '263700267026552' } 01/27/2024 20:10:12: Request bot not found: { id: '263700267026552' } 01/27/2024 20:10:59: Request bot not found: { id: '138868933458303' } 01/27/2024 20:11:32: Request bot not found: { id: '263700267026552' } 01/27/2024 20:11:34: Request bot not found: { id: '263700267026552' } 01/27/2024 20:12:17: Request bot not found: { id: '138868933458303' } 01/27/2024 20:12:46: Request bot not found: { id: '263700267026552' } 01/27/2024 20:12:50: Request bot not found: { id: '263700267026552' } 01/27/2024 20:13:38: Request bot not found: { id: '138868933458303' } 01/27/2024 20:14:04: Request bot not found: { id: '263700267026552' } 01/27/2024 20:14:06: Request bot not found: { id: '263700267026552' } 01/27/2024 20:15:03: Request bot not found: { id: '138868933458303' } 01/27/2024 20:15:23: Request bot not found: { id: '263700267026552' } 01/27/2024 20:15:26: Request bot not found: { id: '263700267026552' } 01/27/2024 20:16:19: Request bot not found: { id: '138868933458303' } 01/27/2024 20:16:39: Request bot not found: { id: '263700267026552' } 01/27/2024 20:16:39: Request bot not found: { id: '263700267026552' } 01/27/2024 20:16:40: Request bot not found: { id: '263700267026552' } 01/27/2024 20:16:41: Request bot not found: { id: '263700267026552' } 01/27/2024 20:16:41: Request bot not found: { id: '263700267026552' } 01/27/2024 20:16:42: Request bot not found: { id: '263700267026552' } 01/27/2024 20:16:46: Request bot not found: { id: '263700267026552' } 01/27/2024 20:16:48: Request bot not found: { id: '263700267026552' } 01/27/2024 20:17:03: Request bot not found: { id: '263700267026552' } 01/27/2024 20:17:31: Request bot not found: { id: '138868933458303' } 01/27/2024 20:18:07: Request bot not found: { id: '263700267026552' } 01/27/2024 20:18:20: Request bot not found: { id: '263700267026552' } 01/27/2024 20:18:48: Request bot not found: { id: '138868933458303' } 01/27/2024 20:19:30: Request bot not found: { id: '263700267026552' } 01/27/2024 20:19:38: Request bot not found: { id: '263700267026552' } 01/27/2024 20:20:02: Request bot not found: { id: '138868933458303' } 01/27/2024 20:20:48: Request bot not found: { id: '263700267026552' } 01/27/2024 20:20:52: Request bot not found: { id: '263700267026552' } 01/27/2024 20:21:21: Request bot not found: { id: '138868933458303' } 01/27/2024 20:21:59: Request bot not found: { id: '263700267026552' } 01/27/2024 20:22:18: Request bot not found: { id: '263700267026552' } 01/27/2024 20:22:35: Request bot not found: { id: '138868933458303' } 01/27/2024 20:22:36: Request bot not found: { id: '138868933458303' } 01/27/2024 20:22:36: Request bot not found: { id: '138868933458303' } 01/27/2024 20:22:37: Request bot not found: { id: '138868933458303' } 01/27/2024 20:22:37: Request bot not found: { id: '138868933458303' } 01/27/2024 20:22:38: Request bot not found: { id: '138868933458303' } 01/27/2024 20:22:42: Request bot not found: { id: '138868933458303' } 01/27/2024 20:22:59: Request bot not found: { id: '138868933458303' } 01/27/2024 20:23:25: Request bot not found: { id: '263700267026552' } 01/27/2024 20:23:44: Request bot not found: { id: '263700267026552' } 01/27/2024 20:24:26: Request bot not found: { id: '138868933458303' } 01/27/2024 20:24:47: Request bot not found: { id: '263700267026552' } 01/27/2024 20:25:01: Request bot not found: { id: '263700267026552' } 01/27/2024 20:25:37: Request bot not found: { id: '138868933458303' } 01/27/2024 20:26:06: Request bot not found: { id: '263700267026552' } 01/27/2024 20:26:23: Request bot not found: { id: '263700267026552' } 01/27/2024 20:26:56: Request bot not found: { id: '138868933458303' } 01/27/2024 20:27:22: Request bot not found: { id: '263700267026552' } 01/27/2024 20:27:46: Request bot not found: { id: '263700267026552' } 01/27/2024 20:28:21: Request bot not found: { id: '138868933458303' } 01/27/2024 20:28:39: Request bot not found: { id: '263700267026552' } 01/27/2024 20:29:09: Request bot not found: { id: '263700267026552' } 01/27/2024 20:29:34: Request bot not found: { id: '138868933458303' } 01/27/2024 20:29:54: Request bot not found: { id: '263700267026552' } 01/27/2024 20:30:26: Request bot not found: { id: '263700267026552' } 01/27/2024 20:30:45: Request bot not found: { id: '138868933458303' } 01/27/2024 20:31:19: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:19: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:20: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:21: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:22: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:24: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:28: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:43: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:43: Request bot not found: { id: '263700267026552' } 01/27/2024 20:31:57: Request bot not found: { id: '138868933458303' } 01/27/2024 20:33:07: Request bot not found: { id: '263700267026552' } 01/27/2024 20:33:08: Request bot not found: { id: '263700267026552' } 01/27/2024 20:33:18: Request bot not found: { id: '138868933458303' } 01/27/2024 20:34:20: Request bot not found: { id: '263700267026552' } 01/27/2024 20:34:32: Request bot not found: { id: '263700267026552' } 01/27/2024 20:34:34: Request bot not found: { id: '138868933458303' } 01/27/2024 20:35:43: Request bot not found: { id: '263700267026552' } 01/27/2024 20:35:43: Request bot not found: { id: '263700267026552' } 01/27/2024 20:35:55: Request bot not found: { id: '138868933458303' } 01/27/2024 20:37:00: Request bot not found: { id: '263700267026552' } 01/27/2024 20:37:01: Request bot not found: { id: '263700267026552' } 01/27/2024 20:37:19: Request bot not found: { id: '138868933458303' } 01/27/2024 20:38:11: Request bot not found: { id: '263700267026552' } 01/27/2024 20:38:17: Request bot not found: { id: '263700267026552' } 01/27/2024 20:38:44: Request bot not found: { id: '138868933458303' } 01/27/2024 20:39:32: Request bot not found: { id: '263700267026552' } 01/27/2024 20:39:40: Request bot not found: { id: '263700267026552' } 01/27/2024 20:39:58: Request bot not found: { id: '138868933458303' } 01/27/2024 20:40:48: Request bot not found: { id: '263700267026552' } 01/27/2024 20:40:52: Request bot not found: { id: '263700267026552' } 01/27/2024 20:41:24: Request bot not found: { id: '138868933458303' } 01/27/2024 20:41:59: Request bot not found: { id: '263700267026552' } 01/27/2024 20:42:18: Request bot not found: { id: '263700267026552' } 01/27/2024 20:42:36: Request bot not found: { id: '138868933458303' } 01/27/2024 20:43:25: Request bot not found: { id: '263700267026552' } 01/27/2024 20:43:36: Request bot not found: { id: '263700267026552' } 01/27/2024 20:43:46: Request bot not found: { id: '138868933458303' } 01/27/2024 20:44:36: Request bot not found: { id: '263700267026552' } 01/27/2024 20:44:55: Request bot not found: { id: '263700267026552' } 01/27/2024 20:45:05: Request bot not found: { id: '138868933458303' } 01/27/2024 20:45:55: Request bot not found: { id: '263700267026552' } 01/27/2024 20:46:08: Request bot not found: { id: '263700267026552' } 01/27/2024 20:46:30: Request bot not found: { id: '138868933458303' } 01/27/2024 20:47:12: Request bot not found: { id: '263700267026552' } 01/27/2024 20:47:30: Request bot not found: { id: '263700267026552' } 01/27/2024 20:47:56: Request bot not found: { id: '138868933458303' } 01/27/2024 20:48:29: Request bot not found: { id: '263700267026552' } 01/27/2024 20:48:29: Request bot not found: { id: '263700267026552' } 01/27/2024 20:48:30: Request bot not found: { id: '263700267026552' } 01/27/2024 20:48:31: Request bot not found: { id: '263700267026552' } 01/27/2024 20:48:32: Request bot not found: { id: '263700267026552' } 01/27/2024 20:48:33: Request bot not found: { id: '263700267026552' } 01/27/2024 20:48:37: Request bot not found: { id: '263700267026552' } 01/27/2024 20:48:52: Request bot not found: { id: '263700267026552' } 01/27/2024 20:48:56: Request bot not found: { id: '263700267026552' } 01/27/2024 20:49:22: Request bot not found: { id: '138868933458303' } 01/27/2024 20:50:11: Request bot not found: { id: '263700267026552' } 01/27/2024 20:50:15: Request bot not found: { id: '263700267026552' } 01/27/2024 20:50:47: Request bot not found: { id: '138868933458303' } 01/27/2024 20:51:27: Request bot not found: { id: '263700267026552' } 01/27/2024 20:51:29: Request bot not found: { id: '263700267026552' } 01/27/2024 20:52:04: Request bot not found: { id: '138868933458303' } 01/27/2024 20:52:42: Request bot not found: { id: '263700267026552' } 01/27/2024 20:52:43: Request bot not found: { id: '263700267026552' } 01/27/2024 20:53:30: Request bot not found: { id: '138868933458303' } 01/27/2024 20:54:05: Request bot not found: { id: '263700267026552' } 01/27/2024 20:54:10: Request bot not found: { id: '263700267026552' } 01/27/2024 20:54:48: Request bot not found: { id: '138868933458303' } 01/27/2024 20:54:48: Request bot not found: { id: '138868933458303' } 01/27/2024 20:54:49: Request bot not found: { id: '138868933458303' } 01/27/2024 20:54:50: Request bot not found: { id: '138868933458303' } 01/27/2024 20:54:50: Request bot not found: { id: '138868933458303' } 01/27/2024 20:54:52: Request bot not found: { id: '138868933458303' } 01/27/2024 20:54:55: Request bot not found: { id: '138868933458303' } 01/27/2024 20:55:11: Request bot not found: { id: '138868933458303' } 01/27/2024 20:55:30: Request bot not found: { id: '263700267026552' } 01/27/2024 20:55:36: Request bot not found: { id: '263700267026552' } 01/27/2024 20:56:32: Request bot not found: { id: '138868933458303' } 01/27/2024 20:56:54: Request bot not found: { id: '263700267026552' } 01/27/2024 20:57:02: Request bot not found: { id: '263700267026552' } 01/27/2024 20:57:53: Request bot not found: { id: '138868933458303' } 01/27/2024 20:58:10: Request bot not found: { id: '263700267026552' } 01/27/2024 20:58:28: Request bot not found: { id: '263700267026552' } 01/27/2024 20:59:12: Request bot not found: { id: '138868933458303' } 01/27/2024 20:59:28: Request bot not found: { id: '263700267026552' } 01/27/2024 20:59:46: Request bot not found: { id: '263700267026552' } 01/27/2024 21:00:37: Request bot not found: { id: '138868933458303' } 01/27/2024 21:00:53: Request bot not found: { id: '263700267026552' } 01/27/2024 21:01:03: Request bot not found: { id: '263700267026552' } 01/27/2024 21:01:58: Request bot not found: { id: '138868933458303' } 01/27/2024 21:02:14: Request bot not found: { id: '263700267026552' } 01/27/2024 21:02:27: Request bot not found: { id: '263700267026552' } 01/27/2024 21:03:16: Request bot not found: { id: '138868933458303' } 01/27/2024 21:03:41: Request bot not found: { id: '263700267026552' } 01/27/2024 21:03:42: Request bot not found: { id: '263700267026552' } 01/27/2024 21:03:43: Request bot not found: { id: '263700267026552' } 01/27/2024 21:03:43: Request bot not found: { id: '263700267026552' } 01/27/2024 21:03:44: Request bot not found: { id: '263700267026552' } 01/27/2024 21:03:45: Request bot not found: { id: '263700267026552' } 01/27/2024 21:03:46: Request bot not found: { id: '263700267026552' } 01/27/2024 21:03:50: Request bot not found: { id: '263700267026552' } 01/27/2024 21:04:07: Request bot not found: { id: '263700267026552' } 01/27/2024 21:04:29: Request bot not found: { id: '138868933458303' } 01/27/2024 21:05:08: Request bot not found: { id: '263700267026552' } 01/27/2024 21:05:21: Request bot not found: { id: '263700267026552' } 01/27/2024 21:05:52: Request bot not found: { id: '138868933458303' } 01/27/2024 21:06:32: Request bot not found: { id: '263700267026552' } 01/27/2024 21:06:40: Request bot not found: { id: '263700267026552' } 01/27/2024 21:07:05: Request bot not found: { id: '138868933458303' } 01/27/2024 21:07:52: Request bot not found: { id: '263700267026552' } 01/27/2024 21:07:58: Request bot not found: { id: '263700267026552' } 01/27/2024 21:08:18: Request bot not found: { id: '138868933458303' } 01/27/2024 21:09:13: Request bot not found: { id: '263700267026552' } 01/27/2024 21:09:13: Request bot not found: { id: '263700267026552' } 01/27/2024 21:09:40: Request bot not found: { id: '138868933458303' } 01/27/2024 21:10:38: Request bot not found: { id: '263700267026552' } 01/27/2024 21:10:40: Request bot not found: { id: '263700267026552' } 01/27/2024 21:10:58: Request bot not found: { id: '138868933458303' } 01/27/2024 21:11:52: Request bot not found: { id: '263700267026552' } 01/27/2024 21:12:01: Request bot not found: { id: '263700267026552' } 01/27/2024 21:12:20: Request bot not found: { id: '138868933458303' } 01/27/2024 21:13:15: Request bot not found: { id: '263700267026552' } 01/27/2024 21:13:17: Request bot not found: { id: '263700267026552' } 01/27/2024 21:13:46: Request bot not found: { id: '138868933458303' } 01/27/2024 21:14:34: Request bot not found: { id: '263700267026552' } 01/27/2024 21:14:39: Request bot not found: { id: '263700267026552' } 01/27/2024 21:15:08: Request bot not found: { id: '138868933458303' } 01/27/2024 21:15:54: Request bot not found: { id: '263700267026552' } 01/27/2024 21:15:56: Request bot not found: { id: '263700267026552' } 01/27/2024 21:16:21: Request bot not found: { id: '138868933458303' } 01/27/2024 21:17:16: Request bot not found: { id: '263700267026552' } 01/27/2024 21:17:22: Request bot not found: { id: '263700267026552' } 01/27/2024 21:17:40: Request bot not found: { id: '138868933458303' } 01/27/2024 21:18:41: Request bot not found: { id: '263700267026552' } 01/27/2024 21:18:42: Request bot not found: { id: '263700267026552' } 01/27/2024 21:18:52: Request bot not found: { id: '138868933458303' } 01/27/2024 21:19:57: Request bot not found: { id: '263700267026552' } 01/27/2024 21:20:04: Request bot not found: { id: '138868933458303' } 01/27/2024 21:20:06: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:16: Request bot not found: { id: '138868933458303' } 01/27/2024 21:21:22: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:22: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:23: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:23: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:24: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:24: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:26: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:30: Request bot not found: { id: '263700267026552' } 01/27/2024 21:21:46: Request bot not found: { id: '263700267026552' } 01/27/2024 21:22:36: Request bot not found: { id: '138868933458303' } 01/27/2024 21:22:43: Request bot not found: { id: '263700267026552' } 01/27/2024 21:23:10: Request bot not found: { id: '263700267026552' } 01/27/2024 21:24:01: Request bot not found: { id: '138868933458303' } 01/27/2024 21:24:06: Request bot not found: { id: '263700267026552' } 01/27/2024 21:24:28: Request bot not found: { id: '263700267026552' } 01/27/2024 21:25:14: Request bot not found: { id: '138868933458303' } 01/27/2024 21:25:26: Request bot not found: { id: '263700267026552' } 01/27/2024 21:25:50: Request bot not found: { id: '263700267026552' } 01/27/2024 21:26:26: Request bot not found: { id: '138868933458303' } 01/27/2024 21:26:27: Request bot not found: { id: '138868933458303' } 01/27/2024 21:26:28: Request bot not found: { id: '138868933458303' } 01/27/2024 21:26:28: Request bot not found: { id: '138868933458303' } 01/27/2024 21:26:29: Request bot not found: { id: '138868933458303' } 01/27/2024 21:26:30: Request bot not found: { id: '138868933458303' } 01/27/2024 21:26:33: Request bot not found: { id: '138868933458303' } 01/27/2024 21:26:48: Request bot not found: { id: '263700267026552' } 01/27/2024 21:26:49: Request bot not found: { id: '138868933458303' } 01/27/2024 21:27:17: Request bot not found: { id: '263700267026552' } 01/27/2024 21:28:05: Request bot not found: { id: '138868933458303' } 01/27/2024 21:28:15: Request bot not found: { id: '263700267026552' } 01/27/2024 21:28:40: Request bot not found: { id: '263700267026552' } 01/27/2024 21:29:22: Request bot not found: { id: '138868933458303' } 01/27/2024 21:29:30: Request bot not found: { id: '263700267026552' } 01/27/2024 21:29:55: Request bot not found: { id: '263700267026552' } 01/27/2024 21:30:33: Request bot not found: { id: '138868933458303' } 01/27/2024 21:30:56: Request bot not found: { id: '263700267026552' } 01/27/2024 21:31:13: Request bot not found: { id: '263700267026552' } 01/27/2024 21:31:44: Request bot not found: { id: '138868933458303' } 01/27/2024 21:32:14: Request bot not found: { id: '263700267026552' } 01/27/2024 21:32:38: Request bot not found: { id: '263700267026552' } 01/27/2024 21:33:07: Request bot not found: { id: '138868933458303' } 01/27/2024 21:33:33: Request bot not found: { id: '263700267026552' } 01/27/2024 21:33:51: Request bot not found: { id: '263700267026552' } 01/27/2024 21:34:23: Request bot not found: { id: '138868933458303' } 01/27/2024 21:34:54: Request bot not found: { id: '263700267026552' } 01/27/2024 21:35:05: Request bot not found: { id: '263700267026552' } 01/27/2024 21:35:41: Request bot not found: { id: '138868933458303' } 01/27/2024 21:36:08: Request bot not found: { id: '263700267026552' } 01/27/2024 21:36:09: Request bot not found: { id: '263700267026552' } 01/27/2024 21:36:10: Request bot not found: { id: '263700267026552' } 01/27/2024 21:36:11: Request bot not found: { id: '263700267026552' } 01/27/2024 21:36:12: Request bot not found: { id: '263700267026552' } 01/27/2024 21:36:14: Request bot not found: { id: '263700267026552' } 01/27/2024 21:36:18: Request bot not found: { id: '263700267026552' } 01/27/2024 21:36:26: Request bot not found: { id: '263700267026552' } 01/27/2024 21:36:35: Request bot not found: { id: '263700267026552' } 01/27/2024 21:37:05: Request bot not found: { id: '138868933458303' } 01/27/2024 21:37:40: Request bot not found: { id: '263700267026552' } 01/27/2024 21:37:56: Request bot not found: { id: '263700267026552' } 01/27/2024 21:38:28: Request bot not found: { id: '138868933458303' } 01/27/2024 21:38:59: Request bot not found: { id: '263700267026552' } 01/27/2024 21:39:18: Request bot not found: { id: '263700267026552' } 01/27/2024 21:39:46: Request bot not found: { id: '138868933458303' } 01/27/2024 21:40:10: Request bot not found: { id: '263700267026552' } 01/27/2024 21:40:39: Request bot not found: { id: '263700267026552' } 01/27/2024 21:41:07: Request bot not found: { id: '138868933458303' } 01/27/2024 21:41:35: Request bot not found: { id: '263700267026552' } 01/27/2024 21:41:55: Request bot not found: { id: '263700267026552' } 01/27/2024 21:42:30: Request bot not found: { id: '138868933458303' } 01/27/2024 21:42:51: Request bot not found: { id: '263700267026552' } 01/27/2024 21:43:11: Request bot not found: { id: '263700267026552' } 01/27/2024 21:43:45: Request bot not found: { id: '138868933458303' } 01/27/2024 21:44:09: Request bot not found: { id: '263700267026552' } 01/27/2024 21:44:27: Request bot not found: { id: '263700267026552' } 01/27/2024 21:45:11: Request bot not found: { id: '138868933458303' } 01/27/2024 21:45:29: Request bot not found: { id: '263700267026552' } 01/27/2024 21:45:40: Request bot not found: { id: '263700267026552' } 01/27/2024 21:46:35: Request bot not found: { id: '138868933458303' } 01/27/2024 21:46:53: Request bot not found: { id: '263700267026552' } 01/27/2024 21:46:53: Request bot not found: { id: '263700267026552' } 01/27/2024 21:47:47: Request bot not found: { id: '138868933458303' } 01/27/2024 21:48:12: Request bot not found: { id: '263700267026552' } 01/27/2024 21:48:19: Request bot not found: { id: '263700267026552' } 01/27/2024 21:49:01: Request bot not found: { id: '138868933458303' } 01/27/2024 21:49:27: Request bot not found: { id: '263700267026552' } 01/27/2024 21:49:35: Request bot not found: { id: '263700267026552' } 01/27/2024 21:50:27: Request bot not found: { id: '138868933458303' } 01/27/2024 21:50:45: Request bot not found: { id: '263700267026552' } 01/27/2024 21:51:00: Request bot not found: { id: '263700267026552' } 01/27/2024 21:51:50: Request bot not found: { id: '138868933458303' } 01/27/2024 21:52:03: Request bot not found: { id: '263700267026552' } 01/27/2024 21:52:22: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:11: Request bot not found: { id: '138868933458303' } 01/27/2024 21:53:19: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:19: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:20: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:21: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:22: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:24: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:28: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:43: Request bot not found: { id: '263700267026552' } 01/27/2024 21:53:49: Request bot not found: { id: '263700267026552' } 01/27/2024 21:54:32: Request bot not found: { id: '138868933458303' } 01/27/2024 21:55:05: Request bot not found: { id: '263700267026552' } 01/27/2024 21:55:12: Request bot not found: { id: '263700267026552' } 01/27/2024 21:55:46: Request bot not found: { id: '138868933458303' } 01/27/2024 21:56:22: Request bot not found: { id: '263700267026552' } 01/27/2024 21:56:35: Request bot not found: { id: '263700267026552' } 01/27/2024 21:57:03: Request bot not found: { id: '138868933458303' } 01/27/2024 21:57:40: Request bot not found: { id: '263700267026552' } 01/27/2024 21:57:56: Request bot not found: { id: '263700267026552' } 01/27/2024 21:58:19: Request bot not found: { id: '138868933458303' } 01/27/2024 21:58:19: Request bot not found: { id: '138868933458303' } 01/27/2024 21:58:20: Request bot not found: { id: '138868933458303' } 01/27/2024 21:58:20: Request bot not found: { id: '138868933458303' } 01/27/2024 21:58:21: Request bot not found: { id: '138868933458303' } 01/27/2024 21:58:22: Request bot not found: { id: '138868933458303' } 01/27/2024 21:58:26: Request bot not found: { id: '138868933458303' } 01/27/2024 21:58:44: Request bot not found: { id: '138868933458303' } 01/27/2024 21:58:55: Request bot not found: { id: '263700267026552' } 01/27/2024 21:59:15: Request bot not found: { id: '263700267026552' } 01/27/2024 22:00:02: Request bot not found: { id: '138868933458303' } 01/27/2024 22:00:16: Request bot not found: { id: '263700267026552' } 01/27/2024 22:00:34: Request bot not found: { id: '263700267026552' } 01/27/2024 22:01:26: Request bot not found: { id: '138868933458303' } 01/27/2024 22:01:32: Request bot not found: { id: '263700267026552' } 01/27/2024 22:01:58: Request bot not found: { id: '263700267026552' } 01/27/2024 22:02:41: Request bot not found: { id: '138868933458303' } 01/27/2024 22:02:52: Request bot not found: { id: '263700267026552' } 01/27/2024 22:03:22: Request bot not found: { id: '263700267026552' } 01/27/2024 22:03:55: Request bot not found: { id: '138868933458303' } 01/27/2024 22:04:05: Request bot not found: { id: '263700267026552' } 01/27/2024 22:04:45: Request bot not found: { id: '263700267026552' } 01/27/2024 22:05:14: Request bot not found: { id: '138868933458303' } 01/27/2024 22:05:28: Request bot not found: { id: '263700267026552' } 01/27/2024 22:05:57: Request bot not found: { id: '263700267026552' } 01/27/2024 22:06:39: Request bot not found: { id: '138868933458303' } 01/27/2024 22:06:42: Request bot not found: { id: '263700267026552' } 01/27/2024 22:07:17: Request bot not found: { id: '263700267026552' } 01/27/2024 22:07:55: Request bot not found: { id: '138868933458303' } 01/27/2024 22:07:56: Request bot not found: { id: '263700267026552' } 01/27/2024 22:08:44: Request bot not found: { id: '263700267026552' } 01/27/2024 22:09:15: Request bot not found: { id: '263700267026552' } 01/27/2024 22:09:21: Request bot not found: { id: '138868933458303' } 01/27/2024 22:10:31: Request bot not found: { id: '263700267026552' } 01/27/2024 22:10:45: Request bot not found: { id: '138868933458303' } 01/27/2024 22:11:42: Request bot not found: { id: '263700267026552' } 01/27/2024 22:12:10: Request bot not found: { id: '138868933458303' } 01/27/2024 22:12:56: Request bot not found: { id: '263700267026552' } 01/27/2024 22:13:34: Request bot not found: { id: '138868933458303' } 01/27/2024 22:14:23: Request bot not found: { id: '263700267026552' } 01/27/2024 22:14:56: Request bot not found: { id: '138868933458303' } 01/27/2024 22:15:49: Request bot not found: { id: '263700267026552' } 01/27/2024 22:16:15: Request bot not found: { id: '138868933458303' } 01/27/2024 22:17:12: Request bot not found: { id: '263700267026552' } 01/27/2024 22:17:33: Request bot not found: { id: '138868933458303' } 01/27/2024 22:18:34: Request bot not found: { id: '263700267026552' } 01/27/2024 22:18:45: Request bot not found: { id: '138868933458303' } 01/27/2024 22:19:46: Request bot not found: { id: '263700267026552' } 01/27/2024 22:20:00: Request bot not found: { id: '138868933458303' } 01/27/2024 22:21:05: Request bot not found: { id: '263700267026552' } 01/27/2024 22:21:26: Request bot not found: { id: '138868933458303' } 01/27/2024 22:22:29: Request bot not found: { id: '263700267026552' } 01/27/2024 22:22:39: Request bot not found: { id: '138868933458303' } 01/27/2024 22:23:42: Request bot not found: { id: '263700267026552' } 01/27/2024 22:24:04: Request bot not found: { id: '138868933458303' } 01/27/2024 22:24:58: Request bot not found: { id: '263700267026552' } 01/27/2024 22:24:58: Request bot not found: { id: '263700267026552' } 01/27/2024 22:24:59: Request bot not found: { id: '263700267026552' } 01/27/2024 22:25:00: Request bot not found: { id: '263700267026552' } 01/27/2024 22:25:01: Request bot not found: { id: '263700267026552' } 01/27/2024 22:25:02: Request bot not found: { id: '263700267026552' } 01/27/2024 22:25:06: Request bot not found: { id: '263700267026552' } 01/27/2024 22:25:17: Request bot not found: { id: '138868933458303' } 01/27/2024 22:25:23: Request bot not found: { id: '263700267026552' } 01/27/2024 22:26:29: Request bot not found: { id: '138868933458303' } 01/27/2024 22:26:36: Request bot not found: { id: '263700267026552' } 01/27/2024 22:27:55: Request bot not found: { id: '138868933458303' } 01/27/2024 22:28:01: Request bot not found: { id: '263700267026552' } 01/27/2024 22:29:13: Request bot not found: { id: '138868933458303' } 01/27/2024 22:29:14: Request bot not found: { id: '263700267026552' } 01/27/2024 22:30:30: Request bot not found: { id: '263700267026552' } 01/27/2024 22:30:32: Request bot not found: { id: '138868933458303' } 01/27/2024 22:31:44: Request bot not found: { id: '263700267026552' } 01/27/2024 22:32:09: Request bot not found: { id: '405232736174480' } 01/27/2024 22:32:10: Request bot not found: { id: '405232736174480' } 01/27/2024 22:32:11: Request bot not found: { id: '405232736174480' } 01/27/2024 22:32:11: Request bot not found: { id: '405232736174480' } 01/27/2024 22:32:12: Request bot not found: { id: '405232736174480' } 01/27/2024 22:32:16: Request bot not found: { id: '405232736174480' } 01/27/2024 22:32:32: Request bot not found: { id: '405232736174480' } 01/27/2024 22:33:10: Request bot not found: { id: '263700267026552' } 01/27/2024 22:33:48: Request bot not found: { id: '405232736174480' } 01/27/2024 22:34:27: Request bot not found: { id: '263700267026552' } 01/27/2024 22:35:14: Request bot not found: { id: '405232736174480' } 01/27/2024 22:35:42: Request bot not found: { id: '263700267026552' } 01/27/2024 22:36:29: Request bot not found: { id: '405232736174480' } 01/27/2024 22:36:55: Request bot not found: { id: '263700267026552' } 01/27/2024 22:37:44: Request bot not found: { id: '405232736174480' } 01/27/2024 22:38:13: Request bot not found: { id: '263700267026552' } 01/27/2024 22:39:06: Request bot not found: { id: '405232736174480' } 01/27/2024 22:39:32: Request bot not found: { id: '263700267026552' } 01/27/2024 22:40:23: Request bot not found: { id: '405232736174480' } 01/27/2024 22:40:56: Request bot not found: { id: '263700267026552' } 01/27/2024 22:41:35: Request bot not found: { id: '405232736174480' } 01/27/2024 22:42:20: Request bot not found: { id: '263700267026552' } 01/27/2024 22:42:58: Request bot not found: { id: '405232736174480' } 01/27/2024 22:43:43: Request bot not found: { id: '263700267026552' } 01/27/2024 22:44:23: Request bot not found: { id: '405232736174480' } 01/27/2024 22:44:56: Request bot not found: { id: '263700267026552' } 01/27/2024 22:45:40: Request bot not found: { id: '405232736174480' } 01/27/2024 22:46:08: Request bot not found: { id: '263700267026552' } 01/27/2024 22:47:01: Request bot not found: { id: '405232736174480' } 01/27/2024 22:47:33: Request bot not found: { id: '263700267026552' } 01/27/2024 22:48:25: Request bot not found: { id: '405232736174480' } 01/27/2024 22:48:54: Request bot not found: { id: '263700267026552' } 01/27/2024 22:49:47: Request bot not found: { id: '405232736174480' } 01/27/2024 22:50:16: Request bot not found: { id: '263700267026552' } 01/27/2024 22:51:04: Request bot not found: { id: '405232736174480' } 01/27/2024 22:51:32: Request bot not found: { id: '263700267026552' } 01/27/2024 22:52:26: Request bot not found: { id: '405232736174480' } 01/27/2024 22:52:50: Request bot not found: { id: '263700267026552' } 01/27/2024 22:53:48: Request bot not found: { id: '405232736174480' } 01/27/2024 22:54:07: Request bot not found: { id: '263700267026552' } 01/27/2024 22:55:11: Request bot not found: { id: '405232736174480' } 01/27/2024 22:55:30: Request bot not found: { id: '263700267026552' } 01/27/2024 22:56:31: Request bot not found: { id: '405232736174480' } 01/27/2024 22:56:48: Request bot not found: { id: '263700267026552' } 01/27/2024 22:56:48: Request bot not found: { id: '263700267026552' } 01/27/2024 22:56:49: Request bot not found: { id: '263700267026552' } 01/27/2024 22:56:49: Request bot not found: { id: '263700267026552' } 01/27/2024 22:56:50: Request bot not found: { id: '263700267026552' } 01/27/2024 22:56:51: Request bot not found: { id: '263700267026552' } 01/27/2024 22:56:55: Request bot not found: { id: '263700267026552' } 01/27/2024 22:57:11: Request bot not found: { id: '263700267026552' } 01/27/2024 22:57:53: Request bot not found: { id: '405232736174480' } 01/27/2024 22:58:23: Request bot not found: { id: '263700267026552' } 01/27/2024 22:59:18: Request bot not found: { id: '405232736174480' } 01/27/2024 22:59:50: Request bot not found: { id: '263700267026552' } 01/27/2024 23:00:42: Request bot not found: { id: '405232736174480' } 01/27/2024 23:01:16: Request bot not found: { id: '263700267026552' } 01/27/2024 23:01:57: Request bot not found: { id: '405232736174480' } 01/27/2024 23:02:39: Request bot not found: { id: '263700267026552' } 01/27/2024 23:03:22: Request bot not found: { id: '405232736174480' } 01/27/2024 23:03:59: Request bot not found: { id: '263700267026552' } 01/27/2024 23:04:35: Request bot not found: { id: '405232736174480' } 01/27/2024 23:04:36: Request bot not found: { id: '405232736174480' } 01/27/2024 23:04:36: Request bot not found: { id: '405232736174480' } 01/27/2024 23:04:37: Request bot not found: { id: '405232736174480' } 01/27/2024 23:04:38: Request bot not found: { id: '405232736174480' } 01/27/2024 23:04:39: Request bot not found: { id: '405232736174480' } 01/27/2024 23:04:42: Request bot not found: { id: '405232736174480' } 01/27/2024 23:04:58: Request bot not found: { id: '405232736174480' } 01/27/2024 23:05:26: Request bot not found: { id: '263700267026552' } 01/27/2024 23:06:09: Request bot not found: { id: '405232736174480' } 01/27/2024 23:06:39: Request bot not found: { id: '263700267026552' } 01/27/2024 23:07:24: Request bot not found: { id: '405232736174480' } 01/27/2024 23:08:04: Request bot not found: { id: '263700267026552' } 01/27/2024 23:08:40: Request bot not found: { id: '405232736174480' } 01/27/2024 23:09:18: Request bot not found: { id: '263700267026552' } 01/27/2024 23:09:57: Request bot not found: { id: '405232736174480' } 01/27/2024 23:10:36: Request bot not found: { id: '263700267026552' } 01/27/2024 23:11:21: Request bot not found: { id: '405232736174480' } 01/27/2024 23:11:51: Request bot not found: { id: '263700267026552' } 01/27/2024 23:12:47: Request bot not found: { id: '405232736174480' } 01/27/2024 23:13:16: Request bot not found: { id: '263700267026552' } 01/27/2024 23:13:59: Request bot not found: { id: '405232736174480' } 01/27/2024 23:14:40: Request bot not found: { id: '263700267026552' } 01/27/2024 23:15:13: Request bot not found: { id: '405232736174480' } 01/27/2024 23:15:52: Request bot not found: { id: '263700267026552' } 01/27/2024 23:16:36: Request bot not found: { id: '405232736174480' } 01/27/2024 23:17:07: Request bot not found: { id: '263700267026552' } 01/27/2024 23:17:50: Request bot not found: { id: '405232736174480' } 01/27/2024 23:18:21: Request bot not found: { id: '263700267026552' } 01/27/2024 23:19:15: Request bot not found: { id: '405232736174480' } 01/27/2024 23:19:41: Request bot not found: { id: '263700267026552' } 01/27/2024 23:20:38: Request bot not found: { id: '405232736174480' } 01/27/2024 23:20:54: Request bot not found: { id: '263700267026552' } 01/27/2024 23:21:59: Request bot not found: { id: '405232736174480' } 01/27/2024 23:22:19: Request bot not found: { id: '263700267026552' } 01/27/2024 23:23:13: Request bot not found: { id: '405232736174480' } 01/27/2024 23:23:36: Request bot not found: { id: '263700267026552' } 01/27/2024 23:24:26: Request bot not found: { id: '405232736174480' } 01/27/2024 23:24:48: Request bot not found: { id: '263700267026552' } 01/27/2024 23:25:38: Request bot not found: { id: '405232736174480' } 01/27/2024 23:26:06: Request bot not found: { id: '263700267026552' } 01/27/2024 23:26:57: Request bot not found: { id: '405232736174480' } 01/27/2024 23:27:22: Request bot not found: { id: '263700267026552' } 01/27/2024 23:28:16: Request bot not found: { id: '405232736174480' } 01/27/2024 23:28:44: Request bot not found: { id: '263700267026552' } 01/27/2024 23:28:45: Request bot not found: { id: '263700267026552' } 01/27/2024 23:28:46: Request bot not found: { id: '263700267026552' } 01/27/2024 23:28:46: Request bot not found: { id: '263700267026552' } 01/27/2024 23:28:47: Request bot not found: { id: '263700267026552' } 01/27/2024 23:28:48: Request bot not found: { id: '263700267026552' } 01/27/2024 23:28:52: Request bot not found: { id: '263700267026552' } 01/27/2024 23:29:09: Request bot not found: { id: '263700267026552' } 01/27/2024 23:29:39: Request bot not found: { id: '405232736174480' } 01/27/2024 23:30:23: Request bot not found: { id: '263700267026552' } 01/27/2024 23:31:01: Request bot not found: { id: '405232736174480' } 01/27/2024 23:31:41: Request bot not found: { id: '263700267026552' } 01/27/2024 23:32:19: Request bot not found: { id: '405232736174480' } 01/27/2024 23:33:02: Request bot not found: { id: '263700267026552' } 01/27/2024 23:33:38: Request bot not found: { id: '405232736174480' } 01/27/2024 23:34:17: Request bot not found: { id: '263700267026552' } 01/27/2024 23:34:57: Request bot not found: { id: '405232736174480' } 01/27/2024 23:35:39: Request bot not found: { id: '263700267026552' } 01/27/2024 23:36:21: Request bot not found: { id: '405232736174480' } 01/27/2024 23:36:21: Request bot not found: { id: '405232736174480' } 01/27/2024 23:36:22: Request bot not found: { id: '405232736174480' } 01/27/2024 23:36:22: Request bot not found: { id: '405232736174480' } 01/27/2024 23:36:23: Request bot not found: { id: '405232736174480' } 01/27/2024 23:36:24: Request bot not found: { id: '405232736174480' } 01/27/2024 23:36:28: Request bot not found: { id: '405232736174480' } 01/27/2024 23:36:44: Request bot not found: { id: '405232736174480' } 01/27/2024 23:36:50: Request bot not found: { id: '263700267026552' } 01/27/2024 23:37:59: Request bot not found: { id: '405232736174480' } 01/27/2024 23:38:11: Request bot not found: { id: '263700267026552' } 01/27/2024 23:39:17: Request bot not found: { id: '405232736174480' } 01/27/2024 23:39:25: Request bot not found: { id: '263700267026552' } 01/27/2024 23:40:42: Request bot not found: { id: '405232736174480' } 01/27/2024 23:40:52: Request bot not found: { id: '263700267026552' } 01/27/2024 23:41:56: Request bot not found: { id: '405232736174480' } 01/27/2024 23:42:08: Request bot not found: { id: '263700267026552' } 01/27/2024 23:43:19: Request bot not found: { id: '405232736174480' } 01/27/2024 23:43:25: Request bot not found: { id: '263700267026552' } 01/27/2024 23:44:43: Request bot not found: { id: '263700267026552' } 01/27/2024 23:44:46: Request bot not found: { id: '405232736174480' } 01/27/2024 23:45:58: Request bot not found: { id: '405232736174480' } 01/27/2024 23:46:04: Request bot not found: { id: '263700267026552' } 01/27/2024 23:47:19: Request bot not found: { id: '263700267026552' } 01/27/2024 23:47:24: Request bot not found: { id: '405232736174480' } 01/27/2024 23:48:37: Request bot not found: { id: '263700267026552' } 01/27/2024 23:48:40: Request bot not found: { id: '405232736174480' } 01/27/2024 23:49:51: Request bot not found: { id: '263700267026552' } 01/27/2024 23:49:59: Request bot not found: { id: '405232736174480' } 01/27/2024 23:51:08: Request bot not found: { id: '263700267026552' } 01/27/2024 23:51:14: Request bot not found: { id: '405232736174480' } 01/27/2024 23:52:30: Request bot not found: { id: '405232736174480' } 01/27/2024 23:52:31: Request bot not found: { id: '263700267026552' } 01/27/2024 23:53:53: Request bot not found: { id: '405232736174480' } 01/27/2024 23:53:56: Request bot not found: { id: '263700267026552' } 01/27/2024 23:55:05: Request bot not found: { id: '405232736174480' } 01/27/2024 23:55:11: Request bot not found: { id: '263700267026552' } 01/27/2024 23:56:25: Request bot not found: { id: '405232736174480' } 01/27/2024 23:56:35: Request bot not found: { id: '263700267026552' } 01/27/2024 23:57:42: Request bot not found: { id: '405232736174480' } 01/27/2024 23:57:56: Request bot not found: { id: '263700267026552' } 01/27/2024 23:58:53: Request bot not found: { id: '405232736174480' } 01/27/2024 23:59:07: Request bot not found: { id: '263700267026552' } 01/28/2024 00:00:19: Request bot not found: { id: '405232736174480' } 01/28/2024 00:00:25: Request bot not found: { id: '263700267026552' } 01/28/2024 00:00:26: Request bot not found: { id: '263700267026552' } 01/28/2024 00:00:26: Request bot not found: { id: '263700267026552' } 01/28/2024 00:00:27: Request bot not found: { id: '263700267026552' } 01/28/2024 00:00:27: Request bot not found: { id: '263700267026552' } 01/28/2024 00:00:28: Request bot not found: { id: '263700267026552' } 01/28/2024 00:00:32: Request bot not found: { id: '263700267026552' } 01/28/2024 00:00:47: Request bot not found: { id: '263700267026552' } 01/28/2024 00:01:37: Request bot not found: { id: '405232736174480' } 01/28/2024 00:01:59: Request bot not found: { id: '263700267026552' } 01/28/2024 00:02:48: Request bot not found: { id: '405232736174480' } 01/28/2024 00:03:10: Request bot not found: { id: '263700267026552' } 01/28/2024 00:04:00: Request bot not found: { id: '405232736174480' } 01/28/2024 00:04:21: Request bot not found: { id: '263700267026552' } 01/28/2024 00:05:14: Request bot not found: { id: '405232736174480' } 01/28/2024 00:05:38: Request bot not found: { id: '263700267026552' } 01/28/2024 00:06:26: Request bot not found: { id: '405232736174480' } 01/28/2024 00:07:04: Request bot not found: { id: '263700267026552' } 01/28/2024 00:07:39: Request bot not found: { id: '405232736174480' } 01/28/2024 00:08:17: Request bot not found: { id: '263700267026552' } 01/28/2024 00:09:30: Request bot not found: { id: '263700267026552' } 01/28/2024 00:10:55: Request bot not found: { id: '263700267026552' } 01/28/2024 00:12:19: Request bot not found: { id: '263700267026552' } 01/28/2024 00:13:33: Request bot not found: { id: '263700267026552' } 01/28/2024 00:14:55: Request bot not found: { id: '263700267026552' } 01/28/2024 00:16:05: Request bot not found: { id: '263700267026552' } 01/28/2024 00:17:27: Request bot not found: { id: '263700267026552' } 01/28/2024 00:18:44: Request bot not found: { id: '263700267026552' } 01/28/2024 00:19:59: Request bot not found: { id: '263700267026552' } 01/28/2024 00:21:12: Request bot not found: { id: '263700267026552' } 01/28/2024 00:22:37: Request bot not found: { id: '263700267026552' } 01/28/2024 00:24:00: Request bot not found: { id: '263700267026552' } 01/28/2024 00:25:19: Request bot not found: { id: '263700267026552' } 01/28/2024 00:26:43: Request bot not found: { id: '263700267026552' } 01/28/2024 00:27:56: Request bot not found: { id: '263700267026552' } 01/28/2024 00:29:15: Request bot not found: { id: '263700267026552' } 01/28/2024 00:30:31: Request bot not found: { id: '263700267026552' } 01/28/2024 00:31:47: Request bot not found: { id: '263700267026552' } 01/28/2024 00:31:48: Request bot not found: { id: '263700267026552' } 01/28/2024 00:31:48: Request bot not found: { id: '263700267026552' } 01/28/2024 00:31:49: Request bot not found: { id: '263700267026552' } 01/28/2024 00:31:49: Request bot not found: { id: '263700267026552' } 01/28/2024 00:31:51: Request bot not found: { id: '263700267026552' } 01/28/2024 00:31:54: Request bot not found: { id: '263700267026552' } 01/28/2024 00:32:11: Request bot not found: { id: '263700267026552' } 01/28/2024 00:33:35: Request bot not found: { id: '263700267026552' } 01/28/2024 00:34:54: Request bot not found: { id: '263700267026552' } 01/28/2024 00:36:07: Request bot not found: { id: '263700267026552' } 01/28/2024 00:37:29: Request bot not found: { id: '263700267026552' } 01/28/2024 00:38:51: Request bot not found: { id: '263700267026552' } 01/28/2024 00:40:03: Request bot not found: { id: '263700267026552' } 01/28/2024 00:41:29: Request bot not found: { id: '263700267026552' } 01/28/2024 00:42:46: Request bot not found: { id: '263700267026552' } 01/28/2024 00:44:07: Request bot not found: { id: '263700267026552' } 01/28/2024 00:45:18: Request bot not found: { id: '263700267026552' } 01/28/2024 00:46:38: Request bot not found: { id: '263700267026552' } 01/28/2024 00:47:58: Request bot not found: { id: '263700267026552' } 01/28/2024 00:49:22: Request bot not found: { id: '263700267026552' } 01/28/2024 00:50:42: Request bot not found: { id: '263700267026552' } 01/28/2024 00:51:54: Request bot not found: { id: '263700267026552' } 01/28/2024 00:53:07: Request bot not found: { id: '263700267026552' } 01/28/2024 00:54:19: Request bot not found: { id: '263700267026552' } 01/28/2024 00:55:44: Request bot not found: { id: '263700267026552' } 01/28/2024 00:57:03: Request bot not found: { id: '263700267026552' } 01/28/2024 00:58:25: Request bot not found: { id: '263700267026552' } 01/28/2024 00:59:50: Request bot not found: { id: '263700267026552' } 01/28/2024 01:01:07: Request bot not found: { id: '263700267026552' } 01/28/2024 01:02:18: Request bot not found: { id: '263700267026552' } 01/28/2024 01:03:42: Request bot not found: { id: '263700267026552' } 01/28/2024 01:03:43: Request bot not found: { id: '263700267026552' } 01/28/2024 01:03:43: Request bot not found: { id: '263700267026552' } 01/28/2024 01:03:44: Request bot not found: { id: '263700267026552' } 01/28/2024 01:03:44: Request bot not found: { id: '263700267026552' } 01/28/2024 01:03:45: Request bot not found: { id: '263700267026552' } 01/28/2024 01:03:49: Request bot not found: { id: '263700267026552' } 01/28/2024 01:04:07: Request bot not found: { id: '263700267026552' } 01/28/2024 01:05:18: Request bot not found: { id: '263700267026552' } 01/28/2024 01:06:36: Request bot not found: { id: '263700267026552' } 01/28/2024 01:07:55: Request bot not found: { id: '263700267026552' } 01/28/2024 01:09:19: Request bot not found: { id: '263700267026552' } 01/28/2024 01:10:39: Request bot not found: { id: '263700267026552' } 01/28/2024 01:11:54: Request bot not found: { id: '263700267026552' } 01/28/2024 01:13:13: Request bot not found: { id: '263700267026552' } 01/28/2024 01:14:25: Request bot not found: { id: '263700267026552' } 01/28/2024 01:15:39: Request bot not found: { id: '263700267026552' } 01/28/2024 01:17:01: Request bot not found: { id: '263700267026552' } 01/28/2024 01:18:23: Request bot not found: { id: '263700267026552' } 01/28/2024 01:19:42: Request bot not found: { id: '263700267026552' } 01/28/2024 01:20:53: Request bot not found: { id: '263700267026552' } 01/28/2024 01:22:10: Request bot not found: { id: '263700267026552' } 01/28/2024 01:23:26: Request bot not found: { id: '263700267026552' } 01/28/2024 01:24:39: Request bot not found: { id: '263700267026552' } 01/28/2024 01:25:50: Request bot not found: { id: '263700267026552' } 01/28/2024 01:27:08: Request bot not found: { id: '263700267026552' } 01/28/2024 01:28:20: Request bot not found: { id: '263700267026552' } 01/28/2024 01:29:42: Request bot not found: { id: '263700267026552' } 01/28/2024 01:31:01: Request bot not found: { id: '263700267026552' } 01/28/2024 01:32:12: Request bot not found: { id: '263700267026552' } 01/28/2024 01:33:33: Request bot not found: { id: '263700267026552' } 01/28/2024 01:34:57: Request bot not found: { id: '263700267026552' } 01/28/2024 01:34:59: Request bot not found: { id: '263700267026552' } 01/28/2024 01:34:59: Request bot not found: { id: '263700267026552' } 01/28/2024 01:35:00: Request bot not found: { id: '263700267026552' } 01/28/2024 01:35:01: Request bot not found: { id: '263700267026552' } 01/28/2024 01:35:02: Request bot not found: { id: '263700267026552' } 01/28/2024 01:35:06: Request bot not found: { id: '263700267026552' } 01/28/2024 01:35:21: Request bot not found: { id: '263700267026552' } 01/28/2024 01:36:37: Request bot not found: { id: '263700267026552' } 01/28/2024 01:38:00: Request bot not found: { id: '263700267026552' } 01/28/2024 01:39:21: Request bot not found: { id: '263700267026552' } 01/28/2024 01:40:44: Request bot not found: { id: '263700267026552' } 01/28/2024 01:42:00: Request bot not found: { id: '263700267026552' } 01/28/2024 01:43:23: Request bot not found: { id: '263700267026552' } 01/28/2024 01:44:40: Request bot not found: { id: '263700267026552' } 01/28/2024 01:46:00: Request bot not found: { id: '263700267026552' } 01/28/2024 01:47:20: Request bot not found: { id: '263700267026552' } 01/28/2024 01:48:35: Request bot not found: { id: '263700267026552' } 01/28/2024 01:49:55: Request bot not found: { id: '263700267026552' } 01/28/2024 01:51:17: Request bot not found: { id: '263700267026552' } 01/28/2024 01:52:43: Request bot not found: { id: '263700267026552' } 01/28/2024 01:54:04: Request bot not found: { id: '263700267026552' } 01/28/2024 01:55:25: Request bot not found: { id: '263700267026552' } 01/28/2024 01:56:36: Request bot not found: { id: '263700267026552' } 01/28/2024 01:57:51: Request bot not found: { id: '263700267026552' } 01/28/2024 01:59:14: Request bot not found: { id: '263700267026552' } 01/28/2024 02:00:34: Request bot not found: { id: '263700267026552' } 01/28/2024 02:01:55: Request bot not found: { id: '263700267026552' } 01/28/2024 02:03:17: Request bot not found: { id: '263700267026552' } 01/28/2024 02:04:36: Request bot not found: { id: '263700267026552' } 01/28/2024 02:05:51: Request bot not found: { id: '263700267026552' } 01/28/2024 02:07:09: Request bot not found: { id: '263700267026552' } 01/28/2024 02:07:10: Request bot not found: { id: '263700267026552' } 01/28/2024 02:07:10: Request bot not found: { id: '263700267026552' } 01/28/2024 02:07:11: Request bot not found: { id: '263700267026552' } 01/28/2024 02:07:11: Request bot not found: { id: '263700267026552' } 01/28/2024 02:07:13: Request bot not found: { id: '263700267026552' } 01/28/2024 02:07:16: Request bot not found: { id: '263700267026552' } 01/28/2024 02:07:33: Request bot not found: { id: '263700267026552' } 01/28/2024 02:08:55: Request bot not found: { id: '263700267026552' } 01/28/2024 02:10:07: Request bot not found: { id: '263700267026552' } 01/28/2024 02:11:24: Request bot not found: { id: '263700267026552' } 01/28/2024 02:12:51: Request bot not found: { id: '263700267026552' } 01/28/2024 02:14:13: Request bot not found: { id: '263700267026552' } 01/28/2024 02:15:30: Request bot not found: { id: '263700267026552' } 01/28/2024 02:16:53: Request bot not found: { id: '263700267026552' } 01/28/2024 02:18:12: Request bot not found: { id: '263700267026552' } 01/28/2024 02:19:33: Request bot not found: { id: '263700267026552' } 01/28/2024 02:20:53: Request bot not found: { id: '263700267026552' } 01/28/2024 02:22:11: Request bot not found: { id: '263700267026552' } 01/28/2024 02:23:33: Request bot not found: { id: '263700267026552' } 01/28/2024 02:25:00: Request bot not found: { id: '263700267026552' } 01/28/2024 02:26:21: Request bot not found: { id: '263700267026552' } 01/28/2024 02:27:41: Request bot not found: { id: '263700267026552' } 01/28/2024 02:29:02: Request bot not found: { id: '263700267026552' } 01/28/2024 02:30:22: Request bot not found: { id: '263700267026552' } 01/28/2024 02:31:48: Request bot not found: { id: '263700267026552' } 01/28/2024 02:33:00: Request bot not found: { id: '263700267026552' } 01/28/2024 02:34:19: Request bot not found: { id: '263700267026552' } 01/28/2024 02:35:32: Request bot not found: { id: '263700267026552' } 01/28/2024 02:36:51: Request bot not found: { id: '263700267026552' } 01/28/2024 02:38:14: Request bot not found: { id: '263700267026552' } 01/28/2024 02:39:31: Request bot not found: { id: '263700267026552' } 01/28/2024 03:25:16: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6914996961888742?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1653569327, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6914996961888742?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6914996961888742?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6914996961888742?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6914996961888742?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiDNRItP2f4DjtwQNfOr_TT', 'x-fb-trace-id': 'EMsiw9F2c4m', 'x-fb-rev': '1011068810', 'x-fb-debug': 'vhsbWvkuwCvr+ZLpQWwbsNY6GoMqVLPEtw35O58NDc1++D8SMCySnXO746/y7pnu5sAKXw0aSPvYbTq9i67eaw==', date: 'Sun, 28 Jan 2024 03:25:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKweSLQApJ20cZFFrSJNRZVBt4nPYehIU0P-oBwyBfSIefAy6oRUR5A26plSHQQoDOHrp3d5fjz6-5LtXbUkQv66jQOG4gGMaLNonynXN_j6RHXlg"; e_fb_vipport="AcL4xuYOCGZigHcS9YFPd3MeXcywfkOqWc7iCWkRsLTVgnZKnkizbM1NIR8Q"; e_upip="AcKqadvtfyHaEj4Dl6Jw9zWUD65I0qYHUZvosk_caMFQLrko_fIIEMfQzwoEtiKmvMLC17I2gX78TYaY8cJLJEerocAfFBmkJaE"; e_fb_hostheader="AcIEetTm2LeLZL53yhPqo5aaktF8fgE_FmJtZsfKJVwWLx1ZuX1E6bC_UX77qQ3wqc9a2aza5in9ED-Q"; e_fb_vipaddr="AcIJUPb-IdAD4JyOsDiKxC977oduAm96YJGc-s6bT0sND2k9DAlA_9hx3oJfYpSttLFUinvL2hsvZ8k0j7naQKGksIKv2kCsVA"; e_fb_requesthandler="AcJUHzqYKSE8mm-ocGLF5L6sAfnahQntVMpoyA18Z7L3ZQ4VZ1vomT4R6wBdBlz1xKiWUKy3iGA"; e_fb_builduser="AcJELg0nHLYSghBCwmuAEYwf3oRqNJ-V8vMl_0HG7l6ZJiSaOv5krl-64HVehbtNlxk"; e_fb_binaryversion="AcIrNMqrYuw6D-Vy_ZIDXiZVfwunjnz-IbpQ_KfkpjSj6Im3CAZYipl7hRmloqdaMVqW6CzoavafMR8iNf7X7NDOQb4_QSQEf_k"; e_proxy="AcL4mD7S9JhGw5nQg9-9b29j-y7Zd6dHY_OxsCox1Zsmg4PlnP1rxM2i0XILgJFmzWRvy6S8h5XiL49e9wct", http_request_error; e_clientaddr="AcLDKvZaRGwaF6Kiam5Zl6c5PlRwqUOu-BLK_oKOF0qVRwEA3fYadgrk8no0i_1FKu5CoLObB1SzOKhZ9A"; e_fb_vipport="AcKJoRnmTdYH0t3P2PZ9OIp1i7tSi4FVmjJXXtszWnRvJhzCfFAORKSSRU5D"; e_upip="AcJMmtTWs5kj5bSLWmKz-rpgxb2UIuvZKujUbrr-lLyuXoFL0P16bfOBfX54AamPfiuOihALIFJcFtI0LiVWzx_xt1nohvaIkg"; e_fb_hostheader="AcLnW1-2q_tBszY4wl68PBOHaPm128UmTaAYcpZLkyC6WfWwheqx55c9Fd7BDTzv3hPgxdPIwDR7gebL"; e_fb_vipaddr="AcKj7LNKPZq3gtg1LN-Yr6pOLlWblnzK5oj14CMWYwopuhTKi7E00a8TVW_KclrLIzFo2K0uFw"; e_fb_requesthandler="AcKWY801fxPoVBBxkBnhOeG0VpolygeNeVxdxKu6Focdw0JNMQDNS60h26aifudsztqigcI1UUI"; e_fb_builduser="AcKUfOQQJu1cq5gDL4hnR3ppGZIw_A3fnVbxdF5nWfEv9zRbjvKjtgQ3E3VMrj2Sz3g"; e_fb_binaryversion="AcIEiaaF8i0fT5nrYHTBcuPOJgNvzvJC9IW3-nI7uJXevvoL-Q0ykheW37FBIe2A-Ih_l4ErSDxrLW13KNTGJHCqLAq28zckKiw"; e_proxy="AcL9Gk2sSgnq4PpsWAZPFKFiuOyw9lScoNGjIZIu5m3-K2vgmuUYaBhTyEuHboKso4iBDI9Q_JCfat4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6914996961888742?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6914996961888742?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6914996961888742?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 03:25:16: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 03:25:16: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 03:25:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 03:25:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1653569456, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUgq7NpiR4r6l5Dvhh-b5-W', 'x-fb-trace-id': 'FfK5iOZ6xtR', 'x-fb-rev': '1011068810', 'x-fb-debug': 'hC/YYUXdKLQsk01ZsT7TxXpLlE8/AT0zTSG0eyFNahFwD/byIWseL0sUyFyIBGrlFQc2eOrueEfNg6eGpSzzKA==', date: 'Sun, 28 Jan 2024 03:25:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKl3XxfvEj3jR9EJYJDIN7M_4UneFyiIKb3wZcdojb07zEGZGNIrYFvp7niJBcnX77OTwHINHlMoYPgyHs-hoIcxet501yCwLC96btsVZJSauvMhg"; e_fb_vipport="AcKaFqrUvMimkg23L9hcWIVaxE6CSflxt7tR9N-kJrUSoF45lkiO_L23-hv3"; e_upip="AcK9q2KbEGKsNdvxAiRsyEvmjP_M5R-DAxB972qhl-cfCEva0ozJ69Z7on0wT0rysBxoYjxF-9UPdK2Ge8BgJg17WexgGoECe60"; e_fb_hostheader="AcK-EJTBb411dRuRoCirPPi4Ky-PllaSxuOSvS4C4wnirEJXiz8fug_CJPa6qL6bB5Q4ClifRE1-dtQa"; e_fb_vipaddr="AcKAg76GxDtx18lED2TjyMkl1bYO4p_IPPSx7tR0JLMdCkd1vn7bDy6HFkxRpQOb7wRa1RZsvetmXcZtTAuWLYgL8BbImJBzsg"; e_fb_requesthandler="AcJOahGYdPqLiqvczoj1QFxH-fVvoCMnqOvFHKAuQtuwrvEHlX_BGlDQ5-wD7rOMcf0sboyXEKs"; e_fb_builduser="AcIbbfHfoxEfoi-I18SR5UfDw0DnMqwicSs46CUthC-xh9NGzYuszeLAysfovCATXCc"; e_fb_binaryversion="AcI_azMXPZQOIF78wxbgwoNIjcrkOIntNvi3DKvgH8I3JCj130F83rW3hFcp_HlEbKyaJZJQQGGp7C65CgyqAfRfGPsmDlxGmQ8"; e_proxy="AcKOH9zgiaA0sOBiqOqjvnOGxF4KiyiiKlRY6H2GWR6bD4r-HHQZwgMDwFbPPkrR8_zUW5M9kVIyNQ_RUmaf", http_request_error; e_clientaddr="AcLqkiprDTr2DE2AKuG0c0r0orESRfgxPkRjUeaM0rfPzB0wsd_lvIomboEtQitzLzIQVWXZ2URfp5TvVA"; e_fb_vipport="AcJ2Lo4pQLv2By7zQeUR30XnWmJUSBW8-zhWxDQNDfTp2BBOB_LlPQ8ENooF"; e_upip="AcLiMH-LrR3o9MDbnAwE-V5o2cscNXiyDTDQnM00PWPlyz0TLGzO8eLzDeBfqoLFk0fL7cSNZ9D5T_XeUNerknS43x-rok1qwA"; e_fb_hostheader="AcKuut4_8vPECKSQGnMl0CqrIr77mY_wHtrjSUKD_TSlDZFqCg-Gyv48kAtKhxb2A9DlQ4EaOEgMcHZA"; e_fb_vipaddr="AcKd2KJkkMT6etArRqi9MpAge9fNa4WlKNvsvVFUyrbUpAShElMDWNhW2BA_ACeMuo8pYjKbJw"; e_fb_requesthandler="AcJATYN5lOChkzmYr0E17IuGNxjrJlF7jTMWecwvP2hHun4XHsJl1fVj6n2im2s4pEPe-jwf4s0"; e_fb_builduser="AcIe0gnIbXGPGmLIdPazD9e1d_tp9Pfa5OsyJ2qRJB7Js-p4fQOObEYOQsmnJJe9FVs"; e_fb_binaryversion="AcKCRJ25Zu9oANuY5AoUusn_28FSUZLnZZdSMLpm0cGnuGxmHoBfpqV-Gfvb4XN7tSWKDoSBSAXGvX4ykYVJ6mA45pRPaepJJo8"; e_proxy="AcKmorga5pmbNPvu1zz3shI40KxGkO6W-Dh_KV1HeigwTL9al6OfGisGQGobjZWVvcEDWT9WFB5Xuejm"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 03:25:16: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ag54-AUQPfk1xZceuIYxZzc" } } 01/28/2024 03:25:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/28/2024 03:25:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1653569528, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzB_M4wwYVg-Ox6Wd-XBlQm', 'x-fb-trace-id': 'ADs6jq/tGd5', 'x-fb-rev': '1011068810', 'x-fb-debug': 'LcWoFAk+ScOJWsWmEdEoqNsw4G4dQCoC7y7uN1ogCirZX0T8HD8s6zElk31jW10fqqQW2wxYLUcJuNWsV7DTfA==', date: 'Sun, 28 Jan 2024 03:25:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL2oDawYCr1cD8X-XfhQ-Px8_irCXXwaKO_RczojFyXRiB51HiiexeVW0pklClFJWzvtYI_ZlozqzDh1xB-tqlgnVzoszIDXIVTnszw32Gi4l1pIg"; e_fb_vipport="AcLXaJoI1Z-SD4VpzpAIWK1fNI87Ix4r4q6qObll7CicG2piRQM7CxIjRRjF"; e_upip="AcLp9TplVcHPGumjy-ZaThm4NeEnKHKfmBpD5PmuvZ7aRLfVJSB69tkFElA7ebJ_UGjPOPYvtsHHcK4tIMNZ1xEtXbPYXb32"; e_fb_hostheader="AcLb8f2_XCsMyuuYowo9cn5xv0mZjh2TBd0A1bAFgSMyeLtw_TbxlYyy_T9ahoXJ-XCQAmTys_k2x6nZ"; e_fb_vipaddr="AcKCwR4X1s-5a8cOjcERZ8FAvdDYEbyqg-4ZsoKzbz1jUYH9lmBT1y6gV3Q0i12d-DoisEmJ1XyV97IlxvPktOK-9N_KYqA8Xg"; e_fb_requesthandler="AcLPBzmmUL1VClhvXnaU0SUfAa3qPHGMnv44HmP_qEZQ5E-PA0HyJEiCkEzc7qP6T9irh6-cEFU"; e_fb_builduser="AcJkx4yMbbW2yhu0ljiO3NNY-LIXpYJeecC_BNnswmcurofUie5UJjcVlEc9dgIE0rs"; e_fb_binaryversion="AcKEyOLPl95bfiqyM4LtJEHER6V2bu0dt4rVJ-1xPJWNIAv86XnBSe_cK0soTemG03g7Qemcf64mnvJBHFSx5RvRxgwIRBDthsI"; e_proxy="AcKlRJ5Of_2wjaJ4xwfZ1dqYWFKHt_5wjkWECeCExqGkgYW-xYAxrnM80V5fNJxTzNJS1LsKh1rOGkMdj7Wk", http_request_error; e_clientaddr="AcL_nHH3XCs8z8HefIOL5toO5hXMGLhI9iTQqpBqkrKpLXxc907YG8Zs7CX2uf0s-wNDOeThA07-Rmlm5w"; e_fb_vipport="AcKzrqNEPk2A6Ocu_DHPRxr-SPB9pOQmLHgv2PY-HiMnItw-ECoS07eimFjL"; e_upip="AcIPfEKZCZ9My5Dwny0zzS6A8bAMd2PtFcubVja-Hdu4hKI9Qb7vp-dkTSTKIfe2yNnNNH5VKznX9zx7vTK7dcGLBbklRFZl3Q"; e_fb_hostheader="AcKxaP4qXONniqAY-ypdVxMvOelso2qD0v0h7JbyrcISsJLu3paBmvlZqYPcjHvrDjHQNNPosuiuh9u3"; e_fb_vipaddr="AcILAOp4rZ5v3yfkcCM-l1dLzYmMQDexrt_uxvIleU8D5UPzSeeI-d076xc3FNOK_XCe1DrtKQ"; e_fb_requesthandler="AcLLRRdQt4GB0oMkOuXA8AnNboXptHBQP5wxixpDRGAYSu2ZEAgWQFxfV1k1T1W2LjqH0KpxJKg"; e_fb_builduser="AcLU33-cCUUkbEmKye0QhgX788OnMxXnC6A5CzuwFt4WkmoOPN2haMSwX9kUCGtstm8"; e_fb_binaryversion="AcLixiGzSPqBI9iZ04TI55ZKTqXRh4lGNa9G4Q3XjVJQ0ZbqIYlGMxsl6PI46F_Ulm2TK2Y_r7UvjER2gfocY2ssrwlfFz7jg24"; e_proxy="AcK1QZz-uMPpcqfoSQZs_gZumdv9ZoGVNF6bQItNe-rDiK9BzW4yKVEJMB41J6ijtGaFRKDSvfF7A_s"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 03:25:16: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AI7kIbnX8pZXs-POtW2EQbL" } } 01/28/2024 03:25:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 03:25:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1653569642, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AM4Sl5iCluSHW1AIv3dh5zj', 'x-fb-trace-id': 'BShiaqimysd', 'x-fb-rev': '1011068810', 'x-fb-debug': '7EXhfBHR+anRh6mGjSIaeHqYNwuJeNsC7LGL0a41bLTfsCre+TPNIXsuLlSJi9E3pKvOyIY3Jb+ta0Sulmm+YA==', date: 'Sun, 28 Jan 2024 03:25:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLA8qLxFuBJAAzktmsCsVG0FhsYk-vSLBHQ-a7MWO-7hpJmzOXD87kBebxs4nM2oSrwVhhmN5c532lQB48ROiwE8W5Zq7u9H389WhGEY5wu9j72mA"; e_fb_vipport="AcI0ahr-eZP9zeG7Ervwz5fndQZQrTMRv4enrMGY62xEwXL5CRK9mZmj-lFP"; e_fb_hostheader="AcJAJLc9E9VIVCxje7Z2qtNK1c-GmpMWAc_TgaP2lLditiylCqwKcSxw78oQfTAxKjIeHdLsIHdyJxzS"; e_fb_vipaddr="AcKVpHVp3nZ3g7mhZBl2oc5VVEfMLiSKgSM8fnBYTfMw5sVJx6xZdZ0KsXSuckDA-6vGYDEi5g9l8s9IjD02YDlrzo9ZRqMdEA"; e_fb_requesthandler="AcJOgW1Sv0b_3WEPuzqfhOelKb7dIgWfameaSTOTbY9GcG9TNVEcTcCJ8ZWbp0UY7DXDuOGn35k"; e_upip="AcIknaZ2ZytDiC_GqWAHSvMdSuKMv2NcuQkzEtz0PWNzuLXC42qp9sXsCNpM--vDrky9Ju-_pihMb3lqkkRL3hRj0wSVlMkzeLg"; e_fb_canaryid="AcJgwZfQIryw0lBCV0SnMY4MDRcq1EeSmJLvZdXouM1kyi2TJ8pJJ7bDEfE4grr_JhJ-Gt7Mq-b7rUsGaV211EVPDj6RjSk-4ouRJMGzEpIYUWqam5WfCmKjr98JZMPub6PTst0i7UYFlZFn1MGs4A"; e_fb_builduser="AcK1X6NJRx3bAGhrMA7fv4yOERrMNEY680w9nQd6Hpscr0dPrxn5wdcVn2SsrOR6Un0"; e_fb_binaryversion="AcLPU8JbHWKwMAFRsSMYeAIzBQt-3SEqs89nJv6dop2FZI-fc6SbpFWre0P1_R5ttBBri4spoC1e_005wvOVKVDOz7_WT7KwEJ4"; e_proxy="AcLqWPSbOFaGwknIu4IaGx4g76QbM3Y5g1_RJ79hsWRoi7uYmtj3MIlqiN3iBKx2_yirhRhby3QtvWDEc34", http_request_error; e_clientaddr="AcKJLOJPO99KoGxjGmM_zPQd-9V0qh1E2Py_xWY48ik_AG5TT7rvFCOgPGN_2rTyL-_JT134jwY4YTjQeg"; e_fb_vipport="AcJDKrrYDEbNyi6Nz1hV8oCtlKCYCsis5S7WWDnjw8mzzU3Eu7RWpc6mHXcX"; e_upip="AcK1KW784QkLwcEERhKyomDDAF7nwxhl2sGEu5dDULP6Ox26jqpaOc_NtJ4YlyhLHD9N6gzVpYpelHiN0fPXrk0wZw0bJIzhJA"; e_fb_hostheader="AcIbbMZp3jLGtaTO5lRG4QiSTMM-7MSiXMP2K-H8NRGsl7Z_u6u2eS01P3LMdqHbdYi0It3teFBUAGsP"; e_fb_vipaddr="AcKol5GK-eLueXpTsRILsZngmxtRAzc1EbumE1H7LpXbbae0C_xAONlvH3DgX6m69O7mny5Q_g"; e_fb_requesthandler="AcKbzkg9uM1WgB-2uQvgddGIJcl7r_fsCinntKJy-I5OGRlxyd_E8zSniRWwiGLAm1gc1xbZgDs"; e_fb_builduser="AcKKMTnjcGQp3yl3_W_99ChR2lmG2Ra2I5L5HAg8x536lw0yJgqYtilMZW6w6I8gYVY"; e_fb_binaryversion="AcL_qcZhJfiXVGrKqxskHg7x_HkBNdRn0tLvyJDU1O2ZMn7oSKdQw2SmMc9CAXIJhlOZiusQ7PR8UpZuPhYefjnlVX-kVnMn-DM"; e_proxy="AcICa6E7K7zN49GPmDK8OqLGSfXX4wGpEDnRybfnxVBbIW-VISHYdRIP6Pc9obNkG25ngRYBJVtDqkVZ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 11:52:42: Request bot not found: { id: '263700267026552' } 01/28/2024 11:52:42: Request bot not found: { id: '263700267026552' } 01/28/2024 11:52:43: Request bot not found: { id: '263700267026552' } 01/28/2024 11:52:44: Request bot not found: { id: '263700267026552' } 01/28/2024 11:52:45: Request bot not found: { id: '263700267026552' } 01/28/2024 11:52:49: Request bot not found: { id: '263700267026552' } 01/28/2024 11:53:06: Request bot not found: { id: '263700267026552' } 01/28/2024 11:54:20: Request bot not found: { id: '263700267026552' } 01/28/2024 11:55:33: Request bot not found: { id: '263700267026552' } 01/28/2024 11:56:52: Request bot not found: { id: '263700267026552' } 01/28/2024 11:58:18: Request bot not found: { id: '263700267026552' } 01/28/2024 11:59:42: Request bot not found: { id: '263700267026552' } 01/28/2024 12:00:57: Request bot not found: { id: '263700267026552' } 01/28/2024 12:02:19: Request bot not found: { id: '263700267026552' } 01/28/2024 12:03:43: Request bot not found: { id: '263700267026552' } 01/28/2024 12:04:57: Request bot not found: { id: '263700267026552' } 01/28/2024 12:06:09: Request bot not found: { id: '263700267026552' } 01/28/2024 12:07:24: Request bot not found: { id: '263700267026552' } 01/28/2024 12:08:41: Request bot not found: { id: '263700267026552' } 01/28/2024 12:09:51: Request bot not found: { id: '263700267026552' } 01/28/2024 12:11:14: Request bot not found: { id: '263700267026552' } 01/28/2024 12:12:31: Request bot not found: { id: '263700267026552' } 01/28/2024 12:13:56: Request bot not found: { id: '263700267026552' } 01/28/2024 12:15:19: Request bot not found: { id: '263700267026552' } 01/28/2024 12:16:33: Request bot not found: { id: '263700267026552' } 01/28/2024 12:18:00: Request bot not found: { id: '263700267026552' } 01/28/2024 12:19:16: Request bot not found: { id: '263700267026552' } 01/28/2024 12:20:36: Request bot not found: { id: '263700267026552' } 01/28/2024 12:21:52: Request bot not found: { id: '263700267026552' } 01/28/2024 12:23:05: Request bot not found: { id: '263700267026552' } 01/28/2024 12:24:31: Request bot not found: { id: '263700267026552' } 01/28/2024 13:49:37: Error on controller payload Input Treatment=> type not found 01/28/2024 13:49:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 13:52:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 13:53:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 15:45:03: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6702902579819604?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494731108, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6702902579819604?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6702902579819604?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6702902579819604?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6702902579819604?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaAcQf3pPKORKGrHj8Du8aT', 'x-fb-trace-id': 'A9/Vje8uLgx', 'x-fb-rev': '1011070688', 'x-fb-debug': 'Z02ElFNMbdNlydkHlj4tRtZcO6pnnLRRXAgVTk+t3v+V9t70vLy/2ukaXPRRJFrY6dCpIUGaxs1cE+y/wEdEQg==', date: 'Sun, 28 Jan 2024 15:45:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKp94CYBFy4SsfQbke8C0ZjxTM2_S6Yo4XXvjEnGIezlKnFJBlrR0oRugK4SWp3mlEYZ3lUrEn--a1wXy5GbIfmz5Zp48y0RlAYQ61O7zBSMVHuiQ"; e_fb_vipport="AcIfJKNczCYjIE7iQaKfoIrg9Xwy4dDHxgnVYjKL7LZE7ZiNKALfq-suXL_9"; e_upip="AcLuu9NwRfEF-g5M_WwAZMNJGfoSD7bYzwX28dZxoaaJBFBWPn5yDujST6G6jdCIX-2UKt_RfLXZg2iZbiqw-tZ0GwlM5tff13o"; e_fb_hostheader="AcIHsbTFdv5BpWuZ_CnqvhsKDy3PoLJAQK3qbBK_WlT6qCp_QVQ5UXLVryWrlrO9DniqCvplO0l13WCa"; e_fb_vipaddr="AcIr6jcAvnpLNKnNSW-nNyQnNzVG6508FvZ1HVih_Dwoo4-86WYPi0dQEKffWDsQZPMVp4kxsJLIm91Nktk4WkATDBX52EEqBA"; e_fb_requesthandler="AcI-pSaceQzSY4nfUppYSjtJDjRoB21Whdn314FbXvSyEK2LYQ3Novt9Z82_ml929WwpJMCSbSc"; e_fb_builduser="AcJJ6SKYFoS4zXVAFHDpnRB4J1lNKvnRTPBHLhKDzCmQcH2oBV3p6PlxNqMNZ4zuRSM"; e_fb_binaryversion="AcK9SMnsUVsl-e123zFJljkdeqfjECB0aOlju81k3m0Oryfix2frKWnlFuqlYOGKLhyvb67ggxQYrP7INtCSEly-1IfN0_1Ww78"; e_proxy="AcLZuTZwKhhcsrQb-Yq94je5FGu1XzA57nAYSf2l1laWA21baibityrMRkIZxocJDHKz4xDnlOaJRjPKurLW", http_request_error; e_clientaddr="AcKKWwOlZCKyuonRHdoCvE63Cpt0frH800clpxd94Ah9pmUVSjpoS1fa3KQVaJO8hw-iip-tB5ePg3nFqQ"; e_fb_vipport="AcJ9xEQMUCf84yljirYFUfDEBy_bb7VSnzmlerTCU0qQx3YizLPB4edcc_s3"; e_upip="AcLQVLnAS9VHT8Jn_ogJtmm8nT_BVEyuf02drrBLGOi4FB861nwajmrczth7yYmzj6LS8bEaUrUMZlBJNthQU6iw06nritjF7g"; e_fb_hostheader="AcIT0BbWIM3HQAKY6h9Y3wED7pVmzuHTgqWNa2DsB1K3tKQqyd5pToj__l48Ln8WzRGJcBvJM2pya_fN"; e_fb_vipaddr="AcKQdCY5gdL7Wf2w8wtWxxtmXrPzlGQeFnty7mMeM_3Dql6PAq8o7rvbk-i9VH-K5zg7ipA"; e_fb_requesthandler="AcJC5Tjq3AEzVxYw2RxYni4J6Gs1NvFlYLk9wy8Toh3RA5jYZBG9-7R9DeCIDwrE-EVJqFtg3VQ"; e_fb_builduser="AcIrXHo3amR8EnBaQr4l1jxz_0SFZkjZ5V-iE1-dpDbIDzMWk5smhXr8Pffhk1q8ha0"; e_fb_binaryversion="AcLHUNkwwKsJxeyu-gJbh2QhdqF8AyrpVqueGwKtBSkBXLopzoLOQLouM7MoMYJLWXBtawkD06eAquoBl4L8LOuhvb1_2wzgIEA"; e_proxy="AcKO44CtAeMbnUnGZOWLJywj8a2Qq4BKh7rzoiFEuaWhXJfSH8Z94T55_OSzumEHmD1qGnayW5R51SA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6702902579819604?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6702902579819604?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6702902579819604?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 15:45:03: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 15:45:03: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 15:45:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494828903, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlsqD36Vtr8vXuBDPAZ7nrQ', 'x-fb-trace-id': 'FkHuSgRomQh', 'x-fb-rev': '1011070688', 'x-fb-debug': 'rbtRBKIymIV0b8UQ45JJQ/k09hK6PhNq8X0kBmUXgAxCywtjIdbGVT9tkrPo5hKbCyZc6He2Slzbg0cy1bTQFg==', date: 'Sun, 28 Jan 2024 15:45:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL6f3m0RlcFm_tDD8yZ6wjU4HAsWIgCMJFFQKXOk94yZv8zW_8vOOfZ2Te5J_6YOozSgASfWE8wF6imOT3_uVBjyuhjJXP-v8E--zH3PRgO8z2O"; e_fb_vipport="AcLZ7j_wUAFIDTcNSHsYRv0BGJyPE0_55kt883xl_YmD220lubbj0fcCUt-V"; e_upip="AcKBL6QDJsfTIzMA9HLR14KnZneHK4WQSde64AzLr63UjXvLNuLivxyf3Ddy8UtXTRi1pgshYKv8U9PM1mPwAaZ9np_9GwkEHMQ"; e_fb_hostheader="AcITNgG1_Wd28IB4jqS_jZ32TW1mK87r1uAZb6CFzygYsMeag8_0ZLDk9yK7pw7qf05-K7GYLOi1oRIx"; e_fb_vipaddr="AcL5XuJUq-9ohUaQMUMYr8ZLlWGMVW7L83EdMaE_TZKp5DTHc4kFXdu9mdvTs5JL3f9ou9J-kCrNcNsRMHqQQis73HkmytvF7w"; e_fb_requesthandler="AcJoDCuge5esgLuvjORzeF_9hzbUOa1gxozxZDlzAiPRP7KB6DfbQeRrWUljQ2Q-Dkd3OOzqINQ"; e_fb_builduser="AcIOSQ2ixkHWyZFU003TfJVVpZvybpr-zwELtDfFjf565szAigfgspl54p7iWXL94WQ"; e_fb_binaryversion="AcLNmrZfQgo4MvdkzRx7Q9ggAHJpMr8cqLmAjZLB8MnwpsdIppMMdjS_QPtu4Q7ldTviszIWh38fy4v9DVLmTT8fp8bTsUAejOs"; e_proxy="AcJtHBe3eNqnKwXOQXFpPd75DtV0od5s1GEw5eKUMMZgc-deLkS9nIrEs8qcb9U60gthlv5HUnvdlpAgHHgB", http_request_error; e_clientaddr="AcL9DelhwlyfAmuq4Cxp9CKUAW5XtdO95krx-a2QE-FeS78ctMQ2mS2nd62pusf0lVSIeXGviAaJNrsCHQ"; e_fb_vipport="AcKjwP1azoRWXpuvh_DXsotzq8R1p_rEX5MiQ205RM0mIdu919ogTxB-JQRp"; e_upip="AcKjo8gcp-49dYuiRoZQqx0m5dPNmDefnF0EYOUf53VWGWwPdIEbmKqz2-NN561YBwZ4AKLYXRdLuq_TO4pmpn8gDb5MP52SCg"; e_fb_hostheader="AcJ7xBg39P5iSjkalXN423VZJA1X3fDizBz0UEUIk5i7FmsiJ79AkKFzvHV1jlM-ltF2znGCZUvTqV6l"; e_fb_vipaddr="AcL0kBjupxcbznn8jaTZYvrlmyRxBu6USfxkuXay_eM9cQ1r9J7aNSXDDwUYp0Tt47MTOA8"; e_fb_requesthandler="AcIyUvB7cVsdAJGrW_JG55SQYlxeKIhk_mn34wU9zKtSLC0Wet1gRkR5b8K5u6a_aKDztFD5gug"; e_fb_builduser="AcIsnWYG3k2J3EubCIgK0Y7aNsOtabhZC4FPgLc2IUqE7TqZL-yNdL5BGqmmo9HhfrY"; e_fb_binaryversion="AcL4Uyo28wKScVZY5ljkMI99T_gAVuhWVjpsb2VYFWcyMQBculSNJIsLaVzNXERxei_M-4ds4h4MI-LS8I8n2mLmNQxhpOQDcQA"; e_proxy="AcIvFkAWD5AVNuLtvrhJSq5ZMhQ4hk3WF5_QaPWC0U3blGWSXKVSeyCx0Z1WfEZe4Hx_X89MRh3r1q8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 15:45:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 15:45:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApDFgPIkYfxNdKdvmdI9n-K" } } 01/28/2024 15:45:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/28/2024 15:45:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494926660, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtZm40LRG53OrhheOcR5jPP', 'x-fb-trace-id': 'Heh6k/ohYlI', 'x-fb-rev': '1011070688', 'x-fb-debug': 'WrGB0SrFufSirQPIRqB7yOlGOQ4mglZ4k83ubP9W4jHgeVyCLZEFcFpl58Qb3uTTCQqxJysVns7n6xMYm7mA4Q==', date: 'Sun, 28 Jan 2024 15:45:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIrbFyA8N5S5VWn9VB5xxztkxcnzviIwqrP9ueyphWGyuwBpqJGAjTLht3Bj4hLatCm9Ypa4OjJBZfqhrlZh4De2-XHVRvHo9LJv3pLuQSKB4Cbmg"; e_fb_vipport="AcIrdMurcx3Fb1MJ6YaGclhYlYi3DGIwQ4YsTHPJL-ZuJfXP7rOIy08n806W"; e_upip="AcKTjnyfIYPrB8g58Tp_m2v46NbRjAMPvfdF7eswbGKBGmqkJh_5A9uCP2CNckd_l8Qtq150OsdzhaWgT7Czjv4Ih8js1Nnv3ro"; e_fb_hostheader="AcKdJdPUQxkM5A7Hmgj51CXqh0Tqvu9gG4qWDT_KTlVdOdlhZZrzb5imVBT3jxDQBZ2U6xhe0KErWEco"; e_fb_vipaddr="AcKyRdrBvoI8Zk12DfVq8bcw0e0ZTAzSj22unIO1VvNa1Itabqh3efGFDvy0LfxhnawSAYVzoKFttRo8Fae52nCV3h-MZ7lv-w"; e_fb_requesthandler="AcLDRT-UqD7n-dW_F_WBI2SRhpFIRwDUn3UmuZX_sJ11IGHQNTcHiC6VCLFQ6TVoXUD20wJpN4Q"; e_fb_builduser="AcJPYvh4aLhM-WZqCEeqMF7wmhZIBwMhx-h3JbR_7KusNmqTtiwyWqXco9-dGxtvBaw"; e_fb_binaryversion="AcKk_UkvqHaDJxLzUQ4t-uIeUPBbm4l-ex-niHnCTgZNwV8-DWP3zDot5CRtvPS57RhGnnOTWjoivDCxCGck5sA0uTYv0zt_SjA"; e_proxy="AcLiDvdEiF6qV0a4cQa74vp-HMR-mmznz7nHr648EvxqKuFdYrklocLwkHCyHKFmBiMoU9Eeh8o-ZhU7p-i4", http_request_error; e_clientaddr="AcJ7YfepC9iX1Dm-RV6Vx_yydaTKsCmyzmg-WrWzGucxtCoYclgngT3MgMpWPDlo-NMUdiEiiGHUkTwE4w"; e_fb_vipport="AcK8JWly7UIh1B4Pg1_PZkKzEEqUWfgt46jauo-Re3N-4ZGojF-esdSKaVyl"; e_upip="AcLCKYzVQ0Ke8AsKnK1E2hjG-fGA1pMKshXWg7vUhpUiRLqP4F1doQDsNV1ze-E-SnAM00jQg2msIYN3YS5k30TYUyQ20HS6lA"; e_fb_hostheader="AcKw_JcnUBWKmJTLodiYhCKYhAPGH2c5Yxf12ixQY7jADiAuzTZd2LUuo0NS29XagBXdVu47ED3-OAmK"; e_fb_vipaddr="AcKL-KljLm1yyew8FzROeUxg1tY_e6Y_tACkuDS5N-3d6q-D0tRmNeSZO9bTm9q_Zl_dfb4"; e_fb_requesthandler="AcKAV1p7_XTViwcilVjqaINQ6qDP3r1zYxYPfY7SEuR5GiZcBlsgxaLf5nn0ogUWREfphWca8NE"; e_fb_builduser="AcL_HXZa-xbgfyY9dMebUTOJqsmhwv-3jxcIGlaEvlJ407jYPxhgeRdka2ULzR3gGLE"; e_fb_binaryversion="AcKXzvZUbIWx-qjzQg9u-whisFtjWuV9eVyHlB2RYC-I9NP07Q1Ah64VuHGYiTitwVeOj72Yx8LFcJoiTVaHyhk6X2F-bR31UIw"; e_proxy="AcJfGGtN8mjh8_QEooJWkmT-mlNT-0VOeKPdT_RLyjOSnhpfohX2OEbJA273yTcE0py5CGEcXVTGxTof"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 15:45:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AMTSepFZd0obQBk3iF_zmn2" } } 01/28/2024 15:45:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/28/2024 15:45:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 15:45:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494926816, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AplsnV7T2OzmYJ4dyynSn_t', 'x-fb-trace-id': 'DIQJ5IpJsZ9', 'x-fb-rev': '1011070688', 'x-fb-debug': 'cemZRrohR3Ook7PNo2+7tfdPxQgXl4jSHMwjiW2mYd64kSnYz9YtGy+xGAzIA8rROh8L8mIVHIf5igYZpveQiQ==', date: 'Sun, 28 Jan 2024 15:45:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJIFUZC8Cp0M3MmVmtGXJz11vENIHo43nBb56tIBTXtUx5PRkEVZhdGSbO4jx1yK6r9YXLbSZMJcqGv84RzcU4ZXAbcLpX60cIYt_5Yit9R3Sr_5A"; e_fb_vipport="AcK-n_fX-MxrePhAVD9jaGbe_R493EkhPLj00cjGuIoOIIo6GDvUUW5WFwFs"; e_upip="AcIiiFovQ5dE0HIS8Da19grFCuEW4EtFKc0dzk0k4DzeYX2XvyaAq-Xik_PoefJqYxt11dbAmMV6huUXibx0Y8gFRYgP4oxYjAY"; e_fb_hostheader="AcI-tSWxrQk1LKOdq0MtgWZCaNvt96tTKLsaiQbF7pRTtW6VG2ActiuzVwBsttykF0wZ-3OHQNoLHX2N"; e_fb_vipaddr="AcIAygw_x7SXnfQdyeSEAussZaLyzz5eirCyXUlB4XIjHUscfblBxcvo_Dh5FmaS9tPCeW2TuUxOqUWifrRpNnX1hvLhPhdlcg"; e_fb_requesthandler="AcIG8K8fUeJZ5rTzeIK-8rYhNTEXLfCZ1Ku00uZWV2TQG7Im7hkpBCZlmk79NfmL3TjQMkB4Rj4"; e_fb_builduser="AcJ2MDORkRaxo1znZY5KJQf2rxvUgnHRJPbDwUpTf0A4nqmKgIr8eGp2tPMMXPFWOJU"; e_fb_binaryversion="AcL_Vh-5tFREorYV9MV-Qpq9S5mMsnsBABH-Tg4tccnBsNvbkeXnlZ32Hqcb0K7l6Rb8X_s2CThD1szTbc7Rm7W0U8w7qY8jcrY"; e_proxy="AcKwUF09RjsII0px0mn9BR03-GMx8MDCw4mBnqjkLHYhxJs9a4EB9xMMPRWiLXel6tdvdGam6p5-oAC8UGcM", http_request_error; e_clientaddr="AcJgfk3ATuHROy5PplIjKWWgvyWxzyx8emcqG-ao4vfKEIDvOU4g1CmRLCwseNo15vwyP8WSVroeDHKq1Q"; e_fb_vipport="AcLrho9LxosuVcQblgF59peX5baSRfh8DSeZeo_rBYRcOUcQirrqks3_CFeu"; e_upip="AcIUfVz-CMrXg2jcRsmt9wiTrl6f02ImFKe8QRL-BEdR2dlCOTbokoR8f5mpwJkIEK1-R1G_5q6K-98JeH3iuCvFeECBaNNqkA"; e_fb_hostheader="AcL5bRPpH_yc3OzZ54vgt_EvVH_sblVXE8DBVTEruY2YezCNUv-9rvc0GYZIs9wVScbelqU95rA6aBf7"; e_fb_vipaddr="AcKS7J7871oxJXNlDH16hvWUNrODdOxb2ZMK0malz39rTIEZvGT9WMP8sIDWhZYcSqNvL2s"; e_fb_requesthandler="AcLtXAIfnlCB14imqZXJB3QUds0wyWeRvMUsdjrfMJvvTA771HEz9HNwv7UIXigDASztyBv3Jq8"; e_fb_builduser="AcII5MVfMj2_w-MddbF70lpOTmtqjQ-Ivy3bn9Z_c7oLAw-S0l9GjTAHKadxxxKak-c"; e_fb_binaryversion="AcJC9spkbONCSwLfa9v_lp4wn7VPpmWoxoDKOj0p_BjHwe-U9Jg2lC3kX3nQKA5_0bR9dMUNgvQQiSnz1vQnLEJ-7_WdZlHhGfk"; e_proxy="AcLucFpc_ZSS3NqrcA-XOYlBNN3nlmeJ93dV21riuTNda7RBOrtLzXhtsPc08-YGYy5tBbjruSjDdaE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 15:45:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 15:45:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2495220105, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlzIht8HnWGuvNLQMSPQkwg', 'x-fb-trace-id': 'EgysXJ5nRbi', 'x-fb-rev': '1011070688', 'x-fb-debug': 'QYHHOw6thByo1XQqpE27bolCQTO5FsLfS6DXDz8fkSQap1D0JgLpEVTlF9417oN9cXI1bclGmlD6yzdP1o/dfg==', date: 'Sun, 28 Jan 2024 15:45:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIsAZW8Vz0dm-1EhKjYe35XBbsZMKtnXG55BQF6en2mXFlawn80vKlO6w-3kUorjUvrAIwQoNs5-gFIrOBKCGNiTnrZ94zwS0VAqCZpmRly3Dd0Qg"; e_fb_vipport="AcJCLeaTMqey0kZ__0E7dDiw0AoW2tGYaH9GKyAgGd1lKQSF66mzT_0WhYz7"; e_upip="AcIR1I97krVuqdJeai5aNjupPrpwHmN1D9Kbhv-JJ71RCfWirEobJvSca-Gnr1Gx8W-jfXHNnIVpxNGgEiS6ZPbw51GEXim02A"; e_fb_hostheader="AcIcKzeW4wx-Yek-Jn58uDoS1PX7c3o9lt4hGKOvXwMHsoub5l2YqYKTb0yzdpa9hLTV_a0Dgxiv8j0h"; e_fb_vipaddr="AcKLZTwjofpx3wkJA9jfWNuRVbl8bcCkoNHEV0v_UQiZ9zWKPIqpwBzXFxvqhxB7ZKHI2CJlHVhIMdYfzKUSHy96AR0E6thUHQ"; e_fb_requesthandler="AcJdCro212oVUT6ocuYgw89fpWvWRsOPci58g3y-11_dvz3mKhhOT-xZywSQMYl83erbciX9i6Y"; e_fb_builduser="AcLh6HsHwNejOW1XJSJW4LJqMxlKXPQ5LMQsWZ0XIuc6gT5yMt4p1wxUG_UAJMsV5PU"; e_fb_binaryversion="AcKd0nZs36rbEh0KnMKe3RUw8DJtKV6FGEFiQDxgM_N7hbdeaoPKyvHwTNUt95ue1eL9upngnviV7bE93PfB5SniOA0IOh-T8T8"; e_proxy="AcJ7pWvuiUMIKKrt4ylqnSbWKQHmo9J55u2niKeh_Bajq2bqoRLyHWpbB1uAwMrFcFqPbjJU3oqWPCAQy8eC", http_request_error; e_clientaddr="AcLjp3rl5xo1Q7F_nMQQ9Ur-wTcUvGEGFU7lkIUxWAV1o4pVqryteW9da7cbg3FcNCyraAD7hihzT3PlFw"; e_fb_vipport="AcJcgOJHEKtd7HRtxiIwp0UDGwB1plWYJ_lZtdgXLH8x6Qgw3q6aHgw5qbQJ"; e_upip="AcLz5R1d_FBM4SVbtZijk4PZK9m6uvgD5OVV4tovp6PDh608tLV6uINyxQVo-yv7QGbVsyGO1KrqlA3kX6oRzMNhfMBWVQp0kg"; e_fb_hostheader="AcLNaUZtogqstRS87QcMSHqOVOMaq-6R4kM-iFZ6kBP-tvr5-f5ma0dSpf6irDHLHF2tgZ0r3P_2xk3J"; e_fb_vipaddr="AcKyDguv8FcLREhMmSdEvifpBckzBW7D_DXNYLsd9cnjrRsPgsg5ms3mSv2aoRVpt7G2tLQ"; e_fb_requesthandler="AcLF_kEP8AN_oCu83i9iOdMLKKnBZH9S7CmwA9lvl5Y-VX_20Tc0V39jcsrb1Cs5oISENLKor9k"; e_fb_builduser="AcKjOhmjDNrHGkcoDJPHNfoCnKTwwCMYITUYbjoUCjaDB0j3xvtlsol257gvP3GKodw"; e_fb_binaryversion="AcKJzztnsTcXA4jTC_gSazIA5Vo9a82xiNyMGw3VtKXugMpQeWBqHFzqtPVKI43JAA57uowWUm0euR9NDdM_hUoVt2qdqmRTUfQ"; e_proxy="AcJu3IPiXYVGMHI7GgKcIkZxpNAg385_NMLdk4iEfvA6ckn_lcAsQqYoFzYXfDj50_wsIaj7r-svfRY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 15:45:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 15:45:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AF3iUfPWUgc6D9kPsb-Lgfk" } } 01/28/2024 15:45:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 15:45:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2495281058, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzdzMKdIHzCtYAJSL0elxV2', 'x-fb-trace-id': 'Eh5jGvubBw5', 'x-fb-rev': '1011070688', 'x-fb-debug': 'Ktp+THXiAt7TgxAmbz9Sbyhf4NaKoWBdqNPZ+fNlTEmewBEbKEKRlb6cMQ9zo9ZFRwDj2s4STS/7J33FkPifLA==', date: 'Sun, 28 Jan 2024 15:45:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLnmc49d6OGHSo6_U_rRoUAnD3LMDvsYEVWXJcMcOfa6BkNfI3S2pAbpTMLoxKx6a8vYNp-7fxK_JvGVlNYTqrCk3xHckLPgUkdqJ6njMiJqyI"; e_fb_vipport="AcK7nLTRJj_y_SlGplfMnE7zkgOOsuPTzqPFKDg730GS1Nf0jkkOfrRSLq4v"; e_upip="AcK_uxsyF4POutV6GXZNo69rdT7bAl_q0JqlviAqIsiW4yYnflYu4ZgayE2kTZqNNVWBZuwflEU3VxiP1K6QCwxA5cEvn6LH"; e_fb_hostheader="AcLXaU8eVx3rjrjtq09D1XLVMzyKJfoKjAYsoz9hbqUWGuxsmuz9Lb27vVNyMBxzT8rrA_lnehH5WwGn"; e_fb_vipaddr="AcLw_GUf554e6-_KygfjqXlRTTy3_ARXB3j3j8bPOGZb01gmJNvzqrcPj88UaMGG4v_GlvX1VgYWylTBNn6cwl0ikj7l84Wf0A"; e_fb_requesthandler="AcJMAbKr6JSuYQ1ekWlPLWp5anEeIknHmZU-ksfrfLW-4LLv0UAkrpACcfFMg4Glna8WP90Hn10"; e_fb_builduser="AcJAaLnGpAoGJav99LHUpzvj1IWN2ZgEbuCvqhis8IhgHmigZmzSnCY-ipjUh061J04"; e_fb_binaryversion="AcIePR8rxSJKJmH4x12hH2eh3yqK-fJe3qMgEchqxS6cC7aY_zHx7QYeKJX5JmdGG8--GmxoJOPJO0iyVO9aZ-qKp8h1G5qSu0M"; e_proxy="AcLoNdn5WWzfIETBhRMQEPhmFmJWHBcvyRVcBNTnB4ZHEk69-HIr5-2sQG8uC6jqobahM0nDxFL4_nz4RMjJ", http_request_error; e_clientaddr="AcJqdlZ32-DEtR0l06ZxleqGEu9vLUUiPMNRlm7EWaiuZC32CnjEWT17zybg9BFSx5T325Vo_pWRCKZU5g"; e_fb_vipport="AcIveVFHvu1UHUstyQGrt4S6mxTdXS2vFKP2KirAe1G7Ilnjz3HYhjLWeQ_D"; e_upip="AcJelASSGWT-0hOSXSVUbSM0iF72LQwkjf0D081bjmIsLiqB5EY8fMrOrj35Qy_2SmOGHniFeCcUj87K7KHfYrWxFRkWk2Y3hg"; e_fb_hostheader="AcJAmeaT_1EAIId08fLIW2Ay9CHr4c1_2d6259TRnMsnlA_LiuUeZmeA4ECQNhyS2okZ8y6QmLT4nuy9"; e_fb_vipaddr="AcIIclomB60Z0QGm1aOLkqrlhwyfn9CZJAIzietNasCJz2vEq2m1EkOw1rkUW-nmMFcONzU"; e_fb_requesthandler="AcIA3rGlMeFmM3_8vGJy34oo16AXJ1CgPlN00X33X3YOktxJO8K4MlkToCkpL5GyAf5KEhkb2Yo"; e_fb_builduser="AcLBLrwrpvjyhw5Dylsy9hRE4U4PEal0LOuCrX0KLgYqhRJV4o8poCYiUeKt2Ma2bX8"; e_fb_binaryversion="AcKApcFUXScA5o6aiS_PZ18cCqxKyPVRHh0Y_JdebFp17h98_FM5pi8u6NzHXfX1HsWAfjW2sBvpUQRjp0vBGc8gSDjqkQ52CEg"; e_proxy="AcI2yfQXUHKoqQwOK-POajWSeKCTSE-_YuZ8dlZ3BFMpjqAXLXL0EV6GFfKnm-ymZJUYH6IMc_mVDyo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 18:15:03: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6490155951038664?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2684716089, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6490155951038664?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6490155951038664?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6490155951038664?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6490155951038664?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbebIcmY6mjdLdR-kI1nccw', 'x-fb-trace-id': 'ESI5APku+Q1', 'x-fb-rev': '1011071251', 'x-fb-debug': 'd8NCwNJ83A45uWC/FMUyg+FpSni93Cj+YX03UTrx6wrIRknYCUFL82LIPBjq22hMUuUvOjmnLOBfNhWFVSYhIA==', date: 'Sun, 28 Jan 2024 18:15:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKT3sBrl0a2mHR9w2tBA0UaP4Zgd-f24VvTlrwgSJm2OG9bp7YFANj4qQBdMQrxJgF-eGs48gBGIQysJgniH3LTgw1LfRgUtCOOfDq9WGII9oH6zg"; e_fb_vipport="AcKOa4FS0_8uwTZBQwFwTJOOxkFDFg5btRes99hhK37M9DvE7aBEc1v4N131"; e_upip="AcLo5xLGmPX9lDXSUwKlE1Lh8Hi8wEYby6ef8ExyWquGAZDRkCCxbxfDkjQ5FcQONQH1c-Y23sQTWUM9qG90IDWeItyEJ1MDUnE"; e_fb_hostheader="AcLShPYt20vzELllhsUp_16XsmY8hg2H6VEpS0SnH8zXgado_Q7hHnfH24vbO3RtechmqF1M7XamcLsA"; e_fb_vipaddr="AcLBCYEwWweLvCrbep_yzrLnyd-QCqZrT9NIWUSD_agSI2mO3s0q4JTdPqaCln3xh0f7LDEyYFbHuNj1jET6oHGxLQHmj8r5IA"; e_fb_requesthandler="AcIqf--An3k165F1szJYJEQETgodEbCnvCAiylQNLIYzzEZM1UuiEP2Cy2P7WkLo7yNfB0qEftU"; e_fb_builduser="AcIlwj9rfzpQZaSn-g-6GtcFDRtX7YuqDdBy_NCoRPmbSlg1R4IDZW2AgypQvJ4tlPc"; e_fb_binaryversion="AcLdIv_YBNmmb5Y1uw4LlZkQ-L8BjttP6fZFxCNfHBYZFJz4nApkR2o95FvAArTUJU6ffPFaxCs5W5kQAh_IOk-ie-csBTgtxHM"; e_proxy="AcLOMZF_WdBvCRdYbmIB7xItW9OTTlVdlova6jcDWajRoM7XCvSTls1Gs27bjQ3owHkUddDX7-1-MvZiR10S", http_request_error; e_clientaddr="AcKMIMHwcQ-jT803WYJ6l4eKBIAs1doEbtB4jc-imvCWoxLVW3WbXDzDBF5HawmwHfqZwCQBoRnkdlKo8g"; e_fb_vipport="AcInI5hp4-hbaMtPjt1rHqgjKXT0MtGcs41woujGUlEVsr4z-tM7yB_KDYqN"; e_upip="AcI6W9N7EEw3QHSorC00GDnaHUmVXgt3AXW3kld8yGJuUV0e108LC7hCsERZq8Go9kJFoNKlwkCUpjE62ngU_-Qy3S_yo1UUHA"; e_fb_hostheader="AcJ3t6GSlXeaZHljGqy9VIUilYRS53PZbm_3LqDG0cm0bDPuiSixeXaMYiPuYcfKHT46TaswCDAWUTq9"; e_fb_vipaddr="AcJFfskDfpLmjzU9iLZUXzAaQxTKXlYgnHB5zxqEwI7Qvh8zveAmbYTJcQ49c2gfJNe2RSU"; e_fb_requesthandler="AcIpZkwWHAguBBvrIRA05ObMbUfnrY0Qd4GDpuTWb_-x9_Gqe4g2H9mQHXY1PyUsriZhk1vKYFY"; e_fb_builduser="AcKR3OecVP_UlcUIOPRcP7qnnUA3aE3sBY962hBy_MHaZUkURmfhKHj_2ao1wD3cm50"; e_fb_binaryversion="AcLWPjIEtGjE6Z34tBKtlDI9SVXGcjv8Bfpzc2FfHrTUMHpAIj5_s6Tam5gr_X8w39WcwpC7AJIbOcifwPBZ9aKOZuOoX41GxOQ"; e_proxy="AcJYRiWbMKV-zGi478Q5u6DUPi8Ni95HZXx3V0NL-WJYuCOnMs1MU9ySF7KKDFPfioRzm9AXDOiiTUU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6490155951038664?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6490155951038664?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6490155951038664?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 18:15:03: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 18:15:03: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 18:15:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6490155951038664"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2684716207, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsFv3mYnjW8qGhykhIXRfMy', 'x-fb-trace-id': 'AkJbXEjSgbg', 'x-fb-rev': '1011071251', 'x-fb-debug': 'K70HAR/4aSZHS+gpjW86poReqwNr36pVPcBalfEDh5El+tXvVhV+4kwz3EdZueWiR3iF6RR8ap1AKkRB+RDXTw==', date: 'Sun, 28 Jan 2024 18:15:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIqHJO-RAsfgkcg6rNeMVqOi4ch2uRXAwTbkPyW0fnfQm1-2kPIVe80cdhveMYjhb-5BymGNYH37FRLpvXdEZPb1DAS2uMM-EJTTijBhH97WIQCMg"; e_fb_vipport="AcJpCzDfVpiMncUqiXJiw7l2PS-jb6nycacC0UmkRHCYCe1JhPXOV5KRmR59"; e_upip="AcJC3Ve1l94MMFEoXN-sY-HY1WBXCEY8GasgP9Lt3o5XzvpioImYz6zzL4JlZnjM2ihBdzh_mBcjB1PkvCJnLPXcEAMKi9GJNw"; e_fb_hostheader="AcLCxRW1Mv43CwFhXb8jQuBD7cCou0SKOwhzV23FVO5A74noV1Alof_AQZ5HmipFqFR0T9iY7qheZnzw"; e_fb_vipaddr="AcLcHVgFIFEzo4FnTLMpdYgcRwjf653CsTiUjlSZQj9hAPriKa9wVI0OXTmVsm13vkZJEiw0GwrbnuXmkmInguLV_kgNCgehrQ"; e_fb_requesthandler="AcJUsFU6Uwnrovts1F26w4V2XXBd64Xva2E7mH2Yp0dFK_YfaxS8pX0UgAqXbzgfiPQJ6U_oE0I"; e_fb_builduser="AcK08bPQXQYHHgZ6eFJEgez5zWxMNXK0U9EJk5SrFDnRRslK6qGUd2IiplNL2Nd0Qc8"; e_fb_binaryversion="AcIIYzKYMhKUt3p1we9drkSIMrTm9KSy6VgR1a5EUhY3CJ7gyoQ2U_usTsOI7Jdpzr-CWlHrEwSOuhixWyKb2T2UUzPCYQkDO5c"; e_proxy="AcL841FxlA8tbMtlbYlJW_zwwwN-kPvw5e0NwDm3omUHDq1W5RK85oQBHb2Y8OFF8hwY-BMqm6xsop8YTWop", http_request_error; e_clientaddr="AcJfb_0EgV9xH2HLTg6bMZ_vztmaXMfo3eO00ePiWHZS5UFvT-bRtKgPELbk2X2QKbbl8MDfAh59oK26BQ"; e_fb_vipport="AcLes5QsRgTmMuCTtapZENqnQ5IfcVnSehgBwSMgxnPd0bHmmzqjF3coZBq1"; e_upip="AcIxsO_fi-aGepPExicDdu3Jd6ndiG7_DmZzpWolXeCFSC6KuuDITjfuU-y5I_O-rhdM3JeZLLwmOdJAMxhUCskcJf1_q8GXnA"; e_fb_hostheader="AcLmobrE6AAzCFzKTHxdld0T-hPq40dji2ZR19lUkARjwkpBMFx4COo3iUiZn9DbEW-0-CQNyIWjU6x8"; e_fb_vipaddr="AcK5J6eubnup2gQ3NGPvjnAtH1g38YTk2lv4mICqxGC25AsUyPwdtv6PB7YXB_v_nue8fWQ"; e_fb_requesthandler="AcKs8BkUzrde1FUVRud95XFfG_so563jldVz7GZYX-j3oMxYK8oV-wokONrofXS8owA7g4c5h5c"; e_fb_builduser="AcLESIPVSzQJxKEZ-g-TZYagRr876itAWg351xpL3ES7YHIGjY958bUPx2AhHLzOdt8"; e_fb_binaryversion="AcKcKZJpqpFwUSpLNCvdwSQ14xbMfGt9-Z-jbSYVcvYN2j9op6oDwIjD_pVvp22YFqeZzHdqL-zUFoPdzOI8WQLY2k9dMa-OQC0"; e_proxy="AcI3PDKb6LjhOth_0xkJMCIkmtcX79hHLLZOz6rBa2kfc0Ukb99AfeZlqDo9xi1O8xwC6xQfiGxqq3Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6490155951038664"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 18:15:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 18:15:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ato56irHtc6MheCJOx15gJJ" } } 01/28/2024 18:15:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/28/2024 18:15:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6490155951038664"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2684817844, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkPmVBxVQd1dPYkR0mcIMQf', 'x-fb-trace-id': 'D6adn3vAbQj', 'x-fb-rev': '1011071251', 'x-fb-debug': 'xbxxpjEH4NjJRH/7sc4XxcsUWyDN3JeSHn/YL5OgJ+PBHGZ+NUmQwMp7Wy+3MKcNmeb6odX2SNUbNsAzeKZWfQ==', date: 'Sun, 28 Jan 2024 18:15:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLST8Lnc0F8jqxngRLBxXfEEh84nDZ0cuWro_7syaQ7YrItWtoqBv04h48sxf24eq7cAKcPNuL0comXWTqyxAwXc_4dZ63aFruqNHSt4Hppg8mU"; e_fb_vipport="AcJ0rxVII6fc2E1yWzVHrXfueFM5IyU-pDtUtYHYR0Bp1Ht7L-PLGOhMT1F1"; e_upip="AcJIpZfGwKrjopleEW8lNau82BH4Ru5QEgTY1pvb6PazMX9vMC3M7LjqNj81SRCge1_OeTqK2xZ7fMOCk-1z5rHMJ70u160tZk8"; e_fb_hostheader="AcKFgn4rhH270EeQi8kAwfpX-n5E-OICiuULIXULgQKKW0IsOlITDuINX1o56i6fPQoVjaKH30LiHTry"; e_fb_vipaddr="AcKIlP4SZFXXDhTmMlXMeWPVyhmJZMMB5sGV_AdSth_e1GB_9mCImRdUCFawU-8uglK6mLo1GiJosYukaTb5Cm9BBcS3YtmX_Q"; e_fb_requesthandler="AcJXTIG0yMi2PlV52T_Qv24suCxAYkofFrluQMIZT-Debt9wS9U5rIB5hrD-lBrO_gFVCzsQJWE"; e_fb_builduser="AcIa7gxNeeN4waPbVxxK9JwGyeuJGXjtaN2Q7sXxptuoh3VFc_TCimYi8ZUkRGNKAlQ"; e_fb_binaryversion="AcKuCl0tCjak9TP33aktPgjHtGSqpUIIFPEq49-b-vitaDp4YSjBq93gpPKfg59hxig5celvaP3JvFEYXQOURz88f7mVgRoqBvg"; e_proxy="AcLPu7RFcmb_2d0RHXUTBvX0Yl7mry-W5G1_PFEwVnQlqLi9wiiSbbTL5fo_1noS7SBGz52iHqgtcrQ9i48x", http_request_error; e_clientaddr="AcLbdReFunITVolx26LCzakAksaUAuewvrlehr_lYYqrU_jsYxT5Eygw4FYt0emT1yZSmtcLdziQUrV25w"; e_fb_vipport="AcIzL6gUFxN4e4LLcx0Z4tX9Mt7s3aBtdP7E0q9oJX9_MySmL9aAysZHpMgy"; e_upip="AcLJZ5zSsFlDub9KePsD1lK54FQUc-80sRegATyd4BaqmkKea4wH45YMSHIqkwtdUyDov74bopKLHEtJxBYdZmBEoq5PhaMTzA"; e_fb_hostheader="AcLYI8uwbKS0OpN2u4GH6iO-zxJOaFTL5-vC3dkrlrDjEgkd0-XScztI9Lop3PqmlY3W2Q-37Q5ed-Zo"; e_fb_vipaddr="AcJXSg9EcUTZ4tt2Ds62u6P6khbv4yzwDuIbldZLLEfUuJI2nZTU8kZEDE6i6U1nt-uQk4A"; e_fb_requesthandler="AcLKcQSuY0IOqpg7SdBf-X3jtcNGOJXX5cZjr1H2ZerFtBoq3U9vnopyYqRsldQX0qAyF5LWhyI"; e_fb_builduser="AcLS8Zr6DmJFP7hp9EX3n7_jx3J6_4PCVq_GCtRE8Tk6BgL0Ka4-rWBtdhTwjWkVw-0"; e_fb_binaryversion="AcK77k_151HEYJH4o5RIHDh6rGMIDZoiMGkXFA3ejeKHZt7gQYTc1ary4x8Eej8LPiN1hH7XGbzuxCxLBPiYPy-3SfKjugVd-JM"; e_proxy="AcIkShvbEEQVowgiwcAB-twd2XVwxCPDWRry-cPUDzr5hJjmEgoPulJ_d1PxwYd5_45Lq9n-J5VYp_o"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6490155951038664"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 18:15:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AXTurTS6YFGM21hg8nk0_Xs" } } 01/28/2024 18:15:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/28/2024 18:15:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 18:15:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6490155951038664"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2684817982, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJl_muIrNMN2eT3bmPm1RDM', 'x-fb-trace-id': 'BQBOaaKo6mz', 'x-fb-rev': '1011071251', 'x-fb-debug': 'BPct1TKlT3HOE+PbvRBZBMeNxiV2gllRx9hjxjtBG9NfRCof+67VE+YMHgsX/vn48RPYnEpNMsxXECPnwriiJg==', date: 'Sun, 28 Jan 2024 18:15:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJosa3P-d6OJkD7SLiZfjuL3PHJYN8TMqZDEMC1iku7joLBbYsA-TkbxFKWHZCdT288ZyQn554Avf3_V8K7rONs7LhC7LVf8SLeJTy7gV5VZH0Kog"; e_fb_vipport="AcJpPnIguBoThRHzpR3jeEEkX7HZJ6wMoLRBlnQk889IHi1g3Bk1WSnIjnzH"; e_upip="AcI2xaLAMyowMpD-e74o685vQZwMDydM6SiaW-HYGXD41vlXx3qXB1Audq0FLn9Sfnyqfe3gN4WdtSnaR-PeBHpgcpOhefiZ"; e_fb_hostheader="AcInS3NMAkqju8VzolTCGAjGHvVvcNyfqWREmhoBGqbPhbkkyszqZVeqjndAt9FjWP5h0sD3CkxkCZam"; e_fb_vipaddr="AcLndZPkSGX-8OkYZMBRYL6d3dQWM6u10veDKa9TnHEcm3ZgQ6YMwBQCz3jkRaXDGXOO9ymQQ85J3ASQnNixxR3e73GH6G1BcA"; e_fb_requesthandler="AcIvj-vAOW069ood39GKgBy8MI-Q6rIT2tVZyc01rb3gxknVoxuqnc_f7jk-bT5R5Mm-sCXZYRg"; e_fb_builduser="AcLK_OmF1cnCTaR7k0d94p0csa87sdeh2oMbUmHC_YW5TDPfT5LYtomXS15AmM9kl_8"; e_fb_binaryversion="AcLdB_g1A5GS2dBcw9GPFJI60EuBVmSthoe11VTVl4_Elp4AqFYDDSNchvjw8VzvEsdr80BFHBmiiDWEMqbeGxHdeIApMo0I7Co"; e_proxy="AcKNvfdyWtzzCqI-VSnNqK-1V3G9Rez0-A-UEhjlEo5XQL46njVQxzIqOAncJlP5RDeoZbNOpg9g0twJl3A", http_request_error; e_clientaddr="AcIckNO9EN8o7ULmOMbRan3j_1KkLgHS2PMic6I1H-E91HIBriZLrIV4vDO9aHwOQf81DEGp0U9RoB5bFQ"; e_fb_vipport="AcKiVZuwKa7zs5J9mfG4aYk6cs-Ke1mwmRJmRXmT7iC-DHp37Lo3KLRSsrez"; e_upip="AcIpAlgUW8MFmSjPzfKbkNY45_CxiAdfmPeI4gEnYJUlewHg0NgXeVj6aT1nDWAzYIZnPtIC-WtKGSJnWrkARgz_9Y0ZWIBCrQ"; e_fb_hostheader="AcLnoBLxoGZLlF_e8uhJFO34QyMLyty5cRjSH9uht2dNQCbg-McSqUUTQAesFizKE_MeNaAw8XfTZNtK"; e_fb_vipaddr="AcIXXbAq6gwtNia0s1AHwEQfgLCj29eBd9WHhmAieACECbwR6J9C769VzS73Bn3AapNihC8"; e_fb_requesthandler="AcImRDu2ZLrXGggX0YhimCYbnWcXEMRK032Zd2Dd9Gz6LhjuP7TIgMnn09boDLK4rzywIdv4p6w"; e_fb_builduser="AcJ4_zOgqidm9hhKs08jTtkmAsQ6LZHCyYoNiC2Nz2wePc8Lzq6uF__H7BIccJMgNbM"; e_fb_binaryversion="AcI9YGhApuZl7kOMg5d6IdkiYLOiR12Si5jXo_aBGTP0Gh03csFYYOhnrzflDsMCqZKkhNsM5wxx7ueT5e4FbID357lsMMuwElI"; e_proxy="AcIwCL-rhW86rpwFCmIY2INTxz8W87TbS3OntFztZWA6T62yrz9Q0XghiUWid0yhX6nh8MBAq2_6NxI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6490155951038664"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 19:06:29: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7339185946115103?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2751567988, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7339185946115103?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7339185946115103?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7339185946115103?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7339185946115103?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADxo-Q5m2EYsjYRCsJu8L-e', 'x-fb-trace-id': 'AHE0rq/fN8f', 'x-fb-rev': '1011071251', 'x-fb-debug': 'aIUH4GOUOHh204goFGEKvXWKI01e3Jq3w4MLmX5yHdTMU1/9vEEwPQX20JqBmyb1UXvC+7rRCLVSMcbCF81N1A==', date: 'Sun, 28 Jan 2024 19:06:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJlFca1NSiPki2yoZHHdqRzOA4S_EirltSB4vit5TJK5rm50gN050TZlwO6LtzDx9UFuK3lFR9Xudd123dQPI8Hw3KcZG5_WTNxyO5xvEJeQxYS"; e_fb_vipport="AcIGkZrK1KIR0zQciQc5vX0HWkvqnH4sYlQMh15UzkOOuTRMTlMlR0EDSKhx"; e_upip="AcKjautAXgPNu_E2y6SfdRS1cRZtmdtCCK5-zWyaft2umUcHVFA7NoJU_sFWf3WPHaZ1IH6ug4fvGIuEz4VCIObD6lpTRDIL3Q"; e_fb_hostheader="AcKIeHKOza0ngXsX3iR_IKBT9iHCIK2j3s6_MQmKOr8UdtJjgdmWLpf_3S3nXRAnsLHxkyusEs_fw0y2"; e_fb_vipaddr="AcKHcxqFfnrvztmbIHDHhqSriWT6AqCg8WnfO1MberKh26QSBK50epp7sFFHxgCu1J6FA4OnYRpyw5YBlBdNQj_h5-WhQYzWcQ"; e_fb_requesthandler="AcKNS7ySEFA14fynJ1tc0joYj-cgGnatsbm53SGrn47W_bPN4Ox1ztJom60vReYyihLelagt6RA"; e_fb_builduser="AcK-ZCSVAM01fl5CNrpjW4dSxpNxnkzaUeZpRInrtHTV6F_rkKMT5wxm1iuqih5R648"; e_fb_binaryversion="AcIt4wBbR038tiVmtwnmjp7I5j9P_ylYHUe35u7DEipAaDR54oqbeFVtg32aMdxPZB7y2sJSeqdcp8CAgp3sIRiFa3zWRPEf1d0"; e_proxy="AcKNBK5votvXlzNG-glxxCBlGO9eodm2sEatw4U1AKtQlLDNfcDhU88YAeIxi-HcaSB538qVs5DOFeL4Hdty", http_request_error; e_clientaddr="AcLA-3yOM2LEu1S5NINax5e9j_2f8upSd766R1zptH6uT92s12pfvSfWY8xqwnEpuceaLrFJgMqn7HvOMw"; e_fb_vipport="AcKPMQ4D0QMJM9Pyx3rk4unVVH2YtjSw0eymg_3jN_sqlfQuvT-WVwaR6G65"; e_upip="AcLtLh0nvP-7gHihoHe0M3iAbvOeNIpi3I_lCsKnPWaV-UH0t-0oKDory8wBFaGpAQG3wYZTHeGMXRDBtGCSwCW2aR1tFkNHZQ"; e_fb_hostheader="AcIJqd2doz8afzjUaYYLK2YiLk4B4q8YeHG3Qoui1cj3ba7GRRTyUicgLaYPuImCOorTMf21WJTgWcdI"; e_fb_vipaddr="AcIPpHB0XwO1Jf8gnaKsX2C6oDhcSN8yAGYBowbKEa5LbNHgbWOYW2gs3tmRz7wm8b05k-o"; e_fb_requesthandler="AcI2P7jtH4JeDY5kofg60CNj17qkifgyR3oxUrJD2fBlSnHDRvSRV-V_24tN_5AtQc2CZDrBkpk"; e_fb_builduser="AcLVUxqXAoGUVqZjrEQYOfxDHTfbbv44aL3q6WIohl4kRARVytT8ANvAAS2KO8l4X1U"; e_fb_binaryversion="AcKCuSSR1jvU2x2QNgYkS3I1M5f3Bld8vwDr7E3Qby2F_vMJCrBsaRMpKBqbvZ69lN5Yt-hGsKtFlb-I3Th5uCx0CiEvRYuO1_0"; e_proxy="AcJV0wWazI24CmAcO-JS3ME5bsTXOC9yxi2ods29Id0BJE6Yf5ZOkS8nBdfkWCon31iKhXNucNtM3Ao"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7339185946115103?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7339185946115103?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7339185946115103?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 19:06:29: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 19:06:29: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 19:06:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 19:06:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7339185946115103"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2751568113, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0sdKFffdtsgmiCyMM21QfE', 'x-fb-trace-id': 'FLwdmFdhvGz', 'x-fb-rev': '1011071251', 'x-fb-debug': 'EysSo85tWi1BBiFkkJx4iAVJCh7sBEF4zUl5xNZ8EF+3NCgTTlel6ELG7zSyKAngCNC2tQrWLdPPMRZGGUWyuw==', date: 'Sun, 28 Jan 2024 19:06:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK7Zh2OiK8WBzmSRcbqur9KEGrSbfDVLJ_eGAi2XH9f2UfgzB-gP6dE_1eVQQeskSK8C0tYVe8t7pN5UsuieW3mJKW9JyjTQKZInw6Jf-Z67vdEFg"; e_fb_vipport="AcLqdKhsKPhN2pJOL3k7FsTXMCa9A8DFSHn3ZfFkgYvAC28TBbKINZwjvndn"; e_upip="AcK2PmnxZT-B6WbMrxCQLIB-u2EbqUB1FZB1KYEdL7Z7TSEJXbMMlnTGzuzzb2A00JkmEW9Uaq8zWg8qbauoteazLHy9VxpRiv4"; e_fb_hostheader="AcKHAPmHJp4hK_ASRv9blP8CMSTYGkqh7_twzrb_DpQXp99To0UfB1ojjiI1aoZj-k2i1A17ftk18LZu"; e_fb_vipaddr="AcK4I6LnQ9HDAdg05Y5y7lrecwQBtp7ijAj_iMShdG-3fgPMZ8cxk8Unq0_Nxox2fXil5EAo60rFm8PDV_XB8tMtfW-MBiW6QQ"; e_fb_requesthandler="AcKD9AAlgw83aYGZ1309e8uL1F5f7TTMKFLt2QhNZ8OAfdJLCaxis-rtPzpHqYFS_OkxRgmaHps"; e_fb_builduser="AcKI09Dhi76IicU5b-5aagLXJ9YOe771ck6IdGnEEAiaNQtqL7m5i2jYlYLFLZEPOiA"; e_fb_binaryversion="AcKEns-axtW3rOJibuNWZXJiIWAEf02Te-p8oIUswnl_Z7qG4JOVtcLonNb9aGiQADgc4O-RKV_kN5icA6w13XLCv-ytYa4gMkw"; e_proxy="AcJHVNQBhDA5oHsatelIr6HUOYXCqQB7g1AMWUH3D4jN9KMKqngGqDGGRAKQ7h9yTJck5d9tLmJkfPE7vTfz", http_request_error; e_clientaddr="AcKQKx4x6SXxZ_rVjGP4Wl_tIpTOQa7wn-4rxk0BHk6qRYPwj3O9esCyexzwTA7YSvBlnlGF2iyTVioVvA"; e_fb_vipport="AcI8GKWHS9QowK8pbLnrcZL0PuHvaKCrBxnV9XULRtfmKdOyYQbLV6v8bIaz"; e_upip="AcJ6iSf4Ta-WPrkCWZQN5E5O0W1RgmyzqveUWlyEs0UdgFGvMiHbm2B0_ljn-buQXavntHl3pD2jYkfdT8gaqT7fu6xOPXa7Ag"; e_fb_hostheader="AcJ_Vnq4RD80OKkTXE-bJ_VJaszFz8L0h7ekuBYT4IdZUoXi2axrofIYtgKepTfp-ct4CD6EMZFZ8Qbl"; e_fb_vipaddr="AcIlUDHZbPupjMkVXW5vDaYWnW1uVRzB7qnQ2CqlgPi_JUxp6wOwHGKWKXvkTTLdOEgizeA"; e_fb_requesthandler="AcIOU3gUecmwZpwEz2dHAo1n9MiBND1JqI4mLsOM3z2edGvdzdxB-78svKEzQdzzHgvudL83eTc"; e_fb_builduser="AcKSDw9c0q-3Or1YVQKierwy2Ur37kEm2MvoBBbF7d6eI9Hsfxw35a3o-8woimtjv3Q"; e_fb_binaryversion="AcIqsM674UBXyfQtB5wUH8PT_a4fddyXix1WW8dqOuKDreCC4C80SdX_kCCicbunU3FIgxFKCcK_5L-JsOaSZ-0zz3zLSmAhK6Y"; e_proxy="AcKud-IMpalFkF3I8Sq-Dh1hXFYKfXP6FZvYK5dBP9wJ5JNz-NGTmIH81RdCBOgOEOWKNkEmCzCMbSw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7339185946115103"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 19:06:30: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AvOhYs1I9mHbnHY2ZEAoWGl" } } 01/28/2024 19:06:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/28/2024 19:06:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7339185946115103"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2751568186, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhoYXDIhvL2WkSI_ez0t5aV', 'x-fb-trace-id': 'HMbX3Ondern', 'x-fb-rev': '1011071251', 'x-fb-debug': 'Q1hqsl3rdltzHmVcpxwlPFnfCTu/KZG8qj3asX6vpMEKEi6iTlOjY+MH7aD181UP+h8KEhiwv+2TQxV5EwOdTg==', date: 'Sun, 28 Jan 2024 19:06:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcILJiuyplYj52sWNseTQbi8BRrWuh2Httpt3QQvVJS5TZsam9Bv3WAFwYd7Dtf8jIeszW74Ga8lCDdd0GsRH1yxJggABbTbNZS_9PHrvo99wPTVug"; e_fb_vipport="AcIXtNr4Vz3odXLx22NVy_Y6Z-Cjqtg7ft5k9EJME-Vo_ZQv2fdkNQnSPJUB"; e_upip="AcKiZ0IwXwFEnAjWC2hqU48Pdl4Gozo7dX_0_c1Q2IgAtBfplqjoae12PZKr96LZPxx_zrG-iCcQCweoZtaSdBB1lDd4Ls_-IbU"; e_fb_hostheader="AcIQTmG_WQdk2lrP71S4S0hHNCuvpPLzKur-A00juFssUIm1Df0oC8JMf5oGnRTWBfsUEc-vAw3knd1s"; e_fb_vipaddr="AcL_qXChc0YOPQDru95O_Qsbi_VN69WUqBTYfiTJxDUes8pkmwLl4Xr08Hf2flgECHKwNXP53aOoZyjezPod-taxyw9RhgRatw"; e_fb_requesthandler="AcKpTcND-o39ygwaL7JFps8yOBS5BDjidkuvAq00eOrL_oXwTG64e2ba_izVVUhnJ0qcXIl0uzU"; e_fb_builduser="AcLDQpv1CuaajMi4Pf0TBGTIsv2igqwl8gCFTrO0ch2tBkYYktkoUMw3B5wrjX0qLZg"; e_fb_binaryversion="AcKwvlsk3VPXyzkr8tJmHLhTg5_-_agzvp3rfoVKjI00FnXOMjzZRGY7gOYTnDDB93XQBzwPHFF1QsJ5FzfPfIfD9Beq0DjWa9E"; e_proxy="AcLA_pGFIkCEqpS3jlHN7HYWSs4-hPubzKfl9WE9DFDwjTDPAPxy4fDyZBjA-PJBuJ3zMyI0Uczt6sMH3y4r", http_request_error; e_clientaddr="AcI84mkWQExkNrjJwvtf39QUvOsfznQGIeqvfSgtCExWPDB3Iz74FaSCCXnblObmH2z2xzyVHR32x2Pt9w"; e_fb_vipport="AcJSGxxMhKGjmi2dKGQv6yueiEHq9u4CztZnHSZPUmDGQvsypAdIfXa2d6yl"; e_upip="AcKvg7UtE-ZQY82HyevjlM8jOzRuag5Tx5t6V616S5MzIRcL8uG_h0EIO9d1y1bkEcyqTwndt7PZ1VQAXs5_A7PAl6wwtcAHLw"; e_fb_hostheader="AcKURXCVcn6hoaSwmVekn1dwQ64GPmrAy4xPxAJW0vQQLPEf-HzXGB7AQm-xh4KQCJeoG3hMesGnl19X"; e_fb_vipaddr="AcKj4DHIu61WFQtDKSj1IwjdZNPzJdK17_2iJiPtxk0mRhOXL_4Xw7Uqj4ESMk02YdcsEO8"; e_fb_requesthandler="AcKSJ2pdjzG5EuCjoed265kYxsQ8JzCGw27X23Aml8uipQ4v65DNpMcJkLDrW8q-ysMBLyBkOcI"; e_fb_builduser="AcLaJf0gOLNiwQ3wefU4nRERCUZLzJUbFjet7KlY9bDYMkSGFxUBQxC50J6Ac8N9SMk"; e_fb_binaryversion="AcL4kwiVKGSnqy4sWvfi0ff-v-uxPRDIzAeoqnVepWt-lE69Ergza0sgQETKlE79sTXqaJYQ7psJIq_HHc6hu4Tx6nADECr7-qw"; e_proxy="AcKfY-T3V-QCCdFz7wkCP0wUZmYZCQkx_KeiJfUCSLWLeZuEj6DtN5RxgPQUCSCcj-ITHUbWAbPvcJY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7339185946115103"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 19:06:30: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ACevrP1Zx1FpsU0Ndt8DrLF" } } 01/28/2024 19:06:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 19:06:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7339185946115103"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2751568300, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUdUEYHd8QYeizFNX-5kFva', 'x-fb-trace-id': 'Dlw3EwI3Jn6', 'x-fb-rev': '1011071251', 'x-fb-debug': 'pUDBdkVctphVf4inXWuxi7by+iUZ3qSmAsO4vPJWxoDPC5ELxbHJJz39Y5uB66cPh9ymMx0bJX1KrAaWvCFrJw==', date: 'Sun, 28 Jan 2024 19:06:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKQFRoQZKR-atcj6XvNVEnnNQeX3Edmg9mj0oTAIgundSIzqaWJwwEbwApvpOjAAsTCisDiQ6Uf92fFyPntNNKaeGBHfXz65y23WKlS9lGb1Q0WNA"; e_fb_vipport="AcL4r0xFIDbb44EUgpRg6kZvgggNfhXji5LJPb3XoX9mHow6WKBJLDG5jWmO"; e_upip="AcJSR87-GfNuo32kud60HopZkgvErUuPY3N62XsFCQIaviIpoIYIdHuSiHflJZnVNV0KnkCcp7rr5Tv6sg1BAL2FHbeyCvM5dlI"; e_fb_hostheader="AcKRzromiamZw1osruKJzURpkLpG2MJY-eiNsmF-ASXKX3y13v4HhVVG8c7Y635QsKhbbjTKltOle5uR"; e_fb_vipaddr="AcKaty_Z9s5zWB80VVa47AAhbAzVvM3cJwH_we2fxJzCK36EqLNIyWOgj3c3e5PZk4ecsQ74KrdH7SZQKpYCvl12ZW0Nj7nfVQ"; e_fb_requesthandler="AcIO5GtMOuivGmR9Cbl3nUhHUDZuEVdXWmgEGAxcCybDXJgJIptDrNCtsyVe2dbjK5eimhjL4FU"; e_fb_builduser="AcK_rtImP8_QBKUQakZBpuzlBQukKMd1ZdksnNKTSZ78_pVDA_n6Tc-criSmeCoPOus"; e_fb_binaryversion="AcK8xtfQSS_TisbnGAWj2cROvLgN5hzbe4tw_4-Q7iuz2QT8oMZPQjY7CcoZdNHfzs3R8g6kwMt4Ft-WTqskJYX19laDpkgKMJ4"; e_proxy="AcJ9XqaNA_joEJMhY4dLMz1Jw4Sbq2abMtJxKbhEgLF8rsyIqx8nVwmy8Z9KbbF3-C3JafRxPXI-6-lfm4s", http_request_error; e_clientaddr="AcJbQDkeGnmvhH-PHRVJ-YUmrmDlNAMDwM0_Wzr0jZYj-E0eVrsywACLyW5isVVp9K1DCStbowtOoTEdiw"; e_fb_vipport="AcJyR07g7L5c93n9HFHdPmUGXhb5LXRAbOvdka3IY5-vdG7QCDI7ad1n1uRN"; e_upip="AcJzInS9QHe-75mY62HboELG8gx1a1INcI73kX4mYvwSJDQNDhV4E9bsqThe87E9JRztIvqUlOWmeFstH8M7R_wvAdC-ejdWxQ"; e_fb_hostheader="AcIyi47Ceh7J2Pdub-MWdEstgyxmY3_nKuIHMGCM8hfxG1p_kwmEyyRdx2Z-PQ_Ez4A5wGw7R_i6rhqj"; e_fb_vipaddr="AcKwCEUOkjnGv_76kOYwudfQHfZffIeCEgCLS-mCJuURzutX9RCSS4_PUN_eoYbCVQ6LMrk"; e_fb_requesthandler="AcJiWXoq0uQHPv2I7MNjaBW687h-3XAk1DK0dOyF8A6P0GeWjYWZiJP1tg0qwMYSG3ImcWyrImM"; e_fb_builduser="AcKgXva2rj5KaPGqHaICvWnFnr9nLFhxw3vW9VaUzo_5u-9dsN3NIKk6rhTyhtep4yc"; e_fb_binaryversion="AcJxy04l6WEDNk7Gv1C2uT4WSkTMwBD57A5IoP5t0SxQ6tXcq2GMtEPco77csg6zGEq1KvzEzt-yJJh_xs3LojvOEj4g_amC_KI"; e_proxy="AcKfhVqMXHZV1SmTwpGMF1w-YyymBYwcLL3skQZmDjJPEcFrtcsSWUH58LF-AY00xwu01_KWBVTmu8KP"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7339185946115103"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 21:17:43: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6565328586905053?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2924825860, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6565328586905053?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6565328586905053?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6565328586905053?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6565328586905053?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUtb_IqF_OYFRVXkZ1S7Tj4', 'x-fb-trace-id': 'GGiWQE2wh7d', 'x-fb-rev': '1011072207', 'x-fb-debug': 'keGI2yGYMykWr13scQ6zGYc5FoXpyV1ixYFuJgKG8fU35gL4SswacE45OvF8DZF0vyT+Jms6cVH77L90Imnq0A==', date: 'Sun, 28 Jan 2024 21:17:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL9JY38GGRBvDzkBztNNQ_i8urxFjU0JG7JW7BE0_vL-89RgCAGOhdECXYWBQ0fLdB6OBmJXMrPF9imMtWPi3N44yxgVWIndWrQuiGea3LKIQlZ2Q"; e_fb_vipport="AcJCw0N4_kTxVJ0HichmcLddL5oWWp0ZDBKmZkKKf-WrWOyUpUWX8ITMdJ8u"; e_upip="AcKbsZdOYJFSu1Jv1HbktPqtt4TZ2F7BUVjzD8zJKZvlfIVsYTHLtFu9lJfZ5S5qhNfsMulFihwWG5Er4hlZQYz6Or1Ew_O10w"; e_fb_hostheader="AcIP8hZKMENFpSIYfHgPh7OulbKxAW4_crhCg_mhAgRoLSQdCJ9y3MEZmLZZppDrH1RrwZdchHUwUYPy"; e_fb_vipaddr="AcJBVC9GqImZbO2XLpF9jCUnHaq76yucB8GnR6XYKWgjlSBpjtnxZEWUAakCmJpqEg4x0hbAtwQjkhA4tKyuQPhB7iy559NtNA"; e_fb_requesthandler="AcL5Jr7uAYVFUqi4sLN7ODxBWEfT9QmJwV0SW2sh8-8WbzgaPmZQVsuwRzuG1pDpavhSKf1utOU"; e_fb_builduser="AcIC5BYjJZwQhJmQietq2_lZvElibuv6JS6vMl6sDsZeZRaIG20b-MPMb-9ZChJSczo"; e_fb_binaryversion="AcL2a0jFX4Q1yPQvRxQwHNKqqLB1agoem2Rq6O7p5q3yQ0cK3KcFXqohSsLgdcpr6i3ypZbCt0E5QKKvroIlYWpVT6SEiMdOcjI"; e_proxy="AcIVrZFI3DicT_GZsz4BpcuKSUvp6w-XwGZSQEhTKXsgmDd5JKzuF0FWq30WVrxAf7hFZp-_vRIbYSXtnzDw", http_request_error; e_clientaddr="AcKRNc_c5MDDYYUUqfBL-QPKD963RBfIP-aUVzKrd4kOVi1Oyl9KIwUW69oGrRAFQCPiGkk88AIt8XeBtw"; e_fb_vipport="AcJFp0B1W4Q6AhoAPGvDw6SvlWA5lYqm8dCLu1ADtWQSumeOLuxqjNBTvFpE"; e_upip="AcLdEp3pZbGpGoPGkBOz9efvCh3MRmwihV4VAVyY-I1oS6u7J9O9F_GpQ4rmDHMMf3tSBLQqlGsoGC6JEt9cO1jMFDBakIuwgA"; e_fb_hostheader="AcImpCPe2tUh495ABXq-GjHHU8cN1wzrxLxk-bWytrtWohgLNQvV2XLLWuYnWHeeLoLzbAS41mowqE-x"; e_fb_vipaddr="AcKg5B77yW_fgJVu5ErnM24SKaTaQtOWfdKa512W-vg50fT5tiByWC74feBfohFeTQmp2fQ"; e_fb_requesthandler="AcLAOOvSl31XfdKpN_R0s4H6dfut5_VIAc6fdUWFb6SDlBk204Nq8QHJosOVXLm4iokwo463N60"; e_fb_builduser="AcI-tYMNyjmHoWX3Rhh3H-xojF5HinlefOpk02uOeTwy1vdCMdfHCWBMqXJrK8HnGek"; e_fb_binaryversion="AcJe838v9KGRvFjF_dNpSgMmi-p0v9WrinDNA9gnq685yG6JJRHLgpcA-XB_8zhpYQ_hlqh5ZMd0Lbe4fYbUnydNDBBMt3tc3Ms"; e_proxy="AcLECQTLIEf5zrBh_XvVAr_hBNAF3q9wZ2osB6ttnuo9NLKMDEvmDQ_-RIulHGNgCZU9EpoWlGW60cg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6565328586905053?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6565328586905053?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6565328586905053?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 21:17:43: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 21:17:43: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/28/2024 21:17:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 21:17:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6565328586905053"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2924825997, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AImpCMeueJmHj_IKdfI5iEk', 'x-fb-trace-id': 'EMqzaCzLrj8', 'x-fb-rev': '1011072207', 'x-fb-debug': '++dNsliTqRJVkNezKwV8m1D+1a2oFxb5UHqA7LbuTKXTjBHb1Rs27t+Vx3SIUtAS+veIVvwZVgW5xV7i1Q1b9Q==', date: 'Sun, 28 Jan 2024 21:17:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcICFpG2zPRXMe6L31ltZHvREKG5oAuB0qWcBeaMie2ZhgWh4M3JEid3TPlMAkwrWndMCf4V8vIpAdI9pQZztUAMqy9g_jdwVqacdKUm2TCZNt3h"; e_fb_vipport="AcIQ8fzwvwDnWIP6HGKIg1NYm8EGkaVOVo4kdVQ4e8B7n5Yl1v4eQaj7IbWb"; e_upip="AcIClv7ITtL7QFW75IU1XOKEoXvWYv34RyNr3zFG7NiU-ITO0zh-Qo8pd1YNujtjuE9NeCj9BJ9Vrq0-BcHoFO0JdLZJgyFJWV0"; e_fb_hostheader="AcKoSMqS3jnG3A4h1uImie0CcVe53EBTXBHdGzIzMhG9_gvbfY1aAdF8pThAa6XNvncCut-tlYmJUERH"; e_fb_vipaddr="AcJuhyrPsU_2wP_Sycrd-2USAUEeFGhOxJ0ZiDnLpU10hYtj51VQN26fFWuK5m51yWerp5hbKzh61wezUov8SGhuk22XR_BW3g"; e_fb_requesthandler="AcI49c3G7o7iDaYY1ZQRW-T1eG0M-tEcMXMnDA9zeI7hXWUSM3OfWR8-KIAlKY6nfJQW0afyXJs"; e_fb_builduser="AcLzlU1zLpmiXl8eBf1jJYAJ9PsYRwzAl8oYOl_4xBZMeoaGhpvVP12ygKb3zHfAruo"; e_fb_binaryversion="AcJ3mrctZ4nu69zt-BOrwpsKFUL6hdjfaPhUzOoqBWjVWhhwXcQfW7HK24we9N9qrW6cr4S4L5oHPSfPUknSfgl9gknH4ci3fB0"; e_proxy="AcK6S3gLV5l72pByW-v03_zKxL1lgckid9bZwjJwSZ8TwGfqXzPZTmXSntE2dNflmBIGFbw20_41gkT7Tspf", http_request_error; e_clientaddr="AcKK-2bG8STTHx6mmHFO4s_nNVgOvrXZT4rvjdIoayzO-U3Cmk1dvLchm3wucAkpHjv4bBDI78XQBILQRw"; e_fb_vipport="AcJix_HWMZ_-8853KXMeBX8CAADl8RWrIjoPLb5LRKSGrIU5aHad5m7JUyHb"; e_upip="AcLvJslWbR8FQdfj_U4_EGZqHYvlhg4SJn07bp0DsNa0Is1_wzcB2ORuhSasGBFaj8RwAKlSogwgIFIsxpGJ-qX_Ia2XE9gsqw"; e_fb_hostheader="AcL2dNRoWHCTk8o2XEt7xJRuw5kTfZbF_AV6auVukRHqy40sDvZTCvh3np5dG64R_EMkSMmX35E3vE-G"; e_fb_vipaddr="AcIEL_jh9oHx6E7tL0Zdp6PET5z-62GeLQByuWWIsFb-HbXxE4w3hfzj_EDV0wxVyGuzFnQ"; e_fb_requesthandler="AcJASfal6h-S-Qx4896aded2xsJvwlqIa8cjedLq_2W8FBtx0JZV3ZrDEGlyNpaZe73ImHDnCaY"; e_fb_builduser="AcK9yq59KSiDnnXZMZcJsn1kJoJZHSEZN_UtQDvMPacxBZzrOOMjgbTzfqJ9TMnJDlQ"; e_fb_binaryversion="AcL2kU-jQQZ78IvTqrVWzYwDm3OdVRDP6kFQuAA0ETgjHg8_ifTLvx7yRKhfC2gf0j-n4B7n73PCxaouFktSxo_4UPmYJ7m7ABU"; e_proxy="AcJ-YH3z4emw3z166TSvFuSNg6nxyo6pT8wtYFXogr14BFlJ5RFGYbxw4ROTWQ5p-rj_imfSNJO_GzI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6565328586905053"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 21:17:43: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AI-iL6iLoc1Wm2j7C_dOFc-" } } 01/28/2024 21:17:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/28/2024 21:17:43: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ACL-0kO3w2-qwB-6-UjmwZI" } } 01/28/2024 21:17:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 21:17:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6565328586905053"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2924826069, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQ3iWFj0APTR5XmlDoW3eOV', 'x-fb-trace-id': 'DerbToyq4aH', 'x-fb-rev': '1011072207', 'x-fb-debug': 'ySBmOTU/x2txNBDvADRFYXtNbzBPO9rAOiT7w3to520E0YDCfUvDK/3zHUH9slJ7jcNIeCK+deON57kXbKEKWw==', date: 'Sun, 28 Jan 2024 21:17:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI1BxyRm5IGqcva672QoraqBmf0vVAgb6HPMujAchLzpc6dRRXC1-aT952QrhNZXuXMhDkQYsbznHK73n2fcrP74d9i2b6ndnPEIecvnV0c36_x"; e_fb_vipport="AcImTLgnACNxH3MqjnzxZb4l7CsMY2EUWQV97BN4FeHsI94V8GAebV1zrHZT"; e_upip="AcLRgJc6PnDVf5Y1tJaTWGZpW4thvLgH97Si5x7unxYbV1YTcuswdWAu6PltYX2RAZv-0SQOcY4_O5Yr6y6vcfVKA3nMKjZ2HmA"; e_fb_hostheader="AcI-l139AmtMdacyEOjtuZpmMMEIhnaD2YwpsolN17EIC1J-R45cxAOoR6BusXQsGiCiqYsZh205v9Qa"; e_fb_vipaddr="AcI9l5uWXUqTYfmhoYWxPAjlD3TLRQLM_a2WKyz75rxTrgXagzixf9igC58LVEQxA25e8ixV448E18u6XaGj7xTajA5vkh-xRQ"; e_fb_requesthandler="AcKMxYMyPnuvMB80CcjKBL7LF-VrhDgogwFP9B4zTK3PPLrG6891k5AiiOJ2F7O0IpFVfD-at7A"; e_fb_builduser="AcLEOlK5jTFhKQWEJ_Ub0s6D3AUMsvpqW-syIrGnLwmNpRORwbuCVIEd-92vQvXnpHk"; e_fb_binaryversion="AcKgKr2tbBDdVMAAzpHLl8iM-Ib6GSBNmUbsiUK02uvD7WlCUokrvOdDbP1agKYdZhN4Ca6JhL0XgXNCMGJKUAf_1CyMFhS4kpg"; e_proxy="AcL1fzk0yLzRYGM8lmIUJ8GBwy2w3xRYMbDVpRXBZRMLbhPY_xzbMyKRNkZKcA4abaob5mI1ppWPCnBidVHH", http_request_error; e_clientaddr="AcIVtKAuZ2vOPrpZYG7YoNJV7CSSeGvWrscNMQZqU4dah1pNDCEc1XIKYmNb_1u-oc0jEbVvYuzr6UkQQA"; e_fb_vipport="AcInRiGHn7gWWrbd89lD6axem1M1b1LrcrZvayknd8DkepQiIPXzU44Zzmo3"; e_upip="AcLsHzEa0Ls4YStbxHEIlGM7hH1IXRa1hXi6KrTkDiDhNjC2Y1m2gXc6NJp0BM3jGmmgz3DhFVHv3UTVeIj4Iq2mXdnSWF_G0Q"; e_fb_hostheader="AcKWbgwqzWsLk6CsJ7XoxGS7XyNzyWKmMEDOlESSC4vcMvi5MY0IH1sV8jLL9fAlzUztEaG7deQt7Ncj"; e_fb_vipaddr="AcL-pEQJQZqzaGO2NZagnWTuLgq38tr9k_IHfe5h7ARiQfo0iGydUmw5tf_vfzjrDdJrXsI"; e_fb_requesthandler="AcLh1vZMwss3o7-Vvnepy-C45Bed9kcAZ4ObmyTim3J5r8udeWDokEnqdzd-7hajcmCNoJSZqfw"; e_fb_builduser="AcIpv3GzuVIFqnnydMpTrKGxLHXiHdGspn9IsJ6DvduFJpkQDFJzh92jBwrJTJeXbDQ"; e_fb_binaryversion="AcIZ46MEBcolpUiGyLE_y6aVLVd3eB3sOItcTRRB5j3CkDRPawv3q6YNRy3YBOebwwv1wW7xnCVNQ111KTN02agsC0vLJx0LNdA"; e_proxy="AcJPF1Wb9lzzhzOfJi4I1QsNS7EfhcE0h8sYHGVeexEM3UR9II2432KjWcgho6cRSPeP2e7d6kew6_I"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6565328586905053"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 21:17:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6565328586905053"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2924826169, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APuvYXzBYVjLhziFr_5mgqe', 'x-fb-trace-id': 'BnBzWxneuur', 'x-fb-rev': '1011072207', 'x-fb-debug': 'pzdA7baTLhxZOI7uB2EdTOeLTEpQW5pLo0nr1lu1DShXnUZ63O9ai84rSqBWGXfOP2MalkeS57/Y/VDdxeq2zg==', date: 'Sun, 28 Jan 2024 21:17:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIJf2LG_QALqz1-0H_JX7FPo6TVPMyl65dUAhOJtQMZX7DGc-f8-t330LnxSZZcEzhW6dGnS6TVmQPFi3k6ItT9dK-bdyjz-00GncyU4z1gHnV7"; e_fb_vipport="AcIt35BDcC-WNv0jVeJEGaC5dEU79SXmgF-3d2BChKWXNKb3TQy4sxcmM7AN"; e_upip="AcKPOYXydj_YCEWIS4jsADvLhLF-qvpHf2JzaSRgZPPFL6eACHIWy2PnhYFl2qEY18qdA23RB6XuGU9VuLKPMZkUQg-e34VlPA"; e_fb_hostheader="AcK8kZPZzXwhThzg5s4KQA53e5HMniF5y4vGJ-Pps22tvrycwRQiOqMtaueTwVwPNlkOHHYag8uS47a1"; e_fb_vipaddr="AcLIfzUZXzdpwxiG5flbdGTskW7_cCTGzwMaOPfrmly91at-VIbVbffls1AvB-gWmluXaoHi7eXh9stnggItnzP1JWHhNoVnIA"; e_fb_requesthandler="AcLC4VVODD2uL9WipwEYPuAbLi2trjo7pEbatOae7nVk_dJaXDJFs23ycJoYxf6GUMV8J_sLWZs"; e_fb_builduser="AcJkjWFSH3OTeDDvO9xuWxhUsXZcfRweIOnDBfFPxJDAS2M85cN1Bw4HNlYVxBrqluA"; e_fb_binaryversion="AcKWV4y_rlnrxzvc15zoEt1SgY5Vjd70Dq--Cx4NVxJDabC1jYj-TZA1nDmgRNphBVoTNWXpRu_3f24mipeyF3bSEWGNDwCP9nw"; e_proxy="AcLXHki-QHVFs-oGdA2zafh-tVIr4k9pvRxxpbg-r7w1yWgUDN_26-eOnKZkI9v5Dap7pPY5LQ38FAZp_5Fx", http_request_error; e_clientaddr="AcJBF_GFvjqbh43oY9mfOSK8C91qLqpJ357ZPGCh82yFQzx54Mifzp9QeD3rsaPIlmHQvwiKCCU_KZlOQQ"; e_fb_vipport="AcKEbP_T8ZMANqsAGp_x3Gwc__rVEnFHrOc1Agp-hDggPEr4f339etRREUgR"; e_upip="AcIc1i3CVxvamJkAwmsOq6iUKN5LW8J8DDG3eK4Vu7EsH6p_NrQsF9duS_YXtLXB7g93_Myl_t5eH86G7HT7CCLVfMBP-DKS4Q"; e_fb_hostheader="AcIFpKLdtq6IzkuPGqwc-sCuufqAV61khM4ZcYlJ1KY-_fG7IDHNsMlo9HeFbACyPdmuBc5RBOLzVziN"; e_fb_vipaddr="AcK501DOnyujheaE0s4VMXk-vH8ZQaMmwa-BT3NGE7e-QsnV5NYtlIdN6ZUKSfJBQu5WNkM"; e_fb_requesthandler="AcJ-JzBg6lZysjuZfYeEjdvkO6oNPNlWN3ub0eC-_UfLhIzuoLPnTyFi0uPK21w1h-5HLYrhPnY"; e_fb_builduser="AcINwdp3Ibq_QtXlcTIaONnhZMdK4G-GVtMNMLOH0vwkE15GXzfcoz6_ppRtpjRNRsM"; e_fb_binaryversion="AcJyiCWbsgFpb_j6UA8S1NaS2B5tkd4-VyCiADKIzwIpxguxAlS7J1Hvy2Mob_HSkzjCs-lzRC_Zq_2wcd6iZpTujKAX3-gz8vA"; e_proxy="AcIOEVpIu-DGlfyAMiQda_w6erXOopIVXxylFtDm0FqOthc7JUNP04Ykf966C2iVvKuZ177D-jzLFqR8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6565328586905053"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 21:44:28: Request bot not found: { id: '263700267026552' } 01/28/2024 21:44:29: Request bot not found: { id: '263700267026552' } 01/28/2024 21:44:29: Request bot not found: { id: '263700267026552' } 01/28/2024 21:44:30: Request bot not found: { id: '263700267026552' } 01/28/2024 21:44:31: Request bot not found: { id: '263700267026552' } 01/28/2024 21:44:35: Request bot not found: { id: '263700267026552' } 01/28/2024 21:44:52: Request bot not found: { id: '263700267026552' } 01/28/2024 21:46:11: Request bot not found: { id: '263700267026552' } 01/28/2024 21:47:24: Request bot not found: { id: '263700267026552' } 01/28/2024 21:48:45: Request bot not found: { id: '263700267026552' } 01/28/2024 21:50:07: Request bot not found: { id: '263700267026552' } 01/28/2024 21:51:20: Request bot not found: { id: '263700267026552' } 01/28/2024 21:52:42: Request bot not found: { id: '263700267026552' } 01/28/2024 21:54:07: Request bot not found: { id: '263700267026552' } 01/28/2024 21:55:26: Request bot not found: { id: '263700267026552' } 01/28/2024 21:56:49: Request bot not found: { id: '263700267026552' } 01/28/2024 21:58:12: Request bot not found: { id: '263700267026552' } 01/28/2024 21:59:37: Request bot not found: { id: '263700267026552' } 01/28/2024 22:00:50: Request bot not found: { id: '263700267026552' } 01/28/2024 22:00:51: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AVVTarBtTGYNn9GrlQczx54" } } 01/28/2024 22:00:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 22:00:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 22:00:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 22:01:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnzYfMZ9uZwXGsw-yWjDI84" } } 01/28/2024 22:01:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 22:01:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 22:01:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 22:02:04: Request bot not found: { id: '263700267026552' } 01/28/2024 22:03:22: Request bot not found: { id: '263700267026552' } 01/28/2024 22:04:44: Request bot not found: { id: '263700267026552' } 01/28/2024 22:06:06: Request bot not found: { id: '263700267026552' } 01/28/2024 22:07:27: Request bot not found: { id: '263700267026552' } 01/28/2024 22:08:54: Request bot not found: { id: '263700267026552' } 01/28/2024 22:10:13: Request bot not found: { id: '263700267026552' } 01/28/2024 22:11:33: Request bot not found: { id: '263700267026552' } 01/28/2024 22:12:44: Request bot not found: { id: '263700267026552' } 01/28/2024 22:13:35: Request bot not found: { id: '405232736174480' } 01/28/2024 22:13:35: Request bot not found: { id: '405232736174480' } 01/28/2024 22:13:36: Request bot not found: { id: '405232736174480' } 01/28/2024 22:13:37: Request bot not found: { id: '405232736174480' } 01/28/2024 22:13:38: Request bot not found: { id: '405232736174480' } 01/28/2024 22:13:42: Request bot not found: { id: '405232736174480' } 01/28/2024 22:13:59: Request bot not found: { id: '263700267026552' } 01/28/2024 22:13:59: Request bot not found: { id: '405232736174480' } 01/28/2024 22:15:19: Request bot not found: { id: '405232736174480' } 01/28/2024 22:15:25: Request bot not found: { id: '263700267026552' } 01/28/2024 22:16:42: Request bot not found: { id: '263700267026552' } 01/28/2024 22:16:43: Request bot not found: { id: '263700267026552' } 01/28/2024 22:16:43: Request bot not found: { id: '263700267026552' } 01/28/2024 22:16:44: Request bot not found: { id: '405232736174480' } 01/28/2024 22:16:45: Request bot not found: { id: '263700267026552' } 01/28/2024 22:16:46: Request bot not found: { id: '263700267026552' } 01/28/2024 22:16:47: Request bot not found: { id: '263700267026552' } 01/28/2024 22:16:52: Request bot not found: { id: '263700267026552' } 01/28/2024 22:17:09: Request bot not found: { id: '263700267026552' } 01/28/2024 22:17:57: Request bot not found: { id: '405232736174480' } 01/28/2024 22:18:35: Request bot not found: { id: '263700267026552' } 01/28/2024 22:19:09: Request bot not found: { id: '405232736174480' } 01/28/2024 22:19:49: Request bot not found: { id: '263700267026552' } 01/28/2024 22:20:22: Request bot not found: { id: '405232736174480' } 01/28/2024 22:21:06: Request bot not found: { id: '263700267026552' } 01/28/2024 22:21:45: Request bot not found: { id: '405232736174480' } 01/28/2024 22:22:17: Request bot not found: { id: '263700267026552' } 01/28/2024 22:23:07: Request bot not found: { id: '405232736174480' } 01/28/2024 22:23:33: Request bot not found: { id: '263700267026552' } 01/28/2024 22:24:23: Request bot not found: { id: '405232736174480' } 01/28/2024 22:25:00: Request bot not found: { id: '263700267026552' } 01/28/2024 22:25:47: Request bot not found: { id: '405232736174480' } 01/28/2024 22:26:15: Request bot not found: { id: '263700267026552' } 01/28/2024 22:27:14: Request bot not found: { id: '405232736174480' } 01/28/2024 22:27:40: Request bot not found: { id: '263700267026552' } 01/28/2024 22:28:40: Request bot not found: { id: '405232736174480' } 01/28/2024 22:28:54: Request bot not found: { id: '263700267026552' } 01/28/2024 22:29:56: Request bot not found: { id: '405232736174480' } 01/28/2024 22:30:15: Request bot not found: { id: '263700267026552' } 01/28/2024 22:31:21: Request bot not found: { id: '405232736174480' } 01/28/2024 22:31:31: Request bot not found: { id: '263700267026552' } 01/28/2024 22:32:33: Request bot not found: { id: '405232736174480' } 01/28/2024 22:32:51: Request bot not found: { id: '263700267026552' } 01/28/2024 22:33:48: Request bot not found: { id: '405232736174480' } 01/28/2024 22:34:09: Request bot not found: { id: '263700267026552' } 01/28/2024 22:35:02: Request bot not found: { id: '405232736174480' } 01/28/2024 22:35:35: Request bot not found: { id: '263700267026552' } 01/28/2024 22:36:15: Request bot not found: { id: '405232736174480' } 01/28/2024 22:36:59: Request bot not found: { id: '263700267026552' } 01/28/2024 22:37:30: Request bot not found: { id: '405232736174480' } 01/28/2024 22:38:18: Request bot not found: { id: '263700267026552' } 01/28/2024 22:38:54: Request bot not found: { id: '405232736174480' } 01/28/2024 22:39:32: Request bot not found: { id: '263700267026552' } 01/28/2024 22:40:20: Request bot not found: { id: '405232736174480' } 01/28/2024 22:40:56: Request bot not found: { id: '263700267026552' } 01/28/2024 22:41:41: Request bot not found: { id: '405232736174480' } 01/28/2024 22:42:09: Request bot not found: { id: '263700267026552' } 01/28/2024 22:42:55: Request bot not found: { id: '405232736174480' } 01/28/2024 22:43:21: Request bot not found: { id: '263700267026552' } 01/28/2024 22:44:17: Request bot not found: { id: '405232736174480' } 01/28/2024 22:44:35: Request bot not found: { id: '263700267026552' } 01/28/2024 22:45:32: Request bot not found: { id: '405232736174480' } 01/28/2024 22:45:47: Request bot not found: { id: '263700267026552' } 01/28/2024 22:47:03: Request bot not found: { id: '263700267026552' } 01/28/2024 22:48:21: Request bot not found: { id: '263700267026552' } 01/28/2024 23:53:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 23:53:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3133866902, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbRbwB7mbdd-gRs723kV3ss', 'x-fb-trace-id': 'FhzxOSa0+un', 'x-fb-rev': '1011072832', 'x-fb-debug': 'X9ZVvwrRzgnDSjPXwmlyNssajR51/BM/3quc90x5222cXoZymbVRdGAqatBUzyi7xOjDFuwtLXa6fqV/RDScIg==', date: 'Sun, 28 Jan 2024 23:53:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLLQKSxj5JkdgtNXv85Fsdmwe7Sk5FJB3INGAOJ2t6APsFUUUZOc_MJkfFABklS9GyiXISri6HdVWYT1iZwdQxE1fhR5ye-QizXjcvwlNZ6wPM1sw"; e_fb_vipport="AcJjT_-UfYrCibOnHgY-X1fh9TLJwtt-1NcYQvUkBKkT35FYcUfPICFB1MR-"; e_upip="AcKZBydJVMpm5mkenLnbGvNOqRdUMmbjOqdCVZ_1L-_uCgP3Rk5A8KbB6kU5Eldi_nxqxxq-bIRfT5BuImnm8Su1AcpmdSoPlg"; e_fb_hostheader="AcJYhp6y_F-txViHQsk-l6fSQDFlJKaHm_sfSibjrVvB7dowyTb-riluNgKm2sui8CpSrat3hx4QP7We"; e_fb_vipaddr="AcI6m1P3q3iM-2ktqmGZ6PYwthJyv0B8CJVaxJnf5JdCjIrSFH061ft41u3qRSKi92b3ZvsG_fKk7l93lEvNH8W3xKrEarVvow"; e_fb_requesthandler="AcLX1thwwHVWUKHpWTcnPfoXjGRmxddGTnlBY6WjpUabuzvwOpc2W9YFfGsZN8ycytSaZXPcgvs"; e_fb_builduser="AcI761lvxwhvpkrEULjmzZWwgBWW8zXK_FjqTiWp1VeUR1vsoEQE9d5PMH6AOyiWF_c"; e_fb_binaryversion="AcLqb5F1ZrIqx8r_TZxd2MXN-BmsZvmj2iz02TPVtCwLdDADA9ABB1qN6uff0d3dOtqiSTD2uH8VFmEW42c57yC1Y865SOfb538"; e_proxy="AcKsxOEQ7u9w-n1HQNkV8z9hnLYb_TgBAd7-BhohA9kvqWtMwKmkmuoSdjneABHNOI_ip19nw2Zg9WZ5Q7GF", http_request_error; e_clientaddr="AcIiv82ZFjnpzSSYD5ZggdvIgXVoF2D57rsbEGwyJ6EqWUbOYRcSwCtLN-yvtEHwzYaZoPVB0B0m4qJiYw"; e_fb_vipport="AcIgv46q3dvHz04EO8zLWUTMc8WMBt-A6F9kYdIRQ5AYioMcHHKunnH7d0PR"; e_upip="AcK2LDvnL3IKrf9MnN8T2p1XMG9zkQAnoHPM49GnoyFiArBXLu15iDuO3BF27wK9ty7qQULcFudTBVEH0wu9P1NA9hj4jKz6rg"; e_fb_hostheader="AcIYh3IgMqBPooGkSvqrdevL1LKWfxfpwukiDGm0g6t-2dWpALAFzVrKgrAeO0EVN79cOWwnNuPJqMVF"; e_fb_vipaddr="AcIZukISjntRbKR4ja_FyrL3DS1oQl3HKnbVlljGhuqs8z3bmJPG6XuovwO0o6CqlFsMyav_jQ"; e_fb_requesthandler="AcKG96KO9GS8ZJDftcJQ0cbZ3HX_sgFTPVcN8xLvgBAs_rshi8YygyWMITuvDhzMvlx3OpREZaE"; e_fb_builduser="AcLvpqwGqa2EMyFWIV61nUZlu0gaMvfANShcQQAL5zzzQdOnvUq9MLyoH7be-FH-ECM"; e_fb_binaryversion="AcKOz5aNCvxUyVpOhxybVfGKP-OqRm2IbwmmJnQfG-ip4hzjweaVpdf6GlFro-Yu2wy50ATxpShsBpzZnDvqITwhBEvxa8N-zNw"; e_proxy="AcIS8qYI3_oaGx-BZBB4YfKbLWoEAKv_JflKPWVbkV51QSD36P4yNAteCNZlRfThhFNVZGfEP8XDGmYY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 23:53:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 23:53:08: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AYNNCbjB1ZgiyZh9KNuObMa" } } 01/28/2024 23:53:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 23:53:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3133977179, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEVTgcG4zwOPwsA4WRQbIgC', 'x-fb-trace-id': 'Hw4ezYRjdxN', 'x-fb-rev': '1011072832', 'x-fb-debug': 'BfMQ1CQch9KRlwHKSMmRvsdx9/78nRQ1xJy5LKwouXL49whKNXEOxRn9+7M0rIzVURnCQ0ynRDIpwm7xHxptSQ==', date: 'Sun, 28 Jan 2024 23:53:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ4shKzM-MjvPBuLiMGWcu7e8PQ0gi067CVTMJDymR3smWQS22eS7ZDQ90nOmJhRJFyspDxcjtctIPPUAyhbikHD2DPpiW9txIQGmXxy7bgO8jXWQ"; e_fb_vipport="AcKmT8cXmJu8g2Kga5hlbcJMIIj4hL6pvwFABUIDhk63MPqFadjtvYT_W_uE"; e_upip="AcL8mFXQnV1DCb2iUqrxmuVwAdE3yaEHUNrU_54RtGrD-tpv6Pc5HVYK8gwofECoauVjmj-DJt6qgcMa3ss1qKceI1RLlcz1JQ"; e_fb_hostheader="AcJ1y2UH4-RzMvsAfo0I5ca9ymAhU8BvCXvckWthMMDRhoY1FTzEpulXArMVMLhRDK6GhtXp5OJdaPmW"; e_fb_vipaddr="AcLkclXbW2ECIZVxrTxDVDYiD93s1UD7Vr5NTQa4tIdBpMlUyjwSNIxqwuN_8fVJsmXCrI8nn-Z5yWiNvop0OZsJwLX26O17ww"; e_fb_requesthandler="AcLIGSaR9uJqd1LFGhnt3k9dYZXgVmBl959uA-8-jgwxunQkDSVmVnXy4mLFpDLzTrGArj4Levo"; e_fb_builduser="AcIrHxDPtivZDdLD2XnhMMEUbjhyY7COgT8FElQzSRbuI9M1UtCSCvs64heMgjaVGBo"; e_fb_binaryversion="AcLyFU0h4WRMNo1xowvOpw9fG7YjdholkRcRJ2D-pwbcUyoFVahnCdQQro-quMxjfoLwriNyRaeV51k2MEc7p4z3cGMnbEvM2-k"; e_proxy="AcLaIOCaVvOBMMhsrbrvATXQk1OYg3ufJME-7_7Ghyl_zaAT_QCzc593WeDiQiJAMAVMMSF9gkDIbRd3-95a", http_request_error; e_clientaddr="AcIRykjPpM4y6sTA5PbeYiqojKAEKrygvrwQNTbeLIbM-ghr0nYS6yszGiVVN-F3dvXPOyIytSkqyVE7ig"; e_fb_vipport="AcLL8KTlDi93eNmngurG2PbUbQUA3MJ4iviDxoxTInrua1G8px2ZOk9Ct65Q"; e_upip="AcKrpZJmEcjOnQWtBlv7GFhcy4Pmio0oTvJ5RUXacYjGoYA4hb-HBVo6J_zWEoHUslwIKxYyjHvbiAc7W3J8KTU35UDnXZW89Q"; e_fb_hostheader="AcJb5SKwNmfOfQSZtvCkiGwapskKy_cZkw0ZPBZZ0gkVRkxCywfeBJi04QGUx81rEXes9TTp10l7zhXu"; e_fb_vipaddr="AcK2-yTl4ETwdhNhAbnhEnUYO9qLJmZsbU_mOHMCqROAlXdQdiUAK2ueKZs2vWMHBrXACEvACw"; e_fb_requesthandler="AcLOlcfEfzgWT9ZXRjtghYGLfckpqBqArp0sH8R7nV8-vJULFOiwoQZB7b0UVl0gD9CGzE4NSXM"; e_fb_builduser="AcI_qHWTFsRClhPyURNtnIdb_-IBNORpGKDS97ZOE34pYC0ISfI3Oiw8wt5lzeYCzuw"; e_fb_binaryversion="AcL9JOGLHiQckzISr4B3DNb8MSl9MgL-PMPIPskIugrMYU0q2hZKeFbPO-N554YNUozqTSOkYQQhcHiAzhUWqbP_2EADQ3wXa08"; e_proxy="AcJiOJURwIXg21ChevzJ_mrCuR97itS5pzz7EUBilnyOY5VUBmJ-H6ROqN80qpdVd127cXiC80ClCVru"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 23:53:22: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ADFZhSk2BNuCIvoeDkP9hn9" } } 01/28/2024 23:53:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 23:53:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 23:53:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 23:53:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AqerSxssBH8aWIIXrwgE4WG" } } 01/28/2024 23:53:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 23:53:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 23:53:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 23:54:01: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 01/28/2024 23:54:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 23:54:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/28/2024 23:54:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3135189829, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxBnnvG9Jx47tJiZsl5UG4l', 'x-fb-trace-id': 'AgcjsUD3F2A', 'x-fb-rev': '1011072832', 'x-fb-debug': 'jBQOvZkxLCGEvB2cYDj+GLB3NBFiTB4Az8vjxl/T9vL4qqhzPhPFjTYodvSl5I+tll8jAsBwBuKHg+hztm7CtA==', date: 'Sun, 28 Jan 2024 23:54:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJgoxUkveNdOgDif8E1GBHYEg2w3p-_5MGBkr5_Wqu9PJ6H3U5oKPcxflhP5G3D7M38qFdJ6WE4UqoXqqqTfoGtbsBLU9YtKVoTEi8CEZvrb5zH"; e_fb_vipport="AcL7yu0TGLiGVwn451pMvJcnvgLRlDlC7FhhqmW8em3CGbqADcrbTj3LLJrI"; e_upip="AcIrq6do5qceV57QYxlyGxZQNuFgBPFhs9Ly_jnW1fa9rPWwcsn6zkx8ane6X5kyDyB8jg8gZ8KGjCsFRDKFlEad7dfvt2C3GQ"; e_fb_hostheader="AcLsk_rM1YvxRUEEcV7dkWVKNvGsfLRF2YOGfdPjMwNmO7JE_y5sYcaWdZyswOAUyNV1pQSysDQjyA6s"; e_fb_vipaddr="AcJQpfItVOUnn2_SN0RNyqlGSfWb5Boaj6zHRH9CKtZnxKpeKohsAkuNr7ts9Gk2prYmENu663cKr0mFf4NjkX5PBK3m5XkGYQ"; e_fb_requesthandler="AcLNhyOoxQ6KaNp_S_4FebflJkJ0Rg5NFxxnm_rBUrmV4Yitau21xSam7Pe8qLe8D_V3HAnhWQ4"; e_fb_builduser="AcJvcUAApxNzmyhyQhx-ubcfGy-I1QXhdFjKHpmX1BcG_Ux8irGWEwXa29VLi1zX6Yk"; e_fb_binaryversion="AcI7e7CDv2z6ydMZJzVJFiVZd0Nd4u-z14QGoGkALqX_aYnrM0TV4isxRBWuxBiQoL_VgFOk5iK6B13k9Hbk6ZadonhN_foPSts"; e_proxy="AcINOhzUHRxUQBvN9gi8KY91CWA9urMUCROXeIDG_mNGonPyRQ_V7vJa_TLgsITXtvMN0rVCZ6G0r9M00QUL", http_request_error; e_clientaddr="AcLAhunHJzkbgnwAGlnAxESGqL6Kr2NO7kDaMUtfuy1mtExKKhTj_04sbtv-Szyww93aHK_G2McKAjZKIw"; e_fb_vipport="AcKWlfMIcjKrsgK5pm0VzO7qhwMEbWjmjP9cDknLaUaGqX55fJqiBCYDClsc"; e_upip="AcJIh2ssus2il9Q9i-VCi6f-WHLJ2OM8VT8lRt_h_1_D8qETj9Hak3_UdJ0LEKtlpQBdedwlNY8Fc4z4PtjwuLbFlbY3t92Hyg"; e_fb_hostheader="AcIHrthVEqZt9X_HYpubl22q5-EgoSAIZOGSCgj8XS1f4GWmy9KjiMMW2pnh-DODq31dX1AdLcMvuZK6"; e_fb_vipaddr="AcIbrQW8SDIL21gnTabswgixazCgHcr0QfpvfZfuzM07onIuBicBr9uCubkqbfWcZaC8k6w"; e_fb_requesthandler="AcJbtjZQSTkm4QymNx6vdIBilbasukvAZe6br9ifmZDY8c91Y0_fo_QJFTS_Sc4RrVG7AgC_G2Y"; e_fb_builduser="AcLgeY6-55LTEAciesmxMs0psRkIrfWsFUTX9CVpoOMsRRiEMtKCHeEEZIDhydD7tlQ"; e_fb_binaryversion="AcKy-W65eMeKYJFSH73oUXqr72Hsflz8JABlJa1YISQp_vMY0X-atH-EirRa_7Git4wNMi_eXxq93rSORAusb-ArSUTsk8NiV_s"; e_proxy="AcJ7mD3NHZ02CBkGhj1VK_SCtdS7Qdw5WxjlMNVbwu4eAChIS-7O9YwclxVo0ppyAPdZq0LDlsHkYDQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/28/2024 23:54:01: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AbWPscws3jve3v99ERLwtpX" } } 01/28/2024 23:54:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/28/2024 23:54:03: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Aknj11Y3LCHY8e9Fml1QyYb" } } 01/28/2024 23:54:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/28/2024 23:54:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3135190004, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQLocRTkH5HrhFKlf8pjrMH', 'x-fb-trace-id': 'Hpb5ohg+kU2', 'x-fb-rev': '1011072832', 'x-fb-debug': 'IQRPxO7ptwrFiikD21HroDQ4jyTWYk71JRf1QchzpZ5pEL0rGWINi5BU2C7Z4/njQ8dtAbT/cwACTCCwL0SOXA==', date: 'Sun, 28 Jan 2024 23:54:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLWh3R7uFDEQz2dnBY3r17xGmphAhBL3JSrwYq3i-pDSv6gAcZtiX6j52p7GamlvPWmvf_0UNp5ApcvTVMv60-oskR2TJNXB1bYHAjI6W06jshD"; e_fb_vipport="AcJMRLdXKjbtUj_xGXvp8ucYzY7Ov6ARR6h2JIWHZZBCHYhNkwgwERwq_Z6e"; e_upip="AcKulwUVZPtTh_4lgb8jc-WlBBA8xQi6K9wzsInM7TcL9nMjLhiBCoRJc1fQfgA83m8PcaHZdliPVGTunaZj44IjajHJ87S6uw"; e_fb_hostheader="AcK9u4MxRf8Lk_siXWaY1CURen5LiGcW9X7JfRtBepW5cdde78sG4KtAK3n1K5bidhnQ9aG-JhZwjb5c"; e_fb_vipaddr="AcLZoi42qRx1USlOkZx0WMzXBF0LDXNolOGl12kvB0EIAJ6Pg7JaovcQ5VkwRkAbVrA5Npfwj-VoUGalEcmGA-76pc1f-nUIpA"; e_fb_requesthandler="AcL3vvBhkEuaonOFS3Zj23bNwOWEVHiGbIsYuq8FR4tgYXk5xhDHYM8Jfyczf3bHXaaGDFyAr0o"; e_fb_builduser="AcJGkEbFjmqC5rxqNv2ttfxtLdWSkn1uUJznGDs3tDmfsL8s_oOWWUC3EDQrl76ksjM"; e_fb_binaryversion="AcIQE0YtxiXKmtGuDtkwykBnUNp3R5wTGr3HlqT3K9F4gD3QVSUUyLiBtAXYHK4IhGSbDIpQ_FiT0Oyn-qSfUBuWhSltxErzQ0s"; e_proxy="AcKhH-yOPuTrm9zCAgrNPIyv-0KHBCBnshLh7jegzwk9Cg4xmb2SiTi0naqpgY8WIZc7bCem6xks6vRAj6TT", http_request_error; e_clientaddr="AcLsMQPejrVJdK2Wa34w11LzIhaoqQ_TAGijxR1Uet7ev9xS4MBKhSVXi7cO_h09u6eNiU3LmQtbDbfsNg"; e_fb_vipport="AcImmiILjNvutwHjEOsRHxsbK1VbjTgKbdnW83RqV5OD9mdwqiwtnW0VpTUP"; e_upip="AcLOooFFMvt91yUZrdYyPsqZM4ALaS73GOCgABrwz0knUFbc-scwYu0dlLOuDUNEL19xAwse61BjBSGj73IQCUqSk2XYPDgTMg"; e_fb_hostheader="AcLKO4JHIZUEUbMwQm3NxU9lGAD0-5vsm1vCIXmgk050xwYLkQxfmX9oIBTqpq9KaLFS6VizzL_x-qzj"; e_fb_vipaddr="AcKInVE6EjpsQhXSN86srFT2xVfUW2ScCSp3eYT5EeO_czdSrPS4hhRsfvnYlpdVb_rmlCM"; e_fb_requesthandler="AcJr17zf8KK0R_40AIX6gMrfYdbNtOHuWF_tJhB-S-Okb70-OJA2fYw1xOOtS6nGvs1wymZuW_Q"; e_fb_builduser="AcKylG4KckTDOH6DdAafgDCg215wr8ApbOpsC4qZJd2Pe1SlZrhEMgLqHndOugHFlTk"; e_fb_binaryversion="AcKRwQIoxW5i2IyZY4dx5jSsi2mq3KzOmI8s2cKx9aUL6cYzBqZYFm6hnlDFKbsjHBp0NoBK7I54w6kUVwyECAJ3Dt91h4NKV4o"; e_proxy="AcI9irGEh6C2gea7v39LwDXYendoivSpZpTkjt20a8iQ3QhN8RS7iXniAL8dyCwaqE3oyfsUOIPBPLU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6914996961888742"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:22:19: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3174321927, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATsrxjPkWb9PXzDWHFTuEDI', 'x-fb-trace-id': 'D9LT/u7ANoO', 'x-fb-rev': '1011072832', 'x-fb-debug': 'OtvD016QG9c+orOXBJkskRI+a3qGKfiWAHIkk6JoYrGTPlUVoDRQMmQkxaDBYEv/p7E2ZYzlD1OXjayDc6IS1Q==', date: 'Mon, 29 Jan 2024 00:22:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLjOOmtq1aQOZHD1zvnapJpMt6iNmA6rQQGYMg4EFWbOPWUdS2MnUu5FOGAO5n2xKx5WI9lUXdg7U8Vw3qmM1UAUTIwbRlLz681Y-lR4uB8pw"; e_fb_vipport="AcJxyn5iCj17g7uthySEld6h0XKLtE3YnWAmdwc-SDOHFEEB5ilBEVsCTv1F"; e_upip="AcJSlBX7BX1FLKVnSGyP0Bi7g7jvHqhaAoWco6tJaI2robD9Wftuh6EBcz-RPlCqQ65wipMQedNRdVWQokfFA39oRKkJv95uXQ"; e_fb_hostheader="AcKD813SROWPSO2B5PjVwEcyIxPf47UZOMzBX9xp8uODieMq10RK1Cl74h8KFWDvjHB24uspcAwTPmA5"; e_fb_vipaddr="AcK5v2sf0_XkfJoTWQkugkU8NDzN2qRpQu-SrViVaMwXtJ_AfTkQ5LO8n57O_lHtfxBMa597cPQU-0S95vm9WzZm0tNgctBcXg"; e_fb_requesthandler="AcLOhHNKjrGnfgfEFwGQYu6mDNeoD-7Exn3dXa3bWMtEF9_BHZkNqAv8wgPTjY1osrLb2lCEUZo"; e_fb_builduser="AcJCn48u5s8v25lbLb-KHSedskDNAutqejXJKLEgkKvCptIXyAhDwdCtEDnjHAF5HnY"; e_fb_binaryversion="AcI0SkMsrJ7XEDxBu1O82q2dHoUzwo32ymggWxygazdr62hvlbKd3swz_TWTJJag44_uSDGoBtwdRfvQyhoP2bQG4tRaegMIwGo"; e_proxy="AcJKPE6ha9Wm0-Zl1vveIj9uKGgZk6WZww2dnXdtknVIQ1FrLHTDnfngNTisBGnWhOnn882EV3OOfhEWDQZS", http_request_error; e_clientaddr="AcJVWFO36ywv64w7Cmb_zlq0VhAhMcN0UJy3HwUDrUgCZZiOPk1-io3CQKok6RZjr9CJxre9fTqbmCiC8w"; e_fb_vipport="AcLnRqowskaPtlGzKXwkxddGrt0y5G8a0j-Ek7Fw9bFUHBu1rE0oMOX7s3ze"; e_upip="AcJ6tbX2vLoMRK4nHpgoM0ZvhcQk2aI5pIykR4JOhFjmhhx6rum_KZaXbjNz4PxisFxBFgMt8GYs8JaWpvvK8qgNbZfqcuC_jA"; e_fb_hostheader="AcI_ORArjymwwhFIS-Z2AbznYL7ONOoSZ4pGsUawNxqLkn_dKwvxrgHLTRWnyjf4OwqB18uDDptUScrD"; e_fb_vipaddr="AcK6JSRNodxB0ZpSjqXCl0HN4eGmcXP8_kCAkdkVgn-cDIJgRSrEEIJaC4mVFzpcZ7R5y169xQ"; e_fb_requesthandler="AcKu02qZC-vUUfyKRVxShsslMbpB3fjzQMNlnqjCBtfmOW7O4XFRiMdBzTyoM29tTj8NrZLfeyU"; e_fb_builduser="AcJl-ihQWlAzeInxdxfFTzl9muPPQWmGKiXc-s_s6mbVDojLDP5CO_SR_ae3zdsUz08"; e_fb_binaryversion="AcLW7GDG3DHaZNTYwBoqLcJXm-cAx9qRATYmT7Kyp8g8mQLiEhn83gSKU3xZyr5jibYiGIe0Z4trk751dABUn04VSqid2HKKSTM"; e_proxy="AcJ-uANgi77vL43K7ghrxVFw6AOOi6o895R43msFlUOWvvAv2qGa1-zwEKt-RS0ldU0xE8eN7LwljURb"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:22:19: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 00:22:19: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 00:22:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:22:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3174322068, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIHTJdtDonQsgjWtE5WUvTL', 'x-fb-trace-id': 'D3WaeXc4Sn0', 'x-fb-rev': '1011072832', 'x-fb-debug': 'yTqjlU8xhz28Y3GyAzATAl4jtPkNGlgUUyh6uHcv9pCeNcV8wy8fxu+9rVpGKMgtoTk+4fH5MhN9f/A9CoNg0g==', date: 'Mon, 29 Jan 2024 00:22:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJhQYLdYY2ZpVaV5MJwUk7B1WeE9iGXWATncBvS4qM4Owa-JvK1YEhQX5_7I5nVThAJn1smAMEQ5gwqr7qgSVhxy85NL1LLEsMjq6JZYJoO3Q"; e_fb_vipport="AcIV5omTAIbGd7-jYo3c4h7FeWeK-x4b8-qnrI-YFz9tzxlOoqXUom0Wuwk7"; e_upip="AcKdNC6QePTmmqgg_lOAdM9VHuF61h-t3XuWtoWWY7kviOxhNbNn_foFqKFMfMjCw5EMgkcAntZdO9tDT6fGkZpg_O70CYaT"; e_fb_hostheader="AcLStZlnMn9GFI_qjjAL3RVWKtOfWMaj4OGfvDo4IpvteWBtwQbU2HgUWg05Zbiciz0FLQX66i_cx2oo"; e_fb_vipaddr="AcIaG8KFKSTRth7320mSt3VeVMdyY9Cxmyv_PF99lgR3uCA0ezFsjoU0wZEmxX70LQFjt8jhdq8iyxJrCEKCxwK_sEPlwswaWw"; e_fb_requesthandler="AcKSdYqCR2H9PIqKwjzkS5swvl9MbfeE9Io5uh1TmyKArxeiyqSgXMh0i05_egC3zSiBDWY0Tdw"; e_fb_builduser="AcL5KjTDF1W2Nn9v2sThMfKW1qUd2vgZWK2kO3XSlzT-yGz_jC1x86t5NejmyVCHpJ0"; e_fb_binaryversion="AcJyYfRYywsBxxxnvpuBb0gKFjyOAgNGW9u2xN1NK7FSQh7W-jUpknRlvW8K5iFJh9djUC2obX5d_w63JXtp3wEE4Q3MYH32zWk"; e_proxy="AcL67Ku5TCmhHrqQ52NU2GLv_wa86cwpfUiECmPeDV4MpiOq6nhFLnfZphoJ59LF7xB1urnSDqSEYTztTCJc", http_request_error; e_clientaddr="AcJmdr9u7oonpIAdQBgbwuS8VfhH3FCr0AAjtUEngIBcVhgGD1zFYq8TCb7re3BT70KaqVDQC3yYXP3WFA"; e_fb_vipport="AcIdBwWXE-em9M3tEB_hvMhKAblcEjzZWypznGWABZAqE-bn-Ymn7OvjcE37"; e_upip="AcJHd30qZR_n4NT0dBv_JhgKE8JHnCoTF80-09_XscpNMUo73Oj6Rhtjz0alVow0NH_NiDAJ_46_gQbzOBtehOhhYt8mH0TrFg"; e_fb_hostheader="AcJ0TwtHSipe0sa55euNaYMDPbKXAzqtTZeO3bbVC6bq3RnnR-Xti-waWnrAC_Qejxy-KAk-4PfKQhA3"; e_fb_vipaddr="AcJ6jMeyUHARVhvsna_L3sw5BIJqoXYgg9I88JRVdxLbN_ELfPdUINVgAswmEa2SQyONVTl84Q"; e_fb_requesthandler="AcLulPi4RFqDRh2Ppn7VGbUwn0jHLrL0hNRwR2gQwmL-l7gpZuf2dA-eaOni5JELhm9rzh9jkgU"; e_fb_builduser="AcKPC3En_FQkNWQ2fMpCSIXjtvgjIk2pJz5yha0ktKcOF5MOHyyDS5jaFdACXX7KK7o"; e_fb_binaryversion="AcI4aSqQIHY9lsGI-yWoF8HxGf28mBsdKwqf1820nJt_PQL44cXZ4zQV7BlXxXyLc6txNu0YrsOqvkDe7ANBlpgfBsIL0L7PS54"; e_proxy="AcKz5I-5iERMqTu6pWxoqucEfqmIuEeHvz3uXHBRPI2mHxTeDPzU8L-FCB9aofPNi8oPqCza1E46shk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:22:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Afq-LkqRQV7Xw4srKfghYkv" } } 01/29/2024 00:22:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/29/2024 00:22:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3174322140, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ax5r6xhsHjuC8AhaejMBEgg', 'x-fb-trace-id': 'B1ZhEK4TMI1', 'x-fb-rev': '1011072832', 'x-fb-debug': 'blA7L21/+bBsZuN8o8rDr9fbUcPC1DXuS7WGKyCStyOVehxM/IyZ6ca/GTKde0Q+tcoS7IM7SG2BgmpbhwfelA==', date: 'Mon, 29 Jan 2024 00:22:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI2J8QQ5U3TBY_gHgANeXtFOZaM2dYNWQwOjbEidYwG8G5EsAPP-cjEiA8o_VZEb1VueWxFcVUUvUJWJqOhGSJZLOQH4oAzv2mCI_czBDp3QQ"; e_fb_vipport="AcLxd2t6GV8duYfCu2uMPd70aU48jvsMMGuzHCCr18s92ks05yS_yOrrUyb0"; e_upip="AcIqxmRrxEl5Cpegspc4m07MhnxHc_9wUBbiOGTfoseV-q0TXhAq9P4njeQxaOIW5sOM0JMrKzsMebJsb9ofR76LIaqrb7I5HkY"; e_fb_hostheader="AcKn4NcrbFiou-vGVqxAswy8nCab-Yp3a7p-4PrlGAuAO9upy3SfhQLSz3QsP8Kp0iG9R2v6Z7m2aYNS"; e_fb_vipaddr="AcLi4mKTgFshMZ28Eap0V1PkDiF__bIsAbUo-azCOytvK6xon7_rTKh6-wHsZWrjvRKYVVzlp7De07-2U9zC9E8oD3aq0DBdbQ"; e_fb_requesthandler="AcJxVxWkUD0WwPdQExXYFLs8XvH1vxcTbmCygrOsAk6a2oN6xZGzw_mNb2c8kTKJw7a8EAc3E6A"; e_fb_builduser="AcLw1M_5yCgJanqHwLvn36YwxNzdZMM6qTx8ZAvAfAHSRzLtRNNvGDisr7y3H0DiCAk"; e_fb_binaryversion="AcJ6NKtXr3cMA4wFmyxdP-kb21pUOBnpHP9kIXNeB3LqcYjx2IJiZYraa2VIalZK7D6L1hlYT_w62pkB5lhmSCTHwvqCgcfG69U"; e_proxy="AcL9WPM_ZBxkwrhsP_nWVeIQu-KFkWbe-4uSkZhmJim3go6qa8YoL8-auIcXVJL_T1nxCWbBCDYCUW7ys5xL", http_request_error; e_clientaddr="AcKC8Sr-o94juBOcFo5YUct1LiNIUvdIB18CHAnbyubVbg9G5eZM8QL6B9dICAgN5hlb2iyXQAx3ql6-zA"; e_fb_vipport="AcLxj07exXmKW294lUi4YYkP9lBMOvU1-ksvjKy4Ho73fzArJL5hrw1U70xG"; e_upip="AcIouGiGEOTwlv4-NlrLOusU8wswbsRxRPxG9tmkuZL-jVUmabNSi-2DBAOOldK4y31knuFPo99K5jkWDpfFXJ7N4bZBdUkgow"; e_fb_hostheader="AcJonAARgOB-XOKhfVtooqpA3uQAOAhxtWGD6s0f9kqDO5v_eI71gJGCadG9tybsNNsMYRapbFq6Dk8_"; e_fb_vipaddr="AcLAU3v8Do8PRqyFUWIQ85cb2OXxWaO1SHf11HceoBq_uBvvuN26874MN_6v4dUYVHeTSwjgDQ"; e_fb_requesthandler="AcINos74gB_y7it-cOx-qH2dxiTNBX7EOfwpd3AlaYsE_wEe-f7ZZjdonbJX7EbbOQ3JvONFhtg"; e_fb_builduser="AcKaOLUzbZr0qvxa11OhwBNSZho779mwEaWKV6kyTRA5OJvt6OWrJiDXAIaoWkQ0878"; e_fb_binaryversion="AcLmhKrHYbU-0tYZNu22GVaTHQNu0NEYZ7O8wHMws79I_1cy-2caYyqIWxGPK11x86akhHt8THbxX2VscfMJ8acpmbQovWcP2YM"; e_proxy="AcJLTX73e12LGSHPNJSi1HPg_EgJ2NsOmFFPjSZwMzJDsSqMvoZT7ZGb8qcPFLryliZVY6y_kM73624"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:22:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ANdjbr2UkmgJy0TexmPfRCa" } } 01/29/2024 00:22:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:22:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3174322277, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdIibIPDF965jC_H4bkTo5z', 'x-fb-trace-id': 'EqZ24l1kR+v', 'x-fb-rev': '1011072832', 'x-fb-debug': 'M2wI6TJsIiy2XGOk6F3SBQc7wL7mkgY46OEv0wfqKhT4X2wzZfcw5IiBhdjeOiUxU8Jup+qva44Pz3qzwzhy8g==', date: 'Mon, 29 Jan 2024 00:22:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJAXjasDRev-XKOfu4e5oj5g0shnr78ptxBqqk9r1UIpyF-yEBdSwsoqyAlSgAkWj7T67eIVRiXQcOfEke-ewbgEkn1fjSr7SIG4WtdypYnhg"; e_fb_vipport="AcKru6jdxLemqKGh2vRSjXs0dy1l3cftDuBJ-EUbGb3T7FfFHL3fmyZi5vxP"; e_upip="AcJjIdgeB857ODNb803TrzIGA_b3u46cPBzODA1BX7Fj5hGZIvEDIJw-z0GA83dtawBzZX7HGOXV7gllptPefVgP93zKQiHLfQ"; e_fb_hostheader="AcLjAgZwy1rVcLTARZndSjAkc2zrHB_qB91Tu9ntlgteUUfoCpYGBjSWn0BRI-1dm5ltzcT-Wnu8fQJL"; e_fb_vipaddr="AcISJvMF_eKXKsd3suoy06w3msAM1jyj7cKuwUO2oewSegSzEib0Oj-csVYCLuRywRGQU-A7CTt7s5n3HGnnF6T0S9OKD9jArA"; e_fb_requesthandler="AcJXikyTYd3cjJZ92mY72Yr7H7JXf-KcDNi1V64j3JC28N_B4RhyVUyoaTkC15dP2Rfw7G9Coro"; e_fb_builduser="AcK40aw0hQz8rDKbNvCvQcmw6pT3uB7YjQzOn4rm38irhgceju_zD42HEIroWuGYV1U"; e_fb_binaryversion="AcKPKQT_wvwztHMouni_c0PQc5xSZlGOlXa8IWBGTLr8ILWiUABLZOkl8XHtUSzJtk7TWwMArMU1siqK2ckZIlqKhn07qAtdOE0"; e_proxy="AcIWEqwcGG9hivFAEcrRINJEAeiGGsTB6Am6dkeZ86JV5aO7FGy3kWK-ChFPb59YOSDBwxkodtR1ra8m4ekt", http_request_error; e_clientaddr="AcJVpMLgxLlwBhWGONL0I3_TBmMXXDzCL3gh1JP4jz8CA5qwlVWlytSl8aaVMS5an5SggIZmeDvsV4IujA"; e_fb_vipport="AcLTKUQ3W_lHxA4Hm776_hTTHKmbLP5HaEqcFdKzy5rm8riiZK9uLEYe_TkI"; e_upip="AcIrIUc8v0Z3fqCyvebNGKqLE8y-55kRGWG2TKCYoxEXPuy_OechAIR-Q26o12yDVuN1thQHl7ORm2l5WELGjkOCzrlOy5wBoA"; e_fb_hostheader="AcKxJW4KN9E6t-ZUdWuICDyhHgTXlG58KrXcUU7ULEocWnVjryOrvY4c6djWYM12j1bJ97RqYcswiAWc"; e_fb_vipaddr="AcKULr_VBaZP_lq-YC0EUdcn-3FlUgv4N5BwtgRO0ROjaRFXh99Zm5vcDIDeh5Vii9_duNNMBw"; e_fb_requesthandler="AcKFlQnUwa4JZtDlrOO2FDPNJjL5bMK5J4ecBYX08FOXlPbEWl11sFByE6iInLKTSs8-MkoppeM"; e_fb_builduser="AcIMjJ9On_e9IzVhKE43DEMCYXOE6j0S7VlewZMQi9cr_vBP7tYm72mjZ_2xEdrYA44"; e_fb_binaryversion="AcJ-YieAKoZaaTu7bB4P-lq2pV27f2OssSOGz08Sk2MjgCidJeqM90wSopBtZjuJI4DVEN8GJgDssRdKPjVMrFrqOqGMXrgD7Lw"; e_proxy="AcIeGFYWDz5rtnRAib87a-pXp33Y5zNTLITkrqLf86HZwAOpa5TB1FNlKvYo5MmPdqXWeIwsNsG9Jbtl"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:22:20: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3174322315, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AB5dXs8lF8DLs5qtTIS0vR5', 'x-fb-trace-id': 'CvVVQUHMTTw', 'x-fb-rev': '1011072832', 'x-fb-debug': 'AIb5ODJJYYe5iiY2V+6eroXJgg0E4I10llDRvrKxUofkbqjNIv1pWynAq0RF6+unSvHYyeWycSe1BVSgXB/ZUg==', date: 'Mon, 29 Jan 2024 00:22:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJITLS5WWdWOPkd2Howe2az5Nlsr7wSsUVHGM5orfVU3mBjTiXVVGoWkFtQ7CAkazzT7pnPrRNY-98hk43vly-T99biNq__r40Itr5v6FPY"; e_fb_vipport="AcJi2h32rAcWoU2yhVVeUeFct584XK7VKuM5PEdsPgELwd84QvO_AIg69Phi"; e_upip="AcJVLG3qSUWExI6GQL3npL7FxsnHN_1nW6BaSGqDAb4zcAISD0_zdKj4vw56ICZjRIGXxKic4-tSR4b8z6eyneJD6NHKz_WfMg"; e_fb_hostheader="AcLT4T0V304GZS9Ohi05XXqcxfQYmcrhXPo0SCM9xJ3eebbQqcjETPrO_EhAmMeXSYh9WVZIaM1-7ovu"; e_fb_vipaddr="AcJbSVKpJiH-1-00f-gYMAdlKNy3LDfQKhWkulVV864brk-OC5wt-GHeHRm_d4YH-e_fsn89yohmHAIyqr3U_oIF_oDxZgdW0w"; e_fb_requesthandler="AcJigZ0UpbiOVJDxJxk3OFhn0lyEPqdLlP1UiZm_6ZobdKPoNz1sUYdTsDQKo2B6n4UsxDP5mkc"; e_fb_builduser="AcK-b-LuoGCMiavX9vfbCiEJbD70JJeg9vOzTOShF24Vy4sQWM12NfpmDOJswt82eGo"; e_fb_binaryversion="AcJ_kaUxjZ9YtMOxWerV32Jpri4o8Wbs8J-LogWrTXYhGHKfjaMu6KquXSfQEd2fq3iy-JSwcVefCGU5r1kaRcqqnjkP9TsDNrc"; e_proxy="AcJeCRqMcN0VNf3OmsyXzI4dCXUIc1XVEX1cvU0JJUm-sejWytHw0eoslr509_OCiggUiKzM008pRzlZVTx_", http_request_error; e_clientaddr="AcKQJQAmdVoU9pj60cSZ0QBvTxtDM8f3SscKqgGzJhGnsnwG0fZuD7FoZhSxVyi6XeOWHqpS43Kf1UMlwg"; e_fb_vipport="AcJozrn5A8q2xlOc1PUw9_D0UuGZC8ykgvOTWOE_mO2dofnc7BZDXQjyQ9el"; e_upip="AcIi_0mFhHW5BY9FhUVRrzvZlU2m7yovOFB8pzl5ZpfUmJC1YQOHUOVqKOj_TdoGQkKNOnlA97-M3qQ-WlKCmg-iI_W-jJpW8Q"; e_fb_hostheader="AcLf2hUBlqZSEXDCSzy9xxigTTO0fEYaEbew4yQjdMIJ1delunpC8sUQOo2SumuDeHaoOLSKCPy18d-X"; e_fb_vipaddr="AcJ0iez7E-Jcsj9E1ZuLCYNHVXBrLVLSzm83osk333_QM1SHhpoNT3qc8VG-Kra1t9AcVEFk4g"; e_fb_requesthandler="AcJneezNA-rsdJJVKgMFow8oKZ8i35ki3UWrI7hFu2g28Qa_nyIGfcBhXmy0I9IyMR_uJhMN4zA"; e_fb_builduser="AcIH09K07rodUGLdNUTmpnvZKx3SksJZg0qVO07JNkCtTERrdjf8fkeYRr0hVfGqR1M"; e_fb_binaryversion="AcLij0tKLyY6dPwJQpi7TRUrLnSyPsARfMSdFZdwbAref4V0UVhzCDXL7gBhz2pSAmEjTaflHK4jlL25kSy6PVakOquPVFs_37k"; e_proxy="AcIRTOerUhs0eMVWDFtOgisWLtkuLVjILPAw9qTqBj_SuiXX4IiuokP7bAql86jQAEWa5HQSGcTVKfiv"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6960472770732188?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:22:20: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 00:22:20: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 00:22:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:22:21: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AMiLzzFPEoznIXzb5eMDxq2" } } 01/29/2024 00:22:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3174322440, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMQnbP4AZVhL6Wu4o3Nxqeo', 'x-fb-trace-id': 'B9NFQEGSsZh', 'x-fb-rev': '1011072832', 'x-fb-debug': '4rDDriyPVIvN5I0kTGBM1p2GxZKaVpkRZ5iyFkDrx/KFjh0gLAny4H6MiiUXOmrVFAfUkI5TOANOLhWZkGvRMA==', date: 'Mon, 29 Jan 2024 00:22:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLxA1aRaqdk3v3NySv8mJ2Y0WY3pATbx4g_DnHq3PkU03jxM-0y6aW1SHb_P4cW6XhherPCLxG4S5S_AD0LXLNGRTv-gy6n9FzaY4W_XmBQ"; e_fb_vipport="AcJbrGC6Sa-XsfbDZzHeJDFjzb6MH3Bz4dJ0S3yy1_BKv-pvDA1FQaaRxZJm"; e_upip="AcIjpyde5Dl4NO267ctTPdCSrAvvxhE9h_HAAmBA-wcQlMY4haxIHBZl1rxBZTol4ph7pqbLaOK0Ay8q07Z0YfISrG9hfWe5xwo"; e_fb_hostheader="AcILuOkwOPBL7mYo9nTX6mfaB0irH4TRPQLzHePnc3EywOZYImgH2c0UynxdRlhsI5qH_f2a8HHuXq3l"; e_fb_vipaddr="AcKPf17xCguAoCE8NOWROsyxYCjulYY08VUO4-xoqE2ok3WRcTPBGl_zasLwP97fhTu8jGm83bCkg1nbz1EnzFDVsYngWO1PCw"; e_fb_requesthandler="AcLFWSKr7kkx7cmm5LHtFDe_hgpnToH2Z9b0tIL9L08oBiPym1xUGl69DemlevMNK4aHycg3u-8"; e_fb_builduser="AcJicCRWRWTpyiN8CJP3Z6SSjF-7FjnmgcEMfGBt49tGtqK8V7xY830es8DovZ9gx8A"; e_fb_binaryversion="AcJwuSQManO2V-H8QdcQvXHSozlT4xQXw-iylZd6aL6vldrVM94v01hKyNjh3lhSJNkl8hnQG5o1pZxUUbeFgORw3wNsF_mtBQc"; e_proxy="AcIIvHZXecWiYOVWleheOfm5K-7D0xR3a7lvsiy8e7gYfnmomaUNyMe2NSuqTOR-Xmd3CwgK7q_rSFx1z3ZL", http_request_error; e_clientaddr="AcJNsbHKARVtNGLUMSK4Ce-aEAnampaCVsbdhGHavJ-bNGxhx_u8-MomCc41oBDj0YK2yWkIFj2PQbrKMw"; e_fb_vipport="AcLWKMbEaNoXXmSOuk6d-Kt9LoYS-MIXE5qCh7OuUTZrfBehmKv0LURaIwYg"; e_upip="AcIZpf3ucFundLI2mwR1ZHELhmhg_QfHcJzeCOvIHixHfvdyfHH9QcF_dh4vayGMtmFRHHM2CC93Ph3IEvtHSnZ1fJWyyaUqhg"; e_fb_hostheader="AcIHMT3ulrsmnuz3Vu1_Reu5thbNvWuuy0SjMH3pMliQs5jo_GnrAEGNal1gFFhEoz95jnbA-bQ5U22e"; e_fb_vipaddr="AcJ6BdV6WyEKzPXpJx6zyeksm1KJOCROY5jLq5vpXKF8fvtyf3nN2aCxJT1SiqXoZtI2rh1VWQ"; e_fb_requesthandler="AcINb7TThWzPjsP89Vu1JE5xUk-NVQQZEC8Apfe0eXb7TtLfpM2f9QZfHpcbdMoxhREdElGNdII"; e_fb_builduser="AcJg6aHtMqbUw4HrJmYerlh25ZgHvYxSp4WwCe_OLpDLCVxU9R1iLwH3bXpfP62keB8"; e_fb_binaryversion="AcLN2rCyULHXVrA8npeuxaJ7KmZkwQWSpHnPWGrcVt4hkiM-AhyLd3LQ-HtuDwtcZc3v61SuxcELqByP97G-KWgRTp7atvGWTbY"; e_proxy="AcIIRi8GegATk6TzYx-mcmKW_rxS7nbmaNp776hv5y-4i-jWYpYEKpOAmnbxUoUlTD9WT3cJL5xkSGE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:22:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/29/2024 00:22:21: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Atgi0Z0TVrtr5kSwAG0vaBu" } } 01/29/2024 00:22:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3174322512, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKq7yT5zBRT6c3KEzTZPJv7', 'x-fb-trace-id': 'DT049uIP49j', 'x-fb-rev': '1011072832', 'x-fb-debug': 'zGokUKCc6bpGnGH1WTTl6TtyO6qqOJK9rO//2rqZ027QFZfFE7byn9DFrBsdPBL2kKkoa47nn52+4x+cuNejUw==', date: 'Mon, 29 Jan 2024 00:22:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJXR52nj9bhHMbHSvi0eQFZKNHNujoHmF5UlSV5MmUFQmw8-57ylXSKB9MTVDM5JGBhV_oUtPQQUkl59vrWzLTKU2Vc4M6RdCBiq1ZqZKSVrw"; e_fb_vipport="AcJnJU56ZwZ2uRmnxVBkRfZ13WyZvVVgAz8jBYUflGgss2rERmb3CFGGbULO"; e_upip="AcI-2EWhF9XBXqj4_gRPGfmw0VfMocQ-E6QIfGybrC6-i32nywEh4mxc3xpQ0aowxBesBEgfZrIBQMSb_6ubRfX1OGeHt7_0XsU"; e_fb_hostheader="AcILtR1ajyAC3OhBxeZLTvyhGm-SBtt_GJJSmMeW7LdzZcqQJ8MulSd43luJjZ-6xdq_Z4nPt6Zeehhx"; e_fb_vipaddr="AcKBlsRyZ7iuJb8ac51ptygtdHdzM3ue2l8I5NhITAY4Gbp3ekXiyYRDxhcfuq46LYajPVIR6mk_j_amOV8YoC4wP9DbO2hhoA"; e_fb_requesthandler="AcJQmNiwapy2f6ejIbFBWQx8khPl3JdfPyikSk1ynrKNfvV0XsEDNcrBic-Mswx3gCdDVRM2OGo"; e_fb_builduser="AcIApyPvb4IUIen7PLv0uj04iOQOcvC_9NHB6zTLDyIL_2TiI37pqTVLPibxcRFgIB8"; e_fb_binaryversion="AcL8F0Hu-pDqvKE6VLmFUGBmHrxj79CnYb10Dy-Obxg-KO35Q8pKE64nX7YerWnSV8MbNSwed082RgZmmwgVzfsRlnMOBJxniMM"; e_proxy="AcJCFiW0nNEDy8sXmKWuyczm8nvYpPay6iHSCovNvpfDwyOtH3NgDIDmtmKfOlEXFUMjdy_VWyWRExk-bqcm", http_request_error; e_clientaddr="AcIBj4GroppaWTa6e9Xxr1K1-3bSKPNVy9Nhi5JbgPdOkuxMkCpWzku5t1uPIx1gVLEbpD6uLOjX5z7Bnw"; e_fb_vipport="AcI3oKEg6_lVL8FYSkAsdvry27o5_GpYcVVhwseye440r-YTruoSwpjWSTp2"; e_upip="AcIbzhcVPuhAmwzDCA6FKN1DPcazG1-8vIY_wesUL0QfSiCx09UAyb-Urv8DsqxU1IOA4dwKp5Qqt3GfNpdR-8ozaQKSzFIPjw"; e_fb_hostheader="AcKRvpzDMsBjXJFUPNbekZA6HCti4CHrQeep_uEQfjs3rSUandQmvSLy7wtSXN467JYdgIu_CIYx0K9I"; e_fb_vipaddr="AcLl4A3TcEpY93B0EVGFRWw4DSGgQqGRAF3WD6GZpguD5mZEOJyaCTom85rb1uvLMuU07BNNjA"; e_fb_requesthandler="AcJrvi8b2FMgFroIfdMmOSgoHgoY5FzJwfNIK27eNa-KpQeYT1LuY0lej2_rNPSYbP-y7-QdpII"; e_fb_builduser="AcLfSjSIcLGMwhX7M5b48wIXib-OGMzbZFkS_N_GosI7Pg0s3H3neaBksu8yH5_Gi6A"; e_fb_binaryversion="AcKXpGuwAAZDRpeIh8NiZVDLTAdAHN0K-KGc7piNZyvVj3KHB9TSwRNFp4rlZB3Sm2VhTrYH5KmxDagYMPkLNjckRbsiNif5IJ8"; e_proxy="AcJQgsQKb5w5M1gJ-Y-LAnBF4f8teTpbClroTK7mpxHbjCYGkM_QMqfnNlpGkUHW_mw7O4rUQUrhibA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:22:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:22:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3174322626, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6E55zvsImRwTVkzSHEeSLr', 'x-fb-trace-id': 'AoNL07sAWpR', 'x-fb-rev': '1011072832', 'x-fb-debug': '3NCc/QAD531j/aqQn07f3Yf2eEagiROzZltuKCm6WSbOpLOdbOeK3kywi+tbHtSmPNBrIWienstas8WgUiSCEA==', date: 'Mon, 29 Jan 2024 00:22:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKwLgQc4NpqTOlfrdXPg3Porw2XHBs7KTSJf2IB92ZeQCbBsHtprlBvWGbQpzOxUWxRLp5zfniFT-2aGMBK_uKBf44ksBrsQsAKvwYqIEFsG7fm"; e_fb_vipport="AcKayboY6WnNXPa6w0JXcwwx0eHGEINxuTY3sOD9uIWj8Un5mK2gHgVvjeu6"; e_upip="AcKxnwQFiGxiEsBP2Ti7YFyokDTWPtZSERWwQbr7BoMYlhgSBTjGQ2ac0r91mJyqZjXLEAvjCOzISBtQ2ZY2YD7a80BMQMhRfw"; e_fb_hostheader="AcLCBMshrpsXXDbmqw00nIJ651B1fVbGteTJCR5NHyKV9U2lYYOYUIlM-RW9oCU8fzZn-r37jdPKn-R4"; e_fb_vipaddr="AcLTAxhRf8MOsgJmS9TtJ-g8Qm0--5-_tJv9c1rLldh8DnXAsH-yh_x23a_LN4ESV7qKrOcIK59t8LBO1O7N1OON54MtrKMFWg"; e_fb_requesthandler="AcIZfxKdlLajGLoM48Wwcq_2Qs6cseKq702LjYyYEjldhQt674R4TtVgVhuSuAE9s5kV9EQOBMA"; e_fb_builduser="AcLXo5N_XED4Y6Ycsf_MdDjWc7A3QamgLepyTbdOPcfniAIGc6pFGCj7Il4wXLTJUdI"; e_fb_binaryversion="AcIL6w_Vg9rHtVpPht9SeGmgw_RGcgOPGA7FNhjFMzwzNXv9fPIk8MbsxSUIR4aqzgZDT_V14eZGJWgjvxMca_sb-ZyYOk9ESlo"; e_proxy="AcL8W1GHp0pnRmAbZJG26jMZnQmZtGRfC41Qaeb0kRVvf30FT-TitXHUT-wY-Qy4312ms7BDYSPq8H1YwyCX", http_request_error; e_clientaddr="AcKH0VuuAY1g0mCYwoRR2NGJxGzBJ3DmizQzQnGY7J3lLUQ1InaXQfLKYOTf9TGW9ZkAqGTH27KW9_yvew"; e_fb_vipport="AcKRwHhToDJFQWxFEiXMiM2h-UQ_7DZH1HaBc8Wr4LxGIZEldhnd9ukFn5dW"; e_upip="AcLkBWCAD9hnaO6GSAVzgs32u_4wBaWK_brXZtamDb1Yl-DaLMxCaSTcbX4ApTjsUatbPdIDGYHDlHmG4L_lICvr1l_NqguIZw"; e_fb_hostheader="AcKplDd9nocNCtR4--4nceWW3_kR9i5wzfiiRYfuw8FTqZsRqltxi4Z2H4xRHcG71MJPXdud3781ZJ0K"; e_fb_vipaddr="AcLOucTAH2mQ6YeSJN5Oiyvd_hKkNdM9RobsSIIhd4M3y2zy6oLJU9Wu0FQcvxFQkKTgwZ4jDQ"; e_fb_requesthandler="AcIU8wyrlE2pfgGhlXbvgUnuBMqFyqjyU6GDok2hXoFdejm-Kl1LgJzfR4I2vw6xbTVyS3lmugE"; e_fb_builduser="AcIfWvTt4-VSOiApL6Jn42Ui-GU2rED-WRIrX3DZ86gm20AuQhqDVdUparQ-9xPEuzU"; e_fb_binaryversion="AcL9juFev5GzZROsRtLeJeC86I1KpWzFLEyCFDLq5-udnzCqCAA0Ov8e4iFFi74dBVqxflh_1UycwKgK991H8HLLNZtbgVHfsHQ"; e_proxy="AcLsL-fCuZMCoAJgGagrSaNMMQDc-9Zzce5-rmQEglRCQItIhcmvq4IsIyLpLG_vNAx-0ujuNei5gHY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:23:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:23:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3175986824, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A97NusvJYxsP-oG0-vKsUEq', 'x-fb-trace-id': 'E+kCzU2zGKn', 'x-fb-rev': '1011072832', 'x-fb-debug': 'Skg0CS8kYu/V2TTQu6gY9bNclloXFQ35jkTMFuymtqj9wC4VSeqVYBXtuQsOl/Rdh50mjoXyrNwad509AyqzwA==', date: 'Mon, 29 Jan 2024 00:23:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKCF4spmg9aA3PJzyt6Ffz6JRAp-QX0QrbZaWQTt7Jzj70IsDOqQXnqaAInwYT7P4hbbsDoZBJTl99GrboQ60OzpOsjiZsyJbwdVfIfOH_FWZBX9Q"; e_fb_vipport="AcJ_Km51U8yP4rKv4VLFPatG49ZA-cTInUIFlNEmzJ7iYAHUv28cRNfDuweL"; e_upip="AcLoVnqtfCndSaP3BO51mwNlVFnCMrob7Kt6m0jlIOdj8XK07lXWcO69M6UwSsNeCSJlfN_q4GnCzE0NZQPeB4RbujS-tk7gMg"; e_fb_hostheader="AcJPpNy3eX6C72Y3ENL4Y1purhm0GMqZX7oArSYdaI9Yajxl08bUHgMX7UMcKlNF9uJFmQxQdvdOA6rK"; e_fb_vipaddr="AcI5e5UL34zSubiQMLLpFGHffyW9VBcuNFeUS8iZJ6WCDMS-wj0V1RLD84bsHZT2ULFwzbMj3KditTiTC_uNoC-h9BpFCgD3zQ"; e_fb_requesthandler="AcJFw2CdcnqKQ2WGmD9tKyruLnSnLdDOj-RcRluT7PTZ_UnxGl8oovMyeziJnrk1FC42YoQ2ubY"; e_fb_builduser="AcLarYin_XEt4UMNi-ZKS_1VnQodzTJSxE28zDL5-EUEczAvCml76RI9Z921tOL8Fgo"; e_fb_binaryversion="AcIZOanU1NX_F9PBt2hEIWLYiRnJ_VS1ov3OBJR1GlgrMlDNDv-MzU8aB_Jsf3YaNNoCjZ6vRroZSelU29QV2PTeM2ah4Jv-COI"; e_proxy="AcIZ-8Rqu0JVn4Mey639QcxsLl85_EwQPu6ltkRruBdkBK6s3xD2bR6i4ldgVL9iAoGjFY8RgJj4xAe7eBU", http_request_error; e_clientaddr="AcLy2jwE1JClC9RsU9hfwRI6i_lyFBp7aRymq4UpfNwWUfbISmKFq-hGDwB69S45nkhxCZhvZH-CIe2trQ"; e_fb_vipport="AcI_EHLRwJL1U9YG7W_dDLBUPNipucucZHkm8-uFcAHfkTdAoX0S7avRkLd_"; e_upip="AcIPG8AJcEKKCt_AkYmvg3tpoEMg6-LBEERoAg0KVlbrLBzN8K4JouMTtyWMZad4TGeV6fzzyeSSQhib7pcZJiz2ibFU9tMftw"; e_fb_hostheader="AcIizGrMK6jukBElHT5irCwPAg6WdsLa-JqV6UmP62nyHG3voNIkDsCDqScc8XXEhazMbMjYT5fuRHCt"; e_fb_vipaddr="AcLM5kW77DK9w9lP5PXwGalUt9yht9mVM9O9EtKfs4-2NjueRaag9NVBZsgJsETj7KvSLNY"; e_fb_requesthandler="AcLgdSQ1hWcf7kiH84_TJ7kXEjz4TTJDj_a1cHDmEOK7CskhNHAwwNO3q9bVp00uuVxgmQqygIY"; e_fb_builduser="AcJ37o7dNF-CkXrFvEQpWkceOv0Ur9IQIqtvb99UOzYZDFWll_rdzS2oj4_H66A3g-c"; e_fb_binaryversion="AcKVc_DwuoDip96_ef2yW4dfl2a5lgxkHOAxYZmVRA202onE0ij4ESIhXbo1_X-JwNZcvlQOKmozHrk5ON26qjv9xCjLGHDYC-o"; e_proxy="AcKf5eq6hnixaBwyC9bC1w_jikjb9jMo43DquhKwTbrB0VGE5M8fCk5FIsMWIn3ZFYD1u7LFeU9fwXM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:23:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:23:36: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AyUQtos4G8nFdHrsPParB30" } } 01/29/2024 00:23:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:23:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3176097882, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbBydBFVRxTjAvhFBjrOPu3', 'x-fb-trace-id': 'HswBRRXuTWy', 'x-fb-rev': '1011072832', 'x-fb-debug': '8wM5BHljFxx+NS7tgTj0TXeqedU5H5yz5B2J81cFU2/o5wlt2Tk0fHLi1PQGAhOQYZ009EZqR9zQoZgcOZj9hw==', date: 'Mon, 29 Jan 2024 00:23:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKF1B3auOogho5BpYjHjJtWrgDdd4kCEIar3M_a6t2LVWjsbD0NN_Y51888X5pGhgND6R23TCae58n_pp-KFykjJdfSbMX2YZADnzCsivNwoaz8eg"; e_fb_vipport="AcIDTxJosrfsQehQcOFXcqzVp2FD3BBqY0YCNyGH6SQdSe-MdhEbEAcMxms1"; e_upip="AcLQUQMb-aqgjIjNnhTMwTe-_Ey4PQaHHz75Tz3d_FrgkQg-mhbenzUEU36kw3YqvZR9Qm_psc6cWiHkdrPzDbIq-40fCeAL3Z8"; e_fb_hostheader="AcLU5EbiLDmbIzuPm3tL0MpHj1GyCMrgm23NbYPQVvXWJ3jwzsp3vvteafi2Lu-fkZenZKFkGb1GBcWl"; e_fb_vipaddr="AcLQSMKj6ozgjxaNV_qxzR2_Y1viXBxajXLQQognK57mvLDHD-vQzjFfQzQg6F_r6wrDm1T7KFpTtI_2XywHTLfgMw6jIly89A"; e_fb_requesthandler="AcJTaudKUK_KlUpVBpbW_PWTuee0YbwlXGOq88YtVFC2Pb-7tSS95DsCXRB2KE5SBudIX2W8nY8"; e_fb_builduser="AcK4wd3hB1u7UJbqjpvjRFFlHhoCqoo7v3x2rySPBNkEFk8Y9suX9_lf8vQFQE_uh4c"; e_fb_binaryversion="AcIF2p9Ut5KY_aZpw9vQ5uho2gZgPp2SaadU2yeJ1BXW09WueAYUKvF0R0Negs9z8xQjrqw3vRFF4Vc9VLX5RCfVIbXnbm7LqpU"; e_proxy="AcI6e7XB1LSKYx7Y4FKXIiAN2-oN5y0FYjnS9h72hAKbkEZhEGuk0uCf0aA_L0Ql9gDChRn5NDKLpWY4vYHw", http_request_error; e_clientaddr="AcIwn6XG7GQhZu5ehJo1grhRb0noKFjjM5Xvu51_qjdVdL4EXl59oHX8FoCmmAbWwubYfMosk3s4xMhWog"; e_fb_vipport="AcK9wRrEdFdohtJ5yByoaZVYNe_mU2ypuE3TcwjjPaBpNY0pDB8ErNiHqsl-"; e_upip="AcKOmr0QFhKIRB3FXmZqpXiYXpZ0wbo0DbgcewLYt9US_HND0Y9hBH3HBlXPuXpbR5OAPLrpDKVQcC7PjSOsGXnpgdT1Agq_Yg"; e_fb_hostheader="AcIy8Z6wDWJkVvt4DEtI85tFmwrXLmocZLWb_Z2z5WH268clmpV_-hrP1Q5pXX8iBCQG-PJGEUJsrq_b"; e_fb_vipaddr="AcLRCNGEmS1wPDUrat_GhzSeZ5uzjQpmpyAot00L5obliSNQAHFkkMQruHdUFSDIug5sZ9o"; e_fb_requesthandler="AcJ2XcwlFSHCM-8W4gUkfa9i01jtX3O5F0n6mx-34rrO1Fqu-66qvqozJrXncSxXGQXePL2Azn4"; e_fb_builduser="AcKhAC0t7F-27ihVHzNPE3pWkD1P_1EjFmMI29LRJzZlis-sor6Cmfl4XUkWj71idMY"; e_fb_binaryversion="AcKFJcOxcFWY_LZmRULLLRauD-tGbUcO9yj3qms4k9wgqqJzpSitzR-6fxC5JOp4l_tSqh8eiek9xREMtPG9XFKljjnlGEuG-F0"; e_proxy="AcJNWTwvz2JLfnWql1Deu8fTiv-U8eL5ungbv91ZXFcW1TTY65bIU8A2fgh9zHJ2KmY1vfcoV_xIyb0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6960472770732188"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 00:23:37: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ai4JJI_0Ge4Yru-tNk_n0nT" } } 01/29/2024 00:23:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:23:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:23:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:34:22: Error switching inputType 01/29/2024 00:49:32: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ANPeo_8GajTeHZgIVAGfl3q" } } 01/29/2024 00:49:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:49:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:49:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:50:08: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AIztdEYnWOYoBheJCQSz1z1" } } 01/29/2024 00:50:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:50:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:50:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:50:45: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AhLmJrO1qOkwOU3zwvTARDa" } } 01/29/2024 00:50:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at runNextTicks (node:internal/process/task_queues:65:3) at processImmediate (node:internal/timers:437:9) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:50:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:50:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:50:57: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AaABENKDtaLjpk2YHIO1TEE" } } 01/29/2024 00:50:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:50:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:50:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:51:22: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AW6SnNSR-DvPqTdoH9LzRLc" } } 01/29/2024 00:51:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:51:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 00:51:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 00:52:46: Request bot not found: { id: '133788230054854' } 01/29/2024 00:52:47: Request bot not found: { id: '133788230054854' } 01/29/2024 00:52:47: Request bot not found: { id: '133788230054854' } 01/29/2024 00:52:48: Request bot not found: { id: '133788230054854' } 01/29/2024 00:52:50: Request bot not found: { id: '133788230054854' } 01/29/2024 00:52:53: Request bot not found: { id: '133788230054854' } 01/29/2024 00:53:10: Request bot not found: { id: '133788230054854' } 01/29/2024 00:54:26: Request bot not found: { id: '133788230054854' } 01/29/2024 00:55:37: Request bot not found: { id: '133788230054854' } 01/29/2024 00:56:49: Request bot not found: { id: '133788230054854' } 01/29/2024 00:58:11: Request bot not found: { id: '133788230054854' } 01/29/2024 00:59:35: Request bot not found: { id: '133788230054854' } 01/29/2024 01:00:58: Request bot not found: { id: '133788230054854' } 01/29/2024 01:02:16: Request bot not found: { id: '133788230054854' } 01/29/2024 01:03:36: Request bot not found: { id: '133788230054854' } 01/29/2024 01:05:01: Request bot not found: { id: '133788230054854' } 01/29/2024 01:06:19: Request bot not found: { id: '133788230054854' } 01/29/2024 01:07:44: Request bot not found: { id: '133788230054854' } 01/29/2024 01:09:08: Request bot not found: { id: '133788230054854' } 01/29/2024 01:10:24: Request bot not found: { id: '133788230054854' } 01/29/2024 01:11:45: Request bot not found: { id: '133788230054854' } 01/29/2024 01:13:06: Request bot not found: { id: '133788230054854' } 01/29/2024 01:14:20: Request bot not found: { id: '133788230054854' } 01/29/2024 01:15:43: Request bot not found: { id: '133788230054854' } 01/29/2024 01:17:09: Request bot not found: { id: '133788230054854' } 01/29/2024 01:18:29: Request bot not found: { id: '133788230054854' } 01/29/2024 01:19:44: Request bot not found: { id: '133788230054854' } 01/29/2024 01:21:08: Request bot not found: { id: '133788230054854' } 01/29/2024 01:22:23: Request bot not found: { id: '133788230054854' } 01/29/2024 01:23:40: Request bot not found: { id: '133788230054854' } 01/29/2024 01:24:52: Request bot not found: { id: '133788230054854' } 01/29/2024 09:17:06: Request bot not found: { id: '405232736174480' } 01/29/2024 09:17:07: Request bot not found: { id: '405232736174480' } 01/29/2024 09:17:08: Request bot not found: { id: '405232736174480' } 01/29/2024 09:17:09: Request bot not found: { id: '405232736174480' } 01/29/2024 09:17:11: Request bot not found: { id: '405232736174480' } 01/29/2024 09:17:16: Request bot not found: { id: '405232736174480' } 01/29/2024 09:17:34: Request bot not found: { id: '405232736174480' } 01/29/2024 09:18:51: Request bot not found: { id: '405232736174480' } 01/29/2024 09:20:16: Request bot not found: { id: '405232736174480' } 01/29/2024 09:21:40: Request bot not found: { id: '405232736174480' } 01/29/2024 09:22:57: Request bot not found: { id: '405232736174480' } 01/29/2024 09:24:23: Request bot not found: { id: '405232736174480' } 01/29/2024 09:25:38: Request bot not found: { id: '405232736174480' } 01/29/2024 09:26:52: Request bot not found: { id: '405232736174480' } 01/29/2024 09:28:10: Request bot not found: { id: '405232736174480' } 01/29/2024 09:29:08: Request bot not found: { id: '309160166334279' } 01/29/2024 09:29:08: Request bot not found: { id: '309160166334279' } 01/29/2024 09:29:09: Request bot not found: { id: '309160166334279' } 01/29/2024 09:29:10: Request bot not found: { id: '309160166334279' } 01/29/2024 09:29:12: Request bot not found: { id: '309160166334279' } 01/29/2024 09:29:16: Request bot not found: { id: '309160166334279' } 01/29/2024 09:29:32: Request bot not found: { id: '309160166334279' } 01/29/2024 09:29:35: Request bot not found: { id: '405232736174480' } 01/29/2024 09:30:51: Request bot not found: { id: '405232736174480' } 01/29/2024 09:30:57: Request bot not found: { id: '309160166334279' } 01/29/2024 09:32:02: Request bot not found: { id: '405232736174480' } 01/29/2024 09:32:16: Request bot not found: { id: '309160166334279' } 01/29/2024 09:33:26: Request bot not found: { id: '405232736174480' } 01/29/2024 09:33:34: Request bot not found: { id: '309160166334279' } 01/29/2024 09:34:48: Request bot not found: { id: '405232736174480' } 01/29/2024 09:34:49: Request bot not found: { id: '309160166334279' } 01/29/2024 09:36:12: Request bot not found: { id: '405232736174480' } 01/29/2024 09:36:15: Request bot not found: { id: '309160166334279' } 01/29/2024 09:37:33: Request bot not found: { id: '309160166334279' } 01/29/2024 09:37:35: Request bot not found: { id: '405232736174480' } 01/29/2024 09:38:50: Request bot not found: { id: '309160166334279' } 01/29/2024 09:38:57: Request bot not found: { id: '405232736174480' } 01/29/2024 09:40:10: Request bot not found: { id: '405232736174480' } 01/29/2024 09:40:11: Request bot not found: { id: '309160166334279' } 01/29/2024 09:41:23: Request bot not found: { id: '309160166334279' } 01/29/2024 09:41:35: Request bot not found: { id: '405232736174480' } 01/29/2024 09:42:40: Request bot not found: { id: '309160166334279' } 01/29/2024 09:42:47: Request bot not found: { id: '405232736174480' } 01/29/2024 09:43:56: Request bot not found: { id: '309160166334279' } 01/29/2024 09:44:06: Request bot not found: { id: '405232736174480' } 01/29/2024 09:45:22: Request bot not found: { id: '309160166334279' } 01/29/2024 09:45:25: Request bot not found: { id: '405232736174480' } 01/29/2024 09:46:41: Request bot not found: { id: '309160166334279' } 01/29/2024 09:46:46: Request bot not found: { id: '405232736174480' } 01/29/2024 09:47:56: Request bot not found: { id: '309160166334279' } 01/29/2024 09:48:08: Request bot not found: { id: '405232736174480' } 01/29/2024 09:49:08: Request bot not found: { id: '309160166334279' } 01/29/2024 09:49:20: Request bot not found: { id: '405232736174480' } 01/29/2024 09:49:21: Request bot not found: { id: '405232736174480' } 01/29/2024 09:49:22: Request bot not found: { id: '405232736174480' } 01/29/2024 09:49:23: Request bot not found: { id: '405232736174480' } 01/29/2024 09:49:24: Request bot not found: { id: '405232736174480' } 01/29/2024 09:49:26: Request bot not found: { id: '405232736174480' } 01/29/2024 09:49:30: Request bot not found: { id: '405232736174480' } 01/29/2024 09:49:47: Request bot not found: { id: '405232736174480' } 01/29/2024 09:50:30: Request bot not found: { id: '309160166334279' } 01/29/2024 09:51:11: Request bot not found: { id: '405232736174480' } 01/29/2024 09:51:46: Request bot not found: { id: '309160166334279' } 01/29/2024 09:52:37: Request bot not found: { id: '405232736174480' } 01/29/2024 09:53:10: Request bot not found: { id: '309160166334279' } 01/29/2024 09:53:56: Request bot not found: { id: '405232736174480' } 01/29/2024 09:54:27: Request bot not found: { id: '309160166334279' } 01/29/2024 09:55:07: Request bot not found: { id: '405232736174480' } 01/29/2024 09:55:45: Request bot not found: { id: '309160166334279' } 01/29/2024 09:56:22: Request bot not found: { id: '405232736174480' } 01/29/2024 09:57:10: Request bot not found: { id: '309160166334279' } 01/29/2024 09:57:35: Request bot not found: { id: '405232736174480' } 01/29/2024 09:58:27: Request bot not found: { id: '309160166334279' } 01/29/2024 09:59:02: Request bot not found: { id: '405232736174480' } 01/29/2024 09:59:50: Request bot not found: { id: '309160166334279' } 01/29/2024 10:00:15: Request bot not found: { id: '405232736174480' } 01/29/2024 10:01:12: Request bot not found: { id: '309160166334279' } 01/29/2024 10:01:36: Request bot not found: { id: '405232736174480' } 01/29/2024 10:02:57: Request bot not found: { id: '405232736174480' } 01/29/2024 10:04:19: Request bot not found: { id: '405232736174480' } 01/29/2024 10:05:40: Request bot not found: { id: '405232736174480' } 01/29/2024 10:07:02: Request bot not found: { id: '405232736174480' } 01/29/2024 10:08:16: Request bot not found: { id: '405232736174480' } 01/29/2024 10:09:41: Request bot not found: { id: '405232736174480' } 01/29/2024 10:11:04: Request bot not found: { id: '405232736174480' } 01/29/2024 10:12:16: Request bot not found: { id: '405232736174480' } 01/29/2024 10:13:38: Request bot not found: { id: '405232736174480' } 01/29/2024 10:14:55: Request bot not found: { id: '405232736174480' } 01/29/2024 10:16:09: Request bot not found: { id: '405232736174480' } 01/29/2024 10:17:26: Request bot not found: { id: '405232736174480' } 01/29/2024 10:18:42: Request bot not found: { id: '405232736174480' } 01/29/2024 10:19:56: Request bot not found: { id: '405232736174480' } 01/29/2024 10:21:08: Request bot not found: { id: '405232736174480' } 01/29/2024 10:21:09: Request bot not found: { id: '405232736174480' } 01/29/2024 10:21:09: Request bot not found: { id: '405232736174480' } 01/29/2024 10:21:10: Request bot not found: { id: '405232736174480' } 01/29/2024 10:21:11: Request bot not found: { id: '405232736174480' } 01/29/2024 10:21:13: Request bot not found: { id: '405232736174480' } 01/29/2024 10:21:16: Request bot not found: { id: '405232736174480' } 01/29/2024 10:21:31: Request bot not found: { id: '405232736174480' } 01/29/2024 10:22:58: Request bot not found: { id: '405232736174480' } 01/29/2024 10:24:22: Request bot not found: { id: '405232736174480' } 01/29/2024 10:25:48: Request bot not found: { id: '405232736174480' } 01/29/2024 10:27:01: Request bot not found: { id: '405232736174480' } 01/29/2024 10:28:13: Request bot not found: { id: '405232736174480' } 01/29/2024 10:29:27: Request bot not found: { id: '405232736174480' } 01/29/2024 10:30:44: Request bot not found: { id: '405232736174480' } 01/29/2024 10:32:10: Request bot not found: { id: '405232736174480' } 01/29/2024 10:33:26: Request bot not found: { id: '405232736174480' } 01/29/2024 10:34:39: Request bot not found: { id: '405232736174480' } 01/29/2024 10:36:05: Request bot not found: { id: '405232736174480' } 01/29/2024 10:37:17: Request bot not found: { id: '405232736174480' } 01/29/2024 10:38:40: Request bot not found: { id: '405232736174480' } 01/29/2024 10:40:07: Request bot not found: { id: '405232736174480' } 01/29/2024 10:41:30: Request bot not found: { id: '405232736174480' } 01/29/2024 10:42:42: Request bot not found: { id: '405232736174480' } 01/29/2024 10:44:01: Request bot not found: { id: '405232736174480' } 01/29/2024 10:45:26: Request bot not found: { id: '405232736174480' } 01/29/2024 10:46:46: Request bot not found: { id: '405232736174480' } 01/29/2024 10:48:05: Request bot not found: { id: '405232736174480' } 01/29/2024 10:49:21: Request bot not found: { id: '405232736174480' } 01/29/2024 10:50:40: Request bot not found: { id: '405232736174480' } 01/29/2024 10:51:56: Request bot not found: { id: '405232736174480' } 01/29/2024 10:53:08: Request bot not found: { id: '405232736174480' } 01/29/2024 10:53:09: Request bot not found: { id: '405232736174480' } 01/29/2024 10:53:10: Request bot not found: { id: '405232736174480' } 01/29/2024 10:53:11: Request bot not found: { id: '405232736174480' } 01/29/2024 10:53:12: Request bot not found: { id: '405232736174480' } 01/29/2024 10:53:14: Request bot not found: { id: '405232736174480' } 01/29/2024 10:53:18: Request bot not found: { id: '405232736174480' } 01/29/2024 10:53:34: Request bot not found: { id: '405232736174480' } 01/29/2024 10:54:45: Request bot not found: { id: '405232736174480' } 01/29/2024 10:55:56: Request bot not found: { id: '405232736174480' } 01/29/2024 10:57:20: Request bot not found: { id: '405232736174480' } 01/29/2024 10:58:46: Request bot not found: { id: '405232736174480' } 01/29/2024 11:00:09: Request bot not found: { id: '405232736174480' } 01/29/2024 11:01:21: Request bot not found: { id: '405232736174480' } 01/29/2024 11:02:41: Request bot not found: { id: '405232736174480' } 01/29/2024 11:04:03: Request bot not found: { id: '405232736174480' } 01/29/2024 11:05:23: Request bot not found: { id: '405232736174480' } 01/29/2024 11:06:35: Request bot not found: { id: '405232736174480' } 01/29/2024 11:07:49: Request bot not found: { id: '405232736174480' } 01/29/2024 11:09:02: Request bot not found: { id: '405232736174480' } 01/29/2024 11:10:25: Request bot not found: { id: '405232736174480' } 01/29/2024 11:11:43: Request bot not found: { id: '405232736174480' } 01/29/2024 11:13:02: Request bot not found: { id: '405232736174480' } 01/29/2024 11:14:24: Request bot not found: { id: '405232736174480' } 01/29/2024 11:15:43: Request bot not found: { id: '405232736174480' } 01/29/2024 11:17:06: Request bot not found: { id: '405232736174480' } 01/29/2024 11:18:18: Request bot not found: { id: '405232736174480' } 01/29/2024 11:19:44: Request bot not found: { id: '405232736174480' } 01/29/2024 11:21:04: Request bot not found: { id: '405232736174480' } 01/29/2024 11:22:27: Request bot not found: { id: '405232736174480' } 01/29/2024 11:23:40: Request bot not found: { id: '405232736174480' } 01/29/2024 11:25:07: Request bot not found: { id: '405232736174480' } 01/29/2024 11:25:07: Request bot not found: { id: '405232736174480' } 01/29/2024 11:25:08: Request bot not found: { id: '405232736174480' } 01/29/2024 11:25:09: Request bot not found: { id: '405232736174480' } 01/29/2024 11:25:10: Request bot not found: { id: '405232736174480' } 01/29/2024 11:25:12: Request bot not found: { id: '405232736174480' } 01/29/2024 11:25:16: Request bot not found: { id: '405232736174480' } 01/29/2024 11:25:31: Request bot not found: { id: '405232736174480' } 01/29/2024 11:26:45: Request bot not found: { id: '405232736174480' } 01/29/2024 11:27:59: Request bot not found: { id: '405232736174480' } 01/29/2024 11:29:11: Request bot not found: { id: '405232736174480' } 01/29/2024 11:30:30: Request bot not found: { id: '405232736174480' } 01/29/2024 11:31:47: Request bot not found: { id: '405232736174480' } 01/29/2024 11:33:08: Request bot not found: { id: '405232736174480' } 01/29/2024 11:34:23: Request bot not found: { id: '405232736174480' } 01/29/2024 11:35:47: Request bot not found: { id: '405232736174480' } 01/29/2024 11:37:02: Request bot not found: { id: '405232736174480' } 01/29/2024 11:38:14: Request bot not found: { id: '405232736174480' } 01/29/2024 11:39:34: Request bot not found: { id: '405232736174480' } 01/29/2024 11:40:49: Request bot not found: { id: '405232736174480' } 01/29/2024 11:42:02: Request bot not found: { id: '405232736174480' } 01/29/2024 11:43:29: Request bot not found: { id: '405232736174480' } 01/29/2024 11:44:52: Request bot not found: { id: '405232736174480' } 01/29/2024 11:46:17: Request bot not found: { id: '405232736174480' } 01/29/2024 11:47:32: Request bot not found: { id: '405232736174480' } 01/29/2024 11:48:55: Request bot not found: { id: '405232736174480' } 01/29/2024 11:50:14: Request bot not found: { id: '405232736174480' } 01/29/2024 11:51:37: Request bot not found: { id: '405232736174480' } 01/29/2024 11:53:02: Request bot not found: { id: '405232736174480' } 01/29/2024 11:54:19: Request bot not found: { id: '405232736174480' } 01/29/2024 11:55:38: Request bot not found: { id: '405232736174480' } 01/29/2024 11:57:06: Request bot not found: { id: '405232736174480' } 01/29/2024 11:57:07: Request bot not found: { id: '405232736174480' } 01/29/2024 11:57:07: Request bot not found: { id: '405232736174480' } 01/29/2024 11:57:08: Request bot not found: { id: '405232736174480' } 01/29/2024 11:57:09: Request bot not found: { id: '405232736174480' } 01/29/2024 11:57:11: Request bot not found: { id: '405232736174480' } 01/29/2024 11:57:15: Request bot not found: { id: '405232736174480' } 01/29/2024 11:57:31: Request bot not found: { id: '405232736174480' } 01/29/2024 11:58:46: Request bot not found: { id: '405232736174480' } 01/29/2024 12:00:11: Request bot not found: { id: '405232736174480' } 01/29/2024 12:01:23: Request bot not found: { id: '405232736174480' } 01/29/2024 12:02:37: Request bot not found: { id: '405232736174480' } 01/29/2024 12:03:57: Request bot not found: { id: '405232736174480' } 01/29/2024 12:05:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A8JKpinNdVa-LRgWUUE9LJf" } } 01/29/2024 12:05:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 12:05:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 12:05:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 12:05:24: Request bot not found: { id: '405232736174480' } 01/29/2024 12:06:45: Request bot not found: { id: '405232736174480' } 01/29/2024 12:06:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 12:06:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4220094436, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbE2NN-qHXsXBIBdZdJlKI-', 'x-fb-trace-id': 'HGGbBsVE9JK', 'x-fb-rev': '1011075036', 'x-fb-debug': 'T2CvIMylZt6VvL2bLwJ9bUKHb1Ia01zTtwoJWC+/dHUv6cOIRW87nExo0pDtOmMKiuezc5Gcz+olvXX4QzZwyA==', date: 'Mon, 29 Jan 2024 12:06:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLSkWYTX7XBQCqubd759HUP8qLoPU6FT81JdAxIHoJ8nE1e05SrPWkxfxZNG8636JmUbzsQUDzFCQt7G6QL8HpAwuGtetUCA6Y0vyBb-35Zpq2SKw"; e_fb_vipport="AcJuB_OTYgAO_Rana-1DlvjXOCvrkKU7A446GlbLI0ILcLbA0PhDMCVJsA1W"; e_upip="AcKKqzD_m0rXklrKDY2McCUV8qvO3emnp3KxRwxXvExMR_t8Z-ai37Z8j4tBbaNyY579Go-OICI8KiyrYAGANq8nLN7AVKvs2EI"; e_fb_hostheader="AcJzb_Wk_eEozVwr8ZCz91a_s1ibAtRh07rhq-csjXxPM2IYy1AXy09Lbq16jt_wYLZ7VAAC0JBUL3iH"; e_fb_vipaddr="AcLnbmspJPn-ih92Iurp544nMElyNoXPCEmDJFD4f6l6qDl6zQgVCA_qr8KkOf-CEOs0kSvXcJqcE8fP4gV0FgTxowwyc57ghw"; e_fb_requesthandler="AcKvfvXo0BsL3QqNZi1b_lWUrFUTvHiWgDCFAYL8JkfERd07pKHgUr9Cz1gbpdK5OvxdV9X8lXQ"; e_fb_builduser="AcKX0v0LoYrm4sY_0quMRLONU4XOWMk3Zj3z-9ljy0aizOu_PFh7lin1aHogTob75aw"; e_fb_binaryversion="AcLNcIr7Vn_Yknzgsq2y3O_5uSDPIGLCXKQyp1ZCeWXiHBm1qyL7HgTUaqE-q-din7WI2p66USU08ri9HBzU8jX0oVfqOX8QoA0"; e_proxy="AcL4NGQeF7RqPnNAQomlQfF57_3lNRCeLWxtRrObF9wLtiG1J-RuxDoTJOhuIZzPNsx5IPvU63bUuIwyEnSP", http_request_error; e_clientaddr="AcI0abalIeNYZccALgEC80dT3b38qFDoZ3RpGKf0Gqc9fhErA4Mrhd_kjFLc2tolba-1SvEX9O5c74v6PA"; e_fb_vipport="AcI3wZbX7AwbdFCBYAVnILRc3dmaQ6UcBZKo5_GYtBKEKwDh1OZl1mJT3K_G"; e_upip="AcIPNBWAE3h0HBZdP04OX5ADBZignrXUQFIFKIQ-qI40kD2vQOiIMJyuajdcJG55cXWs6G3JZ48hN5aWcCcfsCeig-U92jxIdA"; e_fb_hostheader="AcKWaDzwL-LA1WvXoR6xLalJJ1OQjyWJjgtPiB-cWSt3x3die94MHT4m__RnCPza_PRkXqzq5IfTT1eY"; e_fb_vipaddr="AcIFtorfSA2wMIzLEpbSyWAzQ7BkN0Ny7G2T2pISP9xumBBePVBdRlTXSWWZ1LpQ4VxW9LJMAGM"; e_fb_requesthandler="AcIXU5501jG_vSp85SVYL45dMRzXNeVmc7KI-OcynlWCX8FQLkBmTw-uXaQcQ7G8bYGUMGlmqiY"; e_fb_builduser="AcKa3fRTaaAbpQfFvIf8ynsEZFfjd-yFPOqOlCYz7lePjMi6xV-jdIYEkZjefPe2Wps"; e_fb_binaryversion="AcK-pTOwuS3QNCVuVd0skv2U-kmk6I7cXkNozbmysIefzOjCiHl46lNyiZzL3Eh0YSTgVYk3sXKV-Y-yNz6Y9j_EwyZ-BgFwRIo"; e_proxy="AcJ8PaaI22KqAth9St8RRgFZBeXm7t9z9sh5CNFZTIjIPllW_Ih2YeteEnJlcKg4vKn_wMmArMth_eY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 12:06:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 12:06:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0FoFdNWd_J3WudZb0-LB0y" } } 01/29/2024 12:06:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 12:06:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4220170759, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqvIj3pL0BAlWThK8FsvEEN', 'x-fb-trace-id': 'AcrR9mxwJBX', 'x-fb-rev': '1011075036', 'x-fb-debug': 'V8518tmCqKhmlmwpn7TRPponmh+17wdAhNzrBk2MzhrRcs0ZKLlKufCQ4xA7ubuHJ9fF7lBNxTGZj1TbLWsDaw==', date: 'Mon, 29 Jan 2024 12:07:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIZY9hilMx-nltZBGyTVOocrLdSvQhg1vt8IGLCtXKG15Uw2yyB6QDDLyoB9WgxSoMqzlLycu8eS3c37LWY8-wgDZLpaNK5hYC9I7ffJ4dIrYbQRQ"; e_fb_vipport="AcLPp4sHAbEIXe7gnNQyDUVTK-DFZIitooqmIy8tPk8akf5_DoGkpS0hXLu-"; e_upip="AcIIezwb3_Bkyt2ODdrw3DOc2mjcwdvjjz6N06Lkg4kEreACbpu-RyYjAbCRLQ_Yt_8k_lX2NTjoXUuGMKL57L954RIO9_gHs04"; e_fb_hostheader="AcLmP3onLXb1TtY1gALUAEbqDjRVSE1iGvaoODzvD0HZasCb5Z0ymXWo7g8VNiL1kcBY_0Cjyt2u7xCo"; e_fb_vipaddr="AcJdsgQKOwW4fAyXatrc5YQx8Hpgdjz0lxlrg3YTb6Jet8RPmw6Rn9fYn0nfQltUB6iraNWv4czwTcFtcjFT573AOYhxlLI0bg"; e_fb_requesthandler="AcLZ4LyanGXmbs8KdTV7MLA5COk5D0qEHP8lET2tAKJ1u_duYv2OnNI8-OzBQ7FZdR0FMSPMpVM"; e_fb_builduser="AcIMXcIF7tibA6M5OglhInhyshAdKKbBHOGZbyCVo2VYQtVBmjkNj-6Ce7JNQawJDNU"; e_fb_binaryversion="AcJxr3mSq75V5UKRZZTRwPITHsfEC8u2cwLOhd0n3EhuK1qSqB3UoeM_JyrxBkZE6H-SC9YcCfzE-so6a3GdZeVINRFmeiWNaKk"; e_proxy="AcKDtEMFqw_dnKtBQ_y7bEAli6NhM5yaDRp5cfLhvffHO_8TG1fyIA5nB1H8s_J3JevWKoqsf8WxmqPHA1mE", http_request_error; e_clientaddr="AcJVMB9bibEbe0cmLuV8VTY_FniAcPWYm7HCHrweYbCR-CxwK2XTw1j-L1PlYDQv-3WDRhjOyaSGlDaATw"; e_fb_vipport="AcJIFB3ppeuoKI3mRr8G6aGW_ugeif5OLtZlZ_SFaaLw164AKB11m4b0rq5P"; e_upip="AcKrLP4rsODEJ6qP613_6W23wlb8sCH0QHxmRS8BvytlXX1tSgBR20647Tw-QeSfx_tMC5NM9MGl_F8nKT5_KQbme-u3Zz53LA"; e_fb_hostheader="AcKawT5ONTEjMTPAHZ0xFo9D8yCFcj8Ga21r_1KR0cMTVKaZuBzbwXzEqu54Zxeust7AJe7ufb-Kiyna"; e_fb_vipaddr="AcLMlzVYlig4FcXONsaHGGcXgNPrld34gYzEjniKxFJXwm00yqby1Ob7UPaYD5snoQ4weL0tQ_o"; e_fb_requesthandler="AcI34KJkoTT2mPx-giBVNVt9FcQSifDLzowq_pZy2JCKkFIihxT75RtCkWbXuHqMQc-aYVPBxDI"; e_fb_builduser="AcK1r7iS9r-phegNvMSwPdrxeCGCeC07qfLjaPWdjvx-t_IEKlRYEsf050dOQkrh0Gc"; e_fb_binaryversion="AcIOrVaIeVBQoMN_xAobSR2sISiz7xYL0EUPEoXEINCM361li9LGhB4ksF-9CjjyuAYlhwalgG2aG1s1YbMYCHNl4cQRBCDqASo"; e_proxy="AcJtDXu9HfXL5a60C-PMJMhymdkx3QFV26IrKRU1PQ03gMjdWdMWoyqGJaQkw25dN8tGsCHF9MI2Jow"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7108225479265811"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 12:08:11: Request bot not found: { id: '405232736174480' } 01/29/2024 12:09:33: Request bot not found: { id: '405232736174480' } 01/29/2024 12:10:52: Request bot not found: { id: '405232736174480' } 01/29/2024 12:12:12: Request bot not found: { id: '405232736174480' } 01/29/2024 12:13:28: Request bot not found: { id: '405232736174480' } 01/29/2024 12:14:40: Request bot not found: { id: '405232736174480' } 01/29/2024 12:16:00: Request bot not found: { id: '405232736174480' } 01/29/2024 12:17:21: Request bot not found: { id: '405232736174480' } 01/29/2024 12:18:32: Request bot not found: { id: '405232736174480' } 01/29/2024 12:19:50: Request bot not found: { id: '405232736174480' } 01/29/2024 12:21:04: Request bot not found: { id: '405232736174480' } 01/29/2024 12:22:25: Request bot not found: { id: '405232736174480' } 01/29/2024 12:23:52: Request bot not found: { id: '405232736174480' } 01/29/2024 12:25:18: Request bot not found: { id: '405232736174480' } 01/29/2024 12:56:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 12:56:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 12:56:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4298967706, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AigwrhVPzKoEDWbkZS09H_5', 'x-fb-trace-id': 'CQ3pvoi10od', 'x-fb-rev': '1011075687', 'x-fb-debug': 'BKWKAry9zS4b0nQnk0ZtzCEsoh1mA9Ufdukyifn13egGKKaNmlmDdKat31Db1USvtBxstMhd4KDxPlB9IFgmuw==', date: 'Mon, 29 Jan 2024 12:56:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKjMixrVujxsPBTZv6gJDnzWU1zTkUzjVUGc9f4_-1bLzowrX4DqVgugEu-rAff4NtrDcsk2Evb0PM1S4vSMNR84rlrrbWDcxSe8tsyF0dR6V7J"; e_fb_vipport="AcIjaKmSkwxKtU6YJGiG3ujtauFSAJWYJjLU_JiXBTWPKcXi_fzCYnIB1apq"; e_upip="AcKb2QyVJJcZCDFt3ncrp9PDoxlipiyYrGkvcTP_DKNEZdI35DcYvdjCx0gM5BSJfYO7PoZMiHCF5JmdFUpHwCTSZ4-JLaA1ric"; e_fb_hostheader="AcK6qHmm8Eoyg7IzleMKEn4wkFny4L0In67XplFexAFPrvEdc0bi6m1-h9X2v4CqCckmKjE6AVkq8zLl"; e_fb_vipaddr="AcIaaN2QZ7vZmvZLYIcdQe3vvKdfjIFWSS3D4JBZlGI-9zdF7v4tN10rkLsHt8O4oFE7GJKiwjs6EbK15BhGWInwiP5g3Dl76Q"; e_fb_requesthandler="AcJYf_iXKo8mVG63CLzrxawullmO9wkxreHPTIR3mgGf8qRebiOC3t5etdLr0K_09nSrtaclP6U"; e_fb_builduser="AcJ8Tw1kONLhlxSszbMDhh9p5f96htap4QGvLUzDTHYCpuRbOR3nJqbNZxJZ8HFAoyM"; e_fb_binaryversion="AcJlCxavZ-f-tfxzckiqg1zrMgX0dGLWMx_zWZxiMQ9Djjyni8tmEvOSApwMG7uq3-Jp2h5gauNcHz0skFvG-YhZsNEyvd_rs-k"; e_proxy="AcK_3iBqTpTffVHnxmYqEXZXkEfIHQFTWBCOmmUv4r8PQA57p-3FB7jcN2VqScB1I5Q9J3t2khSxYbpuaEOl", http_request_error; e_clientaddr="AcJhE5GRvqpRhU57a1-3UwTcsqVoXcMk41hA84O8_cOtSmko5732wIZGrtTddHo_hQ08GVaQORQdUYLSxg"; e_fb_vipport="AcIL_hh91f-h4ifVJdmApD2KXrG8ZEXqra1-kyrpb3hEGkuU21B-R1CffDut"; e_upip="AcJmm3a-DQxG58tHoXdN-ay_udap9OOypzGCOp8KoZ40nIgLfOUT1t8HC3SwcUbl-SzIgDrLTDikRBt5xZZbLKpCasBD5UWKEw"; e_fb_hostheader="AcLMajVFa7lAQlCorLfjxaL2WEA6gx1L1oYfjsYeGYNEASxaPoEb2ST-9ugUGshZJoKHaOKIigLIRfXV"; e_fb_vipaddr="AcJm2CZfOebgyjtqdY8BOLYgdLBHSiLTSHnN9iIe8uFPDA9lG-kzSLL1i7LbbWqrtVgBZf_1zQ"; e_fb_requesthandler="AcKHkP5ejFBxrnbAeLuOL7V3FDnMNXRInsBzBP44d2Ggx2dYkebg_pXyAPL8Gka2JwZ40R5Dnro"; e_fb_builduser="AcJrKeM86vJhIb9w4B5amRcb5VwjqQO_c1YMvhxYsfS8FlUtcWOMhwh-SIw3jjHoVcI"; e_fb_binaryversion="AcJ95ykgzMuAu2vWQQx8yRoPrW_hmOtiJtqDMMavVBYm0yvU59uGwEokO53GGIzRE2Lte6qYZzQWDT1ZMd94o32gPmRjJykyhNQ"; e_proxy="AcI3zUFXRbBbaNROE0MgyPAXCREp3BqUMv6E5N6H-zLAten1ER89WqiSjFQJq2qn1cQeMUoBzNck63A"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 12:56:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJPCIeNF_NTVWadjfT9Gh5O" } } 01/29/2024 12:56:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/29/2024 12:56:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AwB6ByGoW_GWoPCS5pS7AlD" } } 01/29/2024 12:56:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 12:56:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4299097690, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADXmO0V5mV8gprdJ_4BqigQ', 'x-fb-trace-id': 'ATAtCm8Zno9', 'x-fb-rev': '1011075687', 'x-fb-debug': 'TTUseBgRqaj0A2IbQ0WkaFPA569SlD5lWDfQ+moURBoJo7eEQLB4FQrOdu2SVXPa97HziX35F5LNZgJnOfl5wg==', date: 'Mon, 29 Jan 2024 12:57:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcISDDUQYwTO506ureIpJUkh5tPwsBPpJ6enKPXi00e877JU3oDn7_2QBSSAffcThr9rrYlWYoclgJJaX8Zd_rucgcj19cayClQkGb008wJXK-xi0g"; e_fb_vipport="AcKvQ74L-_0WjoNwNWot3f1aYlfLFqpscQLrhW1KxQcym_9U3BEUz6UVlQNV"; e_upip="AcLhFsQpNj6JInb_2u2dLFQBuFTybiiXDK7rNg3V8ibTHilXgox5cRZwEVX4FP-qzxNanBUIsf7Rpa5ggIdV7hVvC3VuksbFQQ"; e_fb_hostheader="AcIVtUcHPFYdk7HZY7togMWSEIgqyOzodvMUDKP8_cz2PS1K90NYD55H7MqRTfAswTXnwyt68roe4esx"; e_fb_vipaddr="AcL_GeJd51SGGfpr-eBq4_4HYX3Lf_zhDxVDrOB8bFfGzJP1NLV67giQCg2QGlkPePMEBmwJwS3Du-xt1dhLO7S5ZpuW5nLF7Q"; e_fb_requesthandler="AcL4c9xSJBlS62anYO-9D77JLU2g-e06vNJK5h42I3XVTfoayhFXmsfgS9wkGTHd2dev3VHVmoE"; e_fb_builduser="AcLHSZXSHnfRD_dkD7CwvpCUhjMBad-DZiDskVdNu8u7But9Nq_NNJTRkvX82qGHjso"; e_fb_binaryversion="AcK0pWSJ05t9L3kCmkWjRrmYgY_kfy77HYaDQrBc8RmPLo2mARPPJ3WQo63ckNA9PJYNpbpDNnWh_az-y1Q-z_G9M4Y8cu07Vlg"; e_proxy="AcJecCnf9IFjZXiaJBv-HBI5DmxuYHwjcwptGsN2PJHlY7MgbYHA-TCv-B5KNiK9L6MCH799W5mQamP_6GTP", http_request_error; e_clientaddr="AcKCWWbBXFE2uj0K5J4ayWZgO4U9wO8gohFrpqxURLzM8zAFRfEaB_rpJp7JtsGRDL7r22yi4vBUSl5UWw"; e_fb_vipport="AcLciwQNtix3Nexv45yDP7dtoPvUpyQOAqQuEX6a9WYIZ599gOF_NYjQC8O3"; e_upip="AcKjf-0vDx_PCjJEWD0D4VhuiV99exnGpJ7NNIMKjU4UrY9HjxZ97NTSeLt261C1k2RILOrIinGvsuib3jnAUEgnkq7GxNilPw"; e_fb_hostheader="AcLxUPAlXdO3neyb0lRbqVJraUP_zyCYMDdJSbgOuwJuVJ50y9RFyvrpLHs2qSh-JCnvlIDYRV5Oz-Eu"; e_fb_vipaddr="AcKUzqwiv1AKawnloJhxSEFs2tcg_r6HMY7H9WpO-Tep22WiTwVautk8QloDKUiagFcKytw4Bw"; e_fb_requesthandler="AcJpW-YrWW0wzX1pjriueyR8HTald0cO5R_FQYda7H53oa3fVRaVHGSdA8Qaqco1XiZNijr3pWU"; e_fb_builduser="AcJxSaPZBYWqns5_I994QGqrdYrwShcEHAjtvkyL-fBFocv4awF6LhNuGj38TXc1nOY"; e_fb_binaryversion="AcI-nLaXFKHrzGTTkKyS2SKC09TS-l_nlaPsIcpWbXG_EsPDiskDLBGc6QG2hTZnqR-jD5r9EDVFJRLEHgQ3q-poxiYS9cQDXog"; e_proxy="AcJ3MzMuDVE2JQciZxEzG-BXFHP7tsPJuo3HrsHAvzBYovyoDgU1g18QckcKmyPhlAXT6iNmmgDi-Lo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6702902579819604"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 13:26:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:27:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:28:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b3f4749795693754d28c7c 01/29/2024 13:29:50: Request bot not found: { id: '211237565676724' } 01/29/2024 13:29:51: Request bot not found: { id: '211237565676724' } 01/29/2024 13:29:51: Request bot not found: { id: '211237565676724' } 01/29/2024 13:29:53: Request bot not found: { id: '211237565676724' } 01/29/2024 13:29:54: Request bot not found: { id: '211237565676724' } 01/29/2024 13:29:59: Request bot not found: { id: '211237565676724' } 01/29/2024 13:30:16: Request bot not found: { id: '211237565676724' } 01/29/2024 13:30:35: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:30:36: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:30:37: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:30:38: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:30:39: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:30:43: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:30:59: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:31:38: Request bot not found: { id: '211237565676724' } 01/29/2024 13:32:23: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:33:01: Request bot not found: { id: '211237565676724' } 01/29/2024 13:33:46: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:33:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:34:16: Request bot not found: { id: '211237565676724' } 01/29/2024 13:34:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:35:11: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:35:30: Request bot not found: { id: '211237565676724' } 01/29/2024 13:36:28: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:36:55: Request bot not found: { id: '211237565676724' } 01/29/2024 13:37:49: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:37:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:38:18: Request bot not found: { id: '211237565676724' } 01/29/2024 13:38:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:39:15: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:39:28: (node:21807) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 01/29/2024 13:39:41: Request bot not found: { id: '211237565676724' } 01/29/2024 13:40:40: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:41:02: Request bot not found: { id: '211237565676724' } 01/29/2024 13:42:06: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:42:14: Request bot not found: { id: '211237565676724' } 01/29/2024 13:43:30: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:43:31: Request bot not found: { id: '211237565676724' } 01/29/2024 13:43:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:44:43: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:44:51: Request bot not found: { id: '211237565676724' } 01/29/2024 13:44:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:46:03: Request bot not found: { id: '211237565676724' } 01/29/2024 13:46:09: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:47:16: Request bot not found: { id: '211237565676724' } 01/29/2024 13:47:28: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:47:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:48:41: Request bot not found: { id: '211237565676724' } 01/29/2024 13:48:55: Request bot not found: { id: '1112811525476664' } 01/29/2024 13:48:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 13:49:56: (node:21868) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 01/29/2024 14:00:42: Request bot not found: { id: '309160166334279' } 01/29/2024 14:01:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 14:01:02: Error on send one message facebookId => 6702902579819604 01/29/2024 14:01:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AiMww14WMNoJskkJMwuIjck" } } 01/29/2024 14:01:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 14:01:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 14:01:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 14:01:05: Request bot not found: { id: '309160166334279' } 01/29/2024 14:01:26: Request bot not found: { id: '309160166334279' } 01/29/2024 14:29:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 659d8d990f5b8341ff46a968 01/29/2024 14:45:20: Error on send one message facebookId => 7118932201524671 01/29/2024 14:45:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4Ygox0XBwjgvRcJ-gh2z8k" } } 01/29/2024 14:45:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 14:45:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 14:45:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 16:49:14: Error on send one message facebookId => 7118932201524671 01/29/2024 16:49:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ais3xvXN5regaV23tCmxfGV" } } 01/29/2024 16:49:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 16:49:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 16:49:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 17:05:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 17:06:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 17:07:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 35263, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJ7wWC7F07t-X_heAj54IIQ', 'x-fb-trace-id': 'BoFZ3JPBCQ1', 'x-fb-rev': '1011078341', 'x-fb-debug': 'POk3bh0FgmnWaPQFzI9g9ATdZrv0IuSkx55CIMuMzUQlqmJSD9dDGD23NDG+cCrRsEe1zihkcx8xpm8DNlj9yw==', date: 'Mon, 29 Jan 2024 17:08:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcIQqI5_5bN4ad39inXuab0YOX3oO1056Ua92Ibw1zhy0EJgh9dWlCmkKAWpDwYVqRAiTfbE42tBUdm-g1JIhMMQ7scxC08BR-QpbHimCriCBa7I4Q"; e_fb_vipport="AcIHm3-0NidhWFOn77wiMmynNcHTHpgctgyXHl6xbCUXQWmjdBk5am2cOc8Z"; e_upip="AcLZ56dJqEsXUto8F9AfiMdY7EwYUGCSm4bMnOQ5YWzZjdkHuQxw6tf0EsRDlWSLWv4fcnjXvRd0lhGsNwli7C1fAxBhB_Uq7G0"; e_fb_hostheader="AcKkLx9908m2Ro0D9kjmsGkVP0ow6aEz9yMcnQrcyAZ8Cp8Qd2AX7LfDPVLCHaH1-PMOf6denDb-U5GD"; e_fb_vipaddr="AcKCOclkv8a5FpEKmARok0n6ow8CedVm5GHjUBW4e15fsbQ5jUlXfAykh_I2v_zCzbJ1hGOZPoyNt1fcMKQmZmd2iB0rVh6WJQ"; e_fb_requesthandler="AcLl5WgYuhmYDue8SowQ4c2SdHZsh5WVlsFZBGCcLdJsfQMAQvacEBFfgCkXOT3tO9VcSu056JU"; e_fb_builduser="AcJACWOqLcSJGkPfilclRETrfPfszyiD53A-IP2w1yHlb-rqQkVifBGaRnrl2kEO8EQ"; e_fb_binaryversion="AcLKXtSDjjxJv3lLFghZvA-Kst1eKtj2sK1c7_EuTl6owi6Gc3hDHtg5ax-dZi6W74Ngt68BRvvEmjdGk9Jw2S7-YWPZ2ZjYGaA"; e_proxy="AcLY0Z9sgMPxI5cdtvD06WyWs7InLf5ywMKstM2n8Ze5B-M7xQ-HLDVMWzHpQ0luqw_UVkd9A4jJWrV2cE-R", http_request_error; e_clientaddr="AcK5UDgKTw7uuyDt3BfOsTSM1gXjJJ3ueBQzm1utWQlkXGEGF4yQCN1dyrj09K0NzZFEzGkBxDWKOt24EA"; e_fb_vipport="AcL5LDlGUxKlWcsG2ruuvIWIVm_HrA_XEA1Cpv964PZLYVgvBCeT6fSDgk_Z"; e_upip="AcIRLl_4TVDiyUDwThK4lBz0MTdh1CslS8uQ7Qo7kjh_lShqEPe1tv9oLw_b4o3MrYO-KnHvW3uHz8s9sA0m58eCvkJwLRXvwQ"; e_fb_hostheader="AcL3twBWldhsqLCX_s2RrIm-lqfEQ9U34hFnMcTqqYY9YCNsaeW0PImjhUVBtFn3-PMxWEasZEAToeoX"; e_fb_vipaddr="AcJfsX4MDNiFq9ZaSFppPWzQhE6LSj-nypySEQD8vB2INM9fp0DVlsfYawrUOUOVi_J6N_m2cA"; e_fb_requesthandler="AcIw9Irbzd_7TCdVcybge_gkhmWlbsD-Q5l3ZHQ2kn2x3OyfCAunM4MQBzHj4LjNcDl8vtGTCOA"; e_fb_builduser="AcLJqKLZpJRU5-XhTytqKpTnvbnNwH4ix_ZKTwyhtuEMlD4dgUdGTX2EHqqwfr7XLVk"; e_fb_binaryversion="AcIXrNQo3MgdPpCsuRAuJ8vUP1Ok9m65k05CGQBr7tODp7c6uXEEHx6qQEOOIrnSKeW1Li4LCBal-xv1BVCfEQVCLKGJDJ6eTcY"; e_proxy="AcJkFJHcU4RkkxzdYAArguw3HssOUYt8At9ThOEGfSRKnulDqVJtouiw1fyBcw1Ijb3eJe_iN2WYrig"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 17:07:58: Error on send one message facebookId => 6534635686653699 01/29/2024 17:07:58: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "A2BHf431PQb9rdWg0lhnNJ7" } } 01/29/2024 17:08:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 35447, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'As8PBmDl6t0WXv1WiWxW_r3', 'x-fb-trace-id': 'EmeWcg97Zxg', 'x-fb-rev': '1011078341', 'x-fb-debug': 'OBN7/ep+wjbUQDGRJyq5lerbjbzI7eOVr6W3PbHDfg2Ot3L2vuzbJbX3dxRyAiLM80yB3r0+jFdnhs+SRpL9uQ==', date: 'Mon, 29 Jan 2024 17:08:02 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcJTO5Uw3ZvxF8MaNVs7S9ldQRukmwaTVzBElkpMGdB07r5JyKnGwAsDXtZUBJ0NpCxZSCKuOV0qDpUaPJbstpuWypW1AQY0m-uWYQGTAcBYK0pA"; e_fb_vipport="AcJYiGeEoF1qCwQCWFYeTY1C_QAaDkN2ZlXwCY8EDL7yQU0Ofoepr1JNAIhE"; e_upip="AcJ12SlYwOZ6JMisSTvkqAOyan83MMmIx1y9UXIWmNrmRRqwMmMzXcxy8PKAJcC9holsro7zNr41Af2fTqT_6zbftnxkP2AvLKQ"; e_fb_hostheader="AcK8_3os_yVCTGfvrq48sg_LnKk_JHOR9VCk1HQeTjToNidwA53N_5-yrCOegZjhhAuh1RSeOnTP3GQi"; e_fb_vipaddr="AcLIEzALwkvr3IlcRc1RFpf2Lq1POeOd-UxRqKefhUgASTvGdwP_xqlQIgQ3GSHHDhwgml7GIcwtngSiwxcyFe7FZivQSiokJw"; e_fb_requesthandler="AcKbflzNSjsbSEEZvr060PvQyBXXq5S5pZIAr9PEK_jdpT2cawv8x3Qv6HuIh3Rk_Aoxo37xzuE"; e_fb_builduser="AcLWc4Nz00OJTMLZ5q0-ZySvuc9bfHeRkHJSADriFbkcky875YrYYg__MbW5pBZxl5w"; e_fb_binaryversion="AcI5OpCOeNNgb8Pzsi4UDsxBmoUrkL0ce_1A2tWuM6eTtQ1PsxX5KZ5Zgt5OHjPBBlL-bIOophYgG47lf7cMTV3ureArx_Q0_g4"; e_proxy="AcL22tkulGBMg5u7NZA6y70Iznn24LbjYMq8jRvAb95eLhm6Oa-_GcPC__GxQvIAPMC1rxwKCJYlaP4SjkC3", http_request_error; e_clientaddr="AcLzPxxKusa9hXR4qlNqp_0AJwFOyM5GgDewULc6Y_Brv0VPnku45EQF8GYQtAMOJTEURSUd-tiGeJ5M5g"; e_fb_vipport="AcLEJL-t5CrKywYAynQVNsKvXBwn4ip9Q4RLPbfxIuFJuh-o-NF-V0ZjQkZ0"; e_upip="AcLnRaeVvaN8p1bafRoRAd5EV3Z4bufHKS5OtaIh-hNdk0hCw_LMNg8M7-rd7aMm54fJvDfOg1U4VTUl8wS_PreBMI_rjIXBew"; e_fb_hostheader="AcKWaSvRpeIf97kAL_rwSqqgB2j_t8n6sSDQABnNe63DQJr0FNCmCA8YDOA5r9hj4xKba7k36jpclTaZ"; e_fb_vipaddr="AcJteWNYLZwang5FyS6w-WLBolj6afV4NavgWyUnG7A-YYyyQMStK7LN38SJZmvJdFtbKko_5Q"; e_fb_requesthandler="AcK4rHHsmpoFAYJhLrC3tlUspK-K6vLt9Voj5_3EgtzwSIcOanhqydsKJKtNOTw79l7M7BfEYoo"; e_fb_builduser="AcJNXldJVal9FLB9033Xl8rC7czSfpCnnd6LMYJVl41zNe88kUyXBXy09D-NeIDNPH8"; e_fb_binaryversion="AcJI13YuZ2ljav-XkSeR9qRxHIuCFQgU9-unVZpOGyr8XOK8xJJCNq6vqdpgHgl2MY1iu_Db_whSTSby00P6UZpCm6OxcTtZYlc"; e_proxy="AcKDHF435udxug1RcuXGrPR3jJHSRqP_GyQQ48Lwt7DpwFXzzhI-aX0NQTRQVzUjTbzo9IbLqzoNaLc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 17:10:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 17:11:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 17:12:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 36455, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APnhGVmDTgKgOCe7uwZx97N', 'x-fb-trace-id': 'A16aIiOEw1j', 'x-fb-rev': '1011078341', 'x-fb-debug': 's0RJndO4CvGYL9/TX0g9QprrJLC3Q31a3JiVJffHooce9VJLCgonD1Wsnzb/P8jauNHvR2vuOeYdwwyR1oLNyQ==', date: 'Mon, 29 Jan 2024 17:13:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcL4smF1-9RYHyoUheC-BrpDpDvgPtxcKc04yoZ5kYT16irEV4ViUO08HzRjsVsKVdk97lMMYN7JLGT8UjtZUyezYZMRIKdd9NSavaaqFrh09AXKCQ"; e_fb_vipport="AcJeoeUmE_PeHFwGWajDZ6KxZX5A_ngDBX7mjKtFVHbFu0ds6Ewbkrrr9Znc"; e_upip="AcKjrm0cC5mfMZeKBI_jLdAnxZPmeJRyu8P6GCdmbmGI6XH41K9DZjKh2m7xoxIs4CIP-eE-r51was8q-64eBZrdhvyr9z-F_gw"; e_fb_hostheader="AcICtcQ6JPiMZ8HRcMwiWtmHO3RXSrEYlfXtydtssJpczS8y8xxOsV8F_2mWLW05pXkm0QXjeBuEW9ZQ"; e_fb_vipaddr="AcJzrgSr8iyiZQESNsOq-IMJT_mEFp-GQdvpg5iIih5dbK9-ZTpQvLY-yOjVDElWRpIuLIgibum6ik1Ddrc7guMTQ4TZVEUfIw"; e_fb_requesthandler="AcJZNKDsSY8NNY-KjtQOXjV3tkphZ8iBEe1if9uaG9lNtpzaaAQVK6tVOWJu3tXqG_Qq-EmEQQ0"; e_fb_builduser="AcJem2AeeZAfqRD-dz7G6GNdD5ERHFyiMo_zEnhNsrPOfNZmATIo-hTTnPwpBZVGI7M"; e_fb_binaryversion="AcLHTnkWACj3gQ9VxZ6w5OD0Qbsor3tIdWJJipH3Ihwq95W7YflrYDN8iP2TxgbwuvhQOykjvmfXfzShCB4Bzcu9JgAO4UplgpA"; e_proxy="AcL-8YcMa6PP2MZee1tYGfS7q1bvB5IbODAedWcLQmQhiXng75_yPGAucQeHrsvk9lNB2FkfepXbz22nJqxk", http_request_error; e_clientaddr="AcJ7JHUsCsezz990oWG7fGI5KanCfik_U_lcjNq0BDAnGaYbGOISqtkbhvE_cEQfhMaP2febdJcjpCRzSA"; e_fb_vipport="AcJLYpfI2PBAiyJZ6_zc09l9RiZrI5irLBYvqohyjVhPW6L3HAHyzjR5wDgJ"; e_upip="AcKKQuKt6mAguFszwF1xWvDfNwjgV6ww6_WlGosL4T3eTZ5CQVhSJKYdQUjfmBbU3UrL9icTbORQwcoLYDlqdY9cfEkRsDlDLA"; e_fb_hostheader="AcIPN1NYc74gOa3PeOOoT0A8IZLk4XsCfox-G9o3Ht1i1kR3oRq0_72N7sv7O010VCu2FIHEgDtMDbJO"; e_fb_vipaddr="AcK8J9-jCDjh7qDZf69k3l-bWnRh6wiri-zSZwcVUoUJqMEs6l6jBg7SxAM8eT8x5nU9zNM"; e_fb_requesthandler="AcKdFquwN7WrDnfISVUIljYG5YvQs_IuE2zEqiXZigyo2NERcNekO0HaS_vCoGtxddcDykd-6Nw"; e_fb_builduser="AcJuyYEP51lO16Ndbd12gYnSUGZMgaTH_n6tyy2meKc2RMRZ1hRDMtxDRPHP0nEgRz0"; e_fb_binaryversion="AcLcdThG6QFdx2-_W94liMxeeogaMiNm9BrAMJs6DN1l_cHR_aYOols_JyhkvIejIZJnnMCEj47TBUH3DBZXoBtdKa04hIhvviI"; e_proxy="AcKWyukL3tD2fbmWNEAA8yXsb3iIW0E-ZyaIZ0ZUNw9G7po8HEpwdxxjttEK05NJBuhY6J8TxpXe8CI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 17:13:00: Error on send one message facebookId => 6534635686653699 01/29/2024 17:13:00: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "A1ddZi1qzEeggX5vcqgSB6Q" } } 01/29/2024 17:13:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 36618, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8bUxbLKvm68QPOLmNqVVqn', 'x-fb-trace-id': 'HxOR2/YyuKW', 'x-fb-rev': '1011078341', 'x-fb-debug': 'IPqduDo4Sp1ePVz9d147Q6WiwY9m0In1jlfzYs/k4R6ujdtCqeHeWmuIIqffhZ8Az/3HLFhpL2CaqAJ6BAmUfw==', date: 'Mon, 29 Jan 2024 17:13:02 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcLavAKC6AKlYa5v9fWTpB1DWeNWdL3XaY6KWeWpWM6qmjSw9J64Qj-c91qCq_LSxwbBcWFaXap2Y1CKbGvLRl2rnDGxu1NgZashPHMedLpqLurJ"; e_fb_vipport="AcJ_rssKwcgeGxiS0qo_uMLp8p0FSOtpqrwsORZZha_AY7ywM4GjGZtZw-Dm"; e_upip="AcK_8llDN-TsBLTLyT32nrxce0uiREIllxA5dNf_HrScaXSDaBePqUvMtImDphMt3RE3Huyc9YKeCcxuiOd7KZUFLJ3vg6HSZ78"; e_fb_hostheader="AcIMMJZ75QGu5fMH6qgOtzHtTEOfWCdYRwYQfutwEOBVdtVbW9PnXpdc70B39wNA4CEozUEl2KIUaqtA"; e_fb_vipaddr="AcJt-JxrRIjRJLnNgtBhabrcKXtqUEU7qdhYQ49fewtsgTSDQNROBR0paAC3CIHbeT-8wkUBkOVSuCzIDiPGMr_fY0HyfPlCbw"; e_fb_requesthandler="AcLiRqBj1idgTfP6yVPF_0CSMvQZ4wK5cvrUGZ1DlaLia_PlMryhW6WoS1iJMgacOcNIAYq7Wp8"; e_fb_builduser="AcLRJHG-tNs0jD4yRql70sEXroQIq6vA-A69xpPmvBRlnw_9eFfIRwJiUkMz1g5AuRs"; e_fb_binaryversion="AcLEpMqyowHTCvAmcQKYc14lIXEh3KuVFxXSO61n70YD7paNKysncnSK6SAwxl2X67sY1n14-6y0oXORJouoAl--xFjBkmeglaM"; e_proxy="AcJMZbP3S7fE_u6_rGakxQHOgGm4jq5Kims2dDBmHJv-URs6WQr4CKraIsizMrhIUvSEgbcwXl5eN1If2VQg", http_request_error; e_clientaddr="AcLn0ji0wcbDTcxrrQ1ijm3W4W8u_rSr5kskVdahoPzOBHl1jWKAbglncvBsIWBUFYulSmmYCzX6BZUrFQ"; e_fb_vipport="AcIC-ope2eHKGA3HbVUDbPI9uXifL5s2YqQs--yWI1_GOZo6oRNM3J1aMCYz"; e_upip="AcKhWN-sr6B1r367APAPdE2eKlslVGL1fEg0rB8IGMbbTddng3p5GDGNgiPOlPsIejhjbemon3L7k_P-7lTuqGFXHPq_YMVREg"; e_fb_hostheader="AcIqvgTBcbWjLHtCzUwC6sXmP-Kt6t30oapw5rc4gNSeXXFgjwkxDlykKhFN88DEDICEihQvosjLLu4z"; e_fb_vipaddr="AcIVCLB5tTBPvMfjop37hpxfjdp8BVWCxad_PxrHJ_vJuPcOD5k8biT4IyLHzsXqSicQhWo"; e_fb_requesthandler="AcKyXW-ZDakUXNBTZjVgozexEFXmiLUfBT2X1yv6MU3cPzeIZ75706Rz2vQBQuKGJunMyUaMuDc"; e_fb_builduser="AcLVZQ5ddDRdw0PKIL3j-l1EQRu1J4f4aV6VK5EfNk5Dh6sZku9o4KmzKrr2O9hYaCE"; e_fb_binaryversion="AcJfcse8oNHpa8CO9SZ6IDeTKlzLYSHhz5GrOcoVL9mdNYW7bJCikWsLpYmSwob0sRbQT-aBs97301BoTCaF-g8GBLrx24EMeY0"; e_proxy="AcLj07ZCSjU5HYJRd3bNIkDGMiaIQdl8pNI4xGfu-tEALjc9gLSNr8T4RUGWiEH9fTMciJUsURhLNSg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 18:12:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 18:13:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 18:14:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 47712, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYyQuqbAPe_NzDCdDKY0LS9', 'x-fb-trace-id': 'A4ApmONwWAR', 'x-fb-rev': '1011078341', 'x-fb-debug': 'AeMSAoUE+EjMfdws0kXU2Q9vpeYGAnnu7jfuOfXDWohJ7QjoItCqtKVZqVt/EMWwjyeMlFm+XX8a57xVURu2Fw==', date: 'Mon, 29 Jan 2024 18:15:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcJ1W2A-ZRs4YQwWL_yNzGiZZ_fMk_afRc6MAWUUp81w-gKuuep95r36l7Jo4zTajPbWDz6cTMADbOatXRQuIgZO4cXAHyBb7VS4rlZh9Db_8SoP2g"; e_fb_vipport="AcJ2KctIYiJ1wac65fOGqoCQjm-q0zieiIJD7vNIV2FuwcVujuv37QItyGDj"; e_upip="AcLEgvvo2vQ9kye26wgPAc1lT1gNXzIz4ggAm62xSiwBh2-AyGVF1lH3aOX6gSHAPX0p1kv1qt8ZricN0jlIU0bxiq1O5jhGRMQ"; e_fb_hostheader="AcJYjJbiVzyji2NaWuGnlhRmXlesg0SCwIdsoCzHOxCzCKtYrpvsWGbH5W2QN4evfvxzL6X2IXevB0JA"; e_fb_vipaddr="AcIDSXZ2u2OPwjdBqW4srspiQ0WI2slEyiyiUo0TY5HImlJcP8pxZoM37h_ZXR5Jwndb4gzNKEk1eqxFodSGZbuswJDOpFE9RA"; e_fb_requesthandler="AcKO8GweITr21CkTyYfDM8r0WwmhTGipu0rZkU1FNh2kX7gIlCZnIOuqAP1r2vvWfnpMOEPIdek"; e_fb_builduser="AcKjaBv24IcMfdeb5YBaNHzl2Ez_RFlfBCY7z6OkXLKTrWF7jbsn2C3Dwb5anQuz_uc"; e_fb_binaryversion="AcLe-j4d_heteET1XUeedvnHX_gSzcK8qi9wNeraiqffQ_ZMujLQdPmiH_VM5toQiZSWfSaBPJ8oPumMpwNflOyJg0dRLDXeUEI"; e_proxy="AcIxfSTQuQdj_s1_7S5QLC_KY_Q2AOcNVGalDI8rz0PKnBlniwFVJ_92FnVmGBcX74jqFdgS7vwxPInma2g", http_request_error; e_clientaddr="AcKH0ekaU-OTJ_TmC5F7ZIL2-ZyO7NYol8JdTo61Wca_kN3H43mbIL9iQWob7PO6B1moHZKa-Sd3RfK99A"; e_fb_vipport="AcKA16IUCPI30BWwDnk2_ZURsTK8P9SVC3oXJFybJx8-B4vJW8xnLztyHK-2"; e_upip="AcLNQnpp9qJxOfLVeBrdKN1joV8-mVX-0y8Ai23TI0MOtsnhm-YfGAJQH8tsRBye6lrQ4D2WuV4RF-Yss0tPQVfxq5DWet_rig"; e_fb_hostheader="AcJ2rKmEzpFhLn-FDnc0lYG91pHqtFSM7mlj4za31-gAJd0rtTCTvvslfM1oAhGuyNDF7vmZNHhORWD4"; e_fb_vipaddr="AcI9rbCxbF11h22tX5SwcmaIfBjZm3BQFaxOGUc6zfzIdz4ZGjqDjwZdbiEdXunmQ-hFuNc"; e_fb_requesthandler="AcIB8wlNXJWuB1iIk4Kd1-OlJRzWzTLkm2_lm3KopKvSZ8diJ11vsag1DIZAqzl75QdmkmXaAj8"; e_fb_builduser="AcKamcywIJ2is97cqYi4z653juQQ08RvfSlsj4Bcxhrv2GIfGJQWCPyH_Z3_zoMm0y8"; e_fb_binaryversion="AcL5COOdGFfrDQwiFj_Pmp06frXIZujtUPc6Lp9J3-TKJ6X8iTjbE9YhaWIW2N5bt1OCEo154WU2loxeSj9ACaG_fijt4W_t_3E"; e_proxy="AcJKQtnEuanNaSkSHcBBrH03MigtnnqqHmgf86ygfhNG7hxrrzrACXv2O-dUF-9Fd5NmLBkkrPjGvL4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 18:14:58: Error on send one message facebookId => 6534635686653699 01/29/2024 18:14:58: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "Ad8S0ppg9NDEKQLOvzh-HSC" } } 01/29/2024 18:15:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 47902, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyDF8-TH3rgp1kcL3gJQKRp', 'x-fb-trace-id': 'E3JpHl9Bb63', 'x-fb-rev': '1011078341', 'x-fb-debug': 'kW8axzwvOWYEXDa0oan/hlKlH2/s4ahU2+cOInm0ak4fwapT+fHa+rlIbmyIcxyLMsgsoQauU8+o2URzXMn7Mw==', date: 'Mon, 29 Jan 2024 18:15:02 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcI7sdvHdHteBbFMFVtsZiyEvaDMN78wB3SnGlsZDGf-jBXUZXGoBukJpaexaCwty5AkVdrPqfsNyezHawDA3hTq6UXNVwJne8y8ARC39K86QeRarA"; e_fb_vipport="AcLFCEyZVhv5Q7yQXkHaCVCjM8ai9bl0Eoog5HLAfIdzLSchXr6hZLr5Ifna"; e_upip="AcJ1kYFVy6KfpIcbnl8v_ja8CQT7_p7fMZQ38-3koUk597jwH42EbC8Ku5mmaieQChx13YxwzqscLQjfcjkbM-ZCsnd7hSN7Zd4"; e_fb_hostheader="AcKIesoX1HNe1R2cvJg5XHCgCvpC0mWNX8Azjeb6i4roaQCpKQBmV2kwE0hW19iuIiZEzl6xRH5UkUdD"; e_fb_vipaddr="AcIF2_xrCyFWJ_KfxLvg9IqV89dX7ctQcdzZNhME8xOmyLDAp9oa65tKGHQDujf61EC8zUvHyO8gAifNgu1csR2GOCjk6PDRXg"; e_fb_requesthandler="AcLE5jG-l_jWWymAjztqLzFliGaZIIZRV-0MRfAVNLaTChg-epNtAYBz0cZQJPb6CteWZM4eQ_U"; e_fb_builduser="AcJO9GvVowigUDe2EtiHcVMtSB2-Rd-ewbVnvjtKTDh58jnFZewVJVGGKvnzxS74C9I"; e_fb_binaryversion="AcK9LUfFZ6AHDrdz8ITrh0HIxCPmzXLrQN2f8vH8AmX3qWdSaR2Ld-OGhhUOKn6_PiAJ7ebQhhi79whBCYywZV6AKsH0k5MuWlI"; e_proxy="AcInDF5lkgxo6T9JX4xMw4hUzZ5I-uy3NkiD8cLHn0pWOMnsYDlF5_t-RarcsVnzxZPN-KvsgShpAle86nk", http_request_error; e_clientaddr="AcLmVBTMfzjiT35FnrHd31kz4m57kxg_D5noAyVnE3ZvHrkdQBH5wZU1BXj0TOpWorcK7FCCKPLhonkO1A"; e_fb_vipport="AcLDgPmJDIVODRxVruNOlIAvdUGj47HbQFbFF5zF2Qmj32E6xHQ1A3SS6cqS"; e_upip="AcIEQ_-S2slf4O3faXBCPo04qbhgBUNbGmOORhMC3O7rxefeoet9dk3YfVxJN6NaEVnbjEw8X6Sc9yJniDjo1hLMOCvZtZvQHA"; e_fb_hostheader="AcIjxL9BnQfRLAXl7UegtMiM4MC4gf9xrZ9tvMcPgWouXryl4M6n4V80DVI53fMftXX1Xl0E_5XJpUYX"; e_fb_vipaddr="AcKX8aiwy4Hv-pN8iLqLOoidHYUvubXuGmZ9F6rsrmyHyP9dOf1YbxoJuImc9y9pDdx45oo"; e_fb_requesthandler="AcKNVS6ucTIg_AeJdMi2LQF8mLHWMFEEMnAuG2eXECUm0QgApID1Y-yoryERGGGynETTzTnIlxI"; e_fb_builduser="AcK6PMUM-__uN_9GHP0osxJ-MutLIJY_JnGR1XdEFezkz1VX-i5_HLuotpxk1_-ZvrM"; e_fb_binaryversion="AcIF9M7Q5kCFkBpqT8IIJ5DwW5AQK7G6T5eVmSXVx764AOzETh6qdel0t16b3ZjtQOFtc5jcc8qGwfk5jumNf5GPM5Wx15VAPIA"; e_proxy="AcJPyhQuswgoTxEDlQ2oL9EW3WtJbjq0Aa5Lk1ecBRe16J5LXlCN2LgRpYAeyyGGCIosOzPmxXONnhk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 18:17:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 18:18:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 01/29/2024 18:19:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 48905, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEeB71oWhd0vombHbZ67RKn', 'x-fb-trace-id': 'BcIGcKI9Wl9', 'x-fb-rev': '1011078341', 'x-fb-debug': 'kxVn/vUxJcsqr5b8dL4HvefBXOS+BfMU80MjKEo6c7rquTZ4OmXVhEt3syOUKanP1/2+gWwPp6oVswhuoVBh2A==', date: 'Mon, 29 Jan 2024 18:20:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcLPH8Lf0g2cnJo6FjbuG3-dNncj_yimMXvQmtqg90erBYxQkNBghg2EFMIU56E0wl3M6RP4TOGjvHA3FVkM5etSajRCI9MyniZ23jHso-6gCXvC"; e_fb_vipport="AcIyJVW2ncd07IpeqQMQD2rAGvStP4OgIqUDBNNoVZJhYjqBCyNCYQltEwjN"; e_upip="AcJX2AwEFQLTfPntQMIcgL8_WmsEX4bg2Rj0pFGXAsAagsp93EaWP_vUDPYnSW4kqMq_EwZsSgwHSei5bShKbaYyaSWNh3l5X-g"; e_fb_hostheader="AcJAlUBjrnCoqO6ZSS9Z123i1fAEWfaI-RA8g4XTlR0ECHPx97MUlw5kzrQlpEUmH0ZU3DEoDDjG1Wku"; e_fb_vipaddr="AcIAlNuLQiJmTctZ8IeZSA6Xrerr4pPYqfA9gK465XwYnyuKgA6LB-VXDO2T7KMqhV-0BJC1F5ftiehDZRQ3griWWs8y9f67vg"; e_fb_requesthandler="AcI-XYAV3hYD0l8_SnLl0GqPly6_4ZIPtoOk-c8HpfJa17wlzp8xNC3vobbViCb4uCqnHYQrrBs"; e_fb_builduser="AcLUmyKNXT6uN9YVno6YMtBGWxLqf2oHumnJ8kxrE4_GRKsNafkYeXgzINXRly_ZNpc"; e_fb_binaryversion="AcKhYGYy8FOebKLpTBz8yV4-OKAtjAvgQtiaT2XZYFrZPZ_lTaVRJwnLy9oT95FnNOAx3v2YS0SVLFJfIM8kEJUx7COS_JSOIrY"; e_proxy="AcLD5wLdcSYRBl9eMj7LaHDa-WTNVX-O517toWI65nayqNhCnVis6h7q9aliINVXMpqTc2dGQFAY-gsnZfBt", http_request_error; e_clientaddr="AcJG__EpO0rGkJz7QlBmZe9Pqx3jKq_wwtom9TbZ5TYCHZjwH4PfafHG5ocZ0Z_ddH9DniEzdAnglScSEQ"; e_fb_vipport="AcIJw08ehxBvW1vu1hZoO1hh60cZqd9drYt2_oA-tt8RtU4K85ocNLFrBylT"; e_upip="AcJIVnfoAXhikilQdtVBKN8QaPE6f-YJGVY36g2mdTssjIFqYda-_KX15URU5F8wIlYz_3nmAkQJGoxTZaSZZkR_nrfMa6524Q"; e_fb_hostheader="AcL8v9ewx-zliSRSgcsg3Yw3IWBW6EM8UElFYUanFZ-SIP53zsdoCi8T7EkrrDBgkPZzWsok0BP2AykF"; e_fb_vipaddr="AcK3ghGGuU671FPfcIcTYekE1-OVcQ89d7h7EEzo2yblPyy_61_VFCkDEU-F0fyEy7nhTcWCDw"; e_fb_requesthandler="AcKAu-30n6ov5_DFU-mTsxeiqFH4f4R2-tB5cMhVy7MWP6J0FOhS6nsWLvpkzA-0B-i_iGbPSLk"; e_fb_builduser="AcLaPl7Kf_Z-qtMZoXtkPmlyAw2DiDLPV3F4Dz1_oMcjboZ53QUbPhcE6e1RYt10tdI"; e_fb_binaryversion="AcJaE6bRxtcukR5TMBGSHE2O1dZfM7pfBOm7qXA1cR8OCq8RBLw0iN47x-GWiMCWZX80PkOo9VIJ1s36CnGLdX8B4Rq4ZuYaJlY"; e_proxy="AcKuI27l5dfSU5FuAtsnxO7gdhqeMT53vFhhfs3RXa4fVh3z5vOFz2UQ9TjQwSynCtX8bimpM6BpxOY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 18:20:00: Error on send one message facebookId => 6534635686653699 01/29/2024 18:20:00: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "A820iw96p4ICV9WUge-i3Xa" } } 01/29/2024 18:20:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 49073, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKeATvTtJBIFwEbufLoBmaO', 'x-fb-trace-id': 'Bj2hmINiJsD', 'x-fb-rev': '1011078341', 'x-fb-debug': 'q0vYZCPC3ZRf1Hj9knph+LWRI10EWcgUZ4gfIIG/RzNY65BVGRTfm/z0bqArvfLcgHknhcF9wDVAqWfb8buvOw==', date: 'Mon, 29 Jan 2024 18:20:02 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcK6pVBxXTu9rwL76zUpWd0-RKj6oq7RCSBRQ94GXROvRfcCeNv89mp878bvqCAMdPCbszLPSEQRswzC_f3AYheYxNSHqS20lj6n9L3bHzibtXaouA"; e_fb_vipport="AcJ3UhuFbZHCU6UEHABOGaed6XM3QtObxGJqDQ7crQ8rhudrFVRK4SrRK29q"; e_upip="AcJC3rUxwlMajZ8SBVuGnUkCNvuziwNtG7yDFbhd7XACLS09LMgUKQ8OdT5BpVZtjbT8fqyV92P1ekS-HF1Dj18XDTdp5rb5SyQ"; e_fb_hostheader="AcLBNgREHMCdPvK4Wqt6Bp6r0eUcG3n9XLKWQkeMVaCZPMIV3dUiipbl4ZnVUmQ0E-gDAHi7NxUSXmgr"; e_fb_vipaddr="AcJk3Fzdc_w6UHsM7HOO50Hjfbk5miTpY8mClJKRSL4_vCC-Xri2PvZdmgnNYqtBElyk0tLCbDXNRy5M6cAgsKpumZ9AR2Rktg"; e_fb_requesthandler="AcJk2tRHB4mPjCSTyl476j-_0loxJ70HGwwVmfyH2--k5hhdBrHGgeRUAMpzMg8mWSTZ6ZWSYaU"; e_fb_builduser="AcL_9HcgIcceuTRXHQCpO6LBnBXExBPmQk9zesgJTuMRrrIE4hqz8h233bioSq3Utj0"; e_fb_binaryversion="AcJ3xzimbVa_1_DbdPejNi4QwvvGjph4NyBf-NyXPCnMLv76MirHdD-N8-vUFPwEm1MSaPrD1qiId8-x-kNFQawAqa8v_o9YsWA"; e_proxy="AcK76FgDID4leDwTT-MT5JvMw4TEjCAJ7caxw_hOVVaZm3K3jd3rMqr1mM2qbO0gwc8f7kVV6Qf1F7zMlwdz", http_request_error; e_clientaddr="AcLoIuHC6LbGesoXxlerxxqUcuDWhM-irCGVLgbCNERqRATVpKf-A4f_lJVtmt1u8-0tjqTWPUuUFI1I2w"; e_fb_vipport="AcIBrAEYdj0EgKRokpo1DEHSpgbX0NYi8-biv2qr2MfTfFpdTOc2stUz4zX9"; e_upip="AcLhQEo2Z2ERhRZt8FNybuO4n2DDVE69yVa7at925PCfFSpYy5rU3XikG04Visyx_eMxAsdgSfJz1Cjp49RDH3H0Mn_3zlMNpA"; e_fb_hostheader="AcIJapHk43KzSfwyBuPyCICZ5ZKxogm0PeLPsHO3JLvXzv3bjGGyCg_cCZppIejO2j8R0DnwwMVM3KET"; e_fb_vipaddr="AcKeScQspr2gke99f_8A_uFHfqA0ErbGuaSTtxCuJcF5_iB_qOgX3GTwxbR4sBxqe53h48uPzQ"; e_fb_requesthandler="AcJrVZpl6u1gSoDEvlOwf0AOjTNzOKQqRI7QXcDyEy-_BzV5La73S4S_TLdFl4xNV6O4oJaheC0"; e_fb_builduser="AcJ88bp7czK1cx8DOSoQO3DCtbbwIp1cdBuUBImWSBGBQgvmKgv4DZzs-4XVQjxdfiE"; e_fb_binaryversion="AcJLrhxnr3STLUSn9Qa5kGMdW_PsNDjta2K2cBUB9U2N1cGqKIP931Pqj1ymV1w6CDTHng8ceLjGKOnEiZ-rnJ_dG12S61fWTtY"; e_proxy="AcKW-OaJz0lyZe9kTMJqrYfrFQTaVjzybJeO6Ec3ktp-wMixuSmUaxqqoD_GDqCKAADg2yrw53RS_Ww"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"6534635686653699"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 19:23:24: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5487324598058622?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 59764, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5487324598058622?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5487324598058622?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5487324598058622?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5487324598058622?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGBwj7c4XaMr0NgFiK3JGkm', 'x-fb-trace-id': 'BRFjwLhNWCx', 'x-fb-rev': '1011081070', 'x-fb-debug': 'aH6FxUc1yAFpp1v5SZoj/va9A4rRTAcsKJ0FGGfqFzHzQ3RqnX9mvVWFFwoEdN/ybp3YPDUl322xw579kkIB2g==', date: 'Mon, 29 Jan 2024 19:23:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKI76000kQRoEPWGnF4DReF2Ze4LSYhtDlSNQ6jRFShPY6gJFcAOtKKvn7Gsu4QPoqTVHjYuwhTdDSEH5W9jpWoK6voSg8noBg9-jtYSP0rYQwf9g"; e_fb_vipport="AcI8ebEp_8SRw8VEnFwzuNrYUaDmccwSxkCC5DonVQ-FUrP601wGTjNPSn_r"; e_upip="AcLVMQP58fDl2ctG1baZ-oVX1V6NqMuvCJoZI3KkXOrzrnOfXsZMKZMiVFLHK65BpniYUc3STe_jeoQmZYChAcyZpb1XgwvIjMw"; e_fb_hostheader="AcLz3AGr7CGW-0z3AbT4iojHSZW7BSqOqXimWBnb0_hBqQJsBio0MeakekZ-pfF0SAsu6ktiJsxI1XaD"; e_fb_vipaddr="AcLXQ82PvXNtCAkRzPQSzKxoVnFrHvoM0MubEoOSynbHL8L-DtrOsc76eF5Mj9Lr9hxG7x3DEC91pU49PRBu5C0qbvOAra0CtQ"; e_fb_requesthandler="AcKJWWV3X4AkjbZfswhzUunIjsglBTVY-kbZ1f03a1tPaOTmZuFyccJEXGHbJmIuBY608rJEo8k"; e_fb_builduser="AcIvOwS4HcVLkHVaCBB5AQO75CWe77j6yhH2lyO7-bCmPPNp12DB9iYaupXwwjZZaJQ"; e_fb_binaryversion="AcLSML3zeJs5BWViWDKGeF2Uz-6fMS9ukX_GM0xI0rAVnKPW4-viA25Pm9rGjGxY4LIc9N88JUl_a3A_mrsJwpdjltLXgsCYGII"; e_proxy="AcKBwUHmwCRHgywwjWju2pAu8uMQGyWHVg1npr2Dns4YCSk3XzuHzSEEvmxTgQIvWowkGg3yCekLHtZ3Sa_E", http_request_error; e_clientaddr="AcJ4u8B5GDR4QJDKwOuTS_at_lIOfbX8lLyTWWIjXQbYUgm22b-Xw7bELXiRLvDdIGR_fr0mwMLqnAA8cA"; e_fb_vipport="AcLD9KpGCS2v754jGspoO-OoJz8MkdJ1Sg9_ti4lWVy-AblArngzgZSO0UKt"; e_upip="AcJ5_MAqHyFHUJveUD59v4OQMMG5tW51-0nlBiuXNTMB3L4byiql3C8YH3I7os4R4SlZIy7qmxCrI-BKNH_azsjUZARc8zQpYw"; e_fb_hostheader="AcKoIgqcRY7TlAWRVgsUc-zlKvi8JA2viZN355OFZSfXhnwqSiVCeVIGqHDcT93AhM-GoKngVMnO31mz"; e_fb_vipaddr="AcJnc4Ym72yUVG55C_hwNv7u_Qc-vlxcl12Rv1XO_BuqZF829HFeC090fH4K_HXrF910-zk"; e_fb_requesthandler="AcLSSO2mYJfua3WLO170WSN3RyIjJ6ECI-V4_6AJ6IOTDyTADlQd04V9KcgTDEgU0aktAhYoqHE"; e_fb_builduser="AcJ-xsOH4Pz-drhBkMPNxBodle7vX32vSKstzh5LeKGpWqoZQwEmPxzc4kAh9InFrRY"; e_fb_binaryversion="AcI8sUE8XiNksMjRkzTXDGplUsA0xeRgRLpYUcnD5E9gzd7awniUHwANXQ4ZjpnAJBlJeYWH5nkATsOs2DwMauW1VPP1hHyp3zs"; e_proxy="AcK4WZVvQTj-Sh8PjDf2BIHpdZdlaysXsCkRqcrS1U5MhyUacmtuhuN7c2G5DefCvIs4MY9lhCEF_60"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5487324598058622?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5487324598058622?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5487324598058622?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 19:23:24: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 19:23:24: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 19:23:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:23:24: Error on send one message facebookId => 5487324598058622 01/29/2024 19:23:24: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AhCqeMb7kNpbUgmgpfogHHP" } } 01/29/2024 19:23:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 59890, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMVOVWlbncMxqPuhMhi_CBr', 'x-fb-trace-id': 'HQvfXW2LTiN', 'x-fb-rev': '1011081070', 'x-fb-debug': 'cyj/atXWMUxFautUhHgOTQWx1x2fmc1iZOIpBUVlq3++jbIg09GHNtZvsZ13alFN15BLxOZb6ewkUmOeu1UOxQ==', date: 'Mon, 29 Jan 2024 19:23:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLcoecOVOttOJwRFd9ULLXWq9JpJK0PzkVu5acbyMA18KZEuXnNq7A8u6jxk9VG5tn5uZjbMSN8bj1-ftP3DaWV7qvTfN3v7LCZQ-jREPfzjk_S"; e_fb_vipport="AcLTMqkZBad0b1dX-tdk1oNWWZjgHNK1XT28MZOV-wl0wsnVlq8Su-rrGvgQ"; e_upip="AcKj-tZ1uvkdg3mP0A9ysSLbBXUmi9nQwfStMbbwRZeT5SbWleQzLHZkyZlraDMxobQ-ociQLOOll2hGh6gXdMe7ThomWS2mCzo"; e_fb_hostheader="AcJRcQYR7y_iX_3ykXX5ZjJek1Ydko3j04n4AjMOk-nlrz1NTKfJCP0CrhRkN-bgMEapouG5biabVsOH"; e_fb_vipaddr="AcJ8YNbFrY9ahEKJFWB5QdlJ4cM83WwggubZX5IPoQ7tJn7FVd56TEHyRimrm0u2vCGWLEsV8zfJp325M5K2NP0FnZdpnspN3w"; e_fb_requesthandler="AcKdpxX6EQqocCFzU2F5-PvFY9f_dO54vybND6ghidYS-Mx2PlV4PPxVdNcRs9EOvjLUpH9MD4Y"; e_fb_builduser="AcIq9O4WF78L4myWOWFtHjMXnQjU4LkDPOTTFYMJCXmHC212CBRf2zkIEHA-PR0j7js"; e_fb_binaryversion="AcIxuY21wdrAhfHZgdMl9cqaNyvHoWzHaL7iaR4mBUbV1Wrz1xfZmgQvtzqomH0u3ua1n8zTgKvSJfrnQiLay2duVCJ9Nb1IwrE"; e_proxy="AcJ_F-8FMmSA_yuM666iouwd5irtyJyxZhiajnl83FXN1JvkuprV59t8sfqKBpN934ONyj_Prf571uiN8Jo", http_request_error; e_clientaddr="AcITLkt8a3Trd2o-sLYlx3kVlNMOJmw3hXqD9zUNAkEckvE-F8T43o0juDSg_yhVROJv79-nWx7-HdUQPg"; e_fb_vipport="AcK1O5WXza2WGaq0QrrRir7uZ74rb5Eh6OJUwm0G6hY1WIolVDNmh5gHCIdQ"; e_upip="AcJlfFVBeQ0XJ3Pf-zsEYzf1bGwqFwdgKJw7hHPIpl5eLt0Wsxvfnj8JifEPGMZRKCBhpLudfmAqYr4exSV3BA4RZIc-NKlX6w"; e_fb_hostheader="AcKH8BkzssOuQo5_Ocuir5eQJ67oYTCpqy-_hzXLiuM6g9NEe8GGETvPwp9UfbC8xax1kD3SvNf_FvD-"; e_fb_vipaddr="AcLwZg2h11Uy6IalEOhg9z_80baM6LHNeiyh9S2u-wYknUyPOOFhn9fLfJ6hWUINTgZzfd0"; e_fb_requesthandler="AcIBGyaaidm55q6fk6kRTCb755Idyf7kpppw8vxRUlpLWVQWvfVOBVyOprO9DsHMPc2AEywqjgA"; e_fb_builduser="AcJ5pi9vW26k1LkEWlp_Zxj0dpuJjLzr6jcu6mx1pXZXs1P6_7KjWUWZ6FBCVhdYZPI"; e_fb_binaryversion="AcKbSRAwptsNLIbJMY54mW1pH7UMed_6GP5ezH4Q9nOeLwf5eNhIUJq4K1EvPRetPDLTG7wpGKAXLonADAT5pbeHubFLJ2Iu090"; e_proxy="AcKZYVrPw6AqCQ3n5qL9p7rZhJHFZm9YY3hNOlutoHovl00mrhVYpiJSO3Bw8mT7Ck7fNGHEFhR4jxgy"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 19:23:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/29/2024 19:23:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 59968, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIjz5yeg4megVw81nMQIdvU', 'x-fb-trace-id': 'FQCyA6FpBUB', 'x-fb-rev': '1011081070', 'x-fb-debug': 'OWX/t5Egepss3RRrpDXydedU+N6i3haHpUDAgkL6VW4Eawc7QOUgYrC/9UnWcqsiCHdRwU7ju3YLyYnQd/UZWA==', date: 'Mon, 29 Jan 2024 19:23:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLr-qmAWhQVRPjIzvyASz5wyu1WnKp9ueWn0UBk4h6_x-dYxNItI9aO239gbmk0zDn0cEffnMWb0tvdYr5pG0arBQMyXY5PQWM4Mb3Qut52WH3x"; e_fb_vipport="AcKYbJ3Ag7it7ifG8mgRQsTJjqXB9O-TRNh1-7Agd4PDi8MhIb161X2kegbm"; e_upip="AcK8Fdzly4tIQvMealIXcp0R_jt-yyvuloOKm_pCRVQ8cXiCxOAM25_qo4Xuc2hUtut8BKLgffBbSvxZooFFGxEPs0rE9vnhHn8"; e_fb_hostheader="AcK_gEAuIkE1K_9XYDSTl7xn5_g1XabiQ_K1lGHY8Sn6COEzypHADz6E4Seu9hj-AL7ScNsUo5i1PJTc"; e_fb_vipaddr="AcI3zSdXsUJAjX8Dkh8ZpTKhPVV5En9GvTX-_QlQAXS_0jpdL9TpzFSk-puFGnFTbxVNs2T7rucks3AnqUrlpAhuWubhfEV3vQ"; e_fb_requesthandler="AcKv-lYe3ExTdfuSbyjDP-EeW-tTaqXmQsY67SNXLlrGM6y3bbm3FaplrvIvDK1rkdN2vGYmB6c"; e_fb_builduser="AcIAnAztaV3ZEPXSQuX72nlMZPjc2W9FN11jBx6qx0oR6oTgeEb9orjqJvVVTzQQDKE"; e_fb_binaryversion="AcKekWntWRWegbhsbfyw2_E92ym9U173ttuXtOrNAsZwLBaMWwrtxrknSeIwYFfZGJTTcSIFCLWNcTXhh17kiRNd5ea0cYEX0cE"; e_proxy="AcJKkpCbk2uL_bl9VeOhyFiMiKLty2hLVIGTFFSVxtcTy6xoKHjWD8Tpzg-QILLDA6pZGishx67KGkoILRdp", http_request_error; e_clientaddr="AcLgJ8KoULmFZNWbypHYmU7LLsr-BwB-wibzXVfiua0j9oFVPnVRl4XideUdA5TGhHcjjtfxy7PrZziZkg"; e_fb_vipport="AcJArXK9RbF9ikdBVV3VczZN-2yGxnJSkIfmXHePBmOO9KLFuPWPZ-D7iElc"; e_upip="AcJG53CpsEEVyUbylc9EB0FpjRXwJrn2tXogjZMkqwzpWUjZiis8-4OMFKJF5wSwZeuu82WV6G5Zzfmy1PiPt9Js6v-ZAe9zqQ"; e_fb_hostheader="AcLJfCbQxR5IgQlCogE1Qs-_Z2BCX_VWe6SJd7w3speQEyNQTTSJEifZ-usdTRJsLGG-G3bYVlSLBVFG"; e_fb_vipaddr="AcKCV-Xfw949wl1hoEMXWd9Sor4Nv4Adfpz0gZnUJxcXzeSBPAGlmPGRAz3AqXOThmN1scw"; e_fb_requesthandler="AcJ7AbxD-W3AhtXDeyi-litTE_tnPwB1Ng9cCm3_hfvSrWpqbZCBG9GIVZoGwEW9GR6JJ5Y1gYA"; e_fb_builduser="AcJYkWjfhy08zPQypePAah2VMGPYDqeaJDoLq9ELwKf1nM6DbU_dF9_LoMAvgzgokyg"; e_fb_binaryversion="AcLRS4xHsn7REzIo2qTniQNcBhEkRnDnI2g4fl0NoLM6YKG2Ad7DxWea7Z7la4vTaaJ5jPoQhuclVMm8nz1GGjtEFlro4WbvCqo"; e_proxy="AcIvr-cUweAOk_7rLIwtcD-nLWi15DTgcOdqNit32H-fhnTWE_QBZv5ZpaJyKIv51TG9YdwgcrU2JXQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 19:23:24: Error on send one message facebookId => 5487324598058622 01/29/2024 19:23:24: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AjF_stvWeXVK3Jsw1CHmcEe" } } 01/29/2024 19:23:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 19:23:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 60083, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A13sIUqvSvEXno_bwotPMPv', 'x-fb-trace-id': 'E0WEKU48IJr', 'x-fb-rev': '1011081070', 'x-fb-debug': 'DdB70bDVnLnp6Odp7QJRRsVtMqhvvWETSpbhxG9kf4QwtAnj74sBeRzuuYdf/lZ920B78Zlcmh03NIDwutXFNA==', date: 'Mon, 29 Jan 2024 19:23:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKv9h_LPSgTCh1QHXInaOxm0kc9SLCJEx2a92L9D39-9bZIzS6geLwyHQrHwFd2Ut_Lhig3msvf1cwrPmgeaYUccOBAGrbgSEdsYqa5qUYaH8Vu3g"; e_fb_vipport="AcLW6aveeMZ5t3Rl2KDHPbPok-YkED6mXmYb0VsSVgy7wtCrhcyqh073tYZk"; e_upip="AcKe0jqnJH9K_v2k0toW4_zcvPcccDywRiS_Pg6k35IVEm8UrSgBiTWqVBTTriZAnL0j5aar4scNXLnkfRFl4mWgD-dyutYokSM"; e_fb_hostheader="AcLXIBdU0E4QOPOoKbkyPyEfOzw81k0GD0zvmrj8JW9Y5qUEeShZ8SVh1GqE8HSpmivESwKFMbzuz1CP"; e_fb_vipaddr="AcL-Uf10nyJ6qvF5LtQw1mHxrJuW3RxUDQQ95DJtGKYuYBZZEB0BYjrT4oh6EbH1F0j3YWU4PmkyX8MhSJulZvJ_peoxEbQPgg"; e_fb_requesthandler="AcKfbUk2Cx0loJHPss6wRb_ugqJkiPBMHYBpxq7jnrqX_uRARkOAn00w-i9KuiypA_76cGv8IXc"; e_fb_builduser="AcL9vDqib06ey50RZ-2_J62WP3Zj0Pf1Qx2tT3uhP_-RQYpU6cPZhKukfjY4NAOoIU4"; e_fb_binaryversion="AcKKW3I_16zgsH3HXQNnQK33LHigGRto8YfpOxZTRZzq8xRXm79off1kfeStkvCeRknq5mtOZ0FrODA-NkX_5muipAG5DdHDj9w"; e_proxy="AcJ82guSItduiZdrrAWa3iBRejIkC658ZsqfmZrjpAzS2BXYTpNbuQ0TIa3SCCRKyROYafoJshDXgm3WtZRK", http_request_error; e_clientaddr="AcKskIEpUgQfCQHMXE4qHh8elqrRm6RMQwqyN7e31ki5zeXzAdoLsGL-Mav8wuvZyGNWy4eA9RtZDitzjg"; e_fb_vipport="AcL74xaMzzfp_ozYe7LZrE0MmVJFjhMmH5kNDbjX9VRavu2XTQ4cc_MEGsPF"; e_upip="AcKU4vHLVQDNXJCzv2ie-k0Bq377cSMw6KeZegrBZXG7lk4YyZ7DFs6LCBqMuStUCIzGKV_Ib6JbIr2mIAKsRcpiKv5lqhzIgA"; e_fb_hostheader="AcIrTAPBvpgOtTrAOxHUzSuiKZ3EcvOWrHF97Aq8PVNWXoRY-nYPZ-WxeB-rPkPOnELJ51N5x3z5ESaS"; e_fb_vipaddr="AcIywh5KIHhN8pWt7bq4I50fW00hS2iOFPAaCXx2FXLCVnS12igvvzaJHx_9YHVYEUb91xs"; e_fb_requesthandler="AcIZ3FKA5-GCvd9MQ44YYAyXET6sIR59Kq9kPXNnceyD61FhwZoi2EUUa8KkEczZ8vnARaIauxI"; e_fb_builduser="AcLZWuYYob4sgkVMu_a0v-P5DqqHdY2Cf3D2tbSJ97mWcmQsrPNmEWre9xkBQGCjxXw"; e_fb_binaryversion="AcKrF1PBVDfmxoTDWf0-qSDkYpFRd1UMpZvGGYzoEmEcqgJ59x9beluORPZhVqlA8C74RRRKyUCtvzC4r1fp9agVq9Gi6oRtzQM"; e_proxy="AcLcpf80-jUYtfCgx18Z5_dFPqTWFqqb-BB8aSjooi02OtncFDTL8gCQEoheqnlNBbhB0fGsfKJEeU4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 19:24:21: Error on send one message facebookId => 5487324598058622 01/29/2024 19:24:21: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AT6cay6Xxd_YH9ATYGO_vLJ" } } 01/29/2024 19:24:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:24:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:24:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 19:25:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:25:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 60762, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ar-ypfCOXBibY0Y1mcLNLk7', 'x-fb-trace-id': 'B5BxnGv1yFP', 'x-fb-rev': '1011081070', 'x-fb-debug': '2cfM1CcJINWj4CrG47Zfxu771jxuWZTlnQQmEw4XnF3YUSIL5CGkRiIrycNRnHjJSg/FoyYWcp+E/Kgr8yW4iA==', date: 'Mon, 29 Jan 2024 19:25:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLkbtS_cmW5vnvz5owi0PPNSk9JrLhBVt_cWjF-dtDu8sf0JDIqqeaP2fxcNiB6ZHehaFZpj3qOyvikbvRq0FMQwL6C3UtqSKkdRR-tEKTLNJM"; e_fb_vipport="AcJqxpuIjHxhcBckynmugWm3cy6OFQ45FqYtyKPpsbs37tYOvcXFFuA3DyV_"; e_upip="AcL1L0qnPV2wh3Qbpq2qLKDS37MLNodpMmH4jgBY8jhvBWwhFp48DiQ_o32ywOtEfMIrLx4ZJ96Sy7ulPZoK0tqrw5fvdNZRzbA"; e_fb_hostheader="AcJA9yiO4i0PY2Kz7wah72WzVDIInaYr6h8DP65uPjb-vu018ytyUilbA4pc8ANl71o2hJW2VwML6XpN"; e_fb_vipaddr="AcLuMFRujC8aNHnFDiI51x7UekfYn84bNBjXz1ZgFh1yfS5uRzsXNXRcrZELcWebSAoEazMzS67gunVXZ-ksgXp7zmWnPQelaA"; e_fb_requesthandler="AcLCooKj8fxAWbeVKWq8Ns6o6_yV39Aw7uzcr8yUexb19FrthmjcbURlrd73dlmfOYCJdIlw_bg"; e_fb_builduser="AcIRJ85lHN-pufTPFCbqjRRRWAAEAXaNlwELTxCgRZiOa_JSoSBjTPLG19vULK0z2dY"; e_fb_binaryversion="AcL5II8BKwLfxUHN9zojpj2bUtODpwclMEdL8N1z6nrA3561G-OBha5ksbCYSA3B1j_qSZbtTG2RtxS1VnpJH3tfdxR7Td7PUSc"; e_proxy="AcI_aistJDmaGissAKMyHhQiTaQIPiAgLtZYY56-OHnTLDjXRmL3i21pWiB6F-rmaqcPcknJKsudNKoF5jnZ", http_request_error; e_clientaddr="AcIzQuMQEYUOLc_Z2OEvkk0ZZsOahJrIUs9hfhfgb6fYrnSTkXEk1FYfS0BZIH1mNwIfVYdDcnOdsVwtOQ"; e_fb_vipport="AcIQgRLAhsZ7s40Abn2RdO6UDdLK6xnT3S93Pewc9wDnKn_WYLdH_zUZpkdl"; e_upip="AcK6JnwTO5jNb-M-3ZbxfZyW6_zhMXMHCzybVTxOeWgVZAEaSMwmsFxJLUzPrRA0mT6foKuc-oQkxW9zdW1-hGUIyJX0sf27-Q"; e_fb_hostheader="AcLflKqEStCnbBJQOldiU8lXJzt_Ajz4zERUlB9-JLBKbZtQkggdmv7Lw__H3tHodBiuRdrrhwlwxtNv"; e_fb_vipaddr="AcK9N_fj-9zksMQdp7FVDqQgI9jZosH6WCUn74jU1lJMSLLCXEjhwtqSApKJ10YqoWgcrWPNbw"; e_fb_requesthandler="AcKynqk_OCFIcgqyWDxNUJXlxjyrnXJeSTRF09h-T-aRb2KHhI1-kEPo3ViIO0cUdhs2gSaJJRU"; e_fb_builduser="AcIvybfX7_xYOwKw3WTb_SPkwMz1FrpDjADLfOvnYGoXXwuRNJXmTGs1mPggf1Tl2Cs"; e_fb_binaryversion="AcKhoSEE_b12uKXbwHjxo-rhhKtzxPlVFFf3VZa8v2bn6xsnHH-Ltqy9SWO6J29sG8F6Wc7NP3VU-RWpR3OGzgibIqGfz_llGg8"; e_proxy="AcIHkFGSvYlfIldcUUV9r0KPRHuXXEIzZJOxidfE02tz150b0_mHU65etCGbG6pLI7HZJskbRRfWRh79"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 19:25:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:25:04: Error on send one message facebookId => 5487324598058622 01/29/2024 19:25:04: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AfX6Nh6QxNifE41JIy9uKMH" } } 01/29/2024 19:25:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 19:25:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 60898, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0Hh89W68tqxpBWb50ZVElw', 'x-fb-trace-id': 'BPeQ6/NJh8w', 'x-fb-rev': '1011081070', 'x-fb-debug': 'jenOPnYBdWeTIAxhTMpPco5MjBlc6shsY8cvcrjvg3VI6gakiuCEHAdM70wb/WZ4op1e7cMvEkZGs4ac4YUS5w==', date: 'Mon, 29 Jan 2024 19:25:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLyODqdipy96RuVSpPIe0muOoxUBEDa5rKFJFTennqwmk1esTh8kehc9C05vuA4TfOjnat3dIhvTYBGlGFW5nYs6Cl5ATQucxxGcFEHuVFJjwnm"; e_fb_vipport="AcKZ8BVL9ABk_CN0btRJZ9Vqt-FL9bl38jWmhRaNQ4GvnrjKJI8Dj_-hZ6py"; e_upip="AcKoauA6TweOg1Tgmg3BmzXuFLLqHuE4b00sINYtGavQSzK72dK5ngKmnQb0TlKH1lb3_2EtHWa2BK_g6fvZpyUIAOM9Yu67Og"; e_fb_hostheader="AcIkGf0Y-U5Q2sXKj9_x46hu7BhKBXZ_O1FJutjsP3owIIsIweQG4r0l3hhCEG3IVZzwKXGrKk4NB0-g"; e_fb_vipaddr="AcLzJYcH8lF9pf_LsdnCB5Gp6qgdEXLIxzjcvtXxeoDyXUaN-5PMp3CzTneYPDDEy1QyD4OmnvQPad0LGiDWXHXPtvdm-8Uuyg"; e_fb_requesthandler="AcJ8AJzA-PXm05stsVK7zfa0OazhSjQOuEmBe42MgN6qicCTA7nuIKjPKYEXLZB2JxtyFyW0ckE"; e_fb_builduser="AcLucmnC1UPMMzOiPnabIOCFtmXJG1nUQi1yLHO4ZQqUWgOPsaYKgpODEVD92HfliFc"; e_fb_binaryversion="AcIBdN1VQEFgT-QrmKToEnsPnaYzV-xtve-jekbdXZBEfqBl7KhyENCDYwD0hMijZ3Rx_6qXR4DSLz-k9bHs2eB1SYw03UeSPJw"; e_proxy="AcLxwwYGRXNvdxAQeZEut4TMhO1pBs2_4Zpw3Xg_uSsjOTHqv_2Pi3HDL2NChunzv1HLF9SmDypgRZSJjLDo", http_request_error; e_clientaddr="AcLM6DB1SdWhacwIFGrQNI27y3bvOLcp1iKxK0dSjq_SJVneARn-S2HdRTPPyjKUg_hkgc60a7qFWoFGbQ"; e_fb_vipport="AcLijO7yBD7dhVfzXTjpCUNW1Ad7P02WPu7-uqwiYpMChUzoBljmm5lulFzO"; e_upip="AcIYnjukgkqhiYAzf2jiMp27Qr5eUTy4tuCUqDq9LUrj8u121NhRCQpLS39fO6bdvLpXswDOe4OH1ult21CKJq_kq_QYPbBRJg"; e_fb_hostheader="AcJYrRfhqXOfeY0MqJ87Xma2HsvHT3sg8kZD_yjj7Ky_sYmqriUjfrfGVMOFpE_pdgQh-KBNm9kURmLI"; e_fb_vipaddr="AcIv4DuaTy3gogWfvdiDIhuYe4OmbD_JOji1xpR7KvRYzIOkbAkpKBJf7uruKHUrZRcUvt2BnA"; e_fb_requesthandler="AcK9hkqnvFWKdgcOio76Vj88skH_LPH_ww7eRb8LRWSKzL4y5tQdAw5Yboy080EJKbPcxnbQT3c"; e_fb_builduser="AcJGBatuNfsyUppCYnYGvjhuCqF8qa32qOK0cYGWoTo6F5eIVQmq5W_kB9CVJ5-0LHw"; e_fb_binaryversion="AcLlP4fCaB9HImTrs0kv_3y4_s_-f0PTeKzhU3EHyGJbwM_rLZRCt3plRHMyGRiMrUgbRiPnwRkjYTmoQroaBEPMTYrotUueuBs"; e_proxy="AcJTLvKewLxh57xsQCR0b80tptXwZIKw7LtHSI3dMyyOLsHaQVZ6IYowNVSN8H8p4ZVvLXzPpeWh35sk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"5487324598058622"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 19:26:40: Error on send one message facebookId => 5487324598058622 01/29/2024 19:26:40: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AIJ4OnwwbeA7Q5mTssFuO-6" } } 01/29/2024 19:26:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:26:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:26:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 19:26:50: Error on send one message facebookId => 5487324598058622 01/29/2024 19:26:50: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AHfIcLa0zFDalBrKZrKAqUY" } } 01/29/2024 19:26:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:26:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:26:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 19:29:05: Error on send one message facebookId => 5487324598058622 01/29/2024 19:29:05: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "APGV4L0ERgChO-A6T1h38oF" } } 01/29/2024 19:29:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:29:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 19:29:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 20:19:22: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24896491609966347?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 70996, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24896491609966347?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24896491609966347?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24896491609966347?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24896491609966347?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3BaqziCAjeMLTXwsZ18fNQ', 'x-fb-trace-id': 'DZl5UZq6VA+', 'x-fb-rev': '1011081070', 'x-fb-debug': 'NvN+QrN0tXj/BRnEdr5JXO2fl/dE5R7dP/iTLuUzzcgymdi43CpveuFVuoWCP0uQIg/1SUlhBFFYq2qNTDFOUQ==', date: 'Mon, 29 Jan 2024 20:19:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIJYtfEG6v1JNbIJL9NC8Jre_k3aNxQc6-UvNJQW8ZAmRGb_USZVNOhD0F-dRNxUCtNCs_73g0-GSJVO3YK31Xyr4zzuHvttn08VRKlw_QhdmIG5w"; e_fb_vipport="AcLm35JNs8qYA-m-sZ1fdnHGJq1J_cZggIjyjjMSX0G2ojg41qquczbtfSBh"; e_upip="AcLYCr5FIFLBQwxQFr06ZihJ-nYNuu9ElX6fCSvdVddanVhLXFMniWtb6V0FgdugKtRT3kRBAJPooRUgN_xKW14K3J2KQG7R"; e_fb_hostheader="AcKYcOPn2fxCDKbEAt9wGfpaRbPTzfvUqljUMUHGWpDDIxkiaGl6vg0tDOSAiYbkxNQXY5BvdcelqLea"; e_fb_vipaddr="AcIRypwA3mfBVMSRbcmOW7E4N3PwNIFmcXuAeIksdGvHyMtXxlxB8S5pDRxommArCi7tidWuvBUyORPw1Rn-syk7x8eupdAJqQ"; e_fb_requesthandler="AcIplNJ4tB8nvqu14ZhOZvlVd9s5GjrcSuP1gpVGWcnc8V7Fx_FP_ecuNPm2svK4fRV6b5M0HDk"; e_fb_builduser="AcLaNwFLLP3R84ON3677XTp-viPfK2z6XVxF62myFrv7s8B41i24ydYt6p84Z3mL3BI"; e_fb_binaryversion="AcJWRQjYmcsguoq4WNskpdmg4SzmU4gKp7mMxCpk5VOxlBQ_nl2IQsBrdaTYNm1y6QDGIb9QbsutQsZ3bbAUStTNkGnqs4ap86I"; e_proxy="AcK9akJfT4XNuYmfTEXn7tlyWA9SjLDuSrZdWlMOPZpky_P6rYXh3f7sUM1doQ3q4VPg9AH0Q_BjR-mBLjiP", http_request_error; e_clientaddr="AcL09DyKikROOynXPUfCSLl1ZK0ks7bNkKP8dpn_UkYxwrTworIpZtAOnG4CGK0rJiqm_twapGkWBzWHqw"; e_fb_vipport="AcLYzqpmTXSaa7XHB7ckByaDJolX-nVcpf7eECE67SuJ2YiEFj2-RSoNFqNo"; e_upip="AcKf5-2dDBYh5c6RzAOhJFsR8us_pr3ugPd6srmBv4qpZ9Bigzg4TViCm3tWwtV0Yk_yqp2pC77E4Usy8zeRYlkjLj-IWZDyKw"; e_fb_hostheader="AcIaE6J24hAG8Cpw45U3aG7EfLfHMaPH4bTFOFI5YB0qzHeZO5e_41JeD9ErDOIWTNMUSX8m0zbJpbvD"; e_fb_vipaddr="AcIlvEPt5FdYnX9dr5XP8Ac1hwRwrPDe1ah-mtlzYmc-lfWuT_l7Xq-H2C0pOYtdn4U0iZsWnw8"; e_fb_requesthandler="AcJiXWrPy8G44LhuxTHtmbnjMaobuD0FkxqrFTIedS8_tLQSYHsasuZ9pSgz06OCsLFjlnP4c6o"; e_fb_builduser="AcJYx03AS2aPz99tRSM3wF1X4KsyFtmMQ_9UWgiYGR1mJRHkiEVldKsDwHdmzsLu0XU"; e_fb_binaryversion="AcKj1-qX_Y46qqJ_V_mOni_FknR-K6JfRetmOtm6b9_dZnn12bjSyfQwCk61fZo06pZvc4z8P2JrQzW_pggmoB3piSx7elcVjaI"; e_proxy="AcKLLbnGfETyU6DP4iXhfLBRjXm_VmTiLwlHR7RV--BSimH_wCsODdtMBdX2T2VNj2uObrK-R-C_wBE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24896491609966347?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24896491609966347?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24896491609966347?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 20:19:22: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 20:19:22: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 20:19:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 20:19:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24896491609966347"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 71120, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFfU99YaqPKP4nMSOyoHohg', 'x-fb-trace-id': 'GFkJaPi7WyM', 'x-fb-rev': '1011081070', 'x-fb-debug': '45WZUmUZpHIO0aT48XNrCYRm4UIHBbToIxwuRbmHeJIH4kENawUGj9sr/KmAYpNMT13BgDoC3o0oo/GYZ7i5Gw==', date: 'Mon, 29 Jan 2024 20:19:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIN0zgKDGn0rhy29AxncPB6g6gyJZtFyurF49TjKUgxbo7BxtSVeAYReBHHAp-ztXSd8jVPlJlCGsi1Ez9QU96oIimPTYqzSUUTH2RUr_tIkWEcyw"; e_fb_vipport="AcIttvi_R1iitDFYwwuGPmpA7r0BAL4vdRkcHi_KIufmp6yshi1T07ugf6rx"; e_upip="AcK8dJmdU83Xv98VVxp1OW98XKGWZAuvoj0E2eEmmetZTXgHPwPJ6s11YLc1PjQrqaCkllpFsWhEj-ruNEdb1pi-PpLe3NaBTmI"; e_fb_hostheader="AcJAP5hIb0BQA66rWoIUALfF_iShqBzTKTPA6gQ80Hm9li8jMYbSF-goQgpoTC5TfZh6p2UuR3urB5Er"; e_fb_vipaddr="AcJDChdc12zUPtKJm-oPgntduReVVPS0BWgxlosDT8cviAFsNlRTuQmHSpfW3zSLlUvjfoDCfrFdTZHsvXU8XnaV_w0nhJU0Lw"; e_fb_requesthandler="AcJzAJazk0J9V3wA8wz7wXw5EV3AbAX9u3Yo65_vA-KyfHWj19cCQ8C0Tczf0JcT8lPOSBFnmr0"; e_fb_builduser="AcLIkEh_DcyE_HqZ0dqHRcLosjk8EvUU15pUhbhUXCUQcBUULQM1EfhxgAk0ZrTQylM"; e_fb_binaryversion="AcI93jBEU8yF_EyPmqwSHNfEc1w7Gx4WAlYpWAef2BK8bjT1WhmsIxTuQR5ewjF16Pc9rXYdg9Ip_fhGSKFLoXCoQZJdEGq-_IY"; e_proxy="AcKiv4TDdERZo0iFOOnu3LP2U4wsBnbFzjqvtTrcY1s8pv_x0YBLyAdhqUcmYYNPZodG6fboHjDbXXOgpNQV", http_request_error; e_clientaddr="AcICWZhB8YYaZYHrLUnSS-L7koB55DECVF8jVmL4kon1ObSpAg9G_riNApEWQP7aug8NNH-IHu7tmdMW0Q"; e_fb_vipport="AcJAt4a6bVyKDod-CBBZ1i2rHbMcjhMlzxZaLgozlmj8jON1c2CNFfmgOGRx"; e_upip="AcLEi04yN74zUC6usHcnmSDRF_yGTI3sCsO9V2S-WvbLBRCdpTURWKmFaJ03Xf5ctEhF3XFFX-XENh2gNUlWdcc8VdoGOyPhdg"; e_fb_hostheader="AcKZ23yGe8MMLI2D92eTT89sVr5gVYDcNWremv-2TA9g5MJKx8X7XDIaQkvGtUgNUNIlKp5RufJTOQ3o"; e_fb_vipaddr="AcI3nvhOsASvEbwGhJrYxjjifaqu6SiBNm0kEKGu1ndIB8AAbIiU3jvDbUAd3e3vyhaFHVh9Uow"; e_fb_requesthandler="AcJOryh6yrU95u2A-rxLxIgujO60oLnDysusIubIcB2cvaJQq-9u12Qpi49OEZH6GvwhsJ7GjIA"; e_fb_builduser="AcKFDWFrhBtkGtIvTfDqq9sUDewSWWmI9YSBDQnKB7bLSNi67tinW9tqK4OqVJDnno4"; e_fb_binaryversion="AcJL3RxEG0o82ecKs1Ynzk_g1XJRu6Ttox1WK-id8Ba5SaO085OCZLZBwolqAtPrJwIVDt06heJOP__hXOQQtPeJqHV4-iSTiUM"; e_proxy="AcLr_OIYtkrQZ8tSI_kvvV23xyLtd5m4t9oGxWLPaymrEmW3z8VrcVq8Js6D9HvnKmSO_x32Wec1qu0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24896491609966347"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 20:19:22: Error on send one message facebookId => 24896491609966347 01/29/2024 20:19:22: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AXxGPcR0YRG5Uasc0QtyO2t" } } 01/29/2024 20:19:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/29/2024 20:19:22: Error on send one message facebookId => 24896491609966347 01/29/2024 20:19:22: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AJCD6oHZHrLSXoXigJ2SBqs" } } 01/29/2024 20:19:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 20:19:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24896491609966347"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 71193, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARPIH4TwQHPENr1or_enApZ', 'x-fb-trace-id': 'E3HUbhaymfe', 'x-fb-rev': '1011081070', 'x-fb-debug': 'vmN+YfI9JdJWuJA2mwaaDyUF42pjGqIbKy6p1bi3ZVHj1JgHd7anTnAQQHTKN/S6XovncFgjmHVSuR6djHgCRA==', date: 'Mon, 29 Jan 2024 20:19:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKHcFoUVMdoeXjMmfDTgGCedolhkI8JXtF--4Ao8gbCrQlAwwdTVdUX8-dZIdukSlPG2UNYC6KfQtIKDs6cqgjeZiFhKAWCj_dTzIjVYaWvb4OYXg"; e_fb_vipport="AcKSq2122Iyua1mgQy0pYkTnNxC3OhfLlItmiqms4ELnyreLQbAqmZWhee_N"; e_upip="AcLuKBL5VUF7xz3fEpAGBktLb8tdNZYiqape8jGSwwyKO0vkFXHhOxbXkzFVKzFqCSCC5NTUi9WGo3GCIcOQ41s6O9X9GfWv_Kw"; e_fb_hostheader="AcIuYs1cl9sgGG2Z1lnkJMj6nsUIrhYQd45M3m8DgiJAzn8isB5g1ZHaQQ0Ia1jLOP9FbChZ7K6SaWZ8"; e_fb_vipaddr="AcLsjs2luRcN_lCUjEcpLE-Uj2YGzatL2YMeyybQYuHG065OE0DMrZltl7r5Uc15NEb1uZivtQc1U6OjN5GwbazBOUQa29QVPA"; e_fb_requesthandler="AcKRv_g7lQwBAkQgqHfiTYCKwWbap_yCsVEdMqpr3lzjL4weBcbueH4TjKZ5UNkXl_t5DE8jZaU"; e_fb_builduser="AcJy9THJNG3SYQlHATI0PVSaDAh6AnbK6KPUWM9NUZakRjF0mwAM83I3ivSM6rPGSE0"; e_fb_binaryversion="AcLNAB6Ep9pyPSbNPb-ydWHJvrEZqcAqmK0vm9dfi_8bs2daFHO7Dh4P_I0es7JRH5XmBeiqNYSz4Tj9oUCxGbbHjPQG57GUUC4"; e_proxy="AcIL0yoPHtpEJMO5N9IBn2jwzTG3FO9GU4LX9rPGbD-2tg_M85EAPQ4QJJoGzQ3SzJrxVCsMFA4KkbacZRza", http_request_error; e_clientaddr="AcJGFflYwP96-l71TINvYWwGzUjXpO5Qxx6YKTpFktNexIZdsvy5aQ8dovlLc5QvxHboQCuOsLTGb8LTfg"; e_fb_vipport="AcIVlQO2XBSDAd56Qm8LbtjVy6inkqRBOUfzl62IdfRSFNPqJ-yh80Zikn80"; e_upip="AcK78S99brZN2ADUHgHCSDNT0ndS7rstz2bzDPYPUmq58M6yJ7C7-h8jw-o7tgvvr6eUk9AsegFX4ALytw2HG3gl5yrksgK8aw"; e_fb_hostheader="AcIhXOaihlxUE8eW6CCy3KZtBIBsEyU4QQnICk7el51NqAeLigu2_LhnDQjD0uBb7_RJcZL_JXw1hqJe"; e_fb_vipaddr="AcJwnxGlxJIbj0ytVSpLxMSpi1m4RS0aLyPWIdjNfK_UJ16W1IpNQ2gCzGlqFyc40bxNTKU6WfU"; e_fb_requesthandler="AcLZhVU4fAxGnlgq4P70u4YqinMtOeFsdICxB0uCaZvZ3UROCwI1boHTG4pLZNYFPLK2eAwbzOY"; e_fb_builduser="AcKPDNaAz6QEwBMqz3cFB8SarKEadkCeEIjK69IwA9welY_aVW-62HLQ6B1yVoVCvv8"; e_fb_binaryversion="AcLJWnIEJyqjLgOrmstgadVnN2A-rnfZ0dLZWJXxWUEdOl9wiFpK0DEMA3-_R1DH8cXuARL54epwuIQUNADQtyKmJsbzwEYmKkQ"; e_proxy="AcJ9EiM9KgCRVC1LQKq8YzCITAbl6uMWSZphEIk92J-O2jViW805JiZ1i41lS9MT5q_O49eTsX3xQKo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24896491609966347"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 20:19:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24896491609966347"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 71294, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AleOHIYnyYGTCNdBcKBrFDh', 'x-fb-trace-id': 'H5nSz6yigVS', 'x-fb-rev': '1011081070', 'x-fb-debug': 'p7lZ2ibIqlWBj7A1ZUVkDukQhtTZ+I+aUXgBKBKP1dDeJfyPhhT6FeJy4gvbOYtaRQAgc2fLtL8x3wEpCgHayw==', date: 'Mon, 29 Jan 2024 20:19:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJloribodVj49eyD9DNwZbmW7pTzl9OoxbXTxy_m0Rm9GPcjA6Ue-nOgC4h0U6_oalgGsIoS_buJ_eE3WjahOyQme_5e-owE0XIDaE1HmJzEpdHsA"; e_fb_vipport="AcJzfBxeRwpw3nuBA5ptTVi9Qb9ifVkwesJUJ_pMyx-lUWfgBCjhfv2wLGxN"; e_upip="AcI17pPIWq-f4QRehFAgO99wElx6GLZFyCVJhYYwOF1pqg5PiW19HLXC-zb2gC7vzjcEa8ThzQNSNZPycjYeNoT-PkEvaMXYIg8"; e_fb_hostheader="AcJl6UHOWYnWzXVqPM8nRXSLaskjmUmJSTIOd3bG_lX8iQSZlfPxeo2KCZnk4uaYWTKUH1MnmqwhKhUZ"; e_fb_vipaddr="AcK42Hbwf-i_adF0Z1p_YyCiUcImqy9eDpbiN4V0xvdRMwcg4EOkraxGhaN6BfIGStuEfRy_qV4hvPUnGAW6mfxYxfue_GHaYA"; e_fb_requesthandler="AcJmYTteZPsHxdZpL_TkVlvR3w53ufUsNy5B7kJkg2QgStCcf6IGNlJG1aZHmIDrn70DcTp7AX8"; e_fb_builduser="AcIsJFfysgaq7s7T9sjcqLJmeN-QzUTTkE4-wdLMFkaX2t5_aynZJRelH0c16lqCnYw"; e_fb_binaryversion="AcIc6eQp-ZhGmRWDdXKTOH1HpCcr0mdWDdg8Q7sRbVb9q5iCcp07RkA7E16QG6zBJ7SorzhfingjrcCjE1QQ8e-6x7hqawc784E"; e_proxy="AcKJMAKbh2X8_WDnWnSbqlIPdg_yLMJg9iF5KH9tQ4y_4_-OM05kvEFVVMmThXFrEuJHAoz9FDLuxLqg1lPK", http_request_error; e_clientaddr="AcIQNiNRurO5Z7WjEXnzVK19CiGYDg6a-NJoaXzZme7iYC6kPddKvv84gUGYpgNIC-wBtYSZ-kAq46ty1Q"; e_fb_vipport="AcL0FNwLpUpFMLJ1U3PXTFxZDYoKLI4VaUh4Bv93IXFStyUJQuGSj62EWsPh"; e_upip="AcLPu1lMII1-H4-EWbV34YQdlZavQJbQ1YTvk_aCkqB-_dv-SgdxLwSZvQpqWrs9Wrq_CH_Ov1tWhXvX2vfMCxGeoBu1f6_tpg"; e_fb_hostheader="AcKeeH0HxGHnvDQO3YrRt-LF1bWEhgfXuAx0-XR4O5PSF0nVm5FAmr8gMwD7Ls5LDPvwm8tP_yXyuARs"; e_fb_vipaddr="AcJXxvwOzgK-MBhvb0gE1n2XhExzw8ofJ9y34RpSVhqBijeWF8meYljOcOIciBK8qe1v2qbWrWM"; e_fb_requesthandler="AcI5zxT5YU2OkS-JweGLVsLxmm0RF4cZvvkhjRriG8CiUIxU3CdvAu8LQOOMYpzjkvKRwcDGAk0"; e_fb_builduser="AcKcJg9xJTqc9810cd6sgtqm1vJmWZzXp5U9UlaZumFdCY_SNcr1rbXo1v8Q6RrrcX0"; e_fb_binaryversion="AcKQO5vyvO0r8tFiitDE3VcENRgoFGyDmOxOdYEfuE1LirOSdx82hPSRwnPoCTqeVsc3Tq5rEwevtyGwGvxzkxMsKi_Kp7OPmY0"; e_proxy="AcLkPPpGACwyTTxfNWy1XJS8vpjCHbTTz-iUWF1XDnVnyaA1dHqqXMjuigTOR-lrSXNzBWPZR6TD1II"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24896491609966347"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 20:20:03: Error on send one message facebookId => 24896491609966347 01/29/2024 20:20:03: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A19Yu7fdwGD1INazqbhDW0D" } } 01/29/2024 20:20:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 20:20:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 20:20:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 20:54:00: Request bot not found: { id: '133788230054854' } 01/29/2024 20:54:01: Request bot not found: { id: '133788230054854' } 01/29/2024 20:55:50: Request bot not found: { id: '133788230054854' } 01/29/2024 20:56:01: Request bot not found: { id: '133788230054854' } 01/29/2024 20:56:50: Request bot not found: { id: '133788230054854' } 01/29/2024 20:57:41: Request bot not found: { id: '565033343594012' } 01/29/2024 20:58:59: Request bot not found: { id: '565033343594012' } 01/29/2024 21:01:04: Request bot not found: { id: '565033343594012' } 01/29/2024 23:53:57: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7173262282758030?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 108492, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7173262282758030?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7173262282758030?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7173262282758030?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7173262282758030?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ap_cpU99V2XBSHCFABvRrmE', 'x-fb-trace-id': 'CoVBogeUcTW', 'x-fb-rev': '1011089167', 'x-fb-debug': '4Cot6V+WmhJJZTLgPJey/bXsA0vhtYUMop6GrGwQnJdDNu7imS7N580c3QQThcuXQk1njWRXtYkH7bb6gsPimA==', date: 'Mon, 29 Jan 2024 23:53:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJkBWL9oT9me2J3TF_r78pDuACrKSw-rb6CIzveCm1snlJPJar2Yhd2Z276HQ2T1zjYq3Pg4-q_K-4C6qzfKR4EWlEonGNZIjENybGRvCxCDJblrQ"; e_fb_vipport="AcKJge5jnC15IIPyFI1qEVJFwvawq50MP-RblNGeXmvnr9akfFXittHFDO8x"; e_upip="AcKkLjpbpQ0LY6ryCtnzNT8yZZrSNp0RYvkhRHhnX71fD1YB_MPc9F1Tx5oz5hhs_Sa5GZWWb3Z7uw45Ew7--ekeZm3vj010UMY"; e_fb_hostheader="AcI7Ws_neTzUlp3sBz3AJ0WRpqLV11SUT6q4OnFJNXwqAiyEx-OjAo1Jt6oNAflKLWB-5G-Kk9PTqSnk"; e_fb_vipaddr="AcJRb4FUZqgn-k1q7KQGIOsaAvz-a-oxS27UtKpuvIs5e6qGgY2b3u0wm-zJQL-tZjbfr6kwRCj-DNj31rb8cf-6RaoP0fEidA"; e_fb_requesthandler="AcIj3xXwDc7FtGLE--iyUw4tj_orPDLyx3Zm8bU2gjjEBl73TJiEIA0JaNe3E82_jfxkGVvkZIo"; e_fb_builduser="AcKTFjguDMdq_CtSA6CYeJG13WgLuDSu6-wFLV3VTmkgi3gUcdhhTI6uFE56vRTM7-A"; e_fb_binaryversion="AcLgNomVH93fCRuwlnoc1kY6tk3ovkt9UovYWQXy1qWcJ85ItQQM9tuQQvxJNiEBQ7cjcl0bjt_iEn2vhmTOn1QMsy344i1TTGY"; e_proxy="AcKzWGhOIYvjgeJYcwzkRI-veNCPsDq7RTXKaQUFMEM_xDTJlpyIfe09G9rQnn9MA2XVgXIJWA0PAYy01_X6", http_request_error; e_clientaddr="AcKp946DpKfFn6dO94vHK8NF6aAHhlcB1_Udn5DiphLMLzt8beO4LL15PaxeZ_bpCFJ_Gftzulpc6HrTSg"; e_fb_vipport="AcLY7dMy73iZrMKuLnb5xptVsZ6NyioRIGvm1p6S-bx5zPv_xMw5PEoBT2ln"; e_upip="AcJLSbRT_73OtZkwyWBOkEK2d0syHr7abOSO4jzUvPdvAEwryoO6c-RGXKzbvuROdpI7fnqGliabsm5nna02gFCgL3iEXAvXnQ"; e_fb_hostheader="AcIzWcpZk5uBt2etYjVMk-kNWRNn-bymnOa2Bxbcv_z1d3lnKw0LsvL-zGb9VVmhiazk2WcFxn4MdWEM"; e_fb_vipaddr="AcLueJZjEQvxVxlvE0KmzOFFzbNnq4kdFJOgrpSp8RjjFPgF5biGw1BMLFLr-qNuAOQgPzs"; e_fb_requesthandler="AcKRcHrl49YRmUobrvgQ6TA-TLH12fynx09oAd2EH6Fbxhe7Wds0ZxvRcxxFqXYaJKOr9IAtr2E"; e_fb_builduser="AcK_jtt_yxNyG7snsoQf0deA53j4saEpgrQafL35EuF-FJh1Z_YcozpBLx77EgXig0E"; e_fb_binaryversion="AcIKooM4H1BLFIzOMj5zaCWxi-SoczRPODKiK7S2FeCwNuVGnxDRelhmMV2wh5yEIc_sTSrAm7MTIndO0F8CKol8be-o10RZ83E"; e_proxy="AcJ13yqmSK6W0eNaz963WLBpYRXOHKQnWFVJznCfFe2TiSKBb2yt6OIgInlC4ajrxYgKb0WPe-Dn0zM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7173262282758030?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7173262282758030?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7173262282758030?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 23:53:57: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 23:53:58: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/29/2024 23:53:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 23:53:58: Error on send one message facebookId => 7173262282758030 01/29/2024 23:53:58: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AHIBviEgRGhB6I5hu5IsYlM" } } 01/29/2024 23:53:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7173262282758030"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 108616, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjqP3kBNHkm5izqVC6KEEie', 'x-fb-trace-id': 'C0vvBD2uok8', 'x-fb-rev': '1011089167', 'x-fb-debug': 'p4C7nGBUO6gsIpJjEtuOS+qVcRxMoC4j2vhBpv7/dUHI7bNu53D1Uw4ltdPNDVxNFRmn8oKJiH8QsCsOjsm9pQ==', date: 'Mon, 29 Jan 2024 23:54:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLqAqzhW33d0zB7jieZGCjdtCtv3LBZmK_6OWnUpT47Lh1RivE2uxC_xz08jpMqokZJYL9Uc7Q-jU0VNZTzdh6h5DtrU7pYmf5lAxf343r232WK"; e_fb_vipport="AcJ1boRvHkv_cyg_h5OuIAump593BcCL2X0IHgRRfOLX42rDtC4a_2AUdkF7"; e_upip="AcIoMWhH6B3kGY5CHm8g3sZgnom4XeMQ1Ttlz6c8l0twVW2uM1mOrnmgXSprKyh8JC3drJHYvSIOM9Q-3iOFjAHIp2XCvquxOuc"; e_fb_hostheader="AcJ8ZKhnfeKOHoRfXP8qYkRiHRWlLXi8x_iaZm2GxZk1YsTMD1jcWB-BP64cO11HdHSwRZHarl4Su2jY"; e_fb_vipaddr="AcKw451TKzXOwxTovUefMksqaNVf4LtV_LsxejusNa4J86fBcYSmCVnwGJEwUPGI0AVvY1JBZhsnUbbQVJhxMYeQT12Q1gDUvA"; e_fb_requesthandler="AcLXNrVtE1BDQq_TF8m8DWsB-QDS6Ave5scMIBit4_INVMndOM3D2y3o3vYsFZ2cfKXKQOd3aKQ"; e_fb_builduser="AcK5rP_oT3VromSPyKg9d58GYWAJVE6FsthWDY-CPDbpCjYwPZXXmkdcIckYgVHovJs"; e_fb_binaryversion="AcK98rblTGrTVm87s2jfb4hhBc7D69ddG1NGOXrw1YqlDyGZMt_jSLiu9AFSRco9rrZD_Lw2YUZfrF36zyfuV9N3iIaXrOg4hMM"; e_proxy="AcIvtNz6qPVZt0rJlAFer3dIOfr6Iu7YVn4QPtP5ung-M-Xrgi5kpWtWFBHyWbSIIX5VnKUfnU8alajxyhQ", http_request_error; e_clientaddr="AcLeUASuGcaxAKOvJdNPGZHOYIQ1DKRDvahse1L-p62bGN9PCybDdE6iMZ9Q3f9Am68RsrKkcbhYB8rK3w"; e_fb_vipport="AcLt4XilSt0tqUuhgdQeck8QcjKxfNjcc2dg0Sz_SUhjIvCFNrWc9YuYYkq9"; e_upip="AcL59UzO2oDvnzCtAYm7hwxG0-wuh7KzAgQll2oh_vb1crT-diXEQy6WRBqRwFPALh-ta96v6h5eBRU37gJ7LUuo_hcvqZNdkw"; e_fb_hostheader="AcIVJsoMyoLexoQPtkCkbmzeoUVJ9KCUwOaxQOjwvJvTyRpKSRk0z6M6lbNHCWA4cZ35lCM7ckPmQ569"; e_fb_vipaddr="AcK27-NcQswuYPi4QC0RqTKav_xYuNuKjPup4ttfYDK_zqoyzmOmi-dbTwgUCCgHBpjr3nA"; e_fb_requesthandler="AcKh4wsyUe6v21VZU5GL7zKSNEm5BUHJJWQgq1ffwtBdASXRjQMBEPItpLd-uKSoC_RYsd5SCcM"; e_fb_builduser="AcI-InvhzvqrYgCuREroE_Z8bPkCKi8GA1CLecaASfwj3DzvhmXSqu6AdVsznGirFrU"; e_fb_binaryversion="AcIx9q1U1J_F8X_FQ2J2hy9iEpFsqCVvsjGR8Q9wd04uAy4pvRoVqBumh31SzhXuzDneL9Mnewfk9NKN0f9azmfo53e322lZXTQ"; e_proxy="AcLOYjGw5ugEf4WbPELgI8NZi2AwHiJGIXkj3PST28QlxrMXBh06Vb83vuybSzxs91MbRvBYCHRHeaE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7173262282758030"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 23:53:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/29/2024 23:53:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7173262282758030"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 108688, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Anj89q5StnCF0obaoSBsDA-', 'x-fb-trace-id': 'HIj2P5zBVtb', 'x-fb-rev': '1011089167', 'x-fb-debug': '6gFoSfjhgVQpsCQiH5DfzxND1UJT007oTmQ6HSlyykycjaprfwPCceJfKV233y16GFTL8UA5A9ULmqPaIO2nzw==', date: 'Mon, 29 Jan 2024 23:54:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIekAmbGXMrjIz0WS58VqwxMHClBexqankpI7iH6GGp4Gyru4evvAh5EKZpr0v62czxGnwh2XJltYkuT-EUuj9H9Lax9sNLkSNtocD-5-V6IQwc"; e_fb_vipport="AcIDphzidRKI3Oei-sxzB5vqbccHc7nRPHq1ympGeX5Se9UQIZuvdtG-kUYU"; e_upip="AcJptCodwG8DSUmkIPNjdusizfFlh6YWCTA9PlDer0kwnAg-A1DvZmSaxxl-d0rcO7ZwCjhG8fSR79SwIb9MsPrEIbtSVWbXkw"; e_fb_hostheader="AcLimTeXHCU_WJ9Ju8SvdwPyFeQzik--J95auE-C6HecDq3IMMr0j_IN-cX0szGPou9_G9tzZXtFpvHe"; e_fb_vipaddr="AcLFtRGhcIymBwbwJb-XvCCfRwxhAYaRtFkFnUGQZ4qq0llGnRO3aMGRtBVLt_CIrddMDXitimXEsYad6Xu481I2XUKEbpQd4g"; e_fb_requesthandler="AcInZOvC5Ikp7KuKhhl19FRfsQCKAYF58KdIUA7ZXzfzztGAnDddNc_izyvlnrOLITE81JKcr9I"; e_fb_builduser="AcLge6FFzq6BCsCHh8NJ2MjUc6tHWS5FO9-1z-zYagMkRJNxn_Zoa9lkLMQT55i3oW0"; e_fb_binaryversion="AcJYfvTXTgGAGBpmlOiaPloIZFN_Aps4K1kdF1Re4Xbp25ADKude9ibVv7Da6y0CPlFpoAhbhyrMZ-gNSN0x3D5FCMoV-2R6W_g"; e_proxy="AcJHs8D5bxttYK1k-x8pLnrBiWkmIjfsug3oMQ6kJXXDQ--BawNJ6K_W7NGxVdLI9cp-JNGicnVVQP1EwI6o", http_request_error; e_clientaddr="AcL-pEFPWzNqeOsVjUhXYIazANQD_GIoA4Z9XsRPP0WlPzD8ZhNIRaIyWZH5MBrjH59oD67h93oZGuHesw"; e_fb_vipport="AcKrvyZo_6aTbMZYq93hcMef-Vf3WQLEL5KWb0xbZUYLz9tTTnkgitj--bp_"; e_upip="AcLM8IGIKeAceMk2i9SxAFIEtgzW4aYr-utLxuoLpSR0_0B65AcdqmAv7ibElT8bsVSu6zEd36g9o320sTUZZ7YcUFvXr5wuSA"; e_fb_hostheader="AcIGsM5njvpADWy3TP-qPbJyp5HAMWPvBRVahoI3rDhaWN-GiaB9-qEf85JISBvG1RTlromySk8BTBez"; e_fb_vipaddr="AcI7uvvDwJucLEUVmSRTaSbYfLWvHPc6wt8P1__mw817ns4lyqKhtxT-B5pQzK0wa_7s_3I"; e_fb_requesthandler="AcJYgKAZhk3D1kzv7clnJTIbLCOzGdSsTN1zyZmChflHPi3h6PM5FK83tx6v3yZ-EpfxbA5XpAs"; e_fb_builduser="AcIyMLRxdkrskZkaJxyL1X7vJUMaMkfClnsQhx0nqhMOQJqbCtiw2_V8-Gx6mpaoa2g"; e_fb_binaryversion="AcKMHCHB-CzTbYIcqd63nSHiLgWHvVVEewMAMdwM_hNeWQxn3D59CXm6OF0qyN_lRDxB4Pk3P1jMUuZkUVmJyV7C6p-s3T89rOw"; e_proxy="AcIEUn7ET3VpH2U1TDJyeeNCAnR8QcFdt7jaEsQJWvZQ4uvhrbNqAiJjH1DnV9QLUAvuaKsS3JvhGDs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7173262282758030"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 23:53:58: Error on send one message facebookId => 7173262282758030 01/29/2024 23:53:58: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AR1UpY139RGcYhTPwvLtwXG" } } 01/29/2024 23:53:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 23:53:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7173262282758030"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 108802, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACpZsUXFT56JAhTXHjbYHGK', 'x-fb-trace-id': 'A1YPhcIAu8o', 'x-fb-rev': '1011089167', 'x-fb-debug': 'FQhi5GZJnHpW+iLU075qUsxBCdMn+zUiESTkbczZc5zVFVuNSOpGFi5cCj+43UxFdFdHoJCNreucUftZqyjqfw==', date: 'Mon, 29 Jan 2024 23:54:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL_Sl6n9SlvkH5WlhACRUrcyYWhUkr9GrC4SmBS5vPx9P1FyLSRQFNwtOxQb4vOKkngz6v0WOSh8nU2EdpcSC826ZU_TQiqLLqTWMUa_L0TP0DPNQ"; e_fb_vipport="AcKaIMS-uLO5Uii_l7GPHib0n52I7aGaiIZFp5vcNyoTA-jCE7Mz1nW3u4UY"; e_upip="AcLqRQCJ7g9_4jV0Lk3MG6flk8R7HKi2L6DumnAEjtJsNRpIh9W2U5I7alYjpbFHSa5ew4Xs9fcto7JLTHhmb97_vmDUVwuvgw"; e_fb_hostheader="AcLhV3YeSmvio8dhkKJvpEJDQG5OhO3ezX3oE04nDR2w2LEW7iXHRIoB9OTBUJ3R_buNzkWhkCF-MHXF"; e_fb_vipaddr="AcI8e9xUnVSCJw1aJW8jc20EVL8n6RcSCYXuizGFTi9mvX39brVlAV0vevlhuuQPMLWJMX9oPk4G4qTR-AcCpQxqECoMBiEhaQ"; e_fb_requesthandler="AcKwkC9IG8bNhfGFf-ognQoozSeKma9ctQ6zcOOuNH7XMeuIv_OeXrylzkaFU1HZc8dCDF4x2CU"; e_fb_builduser="AcIN-UrA8wHVMSm2mpVFkCoKpw1d8jNIJOPozIayPixeBUY4-7Z4GYA-RIkz6_0w1II"; e_fb_binaryversion="AcKkDIDrY56vmx415RbcGQ-G_SiOmX1npCm-whrcgPsgzF-It-6GKSpmJmQ6_I_Dcbwkqd_BevDVe27wpSzYkTFf4kzpUk402zc"; e_proxy="AcJM0JcI9K98OgojDCtpLfvvIBOgsw0RU2diwoTteEOPGCx7gKlLVCF_yA9gsIkqjut0bWamP6jzN_1-EWAR", http_request_error; e_clientaddr="AcL8KLe0PIuIJwgcyUYmqutwAr1j1LBi99dO28k9T3XrxfTrMPEI_Aa05bKAbiz7xKZMlzkX49TdibpOTg"; e_fb_vipport="AcLqWuxrm2VySt4CtXTCCkD9sVm4blOrRBwJmO6tTrUeSnliZBQTqjECJ2Yr"; e_upip="AcLw7C7vBAlQ0y6csbkWI71rxkD2eZEQVR_HGgMbwWMpR0NSf1tObhZgYBf-vQEjkgQ-ivPq1r0VsapvSe1EoQFKbewnIx5PeA"; e_fb_hostheader="AcK1FT7HMG4ZNW_96rzLxIj3BSYO048dVnUnwQQvT3oHo97M87-crd29elCwCHmxXAEUYHyMiPFGcHWc"; e_fb_vipaddr="AcJHnyEfpXqkWgdi57ISshhQWkIDHXW1fkZhTp0zAlHyc4llTAtA07O-y94uLabfqC97jAM"; e_fb_requesthandler="AcJ42-PhXQMZS-_0KkbQMx7AzxXDqVBxcycMaeP6tXwC9glUBr_QxanvS3FLKW1T8MmzVdOmnig"; e_fb_builduser="AcJutILUslfesiUWWGsKo0UMMggZyvHSv7fd1xG5Lk_EBt25xDmgVOzswI48IppIsGU"; e_fb_binaryversion="AcLU0D_O66WnzrQfr_QeUjW5fn1HRxj_cKUD5Qez0CA6mTxxYdslJth-axFK-iUrKDP-3PUoKQ77dEay6wNoaL0IL5x8RKUk6XU"; e_proxy="AcLlne1Taq4XSXcU346Q_QX6iMtx6LOmRy34pCH6DCC8f3_AyqclSYipb4PRyghOUouHGmJC_xFvJcE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7173262282758030"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/29/2024 23:54:30: Error on send one message facebookId => 7173262282758030 01/29/2024 23:54:30: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "As4eT0mWsLGIGl7iIaAQdb7" } } 01/29/2024 23:54:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 23:54:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 23:54:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/29/2024 23:58:29: Error on send one message facebookId => 7173262282758030 01/29/2024 23:58:29: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ADUCSiUu0c_hrNwEbbSiqV7" } } 01/29/2024 23:58:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 23:58:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/29/2024 23:58:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 00:46:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 00:46:55: Error on send one message facebookId => 6702902579819604 01/30/2024 00:46:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AWzeznlqIEq7iOFjKW8embl" } } 01/30/2024 00:46:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 00:46:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 00:46:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 01:38:34: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6858543140923429?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 127191, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6858543140923429?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6858543140923429?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6858543140923429?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6858543140923429?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxD1hCZn4KtT-6k_R9a7REC', 'x-fb-trace-id': 'DpeDuX9nxGP', 'x-fb-rev': '1011093990', 'x-fb-debug': '630Sqn18vdUOkiieQojPlr8RLoleUoOcQhoMNo2Ad7Ao9P/h32G9WDh0yv7FKNekZHZwksh38Ec0/YYfs0oUUw==', date: 'Tue, 30 Jan 2024 01:38:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLwPAlPBQLdlN7BFMn6WS_Dp8Qi2VU1VFBxBYDyVBWik47hBM_IdmIbruJntyu2AGXjsC_V9qmUsYz7RopC3rdWYbrGZZLHJElRqUnZSZSNsedrlA"; e_fb_vipport="AcJRd-nZalUEQwQgA8lFtVIhf9viS4Qqi1TgSnyIlSAaXo0i0VXCjQZTbP1b"; e_upip="AcKtof6pnQhNwW7KQDyXHHQ4Zfhf_A0iNO7H5RjPFl1Drcu-WAA2_SIIRdnU4XKIQUELRw2XLydb6lt38FGOSj74WRP_CWUsOA"; e_fb_hostheader="AcIntI5mvT_55ZpbJR3qQ1jMTF6K5aoGEhrZMA-W0qd_dSsCwXBdjJXERaXycLfrivPpNN2trbrTrpHz"; e_fb_vipaddr="AcJ-6NdRoZJ4UokBxmJC6GHWgRH87XGoIHwFOOru9IOXwrXDJZlgcUC55g9rS11oklJpjBtdGMuAektG9hzJKo6c90GO9uPiWQ"; e_fb_requesthandler="AcKmZBjDEjJTdr-qwckSfHhCx7sV2nGDYih0P51Pn_V1oP7gn3ClIiylel-bkNXTaPcgIWpFhMM"; e_fb_builduser="AcKUQSPsEzJbn59LrMzt6fs5Y5vBZ-OC6rtjpuopUD3hdykCepIVP4mDiDsEd3fpGzM"; e_fb_binaryversion="AcJ1L9GOYGLDkCKd17oXsW0C3K2X4W_geCx9waXRKOdsOFocXtF17FM7qS-zwMESg2nWEJQSrRpfGlZhRrLbeAEld1LG2bFlAgM"; e_proxy="AcIWT9CHfy5pph1ut81MQcA5oPEhl_AQlXXouATNV32J8lX00yIOAz1S1AOFb6jpChicUzlXjlF35Fbxe0m0", http_request_error; e_clientaddr="AcLnm9zjc0jnx8ACZ_Y45upTJ52U0RwX3eDOUU4-ZNN13U1mwCrsmbxV75mmgkT-eTZSUhrqA04NmAVhhw"; e_fb_vipport="AcKOX1i6oWMsRuFv-9usqHO7RchR2ejnN725BltaQtB9LciObBq8QTprzUDM"; e_upip="AcIMZo26HdhAQJKHzxku8MD-rLiiuS2KLRahyDeEEw5AKAOf3Qldz8vFRwOVHWab0OPr3n5i92HqJx8Id3mySqAkrpH-wdyxbg"; e_fb_hostheader="AcI-udcMBI-m9Sb9BLl-IH9fcsGWcOja0JxgTPFH82TNq8Ta-tVBnxdAovSbbu84MZbum0vZ-v58fKB-"; e_fb_vipaddr="AcJT_X70uHAVo_9PmdYjVKJFVc7uZD-5Rn42JkeslrMTtkBW5lT7_QqfJL3z6X2KPr9zneijqQ"; e_fb_requesthandler="AcJoUbGpksakDXqzpG0aYe7fTLFQALmdCTMVFZE875xFs5zqW09nLDp2uQpEX-yKEi18cYGAYzU"; e_fb_builduser="AcJfYBYEUmD1KdnAkM3QLNU5mujMVRKRNNUswDJ2hoMfJGE_gI7q46N3QOGChR-ZMO0"; e_fb_binaryversion="AcLcYZu8AukRlMbny-X7O5ts1QfHx0Jukh_hReK-fzljFb34rmIiM3gxo6UVJ62Jx37zh9pXX1XT3niKCHnYASYQMGh1d83SDAw"; e_proxy="AcIg_RmbvK9Kt0c-wFQRu7jFm15-gfwNfS7SEHlnnMp_pvJfi_NttDpTn9zevewgjgW5gYVrgRK0xEE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6858543140923429?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6858543140923429?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6858543140923429?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 01:38:34: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 01:38:34: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 01:38:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 01:38:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6858543140923429"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 127315, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMkYnpe01Met0eUmZo2zLDn', 'x-fb-trace-id': 'AX7hjo4dpG2', 'x-fb-rev': '1011093990', 'x-fb-debug': 'WaI9vrKpOWMfQI+3gQX564U3I3Fgf7iFlS1yB5x5RUSY+KC3twqIlQfPNOeVQ5w+k3r2nJAzO8jpGfIBJTP6sg==', date: 'Tue, 30 Jan 2024 01:38:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI8CEM4F3KvVVIA-it56uVjLiCc0bdiD_fYSGLJFVhU7JLssWCi7Pl8QYVcA46GMnsXL9EN-BtFaSFRkc3_YlqD9l49EnFv7-uLxl19ovrhP2t4PQ"; e_fb_vipport="AcLO1N2oL1I4Do8UFzGxNaSe-ZIsUWjtdlqxJL8sU0RIcOxFMF0IvOQIajkp"; e_upip="AcKXHlfcRYXLw71_Q2lSg6OfwChmszTGYy6Ti_TZxLd-xReFHRkgkzBPyRR44Luyp9gk74rwIK1IsAe26p6riLqdadCS6m38PQ"; e_fb_hostheader="AcItLconGSSOjoCMw-aTGJ052uJNAixT--qkqmO2imt7WWGhoiMz16ai3GRioJTDvYUjaP5pn4bXoCaG"; e_fb_vipaddr="AcLQDiFcur4to11Ef2aSZeIytiCFv6-xBi2OnlGKnZLd7eF6DI7XLfqtlnDkL2BC5s2pJScp5dHYkmCFg8q24hQ6gdCQPqlbvA"; e_fb_requesthandler="AcICjfmP11lz6yZPhM25XE256kTLMWtNMQI3mFqfrWsJCv0jV-JfFi65j8jtctkEWbEFq7ivvBc"; e_fb_builduser="AcJauXZbHkEyYvQLJQO9t5YPfdan7IDTzMaIaxEEvoVjjDqYMn_DenZqgCHPlAPNFPw"; e_fb_binaryversion="AcKJeGI7rTzwfwA6O_QjeNN9NVUcPtYU-CxVXpK2z9IJcOFVr0eA9iP50BcVlCqZ3Eu4aK064nbZpKKrmokTfcHpFxrWsJGLWDA"; e_proxy="AcJjbXl7omfhR3n5YauH0XrqqRrtpqxWYlp0bZyTj08q62PZd7qxc5WSSS_lXi8g1nKavIZdrRz0aDN_D01E", http_request_error; e_clientaddr="AcKyHYzZJ2WoHYRDs0JwTkPH7dqb14g_P1MqruRML66qa-s6arwehdiExJjWhyw_8YuKz0fSEKaoFWv1KQ"; e_fb_vipport="AcL8MgXbeYXSah22ILW7LJCfKPRktPxDENlIh-0C-lOnCA_RKrNbBC3VIOJ9"; e_upip="AcK9G4D4ryGiydSwYb5KFeE15G_c5VxPV5bqBt7qDJ8J3YypZWJYQgNwNAKTiz-QnEhjzSsKfDkxb2kVbvdA71dUepp739DKtA"; e_fb_hostheader="AcLtO9fS3TDF44eqIo527ZjQrgtR4OEbh3gTD9ySlRdnHFfhh9iAj3dECwGaWeuP1rl5KWQuCLf561Fz"; e_fb_vipaddr="AcI3GPVwT_Qsa63fFbilryNB_sxFPuJY0ER63zLsv1tpzdhh6Nk1NgKijOqqsLwo4faxA-0Rnw"; e_fb_requesthandler="AcJerQbeNdxuVCfrURgClGzAnhU0HToT7ycAN2FuO3agNxK1eG7ngqZGOi8Sdq4fvmD2tWd1NtA"; e_fb_builduser="AcKvvyRdsxhx1bsSKIjiItZ03yMcEnW7wXux1F393bzSs-OsTkUGx0UDDcq9YuElw9Q"; e_fb_binaryversion="AcJvCrOE8f--1yXAXHryprTP5G0AMEMptW9-0IfQRtfELZ1tZg5QHTbxvu26-InagZwr8SjFtAqxxnorbfDJ8Jk0WOl9Gz6khxM"; e_proxy="AcLo-PCHU-5vZb-Tfi3nSlfGdFQTYxMZmVtmRxTkguSJ1tXOHBv7Gk0znkY3nVDWc3RZ6hTxRbrgOfMH"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6858543140923429"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 01:38:34: Error on send one message facebookId => 6858543140923429 01/30/2024 01:38:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AU3kI6CPd507HHZLqV4Isjn" } } 01/30/2024 01:38:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 01:38:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6858543140923429"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 127388, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXRQlbdKLoFiK6JzarQz83L', 'x-fb-trace-id': 'EknGoQy8UVP', 'x-fb-rev': '1011093990', 'x-fb-debug': 'mWfaBeOm0maM/9xw7UiKtREQxoC4lTxZa13hnWNjBLMK5dZADlJZ7VPnNKgzZ38BUHOHuAFYgZq0JjXO/nF7+w==', date: 'Tue, 30 Jan 2024 01:38:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKMWq6DLM9SsVIHHj6wXKw79cpvJQvvfQzYYiYOqFzS19k42u9WckgFEUxDQs1SbH_yWZXLJpuB8UmjbQOqv1H2PcgDu60SVpx6VvGHRKbQTaPm"; e_fb_vipport="AcKj4X2L4QXU1s-cKhiD69UiC0RoqADmPeZj-QF0kYtswjna0NZuljP3DHnZ"; e_upip="AcIqqqW4UbDAQNlijqfSrqz-2qzTApMIwCKFgbOcUZcVbo_TSOIH9nuD1q43ujfiWluCmo8CCF_cW_aAMtqZBuERlV9vMPbyAdA"; e_fb_hostheader="AcK8uqRRoS-FPAMuUXSUtCtfoEw3hw6MenhssvgWGOGu03KeWwCKALH1ZKtZt4jFcpCFKlpnRbDz6l5B"; e_fb_vipaddr="AcI-WqHXFT7uZp4pCLySFYgIdJ6lNjPY5CWTnRvUg5xU0ukUQ_r1md96xGvay58HqjvDKbCt9mrXRBaipYdRNFzQrTk8CcTO7A"; e_fb_requesthandler="AcJ88zRDumYsitfg3ROWQdXfRSR0YtUSop2PjEbKB_R1bLtM1aKMl8gP8V1jaVmcQC3lc43vjTc"; e_fb_builduser="AcIrfeW0jtrc_uuarL_qjfkr-gMlzC0Vlywl0zRlt_l1UMebEl1ahoJgvkRgz1RU8QU"; e_fb_binaryversion="AcLcJ19cc0WC1Dqq1LMjuUyMw2nfG_7Jdk-lu9UcTBHvtW1GBcAorCtjoix3YevKMs8n7UmQ1fd3hk90Q4C9lTSlZIZgnHZ9rkQ"; e_proxy="AcJPQjI6SKQPiYHWAorCeUZP_CnrOdB4Ufa2dqxYuX4ID1K_ysdKz7BCsDUxMpPEz_hwEPU8EKjwHxeF2-ik", http_request_error; e_clientaddr="AcK8S0QmxBlZckYT7T9i1cVlGFyel-oa56s8qL0L7pTvU3XQ_QX3qK0zufYYgdtr_WGJ-NVFIqlAbXaXuw"; e_fb_vipport="AcKJ3Oa1LMW7kCBoUv-ipBFwiGArxTv0pmcAvGtZDJBtyCm1BLa1qp-pthoZ"; e_upip="AcJvLY2gbdBCypeiZNatDuFFyDsbLY1pXOd5QGNA75CyxsSGvplvDvhpTt6h-6Qm_56FCUCs9QOsGYtG3eNv01oxuF_K2FKNCg"; e_fb_hostheader="AcL6W595kvedDZaZ7LXRST7pUSmR5dxyOQlZ_dVoEf2wwkzyCENvYjdonXsT3Fep6BJRB8mPsVVlKc77"; e_fb_vipaddr="AcLLEgvpZgT6zlvChW9WZMvhomdZinXfJqm0e65WVS3JwMa0Qe3OIfVgS3dKwfpvO7I_BoXXmQ"; e_fb_requesthandler="AcI08kLnRmPL2PcWXudWqWGhLK3NRkzxl-a2QzttSE31R8-mAW7P9Th7mdwPI1yegDW-eoBtKlE"; e_fb_builduser="AcKYppAnpWzHvodH_m7Hm5gtPwHknnSqJ35mF81SDTrLfqqQpODn_rRM2f4HQLPkabY"; e_fb_binaryversion="AcIVM_eaCJPYX2Tdb1KA-neQpQ36GP_n4nYEH9uclM-EpUxN67w1_83KC7fLQAP58pWrofA16rItLvPLB7yezAIoUX_kwClcxqM"; e_proxy="AcJy9P6AyKetaA7fTY5r-8vzjNN5FeIsHdREKiUUsyIINfEF1BUv4HRtN5c7lLC_Tc5QnXXT-6krUXs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6858543140923429"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 01:38:34: Error on send one message facebookId => 6858543140923429 01/30/2024 01:38:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AY6YdB2feg6UuOIz_D9bYG8" } } 01/30/2024 01:38:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 01:38:34: Error on send one message facebookId => 6858543140923429 01/30/2024 01:38:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AqkjFZYxHIXzhS_aMbss8Nu" } } 01/30/2024 01:38:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 01:38:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 01:38:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 01:38:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6858543140923429"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 127502, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFXbFGWwJys7albEZqZwMhZ', 'x-fb-trace-id': 'HxPxDt2QLiF', 'x-fb-rev': '1011093990', 'x-fb-debug': 'kIGfiY/kWtJ5CmpW8B/XsPtgInweCpm7PFXgz2yfEpoUOGa+lUBj0gQMj3f/hfZ/ncvqRhvYPfNS0prdhHRvrg==', date: 'Tue, 30 Jan 2024 01:38:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLnEmghJ-XWamLelA7NgtIZDjdLpUUf_qMQZ2wKUKaggIIvO3-5zelwgmVvY3GtxtM2HIfhG7DITILluPnlq3UUM3ubycZOOvd0e1rdhjiPx3F_Yg"; e_fb_vipport="AcLXMA-duICYsYBFLg8oajhUKxH4gKLyrI7uwrhqXqlHE_8OSspvzkr3Da8O"; e_upip="AcL2yLxJcfYupgbvCx2wYfP4B7Dozn36i_c4ug86uYWHBjXPDh5ywJLHjSQ2yJ-LENlat32CUIC_Xw70rpdXL4NLNMg-ebemt3o"; e_fb_hostheader="AcImseN0X9ksbi-GEzLqI0oYQ-tyc-Pg6WUZ9W6g3LZChq0CmaXZQTVRJb-3ZGSb9MTByxtGL-E_Z3wE"; e_fb_vipaddr="AcJdENP9sgvxd87DoyQKrEAh9R1C_XVX01EG83IXt8YsHb3z8nimb3XvGk8216AUjtb7od760oX9t2M3CWdebJadoHbCBXUpmQ"; e_fb_requesthandler="AcKK9Bn4SidXGP5PoKo8UhYH7JQcIhMpc1Zc2EO1r5EpIxP5lOIpG8goSvc95qWOeAenp5viv2c"; e_fb_builduser="AcLH-pttFJoQHdDf5sb8-twUcNuR1pNJsL9pY7-GUqsgb3La7VNVn2ir3MZxO3qntZQ"; e_fb_binaryversion="AcK47tpP3hcmQ6h60xuYxJ97KxN-2StvWy03uhMUSZA5GZ68gMP5s92BP9KcT1WVm06efwHWtCrF7M8pc_rT1fVoLpSbptCUFAU"; e_proxy="AcKq2Ks0yGJf_mZ2Yz2UvpmyQL8vQliIbTXNFAN5t5QlI-sCprkXzhtQa6xX6sM1GSKJoIIwVt8agEPFbQwQ", http_request_error; e_clientaddr="AcJYc6zZuDfNUDKFctozHolIhZszyseLLOkxjGU2lX1WwFxPA2kQRSYZEaEGHV--okK3UsQ87Oe5KMb_DA"; e_fb_vipport="AcLj01XoW4Q3VgPgncgIkUj4bTxsGD1YxJB-qzzvrEhr0Kykqb1m_0rkwvIj"; e_upip="AcI16aEndbxINgCbIQm5TNWI6OkCezzUNXrEBwS5D0G53yxPD4ClgBdFqBboPJNd9NRVXmjhTj41NmCwlZSTpRQl0xBUpcfkew"; e_fb_hostheader="AcLBEOERm7bHcGh9LxxLGXFzRtf6xCUDN7JLkuPGfzdEy_sPDbiQTLnrFbOXTepRyNuD6CZ61x6awYrC"; e_fb_vipaddr="AcJfigOJRNEU2Ya2Tod7IRKGKaRBEHjtmWzw4g0DtKRHO3qKPMJynRIN6QblVpMO1VjB8Dc9wA"; e_fb_requesthandler="AcIHXYoItBIzPYQOImgOHSHg8tHHF5YAmJRCrRKmn6IShMyLYCGwcV4_1W90irxqsHT-SzFt-_0"; e_fb_builduser="AcIuDu5q81ftqxjVFCjF-ZG95BkptuhUsWqIiA6CdUlJVsE0Sws4s6GPV_lvQF56qlw"; e_fb_binaryversion="AcI1_Tpa6yPoJfxJbN-xzFjNeoWQ0_603URdWEJzZ8McehxvOjn0HrncnPE75DiuiV687ZjoXEIk1lZ0drx4x_lpPY6_JZRpZUU"; e_proxy="AcLvJ7jEsMcEkDHBoPz6zGUFHkVg5MkGxeVWH2FIlogY-ct-HejOJ-sXJiZ8755fpz7lqx1IL7Ed0HD0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6858543140923429"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 01:52:09: Request bot not found: { id: '103701301635995' } 01/30/2024 11:26:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 11:26:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 12:57:52: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7498875083465363?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 242262, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7498875083465363?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7498875083465363?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7498875083465363?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7498875083465363?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ae66_T5CLtkxa6_QBw-vU9k', 'x-fb-trace-id': 'HD56pbKkIKD', 'x-fb-rev': '1011103758', 'x-fb-debug': 'LyP5W00RpTaH/npPplwVxPdsFVXG0+AgmZ3E5GpLvW12YVw3tCpCN9GVthwBYR8iWSRMss7f6f6z6eeEJbS9zA==', date: 'Tue, 30 Jan 2024 12:57:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLkvuyj6VNpoyUyDSUo-0XB0sfPtfivFBEvsYusehnRc1HViXRWw8XdsgSEJd56RVB9d_h4etvVqSbvuxD9YneNOc9KXF_nqem4iC4aj_wLPc8a"; e_fb_vipport="AcL5r3BXobE0PWrVt_H7nVcvYAtDK2i7DvYkv4jhfbnmYJRY9S3nGiCukqYs"; e_upip="AcIW5n3MXF26gj2QYEwVwQlDbzcJvrMC3uV7cgS-kBqprWNTMeDejE4bNMcvyQHBHiEQwPQUiKJUKuc1GjtjM13OwhpSyvkKDw"; e_fb_hostheader="AcLMgvV3j1hQUB4JNId9bwCo9b95HQGwLeWi2QHHKALbRAkBQimRuNJeEEoDOwjVXzEYs8UPsHV-kd_v"; e_fb_vipaddr="AcLUVpr_Sdz5Zo-T9vglXJCpBo3GLaXo2cq9Ft5BxwEA-J_PiaG58Rvx77sIPADm3Aa_TeaGZZfZGZeKIn92wtvsFeDiAeW9iA"; e_fb_requesthandler="AcIc39uE1efJNfyAI9th4XW8-yAImYbbI1_9VK1nrlxSwQgwIqrylooFdR6e76YWN1CG1pWfG0Q"; e_fb_builduser="AcKfG8S8TgGur3rHl888Ae26z2tp0RW5pbylPr2ZVRrncBQJS_7OTDszndkz6zTwIzw"; e_fb_binaryversion="AcIpvwSh2EpoH1UuAoqs0NgEhAlY3I8Yc5LXczYSDrCnQziWNkqT7mpjo_KtjLJrICeh47ai_jpM0gnkHVMoZczEtGQaet0ErG0"; e_proxy="AcKfD5wyKrL659tz296gsDb0brhlnGhn_yVf7EeP56q6Gca_dnkaxOvdWgQBwux-X1n10TnB0GGJnWQZ_I8P", http_request_error; e_clientaddr="AcK_jss-vRLkyLlJWg63CiD6CPK6npuJ0EQsm5CrhjGe-l-AIAM1rfxqpR3-GdOqV92XfQOb1EL9XSPfKw"; e_fb_vipport="AcIBNwTTycSxmGVpkA5hDou4v5m4qq3Xh-mPwnQIiiE_8vfxiq4lD6XiEP68"; e_upip="AcKcfZtvN_q-39ZG7MhOoUrijHhsZfmisVemj7YUjI0vckhkBm_WvN1mUqmCKzEM_q5WSDWHrgY91w45YUwg4FSeadlPWdP5Mg"; e_fb_hostheader="AcKbUCw00ovB1Z0AYIn2oSiu7f6yYCbwoX87o87UCim0cuFD6I7r0n9Cl470ojaFArGSAgKn3sMIjuyo"; e_fb_vipaddr="AcLcMbhefU16UMYqfbUsBTIs5AYwWriZnkRYgoaiXQxs_4kJPxkGU5kG3xWWrzzhZ4vb7DEG1do"; e_fb_requesthandler="AcJW-EcS959bqjqvbr2g1O7na_mSYreta0xOyTk3WTT6Biy0NJ0yoSWL7zvpbnyGcHJVHMWSQ1s"; e_fb_builduser="AcJo6JQEcU8DjeRJalpRc_mhHvx2mYxI1Gmq2sgo-4KnLejOrQODyaQCPmPKFLmUDxQ"; e_fb_binaryversion="AcKuylqv1lR9P50pd5sV0tc1b5zkCO1jJHKM836JozF8zRfNfil2r0RmgNT3Axbo_n9sasjwPhPSIswR2toyJ_lrpSUI4iNmUTs"; e_proxy="AcJAHW-Tv05CDr_HNk8xv2CL4xXFI6Q_lLwuK27iACtpuI9kkAJKapXd_3P5s4pEn8Z9kbzoOmXSFnk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7498875083465363?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7498875083465363?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7498875083465363?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 12:57:52: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 12:57:52: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 12:57:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7498875083465363"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 242385, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuVUsgPOhdJj62icCQDN8As', 'x-fb-trace-id': 'CVHxX2eXl9k', 'x-fb-rev': '1011103758', 'x-fb-debug': '30l7GO5IKDpDxqZy4Y5CmTCdmnThQHq7KI558TNpkocP+Z/nXE82zsyeFJMNr4LyIDjnBJ4nwq+SRXjBtQpxRQ==', date: 'Tue, 30 Jan 2024 12:57:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK9MpwD0YSzp_yPig-bA_5EufgKUyKN8DR6iLBUbHJuo3TEVWUWwgnFqSfD_5dpdproQEVek7AwmEqxt7msX50Bo99WWaFxOx0PdxPDnHm0d0M_iA"; e_fb_vipport="AcJR_TS5s_4ZFEPJOghglCzQSLuVssvChTBvpKxOo2jSDaNr196NrpBfBIyI"; e_upip="AcLhCxPw5gOVqFhTDJaQl5rx_ZqQZLL7lpTXXWU9zza4pmeHj_TMbbGEoMYV7JRdANRA1QA1_ZXYwa7LW_HuZHpshjqP18rm32w"; e_fb_hostheader="AcKpkfj1jMYmyhEoKW2B2CgivF5ojS_OmATOUMMnAdpVjl9lSMrnvAA4VHpyp5pjyI7yvjQgXfWLOdq3"; e_fb_vipaddr="AcLr77N7F-e1kszZL7hY2lkpRSpnwxq0bGYHA0rAVNhAQRRxXz5lPBEJINYPrFOwJkAfMtdzeHG4RiJ3jqXn0gbkI3xWwRXDYg"; e_fb_requesthandler="AcIrZSI2F7PSV-r5KZNYVMst_7o26ZXqk86oK5MLkHQRAW8Yn9UYPrjhgoYaWYFxj6BPloisClI"; e_fb_builduser="AcLa_Sg884PnJyg6e2GR7fZL9Goww5WMiDdUv4WOQL2_ZUB5WA7HRySdSSGST1Zli3o"; e_fb_binaryversion="AcI0nemgSj2pPL9kSG-3y9JdomuEhNBh45WEBnjW8v2Bme1HYa5qqtAzljhwb6xqgryCGWzaOfFzG8MXLKedmgON_H20Mr_jfVw"; e_proxy="AcJdJh72AEtnLYIiHobIu8vLjbFA95iATiG3GcNoI2nd15hIl7pKFMEIZT5g-a51wSWCxWKBzDq6sQ1IOYRx", http_request_error; e_clientaddr="AcJUrGJnhrvWk5EhMPzufkeAxWgQ7YYZioww8hEEey8L4A6WARsMrFfAAjdMP9Fnsp7HhUqbRPlaq4vL7w"; e_fb_vipport="AcKmAYJpODTupq6VQ4XfDcnVW6t3jM-E9jpfetAWg007YTgwaBGpOmdnQnpP"; e_upip="AcISh9rM55xcZiPyPBmMkcpqVJc74roxlAkRKcHk13aeSwxTrFMP5fXCR9IFVyhmcTRUTHc6ErrUtlVK86rTc8HhgkEIT_k1rQ"; e_fb_hostheader="AcLvhMhkmc7jrV5aVS8wKvnvFGC62UicwijT7Fwl-JeiIAx7YMZGKbaaan3joF87IMFlRySUygXvwbDD"; e_fb_vipaddr="AcJTW6TwYZjT4XgZFn1pxNoaIVFL8HEgJ864jABIGa3WQw3CscFuxVyiXZrWonXuXyC426U5o3w"; e_fb_requesthandler="AcKVwEgxTPpbDsiljXibLBoW4QzxQ7U2sMQZY6t0AwV6bqNk3orM11stm8tuUUxWjX1JQhvZxN4"; e_fb_builduser="AcIuTi-G1YkU7is4TdDz0LQoqs3-X-4UaOtxjg9HnbpMMZLihnMndCPDQug6lGbOL4E"; e_fb_binaryversion="AcIiQphOF_QcE79cG8-BueIiraim_hoXy75pkINNGdIjZVVI6lgvk8lId2Ff-4PJ6z2xf2fCb7ounD-tR9IH3oSHW3OgjbkEKig"; e_proxy="AcI81OuzL_HtOAuJcnuPrDeqZOORzhEuZ59hUE233nYn4TdQSg5VQqwx7OsSfx2v-bcIVPb-keIHV2Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7498875083465363"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 12:57:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 12:57:54: Error on send one message facebookId => 7498875083465363 01/30/2024 12:57:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ay__oSZjRwz-PSExqZtvfJm" } } 01/30/2024 12:57:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 12:57:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7498875083465363"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 242460, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjVpaeKQfCFxco6GTX9bLAZ', 'x-fb-trace-id': 'Hy8yoYF7Ib1', 'x-fb-rev': '1011103758', 'x-fb-debug': 'RaeWwiK6Kn4BTSarYc+77NnFZo6IUW8XcxgBFTSnZHoCZBoVEupHRZUSqerGf2clqFJhBy/Kre7vBb/V+BJdAg==', date: 'Tue, 30 Jan 2024 12:57:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKuvQx0IDC30q6_ijX5Ecb4sgyZxSru-QydyCaYst_xMwg-UYzNIEke3vUIpa04CIZfHJtYpEOCJYoZbWwR8uXtbLkIqleMtbGKu04w9tG-ecY6Dg"; e_fb_vipport="AcJLNJfCmX1kVriHVdthq7TE6B0eiF7XB2OC8_Jy4ZiAh5B0DsFtUG3JiIYY"; e_upip="AcJF_az1PErfSxw56BMU9f8TrnJQeIPY3ylz5zV2Vg56Frbu8GjPSSlve90w1UYstg1U4vCIjMoup9DpwLEgCqo9OmbS9oYFElQ"; e_fb_hostheader="AcIBGiPvA_j9QJbneoX6HXp2r91VwZWgYFVK2bEw2iGbmCXVKGwwVbmwuNhAspx29JPbOPFkh1npl8EB"; e_fb_vipaddr="AcKD4BE7bwqvd9cyBNClhwOjpzNyqNHUa1EMIlcfEn5oeOUmwUYflPzbKPz_0CLz8zk4E6aJ53_1zCMoiDZcaaZKc1SC7rIcmA"; e_fb_requesthandler="AcLt7atJPY_HdNvm0A5PdppQppodzuwp1xzSE-aoIpLXb1LzaqzKRqBZqZeqV9wdT3A-up1N6ps"; e_fb_builduser="AcIeA3GDodD3ZT4yMcWmWorQC5EL-5ExB6poMWDABLclfTv8IS9PXZs1ThRljh-lCTQ"; e_fb_binaryversion="AcIm7ec9CcGukhCRsTo3XVXbk8IGnaXtWSEddMoTe2B16VOQEOfnd1Dolpx1Cb59QR9XtHiReD5Gfb22CZArla52vF9JcXXBwDQ"; e_proxy="AcKY-vsqSSehzA0tTVtaHAMZtLenM0EaH2wQhwj7Ddk60IJcT96QYM4NVsx03GG_G_fXjXc962qDxyN5-C8", http_request_error; e_clientaddr="AcKGuz5kZq2vhAzJvkDVuO5EY6BRh-YHJykQWuotJ0KtxIcA7e6m8VSENl9UHm7x85rlE4KlpkqHzl9QKQ"; e_fb_vipport="AcKOZObj2OlD_0uv2ZNYCdNZFExnjz9xLHOkgIhwzFlGVdKENsvNF-QZ3t7N"; e_upip="AcLsXB_WjJj1oqS7Wl-jFUsOo1IAGoqtp_dIzmSyj_gTxD98QY5HZsunUpvmkfLFu2S7GbKJFCFzrJC9PB2Dl2HED4hSzENjTA"; e_fb_hostheader="AcJS6NmbSNA-bjk6UkQJmOKeFG2bgMTbUkq-f_M-buUAuiR-30xvVaDYZS9MSavJ4MxOjWWQC2pCRzU1"; e_fb_vipaddr="AcLVlu3ZhHG6KoSCbzPC_RdlLG-8i1wL58aRXWxqR4IdUhrGhXh15dE2AxjG4dcK_cGkAzckOK4"; e_fb_requesthandler="AcLr38ixBUq5yvsHI6dskFTZozbd_pWKMLLdmh9ct7MMVwj0Hh98Nuq7kY3ShqAkyoMD12G36ac"; e_fb_builduser="AcLRm_BgrVn-hr5JHAkZGaomgVOFAhQ5vj_PrWL3HdNXigYQORaAQBzPuudpB_tibwU"; e_fb_binaryversion="AcIElAgG04RyOACrFDeoWfnMLd2oMJoZ9pGzumbc96lG7hXyulrVUhXPRg1yJ75UCo5WO0vcTs0UbudEeK4LorxQtvGYMgLGqIk"; e_proxy="AcIBadFd2dAYWWfXRI5olqPI3rQJKqBA3SKBLj3L4ugY17bQF4OVHAf6n6HFgf8VffplDnXOGgO8heM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7498875083465363"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 12:57:57: Error on send one message facebookId => 7498875083465363 01/30/2024 12:57:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AjA8CoZN9OjKQ75pYc2jhJm" } } 01/30/2024 12:57:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 12:57:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 12:57:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7498875083465363"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 242599, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArAUg2jyWAccRkC1XYuv3rj', 'x-fb-trace-id': 'BmzFzzoCQK5', 'x-fb-rev': '1011103758', 'x-fb-debug': '+wAtlUcnvtt3dj0Cxcb62HfPUzkx9MlpTCD1uEvJN6WNYxTHzh4qSQwZSzF7c9h1Lo98TTshzd+TRS41RrxzJg==', date: 'Tue, 30 Jan 2024 12:57:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKEAmzMS2qYBhOh6aMp2UR3CO3DE4gCXer7riIis-1Eb730QO8ALUQz9EtTesFg15N6thkWqxjNRKZ756ABbAjgc5OpNEJzsSdt9Z8W3IKZjalicA"; e_fb_vipport="AcJqCVQazOq335NYNkX4VVlHBrc9BTNoVgTawtHZR2BNpXeLnNrLzqfD6Gvr"; e_upip="AcLrU1q-b6-bl1lx2AJcDAJKoP7-ze78WvDB7OTsV52aWGrs0EKGWHHqvaRdQ87izIHux6B8nQgbh6tBqSDWlkQOviM5NlEemOo"; e_fb_hostheader="AcL-hXPaTRvEHcRjRwind7GNAV-X9Qzb-22fT0M6UhfPzzJ7AfRskyTZKVkQ1xIh7-b4BCn0u6joX16b"; e_fb_vipaddr="AcKKFcRaRJF7a0kK66X-f_0uET7Agf1UblPjLpBu_oLyDCrTusCeTJ1BF-YcphiZsF4yL6Z_LjhZCabNRgwoQQWUNcBF8V6SUQ"; e_fb_requesthandler="AcKh1N2VLSf5zEtwHIdEl7I7H-kaEnAk9SKqqwTwThA3Tk6UeMNFNecOHumxdp6GTvkR4A-zMbU"; e_fb_builduser="AcIJUdRbdeQ70mwBlqDMrZtAfFhHJeK7aUp-_PGSgkcOpMRJHzb9fGrw5adGzrcqBYA"; e_fb_binaryversion="AcIUVeoHZUM3SBQSljxch3BOAFJ4Uz5KIjJSXKG-2XOf427Ge5wjCRXyNSvxPrdq9nc3KO5XrERtnEVd5asQGsm1kJnal52SqSk"; e_proxy="AcKMx3wQvQ9Te7958GV91SWuHlpSbDh0eqC3rSHTqKfN2ODWOt5d9va0FDDm7_SrYaMxeGe09rzGnoqya6_D", http_request_error; e_clientaddr="AcJt2rZVv33H11WIVzFjnWjU3OHu19wAdYQIxHfkFUNHsc75aaMHeXWEgW586dBhI-245MvZjfrpyYWdaA"; e_fb_vipport="AcI6L7u9fjzKSbrABFhAVDZceMyIiC90sIC3HjLOnCt82wgPQlljXxgzM4gV"; e_upip="AcLGEa5H7viM_QCEUskSM6VXEH3Jp1iK_Wkf9Ge-BKGFAmaSaZSchmHYpWmcnIGinQZGGyRqkfHHTcT8L9H9z1aW7ZdJ64OVwQ"; e_fb_hostheader="AcIcyRnO2Uv6W8_ccs1D4OIEwZd9xET37rNuoyvVocdn2_xUEUU6KTcUPQLV4yz9THFrogNN4iHtTiE-"; e_fb_vipaddr="AcLntj02hZFnEXxR4V1nDs8hzJU7Bk_82jEaZ1e92mzs8JviQpslAXx4cqY3dyfM1li7Jve8-dI"; e_fb_requesthandler="AcJjBsDY5M75BlETx7pOBrz4-e-_XkdKJ1xindfpAIObODlUXULvwQ3KAeKyta_xyD-IdoOcONE"; e_fb_builduser="AcJUEW055BLAaL_Fi2DOB4JRvtibJ6CrKyjzuf9e5IA5Bb-Wg1fO0H5iT_sjgFzvDpA"; e_fb_binaryversion="AcKT7lfBp_9x1kJnbvNfFSaRPTGHWtJEXJJByswRSwLp6D2XmyihgwbSRVxpNsDwtAGoomT43hHizWTLrrH4-5KPQfWxofYUkuI"; e_proxy="AcJSngFWstF5jn5NQcW-JbnVNfaKHXqDEsNL_H-d4CcP0eUBqFzZ2lZyoAqtdLCFuOZrtE2LKzCJFf4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7498875083465363"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 13:17:57: Error on send one message facebookId => 24896491609966347 01/30/2024 13:17:57: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Aqb3qeHkwVjH2izpynTkt-M" } } 01/30/2024 13:17:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 13:17:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 13:17:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 14:11:01: Error on send one message facebookId => 6728952793790038 01/30/2024 14:11:01: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AA-nigydNoyfX013ZHY75Mb" } } 01/30/2024 14:11:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 14:11:12: Error on send one message facebookId => 6728952793790038 01/30/2024 14:11:12: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AnVUWk7bDTPyjOxiHtAcAx7" } } 01/30/2024 14:11:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 14:21:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 14:21:02: Error on send one message facebookId => 6702902579819604 01/30/2024 14:21:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AzAW_Z2RSwfLhMB8TV3n9hu" } } 01/30/2024 14:21:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 14:21:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 14:21:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 14:21:11: Request bot not found: { id: '309160166334279' } 01/30/2024 14:34:54: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7151214168280535?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 260272, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7151214168280535?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7151214168280535?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7151214168280535?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7151214168280535?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEAzqTL8vuQjn1Gt01QcLUW', 'x-fb-trace-id': 'EvXzUgRMnKg', 'x-fb-rev': '1011103758', 'x-fb-debug': 'AxY3RMFz/FiKZ81aJ69LBWAvCUVnSA6062czzqD6EDQH1zFbDjAH7HMUPNcnDxQJUf+KPeXAMDpsh3aTHx/1uQ==', date: 'Tue, 30 Jan 2024 14:34:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcITJwDImD3q9tSkj3as9KThe70zvH68mAuUCvkYE892gUbmaks0iM-umFHpD-iHUVeFC2WzfFjCyBsa_0BaaIWky-Apor1U8WZnf6cGXjlkat0O"; e_fb_vipport="AcIahQP8qXD3mxGwwa51AJjZuvZ3VeoLdJccuCHvH8HRKCGEtJJG8530sXxX"; e_upip="AcJx0dgGsj92EH4JxbSHyg7ufoje1pT2zPSLHD_HpGyV_UppFqNtx__g_2QXa6yKDph7VQTZoQZHP_xQrL1emXbLGZNTurHb5Mw"; e_fb_hostheader="AcJCqQwv2afoc_zb2E9eN2vnJJJYPBlehFijiN1jR0C0shV9lvfoCRn2Ci8Xdz-jqjPzRKyYz9GQWape"; e_fb_vipaddr="AcIi6HDASMhJgUJsm0LrxBbGY7lyc5lk0JkUBf8F_bcmDeqVp_pQPZtd4iVixgjJ6lsSsAB4iVr1nxbIoP7YsdWEOfeoS6oasQ"; e_fb_requesthandler="AcLAoxIQ6lpBE62Bq1UX4un7XZNaoFhBMon-tgnegoE0lm54d6PIdtoM35dw-2F7tqImJYM172o"; e_fb_builduser="AcIZVsvJO_V9EeSU-nVHy4C2Vf6Zr-BXkDzVYsCrLyfQ7mB8Fkyli6mH1rQ-1OLgAiU"; e_fb_binaryversion="AcJ1WWoLTLHNdvrkf47ZsJUi5yKmw6KiRu2IYn6Qh7dkZ6y6SH0U-bT8cG6p7kK12mcHElEI8d9vIL1SFr8TKVD5PiOj4xOKgsQ"; e_proxy="AcJ-PXGckkgWlmejWPb7WWC3XH6IIGPiVsoL8-DOR6BsWX5kjn5ERzqWexHf3dfcPzzHC_OoYI7zouP_i_dQ", http_request_error; e_clientaddr="AcJxx_qPaf_ZWJ_bM_YPoR1zD_b9uxkNRQG_dYhgX5jJs7ecIAh_HER-MtUE4Y6N8UVVNidGOQ5AMLMwig"; e_fb_vipport="AcK1yJ24PtTkxBekMw3V64PdM8AWM5wIMURsrhfcoSPv6ev-GwDOD7ubmKX6"; e_upip="AcIDyuVnGSB_PYwi4yW-tU8OVN5euSKH_A4iocA3179izaiLsVTegMmAMZKFU8jD0lNzsGS9n0mAIVQscKs8IoQLEbBFnbga3A"; e_fb_hostheader="AcKLgPfv-kUE2N_ZG25eCG2PN1sx7AQcoKXpgkJcKlcJ497_IuO0n7PN_afDCkL1eq_iXUSIp42P1Su-"; e_fb_vipaddr="AcLnti5RD85ohbW70t6zVSbNjE9I0r93q9GY4JJDh3cdnEeZf7n_7PpiOEXojyhHMx1C8GqH7w"; e_fb_requesthandler="AcKyWADXLb4jLWaLE2KLvumlljTGT-a6dZyXZN3YsIOKQKoD9VO0h3mXBcisP6Xxq5q1HjKFmPA"; e_fb_builduser="AcKejyZe-0ZBTg_ajo0rt3rGs_8ocZD8EpKOOsuPtftH9BL0oV16EM238G5VIzbNGPQ"; e_fb_binaryversion="AcIEz9kAv3r28UTsu0P-SIzO-M08FMOQhWAPvuV5JYebAXiWvUdLUz3SZeTEy7wx_sYvVFcnN0E6QWH-Snvt0ej_Cp7JETk-gUs"; e_proxy="AcJJyoNLLfPD3OknQ1x1fpz7ruU8cC0gXSBYkg1NFRGcZWZ7N2ZzChe3VmBXiOUN3yj3zhM8mTKBmQ5l"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7151214168280535?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7151214168280535?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7151214168280535?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 14:34:54: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 14:34:54: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 14:34:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 260392, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbEDNX-ojJZfRAiEzx6hUxz', 'x-fb-trace-id': 'D6v/tdVgvb3', 'x-fb-rev': '1011103758', 'x-fb-debug': '4NLvjy5/kIC/rlRQ6tjZSFyiQ9yXMc7EENd/Z6bivQCP6GTf1Jp97G3CutQEcy8A6AKAr6CqByUEDCaBTiiO+A==', date: 'Tue, 30 Jan 2024 14:34:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJjOo_shUp8qditLi4fkBaSdJGSnY9tDaGtAILkn9Xw4DOYtaAtD3eXr_ySj5y6BHBlmXHAw3ZsllXfYF9MwcIFnG7Xfw2VNRfoRZ6PetS3PYFcpQ"; e_fb_vipport="AcIf3UMDq5PrKQF9ghHkJLuEerDe2gTmdPTJp-plAmOYZTf2xUSVQ5f6hsSD"; e_upip="AcIAm7FwZutj-Rq0A8ho9gdqxPSRggnaNrXGKYNgOfWG8vsT2GiFhv-9ZRA9IW0D6rEjPe08-JJxiU7Wc7s8OxPhExGDXFWO1oM"; e_fb_hostheader="AcJ1M9wgk603oP8ts7pExsfvDKguQioiakXaH6wzg0i1IAtUYkHSWm1ThiCmhr61D66xf8oTef-c4CM-"; e_fb_vipaddr="AcIfNga4BwGEU79rPIFWcYMWGFbexAKEr5tXvS22ISgwFG2GgtVxZYIAc1Zo9jDgVHmTKgZN62yE6Ng_582nYglxIvyZzIq-YA"; e_fb_requesthandler="AcJl_3aUxlam26LNJf2_wt97hOQn1JpOBwriXkRIX7CnkHAYTUsAMMkXiO169Jo-rUXR2iOOfec"; e_fb_builduser="AcKQm9aGa5bTDXzW2j9bezX_OAdnz079QIPnczlKS-OWSBOTnxZigGosNitebCDQiqw"; e_fb_binaryversion="AcJYe6_rzc2kUrcRAR5IbS80kcXZTia-J5VcfLltwvnRydxegSyFixYvXQJqNDclFLdT5k9J2gMEpD0_As0ucov82CWfMmjGniI"; e_proxy="AcICGs-o6lQbY0Hw4a-akXnHRS3dpl11w85qLXP9CfJYaVltx111bNYaKEI7MmBN-e6zvOHI7p93dZmSqskC", http_request_error; e_clientaddr="AcJ7LPeXgZXdjHm2Hmgj8a7AxYIN9LZGHUtl9zPzailma8LseTCS4qjueScgfXc-5Ib3SPBYc6YrPWEp3A"; e_fb_vipport="AcKPXon8fO89T8c01-0eX3HX8epayaScqtMxZEptCO6k7EiSkIxq09UXxtaI"; e_upip="AcJo64wJMc4xERpRTHNLTGybHk15j-jWC2i2xu88jme2eSNhUl01MAGI2vVGp8FheT5tflFGLo0MtWQzBE01dj-fnZhBX0-clA"; e_fb_hostheader="AcIOrhIlrAvXpZ2vnEMiwz8BPVtKOO3qnVaE6fkHYDtsEPDZAv-5LCgAyXunxUOkp62cZj8W7JjRSwOj"; e_fb_vipaddr="AcJDaqAEe7Q7OiTMsPnWQm_5uWZZYTZQQt5Iti02xUoAnLSaJI35wO88Qpb3lBG_aiQyhkfhlQ"; e_fb_requesthandler="AcIeqQe913a5quzQ9aYT4F1-S6Wue5XNMQ-nS3rcowE25czhbXQNJiEOy00jMzoPvIhl5WEZhgM"; e_fb_builduser="AcKDEu-DFNlA1u8pNgzRAuTo8KQoCTrvKJCzN4IytJ_htykowkWmMPsQQ0RILKuwMg8"; e_fb_binaryversion="AcJUfYCPWeugc5AKtpOmufztDIWrYAYCS8F1IDZzoqHVo2kjQc-0T_Cv1bpqoqy8ur59jTbpGNyxIYKNXWQymMR1m0qUimOJOlY"; e_proxy="AcJxQnWiSyFXs419RnOUStgXamONxt9Jz3qGMo-JboadTFuH77RzfVRb2hL_vbVv_9TmViI_qxFYd_Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 14:34:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 14:34:56: Error on send one message facebookId => 7151214168280535 01/30/2024 14:34:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AIAW22i_xgk2yS7NHFcYqBe" } } 01/30/2024 14:34:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 14:34:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 260465, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARVyG6aTWr5kJ3TK2zmE96F', 'x-fb-trace-id': 'Be3WJWghGOw', 'x-fb-rev': '1011103758', 'x-fb-debug': 'h9MI6F6h5R2h1GQ2EzRf64VQMxJdn2bMjLC1hnxusdnRg5YSuSsAIZ2S5CidJ4MpEvfHWlM5sPmfFyINMcxt3g==', date: 'Tue, 30 Jan 2024 14:35:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLJGrZW2NR3OG_ajpj5F4zFQWHBCfSh1ovJ3DmACZntsqh-rjzcUnO49_UP1DBvZmGjp6kbTRlnjyQCxWcyf5kRvQrKOXj_UvaU_NkxjGk6UUesDA"; e_fb_vipport="AcJTeENLyJ0IHXuT5YZv43kXaBYTnLlThN62tpkZNE2HfiR0NZt1Nbo5B_Vp"; e_upip="AcINIFyuHosEDWV8Zua2wOzKrmk5bxhdtsl308CXkFI8_dyFpNIlQIwYh6WZKPgVegYPYE0gG3GHDGSgDeRMREWqKi7Kx5HwCdI"; e_fb_hostheader="AcLHaIYScfs10pUywRqZKItLzJzlT5ImMKLV45x8J1DYZUIAiB0WDLKAmtTz8v5eRzTDPTu6Iqss5IB7"; e_fb_vipaddr="AcLBDEu8mlXxiqXWGer7LTOoCC-5cB7JmctIgpzivbA5HSBMZfBjFeXXgJsyw3TIgiCfZ8jm2dib-5Dwq2QXgJDS8fc7n1jKlA"; e_fb_requesthandler="AcJq0UtHlLGQpV_Awgqui5f-gCX_0okrX2HOXzaro_BL0MAn9LWqEl5ehP3h3QriRLkvEw1XvJs"; e_fb_builduser="AcK5fVQGR8QYF20FJzjo_3o1w1LKE-HWBBuv8VuMPWKado4nZko8X-Yf79aHLwXKRfw"; e_fb_binaryversion="AcJGBHIhE9RePtS82Al3G43hAgs_m0HWV3WEva8Qt0h_CqiCOxVEJBj0hUTtXcjvd1ThXnGdOIVNaTkozbqXD7lZzKS0A2orT-w"; e_proxy="AcIq7gOX17l85vId8Yb-94CiMUZSI8bhyBSGpc9LFDa6UR94jAvXsdn8EILCk54bEgkD-a-37zVFOxYXiBVX", http_request_error; e_clientaddr="AcI-4A_F-a8-rDX_GRqRxq54RNNMfkvSE8615gVluKs7PA5zqsrpfPn14wGsJAMgTudFpbp3tmmebE439A"; e_fb_vipport="AcIbCV2L_5ixfGC6DoehJOZBRuvvtonUQNUE2mj-T3243hd7Xk5lVw3M3Kc1"; e_upip="AcK8J2Yn7684O59XBcW-AoY_CEflz9hV1M2nPDKmWZ7DB2udayPquoPYOd2yrUS8b0rvBSKr4a2OWkELvaYAWFFSjjJnAm0XXg"; e_fb_hostheader="AcJf9PxrAI-BDruX11jJp3W5luadrQvS6WQM46nUPQZpuxnGrcNloyb3auybzQ9e1l_10ypy6mlEy_gh"; e_fb_vipaddr="AcKdJXyq9ilocxiM3_x4X_TUvx4SrzU8WbyVIGqQQVTkJTJEjLU35SgFaiBHvUPMur2PS6XLHQ"; e_fb_requesthandler="AcIJQ0-2uAgsE-Kdkpif5hUPBMBhFmXKMwnbjn62Jy8NbpMCrJYTs4KmItXL2wq_byW6-9pNulI"; e_fb_builduser="AcJDhzPLhfzeWVbGRrTztH7earYFEgZfczCSg8sOL5Abd-rbOcP6NNqqT4-L5SfXnEI"; e_fb_binaryversion="AcJ0GqwPae-KfhogcWg88mqNs4QOHZOuhQ4zgYLn3QXiDWmlzrQtANeHwCWLwBOmG8_3BM5S19NaeKnR_z_Upk5r12QA-Bsb1QQ"; e_proxy="AcJPao6v72Dq7EcPwlN37glpdo3zS1CNnCje5iEqQSpwNOXDMoZaulEqe-_MMaEFU5xaMwuc-uN1ME4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 14:34:59: Error on send one message facebookId => 7151214168280535 01/30/2024 14:34:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ai3cgegI9NXq1ryLYV2uRuG" } } 01/30/2024 14:34:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 14:34:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 14:34:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 260604, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-AZvtgbPW4HLYQO7l-VZB6', 'x-fb-trace-id': 'F5nNv0e9laQ', 'x-fb-rev': '1011103758', 'x-fb-debug': '8xg1BhrTALb8xOV+TZ7z2nvk/+mG9u851SL14M5vT6S9u4jyhlKB+Cza8heP5lC3XhDVXjEUXqhwOJARNaZTjg==', date: 'Tue, 30 Jan 2024 14:35:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI1RBoVTFjaUXL_rs3ttRleO79g--MmEO3Nbtab_ogJzoalHnfqC3TiVt3H3BQJLOkGbr7pMzDKh0GZGFLqnLSxyoj30jcRUAJ8nsac3RTv0_x0bQ"; e_fb_vipport="AcLz_oTXz7IgNM5VoCywRP_y6d_XBNwrjzYR72UashLosaPHAP_xzvK7rF-U"; e_upip="AcLydDWvaMjO9VW87vdQ1nhns_ProlaxxxdeOaXX9joFhg53jUJVSV6an3RozWhlAOFtao4lxWzea_HuNx456nLEo5Paet5nnnU"; e_fb_hostheader="AcL-l9ISMQyE4dASM5j2J6j_6ZCduGwmUsmwRL1CnGjqnS2nAqIi_JEcXlN2Q1NOHlpN1q2BC7ElLuz1"; e_fb_vipaddr="AcKfbWtXRFz85SS8Bv9XwyXsCifBZpiwwkzw4Xox-KFz_w33hKvNkLxA6cdzYW1H06sOLeKxe_og-Isps1I8hRxeQIXqVUPtgw"; e_fb_requesthandler="AcJT9IL-5ePDkQhNSYvVOlVM9q_oIzwdBOra6g_b7DgjTaU4g4XZJha7jkzPLFdYfccKhm7ICV0"; e_fb_builduser="AcKW1mM4M_S3ErZ9vIUZM31wRQ1ytx-jeEhaKAdPZctjLeauCcLipEBV1o9s9r57oVA"; e_fb_binaryversion="AcKn-LEYLNUGmiMfqdcrH5NoBDGoUyUs00Sk2VJ6yW_e45EHghmWFjkroZAOB6O84Wm8sg2XXxyRSq3wa1mwfQ27gPiEwWblZW8"; e_proxy="AcI-lY6NBK6ZoYIegAt2bYhah1i28wTJQHHyQBRjZ-OK7XWeEqQviSNqyPTnxbC4HbKx4x4fDxe_uwp7erjS", http_request_error; e_clientaddr="AcKB4Z8uK9kHZbCA6ijhydaSRYOFnJHCSD_SlqoArEkhIrN2iWXTZOzpHlu08WkQyO9dJJPZPhmZo8jgTg"; e_fb_vipport="AcLmDJxY6ZUmaJ2qD9EW3jyzlTbdG6b1IwnsViLuZtTPgyppw1T7rCfjpz1V"; e_upip="AcJcXWuC8JyvW3a35_2i5AjNdH2hwoOoxzoOmfp8FNwgohyobgOyC9BLIF7EtiuXYMQMXe3ViizurVRynigLER6jrwixpaicCA"; e_fb_hostheader="AcKE07CmuN9c31JUvkujMNiPWephjl7wT_kBYVCyjfQGh5Cxg-G0sdlSCyrLOR6c5upkIBkJDFiufPzb"; e_fb_vipaddr="AcKRAfuj0hP1JFQzGoHId-LNIueO__26gn-PXGQkvQu-m_YEgqGiPCMMqkLzzOOMYtZaKVM1Xg"; e_fb_requesthandler="AcI40AWUEyl2xG8pdMHcDmANJfjLz11CdqWZ71Fkad6nRT-GkUzr__9A4294z8pz2fKx2Lzg4Hw"; e_fb_builduser="AcKEVKiH_tHxttboD2cl4kLimDRjSW9EnzmEh_bbTFKfQGEUus5hHRX527n16d1M4ms"; e_fb_binaryversion="AcK_h1gUxG0hr6ZXvDL3P8PtncSMDY6PqUQr-PMFrLPB3ynnP1LsScihm8ymfdCK_DUnRWVJvRcMuVgUCPyYMaDFEsKpJMRNX8I"; e_proxy="AcKJnI_NyNFIsDWAD-HatfQ2SEwWG7vGvhO6ernLR2BjO2I0lH6E58mqc56KfCN858PyyjxAM7EP2GM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 14:35:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 14:35:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 260795, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALFJFa5PqDu0uzIFgVksdqy', 'x-fb-trace-id': 'HA7zGL2iBVx', 'x-fb-rev': '1011103758', 'x-fb-debug': '6+e+LAsBlXhUrE2Hr8LkKRgwLkEPabyH73Wlqm6ulf3exrliu5nXaDOkLjiRocZt6j6mgDoSiXZBbL5nljEZwg==', date: 'Tue, 30 Jan 2024 14:35:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIXsDRkseu6MBl-ouQtWB6JYTzBBPizzCDhCtkNfY_L_PYoSmjARuS1DqpHbUSudFi9CJVPMO9vNllSg8R6XORhnHngQzYQq6xVOCcj8v5CelBI4A"; e_fb_vipport="AcJLzIeUZ68Ctu0Y2z1SufA5HzqFgI7i59lU12R1Qk56Zptcs0j9vZyd90Bz"; e_upip="AcJjkJFZy_LAwze3k5rhTpNccpX6s9hQAaxN6uSpcDQtOIt6IjQvSBmGT6IfdAoOGGMps2WvVf1dofxHOchrAT9vOIeAixpC7Wc"; e_fb_hostheader="AcJhNiuO89-eHJFoZ-I_6ZDdkLuhvcWo_9XBt4HWCBWor4RaDdG4TTOIRcJ1UWuXDgAp11z2MgYl-vfe"; e_fb_vipaddr="AcKy45cW9hga95N2O1LDwPWFHDiWh0dYpwaeNTCD3d5sKIRmAOmBaZdmGjSTymHjuQo937LUjupISoRfqx84WmSSAKDd6xMi7Q"; e_fb_requesthandler="AcKzyfGgbcfpJMksP4drHhOdYKfB8MradDhTvn_AKXmhY3kE3MnyLUggl-UZ95Dbr4_BmF9Yo7Y"; e_fb_builduser="AcIn8DPvr6p_yIiiyu7pfyC67mn8wz1rct-U4EYQ8w81FX7zdur85ByBgnKZtKodrAA"; e_fb_binaryversion="AcKwe5bRX7Vmb1pLaHe0q99PUbRXKVJvs40SZ1JTjSMjlD_gSf8XQoJ2rY4toU-dO2aoYmnViMWOd3kwXlT6PsbL5LjLujUHKF0"; e_proxy="AcKK73Gf1uekP4Bi0V7zvN7WtS6cq7hufBCmkFuwfO7DfVmXQKIv55RDzULar-ASlwoSa4odue8lIrwMnERq", http_request_error; e_clientaddr="AcJxrOuy5yyiz5A9huTvIZy8Y_nEKYPGizdeuRBsQy_BsyqNM5BDag4VdkLgsFLXjXkWHAtJf-FsNS1xag"; e_fb_vipport="AcICcAzwWbJeWfTJp3kw5UEsXI_gopWawOuBgjXvK6rjAVzKyqnM4IsFXCpF"; e_upip="AcLQSpjon4tGK4qt03TqIBzdpdJ0Ce6M8pbKCRyRkRkubVJOCbdYy_djYpfCyz8pndvGmuTPtfDFmQh3tDx1MImtSsElWowKPg"; e_fb_hostheader="AcIUkd38YsRIuo9ekQ1jZpDj_9Q2JIlidgXQjDELMlR1r-E1KnOmVpp87QM3RWmhfIUs3PE7-Yzp2PlS"; e_fb_vipaddr="AcIiVsbVoFzuavOp3bE9c14hIMngzVN8yKv9Sih8zDUoYna0BSAJ2bHNU90o79wC13vPpmnGAw"; e_fb_requesthandler="AcK6ecjPjlD5wKGnYgFUgC1d_lPkM9PFCd9PB1zwf24Lod0dcsmIl_fURzP9XeMYGWaVJzpGNng"; e_fb_builduser="AcI713nrjdWVH7UbGpjK19-Z7TXq9OZV2zPMGpS_Wmxn8p3V89_xXQMuqIlJOYjPDl4"; e_fb_binaryversion="AcIHE_vK66jI7KVe6t__2Ixl-4FFVcQ3U71dQsqH82WgYJmPnhnzs-UwwPyiVTrACM9hKcrnGCkDJNEh7fFawEjaKjrDJfRTYhM"; e_proxy="AcIf8jS0ZnQvGnFgctdEYTCUL8QeWppRLNFkywb881p0a5_rkg2SxQpudeUii7WBsuOAX1YLS6FUynAU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 14:35:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 14:35:04: Error on send one message facebookId => 7151214168280535 01/30/2024 14:35:04: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0S0jJ4uQESa55cdooPj6z-" } } 01/30/2024 14:35:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 14:35:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 260932, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZHVjXnAu8kmyHWhoGMPHwj', 'x-fb-trace-id': 'ANfGXd3Itc/', 'x-fb-rev': '1011103758', 'x-fb-debug': 'SDrbKPiQy1PTeIyG5uOlSUSAdvNR1webI2brZU7618+gjuc2r29EEB5v8chNwk6lVhmNsvOOfUZwhQHMtZ6yAw==', date: 'Tue, 30 Jan 2024 14:35:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLgSECljha11fmbYHQwLZIIKLZ4W__isNHXsIJj5gHijB_zGD0TQF4dQiZkpjkn4KLTouRUw-q2BL3pmPMSWMzj0yzak-DVa_ekSyQIXR8yFVRbOg"; e_fb_vipport="AcKpONIPFMNtcyADQYAhQ9ODe1w1OOVMR3viPlL2YxT8XkMgDnd3aBFfU1aD"; e_upip="AcJy0DnfOu8CV4HaSeYquL9i9dEmKjpuBtS_afmmSFT6Jn6Pysmp4I-EWgDbg8_dUiB-vqNNMYaEq0s73tCnxzESCJABRI1xww"; e_fb_hostheader="AcKS5tFOTHO-v5yml_hR2_uijyCIebObArgObh2gOjaQNbXMxbSysEtN8pboS-QjeHKMbuy7dZHwKnih"; e_fb_vipaddr="AcJC09ya2kkpF_7TbP7HoGhhNh-RSTnMXLO2Pp2eBfPE4J_6ZItN8_Lr6sVgLEa9Ji2p6aSKfPPOQ-nin9fQAAHc4VB8P7O-eg"; e_fb_requesthandler="AcKlJrmKJ1T4zLz6omC5oMIzkTMiuLTO4Q4fjSOCM9Y5vKW5X4QuuCLitjkpTDi6phmHFdYZ6I4"; e_fb_builduser="AcKD3FTJS8CAutLwIi7tuw2VREPubV_m0a8hCRuMa7-odWvnLaCb0MjKDz-obgVeCnw"; e_fb_binaryversion="AcJX_fa9OoMyKtxl_AJlCZkDSibwyRZFHScKPd54FAQGw4bZUTIx6EeiVGzY2bcStFZcLZ8vQlTZpVS9QeZHxbDMRmzntpvGb9k"; e_proxy="AcKN31_CwwgzSZ_uQ7CqAPNnwwpmvXFh38K88LJ5IAikeI-C3pX47PBvH_OSwc2OF0NWu4Y4QgZrQGJHgtp_", http_request_error; e_clientaddr="AcJB8wjMiSF1KixOakGfRktIlvupKmqHPbpOUmblvQmvCfoVxhNFMRvWBEIHNY7PBMfZNd1szsAfWPvh2A"; e_fb_vipport="AcK-FUPU5MEZRVcl_C2BhUz02hDl1tMS6rP4GVSfatnwkHBRgi8cWQ3GAVUw"; e_upip="AcLy77R-dJ3L360DzEXqyQJkW8AHrhxz3ioDsnQnCcuTHHxbn_CXL1lATdLcLRZaiCM8rzyMll_TKshjUQbOO1EpvKNLGeCYxw"; e_fb_hostheader="AcK5Y3jmozwf8E-SbDKrBCEBp0aFN0fnCp2PMRuCDAoH28U_lP6_fs-cKPfF9aFrjTlsZqQ_q7VNO1ek"; e_fb_vipaddr="AcKwGJkv4LgZs1qtgXsGGcHa-JYupc7ednFy92SSEvQfXbdjCRtnS3FhRk6WybThE7peDa_0tw"; e_fb_requesthandler="AcIUQss6vIoPjnrZEcz_JCRj9pHNMOXRzobkhxcWH_jP2VIp80FvdIJ4QIz-jvPD0VbyxgAnOEI"; e_fb_builduser="AcIYhcXBgE_k3OaFAsxM78xnOstLiqFOs746yd_R9ey0U7GRnZBxSFGVzYawWiScN5I"; e_fb_binaryversion="AcKB2oJC0wL3-44qnMfZCsdCxRf1RjPSzjsY_OmmX2JnzfhxDQK30y2u9raW21MZ-LinplglsTDklckrGr2HAvTwmpXxR451ZNo"; e_proxy="AcJef14qT33MYZ6YNnoD3n69feAoJTsmF4ha87TsyNhMN9GGIn5PS2BvGqxv4FLOIb4ar5HJcqR1x822"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151214168280535"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 15:55:32: Request bot not found: { id: '320637341295349' } 01/30/2024 16:41:02: Error on send one message facebookId => 6728952793790038 01/30/2024 16:41:02: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AiItmiJUzmO9TmZJl9iR5K5" } } 01/30/2024 16:41:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 16:52:41: Request bot not found: { id: '565033343594012' } 01/30/2024 16:54:06: Request bot not found: { id: '565033343594012' } 01/30/2024 16:59:45: Error on send one message facebookId => 7498875083465363 01/30/2024 16:59:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AFKfMaWR_K-bkoHa0vu-6z1" } } 01/30/2024 16:59:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 16:59:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 16:59:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:02:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:02:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:09:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:15:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:16:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:16:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:19:57: Error on send one message facebookId => 6728952793790038 01/30/2024 17:19:57: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ah0aXxpYGbMEdS_w_Rj77K2" } } 01/30/2024 17:19:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:30:04: Error on controller payload Input Treatment=> type not found 01/30/2024 17:30:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:30:13: Error on controller payload Input Treatment=> type not found 01/30/2024 17:30:28: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7166881150065834?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 298131, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7166881150065834?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7166881150065834?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7166881150065834?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7166881150065834?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZZomAntfG1oQOx0xnKSI7c', 'x-fb-trace-id': 'Cmyzr+vtSGW', 'x-fb-rev': '1011105921', 'x-fb-debug': 'W4G/mwbWJiKPZCb31Du/SnLdbvnUXRtkrvRtb76L475qK4xXA4zoynZxCYWYJ1IAXlbvtdp2Dk1o83sE2YjWDg==', date: 'Tue, 30 Jan 2024 17:30:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIt3BsTnbL1Pp1TiouXFA0Z0mZ8rvLr5cLInO_jUIzt5lFtXg29TcFd9ZkxWmZ1_FM174f4w9W4AU8pm0txrG-AbLo4Me_YGUsZ09907SqUO9AE"; e_fb_vipport="AcJJa6WOGhgur06m_Cs1pzt-bfDUGELPrl1wbmNkjg0S0Z7ei-iWVM8kuUbo"; e_upip="AcJYD9sm6Sy2LH4lMTB7q4JAccjLArnzYuEZxSRm7L1QgsNGwtH0Dvcv6OTec_ZQ7M2TSGFDblx2IWdtAbHWzQNHtVoQNtDKUg"; e_fb_hostheader="AcKZrpcz94cF7YXQDnrYLkZZzIJ_L20aZ2hdFx4jW_lM1iZxUiP5NwJtPXSJtKTYIcvPC3VszulJ7pP-"; e_fb_vipaddr="AcLuZtOB3p0AcO_qymsFY2fMxpJnSxwOw4nWW6H5HzcallEe4qsYGN3fA7PgVR3LiMAIrC2T8d1rncqrpmjs4BrckIVCrBO2vw"; e_fb_requesthandler="AcKXZyMA8r_AGSdbHP9V1rvMwfVorYICbrIay3v6PmuS7MM15SPu5HQHYAMe964OhHh1rnoLQBg"; e_fb_builduser="AcLN6PAu0j7vS4gGlsJafclmfkFjcvysPthwsa5XX8Q_uroAwhtBbpevvHLMx8ey2so"; e_fb_binaryversion="AcIOgSmHhAT9rmyHD6_p2GrXp_uuYnH2jyh7bj5LW1d9tfWY2-ewFW0P_vN-JDn8MVJNYZu8sr9d6MXO0MYbq5gujsAnjgHb1qw"; e_proxy="AcLaapLNSuiIvX6muds0C8ykv9AvTLo-7ZCMea6NTK9v83XDb3OZ7noqqtBZ-RNjoDfFlSeGzzgn-LdUq4hp", http_request_error; e_clientaddr="AcJbcHBeCKVk8gdgyCxze6TH7PYLda5hWw_RggmSKP4lX3DjQYjcyQQTYWesrLMWrASLf5DRM_jLTeASkA"; e_fb_vipport="AcJWyWtPpCHK0fF25HiA_QMAIv1_uf65CpWuZb9D3v0GOkXMC7WCJVoL5ecy"; e_upip="AcLjiFi4dUKnQAKS1nAYoKUHKD4guOYomhiN9BFYLSLPb_QCcd17-8HJVXbDz3SpvEl_RPZs7W2cARA-Uy8SwWGhUTbsd0PWXw"; e_fb_hostheader="AcITI-WWH1uU2QOjWsfHpeMyWG-J-YmE2qHmqD3NtNzzMrsKEtoL5HiD9bB90kV8PUh9DFGHwtQvqeGY"; e_fb_vipaddr="AcJ-g_ORg6gqkizVQ0w0yLVd3VvA2y9Y5ZXnKmmXy7wlrosPxfGQ8vVxB3MTzC2piI69lW4"; e_fb_requesthandler="AcLOXwZR3FBU-NRHjUPDcmW9nSEOPH0o2T5_jFWywH5XeIXQSnydMGJ7Psvw4qSRWhvSacABDVM"; e_fb_builduser="AcInbCS0pwgSo1iQba_Kl41zYWkga-xUXyLCo9oSgLCWd74P3HFfBdnreE46WZ8bISk"; e_fb_binaryversion="AcLRCl3z5hfKWQMtpaOP-uuoMqmZGAfu_ZADviSICbcc6d5nluaMxrCiDse8EJTepEx3Y2qp5zRbX7t1-Ry9XQxxUp-9Nh2gAv0"; e_proxy="AcK3kc8xu6P49RKvcEGf9v-ppwGvI2hJP-9XbKrdidV9Pw2fUpRil823raMq8_cXQHZR6FOb1wePTNWJ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7166881150065834?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7166881150065834?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7166881150065834?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 17:30:28: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 17:30:28: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 17:30:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 17:30:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7166881150065834"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 298255, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJhc0iGtdeJPJY9NE20NVW0', 'x-fb-trace-id': 'HU3y1hgekpj', 'x-fb-rev': '1011105921', 'x-fb-debug': 'OqNGW1pEkdCiy8PcbcMTsbr//aDgg4ucxWQQVMEkZl5jiDDnCxI+2NqWK5SZ1Wc2pQGBe6I6N/m0Tq0XvoCQjA==', date: 'Tue, 30 Jan 2024 17:30:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKFSJ6pJvvxr3yqVVJe90kun9wIbjtVOvFIqvc_0Te_CFTtNavc67MEO_u-PbgOzUMVgYFAwxId26vMpUsTFlTvB8zorDYKn1OIcgnoWCbHYJJ45w"; e_fb_vipport="AcLlS5ZI8SKD-Xe-HK7uAHgJ6HU3y3UsuLogrzs99_QntOHLFmya-SUhuCcf"; e_upip="AcJRRXPNjETzJ7KmkRljcQ8NgPoh9EBJXZWzduG4O-h7ACR9t0WT0zsYO0B3W5hpJMwb0lujTVBigVg7qnsWXIoiK8lBeDIBJGQ"; e_fb_hostheader="AcLWXgxgIQxiQ_7m0WZjero_MF_-ERXAkNA-cKRlNom7XXTExsggOWCTZDY8emJN14nZqVbbM2hv9M8f"; e_fb_vipaddr="AcK7DVQdG3Rr9Re0EF9zNFTt0U213sTan-Eh3n2heNwoFtd0kG5vltTP3cfrqD8vEoYZFHW1SsydsR26vFaMjYnd_77iom6uog"; e_fb_requesthandler="AcIE1hdxhCFmD7THSyHMkuzWojyMzUsr8NQa4IRcxuA9XDV6A-0wGIqj5dEcL-Q_cZx1C7Xv4X4"; e_fb_builduser="AcLFfFZe_oYoMo8Xk-5RRFU7qMTITK7lckAJJLjSyYF36ggN_D55lz75jWX3I2BDyms"; e_fb_binaryversion="AcJmrdflW1ofB61R5LgrSqx_STotx5n4Rr9svmYSN1h58OV_CoW-esAfpEnNDVq-1pLtfeujmyYouWdrlmws9hW3rKtOg7W__vg"; e_proxy="AcLNWur-r_kbHB7C4U8cIgZpyND_D6G_fCoYcrWMtd3ybqSitp-s_GE4bGNNTrGLg6kyQ_MoE_y-gUOHtUwt", http_request_error; e_clientaddr="AcKPk8hy0R5UBAJLjbLU_hMh90j4eMsoSdlGoqOx4JTUX9Kp9HRuDsy5EJrw-Mcu4GGksHf2S-CPvRWC3Q"; e_fb_vipport="AcLX9Wz-JQNTiy1oyU5NW6qPB2Q4Ij4hogh7UfkDgFYftCdBa-f6Y3x073dt"; e_upip="AcLYRMbCxufWi1t7oP8PvFGu7IS75U2QEkgfW6UdcMeOIz5viSX7vmNTA3oh0K6XIJwHCPgb0OWgroF4v369eVW9VX4WyGkYmA"; e_fb_hostheader="AcKkvYMiZhZyZHcH_ADdvPCvi9nnJtILSgKSlSMFJpfxSpEMbuFoyg1F0JvySfUN2J0IadgeKrdFY2JH"; e_fb_vipaddr="AcI3SrEuq6ETIsJ_G42rE7nznUTG6WO7xrjRK8Zr09k3zAr4sPdMAX6M6IbqkJsq53w4Wzg"; e_fb_requesthandler="AcKIKfuSSNQZJUvZktTPlkLzmD0Eav0ZmMVpsSwbEPQ59o3HNrl6z5gq-Lz19m43JEvOrtUWdD4"; e_fb_builduser="AcLiXM1z3m_Nb2CaRFTXO_tjfHDqMXGhcZ53FrsZf8VDj-9Y80KFsMoDHvYdoNXmnns"; e_fb_binaryversion="AcLX2TnAo9p3rgfRZOzc1ssJeDp7XI-Yfu06qhky3NRl_6dJI_NHfyo6wEidWiuRdEuyp1LXRDfDQT2z0Y0ut_rFOfoEYk3V0Qs"; e_proxy="AcKRYTyIBeo8HHcgUEGsW9j2Jadu6IxS9w0ZjA_HclFpcnqyALEjA3HQ71UpDHPMXF2RkWdiDSdnaDs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7166881150065834"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 17:30:28: Error on send one message facebookId => 7166881150065834 01/30/2024 17:30:28: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Axp4Q9pLLW8bh35gj1L3NG3" } } 01/30/2024 17:30:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 17:30:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7166881150065834"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 298328, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATGhZ56KKFiwntsYF-DfYYb', 'x-fb-trace-id': 'DgRywJNMU1s', 'x-fb-rev': '1011105921', 'x-fb-debug': 'RXGZqQcSHYzJf3bn2ycsSF2abZR6uImIdyAFF3F/OHswAVp5eGDD03K81YeWq7Mesr0beAf+ZqkFKkF+bijj/g==', date: 'Tue, 30 Jan 2024 17:30:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIDpZT6EJWtKYxyD4q-X9gvtu8eTzLwyesWrr9VTMzaSig5Jr7BOUktZ0OlWY4z5-TVCw7FA37khoyGiTW5xnZOpRzbTOot4IpdSmC8Yn9IPNVY"; e_fb_vipport="AcL8yxvT4wKc4Btr3bMXnb7EVExlHteAqVr_KJLFRylNsW8iuwGAYP6glIkm"; e_upip="AcK2S2cGxefCpe-5gte_9hDq4An0F4Pt3MQ4-R6BLa3qUoWd3Esp0-56IrIbb2WcZgmukYp1t2TIkyQQyux754JWyVmC1NjhfvY"; e_fb_hostheader="AcKM-BGaRHe2VPNr3oSMxSxtpTe8c31I7FteN8V_p10tNKxLrBLuphCGvkDO6E8UevMwty0DZwlm1D-C"; e_fb_vipaddr="AcIWFvLrPaomYK7C8FT_xNZDPNni-W26Qc36Wvli_BlHlMQz1rfn-tPFB7B1rg910veM87LuX0JlXozNaZUcN4dV3GHxvevEZA"; e_fb_requesthandler="AcJSyi89BPmB-lAlyaYtOTKeXEcGkvIqYIBtNR0GEp-onrPQbA-zvI_2ic5pT8C42Nfkdf637mI"; e_fb_builduser="AcKUYPrkilCelKf0bauEXVBK5_OgdUnwjsDn-7XClvR-u4akZbj_Ub6qZFhzvIniC5E"; e_fb_binaryversion="AcLYYWOtXALsYluXUc_iXsu5DHocEdC2HJtKpc0Kk_A9KF_37XlIX1WQSdH34-jAm8z1QwMyb5jzDbSWOpQd-sS2qGFu7T59qKo"; e_proxy="AcJiJR9vWZfUidQCv0gIkN74dOQr3T7nhTWdedGjUbkSklozcS1DdXxXjdH98CcmsEWO3uvjhkLe4qpS92mn", http_request_error; e_clientaddr="AcKY59P96zub6Ted9J4Cr73EejB268ZQ_eUlDBNwOq4W4TeSoJ6Sk9loWhvUzTlmMhOJvXj74Fgm_lyrfw"; e_fb_vipport="AcJgS-TbacoGe6PoGXGt8eA6IZFUDzP1z_f5k9HH0ggDNRzLVOQsrHAILDID"; e_upip="AcLYZLBJbNMFn40-CpQ6DGhg2Qicu3JW7smmv1yOXn5La69lPv4b8wAivAIEuVxwz4rb8Gz-vCb2onFdFvMp37aSNQaVkmyffw"; e_fb_hostheader="AcIGjC708Lfay2WUkwMmQqF5hMY2Q14cQd6bXHlxRDhFKL-ASUQVI0_RneL6RT-cxN6hQeDBZ-N4ZWqS"; e_fb_vipaddr="AcId9H0FqmF9r9h5dkXfw4QOutD7RMxoKnepv2Y86cgpekM6m33ver4oE8P-xy01A2rrPsw"; e_fb_requesthandler="AcIuQsfp__pM3m6EVZ4ugBPXgIz1rE7KcHsUFPriVmOEmsNqzkUXW0nC6sQcRj6LUwyUOoXCthc"; e_fb_builduser="AcJwN2jWY6lOiwzL7u7bGDp2O8W1H5ChV7cqyyH5Kltj10iCmP61YrHORO2NPss9mIg"; e_fb_binaryversion="AcI3_044QvNN_tB2Jvyvdh3Wfrx6BTpSVP12zOd_JUeUHYi6zUd32oYqVU0ctirBlneyLV8J90agxKpnoEtXskAPJCKWFES2dH4"; e_proxy="AcK2-lS-4P24De8zIgqQo6olMKpY5DnCNZ_TtchWXVeYITW1uHe4Hy3_MLRhy96naxDmbukCAhtlLz4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7166881150065834"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 17:30:28: Error on send one message facebookId => 7166881150065834 01/30/2024 17:30:28: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AuC6_1ebr4TI8pdolqgU8X0" } } 01/30/2024 17:30:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 17:30:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7166881150065834"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 298445, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AB-l7PP22LhRlxJnAqpRHz5', 'x-fb-trace-id': 'FBraNLM3Nqk', 'x-fb-rev': '1011105921', 'x-fb-debug': '4McawMAzD7S1xMJVLS5nImTznLt6da4NKN8QSRSF76nQvDveFBGcrRLJ8g1l003PAbAn+jzw1LiU/sZN3Zrh7A==', date: 'Tue, 30 Jan 2024 17:30:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJbThbr1ksMnAI6ezoZnc1_k0R3VD1sh-kuS9WU6cB1JyPrExzgDvabBcqZDWhsuiEL5wOBur5MZB66Wf8KD8Xi5Oaw1AYV6z8OvyJrK43DM0SO6g"; e_fb_vipport="AcI3cuZ3HrTlOwuuRmnJ64Vy6x1hcTjmWuPANIivBObucRU7WzeRyUrQlYXW"; e_upip="AcJLtnW7oTZytTNSBOyqgNNxDEdzQS5CgZVFViN1J9JanMZK6sp47LKVTB6IcS175ktvfAD9By9n6CXP9UXo7JGzt6IJMwwR-zc"; e_fb_hostheader="AcIz0lWPJC2XDCCTgjt_BZkWJmIVFu935iuDTiUbuimGVeK5kaByXZU35gUUoDGTZ9VsjoO9xqDxjRGz"; e_fb_vipaddr="AcIJsnq7kxNlvouyORS4IrUEmiJHqscVKmaZJ6Kao4na76zjdiSGA52OBIM9_CaH4mSzxEFi1qHnMGrjOgXl5Myk4STERWegmg"; e_fb_requesthandler="AcIFHdVtaj244SrNfzhvPxiiogR4ngbQPAokxYysufMqDIIWRgNo9jTbQRKFtnYFzb7a0N6i0PY"; e_fb_builduser="AcJYlxmqL5KN2kLf5X01mclf1GuxRqTzS6ZrgBHTy_Rp8KPeMdA7dgFrryZqCGY6I4E"; e_fb_binaryversion="AcLySSZynmUMahgBNdwn9VKKWhoTLbKzErdRvAzqouR-S80B7R1YR_GqLUyJZJW38ZPiJBT2SYDRqqsBnaYW-y9HeKeVjqqot9U"; e_proxy="AcIbiBCM1e8uaDPVxN8QIrmWNy7yLh2eBM7XFCXwTyN6iJHf1NdK6JnaPxVv1n25EJ8IU-ZZpVZGJrIsPLg", http_request_error; e_clientaddr="AcIr9-4ev18EcfkLoxrJuqt9b7zpNTVH8xCLbpvoQAvLIk4Le7W2uLquXHrEhmP51dt4k9EANBGUn4waWQ"; e_fb_vipport="AcKAXyctRggrSE6zM4ySUGmf9jxTk64lGiW5f2i4kfrFo-begxNFkIKWUb4x"; e_upip="AcKQmjjLJfC1QnKl9ozraAb3o4UzSIE21nFHQJzLn6Vmx3bOfblDGF_hBWV6ZixlIkhUsSb4vpzjKrUUmqZ05ybAUgz0o4Ajfw"; e_fb_hostheader="AcI18sSB6QhFTosQjPKYmgtC2SSru9eN5S57jO54_1Y04Ck_y7iLu_pdHaSegOuct--EPKE5i2HWuBVf"; e_fb_vipaddr="AcIwcBKdNYPbsdBH-BiIxnAeVzKNhKlqHfbj9lKJEnpl4bi3J5pj3Wxr2_LjY2bpQQEsVt8"; e_fb_requesthandler="AcIKzaUvwIfj4G64QzjOkcuC8_q6Of0_DmL1V6ipj3vUKLITZeck4c-q8atlXjACuXsnQOddKYk"; e_fb_builduser="AcLapJ9X2E21Gh7wObICSz0F0dkJv6RIWEQuyrhFb7aFhU_Xo-gdeKQic4mYdBxhHmI"; e_fb_binaryversion="AcKjeEeQm__C15GdQEK_ws5X9wpL-tSQV0ewR-QSVQUIEj5woZEgRYwZmEMFNRsoWdhWpzpi2nfB9PoDMMNboJwJ-tKjK6HXvPU"; e_proxy="AcL0pHXan1L_-B1-217RNz_QUssX1h22SiEqeCD4qIA4RSyJaULLqVbYXDFagvJ3PNKqZ-3hNYc0qLU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7166881150065834"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 17:30:43: Error on send one message facebookId => 7166881150065834 01/30/2024 17:30:43: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AlWUpNS0y55AM2JIU6YqhiO" } } 01/30/2024 17:30:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 17:30:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 17:30:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 18:49:33: Error on send one message facebookId => 6728952793790038 01/30/2024 18:49:33: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AEyApR-FPSa3SVeZQHp_jnb" } } 01/30/2024 18:49:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 18:54:48: Request bot not found: { id: '170879166656664' } 01/30/2024 19:37:06: Error on send one message facebookId => 6728952793790038 01/30/2024 19:37:06: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AKVTfvf9moJTPAeGqHv2la3" } } 01/30/2024 19:37:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 19:41:19: Error on send one message facebookId => 6728952793790038 01/30/2024 19:41:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AT3WA2BRaEDMpLHiZlG7hDs" } } 01/30/2024 19:41:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 19:41:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6728952793790038"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 327753, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Af5Ip-53bpPvVXENhffOKMB', 'x-fb-trace-id': 'BIkulk5TEKo', 'x-fb-rev': '1011109320', 'x-fb-debug': '8TxSrkKY8MWzAsxmot4+Lxii9Epf95C59uEhhibhyfNEE5xcz8/51p5FTTnrb30LtckAKegI1zuCeX5ESFPNTQ==', date: 'Tue, 30 Jan 2024 19:41:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK2A2Vekc8i4j0LXC5fBggtb7M6lr53V5Ue2zcvLiDLpajI9SG-xbDGz7POvQsA4RucncrmcekleFVCEyYf03M8bgYN6vXTyawKOxY8RW2O8m0Q"; e_fb_vipport="AcIiI4RsMhw_KxIuamaMnvn1aQJ73q8mDvTg1bFCpnrAiUiGAQopprdcKDqw"; e_upip="AcJ0KaFdfQLle1dgSNxZ1_Lp7Vr-1r6a3vkyfgsXdm_B9CEOqCMvFVOZE11fwQxEny7lv4H6dhMMSbY2cIUOiCdt1kw9nTi6PtY"; e_fb_hostheader="AcKAg29tsGOPEVPkLbsLg8mZfm5RFgswzphiHUAhXa5dOPMBuzGaTQAn_K8lkcIhN74jVCrH4OT-qZuY"; e_fb_vipaddr="AcLMoG9V_KXDeiFFE0DbATFMnnLicv2LAXZyFPyRl3s1zSoz-p53iEZOMdYdknzXdfIMNlxUi9ywjFBWwLrpD7-8j7x32UJscQ"; e_fb_requesthandler="AcKBfs0b2bJEAufBZKbmc9Mw9obT0pqmS6bC5OzFECinsc97gdPjFDvaklznmXU_fyzLGY9yB0A"; e_fb_builduser="AcIuTLUJINOZb79YrPHyI-Dgxi2MXIpmo9Uq29IlxphN8_4wUgnJ077lUIQjgZQ-E3c"; e_fb_binaryversion="AcL3Q48SX7Mjz_qCHRs4lm8FFKWER_fftF2bxckNPpE5ZaBwqooEaSHETjLfxRqvlwUl5Zs2TOnfF7FTsOXtXvkAmbwQ62klTRE"; e_proxy="AcJ2apgEs-wWCbiO08zJrlwSIK42AkA4E-HD-a8vXFq2pANz1pv7PDB3pmhHthKvsIDF7gWClwZCrKX5BPCc", http_request_error; e_clientaddr="AcIa7Qxg457b6MQDFGb4GQgfmLyIwu3r6O0MNwEk-nuDLz0xRjiWzAWVxBIyLbD9DLTSaPzCgsXCA2vBDQ"; e_fb_vipport="AcJnOP_sAVDOGicnpSe99VWxEDNirc1Yk9NDD-P1216jZ8mPQHU-cfbeNRq4"; e_upip="AcJBmDfTds8sKghOpdkgODrdNVCV-doMSYJWodLryCkc0PfISSW01xJnNuOC6J00V4bj-KuyZI1fp8AX6M63ehuyPFSH_m3KQA"; e_fb_hostheader="AcJQp6bqQqwup23W_T3ktlS_uQJw_1fhvlGWIi4SGK_K5BnftsRE0YNnHGPJF_bYPg20y397pHjhcK1Q"; e_fb_vipaddr="AcKSjKZcvnIcOgX6BKmkzRGSsIiy7kGXYFvJSOiRMqhkx3IBe8A_l9K0qPxKkwTbOiKEz_0"; e_fb_requesthandler="AcLTXYsa28KdSc2qel0TQ06SX4KqBS354zpHnbxc2DFXcS1KtVbQN6iyYVRaDw7xaqYzjp_woN4"; e_fb_builduser="AcK4vKa-9vJSEX868T4b8C1jIQKThddomhoGQyhjTGcFVRUYi-o60KvXeNtVebHIPKA"; e_fb_binaryversion="AcLqkTtGYtW6Mr3f0GCKO8hsLMUDfqtNzrBfAlC6y7hhzc94OCm361eRcLV2ILD_sz70zQMgYMI8wph9s5OYBVUdEK90xeeOqKE"; e_proxy="AcJICLerOHWckbsXxlK0ngjB92w04D4yddrYFQi_3Tro2xkfMWGWF36KF-AOetkjnLzRZJyWstdJPxg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6728952793790038"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 19:41:35: Error on send one message facebookId => 6728952793790038 01/30/2024 19:41:35: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AZCLShsTylfaxW_nbLq_-EQ" } } 01/30/2024 19:41:37: Error on send one message facebookId => 6728952793790038 01/30/2024 19:41:37: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AaNt50Ik4Iha7BogFdOU5tw" } } 01/30/2024 19:41:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 19:41:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6728952793790038"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 328130, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Afzdl7nFpc-vDNpGsh0QS4P', 'x-fb-trace-id': 'C/ToK+OjDmA', 'x-fb-rev': '1011109320', 'x-fb-debug': 'lvj6kOoQ/DySo6kAnnTPBhKz7KQu6czf38iywQBO5wOhOR2NEvQ6Ph3a/zZOfYmRiivxb8ZquLuro5NMc3psvg==', date: 'Tue, 30 Jan 2024 19:41:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIcLr-oQzf_hubxvBax3_icGFJm6M9gkcjiStzOPpv_8CX1gqRpVxVdRYH-_6hDutgLRRmdFio5uTZ0b35JZEC2pyTOUfKy-4wpT7dfjSwvgHVc"; e_fb_vipport="AcJ6wM--hVCEhewVYGccLveJq_j50GS2bpLobYrrnkpYPjW36pzNTCEpQExi"; e_upip="AcICYFDiiYIQy6GtZ9K9wrmu-mECn3RXBHQY9Vaed5Kl2q2QvpGukYCVSQU_jGeTsFbjwc21tW9xEEmvlR0eCdkBy_JEV4I"; e_fb_hostheader="AcJGoI1bCuSF-HpkNc0fH-M5wzp6AmrkDUvIBkNjx0PhXh3cl2JWuhtJQIRdSeROmrGfReh7XAFHOEuv"; e_fb_vipaddr="AcInv-QrFbcOdFQmOIsp2WtwXReJ5sHIsB_XGhFaEYk4HjFdxjLAYwjepduSyPWVfA_CZEPWqBFUJZiQcQjoQe_wRyZ6QcguAw"; e_fb_requesthandler="AcJVZZyBhjE0XSbjgZ8c2cZ061O-w6ulRn2ShqKL5KrCfIwFlaXoYkbVqp_CTZXoFBton_sBQBA"; e_fb_builduser="AcJDcJhrjSBn0Q8ebDz58sTMR9tfQibfEU8p7lbhRf2zQy4cpmtOkxJ5i_K3_udWa9c"; e_fb_binaryversion="AcJFDsYeQfqQZlcGg1hilTAuLjWnddP_2ki_UE6ZIh1v51VvgvN6DMZtO6EUrSfSs1UIPAnZXRo4S3Ihwk5TYGcM6sq7pULSuUs"; e_proxy="AcJuOGQ0LycTgW5kQ1rVDtpZZ7xyaEb-Ept7sjP8CI2-DWRQPS3eY2nLG1cmZlU7lAoj8HHzvqsjo0Mci-WB", http_request_error; e_clientaddr="AcLMx-23y_qC3F2arQ0sjvSWuCJRuyply_nP3pS3HZJSS5BIG-uwklUSn2CyTvA_BNn5D2ddmEYINTtmfw"; e_fb_vipport="AcK0PfZIoJcJkQZ85pZ06bHUB2nd2ictYGVktbj7omaW0Me71mBR23P6Kfu4"; e_upip="AcIxRWB1B9AEgqWLmDXyYrSjl_u60TqnsGC4WMHkvxQazMLCh5NXYflaLm47ciZip-xQFuNWFZ7qh0qqVIBbLKOpgAku2p_GFQ"; e_fb_hostheader="AcK6NhuyJDYHH0czOWxnsIbJndjx0giB_DfwsRxEEFRquHZIUoP8eSf-VnD4M-keIn0HmtqcBnVcYwYm"; e_fb_vipaddr="AcK-DZHSRTvHBVxhJbkiuUcw8Ugj-X1g_OjXS_PlG5NlS0J3oMumHTCsvy7KQsEi50DOT3U"; e_fb_requesthandler="AcIFMPb5rj__Ljmsh11gsuwEYFkTgwuCp-SFNpYup_iqji93UmQFPOf99XYvG9CxIjbK8q9Tu8o"; e_fb_builduser="AcJA8srxQ0jvHbv7k20g6RVZh_H7alZYdQ4L_ZWRWeSgmbufDCao3p3t_gInaOqy-Zo"; e_fb_binaryversion="AcKhKyeyCy_5cSxtC21BtGeS24ZW0u3tneRv5RryTDXGxVFy3HldekivYY4TJom_p_Hl8ZmzkTg73T-kfyeakRw393E7gm207CI"; e_proxy="AcJbzfegBEJMbaA9JvGo00xkylp7WTIGIW-mUwiCDhtxbs2cWYFd2q-zToT1EgO6rEODMRQmyfeJ7PY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6728952793790038"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 19:49:24: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8033645319995362?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 331673, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8033645319995362?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8033645319995362?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8033645319995362?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8033645319995362?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIChAB9lvJs60b1JfnKrPZE', 'x-fb-trace-id': 'CC5Iu5jn8gH', 'x-fb-rev': '1011109320', 'x-fb-debug': 'jwDN/+O2lsHcnLxfoJE9zrpu/KJRFnVH7w3pQcQykThqNyj16UgRBcO8atbC6XDnpKuYMRIcCN80+TAZsuyIvw==', date: 'Tue, 30 Jan 2024 19:49:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLdAACwg_0XKg_fWP04Oo1zjRautb4cPuQZmK1FwOHu4gM14WEYRJ1kAjozmo7jzosuy_vRBq1zRpRwYn92Nj76fe8L0ANUW18LtEekXIS4PuxFTw"; e_fb_vipport="AcIBYndA39J_RkPtT0OLR8bPp-7GZohUvMfMTU1uOV_uUw0QkYsK-NibZfyR"; e_upip="AcIYxm6bjMRoB4G8xbQU11NFYqg65zbwuA1ZPJZEAkpDDTrHEbMZNmPzI0bA164LmoVI2E4g-W-BaIlJHH-BzvAVy867y5qJHUI"; e_fb_hostheader="AcInQJrPbQ_Y1wNiP-7z1plvVJLngc7xf5yTjtIy29xbJbgX-k0pPL7_pq9nPBuIvjAh-VSce7NUmfwk"; e_fb_vipaddr="AcK5m16dR55AtMBMowACkaqrBpnBupDNtNQmffU7BuXF9GRR6U4jiS15x9GWnMgWFNhzLDFZWpbAy-JQsANwuhCuaCFpi-kEgg"; e_fb_requesthandler="AcIcvTAk824-yzWAsPTYZoF0fr4g2nAsxsUS1g1V1zOqk9ORffI6p3graLrjkRcjmd4JE3w_dGM"; e_fb_builduser="AcKFUeccBvknJ-dPbkMjaTLRQipmRA64zowEttsAITcnuV-A3R5wdF_T-Eg6c1Al_RE"; e_fb_binaryversion="AcJFneh8S3CXWqKrTj5gdi1ayt_Yrgp7Cla1rR36GH-Ekbj6GKlRUqpOE_bZDkUXeXsjizT4BBkrgGaL5WdNRbXIKMm8_3EcykI"; e_proxy="AcKw1MCk0LgIiTtDaGNyxcqxMHuMAvCYEi9lw4WAh0jAvgVMRRAqcL-SLyW7aCRKIrhzaGbaecMdMnYjCt5h", http_request_error; e_clientaddr="AcJ14X3FKsgoFGqhnfHd-uW0V2n8-n4RgpM9J8_2Xf0nNz_yM7Y4mddDmE7g7fzpbUDNyYBmnCPqsxFd1w"; e_fb_vipport="AcK_I8Fai9rE0eL-VkmoKNOy4jgNMNe6MokpXviT17Ph9Dulp-RWPa1l_BMR"; e_upip="AcIqTJaiHCGpPyHvt3CX3gEEFtGW6EUBrqs1kIqhyvA8qEnyPJNySENENexQboy4HeYxJwcL3lM-m2OYUqYfmGLeL4kEFNDJXQ"; e_fb_hostheader="AcLx-QewG4ed70meid8kFXTLuB3GQcm8umSfJJBEmsEwHEo-pCcI_l9WNo5QPj1qsUCOcwcEgBTQGvUr"; e_fb_vipaddr="AcINo1mxibAnFyw4uY5R4Vv0_vAGVXTt4YbJg5hkPxPofPQ9ZRQCf_dltjvBqlxVwF5GmSnkuw"; e_fb_requesthandler="AcL2Pg2yN_G_Hj6dh5-2IncIKcAeNpFTgQs33r_nMjytlUepubTSF93CQ3yGsQ5YGh3ove6ejSs"; e_fb_builduser="AcLvTbpvic2Nhr5sq7mUsLBZs5m5kKTXBmFDk0nb3FVWDoijSB_AicKDFmwV2UKO68Q"; e_fb_binaryversion="AcL7PsWjRj6Hhq7XIxpRHWChlhwRJqkP2Nh69X9BlSSK1QVWFlnBs-rYre1MhOSZaMW-fGK208rbh_NE1u9qkt4Agy7XIfVuWdU"; e_proxy="AcKhjXkFSu8mn7d7jZyprFzjDYoPkfmwRW8E7QU0yeZ0DJBu92SZJGCE-TD3vpT0RsZcXfZSvohzMkma"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8033645319995362?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8033645319995362?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8033645319995362?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 19:49:24: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 19:49:24: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 19:49:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033645319995362"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 331791, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkCQtzGFkX8761T83eNOyne', 'x-fb-trace-id': 'DGqoxmmGUfa', 'x-fb-rev': '1011109320', 'x-fb-debug': 'LjAm9OHWKP/q2Y291YOb+5R5sWa2tK4203oERlwJRdjqPQCN8rk+17hkyWiqbH/DapmqBcpqtmfPmrG7rbkGHQ==', date: 'Tue, 30 Jan 2024 19:49:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIMTfbeYMIAlNdEKh9KxZgzFXp9i4P2aV-9K4a64E5ZFfAfNX3oCbUzodsmefnDrYyurUAro31pEx40s-cPaAYAR9oPPFjRGXqJtEw8R14clU71"; e_fb_vipport="AcLY66kJFWRt82QWcZbrKxil75W8F8KbiE0LWPPPDmX54NEF5QubFrxTvJVP"; e_upip="AcK0MndTu9javy9bGjMJPF0w-1F2Iyo2jcrOfwqNRV5rAfwIKHoQfEhc0vEKhe2e8aJCb0s59c6TiNSHWHmGzibDKo7LkVqX1W4"; e_fb_hostheader="AcLb_EbFVjh_N6Iyc62iReqOE_lN5m_FRu942Nzil_cBvRaS7HxDmtEEV6UGpP4t_YJutC4AYXw7u2nj"; e_fb_vipaddr="AcIt9V0t4tu7mbZnn08cgdZik0oIBNlE4Z31xNI5WCEITnSMup__TDV0qkxOYasM-A7M_O5fmrkF6IixnVZJDPLY92I7yUV8lg"; e_fb_requesthandler="AcKqP4p5ShheydzxXHvkSKAtR9i3hO9rJLUfgxFMfcEIogFizJ_rCYLEc1lGc22QPbpC3RJiIqE"; e_fb_builduser="AcJGpEbxJF1GKiHamvl__2-3y1coGGSEboU1rpUBPphMhY-w5Eyvlg455XZwyQuw_dI"; e_fb_binaryversion="AcIASUg7cd4gPdImBr92aLx8iC1gwXsaORP_vPNDOE6uJs4LZGxzqIAmTSlP_tCtvIOjJTAZMagNqDxx5GKw16I4uuYqRdYLSBk"; e_proxy="AcIOGQeUJ58rF0j1uTSis9MwGACXsaqylTEnFaC5sZmhx4dXgp3g3Twd182tLMxkOagrzGeiKrWsM-1YrlUr", http_request_error; e_clientaddr="AcIT5NzMLsuFbOQvGeVsNMthpFLuFSt4XopwQP4yIlEJd4lFRjdczS_o10WVcTwNMA1g0SotFNvLEdipXA"; e_fb_vipport="AcIAJSscqbCx4DVESICLn1zzWpCBNLuux1lAgglwRA3UTtNAWKhJU22G9UsL"; e_upip="AcJx293WMY5p7gf8xsOkITtYn8YOVx_QvbDGaYdJ2M9TRLa605b9nVsIC4WoJqZG3E5vWi1Px-_wfLtYVUkwTEyk0oLgOHaryg"; e_fb_hostheader="AcI1o8K6Nc_zltTsEcNYUlBsOMYAsdyEnvJ56uK1EBJzHZDIAbb5KMnTX30ijBcJYcNNqseRU8oAIXpv"; e_fb_vipaddr="AcLW4wGDWynVkkOVs2acavGdqeRdEQmXIjdGuUyP9B0FoBIyrFlTRd0q9iyDRlQ8wteGikBICg"; e_fb_requesthandler="AcL_KaFzlrAswv7-lq1l2B89JdoNK9O2v_Db8eWailHcbYD5Q9nRjNTcy86nnB2cilQeSWSj_14"; e_fb_builduser="AcJ7zea1zM9RufTIQHWxgxktWr9H8MQWFJGEt6IKaaHoTRXu-FlbScS1PJtTtfAcKic"; e_fb_binaryversion="AcIlezckGi1pJoTaXYL48JsVRRcPX_tZfu1bjxLdaM594CTadbqRLhkwfAfkttjMTxINgXxica0zYQ3ivfvZao658CvgLuRkqfA"; e_proxy="AcJoF0Vvjp8L-3CceatHLKvz4m1d4ucbBWVr-Uu-qr7j6QJ_j_lYRUhG81yT3eUCiRmM16-5wtIV6oRP"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033645319995362"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 19:49:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 19:49:26: Error on send one message facebookId => 8033645319995362 01/30/2024 19:49:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AanI-dCGCom6zPk5rmnv38M" } } 01/30/2024 19:49:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 19:49:28: Error on send one message facebookId => 8033645319995362 01/30/2024 19:49:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AQXgU9cCtDvYxFJozPI6QbV" } } 01/30/2024 19:49:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033645319995362"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 331876, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQxNWNkx_6nzGZSu4HYfPBK', 'x-fb-trace-id': 'FmdX6PbGqbq', 'x-fb-rev': '1011109320', 'x-fb-debug': 'C/7qkgVeRbjkMXzFTLqVBYkZHQcvf19sfVeeW+5F98MbrFnlTc6FqE0pVNcgb+yR9w5fx7DKvauXWa+1abUCgg==', date: 'Tue, 30 Jan 2024 19:49:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIqPH5BvJT3LCN0clXKZ1v7De3_63FNYOp_La9vvouzqkTseGNIGoMZvdVd1arZCJDuTkkAFNFsin4dXllZWt1JbPcsvC5UdlLx02VTrEf4QjAM9w"; e_fb_vipport="AcIXVA7DxyY8NyDPbpfVXuv9cmvjt85JlN8rwbD4hoM3Ykr81kuMhEfVGRWQ"; e_upip="AcIHPBJT9yinQ6kdGX8OSF0pJT_5CfVUva4OX63DNVWKqQrH2pi4QGm_eKPXxBqLYvMnvemW5i3Sy2stHsEtCCKtzRA8_buocOA"; e_fb_hostheader="AcI8X8o5NANKBVSv4jN3LkCwEUk-H67JnG83Lx0oF18rXn_kk_-U2lC1JbPUPH_YOqlw6fyxlY_bN3Pu"; e_fb_vipaddr="AcLzmycaOUN5BwKAjQTGTeqBYJvod-uOHxltZ4uEGA9xo3Ymx4mhvTHoYBEu39hwb6VGwahT5f4l7v3CGmAnO85TCk4WPUJVbw"; e_fb_requesthandler="AcLnDNqPRI9q0WNSnF6aDIRo6caW8OJ1rTB7A68QwXYxzcJFUot1k4upHJqlS04VVNQ2xVli66E"; e_fb_builduser="AcKlGsFrsASlyxE2wRNxAaUynajiTPjTVFm3KUutZzQ3H4laNiazdgpmDpvqkAOOJe0"; e_fb_binaryversion="AcIoxXMMoN4jBp9eCmn2Lt8o5JM-Y4IFyyx1Mwq4JQlMjAGDGXcQFW5ZRxSXsnqjSYWk-SAcRFGthhsJ1O9U8r0lLKhATzxufXU"; e_proxy="AcKPeQjyk4wXTN_KLe-jLQGRvcMbxiaz-HMzBa_xhRKxpHhDcVLnadKcEhSIbtHeSoO0n6ZMVdJsCAkQl-0Z", http_request_error; e_clientaddr="AcIGIXqn85U90x6_CvylYpvWnFBxUyRswXn0TGvDndh5Ur-hrvb4oMHuuVtvEGytB0l2BvfpF8zf0bT4-Q"; e_fb_vipport="AcKQi-Hl9ASuPDtiWsZ0NWxbKF7LCd84OvrMKkHnfIIgETHOQ86sOMOlW2U_"; e_upip="AcK5i5Dfd0V24HpFuIQy9M5R2vMXr3tXxtjyJKLzvF_CTmjrXNVWJLmhDq-AzbhBi-XA2L0YC196Cng2KQ5GAg3q9kRCOAoAxQ"; e_fb_hostheader="AcIPiD5EnJmgj7jNKbB8gIsJ_Re3hwbUgXro1tA3tY97V6HkilkMQfjMFrMJYhgXB1pms-_g2VJmm7vl"; e_fb_vipaddr="AcLsgpGnrJZeWdFKtkEjoyMKRSAh6SzqeLKiRkJ3v4QogOXs6jATnVnFhdxxu1GZo7l3zYL8GA"; e_fb_requesthandler="AcKgDJmrCz6NNxmXTSDq_VoM2aFL05LtBhwAHpcG06oZSOGI_hCCqrGCo3mUzhuznUSSCp7NpCI"; e_fb_builduser="AcJ3ufJWMy6FNHn5iGlBBFHNiGxqLli5wNJ-iXmiWEuv2sF7OT0vcUYMHpqVrSnlfxw"; e_fb_binaryversion="AcJeBgENvB8VmygLgO6lmo5ZhibsJlTJHqdNWDNBRILAymHI53bsgH4BxefYhYf1uPemEoL980oJ4gGtJ3iY2gecpVOBlO5pDlY"; e_proxy="AcKehE8ewiHDXRCvD5vEKsWpAgiAjMfuJe5t48p7CLWycKVk9OLTgTqJzF5upcyaMQFGoWzQPdRn9EiS"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033645319995362"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 19:49:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 19:49:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 19:49:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033645319995362"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 332015, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbJ_YvNhoTSzDNpcy4_LOVN', 'x-fb-trace-id': 'BicdN2O1qjL', 'x-fb-rev': '1011109320', 'x-fb-debug': '8DWCj/fUcInNTq//081Ci/frIGCHqQimJg873eqdeZsQRR1N0YaqYa+0oYjvphfK9DEPcffoE13ZmMYhfPbRgw==', date: 'Tue, 30 Jan 2024 19:49:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI3tvoLVz5dDgNQ6-Q3k9yjReFeglaxcWNiVpxGyVD4K5wOjp7SzZjFlOwuXXupYtb9CELE4FvTexAB-oL1Usx5S0pEW3aDhFybRgKCkPmu095X"; e_fb_vipport="AcJZCiMpr4ay0gIPa1nf7U6wH__sA3y6eEXs0gevCADqzVGShk2JXFaWoGd_"; e_upip="AcJvsoC2z1HZaOgm4AcCFNxJc4WxGOCl3oYGz5MO5TAciVrKN5mso38ZQ-mH-cv0658as4QELs7XW1eqyS3VMC2fE9BIUEegWvM"; e_fb_hostheader="AcLcmw6ZH6DQstDxiaYYgF47Ff6ZFlqNBUPjHSWkRVBydfBhL-dESzcXAB52TVBy8-Q7E9tsdsS7o39_"; e_fb_vipaddr="AcLj6G1Ab0yAv6tuwFp8snxSUvwd_OvLN3K62R9w5Ia1W7cVypMpJcbh5BTe7CQZPGLK91kPucc8MO0CcCxjYd8pC4l3oCRR0A"; e_fb_requesthandler="AcIfHH0ckPNvgOFYuidy6EsdCKIQCysCIPxP3Bsxivn8s0Paf1Prm79ub2QJ6HyoO7QuL_0YZR8"; e_fb_builduser="AcI9q4aZieKjDPgGZv9yl52L032dGOhTy4YWez5Z-1eo7KnFHxyV2fmC87zA1n2W0kw"; e_fb_binaryversion="AcLZWyZnN3PkomCMs-aBuqMT6ZEDXUp-NaUWZD3-NdUxDWU2GvPDNlVo2Uq3-Lb9g16tynFSxXLx8Z3KRIKK9swhsDqWI_zXY58"; e_proxy="AcICzhAjl6Yk4G687FOao4PBMeDuacOyhq0iztVoDw6_SWoHnGTdLs_otxoM4WyTEpbUbXscbw-bU8bJv1z8", http_request_error; e_clientaddr="AcLMK50_uhJ1yi11LYQlnCxcpX57K2j34DD7bicr4TVO_hsXR9nhwell8xOYPh074PIm_5oO4KIEWuYf6g"; e_fb_vipport="AcI-56-NR3IfsjvDxspMPFwYVrhIZ3-bQtPJoQyaWXLMtfLYSArYjuSoVfy5"; e_upip="AcKK7kO57KdKs8fD1Jf-V0t8aIRGUEvIna-KrjRJ-_hFLBsGtEtkGXi2DcWaNlIWc1NMpynFgd51oroMLMutnIvuA7UB89mwuA"; e_fb_hostheader="AcJeLjeqZYh1XIjXe19TYFxgaICq0SFrpYS07jEzGrSVRtanbYD0hHbcKYgXwz2CzoGxaY6rCXW5tkqe"; e_fb_vipaddr="AcKp-gQJm7p4PoMB33gpZ8dQ4_754Wtmo_5iVAwxDy9eeU3yX_y_2LoWDiLc9l2UTMd6UomlHA"; e_fb_requesthandler="AcIlBzXegZpCznIv7T_cEmQbSk3BunThiVHafgPAQy4USye-W0ULKneGPIFG71NHPz3OvEQ3Pw0"; e_fb_builduser="AcIYrIYLTF2FJp-Jsl0bchhpqN8I4Y48foS6xHO5v7LImdlgK3kCwNj0sJ9mxi63MDY"; e_fb_binaryversion="AcJ74Kgp7q16ylUZCF3C-4ratkBnl5qjpaz6VCrrt9fJ97xazJ-zFQznQRa9NfCculhyyWKGhR7OznK9bk-wqm1Pk3PfMudh8fQ"; e_proxy="AcLM6MeodVses7nsrn_rpat_H6UQ2O29La3KLO2Z3qJQXpO6Imhh8oWKgaq4aaKOzRgpAwkdCajqio0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033645319995362"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 20:44:24: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6829448217153413?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 352889, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6829448217153413?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6829448217153413?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6829448217153413?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6829448217153413?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZFier58kAqNQLWxh3qTuZq', 'x-fb-trace-id': 'FcUYs5jtwqH', 'x-fb-rev': '1011109320', 'x-fb-debug': 'EcC46g3d1Yma5gfGedA1VyXILQpu5Erm2lb/WVXAukPq6Nb4MIXDWkxZajbEuU0jdyYTym7AKZoDZG36uNaJOw==', date: 'Tue, 30 Jan 2024 20:44:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKw68DuhKYMkmNQ1beW2IHPv-U4H2RG8ABI7SWdrN7xRL4lFa4_DGg3qI02QeGC3rHb2X2PHwWXn3BDZkAAF7IQ_90PfSDv3H-nig9pgHV3H2_x"; e_fb_vipport="AcKA6XxT_iGROD0SeZkJvR6MCRSb1YqxmjsXbDcVzcgsWgJbQ3QBAQeWjoEc"; e_upip="AcIAy6Fv9GSIkd0lGiSwN9moZdRMsUMPYhlbHCBu3WIriGz77X0YnLHPbaGb2ec-fNK982-C8WS_4oaorfwmumXF8rspvM9O9gs"; e_fb_hostheader="AcIwhcDyQQWvB0GQLXD5jp-AVYQp1Y0UWKsG4dwNJKhQViMyId1sJ8pSKDw3UADL1gjcaZHW-3o8-1Hm"; e_fb_vipaddr="AcJtc8W3sh8mX1gIjkSnsUAO8ryop6ty5yY9KWIFC0CuH50N5Wza3iasjCOp9_6E5Ij1JlL0-4CZQsfL5HHa6cQA1PjMjON_Ug"; e_fb_requesthandler="AcIaDJXgFVUd6B39KdMCZZ8BlqNGiSwVKu0hnRlQYvv71DNxdk1A6h6CD_tzEPACp15S-EcQiOQ"; e_fb_builduser="AcL-8-2JE5Z9wqmeNtH-pMyKrVDJFHUNrJ-00oNh-fmr7RiHYsQ-kN2DnkYpeuTRGcY"; e_fb_binaryversion="AcLAWT1i5LgqJjVON7y3r2ivnUVCm59b-I4y-CCRz0lcFJya2x4hi7Kf1165HMlCBExz9Fw0zRCT-eCbCTHPCuoWiGngc_1VCus"; e_proxy="AcKESS3pOHSVdTJjyoaii_--o0ZPh7kJVU31ExRV81T-S9wLqtWX1f2jX0KeJZZpWCFr0QzXSLv_jXwXSWjp", http_request_error; e_clientaddr="AcK1vBFSYdPdi4cpR4wv_6PjfVbOGe9QYE3VZCmTsCJsk9h79lYfuNX1X2-CjBZaC2FXBcCKzLUUrAnw6A"; e_fb_vipport="AcJVV_W9xU2U07DnvjnUUIs_EuhqITESi5QrpQnj0pQyKyYfKT56_iDQ0Sal"; e_upip="AcK1vraLR4_QcaVeqDFyk-Qt6JyUoZxb5tcPVETR9MbCu_0VHxuBo0VXyq46-zCRQh453kKW9ycxeO7sKqD-oN4o4ak7tzZy4g"; e_fb_hostheader="AcKAoIzT0eDuajqhMyHYljQgoCJtZwwTgscMpFtbfbgLR-ztDx2lBHosqzDVDsM9SFSUvmytL-ePrxpO"; e_fb_vipaddr="AcL_CI_y61Y0ytUbp1_cpQNKX-RhjBM1zEiGdWimHnlpnGhvgz-zchQHhL9Yuqdl2QkZrk4"; e_fb_requesthandler="AcIPCRKWuF1gckFyAPm6n9MTIJFjTUCYuO-csx_4I1jDMY7uuY1P66hXZS2DBCJgRmyBNN6JgwE"; e_fb_builduser="AcJ2qunTPt02993FUtRHQm7R2xhySfWmXba9N29AEmTMadm_kSsvUoG_XfDKhc3mAo0"; e_fb_binaryversion="AcIZF3pt6isvOmfYkY8ZU8y80yluhG597M1EOiXSlDUtUqId2vBpEiCk-GvhlyaIDOY2fyyadl-edxhQeqhdoRN18PfqTne4-gQ"; e_proxy="AcIwOVvdHr0a2LLq5U2VVqdv1-jtJdUna4LT47Rw6RL9RyUfEJulNO_VbuwF05jfxF8D8CeSBlLYkvo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6829448217153413?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6829448217153413?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6829448217153413?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 20:44:24: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 20:44:24: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 20:44:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 353007, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXinXfmrvX009YqDPaz7YXo', 'x-fb-trace-id': 'FbMz4EvOYnf', 'x-fb-rev': '1011112398', 'x-fb-debug': 'wjcLkU8svvLQPCDMhnAqp5hMPM1hbRS7KrBbiINhRx6aQtAlc0txrU5wgtmBF1wuClC1m1SAWfbpgZNovaEBmw==', date: 'Tue, 30 Jan 2024 20:44:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLAbUiOEyg2up0I1LnSe5P-Z0WKy4MaHPGkUCvu-70hSdnCgkl4Zje69UFNp-d4Y9C0h8HPH3-6C5L6c0VkvaQ4XvVk1t-qAXBeiNyDPQENTrN6qw"; e_fb_vipport="AcJiIP9GD_ofswVpR8IHVvfofNrRrQrY28M8w7Lnv88cF-6rKTrdjPuFSK7a"; e_upip="AcLWlnflL-VjHfGuFKB8G9LlJ80vgFUnCC3fsg5P4R1MgIL61KrzjK01BHhC0v53szpEN4iuNhSVNdFX5YB6p_TLBG7RRctplc8"; e_fb_hostheader="AcKUtZ6TWZmUnf449n7I6n1HdU2cIEXKzeQmV5_ZJt-KyITFm6iJ5Kv1s7NPSLfW83vKTmAnKe4CoSZs"; e_fb_vipaddr="AcI05UAVN4WMuxfa36lA9ZYwQksjd_QF3NoqVyhZJRFsG2cJTDVJ0OnB0v_RkgL441m8mbkuS5vJIsAr8v0XgGjQ-5rPKcFf5g"; e_fb_requesthandler="AcIkzNPE-lFO7SF8hY6EpePjwTY_d2smCzm-mwV1q8ywNAXsjTOvc_mIv4hCECaTf9BP_OE8p3Q"; e_fb_builduser="AcI_LPZJYdUkfYgTd4GuuBYUGXVTlhdp7BKe_LdcNrZKrjCMJ3EfNbNXfHny78hDAq8"; e_fb_binaryversion="AcKefqZWx6ZQvCm6OKP_0xc0gOAXkz9-S9FckFIMY-9MisZqLUWrYB7zBxvn1fZ2tTCFW0P3A0j1cwN373TIGGAU1yZgdtYf2nI"; e_proxy="AcLrQyXmt6YAiZUJd8Y_Z6ybk74VjGaAOPxTGqlx3JaCwWLR5fGRoj5C1aCIhTzrA5cj6EH42x1lDWHgLqHc", http_request_error; e_clientaddr="AcLfP05kffxORlAWkEILAKWh926bAOtRDrMw_BjY9xFIFuiHd6y45idz8TCSojzPalsPlrwv9ZhpDZ1Wbw"; e_fb_vipport="AcIWM4BaTynqfTeIm_LBcZwON0Cursu8jCgpxIOiMEIEPC1bxhNzbv4PKdBT"; e_upip="AcIoEvCxDSeIUlEGllEb4wFBEh-0RrD2yxdb8l3-fLku2wZP8sujj6YKGykg54j4vO4mGK5w-JzWe_bp4KaF9B8jcYg_zJkdjg"; e_fb_hostheader="AcKA_LhJ6_0Q39n7pKUR25JqkYubNuVroOz8_zssxoBO1gu5VA0OYjvCJVigJ8uk6oi0O2AcME979rME"; e_fb_vipaddr="AcL53p_RRjlKMZtL2ewpqPEur6DYlnFhmfISY9_vHk5TU5zzcCnTM8-yG14cj9iaibdEBAw"; e_fb_requesthandler="AcIDV48Pm9S2iIqa8e9s6qZxKcogeJ2qkDooS1ifQx8FYl9Nq7KYqFQI5hihmhZz2PuendRmYl0"; e_fb_builduser="AcIsQmpVWiblHK0e7DwAEeg99ZE6b5yeUTAE4KhklEHpvmOW4bFvaabEzMQDKPYC1q4"; e_fb_binaryversion="AcLuVA9B4R-T9-hzrqIno2jBmDWssd_56AC8_ZNSVIxhFSdQU8jQRfW30HuUWN9SlG1fNUrvewi8fjRd-dR1ph9pYRBQ7bBCpsM"; e_proxy="AcI3uOLnnvnMzjDKuAQdfhSlGRnNbdSu_2wXv_BOfPgomrzvoj5a3He4Pgc8RLsDIAVRiGCVDLxQX1U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 20:44:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 20:44:26: Error on send one message facebookId => 6829448217153413 01/30/2024 20:44:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0QFkzA8uBK2w9m70flMeZs" } } 01/30/2024 20:44:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 20:44:28: Error on send one message facebookId => 6829448217153413 01/30/2024 20:44:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Az5m4Zgm4UumSW6CokSED3Z" } } 01/30/2024 20:44:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 353094, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AC5rrXOG1i1sNJjY0Y_dg_z', 'x-fb-trace-id': 'EncON/8jDnC', 'x-fb-rev': '1011112398', 'x-fb-debug': '5p7CKdJDkGrS/p49EWAxKTr7yb8OSq+329qwcfvOF1ozQRvpMsP36rSFQJUIHYHpJ55D8LnqzvHfQW9fuwPCAA==', date: 'Tue, 30 Jan 2024 20:44:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIjVOirNXZgzUVlQmxORaLW85Fxxseh6y23V3cn_AcAvqoUoK2YRT8wIBMUsdoaerAv6g7mLBlyCnzMWFIUXmP5bs0LkBMUeZoCvRAiwgtZLw6yIg"; e_fb_vipport="AcLfvIP4mILbAC46s01NwLAZa35OYqvoxVZcWqG9VqDPfDJlqzXiQchbFL4M"; e_upip="AcKaMAK-n9K_4wjB9muRM0GylctcP3cIUgoe_6ItfxURWWWiYaNVQdPF3Kqcuy1LBtVhUgnkBdwrZLWXjifLQh2YR9RlOfW4iPs"; e_fb_hostheader="AcIXIJot2as1j8seET3XomLiouHz4iYwoMmwmPqSFgtDYlO55tCnwVwzQ2QMI4rfCqvEK3XOEV3yy7ph"; e_fb_vipaddr="AcL26uI2OGHOwYJqP2hsQKjbqYqPfuGj-E8d82fbyiuMbD6nlXKtDlYtL3jy7h52AJMxoxZ9LMXxe4Z9pPfrvGkVCOWr9IjIjA"; e_fb_requesthandler="AcLsDWcnRDGVhRKMYT5w1TI2rBBnOKHC633ZWLxNYVlsRtKzmsxTd68JwqWWSTr45tbT8KoUkhA"; e_fb_builduser="AcIqY-c6dzr5Mm3T82geuCv72CsC_hLfutTfw06cWxhEY-mjjMs6cLqI6qW7tN_nMKE"; e_fb_binaryversion="AcKfamRSF4UdBRirHXuNReSf8xKnZgxnyxI9o_S8i-KHAPI5JWmKfxYTLO5AOxpusmQUBpo_yHnssw0wcY05JKw_MaO7RaL68aE"; e_proxy="AcLOmKqnuLzbqWwNbfZquzGnGK8sWcaSrHRdcjGJhO-G2MeitEKp-6eaW2t-9UQHiRMubk27tIXRydy9B6A", http_request_error; e_clientaddr="AcKIexbHigK9ALedR0eSbHj0WkPwlqlqIzEJaCrDjw5rrFuARhZa_IE2z-nBWUt8AISzX6vHI-iSzL5smQ"; e_fb_vipport="AcJG3JHJMLQIyrfW1g4oiYl4o3WadSmyD8Yx0NXR0hmyVdT2eT_imuUCo_CJ"; e_upip="AcJHCPNqWUOFlPEC2TnKRStLaH9-V4QPylIQJxHNInsiQ56D2cu0na4rGqypaPNpktY0k02sZCW1DQ9pDxa2qRATKmNHMjgeCQ"; e_fb_hostheader="AcLoDoXjnvOMc_tOjOJsU25LAgML8RDLHJyVHdoCnBClJzq1h0_XNdpJWX9-Wtz_Y3zvtc8TACwYk8HR"; e_fb_vipaddr="AcJLjlp0Awbx06mSPOKj75_sVYbRDoOD3Ix7AVr_zaPpxlndIrQs71w0vMC9uPv2IEEZPYM"; e_fb_requesthandler="AcLQiHx_DCDUMb7PjZ_AQmoH-Zezhe7DBXWR9RCyFYHuu_cCBvGtWAe6ukZOg73l07WEg-ZlDG0"; e_fb_builduser="AcKIk4F1DWdXqY8HCRNybFhXygnW_NN3FUThf91JKPrf1yI37q3lFm1lUg0CEfz9H7o"; e_fb_binaryversion="AcIMCdqrmgsO36f-3fn-uCYFyNl-SffKJ9ff50mcMs-rY5WpJk48dC5jVQICLSOukROBYqyfwZIs0IazbDepcP2uuL165Rz06Z0"; e_proxy="AcISuQI8C-LExYX9YyyQBMKuaZ_a7aFEitTCFOYxnRfi8EVpLggmLME57jlCdnMz0ccAsrOT3TiPJTc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 20:44:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 20:44:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 20:44:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 353233, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aj0rZ0hpHXn6DiLFnWSmf5C', 'x-fb-trace-id': 'GLErW9aWrp4', 'x-fb-rev': '1011112398', 'x-fb-debug': 'WAGfofeWn8pvIHkQ0V8VxktuJaLQ1KH2uC1kRkLQ2qloOb8DBgM3Kigvc+wcHmN2gWkot2sDbckOB9O8PSVjLg==', date: 'Tue, 30 Jan 2024 20:44:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK8gIOWsbp3YKCbHGmV2ciEFT0wiYkGbgcia8EExm7c4K8_6FKl7pb1xHkPB7t9NrXCCGBG0QzqsG7oxVGrSxiF_d3uRs4id2grlOfpSEqVnqQ7"; e_fb_vipport="AcK0tIjdMtKYnD1qq0uiZO0mewPVvfU4tIl9g7IamUmV4LMaIR5PI7WQ5rro"; e_upip="AcKNoRGRc7rXnJNlsjHB0l5ku2c0tqXBVaJu19mHHavOJB2ALHSUrmsVbSSHK7EHtloKSwDHtBOgsXewMBqj-2_RHPvBve9XuQ"; e_fb_hostheader="AcJgmB5mPHJL-EcdSP7sh_Nj-9nwWNi-V5IQeHsj_LwcUczlTRjyehsJ5KB6pxyxJnZcOGdq0TniSVR-"; e_fb_vipaddr="AcLtC7YNTSuhxGQPveW-Mkchkq3g3mjwy5eItPL1175RvRI20IkS759PH3ehhg9yh9lrFpklm6Tvd5saiBIGWL-S4oiKwHu3ew"; e_fb_requesthandler="AcJ9hV6qlZIxAf1ETfBC_535gqs4qGXEt5tQ06iRjeg9naqktmd2SZ6SLA2CmHhoF-WTqgI-K_4"; e_fb_builduser="AcJt0fC_6k_NN6LopQz94OZAwhGh8Az_GxnWXAEygKlVFIUd_eu55TSUaiD33Et05Ds"; e_fb_binaryversion="AcKc7cnUsLAEa7sRxpZinEPjc8ol9JNz4HcUZ3mL7-6pN5SOYjPj9frOenbTvR56VQ9EawpmYtfaSrPQ71wAbkOF5IlMCOvgzIc"; e_proxy="AcJcWF7PK7NEpG8qiSUJ01eoyDEG4VVbEi_jmJIedp31AjGwwI7LYkJBGTw-oFWnRIIPOY0_5Od7MEyM8m5Q", http_request_error; e_clientaddr="AcKnRpaISQsdKz5PpjjSlr_OI6GsSOSHUPkomJ1KyGWZs99jgmw-kvlbZGcj3AUByjlKhlhO5WZBFWTvsg"; e_fb_vipport="AcIoWBIB9uJsz-P-wNGvnPKIM8GwDii-gHWOWe8rGx2LE05_LObQSINE019G"; e_upip="AcJXrIJTLXf6ifMGsx_crjSw8uMkUZxoGe1QggKU8zBuTaZFcp2OvFrcpBT6Mj4jAU4EKabc1bDGjh5v5-ibjTK7NlLUE1KP9Q"; e_fb_hostheader="AcKcCWsA6W3f-z1OiNczW9dwMyBmC6FVAedAPWKykDk23ukoiuiaDc4xANsfNIp85hz2PhcnUYZpaif7"; e_fb_vipaddr="AcLPCswYA3x7exFZYSvIGaYEsDn3LHLwgJFZtm2HoE_F2NS-orDuAsEQ2IwewKtClOhlRzs"; e_fb_requesthandler="AcJRmh93BUDKl1zyRND1410cS4vSKFH3ML0hKZybAqeLX8xom0SuI1F7QFZjvZDiGpnsfC1q1LU"; e_fb_builduser="AcKyKdUTt0g4daHqck73M7fiVwh3OJhKpAoPpOp7HeLZLM857Tj1ufj140fHHTAL5Qc"; e_fb_binaryversion="AcIV440Y50lEqPx9oAY0f53LsAKmEUSykMqxJGHrxNhoY7oiLfuKLpSlG-Im4falM-Xx0O_GNWIkXkn2kFz2JYsjXyM9GRk0RQ4"; e_proxy="AcIZCTbffgqiDHlWaS5-WxFo6APPgPa8REYh9q_vLrIkA2YGkYljc-pWa26HMoK2VqR4TUsyJ5T5b2o"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 20:48:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 20:48:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 354080, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACN2tUVWWYL8eNwvbTewmUs', 'x-fb-trace-id': 'G5jfNbPMtPG', 'x-fb-rev': '1011112398', 'x-fb-debug': '+6mtxKpS78zKm9gTTEFuM9sLamutecuajc1sRD0OtSYHhofeLGEl6PkW5EMJRyLbqd0FPmYKi9ZJqGGLwlIo/A==', date: 'Tue, 30 Jan 2024 20:48:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJKRQaMJzPR9q3JD5IgYxVlGuWfUUJ_QnA-FsD7I3PKWLTqjjxAtZ2YdoXgLxF5dMSEOYTbdoLtUMayy5bXtdB1lP8J9TAtVAQz6140kneHrs1M"; e_fb_vipport="AcLSNEDPOP0CwJZYcSxSE5yU7wueS2Z5wcPXSvxSycqmnJ21eSotpNlcF6QX"; e_upip="AcLn7Zxe8tuMI6ZkyBlcg0xIE2IzKXTwGosn6SylBqtRDF4eUuOJfRNywTo0tbhXFGIFz72nXNIU4S5O1uy9OzhCKsWrPRE1wDQ"; e_fb_hostheader="AcKZSxItaXOZ8fv6K-U2MAULU-ZT3SbG-rjSra1V-5NyaxDhNm5h72dAr40k61mkdG8ngAXMmgVZ2K1j"; e_fb_vipaddr="AcJy-F0d7gW0E902oE4-8QNos3HFBvHA6_EFnhoOCF10iP2ASjUJK4UhP08vJUdL1_pzOux_jAKcQtfHhWiKVjBeCc1_1smguQ"; e_fb_requesthandler="AcLYv78dlc9Fod3klquGLn0iCIBmqwaKlLM38OqTvI9Oz897UhU3NCBpchpAQeVDrpr1HSPKRkE"; e_fb_builduser="AcJJ9Giy85p8cWRqH3cUd1pkOccARoPVGIPId51lxqA3AkHnXbffq6SE9RN_R46Pp80"; e_fb_binaryversion="AcKAorURye2oLOjgeP3UIplQTcyIFVnt80gdEW2t8z6BIx-EjZYhKeRSZ5e2AzyffdPuCBv6KJe_IteRIc3Enm1Low1-n4X5U-g"; e_proxy="AcJ91mWIAsAfbnZSZL-O76qbUlVxVvG9ILtebyyZ9Rd7S98WtUwH6PjWmGrgaZXLiBernA63VwElkUE74LhJ", http_request_error; e_clientaddr="AcIhNVlEn2k7MnOeGjm9V1fgVGVLYQsCOYVr9A7YJw9QB2HqC4hARxYun_dmfep-g5OVZ7BRkQAJAQwp-g"; e_fb_vipport="AcJP8SkLHpKDxCJev3jBe-k9-bUA0tUsOPYXgeVmhTVZgh06tQH4rBaM-xVd"; e_upip="AcIfKJks7esF-0kqDgMAiKzA6nZGrnnIh8-ksVx7_45Q6p-YLtJRs3IcJBz6-Avzwubdp3rZtej63ng0q_QBJoFMVF1nevc6BQ"; e_fb_hostheader="AcLm3nMIKLBFPWyy2BQDktzck-ygBT9_KzacziBi7A1xFZS2x29tK8-_dw4HqwPG6eUNtYa_ubzSpxmw"; e_fb_vipaddr="AcJgVBcbyc44XzjsFvphMQRN8Q71PkAwp0ideJBMAtituQeuWt2IbI_TVukHzll1WKqhPWU"; e_fb_requesthandler="AcKhC9y1w4Afl7SRuYyQwPfzDVbhZLjr5ezYJOxXFm_mjPkUJD3CPcith0RZSyJOlNj3wDhtmsM"; e_fb_builduser="AcIpH0Ht4b8Kkpk8i7LNJQDo9BRyFIndOaCrPS1vrOwxiqzo9OCvs4J6fj-f34S3MK4"; e_fb_binaryversion="AcKcm-wn6ol8kCDPt36jW8hr7qCOnqUNTlKTqL2uNjMmHYKygM6BslZyFkisGbFM9_x4xilApVMJC5yTQHqgsJfzok669ZJkzc8"; e_proxy="AcJY6fc9NaTCCPNnwxKFI8WfAUxrIcvcF7eoz2DDtKlcomse117cu0rlXdfcOyWDHdxSl5cEVBbf97Lh"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 20:48:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 20:48:35: Error on send one message facebookId => 6829448217153413 01/30/2024 20:48:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aqg-ifFNOak1LhlErza-rVc" } } 01/30/2024 20:48:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 20:48:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 354215, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyuIG45I1AOykZuxiEr4q6q', 'x-fb-trace-id': 'BjzmFZoBZK9', 'x-fb-rev': '1011112398', 'x-fb-debug': 'fk0JGU6J5SqFXqwIsq3HnokOJfdkCtIgY/KTMVTGJ3Vj+kOO1a1jx6KL58vTzvXMN3AZD9R2rqjOg26C0aEgaA==', date: 'Tue, 30 Jan 2024 20:48:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIupnRnvVeN_K9jUPNukuANdPVpiWTIGUCLXNSqDOHpBx1PeoexlilrXEumKIO6RTXPROpB2oAZwFX2xO_XQDMmJKftaQECLyENAZ88mMpnLxns"; e_fb_vipport="AcLTz1cpdbt4HYQuAuKok_p6Zb0D7kjXoZZaLK0ELSNwfGGEw_ysl_LKJyJN"; e_upip="AcKESNimJ_NhaoUzuapj35Le-TFVO7ZZprr-bmCX9a38sKiD1dBNCKt4eLfib53u3LXRkWYvUPyHGTa660jHjmH94Rv4DGAc3w"; e_fb_hostheader="AcKyY_KCaAU9lWZ_puqAF0HetY0QPY92J9XhG0V0llbxJ-D_6-VE1KJcbWQwYvVRiZOjxGtJEZNL8NsH"; e_fb_vipaddr="AcIkrYOHp6_is2hmIygJ3vxL9r3dfWLH1dRaXpzgQCi7Av66tO14ie6gpu0iTlQVZGb_Z9PtsT8BAWj1Pf-HBMHqsa-rxBQvgA"; e_fb_requesthandler="AcLg7uGCfNf8PXxaBq12iPs1z_pwqSD21-FDj8dT8QXnZLhxPoESbg3OTDTV7udNOKbeDZIZii8"; e_fb_builduser="AcJcowsDAU1b70YqnwJvtouAPIWuOYURVxNcBxSVObkYYOYnEJybTjc9E_dhlfGegyI"; e_fb_binaryversion="AcKWzWPSZCkS1QA-Te3x5ibY907jQwqKTRsMM4VSrGdeWY7TjYFo89Di_mZl_a4clKpNmPA6L-sfElIogjxa6hqDUPnv2j2x87g"; e_proxy="AcK3mPIWvohn6DzgUhq56c543lp3N3-OWgFWvk-WV3CDkcCEU303DtM4qEeRu-WKr0OPrvS_2MJWtJADfMUY", http_request_error; e_clientaddr="AcLj-ZNunwGWE8p6wnpRgxl_qxO5mOaD2s9sWb_PsgcpDOJeMsYJG_kwSpSXbTPN-5go2qmW1XlqYLrgHw"; e_fb_vipport="AcJlGkHi_ItCwAkAdFCJdDSafAUcCjCDiqVXWH_IHTjvWdZBsvkUQTvjVTUw"; e_upip="AcJ25OIyOUMY_TPvDmxaq_ptSWfBA5-48hvXBfJPTbWGwh_7JhheB0jvtagHkb9gke0sBXrTTfQuky1dkKeyPpdG-X6jfq4Q-g"; e_fb_hostheader="AcLcbFLusF9leaHmPSEP0tdB8flTUsCsWZi4xTRmQoOWPq02Es6Fb0zyHyKloYL0Y3lT2_FeI0aeviNy"; e_fb_vipaddr="AcIt8H0TIwxSvEY7ESZUWVW1_SNM4dDZCG0OlSzCKElNKr7lhUs5SZtIkRJdR0KZtIiIMn0"; e_fb_requesthandler="AcJ2UXgmiqEhoJNV50GYMldDTm5-6Au0dHWv1RKJOXmDgVokUIJ0cMGu_T0T36OrZpOaWuwGIM0"; e_fb_builduser="AcIuC2nYq9YmyKnt5a-9b-aNjCWnAQtgZ8PXlcpEq1HqQWLjC7XaMyQ-3Pm5C-Arx4w"; e_fb_binaryversion="AcKg5EyEVcYr3INdeHgJcTuEExyjIHVJwu_NeopzPSykyJ2eL_IAKNSbRrlWmLSEIl4zR0NxZfquaZLl7n3SB2GzMVuqncRw_pA"; e_proxy="AcKOcwanS4HIGkttqtjrr8uHDAVF5dAxXFSRMBRyxkvKh5EC4a1WxoOXvcoG_-54UpvTekUPdduUXjo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6829448217153413"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 21:14:53: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7010836825678806?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 358715, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7010836825678806?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7010836825678806?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7010836825678806?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7010836825678806?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmOErVuUu9_mAoY2cvkoNAM', 'x-fb-trace-id': 'Af0rf7xDhXS', 'x-fb-rev': '1011112398', 'x-fb-debug': 'VzdzQ7p1zTtN7VzromnHJK1GE6GC1uYuZiDSIiFdNETHssAkawgrariox2YEvuH4JBwl0APMPZ7ufPPLCIFK9w==', date: 'Tue, 30 Jan 2024 21:14:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJBD0ERF4LmxwDgezezsvfvmwKXwyYsk61z3T0ABp__q-jI_w9lmd9k5DPQnhPIXLEEdYDBe60DDG2BGmdsrAnW-ZgEgP7i0leELfvp9zax8jb2"; e_fb_vipport="AcLIOu7sgJSP2lpNj9qERExb7i6MmT-0mQzw-aE0t-jbPzFPVaSS6mgli2OR"; e_upip="AcIR4sz4O5_nWC5Zdaj47dcAMZzR1Pb9zbvN6OGLY5mmVdO36VvUWuo3lK7XFdl1fpEuzhPbob5uA-PtbJdisXSU6yde0u36h-I"; e_fb_hostheader="AcJtkgB0H5dN0bVzGFEeVMg7HLXytPST2q1lJeXeYz7IrCnWolmuhC1qaQw8bjD_lFN4A3JHat7AB-qj"; e_fb_vipaddr="AcKRGlYKR2BsjG7qaCNao9XlS_rKxUZZkBYnjks98ihuF6w2QJOJvnMlW8sFzpQLK4z9dVKF3PanSeyAEkziEiolTJUWKi_rAw"; e_fb_requesthandler="AcIfxBZwjgGChdyvpRAEVCFLQbTP4WQyxFXhkREgEdPgTZ1CN1ZWQ-sUUrQds2cN_oo2rGQlYh4"; e_fb_builduser="AcI421isypNPIklaff5TkKiiyrkgP2MeYCKSCaV3rayEAdjt7gyPNSbDVKcClq817eo"; e_fb_binaryversion="AcIUtu7QCkiXnTVOjWvsJ6vR-7PBxK4QcZNK6FvcuUmWGJGQ43BALPx5Lee4N-B8wR-p10ebXAJt2o80XVoLkXhggI0QCrg20pY"; e_proxy="AcLXcn-mG4GLo8A_f5UiUZROXSJLr8Z3jgGVri8G62AxiKU5_TL-U1aVzqF0cXCAJRDny5dgH4M-v-IK6Jmi", http_request_error; e_clientaddr="AcLYuCvPKZDMA5VDJ3HEWrd2pAw6gH53AsHNFVFktGDMK8LWKo-bjDKPEQdVyiubSBsyx3RL41qUK1N1WQ"; e_fb_vipport="AcJpjbnfUq_U8x7wec3VDirehIkTc1ScwSfHDH1WlcbslunRJiFjthrW0hjX"; e_upip="AcJt3TKDZ4rvjytcJowUhseunUQRGu9qEXGe0mdFlibeAtheVdXX2A4WgICTQX1XnqAXAggwVKbpJaOSDjtI_TN8jUZ0Gq4XXQ"; e_fb_hostheader="AcIz-iJJN3x_8UxPTum8unGxKPRC0tiWm1FvWU5vcNORL19FeiHwjmSm7k86kAFDWEV7Ogm_v62gb5ve"; e_fb_vipaddr="AcJNGa046AJCKBQPcYFY35h3moG5ZSOo3GAVlW_93_0AvGFsvZ0WkrwQ25j0JucYeS1i3JY"; e_fb_requesthandler="AcK9LjD5C_iz-bvjlXB-C_oqlmV3GYZjcrDj5ZVBKD51piSQj8VK7c7nMNvChipS1knjIL5FuKY"; e_fb_builduser="AcIPgor8PulPYFx4qdZS7JDGb_y0PqBSZcBVhbpQcR_WKaz1hYJvAgUaxaLzjMpxHfo"; e_fb_binaryversion="AcKywnM1gMiHrnak_bQeQI7mgXWMAjwwgPyuOwi3qEsTQCru0coCMSCvQLDU0ODyD52j4CYu5JY-IRVRqXeDplSAMYf3rPsbe70"; e_proxy="AcJx48KyOh1dj_ev4p-ECcgL8OUr1kGDPkA8viJp60FH_8Z482VylrNX-BbAtdSpLb8glpiMjlr5PlU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7010836825678806?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7010836825678806?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7010836825678806?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 21:14:53: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 21:14:53: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/30/2024 21:14:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/30/2024 21:14:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7010836825678806"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 358839, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5VPA0ywDXcGRD9qHXy86gn', 'x-fb-trace-id': 'BaIapSFK9v1', 'x-fb-rev': '1011112398', 'x-fb-debug': 'aj8u5qBA7OQzHsRxQ84Scn2+8LuvlOYHxo6zu/tQeHWhoyLZ8Fo23/Usty3xuzxk0D7RiqdRYl8H7wmKZ2TSxA==', date: 'Tue, 30 Jan 2024 21:14:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIeZKipyKefRx5sOfbfgOS61fC7me0cVfmEmXQweBmi0gaiqfhQQHaMCTqhCe1XZZalCR536Y7jQqAGqL0lDl_qG5Fb175LJ4_5lY1CEFpTnt6Hjw"; e_fb_vipport="AcLu69LJCuD5majiBOf11LAmYKBjlQXYWl3jSNn93gn-OVLa215oNEGmB95G"; e_upip="AcKHUIQUZ9yqevhfyUWId4-bwUHng_TQ5-u34XfSJp47EUYrEit_5usmI9FIM5IHXRYtiwvHoiq3S9ezh0Pq-06UpdsNBBVAJUg"; e_fb_hostheader="AcLaClHxhL9Ved230VxIt_5uQGncUZ2QXqdcd1-46LqNPzVBiBJmQDIy_k4JeV91fsCvXWF83odO_yCd"; e_fb_vipaddr="AcKAyL9ZLMEZ2VzWd8oAmMMs8gb6BgtzM9KexP9ie3gh_F2K0DsjDPE68Wq0dFEZo7pWeNlIYnOrDp2VoA3c4VX4jTX7sA3p7g"; e_fb_requesthandler="AcJ1bTKoKlqWpmkA1EjBHVdKAF53sr6UcUFuBdIuDGqOGG_LRuAG9Sf-yTvyH7V7xAxWj-T_Qho"; e_fb_builduser="AcL7d8yQgdjpeONtIO8QoHXQ1je1VAjqZ7rIc3P14I1pVsas6KdXbmRe45uAmNNmQoA"; e_fb_binaryversion="AcLaQKWKfE7GzlIEKaIt9lBos-DzxYc7_5cRGr5hRVyIrkxvtN0s7fZylYEjMDBzY2nhd2xjcReAOM_t2Jy9JYQkRzMsbaFj1ac"; e_proxy="AcIeZDF93ve1luPRNI9YQaNUx9VEzYrymE2iH80-KLr6qaKKAWv4cSX35a1S63nIn9AJ40sh6hSi7ovIfJrZ", http_request_error; e_clientaddr="AcI3yU3yNb5wmDdx2vCizq4jlG8vMDshYEzSvUPzrbQ1fCHMweYaPQBoQ3fk6H8kWJ-FEpDcMVj2nyKCqA"; e_fb_vipport="AcKcGUnOSm26yHycRdJe9VRYcu9rh1wznS6n2_zlRT1vmPEoKhliJN60jiXS"; e_upip="AcLcgAfs73f_4inhCLlkrO9f1jLHtz8R3_4_Az138ROY3V2wPMcNhnYgZDk5y87qAXA2amkd8ujq9pdjIhpeSV2MLoYWYj5k1w"; e_fb_hostheader="AcIgYZa7dHTIPc-fUJ4gnk4l0sqTJJLzr1b0_j3ADoLvTheMhNxX7YH2VZHSMH9PkHZXpAA9VLjTAZsM"; e_fb_vipaddr="AcL_sjIZvUqnye-URvrvcvReCWUJyNJZCNHW45QfetZeyHMOLfijIKiHRWS9OzcadQu7j84"; e_fb_requesthandler="AcLWxa7kPYAZNomA5pC-a0T11VdtlGDjVM6ZThw6IXawBChA9e6SauVv0pHYkgBakCWwsQNS0IU"; e_fb_builduser="AcKLLiF2c-lA_zMCXpO7EXNYbudAtUW5l1GTo4o49P-nhQx2guSNEsc7btoF0_U_nys"; e_fb_binaryversion="AcIHJQqFs9-GCiwJ2xytxUqi3Jy7meWpgQBQvlkOXL_0XRufhAklMWz_XVi4d2SCIsveYrVh0SUSLYcn-i31k58RoM0WWxBZoRQ"; e_proxy="AcLbn7Ip1HxPEO9i3QVXIP30MR1suIdpTMXQPsO5DMGOmty18Dn9_DUPccWFl__4nN6BO8OwSTJrtJ0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7010836825678806"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 21:14:53: Error on send one message facebookId => 7010836825678806 01/30/2024 21:14:53: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AfgKrx-UFZjTDrNTqX4xGkE" } } 01/30/2024 21:14:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/30/2024 21:14:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7010836825678806"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 358917, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ABsrElESs-4fe9GJP5c48LZ', 'x-fb-trace-id': 'BorlpeD/TkR', 'x-fb-rev': '1011112398', 'x-fb-debug': '5yLduXFHvAzlun0DaK9s0t4ItHCHshjmtZt8XiXvlOlbPwwrL6lxS/1RIvHQa0GXuyadRIkCBnoZ83nWjSQGMg==', date: 'Tue, 30 Jan 2024 21:14:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJPbGXd_wyJAfjAS-6DWp7itwogrgfPrnAR8E6GF8aqEbS_Gz3flwfy2DcVcChrXDlMU_RkZT54tFpCJe68pQKm9TUKJCjhHHQX4uQUFEb457oy"; e_fb_vipport="AcJpIEbvvneKSToG-PugjmTxYHJEoHM1mXiOqv9erMrOQXfVoVh0_xUzklEt"; e_upip="AcKWW2QWAt1xK2h5Ezbatr3byPykweG8A1aSrA1AFSCPAOct3B7_79jSJ3powCKaiwHS9uWcKf9Ej339N3vvFSOxroJZu0sSok4"; e_fb_hostheader="AcL3etyLoxK-IrZIgYWl3cztiogtpti9_eqF7o40eMyTauWJCFA6Fwl3LpohDikwHtHtphbxX5j-ovL0"; e_fb_vipaddr="AcJ7Lmduy9bjVyhWFD20HnlxaohCPRXuce1A8lRg5eb52IloFxA2TH94jDRe97BEDFM7D4toyxo3KouiCL0W7dGWsIk5Eb726g"; e_fb_requesthandler="AcJhdOIPvPNLs-Fs9uC9oKJkmaXPLkywte20UK8j8m_weep5qfQrFTUZdlm_CpgFNpwUMBAFr7w"; e_fb_builduser="AcLnGcF8ACdDPJwZ-GTUj8OMNaouOkJaM4gIzJGoeevpz5VaHDvQJIKwCUYLO3kCZ3o"; e_fb_binaryversion="AcL6xg7uldCGe4ufbtwESqmbIqnq1hpPY2DB2dVD0uSxtK2J0LCIpu7dG2gWxEu5f-W9IFj4OW8ZZaNcQbMGZabjzWwC5gXcSMs"; e_proxy="AcJoY7XTAjhuhGUKVPkFLBk0ChEzGIAEmQ_k6ycnIXE8E5x0i_T0VKgaRKpaYNQOtN_BypidDEDP6x7RDJk9", http_request_error; e_clientaddr="AcLH4wY2T0Gf2p8EJHhcKsGkxGmcFFxPQc67xejlADK82BBMnD3viQa7leneJpMpkcoRkwSDDeqWvBrbzg"; e_fb_vipport="AcJ73E7a0w_SDKmaypTF05fiHJBXAIqQMGN9RpRuNseCoTKlRh9K1LILYTH2"; e_upip="AcLh5esT6AMPV_rqxLT7gpEYtHuUIE6aFTX2Zdtxdohla9H8RSTpVjBZWlj36pTJYzfgdTiCLGt4tkUrF5mVSea4nSDJRAX57w"; e_fb_hostheader="AcI88iivvvT9q8fyp5sBVrzFmyJLWTKphGcotJ0E0tpidSaatlTDsUP6rZk-s1ih7us87p5w-j8L21Vf"; e_fb_vipaddr="AcJHdsZoZnWuzE8EOCt00IgHQpiWMm0HVn6rLD0suDLzeOft5iXYjF0f0xRxkfMLjVq6KEc"; e_fb_requesthandler="AcLMUSsSBZelnXyYsGTn57Wxcp5B9dKGai3jcx3ziXKVlRYx1gbWHzUsfIh7WGEGVK7xEAe7TB4"; e_fb_builduser="AcL6n8BXXi5q3NN-gFAnSchAfrY-KbIy9grdoMV4yAyYoqj0br2SfYF8xsYy4CxYmWE"; e_fb_binaryversion="AcLfZI8KW1QMID7p0TGpRQvAilKwoglDcdzNim7vGayp31iNthmzLNsHeA4ici3jWjjujYc0mDP-kks2rYsmmHwfXMatKR0QmPA"; e_proxy="AcKB1vxxu4vMDhF_uJ9TZRuiHETtx4Q1TOPT0DHnD8yoMt8VvghviU4ToUfmJ7x9McGlIulWUdNTpoE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7010836825678806"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 21:14:54: Error on send one message facebookId => 7010836825678806 01/30/2024 21:14:54: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ADxPi6qOsd1Jhfhr3bhmZb1" } } 01/30/2024 21:14:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/30/2024 21:14:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7010836825678806"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 359034, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARPyJZxsjSrqkMZYaYQhI83', 'x-fb-trace-id': 'DEa/pBgwu/2', 'x-fb-rev': '1011112398', 'x-fb-debug': '3hS6bQ67aag6YRYkHSRry1O1sj1jZCjw5VNpfhfQKHGyqV3WTJHMxwX06pisMFxfK98BetacWDT962BSDtA0ww==', date: 'Tue, 30 Jan 2024 21:14:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJA92bur6gJQjRnDuNB462XcasbcEdKyrsWLPTKFfXoFpLrZEbPGM6reA67nKeCWR4W6-8HLqi383DfnjCoDw45YqOC7gbSOTnUS6Rb3DjSuLGG1w"; e_fb_vipport="AcKevB2UBtI5ybzW1jG5bEK7pU7735RVrGzckduKXqZfvAen91pFnnlWD-k2"; e_upip="AcK7bdUQAXq6gxi37R3snj1X-vDC6KoXIYhaPRnDfPK8Ge9JBtOJt_V84nTJs_k3wBfRS6ZWKkVwr_9t7zvRWggbQ6Q-V5OKuQ"; e_fb_hostheader="AcIpAm_usnelJL8RzawgUFxuTLDzNfa4lyhZs-IsVUl_lZRghYGi0PJ8a1IRua5GVdxDVead_UK7NLVG"; e_fb_vipaddr="AcJ01Qw3ervzbWaADyB9wGgAnDhZUnf3rkk1HS0vXeFg3_h22m9VOjj9VJjMbHRoIxPwK1iyv1LxXhyKl06IHbMA7VCe1Tfw1Q"; e_fb_requesthandler="AcJQpT102vUn05fOxV8E6V1Iwhs_NcGV4dgkOR96MOTyR8ItZRda1rRl_U2fZt4jc4CxD9CYJhs"; e_fb_builduser="AcKmptdnK279qkFD_lQ3DhdaoCGKeuK-wql4JKhDQiPeAP9BzYArF5YphFdLptVMe9M"; e_fb_binaryversion="AcIyeiAGAFwgXyfgL6xSH5VhQMFXXa8-uQmCKn9KGFeZJv6Myb2yE0tQeH_RKmOlg8yWenAk5rTGSSZG7XX1YkEZcOuyE9O034s"; e_proxy="AcKgZ822NakSqDGLvkU_MUE6PSyJQvRIUKEZuIhQgzc0O6vwAVoFGJmZm59GY1QG8aAYPaAVrQB5MjzZYMh9", http_request_error; e_clientaddr="AcLeHMH7Gj3fvaBpvDyBPLJVdb8yZJ0gghDpTtsKdsDfAGAraw5W6pizUP7abBMsmoVgFi4xJQBzJxWxEg"; e_fb_vipport="AcI9fFUqxjBNPFu9iYP2M06xNVWNA0R4AFgqlcAxjwS3Umj0JTPX5MZhrtgb"; e_upip="AcJ7t2fIOmE5yP8ZUkchpgwJgkUVemR-M9Rd_9D0K0dbLtGOPi6wUM8Z_0gr35NTESLDILIn1G587Qdvu4d0bakhOhj1P2tu0A"; e_fb_hostheader="AcLPk1WC6GpIg-q4FnIVWdv9k6TQZCHCWNq_4iaucQskbijje4z_NizmHYyli3rckK5VfsO_6Y9L0OSi"; e_fb_vipaddr="AcL5HWe0Zcb25-HCUYRIskPTt27jwg8TT4ZUFkL0vAU9L7Hai5da8r2XM9KOb0PrGU5DHG0"; e_fb_requesthandler="AcLyLF6IUJ3FFW6HxKsah4Ud1IsMeVblyCvSil-eafb015Y3sHNiSxXjZJbWg1faaobQI3b3ZwY"; e_fb_builduser="AcK8mWNWZhly25bIsvGZAATUCHevX-JMrwu5RZKdK2CY6cM-QvyoTD6-V73gwSMFW2w"; e_fb_binaryversion="AcJ7q1xeb4qd-Vpv-w_RRKyUCH_6KVpGkPhjBcPxizLiv3qz6EFxT7Nc3F-3M1xWWrwU8LYATR_VZJX84SSljhzhARwgwKrS7t8"; e_proxy="AcJhFd2BDl1mk70N154o6TcAnYDvNDZi-PGuyqisG832trimi8JYFdFGjz1mdOyUA6Tv0tVZBkK0ZVM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7010836825678806"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/30/2024 21:17:39: Request bot not found: { id: '565033343594012' } 01/31/2024 01:55:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 01:55:49: Error on send one message facebookId => 1179882905445373 01/31/2024 01:55:49: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "A_j3HAT4frIGKblFGGLNGLV" } } 01/31/2024 01:55:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 01:55:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 01:55:49: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 02:46:23: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7530270883673872?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 414849, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7530270883673872?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7530270883673872?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7530270883673872?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7530270883673872?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcDN7MJ-kG8wAZU91bIovNl', 'x-fb-trace-id': 'F5JZEcGUF1a', 'x-fb-rev': '1011112398', 'x-fb-debug': 'FjX45EMhQHyHYJM8quxF/hiLdhfGD/ALS0ifiIOnst+Xhc29h04K+mdKuSK2UTCYSCstDjI7C3LWH052pxQGmg==', date: 'Wed, 31 Jan 2024 02:46:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI5c86vanogjI39u2Via55BPdW8bSgxb5H-im2RuAh-tcMB4linkNy-N6A9rFcm86RuqoYf4am6gWUKqs6oDh13psIM7CrJYndrcbhxST-Yb35V"; e_fb_vipport="AcIhlYV2AamxIYizw3HuJTRnRtVnO0GXUyretXeMtwePY2TWtR92TwPNPoE6"; e_upip="AcIp8o-65GQxO6u7GTr3KPKPPcElcszDvAUhEIxvzfH8Es2DhrC7jYbUszZADCZJub4vdx7C3iV7KsfplUZZ1tK0chorHgJasZY"; e_fb_hostheader="AcJ9iNyEwdA1vu2kWo16i27W137hYbJvLTQqPvfItE6pWT06AyhNKm4c7S7slAX-wikGlv7JHS4OnyMM"; e_fb_vipaddr="AcI_QXJdlrbUj8Hl6ip_n20iGXbE5LLknoisQQqweIFTShR5QiFRm890xR7a3uR40FZaCSq-aWXn02MbYu8IWuSHHOevaAoxAg"; e_fb_requesthandler="AcIGkre6faRMNIj3A7k3_iTx07NmcHHTk0MvwvE_4LHANgAesxc1kz5SJQz-dvlumodTdi2T2S8"; e_fb_builduser="AcLmqSdZ7HIMpIkd4iXbvagTFYm9XXhwjtDZ01eSzpTP41p6bMAc8Qmg9vAll1byIrU"; e_fb_binaryversion="AcLcLekuCkNFSZZz9yTtAcJ2vUB3ZYswDPqd3dlPbrfeZvKrN4gTjl_5lcMBW2WJExakBOnLB2RUZrFf9EhOUBsjzf7YVLEVQ94"; e_proxy="AcLGjceGs_XVhl-CZCKypFoXWSGmg5efso1CjSTUtxC3mxV5ujctXZA4fOuhp3kAgIX7Ml9CxvV3x19pr8Rr", http_request_error; e_clientaddr="AcJIY_KDio6etaBoY6MnuUb_3xqkGoj6H2LAx40zfbsD8PKSyv-5Ecydvp9TWXj8yJYiQbTl4U48LEHAbA"; e_fb_vipport="AcIa9Jo43jYUNdZu367BwjeSq6bs0bM3CQ6Qa2k6pjB47higBC5e3UOv3CZc"; e_upip="AcIcjgFitdgMUV-hsnS-ryGRJn6VOg-Tka00Skpu9unl5_3JfSEEDMipePDNo9xbqtt5_qUaKHY0Y4uJXhhX0LQpYyFM3sic0g"; e_fb_hostheader="AcLM3oP0kfgz-HGfpZ42OPaqlPFIdVXJiUG4BteLVDzeEwsskptslN68JZlgclihuJu8pOhzcdvuCGP1"; e_fb_vipaddr="AcKSlWr9VsMq-rGeFNt6mvL4Zfr_8FYk9T2RYgZRU7DMT-XU-oQ81FoSYiuAw6WDafBv3qot5Q"; e_fb_requesthandler="AcJD1l-2tIc4U5Uonw5U1_MKhzbIlyxrYpVlh_jIc2Sq7p5cQ5y-amwSRP1JyoG1Elq7rfPxMLw"; e_fb_builduser="AcLvKuElVCOMrFsUZuMzfpst5hjSqnOr4wnjl6pICx35kv2rrtM-1jt1MtZ8ETTAutA"; e_fb_binaryversion="AcJCYziItdhuDiLCYKosTHEZXhQNCDCx7Kg8rAok5nD3RW6eILHeqbT7VX2GP11ICG1Q_O6NVniEVnTqQGeBrYBkeEMcJt7q6YY"; e_proxy="AcIVJvj0anVRkF4nGVkm9IdiIp9XdpxR_AwmfvSrr_zVzFFyYeJKKR7DOo8wCc3dLt7yvN6X6zwqjn8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7530270883673872?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7530270883673872?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7530270883673872?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 02:46:23: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/31/2024 02:46:23: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/31/2024 02:46:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 02:46:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 414973, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaFjLz6zhlLQTHTik4oRZSr', 'x-fb-trace-id': 'AZ5eg352VvK', 'x-fb-rev': '1011112398', 'x-fb-debug': 'qg3RYqFyGZtw3Ny5MU64y8N/9HnP9KRkVwSuvn8CVQ8GvMe8hRYurASrfU9Ei+QiZGZvIWXtZb3nlbNm4/C46Q==', date: 'Wed, 31 Jan 2024 02:46:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIdx_5f2EfC-Ip1DeDYcPNJAOI5NN7Q4cwVOMiULR_exZlgUnA5O8nb5nmCNX1PTiolSRmXzuZGI74ZehrJ_DZOA4MlFwjzMx8ieKl4OrOJpK1T3Q"; e_fb_vipport="AcIeIJ_dfYT4FAIs4a2q_yjWjAzaZ9vs1kCvx2KdllyGtuLkmT7YCS4Uyu27"; e_upip="AcJYGmA8JNzqlEgu7yVKt9cJ6pkiumAHbiLaH7ifEsI-2vQKcNqRimkkTVRQ2EMllmykCBiXlBinB_9RbEJGot0CFb-5nySptQ"; e_fb_hostheader="AcKenFf6HqN3XuRGW1UiAFAhAU19nHh0zclZ-4odj9IfPXoBWAuEdo4F_7jsoML_Gbpl0G1r8csL1Ose"; e_fb_vipaddr="AcJjBUXZsLxIuY4bkBsFaNOT5H2u17PLj87GTmf3rtL7qmnaKAz_uOHph5E8a1HyWRPINviEWwdcOzGiBSstqrkKu3DnBG2itQ"; e_fb_requesthandler="AcIFSFd5ARMRcriRKWjpY8qtGZ4BQFQFL5lSrObTG8jOvuhywbAxKTRxCFUddYQ1vmbFBYwVa4I"; e_fb_builduser="AcICaLlJWh40L7TfblWWmRjuXtvchnBHfDj-WSpyH7NIYMhdc7ksHiLHFC0r-RNOMls"; e_fb_binaryversion="AcJKzQ5kagTsf9Z8pbsQdeod7XQpff3W3vgWlPuyMHxndo6m5lbs51URfDvR2-CTUMcHXdABh7PGIGFgs3wWgikAIFqgWnQLA2U"; e_proxy="AcIHlZSfgmUHtinCOwCsI3sGdVoeZwa0TxNdi3apxokx_0D7mVYylsfe7mJ6t7XTkxzI01Co8yB1Ka2iNAX5", http_request_error; e_clientaddr="AcI7zjkc3aQ8DumK6FenOELnuNZPWoq9lgjl-pOTFCzTDyvnIV3DE55IFoK23Xujh-xfGBmTpcJfLOl7PA"; e_fb_vipport="AcKKM4qqSwN80JKlPyWCTTzxplCphqV5FGiw2DpH9URP0r0qej7mwo425FNi"; e_upip="AcJ0a9VYUmXwnRsMSa9m5k4dKeePnUefNwixbG2nfza3X2xpqGI8VMZqRLVUp0jEe6NyXkGAciflJaLuEJDq_fQmHPxaL-Ukrw"; e_fb_hostheader="AcI4EwHeHq20_f8eQnU2cWyYfnRJhjqtD2757eFfyMxbCsy4pVKYBgkExnaHa0jcblUTouROq-pjPaUA"; e_fb_vipaddr="AcJXe__RKitcpNwiIcmA3He2krxG4Uh8noiJp2Wg9GlA3h4O3ISJh_wr44q0G7q6t1VsDvkZjg"; e_fb_requesthandler="AcIl0GA7yszrq6Ud7TRCe6CEkrIWswnqSp2lQ6coT_MWGE0Rw0MgUPgPSNYSuqyiH9-zCwwOhwU"; e_fb_builduser="AcJByGqtRB3qGjv0uRccjy7CkSmNYqMC_xnd-m9DXoRde67z3M-o2fbvyQKWJXRVes8"; e_fb_binaryversion="AcI7lWD0XcFIjYMKzMwWWi1hUiWIpN8-NwBw4Px42QN91y3SZQBpqScFg9EC-Xst1P0mIA9Bj81VXfz8O-d2FbU50Mn3Ai7Gksc"; e_proxy="AcI-TZdEGraSnWI7mRTr82OSh7j8kSCMkmTGruL3Fm-QuZX25YAqUdiJb8_96_PM7gLFsM08W7hf8mi-"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 02:46:24: Error on send one message facebookId => 7530270883673872 01/31/2024 02:46:24: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AAKgBI92Y1pFe-WivNV2DXQ" } } 01/31/2024 02:46:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/31/2024 02:46:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 415046, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQljZnTwcENVf6WUvRj7KFE', 'x-fb-trace-id': 'FOnrVG1HIxB', 'x-fb-rev': '1011112398', 'x-fb-debug': 'qtQ6ro3KjrZwqVbX3NY2MAjJhkwzK+YGLAAL9Y7Hl0OTEUaUpzFSNdDT/+AB+pXJBBGMEQbTsZM2h5OBYZ/0MQ==', date: 'Wed, 31 Jan 2024 02:46:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJs1Nh2r4HQBXm0AVv0FOgGZTYySJR9P7yySZ5hS3xcQC2UQ1Z9ynDD__I6Ry2qZA0wEaB-_pi3yH7PpvUotaMESeO71ZjuZfe3Z5dWWTiwmwjhcg"; e_fb_vipport="AcLAk_OMzTDJsXHDY-bZwvtJCDYJHmSRlHBUb56UifFhSNxugeGIJM5StkHr"; e_upip="AcIcx_IgIka1-ViAFBRzzP-vVlLjoD5Da9d07C-7CNfylVCyXy0KmAltdQf2tiA0WmxTqTPYCt1WGdxH5gsr1kyHw5Ys7gcyW7M"; e_fb_hostheader="AcL6q-Mb6WVKK0JES334bl1l4zOjo_jomI2lPkA9RVp0-l01JZ3i3e-L_2CP8sW4UMShu1Ou0f5DL_on"; e_fb_vipaddr="AcLDcT98SpbC2_pXn3Y_bTn6vQYEBBAUJP0PFiJwsSkD_0LzpmfG1HKaBHyysKdMG4y59RI2dqcKkZEWtaBdUFPhvtJyWwrw-A"; e_fb_requesthandler="AcLpNGma8a9StPBmuqWJSK823EdlXP3C-3MpAQ8nDy2mCMJxsKurjSpi6X0nKRFHst-CNHIdOzo"; e_fb_builduser="AcJ-KjsQ_6en-5L24mgcFRUvjUYJrnxfSA-MnOnxHHKrF3Fm1jvkKKCX44AkPa1l-f0"; e_fb_binaryversion="AcKOrXVI4N2M6s72N_ON8naGvtTJOsFooZwHHxDHNZFngMLX8DBwtIBdDqVncEE9NnLTpBMyw1wUX4To6JOP7L3YbQxy-tUGMCU"; e_proxy="AcIGQhjXP9xA_p-z9y-1uGMRMl0QyXHVdKdHm-MrXHIEf26hjEaznFA4JYm0JAUIbscdYNqZXgmnzeBKgn8S", http_request_error; e_clientaddr="AcJ_FNWFI8AIGx_HHrQZoAhaBhZpI1_c3ymm_qu6hvaXpZPMbTR7xKmsAU-twqGYzTidZCDz3dZsZMJc8g"; e_fb_vipport="AcKuO2Vaj8Jo_9o9hbtVwgx0EkjYNNuLAN3M3f0l2LVVNGX0nOxMWsdW-Okn"; e_upip="AcLx9qdy7FJC-oY2-k0EPq2TNlPGESwwPKWpMkz2F2c6q21hzC3DTnu-rcyhNPboa6eIzZcBfLsd7csYJdKW6WXC09BFSrYLug"; e_fb_hostheader="AcLvFr-C5lXD3EENhcUOf4lFXuWmeSoOSj2cqyerA5fH9BMmVkMRVBqCQgvyEnaLzHDVgJ9TSDTEVc7g"; e_fb_vipaddr="AcLya33cve4AwAZDa-5USG4518ooKmby27dAlcddaijXREAhRTa4TYlbSUhbP5r06RwNyNexMg"; e_fb_requesthandler="AcLUpxVJqgplKPDqS_9NeW-LmI7EFn9h7Jvd5h9gJqdObRIJ34ISENbo7obPuA5zNEpTgnCT_XA"; e_fb_builduser="AcKiZE-Ewgi9eP_KPimIbViNBFSwfBoFuzcAhcIseufiNQM1fz8URosgS5dYGUt5V60"; e_fb_binaryversion="AcJatOovVnyjxAS5__A0g70J-RUcslC7GJp4zXUw_Af_0_kypbn2j5p2J5HY3NHMGVzlpx2cJIT0jKFncnRSNhFsv6HPn3Hz8JI"; e_proxy="AcIvU4Dpu4NbgxG2VXAVB4Sdm0WhAxlTGkZ9ryLqnnxIXgvAwdiKTe1nmZF1uLlwbLE1QIUvaZqQfYk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 02:46:24: Error on send one message facebookId => 7530270883673872 01/31/2024 02:46:24: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AimkkpBe5amgFmt4U6Sv4lR" } } 01/31/2024 02:46:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 02:46:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 415161, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A17FQSGydev45bMha-wD7mc', 'x-fb-trace-id': 'Da0ZOH8v/K4', 'x-fb-rev': '1011112398', 'x-fb-debug': 'xUlfM4ZDTiY9WlhX1ye3HHMVEvVJPES2k3vtISxeivHjMJXRfPfrDgu7TWtBI9uD+4D0ckMPCZbEIhCBCK7n/g==', date: 'Wed, 31 Jan 2024 02:46:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIjamxrxohEUqfy5BUZN8Ov3zZ6mam7ayxVsaZoI7cEFGETdotw2CpvP_CPSf0vil-Ipm5S-hzukKH-mQhKo8NxsmFwfZAF0JXPWHdc-8c5JuULjw"; e_fb_vipport="AcJGdv3R7__y8Ui5UCmv7pGZ0CFZVrGjN66BBDaPLBZXJ_TKV5nON4UWkwVl"; e_upip="AcIB0tc5XS-hJbqytRTKw6aKiu_quEJHXPouvZ4Lp7wc1crGq-3I6M-BhtXY8cVZ-rRS-YNkbq2nb-dcdiEfi8xD9M30ZSEtYbE"; e_fb_hostheader="AcI0dLNV5UhyiBfQoqpwOy-gjjsGdbqcVV2DFJejtWMyHLVpEt4mXmNXNxMKWKqdax6GAhkV-wijqi3c"; e_fb_vipaddr="AcJjeSH7fSSybsG7eAkYORjbQklSgHHDa9fxlJrNoYpyrqcD9CP7IA0dRszMPtGQsSmZYqBcQgufAvvVCAbopOKZMWtgbisXgw"; e_fb_requesthandler="AcLMdMMbu3XkcBnJ4Z9HHIZxIjB06lgKK3Aiktawboi9hp-0j9G7qt92C46GJgsf4E6rixlgiQg"; e_fb_builduser="AcIeaLX82rHyCzDTJNN3bCc6izpzSnRJzbI0DJ1i2nOBTS2HFG5PAf6ffHpY153qq14"; e_fb_binaryversion="AcIjEzILcWaSic-H4xr27WyO05Mdj8-61o4Deq0yjvuiFmVsq2Ug4Bm95Mhm4DzC-rVX7G66GTfa7LMjZV9Cdxjj8Q9U3z6POCI"; e_proxy="AcL4c6pJZusv3284lr6QDqPfefhdQYpRC-Q_Mfnj3-pc7FabZNFfXyljFqUUIBrca08JqeW6wFlmEZAaX1AJ", http_request_error; e_clientaddr="AcLEfzzm7ZhuyjbFFonLmnHRnGwPTyk170FSCmzY95zpcSWKc3tybIH5a2uxMJsgr-ici1545al6b6tCFg"; e_fb_vipport="AcJE9Ispnf62k6wl-x1hAC0pjelMS92uJRI-vlEW2dhDVZNoku8ZOVNLWZGR"; e_upip="AcJLKKKRMWDbwFzsRMGeloCmYxkDixvvA0DLg69USKdXwZlIJ0Yd6aoriNQPD_7G701eq5S5MGD7tknojB1PVMtaLz7yes2Uzg"; e_fb_hostheader="AcK4IGI6bxOsbiC8tp0TETem4sAh44-Y8iZtry9rpPW5EbVLLaQ9mj2XqW8pbuwMP-llhTSHsdgD58fV"; e_fb_vipaddr="AcJS-bb1Udig8T9YnLyAooyJY28fNmVtHp7Ck0uv6KeYfYfW4DXq_8e8vFPXfJ0fQf0Qg5t9NQ"; e_fb_requesthandler="AcKqxdnAZeLoy-u1PYr5gutMGhNoZUJGVp12yTTmx_v5fFk_t0ZtQRlkEkgPyKzOchxt-0LcKm4"; e_fb_builduser="AcIDD7Qt8oaP2Hjf_dLEVHUi0S_baz4Jdkwn_zBPInBnGcaymfMOAk4jeDmh5jOyXy0"; e_fb_binaryversion="AcLoQiyMyRRpOXdiQw2IOME4aPgd0l6L2aDycxbvF6ggjwDH6tuNS6dxTq3NSMK-pBjb1gX1aF0VdnNx5badkxV7omqutlGIpro"; e_proxy="AcKy3_ExeOKL2e_TV3-PMmTiq4lGtmzp4e4Ctxhjfme9_OJEm1M25Qqii3z5qZr4D7L0hI14gcJOphQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 02:46:51: Error on send one message facebookId => 7530270883673872 01/31/2024 02:46:51: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Anpdj5erH3yhDiBBov3rIW7" } } 01/31/2024 02:46:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 02:46:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 02:46:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 13:16:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:16:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 521339, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdPcjqjn-ViMQne5anq9c8x', 'x-fb-trace-id': 'DWOFWJVPyM2', 'x-fb-rev': '1011130673', 'x-fb-debug': 'd3+maD4RtT7pO/Xon6VIdws9IgvqY150O/Fn/T1lIE5MHPFqueRu8TCLjdOgqdr/RIdTlz0qYK3sWVJa/M6YKA==', date: 'Wed, 31 Jan 2024 13:16:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJNHNBEbIBssKd0gnv0Kebpm6OyuploE-406vLurG1PyXRYzU72x7r1WFkqIp0YAQxeYrXCIaIbW58xA_GFv8E8hMtds1jSEkZJTmtCJfO5-Juc"; e_fb_vipport="AcLqq4w51sNAPbCEak-6MUhglGeK-joxvS_JEiD34-BSb_YbGwRs7DubPZpB"; e_upip="AcKdjQTxJqCo-CXC-jHXfmwsg2s_g7iIrhimBk92FmdqQWiHJeiGS_87r0fTnZtrLQNY6C_2ddwH6Kh3uMpg4bbTWjhFMH1JmLQ"; e_fb_hostheader="AcJsKQXY_RxE-Xh0HZEUu9NIaSsfuLipGPI3RV99oDBWN_3pvnujek3s3s-EvdnQTgak9llrW5a0G9Wr"; e_fb_vipaddr="AcL0K032CSXyI8LbJeNGgYQy00oAQDXpwFR8dr2_EkzlYlaV-BDAANl9OHPxU9Qj5IuQWTRdOW6CpTTrRKJQ4KBIynfOlpqNuQ"; e_fb_requesthandler="AcLuQGlX59bKFPKY4DtQtVFWS4WvLIWGgTtuqzsBBoN9g_6d2BYHI9eQA5C3DcmrK6RR5wSWBTo"; e_fb_builduser="AcKApeNNuf_4FK9WXEQDK636D8nBelsaau74dBl_UegwitA3FoxSPTy7aJlocf6so8o"; e_fb_binaryversion="AcLZS5trpYMu6CFZ9ZGdbJDjDJSt_VS1nx2dk-0nbFwYn2MX8y3HVkdyUN7nTCi2cw5I22SlAn3X9teogrkBY5tZRhEJ7Sr3h_c"; e_proxy="AcIQgBAzVO5iNGLUdVg5sshktAzcFyIoj2pGKpMToPkV0LwpdYnigPQBcEFSpfepb5oLbDQSQoSNn7d-cjtA", http_request_error; e_clientaddr="AcK-HZ48A58Qpr4W_uCeBS9kfniJvqQjhg4tgy58eU6SBgyNxJLJIpDgpvKoVt5b5PJrIJk6t0Vy7oC3Iw"; e_fb_vipport="AcIVPOF8CirRT2taTq6deuQlNqpq4AiPxWFPs8c_cb9vwX_SQaBZ_V6nYoQV"; e_upip="AcLSB_mJ_RPvMzaODTZj9iBvJTEqaTe1Q2wWPjXe9XVmL54JV5MmazFzFgdMgnOlUpHIBrBEpJUoCGIuUWiY7XeeQLZVbwIB5g"; e_fb_hostheader="AcJ5RQT3QpCteVJ1YQft4BI9wsKuHz7WElgNBQv5pDQm9b8a-d2jUFdBkJqdW2HzFSeImCAAiY1-Ym8_"; e_fb_vipaddr="AcJLeeHsK3V4CllxTkSNssgtHgUfKiZJXRgR-xtVkqrw5EfqQA8cXBr4B2-2JrPdJs2h0A0"; e_fb_requesthandler="AcJ-sglnniMxW_TpOFvANPx5tT8eZPA2Ucs5CDusYH9u8KTZig1yyBKq8Rdn1Dq8FasaQNX7c6A"; e_fb_builduser="AcLXnOu3eHPwwbZwoyGO_Molao3B11SCeYVKtaeejqwiuBQYAYFmCUpWk9lgCVt4YtI"; e_fb_binaryversion="AcK2e-qj9ARNsWcYLQ91P63XVRZsbk_jpvJsS2cpLlREdBJ9Ervf1FbVknMe5WAvOqpWQGJ-G-rtiHiqQFjwwMYLKnGrY-mdbbM"; e_proxy="AcIPGS4e6GVDYXsbJ393o8TOrQN-QtMxWBlbX9qfMPNK7MlwcX8vHQ4K1grK8WQ4LmhOZiJ30ulwpyI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 13:16:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:16:24: Error on send one message facebookId => 7530270883673872 01/31/2024 13:16:24: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A15122BQcEmEJ7qFdEAsAK8" } } 01/31/2024 13:16:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 13:16:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 521476, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtsWCzJg-ElUF-Z9GOZKISO', 'x-fb-trace-id': 'GxKDN0OHVHT', 'x-fb-rev': '1011130673', 'x-fb-debug': 'anPMbvu9u8Wpx7harU2CxRlpcTHOBX5gqYZ9VbiC8cxuXxJEZnOvqb8PckqECwx/pR/sWIk1R0liQxlpY68wvQ==', date: 'Wed, 31 Jan 2024 13:16:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIg8OtJdEWE55HQE4wAn3F19ukLuuuMD-q000SfCJpTnldaDL-rO2diJVgmjY4EM59ECOOkZl0geDR_oYZdOeLOwtaDSSH5Jy_S5Ehbdw-JiOyMkg"; e_fb_vipport="AcJXHWMW_vRBHNGPOYIJQI82llddFMij9a3Qe7diXYz4X-Chs3dzrvPOWYwz"; e_upip="AcLmfaZ7EM4M41U2ZNXIaz9g1-Y4TGdrYAJp5XXNVIG9-4keodeycIx95rss_5uXN9m-gCqtyzHZC5NtvTSREypQxK_YLWJiO24"; e_fb_hostheader="AcLC4KFvNLVGhEoWkDhW2z60i3IJovyj-WJ1RCYFkvsz5R6C_HDlIWl8iwwlR1fWyP1s2U7kblqQlz8C"; e_fb_vipaddr="AcLOCtXbL4njQLEUHwfr4NapagKRkRZi_PFG99wYWuf34S6mNLzVUcNMOdIfyUx4HJNT-qOwzw1W1cmOImbMcS5tkVVosjxxpA"; e_fb_requesthandler="AcL9C50vDfgXwZZpdbeyG_0oNWwxOptWP3DN6Y0x8_X3hrcm_eS_2TCIR7_Pj2ZFGGlKg29a5Fc"; e_fb_builduser="AcIfi8PHOGekFNd03cLG7bqvv-c6mgwS9YXOchWEWfUiNi76HBmJ24NnjWtOy1hmEzQ"; e_fb_binaryversion="AcKsSokKQIEp8xTB5a6LLtoO1BipYTfbkb7hvOsJlumgKeVLUXYVAeec0tQzFu7J8LgM_24gtwoBM_uT1aI1vyXuESMEWcBQw6A"; e_proxy="AcLM9JgFUVClMqpnKVTWDwwWS7f368yplWqCihP-TL3mqG-vmq1zbJRCV3BoAYl63o5bdc95cEEmi2d1aKz9", http_request_error; e_clientaddr="AcKYA8fniOGBdsL8EWqASS1APdqqZBWUymT6VVZyR0iCzWFTI_jFI0_lo-hIwnFsoB4ODzLt8HxugQDNYw"; e_fb_vipport="AcLAqa8eQssF9UMG16X_8OZi14sag89CPFmEXAD4DS8Y17nTTPKRN-9MAVcR"; e_upip="AcKbrD2ZnHYFpVJab5-7bY8jusjUgGb0YpD0jXoy9QpDAVw5vfOzjUEJeWu39hPgZbeYwZOQMjhnglRV7lGoc6tOlnbJdz3MFA"; e_fb_hostheader="AcKTMd3hxJkKpsVfHFI_pgWa-RGGqCyiUGLRURaKAmzev_7f0aMweWswNA27kcYh7yMpmNUouM5gi-rn"; e_fb_vipaddr="AcJMAvBq1xyiRjQfn8Kdu-fT7dAObwOxKGdEfPp30evdBaV9kJ4cF1RzL5huW1fnxTDLfjY"; e_fb_requesthandler="AcLD3LcPWj4qy_dAfjEl7BAJHAN63sEwYPylqsGfnunX0tV_byU8ktWf6SfLpAdrwHvJl2898yY"; e_fb_builduser="AcJeTihFxQspHPH2mo77hOnQ33bhDLJgo7YhrEqhFWDf4JNpVSsNRDrx3YhPS8OJAEw"; e_fb_binaryversion="AcJvwJLxYwWn_9Lzi-a-7ppcwlG4Te4fLF6ogp0xttAAtFUhe1_gzgXIFYX6kObZoXhBxYKJDWLpvWLhuocsMHxPMEwGfNKKT74"; e_proxy="AcJqueYOMZqFu0aTbguZwrYMcvAZ8g9_8EyLFGrEA2Crl_w_gPpkyvesc0C5_wv7mM8TYS3r5jFnGxE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7530270883673872"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 13:16:32: Error on send one message facebookId => 7530270883673872 01/31/2024 13:16:32: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AzdTW1ltgoJVOGLyocz0AH8" } } 01/31/2024 13:16:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:16:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:16:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 13:16:38: Error on send one message facebookId => 7530270883673872 01/31/2024 13:16:38: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AR7wjsIp3CLU-YYdVecp8gP" } } 01/31/2024 13:16:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:16:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:16:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 13:31:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65ba4897d56476556c902cc4 01/31/2024 13:35:06: Error on send one message facebookId => 7530270883673872 01/31/2024 13:35:06: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AF3ytUvhJ7b4_oGz6XHneLU" } } 01/31/2024 13:35:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:35:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:35:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 13:41:00: Error on send one message facebookId => 7530270883673872 01/31/2024 13:41:00: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Af0GPKjXC2v2z-fp0VtSrrj" } } 01/31/2024 13:41:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:41:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:41:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 13:41:06: Error on send one message facebookId => 7530270883673872 01/31/2024 13:41:06: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AMc_FZIlmCDAYMW_-M7WQ5V" } } 01/31/2024 13:41:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:41:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:41:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 13:48:12: Error on send one message facebookId => 7530270883673872 01/31/2024 13:48:12: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AIUT4jQLAzVQ10cI8e6X2mo" } } 01/31/2024 13:48:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:48:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:48:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 13:48:23: Error on send one message facebookId => 7530270883673872 01/31/2024 13:48:23: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A-N27IskG0enpa1kZZjlGP-" } } 01/31/2024 13:48:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:48:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 13:48:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 15:11:45: Error on controller payload Input Treatment=> type not found 01/31/2024 15:11:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 17:06:24: Request bot not found: { id: '263700267026552' } 01/31/2024 17:06:47: Request bot not found: { id: '263700267026552' } 01/31/2024 17:07:00: Request bot not found: { id: '263700267026552' } 01/31/2024 20:29:26: Request bot not found: { id: '565033343594012' } 01/31/2024 20:31:39: Request bot not found: { id: '565033343594012' } 01/31/2024 20:49:39: Request bot not found: { id: '565033343594012' } 01/31/2024 20:50:31: Request bot not found: { id: '565033343594012' } 01/31/2024 21:02:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 21:46:25: Request bot not found: { id: '263700267026552' } 01/31/2024 21:46:46: Request bot not found: { id: '263700267026552' } 01/31/2024 21:47:32: Request bot not found: { id: '263700267026552' } 01/31/2024 21:48:48: Request bot not found: { id: '565033343594012' } 01/31/2024 22:10:12: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24603729549274801?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 626233, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24603729549274801?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24603729549274801?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24603729549274801?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24603729549274801?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'An3gss2QE-vdmhLjAPPOpRY', 'x-fb-trace-id': 'DudpmuEkQ8g', 'x-fb-rev': '1011138938', 'x-fb-debug': 'YctW4gCYT7S+eB5t7DjiyxDy5aKtJ6NRj1K8xtRSM0Y/AA1naZwU4OwiH7/s3J5lcdoaTdYJ7CAmP2VEJfgHVQ==', date: 'Wed, 31 Jan 2024 22:10:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK4KMirjNHy9HuaFaUEip7kWuLIfGQSOeE06irGyeIOmbrp_62ZB2IEpmW_vrMTa0_xl9BpsZFAUHyahRK98Hf_y2Dk2COsgxKF48MJ-hGCFW0XuA"; e_fb_vipport="AcK_EE6ZU8tAWjK02bm9e9C8lZ7jDIDtaHdWHeGR4728gcwvQq1HyySlncbE"; e_upip="AcJqQpb89y4vRGa0cSRkqWX9HhXIAtYaejMaYz0TIbeCiiAZloWti8ugBvyvTkr1o2yHoKNexXlfs7wxyC1uTA3y7g4TX-fSLPw"; e_fb_hostheader="AcKUuSM56UxJTcfo2vR8EPkmQnHbgjgUR61zRmtEPQszdJIW9iJ2SM8Vhjx52F9KXFx4a8HM1BfIIfhM"; e_fb_vipaddr="AcI0xyzigQh4XRjNwpCJ5QPf13zGJzejepz3aO2iHvFO0NwrToFd0EJdBnTtAf0h6xgJNonlICopv_ChSILxywW9Fm29RWgpdA"; e_fb_requesthandler="AcIG_djzjTdXA1kIlhtKg-61bwqiRRYnL-SMm7q-iCEONJY2KDmxqJa2rseWqRQyrZQtUAviExY"; e_fb_builduser="AcKeEYP4wFTFi-UDg7Xu0Sy5toNwej2oWqkZAMovox-YBbJha-XBSwCadbZPB2Pbcbo"; e_fb_binaryversion="AcJrSN2XSoZFS9AZfaMw60YnNC7DWtdo_86DGLf6-Sp1rujjZCzHexSLZl6sqTadzUOB1n_ElM-QYisMTqLuVtIE4AlH7Ftsc0M"; e_proxy="AcIHVNHQTQ7q5XuPahKrIT4TATl_PEgJE383eapjYGwymDxWfmwMILBEGMKTOJ5-8qq5aLZn4TicmuZs7yTm", http_request_error; e_clientaddr="AcLWXsB3j-eUZOQvcYWPJmZm6j2EPmjTbpn8PkIMuOdT4leW0wUtq6zTaGtAqRy90ekLSi9Y1DBTSMZmnA"; e_fb_vipport="AcLxQIU20rDIZheHory_SB8NkisaPh_9SY_f1wyXDl4cdiOfws9vV6zEcftN"; e_upip="AcLRs_3u4BzKq2f99qG_lVhKOSBzrB2fzfp_cCPAYb24pszsFAfYpDVrQt33HVLnGU4G7m4uBlG00YRV0v4Q0d866GWVBiZmOQ"; e_fb_hostheader="AcLcrKWZpWZK8tQSfddRoIeNCQbKK4CEwSwMMKT1m4MsnAlS0ZSea5C-4L0g46eGpOGr5_Ksf7in_PVx"; e_fb_vipaddr="AcIYzBuFmK5VQSppK7JYfKDogX2g3SN__L0JvrTLDdlgTZAcBV_r8NNHY3Pogjd4QYY4Kac"; e_fb_requesthandler="AcICcEcfStOE8Xb10JvBLDfRP2egXdRQjuLDJTtIZ56YQk2UwqS1-sBZWf-UQqRw7ERUaqiRsTk"; e_fb_builduser="AcKRa1Bg3VQ3CzHJzmks9LGmMyDvQVzrFvtdJvDUA--8Z4UTtQ_33ylpAcIWDyflbYY"; e_fb_binaryversion="AcLxUXjOFFPDeOr7NKCCHjbG_fUzE7WFfL9Fja8v8u66fAnx_V4V2ZA0HCZQbfTrAErbupp2Py2jT0rQ-VOwHd47wIlvBOm0Krk"; e_proxy="AcLxOqco1eZhovanWZzt8v-fDvzMC_RSwmvrhNIcZLrRaJKRYz7LPOyfHbPLK4c9coHFkj8ZWql-sNI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24603729549274801?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24603729549274801?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24603729549274801?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 22:10:12: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/31/2024 22:10:12: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 01/31/2024 22:10:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:10:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 626357, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqE6FbGWqeaeeFWyJEq9laX', 'x-fb-trace-id': 'A8nS2WpGQZ+', 'x-fb-rev': '1011138938', 'x-fb-debug': 'lSVfZkH9m/GYtj/tlIDPecvIMhtNTTJZJFoIYawPEvAuYOFkroryX2rIT6atF1Mfx0UQm+zsE1u0aDiqageImw==', date: 'Wed, 31 Jan 2024 22:10:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK3AfDajZxIAfBQAC9VN6YNaCPoj7yx7TFreAbF8e5bRiJiEHzW92Bbr1SDOxxf0K1Kpr4OJnO17Rg6kutxYGAQNUpW_Ye4ZvgIsBfYrkLEWcQi5g"; e_fb_vipport="AcLF_xdsh93wdwxXBIoNEiji-ri1vFx92eVU7J5RJklqknI45L3AavMIwFRA"; e_upip="AcKqZENGSssqjfXpHOPtUTxHVzDnTBMPKyDtShhHaQS-Jscn8TbGHNGZL8CBz3CVZWcJ0xd1B5orMAVsvi79L-FafmH-4LDYnhw"; e_fb_hostheader="AcKSyiKoPcR4LxT7_1OIO02zsUnKYQXihtbHRsGgeBalOVtp6AQhLgD6f4-n69vefUhAYxG_K8CZic7J"; e_fb_vipaddr="AcIBJJJnBdcTCd5h4XWTxOUjCNn3Yw65O_Tb87-RsZOsPcOmge_3_ZzvN3xzaV-Hb_xSpGvwjY5D47Ddb0VBIahyusIvufQqlg"; e_fb_requesthandler="AcI3rPqYZ6TDlkycup4P4gDotHoJFCds5t9rhAgr3Nj0WUoIcESYMSn-7T0gclcaiJcEu9w6pMk"; e_fb_builduser="AcLw2Q3x72gsa-ypZodmT1rJ19ktGVtWuiBtrT65OyK0NUa-vOIC2Y6NQGKCxDDHTuI"; e_fb_binaryversion="AcJlQLl0NZim9Jl5YgA-lxpmFtEsA-rRRNDnGH5fkgJvo1FvFwk-9d68Z3cad_P06nzcBSIlwR5F1TwfLmlGiLhJamlORAGtilU"; e_proxy="AcIfCpMajx-SOmnw0rNDk43RwkwExNbVX7xgwtAZq_oaFLAyCqWg1EEb0Nei8KvNb7BUY2l4Pdo6D1Y-ecQz", http_request_error; e_clientaddr="AcL_NuDck4X9mxPUZ_jDkSB25vtWvV3P-6VnAZRUw3GYln1Ofz-u9k7ouERdC5MQjL9voRfufepyhljBCg"; e_fb_vipport="AcLf5jgQjCvfq7anWwyGnyK610xDOJVZ_qLSyJeRRIRmToY4d6z0Mde47y2l"; e_upip="AcJnUwf3jZq82vyY6DEEczXJrbad69kN68h8dX4qK1wHeofIEU__MnqPTNSIF6QvuwFSDAxIK_HU7UsoSy51_-Zw-Sznj8P0EA"; e_fb_hostheader="AcJBBMCzDxPrrdGE1KFlrseL1ItmbryX1VmOxc6e3vLlpoFpuq-foJh5qbddKawV0NtHfbIrwbdUBgXG"; e_fb_vipaddr="AcJlmMi6cGeTN4c5_lUvpujU_hp87I0f_-yj_B3nyA8-EklukKLikKo9dBboaT_0ehKlPCE"; e_fb_requesthandler="AcJfee1Pi2-2Bw8TzmhelSspWSk5iz7FgRHberBvui4S6CfA1NKL4QVzgR1-YAyJZUROXJBluyA"; e_fb_builduser="AcJTZpqTtr45hg9EilzqgOWNeg6FcmzT2gtT4RhztQDLm_TjRiM3aH5ZCDEP8Nq1MpM"; e_fb_binaryversion="AcK3V0D94ZPdK0SOwscILnuOwKUS761xVzOITEpN5Dux6rzUDuLMsIC1ldac6T7d-rPKgVMDyU77HaCs8pqcQxYUUkfVicjymgY"; e_proxy="AcLGjwTuJjXmVC63NMiiPlD12iPLux0FzQuVTb69QpxzqVGY2jUVtTgyS5_8NOJXf0GtgElTEmBy5n4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 22:10:12: Error on send one message facebookId => 24603729549274801 01/31/2024 22:10:12: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AJJvMETG8tcR0sQPHEt6y5J" } } 01/31/2024 22:10:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 01/31/2024 22:10:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 626430, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHg2-hglU6hBnDT2hdMDLpa', 'x-fb-trace-id': 'GKoh3l9fQ43', 'x-fb-rev': '1011138938', 'x-fb-debug': 'zfWItlhqCh74ZXIHjWBqjxdBZe/EOT4Uw9I/47XgJozWKD8HEUCSXWLJDmfCsNH240J06r19l9lxUqCUbVvN/Q==', date: 'Wed, 31 Jan 2024 22:10:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLfG-kcDQ5x0WVPl5A88Tsy9avPuge2_YJjGadMZEqiIoqNOWXeUJ6vhZSBV8qbLbWBjEoBKcrBgWT0X2ORsjUNLW9ibgcjr9isEnzlJng2HpEL8w"; e_fb_vipport="AcKyBBhHDJZ7oNj9U5luD7HN02h1y4yFla22yGVvL86whzow1pL9ecfHAGnY"; e_upip="AcKNl4XQdZEfIxQ1miczsgTlsEZFsBF2_j9izXt-ersK3cybD0sciGCLRMjg2ZkrsKsU_hOyF_POnDxKJBorQjoX-cJ5xqUenLI"; e_fb_hostheader="AcLxC5SFQqbPmWY5Ktw62iI346BG4MOkGq82FGvARZhyrCIAEo50rKvbUhfcpK9NETdQQ8YOWnvLoX1O"; e_fb_vipaddr="AcJexoVZK8k9H8Q1ETOe3bO6BcNzHvLA-IpsSm2VK6E7yOFr9gBYY6HCJnmRBRU5UearhuK3QuULruGK0Net5z6lXg8GZN4P9w"; e_fb_requesthandler="AcK4U8Hls3CInHSRJ6kpx2dM7PSBMcV0_7EnChpwV_RYx0TKUtz6-g9tNVTht7WEb4H5eOrIDY4"; e_fb_builduser="AcIrazvvOqFpqx3AJnhlxW4Ep5BDbdwdXMPQKI-K1qQjKzdN7X-XIvdTBzXoshWC-Yo"; e_fb_binaryversion="AcJk8-01NbS-zdgZ_yHrc9IyhMiIm1t4vv3d_AboQ4WkgvqOkc7vZDFk1QToT9filXKR7cbmcuqP-JMxx_F9mgHt66PdVCpyTFo"; e_proxy="AcLsgMpYi-pPM_qEtGXwT0aATHAbV7OqbD32fdEGAqqvlYWRkJPC4tpUteTHxDo-HcBUdhEp5Rmn1Za45qs2", http_request_error; e_clientaddr="AcK9_I7RSKkFhmbFOZws02XNZoJ2FxT11fAwMv22uWlBr1WDxZKF1BbmTGlg4aKtBDdzXrBjBo-eOB1s5Q"; e_fb_vipport="AcJmv85N6sHe0g4uEp5ap-tPqFCvbAqHfQ_0PIb3TEWAJrxffGd48tXEqvqi"; e_upip="AcJL9tAUT9lIE-Nzr34P0OBSaHeWQVF1iSJDfg72hVqULqncFrRpzr5flPTZ7FNoCUUfFugm8Q4fM1qGaThk3MjEsM1r_Awckg"; e_fb_hostheader="AcJ9tvOjDkAEchhfNNXZiXf0gZwj5Qb501lgXwxwiC9V_xZt3fEQ1jQquWqI2sNi8V-XpqKMEz564BXY"; e_fb_vipaddr="AcIYT0XRJu0L2A1a3AdwKRpdyXTegabM4_E8Yudqpu_fMtvj0Iyt1ocWZzSzjqHQw1qjdZw"; e_fb_requesthandler="AcLRn2OtZ00i9GS3swAqlgl_0iqxcFdA9oifVCDmBLWMYM_kkUeqHXoUbBXzcWCbDDGLjkzRtbo"; e_fb_builduser="AcJh34EmrYCcXm6HlcLQ9YOFv_tAonPRfoizM4WV0tFHcNOfo-7R0ZzAX0euGcZR7o8"; e_fb_binaryversion="AcKYV7ViNiYUlyQBERn4LyqSQRNnr5OU0Cz9hcoGoFvJjKJO_r6Ps05ErQJOIFqE1i5rf9hol4jd0R3rhMsPAnSDW4A4Sf7D6bs"; e_proxy="AcJuQhWjGdetNjWp4VZ4YiQznzH-GYrGH7t9Q37tBgpod_b6akrpttKBrSWHo6sI6tHbV_knMyRa0KM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 22:10:12: Error on send one message facebookId => 24603729549274801 01/31/2024 22:10:12: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A8_y3FWKu-bOvq9YT0yL6oQ" } } 01/31/2024 22:10:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 22:10:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 626545, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEpLwr6eO1vWk2iKnGFOBiy', 'x-fb-trace-id': 'EGpYfxeJRlW', 'x-fb-rev': '1011138938', 'x-fb-debug': 'rkALttK7o01PezUFLYgB41uZPUdYtT/T/GjP8hgZV/Tq0zoQRuFulemjwmeYtHpsm6T50LIHAZwRwnjkh+21ww==', date: 'Wed, 31 Jan 2024 22:10:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI2g0knvDTZssv3MPcEI9VZZg1pDksYtTEci0rOC0elcXGJEWDtuOPWKcrFnx0uxBwIEe1EIrD3ZndPaJMxdEmImp11bVni3guTSVSb_lKZBgaCXw"; e_fb_vipport="AcLqGDgZOkSxrLoC98rlC9cRKCfw8TQfeN8aYpcGptvX7CB4SP7bXE5AmJjD"; e_upip="AcIDwIpHFXTu7z4s4DJq5Cl_GJtVrq715RV_cGTqYhIe9nNl-xT1gybuZtQ_VCPIEUrm3zKvhcgGzl6Dqakr9e0EWGBIMbbCchc"; e_fb_hostheader="AcJhwmzLbT3Ohshp2eWx-xEbGKVSI6zQ3ajU_v6SehYHAou-Qw-DfrNpAPRsLWbbClglaLQij58Xjzxk"; e_fb_vipaddr="AcK6htJg9qaHrI6xuKmIip4ACFk5JEyXkzMCS5R2L2l8JlFbFt6r5y1po0DVtH4UNeBU_Ji8dY-rPhuZS7VsHKX5OKhOEoG9yA"; e_fb_requesthandler="AcIF1BN2nyeev-xGvqZ-J-X9IbHhSjGpuy3mMq-An4eYK1cjKKZBztMa7F5D-IUD9DtnDKJCgAo"; e_fb_builduser="AcK3zGaFg08Z59_AwahVWbJ4KMTX5yN_uIWK5VPPkEhosSHa3wNwudryyTOPUIVdV7w"; e_fb_binaryversion="AcIBt81J1yUbDGMKz2-qo6aoV_fkvHOWvn_QvnRLbUBkiCcTQ7VU54xII4lmfL5RmMODTlMx9j5dAFhRNECi9jUbXhYlRLrjoS4"; e_proxy="AcJkr2qGi1D2rQR83OCufrvOsOAA4bfKfYZ6cI-p_5ZivQ7Jgx1b-mh-2NNMyWQmw9RgoQXuche8KPoZxzS0", http_request_error; e_clientaddr="AcLxcPLcXY23eqBHQ1h7ehplaCv1-rNHUs6sGiA5e8CXr_4cXgG8PUZItBj-sC1UkLeNJX2-OtBZQx9cxg"; e_fb_vipport="AcI_OGDw6AK894BHv1TTEbSgiAZpXZ5zXekAaVm0STyr4sEKrpOZKMAqSRl3"; e_upip="AcLKh6nIrMRe8crtVjxOVQReEL8xaPy_Z21DXZ6zp98GbPkB42EmWmQIoiZWgDiW4oDTh2D1SpawYWT6bqSyBDGgIp0jkofVLA"; e_fb_hostheader="AcLv7dQXC8UtfCG0cmZcY6ZKVUs5JBg42FvxUakHd2KvoOcNNP9ajTIwTqCbGVf667Cj9FRlFNvHIWOz"; e_fb_vipaddr="AcIVeZjYRtyuKQ7shUbo5GKLOlCPuUOzAm6mfcyHvpkJseNLTGkx9Bn0DS4CjCWF15Nx4nc"; e_fb_requesthandler="AcL_sts61zYjbbjkFuihEfH6fdiDhDha5iM6Et_RAQLGryfZUsY7kavWDbhkqPuZUW-RD9GH1bc"; e_fb_builduser="AcIorkU68XVycqU0gc6iZ_CXEmG-xEySVZVJGW_HFCoOkBcOm17BletcmogIgBuIDy4"; e_fb_binaryversion="AcIaO3ABxTgWaq2ZI6Fut4qRwy6UZS2Bsua8t3N5DGFJ3riTaFtYIW_6msbr4_V5aTx8Gq6z4r_G-OVxFHY1JfB7JwxfQIbrOF8"; e_proxy="AcLPnU6HOQHzzRkeGC8XY1UceduYvv4uMeX3I1aNTAeauKWdSf4cTMWZjazfVeBEe05FamjZPhDNZmY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 01/31/2024 22:10:21: Error on send one message facebookId => 24603729549274801 01/31/2024 22:10:21: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AojQCK9-tmFL2xUXSFxgtD-" } } 01/31/2024 22:10:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:10:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:10:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 22:10:37: Error on send one message facebookId => 24603729549274801 01/31/2024 22:10:37: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AhTZsaQ7yg4TGU9Z4vHQI4u" } } 01/31/2024 22:10:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:10:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:10:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 22:21:02: Error on send one message facebookId => 24603729549274801 01/31/2024 22:21:02: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AtqHKbAAe1DjPsCz3T_y_vM" } } 01/31/2024 22:21:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:21:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:21:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 01/31/2024 22:21:09: Error on send one message facebookId => 24603729549274801 01/31/2024 22:21:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A4eCiUXvd5mv3VxY-63hFTS" } } 01/31/2024 22:21:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:21:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 01/31/2024 22:21:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 00:01:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 00:01:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 646259, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYIj4o2AMPUsBqtHm1DObIv', 'x-fb-trace-id': 'FV3FwzhkJfo', 'x-fb-rev': '1011141358', 'x-fb-debug': 'bF+iqVoXIGnMR15d/1XN6Zm9sQnWLOWSeCaEYdJZp4ffjIkntIAHCeDQwPY+PKndEMckAiFOE+BFS+wxbypGPQ==', date: 'Thu, 01 Feb 2024 00:01:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLc29wL9cAiTxD39z6mNLcv0hqg2lwIW0udwHYe4AfX5-NjIJX9Fyg8ZgGgMPyEgMjuhYSHJr--cE9irf6afkjvXck1Bp-_IQB7A1e2MHQVGJ7LZQ"; e_fb_vipport="AcLt9fba6NtfGJoB-G8bWgzHbjgEkQBnqirAoOQhJxzjf75pEAinjjcPUbKf"; e_upip="AcKxHDKZzdjjDT647mTg6A7VbWTR4RcoJY9zxf7jDJKvM0b3jrnqeQ5rrpGdABNBEOl0oWaz9ELQlJq9xWjo_xEz4bvn49Mpvw"; e_fb_hostheader="AcKrT7uEASz6alZVAZ2CMcaaI433O8bDkqj-OjnNgF9mQbekdkr53J3_Eo4xz4GvqWiP-uzinbLoGm5u"; e_fb_vipaddr="AcKlWpXwSSotzTaBSHmcKDT8XNIf3Q1kqW5zt3gAFAQJ1yNdqPL1jk7-JPhXD5HoLNqD0j38NwQcFVJRU7xo6I2JZbQCLFsgFA"; e_fb_requesthandler="AcK1MFDdTpLlBW_wqNyuIzsFJU-D5_Lm_2rHTvxp7SKfUaDK0MzpLDR3vlYCtKFotXQAyN7f0OI"; e_fb_builduser="AcJY6bke4uvQsUFpQUf98OHDQ5kbqHL0RGtUNzoQ-7LSaBK8lPiMJ65bVs56RO7kS-8"; e_fb_binaryversion="AcKLDCM2sTVEYPHQkualMR_aho3P_MjEQ5xhcBXytckF3QHFvvh0he8b5ylOfZR0Ji_gRxkmyGvREORbvzv9s2pwk3yfzQ5mBPE"; e_proxy="AcL9omoyaADSlLMl7ZPK-g_v-cqMiRmaMAcciRMI3mVK6XaPju2DLu9iaX0xHIKM-Rj34DdpZUFUaB3pC0o", http_request_error; e_clientaddr="AcKjeg-D7TO4GAwblXswQ_hBBTGxP9yAi1qSaffacbScLtumfooINxCUUe54Iba4TQjTV3jFPqfGqVowlA"; e_fb_vipport="AcJCWGdD0cwkRMk9dkHEssAhEK89-17vkWBpReldDMVBuaclZ-oMlX_-vHo-"; e_upip="AcLpZ-MIG1bH3LBMQvnqy1F6jHTjC1YCs4qCtciLZbzMH1gXX8ch6VLc7TlVGpsd1f98bTBuTXHaBRd6uRA73ukrn2gf0egfJQ"; e_fb_hostheader="AcKUAYpBQfnepCExDJTRGtfhoZfQGanElVw1XKjtOR1Ay7neTyJYHBr548TgKujizXKrS-LkfTuffN0Q"; e_fb_vipaddr="AcLXESZoGD2jmUK1H0jlDIntZE2UUiQcCVbqWMCcTRCHHqRVlc_oOr8nwn28kZzZ7-unSYjdTQ"; e_fb_requesthandler="AcLuhPpDp8YTe2k4BGZrFmR4Ptw4NxKWA-KCR_nGYzT5CTvzzAOu6V6D7zQJRId8RbIRdUNRHLk"; e_fb_builduser="AcK3RK2rU0uC-vK4KH0wu5zr2tRSqQywpAMzPwdZOPc9CH3zX-QQ30JXct2WvSCn188"; e_fb_binaryversion="AcJxA7swmfoMq4uwrTooj3JiKPrId7Ot6ebfYSfThG9qi4RVE_MK7EZpVfX-U8Wr3cUyEy1iO__QcisI1OGyp0APowbvwK8J11U"; e_proxy="AcK6vsRs5naUjJAhb6m6l_9hPhij7b15dJ0KkYB-B5g6yCthlRj-c0bsrydFbqhHATwlS3smZMVqa_3p"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 00:01:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 00:01:46: Error on send one message facebookId => 24603729549274801 02/01/2024 00:01:46: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ARZG2KSwxwvsvv8UECKOMlt" } } 02/01/2024 00:01:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 00:01:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 646400, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aj2ASs4aQ6qUPQ6ZH0uOrGO', 'x-fb-trace-id': 'Aea5t1LdmCU', 'x-fb-rev': '1011141358', 'x-fb-debug': 'e6G93dF4qlkHljghrpaE8j9unBUXkfWP1tVbREgmW7Dk7f5opv2rg71LdU0S1OCLq9uF6vxE7ObC7bzoj5HF9A==', date: 'Thu, 01 Feb 2024 00:01:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIeEjf0V9jXGlDiMlFEND_q925P3Mqvq9jKPukoqs7qCXhx89wsOai4oyPOpy5THfcoGS2fTf9sQooOsipKhM98CEzR_D-29Hwd8mwiMO0qdyiz"; e_fb_vipport="AcKLhQS2RRsuB8sgSlxTZs4DKddk6wC92QEWm-5oVFz9zIQb_8rBYV0w-bgr"; e_upip="AcJvnG_19dJ5lV0r6QAs3uv_jK_bk7NbSqqn9h_vxMuWWokir_YTWo8eoIwy6rrO8ZdfTMWa-lwLNom3bMbxvn3b5UNThy0qh0U"; e_fb_hostheader="AcKlg7uFBujbPBJHkkq2c_spgHsCBCIm5U2lpLVGZm1ncFStYRgEd_3XI9UyRIU2C-fQoC6a8k6V33E3"; e_fb_vipaddr="AcIqEuDMcZxqYEXH9Jh-p4T56vy26XIEPTmsNqv9bh-3Zvaa9-URTGKp4NDAOD2I7vgJt2KAnb8G4i0bGKPKhenXmabrAAN2gA"; e_fb_requesthandler="AcLXk4duEvRTQDeUVitUiuHJ1VCrJnOE_CLXO7O6pIJxSrJ6oKoeU0NqXjhC9WXy5xgn0XLiK74"; e_fb_builduser="AcKPjtjq9yuV6qrUDxdKjK-fGmAtgxP90JOj9oX3JXQKe28BzeDE4aOk_cL-2N7PJd8"; e_fb_binaryversion="AcJf2hBWEeffVMx7Im5sdRzBo6DBmzxPtOU_eXd-B85lFIio-V0c9bgXaIq5nzkS28SL5xo5ml3fMhNf5_KMPp4euMiOYph0a8w"; e_proxy="AcJUD8sRPyzVFTL9oLlZrQRXIlmfvssxYqnIr3cl5XcJaiFARjIX9awD8U4TEsB013EPHrBDESxU0sXPD0wW", http_request_error; e_clientaddr="AcKosLpVQHGEj-otTaHXE1RornF-fGTbWjTOOfB0dx6hl01iRuHkeLCFi7HxE_mOelPvC2KM5DLBuPonEg"; e_fb_vipport="AcJt3CvhfmnAUAV-YY6YUBAHvNpHQVlQQ20l6QDSqB54QIprZ3oh9fG0PE2W"; e_upip="AcKIEYUb0vkfbSdJuLBDwndyCOj2OGtoje8_gKkF4z737LD2MCX1LEE3KuCH2KrB2hYTvegbMTBFvl2jvXlYEMp9JS8c_1uiVg"; e_fb_hostheader="AcIVfmsYiYJ_cOdNknsd1ExiJGcFF6HzkJKK7jV79-7JC36vES7Q1bXnOocSQlk1_TKihtoQEk4tJ9Cm"; e_fb_vipaddr="AcJdcViwCplVUWTdu_u4lpW3Y9rhdXgOgyKRSVWDNC7Sx-ixfeAw9yvqMTGJrSuexl65R_KX6w"; e_fb_requesthandler="AcKS56WxPsU3BDLm3uJNEGOQdq0aUiadDfSe3KJP89rWy-3c8xH0o3EZofBTX7UwHAZzGmG_ZaE"; e_fb_builduser="AcKKN80_c5KETsCt8MinMFy4l8J3qGd2TOVqDBaG7-Tl4aLYEzzb3gIY1Kd63FLBtD4"; e_fb_binaryversion="AcL1LJzF8w8dMCKtoyb2sp6Nc4x4LdyDP9fihAiL8DcAKVu18jrR32g7ImRY_gQqYQXAgdHKSEtl-v8ytADEJTKZFW8DnhV7WDc"; e_proxy="AcJyWY7otf0DN4sgiD1a9fEMP4pMC-O3l5CWD1ex07LG5TL2n0xftIwLlYzS7rI1C0B_0QxQsY13kHg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24603729549274801"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 13:00:09: Error on send one message facebookId => 24603729549274801 02/01/2024 13:00:09: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AItIBXk-ZDZ0fXbK7pHjDzU" } } 02/01/2024 13:00:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 13:00:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 13:00:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 13:03:40: Error on send one message facebookId => 24603729549274801 02/01/2024 13:03:40: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ACP3uQpC3YA4n0bNjehCPzJ" } } 02/01/2024 13:03:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 13:03:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 13:03:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 15:35:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 15:36:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 15:36:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 15:36:36: Error on FAQ function selectQuestion => TypeError: Cannot read properties of undefined (reading 'split') at /home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:68:29 at Object.module.exports.asyncForEach (/home/ubuntu/api-facebook/utils/Utils.js:16:11) at selectQuestion (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:63:19) at receiveFaq (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:26:30) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:102:27) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 15:36:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 15:36:54: Request bot not found: { id: '565033343594012' } 02/01/2024 15:40:43: Request bot not found: { id: '565033343594012' } 02/01/2024 15:40:49: Request bot not found: { id: '565033343594012' } 02/01/2024 15:52:23: Request bot not found: { id: '133788230054854' } 02/01/2024 17:03:19: Error on send one message facebookId => 7009818612424815 02/01/2024 17:03:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A10jMCYEZEvqvxY6ytdRRTC" } } 02/01/2024 17:03:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 17:05:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/01/2024 17:06:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/01/2024 17:07:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 828768, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJgncGpFgZpNLsw1DSREf33', 'x-fb-trace-id': 'DMcEHlTk74P', 'x-fb-rev': '1011159245', 'x-fb-debug': 'ZkhEFNCsqma/OFGe459oFqtiOKMQa6vV7Vofhnik9BHkogxCXSITLVVELShjA79iBj2/cp7Z7NUMEl9vo45vfw==', date: 'Thu, 01 Feb 2024 17:08:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcIYBEm_r7AjqdAPfuvpzLlspfQZukmlSDhjucTLWM8XmZ8HWdcdwMnRszrcKMC1GCLeTlQ1QFHSVRqE31RYMle0jIWnVBWGJ2wfwvqsxXoxrkjQlQ"; e_fb_vipport="AcIkEu7GdgY2JpQESAQu3BNMN_9MiR1klfKXEQoqR0WN0oPVADuQXiqtTRyY"; e_upip="AcIGXZUnBhwBmtKcIQyKsOyvJjKIJq60HJJo5b0ACfh1qSTUDXSxLqofFUsJYjBGB1ZsmM0QGawdKDMMON8qqZ84210VieeHLho"; e_fb_hostheader="AcJhfpXQghimE_ldmorZPZcF1NiAqcu1cNOf1HuPB9DXPMp-dq9qcxtzVEgH3VdM0NsosC3UCgvN6gPa"; e_fb_vipaddr="AcIAC9Mb-X0ZOp-gplS3yIwlmfkNhXXDSlQgAuK2TLCdRu_YB75WnlXLRAmll1nhMVvdYYA2QKyn5fQRVGDIlQduKJQoQwKsdg"; e_fb_requesthandler="AcLk00Y2bE0ZrDytOPGaAt62Jec-gx5GT7HIvXYhJxs_IS7cNPAIOLhJ_1Qfunxzt16ub74hedQ"; e_fb_builduser="AcJDk2aC2EiohuYyz1gsXAK3XWwdQ_qjb-x8ryYZrA6fS24sdFAMu7fEww3t0npkLG0"; e_fb_binaryversion="AcLmWBMcd3hhLNXC_x3wzpYwytg7XYBZ-tpZxs0PRx-xqAwVAguWApiMNzQPStBrPDBBvPkH_GBXXy7vDq5nG7QNW1prdlgr8xU"; e_proxy="AcKB5fsmuIBlK9SxUYTb7cm_AerjRTbncNKEJLD6Eg2hIrH0q0BcM5IRdZfFZHoIiB4obnPOda0fXWIYmHTx", http_request_error; e_clientaddr="AcIiFjVzR8NgPQ0WtMQHRnnWASKtH7zXyYdmPMV5tg6_QDvC-L8KUtu7f9MecnFXSJZbE7ThSFup8NUQPg"; e_fb_vipport="AcIbS2itAV-ZgRDMW0KxDbpBgJn0jw42l15t98YkaFpWuK9jqT5qd4TugPFq"; e_upip="AcKYbKsspe2BnQdbpF6lYVnTWjOzJ-K0ms47paPJW58__2gpi9ew7glwLWO4hfwwGoUMyJZAHtKxMCIIiy6b6zZBQ7nnJPYb8Q"; e_fb_hostheader="AcJU1PmEj7Sy8y0-e_uqCtDkJwHSPN-duITXLawfX8CHvFzqU09Wei7vLkMlQSswi6757HuItTNZ4VUz"; e_fb_vipaddr="AcIXuxry-jUq-ldZfcE_BVKQVfdT0tlcwScCdEvijMxV9tqlghfTm2LpuVk6hvTJM3f3Qw4"; e_fb_requesthandler="AcJcK-uTuzO-WetSIkhYQeodWtKQ-blgBC7Et01jM11mIlugrX7V9QH80saWRceLdFCugjV4pAM"; e_fb_builduser="AcJFX7OWguTMiA5VK8MfjehRiJ4WUOLlmltSDWr9bJmu1jrXpMBuUYiSUE6rvBlpsWw"; e_fb_binaryversion="AcKF4eRrcBw6XRC_O8z1xUfreOsKIEC6XKuNMcUhYPpS4GGWpsQ64nXO4ETVaK-6HkPTSL1XdSUWp5SUDzAOst5O14X6pzuBTZE"; e_proxy="AcKQGur4A4-6y_X8Jn-YFVciiVuJWUFUV0aCaxd5lBEiMXFnfVqP_CiN9vJjz45IgCPAGSIcQx_sf3c"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 17:07:58: Error on send one message facebookId => 7137181206401870 02/01/2024 17:07:58: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "AeDvCgjsrB0VWsLL2nNM56i" } } 02/01/2024 17:07:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 828883, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AI1SQa531BQEAOVU4QhwBK7', 'x-fb-trace-id': 'Ecg+4Dr6t5j', 'x-fb-rev': '1011159245', 'x-fb-debug': 'HDw0aJwZDcpD047+USYR11ZRC2yA9yWKYzwWafWcEBR7vf2SAR5WZNT8MLIoNHBi5m7eswH4MK0EMgR41oqUrA==', date: 'Thu, 01 Feb 2024 17:08:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcKr-oKl8u-EfeXNuTMaUcpgqmDrCXmZQAjDYPO7LspjJolCUHZ5u6Y-4sXgRf3Td6kKCqSDURPaIsYrMiIR_CYNKCmlPpEDzBGgqkSJBn15kBbE"; e_fb_vipport="AcIxgXMwyqZHKGfde1hu-DC68zaj3ydBF_h6k6YMQTMfL4afPyTv8VTGh-ft"; e_upip="AcLyYaQglnqZs3EaRSx8jHvBwRVzUox-642N2kXYbY09JyXKvOduBrVX48ktStpraKXSqaCZw_ovS6Dproz-4uQEqAa4tOhjMks"; e_fb_hostheader="AcKje6FrQgrDFeGqGl98JbESdvSWE2oeiFs_x4CkDdbxuzWjCx03tJsLKcHdm29kwNpSsCgYaHKGSysn"; e_fb_vipaddr="AcIMlmuAuhKgDG4-1rlJiyVJs7Jan8rkwEBwXUdVwHj0z2l5J8QIfjsFeKHuaBNdVlF4_R25l7alHVlcE1bdmRFCAqerGFnx7Q"; e_fb_requesthandler="AcJGuqSkau5rasLkohJB3_gPVoGE9N08HW-CLQbfdplKju0g60tpN7Wj1m7WJpnClHbo2nrhIb0"; e_fb_builduser="AcIcZ-UUHxVttGh-w29Cb9aYbUbQjQ6NQ6ucBdVtjk2Zsq90GTEf7NPLQ2jZKSya4p8"; e_fb_binaryversion="AcJrL2AqZDlRyiKE3Ac9rA9IzSIhH-ycNZVfebh3OFvoee5vaE7DWDpvRedGNNH6BGpW6B_qobgmQtZeD-AqVempAGnp6uoJ194"; e_proxy="AcL47Zen16AvT2SrcC6f8VOO68WrvvCuQ7FOEeUOhV0sh0QVmZE00_xT2-yNgWoexgrZwWIBlVLgWuAiBNSg", http_request_error; e_clientaddr="AcLBkKnuuQCGdetI2W25ji8o4hwP6SKNAdQwZRuzy0z8KMpg_yW5kaybIcQSGEfn7Wnh-QCemK6o5nHIug"; e_fb_vipport="AcL70OWmNXCPOfG1vD3noSVQpp7oTIBk4SFfAPg9O1Zt4qp7DLO0efHCmD2K"; e_upip="AcJsTCSX1jNQkVRntqCE8jGRtjbz9lEZmFmm7EZXU38474avqgkfFQtFFOaMkr5COv-2Pr56kxov2m67Mf1rXgRKdSqUknyRTQ"; e_fb_hostheader="AcJb_RsXDq-dincAYY7SDkZpaIBqbr_N-AHKITjqXHuIVQyALdjty6kCLYLTdqDEJzLtnloWwTvK0CoE"; e_fb_vipaddr="AcL5LLmA4Dow9nxB1qZikyqmAaVXrDCR373wdIklGaU-HPVwxlPhF8Fcm9grQZ7IIuHxjRU"; e_fb_requesthandler="AcIS5PV9D8GYy7zTGp9vCYQf27eHh_Gv1NRCdo79VzN_7L0-9db3ioD2YoGy0ccaoIuWDT_OB3k"; e_fb_builduser="AcLOM4YlkL_DgDB4Byq8Ns0VRnjx8zoV7EFqQz7kY65OJb9mYg0NvsKuMQTAzqShZh4"; e_fb_binaryversion="AcI0U5PPaAjktbJlA3YZ9HJQzRzvnqKSwvLyx6go1uABsXMwIe87sm4xJFfUM88Qz3lSO2P2oyCbouLn_uqVdfAU8KUZ2qMxaK8"; e_proxy="AcIWjSdSNa-RCwMc_5vRjGsSJGmwul7MJHwSeQAhy-sd4oNkImyYv4LNLAYH3z3Yas_C0My40zwPyY0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 17:08:00: Error on send one message facebookId => 7137181206401870 02/01/2024 17:08:00: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "ATYkqh_kmdfZ0sJUzoPETUf" } } 02/01/2024 17:08:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 829009, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'At-XLMqqUBuPq7bhdB9nTnu', 'x-fb-trace-id': 'BlvhF/AX1Oy', 'x-fb-rev': '1011159245', 'x-fb-debug': 'u0DT7tvmf9tMgfshgN4OT6PSzlpXI3xdLuaIseU4I5srX24mWDHB1QXFEX4I89Oag2CpYjyFz0u7HzI0XyC6KQ==', date: 'Thu, 01 Feb 2024 17:08:02 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcJMhHbQ2F0oe8dbsE7PuP5Jn4xGWKDRJtyZ-YU_vDJQIFHHqQ39S01aJfm-qGKzLruemQn1txGrLTqRRqZ8IY_W9gqfO0XMk0Qoi0YI2Uy2eLqrgw"; e_fb_vipport="AcKMyd6el9PfMf1vZCP7yUOyiQukMoLff2BiyBHLrvI3lE5OrkcD2dtrTkPH"; e_upip="AcLalLUGPK0k4kSkDXDHVtQshANn5ByAKWlVgjfjqN1wYQolJeQ0cCBvChfRjmhge78TWOhfBCHZxQxapuA_IAVOKnICP7adnA"; e_fb_hostheader="AcKo6GFBB902ln6mj2K73N9zFpKiEWNfL0qrIUhgnPX3o7luILgtxvl8ZsiICSDxzsz5eiTeqDpm3nGz"; e_fb_vipaddr="AcLBNdyzlIDlVSdqI0yFcRfejqd_vmxYkMCQIOJegLZCNvwZIhbOoMb_4DMBqJHJyETZsQ7HBjYKS2NXufU2Jmfgwkj2VZSsYw"; e_fb_requesthandler="AcKhkSZkjHjRXmQNpKwtSu5cHQF7LmLoNnukWaqjCdCcbh_2VUrt6htl73IZAs5D79ek2EL1CJ8"; e_fb_builduser="AcJLcAMe3SlaBPyccssluh7joYMZ78cTCproaL5bO_7aN2MXpR2NsZAInZg6RfXuQKE"; e_fb_binaryversion="AcJP4UpUpjAPS3PGpfyS83TyB2A4Ct9IeBS8GvI0qTLe4IkqrsInhcHDBa9bMXj-e3y2UwdzKV-TttS2MQTi-jn-OaK_3fHJURM"; e_proxy="AcKkfY59RIuWqjQICBUmj1Yveq-lf3emnLem9GCSglZzfJ0sPseJN-2ArtZR-0vQG2Eafuk5F-pYP2rusu1e", http_request_error; e_clientaddr="AcJC_13T5WvjeqBY3m7VCLR-ryH_UqIjbNAYPeEL26YIuLFK6wgIsW3o9DVafFiDRLfJY1CBjuF0xL9iQQ"; e_fb_vipport="AcIlLap6puIsZYN_7mbbwxT-MXnq7HlDgMHSVoB-LqC6X57Klgp2PI-sXHUS"; e_upip="AcJFs9szCfiwRNJjjzV4WBROJTQpP5kqBZx89qp2FLUIBMsZDfPuSCNaFyihykryX04uq1b09TXH2JezKg8HlcHU9n36bh2Nkw"; e_fb_hostheader="AcK8m0njkqUBMRNBDvvlxD2kbKRDi12RHdBi8wG3mJAp6OnjebJCnZJoJgn6QcfmI-3vrEOp9IqBI5ri"; e_fb_vipaddr="AcJnWpFc3W4LCZxvLOBU3R9wVKjDtxgLhVt7Pk7UpDBka-grF32oquFdaxS_NvA92ugskjo"; e_fb_requesthandler="AcKm1yq-pujmRBxEta1x_snL--6wko_bB7Xw_u7tHSQVZAwtYSHtcY0iL2LpJxcThxoQuQZjWTw"; e_fb_builduser="AcJftFRrHxgFFuSbhwfJDnC8PNFRM-w-xbYNrXN7sFdubj2eGMyyKtwPWmSVmVygW6E"; e_fb_binaryversion="AcL0l9cV2k3IzaJFFQEIOB6MPyCAvS7STK29jQCVKiYtx5ZleRuwDFpKUrgj1BiuX1R9YFmZhRXac7n2I_GdUCkK_FZzH5vncY0"; e_proxy="AcJmFzzcvwJ6PxzHvfhhkmnFB6FDcDpUo86gh2kg6bAnB2ENPVL2Tsa514lFQ315qNi2cAujm-NDvSo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 17:40:02: Request bot not found: { id: '565033343594012' } 02/01/2024 18:02:38: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 02/01/2024 18:02:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 18:02:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 18:02:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6682254321835229"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 838380, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIV878hI3r8aLGacDIr8Sd7', 'x-fb-trace-id': 'CoYMwPllMtB', 'x-fb-rev': '1011161886', 'x-fb-debug': 'q4x/y+zhDHZh+7JLl7bMAD1Nx/JTnjeI5+UNr4Dg7jT2wpqeHUg+ZzK+aJTet6dOE+CSj114XibhdsetybUecA==', date: 'Thu, 01 Feb 2024 18:02:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJPZx_AybNuBPYOSYSGm9cBwkCWuHbuTsCPTzq9BisTayJXc71CkQ5x6YgwyIsW9l2OdHCV9zghifDHD0LY4zFwjxpgxoCTgZ3rEkwchNBJu_R5"; e_fb_vipport="AcI1SiODAYX6QcR4k3WXhKTrMLQHm2up9UT5FOVs8qOdhcuuzCy4xmL0gT0b"; e_upip="AcLPzRWmKSN2pwRO6FUPWibLloaGVrSKOxIRVZ9_MiEzUCbI7eyeYsXGWD4_23KAOmIxiaiQxsQ7PRn46GVM-a0PC1kI3E1apYg"; e_fb_hostheader="AcK_3VVD9ZKLy0_Am9CH7bhFDfjdYNlAq-Ahv8ajxGM5X8DU5ZcoWLUXzkSuxDVZDRZEc8CjJS7HUxvC"; e_fb_vipaddr="AcLeUdtQr4qLbQGeKgM09xf1FgyuGBqOQ3B9bxrpvfstum1xWMBrfIpuX5JW_Fz4WoS0SBGAegYM4N7gpc9BPzBkQg-wF0vyeQ"; e_fb_requesthandler="AcIvn2XD_oaQxN4iAMYVylrP2pJ9Y5Bq84QtoiM0ULTaLHY4ZwqhbH_ejKHafTga23onNQS2T6M"; e_fb_builduser="AcJuOBUWzzN70Nar7W0art9KzeqP6Y97DJtwD8DU68BmU2_Tx0OYNHD_0IDc_5CVgYU"; e_fb_binaryversion="AcLQejRdya0H3XhwJV9F9gGdRUd-aZLTysGeTsEte0yh1oYK7RV3s3Ed_9gllqwb_Y4vIvtK-oGZ9nm7vj0BoePyV5nUU3igPAE"; e_proxy="AcLX8yniamnH25he0qo98BVc38z5oUTRw-E5bz013n0G8B_RhBaXKqJY2mLJ01lAkVG9MNbGulJnpf3bajUR", http_request_error; e_clientaddr="AcJmUngJiHlD1we_VS7Xye1kzkITdcscgLHx8H8y-B8r9KwBwE6kE2DyICnRmkUtTC_BgZBMEQFFm6GQgg"; e_fb_vipport="AcKIPVy8a9KkaLUQqTIaXMMwpPH7pwjzhJhbJDjqVk-b8AB4BRF1yakgr4WR"; e_upip="AcIARnE9vtlUSLLg6w0xu-_U6ovfXF0gw2Bh7xCISSpnsfuexlO8CNlv9KJVRFjJOHVAUYNx2wMXsLEEoC8mDpB2_ruR4TGb8g"; e_fb_hostheader="AcIJC8F262IRXyigro2VqpggPKIwp9MSd7CFjXV8m8uOIXluPLKhtLy3Q3dIK_5KyzIfjZ5q8AldNlwy"; e_fb_vipaddr="AcKRjbmcQxEj5Gmr0GVSv6OmOBstMV4ZOAGlsLcO8zjigykUVQs_g7LAgzO7Mpt05rCOx7g"; e_fb_requesthandler="AcI9o6RFdtyjF4RKJsb-5z1Rj5i2jRHRbCcmy17qAzoY6Z0KA04N8grapu6uOo0Mdqd-goD9AYU"; e_fb_builduser="AcIutvoagH8hupREtSoNcxTzMIlcpGAEH0XJCLdYk97xxt7YZETwJKXzGTfdjBpwS64"; e_fb_binaryversion="AcJnmeifjGJMYTy-VVyxZHX6f6-qFh_u97SlslEnQcwzMC77o3CX0WKHBedkxDI9RSc89_61Vu06HTwu-5nPJ9v21ZN3dj61Lco"; e_proxy="AcKMRAEmjJU5FMVP4upiWfzaySjwbzwdIQFT1WUlBS3DyjbEudXwRVt5ULhdR2yn0VN3tk4-QoV9b4lA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6682254321835229"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:02:38: Error on send one message facebookId => 6682254321835229 02/01/2024 18:02:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AHm2dElUTSaHA9E1wIVOqbD" } } 02/01/2024 18:02:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/01/2024 18:02:40: Error on send one message facebookId => 6682254321835229 02/01/2024 18:02:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADKzM3Cvmp_kzmYmDTQkYCB" } } 02/01/2024 18:02:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 18:02:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6682254321835229"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 838544, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AADtE-_yMjC1wm-gCvjNLD5', 'x-fb-trace-id': 'HthwIEPNgg2', 'x-fb-rev': '1011161886', 'x-fb-debug': 'SUrU/XLUauuhX7WegsIIc+/jUkNWYLoxUEDBvRTgx2QRSsQnYE1hMBjHHq48pog1uFwMd8XCb0VXR5zlbEBDyQ==', date: 'Thu, 01 Feb 2024 18:02:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKjbVlADZ4cv6vhy2nN4NukM84PpahhKRM2tc5xRwCYYrGHvfD9iOVYHAPxn31s9QMuj7i-5jbe0cF2lqL9HYjab5JuimDG3Bux0xWRhpMOFBkIhg"; e_fb_vipport="AcI471tuVXdCqgpC0bSFp7ZCa8amYsN_cXZbQf8D-i9V4YzDQEHOVxs8SYYk"; e_upip="AcJB93uAO1gchZdMlGUH3PsXKCnmqLA2Ql6jCQDduZ94NGUhEbORqfbn0JeDopg1b9RzHKatpERPx0FZgpyhpSVx7z-vw-BXTSo"; e_fb_hostheader="AcIo9EDpQUadPgB-clLLiLU7L82jtjZO-vqmvR2mQSriC6J9i6ma5zvqtsUT-1fg8cLYBy707PQIHSNN"; e_fb_vipaddr="AcJ8bjXGTPHCpwtBB09R_cEeATukfs30_Mr_8-UJXRgEHhJTywtxPhggPXC11SqTf-s86Jl7n_qvg0E9GnLc_y0g8THq5qlx0Q"; e_fb_requesthandler="AcLk1Bkt4B97L946e8ZqLY9ggGgXzp-tm33RkWNxT3zuUM-u7BO9hOrD4sf9JtS3TYSWKsfPr98"; e_fb_builduser="AcIqNx4B0s5AHDhbKhq7OAJqS5Q-gq4XuzMNMbaDncaINPeaVV5ocRSfTywIgraGb4c"; e_fb_binaryversion="AcI3JjudlNpsn0lE91OUttITB4xHHbuegs9j_V1j1f9yHnQi1FWpSz6DhhBELzSX6yJhtSu1ADf7UwqBFDwH1h6KZyL8TvpnRhY"; e_proxy="AcLNWFx5MVe63nd6p0ez2vj518v-QEbdv9KkBrHXYJtyk0egGsLSSDj4a9GRZ9_wAOmbQO91KPK1h9OHsx1d", http_request_error; e_clientaddr="AcJxzXUONTKlRz_Eh41Pq_Ng8mx7YD-N4eGgUv5YR5-_P7onvdQwUsySQAuEpmy3dm4H95WpIQJ2evDxkw"; e_fb_vipport="AcKHsDjHYuEoJypgptiD_tyNozdIahBslnSubdoBlvAQSDI039itdS6sYmyp"; e_upip="AcJiSwPlhDhVtad4bTpPYNGmbWOaaId5AOoHoag1hS2x5byHSmPtYEvA61P2auIqT2VoPfC5j5jB0gpjXrzMY0CAF5F5gm5FMg"; e_fb_hostheader="AcIelYMmd8JCZ85qr7StlbiGDkoqI6nAyhgTjz11LpuascIu6d1zSMTHcqrZaEjVRScpJt14f0KBMG1H"; e_fb_vipaddr="AcLKVp_SexFVuhoFcafadq_Eryo9mUQ4-P1czR3j6LnM_jrZmxlH4PRTBHs6IxngKN1GfYg"; e_fb_requesthandler="AcLGgwk9OgJqLnhPfRkWt8YJ-spnqnVjjklniZA_Kb5FyqKi-QFQKbq_wqrkfjgnZ5CVjkKJ4QU"; e_fb_builduser="AcIVHdKOYws5yxguYOtkkFbrhoIuMpeNAsFz9RaA_a2nUFuKN-sWWP1sgoUssRe3v_E"; e_fb_binaryversion="AcJBBNP1FOUIuCVYS7miggmJFKeRDSOpuMh3GJn78E7OI5qMwHyveIEGaaraVkE-N4ymcuc1VqjVw1DLtt0Tc-CB7pwp-tmh0sU"; e_proxy="AcLT5VmUM53hVzzOUE_diFq4GoF-4nzhIfzXcpWxYDNip27j4CRNgOpZoYoYKpX2R4forcCDPd_yqLw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6682254321835229"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:05:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/01/2024 18:06:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/01/2024 18:07:42: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/2344224308954321?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 839580, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /2344224308954321?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2344224308954321?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/2344224308954321?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/2344224308954321?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7cEvSDYmLzMO0u9Bst5EsS', 'x-fb-trace-id': 'HTZPMPtCCl6', 'x-fb-rev': '1011161886', 'x-fb-debug': 'VgQA292nIp5w69f5R+ftZS4IBE1vMNnSPycqwOUvsnJP3sq/Ecoe96nLwPSd5aeBNvUP7w4hni62n0l836XtVQ==', date: 'Thu, 01 Feb 2024 18:07:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK2Mj6RAYsH4x_Vros5Zw34LF6QXKrT11VhZLrDO1lKrkmI5cKM5WQTO_pxU5pT8v-PflUrDlQPu_iT_zKUSVbuUdZnRBu3OP-g4VHaRllWGv8"; e_fb_vipport="AcKzEHhNVexjH3rEVOh68e3OHS1dG1dh9aUS6eo05n5TeGEUnu64AU1FqNCK"; e_upip="AcKTakikHxh2HRUs3Tu6FDO1bWy-UTvBQmRyosdtueuEnvFX5WHdL8Yv0MKQKqqpqsPJ6d5OQMGV-CFIvh56A9FU0CYZxUfyKEY"; e_fb_hostheader="AcLaiRMPe7BQcw1hi3ljkIAdt9cZCTZp14juqGWvBvLUwsAfRe0WFwo0m9M4zCihnbqSHiNTkedCgfGl"; e_fb_vipaddr="AcKH-v6K-WxOu93ANDVmvFQSzIj-lo4-1tExaM2EVUtHogdt3nDTHNiHpBy4mfVDrKFbMl1csroDfKzVaNib4Ir1sKYjHmvfKw"; e_fb_requesthandler="AcIAZQtm88oZBVL4jWK0kl07PjVqO4UNjeqE5xwpqcXvPLafa-pthIyggopjAprZfLudXCZ3Hfk"; e_fb_builduser="AcLMS6HS89TV91ntYutFov8AhWE2E3Ia_jMGqN16TVe1g2V-oj_WBkQPHbfNTDKHces"; e_fb_binaryversion="AcIkOYW_CjWl2AjmlKtbFBOmusLiUM5Wr5mBkiQHmCscGV3e9UOGliGcUIcZ2Rb6wTFi6fWokJQDx2mrxlR_K1y5TAqaPjgYbwU"; e_proxy="AcJ8n1E5e4onAlFUyJfcSdMDkSwTDITIHkVD7oWZgP9IfdKnJyV-Uh5AbW5gSjNMFScGiAbFapWrokThZ77r", http_request_error; e_clientaddr="AcJFtSTlrvPwUOxnY8a5ZDNe6Le9eN3830jNbPtwDAdeCtTYb9jTveYfJhkszwbUS6nPENY2C6C-wuAlSA"; e_fb_vipport="AcLRQNw7uHzOnVB3Hfoj3ueHV6Xsgqv6izdN36AcTq0cpGUWvschY1a-9OoM"; e_upip="AcLHuxTiTqPUFAqrUvQ-lj6u_eGn6nXT0oSQdA0aFvniRpQ-Bwb8i3_wv-RTFd6WnhVtXyCeWW-1LmDRaxrTuu2iD9FdEM2xdg"; e_fb_hostheader="AcIq_NWZC3pxGG4vAtpA6Td0J4r5MzcoOP5IwaHQabijGJWGUaAivcbPyWTTTMdK8Cpfr1LtmEr5HMtV"; e_fb_vipaddr="AcJ9X5uaJdxP1dqxI_O7eRUqwlOF-Hl27BuYu_7-Rr8ClJ-4wcXFtjzgs8m7mXl4UnvPV3Q"; e_fb_requesthandler="AcLSSmtvfxupCJ1w99cfmO-uYYcp0OnIkDQ-yRFO2e2V4aVNXPzEwt5QNnukd9yJdDmCgIu6hAg"; e_fb_builduser="AcI1jTcAXYmbZABXyEg_oJpSI7w9FkVL79cwZkeAjnWxL_z0Mpt_tSaWf-f_HHV31AU"; e_fb_binaryversion="AcKf0CNvQAczOIZSSE438BxGCTDBkSWSD_08K3YpdUJqZnzIaUXFOhva-tC9YihGIU8NZ6XrOCWGZrfmVYWz1eovymurkOmles0"; e_proxy="AcJnXLIveLIgx4U_0h1pShXNDINMOhhhNYCwC5AHVX20L9zICfEkRP2XhlkVAF7VsDRpbLQxgrv--og"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/2344224308954321?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /2344224308954321?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2344224308954321?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:07:42: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/01/2024 18:07:42: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/01/2024 18:07:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2344224308954321"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 839698, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-s-_U4L_jEm3UVcB5pg1sm', 'x-fb-trace-id': 'F5p/XurNhVi', 'x-fb-rev': '1011161886', 'x-fb-debug': 'GiwZczFhO3X+h4mfKmvP4I8+ZJU+R9TxPejVHxOTERjoyuObkZkoF1JLGAW3ENTQuYa+BCRNcIbnxJ07OeSukA==', date: 'Thu, 01 Feb 2024 18:07:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIHBKENCAHaknSDUZ7HEHUxSxSI3k35uixpgxHUPdCgp_QXRhVmLwstWVIrVMDRsMFqC2-UGOVzr7s-xb2PzH_xbIj8dYuKFKTlayt9lN8OIWgv2A"; e_fb_vipport="AcJHfSWnFN1pKsgBEGPlj7NME1PzlxqLt_O8SES625be0v7mAGQPjpDSBVAO"; e_upip="AcJ_dQpAD2N8V4ug8z1SylQ7NuchhwSbG5_0cxFDnWxAPOp67chtKtUz5xJYcNip6QylZ2kwno7z-7uQ37YvyVuROWL-zi_qaFo"; e_fb_hostheader="AcI_zaUYHVjubPeMBtZX5eoNl5Yu2Dz221xuIMcANYPlFseA6sINl4YmbwLpusiImM_sSfQkPLnQzccS"; e_fb_vipaddr="AcJGoVR0YLVM-bOZLAR7VAmewgVV5GRGKnS3uL1ulbZIQTPplBLCsDMf51i90s6Z2qUCvoZrRXM4TyhktpSAeaEl_ZHQOaSUvA"; e_fb_requesthandler="AcKLdjoN5KJyEI8xz4gSP00eQfpEL-VukvwxyYmfjpF0rJOcdLCFBMzdI7cSOtdYGA78Sc-nhdc"; e_fb_builduser="AcIS4Na_wtuUouTku8PBonp0T2BCe6r4E9ryUuSINcASW2s4SWD4hHN74JDfZS9799U"; e_fb_binaryversion="AcI-OdVJjbjQhFtpHsw7jj-QO95UTuYr5onBPLMdP_dyNYVu2sUrK9VpdalAZIFZGpLv4BF3WJFGSrGVk2rApSem9ESR4mh0bho"; e_proxy="AcLf0qDe7WkNTMtKJcInwCA_spLhsc_Nn6dj4M2YhzQuqCP_iKYtLl5G6pULyPbtVmvoy3E9t7eBfGAwoblg", http_request_error; e_clientaddr="AcKGkITaoN30CpHjc661vEu2XPbV7rZHU8r-CG-IYYtDOO1S-gg_YaV9oxCVdC0blhrW4W53tZ5eo0cGJg"; e_fb_vipport="AcJ3Gi7fhLxqZTQ9nrTPS-dD-9rohVupOGfkhV5M5Kilza_L8ZCSwgWPfOtu"; e_upip="AcL_rN3peiOvz4_BvijMZdMwKPuFZtpOEoESE6TjnoVEXIQ7he001lZMZPv2rv6W6DpqshZnSWQBRHuZxsEYYxs8HQbr014RyA"; e_fb_hostheader="AcJImZeC4bzM6025TNY53IweMOFUmQrey6wvz_wRSg7P7uDrOgIX9_5fk8j5Y0uIGyxNlyILqSB7JPiu"; e_fb_vipaddr="AcIxMzKqmw5jXDtbjCCeQY5VFFIoFvfcs7ravezkhVtQkt4Sl52UJsh_qTMUI5qT7FKnCMs"; e_fb_requesthandler="AcION4xsgB8kCAXQJzZhXMq91AglY1i4BltqkZbqJvvpeVt7s5p0gFGpXMlo5QzBoV6N2wlUpI4"; e_fb_builduser="AcJXx0ylvy2d5dtpSTlpae_SN2-NvxIvp3eRAr_OV7xONshGo-G3R5P2RYLgbyO2mbM"; e_fb_binaryversion="AcJABqrKQUUJhHCYDuKIvwzACaTOoyUUAgZ1JlSbs4CXgbj7sU1TIe832nHABgK8471UUs9rjOqbugvKr_Bfp_EO8DH6IKHG9kg"; e_proxy="AcIqR2eKtJKwNrV2wiZcA7Jb6P0dKLO2veIyYFnmdJoC6e968jqEhP1EA1bvYB2EMQYZREuSRlZaujA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2344224308954321"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:07:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 18:07:45: Error on send one message facebookId => 2344224308954321 02/01/2024 18:07:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A3RhoKwKfstq4eYw3cRSgjl" } } 02/01/2024 18:07:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/01/2024 18:07:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2344224308954321"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 839782, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACz6z9stTE9FR9n8oB87WMk', 'x-fb-trace-id': 'FLCMEALudt2', 'x-fb-rev': '1011161886', 'x-fb-debug': 'nQPGPCpkc33TMCjQ12zeJaoyRzOUQAEt/kxO6ExoIT+zPPEhiB/NvbVy339tSoAmhFwj+igSnt39eY7n86KX3A==', date: 'Thu, 01 Feb 2024 18:07:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIqXiNv_DmFHiDHjeIN7Bh7yM27hI7Z8Fb_4IVDFyEGKSXURhq4LcejsaMHLdHF_TAXm_zyEtgnMGnjTB9zZuj9-0v3Jr6En3VU3RIJoT5TyLFVAA"; e_fb_vipport="AcJhGnkH2EXlU2Hsj7cpo5gdQFhY3AMEH6ePymaSn2Cr1anugyLEmYHuINwG"; e_upip="AcJ29KvnAP5rkG7vZ6GO3eNFWYcBhP-vNyyqmEm940VjVIE0C2sDoRKMPI8K1YeNm4MZr_BKyyBaaHpINYC99cVkPGXHOdUejYU"; e_fb_hostheader="AcJgp7VyuUZ8SOGOEPlz_XoiikK-25LR1iqfwPCAn2OpzPmqvQqZ8bNNuV8E9-zZFHdSQjrR4S29BqhF"; e_fb_vipaddr="AcJlS4LS8U-RxH4tB7TSsarB7lgR8EeOncq1KscdNfyvIF8XZZRYnU4--m-pUheNStKf_B-jlU57-Umx3RXPI7kAhSPehlzg5w"; e_fb_requesthandler="AcJbLvcYiRXKK0xWXoiAOc0nN7xrfoM1WjzupjD3Elv-klApUMqPQuGu6n_a52TrH4aPf6LtJt8"; e_fb_builduser="AcKUEW7RdWlXuLt9lbsraClKFLnzde_eJv_qyhXVnPvIGderadI2onSGrwuj2Q_GFkk"; e_fb_binaryversion="AcLWgtkL9ptkN45yERQ4zGZoMs8qYSQjvolh8-LhDFEbzA8iaD1SOCWv324yXWu0ypPjbmr9G7VEhJ4Nb0oxqxjlkrywYmsS2L4"; e_proxy="AcJPm7Td6zicsYvK4fCy2lbMjO1aZjpVfmNKT_uiIN1Dq_VxukWaXS3JcVGkhBsqHjkpIeOunGE0AbVQUzK2", http_request_error; e_clientaddr="AcLN775GnbNBzdpZvATInxWR9V9au-wSnOf6neJNCTXimNw086O2wXhkOvmA56SdH0FoSL-GL_UTfw4xSw"; e_fb_vipport="AcKoJkOCgBL7CrXsYIkDUWHCihbIlChN6aqMbcWSekn7JJYM89pA9Ti3lx6w"; e_upip="AcLmf9Tckq83AltX8vs9c1bGnKgbVEcJpSgtokFpiK2wvTvlYIp-Bq98C2aGYn6NKLcC5-X4CPjN3BUbNpns6sn8UBmdtWPi0w"; e_fb_hostheader="AcL9FzptT41-jrAwz4ZZyJTEd3nbCGzbZOFjpwkLLUjj7uFK-ROQFObLgzuXzj3G4Q6xv_g7JGmuwjy-"; e_fb_vipaddr="AcLlgMU13v-Uf96AAcyuLmOlJ-8hScNkb7Cjwf-a8FJknH9HgEP_TM2OEeACnTb1G64Hz5g"; e_fb_requesthandler="AcJ-MNNGTa_PSoZW8Kq4X4mfZ7XpDg2SD0uu6U-f2MaTiconxoL-qJviX1lM6T04SD5duKT8Pkg"; e_fb_builduser="AcKEmkLscLszZuDESY_joVRvdH92klWD5vPcoBu9hwhJ4Ye0k0-7H4VpkF8Uks0D4Mk"; e_fb_binaryversion="AcJNZZrNTfMycXhyNInRAMR1ICLvtyLnvV98Wdg7Cy9P80Otx5e2UyB7F0ffhBO8fZNWc36VLK_ZA9F-xiaV3OykgbuF7Zy0ed4"; e_proxy="AcLHG1EbR7Mv3I0Lcfc6pA-aRBGdvgyCImqI8Kang90ptAT-SZNVUIOoQl7WJmStpFj9FmXmpg9HInI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2344224308954321"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:07:47: Error on send one message facebookId => 2344224308954321 02/01/2024 18:07:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJeQyY6HcfYQdTxHHO9CYIh" } } 02/01/2024 18:07:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/01/2024 18:07:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 18:07:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2344224308954321"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 839920, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGapu0vRHyzdhkZusZn3Ega', 'x-fb-trace-id': 'B4SLr7LAbTy', 'x-fb-rev': '1011161886', 'x-fb-debug': '55qG3uO2Y2YrKt69GE+n0vLi5/r8oZF1CzfBt4lZFGmYZPKGrZI7uF2ASWr82O18woLzO59w2gJrYlQMikmwFg==', date: 'Thu, 01 Feb 2024 18:07:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIS1PTT3YBSFPInHD2Pqn8UjB2nwekbTgb2htOUD-A9xfAdZ5bPg12DzTKRR23mwUwzeNiV5QBM4ttEBQ0bTWsb9b_teatOQTVCBLJ2ulD--wFO1Q"; e_fb_vipport="AcKK9FKW_0C854-JQ40pI01pobZ_Owvt1ry3L0ITfh1F_fpb6lfRGLGlX79l"; e_upip="AcLPXXIh02A3Q9nTnbc6Oo3PteE8br0BPRy_CD0_bK-_6Ks4hkKj6HkgdYV-v50fyhqONR0pqetBX5DgijBwVa0PzxVXcjTMI0I"; e_fb_hostheader="AcK1genpsxwZIhvgnjST4mwcoeLPHga9uaPjYNIIgZorEVf55z-QIt14Gfx-HhUyovh6L5hTp--TUyfl"; e_fb_vipaddr="AcIwUE6qiRzEGiSSpioYzYO9xEexcg27kfvL9V8g8co5Unt--x8z0q7JUN63r_cQJLnK3xmn4izz-ULnyVmUOxUIXqDEaJYS4Q"; e_fb_requesthandler="AcJCAXPCAm5uRwAcW9rUXP1pcwKtItVBxDxxO-cEdEbsDnhNvqWD-pKC7N60EyOjLud4lb7r6CA"; e_fb_builduser="AcLc6TSq9Zh5AApVwot5RN9epBPHTWTNeJGJ8XixELR8TltUxkTr8kJWauUNY3R5D2Q"; e_fb_binaryversion="AcJ_BZ4C3Pwiug4r9bTZS3K20LTqgFrnWp6SR8hjwX2F4Q-IREu-5TfqPQHgZtGiSTwP9M09VpekM9nYm2i0mnfl6ZTaDFg7mc0"; e_proxy="AcIxeH0mzQtztJUBUnJXACoRMiabJ3q99M4-yDI0fjMN9LevWdSBheXmZJD0H5pZjAsarXMpLzOSZK_y2H5d", http_request_error; e_clientaddr="AcJ3UDa7HDHj2bYBX-1vc9gBAy799CZEFG--r8uqBXp5MHImybfAEcGg2OzDDjufqo8O9cEhRF7vbaPNpg"; e_fb_vipport="AcLboeYx8jfUIxH4Z9gL4ErBDPsZi09zwPT6izIZyr3kd39RZex5TAdsQq5p"; e_upip="AcL2CcKnqcunHMn6hC0sj3z5kdKqh4m4Q3mdDrjIsKFWJYpk0LXQLMVxr31MrbGyqtEpTDU--H0wNzH8oZvvYpVU4lTqRbGxIw"; e_fb_hostheader="AcKkNvmZKy1pfq114kDUYmuSdcXs17GhRvNR8d7fxlfuuIIRH04j13dtlcyqpzVfS1kimmolAZJS7vBN"; e_fb_vipaddr="AcJlZgto5ZsvcJ7soJSVpEnUQbqVwoYQ2_LJHYmVSm4aAi3vb2KvI2etOLjtagD5l8quk6Q"; e_fb_requesthandler="AcJLyBYTwoNPO_12ndXOgNqCNoGo2aL-GyKQCWirf-C4Hv2P6zpxIk__3FwIvKblWqBre8jReMQ"; e_fb_builduser="AcJGfs-pDbQW5wKuHLY0NCb5Ic6biM0Zd9hg4vNkGB7hc_WvPBEvvuLqKamFyO5eiIU"; e_fb_binaryversion="AcIFjyxxxizquB7BoH-_gqrCUxpBRTkkuJbHhCGhGAoNs1hKkzlaAd-OEvSLXFb6Z6MmjHpYirMGeVp0A3QaIlM42ATkoYCTvGY"; e_proxy="AcK9dSU1Df0ojSQcJQTfnE7mnuDx76QLOR4E1O8ve_2Ih7sl-t-Cjgnwt3z-sCoMqnX2A0dGVYoHH-Y"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2344224308954321"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:07:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 840064, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A82rsmb5OWnZtwaw5nblKLB', 'x-fb-trace-id': 'B3TXPeCIwcp', 'x-fb-rev': '1011161886', 'x-fb-debug': 'iAulsNhBUmPGVhQC9nGXTQcNQ5E79uVnVcXylnMREKYkafdcCGfCGRBg7y/eSqawzKtdxKDl8tlkIpcikQFztA==', date: 'Thu, 01 Feb 2024 18:08:00 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcI5YwokBZnkVIg-Iwa8yxhll8N9v44C7G0yJJESWjqv0iWtLQSBYM4VCCPN10ddG8wtrcpIkc0bKIlosOoJI5Y2A9x52uVVITEEbF2Q22G5DNRiZg"; e_fb_vipport="AcKCdhMdS5mIIuPs4fNLXzsGalLkxZKEkY8NiTtb0WaEJz2HJz2nOcxc8T7D"; e_upip="AcJ6dMW-w0topNC6wl20OefYgXH9SFj6iO5OtjO40WSIyssBBJFyVqxpjnsP4bA4UVD6buDQpMDVPn6MIx2WWgQwtcmPvuePw6E"; e_fb_hostheader="AcKXqhH53Z_xfOFO1bfpaT79bsHSnwXrenDSfdn4qyWWwbmKM294-qJxTw5WV9FzC7VBgpVfRLI2QM5U"; e_fb_vipaddr="AcLxziN3UANdAoUD2GsL6xLV0akcP3ArZLRlPSwn56w6Xur7zq_g1-8Qo8diDNiqyc-H09CmB4BU0Y6p-lO985l85eSjIlV6iQ"; e_fb_requesthandler="AcKkDHnyENBBRyU1w09-bkyJESy7l7IdZSYcDYbdUuOho1d8NLLPv85_zSmVVWXRDg1CfC4Cp3Q"; e_fb_builduser="AcL9dL_FNTUl2xnvpM3xtCm-Re9vx-reeww7UMrC4QbmSeDCUXqIs8WfxYMXOBGLvx4"; e_fb_binaryversion="AcINOiVWVAalpgjQf0KjgY_QjGneYK3CcEAg_y2BKAoB1Fcx3V3pbzWjgZ46p6xM8NKkX2kzI3TCtjallTqw_tSqOFKnLKnnrl0"; e_proxy="AcIiVS-EVlPHvWzuYOOmPYCCvM0OjbS0GIEej2jyjeEPlfmBqNGm7FczDFmQgE99NtkV3ekr8JxER_cGkziu", http_request_error; e_clientaddr="AcL8vnLqR0rAcHhky2B2A3AwFKNaeMW9eql89kDmBvjwWGZE5g1dyLqM7cedgj9UuXcXQxOULzWexLTQNA"; e_fb_vipport="AcKo-UwN0eYKSBi2fO19nSc_YMztMjGEu4oTvOLX4dXPQD7JXGG94-Xyda7o"; e_upip="AcLb_q1_gk-KYKfWVHxdbAGmqvcHK367ehYQgVWCPUlUTrOQgf3KSBoSQGKuSOs4fHT9D5LDk4GSKJlxzFozHfEbC8IbPwpp0Q"; e_fb_hostheader="AcLP9i2BkPqlhbaDyGKyX65Ux3etwm4dbiF2erDqeW9OHee1g81OAl6kyafUATSjqFovZmkQ3Pa0uRIH"; e_fb_vipaddr="AcLe2p-Qx2Pje6WROa6lTpXE5sUEXO8D_REhzjpfrpZ2y_-RlfNH7Mdc-RzwEYEWRQ5sq-o"; e_fb_requesthandler="AcJyZVV3TcyozLSFDlwdj6znKu2-hitSiLuuvxPZyQRwKkRexpMeoQuh2_CEEOil8skuDJMF5kU"; e_fb_builduser="AcLUYdFaZGshL3p1a0CzXQfyqsOZwcGTmqFHgOcsLXCYkov4Iea1L56oR7qdNo1Ratk"; e_fb_binaryversion="AcKQRH0eeakKfvONCqljOorwTTI9QWNG-uxcEu0oU-fmtnyjdiYRuQDtldrMF9pfYs-cHd4uC4mvsXuEry2XPV5RyBELdpfSk9w"; e_proxy="AcLzu0j6TvZiDIpcSWyZEuvBty-pA-2-mk0VI86BnXWiwWOiEbXcduhWn-0b4tlikFeoP3mrv0P6lPc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:07:59: Error on send one message facebookId => 7137181206401870 02/01/2024 18:07:59: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "AVHcSQJA2p1oR0XczvHFJuA" } } 02/01/2024 18:08:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 840237, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "An active access token must be used to query information about the current user."', 'facebook-api-version': 'v12.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdgGdyhq0lxjc7w3jt3v31L', 'x-fb-trace-id': 'Dk47vM15+Ar', 'x-fb-rev': '1011161886', 'x-fb-debug': '375imlF23nImsec63amldp3JDIMpzGajTctDhNHQnMCnKp7g+o3MEDuLH9Y1h/Zdq2rgmjY8s25x52IE3P2k8Q==', date: 'Thu, 01 Feb 2024 18:08:02 GMT', 'proxy-status': 'http_request_error; e_clientaddr="AcKN5wwPd2B7UFZgtqNoZb-6s4yOnIV7RjJbM-dIQuZ-dQRk8VlpQ49lDlW3fttswrY8PJD4NuQpzO42Q3096Mz0tcsiOjRZFwJpaE5OPacYo0Z2"; e_fb_vipport="AcLtQJTORxyk0rZzh2scTmjNr1LZrBLsuhDHTHJKYvHbXLbFSQM9xfWqt61S"; e_upip="AcKblcIRCDHJkEIxq6B8FIcjShd1R4MrGpLwd7hY9DEn2-m01dhXB2S7ayIX1iNegk9jPTC7PrLkHArDSCc-BU56pvMn6zmf3A"; e_fb_hostheader="AcIqH8BawkP4li9sO0tJWVCqrESyPokIe13p4In2ajPlaME1c1humbfWau1OOGLOVZa3wI1dIawxB0YW"; e_fb_vipaddr="AcL7lM_4EV_SEn3bKq84sCGQiGJ_gERD-VsyyQDRvm6LsV2cCUVsaewUBEq767VhbBACsmWQtS2d22cJvS1HG-9cb34T94DKTA"; e_fb_requesthandler="AcLoAXfQdmzofofh42pz358KDvO3XzDwoKVnJKG8P7_D-QnmiqojFxLBzReS2JNAlIuVKXnmc88"; e_fb_builduser="AcKCqZQRVAYkDxj5YNRJeWkwZjg9shhAEzU50kMW5MIqMegTxbCVIPH9NQw5534Fwv4"; e_fb_binaryversion="AcKM-HN80--kU4cEK5ffWooiDp_3ggq4ncM3x0Xs_olMuZDA41y0f0EAV3sqLZ93ob0qudbJ956-u_xVshJB9rVAVgPDGY3CGu8"; e_proxy="AcItZSdEHBda7kb4j_eEXEvU0IEIlpsxyn2ogiSd7V3cogzQvyGOYj1yw-PXVKCL8XyQVoa4__h5M_nUEKs", http_request_error; e_clientaddr="AcIiPv6l3OYAWz_19CK6S0JJfHCAdcSP8uiRgQJAJZp3veXCopKXFQsuDF9LXWoafWKn4zal0rjtIru8cQ"; e_fb_vipport="AcJTXJ4EjOrZJdSMBQ_j9UJtx3yCJTp18KMlX9y7bSZCpAZM3Ztc4XZhbjos"; e_upip="AcJh8osSKtQKnmDCpqx0UxNn52TmpvqK3oOYLejueDbq8TkEpPTH0yjd0cgEceefKvuhzVyivibjiI4c2qRwv-wrUJIWEETEEg"; e_fb_hostheader="AcLraF-94D8zawF43-QRi1mKOUaF2A09A_vqGiZd7dDLbk7MYom6GajfTQCHvhZI16sm0yb98Orbqfoy"; e_fb_vipaddr="AcITOmt6gVBJQvPJFvVzEBrpaY9C7rLquTsaK2jI6fwrghSbBDhy4gOL2sfJ9DnzoyCVaZo"; e_fb_requesthandler="AcICsZ7dA1Wwmr8o8ZDUMmGLc1sGXkNI6UIEKq51oV0ziD6-qfeBRbcLzR_LgHx7Q3-CWXjcO1M"; e_fb_builduser="AcIefpUp88_EFAsNJ7IylE4cMNIeZzNdpk08kAo-X1zm5KOeBeVqzZmg8VMdgFQTrn4"; e_fb_binaryversion="AcKakNOp8kLhJbP18l_9H2QZnLi0lxIfb8jv0bAUo97u7YsvLTmTuKYHPWLMBcb5wJHz0Pm5SsOa5N7gIgrM1xSnhG7h9NdPdFE"; e_proxy="AcKJWvcEoxymnqYF0YIrbprHeanX7S4E-ACo3au5M6_se4l5627R09oQFE8HzhrxxZkuvDD14Ua4oyQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '179' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=', data: '{"recipient":{"id":"7137181206401870"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:08:00: Error on send one message facebookId => 7137181206401870 02/01/2024 18:08:00: Response error send one message => { "error": { "message": "An active access token must be used to query information about the current user.", "type": "OAuthException", "code": 2500, "fbtrace_id": "A46b6AJq8qiFZA4iEx4VZdz" } } 02/01/2024 18:57:54: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7009818612424815?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 848782, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7009818612424815?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7009818612424815?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7009818612424815?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7009818612424815?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUdBDzjAczVYpEpy62kX_ef', 'x-fb-trace-id': 'Gqmhh3x/eUh', 'x-fb-rev': '1011161886', 'x-fb-debug': 'Ckc8MPHO7ZbilmPLcpM+fpiLzLl6GjakLlgvMjk2EAXTOghn0GVvgq36ZQgg8fjqSZ0AqCPCg+cPtcchO5O57Q==', date: 'Thu, 01 Feb 2024 18:57:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJvp8zeQ_JRzKJuLNnQsfAeYQAXaLOQwZAtWBh6kxrM9Z8wJBehL0wc3bKRFPQozzDcEvMK-Da_m_iBr5eBlieFf8IqTqMwyj1wY0fLtpZiJo-V4Q"; e_fb_vipport="AcI8x1nizsnuSJQF_NciMcCK8-bfTjGyvxyIS_aTqesrQR1s1sVJpNiVJ2AR"; e_upip="AcJ6l1xbBOZg3IPOtMdXSzzS2pgGacTszS8S3sUCIQEw91EetAYBbPdWR1zvhtA3XKXPOFGV_SIneLLlEl_HfOJNaFiMsPhi"; e_fb_hostheader="AcLqhnAyOzKwuJ4VC-XJ06uUksAGnwbJJ5GcUvZcvp7aJsj99ffa1_-Ad9Nqhc4pImSvDKSZ1SDIM0k2"; e_fb_vipaddr="AcLZrF3q8JMoCxT0gI0CdacgBHguhUz11GCiNHm4PF5R6iU810o0P4WphMVQUECT-Wj5LIfA-mk3IU2YrEQncTauL6J183b8TA"; e_fb_requesthandler="AcKVZp0JV_hX1nNKZt9akKZMhi1o5JRL9oCsKZIGQiu5KtGJoyx4rywJ4jaLsPP9wguE1QKqjF8"; e_fb_builduser="AcKyXHN2bWkhBYPWZgEEUEI2I9sje2yQfmVNAV7qeaAHHNYjzr5YD4GVEo1TDWEKKH0"; e_fb_binaryversion="AcI6XQXZxGqgYhwIVez_53-v-8SQWjwBUZ4msXQZy8diM1LPjVyYvkDFdOm5tcDokCz27KyDsG7IpP7oZndfa_HDHGBnanhSwMM"; e_proxy="AcL_QwbxpCCeiEcM3_5vgsry41FhrgNK3ZC4yNpUTiG4KSJzKnqD4iBsipv9kToiP3AUOyBpvYJFoy0aptyS", http_request_error; e_clientaddr="AcIiZbYyWkACGYCTo_qgvABZEknwYJJ3CP91GdOB22Kjir6RJHEYw7M_NYi4hHmKFxLowJbwQPLbLPgu7g"; e_fb_vipport="AcKszr78uhtW-av_PVu9csUo7uroxxb__-u-beV_7LezvaJIDhEmQDU6Q6Jq"; e_upip="AcLcxCuSVS2KPDvEhByWsfv79p5QN-arNTAMvW0aWlig1z1CA-5yb91Sc-B_pMUtV1H2-1kCx6k2iApuqVgBPR4CxLdl0xNquw"; e_fb_hostheader="AcK5o2-bK0mpteYjQwmNMI-uW5SR8QYFewdDQKbUsxfQBBsrKA2IVgDN4I37TcQWyw79pNZcAei6xn23"; e_fb_vipaddr="AcIMuECtFhdodT8uBCX4JN9LIapL-zkZi18kofvfH-ZaRrUQVpaJYTGbt-aWJse7Vv5g3cvKmg"; e_fb_requesthandler="AcJjVbMJKdWpPWa75ncouqZyJL1vLf1NbCO9y6GwUw2gs7eleQX1kTVwYGfxYq2FvDthrTHB1gc"; e_fb_builduser="AcJLKI9uqL-VkRL--fpTIW0elNr_kSV14ozvtf7B7tZ40QGGqObYu9F3xrYs3iy2nOo"; e_fb_binaryversion="AcIvHpVWDjw_Mag59YKwASm4HD93xHewN2hk8wWw1gtAHnqYf8w87-Q52WMV9N5NwrtuI5o3tnBl-bQDyhQwwWT_AzdBr2sRPxA"; e_proxy="AcIi1bHMnbGtHIokY9IvtXoYc05M6UkQU0UoptlH0gfd9dKkL5Qn7_lveY8erll7ND2ezm_D1uTyTGoM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7009818612424815?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7009818612424815?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7009818612424815?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:57:54: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/01/2024 18:57:54: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/01/2024 18:57:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7009818612424815"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 848878, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al9GZEwPTsO-oaY-3dbMC9m', 'x-fb-trace-id': 'B3JQUng9JlD', 'x-fb-rev': '1011161886', 'x-fb-debug': 'hp0yr2MmM7wN9cRP+RKsexjRI6HAuNFDtJ1R/Jurg2PqltG1zNIXdByzBOzVJzvkSrjd0hEgd7Y8fTz2ScFS+A==', date: 'Thu, 01 Feb 2024 18:57:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIyxE_1slXhtfBpQeI9UjejaSh3FbJEkw3IHTW0AZ5w9NwIrve2Tz5lFIk3kD02h_0wP1TEotiByK6pQ5Q4AsLmZ46DyQpmTJTDKa4XRDoFUEiGmQ"; e_fb_vipport="AcI5ZDBGaEGXff-nWBYEMX5VtZBG6v7XNoWx-1--nO01RCBTBzpC4VQgIp2l"; e_upip="AcKYhAeMH7X7piE5MU75nBysr2uEp7fi4yMTzpAROfss7uayozV0P2WDijLPxZklil_SXvq2tUGwO3btWh2d4u4xMwNKfMF6G7U"; e_fb_hostheader="AcIkVcZxsb47h6aaHcq4oroLdNg7T9uobtHI_1H3z_WD_2aVSp0X5sPYeJ0Ad8zWWaaebd3PSBM8SfJB"; e_fb_vipaddr="AcJEK4FpcKzUq0IWzTLcTTChQqYnDcmuWVV13vKsCQhLSjMnbwHkokZAwstvSMcqWG3h2u8f9_z40X4zk8nnO_-SOXDvCgvO3Q"; e_fb_requesthandler="AcJwSnLOx-jggSsWs1X8XQRoHa5Qx1sg6nWoXaWGraAjo6xyO9GikEP5QhaeUwMW_BCfW9Oo9ns"; e_fb_builduser="AcL38QZZktW6MAuf_UUaXQdxgyfqtgMs-EBFO2qxrUFJn-mwEyuqC4bngy_QaLqpPkQ"; e_fb_binaryversion="AcJrTD9ZsQ2133_y32zRDvz1c1IWOTWc5j3aQ__VhgE7i3sffz4yGFmIKQhlKR7Y1hBC7mVPMN5m-KNhFl5K-QCUySJ66HuS3F0"; e_proxy="AcJFjoocmGvYjCX12tKp2ulQYX3pg3-1pIERBgSNAl2_O9MHzp1m_1Nun2v5lQV1SbllEk1RlyNCesSHJlvt", http_request_error; e_clientaddr="AcI1Bo8IN7tSVVPJQNY31rW3iW665uYxFpp24B0VOfCryaeNjmWjdKjCHpA69HRAQBxsVw3GP0OBgfUruA"; e_fb_vipport="AcLoskaZYePkLgwRdOPxVE4UeUqtrK5Y8pHed2oIJc_dk-axeY5VudvigwAc"; e_upip="AcI4zUbERjwI2hXWYyO_H7YH0r9Q4u-o2Vq79pCYdJu0dD1yw182uU9Ggkjp9V7o9_4XtjGT8qaCrjkKZcRsIbEDIGLh5uFpZQ"; e_fb_hostheader="AcIc-GDlQWHQGJDnKhtJCoDZ8ZnnJJNzSNu4p6dWNJWtXdkHBQyMHXVBUKfA53J1rpRyddSVYfQ7vziL"; e_fb_vipaddr="AcIqrAecfMppX2WLWP83wZr-8MrLGbPESddAl3JdzG5tJ88nw74Q35dGscDJ5wMkfn2DDaOLFg"; e_fb_requesthandler="AcK68bR9PkHt-tcv9ASI1dT2LYDDq7GyKCbY-KpF2R65coxWAPLo9-qFvteVs92NdlAv50940Xc"; e_fb_builduser="AcK9HUW-3Xk85BPr8j0KT0xBIKuRCh6_keOUca4IwD7WHL7FF03D9eQPYIv5TE5dTQA"; e_fb_binaryversion="AcJm59qiocjYeYQhNnmu8VLUXz-5m0FvBxHJr4MmADtlOKRaqZ0s2okoDPUcVcY_vdV35xFANqLdD3cVYxwrVpiTr5CDlpsan40"; e_proxy="AcIrTsVPTwZzkmWQ6faxBi9sfwx8nHqfGyIFIR1KzQ6gmZEagXYR2cRwMXYTGSh48SeIC6W_ASihSrj8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7009818612424815"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:57:56: Error on send one message facebookId => 7009818612424815 02/01/2024 18:57:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANxKJLZWXteXdfS5k-VSkXy" } } 02/01/2024 18:57:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7009818612424815"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 849030, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWrTtg-LDs-mqUnwvAotq2S', 'x-fb-trace-id': 'Amxfc9lseG4', 'x-fb-rev': '1011161886', 'x-fb-debug': '8ZA3C8kYu5ih5gMlcTlD0lJ5QXbEiqgnjEtIxvrsQWjSfpR9AjV6BM+AC/Yd1LNIXX4d2IqS+ML+hTZrRYk/Mg==', date: 'Thu, 01 Feb 2024 18:58:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIb1vnf2GrHE1gE7OJZxQKMIDxijO3xzZ1Fqz00RZ2W3pqNsw-p_uWoQ2qPWCLWcI54fagBE0UGy9nZHHVKyvuuNMERJVK1KBJWdl_uGydWU-ngjQ"; e_fb_vipport="AcIXB0G_C5DUbzLHIhrePbHZvaetUKpZV3F7dVE8ZEmBpgXJSX8AzmSC5v1B"; e_upip="AcLL0BPBxYQerN4oscalUbuuPL18-TyG3xwR15TYe4CGiuG09S1nBfd20iKkCxBWsOIdOHjol8qSl9SnU9oYZsjY0cFwPc4vlb4"; e_fb_hostheader="AcIwSH5Db_QabO_dtGQw03belysg-EOwj9R-ML77wxVmz5ZfjSHrStQPbHeJShIVQLO29KUumTNz9XOb"; e_fb_vipaddr="AcKF0EOFai-IUfbwQOPQhDuk51xyDeWhgqk7_0nYtKk_CUOYX5JIBadbDQQ6dmL4Um--XUVq2JSgW7VqfE00yR0fQW7hiY7CWQ"; e_fb_requesthandler="AcLm0pozt5swcdCu1kgEaIIKOlW12Q44Up4Z9aBQ2vbqSgwCqp_3i7ixaj7NPOGDzlSls3WH2to"; e_fb_builduser="AcItT9R6VBOInCn0GC2DmHOAsoFUaVKWUaxTVoilrtkw95-NL2keL4PB9PmpPFIC3NA"; e_fb_binaryversion="AcLP_ksCChmalqZODUVOfY_ROOXhR-pZs-Gw22SvbEzy0QXo1WQx_UjZpLifZDnmMwiRpKP_NsYXqtDoB_11wgGze2-HmNortWc"; e_proxy="AcLZw-EQokvLNICRgKIDeLqFIMKdxm-XtuNZZqc53m0XnWhIriIQHbm6x1iDjgFXjLfcjAZhQgAzdZLMr-A1", http_request_error; e_clientaddr="AcIdyRdQM3nDBbFQoOQNc0sxrgnC4PwtEuCtD7nzTlvfpwuisBKVXh-On34WT9kdtP0FRiX--oARqU7W1g"; e_fb_vipport="AcIGBLtpeVqpEssQNTECqewzjdDKPn3mGCLm22Ff0t1y_IeKJeendMWLJkNP"; e_upip="AcLp0fiq_u3X0Dw7k0TBGncQLS5rKqiP751B37h41JdylTehuY4PPNzJL-QputVFIAD1jx-DirefQacMsxkOwEd_WpEj5Rsz7g"; e_fb_hostheader="AcLBsVyHymsqF3A7Dy8k4Nucu1Z5qqox2hI2YNRUVzSC35iW-GKExpCYoUbD89EPbAVLXJFLNcjihWWP"; e_fb_vipaddr="AcKtWbl112Xyl1ZaPTEbZ42C0pt7Q5IeCcuWUaOHiNBZnnbbyVRKUUzYNNFp5anZipuz2wZ_wQ"; e_fb_requesthandler="AcJRvIGBCRf97hF6usUo_QT1PO2xSPy9vlTo9Pnk2z553Phg1Bf0TC9YAR2ImAfPnDXxaAWezgk"; e_fb_builduser="AcL3WYDmSnLwh3etZy7v639izEJeKwDpHFxpDjCiwBI9MAsflNGRIXOXsnMnXg1cPRI"; e_fb_binaryversion="AcJx0IrRiTyux9pyIMNKDj6XQ4XqRXaoAxiXdTXQistkPY05cJWhqD1ECjcb-I_QsqFLkIwtJXL6PGdlU4Iyjyq-Y1Xs2Sd5yVs"; e_proxy="AcIjw4IhCJuSu2l-_6t5vxoU8MP2tGiknSiqAASqhxRZGY0cjFpcnebpj9qLjA2EU2kmR4weGQnp39k"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7009818612424815"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 18:57:58: Error on send one message facebookId => 7009818612424815 02/01/2024 18:57:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AalwkEhpOx1crW2Bk_nzFe9" } } 02/01/2024 18:57:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 18:57:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7009818612424815"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 849292, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGHbeVcD81sTnVEMlIHAbb7', 'x-fb-trace-id': 'FrG8KFUG7RE', 'x-fb-rev': '1011161886', 'x-fb-debug': 'ywFn2AlJaMIOs4GAoHB5a662IC0xsxNtLPBNI3fUglaDgcExOQi5sbdSupsKDXrBi2OHvqijEaGmdSBxZRmAkw==', date: 'Thu, 01 Feb 2024 18:58:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLthZbqCG0HhVzD5WaDJmwNnKj199oK0QMVENsqI3wU8GdH4iaALnsBCPKOAUti9eR0vuNSKcM1c9DH4Arvtw7QbVqNWwbMKOAAJapoT8rZG3MQHQ"; e_fb_vipport="AcLeXp99E_TqQd30Bp0olqP2u90mmovkH_7KNlJXB34Y_AQVXOO0rnyikGbh"; e_upip="AcKa_9TECx1ZT3gEbGuiitUv3EhgQUNNof3T2-H9elYVs3BkJ0ZX-H3r3QgFn73RNn2SZvorXwYDgTa3ZToABsw0N0LauPcN2y0"; e_fb_hostheader="AcKeNuLHOu33SP0rvvEuafiKEfM9S3km0isjsDbRR6S126hnr3AWD5UanX8PVx8LclCZmrTVd4-e9Y54"; e_fb_vipaddr="AcLi3Sj0VqLMsC-CrJNPgKEBi3Vbl0xe4H7t0J4AVm2YnaGbCFCI2I0Y_ICfg54688KjwZJOxH-Kiy7lAIe6g7n4eOvZyTp4nQ"; e_fb_requesthandler="AcIJSVREs37kca7Pv2K-YxGXx9LAY3nNd1ODlfqoNdwtO9J4zy2jWwad-T08hy8oOZL5mN9qgxo"; e_fb_builduser="AcLFz8dA-BK9Td6NnzYzAG79mzosidjDrZiYEbItsKp9CLUUnDORsMIFQcD8iCAwMfc"; e_fb_binaryversion="AcI4a1S6YCcZ3BIgLHenJptbM5Mi78WKMbnq_QwaYCPQnj6Lw2tjTTL92zBLO2EtADasVZvZwdZYOmijv9wmzva3MCVzklDrqxI"; e_proxy="AcIy-dHMYWYmOf3jIoM4G2AGeLaN9xH4qvthVIE5g2QvX6yMRKAaZkB6Ni4QqlsnXLwqyfvncKBomuo4JCfD", http_request_error; e_clientaddr="AcLM7Tq0cA_jQ39so5AGAUe0gJ5zdtRpw104RnZUmbuiXO23TZ82Lz1qMbLO6s1nq6cFugAJG8-Uomqgrg"; e_fb_vipport="AcIrlaVwjxHoLSR6gY2uGzDLn13W5GhN1ElKwZEbXr3zosqOkwqjbdtc45BH"; e_upip="AcJVnTlvNqaiGW0aC10ZelGNHqNtjVwrM1MyiNX8uUS0YOYod83QydNc_ouBwm6iJFiQQrWEgnTu6ThEotKxv3UfHwbrJkCDCA"; e_fb_hostheader="AcJ-4czquckp6tTIubgc2_-5c70U36VS3KrF4N2dbqxjBPyk7dyxXv8j-NqhrxOyoFFrmZucw66R5rip"; e_fb_vipaddr="AcLxcpThEj7FvNW_GzXVFaFeUdZKOyLH-vjEiPE6s7J82gpZVe_p1nl-FqNbOFrJf7mDTlz1-A"; e_fb_requesthandler="AcLB3EqrMvWkWv9dguBsGeiILwbcH8p_kpFyh6p40U_n34anR6Nlh-n-kirBLY-WLwik4i6cl5E"; e_fb_builduser="AcK2pFVIpArDxg2NHg819BL8pSEQuEO4JM6JSe_7ZHtr0b-RTDbS4_JJaT86qpyvDsk"; e_fb_binaryversion="AcIpuZts3OTLs-3iw5LY6n2l-ERQDvNn6fvWJQXiHdjwi8OyX3WrlLk5pRR9xATX3gV25E_P9b1-Jilt_FRuAIDwUONDRi0INgQ"; e_proxy="AcLKj3N4JOz_whbMNKaeikl_gbQjAo4OQCt6On5kvjxLmzlq79nxWOomTYld9dliDTu1k3fj6fMOxeHn"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7009818612424815"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 19:03:43: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7133904086693364?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 850337, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7133904086693364?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7133904086693364?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7133904086693364?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7133904086693364?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlB819LPcQlGBFx-a6J9l-q', 'x-fb-trace-id': 'HVUfWDmhDAS', 'x-fb-rev': '1011161886', 'x-fb-debug': '7fXU7Ovq4cF7p1YZVYhiRzAE8fZb7p5jH8fUax/MDAYXJl1pgwP0kmg8aSSmoFIt2EB0VO7QzLfp18PmAwcXhw==', date: 'Thu, 01 Feb 2024 19:03:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKJVnkpI-c92Uwgt8wS62BfuWdpI0X5E2P8C-eS0DfIr-afrXAWHzGWgMlcoKTIv1_ql9I1mDGaBsjYJkhsI5RN2AICeDVfuz2rgwwh9K59tcbf3w"; e_fb_vipport="AcLDi4wTOWxWXwCYdqN5ptm1dD15qW13TMJBD8rmvFaNfyNsKhd-oxMxkjgH"; e_upip="AcKX13nipCw2l3TAyC48sbkiOTXj_lCzRTu-0_6X3du1SXUfxKQmTDOGyu6TYfLYgAkzq72ulQFfNf0wxKw0TmTWL6UFj5UL0w"; e_fb_hostheader="AcJE-8Se37KtcOPC0i7kkX6bjnEUEZ_3IT88BjUVu8NcaHkbIBkMlIQwebCuuiHhBoBho6skbyLrFoYW"; e_fb_vipaddr="AcLCcFn1uC_PR2HhjcvPZAHrD6vsBiJsgGKE8j0Gmy8CfyLufmRbI9eZD23br5RIyOKiayyKKpYSuO_QatSq1NNwnRjDiDa5DQ"; e_fb_requesthandler="AcIwQncFPT94aGSuuDiyXif3ZVcOWrJrDWcO2RAJkZPhbKqGDYdN60u5fKvsRjiUUQQk6VBtUsI"; e_fb_builduser="AcKHm62srgr99TaTtrbuKQ3Gu7QNFLQJTAI-QuBL7AuGcOCxco7iV67_5FnpfeE0meY"; e_fb_binaryversion="AcLFbr3HEXBj2-jPbgjEJTtyLIihJo7DWqHfo8_XdnWw4cPZfmSJT6r1h7TmToHBK19TQg9uFzxiSKaCIsEpZdJeWqnUi-uzPHg"; e_proxy="AcIszlgbOz_11P7MN641nWr4I1O5s82kI4_3Nr5PQgWLEyv1TeH529ptX0MX3xGLvcIgdHaCFc0v3hUf5wCf", http_request_error; e_clientaddr="AcLxKXar9iZJbaOQXQas0srW0OQnjM8Ca8xTVDSA1kpHwpo8_-ua7zC23NKj4UPp2i2vIXgUWf0m8KdcHA"; e_fb_vipport="AcJ41vok_a072SDI15fBuXzfI5XMTkrq0fhyjeQc8ETyKYEZh6AW5-WICl8l"; e_upip="AcLSZKZoboFJO7xI71rkkP8JJxOloOkQTOT2r_5MJ61omGQdvSmrgDREqwS8bD0POnFDpdgiQktakBbZjRCLfkyGTPti5bB4Tw"; e_fb_hostheader="AcLq67A_S5WXfvimLQUC2jiyZGYL9B60byhpFPLk305oE79dsd6XpZdE5flvaZHE8GUj2DUDkHsyA2ZC"; e_fb_vipaddr="AcKR3I0EXKMKT3DTn1Om2o9N1fevs3sJeCwNDndsmwlhC36LVyKSmj7dw9SVPC3QI8MJLaY94Q"; e_fb_requesthandler="AcJvAurXQcCB1alKAA0Os6G8gAYIA4Ub6c-a3-5KPpz_bi9nBAnLML2xDWrcZIJ8SYih0C9yEsg"; e_fb_builduser="AcLaJr_GrKfUtmIDGn8bMHmQfM60122RrFs81o0wFNyohJt47Hw-4_Z-AErtWtg-ync"; e_fb_binaryversion="AcIG-nVXaDU6GJllnOuz9AjuINtYzZzvGK5UjhTx3Om6bphuPknsxIeE-awGEW8yMAn1g3aQIDnT_uuwjoZ76AonzdChIqSVKkc"; e_proxy="AcLiDVmZ2NFg02I82HfxsVYZkwDOCE30ILaPr39eagOR_Iyz6uFru6tDeW29TSiRoam5Gc9cJkrB3pU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7133904086693364?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7133904086693364?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7133904086693364?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 19:03:43: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/01/2024 19:03:43: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/01/2024 19:03:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 850455, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzZgsqnxZp25GuEzIjCPKp5', 'x-fb-trace-id': 'E6H/+V4IMq3', 'x-fb-rev': '1011161886', 'x-fb-debug': 'wtiTVTrYBU9S63vgc8YBKrY1y/aRa2lveUeYsgUbawK8/t/lHdfvJ10did5flM92+hs4sILj2zT/xXeRSGOaiA==', date: 'Thu, 01 Feb 2024 19:03:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIPh0WpB3HLqQ2Yo90Twzbdrm0UrEyX3xes0cVoRfYEI_r9v1gw8aDkBc1ip4Mt9NxqMxcTEcb1uTcyTyjEEBUX2Js7I6_6axbTJK-ieHOAnI9BLQ"; e_fb_vipport="AcIEEUs6VDyea8Dp8A5ysknuYRtob2UBkZb1eaq5wBULJTp5UUPh9gPEfBX4"; e_upip="AcKlKVs1UmkhB5rXb8O6cN3FjEG0zOYD-jbGZ5mH13Epc-0XM6ZD9oL2dfBhwT-HC-68imaHA1jXBi4p6__GmU9u3YK5FYe5Onc"; e_fb_hostheader="AcLg96E-XH1WQqHnQkFYVFzc5fuRJskmnWCWhynBdD1z7IiJGorZp_a9ojWVyQyU3vCfcC376CrOs4xq"; e_fb_vipaddr="AcJFxNNGDJuOvNsfmmB9NwMYzR4oRdWkhKRnwUXnvihh54yDXAoZZtogOqwaG8LXReRLPRb0w-DSVQZXoe5RWwzWq2vg98qWPA"; e_fb_requesthandler="AcJ-Wa1SzKFpw0VoeLeuV_WbO-Gfu8J9D0ahg8RQWYbLW2rcUXJMkETnIvQAKz1xaxWKilKHoUE"; e_fb_builduser="AcKs9r3y_baO6uvlxkWKBWyZVB3aWys2qYgS_5umcRvJ7K9XlqFlfBM2KS24iFBh1Ac"; e_fb_binaryversion="AcLhHCt2vjkIkr-KEgacFWEPGsb9JJ2L8hCiAaD0MzPP09pOyqAajOfGWdUmmGFF-MEc0EElhuPnJ9aKwm01hNQ7hPQyuvE9Pmg"; e_proxy="AcJ4vtFF8qc0Cf98UtFaSrrNETwW8fBkrxN7fXQRBCpQFtYV3_oxTrzeCdX-72kh87mwcP_xyIPyqopfl9q-", http_request_error; e_clientaddr="AcLIkCVbzwSnn6T_L8jR1PbGT2WNwY8BggrZEc9RmHE3UyuAQytgwWPlC1Qm6mCLyHQ3SA8EHf6PmmRL2A"; e_fb_vipport="AcJXjFv8p_-iY7nH1mdRgcPprUF-x7b9WMGnqpgoM8y6qXyReD0RHCLUOLdx"; e_upip="AcLrMgtNYQxmtyYI1JX7KA4aVhab9cMy5wIlUegXlSgfaUVC0iHozZMRotfRhseBr8i6kwZfmaln7FzQZmzjTLAZKqIEj_2VNA"; e_fb_hostheader="AcJhxRQZhF9TKS_txKgo6jp_3q6fKNuYth9hDXTudFT8s6c5dIpFihbfnRooiSVYuWeGpuu3k8RvygzI"; e_fb_vipaddr="AcL2Q6Fwt0QwEwA9pzNG6KEGBw2u7RiACAgqkbmlPuve-3Dvdwb-uAY3lGbKuYVhg4S_ieS8_w"; e_fb_requesthandler="AcIAiVFwFAJDRchAHxonTcXnEP3xFy-sAwIVOGbbggPNBT_fclslyW3EekkF9oSHHP1VBaVQhKE"; e_fb_builduser="AcJwYmu55L9tsQ7e-LIZK91scgcx9TBZlw_EG2Fxp-TDY7sEOHMPnoaSY9S_mq4P4CI"; e_fb_binaryversion="AcJAV13YqbIOHnRTf9xo7eJ53GdrrE2Zonxt8aqbqWnpcb0T_jcobhhDTUJxJ4tevuhY3cQFtVVnANqgc_BmpfJ3pRhxVf6muuY"; e_proxy="AcLMfFvTxVmoPt-FOsQMCdj6XJTKo_6FZ-D7aKk7eoA_-F56Xr4W96z4IuYI_EKLroxn05UVNC7Kbfc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 19:03:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 19:03:45: Error on send one message facebookId => 7133904086693364 02/01/2024 19:03:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ArOgLQJ-5JYMIc_fAWu8VZZ" } } 02/01/2024 19:03:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/01/2024 19:03:47: Error on send one message facebookId => 7133904086693364 02/01/2024 19:03:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AY7W_Q-oUbWHziOkzruwkm2" } } 02/01/2024 19:03:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 850547, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQVGmWSvMfHi_wzhouiDcXn', 'x-fb-trace-id': 'B3D936mozhy', 'x-fb-rev': '1011161886', 'x-fb-debug': 'KGHq/35tWO5irQlGxmlQ+74ynR4X2jtdwmfJqch4988BkevsDoG8GH/pbp0lUwYEUsbrp1FMNmlg6dzUIRzRzg==', date: 'Thu, 01 Feb 2024 19:03:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKh9yPpgVZHrNoVhH_OoQMxdskOnV4wr-bL4VU_t3MIoFyNkXdzfOerkh4nfydOcnJBz1sAQJVU4xEvYp6EZRht3lYQAJd0sO1kR4yhjSDvm9NmgA"; e_fb_vipport="AcLBcwag1NZeN54_Yse7M9PDm2rozyEX8eYMz36IqBhdNs6Gv0lCLV4Pj7Lx"; e_upip="AcIfiIgeBlRfRIF9pQbBdk3C7P10EZ0OfW1o2uk3G33WLJCaGFFftnyzPIlDk-dLzSiHy-LT_XLXPjZTUcEQCSz3c_teNnIvC4E"; e_fb_hostheader="AcKkQdgna8lW9wDyfBIDVkA9QTwGknMfPbcsGKC0ByMudoozC5iwmPvUuzjUMiomLjGp71vceoufey7W"; e_fb_vipaddr="AcItPi9RRWIIB3leMH7DKM83p2XAa44keYtiwFW4bDuYdNvVYiEg3AkR4khO23TsVLWWweKYEf59m0sVKeIDNQ47ualHfPlfRw"; e_fb_requesthandler="AcLH85WIK_tBatcD1wy1Ak-pdptN09j-hrMZPgei6oc-4-HvlvrO4YkODoYxhuMzBy1EXpaZKts"; e_fb_builduser="AcIgdxJWKO-vpYG6U0vUuZ6RGrEB2wApmYkAsbR1GwbBHnIdssnZq-JQzS3lU4gpFwk"; e_fb_binaryversion="AcIf8pamswnJZNnxvq42oMpbuOyAemLyHb2ATi8077l-A15xZmIpxh7tfJr2EHFGkx-uXGbQ8YX8e6jpo49k0tGkWsox6pam8Y4"; e_proxy="AcLrhl0MgdaseqRt7qUh-THI8VEBpunGZFhuiXamJG_Kadh_amiCzElTSRn8PbwR6AZv2vP5-z0mwUVUg3yU", http_request_error; e_clientaddr="AcIkEPsPQxix2Gla5e5-dWyHevz1Lm4X6QDui2JO8HETSbwfdiD8xqDcUyNZkCBmazENzfrJzoCS7liAxg"; e_fb_vipport="AcI4gNF8zoZhm_ZJFm-Wf8vHLsJ9Ez3JVTHosWxwFkRPIRjmG4M25L-aAYtN"; e_upip="AcI6FzCv2tNEbeyfr337_x1FadVUbWfVE6Qg_XNfkE2zb4lEhURE4_y45xal-5qaHxmErAj3LJQ7jWfA506i-TFm6EEOnXUELA"; e_fb_hostheader="AcK3FydC9Dh_awHz4S71GxWTiGgJA_OiREY31qyVTsVH4rQ1u2V08DM5lpBtktUKiVqpSKflT5qTAqs8"; e_fb_vipaddr="AcIemZ9BlMVRA81XrONL3sy9Nic-lVdrxsVsLfkW2I5fWPJcZPGxGMDo2eftjBX23pDUWnXHCQ"; e_fb_requesthandler="AcIamfoZZAA84FhZIKSdT4krJEwVwLkj9JZMn4Iup5iqVV4zWz5kL6Kt6C8njA1NJSA_zww04bE"; e_fb_builduser="AcKTPTs3ONY3ySuRy0n2K-vyA8KeNIjc-Pzk91a67J48C2dLh0CyKGc7a-Thomt8d7c"; e_fb_binaryversion="AcJ6RoB6iC3xdH-tcb7kBOtcbiRHoBwdFOi5IHjtU8hGVp000YjyHpC-zx8f7Cf6uHuMp5TUrrmspUlK_uQ6NCwNDvFZLSCrO_U"; e_proxy="AcLJYIAUN6Uu1iYWW0Kopa2nD_Tz3iLdyf1PockgA6PsT2u7ARSBmk3JbDKKvgTpVp1O-l9OX05Ghmdp"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 19:03:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/01/2024 19:03:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 19:03:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 850685, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASXf1JnP4klxlD_zb9iTFib', 'x-fb-trace-id': 'GWf1rbDhK6T', 'x-fb-rev': '1011161886', 'x-fb-debug': '73gUmLVBFsyMY9guYecaBUQqtFfONBfBvMmLsGb4Z6X14oWoS8EHGYoO5lV3ZEUBMRg/RUwkuqa03wvqTlPGPw==', date: 'Thu, 01 Feb 2024 19:03:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLWHxb58f8hLPh4GGxXCU_q2XQQK0Qyy5zMu5-Rk8dKTymFjboxq1WuZ96bv1bQCwOgVtYdUwKHl5cyYcaD_okBt4FvralQ8LMzNTSaewCm1Mb7"; e_fb_vipport="AcLvuQ7R6IwiuXYPA4Ev4mIc3AJdxRDU9YTyD7-pr6vp68GhVHxhi1N178bX"; e_upip="AcIa2cQ8E0koGMrWfqHeAk-qVBB-fiLGdWAMT00rsuN2F6LKc4usWKRyhs0KpAz_ureOsF_0levNVD24TjtBZvcZPV6WHqH1jLU"; e_fb_hostheader="AcJlhgxsRuvX9bsRFc_E_Yn-SFgS-MKB3uOXV3Iydn9ZHkRjSO69kV7UitFVNP56EpgzwL1yF11DjqX9"; e_fb_vipaddr="AcJfdfph9II64mSHvj-9bbKtNeqcgixFQgfSxj6rhzlUiv51QpILwIB4IVe3I7WiJvSWspAKdbnOaoOb5TBWGi-iEShLZFicGw"; e_fb_requesthandler="AcK8Ez-6__i4Yp70Y6DEhVZzYTwqUMJCFjAgJBlCw_0XCdnTUpFQAE_9eXlY_4-E_5QbEUbvMv8"; e_fb_builduser="AcLYD7Jj7FdmaBFXNlmp3kygwcpVl5kljKhs50AyvF5pzl-QJKHA517Pp6sBWe0bVHA"; e_fb_binaryversion="AcLcoEp0PzXhcXrkRdC1BmKU0DldP5qzmupi2MmIyLPQO6YUXnqbVnJz_xYjp3dO5TzOltc7Vc2erBQdvCk8IWT_fcbsWKpxZj0"; e_proxy="AcKoQAuUr_-BOSryISCzg0DPswc6qOEW5uNFWTYwDRxPImSe-MAtHTA97D9xaG5Nrbd5Ny6qmVySnt9qyu49", http_request_error; e_clientaddr="AcKSkQznWjpywJkrH3zI2CouRfT4sX1mDKHMitu8cxHYLySs3Y7jOBWKqnFdNB4aQuxdjsuE4EV51nBR9g"; e_fb_vipport="AcJr5Mk_JuJOap_h-TYSO_qbkg0rCqnoQWTSA-BE5FroUBWyQEmXgrnUYT5J"; e_upip="AcJOiJtzkpHZqakdrg0N7sVOccxyf5LrJPO2PzlT2xD1V4aCVLl8q5635nDSmjtHomo0ES-JlVK2cHYy4w8eDlzJ7AESS9Tlkw"; e_fb_hostheader="AcL5c5GgJCRDfMYI3sGiH5rnMc-cEB2qEiFEOG1f3rZM3kV8Jyh_9tYYr7YgQ3r3RSDaxQgeXuIx18z1"; e_fb_vipaddr="AcJ_3P44jfAgIFffNaf9zjgVsaCHwgOnxGAQYHL97B1b6_TjEMJ2Zwik-DyBAJ6rzknAGFQC6Q"; e_fb_requesthandler="AcIV8kc7fqE3cCasq5B3VWqx7kj81mbfON09WdYifMCoA3MmsB03QAkbr4YFyeurobFdIxKiQ1g"; e_fb_builduser="AcKvMNHbx98842ivSlKc4TLIe9T_ObLoF88Xb9CUdtQ6odyDVQ4i87BA2PfIbI9fBY0"; e_fb_binaryversion="AcKenKcNK-1J44g0cvzWoZpeXR3m0u-phOh-p-kmHBU7KaO1RlFbXMDtOKKDNsC_1j7NZHm4PzLOH30QD4YaRTOJNjHpKvRYLMQ"; e_proxy="AcInXq1jVWZcmhlLsemiFjK5FIe4EqtcrbTY821uo1N7jXm2XniPHzorVfy01a-o66KIxnh6yU7dOos"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 20:02:09: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7442335749143929?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 860504, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7442335749143929?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7442335749143929?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7442335749143929?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7442335749143929?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKfJBbW0JjqjY3FYtXozVp2', 'x-fb-trace-id': 'DdWMiR/4O+m', 'x-fb-rev': '1011164365', 'x-fb-debug': 'qH8NK2TRfuYLupN0RIu9LNnRXSm6BleeulxSC1cs66NxEAv77N2NMrgZdh+06dfgH3NxIKPy7xgMNf3IDnIaKg==', date: 'Thu, 01 Feb 2024 20:02:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKJoHcu6RHtN4pFc7-2FGQI43Odw7GOr09SIekm8UjHFCl1r1bJ-Efnt_hxjA3rbeRotRvnaaGR3koRG5BG0o8Sb8zeFycpTy-9EzGW8yYRSebg"; e_fb_vipport="AcJQa2Wq4fLA4PX3NiN3B8zeKivVoad7KY9Fvho5mG7QJenJIrApUvDxIO7X"; e_upip="AcKhsKQbELhZ5aF9o6i09uTG5ZBOfQ_qicPE9AJfVSiK5nFpcEAw1dXBZ7N-hHgt0C4zXK98W2AJpkLiy2EpTdYaUPq6qFFh"; e_fb_hostheader="AcLiP_P_7rTraCspS7vcaaOw6EfvNnS6z2TOmQV5q4cte9tODYdqk3vjZ8ZgYNWGFU9ptkj9JfxpPhkB"; e_fb_vipaddr="AcKwncxtxvbnZwM14aIOD7_B8J8lJb4AGEOEQ4iq81r_vInWRptx0utTo4Q076lqO6Mf1t_MTWOscG0N8w7pwLUXrfbV0-cNTQ"; e_fb_requesthandler="AcJ12_dLnhwK5_FDygRjA2G5o6dG4WGlbF9heVWyeF81E7Ds-AxNmH-FQj9rq80bQJt7MroBMNg"; e_fb_builduser="AcL608JLl5Mome9xvAYmoxsZKdPVuFKG-3mTYeAfQEIs_qRFI364C0am05Pch0iuROI"; e_fb_binaryversion="AcIxA28oBnbx8YHdg65ZXSm4dfrvTHdZDsTWhS-waJUIRyHCPxY0b-asOU_jZ6WmBWFNCwTJPTcVAh_f4ShJxcJeBRUd7dHbJYk"; e_proxy="AcLPZOHqePZDlr-xUF5M7LZJ2-mAuMDvenf1qlNCZo1JQuU1oUmerQ6vrVpRA9iZGtb5R-IChXgomb6lAYD6", http_request_error; e_clientaddr="AcINXtjsU4x7pz1iY0_SU05O6hEV-fAk306lt9vstvpoZ9df_1RZVYQMrL9lA5pnWREvnz-YMMRFlsvsUg"; e_fb_vipport="AcLSeqHi3tWxsbwseNm6xPgdmE_4THTisNtoBCuDjtZorjuVCt_CGL2wAG7e"; e_upip="AcJao6sCTqoQ2sVhyQUBbCNTS50d4PZSKgCTMsdtB-EbELvT_dzNyVW8zo4y9QsiBkPxeeLGkEdRdM-XtRsW6AOyVVlHn3qkAw"; e_fb_hostheader="AcI2AbV00kG6_R1qUMyK2qNASa-8bdw88z809XPRY2RtSBVQn0yioTX4zgkOEtE4P33esExJvny28XL9"; e_fb_vipaddr="AcLDziQ79RpkYfBucs-7s9oez2PUNV2PcyHdmIZZZxIflgQGflw5k4IlkXia6rhc3A-dWZc"; e_fb_requesthandler="AcJIT0eOnqQqo3cCVpoVbBkJrg3kbOt8gJiFgqZE1sy6BJoa1XNCDFwcCqVqfDukjclZmsqlMKU"; e_fb_builduser="AcJc2fVu82Ebla212CGG2aQ8XtQMsP_sSXjZzEwOBCxvzfZR2nQljjDGowhYxGV0W7Q"; e_fb_binaryversion="AcKmfDlSNAHMcF12kFq2uTmfY6J9FyzIwXEQ5V_iQHewXgWkjM-eAPDOKHnl3uR0-bp8mVu6qhq3xPWh0tJVA59zAz2tRztquwk"; e_proxy="AcI_sobCRiK881mt28d8lJBcHsouTRwTVx4WdnB5t11Bgsbn9rtPlAC4m8pjU3UbdD2DFoklKAqMgK8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7442335749143929?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7442335749143929?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7442335749143929?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 20:02:09: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/01/2024 20:02:09: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/01/2024 20:02:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7442335749143929"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 860624, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzG0Jw2ScYbE12C5_DGxZtQ', 'x-fb-trace-id': 'CxIzBWbmiL2', 'x-fb-rev': '1011164365', 'x-fb-debug': 'yzs2esH0mx9s8L+jhg/gcyuFf9CD2geAgME9WxMm0Ov8zlh7yfLyzrE7vl1oYIexXhBbFFiAvC5ByYfQEtlf8g==', date: 'Thu, 01 Feb 2024 20:02:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIDNhD2MEIlFWWf5FuA8d8C6eu51Nd9H2DaL-5NmytlyhcnG_rcjFmh4KP3aac2_FDET4RXOisAAv1jiEF7Ace8_bhcyaJjwfpmoTWRTvY0q1YgUg"; e_fb_vipport="AcJxy2NWLrr32s9AGo4ZY9E6ai0dun9mqk84BLxL4IBdDfOFLymh2axQ1umY"; e_upip="AcKXOe1wW0mfGmcwTEwkNh3UTqyNXNIgYHUvtvi3gIDAWuY8I0S-QXgcWdPdCNnTU157hJUn5mrY591rYRG33fhjIlGmYe0jtbU"; e_fb_hostheader="AcJDFnQoYd8wVyDB8Df7nFIY5kng5hxtPGwwB8C4pso5yGdh1T2_OJ747G6i_a7H3ULh03ldMvNxa7jr"; e_fb_vipaddr="AcKJqLgFgiTlvfGTpUbD88Ivn5FSgxc1ba3Oz_zhrx2hU_nfo3fppCPuWcYs6MVn_fso8RIZ8uJc-T8ms1iSzDHHmXWbZkWH0g"; e_fb_requesthandler="AcKvkudicjmcTnV72J12xQfmWabWuTHDTRtBH5-aNxwaMQEIt3DbEuwBk9VNzLjUjA_AvAnC7Ps"; e_fb_builduser="AcKOUFbTZNL5mhuUwhfxsyV67ivwrrAOM-YNsLTsQ0wUUo30Bv17GEIlkmqzyUgqyzU"; e_fb_binaryversion="AcKg1B0Nf9ClqejsQ53xsWg4gyuZ-MEVSzR_b3vnO6zeiRbXOHF4s6CQ_NWansX-lkdPBqtQZbTNWqcz7g7NpVanW_VGYxm3gjI"; e_proxy="AcLSiodPaMqjvMVlSoVdotGzDygOzz24_Pn_OUN6lUSqgdvagbM_nC-PzK5_1RxBk_WBWNXiEB5YIJiJHc2h", http_request_error; e_clientaddr="AcL5_SAMqfzRSPnNYEC5uX-dviCkUahyMZ2sopOoz8Tr0FgpW5IVts_84QPqmWqp_qchqw2xX7aevUZotw"; e_fb_vipport="AcJ51dxXVGVPJEeLtAl4cwwihAITJ2-ElSzJzZkSOP5AkJO3-MoFLTpOGoRp"; e_upip="AcJAFMToYNvyuJu9xYe9yIgPIFaKLOnJAqi29f8r9-GUnG23FKuFhKY2kB9Uhhbs0EkZnpZgZNDHOgE2pU8rwFTlfTHfAboQqw"; e_fb_hostheader="AcLVDrs2Mjy_0GkA-FtQ9_t7FOAbHY2TgljjsEo4I8sgrKysxW1mdWsUOJwcxMeE__fTcvxBPgXe0K8D"; e_fb_vipaddr="AcI7zrHKiM8r9le9CguSl-tBUeWcdAOG1A-lHw87Y_5z-ntlFscwRKRbFLAZM9iLvO0Is6Y"; e_fb_requesthandler="AcKK-a5LJFWkFe88UnlIh_yfGpG7cKXGTnzPzX86lLXD2nE9oYU2vjZHb8bkXqw3iu9gvOb2aSg"; e_fb_builduser="AcJfdFKc3jgTtz3bI5NPL2vA5dwxpBYbVJlzYTw_lP_wp5yH5FrJ-wZJEwysQM6fI_4"; e_fb_binaryversion="AcIqCv_MesHg1EnssWhkMasJUXqEmAUvnXbKLUxvtyMP6cmauC-GgjXfYxCU8m9lqwQlrQ3R02EwNXI0jQtu1G7aRU269gggCDs"; e_proxy="AcLxkc8I8owYbnsQ4fCOC4fDyachjL0Ca0KbTJ-iG29N5zDMPMPrfTJE3a51317N4ZH1G2yN4RAhOWQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7442335749143929"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 20:02:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/01/2024 20:02:12: Error on send one message facebookId => 7442335749143929 02/01/2024 20:02:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ACwkLxRqW-6cWhe0wK52mob" } } 02/01/2024 20:02:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/01/2024 20:02:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7442335749143929"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 860728, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATCEQc4nWNoZcWYrVNk5DFO', 'x-fb-trace-id': 'DBOdKKRlzn5', 'x-fb-rev': '1011164365', 'x-fb-debug': 'k2ZGI+Y1a7bK8yMp0/Dv3qd1owlqGU4xPkT8m+GnJ96LgPpQoPBhfeTAvsM6f3tgN77Z/LlFSpjzzp3Sku+Pow==', date: 'Thu, 01 Feb 2024 20:02:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLtHPXlG3IlogYlBZzlaPUOMCcTzVk7rSbO2NYB0fEUbFE1CCDvfmVi0gQQm8olL0lWleGOELnUYRPohrO_2VM7Giq_7kL0QLHWFaQdZEDYccde"; e_fb_vipport="AcLOyW3XtwuYzf9g1nlEsZMq-Zj6xxWi8nX_viFpcilKrTKhzKrwCvJAI2XZ"; e_upip="AcIj_AShcWL9iwPeYdbyIkHycVqUjua_YDzIj2Q34gCROc8LRcGB5cWTkpLvHFO4edPvLJFPGLk4r7VWvAFIzWE45M98oe9-ew"; e_fb_hostheader="AcLT-x140rO-GpgfG-ZUb7MsP1XgNg_Pspuc2DzbeHJFCMW-y5AMSu6QoFvhV9XiXQUzqCEy34-nAkHE"; e_fb_vipaddr="AcJsMMBSobJeM76_ZFjxlRWlcIQcPP53l-QkyXVv_MAkd6j3kwuopdPCAuYsr9boT9KBvkN0JCQ7Snh3MIqgQ0ezwFhJUNFmeA"; e_fb_requesthandler="AcKg1bgepdiWQvPKXkBWT-8ldPWZqEJ4M0nBiQO12iJ9G_E_OWwQ8BHYBK9_D8B9zMX1ArVQBoU"; e_fb_builduser="AcKVIFDJqRzsW_AvMyl5j6ReKVCvgSosT4hScxAHnf3xTM1b7-n1dHqNSpD73CUrarQ"; e_fb_binaryversion="AcIiBl6L-rOQUFr8GCp2jSIIgqUZdOl6fPrJqMsJLPoylokCJRIamA4wUO0fE3s316vreuj3od62Zjepbb3dTJtDvb7oxcB1VCk"; e_proxy="AcJAC_Cs7RyXYb-3Klcd6xscVyt56lb8KbOnNpiE5R5iIKkgqMeImEdZmQZH9EmPNpx10jRtk_InIFYz76L5", http_request_error; e_clientaddr="AcKTUARJq7fQyb6ZoyDQBLA8tqqmZ4ahUBqsixQuWvS8C0sZwOl5-qrXxVeQOocBXqiJ6Ayq3QvfJ8ICAQ"; e_fb_vipport="AcKqIOfHF1OCqtNQRqPcjeKP9iycKY1yYmOO1Wt4176UVv_X2n5qaYcxKFOD"; e_upip="AcIHaGGG8M7B4oPNqdto2wbroqVQ0E0IK0J8ULyH9YnQ9QKx25xTnqU4I1QNXN9Sv53Sj2AZwvnn8NbBdxOX4tuON4eH9eM8yA"; e_fb_hostheader="AcILIRsSSHmE4QiuMR2BH-gwjR6kpAjPLTxpmmxkXWHnv2qYCPtpo3T2fOfWB_CoFg4hjc005FgP7pyS"; e_fb_vipaddr="AcLWuwIldzMT5UUKAclbd9jTm4Onq859D-eicEnpzFWl9zX-z2gq8SyytdbKzrr02PhyXF8"; e_fb_requesthandler="AcJ5LomXdlcId8U8yUEbCmFQsoHxzmFSvd-yquPWGF5OEa5bbqd_ThefHRMeilbCaD4KC6obk-0"; e_fb_builduser="AcKAQ7b7b2_SwC4_KnGY85MSmTlF3c7JFbG6eC6i6sZq0V7qEYk-y8jXtyWp85wNJ3w"; e_fb_binaryversion="AcLEvTzj5O671h0uOVfj-bKHSX22WoVn_IwumoQrcSiH2CYECXXewIjbLy2ndRjHR5xb5xymFtW8gmCwcKGWm4n-odEne3GE-M4"; e_proxy="AcK6ACbI4wNqC1tn1V6P8UVgz_2mkm--5IOUY_HSyUVrDbobznDxUyVcWDk9vgXQXP5MGuOBu8Telfs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7442335749143929"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 20:02:14: Error on send one message facebookId => 7442335749143929 02/01/2024 20:02:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ATJNy-1RwfSWXC6Q55AoPAb" } } 02/01/2024 20:02:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/01/2024 20:02:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/01/2024 20:02:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7442335749143929"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 860867, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQrGfJGM0NgH85AKyTaIKuc', 'x-fb-trace-id': 'Dr/5AUHQBYg', 'x-fb-rev': '1011164365', 'x-fb-debug': 'i3JznaJFJGBLoztO2lJ+nurmgpnzTC8k+Ycbz3M1UUixcfhvxlby/Oqsne1WGwJM+EBB5DjcT4/7b0wRuXUTKw==', date: 'Thu, 01 Feb 2024 20:02:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJz1tRAb64sjvFTG6L3xTLPg3opqGkc4Z5oByhoIKj8x31fjw4DOvZzELX26uoXqnBxAvpWH10fsZExxEmyeBsi-GCWFtjdUFebDK7dU9z8IWno1Q"; e_fb_vipport="AcJcvNz_OvjyNsKyyZBVQyq_P5qumCEWIN6BFPw5jF5LdbCzSAOZMETm5S8T"; e_upip="AcI027xyve6klXuzudHau2d9c7LYLbSkCV61L5IowEkBJaB4abG8iT2LPCQqFC1jnoeFkVmLRt-snywFPwvkS6jiZDJ0riUAXA"; e_fb_hostheader="AcJx7T1MJJEgWMQWY_o5Zi6NPKm4KReau9zj0DkLCe-Gp0uzb0W6zxL8epthfU6UfNlj-Cdxh_rJLTxT"; e_fb_vipaddr="AcL-nH0qVdaReZwHr63dWapgzN3D8-6M6hidlCDViecmXHU1IyB12N3osHK6wzwiMsWl68srXQVDQXOKiS1aC8OL6wgsTA1hww"; e_fb_requesthandler="AcJiSKlBgtCuo02OAbEiQQwehKHI1b13bu13GkdDCoqPnl02aQO0Nqf2XSp2asLBU-JLaKOihuE"; e_fb_builduser="AcInlrmKr1596vGRr3H05VwplMjUH67tTMOs7fEPK7VxS-WlOTW34jLm_oVinUcH8oc"; e_fb_binaryversion="AcLqbtjzuFq7T5fkwj1k_eekkbu5sv-xOUg9FX4Deryobs5pxuW6PWKXD-g35KIUxpO6Ew8aqx9-RD6iYfAZywL9XXQQaV2CnII"; e_proxy="AcINuX5OljD2QqFQJPq19dRC2iLYHaqAPUX9gNTkAu6v7dEv-Tp4TQS8MWAd8b7bNPPy237hbqt8hHd-LSEq", http_request_error; e_clientaddr="AcJllKO154aoFFhyedEtAgYKbhxznjmYi8R-Wb-s00Eel5Saoy31-8uk-5vQFvbOGnPEoJ0ZZiJmVm7MRQ"; e_fb_vipport="AcLxagOHq3K6XPW8r_SrdZIMKP6Sh7YnGmNiINLeSyjZpzuo0QtVt0_qF-Kf"; e_upip="AcLHJ3XuJBAut7rm4MHgiJO3oFQklrGigFrCsYYGq8F8--KSvV4tR8hcZwKXEY9PUtBTxKqHOxyxUUIVuzpy_BBx89UXXMf5TQ"; e_fb_hostheader="AcIEKMic56kxcOTnGPAp5F_pTXn0TM0xPjPtJq9_LKnh2m8UJxnnWHze13UocYFn6UpgYeP5yqb73f3Q"; e_fb_vipaddr="AcIvIgQKHBIH0F_Qf708w_NnmohGibZufp4yJ4HI8C7enfiqQiKTJBvTU_14DhG3-p-nMHo"; e_fb_requesthandler="AcK8veMSWNdkFgqD7QpisT_BgN1CCRiX5D0jH2CMG7ZIMu4vr9YddsBwsvbTjJIjtYcgnR8hxJg"; e_fb_builduser="AcIVjxIalIELMUlQ7ZKo4nQA9o7tHToCkKPH6zbBClrLLwIgfc67QJNWlLrOBswap_s"; e_fb_binaryversion="AcLHDeE1ygDl-z60At63QVomlAuU66KLgvaZTQOztuVitx8HNd1rb3UrS5W9rD1PaAqrheEAVUeCEy4S5Il-KAhcui993grKIzA"; e_proxy="AcLFalWgLKV6a_YD23B4Gn9ikcPKfSDiGm4Amkq9CQGKa67ZVhzQk022BUmIQi_4Cbqliyx5W-sW9LNH"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7442335749143929"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/01/2024 22:36:48: Request bot not found: { id: '263700267026552' } 02/01/2024 22:37:25: Request bot not found: { id: '263700267026552' } 02/02/2024 02:35:04: Request bot not found: { id: '263700267026552' } 02/02/2024 11:24:39: Request bot not found: { id: '138868933458303' } 02/02/2024 11:24:53: Request bot not found: { id: '138868933458303' } 02/02/2024 11:25:09: Request bot not found: { id: '138868933458303' } 02/02/2024 11:25:37: Request bot not found: { id: '138868933458303' } 02/02/2024 11:25:52: Request bot not found: { id: '138868933458303' } 02/02/2024 11:28:38: Request bot not found: { id: '138868933458303' } 02/02/2024 11:28:49: Request bot not found: { id: '138868933458303' } 02/02/2024 11:28:57: Request bot not found: { id: '138868933458303' } 02/02/2024 11:29:18: Request bot not found: { id: '138868933458303' } 02/02/2024 11:30:29: Request bot not found: { id: '138868933458303' } 02/02/2024 11:30:36: Request bot not found: { id: '138868933458303' } 02/02/2024 11:41:44: Request bot not found: { id: '565033343594012' } 02/02/2024 12:40:39: Request bot not found: { id: '309967135747121' } 02/02/2024 13:59:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/02/2024 13:59:11: Error on send one message facebookId => 6702902579819604 02/02/2024 13:59:11: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKy9Rxl9_aATAdITDnQ3NEZ" } } 02/02/2024 13:59:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/02/2024 13:59:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/02/2024 13:59:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/02/2024 13:59:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/02/2024 13:59:18: Error on send one message facebookId => 6702902579819604 02/02/2024 13:59:18: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APE25I96btLsjRrtydsFgM6" } } 02/02/2024 13:59:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/02/2024 13:59:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/02/2024 13:59:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/02/2024 18:38:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/02/2024 18:38:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1089449, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoO0tv9XJJt5AiQv7d6bzr6', 'x-fb-trace-id': 'HGUogg0J+JZ', 'x-fb-rev': '1011188031', 'x-fb-debug': 'GcX1tUZV4h69zyEQKPylnTHbDaQ4VEP0/yGZa5/1X8/oYVnj9NqEfEpIRYrnxqFAScMmrL9X1R2dB2N7Ujnv9A==', date: 'Fri, 02 Feb 2024 18:38:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI3VrxirfMXY5YC7yeWQwbP-rxALIZQ9WhFWwEXXd5ARi7shPe6Mw7teJqVsWFUyvf2CrltToYOc-rJX-ef-htuEyxT9SIcIMWgyjkzgJ4R2wcDCA"; e_fb_vipport="AcLWN8tRfQ2hjijvt9zcMK6mT6uErgGPeg2JuVbItgSbMcyniyCzWpqqEI4D"; e_upip="AcJ2Ly5sqKX7L9wmOOKJ8-UclbcPMtmiVv8t5QH1F8ZqMugd0xR3ZMbpmy1mHdn78zMgCVZhO-vYnAUdWGlYEEpeUCHiJchIELU"; e_fb_hostheader="AcIBkLXI6uzHnopKkgp30yHGmGE0e0YfT1ce2JUjU8JObKKJ_L-rBlHNeryt7mQNFTe75EVBKw-pNYli"; e_fb_vipaddr="AcKcf-z9qGyHp0XzNRF-bZApsVIpzEG8z6r2sxKq9635jYad3cpC1oAz1XdHjyQ5EyTQ0nkCz-_xlKn0qHIeYznm6fwnUjjpxg"; e_fb_requesthandler="AcKR64L__8bbWDzRB0LslRzRZ4bTGs_1FxY0hEzRji_Db-RpWCJbcwSaYsrl5Nv5zHNyU681W5w"; e_fb_builduser="AcK0Z1BcYTVvpzdqttG-UrmADknM7PjZ_w-id4zXlvtsTRmpKwVbLf6gx2taMjG2b6c"; e_fb_binaryversion="AcIVn7qNyXuz92DQMWqLXUyjimIEfOh3C-YNkhVJKW4HFY6_0LIQ4Ar3o5nPPn34cmP3MAQabFoJU0-yLeB4udiw77_z9jbO5qE"; e_proxy="AcK26OUXbNRkfXnJlDBAhZ1fC1YZ6LX92CbOox-up-3FrL7kRwHdLW1rebFMSBq7exe3swKY0_IOb8n1n4cP", http_request_error; e_clientaddr="AcIF4oOpKXIP3cZWIco6IJjGufstobNtOcdTldqg5ogk3p32RhhFVXZMYDWkdet46RUgEZDVsFN0duqYOA"; e_fb_vipport="AcI1hTBJVw2kNYyk7W7hC1r913aZvmuQcnzRqSgaje4_oSswFugqAth9bKns"; e_upip="AcKrHqQPcDp5iim2TZFF2Db_YKzjvc2RUjbZfdaqjPvm3iLqjeEI6nzeM1kY5CkyIJ3_gOj0saoYQ0SKTFYNXY2nQEX7jh3rLQ"; e_fb_hostheader="AcLxh9uTv-TB3p3-Um6Yu1fCaabU2djJQjZ0atwxL_vsET8fEUTxJWH3bJUo_EFFIb7lvpNNiXn62FwT"; e_fb_vipaddr="AcJpbUfDWRBYAfHuI14ze66HLK9i75JKQbnspUO9xMptPUtY-mb_sntrJ_OqcgZizVsRJlw"; e_fb_requesthandler="AcIZJyIJ3Oc6_lydHTyJDlMgEaSEFrEOtNN0ICre20TWG_8Gf8XUp_u90IC3NvGSa15V5j6tEWw"; e_fb_builduser="AcKHYkhNs1r_p94GqizZQkpYRWxTNy-rpmkyvaKF6nJLcUYGF7kEsKB82ZukWQFAUq0"; e_fb_binaryversion="AcISlmjf47IbLI83E04d9_3cwZY4DFI-mw1zEi7BnrBJ-lJ9Mf0E77X-r2YLuPa3wfFJYtTdLGkRueMI1R0CMxMH83kFIgfrtlA"; e_proxy="AcLNs1xcT7rXVv6jaTz7Nyu6yfSv86JrHKgQ9frix7Fl0MCj6MxJOBJXXzYxqWz4W66qkVgdSOOqheg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/02/2024 18:38:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/02/2024 18:38:25: Error on send one message facebookId => 7133904086693364 02/02/2024 18:38:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AsARoepd_ksijXB-2p0012u" } } 02/02/2024 18:38:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/02/2024 18:38:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1089582, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAK4nSP3Pg8TbQ475e0AWz3', 'x-fb-trace-id': 'EfCYpXE36wB', 'x-fb-rev': '1011188031', 'x-fb-debug': 'xz4typeKkjGLddssucgjIHsLntuix4lzuKsCTV1gim512kHXFhsHk2TN1mucyQU0ZstMhGUNmwHbZUS0KhbmIA==', date: 'Fri, 02 Feb 2024 18:38:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIzafsnJzW-eDH_3gmLy_vngNhMTzd7A_Jct5L-ksoMUe4A7OhLTADOkIIt0FVcsWbQBjzhY-5urgZdVOSN_Ytvy4lycsr0lkg7Kl0ei4UG2ULsCQ"; e_fb_vipport="AcJArqQts3nW0dsjod7tfBzJ-qvJyPf6JA2LxigGmlQufjzJOKpvjOptAXbR"; e_upip="AcLel03YDFc-TM7SoZMU6_EiXe21YAxfYVRBn6BG6sfi0nyF8CWdiDgC8xy2SvCuN4KS-v_lqMXfl0R0MUwsh7qszfFPN5OXeA"; e_fb_hostheader="AcKCfs_sQhtOTXh6WnkixIV9JY1u7uk1tm8BJOPW4uxh5F4oWxY2OL97QVbqQoS-hjO_lhDpdexmf5mm"; e_fb_vipaddr="AcJgN8yJ7GND2Jhp_dmFmEINnv6t0S-iNNyu_J5ObP4vod9kFwJNY144SXbQO8rlVe7D4eaj36FKvH0L60cf3rDAQH6SQ9JSVw"; e_fb_requesthandler="AcIR-4YGyZAZNCaD-rBXuJ_-kGIHlMSYKnp1jLFRFU95ZiGro1wNEiknDalyrh8gUSPm0Mejb8A"; e_fb_builduser="AcJKe-JvedOa2ZkhWqggW8Tx27n6iq-Vk7n_Gg7LkjEZHPYJ3oyg_mu-INM2H38zHtY"; e_fb_binaryversion="AcKCvrZAC4FGlmtIPvbfl2piUNygLKBFwmoSn1PHyLrlzKQ8hSMRcD0O13PxjYaHX_4emIKSrDsEWftWpc3w8_4M5l-UTGZcPhc"; e_proxy="AcL2b-tYYJIjordRLYd57V__oSTqewZ-Vl0gDp4u1UntSLOanmX3K1mwd2pzHkqTgvpzr_aKswqmcTEhYnr5", http_request_error; e_clientaddr="AcI-Hf5TQb40R_I63A8DELRsc_39oqDQ-Y3AiafLMrp9X2KzQS0kAaN0rCDmeVoFpN1-5Ty1Ve4XLXg_aQ"; e_fb_vipport="AcKSMhwrjAbCeHUceC335RSzHhExmx9Xp3ROTRtawSAIXODok3bKca3sP3K_"; e_upip="AcJCgZzUpZa36wYvSaav3PZltRjduNEadN1UfJ4i_p0aYbNp8vqOtCeUMrsQA12-F-VVwuH-5g9fiZEjAiSwNtxWJ-cCoLIwVw"; e_fb_hostheader="AcJnRZbGNkOFv_3SNoFg08NnclgCfQfhFpS9-lT2IddNb5CBE5p-ojKHgSla8cYBRsA4xn4p1ledADs0"; e_fb_vipaddr="AcIx4EkLA2WBJpr79ydm4UdXH3YGm5AeqLbU-741XOMhvEGY8FHMgeXnPSQZxJksASK8lYM"; e_fb_requesthandler="AcKWrTavgaB0QZPn5mgWopWSn_F4lp49SGFu5m_la6NUqsB0UM3k4o1ZSW4qWt5U1wUUHDtUG5s"; e_fb_builduser="AcJ7GqyuYMYqFM-GK7nVd4sXq-wtKxwgljCvDW679-VBU3R-zHyFikT2VJ8weIk1vLQ"; e_fb_binaryversion="AcKFp6xSmDjqGD0JZRhYUxI8xh87u9cJJIaJv5c46sRCjVcC17t1ZpSt5YJSW8jYLmh_-bxB8jHsaxIRY9z9bofDNu91kIn63Zk"; e_proxy="AcK72_nc0NXTL7acqRV8Hk_gGxYbocZUmVZZ_-12TJ6JU6nEaG0idmA2DWU4FSQK9Hs02B-jns2YWv0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7133904086693364"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/03/2024 03:37:57: Error switching inputType 02/03/2024 17:17:10: Request bot not found: { id: '263700267026552' } 02/03/2024 17:17:15: Request bot not found: { id: '263700267026552' } 02/03/2024 17:17:37: Request bot not found: { id: '263700267026552' } 02/03/2024 21:40:27: Request bot not found: { id: '263700267026552' } 02/03/2024 21:40:41: Request bot not found: { id: '263700267026552' } 02/04/2024 14:54:02: Request bot not found: { id: '173905809808323' } 02/04/2024 14:54:26: Request bot not found: { id: '173905809808323' } 02/04/2024 16:21:03: Request bot not found: { id: '565033343594012' } 02/04/2024 16:52:58: Error on controller payload Input Treatment=> type not found 02/04/2024 16:52:58: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5348316185214730?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1554489, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5348316185214730?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5348316185214730?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5348316185214730?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5348316185214730?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AspzzDIWLRpLDGNmhL4IAuv', 'x-fb-trace-id': 'CFN9bj49e8x', 'x-fb-rev': '1011212987', 'x-fb-debug': '3PwiI/Dc06HZyTzloMsvL7dt/E6B+nTHGmY5lSqLd/wXYrldFK6Ec1NVxfm/MaRV7FyNr4vUna0DdpaLrd6cYw==', date: 'Sun, 04 Feb 2024 16:53:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ2pJ2NuSCmNA077kILrEsMVnxy6EtgeYQjQpH_qu2Tvz1BLXVXtYc9QIBnTpTd7lpdVWxIv2EN3qBN-pt15c6HoFeuFDhxWjTeFFSxawo-iSYX"; e_fb_vipport="AcL2rA_pqrsGF5TfGxNYY1GsAHfz-nXry6n-mt2PpjC0km_vyqBvKPEtwlyv"; e_upip="AcIeYTRbIEcdMTmgdJstsbKwgPM8K9uYh5cVhH5CWjYOV3wUv_qwLUscwC93wxqJYd004GTmP7xM4eEGg8GLEUQxtFjNoLYBXTo"; e_fb_hostheader="AcIO73wZX-xL7-ECp2NYWszaXvSYZne6W7hyZyH9G0evzQUgyDUl9f1ShmbNj6eQ0AeiqtEOR0-k7TFA"; e_fb_vipaddr="AcLWFMdoEAj8BkURIbx6JEzvceGTpkQ4sIO_R1OEQ18n_AiJvix_HvhmWoO5Fj5cOMCzAHH_f3DFm7xkwRVHZaZ-XFfqyxfdaQ"; e_fb_requesthandler="AcIrzfe1CqQAYRB2VpqOcSk4ZOmH8TPBiTIWIE_0k13Aj8SLA8KMdIO339fiCpJxnxeX8c3BRWA"; e_fb_builduser="AcIgM6bdUnbhQ6l3v1qdavXzwPhgJOcwFG0vDzh8gaC5ub_g2QPNDWxsAzkoPau6SQI"; e_fb_binaryversion="AcLio7zsKmuA8jPeCqKAYHZzKEStJJGTK2XIoZt9PJwSWpcgfvvH1tOSBylKwL9WuDeaD6HnjI-IPp3gOQqDGTlrfja3r-O-p4g"; e_proxy="AcIPnrvwVNWJfz0hSDHcAC9-pr_MpQ5Otyrp4ACC7QnMN17AvKSSFBQHCANKj-Xe1JN28Hlpwdtts3yhc-B9", http_request_error; e_clientaddr="AcILmWff_l47jtj-8_kLY1rx71gJxKtTX8XPeR26_gWtvDSkH8sq-O8eypmlheawrlvHVWSECDCyhMP3ng"; e_fb_vipport="AcKBVMcZAD5QCGTkdqzEHkyUu0dir68X_2hK7-I9QGPXuvSSBOJCLsBSQiZv"; e_upip="AcIaDpTZv3RswwWG2KqR_c5QJa6ep8gq57PBbseVCwoh1vPKsTFyya403CR_nzaUhvFtmjsuVl5OELyDt-J1LHtcUMgONfEcQw"; e_fb_hostheader="AcJz_fU2IfwwbhWlfCMfPTS_IR178N4LQdeWefkCg6_q4XYkfcJgWLdSQME_0705xtwzOi_iUlKa4TYO"; e_fb_vipaddr="AcITAe3H-XI1X_P34XaK3veMHbpcOW6ItChsJuShfC8_LFBbBDC29reNeO6vojZCMEMAns0"; e_fb_requesthandler="AcLvhHnY_I_kV8sgbkAV3LLm833KX1HzbrjzUjpCm06Ea0IicHmogB7L9yd3Vmdx0ddPWexxgnI"; e_fb_builduser="AcJHBTIP9by2CLkVkFvT4l-rMwRh6iFOosuixbA8KsMI_NBJPJxLSoPuvsokiwy2638"; e_fb_binaryversion="AcLQBS2kcnvH5qUn0fDqMRsbm89ipwCAoKJmToAB-bzRvdfkj_4lecFwYF-H0yqGQ0zkc8eMl1ocVQkYpn8jMkFg1iVJlHp2Hl4"; e_proxy="AcIrcc7cEESpB9_ggjkQgc53qqcv6XtArued6F124Xg-0ujszxkzklUejyhlAoVUxFZYJj-PvsW3Oxk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5348316185214730?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5348316185214730?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5348316185214730?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/04/2024 16:52:58: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/04/2024 16:52:58: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/04/2024 16:52:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/04/2024 16:52:58: Error on send one message facebookId => 5348316185214730 02/04/2024 16:52:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AFU8k4wVJ4mCKfEhK-vbqai" } } 02/04/2024 16:52:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"5348316185214730"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1554607, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARFbEDK_6gJ7jaCBuyRX9Rs', 'x-fb-trace-id': 'DCbCMT82nzZ', 'x-fb-rev': '1011212987', 'x-fb-debug': 'iNYA/XVF6WhOgm02qKfiAq1FKXfquoG2DA/3UJfKbEgIsg25CXxFU0bTM7jMUf4jbfxzchTsuyDRXKZz3K2QRg==', date: 'Sun, 04 Feb 2024 16:53:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKMtRNFFfDMIWZEDyLpnhzEhQ8DgKKd1vsv7uxpPb2iNISv2JOHc-efh-DMujTvRGtjSVH50ag9tpi6neQv7j-H66u4EOErZjfuN5-as9Q6coGb1Q"; e_fb_vipport="AcKtb6tO3Z2znYUFKnXKanU5RRZxnpsaHOZFHPrqfnjVdRd7SuElp-0SXNcL"; e_upip="AcKlJBeTOJBoskr1-iCh_netKxRQJ5Ds76mW1XBgbHnWrYqgNwz2Bghn_A3ojuBOMbdvr4-7QxxiSp50vQktowFxy1QEy72ZLbU"; e_fb_hostheader="AcJFPqllkVbii6hGtmVReyuKMeIxV8ytiwrCkoKEmUaQKoT5AMY3EKsiay0Va3e5JYNf1GA9--VglsGN"; e_fb_vipaddr="AcLT-cXS2ScK3JwU2A_gJ1JxC3bCBPskbpddvX7FN5PxeG4xxCBpWd6vZyO695362qFuTjbozInIExcdcKXybwQz-ogZb5oo5g"; e_fb_requesthandler="AcJ1uZQcmSbBSQDKip7Nf0oxOeX6XpN75_DG-kaTOvIGDkNqluuy7KgAFrEvbztov9Maqb2y6k0"; e_fb_builduser="AcL3wJ0DBoDyt2hbYuo8xp_YyEKBhalMu9MWJDrMajoR7mbTaIdtHJohW7VYclFRSe4"; e_fb_binaryversion="AcKs7Iekjuji6dj9CmC8AKCwZDXL4iY97BViPhXPw4JN3DXfWshigyqgWcKAke_WQ52htoRmzdeWbsWz8fjcy-Sysxby5AmexHE"; e_proxy="AcIOHyXfaovReq3WfNAsYXn54_OVSbsamNjahJij0m063lBw8BX39sUYBVnRMDB1FY69IX8vzbu99G2BYI_9", http_request_error; e_clientaddr="AcL9LG_zuqW9wJ4ApZiiXnjFyTRbT4jTLE0MXktWfHHPxnhXrhkB7lypIu2Qh1rERxjEptfAWpfmLLPZyQ"; e_fb_vipport="AcK7zn7LYfdUtQgN046EWW-w0MeYTeuzE0hX4qJoRVNHtfHfeefkUWdl0mqU"; e_upip="AcLIbGUChJer94oKEeHBvN0RG7c_wkfosQlHgmWOJUJ5v9tZlsYe2KzWHZg2-Y4dxsU8eF9_tZIY8_0oJ4C6Xvkppq_ghGTZ-Q"; e_fb_hostheader="AcIDHqGxJWHtEC1FVNbb8a5u6LbKpyeRklb4SZzZq0kcXJiqkSO2GQuEXabgwVjuqfHBB1qR_5MV2810"; e_fb_vipaddr="AcIxlQ_eHvf0T_iLP1OewlPURyDHIkZG78REIDWiE48bDK5TjtreCOfFcr6_4xTvPI3u_mg"; e_fb_requesthandler="AcLPsvMT66aTF4mM1mAg_-zLT1gu9BwDVk0yB1ycK3LsVzKBe4SCp_Q_8OL-skqQTh7xWHyaMlw"; e_fb_builduser="AcIvZ6gWUMgXVF0UZVSYH4TuTak8qQaWpVSCYGinkNBUeeBUYXWHSv_MGRflaswuaf8"; e_fb_binaryversion="AcLrt_LtY0W1Z_hNBXsLHNDzJSch5f0AShTOeTYtk2rxJEoSZNcYx23-xlkM9aKPb_GeWUKCMPz4T97BzWGnzAU2dJylviPCBzo"; e_proxy="AcIjij-VP9PaikjlderssztdtEmdwlNHudRySoN6TfLVWGYiBQ0VtqmJ1VE_aHsjTPwW67u2OH5Zr5Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"5348316185214730"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/04/2024 16:52:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/04/2024 16:52:59: Error on send one message facebookId => 5348316185214730 02/04/2024 16:52:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABEIrM152zDvhkIdOVeKr-C" } } 02/04/2024 16:52:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"5348316185214730"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1554680, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIcVuSxFtfPCHCkiXUNzLz5', 'x-fb-trace-id': 'C4TFB23eB6x', 'x-fb-rev': '1011212987', 'x-fb-debug': 'ANcSqA/ScgeqD0NJYH5pRbNULLo+ZXTrC2ICrVWrZzfwwlOD3ExTXCw//A3FB4ngARujNIC7qgO4ZqeFrYfAWQ==', date: 'Sun, 04 Feb 2024 16:53:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJehMBj6K5ePDQFKA3xnu7OtHxRKFx37WfcUgBuIKwYEuMvvTZcGu_f3ovmKNxIDO7-_hJBQMtmIRG4FTP4VSNOCybnlYGdBtmA99qcXvgxUttDOg"; e_fb_vipport="AcKp0gCZSinEyXkVHRqnBC5VIuaihR9CRAPIGCvctRgupYX-Xpdr0xyVHX4d"; e_upip="AcJ2Xw6fklIQ878XGkcl4p78UIp9uZztLMdcsHXIDxxfa9UziegbuYJKxWWW6k-HAEOJnRag75oTkP2YwGlBp5P2ciEvs3mBQ_Q"; e_fb_hostheader="AcIVwIAvLOR0REiCSnVdoWpRODFW87dtd4maMaJk4vwoVohH70kso6VmQbRcyAfKi6gAKyImH4qjFSp_"; e_fb_vipaddr="AcINMEjbO2QFRz-AAVBO6uGfiu1CSqYoNkWr50Lxr44GsENQp3lq1TmSobWwm1-_IS1Tp_qgE9Bz0inwRxRswNtG1C6qSmhCTg"; e_fb_requesthandler="AcJtP4MOoO7mdHe2vfBAc3tmFSTacit8bpoKv4UBV_NXDxfB6We8SUFPQcZnyxSDvxML2Pf9oOQ"; e_fb_builduser="AcLtFnZRcIq7qs3Oj4k-SKSevmtlUTe2bVHJtc2M_GeYeNnco5cUF4r-K7rjHQtyZoc"; e_fb_binaryversion="AcIZzqGWR1jGqcIgBswYd_l8ay8KpiJZp20yLiX2tTmG9NQYX5XO1jTtEZ4Hg8r306qw7XT-s6W8401mWLe2Z6wbDjZm30Aoa9U"; e_proxy="AcJD6p0WhWIfTaA6Q47zam5x3bHiuZwcYuvt_cLIVFJoNF3Bgpyydc-mzeniOnWKR_ZbaZUWjT6GhSg9wtkM", http_request_error; e_clientaddr="AcLcPd4VFFBfWS0IQva2dKL5VyAO2H9MFUDwckBon5OtLWgFKTEwrJ5ogoHedfRgtNhpXU2jB3IPRfkqUw"; e_fb_vipport="AcJpZqUp4ouqSK6TMyL3JRKOoZ3aTwJyraJq3yFgYIKd-u-X1524jGNYq1zf"; e_upip="AcIGkOQWg_hd4UneMgeOfVkFGgR-bK4L2eZ6hu0U6x6O4iI71kX3MXxetcq_SZugQfjVQ0fn6AMWeBlr0evPt249oGan9Z8EHw"; e_fb_hostheader="AcKICgJUa1Rul0guUQcyucOqJVwDtE3Lzu2OorVKooE5DhezAkror213vsVk8QeJHl2b6nqxcOxmgyv3"; e_fb_vipaddr="AcKANvev1EJD6ZjgmMr_nSWJw_hoAW5zKeV1HHXMvwieqB9j6DetcTTTPg4Ze2treImeIk0"; e_fb_requesthandler="AcJu-VHNZXMTXNaY6xWLQLD_p2G81U869T8EKBXkCPXJBIj0968rnS1CPJkJ4cz0iFoiuWx0WKk"; e_fb_builduser="AcKw6oG-BssV9ZBk22SksYoLqBLIUya4EZgWuCglMCYTkxBOx_CVVAt8qaZn_3wgqPI"; e_fb_binaryversion="AcKjTk4SsMbxsPPpUUYPT7DjTwsFnJQiZDICzbg8U1KET-9yRJ0umAcindIetP2t8VDQosHMhk17Tk-r6rTUTopjayUWFun5-r0"; e_proxy="AcKipQvJmxCiHCg15Yr0YnV23obeZYzZj456Y48S-bGDGX1MuyVCdosJFxgmU3zILashIpIQaxNywYE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"5348316185214730"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/04/2024 16:52:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/04/2024 16:52:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"5348316185214730"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1554795, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsHbHHXPZkMe7B1fMBIPM54', 'x-fb-trace-id': 'B035S+9BWPj', 'x-fb-rev': '1011212987', 'x-fb-debug': 'U9vwW35Hr/woP8vzU6oewl1mThEgS8FrqfIWCfVG8dlOTExgezywGSKS0c7GKvzXV5u2naHIlqyWOyvVxkbQvg==', date: 'Sun, 04 Feb 2024 16:53:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL4grSbAUeEAJMzHYgrtEjxK9CL7bT_GofkV9G-JueBawTCfFPB9PKE9Xuf4IJXXl74QjDWt5vjXrfvTXaoM55xAXUMLtnxKezZKmaTFJZqP27dEw"; e_fb_vipport="AcK-R6x1pz4FlQtne7KyGpveIHUP7T1G0wb57k3T7qIqUG5AsGL5uzbsRkam"; e_upip="AcLAaxiJAEk2Xn9gVWefDzFAnq5iJq8nltPdTK02wCxHI_x0CCmLBDN_AOiSeZIYMNG7lezx1hOIlTm7IyB03S3W5AbmuWQFNg"; e_fb_hostheader="AcIb3OwmkBdMhIA_Ga1vLo2GpYaFsyFuC8H6Q9vR2caAytDSg9vSlw6JOyawB9n1sjbNbUWWgo_i6wGM"; e_fb_vipaddr="AcITkOyV4gxLRxmf4LTahXgxJRD5SdcPdEKxyuve3vO5rQ9K5_cgUPmcyD30AvGBdxhheVbjoj_Wig_oieVwvqbzgfQeMZWmuA"; e_fb_requesthandler="AcJ2qbfLivoTPXvCLDA_bGwQ3SVz7OsCRzWchWUiuiu6BcmWpL7WjkLmB2G8TmYJ4T58G_hWZYk"; e_fb_builduser="AcL6IPO04PS8CXXjMSRtI0vp1aoXyYQTuuyybnwvZ1f_sVggG0RoFKDhfmHYZZ4ARKc"; e_fb_binaryversion="AcJkArHuD6EXKp7WErEAaOBXMVkfitiI6nJVncK2DdsHF-rPXSJ2w_d_mKT5__7pQQoj45eoObOPaqTgxSHOnhlprygwEGt-Ruo"; e_proxy="AcKGGhNN5vAQ9s08CgNTP5GCa8V2UrMSphZnrA1yZLft3R1U4gmrHElSpDO0DGMr0q7lJs4M8eAA6QEayzs8", http_request_error; e_clientaddr="AcKlS5YZK_M2y1XQlb26dmvXLt4Q_0u73rMEJ-ULcMUAkmw_IHMK9EGQ_EbI5Ze2lSVrhJH03OFX-iKS-A"; e_fb_vipport="AcKz6EVO0oMXc5EGy0o969w7xXC2LRyy246mPYcLNKyr_DrjYp9vVkJa3c7q"; e_upip="AcK38gr0GkOoDMeXbP9lfoHEZROee_k8SLKSg_VSOzRKYlzDxhgJfNt-Buy-FgLLXXd6sn-NxsWVAU9ABZF4WdpuBeqNAi1xog"; e_fb_hostheader="AcKDxB2pd897XCLiC2IA03ysS1qnRPcrTBzrUvvtSdmui255p-KNk07EQzlbnoNhOvcbLgX9PKa4Uss7"; e_fb_vipaddr="AcJq5h9NgRrpqt8VU6amV-lGww4tJ6Z47LX-0ZGfas-MsApzSN2B_wL2cThExzFmjZ1l5rI"; e_fb_requesthandler="AcI2Ur07g2s98kAwyJnBAtOxNbuw84ZJpKLD1RpsWsQHKeStB0iBTCDqRi5IDF5_6Iq4hyP8Vbc"; e_fb_builduser="AcLenH4fnZ5vgovexCwMXDT0G0qguUennaCypSyhpwAh-OLfqgPuUTr-X9ZPDAV3JlA"; e_fb_binaryversion="AcIukdNbaowwcsZuwU5ih3S6giXgyZHNdlGj6zWscwUGom4KD5_v0r3uuSsNxkJjzdFjpDOJpVg-4ryqwrPBm0LvfeonHLcJlH8"; e_proxy="AcKWwd2CXqU8c7cGJ2mXegNQ7-4TPqyF-2ztnVgvZvyhMXXbLcm7O7D3wxDjt9e99DgDIlBdVG_mJSLr"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"5348316185214730"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/04/2024 23:08:14: Request bot not found: { id: '263700267026552' } 02/04/2024 23:08:57: Request bot not found: { id: '263700267026552' } 02/04/2024 23:09:25: Request bot not found: { id: '263700267026552' } 02/05/2024 07:29:28: Request bot not found: { id: '263700267026552' } 02/05/2024 07:30:39: Request bot not found: { id: '263700267026552' } 02/05/2024 07:31:12: Request bot not found: { id: '263700267026552' } 02/05/2024 09:48:36: Request bot not found: { id: '170879166656664' } 02/05/2024 09:48:47: Request bot not found: { id: '170879166656664' } 02/05/2024 18:45:17: Error on send one message facebookId => 3060957680619646 02/05/2024 18:45:17: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Atyu_oz67SVttIc57TMdMEn" } } 02/05/2024 18:45:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/05/2024 18:45:39: Error on send one message facebookId => 3060957680619646 02/05/2024 18:45:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AVMVtlWQvX65eSMaYNAkhT4" } } 02/05/2024 18:45:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/05/2024 18:51:05: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5542164722477974?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1820959, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5542164722477974?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5542164722477974?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5542164722477974?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5542164722477974?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9NFFzD9Y9QLo8834x6SKWs', 'x-fb-trace-id': 'HzBqJdFh337', 'x-fb-rev': '1011220135', 'x-fb-debug': '6RNvmIuTnepYrt25stTmYG+357UM0DLPJ9NktXhRbR/2zm3JaJ/Og8sCauIkvlqrIRTMvVucmMdNi3JQKqE4Og==', date: 'Mon, 05 Feb 2024 18:51:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLuKl6v03gEc975SjJmStg9uAPdEJK5HR7HZd1yxo0W9N8y8ZFOtAxDRaTxpEvOiHFlf32NjC8pDtIkB6ENujs6PrNQxyC4EwW7lJnLzqiF-B6mJA"; e_fb_vipport="AcLYGCKdEkjv8eOz4Krgi1JRlHsgdK4iSJSW6W58gvqiZh2a4qwSB60jKROo"; e_upip="AcL3SGo30jqd-qQYuNT5EJ8B_Kom4L6Y561tNB7UO3tMbReJN1zenFbm0Ke1CFVoraOxqPLsuOwIedHcnJYfybL46Jqma1X6m1I"; e_fb_hostheader="AcIP8t57qf33T8p7Rat-XYcXMwFl2OuHAYiYVpQLKqIfASaTHpZOZpWHDXB4zcxPw4zJ_xu2raIq4Gyw"; e_fb_vipaddr="AcLrM1fcLFbM5ZRBpm0ZQxR271uctz_qUnEr7JldkzJukOx5kLEQCBy47HiBgQLNapGt_j1clRnpS281-eDlLWi6l5CrvrsAQA"; e_fb_requesthandler="AcI5Q0l9xXnF6adNRFBB0MrI6D6_9erkqJlovGWAJlXhwTNWURpHaF-V3jES3Xh9XCq3cv1H-TY"; e_fb_builduser="AcLsco1bsn-RrZ83HDkBqwUyzBiKltBUGz-de2MBFVlZaD0KQpUxWzUB9r0q8mvC0DI"; e_fb_binaryversion="AcJ0z3wSg3LY-pIJvIfM0u4lpczOvTF200Qosfe-zWdwn-3EjUB3CXlzwsUwtuBUXncPf3rwV59UH9fs2lK-LRX4VPdTr89GLAg"; e_proxy="AcI-DEa4LkaP6497F_9LWFvOP-lUtOSFM5TP-7jCF78tKvnTrsbgo9r0tEn5QGSPd_jV1tX5KHUfTO1DErCf", http_request_error; e_clientaddr="AcKXVb1MP7UXP6t57wJ3upfQGZOnI95LRP_Qbw1EG7fBUkzeOUZ7Z0MctuWlcroYS5BMXjzgiyzCf_fzkg"; e_fb_vipport="AcIixEZ7TJjlW_h0NqUeoECAR-Dt__Kl6-7IoOaadXzDd-AFKc6-fVAWdBC9"; e_upip="AcKpxDREzBDsd-_hPFc4iavyn-seTLuWXsRw6NzF3VfXGTJ_uAF7vqZtCAcJWxaT8XR1X06NJpZCHSFZXv4QTNyreo5ESnuIeQ"; e_fb_hostheader="AcKKNNFHohzdvnuhyhsNkwPJKlX1UrZUXsKdmNigqZUmumbfbN0SP1qlJFISqgQuWiMMlQcwB664iK3F"; e_fb_vipaddr="AcIkDg4TowKSfeKYWyiCUr3ZFqS2w3LuX3clnbunzFS93md3PatIQA1miH4hkOEhC-2RSeA"; e_fb_requesthandler="AcIjtOms0AdzrBndShFGohFcT59osw0QGw4l2RAMWn99Y7coQz3eJtkelFDXIRatGskSOmjvr5Y"; e_fb_builduser="AcISiZ6shiYBkgdLoTuJQiJNA86urGcZiGoahjIY_DPy9yApWVNMm08a_hQ35Vh4cO0"; e_fb_binaryversion="AcKXA1uP-Gs0KpGWyI7ITVALg6bJnGOvXsZ_yLtZW5lT7fu_a-BBrzyaFI00YDf8UW1k0sInwdAF3uuVubvym2pSwQu6pcXsAco"; e_proxy="AcKh0IC54y86CCivUdT8wUIKcgpc1nK49eWxgQ65OheDVPuPpeNYZaC8bffp13AsTzPF8RgIj5nHWiuR"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5542164722477974?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5542164722477974?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5542164722477974?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/05/2024 18:51:05: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/05/2024 18:51:05: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/05/2024 18:51:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5542164722477974"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1821077, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AG58onW44Pbg2AhH5zQvMx3', 'x-fb-trace-id': 'FOf0UOOM7zY', 'x-fb-rev': '1011220135', 'x-fb-debug': 'ZqORdGUOF4uY2qN8ouig6E1K2wjzAvclIZgmCkRifDSOm02KAgii9b3ajxg4Ph3PIXKGJIl0bXye2SGmu98eRA==', date: 'Mon, 05 Feb 2024 18:51:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKKzD4Po6gFh32jWQkTpHio2DLIJZHyAqcbonBdmsUqgqMyycubl_T_CuXI-kGzWH-234kH-h9buCPdEolzPhJbxDHe0QH14gvTGqmb1r9Ey_eJIA"; e_fb_vipport="AcIVmIsezCVxfg5-jOx4OFYfZVEv-jPxYGNmA5KIN1xUk1AEI7E9Nl3XamzL"; e_upip="AcL5eKfgsD1PJUnTic090xfwXYgYsDO1Oc9ZsK-hbR4pP1yW6Zg9abcwS38EMc_XGHTRWgPrNWbeO-k-OhwsE2eW0dk7MNkJ2IU"; e_fb_hostheader="AcLaD03rdwmGoUNrMVHszN15s-UeL1MqAfjrh8AkR-RfsliEbOL7z_Em_Z8i7u9EB_bW5UYfJm_H0cwx"; e_fb_vipaddr="AcLehTd8vhb8gHyTLU_aAbp53t_9G0Tu-KfFPSNligN0vAOxczFQMdQ8Pkp5d-34NGCbBCeR8KkqPEmjKBAf3bD5xnaRAzGfdA"; e_fb_requesthandler="AcJxC0f4pDqrihtiQeOkuPbX0ao72ym07hefOQUGTmfsykrvhQxRhyjgPu77UBQN4vb8n1LOdsM"; e_fb_builduser="AcJR-VLo1AW-vKwESOYRQ1-ZRWxJCvbgz6Hwr9HKGKt78jZoHPJM4iKhTS6-mPdn4Lg"; e_fb_binaryversion="AcIXXEMlRKnptoCsNPpLnpRI4xQf-9cfa_XuCBzkMEOjUIeRrYdDGVZe0WqiCAa0ktl5NeEbbVjB7HoamxBBAVln5xmJi3p-8co"; e_proxy="AcLV3aTO99N92d2GSG6dguNUSTRipyi9cHPDRH2TMHHNInn103L1tis4PqbED_hL3EOveT3G7hWSC_wDEoHW", http_request_error; e_clientaddr="AcJw7E8d9MiN4RUjB3IW-Z-SmCIi7oW1QYMpl6QD8dezbqAVkUiSaNvYHkNRTLt4MjyjdtrI5WbJDbtdQw"; e_fb_vipport="AcLKnpN5bzOw8dtaGNcmLkLBMlMKXACI2O3zM8Wwb1Hh1Tpa5kkVKbnT_RLT"; e_upip="AcLTyq2bRaMA5shmGA6hEz4tNHZZOQvzXdqOwOIxbYj2OFX6hOiutqTSnwVzw43BZcUyRVE1QFx_DQ8g4CwWSGeZO2Z8YIlOfQ"; e_fb_hostheader="AcL82E37web_g8BR5w0aqZ2gL3Gozlj-jWXkE_h-mCojladirRd5sHCPU84aUtmE-Bjtcph345ZWuURk"; e_fb_vipaddr="AcL565Bkm4plhO1UFb1f2BWSmY73YXyzgwrKd6rNdsVBOQr3k-SxrBPyQjeo85HpJLm_hII"; e_fb_requesthandler="AcKZagEcEs4Qspqe-UoAIQG2hI3A_IO6wKuRxuYJ7MCZkYgY0xflNaWRVR5Zhxyszst6uSOdc48"; e_fb_builduser="AcLZ-z898Rt_QsK_bsOX8J4xOlhVIjTfPXDJ4P1oAYfCN7phcVxHnOZ8w09U0dY3rMw"; e_fb_binaryversion="AcIvK6Z5dGg2gAwZ4Vm6nyiAu9BQlhA61cb3UxJVByWB4YUX6Lj9aA9c7-JbzWCIBxLfHdg35uhg0RLXICEaDFIqpsY2LFsgw30"; e_proxy="AcIwGhqv7e1fao-ZCi7Oe6Iumm3KxHepV7vkucc2D7YgAgyUfUofx9AGMWzMEetVNFUYmr3eOevQaRo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5542164722477974"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/05/2024 18:51:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/05/2024 18:51:08: Error on send one message facebookId => 5542164722477974 02/05/2024 18:51:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AsAmzB-ig6n5zEukgjmLiWy" } } 02/05/2024 18:51:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/05/2024 18:51:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5542164722477974"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1821164, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A07aZAiWQcWJXD50-rXfZdF', 'x-fb-trace-id': 'DskmixExmi+', 'x-fb-rev': '1011220135', 'x-fb-debug': 'y6aErcX/40GBMTmeDqqEe8huXukWfa1mAx0/8PA9/hXKevS6N765QmPVhNkbrEot1Fd3Fr6pZKShapndsUhNgw==', date: 'Mon, 05 Feb 2024 18:51:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKmdcgokh8upUd4f5UzPvi461QN3dCMkkdosEanHLjESQzgCp5TZgAMKtexGWLKlVFezuiUFxZtMyIJaSPBvlxjPcFwUBspJ62zgVUmud2i-054"; e_fb_vipport="AcItYBL3Lv2tZjJ4LoqMW3ggED41aH9xRa0a2GjZV6VRyjVSIx_N0VV2gMSo"; e_upip="AcIXo52pWEjtm5FbnmIJbqokW6JGnEQInncq_a7rPKdRw6HSQrsxev4VFWp1p0fDP5MJQhIi3nzbzDWxnKgeBfEKW8CjrfJr-Cw"; e_fb_hostheader="AcK_mAZ_bS9511_QO9V5kKZLzszXW1ivTrqeKecV7qRO3g6miLuEIQY2qwYQS3jjRdvE4HePR1wAku45"; e_fb_vipaddr="AcKeqeIN-Sz7i_AaHIjrjNS4GSHxqi4xBd7y4XJ3KZyp4eFPFmDb58p9DoZr82fRC5H_wvAt0uuXbZHI95m-jjGmwYIx-4xqQg"; e_fb_requesthandler="AcLa8sc4IW5HrY_HzRwLl64sqTGsNiJlFcSFRUamst3EiKmN6X8p4EPVQWt1vefyZDWI_rj9TUk"; e_fb_builduser="AcJMWHutQxr9W7WNYcU3NnfatGtir8UDtH8ecwvnU0cVk8TAL48TZ1-3arYS5wHTJvU"; e_fb_binaryversion="AcIrvRV0nfQbV4TnkYHhC0d_Za-PWPtDSCSmnrufHyOSIrQ46OejTfNkGBZS91ialOuTS9OCbFEEZ73E9b_l2twI-vUvKU3zYKw"; e_proxy="AcIZ_pZrIO7juuU-ZMxNk7tVgU0iZzpJ9WUfSktvqprvxsctGmJ2Z1uxMudnWU1Zp31XIs55fCC72dpVP2LY", http_request_error; e_clientaddr="AcJ129dvZ6knW1yrc7XwWrX5tT5yv4EXLDvgeaInxRNfpiBIOpJUUl9_OCeuXBufBF6ZTlgvxyLQBQOLtQ"; e_fb_vipport="AcK8xCzwtvXgs_f9_6lXQhNqoH2off86O3BJx1IwalMQO51dkg2JJQPWGlou"; e_upip="AcJ6DZz5mBRaucW61CkK5jBeN6ZZEPUvqVoWrw0ilV3bEXDIpgjsvz8RdZfTSzkeyThWf3Vi-eKwz4ex_ubiVb_RJAgBrscQMA"; e_fb_hostheader="AcJ1DmtLfyQbbnaQElhsmRgXEODlVu6gcwVjAy8uI4tTCUr9XUNRhUy_OSV3itckh44CVa3bmR7ZR9we"; e_fb_vipaddr="AcIY1vfsO7ovUcSmvldWVKBqQ_NmO-OmhByLr85bCFNzTE-uD4aECtUqgqbFiRX2sTw5B8E"; e_fb_requesthandler="AcJYxqyvcEILS83blp0Y3PCu2F_f2JJnih9XOYogXro9vBaZB06ipZVJt1Q8qMIkZQHsOER8j6A"; e_fb_builduser="AcIIjF4K41210IOJKMp3sNZHkw_DwMttLPf4StmMwjcQwUe6kYRlRIHg6svxMrDAbIc"; e_fb_binaryversion="AcI2CddY5gDxNS77jJ_JTo3HU23ooxg72G6ikGxzo9wXDJgEHaodObMtrH1eiDVgsXAeEi8M86J6w2X0ohyrGnVmr8sJHSsNprA"; e_proxy="AcKeZRUwwTDp7JsePO1ZbgoO10p1ud39YDWgvCSYVH-nCQAASEd5wqMSIgqJVeZlOOyWRBfTLAeiJlc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5542164722477974"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/05/2024 18:51:10: Error on send one message facebookId => 5542164722477974 02/05/2024 18:51:10: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AgxNPCb-WAW8u97p590o5RI" } } 02/05/2024 18:51:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/05/2024 18:51:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/05/2024 18:51:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5542164722477974"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1821303, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AF2tnqIJNq9BJJg1ZsV3EJc', 'x-fb-trace-id': 'DdRC+qB8cPa', 'x-fb-rev': '1011220135', 'x-fb-debug': '5QrPJac2GSOZvFwnbCvpRtONPQVlbbZbSxaSp2EduExxNcSz8RKI7ydykCquNVTMB+snBi9+ouW2KB7M9xpczw==', date: 'Mon, 05 Feb 2024 18:51:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIy4MZ82wgZtmjKK6a1x9bfMIEVc4BPcIP86gcPqgR_6PU0KyYDzJxecCEFc3uFxN0fMKaAwP9C2qnbVYo7HJQ2olRLjYJROh_q7HQj0EwOGA8kug"; e_fb_vipport="AcIJdy6FCmQ2XktkFXdH62pfN0oQmCl48Gj1XyCHzYWuRlQqEK40pSxBMgCC"; e_upip="AcKJsA5pSTHFtP5Rpn-UlHeobDZnjPkB91cOvcY8jVKcc4auKDuT-51UV_tTWNZ4lVstvy3Aa_QcSwx1prrnEyurq81dqibI0Q"; e_fb_hostheader="AcIw2VoLUzMt7VV8AK_eB0Tle-gSvaDq5IPrIhEWoCRAYPh7DeJStyR8YbgL1u3-4taKA9RDoo-R2NU4"; e_fb_vipaddr="AcKlEgI_y6PljTk_d3Z8BFulUPSNUX8PPQTW-xXeCvJRLXBEDtPq_xEg4Up4BXEa4kV-Of78ajAHBVSZtzMvF4dE_KpH80MF8w"; e_fb_requesthandler="AcI8IdhNBEVY-EDQkojwLQpXIsbNPBda35BfKb8nuvxrq9el6D0NKN3CvsrMfk1PGB6MGSVPnw8"; e_fb_builduser="AcLS9mmZ2B-uTXTzHC--4T6hYbgsNsL6mqtKi7lDmmr6G7sfe575dzNu1-MmxJ_aVGE"; e_fb_binaryversion="AcISz1RC4k2kVQmkWwiDQChL3x-eWsXefF55ysTD39RZM6HpXfnAVTFIjWRpUSxA0i-lJsx2Ui8mTKMZ6wa5ioLUJYPC6vsI5hw"; e_proxy="AcJnway-knHkI-QbfzymL1pAWWoxXtCEUF5EUdcjHPSk0CRd20wFrSMR-15ZSpbVCLn72cxkpMJ_uGxfyjHD", http_request_error; e_clientaddr="AcL9SkeKK5hDatZTFb3dlJAlTY9eVQZDze3nZpBcMMb20zKKiEs6Q_DnCmNkq0Z6wbCQn40Rnkn7r4HSkQ"; e_fb_vipport="AcI9Usqp0L99-13NTJYiWVOxUchED_Qqf4jpYYX_a7iwhMKw_IwToxj32Pnb"; e_upip="AcJJgrWs88cv9MXg3KRn4fB41ZyrH3aGaNBgmvQdpvfzrQcAbjoSdrYTdXt3O_7Gk4n8VWUJjov8DnGpLAicsbdgC6t0kbboJQ"; e_fb_hostheader="AcLBTgoqDh19i3xLGmBttPJJnI8ZiSyQC5YH1daJ1_AlhMPM3bXLjplaZ1e_NCE4QvhYGL7LguF4uLbv"; e_fb_vipaddr="AcIQUo5pAi3SU7obU5WhEr2W6E1XjYgdnirNsP3SlPaBQdCdjDMEBi8MXJkM9T5B0OLUktM"; e_fb_requesthandler="AcIrHwgJ5_gPuR-E5OGJyeyUvNq9lvlIfsSQerjz1eWMDC3mg4YZh_9HpblB4vru7o-ejRThlcE"; e_fb_builduser="AcLHN8k0JuP7Umjht7h1AonzeeKKfAA1ZL3PbHwccfdmipgXtEJha9tSDY7lJ9-oCqQ"; e_fb_binaryversion="AcIhDFeytZx2f7F12EKVJQbO_oRbnR7F4aoTi0y1ysZ4D1tNh0LFgjz_6gsFUGtvgHQpnmMsKerB_CYz1jyIcuMUc7T9MXAY858"; e_proxy="AcK_1OQDWah1nXoZSwfj2ByAt9ejPaT9NWXJ_cVnm0PdgQ_BdE-zWS2nsIjq3vlV4tz1SyKqfCDZshE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5542164722477974"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/05/2024 19:31:40: Request bot not found: { id: '173905809808323' } 02/05/2024 20:25:43: Request bot not found: { id: '565033343594012' } 02/05/2024 20:26:00: Request bot not found: { id: '565033343594012' } 02/05/2024 20:26:28: Request bot not found: { id: '565033343594012' } 02/05/2024 20:30:38: Request bot not found: { id: '565033343594012' } 02/05/2024 20:31:19: Request bot not found: { id: '565033343594012' } 02/05/2024 20:32:11: Request bot not found: { id: '565033343594012' } 02/05/2024 20:39:38: Request bot not found: { id: '565033343594012' } 02/05/2024 21:04:00: Request bot not found: { id: '565033343594012' } 02/05/2024 21:28:03: Request bot not found: { id: '278538958846635' } 02/05/2024 21:32:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/05/2024 22:31:18: Request bot not found: { id: '565033343594012' } 02/06/2024 14:59:35: Request bot not found: { id: '565033343594012' } 02/06/2024 15:20:07: Request bot not found: { id: '278538958846635' } 02/06/2024 15:20:46: Request bot not found: { id: '278538958846635' } 02/06/2024 20:27:26: Error on controller payload Input Treatment=> type not found 02/06/2024 20:27:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/06/2024 20:29:37: Request bot not found: { id: '565033343594012' } 02/06/2024 20:29:55: Request bot not found: { id: '565033343594012' } 02/06/2024 20:34:59: Request bot not found: { id: '565033343594012' } 02/06/2024 21:25:10: Request bot not found: { id: '565033343594012' } 02/06/2024 22:57:11: Request bot not found: { id: '278538958846635' } 02/06/2024 23:42:52: Request bot not found: { id: '917983134950234' } 02/06/2024 23:43:31: Request bot not found: { id: '917983134950234' } 02/06/2024 23:44:47: Request bot not found: { id: '917983134950234' } 02/06/2024 23:57:33: Request bot not found: { id: '917983134950234' } 02/06/2024 23:57:50: Request bot not found: { id: '917983134950234' } 02/06/2024 23:58:11: Request bot not found: { id: '917983134950234' } 02/07/2024 00:52:08: Request bot not found: { id: '136311313195964' } 02/07/2024 00:55:59: Request bot not found: { id: '136311313195964' } 02/07/2024 02:06:19: Request bot not found: { id: '103701301635995' } 02/07/2024 12:53:52: Request bot not found: { id: '138868933458303' } 02/07/2024 17:20:10: Request bot not found: { id: '215725838493727' } 02/07/2024 19:18:57: Request bot not found: { id: '565033343594012' } 02/07/2024 19:31:50: Request bot not found: { id: '565033343594012' } 02/07/2024 23:34:48: Error on send one message facebookId => 3060957680619646 02/07/2024 23:34:48: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "As_RFcm_4dYh0hxY8gHvXwA" } } 02/07/2024 23:34:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/07/2024 23:46:26: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6534700536631850?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2355810, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6534700536631850?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6534700536631850?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6534700536631850?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6534700536631850?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgpTxAy9cfHIHsfDiQr1hZR', 'x-fb-trace-id': 'DFR1iojTDQX', 'x-fb-rev': '1011285492', 'x-fb-debug': 'ooEdzNGWWk0+awT/vmDbISHUNW7Z5Xei1yR99tONUOfpLN3HYFmZkltOUe1uwbxq2PwUDUJgJxOfUIQ128DBLA==', date: 'Wed, 07 Feb 2024 23:46:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJtDOfMEuuoLexbhXzhzpUQKDivSd4cfl2nYClYSwNwImiKxZ6-xbUKNJj7RwDTfDMZ4yf2P7eQ5xAEbRuNb-pa8UcL0xkomrH9uixd0rbHlg"; e_fb_vipport="AcJi8Mb3--Cd3_4Dohnd--cRV3iI5gBbRnRTdFOsHEo3L8CNoMNtZijYPTxI"; e_upip="AcLpaWJ7h8KxuYczhh4N7TqoHeMiOxCy9sTLwUIA3Wvu0MeKd6yWiAd2p8AqDjMAY8xiEo4_D_ar-lzANBIH9wu5p6O1YeOGBuQ"; e_fb_hostheader="AcKfQKxovspJpWLsCNWMFzQyA0mecbm2LPj_JVlJ9dlpGhVl1qsL9x_dGCjYJLLZzhXoF0jgjwlQ5dgY"; e_fb_vipaddr="AcKYT9PsSTyTNbv_qg4VtsZ8_aIvip_Dqvhnkg6_beaDLzF-57k8NCHJx9DnaidVNvfLWLWcuOTG7JXH_WR9--JejEF4I5eX9Q"; e_fb_requesthandler="AcJTfahWjSMvFaBNcNnooIczTZninSS8EgR3QnkoKUwV2dVEJbpYxpNzgxnp-P3qZwuoe-Hazcc"; e_fb_builduser="AcIMrYo2u4QSKzHFU9htYckVk_5UemyZXsYghGC4kai-RUOnRSAhvcFDh06fJkQpubs"; e_fb_binaryversion="AcLd_GywrLYpE4b_OYd1M6oMMMWQXZM0ysHGgxnlHv5XO59E3zOLK4VmwX3OD4GVSI_pDY8-hA02MwIOAzJ1tF1cI8h2lOXCacI"; e_proxy="AcJW9P68GKi2pmF-FJqv0u7b4Ld1YW9vqCE4nxwdxeH1qgTfRc00OrcgH7o3FjQyIXauofEP7AfPguf7FNOx", http_request_error; e_clientaddr="AcJoirESsiiiRjCr1RTfzR1-j5pVEnugUsWMV41fyhXcRtxRQgwsA5QChDVCHPS271Jtdr6MyCB9cWuqzg"; e_fb_vipport="AcIMIh-wryLt74LfXlN18phsbSzvfW4NA2_qwQopXJNR5sQ2Vz9vwr0n0dXw"; e_upip="AcJvE_Kekp73nb8ebVXh1n_MDwNUkWWsIvJcHZFXGg7DSmMNefMI8usOcllNDun-VKpM5xKayci58mB7vgYACB2jYCzyFtt7Hw"; e_fb_hostheader="AcKD_jU161BFmVDyi9uy-EMehXamP4ear7GGQFa0y_ZeDMOXIqFKYI4OtLi_xYXTjgBFo1jZHie5CX0w"; e_fb_vipaddr="AcJi8x2qaO-p6ncrddC9ykKvDON60QtRouSbzVh8koRWUiSwTYAvZbe4G64UI-Z9UhyR0_Ro3A"; e_fb_requesthandler="AcJRrW2oIbsMMa9c9ciem3TsPFH1T9mGjuamXFL1j_Y3GPdnSHToKfHc7gXAcx4v6pEpytpRKek"; e_fb_builduser="AcIKflAkIjJjGf0OVufAcc2NZRN-0myLoiaUO96Fld_ywLGqNzN1fkRI3UaQ4iKq69s"; e_fb_binaryversion="AcJ-rIFe1s6g3ZWwF00iNcXHPHeR5FGjK8K57CreNQSquFYbPmrXrZj6n9Ft_Oq4ewMBLvJdFyizhexw49TtXAyg3l_7BiKh0Qc"; e_proxy="AcKg8bAMjXLGqULYEUTJHHL-720K_vP62JH1TX4WjVYVlABaOdjiOu8EZqjtkWoQRXyT4WLmVeAXYsgj"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6534700536631850?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6534700536631850?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6534700536631850?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/07/2024 23:46:26: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/07/2024 23:46:26: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/07/2024 23:46:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2355928, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aj6MxMR6abZt4JMKt6gKDQ0', 'x-fb-trace-id': 'AjTOUD+lFpR', 'x-fb-rev': '1011285492', 'x-fb-debug': 'yLE+PCRAcnPnQPEQGs6LeTtMspjr1/1QBa/4mJp7U5NEoUtbkCrTE0fO3zsBoVGsuZZwOCCCTX73UIHfqScZIw==', date: 'Wed, 07 Feb 2024 23:46:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJW2BZEnzZlrpako2qk-IfZ0oX0K2CSNeCUxQcxoNjb_7uP_DKojJNy8IwAJAmiRgGMYlaso6n2cT9CK_BzG8aT3AlQhE-Y-8yTWf7FfbU"; e_fb_vipport="AcJogmahs51R9mp14p71oSrB-_6seE-pGoOIyEjdKa1LTGyZlfcwJ2PkiTqZ"; e_upip="AcJwVtsA3f_LEPXFf6btyK2G9bgDVmvnMjIQVh_jdCynN9YIuGugZaUOz8OPzLFLjvOFLgTxmmtAuiskdU6PyIdzzCvupHm7O2s"; e_fb_hostheader="AcINthEWetXK42lVtKJy4iQFjTq2648CbcKk7hnz3ftYzZ4wfs4CmId9NdXtrVy7Ap6hIwhs00yzcMeO"; e_fb_vipaddr="AcJTyBRNzTDFCCj5SRtd5KS3gvIkvcWUnHXjtaFAlJbR4IjBQIT__109L7SzLfymk8HJi_V_3AXytt4D-NVicr-qxFP5jSqS-g"; e_fb_requesthandler="AcKXbU1cejP9q0LFl_3gcKG4n_GWD0JOzwab0bL5lOQby7hkuuIZ7C_t8lv8xyz5S27oda7F1YU"; e_fb_builduser="AcI9N8tlCpwE7wsE8qBtumqvT0zeJhai1mFyW30W9zyNw39UwQNBa49qoyWazlJavWk"; e_fb_binaryversion="AcLdj2tyM6q5jEp3Iurr7l87wUcFxHuoBLbTIEjEvj-WlQ_UBUJbZpms9cxIA_weGtxJakq48PmqOOHDXN-zRO6QJu3JCmgl_q8"; e_proxy="AcLdSvY8GmpBMDHPRA6iVccresFWSlMEI0dyZFAJ0vS5CZ55eB2V17x3TbWEjEfBO6sN8zdzkx0DRq_IL_E", http_request_error; e_clientaddr="AcJYCeDnb-qj78mkqDaRNLhehnahf5kzrXP_eoUWISGaE184cc2pGBL-viU0EwvRFVq4iuxM0BCoTyCAnA"; e_fb_vipport="AcLAWQvdrZd_t2TokEJjUO_M3BvJOP-bMW79-TeU3_z2hOnnkwNaYw2E6Fs5"; e_upip="AcJQU_uYCtasfEUNLxCl5qbhGXAR9t_4ZHxr_yv52vvMnmYR2tMYWjyEUr2K13mXZPcD2ou_N44OZVGMwvlx-2w0xha2DkEkuw"; e_fb_hostheader="AcIrxfWo_ThEh3hGfHWmGRCMRCtabiSR_7STJqDnyuC2i0GEebcGQOLRCuKo1MQIDJbEXXfVLkYInS6b"; e_fb_vipaddr="AcIEZNdUEZGSfTmR6Vs8gr-gQARlhakUqha4ajNsEQP1mEE-B7NaD4YTGYhMjgmzF4mCg5191w"; e_fb_requesthandler="AcKR81yMjSOLQBAc1TnAxpTIDVp90GzYctyVTwNnp3qlAq6H--WDWFw5Aq11x8u859PcqrXVn68"; e_fb_builduser="AcIddefHN5X2lK88JLz3Oy6ibSo5zs4BqcaKcpD-10h8BfNEDPsfwbLIGx1mC1O8FMI"; e_fb_binaryversion="AcI5deTF_miHH1bJ-wrdwrslgV3qqkXfGKZlel7H0LLknit6XD1m8KL1j9E-mTWCfcaBbPPWytVXMQynUUhn3teAb3TKcs3SFr0"; e_proxy="AcKefhcqEEvl_h6dMB4K6u2ub7uVEQcQM9Ah4I7yIp9I6bfGUlyX3S5ksF06aH62zRnHwdz6aKzOR6U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/07/2024 23:46:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:46:29: Error on send one message facebookId => 6534700536631850 02/07/2024 23:46:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ACeaxBWeMjCIrolDR8rQzZi" } } 02/07/2024 23:46:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/07/2024 23:46:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2356006, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al6ZkLt0QkL6GvL_UhSQXMN', 'x-fb-trace-id': 'GfnRFw9cZej', 'x-fb-rev': '1011285492', 'x-fb-debug': 'eJaPj6fxjTZjAmsHorMNGdC3sk65ZIGqfTPRMAs5tDLpHwO2QmGhA04+Z0xgpyhmhD9pab+zUz9la4bxRQ5b6Q==', date: 'Wed, 07 Feb 2024 23:46:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKq8VOc45TGjWr4QWNDPucvMiD8J3mH_cpbgTyTVUJvJhntC389wcOyBQpnM6ESuIzS4nH83DWNdW30QPE8f5IDhVnIfgvzpXw6EG4p5RHWuA"; e_fb_vipport="AcILjPKjEU_QJK3MHpf-8Og0-s7R2UckN3MoM3SiyqLheTDCqmyykCpVr5k7"; e_upip="AcIfcqN-luJc9-PXN8ZI07FZhZ1CJ-o0-C7KoGNw-zhxh4wPqRo3gGuX7C5cLzSWYPbE55VB-QBjV9Tz1KvpboeQ2OmBb26rzeY"; e_fb_hostheader="AcLfqst_QRHeJf903_aCuiOqHPZdIWAEDCLwUilKPrgf6zrDqh6asKl2MbhmfVs07lbbobssnAZzaBD5"; e_fb_vipaddr="AcK4O5IA6Dz_pmtW7it3cryt_EFBmgMX0PaCD5P3McASuEL8h18YnK9gmFphuVsCguH6clq3vWNvgDw0UtZWabY52v0fvNS6tw"; e_fb_requesthandler="AcL69ZwNtNyB45wL5FKocKjqG6SOYkC2jfl3ZK_7BWkgAIxVbiclKsKcHssFpbzE_BGDbu6ebuo"; e_fb_builduser="AcINUvAJ4UIrvYC9TMcrZFuuyy5Sr7GkxKfDbw2VvB_2q_J7jBqQY916BT4UXYY8ToY"; e_fb_binaryversion="AcLhrgouvzBd7oY9C4PhH9jMPSMjfeUmyRL7amkBpJ6cWRoDHEALxFq8Nfov5IYrKg7Bkyfh3B5Yz2BydJM-qgO6aT2Md6BJN8c"; e_proxy="AcKB9M4jI5uJdcMN0bQDjfKKAgyhPxDiopxwky3TZxNe7BzKZ00Mp3LbaWsmrQFFqP0-BoUmhIc69VYomD8", http_request_error; e_clientaddr="AcLzUH87UTV_52WVLEsz48DTpO6MuYHYK5xiJQtjA99v0w7lIYf8cYZKxnC6YPh1glhvZuDNJeV6CnGwlg"; e_fb_vipport="AcKGLccYlC8rKF9lL6_GJScA637qd2aozD3a_1sLUkOqplCcobO6q80NKwxV"; e_upip="AcJPgYKn2P6_KBYNBbdrEc0KC1UfrChMHv4j5VCUqdLTiBqrKLtUEaVt7WgZKOKWta9GNRGRed1Yz5z-orQB7tpQkMqDulf8Tw"; e_fb_hostheader="AcI2CTFFFtqUgs4qa7UJJXOB1nh5sNK7Y4LhVnzAt3XQZqWGkMW8oVLvHc8L4cd3WGo2HqS3rG5ZGD7P"; e_fb_vipaddr="AcL1oOttsrlfuHANOn3J-QXKCNZUVZiGebExOUVa-NfLgigt2K-yEI3TfWkG6abPdFir5vD2Nw"; e_fb_requesthandler="AcKmSEu9-Azvh7OL-tXFocqZxJLoRLST3a6PfM0w37JDef0rQ5BTd9dYhdE9aTjY7J0--nRTqCM"; e_fb_builduser="AcIUgC389RaQ4mUrTqvbJ6qpGleKPQs8I0QsnnncYsm5hBaUUU2BPXt4kXJvRN83hTw"; e_fb_binaryversion="AcJNqNxF02b_J5eVNsRy8FBTC1mNDnqA1BorgfUkrgI4esNEdH4KH__yAJOZ6h4SZinJYEucH2SyJPriVS8VdIu7fr4i7s_E4sE"; e_proxy="AcI2MIrcFaKka5vIqj7MbEq5DrDlLB2v2l0dVLBR6xHpqObOynjqbRb80AO4u-tNI96-RnsopZoNzXU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/07/2024 23:46:31: Error on send one message facebookId => 6534700536631850 02/07/2024 23:46:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AY_gnw7Xwcsm0SfobtTQmTL" } } 02/07/2024 23:46:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/07/2024 23:46:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/07/2024 23:46:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2356150, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuKLIotn_a9VmcV3YQ08SjE', 'x-fb-trace-id': 'FD66p/BjjvG', 'x-fb-rev': '1011285492', 'x-fb-debug': 'M9hYh4kFLDWEIoUD50m1HGGNJmPzKWrO1PENrkqXrC9VlGoIcnEUZYQUMV4Xz6xBQy4B/Eqt7LHExELNgcVf2A==', date: 'Wed, 07 Feb 2024 23:46:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL4XjfBypl4ie_xTlq3WRKMdyXo-KSCB6PG8RHHsRSFHgmPZPrh51pQSEnSbBXr9AfIvmodHgvcbVA31-rnR_QgMxF1BOMtEA29TiUrk_8YlA"; e_fb_vipport="AcL72CM90S7m_W2u95LkDbFbwLgMQLFF5DrmjMpp37Yv8QHAN8XSSw0tTrgB"; e_upip="AcIi3qXWJLy0dhB9n-PL9-YV3oA_C7HYexPZItrE-CPoqr8RAH7jv0vn-rL4yKaAnjEUsbqw98D_GGoUtxtfqhqtQhzWht3-fw"; e_fb_hostheader="AcLHhY-QtCdjPkXQYt0rBLreWrtpstGheO3tXvhB4Ww8hh5gxS-S1r1Gy05udPeXxZei2QmzXXsWk3Zd"; e_fb_vipaddr="AcJeAH5N_qN8qlEOgO5S__rgQOvCkjGeqJiStrrUmOEqCiDinSaWv6VNrqJ8NFeneXm3CTV8Kltw702ifC2RE8KMk_D806_vmg"; e_fb_requesthandler="AcLWtW4jaXjXf_NnIHRnlqE9g98EejLimu23Nh-dgoWbqjSkEU_7M5Eam-lzJwowjoNMn1iqPZk"; e_fb_builduser="AcKmofxgF7I7wp8dMXkvo-DukHW4HiGe-sqaj2FYVGDHyor0AoDpbj46-otXPmGqMKg"; e_fb_binaryversion="AcI0pmwQ5SPjOgAoHRFaSUV5gLqZKdtl4WGUK50L0PrU_aVFDSSZA2F_Q9-71k2p97P81Dhvr60yrWc0EQhEvJHEe5QDOUuqhoM"; e_proxy="AcKdoxiNmJtCJobB4Ypii0e7G7KkJTP_vxEbCdrE7uFtNugfS0NzwRGSCQytDwz3GXEd6Q_qCb9NlbFM-uc", http_request_error; e_clientaddr="AcJDf6a8fzQh3uF2RTUz95qIsVruf2mjAQGUwTBjnFLVlOaqKEoPZ0f5p8vLvXzWSW_EF6hvPd59QfxpLw"; e_fb_vipport="AcJFHYdM0l4uBfycoG3AjDiqdfX3zrVKXJ-6M6eXPXzWXPTJ1tiH7ghEvIE5"; e_upip="AcLwN36uMfSdwcOTO6qzbuWR9GGCUtYiQ5R9U3uBUwqeKQcgwhp9oDd7XR7qZ0OOLx9tWQtNNjm20_rN8-fWz_M_YIqTodThrA"; e_fb_hostheader="AcK7UX0yXzPCxQXzGxoIi9rQ2OxnvdMB7sIN2brZqCPdtY6sT18y_N4ATPYIgv1CCzHxAuUgsAaQcAaF"; e_fb_vipaddr="AcKgZKz3sEXVqEuIK50i09dcEFJXxY3cx1aKLYq4DRCB9-OAlqCV6Pip9c1air0KoC_LCS2NZg"; e_fb_requesthandler="AcJo9fUnZAXVxYofoS31SznrPs-rRCg7e40Fh_bforvi--YPtS7mtbkVwlg9JzotXVGE10c0Ut8"; e_fb_builduser="AcJ34Cw-252GmlMAByL_sMsMKnrNmv2AI3-DQ2wHeAJbSGqX5LqKQybfb6psfb3cMN8"; e_fb_binaryversion="AcLHWenERk1UIA3WXeHRCO7KdSYKoCCpXxeiepkJWl5FvP0-fWZNKUWk7aobehbf9rYkJiWjOQX0feJgHtpSB8L7ddPg0sk4PiY"; e_proxy="AcLM6XvqHcBRD1xQtUJ2DGu2O86Q776bQY_iKcXemnkb7X999in_vFuxwEnr6NyO2J5GWeqHsAjirsM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/07/2024 23:48:46: Error on send one message facebookId => 6534700536631850 02/07/2024 23:48:46: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AqTg-xpz0CpJ5uuALSSRjnR" } } 02/07/2024 23:48:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:48:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:48:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/07/2024 23:49:15: Error on controller payload Input Treatment=> type not found 02/07/2024 23:49:15: Error on Utils - capitalize error => TypeError: Cannot read properties of undefined (reading 'split') at capitalize (/home/ubuntu/api-facebook/utils/utils_text_capitalize.js:10:28) at receiveName (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_name.js:12:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:49:28) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:49:15: Error on receiveName treatment: TypeError: Cannot read properties of undefined (reading 'toLowerCase') at isNameValid (/home/ubuntu/api-facebook/utils/utils_text_is_name_valid.js:46:21) at receiveName (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_name.js:13:19) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:49:28) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:49:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:49:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2357024, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Af63qAOzd1Z5Xukmd-MPwTj', 'x-fb-trace-id': 'EeAoG/nrooc', 'x-fb-rev': '1011285492', 'x-fb-debug': 'wsfCrfHnYrsf40TSUJg6fvfrqIcVH2+iS11iWySqCvjM4gdv9CZ8GySUn0+sBDRneuX2nbRUK/1U3ApSFDBreQ==', date: 'Wed, 07 Feb 2024 23:49:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIOYskapDKeM_BSbHwSIHJ3z1L4SSU589qV7uSprOa6JvN7w_2arPVdiD0HHb0WDmf8v4UQndvFAY8q2SRMfLWU7mKvQsXhz7OxJk2Cjeg-"; e_fb_vipport="AcJggFhdqtm5eUSbM3gI03kx8UMTV05yWsteOojD6LMlWErmsOJrj87Zbo1o"; e_upip="AcIssIITGxT4DKVeysOFwPP_rGMT2TSwYQqVhC4Kt_BOXINS6RfEFQyN8XP96ocKkLb7tJb_4CRyVoBHHPMdRtBABtA7IDhZ6A"; e_fb_hostheader="AcK_CdlZMUtolgSq5rCpWbQoiopPvu5gLikeFxCWUjXhsDkWZvx_6kzXbv7_s93t567UPMfk0Fo1SHo8"; e_fb_vipaddr="AcIEEQ0dk01V2ydbgqf-2tGqSk7-6q9xK_3AMvUYSqbgfZhOvYbJ5vRo_gCq0k6OR8pe72uJpD_I4uav6u_g4Y7CvB-ywLdGww"; e_fb_requesthandler="AcK1VUY_SNfj_2k2rFsMcDWmvGzpwCdct3scDGDB9obCxQbaQfcL7g3Sy0y0RmCsKxmISJ5H5g0"; e_fb_builduser="AcLOEjjjztAGWEsSG-9-XDGjRULS-Llx-3ZBSF3POOTumVX6ZndY5f0WFyBt7oD7xB8"; e_fb_binaryversion="AcItgeP-ebOjxhmFGYo9Oyf41hzQWWsE9IH5wstP0V5UxSFMsr_lRptsdm9ZbmLJKIQvXCiLfIKazSa4lxE7Kwwj2rKoC4jAS_c"; e_proxy="AcLryv17S-M4Ghvs8GC_AxY09Y0lsKgA8nuD82cfqddF1e-5e0_zHbL4KKqIaSBPPycIVDkDlBpigx1XcvOz", http_request_error; e_clientaddr="AcJWLnSJPYvP5nsOLmAqF_T9yFbAPge4zME80idErLlj-bMTkqcHwaBnkvtCc9H-jIjr-mlJMal-3f7LoQ"; e_fb_vipport="AcJoZCPWOhG_3Muor2JoZonUxWMIS6aWGzZlIn01fevsJX3WXmCWfnmiRb2W"; e_upip="AcKhB60ZDqKtT8DU8S-qedZibQmQqTImCjglCsmCtq5AD3BUGS1g5pdVHxdxJjHM1HNpLfg4OgbVsUcQWl0Wt-cu9UkhRkKFdA"; e_fb_hostheader="AcJDgVZ2YiLDSGoD2a0h-aD7vChIstjRC8VN0291DHIrSEIKF6Ee0V6agxN-uAYbbAKp9NCKJMEpkcMz"; e_fb_vipaddr="AcJJBjXvX3bXALrGfCnQBkN0zUVz7_SZ78LzUi6GOyw6FSLNGQpjXC4grEj2eKCTPZUETQZeFQ"; e_fb_requesthandler="AcIELbKn2u1AZyjt4K8i7nNEcijqWk8oZj86Wj4sYGm7hNfsfvkIsayCwB7cHb_0xZx0Nl3KIc8"; e_fb_builduser="AcKzGe72FfFzZteeeYaE_GdiJxSrGbWiq8RxWl1xMq5ws086gCEKDNHlRhihdmRIR0M"; e_fb_binaryversion="AcIouzrBahOh2gMBqAhnIqIrifj4og1rKsdqQ2GZrXiGufQyf4JgOPe8Tj58QhHWpfjDcFBxugYMBvj9YyO_Y-i-emHXpb-PzxY"; e_proxy="AcJPNBjuj078HZFN31mffmnjPrmBCm6iM1AXLa91HSNUuUI3EvUOwkos8IRj86bjgK4h0J4w04ZO0Uj5"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/07/2024 23:49:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:49:17: Error on send one message facebookId => 6534700536631850 02/07/2024 23:49:17: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbzXTj82JR-RZfIXkWW-YCq" } } 02/07/2024 23:49:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/07/2024 23:49:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2357154, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJtzzGY35NQS0MnMNGyxikR', 'x-fb-trace-id': 'GHa09FkVilV', 'x-fb-rev': '1011285492', 'x-fb-debug': 'zeJ+Ql2swC/EYEOk2swGjuTaZq5VA0O940rx+IwIHUDCiMjeMxxQRy8Zcx52+smr34VEMIoMkdyy2Yf6BZuRtw==', date: 'Wed, 07 Feb 2024 23:49:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJtQgZizlJ20NFUZDeJDPpOeyyDLr3JmfPKQS2FejalWSlBkV6jebRewvTE_shMcEWHrrrGuWpLK4CrZQniFJ5dXpdP0CFz1iRz-TBH_KE"; e_fb_vipport="AcKLRVc0knewuhMHSgzNvRX0cN0GbbjL7lt13rUBYOD_LVznXVGti2-C0Mr-"; e_upip="AcJUNUJlGci5AEfl1iQGV7VEw5UqxycrXtDEiIzTYXz8sNJW9b3vOhicJbbiHQpHTEwIpCBFPs2m21i6CU89K0EifrwcuKA5"; e_fb_hostheader="AcJnj_3AXI-yI911f33jEZ0OM18i_l45k_aPb9InAFTjrDOIYYtEBN02CjMVlOhOvuPGfEBMSe_n_aTm"; e_fb_vipaddr="AcLgVJyhn2vvg3CjbhHBowRpzne-L-gYsV95ahhGryZwF9q5W_GRr-gpXUNs-4rl_iFpQv9V_8bXuDDt7jxC6akvcQFweT52KQ"; e_fb_requesthandler="AcLZgQE3PoCf2i_3LigadfV35bHEXxa2oNcyfbZTKgbCAseuV-W8SIdGpPtNimIHkQhfv9JhyOs"; e_fb_builduser="AcLrQrSWTvH_WBeGOXlb77ZBXombxocoJxpYLI8cVG37cVsi_rOkp8btPnL30mVv50Y"; e_fb_binaryversion="AcKA8Q7Nj8pSJ7vXjyx_qK3k83KuipbwRbNRv53BxZQ0Fdfj3SSg2PTh1NBPo_Fmt6KhOh1N2tWVK9ah44z6Q-W-QcGxiZudrKY"; e_proxy="AcLv5XK4xrolgy1O_8MuCKtnWPxcem3N_KmAXXuJQLX6VNtjHNfsd0LiFGwIGp4yfNsdsFpOJBp6CIZ-oJNA", http_request_error; e_clientaddr="AcKJ-CJmy4zNBrMCW3_6kYRzEAu79QO9lo234rJu3zwvxmB6ZADI9GeO_y0Us_xYHqLEc2G-43AxNqTaFw"; e_fb_vipport="AcI6PF4evm5huDdQOP0DT9mguknhZZspffHxG-uGoBhqNIhgt2MEXjpSMdTq"; e_upip="AcKlHG47iDPlBedX3nyxo1NgpwkJwx7Du0mQ_VmCrbZttJzZPbKXkwzVZPCdpoZLQ9fZ7JjmXlSsjJSkvaZ5-rFq8IjbslGJOQ"; e_fb_hostheader="AcKJYN3q3u8aOGvVmgd6JIC90BodTOINND47v4CJfWLImJBGfLvG9MQ_F2tR01D4aFZybMx3AkWS5peZ"; e_fb_vipaddr="AcL_3AL0_gxHcmBV2j20iPqan5iK4_RGnE_lOGic6vtTV2ZsaAaSzJmodRaHHGE6rxb1PetjSg"; e_fb_requesthandler="AcLdYiZHH8aY8_xYGbNR5ui0vZW5a8mOmlyxrXOzPK4cvdDA7EuO_rEdNqmfWFfhBWSd-kVtFrA"; e_fb_builduser="AcL-ujooVx4kc7cHy8gv0u-SecCAbWzoD2BEMbXTVRDHzRSbkF1WumG32Lu35vAVm5w"; e_fb_binaryversion="AcI1mJM0ceCNJR97jAjBXKEZwEkd0PLxzf601uVB5Y8GdjkXL3Pfo0cCOs1G67PaJD9I4-itmUB4Z4apleKdfHAOP9nYT854O8A"; e_proxy="AcIUFrIJQo7L3IS2x3RDU-1qrAwx_zl2QzzgfOjzAyzSIg1IM81_4EkE4krOV52jImBQY3DeK61Fj3I"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/07/2024 23:50:29: Error on send one message facebookId => 6534700536631850 02/07/2024 23:50:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AO3xf1yH2zpwq5ZDXAV03ju" } } 02/07/2024 23:50:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:50:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:50:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/07/2024 23:50:57: Error on send one message facebookId => 6534700536631850 02/07/2024 23:50:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A644ysNB4e9vLEpWZIQPlos" } } 02/07/2024 23:50:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:50:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/07/2024 23:50:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/08/2024 01:33:21: Request bot not found: { id: '320637341295349' } 02/08/2024 12:49:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 12:49:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 12:49:31: Error on send one message facebookId => 6534700536631850 02/08/2024 12:49:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnWT6ylFn4jNrlXL8n61cnm" } } 02/08/2024 12:49:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2490205, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ak5A0Cx43PeqYDfwcH0ac4X', 'x-fb-trace-id': 'AQZfm6g7/O/', 'x-fb-rev': '1011301280', 'x-fb-debug': 'FYK1Nf+qizKlr7VA7npinvxxRc8gCaEbNd1606C1uadh2luj6iAMQhL3UoE1hq3ZKBwcoXtn+wUISuLUj4GzdQ==', date: 'Thu, 08 Feb 2024 12:49:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLSqXl_xyxNJqOy3StZRMBR1Xc6B6heUpDaTOPp891qgDHZvQ5R-D2DDphFSXjseUmK-4f8T822M02Qixw_KoxL5VjgtdcnrSY1IS0z-7ntdI7v"; e_fb_vipport="AcKMgCzGEDglXal_Qw-TzFsdcSbZkpdbMG3QftcbPS5ho_aaLPaUdkBzIwuM"; e_upip="AcKWqDDtvjeWkyogEjOctxdvdbrNoWrH_YXJBYy56B1TrcCbQgZSU9rAMu76bgWxjRYwzdrBZWiQr4hfp7MEWF71kxAOKBT_fhw"; e_fb_hostheader="AcJa5HI-IPnB1FK3YfKlzBX0b9T6-BNhGuuh7N7VDZVKPhou9db4fHYle8AEhSPR-F-4tYSzKK_evvj9"; e_fb_vipaddr="AcK7uaosrc26KZGOUuxf39DJUD6e_BOIhC2bTHUraXM4KhShLqf97JZV03PQuOGFu97iu0k94vDvUyomtTAHOcoF5J_Gb37Sbw"; e_fb_requesthandler="AcKOSmY5-cvX-F4RdHjUIkom-TCGowgJB8IPN1OkgboPmNf_5KEOuaGlWblb5pjWkhO5rbg_4eo"; e_fb_builduser="AcKFdqPHMN9KnTXGnGHOcXRtZ4VqgFCvkRAhfAxbIgOdhjmlwscwYrbGEPg2oScLyUc"; e_fb_binaryversion="AcL5OKJgEQ52Qr5F-FlrbJZe3sXSQepOvIf6rJUaSgjNj8CCVOLOWNLFRSIzNpzaLDCy3O4AHCtzeOHanuvp4zkha_4sXQLY57c"; e_proxy="AcLAzkwU7HOJuPa26LGHOC3XWOzlHBdBJW6sa1-mweR9zLgvFUnTeWyURn4TEfryAtNqWwFNHjUnUaLTV-Ax", http_request_error; e_clientaddr="AcIYxjtNBH_SKYsbzguqn50nb8mTlJAhQUSJDXNUTSBSK81BtcmN0l_8-iXkGAK1UfRUkTrO4oldx7fVyA"; e_fb_vipport="AcK5TDBQ1FtaHTFVoHrEAwolMI87-JRGvAsa3nsO4x7P00N3Kksc9bz3qZRH"; e_upip="AcJqAk6jlf1oct-4BXVXrqc1vbA6dJSQFnPbaSE7JdlhZ2YsteLCm8LtisN8Dz1vaUo4tgwDE7GvKbawSNjy6BFXpLbI4sn_cQ"; e_fb_hostheader="AcLWCIGYx18kd48Z1KwZ8sAk_MlxRtuUNZ7ZFWfEJJL5A__DwgrWra0QuoDzftQsSC6n5jg3gRDDXufY"; e_fb_vipaddr="AcKYRna9BbLBqIxfMZWcXQP9cnrHtw61Jjrc409R11HUJnPNQHzsoAkpfqX67n0-FWwjdJE"; e_fb_requesthandler="AcJzfDtYVewCzS6qUznntqEI-gEZEIoQs1xWOSkjGkmXwPGBj0YKosYm4eGQt6E1JsA5OyB9zpk"; e_fb_builduser="AcK7Z3QEgnBJjI7Zc-N9atC6ABlaniA8qcc8wp8tGLB1-bxB5TSvIeVxgv-HfPLyI4U"; e_fb_binaryversion="AcKI68BlvLtxWPfFP2IdLj-9ZR4Uw8teeacEJZ9AbwbFp0qotKa9sWyE2VJJgK8oN0jGA8zKoxUXWvwI8UDz5ovFnlE4cACDwJ8"; e_proxy="AcLYHb4Y1OnwzPT30iGHqKzQ_CSRSBcVOY6Ki5pF2alaxpFBMbqoE6knRnXdkOXwcPhC9E0aN-w_hdQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 12:49:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/08/2024 12:49:33: Error on send one message facebookId => 6534700536631850 02/08/2024 12:49:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYGS4_r9_BRWrbe4zsMYwS3" } } 02/08/2024 12:49:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/08/2024 12:49:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2490369, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmFpsoWqyx6jBrWsvcBp9We', 'x-fb-trace-id': 'GeTskRBxMmT', 'x-fb-rev': '1011301280', 'x-fb-debug': 'HP4jirVDgGB+Z00xV7jLW/9MfXP0cUbvSPveX+1s135ueN6GjJGPrCaMh1OJW2fWqgn94/EDAKyppWtJta+HPw==', date: 'Thu, 08 Feb 2024 12:49:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI4QwEUhkWwfzabfutVr7DnZJG8mygNcCEJZ8EWm368OXzOkTAjcaIuOL8GoCg2hfIWhCHeP7yoITcfOnr100TdGjQi9MpLNlQ4494JXipqDl1oyw"; e_fb_vipport="AcLk_sQ5EbB_4l0KW296p6WGz4oehEGejHxUr7wCGsAiwJqOJehkmisErhdG"; e_upip="AcKebvcJHODZUeEWIo_Xsm-LEzGUp2OpZEPqnAP6Iudj3VSoXU0lZNU7NfmlEIGOopiLXXn5OT9kFBPRRU0u-7K01gP0RADJ8Hs"; e_fb_hostheader="AcILHF_RG3vGiBp1DcHal7d56s635l0T1s46-IDBPioMSR7oOn3ROm2BtGUYCzR7PAoFxqkThckBFi8Z"; e_fb_vipaddr="AcLBQLbUpQ23PGaKXpMIXbZEfCq0vgLozJMz8Kn7knNBgKi9FsNm5Xndkg06cdMba9cLI5FyU7RaloXb4g80jYOr24KSdfykjQ"; e_fb_requesthandler="AcKscLoPqcH5qF6GHH8OdRTgXe47tHCd0oGwrXZopdcTXOsKXinDpgcdwZAiE6YLWPAaSrjHbPo"; e_fb_builduser="AcKAiSK92Zf23QqZT548TbxanxO3_03mWglpaIl6yYZ0xCwndx3Ou_zVMp2rFYGaGFM"; e_fb_binaryversion="AcI3DjRMlq2KkFHwzwKxNpWldokG90iPaU6hqBn-qF6ShR01Tz6r6v1mj8M0ZZ95Qm5ZwLpASLTmDxTN6O17eZXPPS0jEHiqdcQ"; e_proxy="AcKCAE6VupS2wRifam-pFuj3wxSxqsn7M_OeP0Zdy79LW8svY3rYMdUvohuCNfhuvu5IWudtiWHUdbW5557b", http_request_error; e_clientaddr="AcKQ3fzKvTZYmwh1lfUqNJXxcX1ttFtrvxOOhFatgppG-Mkbrq38xBUPhqR9oRYwREeDBqjTBlfy-Q8FVw"; e_fb_vipport="AcIY9pSCaDhIh5PsxxhMMLN6rHEpiN7GNGKUdQnO-qslL1THzefxaVLSOEMO"; e_upip="AcKjE-cq627sRK95aQJn_yeNewf9TvuNYacDIUISBd40h7d-WaHU-rtOo5pIckAe9IpIldPakCcPE4xYZxMBeF3Zk-MqUX9brw"; e_fb_hostheader="AcLk5HHIE41XjLsBcek6u4sTpodcEW7xQViSzNvHywZWWBNZI9Sp0w4C3hTvsNrok4qIngGGz1nUKiKY"; e_fb_vipaddr="AcLXYMjhmcndG71O_N4WD2eaTn8YveR1dGFregCaYiBu9izz1-yySBMIeTy8s9bfjQBs0kk"; e_fb_requesthandler="AcKGeK2mjDbubNjHMj-alkU_wsvBeEBiaVvO0kd4OfxXPPuROlDvTYUAfY7GisfqsGSgjxjH0LI"; e_fb_builduser="AcLztjX-b7HYKjWOYdlei9AAPV9SeYj3YT3REM7PqjnAOD0rwKMqJsCQgPTo34lsQGI"; e_fb_binaryversion="AcIWCmYi_NJmq8WbAd2PHFs-2-bFxOAGnV4TsvDMp23-l6nSCta1jUYebOQv-vNEn6dhiy23gxRW433Us-Obn53ZsmeRfSl_oI8"; e_proxy="AcLD5FhHE6kUhPhFoZOSB1aokQdJzwweF-26Ers6rYaprbERoJRbJiBmD_kypg_etc2sCWsfUC7eYH0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6534700536631850"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 13:11:14: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7675113992500854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494068, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7675113992500854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7675113992500854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7675113992500854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7675113992500854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APzSjn0-O0mQLmSirFO2sjy', 'x-fb-trace-id': 'AS5UXnk+99G', 'x-fb-rev': '1011301280', 'x-fb-debug': 'OAeFteQK5TAS5D5TD4z4CD8TBt1b6IQzDETn49Z/6+dYYsBPdW8VOA+fLbglroqQZK2tZIys7jaq4HDAgFz/nQ==', date: 'Thu, 08 Feb 2024 13:11:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLTZyr38hBxFoaDK6UxPReWn-n5zAm_3sMLYC9gu0chcUEOnJUbylcExICWoig4UXIMCTIdewR4yciq8_Wm1-339LDwAmjJNgd1hZUqHdtMDl7MhA"; e_fb_vipport="AcK5aQjRSeaj9e_LxpikU_bLKVZ2vFi-8clPQxygec97KTvxloiJXpLF679E"; e_upip="AcJrBoYUTnXXybIwi2zm55Wjp5lbmUE27KjAfmk9UGIzZ-Xitt4TC8J4u-RRcANIzmaHnkiUGtrAaKwZWpJkq6C_NP_iXvP9PoI"; e_fb_hostheader="AcLLcVrQdfRmDal6Dr1_suwCyVd7Darshfol7q_tuHiWDqgJNClUZqGUqQwZnYlvB1OtI724TSxqEWWT"; e_fb_vipaddr="AcL5ie7_UdRbCumpV9B5-imEBOY01zh4jmwSNwDqirVgKYNG7hl7Lc72HnSSae6w4AxzR285JCiPAdfKwCUMGl5NEEXasE7ZJg"; e_fb_requesthandler="AcIRsmaPOdBDMYZultrqE5UnHJ6FUYXSQYMLdQoksSn6Fv9PFaLOHuX35T4GaA5gvja1WhizbjM"; e_fb_builduser="AcItqKQ1qwAeQiNdgVwhaDMva8iQXkJ9wVW4C-Oxf6Ft3rsKE9dVAWthaAa4vfYXENI"; e_fb_binaryversion="AcKxFngMkZL7VtAbcfc-f64AKng2VKK0md33f--WvqYHn9fuqL4Z64sjcnJv5KWrRQWNrNhsA68jFMPnlwnPaK9YN7TT6uvjeH4"; e_proxy="AcK2WcaBRdijJwA1l-TQIn1yAQGVMrSUCCiAHtgdiqShb8ttKF1EWAYHveMIAYBxxi3YlZ-JafZVPMTZPEnf", http_request_error; e_clientaddr="AcLjxPAqwSBl98-EkgoG5vv42mmPBGoWIRRFXGPuOC3SJ4eVUpxl_rSg-qxlA3fkZwuBycWBS9t-DqD8ZA"; e_fb_vipport="AcJTpXxVEiDHYuZ5tEOLszsyTKlQ129wAZGSK7zXWqasYWLhpB7S-FerwZrm"; e_upip="AcK3kDCmYNv_fvnj8Lk2h_qdUI-RDM142XCPL3-3yE4k44U9R-oVkQpm4HWU5RXJoKGoVzUILeO_gQvPHgFL4HFs9Jhxgr-mNw"; e_fb_hostheader="AcLYl2mRPf0EAfJqMhyHZu9HZGKHOrTkpYZbeWKdk4-HUgAq0uwiDSqjEJx1cZ0B74uHohyZ8D9NT3T7"; e_fb_vipaddr="AcLU0krPFilU6vYWlcGB8ALnlXC3e_USIU9imWge9OUK6TuRIml13LIRrO4nTlCPdcHeCBwn0A"; e_fb_requesthandler="AcK7fgEkREnjJJn_YFvGcslR7r72Ugt54unnyPzCn5aM3gIcUSXaZsO8jaWzX4QmTapqZC2_aFs"; e_fb_builduser="AcKTavqZcOv69NWGd-z-usYL1_usy6Qnn5f93F1lKvbkZvgOjT4qgKEZoPJsjdNL9TQ"; e_fb_binaryversion="AcIYoHamkUfQB4F5MhxXtCapSEe0U_lBqUIRTicP-VGLztZ-_MTIoZvpU6QP_TInx67M4e8VGR1D1oUcwzGvDR2WOmHUJR4-6nA"; e_proxy="AcJZ3m0MGd6aWRyrhnv4k9g8cAZjOf29h1RujhCkVh4Lg0NoYDSob0kCsU-_85ONKdnbPkhLy_OEnb8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7675113992500854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7675113992500854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7675113992500854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 13:11:14: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/08/2024 13:11:14: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/08/2024 13:11:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494186, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALtfh8a0ITXwGEyBZyIpYXK', 'x-fb-trace-id': 'D9agNXyOu3Y', 'x-fb-rev': '1011301280', 'x-fb-debug': 's5sdvFWoXjNTIhuOSlSNj4EckqYBEmXjZAzxDYU5hBl2xPIOgdEWP6ZvmdKrG7hDLs8vSS38lNaWWwmTeraFaw==', date: 'Thu, 08 Feb 2024 13:11:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIaz0CYVMS4welfL5hOiwyCI0TWjoalOijso5s3PsSVbHhOeZvj5LhQ0z6xVI2WJjGQDV1wQ5m-YIHMrKqrpSvlHdq6qFe0RT1BPnJFgyeAefwD"; e_fb_vipport="AcIo10OwIzlcq9vFGrSDAubKhkvhK4xM9fj2uYsyVL9iYIZAkjntwRLdtI7Q"; e_upip="AcJUmaKWSnoBK0z71JYFgo7cvj8YhgGVX-gus_JTX07yYdxA6ddabvwyTxe2q_LYvWyNAzI6igvlB0XsMTmHXFG1UYYuUQ_kJ1A"; e_fb_hostheader="AcLPJGK3Es8euyLKg4rZmZrWS823CwmxyvNHcq3rORfAiIDQD9dP7jhktzyDOJc_XoLWRA_iCOE9bI5l"; e_fb_vipaddr="AcIgmVlTuNsP7Nz-NKN0OWtjUJk4qLvc5z_PqHjZX3w_-cEE65Q70C9opwW0FcJQP2D1Bv9VZJD4vcKlTinkp3pyBE3RjTD3Gw"; e_fb_requesthandler="AcLUxiDMIHLQgrtgEmiUtGSvdY1ze6CAxJEoOPcRWGSiA57tZQy3z0wLjWZeyYAu9MnjU2biBSQ"; e_fb_builduser="AcJf_ao_d_fU6fdJaGrl4JkzWScY_NvyfS3Y5YHJYX6JSvuC06moXdSY-UpL91YqoLg"; e_fb_binaryversion="AcLnuGx0BOf-S3pKXd84WX3mUti3zR7Qj9NkMIDVapC5jjMll74k0lJ2XgXvcvboyEqyCtiJwU2jEOwB3fE9bkdsnRAEf_qYmXM"; e_proxy="AcLK07s_LlKF_hiMAJ5W9763seZGcJ9PpPwDuEiZ0CLnzzsTfk6nHzzM_fIR6RjeZz3ua_JiHk93c4FcsJe_", http_request_error; e_clientaddr="AcI7beoz3ifT10Nj942UiTAZcAZ8ysaCVbiWAibr4hSmA1zMEvRiiq9BBV5s8Zin93V2cp3k8hNkW61-jw"; e_fb_vipport="AcLCaMzkuP3JvSAk9mEgjSSoUhZRazo01--5O_eTUxXj5Th2KFnv8Hm5kYDi"; e_upip="AcJo46voaJ8QRJgxTTMV6bvS-cIvyofRSl-diNVltg6WzAS4BPYlbV9vltNQCTjdrPP13pPDrEd9qVZu8fw6qq_fi7ibtw82Xg"; e_fb_hostheader="AcK2IkakOWlH3s5BiVhSVYTJXXaeHaljmRTxdEbCno4_3G2eVdRfynJwKd5UI6oRFkzSs_Ex8GTw7Pi7"; e_fb_vipaddr="AcKnQmM4BCReVwXvZzxx_O574wi8JwMNiNYdVLnieLta7xI3ZQNtlyJ1gwlyPdGqdwpSsJJlvw"; e_fb_requesthandler="AcI8fqjyRNdZbvAFvDJmcxS4PmwB-wX67wgBbZ5bWkRHTk0HrxiIwUgB4O6uDscEYW-RbPcLsno"; e_fb_builduser="AcKJohr1lHr-8487y8_qOdQqADBHNdrhRCwHWPsKsV2_rtVQEPkYqkykR66nlgbDMWU"; e_fb_binaryversion="AcL1e3FV9siLz2MbdmX46n9Kj8PI2LV_QC-N6KbytIHL7Fy-TGFcHR8elDVsfG-9y54I3mWSbruj-XLWjFOcQFbrJi_FLQ5vNpM"; e_proxy="AcJreRZ1e5oaI-mxVdruprOYDXzcJ9jMECRaqTYLBxkVHTE6rHdHVizyuE5_UyYgE4tMaQ6nUllnAuI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 13:11:16: Error switching inputType 02/08/2024 13:11:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 13:11:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 13:11:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494330, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwXPPTfE0kAvtUUyytD9uoG', 'x-fb-trace-id': 'FMWKn0VrcSr', 'x-fb-rev': '1011301280', 'x-fb-debug': 'JGI88JZgZAbOtqxasxoZDci0w5aBQmJhqWSiO7Sfoik/+RcioE+WCf+/cZkCirYaHbMIO9il58/fJEYQwz0cHA==', date: 'Thu, 08 Feb 2024 13:11:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJiwEoq8OsdbQNhmtBpCSW6OJum366_UmSrXh36GPuI5TapNl5aPiq-GhHm2kJu4I1en4zTzo50jzENNemAuW9dH16bMyjYdBsjZJQHW7Am5CBP"; e_fb_vipport="AcLO0SY5pztM-nKsfOiJ0fpAG4GDeuVo-ZEJldp6TdXm5cffM4ZepndsjF1B"; e_upip="AcILZm0yUOrwBeBty4JkpTzkqu3SPTKqVcJYXcLr__Qn4dw72h4owQUPzpjHGRBAwjiz1D3f1xje0dgzbHVL1J8cadsLp1tD3L8"; e_fb_hostheader="AcLC9vlw2BQH_Fd4lpegf9FUcZKpoBYE5JHxmOs_k9zIOMX1hiRNHWSlOF3evMvNHBsZZjiL69qZgqwo"; e_fb_vipaddr="AcJgazIOxkez3QpdO6saXgR6svZMB0zGFF9kHxS-hwYInikRA0p5SZqEerJbTuxge6ETliIqvTc4ffJtZN5NX-s5AtYLcCkSOA"; e_fb_requesthandler="AcKqqU5gx4uHloXvKdgHDOFeP-zqevv4E8h2eWS6TAaCdLT6Q2IydHf4xAry4stkunPwLgLiAds"; e_fb_builduser="AcIoRrGH_TissOc3-at4ZBXhz6fgbd67swd1affnJp2OQQssCJpojdRwLJWAWvd1wfw"; e_fb_binaryversion="AcLO2R5f-tCveWrvodF-UgHbft7Xl9fOKKohvMAK6GRVSbYVTiAn8GrRpNaOpy0cjESUoFOu7O99kJE1Cd5d25fMdBNOK4vUNAM"; e_proxy="AcLBeil3sSb5Q0nags4hzhGnBGAHQ3ts7gKyptvwOwD9VZSJxa4MglfbaD4iLrT-MJnzb5U6214bQ_5X9q3X", http_request_error; e_clientaddr="AcKzHr-F3O7jb5it3Ebz0h5ea6BmO-A4F5HmZeJXQMEXwoHf6CQvw1h3eGCc4kQvfUt96aYHu3greDw3OQ"; e_fb_vipport="AcKnv_37dmnSUgbx8oCch32NRiXunMwbMVkJ_bjO3lyYWfppZYeaGxNT94Gl"; e_upip="AcKH2Kaot6e9U-aBTes8MdhtpEAAbgPmr0gtvuGnl-Rxzvbtu4zmlvoc9Mxg9icbtqki8a6bS2XXg9r6FCGUP-IkejCR7KVT5w"; e_fb_hostheader="AcLG2bV4Ob66ZsGi-04iwRbX7nXPFd4_1agOCW6MUHvXSfkm1M_L5V0n1zPrTe8Jio-T68f62IiTBz0w"; e_fb_vipaddr="AcK3sWY1bDKwf1yxW3PRJTvfUDcZeQrgwRrMDCJdkrBkycEwGFD-rn4Q26dhs85CI9Icby2J7A"; e_fb_requesthandler="AcJTV395ajx2F9NNtWLTEN3i5MRtIyunYtJLJ46SnpzJaUwWEo34X-LOVWNYPzjttsR_5bd09Hw"; e_fb_builduser="AcI-AGtO-5EbaCui-h6quuze1mH-d8DuZ2hIRCsP-2w8Qmcko5093QFD4OgdnoFocMU"; e_fb_binaryversion="AcJoOYhseqmY34-vUiI1iCSQEt8wDsB7iC9E2eDtnLVURw1sKCZeIQ4y-MddeBAGViP3wEFxDRnWyqPY_bVKRmNXQc_HQBXoGSQ"; e_proxy="AcJpC5UyUTnwZb1fOKxoEiZzNZQnSsDoMCLhxXpBY-orbkeMVd8Fx0VpZ1eifSXJv4Bww0dZ9ekebAUH"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 13:11:16: Error on send one message facebookId => 7675113992500854 02/08/2024 13:11:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AB5FiJXCC0vjQ_-Z8OLTBz8" } } 02/08/2024 13:11:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/08/2024 13:11:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/08/2024 13:11:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 13:11:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494468, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKgqUrUuYtB6Ek0TaxBx160', 'x-fb-trace-id': 'HeG4CfCBQve', 'x-fb-rev': '1011301280', 'x-fb-debug': 'mGgmlgcvAKuZv3A44/Yg1RSqEyJ3xTWmAhlP1stFS/Qj26GJNfZDSlKZbwq4FvwL2AjBTyTMzzXIt+LrSAcmCg==', date: 'Thu, 08 Feb 2024 13:11:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIszDd1urPQk0FFboymD7EsEj5xeLJh0EX5Wv6PG6xztq25XzzLAYFRWS_BQ70MbZORQLML4sUzn8MRaXAquWvs9bX7zjhQau7fi73rn9l5B7jDiw"; e_fb_vipport="AcK-J0DXMT9xL1ctVAQAqVnP1d3_k2rayac2Da8AWkTlW6QTj0d1q2lxUBur"; e_upip="AcLTXp_IfADY0qvheBRCMMW5U9iQgHOWFVqytO2KjME0AKfvX7dLMJFDRpthGux6fOqzd0tYhtilVwbk7tojLeluF2d8S0sL2W0"; e_fb_hostheader="AcJpHnzjwXPAnsJ-1OuWgCX065HeFOzlNwPbEg9hCfF8bgCDv7ccCXmThFJEYdIYv0-9Bdn7N9bunJG7"; e_fb_vipaddr="AcIhZ3Dt3I1_jvB9JAu8isPXC6Gai_5LSbE-NHhf2kcC5NDJzznkSV6_Nqa7dJ0wd_Z424Lf-lmptIFvH0bg0nxCCMWvr80wMw"; e_fb_requesthandler="AcJZOhDY0xWtizUjXBtJ6KSiueefeEf4sqQNf0BEzxR76cl3dqvYXxgBdjLZR8fHiROwAPrF5BU"; e_fb_builduser="AcJMtWq-kFV3FRmtxuXPkHznAuFxTShIX2zK0DWsA-lc1ubtFz0OKLrqmqpZbJuSYt4"; e_fb_binaryversion="AcL9YhYleLvy6bCjlLFOPQpCxz50vZLkRdvWrRxhBSg0TYANJrW9_D9QXmgGhBcloWov8B2nZhG5knW1CXpDIlrn6_Ept9ZypeQ"; e_proxy="AcJ07D3ItUCmoFx3AVi-YOHo0uI0XGIVoLDPsBL6kQ0-Ns3EfVSQK6a0k7dlcqSFOTtUpO26tRPhB7TilQWR", http_request_error; e_clientaddr="AcJd35LQYj66elWqH6rgUOZ8myQIzxmBKYTmkpHfxPZxzlJ1xr-EXQHTRaWZYHQHrBRfDJYArzxC-vnSvw"; e_fb_vipport="AcLCrWnc61aZHfRZG1Sg4ERGAwp5nLrNoAdh6DmKisLaFGw-fjeL6qopIg2Y"; e_upip="AcIIi9peY81xNqdLBYIVt6AIpIxSOkq6AochPaPI9JARZEaLaRiJDJQFBPvFYU4ihz_O7ob8h99WnmxpNLFQvv77-tDETbLKDQ"; e_fb_hostheader="AcJG88NWqhFIzap3o7ajwYZ4VXP7V-lGzqEtleX-ytZKv4VVuOgnrsK2XGZP_I7DQOcMRScIsoDMsQvi"; e_fb_vipaddr="AcKnguvR9x3R0zXRnk8DVb1_gWOYmQxPtCa5viE6K4uniJjsbFo0a54YS5HkxYAEoydXeZhIvQ"; e_fb_requesthandler="AcIE_fAqBuZPMD-sWA6f7ErJsJjvy_US1CnU8D47suoKU3gKCfAuqXrJWalwNAAUZrjq9Q5QswY"; e_fb_builduser="AcISB_25agelqYn9U8i_pZoN5XHCM_JsZdyK2ZZo2Dqk8IDerJjl4kaMJasU5ej7PXk"; e_fb_binaryversion="AcL-L5a4m7RuLITDwRn42efXko47pGHxVfNBzzWfVXIHICuvPgfQDy6o-brBlc6HFq6fMUiwezg-LcmgqniKkwfW106qddeyeGU"; e_proxy="AcInfi3LDPgEKwb-nYHpHU9xNgc2cGaApp7uiD0tjtP0c4BTYbj-QEFhwiZb17poep25RcPr_FYCKVQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 13:11:16: Error on send one message facebookId => 7675113992500854 02/08/2024 13:11:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AWt9US3R6yDQ34TY_MuoFKl" } } 02/08/2024 13:11:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/08/2024 13:11:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494546, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_hG6xm6U3fKgKD5h5ffcdX', 'x-fb-trace-id': 'AZ5xv0BdJcT', 'x-fb-rev': '1011301280', 'x-fb-debug': 'Sygq0Xs7zprAhNauMOHfBy77Po0X/2zY8OpaBIkdtA+U3q8sZnaEghjJ/KghAeNEKa92nOxMxXkzhPnJZMpzOw==', date: 'Thu, 08 Feb 2024 13:11:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKQY8zeDcEOosugLzrtRUy1mRNvyvfokUQhTHL5YzjAS7M-mJbtxTfJ-866vO_qra_rSJMV8vXpd9L-HJoZ6JtxfJwdjtthD1DqDi1dw038SBH3Iw"; e_fb_vipport="AcJQ8Oyw7lGVaz48i2y5HmxS7J9L_4CZi1us3bWfwgE2yF7GA7DGC5DpO7h8"; e_upip="AcJwUlTkkzheO9M93iANoBycTsGXKbl9TOyrVqpnMt0sEYfDMmlFL56vUpSe3A6GkwtXYrdRB5jXHGQnuXs82CSFqdL9izw9MUg"; e_fb_hostheader="AcLfTG-_npzrC8gOWw24B_g9u93Y36PfsqH7spdUhnLApiBTwXfcx20sb4N0rE00FEv5HwffyVIi34Vd"; e_fb_vipaddr="AcL1BYVFGnPTOZotrfPSMmMUrqJsb8UNQ5W9sexr1oCJGYd5TfuLseUI3pfk1U7EfOMJt3GtV10XZPqzU8JzO3nj3xJRQ0MmNA"; e_fb_requesthandler="AcJDhw9egPJUoVQ3qpKdXTCCEAs8fm11fUJRuDUpBbw63RLIda2RBZPlUcIgijp6XH6Goc8kXNo"; e_fb_builduser="AcJ8kQ3sVJJ-2TjbUchKqnweoDRmz27sSmz23H63JuGCg4cTotZc-Q2L5Ws96qWC0yo"; e_fb_binaryversion="AcKHug4GjJZEkSXPo8_592esihi-z0Y7_o2QjMY5HuyfLqmkdWbaYMlqX-lnAFfY8KMGzpg_XsbSvwMOW9qCNa-Ys1fcNgm4mvM"; e_proxy="AcLCZWw2kzk3r6XK10W8OuBbib8d-HcQf2aSVyl2BeW-g8iQ2I1IoO7x_ebFSc1tuTDJKG31AHOVCIuUcEpq", http_request_error; e_clientaddr="AcJAjfGkxUUhmMuY5Jkd9idioPNlEu-la3rbKAL27DoRCSQRUVbbLxXSCy4E1cYXb9MhIaPO82yVnLDD9A"; e_fb_vipport="AcLndgoqm44XOB9UuW9K0hfhdLA2MZTVaQfjz-V52Qo7pQs1aQg4qtf5N6eN"; e_upip="AcJ4GsrsjIx8RZMgIios57LNkjufyMNdgned_hPl5mZPh2BclMkdu4FQVRj9Dd86ODfVxgR2oDxsyOOq5qBsWhTi5Eo-M2VTXA"; e_fb_hostheader="AcK9uNTh9HBbvannz2dY_wElzyEwuSxa8EPVOII1Fe23557ZFpmd1Ozt6PWTN7nDO_cDBOBah0Fqwpb3"; e_fb_vipaddr="AcLHYYv8hyNxwd3q3POeqlOF_9aTkLyyMNqd38IuLZZMzdwMcIZNg8OtLOYB6mC9pRM4VvCpVA"; e_fb_requesthandler="AcJcfCQeUkJ3PDjg8jgHX3ORHthpY2X8Z8xoaav0WuDNSrnvUXknvCrrEaRCxdSvRySmgnhdUVI"; e_fb_builduser="AcKDhnXYoIbeTX3gJ2v08jjH_FMa5kF7nnqj31gJ4zQkCzTWMt21TzmOylxBThvR0rw"; e_fb_binaryversion="AcIdywPEHaYr2_f_AJNnJtjthcKRoPqNMTxsoAbSadpPJ_CbQ--ee9mq5u2xGRNibEh5rSnHxrZS64a2fqbjixf7xgRmZ4Mihbg"; e_proxy="AcJ33pdW5B5xHQVLPdHf_XFTSRKKP_IdvDYsBpJOkIBqs5sY3FnGb4Sv2a2WwvxsMB7EoY86j07Oz-k"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 13:11:18: Error on send one message facebookId => 7675113992500854 02/08/2024 13:11:18: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0lpnkmIWYbOOoPEX2OMmp_" } } 02/08/2024 13:11:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/08/2024 13:11:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/08/2024 13:11:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2494690, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASf3ZpOQv6zwZenh_HMMIQi', 'x-fb-trace-id': 'C4IYxb4CV0m', 'x-fb-rev': '1011301280', 'x-fb-debug': 'M/y/zbUazyqkW8Yb3JoUGQP9IMVMVL+nHI0gVb3W6XjWNC10vdc2iri9alhP1Pf13Yay2GFgYiqZN2inR6L+tg==', date: 'Thu, 08 Feb 2024 13:11:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJfgz6rFcJgy1kbE9YrYetW158XblYs0s2x7uI-CERBKoN3r7Kq5-omOQiRVsTg2N-MxW6IvsHtH7vKf8Wlu8k_daPsNeIYqwlNgDn9HOOnrCpqmw"; e_fb_vipport="AcIUk9Jc8xq_-dEizbBqoe8e4bFBmoKfW05tIF2GnTd-YS5TEYj2813m6Nhk"; e_upip="AcLwwZ0tRaTZxmtsFqlKtW5E8SRhMEf2P6C3x4Ns_nFz_tZQDHAS7_2STqjJH4wfD92GW4DoVYv7KiGpIRnn-k7mkvHu9oMW0A"; e_fb_hostheader="AcK3W_2HKGwhDBWzMiqk3W43cd7CbO66PBflYJErHL9x3K_FAMak9LTkGsWQrZRT6ywBHWjeNFSutP3X"; e_fb_vipaddr="AcLuHvvoybN83LhV-Ia3CBRQ8ext_cnG0S8L1l5VMaKlFeUxXV6fYGH8zp4zClfpH3YJV_JYs2P5nXUjCJqqSJEBVBcqeFiexQ"; e_fb_requesthandler="AcL3wFTtPZaZ-_gmx5S2h_MZpgbyblAoVndWjU-IjkNZ6iwMO7vICetlqyaJVgtR0CgkBzTdR7k"; e_fb_builduser="AcL9dj43mPHINLNRQXsmukFesSYScwHdYNZHCzZtsIis6vK4yrAi2WCZUzlXPZHfkrY"; e_fb_binaryversion="AcJXN7OTaF_614ZQTNeMQZXeFCquz4GM5Y6-Htm5ilsvqEt2AiTbamAIc-O6hMGOM_rd5IUUzmOgS8v_UOR405vGCJWeJ82T4GE"; e_proxy="AcKcExzKvvTvB2Lce8FHVkc2Cs1xpqyd5yQgnjKGDtN8ur0XPebAhgPIzDJYM_Ie2wPhef0Pj5wATvHLwuVl", http_request_error; e_clientaddr="AcK29KLulZu7hwCz983h4gruDtt-JCgAewIR-e_Oo-1Y8vAClVVmZhsCYcclPdo5ouN4wbfEE_wKhdHa3w"; e_fb_vipport="AcJh8lgCmiSIc-Df0sZo_tcom91xctub6r3ajm-J1MhyDtTtyH_76W05r5q0"; e_upip="AcJrbIN8JyeMDQO7vIH5kikhsPsef9qpcdYR2gNxHK_kUhPArXLQgOoMZFNvtWD4dD6HqNtoci7euKJKmo42urtvgmtdiaH1SQ"; e_fb_hostheader="AcIBtAt3UQUeBkz9t8gR8D8UIIu3g8Tylb_km6KTKXA00EOeixDpIIDVWHiKU7UpuniljcQb2Ux0uMOI"; e_fb_vipaddr="AcLCiOYap8d4ovrsfjyamcC_UZwD9fzveE1Kelu1CZRn9IOmHsN0m4gbI03tCsUE2AmZ2BBGhw"; e_fb_requesthandler="AcJs6RsmpOAvNrx4tRls4d5zCddLcuPUbZvBD0nQO50DTeIO87hj3vVPykhDDDsMeHHFfAaL5UI"; e_fb_builduser="AcJUxoPkOzPnEkkUZ52jZNurWFdehPnLWjXCmaHqbx4rDnK_IfKZQ5fk-vGSQiDQREQ"; e_fb_binaryversion="AcIj18BYo2Q67uYdgg9Dv0J0qv2jVd4e7Q6GE_0zApsnBCxepAV25N7Ai-v2vwp4NkluiD0WO8LMXXXmcAJToaYe7zhxqty6IsY"; e_proxy="AcIpiveY23TPazU1ubZ2rPXtvI_Nd18GQ3o9BbqnBCV4bMSdH1gwOPgYYVJBr1fPdxJYJslUa0pbuqo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7675113992500854"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 17:22:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/08/2024 17:55:07: Request bot not found: { id: '565033343594012' } 02/08/2024 18:33:29: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/2782378868442905?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2549208, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /2782378868442905?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2782378868442905?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/2782378868442905?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/2782378868442905?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGM5ihsupLIwDqGJd9tY_hx', 'x-fb-trace-id': 'G46OXc6FLUI', 'x-fb-rev': '1011303771', 'x-fb-debug': 'kTYk1KURxtwM9VzuAwFyK3jfS8NO/OK2Cb7EP5YRfZMiqCYVwaz60yiBVA4qjzsO4a0Avwi+KF8Ue6P/7Vtm1Q==', date: 'Thu, 08 Feb 2024 18:33:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ4lgmtyP9O3t88vG6U2G_3a6GbLCZ-xH-iIcriVuijI1k2ogzaLnduFXY7szm2b-Y_FwoysTbGP2mHLXbG3dJHVpdVbzupkDeiwtNiY760V4kC"; e_fb_vipport="AcKeKyYL00mI7vt9hgV5PvnzVT1vsgTNoKWkMDlXQi6NrgIJRhNHLqOLASDQ"; e_upip="AcJKR9-cwDiBeYV1_e5FuaAircn6FDA_LUPcVYoUcgbmnPRWQ8fiAO9V0aazSF4NDSnQ0__YZz2TySNxefWHahjsdop6Yy4AGf8"; e_fb_hostheader="AcLtl607tpPYmtRTd5wq_otZBU9gdjCUfBv15Xfqp6TRdHN3zUb1_9ukS98lw3rLcp3xLDP9OmPmEe6E"; e_fb_vipaddr="AcKVU71aMQNuP-xmgyTemV1vV2OojWyeF74djpDJvlJYIXR6KC4D89n8ulB-Z852AGwmLr4IypipuQNJUHhQpEneQ4lYcjXp6A"; e_fb_requesthandler="AcJ4Z_O1IhijsUkEghE1Ew-liyHZRtZ6W7CX5nVUEVRmfyiO_xbR23zze0awcKZOzo5msoawpPw"; e_fb_builduser="AcINHg1Kf8XoNNuJPK3zeyp9OsJP-xiJRQ3gUYkk46O5W0_wzCq9xnIE38EwuIKHSgw"; e_fb_binaryversion="AcIDn7sr258hi1jId0X2UvA5Emc88gJX_xunyPNO5usSRsuuckpkOFQGffb0hDOyhlfLsX4MMkGw7Y78YyQhcUUc7mueaH3VNw8"; e_proxy="AcKZlQa0bKi5ADqt7noctGxAwTyLbruSVlUPBHT5EhAHIn-M70xcaS_FQyS_pz6sXs3NvJ6j5yL5mcs5e498", http_request_error; e_clientaddr="AcLYSTF3iK9Nqtz8YjejaQVxjv_6NTgxdGZghz9RLVKgeAIOLcQ2sHB4p5H9edsbDHrXStZUL-gocSbBMA"; e_fb_vipport="AcJPRHgJixgmxZM-VGSKc4USlG6af9U9JTEjZ_HCntVNCfZWIMpVNS8555TU"; e_upip="AcIYeI7TobH3iDV1x68Z_Db_1mdxyfY7DGmJLuwW8CCxXwWcuk2l6AHXeM_dTNJMjgz23aZgqL0ON7bSQhEQFlFjrppPkmazsw"; e_fb_hostheader="AcLK-7HeSKFRsb4sXCNogVAowx6uKy0M6afF67hznx0F2KCvNro6oRon8IlEk1u4vPVmaw-AsjiLaA4Z"; e_fb_vipaddr="AcImF-VhJWwEeb8VF9UmRznJHfia3ZcBt4FRJSwcEvxQuA2gixqQ9NLwRJJo2aX3lKbcHL4"; e_fb_requesthandler="AcJcGPg_tLzyYkRHgSaTwcfxNeTV8PUIg3rdpLE1dbp-VX7S_-U2vHWnwPHwDN90kAQOelRIzYY"; e_fb_builduser="AcK_55LaD-17ZcjZLJ1KwXHbs_GEOK7Zy6GbWQ9H3sY10qv_ZxGxp-NJGjRQpDBtyKw"; e_fb_binaryversion="AcLN42b0kEiFf453SjN0Btq1alxpFknxayd5_OfMEmUweTFTb9G6ULMluCF7QSUS5rk_yGVx4D2PZJsJJCLvDghShfAFDsOxdWA"; e_proxy="AcLoTaBzcZPswivc08Q_xJp1RWwy2sp9GvwnfN8psTV8ouUU5J2mH2OP2r0iA3XEgBD1jeW_DhU9VPE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/2782378868442905?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /2782378868442905?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2782378868442905?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 18:33:29: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/08/2024 18:33:29: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/08/2024 18:33:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2782378868442905"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2549326, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A51uvxJQxihptyrwbOE8Q4u', 'x-fb-trace-id': 'HP6wxnAvT02', 'x-fb-rev': '1011303771', 'x-fb-debug': '3/jiaQzGoFoICIlH6nv6uEzKwr2cA++/LdtIxOwzq5YT4e1RyaDVrdmutJtX057pGb4vkk1jdoxxrBKVF7yMvA==', date: 'Thu, 08 Feb 2024 18:33:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJecsSBsgDgZwqWPiIo5O0AWoemX_ddqoeh5RPxgHvOlh-WC6MgAYTxpDlqauTBIm6MpJQyyRvhHW6lZR3T7m8jdNvHZ9jrN0-laCKy1OE2eHM2"; e_fb_vipport="AcJWgcWi83ZL3bmsIILAtoK2sVROn_omvkiOFHpgQfBEZrWl0Rz4GH134S98"; e_upip="AcJkQlPbP-67GwoycWwIv-GL2xeATp4t8YLzhHhkG_U7z4cJaReLo2a67XwyFr10dyJkkS00lcLEDpOFWtT0O81Z4SY052X8UuU"; e_fb_hostheader="AcKoHslFCTuJcvD5ZTN5gu5mSUrPqdAbwAoXU6w7CAODrslheb7mqwAh3fyX6-sDGv2LFwrRwv_0I5_z"; e_fb_vipaddr="AcI2827v9vGfiNjlOFYCZ48W0wlg8cqOfMLfyXSsku7IDORe9fUJZj9BYEVLFQlopwJIL6AIiy1KCU8XsoJ3ouRri5LuiF48Gw"; e_fb_requesthandler="AcI65ZDizWba_B--_CTRTFq4cvAENZkNuZVp3najvqW5JWEh4GATOTggSTv4sHSxgJpIlQShiq0"; e_fb_builduser="AcJt1lX2Z_CXuIm2yBs_orUmOtYmRy0wJPxzjR9SUV3UlrsGhlOiy8dM8pissD8DVIk"; e_fb_binaryversion="AcL6Yu0p0GEvQNPdk4zodB-cDaGdx7Y6xDmb2kmHoNpeB-Cznf_ys18uZInPD3RhvZlSZw5t__YEQ7cB1v6-st-kbrBhSUzKDYc"; e_proxy="AcLygT9s-AwMGdrRC2-5ZRHLwwEcnlfSWRVeVW4Rek_s6tDjwWHk9_DS9GNOHef42SbfhRJWr4O4gIicxb_6", http_request_error; e_clientaddr="AcLVntX6YXfbfm3uVP4Vba3__pMgKxAe8qAQNeFM9oMbBqKwC_Czp9fbLfs_NWBfMHQt_5CRHntdPN7rRA"; e_fb_vipport="AcLqlzR9MdbtrB7A7wEF2Bied5srK6utARpxKP4ypoiQi83xZqIC-T7_rmTs"; e_upip="AcKLVEF6w0W_jv6OGTkYXP85QqS00hh3juX2WhV4AnutYIVNNchD__FiJ6IwdgtItLgfBN2BcRWx7wTKUnELx63zX5cWbIdpQg"; e_fb_hostheader="AcI7UEzq7krj4uaJeNpsBlBuBkQryBWIENAjF7c6snCHXMImuObo78mWv5HMIoOP-vh5SH6pfdFV07TY"; e_fb_vipaddr="AcJyZZz4Cmbv_Y_Qkp3B-Poaqh1hckaGoPXwAhanvH3eqlLElCPTLP1f5jiPV9-X8yEAel0"; e_fb_requesthandler="AcIBUhRAHNQskbxKZ9-XrBAYeOZUOSnTViOobmZtYmqK35XRY9flAdjY5hMZp5zJgF_gKzhaZ3s"; e_fb_builduser="AcLeOa5VynwPuEBjAlyLDl7MNWzPY-fwgR18Sqaol6IB9NQeal4drWzj_YUKbKRne6I"; e_fb_binaryversion="AcJcsEDIib3d_cCqbo9NKlyGoUaMCq3vqxtR6gGFX5Kxs4AWDhl9jFw4eRkn5bNLUe6QnDo9BnGYde82mZsj2WOKcsfkac8pQSA"; e_proxy="AcJo5fqZ1EKPY4pFT54nK-4_-GgnQmT6aN19RupwIBXtnrF_6f_F5uohEEc7m3eOl4FLHn0pAM0lMNA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2782378868442905"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 18:33:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 18:33:31: Error on send one message facebookId => 2782378868442905 02/08/2024 18:33:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AC21rqPE8eZgUp2nFt2oU2T" } } 02/08/2024 18:33:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/08/2024 18:33:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2782378868442905"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2549416, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ah2rqOuBPgKd39F2CMPYGDs', 'x-fb-trace-id': 'GFH33AYvdiu', 'x-fb-rev': '1011303771', 'x-fb-debug': '0VaZwknkf1ZUpk6WcaaYmI4N8/pAajj4U2t5TaWTisU0HAxO0dQcCoLL2PGOHAOgrrHZ0isPKYetNIieVUpOGg==', date: 'Thu, 08 Feb 2024 18:33:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLf5F06q3vHjhu82fqpyacib-SHdioyzfvl84KLsqzXcQfMXZNGKmS9vv-U31qk2S1iFIdRHGb1MZWWj4GtTYGzN_eTdtp4BuN9-Kx6OVt-FZ4"; e_fb_vipport="AcK2GCqZDNOBmCfoFhL2fvW5WNsmZUF_8TMMKSR7bGjW8ZCUJY0Q26BWtG1P"; e_upip="AcKZhQ0klIQSDEQxsh3SkZwv1ciZ-7iGCtO4p24X_UYiEtSRQPWiabpsTgqIg90aNLt778nn42H727qx_iqVOWSNQdslxv7Tvew"; e_fb_hostheader="AcLNZexo-U95Taiq6GcwDmxvOAc7kaFsEsMh4tpHrroFoaxWAnb5NXGPmgE-2P4HSB8kC3110Vb7eJ9_"; e_fb_vipaddr="AcLPO_hTQAElBHY_5y7IMh8aPtia7SFX8urjhew8mWTzxMya3OvgR5EvcdbIoue0Bx9uUwS8CumAbLrXvCpEKJNq3qlcfXZCtg"; e_fb_requesthandler="AcLeRBVePMJYvEKFX9vMlkFqn_0SQIghAN-jMDTvY9uyhA6X9M1zjr08IyhYt_AJ7i8YxmfzJVE"; e_fb_builduser="AcL9jz1f-DQcVhedmV2M2eNCDJbnwDVGEQUJuILQFrs_iecgBGKG_9JffTpYIfOFSfk"; e_fb_binaryversion="AcK7k654JeWzicT8Jmv5tJyXZert59Gj5r8KywNaBcE8LZfzKfhTrWTwwZmxV32FIhHytQLkX49D61ZMkzWoNE7L4UC4WfNTzeU"; e_proxy="AcISQIr_Yx4diUb43Bw06rcsOUpaQvVbr5Ry_KLeVryWJGmUxLrDgTsXyRcVmcflRmmt9Rg7Is2duk2MG4I", http_request_error; e_clientaddr="AcLn8FzVRTawp1v1AYHwhrvuWP5C9BxH2oggg1P25qh62hz2xqy6ZgGql3C-lYWK0QLLXiPsf27c9sl1ag"; e_fb_vipport="AcKNiEyT5id9aGfV579bk4iM69-cG4WWUbsuSYsyVyNeoSJD449p0aBlC4Wp"; e_upip="AcLuqQeBem7R_qpNYeHrri5ZE2H7PDzSvyVqglqQWDGunSUHfpOdBFSQVyD-2PmJESAU67LYAdgWdYJDfohz5KjL2ZuvEi4l6A"; e_fb_hostheader="AcJ7rGBlj_9zb_ZkoNXOSPkPA0W0ZLwdPN9ssCpnH4v7hpuR4D3ouny9MAMTiQUZnZO8dO1_jaozTqHy"; e_fb_vipaddr="AcKnhdwWpRTTMa4RMqC2LopMHA12ByK1LjsK0bF4YOHvw1-rZKzuyF1QvIyaJWRPWfwfIBI"; e_fb_requesthandler="AcLKjt0IxVaraobsLII9BUwqY97eVyIRQckDcipzq7vu6kcjKDv7OTe5iv_fAcKFaCB_TRPiIfA"; e_fb_builduser="AcLmjC28DkrWtfaarDaH5NVDXyB12ULNbbiP7tRznXTTaG38-IqWKBIaKXzn0n_7ug0"; e_fb_binaryversion="AcIXJ1vw7rpAamD_RUqxpbN9MMKZ36S7EZJk7MEJkhk7euViTUQ7-4M51hxGnUsNHu41Tk5ga8Pk-tstp9z4aLnPOu62L4s9Gss"; e_proxy="AcItMKHFf_7D6ZJ9sBgoue12KiGr_qFawmOhWHd-hD8fvgZGlsm9LreTvYSsXjboZwcs2Ss9KVxYED4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2782378868442905"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 18:33:34: Error on send one message facebookId => 2782378868442905 02/08/2024 18:33:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZqn2hGrEFZPBNyFKcBPkKn" } } 02/08/2024 18:33:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/08/2024 18:33:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/08/2024 18:33:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2782378868442905"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2549554, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6M98s3PJMGjFc872qleOHi', 'x-fb-trace-id': 'AuB3k9gEgwH', 'x-fb-rev': '1011303771', 'x-fb-debug': 'FGQWX0LO7vIS62rIUvqh2tX+x+RagNgjRu3qcZCeNI92l+BHX3uC7uwjtkqBJo2nmaaOab6G6/3F294xnLNTDQ==', date: 'Thu, 08 Feb 2024 18:33:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJmZ4MLwJMv4q8aidY8eN2qTB8rkY2mjTq3vc9ZaUqFsbkATE6luc_Nt2hfwehnbhp4vknipa8flF0Lb8_KzYQLlPCuQzOE3oSuFZrwrGBXgC0xGA"; e_fb_vipport="AcK-a7TqfPThkok5Cs87y2zS1QUJxZjEXjXJK5BVdezhJ5XJbjMOxwcYL7Ab"; e_upip="AcIh4v7JAovk_ko8rVcFnSO6vWOdzxc5tAwBwMZBYxkl-j6V2k_AiQ1Pc4mrC7zQkvbsrKIVwhC3rFjJKcphcj2UwbbBVSs0Z5g"; e_fb_hostheader="AcL6LUzYgNgoDLnQuPx_hQvoPeC9AYKku-SdLKNw9CyvXJx7Yr9FfwXNOtNgo4NT6_A-80rCbJ1nM1qg"; e_fb_vipaddr="AcIXpzDlJ1GzYJoh6GvPYaqgsN-c9v7A2TTSoYq6cU9eEquMXkGBAZR_WJ333T8NUkmhYgxoTk5Oxn9Sd43lJLmrQiKjzpcwbQ"; e_fb_requesthandler="AcJTkgiaQbWliMxwAxvw2vJ7zzOV6gpHM98nL5tQMJfBimXisbfqqFWxX8scFkkEP86_bxtTiZI"; e_fb_builduser="AcLXf4XcU5zBmKlnE9sFmX9okqQM3qnflByoLiFN7msqRkI7OhabOMtJNWlAKb_1seU"; e_fb_binaryversion="AcI4Lad0SYk2_oWNEcq5cxXRbtxkS2Fzm6O5okI73yxEPvyh_gYQGLUdLaaxoKb815izw8DjT8_x94KA3IOG3VLKN7QbTD8qpsw"; e_proxy="AcIEUAUxhRj9xq1Fi705-uFqNYgEMrF0q00OtmWhBkwcjjbKuIt5FBHFkwiYwksvFZrYJfu_aDs7TeKMG8DZ", http_request_error; e_clientaddr="AcLdJGBLsGG5zH_K-9qGSxklloB4XRAVgRuCTqf2LuK76DayPpULASLD7Ut6DPcVTf-0P3QlV5vMoSTO4Q"; e_fb_vipport="AcKcbX54IW6UnNPPHN4A7rxahbYMA-2gTklgXCZ61CbgJmLS5H01Ox6ByhgZ"; e_upip="AcJnu5mlKHIGiYxcemfF0v7Mf74MaSvHg8vcPxrkTJNjP1I-WN9clX6n2ouvxBNemMIRKQ98z-u1KiHsKbDXL9MRaEsxffX9pw"; e_fb_hostheader="AcI1KlJ-kAEPqgBEsK_2ee6FkmN6FMO1WGv4EepL__IognS_F1Ut-7mby-O8Gk3ZlkHDM4MPRybeYpm1"; e_fb_vipaddr="AcIW6DgQYjGeCjyn0N7Vvue2cUIZII5O2xYWbr9MFIscf1AppdVNTV63mOQHEwvtX6Pl1H0"; e_fb_requesthandler="AcJ3mKAmLhVERXsK7GQczNnxs6u3KhMeEZcv0zGpWJf2yagcm6DyY3NnNhYRFJvLB_T30ZOQtgw"; e_fb_builduser="AcL2wWkuA0EBNWfqJva7dYPKyePFX1Htuh8Vtn-QR2s0_1OX_1NtEYFX1MH0v0--GPQ"; e_fb_binaryversion="AcLNawi39zp9ArqjhEFQzKg1icfMOjLlWf_znDlGZ89ih67CB3983wk6bpPEO9HbOW8f7cFzJ7y4vmawwmQkwMjx7HVo3kObiik"; e_proxy="AcKSN9L2XR_T4DZ5mApJejGmyuIH7w41cE51AJ-LnWYYwZS_2APcK0uOLmcWPg5yMLT9ekRSB5LkPJq2"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2782378868442905"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 18:33:44: Error on send one message facebookId => 2782378868442905 02/08/2024 18:33:44: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ARXtiemOJFZQNDDHgZ2y6K7" } } 02/08/2024 18:33:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 18:33:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 18:33:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/08/2024 19:47:45: Request bot not found: { id: '565033343594012' } 02/08/2024 19:49:11: Request bot not found: { id: '565033343594012' } 02/08/2024 20:00:48: Request bot not found: { id: '565033343594012' } 02/08/2024 20:01:03: Request bot not found: { id: '565033343594012' } 02/08/2024 20:44:16: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6881773998618813?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2576811, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6881773998618813?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6881773998618813?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6881773998618813?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6881773998618813?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxNdCT58_2R7G0DeitR1eBy', 'x-fb-trace-id': 'BUyBmrWxa5b', 'x-fb-rev': '1011306852', 'x-fb-debug': 'Q5CVGECZGzyoRih4Td6E050+rlR28IbjsSmmKSAH0n2wqkfqnLa5nOmhWB0QyOzwzaepii00yyLJDhFEmRGrRw==', date: 'Thu, 08 Feb 2024 20:44:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLfoQtrFGgX5op-mi-0MxQ82hXEPVAxFVy6z32-3HohKNdfo5DLphZ_fpJkNwHWzI4Fx7M-fr9PJ1MV83CSzLq_03UUvexkEOqnbQRub1iD_q1lZQ"; e_fb_vipport="AcJzTiQ4WdaPPLsjuugLfhXI1AOwzyDFcx8E5noYZGNQMfJHa4g5LSJDdk7G"; e_upip="AcJY8G-FZZoJuYOKIJMvx77jl7JKlcvbmasNmVQn3_cwe2N7IDm5hXpBEgIlwf9qF0CzFjrEIbqOYXr_Wivpx8gtHJtbwFSv6I8"; e_fb_hostheader="AcLvK1ZwejDSweBrD25hTXUF_ucLaP1S5udDerIpcUIK_60GHkD02X73PTw1yDqLXkZ_-2F-9V4H-C26"; e_fb_vipaddr="AcJNzg52Yj5sFFo0VyNMm14Y6ZNXJNTCdzRK_WfaRF2J16tk-hofSn8tPub8-jJZ_4xI58TD4TJK11qd8VOUUpDCbAiBlEQV6w"; e_fb_requesthandler="AcJ8577luFdWTTDmlSv_Z2PljrtQu2F3BDODfwYl6quv93MxyOqDS17UJqfPlbplhXWZF2T1SMk"; e_fb_builduser="AcJ0nEdPXJHdgjC0TC_AzIkm4NwtP2ZS1lKAXp3NAf3QI0NG9CCRO4JD-bmWXtbnkUI"; e_fb_binaryversion="AcKrAst7_DI3GCUESeqNwci-T_UN_insmpOhka2VCqE2pqqVbvRb9zcgGc3B_opZdIJ1GqTZoF0dhdvOhqrXVhb1lsl5-45Bqo4"; e_proxy="AcJxf506X0husfyKUh7nZJMwelJzL5LGy4SUTOOq8JcRDjwy2V9YQjQxu77yw6-pIVXoOJzORdWrrPsYIlCT", http_request_error; e_clientaddr="AcJsN6TluQfCAs4UjEf2S9BSSc5VMTw4cMiM23rmh4x1oMWMvJbF14YRjGQxU3hlZS0ANoaQu5jmMo82tg"; e_fb_vipport="AcKR6QXOMO0z9Uuv9XvrPRID58n-L65mrhWDd-HBhbtejgMDdgZJx6bYVjMF"; e_upip="AcLumMO09zZVsIyTqaiVj1VxTZ5mtfoslcR_FZqg7wNlXaZD2jKH0MJQJxLh0Dnwz_andJ8nN59SuIBBmLrkB-kk5A8dyBhl1A"; e_fb_hostheader="AcJeWROS4LYbJ9N8PBfbwNS9VGHMgaUg7CA6_eOsgS6lh_z7zxIMuDzvUR0S0GdzGX3fI5bMa_qAAGWo"; e_fb_vipaddr="AcK1meJTYLcYh6MQgbriiu_qVBDzUWQ5uxx98VDauM-6rVTYXObi7TMc8HIqbk-ptUMUjeXM8g"; e_fb_requesthandler="AcJ7SLm977c851820N-ypUgqhWocwa_GyA3fQR9lXORtVdIQHZjaDvV59dX3VxDt2_P7CiM8zHw"; e_fb_builduser="AcKdQyt9DgJjQHUIRevTD2itVxMuUjQa-MvFyUoncm3Rh0AfRr9FfKEZRlRBaBGCQos"; e_fb_binaryversion="AcKaXnq_svwqWWAzzK65oq2xsohSHhdfeNDM6Fp8RV3rpJeInaA05J2WeZHOmyDT5rNMG3rlyx_jeh-MLOfKRxcdPqyWV1AUi6o"; e_proxy="AcI1BNyNRLrl17CTl0pJWC6L_lfpPdL7Kn-vUPDN0YVdq2jZlVHQpabgqodIubqC5QTyfd_SBDG5zI0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6881773998618813?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6881773998618813?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6881773998618813?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 20:44:16: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/08/2024 20:44:16: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/08/2024 20:44:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6881773998618813"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2576929, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ac4MXzXcT6AqzIYo3S7iQgm', 'x-fb-trace-id': 'FvaJgCOuMP7', 'x-fb-rev': '1011306852', 'x-fb-debug': 'yiy4TI3KeCDs+70o33HC3lLZ8N7L25smz/LbRljG8ISRAeo7SpE/YwEJP6HljxKZjmpFgju7VquemsH8r1PLMg==', date: 'Thu, 08 Feb 2024 20:44:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJmMUDIHgWQ4wcI2OGX7kXfxyrPyLWuN4st_67lCcmW1P-sqpPDuDVvG-0bSDJBRFdAU3QJhxEfrxpqsVugfl7vuLE8mnDnBZjiYQ8lWZkKS0t_"; e_fb_vipport="AcLM83a_hVc0WYuFcJjLcjpsOhWCf88ifNJY96RXAQS5jjDVVijvxRTcKtUS"; e_upip="AcJmWoPToSldEzy_VCmWXe9YMMSVf8guE0a0kkPd7AjkH6kRS2kmkfOZAmowYKHpCFjnFj6jfbCRrq-YZMzlc1_nn2zFd5KqA50"; e_fb_hostheader="AcJNXs4Xf8GBo1luNmNG-bJE8pDmZyVwuCV8F93gY_W9xXghKbLdz_6p4F-FQAf8itGuSrsmryQC2s_U"; e_fb_vipaddr="AcLNkIXcatceiBXRet_wWBh8zz5zSi_EnVH3Aq-_ld7OrhPXNgZ7oXA9inqU6GGHxOoqXFILaxD18-Kt3WfP2i6WG0WJOXTQ3Q"; e_fb_requesthandler="AcJ0loGxaqmTEYg77gRrwE8ZSI3tucmETqHAaVWumiqc7v02lQH-UJrGcwqYhm0pWhzZXLfzLVE"; e_fb_builduser="AcKMrc9NNkyte3bwK8NfEwY8zpXvtCdEVt4W_TeCd7Mz0rNjhfQiafEfvCIX9JWaGfs"; e_fb_binaryversion="AcJYGnH8TDVkE8bvj9ZD_-k39gPAqTo_iJ5uS84sPazNd_SHexpccdUl4e8HNgNoMfB_Zpg_VwHP5WuWZtZHYI3UUU3o6Xk2NPk"; e_proxy="AcJBCKFCrVEFUFcB2moBLnSCrfW_LJOwZcM4M1ZhycEi7Mct0MK9p4yq4efCfv68dqwADXNX8cR_dh_RZCvK", http_request_error; e_clientaddr="AcJp0tyPj7F3rxJG_ZBy4ntONseZzVHKVf_GqIHmL5-opLRAOKhrxgox8izbsVW7w7Szd4N-0BdVKBCzQQ"; e_fb_vipport="AcJib5l8CpL5Qj1Xgu8imQOQRVdyF4FxzhUHjemM7xL0ZRP42yy_3Im-Wtrb"; e_upip="AcKx-hZnA7A3nPY3jFjBsOMjIE0t4OkoRbQ_lHw3s29yA4fDirHMpxy0A5c1Wr7ImgD_ZkQA5o8dzy7IG7zBUOJ9LedrE6crPQ"; e_fb_hostheader="AcIK7K5jIbTgtLukaNfNRCzwoPV3xp3NWdED26Xp8dqfkdUEQpGHJP1ifF4uj7KNFQz2yNRdjkFJhyGk"; e_fb_vipaddr="AcImGxFlNiizTey4WZSV1kdOSmZPay_axUVCNmJtl5reoI4X9Twdh-rYrrT4tz6sYHXJ-fHEow"; e_fb_requesthandler="AcJpCFquYwGHAAwUMGKYpQvWAxbThwE1u_GMR6nHld2YzFVj4zHW-tSkGPyBnGcTgMYyJhlcQPk"; e_fb_builduser="AcKFs0Jtqe_jVtRJaNQDcHRAqiygfMC69_TnbzPmhpP8vxujfFbc1FNHsc-FbuIV7jM"; e_fb_binaryversion="AcKBUP-rg6o5wH0GWxEyw4wlrmLY-oL3maws5WVxkp15SeuiaDHorLKrsXzjo-xLu1PQYyKn4F7aGPuNRwYOlKVKKpfkaulAX7E"; e_proxy="AcLllo1VpvlINb7t6C8ttzfQ0YghNsCcFTcbtkXz36f9ecAPVMSYfu-algIX7FlDMzi6iMFrtZxabFM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6881773998618813"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 20:44:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/08/2024 20:44:19: Error on send one message facebookId => 6881773998618813 02/08/2024 20:44:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ao6JunnS9934C4nAW66H_uS" } } 02/08/2024 20:44:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/08/2024 20:44:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6881773998618813"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2577016, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQyc7deju96w1SenvHlnXEx', 'x-fb-trace-id': 'AjbDp4fF88W', 'x-fb-rev': '1011306852', 'x-fb-debug': 'N+sFYXcnHaxDR44o/9y2EgntfaLihar2QjWhuIpgRT/jWbjRHGW0aoh5o2QM5rP0qkLI+zuTVHUyA35BTWWUww==', date: 'Thu, 08 Feb 2024 20:44:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcISKpGxFvTZefPW4gqcYYHVCm9nTY1C4hjyeji0b9lmU-lX8njfgIjrbJim9brSyEOO_HGtlDUKrfF1UGoVizgo94ygoQoeT6AqulAPvtq1eneVcA"; e_fb_vipport="AcI9enUqfOOsqt59ZynIre5m_2Rg1tPfPhV8OABrxngSYySO9j2-IZGpQnR2"; e_upip="AcLut4aXtVOajdWHgsCnpChBeB7bKV4JFewUWAW3uALevnpCNEB23AjYYLzlXbjFstJwWPfrasalAIBdl87yj4GnmA98zLFp0w"; e_fb_hostheader="AcJwHHOeHT5NfFWCyveVWqbN4MGraHNDbMwma8oks6OVKuIXQ5Glc_I13JCoAmqBBeHxsAFGgOx6bM3D"; e_fb_vipaddr="AcJq-em2jUolGlq4yIQek9ymIRy9y3eh91HDtAUEJtZNbpqLC6ClhrN1_JXHdNfXa1-hoEzn99SrpSUafRa8q0gZkzXiraOzFQ"; e_fb_requesthandler="AcKBhoHtse1QRSRflyAt5HNzlVxpU2jSCaa1UcZq74rKnCs2HjRY47zq0ZWEbfB1Sc5Jr4gjYIg"; e_fb_builduser="AcLEPm1Kdk2OTESGZHzmsRIAId_yr_L4xq9ZOMCwka54XXhMx0-7yyW0W7Xfbg8Ap-0"; e_fb_binaryversion="AcJ7zXirxQ3A4VCquWMWlY7E-0ZYlak5dSZmCRiLKTk53JRn8Lq7bbjGWLJZgf0KrULoNDYlpCDZYwz51PL3cCOg2e4S0SoRpmc"; e_proxy="AcJflAUoDaiNXIjlh2WGJa-hX0vlNJJeNpHdBmF8HK_F7GdlKrd0SBVDr2l76UlqritNGaOQEOye5c2ha5M", http_request_error; e_clientaddr="AcITZafXS_JgnXwCuIv5PAlTnAp648BU_FFomGO-N4cVRzQIJHDY-8Rz4R34lgN47nTOb-0Zqv_LMvAzrg"; e_fb_vipport="AcLdH0nk10JLk67jh_hNlKKzK3B1eAObxWBT1iGDV07KZnEd9LURDPWRBy8F"; e_upip="AcIA4xBhLKuFbZWakgev2Zmk81OZevsN-8xXiOQn-YfvDoxxhEWnncghFMPykPmahk9fwB_--vL57vGCUj3ADHiZjvwpV4QWeQ"; e_fb_hostheader="AcKS-hv8RD8WCyYC87ZON97dTEETkUvpYkA_L_1gbc1vrezc-vV9KQC388SMplBq-chZvTHPyInEhODV"; e_fb_vipaddr="AcK1_ZL6yESgoIIHW8qysx--qoEmyWGVloTndCBE7moonoJ4AAzKd6Giu51THE4ofDvoDN2VPQ"; e_fb_requesthandler="AcIK0BbDQu18VTP8p4kXAu7pLvQTi66iy4o6uCov7JsZg4tJalkonux9XlqyacUF8Kw1G2GNWxM"; e_fb_builduser="AcI62W3vHxp9tZXxjrhlcaNRec5pjt_9UYRzQiPob1HeIFBH-TbxIbCaTUBceDviC7g"; e_fb_binaryversion="AcLMyy7rwTvRN-luQG_bCH30eF6n8W2F6ykHzdvP_IBdeOeKmqeTQpMgsFr1opFoVZjai20nW9wdpf1qC0lnV7O3R-RvE6x2uqE"; e_proxy="AcIFOh7wFT6PF4DY0H5L2SSFl2OupPi12ybqeBZ5ckGhbB_d67dC3jzKmFDbMardCRnpIyeWQjjYQVK6"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6881773998618813"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/08/2024 20:44:21: Error on send one message facebookId => 6881773998618813 02/08/2024 20:44:21: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABFEpG_WeEEZljrT9DvOTpD" } } 02/08/2024 20:44:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/08/2024 20:44:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/08/2024 20:44:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6881773998618813"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2577155, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyO0T1ENxfXlOOm_TDZulrX', 'x-fb-trace-id': 'Eb3y7It4xmz', 'x-fb-rev': '1011306852', 'x-fb-debug': 'NnLPxg3MWmEB769iAGW56Uo7jUsNpiwvJjrSD8/f/VAtm1Zh0ozJJIwQiLX5fAae4C3vimv6tN8LuSdEIVMFWQ==', date: 'Thu, 08 Feb 2024 20:44:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJi60tGvaFKyoFytVuDKrDKjmXX6vy5RHel4pu03wuVT5DYdNLjAfED7xtzJegEptUpDoK0n7ZTd1WUHfEF1fyr4dQ6gIR-lMO3ZO9v8vuynfs"; e_fb_vipport="AcIRFhvjykupZJkjg5tS_hIBdJqYmt1Ny56Z2ymjmUIkDEwhWwugv6tVKs5W"; e_upip="AcJkyyBTybdvpItxw5DoTSB95y0P_ybROZddhYeLiM_clsaRiG8vJimquacpomiBeYJ9twXMzOflc4eX2sPJKFhtCT8neE9VPCE"; e_fb_hostheader="AcL1Qa_lPcOlN92-dznqwGJV5iLUg5wi8c3cbgTpo5KaExOSKty4gocB-d43JYM6aRNITkmGOhK08_dU"; e_fb_vipaddr="AcJGbjGD0wFyvDxePckWSAL3okd4CHSRsuOJML0Q17pH1QuhOglTIbBrkZ3I94V2bQJT_uX5PNGvBD0TNdfxk4eTTOe5P3HsTg"; e_fb_requesthandler="AcLfnStyoHRpk3maezL-xAGmqUHjeLl8TFN1G5O8peLV_NS9uiOXzJokjrNBfQu1NiO9CLzgpUE"; e_fb_builduser="AcKqtqX3xDyf864pvJ3qVYcWQGMKp4hmHkw0mxCGeEknGBP7nI1Jm-o4k0OPHMAL7Ho"; e_fb_binaryversion="AcJVnmQk_K-3xhpE7pJmWeN5N54HM_Iiq1GuoZ5lwygjqzdmv0HyQeqQw1_2Wc98034Y0gtC8X9tJlR0-Up9O7DbskpsvaGfoRA"; e_proxy="AcLF_OlhNjGS2mNzfAM7_nG0XTRKyd1PBHVOuGl0ERnJnlDGXEE6eO5n78Pmkhr17FjtWe-Auk5KnO8hVd2B", http_request_error; e_clientaddr="AcKlGR_qOjAJvOVZgNvC6SRxnsEXu8h3_dhgMdAdg_57hCzKppPJ5KrAThaAooacWE7UmZ-rad_05PJsFA"; e_fb_vipport="AcIWLoq7PvGuytDs450dpg59zP1i6styVFPKJA0kUsAnSo5d6m8ZJ5uD0641"; e_upip="AcJOKm6Qc9GRPNfI-bEvLnOaGWWHvBLKlb66g5yCEKZqgdH_t3cj_3zsF5Cq2QQiwStTz6acn60vNFiZyTsUuBGeW8gjGvd3zw"; e_fb_hostheader="AcLaslQXbtHk8LX5pJqQTFHi_TXd0ex8vB3rPHsrbYobVntJNgnX9SO0L_EAnhmTA5RQUuGefwN8RcHO"; e_fb_vipaddr="AcJA6YtvX58LxWNg0K-vpQa6JROIznTJEDN-CckeSvem4m4MS8VmhDJ5FlG_6nw_YHzU910yNQ"; e_fb_requesthandler="AcJJkSmSmTYpZhqtlQzVk2fCc_dpwBmcUMxarCSFDDxQjySRL5V_aD-zSHFyB6lT3tXUL4hjZU0"; e_fb_builduser="AcLP6P8wHGE-b51DB3l0CX24lwcrOef51ScRfX31Y5MHo5Sc9minyV-gGv5AojCS26I"; e_fb_binaryversion="AcL7ILMDgKbdtX5JDFP8fCIJHSVPUDAeSULFYD317Ep9gDgp5jEto0-TAOgE1_9bcuJy2ne98SmAXyNieqS3wMz92ybreZZpK_c"; e_proxy="AcLeIvOh_rMeAb_qILjX24KE8guAkwjmdEZxYBCrlCBXZuoZNUd4gx-75aEGZHdNqeU8RoxWT3qfV78"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6881773998618813"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/09/2024 00:05:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/09/2024 00:06:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/09/2024 01:13:21: Request bot not found: { id: '309160166334279' } 02/09/2024 10:25:16: Request bot not found: { id: '173905809808323' } 02/09/2024 10:26:09: Request bot not found: { id: '173905809808323' } 02/09/2024 10:27:14: Request bot not found: { id: '173905809808323' } 02/09/2024 19:10:01: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7600669839967089?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2803554, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7600669839967089?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7600669839967089?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7600669839967089?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7600669839967089?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVumDs7Jke4BsJiMEMYrLf-', 'x-fb-trace-id': 'D1/q/IUuaEW', 'x-fb-rev': '1011328800', 'x-fb-debug': '591z11NyM0D1CLHzmKaK/hKypZJf4uXB3g8TiFY2CkTEOMIAgl0mjcf6OjlwUyLK3KackSyui4CmEwK3+HriJw==', date: 'Fri, 09 Feb 2024 19:10:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJCVycyxmw37O0Wu2IK5NOSRhYEmH13Ofaz8i4_XJUuvM2agmindoJ8Ht1O2_az6ryhuWrmh0JKEjCXfkCtDjez7HYDnPH-j3u2ZC2Hi3DHC6ujcg"; e_fb_vipport="AcLW4gQZ8X89HHIxElzv0Vv2g0Rm1_fqf0wSPw2k92O4KIpjw73ZWkFpmSGn"; e_upip="AcKBzJ5-enXQzrAn3Xzrp0JaGeyHBk0r1ZfO4EyDa617hkCw810N8G1txRqRxbQQoWGqyxfRBkw4tn-aT2UNIRzMaaPdg1Im"; e_fb_hostheader="AcISAFk5s0BHiEOdohStzc6bHZyUBTxhWiP_CY1hWlw2MOh2Tq1BlY1Rbtq_JeTleJktgBdve6U1QEKF"; e_fb_vipaddr="AcKqu2FF0qMXTR9h0Qen_SuF3_7wMoG5kGLdt-xtsIXZIwE9YrB1-5a9_CC4VMzLi9znY2gLNDtMErW-L0wVMmwIwiybTILYFg"; e_fb_requesthandler="AcLiO2GLKlL9zousP7QspNF-ICkYiJIWvU5QxLGkQWY1LrJdIPDzpxVLZFXjvdxg4GXaH3IQ0lM"; e_fb_builduser="AcJSMYNPjtAmByZ4cBAy100KdPhYos_GFhwmm7wLILkRLSNS_rNyX113Yzf4DghLJX4"; e_fb_binaryversion="AcLqX55X-K9507xQDxZps4Rp88JNjMydHLJIxZ6x2hHjFeeaHVPQGiuFx-iW8zdJXKQDa25GACcU-FWIm3lqNdFkwwBpQ-8P7y4"; e_proxy="AcLYdmqdU8-rclLwXWbVwnBPmFFbZTzyxSMfHpn02i4tp_YGJqNTLMaLy8BUoojqZjKicHbscmMDfun0Ig7Y", http_request_error; e_clientaddr="AcKF7AGKnMznrjEnpp86QbxvlJzEn3mOtOUUviP8OkaVlF8XInnpxJAV1-35hkhHHqFj13O6zLvwQHWe6Q"; e_fb_vipport="AcIPDcs43YWaIGGhtnw2Ls0F4lim11G_1-jpEWsKMlKlEpcHtN9Aeblje8oQ"; e_upip="AcL2FQgfMt2lLT8JbhBFKfFH8JN4IthNTaUUFtxoPyHfrTAyK6mS2x2Jl7sFAKkv3KtUiAU4NOQ66UgseUzT9cDz5jqfYAWi3g"; e_fb_hostheader="AcLjUCvuA80jheyRtoo3B2EP5D2CcJup2vwp3jWYisVVstJhOAVNloFpnCArozWOczG1Mftti6o-DOsK"; e_fb_vipaddr="AcJILvymBnNB0rKJvCxWhsYJRbUR1MjHf96uuMG6PgNWYt7w1tVH7SxB8O4q03BG3krExWHM7Q"; e_fb_requesthandler="AcIlg7RMANak6bTl7rFQ8kTafoNn72ODLh1L3ckpfWzLuBcEF30RCkr0Mx2eufJQF4sBznN_vzQ"; e_fb_builduser="AcJVyySWrtrwMQaU12_ET6hlrV3DuGlIqHa1Soz6AH-X8gn_WN2qSC92m6a3lR4IPoI"; e_fb_binaryversion="AcJb9eCMhCzB8svIRmDrmgsRRHGXszWOKuwAN2bntugKVZsMpKrJje_ELVW1GX58s2PGydC4bpxvLDEDp7-4eGMjrnJCFy0699U"; e_proxy="AcKeRu3KVi76ce0K7YIrZ-zHqjHrZI7ioD-GGVhOPWFYweuIdGqofh_tgmgs0aS9hU_BtcjjRBuzUwE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7600669839967089?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7600669839967089?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7600669839967089?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/09/2024 19:10:01: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/09/2024 19:10:01: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/09/2024 19:10:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7600669839967089"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2803672, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZxzuj6aBi2KrloljcOJ2Hv', 'x-fb-trace-id': 'F+pWYUv1uXk', 'x-fb-rev': '1011328800', 'x-fb-debug': 'ea5SoT80J5iJ2Y7cROkOdTwIF3eTBCdx8u17Aoo9PcUH0ydaW2/0joweEuoCrYFj2vrxwaqUU5BDtg6YE8ql7A==', date: 'Fri, 09 Feb 2024 19:10:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLWsrHHGcJkhgcf3JxHME-IET3mZhAQTX84h5gUZvqQbLFbTGu0GRVf1DBBdHOEPv-ePIPyiWUXEUFXFGexgV2dK5jR-KytYXBvAJ41qqsO5P03bw"; e_fb_vipport="AcKu0CHEiaYV_D3xIQdpGh3axDTax2X6aSe_wIpR5PF8sYnVNJLER0830cN9"; e_upip="AcIwzc6Qy0GcuMPTlqtcXvyW5uAX08XNcfuJTvK0HUccciJYHFDCBdQPrFo6tA7hCwiySjh_uFp80MtCd4FCtw6As4Mzn3EGSP8"; e_fb_hostheader="AcJl_bs1dzikzXf2vp8FGhekkTi269pdLgzw5vASaTDxCM0q73DM2WnHR_1yoOJ-y87u517PL8nHMLSD"; e_fb_vipaddr="AcLYDwue0ia2ty-CPtW-WPJeWY_YBCiKy2eb9zvAJyvJs1lGRnTOfxEm_8pLPxR1KUiARZm3kERtR28YWbQB01uAcLWPJikZIw"; e_fb_requesthandler="AcJJtUjvKwqXIPkn0y9AVCqlOyhvv4ZtO2U6S8qFRCnB076f6bjIE0ne4P4Z-Aba9tnpryjO69s"; e_fb_builduser="AcIhXZoxp40jM5IdIyrA3vKdDWUH6e9sRJVEzHrxI7OFk9AQpjfngBBD43_kPWLgZ30"; e_fb_binaryversion="AcJnLXaN2yTJaOchS_MRcqMahngWtfLS2D2fFNgdqtQ7czwrdzwFmQOsn1ucr07j1zRGaA5U_o71sva39PpIIWRUdkDi5lX3-cg"; e_proxy="AcInUiPWr_VGaWyzxgKn_yVZLwpj_Wl0Y5fL1YDyV4rc3UdDwsEYXInHUx1Zdp6JbTZZ1Cse_uET6X0kFvw_", http_request_error; e_clientaddr="AcKb09vEByK3In8pTah2P1Dh99RFJv8PjR2ysPJxwZCM6oQ_mxGkgvcPenqi5_Mm9bModGSHxMF2YNNgHw"; e_fb_vipport="AcIWLn5LsxYXwpb3KZpLLBHyYYUlIsQpQHPmyGoTEdXPLceI171KyukicnHq"; e_upip="AcKWRf8VtgbU3_4broFYaPSwB3xftc0RsxClQJ457CajLyESTqUbrLSPazT4Drdddhchn8QEMHhyrepE1nzyKF_cjgcudUFT8w"; e_fb_hostheader="AcJUcFbeC9guCu9WierfFDAVMyHiahfULzh7N2awgjYvVHxQ8Hy9csevzmQhzVWO4CW5Ju3BFltUZV3_"; e_fb_vipaddr="AcIBHTrsO0dGxqsSCQMAq62I2JI_HsItVIcSbf4BwUg0f2kze56cTcaJAoUZUpWgap5yj9lwYg"; e_fb_requesthandler="AcKFECSXWRLhLBqGncCPm7WBkQsgF1ZaxTQeLiV8EktkYEszrqCG49Fez-gw2SjrswiKC3_r0gE"; e_fb_builduser="AcJIK21OjPU8AN3TpF0zdT83pPHwOfgdX1gwtXzcJOen2hyQ6poPq8CHzxqR5Xlnb7A"; e_fb_binaryversion="AcIOBtLcZ20tkI3_06TNl12INZe-KMdthwG45Bi7OeVt2L63LOr4KqvBYufE6luZFZQFhyv2DLHQHyWOyHM4Ko_jo1V_h_c_spA"; e_proxy="AcIbdblIDLANi5HzDe7aVyJEt_ZWl7Lm2Nv0yAxOukjhtH4T3oBQWHnX502uKlcbHOeVJ1iqvJi6oLk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7600669839967089"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/09/2024 19:10:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/09/2024 19:10:03: Error on send one message facebookId => 7600669839967089 02/09/2024 19:10:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AwdiUkThXPHe6VEenO_zkSm" } } 02/09/2024 19:10:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/09/2024 19:10:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7600669839967089"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2803745, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvjUI5IdKcTEZaUfKpHSkqu', 'x-fb-trace-id': 'DrtMJK9khVl', 'x-fb-rev': '1011328800', 'x-fb-debug': 'kP3SEHd06O9sRx1Kss94PLI+SCgTZtTLbT0KxDa2Q1DwPkJK43olfLIKFQhlmZhMaf7SrnGDt7UyTtc2MJb35A==', date: 'Fri, 09 Feb 2024 19:10:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIiGdVcCLSqEOUamtgkfq7TPK7XIOGoBPnEeAVUZcr_z8Or_R-LSTS47D-oIIr_pJsIWWpf45fPaTjuWGGaYnd5kMN-h5Fv1MiMniOFE6H9U96s4w"; e_fb_vipport="AcKpx8gv6DArTsy-HbqIkXs_b1-Q-hYp3bi3V5Z5G0p1BZOSgEcgSXyK4BvP"; e_upip="AcKgdF2S2va8EjcP2BC-k44Isw3wxntP7sC7tojKTAzp-MKiAjnzVqI-i955-XxC-8GEwEs8O44pOVaLfMPdDKFzV-7zEOvH_A"; e_fb_hostheader="AcIqzjFVh5xor37NeAAHwea2Vqz8H-85aw0NStNS9YhPYok18Z3nDJeUWn_gi0QQyvFMEY_nqsvlDeRG"; e_fb_vipaddr="AcKq-92s0W3yLNHiF3EJ_UFsj53Q18s8oW2BlXquc-cJ9IQK4AzJCjcJuuO_ZpAKaVpchFBkrkf5H1UAZEsdvVfHDZHbeua06A"; e_fb_requesthandler="AcKXlQSHHlyakWCIEEu3ErPWsKs1MeT1KY03yJHILPFiNSX5YtZxrQNLWtJgHWvC9sqfB7W7TWs"; e_fb_builduser="AcJeqClKqJve9ezFkx5EpbardEyEjK4eaR70UXPuMW68nucxeb0ktBb-JcouDkdSCJY"; e_fb_binaryversion="AcIFvK2GY6t9ee7k1_lsvRf5ZoYG8m368NK8fdnKQdSK0_UIZFhRnKlMqcKxidCTkaEEYF66ZYDij4UQqtjUkoQMkqZwKsmx4NA"; e_proxy="AcIcWZ5ZefdEa45aLHGeYW-R56l7YAe9c1xZWQEkNBNXAS8ofHdkUJIW-bOh8RXCUbkYTF2xkPf7pqreUTI6", http_request_error; e_clientaddr="AcLxP0Jwf1WJ_LSjDRyeH92NXK19R3R-26g1U_1DwkYk1Fwrt8hQvg7P2O-9hCl6ct1lg0_rzwSiU47vLQ"; e_fb_vipport="AcLmMdtxRpTe4RZ44zb7mwr_f9dpPH6WDIYf0Zq2DjInzZ-xUUkiCZxwhMkC"; e_upip="AcJ6YkqvhiadsyORE3JMLrOuqfAjnLmkMem4CXCA2FHw9xZAmsASvcEj77Xm6vicM2abRasjkemjQjui6HelD-JbN4lbb0x-pw"; e_fb_hostheader="AcLAgoTRjD4-nkDgX3-IioclQz0zNLUyFgt9ysQwevddj5-XqxNZN14cfub9LpKqt_J-2qjadUUS1Gqv"; e_fb_vipaddr="AcLjBIybS9n5JPCedASRK_ozRkv12N2-_AyQlwsFI7yvZu_Hd_58rZojclpQJpHHUrFOz7o6Yw"; e_fb_requesthandler="AcLbC7tLBN5O3nU_a9PBdDHf-lZHTtL2iP42I3JG2ULFogNpxgqutXO9rDmcArviwGQZy6mtInQ"; e_fb_builduser="AcIaFpcMF1J0alel47j0AcHjvPfQLVIEe8AomKBSdBhAcZ8kIvdCjrTCPXSiuat9Szg"; e_fb_binaryversion="AcKDnwWf41d_OpDb3tgGkSNaqMdNwkMDbbBt8xokc8qb10lVXhAgXuaD0WEZE-LSVoJcX7IYFpOKVvyvZTNZT8lxG7EYfaMKZWE"; e_proxy="AcIpPO3xKqee-x1pELbn7vTE_eJwyuWaABctY8R6bx3XAhs-DO2S7ydEZbw8uu1X_v43J7rV2MVsyr4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7600669839967089"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/09/2024 19:10:05: Error on send one message facebookId => 7600669839967089 02/09/2024 19:10:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKQs35mwtGHG70yPF-ZzRE4" } } 02/09/2024 19:10:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/09/2024 19:10:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/09/2024 19:10:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7600669839967089"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2803884, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlGqYUqjVCu4sEPKM-bFqMr', 'x-fb-trace-id': 'H8DtWNE3Jbw', 'x-fb-rev': '1011328800', 'x-fb-debug': 'aHORbhp5kfZnEwHDHldhmY5BLtz8H9fpUfuGhs9BGKCTcJdzFx+BKYY+jJIfQner8a3Ggpzs7aGjVd2iwSpRiA==', date: 'Fri, 09 Feb 2024 19:10:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ1HWGdJeMenalMxICvQGLeKNNEwAzFNRkhS2AJh6LTPHLSkVe5QbpaC6Ep8O9y7V7RpPZsvn_TOKN4JuEDuiz5R5Jxs20W7K-BsOM0hc0b9Hc"; e_fb_vipport="AcIUQ9JfELKR8edDrtlrXrus_pm5BwmSB-kDKjlN1b4kdK2HzkGQQVSusbNM"; e_upip="AcKkJMoFN4lh6AfpqqUaFoHlnbsnevfVhfn3GjwSwScssJwxQdnG9orKxtRsW5jkTdUM6hrteU7O0tYWFGAm8rTEs3ybk9VP9w"; e_fb_hostheader="AcIJrH0i73RJ59pz_P3zH1GY3yyad6sp1MiOunjkO102UVVrpvw_Gmr7hN4yLsKausnhiy7vtNv32t3A"; e_fb_vipaddr="AcI3blaJQj0-lvYVqWXvRsS0LbdAXxomkgw-gm9N3_2Fo62FthLpL1m0hgWWUfuksM0chUK7i32y3rHhjMNvRgMw9nbd3O6ngg"; e_fb_requesthandler="AcKPfbQ1QawVeYoKTfWnFT9mOMvwF1J3KK60k5IUWpSJzXQqnih0uQTt53VnuZFJGy3tRYRQivw"; e_fb_builduser="AcKPE6lAt4kfBbqef3kFJYQPUv78e92dU8o_gbeG_ZPlFJki5bYhsB1IJAFB-REIp0M"; e_fb_binaryversion="AcLnzt1l_WQYAnq_w_Of9GQd9kgHNDBDY4N5AJLYp8FyV1p1lw6t5ziIZk5CLIhNMGyrD_4_DMuBJnXgUj958TXdxuLUcUyfeDg"; e_proxy="AcIe_eruKBW6KOB9uChGr3_gak265lldf5q2shk4J-NCA2KCP63cloTOZ0UyCCYXc6BNgPxQgRHhn2gwBwOm", http_request_error; e_clientaddr="AcK3rLXNSoZs6x1xlOabZ4h9coHsYWa1pH7r-c4Z5zPAnzATVEFfspBvMEd3slcOwJbeAj5EQHXOWJoAoA"; e_fb_vipport="AcJxa0UTV1Ju23DQdwZfhnH6e5-QjsUZsu7bDEwvr4FTH68j7vxQi8bj1k_x"; e_upip="AcKRANpIR1FS-sG2FGWUTNLvPR0Vtv_PanogYK7jClaA5lbW-d77zTqE-RwX4a_kop0IeVFAiGu9dA2fH324Xa6G7lPiXsGOWQ"; e_fb_hostheader="AcL2P3AS7FlfhDQfZWErvdK7voWVBZ7rmHAfFebZX8hyQ_ajfvnqisruYmMej0Qdqm96GWK-blCKiuOd"; e_fb_vipaddr="AcJs93xlHmKo4RTeeuNIRY4aCcj8iJzrUDfRMkJqx_QpBiyI5mzArWUduHonvm4lXA7Z3y41lg"; e_fb_requesthandler="AcJuQiCP5FChOC5_6Imbc0CEpomcpA3-3-l6sjMIgiVJcr1I6ElaS5TG69yH89iQaM0fpWtzql0"; e_fb_builduser="AcI8roNiwqzqyG6KmJzJTyWCCCB-oaSkNEJGqarb3gytfBDzIKkL_mlHasIgr1DROas"; e_fb_binaryversion="AcJB8GbYp5oTHxTIe7foYu5NdC6k7yRCQCRFse0rhIgJrmHzAzwy_uR7soRUGAYvqhpcrrnGnIPis-_snxwUEwxiEIUcb0KdBaw"; e_proxy="AcK92NvcpUH1_Od4n-98um-VH4Zj5SZi-DtOSSIx5KEKFjk6OskC1SsTJLwlFe5LLHNBcm6pGHerjiI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7600669839967089"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/09/2024 19:10:23: Error on send one message facebookId => 7600669839967089 02/09/2024 19:10:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AD9NDXpaFoUemY5fG0VZb8I" } } 02/09/2024 19:10:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/09/2024 19:10:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/09/2024 19:10:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/10/2024 00:09:41: Request bot not found: { id: '138868933458303' } 02/10/2024 00:09:55: Request bot not found: { id: '138868933458303' } 02/10/2024 00:10:08: Request bot not found: { id: '138868933458303' } 02/10/2024 00:10:35: Request bot not found: { id: '138868933458303' } 02/10/2024 00:10:49: Request bot not found: { id: '138868933458303' } 02/10/2024 00:33:50: Request bot not found: { id: '138868933458303' } 02/10/2024 00:33:53: Request bot not found: { id: '138868933458303' } 02/10/2024 00:37:43: Request bot not found: { id: '138868933458303' } 02/10/2024 01:00:07: Request bot not found: { id: '138868933458303' } 02/10/2024 13:15:09: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7321023134601339?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2990000, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7321023134601339?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7321023134601339?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7321023134601339?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7321023134601339?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AytcvZCFZO97iZn-Ewic_en', 'x-fb-trace-id': 'HviXoRE7kRc', 'x-fb-rev': '1011347172', 'x-fb-debug': 'YMqgH0RwCO8/ho9kFLj2MkFRU6JNTzNm+aLtSceOzofI8Bo7l6wlLUBZangtoDpm47bdTXjS7735hUykXfyvbw==', date: 'Sat, 10 Feb 2024 13:15:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK-J5oQEgdxt_EGs1FlRr94txWtJfgyw5_EDZuQc9-5MHu4qDCFihoTjLbWUdux7UcBm4PAxMSXsgKYqWbbivaBP8Oa_lY0_RYxj7uQCb7cVGFj"; e_fb_vipport="AcLTmYjj0SvdZXM3qXasgH_scohYA2uFgk_SkKA2XGCnRG4k0lKjiQep8wPj"; e_upip="AcLgUeqz75df1NMsLw81Nmoc4bLNYAHE5JQfIeNEOqJFdquchjaYKlkJD0KFWGm3kpQ3Zs2OCFOBE7S8sFGdHQL21_X6Z24yxGY"; e_fb_hostheader="AcK7w99mrgM8xubG2DiMXvJ4PlKRYpyRRkdUMiJinBT4yAechgmX26HHiLUW3nyEQ9mBMYh46eSqAVdb"; e_fb_vipaddr="AcLhv-U6vUH1csnOoASW2tQ5Skx-2HtZLmCSuJTXtfZLPfEl9MOzHRwTVaippI0i51QJ53qXBTWej6L0amtSjYcoa2hnQkOHIA"; e_fb_requesthandler="AcKNVVZP4fQufLwgm7pul9JSFkT9uT9GnIQV4EHHssEriMYoFHg-UDUz22SAbqk8ypvJhA16iYs"; e_fb_builduser="AcIVi3Pe4MwNZ2e1SQMatMHBdvdRMDo8lYPTWuagvSnuXStgENjxyyMcwLKBY4u0t10"; e_fb_binaryversion="AcLihAerXr8uEbOIaSKK_1SGg2C1ArzQzbjhR1st50kGXOfo9mYvWrWILTx7LLfHOeSndLhb00AsOtlnAU3YDe59Zn6TpRy3TA0"; e_proxy="AcJphh89OLZaOmLXkNFC6bzgx-MyOeOPZ-CzxZ2RePrDyJC8mgRshd2fWq9hAOLNszGh1rc4haERy5Z6F8jK", http_request_error; e_clientaddr="AcI2ynRi6Sb0SDN63BB1jBEESddV1yoBuPbLj9g822OG18nbbAi-00j-D4Mb2eRogOaOKiS5Mv7EKEXT5w"; e_fb_vipport="AcK75P721ja5Z-lPyI4QsRaQCEySkJeROIfEZ_vbJyXMrylBZ1Qp6I8vZr91"; e_upip="AcIicdJPPGcOsxUvBTE4ZxVGC3m9lZhXCERrS44HsrtdeiX69iCse-uxFGiIrlCzCcEnd7_9y9kKHpIQLwdETc1xdkuwVFq8FA"; e_fb_hostheader="AcJO-UXIfp9mbbv9qgOR6slxzA-ZGmlvzpaQRaGIHAVNjfFS_MJwZtr2FMmNefyxZweK6ENaR8HmZ3rm"; e_fb_vipaddr="AcKHb10PLhiR4JqmljkoAymVj-4gr6VIaiDEhKhykIuAqjdkmx1YL9ahzrYMxNstyofE80E"; e_fb_requesthandler="AcKlqHVk504x6oro5aYvOwEo3WmtHbemOGNrrXx_ItBohJPt73zzWFPQ4e1o7Dt0wwAku3KzuSg"; e_fb_builduser="AcI3dr-QjcizX8JpDc7q4DFO6XRVye-5JlmYj20s14zFduofJCoW_u2Kks8ER9u5aPc"; e_fb_binaryversion="AcLtbxL7HoRns241P033VH-dULW06f6AbpwN4MIHj22IL7aWwtOMutEFIsX6BqPZKFjYT2d4aBSe8UFjZ1U__tXi3P_C0d7zkf8"; e_proxy="AcIYGWhuQfIROghYX0B0ppr1jo88aCT09sfArsnf_0_hhOQsfO1CTU9Xa59YF0B6KnF4Y3DJDHNsqVI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7321023134601339?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7321023134601339?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7321023134601339?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/10/2024 13:15:09: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/10/2024 13:15:09: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/10/2024 13:15:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2990118, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ae9GLzi8h2jqa7EhPPKIDJ7', 'x-fb-trace-id': 'Hfle02j7WPW', 'x-fb-rev': '1011347172', 'x-fb-debug': 'gRdVBFyjt6tz9UsvIYs7+/lLk1tUeAlPoRUFROcEqsWX8QCvaJNMTr+IlE7mkD8MNZzXRTnrRX7K3Dl8XsLuFA==', date: 'Sat, 10 Feb 2024 13:15:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK7hKFFGSo5Y8ZtB5fgFGq22FfxGH7ckEnC00yBEmbKajSW7pfGBa3yrAwiX50LGD7BLAruWxauwdZ4ZKE4qTUQGtsXsR65ZOAuQr0PDpHuuUl4Ug"; e_fb_vipport="AcJ0_cYvC_9nOVxU-YJ6rZSvgyx-Xu9QPpTioyOGKdT5CIi1b4_lDUf21RQC"; e_upip="AcIHmN0d--0zBaB18h21xg1jae21xY2psPHQTpR8QXlOpJKv_PeKjCUqHA8xTpNwt104vmfY-l60_zSzfIqQaKW2rBouIdh4o1E"; e_fb_hostheader="AcL_1V73dMqesJGW_ovbNnq91bJmXwphGdwS2XZh0t15otH996NWhF9yB2jldo27l8hSheU6MGSygRL7"; e_fb_vipaddr="AcKhNjGLDk2OQ2-lv5a4cm8-_Bt-FTqWr2xdsnmNaW8Zg-Ce7AZ-ORUsdwS6iPv54IN5lozgo9p6cUm4qvhrCzAKkJjNVdedoA"; e_fb_requesthandler="AcIw44uqISJszJf-5LFsWjUYcKu4eNkEnXThvKHo0IZHeHSf0ZFbg51xz6rglmFkoPeoVIqcesU"; e_fb_builduser="AcKke0gz-qyvJk5_A4GOx5sMIXJ5P8ITvEv-zTepKKOAieOJFrKB5LLdFHlqxy2gBhQ"; e_fb_binaryversion="AcJ8c1Je35_KCMkHpUj2fy4asddLm7V69DjZnhNsHNENh7lH7MdDUdP0vNf-DwRBm1k9D_MhNGV_Lc0GIa-LtmTZrkGtXKNk5BI"; e_proxy="AcJGt2MH9q36td-EYE_ZdVbB2o-7dH7PNxELk21mY7FKxfd7tNHu2-r_Rov7sWvNZ3IJJN1sW1RjuFKTUk77", http_request_error; e_clientaddr="AcLU6hlttcc2-luKMPFnIlegDeeFsfAX9MK2joYlXkpDI-Cpo1eM7GckMJ2tyCJ5LnlFe7ttEEBjy7Lh3Q"; e_fb_vipport="AcLBWokJvjoOJsSm35SuxG2S7gJUDnYWeSe8Ubq6P_NU2gKF-cGeulTerML7"; e_upip="AcKG3Px7lBvJu-5YhfjzzzzHIhB5cSGdvcxMH5DbFaSEFUtxTKPrdhuMoPT-Qdbwzqd2O0VAx0LZF8mwk6brYNkcIKYZ0U_pqA"; e_fb_hostheader="AcLKTSU0FtNmVPYg-5GV2hy8FfxEkvwZgiHxu3Eoj6w2UXLZqjNeCKiWetflxu_yzp9aMXI592-XVbVa"; e_fb_vipaddr="AcIUi1_iRDCJ_BNm-yn6lbAv-pUO8hrMtmeO8KMs8hpri-ALyu_XuhDi4ohmkAxRWoEHF6M"; e_fb_requesthandler="AcIts01ZB6I66luFU5QXM8On0c2tQiMd3q0DhVpXIXMkBHnUmpBmnMld1eQqHGoYWyUVdxHxnfw"; e_fb_builduser="AcJ_8_ChUYVOvZjEliLUQ2RnmuAyAeqqRv9msziTgvC54svrkZO-9hJtB2DwrPc3ddI"; e_fb_binaryversion="AcIyPPWk3xVqcQ7U5HTt_S328hnTewTNyPQ5L6MZDwba2aVUiv7Ya4hy5iKW7ABNXtynAMtw6yezc6M3qN0skU_mKlx0iXMBn2U"; e_proxy="AcLmYDS518Z29ppmNXPOB_Dw8DkGyocCEN-589t-4SMTuA6cAU0B8DmtswAFUhK7arB3-I-FxtIjzA1s"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/10/2024 13:15:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/10/2024 13:15:12: Error on send one message facebookId => 7321023134601339 02/10/2024 13:15:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGoxTfe3o9JOKj8cQztfDZi" } } 02/10/2024 13:15:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/10/2024 13:15:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2990224, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Abi4BZlhMHv2WPWRmHN_tnt', 'x-fb-trace-id': 'CdHgEGFfDw8', 'x-fb-rev': '1011347785', 'x-fb-debug': 'glHwwQ2jioo0qiepp04i3BM1CmHXXpDa5vYNALd36T6EtJCw2TDfApYHvpCo5fu6jVAVc0tZXlgL5PR976JzOg==', date: 'Sat, 10 Feb 2024 13:15:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ1gXe1LyZ1BymstsxfdA7vbMgCjS0c0gu5zetHvcTeF5a5k5Y0_sCdnIbu8YoPrKyVOAU15OZ8ZaXUvgoX4PqofqkrSPR28iGa6lVWLtPqKgmgsg"; e_fb_vipport="AcJ01YdKhLLxgSvTh4xfxeZTz4rxtZ0XTG7yTz1k6G_0DNHvXPyZtKsmVRPP"; e_upip="AcKJAizTen9ZoKPYUpV2RO6mRVHL9kJgHPMeJoeUDjoIms48SUEyVKzAv2CqECZhCT_nQYXXgtT5DkfDToaZgM0iGrDZV7KCuVQ"; e_fb_hostheader="AcIaFYOztlfsGHbtPMtJawc_p8CmQ4r3JCj-XZ-K5UnqOKpRVFyA1ZoU2CPC0EG3ONlpeFMTdGR-_2BC"; e_fb_vipaddr="AcIVZIJ-9U7FrDArhYEe-hMXf4WpIk5serlUJSuLSJxc9rve800torkQ1PHJNwjmYK27dok22NjwurUUhNTQiK1N_BNdqrAlkw"; e_fb_requesthandler="AcI-SbHfW3oAcZumgK3Ctv-C4aNFjLNM4mF2kIOsK_QS6zFRpONJ_88NnrBy7P-LIk5JJ3VSOxU"; e_fb_builduser="AcLs5pTal41fZftKx6frLbOJy9AT-FJ0QWcD4Mvmsm9t7oTFOawiHvgwX7UQh0Kg9Cs"; e_fb_binaryversion="AcJbxUE5KnP3OCMw_taYRrAJtKMMISQbqkG2Nw56LH_KDFf1xvI6ozdNbn3qVGxCIPjSTr1qGCa2WVIw65iBc8HBrzpQRBQ1aH8"; e_proxy="AcK1ii7T8ZpRQLYwO5CiE6bQrPMpE9jvsvsotIvHeZFxiN4u1Q36Ch1F1sguvNrCfjQmamYtmRn5IbL6HRg", http_request_error; e_clientaddr="AcIICqFAgocgotl23HydLtzP_pNg4zkAKkTPL6o6tAYj8nMRWNNYYP-f5cmm5QN2-rXPHjCfnYG_d1Frwg"; e_fb_vipport="AcL9A4t0Hz6r_pxskzglfhw3ckuVMLEwwyuzMt2K7unR468XgAXC3lIzDpWO"; e_upip="AcLZo0UXZTqMumRciCR1jBZ4a-AUqnwFeTKXXJY7ZUh0NSQN3HuBqB3hupK-OM6R8ozkrV_Li2rWmvTCXIu6KW61iu8CcRJhxA"; e_fb_hostheader="AcL7LrFq2ejBHSaaEk1RuF85YXwz3wrCGsBoqDDJHc6U3qph0_UAQ5QjPxI2mAUBcPjhEv8U-nWzT-QL"; e_fb_vipaddr="AcIZWKd1CzBHYQjnHsoLYM9VKZe6R-tAXtNMLUCxmsNKmndvitn8Qi2ko0UF29nOb9uc0fM"; e_fb_requesthandler="AcLOkRdEUicBv3S-4Je4iD-OrDmoEVkXqVRcGjCNtuCfPEhyKGYrZ3fWn5YYYepO_iXBHQ8d6x4"; e_fb_builduser="AcLmg7A3XgzkqqNbWOWh3OWeypMRr1oP7Ck_PQvdCdioxpS9-_Ltl5Bx8pDfwULb2iU"; e_fb_binaryversion="AcKeHtbXXUadJIjJi2gstqT8bca8npQipbncltTzPsmKF9UWVCbIvpsIS_YjAuYLzWnlHCQTuE0GdsgZVJuxf-wtXNeTjJfPn_I"; e_proxy="AcLLMXejGmpJjBY7I1dST1e5qNCp-Hfr2diMUk1QuT31f37yXa4WYwDv-6xCsSd5nIcfjpyYwvD_3PtW"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/10/2024 13:15:14: Error on send one message facebookId => 7321023134601339 02/10/2024 13:15:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AcAf2XCaDantuX_G0ZaHKj-" } } 02/10/2024 13:15:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/10/2024 13:15:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/10/2024 13:15:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2990363, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aypz-6FlcsjMVU2VyTuFKXY', 'x-fb-trace-id': 'A3BV9bWC3co', 'x-fb-rev': '1011347172', 'x-fb-debug': 'DdxoX4K+puYcSkSXptaAwYAKK9ikBmM/GBqQ0V/aiRxr2Kf8LV3MohLGyXl1MeaXjj03E5TOnmykHYPPjJrKKA==', date: 'Sat, 10 Feb 2024 13:15:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLBTjKalbNBkxkJvZH586WUUvO-pD08jDiUcvNTdzU92aQTITCUZbkgsuEFImz5uOTnydg4nAgnzFUkg-Q7xfFpT5WtvQ4dr8wERsMOJhDK1VjtdQ"; e_fb_vipport="AcIjByDj6ohEKXVuz5RAqU2hnTWwXVb4b06mm7jreAVl3IaTm4Xf7Mlz6-zy"; e_upip="AcLll6cXFQB3NWedzhKa2MJVs-ouozf55IQ8aoBW4yHJ5sFxfpy2WYrCzLRRFOdr5-Hb7rspAQ8co8dmRm6oIh7_3sX1sVZsbw"; e_fb_hostheader="AcJ_IFSwG4HmXfwfaP3SlG9JrdCGhw7u7u89CsXPO9rOPPxnsy25cTn12-tmOV_keSddNKF2cJrj--iL"; e_fb_vipaddr="AcK96c6OngDx0i-uv97KheQsh7oMzU9YbIFt37iUDHydEtafGCj4tRi5T_Z6zb5Bo1rQQ00MsucWESIvI0yzADxldTNqwaUfVA"; e_fb_requesthandler="AcKXlXN29fSXCd6JeZm0SFaNEgEHIJ5ZxH5r1yR0UMQk-9SYJtmgy5xTAnhXNMgD51PNrMo27H4"; e_fb_builduser="AcIp3J_nmc9-WgE4oaIFjkhIGDtioOLupNuEYuaRRL85ft8eQC5RS0gX7kMRf9p9U6Q"; e_fb_binaryversion="AcLIvcH6trlkrCR_1yHfx6xRJhZbORZoz75KwZjhzj4_4GQimbIaB7glxxaXs2TZVjypIGAiC1ccxZ_CKNaX4kOeAaiS3SBGt6E"; e_proxy="AcJ8Ad3VwJiCjWldidTk7RO-S99DbEdZEDE7n9kyPvr3C697Koco5-Mjr06ufQbK9rx_4VlgoV29q8UXC2JM", http_request_error; e_clientaddr="AcKTXwMnBRndqv_glXLVpkWEB3TYUeiXqol6WJx6SX7mRt3t23RtZun6-hCGaZQj1R7e8TtjTOiV64rcCQ"; e_fb_vipport="AcIrFG5MtI4Up4o7cWCyFXJZD4v0-T2_Lo3NEuhLAMSLhs2JbyyxzMRAKOUb"; e_upip="AcID7Xr83YrjYgJXEciudoBsPCjfBRx9qLHUqpco0qvpKV4i_mG0I9ZZMcptYClO70XjvOfAaeRBd5tMb4dfQZ6xf6M9E7HEiA"; e_fb_hostheader="AcJDcBjm_2zrOdMhBVrELwnNcoUHNfiqMBcv2cR_CeAckyv9E4B_vUHPGb2nX9i_3BCVVcWmxta5pXkK"; e_fb_vipaddr="AcLEkWl6zbja_qTHDIMA_DXOf_erPiQfBpzjX763S33Qa7tYMi5gbDiajNFkqsvHF4Ftsk4"; e_fb_requesthandler="AcLoqRUNHya4ALNZjr2SGtcCeKD-AfTw9f_9SFSnvwDULPxwJd0cs002mfVbMDMnRXnTmSunnd8"; e_fb_builduser="AcIckkdgzpTAIKNkQ7dRFf3lTTZ28I0WQ4Ce0gMxvl00R2xMhspwNaABRrqkI0mEI8M"; e_fb_binaryversion="AcKZwsQGt9f0iub0qdAC3gHA5NR-dp236he5TjSRMh92EOlF2pXwaY01eO9vBa-0QcKaL5QpRdKLKGNcymnRf01QJwM_7PWd8_0"; e_proxy="AcKorHWDDojEjmTXTGA_cVC-HiKXCQCqopJF6CMV6-RNYSPpirdXyKySxuIcX7Er3tC4F_dEmIundIY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/10/2024 13:15:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/10/2024 13:15:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2990604, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsT_mPHQ2W_EuTl6fbd-u1N', 'x-fb-trace-id': 'G9Ra8tLcScS', 'x-fb-rev': '1011347172', 'x-fb-debug': 'nViwLGTFY0cghVwz/LGmT9V1jTzoPPR9PDt/s3yTgI24uoKhRkBhq0PpeaWrC8PPgK8q9alx5PujDgN8l+shVg==', date: 'Sat, 10 Feb 2024 13:15:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI57AedgldqD6wPNfpDbJ5CRfw_3OGyxSFrqxZX18Kg2thDOH4HzuEHzkqoSjRe47ioTx8uliscsvs0hz7MbQRDNIOPvxeYkfHFODxB-tXX4chOHA"; e_fb_vipport="AcJkWmhpb1I3CkTOsLS0lyUDk1634QdZ9Mh5baublNmld29IlE--8WUnL0T_"; e_upip="AcJ1zky2wpwEXvCQQkIQnn94lZPfZVDA3I7tNuLhVkY8-sOsIlfmo2kXQcdmrvpzwDWzJB8a-AAg7_QNH4B5MSBMUvIZDtXx64o"; e_fb_hostheader="AcILi8qnkSAKxvtkWc39QC-TkA4NJPcLgD8j3P-jCqZDyjceGxoxnPeUlpYm5O7tkJ95LPn0-IR7B1vx"; e_fb_vipaddr="AcIN8bkgWDw8de5hmySraOyICyGOfqEj6QRP-y94EnRRpIxurWwP71ANtKcgiLMQ5S1YYTjdOL2zuMRBkCYIthccdIOxQ6xwBQ"; e_fb_requesthandler="AcIavCzUFyIoQQwQEcfpso5JxmuecuDancaZ0AqSKLQ4fesHBK-u-Zxkn13iJKbtppEBBcnb43o"; e_fb_builduser="AcKuy0oaSPsT7bqePoRL2aPmdi2UPyyWd4Ut4Kcf8PY6v3c2gAdaodImWzfZESapsYI"; e_fb_binaryversion="AcIToEcZAUVWpz_EdiQZNR_BQsv4nz-t4l-7t4w09YGsRadpKIeG0MBWLC2ZGLt7wygh3bVlgCNxiUxIrL7fxk5Wa9KCw3IbX_Q"; e_proxy="AcLQ7jPQiG--uMVrVYqdvMVlFu6gJxK5Jva87xwrw92J_tBJh53hszIdzuh0QetgfPHmpYjmcpVy-QANm2gY", http_request_error; e_clientaddr="AcKBlVcYArI9-tdKxUd2DbPeZXOpKPDbV9rwL4V9vrKwcQjBdsJRuCjOL-85PRYsnXPDnOHREmoIVITEnQ"; e_fb_vipport="AcKcSJxwRJkvMhpXK7JyqQHGsPA1_XVF05MCpi_BBo2Ccf9E2_Z7-2bLpuQF"; e_upip="AcI6Nh7M9NIphCr-GgEuZ3zpuHGLIijjl-wQhP0fyedamwI9SYFGXvS99sotytqI-BpDDoHThjjweg52JNAQ9obKCSRDINNrrQ"; e_fb_hostheader="AcLCb7plosjk0BK0HHU5o2RHdh5fYsEe0DVxpSewrGBObKCO0MpI521ozlKnbDSOu4ZIpr7cd8jOTg6x"; e_fb_vipaddr="AcL9ajXwTtoL8sspR85DylHB-fWkx83VgFwUi0RSDYW_KUcTpuQLmB2fPudCyPM-HnumDdk"; e_fb_requesthandler="AcIRN9tkh0m-mPrcEQZ74BcT4BoVUd1dzhy0ZtedAl-yowXEEL8vlh2ogK2aKCWwZ-6OJliytU8"; e_fb_builduser="AcIuN-Yp37rfj7a9TLQ-dsQQi2-7RTwuLvtczFoXH-7dXqPmH2K_MJ6ruPqiKrcGAdg"; e_fb_binaryversion="AcKv_8tBy3GplZpNRbi8urntDY3DZAkktEKt59tHKNXcpaZODO1ldX75pQYkUlcke22FJw3HjnYhnbbJ2-VjcGG8iWsPL2731gk"; e_proxy="AcLc1jxRpK8wRdlDXCWI7LrnBxZfntf025wH5T60HOTdAffatU5KhwDEyUySKiarpOXGZWo4bBnxW6Bx"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/10/2024 13:15:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/10/2024 13:15:43: Error on send one message facebookId => 7321023134601339 02/10/2024 13:15:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ay6Gyy-2aHusqjIUFLKPyri" } } 02/10/2024 13:15:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/10/2024 13:15:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2990740, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcSlkkMQj2h3UwawJclzcPW', 'x-fb-trace-id': 'F3pQ4zIastJ', 'x-fb-rev': '1011347172', 'x-fb-debug': 'O8KrtlKJ0p2OTrTQgT0tmIG9QBZ2xEe9vNooOJOgc3TWBcsQY7Mj5+OIdxyw7R4dWUNfR6TcE1VdKjN+4DZbSg==', date: 'Sat, 10 Feb 2024 13:15:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI6r8WQwJ1zxLR1fIiCLALBFecPQSnTnNgpfbnLfxNSbqqXUwM9cCieYUWcqcOR5-r9rUzYf_NhUlEkSjPY_jZyJCjdcCFe5rKPym0uzule1Bbb"; e_fb_vipport="AcJBE0EdOoXnYklnY3WSlXA__yax3-RGfLIPWDfRj9qVC18oQ-TGIfOycH6p"; e_upip="AcKHM8l_VgQZFyZu5KtiCpPk1v2rl8VFYWMpGK7UbIlFf5TMSU2siNHPc9taLagLWSJg3J2uclQnlBzlmIJEGSk3Js1Ex8__HA"; e_fb_hostheader="AcKlmexwu9pObqVIFoMNHB1o1g6AkzxxwPe0eV6cHTTOKUoYhoyeS_J7s46GSDAr_F25dua9owni5-C1"; e_fb_vipaddr="AcJiD8T0LAqKkYCUmYSO-4vw9cded9jk6bWrphH-Mm1FKRp0xfJF_8QIuvuKiMbgHtLG-I1qfRHGVQtqoAnLRpv2jmKssQcEKQ"; e_fb_requesthandler="AcIIrW3aZUW0tQpXrJgpxLr6s3jM4KuMptpbrN685YpKM-mwe0k8trnaAMem7XaqKjVHfAh_0cY"; e_fb_builduser="AcKocFto7hVr-7jFQfdaIkBqRAI3EtQCRQLHd2RODC6oseDcVOwWENt-7bmWuNb2VnA"; e_fb_binaryversion="AcKjVvXvAI-T5tc-NzIIcTjbyYphhfZNqyTOuRzw4SGEV2jh7utrodGWhqIVWjcaQd84_3Ny61J28zJfYc6iVQ2b5Tr2v4utMIQ"; e_proxy="AcLMj8a9mHm31kF73quYGbRTyFXl99ry6JeUhCyw09SuJWXOLcpPCPLYRJEhQUMu43CylSocyYMObAvXbHkp", http_request_error; e_clientaddr="AcJ7RRNNv1JqFqQ6FBf7N-7KPITaenx_nLc-BG49SLcxMeCDnM7_-0J8cDzwctjvt51jgpDTsgITkvbReQ"; e_fb_vipport="AcKymAVEEG6pgzYK3ow_zF5Q6P2pe7sBmGv6wzcLhwSeKQQbwu8Br7F6jHC-"; e_upip="AcJPY34xMqcaecz3PxtKCkfGnenekl_PWQ638n6pry8D5Ofs2n_0tGSY248K8CEOgR9XbrgxEgNaKHRwnahmoY9-KFGiqlWaXg"; e_fb_hostheader="AcIsjIUO1czdt0wsdhl17okm1GK3SBfwYsHpC2Ov-nG493WLxvSnDGvZpTBotjRqacpSgYa5DJ8DVw_h"; e_fb_vipaddr="AcIQC5AcwhSMPhW0SIQqomxYyY99YiAZ6awk8Wa6FTUaAjr85wCp-Y7Z9srDY4vxcJv7yzQ"; e_fb_requesthandler="AcJTrjI_rC9BbQmgQvQFzNoDWRqr8Vufq_O0fLbOyjuUeJYfnS-MLxv894Oqf6EETDA8A8GHJho"; e_fb_builduser="AcJLhtQBGuRP58HvLjx9P7NoqK-r7sQeqvb3ZuAhtHdHN3YTjOPlVkPhDGBDJnutfzs"; e_fb_binaryversion="AcINkBOyrpF7nGefn7UWteL_PQHJpXZDQmPvHnAwi3NgQr-2ZcAAK0EvpEjFeT9XmHEpC0bckx-MBT4CywVE8_VCQ4jSp0_Zld0"; e_proxy="AcJbzF4Tn_S86oOzN-gaEj8YGCO6cZ0O-Il9Ga_JJiNphBhYuPYSNfZvjc--jHaVH0DyF1Q_vqYlVX8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/10/2024 13:16:49: Error on send one message facebookId => 7321023134601339 02/10/2024 13:16:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ALQ0xfUShznl9vJW4wfZV2m" } } 02/10/2024 13:16:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/10/2024 13:16:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/10/2024 13:16:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/10/2024 13:16:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/10/2024 13:16:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/10/2024 13:16:55: Error on send one message facebookId => 7321023134601339 02/10/2024 13:16:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYCDrSoTj-KG0LUA4sJDZLS" } } 02/10/2024 13:16:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2991431, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACTf4WsMFlYvDFrYi_NODT6', 'x-fb-trace-id': 'AW5mrdvvCPa', 'x-fb-rev': '1011347172', 'x-fb-debug': 'v8XLE31J2fn3skL81Ih06pEwm4kwDwh/pHmDLUFs6AX6/ITOcTMWBZEkYUHkCI4s9lW/lw4BhLqt6MgkQoGtlg==', date: 'Sat, 10 Feb 2024 13:16:58 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIsQVmClZmdJ77n3HD52bxSUpIP8ydUsq8xK8cvx_TeJMc7S3V8_UpE6hxTdDWFdM-L6YDsiXItKcdl40_taQHaF92Dxg3CrJj2Chsto-tmIOQADw"; e_fb_vipport="AcJSmKfYRE4fPiLXsb9HglyQ0Zdf40QQd_vG3X8ZDjqTVhk_ApRQx3wpktOV"; e_upip="AcLudbmwY5Axg44OpiBCQzCmvdIR_ISGetSe1RvgnWKmmR5hXyL3DPHNLFHbX48I5p8JPedR4ZV7hC_RGlPOVvEIVgyzdf6fUw"; e_fb_hostheader="AcKjQsBxSrJTfKdfvzOS2xJowtjlBSyymPlpYF35W3qiG82StmSW00di0nEvKY--4EqCfLAq7btZK-ZP"; e_fb_vipaddr="AcLZMWXtdXBG20aBreuDXNeNLPvuTLnkDlXuo2E1yWTdE52LG4v3GUxXoVk-Z1NwPvHMVRniv1U0AgG19FOfpRfeLYscUzCkog"; e_fb_requesthandler="AcJIv-ChJTmnw-2kmB1QPrms4CPZuq9dL0AY8LgHjnIwiLOxgRqQP_oPswcs--B8TmZSt0wB2X8"; e_fb_builduser="AcIiQhcFxPajvTAPTsre8lUacWHoKJ3iHQu14uqHEkMnSvxuQegQEPB6RjCXNcDXD9g"; e_fb_binaryversion="AcKTkv-W7pXK1qs0KVF2GCoKzUYCOUrSIRm0ORPKQsnZ2HKH2s6Pt3SKIeeccdZ1Sw91MkWDoh8865aTFu2oVSRoXrsDleRjXOs"; e_proxy="AcJNkIrc1d68pVmFs4BV--EduW4Q2P93Fe0Q3prcUkJ-9LACRwKSPUi13A-Ehl3lYybfY9sn88NW7xMiri76", http_request_error; e_clientaddr="AcL709xYJttVHmWATk83iz21fSe1L45NTp5s6Fd6H22LeBEdsXVMT0y7CFQR0tiWcMfBisEPPz1mI7Dvhg"; e_fb_vipport="AcJf8NIHNAuyFoGq9R4_VF3UvEexHDmf55nXvYlaiqobCgyZbz1ox1nZmQgS"; e_upip="AcIPDqOZQAs6mFEzmZj3nh01RU1ufcaGQAggCZ0rlvK2Yofz9FZDzrpj2lAL_vurUH3WG08_7u6Xw6Xptb5g9F8QwxLoBjg0QA"; e_fb_hostheader="AcIQgcCJIyqa_Gl2FwrH-7xzom96hOMEEG7EFO1OTE2VuXdjL6WnXLE5EiNarYfkm1C2e13D3Qo0JFnJ"; e_fb_vipaddr="AcKMWMVX0ECblx_HzcYTtNp2W6D9C3CeiV2WOa3ZRtBDeDDwHGzz7BsmvgHqJxFd-uGWDRU"; e_fb_requesthandler="AcI2ltzxPoiuddUr39sT5U7-2vjSNu73Ye2vPZbINC9P0ZSgTgFWiP8ekOI7ng92XoB6YvYSGXk"; e_fb_builduser="AcIy_KeMsc0pOeIp-V5Ft6tQF85yQSdgJL3yp4aGCUh3CuvJWLUQK8dgI1Al_jrF7Ko"; e_fb_binaryversion="AcLHX-7CFCaV-KC6D7WqG9aVuDZxo436UU1bI5VJtR4gfV8EQEbsgj8i8-jhYcLxj8lS18GXp2T1fFLsrzgDJICKU_oFIv4TF1M"; e_proxy="AcIKNPSn14Ivm1J8MQ10wl8O_0zz1M0iN6NKMpnBbAuwHjK4t9wtOD18TAWMtRUAuxSj7XRnFKgpgEA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/10/2024 13:16:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/10/2024 13:16:58: Error on send one message facebookId => 7321023134601339 02/10/2024 13:16:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ac3WMhReXtWd8VjFdoyHpjX" } } 02/10/2024 13:16:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/10/2024 13:16:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2991602, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhQJuFyOrz-lR-SRqnQAgyy', 'x-fb-trace-id': 'F7pEnPqUln8', 'x-fb-rev': '1011347172', 'x-fb-debug': 'v4BLdoUK66IzkGd4prFAc3VWrQGFB9EfeK8prXoxgcBQiMFL3W+1LHvBbUBMqsiT1Hr4StGJFEn8Ngdrks6JxQ==', date: 'Sat, 10 Feb 2024 13:17:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ7QHO2TU73qBoGAiEOWBovikwSRokJOFEyr1h39iWxUAzSZAe_5Xbdtx2iNzkA2kdfLdN1Np_FCzsjQ_pPRRFvY0hg-Rj94ZErpPVDJqmhpdj0Qg"; e_fb_vipport="AcLX-1yhbmSHXqqO50Na1uiQ0u-ninsqj2nE8UlXP4j11M2MyX7fKIkFUZXh"; e_upip="AcJSfEuPu-zWT3C0xx2tFvvOfoDXBtQHniRFvL9QKRCqiqGGzJiwUrfpzPnca48pEKYLDvN_WqpVDJEAsXoNKc5De4y2Sr39MGQ"; e_fb_hostheader="AcJutWO0EELc0XArREp4K_LTOIerdHj0iYQNTSvphKhi9DjCbBIYG32ZR7EybpF_3du6LpO2lT8e4eIw"; e_fb_vipaddr="AcJJ9HtnG32sMzjNlHm7cYyhz6WM8FVVvzBg6_QVrP9T4PJhmuVSnyQrtdi52M6NG9Dzny-4EW7yLCvQU33I7LPUbb0CtAxXiA"; e_fb_requesthandler="AcLgdGHY_4Eg7ZuiBH6B3i5STNZF04YMuWtuH9kPkBxzdI_Aq8nihkRy4x2k5blEBw-1rp8QEio"; e_fb_builduser="AcIEgCM9LUvnHQ66s1QtuQIpPRa5uPs3hZoIzmMw39nkbYgqTcvfVVl40arinUeE0WA"; e_fb_binaryversion="AcJTvcqJ-uABbBljkm35Kq3Y6goIYM_mU0EVFJIeYN8z5mRr7HFEsG0pxtC-UMKv3JULdOiI4zzaczLRBN-_ODc7V8y4OgVAhFI"; e_proxy="AcKVW7dINeNEySZrkCzByWXCqK1Sk8ljHI8kL1_GtCYMIgf7Fufj9AgCAB6cG3VRjk3Jl-zlm-jAZjO2BsqE", http_request_error; e_clientaddr="AcJDDOTe2Rtr2osKN-MYD9SYgjrv0M5D9UQw3oNBFJAnmijRL14QgjxfYwiP5t4WouRiBRgjXA8dRkyJdQ"; e_fb_vipport="AcK-VT1QiDQVj0A_O-OBGPO_zv_5ekw2GV5_yF_3JtfjwN7VEQARe6BBSauy"; e_upip="AcIPfB9o-ueSEcLCR8hB4i9Ww0obHxnEvYJLYKm2SrdPl5MKUne1ATmlgKYtb3ig4HzC6wModkUv6VfUtp9gSUlDJpE9FziEZQ"; e_fb_hostheader="AcKifOm-Lb2HKEAT0a2a1NuIaYEt6fKa07hI-zEpqVQ5E-5AgNI_z9rvIfMp0AYRSp7GMAfcC_x_HYGv"; e_fb_vipaddr="AcJsGrzdC10sP-DMbgl6eSL4Kvd4bs4QjERLMU2UYVrN3cAlqd3hgyob1XHG3UouQaOcasU"; e_fb_requesthandler="AcIVTt5cH5PaJ_s7AZ74GcZjFSzZOhUeQDzIgnxAGWgyggwbtn23lbMLg9f2mYmPNJn7zMTOpdw"; e_fb_builduser="AcL6q-JvtxJISS5gU6xV3KcBU4WSFlvEHa412Zw-_iTdDxrb8xB3irFzZKDUV_KxnRo"; e_fb_binaryversion="AcJE7pwUS_tzlLhq8itcfA1DKpBUCQJd9JE5ZV2uZka0e1YMsHgdWzb8cfRLgWqSX0rrwV9Jb2D0HkYkPwP1MgFY8aA9dH7856E"; e_proxy="AcIV3h-K0-p0pzsQ8mgVarmsMCxp3vINted9XD-hWkUZKqnRDovI3qPBsvBaWMVN2KgKmUzBX741MOQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7321023134601339"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/11/2024 20:39:46: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6360017084012499?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3306740, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6360017084012499?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6360017084012499?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6360017084012499?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6360017084012499?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6iiOsI11CJswFY5dbPgSmZ', 'x-fb-trace-id': 'E3MUpDCIrL/', 'x-fb-rev': '1011353864', 'x-fb-debug': 'twEFpnPCHtQFmiUdYyOFvH2LVSj5zUfwdmF6j/Vztg5cvkkw2/OC95JTocZKx748xHYyGCNmzdreSeeiJk7JPQ==', date: 'Sun, 11 Feb 2024 20:39:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL9e_TUTZXXNrQ8FUlrO9rj7NQALuj92iz4fWwFly_qBxfuMLDG3OpN1HXDRl6nEV2rDH0iMnY-iT9Rx7ugTpc9qpw1kuolM34A40dAW13xbrfAfA"; e_fb_vipport="AcIb7bqZSO3PuGCOiRB0dVUprrfdEtsfAQlbIQ8C68Km-RK5rwvBSi22l8TJ"; e_upip="AcIuPW57iwruJ8F10NMQWOWd-qQ-FcpGrkO3f-UGT82dL2MfD59n7Wc6AOTVWDhcKJEt8BwQswjUDjrvavKmDkTQR0kmW0jiTfI"; e_fb_hostheader="AcKiG0jzkF64Tv50dmQUCTdKX3oRgiuA6Iki4Tl798KxPGw5_Usu3FuIdAXJwJvJm2hBMvzqwkCy52tP"; e_fb_vipaddr="AcKZaOfl9HtvbDszD1xLQ1-VK7t1H_AcMD7nnnCFgYoF8tZHxQOJRgGoF76mIIEXdzFpFx1q2tSYnsdgfKEI37D2XiUCu9ZbVg"; e_fb_requesthandler="AcLKwNZEEw_56j78ONNbaqGvl6v2AFJcR75IcufjwqdxghsC2F6D5nkd_indjTQr-AvCVQh8pjg"; e_fb_builduser="AcIr7NHF-2KFPMn3N_aIfCaCnMylLwLO8CyVWBFpduZmfInc56atZyT46zmUDZBwGOo"; e_fb_binaryversion="AcJsQujPRjFH-EtLv4yNlLlV26iOeseLyyVj8spac4WxbjPCoQe4X2TOYqZgcYW_Yhz9tJBcMD6ePaYuS6OZmfxUhYor8tK8e-s"; e_proxy="AcJy7HR-1ZI92tXgzpCfKADFldmlkIBNpk9kDpw060xlRjruxiB2529-hX8BFRxR6Cw7XTIs5LkpzZQobjpF", http_request_error; e_clientaddr="AcKdQFfeQHyeFml77HYLE1vBw6ye0TnQwTd3mds-Vr8k4YnqTNSg8bc1vPldEYH5D8P7NV2REopaO76WaQ"; e_fb_vipport="AcJCgMK-MO7Ekltg8otNKgLutyQ0-S0pb9ZfWzlgeCTlP7AzcaEJTbo-gGZh"; e_upip="AcKNhHDWSzY47gaBh4GkKNlqKVuXg-zZPD5DTBJsukYPB6OJ2-1scKCPcZUA_L9CVLV-CfSF5rjkWpy5ngHaS1l49cY4R1Z9Vg"; e_fb_hostheader="AcKtKiAanfTPePlLDGyKKNoutODNpwo0WXye7XJOUK4e8yQKicuieYWHgD1p3SYQG4Niv3OSzctgYKrk"; e_fb_vipaddr="AcLbjA-zgGzr4aafI7SM5sVFpOkYfmT9HiPdXRhzti1TJLGSiAN_kPAHr6VqfB6wTOzNkRs"; e_fb_requesthandler="AcLKw5ug9g4exsbkgwq318Xv_a1mPfo53OQWxv1RrWi08oDXxrBXjsVj9DtU9J1kuBu7ktZgvIs"; e_fb_builduser="AcJG5IJUcXyrqaKfP78Vsjapkckk2K5JqNKDUS5wM_LIjlpMiOiipFijWSWauseup-0"; e_fb_binaryversion="AcJ1ssNdUOtcFiluCrfJoQpJwKTBJecEPeIp3c5sd3SG6b5qMDyQ4VSCmes5A6qn1b-TuE_DpOoCWSduyTUaBua6_BbokmYqqiQ"; e_proxy="AcLtFOiqm_EEPUcylLs1D5Y_Ya4rd5CgInV13YBgrQGXmU8alQxUZMMmbIRnldQ0Wn9O_PrZ8swgVR8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6360017084012499?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6360017084012499?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6360017084012499?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/11/2024 20:39:46: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/11/2024 20:39:46: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/11/2024 20:39:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6360017084012499"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3306858, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACVxXaPNGCMvCsyggv3CLH7', 'x-fb-trace-id': 'GsglAqfA5To', 'x-fb-rev': '1011353864', 'x-fb-debug': 'pWHk0fhyPDbFirOVz/mX7dhw2Y+AaWEJwtDkgRiRgpO/cKUIS3+15P1t4x7tY3Bq91sYmGe/Gpvm/RbMaYI5DQ==', date: 'Sun, 11 Feb 2024 20:39:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKUuPKYaNgAOZw17UJMhxbepB_MH_ZVIZwr01FGd-G0ze3Jx0gVHfpvB6bB8DQp8lTRmQNhhDpzdXOeQo7ozAx39swaRMAofEk5nTf8w1XEKi60QQ"; e_fb_vipport="AcJeWiVa6qOG3-K9gRcNfS-t7oq7daLTiyAe_ZB1wAEhY5aZKhMJo9SHZzeg"; e_upip="AcI29N9jB_jZ3W3TtCcJH6siNwCJCdBmsG1DCrZjyyQhbvvitcHx1nL62F2jemvJjVK73iHwULtHo0b2fp7em2HGT6_8UQPAaw"; e_fb_hostheader="AcILJugRfdeOTePvIg13NbCbpoN4u0t0PGuTryieOkun1PKoMHJZlHoA1f2i1Dcu--eJz8YYM_hLm9Mb"; e_fb_vipaddr="AcKwQCJy1n5SE-R2oSmC6dogPlu7rb-VsWqeP2jq01cb9klWCZiP74u0Ik8yHOX0WIksOvzYZ7Q04Q3voqLxYFauq5CLngAHFw"; e_fb_requesthandler="AcJTLmqhAbRWE6kxJwwsnRtsYyEmyCTSv2cL8qwZmzZqyLbT1S8CAZxJnkZovQ4CMkDgrTMJpO4"; e_fb_builduser="AcLqn4hiGyNgmwji3EFHpFlbB6kW60Vp1xZ8hrIKG0fM22qWQfteomGtUZdgzPn1J3o"; e_fb_binaryversion="AcIyclHCY9ZVrMmPtpnfQhd_DeptxsyYc3TAQjUHRTECiXYCBzhTzsVy9DggH9k-zarv0hxoTmtd80LX7HRlVj1QdzZMTX1SA74"; e_proxy="AcJskmbZnjeNiqay66feS_lTN28QbqX8xhsZH5XBWm2dhoqsq1SLEvdRIWAuH2JMlx0rkRj7tMy17TiQ46Pk", http_request_error; e_clientaddr="AcKf3jhC6nfOz5GbkcIzS1xV4GX74OgZCCSzM0U0oX4X8OljEYRIpyNtutx98AqA0wCBUgf_hzwjytULog"; e_fb_vipport="AcIzxfiT0UcMzzgLjB2NPbdGkmmZfxZu8Kbmde2AybXfPINSTr2ItaqwdRnw"; e_upip="AcLzkAhaztS0pAKAHAdGEI7jpbwptdrD5Q5qd1ibs-Up4Rvv3MNE23t4sE8pGxatl7JlL2RK_XDljhuvdpY5SYtpoY9j-9cHUQ"; e_fb_hostheader="AcLHZ2ptASpy2NbrPoPVykJUkSvOvKimv2a-5zr6UT8YgqYgMuU-ehsJ6TUg6gdePdi4wngOjee2n6ey"; e_fb_vipaddr="AcJEYqXXUBbnKAm_0h631iLp3cb9XGsoQi6Q8XW41xeroul97oJ_aqDvBQ7tpLWiMYGZpQw"; e_fb_requesthandler="AcLxJ1fV17V6sgB5lY82b8kXepwL76PoAelWLSiXBFWFLMmj-zJwum0ikySYjzuMOboycJqnvVs"; e_fb_builduser="AcIhIQtuzSWz9JeXpi8H_gxnsIB98iPNlliWLgu83R122WHvGszJDu5vrm1xuOKo8og"; e_fb_binaryversion="AcJ-IOEWAA3DrPP7kELdY62LpeMCcDGiHv2J8fS751wRsTS_WgDmO9pIUjMEsvRfr6Ym3ywJ4o9Bl_x0BCUa4_WH7p-lcnK3Odc"; e_proxy="AcJqJQ3a371cqCu75cs4IY41ock89Y8CRuthheig-sdE-folN7DbmPcCCUAZRJROuHz-NlOzysRFmH4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6360017084012499"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/11/2024 20:39:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/11/2024 20:39:49: Error on send one message facebookId => 6360017084012499 02/11/2024 20:39:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2IFkMYkcemCv04ulf61o0y" } } 02/11/2024 20:39:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/11/2024 20:39:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6360017084012499"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3306943, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1Vhj0WVd824jD73O-C31B2', 'x-fb-trace-id': 'GOaB+tdwgh8', 'x-fb-rev': '1011353864', 'x-fb-debug': 'whN5Dn8uohafNxitFEJPVcEOUrZQGeIBXNDK+E5XthDa8sdn42BJfLExRemjwJ85Y19BxKC+8ie/HSISoP1tkg==', date: 'Sun, 11 Feb 2024 20:39:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIl__e1b7MhNJYt3mhegw-2PzS0rng1CILY1TMaVx9J2pEWP4OnrXJ5BlGZypeN0KXGNjr2jaHUKrC6RC1dFfYGrUDBqE37F04GYzf0VixnVmM2"; e_fb_vipport="AcLueQ61AixSfEknQwhRMTxJmuotM6pXXQ9SHm7ZyH51ZW6FbyC2rqHtOjPt"; e_upip="AcKLGnB1Vrj7Vc3AxbqcgTakdnaK-vKSNH09BP83l5Apoe48luOkqd37HtggLsFD4wxO1Zv5NxZyKlBKhfltZ1Pbwy1PV3zzrQ"; e_fb_hostheader="AcJzddlf4_ezrbjcjftTSt4iRUyj8Klw7tYsH_M3CJs6ov1EaKaTOKN9IcjKeytnF6sksoY5S7gbKw8q"; e_fb_vipaddr="AcLYDpZerzafv81moL1fE7xlq64Oh-_LQmNJ256tEXcbCzECx-vXu0oRN4DAjRm3FQSoa1fJ5SYPGdlfemlKvEwEBbh7N8IMEQ"; e_fb_requesthandler="AcLAHWR0BC33edt2mMDjUgAIK68LHS3EoRPupaEaBMxvZGlQFVLb_qT6YB-77Sqfik81WHgPxVs"; e_fb_builduser="AcIzxeIovjp3fsRXUA7leth_XYkglqenSIWeEjAkCOAbxihGMNyXc38VTHpUVvhBobg"; e_fb_binaryversion="AcJULN2BZdqTMEO4I1dbPvr_SOJULGRePvwkmgyFO5pJ9krsZjFF5bX_sCr6AK93GTKD7wS-0OER1aPKh9c32PFkyrFAVa57H6c"; e_proxy="AcLLtykhtuhmzWxu6eRFsgA8GEwiI3aQQIex-FXvlkiZgVdsxvzO6uJ8AbIlwoM2Candjf2xn0y6G7hkCm8Q", http_request_error; e_clientaddr="AcLHSB_W5-KC6TohU8NTUGhkv699skBq3zTOBuXLEeCumvaINzIDolnEdhB-MT4Zi_qWB5dmktlyaZbJ8A"; e_fb_vipport="AcL7NQyScFsoZgAYCGriWz2BdLalQflNMUIrlzNvtHxo6UQ5_BBC7xqd2yPe"; e_upip="AcLBczWH9ZMG-de6dJ9sM70bsT5LVgz3Uw-owu9dS7rlJAurmKR0bz2tZXs7C7jAnPaqhQ8rbR21TJ3Z8NsnyhQNBJmOwlFtiA"; e_fb_hostheader="AcIbspTKG9yxYI3ekROnUmnlFCdhkwkXen-6xq9psq9dS8I1fxP4td2kblqRgyQtkmDcXO5cJSQIyI8h"; e_fb_vipaddr="AcLuox5Y_cGPsTFl2I1oQEb4Fg6SCT8L5mX1hckKfLSqP4GW70-vE6VEWtcDv5rf75Y7OGg"; e_fb_requesthandler="AcLuJKItGFgF9i6w1qua6HGZj1-phRWJhGg62OiGCgSuc4Z85mjNoK8ys282wxif1GtFMLxywXk"; e_fb_builduser="AcLo3RoqG1fBiMU4hTieyjeslBknOThN6NXTNBv2Od9W4t-Ma_FeDjib_wWT-IyY7-Y"; e_fb_binaryversion="AcKpbd0Zt1DFOJJpjtSlDkR8qj-LOtwVp5W5IAnidFy1HdHrydye2JJA5U1jGmW9aK0ZaLMuChKBNrUrY1p_aTjdAxIVLm2L9Gg"; e_proxy="AcLxSKwb4Pj3P4q7cDHB4WS8p-bWDer6wjkFK6ET3uZcmAlbAISKVR5fGP7X75RFRuhP_g8ur_K1z30"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6360017084012499"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/11/2024 20:39:51: Error on send one message facebookId => 6360017084012499 02/11/2024 20:39:51: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7MQLvUyQiJ71_1EIE0zgfP" } } 02/11/2024 20:39:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/11/2024 20:39:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/11/2024 20:39:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6360017084012499"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3307082, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqTMC6bR8uRm887xcCEc_AP', 'x-fb-trace-id': 'EAw6oUA4rg8', 'x-fb-rev': '1011353864', 'x-fb-debug': 'hC3OOFb3UbNmvv7sSLuURtWQj9XqPDjLeAo/RB1l53lOzUJ+DfmQutSTsVBbnXCX41+Ufmji2YbLcIaeHu3iyg==', date: 'Sun, 11 Feb 2024 20:39:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKTEtYIPzFy03jkBvAcZKl72k-hU25I1Ulb1eDtyvgF4GvO7d1kvNAFpgpRuvZAEvbI225FIqp7faRHmzJenFE1IUZ6KIel-cBEKskSuRKkzySn"; e_fb_vipport="AcLzVloLZ5Ic_twoFhqyDE0y1oItcIQRrQ975XA86vXucQn6mFYkTj-FWz17"; e_upip="AcJcy2D7pPOdNXFwi-WbxLJ51rxj52tdQZk8d4dVlpe70DCw4-5KHuS_C9uG7E69zBFgbZhZDwtkAZ-rbCaZfnkTrECviN6rsa8"; e_fb_hostheader="AcKia_2atp-xOAiXVFuWw6B2tLqYxOoPgnmxI3S-DiXWA4Lkr_b7ektJ8wB-iRWg_UkPVx0fBx73xioY"; e_fb_vipaddr="AcIr4VoqXboryhIwwDhRp_c1mcVDTDg7uOVGtrF6Od6raPSFphgk0myjZiQvKcXOGYKfFtwdvRtThRFLJkjPmJ6nAAlIjOueuA"; e_fb_requesthandler="AcI3dvggfcuj13aY_4QlvDGdvCYMZfIcEDQt4Oy-HzvKxOsjPj-fAanoDUNMp2Q9bXIGX1vneP4"; e_fb_builduser="AcK2Py-h2xtcKSn4_rCx2GeLKMlFYw5xrB8xhrDDfTV5mzXqJRqJh7VZbwdT42l9RoA"; e_fb_binaryversion="AcJbIw-THVfnqYGBH1YpIJ0CRh-DAegVnphOY_65FrorGsWXF2XJUW4z5i-_ozPyVNRKzKyKCZnakP49cCjCTDeHbCLcs7Gqn-k"; e_proxy="AcI5M0uP0gA2T63B-ZDIC6skr62y-3ko45kBe2UKSJ3JwnSpBUjthgJEi57c8FwEQ3ibKoXKyQt4nF25Ni2D", http_request_error; e_clientaddr="AcK3QeLxK7xcpAoGvmSzBs101gj_HtbOe7ucrt84ZVVIMU204m_mMPY8Ep9c4Q2NU6cJxR-FGi1DYbwXbA"; e_fb_vipport="AcKLUbqe4jF3L2X-I9jl0fnJ44ZX7W49NAAXsAzCVCvSqFjfcGj6V26gHSgA"; e_upip="AcJqHPLx2tu7bupraO4s1yQ7kvli_TrHIiCR1sJInJyNnxGX0uYEAYqJS6GXq2dW6ylkEkbLq18Z9O6ofQkqUPpBUCZ9NVGibw"; e_fb_hostheader="AcItLCCN0x04OEpW_e1Iqn_k-o9xjI6X4AaNpkSVVkcn2RL4V5OnanAAqf-yb-_lAf-N0fmkqwfh-ze_"; e_fb_vipaddr="AcIifxh_gro4eIwOm5VHQ4LlgXyrdAl7z05KZqtd2wO8Hk34LhFEIqE4oMaH92rKgwQ0MhQ"; e_fb_requesthandler="AcIzl93Jz4OqpqqJPGN-B2m14QnEecpQw_hHItwl2A7VRj_9pFyFJBGtSqF5jDhpxsOZ3blykbM"; e_fb_builduser="AcI3STe71fBAN_nfisrefqZl2Zpk1d6xEmNjEjandc-ji0FhtSnu4OnY_D231lqnNuA"; e_fb_binaryversion="AcJXZKwFVwp5rEF66aIRUDZoIrcTlChp00UgM2ET2rhvXq4NVT_CYcglx9_-SfRcC6bsKcquz6BnvwH18PRbq2sS5Sbx0M18UD4"; e_proxy="AcJFHd-fgmUh4YuxWhr3J4Fkmd8vz2DCLjnec1D_P1P5ABGTxrNyC6j1MdskfGO7XjWv-MKf4_7eY5Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6360017084012499"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/12/2024 17:04:39: Error on controller payload Input Treatment=> type not found 02/12/2024 17:04:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/12/2024 18:58:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/12/2024 19:03:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/12/2024 19:12:57: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7811645018850956?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3537431, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7811645018850956?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7811645018850956?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7811645018850956?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7811645018850956?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYlUrIAqn-npOHpeVulM8rJ', 'x-fb-trace-id': 'F94I5lrTNQ6', 'x-fb-rev': '1011357791', 'x-fb-debug': 'OTOvnBYDnGP3NsJIRf6Fh5hrI98pneRog8958H75LnaomGezabrlCaF6MUXlGJqv4sIMs477KF236jOjCuxHyw==', date: 'Mon, 12 Feb 2024 19:13:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKgvWOSmLdFU5LgOtXBJ35yqwmt82SQRBavV-asi4Xx5mckeC56kkJS8YaZ3OYU8mKhlev3oAC7HcEQtLNJ-X5jnR49HGtCCHe0p8LYEHzlasaA0w"; e_fb_vipport="AcKWuDnuHdH-ev92TUiLvbrV_qJ9WydeX5IROy9377vS4NsMxYqmLRGQCjyF"; e_upip="AcIAMI-S9gj5YXWZI3vmVNdY7ztB19OwrfsXm4cTRek3W-v5p1VL_5uucBdZxggB7hMTmvZqlpUGA7aEeh3fBfs9zRR1lGwYV8Q"; e_fb_hostheader="AcKbk_yuDIw83wFs1tx2Ug56e2lJI6vZ6n2Be5mQ1gkm-sAX0cxED2wvaoShaxGO11KTyBPJGT3Z4fXj"; e_fb_vipaddr="AcIe_DkjOWy2LmKTwH7pB_DqHCYR4ImlDA1skKS5sX_gDlxbb4B9Fihcf6wzWTm6zTO9grNJturXQey5BgQptuTcLdRtTF7MEQ"; e_fb_requesthandler="AcJyN-nttZjk3SEcPi8apBqYF-hvmnE4lwHsMbel80eorRTwtYBhp61JAsxO2G1TcIsSoE0olro"; e_fb_builduser="AcIxQCqUM82qqzOPieDloAAKC56nVJZ8NbcBFLKN4CBqNM24SgtLP1DdWsOLyZ7u6ac"; e_fb_binaryversion="AcI6ZHl_tKIWghjkzkMGfWa9bZY1T6TnNWx-_aCxIbz24eRht8i7A8v9nu8gwUelowVidkRKbpjH6Uml1Pl0T4Dks5KS_mOS1tY"; e_proxy="AcL57RvyzCy79yed-QbXEddcryA7M3Cx7DU3GndjxCfjjA-FliYBqnGURhhUm7qZRL24wYjdt9UjUEjCKQO5", http_request_error; e_clientaddr="AcIo8zryu0caQ5xqahfpLHbXoeDvD8URQA4IWe7Nsfe3ycJGmqidvgmlyhxXdnSQDqpWMaEWMJa0Vrv55A"; e_fb_vipport="AcJq0jLFZcfOF3ALn_UZa3u85Cj1sbx3Dg-fsvkTQnqm4bRmdijGPkWKDl-E"; e_upip="AcIHlezDnII7Z2eVX9IOseGI8GsZUKi0ZZSF-f6EZRwY1PGSZ6s2Ri6C8Td3DwrWTm5ANumoLW14q7zdz4tUMV2ekkQWQssrxQ"; e_fb_hostheader="AcIVjf2d4ijMJjZ24GyydbRRvK_zeuJ7kNiEcdWJDZH8IruCJqZuh-cImRR2a6M06I722vAxpNXKjvpz"; e_fb_vipaddr="AcL9Ih0L4DIb-MkvMw3EL1lFQc1NrWUQ3mJgq9HJ3d05M1PBcUeDNPJRPm3PJPseGfwJKNoGVA"; e_fb_requesthandler="AcIbw1Tb_i2hpr1J4FtCeCIUE3gmIpDG8BC-OifeqIW8YVUyJHDwx9B6osVQo2nU1xfbYLp9QyY"; e_fb_builduser="AcL7iSmc_DS_fsSZ_bRKXfEbB_1wLrO9gb0nuv03w5aVu_8T9DTLtj0vzbaiMM4h8r8"; e_fb_binaryversion="AcL27QLRjDFaItfHLQE_k6s6R0s67pHSePNPfkhzJJY2rB0DSdv_nRNafe5y5YkDoXrxwbtYyhJm4HX4wWBDuW3cYTrV4Eq7iA0"; e_proxy="AcI-xcj0Ulc9xki-oqL0c5MSPVmEMfWVbRDbeejN3v2xS8RyrKdpvV0waorI6RmEom_-C2T8iN6k5QA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7811645018850956?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7811645018850956?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7811645018850956?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/12/2024 19:12:57: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/12/2024 19:12:57: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/12/2024 19:12:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7811645018850956"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3537549, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AERM1UmhWMsS_v1_prioy3u', 'x-fb-trace-id': 'C4h3cor5zHn', 'x-fb-rev': '1011357791', 'x-fb-debug': '2ZFqHx91aq7oK2dwpGhB4OXX8etilsIbTGOSPLvhk2wBdVjCjLzIRhM/w0qCpuSDOnzFyhglBTMedjdHGYSRZQ==', date: 'Mon, 12 Feb 2024 19:13:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIL906iL5PwoNA8V2Wx2dxtpBWH3l9yxDX5fedNM_y3a7a8DHTDBTttR7cdF9qGA0NKyy3TVk_i-HbfUJsjI2WHEQKckDyHkJc_pwF4ZqnvTDwtgQ"; e_fb_vipport="AcJet4p880r9jIhi0UE8JJ1S71faySbO2ADpfa098SQ9LTYupR1VjrgrxX5t"; e_upip="AcJCkDDnVjgFAcTMPNskvoEq0LVjQpK-jIOkaSZTdzZBdb4l4B-eC2-ycjp1GCzeF04CKz3C8fmOf7epyZmDLEkffOP5G_gFkw"; e_fb_hostheader="AcLVGwtoIX6eoziLXaVayVRNwoZiSFRS-F6JpSVrho12VGrnQz_s4iiG6QEUvGqCnHP4JEevfH5bYn5z"; e_fb_vipaddr="AcKpS3mwqTijyKv5QrLdQnP0ULjQMyM9pejuX6JtELNWaNRDq5Rax6tpOO9PvW4Yx_5B__MqybDf4cn47kEucVp96Tl-TBqCLQ"; e_fb_requesthandler="AcKq3o_lxCj1p2-ZU-jJ4hUelMF1VTQZIlbNgrvZvzi9ZUar-qfsBsvNNs4cmWYkrHNbVmRVegY"; e_fb_builduser="AcJpnTQTjaZySsW5jCk7w1FLOVO0AM-2ngQya3zkyXlWJdZ0I0LGAQ5Y2dv6GZeIsUk"; e_fb_binaryversion="AcL6aZi5m1QS212FE3kGdV6jDO75ptd9PO76BqQTc62ey7VPTMOXmYxOUKkVGSYDXsnpdkwkooEqndtRtiYTswAixXL50ff24no"; e_proxy="AcLC95YU_t3sJ7Qo6tRnr7T_JHZllJSK9iqR6V3hcA5W8s36WqRt-rcuoF2p8HdZQ74gNijy9Q18U56cvKtB", http_request_error; e_clientaddr="AcLqWAi3kI5JiWPGB3QTjq2qdJ0LGZFzkLCN7-RdzmJV7Ts30RthiG63hd3BIDSXZYWuwq_qFp6YwKPN2g"; e_fb_vipport="AcLnCK4O84lRVgL4tq0dBtlvP43Ty41wB9c_mFW688w-uBjgZzVKHAIR0LLl"; e_upip="AcJU3zvKW64QzCmxdQ15sGTblf-7AqNLKcqOrXlNC3BP_2ix1bPpk4I-jK83P8HWOZAesjuzUbAC5YdWYmDIxYHMVND-zi4YAA"; e_fb_hostheader="AcKpi0ERZnrVyISQrkixfADqMB8i-unw14df-UbknGS5nQgPPZ0yI7sm8HRG3q5GBIuMdx_zl7zTrC2I"; e_fb_vipaddr="AcK9uV09LHpgRDhE8UfENxkRcsTRerHjFxS0vULm6mCKQEAszxImRBW-oGrWN9v58OrTNX1mmA"; e_fb_requesthandler="AcJWkIY0Cd4SWF7ol9gWMUrIycZOQ-qwxqjv_j3IzWfn4S-MmjmBnE0-lQ4g5GPjUU6BRHToM-k"; e_fb_builduser="AcK73wtZint2vurkz5KVNo-19tmccMj60ySgl8TYP1rNJc0WpId8pmi2OhL7QUPg8LU"; e_fb_binaryversion="AcL6dJwN3H8Tdhfksi3hRtnDoKpjap7Cne2B07woXgJRj3SY0rAuISM6UuHH3xz3IkvYSLbSzW2LRKq6iBx3ebjY2DHHjERcIbo"; e_proxy="AcK_gSs8nih_vbAjR7_aUXrTOlD7F77OPz3yUtsaQaKIepCPUaJ4QVXoKsOrX69WSkIF_D_tINTU07g"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7811645018850956"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/12/2024 19:12:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/12/2024 19:12:59: Error on send one message facebookId => 7811645018850956 02/12/2024 19:12:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AuhPM8VLMQNVBgoibUq_Oco" } } 02/12/2024 19:13:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/12/2024 19:13:01: Error on send one message facebookId => 7811645018850956 02/12/2024 19:13:01: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7dCoIFncLUNeQTLhbKPZbd" } } 02/12/2024 19:13:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/12/2024 19:13:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/12/2024 19:13:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7811645018850956"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3537636, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANGO8NUFRoBFyEBHbCkUGsC', 'x-fb-trace-id': 'Ft9WM/G6CiW', 'x-fb-rev': '1011357791', 'x-fb-debug': 'tS8THceqS16QY3VVZlt3zEhfK4CddqDVnZLJtAo7WsTImj9q56FNoA7wI6DQa4zF4iM0pMJVFxT42A0QjL/YvA==', date: 'Mon, 12 Feb 2024 19:13:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJJ5-CNBRoQcEYiIr_4BiaVm_n1xj6E0PEvfa4P9npxF2JdysASuMiB5T3_Kyybr6-un7NWxwTq5OXb1ZoY9Otp_Kz3D1bQTLKQJ_5vzxfbGdPzKg"; e_fb_vipport="AcJk3HFzSN8NLtrxWGoend3Du6ojG3_uNtYr7HvBrxeSWVJcdLtzOvwH6RQm"; e_upip="AcIpLfinVDxX9ogOP2zekgxov7_-Ts4THspie9rnAomhrUmOk_RffKrPfSUl8y7YsaPhhN8qzbpZDuRvt32XHCRrkTpVKaJGVQ"; e_fb_hostheader="AcKp4oRfcoM0c_OHn8hY8Frpp7TDluUakLhfo87GU6RKs72fQczNoBZUXqznIfIR7AJjGMHkTCZsDojE"; e_fb_vipaddr="AcLJSeqPBRGBJOxi6uFjHMzBEEWe2D3c5AAdMxWPdPhJVA8Za8fr3bXeoHqWuXsieqPhFz3JkbAv5oGvF2CgCSLyRqwJUJQnyw"; e_fb_requesthandler="AcKu8meA3MULhKJ6EBdYZZXn5_1p0qnCE73Pclxb8RSTBLbHcj2YLT0Bn4zvRH_tKNTYtllh4dE"; e_fb_builduser="AcI59R-n0JLjC_zrFwpRB4Evrj1RG-QrBiUACzEmf6jFE8ET8LeXkiG74kT9Zn-RY4k"; e_fb_binaryversion="AcKWWDVWVp8MVYGVKoE6ss_BuaowmRmKWxz6Xx5jLCo83a4aW3apLGBpaJnGeXUfzlkb62cB2UQs-5oW4u10FtX01HTci1j5LsA"; e_proxy="AcLSGPzX59jGHxB07pmVoUSQaW_6yAmYnP8S-FytME5GOpoWv3K1zbRE99tXNV-xwCqRov4S6HsT7aZw-WGq", http_request_error; e_clientaddr="AcKCC6GkcLERD47p4ucAeyeI03PP-N99pAHDMtECgpWCM_zRpXJ_k4a0BAU7wlUDmJ20uhQKsJFVzWjO0Q"; e_fb_vipport="AcLUnIT8qLYB7kvIgA2DM58HYHJVi4cHPxIZz25sttaukJBAcJl8o8d2j3dp"; e_upip="AcKQrDEDAF1zxJouXMQcWkAVyr52MKoTs_NmTuhNKAQaVMHiawcON8XF5A6K6J6VfmzPqijx1H3gLElDP5j5Rdwza51T3T2AYg"; e_fb_hostheader="AcK2EFuN7cd_x2cmIKYqPNIZWabxZBs55uvHsC-huzh95HGo7wTrgN-ADJ5HSdkOvpEy1F4KCSOV-7uf"; e_fb_vipaddr="AcJ-W_SMkTSqQougMZ_FhOa_zi510aYDD5Ykwvti_T-C3CxW6W3cbkMiyzifQTzhGfSEDq6o4g"; e_fb_requesthandler="AcLJz2ug0NO2ldpPqzyHL-ghw2nr01mTvjPbeAnnrN0-qJOn0kwN5FKjggQSw5WbHvrwTLmv-Hk"; e_fb_builduser="AcJJOtYrGBD1ZRVtHAcaimCilkjkyxgVs0YJIP7bZcQKGi8A9uQPbActEMp1QD1FFgU"; e_fb_binaryversion="AcKVzqIwXZlgBbOwlxccmWwDSN8zsZo_PjVpJU4forW38e_zfcdy8IP0Emf5B-o6-oBUDflbAgPudDfR174aTcali7l1vcKQ80U"; e_proxy="AcIT4kbxnIKdbUoE2ni8J4jczhQWahJCq40XPCMoaquQpKstqgRzw9SiyxH7tHNMEejUsMRqPPGBZrE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7811645018850956"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/12/2024 19:13:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7811645018850956"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3537761, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4FIHoLmz0K5OvqGta6dti3', 'x-fb-trace-id': 'AWshocvVW5r', 'x-fb-rev': '1011357791', 'x-fb-debug': '1stPsweS4oFZ4OYPDF19wsMf99/5lW/1v9YcgvgZnq4plHwMA1z5YNLPr0leyPUKQAwZ4rPe2bHFx53LbAbVgw==', date: 'Mon, 12 Feb 2024 19:13:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKmlD28fotr-WWlHPPIM3Z_FCExo5qkfSLDUFbLzHBKAM43PaqxiP_AetztIodnjw-rM_FpxEj6NjKdZ8BpDriv-9EcbdQOwp1-Dcz0b5yDi2Ffsg"; e_fb_vipport="AcImvedaj_fK3uJBXDWLyQjVGFGHyJMZi6NKEKTHUBGtiVaSeMK-Wm6wOmXm"; e_upip="AcKFb8eUGqx2CgLfKrl10jk3sQq7SqoLHcZQM6QAX0GkL8GPAvSs16qIae9Ro6F4K2Q0GwT7l-nTf9NWSo4xHK9w26V7zf-9qJc"; e_fb_hostheader="AcLs__D1wUOcmhxZ6OUQx-mtoqkLg6DEcy-cmwU9jgN4hNzou-GA4PPzu4NT8wfw8xcK7MO4xIZkvpAU"; e_fb_vipaddr="AcKRYuqVMujuC40-8DwGvSWlLC8b1rt73_ToY-zGYZymnIRzQBFAC13GnNwflUHYpNpGzdkVaUlR728E6H92gKlx7xV99FLGPw"; e_fb_requesthandler="AcKRZwtZyisamb8G9IXqxl0vMQLmkFkql0FYBk46XrAHY8ovOvjVbIJmcbdI5Pf2eLZyyI9P3zU"; e_fb_builduser="AcIVGxLI9gB_Uq01M10bZLcxOZVT4aSczZxi4pdYqRCE3Qk9O4X1DSyeYmtqk2Moyjw"; e_fb_binaryversion="AcKCkvZLkX8ecMsN-fIVX_7FopmcYG2H541i9To60PKUYbo6HqPX4UwqxVYn6ZavpIlKKtqKYtPxxtcWjMX7tuFilhp7QLTFHcs"; e_proxy="AcKTpjuVE0CYnklQKFZlpJ9cq2bQJ6_Iaizx66d5THAj7Kei70q7OMH9px58MOllyJwWrta2ZbxcoqRN3D8", http_request_error; e_clientaddr="AcIdXqJ55C4_tA2I6wa8r3knNUZucUgsOGhUQFd3gSmFNsTehuqIr3bwnj16lo7ptgCpSJSh5nZDDCA7hg"; e_fb_vipport="AcKdjIialtubRRdYB0RXi17tfefH5tR7iIVHSQhY7rA7E_pQc2fpPvP7J1B1"; e_upip="AcJtu8H0q_5bJsXDMF0W7b5__Muxu22pZL_5A7-YeYkODgMewhFkPkgK4_qoLA9ULz0qnQwpt8Si1VcHYe0d6h8vRopwWbtJJw"; e_fb_hostheader="AcJZtMbG1yxzQhEAPdbcENkjAhHrcfnA3QAMQJGs07nhu5SsMhWffWPN_CdJW3zafNr3sCQBXg8_6GtZ"; e_fb_vipaddr="AcL7txj3Mib23hxTJMMli7JuhMwE6mWhr9HXC_PKtcpI3DpaL2bgOndnt00U47GACpo7-2PHhw"; e_fb_requesthandler="AcI58V0MWYNO-UhpjWoj_urS0hSSSGB1laM_O41ciVZL9gw49UWFiAbf0IAKGiqrk6VC--LpjSo"; e_fb_builduser="AcKC6WplMiurWAaPA7rqygHd5npATF2Di6Inxk4sJCYV6TI-w4XWk4GUXLijWEOEiq8"; e_fb_binaryversion="AcIUETHxJ-2ScldnXYFsqYbl_b963n0mOClRwDPSRoMmFTa0qzvCvq8VjhjpG30L4XwnQ83QHoPSGpQIM7yJC_jEXrQrmzZrAZw"; e_proxy="AcJQsOERHklFsJ70gTJ0qFibPmu87nDjZYZA3Zk-P-OYhqwLfkI5LDvIY6XyrDNUMfu0skhlOwuEmf8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7811645018850956"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:04:40: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6822144987887459?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3586639, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6822144987887459?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6822144987887459?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6822144987887459?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6822144987887459?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Arhu5g_1hFN4ZIpumx0yXxs', 'x-fb-trace-id': 'BceDX4vnUGK', 'x-fb-rev': '1011371745', 'x-fb-debug': 'jklrgC+rBcoHcEJQqjWDyxgy2xtWco9R2tt+JBqScqxCQWwRFyCHedjhYkoR/4NyQfRxS1MKxipV21GksqSW8w==', date: 'Tue, 13 Feb 2024 00:04:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIHarxBCuG8KrAA5YbkzgZCgBLa8BA-xRJtnrs71GlM_IrpiWDcf4rynPmdlQe6DmYz39I6QI3FLFEqRlfo1G3bonYhtyfEFmru0KVtqEpIaQ"; e_fb_vipport="AcLHnSKuG-vdEVVEJPOjlym6GAsj7b5w8toHnmm7nVMOQF2iB0uiNCGf8sR5"; e_upip="AcKKqnOcclV6oSJe77NSvhXtgFH5hwZHOmgyinu6hsKI5pO4t-cqrKGW1IKO11zwVrQOlcxiz5HXW7BaV9dexLbNTdptaWiKSts"; e_fb_hostheader="AcILPFaeLfW0v1IVVzLWFp2hi_3wBEN_SAzD9meliwGb0w9xv0tNnkYk-b2GZK5vj0EY1UEeib8zZslO"; e_fb_vipaddr="AcK5D3OrOUQWuRWCTVexdRMVY005tHD3lg7p8qQFwFyXKYmrXnXNck704qeiK0R9umNdDXNdCLPVRYINxiU70cr2fsU47fFr7g"; e_fb_requesthandler="AcL_Q35EKy4mcfWRdJk8-zclAjxWl1XkRdzLYDEgu-SU5AMXA0nRy7AUfZra68DgQ7G7SWaFV7o"; e_fb_builduser="AcIjAnNplLiKwL7b5DaSBrKtLZUT12Yd0MNSODVug90wBbO-whMhfINtDZSb9eQ61EY"; e_fb_binaryversion="AcKs6zZJ1z973TaLnVEEyMP1KoV5fHEzqsiyrOkxvVbHevDUtvnNqAu7WAZqpqHO3jxQjXYbnuKRa44ItNftweLvYqPhzH1lCD4"; e_proxy="AcIXGSPIRiIbiWQkxDaN5bzhBj2a3bFKBVFeWE8OYO2RMggCy33iX7vDe_Womb_DNE5YtrAm_aoclbUJzBY", http_request_error; e_clientaddr="AcLy6QPHayTn4Lia-gUkkSk0r8Eg8dIPIsRyvls04qbzpkoDTcNiuIZPjYKLp-dUS2do6KQDnKLdmJB_wA"; e_fb_vipport="AcIzUI1RbppA5BS_-qbU4PWD_MNNmE-jrhGB1FS42VSYeVprCH7XtIjJAZz1"; e_upip="AcKQmkaId9GlnTqAmXS8HMShA2fLBMvAcd-VqCVwhD56q6cJzupvttw-Niiq-E3u4jTvOBpOJcC1APFUv6JgPBQcy8BvEvdacg"; e_fb_hostheader="AcJ1Pa4LkpbapmA0hzMwcZZIMvnPzyHVQ7sD2Hcs1eRiSuFuU_k4shboAiJ-8L7Gqr5fBg-UBH7LF92X"; e_fb_vipaddr="AcICWt6EMWrqy45kkgFOlh-2VQYp2WNXHtblCVpNiNjk45k7o0iRgKjYl5CRdA5PSKb91T45Ew"; e_fb_requesthandler="AcILPSY4Q7bFB_JKDyTojYsWjb6J8XWRxcXdur93E0LZbeEmVO5oZ4Q7JyE7ENC9xhC7FrPEIWY"; e_fb_builduser="AcJvlHtlxA_MRvulTRYoC9229ZIOnVqW6iyyq48XD8b4xj1KYFt6EJHwBnBxdJ9z1Ig"; e_fb_binaryversion="AcIwDUZCYrAf4o6m8K4HS5c4icojLKi4umTZ6k8uz6mJm0snXy8EEyVQa1O_eYbr6p8DsnCwp6V4lCWnQS5kw9tFfLuVytO3z00"; e_proxy="AcJ8TDOzCWQ78xtBVRX55v7sYQLa0BhJnMpQo1bNcf9RuDVjlYntVY2XsoNVlLYbwzlonTQoP32SoMq2"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6822144987887459?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6822144987887459?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6822144987887459?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:04:40: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/13/2024 00:04:40: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/13/2024 00:04:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3586757, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6VpAgSVZnFpaq8tcFbB8E1', 'x-fb-trace-id': 'Gy5fS+BHwje', 'x-fb-rev': '1011371745', 'x-fb-debug': 'sEN+QHxGRjtOY3Ujy5kDtbeiuOfvINJSpySRi1h+N20zZMBYbY+LzL8+kLAYcAd139AunRdf9oynG4lP4aGwxg==', date: 'Tue, 13 Feb 2024 00:04:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIPcCdN2Y-_NzVZMcyt1TkVS2usHBf9pV5qZUHkIahrwKYxv-e-bRymLwqZvf1RV1jy-scnY40jjnQBWAwPSsHdEd1dJ45bDFvYucPQB8N8sw"; e_fb_vipport="AcL4a10mC7Ny-DJ_2dXIRqVpsQ1xQeSu2AHciMsUGg9X1XOD1GK-fEZ6a0RX"; e_upip="AcKsO_Zw6HabdkfGIrSUW2MGDA9S8KNbQgB95PtEsX577sQRLTJ8DMrkBHX0R2vvF6J7SfzoEyzS7I-2JXwyoJa2kbHOiBpP"; e_fb_hostheader="AcKcoPKsbUDSRCWThuSut-XEVQ9QWLHhPfQZnBTKcKKdisD5_elCgjSPW93KB9FdX2nk6YvuJ4hRdquX"; e_fb_vipaddr="AcId7Nqjhaf6A1QvUXZiLZbBgzwDOZLk61wnaqDifFkTi9AkehkrNN5OO7bNthoA5ASQEpXseHDLxUPTN_5iNPWtTGQ_aea7LQ"; e_fb_requesthandler="AcKAwoob8TVRn7OSb71_pOipTgLl7ehQKq1twiCVDtvCjZs7mqa3dvv7b4SfTrF_8X5VI9vS7jI"; e_fb_builduser="AcLNpw8eHaXQcCBQSFt1tjFtB60C_WapsUzhoaWHNSK3ZkWtuMbnpdmMRmue_jsjmK0"; e_fb_binaryversion="AcJSN1xQ9aVyLm0eqw_4pymDEc1F5SsBqwaktoV1rCfgmjHzYo0bnj8vkikMsn5CuG-VJPxFd4DTEGKVo00sRujO_tw3yT8KYQA"; e_proxy="AcIPfLbQpxJrwkh-11e-Fnnrqun_-7OFuLzuBR80i23WEHsDNtGsdpH8LsRS33AOJOBFToI2hec4HwEgixsX", http_request_error; e_clientaddr="AcKr8RUlayk8zBIiOvcouq49xsPn7830PXBrKwj3tenEcZd2PxzwQAZVQQ2chteP0q7tMqXjhnPDRNyZ8w"; e_fb_vipport="AcL55Rbx9rYmwX6FPolflFkZZmpjVonraWo79O3eYpZqA3hnKJVv5R263SVy"; e_upip="AcLnQBY7m7EnutzP1ClU-VNYAJtIQoesCcJ6H5ORxD8oTdfHCX8ni1x-oAOj5ac1wXPM4wCeTEEX-KRvl3qVQt2THc6MRxUjRA"; e_fb_hostheader="AcIy-WJtQqOOE7cCaVFn9ypVPgL8wepfqXX66HZT3GUR9c7MdO0yYcBzd5PbOC3qbzR_HyhQ2v-IalWo"; e_fb_vipaddr="AcK42Dr6NxvGeqcnGClEb9L0IoSbOMP7AczXWgjam8FdLBJCiOCmk9dLXw43pM6suDqq1ryw0Q"; e_fb_requesthandler="AcIDty3lqcZNigItbnt20XDkXBCN1cfpUTwMPDagp22qf9U42oiQWoX_VSeVeQoyHGwZmI4iERw"; e_fb_builduser="AcIncJr3TbQwhr2G7-Jtap0l4RFqd_RUnyhkB0B9WbJ0DY-UqJnrFQC3tR7j5RkFa_Q"; e_fb_binaryversion="AcLgouMSqgPBX1lAlI1RT6xXoOD964IM95PVUXHvTdnAhgtOMU2swhLExz8XzuvKw_8DAr7LkmvKB05xeAKKkY7jyZqfSARNM58"; e_proxy="AcK62c9HHFJ1d5_gWBQfc-1eUUTYTE3yJ59eIBaxQMt8NVdbGcYq_b5HnKYZHZ_omMgD4xvnJIFvzcPj"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:04:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 00:04:43: Error on send one message facebookId => 6822144987887459 02/13/2024 00:04:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AOg1NTT8sBQJPh4V2Tp-73T" } } 02/13/2024 00:04:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/13/2024 00:04:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3586839, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2yh70yniid5woV4B8O9flC', 'x-fb-trace-id': 'DMFJO9orzpT', 'x-fb-rev': '1011371745', 'x-fb-debug': 'qL3wxaGWJbJH1XBDUUxC7kIpsVj2mvVUBoMXEKaoGqU0+p+4TF7AXQC5zcQsbbn5563euyEep/u4eiVJMN6LhQ==', date: 'Tue, 13 Feb 2024 00:04:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIajq_7uPRrKM82Te3902ybaRvzTNGwgnEUnmXL9NQ7gTISD8u-gkASn0L7uGZrHg8KHHR5PoospKTUmgyCWbNHNRIOLNcF605P7jVc73KW"; e_fb_vipport="AcLjciDe__9viWWDqIJTNduqOIiy5QwIP56-2_oMwJX4VahnxaAZrDKjjvP4"; e_upip="AcIReQFWz9wW23dBG6dkI64sdeCBMTrtm4BDcjaNObEBrl-2R37NNqwdiiF_ymupcHotHAElLce6BPR9gNIeKW7B21javIOKIA"; e_fb_hostheader="AcJAwkpdtEOQ5x4zhZJB2G7G2j7V_61z9RIIq50P2nZnIo2LYFuH3OvdWDDPKChjfEskb3iPt0fxNQMV"; e_fb_vipaddr="AcKAoiufmo6VYoJQb4uir1PdnOrh0XboxW7d5fIiX5Y2QAsE3Ym6GXF6dn5icvUMkW_pqoYwStYeCsiCuhsbeSPEm8u2YlQMXQ"; e_fb_requesthandler="AcLG4bhiY4koRC0s-chqFuaT-KZZu2omccF07QNnUpuXmJLR7tdj3hQWzi009w9gYKeB7ugnwl0"; e_fb_builduser="AcI4J95EsoLoWbPKdegswfiyRLCkkyJMRfXjN_UXVUXoLsMUm6YjliOOGEg031nKbEg"; e_fb_binaryversion="AcLMrBl_P_ghXM6Yqzq1NLNfaf53U8u9eT6tLgRq5-j3OEcRsQTviEjYTNR68JZReCjgr9in3_0QosieCA3Mj7-fDU-4d0FLh5s"; e_proxy="AcJn019SJRCqJPrgPHHuydJYY_BV2BcGiwIlHkRUEdWjClsBlR7M8WazT8o5WMqBr5XoKBOD1wEKj4O_BGZr", http_request_error; e_clientaddr="AcLQInjSni5luDW0xyVxhlUxoAULP37hSUropaPtwZuG51_uiGCj-lmBNC3UrMhWwLmOlX4IO5WiBaHRjQ"; e_fb_vipport="AcJrWQ7Sl-6PScn0LsGixNcGdRE4ULopPDWr86FHsjfrpYpM9UAYrHBEcLHQ"; e_upip="AcIwz1j-1V6vemY_wmOdMlxzp7-jb96MPwf_Od2uTeh5n0efOngzvvecmvjdHlNqdO6a_VH-nqhY54sHv7naKDwNza6k-3c3RQ"; e_fb_hostheader="AcIcJYZmOgdMFQtCHsqR9xqLChuVZdW60W0ksop6IIxNgUO8RJp61Wsv8EYa5FdXvSj3yAQlXbMkakKE"; e_fb_vipaddr="AcJaeqDmjfxG34NytNkRVA4l_s9RG4uhrFrM_stUZIBTdmLeQJHnR9ZMzhpkUSfyM2HJzP3tmA"; e_fb_requesthandler="AcLrEv63OOt9M9z-WdC0zd1r3TAEXSUe_M2vK0vEy0au-yHi4qoPbV_Vj3aP-riz-6k8eAGKPy8"; e_fb_builduser="AcIBf2mZIu_k65OrrYzhL9SdyCcLHel9T6fHZmHEgTo2dLebh5RygBTmX56i4l-tMlI"; e_fb_binaryversion="AcLwvk2T6fq6AOMhbRvpNbM3bLNEyGX2-TS8braKUYNjGoOqOvWt8xzWHUnbB-QRrLsxu5ALju0PoybSxEWmItEwp2o5-00lXro"; e_proxy="AcJX4CTio7oK9Rwe3ejkCS2esf-LV0WqnnHFGKrpDbK8SxWuYSWRRnauUPRrwaaakXpWhmcCwR9RPhKL"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:04:45: Error on send one message facebookId => 6822144987887459 02/13/2024 00:04:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABUKCc2jn5zJL3P_xXdCE8u" } } 02/13/2024 00:04:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/13/2024 00:04:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/13/2024 00:04:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3586983, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASWQE87Q6km42KW733yHrVb', 'x-fb-trace-id': 'EkZNuKvHjwB', 'x-fb-rev': '1011371745', 'x-fb-debug': 'UZIAoDNbfILC0ve7vvRx+aRVyvDsyVcN7rJEJ3F7lgnP78pxdY8xiID09bLXOKQTQn3uwxkhRw9BhJeAUYrcVQ==', date: 'Tue, 13 Feb 2024 00:04:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKxHXqtznUKKZG6Uz2EGcXXnRBg_Eu9Vx3KmNNYGJsWhB2QxZhmzQxfL5-ojIW7frGCzDpV6horhE5TFgkSp6iWyvojsz44xsr38GfKQ3oOmA"; e_fb_vipport="AcIpD4sHFt9acy4EGOSSwKe9qAiMH5S4tJVbWJdsdAdWVC1TgqOU8m2uip1g"; e_upip="AcKLEpuOIUVbT_P3l-Pk0-g_FWb9sxOxVhlbKHM0E78PWPO5dm-luWsRx7Rpd056r0aKwsy3j7InhUdbQ7gnXvi6-QMsWUIYMp0"; e_fb_hostheader="AcI327Ev5LCtqNCjrYuiR8Fl_feGhmxKv2SHg1GIIVRkOs7XQFskb7Z9IwWjDh0uaB1bVk3HB6DA8Va4"; e_fb_vipaddr="AcKcjLdb47_j_FI8xWWO48nDo61ScIie29HClqUyBllK42cNtLLgq7KUhtlg2WjENaaYRtZCtbKoQ9Pye7eEc3rQGhQ7g9AkGA"; e_fb_requesthandler="AcLkqVpUfQTgMbVcUy1OmDWkbFRoJzQiUUfwGmA-7Q8xVWoVGx245sMJJNPyej-U1bCnlwEwpP0"; e_fb_builduser="AcLCwuDv1EGDoGAqiR1RVFBFbqr9BnkRReSs7ESEmiQz2SlCG1--iFevvtVm4HqiEYk"; e_fb_binaryversion="AcK_CFqF23HIUc46x8RVzxaEsNUfbq9vJ2J6eps-ZHzj2wiuNyEPXVeH4E2B4w1-paZBF9StFnceVwkbDyVpLSsaREx29mIdJTg"; e_proxy="AcLFgFbwTc8pLmiuAAgm_THn7-o2a3Xh7kD3Omz_n2quJ_QkVBfkYn6sUZU_ZYg6SrT0z0aWMaTC7DPmDNmE", http_request_error; e_clientaddr="AcKAOuFKdHBTdoPUKt-PjO84fwDYld3kpTlS1srncjCZjRopNr0p-77cyxamJR760gxKqJ7vSOU7Di8TRg"; e_fb_vipport="AcKdB4Xj9aO6xaCys6iL_p3vl2smDYuZ4eZJV9FxLappAmLIMIAVqrWTzCI1"; e_upip="AcI5uph3oj2myHPcgT3PPILnUudS7wx2dzSg1c1hWRxI_xvwnIADb6aFdFCJdjSpqqEH5LWC-9XZ_lqG01aIAp55v6IBUih54g"; e_fb_hostheader="AcI7F-Gc2UwhGYGxheJmNUYAZk7SOMctinD1hpvFGz7_bh7TGSpTlrHn5aX_MVPcWC3yk7k0AfYQ21Vh"; e_fb_vipaddr="AcKWXqvjauqrMBxnjCyEPcjLbArqr2QTxIebgaMefeFQ9v3l54cuX3eobEL6SrnreHlZKrZ8Vg"; e_fb_requesthandler="AcLbbMMGvp705w59pyuz9X-yeO2Lvos89MfTZvLQ5_DucATlKq-01vGByFOWLoIQZyurDdAN85o"; e_fb_builduser="AcIihTP6whgDb5lAzLJs03psUCPx57YvaQWxv66Qg3LMI9UgNsqcSlFFppKo_H4J10o"; e_fb_binaryversion="AcJ5JOdu-vG_e9YJkKqj_aGd1WfOpDF7vClEtISDCaK-9IygdOaFjsTrQr94SKqswGGv6UcGMJLUBteC6kemdP8f-egRyAwwN1Y"; e_proxy="AcKhB7jIdy-XV9nhtKfNiQHXXJQ4Y8kKjwEWf03MJo48WERDzQahJ8YeUDuIgDEgenbZrVu6bRmSJLM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:04:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 00:04:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3587189, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ac1lVw9LEMbyXYE0kYeTiMk', 'x-fb-trace-id': 'BkBotezznkX', 'x-fb-rev': '1011371745', 'x-fb-debug': 'Jj6W0OH6pBvoK6amAusK/gFfmDphyJwHYIaQLBoNDSStvyL4DwdeUdYF/+oBG/SkMl6Gxhd+CI2QKmiL5JOhIw==', date: 'Tue, 13 Feb 2024 00:05:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJJbgljVqTrCgUcOZm76v9JUE-iJEIjHHaXCiWdZ9DBsDaf9y6IXCoKS5FP6s2x3y4qD-k3CND7npvYnQ3oFxkHfLAls4nUiVcGgd9avJfU0Q"; e_fb_vipport="AcJjMWAch3bVdCmN4GohGAnkbk6UYE95UDQZsQ2ThcYr7A1EA61MkRvVMoj5"; e_upip="AcIQ0iSw2WKfrm7n9al0vLna5Kt9lVoBGWb7g580hbhETwGXI0SK0OTTwAGhQfRYldXeb0Dg1MfUGuHeenje1higk6yWJcdFwQ"; e_fb_hostheader="AcIXtGr0lk7SSrVbuKvieh6XOyd4tftKX0kHJgfxrEvWh04JaGz-Zan4DPdhF5Dos9JqTjNDzH2l2pAt"; e_fb_vipaddr="AcJBZJWbdDaDk0Ua9SStyYcHfatNDhwlvpuhNsP-KPbRot81Hmcf69FGx4JycCxXPV4fzjYI9AHCGAU4U6_gozcaji1JTcEK1g"; e_fb_requesthandler="AcIRIiVeZIwDp-rkiBXoOYBlfxh9mhEGQVkp2iMui9wqVVXjZaPcTIDLEvMAYmX4JJgpbpAApq0"; e_fb_builduser="AcIczLV3efUB9lV4VLXoLIpW5CTkh6uzlSCRSnwxUZEl5dkRKflRcOVlN3OnEJ59mXM"; e_fb_binaryversion="AcJRYoQtPEtPid9GGciAJ9FLf-I1McUaMZRUncdFVFs6THxZDVWOSxBEfBQnditV9Bl5448nfcECvbqA9SdZzMj6ivggW2-jlOc"; e_proxy="AcK2eBCUM9ZHw0MzFcgfTpGHNHLd2h1QqNyqSI3zfWFZoSLpYbw_Jl25aelyez4iS4DcrvXSAA2C2n0m9oH3", http_request_error; e_clientaddr="AcIEaOC7x6nlQEm0DtA_9o40WgT26lMOWGUMBPgWId8Y0Wc9ikpLUkWUCZ4YwtJX8vm5Q9PaZBGglPEiiw"; e_fb_vipport="AcIpINdOhmShps7a-XmueSj3BLejeH3eO97fWpBSN9r_U_t8KaTzyIfjM4vp"; e_upip="AcJFhZIAM6fg8cxYWZmE9ZOm5mqJJk9c_Gn3pwY530GtXt3G2d4RNLWhtgZQvvRNgtoy4bfk11obAY4-2atYqJnMG4hWd4D2ew"; e_fb_hostheader="AcJetg9pSIWe17lCdfi0jHw4q_HcTWtkHr4qiNrCbMEzUon-GOXl4kBb0PHUnMJVomVVzui-urGSV0LB"; e_fb_vipaddr="AcLjLuHWpRH7JzqNxRbrnawcMRNjtnhsNzJLJUmf8IzlpiiyxNtEz9FMoar6fGeAPrPc0RRB4w"; e_fb_requesthandler="AcLsa3nWSg_5DTmCai4Pvw1CnJwPZF5432Kxt8GQhzTOW6A7tXAp3TgpYxXrvJAg3__PYzQhh6Y"; e_fb_builduser="AcJU0pMdpCPprULFbnvWmYcJdXALS2RjhnDLHDByjCDmkXJiJy6dbfnW80PhXCu0eF0"; e_fb_binaryversion="AcL7QN5tggYZyOQOGyQ-kULOI1bQh6IdZvVAWB-GViNmlrzJY-H001eU_hRHQlk5W7MTFJoIWCFAjlBfJHu_F48LdXJLQ1G4J6E"; e_proxy="AcKajrSfEYsH20IqU1kjPShqHMkXiM6I9E7XUmSt-GTZHPqnZUruYFzCJFW0c-MwEPqfydUuW0TC-Fo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:04:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 00:04:59: Error on send one message facebookId => 6822144987887459 02/13/2024 00:04:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7O0AlyWes-p5Bji9Pn2rZG" } } 02/13/2024 00:04:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/13/2024 00:04:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3587326, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Abh_lzw3PhTJZNfJkatCcCn', 'x-fb-trace-id': 'EdZVRf7ecpv', 'x-fb-rev': '1011371745', 'x-fb-debug': 'PYn9rdav80AqYZxolZ2cRPPnD6aPmfy/mhbHJURCza96Uwr1lS4syi2qiq8WlsO0/NLG3pS5tuQ3rK38eM6DHw==', date: 'Tue, 13 Feb 2024 00:05:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI5ISSz_-yGgiiD4b7sqzNzh5TC7Ypu_yXdILK9bR8wRqIFM2vzBeSH62Qz-Yodq3qMZ-OQQhZS8n8aHhB0NX7AGBHQKsBzRnH8xexfivCW"; e_fb_vipport="AcL43N5lu6LN4y-H43vGEAB26uIPH645-vbl_FLQN0bCMYnZU0YXK_3s4fye"; e_upip="AcKg1Q8ZNU3Mb5YYK7cqWf_KoWeiXpepsWgng0KdEoSMeecbZq2Jf-XlLrV4yaBg09ckV4g-zI4-G18nTvWSqE-sYFjg1wKK7hE"; e_fb_hostheader="AcLDaOktEXGZ6ef-GI4-AZUSoPjc-B4kAMoYTCdjfFNBfrnHUJv6TK9vlju8Le--x4dCP97TDRXRznUH"; e_fb_vipaddr="AcLJF_3wTX59Fzmul1BLstPtpfI7IpFZaHwF8WCl22hxrj0vRm1Z3xV3VYl6iZoUycD7tVAY8gZ5gLitO5BPKc_8vfR49Z0i_Q"; e_fb_requesthandler="AcK0XrGrFU40F_YkY5rYhdqObW0HXTBNxWuIXoXWO2oZbEYT8KoQ_LEiJ2kP-FfaKsDIQJQuI7E"; e_fb_builduser="AcK2UMkKWQzDy__RfT7miyqMb7sL2Prd71dpParGVavu4z7CfJj_kX7ikAjcdLD_N_8"; e_fb_binaryversion="AcK1DLemeu3t6PYnLn0LCKgMI5Qhmlp-1j0dYjn9nZCIq6O1WHxNM2h2JSK0PAcs1ksRUbNw-VD63LeXPjgDFmKh8dX1_B01i6w"; e_proxy="AcJ_sz-JGtXWtpr2fdDyZ8jPrjjW_tepwLpbBJR887kbJXMlE17k8wHDYE1PgV2mab1fDbTtJaa3kbqY36mN", http_request_error; e_clientaddr="AcKkB275wA_8uRFY9IN8NvGC9QdB6-ilOI_WeI7fuaUCsClFqRECRFFm60hz2hcRF-Kbb-u7Bfmy5xVVtw"; e_fb_vipport="AcL35Gnv3JyAA4DRDInD3mzUayIXyHYCC7e_2ZLbWSU9PVE1iBkXCWSNHMWo"; e_upip="AcIlkqb9yqeyrI4DWQO026hm8Eh-RnxKveM4USb3XSWoUXmWDOW9_IUOAOekVPeTpzhUsupb55wcySB4FxKzdQCPXnQ1R2l6rQ"; e_fb_hostheader="AcLyjXJnN0a40DP2Q2Yxx5ROeNZq40GgEuop9I2YGRJn0YaBuvKcKMFE_-r372qqvVgUXEkKmzLN8TkC"; e_fb_vipaddr="AcL5yYyMJ_zxzHSeezYh2r6O9xc9WHEN17tbWWKk9G0UibMURUHzRyHI-lbGaFnKAcrlhn8qXg"; e_fb_requesthandler="AcLF9N_vO6fuEYCQ5KpcC0c-tOMO4gmdst15-n9JVl4FA7k1B5qUvok_rEgzH_l7FX_qJ088wmw"; e_fb_builduser="AcJErLIut4Uz_bpfI0VRbGHNHUe3oDh2naxQ-Kn6543XsUbMjFdv5shnEA4Yng3hR3Y"; e_fb_binaryversion="AcL8ZQtOI3I2YAdoXfY69loO3n8w7tyl-gou--r32xbdt6GehJDeRoFPx7qfC5JWjvH2Z1X-hX5n3qMVWZ_n48gmkodTLIwoxr8"; e_proxy="AcKNOABB9YUSlV3pBA3hRrMkum6_vdY7j3Ngj3VWw-H37KAdoWBvFla1GoOy_eiuBSZu389dRPWJ4iI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:05:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 00:05:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 00:05:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3587557, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJsmvUTjB_qHGfoe7F0v0p3', 'x-fb-trace-id': 'Hv09JACen7L', 'x-fb-rev': '1011371745', 'x-fb-debug': 'BueoLY9RwbM2A4v66X5TYIFKb7Xv5oz2xEtlB+zrRCiR3qzNw8GXlJ2eSHWbnqxy6q7KPBiq335Tz1kLmG/v8A==', date: 'Tue, 13 Feb 2024 00:05:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJZOWvrR9SYi6FBgAms7iVIhz1FpTC_hGQzSA586nlgF-GQ84hXnI6O1lknYcsEKGvGbgQtPpx9FRfvBH1iHdu5z_JVXObmZ-o7K3r9eX8r1w"; e_fb_vipport="AcJDTwPgkgC7TZc4Jf9zWzKvvTPYiT3qp2YiHdAsBZ_9nQw5YI-7yhynT4u3"; e_upip="AcKK4s4Nt1DLVExOMwcn9oU3g9TL6g-mtjHkjo1BXOOzUz2FDma--8aPLRn27-fasq5kewFfbYKdHDmLV5nevVQdpOIfKcIaqVc"; e_fb_hostheader="AcIovTbYVxJIFr7A4j1RaUTVcYfoVczCorUikPQEIxM6DvD9YVdKNpbAvnEv2yv4dCdLFALEwFxPkTh1"; e_fb_vipaddr="AcKb6x2o14wO2ISg5RTK2JA7neF8RLuGrNavd4Jbt8Xss5OQR2SRu-lhcfsAuMH5OZNDP83zLUtWwjMo2iERSxiWsqUr0q6_5w"; e_fb_requesthandler="AcJC3X76nAaR4ddzM7qfBLYfJ0uCj7Ru8p7-Y1dnI9be3rg_1TJSHHBC-WrFEuvOUAsAD8mJW-0"; e_fb_builduser="AcJ3ua_zXmlgHJH_jG6Q0hqU5ZVw5v0Hewn1to9wSkWVQDre5EWBlpd3o77aHYFOGpg"; e_fb_binaryversion="AcJwzF59jvYiX0BKkYN_4N-4PHhyVB-HAWsHvCjEdmvkQYR8aygVku-65ygbyV4DD9vUfkVCa6miZg5fm9w8TAySM9UKjF5dXVc"; e_proxy="AcKoZIudoTHk1H0j_V_yNngc0Ypl5q9gC7shXHowgBeIG-KkleSXgoteevgqjMbOHFilTkjjwBhVj5nGafmY", http_request_error; e_clientaddr="AcLzuzEaehx_YdwnTiQUOKQKmniTeAA2gne-Nx6wA81fKOJGfM28051SfBaRHcAbBbHDwuKH-g3u6AMbNg"; e_fb_vipport="AcK4-BmewhtdyyySIV7_A5tJUG6qvdz44yIgLIMhcucaN7gGc3fSFxq1Dsgd"; e_upip="AcI10TcpAGIJcNxsFfRZUf5Ybw9rEuKq0_q8lVBHQr4w0rG_hIygnbC01w5orNO0BM1xERskjNoF7mNsvLQi6YLfUoogB2Bodw"; e_fb_hostheader="AcI47bnj9nRGyPgdznSYqZhrFo0Q469hk0A9DrHMtUdWj5i62ibZ3-IOuxZejClMIqOsd0nKxRTa0MMZ"; e_fb_vipaddr="AcKH08PYWi0nEqXEcDOcVn5-FPyuTr1-ayR77Z7XHSe1Oe3QsJpxxj7wHYLvl-U-Sc-Y55wR4w"; e_fb_requesthandler="AcIMFtmDD47-CmS56Vwk0jIlMn7gvaIU4nQl4t1X5h_LUamE-6m46BF7DT0dVHLVMSh0_bW3vtE"; e_fb_builduser="AcL1BX4a5h9BVJvVSWQUJgOraATECTSu_IG0cFkrCSQYuDtIhwNiOdZ_I4v2ZnnpP8k"; e_fb_binaryversion="AcKZ203y4ShT3cfSoSIAH3Cea519pi7VYpYZh0mBcrYFU5kFlbn9CRJBoBYRGAdOobphgUTgRm8T4Mkh4hQZ32kE9Uth7eZAz8c"; e_proxy="AcKHtGqT438Az1L4lW7E7KYFntrpcGyB97HP5-odTjsyOnOJlD8Mt2G_SJkgTMvDZYsMYGS62Yo16_Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:05:08: Error on send one message facebookId => 6822144987887459 02/13/2024 00:05:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aozb6HPDwCqBa1k-Xfc0Mtb" } } 02/13/2024 00:05:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/13/2024 00:05:10: Error on send one message facebookId => 6822144987887459 02/13/2024 00:05:10: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7xRGx2HnUiv6ImW2gpCUeI" } } 02/13/2024 00:05:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/13/2024 00:05:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3587726, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATxVaFZLeP1-Qqu2-AhO_kO', 'x-fb-trace-id': 'EnelHqIWkP1', 'x-fb-rev': '1011371745', 'x-fb-debug': 'bGR7DE0Ydl6ADVJuqFbS+jbRMxlogqIpLiY8aElgHoLyNNvIheQWxGlXHZUULcv7oe9wNfYNB9FDBz9Z1KPnmw==', date: 'Tue, 13 Feb 2024 00:05:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIT-ZfqD2vOQV_kwBtVk8_X8HBbOpmbqd-lEKtg5v0sYZC0cXRJHHrEv1xVA5nlpLW_27zHbgVEemc9OBa_QNXPyGLr4Yw7k6OT06j3sdTCDg"; e_fb_vipport="AcImO6LO-cHgv7lx546621sUtCbD5qTWR2_tVufVe1Es1ipgmoR5YIbxqON7"; e_upip="AcLUUP5hkSlUDAEpCQikbjFHbIQCAosj7e8ffGJHdMHOAeFJbrIXTxf4xkyampv_1zlmr9DDNmbo3oQYi1mpBhY0-8xRtuCbJw"; e_fb_hostheader="AcIQ93gLpgsUmeSOH3P77DNyg8UmbQWo1xpjUvDnyX1_O-jMGQpafjcHSkz2wYBefqgwJhO28-EOkw8X"; e_fb_vipaddr="AcL4V0uSTvZy8QZ5wHj9OR_UgixBks2spo5S_DkiuMJTVE7jQlxWyolJ63Ku-q-to9pAeQQQMZ447-cH5DTtGBfWH1N9APlCHQ"; e_fb_requesthandler="AcI9KIYKJTw50QK5RTviJNxspCLW3dN0EQ_SQuLrP8Da6Tpi_ybkBxhwPytDKV_H8H-PmYEPUTo"; e_fb_builduser="AcIlqFmWL47LIEZh9twV3xjcygGzibqCNvK-wJlPbJjDZ58erEQ-W0sdwuteMI8tKDM"; e_fb_binaryversion="AcLebfQSdki0gthO5xbwQnuADrkopuN5KTJDaC9XaGJTgtgO-FnhH0IOpFOxhS_xHbMrd7u1RkXqsJkMDO-cBJD6-mTTcYP7-PA"; e_proxy="AcJO8AhvciYGMGoXHC1UACm1am04MSxtweruqvTh_S9orvM4NMAUj1mhUMKwE7klIQsjUSzoAUV1kvs80nhi", http_request_error; e_clientaddr="AcIccqc8Bu6iEV0O_nGX8wDOSLv3xMJzIrTgzIkO1VxL_NvJEo8nZES1gFy0ntiSrbNl3jIRq5l--1IXnA"; e_fb_vipport="AcI4FfVNNJuZZO8sGEMvEzWSc_vEi7sA7yMEbXV04ftqwlZ7Y3DbLKNbW6A4"; e_upip="AcIniUyoCbb3CStW6TLnmzwhT1rdXqlJQQnhoIHfmqGy30rFP467TD5XX6sLKSVKuhn5dQThv2E8I3SIIKnW_G898a5lI8Svyg"; e_fb_hostheader="AcK0PZ16UEZdSI3OJVuT4QMUbRfLQVZqnNdHuoddOyF9kWshc2uXqHdVz3ySF8oL0J4IVlbaK2309_3e"; e_fb_vipaddr="AcLx0lQdtEWuBbKTJXn4U7Zx1LPcWoKWcMUyXQe9Lb4GsvB-ZNlKdIys6mIVsFaiap-jvKeREA"; e_fb_requesthandler="AcLwIJUj0wqMzLAGArFSedZKIgzEXfYj2hiYfraBWvjJCTikHmb3-FBPBN2NXNfzPX04_ry5qQA"; e_fb_builduser="AcL2sKBbA42jJ4v06UZWxqLcGT9qhXKhW3OpnGkdqWLAobFFL_kbSnH1PPmpHmwlEJo"; e_fb_binaryversion="AcIQ8BQ3E0rCkNg7PegIrmXtCcdo5F6gxVVM9dNEkfuDRrqpIuJrM8hxZJqlvWGyU1YuWpHo-XxL3F3C1tZ1-Llqom_aP29p9k0"; e_proxy="AcJp4JRNdvq7W5C0rLrlM8-FBu3oreeEQu-Z_Z8b4fR_iumuhJxmS6WB5XMpnnflI3s8Yhq4Dx90Txg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6822144987887459"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 00:13:07: Error on controller payload Input Treatment=> type not found 02/13/2024 00:13:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/13/2024 12:02:40: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6308530729243590?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3708608, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6308530729243590?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6308530729243590?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6308530729243590?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6308530729243590?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AH9FSJ4SxVB1eKUrg-AmPFK', 'x-fb-trace-id': 'Br5ZydiuzZx', 'x-fb-rev': '1011383819', 'x-fb-debug': '8612I2vr/mb4AQlY817fqD8ebg8NGWEopx32/MNGWDGkOKv+rlspNuBYZ/INlm5sHU+HnfdzsMqJ/Yv4NVxRQg==', date: 'Tue, 13 Feb 2024 12:02:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLAV8G0r91WjTi9yQz9E1HWGC38DWYOZRE7qb4yi4U4Q-JGS8qpkCwQY4pKs92mEMBOIgnAUv74rfFxO-VljW_51RIHgSz47jqKnt4czs8ik9ZsbQ"; e_fb_vipport="AcKmaUgfjpNgqfWJyi8iSVCYHWCvvvpfGDtUrTDpPg4HGkdQGovCbm88dmbi"; e_upip="AcKnFVVZ892Veam6iisfUjJj3fLNSRdDbHPhicU1RkeBS_REKIqec_5GzYI5uuttMcG_uq7TzzSGpEK61cGyxsHOzcNSGCyAnyo"; e_fb_hostheader="AcLmWes5ffXM9oLnYgt_N_hn1chthTkry6QK0tWAVhe0jnWzKcrEqwiRbSr6cwQ0PNZnbJ05---TpXHp"; e_fb_vipaddr="AcIpQgra4dL90WAHkOHmRf7VGCNaTWP9RH7YRqr_AFs6Mv3nsRQVkKjQYm0cbMIN-UlGYHSjdhG-y_AVEwq9r_3yPONakscp_w"; e_fb_requesthandler="AcIcM-L9JfAeP7wbiUNVxBCnVT1umsrpCQNWGAAeLWyY-kYNaGvrmcdrgJdq8kEYv204Y9GU8o0"; e_fb_builduser="AcJXX9Vq-vPpwJXsLcigFKWi2kG2-oYIfToE3gTfRXFY_MkesnOI9vGa9ecbo0rXQ3o"; e_fb_binaryversion="AcLoLv36rT9xaQGdZHcWiaMzkSx2TdH8Fm4bNkkg6JfQAbvmIom45AIEE-SA47mCWBlF9kgK6N2KWoTTK_QFfk4TOfmiLxE7v9c"; e_proxy="AcLcRmeJCX3wfmbHbGqMSA8_VQiHgeg__ACdUJ-08s8qhQOeG6DafUKO4TXH47uMl8lwFhBrtkh8Wwenq8xp", http_request_error; e_clientaddr="AcJX_GLB46n2oWL8vx_5sI6V460sgCzbEPT3iSy_WCLVFvk_HnAx1s6QJYLFCkBBkSD2Kpm4fQMd-R-0bA"; e_fb_vipport="AcK99g1O4t6JmmYf0amtUepKZFKBn6mNSuM8LlX2jWDbVZ9Bi5TVzpLRowwA"; e_upip="AcKwmlo_Xs9K_eDhDOZmwGUnAHamBTCAYcge4kCyQoApN6L_i-utsRlanYJ7LdHn_3lioJR2pK-TL2ZYVPNfYASyuLq7fKKttg"; e_fb_hostheader="AcK9WYVQP8gY848BIgnz-3Gbl_RU4S-ZKylV0WMHdxBrC8kC0lXeYD5mMKDscdm75Y56duB1m8KVTaKu"; e_fb_vipaddr="AcLF31gj8vRJ4qnAH5yTxpwpn58f6BoV-Zu75rszjs1m4iqBsLxX_bwHfIbjTrtVJla_tXNHJw"; e_fb_requesthandler="AcJoRtHTcqQ_xwfnhY8OVnOI0ur51y6p2qbvfFlD5ZsI_Ixb7ybHir8hAWB-hPH8cZxfJvvdsoU"; e_fb_builduser="AcJ_HrJYlBcQvLmBu6nTJvEIT4_Ub1sqPElyLFPLSyQjoGZKHy8vOyVahPnZxJBpKgA"; e_fb_binaryversion="AcIXL5vKzdguBkT1cKcFf5mID4xzShMfjdpGeU0orKZZ5eGW7sNQF0Tn4cGXJ3yG3gw4Kg3oCbBEUVGw7Zr18oy2kewZ6hO6PhE"; e_proxy="AcKSHO0ZAlb-EX1AAu_eXhzasnD-bTxpLlWaN6PRM7aNLxlGxtYTrpWjSVnusLE4CelyPy_TqTxVh24"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6308530729243590?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6308530729243590?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6308530729243590?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 12:02:40: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/13/2024 12:02:40: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/13/2024 12:02:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3708726, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_rp-dsIa86dxX5COhDNlnB', 'x-fb-trace-id': 'AIoiTuf1z8O', 'x-fb-rev': '1011383819', 'x-fb-debug': '6ibcKa81yarS3Y0nFoWTenD1mhV5AtVnFQlv84PvOnT7YGSdx2lQ/LYtKsTqKLgUdkH76mRevf5XRLcrAkH6AA==', date: 'Tue, 13 Feb 2024 12:02:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLmMIb1wqpirS64kjP2n2dNATDglqUCTzggLLVvrS6i1z4RYnPrkJkyKxJ1RHCC9myEHsgji8LqS2MJfU_Y9xZE4lrCw05DIPJ372-xr_hTxBM4eA"; e_fb_vipport="AcK53yX0gC6cDxHxpqyBO4O3YhiaOOzcdqwUkmH1gOiUoYBgbSVh1Ie3DYKd"; e_upip="AcIbBcmlWmD7-5g55O5HA74DPspsNRVgcK6ocqsJAz8juoSugfjrFXtPLSmppzTBi7dPxAIfwbeKYaZI4j0iemTpt-YTp5Njwzo"; e_fb_hostheader="AcLOWAvTGmHzaqaZYpMRF0Qqpq7udP1DdG4LZhZY7kXcPQIY-RuQUQdDlIbhcXd64nFHe9D3VLjCIkfj"; e_fb_vipaddr="AcIpbhrvBvyiSmyKd93I_Wvabs5ak9lAP9aJPffy0P7-gHsYcNeMDjDWbs31ait7rhqnLLItEmsDcU6wYCi9v67jNDuH6Own-w"; e_fb_requesthandler="AcIxpo0ROHfcQWgC0P14lizwYC6e3DtmkIVwu7m5fQnhnATGUb9dAVhEvDyI_zKN86fx17oB9Co"; e_fb_builduser="AcLfm8emQUhZzmMbxWpAgzCkmmWAIzvzRp5wA4McyyZ1U0_cO0_UKX2rIzwtdAKLudU"; e_fb_binaryversion="AcItPzjWR06-dUT5lyV9eCi7TX0m2jzdq9IZgG7SitiVtodGNmDkoEjNlwaDUtKfN5CRG9CTt-TaLHCRyFvznJMiRcAOT43qEOA"; e_proxy="AcKQJhhe7vjnOOD7-_7I2s2qU7y1IC1L817vKdFwZYPgCleREl313gW9N0DK7ymin3j4fcZL2f2srqbZ0tWN", http_request_error; e_clientaddr="AcLRvjHmSrPRRZgpFXbfejZeMugd10uy8_xOl5NEQ9r6o3J_jNQVQPTEHEv1e7ysXhI2t6DzDhcGzKBBdw"; e_fb_vipport="AcInLbG9WLL6IYDqypxyGqxXqpxUSDM0yTNwjWSvrWKJ00PwGE4Rrp1ERl-k"; e_upip="AcI_ajg1rig4Dx_1WTs01LoqpTOcIg3igk4s3cVY6yy8O1a3hiRBVdhMnjBVYZB3QQGON_13bOrxs_u8iMMXFqH-FJF7h7cZKQ"; e_fb_hostheader="AcLNYtGLTnZJMcI045r6mcuRVsnRxZ2Lx6fFTgdCt6z9X5pFfDmEfxPr9OugIWVfdj2fsxedStR1zEO2"; e_fb_vipaddr="AcJtSACwJZJpIiXRKI0jGqSwxwkKXZqfY9nxE6ES8k6TMvHPlMBOF-coP2_k47zbdu9n_urzog"; e_fb_requesthandler="AcJ72WWWMRLRWqYvQ4dgRR70Hx9Kj2wI5IlQoYmBrE1-d9WJ-bohlMDD1rsHnNnFfEPQOt2J9o8"; e_fb_builduser="AcKMNxepCQGu3W1sueOAWLdj6MDrQ3x_GyI15za54wh-lJW_QLQwEM1QhfoiPOD5ERE"; e_fb_binaryversion="AcKSZGm1ovGfVZxOKNfeJAwN3vgPghXuOzm_yepTJMThzJL40P7IbBTKWsHkj3z9184Z8Xvdz3CKQGubYsUMRtifVJiQdjoANzs"; e_proxy="AcL6L_rAYC5HOLkm6XljuG4DiaoSbAsWSFhWtrlkDNvX-gyKSdTLTJAXpmDAuFbYPIk0lHpBShE7cng"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 12:02:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 12:02:42: Error on send one message facebookId => 6308530729243590 02/13/2024 12:02:42: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A3fxE6EAEK7axU9ROSIQmj_" } } 02/13/2024 12:02:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/13/2024 12:02:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3708814, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmsFIl3UDfxTYMX_8VQEVCv', 'x-fb-trace-id': 'ETw+i86Hw+c', 'x-fb-rev': '1011383819', 'x-fb-debug': 'DQEGQHBateib+cK2KHgk1lKeZMeNGtkTRhiklG4YcpqSrp7n8p5WEnqpbIDw20d21pOKy93BEzlbt6khSADpFA==', date: 'Tue, 13 Feb 2024 12:02:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIwXVNTYjYBJQsVIedrwbjoMarYL4gNR1Wu7ffrkDvgAU-oojXAJJNPf5uXT7aMos1Pwmhqr64atCo5b0rf88SoSIpeJWkLFIDZGPk96XI80Dyrlg"; e_fb_vipport="AcJFrzxESf-AdwDpq_F-mpmzMrok5vyWuz32Tn1OmVfpyXiNqX0AVFelGOR1"; e_upip="AcJTIonjHJzuALpOY-J23jxXYFQNdAA8vDNvZDBlZDLjc4daPQgagOkkeEn0AYBqB-Ql8jny-rApE3vKSiXgFntfkPn3aAOwdRY"; e_fb_hostheader="AcI2HPh2qNFp7jKWuwhACN46VOfLJts97XwfkFUO0OMOfWw17Tex6QfOb9q-ahWhA0yjMUYfz6Kl-NRx"; e_fb_vipaddr="AcI32CZ3FSGYs9KLvfNyO2KzIYs_BgO7OiMOjip_yzBjuEGSe01dOa59ZlxHAJ8xaffIp8HRAF_BeGOrqWwvl2tk6mjtl_-XVA"; e_fb_requesthandler="AcIUDeQBMvXPErFHrR4UEmkUhm3EGQIKF9j7hfBHXI4RgAe3cwUbSe1vOxF3PuQ0AsGbn_JkiKo"; e_fb_builduser="AcJeD9ghh7tl2J6uG3oYStofpUsyyT3YjgtOxsNpyqcaql3M8ubg-QyVOKsf0o8sJJ0"; e_fb_binaryversion="AcLPW3nCvdd5oGoWPtPcFBPKlEaZvcmSGxhGr6z27TFx8QNYxoFqLVJKs7xoiC3BG3dvdEfGrcUTtK0JzbKQIReWo4SAPZfLPoc"; e_proxy="AcKGxPm-dsBQMNPJDF-JyHud8f5Ks_TTXiERDOk3oBGcsj-d_kotsDgE6ry4PtTq7Sxw5K6C3WRUeKKgxGz7", http_request_error; e_clientaddr="AcLFm85zbMVaIzNgvWGXvtyW-U0BfWxFnb4ga9-zGTFrhwmR_IzjwDjq0eGKOalsdvw6IMVX3fRq03ZGfg"; e_fb_vipport="AcL4WTTOm1xRAwh4G3iWqfE3seZDsYsTZR9a-Gkf1MW3rXWa-aTvUGaf15df"; e_upip="AcJnn71KAhz6G0IBwdIrTKE7U_ifXUv10_FncRceyJhkQt0U8qyK7obCZuq3CiP0RBb-NO6k044mXEtkk_gJ5jz7QvsIwLgzjA"; e_fb_hostheader="AcJXI43cjxNedbatPSa_eaeIalS7uGD7mNnK-FHxSDLnhHpSvtjWXKs7Yx7z9unDwLTqRWpWSdDvaYUF"; e_fb_vipaddr="AcKlF-jo6aNMzqCNzOelawZKu4WyNuc8AsQvOo3c7kNDRzorYo290SkoWSJ86Cg9jPyMNE-5rg"; e_fb_requesthandler="AcKTZ6hP5-dt-06E0p3CXFy8n7VMAEEvIr4Dc7q1jA8NVXFEZxNkXmQNy0FrJ6secnfeBtxwj1g"; e_fb_builduser="AcJAAqeWOAZ-dWeDbOEwA5BGeXcOG2e9g8D10PUwz55Dj2Ywf-qypyGJ-oFlgYpe--8"; e_fb_binaryversion="AcI4hdiDsM3fa7mqYakgq_c9Kgab1NjoM5XvUdq2wT8mfWJzdEU0kb4n23rVxFFGkp98f8OhxJdPyn0OSMd0Z-BDAMST_ZzbGvg"; e_proxy="AcK0kR1GSUDzN-a3q7gL8A0i_W16mcT9ip_TCVyHqf3sxMMjaYaqTxRz5SuxF4ozSeTr18TwNNuLdwA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 12:02:44: Error on send one message facebookId => 6308530729243590 02/13/2024 12:02:44: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AR7oPRsVhgRgSHbpr6g015p" } } 02/13/2024 12:02:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/13/2024 12:02:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/13/2024 12:02:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3708953, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKKHfXh7NheEpBdhCiI3j7Q', 'x-fb-trace-id': 'EWT1ZIeSReY', 'x-fb-rev': '1011383819', 'x-fb-debug': 'vu6XTWLfKy0Ih7sURr1wcHohZAbIQF6kBD7ekXGz85exYh80+sGJymVUm42bb9Un0jjvOUPhiQKXb0wIhgnhvQ==', date: 'Tue, 13 Feb 2024 12:02:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIjqdqdadifanAQ13fGcExxaA4n7DW7O0_NZHE9e0EXKzvb_TjshutoJvl_skLii9TfKZuSeBV_l2AvkofPugdIBCrlU_YxJTTA7ANxyd3Gi_dJJA"; e_fb_vipport="AcLZAWcFTgT54LCy_yRk4u9CkWbSbQ9bXKYdC5yqBqGMxK6aYaS6HKRG3JfI"; e_upip="AcLc8Q_N3BkULQCLJlTfUGtCo9WJlIflQDfDIADTcKn2QxTIWZoOVtWg44qJMyMJszugYXEO-uCMlNTenY4NbZo3uKOcnBCgZIo"; e_fb_hostheader="AcJBwcwjqfO8exMX4baBE1NjbRFNtuTHx8XffKatOaxcoBZxkAh6ROykMu--UtwWn0ljzEIwiqwSK1ef"; e_fb_vipaddr="AcLaEV5-r6RypN46_yEKjfZHCKoleJoTpWI-VpVRvOHVWvXZIpMhTCCEaW7kuGFjPWg3cY6vjYINreXPxs0AW964PahSWoXGUw"; e_fb_requesthandler="AcJCcGUea290RPufg3eRfoinpyAiu6R0mpyBYOfU4By3xYm7czsKq26rwXBncRMLqdmoz8nk5jk"; e_fb_builduser="AcI-G8cQmGIwfy42Fp26RzbPmR8kY--s76ajfbLp4nqmEagXU1-KrKXRaazYaiwhSvw"; e_fb_binaryversion="AcIqzTn71pGH6GLB2o-o8ovSwB1sbO_2lnvfrXwEuyZD86LUAGYFBdri2yrPj0n-BFyn96pBk7i0b3R4tWWPm4uIOgebfYQvnZw"; e_proxy="AcKytwukC3jf4gG2U3sSyN6pmn8rrGraQiKlL20sqIV906hvUn1dZqE6MLxp0PD5s2U4ogVP4EF295wguY5x", http_request_error; e_clientaddr="AcLIj6rX53KU06T75e5FqBSjC3N3eyfDcnDnaPozzRAkmydPGKo-ykLXnDBDmEV5_zkbz0dCw9EH6V8rng"; e_fb_vipport="AcJfDeyIyS19YXvdlvP4mqjjSmhC6GL8WIakL3PSaF5ICdzyy3SnUVqjHGfh"; e_upip="AcLbdEB4DKpiIJS9gACif0kg3cGs1h84ziEHb4qBY-KwandMMJyz-CjC8j1TjOSJ1lMqwcWvAPW2eYvnL44KC-Cb30Gzwm25JA"; e_fb_hostheader="AcKr-8nrkpmsllCLQdZ3Y5hvEJ6w3SgKzGcCMxHHOABt9ZwylVWdbqXemBR1jrIA-Rwd5NxsSRBU7oQB"; e_fb_vipaddr="AcKxCYFhXd2QGVQWjW6s93Q2q1c_KSb0l8m5qYLYZfpraQT3xO872OAsXrwHbXor3PqaYOEHjw"; e_fb_requesthandler="AcI_dUMls1N3fFuoNCyzuE3BlTI_EXnJpVrcNrlwb-BOda1hd22asZe5IaFBvFhCGgcU-nRnE1c"; e_fb_builduser="AcJmIqI5Kc_w8C44nOwXcMHk7lAve-D3Y0U_W0qkeNJq_TXuAEsjcvWmBYBxfFCz2lY"; e_fb_binaryversion="AcKUEPLOVgHyqvaB72E1_ALyXdPWUW_cr-TfmVBanIgnSk02H9C_safPgk5eMhfAFXDKm0a2hh_4EDgvGjK0CubRYqWj0zd6W34"; e_proxy="AcKOhj5sgnMMq3T86WVgeZ-lhiOoF5BVPqPmfG-JZAODvB0G3rRNBwFwViw5d953JTUziKYa6tkTimg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 12:02:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 12:02:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3709151, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMrdcI_IKPdBXUDjmcWm6Ir', 'x-fb-trace-id': 'HyTAVaKCJni', 'x-fb-rev': '1011383819', 'x-fb-debug': 'L+vkpqm8M6zJYPCMixrURPxSQEHFdtl03JWsaFgGWSA9rKAnaJxJ3RNWVUXga22kPAK1aKeSwPRX5irz7gkcAA==', date: 'Tue, 13 Feb 2024 12:02:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJGo8Sj-pVxPNEZVtJtRUe7zu5_TacTx-CRHxu4rewDpTFgN5BYVcz3Q5UvV4PMn3F4USuKVPKX81HQvIdwf_IapjP4Sm04AKrkITgVqo9ur3-FlQ"; e_fb_vipport="AcLFUqRf2mGkkjYGChTa5cyvpLv_sBDgTcSu8uKrKDH06vEpXNin_dupX-KD"; e_upip="AcLDhNdTsWF3IFK3DIsocyqNU6kOpfrvlPpsI1D5PkEPSWyk3t0VF5dZrSJeCNL9T6L3Cn_tthfQ3LythDUnIsCizJP3vPxbUiU"; e_fb_hostheader="AcIsQ8m7mvqAMi031E09xJamwA4g7m61qfKvWvdIKQB2OWZkyqUIB7u2r_usQ7YMF-tEEmkP1607jyDS"; e_fb_vipaddr="AcJRhCWM3UFDqcspXRQS0H37f51j2PSroy6IbGJmJst5SU8AYLT2iaSzQY7luxKte0JxzzhWIIfZH3L8TfFU30SAx4u3nUjT1w"; e_fb_requesthandler="AcLXSi0cBXlZgQoB97wU0DnA9A6iPSO26yKjcv3spDaFKO28Th3DfLUMH_dyOuEo4sXGyGkme3Y"; e_fb_builduser="AcIp0qcuAiIlxFTv8NUkW2oB8OrHRy0MnXyA-4NMSLzwERaxYCbC2s4Kf0we2fR5hYA"; e_fb_binaryversion="AcJ852K0BXxRhyad9RktfGrio9AUlMmAeBInwKcC93lCMTwLlAIqDieekPUNMtkzWQgi1XyHMso3xHTvSdpnQ7ncCDM4zuZ2l5Y"; e_proxy="AcJBdP1YZZp8fmxqH-2OfRglCZk4MdU4blRtg_i98xSyDEhRQm5hZGD3KF1oGb2vK8Wr993pZL8pqZEAEC4w", http_request_error; e_clientaddr="AcIJHoNKjTgb9Z8KODgzM1WWHsHaPkIm6Gqy7OlsE7qbsIuogT4r7z1iyIiq6lNvc74y1PADgCj7gaCdRA"; e_fb_vipport="AcIfQvIUoiEkvrxb-12zTowkwLJTOmp_MuI0ohONX-JvRh2Hzs22yM976HkT"; e_upip="AcI9tIDGzjKAZJoH9xWh_DGZW5gfLjuPZxHwcrP9cvPi-DNmpSK5iwQAvkb6NZSw6VHILFdXRycD8NCqWP5IMQnazaieZ-FyDw"; e_fb_hostheader="AcJPwYtVlqA3a2DoyiwFp-4AjZbnf4GLtZ_S9qShlepDnwt9wMhR02vt5XjILp9-b1TKrjk1SXxteWKE"; e_fb_vipaddr="AcLvJAjTq0XOLZmiNMGiQrWcOmyO7UFL1riTYc5q0sb7wf2Aq5du-QG10d-zARpbmwNvge1WXA"; e_fb_requesthandler="AcLhy_RdFpldXHYNnUQoiKboxlIaLOrEWrdxHqCar9cTZ2MCuIed5hGJfE-ao_ezE-XpEDk2Lco"; e_fb_builduser="AcKdRiCzJexxt_OyggNT9ERZxI4TU3-TZLq6qdwbOkbyLQUfP49LMrY_0TLZMkbnStQ"; e_fb_binaryversion="AcLo23T7-9MHlQudMAD5vLgAJA8Y1FrRx3aSSiXXUYBMboptDa58AQbIk4etbfIkldM-naf_CbUohRFMzEvM_BvBa7qbc1p-EmM"; e_proxy="AcL0zBG8501mFa5euF8sgtp-xF4H_HfqAKxCuLahgFwJ5xsMa4VjqTHdcTcSgDprTux4beNmXq-7Qn8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 12:02:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 12:02:56: Error on send one message facebookId => 6308530729243590 02/13/2024 12:02:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A8oLuO4AMjUsdWiZLAjMKNm" } } 02/13/2024 12:02:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/13/2024 12:02:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3709290, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APeb_R7hcflRfjXjw3tcvgN', 'x-fb-trace-id': 'C6SrkZeaRr2', 'x-fb-rev': '1011383819', 'x-fb-debug': 'AVzsit1ynSMWgZtd3qgNQe31Uv1GNHAqYXTy+Oe3ySdFR/qVpAnTT6zMYdlYobFfQa57/lFWHv8Y8ftAA7YILg==', date: 'Tue, 13 Feb 2024 12:02:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIgTZ-cPabKxo-swuqPbsgr-azCUdzo4_6kn2exRinZnCexpnKWZP8QeTnI3_40QvaKkjKV7iqFNiGsn5tZh4iFQyyLbU0J4oSm3suEbQOKhsrf9g"; e_fb_vipport="AcJi8GGyHSS-b3roygTo3y-Q-g7wx8dFwduRWtlWy18zaCXtaAVf2BIZJY_X"; e_upip="AcK-QPBmu7OHlt9QV1xbLrtI9x62b9xBGsW9mIBWY7eaIRZCJ1ulCvrx1K6gFingW6DauE5uD1hn6wWtR9huFdRS7L7B1nK9rQ"; e_fb_hostheader="AcIgwOzp0WgW72PJToe2DgMGoBaC0BYBxt-3Jge5ecYEhjMEOCEhM8X6-RIUij6AdmnpI7eDJsYNTygt"; e_fb_vipaddr="AcJmsrrZonloEZQv6s-6zwpeNVkgt5_03iayQrspEeBRUUKuIOLxfN7bwAA-8K-WWgn-c5UZZzjmMLl39RFSaQlcP6Bb2yZGkg"; e_fb_requesthandler="AcJ6cdAvZolsq6U_h17N74ij2LrOGRowUpg7PN2bNEfIafrDE-yD9sRychk_IC8VTMyh3aldkzI"; e_fb_builduser="AcJvCqr7UbDvmlzMp12-1NKEo_cORUIEXz237jtqp1fhKyAWcnSQIEccQ38v2J52Un8"; e_fb_binaryversion="AcKcBIZ6YkbvMih4JlTaqiEAdDrfmRQMSsO-rZdwLRgQWeenlPHY1tEtQaLyIvl6YUezHXKwuKdK8YNq1KnvW8R4BWYhFFqJQH4"; e_proxy="AcJ8FmviwsPyt-VbVtt17of0_TE3DIqfbSI4Vhsm6nXcS-ZlP76ry_YR0xhW0b-8-iNobfb8N8TYfb3SAmbw", http_request_error; e_clientaddr="AcLRbLCbNIoKV12XveMooqgaC2zN4z65gDQkp02gXeCzQeZzkyiYh0Y9RZOmMSlneVbvvVi7QBx_IsaeVQ"; e_fb_vipport="AcIyg__j7lZ-jyHaU9dlZNFnLYz76m5nFCxqO2J2dp5r47MTVV8yZEVIdJPq"; e_upip="AcKgpIh9t1kEPyBZ17svdjqs0uYbOtD9tosbVHnNOADWJuwk0IMiLBfjRBNLeRhRdrLZs9WgX2DLV92w8yXaM56x_6uZW-jzOw"; e_fb_hostheader="AcItWS1yww9tA4LUz5bJ5kHL3CYLDXoDp6CY8LCtjv5IKH-rkP6wmb07I_splv_tNgR9coT4M8OnD6bA"; e_fb_vipaddr="AcL4ctF4b1Whu8uQ32dmsc19hh0l3oPSHWNM6T-Mm0-ICgZvo8vwhwFeyUGKBlAcLE8t98mkSA"; e_fb_requesthandler="AcKY9f1ltMz-43SEjqNjN5szd6coNIPbRPtzPWnk6WNnFs74W_u_jG5Wq4xW9bwH_wMtu1e0Wzo"; e_fb_builduser="AcKqHa5tilhCGfVK-tIZEy72XAkKZqSxGhmDpNKwEaGVqL1ZHrj2rsOuPBC6qG1Fds4"; e_fb_binaryversion="AcLEU1y8IKx5avYL--ic1FjP5vPUkJ2QqMT70cutyBgv8b9VP-TYs5tFnYqryxGhbcYNcYfHWoTVKrExph9cDa-ra59kYHkazeg"; e_proxy="AcKDS93_LBXtQ0RTsu2B-DTqU2CjYFeoUVF-x75LePutF-U7pxe4ShwIrKtrrU_f3PoF_BWkIfke5VY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6308530729243590"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/13/2024 13:41:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 13:41:56: Error on send one message facebookId => 7321023134601339 02/13/2024 13:41:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2VZUXKyrJ0t-8pgJp1ucs-" } } 02/13/2024 13:41:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 13:41:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/13/2024 13:41:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/13/2024 15:25:43: Request bot not found: { id: '144313565649530' } 02/13/2024 20:56:09: Request bot not found: { id: '1852395741674621' } 02/13/2024 20:56:46: Request bot not found: { id: '1852395741674621' } 02/14/2024 00:19:58: Error on controller payload Input Treatment=> type not found 02/14/2024 00:19:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 00:20:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 00:20:17: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6827627217348086?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3834059, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6827627217348086?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6827627217348086?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6827627217348086?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6827627217348086?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJThoYXFs5v8TsaqrBsxwo6', 'x-fb-trace-id': 'CUxRsBSSc1o', 'x-fb-rev': '1011397866', 'x-fb-debug': 'A7yUZwIVbn1yRI6ejTAP966lAU3dmSN2hvBzc4bezGyv3xFaqW7fl6fN1mbuEYnk0j/OMBPVTwtycmxHHjV/BA==', date: 'Wed, 14 Feb 2024 00:20:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL7KY1fw97QFAHbZxkURBGl1qNNyJFz2Zm6czzrZJRiR3kT6HkGeXnbp4k0XbdPEyx_XVlicXrFpejkXVPwUkkN_pJXuWaCgdGvo57eyLVeOg"; e_fb_vipport="AcIaAfCEjauSVaZZ2ASYXyDMAL1MPmrSyZ4ItI1ECg-RAtiQsafQ3D9J8dwS"; e_upip="AcIhqM6GwKrRrTb_iE1INFHa-jhOdwezYqMFNXj8Dwm_4Kq84aw582pN97JPXW0qZBWa6XLGI0x2AVxJNYQKfNnxUS09KYrAqK4"; e_fb_hostheader="AcIu_WakihKuLcldmU_xcXe9cptgPZrS6t8ulu95FDXu37zgpFKZ5VOwjWY4tFKCVbihpK6dSOAy8oEw"; e_fb_vipaddr="AcJFho4BuPZrMby-L2zpAEHqVyymEKeQIjE90M3oBJo4sq5_8mfh0mAy-eqn8hjCnnJt0o-_uhC9Xq2hDjtHTE_inaJ0Qk3owQ"; e_fb_requesthandler="AcL3Uhi1qv6K1w45NoopAU4eQt9ekIhlUbODstCTZYLs45Ep73mDegeVVRJcaSjIZVcGjWXp08c"; e_fb_builduser="AcLBO_tGd7uMBJ_GMUgyIeaq0ieKYYOggy0wlOh59_GbDUaS8eHM7vja_k-Ed5KC9So"; e_fb_binaryversion="AcJjMXaylz4SKavXJdkEiaiASCMXPKaPSaq21u9uFyISI2ADwDhS0FtLC5HWgjZp-CAPh7LIPMWs6mu7eLhf2jmwgietEU2AeV0"; e_proxy="AcKlEzV1mULrsESCB4hNXO4v2JykAkOBJpH3KKlmXVKbdwj1osTuupCB9Wn8hIsPkQnNOep4BAX36Us1kAEt", http_request_error; e_clientaddr="AcK6h_A6tIm29rzcMxFsbk_kfZehUoQy-K3ulL-bmIgkZctrWecRX8XLUjZwy8nd1MMMlC3If_0B2IrHHg"; e_fb_vipport="AcLGLWNDfRZ57fDiKDLIXFCecM32so3FacHGe-l8Jr3rTR8DzYVFPQRewnxZ"; e_upip="AcJr_YsppMga-tl9gCb4TbBuOIF9fcYkDGWMH0Z-0YkQqgkSIf6WB5Q8fAlFwyWorT6U9p6ZXebp8Dd873UEmgtFmaId2AkmfA"; e_fb_hostheader="AcJf0eAzK7ty-7yLi4TMm1BCZjFaDfuTVQ2bZYA9p6SQEmg4Vux-gubCp_VExrKRxeUsYOgMpn_QXzIH"; e_fb_vipaddr="AcK9PTjyftNNT0sbhN9FVtRR6DvaozXc-VgYaseK5Nkgb-1TYAl4adWQ1RKkJ7jOLBxbJ2dbkQ"; e_fb_requesthandler="AcLY22a-uQefNFA9gqmNZ4bl-UMut3LC01BYfR3Vc2b38iip9QZZ1csrV3QPOCjVLPnwO690hTs"; e_fb_builduser="AcLRiQQmHiFygm8UmJajU-M2m-7pdumjVcXkMqtuWzA4YJzv_XqaHvhovvAuVnJu9wI"; e_fb_binaryversion="AcLI4mr3V5zS184xZm122ZVgxS40FoEIiCkdAXAD1shczb6_XpDYGZ2AbarJ6IMROY5g6nwGMrNFJQ-l-43QJm4aNIM10AUUClw"; e_proxy="AcJj6Ca5bAR7f-wr9-_cS3tw-lHcxLtyXD84HYrfD6vZ89ef51gOcaExBlFWE6F95cmFZ4_vwhO5_OCb"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6827627217348086?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6827627217348086?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6827627217348086?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 00:20:17: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 00:20:17: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 00:20:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 00:20:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6827627217348086"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3834183, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4p66dggX5e2yV4jfOTFQtc', 'x-fb-trace-id': 'GBiP3fTtIGm', 'x-fb-rev': '1011397866', 'x-fb-debug': 'UEGb9trYEYTb/laykg1OPB/ZGhAtpcAUG0gAV5POHOiwOA3fkOThYKrhxq8ZhLdX/yI21lPcDIKWXtWu9L3ARQ==', date: 'Wed, 14 Feb 2024 00:20:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLBu8xD6vfqHIQ-8acal5aCxOo-6V9EY3GwVB15zwJ4Gbx4-RlI6-JTmfBQo4Nnxq0ej0KcRtdvUpmjuZLYBp0a1mArmHU6avnV7xpsX1EDAw"; e_fb_vipport="AcI8IxJd8I-Ms8EDsMVbB0p-4aNJkTzCZWd5DjSmT6mCy-lq_vMSKNy3q5N2"; e_upip="AcLQk42RUB3PtskMuR-9cKC_LHum3rmf1ZImh2rsDpUYQti-mHkTU25EPoS6GJ5VlKoeIWqPNT8QKVhSG1otDyAAoM_4zVgUNlU"; e_fb_hostheader="AcIiBA4z6SK0O6D5jNxVfzXNJf233memhn2KsPXEH_Yv0KEIKjimtEDajnO-Cg9T1BIqSgit4yPb3VRL"; e_fb_vipaddr="AcJNWFw5NbOR1Od0NsGPYNgwjUJ7oU2r4kIkbT3W0x9TmCdmlNKmhI03fCiLa68-xNF18rPzQDztENdJk6L_eNvdNCZcAhk2eA"; e_fb_requesthandler="AcJQ_GRZ2I5_RatkqofFAx_Iul6LS5HFQkl1Kp-cGoiCbdqZ0uvF4KlqcCKd9KxKalKb84xykIE"; e_fb_builduser="AcLDq_zriptS_YjTQvx9sZNpq1DFMliIOmRqyZdm3KyyWkQnRerN6oudZgpGCUWg3p4"; e_fb_binaryversion="AcJfU6jYhS5U6zah8T5BO3jnhITM3S0NWC75BFYCjWhK4MoU_r5jocHCeoElp1XyHI8Dh7yunyvrNf0QtpVDM-WR_qZK5WbeXdk"; e_proxy="AcL9fPa4mlrdkr-HyD6wBnCBX7v1_ZKjYPy441rlizPGorEbmifTSe5sLkAQVKGBHyFFuGClst4qw8jAYIZe", http_request_error; e_clientaddr="AcL7wCZR1YB2z85tVtxghaoZ1xxeP-Jmp4ObT0mKcVDCkb-OIzHj1k7O30fIgglL_UNYE3bOy7Jk-3dV4A"; e_fb_vipport="AcJPHouuC49Yrbv9Nc7d1FJafNrRsL3RjH7FrX9l2_qUBG0g72uidoACjhj6"; e_upip="AcKqXLx3bDgvDQ85i-ohnySV51JY-wcvh25vyYr6wjjNFFc9bXjNQ-pxZAFx1WRzGUDoAlKt2fNM1L8-T8X7BC33p85H8hE-bA"; e_fb_hostheader="AcJ67pKxkogSKrrg57EX6e-07T_CXgpeQTADHhBMRXseWSeBSSl6iH03N9sTaUapsvibl0_O-BvCbzNg"; e_fb_vipaddr="AcICgi1lD4K1Pj9ItWZyT7PDnzPucAjWBdQBgcX2j_6ztS4Gz6NVnox_96cVjXbAnBbNd2JFLA"; e_fb_requesthandler="AcLeC0VaqN4zugrkSRxndBgmenmZ1DOS5e6s18a1_juRIkv7ZcZSy1AQ36dJClzxYAEihC1OATI"; e_fb_builduser="AcJ1aCItTy_9etmLnv8kTSCEI0J3-Q6QEsn0Lf8nCjcLUIQ_UzEvlIzrjAbUP_ys5pg"; e_fb_binaryversion="AcK7GteaI084q9RUUVBKxMNokJifJuyP-MmxhGLKqkE_MGwhoyrrwBPoeJun9jNZ6YbvBGhtuUyxNkf_acdC8uzefCOOiFOBS6g"; e_proxy="AcKMJJUrnduTArdyw37qaI7u7KI7yJNFpIV8RT0nnJmMurDpAEkGMIqv9gCMMyMnXlf-06pLgKcst7mc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6827627217348086"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 00:20:18: Error on send one message facebookId => 6827627217348086 02/14/2024 00:20:18: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A5gEhWk9Ac_E0MUwCIsJzFS" } } 02/14/2024 00:20:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/14/2024 00:20:18: Error on send one message facebookId => 6827627217348086 02/14/2024 00:20:18: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AeQLGRwIUm6ZsAAG9P_TUlD" } } 02/14/2024 00:20:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 00:20:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6827627217348086"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3834256, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuKhA68N-RurzTmxtyxGv8k', 'x-fb-trace-id': 'E/tPFEMQ/FT', 'x-fb-rev': '1011401579', 'x-fb-debug': 'XGgEXWmzGreriIyK3wXIUjf2sGF5xjSPtzk4ZezcxES6dogXuIG3HkKVOWF646S5jrYUdsSOPi8bGtMcIxrd7w==', date: 'Wed, 14 Feb 2024 00:20:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL2jnGFZr6vhsmsERprTERSfIjXE4nVZsAXQn8w3EDtf5stb9KlDrC4dlVZgy7kaIMkslmlInGEAchy2dv6YgpZgD06ouISpkwssL1x5p0cjA"; e_fb_vipport="AcL7UgX46xilBH-nzHGNVUdUM4gQ50VnR54YScsz18EBhKJYgiIDXgXo1gHJ"; e_upip="AcJKiGN9y9qFN5M6lgw09BuGRrGOgYLYuLeBypLvALn2R4Qu03F5BYHkKk5snrSODEpKpHwxy5ekaTTI58wLOftrZ7S-Naxlzw"; e_fb_hostheader="AcKC5mxKCZwiiHiaWBzlMlpikHFwFrQJCKuP29T13wbWPJlUV6sW4KvCMGFoFo0BEkH-zyMyEf1NyKyH"; e_fb_vipaddr="AcJoYh7GXhrc1tcCPdv16yZqEzli7rShTjPR09vja7hEykCj3jbFzWe0Y1R-xN-P9ULBmuuFuEcwW_LZRGsMY3FcP4FE6xJOag"; e_fb_requesthandler="AcIjddHz2WrdBprMC-slGggOhDxyziFSsfBfx8YGfANfoRv-JZf9wJdnoH4R_Ec9tJkrc59L1us"; e_fb_builduser="AcLjMG6B04qm2w9CXT2bH_WiOegFYvAShqsvKvhmZhRgXa_XJWLfdBRBC2Rvl1O0lJw"; e_fb_binaryversion="AcL5Vi_wNrRQrCTBR0kxoj_5oDrfGDrLreIEkWc0U274mflm8rYZXdzRW67wVB1126ZnTikTTghoOb9sLy_FY9R6mAN3WYKj7h8"; e_proxy="AcIAKTrNxSbuXkSPYQgL-tKJMTY_DpVVpSIBcvtnla41jIScc2HUD4ZNQ6KIY7EHrhJPT6LBFWq_z-HnAme9", http_request_error; e_clientaddr="AcLaQ9pGKfEJ4FT6cAl4Ig9iV5V2E2TWCjC07eqMrf_DieynE5B7faJsCIlI-9BluXQyUiVoU9Al1nllrg"; e_fb_vipport="AcKJEyt4I049CTrENOQBwk9ASRIQBMk3PP6ayPCBus7tK1KzhRBjpR9LkCyW"; e_upip="AcIolUhdaiAx6bWoopkCiAjGt9MRrvMxCds3OVuhFePDFxnuYsWFQMLxRM95StkMO9NA-49w2JB81c4ymJxiQATDg-sfNUouKA"; e_fb_hostheader="AcJpeB0c4odfca4CK61FCnb_JCfT4-kg1GqPV9GCJGL-yyfaZ08fO4TPZupeQXJTL-SFCQ_TffAXlZ5t"; e_fb_vipaddr="AcJ-Xn6oMgg33gbN6iPZrkPJehLDfqg-XjRC3bqxgXPzvxQEiheKgyDN-T8iJGyj1UY7FlfDfQ"; e_fb_requesthandler="AcKuBrRzW_BsggYDEL1vPI-7FYyV6_pdodEt9HceD9MZr6XGRvHaSQXSDy2OMtP8X5innIRP-bc"; e_fb_builduser="AcLbHStMYuk1p8MvJ2u4x9OgZFWI0vV0IpbVsNOCAClvJa4nxVHHUU220G9bvrysjlc"; e_fb_binaryversion="AcKz4UOcIxeZSGfmStCsIQfQzyFrCZkqLDG-EvRPzzfLsbNTf0xc-3BBu7vng1VxmK15Uuxz4gBswQSGczWbF4oa3OwohWo9-u8"; e_proxy="AcL6hAbOE31EBxcHSyi9Cu8HJ5nBnQNhq3jyU8qD95ugfj_w79bP4f-Y50HiJR1NFQv33cia9WFhHFE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6827627217348086"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 00:20:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6827627217348086"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3834362, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHDvGPgPgDhbf94CREYIOTf', 'x-fb-trace-id': 'BIUdkkwoxDI', 'x-fb-rev': '1011401579', 'x-fb-debug': 'FCyyWyP7ydm/SFOrNCt47f6pT7l0Kuu5nwRTO4xYjhLlKcRmVaxJ+zW2u2vTqol9KyalB08JECULwS+lG/rPtw==', date: 'Wed, 14 Feb 2024 00:20:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ4NDehNHhoWB1TF8eQeMLLKFKPZaBcYkelrnfusOsmefT0J3ZUeuv4vAIPewZB59R1c3S-9jVhlXyQt5jMyqK3xqPNP1m9FjKX_40kYmoV"; e_fb_vipport="AcLRMh5s1eTnsMcOpB1hz5zO3KoUUXmORhXhElQ6IGBUnpx8Nq_OPWm__Nf_"; e_upip="AcIfA4AYH664w4FnPxkGjB_Yr_qECvQpbe97Fm5EN6gb-8wNgUj6mh-pd71LHyeeV-8uzGHLCXzMoNpCmUBcB2IaxplcbClLak0"; e_fb_hostheader="AcK3-jCtbmjRfeq13tKji8_A0cPxGAgXebzfu682iE_YMf7fe1lKoxpd77eL7yj9Yxj5GOs79i0M3Y4a"; e_fb_vipaddr="AcKJ-SIHizWk8_6bxjKpmpj7sO1YV9pO3N7YxlWdSkIgHvt_EgAjI6wZaMZY0rJPI4bOQaupTLQXZCzrsVV4QoEtDyycRmZVmw"; e_fb_requesthandler="AcL0En-Dm_ViSTNJMxYU_O0kAWPcpYDSVEW06zV4y5oH-iLJfPZfqAOuwha08BxI5CKWUWnrQpA"; e_fb_builduser="AcKPUVTyMmA7-LLdnYq1XWIVQ6tf5fNz8YkZfkJ9t1PtFkM8EFM02Z3I-W9UBzf61lw"; e_fb_binaryversion="AcLCY6xEDzohYYsK7rJUgr6X_VgIP16B5nsK_yQ_RRc7H6NKp4lPhIjGejXTzv_mYGXy203rgzFCFPTt0JreUHA88WadiPHofIk"; e_proxy="AcKUYg8unVgnBAGOSymR5YBEeloF8OVTJJyDK56lLxLDTZ_hFQk4U-fVGtoUPWY66uERyUHo9rLrJ_wXMcy8", http_request_error; e_clientaddr="AcLrPRlQJMZo4_3Mr9Jrd6ORA2HdoOInKfMYWf0nb8LboB-dFln2O7_5p4qM6zlYyR3DXQ529OEt5nshGg"; e_fb_vipport="AcInFYlqX0oYf9gjwdOLd2c7wVhHw1qQ5qCWHWwUz3hUMjgMKsQBBotz_BdQ"; e_upip="AcKayJyuiBWoLVaInzRkIxaH3J5h4HCeacWTuug8kAhzzTmJFlpbtzboOrygbi3RKETeDL3KyjO55Lk_-KpI3a92eZoyizpIAQ"; e_fb_hostheader="AcJthvJbKMZ9WcdpwWkUgaiusF1v3C-9bdf5vS7v9ycZfjqr9lMsLuUe1aPzhjjnU2jCZPqb81no-TEE"; e_fb_vipaddr="AcJd6I_0iqMqTcpWxj_--ZMqHRHwV2medrQTCi9GwYNdJnDc5s1juje7bWP6fIk1n2X_-6tYlA"; e_fb_requesthandler="AcKD6NshOTg_MQkLrkIQN3NSGLjlHI-aCHVe0-jk6fpJELx5_dLgDotTXQWAPRWmpX2hdnNExvM"; e_fb_builduser="AcJQZ1J9d5wTpQcWg2-a1C578zqWTzjQBhoWfdx6DzDafXmtebFdqqG00v6tmwb8fck"; e_fb_binaryversion="AcKBKgKVJH8dXrQFxTvAIzZr0CQgckIsw0FT0hrHLRHR9GgbnfmNm3EAt5FJiKsLp9PJ_InrEXzhXu8bsDYA4M8xSebVbM_Kfqw"; e_proxy="AcJhKr5eQFwlSqBWp4s-FdE0E6caMiElOoOWbYS4JZBI7DiD3OhHIROCZVjFwbfNl0_p8fGIBishqB4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6827627217348086"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 01:35:05: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25704663462454263?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3847073, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25704663462454263?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25704663462454263?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25704663462454263?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25704663462454263?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjPo7G7wjsK6eMa_HbsFl3v', 'x-fb-trace-id': 'AuXqFZ8TYVj', 'x-fb-rev': '1011401579', 'x-fb-debug': 'p4oJFLHiOPIKBKObFkMqFKjJ0ygH/PM7VayQJRfI4Y2aFQxmhIm1+/TLdAsT5vgimMbXzuDtESlnnry63/c1Zw==', date: 'Wed, 14 Feb 2024 01:35:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ9CBnV-M_5k7yClVhA8mUb_JpMbmj-iRyZbhmy8qfJi8CbzSURtqwiw4w2fdDLj59aZaOdUVcnAWEooC42NV_T0zwnTFQx-LWEsLdiBZbmp7wr"; e_fb_vipport="AcJiyqbgoh5D84POSxdyBhACJZnBixM9Z9q9J3FccJfvIlOptPtnDYY4BfN-"; e_upip="AcILF9lydgxXWQ8yIy-dAcNP2AZHh78qFl-tVG-BnKMZZldRPFOzzPyasNWN9oBBIc3q4kFQdcY1w1j1YvI44YenLCcvANarISs"; e_fb_hostheader="AcKFrenxoUj7MBIcdwktpjrdHIHVeV86nwsNA6YDIzff5d9-H3JLLTEh8X_SaL3QFVfRltpL_ZJzCCcY"; e_fb_vipaddr="AcLyQZohdPRITWmUCpQG6V8jSktS2EDwZPpQvvtDh0oeK067vi8xlOiWu6MdBTbcy2ctfhN9RywiPlrNfIT3FjxnxmXlXfJvIQ"; e_fb_requesthandler="AcIdiQjtj1-xzCxpBJbpiuHGeclnO2VgpivipSYvEzSOJD-FpnT9njU33sSrDY2rne8IHKZdm60"; e_fb_builduser="AcKrqbYDl1LfQT1wPukS7eg2ON3Co9Bjl3qRrEeKl_9DU-5pBzudhTqwDPN80PSqdnc"; e_fb_binaryversion="AcKKMQ6AWDMFTpb6PAaQNqbRAvvjJiaFi3D6F0YVQt3MUj_lzcJ2_MdfwV9c1dH41seG8y4eGeMpld3MAlV_VAaHqOSUBYoF4xk"; e_proxy="AcKrntNemRRHny7o9wGBhkWGyICDeKsYfPzFkfT0hdRi4dD51jZe7KihrT5JazpKK1aXPkLfwTYO8hrXhHhu", http_request_error; e_clientaddr="AcKuUoFwfVxOT_GXZP1ObE9Iqw0nDjW2XUVrwSJGC9ngHm6SYYNETuU6nnpO82mun7n95wooliLavLs2bg"; e_fb_vipport="AcIE37ECSdbBcH4VmmbmWRZ68pjKNw0NHkrCgujCU-D_FTPPlKGzy4JzqJy8"; e_upip="AcKZlYj8Qr2FlyEdmesN5LGPC7RvJ-yUBiw5yXjTd6ow1YelLXCZ0yosFICj1Cagv4tSEmuDTTVjoC7ebxpu44QEYllfY-axyw"; e_fb_hostheader="AcLY_H7zEdnUls-7mX2W3MkKLg8e89cLTAq65Z7OzFwNwfQC0Kss_6xr-GPqAOl0XidVxNTpdr0HW1uy"; e_fb_vipaddr="AcKp-GLxNdp4g0JyMPHORWG2JZtgwORQXVVgngrUx5e4-94irtHaTnnxCd_sMgr3tOKEOCndlg"; e_fb_requesthandler="AcK7hYPIrWPfvHNRQ-hkIBB7iya5jcJrQPxzyb-0BcgsAznAp0krJcBqscyVwO0a1-_hLrIYE94"; e_fb_builduser="AcL7wam-YOH44MmQZDWgPY_ZAdZHzBg8fdJozp75wt0s5yEQhtc5zRnRKYkPFyU_U44"; e_fb_binaryversion="AcKR_SHxeofATrzqypHTO3vGqceIh-qr39WLQdspt-OfAwbQJ0kLUK4uSyABMdZaDT5mn3kKi97qje3EK2LVB5Rj-Bk_aYNTkEQ"; e_proxy="AcLW_Bz7L5Q9vgHAOo4iJN31NU2yD1ysn1zl39w4vVETHziYSJLxutkQdH-vKGi9L2xHhugEmD1gWjs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25704663462454263?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25704663462454263?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25704663462454263?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 01:35:05: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 01:35:05: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 01:35:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25704663462454263"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3847191, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADV5x4qL2uXdX9HwnnL49MQ', 'x-fb-trace-id': 'GBbEjKQNUjV', 'x-fb-rev': '1011401579', 'x-fb-debug': 'Rh8oIJRHiRzARXF4tPF4mruMO5D/vTnwUqN2t+NW4vrHW4KQKI4u8DP1somSCPHhphzgi4rrZnthH9JxsnAjzw==', date: 'Wed, 14 Feb 2024 01:35:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIbMXzTjbKLsRO7CchlxWPUfo5xQvIgItUpyOXPwZJ5BmM7gqJrvD2RPEMQFsLyHCZOCb1JDGqQ-AV3_rumW0KDvPSgj_JmKLyvLop1iEqIQ1iBHg"; e_fb_vipport="AcLUIjnzn40pM-rDKeRMbCvnDf5A7etwMITeG-Ywd5lL4mKvElnnFReKv5nI"; e_upip="AcIoUtKpAUAS8_wJ1a-gF5neUw0kWi4obWPv2PlJyyc1K9EkggqlvIfpqQUe3fon6hvs9FR2UpqYpFNnQbJDVkvxolew_2HKgQ"; e_fb_hostheader="AcLZ5xoG020nSdvAXj5D79GORQsm85uTKv24BQQeX44Tp8EbW7SCMozLwRvktHQIlhShR29vahqbPRIL"; e_fb_vipaddr="AcJkQZIBNSjUqmwQqbMEmnkCoDCPNrQLIDpB-rgXEjZLVIIXEkl7U6s-4C2SjqsnJay_oDA_SBDumYr6eitq_HPaksB1WvYOQA"; e_fb_requesthandler="AcLWr_CrkfMShRqFM1_hyb1M-JF8xtT89nbnCbkZs-WDJFyS8aybRXgNjiMB6HQpeHZTCZhsDFA"; e_fb_builduser="AcI-YGzS0wZbwH1VYO29XL13JCHbRzbUOhWj-vbgh-sbmapkOlF03fo5PtMYEFgQSkE"; e_fb_binaryversion="AcIeHbo1Q-9fCyEry2JeNN8lRVLek9IaUiZifOoIXnHleFa9Rsuic0HZlrvztk7gTOZRpGzt8O1Qb3QcY6xY-uCzePUJqP9xT6w"; e_proxy="AcJOeRa3PJ2RLHBP0AthlnJg_r6iO02yNP-7u7AqP_p32G0cIbF3TbjtuVMBmTCwr9fqgZGpwx41KlcqW0bX", http_request_error; e_clientaddr="AcKqg0_HcCT_GsLaMkxnTU23z22u0QFgYSDgCp6FJBeNRtTKWlBxBdEFfeGhKCvvY2-5LEnSoOvDvzHIVQ"; e_fb_vipport="AcJBGqC-BqJx5y3-6_3x5VbhMe95aKfASh6rBGmLaB3S44bb5TENblKH2FDK"; e_upip="AcL33biyISRp4mTVpYVXDX38G3FGr7iNKpRhh3eGvdGo7KnNL_nGsHG6KCdtpsVw-JTlp5pzZm2NIScXZwONW-FYhxVOjbgC6A"; e_fb_hostheader="AcKx3pK5F4hXqzP6Bj9ayI4XuRjWbeVodWtoLyZHDzubd0ym8fPtQjrVgdxl_w47j1TQMspN7pnEsl-b"; e_fb_vipaddr="AcKcf_Y6Ci25a_oIuhvzUCe9Hi-dEiiaqjSurdyhRYkKWD2WjZbLLjHwmC2RIryd5-ezC-cYrA"; e_fb_requesthandler="AcKNFPrQ1GEidtsvX28OaKHX3W2UJWpyaA6QHnv_9_Gn6ARbW_-yhs8VG-3icoV-8_GqeAVMuNY"; e_fb_builduser="AcLqN_39iX0cj0lcb6hr2AwMy2MBqYEAfXFISOj8XVzy2YQlSRCQOexR-OwHVj9nokA"; e_fb_binaryversion="AcKiXN0H1VCiMoO7kTJXIkrOqchW3wK9gKpVlTJvoTHuTrux9WhccXW1fdETbLWKBAc-TlkvD27zvQ7bq_NgWFnyMA3qIgcyShA"; e_proxy="AcI3FxBEWuFDX7BAM4ArCtP2nuZIEh9q_T-0VlE-ja58fH21GCfhoYX9J5ExuV4Wj4_JbwPv6bNyaWI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25704663462454263"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 01:35:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 01:35:07: Error on send one message facebookId => 25704663462454263 02/14/2024 01:35:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AxIKhNZv_FOBf90qcI7mhuQ" } } 02/14/2024 01:35:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/14/2024 01:35:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25704663462454263"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3847286, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6Olcfv9rZQw5gBQfMHX5xD', 'x-fb-trace-id': 'EckS3yEXIUW', 'x-fb-rev': '1011401579', 'x-fb-debug': 'eQMLx6gAi54xYpe+5PUrIcOfKff9JnATb0KjOWbDuAR0cb2IookPmgiXnDAj8moRsJfcEs0tAzcLE4QNyP8yog==', date: 'Wed, 14 Feb 2024 01:35:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL-59bT4kzytuIKWaWAEr3g5ECADizgezvWySzdSv57BmMPNzhhKlc72Dl-9rrMA_FUgF3ZXdvnHRC3EhLfA9R08lm9hiyjD4reco_cE6Yvyo6Z"; e_fb_vipport="AcIMoWJ9MC2MiSWloiziHi3Z1ASKy8cjWpoEJdwFp5AmBk0FCaS5VLmXb5EA"; e_upip="AcKt-JRB9rMVvHoLRyalVadQUWNPd7ybaiNRf6wMEfaQatIBzuzZRDkvWlz3RQN-3jFZWZvSG2HxLjO44Rj4strTXKrE7jnVz7o"; e_fb_hostheader="AcKR1yt04PQaA1biuWQDWnWL9AMiYP2qOF-QpGUWXtYM1QvCw7-wc4AGyoXGU-Za2TFWdBQkca3rY6Hg"; e_fb_vipaddr="AcJ8KZda43tSxeg2_wsz50wT6Pz5tUyujqbZ8SPQ6RrGwP7YRtkaVn1UhkPMSyNjwl1OEeiR8IcQ_a246ijXT3jK-0TMbWbZOw"; e_fb_requesthandler="AcLXk_qO6XXIyWrScMX90b8_7ql9i_TRM2GqBgne-qoL-rvYfMILiPeS6rLBaSQKQUPH9F0wXws"; e_fb_builduser="AcLgysdipUa2b6OOI8-k03MryEr1sYD_DTuJCdYt7O8u-1234KZBAlyeyDZtvw2KThI"; e_fb_binaryversion="AcLiaUTzRgGDbiIy4wt3xTGuDVWgYpczp927XlxtKcZoB_IJKCr-BIg2mc6wk7hurffoFb6Knh8-6Jyfe3SuT-afRlP8kWR5ONA"; e_proxy="AcKXh2CYTs1jBIiTjykKTZ1PfSirxn6T1sCiGsLScMriEpfxSNIS_JkeOxAGJV5xgdXam4E1IMO9F8_KwAdo", http_request_error; e_clientaddr="AcLEd5DoPIYSKw8ZfkeHdVv50Jtm-29mo0vCjLt6sQboNFDjbwwJI_YYl-IOQlJP4cXPSsEEXag9NkpSlQ"; e_fb_vipport="AcImycWuHY5a-vB_3J7jU2FHu_1-OIJFoosb5cMWJp3i4m-NQsLgLBA_Pl1v"; e_upip="AcK75BZOYhULJCPjBgIAcFDVUJqDujh1XDpySakZ13JC0d38aHe1mhKdn_qd5oPy5dbBGavZyBlFVmiHY7NAXZ6FD2RRiOWfcw"; e_fb_hostheader="AcL6A4eZyCdP8qoNPBfi7aXa11npeLKG7nzggMoVWWOJodbPAuYGmkHSJhoDSPYLI3N5yKgU0n6y5yh9"; e_fb_vipaddr="AcLwxaWSjF2Yu2lN0KgTkol1kwrVR7ORCGnaJ_MvRz4LnuzQDUX-cCTi1j9gbdjhoEdWAkdIfw"; e_fb_requesthandler="AcJ0zcTp73afo-O0X9UUb2o2tSvKca0VeOLvWZFj59zLYPncH98RQ9uVbga5ibEkpCMebumy0Ck"; e_fb_builduser="AcIOO_KsZ_wBBZBf6FZ1Dkon2T7f5Upji8YkMJCQ9ojKA-NUwwHKwjSLdrjXRzpbMSk"; e_fb_binaryversion="AcIaCDTDxJhmhCQd6ui0NcfnN3S3i901tEm_w309cCYL0JxpZaqMgM3EmPflRUN071FE5Poq2IeL2ISyxTD5t6DTbYiXHJkzzvk"; e_proxy="AcJ-Fyku8XdcxZiRPuKrTotjXRXZq_rlrifMmGzJFcXMCngyz7IuOZUj-XCmQPmBvbxg2AZW1xDw7w0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25704663462454263"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 01:35:09: Error on send one message facebookId => 25704663462454263 02/14/2024 01:35:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aujkroa8OFaA-YUtgCLKFoE" } } 02/14/2024 01:35:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/14/2024 01:35:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 01:35:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25704663462454263"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3847425, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoDNjxAAV2uS5oMpvWP9TiU', 'x-fb-trace-id': 'DKb3hpIC25X', 'x-fb-rev': '1011401579', 'x-fb-debug': 'pazPTRs7ItMc4nDaHMsExBF38xAxZ4spmLs+dM4y9MSckrbjwAN3YdZbuM1SIswExreWdxW2HaS6wB0wNSv6fw==', date: 'Wed, 14 Feb 2024 01:35:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKbRqTU365F0peHPlSypS3uOd5WL6S3OwCvoaC4ePH-JCgFFMSSwfDnsOzGpdvMFfNKbJnwowpRB6OGdecsFgG29K9DisGNXjjX5nmEL3LWJfySZQ"; e_fb_vipport="AcLzlCqVWkd-m8ARtMSRpV10l3Z7jR_kzoM_iIBQOHXmqsRqObsaTBKY0d_8"; e_upip="AcI-7fII_NJIUFlFgg8V1Ec8fZq3yUi64DgG6xK7e8xJTA4da_be1Kpi1GFSxGBeg2FF3K5byrX9TQe_rKGTAmiTgpNESJL9ui0"; e_fb_hostheader="AcItHpk-z00KBu1AprCxDwe0cAIAlssGrkRTKW1gdefZXHZLRnPF-7hIHnB_iYHebd4RYWcGYFX2jJF2"; e_fb_vipaddr="AcLN8iRDLdnHyCB891Vb4Z8r_854-LIyUmZPhR3QbWQrHhNjavVSKEm2CGBHbg7EI9L_-tWZRyk6XSE3Jqew0Uh-mQJjKIdVag"; e_fb_requesthandler="AcIr9bGrIpN7HFZOFtkQCWeYOejJQJ7Tq7Ybl0nbrBcZeWejJ-AeHhn400fuFI_NkqGlsLoNkh8"; e_fb_builduser="AcL4b2CU08_iRXrnEgT-PgGQ85sopIa_lo5aOyRKbDgnrL6iGg_cKFRVt9RX-xoOaAE"; e_fb_binaryversion="AcJdToRtB4C7fGBEsJpfvkXSl_V2iiHr5-9B63U8W4wHhDDsTkHV0Escd3bs31ICjyNuYHt9vi_LOlbzLztSp6fwqspw8RmaCec"; e_proxy="AcJv3i0bqYCJG-3KK-wU-nMZGPgdHuWHbiChBmGCEOAIHEd5-iIdLJbl3j9hxsyj2Do_7wDVVfSIaqEOZpOU", http_request_error; e_clientaddr="AcIyzv262WrEUYndCXJsr7nyKYPdOWq4w65WdrGNog9P80GhXTAj57AR0A4pAUraMTRZTysagQUMdluA4g"; e_fb_vipport="AcLKaXAJVTX39UtoCDZfMfOzfhcJhpFIT9ISvdzez5IU0CbYUe4Q4tCyx8Ye"; e_upip="AcLSJvXaZiqGfPYIDg5M4mtRxHSjkNVd0YAEl10m12Ac4dYVczI6A2oQyYVOIV-i9wiHCUdtWQxWHSPPI-44mVOA8wxL8KUdPA"; e_fb_hostheader="AcJyKa46zjAO7p0j0eBfvMaqqkkJf5H7AYssYlRuIWcbNCPWjJI3dmWGdOiToOdoL9BKkncxtNoQOuL0"; e_fb_vipaddr="AcJVihyW7e51Lz6uUTOJVXIAK-u08hycQiiyocJtMH7h-0V9v9gvLM3vume8_T9DLFlLbxoigg"; e_fb_requesthandler="AcJkqgD8ZKQmygcKNC7TuGm-xCFZWQpTnHjlwWGObzsrXM4U2i5yyu0f2CzXtiGcSPz4jfBCqWk"; e_fb_builduser="AcIn58PwssN212yRqvqxg4niblmJCapslHE6UzvcJsg9sQGDCjdwj1vjUiqEI1LrS6g"; e_fb_binaryversion="AcIJ3RJind-SvtSiKM5g1nWe7aS0Wh4GiwD177Tv4NAINI6Ecl6dQdLsf7ROBjJJNUBKXfBoreEkJazFKKoWd_6pwqtKImgRH7I"; e_proxy="AcKHCQnvMmjcfIY5ozpz94EVShOfORS5LSmedNrlMFl1CA-GZDBpCkZTxO6OjWFipFfjRpnkr_M5BEo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25704663462454263"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 01:35:49: Error on send one message facebookId => 25704663462454263 02/14/2024 01:35:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJ0VCFhRGo5OUuKd-lEVMMe" } } 02/14/2024 01:35:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 01:35:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 01:35:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 01:53:57: Request bot not found: { id: '425997890871688' } 02/14/2024 03:55:35: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7213709092038820?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3871218, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7213709092038820?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7213709092038820?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7213709092038820?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7213709092038820?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbW3dVYqSSrNgD1rKXsSTyL', 'x-fb-trace-id': 'Dxqqx6jT4wN', 'x-fb-rev': '1011405512', 'x-fb-debug': 'zQJR2S4DHCsRTkhTt1fu4PrykRrejUu5IbMuM0VWDsnyUT5SdN4QPI3WgJEijeJMDPdfKEkqOe/spvoR1DJZHQ==', date: 'Wed, 14 Feb 2024 03:55:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLJuAY1MlsklsYenuCNhBxii5FGsu_qONIS5GzgKyKOR5iMLAmMH_pC0lIWJfe7p8qsbCbIvhySe4xfi_GMjUCReQ0p7tRVV2lu-Bt3k7e6duM3cw"; e_fb_vipport="AcLcbYZRkD8ydooKwruEHBFEh_BIPzmv-ipdGaZpMJrJVnfMWsaakQSB3JBO"; e_upip="AcLoXzdiax5JgCkpcUJHvI8kw9_DEi_d9tmRwQUDAdsREdE9GR3-46u5tpYwrDbGyyXKpQarK49mU4YvO2ob2rGsmU5fnmRoJQ"; e_fb_hostheader="AcK3D1rWnj3faF6jOMrD4zL8EDLJRNIcLpSlt1dCFT-mRap3VWvptLriUn906M-wpJ6Zhg1T7ujL95Fc"; e_fb_vipaddr="AcLJA4BJTr43yId0LC8EV5ZU5YS5QlzvMT5x0kwM9QvUOZCCxTaWzEwlEZTt4CPttHAIB595uXUnQrUiOtF9rURfPx5m__WcVA"; e_fb_requesthandler="AcKglIjkRKGsPle7wgqMppu1uvqV3HqWZuwVcFtDiT9g_QQoS6JjZxA29ROVJkzoA3Iov0dVklI"; e_fb_builduser="AcJfJJvULcf12s7cQNrfvkDR4KduKZ3UggFKLqFS4l2TD4zJ5pBrdoYzK88lPTyCMpI"; e_fb_binaryversion="AcJ_CP_BW7WRFGrr_fzVroB5DtP5dHg-ndxL_JsTuEiuQhRD-AMBjBcpyewCB0ycvvMlqBKKlmjyUqqqk02BoahjQE0Z3OdhLgI"; e_proxy="AcLb858mZpWmGqH4mu4kXba650gfSyErnkfHF2nFAagLvh3N62Ij9Y-1ASoUtSRLW6DARERJB-l1MwoOzhTF", http_request_error; e_clientaddr="AcJ5Yxw34pk5BeTK2zWvkKcPzYb8x56xzJ3ILYuCiOpqnWhdydLObPceJSEVSXje5u6UFqPSMZYIBCHElg"; e_fb_vipport="AcKqNyky4UvDx955pKqD_O22z9yoCt3LPCsFICcXjEcX3WsvZKbXxY6wwh0t"; e_upip="AcIwkC56m7S7grlXwwlZVeOjlb7EuFtmKw75AtSlcYzlW1Tnpg-cTEMMx2jBhpTlnBCigLky5_S1tE3ELJsuG-srukKLt5Macg"; e_fb_hostheader="AcIii11OccDyx1H6Q8BmYbQzHF3piuR9ICE6bWcL_F8Abka6eZRC0k6nw-70BXErwvyNu7glTxBomrgH"; e_fb_vipaddr="AcKxZmSIA7YzPY4ZVhRDZftt0B_X3CPRnZDMP_ddp9ks5Undjsol3vPVVnjG_BPuoKU0sNc"; e_fb_requesthandler="AcLeDbyIF5HJ1bymLLauTRxmhvSWtm2Z77l_NVxbGeUSoGF1DPJPwTXsZb68DuuscHZaR8aRqa8"; e_fb_builduser="AcIKJpEbteiVvApE6Tk6OZAbCC2Dy7yZ8SgTQQrz2g3UNScKBBzkJvuepbI5OCR_EDY"; e_fb_binaryversion="AcIRjlOErcOExUK7wURd2oGjJV8A_WoznHYr5iwW7G95lM9ZIK4Ry6SAHY4TZ2GS61UKrBpS9yVutHo4geJ6xn4MujGN03CD1GA"; e_proxy="AcJbjgsueBd010mGz0TCPhKTPgA9-7EVHP18DzNqO7QuePCgUfswt_VOOU7CDaRWuZDCFwKfZNDApYw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7213709092038820?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7213709092038820?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7213709092038820?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 03:55:35: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 03:55:35: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 03:55:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 03:55:35: Error on send one message facebookId => 7213709092038820 02/14/2024 03:55:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AaQau1rXEcHjFL0gKJQdTc_" } } 02/14/2024 03:55:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7213709092038820"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3871336, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjsvwnLgj1AYxkagEMAKxCG', 'x-fb-trace-id': 'BpUcAOizSSf', 'x-fb-rev': '1011405512', 'x-fb-debug': 'gl4zU/YGMYB6aQ/CjopKFCpDAh97ne6F0RCFjMomMuYecUx9MfOkaMsAl//suShiVu7zLWKWyFLbT/4KNlI5/w==', date: 'Wed, 14 Feb 2024 03:55:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKUQSH8yoK6L_5ZURGd8h7fhZrOi5X_3IGb8JaqN4rYX517SYM7YN4e9rxLVaSoOujSvv4ujHR0EZqnkq7vRac3yBv76Ye2usRUPhXNDBVbwtZMRw"; e_fb_vipport="AcJnvAJq8EwChEnmZnkN5wpN2m1ttmGHRRVsbm__wZjn5xSzoBUX10K9924x"; e_upip="AcL2I27RhAmfpcAucNtNcLG8VcMRfU6bE8E_V5ayRNj3ym9b8dVk77I93TivSHq8iPdbtThzj8W-rAwCEO4vVLRwzcsSOHjKtQ"; e_fb_hostheader="AcLQvz2xuy9shxgySe1_4xB0-gsbKKr_ttbZkzTApWWHWw8Pxu8GgtM0KV0J3fiFkRKwkzx5FsTo8UbI"; e_fb_vipaddr="AcKasvUkqyn1GavU8iy609qwf8ofcIGc_ooF-xdzwkZrXrdopnaq9pgselE_OjErViBGxbalgO08ndprx8Pdj8dAgY6726KdIg"; e_fb_requesthandler="AcJ2noAxjVz525-5PjQt0qtdhhEP_LKOyUimC5OAio9c0of3icClguEbpH9EbFOpgHz5RtkdobM"; e_fb_builduser="AcJ77gxy0vGU0m__PpYvQQswbvf5LrlPjCnB5pQmqgK1Coy-8D4uImTcBThi8pNsMIQ"; e_fb_binaryversion="AcIY4tu4cuIZ_GrCeGh5AH23j7-chZ15CjFQUuKLdScCBpGVsfMecJaT_UfMEGwS2xifMQQrfaIf42KPMQJHyfQuYQLGKndNE4k"; e_proxy="AcKC2cTwQ4VS1oF3uhK_SeQBqSDeRMPy-G6qRT7F7G2Pz19i8vcjotCN-Hd1oGCnImr6ppN0hadbIefkSYUw", http_request_error; e_clientaddr="AcLhowVwFtSSiLIQSs2kKSKR8MGqZXciwASWw6rwg4xmmAavNzO269k844qAVztkPCZI9JTt72mLcOlvoA"; e_fb_vipport="AcIOqFdQf3pWJAmMlY37_bo6AXTS9U1rdCPTlHYWIAauvyYt3ILZytjZcEuw"; e_upip="AcLD_MrZUfvYRKXpat3usTCf-sL7xZprbpS7F5Qm9nvCkeAETq8eja6mcxbBFg2YZdyWjUZnKugwLsF1GMDrC66mU_xw8wAxIQ"; e_fb_hostheader="AcIb1_sultqqalZKXJd10gh92AXD7GAbz1jHjZJBmibvB5L19EVRtp669l3eH20Ib668tp6vZ6vbz9Qa"; e_fb_vipaddr="AcK8EjaWF_sF5jYjXFcqML78gNp2ydic0itcOcgN293Mrqsl1LaL1ibfOpcaD5fhVijY5W4"; e_fb_requesthandler="AcJ07rGOtgGioOsUAMf4qv-9x4tCPnLS4rT-r5cLmIylKfxC0OhZGJrLyOcUGdL2q0IZb9Vo7gI"; e_fb_builduser="AcLHBg5ZZBqwLCV-RblJF22vaJL331kJlLrcpW6be_KAsJocNsgIGB2IiyYd8Ea1L8c"; e_fb_binaryversion="AcJmv5QmE2zwgKEBBk2qjCNuHCVq2tr1AvhPYszQv83Oq7cnz3WwfBTSgWSvIIFnyG0kryMlY8Ev3c3vBlabdjSVku-GmIFKXNw"; e_proxy="AcLWPsKvhrnTNOXQzjNQEzb3_NCDdK8vMjR7Zd69KnXnLT95DyKPTMglUDfUNTZnnO6dvGC-wuF2Rkg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7213709092038820"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 03:55:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/14/2024 03:55:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7213709092038820"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3871408, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AamU3BmL3h1WGntWHASylhk', 'x-fb-trace-id': 'BsJwIHE/psO', 'x-fb-rev': '1011405512', 'x-fb-debug': 'RldfXKIchYawspYhQV/nWO6ToMxk1X5pgTZZYH2yePEt3onsTpd6M9RZJjyzucp8ApjSLPUULXJE9N0boFWPkg==', date: 'Wed, 14 Feb 2024 03:55:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIvHdeH8fcaGXPV_apzOLfOOzPSjSpGeEK7pbX-PzrT-kc3qe6y1mUCOiyIj65Y8vj03kX_40RFXy45fl0ZhOJUEhb9HyT_GgRiLUrap18m2gT0qA"; e_fb_vipport="AcLTYVZWyaCetSYDYtwPrEJJ8jMFUMapNq4oBdoGwFjI0EnSrJBSnd6flYGu"; e_upip="AcKq8c4oeFsaVJKHwS_CNJt7zgoO7djcsonwiJp0PcWi33pKlq4A7mxiuTVOvweTV2-Hl5B-UOLRyGgszyGdDei85clLO76EgCU"; e_fb_hostheader="AcLVOSGANnZ1ickiiFMN2lB10w9AqJpHkyFQXiVYOwlYdIaBEBpy4jBeyPBlKbmOzM3Qxv1x1Ejq65J8"; e_fb_vipaddr="AcI1ZBR-bhEIpiKSxibUevecfqddCKFdjLOXrWnyHFQHJTeH7cIMmERGHxpH25Mkena2gVskSFri9T9O3d377uPH6ma22imn4g"; e_fb_requesthandler="AcI9xtQAhQZtu61ML_Sjofb6_4dgQVrkPAnH3Q4M_cGwTJr0F1PdVyeEQtRkjVkGIyTosSnksIc"; e_fb_builduser="AcKFx4SkUQPgYcGHHtWFbl6H9jI_-dVAYkIvP5WGRjKuMrfm8FqyxEwgHWocpLyDtQ4"; e_fb_binaryversion="AcJvgVigK5GraM1QnnfHM4EYjoULvShN8hue-6y77bNDXSLwdXk1ZJJ9ld-0Z7vknesO7sBHSvhNwdKBzs2ieTd2J0qvz1e5wDw"; e_proxy="AcKhe-Kmjk2IcMaCwANtHyrNI3riMuzihUGEUCriJJ6rieaoPePtsV46yWgMkHbtLXFy4UTZtK0nonePvRFn", http_request_error; e_clientaddr="AcJdx3YOrLjRboJW_XQ3vmWzI11f48x6heDmAwCsIyQlSGPUDoZVJxlB59Z4yLHNEXV3ghhx5VUpaWBT9w"; e_fb_vipport="AcKgxx0UrbvMfcKvs-3MfpERQQaVEImec1EaIuYjVSxTF3eV7e__AvgQANtA"; e_upip="AcLHnFsB0hOEs75DGuBtDqbzhZqpYBtaWcqLsfD-rMRNKvAV9ArHWFAI2QetPpvuWUSawWtE-QuJpqU2OfXlx5sWld-_wyaa4w"; e_fb_hostheader="AcI7g_fLXK2bHvUWe5d8HO2NSqD546jfObvzGYQIMbP7yYprkxShcnOWw29_iwz8Dwso5oFyqkEC-vn9"; e_fb_vipaddr="AcKGaIdEeqh6L5GwDrRVOoc6LtXKoGBAP1AdZeLy5eOZOEhxj6VKhFvilOljMzY0_mQ2jsA"; e_fb_requesthandler="AcLu16qgT_taroph6NMzM89YgHAkFN5PKpfiVlSOYNyN2LM1-n1l3C_ieokQSVTVtx8E_4pl2Fc"; e_fb_builduser="AcL-Gg7_RKnj4qSot8hC_TnbVBLZ8itaGPcPNFv4rVwj_fif7XO8aLLL5ATYWaoggBg"; e_fb_binaryversion="AcJ_Ubg55GoAJzlEOTHfNoDrCn5haaPx6tQgZdbfv2JXcsPolqZP_IA7pruvwNwjKehovio0cs0kRqXsc0SshZT4q6NpStpJuPs"; e_proxy="AcLN5e8jwVmndj4jssySpYU_nSlUlBwCCoOS5SAzjYuA_k8M9pZtIM5w86Bc8UaubBOb19x9hW4b1p0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7213709092038820"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 03:55:35: Error on send one message facebookId => 7213709092038820 02/14/2024 03:55:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APKjSTdLWLAP4JyvLGShyfp" } } 02/14/2024 03:55:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 03:55:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7213709092038820"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3871523, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZnt-G-HLlegjdneSwn6vBl', 'x-fb-trace-id': 'Hwd2WaxcE0T', 'x-fb-rev': '1011405512', 'x-fb-debug': 'fhB3DBGeG4Xn/MFQOEOqE+D9edHWQct+MbDreyq2JjXUUEJYDqLcUn+qISpFp6Ya1Eht32xbw8RXbChwak+/Nw==', date: 'Wed, 14 Feb 2024 03:55:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL8PQljdvmO34Tm-rnGCzmBZOvkmPsk_oL2eW4R6XV7xSacVyuSK-kNRZFVd9aNbMoKQINIOYRO2K4fu6_3Wei8QjwVDShd0eX5mcyo3L9tk3Gq0g"; e_fb_vipport="AcJq-1WwtysptSg4AQNVIRbX8CELwj-KACd5sK4R6XI3M6vYHMdS-H-SkA09"; e_upip="AcL6hCXX13NYhB3VsgDt0fqanZzpIO5a3ui5xzuDNfsuhek5ZemWbAWzFhmZ8f_MoFvXY688RHxnBO2Ydwjw5yhq28ftPO3r1Kc"; e_fb_hostheader="AcIxYHVQxdNIPaz7DGg_-Gp1XP-h-lCJq8q_LSomCT9m1GjE2wl3Uv7sVrj8l7jdZGaoGOr2ttRzi1oe"; e_fb_vipaddr="AcIt2LufRV1iRiajZT834wxB2x7eK_C0xKn3VM3gBs3cUHwudpZ0UyurLLRAGJs3X_CG-VyirLmFJud3thd69mx0PHXAT2xAGw"; e_fb_requesthandler="AcKt64NXALhP1bEAtzIKw62i9tF6m1YvPMpvz7tUJmWuGIeyi41iorY2DmRmxG-mWL6dPKG1vhc"; e_fb_builduser="AcKrDMKtjcmo2yPeL6soT0eVbwhE2ysdN3aa-GxoAJoAIsv6A9SzhXeuCBmlbDA4tuM"; e_fb_binaryversion="AcIRTST3OWAbwUM4GRyDLT5lDPcggKQBpPFoi4zlDXU3Ikjx_Use8GNxbkTjH0Sx6mccuY0c_GXJ_sb4F2bD6En6vLlkCNXHluo"; e_proxy="AcINlUgE7pmT77LWLswurruF6iZbJu6Z7Bgoy9RzD-82_Ge0FmViiyVBr6RVXd7shPnDIiUiSlUKl9gGmizi", http_request_error; e_clientaddr="AcJJUEQI9d0_joUA70deC31BxbKkUY99g6QOBlt5qMIytT9H2WgPxeNwbczZ0Tu4Ep0aPpRV0COZziQNpg"; e_fb_vipport="AcLXaq3KX9nv85Zc-DcWGPGxUblpcSvjYaN1mpYMBfxMAwDJPgRXt-RGtSnJ"; e_upip="AcLEMqZdCK1I2HeYYJ1leXSYIfOuDPOBj0PTe1rZH3N844q9KtWP2SysYX7jp63q3XgxbZnAOwPjAiL_IWhNjQedl4tonrMD2Q"; e_fb_hostheader="AcJbPMJaJGTPAAO0aPD6lgR7qygNVbCHdKYYovhqdIue3egqDntFAYIDbgzBTuP6Uld5D6NxGBvzewrD"; e_fb_vipaddr="AcII-i8cGk3u9YwwiYj4BE6mbVzSxUtzkkgpl5IYBw4UnunPou1uhB65bbREoiyQzphJtn0"; e_fb_requesthandler="AcKPhWBj1FLImzIPT3bOzpxxETFFf4gn-fC8Vizny3CZiOoOYu9hj0uAUcMi6adj1KmhEf6raSQ"; e_fb_builduser="AcKMlAWGJnCzslbTAJrysyCLwkbdFzErh0pvgcmsrTGv6lAsBe9dK3evobtvJIgnI4I"; e_fb_binaryversion="AcKC7utLQ03bRYykC8KQu3gWfKZw-Ix7pqVQvMlwUnwrNu2xnDaJz0sduLdcgppKnkRwAxOTs-sXiGHppE938wyGShKHnba3aB4"; e_proxy="AcK0fgSVovTHo-PijVg4Xf5AAuE6yMCogrLrYbwykgl5YF0-26e8KksiUyG6YpQL3HA2Hl1QQVvtfKo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7213709092038820"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 13:08:19: Request bot not found: { id: '2226987370951427' } 02/14/2024 15:52:25: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7470780986317808?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3991426, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7470780986317808?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7470780986317808?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7470780986317808?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7470780986317808?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbU4kYIWRpEk5ixfg2Phr0J', 'x-fb-trace-id': 'B0RF0If2/pz', 'x-fb-rev': '1011412970', 'x-fb-debug': 'N37V7kpfVXi38w7Uzbcymgw60DngkQhKOX6hPeHXAY26vjBBySaIlPL8l5yBZOqyY3SuUGELX+vvAGJKoB3SSg==', date: 'Wed, 14 Feb 2024 15:52:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJKcRORWhFcgO_i9N_tIBkMFtReEbuEZh3_tUc1mG8cnTSlCDxIaQ7hcL0qwiHPujyJkwaehmwF9EG6OdDwN2fZyJKHm28bKF6YWwFNlmpaNBFWDQ"; e_fb_vipport="AcKnnJFZhEv-q5Z7p6JwCoNjL50aViJxzXmEsjHiCF_E19lG4g0g_WJCJhpD"; e_upip="AcJr01BMQkkG0k7OkLPwOdvwJjjGdfuMazncOUrM09g0egXwVazYGBF9gbu8nDETQmE6Hhwaj2S79BSwYSm-vRjUCgOPfX-ZRwQ"; e_fb_hostheader="AcIvlI92dHWeM8JEV1jUCc8uT3wGnRfO6YgsRYYuQenFzFAN6iMO6IgigBSRD5rU7EI6Kt3Poi_fi9OH"; e_fb_vipaddr="AcJIZnJbiD-uQOg1ACIEBmw3nxwCCkmjXD6MQR0dhFVUuHc_1mN93AXExbPYFk0tsCK5UuPqXzKgk7DFLmAddok5rjmFYS-S-w"; e_fb_requesthandler="AcJAJUT_YiSMPq_TZCTF22RYLgSY366GcXxxEYHDDasI0y6Y3QMrjHmkMrglORQ0Yp0ejEepJ5o"; e_fb_builduser="AcLQajbeO2OsI0W2p45neAKdg_CnnUrXbQMd0JDD8PE0MOCg8NtK3VyM0_kEn2YswLk"; e_fb_binaryversion="AcJ2uwr0pDAU_3cCRi4tN4CTgsTVITIEUAuSlb0pPQsFSiDD0WCs5xnvDjGd1YXBdt87lanqHCPJ7VolgQ1HA2eHqrtcbCtc2Z0"; e_proxy="AcIvLtiDCJIxvBscKkSiuXFZOiPgOjBHTypPzWNoOhFquAzxQsKEvEfQC3u1vLXMtaKyWgMAkxzO7JWKOGLq", http_request_error; e_clientaddr="AcK-wod1CX-PYxT_jsavLRqE1jEzwaJAHu3h4hRrTjCmE0E4im4qhVtaTmKS2txm7haqiHF6dmtqEQ4t4g"; e_fb_vipport="AcKW9-9XU6mwHZTrvho_QLD9AZ_pGZMjMW6YvKhn1EXueRKicVsZVmpFa-e9"; e_upip="AcJjwLoLFqMeqccezPAeAmPpspqJon3TRFdC-XB26hTi5uosHp-oBlQYiBmLvUWIfyvN5DjXHcasztduRZVL72b_fPwiHhbKRA"; e_fb_hostheader="AcJzkhrqlTPSL7ibKTE-92H0nm931VWLhtbQNU9uhaBofDHQJL_qBz_rmEdgtETeENEOg4_D9KnzV6w5"; e_fb_vipaddr="AcJsIEzmBxod-gbypR6AscjHbVHRsp-wk7i11ouWzEPE424h-m-Zu5uxE9A1-c1jgoOCvOc32Q"; e_fb_requesthandler="AcJvPXD4LSc5ognQDiC1eAv78ChjdUbi32d-YmGeL5RZozdgwGdoTNNmkcDyZyw6WeZdj0Zu3PA"; e_fb_builduser="AcK7a6Y89ZkfE-UTYKeIBk33pf8V_YX7XSOjRJ8-AKkEce2DnJj3IjF39lobXYnMSrU"; e_fb_binaryversion="AcKrTbAN6l9hMN64SOCaABcen_dJt0mjGd4ogToKqSIwD0qLq3jgNyClgxUM3n-68LsTStPDj3CoFql2f82T7VKjI04kEpBDFTk"; e_proxy="AcLK4x8gAjuWJsACzsMEzb2NsKmVXnlqm05yY_HVeYbE6k01FwQc1__7VCCdyqYrFrzUOICpiabs-QI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7470780986317808?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7470780986317808?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7470780986317808?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 15:52:25: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 15:52:25: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 15:52:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 15:52:25: Error on send one message facebookId => 7470780986317808 02/14/2024 15:52:25: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AQ4Z8ObM5pVJK4nIiVNNUhE" } } 02/14/2024 15:52:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3991550, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKu3LETsOajRVlBaItXNzlq', 'x-fb-trace-id': 'E5o0mEBDM/L', 'x-fb-rev': '1011412970', 'x-fb-debug': 'OHPXupTMUiQQmTTajipy66H5NBDBkrZQ7GMq1nRaCFoKCrOw81UVsTkhu0aN2QtB672ihZfTOwYA+xF6rKO/0g==', date: 'Wed, 14 Feb 2024 15:52:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLsnwRKvamfknSJ0qFuJ_C98FNfAJ2oCcCBBcB07aRPHR5JRKkwo3qWT3gWsGwucOKS8Pjm8yeG_iOer2X_SBp9pgBNcak8si0wMTqprgGAraoK"; e_fb_vipport="AcI8M8FrNA58pyfLVhnb1ainCn1sJIfZ4YDoHbVHbcoVR-jhYAvrX5o90diU"; e_upip="AcL387g1g3-p5iJuT9V25ReikCjKTDWMoN3OMadHsBwvWF1jKvQFaL0kdEGImoGjkZ89uSYmVhGdCbtFE4kqXEY_Nq2-Br0-ISg"; e_fb_hostheader="AcKGJvpry0A81zo-u7Q0coKU853FLA9IgtvYq68aGtPkowVp9LHNL4zmjiPlyG0UVgbe_p9K7g-93H1z"; e_fb_vipaddr="AcKRb_Fe83dIqtbQowrz6xhZ37Z2TsJyy_jEwdhuy3kLkGsEC87k5lGzBPz4aI1oAsEzff_Lk6osdwrCvsOY732nglnxgJ1NKA"; e_fb_requesthandler="AcIuO25TfWYxXVP1UxFxqKs7srYRXtt1iNWYKdogLcR-5AeRGgS7H6T96z3AU-8RcTksa_3AOi0"; e_fb_builduser="AcJIzNwbIUzsKbDrLLbAGinIUlPjKGs9kQ24Hy0D-I1VwkZjXUe4un1ZUmTIF8YWYCk"; e_fb_binaryversion="AcKbbdZxX8G2MFhokNBzprwx8_uoRroRON6z9w8Z60UicQAs8uZSq7kQ9tnq42xVkI9_OC9mSB3eLEfEshIRb1GVBKAvKA6hOEE"; e_proxy="AcJF45di0x9R2W07wPGZbWLxfOXhChphZvyFcX60V0i1LDrFSIyeVI6iXuENixmV8ne091KHGTvssiyme2TW", http_request_error; e_clientaddr="AcKw1bDOBlTp2s44mMTB3gJhPkLFxvRvM3RVbKvxhj5jsWVcZvW9qzdqzfW1tiztEH23Oq8cE3hE821GeA"; e_fb_vipport="AcI99pwDV3TtkzcPxiVYZjMhQqTR5kcQT2iXwa9Zw3jPaGi6pA8OI33lKSlx"; e_upip="AcKyM2GjqUBrJoCqUOo1-qJbdAAyhbGGwsVutSXltbKsExWpZUb61WbvdcMhWxe0cwet4l3fpnHRSgXk3Mcsm4YMvQ9LcnnszQ"; e_fb_hostheader="AcIv3kXBaIZlrRJNFWRo6UeBIB5jf_yVs0IbucoaLjwXviwYa8XHIrAbAJIbxL_FDJeDEeWLo799LWUy"; e_fb_vipaddr="AcIDwkTW25iZjzuwgC1Sy8wbbqMH_qQFOh7cQod9NIO2Npv_PgyfgUd0Wt49F2ttK1yINFREmA"; e_fb_requesthandler="AcLakUnPq3RQTLGrQVlij8GMVRUZ-lXOuWukvhuJNiD0P1-hRk-hnL-WdkQwhmFcd67FximDK2o"; e_fb_builduser="AcKTYMzrhL7FSZGW4Q6mgPZNciPIscyxxVj9wumOiUv0vLVS09tQK6E2atTVj973kQs"; e_fb_binaryversion="AcJHYQB78Ee0m-HjSbueVEr1JcrkPpSU_fMWdIvFzmvwu-_bqAb0ESEautVJTcNzS7xnk-CnEVpAxIXItm4Q1IOszBYEKNQRPks"; e_proxy="AcLDCK7jz8DWtDKVCUNhzaXjnucmU0AupZgrYl5PpA4yzAPwsGd52PRmPAIzqcXiyF-vWeztsFvZYRs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 15:52:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/14/2024 15:52:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3991623, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmOmh4_1g9xt29EAFf09CQn', 'x-fb-trace-id': 'GMEv2yqRdis', 'x-fb-rev': '1011415368', 'x-fb-debug': 'bs/llgd2VwxLnWF+rvF+JEiRvBdk2FsoNXv9+a4edRY5G4H+ZMGEmVY5WkwcVnJREV0V75siA49mxVW2G+bGng==', date: 'Wed, 14 Feb 2024 15:52:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ3qZQMZhqjklI4wvdGNANLL1yDSXkjnwMYGyfmWYDpNK65z9LA0gbnEngfKt99KkVN6PbFOS-J6l09naRquvPDQ_3Z_Am6Ddbf3OaLn5MIXr7t"; e_fb_vipport="AcJTBs2JWbtibcOktN8Uie7FV6kVs08yZXoJOKygYqTCbl71B20ZC18T8pxC"; e_upip="AcKYykb6uroS3yx658Aat6c9bhAPd-bNyYlhGMP5g2MbRhDUJpqH3s-Z0iXoDnnV_9mEUJwFkOu9-xz4R5VeV59RXaL6L8U3qAI"; e_fb_hostheader="AcLzcJZe6LrxY7HfOq_0FB0wiRxe6DpbEfoGf667o5Z7xoav3UWtSn_vti4nJt3k8PYOPvmD_Fm3heNw"; e_fb_vipaddr="AcLQaossDCSm9TJT09STvYcWWdFyBe9ibcIxzrvCBI5zhuf3djXs12GWGkiUyr49RHdbifuDwTlUpyPkQ0Yzdp6Osq6py-vj7Q"; e_fb_requesthandler="AcJbQbmPgI23-IXlNlDdYHy4BuBTVQjrCf_HqPDBaKm5bLQMj0q5dR5ks-myBRJwlHdU2ZWjpbA"; e_fb_builduser="AcLgsIbOhXooVODN96IFwvPb5fo3s2qQh0Qhc_8m4s1NUyhjdWJMPnVxM7a2u3g_cys"; e_fb_binaryversion="AcK2PHutj7fI5xao9_nhYt-sxF3caAv3qFz2Npas8p2ypUxOOpPwfIM0hhVBqA8y4MNYlCjFK9Kb4V6qr0t9oKrpNCjJZ2Zs2ng"; e_proxy="AcKmXs_gI9li3D_8XVbTIkx3uVP4oSf6oRGIsd1w7aTAmkbilOvyaSC37eTN84RXMLo3I-Ucm6VW2FeBJsk", http_request_error; e_clientaddr="AcKVrS9ZV0I4FWw28tjFymj_qf_C6eCPRORyzEdCC7ePNR79i-_k5o-Wn9CfTwzUxfkE4U-2Y3OQSPzvKQ"; e_fb_vipport="AcLjSb6ZlofGV1fWbtX59wPdA5PwrKj4DIptlomF6PlMvh1P6GwTyTq11nxM"; e_upip="AcIhJxcfwbpTOd3T1xlJozfvOd3Vh4tBrgCoWjPSW1jDJXiLKXwYPaoAlVwEzM9RV7hko0lhkzCIvfNqcWzBrD18K5dXeJUPPQ"; e_fb_hostheader="AcK11txpWcYrx91Q-ZJ995jCVKQNHEcYHqdGUtXKV_fapG8ttcA0lpfvrXvTjFkn4j2BCggRUNd13Wwj"; e_fb_vipaddr="AcI7KuwHIOkycr22SObrWZGDr0kvxbaHWMLz495EmNiOqk05dC2HbnBOv0am8ycOBFR-P_UROw"; e_fb_requesthandler="AcLzWywxxWUaJtEah5Oi6koxNzy2z3VkZ8MAr4IEoliz6jFSxPIz4HDY2Un5XpYzPnuUq13fcgI"; e_fb_builduser="AcIS5Tpe8ed_3ryhWst94E5Lnui69UkmUBSZbwwxf44cTaDkhXW2qEjxOX0d0ltEH1k"; e_fb_binaryversion="AcKKGn8yiZft1ECO7Oy4o2P5cOqBowpJqKyo3Vq9HQCXCKx0j_fd9Nj5-NCx3aIYYZW9IA5BbWreoLL0YKBcnBvnhpIIRGL5BjU"; e_proxy="AcL-VNfZ4qDpu28XSS9K_x1yBu_jIAPWAVFwcex8v49VyQ-lbeYvj-IyEcNPeLTLwV_6Lnkj9_YKMlM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 15:52:25: Error on send one message facebookId => 7470780986317808 02/14/2024 15:52:25: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AuUs8OMgexcwHuLMhzo4Jvw" } } 02/14/2024 15:52:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 15:52:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3991737, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALfXeGIynXj0AIEPlKVCSAq', 'x-fb-trace-id': 'AS/QQKxzhTO', 'x-fb-rev': '1011412970', 'x-fb-debug': 'iHwCkj8BR8/ulo5bXa/uMpAQsTQa76CA7NlxUmm0cW5Sii7YRZGrC5QwUqF4C/Rluh+G1hgB+TJjpJXCSsrtTg==', date: 'Wed, 14 Feb 2024 15:52:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIf4qxQXBbfww51kSGstHP9TM2xL2otIJnndv8X5Tm4dt2E2MyVNf8K_6yVQRGT6V7CdQHlTxXwJxqS_Myjd_pygAm_oG98j9MqtktqcvTrW1xYHw"; e_fb_vipport="AcKXcHgSQeYJ2fJFzGbu_GBceKodf2tT_Jm2reGyyTZYvd8_GdrrJrnYX03-"; e_upip="AcKb3NF67kUIsdSzIaUwTH-SWg-vPs0ymTAvNwcXJBWb0pVFpbhWxh4gbeHGbfmptOd0wVrhw0MJ7TcJZ1gpoEQhoIGxrKV1suo"; e_fb_hostheader="AcJeHf20br3s9SMb7JbYfANeNpupJ1x4kNFrWDkhUcxrXTwy8xV0JqngYQZbUvaoYmCOWM0yS5RytWoC"; e_fb_vipaddr="AcJ2-Bq6vlXuwstqNhIIpEUBmTwZuJAfO80Em-vF7DPyNO8keDXrjPp1xS8N_z4q8ZzwQ3gclP06CX1VqRmw1yxZAC4vxMnm3w"; e_fb_requesthandler="AcJY60ZjU2fY6ufAQrgwyTmLtf0JQbHNGUOieHqA1MKdrK1Rm0dPdbU_mO2IiIyJfJTXYjEPx_0"; e_fb_builduser="AcIkCQTyJXsHVOyVUBY7ZYq__GeNCJiGPIEnezsyqzisMRft18_fvZKlVUEw2KI9Fvo"; e_fb_binaryversion="AcKZ6KhAUEyiSHGOV2Oh6DpRofrZOJGtN6z9hNp0HSEhK8cPCc4ZaTQxrOmciUGB0q_qetkNk5vAR4QcJEnRJL3JpqQ0ybS6o-w"; e_proxy="AcL3k-VDPmmuVqKmoOTy3TRXFLXG6wn4Z-9UZ6gafIj6EIbuXKMcQMjb_ngMf5S9b_RPL4l7hkooL19FdM-j", http_request_error; e_clientaddr="AcLL0KbFzxltCRHZ-n1A7bA_2W8Kj4iyw6KbFiozbRK0BlpjOxtaOb2MsFxJbMaX9UsNeY2k_rU5hhLR2A"; e_fb_vipport="AcJkTIMI0GXepou9Z1fWN-aP7w0iMildFFI3Hbpf3CjshaBcnSfbBt91XMTW"; e_upip="AcKNEwSKUF-V-7INK9raBM29kQdLGkb_CvoYyUNn4iiAuFykJLXrGyvn6PskVGdCkm8bM_eEWl3MGJOgcDBx6__P-abMjD6AjQ"; e_fb_hostheader="AcKB7XG9sDa1Vu-rVyZD2iJyv-UsmaXQwwnud9PflAnP2LZubwe7CTEXOsbFPGSygXmzkJUE_9eEbXnQ"; e_fb_vipaddr="AcI4KyLbKX18UO8CpEqbr6p2Tz1gxyF_-NDaQdruqaAenPFjm5p7PBLtWAOQbJm8keIVk_1xSw"; e_fb_requesthandler="AcKsBp4DF_vHStk0CsKgS1JIqeoxxgGGIaMDNSY4fIGR2DJiyiO4g1YIXaj45qqYsC2abmniqQ4"; e_fb_builduser="AcKxHa368yOke6gn4nUgjs49MHdTjk_BtxX-yZ6KnZLg1zh8Ze1FOnsM7w84wJ0k6V4"; e_fb_binaryversion="AcJuJ1gCAL3Aqx8f2086dNybPcrK1xGuVgZkslX3OPpGX8sJO26BufhvO0ZaYYHo5PxEJ1H7RRnm_IY_6QrsPXrHxxahNNeBNTU"; e_proxy="AcKYjOTE0-mvW3FkbGJxL7-bpwrdZYMM3DT0GxEKardvPWuGl19HKJZLhoNmtxwdqs1UWO5sEmnudKM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 15:52:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 15:52:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3991933, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2KEr8d_WyWnk1nXsCLIFzX', 'x-fb-trace-id': 'Dc7Sa6HIJ/L', 'x-fb-rev': '1011415368', 'x-fb-debug': 'XjY4aOMrjnvwJOzf0F595Qgp2SaqsV7z+6w9t819mhzMchJyNK84Zal19pkaseXxSCwNtq7o3UpWlamYOPtCiw==', date: 'Wed, 14 Feb 2024 15:52:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJM7ZngVaIq-kBdbm3aysNrTR6BZT51xMk-SEpgILXCTwNByGXlQn8RfgxGrTi2wbrRPuv5Di_DHJcbwOUs_4h1M5X4B1NvDgJQ9cqXFiwLYyiW"; e_fb_vipport="AcJxMMMNJ20fRBm31dD8bB6TN_-CWlpRjMxYFdLJJVSbaE5HXwcMGeXjPGi3"; e_upip="AcIF_d0o7DSe1Fm_sTBG5znX6omH7jlzpcsftOOFo_KfGo7JWgwdMq49IgBzMQcBUXGe7iwFz3HqKR4JeFbyi6Gz82OHkXAY9g"; e_fb_hostheader="AcJgDVeRYfAsY5ySFs8B7onZWTjW70ZidJdBYNwuqB3mmfIRI4yQ5epw-YbgEpqx2jcLhMtyAEy96bmd"; e_fb_vipaddr="AcKDiycu0hIJbrlU6GBopn-MfVaWLO1OpXhez6h203_xdpATcIPjkbxduYeDLqDbyTVV9wX-tsFgVwJ0eMvkrebrtypjF9v9hg"; e_fb_requesthandler="AcLx54uGYNTM9MjqJliFc3Z393AA8lA7qM3Xl6Kd4raPzovFOQFlA5LmnRkNFFNOU81yr8pwCsY"; e_fb_builduser="AcLB-vCLgO4dJxE9Y3XWYuJONsylAx28M-PnyPKtKBGHUoL9aYs79rKz7n2Nmr9cbYE"; e_fb_binaryversion="AcLayRqWUAPByl0XZhe8b9pRISwA5mHVc0M2nnxnOv577mJvKCO6tb5vVRyZnZC211qxA3GMIagfXG7PNf8k-52hjtoRLb4b8NI"; e_proxy="AcLhpa9aYmdZTZ3vs5ckGK5kRBi2COds5DZf9poBkOm_qNu4frlGrAbltMad4QzjI651i50B_0oRUSjOTIby", http_request_error; e_clientaddr="AcKBAivsXtz8p-q4xnElDUry6yUT_v6ufm7JcYw58IUtYe17AKl7RRDAYFWn7lAmxAxQyWVQ965eXKtR_Q"; e_fb_vipport="AcKqNHANv8EPCPvLXQf9FlURxMpUXdhvRLnw1wATTppP6RGLPQXLGn5FFOQl"; e_upip="AcIHkf-XdcN4zSxVOUtVxaGWOsRqAruqNfb2stqahJ2LI3JyRL6oy3jZikXedlK2JXEYoAv5hgiegL0_KAUSd5JxxWgKER9rNg"; e_fb_hostheader="AcKrvsdD30FLCMvnzSBH1YJu3jbyq0CsjTRS4NzNo2ej1tisG831WuhBjOd9Nn-0KKabiwUeh1Yxyv7K"; e_fb_vipaddr="AcLnsjiPn7y7M9BSOYMreOYxJsmT8O7jV2F7XdKxzV-_A7ZGttRLH_LGuNXI__W_ay8XaflyrQ"; e_fb_requesthandler="AcJfulx4cWJwUgIffrEyynqXqPeWM0C3B5urO1yzeAaRWRnzj_KSKkSN9CvMPXPIK9F6sCztWHc"; e_fb_builduser="AcJPPZV4RA7j2zc1p319EjvIl6h-yMjVk3obVDyrD0nA_4vFgfjqlo3r83De-l-Eepo"; e_fb_binaryversion="AcI94aHLvMckaTWkaBZj56g4OBcAL-euYd5FuIPpScH-et9IM-PEDLG90y4flt_J4OCfDtg8D3vLN2sjxVAUPIvPjqzIwGKApV8"; e_proxy="AcKHsP22tAjtSvfScWJwh1pQb3-s-8an-XUPYmsTaodt7ANq2kHbp0j30gv-LGBL-lmssYofSmxHTnc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 15:52:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 15:52:31: Error on send one message facebookId => 7470780986317808 02/14/2024 15:52:31: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AjZp7CnDqCu2KqAoMcfpIdi" } } 02/14/2024 15:52:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 15:52:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3992070, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARppRUNgisz9X3WWU46Mv0x', 'x-fb-trace-id': 'EZ6QKaQixyq', 'x-fb-rev': '1011412970', 'x-fb-debug': 'svSZM9dtb/h6+VDxj7CIGISAqWPKvnulgBBxJ1RUlvUidFAxT4MrPizf6rkEUqMNxIm3X1syuSt+TwvyAiEy0w==', date: 'Wed, 14 Feb 2024 15:52:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ-0aVah7SMMACQ4ufwxLyjktfuL2G4oEOl4XWp4WyDKx0lC2HcIu7Co0tbToBUiLOwUXE9faZyKjQLCow1I9WJf-U2nD5FicO_f2MLNbKX0p20"; e_fb_vipport="AcLtMbIOk-8uw9uqMDmx6hsDf9CB3pDcyVdsJViPTixUbgMk5Lh1OZIuHaHa"; e_upip="AcIy8NTrweUR-O9VjZosEi8vzYTqJnkN7V-hC1CEvUQPaf3BIf2ubT_b9hWPYDZYU2FaJVoiU1p1O3JAkl0Jsm5IqgcKPRsx_uY"; e_fb_hostheader="AcJgjfLAaHQJPLrZLnrQBHRKfplQdSQ8YoF89866UhoPMBM6isLbSVlOB6nlVf9ohRBrNmHLhzROGGOx"; e_fb_vipaddr="AcIZv1xTYd-CdwPvdtMpbVYRDUX9VVApnxopCLQXYaEfrMN2zJRO1ZJAV-FAAWeLd-Bte7lKp_pZXOhsrBqg29EUIjOAjqygKw"; e_fb_requesthandler="AcIwsdcKmO7L4jJPa-aSTCa4tP_tJZ8GJZhlNbV5JKTUMR87o5iiafRXLSaCxgWafmG_Ly048lY"; e_fb_builduser="AcJ6WVVHQLstAVkHwO939L58nJ0_VZW0nEoe0bpGtj8XUusxzb4wjUgn4allehei1bQ"; e_fb_binaryversion="AcJZz41svHihuA34ZoRp_BAbP0pUCcCCXgW84adDwD4IqRTQ3bb4hJgnUaViJqYFN0om0WhWzKF9eOwdTO8GswU3WlYeRUwdQ6Q"; e_proxy="AcKH0XTG-XaGm-38WFMo6NNYmVtTbd2ij3EVGLJepMP6QgppxwbGNjE6YDqRkYvMCVm49vH_uimtuI2fM10_", http_request_error; e_clientaddr="AcLFhQ3KQdqsGTHoH_5eGj_WUVe3jheO_IcRftcVUN170b9aIPTo1H6m-OX8gzId8OeVQh39YiPHp5oq2g"; e_fb_vipport="AcLisT6_S9df9qxk9FqHPpSljq1W8WiOmKKx5w-xj4MYpf9f-EB7w7jV2Zpe"; e_upip="AcLXoFAZzCxiqDjhPRpkNt4UMez9aE0EEvyRieS6lavVih8ZyqmRh5njVqTeProatbTeKRGBZVNNg35_HPQNByGy_i0dq4H8dA"; e_fb_hostheader="AcIQAchewFC56X-69oU_uAnkph9UVWflnIqk_mCSF1GxP50ugSTpVBxOgCEM6wMc_7ElMbX6E9_SYr_F"; e_fb_vipaddr="AcIoWk__7V1wZX0OczTB85WlQru23UbTle9Iubn6coEqE7nP0Ih9p6iTIrfcDP3tr35qKDbITw"; e_fb_requesthandler="AcIc7hYSQyJqY7IPeZ1urKH1H2v8qlpIwZCichHkc8uzH-JNSd0F726J8SnY7see_0Q_u8ojGEQ"; e_fb_builduser="AcKkpWmW4YSb9_-iw6JWrbJ6-yASJoLRM_WbJePsIn4zx4lY4GTkEcNBBMT74WoWMs0"; e_fb_binaryversion="AcJsVqAMB0_PornWo1Ai8i_v-0-lkSY7jwdxETSGP3N2zZhOv4Eq9sPH02b3qvSJT9x2TGC_g0126qFatoo8a05yPUSALKakM30"; e_proxy="AcLS7R7Ejv6YJ7Z5qV9GP2V8sGp9CsYrmwc5xejvNWdfjcT6tqaRW_TiyluKlqrDwTMDUBWFnYXGaBo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7470780986317808"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 15:52:49: Error on send one message facebookId => 7470780986317808 02/14/2024 15:52:49: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AWNhaEym1B3Ep-BOWB0zeep" } } 02/14/2024 15:52:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 15:52:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 15:52:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 15:53:11: Error on send one message facebookId => 7470780986317808 02/14/2024 15:53:11: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AJ3HqEZFwru-fLIbMFxF7Ir" } } 02/14/2024 15:53:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 15:53:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 15:53:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 19:08:30: Request bot not found: { id: '425997890871688' } 02/14/2024 19:10:33: Request bot not found: { id: '425997890871688' } 02/14/2024 19:10:50: Request bot not found: { id: '425997890871688' } 02/14/2024 19:11:09: Request bot not found: { id: '425997890871688' } 02/14/2024 19:11:29: Request bot not found: { id: '425997890871688' } 02/14/2024 19:11:59: Request bot not found: { id: '425997890871688' } 02/14/2024 19:14:47: Request bot not found: { id: '144313565649530' } 02/14/2024 21:01:02: Request bot not found: { id: '425997890871688' } 02/14/2024 21:37:51: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24780374978272754?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4051161, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24780374978272754?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24780374978272754?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24780374978272754?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24780374978272754?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuHDdiy1HrClJhMWpV3TOCj', 'x-fb-trace-id': 'DoT0GWzdNsy', 'x-fb-rev': '1011421597', 'x-fb-debug': 'q6WE+Lsgj4iv0uRasWXxkeLkE8Th6HiCNP6WduvZEVGX9RqEnPI1xO8Sum+8XgYuWWpvXrqjDbFImSJ8tIGGxA==', date: 'Wed, 14 Feb 2024 21:37:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKD-JAtxUj0BJ_UOYlnvkDHM-zR7P9XRw4-EY33w0n7PTWRPeFoLbqyYqtb5BJlvf88CsM5b2lDuiVM8xP1HY7_O5CyPLQlhoB1vemCtquOrrUmNw"; e_fb_vipport="AcLEjKng_bZk_mZruehGnttE2Fh4OPZjmmw2a_07VzXqeHYmREbkdbVxp7JT"; e_upip="AcKvjKaXOTwiteNkzg1tftpPelFU-lnEV_Oa45sHJQrvpKiti0jt-_KInpdBYLrd0n_BIZUnDzsDmPZpniGY1_P7bAfZTi7bbQ"; e_fb_hostheader="AcIdGarXVaOhaOril52hBqqQdh44BU6Q0Lk1Q9uJia3nEMqgbRZi2SJho9ep53Gps5pgrgoVdcypZ7Mb"; e_fb_vipaddr="AcLeDTVPyuE-WVgZVdrRCr1aCKL8Vb8NAomFKThaSv6GmVUwmIbzV5d7vykce0phuN75Ux4eMJoUNHF-UplfitmPeC15M2TnQA"; e_fb_requesthandler="AcL8xcpJiLlgv8QH3sABHBIYgj8CwH3E4yGJ4Ho5OONAdqLzbQVJH_F8PVIuJOuvOd2oG792LIc"; e_fb_builduser="AcLjCjV_b0IgJ3Pi3HQYtCa2sZtUIyeF01AEKxk8WxYxvx4m3k8waeIAlKOgAZS6oPU"; e_fb_binaryversion="AcIia5vraz22lbsSD7IEL2qT8RVy4yhPLeLLFRSfud-cL7Lf_oYGd5N0m0J51NvlE6i3pEPdUYk3N_1XxzQHXYhyVFOQFmOjTA4"; e_proxy="AcJ_Hv6LuKwOCgKczz0mrB9q2_4--IX9OVglQPB2Igc7arPlewNC1cy2vfRamLBqhnAlANeUk0X-Q5JBbrSC", http_request_error; e_clientaddr="AcKTMDeiQtIwJVwCATXYEdD3rk5FXPJheHaTdu9x7i57_5OjswD9HmZ5b1w7gh8BOlgvNCH0GOOnxitSsw"; e_fb_vipport="AcIuJXKr0INwgtvtF70gnYtXMPfDw2Voqc9KiszN2JG3qBkyOXbs1wyuhzgN"; e_upip="AcIqvb5vIrZinJlZp5tqfcvarclIzl64oTqfiuF0oXp3FTMGeBQUZtopQlux_1vwa_BsLMuMVj51wKwMvlfZ9f5hnJS5xGy3qg"; e_fb_hostheader="AcJtB2dcvFtEyyg6soqQR7w_ZkRXgGgKHB_J0XpM4eGq_BvQSQUnf9cBs7QNZW226pR9zNd9G1ocI7pc"; e_fb_vipaddr="AcL833KVkvnxnVY9UHtoW9YZD6L2xeOl_F34SeI0L08X7o0xzp_KeB6iAxUbtn7tklPaVA0"; e_fb_requesthandler="AcIle0TJbx9dAoXxOPs5RNTe39RulTRvYbAL3nybMu2FqI1HXbldukUqDpcdx3Pbgsuo5jdycL4"; e_fb_builduser="AcIu1mKSNbkMD-yRJjS10ZdEY5qxjphmhKXVy_Hvoj3W1let2JFegHjPp7F09W1Vz0w"; e_fb_binaryversion="AcI3kiMuqjJ_B4Ehk68Umi92JF5holLxOCSjefX1xvGrIRc8-dVto6gxTaDrlvDo56pBIcyPVdt9IzAOvL3lkAZT_WlKEIHvxKA"; e_proxy="AcIHtv4FFLy3CZsDWHdc612VHOryDi62b14Zk87kasVsBK-iqjAyPZsVBrh6YpMb8ktE_opAdjDgf18"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24780374978272754?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24780374978272754?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24780374978272754?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 21:37:51: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 21:37:51: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/14/2024 21:37:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24780374978272754"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4051284, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AS8lJjliuEweMg0SHGDBzYz', 'x-fb-trace-id': 'GZzjoXrjn4I', 'x-fb-rev': '1011421597', 'x-fb-debug': 'iHztztkTX3TNAW8t8dBlZvAtWi4+6XaDkHsY4ITdGAiIf+abQ2Xez9hFWSUvx7cQQr5Wsb8J+rVJ+Z/OhLz23A==', date: 'Wed, 14 Feb 2024 21:37:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcImZjxI-AtQDYxvMAZDl4PnLe2c-bABR5LDFjacrBsfxaHikGKtOQZAeowJnjPUL40uJkmvsDHFC1vQ-AIRICkuOf9hY8lZMkOvcvNxhulBTsMi"; e_fb_vipport="AcJBOkth59y7HkALK31DUq7UwnKs80dChsfrIBlHhzMFwVGBNlsnjOahLKh7"; e_upip="AcKljz9Zjnh59MZEZFFDdjndXDfgIQCwZ2MO4DOMbJUCYtio1dXkqDE4wLSWgRj_FYRDy1xJC3lzfFC3J_0_jSVA80-6JTfEV7U"; e_fb_hostheader="AcKX8J_0HhQ0dVGsS4YpEzPXRTkfAXBFS0b5iHPMUM1fgRjH9cVa1975P65H9gQTLnAGaIx3fa2vCKTf"; e_fb_vipaddr="AcJ75KPEp-qETO-2-gyQkz2F_0o44UGnEM_XfSUjCT_oP2pu-HzK-FO6se6hoROdUEUTfGazTwsK2cfoSJnZq-YkixtNHG-60Q"; e_fb_requesthandler="AcKm-0YBI26HY0HThkJKyLRxUO2fiUOifcPwNeWn9JXcFGe9OW3aoPfVphCqoiiAoXB2azeUeBw"; e_fb_builduser="AcKzF3n7Bau3nN3uRwXgzvgIbk7hp4-maMfsdsUPkADqIrCrPdUkNf5X7iphhWEXP4A"; e_fb_binaryversion="AcJ2JU8MbAv3lZi3FLsUMwDRrtlJm7UG5xut_sSqd-TQ78GCOCDsuUGrC-uIQ0xsqqdItvK4TnqhnRU9BoKoz0U5FPT4VuB-cqA"; e_proxy="AcIzt3mlh0FiHOiuJkPlKeILuUTor1I5OsIQQ3YywfTW5p_AuIAuKdGsHkPLebXIEjDuJkrOaRpVX57DzewJ", http_request_error; e_clientaddr="AcI1ivgXMLESRs5sfQC-a-rkJvDuENsIfaq-lp9L4R5RmUaG51JiArvB_GLE3-EyylWghoU-kOSsaO_S3A"; e_fb_vipport="AcJER1WBhDaaB3s-vWjWTQkDL1t6Brfuj_TDOspztRFgg5fB6JTRWb1y2sLl"; e_upip="AcKDax3Y_1KqQaQSB2KXolIEUbRIJzwTiyO1XiST3j0YCu5ROuryryaybR9czDa3_1FtpYA8B55uNSYQG6J5n3Po9Bwp_QNMWQ"; e_fb_hostheader="AcIjRyBZQQUuNItP3_aeQpQg4HdNwgX0oCaxidfYQIeT4Jtt-lYTlqBghKOJm3hvLyRF84TKI2Geyjh0"; e_fb_vipaddr="AcKXGHQ3rMQI0DsiQcqxTtJOgCdJJHX96ocIwKo0bhte40tBjJmwHnVZ7KQO-2tn5YdNPBY"; e_fb_requesthandler="AcKJjReQgpqYh1ZK5HqA0J95tBAZEI4mw7CxI_E6nlMC65CQpE52Dj5DFpZUlz976j_qTjSv0e8"; e_fb_builduser="AcIkMTHRdbODD5kHihXr1wkCs5jM69BT5euKSxnA6LErlDUrYscvKg5LCchqz8DYXAA"; e_fb_binaryversion="AcJSldUeBreQ7CYlhK-Esz84RTxhkyzjzw_etgTLuzadD8CuMU1EbbjSgvHCZfwINFiNx3y0XsIssM1LTtVmmGjTJKut5Vm2h-E"; e_proxy="AcK0zZE1JKBcPcFSqo8N2c0u0ZFtp5iiW6Jvj9J5nawta2OtgpHsGFyXFHlNRHtgk8osNaaK_oRsmtc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24780374978272754"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 21:37:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/14/2024 21:37:54: Error on send one message facebookId => 24780374978272754 02/14/2024 21:37:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AtHpgEVD6Q8Y96yQ18WUl7i" } } 02/14/2024 21:37:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/14/2024 21:37:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24780374978272754"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4051357, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJKUX_iDxdu0tjM0zwfnyUZ', 'x-fb-trace-id': 'APCl6pqvyBa', 'x-fb-rev': '1011421597', 'x-fb-debug': 'bNCJ3Z/rietQFsuuVz3eZV2wM8J9IV6Gs+1RIOucEBydP2cVmSAVPqADTmmxAwq/+IQqwaMM8+XtJg7SJXZ5+g==', date: 'Wed, 14 Feb 2024 21:37:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLCE7xVjc7oX3V_M-X5kF7Vw8z92kTf8Jy6SOqx9YWFAa8wKB45Mtr4is8-Xry6lqRjl3WrWfI9WNHTb0eazHlE18Vc8ddTuxmaSONxP4-iZm9_"; e_fb_vipport="AcIT99-ZxH03Aue7F9K0EBVZDu0GGYwIwOfMQfftP5rouSP02E6cS0irkEhY"; e_upip="AcIbZGzbC6N3QKiw4EioaHpbqZJcepbS9DiXgZDX3d9OMfJvetGuf3DFbjBimBehPTYevh4y4-72KloFsecsWTpCT-fmzXABlE8"; e_fb_hostheader="AcJ8Sulm2SKM6Zt0kf3axUIEC8dICKyGNBQxyKgCCnbkFQL1W-VTIPMwDqXrezPujoNa6bLO1QT3mOWu"; e_fb_vipaddr="AcLkFsmDy675FARPunKPJ2fY_HOd-xXBl-r3BTc4rXDDVsRVXyGwzctZd_7siHjQZc0FOUDSo749zExqY4S4Zpi5WMfQf7QOHg"; e_fb_requesthandler="AcKUigI5drkPc9jovXQ6rTIJHrGlVnilAwtfb0uESF1QJanf2acABMQiX8Qii8o5EzQffrr6bgk"; e_fb_builduser="AcL7R705pwPbl5dFb1MNCV006-wC8V32Uz_2SW33oNBh0cEVrakGRQJsYC_1eMV16Ek"; e_fb_binaryversion="AcJSAWuIqOCJBt_aSlahVWdn1ZuWgIa2_n9tG8ma73QAZlAhP_cDLsJKps7-QSKqrvL3uc3ejs0o0-mvdRw95VSfoR9QZGOcs94"; e_proxy="AcJnf7UTg0Gwtj7tQCs1G6TizHiGDHWxG-LqIfGfdnBKlJf_-D7VGs1sH3iX0KD8s026fKycfPm1CJzBSE9Y", http_request_error; e_clientaddr="AcLPGy7ob6fvn-Gk4A5pGJodzNC8xBs6H-SwnEkCpUjk7c9ITetBdVuBp5XNoHeQa_A6ijpHGVbo_w5i4w"; e_fb_vipport="AcIHNbb8SHEoooHZzWXSRDYViwzp_9Gg33NGwvT0ryLxdm1CUwRc_veS-IZ4"; e_upip="AcL0h5BqzQ6_8hz4GU2yiAPpHHxPYNVnJacbzB7W-3D5Cio8oxq3uoYUiWpJjh3AMadPxVSi0mVLFIl8VRulBcQ7DIcOQJVAHw"; e_fb_hostheader="AcJ_C4VWUBMM_-bZWN3RY04yzvz-hjEnpSLQw3DhpLP_CvWI6SDvfaUGZaegbByDmIPaA4Wc176Yuxb-"; e_fb_vipaddr="AcImtaa81z1l-EfEm38WFra0T1yACplGOcBrk0a20l2glg9pC3ch_AZHP8_JZ7606nl2Vuw"; e_fb_requesthandler="AcKL-gQS_tgSPLUOyn-9Y4mC9ihBXewX81j99S2pbFggZXCNjD8jAR0izFWFZQUK26Gmxo21Pfo"; e_fb_builduser="AcKCrSllrYAdLQcUoK-JIVqGQYnmNedAaP1FsqtTMxm64nW2GfFmOYso7jCyc2k29LI"; e_fb_binaryversion="AcJd-0Ed_bcHukF8gY0pDb-FNFqVa5sUlJmT4lphGn7IZouUh28EpeFyPGpKP1Atrr0Oif9qj6cs62lW37KIFk6trIUfpkvDUzE"; e_proxy="AcJ4M5ttSRyrVffQosg9Vt62L5cPIijcbaxvQedqKY4NcdRlikfqIermL7hHm1AggiZfbdsNXhfvz48"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24780374978272754"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/14/2024 21:37:56: Error on send one message facebookId => 24780374978272754 02/14/2024 21:37:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A773jGTEDlyYR3yR5YnjS2_" } } 02/14/2024 21:37:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/14/2024 21:37:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/14/2024 21:37:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24780374978272754"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4051496, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzlyOcaegZcyGLMkB5DIt8k', 'x-fb-trace-id': 'COcj9Ez1Dg7', 'x-fb-rev': '1011421597', 'x-fb-debug': 'U/HAZELQtxrYyrSV25TymtL84dj1TFYU75I44K7jLfkwkZgGxHe1xPjO3vHSpk+1d6bwU2E72HY/opK/rjFAVA==', date: 'Wed, 14 Feb 2024 21:38:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK-29JTDi22O1czhHcjtBDk8P2Yth9NurifeRm0FZkDrPn9aaJgeHrKnMLweIsVloUQ5W7PCaEG_HGgSA4QwVdadv7Em3Dz_ORchDwLvhYs9UyFgQ"; e_fb_vipport="AcIMfZYiEMC2kbUNRCbNVePb-3icHpNIK3tVnJZhvP6rLtPkE9c5cjDnSbNk"; e_upip="AcIW5Go4txVGaL_IwF9nWovv0cj3sa2bMs-J9c2eeBKEzBU51GOZaoKc0xMehKU0OKyYZoLApLxAcc0fPRF_1xLUMyGpVIn8kz8"; e_fb_hostheader="AcLauMy3jElnAHSWy3kLt36mdTSaTOzKa2r0tSxvWhuaUOnF4ztkX9EOQlRrZkNQQZybeytPU_RPFnzd"; e_fb_vipaddr="AcKdUeYC4REMiQHO0uZbR1NUJYUXA4ifDDqRWt4oKejhoeBoRy_fgCEubijBb8rBgDBt-w6zw4pHLU3WeaQICxv7f0lQNp0gHg"; e_fb_requesthandler="AcIskodU4QBbQcrxLUMq2OfpR6Sp4kP7udoXzUJ-aN2WFDJWqIjMMZ4hbfSYybSp2iSP3aHeWS4"; e_fb_builduser="AcI_FZqW2vCVxXyMJ-SVq6jB3RsLqObcogjrSYOJ1p3rkpIeP1dL8xUSlV4M1ELWHdY"; e_fb_binaryversion="AcKDWO9HpYDPL1rBsuyjk8PoNUTPEdUZTJFL2ZJbQccLBiacmXacRcgg0ruFvFUzVGi6SOfskghgoTNEueIx6d9YDmVJtI5dRes"; e_proxy="AcIXpFXnrpFAKmSarfVMUyK406Y-ZelV5AZlWQVFyXA8A11EXz_tX5LUDHJ73tnC_mYTTpYE-nOOjyKKsKuS", http_request_error; e_clientaddr="AcK1kc-2YOmDKKq6cg42vGIr07to0gnd57FV9aSAHUII4Jg6F-tI2fuPvFJlmm3uEcD1hAGoh1ilP3mnxg"; e_fb_vipport="AcIlWI-TP5rnK6aNakAUUb0qvb-qAsrqLx1AOK64tWSFueS7QbZ-bfLty6vz"; e_upip="AcLnHyTf1l1gpwIUsW_8vIlndfSQGVptxzqQJJO19nkQi2_seid6zxX0CTwOcKozZLW2zQ2_07HjsMB4usQo_AniDJQickjNNw"; e_fb_hostheader="AcJDTkuS-XzCPizTNevIZRwWWX_dV1nxx9465qfWBpfmgbDpK85cnQFglA3NUnVZNMHotTWzD_XIeSKk"; e_fb_vipaddr="AcJdrbHV1mOISTUiYJ-3hxvPgriiBSp5y3-n4_Pw_qbolwl3z5lJoPHVmULM1XGdbWW8zm4"; e_fb_requesthandler="AcKupm0MKnBmMeXDB4EWHfU0iRRf2F10sEnWauthjVd1ysoXQjR2e4gkxN-G1Y-0pfH-Fnpk9-g"; e_fb_builduser="AcJQp0pVVvrsxUmIS23o6M2iuSx9pYMs78M1KLBUjsSXRCDEcZOfE_Y2Sas8W8f-Oy8"; e_fb_binaryversion="AcK1T9VIUYxjQO7WA7HTU4aHY6jCkufeAIqBbaC_O5J1guuzX4sc4tMidpoUZZ6EvAwtWK9vMp8eqhS3PLwwrOYrrj7OpE-izxc"; e_proxy="AcIlE7trVctJUjyYAafrWbRkA6CXjlLjUyEQs8bybyeDFwcJjfRPtjNz0UBBPNgsd7RtB4F1YrARjgM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24780374978272754"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 10:58:00: Request bot not found: { id: '1591915494408146' } 02/15/2024 10:58:04: Request bot not found: { id: '1591915494408146' } 02/15/2024 12:11:06: Request bot not found: { id: '320637341295349' } 02/15/2024 13:13:52: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7289188251148142?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4208039, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7289188251148142?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7289188251148142?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7289188251148142?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7289188251148142?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArLP4jvpu2RjIH-nyRLEE-z', 'x-fb-trace-id': 'D6MR9XRUZ7S', 'x-fb-rev': '1011444002', 'x-fb-debug': '7cLnQbLluvlqCsOKGmVhIE9DdP0ZUm5ZvH3M0Jrn414Qqn9o4qcpNHFrB0hz5eVJ3bPxEcBiegJbtQoJaIe3UQ==', date: 'Thu, 15 Feb 2024 13:13:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIZ1kLsKqhE81WWTaZDikIt9-XkzHVjRiBN2oSVeL21YSC2XreMFQa2oMsOQ-OteCB6miS8UV2BD6qqAysx_13QSNX3esVXbWBIDeFBahtGJLJYtw"; e_fb_vipport="AcIML7FBFdfrCD7OOfVJJnPRQ419JMZ0fbCi27SL2E8sg73hJUEoBZo857jU"; e_upip="AcLdqv3GqO2yUqlPwU_np7GAs-rky556gqoHRpHXwbg46a5e8VRzUolpNo9CNFoVcAGwuxQHjkw0h_3f2DMe55QsXskI70GMFvM"; e_fb_hostheader="AcJCDWwvcd4RR_HQ9wC6xn0R6tFA6Pft5Ai5E-su2ZaGOS0bcrgBz6BZoA8jGALdW4B2T7KkoKaYoU7B"; e_fb_vipaddr="AcKXJppWgDfmlAvqqZjWjeXB2fkdLnjQW0Gl7WNVhGcxxyCVS6bEiXIJMFgvsO8TUONkHvPwLYe4va38_iW1qlFp7t7DfsmluQ"; e_fb_requesthandler="AcLSW-WzRb9JRsdbAYR1vOa6trYfiBBCnh_zNl49gB6BJHpeGCsxV88ZRp5vMZHh34qtVlbrV38"; e_fb_builduser="AcIRP7KUGfDAwZMft9jEX4wK76Dy1eJgpdby8BkCK5EFM9mkYiL5fRW6M_ntaaakgnE"; e_fb_binaryversion="AcK6O5H-6nJtninDUhsZsQaw3Dd2csV7Ll_mTd5TWTTjlWy-hbC-7Y-ZSFaDgRLSg6lx-3uJOxJzq63ESjqcBpovl-3z_Riy7R4"; e_proxy="AcJ_ikwJvuauZgfz3NmZND7kknxk1uhwy6YNuc334rzzNglWRccl4pPhOAYd11jh-wQCPs7L4ezO_ued4clS", http_request_error; e_clientaddr="AcKuxle5ZnAlPqkN6jo8QClKcEZLPdEnFxqLIuXdawC5aTMhzDzpSQ27HYKr2lqi8lMTpZMTaR5SKUV-yg"; e_fb_vipport="AcJWrlEmf4_aK3HneMUA1HpZfbfFfe7LTWj28i7c_ZPUXuE8brdYOAZthHw0"; e_upip="AcL8Nfg5-LcE3ufO6DjnnACUyXsgcN6cmxrmwJSgglJhsxCxNHbnqJZWmqiEpA4YJJY9oHS9HoxdcUnYVa8IfB9KP9705J-bnA"; e_fb_hostheader="AcL2xa4GsVRArHzkIlQdiODw_QrLOEdh-JT0rCyyIv4MabKykIcXW7KYg-FkUS_quOoiEQ34aQd-HBZH"; e_fb_vipaddr="AcKk5AAJx19KuEFL24oM_3Fbolm7W1piYDlZeVwlH3oGni0fGZR4OgfK7rOxxw7ZC6gF7SY"; e_fb_requesthandler="AcI2irsv6BYqpCR-Rfu90Hie-2OMsFYa-lY_1ho8wZk87v8nNwbIu7VtzHNaKA6JuWOg9DyqG2M"; e_fb_builduser="AcKgpdDhD5p2TU9UUy1HZb49m2Cr7gYdbxaxCU2TArQt_h-SSLeyVjYRlXj1m15EhJc"; e_fb_binaryversion="AcLCZ03WB1ALTQBKCl16Doo8_6f088LoMcDwK5NKqqMTMA8YVLQitNtn4akBarPbLY3LHgqwddcn0dLq9vAoHJzKFMXLFwtO53I"; e_proxy="AcJmYlCEaf5l7O4WoSHCuhNLeTzRmxqRxViehxDy_GxfQzfpq-xNzEzAkOZq7da0lCggyuOCxfRSEvjR"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7289188251148142?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7289188251148142?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7289188251148142?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 13:13:52: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 13:13:52: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 13:13:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7289188251148142"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4208157, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASEPHcfv7z3CH6UrF3EA7xo', 'x-fb-trace-id': 'GRaqM0Ogz/O', 'x-fb-rev': '1011444002', 'x-fb-debug': 'inPYiAmQ75OR8geg65WPJlfA0PeieKs8KHeHhZZW9ROOwiChz6y3jJYEvcOpLXuzGSqC5QMEDvZTOtppfljqdQ==', date: 'Thu, 15 Feb 2024 13:13:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL1tDk-UF4lLQLtQbjOvt6QBA-Slo3t9aCnKqqIPggmwzyuV6FmXrqYnZAM0y_3GF8LuQmOUF-jJcbn05ArXKQiMe537CZP_ruv8Yjg6_78bKaD"; e_fb_vipport="AcJOyRI1nFgB31XuaWCfW6h1rsz4U0l42tB2QTWrJ1BQMVO8pQLFrkTTf1d-"; e_upip="AcKMOhCkq8uWLrgXCb0aIbApWopWfAz8rS5gtifoGDK_1mNRM6xNizBaKoMDKhrO18ZNKd8DyJnqk8YpluSH6jnilPfzCicblw"; e_fb_hostheader="AcKH81zU1_Nmlg7uZDC_G3GYX7oo4YEaLVDnHnwXDqYXDM5FO-qazbYXUpBeggpIZmhz979xFg87kiDG"; e_fb_vipaddr="AcKaImZjxgOEzkQI_uiMysX1fkX7YrtECXawePFKsyOS7xbQ4w3RRtGQVJ1yzFwPiTHWIJf4ZACldJ3E8vqyRF837qaLfeYCYg"; e_fb_requesthandler="AcLs92OPLHIJEjw7SAA4PpObQpOtqcnYOc79pwwKioVL9sBX7P8qxUipTxOMmf8otO1fX7r46CU"; e_fb_builduser="AcILSGhfxaeDtwuxb3g1XnFDoRtpRXMYt-LIk2sVJY916pwHPKzIYR7Fx4WAlkD8veg"; e_fb_binaryversion="AcK8Z6Y93YmIKpuqfyw7nIycQDam9eQ-TNkj4jX5IvhH7UNaOAC62yvpOwIgZbRL1ObEZWJUiqDjKGpS6v6PfjCMHBkhgftfhqQ"; e_proxy="AcJDT23URKzVghEj-0Doa8BPyv9h8TG_Zeu5shSq0EEMB_EkZvvIqF9F9jqEOqNrauewPDmjH515lg7INrs", http_request_error; e_clientaddr="AcL9jutzjPFk9g7eYhAELKwk6D8ltdJhWkoFut2Og1gvHbJRug4FGZnSEkBWWNUImYZ2fN5V-jKcusuKVw"; e_fb_vipport="AcIBoiOmfTiKmJJ3NgmfV6zJqMAB1AUyuz2V09szIZ4Mk9TGFd_pLgy_7sTM"; e_upip="AcLqVcr8_gwyJLudPzq1TDBrAIiz3xDniZYjp7wzH8-yUfONWJAxkUApBYEQfl6jUa3YzHwP94jy-6izu8wVm6l-QofIrlIw4g"; e_fb_hostheader="AcKkd62AIq-sXs0pV8f1O4q22ChoDzKEEYQR4so9zDyZiUczRIM1XZADR2SKHsWMsbDBuYzHcHfoVmAp"; e_fb_vipaddr="AcLdp_1noTyUdTgY6K4deoJRM_6KGWbh5iTPZ-Z8d3V2_rgN0uakPlGHa8TGHNz6lRSqZuM"; e_fb_requesthandler="AcKcmi-4UL5bNr9HEdOoQ0zN_rcnhwp9vXBSIXLNNhyfzfR2mqXdfNFeSxBGVw2HMmMbT1eS-RU"; e_fb_builduser="AcLyxhMqWFvgMmIjCGYeOC25fBLqVwbWyFJNjihnl2jqzi_U7bi8V0Fv-lJ_O-tG6_U"; e_fb_binaryversion="AcKnEnCj6QjSSZtz_Av7Ssu67sCeuQPoWfIcshqIsPQ7TJ_lOI1QjYQOrT4F5Iv5KxJp9ZxE7xxHXSAA1KM84lMR5vzg3h-AXd8"; e_proxy="AcI53XUNNW9sK4avlo61XwAWUj1QDJX6AzKVW5M4gt8Zly3u3dxrixeRZKkOF-W5X6M7H5YBgo-4Eho"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7289188251148142"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 13:13:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 13:13:55: Error on send one message facebookId => 7289188251148142 02/15/2024 13:13:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGNNu3LxM5qzwh2Hr_3apHn" } } 02/15/2024 13:13:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 13:13:57: Error on send one message facebookId => 7289188251148142 02/15/2024 13:13:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A-wEa-LFNvli0zj9ah1jhbw" } } 02/15/2024 13:13:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7289188251148142"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4208230, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWPAZzJw_vR2f8kOvEUGKww', 'x-fb-trace-id': 'ADzwyduGLAn', 'x-fb-rev': '1011444002', 'x-fb-debug': 'kjXR8lnR36Je/+0Sfyzl2nFX34cu9Rwl9ydg3b+fNwDCvTGJ2Fi1XYyrtYRtu2HOJAF6H0w+u870fs09JBcVAQ==', date: 'Thu, 15 Feb 2024 13:14:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKd4YbqEgv3ByhDjswYRKgWkuBkQlz_1G5-WPVolIdNTtYFKYASjJI4OS0qaDDWzFbpMMUoAFXPw6873BVdAj8HxTfp8wmq7nN4VMrVKx6Ihj_9Cg"; e_fb_vipport="AcIa2vs53xUgivsiHfd4DA5K3OopIho-rSkZwyMpSviAgKBqqEaRoEGb1x0w"; e_upip="AcJP9eus5BBTYojptNu66xlv1ywqqz55efDs8l-11jWkUbK5nsu8dZ-atQr_YEmlmSu1De5J9GjAhAFLeNgXIRyPUaQiHuBtiFM"; e_fb_hostheader="AcJnyw3DP0UtG81UWj6RcwvZTclOgym5ryuRLf1JHK4cvM7-zM26O24v8EgvkpVTM0Mcbg8yW2cohv1V"; e_fb_vipaddr="AcJES6vh_9RcEJxEq5G8_fJfzndMyUWKK3X3-YDFurHNJWRihRwSJdewTjmMzzdDJiY-qUqHMoSqO5tKuOLEeUFIaT03hOYumw"; e_fb_requesthandler="AcLUhfOYYtVRSFAKgDZhyb1dwtn64F6D5WhWKsvVHknfmwUvEsS43KwUvM7AXJZSsIk3M3sWer8"; e_fb_builduser="AcLeEHl7sfkPWpSikilKiXDKW_sm2hQix1DnNzjq-vOxrgCicUfWFQWXJxD2XycEIcU"; e_fb_binaryversion="AcJBkfG4dvo3fof1dC6m5M4RHdxeIj9gKMQZzh3_NOP-86ztWtEwHzccvuQEvxVy0Y7FY5_LQxehJ6nk6962j8S7jee19gl4-T4"; e_proxy="AcL9g1azg3_J0ryzsrLiN1efMKCfaqHrI3j3jVjKT_ypNlGfFDya6wIst8kp2btUwSOCTmwhDhS0GoGDPNUt", http_request_error; e_clientaddr="AcJdtvnl7GU2L_OHn8Rgs8ZJ1DeCyB5rG1lhyht4KiG2lFQNpe8uTRU2BxIId2fxCl3akQcNtI3DvyLF6w"; e_fb_vipport="AcLj9vIBAxFMVmb4Ica4MWXN3ID7hH28XMP_UuCn3NTAQpBPYyi28IxaOaK5"; e_upip="AcLvtUXUP_DihXU7A5GrOuDJmFzQ-qu9YUEq1q1R423C1f46WKLgcmpUmAQaSXENSExz5v5wzKkUNT5W0LqT2XbdM8yk8-s_Dg"; e_fb_hostheader="AcKNnTCFerpdK-PsC7ZIDs8KROvyvo-bhThv5IsSS6Y-TYurgAh-JcHMOV4Hp0v58DmoBd_bNAFaSUrJ"; e_fb_vipaddr="AcKS41CaYh3P9gbRscXcTjWfFM3S0mKrh04mS1hdm9H4Laa31BVptF74_TdRR1yX_-qD5lY"; e_fb_requesthandler="AcJqiTp5ZL_2hWbSdF_R-AUfVDT1-1lkq3oBdDPZ6pnRM3H3xg2hqbKZukbuejP4xKM2juRyx9Q"; e_fb_builduser="AcLylcCcPLgEtXJwxnOpxgyf8P2Gh-Qj1kyVR8GY4b8SbRwTLE98niCE_ZqUsaFHNdQ"; e_fb_binaryversion="AcL0uML-stOQEvJHebyeJLMSwIqm7a6m83eDuz2J0PciWRrbTPpuIND5Zhk8uSJ8U7EmQYrASh6GzRVToKfupTeJzhVQFs8pICo"; e_proxy="AcKWcWudvxMef_IjuD5BdIXcQY84kzh5TTQ88pbtgM8mWF1UH3ERl204PSzxbPOYl2PktFmnZqXRYfs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7289188251148142"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 13:13:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 13:13:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 13:13:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7289188251148142"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4208373, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZ5lcrq1fcCqvZAQIcNsaL1', 'x-fb-trace-id': 'GDUX9afQJPg', 'x-fb-rev': '1011444002', 'x-fb-debug': 'agod/1n1IokUkiq0RU6zTVMrsniwZgnzpdBkVRxZmKsXkBY/SpO1FM2iak0PSVNPRzaO0AviqtvesQOY0Q9mEQ==', date: 'Thu, 15 Feb 2024 13:14:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL4OWggkDAKBYAHfqsOqdg1o1JDtQA2YJO2QPRW82FyS93Gf5Z5WbJNsPwbFZ4renCJ3Wqf9uVDYf-YDMaTx_XTErVDhdy8zY2pj7MTRbUGvuuI"; e_fb_vipport="AcLWhePAHmDz03ghP1ot38R0WFGQS6pNnokmo7oT4JGGLZIG50w6O0jmexP6"; e_upip="AcKSMjoP1GPsfcr2dPpPXcl5p3IjcA4oUmyQoi0aprA98sfwWm7YSLfBre4GxlYQdBkoEAo_lnGtMQR26NiShpkg-l8yMvkkJjc"; e_fb_hostheader="AcLTyvF6-f_zboX7ZF-Bf6OlckREjGVHtiIb__B9w8Dpa2zSbgGOyyMGQs8uDANpIYd6qGA_Hbpz0C5Y"; e_fb_vipaddr="AcK1I2H0cpdzylCjOT4BPe17WS_zqWjHaEoE9HX_tP9JJKeUfbUNAsdtRkNgCeGWg_lWDIOFT85ARks-BoMm631Dc-kbaieepg"; e_fb_requesthandler="AcIMIWEf6lz6L8OM-YHRZAS-DtcHxKk2b7X-fDmCP109CU86evhqe8ZUCTVfCm89Nec5Y3PNQxM"; e_fb_builduser="AcK1KQudJ1ZoGbLbJ6o3BdVMMb60mKZoejPsrV-Tj-yeAj4mrVa1YUFXpmsOv9f_PJ4"; e_fb_binaryversion="AcLeRV2btNDSw2xKoAsbMlDgbigN0EJo3yPzvDasRwreHvo80PF64NWn5fxXkZELwOJs5z1cYPpt4aQUk-rfkfyaf3cpTpe3VO8"; e_proxy="AcJF7s7Bao1-JLNe5SwpiZl_zXqdfbDOhN7MyekCBufGKac3J1VjbvKuq_TDwgZjTCRu39ciXB2lI8Ij2kbY", http_request_error; e_clientaddr="AcKFOOMTx8uXkEGsv0IhaeM7VlJEukXpt7-5tJJh9gCOseYbYsvRRL8sz3kAjBWXmt3E0p-UgjTwjeUnQQ"; e_fb_vipport="AcId3QmCn8plZJoQUO7WXZqBJNTzT3r6Y0PSFuQdrpfU7iNvyKVBfyurmBOc"; e_upip="AcIR06QuJwt3kdVdCUVGiCy5dLjJZLxg_x_87SDDEPZLtBmoHVoEgagvzBj1S-015_PCQxaEtXnYdr9yJCKPIVPgQwlzm0aglA"; e_fb_hostheader="AcJkoh6upnKFInFQvc6fr1wVPQxLKExdJuG9s1k5SW5U8bXVDNl2OLgIdjUvG4Zmr8zQ17vSdyfTF3UO"; e_fb_vipaddr="AcLfrqVfPsGePRSgtUOCpi-0NZwkxmgXr_uHm5_oP3r2W7UTmwlfo63KsACdWBqEcia_MIE"; e_fb_requesthandler="AcKLdV9zTSxUJjYo5JR9sYtfBaZ9t4cOxEeon5FwFp9D7LwklOPChYRvwWzDhw0xC6iZ52kUh60"; e_fb_builduser="AcJQAS6Q7MvIw3UJROLMhp5kj8NLrdh5J8pzKMkWDOheZKNhJYgx0crT0JY3BbX_zLc"; e_fb_binaryversion="AcJvM0G4kHuNsnYPcvd7_RpuEXNvei3klfkRxYz-GRYtK6AmoEJLKiDXJjR6nnH4kapNoy8yVU7N3cTjM03_c4jd3tqamZokX_4"; e_proxy="AcKbW06IiIpVSejccEJ78DTUpz5uEQfaMa4hyCiuSXelOYreCdapso3IDABtPyIWoXfMDk06j7QMR_g"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7289188251148142"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 13:14:10: Error on send one message facebookId => 7289188251148142 02/15/2024 13:14:10: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbBKIsEwff5Bpf8_ddi1SW0" } } 02/15/2024 13:14:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 13:14:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 13:14:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 13:32:36: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6750775438360576?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4211798, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6750775438360576?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6750775438360576?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6750775438360576?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6750775438360576?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9F8V530DqcLbsjjID_Z0vV', 'x-fb-trace-id': 'Ersa58hsfw7', 'x-fb-rev': '1011445120', 'x-fb-debug': 'xqVjLd5Uc0aea/+dkZhybQeck3Vwn1af++7x3S5luSwi+pB/69ktpLEpb1Y3zO8i2eOcYJB/AU3Jr9FrnccbmA==', date: 'Thu, 15 Feb 2024 13:32:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJXPgxcNo6J21C_GkcvM6c62B0nqexDe0WURVcnOOkb-GrUONyiIURwHqqNqGi3ju7A07Z9uHgeATICuCzczgGnjx89Tx8QZKtwnrPxNFzR-rVr"; e_fb_vipport="AcKMMP6JVaz3eCJNejQKoArXqOGOwsiYBrtWRAC18-0GKVNv45zVrVC-q5Zo"; e_upip="AcI0m6bKVmSHm9XDwPtiL4UDYPskdPSdVXYdJXsxEYGzVlVg2QEOqzRxUVS8LwP0AWpDhQ53tz5sKDiYD2SmXwJtQ-NpGGqtTA"; e_fb_hostheader="AcLwvA5LdcRJ73BgQ_J3F_8muUNhQlwQIQi09fhCO4No5ie1KAw7JZdNnLTO5IXF726DYHpVcQlOtM2I"; e_fb_vipaddr="AcIgYRPe15_Huizt1hbfOWu-sczRf4waiRhXfSwuXeZrs--KaAu1iAEVepKWOrLEcj0YgId_1EflGephEGjJ8R5IryVx3Pkdzw"; e_fb_requesthandler="AcJtIHkR25gzIwxPm5Iybv_CXfSGV5SGQPvi7JOMqid9wplF8UrqZoO6y572awvjSUt45iStqzk"; e_fb_builduser="AcKL4hqYJlq_yCmHfRxP6wbvHUDwJUtSaT15B1YZa63jV3SVaJx-6KfCIUZ6mBFvtSY"; e_fb_binaryversion="AcLNF3feYWfFQ2IXO23uCK9grREwrO3SwQ8tdZe9Pozx5h0zRCERXo2cm3sdzsYzhgYvvRzxTqX2-Pm5MDl-ERrMG9U4-1GhBXA"; e_proxy="AcLsHq46_coDld5q8qDBCQgodnglK-vVlfi1SicjnSaFwSlcaffCILBeL_R5-dIXG1ZZo0fgDd1bwwlEzAco", http_request_error; e_clientaddr="AcJCnM6lemZlJxdBKbqPJg4BMj8Obx8pTEWCwY9cpVWe37PpO0ta_DyLRXyYcLMRiUZ_V5VAD76oxMg3hg"; e_fb_vipport="AcJz0JefQCHsygHBoZHSiVRA2m2C2Qntxzx2MLoNIDWbHG-X0nxRxywJhRyr"; e_upip="AcIerisLBpRiNWev-8Sd09gy9xIDs7Jz0mkTdWWfLl01FgdwCZz_H-MEGcKvUnv_4pwloCGHbkrg58HUbfL1bzTCp9Ow_E7ccg"; e_fb_hostheader="AcKF6-xepwuRx9yeNXAf_sDisxoQHh-Lw0OZnaOC0xkNbjHJX321ecG1HJp4OOZl35pDQb4Iy29v-0Od"; e_fb_vipaddr="AcI6MQwXJ5u8ljyuGAhgxaNLFYEbHkLjFLd4p6CR5kWZluHAdqaRKnhJatruRCgbHquNP4s"; e_fb_requesthandler="AcL4AWf0XO9lKsPoz0MsbThMePP2C_XeQxX2SCKf-buAUdZHmuZx_rhe3mPH-RK9H0GZnWNIs8I"; e_fb_builduser="AcKY2iDabJDvTKJFT8h0W09UZvo7o3KE-hRyMY7Bl3asFL8LuTvDwb9dG5H-uPm0k4o"; e_fb_binaryversion="AcJOfA6_evbBurZT49sVWl0OSmHX6JhH1JS_MtU63HX0hSF19zC2513zGqaVsSO6wqiULjyvvsBp26Qb1wDK4GrCLa3kXo73ayo"; e_proxy="AcI2WJwoyoO5yM3P5D9JtzoyoFSIkqMs6LzmQlVzaHWqm-VwkcacJYQ2Jq4osIcZV0nBkyrIge3RgXuM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6750775438360576?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6750775438360576?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6750775438360576?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 13:32:36: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 13:32:36: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 13:32:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6750775438360576"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4211916, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1i-dAmiiOvEneNgOSF79Zm', 'x-fb-trace-id': 'DbBuxJXpY1D', 'x-fb-rev': '1011444002', 'x-fb-debug': '8Fs8AcGj9Jyesd+x8YZb53nOR8sP6PzQJjeRLXWs7xWE7pCjZAH7QSmvLdERESCIvbtoqOg4FtEsNh87fRJ5AQ==', date: 'Thu, 15 Feb 2024 13:32:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL2jPVsHAgG9tDhAkJp5zLBAXTiNpmf4lc9qGEWXLoRx3q9TivnCvfYknom9SyFclKjjSKpy4I9zmnsyp_ecsyTUr8nYxwykdKUtvE-wxgs11mB"; e_fb_vipport="AcKZc16R0l_m5uphG4X4pJf9xVhFxOH1A0jVlM7zoKrRcSKfHmodzCYWur7i"; e_upip="AcKEmDEBQ4lPPz9-30_5-f_Ay2VaKsLzV-BlkLK8tSImhhwLSo1yDP0BzxdwCeNtQmIvR9zZ8ePrJaYHvtQ9VGQjIPt51sWlQLg"; e_fb_hostheader="AcJu1x60fWGR1BB1LpFTWp6wfONGcCXAepCigq68yzvcnNE02YFMW6WrH2T_02GVDePlYgW20kGVWz6M"; e_fb_vipaddr="AcKn1HJylRXCAXMJzS-tnH4zG5glZ-EXyKU1uncS3Owb6WSNGuiulPuWlKHOh7JIcUYB03kY2-TZaxdbAr59VutfgCyH9R0cSw"; e_fb_requesthandler="AcLiBpqbFn5kOvLMv_BTaPJeFBJDUZKRy0gPZhmUv6IKpOG2G1e3U5w7CnMBejxBk2uB8GEWnuw"; e_fb_builduser="AcINjCZGptjv_JszY2WEYTiziqNAc68-XVZOZ-dF81jFBazYIN9dCHsFaWbpmW2rppM"; e_fb_binaryversion="AcJKucL1ZMOCPCUQlTYYk2Csg6VrXaRl5J1QihDlHHw8FjXzuAiBpR3hMUcjat8PYnC_mJiki0qFyGCybAqcxdFfD05lDM8uRts"; e_proxy="AcILHXUwELSeQKYfW0OmF6r-azznu4mBkxldv-2XWcaCdd4NfTmRtayVUmxrUubd0pJxatq3aZXskl500JK8", http_request_error; e_clientaddr="AcICgCdy-6febqLPXa38CVaz4X1396aJHNI3-fB1qJhc0A73eAf1SkDNX8CDMvUJxADIVgZ_r6fn_1jQqw"; e_fb_vipport="AcL2XHEpuN2qUB4Dv6B7ptdQJmvYPd4kb4t2W6Q4Ziv1bZCfWUSK4Uwjwv_y"; e_upip="AcIfPnxmS2SkBT0nlcSpkG-RktVtZkBOc-inHIjxJc-ZAAGbJCxpzPc7k1G5Ezl58FF6EVeY8gjosSYBJFauHou-V2_A7WxPJQ"; e_fb_hostheader="AcLlOTk2CUCu6-YP94jFaspi5FVJ6k46L_EtgqObV6yLmfNHbMLhu8cFokEKs_8W-JrBpzqIB2a9YQrL"; e_fb_vipaddr="AcIlYyxDzMmrXNh2ruTxKCbH3LJZYg_gHWhUj0Jf-XBOn3lpxB3_HcsxFaNqfF8MhZbV5RQ"; e_fb_requesthandler="AcJBfQf_N_ZfRKr_creP-io2FGFw4MwosGr_ZKTvMqE5YNHULBNwPNgsoK7D5fg8wUHchFPyOWE"; e_fb_builduser="AcLHT6nBDlpGB6JoGmfn-SvZmZq0lIShscLOI42ZQ66OFtfrV168qgA3g5obF1scYNs"; e_fb_binaryversion="AcIwd2PqunwbCi3Gls_YQpA4DyH4RXxXqGraaOFbDSgcM125EXrEh6i6eB1i0T8bMSHNIvVeYbtf2pKzRqu7fQHQ5DZRDcX9r1M"; e_proxy="AcJn8n4vjT5Rl_I8UG5V7dDlDJBzgsXO_JMpL65xe5KjFvf9N6CrtgmUWwwB5alL8charaLSEdud0VzC"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6750775438360576"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 13:32:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 13:32:38: Error on send one message facebookId => 6750775438360576 02/15/2024 13:32:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AG7UsGxX2pBuo5Ok_wAYmDk" } } 02/15/2024 13:32:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 13:32:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6750775438360576"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4212004, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AF8DG_j7ovxdiC9yUKMVFLk', 'x-fb-trace-id': 'E6ZfYopKe6y', 'x-fb-rev': '1011444002', 'x-fb-debug': 'uVQlXB27sHO130gAutd4GbechLAQ9AZWONMzX7xuCqsRJzFBqwwGNxpYQtjKYWwZ9IhPGsDNmDJjkwFzxevssQ==', date: 'Thu, 15 Feb 2024 13:32:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIEsWwjl6SqN6jUumXUqjc139zqYwytEeJblqnzfujlYK6sOOwbuGOx3ZfqeNF9cSi6lNREgLS1zmcU2MN7QPkJlZanQ2oYaJwMH7LdECYnYkmg"; e_fb_vipport="AcL91d0EP0nk0GZHk_hSXM5uDvSMjrdeu8nqClr-zD6iCDdYpXFwFgvmYrqb"; e_upip="AcJnYspTesU4uax65Aq286DFhu-vq4sfUAcqscc6lckY3pYr0ewX487nZjWh1Wt-DCdcDwoNDZKgu3Mu9yVQRtwzrcV9g3nmCw"; e_fb_hostheader="AcJSqn6UREWxKCChX3NZZs5PQ1lPqpsOiR7FujRlIl4fIHqDY80Igv2oOQzbnAA2MMXw7K5r9cRHmBqM"; e_fb_vipaddr="AcLxfWrnrkZBWdIZBzTnH2iY9BoRyGDl822xXoqYSdN_jev4rVQK-Z43rpo0mVUhB2ds_L6kofF6x1-IBdEFGR3-Ku-jn9q9JA"; e_fb_requesthandler="AcKU8wgFCst0s9orqr38DNZVmc59171vpBdR_G9RQqeb8FIQS7jfB4GZLyJ_BqnJGdg08ES7pds"; e_fb_builduser="AcKnZOuAWGUN3VzaoK01hSnSSxxHNpUGLfYVaMDxfjFKBiSGXtv2x8XKMj3SO3uWJXE"; e_fb_binaryversion="AcLp5htWkZoIocINjZ0mGsoLbpfH5ne3GCs_Wch1qvBwZqRCKV4wJOFOha8gy2sEGXqTAiBEUW6xx8TXCMqKfzCmp_LmpDBoa1w"; e_proxy="AcLYvYBSU97n8z9mtCwLVE5mAdCFWUc1vSmzVj66M4z39NajQZNedsOTUKTzS4wB7fVafiRe3QVFIjNwPDab", http_request_error; e_clientaddr="AcIXWacViDMyxP8Y3Fks9NQPUh5TTjjJa6HZygst_VgnRxh3-R7gsQEH8cRx_pMNI84u3MaDKHXW6KywLw"; e_fb_vipport="AcLozrSBLSzhzIb16J2CYbq95s29z7QRlwavSkYjFdChmJTMjTo5OsJ7mzBB"; e_upip="AcIePIQEvIH1yTyV2wu4oNnfAAbDifv9n_n9bgZBblcgAOghNx_YAPcjih5R6WtRmKLtyH7aPFgpHD-u91cgoh_m8VKoTmddLA"; e_fb_hostheader="AcJMZMFaJV6QUXesGZdsNDrNH1xnB_J5NX_maalPQ-xn9NN7eOBepMv7MXPpv3-5UHxYo9VDixK038lj"; e_fb_vipaddr="AcJ7UeaKPkQkrqFmBBoO8xuWVIx1FNWpIgv3h-yVG3Y8QUbD_X0226MC2Og0ZYFiUFRq990"; e_fb_requesthandler="AcIlitP6KqLIAqWPiCsfB7z4u2NxzH3sZ2YsrpFLAernUIPgEc6W2KAAXroqtaGiwy4GDBY7PpQ"; e_fb_builduser="AcLR1t4KKxqyHLqUJTlVxihQQeiG7CY_uumtkxUtmhmtnrcYLPKEc9E1aLYzIQ0TFBA"; e_fb_binaryversion="AcLklx1_AlKVicAumzxR0CqZkbiaZA9DEl6t_Bl0AQUeUnLlE3cXijmxN1H9lQGwDk6iWt64KQSx33Ik5KFizz3trt6phHesWuA"; e_proxy="AcLFpkFOVkplCuCq6Bi7PnN3SrC1UwxeBKRDewGCGxp6XfVo9PcJMvgfWy1kk729oc2RR5mZd7tlAf8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6750775438360576"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 13:32:41: Error on send one message facebookId => 6750775438360576 02/15/2024 13:32:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AFHnBUS_KIPBtT1FNn5sniY" } } 02/15/2024 13:32:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 13:32:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 13:32:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6750775438360576"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4212145, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKVshLO7nBe-Goy0t06Q77m', 'x-fb-trace-id': 'GSZIlaTWVTE', 'x-fb-rev': '1011444002', 'x-fb-debug': '6SLoYF/MBoy00HKitMizUBeTfkuQ2J5TPlx8vLtiTjLU7GxpmFrs3MM+g7G0rz8WGp5Z1nCkDCT+5iU4nGlZLQ==', date: 'Thu, 15 Feb 2024 13:32:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLemEde3hauGIPb4gUSqy43KD40u68AtC9jRrLxu1SoCDRhIUodNdiLkXpoHYTcWOdLbNOcjbfz46QDGsZoWNg0mTgepAUApnTdv0aQQkpOwXQc"; e_fb_vipport="AcIQYANWig1S4Y2oa_CCmvUz4QsYm4G0ExEMKfif5AN3fOaTMfrdf1EGnwgh"; e_upip="AcLY1BgZ_qwAXrk1AkPR0zr0lwe_cysyWDfc67AC5V48R7SGjvmcZqeKQd32Svgd0TYpJnQKspKKLNSo9kzFx4StmEe9h7ureHc"; e_fb_hostheader="AcLIrd4LtosJQij3GgWXy-YiG-qZZ7p3IAACNWOsfncGOp2bteg7ouinp1f5WCrJFAL8RZZbiL04bilH"; e_fb_vipaddr="AcId6X7HOFfoqPJT5YLmoB-gJwqGfE3jJv0Ft-_xWAPnLqkIBQ1gk25AMN2tn9qH3e4RtTtOPqEJZ_u6OMLUH5n4EeNciO3MLA"; e_fb_requesthandler="AcIqvdRpT-VWlWChpxVNZNET3iocHFprJR1-U-fZVLouTDIO1TCIpmbDE5nPZSo4klNcbvq92u4"; e_fb_builduser="AcInflX-u3uMX1YMi-iTMVNIPidEVBgI_SwFc68e9rCtbevp1L7SmKqx8rfdL9ujPN0"; e_fb_binaryversion="AcI5wfIT_m18EM1yeReCBxkYTEQRbNQnIMPb2Sa_X5zlpF6w5S2SpCJ73DqtpIsxQC7MmOQDUNeWQiHUNtyID9vaNtHqjo9H8ZQ"; e_proxy="AcJdkJyHqqTAZkVjoBgXx9e4MQXBX_HPCXumsnuaDrJVaBc2X-iDZawpkXfZesN3fuCyRWnkOyEnXgG4lyOi", http_request_error; e_clientaddr="AcIkIRpY_DJKdjzkNEAf_U5Op7_RPSGx7SqJrt-kILHsh8o1IatHf4o5z7TPu6bRI0YAuGpEj1RjEqQHfQ"; e_fb_vipport="AcJfVqgFWSQpNhQ6JNjlb1Ocit50VPCeBsXGJUexFka2miMCWnr5ZlRCkQqR"; e_upip="AcIr_NRbztIjRvGqJJ4r-i8zbPx26axicKy3JRZHzzqvTqqMzgj5EgIUPckCRlYZwPmOtOE4VJaCKMaUKJPbgj5L_3BLHXjyKQ"; e_fb_hostheader="AcKD7-EITBEvW44Ev-xq1Cru7Aft_ckejRm-NY7eKzrgV4049WmWZzcNM3mlEM1KDToDidJAc9wog-Z4"; e_fb_vipaddr="AcLRR-NxMvJ9OWstamX7HKB5JaQZRqnonOpS_hn6QLXRAnfmjvJp94113OhHzLyuIpc6bJA"; e_fb_requesthandler="AcKyj4h5vQ48GdxVSAh0YpaKqN0rEwm918GdIaeI-BIpm3ZS7_m9ImVfhXXeDPHgYmRS-UrE3f0"; e_fb_builduser="AcJCbIqq1Nl67GsJOl5BJWVdAlNoYxx9cR4NuKY0nY9kIuXvL8cG8fTELXOELOn-fo4"; e_fb_binaryversion="AcLm5g-9MaHfbittrg9TMTUfK9sLsxopahncYUp-c_MbVf8u7o60u86QullODvdib2PXAN0CAYy5x1uNZVWTHsa7B2TBNKCqVoQ"; e_proxy="AcJ8DcEpc025irlW1f3ivWgCINAj2cuH58ayLu1QngPnojusa3YCL5yjuUg9ObiQhJ6orSwjDGgDBVE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6750775438360576"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 13:42:19: Error on send one message facebookId => 6750775438360576 02/15/2024 13:42:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AWt21p_c6E5AQWOxUFilP_j" } } 02/15/2024 13:42:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 13:42:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 13:42:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 14:11:48: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6821298621315265?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4218994, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6821298621315265?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6821298621315265?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6821298621315265?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6821298621315265?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AI_FH5XXfCdREo3VzwXPS6T', 'x-fb-trace-id': 'A+GZd/lDwjZ', 'x-fb-rev': '1011445120', 'x-fb-debug': 'Soj48WGHCbKyGzVZnCDvTT6h3iiluTe/QISmOKeos+HqhaKWK5mzIN4vzf3uoWzIutaROS1qUQv/D2YaSeU01g==', date: 'Thu, 15 Feb 2024 14:11:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLJxjSs8hXKZMt5Q9vayxCb6WR4N4txAIFis5Y-Ojs1TKDUiLOYeXGO2MQgCSHO5TL-by_mIpo1m_bDgUaxWsMIAIqhSut9oN3vI5CDxqksxne_"; e_fb_vipport="AcKKyBvFrhFwqLTDW6OU1_7_7g7oT2nRAhv6U1rFerL1fXVnp9zsqrAP97hX"; e_upip="AcJvM0JymNwPYB7vNqX-scQHLbss6tKqqcLC6TCWc6HzIg5s71aM_DDF2AqstQmehWz7Hn72-BxAfNXrfdYTt4qQ3k5frP3-_8U"; e_fb_hostheader="AcK6mk6pQHmMqG12od-NYTwJX9ufFortXGi3ZvWuSJfrs0iRGVt7EJR4GLsklU5213RZRQOijtyEcnY0"; e_fb_vipaddr="AcIzUCDW40iC886AERLCVmAzsYTkzrD8fz2tAINNeyC1RXzMIflF6fyU-C_30ES1U483pX42DLlE_LV7-tUPuG9YtI7pwaq9hA"; e_fb_requesthandler="AcKr49KiD3vIogjLDUFHMCtVSoFuv5JnyH9yWtq9d2lynZUPROrToNLb-aqgI3RypU76VfcFC70"; e_fb_builduser="AcL6sZSOE7aRDIlc_ueGa_ZmvscyanrBxUlsJnjWoLN8taC5bRbOxkOhcVDhDUySkkA"; e_fb_binaryversion="AcKq5nKnpqGXSq5Xy55zp3WQMgTRsGVPF1g9XRqjZeh-lxj-MdTxRGZ5I02c3bF7Q_RYwqwpIxV8xQMWNXEv-l680I14mYiwcqU"; e_proxy="AcK7dl0j_e5TAWEWXVVDdfp59IOKpBVCXsvqRN84rK9Q0RYX0Fv-q4ANogsftbdZxpBNSpmy-T11HtHC9XxE", http_request_error; e_clientaddr="AcIXS1qUSoD8gR736c0WRBu29vbr8bovTaXO2WM2YU1z5Vt_HFA8eQ31BYsa6wqBHm40Pid127fCs61c-w"; e_fb_vipport="AcKco-9sqz_6BSIa7lqDyrZZR0nD-XjiFGmdUEM6BDnQC6f9iNZ8jTlcW680"; e_upip="AcK-6ESo-9ugVQY1K3TvNEZtCF7gLtnPUY6koTgqMwImEjQoxY2b8fIHczCfN1_6b-pghWm4GH2qk1Sd4EFFcbOlpnF68pJEUQ"; e_fb_hostheader="AcIcfTpNU4hN6iT_1Ucr_SMgw2sgDR8oO2V5QT8iLJjr_rwE_xI1UE13EG53DGHyGCUl_BxEoyy0ntbS"; e_fb_vipaddr="AcLWUNXYGhuyi28H14YLOUB6-d8IXRTZTq0HVaLnwFosZ16_01vgohoZh2wPfPsgnlAyYG4"; e_fb_requesthandler="AcI3BppQxg6TKbTqJp63LzRnkFENlJ953QzlKbBB19zZmpTKxwvdPoAdIUoC3vzq_xHUTeOecCg"; e_fb_builduser="AcIjnvp-rgESq4agWyxdiYvKqcQe2XP1IqUIbudD06qaDCm2Q1ciR2BWjJzuKHEaWSg"; e_fb_binaryversion="AcKVfuLoSaD6WftCVq7koIlbNGIxRBmuVFAjsMupt60VVXNeDwQICkULPGaXcj11mkzfxZfY0aF9nSAt-B55wxg7NecziqCGVPw"; e_proxy="AcKKpul8B50cn-q2fw7SSyWgC6THKFuf_oWvmScNiujClGW0ATBEXO1iBFOBW5b_dVgTSdFhxNRaM0I"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6821298621315265?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6821298621315265?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6821298621315265?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 14:11:48: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 14:11:48: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 14:11:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4219112, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKbZIZfa3QaiOuZzbRHxuiD', 'x-fb-trace-id': 'Fn7THjlFhI8', 'x-fb-rev': '1011445120', 'x-fb-debug': 'KTxRFnwZRHHRXwd1u/6RWBSm7NY4V/aFfBIGrgoNvwvwwWtbvIpwAzxDSnl0YHar3Isa+TlOPrH6F0Be2zbyGw==', date: 'Thu, 15 Feb 2024 14:11:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLGJ8yjaeadTfjCHGGUXVm9CM1PKcTCV5MiJHqLh_h3Axxw62jpo0xgdckjonso3gc90FtfBOuce92fd-ndZ893WSYqEFcpBSji3YBJVaDIWA9czA"; e_fb_vipport="AcKeNZ7VAXJcasQj1YTgxbJDrj6KiJQJ-8As5wCEgz5a0kUv7LMNR-hmgzUF"; e_upip="AcKeAZJaWyoAkQJyDu-z6SeHvGM9amsOqR9Tabf5LVj05ED2-Jt9U_kmriQgPdSEvcHO2NKy87xi14kTBDh-K9du9Cl-xMOc4A"; e_fb_hostheader="AcKPjQWbZWIA546ELbrauVls9GVIONplWvwNROAd3k7K3Xkydym8EdrdTj8Rl_9-5uneMhmb67NywOc3"; e_fb_vipaddr="AcIXVaF84PD4nCnsM2AGwdMGMGlTG5XZLVdADPYf8NvzhnGqaAf5K9s_FpVPQ75sZdEun8CCzGSVWBdhycAuQEf2gWypbgQXWw"; e_fb_requesthandler="AcLIxP1fePBDTkhkvfpL_PHC1JENOPp_IvipFp26xIXPzj9Jia_YcOijUNz_FdCcECqANK5EmTs"; e_fb_builduser="AcKIYQuHC8N0_U8DPuV8wAt3D72RvbcXy4f4MJh3kRhoXhpugGM5-DeYMaLSD1108-E"; e_fb_binaryversion="AcI_p2l4j7wqmVO5BSq1JA7bZg3bz2arDXOKZbF5VeoMZQT8ID6v9zFJnJqLwrd0lRU1h4zc6EOH_bI0Ah17c-SYnn1DdAU1vkc"; e_proxy="AcKRko4RO2shwUB8F6guWGiYLSK4PFx7UtEPPS1x5IDyntPLud06G8YCYRZV-YoPiXrkFH1e6_9lzvWWcos", http_request_error; e_clientaddr="AcJteKYsmPdv8EWL615GR9G3gqukddprcEWMaN4OnPOXOWfdiTfGCInA9SfZ9QnvpQyqxjEwKuTcp3H58A"; e_fb_vipport="AcLorzFg0kjY4CQt2sGTyoRrLIDI8_QmUfkqzO_-HOgxk0zFg8pKlZ4m3A0W"; e_upip="AcIVOjjjmLUppUxvWEVBUWL3JtUKbi1-qd9-K10lwBYeLVT1ZTwnanr-5WNaOpBxSQqS5uCFZHHJ0KdXOm8CA5FFa0eBnLIa1g"; e_fb_hostheader="AcKNGc_4jbUfHGqKMaN14BuIYMqQyxnZHWWp-lqLgdS5DZv4_eVDX3Pbps_EdkJMx-2yLu36f2SUKWJl"; e_fb_vipaddr="AcK7eTpm_ewpzOnsjXWoW5bjo-BB4oSSh28pgDZkzQPsoHWizio3zLOL0GWwR24zPZ7a3YE"; e_fb_requesthandler="AcKlB4iQhpV7o1_-LBsbePxv486fX00JnBMlQ6e0N0-bXWxx5xWr32J8blJqQxcJJEfa2Oixfls"; e_fb_builduser="AcK7yQCvTIH6d17k4YUonrJenDvCrMi6fnHY4AuZDQptCHNWhZhuTz_QdSrIO95Fd6o"; e_fb_binaryversion="AcIVLDlhxsu6TTwD3oCbiTtX_u9Wu_VGeyHe0C_XsQ0HtYjWXWSAsg3AnpJ_fZ6IdCJhGP0iRzJfFatLlQueNFJ2_UENfqfLij8"; e_proxy="AcLMwiweOhtiLrA8qMwBnUGNLPbuVbJl-y7yEHP7Z4gZRTl0zcGvOOD9wqbJe1Gd3DVte-K1FOuTgoo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 14:11:49: Error switching inputType 02/15/2024 14:11:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 14:11:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 14:11:50: Error on send one message facebookId => 6821298621315265 02/15/2024 14:11:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AuT9EhVHnS-hhrp4OzCdkOI" } } 02/15/2024 14:11:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4219284, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATdZw3BIDK1C0iV8WRgowAI', 'x-fb-trace-id': 'EhRHU8hCP4l', 'x-fb-rev': '1011445120', 'x-fb-debug': 'ciXc1s9EaOuN9YdE9sWzBmdwrYPazXwzQylbovz2CcxYU/fr7/VRCcThaRONxzSKGXcRWwSBcCPv4ZcW/p8aXA==', date: 'Thu, 15 Feb 2024 14:11:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJqfNaJ5XtOCGCfU8m47J19AgcT0qOrQU8JAuVAcquSvirMRxaUToXssS0TlWFSKr2PV9W9lv0-h6FWoHcPml0kMZMbT7cfx5zIaMHEHVw6TLFQ"; e_fb_vipport="AcLljDGAGyVXI4ARuzVwqTeckZlJ-tLcMOpCglFwltRwQ87yM27bPjTElDkl"; e_upip="AcK_GyJR5wGfelu7URnbtqYN03RHI5-UASR1TQv86TaToehBMH5WBDsRHhZ1WzEcWOgccE1N7NxliQ4zQRTE4Ns1ZRcnz-8aqO8"; e_fb_hostheader="AcKNkYKnukJCeZlCwSBN6CCm5BOUJIlfxxphgEyF7MXZxOeMFKmWReuCylVV6efB7qOBe1SVfFY3wAla"; e_fb_vipaddr="AcIC937aexVWqJBOiBDyura_r9xbm_9SqGael69O-xXDiOYHvaIkFr-_8Mbor2QZ7fW0kUkCoUoQ0t-cle9Y2ehijnBstOjL-A"; e_fb_requesthandler="AcJsXzF6Hmf2eUnTiO1ylsjGKiX1eJDPq5zh_N85gCGEHezldQcJ5KJl1rLe42CU39tZ1IURKew"; e_fb_builduser="AcJ9zZ_-lsit1SzM083PN69_NwmXH6IwIFE-Oqtu_rdakE6VcgS_W6riBCZdbnTEunM"; e_fb_binaryversion="AcJCEFyeM9c68q4pfTYLHKLWcvNEw7Dg9Y5_dIdFBiUs670wvGv9WEfBh_IU9ZOGsAHeCNFhejCNAc33P-yq5I0k_smu7gT9T6A"; e_proxy="AcIRwVw3w2fKYKRIb58eI-V9pLbtePT39qbIK68IVFhvEINVu88-Lht_mgzLz69afT89NkMe-ANjZWGRERUT", http_request_error; e_clientaddr="AcJ0WwMiLlkxZ4YrTYyWLX9bZhvQrBxPJXXBC4poGH9aLVYatwXHyBspBnxFZr2nki6N2WoKrtdqLfeBew"; e_fb_vipport="AcLf2KeOtl5PKI-RkCuRI08LsRuQwNgAPRCvjh-MnbfvYdL0WpGi6gMQmGYZ"; e_upip="AcIq4r3MAuBlfpinOO_MGxR5UwHwDkF2V9RtOnrnALRcHcZ6aItYS1Bm_RNc1C0R5i8rL9rt_HleB_CPdS5yEXjiz01T8kUPVw"; e_fb_hostheader="AcKkPD9trh8F8uMW8jnO4gpnwNUHqFX0r8mhr16rE7OhACY7UjMmFEqQx33Cg6a25G430i0OsPmWjOKZ"; e_fb_vipaddr="AcJ0oYuvmarxf7u6NqfXubBKOdWQbwioiUpWWhhHUDr39hIMHmfkU9OucreAAoqlWOLujDQ"; e_fb_requesthandler="AcLuZI2K-_cLkoVD_MohKQMvYK9pqHDLwjpK2eqJJ-MbJQqYzmlgqeiUMmCYA0AcJ6CeqMwZgpc"; e_fb_builduser="AcIelZEZBteMIX37cl5wTEK4noQfV5GnKwkcfxbZwfZwc6AV6FjFklUNkfxS-Ze4Ibo"; e_fb_binaryversion="AcJNdZYL3aXMTz_31KXpXj3hTp3sFw8pH_q1RlXnPX6T9SZ6h4gk9ZgRSpxuiZjIx7Qp_zYq2JcR-9DrRfB_1tEcJ7wyXc-u0fY"; e_proxy="AcLIKIPUAUgxsiTtLfKk_vWJZyK3GGUhX5roXhv85a1Tl-JIXwbs5TpoyPbEjBg6kEUrnQNRsmFlr0s"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 14:11:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 14:11:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 14:11:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4219423, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AP40XQ5_JbvhL7SHpbZ0I45', 'x-fb-trace-id': 'D85qTmBdvPf', 'x-fb-rev': '1011445120', 'x-fb-debug': '8xxMElfr5sbhRYVv0HotpufJez2wNQ4mUQnWYls78FL3bOfRwVsEg9jhKIxJKYnSFdvHGc5NYBi4uc08gnigPg==', date: 'Thu, 15 Feb 2024 14:11:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLEWsVqW8So4yFkLLPKYiaElg385lcr-An9an5UP8sU2hUJFqgXZTSDkMjv8sOvWf5hI5WTMWViafW3EVxEY4vv-tYMamN5razR6CrXTDbm8w4f"; e_fb_vipport="AcLcumBmivpC2pd590dcqt6LsnBk1cGEU-MhqNh4b4YO6voahlR9S6i5PKHm"; e_upip="AcKFMa8djNTPzGDyw2rxOsO2yagOHnmhUICEiqdiCNFSRcK_FjrkcP3TwIqTCFw-M2wQj5iMHcc3wNvQ6AxUSjva_uQcQ8dtQI0"; e_fb_hostheader="AcKCc_S1o3kdhdx8MXzndwZy5HilG-e7gO0Veh3bgx32mhpUJxHav59sn7PRIm0_UApyEWOLR-SW_Gr8"; e_fb_vipaddr="AcIamPWH1Dsx3eZFl0k9jEOVPDeHh98aXqEL6q0HPeabNZxBFUOoPpjpobLNA7BXAcRVx6kyloxqdIOm5oG3ZTTosJf7hm70ag"; e_fb_requesthandler="AcKy1w4ixfcIE3_kAtQYypfMf_iQ58sO0Iy-5JYJZZ2v-EN01ohQPHkhJO82pB5OT0gQ-CW3q6k"; e_fb_builduser="AcLfH5wO7H5FK6ek3lbL0_tzBD8U3YkDz66B689a1qYkPnHDt6KPZOwlJrNyw4cKlic"; e_fb_binaryversion="AcKbbasMeLWLrHLhcObQ-5oMv2u41XjhSjy9ixJp6wmCTf92hsffM4_sER4owryo5e_tnDbQPQG9aKdJUqmGfafKiYoV-95C-Xg"; e_proxy="AcISQk3F5q6jovJuPISfXj-0kk6d1wBK_S31yXjZ3Ptb62OSSynVqxlGvSkYns7GS8emuUWZTNZy9lTgKP6w", http_request_error; e_clientaddr="AcL8hp8fNfoZESrQ5JAyL3wIeoTVJyM5C5s75zfYCPq7lue-YGiZB7siFB1DGmzqMSFjCYcCJQIAlmMAcg"; e_fb_vipport="AcI8op3d4ifD8bn6mkCa6nB54EMAqVJOyEwXerNTEBWhQEVU0Kg3-AJbSUgO"; e_upip="AcJHjqdmU_doR2pbsDlllqTPrCQi9UIzpisI9NeSdzCPwV1SDpHJVleq9kUwuwiRX9yeoZTP99nFwwzZ2v0CUJiiJFlqZm-8WA"; e_fb_hostheader="AcKbUbp5KYB2zVow0LqVCyM1SC_vg7vrKfuAcnBP3TpJkQmH4m2tCl2ZqlazJN-FIldiQ5PmIhqSC-FE"; e_fb_vipaddr="AcJeB2p6OBRwuCEfpv5yr_UbaCr8hnhXxIZdvCPvdmStItEPYuNQudsm_Q_hBZcG8WipHUs"; e_fb_requesthandler="AcJxfFOQEHDJbCf-fHgaVsUctlCv0bVeoghu7Y9rJ_ocI401DJCjoKX3ZXLg4zwZfY8e9llVNx8"; e_fb_builduser="AcJRaVWH83y6UIUMZGXfGfEXAnv_rGTVZbjMG5Ra8JUo5StqGbO9O-0LY7OB11PzoUI"; e_fb_binaryversion="AcIrXd8o-TpOjoE_7r54XWQaOKPFb-WcQB-jLU3ss4an2otVd3qPB28kkVuOkJqTsh4_7mio2avPwRSxcuVImed1caWsi3qtoK0"; e_proxy="AcIrdvssjOBQZBxoOnkcxxWtxBuBwfb-Pub2WBguiN7F8OzFrsVt8L_h1BkQb8SOtL7Ie1LFHgyko0Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 14:11:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 14:11:50: Error on send one message facebookId => 6821298621315265 02/15/2024 14:11:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4RCVDGZfwLKAe0MPJJdBe3" } } 02/15/2024 14:11:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 14:11:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4219501, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoiXiD25BR4UpyReoo0ysOc', 'x-fb-trace-id': 'A5WjTvfM+Ee', 'x-fb-rev': '1011445120', 'x-fb-debug': 'SW+HfJLOemkeIQxs/vbY83QhJ24zwq1c4Xwb3khDwxWU4FgjxANoyfc/wgjzVD4OWhfbGeNVTKS1iQLrmmveFg==', date: 'Thu, 15 Feb 2024 14:11:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLjNUnZPh_SYHqhV-OzsBkJ98pplxNwOMWwXXemsp622LbAuheJ2XSpNsAAvlxMszCRJ79swUBZRZlVBZWO9gE4Jqwnar5i5zE9JmyPrI4RiLJxOA"; e_fb_vipport="AcJRgV9TZ3pFy6vCbW7DbbdNvCzGEsvxLiQqml2BCCPYcykzsbxJEliaJZ6-"; e_upip="AcISYYJD_OL8K90raP6iek-ljb3sG0io5taanMvY2_4ZbhrMi_jsH6hrW0dKptl7jVfS0JukTk9p2b4wY0DAZlaWuFQibF7fFw"; e_fb_hostheader="AcJjuPLJNR3Jhy0mfw8U7F1DF1CpPeeT6bDwg3G5jt54R_MvkQbTzGpZJYXbV_mM5WGUltdpQIWOH0FA"; e_fb_vipaddr="AcJoFTe0YcHEwHDQjw9GLM7oHH33KiX7eWnBXZkcHzUArl5f6xJIgo859eJsykcFdjFPrU9zvuDu0-vfDE1DcQU9i5Qaaipo2A"; e_fb_requesthandler="AcJf8yhRU44Xaf__sEi1axpj6XeCYM8cvQYna5G16NMyGNzfhtqR03DIhcTS-Ae5yiP_KPp4c2w"; e_fb_builduser="AcKaKQ5y4wXEii9q4K0itOBmYdd4Cb-3BUeMUuIxe0kePJ1hvRmgCkJ8wQeDpCbJwGc"; e_fb_binaryversion="AcLO-PVJyjRDkQTZpMRRrgk4etrwB8Q-WPtl40CRZtPLexfypTAW-VXcFPrDSFDxhdYVJ6GsAhDnSBLZCb2Ehwu274NmfO_cKaQ"; e_proxy="AcLA-rSMhkp0_scEVZBsPPfmsZl9AtnpmXDr5KCrAipXSuq2bs57VgsE3GXFviNEB70kdIVBcBJ1faL8Zc3a", http_request_error; e_clientaddr="AcJtGEskdflAkZ3QV9_bUtjI18k6T8jEQxztZfavmGfDQQKZlYt_mEk7WkhZYBcyssjrAQXLP9ONTv8cgg"; e_fb_vipport="AcKWbnWakH0zGfbASAr8n43I-Vt6dNKIJX_eotgjNkK5hEwznps81t6pvU90"; e_upip="AcJ8oMvI_QWZh8rfvN9uof6QsTfiDeLag2QQ5zn533AhLcJY4xXzZRNimK6Q2G2x3QDLzXlnL0j9zlnyLcxADf9ivoxXX8tWYg"; e_fb_hostheader="AcL-xbgr9_I1m_SXi40yH3oGlMExm-bKzAvdZAdqD-eOoYX55FLmoNBx7M2ZqtWCQrl_iNzH7YOB6Fi7"; e_fb_vipaddr="AcIZTeRmsSTZS8KKcHKjE4_D_tjQJQ7uZgldg__PhVSNqaCLqL4qbf2ripU58ADpby3e5PI"; e_fb_requesthandler="AcJFLKzzT94nxMzfy27NAryzLUnurbQtmTULxLNFnmf5WykLRiQG6siIj5mwyuaxIW6AuzMB9bU"; e_fb_builduser="AcLIybj9k7pPMzbYenzeitonkAEkT_nJiLXHySZX37JM4Ddy18tepN2TyLG8FOGP0lI"; e_fb_binaryversion="AcI-ihk6swO0yglhqUGF1TU3M1KCuo5x4cwG-iEnM_gWJHVR39pUr8QU3JqeQk63KQe7T49g3ixmkrDk7Ww0KjUSBQtSHHxe3BA"; e_proxy="AcKOcN-SUFm94OO99crdFHk3u1HI_iINfzyEOKHT1laiRkPzrt10h2dKjp4njXihtGgew_ozTL8Vlj6Y"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 14:11:53: Error on send one message facebookId => 6821298621315265 02/15/2024 14:11:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AlMcEOY6DgNaAJI1Mb8esIj" } } 02/15/2024 14:11:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 14:11:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 14:11:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4219642, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlOFbOyEmhHX57sk8ZmzLka', 'x-fb-trace-id': 'EdHdcu5jyzl', 'x-fb-rev': '1011445120', 'x-fb-debug': 'yp3alxAyHO4dKqDRTl/xsWXBb1r1FPMaVIVM79Iw5fav4eSreQ2uzYjMaJ3rW6yuOHkC7V/J5JxpAqQl7zIqgA==', date: 'Thu, 15 Feb 2024 14:11:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJin1j5Bc4T8QMbGhRwWi0QpGjqSUyeOgx59s7T8ahzbHM9gogTkUfxxn3hR1rUMbkIWkx9QAGOOBlpfAejsZo_nq_H_3v0UuZmWnNLT6GDbMghyA"; e_fb_vipport="AcK5lZc3vnP9vmZWjv7hAofX0w9741f0vRk8t0qpyTmDG-bgT4RabpWg4ROM"; e_upip="AcIgTC6fTyc4lPO0dd53q5skZT_nPH3hNUYABGISm5yfVscIilWoJag6-Zidn0EF4deUWSJ1RT7TaFo5uzCs2NCNTZ7NL-HBlPw"; e_fb_hostheader="AcLJ6FAdN1cPwB1wOxEhulRXJO7oRZV8OBa4t3MB42HJ5v5bC1IWR4zKPPKsHHWjFs7s-m-KXx3VldCo"; e_fb_vipaddr="AcJN0Oi3qoKyYC9elZrJCoGCHlDB9UswyFwsi2fdmhvsHMm7DjiaKzzs12GhwWJL5pSwbP4Ro-BVEjrDeYBdo5RbfuZIKbEU6g"; e_fb_requesthandler="AcLElN4nNNukm4lczf2s2eOIPMw9RYIMmR6pmO2pqYXRNLeeZycwXqM4-_seLVaMZRKOJBn8ytY"; e_fb_builduser="AcJuzeqKlTHnUGmS-A3gt-Eqsx6ruBsGqXnk89E9j2YcdI4P8R_sJH2sRPFlLEJ7j7E"; e_fb_binaryversion="AcI6BF4C-L8cw8olxkI-8VndMo7I9MRjqc0jpuLMjGBCo8m6VnlTnfkvghTTMOGPC76QkG3hRRRrbntMIj5XmUwBUgOEjwuAsGY"; e_proxy="AcL1ZNFPapIh7UfZb1zGQ0g0goLyJ8AftE-uwmu-pBjtdiwtRgvOOedr0kJHbGx9CFhX-_nGlQZyfRnyTH6v", http_request_error; e_clientaddr="AcK1KLZ_H9PJP5yorZ9v55AnJMXU8iAQdYIw77Dh5rTMWUhqwFrC2e08RU_0VcjUfJBl7smDENfr2LWN9Q"; e_fb_vipport="AcIZOWin7YHMNiaVpsgAl5TtH5VqlIDXEzCFQOPCJnozA6bHJtTRAoH_0Mpo"; e_upip="AcID35lJ7VehAnGDWryHJFp4uv1V48Vf40fcIEdyhpdzZx2RuqectcWaEV64L6fiUO7UgwTBrjQKRnyR_sdbdkOvWYTmmR7U4Q"; e_fb_hostheader="AcKSorNvJkqVCjsWMy-lq-4EwbRfZ8X3Tx53TqSphkbGB1LEqvEtBy0fwHyHSwjESNggzj94PC1gH_jU"; e_fb_vipaddr="AcIngIye8_UrGzrlYB-1MgMpc7FkoTEZShsW_nXtNAorEO-lahVZIkrfkQNYwhk2WeVmuSU"; e_fb_requesthandler="AcKezx7h4lJRPSfIKe9ctiaD946ZxWrpx2yDC1kxLBchDkFE9Bu8CqX0zBQgrrwehGMpSYEDcm8"; e_fb_builduser="AcLMRglZo0fNKXh2ZWkuvH_m03Jqk7KdDBlK7AsbGGJ-l4L0rw9T_pheOKnEFA4bc2U"; e_fb_binaryversion="AcJ6Khk-O_YGVjRANfCYyCWeD-ynDxAouIxLrn5o8BNvULvdOqhN3IjOtKEsQqUwC-oIpixK1OREwCEGB0Lpw4LkxDIFJBIXsWA"; e_proxy="AcJ4fnT_kFKjEXYdMkvC2DSb3JMJVB1aVWyLkey8EFU6El7n66GQIjVzDnG8xqTbpF_jTGMAVAqX7us"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6821298621315265"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 14:12:16: Error on send one message facebookId => 6821298621315265 02/15/2024 14:12:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUcVJcYgeU1s8XN1dY4orOf" } } 02/15/2024 14:12:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 14:12:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 14:12:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 17:01:06: Request bot not found: { id: '133788230054854' } 02/15/2024 17:21:24: Request bot not found: { id: '133788230054854' } 02/15/2024 17:21:24: Request bot not found: { id: '133788230054854' } 02/15/2024 17:23:32: Request bot not found: { id: '133788230054854' } 02/15/2024 17:23:44: Request bot not found: { id: '133788230054854' } 02/15/2024 17:24:02: Request bot not found: { id: '133788230054854' } 02/15/2024 17:24:20: Request bot not found: { id: '133788230054854' } 02/15/2024 17:26:31: Request bot not found: { id: '133788230054854' } 02/15/2024 17:26:47: Request bot not found: { id: '133788230054854' } 02/15/2024 17:27:35: Request bot not found: { id: '133788230054854' } 02/15/2024 17:28:45: Request bot not found: { id: '133788230054854' } 02/15/2024 17:28:45: Request bot not found: { id: '133788230054854' } 02/15/2024 19:45:02: Error on send one message facebookId => 7289188251148142 02/15/2024 19:45:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AVudqzZMDUpibugo-SDk3uP" } } 02/15/2024 19:45:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 19:45:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 19:45:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 22:58:18: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7561324217219745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4308301, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7561324217219745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7561324217219745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7561324217219745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7561324217219745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Axt--nAzyrD-2JvSlaUJbwt', 'x-fb-trace-id': 'GgSdHeib/b8', 'x-fb-rev': '1011455605', 'x-fb-debug': 'RnN8V2fF6YJYu2LNlHXmewJS/sSSQ4+/sWazNa3bf7EFcnKGpyVQvt2mK3v3NZnkzudX1snfaE5a0Wwk0wutDw==', date: 'Thu, 15 Feb 2024 22:58:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKoeISQ9FwQK8w2ifSSHK445KqPFkX-qyrbMt3OWuopEoBBJyS8wLRroxKzGnmpAw1MBYsw5pi-WXCPiSVC3y7MQr3uLsf0esZHJgn_bw6Igng8"; e_fb_vipport="AcKW-3d-XLKB1Fg8dIWqmPOnxwdsF4RbnpWuJBiVo7zCUlutrboPxVT7zQoH"; e_upip="AcJ6f7OaEljVxjXGViXisSfgDELDyg8wf69hGCnZUtvmVi63Pt9_Ie6ezoiJF9nv6PM4B-FplgqH_w9rdgIwIsQxP6o53quqX2s"; e_fb_hostheader="AcK8NQPQyiCJB5AjPGHEL5ouQS7tTPBthxW9-EzhZcReWcXubRlACIkZ8XbHg1dal2upO-7dNd3YgFDz"; e_fb_vipaddr="AcKHDNrnt4SdEVh-qtQCiCWZ-sI3A8L8CZhoyVKnKBwszj2eIssGLRuTN4c0RAfrW-dBR3va9fB6WbDfHEJob3bsuihKV4ytOA"; e_fb_requesthandler="AcLWpfjJl4XbklSY47jLlliUbuyk_3muz5p6P9FoOG_ZfB-ta7Wf1dss51AIQUDLZ8h8Bac298c"; e_fb_builduser="AcLkK0IAlAmGtAc9taMOQ4guSSQ93t_fnI6d3QHgc7sls-CFMZ628nkNOwRfqcsX5Qc"; e_fb_binaryversion="AcKTvmi2GQvDd13Svd0zFywUjUmWC8CvZD81RKdv3ZrPk6iX50DnDMQZfVKC-8wInEjK1GuN56IJSS5JLI59z0fJ1f0UMEBsEkE"; e_proxy="AcK8TUvXutIOF-EQzuAPZJ8NHDPGdeU18O3wwga64LZPTeTlTU_snfLAVijAqEO49w7HdbtOs7LmVGyMOIqB", http_request_error; e_clientaddr="AcIQGFgA-7XSLekWxmFsr2wAjby7HoGEgkEcxvzmmFW5zCV2tg2n2MalriIQDl3gUchBzglNr50IiAdayw"; e_fb_vipport="AcJyjKCEDf2qMYalUN_B4lx5Uwbw5Vsw18jkFBBNfzdBJ7Z8OH68KL4PTHHj"; e_upip="AcLn0IE8SaJrD-n5yHaoxp8ArLWNYZkrT9Mm6GuUygfOGksBT9j9-y9XlsFpX2i2kyZdlrp529pZ9NRzrKW6AHIGKgpmikwSrA"; e_fb_hostheader="AcKB7OiPFNHasHhrdXdzn-c6IR4YXpqTcSylCSR_x3CgLvFXt7ArCmg6ccGGwJzWKDNwV8Jba3XvZwzy"; e_fb_vipaddr="AcIYSyPIwLMdvfE2y5_n54E3KDmMXu8aUh7MLxL73m3k8lcNPO2LgRD6Zqjszl1iYoOqpmk"; e_fb_requesthandler="AcKdhLi8EzGyd5fx_cQhgEYqDbecPz3O1RrxnH6zq4ecVoWDrs2_AQjO_2AjKTIMgtsgESK2Bjo"; e_fb_builduser="AcIUxAOD1t2oAgZEqtdL8ed3m0I6P-0ivuaxdCmjTKZHPYU3WjKYG_7ZyOXgVNa95VQ"; e_fb_binaryversion="AcKOdpiRogFvKrtI4YE6Q4AMkjLiHvX95dSaIweoUK_jgoDdd4CzEMNVouMhkiwhHYEiVHi8PgYFjpn8R3g9UCiLxHXdcq-wql4"; e_proxy="AcLDdOXWsfssLI4Jdzw_jUsIKCJ9qJY3xpdM8HvQI9XCawOpsjmHY088LXbXPpn2FeQY-9KqpvIXlGc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7561324217219745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7561324217219745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7561324217219745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 22:58:18: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 22:58:18: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 22:58:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7561324217219745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4308424, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Az1PMa0EM5O0xPhApDuD6VN', 'x-fb-trace-id': 'CypEsE90Uvl', 'x-fb-rev': '1011455605', 'x-fb-debug': '1+jvDKhlxFdV7Pmr1ULAwwaoy6MpnAl3+p1mDu7VH4qmcd39N3Hc8v5/mr5mLU7x4h35dSuw8ETzNR34rLbMiA==', date: 'Thu, 15 Feb 2024 22:58:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJrm1sQuNyB63jTfNKX_2jNGyD3dfcjPtEnF9z5-cx0rJZhwYcHj7rtmumKgJaVyzzaa-dE1HWh0jaNXhFD1YtwtHjg1wgBN6QG3eZBhVQT-Gc"; e_fb_vipport="AcLLh9nSElm_peifWHXSOhMfk-p2nsQGcHh4tusV8x5ehxumukVFC7ZROgMi"; e_upip="AcIW6UVWD4DFhMbmFIpRm89yJixuYceBAIbsi2Kj3_CNy9mnUinDBfAgtwKpKpxyisyVC3hb8kUGTbhEKPe7kqd8MUN1xO7vD9g"; e_fb_hostheader="AcIy-dcUBuSG8CrIQ_ZfG-IsipwqrDJGYAkwFQG2iWg2R0yLTkxnZtd4f4yweFhwr2729ldqcMRQjq_c"; e_fb_vipaddr="AcKBP9Bl2o0sN1ztJDdS3Pc9iYXVbeYv1H_wrivM6xyNaQv_Bw-p1ZkhYUZqy_38oj5-ne054ZjQpWfsb4mp3QuGA9AZyjlw3Q"; e_fb_requesthandler="AcI8GJ_t1pXXIJNXLlwNDgzz4hvVATWjSgMqwM98zk2dBqMd9gJmCmwTMGLxpsrFzd4qqz1fDVE"; e_fb_builduser="AcJ6DRD5e3unj2pDXkIbBwfQj_q268VGWaIszVT9fZvjigaGEYd-LQSxZ8tdf-4mGts"; e_fb_binaryversion="AcIUHDKosIys48ydLyloZcAoTHRHw3WT8eLAqrVM6En6SLyOOq1eoF74eejc1XD6sdr1hwsJk0TClxKEjv3vGToLdqDuvYdze2c"; e_proxy="AcJqsxAgbDljfly2ury7iuh8bDPX0E52XTkzHEIs2oTAHNB111orYxjQF_5UKjyZ2xN3Q_iRxlSdCclUhN1z", http_request_error; e_clientaddr="AcLkXBDHL2Ey3wXJzFiCZ7Bfr41J9mmKDNLPolu1oWpCvFRw_JfzMGnQGVUlHWXtfsDR6IfLe74p-inCbA"; e_fb_vipport="AcL1Yn5nd3KTLWbtSMefSe5h4EboRUCUan4fnF6EMpxAl3CUwnqH9ayRnTp8"; e_upip="AcKNc4vAfxE3syS59gYP_Yba-sxXnFOlLlHYBYgLSvCaAub9wgDMZf8IgjijHDfH78P8yapTDlrMYxfwck4JVzC4KptUoASH-g"; e_fb_hostheader="AcI0jty2msgCyqqkNSbL-0CW1kVrf6X1JtuEmarekcRLrngOkrA-yOK_HD4VW7oXOEvpGefKb3erBr7X"; e_fb_vipaddr="AcLUBctuiBV8jDw0LV3sXyjObs3dP5b-vs7CP7RDuyU2hIXfkxCPZu0glT31-Z2dvR6ugM8"; e_fb_requesthandler="AcLJU3mVljLkXJa_EpMr93ipVCUrFpZex4xi3kgfdlZ7oV3IgKxPrIKVjI9bQEWy-UPYky2GCSk"; e_fb_builduser="AcJZD0g7tHWPpY-Z527LOs0LTer_PW-DcOoXQe9MfM40ItEoiPYzhhxgK0GcnCgYHBU"; e_fb_binaryversion="AcIr8PORyZ_HnYmPzCnkbWNTcsRLCJAAK2_7x7PAm5sYd0IEOOI8gfGbzRlh8QsEL2E5v98e4aGd7dm4bbr_74sIpnygIhLOQ84"; e_proxy="AcK_OFv-Yr4zz8jrxbP4vxFb0axHrEVS-TitcNZ4AAuhkn_OV3zioxpAAG-RDEz6Y3o8CL6mBCQHKbc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7561324217219745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 22:58:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 22:58:20: Error on send one message facebookId => 7561324217219745 02/15/2024 22:58:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Al_jWFt54ywz56wrtJqYt4d" } } 02/15/2024 22:58:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 22:58:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7561324217219745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4308509, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMs4rPnI5q1K4CyMTPUcssy', 'x-fb-trace-id': 'BZpyVL5MZJC', 'x-fb-rev': '1011455605', 'x-fb-debug': 'gfl/L2yF87wUbqUxdNy6PExeyOZXN9poFkhHW1IlXnJDNt+05IbF0dvbc32Fb2uqfL+NB/Jw+w96pfhd08GJNw==', date: 'Thu, 15 Feb 2024 22:58:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLFS6fF0AeYdYGtQYQOU69nP11iItdsvyVjviUh92zJ6j11xOgoyEtuUHaqZTTtQ1bX59QKHTjP-H3HQ0y-1QCYX0tXFUUi7eFsuYt4yLUwmIRdHQ"; e_fb_vipport="AcJSOgzsjKAs82TIN1jOFy2YJom6CaubuOzFmyfSKSfqcNuS28DhSme9agQM"; e_upip="AcJsQvlV9AX1spWcpSM5qCbiOnLoRqUHG-yEUcSiR_19vV2DekPDxQ20xgC2xSK8XVFGdVfTGpRDjb2kdjOUn5eYIhYMJaKBWA"; e_fb_hostheader="AcLpmDyvXuS-tarVqhTAVrketGgmPXWT1punzj_5pD_2RvtOwUQmoqnyb4YWA6KjD7F-BQCrYgFMtBPZ"; e_fb_vipaddr="AcKVjG48OOICW-SBM0im_EC5VnZMk2256Q-DoLnTrxnEjEKKoLsn4GcLa5tCo0v3FOaxf-drdHZ9H7J-wpDdRO0ALoWFoNDQ7A"; e_fb_requesthandler="AcL1uXmP_DZ5JzNGF3-4kkX3Z3wY8uVKfFTL7T5y3fN6FELP9tG3-JXEJrFwjpU8QlVxwysD44k"; e_fb_builduser="AcJ6yds4isRGTi6Tdbi9WF1i1fdP770JwWxw55NROEftjW-sJHJy59qaSvAl19Wa5lQ"; e_fb_binaryversion="AcJiwQQqY5ifFYEwiDBhI5gA6ORH92ACVYraSgM15uzQ9EA6dT5KRfELcTL-j4diC7ubdaa5t2tgENG3e3l3z99RTt5BDm1dT9Y"; e_proxy="AcK_ADCL7kOQ_EAyKqoo0eIVE9-QvXAcreu-Tc85LMgp59NF9To3o1If2TzVcC7uXDZhg2qmXBhkM99TFEFf", http_request_error; e_clientaddr="AcKX0sQw9ilhpSyVftArrBAUAWDkN9GDsFnuF1mhxOcVO5eqf_lpaSxfzvojraLVrur2HFYZeMmhB0PYNg"; e_fb_vipport="AcJNEJ_Hv_zeGsq-wndi2uK88XtcFXGm3gdgussL1kbaM9YxvoCvsNcD_n6H"; e_upip="AcLs9RKB6C0PWLW16XPu-Zai3D-xjxbg1hdIbXaFwZ8MeOa-CoysaMnwClO1GP6FUlhwsq6MgRyJcBdo2rU7gMbgL08CMQESzQ"; e_fb_hostheader="AcI1uawBLL3VE2zkkmCIIbXysdmqd7IfT0FgCg4aIisXixaWOkEnp9WjH0uiAw8OSe-Vdq3okDn8cQNN"; e_fb_vipaddr="AcIzqQOUDpdcTAovPtncYiqRR6xxBogERA3K2OU_9obpEM3nWbxgTZS8aIqqutF5C0cA2ag"; e_fb_requesthandler="AcK1JVZkxFa7wtgiJcqYF1N_Ur6GYfGBQHD_5WvrzOQZVSMqzCzi--Atgd4sI9e7XYC3p2JYjXI"; e_fb_builduser="AcIaNqXfu2w0uaFSzTn3OypFaa-Pp-8R_MYPecBEZje-X3IrSlT8kw0bwqeZQBSltNc"; e_fb_binaryversion="AcLeqAPezr-hs6q69EXCXEII4giyYnl8Dp5dek8i6wg-E7kdRDsh2L_iUlBTtxWANfnq3RKaLe7mxEjAsTXr7z7-pi59hBwt8Q0"; e_proxy="AcKYfqzoq-TE5jtI8cX6ItUYefx-CB9TJ-HVS2NdDEo9E2FJy7OoqQK9_Bp_7fXngfyXtm8iPg1q1mA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7561324217219745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 22:58:23: Error on send one message facebookId => 7561324217219745 02/15/2024 22:58:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABNevf9B13e3-TPDA2zghSu" } } 02/15/2024 22:58:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 22:58:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 22:58:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7561324217219745"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4308648, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOSwMANVRBhpqGIslMSPHzC', 'x-fb-trace-id': 'HSEy6I7LVe8', 'x-fb-rev': '1011455605', 'x-fb-debug': 'fbHUI7nkDHEloz7zfkkxnX0jbmFqOuQMbPPDQxVkTq8uOZtU0U78OEoyvWCQEe16bgXTozRBwfQtbE9bQP3Mnw==', date: 'Thu, 15 Feb 2024 22:58:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKdphJZ5lSWkNckiAAShUOtd8YgXJhRBTGlQxq4iy4m84MncEskd21cHykd-QMMMEhgXZqlKCGkfAfi9jjCjGybNLSP7fAgZEbbgy3FJdXpUAAE"; e_fb_vipport="AcLnD29QEtdpAxem2LjEv5E9AljvU1ayhlhWAr_UayvyEvPIHMklJS2NErSY"; e_upip="AcJ__ubKqKoKHSqpz1FTaS85kHP8YiGcMWRJ47wPrzp_jq7EBJgPOcnMUeEf3ofdDlKaB3M7lSb9il3YTB5wS7EeSbYmUFz2"; e_fb_hostheader="AcJ3h_umAcrknDmf4MpBdz_NIN3oWV8bGiyNxJMfXBJXIKrJBtYaNi1m9EZj4jRv4OoeB-MgEgPYvULn"; e_fb_vipaddr="AcKCi9W20GR8lilOO3-EoCM5UwfvUhF372SiJHrDjGJe7-2eO_bfL2Efc-xg9YTZIrUwuow7kPzSB9OcqLNVUMT-YBLAZcy46w"; e_fb_requesthandler="AcJvUpA_ZGcv0rKOCwsNl0RZ3jIJ25PH3OeEJXDbkSEzJZjd8wwKt3YqUi2dtj8b-w4NFunkte4"; e_fb_builduser="AcLfMPr1Qn4WyNiigp8n1ogahFEt000BDeOJLa26Z5YmtG8VPSzSAV1XuH68vvJlOqs"; e_fb_binaryversion="AcJ9hWTavZlLu4OKPfcUOkSD_Zn6S95DVY_JPyAc67Qp2vHcGKY6B60BZ4ARiHttUTNwqEufv6whA7ojG4o3X4iGFuYv2_yusAA"; e_proxy="AcLVxq1uNo6W28m7RFumrCZ-D-VkBW9p6NjkYagSIlphgS8yQO8llBE76z5gtmIkxFoV8kU5Pc1kLXpPzopY", http_request_error; e_clientaddr="AcJ0aFEQuWOlfx0hHYX5d9Zwb-OYsxtv4Y6CY9WvfCeWBHfYihMGVOEPL-AU2RNI3kxLH5xPnkgZYogMtg"; e_fb_vipport="AcIlF31gLAKfb7-ksNzmyLGXzQFMQCCVqdjxDMdDyG_hcodZkmSjiWFKd6yi"; e_upip="AcLOlkDpIYSpZhUPDVfmwByypaV5AJLuA2Fey4z37b7LesrunXogBImE7IT1dRtOH2LNTsK1-4t0HkOSpYvl5LM5YO8G36DM_Q"; e_fb_hostheader="AcJ9Ej2PhJ3WQmnNcu6qRylH8XjFfzk5ts4YCpikWlAbLLLb-THF5EcbRdDCorLc8ZKzHESmOIet7osY"; e_fb_vipaddr="AcLJwS8XzEvtGSdZooIyp6JQbvjIlUg-bhbF35wiPHd7sjjIhIg6muOEn_0vO0tNu3vTp1A"; e_fb_requesthandler="AcL6Ih83Pjb_BUDtTCLmlBaVeQkWmZbqwo1haxLHP-xb4FicpGIsqVTGBxuuVIsCmHgAzTy-mnM"; e_fb_builduser="AcK349NFev0wAwB1doNK-31dP1iUUEJrPBmJ_E7oZ_OH-n0XJUlhRQZ8Lbjgi4sDu5s"; e_fb_binaryversion="AcLgqFVzaVlrHlmUv5hISOgv6-1yTJVV15qMb9aQuj62_LnMbxzciN4PT3S_PO5n77cfPUPrCRnLiST4esfcYDF227wMdzVkQ9A"; e_proxy="AcKJU-hsE-rXBnexLzuKz5PXmAbySl0avZF8kwe9VuxFI7heQAVvjGT1QeK8x0XddluLEKIF6vv3Eeo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7561324217219745"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 23:42:02: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7641788312506316?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4316065, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7641788312506316?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7641788312506316?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7641788312506316?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7641788312506316?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Abhx5yTu5zB3rrU7I5AXLPK', 'x-fb-trace-id': 'ESGzpgCxsfi', 'x-fb-rev': '1011460423', 'x-fb-debug': 'e+STeoTLCWQ5QSQjc3gDzl3i2WWIJanAN7mykbn31Owf5oPvUIX49S53xNYnhXyurrNDcqPOfYqzb0OjHswrag==', date: 'Thu, 15 Feb 2024 23:42:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLM0uf6vT97bf08Lpozp2t-lR0MLrUaXXKT_XBcgqn-HNpYxeAf8vxbnEbIedTzIWPX_IMbpoUTgkm9H8Z9htLrzFhuA2EItkKV6sL_x0lPBLbUQw"; e_fb_vipport="AcIrD_A7d1zL9rkn7mcAdmrzAh7NImPeIVafA45lpyiE6kBT5TuWl51rVwBC"; e_upip="AcKU8FNFzckgFTMAsQEqC0syuBj832xE3TfN78QDH8M83KVxtZ57PQQL07m2dco6mhObY9IibVNFvc579D7Ll8kzfX6TVl_qpzo"; e_fb_hostheader="AcKmOjIwBIqPYQuG50Aw949Va_4fGpi18K02VZ0-RSaAjIiqHHjQiFmPS6CBTIUswhi3UDvlJ_kuCfjy"; e_fb_vipaddr="AcK_joL8LWWlnZf0UeYiC767x_7LdcgUPrAn5pLOIYN1c2p2P5Kh33N8kW-L0gp44lLwd1yZ4ZHcd17yCJo2urKyFGm-y4NLKQ"; e_fb_requesthandler="AcLvmcGaHuR4usWqCCWfPpzPhYaQfBokT5J4A3yu7YhIeo7nQ3iSuYrKnXtwc6aIRX6agTcPdqs"; e_fb_builduser="AcJdMgfRw1jIStMjLnvgL-c2ae-Kz0KWF9kHzy0eEj3rceZflrWuL5pcr9tEIJt-Nd4"; e_fb_binaryversion="AcJOsDIsDfQURqTwNT28c6cIppUSmw_xABoCwEtl1-RuGNEfPleuVPtqh05N_bcxVhc8gzZVDfWQDjyyOyUCzmXrBXkSf1dHo-E"; e_proxy="AcKu244YqjrZpEHKwUTbjqkgU6VgEWUe6IrCTyvCk_uJigbDgZrATK6hXMTXgkEfLkZhKoCfOWHSRozqnaLv", http_request_error; e_clientaddr="AcJFswF0jTvCpndbvaN3CBMwj_b4ZLSuyjy6DrAj8Ij-xmxMEhk62PjGS7ncZhlo6C_1SbPzrAF8u7pXjA"; e_fb_vipport="AcLb5fnfWnsfF6kim9Vo5GVFzXMdGzT9MJ9SSnlbJ44Sumg4022Ai9tCfnfp"; e_upip="AcL8iB9JKxupkM02gyJ4rjSB411IypKBY7cSHAgUeroTom17yxtUNknnsKyIhog2O0Jksx9E6U2P-g6wQjsrvLnqRAOgv9UDOQ"; e_fb_hostheader="AcKSCQVRTr_S9FLoGEJE2mCtv0pu7SWLOmHyvmnLkZCJovcVCpdEA69CCdVIQklH-Akfo6B03r0H0c6A"; e_fb_vipaddr="AcKdbmLsBAA5PPFUuFjbBMt4bUNMayi8Om_T-zipGNndfhlwxpsrILDLWowdmBK9za3wEWE"; e_fb_requesthandler="AcLDSXAS19H-avuDSFsD0098FD4uRZx1IC9zjlQ5DWxWft0MF_uBVVNCJCWAqq7jaIdU_RrZWbg"; e_fb_builduser="AcKpyQYrA59UzMz1PRYsvcptHNBtrSALmzYf0V0lOHGx64zNjMolL-psvfJEJJnl1ko"; e_fb_binaryversion="AcKYq0F4FBEpJ_pNrvDPrHZjFxtvL62DN4EKEcksyvcLQeASoXwr__DYUWMk9BtWQP6JKB5OxT4Tj704N5CmgnKnOYQZsPRvDHI"; e_proxy="AcJOpEO6XGbqFnMOw-Jc2qC-Hk0675-PtXajfPME1jlpe7X57mWZUdD6vkke11IO14A2lEw6ZV2Cnnru"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7641788312506316?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7641788312506316?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7641788312506316?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 23:42:02: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 23:42:02: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/15/2024 23:42:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7641788312506316"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4316183, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AePxy-YXzGVsjzPMsm96nok', 'x-fb-trace-id': 'BdOuO7D1ffD', 'x-fb-rev': '1011460423', 'x-fb-debug': 'SrjLIPcYj8W8L5uAwA1f2yHoId/fAlKr8FuVvNepFTmMHJYTMnWfMeJb+XLaX3dPpvecG01ZJPQ7voMpkpew6A==', date: 'Thu, 15 Feb 2024 23:42:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLC2_RiOZSAZ-nXcG3dIrC85ZlIPO83VdLVT0TOE-PHTiRWEVxgNUGKNBQW3nLbA7WCCCXRtPSDCaIiz_FOrF6f944Hd2tBMLyTUjNuZJ5a5EoF"; e_fb_vipport="AcKPpAaXfbS_AHp7Mnrn8CdfsEDkygf5_vM8EIobnW74TKTJnPeiZDiXQ1gL"; e_upip="AcJUZ-dDqIWzWe3C5Zs5tnhFK27puz7wCuyQabwiCoXOlUQTNUfoiuJQEv5ohOYoU-jxW3VYhl61WRfb6IJrzCgqEHRBcMcKR_4"; e_fb_hostheader="AcL_PRMlF6WG8cX_3KQRnRQGjfZhwW8UAN7-T-QCNzZhyA3-nhJz9dCdWyXJZOsAe5RrJlKLVqvR1s20"; e_fb_vipaddr="AcKk_0wo1zYr9JYqF8jLpj3nZTpj7sK96XiWiVE6txYfMNvh25ND1Q1vTvkseNu0RVFHFrgrJHyk96Gwh_c-06pKYyGtHMpLEA"; e_fb_requesthandler="AcLUdGJGX1uTOq6HSmlMDxldJlVUIHLfA-FnWvMXwdafkztdHMIn-nxaplc5ZsHmVqevScjIb50"; e_fb_builduser="AcIqSrvstTKCFxThxcFoY59pV06wAgremH4-n5thlKLrZWdM5GjS-_bWc6Pn9oQc1fQ"; e_fb_binaryversion="AcK5Wt1eUsKeO_deqQNxzH-ULVSmnARp0dynWQHTAf-EXq4K0GQ8qntXZZTzj7ekOoTBHOvwBsXRQXJLTBdow7Af4UlRU4zdBgE"; e_proxy="AcIajw0JRaegJ2mSmjMiHwV7rz3F2O4QvSPh2_82lavZxJAdDzZqZQchNWqUcT46tdDQnszeFtV1yugeJTgS", http_request_error; e_clientaddr="AcJR8DkloRLlpPKByzMY4iX2oUpjTP3TBUqmxs7tW3Gc6CMbCWXnmMkMaAHlEnGKnf_1chvxWiy_eMIAcQ"; e_fb_vipport="AcJK9O0UTSbPpRlrxLC-mTLGeRkdRHtv5R38w1BZeUaL4PzCz-yQW9OjjMIU"; e_upip="AcKR_tX5D7FY5R-sgrDo5Uzt8PWsjZNBMk-ggOQRttUUo51SiXLoG93orAbdMi0tIekW2NBgHB-Q8WhihG0m119mxa7nkNNe4w"; e_fb_hostheader="AcIkZ15CGxlzDtr4h2wcbaJsApwiA_tcUL92bjqiifXceXggYkPjELAweEkMppfyiIewo4cpw9cT4Uth"; e_fb_vipaddr="AcLVamSvUa8zuYEqSHxL_Guz3ItSslLrNmlD7jxdyHrSecl6EWXfoB0kMbc57EVavMT7X_s"; e_fb_requesthandler="AcKiTqnPcMZo_LG3a2rFL6GDZ2PbAUhzKOU1syYJ94gMIHQ8tzi8IWvUBKVJrwE8sslHVtK0N-s"; e_fb_builduser="AcILUGmJsxPOXSSdlEMiYdAqgYXFDhH41mNnaimHAIUDYrbHoO13p3MC3VIENGEB9ig"; e_fb_binaryversion="AcJtWUAHX8uhtbhGfd3IKmd7apz9CivZyXoG2QOAqGu_mCRzEi1FMRmwRSm724vJ_tIQlzhuFRaVPGych2B7GUVKxKPNcptVhJQ"; e_proxy="AcIYQHdZ-luN0C5kH7afNG1zuNECs1PpMXz4jS7RpGESsIzqoVuuLqMAYXBeP5PBIQDu-UJw19EsLfQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7641788312506316"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 23:42:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 23:42:05: Error on send one message facebookId => 7641788312506316 02/15/2024 23:42:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aez9z6Oo6KrSzjM3WkZn5DT" } } 02/15/2024 23:42:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 23:42:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7641788312506316"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4316258, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3nIvI8DOJewqx3C6cts2dq', 'x-fb-trace-id': 'GMwpwCeKbLc', 'x-fb-rev': '1011460423', 'x-fb-debug': '1V7l2Fk951rOI3pUMUTQ+TGWb841qmcCeu6mZUF4KJWq340moyD4BfjNlpcULukV3RxrJohqEk34NzkcdnIRQw==', date: 'Thu, 15 Feb 2024 23:42:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJzx3or1ftcrcbf6ugBgkPMb6wvCV-TiRB3ibzJQcLx6NhqrCfhopu4Mn0MiMpXV1idTM6AUKzul7_JlcjJKQy2eUCTeY1gTDIUOiIiI0io9Db77Q"; e_fb_vipport="AcK962_O1NrfM5c85-pksX2Nabkq8u418Ee64B0Bdm0vkew2J4ZbaMxSBUB9"; e_upip="AcLD7aEzgAjpHmllezBi18x0ErMY_rI20JcTvBEYyeSqxFwg2ygzfzJZQHjw2FPmLAPnrvKyeK6dmZP7jO_vzqciZJELC9d4sA4"; e_fb_hostheader="AcL5GDJkTVfNh8Csd6Y45gIA4F9TCF9A44PiIdJfUEijX4FU8h7503kQ65vgfophoNGviptjbcwDU8XO"; e_fb_vipaddr="AcJ5xGid1UAtRcbdGfV9GjGoIuR9Xfutn8bce6CeusGwz_JBrHQyTgW6nK42BhR9HBcYW1FZPHfGQDsPyFpS1q5jg0shs1bJFA"; e_fb_requesthandler="AcI9dH-3XrJikh3QFX9iLKtu70oKehMqRbDG2sUzpYjk2KxA-oS7Q-VMwhrPBHOT-xE5bcZmSJ8"; e_fb_builduser="AcLGJWw9-XlR7sMUzBxCu4PQCPJLyM7DkFl71uUk6dzG0uu5wNEvM85Kxf9nIP9l9g4"; e_fb_binaryversion="AcJiqa89bFYleDuaDscXn-CQRxs2U-AnbXkz-C5srzViFfve_OCY1VkoJz3CCN4_EkMHJwOAageEzPYRhpBFtP4cG1uy6XtCjBQ"; e_proxy="AcLzYqEG4xTKhHpDnT4hufQGefsGseQ_-Dq5BBVPhEq6UzacvbdaGN6WVBBPU71v_dGx1JtIZ6_s_00zE3c", http_request_error; e_clientaddr="AcKNyR7E7gHJLDoDTCozWAmlFe65YFy6_7rrOSp5y6c_illHWGwElsz-6nqbdhIX0FFAAYQW8mAo9EJfPQ"; e_fb_vipport="AcJHPOCASj4eQwALvQpzxND78Bb3Ix2DeXn0WTF--kaRNhhc96zv906nbPsg"; e_upip="AcKxqXHg1m_MhBH6zXIZ4P4anWNU-41geEECE6L1_tbxBog6t3bSFqd0tIg2SneHF7PrM0r0Y6gtVS3GfBOzCeixQoP5qVB_kA"; e_fb_hostheader="AcLpF5ZD0uYTqdxELao3cPjSc2DjsS-qDlm5faL5hJsUnx_PWBxmMZRgdE1fxAmwd78EQaKry4NdNGIH"; e_fb_vipaddr="AcIKOHQfEji4bupB8MXFpWfQ3jYvWqdJpsPC2dx6SyhQR_SK2TNSeKe-4CswWdzfm49t2Lo"; e_fb_requesthandler="AcKAxYfq6RocwNG61IGF9ppSojNGKaXCnUv5NOnB9UIU46PZRUjsPIE8zq45g6w5aNN-VSAdy3M"; e_fb_builduser="AcIiY3iE76MI34zxAAk1NjGOGfLXMVoMVe0qlhkJ-mi4vBPdbnrJmgJousAWA6TeO4U"; e_fb_binaryversion="AcKn8lFpdSTUVVFc2LeDGXMGViJ22-6h_awvG9vQU8LJxFvXqgk1pqXfhUnwLhXj04SkkO1ceWkY9bJ_e5XkhloYqxx9xiNNYFY"; e_proxy="AcKFzh069sW1ObytiO2gMSnn64lkDLr0Q3YrvlqCcUQJiU-o9Jww9eWo3lJUR3ntKKES_1uffU7pN6U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7641788312506316"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 23:42:07: Error on send one message facebookId => 7641788312506316 02/15/2024 23:42:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AqRvFKBWQ3wAjIzBwleHy_A" } } 02/15/2024 23:42:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/15/2024 23:42:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 23:42:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7641788312506316"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4316399, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AY16eZJRYKvv6U_GcJm7OTM', 'x-fb-trace-id': 'HojjyDHhk8Y', 'x-fb-rev': '1011455605', 'x-fb-debug': 'uGck/Djyj9NHQBx/5RUGufZ2NgoCHYTNGWqLazbANwjPWJy6Kzmry8UV94O5Ee9ipQOMp+J9E63eZwCNqOrGJQ==', date: 'Thu, 15 Feb 2024 23:42:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIUMJho5iW3sZIZSkdNwU2vecAhDUEJcqbjxmrUUQd95bcuOhgaKPp1RSH_f_016TKs1Uc3NkDbldc_DD7hQ5pE16R2f7mxpRCrecLEINULe9usWw"; e_fb_vipport="AcLBaxNKVniEbNWIHsM6QDL4NErUqKXrfE4BWgtyYI_SP3baeKUwli9QVsfl"; e_upip="AcKluZBR0CQFe2qeQSfFRCjgOsUAgXm7IcqUa3c9ePr07V9juoSvow_uJAFhZ3mqiPYpqlDgTx_J0W7CJm1i1m3JovEkXs2kuNo"; e_fb_hostheader="AcInE9dL1C-Ss0NYYPXfzgl4XnsBVLZLVRrzQRCCte4fh9nEIqld2cWxVq6s3hpIutejozkGEovepOLs"; e_fb_vipaddr="AcK4K5HJdZpjOKBYN6ehxjQldip5c_1dBNsPthQrEQGV9RhgTDUvLB_il2M3rTeUz9nNMFNORZkABik6dzHkzR4_dcB_jy51yw"; e_fb_requesthandler="AcKyv8vktW5vbPb0tGlDEGFH-TBrY2br6POJciJvP0-d3nU43n92rJLwxfLyOfDj0ui0DAkUo5Q"; e_fb_builduser="AcIddZA4A4efS0BHAHFJfrD9xc1c--M9pQis4064yHsao-hCikrwY_m5mxj4Hx_nfNs"; e_fb_binaryversion="AcJWVnJHDKi9iXzCgIcuLxSWgGgPd1hJVbYXjGT81rzLTm3YoYNH0Bf7miEcUyUsSXwj0vGCOPuQ3NIEFjBY6AiphVEGov0FjiE"; e_proxy="AcIPvdBww4IFWCSrPSJ6dXwb1LW3yKllf9-QF2QUPaD1F6zrP1vdm_xTUGb9gmNJ-W48IL_piR1TnTO4ralh", http_request_error; e_clientaddr="AcLorVy86B04YdhcFUBg6fsNtd17knNoxMpXNZ8IDR3d-cIZLUyGIUZmXxHAwKNcGUIq2Bbbc7_dOFi-YA"; e_fb_vipport="AcIGczsRil1f1OtFVKQ7VpXsyz3XLubZ7TMXrGR9yDSlC3QRHvIeFdcUqgyq"; e_upip="AcJI8NXDIkXuVXfx_8FI_oREJtzb9GLOjpu_STu9eM_z9XD5OnT9B1mtiAio7cYhTkVTA1rJZdOrnz9ofQpA55alrFX1snnSoA"; e_fb_hostheader="AcLr6gn8AGACFTvtJ7V2MqqM0YFX72W5WfG-T8ZuYOpbix9Z6StvBvEvV7XjpOXXSPVKLbtOP60x3zQV"; e_fb_vipaddr="AcLjXPhKaRuSVQgif5C9ocICU1IXZP2ffMnEmSOPVtlTNq155fMnlKM9u8xiWQ3jawlJ1FQ"; e_fb_requesthandler="AcKtsBOtYKpwuKzT7sg-LHmGNjH_07BN2duWFSA6M7YeAO99xnNGDJ4XKoW8WOz7cJLsm_LVVKo"; e_fb_builduser="AcJSJckNYmyulEDvMagz02s5wJlklBtDMs5OUmyfOwOE-tnDQWOlIu3YAsqzEM8ZC4Y"; e_fb_binaryversion="AcIn7FK6o3cnerHmXSNPVD7zpxDdJsreV-Q8tXkTzp3CpnwonzU6HqVTrYKQYAj3D6VVZHZNTTRaCuc7Rfw1-ZzpCFlHXXAYhlU"; e_proxy="AcJLPE2CuF2GZTXwg8oyv1IPGCJm-Bsc1rDjGvsrsHx5O0BajXQrX79cr-1JPq2YFeejboiVccmVvEI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7641788312506316"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/15/2024 23:45:25: Error on send one message facebookId => 7641788312506316 02/15/2024 23:45:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ALEwx7K8zz9IfLAkecBF0Ds" } } 02/15/2024 23:45:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 23:45:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/15/2024 23:45:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/15/2024 23:45:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/16/2024 14:12:30: Request bot not found: { id: '917983134950234' } 02/16/2024 17:43:06: Error on controller payload Input Treatment=> type not found 02/16/2024 17:43:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/16/2024 18:43:36: Error on send one message facebookId => 7811645018850956 02/16/2024 18:43:36: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASGYdFGHj7dDwt7VARnB3S2" } } 02/16/2024 18:43:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/16/2024 18:43:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/16/2024 18:43:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/16/2024 18:44:33: Error on send one message facebookId => 7811645018850956 02/16/2024 18:44:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASLVwPilbZ7kS0vrAaqxFJ-" } } 02/16/2024 18:44:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/16/2024 18:44:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/16/2024 18:44:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/16/2024 18:57:04: Request bot not found: { id: '144313565649530' } 02/16/2024 19:13:35: Request bot not found: { id: '320637341295349' } 02/16/2024 19:29:54: Request bot not found: { id: '320637341295349' } 02/16/2024 19:55:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/16/2024 21:12:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/16/2024 21:12:56: Error on send one message facebookId => 6682254321835229 02/16/2024 21:12:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AcxQBVKYj20DSJnVq1H3CAm" } } 02/16/2024 21:12:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/16/2024 21:12:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/16/2024 21:12:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/17/2024 07:02:50: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7378741732177084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4633686, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7378741732177084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7378741732177084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7378741732177084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7378741732177084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AT5VnrWT6zz2oqyM7deEJvy', 'x-fb-trace-id': 'H0wiEk8GbSH', 'x-fb-rev': '1011494887', 'x-fb-debug': 'BHzk/LHiFMWJJUGIlY//vnvYL2vHKQM7zZTGOFEoVMWibe/RSoynwDcVeSIJGF54kNvOm1QHT+RiocFXzDUvRA==', date: 'Sat, 17 Feb 2024 07:02:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJcEEiLN3v5a-fC1geXzwKFJ0lOpP-sUnOSJzxQ4Rjp1WKGrQvtp1jyJyeE_4YRBc-xsxvCsY9g1QqcxdXWV499HnQmyFb5Ub5NE35IcVK6Duih"; e_fb_vipport="AcItsWYBJ1UpyRIol0AqQYjGr7pIRqVUHtyUYWWyOD0d5Ip673NkryOf4Zl8"; e_upip="AcJcDg9yaRXIQMmoA6EXADCOinFKKQ6PSqkP-RJgEcovjstyGd4cvoOFy1APqpwKyClAXW95iBo7yJ7iJQOI3TK0iWJi_50Cb3U"; e_fb_hostheader="AcJaGMbvtP-3d8wEsT4b5kiY2g1IEssINn8Mxc9VXFA20s1lIqR88A4N2segBLpDN_kdpl_QZpVe0viF"; e_fb_vipaddr="AcIhm4w2SRz5NWP7QXXq754tiEDMl0Nt2lkfCQayJypOQZ0Y9hpVbHE0W6UwI7r10FTbZKjOZDtnXBsYvKLiMd9yqym4jNj-bw"; e_fb_requesthandler="AcJ5-j5GpCa6dRLFXSfu6aBX0oPqLq2uNPvXZoBa8xNVLkBhpuZS44GNi2vfAIxLhJGEyIK6TTk"; e_fb_builduser="AcJtEQ2V6YP-Z11L858ScxBxkXCDMot9XutTKoaOyGYeXvf2qHpvqi0xpTR0dsykJQU"; e_fb_binaryversion="AcLMEAMTQQUOeAQrX0et0n5zm3Mo33NgN90HwtF7BkvsjQnCQ_V3m_0_WSyqWVGZb8L5MSFwVdGg0GkxwQEbVQI6kh0m83XCXxI"; e_proxy="AcJ14a145ItXkPwWkgWdF2hZapB4FJxx_dRfkULP1tAh-VjbobwO-R7O1R7h2t7FZyoyN1mUnvGhMUtFbgH1", http_request_error; e_clientaddr="AcIM4AU-jxusUT3aGRM3rxnovhClnMyq-nd-bOO0eTt9Niirz-Cyh8IhQPZCLGkOzrnBIaft_XTeghEBqw"; e_fb_vipport="AcLSMSu4qqm_0ciiSrnfYl_in3WUx99QMAaViMrD26FkGKwX-4mdXOe-b9Zx"; e_upip="AcLNa_LviC6zOfYSnSYw7p8oxuxCaYOKd-Qu-6t4wfgKE4pDLS191iEGvUFIZAD78aF5QDJY9Qj6poqP3YHS6euqs3FnVh8kWg"; e_fb_hostheader="AcJLq2eI7Jns55d_flRCK1LC1mEdVs0wQtspgzyP6RwFr_fSMAUW_rkX9ewTxC8se_PFs6zlWhtJiNAR"; e_fb_vipaddr="AcK7UZFeQIMOX4hIWls0_P5w1Nc4jkHUt9duCJTPHvTJ-D5HG10VgDvv1-uF_s9e3Sup6ZQkUw"; e_fb_requesthandler="AcKgl1j2myi-O1IGZoBOpcCwiRGNn3i1-2Bex5XZbISqR6wcCydmtpugXc8oM1cQHjlxxkR42-U"; e_fb_builduser="AcKdBsOhSnrPoJR4FlJpe5qAecTxbMwUdht6ADeiFqB-JK5s2514zkdT1Eai9IZhBwE"; e_fb_binaryversion="AcIhNPaN3aCmAd0-Igm5CknWIvlIUCjr8gOlE02jVIX26WFuItvHi4j3bzfNC2UUz061vCe4yVgKCj_YmOc2iunJY7eLvKJITWo"; e_proxy="AcL5YyeVe9OiiD3QWfoqZ_1KLL0wYEI-gpn6jJ2NS6_T0JfcUZXr3vyg808MmfXNk9Oe3p8UeomNZHg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7378741732177084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7378741732177084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7378741732177084?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 07:02:50: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/17/2024 07:02:50: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/17/2024 07:02:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4633804, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUuma5IaGMheabYn1jUgQR7', 'x-fb-trace-id': 'GJsLv3Eo3zu', 'x-fb-rev': '1011494887', 'x-fb-debug': '7hglSJgkaClYwaFNznvWXz1i5CfHzT4q1ruh8TpoYbh7IW4kaqDaJYAeMFPCw9YvG7w/fcsRQSoQt+3QnFxnoA==', date: 'Sat, 17 Feb 2024 07:02:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKeEEflVBFhzRkWapnyTv8vgrXm1QUPRoP-2hbLYl-qQeZozydjTDPTqY1eb_HEzlfHoaP9N_mffijO7mQxHxI8lYPdgqoGKximStCmHSPnUjoU"; e_fb_vipport="AcK31cdk67gO-RnBHOnh5ea0pGVHn_sbXn3Jav3iCGvdDxFflgXxESaTZJn5"; e_upip="AcKYrki8kFCXoAAE11h8VBv_VeTOHsVj6MF4cNpPHfwJhbn5FN5oEtIgDTVQgkQNcB-6ezm4Yg-9WTWJV6Yj3zyx1fdiThCiuQ"; e_fb_hostheader="AcLKZSvHYVNGq74Qk2W9PTTyQiR3K4tt2hR7JcFRRIC1ZHAQYCgIR-Vv89aeeS1LdK8HXLqGo4hK0Ti5"; e_fb_vipaddr="AcJWteTwrRgLqh6v3n9nxS3bIAdu1-OZjtsUfQbh_KSgyzHX_LEQEdgnoN3dK7pk_mJWS_Zav8PJTW7AOYeNGY_rV1lK7_HxPA"; e_fb_requesthandler="AcKBFVR01jFRQeEX9saW5IP3eM_9qtAz2buzo2INLYWz0XDJR6_QbI-BRvklTw2Enwm8Q-52-n0"; e_fb_builduser="AcJAVlKopmHDIoG1-HIOBbQSp146VV2V6RzrVoRy5QdG9-y4rJekTqMv5xU_Oso6lZ8"; e_fb_binaryversion="AcJgPcDufj4JuauaGfrKxxqaCRZpOzDrSsrDVVo2uFMUE4BbiowWSYf3sqULqeutafbOkZDMJtqqA-LGBbIorJ4R0ZKEtXfVhT0"; e_proxy="AcIpxHEFp3FNboIIz44FhZpp6cT5YVr2fH90BUUVBPQ5UO0g_fHB6Bu6C1auwe5yAjdhqyuBdGF5tVii_dYo", http_request_error; e_clientaddr="AcIk6fwVgpBDTfyfzAhacB3D-1n626RcdYeG-IDFFbXubO0afH5P8JvygOp89wttwLH-3HcW1Pt7rNyWQw"; e_fb_vipport="AcI0ZEmBYlNTYmGUWLyEL_aP3ftqI5ROEgoCpvyzhDbPCrBkgE-cwT5AGN-6"; e_upip="AcKlIUf4UxLW6TnRUoy9QWUjZ69c-1ord3i89FnKZ-D_v9stU7aUXhL94_5pNCWHfC21My-wXiKI0tcqcyQOcufci8RDWpJLbQ"; e_fb_hostheader="AcJn5Vdq4mjCOCfD7bwhtv7EYbqXktuBJY0NTu0jDkpLGA7GJUIwO_-LjoLL-78wzKSMMiTJ__e_qb3S"; e_fb_vipaddr="AcKT8OLvdS2qwaUp8drOsD7dh-MGjF4ejEU-5vj7KWQIjQPJ8iENMYNQLANBNvai1LjSckcHnQ"; e_fb_requesthandler="AcJWYa-XNSV3wqSjSor1zVC0dT9aXLG-FyKl4YnGFnc9yP-JQcgrX_0iVVRWjzZHbR1SIvBLe3Q"; e_fb_builduser="AcJ8IqrpTgV7mPeqMM-vaQcUNx-MbQ4frc1IxSAplNZko6Lsz9vKMF7HnF2k72FxjVE"; e_fb_binaryversion="AcIZqURQx9t6YyTb01Rmb0kL43OeWDfag0OXRqEu9BApY7jIeFJFhA3w7M9e4FTx3RMebB8zuf2dVGypetaK_tZfQTi2BO6PUJg"; e_proxy="AcJNlKAH_r5JZ36rJvyOfxNNRNwxML7pWPd0vzFua2t4Ux8sfjHQI5zE0Cq2gbL3dJodXwNvly6Wmp0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 07:02:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 07:02:53: Error on send one message facebookId => 7378741732177084 02/17/2024 07:02:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbBVJiMsy4QIQVZlnBfXtOg" } } 02/17/2024 07:02:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/17/2024 07:02:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4633889, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ap1rqG-URMLW3RzIqlHHUPp', 'x-fb-trace-id': 'AXKKzf9eBT8', 'x-fb-rev': '1011494887', 'x-fb-debug': '2KlPTm3xpu4SxmcbiRr2IDnaxyAOrblK72TVlBnwcbMNqGJAiqy0q2gMv5zJ5Ppgumej5FVUroLgwwP9ur7eOw==', date: 'Sat, 17 Feb 2024 07:02:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI9BXGRha_eTlo0klNHRByPU1CAR6dYSLusM-Hjgd62YQx_0a2hK_HMqlEVXguWIAbw90SCZt2YWD82m_Vlj8A9cONSEgov5RGHyF6IsLIJeWkrAg"; e_fb_vipport="AcJt-ONxYLhWozqj_prUxbz94WAk9rQhlyqBdpVTEmHc31Wbo3jfsJuLH-8I"; e_upip="AcKmXE_v6o1X5IB7LG_CMKXkIT3BV7ldOLaaUDEbQPEmdrWYtV682BzYx4qtQZmsjQbA2W2x37ufhpC2Owi-8LDS7DRhwT-zXaw"; e_fb_hostheader="AcKl5ReHOIjTH9Qg8MsYhvVBtUvtDaFcIjTCpMsNBxMVbCzUHInOM60K1zLWD7GaNw-9Mz4MJC2FI3Zz"; e_fb_vipaddr="AcJWWhUPPKS4B9uo-jOP8ZbhbU5NN0-GCGUKWP6yv44DtC0vaIz48xzrEBNwEpliIi_xrTf9EwPx5YytFX3qrLKSWVadAcGPrA"; e_fb_requesthandler="AcJvs9-qBEHEXl81Ejnt8gxmgj9furDS51aBgaRSAr2r1HNCEZRS5eBXhnL-gop1eelfcrU3bpA"; e_fb_builduser="AcLYBYFeKivs0yp6JVHPflr0nOMZdmk1R9F7_vUEbhvjTQcYGcsGdj6xkbA2c4eQXRE"; e_fb_binaryversion="AcKvlS45omcu5-hXxPxshOiL7NsxDnUvlTzTMAzPI1iNPltu6HrUkn95tlmSJ0dtSEH0w7Surg02ONajnfKnJRnizzmtMXS0i5E"; e_proxy="AcJ40KBTXjnJrUJZEuUBrScXbZZXW4jIFL9vTJcb9r2_f2QJ5nDaBQXw9ph3QEVXje0xr5uX-YX2ILT5twJe", http_request_error; e_clientaddr="AcLzg9AN_6PjADZgwg65cWGfTQTuDvbaZWLYqwLNCIQ10bI2qF5bGiUyuTGvQM0aIFjEjl_Nb25Tr7bG1Q"; e_fb_vipport="AcK6GMtP493rVAQNveNnLy7oNUBXH9y8fOl_g6z8J513An-HJHGfMTNrqHqb"; e_upip="AcLY4CMQ0snhNMJL6UzYCrz9c2Dl02V31Wx2ELev3Tdpwdiq-Oh_btaBo4mYNOl7sdu0bZwXN1gES88AEXoKDTBylxm_F8atAw"; e_fb_hostheader="AcJDbH01VB_FoTE6ZLP_zXJIzYU9Z381h68305IL93MasNI3RXDLXt5d4jt8MAvb6S_bX-2MRZYGKLaG"; e_fb_vipaddr="AcIUJo887YWC46wKmeOi_XU6XGivJfK_B58hSjfsH5rFL0Bo7KsXtJDDmNYtNl9cG-VOcPwpKw"; e_fb_requesthandler="AcL_DTboVogETJg8zjDVZtsNInaJqsAhKM13kd7Vrjoij-BHndqHi2GrAyQKuRzS5n0x3CXEqmQ"; e_fb_builduser="AcJuagwXdh67AEBCav6UWXqv13WZOFdefnf1HgAsIKQ_S4PSUMTXstU5WdapiXRtUXU"; e_fb_binaryversion="AcKEBOTAL6PKjCZTCK4sP42GJ28Fy-u--HkxELXqOsiHIEjRuw4NW9Y7VKiDOcQNEjrWa_wsmlBs8tV1uCkrv-8-3dGJE1CNcyM"; e_proxy="AcIbu3No5RvoRw3la57kRLsEsVf8lxsIzT8v9x3xtX1hDnJef_t6id8mwUWHI0Qd4El1vxxOKkjgt5A"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 07:02:55: Error on send one message facebookId => 7378741732177084 02/17/2024 07:02:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AhLtRGX4cBbBNXQVDQ0WHTM" } } 02/17/2024 07:02:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/17/2024 07:02:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/17/2024 07:02:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4634028, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMOJyQOVcIz_BUYeoVCjv3E', 'x-fb-trace-id': 'EKX7aFa94Dj', 'x-fb-rev': '1011494887', 'x-fb-debug': 'qX1r4CW/xFWBV3NlP9mJyseK/RwQh58tra3f3LmK29wzuk2lr+Sqi1yuQUR6fVKeEVc/hDFd0qeWHk5cRC21wg==', date: 'Sat, 17 Feb 2024 07:02:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLoI-PxIHzLZVXLtmZzvHZ7HR2lJyJ7k2GYvNOJ3yocyFbhb2vYpP52Z_oqLkyXBxkFiGtDmW7ao352D-BPOOq8TGT9vhzTKuL6uoMR9jm0zxBlhg"; e_fb_vipport="AcKs0EkuPip1XIkaHi8AF0E82zHDGd22J2UQkIMXMCKFq46wJlNhJPGqb3jM"; e_upip="AcIktCn97yxZHBzT0XGxEKJsYJGrBnNU72FiaJdZMa2-k6FO3ve6N_qeY-xiSgmrDIn8_ItYNoG6tvWd-3MOgbkr48UvaE0VFfI"; e_fb_hostheader="AcJrhlhvlhnazqqJJky0Ns30iqhchBXYfdM-mWlcGCqqs_IfykcwHxM8kJWVEKynypPZdNIoFJUgF3bw"; e_fb_vipaddr="AcL6ii4edpTFXW8rKjPgNU2W7ArdKZWlYaKh3VdJDXAP3XbIHT2z9rNdHCPoMBImMntYzyJNrF3Yi7CU3qlyWkChvfxuYdC7tQ"; e_fb_requesthandler="AcJuzbAwpAmAZhPMYJxs4qT5fT30WzAaLm78ckkSkUrCmuGwLAxeUA6eyw8YmWo7eifzOhRG6oo"; e_fb_builduser="AcK4Apuv_nW6s7UDkpTMk1DtmHCWJCNSnCilxSppo45ZOqiIuVNpgtBK5H1UnjEJTgg"; e_fb_binaryversion="AcIl_FrQagrRukIw2MiTHi_C3pdrIAHbb6dzAyr3KIv5WJWmnTNwQZwlItUG3COsunR9XNdpOciQ7Oz7l0T_japeAVreWiRnigU"; e_proxy="AcJGakd9wUtQjE76V3_wuBv2v-AMzw6Vz2d0uht8mZUsNO4g1ZkG3QZs5xcYxb_kDvbDZV9CqQln4TJB_zLj", http_request_error; e_clientaddr="AcJ8oHsSqzkprHXx9kQdvwk40Ufg4mQHTiq7Ayt9HGzYywd8ITKyXU751yvxLniJCER7CDLZtbzMp86-5A"; e_fb_vipport="AcK1jPnXQ_wGPZ4mC4QxrDKhwNxVCetELn7gB8YNMFxshuPlNGhv2EhVCXl7"; e_upip="AcLJruqe5uGq3Tc5OJrJvVd44yYFtJxYcmYa12bc0hZbpdlRq1-v0stj101-N3Z2BkIydMf1qCEAoH1Cikiku3MpXKk43OLBFw"; e_fb_hostheader="AcLr6lWaCI8wAzSMDr91fn8lxVg5wr0PgDpzOBAnQp_z_B_FgX0VOlTZpQoBbo42IfCIqG12NViWsVTM"; e_fb_vipaddr="AcIyJy4RsvBhfZMR4jW1zz1eRIFgUpp73sXBz4MA4ff9VVxnuVXFJIS1vyyOBJawoHNuSvfnUw"; e_fb_requesthandler="AcKOvXBzkg_Q8qDKtc7HhxT3TFZzg_9uapCSLK9YoddNMDn3mAyehio-_UrDad4AbJoN1KrL2EM"; e_fb_builduser="AcJDm6Y5R-qYwkmVQHlCMDB-PhuEnb5VlQ0-zZ9tt_as3qaqO1cjcNShFZ9lJoE1zBs"; e_fb_binaryversion="AcJcUuxBJT7KTUm5VAHA0tjY1aWGuUNS39hEWTQeEJZzhRwRv3rVnr3r7_F5YM3PKnReQwBSLaBPucvuYN4E1QKHsEXVSYfbuEg"; e_proxy="AcLEBrfeit4_rx7H4O-l_4MOvtULS8FY9fhISAGepY2rlwFD--dhuYuPeTgbu4Ia7DtE7jO1MGtRtchm"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 07:04:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 07:04:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4634385, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3RqMHNR7VS4HiceToei51c', 'x-fb-trace-id': 'AlphfkVA4P0', 'x-fb-rev': '1011494887', 'x-fb-debug': 'aaELbgWaH6pgH2Z7L+oxHfcwuhUn0m8ISN5rKHFtJfKSIT64km+JQS9+rKbx+Xoc4mTQVbRbrjLwI2RcTaFoRg==', date: 'Sat, 17 Feb 2024 07:04:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKRdpBgz-2BoLmcnKTYMOxsbTKvA_vrMkoqtdd15mzLTw78KOlHEy6M1X3QUNkG5ZNRlEf3w3nv1Y2diiWZ60fEec5NQHYBr2py_u-yZFm-W0dTVg"; e_fb_vipport="AcL13pCwgEX9lCwc-BQRRT_PQIOA_XVfRsJwhUY0FiFiisp3wm8uipToDswZ"; e_upip="AcJJFMCYHxY4IC0cufvCHMkg_rGsEtZf-rkh9QXdXkjRd6f7fot6WSQaTw_R6BqkmLmwQT6Pr5pe_qR9nKv2efFe3-w5mPeTQw"; e_fb_hostheader="AcIx69JA35IDzIqkNjdkxLGn3lkDWWm2EDFndNBZUKN0Xxzo8qxJJ0EgNmWzCaOpnXMsb-wi094xADmI"; e_fb_vipaddr="AcJaz9rSr8h-dDUNJh5381h3BKJWtoUe15feM98-lZ1WNGZDwg0NhX-a-ZnD-eYOoXh2uS38Aj_1Elq3Uso6CZRBWTNjdoQmeA"; e_fb_requesthandler="AcImzjTgbkzbmCEri3trRWGqLF6TTJ6AUKYLUvyzWttJ4nz7BJS-PKn5Qfbp7onShB2Z3k6EsBg"; e_fb_builduser="AcLQ_hG1LjfTVNo_tSEiE0q8Mkz7OgwW8Macso9FAg5P-LNh38Mu3OgyBCDlAK0WOHA"; e_fb_binaryversion="AcJIO-OOcZ-X5X3ibW72t5PnO7wmsXMPvZEO6VwByMsPGWl3_nB4Hzz8QO49Z9i0E9CHFrLwfche4igqcyZSoYc08_GPnpL7xhw"; e_proxy="AcLk0_LEELczUfwvUnNMk1HTyxVwwpk866sUrqANE09oQT1MO__CPtdLJ3VDdrfYseh1zaWPG7TilpgiR0nR", http_request_error; e_clientaddr="AcLlXyHy9xlIUf4bB4JtxcUQenKQ0SfLJoWTaU-Rw6B2N2fKbeWxeFIchD7A11V9gVKVJ7mWSvEFa3QeZQ"; e_fb_vipport="AcKf0s4kMuzkaxmtTTNXovHhOE6X7U0oktXd3erxHOGAj0o1poJDdw98tAbJ"; e_upip="AcLVJekioIUXr5_eYuWL_xVNUofEtN5VnQ21PKt8O0bTSHH3ZueJOAMlbBEJsyKvsGBCXi6YW_cerTImJ6OKKCCBuLlhHpmVNg"; e_fb_hostheader="AcLEWin6KcBYPfGs-P_3SU13eBtYgJFZ-Wz1ozmqFV91423gX2VjKFnW2Ihs9gu0gt7GyrE6th3_wdQ0"; e_fb_vipaddr="AcJSrkEWNcr2fpbc4qtAl_StY7bCPcjJ5OXNRPEdrmRQTJEja4Qdoh_McehEhi9mTaR9mBY"; e_fb_requesthandler="AcKNH7G_lQ84xIQajheoVrkVcNH6BzV2QGrECwQwW0Y2dgymZCnDP6Q1ossW_OY8EXamekyA3E8"; e_fb_builduser="AcKy-Z7CB6TzVuzadkJjrsr66b0o0ti6lYV3_UNj3iygnTlHHfAZ5xVjQI8K-v_PkTg"; e_fb_binaryversion="AcIQE7pZc5pPR3UbfQ6lGihkn1ODvJOcRUUG5MqfDiHPfHdoO-BtvowGtIMXpkKplkBLDedZLzPfsuH2Jy1Rh0js-OPdQMIeEi4"; e_proxy="AcJ_ytmmtMTzLR-o24RMPAUAdq9XCW8XBo89wYZzWCqZr3b8a-dgvN2NWOQEaiVr7uhPFmL1rLxoufg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 07:04:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 07:04:03: Error on send one message facebookId => 7378741732177084 02/17/2024 07:04:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Awkd99gYogugt_6zSD3YdVQ" } } 02/17/2024 07:04:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/17/2024 07:04:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4634523, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuQoyc07TC_0_ZYpZME3KHT', 'x-fb-trace-id': 'AOX/Wa1rqLA', 'x-fb-rev': '1011494887', 'x-fb-debug': 'Aoy/OSfrYy8/7fRWh1KCOcxMhslqcbgS7SyqYX9Xag3mBcGdNgfY+oFvG8VQHTW/6hFc/dEGZ7CSILwOFRERTQ==', date: 'Sat, 17 Feb 2024 07:04:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJpm0SIEtIjbG4LoGfGbnHbKylY9U9R9ffBqkZFuaQtM_gMs8WcV1E46E6L6PFJJnoVIn0En91kb79EV_p18jdrsC94eQePah8iAy8ga9UUphCz_A"; e_fb_vipport="AcLlxb5ljq-1_i9bGpoFP2b8cYchoPaGyWJ1X1y4iZijC5Jg_-1jRy5cQau2"; e_upip="AcJP8Zpwa9xEO6Yuc-sLeNhv41gGYBOTIg6gy9WYRx0dxTLYIBxKv3tJend6Jzr-ZupG2p0sOsOK5-2Mk5K6rLX_u65tT4ll_g"; e_fb_hostheader="AcJ0WX06JoH8g3l4WqO5NGNsN-C6BXcIG4wEVdcXbCocZPL6tEgs6Qi2b9GHgFxHlUG2Wwa6WmovUsjO"; e_fb_vipaddr="AcL8zsh5nmuvTVbG9co7SCruW_w0Pp-3BeYPhBuPVAAj6wC3avjP0OgWah01kAhOpC8byOLjoIIs6Uv3v0OdxdPYVkssnnsJ4g"; e_fb_requesthandler="AcKviFV94-_xYqPA1QsFDA583frKYHVXRWhpNTJBB35tJT6GtXHpCeGB24u1zmOAsnkvSnv--Gs"; e_fb_builduser="AcJV2BHbehQ8qkdFxCw_vdVGvdooL7Dr_SYPN2tSBkSHrz0sAjqTRf_qbOIIqLoajgI"; e_fb_binaryversion="AcKWSyMzQklWzsSyh5UhP-4FjZaFfaG202mquOpIhdFDL_uGmzRg4P-2SVcYXZfy2mMny9UtIUITOfL4fEI-VAY_n76AACuPxiI"; e_proxy="AcIxC5T2k6bJ9sQTKugWcBKK2cmGitY8Xs-49lYro_VKMvNsTdRFJpqNENfJ3Y8yJGGDN6znxfFToJ1_pD7K", http_request_error; e_clientaddr="AcLETOFgCKbauC6XEqqSMN1WZXOeFuDI2sLCFYZTXul2UiJX5tAdoCqwnvXisIhBvSD5C4pMQXBixO7C_Q"; e_fb_vipport="AcK99ieCVSIN50UDI7sUOWwAJwKyUQLjhknuYRErqdnQuj-pOD1l-RXNWcuX"; e_upip="AcItfkwoYu80tKaycrWbzI6TgMjViYnmvgmXIuW2pkQiihF0nleyfW9VOSWf4Jv4Jh0UsIxYZqWl6YRcjSZCmO_lCgBo-hqcEg"; e_fb_hostheader="AcJnsJ4VqhIztLxcqiwNoVxqnNyEygJ2L8CcwZVeLZCYeQ8gzxFFoY7jKHmkyp7qrwGhidaC9DkXugOl"; e_fb_vipaddr="AcLpu3fCijAOCJu8StElXpwWyHxwG8-snveb7nYPO36f80hBzfWLrXC7P5F_AUaSHCY9Xiw"; e_fb_requesthandler="AcJOxFqq8fsq-YG0XaSxXw7XFb7YPsYZQvaYVRupQVgCIWT-h-ASTfIWn8KJIZzrzKp5W1UNcnA"; e_fb_builduser="AcIoNWIZ62dnU_36nHdAr29xuM-1D_V3V9jU2x9fNkDkIMZh-x4llXPLIilOs190MNk"; e_fb_binaryversion="AcKgF-rPIWsC2bew75JQqmyfx3I5AG2aFcY92Gx_eH6TuW2CnqAWdiUThnvhGgCHy99RG2-9Q5MoOPnVo6tsJdFjOoXMgKE8qgM"; e_proxy="AcJJCwcKcj-HTfxbsb99cIGLs7DbxM9RoLR-x17Fy6EHnOwsKok7cGtJgtngQF__VA1-4R8hyYTprutq"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7378741732177084"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 12:19:39: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6912519025536833?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4687345, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6912519025536833?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6912519025536833?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6912519025536833?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6912519025536833?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmMqjX0F9ePcdGM8By6qOvZ', 'x-fb-trace-id': 'C4DsBgxgSO4', 'x-fb-rev': '1011496313', 'x-fb-debug': 'hp3wWs+nPMbKsdZANJibxP7grhSycV+tkWvODMbbXu8ykLS6aRg35TV+bmghULheF3dsXdOhDt5LbegziB/9kg==', date: 'Sat, 17 Feb 2024 12:19:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK1idHT0YU5bASzMTrs1oyB-xWGjNRaGJyPA5I-Fgox4yvk0WGazxtBxeIGcqtJ3zZPJSzrDpgFgx2pHp-HSQZhhcF9jlDl-Qz3FjUaUqCxEi-X"; e_fb_vipport="AcIoDsr6C4ZdcFOwrB4QyW_KRpFYGLnU1nvANbmE4mUzVmxta5kons7zB0uv"; e_upip="AcJeW7SaakOGESnmO-Wj2KRDexYuRIe2B8pHstHKVnygIF-xxxcEFXi096OfLo0lRIsECB9JtOjCbxorLs7062C1jYTp8OeQ2g8"; e_fb_hostheader="AcKR6hzlXNFyB3zUt2gUxiKoKdAx9XZv8lgfoNmiwVEAi2qbSo47LxDyOjUOlIVVMNAWSR_Q3ppqmKVS"; e_fb_vipaddr="AcJEql2XvA5Lrb8HToVKR6ikX8yo5BQOXMDNycQtAeZ-QL642tEcTCnZEszp0TI-w5w-yfm8YkST5aXyRakT8jE2XVXlknifPA"; e_fb_requesthandler="AcIWZDF4yZxzB4bWbmjBvo1kHs5OzuH7_Kw8SfnvfwGzWXhC3rq1-IApYrbKC4665WDWbDd0pKw"; e_fb_builduser="AcLDLfmizESyhnf_KgbXbaDxRG5ebor_P1gMLumaGZMl-5w60gpjqZl5ZaYgR5UBejQ"; e_fb_binaryversion="AcLowDcYBwqb8LRLTO_xtWGoOf699mrD28wfP4O8QIxM_sMnizT3Y98gigBCZLC2Qo3O_yxqb_CCMbP6Uz4etEga35j2IzUXNqY"; e_proxy="AcIw_5v9gp4UKZE3PZNGKl9Z7rJzY65BVEPejE3Keg_1JzM6bfHXrdQwE_QSDlOndm8uOqu3H93I46gs-q4G", http_request_error; e_clientaddr="AcL39m2cTBULZil02VPNXI6Wp2YExSPaMzz57i76SH7hUQYXxj8IPwiE-1x5-8wsaJFDRAXmcsai6aSwjw"; e_fb_vipport="AcIUU4qzGDm4OCjpO8GEpdzpOnqPS872blVnjfiQAZ1M5R6fD-xZEbdN5bk0"; e_upip="AcLGdCRJ8MfaeA6u1WLtqlB8nMPOS3StqtIp0fzIKMELPzihoynox8wgU4MI82BmmrCjG7ly_FCEPKIv20Z0ZOlrCUmEFm0X0A"; e_fb_hostheader="AcJ0dQGJBNgUBBZgm4sRR_M4N7ie6OFVAD91q3gU8Va6CTEcPXb0Ma69cU6cW1ze1-c2FhR_yUSk6kcg"; e_fb_vipaddr="AcLSF3kmbCXflymWf-T7bGx3BstZhWappyXRICdHPeNaVv9hHQR4HaHML1Gq2N5Kn2XSSqY"; e_fb_requesthandler="AcKDs_HhCiRayRa4XLvWh8dyDWgELOq9KCPFSo2-0UWroNz3tz_9PBdzaWpoWeAlMahohEgiOxk"; e_fb_builduser="AcIwEpXXAGY9q7JUynEf9HH-werbhnL_HrC92RpcS2KwjHSWD9b_gkj_wytrrTC7TTQ"; e_fb_binaryversion="AcKOufkIMLuQ4W1aMve3Sy67LlEd-O-MQ_U5lYZzEChDLm2pLTVwq4t3NSu7IfVBQIT86KSc0YgEvYEXT0ehkkSwV8zmTVq4e34"; e_proxy="AcIaWaWHh5_wl5cZiA9yhJdIdwi8rBEWB5yrlf7j5N-jFbDtNAdJBf3PpkcYgpmx6ukxlH1Q87S53UU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6912519025536833?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6912519025536833?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6912519025536833?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 12:19:39: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/17/2024 12:19:39: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/17/2024 12:19:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6912519025536833"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4687463, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHSO-UmUlyc56o5pnUS0yvw', 'x-fb-trace-id': 'FDrEnO0vJR3', 'x-fb-rev': '1011496313', 'x-fb-debug': 'X3Pdiol0ZcLxWDnm5By6PaplHgrqc77sfw1QVhcVfHUwIzl+a3RQHMGKCm1uHg01oz4PHl0qpl4ZoML9Hb7dnw==', date: 'Sat, 17 Feb 2024 12:19:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIBPk1LBMgkWMLG9HM8bUdPu-faoZ9MFvPyFMAiLFHCCw1FospMoXLL3Kfr19t33H5zDIeHwaSeYClXrjEK6qVUuNNv4s5yBex8oRROENHcdDBT"; e_fb_vipport="AcIL8-opg6r4I7utSkXHg8K1pdNBbNF10qzjQVNw-WIly9POrerFFU5aJ27X"; e_upip="AcISvrwhlr2um0Xhj1IUd0SROLDO7WGsz6nTiLFO49UyySOqVgak1ytnnVBp6BPWFTZ3iK7S7SfckBRGHaM42OkT-qN2whMw73Y"; e_fb_hostheader="AcKGcjCeDLDfTS2YoSG_uJfHDJ_ArqWJxkpiGUdzFlLFw5smJ0RsNMSD0oDmxgDFacPTgObqh_qmqiZ_"; e_fb_vipaddr="AcIvzLQfBA2KavjqD5rfoUuEdoWRG_PJNPQp2zBmeKKXFvwravS01JoutOoIXax3gtwHEjPE5-cWDOqJeihnhKcOCTUcf4__cQ"; e_fb_requesthandler="AcKDVFwU_KCVSh01cBl2bpjiGKEbOfMEM41J03zGAkrhKM_f16wVWImAAWFTepH590zjnqSTPw0"; e_fb_builduser="AcK2GFtPSpOYiM6AhvPFYKXWw-DAffkkn6fkITEjRk_LhtJbRejkMsJAQFICJW2AX44"; e_fb_binaryversion="AcJvzCoBvP-TtunTg032mVpGmy7HYmYGrx15rx3JWkEo8hB7IANDvZ4_onppdhdGlkg0Y9LGAsM8Ry9u7bo5RUwqAwRs16KuBTM"; e_proxy="AcK6r60oYdKOnIAQWPO7FJdZLi8cns97kSq9s08JXfFmDeTB4BC5-0VYyLJeEbrbszCPbaQe4i9gzFVzePwW", http_request_error; e_clientaddr="AcJ7Uo3lw-TcGJ4g_P0KyTB6j2pDqK9Oxr7ysYFx2l18phZr9qSpF_znSMHknkps8-t24GOBrB8JgAOn3Q"; e_fb_vipport="AcIQjcPGj3voRfrEscQKndkn9TuFDTjmtd6trp6srJN-vjdfDIepVhoNSfDd"; e_upip="AcKSB9i91HF9xUFZdxgZaSih7zma9c7S5rPLlFio4FuEInUoS0Nt8M4DhJBMbHnf6yiqdw_Gk5L_30FN0-627TD_Faq51EAUqQ"; e_fb_hostheader="AcJD30qscroWdvKJsXCaFS-2iRbLJMrRXb2FI_drQZsSSQYUOgjL1EncuPVh2IcQw32ZrnnDP-OazxvI"; e_fb_vipaddr="AcJBNSL0Csgj65TKmtCCCEAPu6rhUhIsUY9spmQY_8hODG0rZIUB6cn8XFXJJSOzrLj7YsU"; e_fb_requesthandler="AcLr0V2Rb2QC7KIZVHs2dwQxHPEqMQiV3JXwPw1RN-pgKltji30lRpuuqATxrSijuuL79nFV2jY"; e_fb_builduser="AcJMPnpAiqHwhemCXOeAo52Ir-xM2fpXfv4gTqJlA5KnStD1GSii46BG8GQLoL_JRCo"; e_fb_binaryversion="AcIIk83Jre83Om7Gj1-p94x3cu3ZghC_Q_4q5CWIOjlNRZP61L8L92n9zpEV_qvweSC7zQJ8RKKba7MW6vuQ45PiThi-xQYd3iE"; e_proxy="AcINDy3sY5fSXrxkbCcXiRufA01zkX56tfAu3vry-HaGOhxHF7xj_KB_DAG7suGJve1y-4Q-ALJfQUw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6912519025536833"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 12:19:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 12:19:41: Error on send one message facebookId => 6912519025536833 02/17/2024 12:19:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1A2SlQGqvjDhYLvH86kBSh" } } 02/17/2024 12:19:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/17/2024 12:19:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6912519025536833"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4687538, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5zNNGxlDqNmXUi_aXUENDC', 'x-fb-trace-id': 'E1lDCUlLF66', 'x-fb-rev': '1011496313', 'x-fb-debug': 'XHQ1O7OZ1AEFMHVhDFHssQyZM2oEqzjmrujmesII1gX7VCEdif5kTWSFEh0Yoovj022JHNcvMH058xa4wXu6PQ==', date: 'Sat, 17 Feb 2024 12:19:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIK8P6lfdLMOV-doGhcCpRxsEoRG_MLBvVLx2kLy0PuNYz4j_HjiHvBYivzWZwuhDxRuFnfZkOfF5OKjqvqiP6b1xqoMrWqMgzFk7kJ9cYvSioa_w"; e_fb_vipport="AcKu7FHGSc_IHZKladCLLXJI_O-RI379pdsAKPEFuCl6WqDf2lggpekyz_Nd"; e_upip="AcL0L3-x7GnHzMLDbjsO1B-ZAemfQuTY8EO0aRVfoebgTHTDGlJmkCi46gskiAJOHn32OC4sjjth18bOPgMeXSEWGLdxGTsvKTo"; e_fb_hostheader="AcK4pr-Z-Dg5q0q8yszqvabMSmUshJQpRKqnVOcduMGtSaE_pGDTfGabuqPHH5H7COMMVn2CjvZY_0dx"; e_fb_vipaddr="AcKnstnPMNIfHZOaF6luYc9YO1a5Liu5r-TinF3l3LMs0hY6j3LCT-p4xZ4HrxK4GhTv8w3Afw5sFW-XgvM9Gx1MoinOrIN_eA"; e_fb_requesthandler="AcIxWDguivY4DIHpmVUnUN3DidLhtogw-uza0cbWHTmGYjup1hHkuGK1e9YVttABychU75RMJcA"; e_fb_builduser="AcJwKl68tiVuJALQr2cFlxkpS3V8WjSObyjaWPyddenvCSPtnbC_g55QTOG_BHrJyfo"; e_fb_binaryversion="AcI32oa2AbTX3fFnReWpn5_lK4lRk-Fx9b4M7-8679bdata331WGj268k2S_sQLQWNyO46_m1kl0Gpbeb6qESJo-6d-i31GYsfE"; e_proxy="AcKf54_V7uHC-KPMY6fMedNmxB_R2TRVq2CmvdB2RrWorhiS8b14s2rYQZjPjzNa452_U00tvphkHqu7ewWK", http_request_error; e_clientaddr="AcIYWaQFB_ZiD4aEjPjr8Mlzy-DEK_Tcn6lOn6LaR-3vFEaJlWKNoSJn_VKMdkvKq-2y-klon25G4Wk5Mg"; e_fb_vipport="AcLiv1LxnWwgdIZpC-5qADkDArmqe8y4m34E8uMTlt2_6xZQSrO42WfalV1B"; e_upip="AcIn7fO6IrKb9ltVB0qIFeHe6Et7RiRP0dMg9N6_wItlyK4awv6Tf2nRuX0qTr9OZu7YJCv-KwK8YOQlaXN_e_MCdNy2h600BA"; e_fb_hostheader="AcIp-bM30xRq8L-iQfqSf2TVzEUXR4iEin47u9EcQ1NWazQDrTTuqtxFFUy8SkDcNJk8c0hNxqGQGKXA"; e_fb_vipaddr="AcKlkgYASrrKxRBLT3DXXt4AFGCgQett2YxgfY9CBFKWoPNX5FZFvLR8FZ1T9SPdKmmku4U"; e_fb_requesthandler="AcLxtSnjsVdNy-mLdMCBAuQsiCld2YBQD2RWXYkzLsBAW90f3M3I1S3mOZk9htrfEyBuMl8LgwA"; e_fb_builduser="AcKnmNpQR5YUx6Bj4QdO69sGcqffCY5FDzGC-HuoiVcB2MQEsentEgqF7PcwvSpoJPY"; e_fb_binaryversion="AcKQlgKMuLw_y8qE_9wyT-oDUrSL8rBDCRa67ohd0Kqv-klJtxFS1aHlC9AIVvxOGg0QIgqJjrw8ZuQBHiJYdp0GkG2taD4Nqvw"; e_proxy="AcKQMtx3-VHGmufHQkiwlHm-bEc02iG07VsGMImco2l27VsuNT7tAvrVXssWe-8L4BPfb6kIOB0CQW8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6912519025536833"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 12:19:44: Error on send one message facebookId => 6912519025536833 02/17/2024 12:19:44: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AopcCq7LWy5ENU68mKs_9Jl" } } 02/17/2024 12:19:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/17/2024 12:19:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/17/2024 12:19:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6912519025536833"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4687684, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQRP0BIW_s1VvITvJ5CvyW-', 'x-fb-trace-id': 'CZA1zrewR6t', 'x-fb-rev': '1011496313', 'x-fb-debug': 'ovJD9sWTlgSObwTy+3+QhOkZ/VoQ5dj3Gmwth0rEwT9z4fjNXfVUQ4eYBxJTJXTjAJuRyuet+Y3b4RByoZ2C+A==', date: 'Sat, 17 Feb 2024 12:19:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ3LD7S1iZxgdbsaofzDNr7N-DccPmfGEKCpEoBjy-6aN7ynJF7GrzeELHhyWl4KjLr7A3-YZBGCQdbePtjFvXjzErkTP13UaI2LYeIAHuEqRGZeA"; e_fb_vipport="AcJbNNV9S7m2dXyIWpY6w8Uwx_dUrgU1vCT5AOKQ8olXJ-MQy1v6s5-hJGmW"; e_upip="AcIQlY2vwFA69bDcJEdl92ENrZMKPbBJVPx5L4jtuqGg5k2anx8PgBMsMKOxqEVLiQUm4qpNnf6IdU2q43NYXx5QWk5R1bG92tA"; e_fb_hostheader="AcIE9u_h1uiQVU4h2lZhF0PY2BujbH-7zvRM2vVUcgx-Ii94pqq9myJKaldnVV4qQZp3Z58Vh9mHEd_J"; e_fb_vipaddr="AcLK5eypsCHwFZY-G4WJyzvktFtfMGtuMourwUgzllPzc7eeOr4ST-oT2G1T7hWIsbEDDjb1LWppUiIh0sOALuJgH-HXlgelhg"; e_fb_requesthandler="AcI2VFvEB4BphDRfgeMvs1eL-Er65OgjmOuzKbnzw3WHfktoxHb9UfeasdmGklXEIiv-G6Sjumg"; e_fb_builduser="AcIQTtlqPEO6L1QY9fOuqJB665_rVKJ08TbfdajNlyUxtbajSyU1wrqZX7u8-Cs4NN4"; e_fb_binaryversion="AcJEGmX4LxQkdPH8KEXBGRYiBLy9T2Uuu6YxRNSebXd0S0s4sX1ZzUPVoneszfqqknUh3AGGD7liMSafYt01ynGO4ILwmlrZDDA"; e_proxy="AcJtQv6k_HlJlWtRmykE3MORK6Ad48pKEhSQVK1Ag4vQ8lD26-sELxvAFbt_fHvbclLj7LGxHtjHE0PlLLc-", http_request_error; e_clientaddr="AcKIn_74oQA4qZM4mXiu71_DCWMGuUVOiR_yd7kd8avdQEVErPxuHKm_kEgRb7IlXZpgEKm8v-8I2dkdmg"; e_fb_vipport="AcJtKDFb5i_jONNmAYWSwlDbltNmtwuGgwQzQdx5GtEOOZL7K3-i39Qqd0tw"; e_upip="AcKbcBniajjXgZdaxmr185VSA70HYOCB9JiZXlgHJbFU_VFJ5rFvG4FgxqpVa25W9Z2eAEkLN6pAbZQ3iRFG-Sg4HuQ-wushFg"; e_fb_hostheader="AcKj11Jx1NP3DsDiAEIpK-YILMphHTrRxBiFNDhMdpfS4gYFpnvLN2bf4pA9yM1SubAzKxkvLdrumBHe"; e_fb_vipaddr="AcIanuT0cf45qclVVTvj7sy9X6DQA7ZazejwQNYR4dP5mwbsfOHMGNurCWwzaneALU5XMag"; e_fb_requesthandler="AcJbDz_yu89_7sukG3AxSgZ3nNn8DINrzk1148i6Cc1czzdohcYe8dpheDlQdnLw2YyGauAfdaY"; e_fb_builduser="AcJrnPEHUwwn0lHpll53Dulx_ll42tVco-QcBXj5WJQWxSQ2tfRGe1f3C-AaPdAAIfQ"; e_fb_binaryversion="AcJ9lOwFqKv8EXPaP6D-3MvY8e9qjexdbMWVSjTkBhxZne1BMgXqiE-WwZ0okT85GtHGBbahJXwCsXCfeoSbfML1eHDRFgB48IU"; e_proxy="AcKz7lc7qy7dOcipmMey3IiKj3Ml3FurL6g8I7vqqhyny2ajrtPBLatGCjajN3GG2Pzhh2-N8uoaGfU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6912519025536833"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 16:24:22: Error on send one message facebookId => 7561324217219745 02/17/2024 16:24:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AFpR-GuRcOo4SQu_4obB028" } } 02/17/2024 16:24:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 16:24:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 16:24:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/17/2024 20:51:07: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7200921576689355?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4773559, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7200921576689355?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7200921576689355?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7200921576689355?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7200921576689355?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A98iEhNyo_cyfjrDvfp_hvz', 'x-fb-trace-id': 'HTmrWXyGH0w', 'x-fb-rev': '1011498843', 'x-fb-debug': 'FB0a1q3/7NCiHlqNBMLvHkGV+uB4wEHnKkbLBGeWjAaaQkfWNxpuu6V6mxolYJAc17P02gijehxdtSN6625pvw==', date: 'Sat, 17 Feb 2024 20:51:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL-UON8mbZNwtAuy3khRDkUNGPjNWavDflz8Nb9h7QhF_1Rkp60HTyFauaUqcqguoB_8Q16tSJVuSWf0YOzr6Jl_WWkJh6rBLxi79UKb3bHusrihg"; e_fb_vipport="AcISHs5E0sjcLpzxkKqZOsqilCq93EJLhK1Wxwb1cR7oQHrDOyKkvofa5nyu"; e_upip="AcJPHYl1Ll6LgCcymNc91duMA-uKNHagldsNJcIMEcL5iTq6UlOqEG5B-Qm02FfMqGn0T25dRxNa-Y7TigdJsdHJjiRV4GehVg"; e_fb_hostheader="AcK3JxsWTUG8Mx28iBZ8DB6end3ObzuuTJLRAfQM9gsPjOve-PNubHz-PzLOnqrE1LoGLquwEVXUM6-7"; e_fb_vipaddr="AcI7fN40PiGcIio1hsOnhWTWCs7XGJUX-zT5UmktXktVtqMerpxZDpf7YF5gWeoWAWF01AzdICTq21RKhtScaQ06GJGf9vlGaw"; e_fb_requesthandler="AcL3cJOvLJ8B8MhtsweqzFD21HIC9ygpS5sdMKU8KrjrdYXXpRRtkj6FeupMN2n2jOm3lXtPnZI"; e_fb_builduser="AcLiZVScRCxvY2-5xPUpV3eU_q8bM1_-w-ZxQawryvxJoBUFIrtEtttN84lAkuwDDKU"; e_fb_binaryversion="AcKYO3xGZNqGOJkWRaW3nw9wDE0IgbGPPpmS56JEX10ryq7SOpN17T8fmCarQwTn5rvAgMHfYd8wBdP46o4cn51abfhX8dv-Mtg"; e_proxy="AcKSlT0BKGniWScGqbj3zWdNE-29QH6R55s4pxnuG4P0GZNxzdeMnz04DPNTDXJe9l5Ap7BIqtgcN19mw4Ot", http_request_error; e_clientaddr="AcKHPVBH6LTvqn7mjm9UGyZ2AtHEkzESUkx7_VLeATcbhO48qipfp9UjxyPaz2CsgG-iH1xNqSjlrARCQg"; e_fb_vipport="AcJhk2V1Drk1pafbmdZwzx0RrMY6MdbbbXcdSL8VeFQLlerX_L93TLZQihEZ"; e_upip="AcLc5rhlVAKnMucNaFc1JYCNXSZrTHri9uSeHdCjlfl1i560OrKIEHeofVD-GJDTW2O5zfPhxbF7g5M5izeLTAbmcS8nR6r57A"; e_fb_hostheader="AcK74oH0i6K65uzc0OQIJQskuZQKWWz9W6wS2rjT4uoYXUqSG_ahkDdyCDkKr900BzQrhh63X58ItmZj"; e_fb_vipaddr="AcL0Kv0ab5hH88UgpT8-eEQUsnPo9kFGO-HnbfI19-wYiy_36G16y7BharDHoZa97zU3NOuEoA"; e_fb_requesthandler="AcI9svLC5GEZ-HaMeB9RZLY0iURjJ0CCkrXk_dGL9INSYvvqTkcqI_wiO6WDXJg4nYgGt6WJFNs"; e_fb_builduser="AcLBuuySh6bXlVvBilPhSN3Mo3UUKkp6tLGfcDaLYqRZWRvjopHYCOTkArajU0i6T2E"; e_fb_binaryversion="AcJoY5g5PMDgGmKY54Cy3sRraGNJKtrv-k3xlwNXV1YCL09xtjQhnD6zwwPtHZ8ebVa5dYPSrogMkVkNrOp2YYrkhmCR5XNBLQY"; e_proxy="AcJIDFvFBlWuFB9rBSJbdpuMB2UqKORRZlha9oIUzvgB7ULR9zausv9fVg5qormsaI_uYDhRYkCdF4Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7200921576689355?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7200921576689355?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7200921576689355?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 20:51:07: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/17/2024 20:51:07: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/17/2024 20:51:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4773677, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Av9ZJG3LMO6Ls6MF02RexON', 'x-fb-trace-id': 'F5gGZ3lGXgL', 'x-fb-rev': '1011498843', 'x-fb-debug': 'TzaVH2UkOSLESNCwOeaKqI7FkuQ1LNI6UFc3+1idMt90xVMxMq1oKxVq36VORtDTrWZYHLXde3z7czpWK1VAIA==', date: 'Sat, 17 Feb 2024 20:51:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ9Rkyv4NDG7QqludVNqk7PinFpdbD4L8mxhGfapnV4m5F46Ih-LWN7OwjbbkQcKJ_Ik4WV0-LEAtWg5XTiS4I1jYnK4hWfwH42VEnHFaOs4XNY"; e_fb_vipport="AcJ8apI9TR5IHZrmjYODpLjDsym_lNjRvqjkkOoNov9iWzspu04-StJwqoa6"; e_upip="AcJR6Wk5EvfJ8obaLYQQ9BSnvdeULAVvuO_i5Jam3qG3gqmwlOFbDhCn7tbp7QNfr0uvprJEqQYgXzl1YVSvrQHn3j4Sw3Wx6nc"; e_fb_hostheader="AcJEazWBh1QP-nl1PLjG_32v49qKwkOeC9gsFnWTgqeVqbY7c3zY6iPPUFUBB1kgETi7FDMxkEOu8vTV"; e_fb_vipaddr="AcISr6YYYNzcQ31Ca_6vbLko20HVGYSPLeU0ReydooqVupVURxfwoV19gfxvT7OPuj8xPTBwAItCDMq-m7sMv4h1xGbh6wH0VQ"; e_fb_requesthandler="AcL02xNHEilQhCE8kXMtMsaDR5nt_YYn7nMEB663WYPa6LMz2tANL88CKDimg2Hi7PAHI5E3yAA"; e_fb_builduser="AcJwtAJEdCr5JsBViKcK_WZbKbo9hk4JOtsbdVZsqfWWuH7wcBsMUfAsaLdu29Oj8V0"; e_fb_binaryversion="AcJD6AIZJha8xSvkuSl8WA0NO9c4d5vZPNuJu6Y5keqoood-cM-hV6csm9uyT4PTda-s5QDAyCmVMZVaj-WIXT7an78idn0F1GA"; e_proxy="AcIMt-YDSoS6hiphZ4WnDg-GKki0dXSA3-pVLgxKyRWg91IoNtkdBXM0vH8q2XPOGTHF9OZrICKKNULdwoNA", http_request_error; e_clientaddr="AcJaKOAi2rhPrVT2_axkd81F-1aAN7VxHnL3v3yTwAbHvJFaVxfPvOeXLpmcA4hbPUxorcj9JZAOgQgZWA"; e_fb_vipport="AcJDHGmfgFUT8G2NYLPOenpxD0NNVt-jpYbkIXDMzW-k57M9VchVEkyoqJrY"; e_upip="AcKDRMuyL7nNi1Syu8X8Q70j2CD6Tbn9JTQzgzJdXDA629-1iqgBKkEU6Dz_fHLBgH4PFyp8k9O9kEys31R7Zot9J5L_hxZ6aQ"; e_fb_hostheader="AcJtAaJ-_EQ0O5EAyoDYuDwDoT4IS4cfEmsmDsZsH1TcWZ4bG1gJ_-s4_uMXSG9yN25ehKGiMOptFWm6"; e_fb_vipaddr="AcKA-ky0yXjntPBvIzFNRNX8cyS0G4SYFPyzg4F4FNOFtHXb72yHP82yQe6MmN-ohr0q_qkbmw"; e_fb_requesthandler="AcJTnQuIz_UkZA1FTd9vkYmzFgqpZc_hMbfHqyv28Zuij9VXU7rJc_wLtDNa1dVJxgccLREAlJM"; e_fb_builduser="AcKxmViF_R5FcyCBdUuIDrabdtqFl99asgYbNz-z0YTytfnPEUctrb0ZlNJCHpMsi6c"; e_fb_binaryversion="AcJS8dJhOtASb_9LIXwMg5HOReGlLZ8DOAA-QMSQn4Iiolpvw-Lhm2RuZgp_ZKaguuVE0KmrqFBkZfDTmzm-xFS9paZGrnoJCIc"; e_proxy="AcIkANPB8HwWl19SLawFPsN74ZIlT-bg-epwpQWnkMu8fIOIhNCXuj326HADZBDmRA0Y_WrSVXi_1PA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 20:51:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 20:51:09: Error on send one message facebookId => 7200921576689355 02/17/2024 20:51:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Af7B6pBr0nMfqJMfIsMpFeC" } } 02/17/2024 20:51:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/17/2024 20:51:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4773796, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFeNpbWip9eRSMJjeYbPFjX', 'x-fb-trace-id': 'HZg2SSQoTz7', 'x-fb-rev': '1011498843', 'x-fb-debug': 'Gq7zbehMi6dQZ5oA5JFgd0Al9c2jPFgI8KutT8On2AR9SLW0Xzr2q2swKPXHDcGZ9vvN2NS8giZt1sUWtS8Z1Q==', date: 'Sat, 17 Feb 2024 20:51:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKXc132CvhGmP4PhV0pzicSJ6pGRpPKHolMFi6IfOzsORzflDd6ZHcvMs6AIY3a9uUGP8ma3-LzEeaBAVYBgt8T9wdiNHc7aEOHbfSluNLJiA8lyA"; e_fb_vipport="AcLQ2aY4AcyZyqsk1NZVmvXynCYBWtqbcsz_KuwL2wZ7lTYIWdwn0nvAGXob"; e_upip="AcLGV3kRtAqHp1CISeJbTbb9MQx4grfug3mDGF9w4lMLEndI5ONf08FnaayhXaylhjFX6kgEi3cWgVfVCdhlU9zeyof6E0lh-w"; e_fb_hostheader="AcIah0LXwj2GFoTn2N8C1ZUhvaAI_qyqYybbxlxPTUc56pNuk0gwRzs_puBUxF1cG_RXYu2QrCh6tEON"; e_fb_vipaddr="AcKye1FzQZ-Zg3MWKovBZ9OuxHpeiegcrAF6iW9aeb8A2OeXDGjikKlzLjLiH6IL4Bio6rPBzk6d3nhwM8J7j8jzH5bk-ocnmg"; e_fb_requesthandler="AcL-Un7nKyWYyejk2gDlqx-UVFpMeYFntgJk5_fpIQNZHhLpKip91xEMOQeUpM7giFyA47W28Pw"; e_fb_builduser="AcK8X3nhWQ2LoHY-J-z50NPSr88xbtaOqze26v_ziyvKTydpOtLfvc9dPRiySM82E5c"; e_fb_binaryversion="AcLmav49Dyd1wS9i7K0HYzHoMdd78g8IylYpUVQf9zdzS6HDB-nLpRfuWuvK9YVAX8GJzZTE4Vmy-77UMNeR16t4oJZjy0A0otY"; e_proxy="AcJMNHGKCadal3S_dvyL8ANbnGC_WJa-igwPrZtlMrdXkKEJEl7BxAivS7yrQYClGKpMHZYf6MxuG7jEnHfC", http_request_error; e_clientaddr="AcKCJfV4OxxlQgIqhUkZ9Hn1odnjUEkhFsBXu7gPZTc-HBuUpnzIOvMlLwp7_biRs0MR1I7BpIZ9RYaH7g"; e_fb_vipport="AcLZZQkae7h7Tl-2vV2kARGpv1f-VcuCtP5gc8BYTEUVIXZEYW0a7Ned7BnT"; e_upip="AcKQAg1YbDgO4bx301xLa0pGWdfgw3TCLZ9CcN4Ei2Juoapvv9Nn0Goly0QFDiTwGusY9NfxZbr_mPX7nTey5Fk68wnjIlLoSA"; e_fb_hostheader="AcJ3S5gVJolWlOWVZmAD5OK5IS-JxucO4Ib1Wjm5qAUHdXJiuHhxM5zdO2wZZ3lK3e6DxXjYXFpqMZP4"; e_fb_vipaddr="AcJhaKG_CDu5Ya4WTvgzafycyNrNSOjBY7asBSkPlD3aj37ONhm5HPeC983hEPeXWjmhyut4pQ"; e_fb_requesthandler="AcIfU-g3lgApgfdfE-J24lh84pZ1rjYxEdtYS6bYd8AEcuLp3lC7uJiv3oQFR2nNabJw0bc3ICs"; e_fb_builduser="AcKnYEnRWZJkKbjotYTSJvofJmXf9nQAS2ZwhdOEnUwqAzUYEC3ozDV3Qer0nRw8_SU"; e_fb_binaryversion="AcJgqOslfeZfeTZ1GfDuHnsqRlZBvYcoWK9kMaCLKeDHpWmwxgCVSpkTmCHVkivBHchE5QV7nL3on1glOtSG-CxEguM3i89dFEI"; e_proxy="AcKgXzk5hCWs7XiNaoIqh6Pc-YBZ2gUTUHvPoxIQj0oIx5VdGtEtC1HWmhbSv9V_5ptVr0YG-PA4_t8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 20:51:12: Error on send one message facebookId => 7200921576689355 02/17/2024 20:51:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ap9Y_wml7KZiF7z-Murin9X" } } 02/17/2024 20:51:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/17/2024 20:51:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/17/2024 20:51:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4773935, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-gJEKopv_TuojCGB_Fkqmu', 'x-fb-trace-id': 'DHAauHNQKVQ', 'x-fb-rev': '1011498843', 'x-fb-debug': 'UFfq7q9zWG6QPwB4JcmKgPONBpAnkUaL4FL9IQFRlb7XEBy/h5f6n3dEFkCc8XV4r/Jc/4FGmXcrrMgejkjchw==', date: 'Sat, 17 Feb 2024 20:51:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ9fN3eYWhmFKX6HyiXQLInfx9EEGs5UofLSIpOWNtZGjsv3kmXLFGiq9hQXWJuVxWqFhNVxrDDuBUHNzSynEQb-QWMfo8T3B7pQvDXD5Vzb3yQ"; e_fb_vipport="AcL98_jXjkB2OSz8b7uWzq-I6PZc7gf11daM4JVHhWQiPqakkObfRf-86ILB"; e_upip="AcLfoaqP7nLujFtqyxVCbco-3C6PozzHCgyMcUM_RpNPt54cLQmhjrLIHDPpL2NCLHr7g-_2-N0CQ_JbxZP5SJpYCo3uK5Vr1w"; e_fb_hostheader="AcLbXc1tlYHfpGZxOosrn2pcXbjyF83viMEp55zgw1XqfX9Uu0-dGrQw-Ohv4H0MdHiCGURro-pvnHmv"; e_fb_vipaddr="AcIYbu33R9B7_SkMlOWeqJsAU0pMis7EVgZjin5Din0ROs3ZjA6w3TQdY0PpnZxK9Vi2W5QbVDlOFcvncWDo5B-7A6_KFQa0yw"; e_fb_requesthandler="AcIgS77ExYm3VetRuC3j65V5Wp0SS07Rj6tuFbu2V-b_bYR3zgRMtKgqXAwQq6bDj5QceIMex5k"; e_fb_builduser="AcKPZ835avJrbuWiaNbBEZ65q3NFpfAMt7rzafSRpyjC29sArmaiq0Qn9Xn6tjrucds"; e_fb_binaryversion="AcJeciRYE9DrHB_360V33ETmB484dGF3qcMDOSgaAz3o7axmr-_PNNrgjAM57XVr6iAm1ZxK_H5xthU6KWUxbPFN78sI8C4oxAw"; e_proxy="AcKhZdoMphuAx2wBHcpbwMPOKQyFRl332JEtl2S0Zr9KDZ7m6kXDA8G2PA78Ai36jeZGxxPaqkQ88cJNQFu2", http_request_error; e_clientaddr="AcLq0xnTTalS0D5hop399FltEengqsJfSBlv8UJcvqpJI0YEU-_0Z8e51cW0mMAnKwsMSU06RHU7QYc13Q"; e_fb_vipport="AcK3IzXkdzH2PZygmGT76mcsRE3oH_mHzXZyGWr_KwXPB3q7GbO6uqXwq48W"; e_upip="AcJ43bH9-RN63a9GpBVED68F7agB1XzFMmt2dO88C9G0fdyCgZD8nIEPapeTD19TYYoLtovtN1vDXOewBfozVDz2IkyKloySBg"; e_fb_hostheader="AcICGqHWxbJIdFtHh94A1iyyqIF3nKeiaLClYQ1julikDtLbcZIvgx66tiDfSQo0S5vAWbSB7SopfWpC"; e_fb_vipaddr="AcKUtKr2AX3v1ISdfx75BwfJhx2PC0v11FnzoRgYTVPwT55PdkKnYDbU6_WaNGQdsUycUoYuSQ"; e_fb_requesthandler="AcJ88p2c3_bq6XK0TwoC5VFOoiRZJiu5dxaX8gfQUct-MkpDmmiUhB0UYDNh7OwmvkrnsG6o0aE"; e_fb_builduser="AcJG-QDVh-bn3KlPpRONHUU8wx2g23Ez2l37Q8MrPdT4hEIDyQ0RfI2STNFLSHwEJaU"; e_fb_binaryversion="AcLefIQBqtPDatsXNAFeTfByG4jdf3RRJgDC0axXOEBxYE2Y9j4UACCFH2C1D46LX44rvvDNCl8jCq5Zq2ze6ZTNibqu84-QnXA"; e_proxy="AcJyTjiQ_JN2lrsnnkXmfIeOm6uFXqCyqOmBgJ6NRT-Z-slKhkdOPfroptxHp9Swud2dgWJjRLbuqf8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 20:54:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 20:55:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4774723, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlJqZNowfuokcvqgEQDiFdm', 'x-fb-trace-id': 'AuvcTUrC9LB', 'x-fb-rev': '1011498843', 'x-fb-debug': 'M6r+t7v65sHBGvif5e8L+VaSrf0zoG8mAFWUvSZI5tHqmYkj4TDH1ALnj2q9Lsnq+VYqecpAV4ysuUHi758hgw==', date: 'Sat, 17 Feb 2024 20:55:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcICWPgcEwm2evam1dd0fHNEo6U4E3kpDj4f2b4xb2eRRjJaliOgfqlBB4N_YJbLib_IXQy0jcG-_zM52BtRu2Tbdabp3cDXk-YDK2Cd6eYPOadX-A"; e_fb_vipport="AcLlKJjEnrosHLPAiYFISqQ3VtJ0o8jhEWGbSPGqXQgz2revR5GgZsh5hEcA"; e_upip="AcLymyBPstXR0mfBX2p-h09uLnBUQuB94t5n0NKsNhiTPo51uwj7uqkrBoOAw5WmY0rJgRG5VRI_aCbJ-3wtDwiRti3X71V0dog"; e_fb_hostheader="AcKIWJE9GXtqkF5hd_WqvNwajmyMwGS0_X1YZN6DaPPScPgvdwxi-U7htks2h6WMgXoCA1f26jG6Zyqy"; e_fb_vipaddr="AcKMUntCrbgFB5vO4H9wcREmhW8G4Sj6XYM-0bCPJs_e8hl23SG4-X6lqvSocEAslTKoXc-skHtoGtl-X0SwHz2IrCePNQEHFw"; e_fb_requesthandler="AcL1ipqTMYeh1ibnI1mdxXtzFD6AWbBRAJWZ9TycLubXd9CjE-mfRjS4kTgheUb4swg5VVWEk5k"; e_fb_builduser="AcL2IGlbTvf8vACERyNn-RD8EmUmXBK8jnF31EGwRJggBXBH6QWzWH12rWaINnH1B0Q"; e_fb_binaryversion="AcL0BYuuvwBuYRuAErfS-_bbw_L9bMR4TINTv1ALb73znoIpRsf1H7YM3PUuzvZ8X8752I6tCy7E2NXOTdvmfxN-h2e0pGkn7TE"; e_proxy="AcKS7PXND2nsVKLKB41by8WK2p-tDS2bbm6WjEUWuRq5N0Zu4XeEekwB7NXyg09oyRdhYnu2_FXrM1-his9u", http_request_error; e_clientaddr="AcL8F2CKTN4Q3v9E6Q8engvTtepHXmsjqnnApP9NbuQuxR7D6UPhuwVqHfDYx3woKVaRx2PcGpUNBUBixQ"; e_fb_vipport="AcKlnqU_7j-4VGcYjItD9dah6ZvgSPYqVZQyTFvxU1lc00Ytr3Zoh6FF8Eqc"; e_upip="AcLDZlPB2O-gMMs2YkkecvzFNqaV6hk2Yl_2Xif2poHAWxUN9VUAH1Mtt6uRnoDRFx7dvFY1gAeet52Wphjdh9fv2HyuBSNsQQ"; e_fb_hostheader="AcITY1JF4BJgb6wRJsy87c7noNvMyweWb_KiLXl-o_QTkNQIVzLe4YFmAQB5hychpsLmWFmTJExbnW7M"; e_fb_vipaddr="AcKHoDnQKOUxgwEE_CyAn1Zv1K-HpcaJk-w_6gKHGGmnUbCMvkQ1HPbBOoPTI2_z2mDfkTockQ"; e_fb_requesthandler="AcJ8qNvSBGRqr1hr8jaqcteOr_iBZi5Bk8dCx_jHfllNUG-SBiBYsQAZE1RlJ2hlUynPs1A2UZ0"; e_fb_builduser="AcJzt-jFJxRrYmEHuEl1L-hn9AOObcbvuuAYaSnXkoVeomhZaaIskBe48vvJfD9-1NU"; e_fb_binaryversion="AcLYlhEe307ZHZxwjXhY_9AQ-Wadg3dU984M14Ma1_rUbPfdeLBMnSoHP1jwuweEK1LBi8aMVIkQyld2f9yswBScSLBDKItxuBk"; e_proxy="AcIHlxGsAxpOEY3UxIiC6XqbUrtdKDuV5pKioeAeHXwLcz_xJZDrirnG3hFdJJd73odPj4Pz-HyeKK8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 20:55:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/17/2024 20:55:02: Error on send one message facebookId => 7200921576689355 02/17/2024 20:55:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKGv7YsjMH7appPyCJhkfQv" } } 02/17/2024 20:55:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/17/2024 20:55:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4774861, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADw-uoQT6-ri9micnhQnf7I', 'x-fb-trace-id': 'ConK7OhrcpJ', 'x-fb-rev': '1011498843', 'x-fb-debug': 'S5mTSzNfi9+zU+iA6jK74nt8K1Ig8FfuO4PNW1E9K8MDD8yfAlh6TOhJptFPx1tF92XjmhWPbrmAQQM5azbrIg==', date: 'Sat, 17 Feb 2024 20:55:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLte8O0qlkjwz8ZwFNdctQfWjXSn-gNh6Qw3mA5GqyCttAJDWKDhlkuVu0j1H_le1bA8O_z4CsD6iVsdRPm1cw0Zg9mNlWbgJwebQlELGgcS762-A"; e_fb_vipport="AcKel4iEagSQsrCA-lq90m7_76TIAJP4XWpQh_4OR7_8O73onLPl0du7E6ZF"; e_upip="AcKrdhnKfHYb_F0Z12gZtksTme9P13ZfBjegt3ZtZXMeJ5MYjdMotFJCVmE0lCgfvuHZAug4HkMeHOEHY3Q5Yn8Oz1eO7WyCqA"; e_fb_hostheader="AcJ58-uwpn0fciUK2LZfstkY_5TPacO-JVYFrVHBWX9yE5xQAmhieeKtHSPw1uewleLiZe0iYCvROwMz"; e_fb_vipaddr="AcIyOBrLMwCQrqcJSHH18q3PRBLMIL46SpWwKV17SisWBWXYLozQGxNCRPxDmUTrYiu9TazrmygyaHPcfGwLWcs_XLk9LC6esw"; e_fb_requesthandler="AcLpg0B1rih_QuUkDY4Z5g_F6rz-NBQYzgVWHaU9rVjuJTu48bHZ7Wl-otjzRFt7wcpB0ibqY8Y"; e_fb_builduser="AcKdJf6qwaYM5ZGMRRM0nixxBqoFmUua-0Brnye8yMI87azK4RocUO4ZUS1h4-OskU0"; e_fb_binaryversion="AcKsDjN6cNauX5xhLbed_LJEthgy62uNmj3qX5GpZfkbahOe9fwsOKRWAFfUwjQFKlyJdg0YxFvCUw_zZ5fOCiJLZf-fTY8arjc"; e_proxy="AcLtY06mLxjNO0kDF4gRj4xmYbTyZIQebylvTtwKPYnfnEHqG2gcf4d9AghEnYPOwJizE5t9kN7QfcVWCiU", http_request_error; e_clientaddr="AcKh-HR99xJW8TZFdu3bZoEXlqM8f2JOb3pLW5mLtWNDy3ycZlyDZuaukw_7EtHvNT5ej0owob5lslzmXA"; e_fb_vipport="AcK062opCYS8ghDQcDKh8YXdCdCNbszZinHl5P39h-oF7vaylsw-gwwCrReD"; e_upip="AcJEYKxm-lAnraLyilghPplTUmyt0gM8k6A_HbNV0KEZClQ-FimmcZvQXGVhlNKajO9LhK9BYEkQmFY4TPQ3Oimz7IykEg4_CA"; e_fb_hostheader="AcLJulBRZsvu-b1Dp60lnxSJV27ZaHt7pAthhiRClCrv1vkoJJt2oTLPIyGpKI5FsCFZ10wzLq8JXDM4"; e_fb_vipaddr="AcKKLRPFkgzk4uHzijFogL3UrNCdhdyiMM5_3mcGsLppV9wpAU52x-4qGOQ1I5svpVMwNWnzOQ"; e_fb_requesthandler="AcLEGBO9PuoYZ-m0zsM3Z_a5vRwY3oMcw-8f4n3KoVVwAZNOfHl0rMBXuWSHAm9V9usC2yEeywI"; e_fb_builduser="AcJ5-YKI999jkUzrqSjGrJXaSNYCeAUf9LyP0U_da8EMEqmQK2Sz0k1111tL3W7T90E"; e_fb_binaryversion="AcIr9LrvWTGLIU_LfQC7crH63t78UNmgwtnUXzyB9HCuTDtdDo_p_-V58I7_mokFhmxy8EVZZrRATW5qWgwnvzE1I7JVvJPd2k8"; e_proxy="AcI24yzT5iHSgT2io7Su4sPWCr3PuSJJ-YychUHmFYnz_rIgSrjdxpXTgOA6bH0zuXQMCvJnJ58_JNQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/17/2024 22:18:54: Request bot not found: { id: '133788230054854' } 02/17/2024 22:31:55: Request bot not found: { id: '278538958846635' } 02/17/2024 23:01:32: Request bot not found: { id: '138868933458303' } 02/17/2024 23:02:39: Request bot not found: { id: '138868933458303' } 02/17/2024 23:02:59: Request bot not found: { id: '138868933458303' } 02/17/2024 23:03:46: Request bot not found: { id: '138868933458303' } 02/17/2024 23:04:03: Request bot not found: { id: '138868933458303' } 02/17/2024 23:05:52: Request bot not found: { id: '138868933458303' } 02/17/2024 23:09:38: Request bot not found: { id: '138868933458303' } 02/17/2024 23:09:58: Request bot not found: { id: '138868933458303' } 02/17/2024 23:11:03: Request bot not found: { id: '138868933458303' } 02/17/2024 23:11:45: Request bot not found: { id: '138868933458303' } 02/17/2024 23:12:59: Request bot not found: { id: '138868933458303' } 02/17/2024 23:13:33: Request bot not found: { id: '138868933458303' } 02/17/2024 23:16:50: Request bot not found: { id: '138868933458303' } 02/17/2024 23:17:14: Request bot not found: { id: '138868933458303' } 02/17/2024 23:18:27: Request bot not found: { id: '138868933458303' } 02/17/2024 23:18:46: Request bot not found: { id: '138868933458303' } 02/17/2024 23:20:57: Request bot not found: { id: '138868933458303' } 02/17/2024 23:21:10: Request bot not found: { id: '138868933458303' } 02/17/2024 23:21:38: Request bot not found: { id: '138868933458303' } 02/17/2024 23:23:10: Request bot not found: { id: '138868933458303' } 02/17/2024 23:23:44: Request bot not found: { id: '138868933458303' } 02/18/2024 00:22:50: Request bot not found: { id: '138868933458303' } 02/18/2024 01:12:40: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7288744444512411?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4818638, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7288744444512411?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7288744444512411?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7288744444512411?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7288744444512411?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A13b503BsBPaAcjwnfHey0d', 'x-fb-trace-id': 'BXE26IE8MWS', 'x-fb-rev': '1011499709', 'x-fb-debug': 'klOe2z5ETghLcjZGDJa6XK2JGVppErZcR7jLI66xgJLog1i8hoQUT1fesKZrxLnBPJ8LYTicqHPpqJ7Yt8XL6A==', date: 'Sun, 18 Feb 2024 01:12:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIROCaO9C2vne1jmJYuSwICnRCDso6UFAokUoGSbGfESkGGXFdIaTLxLFZvA65uetwEVw6eqkfHZiFv8tVh0Fl7Um95aq9dMIiZ5bu9GXxhgN3szQ"; e_fb_vipport="AcImXYwbqkAgnVX97Ui1V0tKQ7sF40GA9lmf87uTM_MJ7AKaDaSWZlHlRX31"; e_upip="AcI7kbu8u8SKt3obMRtCMCZLykTDBM9txNofSYKL6yej3gDam20VrrNR5iapKT1wlJGKDpjttJTcnEqelkqnMukpJZK3pc8-Hc8"; e_fb_hostheader="AcKTBVt1zPJ837z_lU9O91UKFNpcODzoaGekyMqAWrzG9uJzmIK6wWKTGAiv6Bq0l2ErPVGPX4ZNf9mC"; e_fb_vipaddr="AcIrSqIKqzxVdEjkeKtIk59EZ5t3bN-pJyN_TgU3_oDqROEZaCvjlZqfh4i0gbI5dEarRpmKB274Ezt_OUfMZtvWWmnIXtoFmA"; e_fb_requesthandler="AcId8xbRq5Erl7S0yl7HYFxAXU1BOtVFIjfZpIX0jtv87DrADfp4KseNN49CN4R20hU6sO5F0eE"; e_fb_builduser="AcJX-dHoTMmBXiifuu25Cl7eeF5Hnnilr3iMpQ2nI3Hd71THQkrTRcR2xqi3Gn5tW9Y"; e_fb_binaryversion="AcK5Be6ZgpFD9Z7tKzofUBFLMygwH23R7iR9afle1-LALLPECg3s6A36BszKtZXVkEPVvAgtUB0vahuMMWhmUPiucU4z0mTndv8"; e_proxy="AcKZA8ql9O_2j1Ktz0eyV7zxcfTh4RmuZrXbZgVk5TWItt4hx-tZOG_d63K_Mayc9cxR8a7snXNx_npELo1x", http_request_error; e_clientaddr="AcKIYtv6dT1Pd7mwOcID60dmKL6RsF3_96JP7ZC-43_MRftCX8ARcCpVDDs3IgNiJ-ACiKtX_SeR4oYBZA"; e_fb_vipport="AcIJuxOJt6nLS5kYh6OlgJMgYAGkTOIAyRkEWFNXSkUSdBxJe5NUupK1yukj"; e_upip="AcI1iKqdY-ljynrb-TBlLKrivwqZF8kvpwcK7KVbG-PiO8kl4BBD3seTDzEhgUwz-6Ao1AkPVp4LO1J6YXC7y7BYrXAySOFyRg"; e_fb_hostheader="AcIGPK1wRFc0jzz5Aqs6qF-09p6pggM8N4Wf0L4RdfCT1_dSj3LrVhLRjNPB3UKcxmfovjlPhL-PkOII"; e_fb_vipaddr="AcKQiUh__F-zhbYFYmOQ0lOwW3SKMpAj41uchGUxvBaC43AczGUCv_tfWI3cvmGEyc4FI7Y"; e_fb_requesthandler="AcI1Xv3Nv9xYlQF1EqQFTb3M_87Eom80eKrkRImaQqsKpmdiFzB9IDrA9YkgwBppPgFhfUClhBo"; e_fb_builduser="AcIa5scgoKlwJRX0WEezGrZKv7qJOC_xQHnskejJkBiu28_DM4W0osfctIj0OuHHDG0"; e_fb_binaryversion="AcLRhMinyPpQHDrMsEuDM4ZwzFEVi0jQ2yBIKmhkp6fFoZpbZtcSkuzgoh4Ey9C3Fi4waLRmKZiwKCleecjR22QVi58VivzBEOA"; e_proxy="AcLdSecWaLhoheVGmSIGGniE0sSe67TLjurMehd8-IiYtNwvUR_ppbMty_Zm03S8Sht2poa0CEFzJMg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7288744444512411?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7288744444512411?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7288744444512411?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 01:12:40: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/18/2024 01:12:40: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/18/2024 01:12:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7288744444512411"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4818756, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AO4N9UwNj6lwAOBN5xB_Ff6', 'x-fb-trace-id': 'FWQrQv7osBj', 'x-fb-rev': '1011499709', 'x-fb-debug': '0Wp/M5rI0w0nxMn72ItKNkA/Qk/nz89s9ntSv/J8mK/u0AG/EaCBmGgRHvPlaxMb7+cnXg69NUUw9/86GdOVMw==', date: 'Sun, 18 Feb 2024 01:12:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKkw2631tQdimmEN4Qi7_snOVVKxbqtF4T3pR_ofyaVTlz1vbk3fbUXQU8HeAM4yGyLDA11zuZPP-aL-RJEd4iH9sVka4AOzDPf7nVjpjmc5qWLew"; e_fb_vipport="AcISsDBZQ8kLkXOUbdRl-QfnSHJqR45m5m-2ZaDn5Wy5t4exx2GVwpglh6Du"; e_upip="AcKMA5sfcGy_avpi5vJIwSEV6_tkWxuWIWtgGKNgg8F53dx_dQS6OGiKdKB1BRxL3TgNrZBw3p7GdoZopBJHH7tPjD5A6bUEvq8"; e_fb_hostheader="AcL9_pcBmDnLYqh1cNzTQRrTZWrbjkJFLR_cDyfiNXOFmCCNOrt-AKPxkDnOwbESAuDP-1BlaItfu-M8"; e_fb_vipaddr="AcI01JSprqw5-qF-P4L20Bxta8JuQesqr5us-ZGXZ9Lnrh1CybQfTXE0FsSrEbxZ-cn7G-8AxFa5NGhTNfvNy7fai1pQaqoKYQ"; e_fb_requesthandler="AcJvbh1o9v-IsyqmzjOMHyddBEPPCqJeCL9xtwq5uq14zjuxTDVuxLqIs5pG9Um4AHHagQ_4iXg"; e_fb_builduser="AcKm50WCiJie3KIWbO0qLtmsOzP-0PGwxldgjRk-4Y6pICoCrUPZyJ3CPKEds-_-tLg"; e_fb_binaryversion="AcJsCkWj2z2l3yw-jTHyR5FQvY4kV8ufhbb8RGUWpdUyWO4_tu9PkKSOju7jRbpF80b15ZkNwB22AEsPfN8iUw8oX12h2N8uxFU"; e_proxy="AcLYAWulrnsRhUVzGSJXlU6SVlWqlVuMZL1dDxBnalGESLVWPnSdurGvds-o6A7aMLHPUB7LcoclKw8ngL4k", http_request_error; e_clientaddr="AcL0Saq5NqrQ5i_kuEzBt1PPx7zP0Pctmjm2LzMTC3q-cMf5dQGZc7wbuMo09Uv3I1865CzFImFCnFhcQA"; e_fb_vipport="AcLoQnfnQGkhUNtQANnX_rNAFEhth2YhzheChzxgNPzRSHnuqgUyrOCs3pdP"; e_upip="AcI9BQ1ZZkb7qX4PW6u5Frr0v_wXPMe4lKcuERuTbVfIc70tmDOCrD2x3R_rBsOXSwRmbouoP3J8fQGeVHA9VMLnAUH1-6iwbg"; e_fb_hostheader="AcJp_0hE3MhL8hlO3s7ZjiMvDX_UmLFxxZ5DZSqK5sV8_h9Omoojrtd3HnA9-1GcQjHddHXUkRY0VQb2"; e_fb_vipaddr="AcIfQ_-KAZ_pBBD0rRakHZ3zuI7zpP2z_XVjmptbxF8iQJblNyMmA1-Ni91p-FZqyBb2UsM"; e_fb_requesthandler="AcKWHjHQSQU5tE0M3nGnTVXtuBr6A2IilZYqf4YUbArOEN5lRYq3Lgbqbgpm76SCAWGxvFJKhZ8"; e_fb_builduser="AcIGYn8nDMCyhfcrylAxxb_m_PIq7sqUBKWpR15r_FQIMX8dy9QfM2fKLiNxnmJfETk"; e_fb_binaryversion="AcI_woDkzVeV1JmGIVa_YZfM41Dk75DmtTrip-lz_SpdbKzytdPLDRJMZeGfl2ElrpJNymT1i_zpdOBskA1mVavbhGRB4Sx6brQ"; e_proxy="AcJC9u9ey1x4OmZ2JZCOerVfsS1p5bbZEr60xIPlQ_7zO24rqU7qm3Wll1xYx9pjKcjaPaYBPwrreco"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7288744444512411"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 01:12:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/18/2024 01:12:43: Error on send one message facebookId => 7288744444512411 02/18/2024 01:12:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmpqMsE4nye3cnPLRbQPvBq" } } 02/18/2024 01:12:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/18/2024 01:12:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7288744444512411"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4818846, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aat0i3zYLtbI5PqXV9dW9A0', 'x-fb-trace-id': 'Hpqv6WlwoRu', 'x-fb-rev': '1011499709', 'x-fb-debug': 'OdPhW10je+caEqrRGyxRcPOm+IZ2XuijG+iTpjPl1x4nNLZ5fsVU3y11lD/En8YIYFsEO+c63GzKL0AGhPbaiA==', date: 'Sun, 18 Feb 2024 01:12:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI53tpQlm3meDpxmaxGUV9N1XrADwHlBgYirDY4UMV9U6dW8WoMyqRC7RxLgwb9M9FbAwG2xNB-AUy5mEfs37stJEQ4OrzY4hNjTLlAiralh9AofQ"; e_fb_vipport="AcKCUTG1NiMjtP6rLyRZXQIiYngpHwfG7tONPHutVcV8H9zocgTw2VADgyz7"; e_upip="AcKelLXdCqSwGn1QQ2rz34xCszr-6VNXI4sF7uZuYLyyRSrR7HSfqQlp-ESDFytRG8vMWD3KZnt0FxE_WO4c7Hf4dPyalKriwEc"; e_fb_hostheader="AcLhdjGM5KLRFuc7nha4oQXVF5eVANxq0S5GrrQ-N5sayaLAx_zrGwEspR8vDEsd2iCJyMNGgZipdEh2"; e_fb_vipaddr="AcII9Kknl2BJabYPURosvmB3fkvvtRx16RVaD4eR4Jq4yUFs9_yppAb78PkY76M882fCYRPbp59IAI_kZt4XcmV56XepFhb5dw"; e_fb_requesthandler="AcIPCoVj5jF0Y2mYt896mSdYOGhi2am-JOqwHaMmdpXs9UF9N3DXhWa5AEUhV89mjdQ_fWVED5I"; e_fb_builduser="AcIrEUh2nOpD_QuqxIxLZ2069xRouxEczvCqQZIb8ChL6zMfTuEKCWNC9CLIhk3lAnc"; e_fb_binaryversion="AcL2o8asB5qZeOx7aaHAYerV7L1zxleufCU7o6MjUgMvc59HMnjm6Pm-SVL0BHWk0nUaIsNwHgVWp2-tfIyWRCMktv3Us4yD6_g"; e_proxy="AcKKx8GM-XvpcJVPF0Yj3dcaLmPnhxYu1ULF3xAXFi9iJlS9gQOddDsnzD4F--CCQZUZZE4asYb09t2OiHaL", http_request_error; e_clientaddr="AcLL0hkVfVTpoVBcAD8dqsLgxc37euElhraOZhHsNScKq7cnTJED_FSODyIDmSaxIwyeN6ocy6feRsMcgA"; e_fb_vipport="AcJZcHKJvobOXvSTQM-T-YX8kEm30npD4RcJmZai9zXOfZWWsmxTSzTeO_rp"; e_upip="AcJ4itITJdYXvIbRMVSpAzsqn6IV8aIW2WKlQ38ztE9FyYcrhcl1X8NbboFVxt6-_bYcQc9fa9Ze82zw_g5KL51-_WV8TW5BTw"; e_fb_hostheader="AcIJ8TBAXNHL9C8ARnsNAfAG54Y21N53N5tKQcull5yAoG9nRAb5PiJ4PAP0m_0ef8dYEe02grNF-7GY"; e_fb_vipaddr="AcIpCZilPPUWljhrxCG8jcyCzkG9mBnXjQVad7NsHBw1Pwj2uW_EPN4A-2Xmq4dWqPfZrYQ"; e_fb_requesthandler="AcLwa645l9MJrMXJq4NNTwbti-wQHyazff5DARPJjX5kIzOm7VS3Hwz0mW9lCAfXvirIeAtzOhg"; e_fb_builduser="AcKUV6KfJ_KDJURYl0xcfMcfqss2MtbZb-65x16Y2B-uUYJRL0wWDEk-VSH47LeV4e0"; e_fb_binaryversion="AcLl4qU_a6i8QsmzWwr4x49v99COBRfC7xALsZeR9uOCUh1VK_t6JrPv9nXgUoz_6nICxEs8Cx39nLbVEufesG5rztDMiziblHk"; e_proxy="AcLX_9YcrfiVEWMm15C1FEhbbEqWioY1fRq4WGZ2x_6kckxkHiO1KKLVc3th4_G_0mlt_8ycbrRhutY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7288744444512411"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 01:12:45: Error on send one message facebookId => 7288744444512411 02/18/2024 01:12:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AWOdNTxbCPAekY617fAg34c" } } 02/18/2024 01:12:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/18/2024 01:12:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/18/2024 01:12:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7288744444512411"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4818984, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuVBf11ZVcVsn-YNWY5w6Ta', 'x-fb-trace-id': 'EBWOUdR1L0o', 'x-fb-rev': '1011499709', 'x-fb-debug': 'vtudotVmb8qYsf1q8MzniErtm21J/LOpqS+Gcl+/wTGN0qJh3Dx1+Ta1J1xub/ZhIl0UWSZszTaF727hGOQCGA==', date: 'Sun, 18 Feb 2024 01:12:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLduPk6C_4D_mwIHjOHHnShokYGAk5fZAvDsuBk9VhQ88erxBpJQ4CvnW4xisNscPSIWx6HhKmO73sCfTi9NhGk2uYumDdQN00q9Vn-wGtCcHBYkQ"; e_fb_vipport="AcJSO0Gu0jn-H0B-xVzjNCxJR42TqZiCCTCwlPZdZVU60DW7gYBEZeXqle3r"; e_upip="AcJJ4w-bQhNhaBNpijjqgTWORRWT64SnRvoOGbyzVvGplhsDU3hT8rY8mASHLCw6QSvQMvjxvCxCLSDwkBtnaojpYbzOOvkXFDY"; e_fb_hostheader="AcLqTs9bWvM9_fr-R8z2i9fj22jZc9Vu8IWFXMkXLp_TJNe_Cce48rWiGdIi_dPM5dXIZdBNBpxNkvaA"; e_fb_vipaddr="AcI9-Rt0iiiU5Bnb-BsVgqkjBjmZuo2pGM7GV8Ava-KN1KtbELsmVU8IPHjcuAZPUipnToaKFmDjmdwgBVl3X5D6X2qEWed29A"; e_fb_requesthandler="AcJEqtDUix6KPTVCJ4sUm-yLRv1VCCRURW86mB2vrFdbZYR01bMxJXTKIQ85PV5wVEJaEKBvcz0"; e_fb_builduser="AcKmRp6kYDEkUicmThySC3ANJ2vNDejBIjM5v1tV1r53xtUdIypCryQuTvAlQPcXe10"; e_fb_binaryversion="AcIGiyedYGXFomo4Qb1cmvZVFK3V2_wBlCCPmbXhphKrO09dUoQ2rHmZvmjDob-2nR54UnxfAmz4Nm-3vni0dAf7jgXMMtPWfOQ"; e_proxy="AcL8BV91kELcgN-7L7GDyz_ZQ3UREYRVq0nqgIJvdwpXwiOpKQejLTWNS9WrniEM-LhRHZ9pwjKhRf0AvDvK", http_request_error; e_clientaddr="AcI3JOH2lD-6-NfcUYG-tpWz2KOfwEgCi19baWcwEaOwzu8MTIG1bK9GWSXt9j7HwVO4Tb1wSXBrChZwGQ"; e_fb_vipport="AcJcABQFyhKvrLpjQkFLmpZ31tvlplnX0yTe0GUDt8XdThnBwX7oW4D46hzJ"; e_upip="AcKXMkz_ZekAg2JcTeqZhTC6igQEiWaYHN9E1egCTGAiT2GddXcpPMsF3rixv35cKDvRHH71uy-_oate7ZkFUruiqtXtejJ5mw"; e_fb_hostheader="AcL5d3aBj2aJO2j5GRyfdwoD7_XE7_pEb4LlSZzd0sCvaeEbH3nN8AgnBefWK42xITc9eA55eNkBtFEr"; e_fb_vipaddr="AcK_n1i22SI82pyGVPHyNDqvkutm6OBQKUHrY8jdNvgmBPmecmg61Avxg6CbERyUzFLL41k"; e_fb_requesthandler="AcKi0HARN9R0gAStK5lam-Zj9FYzaToeaHDwQQINF05ecfobvMZRExMow5nmfAqxd-45598Rbxs"; e_fb_builduser="AcKyR9YFJcLs4jtjnttlmBHsWsJOfp0zuo1F0Ev7hXDKVnyd1uQea2fhyQLUyO0DASc"; e_fb_binaryversion="AcL5ESi6KW1rMuqNKriSMaag-VfU64z68kB6YVgK_gmRZPywoYOwH8qXJh25xGJf29bhZqh2hFEX1klPzNYZyQXa9Aqsnq2PWVY"; e_proxy="AcIJ4X-V_oUkYUmXOCvYrHBbNmUWpKMh6RBxBIdxuaqVxaI043yqThm50Pz25yATLeHmZWzL64PEHjOj"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7288744444512411"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 01:13:00: Error on send one message facebookId => 7288744444512411 02/18/2024 01:13:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AX4fct2K4KrIBuLEHQdKrEK" } } 02/18/2024 01:13:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/18/2024 01:13:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/18/2024 01:13:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/18/2024 02:30:03: Request bot not found: { id: '144313565649530' } 02/18/2024 02:32:57: Request bot not found: { id: '144313565649530' } 02/18/2024 05:55:39: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6766665933438133?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4866696, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6766665933438133?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6766665933438133?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6766665933438133?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6766665933438133?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AR_f6DUPFVevh2YZb_XJuA9', 'x-fb-trace-id': 'Azqa9dft1md', 'x-fb-rev': '1011500394', 'x-fb-debug': 'YLry6uW78qcCM8NqBysSn2XVGKBO+ws0wh3v1v/oWfYcf8dnK34VyEhqeLcD4nui74Ykell1O1do0S1a/6ui4Q==', date: 'Sun, 18 Feb 2024 05:55:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIiwmyWON6rOqGee-r3vQYMiwfoHG_LDnOQ5O4ZRfhPOL5hz-_adfxCScO-6wBlQllyqf3LTNHpUslB9WC26BgMSj8GfVqePZlALqgsoE5yBqtAmg"; e_fb_vipport="AcLv4qXc3aq5x8gtu3e2ypNPPmQacNwCri3f8GWTgMxflOSHWzhmNbfE5851"; e_upip="AcJCGjl0GLHXUo3TWGXMkiXIRnXoE8piH77dgZ-QxYIsQ_3UtvopWevvi07ZXbnOhdHXkIq9DUSp0rcHLJ81hBPxR-z_3bR2kw"; e_fb_hostheader="AcKnjOHrtyf2uk05tF9khSjXxA_BFXxKKeGM9tsqtg5qHyv1RIypj-hWkRn3aKrjS6CekUFciHCPgXrj"; e_fb_vipaddr="AcKfjhLBm4EmytGJLn1ZX0K5Yvw3piZEtgaOQZ3yhWV4M1cgg5rjLO2_xl6IcJWvxX-_cqcL-0Mf2Wl1puw3CqMhQPMr1xAPAA"; e_fb_requesthandler="AcKsvJFicc0UFwn6sMRxcfjK3hQjc0-k--H4gE1oYOfubb2EJVUBXIrZ5PW4uv0RwDQ-5AAegR4"; e_fb_builduser="AcI2jiq6QFGmSj6cycm0-kRG9ffyKDI5KWu76wzRAMTxbaxnj5AOQxusq4FvsrfQQ5I"; e_fb_binaryversion="AcKayaiCsDb3McRtCvMOPQWAXm50nweJjU4OMkzt-9e1XTd8UkXjzNcNFMTh-QvM1vjk83nAyCY4-URZZOhyKGmv1biFV1Rc81g"; e_proxy="AcKOYiK-0sSEFJdnTCCD6jTsSwc_IlgxS9RHGub3OdUj-5CabM_ExDhsJL0shw9yP0KIaA6WqTBjuw0DIBuP", http_request_error; e_clientaddr="AcJ5d25-WfxkZ3TKOCWXiJlvQ3-RRd6PxzZXbjGI6iqiu4D8VRk8Zi9oxTYjbNgqH84zpGL798ju9PzpzA"; e_fb_vipport="AcL6EAufvz4qm9FAqQ8GZyr0-vPaYb3kbOnZH6B6Ge7FPFlBejPb3QVkhsfH"; e_upip="AcJ3mzsO0sd1Wm0Q4ho29g6SKYlK9q3PWtqq9YP6PQHISvphFY7Teautfo1tdBogKDM5C3z4oSs9JyExqRa8rosZDmFe2E5dnA"; e_fb_hostheader="AcKoEim0RvlJQ_xpoWSVhVxOb5A-DqWj9SKqnISh0nmXn-juFWrT4DaDqU3Gw8m5rUH2WCtZCaFUkrJn"; e_fb_vipaddr="AcJ1nFfqHOLpwdlR363X_nAIOnM7ju9Y5vg3VDBoZqIGpua6IeEOfIQQnCqKkhsVooHXwBlkNw"; e_fb_requesthandler="AcK4VJrANdilbppXAjlkp7tkrLfuJOZSZVjZjk71X_nce7sYz8Cga3xwIbmb9WxaDGsyFhr8iBQ"; e_fb_builduser="AcKBLofHBXH9FMwaUkwf-OXnwANpo0S3HHkiJ6CNSxt41BB_wP1Lh44KRcahOk1qL5A"; e_fb_binaryversion="AcKnNpg6q34Tb-_MKsm3BVdasEURf58qgkcN4ozGhWmCecrEwvkt-vyTHKB-Xm1vD0vW_bi52cKlD0MjMlAmRtWunqSo2BX8Uso"; e_proxy="AcI0xAiY25USQf7W3zjQ0asCtOK1gxNl9QRhM0TgN4RMwXYvHWdJKMVhRChCIothkEO14IMP0pr8aKs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6766665933438133?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6766665933438133?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6766665933438133?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 05:55:39: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/18/2024 05:55:39: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/18/2024 05:55:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/18/2024 05:55:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6766665933438133"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4866820, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANUxt9NMlqbaH9xX6xNkgne', 'x-fb-trace-id': 'DIpYf3v0ZWF', 'x-fb-rev': '1011500394', 'x-fb-debug': 'ZyFPnKW9cCfACAIR3uHKMCRr1tfzi+gG9OujEW2ZqcxSH2giGQnM+5CNKV3czVfVHdqSz6FpyVnARDLxkpdNFg==', date: 'Sun, 18 Feb 2024 05:55:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ7An5nbOXGHSBBSNoEhkeWnXn5tqFOK77-jPnzHyXu1eWHY6lhxBu1PTbBT0RZsamETpomMZ5E4U4gYzB0voZ-oVCaz1bFtzfMnUvKY_uscrsm"; e_fb_vipport="AcIMr96nF0U-qeex_zTkg1NZCySHRz9GHld_YqD65e4aitNyiev13DPAXqHK"; e_upip="AcL7hf1BlhbRuqcHCIMk9hNvQL5aD_IylajnyN1CQEtmjoagleZyS-CE6PzE6K3fKigfM8F_-UCmsgL7gfW-OxjaZd8Fowo8SQ"; e_fb_hostheader="AcLZP1lpOKsxJujnH_FcyCoffouiGT8vhr4DfBGlUfz7I9SF53UJx_Q2vGvgz09AUNa26cC8UL5nWBsn"; e_fb_vipaddr="AcJlSv-oP0TynBYRh4a8JrLE952fbcVs14zIYeNYMftZ1yf1OzN5fd5V0A49HyR5EcOiDmpGteXau6PpIX80jWO8TjZBFNaoaQ"; e_fb_requesthandler="AcJURKQQQ-btavyFN9xAMr0iyiZim1MMXf8vWwCJOoN2Z_b5lS-50FGKCz9YGY4OjQE8Xg9q290"; e_fb_builduser="AcK7IouJgf3fv66NNTB8y4pfFOK-BE3gIKQ6y5Ogjwe-4zvqo2yeZ-YH5Ho0n9tsSBI"; e_fb_binaryversion="AcKvLwgh07c9VBo0RGWAaEXEWBDVQa2YkOJosLU4UDJRnk3ca7nSdx39woO83IGw0ue8GgIU2b-6dNmqtxlqqKtDSHg0Oov_v5U"; e_proxy="AcLOzg8GheNzo-G6YeK3Y8OdOMUSIjyTmH7QqcJZ9rz0z_oTD41dHs5xAOjbJ2Ze-JLRPjP97F5IK-GS2BuR", http_request_error; e_clientaddr="AcIUutPKBnECdPZKn4H2qjtJ_sHhYc9LzmT5zbWDhK3feYbJhxatrMNCRTISf0XS7LWReaSQL8aSlLsU_Q"; e_fb_vipport="AcJNcrQCDZIfp4YmuqFhyieYS-kjCeiT3AtFOdGkdDcTZDyjNE-LzEC4x-VS"; e_upip="AcJyDdaiI144q1ByD-n1WOsDAqk_xtSpmAptbnmDMNElsNd6eUFL1t8g5oj6I7j12hbc15w5IXTO_VZ8j3JOxJY3ah6H_L954A"; e_fb_hostheader="AcKTI98JMhRBbQ_qfZXXBs1LLJRaGNjoFKT2wFx_gOXTvxPKoneynUxdUWgU4BsdmmdGYx8mtpinXVBV"; e_fb_vipaddr="AcKWnPHmuqKHwAthUKgMVV7f_lhjezShQOR6Cfof8OIoT7nddGZphYh9D-OSHpIFGsK-6-Axig"; e_fb_requesthandler="AcIwhxsyiK3mieTLldbsxIdSQ8RMh1HPGkoeaaNt5EZsgzx_28WljgKy-6u6nuP6HHrxeIrEwZ4"; e_fb_builduser="AcLj7Fcfo8Rkdu0mHYrImFJFVVAB6q8QsW_JadeupBw9vgCGOQNma9MpOmwOVRex7AM"; e_fb_binaryversion="AcIkhYtM6jiDD7PZl4CUH1vj5T5qIL85L3J1wCT0peGbo0K1fygX9WN98cUSXBLiohOH6BUvgCpBOV8MCD_kqIOoWPS2xwrb84c"; e_proxy="AcKAe5JZMZmNBhyYH5hSgFoXrTX7xB_xunlmDOX7RehIix1wR7HepNZC_bA1PCg4Pyne-Lu0n4gLrWc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6766665933438133"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 05:55:39: Error on send one message facebookId => 6766665933438133 02/18/2024 05:55:39: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A2zUwj7ilwZzJRN4ReZ_W5C" } } 02/18/2024 05:55:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/18/2024 05:55:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6766665933438133"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4866893, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Af_YlfU9Bk_7q7-n6eJ7e84', 'x-fb-trace-id': 'GUbtNg875Sw', 'x-fb-rev': '1011500394', 'x-fb-debug': '+sOfDbzUwcETIfhmdAiPxjpsT0vYE1b4Fh59myu4M6FatT+GZ5iqtyR3WRxig5GqHIany239mP6yiWoVivu8Mw==', date: 'Sun, 18 Feb 2024 05:55:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLQvWPRediF_4HaPlwsyrK3BvYSdJnkXtx2GdvM11uGQtrGSGmlfBOH55EAIMUjsKThu9Cu-e10oD-24Y55FyKpp7E6uK0MQvzMsIo3tC2JsWTd3w"; e_fb_vipport="AcJ55HrsjTzHeIxgzh5eui1B0GqZaXQSD3bRWOdEDWEWRQVXDjRfggAen1Sj"; e_upip="AcJDF-sUTEZ765BwHdQ0AUCBABHrARpSDIoq-jfd7oHKUjT9YvboJyIghOBxa0WTmKOnK8Kndzk70j2deEWfq1by59MaNFgskA"; e_fb_hostheader="AcL8HtHEP68s8lsnCKw-CKH4w1-3ldkBmykA1ODN2mO_OPZopMR1yOSO1AXwayHTWTDc8hotBSfJpP_8"; e_fb_vipaddr="AcJbBmg8-H05IRZ4DV6Rupj9eL7m_k50l0LBkqLIWKk2PsVPU-g03bBvw4heeZPtPMKzw5Psgj05NqsNm-lWLLdUhj44EY-n9Q"; e_fb_requesthandler="AcLq3k0J6p5SZvZqURbM3UNuTAWZPoLfFiurcY4DTv7kitdzwpl5v0dD4yDG_Q6b1ZcQkHomfBU"; e_fb_builduser="AcJy_5G6liVUZY5vfZGMZ30BHgYtrNrrADx392GOp2GBlzTFKvh2pZVtyB9wQVvHBp8"; e_fb_binaryversion="AcLatRXrNH_9junwLOBC1K8Vx8S4Kg7MlrMJi3iQzcnBVI4Cu4p8-dcRtoDQk1QnTgbZkVDkP_WnIXoUT_qzMLgGKmvILbXg40s"; e_proxy="AcKfkRJo5SsfrDCZSjAAUA53TF6fFjVv3MVSNdZ7ALPQaYD7d6qZKsEm8P3mQvm0GiQMaiXkYNvNlLRZwvg", http_request_error; e_clientaddr="AcJoXcUYEgb2IAlhA6Hp6UrHuWzxybDd2twA5o9XqccgrunJzNme5nZ3_mbGzofsEyK8f9lw34VGZ87WtQ"; e_fb_vipport="AcLoso3QSoJ1HXfStQH9nRRvsL7XWrkXEX7UDZcfho-0Pt7t8VecWOaLFefK"; e_upip="AcIszNA5FPo5GErBgDV8QTA6O-a2Kud-WsrAbhEFfUyAhtj2FT5S6R8lJLHzG62xH_N0HogtVxhilkePv4OY546w23e_5EkjIg"; e_fb_hostheader="AcLFte-INBYoBMIvOgkq06I1CyXJrn4xLZMAfjtUrz0Eo9vUk_BR1muGbcTKeClDvypCoqygJogoBllT"; e_fb_vipaddr="AcL-ego366BVvuUDndcmD2gEPBhz9d4e5lljdJwdyrkagBjlFuB3lZ71a8goouZY59REjnimlA"; e_fb_requesthandler="AcIAJh7B8-TVXrEuvBN9YReVolIMGZagUOOFQ50T_XejlTZCRNzP5bpDhzJD2HcDdagy6pFHcbc"; e_fb_builduser="AcJbLy6bwrCtjI01HLb9ie2l2gO3ceDE4rOFbtoMLNRZNoM1bfua0-qoU_GhoYl0t-A"; e_fb_binaryversion="AcKT22INxS4f9Ru_SsWIatd7Uc3xNf7y6qofAU8MJwaYIBXB1C4pP3N7QpPoHhLhl-tAUWo-4cp1iBAzcmnNlsdkMl-eHTfirSI"; e_proxy="AcKFoTQmqF1c8_1iFoZDBy4sQidaoIbJE_aSmwMNJKmFSSi6keTtp1OADkOjz260nuypJRT6UhKpLSI4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6766665933438133"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 05:55:40: Error on send one message facebookId => 6766665933438133 02/18/2024 05:55:40: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AgCKlceKbXy0IaJ0VIEqZXP" } } 02/18/2024 05:55:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/18/2024 05:55:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6766665933438133"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4867008, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmT16DClDmrnAJrgWss_m9f', 'x-fb-trace-id': 'EO0vSIG2ivb', 'x-fb-rev': '1011500394', 'x-fb-debug': 'ruM5ZpLWNcQ0BrJG8dQjyFZE+U1ytdbYaGZzQOwuAQ3bBQv/dWRyLUSzPdKXwzTAj1+IGqwq4+Rf7Ono1+ZDOw==', date: 'Sun, 18 Feb 2024 05:55:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJY4MVdCROs9PyGfzGs_TovRg0ncbt7a6VSicRo94gQVtMZBvj8BjcA9e6f1hEHGksAQoUccXW351iVoc5c4RjcUwM_UuB-BIDtajdXaI7TZGbCKg"; e_fb_vipport="AcKsS6dC1VTsLY_Z9h0eFH_FfwT_0OPnEtooage5Ol9rvAmwWt5UKpTQfSa6"; e_upip="AcJI99tIuSXPHg3GBvGE-Lp8pZIjHOnecBoHqoxHPb0ehVvDE7OQOiSZuHF3O4WS-Y_2_9WReNUOMe7Ijfgax-5NMR3IgQZqVU0"; e_fb_hostheader="AcJVjek2RpAyq2IMRr5GnJ9guhKf-D6za0UgYbL0T9P25Ho8dlmD8SwC8_LlvTtMmLcGxkVk6HNZeeQU"; e_fb_vipaddr="AcKfZzKvnE43bMJLkTqUC94HYRWlS53QLL5zFlNCUi8NAog0FEUHFCPaSWT5Gv-zIHCfmokd6TMQag06NiGApRXzyHpZCBObVA"; e_fb_requesthandler="AcLaofjFdRyjkN7daljzHBmhOll6MkfQj1dSS5ZGHX6n0UWcfYWRDRDHNXC4YZY_eKwqPgW9Z9Y"; e_fb_builduser="AcIywpPNWTvxn1UlGDRI-Asp6JbS41TN8cSyTOp3IVjK6t20zFiMzBANj7vivKAr3vQ"; e_fb_binaryversion="AcLWHW2IMRupj7TnJ_PeGDDxZbbh2fW7kk3tYdXUOE_sQDVfVMsiuOUfEKIrm7FG27Iswvr-7hD9tqithIjjyMkkLIxl1ZtxXeM"; e_proxy="AcIhdGVH9BUUd2vu6KhRmiiwkSqsWfykr5qRK3MMw13PPLqAk-Duddad-YBV0_UJsA-clQj8yCZjwC8ilY-j", http_request_error; e_clientaddr="AcLjSTA7CImwWveHQSPUL8Of0LGC640uHCVCx-r0S3WfBEjhYf_3HrbtnrQ7E_GiZKu2GpwrpnCtYquDnw"; e_fb_vipport="AcJHcx8uPCnml_zxPERDhrF1msYnMUg4_UXQwV7dcHeo5joMVRtpIRDwdukq"; e_upip="AcK_WseZPmIIoHpxeWkaDM22h05kbHfOeACxMw4lSQpyfYxY9gGnAfbdb1Ocyb8YWhUJvh4hOtTGsOII7r9sFSw-o8jj7zNkBQ"; e_fb_hostheader="AcIaB8nXMW-I6cfKfMZYb3pl123qwwHIlBaVVD8MyRr0vN57so92PlGW-AEorZ7m0uvAHHnIzvcsqkiI"; e_fb_vipaddr="AcItCQFTuhRlV3rM8awzTO7dkjg8ygKenBalycU-jyRexVHE0vRbGxj-8K4rzBkDaoC0Ip2QeQ"; e_fb_requesthandler="AcKIs_H1t9QyE_ZI1h3dbDAY_ZZuploUuUO5QCqjkSXYj1Ht-KKxLwsGfb6u7L3fWshnA1hhkyM"; e_fb_builduser="AcKOKbBPwJEEaUiCxrgaMDpr2dsn41JfX0b36_5ZAUtnetBQfJFJ10tWN3WnrNMXF8Y"; e_fb_binaryversion="AcKqug4U3xB6q9zpjcCCEvhGJ_0wsGtiAcnRSIh63Gg9hp5xz_LexQ2NGiLI-frQaEIXM7VNUzstpozSyg8uGiLyqINYj9L80dU"; e_proxy="AcKVH5yimt6HzOcooyrVn7-d-U8TcooTB2nY_GdlXfQuWHyv8LDOOrmDg-SLPhsgACE2FpeBDMvF372u"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6766665933438133"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 06:32:34: Error on send one message facebookId => 6766665933438133 02/18/2024 06:32:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Aphdubj_bgYStmYMB2cNSJg" } } 02/18/2024 06:32:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/18/2024 06:32:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/18/2024 06:32:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/18/2024 22:00:25: Request bot not found: { id: '215725838493727' } 02/18/2024 23:59:22: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6895364683925104?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5048125, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6895364683925104?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6895364683925104?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6895364683925104?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6895364683925104?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyfwGYCVTR3kfHZtLf5q8ON', 'x-fb-trace-id': 'FDzRHPk/cir', 'x-fb-rev': '1011504380', 'x-fb-debug': 'pGUBPhRXjkfN+BVx+PoAP6owsSBujeNjRchyQ/49V7GolKuooSpEgtGZW6OLtz+ODxVYiM9jAd8eePz3oQvdwg==', date: 'Sun, 18 Feb 2024 23:59:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL_SisaOwTFEUGvp7u4_esp4oPcVa4W0QEci_84pEEXEue85irG3Gevyye1SKEWGaEJY5Tp6YM98AKK2I9zgQPJsOAhyk1bKf2bw-SltAZLLgWh9g"; e_fb_vipport="AcJsid-Ao0PJUDrczOv0mWBSqhIyRXe9Ns4K0rFl-H9vL7cLsKjqsbBCAMOL"; e_upip="AcJlu2uypoYiu8Yu2F1uf-A_D15r8Zhj1DO8_M71kPYeA9IotchVrzgA93DLb3A71dnFDJUFyJ4CJZ13nADE2v93nDtjrlMy2bU"; e_fb_hostheader="AcL86gCaDYbaTO6bJEhz0Pc1lRuiiJva6yPDlECXL8HsW7lsmZtpLp4u2WCmQKVcpMVwi9YtYYGMsB6B"; e_fb_vipaddr="AcL2O3K_6pVhNB6-qdYupV4vHNIPpaq_ZFlvtgr3nB93FaL5G6Y2hId2Hrmz2fhLBksFW_DditFXWvHQ9ZrdCOCH0k6YwIt1gg"; e_fb_requesthandler="AcKXdsBbg5pQobow9TvmZTv6IyDOVxetpOnNkR2vBst_FrUMdqGOe03VRy1754wfGDcOGCnvcjU"; e_fb_builduser="AcJTTAdfDWv14_to4BbwTBRprDGVjXwH049Mebp1LVD0T8PePj4VL0AFBLwhfhqfhow"; e_fb_binaryversion="AcKjZqZUlbBmp5C017ArLq8_s6I90hcMBpGs1EkzpDbdhI0zFsqPcgRDE_tl3AuWbvrePPuBvU90D7kp02ReEWUL1RB2Xom8Zkg"; e_proxy="AcKXKwXStWOPDAlaqwBkQmP7OIp4OkeH6qV3Z1xk3_arwjVnZKbUNpJkKCpCcs0uMGiGC-P5oHlvvZteii13", http_request_error; e_clientaddr="AcKkjH77F7dT6BNSNcW_E1wH-EFmaJ5udm2DzTCgYxSTOKUS62XcAlEq5yiEVKmMjWF-1_ToXGr3--tFKQ"; e_fb_vipport="AcIMBtL_jflpaGu4uVqQzyFnul4uOhvb2X984KJaF3OLCpRujtbelQ0FZe0m"; e_upip="AcIIcgDbsWkjQgQUJaALlICIU1avo3ybu7mRjP1FUCHPQon4OSXo4cr6jHC1B7HdzwIg_uYC_kM5ZjHcSpslqJ_kB1NHTiyUoA"; e_fb_hostheader="AcK73gJaOGLzGv5Y8fy0DU-5wiCCozcO-tvIioiIHr6gVXNX8RNWrAqMrSP3BmfsaG2x3yPQ_T4TfDYt"; e_fb_vipaddr="AcKEQx_JX7tzz0dEJdvFhgVoTWkTZf02oIrKa5g-lUZqhii87ILF6INKNa6CKUtErb7U1yM"; e_fb_requesthandler="AcLcaVacnO57obhgb1LvdHYw2OEUzCX-BqMd0mDXGHXQ9lN0SHxmqPYSxuIvzTvc9NOoZZS3RAE"; e_fb_builduser="AcKx7QFT68JQovqIxGEIGiUPYKRpchzYnAN9MSTjkjC-9uU6PIuok8C5pLmxB7Be7n4"; e_fb_binaryversion="AcIJF9IFiSHusOkMq6nEc8-VoMOsddF4a1jwtdxBqS8STwc4Wsem3hwIdMJtuxHzAO-HcAelof6id-xtz_3sqvPXQHwe6lcTwdc"; e_proxy="AcLS15DOMrEnPv3QMtIpJtwKZRXWHosq9Xbx-Z6KNN1aqpbH-w9NZ3BTWZHlM5A-94wO6H1Vepy6AFA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6895364683925104?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6895364683925104?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6895364683925104?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 23:59:22: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/18/2024 23:59:22: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/18/2024 23:59:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6895364683925104"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5048243, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8W5xeHhnEcDAistLEUks7D', 'x-fb-trace-id': 'HWucR0q62T4', 'x-fb-rev': '1011504830', 'x-fb-debug': '4Z5AjQTvNKGaybeT3G93tlzwhj+k/VAezu2unRybSXk+5n8rn27Xjpjw4nNvKPXK0DV9JNqmXpyzlqvJPpmWKQ==', date: 'Sun, 18 Feb 2024 23:59:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcInXylZIz4SMdf-spU04PJGCkfbycsTvKjeQyKeBwNsfHZlGs1a35hxpAV8p-deB_hUwpiA6U6H8TNNB_to7rrvix-AKSDAOBbng2atNyT6a_s"; e_fb_vipport="AcKiQws5TsgBArxCd3jgZnJZI6qHoaC-pd-5LNLmEodboUpW0qP-h4Ibs_Yr"; e_upip="AcLSbgCXSw6VhgcK951TTAcEnOm2B67F_vXyc2tjz1I_SXW8qAgovyb94I76tmobWH58tP5oYDbquG-f4bzM5tkvDxItpi8U5Q"; e_fb_hostheader="AcJ78G6iqIbsp9VZWUVDRk4YjBF8WmXnIE79VqaGhoJWwFvmcMXa8qU36B4NRZFDVJHqkBcSao5MmZ4B"; e_fb_vipaddr="AcIaPhxTURedY6uegSUYfyEqpyFi36Ox1t3JduAJSWlcUy2PMEZu0WXHbBeuSFEvOUbMSPEijLmMy4qbH9JxFtSMeQfCOKBz9w"; e_fb_requesthandler="AcJTY5arOEQqmpkN1XH36XhbHN3rGoEVU0T07LemFE7vIleWEH7f2bWwJgH0TgNJm4Uq2wyWRVY"; e_fb_builduser="AcKElIaxPU-2ufXUphesUJ1nTBoGbq93ZDCvYFWtP_jmU1UYeU5bu5N94ymrpgJCFA8"; e_fb_binaryversion="AcJUBKKvKcp7JkfmHCjeTUKEM86xStFO3d9tTEhfFSrXlJwlX3WI205y49Eg5_lMcXrbmTjmwgmmPtVg2ULDwh8pce33-w_0xlk"; e_proxy="AcK4XVeIMYkrF761nsd0I734CiGwJJb2pqUyQgd97e5ht3CtwoSUmOZy2mPUHYVS5IAcZe9dA32jCWPCWVM", http_request_error; e_clientaddr="AcIWGNVA4-HfkCJa8E6MyVdhDKq-SqMQOzolqWEAK4l26nGwof3F90INnO__lY7SA-5YsVdgRAM3cYB6aA"; e_fb_vipport="AcJB4M4J82usssMk9G_BWTwwE7DbgA0vi5rciqpDGqN6xdxtM-BAi3S6TxQn"; e_upip="AcKn0xwUlT-5i5QMmUYuG19jC3jGhEwMwYKdpQWJ4-HvL9WwGynN0rHWeBBGSuHdJP8KSzZUnC5j82JCosb-H8JfPOUfnNhLXw"; e_fb_hostheader="AcLtN3UQS-pHOJWd_hnZGcCS_wa7n6bMNQIBCczlbQGCRZV1Ycs-_wSInjo2AamdBZpjDxGC9VJDv5Xk"; e_fb_vipaddr="AcJpuxyfGqCSxiveLe_ThvyUPRaef5YcRS-ywJogoU3QXdwaKXFQz_PfbRrr3XLkaiEU0w8"; e_fb_requesthandler="AcI0Cl0INY5o3_tK8p1GOkobfEEtqU5WJWLlRl5oD4HGTpmRCu6pD4lzxzqGslJk8fCCaw8wLjw"; e_fb_builduser="AcKNuyRclJcgTzn3DV83ZN4QDuGdgfWnrmoz7Eh_TmB4WzGfA7NscwsN02-WohQRGSo"; e_fb_binaryversion="AcLAzwwA99w14L-4q78wIHqkjuYbUsdKypVPUM4fBqklmmSnarF7I9T_11iMgDyIfBBmZSiWVTJwYrfVt-Np_4F-S5OvorlTtsY"; e_proxy="AcIGXFJLH5VPQLBCYgg8wm2D_hXMRsYRnj2JJOEez1uME4GnJ4vgWUk8E4KyzHMcGaQRXYc9z63HSJ0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6895364683925104"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 23:59:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/18/2024 23:59:25: Error on send one message facebookId => 6895364683925104 02/18/2024 23:59:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aym_So-lVD7q2N1SyELWwkT" } } 02/18/2024 23:59:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/18/2024 23:59:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6895364683925104"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5048323, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyMwsrCt_ePkK34ZO35AjNU', 'x-fb-trace-id': 'FMebrPffbMy', 'x-fb-rev': '1011504380', 'x-fb-debug': 'oSNDg+wdeW/4mGz3S+b3c5YAUbZrhjHw4xZDoqn/aw6nL001UZtH8ZI7mbI9HCgofy8Bp0rTGduPu4pU5FLdhQ==', date: 'Sun, 18 Feb 2024 23:59:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK0bBJAOOWuQnBsgtQeZ0Uvye5UV3v9KNrsDOkaGG-z4E2xBnMG4RlerNIltQ4hgP23jL1t7p41BtERArgWiwOegGaRtYxoexLg39nrzNdiCb5Ccg"; e_fb_vipport="AcI2JoxGFkEJsVBSKEX4MwOljTUDVtE87UH5My9L0wbR3VQan5ag_aADpSKN"; e_upip="AcL5RoYW9aUcCm4LXuQN2M7xDklOanoGXzHs0xOZfZdu2gOpAsXyXUpuqZ0GDzh-Bb2MgDF4YTPflJEz6u0URklMEdzyCVnZ-0I"; e_fb_hostheader="AcJ3FBhg_LNHaVcssUOaFL2S8uvLja4ISSIBG5da7dA_XB_JTCYzn1zqtYPYfLPBzuLsCfz0KeW4psJH"; e_fb_vipaddr="AcIrnx07j3j7c9bahdKSAwJy-8L3qH4w0-duevl9wRbnpp2cb7mP1YARBdYy8RuE9xngm6OcgK0rWONYmz9Xhq1KhYUKr95suw"; e_fb_requesthandler="AcLUOw41RHuJkUrQ8LkiB4dGpwxy1cRd2MvS_wiVhWiGKyDg0ISVgkGBim6xTklrTN5dPzmPx24"; e_fb_builduser="AcL_e-EGS-mH4ygUiJ5TXnhQe9zYqC5AAlPxYgQIP1kdUtMdqHlTLaewW-rxRXk31lw"; e_fb_binaryversion="AcJD2aK-eUt5jQSsNrEQ1XByt-4lOWqvuXW-84vBISIYKmrxeJBVFUOXxufMngHbX0nxLKl4wNlus-i3Rz8crVJ8WbVqYrpsEx4"; e_proxy="AcIBXOf-hDMKX-krnm25VsEstur1qGamQkPPYVg2CUwpPrW8xaBs4GJV4_x1gAz2La3bHkHzjooxHUEyk7_l", http_request_error; e_clientaddr="AcIlNsdogi-HxrUzPuKX_S7aLoKgB_-5f19Ln7ITz_Gchh9pi0m4RIXcMoBe0idoGCmSxSvCp9H9hFz8og"; e_fb_vipport="AcKsim6hDl5klV1yGLrK3evLI5Uz053xtK7gOwhODJavR4aWRaBURWHJqlEN"; e_upip="AcJrUxzzhTYXWL24y2H9qIhP5qULbl1A1t7mZTA5bJJTCM7eD6u1c9crfHmp8M5l7QCruPswaixqPgCwwosVvPqsFuGTuQUdiQ"; e_fb_hostheader="AcLFGLUYiLWoyXJi3w7_U4-yz6NvL386AaMHkQzWfQyr9pYVwxkFY3B6yNRoOpoClHmiKUsvjtluB5ds"; e_fb_vipaddr="AcJn_vRul-TQqYogEQlVBpBPMR9EX811r5XyU9LdpCpWKFIaCW79JV25LykbgKAGHovoOV4"; e_fb_requesthandler="AcI2rDQwLugnwlMP8x-JX-mxYm5fbNoAF9CW03g5XWoLrwiDK-aPFnWfjWhvKGKgj5iqGl8Pg_A"; e_fb_builduser="AcKTLDppB7HxpWy9wKbcl5VbIpySSa_LKQ5AN_hbEMK50lMAMrr_nOyIE9y6kmBv2Zs"; e_fb_binaryversion="AcI8pxTXw8vBvU3kUzGyRloWZh8Rx9OqQI8l8wIELsTa_dG3vCjWD2X01IiG5dQpEBzXXzTT_8_V-1v7JVqhXHMOR_Qz4-n3qt4"; e_proxy="AcKrwq3kPBy5eIR3frWIwiLZmRygM97ZTK_kULcHAcKIAr1j4nOvQoavAkEeW7zhKfYaoG2QWcPVKt4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6895364683925104"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/18/2024 23:59:27: Error on send one message facebookId => 6895364683925104 02/18/2024 23:59:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADQYi8HRc_YEjyD3H5HxACk" } } 02/18/2024 23:59:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/18/2024 23:59:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/18/2024 23:59:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6895364683925104"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5048462, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5bB9i3JaQRYDdIHHdRwgZP', 'x-fb-trace-id': 'AmJuhSYXN08', 'x-fb-rev': '1011504380', 'x-fb-debug': '31szoF6mx3gk20fmGazy1NTndEZB5z2s3FFHjXB3pXy/kJvBy+Ce5MgzEbMv2HKEYfYI7cAL4MyKUxYU+F1JbQ==', date: 'Sun, 18 Feb 2024 23:59:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJiqSpJgDxKqb2FXnYmgVI6ZG6GuoliJQXTdiJt6bIOUx4_5fSaS531zDTMvHQazpPKxe1s_hWlNMGSDK9p6k0H5LOZUFJDUn60nY7gtx9TXf6Q"; e_fb_vipport="AcIcVGDgMmGBRemh8Lur9_O5SaH8iAzPrNQErR4DdAZ44_6kNPRV8--sLWSJ"; e_upip="AcKsFkcrFS_IAOXjG2fTINgas4VFQ39o07HEn0f6MuhUwp0ZmgaByx74xc8XQzXzN-K2psteeKV2yifi5PaOjxRlsuU3DFSmmTI"; e_fb_hostheader="AcKVQR7m5jBUlFrxtw5SLdFn79ZlR5Pqa9NMKOTSCM0s9Jiy05eSyykuj8DviqWE4MML35G5bIBC0eOb"; e_fb_vipaddr="AcKrue1keb7QMD4THOoLQqRAN6ZAZ1CqW6pxCJGChnZ47dgpUB87RfBZVJS4__chrpDIHgHMo7CpN7AVLDQtXbpYFHr-8CQPgg"; e_fb_requesthandler="AcKimGmxPq4zEH9vREXhTh8Uckf8izdAP49Er0BcPSFwMdy478--InNB9gvlN3crhln15eXO1bA"; e_fb_builduser="AcLdeCcWVK1BA6sqA-q698hCwrAEE2r5rDAKCz2puh-M3cZhqiH9FydaKOQQvh7vOdE"; e_fb_binaryversion="AcJUcejh_VQNUE2fncscbcr4UhQdIzaZzXo8klDXmKlubRi1PqEeB3CYITszaks_lH0xOyFRWpD8UAfc1PFCc3YtM_KdZDAw650"; e_proxy="AcKioYplopSXrXEOPlyZVix7L38MssYe0c0rUUt9d9ksxHRcvuuhUiOdhZWqeMgun1oUnpQ3Z2euhNqK9nYC", http_request_error; e_clientaddr="AcLx5rQboKD2Y7r2bErCNLnj2UJ00fXHJ81dPN7ClLmedikZE4fZjophHoEUwEaCSohk2Dzn5OCZsyScww"; e_fb_vipport="AcJL-1DExJ2LmMRncPyYYS-y3aB7YDfVz1aUlP3gjFaEBDvn_AH4Q_KXH-Zv"; e_upip="AcKw5HsM85v2hFPvTvjUcjfzdVfPheMCKvSezer9SxpUsGO1NBeKxFKJxK9u6t96Ab3hLd1dv4d57UmGjMiQm3KSQ3dChT5_0A"; e_fb_hostheader="AcLv4a25aYcarNSl6mJgCEM8ZQADelkCTe96bSXa8SaoUz3JYrUetobL1ttkYi0V4XZoCHQnwh43plbJ"; e_fb_vipaddr="AcKuXjPI2Dony62Mla59bCIco60WO0ue4p0TQB74cI6258JmuDUrJRjohRrtQOBQ9wHoQHY"; e_fb_requesthandler="AcK6SWK5V4Ow6V8fSYKd6XtUAicUzQQaAHYKdiw5fzvU734tRQUybh8G2EOVpIRNmLT9fgeZjnU"; e_fb_builduser="AcJNzSxUxUVsrQ9C_Z1F51AGmqnwLZsof1Rqf0Y91C0itlc0Fs8uAveNFb6dP6To-Ek"; e_fb_binaryversion="AcL_Wz7-bi0K0HsIoi2va1Hgp_44XAEtIhsDquaJsE_Z61ST11Xrc79QzWi35GytxDUHZhzH9PGQ5ZCwk1I5DU2kFyW2nj7mkws"; e_proxy="AcKxzd77k-dlUshxUXeSeIMxsVo3DEPJZJLKgj7woZMGNhp1HSYQfUwejML4fmOrpwaDy6g75QPDWMY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6895364683925104"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 01:03:13: Error on send one message facebookId => 5650056798394321 02/19/2024 01:03:13: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ArWD4jC7CDnOKVkf1yQI5xl" } } 02/19/2024 01:03:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 10:09:02: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7227367210672470?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5150839, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7227367210672470?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7227367210672470?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7227367210672470?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7227367210672470?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Awv4n1iVJr7fVkjUYqPGEss', 'x-fb-trace-id': 'H+cAELfQBei', 'x-fb-rev': '1011506468', 'x-fb-debug': 'hmu6GXodgDwfMxdWQAvoDp7jF5019YvOKToDuWmfAretEaTRY4F4wjF7CiFMZJZzATZYsuZe6PY3fp06nSddJQ==', date: 'Mon, 19 Feb 2024 10:09:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJn-TjVZy0e8WZs3sL-ojB_OJrjchDdEw4MwVRJai_ykdrEhgUtJ7RzTaJE5W-_VA7tT1uRcYUQH62uG6KmwogKPfK7B2a0m7Cg0m4V6K8CV6D-"; e_fb_vipport="AcKUCIMgqBlYkmdtFdd_Y0cGF-yPvK2zEw6P3okZWMQHC5KD0fAdF3EgdKxb"; e_upip="AcKUZo4GxmAN3uHqCutmx94osOH7fQ01qGlDcRufn-dwBdZE9Pg7wyxCNZVZ9LUy6Hn43qS6IO7020ew6ZBRjA89gibROYkk2o8"; e_fb_hostheader="AcLQuYWeYCNoE5jWuVZIiTfMcGHtqFPj_yXq1nY81j85qVySwr_wAIJtEEzw7TF_iBMJzXIKTWJPwa6u"; e_fb_vipaddr="AcKVf0JEPGLhADGH8qTabaEC9R0hKbsA6qdT8qh8qDCebCyKNXzD-0dEMCVUNfTYZKwSXGmom3Pu9zRLQD85it8FHNdinLkYFg"; e_fb_requesthandler="AcK1iK_Yj_wxH2Fl-geEoOCgS8L8wq6lPbQ34HMSo5d1Te-BOeGVTw9RqyHJIiNyxPz8iWIISKo"; e_fb_builduser="AcKaRx2d9NHPG_YEUeG-g_IZ58CIdBNOdjY_sEm33IobsuPfEW5DY2eX0FKpn6p1ycI"; e_fb_binaryversion="AcJASX3meguSO9LH-87LC7RLwrr-RllUqM5qt7-Z9MsCuF8RmGt6aRAwfxNq2PfmP6MSj4oNqJh_gE5Wn1aZs3tM4HZRfWQon7M"; e_proxy="AcKw0GcYOKQvw2VdxO2mwNr4Mk1dc_iKlNdHF80RJWyqDRf6sUX8tNvz_FIhl9bF_ea4gc56Q4xHB_3Tk3Ql", http_request_error; e_clientaddr="AcIw6XAWDtBmspN7Qe_5o18Odix9O2QkASbgqMJEbuGeIUejzHV_eaVhneack5tcmBznhErskfa6P_9CQA"; e_fb_vipport="AcIaeACYzus1nKVHxMbRGIapWDdyxvD12s62MGYnXgaERezvc8fl9eh78wm2"; e_upip="AcIWHME5CP4M9WuOo6J7J_ekkbpWA0KmYZR14FoMO8aXme2wCbgnQ6xTiAQrAx-WunMIqormZ98fSopm8DW3prEKIOgY2NaYDQ"; e_fb_hostheader="AcJi8Brs_ZSUEas6_kndcYuxFCtfsa9wOxxru3YRrOp7RMZ0lO0bdJC8kwCNr7t8iSdy9nOXdlSm-x9o"; e_fb_vipaddr="AcJ9W_CS1jW_HWbqM2GJyq1JgFPleUKFhsxqwrRfArQTzk6fx5gYhn77bVR2UFWR3UIpI5k"; e_fb_requesthandler="AcJX8ODdYbZohzM2EyuVomi7_ZFklrZDS-DriVIuaHaRlWW7XT9rv9YKvMIQU9A-bkcz1BHMXBk"; e_fb_builduser="AcJhEdVpePnyVlr-rYihpMwzShXE-Hh0D-Ej3dbVGZPhqZQ1JIBz_Ov6XM6eYsbrWAM"; e_fb_binaryversion="AcKNhpAqGdragWy9f5SZHLrMUnYAxreedDR1cJTtiNafnTwQAYd_NY4nF7XL0ykGRj-IpEVdiqKYAM02ziqMyNC5cCoMCZvXpZI"; e_proxy="AcL9UBS6m377FZzYTvN5lzY5oRriCQlq4wGQafbycWLacPX36d7nYlVGS567sKCSy5r_7eMCe5g2EiY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7227367210672470?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7227367210672470?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7227367210672470?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 10:09:02: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/19/2024 10:09:02: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/19/2024 10:09:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 10:09:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7227367210672470"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5150963, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9LqNpJtrGQugjPLtoWWRhD', 'x-fb-trace-id': 'Deh+TWsN1JN', 'x-fb-rev': '1011506468', 'x-fb-debug': 'MSBHTewQbLObQjMOc329o5z/IWWhcE2VC/LfOJ92MHIlLWH48ivucCreRZgHxDjPLKqluv4+tdKBr7njm3DtUQ==', date: 'Mon, 19 Feb 2024 10:09:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIWwIl_QBtGHnUX7z_Su8PctpFXRcSO4zhMRpUa-JRiWJJ8V99Vp6QlC4NNPJ4NOCreCOTSlJOniiGrHI16QHX8KMLrWpjB98vl9B-Pl_h-qyie"; e_fb_vipport="AcI7wS1kxGxjEkE7X1O5aLQYJX1-Y5NyH8fTWb8DvPi6iquYMamhVQ4r-E_1"; e_upip="AcIcPpIrvP_-Xs-BezmYvb-4d2lDPeu0A1L8lmyl7tZOwlxlmCz6cUaqzkIvWQ1WWQVh__nkOcXfIHPGBHdb_nV6Fkmqo9FKFtY"; e_fb_hostheader="AcKLjw4MBf92NF8HAakZ5d2V0iKtrYB-7jTmhahsYwTrezsIEOBOIFV5Vt2vwDTzMMEg-teaqiDowa5R"; e_fb_vipaddr="AcJT-m1pMGYYDFEJVS1d4nUcxpXHdobHicIaZHagAlaGkF3YvL0FKnb6klitx_cR2B1KFdWIcTGIbcpbYgyu2-3Y9qxXyEsEuQ"; e_fb_requesthandler="AcIPYhfZ8cCyVZ4Gs06mixHYsiH4iTGws2YF4V1J6sXo6qt0oCTukI2-HF--wqqPWJIkG0kj7tQ"; e_fb_builduser="AcJfbP21puWfjxOl0cbjIFPE4PbutlRn7V-HFjL9kKAlTXGchZFzQslfNcpdww7RDcI"; e_fb_binaryversion="AcJ9SyJQ2fCgssyrC-rUtAdAWFFkazY8_O7bVesnh3vm51f4bDO5GAtHmHBprjehlMBKWJ_hFccXVx_KBRE9UdPTB40s5w-IVxk"; e_proxy="AcJax2isRA28xuI3418LFNsxl75OrvkzVlxRA123kWg4GSNgh9nYB5Jf6LBo9b09bqfcjyv_c8b8ef_OQ4VW", http_request_error; e_clientaddr="AcLXGehM3Hp_KQ5BEQUokZ2MXAylxGXtI1EXCXPZ9WB5Sg5Wjz0BsFw6VAmdVsyv8jRO_c_4kpaKJImrqg"; e_fb_vipport="AcKEaPBn7F94wr6hGaqXn_wflVN37ONSGLZVEHUP8tpimN9VmSq1AqtMjcRy"; e_upip="AcJXL9WnN1RGu_HUhYqLGU9SuP7CX6_EBMAG7Oe-Ucqx1iuaxl5EkPjnNS7PcU6ORoKEmM5WmR8m9vI8VXDs7RTMeqDwZ8DOzw"; e_fb_hostheader="AcKFeMUk70uh3PaOvpJPxZkcakAAYM23CV7j4Rn0cnIZpeHSi9W3pYgoVaOlvAUS7WkZypQPsCSB7Ib1"; e_fb_vipaddr="AcKZ0iNTcpAKT1YXhpvbxxAhuWcVjeYK7XhLmHXphqij-Xt_x6LvBVHBIJ2aVw28gDJyoWw"; e_fb_requesthandler="AcKQqsvSklnXVCe7oUeOjzfBkk4XKXaasie0i8N872p3HeCRDYo_ly8M9I-NXikr0hSBAojZUlE"; e_fb_builduser="AcL8TMSyOlZIEHepYnT_6MT9zndDi-schl2xptXWd_oMvClw9aPFlhbkPTaoLU9_Krk"; e_fb_binaryversion="AcJbZQbzoZMa7dtvhB-Dp4YQirb9pQJdOPJlqUVYZi9G8mjBbPRPNhl8bvohfAAI884OalMs7K3jvauiqBVJK50qjDK3A9mA6EY"; e_proxy="AcLxGnyHbQBWmT3WPf2hXK7QqaT4AslDiqT4-2Pz63n6nvNOWqlJ1HNi_gqc3cjIRc9z_1u5ydhlI6g"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7227367210672470"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 10:09:03: Error on send one message facebookId => 7227367210672470 02/19/2024 10:09:03: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AlzQMv32rBS79IJrhXVqoj0" } } 02/19/2024 10:09:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 10:09:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7227367210672470"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5151036, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A96hPbLLp57gqecDsoPbxN2', 'x-fb-trace-id': 'Hihyypwi9bu', 'x-fb-rev': '1011506468', 'x-fb-debug': '1mkV7Q5C7/ZVJZ1JfBgou0Ngw3BcsQ6M06A/JtFZVGjLF7mef9TCE3uQYA50RlXAfp3yCq1sfY4PzSQLQNl5iw==', date: 'Mon, 19 Feb 2024 10:09:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKoomjp8zLW7sR5yI2ZtJw1wzny6L0Eu2ZHCfySjpQ2a7Ya_pWjt5vNf0FjDfzTuiAQMN7QUW-6d5KEnxtE02mfN46qvKhy9c-BaqgpkG9yrwkw7g"; e_fb_vipport="AcKJD_egm24Nas3T_AABLq2dZ1SFBQU5ZRgQpMoyNwf4fVctCmIurX8ONr57"; e_upip="AcJNZJRKH9p-xx1xLY2zAZR1VKCSetHSEoUc7hE-4lXR0E9ttYj1Dv6A0-zAPH6cNyZD9XQT3AGAO__q7jV0bNcYTtsJTbc432o"; e_fb_hostheader="AcLT-pb8cYstLTfpEFqowgXzjUePLy8GdVWghzcfIDqhUbGYOgmPQgjMSyEB5GSpYgqCnw1LElVpaCca"; e_fb_vipaddr="AcJynkARGGun2vruqWyhNTZgGC7jMWfPOGkYGItrFaKt-AIqjLxkiW6VkVLunh5w2S302bSFHV2AgHqkEKQYROO_miGY_KgyNQ"; e_fb_requesthandler="AcKj1f3JsM4scJvhgYFSH7Mbl1XPB76m1GMpuYD2McGZ3g9vfXMNHg7AifSrgc7HmCq6LsC0io8"; e_fb_builduser="AcLLCF7-57kXJdmvW0mhv7YG02AUt3BQAYopacQP9pRg6LAxp66rUvq_qj7UTQMt_AU"; e_fb_binaryversion="AcK6DgMd5KwotOPqQtnqP4Bq7x9bVplW_YIalUKOVetyO2d4s-vLo3W0AFefXZDiMjqnbUMJ9M24GAwQ_taqXf7vVZ9CFmcJkms"; e_proxy="AcJKcx8pLDKqivE53jK7fTbviw2KWzzLm77ch1KPV-T_luXUyXE2poWiT7OAj41k_st5pKXDbjXNatHVReGO", http_request_error; e_clientaddr="AcLFKPvJyT8T64j-TOPvSpp7al-dtisX5Stx0r0C1yFdiSYQMOK18zwO4V4rUO47qcEzNep3LLo4R0lmAQ"; e_fb_vipport="AcLHb9j81QhEq1BP-Kc1MQ4_6sR1qIwXII10IuVXoMR54b2gw7qRBTPDXaQL"; e_upip="AcK4timvIgmFWKouq6l26b0JraoVfJth2DgClMTLoSHcdmi1LtyQqVgHJ8PDNwxKIdb1ugczEkCp9T1EU6ru6xQYtbWH1sLmhw"; e_fb_hostheader="AcL9sOqz6p9W3yO_dXDVEP4TH59z_91haiVw_FVo7MK8yfJUupPJ7yIlevdd802IjuAkBgTcXs9b_Z6D"; e_fb_vipaddr="AcLmq_uVvu_cE83XhydhDUZU6jUg0aZCEBqBPvRXHgBugXBcCfYnWPKy2CUiY4yspjl4hmQ"; e_fb_requesthandler="AcKPFbKv1qlTzxjcWN1sTk6-nZmQaWW8TKHntCJ9tjhZRg628NeD_D2Z5EZJbAb5TiDRH8hSsgs"; e_fb_builduser="AcKvVYMaQuApInUJJK9LhMGOuM7xasJiVvAMVChaf_m0t_2GdojaHYGZ479DE21OF84"; e_fb_binaryversion="AcLc61VeEStuLgkbfhMEvQxF3F1xVYwDM2udX181bIHDCthJv93MhAL3K6TefH12PWIiBkYEo6xzKW_9RwS8bUABD4xcufO1WPI"; e_proxy="AcJPbERfbJjuit1ptzKiF3-e7wQj4E3B76r0xUlNDVZZcup9c2D5e6a_1jAq_StcfntBgeYWNkyQQV0S"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7227367210672470"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 10:09:03: Error on send one message facebookId => 7227367210672470 02/19/2024 10:09:03: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Api6Ye4bPWHrqzaU_Nngzo2" } } 02/19/2024 10:09:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 10:09:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7227367210672470"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5151151, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al82OX7YGRDCrzhZEWdlFvb', 'x-fb-trace-id': 'DWPytq6ec0T', 'x-fb-rev': '1011506468', 'x-fb-debug': 'XuvQkN5mbVZtdbQjD/LkJvCC6zmTmXJOHYls4Ec6nRKu+nwx5CdxFjQcwR18beH00zNCM8s6/irHvkyg42PfWQ==', date: 'Mon, 19 Feb 2024 10:09:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI8-Su8Ybahz_9Drc-SO78iE3kmHEHNRmIVM6BchFSVZabUeFx82Riusp82vafKVlIVAVe-8JPJ4jUYX3XMNCFSovXB6gz58U1qfqF4xIZ54U2R"; e_fb_vipport="AcJfUWVl8SN9dDAi3UO79JKQhqULQndPVVdfQRJP6MwaAePPuidrVBM-66UC"; e_upip="AcJe_7Elf4Ya4l_waOPVhdfTyUCIEP0B70C63otEK2zXcpm3ROy14_H0NDTPqGdG6bgZyUa9K1tnA3KdNQxs3qJMOOPILy5ZqA"; e_fb_hostheader="AcJMa3UrWOdqSjIUxp65cVGQ-9rEOSUYgacyE64X-ssb7rs9d167wBlj99Qn2cmr63z3w1NIwDOjkeHi"; e_fb_vipaddr="AcIS7NadJ7qVaDH6kI4sSdw2hOS79U2Bl0d-9kSC3sruZPY9VvbWTqpMgc-cCspuupv9DoQBkzv3D-a8NIFIIuCLViyeiaTTlA"; e_fb_requesthandler="AcLFWRqoYCDe-kfsWqvUZoA6sm85QjqV_fOL6loiqG00-_lR7ZGdJfjbebzfjjfdNwQwVZTFXl0"; e_fb_builduser="AcImy7oKq19U-JSfkDSg_opiWTMZF-fAqVcv99gMVWAFMN2mo9Ld_QkseGQ-CaMiI14"; e_fb_binaryversion="AcKLupE8CCxX1vFFllEfsOn1CR-09ueW8kbunaFoRQkrbHyF1f5FaGjUSP1HXk51UCwsZs99jpY-2CThplUlGw6hkEPadtegG3Q"; e_proxy="AcLei5L-IeqTicLz9RaUsn5BumdZF9GZsrgaLnl5W8-qrWOAtOWpK-40s7Ny0emzMAfIqRjhaBSR6w9RiXTF", http_request_error; e_clientaddr="AcL7wKrfJL8RiEu7FNMU9az0TbCKaakXDjXlRf2wsEpZke-7AcE8nbHPgGtMrPHLjtf0GMEpWyoQ0HTTIA"; e_fb_vipport="AcI7HRCe-yohXDvSxFyDr70yFr61Oa8ESRVaO9CAdHdpACNk26DGtGNsjMm3"; e_upip="AcIijhsaD-PnUM-vlny8mFrPy-mwK3NlbUmOni-YEiw3kMP3DSErcbY6O_vvOUWJf_v0q6yEwKdu_9PT0JUcXZchJKOmwK5sPA"; e_fb_hostheader="AcIUSbrLXXCjqkogdp9mHUw-ae8RgCTkr4vT6B0tG6SAs8TYlMW1YJIc3wkAggXEvB282UEUYqp4M4G6"; e_fb_vipaddr="AcIE1AMnjJKSy1_ljMFRkjNm8lXvyEKJF0Z0mx_lkYS36ef5mmaIf-n_XP9osA-O4t5aG0Y"; e_fb_requesthandler="AcJirxw4xi-eaFPqiXimG-RU2jHUZjiyBHQZPwlstMu0r_C2fFqMzwYwVwbp-xqVUAVhmZ79TRs"; e_fb_builduser="AcLd5i67Tj2Oyf4HL9wnZbKMqrVTzW6tOv1yaHJZ9cb4HD-akFoMvPIQTJDaTp7cpc0"; e_fb_binaryversion="AcJx967TnHjcIPSRh0gpVb-9rAgsUHBvjuZJvYQ1lxboyf3ncXqWuDwTaVg24XjVlE0papuqI-J1fJKLt0nIVz8cz4Mslv1I6VA"; e_proxy="AcJ0qYq4947MbzUwHQgwuIBRupgDh9a3_EkeE3A_NkVESZWo7yRmxjitdUk8mseu0hD9YlagT-T6bkI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7227367210672470"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 10:09:23: Error on send one message facebookId => 7227367210672470 02/19/2024 10:09:23: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ABTfmfjayiGJGR85jEfCRXs" } } 02/19/2024 10:09:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 10:09:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 10:09:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 11:22:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 11:22:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 11:22:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5163947, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdUo-0EgIJDFoVIsIOR9GrP', 'x-fb-trace-id': 'Ge+ouFDO0op', 'x-fb-rev': '1011506875', 'x-fb-debug': 'HR0EsPMOJXOMpsmy7VFWeUqacPMsQIAPYwMGMAtgoJXves77vsVOdiHjl5N1EBWbfLc+wW3xKS5Ov9YuFTv3FQ==', date: 'Mon, 19 Feb 2024 11:22:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLcH-hOIwwwARjkwldrGCBr9HaV5BVbM9b6IEbGYxsADPH1vMRKfEpDx2uq5yJsd7jGFEJEE5OZKk87ESLQ993ueJHl634oHiphgkOPuOdCaPU2LQ"; e_fb_vipport="AcLCfsdXmnZSvRLDCudQzXpylSivk8Ngzywm2n-Y3Lt2r5zr8w1SQ83bBSd9"; e_upip="AcKPX6jmTKAN4T7z1RKvXxvUDuHbJ4kQRf2GQkLk4hHPGvRC0D-Pdowse4zAF7NtIKS9UdPKU2-h_4tQfhvQizn2N4ni36y75w"; e_fb_hostheader="AcLptUjgTibadf35LDvfDlz1deimmDvPNqsQvJI_AMmPpz4a91ItwECB7bvIx_RJ7laNHDv0TMdAO23L"; e_fb_vipaddr="AcLhgokQCNFe-dBy6UlY6L8OtVcn6Y7pOm87GxmW4bWfYh8AgZUpPJs_-f_1INu-wTu8rlYUuNt1uoE1ZknS40n_J-qREcMgtg"; e_fb_requesthandler="AcJaXrqHFqs05J9iEC-yBf4qPkBREOvNgWwhrWFtLJo12Qxy4uze9sgaHk-BLg2NytjaomEeJaY"; e_fb_builduser="AcINiIhFFy_G9oW4GHVuRmgIBucy4Z8dsiNaQIKYXCvE4cp-Fm8cjXNxIdGxoQVJxe0"; e_fb_binaryversion="AcI9NqtP4bks1hpKZ1v7zzSQ5oElNN0MXiH1B5_H5awqt9k2qBi5V5upJalOgTbPFL-9n8aXx51Y8h7s64FBPpI4boT4Kb1eUzg"; e_proxy="AcJcEIuEciK4ScUucGe0gHvIs2cxmXwdlkWDhXxSC9kiwoC2ebXOaOagTipt6fTncjmJNkh2FbyPq9rryaoq", http_request_error; e_clientaddr="AcLjbKkUELWlo9hZhSuSzVvisLwxuPVw249tcJUUYk7y60pCd-9NDXg5yh3b-NxwjYGH_xts5Kaubl9x9A"; e_fb_vipport="AcKx-0cuVOz3I1lJI_FcaTE7VzKC7goMr4CRE3FHgPB2HB7QqDxY_jOUUrMN"; e_upip="AcLWElv9Ht9MBU0dWYkZMKC1RAPxaIPkOzVvxipc6QgUVVvsNq2CU6et-73G4bTPrT5Q3IG58Kt94Pg6ShPNjasd1La4d8vGkA"; e_fb_hostheader="AcIDC5fEZQT9Sej2JaHYTJca18mWYoCa804uGiUvdkhMe86MEVw6HyFcYCpwpV62PYc9yt9OPED-2oE_"; e_fb_vipaddr="AcIykhoQ5KBYTiD-UkDnSCzq-gIIP2Wm0-Ib_ebJvjcfH_TqGRrbiSraIyanDONZwQNd69o"; e_fb_requesthandler="AcJn5Ifwqo6xv3-IaEsFQaAKovsJ2ngU84E1DEtckTkAmCWzpRhdih0p9R3jHJEacSTAYlQubTY"; e_fb_builduser="AcJ3iEY9NVt5SL98H9ti-1L-MNMAetsd1RC1HhNxXbS2yBekz4TcEydhjWEDg6WZJq8"; e_fb_binaryversion="AcIaFUbAhsEW9bfzAv0wUpF1MoDxLku5cBud9HLtgSVGgP10bB6QpPglN8cD4PS2tsrviE9TF8xpPIBNB7c9Rb7wW8rrAF47AiU"; e_proxy="AcJhuj1OtPRsXUukMXFg-rx_oAcvYsUW1Lefp50akHgrwz_M1STzloQcjJe1S6QYPsWg3lpuqpgywek"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 11:22:38: Error on send one message facebookId => 7200921576689355 02/19/2024 11:22:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGhHREK5LdEuKWKFjU4ecDY" } } 02/19/2024 11:22:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 11:22:40: Error on send one message facebookId => 7200921576689355 02/19/2024 11:22:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Az5VN6Qbxd4W04SqqdO0TEI" } } 02/19/2024 11:22:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 11:22:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5164118, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Acxda3YUrlDiZzmfPUKiQiG', 'x-fb-trace-id': 'Hs3hZwrPFrw', 'x-fb-rev': '1011506875', 'x-fb-debug': 'l5xVtce73WbHBMyvcSL2ngc2Hpo4dnYAn5rssgoa5OzfWIksNmqhd7kHKDY80N9TRghykfe7DQ2adW0Xi6SN9g==', date: 'Mon, 19 Feb 2024 11:22:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKq_Wm2b8HLaoXepCCvNsXwUqFq5jJhxCotyiF22fMRImUe4LCwMzpN8KIzpaS781CPhVrxVKgUyfUAzIEMKbckp9ETIx69PHqXntAV2ujqgYARQA"; e_fb_vipport="AcK0m4CeGFBWd0jGpEriA1ZE-rd6HzUkIrtFEWh1sXO6uRpUOAwSQ8aX3_gv"; e_upip="AcLI5s_L8lpiapomlZGE8_Acwjaq4tU2z1wsqRIM7I_Qw1Jk2GTqZHWrbQGvytuDtvbO-RmSlUQpw4_RHkHXf4M5XIYPfh9pMXc"; e_fb_hostheader="AcKEUwkQhynWXLYgzOsTIlaROKaiptYJJEsAOdOq1cjDFylW38apD8kpFrB3fDRmpXVwz5VBDQeL6Yjo"; e_fb_vipaddr="AcLOo80LHPgVVET3ki8Xls9_AGl3kufYaxjbTM2GMUidViCkcj7w2lToeIywpKkf7kkBIqc1W5VabvYVQ_uulx0cKOCSV3tmyw"; e_fb_requesthandler="AcIxKMGXB-muXKxFvc6sKDG5bRW4aD5KlI-IApeE_f6C7BNGBIMk5Wt3vdOLaFBTFtTNuTeKljY"; e_fb_builduser="AcLxhBxBgzxe9aalg4WAneWcAqvBt5N-NYmeK8tAT47saZx-PMEJKsWRDCsNm-4OgZk"; e_fb_binaryversion="AcKIXJ1POkCZVSyfm17Od4XJQaXRoZjddHdG85oiqe0DpdF66W4UlnrqZYlQnNZ-RTUrnUrzQBPDy118sQlkhz02BW7z4ZKK-v0"; e_proxy="AcLxBFnyXGgQYbRZMeF9gRnmz1pgU9GLvU3GaLCjnsXS6cQpzOPHjsTNrcg4uFOS0JpUZj4udE5Q3xFjrkzL", http_request_error; e_clientaddr="AcLTCR8ObGnUEWNRsJca3FgvZX2R_VM5j14CUVNll5YOwzy9j4JpZn0ub2xq9jI7N6HFBfczANEFAFI7dw"; e_fb_vipport="AcJvkwSFIJQozBCMCqFtLa_cQUW_Uq4bvLHd0GZHqnGNb6BC8ZvV824tOQsK"; e_upip="AcJezvwyE0wZLx9mQ-IpEKstN4y5mKsPzogL11T3Ez72staDD-l6ajmQLLJJxYmeE4nMKU3M3-7rMO02eLA22VkGXi_nZgbwXA"; e_fb_hostheader="AcLEahg1piZBe8HQNbZix9YmaVH6foXJG4pHQRqbsTyWx_tqwdNLbhsGs5syhgaaELl8dh54o64wyK8e"; e_fb_vipaddr="AcKllF-PnMgwwew8Ee5hx5aagPF7QDIWigpNkweBNq7lpxCXyZqd1_-wZVWzYqbg9t33YtA"; e_fb_requesthandler="AcJ1P7mDDxESMKcRuhg3lZERto5VngWpsnsBWSNeqKw_0oJqJ4I0r5KzBr0IIT6BDWctuMkx2rg"; e_fb_builduser="AcJ546-w-Mllntxk1mvbtfe3BSMAzHijo9-zg0JGPOvSVh7HUhdZXtgf-YxOR5Sd6hs"; e_fb_binaryversion="AcJg0ABZqzKScv-lrD7yhCHZQUPvoGJ4aW3L4owar1S9IcAXfN0NBphRhH5h0F8C1PD80r6OV5MSn010vrljZJgpLBgV51BJp9U"; e_proxy="AcLATH-_ISv3zfGNrmV4Kk480cE9KNf9pQYq2JllT3Dl9zkid0Vxgl5QJ7jDshHARybbTuZmzw1GRXc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7200921576689355"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 11:41:29: Error on send one message facebookId => 7561324217219745 02/19/2024 11:41:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AjS55QyozcXHXsnpYuBTEMU" } } 02/19/2024 11:41:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 11:41:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 11:41:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 12:16:55: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6065701156888402?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5173489, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6065701156888402?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6065701156888402?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6065701156888402?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6065701156888402?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxnCm7pud_6AZpXy2xrJF25', 'x-fb-trace-id': 'ET/L8w6/ClD', 'x-fb-rev': '1011506875', 'x-fb-debug': '3kAmJ4K+fJgxNO29ZMAcdftArAzgy7duwkJ7QK9xhSK4jtO0ILMvYThENsc1SeaAG1xsp2kqUYc321ReqyemnQ==', date: 'Mon, 19 Feb 2024 12:16:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLQ7iXau4K_Hk4cCWw9AJH6i1YHNnxgEq83aIyxZEuCKNQOpeFAoYjreoDODudg2rvj6FVXC8nWLBFTt5NlHOqkgjkRVZaRaNvIC5uke25G6w9w"; e_fb_vipport="AcIKnlHTb5CztXPcZbqIamqhcx8J8MlNYV87IMxnEmj0puEQpF4o6WVo2w1s"; e_upip="AcLUnr2dyuTMl6zbIhL6D8gGSYSxT4czgg78DtMsuNF0lxniXWQ-TFC0Mb3UNsFvCIvEBDvhk3JizBPe8sUlDzpkuRrs-p2CTaU"; e_fb_hostheader="AcLEnehLkhMuyUDmsxYgQGrag9N2Nw2Qp3Q9GVQU45rFYuSDfuE6YAtF8BwKTmfEio4DvsWITsOz23XA"; e_fb_vipaddr="AcJ_YtPgGEonZ87cS-vRYnaQHvm2GzcHqOQh3EskK6xpeHAcEqVWD7O26XmaTSxapQA6xNjpAEvg3LCbQFELPAUpHu9_0AHzUg"; e_fb_requesthandler="AcJWNfTTsHRwcje5RM_x7iLX3buOMppeaPJnDkDaXMX2H56JNt6H8CnuZoVO9hii275jt98X3II"; e_fb_builduser="AcJbQrGbEtTu_cL4uM2RYV4W8drmi-lN70bghg8Vyf2qjEj67Bs9iBz_OqSmrE1SKkY"; e_fb_binaryversion="AcLyntbLe8OdXys74CLrxsa9ih5X8o-1cCXQTau1lTCc7HzwhIRQ3-ss9A6zll3uqZl-yXQ9kOmTJcXMXO-kmoEdD4YQE6zTaMs"; e_proxy="AcL7q-NYcOihnNXTmAmKAZjyx-7YnG2UeUazRNZbndWsSSxCNEkZLi5ZcJipaOIK8uRRcRKyTE1e0rWiQ99N", http_request_error; e_clientaddr="AcL0Ear9R8fGkEGl3sEJ_p3WfnYYrtUa-eBRrcXL-FuttMShCqXN-YzZuD53IHyoYWB9BHZNpiFnh5yNSA"; e_fb_vipport="AcJiwSg5YydkCD2loialJ1iYhHHyKscFjSnEj3oQHVNwOMg4kFYmi8LoG9Yz"; e_upip="AcJhLKXt4k06FHrDDgEH1_Kuu9jiQ_xArYvl-ux0DQ7yXmJ7mG5ng0t6-R5MUkgSwwrTVm8XfrIG4WmFZWSgCyH45d6aIlj33w"; e_fb_hostheader="AcIiw2aRQLmxoZY38HQy03eWVg8D2YkdHv0BPdQnirD-i1bYY-6JJ9rpbnDN_laObYkfrxWPdVb5Jtpm"; e_fb_vipaddr="AcJ6Gvn6U60MkexHKnmko3AzMz8unbk47RHavu9Yn_wsZ5uo9xVZefd7k3VxTQHruU-ZBgM"; e_fb_requesthandler="AcINVkh1RmDvn67q_BEHfjFRuXlCMsiPf5eLnwj2XRSlyNZ2O0JSpiT868-i1qskLVoAWk0ZIM8"; e_fb_builduser="AcLk23Cck5pKmnjlPYg7wM_K8y5rtDLEKvj5V_VvhQnU21rJOmcdYP977H7fH9uXDKs"; e_fb_binaryversion="AcJrJiF4-dqouj9_3_1XfRWysImNm80nsAwNh2oie2oTu92W7SzmKaVO6dl0COjhfHE5fMQcht9ZXewlQNKNve1vY93I0gM-uyA"; e_proxy="AcJZX3PZ8qsfvfyYbIcT3G_KFWWEl08HK3zDcvzdxoLVeHuT_jWakfSy8vXeV-foO8pZojRUvVCndwg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6065701156888402?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6065701156888402?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6065701156888402?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 12:16:55: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/19/2024 12:16:56: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/19/2024 12:16:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6065701156888402"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5173607, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ApK1ATuZYWTevE9Walpbkbm', 'x-fb-trace-id': 'BrRGbCTEvcs', 'x-fb-rev': '1011506875', 'x-fb-debug': 'PrSFoZHzNXHTDHBcnCWhA9V3DoeZ6BgIQ5QgKm6KwZpdrtzs4XMlER+K+4wo+5oJpvwLrmrz/I/edtJugwhG5w==', date: 'Mon, 19 Feb 2024 12:16:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIYievoyGKCHNIU9ATp1JbAvatYaz6IwAaQFs9a9H6erQqICVGsbw02xFvdMhyj6TYtgNUM8QpLSpX-UMvsg4zKqOak78J58QFfCc5VgMv9uhMKHw"; e_fb_vipport="AcLIc9D--NA6baGKRsWVvFjvSLyhxu3-TtLg_xDZMDIlkUcC-EEjFM5g_6bB"; e_upip="AcLJAZx9gMFMWwp64H1L5NP8q3dLqUHIbIijBfYZHXOCi43Xr5ZmGKJYC__zOGqhWhI303HA1orfP-5ToY19OmAzh-asbhlLA2A"; e_fb_hostheader="AcJ5FLC0kF6anoQW3WN9PlrkbNKoE6tKuQeCNKmH9Lz6s2tcCjUSA4inkB3XfVveUDyFEV8arw5cvPsW"; e_fb_vipaddr="AcKi0lBmD_IN2XMWUJIWangzULDMnfXaL0OH4RYQWX7W8XZP6up8OjUNNW5ybx61dtA_FoSvtKqE9tJZ7AbVWGr5L8_EIJs6fA"; e_fb_requesthandler="AcKzOMdXHJogYT8ofDbkm8TRQS2rMRxQcs7G46wlg56EKn4Dhq9g5j3cEAseaC_-D1eb3VF_3pM"; e_fb_builduser="AcLZuj4iDnt18qQOY_W2cEs217pBPSqLKOC27F-ompDdAiZEiKEvMWXztZm0mrarMko"; e_fb_binaryversion="AcJj1ueXmnbKfk8oPScaOHwUEHVvL0-nphzdPKpChPeuP-s_HU471UeM1ipaLlUbhV-Tj6Q9KyYZdUD2I8leoUB9tjkUE-SySq0"; e_proxy="AcKn6YpTd05b2kL81qtTknhRSbSFd_nsd7OgvkUcY5wRpVHLXST_pEaimZFqARcmnM6gDnGExllB9FLiqJF5", http_request_error; e_clientaddr="AcLO21Her_0rshK4QURU3lxX_mxtcR5iCNtXrMrlaMt1YTRSO6RSdmj98t3vQJ37254VsyBBlAFlfzao9g"; e_fb_vipport="AcIhPAxyvbx55VdV2zarydasobbFt2m4qEgVgoHgIIg5EAzNSHeVt4mkhOQI"; e_upip="AcJGlGaKRvQpSbJmK2SfmPt70MCnujH21t_IsShwQKas4plbrQY9vt6jXUzskEZKndQKFdy3Fx4hvtnaVWK7vlwCEBdGyXJljw"; e_fb_hostheader="AcKJ5xJsgKcuw-F59Nros_fhneaMSuRojf-vgzEUG8acpQhr9BsYlNvmfcEunwGou8Q3aJaCnER8AEXo"; e_fb_vipaddr="AcKFdfAQOUvDSbRZaR_fV0nNRunTbHWX0lEHPd4weeEKaF0PT_gvNCIXCwc97GA6tAuEnro"; e_fb_requesthandler="AcIwCGJHO2ScXY8iBWWMPJ9_IHwjmTtIWD9TTtc1ESyyhItxnsJpXiB5aOvsUP4_SCLOpi-J1sw"; e_fb_builduser="AcLLZwPcuUPU86ZX9Lto0GtPiYPvDFFWG_dHZ9QvrSLmMlOnA5EWkMlDz2OrqzegKe0"; e_fb_binaryversion="AcIkYYM-nuaApsuHlp0J3FKcPu58qNDvzqaylL5TplwEUBjiYDvoanOtbcsqzjzBdAJmexwR7RWhXivtJX3jhUddf-fm1AuIYWM"; e_proxy="AcLEmL_XPzU53K7Gr3yCGg3gGjTlv8egYZYs8LuYmiT5RLEgbcfawAGe2hefziE8o-Qg2FNJzfUPA8jn"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6065701156888402"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 12:16:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 12:16:58: Error on send one message facebookId => 6065701156888402 02/19/2024 12:16:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ACmP7e8X3fiBa8Vhaxw5mrw" } } 02/19/2024 12:17:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 12:17:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6065701156888402"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5173692, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArYVyK6qNiU299AMv0BcD25', 'x-fb-trace-id': 'Fz6zab3OXOz', 'x-fb-rev': '1011507267', 'x-fb-debug': 'MLvDoro3zxtcih0D1NMjs3HucCr6cfTV5+cqSM8cC2wyoGBqdpkR6MBF73YpDmlhnfT3BDY/61MUIaF00MiWVQ==', date: 'Mon, 19 Feb 2024 12:17:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKBnhuIofwLauBiCmMXW_AZTzg6CZ3rSe-qGH8geCQuHVqYxrQePrpeQYkBawwil44SsMxanSA1ixNMVIhpPEPxUE_RzMq8_Jof_GSJ9kFuozI"; e_fb_vipport="AcLr3ZUJHwUgQj6fvjDWVIuiBxyEXliwtvob58joqGJuXOQvI8givIkKLU6S"; e_upip="AcISqYsmFyiMlXSSwflYrkNOPoJEG2oIIBu4kQ5EamO0hfwAmostqJJehammAid1ATgt5INLUDm7Wb34OlXZ5IcE08jkw0COIPk"; e_fb_hostheader="AcIG2eJXk7xmysUtUAhVXX0fAD2sLoBe_W-DCt1hJsB1QoOguuao69KkPQbx_GE3L2JRCgowO6-OUkNk"; e_fb_vipaddr="AcKhZnWg0zMkOaHPOJMnuzua__cW4-dGRWpdkDLuDW2apNKmV2ifo5zrV9sHH3V_84ZZrrJFY5N6ao4XlE3xDHjl9meDdqIOJg"; e_fb_requesthandler="AcIBpS38IeyBlVjY57wMUFxCP6Omu6VQv9J94I810-RhVTa4ahWlYdzQZ8wQoXu9ThXuIPKfWcQ"; e_fb_builduser="AcKFIHrkc-JdfzFsxhGfF579YgHZAUl9abODYC8FoXH5AIPgFp0u8z6xnbPU82GLwJs"; e_fb_binaryversion="AcJO9vlitclqPBhU5V_j1QgaOGVMvtp3E6BMMLPLJQgeRy-vRCgx2denRXfoq9vzU6a9LrLiV1p1LNNaexj1_jRhhqQZ6qoBTPc"; e_proxy="AcIRjifnAe-dW3PCSG7ykDIvApFyWCwknwnkVAWj4KxajQg_IRQksRVRxZrFlxONLld_DJOJkq2mcAvj2qi6", http_request_error; e_clientaddr="AcKOhEcXqj61GfBhDzO0uP32lFFv16f_VLJlxADjqq6xhn3z7etXXetzOwz6KKm83GWD06Nv3oEYN1dz-g"; e_fb_vipport="AcK6Dxt6mQXQV7iIcpzDi3g-DsRbrykHx0_43KH6nyDSCcJlQWaFvSLxquyt"; e_upip="AcIbqNbLNbYNUyMOr8RBxGTTYvwczjfmtDDyVpLhViJ2kIYBVbR99cv9YS0MtlIougQjAuKuRVHy7Pn95VuiNeyaU2WOD1fhEA"; e_fb_hostheader="AcKEk5M9teZr8-2UoR3XUA_EbTxn9_dxQve0gsEuqJJX7nnC832uGE97TrQYNDeJ6lRMd3WrhTJ5eJUX"; e_fb_vipaddr="AcKIkQBNv8yqz3LXZf-OYO9QO5soqlZRrSN7ZP0w9voAHNPLD2m9-kyVKpmm9YmSZbEGRcY"; e_fb_requesthandler="AcI76HgRAAML2CNRBF5zWiCAOXIW9hpR2x84Od9XkgbR7wdHevtV68nOZGsSZWKisQ1Ps2aqEWw"; e_fb_builduser="AcLCG8SRHffxHHUC5V9EAYA5zaL6yDRxsjX5hbRIX8_1HdVPxSfI6OAC1SOa9Eik6DQ"; e_fb_binaryversion="AcLLfOzYB37vbJU_nse2wrDLu0-LXqPNhRi5FALldZAy3zZkaWP9JgWcHgCPfYQr116L4sNP5XsMb8cXVfy_yAFOLn-1dJIj4fA"; e_proxy="AcKdUt3rLA2GKwnGshSAAamaDxPjckK82umugiSJF6VBUTiAdEgHDk9KkvhFNhUAomSmKVrV-zJNF9Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6065701156888402"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 12:17:00: Error on send one message facebookId => 6065701156888402 02/19/2024 12:17:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Af__tnJUXcdZGWMWVUzB2N0" } } 02/19/2024 12:17:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 12:17:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 12:17:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6065701156888402"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5173831, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AD5rAJdGsz9bglKzx-Kog8v', 'x-fb-trace-id': 'AOwPcDH3AyT', 'x-fb-rev': '1011507267', 'x-fb-debug': 'I+l+3tEb6MpEXiIv+WoXsyyEOwllu9ivLqTYQl5WQabpVg/VGuKxF8Hmcq+PEKsue7/Gu3sKeDxNFrRVl2qc1Q==', date: 'Mon, 19 Feb 2024 12:17:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKnyBIOspohCShm_1o81z1z18Fdz1UyUlzd3gUH21qVNymqgDLTKIF2R6yV1wDqYy9ur6-jMuolki1XNqLnbXldCpxkBYoZcCq7E3tjUeV8LVVnNQ"; e_fb_vipport="AcJ74bxMvij4M5LDXVanBEAMd5iYeEXz0Gfcdb_BiR6vgm9zUb_LNLxtiykG"; e_upip="AcLcQKTOmeJKOjXKZs8O23MqBz_z_kF73QbOaCf1C545ptoYSAFOTnmrPlKOfwMPCfeu9sb4zGXNSZdHpqy9GdfeyKPfcvbg_oQ"; e_fb_hostheader="AcKM4AOM-zAkGzyI6b5ytkaEDzOIeXmQS4Y_zKSxdSY6eFY7ZdHefcuUscNy3rWXfm7Hjeq8irokw3tg"; e_fb_vipaddr="AcLFTLSZm0jECME7VOjeHPP7XrZ1QwLSu9p1aps8fgehrY6iK-eMbfEyAdKm_Yi5wMrWDadBTiS3KZXnPsT4g_oESPFu2cRPzw"; e_fb_requesthandler="AcJ6jnOt_WI3tRmejOtsXPdgdAGCxNaqo8AZSEbawgbaSbYfb7fgR9jsrJeRWczPV2JkB2yWNbE"; e_fb_builduser="AcIwdyB0PGo5AcSsExHi8Y9G6Sh_WYmcbGSl51aiaeGcOUM3XOC0Z8XT9oXA8U-9ZgE"; e_fb_binaryversion="AcKhADKWu2pNldBvAsaWhU3I-afEjD-XNWx8m5N81GkGix4Yzb_N7aZIgAlUjs7rIz6ZpQi3SmXMKr6pZKXN2hUqq5xqV0lcsX8"; e_proxy="AcKVPncQJmnbQejhr4obA7CVLIHeKptVBXttO0QDF8zVw5spbxiMJfIa7FkqCR1MJO1r1l8ju-eLz5jDuk8y", http_request_error; e_clientaddr="AcLCd5QQDtalg1RP-Yyck82bYSE_vMH6mhPvyy1OCIA3ll3VYzLACle9fz-zcUY3Hu86iK9n0qATc9-FCg"; e_fb_vipport="AcJscANZ4xOl7VKfdHHfhB9MXxQMi2cgvelOhSjAxnWO2quITa1so9X7yhin"; e_upip="AcJQwhFSKrsc-rW83fDZZMATx_8eQJXJRFH4WGD9OjfRPLPala3tkOgu4ygybZUqo8j5Nwo8guqU5VnNXEHnUvdUzcMO2Q0opw"; e_fb_hostheader="AcLk6Q6LJe5Dld1fFLHDRv4d8orWUEj6kMZxkOU2v8CTvVsbaQ1Ae2cqRuhDlY7xpNNFlOBaWKE2oEA4"; e_fb_vipaddr="AcKcZOqv2Ox6YmCwcgsClt7D5uu5xTRCF5RbxCq3pOYYXF1ZyL5EtsTo_1iy6xBVqJE5ags"; e_fb_requesthandler="AcI5YWDkee87fE0-amajSFCOlrEpvyFhZTwZyBG-4jYwGXjMhDZYvQZYZhNQaH5qpmdzVgderF4"; e_fb_builduser="AcKS-k8TFxvQChATqyWtXIAfnwUD86lWNXxMR9D_VuaEXFtDnv-Td1xeMLj7z7xkNm0"; e_fb_binaryversion="AcJ3oFKVqcosFNUC11I8cJpaYcFGyinQVF-YvqskXn7u9a1iZBZ5_H2xFPGpFAwpZuDbIzfnYv-IAq3akk8tjoXCuEQTUht5tkg"; e_proxy="AcLgDR0xCLQBcZEOw6z_5uwDY7HSZdHzwTAj4X2ziP1YGbd2rfeIQGqwwgND0aby7lL__nQHURxnvoXC"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6065701156888402"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 13:03:04: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7038437922859016?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5181573, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7038437922859016?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7038437922859016?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7038437922859016?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7038437922859016?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADeStGRNucqR9nFbQ-s22RL', 'x-fb-trace-id': 'GMI09Gh590I', 'x-fb-rev': '1011507267', 'x-fb-debug': 'wsrK1RlHsG8unHAM5Xhf/VLgHaVYxPEUqnCo+8VwXQq7oDtXap0fWJG/k+EUblI2c6k0v1wmSrtUdvom7QoAnA==', date: 'Mon, 19 Feb 2024 13:03:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL8uf-30h1mEbm50K7lvORbszvV965xKQ8C8ITf4YuTNHmr7mPJ6cD03RFSz2-KSXVWky0meabr-X7_2lK_bMvNj6YnDUYRMYJQFV9wRbEAqg5Y"; e_fb_vipport="AcK_YbyqITjmPixx6ac94POB8JrMLGK3qKB_Bzy7fL0Xfbu7d8_ms6BjhEQm"; e_upip="AcIH8hMr5aWs6KV29OyPwu7w-Lb9x0AAm5bSER5sjTrrJtPH7KPV7BXULKMqbYIvk1YeRf7JdKx-kco2nxNTDkSrtswZkE2sCw"; e_fb_hostheader="AcLy4WVWnzxHLdVgKrZ5TF_Eot2TmPrOxO_MP3zk7M0yCi0SyijFFa7MB2Kp7mQiHDtkhp1SKDNfnhqM"; e_fb_vipaddr="AcLZggyHQriyjapJx8vCG2C9XzBAI9hGnOIB73X7cj9Or3UIsyJBsA5KIXG78mJET4ObRLIgylI0Lk6C9Q16ICn9o37yGhIXQw"; e_fb_requesthandler="AcIeqh3BN4cRu1VJMa9ciI8oiCMMtCiQpzaZOk8fjW2_cA90jQnhOvL0oFSBhyrH8GbdcGzgNmg"; e_fb_builduser="AcLQrm05n6SU_CIt84ZJjOE1gAzr3DknXKu2IA6E3v9-9nlu7iHWIOx3ZuvNPS_TjkE"; e_fb_binaryversion="AcLHJdvHJfeKhewx0oPMsFvEC1wqNi3dlYK4ZJ5LqWIwwnoDHzRCQmIp7Zud4r_CfT5eQnSk4MAPV17OyfqtSUHTqw89KW1n430"; e_proxy="AcKeNP2K9N2HfuFZu79rJTHpr4KeqmEKgCg8PzY4IOpgPvtO83C3C2FBEBFbYOZJbB_0pK3Lr4M7M14t5kFq", http_request_error; e_clientaddr="AcJ6xv5U3AefU_8gJimEBaBAjw40qlhlU_z9zGgdQAo2KgU3v0WFMwVAgbX6R0YxPB_mmMB2fsegnW_wDg"; e_fb_vipport="AcKNtcrm1zqWXsnVK2izp4BPcKJjONc6rnD7oATnmDFQ_HLd0tCN2TcRYno2"; e_upip="AcIICDYrFA0mvnxjrplcqTqtBUp0lPss_xZiyqdcnirEYoKibTVI2RRHGyz226AcnjBJZSUp8DFh25WpvBeEkSWIFsGlc4mEmA"; e_fb_hostheader="AcLpI0A5UIPJim0HFhFssSWHz2o7G1PAuj9ECGCH0DKao9lwNBmQFssWp68IDVr-u-HG0HpVEXJ36Lws"; e_fb_vipaddr="AcKmGlVyaLID9ARlVcgBbJcCuZqcC9MfQhqjqR7Q9GJ4F5vXpkEUNDyy5T3ewJ8qXrTOG4Y"; e_fb_requesthandler="AcL8b3mdboGdOsixxnGehUgk2qJlVtkeO_bQM_1yTo9zy_HJVXOSnYfUkUr2gtq6jiXd0_4eOMA"; e_fb_builduser="AcJgtdUaboBW5quZtWYQeJg4dP6WjBzHXOQom-TUWFf_V_zuArg1EOwngXh73CcRQNA"; e_fb_binaryversion="AcITFSuYDtO6_8kclOJXRksZXJkDmlKUgDupZiEzZW_xvUgBmYbiUja7xOxFBet5WsYfe8c0KcPt2gTqYNgfYl7BUwr-SxHmXME"; e_proxy="AcJma7gHI80RPBazz5rfd7tnsIt9fbUKhpXDtm59t01IOYTvk147a0s8ULwqT4ZPS_dh7aUgirabfcg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7038437922859016?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7038437922859016?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7038437922859016?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 13:03:04: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/19/2024 13:03:04: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/19/2024 13:03:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5181693, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIr0HKGK0iA1kHvKrBR4M9p', 'x-fb-trace-id': 'HmUvLTOoFie', 'x-fb-rev': '1011507267', 'x-fb-debug': 'ooz/pUP6AdnnKPRSLxXcQkbkWuM37zucj21dAw2Rp2FWzF8/207cMhTAz171P6xdpYCnLZ//WYrhVtiD4xpPPg==', date: 'Mon, 19 Feb 2024 13:03:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKU-UAD2BcmeXjKAaLFHUzHAnCevBucOY79ShdBKwtZ3iWUF0uvx9Ha2qFU5bwZRgiC3B17WcY8D5yyJlykltChZrVhlqG38zHu7DWeJB-Yfqt1"; e_fb_vipport="AcIPdF8muHS7-Vx_l8jgSL8e9kN3rT6F0QddYexB2WxPu-rhxcNyo-xj-4Rw"; e_upip="AcKBhV5fEayANtiSCwDt3jGyLuLKeN_98gbCfhUiI0WeNhjgRntMHKWbiEILGQk7aYPf0iSBedsdWY1usf9kVpOSVZyt2FF9EqQ"; e_fb_hostheader="AcKwXighmRBR-67oYxYw2f5ZDXZ5nSHlezG9uIL64wuYXoAY_PS6vKJKbvCyHKk1HnDJCzV8pMUh_nEZ"; e_fb_vipaddr="AcLgzLjzIamAG0EMX3IbiCl_EdI0FCubOuiyx9X0SORg_tjCvl11o7sYHmdDbRW2f6-3xUgLE4XT_VkydJDAPnIfA1NjOVlxJw"; e_fb_requesthandler="AcICJv2I3itgAyys82maaWIQeKpycBh2P8og-umWJv6W0I1FKgbwMeQPL3DymWv9YAxqPgL-M2g"; e_fb_builduser="AcKLpy1g8rTbmpUm2xr2DdxfkIO23uBOSxAhwCG0-92HpRx92AM7YHNTXMlA_b83SXA"; e_fb_binaryversion="AcI8JZO2Yfr6ekcHrSnwQBijkpBvUuQyxWE9aTEDHSqJ-g_50_o6NlhEC5NBlAfkjZ5ea3qt2Og-C7yT7z6pUS-8sWZ5ANIKF3c"; e_proxy="AcLoP0mEDgPa2KSUQTDTalLP6LRbwTSJvG5hGo3G-zGp92VxFkbHlzGTaltYeUcmvQXqzkT2BfPb_Z2Ni203", http_request_error; e_clientaddr="AcKSro8M0IgrqfZzFV1U7NqLB9j4Lx0BtOxXmR2IWOy-jPAj5W1LosSQ3aPwJulrWttbQHyNissjMlt4ig"; e_fb_vipport="AcJfkrA_edJgf_bKc8LLl3qIYTtDIpSEY4SFufXnbuMXIA0k85qSOUVwC2BD"; e_upip="AcJTAy8iOBKzjVU0wHxi3jq7czKqEDKfvpHHWi1n-NnmH70hQOPvjj5MjVgfm3D9UgvbNNjqZhSfdp3_mIbdm6o_LbZdvd5-FQ"; e_fb_hostheader="AcJXtQtJzZMwuaAB1roTu5XyRNsODX2ncFMVtn2MFpx14J68-fVgF6nR2SR1AhiIE3l1W87uzveZON1T"; e_fb_vipaddr="AcJZIL8hlOTJCQoRsY1SaRofNqOdeX0kxgwP5JiiqNnwZER_hr-e8cvsISjo6pQNtxDNvio"; e_fb_requesthandler="AcIXnKhhR8O_owVzRDJRq24lwW7c-BvFdqDM9-BkEl2IwPH95SzQfWYFCNnHtpjDkzGlPMpBbFY"; e_fb_builduser="AcI3-xuLNMFnF4tpiWr3QNtK-Ab_NaEq89nmNqGEWXLu93BhhfF2X_T0E8PO-TBNGI8"; e_fb_binaryversion="AcI0Ih60xisxnvmm6u5TiDwuOMrprflLsNK2abh1cCXeimfffRItmMsdxKigpklCffWS7Wju8AzXFhTTB6neZDiQLrHhfhrDp1E"; e_proxy="AcItQfELFGGp7pzboreK27nWlLpjf6L5DFtz4D1FB4exfa9zh4dGrw5ALX8eIk4MviiVV-OOiUdGSp4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 13:03:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 13:03:06: Error on send one message facebookId => 7038437922859016 02/19/2024 13:03:06: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AOzQGN16x7hForFgZYi6xHc" } } 02/19/2024 13:03:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 13:03:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5181778, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhiD3OFZc7ep-xVaVhEhPp4', 'x-fb-trace-id': 'BD8ALSnogdZ', 'x-fb-rev': '1011507267', 'x-fb-debug': '1umEvGJD6tofjXwAOFiwVCC8WNxiVQU+IE/qie/xqO2fFdIZbiM3/DauoxTOEugs1T5lbodNsPUx0fXChTyilg==', date: 'Mon, 19 Feb 2024 13:03:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLmj2VmYZeFMT04WP-j_ypkd3bLajjEI2QfYaQUN-xCui6Ilt8YHvaabt_pIPQw_4jq8N0oecZzbf3objjCUdkH2gnT8NPaB6wF4msqKJWQcd5jpQ"; e_fb_vipport="AcJ5e2bVDXEBv9LceU83XN6jgavwLZQK815xO-LYAxV7VLjz7Ut1qRkG_8M5"; e_upip="AcJ6g3VWliY5V_f7vdGLjlAjcrxvO2IWc_KZCyNsKDRUnC-B01EMhAKyiGcraF116uD-XbDdJDABXVy38hUEl9O_8G8xBaDR_4Y"; e_fb_hostheader="AcLY3C4S3_fV2EUIEeADgcvnZEufSBZkaI7K89OrRTsNvjTsceaJ7FdD9BTCd7o8j7axH_kfOHWUHjV9"; e_fb_vipaddr="AcLWueMB35De-8WqLbwFVQEU0jBiY5WkyS4PfA-bf8-49jSZQ6b2VIv0QGzJ3s3-iWIslnlFqnaDfv9e2O2KMvT8-QuUcpXugg"; e_fb_requesthandler="AcKj-ez-LwZ0QOIZ4psvEI5Ai_ivYq5pv08ulF1_enHcijw6CZtIJ_cRL2DfUTy7dZH0WyBJURY"; e_fb_builduser="AcIqP4svn_o39QdbqJKOK2A-6srEGMgmOC659TPzKwrcbNahkeTOJRwO2rE4meo_nUo"; e_fb_binaryversion="AcLtJ9zUFYXVo1G3WyRYDYKNCLjYaSiLYrKd1CZu1UBpZjkhCRC6nkakskHm9YGL5uUnGNV8TiUYoFpoCRqZNWEmsv3OVht_WdY"; e_proxy="AcKOwaiqLQ8PQ7RSkKLsoWH2EAQgaYhOHuhvQj5JtxuCABEJQ5QXcFoylXoYw6TxTBQzXVUZRrsy8NiE5CCB", http_request_error; e_clientaddr="AcJwxPoGoFHLM62TjVsvN8s0uGbe41GgjjmwYlc3xPJnQMLwSqOyJxNGaQ-bZUulozA_3E-ek0myfwdz0A"; e_fb_vipport="AcKaQ0DfXsGAaIxbhRrzcu957BfUoEtkH4F3q9rQOdxrHXmzuFSs6w6jH5ca"; e_upip="AcLYpiV94RpUvxeWXQ4kMDJlWuPLHJ0tD2Y4ylWvrkveKa9y7c-bJzWLMcYmOnM6hzJ5AC6FbcWQfFZP2FpdhAFHfD_jt1lvxA"; e_fb_hostheader="AcK6OiKqH55VStO1od7IppIDVx08KuN_Jfs98ZUSmzTqEr3c8cBWu3zF89x472r66MWGH3rDVpjkFDNG"; e_fb_vipaddr="AcKna4vatStg21gCUmmGszqxbScKQVVVyHQNkVGnkvHOb1rLHFuZHg9V2rGCvkGvrrjbuLs"; e_fb_requesthandler="AcJq4U3XrFA7TqUjQv2wfKr7EPMAydsD7vbTlTH-d2pdbgH7vByAkQ25QIaQcidS4NKInFK6Zn0"; e_fb_builduser="AcIFdp2_skiUAN__7DwaYLaEczcaeYspD2vHY48L5S5DaIgaRUyoTfdpKqY2TQs5DD0"; e_fb_binaryversion="AcLqVcQ2gqefUfB4r5AU1O0WeJtuVzSO0eMpWuqFusWGpom17XuHzpG1jF9kBs6hSMv6WGV2j8QuUo7_GcwCvdDdMB8k_4oK5Dk"; e_proxy="AcLVA9uA36byj2_PsDPJP-po3J-lgxVRjYasfVEHiLm2-ROi8ebPKKxXRXg3VK5iAf5vb_6Sfy6tY_o"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 13:03:09: Error on send one message facebookId => 7038437922859016 02/19/2024 13:03:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AoTXCxTywvK5CQq9frCieSs" } } 02/19/2024 13:03:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 13:03:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 13:03:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5181917, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZTzHP_NY9gnBzC05eAHPxl', 'x-fb-trace-id': 'CsfGEvmaFYe', 'x-fb-rev': '1011507267', 'x-fb-debug': '76HH1U7cv+3bdNGoySIhJ5eCORiuKg/YMUQAfLYK/oBrxjDwtESyTJWIfvSNYZ7VXLHb6s+aqLG22ns70gm8LA==', date: 'Mon, 19 Feb 2024 13:03:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI1C1pdfWNPGjvJYyJX7z3sTBWKCcnFpufiiqWOPXambO18kNyYJaWktWbV70yec5e1SS7AvoROYi97hxckOZX3DTzuOiJC8zlkNSOCGi-NcXExEg"; e_fb_vipport="AcLKw5R0xAXBr22LmN4rleMWxOgpL0vTGfKW4AKszFBx5wiBjhCF4Uxtv4Dc"; e_upip="AcJZ8HglGQM0L-hvaf4wRW6mQdm3ODB30zpTUGh6CzorMJYzg6K6j3gvz_5dK55YIsGiyuVuaDutinvvYwDxu_Ze7QpabveVAdE"; e_fb_hostheader="AcIxSEHISZDhavnHo6PENEioE7o8ktuMcbDGKwiUZ7mxoUN51sxC-LK0rkbM8NGwjNumwVM6Yzeqb6Cf"; e_fb_vipaddr="AcI_msAu5bI1EeKV1ewRg3WnQu5DCX4Lt7rR9JQgfGGMLEXcSjPj_ekjFVoAdarPD9zla9qFonEdzKPK592eH5k79KHuGhA3_g"; e_fb_requesthandler="AcKci-S5-LLuuYtw3fsMxoZ1rmqht_o4LpU8x24c1j1utbW9XuNm1jvLyNOx_WLYds0wmuYjRA8"; e_fb_builduser="AcJbwdspProOepKtRXW5wmC3QocbZ9Jio3TSOFTalDk3XZPawUBNG9Nk3pXiRJFTI3s"; e_fb_binaryversion="AcKYXBbpzu9mxydd0Qo50n4HD5qZwN4lv-RtcASJs6n_u15uAxaL-M-0qpGSVOmFTHNIQ5-vFi4zKczN7aMRUvA733AsnhOkafc"; e_proxy="AcImM6xyamrENLav2JCLvYax2Ah_PydYNPqECwQHMK5nZNIU0arZP5_gHJd3IzGa4OPQM2OhzfFiWrO5fK_-", http_request_error; e_clientaddr="AcIUUDeA2MKw5YogZq8y9m7qWpk9FEpGMUYycVqOI0O60WqjKJ2UbTcEHks2pO0Kx3ggl0U-bXRbzh5UTQ"; e_fb_vipport="AcKVDCUWZ5ZDNgbZq5aBf2QN7ZV7tihZQSAsoXlknFOyxTszfzBGZeegCPeW"; e_upip="AcKqwDRERbiI3GpefwQIhekX4Lzq3hr8VUpSKL20qQxsg4AO1wx4-ZUwFlBYgvwf_9z28_Z03iJPizS852gFFtkaV-X3BmSe-A"; e_fb_hostheader="AcJlpVArSKjoZj7vJaz4is44EHQJdW3KjufFhVUcwuQwptsC8JHNM85OmMq2d1Xz3N3F4HPFvtMP7Avc"; e_fb_vipaddr="AcIFOIM8gE631YqFH2dQUx2p5qQ3TNRMW2tLwgOwkGWX8buiMXYgwIQ63An9i5t4K9aLe40"; e_fb_requesthandler="AcKUgNzCl0A9gEjzj14BV0iFzUEDMePAP4EuypGozBVbYryShs4-PJuET1DQJ-R-ofAKmLBRciY"; e_fb_builduser="AcL7lKyBEJbNUUkb8h0uQfFwXDddJM932f-W_XbkG3NuPfYKHQ-k6-deTanHriNqHHc"; e_fb_binaryversion="AcJMH46KUGLurIjagueyyFY7LxwHJYqPDs5Hir2YmueY7CQ758k9t8dUDlqoExqftgplkdGjzWv02y3MYBw2UsKLO-2c--K9yJY"; e_proxy="AcKKPEtFhVbCkdUQviRIl5D6bf5H9L02fnoW6akvjGW3xWe5_cI_lAiwimf_vKpfQ3li_Kd80VMSlSo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 13:03:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 13:03:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5182145, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHgQ-c2TbVJU9qQl3z_rU1j', 'x-fb-trace-id': 'Avgqa8ovUVO', 'x-fb-rev': '1011507267', 'x-fb-debug': 'iPW80GjNMqJ0mrziaSXgK6iuDoYn+DQL0AZt591BE9B+g97X/1kqoO0X6m+HYT8/hEdZRMIXgjHawsjqC76s5g==', date: 'Mon, 19 Feb 2024 13:03:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKQHT5O4Cv1LlpNcf3eSnbXpLgm6ynLKJbxNiDU7UTV4i9tzuEvBOzZcPEiosVIF_KQF0FP5BKgBOq4PAULNMh5bzb1X9uiGk-MPvW-beM-s1lP"; e_fb_vipport="AcK8VhxU-xiPamO9zZUnL_XqlTTjLgLHsUGbqL_fo6rdp_1lwU3fb3fY8wpf"; e_upip="AcLWQm6pnRarw_U1URfadFM1KLtzWuAJWcSfDRteFQo6U3hXo2nMuVt8KRXbQIX0gwZc-Z97Grm2jR4qVMObeluMms03RgV3YA"; e_fb_hostheader="AcL3aLjvEojf9cxajdlI_3ofYxdsfKfueLGDskJk5TQimrZhIV1TBV3T6w_AeXddW7sRwR1S8OyptZUA"; e_fb_vipaddr="AcL08zReQyLm8HSWuF_Bus7dAWxw9VBRnm4XQa2DW2pWFcUbkCwULxqZzpMYmCtBiJ133t5eD_a8dVpNLUfbBT0v2fkb1Q8gYw"; e_fb_requesthandler="AcJmZMsDKhu1sdV4fTnJ5R-u5mMjqjcoXQ1WakGGiwQyZDM2LV25KZZFcrK1ogZIJ5lkQPd5RiI"; e_fb_builduser="AcJqjQOcObTrKc-YpWa7Rxo7tyvcBA49G3P2_JEPH0LGcJrBfB-e-vMtfHDUN1hahZ0"; e_fb_binaryversion="AcLlZaxwVUy21eLP5SG42OIbm0qe98xvn_rLL7Uv4ETZuunmsOmBUjfNbqEJ7N_lFS_ahJSN07bPy9Lne3Mn9ZDgECFZcKzDmIY"; e_proxy="AcLXNzSe_tjndO-w4SJCtjUtRDJtmli2iHcOvlXeFsGsxxZ1cnDWxDQVrpcGQL3mh-e27eR7fyv9XPuOjoPG", http_request_error; e_clientaddr="AcImKxP0XdlqA8wTDizBEEh4MnOl2cKP33yUvi5PP7TubQV9DEnA6ckgsRn9lcpwFUttpwpUfaPCgxMo6g"; e_fb_vipport="AcIQx5A1PBVNk-UqkG4E-OO2hpGQnNLdpvYTkfwXveh9N1Jf8gwTzfWDFsnK"; e_upip="AcI-HkNd0inBCRh2PYEcap9XNMvR35OCphHuSj6AXFMKAw3g4ilvfg-Bq9uDMaWibRs11HAmu76UNJ_ycP2SOce9GXOu7NFheA"; e_fb_hostheader="AcK04K5yhKZcvR3NAfZFTRzqtAsrWpi6HiYRtqdqNqRe_DHowS2V7ocn6LgmJV4e7XPnSVsa5_ofMvS9"; e_fb_vipaddr="AcIzD9F5gAMf_tY5mHQp_kget78TlRtfEcKpETqJa_wXY8opcyFX8PJpLU8JZAtO57f-uJA"; e_fb_requesthandler="AcLRKw8C4dk_xxjILf5clZbdiDV_PkF180JKhYE-nVN4TwVlri8rhIA19_8XflaHEI1xscHf-xA"; e_fb_builduser="AcK4qaWglCvPcoQiMcOWFdzfU62150Lqh9n_HZxeGVnE1hf1aMhuxMdscTirHKMglt0"; e_fb_binaryversion="AcI5u_7jwehrfDQf9VbADNXp21bArrWpJPSbLI6djxszp2IEBUef0G-dKt94z5v0k9G6ewFgxifczh6Jbu84AeJuVTAH1lgMYg4"; e_proxy="AcLTeMsRZlOxhrDglYzlxiTzNLVP6hl3Vw-VtQNK-PrCmqWVJVYhLEfKJWWb9vy7wUkW_rLc7gTb_cU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 13:03:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 13:03:27: Error on send one message facebookId => 7038437922859016 02/19/2024 13:03:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASArsMFdJYcJOYEqhBsIrHR" } } 02/19/2024 13:03:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 13:03:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5182291, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFlOHfeZpXyfQn8HXDuTA5C', 'x-fb-trace-id': 'Cra2LoPtdHK', 'x-fb-rev': '1011507267', 'x-fb-debug': 'gcC3Kr+nFV7lCJim1gMl6n2sSp5dDiP0tIC9+dYD2mgLkNJ9+kMt1pPtUufd/YL2cZtKgIv+vTqOVzcmdicsXg==', date: 'Mon, 19 Feb 2024 13:03:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcISEvkki0CpfHY8tuLjPPcaP03OS1yyP1Uj3R000kuf1Igx4vEo8iz7EClA-aKANReSBT-Q4I2pCk_Nv77Gejc4eOJlC8BNCTr1SfjU0IvVOZx2GQ"; e_fb_vipport="AcKOIiMto4Sd7REXcLiWKPENu0B0t8Or7AfZ_KPNG2G8bixWpvX_5Vjv3HCK"; e_upip="AcIoGCyWKDEQXEuQtNwEaY7LhvQQGrulwuM-SBxhFQ2ow6NSGIMDP8ZzNZ45X6AtzId0hvdzAyYj_Jb4u7o02ubc0uXDgetNS9w"; e_fb_hostheader="AcLWLxUQ202pLo5RgqCd0JemihJonzfkZP4aD4SUrWP9Qs7zSxHgq2RPQgPlhjMxs8FDzq0kOBHk0jJt"; e_fb_vipaddr="AcKTN99MQdQ6zYOR2ew2E5CwC4b3c94CzOig3oEoVUIkSNBjwuigIFEY5Q8wJ60SNrGDRWL4yO8TNmvu5CypELoeQGIl6TDkBA"; e_fb_requesthandler="AcKzWMMYoGKSr4C9_DdDayhMxnAWwBIYYj2Ufzt-f8YV89CuT7xep_jFRKTMomedbIbLgFC2Wgs"; e_fb_builduser="AcI0qLHWXgmtN7aPsHPzT2bRQBYSFBrD292bFMVYunK8ROWMCAUeEngSGLYWV_nS164"; e_fb_binaryversion="AcJNbLoXoS1XvUy9WHCCs43wdPIu19Otj0y0yoQDlIkHKekVlowzgtfGFDEG8kPWjy8cNP4Mn1w-8O4TIGcuj5Uljh7vWpCmdKQ"; e_proxy="AcIew8W9fYa355HENiE8_RWMU4MUm7MtaiCFNI-SMzquZWSES0UHEo5gI681tI-tHidOrlq9Bl45cwJOnCFi", http_request_error; e_clientaddr="AcIbGiIXShQ2mTv_hAraaKwH27tJU7ffg0Fo6l8MOG282UChnoBgkvI9jH-QpSrLKUpSAl59Ao5oqe0VqQ"; e_fb_vipport="AcKDMVCpei2gRDwlrRzoKMGNM9QZOp4nNLsWwZtIMOZ9dEI91SsO8rz6qsgQ"; e_upip="AcL2-kdUJgx6G5Tw9ulOpZed8AECYaj5YZwRQv34ri2-38fYV_QqsmC_pWfcViSXv_BEcnJa7TvMyEnXzYpmpNU7cfhrYEpWsA"; e_fb_hostheader="AcILAEUFN_pBw3R0eo3PdPi7W5wpz6hWgCjUBdi0RwJqzt3IVDOSCuQaF_S7TON73Z_qwgrHz-ZNgKKW"; e_fb_vipaddr="AcIOg_AToz9NWOKmjDAZmg27_x1iSh_1_x6_8NK_YKoU23C69eFjclX71Fsuax9GZ10a-3k"; e_fb_requesthandler="AcL_fPfy_YFnXZ7E-juy3mI3AeFQWVR68NuiIJ6Gs1xMKCvMXp9w9ybIcKV7GXTst9lQ0uJFcho"; e_fb_builduser="AcLt3sYHLdafcP4C6Lh76uxBmpKs523CnymBtWr8dgrvezYGFbI9XUD2y0OxbH3dtMA"; e_fb_binaryversion="AcK_G7OHvlrfoKsDkQTa08Mu5xWB16maufojRaASzsXYq3s-rdnHasIh-DdKa_s7wW7B_Lfx_TlqvmOzAz6yxgwozc6m8gVmRX0"; e_proxy="AcJE91VaRFH1p-ClVlGA8PXNGjDV5cutiIkgb07CaowBvqO9Eff9YrwWQaiiAIPPVH-MNS7nS756pOs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 15:44:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 15:44:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 15:44:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5209561, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8d3aJLXPTw7e_hhqrXj-nN', 'x-fb-trace-id': 'HrBZ4Bepv/m', 'x-fb-rev': '1011508497', 'x-fb-debug': '8ZhxFjIAAW+rZBLy0dOQL9kzJFCfKkiHcNBb8/kTZQD6sMkOGLjMv0mOYeEOObNFHN+WC2YWQ4baoUmvzJq1pw==', date: 'Mon, 19 Feb 2024 15:44:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKALXg3L4YFY84D2ZAVXVHIl7GODK4VYwWHy_c0TrZW8ru7nSa60jX0MR9WQvFYwW0zWhQTyEQ3f5KmnTkkE2CgJi_sz9YVIZpKTN2Jl9gdFBxP"; e_fb_vipport="AcJFg6g1As0VeGLMupOFQjZ0raqcFQYeY1pHn9bZlY7P9g3ekbPcmgW8NHnW"; e_upip="AcKx_ieT6htXg9KFuBEW9iBj4mb7RoFhEFz3gXz1eInUqszf_LG5UHM-le_p1TUvw4oo3Kozj8WBIhDsnWqWVxghBVzBoihYFUQ"; e_fb_hostheader="AcKDDcnIt5AGMBuWHPNgkXz0P6CCD1zzc1gwlzlgmT-_C0q1hcrS7h4PDqFMdBiyWAoanjFB7JTai6mX"; e_fb_vipaddr="AcKHspQzWxKWOiv1Ab6EikxuZBiFIyeM4txC0D2saC01yjRWN6Pp9OJ9iGstNkzL5P7P9myHuMDQ_jkjZ0r2riowVusD3jPzGA"; e_fb_requesthandler="AcLxq3B6hUFuJypzEkPb89FZg4k5WgQE_5H6eDNjCr1cvIjCktv3xlUbx6kLy6diVhQ_pFRatjU"; e_fb_builduser="AcIKMzEjUNBWIaoVcjiHTcQ2AqmLWrZqQZKwte0wF7Z0J6wAYIcY5oqNEuJ7gZyzhms"; e_fb_binaryversion="AcLK-BvL8946khB-FApN4mG7Y6zEKYaf5TefSxBX7umjAs9JYdFqnMIiLb_2_kMNoGsbSYQfU-wW9kAsWh2kfC5CbhftTAClrJU"; e_proxy="AcLiUav3LkTVTitFAa91DSn-_NVVDh6zQyjax6s2Q0LBLv4BpxzoQ2Mqeu9V-h0O0d_rfogrQQ5SFUHPGfCd", http_request_error; e_clientaddr="AcLjNXs4kYqpgP2wpOeb8X_rEd50WzGqm1WysKC6LPFU9pVXxPVQ93jtIFJ-vCYWrp0kWhlVEktoQuiLiA"; e_fb_vipport="AcIGo5fpiKPDDE4wGsv27GbLxwc7ObCXAzXoY4XjnBDxOd0ZdnJtvlRjruHM"; e_upip="AcLoAboZZW5M4198uw3TAr2bGU--CHWJEFY2xvUg8ZyD7_qj4Nvq4oQbw89FyQ49RiLD7dM3fUOSuTdLwMGwTytiiAqKASsyig"; e_fb_hostheader="AcLxpv_0bqusvOjq34xBiIcsp2KVEyiC2zpRDDzINU0EwZq3cYdLZqMzV7dJSAr7vWhdzmEq7UrKfAG_"; e_fb_vipaddr="AcLyJnYKFiGdyNiNqkap1ei4YVfoCzWxaMymdGc9lugB5urRWR0Dp_fp2QGBzyjf0ZW6QVg"; e_fb_requesthandler="AcI88Fqrug1E-OySsYCrbZvWFNdkB2Xw9mPVNi2LzM5YJJcbwgLQb-UtQZKeeQalPv7V6E8yeVU"; e_fb_builduser="AcKQezxWxhfUWzl4PXTesVoH2vHoN_lxp1N-J_8Sx8YZfak8SUQly_Guyyx8AbYzyQM"; e_fb_binaryversion="AcKg2zgVw_uqfu1V5mr2w7EXbrknT31__hOvibb2f5PaMuAK4GUoN0UcB_MwZz-2Ki_MLsarzgk7AGj_hPO-OYxFf_ydVKC6Mmw"; e_proxy="AcKnRkDY5d4-ge73cZH6UlHoi4mU-DKKFEg0U1SHagFxPXnzgG5MnRiLyOjmGrf1jRqFBbaF3cDLu9s"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 15:44:12: Error on send one message facebookId => 7038437922859016 02/19/2024 15:44:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Au5e5JLbiaXVQ9ca9a-TqDU" } } 02/19/2024 15:44:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 15:44:15: Error on send one message facebookId => 7038437922859016 02/19/2024 15:44:15: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2GWgMzrkP6McJvV5vYvZj7" } } 02/19/2024 15:44:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 15:44:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5209732, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Az1562kgctV7BQoJjp6A1J_', 'x-fb-trace-id': 'Hp73Gn91laY', 'x-fb-rev': '1011508497', 'x-fb-debug': '4Og40g7fLvn71PNoQ5RPC2lvJz5FhJNlVzhMUgL2M4B0NeUJ6SuPNgFdhlOT3RQlIfunQQEfhz9eCa7JoNE1rg==', date: 'Mon, 19 Feb 2024 15:44:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ0o3yeWc3JJM45tdRs6Sl9n84AW0UgAu_DsJeqAVhk92IvG1sri3cL-wQu3mEGZxKXmAcriDAfOJxaevyLyse1WzoAseilqK5K5QonzZzcuCRDow"; e_fb_vipport="AcLsWf71L9XQu1Hz4FIIXjtRlfgRo0r1wWlAdvjQhDHxoNP0EYjJRd-mhPMF"; e_upip="AcLuAH79TCkN5AYMpiuyhQy7Q71jNknWu2ui9LCzMEwqswaBaNJUhNGx1RhF2leM2zU2qQlkjSIxRCJkHjjfSOPptdCIMndRdFo"; e_fb_hostheader="AcKcLCzkErldXLPUqfRwMCmx_72l2ff4D4Xc1TNy9Y25Rqp4BwgewBhfPiRymUa_RvXk1LLWpiXQKhd7"; e_fb_vipaddr="AcJ9rr6Qze8gzkj-25lfF62Te8AoM4VKVgJpDgWacz2eZAPkvcjN54NrahJAylNxyDvnDRFLMIxQKRvpnwKIJLvFP4JmIb8_bQ"; e_fb_requesthandler="AcLRioeZvZQAU9xzLv7BoT5xWfBlONnHelvFl-4IsYxNSD49TBXmWL8socroX4iRinxDM_JAqIo"; e_fb_builduser="AcIGYWQDYNphvEeeAg8REXYlPhVpNqj4iL-lvlfROac42uVHIWiybaXjCvfUoyabuBQ"; e_fb_binaryversion="AcI-apAzskD6-2yetnPlf6b_fDuS3P4PSjiyegZVtVgPXLYdH5TvA4QATd3oI7JE_Vra64Z9_-qdEpMvwFmzS8e9oiHUBXNAY5A"; e_proxy="AcKmyWt6AUva7RBl8_nkWC3A5OBS7Sog1WwXHWVseyALThphke8G_Mm0uDOAqq7A5ZP-e4iomB-jw9gG31JC", http_request_error; e_clientaddr="AcLyQpQGVFhD66bQ9FvNzJ3jWqnglE9QipD_3HZmxAo2v1xBPf0XT1R19P7FbIk1d84axq087W8sST26Og"; e_fb_vipport="AcJL3Sgt24B-qqMwEL63inBQJl2lMnSMuExN9CyPit53iqa-t0gX8oOreGy6"; e_upip="AcICkX8fnn2QigWlJWLDEQ-JWhEMP9xoD4KTgwLZmS9R4wjvbHs-Mz3Nd9SOJ6-4iLzQrHF-c2JtHbMaXXhpEcyW-tIeF03Wyg"; e_fb_hostheader="AcIj9T2mwJEE3SeNwP4uPMBZUEW8MAQucacaqcvyvKuIlJAWbkOFljqvIHjpIt-s5HH8T8aj7O6mvZNi"; e_fb_vipaddr="AcKvtCJANuJqVeHrOzQTxWFgHCFRWgm5XXJqDVJyUxdDaISdSzdftKbfREN9-1KdTr9p9Wc"; e_fb_requesthandler="AcLjfVEQ9TjTbCOnu8oq3nj0q3mkaEkFYWJKKEXVSuo2a0BZMs6nuFtOgwA2v8J-bCqnXuQfE5o"; e_fb_builduser="AcLN_G1HhjWiye5A5MCj9Ra32X9MG1KGMREaeRIRkJKHKO6lI7DGjv3L5wuo5hH-gP8"; e_fb_binaryversion="AcJ9oPPyGqJDeKEuv0eW2ElbYLuqsfnTBfAP1cHsusCNNn7PWoY4F5ep9xQvWgTwZZf8Ed_VdHnEgrHx1SoZUzs-QDI8qrbAfiE"; e_proxy="AcIOLPtqC4qYaaWV1u4U7lH3xBatjKWuytbHSJaF2kiDsycbeH59z37Eelkg5MGLV3KN7rlSKfuP1TI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7038437922859016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 17:38:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 17:39:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 17:39:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 17:39:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 18:49:04: Error on send one message facebookId => 7811645018850956 02/19/2024 18:49:04: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A3nU1ccpPIhyIcntkDoNIOW" } } 02/19/2024 18:49:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 18:49:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 18:49:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 20:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:31:15: Error on send one message facebookId => 9640852059320642 02/19/2024 20:31:15: Response error send one message => { "error": { "message": "(#100) Ocorreu um erro ao carregar o anexo.", "type": "OAuthException", "code": 100, "error_subcode": 2018047, "fbtrace_id": "A37XEKF_eD86zmFWkQWyEmB" } } 02/19/2024 20:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:33:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:33:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:35:59: Error on Persistence - treatment | error => { status: 404, message: 'Persistence not found!' } 02/19/2024 20:36:56: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 64a88bc3c568ee48daf8adbe 02/19/2024 20:37:53: Error on send one message facebookId => 9640852059320642 02/19/2024 20:37:53: Response error send one message => { "error": { "message": "(#100) Ocorreu um erro ao carregar o anexo.", "type": "OAuthException", "code": 100, "error_subcode": 2018047, "fbtrace_id": "ATW1bgI89zKGHGc1kj8LH6I" } } 02/19/2024 20:40:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:41:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:43:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 20:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/19/2024 21:10:40: Request bot not found: { id: '138868933458303' } 02/19/2024 21:11:24: Request bot not found: { id: '138868933458303' } 02/19/2024 21:12:57: Request bot not found: { id: '138868933458303' } 02/19/2024 21:13:07: Request bot not found: { id: '138868933458303' } 02/19/2024 21:13:18: Request bot not found: { id: '138868933458303' } 02/19/2024 21:13:48: Request bot not found: { id: '138868933458303' } 02/19/2024 21:15:22: Request bot not found: { id: '138868933458303' } 02/19/2024 21:15:31: Request bot not found: { id: '138868933458303' } 02/19/2024 21:17:51: Request bot not found: { id: '138868933458303' } 02/19/2024 21:31:13: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/4898614026862081?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5283669, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /4898614026862081?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/4898614026862081?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/4898614026862081?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/4898614026862081?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANPSh2vTZOnbztiMu8VFewW', 'x-fb-trace-id': 'Cj5u3qMW1lx', 'x-fb-rev': '1011512999', 'x-fb-debug': 'h1iWFS0wqUqVjDdxaaY5ii1RsAzqLrrhi9bqkkTqrvB2821lMGdQBX6SOs5ccaWWW2s8dczNAxwkJnaFyqMaPA==', date: 'Mon, 19 Feb 2024 21:31:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJuK8ra4uqa8CpoyTreMFjXz0U-vAqSTosb5hZM1sPzcfHjWiKxgwJhIlkcdlv5Nrze_Rmn1AYQtBYprXIDs9Qv0Z212JhBOc0xoYLkvtgb7gX87w"; e_fb_vipport="AcLhlPWYyfXJ54bMNZJ9siolfVdavF7JSWuLWz9ydgBX8tXxkB7fACB7Iax1"; e_upip="AcIf8q1MhrtPADf-Ly-QCgC5NhAuQs1qWYT9Q9bCtxQ_AUPPVO2QyBDyp5d4j_AmfASEyBs5g3cP2yucqgxRUPFgcVwFqhAoA00"; e_fb_hostheader="AcIFYlTIrRhX8-oOhTi_uQzbjgI7Wq5NV7csa_snzoTNRnmrD4DQQs0dLxgBOyfIRFJ16u9Ms3zVZ8zu"; e_fb_vipaddr="AcIl2OVmHtyM8WpSh7EZrJC6d5StJ3deXDPa0OA7YDVhAhU3QOHPAw84DApZfoIf7-bLBLIY71pDaqoHGaaEFLfwrNx7Y2d3DA"; e_fb_requesthandler="AcIrhKfSYqP2Mz_csVXNbx4Kz16fxC4oBEfafwf3RJqK6SBDcM3ROUhW51SP9lEjbvRi6b8BfzU"; e_fb_builduser="AcISXcdF4zZGuKME57QhPhlyyVBiL74lwVm8EX5MGBMNo0OVMLjAGekNj-UVmxDIV68"; e_fb_binaryversion="AcITL7OxSrlOOlfzR7dCibxbjQooyV95r6iLYeG3vAaxzAJvH1SWH6gYX0AhQV3EpzS4eyRZfKBCaFkix1UznSkPvvuVykHPuRU"; e_proxy="AcLJwEsk3YfNHL0gyTgByiA9q6X1bioxleZFbRVE3jW6Su_9u00lG0WXbVjM8yUJBD4z_gWifSnBaHqnWpnv", http_request_error; e_clientaddr="AcK-OuP2S6FcKCkLEK89eDDgboXcrSK5bc_1LHUY5M3ubFW_d1G3sg_VaRZbU5h9XP_WMnLr8haFsh4SJQ"; e_fb_vipport="AcKBKy9Pkx7YSiOzY8HNGgbMvJT4iV76MQl75YaYNvnBg4ksTeeYPpNGzoRn"; e_upip="AcKxlJKo6mwjjhHLHQeo0KrkGLkmOG-9qnAZktQQ7kmSSfGXc5vyNftp_RBf2BPBNNZCoeVcb-chPmLqFurk9bGc4JhuIuJvlQ"; e_fb_hostheader="AcKRjVZ3xIqTV8Sv8uZPQpm6waZjt9g-R-hjFvCAyVsgN-tCf2hdB1scDd_xos4JtpgEufFnyvZhEHrk"; e_fb_vipaddr="AcK7sIEZ3SDXZt1T2ESSni_NFV9_geMzA-almkVMG_OknjvBxLcUX0G1ZymN9A9hZkC6JtY"; e_fb_requesthandler="AcIR6XaalOmUd_BBizMMBuyF0j0OXYj7vFTeBJlKX_zzlvbZMUhLivBa3s_H6ioFGwBcECu23vQ"; e_fb_builduser="AcLxgDQxmIO6r4uSCKdzHlW6-i0rtQULmPNP7JmhIvRxx8sSdfKD5SDtM7olUlbDn-g"; e_fb_binaryversion="AcJKy7p6iNyEBtOYKdhkdM45yGAelI2PhZWQhR0GVNerrTqVFXnkkBOtnWJ5YgZeS8D9oYYRAVRLYCCq_Cvk5FJqsO2aQaI7W6s"; e_proxy="AcJAYkR_M7PNp1ldYevjsaXFz_StZ1Yn_VdZ2RgHduurABFu-JARzJaLqC4YTA1nBQL3pG5VGUcOgO8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/4898614026862081?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /4898614026862081?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/4898614026862081?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 21:31:13: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/19/2024 21:31:13: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/19/2024 21:31:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5283787, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhnrxwMqtx5yZywRBAPERp2', 'x-fb-trace-id': 'E/b7AqIvaY7', 'x-fb-rev': '1011512999', 'x-fb-debug': '6mYEwliUCREmhJZw8QIodyFkBfFwJ2ygnvTzaZ7MDWhy8MsgQ/3eWRthljaNiXx7oJCk0r4L23UJfu/4oRaQfQ==', date: 'Mon, 19 Feb 2024 21:31:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKZwBuO5EZeXwFsy3-kpmTnAjeTagUQxfO_ugpe3g_fHqFdqS4p5Tfczu70QVBt4uCRju2QCrEiFDwjcRVBTtZjpKKR1BVEkdaCmhfi0II2bOGG"; e_fb_vipport="AcKSt22HMaTtHCV3YBmG_iZWZdGx7TAIh4rGVjWT5zuQRtmJYMq2dLzvbuz7"; e_upip="AcLLN7hyWSCfKKhaXUUNrVoKIilCYaeU5pWqm-EmNN2Id90SAbaJcSS4SKlY-hfcSXcIZh6aTK6UtayQTwdhAm3rfp2FkO-V804"; e_fb_hostheader="AcIobM1uaLSb0qsTX65U7Tuz9KQzUYMtTWwT6vPUyfRodgPyRkgfBKa32KsnfMW1yJPC6UT3XiqW2-fS"; e_fb_vipaddr="AcKzvnzogAqjl2njvsOgbh6Zz-I3glpFUtUrnpfZdPpuyoRZdGbJSFMN1CeLHatoD8k8q-4ozlvBhSDho_501o3igyZEQpSBbA"; e_fb_requesthandler="AcIvDS0onVfQnXrOeKjzATn6iXuyY5gToWXF0A99jmsv6GSYLaBEFr9WR-Q6YJ-NVzRYocA0fk0"; e_fb_builduser="AcKS8yerkvor60EgpfYix3PiIIM28yu2J9ka-NWzCEAs7PJtNDFV2-r-oQPwbFv3aUE"; e_fb_binaryversion="AcKdsLrjd50pH4PB56SybrrFPt4N71mM2I9j9nkfFIEoTfZF8sXq0aE06R99TADxtjpzbf4hUuIYiYY0UFxW7t23AgtkruRIuWk"; e_proxy="AcL4bFISEWeVr2ecaFRbXxd_zpbTl6ZtT19LYpmwLd5k2dSHeexjrivjDeH7E31d0TxIWKvmsTZ52duBM2-9", http_request_error; e_clientaddr="AcIoiPSIgNZ1L_lsJoQmYhootKoInaaB40dfb4Lt1m5T09QEantB4xDBRKhU4P310nNnouTbiuUnzK2c-g"; e_fb_vipport="AcIsSGJ-fxDvK-ArbpdMLYA56Gc844ikU0r4MBTYVB7YSl8xPwjIxUz39s6l"; e_upip="AcLKNBrgqSienMrz5D6-7F_r_4GULP90CbnZnpd3yL2CeppGDazLe6KzG94nVuKEK2x_I6H_TJd5SI-SIDSWa0c1Zel6jJMZqA"; e_fb_hostheader="AcIEwu50A0R-IxUat9fj039BjSFacxJWmDoRC5I9R7MwwWUUZO6zXeagFUVq2CmjJ9p6Q3fYHwsahBxc"; e_fb_vipaddr="AcLDU9gCDY9Ir7dCagGZ9nDpQegUprIIrLGAffT_0n_uEIKOgGw-7CsoBYzULyKW3TgxHC4"; e_fb_requesthandler="AcKPBcaQKT9Ylm4EvRrRoqDYSatw9IYsNVAFnoh7wLSJOhy62O6a0Su7ZYV5p_3B6IHQQoCgmJg"; e_fb_builduser="AcJdUtIR6FjH5vMAQJdcZL5nhC9foRnCJrnPG9m1fd6A_q55gX-h_YrH_pXS6mWiHwY"; e_fb_binaryversion="AcLLg1PuZyl2DmH5SkVuatBGnHDs0-W827aIyunHPSKTeBkhpxz7gQWRgmHpLwrPAUs2OmoPU3KNnEXQ-wdC6wwmzBcW11uxEeU"; e_proxy="AcKw6vcaSbTt6t55B1hv4pPoUPq1XzbhhLL5wuCC4nLhbZ3lvUI3WhPLKf-tZAw4zWW8ZL-kxTMFTAk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 21:31:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 21:31:16: Error on send one message facebookId => 4898614026862081 02/19/2024 21:31:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AceEMhBTIOLIMgdsI0bv0e6" } } 02/19/2024 21:31:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 21:31:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5283867, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtNuuOeC-jnL0pmE7RgpFxp', 'x-fb-trace-id': 'B8tyRsU4HSe', 'x-fb-rev': '1011512999', 'x-fb-debug': 'ZYJ4hz0bC/NJeq8EPmjPZd15nYlTH6BeVWbZfpLTW/ftLeYnDFaogQSTn3PrIAjHhNZ7ObQlItrW5bf4z+vFvw==', date: 'Mon, 19 Feb 2024 21:31:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLNrCyrXs4p5dPj5d7qdBwabUBOcSzwZgW4cB-Ayb3LTl_Q7s5uVst9_5ETm1SI1a8KvUB2buF3seYqDzxGR9A5j4LX8gNuEdhTAk7ZAn2i8p6uJQ"; e_fb_vipport="AcLWeE8iUySMOqzioNN5kabhzVWV36_qfm8hCeK6RzQGkO6N861she5TpHti"; e_upip="AcJOHB7uP58E97PbuJ976aydOL7tU2S_e9q8xYPy826BO9Gx8xfdWt7mUHLpuqN0XAHQZ_2ExU0xgo7CuXrnej0_ZZ_Qf8wjkQ"; e_fb_hostheader="AcLXd80T4Jd3id4h2GvxkJYP_gHNHNNYevN38sQ852xEOW6xNevUYXKZONY0awDFIhcQE1Bz1C9zOVh2"; e_fb_vipaddr="AcKkufgqH1xfaleTMq1RzjkhDSCYUvyhL7GSc4LSiF7rDoqHeemXpKDQ0VCr5UNMj2inkDtL35OGeCpfwY9zG6O1zhM9c6030w"; e_fb_requesthandler="AcJrXggg8dtG9iFe0Q56B4Wr_Pw7xoOno4tCZLLgmwYp8g33irW8-8pgTxjEv0hK2L16MVp8HZY"; e_fb_builduser="AcLNwU1m7Z6FQVwCLoacr-l4kT6TxhbmkT6iNHg2w29VfjuWw4DzZenyWply-YnYky4"; e_fb_binaryversion="AcJhAOv9w7dm_pH0EuzxTbJCWtM-gERSopQSJzhSzvtjcXIWRHToC1x2TmZCKmvguu4lLgu0q2OcjxO7yJDJx30WzoU4Qie92cg"; e_proxy="AcKQjN0red_00cWUQwPGLMQquTN_UMjmrZKN9WAJMieEEdS8S0KRQmn4DJjcd8txHZEI6FPYKGD3O2cTj2e0", http_request_error; e_clientaddr="AcJUCc4Da5BhE9cEGkWAmDBscvDZJTR1d8gCFx0xCJDo20zzbXINL2b1ov-ON-zbt-XKJoirpqvyIMMOGw"; e_fb_vipport="AcJ37qGbA0hfGo1pB59ybHCyI5zEfQuasT6A3RBVCwplJVaGxAu1m0EqkhC3"; e_upip="AcL3xk9M9kK19s4KsWdgyd2EnTkM5pDntl2_zXQ8NHJlS8D6zB11_nUq4F_kOuV2XdPhncsL_60M-2v8vpcnoqv8UTgcqbIwmA"; e_fb_hostheader="AcIZXfzr7tetmtyqtTkUgpJRbsS7ZhYBZUqbUeJECP8q9lWbPuJ4iBc72rbGXmZXlEOQWg_5pFpwQeHL"; e_fb_vipaddr="AcL7xsTVgeZ3apFxYjTfBwr6a7QNIxHAmMQzPTSZ3Fz1KSA0wlXFxQ__4C0uAlR5M8RyPMQ"; e_fb_requesthandler="AcIF0Oarln2FyUE23zpkG4WmWhUcLB9fo-rWItM93rAz5Pcku4F3vVStBVxaQfinPcWZ24ge3w8"; e_fb_builduser="AcJwIKpc018sD8QD-2RyXfZG-KJt-DyugWbrP99EVqgVjOgnqAINbcUUhB6lteNnwl0"; e_fb_binaryversion="AcJQV6IBKRrLkbYQkyuVcNiNX7yV3pmyur8PyHc1QOlQD1KJMLjEpe9kDNZVVy9EFqGolEDYCie43OSMD9Wo9X3U1C_b8xGI5lc"; e_proxy="AcJ9gj0UfRFSWzkC3wAYLrnCihAFk-hBVZJj1VrUXZAT6xiBpIz4ZrncZ_G4aZYoiFx3RCDIreYe0DQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 21:31:18: Error on send one message facebookId => 4898614026862081 02/19/2024 21:31:18: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A-kbUmfofIzRiNn5OxU52lH" } } 02/19/2024 21:31:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/19/2024 21:31:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 21:31:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5284006, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4ax3092QcxRbTt7YEGzysz', 'x-fb-trace-id': 'F2Ez68qIKbn', 'x-fb-rev': '1011512999', 'x-fb-debug': 'RBZsh4ts72/ReCwhDYIo/HCVPDuHx2hBdRnq0Bbl/2510XfN4pvViGkd62tHI7dfpWLDd0DPGa4I/Jpf7U4hrQ==', date: 'Mon, 19 Feb 2024 21:31:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL4TfTWG6SZzLhgTzlKvj8P-dj5mpZNllLBBlFjMoKTsDZIDiZkaRlTfNGDh1DWfC19H2jbw7Y7kGF9xFAJhfKNbXJBrCctg5VQIoifVJDT3HopIQ"; e_fb_vipport="AcIMzu6kmxkimnCujS4mdwX7PV6m1V5gFAiH4fNUqL6d6X5lWyh3pu-goSHE"; e_upip="AcKii5k3sjvZWVdBjB0AMjQTP8QA9TlDElIZDi7YJzcw6L5HeJlstdrDpiIdimEimBDMCZTP0bugMcdKRLeNuFHYDfBr6W4HkMw"; e_fb_hostheader="AcJ099M4zsBFSNDpBNFLv-Y5DC_ev4RAxH70OFXL-rG7ykqy6w2FKiPsc2LLvdRW5qu8ggP3Wg80zznE"; e_fb_vipaddr="AcIUBCC9XJxzoJ5CH4-A8Ienrtn2kn_yoHOf7QkrEymZRKJrETTomqfxXuIgjoiPCNNKzH3T1DJjSr_LCChA4GRa-jI_t_fo2g"; e_fb_requesthandler="AcKVfKNUgxTAvcZv7xvjDyMunpVhcoAp_uf_mHUFIDT-4Ct9_AzoewdigNAOWRD6ZkWtRc4lnqE"; e_fb_builduser="AcInFXBRwfBfuJgw9DmUqQVY7L5NLUT3LzJO1urUGiadBnsTiQ7zVNG-sNhldZiyjOs"; e_fb_binaryversion="AcIf9yXzCpyUhLtD__kkJnWxovEceDVB7sh0tYMhHbM2qbIqPMOGiAUFFWJqavEvOAoTep6njm5QJ2M-NC6G3Bq2OVXADE1665s"; e_proxy="AcIkKsB3E8DiO1ckOmvEL3DN_qPD_J9weA0SitWk0-MWOJWFBJNbNejpgVSqQRmqMcbypeuPBUHsy-p53kgg", http_request_error; e_clientaddr="AcK3tzYRXlY1mv8csSIwX4Fwl5pZbx74aQFOd4O_Lfwi8xzZdg6u_hYcjTJn2-8WMAETNNJdtyPeTCvkeg"; e_fb_vipport="AcLaZ0dpDDzO8PwuiVr4tnaSGt7Rth_UMi9nAhBl9crdLH7I-_UEA6LsQ-xq"; e_upip="AcI-NXul4JA7TLACnVz1GTd-yt2X_6QoDC7z8QewcDQjZlIhGpPE1GLymZND6WR61mpKU4bnyoLzS-K5nXWH4bEXck5uF5PuEA"; e_fb_hostheader="AcLbkSIQjg8C8i2viYfWimeHKVIMT6UZUPlmqSPWzUKj9YnGO5OUEiudTddimKCKhSvaamA3W5Ey4UWK"; e_fb_vipaddr="AcIvMKc-GiTYNrj4alwDeEewRxL5e9kIG6gCVn4qOlJurTygEPmQ7-4R1cBDbGOq-98-n1Y"; e_fb_requesthandler="AcJ2jZQ48vtXlJrseEe4CiNnihXW7AT-C4EEPGK3iOyup6oVBA0OqtHqOHYOAxtK0jZJBDLC8ew"; e_fb_builduser="AcL7SyxagUVeZna9Y8Y-GsBRE0jBLrSMj54aGfGuW2xCYLWjfiqQ1nzEJk-3aSZndiw"; e_fb_binaryversion="AcI02gPqOawa3IBI_hFhtzUYA70sQxoHiZ8CIInA084exzYS14aMD4dl-ZffkjfnFDWqIYsC_X80Yq1Z1pgFy53fl6MpL5Fm3TM"; e_proxy="AcL12HFiXoi9R0JR5vOKDNhM9E_VmW2A2DjHzmtGWhpxQbcAJuq4yBGJWLwNV9hqglY8F0nsSB5eIB3x"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/19/2024 21:31:39: Error on send one message facebookId => 4898614026862081 02/19/2024 21:31:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AIRBlCfg47wnTKgnc5weJyc" } } 02/19/2024 21:31:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 21:31:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 21:31:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 21:34:16: Request bot not found: { id: '138868933458303' } 02/19/2024 21:34:31: Request bot not found: { id: '138868933458303' } 02/19/2024 21:35:03: Request bot not found: { id: '138868933458303' } 02/19/2024 21:42:45: Error on send one message facebookId => 7288744444512411 02/19/2024 21:42:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AI80ck-H9SYVG2L-UI4EqFE" } } 02/19/2024 21:42:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 21:42:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/19/2024 21:42:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/19/2024 22:11:35: Request bot not found: { id: '320637341295349' } 02/19/2024 22:25:03: Request bot not found: { id: '138868933458303' } 02/19/2024 22:25:18: Request bot not found: { id: '138868933458303' } 02/19/2024 23:11:14: Request bot not found: { id: '144313565649530' } 02/20/2024 01:15:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 01:15:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 01:15:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 01:20:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:08:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:08:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:08:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:08:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:09:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:09:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:09:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:09:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:10:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:10:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:10:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:10:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:11:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:11:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:11:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:12:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:13:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:13:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:14:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:14:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:14:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:15:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:15:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:16:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:16:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:17:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:17:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:18:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:18:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:18:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:19:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:20:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:20:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:21:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:21:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:22:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:22:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:22:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:23:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:23:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:24:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:24:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:25:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:25:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:26:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:26:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:27:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:27:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:27:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:28:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:29:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:30:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:30:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:31:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:32:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:33:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:33:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:34:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:35:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:35:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:36:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:36:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:37:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:37:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:38:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:39:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:40:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:41:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:42:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:42:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:43:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:44:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:45:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:45:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:46:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:46:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:46:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:47:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:47:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:47:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:48:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:49:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:49:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:50:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:51:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:51:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:51:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:52:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:53:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:54:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:54:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:55:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:55:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:56:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:57:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:58:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:58:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:58:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 02:59:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:00:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:02:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:02:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:03:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:04:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:04:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:05:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:06:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:07:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:08:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:08:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:09:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:10:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:11:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:11:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:12:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:12:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:13:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:14:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:14:41: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7163737313743814?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5459385, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7163737313743814?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7163737313743814?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7163737313743814?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7163737313743814?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A677-k0qtGprPnR_El3s6EO', 'x-fb-trace-id': 'EioFW3rAgii', 'x-fb-rev': '1011515699', 'x-fb-debug': 'LEwFiB77y+XLrSED6tgBlsO2Mr4n0bQDj+Kv4d7h3fmOK9PfLSpJ6pE5mIT5Gxj5pgsvjzU9SZ7EkF0qDzSIcw==', date: 'Tue, 20 Feb 2024 03:14:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLc6S5FRizhoePqmDRnUe2OsCafwwyjZNRGPuIBfJGFPP_QPYTufAwbEzIubl1y9G4bMlvoInFzvGeyYJIjmlBmODbBKs4hafEEVHkaQ_zTTeDi"; e_fb_vipport="AcKGXZXeR4icAJdCvZy-aoVtUxLHe_v_Q0eqLqF0wZLATp7klIpuOJqgtWU7"; e_upip="AcIVUD3ybva05L_PVe-jdjUQAE6Q0hLirticTjxYIfWnddQxUSJM2NrSbd3iSVs1W_TsWW4amvSlc4ewBU2mb-M_g2mYyuq7MA"; e_fb_hostheader="AcJ61FJocSupO1_oL9z7QxokTzjpv4mT_HPMbQQMy01whjbJC6sW34M0VkqTXdII5mmLMcNITQLARnCu"; e_fb_vipaddr="AcJGRRdEn3kXyvcZNZRjPXmL6M8HXANbuwKCiNwTI_QTzNO2TMrvjVJFzIy_Ems-EncLB6Sa_F4ySqNjFsf7eLPZW5iGirRNGw"; e_fb_requesthandler="AcIcEhYKbkzJBNoROboGH-QcquXG8yUGFbRILDWd-8ZehxgfD8vi9BCchohD73_nMTLdcVmlZIw"; e_fb_builduser="AcKy6S0Owc13jXjUUsM3ZWAi3L4tbYFg6nK9XrZPTDVB2f2BM6XoN9qobuGgF03M-is"; e_fb_binaryversion="AcKO7T_t9QffIas3DJRxQF9xfht2NIdzH2a5nGEdtUCR-uTyRk10IAr01u4fIFtQoVnOcJA_gzVKTCNV5bE6CIPikYyGFxXPKLA"; e_proxy="AcLJLfhSW0GtyIlyu4rwDpOfAPjHYiAKEEiUYa3Lr1XRh5dGvmKLJb5_k38hliUqniU_J9a_M-O6LYQBbbf1", http_request_error; e_clientaddr="AcL_V6s3Fd6DjwB83-r93l1gcr_-zbZMLWHyclk6M0tTSTOoQe7zMPN5lNIN-RL-qnSkQiUfIYW-qDo0qQ"; e_fb_vipport="AcJlhz1YhwrYGYboLP6QQiUsjSif4-crUSmg3ZGaEcHLb9RfsblDpACAun_t"; e_upip="AcIS5bY8cKoB2IJ9pRw7z9pImzbg8FiOcHdHHr1UC_13cDk5LNXKPEJs2ezLxzAgjDfwd6CtKG3HgKsQypYx1moTWpGX9qrx9Q"; e_fb_hostheader="AcLp8kEFXOpgyLFynPXXNzOSVQDPLVjguz2IO0OpnGV0c-oN7WNHVTecxa53gWFGWrcmdfJa2I6Ouj4x"; e_fb_vipaddr="AcImMOGO8VcYNnRs-y15e1KvX2Ud62JtIiZVDft6gekIMUdffbahLs2Bhml8OyyHrSFIpyE"; e_fb_requesthandler="AcLZTl5QXgk8097uyIovbXTPCH2ImmRk8DTH7ukbMrgaWBEe_u5SeUggzR5sIV5YIFMqEeU5l4s"; e_fb_builduser="AcI2fFfaIb5OyZIWLJt1DWmV7QB-RQ2Vu_iaAnOAIrgvkWT7C00o7nfZD2wBo6W3-wg"; e_fb_binaryversion="AcIu-_ISWZvk4uIG9m_rltmDtzR2JZ-A0FxINhkHmHaJAUSVaPth_7MBKf6QrN_deuiaDmFIzvJjDfU3Ea0Itni2e3Wh5ZvY7Ko"; e_proxy="AcLjVDm40F-5neEdfZp6AEiKu55pP-bmmQdP4DEZL1Qc6pvjgTq_nCPzliWWEcETmMkRVVfgbJjddO4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7163737313743814?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7163737313743814?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7163737313743814?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 03:14:41: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/20/2024 03:14:41: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/20/2024 03:14:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 03:14:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7163737313743814"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5459509, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AE8CQy2p3IF_pKSzgQXlJM2', 'x-fb-trace-id': 'G31Fcy0oTCx', 'x-fb-rev': '1011515699', 'x-fb-debug': 'Dibb6G+2CRT0W2PUsU8OZIRU4n4Rcsn3GCD5FAuiJ3CVn63zUmsbJbmWRZF0nZmVf5TSFW2sgvqhAMQcoPJfcA==', date: 'Tue, 20 Feb 2024 03:14:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJg5hy64SBDqCNbg1mkKnbxH4cW-vYC_f8x_jerVEJzX-4gBsBSAdky9ge5a5cK3OmvPljDHHhponIvZ3HOLxu-GIkPhfJZMJqGH0trcBLQZWlvnw"; e_fb_vipport="AcJhBgKJqYAL7D_S0vDf2uWS-MLEtvpakhiqm2bJ9mqtaT0pHduAZXxVcxN-"; e_upip="AcI2Tlw4-jIBFGi5FDFCs3JhOZagCH_7_CJfAdi4y91g4YFtsZo_gpH4JzPFwsTqWHxf6mNmabRnjETydRGfzYljl2iIk7RABA"; e_fb_hostheader="AcJj537m_d_RQ6pF9xFGDl93p6Wp3zi5EsXOARa_6Ytqezxfhk1C1z72zGrIdonCgD74YIKNX_WEuswj"; e_fb_vipaddr="AcIvHObjEg_MrSqa4kd0kuSiQjzJepcWR3sIRufpupKub-KK_K-1i51sVd9MN8dNH9-vswdMTJK2WQWiFo6ETrsXKwl-MaJ8xQ"; e_fb_requesthandler="AcIvJpp5TPnuuDoWU6us196hnP0kHVEmNvYsjInoGM9SERgnR4fKsmq5OQ6OtF4JkuJA35ohXRI"; e_fb_builduser="AcJ36Wu3AYoE7e-qmDNsFbTpW8MnHOPCdjEE0zwSg_RzpcDEkW0HMpSh4ymtXp-UyDg"; e_fb_binaryversion="AcKSe16IhE0Y-uEFuPQXHV3TAmKip1vgyQz8KDLii2yrUMnq7jLmV7IXxJu9-5K6RFdhy15psFsrORErUyK89aQ8VbE5pFf0sdo"; e_proxy="AcIMRVyXhUGEUQdZiw91jX6Ino8Do_NbbXtxyf3OsyMgfkMJdPDOlvTfCrx7waWtYckH7lF8luigSBWmGRmn", http_request_error; e_clientaddr="AcKFSbfAggl_rdk5oWRKop2YNX94_DxC6HvjBzuuZhNAQZi_mvbkrei_LMIB5FR6FPABqJVPkoNZTHgcbg"; e_fb_vipport="AcJVv8J5ULd4yPwhq1JIgefSFMV9c271n8KhC-Hp13kiChRNk7LpLo_KVihT"; e_upip="AcKgOyHcnww8c9ux_0W-FExuhR-yHpqbnJCy_BnNxiNKwxbBZfX7ZkQdb4Q7EeP3DXgsqUPxH1aF3940gq3BMQFAZVtjTRsQKw"; e_fb_hostheader="AcJEZmORUvkowRLNypfcm5LmYiYQ5snbvZxRGXdw_z5leupzjGfo7PQ-3Ny4xWDycYrou1BjG_Tar-lj"; e_fb_vipaddr="AcLrJxxMEjDYqK_-Uj-_dnGqebTJhXIVCcwOsN_BWW4V45XHj26pptCiE_CgBjKGXdZSBF0"; e_fb_requesthandler="AcK5b-ogs7C9lT9MXmJDmORuLCaxl0TJeBI4E12K2idKmlipgMnhamvaugU7yIxx9tb_XvKSY5k"; e_fb_builduser="AcJ3Q1WGJRymxk_SWBi4SgG8BnyuM38TKFaDymHcNYWEwp31QtiHro2fVEwSQ-zQWbU"; e_fb_binaryversion="AcLwi12iDDzNfdjIKb7Ce-YgU9Gd5DaOU1iX2_vAS3QFgYd3ImZFU2_2OTLTjLu_XIeczeY0sxr2CwjPQFOq64dzZVnb7h1kxys"; e_proxy="AcKv6NyGwbyyFWD_z9MYHrygjbpxogoWAwxu4y_fDUPqjFxCNcmz30SBepYqnA0jNehUZYUUrq2Ce6M"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7163737313743814"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 03:14:41: Error on send one message facebookId => 7163737313743814 02/20/2024 03:14:41: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AuR5C-tZGDmLZYjJQPFqxTx" } } 02/20/2024 03:14:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/20/2024 03:14:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7163737313743814"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5459582, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOtu98xkJZr-RvVi0NtSKdN', 'x-fb-trace-id': 'F81H5FTPnUv', 'x-fb-rev': '1011515699', 'x-fb-debug': 'J6RImEYVwcPwVkxjsYte4p4/r+laRF1x7NzDx345S/DR/9rwBd49YhP7kA0KwftjM/SAQQX5L/HyEWOBMTLtSw==', date: 'Tue, 20 Feb 2024 03:14:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLy38f2MAEMi4duJ9GRXAOAiunbuZjzSmTOa_Oj6O25HSWCxSAgKW6-EQC5I1QK_GiVAjiExdEFmN02qh1b4QLHHFGGJxiG23-rBgHS3IhX2KXtUA"; e_fb_vipport="AcKOPuJUxCrRilCF93kE_YLMSVFTfdD81nxTeucf30dAvgAp__3J5MaWZ5a6"; e_upip="AcJ_rObRfmT5kfuC0j-s6bBNNJv71b0LOhYBWsm_77AlRTSyOECisXF0OfNnGwbLqJt3fVPGNtkCPkR5K93EEr8eVQJMpt7IPN8"; e_fb_hostheader="AcJQ78TutfdWV-CyOvvuumCf_C95-pAMw-FuDL55hkI8B3USoB4nM4jttTx1kfWXVQmThVkiqns_ERFq"; e_fb_vipaddr="AcKDKqK2ETyZsjEuz-IAoMAP_5n8bza1RRwnu_aApJ5NspEJCVZVYTzKXSmBV7-ZmMBsnj6kURat0LmXYOnF3VymfLYwXh4WQw"; e_fb_requesthandler="AcLkPNdH5uXf52rN-MYifA0bTok5IXu_hN1CED9hgErAOx7U74mZV1yJWyWI3CNiQ1bIEI11WOs"; e_fb_builduser="AcLX8jULy_N-_gNuI57_J0A8bWbunhx2ZlTS7qK9yv5wU9Kj0RX9RZuoKcSHccdIdJA"; e_fb_binaryversion="AcK7MMFwDKmZhzUTZoMjtk2jKCDdIG6hmy_W66kXhU8lXnWOTPJXk3NhQqSgGFYrm6cTv8ISDVcz8bqh9I3mbusce6tI4pBJX4g"; e_proxy="AcJOj5fGQUJp7IAeMgbCY7x919n2MIWl3GPSClbhKsvUltWYjgvUFdz7G4pO464FANSdvlo_UNtWPdjE7vJu", http_request_error; e_clientaddr="AcJQFJ3CoaCJFTY672TQsNV9QkBcEXIiWC-kEANZ800MD8cr6SP7Cl1JH2DpPnA_fB2g-VCbB0Qk-zSxWg"; e_fb_vipport="AcKE8axKaqJQce_FvS55CqA6qNUfU4BMKZD9l73x_GyY0ha6rM5Of3lPUZ6O"; e_upip="AcLjEo5O5LDXyxhvA2-_O6v4e22stbUsAG2mN8J0MF_lRjPrIFw2s2-_yUpg42Art5x03Lq_-rCFxSmu0y0S_k727zDebtmUMg"; e_fb_hostheader="AcIi7T9z2KSSQRuPgDu0Tr-8iXvdJjrGPBiDboCQMHzV61kHQE3_mCF2_uG_wxYeiUTDizjzzxxElAhw"; e_fb_vipaddr="AcJTON1aYpD1nLNbCFDxSmbn04JjZ00d2Nq-fIDrHudTofyAQqGTXtDpgwqtap3o_zOCrAs"; e_fb_requesthandler="AcIfIHHH4P_0G0bPue6FKJkhTUtcawYhNOSRCuKuwGckiwTxwx1ITQudQ3u6mVVcC6m1OCOjTUI"; e_fb_builduser="AcKBOkkYALw8t2gM7OOmLpWzSKlaMB6MIZYsDSfqVLWJf7MoMnSsz9jkiapsathsE8o"; e_fb_binaryversion="AcLxm0-IvDpMf4OQ6MWd8o8tLXh4v_4bXFWkeSxn8V_uHr9Enx7SMh8qUZXhwoo8K3ZxXhAB7F8I_BvVSaIz5IaFULtk2rOvBWQ"; e_proxy="AcLIoHZLeejaD9tMZYldKLfY6PXv0TQcR-zrx24GDCcrA-IkcnhJBJX0KuCI3yCK9nuFnWTVcvfxQ58"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7163737313743814"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 03:14:41: Error on send one message facebookId => 7163737313743814 02/20/2024 03:14:41: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AHi8oF1J-oIG2OFOGWvUgpc" } } 02/20/2024 03:14:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:14:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7163737313743814"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5459697, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkRz6muNRatlfh3VedlDEpf', 'x-fb-trace-id': 'Hf6ZNRGqWWF', 'x-fb-rev': '1011515699', 'x-fb-debug': 'OniBGYgog3OyFCzaN+JSckDvWcicqibTQtchRS0ubGNUClfRdvwDfm4rWVY8V4VjD78N7L3SRxkX/GRrAUi+1A==', date: 'Tue, 20 Feb 2024 03:14:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL-rHzwNsr8kuyJcsEFSaFoIDHIOKcjVDr93-KJZBBFnCSXYvotAT5ADJg1ZUEhvaupqvzl6o7Hi-BM93YdWnexjPECdgGLU2mVEkTz53EATYtS"; e_fb_vipport="AcJ6Fk1AX68XuVluBaaYketoNjZ0q9yYkfb8tsvYP4Xat7CcsOdzQB_DRFML"; e_upip="AcJS0SiyE4ZFjOsVae68C7ttLb_W9C0UGALKWtx_wepZrDB2J5DBpiFwQ5g4PKodyu3BhUPIiotCoM03fFAn03YXRjzMW47DR8s"; e_fb_hostheader="AcLpQmjUPAgVImWFolXpmYIvSVYTA9K8kUpHGZ5rXkC-Bgi1m9I-gOzYzql0q1d6fVgnxWSAjn6mS0vl"; e_fb_vipaddr="AcKVqjwoD-rNCauKJFOzDacRVrC0_5LgkvjHdWTLPsGFhSa39SPeusja9uezrYPNkAy4SMEsOHhgT3ZmAkMMoNULyEG5p1oNow"; e_fb_requesthandler="AcIa2E8II8OpaHN7ei068K5FcKEp0Y1mAYdg1fLJMmCMZ61tgdFKT1grRpr9N7JCFkGH8uVLGQI"; e_fb_builduser="AcIS4t7YqJck3ZkiMcFLJJE5gqBB6Z1Rwu_QZdA4oqDYxD3NmVMFXlaR79JNoxPeQz0"; e_fb_binaryversion="AcKmrwxYE7OWB2HKml0gxRBnfKPjb7Nj3goWUvjo6lZRw3c5SbmDJYqe4WiGLT1CAmHtY51JtdchzemYO5RyprYJ23BP5Tx3FLA"; e_proxy="AcIiQS5TiCskcBL2YkdtLy5Go1JnA7eZDi6tIuAbBPWQNKiH336ZKjnYd_9eHu4GUL8r5gotTBYT_CB9FpTF", http_request_error; e_clientaddr="AcIHRPbQRWF7kEhM8RCGdevn7howWXYebjS5a1qlbDpWGdp1y3_O73IRFYz8r0qtY5k41dFB7EzVAz6F3g"; e_fb_vipport="AcLiZv3Gs5PNsYPEkCmIHRxUI9OxjzzZnz2YW0H9AhZyTPSbA2AAhYXo_7Gg"; e_upip="AcJ7K8G1b5fh2UV3_A1RiJa_Gpfql96780uIfCxcSsqKBIEissvkxTnVwOwSylkmq1jmjdjNX1tOZL1XWqMnTCvfEwxTeT0QfA"; e_fb_hostheader="AcKl_D0F9qlkSvLzAzC1w1HCGpIgzWrpXiG8tD9J0BgDJEYT_QOmI5Ao1c9laCsb-jFxD7k9kuv2R9sn"; e_fb_vipaddr="AcLyQDwsRyl99xmPxzi3odZh40OFdyxZlCASNWOCP-kUU4iPNwfY9w2JzBA8fn_-UwnMcTE"; e_fb_requesthandler="AcJ3G1Zy8DMvdxOuUNimRfbbKW-KVjXfdEjJVMFwld84JT6_z8i7EOJTcgcPDRYD4jEhZ9r53jE"; e_fb_builduser="AcJMRGtOLwElvGl03Gpz0e1EXsBO9KvS7d3pTrKknPBbtHB-3mw76Mc6AWh8H1NZQ8U"; e_fb_binaryversion="AcKZ0oKfjMfj8Oblk_MFdj1Y8NHkTyb7SLAA-EXhzuSvVgvqlPS_Xi-EQ-x_PSk3pNRFy2PaIHfZaTgJ9FVIydbFb5z_yKBTEuk"; e_proxy="AcKLPKH_4g40OP1DHt2cTg5mM6_iWcaDwl-T65JRnlFQs-MUzSnBeWZ0mA191UhFNuWMzcjE6C6BNrs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7163737313743814"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 03:15:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:15:27: Error on send one message facebookId => 7163737313743814 02/20/2024 03:15:27: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ai-2LXvMdDxzjoMuzZqfAnE" } } 02/20/2024 03:15:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 03:15:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 03:15:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:15:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:15:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:16:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:16:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:17:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:17:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:18:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:18:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:19:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:19:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:20:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:21:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:21:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:22:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:23:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:23:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:24:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:25:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:25:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:26:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:29:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:29:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:30:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:31:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:31:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:32:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:33:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 03:33:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 10:22:52: Error switching inputType 02/20/2024 11:22:11: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7351365138261358?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5590682, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7351365138261358?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7351365138261358?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7351365138261358?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7351365138261358?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0A10naPJZWqzsTqLNxwr5G', 'x-fb-trace-id': 'GojzhfaANu6', 'x-fb-rev': '1011517466', 'x-fb-debug': 'hVhvBBfZ9FD1xEaHwlg33zudTYIYxiZQjZMeQ/WKlizLi5PAtVQrYpUpLZE/C2aE1yJ/2jo4lnlKlQtTrTtkLA==', date: 'Tue, 20 Feb 2024 11:22:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLgKyUSrobEk34r7lOxcsj8JpEa2wSBbhDbDJEu19bC4dmBn2iHACwEsQjmo4YoqQqwZmocFl8xHzJgpAOzMIoD9udjFh6TtZ_Ae5nESfAlWzSd"; e_fb_vipport="AcLCHuon7fjLaKLoH9Vs1LvKCxyBB8uR0q2NnRC69LeozqQTj4TMs6rUCEo3"; e_upip="AcJ_tezbdNA7qDQT1n-ivgf0Qd2bT66xH9jKTDvqvD9p0vMCPbhNxd9khp5U83My2VwC4h5wSh3Nia6WVmli-qNP_9THpY6dqww"; e_fb_hostheader="AcLz5oJ2Ocrx_6vTk2nuItXWRcyjgfd1YYdRc2WG3Mg9MKkRI6ADWLSiHf7yF1z9pBKtPxX7xjMtULyR"; e_fb_vipaddr="AcJE-4anH9cDzxHf7UtVZRab1W1ITbV4CPt8QjhkQ7u9IJhu4dOmeSKRw6vBuoQzUTCyLvP_xRhEOj15BYmawSxUol1_htN1Dw"; e_fb_requesthandler="AcLe8fQKQjybQYtYJErCvo07C4KmvII7weij1TWLMl5xzTZJcil8sRiLhFlHupsedCvRqJbLIfY"; e_fb_builduser="AcJGSnib7XtWf7pf5mgRFbnGXKx1rcI-r78_hDB_iit7W5V7xePMOOJI71wNhb2rM8c"; e_fb_binaryversion="AcJUbFzRErqJImYtu1yi_tlYwDhbz3NRCqFYyLRG29U8r-nsBbeF_ecG12TTlUznX1y4SMO9oSaTea0b3DJkdEstRUyLAhMzn8g"; e_proxy="AcIfjmV5TynP1Mg3YHploQimmNYHng8FyBqy0g5yxl1j03ztaS1I_teYzNBn-8KDhpEMmIQMkVY8FijYGT3I", http_request_error; e_clientaddr="AcJ-NgI0sLkBJxu6MT-aUbLr3m-yzSr3-ezK8HFE14GcjinWWgroITrVmfTD0UaJsCpxJ7Uvs5YBZ7_n8Q"; e_fb_vipport="AcK1lIU2w0_eNB1EVZloZHKMgNddDpE4a6jXEcmDjJp_pDKj7peIWWu1vEuT"; e_upip="AcJGl6LDAOE33842R385292K_mbjQHb4hU1avHB_7BYSrRmGBuaa7KopM5Y-r80BFbhRk0KA4gZlY85WIIgKLPc19A_H5WJypQ"; e_fb_hostheader="AcIeEdETUTbpOjyx92chHBqRpHVSe1iqs8qzUStStklpwEZBw72vb6ocXQdToEf3IvljuJx2lx_A1P9e"; e_fb_vipaddr="AcIhZxkGelOmyGG7lKxtE1lvua6Bks6AzFLKiFumvLvWVsNJ-uprRTm6p2UJYWniI0cOxFk"; e_fb_requesthandler="AcK_Y5ybuv4Z8IlXpxB7ut7SrJEdpAP2Lxyks_LZIuWn-wup7R111G5Ruu7ikdngBw-c1FxcCjc"; e_fb_builduser="AcJNYGyv4FqERQO0JjLruxSqG-5gcFpHRsmF457mCSRPEV87VneOVghgOQSl_DwtGKc"; e_fb_binaryversion="AcIX81NDTFo3cSXowYFK8fela8xlQTD_5ZL-dZheIBw2QiAwBaCC-MzQ1rJ8e7X7JAriar1zmbt-YuaeSgAu6PP3szUwePItTco"; e_proxy="AcLZNMa5IfufvkzWzmp3Kkli-iEyvKzM5jIMmgtiB6kUKPFcPjmz_ZklbTCcP6T92OPwe4QZaEgMKoU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7351365138261358?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7351365138261358?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7351365138261358?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 11:22:12: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/20/2024 11:22:12: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/20/2024 11:22:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5590820, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-uYmDz5WEyG0veNycJ2Va8', 'x-fb-trace-id': 'F5FMPSEdTod', 'x-fb-rev': '1011517466', 'x-fb-debug': '8di/lt0EnGSoZ5PuuDX4TSX5/u3VlsV3Qa29a9oYOlFnMX21PCOxS0qVhj78wyfNo2eqKCDV4i1tK6WhwG1skQ==', date: 'Tue, 20 Feb 2024 11:22:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKYZZkeJEjUv6epFQS2-3oAp1OYsCI8UcAdvq9-hSMuKzk-sb-ypg-sa6TyT9ow3vOn0nofjPDQY9oaUAHIyopHMdHbeEGr0PnPFf1qPdLJ0v90"; e_fb_vipport="AcKU0vnIe0JOMjwZ1xP2QPzT3k9oroSiNCmrqhQYy8b40w4HUeaWF29IVi1y"; e_upip="AcIkDly1nqD8Wr4mfgLsbX6rO0gtgAQ3ILRDKqjyl6-A8G5o2iuu8PKB94heYeplhClnNTMrMh0gulRe0PqGTILuIgfNQfKkRRE"; e_fb_hostheader="AcIx4en5BI15mTNxCuWXZRtRr6v65k-TBpCfx30CeFfa3tsiD6b2kxW4pD2wDbCEyCfXOvbtSIavkgvL"; e_fb_vipaddr="AcKzSqe6hPii7PLOPZaDgzX5B6yB9v32y__vtXTTq6ftL_ioNtGYrMUb8osINM6NpDiFGjoOoafLroHgBXXST-LLa8GgwH0_vw"; e_fb_requesthandler="AcJfZw3DRtl3i4_bMCEXHQZyWG-tJY7oQgdsyGtdojdEZmzFWW_3dR6Ejat_XGWbcnuTmaGkkp0"; e_fb_builduser="AcJbdd4tXnodnP4nxwsXO_uQ_1pxVDH7b_4k_R4rxWWpvN4lPxZG7tY_EtbGjynmVLo"; e_fb_binaryversion="AcLd0--rkMK9s3hB4oCML3xf3Mb9SBIYuyVWr7i27xOloF7N5inVQz_7dh6R8ErKFHls2EFd6Kgaa0j1_F0k4OpCFxmLJzNgx0I"; e_proxy="AcLEYLqmj5fhmmaNbZ6RqP5dN2zyjNCVYOku6Eg_cn_PnWqfu_58oZUcdCZPx7yALyzRvIYqhtMVNmnoA8wx", http_request_error; e_clientaddr="AcLJFQYwUA21vmD6-cSttbcjKhI-ZX5A0GWUlpjZCmTu0AYkXt0_65-ydL2asyV_Aw1OoqwTEM6GtAim1A"; e_fb_vipport="AcK8oVQRlrmJcVC5ai9OOQVzZxg14eMyKYCTG4rSpMf67X6_dbzxLspQBaJv"; e_upip="AcJ3i03T05TYq30Qxrqo-pJCz_cIQ5HUQ57yDV0Hp6voz4YoNmmhHtoqwURJYd6PIdybVH1oEYdczYgqDl7-9Z_oW9WIVzFCzA"; e_fb_hostheader="AcIs3iRnw9Jdmj1ST4aRtLCiXhDtHkzou7crp83piDYikntCEpbLVF0ht07gHY4LFStuJFGiT1WLqCNd"; e_fb_vipaddr="AcL97oCFWdGik9snLJA-6JG8pvUM48YSLLWDo3ew1Wfa_F5ICkfrarJHbiYwrf6PFkRwZc4"; e_fb_requesthandler="AcJJjXNnOKgpI2nk0INf6DINJlZsrkPpmm25CrhxfNhWdnQL-x1dvLfpJXL90WXsbSMeSxj7cmo"; e_fb_builduser="AcL-oKodKxqSe6u--LbHCR1BlWpzpFtRj2ue8IFsKmufFTYlJWRWvk8rCWSZnaKjcqM"; e_fb_binaryversion="AcKjvHcX72VtkR477wW5YWqXFHoViO6sF-YurXo4RBVIv6P18VxhHGSbx84tk_gkOS_E4aVghYNMIJbC_EI5S3QAIbllAfMapr4"; e_proxy="AcLe4rae-9L-iZr75r6hMEsev0WvIdwnSDv6n5vyvYelG1DIcPfwIklFm7MTb30I8qK16-h3S2DuOCA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 11:22:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 11:22:14: Error on send one message facebookId => 7351365138261358 02/20/2024 11:22:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADaYyjH2B5up7oMo0jryC1c" } } 02/20/2024 11:22:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/20/2024 11:22:16: Error on send one message facebookId => 7351365138261358 02/20/2024 11:22:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ATHQxz_YfbpfMJPuAvgiB-i" } } 02/20/2024 11:22:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5590905, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Af_Vgw792cPfjnVBo6I58An', 'x-fb-trace-id': 'EOhVMt0Yxrq', 'x-fb-rev': '1011517466', 'x-fb-debug': 'gbEJYOtGaC2oMt/RGpgmII3emYqvd9/y/oxXu/Dl8bF0WpDQypyqiQbWi8LVaB47L6JbpTM7IVePI19Kuy4qyQ==', date: 'Tue, 20 Feb 2024 11:22:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJkchE34xxfC7VpKMe-6FHyxthkOrlkIEGrzQCGUSzHPLuUoJV0R8Kp5Af5a-dczX68DJPXOhSokUyXgJ7HFayaiJiZXxFSOADy8Dn0k0I6zF9GUw"; e_fb_vipport="AcImVw2rndCw4ACte1Fapv7aooij7XUdBtAuRxJni1-chuEmMsGlN2p-bUdJ"; e_upip="AcJcYD14bOw98wBNQaoWSeRJV0cmnSEdVzjX5jtFATIWCVvzVZACyKpLgfautuSQeSqKWtpyqhDH1rqdyZncepTHM7nC1rwhMQ0"; e_fb_hostheader="AcIRwTv0vYNPjyCiGPXMK6F_jv2Q6-uLbqkLhYlMVhjk3T5v_FR3qrtsNz3foIfvD4xFlZkxKxR7De_L"; e_fb_vipaddr="AcJTYoBRNAtI9Jh949-bhXAva9jzKqcgoZJfyFwUvFJR9NECpk9li7_ckqz9UkepilNMso2BOsSJUlb_U4szIWM535truuKOog"; e_fb_requesthandler="AcImnfNmmxpR1USnODIjSkWViZL4rsgZsYTzzrOnPq3SRgvlnWrsk4g1TyvLn0Yjgl3g-EPcHvY"; e_fb_builduser="AcKDNas8zLzeES9zphzAt3009PIlMtLyixrc6tmgzqGVSHEJI2uGgutzkB28bvaPloM"; e_fb_binaryversion="AcKQb618BADDdJS4iHj-n8Gg_OHM8Kud2vxE7LcnnSgXH473Bgyxic7wcXTwYHQAxX0P-VjsnHQHLOKUsHaEBJ9KgIm0_sl0E1E"; e_proxy="AcIvDJXonp7brEDetFXBrCS1I7CjtC3nEl0q7ZH_GlJ7w4XDco9ptrj4asgEdylnJCpjgc8nQUJisDOA35xE", http_request_error; e_clientaddr="AcI6tMjNirZLNGPVwAdh-MHVmr0xBJpamqFBTAOQCVuIQHhy7gOpxRF6pZpG_v5aQqON0RTKy77GZYcUiw"; e_fb_vipport="AcJBOtmfLIHjuZ4R-syYcuVibKqIL0Jp2e2O5wIcm86xB1TI6V9_R-aSDKj0"; e_upip="AcLaCjrQwIcA9Pzn7yp5xiRu37XFFrpILnAEFj3H0owzse8oLnp1L_2N2mzexTrR3gkIR7eON_M-W5t8w6MIy8YqM3EkAvvO2A"; e_fb_hostheader="AcLfCrWvWTFZoqx50G8LBihMk84aFSb6UfyaLaImOBfE7kmEuPr9_qB3X9JsjSO6aZhBcce6ldCJpGj-"; e_fb_vipaddr="AcLrthreuTfyv_GILc-wu2XEGflIzI1GkihxjyWMGW41A7KJNgE_fl0pWkvoXvUPywlb8N0"; e_fb_requesthandler="AcIhXWfSTT7_iIaFqBmjVxtQlfnDA4_lWioHltUDK5jOHHoY5lSuonvqyx1hCc72VbyokIMmL4c"; e_fb_builduser="AcJ5Q0_ynW_7fKaY6wZnfCH6NlJl6v0KNEl_C0M9aea10hqDXxH9PhiMB7kIKP-eX6s"; e_fb_binaryversion="AcLWuXITZhbZVAs9irk_wCO6HplCzF_kW6BTkcrHBzK46f1OG8k5sOod7pGUCWoTStHjyE1L9rzC0_J5-jbEvqhYFwUt-45RK-w"; e_proxy="AcJ_axE4weY-iImvsr66E6sNTaL0UlKAa2bR-82tzd7esZjuStnOxGpp2SKoHzZoYeYFCbYGYgjLLdz5"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 11:22:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/20/2024 11:22:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 11:22:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5591044, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFXDsEmd4DU3oZzZLrXc_X-', 'x-fb-trace-id': 'HPUvtTP8q4S', 'x-fb-rev': '1011517466', 'x-fb-debug': '7oIsNFoYUl2YNq8n7YNvoNMIOxDFRWp1DoqJxHnpXhXuHlYsLceO84NmJONVAnXH8KYknXzSi8R5+MKNPNMGJQ==', date: 'Tue, 20 Feb 2024 11:22:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIz4eMMS4Wj-rOuckUYXhs-FT2Yq14bsjsR5HOlbqfKFHD4yPuHsmuGu-7U8hmlDC1zglvaOzTEJ94F5CaBT3HnI13tn6yh4T448uJTVSp7a_j4Ug"; e_fb_vipport="AcLpX6jCftpzBh6O0H1pm-S9Ti6TQfZ1n6PgfmemCKVw1GBmNTGGOL1WyivL"; e_upip="AcKnEmaj4IZ5ROhtTKHxwO1yk4hd2yOaNqFWLNmQFWxnpWhGgYBp0TEN2u05cdw3UYd--umpqBzl1R6raTKC-uuZGFGOpoKJOqU"; e_fb_hostheader="AcLo7b9Fa8o7CclJNB2eCUhcDWdxRzdIfKvujHjQv9tpgnKjxUE7wjEyhu8Wa2sugRy0o-KUY-9iq8XA"; e_fb_vipaddr="AcK1qD69jn3ygmANCxTrQUfD8T9RcqajcCMq0xT7Q7WASn2wMfrRkjru306A2c0NaLL6q6_JYkVobpzvCqP_2L2tdby58TeyRQ"; e_fb_requesthandler="AcJFwb3KrU7EcncRtecjQTThExtw_VWuwDgHJFaF3Wv74C71NlKKc-LOlzQ7b3kwPfPfuuat09k"; e_fb_builduser="AcJbMOdqu-c7KBNXK_u0U1JIapoLNs8ie1ZxjbGx4Q-_gTE53Vleiyg0BTecfhe8Sgs"; e_fb_binaryversion="AcKDSB8ZM90Foiab5jt_W8PglF7ALSQqC-JkVS7h32E_dPvE-G9laHtOo9WGKRTmqs3wDNojeBh0wb2fzKMtO8wPVH_ph3xkE1g"; e_proxy="AcLAnp6KN7PjH0GN9x01Pbfm1dLmJVPA8tmS6WspCh9JPm9h3i0wlxR3ULeQc9uxXBEATaqAQcdd-5-cnXX-", http_request_error; e_clientaddr="AcLPc4BLO2t-_OM30yclm7cLL8AfVvW1R_Ccw4SEUtkAEApltVOYI_biAzAEwDu1rOuZChvPZaj3vPAWbg"; e_fb_vipport="AcKw25utB9nGUx5ripJdLGdUrzMJ2-HwHsqTmcjifg7XUOFM6PpTghsmPX1X"; e_upip="AcL0QZc6smnrRAZ5litRZ2PYgRJoQocePFgaERt6wEc6HLlM3cuYUa-K5CaaHvZyZXl8TyHekbx6_k0MF2qCz_08l1Yqp84l9A"; e_fb_hostheader="AcJFj481Fp475scQhBIHILQZm1a8N7wi4K-krh0PI6EPHM1nnQ38vNT5dWCuyMwhn1EAzsDkb2xAql4J"; e_fb_vipaddr="AcLXKAALR0j7XL5MdXVsMqrITtEYQDZ3MIM_JOfyHlHcLebPhIVTrh-iRhPFsQZ3eKudmHk"; e_fb_requesthandler="AcKKtlKwoFHJLOFjd7N1tiA6RbpiTZC4E63DxxGuHY72h5o91lnGT98vj4eI1P7lW6LcBwGVuKA"; e_fb_builduser="AcLZFrm1NubszwQQW4fZRfMYaONrJGEKhqvuRhUsmSBHKgvttLSSA2jTIYZM16DjiF8"; e_fb_binaryversion="AcLjc4sS5sPfdvYUgSeoySD9I347OfWiXy2QoJPtc6VEk7ucDsXzY_IkKTboAHx4hXceKiBMZ7EVXlU2I1YZM3Lx9bJqe2lUmHo"; e_proxy="AcITQ3I8PuzMpkCPwB4m-RH-s0dDk9gIhzk5qweu2iQMPnT1RhsQadw7ys59aVVmY4OKUCxzfUWlt5U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 15:12:14: Error on send one message facebookId => 7163737313743814 02/20/2024 15:12:14: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AS1AKUA-dZVXZ6f2_eR_MVc" } } 02/20/2024 15:12:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 15:12:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 15:12:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 15:29:34: Error on send one message facebookId => 7163737313743814 02/20/2024 15:29:34: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AQqXRE9qE8jL70vaPUxHwNU" } } 02/20/2024 15:29:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 15:29:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 15:29:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 17:41:45: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6960264144100228?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5658101, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6960264144100228?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6960264144100228?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6960264144100228?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6960264144100228?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6hhWActZ2dS3tHQSVKUd1R', 'x-fb-trace-id': 'H395S0b6BI+', 'x-fb-rev': '1011519473', 'x-fb-debug': 'BvP/plMt9i5KXsI3tO8+rTDuD6/cQlby68R2OTL1i8k4lZIBbb4YwMEEZeev/hTQEDDfuBcIwzpuM4eWq1OnGg==', date: 'Tue, 20 Feb 2024 17:41:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKHcBJ5zl9TUSLRW1G9w5oQ_sAnnEyTjjCI51Q1Iu4rvddw-_6QGFPCl_3ywjjWHYDR0ngWfxH8M8WYftyW6pw1vtDAO5K97jKdnJv44kLMiTqppg"; e_fb_vipport="AcLhrzS6L77BTQk094IkvNV2KMN5W0f5rW0umOO9Q0dvY8gRj1Lsc1rclzsm"; e_upip="AcIATHgMl3L7P5vGrd_M7zT9m6-dSNVV-2wmDqtY6ggpzwJIcisJP0lNoeNFcrw5mGd2hrtxcaqZdCFEC91SJFswoHZ0Ms2C9g"; e_fb_hostheader="AcJ0CU2BKMYT6zu9VrG1Ky1MF3wpkMM5CnpovyUUzvU95zzsovWLr1Y24cjnXdNJb0bdUAehyLatGFx-"; e_fb_vipaddr="AcKxu_yHyfLe6G4Ptxz3Vv1_mS_RGN4P_YEAN1QvyJu17vpcBklY3tB1V_h8xnt38HsIFYVJIwCGz0OfCOAYIh6FbfXUiJZWPw"; e_fb_requesthandler="AcJAUoZIwTd3e8-kEKDQbDmG8RBJWfKO66UTRyD7JQBln8I2F9XI23Am0U61dJER2saU8Xne93Y"; e_fb_builduser="AcKPZneR0B2CD_HLBle4heY0TLKdiTWHz3EZhu0F6XVYfJZGobp_NdDsdGZOMyabsJs"; e_fb_binaryversion="AcJjPSaV-I0z0m5AJKACDrQInSHdiCmyHc2G46lC6bcHh2g6GVFnpbg5YTMMN8nPmMea_-Otx9rYWuYzZkUgU_hI1p5TGL17mFk"; e_proxy="AcLTFCjHqlmfbKVOkUd7kgNjbGlDPWUYcQe1aYEYfujH6B3getwT9iSEknu7UrftuBSuHb84q85fQqAQfjMi", http_request_error; e_clientaddr="AcI1Y1GA2mhbLd2RVQ7792greK9Lil5nqmg6fHzfp81VTUDSHmkSDb0mnaDj_G9ZrASxSK1bkxxVZeuh5g"; e_fb_vipport="AcJWOWropCgbptvI2dHmhWsA3qh4lGoSXvL8xXGNt1m0ghkz-W5We6TCl4_1"; e_upip="AcII5mQLAZO8L-Ukp0Zz5T9bvVmBTltQLfpGLFIOfWY5a6P7-DDvRvoEfexpB5J0LXQKskVzHT674wzed-nFexyTvNeS9akgFA"; e_fb_hostheader="AcL06GvVSntkAzpPz8WG-0Q910TkrELp9dI4sfUzf_lXY9z-Q38jvtfwJUQUZQuhOHuIxD8sQtmDYdjn"; e_fb_vipaddr="AcIpA0cSkzztbZJ5B59D9EWE-zNxpW23EGsofEVb0ai2AUoaYoXp6MUjmUcuUnq0g-xUwrY"; e_fb_requesthandler="AcLiF4hgyn4ewFJIRVm0ChdU9HOjgD3bJLReSf06SRMQeS5eYXBTE5gmPdROKVdZp0zIHAD88Jk"; e_fb_builduser="AcL5rjiOp3nWKH4gxb106UnTqTrETbTivZjxpViVB_fFsFaLxtkZYP2dMKwREYmMssE"; e_fb_binaryversion="AcI1Af31tLrf7vyU3xr74TcfMP6lqLo-vtj0ifeYdt8PV_fx2c9M3V7mKpFh2f-cCAmQUMmkWH37CfEO8p9KtkLceR3VXcgO95Q"; e_proxy="AcJ7Tmzm6j4qQDW0aCH0CUGwTAQeEKDC8pDkZxMM9BS-SaRQri7AwO6P3fNgEC1ySs7-c7jpfuxGnT8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6960264144100228?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6960264144100228?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6960264144100228?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 17:41:45: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/20/2024 17:41:45: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/20/2024 17:41:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6960264144100228"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5658219, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvpPi2wUczoeBlbAdOCmrev', 'x-fb-trace-id': 'ARiXLdug8GX', 'x-fb-rev': '1011519473', 'x-fb-debug': '7i8nEMQkJjpf7h01+IQ1BJIZ9jM5xs368waYH1cgOJp9P7VSIVcDrZzSm7utorYct1D9qH8XL3K20IHjU4cWFw==', date: 'Tue, 20 Feb 2024 17:41:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJYaz_a7KmUjYvgkGP7JX0P3e65r_tyE6W4ewM6cEJVj2pGzoc4raBlbxBl7h3uvvtnfDSHCi4R4qw_RkqauLb1UZqRc6v7S4sBJesb-r1x8tYORg"; e_fb_vipport="AcIpeC0OmPF8VZvJNcMhNPB-gtQd-5CuL1p5z_GPBLo0ezLMvEywtcverqLz"; e_upip="AcJHiBGoYO00_E2eqaSG34PTYJV0OI-Qjqhq2H9ItPOwDUzA09UfHrjrcya8l73xnrUHlmvkbfANx1u53bxPRYRYoKWUIcpXywg"; e_fb_hostheader="AcKbYN9901w-mLIuLUHV4Zx7MjOmdspJP0LESzihJGUtYN-upnAbzvhWzvTG0SEma9es9LhuIWHdmFyD"; e_fb_vipaddr="AcI6eLluekaTc3jqrlCRxUOk69Tw-iYC5m8eCGSgXSijKo83SiXihHO0fTxLeNa0FaOzTsxodYQTmAMavc8Vxfi5v32Or1_jtw"; e_fb_requesthandler="AcILFwj1sBuLrTrwHEK6CDc6xdiEGC9MSGpjzMHeGiZbox6yFju7d1WpUGe9EIAwpQmiYUTcWLk"; e_fb_builduser="AcIG1Xvtpx8Oj1WeYJ8KxtXoUCwsIKCa8jS3a6k6xozV7DWwd1Qi9y1RMKK9Y9fUU50"; e_fb_binaryversion="AcIMc7I6O1dj3IFSqOsqIbEOOxs3kUb4XMvleBKsWXwD5ydjsVY8gMitbDddTPwjkZJ3r7SiY_zuZzvvPcqFPYtddPKaA6frQSw"; e_proxy="AcKEmbxEQQPKqXkxbQ80cP7HB1wlGX5lgmwUB6SMxLkWkd5QgKki-ElcoQ8vubgUecov6LXglfltI2TQrVm3", http_request_error; e_clientaddr="AcKwuLgIFqsAZA-j3cfv-8TOz6XSroNMnGRFQbUDbmQ8bpVxbTpLFL_k1bem72N-R0x0xyqZSRpArYwWdA"; e_fb_vipport="AcLaOUlrQ3YfvtzxrjY7mkju__lSwYaC9plpG29qN3eSV-YxMHf8yhjUvCiE"; e_upip="AcLMT38z-8PIKoJu4BJ7QULjmuxB5zDTj07ROaIJP8KaYOxwe1AnyXyTndfIZ6mh2zxT2bhUOjjuisAhgIiSRKMYb96Pw55PVw"; e_fb_hostheader="AcI1HOhx5oR-d1PJ4Ln3bTY2ac6CMz6EtRqBfoZlUmL3MGkSpniBHNxBlk7D42JAmGMTCJya2M4Kp0Tz"; e_fb_vipaddr="AcJWK-qtsE_ibydbnNvj3ZOjpsyVhLNGdoR1ObyABdbXW-y0LPqLFwGYn1jPHpOaqCQ6-yw"; e_fb_requesthandler="AcJu8LoTuqpB3t6kPHAiZmo1KbKy-3hSeSUY2Ge1qwBQy3wjJ41DeQQWpckk_xlRwdIuelmQqRM"; e_fb_builduser="AcKQcZrdArIX4cHEUmGv5IWsP6Nz2Ouc0KWrFYl9jCpavIpwwCleXAMd1yB-6fdYvOY"; e_fb_binaryversion="AcKfiycm6vU_mVsQXJV-uxZmR5zbTPbmRNKCWtWO8JWqnnb8KlArskDdGDGFM9RohfNPtsXRK8R4QA8EaTiOyyGpo4ftPIswwCs"; e_proxy="AcLDX7hQxOZIFAYLuaNLY5u18VVyL-i5knAXm79H-HXX7hjRe-S0l5COCp2D7YzRb31eQpUh4iNPCw4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6960264144100228"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 17:41:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/20/2024 17:41:47: Error on send one message facebookId => 6960264144100228 02/20/2024 17:41:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AupBSgdiFOdPXAxOdHi04OG" } } 02/20/2024 17:41:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/20/2024 17:41:50: Error on send one message facebookId => 6960264144100228 02/20/2024 17:41:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABjR4gKsB8EaW00RQNVi42A" } } 02/20/2024 17:41:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6960264144100228"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5658311, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Adq4QOb2qnuFO5JJ9mnhxsw', 'x-fb-trace-id': 'GV6BGXX7qwa', 'x-fb-rev': '1011519473', 'x-fb-debug': 'CePTc3UxngPX63JhnbFR8/N2ZRcidnTN+BZM881t1qTjHCy0DBkIJ6WowiVyTDlE9xP0k2JgS5qlX2CQ0CYeUQ==', date: 'Tue, 20 Feb 2024 17:41:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK936RsBqkVWJwAjs75Xsdva-VMPT7Te6llQgfynEV5Ywu2NvvNfuNFAZ29r1XPuc8MiDJQP0XyXbPNgZkhtttGWiiPv1VtfEzkaSwIBi6wKnjA"; e_fb_vipport="AcKvJKSFKDFYPgtla6YGHcCOdVvB-4T-C_kq4BOu8exo2XPaqI-o7-XmCYV-"; e_upip="AcIMxCjha2G1M6mPmDOzB2b0vo7bBmXWKZGsgw3dJjRVbDa3PPFa4oNuHfYDZfAUhraI71z7Up42Kcbwc92GZn-GyM-ILgWF"; e_fb_hostheader="AcIWaZEJ04Y3k5schUZs-JAwq49Jsdo2kdmv_lUszkMe9ZED7JK6Iuul-Z1Kn7toFrc1vYBAYZ-epi4O"; e_fb_vipaddr="AcLzCM40ZYHo0GUHm_kaweWrmQsRaaSnL3GMmWoP3CddfAf2C9-cajI-Da2-cFbEhuhc7gJtYpFRiP45pkoNqyOEDueFrm28zQ"; e_fb_requesthandler="AcKadG7-upgBN4zCHUX2rWa-jDXaEmC7Ex__5fVar-jMsjBZxqQMR35ZwOL6RUgQ61dXjvrt3iY"; e_fb_builduser="AcKQOXPG80pT6NIPb4wDfj8eoHDgy6zABh6Dp9koygcVXIEI1Ypt8FFVJG8TU1rqWH4"; e_fb_binaryversion="AcJysbZd0q9daV0Mxv6LYK5qLxFYnHMoGVoAGUaeMRzDv3NbXHmEqD2XEg-7FbPNDPDJbvTbrlp0qOvgJBXrVfxzQXlv0bwAiQ4"; e_proxy="AcJU81Rf20xVHx_eJwncFrtwlalewaICMIABUbvczbDNlpT-uRMjUjyGfZ00XdewPKxBrswjH0TOhFBB_jo", http_request_error; e_clientaddr="AcK7N0RrYM2e2PZ6jEAxG_65B1lAhPZKbrfoGTCMCwfYLKTACGRg6TxrNuJsbApLKbsuyvd4sApscVChhQ"; e_fb_vipport="AcK4AGWFDczInbFKQDByvQkmR4W424kvuse7jZ2gUwgNztqh-kqHpKNTAXKQ"; e_upip="AcIL5dYwf4IopkkzHR0C0sEz35M8DztSk8xPHn6gqc4NRj2oEFTDVc-hGoX6m4cxK-bT1iDSKcf_kQpJDaPxKj1A-qrZFoCjXw"; e_fb_hostheader="AcIrFEYDEbnIPwpHyeDZWhOB6BEb4Mg0TMNZN1UBSG6G3EQ-y3UkDA0UQSSXiMAMYybrTNWwjTG-9Meg"; e_fb_vipaddr="AcJ1qwbNxQWgf0i5XvD3quhEQjJdgmjB8nVejrCEDm9x2V1IzY1HGk5-2xeMgIHUjBho1_A"; e_fb_requesthandler="AcKx1VwO31LBJjlltS_wqap4kN84vZAa5ogrKddH2aNCM5NgoNlW4fJDLQkJOzocrSlAkCWbZIU"; e_fb_builduser="AcJAf9iSloakLnRVqWfmqkz-KJvMalsyzej7K4eQTbRQ3bXuhrKLqQFJ0JfkwNGl1Zg"; e_fb_binaryversion="AcI1W-cQ2wZd4rz3Ug2EJuoLxOl-zJsEccllgzqtFExO6esmieD0aaPdrBatqHxIXCy2xEH08TZsFI6shbjNV2PeeUfi3zsa3j8"; e_proxy="AcKtZyH7UcrkR3YrZBf1VzN2EjC8SqX6nv-9CP_NDn-FgqEwMW9hq4EBQRMt7utXUcIvRfX3snIc35c"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6960264144100228"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 17:41:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/20/2024 17:41:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/20/2024 17:41:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6960264144100228"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5658450, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1iwOhvqin3tAmRxdZzgq-q', 'x-fb-trace-id': 'CcnKLiuV7XM', 'x-fb-rev': '1011519473', 'x-fb-debug': 'RYJjYhhuhwXeUoZ8WonWHmHsJRSZB58Uq0mn8g3zyhi46/iv5LXdF9hZl47fZEYHD6YjHIRxqP+9P0lvKsn3KA==', date: 'Tue, 20 Feb 2024 17:41:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJiZpTbwLC6ipHT39axa8y6GZ-GnHBMj_8oaMOx69CDuCdJ3AhxozODVMsHS9xR7KMA9gBWJxxcvCxJvzAIDizwaXhl_-4KAhIYivzYr5g8YuRj"; e_fb_vipport="AcISvJA946bKx0vcYf4LJn16ydj62yH-heH_O6iHAnf1-sY1njW3iybucfCg"; e_upip="AcL1WkKwJBRiI84B2OQibIvX1uPD15QnsDJDsClsfz4lqhef87S2hWKoBImJUrqH28-u3IJ8DSSLp9rRi9Bg_dAPpNA6jzDz7fY"; e_fb_hostheader="AcLNQq8MKbatzRygHNi1nJhBJHF3JW8r1blCIQLrw9P2_MJw5G6CXUL1m26OCKF688GHBjttQVjHwEQQ"; e_fb_vipaddr="AcKq_CHtQsjmV18dFzq4apHMOhxOKFWKoG6U55p-OTuIYEZjUKR3jTKQ6XllmMxjXyJG2xPaEYABlRXbJeD793Pr7pACea60vw"; e_fb_requesthandler="AcKp72Tc-m-adx20kf5Uir3MlKpEdL31yTAINRozdmXJ21q-bIN4D4eZIQW3lNh2d1VRIDm09Wc"; e_fb_builduser="AcIvdUBvCIOa3QY2FWFo9pkgImKLOL1tiGdROKKoe21w-hAIvRh0FAoc9mNBzinUSoA"; e_fb_binaryversion="AcIqSYJurSfCa-ZLh-asVuVTgyGvkU2AUkGSHDm__WsoHsOkRpbNpFJ-0QlU_lXvX9LfnLZhD2FFN-kVD13xUPh3Wqu_Q03G7bE"; e_proxy="AcJXDvxe2C6F3YHW1xn_9vveIweiZiNiLTaySi6jl7iMHFc9PQ7y6jPwdftvMulCYRC6UUUhtQN1LDPjLdo", http_request_error; e_clientaddr="AcJbGc_qn7FaqP9v5ecl4sLNUZIhyyQOcbyKUPHzcKK89vIyWop4J8ZHUVgBX8VxRwaRkcXsTOd7cyaP8A"; e_fb_vipport="AcLtJAKkImrBz5YyiDcn8Kt99Z5PBwnSDjr9TQlb4wRdKFfbg-Jqzzsdocqq"; e_upip="AcLnvpfw8zmmWQSmNr39kaD_oV7rSW7P_dQhdLVFooQXMpy7cAqXYICnP4Pj7QPm9ivJiYOQ22rm8ca5kZ5rv3GspBqUMaDMnw"; e_fb_hostheader="AcIZxzkpZxYsSMV_4oTt3dQK1IajJ4xn6FC_AQeSAuIWSYCBJFDkGpVNvxPkseKJ3xHG-7iHvoqKTEW1"; e_fb_vipaddr="AcKzhl_vIXx4Q8D2aQR3dOj2AlbFawY-rlInx77A2bA_jIoEQJlPWZTDOhlrOB9xD1xZ0FU"; e_fb_requesthandler="AcJoYrnaK3DH3Zl4VqLy8cUomo_4V0RZDBx31L9myPoynK1DMofP4EtkYWtQ9-5PuGGVbVQZ2WQ"; e_fb_builduser="AcKu7F1gkq3PIGEUKt_nItusp4m4xPgTNvAHIQLC2P-ERMfNnlUmTpDxLRLp65OQXdU"; e_fb_binaryversion="AcI0JOCglW17x6sXv510MNr7mWPx5pG5pd-ZUHm6b-qcdvGoPidgr76NoQWmFuvwaSR-QrlsHzLQk6rdexmeuCF6PpTF-mZFgTU"; e_proxy="AcJP32zH6O8jJ8lNcihSmlRqaAqXL_UUkBUsGR-wa_clnUr4ikvACKQA2xtg-TtO77XrKxLITO0N07A"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6960264144100228"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/20/2024 18:18:22: Request bot not found: { id: '320637341295349' } 02/20/2024 18:32:15: Request bot not found: { id: '138868933458303' } 02/20/2024 18:32:28: Request bot not found: { id: '138868933458303' } 02/20/2024 18:32:41: Request bot not found: { id: '138868933458303' } 02/20/2024 18:33:08: Request bot not found: { id: '138868933458303' } 02/20/2024 18:33:28: Request bot not found: { id: '138868933458303' } 02/20/2024 18:35:05: Request bot not found: { id: '138868933458303' } 02/20/2024 18:35:07: Request bot not found: { id: '138868933458303' } 02/20/2024 18:35:16: Request bot not found: { id: '138868933458303' } 02/20/2024 18:35:25: Request bot not found: { id: '138868933458303' } 02/20/2024 18:35:33: Request bot not found: { id: '138868933458303' } 02/20/2024 18:35:41: Request bot not found: { id: '138868933458303' } 02/20/2024 18:41:53: Request bot not found: { id: '138868933458303' } 02/20/2024 18:49:36: Request bot not found: { id: '138868933458303' } 02/20/2024 18:49:41: Request bot not found: { id: '138868933458303' } 02/20/2024 18:49:45: Request bot not found: { id: '138868933458303' } 02/20/2024 22:26:45: Request bot not found: { id: '175778962849901' } 02/20/2024 22:53:35: Request bot not found: { id: '138868933458303' } 02/20/2024 22:53:35: Request bot not found: { id: '138868933458303' } 02/20/2024 22:53:49: Request bot not found: { id: '138868933458303' } 02/20/2024 22:54:01: Request bot not found: { id: '138868933458303' } 02/20/2024 22:54:28: Request bot not found: { id: '138868933458303' } 02/20/2024 22:54:39: Request bot not found: { id: '138868933458303' } 02/20/2024 23:06:38: Request bot not found: { id: '138868933458303' } 02/20/2024 23:06:41: Request bot not found: { id: '138868933458303' } 02/20/2024 23:06:54: Request bot not found: { id: '138868933458303' } 02/20/2024 23:44:16: Request bot not found: { id: '138868933458303' } 02/20/2024 23:44:29: Request bot not found: { id: '138868933458303' } 02/20/2024 23:44:40: Request bot not found: { id: '138868933458303' } 02/20/2024 23:45:53: Request bot not found: { id: '138868933458303' } 02/20/2024 23:46:04: Request bot not found: { id: '138868933458303' } 02/20/2024 23:46:21: Request bot not found: { id: '138868933458303' } 02/20/2024 23:55:30: Request bot not found: { id: '138868933458303' } 02/20/2024 23:55:39: Request bot not found: { id: '138868933458303' } 02/20/2024 23:57:26: Request bot not found: { id: '138868933458303' } 02/20/2024 23:57:30: Request bot not found: { id: '138868933458303' } 02/20/2024 23:57:34: Request bot not found: { id: '138868933458303' } 02/21/2024 00:00:21: Request bot not found: { id: '138868933458303' } 02/21/2024 00:00:23: Request bot not found: { id: '138868933458303' } 02/21/2024 00:02:02: Request bot not found: { id: '138868933458303' } 02/21/2024 00:09:43: Request bot not found: { id: '138868933458303' } 02/21/2024 00:12:36: Request bot not found: { id: '138868933458303' } 02/21/2024 00:13:03: Request bot not found: { id: '138868933458303' } 02/21/2024 00:14:00: Request bot not found: { id: '138868933458303' } 02/21/2024 00:14:01: Request bot not found: { id: '138868933458303' } 02/21/2024 00:14:25: Request bot not found: { id: '138868933458303' } 02/21/2024 00:14:49: Request bot not found: { id: '138868933458303' } 02/21/2024 00:19:16: Request bot not found: { id: '138868933458303' } 02/21/2024 02:20:05: Request bot not found: { id: '133788230054854' } 02/21/2024 02:20:28: Request bot not found: { id: '133788230054854' } 02/21/2024 02:20:42: Request bot not found: { id: '133788230054854' } 02/21/2024 02:20:49: Request bot not found: { id: '133788230054854' } 02/21/2024 02:22:42: Request bot not found: { id: '133788230054854' } 02/21/2024 07:49:13: Request bot not found: { id: '1591915494408146' } 02/21/2024 10:16:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 10:16:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5836102, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AADVZ0rTpx06RC7eai-86jO', 'x-fb-trace-id': 'FsZSw8Rv4Ij', 'x-fb-rev': '1011546147', 'x-fb-debug': 'Aqk1azW0YfL280enRJFgmQO6hQLTvV+SMfAI8llCStPfas3+VWHoytT3+Z8pIXSab5KYS0jHVMnMSW063Ax+RQ==', date: 'Wed, 21 Feb 2024 10:16:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIFxock2-cgaAWjuuJDYVd2JzOCdU9wbzAapbIbt4Z6zKOy4pvN22ILaGaaf90JUtGLQqHcKr-2zTxvo1K6dYWpJWtX3XRpTliAv8irs2JGeWNI0w"; e_fb_vipport="AcKeH15HqB1cGNIIeG4cmABCxVCkxv2qo7grsQAWgUMTYzHQNBQIsgUmX0S3"; e_upip="AcIze_zGT6ZdFFfMKs_A4SWW-_NMM4PF5lS7p_Fm19emocqM9ISF-EeCKwPz17UlUaZ5O-3l7daZd3P2NjfkGqK7KeZwYHiX8Q"; e_fb_hostheader="AcK-BDUTMILs5LEcekdY1Cn7bQlHyahcKJZoyW5TS2w4OWbcXLVw0_wgC_RC90PrKpA_bbqPNYDIRzKj"; e_fb_vipaddr="AcJEzfJ_9mVs4O8KH-kMW4O0o-siC8CCmG4ZW__WxVXqTy-ST5G6jysApiqzksZBnIF74ePqggkcbrhfG4dKMTJVltgZWnhYPw"; e_fb_requesthandler="AcIRO1KOaU7VXjI_y5XP4twprz5OgHYhlaczS3FHdL1MrGdQ8v05SIq1DLOJAxopi1XfzU-CZXc"; e_fb_builduser="AcLyn5hGujp86oWfQuYJSqii4bZ4P0TSkjiHdGueuw3xhlTVYk0gNKNxnakkORjbZmg"; e_fb_binaryversion="AcJKumv5NeilWGtNUBrtXOPxqjSyPBmxAMLNooDgv279A5fGPPjfW5X3fWqIMreRRusjZCgOWSBLlu8cqXfshyM0v60rPRdvabg"; e_proxy="AcJByCdSSPRAa1Z0s-zkIDKITLdH3vSk3ueyX8GQ4Bbxxg9PQltvzU4CR9oPqdldgw3nrXIehriJyXb0ZxJL", http_request_error; e_clientaddr="AcKjJmvZPq4IpVlF4JhCGoLhwtitoMCY_YgksKNFgBnTZk79qK1CARFFZoYn6e1lAmlDfjNe6UR5rDah1g"; e_fb_vipport="AcL2xNqdIT1BBGQCqbsO2XyS2mW6ZKAUrfjpiGe8NMmpQ4Emd018LavX6Myo"; e_upip="AcIFb5KHBOBZzEjVWj40KVPr7DyGWNQ9H0-XbAwyVP0RcqHTYlcAUgfwcfC_C6vMy0MUoS3Kkt8jAP3JPx9n191tXj1jyBP4Xg"; e_fb_hostheader="AcK45jo-awfx9MmyaRDhS0nDmeq_ht9YwqE9ZnLFqLoqJUcESTIC3rSvMW-EF5kRkKrPbYOfEMSZx4q3"; e_fb_vipaddr="AcKT29WcpwW-RCgezSLnGWIYN0WCtoIJMZURUg5yrPtWxdxysTVJVKyxMp78aahq5JCT_RE"; e_fb_requesthandler="AcIod8ctxZM0IsehC4W7S7feFhqAUodn18Iphr_ODvHl_kPfRpjpWZgddsbIG72FSJ9oSIRFHWs"; e_fb_builduser="AcKdxzS9UMG9fpt48jloZRTjvnPPocxyQFJO2GRjqDGMdPRn7ZvS59EAwvriRHFmKjQ"; e_fb_binaryversion="AcKzuYXOJgzqNCfPrZA3E4aE0Fm5ppLriz2ROWQFYf-j7Yn9FTnDHWuHsiOEBDJZ9bd8kpk3e0bTHGfEXejnJuhvF4iogWJlgWY"; e_proxy="AcIlZvHXyFQC67dif5z1iwbgw9CdyP_wADl_18HjzdI2YqWRiRvr9wY3hEvayys-ITM86vrsTpHyUa8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/21/2024 10:16:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 10:16:44: Error on send one message facebookId => 7351365138261358 02/21/2024 10:16:44: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ar4YzqPbnokO1Bv_yYFnxYt" } } 02/21/2024 10:16:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 10:16:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5836238, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsReE0gB6GGfSEVCFfS-IP9', 'x-fb-trace-id': 'D/CEI3kQt+n', 'x-fb-rev': '1011546147', 'x-fb-debug': 'q1zlfWxVSn41+aj3DilB8+T6sB6T5POJ+zLfwxjjWpVOk7mOI+LqyjuFTOaorD2LM6CyAYDjY71cy669bAT9Tg==', date: 'Wed, 21 Feb 2024 10:16:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIVc8LE0zsgjRlsJXsh8b5rc3DyZ03z0MuzLjLGDHwjO7oRsNAwrT344Nz-tsgQ7R9xKPF6cMLwWvf2PHkHu6jlUn4SNEkUKzMZi33N5DINAmQ_"; e_fb_vipport="AcK9HLyPJx7rmFGCcN0shBTc0ohCoT-oUtC72jdFAetKsQEqKzhZtGm0JlwH"; e_upip="AcIQdarQguqqKijXp6o5E9w702LSnEXQstligiO1h-G-1RxTFu_KsxaaufXmN39v-bvofpLp8o_lYl9cdwoI9DbMKJPYHvEsYBk"; e_fb_hostheader="AcKaPHkxfZlm6MDxOrpEE1rGRN_KFPvYtYrSatKgQpwHt2P8xFyZMO-t0xTjoeuRlcYfNGdngpP2MPiw"; e_fb_vipaddr="AcJR6v145-lxiwkHwfwOoDFdczCcjiK-6JFurqvNvyAmBUvF2Glp6wDdxY2d_lbz6kL4ReeCUAtuz9ZbWeZsqLWz2yI6w8N45w"; e_fb_requesthandler="AcJsK7z7gU_qU_01_gYeye5kTPjQBNJ_6VkNPJmbxIe4c4fjoB1CAOM_0YFZdSu4be5KyqMuNxA"; e_fb_builduser="AcLrn2q5vrXsg9WQoK594jrX-XFQSyeSUHD5MrMD5ZuIikhpV2koDN_o3gk0kKLxt8E"; e_fb_binaryversion="AcIo8wEaM5W10MfhxvUyVG6ALB_GvD_Dr3zqrEVJUsYOOVbRYfnqgST-KoFk-x5BLM_hItQMxvGzTGmAeZuQC3jmNHpgM7UA6z8"; e_proxy="AcIWJrDIfwtaPILtmd4mN6agyPG6GjdOQBjd4oe6d41BwdG042ZEvDODnCGD8dyhVDKrJThrjnBcBj95FR7D", http_request_error; e_clientaddr="AcLqNwPh5pCa3Di4JBuIecz_3OOrsNIr7mSwZzzuVWN9OhSysgr7car8rcmg2RiNf6Z91hUx7MiBovIu8A"; e_fb_vipport="AcIpDQINQMWPKNEDbQ89pE_3BUNKy2Z1s9zxq_1tKi4uWjr7A0xYRiL-Smvy"; e_upip="AcL98_tdBIueCsTVoIUoqVL48vVm_kIrCRqnQcp8syk6VlvYKHIXhx_e206HMU1ClV6M99GAqvYSJ4X1iGYI-K14mtcqRsSNgA"; e_fb_hostheader="AcI_ioHn9tbVMGrci8iPmwpDcMRKjUzdJ-X_GgMWr0SFxjHxWaBwDZj2_xk0ITmGrLwfHVDzx8X-RYeH"; e_fb_vipaddr="AcKY6urO9RoDUmYVk4jFFO004ZIx04pPMuAsliqdk-_CC3coy1pPaa-0v6IiVqnhbKQYDaA"; e_fb_requesthandler="AcI2tpo-2SVEr3l2ExNSRiYAfMtSn0kjTMxMSpkG4fprlanmEwPM8uGn_ei6XZGoW1fMnKto_-k"; e_fb_builduser="AcJ3PhKUj3zGtI_1Lj2hkJ9f3xukKRL3l0ggmRnKZG13decnQh6kcc8e8bz4d4_Y2Dw"; e_fb_binaryversion="AcLja8br3YZKOfhscp36b8sCfmOpjQESX_xnBklR2QKW8lMkQV9-V1eqbUkiU3_xRKpKbRQCw5nesmY9fnL7p8kKc6i8YpWKL7Y"; e_proxy="AcJNySCFXpdawfaDnM8RrJn_dNI_W8vqi2IFMEbIXwJ0wGyAdN0R-c9wVFV1Pg7sslmBZDNAmH_qzts"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/21/2024 11:30:39: Error on send one message facebookId => 7351365138261358 02/21/2024 11:30:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AzF3w-jum08nxdU6zBq4WW-" } } 02/21/2024 11:30:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:30:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:30:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 11:32:02: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24803123219331094?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5849215, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24803123219331094?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24803123219331094?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24803123219331094?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24803123219331094?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8RebwAYyq-DNik3ZiTzvYs', 'x-fb-trace-id': 'BDRuKfRCDlt', 'x-fb-rev': '1011546147', 'x-fb-debug': 'rL10ft/HfdcMAZfGmaFh/U3VACpkKvSwg2XHDPB9fkG8no5NSrNdZL8AzWFp79jgVm4eiTaTT5lW4TffAKFKdg==', date: 'Wed, 21 Feb 2024 11:32:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLkzqrvGAX2s-R1dbrUJRTapW5Ro5G83qYYvEz9FI5uz636AlAXVjXMZhDEm_5l_PrXvAglDi2abDWzWAdt5_w4HQefhtbf4mNgG0NKj2nhqzGzeg"; e_fb_vipport="AcLDG8CXItXZhkzFFt39oHz8RM3Ye1B8oPVG-ArBWgnmVlS2fOpobCjUxuCA"; e_upip="AcJPT9dtSHAaiRoNNeO7clZ-SGA9b83ty-Uykv4r1_7xZPixn1IR9TbFfT9Kb8b92TCeNYtT5UiGyjYnq-qtB29V6CY_U2kKxvI"; e_fb_hostheader="AcKzWQG1PP2ioN8_2ztZfUe00T3LOArBmCfc0ayHxSWf5dEevGTNy_or2KDd2WFP5yrftAlanMh7IOXV"; e_fb_vipaddr="AcL4SQ3jdEBgDz0jI6DelUmZOPhnipyKjVGZmKOi1B-SZDZ_LNU20RPGehjdrsXI1peqMA1b89EdFWmpazEDFfuCQO_oFsGOng"; e_fb_requesthandler="AcL05gHSLQlw3AXI-g9TxZSncByxXKI2S2f7TkINU0PqAm8njv_joCptiJd81aS6xp0Nei5-MUA"; e_fb_builduser="AcLtsljvdlv7Wk8T46pK1lLoipUUE9EreF1Osz065DnysBcdtmT0r1Qdi7_Mw8xGL0o"; e_fb_binaryversion="AcLakEY8WKBotGyLZoqP-Lu8diSyN783yEyXk4OYiOUwU2xpk69RwyrRdKkxPsGGvXz1qlPsrxvnEhwwOiG4heA5iEhJWsI1NxM"; e_proxy="AcLUu5TqS29d8BY1nYtbOtRRpt6cEnMTuGmGExuX5Lvs_nactD6wv93tq_7Zpjm4kXLOZNpkb8eeiwDPYzok", http_request_error; e_clientaddr="AcKD5KDCWHiV7vXxX2hPMqyW8ZccSFggT7WvwGasjGZx4byQNFyr_dDPegktbVFtWg95nmJL1yQbTu67BA"; e_fb_vipport="AcLRAgFjQBSSZMfgtdvdCLbWJzse0i_jI-wTvdSfvNzyQz6geXwJgFZXgIDW"; e_upip="AcIxCG3PZu8r5fnlci4HZisV58Xmgsx2Cg2dE9CmjwzDAhQUDyqfLUJHc3eD-6_EvAhiFm6bcP45p_PXUdGzIxvGXLdLGEDMWA"; e_fb_hostheader="AcJDBXJwZ5CNdVKERpeoHS3wSSyazb6pBugBgjjqT_z3x-IahC4cFjKnqbdQg37tQW30l4Shg8-oxSRI"; e_fb_vipaddr="AcKq-4rBrnbZa4Nt4IL6YZStspPf6S6T4NY8fP2W1iL3ZxT5tUJBZVaqZCyYRrw_ehAhi_85Fg"; e_fb_requesthandler="AcIb4di-GOTuJefYAKdGS0QezfqOp2-rCbnaareiDsULhs2EXQY_xS713aEqosbAb6ZJCcmehdg"; e_fb_builduser="AcIH9vha6MGflD64uIWlAAllajCnSc-8ZlJY7xN00SUcWqFWMKXTU8w6D9o-GWgtMpI"; e_fb_binaryversion="AcLF8xgAqqTqb5jzFKZ5THjFVvarR6y2unWl83_W3vgekrF0Ga4Sb_-c05il6vqiDOnzciHYhK7Ib0LKe56S9xQVlOtCNER5hRM"; e_proxy="AcK4240AwHf8YVKhaxCY9v3TKaJkVJ7NlOxYI3LccB16FQHXc8-8IpWGchkm7wiLzIqhHTYVmEQPz81F"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24803123219331094?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24803123219331094?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24803123219331094?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/21/2024 11:32:02: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/21/2024 11:32:02: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/21/2024 11:32:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24803123219331094"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5849333, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADsVLW4PZgfYyGWfNkwXwrG', 'x-fb-trace-id': 'FK2VvVsUcP6', 'x-fb-rev': '1011546147', 'x-fb-debug': 'oZbJcKlTpcAVbCa6Nkxi5T/P0BwtkyC7vCtK+1FK6wGkEwqp7463C7/CQWEpFlYdr8aPXzkj9oCYL1BkYZg5kA==', date: 'Wed, 21 Feb 2024 11:32:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKefrC-dLEAnpG72CmiPmEHDeNLzWUwV-JVHZwERZRXd6Ja1Vu9gK5WYXBM55Cw9eB4CtMBa7XY0BNq3NCma3jittQURhmDQJfaEgBXNmmzAiFGZw"; e_fb_vipport="AcKGJuyptrPB_cSFwqKV2WeBBSmy5FyGlsuSH62ETEF3iXcU0fKDyzXv08hW"; e_upip="AcJYiveZqjl_TgSUhsvpXcCx1JWjbhAv6URNuo1esfpXpnO6ft2HG3rFBIwrd-Z0G2bTQT5xXIwpTeMyf017tHG6yCPiPirmkw"; e_fb_hostheader="AcJuuIDkzlCrCKfnAREowwGiB0WfURsxq0wNJr1eDHvsBN25OPe61-iDLD_bJvx6KoqQbm1_a5Z9-AoI"; e_fb_vipaddr="AcKGDsW4fpROmuMZqLTpaTIeVyBRrBMWARr4fd3djPqImaJICFrrnTHyHa6RnjsDiUln9RWu6WZ_lmhN7l8AIRdCIbzOAPFYcQ"; e_fb_requesthandler="AcIY9atYtH7WLIqU4uN6MOzaEhjCUXdUR1XeNczOTBgvQERgJ9Kk6yGOSoer702rmxDLpIlpO4Q"; e_fb_builduser="AcKlrfGj5-c8U5Vcdh3cCR94KT7DaMz73J9gDPD3k-uJK4idmFzocBWAvQgUc5oc2x0"; e_fb_binaryversion="AcJ8oE3_zRQaUXR4TZF4_hOABqNEErEKJpybydAItrZ0rnSr_b9t0v2Z7d8DcH8dIo7yCsVKaycH7aqRzeBgesKApnmF5Y94XzM"; e_proxy="AcKYNnZrbPupNYxj_Y-AC4wHGwT4cZYKK46TjdpxjeF9qv-KgrUljlb7A4fnHnuPRX7HPIiqWOv9AQm-VeOg", http_request_error; e_clientaddr="AcInz5YIdRboU0sKmp7QL3QOPssE7ySpgcmh7fE06rLmVtzuTiFWDEE8U17pom4URhT474-xxl_gXCeTPg"; e_fb_vipport="AcJAPDGJZTteTUpjSNHema3smF8_eMx9fTZkT3JClbCr7RBVVax81wMsc-qE"; e_upip="AcLYEsssqWlafDtgtmwemYxVh7l4TF5PcRNZQip08mQhdHU1NN73jHfn8pMaWrEkfgksVA4DhCZmUoAZS3-VG7qIjcecJyI0Qw"; e_fb_hostheader="AcJ7s5qQHO1BWRcMM5Bh9DmkmLVZsHkj9CHWzagqOYkpT3ClHekZv6g3tjfZzSMWwXHXxploKGyD1nvv"; e_fb_vipaddr="AcI8xsHQqG4ntrsCmbJDc5Nh8xziUb7sT6utBhvhsgr8H5Fj48SBMFa6S8JIujlo9yIg0O45Kg"; e_fb_requesthandler="AcL3uBEafeEzmAabzN3U2mycPhqtPnumaq7v1Ka9iQOm7cXq4CZRWYfyAxnHQJvkgS-1WNg1n1A"; e_fb_builduser="AcJjQPr0u69650nY_-uSoSmOZ3Ljakezs1mU6mDjZRx4VlUEfuloxBT0zjy6AYJ9Osg"; e_fb_binaryversion="AcLCwQn4gklL-SjvuT3ObJuxm3ZVTCQowfRlPGaSaOFojGJNM7_KrK33PHSk-ixHXHBah3EIQXFBM8a2TqwpnTL24Vmr6FtI3K0"; e_proxy="AcKiVR7CeC_Oxq_Spddg9VpI55-ouRMLXCcWafZO0MLngGn7vzQOAsfIRNfWtAQ00sdJ38HiSmDya4g"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24803123219331094"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/21/2024 11:32:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:32:05: Error on send one message facebookId => 24803123219331094 02/21/2024 11:32:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUr4bJlaNROFYdDkAEheEHp" } } 02/21/2024 11:32:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/21/2024 11:32:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24803123219331094"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5849421, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGgLuc3uX8MuATikIWNbqKC', 'x-fb-trace-id': 'FmmKN1EanRf', 'x-fb-rev': '1011546147', 'x-fb-debug': 'ma38P/Xlm6zUwTQcVZK8BEInAI1Fy5Jr51GJR3U779D4QLyxMppw3vIj0OJnTiNXtUa9+wWogcxcbrq+NFp72w==', date: 'Wed, 21 Feb 2024 11:32:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLBs1WC4eWMewwXC0vBX_xAPaJePUaz_RwUzpd0b9HmkDRUkie1NqGvT_JpkW5AI3d_KQpECyjDD17I5rCzF1pqFQKGYCqlJaxY3IMenXEWoh8wtA"; e_fb_vipport="AcJZqFIwynjkXpvD82WBD2kwQzGHCpv4XntNT4HM7V9FbDoLOtIoJa9JJaI0"; e_upip="AcJaS9_RMg9WaQQDYW2LHJBA8vvP_Vi_F5TwOap4J1jof4NE4ofqW38q4HA5RAVmN9pqPX_Wuq3m7ff0ppPQI_lkQxdNCBQqVA"; e_fb_hostheader="AcKZ7X7r-JT6py-Yn13HtjYHg3xnEFhrAVnnz8nGe6QuPTg6uXS4WWfEVZV2sd5O4At_dyjiFluMsWRM"; e_fb_vipaddr="AcKp6Naq36HHVf5zKUR1ad2KoZjtXZ0pMltS-67Ab4u8rGWGKKGqyipTJg0_PY8EErp0ZypSAUipbpyjogqwzhNqBHuXnkBFMA"; e_fb_requesthandler="AcIwOcqMOeFoJkqBPfEkbLtAYOPPtYZWN9CFkQn4vreiqckdWEUiTHth-_-1_E4Pjv59_beOVns"; e_fb_builduser="AcIMKw_aqkYhvZxzKCnP_IrnthsPL0x_cpCgpCFXATdf3dww-WyBKeBogZgJPe1E2RU"; e_fb_binaryversion="AcI6-m85dt_obdr7DymC9k7wftjM4EzwGrsHcQ480ajvQSfyIeLkC_U78AnpDK7CtPfSlTFbPETeBnrEBWXAZuE39SItXbkmZGI"; e_proxy="AcLn6WVjrDTxNtnyF1BKPQXgt8oEygAT-r7WaGqH2rSc1BuASuOCFGX96ZNURAuVv29HqUzzmwP0WwtZ2pvX", http_request_error; e_clientaddr="AcJo8sVZp8otrjZe9SSlRkib-rWyJRyWxWrkl7JExOwTIawg-wWi8g3bzF38_FnCNpd2VMlgSYJxw5T9gQ"; e_fb_vipport="AcIBlFJ69VyMYJyiTdNosRxv4VwDnax807vRtrZRZaNYqZsEvtpMWS9ySrx9"; e_upip="AcLqM9QxhDLy1OJpWKExmlxDg8WVPXPnhjT6ixmMbLdkiK4UjrcRd3veMRwxIa2nUj9pQS2vgmp_Es2Pn4omzG-FFcEC_mcb_Q"; e_fb_hostheader="AcJo48rtxYVx76Y_YoYkImXDAg0iLjOKnm3QzWdtzbygahYQKMbrGYWCYDVh9r4m28RhYajMIklq781o"; e_fb_vipaddr="AcIVDuARxZrFy8lKQ77CTFNJW_fHw2aheMyrRGqCEjoOxthu1va4X3vw7Ir1ZKE32ZaGa9naPQ"; e_fb_requesthandler="AcKvPMRZ7Yb_06kH1zmHc08iNXkEm78qL8wtVRYhdO-2xgAf7JwbhLSYZDWTUGmKtLr2q6jru9Y"; e_fb_builduser="AcLmNB_XYv8FHiTO1Gtnojn2f5rUXcFNr0raWUkpv3DQ0I3fE6yDOoDT9gHzA0fDdQs"; e_fb_binaryversion="AcIkVJiX3tQXM1rtmY2Yn6nkYCDWbmqR4OdTQEOb9Wi89_-QsX0IRZ3tN9MqeZaC2sef01IpO4-ztjYpDi_A2BY6j_ghBH_K19M"; e_proxy="AcLbj88iQ4Capv5wkzZyuSBcNKyGs1_Dqyd0WjSDMvYsRYhYzi7vIYhjyxlrqfggugwLP1naLQRSEIY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24803123219331094"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/21/2024 11:32:07: Error on send one message facebookId => 24803123219331094 02/21/2024 11:32:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AiEj4ewwKxXlw2X2F58cZni" } } 02/21/2024 11:32:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/21/2024 11:32:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 11:32:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24803123219331094"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5849560, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A244nm3T4Qivn_gq1VMOzx2', 'x-fb-trace-id': 'ExP4xka/JE8', 'x-fb-rev': '1011547164', 'x-fb-debug': 'w+5TncgA1U/OXKzgw9EzjStP3aH53SDtJLwk8o0IST/Gh+w9F8XDhRWTYNyRDBhTTBkeyZTYPtWH965Vh8OAQw==', date: 'Wed, 21 Feb 2024 11:32:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKUB5Uwa3YZ4XgmCnF_rVTD-HPCZcpf4wNaoB74AHBZKYVrQLN10pBDMYUzeChh6qbd4qLwQ0koaCHwaoqwSt7p0e4uLyRcsvqJ3Z_ZcqAYD3Ia"; e_fb_vipport="AcJq3nFr1J769wS2ozn7dmbaekEq7BvuCwxGCvw3r7iCU5Q632cWn7if8_nn"; e_upip="AcJ3lcsS-Ck2EijHdOr-n5TF0y8VTbv_GKAtQ3BJGVrtfVgTljnLuk-2DIfSk8mrL1vzz9QhtsZEeTNilDBE9fvpF3TwBa3_hw"; e_fb_hostheader="AcLTKBhp6k__NYoBfMom6UvlL4hP_NKrlp5XOyJqecU0aYTgMVz9rkqUcd_9OUZHxBAEyilgzpKVxhmK"; e_fb_vipaddr="AcLHJt8qjT1Ona456rH9NIIZ4Y_LEqIjh5PCLZT_F9lwPtb5n7vZY6Iy0EVQYvilLhoFGThIMoaPVOWolcId24r9MxSnfUPvrA"; e_fb_requesthandler="AcLahKMLHqkGaQAoLUZ5HnSdra4a2AibIsvsCsyRHr3W_YUkMNMy4oKOrj1wLgEDkR9f7PTu-FI"; e_fb_builduser="AcI4W3Cslu6B30_Pn37Y_jyvBtdabQSU6ahQ3pt6qDjPFk0XdJ5mvH3SKFqdb-4bXOo"; e_fb_binaryversion="AcKwnbC5Mg5JNlO7V0ZnBGF9d8I-jxHJN7mndNKQ8SRQFb0tZ1tMwMevwh5M-Z3bp-2s7FM8dS9tfFrso60zGn4hVkuNj1gsY5Q"; e_proxy="AcJjmUOpYyYslnPINK7tELk5efEUHL2QJ2bMrHYdofMlAkMlJ7EscprMYW1lqnJY7glJ0-HzNnXy1429Bf1i", http_request_error; e_clientaddr="AcLkxEYFIa1_KKTgG8X1Fgkz5Cf3WupiKuou8vsGuNmyPChfKOuFPnwG3e4HZse28CPjVm8RMjQTjVq2eA"; e_fb_vipport="AcL3zYQYgD_t-BwMenF3ift5GaUXJ2vc1RGjjE_PAl6oSLtxcpZOcdyV25W9"; e_upip="AcJ1givu4LJoagwYUrFiiYMi2kCNtTU5Ro5iscC7CcJyKb_EC_L2WHvcUCfiw1zKgUnKAG_Vdv7Cn39Lzv1d2w2dyYJBosUHZQ"; e_fb_hostheader="AcLspkvuzpy302kYmu4hJu3JlBHuDMHTG2-nubPcNc2E1s5tbDWUbzYQo7qaOQhUkEEeUI-wIQTa5CfM"; e_fb_vipaddr="AcLvThJ21N2ASOXGwmUM4OLTXLwGvMkxHcOD3j4bNrpcyJuc6dxlcj338ycWVGTbkqsruiGPPQ"; e_fb_requesthandler="AcIXExhmdJgIDmMReNyeZsq3wLMUx9OMEj1RC5LGof6JY4SwSnuPGxuufNtLskl0VFzN942PwMM"; e_fb_builduser="AcKy-ZFgbEzIer0Lq5mO9QYs3HdxiRP5WderLyp4ETsNsej1FAvgKR67LZuxKIWmwA8"; e_fb_binaryversion="AcJ1i3gFcnqGy4VAZdxER09qJeseWbTwlZkVrmauVV6lB8UQc7ofHEBldU0mcCXAosFv3GrGjcTfcC3t7AMOPuRMFmtFS7Tn5Jw"; e_proxy="AcJTktOUpGnIbZ8TJ8fwokbfQM7KnjyzK-4o74l7KchmC0ODK-YDt25CxVWx3Sjd4qraaB7N9nu_5Ro"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24803123219331094"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/21/2024 11:32:08: Error on send one message facebookId => 24803123219331094 02/21/2024 11:32:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7pccyn2pRzwxvnHP61yIk5" } } 02/21/2024 11:32:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:32:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:32:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 11:33:22: Error on send one message facebookId => 7351365138261358 02/21/2024 11:33:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AxLpwuUPIEaQEpvn4FzH2VW" } } 02/21/2024 11:33:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:33:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:33:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 11:33:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:33:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:33:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5850525, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5l7uPdx46FFKjXSnXg2anu', 'x-fb-trace-id': 'Byupq6oQR2E', 'x-fb-rev': '1011547164', 'x-fb-debug': 'ZsTNK3JD4zd8RMIns3QFiqWTcz2AvnfJm4NXnAxE/Yy8aVq4viFbRgc7xEaKa3i86r11DVhow+soCi2MHxHTMw==', date: 'Wed, 21 Feb 2024 11:33:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcISQsawVIDs26i61a7tgc__5ePHjoRRgNU0i7AzTzFo7UUjSGe-ybutUJMvRoVRb4lORvxRdmnpyO6WI1eB8TvG3G-XzekTwlokvzWAAucz9taZ"; e_fb_vipport="AcLWFgLDeYd4UyDibzSoI0DHQ5whUqd76JNSlZ7PXdZ0CygpXt2H3v6CKC8f"; e_upip="AcKsPK4P7bZ-f8uwEl1g7FLmoaC_SIWLkF6hxAdDCkm1vzHLk35FOOEaOiwN16pbbfkkdjpEo23R5A_tlNYc76uLLJr4tSOhGaE"; e_fb_hostheader="AcI68zRwm417SXkM85TN6Pg-A8UjQduXIflHe4TdqoDa621M2JRI1ymQyBjvY9pyRBHkHl7xLVJGIyU7"; e_fb_vipaddr="AcJPs5077MxEof5qjJqqc5S-6dIc9DfAeD9WhTOzO1cVs85oekjHK1-1Bo8am-aUSn2WlklAGOCPZqDtKlmdHwPOp_5th1VaIQ"; e_fb_requesthandler="AcKjF604rJrn5DE0co_O9QM67VmZ0XgRgoG3XZhSltL6yddWkH0NwDci7ebhBPV8LJcKnSZOFzE"; e_fb_builduser="AcIVDfG3Y44U9CXlOHrakBNRjIRyLK-y_isPHnpO5NbGWJrXMTDVdS6SROYJNY15n3E"; e_fb_binaryversion="AcLROE0g1EHPNoh2j9G_zw6AgrykgrQ4baYSc2PjARgW5L22IRgANYocJv_dnnulzc6hfkIX_B4b3rmwA4nAFYBfTeDz8NXSU8Q"; e_proxy="AcLufxunWSjBos40X5AXllfZ1MBUPGxlSvnYe2ORBSqlvOlWpmd8Vi2wlJ1SQZVUzu0vp3WifXVtusB3Wcms", http_request_error; e_clientaddr="AcIXcrAzCpZKiNXGC0tXwfkFxF8uL2LNRHPMD6W_NYjBoybsPEGY7WCYcFNhv2Ns6VsepJ-j44gka4bK8A"; e_fb_vipport="AcJS5fHmoosI6YZtHC-QyvDHTr0mglg4rgnhrekp3_WjjCoXkr4yhrXwvwNF"; e_upip="AcIXsG2zIyPZGFIi5IbHWi8is-LTpRWxNPgRJIDExcvKkagS1dx2-gqpP95uVlFPQdoXSH8pnPfqO7yRd-06a0bWCvXyldxKjQ"; e_fb_hostheader="AcIjW34Egyr87ShO50tu-Eohd0mSmIdMhj3qZ1TX2NsbYepe6wF0VaxdogXUyzq7wjIvwixEype4kIbQ"; e_fb_vipaddr="AcI607lhVGhYr-qlVf8kspjeCD5wg9aOyJSdMsg2JaecLYo2SnZaHd-3Xs-VcikoT9qGHsnXaQ"; e_fb_requesthandler="AcLlyt_lFi8e4x0YDOFznPgZQD_I0xmWy6Mu9JdwvlrBBawP2H9gI3UB13HNWUvvU90pygB_rXk"; e_fb_builduser="AcJqV3LXHZC85mZ7s9oHX1v3NkocUt6dAXw7wqbH5fOi4SDs-_zfdAr8vtn6UX6LHTw"; e_fb_binaryversion="AcIKKXsvDEukXvbTZOtXiqBJALCEvRMkamOY4I_eZnwA6palsab70p6A49GXWbIcRLivHjn6k6lxwNXy-qUe8StuGJ6yKG0JmnU"; e_proxy="AcKu2G79LXFWISP4XY2GRWEoI02TMvAdGPBtkrXLXwNZNnF95i0eoscEgYwiRCUX4kKF2QULU_M8Kxw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/21/2024 11:33:31: Error on send one message facebookId => 7351365138261358 02/21/2024 11:33:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A3bUDMHr8qatlVRAGj4oxAL" } } 02/21/2024 11:33:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/21/2024 11:33:34: Error on send one message facebookId => 7351365138261358 02/21/2024 11:33:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AjI0LwGb04WQXCkPQItDZ2Z" } } 02/21/2024 11:33:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 11:33:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5850703, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKAcBYA7GcjzJDDbLUBSqgR', 'x-fb-trace-id': 'Ed1a4mJ+6aX', 'x-fb-rev': '1011547164', 'x-fb-debug': 'z6o54yW308azyUoKj1U0mcxp4LcOlptcOJSKmszZ25dfrv69rMh9to7WsAwzkVBIyA2yEdFvChBqMKdY+rgsOQ==', date: 'Wed, 21 Feb 2024 11:33:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJYx1qg0F0Ro3QJ9U_V6pNYo9z-7gErT7uLdm9EPHMrEPAwu3YDmeWwMe6N0_TB9nAqO4CADAS8u4ULy3WmN8712uZNe0jXCvCd_no3R1xvtI7J"; e_fb_vipport="AcLDxq0J0VIr-BR_u_iA1WKIlDLA7jxmHG4FIdACCnWg5IDQXuGT0uuM8upT"; e_upip="AcIc490ujod88axoHrQj0_ZO2liQxu9Cuhxz7YeV815XzXJK2TsW-_8z9mja9BDG5ddRXsC7F1OSgsFAYzbnfRB5MrSj-kUTEkU"; e_fb_hostheader="AcLNerari6OfIVdeSnww4oryvmoM6mnLPkgKy6LpmbEX7QsGSvMyLhe6znpSSxVi4_EJgPXaSlwhZmq5"; e_fb_vipaddr="AcIIXn63SQk6Ws_DVpSVClphXe9TvszefczGoO3U7o6UNAnUnBkZyMR8qS75LSojMNKwSb13MYmT4285rv29S2hIbFCGCM5ing"; e_fb_requesthandler="AcIlHtsf7YKUKnhgpfQwED30zfT2TT1Vi9o7RSRBnskSh6PWWe5L5u1IWaw14KU621JpspBG1zQ"; e_fb_builduser="AcL507jx99iBWLQSXpSZBGJxuf5EyK-x52BoFVN_p_N_Yw4si5Guij2V2UFXU2C7SVY"; e_fb_binaryversion="AcJyEpEGxRFj-pWyGYsnR9uBcvUDDV2m4hIB41Tg4RLmschu_MDU7zcdDpPCBb42ul99zMGqq8HdZ6EhKMV-s_nblYknTZgi_S0"; e_proxy="AcL1HtkCrzfLQSZX7Ptx0NXbUi0Al01zyNHQSbA4VTGaTCCenIoaMpxXgbYHBUIbRx3RDXsymh_u8QzduJi3", http_request_error; e_clientaddr="AcLsRkaH7ZP1ZYaHCmOW4kA5IvXhLp_R9dvy0DJS7kLrvagKpOVICvHHzsYzRBIfrSE4npBzVjcupy38mQ"; e_fb_vipport="AcKBUh77DR6KIwRQ0dBvDlTg9tasqxONliNLNYD9P6NOb4Hg07I9QVFc_-o9"; e_upip="AcK5cTa9l7MhlHkwPpUAipI0n-P6nHcE95PdWiNfmLJTUVB5nQ812RJxGlFehx0mOWBvK8rY_kkWbKCLLgH70MX79wM9fTzJmA"; e_fb_hostheader="AcL-2nySXA4RoGrj4qDtVh3K_I3mMriYXcQYpmiPqvVoI5aWTfdtq27cfq8WtOXNqtt3NekGZDd7QQ9o"; e_fb_vipaddr="AcLcqhixn87efP6X0oBZUE_9waqVKrRbZ3MhYBeMl-Eb_KQU6Wxqc9MoeiF3h2zQRwfULpjWyQ"; e_fb_requesthandler="AcKx0eY9OkeTI8pIoymbB5toBsBrZX0aPftpHr5jHdFOtZfiLYKq3n4v0rVTJWCEsNkdbIrtcso"; e_fb_builduser="AcIf3qS_hO1_WDa2f5txcQJKtg5Khccsut7rsb21_ZcFXOQUqSp7aCdqJNVEM4bLKjY"; e_fb_binaryversion="AcK2FPwFBSUfSmol-CUfocIjmImeWNf6PSdBheD0k1lotOyjdPWOpB2uVnI0qxDMvQ4EFKd2_U8Mp4liYJoavQG03Df8zDuBA2g"; e_proxy="AcJPa1U5J7BzKzPUPQROqGZYmrwcUY0va571_LgHLUc8r96VXrWbsoLUPaKCaO3HfmCSczpJiul_Uww"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7351365138261358"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/21/2024 11:55:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:55:33: Error on send one message facebookId => 7351365138261358 02/21/2024 11:55:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ACkq3yY4fODLcVI1fQ5_y3o" } } 02/21/2024 11:55:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:55:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 11:55:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 13:21:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 13:21:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 13:21:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 13:21:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 13:21:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 13:21:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 13:47:36: Error on send one message facebookId => 24803123219331094 02/21/2024 13:47:36: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AaubMgGNhcbH5fZ3Sf_p5u_" } } 02/21/2024 13:47:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 13:47:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/21/2024 13:47:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/21/2024 14:00:56: Request bot not found: { id: '425997890871688' } 02/21/2024 14:08:35: Request bot not found: { id: '320637341295349' } 02/21/2024 15:40:32: Request bot not found: { id: '175778962849901' } 02/21/2024 16:38:21: Request bot not found: { id: '215725838493727' } 02/21/2024 20:02:05: Request bot not found: { id: '215725838493727' } 02/21/2024 20:24:58: Request bot not found: { id: '215725838493727' } 02/21/2024 22:26:05: Request bot not found: { id: '215725838493727' } 02/22/2024 01:31:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 01:31:38: Error on send one message facebookId => 7351365138261358 02/22/2024 01:31:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZKmoWn0aJnwTmGIkYkRbyV" } } 02/22/2024 01:31:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 01:31:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 01:31:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 01:49:02: Request bot not found: { id: '215725838493727' } 02/22/2024 06:18:52: Request bot not found: { id: '425997890871688' } 02/22/2024 13:49:37: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7381181145272441?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6123931, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7381181145272441?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7381181145272441?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7381181145272441?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7381181145272441?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Acs8xmwQIiMYD6o0jh-HSg-', 'x-fb-trace-id': 'B5lZyHQDcC5', 'x-fb-rev': '1011578899', 'x-fb-debug': 'ylD5d8P6GzcO+1uXJVIdP/UG9FHMW2rOnc7CGe0TVFPZ6Ju1ql8r/xYIIqgR/4aa+Mapletkdnges5LY8A7HJg==', date: 'Thu, 22 Feb 2024 13:49:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKXp69DqgpkOWu5drc1C8eYCnodzDX7LMOEYgoWtb28NX3zvEm7US3kj2hwWrwQaB3tYyv8kWVlJAz2Nnc7inRXR-SnBPVA5Cnofakf1ChUuaU8rg"; e_fb_vipport="AcKeTn3aH4sQS1lFVBkqFlukaAotGEjmQmbAJTvF8RieaJsmI5JnG3NUWNU0"; e_upip="AcLDEWef4K3CbBZwNYpy5pBgfqCFTXC7a96l-9ZF2JhK0zU8A0VMbcnAkUx-iqxKr7mEnlDaFi1yBOmk9vbedFq7AjgSp1PKVjE"; e_fb_hostheader="AcKvZaUSlvb8JfR8Vy23mYJx_6OKcQ-ZtPN9fFXXax0CckNM1K0vNBRA05UANISJbAAKq9FlJiWIQGoJ"; e_fb_vipaddr="AcKHEodBlcYyo2MBgdg7xsG1Trxy_Bf5qvPfZM_ByU_G2CVPH2HvAqptOjfwCZY2wJm7ne2oeZIVjD-CbhxdnpG67FeEz73J_g"; e_fb_requesthandler="AcKRuEQU9Yxfz5nos-DM3hxRwlOurplw0g4wTRsJhHyDKffbitZbcVbggqqJJrRX1wZKdHCA9v8"; e_fb_builduser="AcIUU4gPkaeDh2A5y4gjBNoW9hGeiB0RwrUarZ_mh0b1J8dDuDXqqVmFCcaWtY3nd1A"; e_fb_binaryversion="AcJeUZuzthNzS5MzglxtA1T__OKo6Jg4sVEOikWVyKuH2ItwPFHFXVH__pmXL13XQKCx9GbqqhEb9ebSKpcTooAJAhLnmAQ573I"; e_proxy="AcK4xFOpq6376vV7A95syNotil3uI1QPrByvpVUMGN71cSKoEvUgwYKuxoY0FlyGrm1GuL0T5uuea3VlHHT0", http_request_error; e_clientaddr="AcIqPKwQ_DBpMuJo3BtgvB2s1CXkLErRaAppEHTft70PHXa46iA5LoWDk6roJ13xltkts7MdWJIJY6KpKQ"; e_fb_vipport="AcKvM5UVRS24gyAUlWM91ThYJPFxuLDfydcqnNCi-xroHg3O7jb8KK4YXPRT"; e_upip="AcInuHW4cWL3v1l26xy41f2-Ax1uLwFowYmtQQuTdVnjjWHDk4E4JH1alvn65On4BphqEfvc74_fKNMUNhl36lnPdn6OyXvGWg"; e_fb_hostheader="AcK2ZnvvMhmiwA18CrLhUOnbVAbfttHmSzWXeUCCQEa0kTPo5eltsNpTk-C5jDdDWBxRW3w5GSDKnMwP"; e_fb_vipaddr="AcLZXSY3lmdxkLrFCPhHK6sgJ_n22fnrytn-A0SxlaZJLss2ZVnc1bRhnoSmpMKPwlKAypA"; e_fb_requesthandler="AcL6LRF97EQ6Y-ov08bl0MzFBjyRC_LwXJAEF2lpA02R_YiucY_I0wcgYmA0CVaXNSAarDLpeI0"; e_fb_builduser="AcJkjYKa5TI2E-oMUYRMyuFMl0tuYeLgd8GhYVD8H_XA9-B6_tjHxPfHHK12bE8AKoI"; e_fb_binaryversion="AcLB8pO4EiGAa8EsIbxF53q-GLicMSe-1tejvf3cIbaj-S4o5nF7vnRTkZteBKEn1jFRDRBKT8hwK4nZZfqRgFDKvIv8UamNmJc"; e_proxy="AcJU1GpP4bqPgHYQC6SfiqtAn8IKNP6i2X2r7dHSRcx4ezFij7QAUryKK0q4Ro7tDyakh5bf-i2pneo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7381181145272441?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7381181145272441?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7381181145272441?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 13:49:37: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 13:49:37: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 13:49:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7381181145272441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6124049, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A24_6PJZTfbGb0GP6Y0Lcqj', 'x-fb-trace-id': 'Ec6VhmTnoob', 'x-fb-rev': '1011578899', 'x-fb-debug': 'xIsYjVPFRmbleIhotpzvDWJ4IQLpfD+ZdbAD3JCh7TBXlsYvEL7wx45igf0SYVQyE+2P+g4JPxB5PPRpBnK1bw==', date: 'Thu, 22 Feb 2024 13:49:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIgTJmo18-N9p7F3fUjer0KgMQQEc5F6ifPTBKlRnBTZ_FGLsf5UOVk8MaYV9JSoXp17NllDRb0icrfEW-ht7HjPR7rA8Oj48kbxlnwPcGSuvQo1A"; e_fb_vipport="AcLhaQ9zhqp7CHuCkb_wSc60G4Rm1wCRjXtfihk5uG-jc7Ga5KKUunu2nr6v"; e_upip="AcJukx9HHh19k9mnGShlSCZaQOwx4dMAUPHy74WS1RkDtOxhadT87Bo8kYD1120tXwprNlOGVZl19u21IYQ32fUI7gvXETU0vKU"; e_fb_hostheader="AcJBwOyCzMMEujdcJHRkqOf9QSF071xYqRN8oK5BTMtbbjJz8VTps4UgpCgYuYB3LfXjpzM3WQfvBu4q"; e_fb_vipaddr="AcKeZm76Tt6zVt3-v8Xl6AYqgeiZsKJPeWc9wrrTqUaB8zCGtG0y_2Zgm0vawIRTLi6RkbTfK1OoW_NlBgA3rTJPqDsUEsX5Gw"; e_fb_requesthandler="AcJ0uSBpCLP86XovhLWumt89OkVX48EqwFrqp9oXQj4Qoz9bL36lVm8Z7pa0NrzimETXJ8vqoCw"; e_fb_builduser="AcJYB5J1ITZGm-sVNmCnUf0VH1C9W84HCRzbXcnJBgGIJVUKKLWvH_m-KKdS9j-ZH24"; e_fb_binaryversion="AcJJCbx14yWYrV7FvuDXDRmo8hxO3Uw-VKH7s6XGQsjlVL5DUOzNCn0TmQRu6N_kZTL053j1esMCb4UgzDirLQ6sXyrs0LW11uw"; e_proxy="AcJcMTBAhuw_vDxNVddDpnua6dUM2In6ozdvGtzrTHx56r8Pe3qchexrhHyJXhep4_MszjPnegTk6tKtsy6G", http_request_error; e_clientaddr="AcKzn_EZX7sq6X8ipx-asiQ8smP0FPMvUsIGVMQx0xFfvVU9--S6VfB6aVFr6omni6suBGVXqBxJp5X7PA"; e_fb_vipport="AcJov8JnPmOrRmUHE2_cVKBkmDjcAAF4yZB1GizvGEUJdvwsYDzSl62T6FmJ"; e_upip="AcJ62mUU1va3ORHf8VWhb9MJ2trxrbtjy_YmrIqH42SUknOPG5dk6EIb56ZdaALUhvc9pb_BlSvlzpP6O0xvRLfUjb8H8QOGjg"; e_fb_hostheader="AcLEUXG6PeFvJmy8u3y4AbTk5jmjjMu3ySdEP4ZwrjozBfKd-lEY1FvVr0lB46Onm5WJskoBTl7W6zLP"; e_fb_vipaddr="AcKOSgF3Na6aSj4fzOjg5DHj5p3IN_4KmtQablYUJRpaGfpeVWNk6b9jZYC9wGhO7-hDaRI"; e_fb_requesthandler="AcJRv7zcn_ceWPyMiDqGx1OkdoM922qGvnEMGmv0TsrOVG4296ugq3rbK12z0cWzQ5DthawJL6I"; e_fb_builduser="AcKyO8qNotjT13vSW9_whw85knaaB_l5goIIxGckLD6ZhevFZ4z51PkijDDj841y3G4"; e_fb_binaryversion="AcL8aJrUB3sIo6B9fNShqj1Ang_7FuPa3yR5pKtAJl4XFxat1W7mOmMtllgDOlgFUdvArLhDLkLU9YEP2hlBv6ED9sbojbyZaoY"; e_proxy="AcK7MY5qRrQ3XUCdlpUMFdHTByDIsE5uoMDHZ0qdYn4G9WWQ9rB5F9W9JlwHdI4T7mMW4sWeCdz8A0s"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7381181145272441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 13:49:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 13:49:39: Error on send one message facebookId => 7381181145272441 02/22/2024 13:49:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmkM9zY2D8XsM7tln8lfjxP" } } 02/22/2024 13:49:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 13:49:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7381181145272441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6124131, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVxkY2p0otaH5d8IdFcEaEb', 'x-fb-trace-id': 'FD9dP+0z2fN', 'x-fb-rev': '1011578899', 'x-fb-debug': 'godzSYyBdrAM4gU3zqGtW51w8VCo5y0unqGAX6MjMT2XMvncXXu2lbsdXfL63OYDwjmIAn4ZJXaF4KwuxBavZQ==', date: 'Thu, 22 Feb 2024 13:49:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIsP1NZyGnI2kkveSvfqmiT_FbZ-TTN2473Vvpe1_XxxHYYFt1hK-bKnwHi3jUySbutsTfJwMh0ft4b1VRgpFMP7YWdxBZEZbHd7u66kq0hil6WeQ"; e_fb_vipport="AcLrIjbP94Hs4ARjl-aZjHSpjNQF3MwhSEKer8pIwfqIlrS1_imvkFcbzP81"; e_upip="AcLjeiKeB57mvA8gw8Ve9GjNld7jcrtKfdmOLuEqTXopwRNe_24y99yPLL5Q7rjCEgqCgrzfeFnDCGZLUPb8bU8C1071rL8eTw"; e_fb_hostheader="AcKE3FTflnOZQYy1OSEIRTdupdr-x_xCsN-1NwLbltSfP3HMYb6phRQhIimo2f3BnJ_Qm2IgQ3JWb02n"; e_fb_vipaddr="AcK2Qtml391QjOstc14mILLZQ52LfpNitV77-4x4IvLViVsYUaqo8owHZfP6w3rvMkuK_L6kdI5sBUfezuMKX70-Eg2X20t7RQ"; e_fb_requesthandler="AcKVuJza6Z9qFD_CVQb3D_FtqzS3QtRvDFG9qrJlvZ-mFulJhXRAXWPM-9W96lognh0HVoG18BU"; e_fb_builduser="AcK6sbD_EabJ20-b-MpoO0iTAdxi00zy1G7D__GkwcLFd9Ii1MxoPAvzwDueEO_HeUQ"; e_fb_binaryversion="AcKp3xIuaJvqSGl7DKxKLu4gJb1cOOW4vUYHmJtmOrsGYdnwasYGclt6xGWWJjtqXGwRm7X5d_9WNNL38xDHMTSg4cwylIIuzPg"; e_proxy="AcJnNFGQ3Pyfd0HrOpcmSVRKT0gLccQOhWJBbt5ZYtmSB8eXM-c0XJOmAvlSKQLlN44h6QEPcRLDIBMhtTzU", http_request_error; e_clientaddr="AcJTjfEq12VNnqEFULxrZeSzjO6hw1TXobPyr2vti1rGh-2Olx4HQ0RFlZYAdu7E7C3cOiL2JpAuFzP6Fw"; e_fb_vipport="AcJnb7-Y7GeQ6_TUNbAyQULMtcsYUGmSg0YcvPUZ2JuRfWQoZ9KjXxvlXg03"; e_upip="AcJcZ2FRjsab0MH4_9pk46tdtAeIJ6xn_UvtQ6kxNTZ69yedWUanDNFHsSJGISK7Y0uWErbGYAzkDx0gWnVObx7svf0Fbegy1g"; e_fb_hostheader="AcJI59RNPc1bd2S6ImDdnhpTzreSLgmSFQd0q-C8wph28qoUan-PfkH_A7yc630s1DqK6JmjkGxQBADs"; e_fb_vipaddr="AcJ1YRrGu86qGCGdYi1QVUyuhlzq6z28hGdlEPmikkPjhdfWs-pInghywNs2N8ty1nku2yc"; e_fb_requesthandler="AcLRHut7UGbA-Vv1s6WNkJxst6uOHwS4-a5rZ6h7vvi0obwC7H2wmnQ4k8o_ULnJaoD_3ri2Jc4"; e_fb_builduser="AcLFnGQ5SpMoy9h8iQ57_bit8f5ytBs83VU0YRpmAOMSEU_vmiwU4RbwCiCrfLIhfyE"; e_fb_binaryversion="AcLUhXKGaaw6R8-yxOKyBGofbicnrqvIjkkP4nH8I-hrBukjtp6ab5Hv8T1XA4dTa4nubjmo0tb7lV_qFYK-H029T5OMxQs9sVw"; e_proxy="AcIU9G2s9r9nRG9B4RBlirHH2iplZTY72_YVoPpKMEJR2GQ9jNAHub1WLOt7T1CPvt9evJodFa95vEw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7381181145272441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 13:49:42: Error on send one message facebookId => 7381181145272441 02/22/2024 13:49:42: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AOoC36PyNgYexV3lAiNT-su" } } 02/22/2024 13:49:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 13:49:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 13:49:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7381181145272441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6124270, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEHZicrbxk07T7mXlS3I17N', 'x-fb-trace-id': 'DFXhc044vz9', 'x-fb-rev': '1011578899', 'x-fb-debug': 'kI7BBzCMYB+dOLhyxAp46roHQBeYe888lVMVkcVWAz8LptrqjWTHcyrgRY/K6DcNbHX3CjfygEzj7FBDhv36yg==', date: 'Thu, 22 Feb 2024 13:49:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL56trK9xO1KbSqcKJTtf120Kr6V1kTwWfawb6mD16rnLPOzcNLlAdDuV4k_DqaoHT4uB98U3xNjUowv61k6HnCzsv0gxY2CvUIiqrQ62WYmjqE"; e_fb_vipport="AcJsoNDMkipkh45WBe5FmqXO6-4dAdChlzR3EBh1WGGjA5s_txHPKNLRqqoc"; e_upip="AcIbzjCweXWX5-SxOQN6gBqLgHiuzsJP_FqUumtr0cPOJB3XyP72AMKOIhoqG6NfZdfB6xyGrrdzu5NLhdrtRhpcn0flX2g-nIE"; e_fb_hostheader="AcKc9GAj4Yl_-xumFdI5e-xAnhY33TUNrH_easY3GYvsEFE5XRxwhnpbg9C0Knm0uGYp3nHK_DZ8skO3"; e_fb_vipaddr="AcKAIl-R8Qfchbpkm2OfrdWIQcSlKRmmhTUKszLTQAC9r1VllBe1-N-PW8yHBOOsewht_tRn8bJ32-MHhgDBrZLisP94xqdYEA"; e_fb_requesthandler="AcIysYThreSQAUCbyPcBqDcic0lsIIE7IjnsH-9GUqAqiMHatFh0wOAqeNQArsJEzzODo4fh9fY"; e_fb_builduser="AcJUcL5hfGRMZCBSinOr9VPR9NUCsbWvWcIOQsqGAjnw_uTUHcfEL-vWwoH4VbX5zUQ"; e_fb_binaryversion="AcLPg3roMreUbuJsIxD0N-Z_l-gzB6yYsT17YtkUM7UHGZ9jNFCCneoWmrIBnJ_0N8m8Ut2lDspSjflKuXHsJaJVNYMHA9jnhQg"; e_proxy="AcL103w-BLkTdbMTyDcZEbkpgfqoxwEoiRfNuIAmOW2iIYzyiIFE80wvwOQk7VfO817yT8NGSwo56EWZNqGA", http_request_error; e_clientaddr="AcKfJkUrq10sy47pfIs5a8zTXzHfmip_7mHrSWa74YkCY8H1230pBc1OiTg761gvUQc39-Lva1QnZKXKBg"; e_fb_vipport="AcKGUpuHo5HkjYyXOqErVMjrLhovPWJ7XRC9kR8Bk9jBFWSxoXweyRG-G8rS"; e_upip="AcKvqXz4rgueNOCHk-ia4e4FctB6KHu3StjZE2aH0OH3LaLfUx6hacG9glb5plT8kHsJ2poY_lH6MD0mM-9Nn2EjIt89i2Xs-g"; e_fb_hostheader="AcLEPk9MWF6aJpSwUBcD84htTDyE-Kx03FY0ghndnwK3b2vrP1xDg1o-O8fnwGeVeNZK3QY68BMB-mDg"; e_fb_vipaddr="AcLSwUKye1lV58dR30-Zdfuu2Y2zs9rN5qwh7V24FNiMwiAq0Aq5FowtUnbfSpHneS4MXSU"; e_fb_requesthandler="AcKj5zWbm0eq7H2tG4V6vpJZ6p8wqsk7LTM6d6lDFXDKnWPfTSkkEgEsC14HFhUXbrt2rodEMmo"; e_fb_builduser="AcJdFxBw2mDp_M58Sm9kpplwRVyZlaCTgH_l4ofQRLMygCWwCUXKUA1kEz-P-FFsPRU"; e_fb_binaryversion="AcJXDJT8BM1LqzwNk5zeEDTAzf8nMZ8xt4ft1WVmUwhNQRhnDAN9sEjWicNiVe7fORQ_0GB7A5PzdyR8MzOEI_zBjMpMzrT-Z7s"; e_proxy="AcLrzqyUBmgoanIdRI3cGbkS-jUKVCuC0XbpDsRNZ_IFAwve_Aeg3Y1b22wgXe4XDDBH9agA1E7oQ0Y"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7381181145272441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 13:50:05: Error on send one message facebookId => 7381181145272441 02/22/2024 13:50:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0F1PI7aF5PBzGDGFmggYyh" } } 02/22/2024 13:50:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 13:50:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 13:50:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 14:26:56: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65d3c0c5d56476556c903c59 02/22/2024 16:18:03: Error on send one message facebookId => 7381181145272441 02/22/2024 16:18:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AvUfCNjlo8oA2V3VAtit-yn" } } 02/22/2024 16:18:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 16:18:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 16:18:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 16:25:44: Error on send one message facebookId => 7381181145272441 02/22/2024 16:25:44: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A-LbtfFp_4efJUKlv8NpYdM" } } 02/22/2024 16:25:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 16:25:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 16:25:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 17:28:20: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7245645618834075?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6171450, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7245645618834075?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7245645618834075?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7245645618834075?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7245645618834075?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsT0_nqxCYucoIe6abvw6nV', 'x-fb-trace-id': 'GkkKaCd9m8g', 'x-fb-rev': '1011580533', 'x-fb-debug': 'wCe7j2Of+3cyTGMsiwdALr3ZSS4/2HSyriPG0bNodWi2naRxAvDec+a2Ue9DMm4j4c8VEPx+AomJEqjfEcBFEg==', date: 'Thu, 22 Feb 2024 17:28:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKx_ZWTL74wNUEZToPdRkBsBS8Y-6OIn5JEJ1tjkjBNyjITutSrTpbGWnxEdJLvq3mxbbGMLFh_Qk92fJQXznkPHgzNQTokM-PBdeNQ0WswDTY5eg"; e_fb_vipport="AcI6syfIK2HMGJh-ehXkEe3aFs-STWdIHgc68aC_kO0ahvMEPUwdvlanPxSd"; e_upip="AcJ-f2EVeoCOo31Y--4dnwS-CO8Ee6gbBEUvA36y2DAS0RnSqK7gHq--9Wt8v2RZptcnwCvt3pE7_2qL5l8t49azIXK2I4pXFw"; e_fb_hostheader="AcLK26xEEpbvIlnv2jdptIA47niCg7PLSA7Puq9Wuxxh1CfCLMSHoYXltH88t6HSHlewSDP37pc6Fmqa"; e_fb_vipaddr="AcIn-Exbt9_jOj_ZVK4jQVI8PRgf2LEgk06WxKEexghJcJpGJBOIBsajpFEDhAOlqcLziE3E9yQNRNYipNwzWMt4xftW4CqNdQ"; e_fb_requesthandler="AcKSSteZg3G_H1f7mxtFwMkk5kjfkRMCW71AXmef3o9lwhpM71GiRAyGzR2iK3SBkZGfRGtF5bc"; e_fb_builduser="AcJwcIGS2h2PMxdY3KoNDPoeswLeytDo7Tbgf_NXK9SDjW2FaqjfPQzx9EFxk0LTowg"; e_fb_binaryversion="AcInDzUzOhtuPpKREI6btdC4EQITVOiTTHMcp_po7zD_vX0bMTlNywq2jHyRDhOZBMMSdtaCKV3rsypdQflIn5qwC3aSKmuQJ7s"; e_proxy="AcItKoTUNW9nWefYqcj76XhmZfU4UUunjiWOE3ZrLhyacz5fc7Jt8alFGIxPTVHXgQtzVA86LbnHD84qMyQj", http_request_error; e_clientaddr="AcLKVD24LZpRFjVRNURLNTU1YGfPK9wW52iSpi8-w8Y6Agy3VkLcRrl4u1PW8p70ewzPQAQJ0V6qce-5ZA"; e_fb_vipport="AcKawSDOrDGNIEG_KVdNrgBpSZo0m_kkzz6fA4dLDouRa9ogBqPuf1pBpD8W"; e_upip="AcK1kb_SRRKSTXBwtYvww7elFHBy8vt43b1NqjhqhlwXpPx05A_PN764Hr4bJdhEK99CLMnsLTYPGREFb648dX3WbZHiacg6Jw"; e_fb_hostheader="AcIw87k3GcBi1Cqdu0aKBSUBzXRd2RYc8p-ZCKHtrjFpNPMfLygMu2WxSKO-sRQv4w7pVCtXxvKlt1Rf"; e_fb_vipaddr="AcLrs9VMBEpk8Ssp9quYWr-eEe0BsyDpVa4yT1CoY2lGaRqMFev70XplMCrjMegoJHcxr-Y"; e_fb_requesthandler="AcJ38X7HlDq0jryMPH4YVm_gCPF0fMMCyoZ0Jed69kafCxL-pP_Hp6Jx655HKadX7voIi6fXNHQ"; e_fb_builduser="AcJm8tApTZo4FbfrcPhlYw84sAjpF5GUNpb4kXTsYlaG8kBSDYkNzTUSfWDxVP-IANY"; e_fb_binaryversion="AcK8karCNzU_ELvnjlKzCUGVDH9jnKeLdFuH8gApRniSV-jQuGU8PnEuWzP4vKaDi1dgPtiR-lGvfBXhW8vGyIhxXD1nMqoyeqk"; e_proxy="AcI_RO7fFLWVU5wk6jCjQfcO_t6cVgEAgRNCT5KWQ6uUTUmJm2IUWyp1M6DgraoRtiuvhTS356R6ADQp"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7245645618834075?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7245645618834075?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7245645618834075?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 17:28:20: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 17:28:20: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 17:28:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6171568, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOaiBbPI1ui1of4U4gKH8Uw', 'x-fb-trace-id': 'A+6kwWEaxvm', 'x-fb-rev': '1011580533', 'x-fb-debug': 'Qmy4IB3TCL8tfdRyQCApaYDG94vOjAEXLmwLaZx7xLjerG1OhKICkOYxtN64kpJIP4bJyD0AkgLUh171mr69Hw==', date: 'Thu, 22 Feb 2024 17:28:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKRb3-2KI4STKgslfMOrpMxIFlbznl9jsiIXuMPeT7lbvFJd0rAl-GtdbMZTc5mR7Aqprr87rHZ_F1Sfz6fjb6b61cxlqONm2cMPUXG-UaDOEcuIw"; e_fb_vipport="AcLQ0F2D74Q2jHL8g46pqZG_McCAgVRlQCCMnYdl4sGyul0TQZNkMbmPi9ol"; e_upip="AcJ_A0J-D2pZgaPY8t7N21wJn1VPbu9teOcXlCtEgSOMqa-rZYZmSLbymYbHE57Ph_BNAgOAuwatahX0hn_DO0_LXHDDBx1U9t0"; e_fb_hostheader="AcLULrkS2QHrZ0umhutVmYQW_7OCe4cvJSmU83Cxd28RN2-uvumEG2lXpYuqgiI_CMvMMkjhAXl6f59V"; e_fb_vipaddr="AcLYX_SvBW-Y9S6HVjQWbYBsTxB5L7heLs_w0-n80GHb-ofAca4n6AUjXpbyBAl1_sbsKEUFohB2qqqy5FXIgcOwbJD0WI6n0Q"; e_fb_requesthandler="AcIuzrxDdRNA-0BAAQ2LRPSVpONupqBYj2uGjJMB_JyvHTStGjVN2dyHxBLNSV8dMqSpJZcZB4g"; e_fb_builduser="AcKqRedVix7hOQj1bfON32bYhx_FYpKaxB9Pn3quE-_eorwHh0YBNh7R_MVEp3UnGtw"; e_fb_binaryversion="AcImCUGH26NjiBUukIFi3xygwxDuFvGL2BHwc5WBp9bpMidi_kbeNiT5vu5cos_b5BsTvHWKQ785M4jVcuMWTtu7EfKWd6keg0A"; e_proxy="AcL6QvbDjr5gwkG16e5-0q3DFdQWbngmkHPVpdfiFtP74AbzxU-GpMuJohexqDBzqwU3-Ae4fy66xVbB1JMC", http_request_error; e_clientaddr="AcIxk_SJxX9SC1vbQ_Mewajt69HjjCHE0nE3FN8BmkN3RwvsYbrD7FW5FW_W2EB_EM__d_CjFU7Fn4LGyw"; e_fb_vipport="AcLlPiAnJcPH5wFqwRhjb8jDNih0mkC4Uf249NF5w_dWlzY246LVRQK_1a7N"; e_upip="AcKTcL9ui8gWqYdzO0rbzpfRxaXIZ2rYwAfULSx4JX9FDaCSkxesHc0LhHNKv_SJ502PPf7SKeRNmSqsnzRUbqFOtbe3_QupiA"; e_fb_hostheader="AcLm4TNSoW-27evBKBvLpBlu7AfLYYvsOCFOhbwOE3t1eLhrF8OYAio45DloQAY9yoecXm3CkBNgaVA6"; e_fb_vipaddr="AcLkuCUyK1heQoS8MN8QDXIbG1liS9DX0ieSC4VBfUkDDRrCpG9WnGXKBq1VM-XIeKHlp9U"; e_fb_requesthandler="AcLVsO13NU0vX3zgwsXficuw6v9xJCg3_QaNWKMHQSRIQA7KQ_-n3PtB9EqqO37sJml4H-NxErw"; e_fb_builduser="AcI47_HBVqoK5nwuMheWm-cEhbHuCGYNOZZRCShVkIeJ_x_u103tz7QslJev6hxzF3U"; e_fb_binaryversion="AcK7weB5oXL8xa9jaDuNqxLSxg6zjBmvLAGHHGaslGe1BEhNZgYrP01cRTi84uSNLql_Fvk6idH2Evtd2jeDbdit-3fFBJzVsy0"; e_proxy="AcLB1vyZFAqK1VdqmvXFLy6-Ka-gOAAMT0X0xPRZWOpnnI-3E3aCscE3DoIAUckR17_0lk7Swb0N3yU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 17:28:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 17:28:22: Error on send one message facebookId => 7245645618834075 02/22/2024 17:28:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AHhRha12ZS_-2NzpeglC8q1" } } 02/22/2024 17:28:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 17:28:24: Error on send one message facebookId => 7245645618834075 02/22/2024 17:28:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AsdlB5fbvDX98mwvs4l2QiO" } } 02/22/2024 17:28:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 17:28:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6171648, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ab-S8QPc4iThueViktB2-1M', 'x-fb-trace-id': 'CKOR1pKCw1P', 'x-fb-rev': '1011580533', 'x-fb-debug': '9u/55tZE0zPUcjkr4QGgokrb7yijinxkgBUK6Oo6ln5dFdkLvqKcMhjwwYMRItz95rxLz0eNSDNPlsoLz0drOw==', date: 'Thu, 22 Feb 2024 17:28:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLb-kik2BtYy5mxOv0VvLwNiJJLvwKnOOzCtbvDSr3Pf8-PX-O2-acLfEWiQzstkMf2_32_lDBy8uVa0uKlDorwM3NsTHPz9OT0jwOiLSgx-vtMWw"; e_fb_vipport="AcI3olWaJj7vFTiYuYnXkS21RWd4LEfyk1jQqlFge7gwEjI2Qwb9SYZND39P"; e_upip="AcJyVH9CqbCPhUh5V33jfg8q_m2PFI8chj9haHntWopNE_op9QUNIEa7yDytxdNodB_keU1UZk-VIinl2yNq5Rhg0L7WXFYNSgM"; e_fb_hostheader="AcI_HAvbp51TsbjwIfdaBeWAnfUcSv2IRLT9ZURR1d226CLiFDq-RnxpKP2_tuOqv9wKyf0kAQrBDhMB"; e_fb_vipaddr="AcJdTDZtgOFPQPmRnYZVh396VKUSjz5vlUkEer-rEq9gy9YQd1_cPxGhQ08g0ewcHffB1KQJA_VD3T837-zTvfYNRbsFyMCeFQ"; e_fb_requesthandler="AcL8slRYZt7CHAncN8srfiJMvGdoraxCrp1R0WfRJoIeobFjkdaUn0qcHfGbfKZwyQV2xUq9KGU"; e_fb_builduser="AcKCYx1iIDaMfSCuaLjFWiTI3Ndy6SAOUo2roHjclTmSaaopyxk5bP-fB6WDZgLTgj0"; e_fb_binaryversion="AcJEREW5h8JWX-2jkcofoOTwihAQ0mBTVPVZ0txLedkGxDfAPI2DLZkARtK7WNa6YmYR7VBfS221dvfjTaW218y9qO3_WrZFDT4"; e_proxy="AcLVX5gFo5XIOg2uyxgmSwz0dB33i2HtzS4E9YjYzUwhGNJh81ZV6PgMQL-i3bEN16to-wZZTojqg604psnQ", http_request_error; e_clientaddr="AcIUpf9e2ogS_BSl6KQUNMB1eGBet-LOHtVb2IUaNBYpGkDEm31TOT5BawGp98XEJqGJON3oi7lnKOXXxw"; e_fb_vipport="AcKkBPRebIbm1Ar1XcrGfhOe2iu37j7bR-70dI25ub57-ftoiWJ6JKgct8ZT"; e_upip="AcIK8xSYMI2aeFOknAkTLth382WJ7BWX03paq6kue51NQaW1SQvFDTYlg-IBxK0jEjT0_fgZRMcUX8lh5oObJR0VsNuaC6zijQ"; e_fb_hostheader="AcJ6J9RTrJWbBfofKAfNidAV2mlgMBsjxiJ-g4P5KyX9B0XwEpWxBuqUlLjBlM0UW6vcDuDFejwyQf2M"; e_fb_vipaddr="AcKuaMS5_lks9LHBA49t-clmxgOn73dbJcAnsitdLvFfmrvsTpW_Q-XpMxhSUCm-Nl0vljI"; e_fb_requesthandler="AcJMgBHKnwubhk3ejG3HeEFlWFoJTUnXbFY1wOaS6dmw3HHiE5BTWYjUO96GfkvnCn4G9l97ilY"; e_fb_builduser="AcKbsmo16aZ3HqA-1UKh49Q4dDEbO922UvM_mVEXpL9QHJx9BdHdfZFsxLf-hDQvdRQ"; e_fb_binaryversion="AcLkIOaiSEl6KlrRwzTu5diiXOFjFSZn5--YxsvNebiWUKkEH3I-LNpwalJmLXUgqQ82UJW_LbMaJhAdlqNl_p6mUJjsOdXKxVo"; e_proxy="AcLp1vhREbGC33esC8NrsAguLHSoqt52QJmRLIHk5F4eJARNxn2jLWyXaLE0cz3E4YpRho4rpkzzqBU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 17:28:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 17:28:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6171787, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aq_QVwdLNOC3X-keUwU5r-9', 'x-fb-trace-id': 'HvK5+wjNuYH', 'x-fb-rev': '1011580533', 'x-fb-debug': 'LbVcomEUlGogJmg2kreXTGbj7A3Gw/CvlpdStV0JRshusPAwkKOeoNpqG8UXMayh4xlZk0ONi64MzhevwGmbiw==', date: 'Thu, 22 Feb 2024 17:28:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIZA4PSAyoQw0J_JGV0i43kBtS2rcdZoJUh6DhCWmik2YQGV9Kyc_Xdg5Q2KcPZw6egYTFejRkGkH4FHAIOTvAyB8xzrTcE5yX_o_qLITnIJRcs3A"; e_fb_vipport="AcKKjvg2emNI8LMZaKotkOzclrYIoAdZ-8XwHPyzmn9WHFy9tF0vIMPy62gH"; e_upip="AcJbrAUXdqJwvLzkF15zT9bmpIjNFlGGUjMfWiO3aWbXOf7RV2iQ-ohIQzgI3nPNsIHLeJLys9Cb62Vo9i5-STDPi0y7oiKp2g"; e_fb_hostheader="AcKSrBPtKJ_ehzCFng--ScIdo0i1BBK3ZWkKA3wjCiEf3qdBB_bRlKVlJrjSVABbq5xVrjBfQTUv0Bqk"; e_fb_vipaddr="AcIwmq3JzqK6IA7VZGm83HiGyA8rYsoak_MYQfQE_W2CqBXx_Czaf7x1sqi15-T5_WqFeHCc9qvWnZZ-gdHOwWZfgNeMbfAzPg"; e_fb_requesthandler="AcJD51vXdBQQ8qA9EioR_lHTPg6REk462WC8PDcIoD0dnXSSu4LUGJKuQ_1RT7CwfMWaeUflTCQ"; e_fb_builduser="AcLXX7JZAbi9pWanm-vSQbb9RlfZvOvKwsIuNlwwt9SS5Xum-iaWBuSli98hOKbgfcc"; e_fb_binaryversion="AcKyWAl6Si0BIh2KbLmLaSXPAp8ygIU17mrtmrARyjy4PLt7O8_w12VDlv9fV8R8OQXma1r9RuypfXeHPzCo6HEnAWja7WfWDww"; e_proxy="AcID80bHnm6O996AC6jCROFeb_RoarfqnFIo1ersDXWniXAD266vSrvK_5dbRi7ta2ZuE8LjUC9ehvfapGvN", http_request_error; e_clientaddr="AcJ24F75YOUsKWl9JNmncm-zpBYsQ5EogSc8Jbi266fjOVFUe0gB3XFIM9tA2DjYFvlZkr1mnfK0GVZlAg"; e_fb_vipport="AcIDV1libKMZhJcKjY4nZdd01RaYgw5GdjaBL4GMV4aXCG6j2T3vyR1r4aH2"; e_upip="AcLdUCtQFXo5ydgItogCsbrRDB4MzWnjb5PZlj-6RyT-vxClHQeZojwKGvqZoU6jMw89ZUnYoLnxfPLcK26NIQilijgfdPmmxA"; e_fb_hostheader="AcIWk3jyZ2yQwwdF-q5WtwGlL-zojsvHf-8_skPRc5OcxBDaglZHixH8A4-SzW_Jiqy91ErVtshNEwxm"; e_fb_vipaddr="AcLI21o3O1ojaj4cihcLM7McZSYmQpAlHYSAOYhaNFsIIVG0-vLKM5H4vZto3KsxsFQ1N7Q"; e_fb_requesthandler="AcJ9Dzw_rptZhRUrqJqd2M5xWiY9qbCZXz2E3kqTVUoHprsoI8OqzAt2_nE9z-XcjBm7Wopd8Nw"; e_fb_builduser="AcLbAseHXNXd8siFgknNnFxiYINYEEWqeM3fHZ3JF94sgPxnLE10Bq6EQFaU1I-WbsE"; e_fb_binaryversion="AcJyLXCVr6omz_6tMeUoVLNDX6_Ak3DxriJLR26lxWnIkwru-8iu2KC1JDv70iJmHEi7bn-4E3Ax99JWwdoBQHb76S4Y4v8j0EU"; e_proxy="AcK-GndmhJXjQMCovYN5ORmlARQbFbMpcw6V15khOy1x-U4n7dsSKooLMecpzfVEF1WlgtfN0JqkQiA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 17:29:00: Error on send one message facebookId => 7245645618834075 02/22/2024 17:29:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aw-tZm3CpWfKS9iUM2vRarN" } } 02/22/2024 17:29:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 17:29:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 17:29:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 17:29:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 17:29:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6172377, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9tm--Psm3IvBst-p0ChRFa', 'x-fb-trace-id': 'E7xtqcyIynf', 'x-fb-rev': '1011580533', 'x-fb-debug': 'vUOk/C4LaJj1dzU9MbrqoE8hthH8DjcM0JoUhTD3iqXcogX577xDGwmMkS12gYv04cfdcKDs7bjPNQaZxsRL0A==', date: 'Thu, 22 Feb 2024 17:29:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIBfV8B_4oORu6UcxpTmqfjV38ytepFnkSCoHuzTh4WbhyCi-dSPrYMFEFVI1IVQMV5i-ayGVxcW2KoJlZcZ56b8F2cE1Gavjp8-dsjyKosUhoi"; e_fb_vipport="AcJj3USCqL5FIqrk1XifQaYGjPkS5ESE3iWvfHTEDSShuJoPqTudHUZmXQ6W"; e_upip="AcJWeu2eScLE5S-zdbCK5CcQvFddtZMSXZcEfR6a2o4Jc5AiIzCIp5iMKRmhw5IwgKCzCpbzIEp6nQctwkj3vvP3l-v33GipOEk"; e_fb_hostheader="AcJBiwFYSUXd7TXgMtraJd6cT29a3hDE5Gq6pL0vbQrT68-aHFvN-zwcu2ig-d8EKReS4QPMA4agAUNE"; e_fb_vipaddr="AcKYxyIX9WvkTELcPdrlu9lrlpt1gADa0pTjZa94IN_6aSH32ZQgoV2AyDIzAtsySkyQTUv_ZQLPg_9ZTr7RRyRKradXf7DxpA"; e_fb_requesthandler="AcJshS3-B-2XOeGwC7RdCUFIboqTWpyG_Xp0K08FIf_Y9-w_c7d19LGF7HbakrOWWaIZoiD41vE"; e_fb_builduser="AcKKHpjUUKLYDD3lBn74KR9XbqDdZO2vtnq_93-Yodx-OXibOa0F5zmqugbZZejF_Jw"; e_fb_binaryversion="AcIq7ZeB-cMsHLiM0E_7zpWjB-HfLLJxgRwckdxCXOHtVaay53TLROu4XwfEQMHsqxGp-0HHqvTA8toamx8NroJxPP7PsGiHFv0"; e_proxy="AcLi1pteFP-vKaVhDeoxu-Z0nmDfJ1c3pnE0VKB466M0Xzkr35C3P95NPYr42h5YP1auzAtLJ4DokKiAswSy", http_request_error; e_clientaddr="AcKVhbYxLT467d43j4-b7V6a2QcBQXpt_0tMVG022WIy3AElTuqlM0F--gAXKaOb3vDMH9YfL7zOD06itQ"; e_fb_vipport="AcIqVFe0KvUeBK2OCmoGUZFfemfpOPHYyazHAfsomwQwFi5klOHLpYt9jITf"; e_upip="AcImOtgjGWuSYiFAW5CNgtkBWGKsHbXPJ-6Xhtw3RE0C7NSAQiMHJZKH3j43ucn9ET8tJBov9Ymv8JEloC1V6Ln37Dd3UUyBug"; e_fb_hostheader="AcJv2gkTKpH5vx2retQ-L2-I8c8FzSOJb7iRljnbhjrowqdc9Yj3tCcF2Wkyvec3-BD1wjayRZ9MSJbe"; e_fb_vipaddr="AcLRT1jElcu3Dr0yJ7Dtf2P3LrXdEFl1qAN9ESIHxS8IaBhMWv94dtaKYKBtphqvCH5UfAg"; e_fb_requesthandler="AcLckrK8uHcAxyw1MzAgzUh3ydLMYkuoPM4_OueZTxDQxoxAcqLV17mF1sshWAM_NaBnQwinH4E"; e_fb_builduser="AcK93bl_T89QOxLE1tMiav3yQMxzRSgQ-XomKuRv1Z7QlM7VCI8UfG5qELqX05EHRJU"; e_fb_binaryversion="AcLvFCUXZj-joGa81oLGEffEg2IpuYjFC80WoOj1Vm9liOxs1opZ91t0Hqz9p8N6vEJYLSUlev6zSMxu13W-pODPNUujVl4sz9k"; e_proxy="AcJ5LQZ-lVWiN185RCdybMuOdzNd38mefyKeU5qIOxxTeB2f-s09KvWAlTXK2Vi3hcvvXEUj75AD7lk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 17:29:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 17:29:31: Error on send one message facebookId => 7245645618834075 02/22/2024 17:29:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A-UdI2AEFQMSkok5esP7XAO" } } 02/22/2024 17:29:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 17:29:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6172510, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_ZaCgGKB8LIr-U6SQ9xhOx', 'x-fb-trace-id': 'BcDgvaEBTwq', 'x-fb-rev': '1011580533', 'x-fb-debug': 'q+uLRDTJfFXjRy3gfL+Gc4WfGhq2p80+VRlWphVbuq5AdkKbxkngoaK/awapkQeuLapdvgagcOLWxld9wNDQSg==', date: 'Thu, 22 Feb 2024 17:29:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJml8QuboHpUtR2sFLZSdNqa9Kz1FU04WvUCJgGYWM59zgXC38YqoGF9YH7rc37HGpuBj5Emh_woL8mBuIGgu8GG219lynrEa0RyMVwF9_lgJCpBw"; e_fb_vipport="AcLWEzLICfu-XLkDYfn3fHYi6RNJZg8yqlZKtD2Z3C52qHDXOrXVZl-O5wE4"; e_upip="AcKuFXqdE7-_zbKg2oZ2XUHEkdoQ_K6U4lQo09iMefg77LCnJxZtUH-1gG4GJmyKbVQP0r6EAFNHWLqOAIdC2esq6EVx6we3Zi8"; e_fb_hostheader="AcJJX86jLgAe-4_kfal4NBkyAaDHXn-zXV77sTNvnex8mk_2HtFmx9B66fnL3yMFSAn5qHrGXKyEhua7"; e_fb_vipaddr="AcIJ9fMiU_KdzDgOYKje4sFwvyNdFHNnx3_FM9-ZYiEdKpZAZK7zI5Ta1h5FB3C_mV6L72ulOBTJmK4aiaxA9bHT4KaNxeAfKw"; e_fb_requesthandler="AcLXbBGhfU1ksi77I7c40QfmfkHG5rgD_LsdmYCl8qW9eBqEfvn9R8BPmmdQqeRJ7Le6_N0UWx0"; e_fb_builduser="AcIvpRXGIkeH7fKbkAxyCUTRGom-F41SeTO3L7Skdv5BBPRS8OQicSVxmvzww37g6tk"; e_fb_binaryversion="AcJ9xrFm5SbbDu_Qu0P6HunsDn-oYUKC3HPCqBLOfvF60vyTSasWWy91h6LShQq54HJniyTmfk68WBg0BVUawGMF3B7zOeoJxQQ"; e_proxy="AcK_q6N9rI81TFK-FNoTcwjJUI0KB6KB3l8vAk20RCfpz7GUpfOywNFUFy87cEbzMBguGKOhbbG1ZbX7hUA", http_request_error; e_clientaddr="AcJlUp3l4DHDs_di6ZZ_HJ6Xj3n3ijpyCJsdTzhaZpLUZ6xNa7JZLLYuIYGPOMTgWntikMFpPvdfuicpqw"; e_fb_vipport="AcJ1Dy1iZpNwa04Kd0u6gsYBWoRk2mSAM47ouzSlwNcSFU3Z7Cvo918dn971"; e_upip="AcLC32mPw1DEZ23LUtHJx0HdPCtrx8nbw5CeggYqrD7EsFHSztmS6-kHz9VR3Fsg5vjWWVNLR0O-2mYbyzP9I7mY6twEnE0A2Q"; e_fb_hostheader="AcL9oIQFV_Kxcdc_4ylXPqWj9yin4YeUcqFg4hKqmRnlskpURD7EJN1aaxCKkR39HUBIKwVws7EvqBq2"; e_fb_vipaddr="AcL03WJK5QTYPmH0zv2-z5SpsAKW7M8o6d7fpg4xBFULthWDP8mRkghUP1CHFp7ypKvgm10"; e_fb_requesthandler="AcK5MHafCpUaXVVV7nyCYWT_VORN446bLaZTOCRggCGneFmYSIlqFedWPoCa7iyKc6vs8fsGKxg"; e_fb_builduser="AcJb6xYIds0_xOGG8GvQxq3777fKKD288qtXDorQEAH_aKLQtKLz_TWIIri9GznnUpg"; e_fb_binaryversion="AcIWw-vd4XxGikYdezkTCp-r2GKQ9eawya5xaJ-MDjSed2145CDFoeZIlIQzQPVH-ij7AB5Nhm0eAgeqHqL7USsoxi2H57KTSYc"; e_proxy="AcLPpn-6H1uXMVwMs-tso5Oahlp3kYScVXGEcSsr9C8K3aiV05jEcTx5D8UFbjvotdPVmgvXFRt1gLEY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 17:55:55: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 02/22/2024 17:55:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 17:55:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 17:55:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6177076, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AA0KGYfjQZmpRX9w9mQmUWW', 'x-fb-trace-id': 'Atpgo0fJWQ1', 'x-fb-rev': '1011580533', 'x-fb-debug': '/TpNuYaSK7EWiGqTlMn9Gbee+ureo1q3axSUKhPrLnl+CCzPGw6tNitNQvMldzVz3I65Dpw8zkRXzG6AG5tkiw==', date: 'Thu, 22 Feb 2024 17:55:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIW9l2Z1thlssksSrzaOdatUgMZmpWUaC0vRG5Zo0U3tpwKijhJq_3iYYxUtp_f7OdFc-Ici7yb7yzrvyZR3_BjQnx6AJSC9dLQgYq3cHJvsSx60Q"; e_fb_vipport="AcJtXrcbBOBgXKKrAQkfRcZQHuMEmdcGXLt5fl8D4nB0oFs2chDLQJ9AwTUy"; e_upip="AcKZz0xcglpI-rJtGwUCfwPddr2rtSuQxwcEiKYERB0DQxsB277C02n9027Va9KwjJ72v55OdZBDRUSvA78l2whGmGq_thpZGQQ"; e_fb_hostheader="AcJ3HrHvnDn_E0eC0buy5Qc_4MF6Z3cTp_2Jmip6ZkswmqkKsB00pd3aefLuB2tsVyckcUfjSC-s1ciM"; e_fb_vipaddr="AcKAsplYSNm5pxRr5T7XKh3lJ3KXgbnET0Nyo0_nHNKZ61IDgKsP8RiSo07LRcjsFBVdnQp8DMtxCPa3q7XwaVKarqP6HVvIzQ"; e_fb_requesthandler="AcIxtIKyx60pRFTEFmZyaATrl62Vs-G1ZWgVAxY9vhHalkhTMwEwaz0YC1jKizGYGy4dE1CO2OA"; e_fb_builduser="AcIEJ26IGuNZKyS4DDZYRcLpSFoea6IpC3Gt89DQwZQsLk6RLXCr7MbIoJ6tnH0zcdI"; e_fb_binaryversion="AcJhmxdMs4mlgrSPb4UBrd8MuUAQUr2VH8JrtGVqZv9vcUhJnropgenDS9eRIwGYfp3XgjQhttSqnaxAl2I8WfnqRCNvwMnREY0"; e_proxy="AcKp9w49bWVfipgTuHg7W6xC5GI_2RY37K3c8_x_BGrSRhL_9WlHkisINgb5SSFC9svaEkH6wuv1yCiKzc8F", http_request_error; e_clientaddr="AcLGyLJwW9ZHNPnzh1Bjq3zH_Ii27yB6xQXhOOqooA6kXTSwkrloYG745p7DNsHDHFJyNMVX7u4TDOD5BA"; e_fb_vipport="AcJ5DLuUkHXTkOGnQnwvlH1UHwD-8KILZne_TJ8cqTphGG9CQ2snntR79zLx"; e_upip="AcKAL36WmMbBd0HWV8t10QdHN6ZGblkO2nuy_qmJzieX1nSEvmfYJf00HLEOyLEV_OoXOvxetUdedX0dW5LNethayLHR8UMvjA"; e_fb_hostheader="AcLq7wdIi03syV3jFrc0UpREPksjeye5ntYLl00WULEC8Tr5ahaGkuhDi2XEsTuLZDtHc1kMHBJq_jop"; e_fb_vipaddr="AcIEfH_ZK4ArK44ndjCdMA8bj2nDYvfB_7BGmG9eWv10X_NcVmZ_sR0wCMJ8d9b9_AqPa_E"; e_fb_requesthandler="AcKKtPeGqHJM6zFtTinWjhGzIrKhANUotYRqUc4X5s_wkNgYBcbHc7rp55Pq9vO8g4OIOW0uhNI"; e_fb_builduser="AcJ_ewJ05d7CBCMtj8gKrJy0hnPTrWZiDfVcrpIwYE-Nkj_UGqR-PahufAnUH-Sr-p0"; e_fb_binaryversion="AcJDVWI0qYpJPSJlTs8Rq70SPhZ9JtjSGb0A1qoi_CkH7PwS7-Z3VwuKI62FfEe55ZEcrHSK84kPux-Be-NSiu_HeCe-wV3GgPw"; e_proxy="AcJPpI3c9ObdW9iPcfpWIsMY_wMZIN6GDaz99kQil4FeqCWXPerutNVdaZ5JLnZh4BMHHz6sI2B97vA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 17:55:55: Error on send one message facebookId => 7245645618834075 02/22/2024 17:55:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASXbCTYFO5rt_Dl8HaKdjU5" } } 02/22/2024 17:55:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 17:55:57: Error on send one message facebookId => 7245645618834075 02/22/2024 17:55:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AAcMhuAyEoZpu-PJ6HECTnC" } } 02/22/2024 17:55:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 17:55:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6177245, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcnpPaC8lqeg4rPdhMOIoGw', 'x-fb-trace-id': 'Gw6FnVX4Pus', 'x-fb-rev': '1011580533', 'x-fb-debug': 'EzFpEo8VYNzSM7SBR7RnIfk2HXgvN/MYpkzVrwuycmkITu7FaMTZBanPWK4ZopWYCTjR1DbyyJMzf4fSizfGyQ==', date: 'Thu, 22 Feb 2024 17:56:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKr_0-MTu2EkMFRKQa6s5kPa1WDyX5XtUgx5klVPy6nm69D-Dvpl_TOX3q0wMVzZyFpnYxwLdn0GQgeEwVXE7CE7FWKYHHMC26uWFDClqD-uN2sXw"; e_fb_vipport="AcIglHBVKJePLLWGofkiD-DviFwFjLXp7FCxvYGG5TO_hmId6UE01lCDlesh"; e_upip="AcIIwgMWwXHjsj0ykmsZH3eIdlEITn3nbKsI63s7zIKO9WtszNX930NVUgq6lBRYRkSq_66IX5T0PdSFp8qR-COUBw4SeAcs9Vw"; e_fb_hostheader="AcIKHz_PJPLwpvhy0JCcPCCBFm_EkbIhRvx5ZIM_BPXdH2gOPZ2lpRCY3LZFoOupE2rnCvQVhkXMXn5R"; e_fb_vipaddr="AcL5C4X_EqXMMyi5z9l2bgrsSg9uuVFvEDJyjpM8EV2YYhhAzVFWvQVuWxWiHrW5RVi9ecBJLKFoVJKiGe2WDG9U4jn-4oTIBg"; e_fb_requesthandler="AcLjulnlKX1V1q1EtvaurX_vdr3Q4Eom1S2xFmsOgBMKvno47rnQxDyINvfZBuVUiik0gufIYq8"; e_fb_builduser="AcLh1fkV9v1r01Fxwnwk4LpovEnbC1--DaSThAwhFIfFhePLs4_ZEx4Tiy1ma_0iJp4"; e_fb_binaryversion="AcJhYd2PqTIvPzOW-Dc6a1ntpyh1ddpg3DNT7G5ZjN6a-u5OCwuw6TySqXDcqHE2sJu5npwJzAEcnbwBWhJw1OJGAm-4sKSNXrg"; e_proxy="AcIweQifzsO48jyAsAis6g0nmw6NxuSe3xtAzS3M5Z-r2UMkKKg_ZUkS7e5XJAJu71_cNdhtVLEk44tlxcf0", http_request_error; e_clientaddr="AcLhXAxcnTcrUT_C9RomEArmEvt_OVl7Fm6iKoa0-kIW0Mxbqv4tlPsO28KB1ox9pKo6pkRmFOqV3RmFeQ"; e_fb_vipport="AcLwWltajfT22BSK7AcpPqgb2sd1uhgqDI6LvEyE5pS6ZRo1ZPl_zQJnZiAe"; e_upip="AcKFtyhcNBJk8ff9iXlbBzd6hRv8asZI6ScmDalSJ09JkFgp_2Y7YQxA3fww3mHHZOfXGywcH8i5hmmfo9jdYKX5qQdaoY123Q"; e_fb_hostheader="AcK2MaQT_EpWkO3aCaJQmXuFBx2PHRY8wN0z89Gs6RU3nHo8meiRuuHwBUFOSHLeWphPIYMzlgJ-yWwE"; e_fb_vipaddr="AcJng0jbEhz_b2t3wsKHOHknW-FFJvzyikXdrhck_2-mTeQH8xVwzEhKISahx0urAILJXY8"; e_fb_requesthandler="AcITpWkCjSF9AnH8Ec1ED2NEraTljiJyaaMk-arxD1tIqebLB9ObV7d3wj8YJGv2iTWl_zSLPo0"; e_fb_builduser="AcJi4wLildZxdMtczCi__2lOywXsva_sfzcACZfWMKyZ2-P5HihJumwZrp4H4Cr1TC0"; e_fb_binaryversion="AcIk_l4LTO4mItfsmcbJTfF1d5mbVsS4xXff90muYSORnX8iWUwNbX_z4Lb8QEBi9pogde8FEwiCRnUI0wLvOlCX7T7k6eXxYwU"; e_proxy="AcIpzoLjoLSiW714S3LRo50DXiauJvJHWVKzNGRdgyYCTSLdLFmvQe7raJqZimugN6oitettDhN2uW4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7245645618834075"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 18:28:39: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7558804100818462?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6183211, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7558804100818462?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7558804100818462?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7558804100818462?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7558804100818462?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ah2QZEr1sO_ntpmmA0ND-cQ', 'x-fb-trace-id': 'DRZiPjjqnMw', 'x-fb-rev': '1011582384', 'x-fb-debug': 'P9sryoxidiHyh4GjMJ63edrygkt5PWxQQ6WGDN8s4YMVq5Y3nhcKmsUn7sfkOFaIUdj690zL7K8e8FSdMJ26DQ==', date: 'Thu, 22 Feb 2024 18:28:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK6OZi-nKBcdwqUoQF1wHC_JmAh7C9MFhE482yoC5eKZAGhwmaldBBfBnhgZqgWiJC6hmk9HVlqpyL0KnwGpZZx0NY0o3vf-B60vfY9OAY81DX_ig"; e_fb_vipport="AcK0L84erKE_eR70VCd1GFsAm26McKAZdxYmS8mo1QXUlnyNkG9c11yLR0mT"; e_upip="AcJPAApKDMU9mLegjNZcPkbsviJ2S6VehKcUjaOs5F8uJ75epdNFz94z0vMD97t1VuVSC5GLnUPXch3zXTwqlNNea52Q_6TXmw"; e_fb_hostheader="AcImS31PfqX_h2Otqg3qaYE5JPsWwQ6Kxyh4MpP7H-bufUiqzk5Evqas0KDX47rqKYakFK0Czkx_zgHQ"; e_fb_vipaddr="AcKq7dbfiuXzy74zodQjqXd-fdim6UyFHBlmM1wSEUW8IsnvlNXSggVq-uqYugsgGS6vEh6WGHbit6Lz-_wfzQTfQE8d7GdSLA"; e_fb_requesthandler="AcKVxtYUHsOUI4K2eR87kaVm2L0x3YJVIxkaYemBTinIEQkJprOKiIzNzldB78bUYf7TAdnIAq0"; e_fb_builduser="AcLM8_kBNYD0cWNQOxrm9EiS1myJBysCPxulk5ai4Gn6EsPDI47iDqyLDJpvx3yLyD0"; e_fb_binaryversion="AcK0fYDV_e4l3VMzUMLyg2UWWy859tR9oc-_2NIxHfl_uAND-aIfAsRNO-9-RqNVt9Y89_qwJKWia8XjPhiFHVfNoxhBFVz2G-4"; e_proxy="AcINYBajzr-pTCq2dciQI9T8MMi2eoZpU1oJcItjG2MfbMH_7osJrX1w1DNMfuZVxLNVN3EShH5yVtTjjIPI", http_request_error; e_clientaddr="AcI631DHWOJOlbeRZnP1ybMA9fXpGllwFhKcEL14E9ZcomhW6Shij33Xv6AfS-jHEI4YvJwSrYtjdiTaFA"; e_fb_vipport="AcI396I_55BzncDFSPTe9ooRhrwgpP3yD9DgZZ4VEn8DuUWS7PHpoMjP1UjV"; e_upip="AcLJ7eiedamL8746_6GeJN3Dm17TIeylOUnH49vj3Q6zutHvDKCxr2uwJ89HkDBFsT99WRWIyIM03LIEYDz3ERO09GLww5ndmQ"; e_fb_hostheader="AcLL__Cfzj4snEjlsRbRA8B4JioRtAVWvHxd0OC2zEH3MW8ulMoHOaO8IWthkt5kdCdPHZdYgKnxP112"; e_fb_vipaddr="AcLayuc7nmMB5mA9IiYsp0vZH_3AjetGdTRWPy0H0bWGgaER_PzmVHRQwkr3UyMyVTIV8QA"; e_fb_requesthandler="AcL8Oat2gFuf35a1Vu7lSDv5Pf11F4ForlJDqrbZsQuE8LVw1q3StqaHjSYT1o7WzwTl5msKPAM"; e_fb_builduser="AcK1dmo0cD16mSoeLw9DgXugj1ahFB7qcDrtqhl9B0yrZzmAOWKHZCkEOfslJ4eg-bE"; e_fb_binaryversion="AcKw8ApezZqq6IDDWyJvEv_OcoaG6YepvU6b6aJBSdGu1x9HhB5pDWkO8PbVbe-PC5ho-1f4kZulcAMzsOD0fMr51zrpxczUZxM"; e_proxy="AcLSDHwZ1YZgIzwJAnJLcZS0PVhNEk-L3GyDRhimRkUXD-4BO2Dl5NhuvF9mXVtOBn13E-bvK9SR8so"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7558804100818462?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7558804100818462?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7558804100818462?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 18:28:39: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 18:28:39: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 18:28:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 18:28:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7558804100818462"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6183337, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aqm-DYxillgRgxL_q9Lz_1J', 'x-fb-trace-id': 'Hmvw3TTmZS6', 'x-fb-rev': '1011582384', 'x-fb-debug': 'G0uiX4O8PU4F+OAWdUvLSQ5rnwnumUvzoD2iuuoE/9cN42JVFB2Rdqi08FnURScXA658TZTtHnIwycWuljRkcg==', date: 'Thu, 22 Feb 2024 18:28:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLtOtzSPDkyf7NzGksGLosEJ8RxCZmIn9eUnMLCEGaVZetFCxqkUsBbrLzHt3wOFBy-YwKwZ-ZkRqCK2WhJuFyv3gwvOwprBZcfKv80rmr1YUmABw"; e_fb_vipport="AcKK7Sfog8vop-MX_-7aACMlN7Ffc92e0Vu8VDm2SX_Vm49yORufJ4MYfYrT"; e_upip="AcKnb0DxH59PIDGn5H7dXRCucP02f0s28judPLbfjVCFrYdssuC83tC2fPgBHA2UAvFKo5tdB2h_SgfA3t93rw6SFsPpRwnqaR0"; e_fb_hostheader="AcKLr4vdEVsE1FIGSe_6eKuzQ9Rt-zN3knqgwHaZ3OnYQnOpErN26etZIA9Xbq0AvccEjCb1xvg4S65l"; e_fb_vipaddr="AcK-iVznWUF9yLbggbnVO7_rw-vpeS3pIQ_Dtnh1_VaSfblRagYR6isggxoBcrOmw6K_5XFMo6GXjpAaz1qRLwGSVIOah9eeRw"; e_fb_requesthandler="AcJbDYxLNfhg4-StXG64bj8hxtyizPbrUK23h245hnlvaiBZKBtAsTVaCm8MgYl_OswU-9jWwHU"; e_fb_builduser="AcKcec_ZAEWpH_3cTiiOFd9gm86rcA0NZmZg_RiQ_vCac56yRA6wusv4m8JUa9XT7jw"; e_fb_binaryversion="AcKrlqQCAPy6LHF-2V0OdmmDvW1R97c2FlFa_DjlRUY6kRx-iUQtYhMnZCjx59zxaUSykWCf7T1jVErCy9HKi2iphGPO740fw6U"; e_proxy="AcIeTY7xvjBG2FU-Z5Xn6zxKMe8c8SxS-e-vH4PmyYmX3_N3IixgSjMIHfcQfVzyEDIv1-xPt6UXXTwD58pi", http_request_error; e_clientaddr="AcI65Lvf7uwkLNeR4yMLsY52xwTanJBq3JrvXXQhTO7SR6vfHLjbFRAV_eZTcoN3Bx2b5rXLBs9R6l5e9A"; e_fb_vipport="AcICVhHqFfPuKlJipqhSKa11uCh-2xUFtHhjMHJJ9Sjpk6-TFu9yOZEBtUsY"; e_upip="AcIcMbAOR7qFz8tl-NlfyUy96wkBT1xV4SzwQ5mRLR2QMYuhh_1Pmbv7VNhuJQdjpMzwyGyEe50m0ycOKqm7ycKXV3kIQevLYg"; e_fb_hostheader="AcKSPuMu5nJQ1UmoQD0tbLcVIVkKjKP-IyDc8EsRXi5wv8tWWDTpZ3NO-WhBQ6mnYykNGPIePX-ClCr2"; e_fb_vipaddr="AcLvZ_eFP91uCQCFBNdWGNsJvfPKAwQc8uVLcXGlJ4MDInb6pm98GDVKIWzEwx6z9HCavlk"; e_fb_requesthandler="AcJwP4HYTK8N80q3hZB1cFln2ynqTQQW6eAy0gA4svYuD9TaVCaHdW-59DT2JMSZ2DIHMnI79Bo"; e_fb_builduser="AcIoMa7y83wxDKfE5ecHVUYkocmR7UrzKN3k3hBwI6tJUX_nj_HoTSkUCf1Qz5Zouzs"; e_fb_binaryversion="AcLowQQxfoo8bfcVf8cT1fdzZyMHxqKRStdTXV8D0tko8XPVpRP4qTkpik6XtK3Tx3OnA8xzge3GJ2rvRz3UfIvpiK3kT3AVJYw"; e_proxy="AcKD6JwUet21KFlWfAWpv_TcxI4e1s-Q-wYQOUjqc-MOBkCBT_gvhK_bhV7R5ArMkdGJP8U0RCePffo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7558804100818462"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 18:28:40: Error on send one message facebookId => 7558804100818462 02/22/2024 18:28:40: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ALk6QIzrnbqH86oMpwYXLMq" } } 02/22/2024 18:28:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 18:28:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7558804100818462"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6183410, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APH5gPs2uSjR7Tb5JtJqTE7', 'x-fb-trace-id': 'HSgueUfXltb', 'x-fb-rev': '1011582384', 'x-fb-debug': 'SnvOAxh1AIkBF3ZHoyd9b6BusnKNmCoLXVTWRvuDkYZqhHMbj3YNo+UOrWCF5wKmYnYzoTTgSfdDxq3lkM4GjA==', date: 'Thu, 22 Feb 2024 18:28:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJUCRAEJ9jjGXV4F8wf79gwbEkxaDTRUOyGKBQiNGacIDweMPOhJFGBPJruaaNSym1ofmgcDRrGjTdLTrkycZDAO5DXUEWAzfP6Ps5JdlLsNzNVzQ"; e_fb_vipport="AcJRvLfhVzsPSJw-TOnmbSjeHv93U0fYzgTgoSiXSodNRe1C90DWq2xX4RF_"; e_upip="AcIJSiGFLY8xuMuO9xgxi8pCAu4Tgl-Te8ZjHd3EjthvfltM290AS_dI8wV4ModdQKIw-qmaLHz51-7-etl-qOGSphiDcfhlSiw"; e_fb_hostheader="AcJkOnnj8iuw_ABVgpIB2WFQB2N3BSgamCzTVHEyzlCUkHMQGj1HED1bDQ-Av17fYErjnkd4UYbXd6WU"; e_fb_vipaddr="AcLCFnLwwnMSiFmr8Zarl_qibK2e4w7vq_HM4boupZDOvuHJtv5rhSg6LU6hIVIN3bZcjzwrcu-RCEu-3Lfbb4qtiqYDU116gw"; e_fb_requesthandler="AcJpLW-G9Y0eIB-PKh8SSxoGqmgRwL2qdp6eQRMoB4EXurvgzmljPs9PYS5ov91dUC9hs-WLpVI"; e_fb_builduser="AcKr1M574-XX0YEKxDIxea1aAAhM0_yIMtBRt9inXyjcBodRV53t0aOpbByI7no5Wy4"; e_fb_binaryversion="AcI2z1EDDh6L91WXzqHtTj2IsB95mks2UzVo9n6uV7YcPskqnYih8hrDff4ymToT-6gYo5fvw7KZjrLyDdrldI1iyzE8XYWvGSw"; e_proxy="AcK6J4EofTE46J59Q8CaAf1_fcg3oalotNLuMp5XFdJfntaWbl0EkPqX4-yxHdSRDy9c2NKqnq_X71DCvunC", http_request_error; e_clientaddr="AcK2n5mpKoVnYm8ob8zeU2Pp8A--z9eubjqQmCiGZgiGR05lqzIH-DWMzYPvzKBa1S8bmaPpbNy2JPh-0w"; e_fb_vipport="AcIKz1HIOpf044s3mJIE_tKNZ2Vky39-L-pnd9DlHdHYwpBOy5IDy8wvzHg4"; e_upip="AcICIh4G-5Jso9kooxtNwF3Q3-g1BIkZJc4XoTA-8fcSfAWi6_nDbs3B2bliU1HPCElP-kpmuwLGIbi0vrkp_H2RJtNQgxSXtg"; e_fb_hostheader="AcK1tNmonW9Hj9cyGCuaDAj4l1L35iqgr1CQFxA1XhdeGoRskftIeJr-P9dxj032DrURFef_C3s3IoQ6"; e_fb_vipaddr="AcLkQMPxH2OHeTcgAhsULzTjm7uibWRoOlsQEGsWodLvlQwEpw2n0Jmy0uBYWc_ja2QoVAU"; e_fb_requesthandler="AcI12nJWMRvFkQOFUv_-B7Fgy-1uuuWBEzaOtDcu7bph_xXVzttoe-oA8pw4lBMNXZaACfwrWg4"; e_fb_builduser="AcJmwJ5-liX9LlLirILXzB8-GDhfYNLS0bmfH6xr4ACudpypAeunn4yr9X3-Yc3GYuw"; e_fb_binaryversion="AcKGCygcgwpM9dBMb5LgcQGs7h9TQG9TCGZmCSAezYmvJnhqiDDUiqJJYy7V2UAnsbsJ4Z6kAOtrcKFOlf2eS5BqpEy2LTRPzGM"; e_proxy="AcJdjNFx6Er4mEb2ATUjc9PQ8fK0PEERdqLG1hNic5ZWc5fmrs7hGAwkgKoh_Xf09aEt9dbHBp4oHMU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7558804100818462"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 18:28:40: Error on send one message facebookId => 7558804100818462 02/22/2024 18:28:40: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AN-85X4kLNWXVxsnsV27j7I" } } 02/22/2024 18:28:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 18:28:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7558804100818462"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6183527, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdB0YdyUnfasnX21OH4E91W', 'x-fb-trace-id': 'EtKfRFm+WV1', 'x-fb-rev': '1011582384', 'x-fb-debug': 'qzB6QSD8fFS+Ki8BE+bmS5vjVkp6tamBmMQPX3VGdhlJvxhGmxsSjQJQCDpR3Ud/CadwVIxLkBX1POLp5PH74A==', date: 'Thu, 22 Feb 2024 18:28:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJuuLVV0Izaqoi1SdfG6uiQiCKXhQPPAnn7O8Ib9FaXyr229S5J4mDGc4oNzhvP8iQ5E9rcx7dFZTCHOqwFUG9GIm44Vro_CU5jl8VbeR_djZeQ0w"; e_fb_vipport="AcIh1-f-miXkVXoDk6pYx2sGkbbRpXjoQBVh7aKd_M7sENSurU7lLXiMsTWh"; e_upip="AcJ26jiL79Dyv-EdAHjVjibDthlmaZ3snQ2Z23ggLnGcQTXg0mdKLiBzk45hlBLfWLfhjEuBlnQCRUD8_sfdYkM213l-icqj9fc"; e_fb_hostheader="AcJZ2jHp0VTQDhDCRCydiDVvapyB3rILU8dxZbwMFrP5HE6yXycBqaikhDJMmhZLIXasg1ehrwsVu_cz"; e_fb_vipaddr="AcLVy6QMmVd5PAUxXwbsoMKeO6sBrg8YtF5qtqBrzEjdVv8AkwVYzdMhPZh-G60dO_uKvM7dGXl4H204R1GaEo-bwaKbwgup4A"; e_fb_requesthandler="AcKnJLVh_8M688UoZrgLg6PtC58kxXWobb4SreH5ELmowk7KHKBdQm4ZhXScob_TgXLjAQ05Bsg"; e_fb_builduser="AcLBXVJQBmwmX3Kd1-Qb088OqwGwI-08dtr2UNNm2pvR8SRa9iW10YLInLqNViRlFZ4"; e_fb_binaryversion="AcIna_YzN9pj2M0QKrTmPnJuuKqNe5FmIeiO3KZTnPmiAgdaQMqjsymRZKMyQA3JdwK3kFJjiLs0uULc2H0i4VMRjlc7_BSm0WU"; e_proxy="AcJfbS-P677OdFaSs6sVYGjBrXkZaRwS9sANUKnrg9ii893uckW2lOJyuu9jlhVaBW1bpIPv6RFO3MA6HZlD", http_request_error; e_clientaddr="AcL78xYjEatqDKZTfoqmhBmqCd13C37AxOqug-jXn0PrAYgIetW3jgIR6YPiapo0YFP9QKcbtkhGdazPbQ"; e_fb_vipport="AcIJZY1MSZCm0PgAsfpCPwid8oUugaJ3CFlGw5sL_32iv0b8gNAMmz4bB5YT"; e_upip="AcK2z6ve5hUgAjsXvQ6McdasZHTsYGrIkg6u1n8-Z7ilBzCnEkFQSHk6-FHOstkOMWvoFIS36xD1rn1EfjWrOu56H1Dlj6-U8w"; e_fb_hostheader="AcL3Kh7_a37acFuHp68SoupM7pUe_kiGZZgWQcj8Fx0nBc6l1p1pK8GERjcYSMnMz7hhxM1EtHcDgJCG"; e_fb_vipaddr="AcJTzj7OMMTJqJCIzY7i1jF2oyUArNFdQxT-TELBeHx2R4OwvR2EwXbNi8B65hlKiThaIH0"; e_fb_requesthandler="AcJXa7KK1SepXzG1OknPloxuXKh21Yw3cWQzxGDthz7k0XAFjMR4ErzReDrQ6ZPZGdooMoRFBpE"; e_fb_builduser="AcLpoNdhGpkz0TeYvYjIkt6UZZa11hvTrhVZ3B5ZMeJec0_d7JdgzhpXbS5mVZzb3h8"; e_fb_binaryversion="AcKlTHaI_YkL851QMRuoqujuQ7sSsCND2FccUDhdm6iAFyoGQApyWPr3QY1mOMsSX1K4xtinu75jzFJjYoYQ6FSXTHbcyKw2568"; e_proxy="AcJ7bK67WqGMI4-HVDjbpaSfg5y7GOF9IqmJYIg7Tg1rusE3HklvpsNUh0ChkHiqQy_23IIadjFNyIA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7558804100818462"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 19:47:33: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7112437338811214?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6196802, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7112437338811214?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7112437338811214?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7112437338811214?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7112437338811214?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AH0alnU0U1KXHFLf4Cm-dQZ', 'x-fb-trace-id': 'FbbS3BxOf0F', 'x-fb-rev': '1011582384', 'x-fb-debug': 'pm9KuE8wVge09g4ak4gca6fXRhazzFflFzUdvIdRgy45CkrGjl/l77LnmsQTeWKHi8JnebJ1tqVmby8p6SAsDw==', date: 'Thu, 22 Feb 2024 19:47:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIwiVAV3fl6S2JjfRYiJReZmbrpic_I0cujJSUDYNAwEoOqkvBz-2o4oRTh7jbf4RDXdL1aeV68fO5F33vW7Yfj3Lo7ChLSVYNKNGiLiIK8_fvYcQ"; e_fb_vipport="AcIDW2yiyn60kUuvpPmGhPwxAb8xcwMR7PRRwOctpRbae8HeAEua1ovx7kHd"; e_upip="AcL1M96oHRUoZ3cGqY2wfWIs35MYvoMaporqMJWC5v22w6LKplb5uvoFzogea04Y2gDq7IUR9yAWL3OOAuFXJVpemMm8Mdwgd2g"; e_fb_hostheader="AcIX0tUtlgz9EgFYHcVrqV5K-jvVzP7SKbwjwX-e07qlh63B9vhD6Qt2NukYA_Ne1S5YNW9looSGa8xT"; e_fb_vipaddr="AcJLt-7aqyyvKQ5jQzolhG1P4xSn5NOFqGhdIfE0bFqk7CJON2aIgKVoC_YGep-7c_3LkntDOTWw1FxRU-TJBmDDgDAYn3tuiw"; e_fb_requesthandler="AcJUO4USj-gsK2FNb6J2w05bIhu-EfH70lF6oPABtoTE2NrqBzNBgIUWGi54lqrExageM5pmigM"; e_fb_builduser="AcIrBjDSOHbO74nsflZzmUp_AJVfdIcCwxRA0_7mqUcvTh6EmEWaTbk9trlH52Y0--4"; e_fb_binaryversion="AcJEV3FsNFF73_7-Ca1MvhYASM_3R7IcbBGrEx9ePnFRN37FrtGitGs82HSHxxyBBm_ZjtE71_Lf6cIPPFV44NO4pvawEAKZYjQ"; e_proxy="AcLnt-kzvEpJO1iXzOjvObulTC5SYJIbdWdCqvT8f6-xrRqRCV214S6YgrcEPqZS3_n0E8md5827SPQd5E9X", http_request_error; e_clientaddr="AcKuIITH1s_uVu8lAuZQ66_wqXuG9D0sn-own1uT_TLF3v0kJ4He9FLldKFceRB5Zm8UpSrCyG0IIwWRIQ"; e_fb_vipport="AcKy7ulpvpYgtr2RJsZOfYN1eUhHhLkGjmSd5hWBrp5vaSm29kcLo-k0s90-"; e_upip="AcJJDxIuMcZNq8T1YAYsM04VNrjFqSikN2Zne4Bj0pgluBNK-Cobvn1pw-PIVJBgO4Rvp-cEvKDjNvBC6w8F2FZzubHJujwrSA"; e_fb_hostheader="AcLBD5KQJQbXJU0WhCNpVDDQa6vAiWs7vybMhnahsUT55T-dNrRU2xaqfypiQmn7aDAbCJ_7GOS0CzTE"; e_fb_vipaddr="AcIeZVa0HsNubU_dFu7ZFB6kFECfaqjWrUe9AI8yzawbUnQNxYnzFGtGQmmQPm8SMhyZe6w"; e_fb_requesthandler="AcKzzVFOfi8Z8MA5AOz1wxmMC6TEdzvaaH5m3s9-IMLe8jJYk-3jeQa5KSworc89TGxsGBsYEDg"; e_fb_builduser="AcIAQ1UyRrXZYobMkTo87-ISbb3iaTEYgplpWojQiQfpXFRAHTm0alz5-Bch8VQ6yJI"; e_fb_binaryversion="AcIckY-3WpOB9OPRkFzdfQA8RG4D9vQt5c-aaJfiesVNWxbUTppXXn_gswDol-oUUCet9h7fWqvnjXEFZ65m7ygvPcSlI1VsZXc"; e_proxy="AcLUY0kLdLIUVKl9kcqv52_HR8R4SqoXpH6vdYwe26LVTFsuSGw10OX86hCCIOV28rIH1fZ_kXdSSzM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7112437338811214?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7112437338811214?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7112437338811214?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 19:47:33: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 19:47:33: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 19:47:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7112437338811214"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6196922, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnEklBNql9YumtbUblFgvWh', 'x-fb-trace-id': 'Fn0afPQkEym', 'x-fb-rev': '1011582384', 'x-fb-debug': 'I2seL4FhLatrkWDkWCVuUBh7y4ukEnAsl8EiCtayvgrHKHggg8ITmTihw/M7q+IVFOGhRRr/DYrIXXd7XNnMsQ==', date: 'Thu, 22 Feb 2024 19:47:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKbLQGHVM11uCI0RYkU3OJKDVvdR1CjwNKL4JcQmZRjTgv8FV9TLdxQI123absT2Vbfvrsmab9EjYAOeJGk-oy5Zmi5TdciN7KNYXhXEFX1-lBc"; e_fb_vipport="AcI17Gs5pCinojqQBPRVh6UVvZd_hge7lkEMBF5gFmkkZ64nYRSeai4CjKbU"; e_upip="AcIpGQxzSNKglgzT9x_8Yk-CPnEYtoqMCc-cciUBSH3rj-8PdrXLXgx9g0geFHwpo9UT8lR7e4Jl-0a7nbKnIU2Z7UNse6VZvg"; e_fb_hostheader="AcIAd_lCWtD37AJRX4A2v7Fg8_NNPK1ixkJEo6-aA2ug7vPm7WHkw_TUAqHPQJ48cq9KexEWQaT_hNz1"; e_fb_vipaddr="AcJOmFO_BF2x9pHfXZlhOz8r242PZh2NmkEWSKoyKEFmkIi3UHh4TAXaA-iRQuf2jHc5-znOK-b994XkMgULw_pGGeTUdfRd7w"; e_fb_requesthandler="AcKat4je259NNxblnVBLlBDN5adxWUymqLQC5kj8h1CbyZi3VbZQIZCuG9bBjo2TLDyCZQYOdu0"; e_fb_builduser="AcJm6DFIxq7CVr7rG3BCq0ENk50qeWDuZoXV1x-q28JM4Fy8nTSHSFp81mUvL2lU-68"; e_fb_binaryversion="AcKYrotl0hJknmyCXrE1AKz3BrNp8v7iYCzXxIzBcw-hnbt4inbGv6m7sQbbwxbOkBJmHNLiQPqWuNUKhSdkUUulNXNniWFmaI0"; e_proxy="AcL_17HpqaGxdUclUdXUUVSdH0JcmFYri58kEEJbeSKvsdcC3L-qeW_d_DbCs9yOo-0CfPOJIDpRrokogLxs", http_request_error; e_clientaddr="AcINxHIudnnZiI2QEylnrMHkKHApezf__r00JG5Dd9MKmR9iQj5mHuurJCNWIqrd-egqdGhSBFmzMwd_tA"; e_fb_vipport="AcJZFRBrORLTWMyvxoMhSgf61ILR-P25aUvJYxqiUhjwyOJcgMQc20vJqDde"; e_upip="AcKk1lEWSGlF2-KcGUX_s_zeRxbuoX421lZxNxwot0lpiRgInh8z0zxPVBbAzAgsr2iUYa6NT7XHnhxEy0R8CgInsJw9D9AHuQ"; e_fb_hostheader="AcKu8a1Y7nWRbjd6vWTen97f8DI9pTlKaxrnQPyt38_qDLCl3WLrcqAo3iD87IUdEYHaFw4i2rP53emY"; e_fb_vipaddr="AcLwgrHHGbXY2EsyMu9l5ETkHQChIEQopyYE-_dJbbqAcduq58tkNYwSJ1JAAbuaF62spUg"; e_fb_requesthandler="AcJL6th20jA1L_l9_2i0bBF331OPCWEIBe5K4NO2ExtvE7IZHQb6Z2X558-vBD3ZoEIp0Ou9jLw"; e_fb_builduser="AcLYwfAFfM3OobQpiGyhRLf0XN5ecEK5FNRNVwSpD8IDaYbDO7TtTmjFjbwCc3QRLnY"; e_fb_binaryversion="AcKja38Re-CzlXGgr0ZEcp8X_nOX3TS0IGz76DFstMRsg0YkbGAAi-Aqg8F1_2qNG3ACzBfP9OI9GNi_AgUTcwUtqr8VXKMU7Qw"; e_proxy="AcI8II6NZLL45Pr9yedWJacMEP9fgJIJd-_HDK4iXesdezS693-qHd-wIDdONNIK5y4I5c7k8n9Nw-4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7112437338811214"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 19:47:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 19:47:35: Error on send one message facebookId => 7112437338811214 02/22/2024 19:47:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APQQkB4OzZGp9F6ARwP3dU8" } } 02/22/2024 19:47:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 19:47:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7112437338811214"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6197009, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AT6s4VjH5UT4myT1JkouBHq', 'x-fb-trace-id': 'Czy3qX4WdBT', 'x-fb-rev': '1011582384', 'x-fb-debug': 'p6erJD0SO8vxXgXTmk6Z/CQtj8sIgWTtJoMj2pBU1xC3T3lmsDbtWgY9ehZiTbTvd5eonIy81Q4GJZcPp6u4aA==', date: 'Thu, 22 Feb 2024 19:47:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKPWNFY3omAyOc4owt5tMbmBuHhXHY5bCsYUQ2w5SKRvzaxCbt97c-OUxzSZhoYy8Kz_A-R3BJ4DNer75HR0c1MTxB2S-_yl3M3GLUJ54Ko1sCoXg"; e_fb_vipport="AcKJr0BGo2zGJKZ0YUp-Tm1lZ9APYbXLViwxr0T3aAaC_1XbvrGVmUl5PTir"; e_upip="AcL4YUAYOpSxQZgFhkFuUgwzBow0uW2_ib0Xhs7irxZMf780Vyhx8jKc00uhCL83qlaMS50BLU8tUeF0pQkzX7Xrp42_xGTMRQ"; e_fb_hostheader="AcIcdzY3aQ5MHU-hGsQgSJzpC7FmcobQ28D0pkENAJ3mED5Pl1au3DI3pEKUmu8owoCetFhT5-lrR_S6"; e_fb_vipaddr="AcJ04blv-4Sz_pQPXYcanqg4gHeJPVZ0C_JTNxeoiC4SRgldfjsV0J77yudbwW9-HzTkhDX50g48YVQEJJgKwH_EutMoewdDIQ"; e_fb_requesthandler="AcIQw30qeIkNPL4KLAtC-sBU36qwCgkPZ_VmBygjMptsMte9oJGw8fZHjhPPxxZehrFPAw76_8s"; e_fb_builduser="AcL2kH2Y27QLpVGw8sldePldKPjCxLSARAnN4DBGgjGYzXQA-0Fm56gyxtNC8xhNabU"; e_fb_binaryversion="AcJExKzwP8_zAdnMUHFZ7V0pKPVxbVJQfQj3pHi_MQbnm9q2qBpT1Tb5VbC-mdOXwE1Cl7kbfq-Wv1jWfguZttO6koSak2XvjXk"; e_proxy="AcLIfVVx_kd2Bxgy6tWTtO8eyGteXfwox8X9Aiy3VDtVIZqFc9bPBCRq65k7P8zoQm_Ub7mhdFdgov_INETM", http_request_error; e_clientaddr="AcLkoWdunKredOfJDeb2kcHovFxwNS5hO7V62yatsjgfsMQpSL-CL-RrKhcPh_rTgf_L1TG_rJJeM00AVA"; e_fb_vipport="AcKjs-oM6qBq8WRVzp-VY4EmIJSMzhT8kur2C5vDMUniJT1zo3yQT3W4MgNa"; e_upip="AcJRtrNs61bevqgxOGULCgLWY3gZmCkY0nO_ezNLxBG8eGla8L4uEYxDqTGmce9m2UdS_0ofcgCegm7SOzruziwWmtsJOFafBw"; e_fb_hostheader="AcLwWf06uIVl52xf9pApFNSczmWHFdFoWR1NKB7v8oYz7zpiIUTZoiSXpR0Gdy8AdFw_IkWF0D5SwifQ"; e_fb_vipaddr="AcJcLOSytTQiDi8LCoCj0WEghLLhyMFYFBKO3quUVN2k4DDFuOAYhi7ydSjWotyud35Oz2Y"; e_fb_requesthandler="AcJHD3phAxVg1dT_PMerp1l7k2xq0dRogupn0IOYbOwJnnZfruXFHIgqCxx1YDBNWUmJdkwczUs"; e_fb_builduser="AcJ8tpQHRuJxzNF-9B7TSqmjXu-GLuE2e_edJXrrmyj__T0BQ3bo8sXecFnyrflp9-g"; e_fb_binaryversion="AcL1mvn5uiPXbUhpGNRtF_i_st6MXTKBLWULk6kQyqcgXgb7-PMMxcQgQHVRozC8RM1IZcUpKVu0IZI0OeMpa0DPhmAEe7VUCBo"; e_proxy="AcIWf8nmOm43MT4NDewLTWpQ_cFDBCV2fJyi85N_IHisC81xaANvIf-5hYTAT2GyA6f13yBDDnKZunQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7112437338811214"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 19:47:38: Error on send one message facebookId => 7112437338811214 02/22/2024 19:47:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Abo_BXWTLZKtKobCz66ciqW" } } 02/22/2024 19:47:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 19:47:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 19:47:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7112437338811214"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6197148, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHSms2vBsuycBjpO2OnKfaM', 'x-fb-trace-id': 'HkmilnOgKgw', 'x-fb-rev': '1011582384', 'x-fb-debug': 'MGJsuNVkcl4Ras9090QyS+31RVbPQER/Aio/TWEeNIfmyNN+1rFh/Di+QR2yHqDQtB9uwxZ5K2wbu3y49ESKcg==', date: 'Thu, 22 Feb 2024 19:47:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJNJRE8m4O06AsD1RO0GEc2AKkLS0zAa2BOJoMbNoMtlsUr2M7jPqTDGNrM36J2sd2laSXZPeuIDV3C12KG01LFj_scQUZf7mEaRLg_5x84kP8nug"; e_fb_vipport="AcJqKUfjADnRI_TxCafbqkI16gNgaUpc3T1egrX9BC09sZiCyHilZKdCWDMm"; e_upip="AcL1ZtAxWpWG8o8T3VWKUt2lwPGtdKuloaoJFW2hpRxSgVRs8zVFNZqkYgZcMOWdJeS5yww-gdP36ufj_NOFRMRbO_IoN5mQZQ"; e_fb_hostheader="AcLm-kQlAubUtZgkSklbYrxTvNSJWH0gwmeIjPbZXiSUqpzXO_KwykKAKDdB7LJYkE4T7XUBJXIWLrmR"; e_fb_vipaddr="AcJFAzDc36OCl3Qag9EuyktsrwyNsRoDVwWeom65T2q_ZF9kyymhf4SnBs9lSc4FU-MvS2ajkP3X-x2uIzgQwcKf-R8EajwLMg"; e_fb_requesthandler="AcL6Bjqf_CIYOfMQsz47OOUHxSp26VdBP6lltIWf5OksY7y9v5SyMREelpbIjCNUVfecDPhdJLA"; e_fb_builduser="AcLoeRxolZxTVun-lf0NqlVcZgeSyL4FjanzYwyjfwjIckBQ5S9hA9VONkZBL7PEDD0"; e_fb_binaryversion="AcKNxBgpWBKAlJQYy4RFwegRIzNsStJl2SowID3RAeg96AYK-VLv4-dc2YQv9PsvkSryW4II0ztrxLyEfAOnqI7k1lzpE-rhQOM"; e_proxy="AcJ1wgJbahObAxzEjnEB5QjL0RjCGWxphemNQ5PtkpSnCBpMtQDEYfkGHW5ZL0vhCJznKUWnMttGbmzFfzTK", http_request_error; e_clientaddr="AcJ7jgSHuEBQuSlybiNMkK7NQunj6iirUBo70Ad7kfaSTdo0ckjYPnXQtoqGmTFkjmttsmAGL8vJIn8G_w"; e_fb_vipport="AcLsUV_D_eW1rWBOLBIBlnoKmZ5MPY1djTGQXrb0ucddM6ssyydWOD3UNGMa"; e_upip="AcIk7nh0EU6LMUn9i2fH5VV0c4Jbq4GGDb7nJUCplgUYAd9g_IuLTcjiRoKFoqpm3d4_12Z14EXRa84W2MI6gYUu1zan77RYkA"; e_fb_hostheader="AcJKZ_5cmxMufXgayZk1WKf3Jf2-7Wj6wrnRhlEV0peo4Wbqq3Vb_CCdBz4H58C2MaY4Y6DVR4_SpUDk"; e_fb_vipaddr="AcJxQJIqXwB38th5_bgeOB-ELP1b-QaDaGyCuCXCHb8XHwEnYDHHHJFab91M7hYRDdvwIks"; e_fb_requesthandler="AcKeq3-nwNO9OPxpQLs7IvF_FDsP5opjF7qdA5hTbMP5EPnD3gRgYKLZnOdWco2u7B2ho8sViP0"; e_fb_builduser="AcLfidjiEItHa_ChhVm2iOQTPtsRQEfJo-rA5IkzsuHjBryL4iu2ptTVhsTtZ3h3Y08"; e_fb_binaryversion="AcLgagjwIbpdHekPVzPX8oXPRyKzQ4caos3axiSM_rA9MlVbFIzW9Zik5qivuk8CQQRPBN7BTpyQarF7k8s2DOOiaEkHOOom3Z8"; e_proxy="AcKQfFHVwQvQnN4vT3ZJmQweLJbnWZUlF-JgekB6z3lmMF2kNnMfAWqRKPrx0izlQSWJ39k0nvAtuwo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7112437338811214"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 21:32:19: Request bot not found: { id: '215725838493727' } 02/22/2024 22:57:20: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7825217117492577?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6229059, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7825217117492577?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7825217117492577?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7825217117492577?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7825217117492577?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIvJzrpweuuETmrX5SIq9ij', 'x-fb-trace-id': 'FOcGmxrOErj', 'x-fb-rev': '1011587115', 'x-fb-debug': 'i6MlwCrEwHCu6NWiTDgSIhCJQ31cvKf3Wo+pp1Ojxy3NTYfS9b+pCc9F3Y54f/n14GDdD02Vr5fr/POt4tNKGQ==', date: 'Thu, 22 Feb 2024 22:57:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLUYLFR-fxBMfnB2NZOSHU4HDLS5j5syE7wiktQPHTWCH9RTk4G-Al3h3sAGfxprEB2lm4uaP3GyiS81NJRR3KieblQ0wBjUO-9pUhEtpeIE5c8dQ"; e_fb_vipport="AcK1ctKXNsI1TYlPTyd87qHiSFqT6ngxbDiDf8g2S8VKyjZltY6od0o1-f79"; e_upip="AcIyJj5pdILCagyeBxmMLBXRKH4wsNIc5rCp0r6b5PeM3VIpy_o0NA4GIKxg-GzxaAfimoK4Cg1aVyWO0TJK2PoWPlH5ZPA2yBA"; e_fb_hostheader="AcIo9CLwG8GVvmFAZRcqMVG3Agt8Lmwbtu4ByaqvWL8swT9oAFETxqg453SrBqyvqRlSSeNuY9ZWgw8y"; e_fb_vipaddr="AcLsQg4dYhPo9VnGQSZ9C3PR7NW0dhTLJ_eXqkuNLs1W0lq6WXU98zCKTsf_qsgKdhfXwQaNyNvswJeMmiLVX9ZpHgZY-8lpbQ"; e_fb_requesthandler="AcLKV45tQkPLquh4Q8WcOj95_Bsudh1_qJ2R4p4cIPhfm53pxY7xGWB6yyyoFdfn5e7De91cN4g"; e_fb_builduser="AcIKUO6uxtY2Vva5b1Wr6nKidBDPPZqtfUsnDLODt0F3mdvgr3WU1n5mokgNjv0_uaY"; e_fb_binaryversion="AcIt8OAqPUV1FELe7yZtk62Uv1cUv3XVUJUsH0GIFiMoBsw_kmeo6uTVSBKxXOPaBVQZsqTiz114D3D6kOiC1mgezgqBvJIT7hA"; e_proxy="AcJ73F4iy8XIDEKeJqsGPlZB2geL7WLcNBrVT7QhRzSBhBW0XZQoobwIFcNfqMXBr4wRPyIMEjfVupA-XMss", http_request_error; e_clientaddr="AcIfALWFtVBoXjgxRZQUQM3X0xMGtg5CZLK-XApcirluAwL1s8rxzxp_UugFy7Y9VN5zxwVdTWTIV2sPLw"; e_fb_vipport="AcLh8mEWYuGW5Z5E8uLj8J9iImPcp1FBRRJdDMXEOehaOe5X6ba_uMPTzm2r"; e_upip="AcIlkxHRVqiGqfz2L0hhHh1VlSsIJ9NmmDCUPSY50q7C3_JLbGu_iw3u7V2bLtoaxXKgqEneHJWoaevKGpcq6QUy6nXS3nDV1A"; e_fb_hostheader="AcIuWmNzb0Yx3dcazIc-re-BymBOD5o3n4a3_QSS0QaUrqb2Gs23yAh1BXtRw9yvc6EGLfkp_WKvRXlb"; e_fb_vipaddr="AcIW-TwJ2Q1ebDkCi1mA22Udb-sNk526Gn4-GeHxFR4t9FjLdAotwwGC85sqNO1xHMD_Kuc"; e_fb_requesthandler="AcJv1vbbKuDGBIaAPwmBt5fom4xd0ZACx3WkFpk5NTWBtL-IFVucfFnHxl-CFq-8S_5TB0tJzF8"; e_fb_builduser="AcKtY2aUmvLRt5W3gYiRcFxaHK7gC00ArEy4LaJQnEaV18phuGi1POPbL4OCsylMoxg"; e_fb_binaryversion="AcKpGso39vVCpLsbRI0wmYgMo5aGsxaE4CUb1OrnQfRyARlrrRtrHaMsuqqg8HSVrM1XDLgeKslAQzfEe0ffu5RcIn5pLCPUzK0"; e_proxy="AcItxAtq1aGE8EPoP5Nvrxvdz0QBKcqIHT-Ym4gK2U7_cbBo8OGG_v98qk1v2EC4xM83iOyorCsJv0Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7825217117492577?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7825217117492577?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7825217117492577?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 22:57:20: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 22:57:20: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/22/2024 22:57:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6229177, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'At22S1B47Nw5ykKOPJsaHto', 'x-fb-trace-id': 'EVu09xeTBm+', 'x-fb-rev': '1011587115', 'x-fb-debug': 'r8pNvw8V8eBx5B1rUx27nf4Y+OtiRD/bkxeRuJElozUwuLzJ5otQtTss+8epq06YZGGXTOBfVDQy81SxoOPCPg==', date: 'Thu, 22 Feb 2024 22:57:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKJ1LFkj85JP_NnCYkmSeRBSAGI63x1Xe3pax9BwDPUs4xKWj0vmEOfXZFJ9UP2C3BvV8TF4dKF2tSH0m6VrmKkuoRnudnWBn45mN8bi7V8EWSiTQ"; e_fb_vipport="AcLCsgKo3Ihy0R5MgwYX37yeqRp3XXoXcjRdjoTR28FHY9veluqHXnxQPLB6"; e_upip="AcItCUl_Tqrvs-34KDiTvSSYXy6c2TtTgw0xB6p6WOpYAIEJFYWKo1IEKo4KvUJShcebbScxDkyWLoG-hYE1BoOflKxVTXBlAVc"; e_fb_hostheader="AcL-HXmGcE262V11_fw3Wr6Q_OgF0t501ccTKsgUD_KLU3NTgc1VT6QJitxPtm4Dz-ZDdr_Zoozjz46P"; e_fb_vipaddr="AcLmqzyXdj37Xu9yBf52ur_OElMUPZUwq4RTJL3t_yw_Dv2y1UAvos6X48iJ5ixQNVe6EGZGPKOicBkjsQ7Il5XeOGv_6sAD1Q"; e_fb_requesthandler="AcK7IdILjaPaKj6baC41AR9SuL5qqkG6nfZsX5ec9jmZXc0HNXjIDmYpNHlnXbtd2SgKFZ0oFGQ"; e_fb_builduser="AcKvGFwbYs5HyX8Qmipn7cZFOoeDWrjFiydDX8pt5j4VPzXWJ6HOsB5Bn2_oD35t3A4"; e_fb_binaryversion="AcLtchLB536g2tfQv4-l0hd-Fhm_ii3a4e8nQ798NRUXbmSLaHL8hZvTCizeZ4iWbbMgsz-KwbR6WHw6d_SNya7s76cX4V1_11U"; e_proxy="AcI-nRZKg_D2rEgPe2SHfEriAvENkirju6lzulkI-3YTx4yq3Q91FTzWqUNZw4NTgqvdZ7Pbg4kPl7toARaK", http_request_error; e_clientaddr="AcKU2xh4XZ1PukXf8_0dRTer-R5A29w7W1t85vM2Q_amwUH6tNwsYTfmGPTciQoO8cRBT70iEPnIw5lOhQ"; e_fb_vipport="AcJ4KHpgJ7tgkLXAmRYHYgwMFne20wlgsfTNR-YSHuCzLCdWyM8jTrYPA-59"; e_upip="AcISaf5ZsqiYle2bGLmSrh2TffKSUKN_bvJZV8pUzcat_ErsE8Vd7GC3fJ9dRA083AUD0P00z-QLmNcinz_LmLzaxXjAPgVx5g"; e_fb_hostheader="AcK9OQgrKNVV2PZtaLGCqyV-cQ2Vo6SxMCfI-q-Zmeg1gvenGRwHIfNdTNmrUc9zp0Int5UhBBMFNSB1"; e_fb_vipaddr="AcLYGqpXWp_7rwBVf2fmlC8M0cNaNM58nziQlqy1Oj-wOcXp1w2o9YQLQbAi4d4N3YCvWn4"; e_fb_requesthandler="AcI1i-BJvpxfT29cmeBVrnyC6QJOJ3e3zpZgUfwuJYLCvywhf6WRNO7XfF6hwrqsO7b8JFy_bWk"; e_fb_builduser="AcKOeoyYIClt0w3eGKE5FqDjP_O-QjYHYSW4WlI_bxJeZdNvpNnUgqskpFM5Shirg4k"; e_fb_binaryversion="AcLWjyB08zeVl2xe12RQVeT8IluPc6uAb5EQlDWW3RAtQr53su3rjLtHm-FvrJTvOE7GE7L52piNpV9GtDYwJwwOn7RyWFE6YHw"; e_proxy="AcLYpG49vJktAKRZVEj4h14T_fP6bkFPx5bkX_X7mn1LihooCmrBd8Q5TZLOJcCuRJdaBYai0NHtguI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 22:57:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:22: Error on send one message facebookId => 7825217117492577 02/22/2024 22:57:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AB2zDHWgjjS5x7qdhdFSBkL" } } 02/22/2024 22:57:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 22:57:24: Error on send one message facebookId => 7825217117492577 02/22/2024 22:57:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AIs-SQ_ir0oS_U7za4c9DgL" } } 02/22/2024 22:57:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6229264, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcLGgMvSE5lryDWD8F0OUrR', 'x-fb-trace-id': 'DNtH8rSUd7S', 'x-fb-rev': '1011587115', 'x-fb-debug': 'iev5ajWk8wwtBaowPRvocgdAh8zhTZcdren4o2odq8ch8yPhottUmvqkg54kIpvH/mKvKCFbHnlJ7cYJgcNh2A==', date: 'Thu, 22 Feb 2024 22:57:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL3Vo-WxrhPe_FwnLZUC0qjA9IaTdQmBEfEfCdzf8eJcQOEDf2yjumaWxyDAlzjOqBubKeJ_1DlVSB9_yQrg_h0iQ_RCBJkT25omwuUAcgndlB7Rw"; e_fb_vipport="AcKlcp0zJOn0JDMEVsRaQSPnNsFFTm3zDd35XxhOmw9jOzly_hZlBeATNA3X"; e_upip="AcLYVREBiegwsy8cpOc8iaikuk0xZ_8d9o0zpuUiU0leC2kSX5PP1TLcz2rnp6Zd4noGto4238rTwYBi74PjxzgdLcCduby_djE"; e_fb_hostheader="AcKWZrIyh0iOmEo5M6goS0rr88qk02JqLA963IU_ZbvuZOgEcyeoSHpEue8lsiQSmRQWfXXf6CeaWQRZ"; e_fb_vipaddr="AcINpp0eyVkH5mpBfBuYrhV1XG3Z5z5gmdKdOty0WvchwUeV48EQQJ6IoPMfRWgT-6RJOwe1YX3D1k4VLupP-yqLTtIGCB5UGA"; e_fb_requesthandler="AcL9vNvBD4NY5Qn6e2tXtXeFVxhHF-zbyDYjocczKKsetIJl7Iqkkn7QGD8aerL48LnnBIc1Fww"; e_fb_builduser="AcIwjYmh-v3y3QLgQcn3StHX5-d8tFUJjncCbui5ZSre8AVMW6NiN8tNBLnmF2jkr7Y"; e_fb_binaryversion="AcJVasqUOWhQ3T9wJoZtFUsii8R5oM0EcnIBtcqvbURMkgTCA8csTMlTGzMoD8b8y_Wtnw-ik4EjiMQ07vWFMYPCOEVdC14un-I"; e_proxy="AcKhXuV_YsJyGH04mn2XJf4SmJKkGri0ek5auYttrgkh8HL1GDK-dEkMERsRajJO5YghxCljoz1uoY9lrMfq", http_request_error; e_clientaddr="AcKc6ih2FQTb2gbWZYr6j_gQ9PM7-Oq6r_d4zTKPf4x-vpcovPJ19v7RpzyLyEIX57GtaXMr7Tji6i1Ivg"; e_fb_vipport="AcIt9JrdisrAVY6Sj988YCfHRErmF1eALGwdzqKYvPYdCuhNXaqmsOYSw6nv"; e_upip="AcJMDCUMB_7JuP0uy_P_Mc3QAToK8X7NOxyOG33huffq76Zv79mAdAnRBoDPn3x425TirqL4Ps_8di3O1Y3nNFDhp1b9_81KLg"; e_fb_hostheader="AcIgZO9BPvJMsplYeumT8TMXyB_RyVEoC_FTjTxbOT9lGXIc6-Tt4kwCc5i03eNPAvpTzJIrRew3q6sG"; e_fb_vipaddr="AcKUcnLQQm9eLx0DKM8ium3fkC-D1_tbyf9QZ7rKG6UDWIwYyWAOoj0AGZRADlJKYvzwzOI"; e_fb_requesthandler="AcKaSFBAHrnaIuy15Di6gISxFN3VyKktHO29tEjkl5JbSRYtIZ3gAjIgyBQsnkHNUJJlSKSBYF8"; e_fb_builduser="AcJLooqtCjqOT07eBGCbfW1llmBqaNvwtefQJCg6Tb05aY1l2mJjRRtwRtj9IC51W6s"; e_fb_binaryversion="AcJMLeAxyMp_jEQKFmaDEpG6xMAOqJRZN3LuZfmJQYMsPAGiyhrTCpJ5d1YBZp-ebeDeLJ007rrN68OYYljyzHg2E2P58l78LME"; e_proxy="AcI62HBdYS_INCCmsP-cUI_X8WxFVAhZmbaFvpHOkbfucWbw09G4_5dNE8N_RRubj7WxaZwvVCeu1eY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 22:57:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/22/2024 22:57:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 22:57:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6229408, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AanQHy-_pnBUuIQwfYDYpP7', 'x-fb-trace-id': 'HroNHWaGua5', 'x-fb-rev': '1011587115', 'x-fb-debug': '+M9fhgSgWAx5D38iC6iAFe8GyKtTKpepPtdKIC52Vjlr54uFjHx/xjjCKVwFadOf299JQR7mrjKy0lYKQOrGLg==', date: 'Thu, 22 Feb 2024 22:57:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJoQOtAC8gDmq_kIF5GzUXuOOG_bY1mHWTG8GoBO3voCsTPVsj4PXbrVu-_iJHG3agPuiJsF-dO7C-H4EFd-MFeMfZaM4y3oo-r8Qi6o8CKxgSozQ"; e_fb_vipport="AcKf7kVMsl6wTgJtzY5ApUtRjsRzQkAvb7OZ23AZwF3vGG6erFhyeQWPUXw2"; e_upip="AcLj-HEnHm0mtHV72Fuu1Ob40JdXvHEugbRasGC1aY-Q8VLTWQitmvP6MQuAAyfNpvxiFCVOcpgw-wlkZ2gRI-zd_EgHdLBiBV4"; e_fb_hostheader="AcKZN2_rr8Hun3JsBMn02ANQzQMBEiJdECPGVZzuRjpTyPCZySyGTSbA9Q_JnYrHX6JAn0KpVqdXxQvu"; e_fb_vipaddr="AcLoWXNtLLBnQQdRGQLGTriIsFQVJFvwEyb-jyLu_K26qm2s5zpGSWNRPZMEqdeVhRbCU221W2QQXK3QveZWFyzOeYPcKoR4KQ"; e_fb_requesthandler="AcJ6UUQsPrhGlL66fYB-QXgbmrEJy2fyPcPtjkI57H1oev1JtGKI4VwCg-Yfnd1SU-31-QfyJVk"; e_fb_builduser="AcJr4iFA5hzNo6hvv8LgXtDc0rV0Uc6qgwIQD_AfEeIt9hXNI9QmRX3NCKeaxDN9Lsc"; e_fb_binaryversion="AcLA20WX42uWASjNuyKGK3G7WCNgaLBqWyDUJRsaBSSQzSI6P58c_bFYA9VJgDU2-eFzWGb8u2y5SDJvvRqqqO9dqfmt2YnnJLE"; e_proxy="AcLs4tTOmOeLbv-yRJrTOXU3Y2Mk3yjjJNdvxFTncq01QNNvGa-1xLUELOwv20ixucjjRkCffxrHP_k3YzGX", http_request_error; e_clientaddr="AcJl8Fe_BqsSTkfYriHeofRztCBknjUKTNAgsZEXBgmRgLzB2pfNRYVZwgNdDBfkJ9CZVDx_UEJ7khIafg"; e_fb_vipport="AcKrek80KI8_FE02cp1vPg2xEXqFD9eicdBq5PpQaPTL9IVvQPfPoW4MfH-p"; e_upip="AcL8GbeUXsNkN8_WkWXqrJZr062-AXG4vdHVaoYIbM3TtupNOzqcbtjas2y21CZzoExOCKcZmQlzp_ArPBdN251Vv_7MXCAzQA"; e_fb_hostheader="AcJ3_8k4JbePI9FNAq_-PCYVumguva2hdgE6PQ8BqKHxg1SLuaB3EYXy8q-aXE3jVN0F1s7wD3clpLy1"; e_fb_vipaddr="AcKT6_fPzSGAEDMzoc_aLpqWxF92gdFoC60X82TQ7YSMeB2EqQA1agHTAgHZTJlambb2P2w"; e_fb_requesthandler="AcIgZCOhXVK5V6tVvUOrv6MH0DeTtwHHPL8RF3eMb79WUNP3VHfv8c3Wd_ckAknq3UhpyCBZIgI"; e_fb_builduser="AcJBGsmHi9uGK9AArSOLKgFIvSdUOdAG0fIYCzeQllh5mN6b7-cqBo2jWVUpxZmoi1M"; e_fb_binaryversion="AcLeTqd8CXEPv6Oi8jCcNIIOUd5Z2yMR3KkJPUDmC9WrpJ1kdHADTTk1lQhCDjAUKLMT-Xe-Ggd5k0C-rpmzDNeFumWMYnNbnTU"; e_proxy="AcKSdKig-P7ZG7QXDCZTu54SQ68bo2WAda5LaRxqpGo7hX6usynlE42rRdKYRzlkxfiKehr8Hi5XQo8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 22:57:32: Error on send one message facebookId => 7825217117492577 02/22/2024 22:57:32: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AtSMbYWNtoqqo0F1NNhGmoK" } } 02/22/2024 22:57:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 22:57:35: Error on send one message facebookId => 7825217117492577 02/22/2024 22:57:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmRjBicApwa5kvi8sp7X1p-" } } 02/22/2024 22:57:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 22:57:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6230091, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANk1n3L7zVnyJaR4SVga3SP', 'x-fb-trace-id': 'B+vIvoQcpAe', 'x-fb-rev': '1011587115', 'x-fb-debug': 'vErebgNj4Es7/6tUNmUHNjcGcyt5gSmESHefS9SsLANig4ljGgxR2/cBnlBjuXG5n5yrX2VdDZ3iq7l5w7Kisw==', date: 'Thu, 22 Feb 2024 22:57:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI0CWJgdv7eoo9XZ0NRRciJKPLLJJTDaL4rQoy896Eow--y3lsiL35Sj7L9_9jLIrw0UzYAM63XQYWM5lC69D99WJ8DEVm4gKJ7ll5AYWTOW5s-FA"; e_fb_vipport="AcKygumf_dXeUGd9bcS53Fwo4ozuZlP8Rwa7LPfXsxfEzmx_GF1cGjqL8wi_"; e_upip="AcI4Ss6f2QlXyR-WkxvNP4DSPrni4UVkvofQzUCVeaLOhkCNv7WM6iEYWcwGHR27zHq1LJa5U9ndZ1a4AEExQBr77WmZP0dIFw"; e_fb_hostheader="AcKauaB_q8gLDmMaN831QUtEhQaIQdnNL71fn2lTNaThoLSRthGVcAD5NbVsJFyEURDHOvc3iuXgRQDv"; e_fb_vipaddr="AcJaV1xzKBrOerx6bTOyXBG9bL2FGJcOZIWk53GW4fwPIu4Uag2l1YGQ_-R3blN4m_FIbdNdBrNmDtjDoJ3GFL1MGI4B8r11rw"; e_fb_requesthandler="AcLK8itHLzW7DvXOspUzrMLgOTXhkmBQqfRqhyavAQ9HQXxhfG3Q02HpjmvlA03qMD-xVNrOmz8"; e_fb_builduser="AcJMbenI-ubfOseGl-4HaZI-YwmFmfo0Nz_XDgfzduJ0nBIw1RPGckMnHCpBOC5h4wk"; e_fb_binaryversion="AcLX4lzeFtvphZh_YFo_kD24ARU2u8wCfCVVcQTrkKLIKw-3_UPJUYXKQnbt6KFUH9oaYMcHcmv9Ed7GMyK6LZgys9OSqVlBmKU"; e_proxy="AcL2kbrktBWnmec99QltaDCH-W2-nkcb_9iFd9HH93bp5NVKAAouiWtgA96-5RhXe6oHoBTdImqhwi34TWJ2", http_request_error; e_clientaddr="AcJHKyS3c3rTVEwzPKlh-DZtLsNli07lcfftgCaWypZpRkc745KQjoUYj7MDSK36fhiizAQlKC9qWWBpcA"; e_fb_vipport="AcIAjt7qoW-vWA9irZsisuQD_ErxmspOK3bPYBCFKXHZtM78C91lVv69hZQ4"; e_upip="AcLd7JIgEjjkWLTPdJYuYpkiWZJtmCNLDcwjCYBddT3G0T1cBvCxz4mOTF7QlmxeU6PxWaktdYPxzQLrbJRGENuB-pYIGWpGKA"; e_fb_hostheader="AcJhANIPeL-SEXPbYDrq5Dag4W82Wj9sffSw8_6wA56mPPw9iSedc-aFE1kXV67Qyi83JhaJc-_Z39P9"; e_fb_vipaddr="AcIhUXa-ao0VIDyHgg3QyfpURrXtLc6G7UopTpQakbj1spyCjQfuBYibD0bVxBi5y8wRYyQ"; e_fb_requesthandler="AcLMcfMm0rkXz2yiAS5dVold5U3AczVyf6SvcIH_Ccq1h--ZkSQ3kFW68g8FuPvlCCPIiOLMSjE"; e_fb_builduser="AcJIeyxG1v_hI8YYSZfVp6uEPIdWuqkqdJRdXur3XWq_3ZKJrz8XzVqwOnhRGO6ZtCY"; e_fb_binaryversion="AcIRW1PdUhOYCjWaP3GNFI4T1jukcuIzf0k6yx1xcn75s81wunOCO7alKrTw3eFJ9ZOAc4mkofjuk5Ak-f79IeW3D1Mx8_VMdl4"; e_proxy="AcLUQjwyjOCuo160tIuoiu8JBVweM_Fu-gzePfXZ-wdK-QEOvSt4lOyot7DtqfDBGH7_YQr-uzicV50"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 22:57:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:48: Error on send one message facebookId => 7825217117492577 02/22/2024 22:57:48: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A--jS77cKdkkxbJArODAZtk" } } 02/22/2024 22:57:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/22/2024 22:57:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6230232, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'An0k2lN4f3uavmEDfjNS58P', 'x-fb-trace-id': 'DEuxYiGa9Tf', 'x-fb-rev': '1011587115', 'x-fb-debug': 'Pm89o0AuNcOqWS32j0sqgy9koUaTDE89cnuQ7BM24FG0J2izmCkOg91R4n2OA4mocpaGZ8UAY9XMGQX/YlPT7A==', date: 'Thu, 22 Feb 2024 22:57:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKnRpmNxyF56SgUqBRngydws8SOvSx-85xfc87siEQFQPzoVYUn5snDr_e-DvGcAAKTar-paslfg-VJ33wfEltnl-eAxo6G9bBJpJxnV3O1EVbh"; e_fb_vipport="AcISPiQAoLSB1tE02GSdy54X8uZ2KqImNEh90eInTBOsCRbrGjWnji_p1n-8"; e_upip="AcIzYfmKctQep_rENbVkUOz_xuKow5g52y2SBAHUR6GN96KI_ULu_coKUwgwsXmy_HvnzyXn1eCq7nxofOE-G1fnshgojKaW"; e_fb_hostheader="AcI9xt-yreNVhucfy6SgVNXVOWLHPCTdB0pJNzMjIlrWTvkkBr7DKQlu4doRSfJZdCrIs3gaTJTRCpeu"; e_fb_vipaddr="AcK8zUlF737kylK5CLHtsIXn7uyc3sAhDqx6R1ZOL1BP0LNOvt1IZMciwTn2Zf_saiMzxrypcKF9BU_dIE5zr0nurA4TQsMSHg"; e_fb_requesthandler="AcJPResUU6TmsjAvoGtIWQOO3SV6DvO6zdbvZyNJoNcVrJhPHeRsyc0Ip7a5nZL-tp7tjo5y0SA"; e_fb_builduser="AcKyToKO3XChcq38b6fyT8GQvSCO3Nba3H5_gFTNoGwVvIP19NOoJVgPqZtW28J63WM"; e_fb_binaryversion="AcIj6l1ni4c3jTI0llPhiwQ0mM43Ys5uL_ZHexjRkR8gXUK8TtVL-eetV6JRS_5jI45K-9xz8-MunLCFVMZWehocpGid181CQMs"; e_proxy="AcIg3ZASk6khRyACEO4coLMP-doPKgtD53oNsTlYwaa-VoVa-gg4Kh06SikQQzCEZiPn2TYTMoYIWuVYjcb6", http_request_error; e_clientaddr="AcJPQKDNnl4kzscj05NVkEZ8fIOIx7F5_PQiWf0U6ApJOL5B94ZluiEWuyXb3GsoGEy7FW3t9mbwbS6a-w"; e_fb_vipport="AcLFvnrNzHUyC8e9D0hT3VKRn1k3UnF7Nn0JEssVAcv6ZS0rrTl7ONBBjjuA"; e_upip="AcLcEstQp7Amk5GoExuJjkKVhulSGMThBvkmWhVnbAqB5L4jkpc1fese6XlKkmZHVwHGPibVsYK7hUnFcZlohEEtxNS79pJ7Ng"; e_fb_hostheader="AcLZk_fmfqtgiZ2epbM3PhElFepWMRwrSiCCb33Gl9q9PJkU3e74IWPsYt0_ieJZxIrmPflzhVu6nOBg"; e_fb_vipaddr="AcKJbct_YEoRxAQwbbrD7tRpW3J_pu9E3MbxloNOPoaAhDUrCGve7rK_sPx7yjDe467RIyQ"; e_fb_requesthandler="AcI957wJdBj499JfO_nUn8IlSiVd4eNIDjS32EXf2aT6zTnz1F-y4ibum2b0Ih9ZVCwoyuQ_2Z0"; e_fb_builduser="AcLA1cC5LwRHX8jBSKdXTHA0M5hnJ0zrjnLzwAgs6-NemfYwGBvq0__lM_Hkak1GulU"; e_fb_binaryversion="AcI9qwIrZLde9Fu1ZEvn7doaX8eeEJQ8gQaLMZaWuQqrWfLwL4Wg-QCLDFUjXjJUwAw5cLuX3u3B2Ght7KWSdhYQjln3iXEx63g"; e_proxy="AcJYubjsq4N5O6Aa3S8LTsGbY5-SzPhZH_4F5oNjMegfhg4QauF3dzGwZ5tSZd9uDNYKYww3I9s7_6I"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7825217117492577"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/22/2024 22:57:53: Error on send one message facebookId => 7825217117492577 02/22/2024 22:57:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1sp8VkQPh5LMl82kWDPhPs" } } 02/22/2024 22:57:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/22/2024 22:57:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 10:20:33: Error on controller payload Input Treatment=> type not found 02/23/2024 10:20:33: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5626197274171144?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6344945, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5626197274171144?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5626197274171144?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5626197274171144?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5626197274171144?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgW1MuFTpjNISwYDUYodFn6', 'x-fb-trace-id': 'DO72HcAvUCF', 'x-fb-rev': '1011606996', 'x-fb-debug': 'GvVnhUNnngz9cPcyHFiO7rO0+qNnEexG2yg/CEs3KarksR+3mpYKHcxwwcsMK5PCRxbKTRp/x05B+5qSi5V2pQ==', date: 'Fri, 23 Feb 2024 10:20:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLjWiLGhptB_b92mgMDmB1LddwpcKc8bVrQb7MKYLXTx--igRClkANcufNsqtzbh7qgrVefb8gdGVvcVrWwsLef_N84-oZZcrnnSfegAfSlucGxhA"; e_fb_vipport="AcLtu91u09j7uYxGlDqDeg0vv_dyJoeS544VVzWdo6uV4U15TSUOndnZvcMe"; e_upip="AcL1KiX-JJTknVruSf5gAt0Xib2xnhxgRj9uKW8gJDbt84C69n4BaR9PD1yaRk-QCFrkNLa-jp0IPdFGsJ_CB9KFHvvkA6mxNAE"; e_fb_hostheader="AcIcgMBrFiEvOqG885I4W12S7IANv6Uqb5Le5hX21Fed83XWLwHKypYWBg1vYBVxuwdzayX-Dq35nz2j"; e_fb_vipaddr="AcKQeQPP1u5JSofsE9_31drYSolNWG_u0UMz5s4AAqRYWyalhAiWF7atlys2om9n1tGewi0whIVtCYZAEVRASl7CTRS5Yyhb_g"; e_fb_requesthandler="AcJekchmi4DY4HDJievLxJupQLjER7mbAN9J1uQ6VKm8v8oHfmx5zehX7v0S8Jo2RTDu_Y47XIY"; e_fb_builduser="AcJq2elq1_vwFI21oTSQHrAVyc7LZXCtNiQ9s2tUhOXWP2WIFmMcOr6XzEHkMGsM0Rg"; e_fb_binaryversion="AcJK2bWadDqZd7jDLOhXQelmb7meFhH8g77vTYaesFBPozGCNF5UuI5yR5icPzKHywIlQhlLHzPawecmvfmvXFNTAByu4kHGlFw"; e_proxy="AcJgGmmBhjZ1asH2KJsKlgSq1kKv4C70cqSAZjmKlqMK8MJRijqjj4hJVqVE8-A-rNiDkAWLDnUpuhbtcma3", http_request_error; e_clientaddr="AcLBmf2gy2psNo81rxsZ9lFycMj-LXVrwheQBtb6u-KEjmraf7sIJ2dUE_QkE632KrpwwGT_qBslHU81Pg"; e_fb_vipport="AcLsBvXsbLEU32tDatzSavdZhqPDuCAUn2wQ6r_dRy_2Sj_XirHU3eaPZRR5"; e_upip="AcKPvLiFgjFw50f7Yl2coHh5qfLSWfCqq5Paf2EPjvAQODlXAZuYuhVhZo1QV-CqExlUiy6JGgszq6n_uHqBi7aQPPfAKL3PHA"; e_fb_hostheader="AcINkJa190ZPdvmo_m2iGLqkuEEd8_dlIP7e62MCSC7ykkNFvnS7xcXTNXS3MeNYqoTNwOU-GLiVifQ9"; e_fb_vipaddr="AcIC1yccg8P1kKvGFCTpqYF4PXiyeX0n51Sc9Gbwtcu3BJu2bccudxVKYXRqmJhWeFj7Fdo"; e_fb_requesthandler="AcL_vEUDIBA5h2FmZ-zsKoOgrb9oK52q4pBJhYtZN17Sa6wFH6LOmx-uQFPNnqrwpQIaDhcRU30"; e_fb_builduser="AcJA0ewitp_cGLhucHws0MNad8NB3Ds7Zmd74B0G1EUbI_CD6QUFaVsPr9uChPaKECQ"; e_fb_binaryversion="AcIGTXbvtrByOwcLNxsKi5Lx4EL0whwOGmjlx5pFvwogPiWgzLZT7gxHGKWAJ9TNcfweM3PhiBz5CfP59-xiBbDh_8HLaV2BQqE"; e_proxy="AcJE3YoSrZyK-MGZnRHXuux_G3bHVCpyZoxwTQM0KAn1HRxwO9ck7t5DSUzb3sMnwwbTjH53ya1kxzI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5626197274171144?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5626197274171144?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5626197274171144?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 10:20:33: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/23/2024 10:20:33: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/23/2024 10:20:33: Error switching inputType 02/23/2024 10:20:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 10:20:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 10:20:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6345063, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al4UT9T6jqd1osPmnJiJ20l', 'x-fb-trace-id': 'BIRU6Iyp0KP', 'x-fb-rev': '1011606996', 'x-fb-debug': 'aE7xhusoXdiy23jYdhFKgdrxYmubyg17mV9SafKn3eweC099d1EW+vzCgEmpfBiY4xwxWTTDXdDt6RnKrTVq9g==', date: 'Fri, 23 Feb 2024 10:20:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIPQakFim1OQvl9s2sfvSqZNeQpxwaEmCQ50I06r7wmv_b8pemyf4TQLGKKEG7ixmqxIoTndrweywuulIMTWG1E-s98FBtSiAJWG4imNbmNNcHAGw"; e_fb_vipport="AcItszR8qFmSVHoFHLR4Sr1wwyLwPomWXX1HRdN0pFbDvOlMrWOE7J-meLnB"; e_upip="AcJWTP8v5oM6fgWqaSdRLV1e7jxOohUVkrkk_LJhq7vts7tw-0iaAjTfeCv_YIpiUOf_5T9nqinwj1RTLml7-YlgtMVzDMWGUjI"; e_fb_hostheader="AcKiWFEFEaUuzNtPTBjQE0O5gEgzy93fCL11MOw-FWw3uaMCfjx91DNpzk4sCLx_Obh2scZ8evnPBks8"; e_fb_vipaddr="AcIc4_t_KMiol2xLcBJKOAUlJCW-LzThuJBu3BzbgSs2GJgAkOX9vI2D_M-d5scnZB7fxavA5K0aQbdaUTOaYMygiSf-X5ISNw"; e_fb_requesthandler="AcIv9hnLvW9CUX0XHsari3G-lo9S_tcoN7FVl94yDX2H-5e-R15Crr_uLpr1LWIgf_9hoOjZhOs"; e_fb_builduser="AcJLA4vGs4ggtrPenSpXdeNwSYZwPFfPESfcAhIHXEsS1MKLSjGxe3UsqfD0hpL7H-k"; e_fb_binaryversion="AcJVBwlaxswD-RW7AeAt0ux-M--1ys46opUA42vkQkJIoQ51SQHb6KD4pqSB3Vhb3AU9mZ-qOhFdC18MYVPmOSsDzqjYmo26dMw"; e_proxy="AcJFsOMi3OVqN7X9vQ_cjlQuqySNtqVcWWQaWoxvOvBwh9QhWSdin-Pr9Zx1dLjOgp-7E9C4YpvyQoaUOVoM", http_request_error; e_clientaddr="AcIl0Je4plecF5hV1zwuCq8na3sCQkdOX_wHQmdGc_q5YuGN4D5W7ofBNjXpfmUppVIyCuhFn9C8ykhAZg"; e_fb_vipport="AcLVHdLXIZYsKJXz_0AsqH1lUSrVQ3bLzxHw8RpzFyBCEEE4eeurEJ8d1Kes"; e_upip="AcIhxnNPzEMpMBOnqSltXdheisNX11-siYR4aP8hW2v_w7TBrT3qkC06UvpFDj8haJzXDdq_Gk4oyGHM60_YkoHb5XY2si3E0g"; e_fb_hostheader="AcL3LLG-DXsMer-MKcGOxcF0UcYImMDOsQIumnl9T64c3h-H4vkNIq_J11rYy12yt49O7Yy_F8X6se9A"; e_fb_vipaddr="AcL6WN3uK2JZHWDBDk5S1HySz9cgoYPOm6Nb6YPtNsA7GASbsrWuE5PDmPQt9LmExNG24fE"; e_fb_requesthandler="AcIQL7aaG3c_emtA_iArqflYiHsj5fDmEfgUExEHrNsSQxU1uaorMVHcLsYUR38QZG8HMwjtthw"; e_fb_builduser="AcKI9XI8pHQQhjHUWCbIMVguI9-STutHxzERwVnnM5jwUsHCzgIbXGZr2QwJ6Br-q3o"; e_fb_binaryversion="AcJIQYmuIAcPVlhMkxXbTGABWtIHMnDZgF-D9sGLpWBtuTgB-tD4npCOyuUvhSFOrzJe-FgmZ1m-so_4z2QzSVZk3lH-VNYLDwI"; e_proxy="AcLplr6dSSQN9AQgkZpWxCik3rx3fQeyCIcJCPgOwJVT0xZn7dIfWXTcNSoLwpqS2b20LtuO5CBEtXU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 10:20:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6345191, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwZg4WaX55Ee9O4baHB9rsk', 'x-fb-trace-id': 'EbK7jI3GQ6p', 'x-fb-rev': '1011606996', 'x-fb-debug': 'a6H+3W96Z9m+WCIGYRiN2KuHPgJQeltjo9eyISQCgZ0uUAqUmiVOb9PjNKq7W1tsNdw3MfIeCvm/GNtBUgKwmQ==', date: 'Fri, 23 Feb 2024 10:20:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIIWu0pJqLzKn-WrZyN22vmyN4lugoFforsMmupxiGZnQ8k3oVJ16wTKlO0R4EznNHutWFmHHwYzuJhKCYF4-XBdAg4iDZpp5liW44-fj2G3ANJMw"; e_fb_vipport="AcK3T67vFXG6YmwgA6-0Tma1ULQ-ipl-kTEqpHlnTV2A9lwcl_0i57zwTNQd"; e_upip="AcI9SwaGfdYHaMfA0nHRdj4nNGAvPDHXSQpFwZ2hNKmFqffOzjNsgtLt15cHWuinCAeP0McOthfMgPrioagPfUPtGxUn_5T6JQ"; e_fb_hostheader="AcKccJtBW2j0pyUUOdW1nrVaVaKjI2mzdx8Zec-QJ4rs9ZStHsd0-bKCF5lHs1oRoR0r-4-HeiMyYxgz"; e_fb_vipaddr="AcJh-uB_w7efegbsRw3VIkIhCRG-Zo0RsZ128OE64uifUvRppnjbDnpcmmOl91oRPvJ6ystcaq53cVbZw7tivxIfUnmw8HIxUA"; e_fb_requesthandler="AcLurCsd2w_0DFPWdoibU8m0HUhfEyEoO7MWGZ7ml7knp_fEAv4-ovMVVuPBrZjiU_2Qp2z2tGw"; e_fb_builduser="AcKp0CE_lu_29sYkaysEQNwQjiPmfX7AT5CGRRb_3veNL9Gtr9iW0gSBPeOIgqfUUU0"; e_fb_binaryversion="AcLc6GN3r0V4Ernn2yxEX-exeuEXTlHfBz5P2JxKzig0J2wRaB1O9h4jMoEVuGL6InK1X7WqSrhrrhJoNDnpH1UcI4gRrMxWJXc"; e_proxy="AcIr_FUaLeBQ5xzT54RkzSP8pSpxyo15wTHAExr7VwMZUQueOnebEJYnAz0DWYv2aaO_O-l-9fLdgJZoEB-3", http_request_error; e_clientaddr="AcL-gsg577hbXLqBU5inmJwqSbN9cDOOj-PXPURjIGHgMOFIUbnV6FuUzroisHmZ78FUSLIy-LsKvACzqQ"; e_fb_vipport="AcI2tdiZasLLhqzhbeysT1Z2Wf7kApt590rCbNkR2S9QbcG7zvNz5T9NXGM1"; e_upip="AcIRPJGg61xgeMaikxNyv0wIPCMqsEPm-vPFm7y4vrIY-SRhNqQClXTpF3DZ39nOHKTHpWrFyKFM9BBvlVcBmOEbMSvIE2Eg7g"; e_fb_hostheader="AcJiwZtSvM-g9TQfVNj8FJMzVVEhN-VsjYRKosble3uYyru8OKqj0i7xYlG1lCfBiq6rFSwA1Npkknrp"; e_fb_vipaddr="AcJgPumD9O6_dGfFgKDU8KGpfSZEPPGnc61Xi_gsvCYaB2WuiJ-ohE9k5sT9NRFYhU861d8"; e_fb_requesthandler="AcLWocbJSjYt4haypr9d_PTRvMpYVeT_wCoOhpAK9km4soPMJiZBnupNF8I1nQnKojax0xnPvKQ"; e_fb_builduser="AcLq2nx5NmpvFwk_Ue9MPrzn05cnjs2plFZhliRoydPDq_FYIEwAeyW4Oc0H71gaB1I"; e_fb_binaryversion="AcIcT4ujVSxB81NYTkJu7e_j4dkVcKszp39n5d_J9Ao6ZX6ZAAXbPjLZMti4UOoIVMhvj6BwZx1LNxx5QYfIeceraOLtYMeiqTk"; e_proxy="AcJsoISWRvsX0T3CfE2Os468Y64sQJHWPqGR02Ihn46VWdjzSVrmD8ubpHNvYlg50x7Bp5_GBYHw7UY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 10:20:34: Error on send one message facebookId => 5626197274171144 02/23/2024 10:20:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AaWT9lWGfuY7MQS3m0WlMGy" } } 02/23/2024 10:20:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/23/2024 10:20:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 10:20:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6345350, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AARCtJEIMJm9C2vIf5Ik1zz', 'x-fb-trace-id': 'FYHK07EdqJz', 'x-fb-rev': '1011606996', 'x-fb-debug': 'Y4Pvw+ijVDt899v+2XTD+1RTcpHvEdA839L8XvA6AGbkNzB3MwN0JjaE+lha3Xrd/5pJknxaM+P8AgaIbnmSfg==', date: 'Fri, 23 Feb 2024 10:20:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLrDOS24Obz0vcY86n1-cyaq27ax9SOzlmFy_MIQZsSyxGFSoGqfTY8ePKbH4p_pGwMENK765aVK7tJr0eQ09Q4CMVWVEOV4SV-PmXY_v3eG2eGww"; e_fb_vipport="AcKOtoeN1Hqdo-gNn7SkEx1d3nnLPBnTSLYCOtG1ZYeslUm7oJ56fnkVZ06n"; e_upip="AcLDS6vqMNgnJQfUuva5U2biUoGT3wb-p-dmyV7P66UcZ-4FbS4x5ID6QPL0P4HPA5GVAswY-GZ50uPnVdFX9hww8t7SVqJrlmo"; e_fb_hostheader="AcLNJlksh2w54gyVezLTsccZsERsWOu5uMZHHDBUVxll66EGF3ZPT5_nU6LMQSuzO9hkM7lZBxdmyo7E"; e_fb_vipaddr="AcJABk4Gs5dmW1YqRDFJ_6fvnuUCkh_uYZisBxMYKZXYrkG1S8I9SPWHSYB4VLkolZpaprN2uF7VM2FHx-iQw_bQax0EGh2kpA"; e_fb_requesthandler="AcKk_uuEvbmGc08oQBZ41Oc_OBa9hDrGM5RljS-nVWFHfceY9u2xMyswydtKMFeTh-YlnelBNXc"; e_fb_builduser="AcJT-jeCBwTMyKYtwvlNhy2SSPNTWiSrEZqwId57BT3kToahgyb3iQpN7vy_XWh1t6Q"; e_fb_binaryversion="AcKJkmUunY5ekx39GLkCczpfjGHhGpfirqMKmbEt5_iMRkVKv5ZNYL8GPDwfcvPM-vV4HFiJlgNb2x3pRHkIeYTF5N9iJO-AqYE"; e_proxy="AcIBVwm9H3WJv1IEY7hW_l-Yn58v-rQvo3pd7mq3dtW-dpOEVhGo2QB43xYJvL6EKUq7JC8mmgWi5IeK-oAc", http_request_error; e_clientaddr="AcL4rL721TBGGc9OvKOCDGTLR5vGVZvvfhhlA29bBhzJLBWiUOj57vdcFbU8_w4sHGaIi8dwXa0lp6sHYw"; e_fb_vipport="AcLjhvQ8PyqY6SZJHdfWz2hYEZ2WGbPHkdiyw3Ci9iqXl5JouZFxnAn3TzyC"; e_upip="AcKNNhisNgJ70Lmf5exfPlu6PXySa3bL0IgcxBPNRN6wNyaEj9ZbKd2dbXG9zRL1kL6NOUKBETEI7IQigq_64DZXwhXpgvxs2w"; e_fb_hostheader="AcIQSsaZzu8z1F0-pJq5Mv-NxIafLUOdF-R2Y2VeuOlavZTC8TnaTWZKVQWJOCbjVDAcx8Su0rZIn7Ev"; e_fb_vipaddr="AcLVIR88NlSvIUdxQ-va3Fgw4KeBJUqztMQtxCxE8PSJFBFsku-ykD2LU1_UE9IryFsvCQU"; e_fb_requesthandler="AcKIGXtdrJx4ZM3a27SYgTN2VJNe1lZWnMtpHkPWPpEQv5gTbf8WnZmoyvwSxDnUuDX5977cX2I"; e_fb_builduser="AcJPwuNKf8eYwDoX-vSDF4u-QuVZA3yebqJ8WsXmoID25dl1IIFzAFUXKVkdsEec7CQ"; e_fb_binaryversion="AcIRjxdc1dK7UrzyCxOb7f_nbLeOmABj2RaA0-Hrt3SFSfiaB0ibiGPT_3ElJ3x4pLTiaPfHApk8642SYczMZArAP5nJOxwD1PU"; e_proxy="AcK9kc2Oz2GAsGkEhu1d3YuiYK8_GJtMxkyr8GC0Nfk-pjrBafM7fW7V9RB5guiWarvKTKVfotwGdGs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 10:20:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 10:20:36: Error on send one message facebookId => 5626197274171144 02/23/2024 10:20:36: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKcY2rRZfqr-oQpw8do67kR" } } 02/23/2024 10:20:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/23/2024 10:20:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6345427, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnGSINYvGzKgYEJkttew4ye', 'x-fb-trace-id': 'CIGLJY6YruQ', 'x-fb-rev': '1011606996', 'x-fb-debug': '7JpPr+Wu6DyomJ3okR7WqHPk/ZgZCfrWmx1/ZO6CZHhq0uDgvx2sLjnarC+caIuMAHFcqp661wTDWuOAZWwVuw==', date: 'Fri, 23 Feb 2024 10:20:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJGPmA3M0SZ7ZLG0HHxN_4yTInQDvjvVeHMRUuqqnJGhFfBwNt_U9cV86eXFDtJQVfMp-bhDdOJQLjlidFRsdn1NzMONsB2xEy0n7QzYWQ24CJM"; e_fb_vipport="AcLq3HioKQ3NbCBpLoYO-Q8q6qR543Y21Dj4hH0Li7-7R9ah5eu1WK1QdVQv"; e_upip="AcLakJtK9A7x5E11BN6xAENFUsh0f1_75-O53oEHTqVaG-Q9cS7lkFQhWzqtqJUTIhKhAt4OVpUfUE6TDgtrvTYZf_LUn1rK7w"; e_fb_hostheader="AcLXpkqSS5fYTwkTBLH1OWiVfRraFvvjvZ0oIwr1iv7RNA-uiFn7r2uUGW_bovo7z458fXdYRiEk9XP7"; e_fb_vipaddr="AcKRFKTo9nvdMxN-Q_G3sqLUnCqd26l0CmRaTGUl3xRNI2F-IKurlveQtvJUDxLWjZVHzK926-4RCoUfW5xeRuEBpPMSjTL_Lw"; e_fb_requesthandler="AcJ6r8RqId7qV3ilzaY7bl-YpDqpFE7ckrVzLx6y9KwefPfPRw7tLO1UEW5QadX8WHMiHv6X1Dc"; e_fb_builduser="AcIz4XQkCCNQqshEJLGFIBc7etjhQu7D2ePxmS-CccPShbzzH6nbTLgS1rFXpZuNraw"; e_fb_binaryversion="AcKkHC4ShhCWLvQXY9dRIws1v6SZ9SGRdnBQuMPQKpg1MMAUcClzBMr-lkcorsBxtfKnl5z38ZNC747csK-hwnqiqkLxmRuHbgo"; e_proxy="AcIcYPr-kJ7MCzcK-yC9DF9hvrUV104ioqAG3FQCgqrD4LjDpa6mi7T4VLh9nE0FhUgk4IQ8w25JuHRtNHZk", http_request_error; e_clientaddr="AcKhGRmsO03ih-61RhxuXGh7IXXXm69Of6PWYxqablYUk1_WFGnJdX_ND-49OsPBHtjizk0ms9X_BX40JQ"; e_fb_vipport="AcIWi-NAYbfc70TA-vwninO9iIjBEKcqNzJsr9nn-4ZfsdljkO01UvEU_3AG"; e_upip="AcKcjUafhwXRYzSTpMaT8Dk5u3gXQzxGf9fJz5CQzGQ6jC-juMQ8U-97ttIj1luaXndRNy5V23FyFLlvk-a6BQNVdT1deXrjqw"; e_fb_hostheader="AcIac-Vx5Dy5ssxn7cqDAcvIK705l0DrEsjvArqAjVsBDDY-JpriqYx4DqH3fbl7fyVAmmMxMTj5LU0s"; e_fb_vipaddr="AcJPr1DGWedky7Aty8VwYIi0AO-sVkQQteXT6NYkVw99M37sK9Lz-dWvzo0fHvxbgVgibyY"; e_fb_requesthandler="AcISLZdF-1oT73Cve23Myt0qU5rcu5wUwuuPxAPRcVnYtFjQQlc-YgMU0rzlb_mcGwjAamhuD8o"; e_fb_builduser="AcI0d276plS4-2ObtDXo7BJ-vtPbZ6XakUxL7yktSfKViSavGgBuk0rQAeM28Z4oBdY"; e_fb_binaryversion="AcJOrRey4ROafvuDJ34SVo0fP6k9tHfYNQh8L9iQLb_uWLriGor2GVeOTJ5X7exuFLLe4XlJOCvzOcFUtF7fy1d6pBaMWgjg3yI"; e_proxy="AcKctZ6oRIRK7OPJMXzy96d0ZcREEvPFlkHUaqAq3E6H6lR4Qnf10xOfkWgZfLwyAC30Cm6JiH1gZSg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 10:20:38: Error on send one message facebookId => 5626197274171144 02/23/2024 10:20:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A_lXbO_5Fyr5-wvXUaAH3AD" } } 02/23/2024 10:20:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/23/2024 10:20:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 10:20:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6345566, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaClpzzCxJJARWmfHO-XEO3', 'x-fb-trace-id': 'HYT2kq/NIAl', 'x-fb-rev': '1011606996', 'x-fb-debug': 'Z4R5Cu0LljYsfU6caFaELj54tMPPqoUR7reAQh3oqzFzH5ZZ6oIbqu6EKlGYuX8cadpNy/BTXNdLu8ywZZiYOQ==', date: 'Fri, 23 Feb 2024 10:20:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL_EPHAp05IRt9LJjr2HLdtE9X_0WxjuKu-6HD2artnkZhHOOQlBXvsCFszt2NwqWFZ07RFY1WEWWP2f-kHCUHcSxX2p4vpuoGDte0ljw7vtt-vow"; e_fb_vipport="AcLkgh-y64rYgwbHJ8YnstA8sI71YwkLLCsGdomWcPIN6XQmnxb0fFtkTp57"; e_upip="AcJ5Npdlarj363HtsMENei9-vjNz6VVKowVpoTFRikTOYfIEi3HCIkacQ0bpBmbseWUk94oRo1i0DhzbLshyyKdDjCVht5ujAag"; e_fb_hostheader="AcJMG-If6N5SIND3lOUlPeD4yX2lVwj83TNdPNpnTOkT4P9-qkj-3kwaxWP1BV9dCypF1QVmPZh9kyGY"; e_fb_vipaddr="AcJ7-6FNnFEO5ytB_qqpTwZwxUhANbPKl1oajyT3uiwNzfOOvUSlBBbKddfhmHFxOjpoytUjBDXu4h-NfzDPAU0YGGj9sWrk6w"; e_fb_requesthandler="AcLf0JG77glV-686Sbg_gNfUhtPi0WTi9SSxpmLfeFkdjdH7XBs-L8XpG9Jfsp-k77k9Cm_u5SQ"; e_fb_builduser="AcK8DgwSgnTp5UBcia7ifk-J3kL5rGhxEI_o2fgQNlyfWMcamTItCZlS417qVLNoXvs"; e_fb_binaryversion="AcJcQ08nQ3MpLHWh2qDj09CFx0CmoqGxYtVGvD8mLtXY6gqfbWVr3toey0deFTZf0mEVLoduk54xAzTv5pATx2rs9_sDWSV4wy4"; e_proxy="AcIQIzmJwR8YqOBcy9-fEobUGLSr9PepmLxqzLsZPZqKs5erYGHg-0zKlV1ulEnIQHGmQoEw2SP0Brll9jct", http_request_error; e_clientaddr="AcJa2-e_vQYdmFOUAE66P24CU-wQxawU2_b9v2NSsmOrzzupBg42I_hWrBjzfZx45JkpL__sic3iz4dvUw"; e_fb_vipport="AcK49iq0QgloIW1pJd4k8Ef1Lw5URwfAjUnjGkea-HRNtZEtNY5OsOMZdQwc"; e_upip="AcIthqitwO2qjH0H-XreZ8Tvgx5GeL_Oe_boxNMKaBszZaVX3p7Cc-fbP420JfIPRPw08mBF4P7AReQpowkVK_gvSUq1NUBhYA"; e_fb_hostheader="AcI8N-F8g3kTlvCSvdhMVjHTA7RQg-2JkD68ELDMEiK7Abh8UDIMglkGh0KHFXJCjHUgjtH0u7wGHtNm"; e_fb_vipaddr="AcJFQXJUKg7oaoXzX-79t-g1k30nuEx5c5UfmmleYYqADNUI6NqSx8fLe4Spn4VVekVjNlE"; e_fb_requesthandler="AcIewGb5uEUOQLJnqJ8pJ_COO3_JU00i-4DUZ3ydkTQUvByPKWTJ1IMACQ2KWRYrkn6QCvj1HWs"; e_fb_builduser="AcInxuXoDIHG39qK-CocgQcaecItMPDSRQmj3U_CH87FYsqdSHWP8gZctAhR17mSTFs"; e_fb_binaryversion="AcKCjcg9s--Q1aKnII8ElzuauGFKWXXESRbXFyQeHwFZJWfD4YtMXeiWRWAk14B-itdlie-SH9nhuqY0KemzHt6tD5ItUAB-3y8"; e_proxy="AcK1nquR7tcr4GI2P5ij_p3JxCAo2T1kOP2oMLeudNT3iBh_hbEx4t98vLse1lxQ5dc9DCRMOezrFkA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 12:52:38: Request bot not found: { id: '175778962849901' } 02/23/2024 13:35:37: Request bot not found: { id: '973272346080861' } 02/23/2024 13:42:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:42:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6379532, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjVsB_w4Sur2jLSMbxVSoo2', 'x-fb-trace-id': 'CqLeCCsnN1f', 'x-fb-rev': '1011608092', 'x-fb-debug': 'L28DPJRJLR2EX9ld7qubB+O86eKrOtxNk6TGzHFg+Ls92V1zEnhISp/NOcWxL48n1iDotFgXluCs1bFSUfn9Rg==', date: 'Fri, 23 Feb 2024 13:42:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKzQVvzFUFi7Fz_DwSwWDzrW_9p9QcoHeTdgDDmxr_PRFGAM45Y-XCa1i3xKY9klPLyMuaDwpmAYzT6avwcsaGszmmkmUj43mp0S1cotFNYQsBZYw"; e_fb_vipport="AcLXREmQCNWNFJhXRMjLKocK9zcMGvLbvND0HuaD1w_OpsCa4FdeVKHLrZnh"; e_upip="AcIjX_4yKI5xvrY53Db-nm5FcBd8IfIY6s82s95MxbfFsqHqXWwsG2qUHyc3nWSWfYLPnL9iFHI4LuKwv4yJfSRNN1xP9kwKUxs"; e_fb_hostheader="AcJ0k5eqUnb1Fd8uYBIAFSRs9F7OFbYo1dk0y9wv2JeJrdcfb2Vf3yWv-0LtAcohoeBVqevn_k_y3PTg"; e_fb_vipaddr="AcJCvs_hqIxORBCqZsKCX3hxhWy_k7QJLktsC2LcQGdrJDCHEfZIevQMdkK3pB3dMVURcrIHlUxmWnunj5EqaJqgn7pmZEkqZA"; e_fb_requesthandler="AcJscGyB5ih-3Lr00er4rJxLJUKQFWPmuoMnXHmGCgOXE1eHpjKRIGk4fpV24FacYH86Y8p7GLk"; e_fb_builduser="AcLNmUJ16_syupAWe83KCYGFct7ysrZGjS9gW_9ofhmxFDJqzLxcpaWSQegLwX6wHlg"; e_fb_binaryversion="AcJLzNbZOKXC2w3q2mLFUd9X4nxmAfjDHw164d80uHDf-iqb-xInbHd-heutlBOjD8Avwr6YBTR2QD4Z8MGnHkxvjwtsapu7ArY"; e_proxy="AcKZQJlOJveiXMdP6PUsd9Ktje8Rn3eSzOB_AbPxFt31_HOyn9v2oH0rP2KugMBykBCGRveb8Yw8Nzi20jZA", http_request_error; e_clientaddr="AcIG15WjIhDP8nWyP9aO_Qdchia3-U480fzLjawv6y5r7vOGq3x2jZTHdVpE9_0xG0-_8mOihkJZyYW-MA"; e_fb_vipport="AcLCvtlVv3ZtL8xzRxiN-bBohrKa_Mkurlj3yvE20KQvJnMfIfAtJPaPvLdV"; e_upip="AcIvIo1FWzyZf5nf-cn87tgqhPD_odNSuo2wsZIAJtmlUvv9R1nDHE9pDvB9yBvutO_nOV44rYsSI2CA8pMHisWLniLvmSls-g"; e_fb_hostheader="AcL1poO4-HAU7ZcWBdd2UEADgDRAnE0hpzoXo36cKkkMYN_Qa-ydGpG-_vkDVxjWmb9_68KBAUalO99g"; e_fb_vipaddr="AcJw7vPXMiuHJYlSk3YQ2VlPmqasWpUovOYbyy7oukdVm2zi9ypS_Te9o-Hry5gK8JLs1-g"; e_fb_requesthandler="AcJDhRl7_lJoI7LbtoMmwXdXPyHjZXZHr6SZiGnyyInmZKd3BPEa-eZyxI_isuhP1VpmvEKFFZ0"; e_fb_builduser="AcKCNyxgmVEf-_Nu14re2XtOoFXAKRvrG2jYzk9RbBVntgk-dKiNeeeA25xHUo5XyA4"; e_fb_binaryversion="AcKAiMCLPNVPyIaH6WBmLvncxVXEVzAETfDw1X19Y8kGR_h9EDDgj7tKmpykVPBQWGSfXgFvZQVkEB9MvS2_Q0EqrEg8v0P62bg"; e_proxy="AcK2FPlX98qFiCVDeDPlS6je1JPkBt_dd9BEy7wkQOhz_qQ1rQEDeuFjvMviXZablg5f7vhzF853rXk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 13:42:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:42:35: Error on send one message facebookId => 5626197274171144 02/23/2024 13:42:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANGzj1zI-Y1q_xdPVtDEh7B" } } 02/23/2024 13:42:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 13:42:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6379677, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIQBOiSHPtfyYRykptfBl5r', 'x-fb-trace-id': 'GyaNbqIJMsY', 'x-fb-rev': '1011608092', 'x-fb-debug': 'ggQrQdphyrNon2BB1dHY+tk+WaolfMRNvZDbTOSq2WTIVkP0YsOzmnzMfogPJh1M4GqEmwGHyVUn0lXgv4eoLA==', date: 'Fri, 23 Feb 2024 13:42:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJqg1101fouBQOePRF5NYGWLK14J0jAfvy-ldsSpqYMRymHkjaz1sdjgJCnzS_0vGotii57JhvzJU9F4gzyKGkIVrchiq4MvBn2GBoVqOdY6m93-Q"; e_fb_vipport="AcIbN1ad_N2MpjBDaS_g-XwbbH_rBT0gMVR5JEMzen5tVX-VbmgwOgRIj9Qj"; e_upip="AcLNeta7o-0nR3JnzHq7RjZ1axMVtfOe5LFLnTSFVeglczVawyxUPQOOlGLDYGSfEQtZwMIPbMd-d66uwVgIYpq_79orLiPLWGU"; e_fb_hostheader="AcJEqeyKEQOMvwUdDXlNY8AFxTNjldA-1zG2A_Bj62s5vOZDvEnZ4ahO4hqm3ieUJ1b7a1wJnXczS7FW"; e_fb_vipaddr="AcLZ6WHfAkSt3C0PdzkpDqqyenPdeS2s4kgaL_Be4SVQlYT5OkanzEuU4UM96vMzCpm48FpAUgZ-NjtyYjHJNXn4PUTP39XGyA"; e_fb_requesthandler="AcIWW826tdvXJJEA-x8i60M2D9qqCMOMoyd56iMoCOBXdvMnQXt7LJ7qRUHlpjz5Sjmn98WU6vo"; e_fb_builduser="AcIKK99c1kKerSw4BOUd9ccWyTx3PoQeYObORt3tYsdhyOVUEH4ogZQQFTeSNMNQVJ8"; e_fb_binaryversion="AcL3y-6p9ykx6XhyppSz7ejDvX6fmb_3zoPlStVApilDTFM3vA5n6WBbh6JFT8WtMnl4syAlkIJWSMfcdDtnhZb6bx33Qb7halY"; e_proxy="AcJrzjW01mL-23zIjrVqafEmInncpw5tkc6dQ7bzATxsMf3qUljNvGmCU60I8oYYs9k-Eqm-v0Fcv2aJmIuL", http_request_error; e_clientaddr="AcK3LQKic4O2zcbGW3q_oqMuFWOhDBE5vd6TKZ7AbhSs0msHuDe8L296jepn1UAMao-OGn1GTyoExk4mKA"; e_fb_vipport="AcLLoTaxmDQKC877bD0Yn3d9c04PWcbe95GTlcs78fhywmV8IuRfe6euZhGJ"; e_upip="AcIz4Mbw3CqRWqwN5iybomlbi-QBhmneiflBQH2vjKFMH13F1J6YBMTQiO20pImNwRbYdFET0uqUxp6BCfxFfiRMBvhHZpAUng"; e_fb_hostheader="AcJRCJEr_R-1FGYOB6vz2vMh-gDvHEdT0P9NEolXufif1JmcJW91h9pok5jtuAdMVA3ujsc0TyMt6PU3"; e_fb_vipaddr="AcJ2-HvzrFDgk9YpJ-4o0KsoZWaQykwLealY7k2oAsPf8wHPAnmC7-qbo-UDWRzFpEcULwI"; e_fb_requesthandler="AcLkJ11kFXMelS-KpxPy92LEFHCUN-O6-bBfXqW1DKbE-n6hU9LlZxF2AZ9t43QjKkK-7LzvcnM"; e_fb_builduser="AcIaWbN95n5oW9aU8nNjlIH6o8gsscasdsPTxDMNQHB9cjeP-kBznvX2h4DFaIGOYkU"; e_fb_binaryversion="AcIlUoyZLjIzUIVPUWiQWLD26J1Y9Z6oOkm6D4UfF7gWZn53udF5CppeHEM1bwCmsKepJU_04LC5f-kgTJluvPgkY84GimVA-ec"; e_proxy="AcIgx4lCb7tdnkjbv4V4GHBAYItUWvCgha1m2vb678XrNM2q8tXUuK_0JMT4DqfBbDJIGDvxDBEJ35w"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 13:42:39: Error on send one message facebookId => 5626197274171144 02/23/2024 13:42:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AM_2p0WfRiHqOJMLJ09TJY9" } } 02/23/2024 13:42:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:42:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:42:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 13:42:53: Error on send one message facebookId => 5626197274171144 02/23/2024 13:42:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANkct3aysY_vkhFRByk-ArW" } } 02/23/2024 13:42:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:42:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:42:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 13:43:04: Error on send one message facebookId => 5626197274171144 02/23/2024 13:43:04: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ACQTxIuOLShZzFbIQr2aRmp" } } 02/23/2024 13:43:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:43:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:43:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 13:43:08: Error on send one message facebookId => 5626197274171144 02/23/2024 13:43:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfvgpSTZJWZGCAQW-Ex378h" } } 02/23/2024 13:43:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:43:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 13:43:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 14:39:56: Request bot not found: { id: '138868933458303' } 02/23/2024 14:40:11: Request bot not found: { id: '138868933458303' } 02/23/2024 14:40:40: Request bot not found: { id: '138868933458303' } 02/23/2024 14:41:55: Request bot not found: { id: '138868933458303' } 02/23/2024 14:43:48: Request bot not found: { id: '138868933458303' } 02/23/2024 15:38:24: Request bot not found: { id: '138868933458303' } 02/23/2024 15:38:55: Request bot not found: { id: '138868933458303' } 02/23/2024 15:43:01: Request bot not found: { id: '138868933458303' } 02/23/2024 15:43:06: Request bot not found: { id: '138868933458303' } 02/23/2024 15:43:17: Request bot not found: { id: '138868933458303' } 02/23/2024 15:43:48: Request bot not found: { id: '138868933458303' } 02/23/2024 15:44:16: Request bot not found: { id: '138868933458303' } 02/23/2024 15:50:41: Request bot not found: { id: '138868933458303' } 02/23/2024 15:54:01: Request bot not found: { id: '138868933458303' } 02/23/2024 16:29:04: Request bot not found: { id: '138868933458303' } 02/23/2024 16:30:20: Request bot not found: { id: '144313565649530' } 02/23/2024 16:30:37: Request bot not found: { id: '138868933458303' } 02/23/2024 16:31:58: Request bot not found: { id: '138868933458303' } 02/23/2024 16:32:35: Request bot not found: { id: '138868933458303' } 02/23/2024 16:37:06: Request bot not found: { id: '138868933458303' } 02/23/2024 16:38:28: Request bot not found: { id: '138868933458303' } 02/23/2024 16:39:41: Request bot not found: { id: '138868933458303' } 02/23/2024 16:40:23: Request bot not found: { id: '144313565649530' } 02/23/2024 16:43:20: Request bot not found: { id: '138868933458303' } 02/23/2024 16:44:46: Request bot not found: { id: '138868933458303' } 02/23/2024 16:44:58: Request bot not found: { id: '138868933458303' } 02/23/2024 16:45:13: Request bot not found: { id: '138868933458303' } 02/23/2024 16:45:35: Request bot not found: { id: '138868933458303' } 02/23/2024 16:46:34: Request bot not found: { id: '138868933458303' } 02/23/2024 16:47:20: Request bot not found: { id: '138868933458303' } 02/23/2024 16:47:29: Request bot not found: { id: '138868933458303' } 02/23/2024 16:48:18: Request bot not found: { id: '138868933458303' } 02/23/2024 16:51:22: Request bot not found: { id: '138868933458303' } 02/23/2024 18:37:10: Error switching inputType 02/23/2024 18:37:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 18:37:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 19:18:34: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6777790558993065?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6439714, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6777790558993065?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6777790558993065?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6777790558993065?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6777790558993065?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AT000wYs3rRfrtyuq3lx0-v', 'x-fb-trace-id': 'Br8vr7EEjyD', 'x-fb-rev': '1011611124', 'x-fb-debug': '9+rfK+Hfxxm+CxPRlEw61GiudUD8Ryc5e0rH+cI671/+w/uyqgNAi9jwFRKXyPPYKjkqyc3htO7aQ71bgNsIkg==', date: 'Fri, 23 Feb 2024 19:18:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIihV69_x-2hyEMIvkBUJlZul278ctQM8l5zSYAPnh1uW7YGEFtkKyp2q2HBwFWWAxd39HpOBLQ_zHbbIzzwfjjjDVEoXY0Lkp85ut-O2kzakyuKQ"; e_fb_vipport="AcK5RraDE_-veeSidxM-sKk8v_4fbhVXD8WZDhjk9QMPbYjvQaSr4XW-z6dV"; e_upip="AcL9YZglkRYWPr6P05cst-Tnpx3vQaeeJzghUjFqaRzw1vSTbCkkMqUNMez6Rb5-cbkyYcwlsFEcZO5rYuitGiT351eZqgVtcQ"; e_fb_hostheader="AcITZR39yDWTEWI5o6Ic5Zf_uspcnPDFnjqT3i1rza2dgVux1iaApRw48tu7SZJ3_vimPFYl-4OHjN7n"; e_fb_vipaddr="AcIAh96InJEKO7EqFmOOXG7nD8MiLpPUC5bk9a509rob54iqNMbub78BeFJRZQivUK08dB3zjG6Fk_LnyqT9icjsfeaGP-cY5Q"; e_fb_requesthandler="AcILp80qHfdyDOxDykDHqMHuOqvbbHX5NzGyCLeVJlcLx87ABbRtyjyLKFPkbZZekmdLtJZlN3M"; e_fb_builduser="AcIAhSi05aYXQaCmk0BHKSb-Xlm490MiDWNjiWuwPIJ2a_SQQy7zrbfkGtwfWhl4qII"; e_fb_binaryversion="AcJ760rhgJ_PHqI65baFV1CZBsG_6GfI8NJYWTpsz9gYWnhvp9BnKTfAeW_xSUWnlAUlBPRynVwxaCxLNlstS7JxTtuGTzfQqlE"; e_proxy="AcLPvpGtMdvg-tgthhbf2BK_yOFJ-P0OP1mLuSqKpaUAFCf1RPOLBNhuqxfxCiQAQnE-DJHodC41AIKfiQ2G", http_request_error; e_clientaddr="AcIpwaK38zc5cCUVrJWWfoL3hH4ycmZ_h9ga648H5I3X-_-Iw4Ff0f6zxjVQJQkHOr4llBmNkfS3EhX5gg"; e_fb_vipport="AcLZdFcP4UGyu68K7TtF56WanKQM3b0uX_L7z3NpBvd65aIWE4Uo4gm6NEzR"; e_upip="AcLtx_mMrOBG7FsLhxnRQLNHbQ7FkwISbgil-t7q_TyGGAZToGvrlYL2j31DTzN1ZzNKmie43wNECRwWL9OiVI69fd9VXOhbuQ"; e_fb_hostheader="AcLbj3i2m0pAZrXI-kwkW5UVSilMdgxvdhxt1WYddhPM4EHZivRdlToV5ShoigD25H2n6Le5lV1Mgr5z"; e_fb_vipaddr="AcI-2rxuxRvzPS6YIj2puILZKXrxy5UqcGM_CC-SWkrSMBcqn6QSZ9rDImnu1Sk9wXnCY5M"; e_fb_requesthandler="AcKuuxvC91R6DfmP8mDjdzWlC2MZl42im1axm-XySBa2dIJLGdZOIGaSLbeXPUbQXFhnarAaFWw"; e_fb_builduser="AcLkGTbl-JbsXAoavCRC1GPra1GqaldornEOXwNMmEtv4gVhHZeXE9LOobKK_cjm9xM"; e_fb_binaryversion="AcJzxK3ae04hW6O221bm_6QkKAj9wPPWW9wPWwcTcAhb-8yoWdmu4OZiFEqQgZ4xglTv2ttxJHD1qA24Vig5WfZMPvB-zT2Gf4o"; e_proxy="AcJaRXaZsysgiWD3VOvzhry1fzAm2S88-ftgWz93CiwTInbGvNINx9lwtu6esNDx4L8aUoZNipmzQPM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6777790558993065?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6777790558993065?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6777790558993065?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 19:18:34: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/23/2024 19:18:34: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/23/2024 19:18:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6777790558993065"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6439834, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHvdPzCHaqbR36WFpIW8RzK', 'x-fb-trace-id': 'Fy/DQMsvAUY', 'x-fb-rev': '1011611124', 'x-fb-debug': 'FSExf5edTHQMBw1HWkYK/78pGOO9ITafRqogM+hZgg9yPHBYtIVfjH/T0to98yNxmJi0UDR+3oE+dA6Eon/VmA==', date: 'Fri, 23 Feb 2024 19:18:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJXyUD_Dn_iNFZXcsTND_rllV3DV3JkVPbIjedCJ7NmQVP_JhANxZ0AzumMZ-R1RXwMBUDXSHsRQYLs9SrYtxP4Y3D75nEGsphCtD5x7BRPThNJBA"; e_fb_vipport="AcIgj1nYDITRxEWbqGdqXHmte3BgV2UHzlAFBhTleuC5Fmr1ni_ONH0z-KfZ"; e_upip="AcJBG3D8DGNqiGFCObAAHqYtkHRXZRkPPS680DAS_wj4QvV-jYIxwgItIOI7lQf-3GyX0Py_n_EB-OG4394xHzoFZRGkKgBYAds"; e_fb_hostheader="AcLMT1Oa9IRNU4dPsZzB9FZa6XHHt6mKNJthn4Cswz0rUSS1xCLo__UIr9JzzIiLDMGsQ5oHzWehMZBX"; e_fb_vipaddr="AcJEZ7bYItifV0TUKnrQNW0TAcEKhnSIH9RCY8DmINWFjZ9kmUjCvfN27Q09nmgD1735xNFHwjo7Gyod-OKXnED2Hx-Yqovf_g"; e_fb_requesthandler="AcJqilr6zXDMKsXlJ2867BK9bI4-XgJDACmtQqPfmkueCcSLRvoFpUbC3QK4KFWC8LI_h4QFWlY"; e_fb_builduser="AcLwOCwgBNP3slLIlksAfy085p2hu8xKtRMWItacD1fXGV7porhBqFh_4at1awLz0wI"; e_fb_binaryversion="AcI39v3EM8aLrMLoUv2IxJ91Ia7nTZT2H7gAvSPLOWkKp0Asrp1bcXCd3GQsxy4qbU_1cMc9wsKpar8HXyd-Ot7O2SvOqYss0a0"; e_proxy="AcKKruJIv8KoNp8n9oNN9izvJiMaZgg2_Ve0FPGoiL-kYXkMbcHL0lU6DUcRR6up3bm3ROTT2xj9410Pbbu_", http_request_error; e_clientaddr="AcJtW8bXO_ujeYfPVZr6lsK8c_ZedEA8RNPdw_S35f2J6OQf1CXp0wjjoPPjNSdjLja1rUre680SxbEKUw"; e_fb_vipport="AcLRJoj5NIm9x3IHgVYHdn6F7Jitcrg4YCLsoD_Ncxs722sCHK4z0Ux9Ulvv"; e_upip="AcK2PF-R4JUGMOYVurEZ1iMWsP0Wlhn7vkDqi-zMYZTpnw6YJam8TQM_8cwlO7001kxuzAVRC6OqsZGYALmVbcdBV0cUjZYVPw"; e_fb_hostheader="AcLlwXvfYfo-xmeTy9Jg3yk0eKGvEpyvlNzCNBCDi3tRDPuvG2Q3nDYTT4XYv2OcoHMm6_0pjb2cO6BS"; e_fb_vipaddr="AcLvVZ71WVmqCLTuHq0KML4BC084oBCDOIX33d3KWxasX59PQkJgetdn1lat53YDaOfyR1Y"; e_fb_requesthandler="AcLZXRO_yDVN0OleM3gjLL2U9X1CHbV9Tt9j0-fa2Yd3ZYom7xB-6VU-8xNlFL_gNtbiL9YeHhs"; e_fb_builduser="AcKF8SxsQXxSvu86Xc6cZiLaTLDSi9EAr53V_Q9_Ip9cGupsjQSDCCJvsbsLHr84amo"; e_fb_binaryversion="AcLayF5uifTUE6OF4_eRt82-LhxxxRT6NuJkXUJ5D00PMuyXNB33ck_O6y_qxMcvInzu0FlCLnp1MRgBwr3ocud__b7JpNJ8dis"; e_proxy="AcLaKWW5RbfAv7KhrR0TqSf1IUNbTHMr3cnJd5g8ta4Z_oWiZBwje4dsFm2Xqzfyfj9j6uPsJF-9HGA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6777790558993065"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 19:18:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/23/2024 19:18:37: Error on send one message facebookId => 6777790558993065 02/23/2024 19:18:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AtL_dfIOfOqyUI4cgdHy2U5" } } 02/23/2024 19:18:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/23/2024 19:18:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6777790558993065"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6439914, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKQsNS52SNTrq__Z5qioCWC', 'x-fb-trace-id': 'EK/jMJnY1EO', 'x-fb-rev': '1011611124', 'x-fb-debug': 'UasiSW0rNwRDEO0nUgDVZRulQKB3YVnHqh+szzyQJvhb4aoPhy4EK9xgjGl9v7f4HCW+JFv5CZWPy1RTbC8ljQ==', date: 'Fri, 23 Feb 2024 19:18:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK5O2v-AZh2l23uMbJqQgSJuiawbeWAlNzU_971R9rbpcwqzs0iIYQQraLfypcNDeEzvNaifX3Asz0gZZZdEWZ_deihFBTixRgXZ_l6Xsk-LAD9"; e_fb_vipport="AcLmErYxSWLdWZ6KyGkhY3ICgixgH0_1rMkoITr9BT0T5b2WI57bWYRbeP7S"; e_upip="AcLSBWOqmEYv857eNuI6Hb3-GzvMkNDQDLySBxBYKnr8JeKgkBVI2LcGLGB9BVsq2YYOUN6vOrmlY3gQN4FYjRmj6p2X3sxFRO4"; e_fb_hostheader="AcLUsmYpkzKBXLJHJGBU6vVPe7LQic7NCO3lhu83B8ZdIcqurrlZCIMpC-SXAAediEe9Xz4QmNBa63jx"; e_fb_vipaddr="AcKHs70E73_m4sS_gGo1pb12Ycugq_oSVT6212NIhPKk07qVwY8RgFIigohwRy0MmANNT0_yRgYghVUCRHi_uCGOfRGkHDe-Gw"; e_fb_requesthandler="AcK-u18Nl2hOGsNMPvGrUNelXeGoV2SJzyNpil_h-qdCDpPSTRjcc3GaIIkh5Ici4auIpaHb7hc"; e_fb_builduser="AcJb5JogN7anvGCHQ6LONIWHva3cHSDL76Y0UHItlscYZ2wix3LflDfLcu7PFbn_-no"; e_fb_binaryversion="AcJ_eJYPbcFZkuLSNb9RsBQywXtd2OvJyc2u-trhuf0nVq2Bpmeu6hcgrdz7pTxJYvgeSeU_FhLoKaOBEIhza9t0MX8VKu5p4Nk"; e_proxy="AcKClG51EYuOzKLv3tN5vVabSDx4E24O4Qv67HCQPbH5NHl6nCdRIP4Furr9fr2rjrxwkTU9Zpv0_wgp8z3d", http_request_error; e_clientaddr="AcLXl1YCkqRtKsBzez8f1UDoWOGaZtVmccir2bRZDk7j7Kd3L2LV1kgz79rFU3d_XCXLtTo0IWyrDIX5zA"; e_fb_vipport="AcLFsf1JIrG3CtOOGwV3bZCV3IvfuoOY0_62KObeXVVsneu6DSIYZa7x8YPH"; e_upip="AcKGH6vN0l3imqO3sHNvzQbP3JrzsqEj2Fo7oJ_S1EOl66cjw2imjkCHDH8Zod-oOdnPa7MOgh759iNbdfp8s-Oy5DyKCRVMIQ"; e_fb_hostheader="AcKPKT2lyxG6kllwilo6j7GT2KdYv_ceaIYHpHB5ubFQDjZR0wJeER-bGxUhW8qxrxjVMMlq9LktFvky"; e_fb_vipaddr="AcIDdJg7D9a5RovsWieFIsdMPH5s1bHC07Fy14iP1t2sBcP8p3BpSeqE_NdQtDx-FqVzTDU"; e_fb_requesthandler="AcLShL8nklL9re1EstaIKgveewwpSkHCJeZgvVcv0DorwyJ3GxlSZHcjJCqrhlZV55Wdgm-H6Ws"; e_fb_builduser="AcL3o64oKfEwGh_Nwgrd4ITcLLctBac5RMGCccrCvU1YaMPViGEEuwDzUjjrPsf8U9U"; e_fb_binaryversion="AcLQ4tXm4dkDJB1wHJvFpvdfy7a5F7O5sD5EQ79C6uy8rrhf6Wtz-x18t3tL5OTpP1PxlE0ykodYHKWSb-MTMR0M5K4JhjbnUQM"; e_proxy="AcI_AjEWli1ZW1sK7AZA7Wr8J8T4fOBZX_9NJeSvQm0XVLK7fbMLhoyOPbUmNj5JDEZqeIEPYBdgfjU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6777790558993065"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 19:18:39: Error on send one message facebookId => 6777790558993065 02/23/2024 19:18:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AwKaorXI9Hycxp3Pq68gcwi" } } 02/23/2024 19:18:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/23/2024 19:18:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 19:18:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6777790558993065"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6440053, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ao2MZBhnhofm-DWj5Zufl8V', 'x-fb-trace-id': 'BeRh/70o2F6', 'x-fb-rev': '1011611124', 'x-fb-debug': '7s5x4scDot8kebl58JoAUme1Ubg75nJG754O98Eo2Qxni08QG5CgM21d742XSHEIH7bXdKiv5+Qmx09Jqca99A==', date: 'Fri, 23 Feb 2024 19:18:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJMc1jrcSC8IYF9M8iTXX6HqGa7V33Ud3tVmio-iRbiVxbeWaINhPcwtJemsz94Mw7PRhcXlRC1Zpq0lCzCjsubLJDE6hlkzmSxlNqgbAyCyKV6eA"; e_fb_vipport="AcIxgtE5jh--u4S4Bl2nkL-NolffaEEafMbtHMbBW7YwbeEWXOm1l2OeRTjA"; e_upip="AcKLF88NOfvGruoeoeHvubP72nzNTtyJGfV-5z8zwB-4gRW4Xf9Nm2xINf2enZFnCIRPmYwFrUyvPY5hLyTTeqq_m66reY4"; e_fb_hostheader="AcL_AznZ69wdde62cIzEvhku5nUX4o-GwhlcqqWFiCsqcBbSi5e7GcvPxIOsz04jJkRMc9J5BgZr9nxE"; e_fb_vipaddr="AcI52Ckn6i8bQ-VdtYB6h-5NznlqTiONXcpSd3hxHJFb3W6ijPC9MjZF-_1lMqj5aliItVFXb6oFhFBucRLSJgTxavn2X9ouAA"; e_fb_requesthandler="AcLhRKJ7d2NYRtjdP_va5CSGSNZToVnqki3ED4Idj08RxgwazB78no8CnPle2cBCB1q_uEOhcdk"; e_fb_builduser="AcLrPQnTV2agqFDHLw3Mf0WTGE1rimGlUTnCutLoRfHIQ75LTHunX7fm10O4tSwDdNg"; e_fb_binaryversion="AcIIz0BYHfKc0_8yq8a8TfUx3lEiK-EwyHop1OPY2RhWSvfwwQuD5uZuaVL2L_qGYZOU8Equsm7GnlweEZNWemVSYCWTadTOsGo"; e_proxy="AcKCW00a5inJqGUKNpnxNe2I92TMu856pkIpFOqsjNHBn1hM2Nx86_g0iptbUvPzyp9_8N4ob_TJoNRepWtk", http_request_error; e_clientaddr="AcJd09H2a1gf8CBJ1nxw4iNeDWA_X0XQgTxn7cLqE4x_Xcu24Euna047vjh9pXwT8LpcKDJuVxnC7-ia3w"; e_fb_vipport="AcLaexPWjSZ7j_mxWjb8JbPe8X2HIvzD0QSvZ5ZYtmvG-fCyp9EH94_csL07"; e_upip="AcIK8gf2zOTVTJT4ty5Kc_ESPeNX1yEjeYgk9NgONESmeNYEyQxo0uXMKxGTJyhNXZlTCquBx33UnxZgNgMq9fOEaHTVzrb0Kw"; e_fb_hostheader="AcJe_V81jmN4E69zqo7JoziwHYirBJQYxYESYaxD5kwtrRxJfay8RCCJo_88wyP6ETSQcfuUUh5dElsz"; e_fb_vipaddr="AcLbgtPh3JbaMsADsyRxk8cQFConNYgoi7j4UgUKIAmxlyEGd8kUTTAPjVoJA3mI1-fon0E"; e_fb_requesthandler="AcKmmRcKhvoKaBq0vDp6t5p6-7q_UqxnfGhd0Sq0AJVfI6v2yebZfihFCcaptWURN9Qlvo_KxBU"; e_fb_builduser="AcIgnDhuBL4u8mPzcRThOReIkqozYqYmdLIU6Z-dzZ6VaG10w7UB7BI0zpaOA4NCEG8"; e_fb_binaryversion="AcIQgiwo8Pqsa1U9KRE1Nwul7_6lU1gedgU8_LyUB1aJAZflI6YrCrQkzovtf4gW4bhA3KV9tdqVPcesCf_7e6rocT9MdHgwDpM"; e_proxy="AcJEYAYRJxtuhYr-evnnXrPu-gdbxx2o4TjhzvTOkXIur4fBEGQNppvI34S5rXu03Tri-PcUDYX5MUQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6777790558993065"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/23/2024 19:33:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 19:59:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 19:59:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 20:00:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 20:00:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 20:00:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/23/2024 20:01:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 03:04:51: Request bot not found: { id: '215725838493727' } 02/24/2024 10:00:33: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6199739556736149?fields=name&access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6592074, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6199739556736149?fields=name&access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6199739556736149?fields=name&access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6199739556736149?fields=name&access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6199739556736149?fields=name&access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7VClZCN6KXkIvBhxZwyha2', 'x-fb-trace-id': 'AGWX4j2RVTB', 'x-fb-rev': '1011635419', 'x-fb-debug': '6y/41rCF5eqI5mMKtpu/ds077UT+fSLI/523xOvEvrjDMD8S7RIHjwMtWLm/HAqW4/bEb0FIpGhIUtFeq+QcYw==', date: 'Sat, 24 Feb 2024 10:00:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIGKDxP0rHmFqXV6RHgWZjArmyf8taU8xdU0KbIfH8umQ_TtiWEM4CXnmwtZUqax6Dae0PapmLrkFmvfidq5phCC1W_hKZud3Pwna_Bs06HM3w5"; e_fb_vipport="AcIarD6XiCpG9mpC4ZYs_qlrV3HKELyda208XG5sspT8joQ_ocEfr9WdAxk0"; e_upip="AcKWIgZMRDwIIE7W5ju2Xy_m7bYmXSdE-AaD78s83bH5syde6X26zyHtYj2nRDLLGTHEfdPktDprU2RHVB2Y2yaIfeKyoD670N0"; e_fb_hostheader="AcKj3oS1OmX2p6jsrMivQmswNqzzSJ0W8mQSNiGAinP1BIaVJ7vhQFVysFqd_yftvfCxLcbKu9cUpAzo"; e_fb_vipaddr="AcIbHuR6ucMY4e629D8nWkZuAw6f_pOIEpdRbmlPGBF-luO0lIxaFt-zisxgf5rZSLQ7s5pGaxOVfl6nQhsqfBMYrtWFm-NX3w"; e_fb_requesthandler="AcKhV2_XtOVAXyX2W68TB2tl2OsEsl5YK-8vSb4ftYeXK7fUfbOSoXnunqxZxGAzU8xwTX6VGBo"; e_fb_builduser="AcLTxbtVCD8KReVP_n-7iqTKh5Hk_XQj3iROflajXDwmpaaRCtYUmkQrNvNiw98dbZc"; e_fb_binaryversion="AcLSwanPjAO33eWDswkZRbfvBXrs5wGfvddbLqBYFmRbx-U_Jxn4Xali1jSte_12rv5KgxZU2vlzU0i9GMPHufdft3ptQlRTpsE"; e_proxy="AcKuEujDY33afpfsAHeMYcIENNieXRCnpCLV7cMAgWOqcSFkAdLI4lNsIy1kQyhDEKBy6tFta6peL3Ua4pjP", http_request_error; e_clientaddr="AcKx1SCqYIwzERYBgOksBaTyYDnebFSSJKjLkwZCbMUz-uOBJWfnpB-uy_-9zMKjI1j7HKlsj_OHOnoAAw"; e_fb_vipport="AcKsuV5gHpaKccIyzMK8l78E9gDaEiHNbTFTImauAMDWPM1QT1PVDXS6AmhX"; e_upip="AcI4DHYxvda9k6yrmq8ivIcfDAf6X-8I2yJ70hJlEMqXNqark9L6wxa29plLiSHnl7XV_UUUkQNYyBU51uS_60XzoLMNfboDMA"; e_fb_hostheader="AcKVbDfxj_og9eVnsm2EJa_NMnzHc1ws1UVZliEh2XbfyPBp1jzXh6rbWn5ny4dcPuqNEAYJ7Pfj-zlR"; e_fb_vipaddr="AcKjz3cF6dzhjBJb6M-h8WedGlJLUAvxQpwWfFJTylrRGHmWaBYl-qZY-BbPbclAwH4e7WI"; e_fb_requesthandler="AcLeGp7vhCTGBEpCPhww_B1SnTQp_V2iJB-dbBwgDcAeNkKCAZgdqKMijuDzeQk_Kgomd8dJb7o"; e_fb_builduser="AcJKrv_GgAgaDWiBGJ5bdqY-KHJwHgwPAfGCwa2pS4BgY-h2BNXz88_dxpb5aqKq8UM"; e_fb_binaryversion="AcLoOadDmsdvNJI9Klkifr6pPHTOEvuoDvhwMVC6066MMZLkJQ4nCAifIrhjC7f-s0JsUNk9HqFmZhfvmSV_Fp2W5YpWDuY5CGs"; e_proxy="AcIAE7oeJwG64QuP3OLuc6xpBrksylu1ZSkLXEwZmUYEI9vW3ulvM_CqML98THTCnBUjSSs2v_nsXrU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6199739556736149?fields=name&access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6199739556736149?fields=name&access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6199739556736149?fields=name&access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 10:00:33: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/24/2024 10:00:33: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/24/2024 10:00:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', data: '{"recipient":{"id":"6199739556736149"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6592195, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJyXWux0mHiLl336C0-boBh', 'x-fb-trace-id': 'AGN5n5jSLS1', 'x-fb-rev': '1011635419', 'x-fb-debug': 'kJP4uNI15+hFTLeo/M4LN0WejWWj1eYz8coO9IL1qzWRduA+I9L8NjpPQkIdjJ5/a7AQFSA3tpZTxkS1zTfvKg==', date: 'Sat, 24 Feb 2024 10:00:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK9-e0Iu8i-yk8bsXaocuQTfNHD9ZJ2pkF0mOqRDMdAy04uC1X7JGBIjkcuIwqH0paALbel4ocW133VoibG4htnU5Om7a1v2p11ojtgQXO5yO0bjw"; e_fb_vipport="AcLyXkLLLJz_cI-nVGK_jMJR-HQDICPWBibeSE4lgqVR128GIY3fCWEJoK5x"; e_upip="AcJ-Psn2evFjUqTFMwhq53eMqJ6zl5pMavZE5AEakJdSt9HgVC2rZgo-tz0iMGKnBcv_sPiFx0V_VoIHJONo0YUf2R-U3fKuCSs"; e_fb_hostheader="AcJ-MCzXlZDuX-blNp0uOu9BI8Y2EJygwuvlbkbNi9AUbBHc22NVSY6omcLJH_ksfwKKkMGxQ7GCbukI"; e_fb_vipaddr="AcISrTT3lBqqOYGPkO3imdWQiLT-oLpMlXYmTUuMsXm-NK4CeCBBmCk8taOwoqYqMyp__GI2paBpTRRj5vymJCCsnKJbuI8n8Q"; e_fb_requesthandler="AcLkSsstKSl533pODDiYodWj6WXIy98Vjvs1CJ7U-lnBjwEnzk3wP6eQlrmvvz88nizEFMCSJNk"; e_fb_builduser="AcLAsQjjqgM_WIth6R86gqhK8vsneaRxw_a7dMy_ENDkDYg2uHpt9H1TzgYEbsp_D2Q"; e_fb_binaryversion="AcKVmQwQULCw_b6-4Yv_Se24egxMdg99MvtNRiLZtNTV2SxmsG_mlnlSYOovZJ3yy81jhZAmfKbROdc0LUft5C_0ghl0g8u9eRc"; e_proxy="AcLjoa86sGivUP05c5rjx7X9u8SmFq-uY2b2iaIrNk5EfyJRO2sCV0fZgfm4q6mKDlXGtvHwRZ0F5EDcl370", http_request_error; e_clientaddr="AcItkmvfUpymkQ6vhJrVHh35_GBZdWG1P8qzLwloMOsbmQIsH1awSbikbRhLT8wBbj8o_U6oGc9GLp3ZaQ"; e_fb_vipport="AcL71Cp7wsI_SGFEK9F8tLU04HIaBvWSCJ9leh6y-shHs-X2uCG1-SRR4O2q"; e_upip="AcJVzMLvUnRHeHuTJxrIiwyVz8qdbeLTlpy-LQl3-fka9c4H44hzoH-5FPw6VVaxdreyczDUlgIH5_WzdNRQtG8PBtufGCHHVw"; e_fb_hostheader="AcIBEh4nWFo0y1a0niDg8fnbAEPFHwczWJ7x2m42hthmuU8aVyEU0jod5RGSzBJlPgACFgqyVzdgWey5"; e_fb_vipaddr="AcJ6rUkUE-OVtUIGGg2VUp03IGFabfSP9wKce_kP5RRH4QhRFKnofd0cvWJPw1eVXk6DoDM"; e_fb_requesthandler="AcJHTvqX__OLDh6m8wZOfV4bCdZp2347ZcNn2557IuGcuXJDZ0MLIl0dqr2e6GszZdKeaPHApwo"; e_fb_builduser="AcKfunLAmEX-kf-igS9T-i1t31Q0Sb1mQdpsxyds7qvjyInUz3pRj1IHuTIddbh8sPo"; e_fb_binaryversion="AcImM6-YaehtgErcsOKzwwiCY9iMtf0SlgJ3hmyl_JWoiPqnVPNYC2ftPvlbxtJcSDZ6hjPO2Tus3F3HmAj7EfRjomPxhu3pzZw"; e_proxy="AcJtEsTSBW8Fe_bFCfUiYZKqz9fQEYv56wX9DSNQ4GxQOTo4yXKPN_nnIktOzHtGartaN-_JTjN16xs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', data: '{"recipient":{"id":"6199739556736149"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 10:00:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 10:00:35: Error on send one message facebookId => 6199739556736149 02/24/2024 10:00:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AM8cW66AVVMpj_cYaRgIiyF" } } 02/24/2024 10:00:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/24/2024 10:00:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', data: '{"recipient":{"id":"6199739556736149"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6592270, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ae3FWwdLUqqoPNQown1iLBc', 'x-fb-trace-id': 'G19es5ovZcS', 'x-fb-rev': '1011635419', 'x-fb-debug': 'oNdPQMRdrtMJtIghGDNZHrQefIxtaI5PPULOkOkr5kT5QR5Yo7gapyiYnQzLsLqCE4hFZR5wX937RhjaTU08WQ==', date: 'Sat, 24 Feb 2024 10:00:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIo2szA2tqRaZZEVuxR94NAJOiFHzRTh5TlRDi4dpL1dKSHyh0bAugezib-M0ykmSHxa32hjg7xU4mUKYux1Ni5sKHmQXUriEVQsChSwNvO__niSg"; e_fb_vipport="AcIVWhpg0g_FZ2yfP1Ju80fxD7YiPBFZsNbDHdCymSYJRJ8y0u7iLgdkX5tI"; e_upip="AcLu-p1S3lkeIQiVKShvaMpqnt-AHwpesFGYfmpPC23z2e9IDZzsuOybGfayccYxLV2_IiMZF17fs9iFHyiOyDWNSLT73UecKsM"; e_fb_hostheader="AcLN-MbiaF-WkeUGNJFneiDtrmE0zAA1GMxM1aEx1Dkd4yT3VdQFvKhI8Y6rqvjPzvfbj37bnFwF63sU"; e_fb_vipaddr="AcJs6VugQjoxtwxn1d2GD5ySQ3l89nsY3EzcLE02BD-46YzKgQvPeMXfrORmssFFdwdciYhqtCRmXDMDMtM7IA_o-FZnMSBH3Q"; e_fb_requesthandler="AcLME1TEOu-jlRKb2Xf2eOzmrvGb8IzLn_0yXtiYeeE4DRvvjkoFsEzGFcFjqr9QFs8lfHvDZBA"; e_fb_builduser="AcIlzFv6KOzJ6YpOkp7egVvvqTJzTxiV3AD0rI9r0Yh_PCmZjpotN3SQAOuSGJuDSg4"; e_fb_binaryversion="AcJxmF5GBodZv0_k_r7Z6Nw0i7OB6E0haFvdNDAXsrCYLHzEoP7lNiAfBtWEGZE69xDfxrlkYZOgEjSHHUnHQqzeOdCuafIkfBI"; e_proxy="AcKy6lI5DJ17mu3dGWVSQnNPrOchaQZ6HC2m30xnSml1N25KTpp5qCm3_FuMDGlJp9WxU2xG-5JaiDAyCPHn", http_request_error; e_clientaddr="AcJm0yWhHeccQafErzenI1s6CSwNqHd8GT4rjkU8E3e9Ha5ml1n46sivaSutNLF0M-zBsU4IWTG5SrcsDw"; e_fb_vipport="AcIwLpoGkuOSaDxjeON30pkvt07EYrJdEWVsaasCnCm6ZbGkgfAuGIZBSMDj"; e_upip="AcJA1jAqiPkU2dZv53Htq74nDySAXHa6PC2oumn8yU4W5Q4cBS-_2SzSpntud3DzuRp8DzwLg6GtoG_6bXGr_vuk3JymLE-qBw"; e_fb_hostheader="AcIOCn8zUFTvgyDfYN6Bm75lautHCaDEvnU7FaOrAjvy78bJS5luNn8HJjEVCBqrIjMbjv6yS-ChdToB"; e_fb_vipaddr="AcJeaCpcpzLK3gWcsdfPtEXbML79G16a52hSIFU7W_YKz0U3CmKgJrDSJkdX2ZPIJP8E0K0"; e_fb_requesthandler="AcIU4VE0gr0cg6GM2b2CiKC8KZaHYMqkvCAImjtaUOsjPjzbmDHuMz9_ObXK8WvRUmmhwQKKz_I"; e_fb_builduser="AcLJBVtzsr0ppVAlHNdFiOYM-V4B6YoQUtG-Y__69FzIdoff2FsHxx7PC4N7a86vmPY"; e_fb_binaryversion="AcLYYxUmq7KuXuER9HJEtdoeTJ18GAS_WcR2JYAtthFeIc5FELgGJV0Z5z1uSmfnw-0DRjVT5xUD6Pg4fAikOQfYmmkgtOSbMsc"; e_proxy="AcLO2Q5eOc3L8jlhKb-Qe1lnjI0jsGWGvRclvKyU_opWTwAxzC8jGJc2BX-OEkIhBCkyeS_vu1rNI7E"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', data: '{"recipient":{"id":"6199739556736149"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 10:00:38: Error on send one message facebookId => 6199739556736149 02/24/2024 10:00:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AagrwdXBg2FCH6JVxzf6BPS" } } 02/24/2024 10:00:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/24/2024 10:00:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 10:00:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', data: '{"recipient":{"id":"6199739556736149"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6592416, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMBqucA8SZeknS2u93poAKl', 'x-fb-trace-id': 'CrQq4nj5GYw', 'x-fb-rev': '1011635419', 'x-fb-debug': '37xHZVbKifyuD+LziS/AzQifLcfzXwJQB4J6S8ztGHe8tiPxmhKlju3lUG+6zIN9QSkvc5iy7xpZniTNtjrZqQ==', date: 'Sat, 24 Feb 2024 10:00:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIDHXBB-9mcaLKdGXvHQGAF2qM3CQYkJ1R4B9NLY8ENYYod1fsAA_nrSXU5XXvSPSFq80kfJWIrkWmCRQc09p3oiE0j4k8w68yT6MX6SwBw20gq9w"; e_fb_vipport="AcJHoO_fw6lvHwUl81vk-xHGhR29X609FYw5jbgAIzQpaCv8-Jn131iTqGVR"; e_upip="AcIPWzW8bYGpb5kzAjVff6uvqNC6C16RJ87dILjUVjhkQx7ssYYSc8-gGNd4hdT74waMs5TRDStXQ-JKwdvRuaDoveCNcwtp4g"; e_fb_hostheader="AcKPkb0_N65OiNmw8jiClU9GHeNqNYOXC3lFLYcvfES7va59M4XGJJzxxBu1ZxHIA9MiAclAyysuyGyg"; e_fb_vipaddr="AcK4x8Lcc2vKvSt4_DvNQgg6cJAHStD6tBn-GTQKRBgV7e5WoJcu5qz5O7IuIkCpqFAb1Axjsu-d9cP4sGP0dWvxpFUGt0zYBA"; e_fb_requesthandler="AcLWNopYHN8OhkWW6GQmS29FJv8sqzdCQm8-qHUY9PfFPqvRVQM4WXFghrmuab7UqX5QH1m7uAA"; e_fb_builduser="AcIc4P4d44j-Kwmak0QDqKA-IWQej1xGcWQM-F55jLaQRFdI-8QkpT3GyG1iDk6hYio"; e_fb_binaryversion="AcLnanZGmsHs-7Lke9sfcTq5qPVwpesGjmSvd53csAlWQKLfW2Z4k6G547yW7w5dsO2Ikq1XOolTvqVXKY7PlpSgDBUIT4aDP7M"; e_proxy="AcLDiAKSydptuvhqRb-4tOStAcmtolViMi0AhPX1KromyeY0Ry2HZuS85Kknb9W241RbQ2MnVTcLyhb-2BUc", http_request_error; e_clientaddr="AcL1hG54NlSd4WP2uXljjALoRTg0g_N3osvBG4wgbwmtVCNUGW0LuB7KFjs4FfxBqpTq-i7Csx5mKRwYUg"; e_fb_vipport="AcIchnQIANjBawzbsNCnPY1eujY4Q_wH0mrrES7s2SnLAaeSgZ5jcUyVOgXX"; e_upip="AcImEZ53VYmo353nk6zOGEkwhxeW1StZUBNeq5_FpbtRRPH761r4-lDxHYOxvMI0vqbHvv3Y70OGT2mxPQmhyAGYTM0xlX2y1w"; e_fb_hostheader="AcJhV6r_bJAAkD1LyuQMi_OUX6-vwEksNG0gsp7vT2Q8ElG4Vd-SqsvcyfxmG9A9OmOv85XAN3WT6qZf"; e_fb_vipaddr="AcJDmOBxh2NcQEROf54_ZoSYRFIscGgWQdkCd7ez_0BSWgRHVUlDTtRXrMlB0kJ_eUvdS6E"; e_fb_requesthandler="AcLfOHL5FHyPlbajiE8kEzH0OBojZ1jfHKLB817r-7STYj5UjQGj7NVDoAQXMEj3rjM26DLEMlU"; e_fb_builduser="AcLGWc62teN7xTqQ6PXwu1uuGF40BfAZ_kMniVYY_em3hH_ovv_Y_PVtoFjMT05rgNo"; e_fb_binaryversion="AcKFvXNt8HPfxoamTAgbainlWZrLnvSMP2ca3a13SnkPRMuP7OdjCuErMKgTuGktd7mLo-Rv4ftt8jc_uK_vgbrBxyQiMhfbfsk"; e_proxy="AcJ33wwNQVphHaf-aujyk12dU220MfbTDWt7_2NrgMEhoo0g2fDMPAPCFQ7Nsx0fhqYlhIgu4dmf0Kw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', data: '{"recipient":{"id":"6199739556736149"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAHo380njoJQP120F64OdzCLJk4RMmmY6cwlGy6NYPoKBU0QIAntMd6TwV9DoZBmZBytJSoZBAw5brLZA6Bd8LNkuETkhL7I2rL7Lv2EtNBnhmsDgUhMcdUQRm4VwjBJRVzG0ZAMIvKGKXWXZBrzbXMZApqxEFoJuXJQxOXGVhim4D5VBqsfOFQZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 12:29:55: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7471334539592672?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6617344, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7471334539592672?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7471334539592672?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7471334539592672?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7471334539592672?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AI-74458ApprfOkSGSLwPS1', 'x-fb-trace-id': 'CMF2WMHH1iX', 'x-fb-rev': '1011636332', 'x-fb-debug': 'XshCBHq+pHjv1nnSyl0PDDy5KIQp4B4QycYsucxKpRbe/AocqQLixCd+8P0VKaYJwr1dE65JZWAtSxHdoxIHuA==', date: 'Sat, 24 Feb 2024 12:29:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIG1lAUfKaU6O5jNDnBn2ni0af6s4mDtwmISw6_IRE_8caayOJfC2nXT0lNSNiOWLMZ_Hwu0d3_-OBGH4QYYmyWceN-idWzxM_84t6JONs-h9QjrA"; e_fb_vipport="AcJ5JPIU1Ik_2qQemS0wHLIqfa8j69CJAv5vAzvG4k-4qeF7RKXyNn0cx1bO"; e_upip="AcImp2cLwGiGVJSgxC1ukZJGzDFGEZ-G5RUvKb3Nac4drK8M3Ci6t8uU0HglcSeY7clb9erhWKRsRK0QuEj0hanmyg_IAlJ8Pg"; e_fb_hostheader="AcIJZ020y6ajOzZkSx2H0zDlaDroaHqncgE7Cho4wBO2zio85b70WoHfAq-5U3_qI8CcPOHTRPeETSsH"; e_fb_vipaddr="AcJu6fMS_nOMn74yDm7pu4lfq-QLFB6ph4BZ3eHe6fNGOBOjm2qfHXwZMeMWO6qujm3tZRqMciSsG5hKp25tR8opHfsIwwGpuw"; e_fb_requesthandler="AcJzv_3-rEdsyuaPKKZgzNQEGTHOE3s38-SqQgZJoIBqL8psSIWumBcFKqJ7wKlUhW16x4yyQFA"; e_fb_builduser="AcJk4RzIIt2e7WQqsL7_eNE24E1Fq_P9VvOCxfDmSFX04tHWwlXSLNQ0wKfkGgZNpII"; e_fb_binaryversion="AcJo4uaTy7NwUZMy3XestvxbLzzJT6d-WOU7xT2Ej_NHEdbkHtBh86hC2QJm4mQBVukIs3JshEQHBJ7OpnFcpBwW-lfRrP325qo"; e_proxy="AcLBdi90N8ciY-dmtCAIFimDZSEeeDzHOfDGfj5yjATzsWHyTFcIjPDNgHLgciZqMDwhZdai5x2fTvkiqdmk", http_request_error; e_clientaddr="AcIGEU1R1P4pyy75YF3bUwPt3FGAuP_iMa6FdkwmcWi8Wl3Z9JYcmrBKwpBIA3xQ8TcN2fobhyf658AvBA"; e_fb_vipport="AcLEZ01SKs8kwdgyf-zgWRARLOmvPSc5rnUOwUuf5uF0dGvmBhVr9-LxgZn8"; e_upip="AcIPNUZcTC3l0NF4j7OSzVmGQtMriAl-f2o0_0_BI8K8wT79sq909rXLHke1n1TAH8YfXwqpbRyoEF_lKVdFSsdvQ-BTRcWGJw"; e_fb_hostheader="AcJ0q4ejCiSCRhPdGeeQt76elSj9wFQHNGp1-wz48zb57ibBh8ST1XVZCsRIA7sx7fzBH0JQNgWGDNAG"; e_fb_vipaddr="AcIAWCQT9DpRKzT5zL7-ujuGTMZKFApJGSVtjLavFlvKD6ZKOdgZmlRtEOvH0iTGdC_SPxo"; e_fb_requesthandler="AcKkfchjeUILIy64b0SidyL0WAHCXD_arC_-hRn5Bp5UsWw8NTBacxFYky5ykDji377_J7S6ZVU"; e_fb_builduser="AcJ-Ky8L-793RD7UOyycITc0jr0Vlu26r85sfFRJHTF9OOxrDS8wc65qK-UwpDHus9Y"; e_fb_binaryversion="AcIdqvHOCPsHaMAtmXW33aXZoBaHR9DXSbkEmgx-xSFGEIqxfGYXRqlQgZ78r7fk4w-_hhxMfGcZ8tQkez2YYOoFooqBOTyhCQY"; e_proxy="AcLDnnzyeH0tfob4Yf2i6IiF3CPxv6FZzkPjHjJyMNIxenSr0VSXw5GHXqaGms_5_YEADMKdAjivnroj"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7471334539592672?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7471334539592672?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7471334539592672?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 12:29:55: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/24/2024 12:29:55: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/24/2024 12:29:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7471334539592672"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6617462, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwdtbCjqSm5IGcTfFBVhEtY', 'x-fb-trace-id': 'DxHoavFIESy', 'x-fb-rev': '1011636332', 'x-fb-debug': 'S0Op2kqc8uQcuvsIgW7ZldHgbczUJExCOrpp4AFfwKuWMuXIIyz1RE9d1J6sWIOTBs+lwvuQxT1KFhEYbaNXsg==', date: 'Sat, 24 Feb 2024 12:29:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKCBDobTN_Cwd6s2CEfql_4orQFyemN9k3E9XqlpBw9pzBA_ChOy6yx-Pss7gVsBgo1UJ8utqxRuSFU-6Ey419OccoeU8liQI8my17sA2IPoLkPJQ"; e_fb_vipport="AcLzmSwvXwH3L30xTg7W2P--KY9amOB5yX2L4hCJOVrHLMtHMXSYY3JAhjS2"; e_upip="AcJ_8i69p4iAXhBtkkzUplhD7s8lukbxpmkWdYZRj9QhLdplzxU2bQfSV4hAWbb8dxkp6MKjct0VBDgefuwpSD5lGNDDp3Tk4u4"; e_fb_hostheader="AcJql9xgIMuKxQIq9lbOWZiyI8x6iCTqEtyAgu796V96xmfWdCYQ6X5mB6EVvUWkh_Te1I1e0BZh43AF"; e_fb_vipaddr="AcL1E_xfHM6D97eKZDfgzK4BoYHYQOTt197GK2h_-3jXI1xOshfO6JJnv7WFBoCpIInb_JoYl5cR7poC0iMAdDGBx6BA-B2m-Q"; e_fb_requesthandler="AcLNmYRfoAn82OU4MjTgvGQDPPqm0u8lmJ569vEc3YDDojE-zwCOBgDQXNGOsZ2WsVN1M3WsazI"; e_fb_builduser="AcJv4mtTuNOtPyTk2K2sk588-dDpIqQvGjb9TIGT85_vsLoPD9tKGnkdO6pm0yQlPdM"; e_fb_binaryversion="AcKKor4uAiNZyrCDxNbAH_4zAp3FyktyhTNNP4DdEoUgHmbh7T845EtyehSnJq2MsgweF0pmnQMwJXZNjoVI0vlQ2cexSb3UWmA"; e_proxy="AcKUvjNO_JWB0Z7Ky26c26YkKETzw7PgMyhnKkHa8X-JZ9TCpo6Vh040vwVTaMKaAGZaUg5rJGrGGvu734y9", http_request_error; e_clientaddr="AcLYcJZUTzAoObdxdxX7Poe3dCZ6Wzz742oQRSQ_icF2EBLoFRwUruT0N11-3rsfqujg2gGppALPnoEQOQ"; e_fb_vipport="AcLjgloIwAXSnB3cHMfKQ8uzIWbSrL8zZ9CkZ1aamyRrH6X5_WDDXqkzDrC2"; e_upip="AcKXjXOzmM-IoVGN0WOHnLDot8Xhf049-oMKhIVD6eqZdj_YqhwkTw6hMU4OWvhPnwmqJpGPptMTerdOWdv1OPvOTk2X1IhL_w"; e_fb_hostheader="AcK2VRZc1fPnZKrMKJOP8zlBqmVTTKwfPYgU3Xrkl12iePfP1hm_4OQQeceCe0ejZHokZ3hDTpkYlQKr"; e_fb_vipaddr="AcL8Hi4OkA5AF2uror8wDh5XBXuDpVqOvIWc8XtQz6eBq_w_iYKgnKsflequU8H1gMXrHvo"; e_fb_requesthandler="AcLZ5MXmlCcHD7doX1w4VxVlXxYr7Lx_7J0FnYCaHMrDfv6DQNhuUyu5tOH-qwQ4oRc5p0Q0OG8"; e_fb_builduser="AcI00CnJuKuaNexf45o8Sx-e6oTjyzGWY8mFJQpBzaCe6iUcTCRDZBpkxNcJoLemut4"; e_fb_binaryversion="AcLoeZA2tyHBfPjTKEsFwypkAXpszIHFuXqEVQ7clLzuNeC7xUeg4h6f7tGpI_3hlkBdYVYzZwHoRys-iWd_Bga6UjQlV4o5xXk"; e_proxy="AcJoFChvcF92pdpMLQ-qx0ApZsRZOwhO3gRBHKlwuN94s-Ctm-5QdxBLWAiGHxswlxZUUJ1S36wpYAY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7471334539592672"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 12:29:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 12:29:57: Error on send one message facebookId => 7471334539592672 02/24/2024 12:29:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A5_D72TVQL8w1Lll3XR5Ku3" } } 02/24/2024 12:29:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/24/2024 12:30:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7471334539592672"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6617539, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqLiua3cWrRrOQg-4JAAS8m', 'x-fb-trace-id': 'BjJiJG3Rtwe', 'x-fb-rev': '1011636332', 'x-fb-debug': 'BhO22ulNB8jqoREgbo9wfM3tiLGoCITmSYK9qQBYgYAfoTYiv/6WuFO1JzizgaDje1C+fe0GANxXNxqo8PRUhw==', date: 'Sat, 24 Feb 2024 12:30:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLH46ztkxkPMjCeqV8Ry5BFcuyFQyk-AaYCRNmmcl17z_kREbwOIilCQAuoMvnVj5l_Wki05JIKrArjgfqwBBrORFALJpedvnt8IK8_4BAYeaph"; e_fb_vipport="AcJ4BaXVYxZL1zfSlQoQuUx74NKBG-8qNgEsmSgRdftPOovxINPSG_9R_CP5"; e_upip="AcLdpORpy1oZobCQbiXy1tO1Ia79DwPm4WrksKwZ56j2J_xrxiVGsI5xGsTbkR28c5ewVkGD_2KQIdDLvYy05O5MOE0Pu2qF7ZY"; e_fb_hostheader="AcLkeWmxiRk6wcXKPIvehCkw1E6-I4MINmqynBz20TnK4ed0T-FBig9BgYrWWrG1CJuPI8-SsXkaFKI9"; e_fb_vipaddr="AcI6fPf-G8FfQXwGhFidvG7TIFnSmX3h3Z-qPBE8Wh3DPxV-47HlB-1Hep8GTosjGQYDkNQ4_jhOZaUSzPqujHfucN7FlD9B8Q"; e_fb_requesthandler="AcJK_X1xCDkIhXl2U_nFcYytk04EiQq8w_8NGyCAhGvXUEnmP3Pn2_c7j6RZ8eeDKwa0RYYNeXY"; e_fb_builduser="AcIL4wZvqWqt2Xm1s1ID2GlgibMvGIUZ943dNfeOpvvP90WAgqaNCMfJmTIwYC6RM58"; e_fb_binaryversion="AcIz6i2j5PFGa9EG19Ie08N4PSLfnFLn_pRqxwkwbMjV7xDwJcxj5rX5yCoLHgGzUqnxuj4cvYa_fnLNg9SXRq-33kfqLnisIuY"; e_proxy="AcJSsDEmIRJc_ZdDJGJIf9TEXJb5OL8araQPodpZ1YAgShbrrHuWQaNJCVIqgvQtC6qJIWDJkevfD-jy90OB", http_request_error; e_clientaddr="AcL66JTIrV9XRJsxdRt7Zr0F2EVSRUI3ZlSIaLp88yLsDHdO7PwO6KTVZ3pOrzycYijwtgb8yoOeY-x5ng"; e_fb_vipport="AcKiDeC7G53ofbDVG0E6mzACFN0zmHZU8hXGxsve-oJyoXHU8qDI5j09woHb"; e_upip="AcLNDIy-wO-GA74PalYP2_BdDl_aQ7qPg6BBGUvOsAj0cxGeSjrFJ85rIrH609xHY6YAx8qw8-QA6c_W_jz1iVcsz_IA7QO3kg"; e_fb_hostheader="AcJvamjPcZ4sv9k7hiCCLZHSYNWeMeMW_QiNsav7R-U_FeH5K8yUNFWiYrlubgne29E75gUTQeqt-8J3"; e_fb_vipaddr="AcIOvxmc-iE-7n9ct5Vb-9OuXqEb8XlUXidzZXcEH0SDJH1yoFyRXCGcmlwLprzp7-fE6t0"; e_fb_requesthandler="AcILqd39gJRoB33AqzJegmDnMxhtZPqGqn-yg3la871IlPPJAmCzKYjFsxNi9B1PhnsYqmX2coQ"; e_fb_builduser="AcJvCUM9SAlDxW4NeLN3fTKDsF6l8cIKf5U-UwVXDxSHZ34wRqLARqkl2RYaOA3n-7g"; e_fb_binaryversion="AcLf8vcGs772wfPh7pE0OgLeo035W0_kuegjXVm4hTvS6AyRAKSB2X6DGe1HcUzI73-_MKRHJClYqDixWVoTJDLm2bisYwKhgdI"; e_proxy="AcJwXJJm-iM9yHTRw2SCahqneABP06pGGR-fnTHxGFPYwlf5pDZHsmdZ84Figt7AajvEn8DwO-7l5IY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7471334539592672"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 12:30:00: Error on send one message facebookId => 7471334539592672 02/24/2024 12:30:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ad9OpJdKTac40jGRLgtn4YF" } } 02/24/2024 12:30:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/24/2024 12:30:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 12:30:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7471334539592672"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6617678, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4qKahl8omZkNZCT7VAmQUf', 'x-fb-trace-id': 'CbOiuhictKH', 'x-fb-rev': '1011635961', 'x-fb-debug': 'QAi/VF4FYHGdLfteofy+vpU6gypnIDPqqy1dJFLw90TbpeP676k6FzdutTQYNN9VRex3KvHEWBKMtbVinW/sKQ==', date: 'Sat, 24 Feb 2024 12:30:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIolRtYuycJ6S5NFuZJOAgtTg9zFoOoeSxrHiCd792pHYxtY7hMr2KDDRIfhauTWZ4cP7_n-lygQIpVZzzi4yLcqBJ0DUWr23SyyfTRsADZ6M2k"; e_fb_vipport="AcJYMmm_lNCZDbPnTu0BT4D8g7vOyyLcMq6QcZSGnlCtGAyKhVFeklh2Wq6J"; e_upip="AcKkwVXPq5mk5ZDjxU23lWaYcTbU4-5NXXSCKyVBiKFraOu75cx4E9RWaUqhIB-l46wfTEyV9UQMiHhm8TGABdZB-lBNn_cRGrw"; e_fb_hostheader="AcLTU786H0C8cz-IWAI2azhe83QE7lTGw56UrbDGjHEKa9ooBKiaoEjuq0P22bgzyr4SDytzJ-QUScH4"; e_fb_vipaddr="AcL-hRSkyNrzjmZGfIBxZaIc9ZaRXkzsuA2a3AwemgvQUX9cWbJFZTtOOwW1bN4OWaT3j7b_6JbuQ8aBRHSzpNa7YNeYtz0Ydw"; e_fb_requesthandler="AcIK4-3iYaprYxJYv3GQFTOF6alWdF8sATStaEmP3u7SxFF__qjlgzOtNd7K0k7VPLFyGLhpPMg"; e_fb_builduser="AcJLxNOr_GvQTT98wcfrmdQ8tBVRvujzEtdnRRdD-XRh26xRLRt0otYPJNOx5wa7J9E"; e_fb_binaryversion="AcJ2GTRUQLMGkHaNgCVIhS225ersPybr_y7q5h7rjrkggJUuR8Y_sPr90wfqT1kxnII6JARmJ_1aWK3DrKueC5o7C0yXG5vEEj8"; e_proxy="AcJU2ZembDYSaexbB_NYJDioazyxdesPe3EWRL1DN33lYgtz5fEHHoTtCTLPkDT_tnPZvJkseJm1ODsiX_uf", http_request_error; e_clientaddr="AcKLzp8usRPHMxv2W9lYzc_6RuRVvSsEvPibT0wCYxk5Q8M_lKcRmVuin_NFwU9g5kC0JYVFwutIfcLrzw"; e_fb_vipport="AcLDYYpgtRBMVqp-IUn9D1b1IWncCmgSi-Xh0xa3DXS_2Z8hZW8f2WhIuTs6"; e_upip="AcJb-nQTQZIibsHQuWoCaSCHJ90RRZxRjcG7T5UCF5Txqy4AMGpccVaIKZ6jYPufE-E6EE8uzVIGEZVofhY_mjnZVyLkH938yQ"; e_fb_hostheader="AcKp117vCePMWTtbXLZcg77UW4-2CFrN2xWnDC5uFRynMIQk4s5B9GgfcTmPdUi8hhHDSbCwVSn0iNC2"; e_fb_vipaddr="AcKH7HDO8lr8haC513DrqHq7io6Mc9A28_veqN5CKk4y143jwdVCA0v6g_pbbPXSVtl3DeU"; e_fb_requesthandler="AcKJhNzhB5FlNBB_IgV_rhnYKO9G2JvHlXwf9-b_tWCJVCT3GssDTkYcHGYLaow83sw-6cBg0qo"; e_fb_builduser="AcIAADnzfVTFK00TIBTHdPLHNQ1xUaWwMLKHKzQBx2oM0cs-EflzxYDpQixFATvaSYw"; e_fb_binaryversion="AcKqBbFhQHzmxyu9pkXPlxXDaCEI1sH56GJz0cP9lrJVMMqw_lQN4nPLNzdwtMfkRqcbXXiGG3dwS4Okfl3J7U5Im0vBqk6yKzc"; e_proxy="AcKJi7y_G0pOnEtH478ELNxNH3gUfEemYb1s6d-yGOGUInZ0ZfY7OQVVQ2vjsVSVC1TAlXMj0VlB7e0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7471334539592672"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 12:31:33: Error on send one message facebookId => 7471334539592672 02/24/2024 12:31:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AWGjR_7mAa7sLBTz2Mi2C6Q" } } 02/24/2024 12:31:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 12:31:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 12:31:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 13:00:21: Error on controller payload Input Treatment=> type not found 02/24/2024 13:00:21: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7151227781670248?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6623178, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7151227781670248?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7151227781670248?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7151227781670248?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7151227781670248?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AM75E6zFJbDAceEwsBY9bwq', 'x-fb-trace-id': 'BJWAdLFMfyZ', 'x-fb-rev': '1011636332', 'x-fb-debug': 'v5Yy8vzz+SvQvKGziUV9ONC1n+r4PSsgHO44njb1EeWvieqy0onyQmGeGLxABcK1qXe1c0L0zSosGetwPePm6w==', date: 'Sat, 24 Feb 2024 13:00:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIYjN7lEXXxu_GHWeDXeUfD2Em36NOFoo0CxgD7YVJvMwN-gnZO4RGNudqudGLOkiY3WOgDea01hlzYi3t54SQkrLFl97SKGBW2kqYs3eY1Dh-tpQ"; e_fb_vipport="AcLdoDEoXf0kV2bJxl1QDLM9VjfkA84fdT7jAWRWd4VMtqy-sXBwZ6xTSsFG"; e_upip="AcKWsaVZaW1wVrFep6rNYyok-lDtS6XMY9jWkU6OvpE9B1k2KcVpuNHPUT_FpmE-qKUwQdMWKrUgjXtTcEcO-FekA14h6h1gzh8"; e_fb_hostheader="AcK_MSP3JnOJUoGz5vgpS0S6NfP-OOCKKoCLTWT10N1GjwNcXdMB2XcuCgyMVPwlWdASaOS-tzkW409w"; e_fb_vipaddr="AcLz1NCT8QadwWjpgpoJp6ieI7wNFapwufkNZ81yNr8SIShOy7LAKhHIhEe6zp2NTCRSWvODVUqA8-uwvJQXYaFQ-P5WIauorg"; e_fb_requesthandler="AcIHM9Qw1_-N1MdUxSjYY8gIcHKMoiVPSQ0YdLQKLxVYqVysxEvIwJXijntUMykX2JPNgaAG35M"; e_fb_builduser="AcKQSoEtaXgHuZjHiT01WpptDswFf80RcDSq5ChS51kwOxCkKy-3AnfZWPc5irp30Gg"; e_fb_binaryversion="AcJ4UvNla5XfSKTuHwC7WlFWH-hp2dOdNs8qZqb_MtloAVmCfh-ROggisOIg4DMLn07CTidhpG2cHkY5NqayihHgZfMPCR9O5q4"; e_proxy="AcLh9yNMxSbEd6Ako19mTAIv0pA5gwEBiFtXAuBYtuMNNE5Aqe-_H2G161Wd3W0OA6HqByqZ00KAqQrKMsRV", http_request_error; e_clientaddr="AcI_Kp5f6gSTnMtetPNl7jg6f7JoPOd9i8DU2CLDT6jSc4w3FW-airv93zInSwlQI4Tb6vczD_BStKZfpA"; e_fb_vipport="AcK6d99G6YYq-NQVrbwR3bHmFxeojT5K9BqT-cFb9Gz6ddnQASxAAasQaz_P"; e_upip="AcJR9twSATnF36xMtuUR5N6DGhFbf6goZ5pHXAObL-Y_-b2OcQT9Obk_ZSUQEaMg9ofYmo-yJTUmRbTYGaL1JJstiTOsRlYdqQ"; e_fb_hostheader="AcJNYnOB3NpE_bBbeNfTCSlxpE_-Bg1ufCgNVkSbYgZowP7FphAuZ5YXiavEWC4U4XYJhhCL1UM_x-VQ"; e_fb_vipaddr="AcKePIVxcId2RSVz8X9prfWN_6BX5rGmXRyeVrLRqAuMJj35hiLIPXlyfcWhiYkmWFzErZs"; e_fb_requesthandler="AcITVesYwxC480uMSY4ZAPZyREHErK89-hnAeLYWOJK6gyKeGlYXPT8HvkaULGNdN1tzdSyQUmU"; e_fb_builduser="AcLrgV8hR1vcKrlwuu8Wf5Lckv3E3o62LR0KeJ61944lb4BTsT_8v9iTZefpFAa8Sx0"; e_fb_binaryversion="AcJxxN3L1MQb0GxNJrQaJUhWbgX7hhupoQ1WdromoskAJbCYOjk_lIyJHLY5Rd3tMitvLWiBrFxsT-xruSOGVIVZFXf0-Uee7us"; e_proxy="AcLZZt2wzZOr9EaN8d3Jh875XyCuRnDqqwDg2XWcBmY31faxzo6uyc1sy8CdA4NpAfl4zKJVhSleEXFJ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7151227781670248?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7151227781670248?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7151227781670248?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 13:00:21: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/24/2024 13:00:21: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/24/2024 13:00:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151227781670248"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6623298, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKjAW1ZuxXjfi2jWeMYN1GL', 'x-fb-trace-id': 'HqlssV4qUyr', 'x-fb-rev': '1011636332', 'x-fb-debug': 'ADq1GvCigoQd8gzB6MLhpKZIE+nK/0gybJCeej4746wxHFLwCZI9mQgesII4oGIDSr4spmOl5RvN2Vx2DWw62A==', date: 'Sat, 24 Feb 2024 13:00:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJspzEx6Vs6s9oRMRu50UpFJWrwJRMLT5keg283d_57Cnqy_ivamqU8J4HgTGvNQgED9L19jJr_XccjlKXl6k3y75hWMYLY4VV0nAdQXDSqgm8T"; e_fb_vipport="AcIfyLU4N46wltG5BHBPMJCITzUzVsfbpJKtfisG2vkP6zYoNiHM0AQY_tdx"; e_upip="AcJOucEieX3zfCyW9pUpm-0bGeeH6OEA7L2g6Jm222BdwkarRLmFhUTqYOSbVSTy7w5Jy9Bqsv_vjGQ0uFYDyKE8HAc1HSKnwYo"; e_fb_hostheader="AcJqfJn07S4Cx1P5twiQRAdX8Ygls31z5k3bW968QlEiq4Xw1bT0Zxg_nwpLB_s4hDURljdE2YC-8UGU"; e_fb_vipaddr="AcLtbJHEqaa0NN5trzOobTH5NaHWinDznqzwNa6xduwKamKABHJ_zbaZszOdY29L9XA6yvXqR3sgEoUC12B4CnPQ6xCj0YWSCg"; e_fb_requesthandler="AcKyMT21HbpTbViRkgBlUpxKOb4hNp0Wm_7yN2EGgj9gft58KedDrvMDOwo2IS53Qg8X_DItu9c"; e_fb_builduser="AcKso-fxbubBwCnUMhiI4LNAVbIEIEunVU2XONxA2hkrwFBCOHnD4HLu1urzDm3U9_0"; e_fb_binaryversion="AcLLdUkmLcCZXOepxEgZJMhrfNa-HQRxjV3-4R4fTJQ3xMBhgytANNbAApFKIgeyv-Pd8XWX80RA_zmvWhgwv64-12KqAnO1zSY"; e_proxy="AcLS9Ri46MG9aLivQpPMGgkJFeuNAWInZpSd_nSBn_vPmkLTRYXm66KselOaNdwrbU6qjJA9pqwY039849Qm", http_request_error; e_clientaddr="AcIq72eMHzicxNNCvdfm0FZJwiQNGesBd-SAbQijepasQlgxj-iKOHnV0HTcqBlZySfLF9qjxUJ2UHEQpQ"; e_fb_vipport="AcK8EkAkl1r-Tfna1dwAWjIcDhF_J7idKfxCtwHpwIkoPBzYl7AaSi2DieNQ"; e_upip="AcI-1_2af75tssC8pfZt-L8rQkjbFB0lgQi5ynN8Ys_Jbzn3PK16OLNgZHQco2e9P9lIR8QVeqlJT0hRJ_7ocv1FMCafS4uMAg"; e_fb_hostheader="AcILf48_RgtLo_cLVHkcNfIuiC9pBunDxmUJYzURgKGvjTv-RUfseqkq40w_4Jb_glZtGhWQkmmVmyML"; e_fb_vipaddr="AcKIm8rAY84vurFfLW36TjczgZfpotlooCRX5EazhkPDckAeXMUU9pLdz9xTM461AD7bhr4"; e_fb_requesthandler="AcIUyjByhxspfuwIUUe8B07sEiD1_IIK8bRnjsLFtDzqT_YIfDoHn5ZyFkO-Z12omYb7RF90GtY"; e_fb_builduser="AcJruCgQSCwW4gNkZJEQe8Xbzopj9m3LETwByAc9F1HB5skAQb8k7MEREAG_KoruZ_8"; e_fb_binaryversion="AcJaCSTACX7hymzg0FtFP8q6g5aiusD3KgDfLx4i8Lu3EpUJ4n76dLhI1jbJJIrodlzr4Nr4rKAbAYV5LgMosbPZqENlCPIyMLQ"; e_proxy="AcLmexIB6D403HgaTn-yqpZ8nmhebQe_GSPz6Tajb8_K7R-6KS7LoBantuXruLKbI6bTaWa1fz_batY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151227781670248"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 13:00:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:00:24: Error on send one message facebookId => 7151227781670248 02/24/2024 13:00:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AyI0Q4WO6mK6Ei-8Q-fcLt9" } } 02/24/2024 13:00:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/24/2024 13:00:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151227781670248"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6623386, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFBLl1cGDhjj_OgIWc8CHql', 'x-fb-trace-id': 'DE+UdOLPuMG', 'x-fb-rev': '1011636332', 'x-fb-debug': 'kJRn/5BbInLiNY2uRpGB8iXze1sP/1i5moCKfZs7bHBwjS1ePiD8vNUibZt+Um7hbZTUi7xMG1iVjB6eRjg1mg==', date: 'Sat, 24 Feb 2024 13:00:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJyqklTfX-8HnXH7b-aQoOtVbOwVxo_S2wVh6CdTz2-h6RiL4hsMTGGhozQm6TJTpVOxxvnmHlQsoug6MEgimcmew6Hzg7Nv4a5gwMyZqULAS6t"; e_fb_vipport="AcJJJyktpUtv97UhTrVvSGr2-pWoeP8qZ17VKbQHaL7-Nqpn4NFM7rrMjSuW"; e_upip="AcInYKg8e9dAJ6ntK3508HEJGz13ias0EG_Ci4Ai68XKuljnmEYFUTpUkCdd975ryo6O4kaNzw3ygN3WoWprlkUbaQnlLn1W8Yc"; e_fb_hostheader="AcKP0FwUnffflLEEBTIes2cW9ECvpwn6HZxAC3A1Wvbg6T1qYLOgWNJbgkDjMDR7ETFkxiGuaRABpeK5"; e_fb_vipaddr="AcK4WtAexwTV-WH5O58Fny9Xbyu-KPjMQ7QVml_glg2ZXyE2_LRWCV_M0bl2VOmKCdhqDiFpvNphjO0pE7Qme6PddLK2t9Zjtw"; e_fb_requesthandler="AcJIBWzgsFq7NuYztzsrNFeXLbqqHsd32wNNSQ1A-4uHH2F4ZVEMiZA23M-XlMOAeTD68dLW5Yw"; e_fb_builduser="AcJ0kB4TiPTIQUiztLGIIMWxUj45xgfIJXhi6U0f4SUDn95xHhECju-1Yi8m_VT7Q3s"; e_fb_binaryversion="AcKdbCs3qTnsRF9y2UE80aTXtZeno3GztDnpdA8WYGl392iILAcIjB9lmVtu4l-3ZZ_VeLaAWUz4dHf4HKVAbvVRwVydMzJr18s"; e_proxy="AcKv-UHTHFs8KkAHg5JK8nsgPU_edBzLZOKuPc7fhDzjtV5OkQZ0Ij_0KO5yt70m4jPdjTXQxzFHYkZKW5R7", http_request_error; e_clientaddr="AcLLBgzxmIyhPC7k_wVPVwQ_vUDoO2kn1umUseHCsXZUp3-CqXn1NoKF8dE0gfO5AzP4yqpN-aIstXUt1w"; e_fb_vipport="AcK9kPKHFMmvLcTZ1EEu6Lm_WBf6ofM-YQWic8s97k1spZtKQo5SPhc9x-pl"; e_upip="AcISLmWSp53LEOvgpMxIEsaHxgZFrhSGIYYEbcxh7C3K3q4yI-CNfe9O6ZRopsbtZ5TbJU_Qhd3K3j5S3khQQiuSwvU9dcT9Rw"; e_fb_hostheader="AcImjZr1AGKLkp2cGktylg7qZn3UuCnoZPAMxUM23yDXWq95UVyaLyfdSUO0PLZRQkmhSd87o_8KpEKP"; e_fb_vipaddr="AcL13jzpvNCUItCwk6_hQ3fGwJv7n7zzX7ovoL3NA3EfO_H9ZF0z365r7jUOBfTxyJTqBmk"; e_fb_requesthandler="AcJC2AD3q-UEg2rl83rxM2cFjzxuYyEZHVfblH_UNfRHdQcKgDqIE3FiCIsDT3G84d2_lkNGTXk"; e_fb_builduser="AcIX_40PkCNnuLOguITtErsq16BLdNHgR9fohhPvE34R4BBN9UrUioR3T3REbAx8nFQ"; e_fb_binaryversion="AcJy9l4S0-j2Sm7LlHcMfgZQsGD2LclXrR4ZR1VgAbd0pFm4pcEdJN7wMXErgc5N0YDMAl3xklmvYsZOF42h2ZR7wotxp_5iH4I"; e_proxy="AcLhQHBQrO5KyqTyvH7WJCaMnl5mT81LJpRSgMDUHCi4BLBhS-_TPrXXqkqV2YWWDhh5GXdlg6jCgps"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151227781670248"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 13:00:26: Error on send one message facebookId => 7151227781670248 02/24/2024 13:00:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZuSjQr1dJ_hnlkKhQpiIV9" } } 02/24/2024 13:00:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/24/2024 13:00:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 13:00:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151227781670248"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6623525, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIlg95OazZFGDtmV1ABexIk', 'x-fb-trace-id': 'HLzHgTexvSO', 'x-fb-rev': '1011636332', 'x-fb-debug': '7HG/NvRPjncV5Yl4AQ9wMkkyHozrdB1Dlt8CKOQJFoiz7Hb67kRUd1xiqc0fKQW+jlZWi5Xt7ZVG4aYXe/7/Sg==', date: 'Sat, 24 Feb 2024 13:00:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKzj6tlQHlbv7gLDBg47a7a8kO_-KBw5fQzQdSvh38GQfLs53SAe17pGpJBdgQrxI33mVQd5i7etMfHO4aC47BWe4M-aYGbeTTgTYK4TaojfGdvAw"; e_fb_vipport="AcJxCXapzVQYNXIPa5_ds-uMHGKUDU3xTAPAj0dJyumYRMsck-FE4vOtTMFw"; e_upip="AcJp7e6IbKQIVRFNaBNzh7VenUSNuEnnOUs5G-dbk4RBzzW0A-0DxvXJoBvGu1SsVqvW719O9RxizJ14Q-Ud8ldf1t1YQn4PsEo"; e_fb_hostheader="AcJsKaVW7_rNkv63uOLCwwxfFHAq9kTn4eomQ0M7dwWdGY1nHk-ZFuTseoFqc7qX2imyLFcJ6igEHCpy"; e_fb_vipaddr="AcITDZwhU0m6VtMD6coGbrlTBBXlByDrpU3d6Pl5dSlMBeXJ7B__xrMiPpl1eUE2NwYl1BB5UKcbJjfUCc2BK85T9Vdp06-uXQ"; e_fb_requesthandler="AcLMrWp7XAKrw1GjiD3Z2MAMz9BSDpn9hQToLzZPbYDwi_8d14mve7QklTAAfwYhzcjrqR3tjZs"; e_fb_builduser="AcIaclPG77-nXISKZiQwBVjit9n-x9QfUt_SLCJh_vVuATdWtXetlICMvBtsQ3ZxaiU"; e_fb_binaryversion="AcKKvCWluieQAWWXg8zk78gbmi24nkTDEyug-IrGsZPUPvOBYotjrQ-lXmrc72QTAt8ZfEVFO07kmAHsr3lg4gdd_oY19E20-EM"; e_proxy="AcK_k4Me_Z0ZFhCOyt-lGdeLMcVNwZ0wbG64Sq2xRO4pwarDqcZdJl8AVpEdaXNkwNpRdY-gOb6ifHnZVvmY", http_request_error; e_clientaddr="AcKGuWmu9RluFxlX5Yf_ec87Z8cQKcPV9Dq0seCq4qs21JmpWhakQ-fWu_Q2S6TyCJ8hhbE0pm_LSKqswA"; e_fb_vipport="AcK-1Y6V4T4g4lEg7dLL-27QIYLSHbGcABlan2BzCbpxvKAmlWqkQUW6MuHm"; e_upip="AcJog1fUyZ7OiS4JvrgtjRnUYSM9BNEJJq2izi7yFbl7JEI3eQHu-EvCsOfIsOXI6j5JyvXr9yphVK4KijQLsy90B_KZzqpw0A"; e_fb_hostheader="AcIByMOEqipd1X26hQki2m_q0jDcx4OH3rdVYNYrpO-RgRthfj_oAxkYpE1DKjGImLP_1acas6gHxONx"; e_fb_vipaddr="AcIDaYS_lHa3lQlqT-TRjYxzy6VjBuIp87Eqakh-ZalDZib988KoMbBrtym6mM5cu4SPbeU"; e_fb_requesthandler="AcJCnNlGpDlZpvgwhJFpELXkiaEPcIBY3vU5_O7dghsnLXa1optSi6mNe-n_isyGCMSK5NCr7IE"; e_fb_builduser="AcJeLqu0wgwj-W42ililIW485kpqlrh3eKL0sZUZXRr_w4B1qOzF_rZKKmwfTmH1LSo"; e_fb_binaryversion="AcJ8vVkjM9LUZtCufVP9NipC1-Al3Cl2uqXlo55Sxi1Ms33LXOzO_88nKASs-kTvtYjcfJAZASr6jKDIvVFScIgMijYpwgt1274"; e_proxy="AcKysa4v9O2BJhxeOg1dA3IFeJiV2SJ7inRgIHQfrfo1cmoC4Ivdc2ebCJSIKGHceu3QJG0BydAAEFE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7151227781670248"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 13:15:28: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7536497036409116?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6626128, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7536497036409116?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7536497036409116?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7536497036409116?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7536497036409116?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATgun4mJGfwAKzxOtI5C6wK', 'x-fb-trace-id': 'CGcb4ymtUtG', 'x-fb-rev': '1011636332', 'x-fb-debug': 'BqIa6JaJh7STW6zcA6E9YpURxasijz9uF/VbXiJIVKxIIvT6k7JCAho3u8p6srK8TW8wqHoEO4qbOspSflS9BA==', date: 'Sat, 24 Feb 2024 13:15:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLBwl98ybOKZyBmunl5LiHOrSRbg3zQJcR8JxH50ikhbRrtDZGfAbGFH5ZcjhYZ6EXZ2rMihi66nbMtJHCJVBDeIay0G913vtYZPCPL0b6OyA2WmA"; e_fb_vipport="AcKvjSo50HFH7wGhQDorNZ62XVvMR4vc3AUjRniDttQ8Mjxp6YYZ9w2hPNxq"; e_upip="AcIVoPSWMR0iZbcHq8OVA7RyVliCPKjWPWw226wx7rA4OwCrkh73pPN7_ROegV1ZneaKzmVMFvA28tkfy9MeVxrZSjzGMmGSSJs"; e_fb_hostheader="AcIMulKf5QSYu1D3UHRkcVNDJfgqAkM3r0_L0E0fFJ-FXbYY13hLb8fC-6iE7beNJS8m1MegqhzbDKZ9"; e_fb_vipaddr="AcJ4mKr0YGlxXk-EL3hExvpQZUlEhD4htqOU_k9d4wc8AQIsA9dh5-7Csn-339boii0vsTltSGWc6sP2OjUWXAHC7AwtCgA5EQ"; e_fb_requesthandler="AcLmWwG49omQJoIEQkC613642yJHIdVATup4NKnxxY_1v7YQCzlH1n244GKt6MMSguT1sfLwXkQ"; e_fb_builduser="AcITu2D1TgpNmmkGvwb4Esgjdh_usLsooQ5Vwfju9ilHJJRvrnMo0v2jCsGkKYmvj10"; e_fb_binaryversion="AcLAh3MdLt3A9AcFkeqNyPjWKCuNa915JsM6Von-gIbZsr___RXAqv6Hck_IXAgaRlk2n0t_YkrUt7pdPIVaLrmtlUqmfUpaiQk"; e_proxy="AcJmuDx9xOruEMHM2AilwwDNa1rVrah_tvKjP992syhquDCC6w0FCu6jFBvnLOMzA-cl-LPi-_spa07wpkA", http_request_error; e_clientaddr="AcIZwTvcOUs33KJwjH31JVrZnL9ogtkOv4qMouIuvoix75DkZsy4MA2fn9TMDZXiPjBisUOpxKXlX-w1Cg"; e_fb_vipport="AcINjXWh3fzfVm1gOoJwxadk7aqJhx9NV3MqU28saO4CTxthUtTf7nAAWbpe"; e_upip="AcKFmY9dqZW74PXUZAzLQCef6jNSsWG8PwZ6fcR882gaYRFp0169xWFbSMyHvotmQlc5IBbgE7fiPBO7OvvVJheEXdgOvDijyQ"; e_fb_hostheader="AcKDKpbDw1Ffn2OKvdzzOM1AAH0vIeIyQwqAsayo9HLV1PnkGcSLY78_mDXNVXE2-iAG5VPWZ3Ddyrwb"; e_fb_vipaddr="AcIptfiXBDsnycg9viVVwi36z20HgEl1juKsYrx1bnmHr-XDfbN6SVlHoKAEr23skcvg-74"; e_fb_requesthandler="AcIxcYL5P4LJmjzI8E-QDOscIQ01j5XzdgS_sxylJtMJl13MalQxsi_uDhWSAL18AI-IGtEVI6E"; e_fb_builduser="AcJQP-_gZ8cPC6-tR9mvvmKwYEL51rW3INhEgbV-wM3o2t2oKJY0g882fyLJPAW95ww"; e_fb_binaryversion="AcLbL3zCx3t6d_YO7sKTtUKekSOko9tcjx6GnGmixNmjv9vE1V7Ip7EKVCOOwLT7q2YikalWAL5iVYxoisGFD6kEpbsfypRaDWE"; e_proxy="AcLuBkwheEoyepb0JMwgHc7oohbDHkGWhanxrX0eGixJAHNnLFP9KtwtwVe_gbIkG5tVzBgZ3WSEBGpK"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7536497036409116?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7536497036409116?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7536497036409116?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 13:15:28: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/24/2024 13:15:28: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/24/2024 13:15:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7536497036409116"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6626246, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ajz1-O_VTEfUrhrMpeXi0cr', 'x-fb-trace-id': 'E9UoBrgk6G2', 'x-fb-rev': '1011636332', 'x-fb-debug': 'PPNQ3Q4Yl185nzLwnk0FxMODsuDSU14QfU83k8oLeU8bYmm184FkSk/8sICHokNlzkUkCPKxm079smbQvxMi7A==', date: 'Sat, 24 Feb 2024 13:15:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJPvagf7G7XKe7eEy1Juh04WmPYeUFwlXkuLPIYRPlDtHBVyYwbQGVBI8hffalJ64bHP95U-vXbl6qS3fr0JiYKCTm13fgjX5-uyarZ8It2T0iutw"; e_fb_vipport="AcI7ws951sr-vvm11aBzkzAeF4nf7hevfKJ4wTEwzF70NTc-yTvqf4nMYovG"; e_upip="AcLC_T5_CC41u5JAq-Z59ZL68e5lExGXFD10xQC3AFy2Kk6RSxVPItHzsu9iVHNH_mooTmatJaH04OigXS2TA55qC1ss3b3cBTs"; e_fb_hostheader="AcLZme1P0L052k_uvOdz_Tsa-P-e90kkuTNNhKY29_eFIrS9Z7XcFYlfpx8QJceQIzbhXOR-LY4hWFpV"; e_fb_vipaddr="AcJ8GL-8cm7KvAy3Ep3uiA1XtN_f1l0FSo1xQ4PEUgBVBrEePGBqMQe4gWQSGUSsjQq84pcwVrdFT0UVRAbhXsSlGi1qw1Qsdg"; e_fb_requesthandler="AcL0g35SZV51iDzNne8JqG-HODNc1Zud-Ai-Mm6xnehDQFpZyu_XtHtrF_SHzKvYKD64QnwxNzg"; e_fb_builduser="AcIGue8VOUxDtnSlI_6yqpe0JN23hou7ZTeTKXbh1Al4MgePj6XxbkMP6-GnJ-uqswA"; e_fb_binaryversion="AcLyJYvLEUwT_VKzHNWpsWO56X-_d4ASb28HiL88Qn8uvPePJvZM1n2RtWwlQ7V-iFkbnAN9CRcOLeyxxZUxRx_868NTjSK2WUY"; e_proxy="AcKtnkeNsaYxSuge6u64SbcqYFGgHJVOYxQXKG9rpGrx7b5ykI2I2o6bRGMdotK5IrKtBC30E2CPEljjTBAW", http_request_error; e_clientaddr="AcJIi8sBnAJa9yxRfnPU0LVqJWkDBBfbEgBNyye9Bfd20Pj_kkDcJy6vN15GxyQc3nWodnXUc0eL5vRuZg"; e_fb_vipport="AcJw9kgbO6LIvUGFP-pblPV-7Ig9NHBDbeM6tQqSQwWML2z4O0aCz9tWgHLq"; e_upip="AcIiiz0GVt1AHjmylHvPGzpQqJtmBw4e4tFbckSDB0OiMMcXPmk-o1XAt_KOkrqfpVMzhPWCdFyivLvKw8vTK2pY3Dramjrzrg"; e_fb_hostheader="AcKrnsjj4Wmbf2DxAzCm8yNNC06hnmV5GSBIoBx01nMOgierUkUGST8_RIkfhmxLYcCc_H0RmSv0VBWS"; e_fb_vipaddr="AcJgAFYXvafLjPAuiO90UUudytZnf7n4SNU2Ihy9gu-ghUi2bjgh91jApKcf0RYGIEoX1Ms"; e_fb_requesthandler="AcI4N4jO_1RMfyTauYKHY94odBckj5ukSpT-QqmoCM5-0J5VOTGstKhcgJMqJ7I5re4OBh4bZFU"; e_fb_builduser="AcKx_i5yIqnXkGAu527NjMU5EHG5V7WjMy_at0gtahnvMe_X9F1LlpHqwjRbIthgdEc"; e_fb_binaryversion="AcK8xU94N5zRehwAs3lHlsXSwiPIy40bqObCqNOWXMZXbbWT5-l0x-CILzsUyma7Awy8P_cF_VSvcBSXeMAj4mkM8EIwOqBe1jQ"; e_proxy="AcIK-bjFyzkSh8V4763tK7hKJZo8NEX5hhLj6LnIamGf6CzzEl6F8sND9TJtICN9M52NTEzQ5U4Tagg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7536497036409116"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 13:15:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:15:30: Error on send one message facebookId => 7536497036409116 02/24/2024 13:15:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbuZpscJ5gEe10bOgYKRehJ" } } 02/24/2024 13:15:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/24/2024 13:15:33: Error on send one message facebookId => 7536497036409116 02/24/2024 13:15:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGpJYrnp-0c80gVLukL8aP1" } } 02/24/2024 13:15:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7536497036409116"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6626323, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3BISqnwOtSVuSbbr7BdJHs', 'x-fb-trace-id': 'G2U3hYiKA0/', 'x-fb-rev': '1011636332', 'x-fb-debug': 'jihjqsgoHGFSCviBFVddyCSjc1lZp/8ddXAvD0BnTj5H1S3jVVt02RcD84UNkY8S7+m5+CEGCtYMsnNiSZLkrw==', date: 'Sat, 24 Feb 2024 13:15:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKJ4LIIGOsyfCUop5BovxqPjpk7I83lIEYnPI6yid5HiVcm96qLZ8qZUSq4LAqFWZ8Lis_nNjTzWOC_jb53CR76mHJvJNCpbo8KeKtX5ShkhqLX4A"; e_fb_vipport="AcKW4IK6uRDG6yElGXCyDLC4nGLv1H30GtKa9S2DfpzMZ0QQCw6my0PfEIQW"; e_upip="AcJxUEXFzUSMSG9y41HKNMoJMhxDEchvSkpaG7ht0b1Lm5Tp0mXYxNJspFd2jadwOj_hQBcnx1GXPHjnimcUy1fvGFCrChubswg"; e_fb_hostheader="AcLW5jw0frotNffFhvksm496X_uz2c4tole7z1Me4evXT-1SJxSteHdPyT_Wp5UJgBldTGOjPw1ubeyT"; e_fb_vipaddr="AcJIFozggQhtlBu0O7ohS0XIlKB7_8ln6z_A7VowwFOHC3RIQ3JhnR_nCVS3ipRhbf2JKRbVY5J6kO30rNRc7k6tjb5dTOV4fQ"; e_fb_requesthandler="AcIBy8LXzr-YKPPh-1FYyJs_e0yhfIvoyiFTpxzcm8-r3WPSqBG0_3CEoG2UtK1oCHpGcyFqcd8"; e_fb_builduser="AcK5vYX3dwu-3gLngYil5dWF-hNL4pov50Gc7r8Uo8NeT0DMT9CZ9GToye-bjLB7zyM"; e_fb_binaryversion="AcJkqok4QsQW3JZ3xcPCdfkR_QupXAjFCzH8w54fwrKgPCTrzZ1_Hsc0GLNF4JtK9DRFaeYLdzyzXPc3pQg10RUa50LnJ-YWrwQ"; e_proxy="AcImGW76f9dsyuIvK72-305dvwiT_2xyEd_eTidc020URkSBzupFA43eCDk5kG5ROQnI0wiarSXUdv8LJ3ik", http_request_error; e_clientaddr="AcIalKhCkFiPuE4n8JL5rJtqBkBeTxJOxSG05FZIsgORZv6HlGjIllFzSUJlK-OIEAB3vmT2v6ISU7y2LQ"; e_fb_vipport="AcKPAYpbAsl-z9LBg-jo4oEtCEtefiol6wb9zwznGU9BfDFWmy3weOFyOcJh"; e_upip="AcI5-2CI1vwSN3rEmw37G9PasuU2YcR7Cd5ZoL07A2tJ0ULwwhdmD14ToPZw-tbLpQoqnWVGk0AiLw0iHjF4267OZuBRPMsC-w"; e_fb_hostheader="AcLRHzvm3tRY6-Gm1eaGKtldB0xj904f-I5rAfSBwnbPfe6QnZRleRSTCsMVPHeozKJTV2s0rJGDOckd"; e_fb_vipaddr="AcLvFc6NS2Rem_egUxkvDGiwIEsSkIZAUVYovjbdFkJuEclFmQNQjEcddvHybnlJ89pCkd4"; e_fb_requesthandler="AcJENisNc2iGADfCbn3S2ygpGzWdM6hsbyKNoEjar_4sNBKIBLAhS6uxdlFzuoUbwJfno74c_-w"; e_fb_builduser="AcLk903czaXFWCcbyvsrzXk4LG1p2Bz2in1XDARB4AmFtA0R3wxfzDF8tc5c0rsD4oQ"; e_fb_binaryversion="AcIzzTlQAtm5F1kbg5vxH90iy5vssCBAHYPxL1AiNfpSjsm4KVt1syM1IAn8zHIgROWIGEfMAPNx_YObz0bmzb8tF9x5hWEU3Uc"; e_proxy="AcKWfSjwXFBmYcuTbvaazTCugVZPqtHqA_B_vc-9omP13jfvlh2-_9F3QP-Ux8KvVy363nEatuKwaWU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7536497036409116"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 13:15:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/24/2024 13:15:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 13:15:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7536497036409116"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6626461, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgCBs2Vub2HvnDnaswr6Phe', 'x-fb-trace-id': 'Gb3AYsyq73t', 'x-fb-rev': '1011636332', 'x-fb-debug': 'A9ZhDCwCIgwsaevzWdNy2sjAWVDuXKwnzJSAUqE861b9nJhdqc6GB3d5a5g2Y0wQLoXD+0ZQ39ryXDMKDPEwVA==', date: 'Sat, 24 Feb 2024 13:15:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJBPjPdt4CewthkpbWOHiQBvUzO58PTUpOp7S0cWQkgFcwdwjNjVSimFoXcbx66j_LIIExAxyYchbAGvZvBbcsAzY29dX8JFi7_m6UeEkgPa7WuEQ"; e_fb_vipport="AcL9s01jbF8hrnDRp-uwdRP5xAd0lWCfhGDUS9qRPL-lFFq-D0bPyKZjggm3"; e_upip="AcJYaEPNKVOhw3OBNAtS3jL-2Gk9mAoiuz9JId7OrN4B5b4v6O5SyWLuZNZJVpeZGHus1-qLp_4ErjzuxbfOrt4bYnoZyjTsJA"; e_fb_hostheader="AcJBtVYzRFdxYHkbcc7Jn1j3Bg8YiJkLrGGTu4iXkG37iZE6VPnEW7q77FaAu768I0pAAA9UHROA5na2"; e_fb_vipaddr="AcI6RCTc95ON18TuICTEyyk_e-PYxRvWM4a-t2dctMxM-2Faq-iT4qHbkZrHw5XfPMBwMLvwJKDKt52qibsTHYhU1FZGnXKYyg"; e_fb_requesthandler="AcKLDwdWha8DnHzpbfdGWOQdyF6zTrKFwco5V3tYkiEAC7fBGcnDyBYtnWSi19X0qEOkeK-gkio"; e_fb_builduser="AcJCZfP8oDRbN7wkslA9UUp_Lt_8diwZi1-FtUWZCya6jN8xkWZvQIsu2IcxMbxu2bE"; e_fb_binaryversion="AcKAFbBsl7LzRz7yc0kNAeP9lbVE5O9V7wUCsqUQJuxDSJ54EbuVfblM_h1m_dBX44xrRw5ZkJ0J_1pukhoVgdepq4Yu0jASGE4"; e_proxy="AcLt2jfTELLhsUE5KxNXqfxXsXyf6FJg_AWjGiwK8xGMSvQMp9JSkwB_aWFPbuIpSXyI6xMiJA1NozsoLfM", http_request_error; e_clientaddr="AcKdlHdOpqvSaI83oGUVlaHT6ZL37JcnJYUZLsI1gqkUWtrVOmdK1WQax4_2r20voC9o_h1foaBoEaajvg"; e_fb_vipport="AcLgD7KfMhB51es9sErQPf2nKi-sAdbJ8vavN8Z0KWEgN2zTiNkbONuo3yLS"; e_upip="AcKRAO_iUmGLPwJRCuzklxBi6x-ugZjoiXYS1HHxejXwALLCko5JC8G4IdGLZEPEcOTrLPNb5Kgo1N6JvM9uvxkHJ_dyapOhtA"; e_fb_hostheader="AcL4s_7zJZ8GpAYfDpfCcuxafcRyd9O7PwqAOgA_KIkkU-_aHQlaJF18OJkJ608CHSaoYvQh0J5mQI7h"; e_fb_vipaddr="AcKaeOsLsM7TJC7NG9FOCjFc5bVVtqumdFx_gD18Teg9A8X8e4ZLn8Od1HbpNc_ip0wvtQg"; e_fb_requesthandler="AcIYvmX94hiF-L5vC0i85M4jgQzNBLDLjfjCZDT3xdLP4GxCGBA0omYC38QaZorsY_XLxmnQZR8"; e_fb_builduser="AcJAhYrlFZzIDtM3c2Cos4-Kcrm4plIxl_f-ZogsR-r_J_-sp6xfxrN559QVwFqlAkk"; e_fb_binaryversion="AcKSsUj3XPN2HtmWlbhXLUamGzQ6o0z74JSm_vwi-1KH8vy_wYNsdX9xP8BBZz4gG9X4RI4QdpAVa1X4tTkJSay48dLaS1GmOO4"; e_proxy="AcLxoOQFSnqPQ4vd6tmDMqmq8ktQauOWf9hTHryDyPgI3HzczXiZC5HMX009xTJHF24uf769iGDkvCo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7536497036409116"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/24/2024 13:15:40: Error on send one message facebookId => 7536497036409116 02/24/2024 13:15:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A5jBPWdUz4RtGqzwVcaLGns" } } 02/24/2024 13:15:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:15:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:15:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 13:15:59: Error on send one message facebookId => 7536497036409116 02/24/2024 13:15:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7Jo_2ceNpx2LTXF_J_p-LL" } } 02/24/2024 13:15:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:15:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:15:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 13:16:11: Error on send one message facebookId => 7536497036409116 02/24/2024 13:16:11: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AaXcCTeWSzYw3WMFU3V49IX" } } 02/24/2024 13:16:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:16:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:16:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 13:16:29: Error on send one message facebookId => 7536497036409116 02/24/2024 13:16:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AH0uxTWtoUUo6ESy3npMP58" } } 02/24/2024 13:16:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:16:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 13:16:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 18:59:57: Error on send one message facebookId => 4898614026862081 02/24/2024 18:59:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A59KXzACMbD35u5GtgtxesV" } } 02/24/2024 18:59:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 18:59:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 18:59:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 19:00:37: Error on send one message facebookId => 4898614026862081 02/24/2024 19:00:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4pCsKYfu7tLy-uHOCxTznx" } } 02/24/2024 19:00:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 19:00:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 19:00:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 19:00:47: Error on send one message facebookId => 4898614026862081 02/24/2024 19:00:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aa9XMvyQrIa7OZj8TVG_9FN" } } 02/24/2024 19:00:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 19:00:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 19:00:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 19:56:42: Error on FAQ function doOneResponse => TypeError: Cannot read properties of undefined (reading 'length') at Object.module.exports.asyncForEach (/home/ubuntu/api-facebook/utils/Utils.js:15:37) at doOneResponse (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:204:17) at selectQuestion (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:59:20) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async receiveFaq (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_faq.js:26:24) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:102:27) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/24/2024 19:56:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 19:57:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/24/2024 22:26:24: Request bot not found: { id: '138868933458303' } 02/24/2024 22:26:38: Request bot not found: { id: '138868933458303' } 02/24/2024 22:26:52: Request bot not found: { id: '138868933458303' } 02/24/2024 22:27:20: Request bot not found: { id: '138868933458303' } 02/24/2024 22:27:55: Request bot not found: { id: '138868933458303' } 02/24/2024 22:28:10: Request bot not found: { id: '138868933458303' } 02/25/2024 00:22:29: Error on send one message facebookId => 4898614026862081 02/25/2024 00:22:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AzLA35YnwoIWW08PLb4jZPk" } } 02/25/2024 00:22:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 00:22:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 00:22:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/25/2024 06:40:24: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7382442131850264?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6806360, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7382442131850264?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7382442131850264?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7382442131850264?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7382442131850264?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUokslfrWkuxh2zsioT58zM', 'x-fb-trace-id': 'HF5NZGuNjyI', 'x-fb-rev': '1011640315', 'x-fb-debug': 'LrQ0+Lve6dinHhvFx+mtk4d8uVLEOFvb6zlodX0kEcdJirRH4FhQSNM5BebdDtwk1cUNx3mJbvt3hEhcDohLiw==', date: 'Sun, 25 Feb 2024 06:40:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJrz7l0bijJXlM-r9MtAKx3GZKttyYyoAM5XPykHR9E50gNKWVD1GinAOLR4XEw32sJUvv5iyu2mwj3Yq3-trzz5RnPwzUZWg45FDko7nf_MQ5oUQ"; e_fb_vipport="AcIe8Q9DAZVwLQA82IV5zsGsFS6IIMGsY0-Mp15bNvXHUftoeSEQ18m499WR"; e_upip="AcJg3lTMwvpx2vWkGPXBGntmmTR9vpQhT097X26kW6uD_zAHAwdu31iswiH8IKLR9XBIXrvV06Hyk7W1RM1lSWf89VzYo6pO7w"; e_fb_hostheader="AcJXMp5t-3Dc1VjbTAsqcqcAnOH_EkFufWZUNoVN47sRbbC_I7WClRkm3RL8QPmGYPSe3dhi3UGZqCdX"; e_fb_vipaddr="AcIdtS-3obeT_hAKGXBaO1nwe7zwvnx0MU2LhKhE-97Lnaby0Z8fotncOLxGSQWNQ9YktVmbYCONB1Z-sAaAGWtthCydqQs-ig"; e_fb_requesthandler="AcKMQQkYnbFj9YumAkgLrrpmlGG7lrONvqYotOsqZkaonrgUZC8uyYZqKR-10E8f_LrEWe75crQ"; e_fb_builduser="AcKJlxJSAT_1zIX836OMKQIbKuwd3bf87fweD21Gt7fhvrJjGxHKk2htUpjrIOYfM7c"; e_fb_binaryversion="AcLfPlvOb2Ihu9Zk6cq0kplGB1Y60019UUUwCSiCHJEiRY07XSbh2F67dcJJB2oZlcZ1Wv_7QxBgQcoBH6DrrmQEAF03zTMQJ0Y"; e_proxy="AcIK79KI536oMUmbUzODzgffFkInxjehtuaGHqKpGDap5xOAAi1HAviqrN8O8IKq6assj8medIrhBKG1C1XJ", http_request_error; e_clientaddr="AcKc7kozmuw2R1rS-D-MhF-w0O_m--6GURNj5D0vkDphuXKDD-3W23Hzmiqofr0jYhMbvavsN1IvA4TUZA"; e_fb_vipport="AcKd5fGviofY91ccl-zNukhGNHgT93E0vWRlc-wgHVbl3lNr--z4jUelOSW-"; e_upip="AcIv2v0pv4DhuRbq1XUYgrCn1ejcKqHGntOo8t701rVfacn5tdS7u0OKKaZoP1YB-zg5w3khqVwJooBLmuYCC7q2tpfdMgWZgg"; e_fb_hostheader="AcLohmnexqkKKNZ9Bo-UCaqt81gSkQxZptiupLceNHAG9IqIvdkLGXoscSpcjaBP_K1zd3od8kUMJAnb"; e_fb_vipaddr="AcKbUosvJ8uKhYCds8oiqJ7Lo8HoujR2h0BAOu6LeeHsqoN-j-qO0PkwWotG3yEIBbKvAjY"; e_fb_requesthandler="AcI-ppYkQqlhw4B3JfjZWoFXjfvF1oohcUbfx_bywY4M425Uvaa9O7VVD0WluxD41HHsY4bmqzM"; e_fb_builduser="AcKr1QiUmboTIvfzTuVj0ENbH-BrDPuRv8xbMEKBpM5Y53QVJ76Nv6bfgBvbboLSyfQ"; e_fb_binaryversion="AcKZLrqWTumxHeUdkWP-NiDPNC0yFZoDUOet9ppwLSMYIINQiD_bnq7VoLa2xzdXP7QwdEyU1DNfrccogI4zGoO1irRSIPTMRSM"; e_proxy="AcIAoQ3o0VComqb3xJxXMb-Q5wezBEgB7IDtEsSvOzsSYfnoEoGGfh93dtjztzrYKMlBGvrDxPwKXNg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7382442131850264?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7382442131850264?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7382442131850264?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 06:40:24: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/25/2024 06:40:24: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/25/2024 06:40:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7382442131850264"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6806480, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANQnyCQb1woqrpjsc5UwkK7', 'x-fb-trace-id': 'ErwBoqF8TNG', 'x-fb-rev': '1011640315', 'x-fb-debug': 'NufgRsi/lXuLLWd0+4lTJucz/uRRJkg0dBOk2+SDuStAkcLLAL/o1Nt3MFnJxKI0t1EiXPqHL+hiE/hm8mILyQ==', date: 'Sun, 25 Feb 2024 06:40:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI_5VsJ0Ez5aaS8B1uWq3l3IYKw7rh6ap_Pk2FRlxMiq4NktYliBoJ7wp9XJyH46MLgboLKDQDbN8dxcFhTKseR-9I8UT5p6v1KCFD6mrF3fcQyVQ"; e_fb_vipport="AcIMa9Bn9EU3Y-MnEuttppgogQU5hX8pK6tJo9hmvde_nDyZob6HKtVLf9Dv"; e_upip="AcKhy_CS3daWlYH3JPDb6p1XFPIU0IyloTwvVHCbpAroBnYSDFw3BUcrX1Zcr0ym7mtl3mmIcp9gcXpOg9mD1xfhlVMfYGAPSw"; e_fb_hostheader="AcL4JKirUpI__OzbnuN5HvXF8bn-mmYOdbMdiioTtI4lo-dx0B5A0UjQHd5nQFjT_bQ_uDKQhcf88Io0"; e_fb_vipaddr="AcKK_z9__6gaMFGxsDBtFjamDVq6oJED5ADMJhBbpnLVIvU8h12vZJe9oup4w6HUpmfcc3ytCnOlM36w4v5WZcIutlRA1zEgqA"; e_fb_requesthandler="AcL34lFWHkEqBrWomLBgTCmE6HGX3xa4WvNKbWsBWvncOXL8TtLXx3AbpJHWDZLFVeYtDqYLDjc"; e_fb_builduser="AcJKE-gRQ099V7SYZCZnL7GrKGDBGrKxPmbC4qA_3Jt8ajvgmnZi86218xjC1CjDADw"; e_fb_binaryversion="AcKgQmDMyCI_QYBCLsmev4Fr7DsUshSpdtGgL_UGt8lvRH2u26l3ESXZC1rR5QMw8xplpVrLDnA5X15UUODFojkiOH67tJPWLyM"; e_proxy="AcLDtkjJbsRl5ATmDUyVSSQDkzP7bmJ2nmrRF4I4NtI40Zq8VvEenD1B0GZPGzpyOVYl9w3HWiJr5TBpARh0", http_request_error; e_clientaddr="AcJKZioSeYBCYnwzSiRzU9iQDmWxHX85BCinXp26yA2Jmu6synJiKUJ0-_viYiVzUbs4O0pP3ZAOQRYD8A"; e_fb_vipport="AcLvovatO6rtiQFBunt5nIuCXemJqBrWONPpdgMbi__CMJySNpbpg0QxBx-d"; e_upip="AcL3un7FY9GEFTyJkY12BAgvjKkPi_i_u_c_JYFlY1biD3X9CQOYwufKSMy4Y1zWeF48Bm_qFlJezKN0Z0wlllpBMsGCmMFPXQ"; e_fb_hostheader="AcJfkl1FiBgZ-M7yJoK5zt-lyWqgh2iFfFVQvkSEgRWufrdF8ISZwmP-kPOrTsUyO2ZUyBdwBBKGwwR1"; e_fb_vipaddr="AcKORQzikYYx2cteiZS8-kiGhQc0u7rOBjKzDXpYGEGApooIi_0mrFeHJS75n5r04YI6R74"; e_fb_requesthandler="AcL9Qu0MS-4-aIJpP5oixX6OV6hKchYs9mEtrs_lJk1wQ75D5lxEczCjQSvfC3tyuZLaKHrlxLw"; e_fb_builduser="AcKtQg-Ow1IkpYiKHH07XhkTRgWiCHEn2HKGluVapUytKp-9K1LqPusMiIIZ0JjtyCU"; e_fb_binaryversion="AcLvD8qdOF-KR4LzZ-3ozO24I5sW4hTSojWSc6YELhyQkC8nsO4y1Y6M1SCDz7KVkCmYWE_PcZWmEM-VP4OxlKdebO1eiqhkE-8"; e_proxy="AcIUS2p_rDdCBQIALgiNdui4FY7ORFrrAYW5Katl4NpkeRnCOk6tstlLsNWToTl91KUtASIGzZhgckY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7382442131850264"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 06:40:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 06:40:26: Error on send one message facebookId => 7382442131850264 02/25/2024 06:40:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmRWBIJO5OG1oCwFF02ilZc" } } 02/25/2024 06:40:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/25/2024 06:40:28: Error on send one message facebookId => 7382442131850264 02/25/2024 06:40:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfjSpvlkhT0jKaLY74HqnIr" } } 02/25/2024 06:40:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7382442131850264"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6806563, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9E5-A8ATc8VD08xHF6vr5x', 'x-fb-trace-id': 'BwA4Y7/cxeQ', 'x-fb-rev': '1011640315', 'x-fb-debug': 'RUYJhVoEcOLOdPaL8vSNNdUlhPtoZ2XzfVtJWNN7ZRVuUBsfjNHswLS8V3uE+h42jJ756oWmogkx8CIlg9cLTw==', date: 'Sun, 25 Feb 2024 06:40:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ0LU4ShO60pbdocxwYBmUEsMHiK489PUhpDtSC8iWb-wV3TQjUd96_Jc0aSKZJoqEkrA_QHUjk-U7rWeqrnVIj89vZ-3gUoXmDCB6UuxG8EVTnPQ"; e_fb_vipport="AcJJgZ3JIsz2BtswU7wFcMBFGPRxPAUwzKbZomBcPxH207IEXcQRfTujKbdG"; e_upip="AcI5Q7TbvDs5AVWRisFA8DkPrN1-Rsm5Fikd6m1EMl6gAA-GXKCoyv3jL84Re75X-Ww0axhK2NmCR2y1kXJB7y-GDmfZwJWvn_A"; e_fb_hostheader="AcIgLJS6YMhOvgTNDnwEMLLjUEo1sZqwhTT2t08oytO7rxX40XS9VKmLzoMoTzmUZm_9qvYq3KboUzvU"; e_fb_vipaddr="AcJARawlsPdLosgt8A92AG_XVf99w7BNb8EdVY8IJAzK-xQCfPU6JrssUvlX0wkz3S9yQL5845P7Tc7DnhNehkKOCILejN6d9g"; e_fb_requesthandler="AcKVwwd5cFG7wFHgWWawYbX7pySQiSCpwhpeXunZxAcUkRQSjqlMNE9b3RCAH3UuUw8t1csdE9s"; e_fb_builduser="AcKxhAxgSLqp74R8GZKYPYMqHzi7lPJMro4YcU5ifzMejGccVk71tNr6iaYx3sZAyfo"; e_fb_binaryversion="AcLHM3jcW_A5RGu7usq7lITCz8CyAcvWw4-JDWJnlIDTeYd-t9Xg7x1esetQep6yc7EwwytsQf8lFTvuclyVOapUSDMBJ8M3JvU"; e_proxy="AcLV4r8w_7EMu8nXDYD_WLxU0XfxGCqrqfX1u1EM_dI1b6pvIfcRt3ZrZUFymVwmmCZ5je4Zyfo2IwA1YL01", http_request_error; e_clientaddr="AcJnlyg7K8t9vBXeTjppM2exEgv9WT0cwaUgcqHcun31arMs6uHD8xWWZxiyLhpzP6ReUL-ItUP6spAbDw"; e_fb_vipport="AcKmBW-DYDW1LIm9VFxdQ88HX0TU4F-M98MrvHTAlcco4aNEpxNSiBAkHBJk"; e_upip="AcK2UijlJ4HZRGyqcg64hImydMcFLFuIYGK3awNOFgLwBcCRra6smr3NXIuvxXL8CNZXrK9QMgSURcswiDsCiY__2rZtXj6nTw"; e_fb_hostheader="AcJmKMhUhlmUXlcPdpXdGyULOyzucvGZp5mQCMJgdZU2Mv9THObmujKB6OHUamYTWjQnf2aHfKXHkRwl"; e_fb_vipaddr="AcJawQjFu8OrU5bnHI0tvRgabWTLAp_dpdBKyfMtDorFuGPGvBT9QkPIrIJtyUeZef1xUNI"; e_fb_requesthandler="AcIG1SPqzMpbKzR1kRLxpi2y627g3lOSTbaV20FkOGow-JQOu8BWrsJgqYxH9AcfQNiL3726lxs"; e_fb_builduser="AcLWpxWtmGxBN_4sLq5k-0q6CeXmrtt1q8GXSn12axPGFFoS5QVLjrhHxFPmn1XiXRU"; e_fb_binaryversion="AcImUmW6UZieMCjzkTKdO10CW8WMBlTUo9qCpnviztmJBzCIjaR8QlRjs3qqFpYhA3f7hTnxHBEWSXEXoxt1VpnnLiCdEFoX7Y0"; e_proxy="AcIgHApk0gUDPJ7I1NQ_AFMWgmmnXICAer_tC7VzjYd_aUBbWjkNfdC6pBpTv-do_ABM46bJVt1v4wg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7382442131850264"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 06:40:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/25/2024 06:40:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/25/2024 06:40:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7382442131850264"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6806702, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYn4Hfj4pIIPGDpwdfHeDWe', 'x-fb-trace-id': 'E4OqdAIIlbH', 'x-fb-rev': '1011640315', 'x-fb-debug': 'UGRpf2T9AiB8lwqW9patfP+pA0AiZsGMJ42E71lxv30thSJatluUPgoLXYU2jK5o8TJxr0o4hiB0WW+AyjKxpg==', date: 'Sun, 25 Feb 2024 06:40:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJO2ntqzSsk9egHMmZMvtVQACex8uqDy3ToCCk6uR6vBiY7OVaaA7UxeR1i0mehI9MorBIGJAMo7enjOSc0g9jGzYH79sVQb682kENnEZfamAe6_Q"; e_fb_vipport="AcK5DTf4Fum-cLcTfVM7BDjO9t0ynq8ON8aWzUwAJDaZzNBbzEvWLE5Q1Yw6"; e_upip="AcIAgyXc4vdUBgX_395heHTgdD3kXX1T2omHvOvowzodzo1qrrRg8sONl6O-JYX2PbrjK-ASE4lL3MJH0t-4n5GUFjheMWHX"; e_fb_hostheader="AcLBmrjwoTQIEGZeGu2kmFMK1UsPu6nyVHi-1Yo_HA03vysQKi6XpdHxrn4_4ZP6rSfpgtQ2VuFi9t97"; e_fb_vipaddr="AcLRFW0XK-XTmg68VoRzXNvWZI9-XyyqNgdJJZbcwOTyfyx_dVTnr4TpiJXzj0qmDgiK4ZL4wuGqSb6s7-idJAh68aHkSaqeGQ"; e_fb_requesthandler="AcJbsvtib21uycDZw_bGkWMbXDmWbYgavlDW2BqZPMgAJE7QGXRhKnIX-Y1MBPiLY3AjOHhpiNU"; e_fb_builduser="AcKdJBf7CbYPcluvanIwdrEGJrktG184fS8t3R0UEkiTqAvY_TvaHAbIR97JVNNt2BU"; e_fb_binaryversion="AcKaV70AZ-DI3fKwfDkE1xEx9NdAaDTj6CqzorLqRlHjmXLVMfn_Mnyw3EQXE-sTZzRX4uv8xuOC1cPx7xHEZO0G7w7Zejb7ObU"; e_proxy="AcKQlGYnCvGNp1UEdfpGetZJORuF8sMWqyKiJwi1o8LU3T5YD_ftLgJE_HpFAtx9kyCpB_TFzd2q7Cx6O9Oh", http_request_error; e_clientaddr="AcJ8maHzuvvAfwjtYPjbT888XdThyH2qFR23Hhpw61T1tir1SS6lxPzpJpnFW1inKOKP-1-GKkTU4QNSMw"; e_fb_vipport="AcK5cKOmCXRYKohzOOO94F8fyO1tr2h5mQfdR7fFCJqssrt27-CH9kgBhrVN"; e_upip="AcLhYtIXUpypMnSpLcQ2CLrpOXkk0wJec4h9Y-e1W29o6gKWJ24V4s_0y4VPjMFlcFCRmwoBGFLbPjZJ1JAD0poH43S4RuQnjg"; e_fb_hostheader="AcKmJ4EpBXpBPxVVnVb43hf-gEjHBU8cyRbHQfUIci2LnA-Q1KmyAtZnUNY7pEOUwKqBnEMPJaGzDP4k"; e_fb_vipaddr="AcIBPgvdLAgdV3aMc0UzZEectC0sbBM72jh3lfEsUmAVkEWNeavdKhnxvh--ygV1BHRE1XQ"; e_fb_requesthandler="AcLB3yk9441kUEz4W8_vAvY2CObRDLCBxqDtemlEgfxGrHXLyhUcUTrS3gOuJsUIfTJ46ap7XCM"; e_fb_builduser="AcItrt6iGOGdHz10r3zImnp5pJLQ7LQRt8jTcFn1pa_3K8rzNLJNODK6uNz_hiFtAkE"; e_fb_binaryversion="AcJ1LD3SYIZKGb3AsTNKQpDKlCiIF2cvQfJbdIWrrbh58CohY7JWnAh-S9YjxpI-q9d702-Fj86zj4D-MJTPZURdHRffr38PrSc"; e_proxy="AcJoxH26HGs4K15uYO20TFLNgRPm1TRvk0HlblAmawV-iUEEi3rHD0DnfE5N8ueE-DtFadBaKaT3fPQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7382442131850264"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 06:41:50: Error on send one message facebookId => 7382442131850264 02/25/2024 06:41:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0qPNoeZ2ojeAT7cG6KpM_Q" } } 02/25/2024 06:41:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 06:41:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 06:41:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/25/2024 06:42:49: Error on send one message facebookId => 7382442131850264 02/25/2024 06:42:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUHzoXtfGheQSva0gs52xW_" } } 02/25/2024 06:42:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 06:42:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 06:42:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/25/2024 14:12:16: Error on send one message facebookId => 4898614026862081 02/25/2024 14:12:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AdPlJvCYJiRr7PXCgVANXGP" } } 02/25/2024 14:12:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 14:12:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 14:12:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/25/2024 22:09:05: Request bot not found: { id: '425997890871688' } 02/25/2024 23:38:17: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7453841677999165?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6979020, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7453841677999165?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7453841677999165?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7453841677999165?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7453841677999165?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_ZbWnftTkvyNe5IGzZChfh', 'x-fb-trace-id': 'FWZNVBIGInk', 'x-fb-rev': '1011644000', 'x-fb-debug': 'sH3yKVbwpyXOpTWTfAMSiagCxbWPcudYiIQPElfLM8ZkpGinP2tFD+XUSsChMhh2NFyBzvDWi42/KQGvEQpCpA==', date: 'Sun, 25 Feb 2024 23:38:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLIYlg-hx4jvbUkuosIPU_Nv2By94AYcx8_sa7xRSP6NxOzkwQjll5r5iKYx_0r77xMPAgtfWq9lnN0U9vtKp63RUNNWOrh6nbDj2GWuZhOf1u7"; e_fb_vipport="AcLlq0eRRKzGN2UWU-wiKoPODxVrowKbMxIApFZS2Ihn1VqC5_BHbDWRsC25"; e_upip="AcL20NCJvM-HgRk8x-IKD_8d5w8CofkrSVO_C6KBIa0RXHUJyQVTMcrKDJVtl-0Xx8zBTN0PeDWqXU_gnWx6VORtF8AVDe6zJ64"; e_fb_hostheader="AcLjHMXxeMWuQisVx9-JMcvteZ_60LGASF1il9bXC8-gCG8TeVNwnEGzUrhr8hKNqSbGMIOno57fa5tm"; e_fb_vipaddr="AcK1C9eIAj-vtCU1MAyoMi3JhZoKGt8ZbTtnkQ3MIzqTXR0RrXa8CZTLEt4orndI4HMomfIofllPKU4iSkupgOTHXGZPReE8sg"; e_fb_requesthandler="AcLby3OY4HHZJQvaJND2md_bnrQy96RgCaErxTXrAj5Fjt_d5WnaYuECc34td9WW3mfNnbi-bgk"; e_fb_builduser="AcK2n7BKrWe1G8v1H6vRwcUe50eSEAYx8OXMwmUcry4fJ9qrQ0Kgzndg5mbr9KEQluk"; e_fb_binaryversion="AcLuaWrAaggjmrKX6rRgfFTBdyevKn35RfKlJDUHDQyOi50f5e28oDrm1WWtnblkIV7rUu67nLDL_1ilCq-7WTo1ssaPL3sdDmE"; e_proxy="AcKT_5YNBLggZR10Y9c9jMMINWL1uEOI5vSNKB_6IwvzT0J7lTEw4YJeaD11YRbkr6oTvRrszEdUqSfmbfJm", http_request_error; e_clientaddr="AcKjljvCvhwZC-s7KqaNo5wJylfk7j2u6_3Ct1r7mNcER3E6O2Z1pcHiFh0SO8D7XyPyE2dRe4aYL0NidA"; e_fb_vipport="AcJrz1J_X1oRImF38EPbul5jcU2jMlbrjZxkdFw6SsoQVEpHFgh2kcs-h8Zv"; e_upip="AcKrFzqnAlWOL8yLNm6jmNY8Z2Y7H57w7N6Xzp8BaDGDa0tBvmnr7OcvqWaAuQ47dbU8lvkREdEuNCUjAmUPRjoIlpjl1bk0BQ"; e_fb_hostheader="AcIFP2au2PT893f8gbaIN0xvOxljW2ATyCqOdtfeLB-FM4ijtHA-_N-xs9WH3fGSHNybV6bjBLS7pV3O"; e_fb_vipaddr="AcKUNFZZoEfAWkrKTqsiOnxyGIU8KcygqJtBoJKFPEidh-mkg44iRxyjBt32QCwpXRt1cE_iSA"; e_fb_requesthandler="AcJIN6hOIYq0WhQYqHwFvC9d_nhOcyKhicRyMAmHdVIw-yuN3Z9TtG2Gp8NtOg1AhVQ1O9C1FRI"; e_fb_builduser="AcJA3xY0Uza1sLociGzIxdsSXSpvIB5rA_YfLfjUS9KrZsoUGA2hQg4dmwRDDyWc4H4"; e_fb_binaryversion="AcJkeuluJTWZldvVk3lppm-FLHnU50pN_f6D4NBVoyBlnjArGSns7xQ4Bqpq07xUBJ7arjdKXwOAdVCgcu5WZcX_tqhjwF_BOZM"; e_proxy="AcLkaNat0F1m4xAg9fOhwkX1FWT5T3SQyMbqEQS1Au1FnnjpBDbL9l_QpqyNGnPjb2duojqeW3awxV4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7453841677999165?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7453841677999165?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7453841677999165?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 23:38:17: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/25/2024 23:38:17: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/25/2024 23:38:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6979148, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASSI8xxdv66SnJ-V6pJxGI2', 'x-fb-trace-id': 'DitsixGnO7c', 'x-fb-rev': '1011644000', 'x-fb-debug': 'hrfymA10o6iQJkTvwKWfULPCX/bDpWTi0s2OD3rgTbI4b/M6cJSmvFMG/cC3eyvHTnlbcCGNNXEWbZI4RdauFw==', date: 'Sun, 25 Feb 2024 23:38:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJepVvyaFm9_Nofgtr9hQwVJpN5FaA2kIEoRku4Z4tHVTrdet18Wh48M0ulgvQdnMckf9MOG3p1cJJxxaDnnTfFANi1nzwp4C3kDjaMu5FVTbSqqA"; e_fb_vipport="AcIUUw4ltE1uRo_wKdTm_0c7EipyGTTOpVuuXSQRor_i2o_JVBiLfSIpPTlF"; e_upip="AcJkb8tY3n8sVy42CIhff_6oEqG2wj-G7zqaOjkS-QQUIxl-OuWuP1UH7Zs5xSpXkpwbOiOQU2eRDIMLjPv3Y2FcjFTH07Tj5A"; e_fb_hostheader="AcJAEHtwb5uKiOeLSPnUUBFBO3wQ9tqt9g6gK9nZzToQBzbm4NB5llXydbQu0EBSGxxcJWTO5jdBWX48"; e_fb_vipaddr="AcJ5596L0tcN0I9wTLnQsyZOLNewv8VnoL6BGEnolW-8eb-qZIKXT_N9CKU3s5WbAd3eT3rD8WF2EWuVXb0w5aLJuS8AKPvl0A"; e_fb_requesthandler="AcKht6WuhwnlsExewCkcZV70W_-y8kzXSHpo4GQrv_SHn_jDnCN72AuTwqyi6hPq26lb_2I-ivM"; e_fb_builduser="AcJ-GixHH5lMhDr6pRmhR9yA_0hRWPfyrujpjisI4BsIoLodGjx59CtL1moK8zy1QMU"; e_fb_binaryversion="AcKUzFgcjwRM5g1d8f8dIJ2r8cCZEZt6GsE5dSSsufaXbft5IecuwETdmRFGvsf_qsmbEJUjvuc60sb6U3Itf-77w3uk7_dlkrM"; e_proxy="AcIvGOFgpXt0HNSZjhxbgQ-K6shYUkmGLRDhu_O_0MQxZ2JGjuDqbSo63n7CHnvUp7xdUaHRqUfs-QNHKM0i", http_request_error; e_clientaddr="AcK0tqZUJ6Kq4suwdB47TCnWwNztP5rGixrZbuozYB2aaF12bf3IpNb6rfKTknfSi8iI2rTj81quuxMk_A"; e_fb_vipport="AcKQi2wNGo4kNXXEvr7toR9PHyu5IIJG-pBjOskD42LBLYa77g83ZJMEIYMR"; e_upip="AcKzL6hD6GhxqYTYdfv8JDvlBCsPhqTmC4FzkPMBb7c9u777ErTswaaWEeUu88vcQm_izfDmYI-1Sz4bQRDT5_-1XKEzI3saUw"; e_fb_hostheader="AcIUtlSEb8jrTZQiqTa_oUkNeml_MAUcmon0wI1RjvGrVfGTmTp8v8QWtsfMyULkLMaPYytYUiJjc5St"; e_fb_vipaddr="AcKRS6NcBuJIa4PW2Y_7gYEkTh-tC8_VAtvjoI_cCJnWhg_XYO3R9RSeEYeI-fXW1flQT52Wew"; e_fb_requesthandler="AcJPSrZZl8dYS7FbNelXwvE_3MTaA1srecw7g8Yk9zkZRPtaEsBXkE324_Ph-v7AMdMR053lV3I"; e_fb_builduser="AcJe8DzN8Fob4oJ_WWKJpnqCbFr5vFqg3IXnhV411IkwH95KaxDWQO7c9uCj-qmD53I"; e_fb_binaryversion="AcK8vg0s7rdddzuASeV76hTIcI-r76xHS7F3O-9Tmn5hp0coZb_3yqeZfJyuuzjA1hCxv_1q06nq7zfJCQMuyK1FG5HpH98_cSQ"; e_proxy="AcI90e3SzxZCiknrR8gBG_mjUKX96vDkQ0nZxVI1mqszypnCfYcjYGyHrO_b9b3MXVRD8apRyUMre2U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 23:38:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 23:38:20: Error on send one message facebookId => 7453841677999165 02/25/2024 23:38:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AM_WZJahf_0VEr2LbalCSDe" } } 02/25/2024 23:38:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/25/2024 23:38:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6979231, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoLzBSwC-BKOm4SW51phb76', 'x-fb-trace-id': 'DpuoJTLViq9', 'x-fb-rev': '1011644000', 'x-fb-debug': 'ml6cWMTGwCwdgSgEF0XXRA6qIVjfFaZyEiac0PcQoEytrtR9yaEqMNPX7DYufS4FOWi9nASJ9hLFwY1HtsZrHQ==', date: 'Sun, 25 Feb 2024 23:38:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLjVSCErVC9FVTGN3WfS2Ste4zAASn_L1x8VNktHdOeK13SaXtLWLgsMhrjAZU7G8NlmMUqCFMYyhPWfFtzjv44d_ICt70m3NaAKFOZ9mZL9lE5"; e_fb_vipport="AcKBp4xobwGBchqJXCodgTa8UBvFCaNVbwDIroQE6r3xRgpYVtEd1MGdZb8M"; e_upip="AcLLSU7H5cE0yKZpYpihkJc1yGqALTZiA8h2pWvfpr6oEWs9qa6haLckYX51Y5L7gG_ddnH_BFCLwgg8ZfeyHFesGXshnIk0Dw"; e_fb_hostheader="AcJTSm1hSIxHR4ql8myGG4zFK7_r3w2p1KXYwJ5wXdvc1RT_TzUZ6WsfLxxyZ-mPm6k6vVI-TyeA21yD"; e_fb_vipaddr="AcIfrira5HrkUIPtu212XZPwNarPCK3-Fy-MwDHhk5cdybUzcWpwPdZrymHt2HemmXNn2RoD0KvTRuc8Jg6x0FmglGU74kdxGg"; e_fb_requesthandler="AcJEOgp7VIRwciSgRe6PNfvo9rUdLRoaYW9vMa7M5w-lKqBmTPbKV90zbthbpmxo-m5s6GL0er4"; e_fb_builduser="AcJLuCbhPR6PbPj59GpByVQ81dQGkmhWIRpMHagFbQn2B0KW41sZthnMa7lXFLsdmTY"; e_fb_binaryversion="AcK9RGEn_nG7siniS6ZkT3OP6yupbaafhy9Z3oBNUar-2d_QzkxHWOBbNbc6dwYIed3NOhHLxGVPuxe2hGsL4-MDR3KlTNXYcZ0"; e_proxy="AcJmbXAV8r8TEvepPCTugfnwLjRkgatxwQ00X9MJo6J-2Wjv7LC9zANIWqrc_zH09xAMBPSCzZ662nSCXH9s", http_request_error; e_clientaddr="AcKy5L0TX82jHN4uyWZ9_b6CSGQ2QOPJnAelC7JgtfS5ezxJqvveDyWbhx09Wj8YViRuYup5YCh3hs51cQ"; e_fb_vipport="AcKhjEGKthgWmtEW1tMOSmbWr-ydNFNkVjRgMUTe4Vn3IUVBOE8CMndp5e_9"; e_upip="AcISrqAHFv9kKlnAhUM2c5wXHRh_KKxJvtCTiq4PkR0eQYx0EIuy9K_aZxJkGZZPudSP-SH5nzJuQLvXtFEnVcTMUt5j3FqVVA"; e_fb_hostheader="AcJ5QDkee2WyuHsR6vtuIDtKga_FLGtSWje6u8RPjsdU5GaMLZ9IC9te4tP_Cx_VBJWK9vpq9K1W4V5C"; e_fb_vipaddr="AcJO-ptB5pSSDNzZ_CPnSVFo3oDb6-g_v7Egk6aNfaPaUlGxr_Xu2CapEB-UwNZ-V1prZbA"; e_fb_requesthandler="AcJyvC8MoWENaNn8N4NwomhqOBorNU9IAQCYMjOOcLFkht1_S2ujPuJJy_aQ3Wc5jzCYuQDrX-Y"; e_fb_builduser="AcL-SfBo1rAwtmEM1UC9jv0AC0_0Y9Imvdvxf_p4eI7RYTC3_SE_cj2tjY_PYRlRDGo"; e_fb_binaryversion="AcIl3VsXjk_zaYspDOG5nZFk3VljJ7AwPOU5VFHQun8zQrM4YvwzyIwvFyj6WNrhKpYs_okk8LZzoaakRF_A8IhRj7SgLYgF_SE"; e_proxy="AcJ6nXuNwOfMK_p0NGA_IvQhD7Hmq5dKwNzDxeYFcOope92ai368qU6ZdQp9G4KHE1DxV64OTIavxuY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 23:38:22: Error on send one message facebookId => 7453841677999165 02/25/2024 23:38:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AY6VKVt7iFEoNtRUA3h3vlP" } } 02/25/2024 23:38:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/25/2024 23:38:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/25/2024 23:38:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6979370, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATDjynVK8HU87fHB4EeQBF0', 'x-fb-trace-id': 'FIzniiKk6by', 'x-fb-rev': '1011644000', 'x-fb-debug': 'q1a6QiK1yvWp/4/AQOi3aVfTauFrvKI5gnKdFcKpFjm6FQ5Pz+MMZ6i63y6w3f9YVexgQ7cJp0cKq+vgqAUB5A==', date: 'Sun, 25 Feb 2024 23:38:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLbCtiFcSVPmB1j3EZn2R7J3MNLzoJXgoJkU_M_yUgslpDkBJd7_vImbrLcV4G64nOIutRgS0HJI31992Bt9jlcYXb9xs0QzOwqo60lEb3NJIdFEA"; e_fb_vipport="AcLdDJ55S_9jPawVQNruxl-hHgZ2rW0iURIgfSmyJLqzXgAYgo7E_baKBUir"; e_upip="AcKSvV0Lcom_zZrEPAom3dC3TcW4swFbcELOxhfXB3KV4BOzBqkGpoDyuG0xPja45-PDehYWEHf5DVgVp-PQxl8Uo85goLFqXuI"; e_fb_hostheader="AcK51EGKwZWzBnpQdeHznJSlvfx9rovIo0DwqSJygSnCFoaTOJWjv4T-LYVZ-hE_ksjregvc4fifPawD"; e_fb_vipaddr="AcL4prhcI3PQOu0WSKNQ5pOqcWejvU1dnzoqBE69gaZI7u0aR-RhGFc_P1n-9bCdVl8hGuDMqRGFbbRxP8XdbMX-mEgYGToukA"; e_fb_requesthandler="AcLORWD7ZESeD6-Mb5XaS36DNNFcMQK7y-RDhJqXkP0BYCiKPngFrj78W2LbDDB4OGm9-Y1t1f0"; e_fb_builduser="AcKORFH6QfyBN5sDDoJMb9hiwXO5x57_s-fQcfm29iZfBYKhYKTqJmLAtQDOTH3tuWI"; e_fb_binaryversion="AcL3cNiWNBax4lseDzkr-33y2VLHouqo8mv_jMzyWtK4bQeyDVxL-OAGAZZbEuEPlz2N9lcSZQOFESPTzakj1PaSQom_xmEH0Hw"; e_proxy="AcIVQy_bA22uUjtNKzLnO-KVoTQKPZxJSxshXGCGzccIZjA6zR-xlucemgePmDumLBqlVdLID_jOTnGopcgU", http_request_error; e_clientaddr="AcJJvdqGsnYOy_5s6Hx5JhXJqPzE1lWQB1SwdFS11Uga-fnWfDUro3nvioW6pO4xdosI86X4EfdPDM8Yvw"; e_fb_vipport="AcJEu37UKpTaAGuesnRZEdyaqb3L9hKH-whUjvp9NoM5w2IvYdN6P7XpaBEq"; e_upip="AcJDmPMd8jKlnG27RbCI9EcGUhg5qEYxIy_aS1aPNMR0Q7B8ZurxK1833-2hJRzi7d8o9Xg62SmdSmV4jbw_HC39dyh5-wg4Ig"; e_fb_hostheader="AcKiMvV7UBMsVIJiiEfVqcGJNEf2JjNshKuroLpdA5IuRojjnjMhowbaUWDo-3LiA-2A2zYBMRQtnjyx"; e_fb_vipaddr="AcKJ7R-2mGeejXBk1YzduNXm7Ov1Pu49Y6ro0gbiqJDxy6TcboB9zNQMzPPX0Rb_MAbManA"; e_fb_requesthandler="AcK9gX6XMAEYHSrKt1W-oH40LmcbbxC54J5fOhPqkMv0sjzj01SkjZC6Yp1K7TyDIj54dzCyP_Q"; e_fb_builduser="AcKr6dHu8nqiicT-SH3sVIz3Pg1EEhmiTKpwGVCCTrKZRTFt5R1JWJArwXqahXAIVp4"; e_fb_binaryversion="AcL1CHbizRbeek-G7jvZ6c4qErr7mqKdQyfLPb9f91eJj1imYUYFEbCcqrdBgHBhqKK7NEPEofo_hrBTQMA5eW_70bxtb9ZtRlc"; e_proxy="AcLiImFmlPDYkLG_IhxUVh-9PsgmHAfnXBPawRLxwwhvF34jOfBtNlNqQzT0hs_i56r8WZ3c77-5-lo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 23:38:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 23:38:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6979618, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AouZOCPrBm_O4mM6UHwSoUQ', 'x-fb-trace-id': 'Cj+RH6NiDgo', 'x-fb-rev': '1011644000', 'x-fb-debug': 'GB2bu5sQoJmbB4PubqZKIBL7ATsL+q50HqVFUt0/uZE47m8H0CWHhxVMQ1Xs4VOEuExykJeE/+3andGKTfyEkA==', date: 'Sun, 25 Feb 2024 23:38:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKXLQmAGcgw36rAgQ9IE2cJnJCi-Y_LRxpe8wrt72t1sN52b531QfrkqTiCf1JpT2zFhx5U6zJQQg2NG8ysN9Dg3kZm_Fg__-UjKeTXKT2w3aQ2Lg"; e_fb_vipport="AcLv9oPAHf-5nju1e9zJ-qbz8thJjtCFQrmluZSxurt4-b-_S2HV114r9rmY"; e_upip="AcI-uHFZkSyI5L9tZe3LgMIb82e-u_1OYvVtzLBJcmMbQmAlHGVMbPYYxKutyxp1dEAO1q37dYGTpdaRaaU6nvjaHfa7pPPNajk"; e_fb_hostheader="AcJnBVpg5HpSkH2RtW7w_XchuuYzkYKI2PZnSHbWoBzKmMks3O_LjGHOGBMs5OSbULjym6pFBDbvtvJ9"; e_fb_vipaddr="AcISzSyUKY-rfFe9bVmE1JNJd2-ul1e1B0_RYHpWK7gFwAlSe85bIp3AEGJzwKEHdqOnPusCfs0hGPdKISLwRt-6_1NxVqeJ2A"; e_fb_requesthandler="AcLA4VEXOygCpdyR8NSB8OERgNgf61ADtyM837OpqGiyOiQVlUaaRbwTpV_rINAMeRFJs84jUjg"; e_fb_builduser="AcKgWIYR_uak0qD8n4-xSDSSgUhNwB8nYAsDXFW616JSY4GPf_mxPUbuN1OkEtZ8LCY"; e_fb_binaryversion="AcJbp9lJvvtWwElfVTfZFc_NVfHwI1IuGv5skwu24tPRD4bKwly4lX6jb1l_SC5YQcHgA22sWwM3jaaTRw6N0JHRrdwhOac7aIE"; e_proxy="AcJzqIo3swaKGBWkBnTQ_sOP3HzMVco_wRxE5rNEbDXsSG7W-mjTiKS2VpmXH_9Jk8I99-m7_YNxxp78-6sL", http_request_error; e_clientaddr="AcJnwunz_cJ_4vPTCGxi7qYDc18XHL9fsQqUlujQkkzd7MEO4ZFuPcYLrHt2v5jbX9vkmD-8SkUhfeU8ug"; e_fb_vipport="AcKJWS2RDx1YEZo5wrYE08hUnSa6VCGliAjRPmPy1zZ3zC4jz0sp1KmONVDT"; e_upip="AcLGikHyXAf7a0P9vT5KF4Q-I9xv45iAdnEw9NYvUb1Sq81Waa2tdG7w4Jl6xvtdC1MvoAzBSwUv6g6BG5meTJfUTze69hcEHg"; e_fb_hostheader="AcI7KAIqyjkjfh6CiXJEgL9JbcykH1VMLPKVsJTE02clFv40eXdtzCKg_YmmTfSettpqIgwMZeM8XXom"; e_fb_vipaddr="AcIOpRplG2aclXr0q2Ln6ctzKRsMVgNhlWDoxBsWsFMwPU1xieDNbtpfv2XoFkQtUk41fQA"; e_fb_requesthandler="AcKBYRkkjVVsX0DPkcV-fvYVf99Hs4i2w37wXiuETHHUyyEd0b431kDPmNi-EkxSloUqCn-tthw"; e_fb_builduser="AcJR7UboUhNnPvAfRFnld02k9dHcyW6PjO1UqoR9jKmiTvU7pXbk19wRkeXL1MHgMsI"; e_fb_binaryversion="AcLghRYiA_YhhjURobXj6nnObM7lxdp4P1T_UOGK9L00GVkhJWJv1zbB7Tx0IFylMr-szOdkhnCvbKk8rRmrh--A0wiQ63aw67o"; e_proxy="AcJ377rGUK2FSlh4zx8FGdQa09vtYnEDknkBDXVemNgvw67ckLv8Zwq5elDRA82QrrCRo8xIn42ReLQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/25/2024 23:38:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/25/2024 23:38:53: Error on send one message facebookId => 7453841677999165 02/25/2024 23:38:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1E_Ch7Ku_a0hhdW9Pdz7FP" } } 02/25/2024 23:38:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/25/2024 23:38:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6979751, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoMsGnjSPx1I9UmMYVsNIHS', 'x-fb-trace-id': 'H3SoaN+5Z9V', 'x-fb-rev': '1011644000', 'x-fb-debug': 'lEgvzuR8LsViPxvRTdHCXQqAaqGw/39Aplp1Z+vIyzPvY+CtrsOUwpFOBnnZcowJtrUJW629uw4KCcyZF4B7TA==', date: 'Sun, 25 Feb 2024 23:38:58 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJImhL5i4AEBr5nDSo904u_b-sFADmiilwpkDZz5mKXmH8fo8QC0P-jRaj9_PpN2hI0uOmaCcTGBJ6rK_MKz-J5S8Wte_sLppO0qHu07ERcev_VPw"; e_fb_vipport="AcLxqhmqoWN7ofFDLQE50GVy2OZ8KJuos2vYMZ2Jwy-V8AOap-GoBulnuY89"; e_upip="AcIgWfKLBo_MtdSkr_LneyfCAhnpAz_jSrLLBa27fo2zGMQrlGR4_FkZ8sc2VUQzkFMOunJ06iYFGGb2EgfAbsFkWUaZXyJVyQ"; e_fb_hostheader="AcL7N3V13GCdmPtjbLmbUHWVucUin4pSFqlg2M11CCN5Hf2d393a1o-4yxe7LWx0BwLIrvBHdcO-O-tL"; e_fb_vipaddr="AcLYnho0ObK6kvXce34EjLFy__xA1evWWwUEfoZBcopNXcjQt9G6PBsduOr0djKwkzZx9fMDQ8oSJmPGsLx1bi7DDG9pxcNNew"; e_fb_requesthandler="AcL3Sw-6ACJ-fXTQ2ARpxQPOGDazcFA5bFTNX4fN32Iy8BrqbWuRrF8WMA_oB4lJ4CX8ruWAjj8"; e_fb_builduser="AcLUA_3UJzgHHw_rT4mmk3gIAiR_rozl8NihjVbwToE8kU4gVmlwLE9fZnx7WwVA4Q0"; e_fb_binaryversion="AcKSu7eEKZB9A6Bpape9r6cWZKZi-gKM_pyeGfgS19se_gPj4E3m8oOmOY7YLVsawCtGP3ZVpmD9cPRMEUVaq-dpA_K1H56_4jA"; e_proxy="AcKhQhL0lTWLREYKX555nfYDeDkl1E0w-NMVFjiwEGICqwglvgyxLeiqzIOdYrGHNS5f2-kn0LWrTWmSKeMR", http_request_error; e_clientaddr="AcKUTUA_wdnX2TQ0KoQreawKlr81eFaUZb7ejZzhetbW9x7EMArz_-t4lJJcTWJeENZEixvKaSp76834kQ"; e_fb_vipport="AcLHhr_R5LWV9yNsxxmm2pCPWWOxJybrBmh-Fvt9vc8-JBsmwbKxcLTcYhTX"; e_upip="AcIFZfkKJrzhfKX1XDhT1DCk-lVNm9wVfdS5C_cUX4UXLyaSEUf8lvz6MgLmevPaaNLRPX_k227OR0XvpSioHywmwgsbt_HXUw"; e_fb_hostheader="AcJW-vA-zQg2FhL78ddeEaZDcuk8FjkpBktNiF8vJYGzfkQ5GR6SJJB_3AMgQPt4JYd-8a16EzHyjKZl"; e_fb_vipaddr="AcJKa21hqitcE548cLKgM3cdkeKjtTtytEowk3YuS6m3lp1lCNJYttLlapXuCgGSVyn0EJQ"; e_fb_requesthandler="AcIjZVxoVm9sdNwytQ4R3eAeOnVnyuPgAUT2_Vlcy7ElRL5i-FSgN201uP7K7NbQ35jfoAK3dmU"; e_fb_builduser="AcLSTUocsefD69FHcoCF5UXPvaOWf51mnTCBDAx8YlSwjB9BgPs_eK29nY4Io_-ARlA"; e_fb_binaryversion="AcI8neyCwNMCD3X67X54sYv8ma4ePRQpd8WExsXps95fDEV3pjnt5XZ045DsX6M4uWW_Uan6WYEyorPR8Jfg4UagWndjmsO0PFU"; e_proxy="AcLASK365ZFLYzK-EcSOUZFQhybRVI_o3yONis2pmxuJNO62-6UW-5gg6172IXCmR00YssAwI4bBSeI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/26/2024 15:01:46: Error on send one message facebookId => 6099093436855323 02/26/2024 15:01:46: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADbt44Ajf8p2wsFL8YcrOs4" } } 02/26/2024 15:01:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 15:14:25: Error on send one message facebookId => 6099093436855323 02/26/2024 15:14:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYBFfLjspvCV8qrHjxW1ASa" } } 02/26/2024 15:14:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 15:14:37: Error on send one message facebookId => 6099093436855323 02/26/2024 15:14:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AN2VYtoAsOB_KS1g3t12Iuv" } } 02/26/2024 15:14:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 15:16:50: Error on send one message facebookId => 4898614026862081 02/26/2024 15:16:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZ53A8DUqf-rue-ISoKkYe9" } } 02/26/2024 15:16:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 15:16:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 15:16:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 15:18:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6099093436855323"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7138129, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APpEoWuccADDBIzYzYI6r1N', 'x-fb-trace-id': 'A2II0jsSJ6i', 'x-fb-rev': '1011648640', 'x-fb-debug': 'xifpPv4ly+uGVqVoVe7EYm1opxfFR66xbubjXhotec7CLMiF4Wi9SbUZZ1ZXr2jxhL689buLkc7hZHCEJ9JApg==', date: 'Mon, 26 Feb 2024 15:18:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIbjnXUBCCe7YTv4vq_mFsTvnYz46DIzpf1Aafq3x8wvfZXBI8e3p8-279Ss8lWJ311FpMypmIcvUrMfb17TBsivfr16cXEPrn03AslZo6sY_eLPQ"; e_fb_vipport="AcJPRtIlUPd4XVeofc5BepLthqaireruSXjZHmS9OEqzPDa_MGLqwIZ7gKcf"; e_upip="AcLyCNeMkuK2TSQKZImh9_e4MVvX5atNiSXfuSn8as_1N_Fd3rrnRnj8GDqHs0-2xdJk2oGTx-hXLqpL5_ZLjF0K5YUIK5PmBSQ"; e_fb_hostheader="AcKOQGTsXpjSWf8JdwNo1M41magM4y1wC-KU4x_kkUtYAclMMqhpsCwm2N84OIpNdaXjKGthWW-aepsO"; e_fb_vipaddr="AcIY4VxBiWaXD2UMJJPdQ_XCSDfTgjQSpC_xOYGXgkdRKiZOnKERT50_Bz9tTOjT0ChlxS3eKSlC_2xCLRWAAJftXZBDpjC0Og"; e_fb_requesthandler="AcL4hnOclOuRzym_Nn2EiSeSSOs40qeSxz5Z_UdGvv5CB9jx4XYUXYyfYPDBUeNUBssVZEp7U6g"; e_fb_builduser="AcKIYN_VKtQ4JrdIxFmqN0Qj2U-8A0XyFT15KXWprMKoQ1LiEotu8p2DPsZO3OERFDg"; e_fb_binaryversion="AcLSI3cHC0agRVHrpKljh-TF8yrZBUypOJRRoD4FZeMBn5yCib6pn2ERLzO98PN8omV61Z9mCKR8CCrk1yCu2kekWuNWhAQgkjU"; e_proxy="AcJlYxCw94UZL02j4xs1lP1ouXP9dcWwjoTJ2zoPeyv-V-WxiRKqJt01qfdvXQOqAtujkb80qAt8n8zqKGJs", http_request_error; e_clientaddr="AcK7n6cDwbiWHMT_lkr003RivoCw9i-NT-DKRH98-OoHfHBPYTkyqyU_2V5DZeBj2xrJS27luHIiqSpPfg"; e_fb_vipport="AcILqns-CfR--LszzfZw4YCDuyI7M08wPguLwY-kB56061yhe1JvZCMydDiK"; e_upip="AcIOJGweSY4nsiyGbIVorDMB5cDZ6yJ7Jn9Fj6BFXL08OSpq9gu5EGPYiR53ZFqryNJRVyvPkgc-ysDyM3T4vgr5W-8IIour-A"; e_fb_hostheader="AcJ4yp9p2j-e1EAtVveICrSuh0rmkM37uEkKMsAxxfWDLR0S2j4TCYUFSYIw2cPWnbN9Y2LQ_HciApRx"; e_fb_vipaddr="AcI53a4yttpOKDy5xVSn_M3vWF58gaeWOUBoi3b3dacsDdZHAIrWB2ddf1kCPpVjMbFvfew"; e_fb_requesthandler="AcK0HS14K3t-dfbKQNYzhMi2hh2lESancjhSuXl5NB8hu8gEqRGrAaNsrjAGJeAkiA18IGMAo_E"; e_fb_builduser="AcIgB_rZFdfrLbzbI_VLiyjuRerSM_OUsF2PAgvjHMjUAlARWN1fgRNz8ad0PKuPyAM"; e_fb_binaryversion="AcKwLUbq1JPTk7EwkgTxM2mzJjKIprfcQxrlap1H-mqhF_QYVraESYrrakl6SnIpaA5rGyVQaiQIgd7ecSlJUmCvQEPkPaRJAnI"; e_proxy="AcI1vqgfxabw8g1paadsyemStU1zSMIuD6a3ig30WUnXCiW6usBRv6-ADAQ1J0LvPzUxeNu18010_BE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6099093436855323"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/26/2024 15:18:34: Error on send one message facebookId => 6099093436855323 02/26/2024 15:18:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AQFkirs3bYPo_AggCoKc2dt" } } 02/26/2024 15:18:36: Error on send one message facebookId => 6099093436855323 02/26/2024 15:18:36: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AhTf-G10eLd6DPYkKjx-PVS" } } 02/26/2024 15:18:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 15:18:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6099093436855323"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7138379, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMaxJfPlHktpF0CL5yqMrSQ', 'x-fb-trace-id': 'DalQGwlpXHj', 'x-fb-rev': '1011648640', 'x-fb-debug': 'pGtpGwVkHKG8b2LUEOKJdSsfP5wsywC1/+eygJHHrggTAs8jTo5is/gKlAz+eqD+NC67ZHOvjBicIMc/kL/BpA==', date: 'Mon, 26 Feb 2024 15:18:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIpHGj35vFzsF5a29KAcyZuEHmhfmp3VqH1lgwm9kXg3rakcbfJy7uJ8OFjp6zUlUCGo3_4A16flk6Ti1boqbo0dpjbGFycO3ttAzRZ6HIlLLDIqg"; e_fb_vipport="AcKnvB3v44s2HDYVdGgU0tREebqikxSCJGFXlZuyPnBP5xjjCzKUUEATANhE"; e_upip="AcLndhwGexhKgbaLagmtXkvn453PFZGeOr3kfmU9G99c9TFYFzLxvAeGX5Qw_A6nA79oGKf3HzvjfCmr6rApUc88i_QdCyFm4iI"; e_fb_hostheader="AcIP5S6JbXe-WBLpicmWd7IYhHDzuqPUAjy10OIzDEBoHgAZs6kGOYJpJVzgKykO4JTh9PsX8xBQt1jl"; e_fb_vipaddr="AcKQ2ajpCLyb3n7P_wRlyE8rnuf2LeIok1-9Gl_dTBlGKrkn7nHMBjFWB8BQy-pTdDVqRpY4h4LDgNj62hX-WJUYeNzVwzciRQ"; e_fb_requesthandler="AcLdv6-qe_X3DPhV-UQHZGiFjYQaFmDMscLoBXrKJyvRl6aC4xFImIxhJB6pDXVE8Ht7xuX7FHQ"; e_fb_builduser="AcLiVgCnQ22PzbqRkaoWkgDxU9EQFyYYTJit-r6f_QEjI71QiRe316zDUBG9Y_EZwt0"; e_fb_binaryversion="AcJYeI0wFi0rxUxF-0CfzdM655mhen2aWNobX3WrDD4DUI_llokHxIxWQJAdd3rENcEewV3KFuOHNMujNpRsp6t5fWRSdzrxuw4"; e_proxy="AcL9Hhx3nxqXXBPkNyJtoLlJct1DzdAFDbCs7b1ASyHRK01dedzpnlinqWIsPZT_VR09CarAQh8PMjkCJfC3", http_request_error; e_clientaddr="AcKZcnJ62RwfUbWkItm9qXZgt4v5J-PTalTP-40cmWSPTfeUVhu6n1miSxrKi-GPU58dwYxbDRJSKme-4Q"; e_fb_vipport="AcLLIa0h1nvZ8vItY1fHcfBIXsWK3fN3qwRHcrOrH6T-x8oEcW2HENbX9dnJ"; e_upip="AcIuadVFgbb7Q5_JWiJfkGre_3HBQRr02aeB4G17RaPm6mjLHAlBDX1zOod77YvoT91Ade9gENf21ZRZz5vZBSVU16I6bCh_Vg"; e_fb_hostheader="AcI-g7ZUtI77sAs2AhFlH2DIe72qPhAFSTaBlrSalxHtAXWMN6EdDWrU66cc9VaWY_VW1VmUmdXLyt1g"; e_fb_vipaddr="AcJ99gHa9Z8yPtivReU1YFeLVuq6jwt7bpVdG7pCRhWtbKZzZc-lxN65xGKMC2hVOH6I6kM"; e_fb_requesthandler="AcJQw5QVcGVglhASuz4U7IaSwMbc4XphlG7HO_znxOBQgQhIEoaxknKJUR2Q2MIQMfCe_ozfIfI"; e_fb_builduser="AcIBjLqg4My9n0ceqoOpCFyfodU9k4XUXU6qKuCgHBCI70sjIm-PWpfPCoHEct1VJNQ"; e_fb_binaryversion="AcKxfFXIrfJNQ6AQYZo5DPC_Gn6BYmhGFltuGZvQqEvSchDnMFoP2BZ7y2UFZDxMLHxJNh_RwWhsb7syeUWF3gm8_0Vt-VflPJo"; e_proxy="AcKEHC6N1cAEISBaT6pc3DS5lHNvxMI-YI04oM10iweuTq3r3Y7xbKbdFnxwcPbr15kNQ8kXXVCXePg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6099093436855323"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/26/2024 15:24:31: Error on send one message facebookId => 7471334539592672 02/26/2024 15:24:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6TP4FFf6VUlAu9cnzfRUhE" } } 02/26/2024 15:24:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 15:24:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 15:24:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 17:34:18: Error on send one message facebookId => 7382442131850264 02/26/2024 17:34:18: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ac_dxgf_9j2-EeNBhpTpVbc" } } 02/26/2024 17:34:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 17:34:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 17:34:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 17:40:31: Error on send one message facebookId => 7536497036409116 02/26/2024 17:40:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AY5PBs8sw2e_ldVoZcLuqWb" } } 02/26/2024 17:40:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 17:40:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 17:40:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 18:03:44: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5623339997756058?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7166733, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5623339997756058?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5623339997756058?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5623339997756058?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5623339997756058?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_OUPs0G1bWBZGZInwtXV1E', 'x-fb-trace-id': 'CCzJusRG+/h', 'x-fb-rev': '1011648640', 'x-fb-debug': '28VDPAeKklweWzg3y+ilFyj76i8mKAe5JaxJEYmfR4soWA/YF1s7GgGqN6phABhsRyeLEqC9acoV6feNT1G82g==', date: 'Mon, 26 Feb 2024 18:03:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJE3V33mEc8ciblnP84Xdganc9KebnbNyI1Eb45S53dtanYOL_JWDpEPtjAL2DVj08kEnGUDV-70NLTbtLDlbS8TXTbFnp8A5krJy16CmsJbt8zGw"; e_fb_vipport="AcJhh1uv17YOYZIShxmtyWIkS1QRP-e6lJlxhGNBYnvM6Gj96ub3OmhC1j6t"; e_upip="AcLy2YEZ-quKvSyws0VsAQ4T2ednkqR40WRUnSHM17GM9xbTBPECLEWX_P9gjMGNpRKsGV9QLcrv1IWL0pEtpsie6oKUxWNzLg"; e_fb_hostheader="AcK-fw7YdgmF3KCahPNp3PRy0IQd8TdaccIl0HiEr5hWGiTtecPKNBValcubo4ukCvFP8Rm0CtLxsZmw"; e_fb_vipaddr="AcKYw5W9qXVo0TqojC5s55KESEnTY3i-KzRXgG8tCCVQt0EF6XDh2BTQ0SgO7PVKr-Z6A25JIp3veha6mY6STRnCKPUrXvwG3Q"; e_fb_requesthandler="AcJnWyU9JogdFuvqoyK0Am7TAxnmWTxpSXIsOMt7T2kefWMzROV4on2XN--kw6hkiu3JltdE3eQ"; e_fb_builduser="AcJNaZVBWoVgXhzvAFsv_TLRqouBdWDJ4Yg3eUkF81HMClspXMlqYHUJgh3s6u3I4NQ"; e_fb_binaryversion="AcJHp0KExb5W4lKbnhh0lo_dXwC_KPYZ6ZX-DqmZ9xGQlNQv4PQkbnsonm_S5o0WWkdYsl8QSgYckhRja5_SuDnUDkJfmxxEfHM"; e_proxy="AcJO81vJpRXI2HY9jCLKB2x5LLYi2wiI9kmLeGYp1vaP-fPxAIGGwJc0Ekp_0bKK-MKglcv_H_Nc32WG0jks", http_request_error; e_clientaddr="AcJycHx-5pY6zQsrtY5BnrFf9tSPSsdSd45sumEThF1aFkTX0_XONcXRN2umtD08GqZDdgDsjYDL5x-_Rw"; e_fb_vipport="AcLmnnqL6hphifXwz5V10ucL78_sACdg4bixFP3XcczBpRb32MMIf-JKbPyt"; e_upip="AcJSSmjI7J7V1hiuEFCw8YoQfo3DZk24li3IHuFA8cTA7re71EOxnfL-igDllUxOZ4ZVBfwHOy2dqk4zhWPg09wzgC5C6wwXuA"; e_fb_hostheader="AcK86AYGk4Ejkq241CUfMWCavS9MGF3MkHwSCKSaxCmO_3hmCLsCAZ-REbsfVANLBDOTQhzuZC85FJi6"; e_fb_vipaddr="AcJnxUvhf5MklVdWHUHm40NgZjqzidxpPi1vSdYL1QuGiWkKqPzN1WCQMJevZ4W1TIMM08U"; e_fb_requesthandler="AcKjC7UJqYOeCswZRl2wYfBGCi8wxMaD8dpxCqE_weazKvFmsl2gDTd5YvMhnCEuvQCtdx7NFeE"; e_fb_builduser="AcJlytqcLG7yDvIXJbV7WJQj_1A2uWDR5g5e25-as1j0Db9cSAF3sew5Sl-eFavhj1M"; e_fb_binaryversion="AcIfTEgmgbVZ3hptzK1fmpNB2K14yoSEYpEr_qIB5am_z9ZWYiKDu3aMXwvTA5hk_AqSZvj4J0GBdIjxdOxT_Tgrpory0HFP5yw"; e_proxy="AcIcJNiRBv2I4UjINpvhAUyOluqrXvc0qeuZefOGG4KDTl0Nm3hKcNYV8PyPG_B2LCea0MUOnmuXocDh"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5623339997756058?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5623339997756058?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5623339997756058?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/26/2024 18:03:44: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/26/2024 18:03:44: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/26/2024 18:03:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5623339997756058"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7166851, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcfL8jOPAIvXZbdmhyruIic', 'x-fb-trace-id': 'HiCpeEsiOve', 'x-fb-rev': '1011648640', 'x-fb-debug': 'odA1jGjp6YFu5Q5RlQ+f+iXJeWSm1VN5n9ykhHibSfoAZt7HMEdrirLmJxJYbbhA8Wl7TwdMHTpGp64SL8cxPQ==', date: 'Mon, 26 Feb 2024 18:03:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKKvQFdAle9zM1Jyfda4P0QnoOhMu82X6MbusGolbNEC8wDJSlFqaSorcUGep3YbRNRCp3Va3BmBJGH5nqY_IB2bNQdQr8h301fl-OSieOkObtIMw"; e_fb_vipport="AcIDzpxv0BZHlL7S46-073K72J_gaO4BIh8jqqshzT4X1oNGY48oQ5nuM9jM"; e_upip="AcKQE-lTBnXxaUt7W8sa2T97JH-8FEE8TB9XMY3HSCljnGtZe0USAmBaNkkjcuqEjEDmwcaJ6zNlcD_9d1Wfue_CpQpBlorQ2Q"; e_fb_hostheader="AcL0l_t0b5Z0d8ipdDB1A6Hbu73xBTKrIcOhatbINqGUhPG8waB4VS5jsGTSQac4NbLofGJks7rpRGaV"; e_fb_vipaddr="AcJlcoflzY0gVtrUPbDzlmAToXnZbWwtZlKtODSDPzyPxgshGyJR-C6b0PJSiIi6tdY1jfuY1rBmcB2k-kWZBcdvq3vNKHlfSA"; e_fb_requesthandler="AcLiwyTpQHPIGRr-n2wwCo8sgc7tvRC2Or2H-tNJfJBCJ7Vt0nV0WoZEjzQgU-zyq5HbbQDBmxo"; e_fb_builduser="AcJSEjRAllgaTtKbgSjUxULunqeY1lvHFEfR3AE3ORlHSw61DsGLosBWYi0U_Qu8TPY"; e_fb_binaryversion="AcITJ9glVh1v-mwX39dwM6TXx82s2f6_z_rIOq1m3VKM8_3rBdGQR4WZp4wXjKChYn45qwlCCxlxEEc35EmEfhGnxt-UEG2mL2w"; e_proxy="AcKk8NcpVNpGfWk-MwhkA9LFGcUSFWHlmhVGAJrLH3KXfkqe8Cirb8_BThIgXH3zHDThPxAmZM1TjDcMPdlL", http_request_error; e_clientaddr="AcL_0d7-PCfDCRMD0PKGOekMrF4EWnPluhUKg5Hc-lvv9LEoi7iMdNo-4d4Ib_wi5M-AeqPPQigxJzEOXw"; e_fb_vipport="AcKPKHy37p-6wh-OwIBjP0AgoaLBA2tSv_hZSX1lg-xOrH3WaTD_iD_t_DW4"; e_upip="AcKlgamwyfI_WpmaKK1gfDSFLiRbL0sSaHixGkXjY5oDric4vkgV88hnNFaQEBK8vTiudQdHd8MduuMKOcvW6a0t_cfe07al1A"; e_fb_hostheader="AcKrU4gyJFbK27pLARqIrq8kKX_YCqnmmKFGdq8neaUTkOBj1sWZL93RaFN9LH4waJjwYhStleAdDvQe"; e_fb_vipaddr="AcLVy8aD-EdovMOVri1G25sxi3XMAHUvYF_4UFguaGmLqluIjiuEH9IjWJybzcD7IOvTFOM"; e_fb_requesthandler="AcIBFDhk4HWy8BBnOC6f3EcGDY970Nbjn7ofVHLlDJFoJ0czz5IQxCGRxRda9l0BqSoC7Ypx4PA"; e_fb_builduser="AcIFQLFEZ4UIFzrbX0HX1hM_VhveQQparHbzmLi_mMdpmdCpnm3CaJbNgX41vWyWoPE"; e_fb_binaryversion="AcJJsrnpdzKZSMM6AEJ8IeeARdQTlO0DhKaJGt3OgX-pbX9HSWnX3o77LfbbTQYVyd_V4flD2z98UyHW3ohb0qQk6V-Cn3BG-VM"; e_proxy="AcIaBH9EAJc4wOpfOl1WevhB_unixPK8yGYTHSsGF8BL02pIl5103wsSVW9VLlb74055ygUyk2JJKFI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5623339997756058"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/26/2024 18:03:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 18:03:46: Error on send one message facebookId => 5623339997756058 02/26/2024 18:03:46: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AvfWjPqZTWigrhE08bL79DB" } } 02/26/2024 18:03:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/26/2024 18:03:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5623339997756058"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7166929, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5TCjhi-3nexssMbZY406Y7', 'x-fb-trace-id': 'AvQSKNDUFy/', 'x-fb-rev': '1011648640', 'x-fb-debug': 'wfnt4I2pVhF0aklhDVoc0muBG2vugYEu3iOEIbO7ryNJnBTYwgtLoonGePmyg2uj/ZPL2r8+RvLMKTRU1NlY0A==', date: 'Mon, 26 Feb 2024 18:03:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK1IQ7kCORsphn6ZigB3dkTGQLCwEjKBtA75JW1qjMajjvoxRmA9RXntIvKJBs_ef-SlsIX6svWY5fmb8uDB5P0t8aCV9HBpLyi9PYgiGn4sQEBRw"; e_fb_vipport="AcLnMprOUxFXxncLQJDhD5LiygthfrVGe1FuJX47Yx4i4ZycD1XrPgHjTvc-"; e_upip="AcJ3r5Tp171Iv9XOX-1uZ-M0-LGj6ZzGoKsXQMPSQUXSjduV52nS5Dr_LIXy3pAlixJQSCHdt7uXpruf91p08buuK08jJSyq9Jg"; e_fb_hostheader="AcJORLUgyQN-8SayG0Tj9BfAQROjiwNg9ET59EmETvuh-6lW1aOYIw4LAH8tl19irVd5RZcDgpMGEcS6"; e_fb_vipaddr="AcJrCrjXVjP9_tfLEMJO5ml_FpQCnDwBIMK2psvmfICMgoFGRPg4g1VJdDWPMhH6owEgbwQDWBG6gqfGFFHatCTEK7iNZ7OSZA"; e_fb_requesthandler="AcLoKrkAl5Jqls0yJAHd9I6YAPWA60I4JNal5dvEFlA2LOmi7LuwuoUw8ceZ3fkYnzTzN_6JZOw"; e_fb_builduser="AcLAA-wtCL6Z0q7bGok_eCFl9fABjH8mOjYQ7YhQhR8goe61D6xD--DZ2eiNfTqMrDw"; e_fb_binaryversion="AcJ5zpwr78ZGuAsCzNYYivFTIURn3RosdmfD65RIrtQZyTq7gmkAN4xBDdHlC9IMaBoddufjUPRZGx2cCg8YtX4IVJzFOyi0HZM"; e_proxy="AcL74QB1f-PL6sBr8uuXt_kj81d6YWpxxvGup4JYL5SwbYKOOwZ_kXq7Y91sKuyV7nklNZMfTyEtmVkVyf8", http_request_error; e_clientaddr="AcL6BAVvztHEE2X7hTYbAshjKcaU27lblaWBTSkomaauprOalXwLgDlAQgHzNwEDqzRCCaJwHvMBGe8f-A"; e_fb_vipport="AcJC3B3Yt4BOwNFo4jntUAfiaa1Sd0jwTjdRPrkGkysIvw6IIQRzKLOSNalZ"; e_upip="AcKclbfty2GHHGz8z1vK_2BTSVU3fyw1HfpJSRTvsZn4y6PNDwZOGrtAXUKQjzNfiGfH_1ku4MH6-H7rXAL_lU2TiSyUusiRRA"; e_fb_hostheader="AcLym_Xa7DJ6ziU4eDXF9Av6t3LCmrMyKwoQD2KAbl1ANGqOEpb99diUeFiIXmZWakgSn96FVvzxylJ2"; e_fb_vipaddr="AcKs4LfaXpHBt5D-w8ODtapegVaLJx07MY-p1k_LaHdhICRmdyCAfvXhGDMwf5eEbi9hZ_k"; e_fb_requesthandler="AcLwbu71KJHJmDsiNUO5m59xaAMxx35nTjwf-fXfyXlDk3-IHsoQCAnQdXYTB_MsCjivL_GXPdI"; e_fb_builduser="AcLbgUNk4njaRZkc4kKD10Br3HJReHRJwnU-TE7GQGZ8_ciVk8U_hEOIvPjqvRriFRQ"; e_fb_binaryversion="AcJLlzEjDG_agjgPcmlXhZYbRIMleDokk5seSwRcQmf8BChRtydxjueg0kH4qBSJD7qHt4Vm_8QrRihgJQUb255SMCeibvQWfso"; e_proxy="AcKsXq-5GiJ1jwX15Yvr-R0-dYzpSYa0JiH53KPrx1F_AjIHM0uNcd4ejM6tzoJHw12x_rjNswaKrj8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5623339997756058"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/26/2024 18:03:48: Error on send one message facebookId => 5623339997756058 02/26/2024 18:03:48: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ap5t1XJN81VjgP678Gr4Tk2" } } 02/26/2024 18:03:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/26/2024 18:03:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 18:03:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5623339997756058"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7167070, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKrL88rlOFKUhzs-dmMi8AI', 'x-fb-trace-id': 'E7Mb38xb3ts', 'x-fb-rev': '1011648640', 'x-fb-debug': 'sQD9AXRpeaE4SkrrW9dTwxMtkkhR9rR1RIuLVqOK5PBXBv2nTQFNrobXCil2J4ecD0SyP6m57IdqCFVdl+v+PA==', date: 'Mon, 26 Feb 2024 18:03:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLJKIYsaU7NeVVokCMZ8YM0NQLSkhxUY_NhQ2WYAOEjepiI8KOn7RdvHUD7HyIAHAkfKuB5FzHPKczfdig0Zz62ED83_4U3-xSiRB0AbhZsgza1zw"; e_fb_vipport="AcKWqTtkmQ1t4Y2nCO3kw7HJCtt-Vt6tJ1tnxrOnaG-XfvmFRus9VtCXLJO-"; e_upip="AcLYDV3huJXo45FjBUrCMX92_BH2NvWC3axnldW33VjYHNSQs81aFw6tnT5o_pT4v73tU0B5oAlA6Vrl0KAIA2s2VDxa9tlrVso"; e_fb_hostheader="AcJgLcO_UDb0bJa5RHZjfj0FNzxVgG6M66UCJ5YTykzLLSbhKCJCaGgYATRRY14gIEUnkI3I97DCCyPu"; e_fb_vipaddr="AcLu0AStaV_377BTiJo1JqtWCvpNRjkQI-F9fzmd7WTcJr8g3L3K4X8fhMx0zDGHEesouL9JWYSxLkWHPmNEY0zGjk8YO1UY0w"; e_fb_requesthandler="AcIJg-e1fV6DQKwJKaN8OffpRUlZ88D1M-zM1miduUBrw8KtOvMUa2gzufq7uIPoUYH7ZQal3Fo"; e_fb_builduser="AcKSjRW6AK62HgYYfL55F0oDOh1EhHnZ0XU5WYbvbwBAtHkPQWJYu9ZG1MVkZOmHCgw"; e_fb_binaryversion="AcI7vM2Z77gr0bsJyGbEf8cK3q_FGE-7YpXUY9Aggt1SnaPwSZYJsAQQagcmSY9f25b-S03pvR41ePTMX-LhuPrzNaExDSitRHY"; e_proxy="AcJiUXGygTyvI3TlyvtZwPJYRLJGVZxTzcj4rI2UFf-hx2FC7uuvuUzjo42_I476wjMiW2bUn_xRDtDB_LF6", http_request_error; e_clientaddr="AcKzHAMvd6YXY79nySTW5IUPs2gSo-4fQPoJPNhGDWnr0GvWIfdEVEv8fKt0z1KrpGkVmPdbdQ-jHVQRcw"; e_fb_vipport="AcI4TOXEHbcQVIMR0YaUAemQaxzuvtLLZCdf6AYqnmlYN1ksQhjJyyl3o8Zd"; e_upip="AcLGThYElaSiQLUd25ada1PeuiW3Qg7wtu4sUnoRV549UsiGHxBNVreu2dZCdHc21XVh7jO0K4riVKPhoxSWZcLbZ6GXVbGmIg"; e_fb_hostheader="AcKfnu3j8VokdEtTZhGyl_1PAOx8QpChZ6HkTM_3_9ktGEOHsSlPxp44QUKsjvF3_1GfrNTUcVnYvOlW"; e_fb_vipaddr="AcIqC8Zv7bJYlOQVefEodYoNUvz2XKV3fHeEZBNIeoucBdRgs8AFsHluDklXWdb04pBurHY"; e_fb_requesthandler="AcJPjJLPhqci7lo23Ed8luYD1okQHapKF9Ob1SlLhAPOl8WEQsgYy1tqkx6erMh-js6JKetUSbY"; e_fb_builduser="AcLkGFHWXUOhhofuIjdEVI3z9WrvwZcdMZiYIbirT17zS9JCk54xGiwbWFVGGFLW84M"; e_fb_binaryversion="AcK0Ffswe3Y5SYLCUEPc9NgditlM-8-Ry97JFIfRNSrH7DWtPUKqMgsx5arpqubGp9gQf8NlyLy7nkVs2UYpKTj6IGbW_R0czl8"; e_proxy="AcIuIedMdYYQ51S8PxB4YJXBmJV6iWxD_SHwdygmjx-VA_uJTjgKoGi9wEVMM_znsLH0OMwJPHSzOCI_"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5623339997756058"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/26/2024 21:12:38: Request bot not found: { id: '144313565649530' } 02/26/2024 21:12:39: Request bot not found: { id: '144313565649530' } 02/26/2024 21:30:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/26/2024 21:31:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/26/2024 21:37:02: Request bot not found: { id: '133788230054854' } 02/26/2024 21:37:50: Request bot not found: { id: '133788230054854' } 02/26/2024 21:38:01: Request bot not found: { id: '133788230054854' } 02/26/2024 22:30:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/26/2024 22:31:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/26/2024 23:15:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 23:15:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/26/2024 23:15:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7226469, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1bOVpCDcFrZWSCeJ7-6FtH', 'x-fb-trace-id': 'HGacYE/lyUB', 'x-fb-rev': '1011658614', 'x-stack': 'www', 'x-fb-debug': 'TmeZ9WMOMuMtwBKw6qLpGdgfcAChmnJ0DJH4LukiOpMCTr/8ptjwvSDXIwFP1W5mpe5uxX4EIMs19kj0gBnIDA==', date: 'Mon, 26 Feb 2024 23:15:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIe6xATwJsBrAsJmgUQ1ZiIF4t8qi9ga0RosT9WH24cm1ntMQTc-2Dr9ZEM6ok117i8wy95wNd7obyWylRWXVPjRra019QnfR5HHhdjvUezjIJ2"; e_fb_vipport="AcJlEIjjjxPFVeQKfLO6LmsaHegL8e1s2BfX99AO-LAzqy89BelYydzP4RuX"; e_upip="AcJRZZPPB2IKQjN3up8Xf8ktwBJRkc6TIs3d8nmr7AUPrrwsTAFLiWC8MutJ3wcr3stzw9PE6OznmYzMrjy_MM33EAd44xmCQg"; e_fb_hostheader="AcJh3tuFIHGqhbnvhpW5tIjnDGBfWQ8CQTCZhfhts_rV9uBNTvhhEtxF3hBBWyKnv8mK4hj9BNOMckhp"; e_fb_vipaddr="AcK9s57rvY027yTuWbNvxxSDLo_b2cV-a-WbqtfLxwK69uzm-EvI6l8Bw23gW6J5UKrUl0_eonqLQa4zHajcdgm0dcYBlHgDIA"; e_fb_requesthandler="AcJ39P4GHC_WBoCJ4LHUSc1OeVBe_TtITT0dBsDfUUsFMbi3iLldeQlMNRiHX_zknJ8OpMvSoRQ"; e_fb_builduser="AcJlPCWOYZWKtoquiK2LllHkTlAyOsmCl9j5E0akQYm_Dc2OghwR6KtL1S5jWI5rCXs"; e_fb_binaryversion="AcKV5ZVA3M1o8EZMwM0KDrRZuruzK8p3cJvJeY_8XVXhv1oBX-ACKC1XHub_ENGhxn-WNr7Pr_f9O_hoVNfyLYttUqvYHS9TJZc"; e_proxy="AcKBM5g_VlZovb8SACl3_Dt2TCoVT_jwkQw1xV_i9SFwPDgZUsTvuQgzjBGJKaeF2UC4ERaCAObJp3Do2Fs", http_request_error; e_clientaddr="AcLoEczrg_VmcxBSmbyziNhetjycsCElrDYWML64p2BDrWRHArAjfvBXMCimmssabm_U19EeZRYFcdp2Og"; e_fb_vipport="AcKDnENnF1GxafnVla0qYcozHj1INbp8MCeFM3I7Ui6N7M1k_Nb_KE6EUDkV"; e_upip="AcKoxlx4qwDB9Yyb2vL_mrFzrCpXuFwSk0hoKfshrB6b0l3t8c08xVPPCpbd6vWP-SRYv7er-PUJps_oG2CeMB44hPffDiiThQ"; e_fb_hostheader="AcJFk1NPISH6RxXWKHackR3vWd7B4a9j_ViEzGb36Juqv-6Ta4ycqdGLD0DW2hJYuQnl_o8IzCboa5m3"; e_fb_vipaddr="AcJDXxBTziwt8_7GefuV9tGf-xqgQprDZvSqbTNFI2VUMbC33plfctSO10v6atEfgJ58PQo"; e_fb_requesthandler="AcJL74uzcGZoUS35_5n1KLFYQQbwsCb4R-nIU4xOWJMQxFTJ_GxWp7nTFSwauvWjYX8z4lOIF8Y"; e_fb_builduser="AcJJqg5F7rEHysi7kEq_ItPfE-AvN8t7j46kw_2YL_IRjCLIJ8Jd9BvClvPxFD4oSec"; e_fb_binaryversion="AcLuM9vWrZ6p9IoUvEGKkJxNAuGZP2yQFeVBaMZG2M9Z7fT2AQ8usX3jPGl7XeqcmX6xyjB-kz9jsBj_gD68kKC4rybUVLbhELs"; e_proxy="AcI2T68ve8gbwAFWD_Dw-1eUB3TFXcjeHgcOqHH8GqcgUlFcjsJbmuEFx2cCeasauNpGtF_rKQIC39E"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/26/2024 23:15:23: Error on send one message facebookId => 7453841677999165 02/26/2024 23:15:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYv2bz6T7BjDqOpgFvtvGsY" } } 02/26/2024 23:15:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/26/2024 23:15:25: Error on send one message facebookId => 7453841677999165 02/26/2024 23:15:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6g5cO5StHfc92MGXEApIUI" } } 02/26/2024 23:15:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/26/2024 23:15:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7226642, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXA5hdsjqxJNfUYpJgx3DzB', 'x-fb-trace-id': 'FuxoZgcqugO', 'x-fb-rev': '1011658614', 'x-stack': 'www', 'x-fb-debug': 'aAwFzMn66Q6+cgg9a0kDFxuhIz/Ml1kLomXxsH6iGRQgg8/7Bhv+UkDElZmAtax+8GQOiTHjQOVfcBU/fKZ7rw==', date: 'Mon, 26 Feb 2024 23:15:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLL8ciyLlIfxpwumFKE0LZsdqSFvWPeimUaVZ38Pt2biUGq-Bf4zcfRA2-SmclKNXdArXo89VBmAoShkAxM3cIrnrGlc3p3E4rteKiUUuOl7NWhYg"; e_fb_vipport="AcLw7DtWxA0DiZ3xTi_rlI3xnHjCNxunpTbl2WzaCX7MvQi_b1CJdaCkSpSJ"; e_upip="AcIv6onoJfeLLSPAhftrq42lTFXv3zcFpwkv3fiAYx2785Wvqop5yPFsD9u95QOSgjhJVlufWxp7lZDh2z_8ScmAS-fmv-urCw"; e_fb_hostheader="AcJDjiyYe_JMnBVC5NW7VlLJX1sttUQTlxHktaW878W3xbJS5KSN9ZizSPsSCiMCLA8wkZUwttxOU0_w"; e_fb_vipaddr="AcKfFFyApLUfigFT0YaZnLS2FacLVw9RqaWbkG59DNO_nIal60H3a_rQs_5A8cHYNNIoWu6wDqBKNa5jR7DrYU_h3nqVSoDyQg"; e_fb_requesthandler="AcIr7s7u_1XlHebnaEsNivp5kapxEGY_9OcWv7iExHpHCpnXyCeEEGURN3PN36j-EzaZhRdvbFo"; e_fb_builduser="AcIbk-QuYI4psVSiLBQ4RU2JV-uKavitlIUGuNZhES4b3Ou_ivjQAyvyWIAEQs0mxF4"; e_fb_binaryversion="AcKGklfVviExjHVKpNFVLiWYVancY718R-fixK9irkE1Pw18MDLbVctpFnb3h5pElOg8a3BxRSVXTH-d7TI5kq3ekTlOa30dOkY"; e_proxy="AcKW5IeUrlLkNtKEE-Ot6qOraWUTzJckACPw4trWqven6dXPQ_DUhvg5scIA9dkYL7LVVawc1Aq0k6j9r39f", http_request_error; e_clientaddr="AcKTjRJ7RRPv3Kj3xPvTpHdb6thpm9BrNQ0_IvX1Qog8CGwc58kHBP5cvxKuX-nmbW28LFVvKaPFHkzy_A"; e_fb_vipport="AcLWUW0tHce_rVE07K2XPajDK9qjDxl3lNzPErpDMHFHN26DwPxAYjshTBuC"; e_upip="AcJrBy0EsB-iv0MdYowh8Sb5arT-HSNkIXHpDbdS0lYXT0wBaEUHtAT2DACPVAqC1grLYJ9fjYoiKs2n_ZKZXXQyRnWrLfo5tQ"; e_fb_hostheader="AcJNVO7FMDs2uTvphQq9vegDxNbGKSGnZGEW-eyIsmJZtpde8LGRfeiYheugiemehaUaWPYEWjAF3tKQ"; e_fb_vipaddr="AcIZfzCYAPbiu0suSLeypp2TJr6tTQs5yeU3AwP1nCbE2JzOSoYaQZLF0_zZ_jNJxzTPqx0"; e_fb_requesthandler="AcJuc3hcyEDz_AtQcro8bqqjoH3YL45sDXd9KxjxNIDX4l6n9eAVTF4SdGZgA6h16RamJhkYJ4U"; e_fb_builduser="AcJ_tCXkUkEfPl508v-Z25W_kmEN_et0Ix7HMKVOuoYItZkEMGVOO3BRvKA1NnOJkkA"; e_fb_binaryversion="AcL010eI8Il-nqoN7ZMK9lTmYVSrabkZ7LVUNQhBUJg5MsvP3bbISgtbMww7h6x1vaaOwqwl1Y9US3sWNBmn7mpcPsrOqhMKYVI"; e_proxy="AcIMkQ0IMUvBofYknuxYpzpSyhkLURDsf_9QcZKC5WGcvcX9JluAWaSjUY82S5CtQZjHug3UqgijTs4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7453841677999165"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 00:09:46: Request bot not found: { id: '133788230054854' } 02/27/2024 00:09:47: Request bot not found: { id: '133788230054854' } 02/27/2024 09:07:51: Request bot not found: { id: '138868933458303' } 02/27/2024 09:08:10: Request bot not found: { id: '138868933458303' } 02/27/2024 09:08:48: Request bot not found: { id: '138868933458303' } 02/27/2024 09:09:25: Request bot not found: { id: '138868933458303' } 02/27/2024 09:09:48: Request bot not found: { id: '138868933458303' } 02/27/2024 09:10:19: Request bot not found: { id: '138868933458303' } 02/27/2024 09:10:39: Request bot not found: { id: '138868933458303' } 02/27/2024 09:11:10: Request bot not found: { id: '138868933458303' } 02/27/2024 09:11:14: Request bot not found: { id: '138868933458303' } 02/27/2024 09:11:27: Request bot not found: { id: '138868933458303' } 02/27/2024 09:11:39: Request bot not found: { id: '138868933458303' } 02/27/2024 09:11:46: Request bot not found: { id: '138868933458303' } 02/27/2024 09:12:03: Request bot not found: { id: '138868933458303' } 02/27/2024 09:12:23: Request bot not found: { id: '138868933458303' } 02/27/2024 13:24:18: Request bot not found: { id: '320637341295349' } 02/27/2024 13:46:01: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7309535832462293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7379937, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7309535832462293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7309535832462293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7309535832462293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7309535832462293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9iCOjCffPNSs0UcWYw6WBS', 'x-fb-trace-id': 'EXlWjmrduYT', 'x-fb-rev': '1011679643', 'x-stack': 'www', 'x-fb-debug': 'buwd/zAAdHpzlTq9exxUhfU5R4lbmdNeUqLT3LTTC5ogHbL80zTh+h9C2kQv+/cKBXlSFwIdK4oga4dYpqbteQ==', date: 'Tue, 27 Feb 2024 13:46:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKXUvA4vsiFElevi210CMGrKOKIZq_vsui2hWEhHQWdkwo0P11Ll2TtOLvWCZIG2XGLgidWclFTz3-yvPIOc_sLIcWN9SgHoumIMtgoIWMlhMJf"; e_fb_vipport="AcLTf1MYzb5SX6KZsfZPwnNSqx7dSL1nEH_0RsQY-LMKqReRH8_lVCfIWzQQ"; e_upip="AcJ8FFIfoWA32znNsRalWLisbzwzE_jgjttxMiWMS3MIlbPjxP-NwW07F8wshr-5MlxLAZVwPWkkFXWEqRui1Y7HHISjMdCw1L0"; e_fb_hostheader="AcKnNAq-5rrieozlkIM2LFjQCOoPrh9qxF0TkiDBQolQOV1fXMKMHTbYJqtCRhxVQv-k6hCmalIa-QWi"; e_fb_vipaddr="AcJd9K5h4qxZa7EUfeCvCVsofkL3oI7JkE27upttU8jOZT_mJci1zEbEKHZPq1YIAgBvpUl2x3wMkCgI0b8CO_EJKQ-z6v0PUg"; e_fb_requesthandler="AcJ5uey_BsJflJq0hsqCu-dp5-mbz-H_BXYBLFHVHPeukILVtqsDLPpnguKGv5HtE48pl8kRKVc"; e_fb_builduser="AcL4nU3rqr83GawgVFrymbCnQGrOCyUXd9WVi1iQUTf4pu0BihVjrio48kGgqBKwHgg"; e_fb_binaryversion="AcIW4SRh1w6ne4yDg7Qy2tiDuY-tljSJG-7S1HBLwY0dH-8LjBSVwby28qOD6LtcEapLU_7xi1ZAFqHQYk9cpCGmVYjwz8uR0Us"; e_proxy="AcIQsVFvdFLsUG9cdJTHdtnndciy2NSA7PHsTVy6U-AbFuYZN9mzbgO6eaFe5K3cgrGLAXZuHMixjOJx1pE", http_request_error; e_clientaddr="AcKsJ5vUhI3PTFHPkGgqF_pi11d_GPi5j3YgdFaE6WTiZUXi6681ATYEq5Ibyj9BTxGSuoUTCTisQtZEEg"; e_fb_vipport="AcKZSx9K-t5mPUZcoJFgpLPyKdnFUrajvcLjREB486aPGuCiyTc6iIyIspem"; e_upip="AcJXTVjcKQrn3HrlVmMxjWfNIYWXtWokFbbUxBRpucTwa88zM5zKPGb1eTv26XuHqF_8aHXwNvHuwbli4bqMIasVKch9mgh9AQ"; e_fb_hostheader="AcIQyBOvw0k_O-tCBxEezrTeSvQfJS9-IOX5VgalaqUdtcDFfxjtms0w-vt7mRDjWoubrybxvBijOpIz"; e_fb_vipaddr="AcJYAA2o1gFy6o13MqgdSic3tUV5agnbOsEdm5qGyijXK6GUu11JxCkZFMrp55fuVUG21tI"; e_fb_requesthandler="AcLYw5if-51CRYE47iGN_GOCMq4fCJulrgfmouVA6BaneUcYIlh6pxfSNFeGMvdD8-Vcvstp4Rc"; e_fb_builduser="AcImqverCvjKK5i6q0FhuQTQ464uH1pRXcGUpJb3PjLVjJMljMhs-tFgdF_ubeZrv30"; e_fb_binaryversion="AcLKDvJOk8-E8RApYxzTCeZwLEOvA10o2DFgwIPu7UpuG_hReVT_lgEgmSAecPXVHiDBSIndaV-6ERc2HUpcq3zrnb8bwmWIlIo"; e_proxy="AcI9i39fhB2JJinf_u_VSMCrVmta28v1V-91Q4sJc4nRW8tT_v2T142FGZu4nKCzTVRY42pHwX3Ta6w"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7309535832462293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7309535832462293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7309535832462293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 13:46:01: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 13:46:01: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 13:46:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 13:46:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7380063, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_E4238RoiQInMd2B8hD8Sg', 'x-fb-trace-id': 'DGFb2IjGLbk', 'x-fb-rev': '1011679643', 'x-stack': 'www', 'x-fb-debug': '+GxLwy8DVLnF0nRK39oFbilxQlt6vlTNLhECprQRJmizg2bfpu7Jhhm6YRjIR4Ajm32nqW3wbLxJFuNUXKHnqg==', date: 'Tue, 27 Feb 2024 13:46:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIDtWch0w9TZLW1kOPfhQ0PC4wafaS5TYlgv2EARwt6azWDVTlND_1RUJQh9E2MpEGSN8TFke5n98qfLlO7bO0FEBkwX89iFsqYSvsHfWYnSg8"; e_fb_vipport="AcK6DNhs-qReJqR0uBrbWt4InvfdqzBk4zAdLpjoDfNFO5AtETNCDdGOzqM7"; e_upip="AcLJdr1sUNmtXDqdhS1bX7wCeSvigBtfB8s-H0lBUHl6rb3U1YQFu_I7zhVOCtrP-oh2NoSGp-gYvW5PRPjtU6ThXKSehwX7o64"; e_fb_hostheader="AcKTVdeMY5xNDpuwOykwVnCfMR-DaQLfbENTze6npf02Uf9lOOWW3DgAcczMBZZLEHrj6dUYnBUtyXYg"; e_fb_vipaddr="AcINpYngels666YblKF_5rJBZDJoDaRhQisRIVDNqmvqsMQe7YV9nThN6NLtB1L7Is1wrPWk9G2O8PvLiZkanFchGfXgurgVdw"; e_fb_requesthandler="AcJ-kmo-Zx_OYvSMy6VpjkK3p6_sOuDV5zxE96FAzJDG-3N04G3I68Uhdv-9-aRUw1cdJ-CaJvQ"; e_fb_builduser="AcL9NTOfAZMO1c834fxib_g3JZo9NajbT2rbkdhdHWUKIJln9-p7D8S6EGFA43TOdRk"; e_fb_binaryversion="AcLUJxvM4DCERyH26U2xlJvWOjwmakl9QzDgc8YzFErDvdrqu8iPptiRGyC7wv8ufHgDQfVLMascwi6b2oXVtlvt0xjrxGcsneY"; e_proxy="AcLzjreCS1AXoxkziPTrMUnYUTYRMWojRPPe5WC3UssFMnSv1pH2WF5OTdGnkIsznB1iyW7_HsGvRvK0SVck", http_request_error; e_clientaddr="AcLu901IslmiHvzPvAeUgH70UmAGsqyvCrud5FpZWD-SbjFtCnrH6tmsgWvpNyvkawhk57W5D3gBbTK8kA"; e_fb_vipport="AcICQlmBdrPCarIGhwWOZKgOpaLpWQL1ZKWNvJ0vrK6QrRtkGbWHAana2Q0h"; e_upip="AcI63Kaw1pzgWMOvjRhBFEngPbgl684Ej-OCV4m6lOKgAzFzOloh4FdGxE1ih1FbBnj3ZNZ1qr63m0JAT5CFqqwJsSbv-zZv1Q"; e_fb_hostheader="AcJHaDeABiOTyr_VOQRPhWzHRmHiIty87b73EhZwW1pn1E-qxTREr3mucYQB7USUmYv-PFxU-gi9gISm"; e_fb_vipaddr="AcIM5KvTTTjnRCq16S4J04nUTtOJYX9xNRQt1wiyyMKP9ddm-lwz2KQciZHvjRzuXtx36R0"; e_fb_requesthandler="AcLc9w6D3xg1LMlDePsfErNXUs6o-OvULgCuJIpeNmt4OCCsaFkPQ_YTp8ljvhuf_taRwt1PF1c"; e_fb_builduser="AcLXySW99SWhEqerC6bc_O7fZ0DVChtpdTrNTjG5TRzn0HHE7FD-a9hIHCiujw7gbvk"; e_fb_binaryversion="AcLrhF92n9iHtuYYooN03FqtsI0op37hHVIH6TVho5HVPBsTloqhryFw6LeFJGPZAasK0fdyZvP4H-3PM7_tKgYlXjoPM_3QOPI"; e_proxy="AcJD9WQ3Kl2LtrjC3IxCu_qJJIINQYAWSOaSvzkaUdJYfXT3S4n7-oGu0CO8gPZQN-kDoEygEUNv8CQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 13:46:01: Error on send one message facebookId => 7309535832462293 02/27/2024 13:46:01: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AZCslFsPmBx0-BNWQqSeMdR" } } 02/27/2024 13:46:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 13:46:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7380136, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AD3is0FhsBD1DrlBVcqFrOw', 'x-fb-trace-id': 'FvYTDY5MuMp', 'x-fb-rev': '1011679643', 'x-stack': 'www', 'x-fb-debug': '5BHkUagXhYdZudlNaJpEIVO8TQxmCAoxdY3+5RGwPoubMuwHEmgKaosrdpGXz32uvwji9Wy144CAp6QK8agn/w==', date: 'Tue, 27 Feb 2024 13:46:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL6T30UrIJTmh-YHL3NNuVoKnke_yJ9vZqEAkWJkFZOWTepcg5j-XZAJ-dTTM4p42db4h3q_yqXS9jDMAvpVTYsRQuQmEKD4XM-5OZ4Fq7JTbNd"; e_fb_vipport="AcLrzX8NP_og7HRPAdR8SwE8GYo5wk2EAp99iMB8T9EDKDQDED4A1ca1pEV9"; e_upip="AcLY5Y8LFsc5t3ZK84tF4BKVv6RlcQV6ndjbzF8vcqoDkcoCp4RDN0MLpKzuwAlhCbQ37rjAw6BpWiO0spXn6Qc74vwAHMRo4A"; e_fb_hostheader="AcIQ_Wm_k9GI6ZXXrfGj5gapMcB_-rJde2W_41sipp0vxxjo6UUvI9JJF7wJL8PaVcl7LZPlwcp6vR0H"; e_fb_vipaddr="AcJg1GTohxK1z1Mx3-o8dYW2Mu5dB4B8lZdGRBUzrT758ySDXbN0K2xxN42SyPHad0OYL6akZxswEYv2_RqHe6t2Q0dTqy5ONg"; e_fb_requesthandler="AcILqSq231pNx4_nmWlrQppl-HmhJCpB2S_YrgdKuTqapejV0dS1t86W6F-sgoxJ1vcYxC1iBWk"; e_fb_builduser="AcLVEXigZ3-n2EDPDtRdjiV6ffwQeLazNeDiDCg1pSOsPAPckup8pu0cYX2lpOqODlo"; e_fb_binaryversion="AcIK4qnMEyqW0aOd48wZB4352Pv3v9fgK4k2jeYyDAE-3whx0nCnF45t26enKMvoE385AGQVtY0oTReGQEMV_MJp3jaQ_EbPVr0"; e_proxy="AcLQf4kL7QU8TZCbTk-zl_7Zzp-NMHMWA6BgEG59_7SppX-659w2XPi8v4kznQANQAReffUQlxKiy9vfHiOj", http_request_error; e_clientaddr="AcJUoQ_fbruByz4i915I7osqo428GCMuL15Dfn419V4GT0eB5ZfkKSkhCynYtBJCjmhBzY3O_JNPyyzDWQ"; e_fb_vipport="AcKqDgZUV-buyIhBNtqgQ0IHJxP38NSZcuM5dWTytXk1g3UDOlwcf6xx8SFE"; e_upip="AcK9eWcLdmry3_KL7VjLRaMm0MxtReOXBCmAPFvyQeiXyqLAKRjWBURfCd1P7_ZQK-460pQWcz1wrVsHzJOQ4-CGqzWjvEd6fQ"; e_fb_hostheader="AcLBQfr5f3_xdQAE4c6t1uTd-zUfd6Bo8cwa0QKzcAnqbJXCPL6kDvPyq4a9GXWXsKu_LiQVhnYwX-yH"; e_fb_vipaddr="AcJ7CWvQE2pDZlQa-3v9qzNuvA4hWVrQ6CfB_J4JYlsFoL3N-xYtzSG6QLdBImG_ulfsGsY"; e_fb_requesthandler="AcI1grF4Yc7HDu_gDOM0zso_ocnvPInRK7d6HAapcuu111L6B7pqGSOT6NNv7g0ZnIDVh0a3tYo"; e_fb_builduser="AcI_zERe16SRM7zl5NNIBcKE7H6rxQdEGnP_wAi3hBb5G4xQkbYjB0oD0LCn2znQfH4"; e_fb_binaryversion="AcLJoCXKQCkef-W47Q4fEiWDQBSVuvrWmWaHrI3r2drfK-Kl-kWEM2uQ2R5nNXgZIrjYpLHALQ1ZyxUpEu9QH9dkziXK7duP9rA"; e_proxy="AcLJdrQK3M7973IGI68bSd8myoTI9m0288bTu-ixsaTRPGjhG3xK1wIX5XCJhlYHtN-FYLDGvEbSN1M"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 13:46:01: Error on send one message facebookId => 7309535832462293 02/27/2024 13:46:01: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AJyIXssa7s4SkbJeFpBDQGX" } } 02/27/2024 13:46:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 13:46:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7380251, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9CeI5ulzrmHGHbIcAaCnHS', 'x-fb-trace-id': 'ClzqDDPWCVC', 'x-fb-rev': '1011679643', 'x-stack': 'www', 'x-fb-debug': 'TrkcFuzISlMlHzX5m4rtamPE7Wz1Wi7I7d2aA4r7Q7tXA9BrQnzB32OqKjQDC7/7+VJe5E7PW7M4mNWznWh2fg==', date: 'Tue, 27 Feb 2024 13:46:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIl1IcybzLHcMDXt1Tk4IzzIPOg1NINTAItqCG7XLifr95dI0viJIjf-YrDJdXTmAXSL-J6xnkzD5d2djsv4yXcyMWydgxciKkR-_s_zJbeRTg6"; e_fb_vipport="AcL5ynpURCj_zJRu9A5O5-TcM_Jix7NbjBJ0Yt_TIEIcRhcm_gTzPvmEBP_A"; e_upip="AcJplV1GOq-D-unI1Edb1K-jKt37dc_MF3BVNGVK2eDt2afAvturPj67M69_yxKCV-k8wzfKIIOcivH1IEMoB2hU3YgVNEiWC_o"; e_fb_hostheader="AcIY3_Jt1dTGDTyiIuSgjIw20d__ghssDl2tGYkCznhAqWMoUcEULx-XZAXNUyW7l2Kfxv2OHOKKpuS0"; e_fb_vipaddr="AcIlOZf7cDUAEvxfeI7D8BkfEbDYjlCinl4Mm8_DVEjNn3mAd22QqsGpxaE4-iCau4USlpKVBCCA7qTvidRlMXg69xlZFFtHkg"; e_fb_requesthandler="AcLTs4-zOrBdKOQ43P8fukv-hSj8n1OdsQsde4GsjoliGKbGNMOt8IJcF13CocSC9HyNF1ueO5k"; e_fb_builduser="AcJvd7ao2Huwknl41zQ2RgTUIYmjPYc-3-IPrdywwCxMBqndi7G8Dspuvx4c0Qc_bL8"; e_fb_binaryversion="AcKcO6gnYSQ-tPNUikbcaaMLveMwevUPuvDD5E71NIvVx652g0s1IDw7Q_pSWzkbFTnlNbHaT-7gxri-pk3Q5sv7S3AlKvf91xA"; e_proxy="AcLDBTh_QrouGs3tG8nIQmxFPVTDvVUki3IIhKpg1NfPG5Bc_y10a4WDh2KvRbJ8geE5OVaVMAGv-UEf-FQ", http_request_error; e_clientaddr="AcKOYsMSd05NJvSRML1aTdTSRypFQLzSNl-MIcWnOND3XkduPTeEzVZXAXO91pZexWBdt4JDLKQ-ovBUSg"; e_fb_vipport="AcLsJ46awz1SWYWwibmODsJiMaFq1LJiB4PHkz22MP4eTMetH-vdqHdvLGBt"; e_upip="AcImGHf8yXRrRvaws6A3xIfggQmpdWgV3FiNzlY3pimV1yMpuHxiQl7bj9OiPUbzOQFuPGAQoBhMqjl_XC9m3ljRP8atyrVCWQ"; e_fb_hostheader="AcLeI_76j9hjSkLCpURtelY1h4cE0QJBo5VpWNBNttjbXHp5hrrh9J6ZiMjkUmZq6ULi4ITFBRReuACl"; e_fb_vipaddr="AcIWuhlTJxnxZt2Dz_vy8zmusu6U9pX3niK1Hc0qBaTImIvO6sIycR6dKhhqBtYlXLeaEZw"; e_fb_requesthandler="AcLXxdXcu7euw9ULnamp4blfe93VYS55hsLGDcC863T2tg465vuKYdxoJdVXWteA-OufsWOEU6g"; e_fb_builduser="AcJMhF06Q-iUzGLmtRCbx3-TxRVyrx0OpaU6wmQPpd76oblEN2j8RcjhuVk7HQsuZ9M"; e_fb_binaryversion="AcLgVhN43Vb7Q8SqAr1qlnFBU0-Z6UE2i-83E8OSrfJmDJiK9itDcnyCO_efub-zo2n9mzW5IJrmx_zNLEP1G7xjRGkU88g7HI4"; e_proxy="AcIPsGDTksyeFOZvKvAVSv9CnKU1wU2zzYQ44cBsuwnoOJok2znyi6h5VD3URh1zUAVaeRyR-gRNVGI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 13:46:44: Error on send one message facebookId => 7309535832462293 02/27/2024 13:46:44: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AGBo0XAMCDc2oo9sikihLsb" } } 02/27/2024 13:46:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 13:46:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 13:46:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 13:46:52: Error on send one message facebookId => 7309535832462293 02/27/2024 13:46:52: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AOX_alTdziLeOxZw9mp8e8m" } } 02/27/2024 13:46:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 13:46:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 13:46:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 13:47:46: Error on send one message facebookId => 7309535832462293 02/27/2024 13:47:46: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AckJ_2rQQY1sLcwQ262YBVu" } } 02/27/2024 13:47:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 13:47:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 13:47:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 14:58:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/27/2024 14:59:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 14:59:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 14:59:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/27/2024 15:00:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 15:00:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 15:00:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/27/2024 15:01:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/27/2024 15:02:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/27/2024 17:13:56: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7263728897042479?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7424409, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7263728897042479?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7263728897042479?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7263728897042479?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7263728897042479?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ae4sXAYuCYdZlaWBQMRKra-', 'x-fb-trace-id': 'DXVsNdK682d', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'AVWICwRfFPsj65Kl2xXssVefRqI5x7KfJUKbNUArYyxsKRrtDgQCdyJhEeUtaa9CO3Grducb9/kxrgPR3rMoKw==', date: 'Tue, 27 Feb 2024 17:14:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKaVgvDCNj-OSaf7ai6D_sTa1omkWzGMCd07MZ1RRRh2agKXgozMK_aJOjWQOCQuyvo1rv-wFjZYZEkD553DyyJTMiyUB5jrC2ORtboazCxEwRR4g"; e_fb_vipport="AcKlnf2Dxuu6I7F1P-S5ieDJ77fswbmu-7O32iDWlHfZIdAXmdntVPKWeidY"; e_upip="AcKnlL5Nr6TbZiO-ZkPOr72GHMDIvwBgm_LDPDIZX_W-GA7sjyMqtXtXEi8dgggusSgBDnXt7ZsEUYDp2K-ewM1hX7s_8_mqiS8"; e_fb_hostheader="AcKsRBIgygxFZ-4p1M4XYiJos0N1LWac9dPLXAvVe__oGlJkVD23TqIhXrZ7J_psEsVkifVZzUXPJXN1"; e_fb_vipaddr="AcK4sPWO9IRkTxNB5W6VzPlOj1ZWvrTTKzttZkxuJGBpYmDzxkK1yK7uaRGIOGWtL6lfGumPl6dJAG9sWyVWhBzdd7am5PEpDQ"; e_fb_requesthandler="AcKHPeem4vwLoRrPsMohEp-_Y3ezgiB7EXJJDGaGlKNcV-0kLSj9k-jNh-VuQ5Z9yrSWrexeUNE"; e_fb_builduser="AcLULk471kTTUl6vRYFuUwpxkT5a173FXu8BUO2Rkvi9-qQxVWpe9sESfpNbzENemWs"; e_fb_binaryversion="AcIq0K7A4rPHjD27kEv3tWto_xekjiCJubrb4Opv7CP7qYvVvHRAXuct8lncdls9iUPmrkw8ls7pTlUshw-HUgQ2w7OyaYCKhQU"; e_proxy="AcIJ5qdzwsna7oOW2z4wX-_yUWDy_Wd11sfPDBC3bkPELEK3aCuucPLE1tWJifquSGiXLkqUhXpMAO58MprW", http_request_error; e_clientaddr="AcLTfEKx6847T9HfihHcIEdET0Qvz_KYVx5U3hG1f_KfK94sjFTXvw3z7cx49fDKjzQWSMLrSPCLEDi4PA"; e_fb_vipport="AcJHDqzdqKVaPnlGMkwVN7K8nYgliSPJgs95gyfLvggYOIY45IG2_R2K9bv0"; e_upip="AcKeiMOL6_7TNCWRthH9Emt8YvxUqVM3dwE9DX9Xi-wpyJnMlEbU6aKogin01D86r4t0GwQ26YI1WScNvuVTUNiyd9Pd2-mxWA"; e_fb_hostheader="AcIBTT-F93ryyD4glWVtifyfuLBP2OgOhb1MRQ1Y2uuNjP2WkxRy4NqBEhW6G4rMdoOFy1BNFraRt59P"; e_fb_vipaddr="AcIC627h0uxK7QW2lGETWgctsQTcQD2b3OsIdrIFGp-m32XGqouYZLU4FE1YJZYSXpe-bI5HHQ"; e_fb_requesthandler="AcLck7YD8WT_d6DaA8kyvtUs_V7Y55RjvWutK_L_u3W6l0n9PQc36WzA_VKtu2GBa1Wadvf6AiE"; e_fb_builduser="AcIzaAz4Hwd2tXPHYD7COpaKS8jiDagC6XIc5PXtCmUVLLP2bv5zXFwqWmG2Fsk12QE"; e_fb_binaryversion="AcLli5CdbPqxQMovnL23OI_j4Vt4kokCnuS0RSKSCB_EqRDBWMusKt09H9vT4sGbr25t7mVxcvo_zlOAVPRxKI2rB96GFazGZzU"; e_proxy="AcJj7XgIhq-dajJQmYCvyHdAqpF1-zS7YGPwvuCxF6ciUwe93NgY5zKVeSRQhgnKlgiMDtZ_E612caNa"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7263728897042479?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7263728897042479?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7263728897042479?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 17:13:56: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 17:13:56: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 17:13:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7263728897042479"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7424532, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2Mr16Cm4a__q7dG2vKfbFa', 'x-fb-trace-id': 'B1UbRMJ1Zov', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': '1Qd/pteroHtcbASgjOx6Mm83mJuPuOBupJ+XTT7HlV1boHPjC5hQnwbIUOpINMIXLTtWTb9KQzPXqPyt3l2V3w==', date: 'Tue, 27 Feb 2024 17:14:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKBQxpaIpX_ellCCm_GFLqyl1d9_zyNCe4HJS2HegxJrSbe4sSQmW8XUzN9ma7sKK3CJN8rZmjCnjwikGnG8JT5a1LfQkuELCbKPKwDozCm7rRb"; e_fb_vipport="AcKwRqpmsZQYlzrK6i3u_1ZsDUsRiwyWTQBo2gV7NYK6nTzq14zDDXCScVb8"; e_upip="AcJyq-LakH0gz0mj2zDj7ayAqPlr0tZmFm007M2sBSoEAx4r8PKnI5uwN0FEqlMI40nlemLT9uXFbFXO-Q7MUsEUapGXGcZcLw"; e_fb_hostheader="AcLsvkM48hTmVsDHTuwxgpXfOvJjIBiFka3MeDWXXZ2oA2C5pv1dXp6VGyZ0XfP-JQkBc4th9Ycz5IMf"; e_fb_vipaddr="AcIhkCwdPkZcxeBp5J72vFVI0NUdwSnO2HQwUbpOHiCHRcHLvObGpElA56vXCARbIpe4JEMt_3K2xbQtSLdPJPsqwwfwEMoeEA"; e_fb_requesthandler="AcI4ARznYuDEF9NuPo3Qir0sMujW_ySFC7cOPjCow3MbJF4eob71pOx0hvPBRRUBwYNK_9tgRgk"; e_fb_builduser="AcKafph74u73QygjqYabHEXtVbJxm6-WTC_kajmLm_PGqfkHILEtx34I8Q4GPB-omPk"; e_fb_binaryversion="AcL3f4BjtZG14U3CNIPbCi9_AmALZV4tkG9E3CLui-wKyy3bIuNpuvm_vtI6iUWvYjRUByDAeU1PuFJQPTS7n8SGhItKxDerylQ"; e_proxy="AcKky-0SBNuybcSv2mwPiadp-rP995JyTH1t85EOXtwcW4FYTwyeUqGnD_CNHmFK-U6KtzGYJ8ULpu8Xyala", http_request_error; e_clientaddr="AcIEA9Z4uLZy-Q116vHZsSBgdbL0XNESU5oVKYiJcrgFGUb0L9w3jKgHPq59l9_7YNvTvLh16giiHtM8aw"; e_fb_vipport="AcLJvo2PhJ9OmmH2q2y92IW-YDDXexwHsCS7yU0rPETCB8tK-ftj7P4oRfSm"; e_upip="AcKqhx9vPhQRBSMTpBwKq8oIxHt1oQRjgwDEUhn2wZWTW9s-XAJz0cKDVrZrH0Vp3coF0OLFayiIKN37m7u5gDDFm6NCZyTyXA"; e_fb_hostheader="AcIkbFbTSiCPdS76L705YNSEvKVn-uirZf80mv1KHaRnHGvOHNVQeGs1bYZ7wPtzIch1YdSv108b5ald"; e_fb_vipaddr="AcJwDfUWh-6k3nPMYyF9u9w3--d5djgte4odkA-YZP5KGIway8SqIWeUfhgQ0AoPqEHcIzT66g"; e_fb_requesthandler="AcKvcTl5fBFk6qxQEnZBQHX1G9flS39-P6xiRlADzYLflqcW8cUKjyHCrZTjVGx0kCU9cqYjV1g"; e_fb_builduser="AcJmCZjGpJKKQjDShwXZvIYyffLoTGWzpdJv4YId_QfPDkFbH-r7DNdolbsg6MCHd4A"; e_fb_binaryversion="AcJU0zscKbiRey5dg7_KSGJL9cTtC779kFxZf7QzRvVPQMvIRSEFE4l5NXAIrL_5h7eD_i9aTsVpz7QECwx-pwNj9SZwSIJfHww"; e_proxy="AcJvWNfZ2LgpGzLK_T0K11RIohGJ0qBjWJn9wvhk17kNEro4J_ihjWmZTjBpjeUUlZlb2LkQC1KbVr0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7263728897042479"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 17:13:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 17:13:59: Error on send one message facebookId => 7263728897042479 02/27/2024 17:13:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A-8IdbP1v1rNFhe59Umkw2s" } } 02/27/2024 17:14:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 17:14:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7263728897042479"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7424614, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AU2pa63ir0trGR8SFxUMAG8', 'x-fb-trace-id': 'ETj0/ttvdHo', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'Fo8jIJiRrFAp5P0mLBJ3Zvg8HbxrtFFPaEEvQxXv8Dv34UbL2XUO+Fi9p5mSyevfIzENwUBJ3q6P1fE2s2hBjw==', date: 'Tue, 27 Feb 2024 17:14:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK1Ne9VuelM05Sls1Uj5POu_xbT9NOfOxQxUPAuyrCch7p3jc_7QwSOQRPE9LYDD8kRqAmQhn2MDMAyoLMmjXesdnIHuR5Y35pDSVYNHpBhZYOX"; e_fb_vipport="AcIjWrg59BjDC5tsXXITt24UTvIPXrFUklRbjsuUYRf0aB0yli7Bc5YdlN2Z"; e_upip="AcJy1amPQY4lvcHmpqKvLdYLdhzkhWalCX5L-TICCvyf9fzD6jT1cpVig-DTaPjgn_ES0qY5uUV51Ga6vryJOnYMxwYz2wr5"; e_fb_hostheader="AcI_D-ku_lNWr56BYA0SBpLN_Emefuz5zvkxyJN5QFGbjKAdVgicm-h2Cy3VPwyRwU08VOFISEeP_mM6"; e_fb_vipaddr="AcKRiyUNGykNJS0hVDhcaSyfALpI8B5wtBUno9Wpx-W91HfNIwuN5vs7NaeuzWVyH1vKWjgGBtnrpeiRc5b3HFZ1tUjp7VYqRw"; e_fb_requesthandler="AcIqHztofuQxWWqEPFCGHPQaAqwV7vZqWJ682fyaOjO_IJdyhjRWzY6_hR-fG_5MbrfxC7YxpgQ"; e_fb_builduser="AcJCagvsdKTBdxuVayfRg0uur0a9kRl7Nsk8IPbtvmtLUXdvAfWKwxd-qX69Tstmgqc"; e_fb_binaryversion="AcKSbaPgUZGTBVajjBgfb6_9nD0VC4TbnZsypGchwvInPe8d3LMXwfLzHxk3QZltufvPSRaJRmWZuj_8vh2xWvyRyHg4e5sWR6Y"; e_proxy="AcLHgu1ODFIZYsZYlkj9QsPWxTZ1w2CEGaAn98F19WJbqs1Mscg0O9SRCiRLlE1KaVkVGjbkEQXGglfRFddU", http_request_error; e_clientaddr="AcICDWKfoZnpWTmLiH3Hweo-9eTloYfIUNXOJPJEOSkPP9OUVaWaZ6oEKJYv149IO0dJaU3i8m-fZ_61UQ"; e_fb_vipport="AcJ2WKO9J07wFzlkaMc6_idJilIkMKXfXubMG8jAKVOd2Xpp1eUIswadlfN7"; e_upip="AcLMnwRp4U6HGn_vpyo0cT_nVzJsHsJyKaUtTnmcIU8nh6S-gAA7QLhfHPO9PiLiNlnycH-8Uv7M4hnhC46BTF38rWrcNLGHYw"; e_fb_hostheader="AcLoli7emM1DZLc-3-Ua1057c72BN-ntptU0mG2J6eE7oGETF2XAWzUTEwbbykDYQ4UsukKIxQWNy9D3"; e_fb_vipaddr="AcIaGdAAe2LHotGyTv7_tXFnKokNukp2F0RpAAilP5a5KjdxIiYNVW2FS4NjaLL_aZV9h2kBkQ"; e_fb_requesthandler="AcI4ekZchw1fW1iPXwoT3Dlx4az3wbSgfsYCJhwhwd1qDt-4JbsSUBokXVhb2_4u-0aE60Smxps"; e_fb_builduser="AcJs2QAFsoYnd4gMa2dzvCaOlENUVzCPsdJsbNIREnQ2wC4M0_UIxuT0rRZxdj0krC0"; e_fb_binaryversion="AcJTTnVw_9uuRh60ZD1uiUNHeqgqx6BKkpPyVpdrp1UQGeGOL3cb0TqWqv5x3jWDXqF10nPaW-lgtEct8ZDvzXJVfjPDmY852_s"; e_proxy="AcJzpWwhpftROSSMH8b-b9WvX8zGBBXN9Uxgl4cm2c53RE22QuORkKdjoYBgzM1bJIyOZw1Ec4yrnx8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7263728897042479"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 17:14:01: Error on send one message facebookId => 7263728897042479 02/27/2024 17:14:01: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZ41pJndUHG8FJ1LQH-3VA2" } } 02/27/2024 17:14:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 17:14:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 17:14:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7263728897042479"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7424753, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ak-T9lcf2gaSio9wFN63LTW', 'x-fb-trace-id': 'FFwV1+Hq/XU', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': '/mvI+xQ4tr2ehjC12URyiTrSihtYv9aRmMLvUt3VOivLV+kxuJZOaRfJNlY/iHJjU499fHXqYgcKBpFrQdx9oA==', date: 'Tue, 27 Feb 2024 17:14:06 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIsx7qFKcFnL5671F2oe1-MwEyDvXnLSUH10zKM1xJ7AGWmfCyIn_ggR1YAu_49WPCeLkATQNfuRXxoDyDEz5WD8uiDqvKD8Vcj4NpmtSeXbIOgEA"; e_fb_vipport="AcKSP3Cmfd_I0aC5QRXlmWXDQlv7brCbh39gJzDexFVaaXCeTA-EbzrFti0A"; e_upip="AcKhXxb-Q3lXDFkUm-13XCXqCpQSiKMMfVSVUbQYg2nEmmudX3Pge_-fvJOM1VF9hcAIm6wy9Q06yjILoav4rRT4jXpEYvrFeEE"; e_fb_hostheader="AcLsBsGFtWNYHzIEgsX3kKp6xu3-rFZ1M8wqkIpqSDnMftsfhvcScz-W3vo7m-mH66KxzYcNDRBZRBM-"; e_fb_vipaddr="AcLwUZolrJLqjFRhPyz4sxzYeDjkNPHMFjRXpiEsSYth5DysuOHSMQkjQe4jt9L4JzNVt-4bnz_d7ny-2QEJJspD7bTHcnzGgQ"; e_fb_requesthandler="AcLis-HMd9gNM-W7TFY8rnQgc9cwtfwB647vtUO5n8YDHuF0o5sslHAErMS5hkVhuLjhBVEHtg8"; e_fb_builduser="AcIRVty8ND7o26eH8ky2WpI-QImfO3PPndWOTR0u-BiSl2o-Zkbl6vfT6gMm78iDtOA"; e_fb_binaryversion="AcIO13ysYgsZDACuk302LQtYAtyC0UrNLptEchsi4tYHIFJhQYyS5NPZ9neXYmFrGG_yzo6PHRAdy_he81PLgOdOffsYxZJGyzY"; e_proxy="AcLOlHbsh6NRAaaDP6eradRkjoYciAZQmaitO8xm2-PKEyR_W4C8nWbxFftiXMrPpkpCa9T3elbDf_zSZrvi", http_request_error; e_clientaddr="AcLcFZ5mjPyCWLKH1wnlfYYvOwkNpNWRW9JVTcg47MHOxC9r7zuMHH-TBUX5Yit7mypwPeT4uaXV0MAIBg"; e_fb_vipport="AcJg22JruJMYtNDbz5fVbhvjBqCS2zPV3Vr5ghwH9ZiPG7ceIqhsaLefYKce"; e_upip="AcLA2W3jDyAEoa9uo_cWCUyertnSekU8MqvoNv3xI25Cr3_UjCu4Z8P86skcrthhOOEyixb8r6LUyqB49akNV6jt8ukU0alNlw"; e_fb_hostheader="AcJVuKzqKK-b2qGVDofu17ZtgTyNU9PDkWUwxqsysnnNmtQ9YEbxFRrw9Y8eQ-sJEVbPdJHIpi2PyhG8"; e_fb_vipaddr="AcIXIC0B9m2kBfyVJy6gHHlb56pJH7dBX5i73S0NLmyVdv5t6DOBVFOQyYwmUjItSgsfsHhbgA"; e_fb_requesthandler="AcI9bhePPcAnOIQhnG4GSEramjRDYMnuzqTsTxmL1CToQrYsNm7fkDOCf7FFPTrwbzLcH6qntvw"; e_fb_builduser="AcJGdmJ-7TD_Pf0eR0xhZQV6lcbvS4_EksCPkUYp10g3vwhsLD5wyp4Qz6jh3KT3CNw"; e_fb_binaryversion="AcIcRgM2Ttb9Wz_bhFvwx8pttPwXE9ezN8n26Y06IAqHb6x9FnJfhsH1F1Ogjv3e4ogZEmID9cAKSllMrGASN8FqtOoFg76hgmo"; e_proxy="AcK0YYcA6q2ouMVqREyF_ePJ47WDRHxsPPfRaUoyvc2X2nSu8Zp-kyHDtb8UmO_9IjozBTUmtXL8c7jz"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7263728897042479"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 17:25:30: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7609030785795028?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7426811, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7609030785795028?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7609030785795028?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7609030785795028?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7609030785795028?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAEZVdihqimsSFD7oeEGlB2', 'x-fb-trace-id': 'EROIjxr9fJA', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'HuuuPTdPA+6v/KdrgvsPdvITusvmR4ay9usamPYCgdL5uu9feEat1er4H9gF/J7uxW9ztFRzKvb485Kyj+eGFw==', date: 'Tue, 27 Feb 2024 17:25:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKS1IVXYJArytHagiUAxgXJ_4xblIZugY4fq8Nb5yW4ef52_sGzoSzQ8ELhemGjYIKZh-AW3yxHbks4blSn4fsMUBZFPksRYiujg3J0Nkb5m0UI_Q"; e_fb_vipport="AcJR0F7GqpRyV5DvLILzsZ2AW87ReY7-sYp0sCdVwGty77BwHTkEPj-OI2Ku"; e_upip="AcLtHJSiTeWQISFxMaEUs5J2Ia9ZYdFtE4jUEXirrtCl3lTS5Nv6-wkN1QORaYN5Pr6kj86gLzNt7d9NzuAsRu_0jm1QDaXkDLg"; e_fb_hostheader="AcIKBB0Etz5KvhEhpBcQ-aehXNAitDfUAmLc0Pt9lDhJEGdRtqsAYWvitomTJIJFwOZAhC54t-gP96PE"; e_fb_vipaddr="AcLF2XUFNtrBhIVx3mpaWTqk3AuyA7BucHSKeOsotrhV2rvYJgCqckW70qi5i3BLE4FWRizMJXt8wvoA3dT2XSbFcmCcnbCYkQ"; e_fb_requesthandler="AcIwFBGJLZkAnAgMoYtA3mAQWQ3X4YFzZbm7AURDfDn-HQ-kWdTv6teAjdOOrSosdPg5szhHb9s"; e_fb_builduser="AcLMg7aTytStBKaBi9Pmf6bmwpfasqbUyFNKNTTg8YEfTVFiOXjTCoNMl7z4QXuBras"; e_fb_binaryversion="AcJ3vtEmag0_emecWQYnW7u7Jrfoq5-C1G7zd1K8ydwuZ2nGqU8Ad2RAKHXZ_iOmr6dgSbcRsMVkr8rZ0azNBMhLg_3609w54tk"; e_proxy="AcKXMUnsfFLfkM7yFU9xcr0n9kJvEhDwrn5RPB4HW3vvRUR_tvFkIzaJ4dpMCa3Y4BQ30L4965GPA3xgp91y", http_request_error; e_clientaddr="AcL_0h8TxwXnkj8j0laO54jHP3MP9xZmE3uvq77SRutrzVwG8qPrjVklPf7enI8cnxMKCixiGM1fcCdt7g"; e_fb_vipport="AcK_3lDYdDHUUczSOB161ds3XlOUC1Krpa7zJTSJa-OXAE7Zo0or0D5jDMJt"; e_upip="AcKoRmq5CRYE1d5kSa9o7YkZj0D7XiqOLjEq5Sgj559_BknHjSO8oePuR6CvjLfF7sEK3OQwLGuwRH1KT--QNvd-6YKlS3ev9g"; e_fb_hostheader="AcLc2qyaGFvnYZOYdZsic-U-QUkmGVvQXR0QPFidT79RO_3GtFfV0h7KNhWZcczJNCY21ttu1TNXPpsT"; e_fb_vipaddr="AcLE0JYkI2H5lErboRWgIkgqDhKUumrbVl3izxHIf0YKPo1_T6fb9OctjWkcvY3P_c-kohSIBQ"; e_fb_requesthandler="AcLJ4nxWahO6RbJfJktC_NCF1ibnSKqKnP3ab_osufVdeT_ttU1GjaLjZ_XcAaC0Ew2Cx9CWhe8"; e_fb_builduser="AcKg6SJXjMlzMfjtWltaPr0NaK7_XCPwvEP4M2BMdCbnBZcJcDLUYqiv5f1eI1lAlAM"; e_fb_binaryversion="AcL9XB2ZVsxkuZ06tVpG7YKhvw0n_wcsot4qR94E1WOu4lqwwjj4XXIGcqEQZIn-P1rxjUlYiMINtJPQ1A3I_BHeOPg_iiDtmgc"; e_proxy="AcJtZ1MaZRLG_D_9uI55eY-6pqf_vmozQJ1ai6wck_5XMhKaHQur-xWus9vI9qHNm_EqkKx5nwOUO78"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7609030785795028?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7609030785795028?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7609030785795028?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 17:25:30: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 17:25:30: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 17:25:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609030785795028"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7426929, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUOUdFvx6ZomrC1Vk4AoR7P', 'x-fb-trace-id': 'BCtLGYTtq4n', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'ajD7hphdY1JDhcdVgYxMRDSZfU35677rLtqSzekL4cMLNv7kYwTVEwtv8PxgetWVhX1qyb9ZYEkOb6TTsVE0Gg==', date: 'Tue, 27 Feb 2024 17:25:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLeupKGhucK-0ARWSYJWf1mYj06xtalP6buwdsTDyWcIdUvISKUkVmdW-zDlylU5cnsewalC2KMCcPZEqAkuuGgB_TxxRE0huYrsqNwCnxHUgrHzA"; e_fb_vipport="AcKiFRTWotFac2SWjQS7n_tJWk8qVZ69oGMQD0wQopUG52yLUhGPsQNr2HJk"; e_upip="AcLe5exroJ_coWdvmYV5XWBawup41IzVzlbzxnN6FG0YMT_dZfYpQSCDHTLHwk-T172foaCfhKlKAPkOicrZlylfF_MG_8bbZSA"; e_fb_hostheader="AcJcffYO3XUCeF9XJZtg1tUOgIumxWnAHZ6Sc5NKYub0PV7rsFZK66PgQHbFx-tnKAgqLyIpcEMMI36Z"; e_fb_vipaddr="AcKxM3g34geLp521ekfbnmobb7nLbdT4iAknu8kdD93AQpB06tRFsvx7bOOTyharzuCtTlO8Hr2y9e35hhRuSZQqJ6eAK2oNWA"; e_fb_requesthandler="AcKSUodwxWOw9u-eza1qYcXFv7cCvX2dr4MRTYBKZcPkft68nypdqHXqt1CgGpDJ6xDdrrQtlq8"; e_fb_builduser="AcLB4El_ZF3Rl1qH4DUVf87YhjZmrTLx0KGUYPGMDb59eTRMbQLLNCSorcrAubw7-nw"; e_fb_binaryversion="AcKFhwSBr0_x7n7krm4kyTbNAQkhH700-FVKER9mY1dRkEkBRNLLvDTVPxWaUckIydx11dDEKohEmwaSaw9khvOFNXjqmLH1G5A"; e_proxy="AcIcNzJXLbmo677EsiB5FZjZqfu21f28dUP6GMISjaFsgTWTG0GTjPj6-cKUY3ksCcbq6LKJGvoJmLklLDou", http_request_error; e_clientaddr="AcI9EZjak57WUvNiiqFIXFhAdwcoUyBIuN2BZ39ZVUbz3COCiVVep_ToZFzslV48ffmYJi4u0MEudDce3A"; e_fb_vipport="AcLaaZxjzm96V67twamuqVbUIhfwc9rnr-WS8dtvuCVEEsglZsfBr6TgE_Bd"; e_upip="AcLkJksylHGKS8bLlYrhp_aXgTMCUxHhdIqCTPsGA9jjDWBqcpGB6fABxfmLTeRZdPZwNXWK5F_nLHMwqgrQ7HJHx7TXDdoR4g"; e_fb_hostheader="AcLqik7ZScA5lS913_4k2g8jdegTx0oQuOhVdk80VQnIpIGbrw34W1OpMIghEwbpJ_XHn1SpJo1T0xhe"; e_fb_vipaddr="AcIsC2xx8IDJkVYJJBFeOgazYEsOAtdTYewripBAA0kh-r6oM65MENxs6uhl2IfKaNxJdN-m0w"; e_fb_requesthandler="AcKuw68FCqw0yv_B989q61vCM5bD1qWsMlaqWnheT9Wi56QXCgIM9u-RDTZOgItgNn44dz1u8ys"; e_fb_builduser="AcIgWmMZzJXFyb37Ez4WjdnkRhxpBFpNe7tFyYH4Hyv5jzPt-eLtXO0C825mQghJa1k"; e_fb_binaryversion="AcLMkNOQGsUENmKFVNwYRtnbZBVKIWpjqgw3KZuOfqudxJ1RnQet1qGXM47hNKm2UAK0Aq5fLJlT0zqA7aSvW-1FaxQhBs0sX9g"; e_proxy="AcLkKt7wlotG7IaIeyaheB5qZ7yQ206cEfZ-5bDWodPJ8GWNcY87wf-vaWkhsya-vqQ6XfiSq5rdrlg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609030785795028"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 17:25:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 17:25:33: Error on send one message facebookId => 7609030785795028 02/27/2024 17:25:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AVpJidMuI3E4B454BP0Q1RV" } } 02/27/2024 17:25:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 17:25:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609030785795028"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7427009, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ao1nr2xwhiMcF4Z4BsSDb79', 'x-fb-trace-id': 'CoKclDGfFid', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': '0l44Lie++ioWpXix2jYPwK4356CRTSWk9E+UV7hLGbCNuEUZeAoEysnSEvMdKe4wviRegu/I6q8VG/EAEjhw7w==', date: 'Tue, 27 Feb 2024 17:25:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLIAvhcmWHZgat5X-Kr5O2D2ByN9AjAQF4KccRpe5l4QB7PyykY-sJ48Yno4rDma0QjSS8pHTWNg7G7ny_S0jjy55hFbICgq7gV6PZ9Fe8wN4Qssg"; e_fb_vipport="AcJp3LHKOdT01ctqVn5HW1AEZ0C1cr1fROyxpak-YUjg2meOkluOH0VXQUu_"; e_upip="AcJN_SXHqq6L2_AGbzlE36xY96y0Vef95MZZO4T1dEZPHhjZXekX0jMKaOGv7_pO_PAdLCCdXrIpCCoC2fC8YqkGSwFyHRvsdg"; e_fb_hostheader="AcLsAKmt_pGdJk3VDNP9U41RfpJt_pJPd2DYozgRHYUKqPtwqnUHqfX9glZkWP214VNAanGhlg-59LBu"; e_fb_vipaddr="AcJenvAky8v2XKpO6zR3y7_dNBTsYwR8Pr0AZ8lXYk6Y-hanebYsXfnH4SGjEG3OiRvLQny9lRx2UhfxsulQdIw0eoWXSooBxQ"; e_fb_requesthandler="AcKwcv2rMT2Gwqun0-2uDDz36l5tb2S7O7hagEdHzKSMcpZMWysUlpXEvDR_r_3mPCJvM-4z_1Q"; e_fb_builduser="AcKYHI7S-TMeig6IDLoRU8kDS6w4vYCjkJA_N_sVarhxitdOrjUz-oLjIYnRURf0UoY"; e_fb_binaryversion="AcLGKYzzjx2KtOIHtOnXf8hv4rvSNKQcXa6XXzXk26e51r-SywHvLbRhVg7ywPq8daO5Q61R-d5IkRhyW_hTGHMkeuA2yx_4OyQ"; e_proxy="AcIvj0zoIkzbPwaEKyTdv1YlM4SOFf6ZznDSBxtKFBJdcaCoDO5TlmFdNaSCfAbT1rRsPcXxuzBAOLMPUZGc", http_request_error; e_clientaddr="AcIEIHMEkSEcejkwG8zh1Lnl3OykcpsJuCGNpsxNt8nIBRk3RIe2zT1lNLXy82qB00Xzkd8aBC2j1P8Q0g"; e_fb_vipport="AcJf_QZfzo0zHlEwL-pMGQlban8VVaCtr3V_x-dw0H-f_be7anK1pFVd6gtI"; e_upip="AcILMO0WlMdKdynU_n1nPizg3hguMil9N-hP-8jOeGyFdC0vz_rBgodXacWOdXafMHGo6pobW_8S4YONMY5BRpBeCE2NomJWzg"; e_fb_hostheader="AcLEjGsuCeMGcatQe6iROPq2JWLac_V4rYxjqS9MwigXpnU2a-BCsJUjEoMC78kGXcRLvEgEV6Wa97OL"; e_fb_vipaddr="AcI8gKvLYIheHbpdB7VzgLQ16TzS_HrW2d_QxInzCaLV8ZTYvDiAnGwyeuAAalk-TXTuppeWcw"; e_fb_requesthandler="AcLIRMq8L469vsdXFoHjKVaYX4p1hKC9mKIaTIgju_UQ3i_BopDW194--TM3WRdHlWyN0MjnUL4"; e_fb_builduser="AcIixVh74BzKzITO4blZhU9AQ4v0tOHBTmfIFSv29OKOSjUjgAh7HPgy1Bw9nDpGFjo"; e_fb_binaryversion="AcKUBmEoH-bgdxVzJ5Q9tyYGYyQZBGqEYLSNGiXpmZk4jbki3NJIdFOXJYW4-RUj78zZH0oT_xlZsHuf2hUn_Ejg5x16j3tKr_4"; e_proxy="AcLQYOtfv2E2TgRAZzs9wFNyGlOZlOz65XIwyIB-2_1QQlwhzqGsFozB57IX9RZ3YvXf1obbUOffyQ0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609030785795028"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 17:25:35: Error on send one message facebookId => 7609030785795028 02/27/2024 17:25:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7NpWYo5IumcDACn_-GeNTy" } } 02/27/2024 17:25:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 17:25:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 17:25:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609030785795028"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7427148, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZ5GJmjdtmdl6OBcHEwSlJx', 'x-fb-trace-id': 'Eik6fLbue64', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'wTUKVR6WnPfdx+NmsyOotE4FdQOyBcfcqFl7xh79HGPTS2YS4t0tjWganrJbpUgCkebD5JLYiuEaaot0hM5p6g==', date: 'Tue, 27 Feb 2024 17:25:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIX894Ebms__EZNOpgR-f9cU-_9TBD_Aw0Er1spjR9BVyPup-L4C35PHuvFtkhSugKPhHu3Rfz2z7xnjFEeBiuIr5BKKrRtkecmCKSOIe3Njc_Pzg"; e_fb_vipport="AcI0WsU63bIM5PlQLJEkOBbjQ8N95-LqNUdHVgSDE1Zz8nn8SqlMUYvfPKGS"; e_upip="AcLz51ALDYC9bX8slxAsrjyDjLLXc73DRPg8UXlDAKlznNhf6EuLAjonMjUAPPRhXek__mh-BjpPZw9-pPKnODkB4_01U859uSU"; e_fb_hostheader="AcIw0Klfd3Xc33g8S65E1k9ay9CZ30fzbos7qNBjJFiWX-wkzbcd7hIBv5bjERjDcVL06FwQ7VvO_Moi"; e_fb_vipaddr="AcJqM2hWDmU59U5w5FNe6XOKYUeagOx1EWfFUIdMbpsui2zgd3bJFnyjVYh2SKiUqilXQDIalixThilEjIhWd7ZAWJ5L_I7F8A"; e_fb_requesthandler="AcJjUC6LTSCiSL4giAefKXMZF5q3k2HmLO5uFVczeKcfeM-zCpzQ5vsNcKECWYv9lsm42EiiIuk"; e_fb_builduser="AcJULelNY1nVrqA3B5AI1IGYf-i5EWUTfDKo81cuzVBfzyeykcrGQvmYtyNlgAVFeYY"; e_fb_binaryversion="AcJGa2zKftgBc5UEiSAG-Uuu8iSxFMT8EEITOJhOoJQ6gQjukW12AnBobx_6mXy_aAeOKIU3igJSfkmc5GxCdZB7ORkK0fGAPJE"; e_proxy="AcIG_hVe41KmGzOeChPkPlydO77IBX8doxZaBZC6DEU2jr0-GL4vGrv9KS6lgodh7CY_TMhnM30Cn5VbZXd4", http_request_error; e_clientaddr="AcItoGVyBsKgRT97wZKTptNGuHlS5fEZAtrQRPJmPc36NecYZ-9pgmsqoI7BypxtbmofdmhVNzfxaB71Nw"; e_fb_vipport="AcJxVU9-nmB-X9HvQK39PqBGJCdpeVyDIk5uy-bGxSB9TTSHYwoMgTa3Lh4R"; e_upip="AcLmm0nm4MRG0enVTIqPsEK29gX9Fgl29mMFuBvRe0S9l3Lup9g5T1Z70t6LdHtbrKTHAybBnR-p7sKOl2Gk6V8Yb4W6XaPp_Q"; e_fb_hostheader="AcLHkhhN1Zq7d-gReu0OJ8HR1c3F2F0GF8CALc9NcjzJ__ypLAsWF1KzSM6oivcJbnER87Q7P4I0r4SY"; e_fb_vipaddr="AcJJdkOKebaIkqRirVTZQwLzbUcrgXuG5eL93YRx-SIuDweHXTSa3GJ9LkLm3NTmoDsEeOLfSA"; e_fb_requesthandler="AcIB6qmCCSLe4RuJX8YnHhGlWdG_DCjAuuS5yQwBgW3F5pk9LC_PHoeudPW_8gtM5GNsCzA2Xmg"; e_fb_builduser="AcIudJGwTF8KNmI9nYWHdIjplm6ylwCSf1P7hxXawJfNx4AwByD_XaigeTteb5DVEEg"; e_fb_binaryversion="AcIxfgEHvvK3rFAaOraW-Xh9VRQP1ilk1fTOJ3e_8BqWCCehCxYmPjeMB8GnZAFWwjdrlPPDGH5hSXxaIUzp5YBJ28MMlvUsK8Q"; e_proxy="AcLGci888fRMa3CHy2kK0D2FE_MzVyZF6VlZv4eLcYsPMnHkhBKiAFt3hrY56GNYFLMOTALkjyns0vE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609030785795028"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 17:25:46: Error on send one message facebookId => 7609030785795028 02/27/2024 17:25:46: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AK6lzISdMFRFhljfOcjwNcu" } } 02/27/2024 17:25:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 17:25:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 17:25:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 18:13:30: Request bot not found: { id: '133788230054854' } 02/27/2024 19:45:34: Error on send one message facebookId => 5623339997756058 02/27/2024 19:45:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKuIjJ7YMFF-t9KYZol1_Kw" } } 02/27/2024 19:45:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 19:45:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 19:45:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 19:46:53: Request bot not found: { id: '133788230054854' } 02/27/2024 19:46:59: Request bot not found: { id: '133788230054854' } 02/27/2024 19:51:27: Request bot not found: { id: '133788230054854' } 02/27/2024 19:53:18: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7211185025630747?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7452800, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7211185025630747?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7211185025630747?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7211185025630747?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7211185025630747?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AT62grrF24NAwtbujo_m9D7', 'x-fb-trace-id': 'ElMOIWgiME8', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'H+v1hM1oKri0wy3ZkBh/UTCWOyAYnNAhN6o5Qmjq8zTYWthI5R/zb9lXUXK0RIgJ3ntzWOX5IfC4G4CXzUCsFQ==', date: 'Tue, 27 Feb 2024 19:53:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJlXDojGTio8dnfxoM7GEGd5hFHple61UkOjrqwu1g45UCI8AR0WVDhmVuSsfb7kMqERb_rEYp26oQsfvrMgMUSho68DhA8_MH3aAVnNotVz04yZA"; e_fb_vipport="AcKz0bbEpBLyg1ZIuOVmHfgXw6KReqB8LjBZ5rlCeqVOkoGKnSdfQ1wIo5nQ"; e_upip="AcI_hv04ffX2dWeX7lbktGYdRWKgtBPIZuY2n1PIa9Cv4oyHqMKc2McO5D8OC40GjwwtFkG40laUhI3WlY9nZxhXRWyg62CKgQ"; e_fb_hostheader="AcIJjp0Cyrjtlf7wK_WD3p1e1DSZgzz5NVULEd5sp001kvSuZg2481NdRNvJ5vUJdl7wTn5HkC4qe_Kn"; e_fb_vipaddr="AcKS5a30QzTKid9IzD6EIj0LUaUc-qAFT4x6rIMsJOXjAWYMuOqzDrKvu968Xc-2w30IW_2U1FlB0sHVAjL2D8HXC8bK_NRVAw"; e_fb_requesthandler="AcJyWCL3jz6H5Ql1F4rzZOr-4hAA29DF17XAtg4uz6X-ei6TxTf2Lv5u6vPhglMUBLchbwRM24I"; e_fb_builduser="AcLKkSf7yXXk0R6TZhHL5UwpqPc0lf80sisNxc_ckf8hFiCR_QZGMbzHpPSYwzfyx_c"; e_fb_binaryversion="AcK0K2he0tJCp5TfIPQRTk7SxFtfnB_567vP1Ucd99B058QL6DWUER_mzg3Th8F6RYpt-j06d0SccBfNAto1dfdZrz2pniNWcKw"; e_proxy="AcLwn-PwWVN3aW3uv9Zh6T46mD9HuVmfhH86qR2Z7NzaMe1uHb0IKKBO_5HEaqLaN5hR00oNspT2RjzMUABQ", http_request_error; e_clientaddr="AcIdo3o0UhlLj_uu0Jf6_ALZIxoKUBJK_xqEBKvnwzi10a3kXID8autr6VjFiV7XqXtC6TFe773nYrK2lA"; e_fb_vipport="AcIc7gypfGvR1gpHcnJU29DNvQ62pS7BtL8re2Wq5qf4aq9fKBmdZEhLzOuh"; e_upip="AcI_I6MxMXzqZHQtr6Y_seRrB4Dmq3oHywaUUXYIkQ60zFCFOpQ8khLGaD4Vzw_j1s29nlx9kVxytSvmcYQ3XpvDHER6kC6uog"; e_fb_hostheader="AcLtw41VsSGt9IwzMRA7IhuEM4N-_qJ5-CmZ6wFRWeviBxpMmLwx3n3nonbWnvaeOBRfEZ_k9oqSWbKN"; e_fb_vipaddr="AcLbai9vnDM5EwW00gMDt3dw-ceyZK4JfJu9noWsx_8lk3Dx1uJF_T7MsYx4AqPQ2e9pOaxE0g"; e_fb_requesthandler="AcLXfJNCOJaKHbwIlFYG4ARLXLxL402UqZ8eD6NcZMiqyokO177j1NedUMiDGjRsF6P7TI9jC68"; e_fb_builduser="AcKBIA1z3mU7oRohxB5XNQ7dX7X8Mcr51pYUNAhBvAITAuNx1_G1vAVNj23CV-DqR_M"; e_fb_binaryversion="AcLHFlZ1veNWwZAqub2CI0v9cdgpLUpYQLvHlxwJZqx37jn1Lr8E4_aH87eCh5V9XVFovbAHq0b42rRB3MKndYHtKGd4uoQVunA"; e_proxy="AcKCe2u8IJ55vo0Jrgzx5bCOHhhyvBjQai_crNOZ_rS6mP4OqyNcrr3_XkU240GtdUECq72qwO7_D2w"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7211185025630747?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7211185025630747?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7211185025630747?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 19:53:18: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 19:53:18: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 19:53:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7211185025630747"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7452923, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Apge1R23Ufj0z1KeQ0FyO8L', 'x-fb-trace-id': 'FP78EVJVrGc', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'QKQfE5GZmrlTkjMKLgtOPSo5nTz/FU2kYsePBag9xI1Gy7zqqVVNGh/TqD5y0UsGVczJfFqMCPNDGLm6lUxsZg==', date: 'Tue, 27 Feb 2024 19:53:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKgttoGfJaPOpuynszxaMy8j51C8fChiW2HtndJAo5Mc39h62uObxsQaXgP5qX7pvNJqkhB5cyI-Cs7mihkxYzONBbFiarGzmekRW5lnNTLHVNv9g"; e_fb_vipport="AcKQ5Tt0sWYnUeHiRCdqa4xSmi-z_t4ZgcX92bi12Em8GQKLS9AaSnrbCMtY"; e_upip="AcJuHSuScIOHurHAhyyjbvh-oEyg8rPkzRgg-ueKL0oISJNFf1Tm7fMr1hmDZxoCCe0dRSl1MGyXTXvR3fqRSqnVJV617Oaj1w"; e_fb_hostheader="AcL83X5t1nnK0RJYZTd11OydALFV8WlwnzGJhFsFEQeFNQ_hgZck5tKFTKjSOsklFVUIjD-uIZ__H3j_"; e_fb_vipaddr="AcKaAja1uBDE0g-4OYvHNg8snu2KMkLk2xPa-vJNAKN2KqESyg9wezTwDBb7fDagn2N7agvCmLJm7fg13heh28joLlSZTOC9sA"; e_fb_requesthandler="AcIHkprmn5tiRcPZFSPPSBRjBvDWCmBAkn9jmp6lI3l3EFUzu71jgiQNzs9UvWoUQ9ApZgREvXY"; e_fb_builduser="AcLici4QwCK5iV77ywIyUHv6zGGgxShfxi2Li6SfrfdNJ5i6IS-OGp2rcTxlTKMia4I"; e_fb_binaryversion="AcLfyA8ZScK11tB2q72t6cSrvsAwNpvKTiJmKewwrwASBDuMuQLlLLjhATe-APXqAvQf_A34XdJbdCnTOMlEpYo85xcvBDlzRTI"; e_proxy="AcIteYzeEMi63kFhlcmIMloa_zi2sRFHxeOgIDNG1IMF8sbme2LQnBCBEyoJhkl_Duwt4AU9ecU33K5bhOGQ", http_request_error; e_clientaddr="AcKCmT40c4Tvx-bejVIoya5jkeLMNV4yduyCMZP_np9Ud3hBfN-yPzFnLMJ01A6aiPA3to_H7Al4LQE7uw"; e_fb_vipport="AcK8HIkwURmvaDMmeqQRAPSntvlBRhcUDFFAu2wkdH99FIfgBBGWkmTxaO1t"; e_upip="AcJtDw7n7g1RaBBSrqhFmNpzkkYDo0N_LJmxNdzjyrYAtQj9cOJ9SxFlD5K60azURBDu55ZbEhpmWZdOfz4b4rAb2QGMGhgrow"; e_fb_hostheader="AcLSObCeS8dIqCTB974DGpBaO2xqCm4paYHWysE1c-NraCMa6y9VhbnS7zlWWDtz1NBifWJVtm-wE11b"; e_fb_vipaddr="AcJe4pBfPZl7bblCyNemkCahDl29HkLEkcba-CHiJrpk8FSvLLVctSkx6A3mkbGE8tv8Hk_u0Q"; e_fb_requesthandler="AcLbqK-_TP3z8BsG_iUvoYjbLWFeiHTkk225ki7MA2Q08zPlwdrfZphWLfl6OqXGw3bW0QfYkj0"; e_fb_builduser="AcLGwFMlkWAJxBHxLdAlQxwwcToTh9T1LSHLgKEtMh0jjXMysMaHip8wDw9x-EKHdaM"; e_fb_binaryversion="AcIyq6XiFd0yNfYe7YCVMft2jTj9jmtUaLh4YTI-eQRJ0P3QXWq8phrVgCGlnLaqMNVKvtsWSH6bh_d_GVvswQQCKMFhxTvJRP0"; e_proxy="AcKiWbLMPDOYIdzbCqu_UoX4UeNI6fcyoXthxEK-NyjZPFJi5jZsdVksX5dmECnVM3XcevpIA9DayXfi"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7211185025630747"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 19:53:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 19:53:20: Error on send one message facebookId => 7211185025630747 02/27/2024 19:53:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJttrOuEGJ66CEP007zMLin" } } 02/27/2024 19:53:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 19:53:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7211185025630747"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7453001, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9tSpZyV_yvpfhGwlMseYuA', 'x-fb-trace-id': 'FeK4XJf6dUz', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'uMtUyShF8Dg6Z35fiVczm0bJKB07GzZblwsVPgvs25HXQCJaTbwtxoK68NPvKhDFHxiqF+mj0FiCYC0PVYgrlw==', date: 'Tue, 27 Feb 2024 19:53:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI5EAOWNBGe0MgMnavfrAVcKQbEzY3QCwXqbriDKF6KVR7xuJmXVjojMqL4nXsdXh-7xLCw2CKYNRVTDDrAxx1vtVhh4AThEni7Oz0967qn_SoZ"; e_fb_vipport="AcJu54UHkqjeNUHLpCh3-bHiaWGp3RefKOu6vxnnaEfkIGCnkdtYJVL6fhBc"; e_upip="AcKxlic-rD2VfYT96NMGvEL1BK2vJktdiPeXwOly2s9-hKjiCjN6V3VJ6n3JQYOsuFDHjJt-uuy296S2hH2c8bLbaPyWwdblytg"; e_fb_hostheader="AcJric8Wf8CROch1xDtkf3gUIIrRLTgQFmX4oBUb2uW5AveTwIbQVBieIXHq_W8zqT7R7I77hpxdc8Pw"; e_fb_vipaddr="AcL58gPMkRPsMgicrD68rziCmcs9ULBmtjrWoD7bP91oJ0cn_MYQZ29VY-0jMe3dZTGn3HoGbwEnZYQQrcFNS8Po3W7vkrQhyA"; e_fb_requesthandler="AcLqBaeLqb0VbSXgbqnUlWiFIjeOtc4dVVliHkUda2SygEJ2cfoFsi0khM1tWScC4H35B20X_UM"; e_fb_builduser="AcL32uFu1yngri42IfivsNPlYndM4vrSKF5VqWxRwxzIoNTRPBuYM8wtI5wJiyFQEjc"; e_fb_binaryversion="AcJd9U_wVAY4dT7d2i1onaanR4dX7ZcgsH42Zjs8fUJuPZSKBvDTbq4mCzo9_hy8nBfJasiFdgJi8zSA3JAQDTA7Lp0aep6g5QE"; e_proxy="AcLRml47sKe8RrkwxqnLVLafhQqui__W_Z-lWx4lLkNOFLUa_Ob7GQU3HZ3bHv473vPL3oSwS7qBedb1FMi7", http_request_error; e_clientaddr="AcLGPIEOb5IqlBkuLViXmXfNe_PHJktX5pElxWnWtwWvSnamLYP4cwhEhXJHKs9yIEbJ7klhMrKBt9_Dvg"; e_fb_vipport="AcKzJqK5MOqqV47dXrG6PKj65Y4S8Fu6fr39Z6q4imdgJ7_OQr36pcf0p5mv"; e_upip="AcLL8n_BHh91-xRzhCmBYh-emBaaAznxERpdelP5Q7eiSwV6HC6WCepLmoyGrZG5t820HkCTOEZWyQwex-3mvNcUtrC2_NB9Gw"; e_fb_hostheader="AcJOJJvoHtvVEfyrHUdK0mmBm_RyQHTYpql5g9FIy_CJa4Zi8RjjuG53gmAOgOnRfo2nzt8Kk1zpfA7E"; e_fb_vipaddr="AcLlVqhHqIZwTNIg3aDBwW1rnc4-3_t2R7GABA2JvrD31g637b7j53uKVJpIwn_y9oF3YkQJFA"; e_fb_requesthandler="AcLLPQ6DGOhqTILviMIMAKwQlCFVBhqmFnL9_UqS5J1CHHNr7dIWK4mHAhlC77ooYK66u89D8HQ"; e_fb_builduser="AcIjoxcBnUvUnOAUxCodnU44obh8OGUgcfhSPvSu2OuIdEcbikniz0WDeZqmRiE92rA"; e_fb_binaryversion="AcK_iL-9A4tjf0Yx2b0TuXknatsL2pBFbpTIugioXpi4Y593GtKyjx2JIMbmbJFaIOBuEKxIRlj4Q7eY1PrFzPDHYBKq2D3IKRo"; e_proxy="AcKy6bbgj37rjJ-uJGITLa6pwaEm8IsVPbj-ftIDM1wyCAebzSUg0tDPwdm9-GxA8Xkiaagye3j8KHg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7211185025630747"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 19:53:22: Error on send one message facebookId => 7211185025630747 02/27/2024 19:53:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2ebI-06HLNnE4kNj5xlOAK" } } 02/27/2024 19:53:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 19:53:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 19:53:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7211185025630747"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7453142, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Av-ZiChSk84-KY94MR3Gtw6', 'x-fb-trace-id': 'DY0A5cfejus', 'x-fb-rev': '1011681023', 'x-stack': 'www', 'x-fb-debug': 'vtx+qqg2iBXvBPIDh9USEtLXmkHcur1m4ZELae4iKW3IwU5rtCPGN1h7BrLTh2AT+Curjk/Xu9M9/PMSao93nQ==', date: 'Tue, 27 Feb 2024 19:53:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIn6UGhlOPv9yGH18wbJuoYCkVAsq30QRbcDURuROVNESej_-hv3J04Eh5cLRgN--JeYAGHfsym1aZKAH4Fcmy9zgUlyqYr0ESx9RlF8_oZueIw"; e_fb_vipport="AcI7GvcAgEExPPkZmt5XD8NgdsBB59Uambjvj6PaJ0S-i6cZNaEe84qo9VOv"; e_upip="AcIQFtruaVZPND6l_-oyps1f4wWnbalYb9-dXsbCSU37WSxqmN6NqjWVGTpAU_RNurpHHbdWIyTpMHUlgLijJVHT9jG2qpFRjQ"; e_fb_hostheader="AcJpxG8_EMQqpDuOjIIJObI05byX114SZiyjZ8ESlL0i4jbLGZfFenDURY1xYQTRMJypxrsGGpzHPAYm"; e_fb_vipaddr="AcJl81vnsIhXplo2zOho9zOixEW0GE2e58B2iKDd7Lae4HsEeeGycgkqvZgM_NR11CYnaob-cJbUTFqAj45sJwdrqXqdMPQEMw"; e_fb_requesthandler="AcIX8coMsHCRGg_LSlroZ_DOrjd6hCwhLnKdObawAYp4gQOo-z7giqase-e3-jWhywDoCvI5r5o"; e_fb_builduser="AcLHFDUsFSGytzGHxSMemFUH-mi-0zUuA_8GjpSCUfYH3aRCepgCUgb-XG7m0LGF8TM"; e_fb_binaryversion="AcKPStpaKolnFnY_ylyTiLVinjPtbuxFWZsgkh-n0iErzKSwA4xddjOrNGvU6JxKYnwZPZMf-Es68e5vsb8eIruNamgHnRmLnDo"; e_proxy="AcLCW626iO5PCRCMgvM-8paE2UYH-a1g8Fd1FzOyH3P7w2rm7dKomsrs4NsYw4Fe-bW8O7noIS_sRhuaD2Br", http_request_error; e_clientaddr="AcLTa7i2qK9yJ7xt2VjtfGFVT6X6E-__NleTO6RvQXsIM46uPkLwM9ZjtwpmgVS6-02rTBO1HFTrT9INLA"; e_fb_vipport="AcJ-cSEMEHM8I_nsqjyq9cYHxl5fOJ0rjArYcXjNeo8khSKk736zyPmMEZyA"; e_upip="AcKpa86ePSRjdAoh29oqtXsaUq2MHV2lDzcCyuYq-pGODHJ-xTAzpDpGQegCHbabgyn4q_lwCPjpSFHxMvlIA025nqhYIvwbVQ"; e_fb_hostheader="AcLwi7p7obCOjVGtHxDXaockCLvcGdvfVAZKYIAawOHgq_9mMxTmWSLKGj79hMpnxBhJlEUCN-P-UabN"; e_fb_vipaddr="AcLHOFQ4MssMcKZgsQPpAFN9HH31iR_A8MkUGo2LdLTEHBo441Z4cj5WXR2-fWMmuiORwX1OuQ"; e_fb_requesthandler="AcJTe1j_hs4v_q3G_QiL1p-JV65vaKiuQowdryQ-neINPZSMUcJsy2L10YZsUeiE2vZsmLahAfg"; e_fb_builduser="AcINVZUJQFuCj951XYJgiroLmg3pPn8Sy9pqO6hpuyIxJ-doc7bOfloCYrJ1qf4V3_w"; e_fb_binaryversion="AcLqSjN1-_cRj4X_jR3Bq7QJ6rqXiyFjUt3Vi-fMbNhcysYNydk7g6QkXSl_OzT-ARUdPcQG-6KHAypKKihHST1CbcdZEjxZ48Q"; e_proxy="AcJFbYb65s9p38-Q-NiQsT8hhnexbgJM8Zy8ZLRh1pXARMaR-n6Aj0ZGLnGyUVrB5o2QsONCtPQeK7E"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7211185025630747"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 21:22:05: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/2670344296350948?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7468014, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /2670344296350948?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2670344296350948?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/2670344296350948?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/2670344296350948?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ajf9ynHQywC3XVMPBlmudQN', 'x-fb-trace-id': 'CRF5pPJDciE', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': '7UfuSZ2YjlQpGWDmes0fSyya10Ht9INfp+NbExJJdZe0xsExAn1fFJfJH1kV6lGhejtJpsquiNv1PUqzO2HcDw==', date: 'Tue, 27 Feb 2024 21:22:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLw0208XDccxPv1R8yZIBpLOhbszawHMHDlzcOSGkNBAbt3tzzbavKDeuD-xVG2EGHLuHFppQgMFBrqP13SRVEy2oP-ZViLgRGTycVLMn9yldeVEA"; e_fb_vipport="AcKkAzzqW8zRHrwdy1D0bny2NHHbYilcwP5XJJkhIb-wNwSZVSAhQNTeSXl2"; e_upip="AcL6zEeBoVI7S127t12FeC1ACVJKrE7bHiwHkR7Osf52EUD0JZuhpwwDLWIWsJxVLXgvr4oohK8QTbzLvDVOS9e1fuYGjA2heA"; e_fb_hostheader="AcLgRgMEzOx-SEg8FXTlz0kPjC5HrY6XbsESjgx_KhDI05CBZi3eXpuW8Hvkof356akQuhBMQDRTpkw5"; e_fb_vipaddr="AcKfxEYrraIBt7rs77xFxXnlBdw1ZEEodGDuUZ_SEbfh7ZDfIJGBQYHsQrQLxGzrvc8TULGpvzn3E5poy9MFIDgp1cADNNrIPw"; e_fb_requesthandler="AcIuGa7dFajOiHyL9pkRfq6wLpXVExnta0j_PLiOhfoOtKWooDTzTt3ZwnZAAxDiQ3kVrUbdrfY"; e_fb_builduser="AcKjp4af8OEB5GXvkSN_0rR-eM-sQCZBqjLLiQrrjQefI-VClbxMElh7Q6IrL7vTpEk"; e_fb_binaryversion="AcIuQuQ8R_Klasz824mr3-H0Mz8fE1-FEpkdQ-E5ySCAWoWjVZYnFzWj2RuuOcs3Blq1bqc4yxBwEi_qfJje2chDfQoP6cAqL9Y"; e_proxy="AcJnNRYXU6x-zSuYwU1prQc5YXM-KWZ_51CjSsodyT0yK9LyAumjvPKTWXQlfaglrRmcKe0l9onzDefr8im-", http_request_error; e_clientaddr="AcJG3OD3pzsVnuTbE7xxyxYDixIUcwVEHoPCxQs7k5r2wXBF33jHyfD1SThx0rPees7zsxCmvhfSghRdYw"; e_fb_vipport="AcJZvQ05ZtcRotRsRYpU8gkYNctjMsSWoRiFrBQAW837wmuh6MvXOP4F5s6p"; e_upip="AcLqK2iIvI9fX5Jf0bsIzNOT-aco-wJcziyZdPO9jFgspAiwCYaH-33oHhqZO5V05swgwjE1q1MSjSOYdOKBU1YSf8zDa__TTA"; e_fb_hostheader="AcKnBwacQNzDXL52o6LkFVxD2AV16MeXsNaxrIwiuONVxxryjIK0JxjqncGDhu254nsYPEOdXbtq6G-P"; e_fb_vipaddr="AcKV42t7fjVa6s4Ixmgk9UOvl11KtlUGAEZFb6wqNByhWHYVvSbCWFh39t1h2-FTQki4AwQ"; e_fb_requesthandler="AcJ17feB16ndm3k00Xc10xsA9nA_msFvWrhFtEDVfZw_2yfx6wFjb-d56NEzkVOW11_3y41Xdnc"; e_fb_builduser="AcLAG7a-_itETEY5ZKeWW76FOA2IvBaGKiAFiFOzdWss1AU4SapkiNcjRTnoFIK6_5g"; e_fb_binaryversion="AcKHx8FQems8d1yJDp2QkG5GIA8_1QwvFWVKD-s1PsgOYYeWa6azWhulKyEX1GFvRNl0yw_pQ0ttCoJgv794cXP4NeQHhmkULtw"; e_proxy="AcLKu35qA3leBLaqlmwD6dtXgcSfupUOgPtnNavtwzrjgQyO3mm82LZdiwcUB4nAr6ydVWo7I0N5tdk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/2670344296350948?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /2670344296350948?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2670344296350948?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 21:22:05: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 21:22:05: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 21:22:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7468137, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyU2OfDe-BbSeL7eirEHw5C', 'x-fb-trace-id': 'Ep6v3I4w2on', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': '4/bxPopO8Y6L4Kup5zibm36xft9yRUQktOCLc94NPvFfrD6u2VigLquqkDFSKLd7yUBpRAUuAIzxEoxumkYvbA==', date: 'Tue, 27 Feb 2024 21:22:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLxsRkne-bCqaSBnaL5TDgZi18GTuwXjahypH7IIC2MUQLbygT7n57CwIlT4HOsAndIJW2RggjlhMCNpB2Gu7ls0Tc_fLcvH3skY6jo0SBKahKg"; e_fb_vipport="AcIMjN9_GImEhPPLq2CUKEYMTi9ux8Q6ovQzFTTnq3BGnuyF3TbgAPAYhe4B"; e_upip="AcLXfpdWMGNKfwX5GV8Jfnfc-dq4dSLt_Dc--Hz-xHlNsqDRKzqvMT_Kis9zEE-S-A4Ppi0d5fVYEqFgLrZPwzSX8Cv8pVe_6sM"; e_fb_hostheader="AcJzz_pLx2_09DwL6GGneO_wH3o51g8HOhZMEdAQ7x6a1g3rPdUl_U-A13batifM7lrrDZaGSSyHz98D"; e_fb_vipaddr="AcLhr8SORxGfhTUIzWwCYMosmO1lGZlCAuFAXpCQCvV8GfhhM8nVVGsWNyeghnwbnY6ldcwoEtlFJnc1ERMx-UELhlqzqaRvhQ"; e_fb_requesthandler="AcKKINu0vHB_2Lgove0_LTqGf-x9910xkSf30ByGCLYRQfQVfGoHOvJvnzZMTwiIZtlxTURDWkU"; e_fb_builduser="AcLd6yc81b-5MpxuceJlDpgJeeZH1k-gzuTwjsy2eKKoDMNN_c_2UPxrPuvNVEgwvuU"; e_fb_binaryversion="AcJO0wPZKgAYWVW2Ya-NVXoUzNTH8m8BRo7wfoWhayrlSOg4JxAw2dCTlzqQf-yQbxAD38s3nA0EPFsijFtRCSrkVVkf8K9iIUE"; e_proxy="AcKg0jJD52ELtMIj5XDPEiG0Dw0o-ZktPBmygTNBron4bQhLjTl5FEj_ApZJ51e4LDXwhj02Fc0yJVjEF_kR", http_request_error; e_clientaddr="AcKOZUFEzcRe1ghJI2CDpxD7-44N03Vq3N8u-5RPuyjpbAJFbRC3TXhSCtnNbd7pR2q3O9EJO9QdQE1jJw"; e_fb_vipport="AcKcDVrOJRyx05fxiVdYBJfjG160kn3Ict9srgEe1vORwS7VB5Y5GDAWSCZN"; e_upip="AcLUwbSHre2hCtwXjdhG5c4S4m9LQQwAwzjtwwidJq9xjWH7oWi8EvT3ITnt89ChYFRELMhrfXJUeih7JiU-GAgl7P5CRbwDdw"; e_fb_hostheader="AcJkO3l3cCO2t8IKYmAtBJqVynaVOqNLkQOM6Erl0sQo0dmBPKDgL-mIAzY7JsxZmWa4hUgISD8CVR-R"; e_fb_vipaddr="AcJavYbJ5Uxe6lrLL6a69MzjKK8Oiv97EE79EwtV5cXH5SmrTWbUttl_iuU47GHQn_BShNw"; e_fb_requesthandler="AcJYPhDniKyVGz6zD0GJ4V2YtoskK06wkJlYw3ZNMbwmxWfpvxPpc8XAF1wH73j941v1F-T5odY"; e_fb_builduser="AcJbUTdFDEK_8Kz8Wah0fiF9CePl0I3x59n3SWZk2VrnM_eBSaQPCTvVKN2yA0CiFf8"; e_fb_binaryversion="AcJEj5eUoQRd3n6PLEoHux9oBtCiIw6CEpBGkeAQPGylcqfdgcuL5rA1AZY7KVBLwsaTrGdZOcfkobsqYVxBX6kEfstU-joPqPw"; e_proxy="AcJSp_K1esztsERmxNiXtH3U8hWROUL7eNfZPu1TbCZ-fxx6MLflPeUZgwzJ1kCWfgE0Lyj8HGK6bZE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 21:22:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:22:07: Error on send one message facebookId => 2670344296350948 02/27/2024 21:22:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AB_3o_wlxbuqL44pQMVrK6N" } } 02/27/2024 21:22:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 21:22:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7468220, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEJdKqmndpEYeHncHq70Q0K', 'x-fb-trace-id': 'Cu0gppZUzMy', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': 'DIkWieezZdmkb7I18lahVnUQy7uSfEnDRJgiIwDPoOwZtHRog7Ifymix8zZEnJWD/BCEtkrfYbxjf4jXysUlzw==', date: 'Tue, 27 Feb 2024 21:22:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJIPCnfLlKp8p16hIlixcT3jGEyyjBJs_phfR2MsbcZQV3GkH9GmZVHs2Al_Dzt08vZg5bNnsQhcGOSgHOPnSQYxAM6aKy3IafVT0fcWkeI4eeoGQ"; e_fb_vipport="AcKGBYdvSzj6JFH3-9KtqLYvYhWiiws4LgUE-CdwgGUBmtmHQCNCx63ft4ZM"; e_upip="AcIxFXFBdl3gX7B45WXDaxX7tbvUrYAmw04klo9GhBrs89Xm8t1ls9fgVZ9Kem02ae72Dcpcqi2Q58Lnv3nO51mmk9Itl3jnTy8"; e_fb_hostheader="AcKDefVKtU0LGZSVbxhRLF7KP_lv7_Fl9KNw_y-q6xkr2vZsU0tnvm8kgBFoCbzudGWr3DPf09gNl-1x"; e_fb_vipaddr="AcKDi-ZHORQGn9jURqL72K_xiQpDx1lT2vZoZ0YXnfOj5H1m9vHO8JLGJlEFy5vpoWbLG3YM9WavbJDp8YCUX6pWJE3S_3ukwQ"; e_fb_requesthandler="AcIVYgts8xQbQm4tVuKUh-XZuBlDTKWDC90vshVFsRn0R8i3eZNtCpB6PKcj4KHuMpRcauCLu2g"; e_fb_builduser="AcLjm3mRUA0RZ4ZF8-m3a9vhHHwg3lQquy8CxzNwWBqP67xIjOPpR_YZHSwH4ORvAKM"; e_fb_binaryversion="AcJDyLuIHczM72wdKtyyDYPXJTmNLKw5K63-OEBd6mRo9rCMXT7zQvSWBCoLnaiVMin5N37_SN-SLAosghsjpkKlLT7wLDyh84Q"; e_proxy="AcKyNu5p8G0Tr40QWb8RTFcVcwj8kynoG5xHArD12zN9cNCeNyxFy7gcOwprdXuJCq5gEISdsZL64PPxCEaD", http_request_error; e_clientaddr="AcLKEyvWI34c7FpNosj04QcjrlK4G6NbMY4d4E5I8pZeGN2vgQdKDwUsU9nPl-Tb7-sQ6COvVLBc7QPeww"; e_fb_vipport="AcL3PBVR1LH5JzwZxIJBqNsjmoDMhO0NDOAyNvRGyi_dgiH2r18B5axzsbSp"; e_upip="AcJau6-XWV4MHCxw0XE1VL103ljntg5WXBNa0mN2Jn5nLLv6RuWRWn6ZYTz7U6gaVRAYlrSfnZxIDQhk0-NazkPgGxfR3iqWbQ"; e_fb_hostheader="AcKXJGTFgVnlr1jMnP9Dya0DJxrycSCO7DTXDUhM7vN9zLmLsYjDY5vqwVuxEC-cM1u-7IWhBXFc-bv-"; e_fb_vipaddr="AcICoYEK-ySHjt-pVk_k2FcbYuuRyR8a3eRrvek3PvABqwjNHoHZKrY211fBLhk48LrvykI"; e_fb_requesthandler="AcISaFguZrc1iBZR4tOI1PBNp4UFLZs1yYhplBD5HZ8ckALYlJk7OhDN7qYuc-F6pWGZ8lIPNI8"; e_fb_builduser="AcJYiJlUgV_cTiVHyj74_Fqf4U1IYNciKJ_mbqZ0M_6gnWzZaLlnMuIH_1gGGKUG1vk"; e_fb_binaryversion="AcKlY8TS9c83yK1xbGSBLEgn2bmb9Gnz45Afl1DXmIgkpEnEjMJRBob5EeodmkKEOA7qcl1GO1LPvk1yD6r2hW024QA6rEBofXg"; e_proxy="AcJyMiDl1f5FL1eMdVNQBlK7BJYOk5ZCHKlLw6ypl9wfKpBoBbSdmfgk5mmOZCZSm115N1TjZIsP5lU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 21:22:09: Error on send one message facebookId => 2670344296350948 02/27/2024 21:22:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A3Io7ZvO8dHVDOaWzbh7Lzm" } } 02/27/2024 21:22:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 21:22:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 21:22:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7468366, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6RTpSnUexNxH43ifpqnUwp', 'x-fb-trace-id': 'D4gJvGNKiFi', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': 'wo6YJktxRM6JrRx87H8V/NhZxgFThlW/aOJ9N/eDAe1+Mw55PbGkUCCW4FYANuxKpvlNijwz7izZBf47UoN4eA==', date: 'Tue, 27 Feb 2024 21:22:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIrvEw821jJeHk7oATNV_it_gVyU7TgjqOGMKAFsPU-qwPB4JX001TMsf9SlNH5E1j1PFedLpgPnACcFN0K52IZxghJtVJpT-0aY8qIjodCie95"; e_fb_vipport="AcJbMjZkgNiXXJsxEhXVMnFfjWzmVZVqj3iKKaEH-Yp9fzy4nH39HdriJd7O"; e_upip="AcKA2S6ItMSYjW5hmSMfoMkPNjpFhald6LfpMegrNx6IciHygTyFETN2oHk9ylBRm8IXXRVnO-t8xvUp8CS1BJkCnywq69LfyUc"; e_fb_hostheader="AcL-1I9JSSRXdZkvzFOu-3wewAldiMrHwibvgkVysdKASbG74PUU-gAvgwwrnf_L6nH0DKi570rMeHiX"; e_fb_vipaddr="AcJM3Klfi5TquYETfQ_wyk_JuZIZmVAFMHkXJM0HWFGBZy8RAzv2JqqUDdRtAv5S4sSV4zhuJzLx4pA5mY_6B5lz3gehhh_d4w"; e_fb_requesthandler="AcLnmhGv-JRA2iBCQYTb3ipZaiFgAUSFUeLfkcSchLj02uYoalX9aYJCPXAPT6P1VIXRiov6A6k"; e_fb_builduser="AcImldyV6eikuGWEwvBNKUDe4lXpSdgogYOjqWbdErCN4w6PdNB8XRXHSTtgZCgE9nQ"; e_fb_binaryversion="AcIzxZKPJok-sOpSsZqRF3fHoCAxEXi2hLfu2qd8Od6x8SjAzf2-WhOAD186R6bfxdGQzVsjqlbircXlbj7MsQyJjjnaEMp5t90"; e_proxy="AcIX_iVy6AXe0hXEmg4KpNCvXcYo9rZag2JuwBlVJlCgO7knG1VBSle96TMbgkkn6tNwRyoVP-BaAFO5tSJU", http_request_error; e_clientaddr="AcJjQ4byuwT9WgEtEIOZlP3ZQLFwN1JmfApsaZaO901D_SR6XMm0SM03A0GrnbROnpgfx5AxOCMRfocGgw"; e_fb_vipport="AcLn4BgKJP_vP2aBfFb54JdVEB5UDEd6wrzLIOC6bQR9nHM0RRocpxLnCj7O"; e_upip="AcIIIdB_4CZ3uO52TfA4pCIAADU756scpjFyy8RC0Jjo-rE0k4JE7jwPyaJFpgV2FDiLl_aLou3QEzRvqEJnO4xNlb0vLb1Prw"; e_fb_hostheader="AcJSjkoniRsIfcDXmEEChAmOqqdOX-5ucmfh2Altoao0ZKCRsfc3mslNOtEjVIbeYxouVLVnSVANPDEA"; e_fb_vipaddr="AcJFClKYACyOmv4Y4agRo3XUrStZk0BsmmqMhwcqhNsDN8Syt3JbMzxJqByvJDOBW7vVAXk"; e_fb_requesthandler="AcIDbg8SJwotBjcE_hhk1TfIQkprvlQE5Et0H98zF2sQV5YLy0HeOQtOe4TdGW4c_HfLUcbj3OA"; e_fb_builduser="AcJlN5bqqfj4XgkbZl_Bm1d8y1stl2mlCMR-CcmzT6RcsKBw6DOBMO4nHyl9WOC405g"; e_fb_binaryversion="AcIq83VEnTuCeLQB_igkHEgmXt0m7SoqBIz_KXpXw_1CfXXtrcfFqc0UiT1Tq5vM1YxLUoH6ADgx2IUv3JBR1e1zyjPPptezhCw"; e_proxy="AcKWXRehpRZJQeZwyPkeneD6BFVniAudvKfydRyWnMAGxhGAREk35uCHZ8TpwMd15wa9-L-EDJRSmWw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 21:22:26: Error on send one message facebookId => 2670344296350948 02/27/2024 21:22:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ab6KGNFwa1UI2GPx0rdZ0lS" } } 02/27/2024 21:22:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:22:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:22:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 21:22:49: Error on send one message facebookId => 2670344296350948 02/27/2024 21:22:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AxUFS45RteFD3LNDAoGvsj4" } } 02/27/2024 21:22:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:22:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:22:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 21:23:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:23:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7469151, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8SDLkE3mL_z7TyS6HLk3Gf', 'x-fb-trace-id': 'CZXnu6ZOwJp', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': 'pt4fzNuhlKH06WsQVcqfycgOALqgyFlmeqWEmglDYkr69G/MgZbCgNaAfEow8mR2yvLLc8v8feMSRGO1EipAmQ==', date: 'Tue, 27 Feb 2024 21:23:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLxnhLPX9HXRX3dc5NzyF87tHJzvZxBvVIQyk8goZj-1LdzVe-YNWNE2uQBEeX10wagqyfeilajRpy3uwDfqqS7mkNjwM2LfmoWYQPIC2fwDHbX5Q"; e_fb_vipport="AcL642w-CRqn17g7gHtjCOlvEskazisxxitVqT3YIxshYpfAQEAuOrLA0aLi"; e_upip="AcJHOLS-3aykt9UB4yY_DLsWKLc4vkG-WABweXAOLaE-ExPdY5NajQNhHMC-GQI33P0HSC6HGuzDtqCiwU1_i7lwZI2ygnQZJiM"; e_fb_hostheader="AcLJry62DIJXohRZr81PQro9gCTra67LQFsr2C3xhS0TPClGnHKRK9GUUEe8Bq1SIqvvHs_EIUZRc5lz"; e_fb_vipaddr="AcJfkTnJVbalYP_WpJXifUKRNAjdijMGu3EqTpHZCxSGBqFRl91ICIlnzOwj3t-7_V1_0EuFOlIOAJZQX1IcgKJG7K4OIFA4kA"; e_fb_requesthandler="AcJlQIz6KaR7k7m1nyhjhjY0qJdqUOiLmyGuCObZoY8DKEn3E5BeHm73eS89nF-4yqcp8RZiwEw"; e_fb_builduser="AcKTf8zT5aG8jqt39hsjnd1AJUDiIQTKWIQ-220dJKZkjR7HgkKtxjWjQdOFsRl4SyQ"; e_fb_binaryversion="AcLKMPLiSYVHRw3JWNoJSsL7JblvxLp3D_Tmiw8rfbVVZHSdFakKZEpWjUhmMhE7hqT2ulewCDa4LM2NSKBcrYIK-Qz3RIlQU50"; e_proxy="AcJT3mAd5qsLo_EQ_Qk9ncy6SdfFXijI0vu9pzBmC8TggiE8MJOrNKDDUvSCt6kgL7VKNdIe7b6xPvrZVQE", http_request_error; e_clientaddr="AcJeGjFv4yTWbFP6EufjjICaSA459XsR0rivqB2N3RqGAIqSJ9yWUBH6fhwP99x8P99lO_nO0aSOHBoB6Q"; e_fb_vipport="AcI5HW1V28bQ_dolqOhewPSPutKy0TYOBlzoYsf7lneSrLq6fb3_vWUzmnXY"; e_upip="AcLKHwP78B6B4b7-jDvbyQm1gpCR7sw9q-RvbbjS_LMIE0M65I5z4Ng2G05wsO1L55hO0SZ9i-Oq5-lsWLNv8brzQGtaXRX9cA"; e_fb_hostheader="AcIlmxG58O3n2GhEOhv54gAfHfftcPJVWu9FYC0ph5XRXL3Q33U5M-1Vid9Rb3OUhgtVr7d-9QBb_KD6"; e_fb_vipaddr="AcKuFoztpF0vMpZEWJfXcOhheuSWV-XlFkcpaApxzRHG7Z0N9emVKgVmkTqrlzcjMyF2Xds"; e_fb_requesthandler="AcIWsfuRKQwcNOkchYdC2k1N91SJYv1LtLy0F9KyIGo-PbmHWjMWhhGdffVtWzQVv0J9SoDIv1U"; e_fb_builduser="AcK0LVsoq0OW7n2hPXMPAZQe3M6ResoSapBF6VUGrJMXq4dqH2H6dSkUK1qV6WKz9ug"; e_fb_binaryversion="AcIV0J1pPnT49rVVpICeFto64fRuisaSSfMyfxfRvibqjRAt341Roa5E60bvxUj7wYqrdCt2ozXR2dSDFCN7w-E5Fg8EghzsAWY"; e_proxy="AcKpO9ppyUsj8xH5iABKC-QrPv-_5mn4dlV7qrWZvBnWLr5OTpkfr7J2O34fNVgiK-thKgtVdh5VYd4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 21:23:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:23:08: Error on send one message facebookId => 2670344296350948 02/27/2024 21:23:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APdLhXsvTWXhqrs3TErWYs8" } } 02/27/2024 21:23:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 21:23:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7469284, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASllgMH79EldRweN8mtRa-z', 'x-fb-trace-id': 'A4WXf/e/wZ5', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': 'Q1hyagpCYxZAw7JOc3svi7Io0UuJqySOSG8IuqerH7MH9MrDYbqA+JPCXkfAVwOg23g9me5Z7F1ZU1qAJFMekA==', date: 'Tue, 27 Feb 2024 21:23:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLRtbbyZaXkksc0cInlrY-bJ939I3fHI91eeUXPHMx4sM3QRgw_IjiD9aMSgVYWH_z90cKBxZJyxArrG8xZKD7fH0w1IB8eqFSRm9wnTmbCMgDHxA"; e_fb_vipport="AcKDZkstJUJ5XNwKhrJ-LPz71T5X8LBnD3XGC2qTKhBRBkpTglyz6EPsMUKb"; e_upip="AcLPsqtA2MkdlPGE0XgUDacTNeLIOltsfhNeFBtoIOl4LUrh2Hxaiyyjx407ULJWaZ0NGX7YkhUQ8oqr1YmCBUyrre8sglznddA"; e_fb_hostheader="AcKsORpWvXUoAlBNNPVxHFv6B-2sFLKPxSAUuN6ui7q9mLMSxvJYaQPSB3N5tMb_vfrytGMpSHN2I5sL"; e_fb_vipaddr="AcJWXfCOVGBZdKcW-doJeRa9m8UL1Tqp-KlucpmXGGd_gyyXe87M5jHhwFy2PRNgmItgPF4HzpzflmBMrHYt6tCP1WOSvwgPvw"; e_fb_requesthandler="AcJd4BMC2nZYGv4wz4h1oiNi4uyTeyp4qNLr-INpeaaPi14rAMlncCKPenPDj3YAIPJWoVECLVs"; e_fb_builduser="AcJ9Fkow5D_J-zV7IdXEmfs0zE9lU_sMWxnRJnhqA57oGdjor_lDui9Ab9d6WNYf2NA"; e_fb_binaryversion="AcLPa3q8rqC-T95DhSHfkx-oP97CFXMp1-7mFJAKChPKJ1u8rdmPWOkgTTlQKU7KBNHiNijisXHKnXi05icTjKX0n2lF2qg4Lgs"; e_proxy="AcKpakmGjgsC1jJat5AJxaKLtzEBO4A3fiSsHMWy14Y4kKcbr5ZuyobPYEkg7C1Tvx7dTiMI71eZ-Z5s470j", http_request_error; e_clientaddr="AcIpISut0d9c-lNgCDKDLtEMVcj6-XFH_QTc4AGf9eYYfG3CUtQhFdjsrRTkWN62Y7Fzg0L9O2IxZk77ug"; e_fb_vipport="AcLuxO_N-6hj6wrwm54RgRVvqamp9ilkAxsMlRNydHKlHyTC1sruxV8Nz7qD"; e_upip="AcJCgURKD6XuukCLqtk9qbcFVezmbT7MSw7MnPt5mmeU-jxhPXUqwnMayimSHWKo6NlNBW3I5xql4j0eBJtHwEueDbDMqI9Cyg"; e_fb_hostheader="AcKpDHs31zcKWRgvUStObkA9RCoNPQOlSDvOeQ_-U-SPNkAqGLLAai1DG2EQWmLZ4ZqqyOyykqi9ac1Y"; e_fb_vipaddr="AcIusmo3im2AF8s-IWsfmvgK1vl0WNMt-WIZ7nF8rm8Fv4qYL_AVtFnLls4TMRL6g6eRdxY"; e_fb_requesthandler="AcLyz45Jl8BmauMyrXYNlZMW3kmfEQlmyfqeiKnCDXf50AKrC_RGp6vMlRwf6xFKxXZzAYuhP3I"; e_fb_builduser="AcIzGwSD84bTVx1x0s1vuMT6ansXjR4sldrS3qmjIFVRxA9bHPtYWssVpxa7KzoRkPk"; e_fb_binaryversion="AcJRACCWh79AMq4Bm-KC-T6ZCmHORnBApoUZdeSZFZPnNaWE0uNLZuIJcpiuQxdW0i7g3fu6lMkDE0WKt0gdejX1MmFaljHrt_E"; e_proxy="AcLGM41Fpq6tCoZwSNYahMCBO0i8pFb089QMerNb3mpV5vCQECiAOmnAjmApehjlvpKxBNcxJ9edmPU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2670344296350948"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 21:23:24: Error on send one message facebookId => 2670344296350948 02/27/2024 21:23:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AaBeUA9AeVwGsr1eVsjBAdg" } } 02/27/2024 21:23:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:23:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 21:23:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 22:19:52: Error on send one message facebookId => 5626197274171144 02/27/2024 22:19:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AonjeWuT52aupc5kI-F843u" } } 02/27/2024 22:19:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 22:19:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 22:19:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 22:20:24: Error on send one message facebookId => 5626197274171144 02/27/2024 22:20:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AB799Di5fzov-LFjPlcG0Ls" } } 02/27/2024 22:20:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 22:20:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 22:20:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 23:39:07: Error on controller payload Input Treatment=> type not found 02/27/2024 23:39:07: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/3201191419914729?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7492942, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /3201191419914729?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/3201191419914729?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/3201191419914729?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/3201191419914729?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Am3KoQ6jOc2ciEeMY5XdZuf', 'x-fb-trace-id': 'ErKiQwnwZD4', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': 'Nmod1N7msow5kwELdpV+bkMmRIncLy8EfGlc/jlIT6e288+R+g3IL/hThwj8wl9PtP76pmjmM94LfBOHd82yKg==', date: 'Tue, 27 Feb 2024 23:39:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKO0CNoXOyS7Kfkr1_wSvXudrINL02Mrzd7X0CdnpvLIuRx03yO7AvhuqAHwDfHGuzIeIOFp9GCa8RFIOtursUjjtICHqI4Wv_G2x7U_2ObCjKbjA"; e_fb_vipport="AcLhm6PzLYuEQqDAMdQndoJ3J-a0TS8zkZG4e4O16s4IHVMu1yQO-9anNwST"; e_upip="AcKFIgZjrHmyxp_U-x6zgaXyqNEsJqROgZLS6ti4rxoGr9Jyo1JE8176JYaACv4f1wTHOy9W9D_5rjJROmNtwvRXzg0KpwXc-g"; e_fb_hostheader="AcL1zqR68sfhpKvNrSpuIsLaoMoKiGzweeNwGySp4isa2HoGs8CPML8vdpeuXv2rxEtljfU8rtLTEalx"; e_fb_vipaddr="AcKPmWfrj6IAOU02-7EBBN9zt36S5s7bUSOl-ZeiktIjY9UV6WF5m22H3dXi_nGcqfKA-lBhGR3M7WVuR6NfnUZz7pg2ql3NVw"; e_fb_requesthandler="AcKZWIVoJMsSHyWkODVk8fPmkHpr4NvkWTu4p7pyuDJf0pg4_IuU5OckJNZzpxNfarqUY8lK50E"; e_fb_builduser="AcLacZ3g4uNMApUN-xyqzTAgWZc0ST799ku_6sOm3cfYqeoS3YgdNVVQ7s0JJ4u5xD4"; e_fb_binaryversion="AcI4U1YGEo42XJ9pr-jdnLa-wpfMSAEpbb-Zi2MbBq5gY-R5OIKIfjRuiZz1zqb_Pg3eBKse84BFMZVpjk9W2c35SrPDG6l_ozY"; e_proxy="AcKAAteJbzg0RqwMxjRvcSYJhz9XZ-Nth5LBxNhzzJYQItIk8XhALQzkchly3bC32lUcM-kA-mg3Gb2w4jc4", http_request_error; e_clientaddr="AcK7g4yM08GYCkR_Hoiw4zKNu37EHkR53stTDjpjnUtdRK9k4uwZz3hgEGmFAF04sNOlWtfrgS059RhndQ"; e_fb_vipport="AcK7xhIQRIiufmT5M_2JUXAOuw-y5mPmx6uf1a5-7lSLwC4zzqIVLqHL5fZz"; e_upip="AcL1U7ZeAOgU-pmknSgaP6VFeiUb4SsJp8gkM3MNWZxh_pGOpy87hSIF4Ed7UNTGH34UwiLjdbm79g5IO2ySLT1w3KIxAmrq6w"; e_fb_hostheader="AcIq2LItCu9yniuUq0URqaNfANjQCX4DXQTIAakKs2M8O0xUVad7VpsIIYvxI51JmG592eTgm7uDc4sB"; e_fb_vipaddr="AcL-UKEqdzL3lEICoJDM2g5MkMoRI0WxguWx1aO2OfCt4v6rKgBHBQkAY1rXbfr_c_nNdkM"; e_fb_requesthandler="AcLZsFkdJRbipBmUMqpkKfEp_CPqIzyHF-EBbZGB0aIlUXxellmlgFpe9pawPToTJLeQdyBL4ng"; e_fb_builduser="AcLlHu0NBcW5gyYO-I7Ss1c6F6GkziJYX034jbvL2M2cOvDpgHOPl2Gixepz-IPusd8"; e_fb_binaryversion="AcLiBWYmYu_p4LB3dvfeln73ZzcM6-zla0eJCtEVz_2mcvNzEtbo9fiDXy7FbnqPHAIjb-pKBzRqHdNMw_hVQi4MVkbAVlT7fCY"; e_proxy="AcJ3M3fPtT-tXvYY_9kYpExcUrTUnZ0M790nT13IofyQAFKKpBZEFkBRKQLeef5y2r5zqqYYXZDvX2I"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/3201191419914729?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /3201191419914729?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/3201191419914729?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 23:39:07: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 23:39:07: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/27/2024 23:39:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"3201191419914729"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7493060, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ap7iZzRffbN8O9CtUd4A21p', 'x-fb-trace-id': 'CNgtxpF/Z7Q', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': '7nekVkQKDX+HwiEY3gw69xdhdM7OF+2G82ix0X5p+hQJrUfViY1huUWjBCNffS5nAPKm9DBLuG00HmF/CbeC8g==', date: 'Tue, 27 Feb 2024 23:39:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIbX9qSIbLwA8aBZbuaa19h-5bEyBr6dRPBV6ip66rg4I4O99ZlE75RHHgN5R-AC9jr9ymRL06WAzzCIeqhRrh0anfb02QWdxQZ3c8o842f2wT3aA"; e_fb_vipport="AcIOdiPtcJJf4z5plV-1r9QNTLTR8I3F5OHvVUxKakvLdOOVNhF3jXcYCDMY"; e_upip="AcJVbkfueLKU3DWKPFEGvObInjEoRsAgyQhru_tfLYsMawn4uliDOzss816pT64sCGHDrPp_pIau0ZJpStKaRz2j9wdGpz9Gn8w"; e_fb_hostheader="AcLUV7trvQxKgPctqF_CWlf4PBdYTc78K7ElM4OUa4Y0MSGNnPV3xZLILHAf3tI_X9crx6CUOzIeVHKM"; e_fb_vipaddr="AcLCPpwXTeZtlEdtGkMFQ8ESw-uQ6Lqh9DK2k1-ZbP_BARPy1R4e30rB3f5c9_O8kbIubh2EtioN65drS_SFK3uT2sIPm49XiA"; e_fb_requesthandler="AcLEKAm3bTVQ1r2F6BXMhMHO0OwZ3BWa5iu5ivCrzeuCCa2ZqRqVrxl7OEz7vRe3Q2nY32_SCn8"; e_fb_builduser="AcJ1votaoul1jVsdldm2eowt0juSwP0EgkhDAsA7rLx0aYDqrow8NazSVSMwrvxrFRk"; e_fb_binaryversion="AcLX-JH951KofnbPuvM6IvvDTYm0XWwTnuG-lhGEepg6uUsXruP4L-VtGNyTcQAUoS0iBOm6M8BtuoQxkBVkxkvR9q2D0k3nYp8"; e_proxy="AcIqZaY1d43a3gkTu2I9XfE7aynhDLFXlMFa7okeIdqc417oedb4FtPNqmmA5Vz4whE6pOkPVdQHHEnKUgyA", http_request_error; e_clientaddr="AcL88qdsdzJGt1fJga848Ur4GlF-rIIEryV_ljMHKPGFUF-8ZSOYF_g4LqbTKblGazTm2mdYH-UajdvgFA"; e_fb_vipport="AcI_-weGyN5cA6Ks1HYc4a__pdRMfKyoiiCjJP4Mz9RS6rVQwtkDI4koifJm"; e_upip="AcJ7YWHOl7eSHROeP6dil5v8ZmzTmbWZXUhnFkDT7XbXyJYgB_jBFOHc48ld3FB12x6d73jY0Q-tYMLsznQaiZLzjL_xfWfUUQ"; e_fb_hostheader="AcLn7NNmYeS2qlNOCrcR9gkhsEZtas09B-2jkBJOXHkQcNES95bz4Bf3bGJz63P-V1E509aIThA5LbQP"; e_fb_vipaddr="AcIFUBZubQPEVE504E2qhEokcq6qSSX45mEsgu2BiuRideoRAprSGJ3fTvprk5PZi9hjV2s"; e_fb_requesthandler="AcLa7IC7X0AsH0sgoUdbwTyPASRNa8hiuyiagpnhvxONMPCGwylIu9H4OYpuDNJKD5QA7K3hCoo"; e_fb_builduser="AcIxifQtNB-tkdhYtrawXEWqV_FN5klbMogVsN0cSsEUOJ-VOKKsERbrTi8Y4EfEPMo"; e_fb_binaryversion="AcLtijirAiVI3iD-h6Br_2cTFNlhg-nAO7fjJXh9vwSJClIkylR_xaI_tX75wMbnZb7VCU7B-B6RkPXRI_CmwpqjeqDe2r5cd2Q"; e_proxy="AcIMQJAS3HVUBqJRokeH80QdIJz9XSC4Kt-jX5XOAkVid4ahZRGUKhOSXJJXeCtZPET_9j5VCSJfS_lH"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"3201191419914729"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 23:39:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/27/2024 23:39:10: Error on send one message facebookId => 3201191419914729 02/27/2024 23:39:10: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7bvfk_FsKK6K3HfEWAkD3k" } } 02/27/2024 23:39:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 23:39:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"3201191419914729"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7493164, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQruPZ8YWnoswMrVXoadTw9', 'x-fb-trace-id': 'HreMratA2Jt', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': 'iLG0ZjSyI9TRHful5XzTwqHLIdWu9k9nJr/IKv5/h1T29JYtoln8NBTVP5ABfvGDjGLu1gTcIZLmICbXDa32VA==', date: 'Tue, 27 Feb 2024 23:39:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJoUOu5VSuyLi1sSwd3Ata7zW-A5r3m0pUTOu6uDArXx0k5QddLw98JIhPKmrMWUT47UTxMqSHTUVjDDZ6b3Kf7h_olFl1G7jFKQjodBcGIvLLe"; e_fb_vipport="AcIeFOoiTns_JWRRdiMEkjogHQkttspr0u-bV57K6UZQS_OjUid4y5E7HZ7s"; e_upip="AcJgUQTG8OVcdTqUPaQIa_Ygjxf--erllOkBuSenpGts99gve60RbUSsoCuYnjQYsPJEeva8mLQvZcX2dTu6exn33SEBw9CznBw"; e_fb_hostheader="AcKKVaGtRrCYcoGIGvxpDjmstxtc9hHIK8Ltm41yZC9XihYKo7uKjR88ScLf8GjSNIr5TmCk4kqCXvps"; e_fb_vipaddr="AcJnRxQsx2oEJMgHwFaPP1AY5l5xoxoLf4G1HvWNlL2VYMxLPdKIbqM9UCjeQ5MXCqv2ToHzBH_P2LNQSqpOxEA5GK_rgVzADQ"; e_fb_requesthandler="AcLRx4ANVTwVF5_LadvHAHslMbe9Vq8sb4vfTn9Xhxek9v8ogLklnBNQa2CEZOOcm4wSlrxco88"; e_fb_builduser="AcKtTW6eGDeRlPiHz_-nDDOVQLJWGhKMNXotUFkkR_Y3xjBDyjx8hHp8PVIfwHIAgcI"; e_fb_binaryversion="AcKB7zWS45Df-NwkWO1Qg9XnPP1M4tVHD_t4ueMiqEnisgRj0DQ81spCaZlC1Jx-IUPfsg7QQo9dmybsl_wAHFYDJMnaOZ7ZdWI"; e_proxy="AcKAZUehpnXKY1KoKQ0LV9ac58EBIEikDo6mjwQIsdVmAzWPQJbr-SZkF3Unc6dY4EsPoMkJB7bJ4b8NRlFe", http_request_error; e_clientaddr="AcLhqB9PlyP828j3bmkcB5sIcFny-Ifhyk-ZYmb1NL-XVgAFjU_RlfT7h_Yuqr20lwNvrxssT6zWowsS_w"; e_fb_vipport="AcI1RLzGRIbXBDUbMp_15i12VZQs4RtsykENsAJW9fsPmwdr6NiBnWcbP2R8"; e_upip="AcIoa6rQro61xuzOJSKeKLsKQgDV6GPvmrR1SVvD8P9TwRd4OsNId1hjlDFCbaueU0BtQdteW2WznjH1FPWCfQRDEPGk03yoUA"; e_fb_hostheader="AcIylbJImDJGStFyujXAqFAfU2MUmFX19E3ukYVluIlSdbLlZC20pZLTwydoB3grkTwpqATjDCBgIutW"; e_fb_vipaddr="AcKa-8la54HSq2k8qKpQLEfCLeKlY9_hvrOi6Dc3382VhLXltsahzFCKYpdt0K7UV-lL_Uk"; e_fb_requesthandler="AcKNjlwJXEYujqpBaZo0MJfh0grMOiL-Fk4jGB6ik0H7dPiG8cK_ctmf9waEt-h0ijT0LRuAjvU"; e_fb_builduser="AcJI4Zg_jbZlp9_EbQdZNY6lqUnLuCGZ_G8vxh7Q6Jog1WFMoKuvpyqze_uxqXbA9-A"; e_fb_binaryversion="AcKQnUX141XNBvX_ukzUzBw2ypPekEtJB_eCttAD_RZEJ2mqL5JHMC8HMwAJ0P3KS9KNZSvVl5c9nY0ia6Vcicr7DvZmT0Q22Cw"; e_proxy="AcLwytW5XQpdfl91JPCqpRn__a8OS3G3JRfOd4ZJbli3hkWW7ARjgsO5U08wzNR47cXtsvBhi-NWjps"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"3201191419914729"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/27/2024 23:39:12: Error on send one message facebookId => 3201191419914729 02/27/2024 23:39:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApW8syvYUXo6KDtjPzn78j8" } } 02/27/2024 23:39:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/27/2024 23:39:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/27/2024 23:39:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"3201191419914729"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7493303, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWRG-aKwlHift78aRLpWOTM', 'x-fb-trace-id': 'CBBbY83qhYu', 'x-fb-rev': '1011688366', 'x-stack': 'www', 'x-fb-debug': 'pMhoC5yUDi4mVnIwc4j/FP9866e4rxit8QoIMh7SvKvh6iYf5ywOnf3AHKC6BPZG5m0UIUScUOd+N9UAZKWX/Q==', date: 'Tue, 27 Feb 2024 23:39:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKWT7VpZYx_qJ_kCP_YFVVYDoXVQF9JjR27yKbIQOAL8UAqi4epp15hVmy8isGgOx6gIsOtYXriu6-9PKaJTmm-kuGQ61XhU6Wp0uGDqfar8X25"; e_fb_vipport="AcIkrTVJq2QGJqt_NKFBSRxZ7SbjXaTX9Lji1H0jUVcEcgEIBU8t6mR0FFMm"; e_upip="AcINvSULdy4sRJt9aTH3cJcVrUKNpbSArdc3FOob5S4YAx0MqIaPtimI8TEcngk11wEz55H8ASkGNidfeGbJ_ACw_0MeNljUy4w"; e_fb_hostheader="AcKll8NuMWTNZbbcBys-JPnMN-730MYwBHKDUnBi34P96rRh9UdnOdAbVQqmTx7S3dqpF3iWszNhZ_0m"; e_fb_vipaddr="AcJEQs-Jah63tt0U0NR4e1I932iwEIcbAeCIDDSGcvVc8h1mhAFD5aqFG7YZKDACneC-o9W-2cm1RndDVF5fsfgl4VkcsWi1jg"; e_fb_requesthandler="AcL13GSxDAMXL-4QDiofzHp0wIqLmNR8TJFTufXqnknQcN2PReZDTHpYSTOEBFFUVH5M3DzpQVU"; e_fb_builduser="AcJmbEFaYnRRLfzX0olkM3aC73hwWuOh6-ZFn9djZOLA0JQPBej_PNDoOTU0uuI6GOA"; e_fb_binaryversion="AcLkfqFfo8gXt7CiKOH04fMDHb85QvrQZp67dKT1vq_Z4xsbvA7Q3mWGfcgsMJd8lQrpbD7LDEWF_eyCH_YErTzPALS0DrhRcIQ"; e_proxy="AcKz11JSuDiq3LAvN411zptQpbkYfYGvd57l6eCVAuRReRBD2qdMpbh3JdsNbB0plWq5NwOXV6AuRyavlZq5", http_request_error; e_clientaddr="AcIq7DSeZRDZr9iopLQAznN1ShufOR_uk0kWP5UhC6Tkwsjk1AEnD0IILweTWizkSAP8E0hfFrtdshNcAw"; e_fb_vipport="AcIZYBO3dargTpcatULnGX3HdifcF0OYhqCvptfJoV5ZKAoMjrOEi7P28GmS"; e_upip="AcK-UEfjOutcfeAq3Q7m7_X03Y-MpPsFJOgTEeyjS792UDro45-NAPE-MSxmeu4KBucrsuTdcawtIhsOy7JDjBTnWqpJLHMU5A"; e_fb_hostheader="AcLSoKvUSCybYi5UJ3YWHFQs6FQ8TsI_Y5A42BHmz3XxF02g-Ceh3MkvWkECGIl71LmZ4162TPXjom92"; e_fb_vipaddr="AcIdXIdjDwwhtzONuVGvzzz8NMJiqzYl6tJnJ2LtCCesDUCzx60WfzpXqHQ61NcUcIc6d4w"; e_fb_requesthandler="AcJFhy7va8wjcj2HrofBvCFuzH5L6K-YYYjvkaJHUG8k1JiMAXHR1-uVGjiGEpgySQe2KFVzQVI"; e_fb_builduser="AcIdwvKimq1hhJmQ1Sn-vA1wKhu3q2JBJZdfSSCgkmG5R4lHKJ_O4xKxmxvMbUv7dbI"; e_fb_binaryversion="AcL10xZoyiRT46gWFBKvU-1QoByiW5DweNeyHcNzS3ABB7yX8c38C4mLbodBdXbBrg9cmcKiSDVs3umL21lSafXPnWA19zh_Ak8"; e_proxy="AcLC8SwZPtcL-fYAWvrnnqT3GmRV_jBEWUF46ow7RmaFIzxYTd1o8YOBhaogXtDdMWv9aA6RbaIezMWt"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"3201191419914729"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 02:29:31: Request bot not found: { id: '133788230054854' } 02/28/2024 10:32:58: Request bot not found: { id: '320637341295349' } 02/28/2024 11:16:27: Request bot not found: { id: '173905809808323' } 02/28/2024 11:27:04: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7133654700088712?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7612023, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7133654700088712?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7133654700088712?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7133654700088712?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7133654700088712?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFbGiwwpIfZX2Tj-vTNkX7W', 'x-fb-trace-id': 'E/iuO2T17lq', 'x-fb-rev': '1011707155', 'x-fb-debug': 'Gvhm+CivG1EkmIBUWeKllbkKUak/uahPuxzTOo3JwFFjy13H4SgoSVo40qZVClX//VD8OIs4AkmYF0cDtI0JRQ==', date: 'Wed, 28 Feb 2024 11:27:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKKab0t5G-80mgvszA-cb0g7WgSgcmt9Qe9PxDSO1PIvlMssSY88Rg5wF9muc7TGaugN_ygaxa3F_SAyhwsMSR-KN6mP5-zcTKeJMRtWorEq7fJGw"; e_fb_vipport="AcJEo2J-19bGME2lgU9UgZEBNhQ4V9p2JIQPEnTqPDJXiO0yVkRxpm4ejvll"; e_upip="AcLq56QRjnPM3SkcEraUWyCXuELP8azfNlcN-opHv96MNEuOTm5S1--UuVRj---vMw4edGl7eIRvPBrXBg-d2L_xRaiWfrZmMQ"; e_fb_hostheader="AcI2vFpx6FbzUYXOweHkIZ2Ekf17ebJWpRmkLoB3ol36h3IGySkLkEhzBqmxDLmEocAksWZffss4ii4r"; e_fb_vipaddr="AcIZs2hBUrGETIrouAHKTfslTzcqr89AU5yV0rWEN_Nb_ApuTZHvOt8kUSi3Wj191TNuAG2eCbxEre-vXfWZxvRG8TdBD1bSAA"; e_fb_requesthandler="AcLXvR4LxkNgYf9FTqEE7kWL3TSStWNjYEGqGK8M7eZX4VxEk7poNsj7wZQtr1BZxJzEAq4k9YQ"; e_fb_builduser="AcLz548StTlcAxl9ud6SdOg8-PbIx69bwHog_aqrPMHjhxQGrK7hSCxXhPTPqI6IsLg"; e_fb_binaryversion="AcIU9fMEmU1dxZC4dO7PZWXy6lAwD8RA2nYflx72fKQ85PqGMt2XdV-w4UVvVBpWu6T63eKoAIN6DMK2_OvPph98BB5UM7rN3DY"; e_proxy="AcIJuBoqKW-l0sQKH5tME5Q8J9i6CCN_c5tI99tl0mHU2rZeD8T5z6corKbAPkrd8_oJcQ1FdXfuaJimdeXZ", http_request_error; e_clientaddr="AcJfosWXE555jBNcphTrKyUIg9DnBpZGNC9WU5l4aGRgYNBCBU0CzTRqWjq-U7HqBvAEuUDDlqVJo-aJgQ"; e_fb_vipport="AcLoDAkVkeLXQtq4PDaUc3f7eVxhht_N14pnxGd_SLKvZbq-l5oIsyVUS0Jz"; e_upip="AcJ192kSpDE2TnxJjcOoWkW7cRxa6fNoxa97tBUrV0pGFmhQJG_-bUvhC6F-O-LUzsPP3cJGebJ7ZPual8yzCwq5YuAd0X9uWA"; e_fb_hostheader="AcLJrVjaaKLwx__wY6PbveyCaqw5FnmzcRSq0Y0-JYCjWWpz7bwgcu6Hl86kGPunbN4symZaejKb-A5p"; e_fb_vipaddr="AcLxiE0_kaZlAPIszdrZzRg7nRNLoJRmzzw-hEta7gJB4RybD5zaEk34kg8rlzFcstYVyVE"; e_fb_requesthandler="AcL4fqWCcb6BsDdbJ0jDDHDpeP5N_sTwdUNIv-BQxDonei8HiDvlCJAequgVMaDEvPix6FaFmt8"; e_fb_builduser="AcJaR98jWvRcaujh8v06qjq54X7Fen1UnGmBu54PAfL-szPtVebFR5Az7tv9aNCGOig"; e_fb_binaryversion="AcK6vTtClvHXsYvyuoINMoiGphdY56fEqF98_zCVbFb-Enlt52iid87VSWJw7Gj8L4FDFb4eE27Qe7C99v8wLaoMXxlRsvGtmZ4"; e_proxy="AcKjElGFBKiNaxoxYYsPkJcHdFcUiOAoJz23aKoyXiBll012doZ3FWYOkFV92od43egIW1eOl5_0Ss4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7133654700088712?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7133654700088712?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7133654700088712?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 11:27:04: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 11:27:04: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 11:27:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 11:27:05: Error on send one message facebookId => 7133654700088712 02/28/2024 11:27:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0afoab1ma5DpN2LuhmE2ui" } } 02/28/2024 11:27:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7133654700088712"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7612149, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AK_42pYuPb8nReFcFfoBZgj', 'x-fb-trace-id': 'FD+tfDGSap+', 'x-fb-rev': '1011707155', 'x-fb-debug': 'MsNJ73OMS8whxwEHYoujQmiDdLThwlrSKNiHxEHyX8W6kYPeAL5713OscITwt7spQb8gcfvT4HjVfHhEk7siSw==', date: 'Wed, 28 Feb 2024 11:27:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIMNC3Bapz9aflTnMV5k_--CpV0abpNEyJneYSOVUclnou1qKUwANTaNQtIh1KAIqcr5WXCkPFGLGkQD_c9oix-CzzmMLfItcAX1pm_-KqC0sbG7g"; e_fb_vipport="AcI1xlazw64JhUkqXff01Rzod2-4r906_4VJeRVIrw7UUFUwtyWyO_YQIMjo"; e_upip="AcJJ2Ehq7dzF9vcKwn5RYK4Ihw3NGT7XPMw8MGiK3smZOVLAV6SNIesj9DM7WL3DNeEPHRx1MBdc-psc3joqZJ_XBagCuA"; e_fb_hostheader="AcL9l2p24PkwykTokiiC2EvXdMAbkSluyDWk7AZxy4_RWc27yl_TL2DSTcRaMdfSfFDLLICyYVKzCZgw"; e_fb_vipaddr="AcJlObu3HnuMAicXKWXGTyEWzXKDElfBez0YDOzCq4G4miv-28DNQkd0l55yL91wqWVkqHLv9puko6t6_FHpLOJrKHyt16__Ug"; e_fb_requesthandler="AcLr35h8ZGjf_wa9ZH1Eb4TB6sOhIMzvT4G34nph43h9qkoFpcK5ZhBnCPcobeU2hUHoxUNZ1e8"; e_fb_builduser="AcK4UOPqgf-V8SFM-LtJdVtOk4D_iNCiEEFSSKle4_GljvE2pCGkXbpSHfA0kxAsTR8"; e_fb_binaryversion="AcLAsPd1NU3oqVMlPehZAF3DUpL3JJLRTzhlco3Bc_UiSqlnqKcEtvRojQi0pr9I3zWsrKi4wPyia4PiJFwt7ywfeyGbwDxZyso"; e_proxy="AcJtbLXpxJUCfRv_V1-XNk1bs4FtBryj6w6vyb0ZY5eXn5mZ7MUH5L8LUiRvV6FeYWCVo7MzMyulPQyylbz0", http_request_error; e_clientaddr="AcIQ7iLSrdXfpWPzVAnNKl2Dbf6zyS3jq17dx-pJ8qDfBLRf34OiaTj7NYvDE3zlEIRPCu_cRh_Lgqf2VQ"; e_fb_vipport="AcK2zW-Tfho3SFJOPLeG_-NVfyl1uKBm_dfrk8WhYAL3cnNu3K4TRjiP8mz4"; e_upip="AcJTWRqujcF9IgxQAh9n8oRi20oONFsdyVZZXWWkYwGQmO1L9FOkVmnweew4wwgx1VC7u2xo5nPRtAaKXOTCd1p3FLNizOM_tg"; e_fb_hostheader="AcI5Sn64gSLxR6y6XDuxAR3P1IRRP-JCGkso5omobl74Z8ibi8yN105kaNr-m-ghvDqfqmMD1DTQlpW_"; e_fb_vipaddr="AcI4G33TIz3dWgw1v7GcYVBKbRDu2UQx2Ub2H12SfMC5Oa1I4SDAke77cp90MkHTDYbsO_4"; e_fb_requesthandler="AcK6BLKjPpRET_4P2QhfbrLPiIxhdOIpElpi_mA0Y3IPdiLFe9JqRze0VGK5s_sF1t6NkqZQ1E0"; e_fb_builduser="AcLXonYWYdC2eiWnKmn7XQVGfnJDEaXEtALew8Las0HKyP0yfINy5-eZEzN1nYNxZ80"; e_fb_binaryversion="AcJ397nOzTKtUoZTRXq9aoppZq4xjlWl6oj3RjMWSkXBBT9gis-nQzByn_PFbG8NBh27049FfUPX7MovuE6gv3pMtYEd08U3Lww"; e_proxy="AcKFtXvYIt4oQttDeQYbkEMcvvbCF_xgm89MEz7ud0uQiVsY78kchCawWrS_Xtt5wAhe3yD3mnzA24I"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7133654700088712"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 11:27:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 11:27:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7133654700088712"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7612222, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWOt4QyeGSv81vmMmI2vFxR', 'x-fb-trace-id': 'Bb51/WsemJK', 'x-fb-rev': '1011707155', 'x-fb-debug': 'XQdSw0ZrjqwE3k4pG6VavFKA8cvynFyamGCnAW40BcdPzazr4Qg/bJhuo2yYZFoCZiRGxIDuYCtIJJbOgGeaSw==', date: 'Wed, 28 Feb 2024 11:27:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJUoJISzNWx0jcwaK2HEb86fn1JUV8Ooo3XaP2jU703qry_e6FTLPKLb_x4HHM1fXxf4YIFl-E4HAToF0wX-o0Za8k3U6fvVDj1isbPEAROaqrOAQ"; e_fb_vipport="AcKpWQEhWyylJtpB4tyyj6IZQcfdu_x1_WI0hmFiDUe-HLScW-UP8At8Nb6y"; e_upip="AcLCziNyuV41wMgR2b8TXRXp6N34eNnP95NgjZ1V7rEn5KDn2cNlvH_dxP_rn-nhPewR32SFYuJgFQdWbFKI47BqD-VrvZeifg"; e_fb_hostheader="AcJasDUZiIw23SmbLmOraPahnlwXzOKsOk3SdH4b-bAs7LLyEHnkyxdDz5y8cfaJZQ2q090IFqgiTrU5"; e_fb_vipaddr="AcI4wKJNR5-r0T1w1mTq0dB6EH8z8M3j4UsUERXty4-jxb2OJMvK0_bslnFQlhjnAz132KzhNmKSxLHXTfrYFdWiSGOKohk9pg"; e_fb_requesthandler="AcIJHybB_tyQM61y8lDRbV_uVoTdE1z4oKDpGdq5-Kwa1o1iaGGGlxzbQWa2ClpyOn3mbpv5oRI"; e_fb_builduser="AcKSmaKDWn0kHhxzyZd-Rtu-cmBSyTeSMpQAiQUOJJwjYwG-xy_fr6x5eYpCXiTeB7M"; e_fb_binaryversion="AcJnop9augnhBhuwqypVdanHXm49d15WCNgKXh0m2x7R7kJD6dMQDCirErpMsQgHxfhqzelahEEOEjSmPLx68nr9Za9QbMWbkDY"; e_proxy="AcJ52x7lci4xPaSWLammj3czJl-R2LJyoWPL5JcgiXf9HyK5-4M9h9rcfS0T0FN3dB5Xd-CrZljhZBnMmIr6", http_request_error; e_clientaddr="AcKNXCfvHw0bx1RKnhqU0Icz8hj0mc1vTFPRI7tdbID4R3QQ4gcmmCdAsXntLRHUQ2c6JwntM7qaD2e0jw"; e_fb_vipport="AcLohz9kdzrZ3VD4gg7zOqTHcz-dJYm0Ky6D5xXVMpOfKJy75hSDW0Fmzq9r"; e_upip="AcI1-7DDzwKTZBlBh3Jq9r5nCADPVQH-TOdV4v6nTMxrPgCoLL1-kMiSTrBmFx1ykiFKmwEZsAW0QCJ3ZNTMbzDL042q4HQ4rQ"; e_fb_hostheader="AcIAipHz9Mm8hkcSJrrOWN9reF_Wr0z1SuVpdNyypo6VQJwp_FTYQQvh_r1iD6rI_M-Xz7DAAKuWghoB"; e_fb_vipaddr="AcI2cguZUDbx0ZRQGUET9FKhSS3XuQMGbUbT4nlWTzt06dqiOLBZqxBY3zgte8Wsw0zGrh8"; e_fb_requesthandler="AcIazuOz8LMq1yNkpwfM2cHvVDekDFVs8GTJ5xEmvKP9C5-w4QWhOFGeBdY9YtsxvslRqmNwkug"; e_fb_builduser="AcKrQ5DAUVPT6LyS3TGyVTlS9RIjzO5sKZqG78EgD6KOTNkN4RIknN13i3uDREhherk"; e_fb_binaryversion="AcL1wgszFfmfiwsfm919lEMQWOAqMbAWses_er8-owYwG9huIFyYumWMD61G8LsqwsJLKeyrbfWwMPiRJAr-sV50gnGnEj0RWXc"; e_proxy="AcJfqEJPdao87k8HlJT7slylaO98wJO2nyewIwBBKoHkWNmg02jFWuHNKLNqsTa3iWiM6RsjYmHhg44"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7133654700088712"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 11:27:05: Error on send one message facebookId => 7133654700088712 02/28/2024 11:27:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A__HhTbkF0WTWgDQe-7t-IL" } } 02/28/2024 11:27:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 11:27:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7133654700088712"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7612337, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A83Uwyn3rmUjODr3KFEFwdq', 'x-fb-trace-id': 'Bl1pifKi98W', 'x-fb-rev': '1011707155', 'x-fb-debug': 'jeoi0pATCZ3EkR90UBo5QaH18cNWJNhXOIpvEJ70GegA9JB14llqMAiEmkVLme9dnrJWMiApXxTTB3ha47dRIQ==', date: 'Wed, 28 Feb 2024 11:27:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLUYGECt9hGbJih1waTGlQ9Mc4R8Sf1EGQq0THVK7O5KNo6EPJfHr4Sm4r9o3ShtSQU2Mt0_mHWWAX3_Py0Bu2vDhmpeMRIL2nVWbLjctxHo7gdtQ"; e_fb_vipport="AcK25Xzo8-P1g3_ROIqX8GfitV2puUfaPqYfG9N6v1SJdDu6MBNPBoFLaryu"; e_upip="AcIqeg9f3zUf8jpfYV5WKPDAE55j5S3PXN1ayid2fAaC3FgEBuLbZTDdoHHLoqE4Z_7oR2M258J9vPB3CeXSLv29D0E8wwdP7w"; e_fb_hostheader="AcLlaR1LjVzt4uTc73gYPE53qB7MbEdIkeTpNEl__kz75WwuCdYD7hPZylzpb7uFeG5vhF4ipK9VPTIl"; e_fb_vipaddr="AcJmP8aq88YwoVIT04j03urY-rwSVxEFMP_ffp8_t0iGSmOMZ1pE4r8Giq5PcbkHpqRXMDFptlL4DzCmJWuFohYcHBSa86MVHg"; e_fb_requesthandler="AcJSdGGW6ftOoLNPW_WLEBi0QCu8lk0SHT1it9gHCws32Ccb2N69DRUw2XG6GIQ1oAD2N2InC1w"; e_fb_builduser="AcIDQzvHOCg1D7kQMR75M4-2UybAE6MaM3DIF4LA0m1BpVwMksLEUeDIQkukBCVTfmQ"; e_fb_binaryversion="AcL-vTCPLBh-21iSde3oAycvyZfJFbQA35kxfO4oLuCO3BP53TE7DKCDQsYjr4mgQJm-Z5S-NCeOrsO6Ck9o53Z8uSJk1jLxHOk"; e_proxy="AcJBLeoL9Mi502QvLXwyRwDaH3OEn1n8lt9NRNa79YpuySJX1CpoIE7VZAgTdF9UYm9ey3W8rqS6bMDtz7Dc", http_request_error; e_clientaddr="AcLKeWqwxVXbOPRX664aDfmi-62smtZAYlV_y0EQt0mamoNHmoD3UHzOPpGxYa7iLYtSTIrXoaisU5fyzw"; e_fb_vipport="AcLoPtY0B9ducgRNkY_31UmJQytZx5-ht88blVplH05qB8urp1JNIYadvmpF"; e_upip="AcJ8ZhM_GZdzkXeV9Ayc35d76Vg-GhUKRm8kPE1j_kMqN0VxFdRRJz5s4fJT5TEZp9TNoaci5crECbsWc-1ZoA0U183VIA2xtQ"; e_fb_hostheader="AcL3AafQdtB0W9K56O82r2my5BXroRUTkkjDQPpXtm0MhT7QCTqC92JeCohqgBUN4oiD4pwdSB2q_vxv"; e_fb_vipaddr="AcKndlQ5jXdqw8kNeZUvZnuqiwCITTg_5ZJgNFyQjwmZeR5Ge2RsYpalzTP0T8NfuxXQpu4"; e_fb_requesthandler="AcKTU6zZJD1Xr18xZa8szhmjSxNwowcMp1kmqpDB0gn5jSBDVfXU_tkOc4DQ7Xf7rxrmfoTw-yU"; e_fb_builduser="AcI46mn7DFwnKPvPhEEiL2-g4nYWFeODF4ffkXmcqtQV94fNBspNwFM1id3RFgBqzEw"; e_fb_binaryversion="AcKsdWboFLHYgA0XFyG5cTLrur9FiQWjh0GaVlehocGR2w93wleYLMmEBf855uthdr9IQ-OQFMs2WkcPqEy3D0rIr8ZRxdECb7E"; e_proxy="AcJiIHE_hDKosdKQnsoLqG6cbAyGv0GACxWcUJI57dTsOtHCIAADRfG_qRebksXpYXDJHOmuV06ZqRk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7133654700088712"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 12:10:00: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7076749849090620?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7619559, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7076749849090620?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7076749849090620?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7076749849090620?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7076749849090620?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJ6L0mayrlRDBfArybSeIJV', 'x-fb-trace-id': 'GL/OxUYlYc0', 'x-fb-rev': '1011710067', 'x-fb-debug': 'Di6ZW24cnVSWf4YZGbn7Gn5/4LXgpAQ3n3TtPu5xno0RqFLcBFfPcSiWZWuN3LLGy/Kl8HkCPSB94TmJ/lzxoQ==', date: 'Wed, 28 Feb 2024 12:10:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIXLOkFygWS39rYvy0idgyqKfWMUTFzfNGXeASDWQNgkXC4AGtf87voRLkreW0kvkqWO1q_U7tnBGEMBNxA_7QOjVJwRusIWXau1kL9xWNga_tYnw"; e_fb_vipport="AcLmGco1JZXhv3izrPh4NeSvR7SB9OXAoIjikr3H6IDnL63wG1YxWu4us59K"; e_upip="AcKKRFLuVo9CGYN72m_SZJpyPnDHqb6VijOXeF9spmQG-Rfol2YQ761NgmV8g4boI_28oUqK9FdK1Gp31tYzGWXwkqkykUXMZ98"; e_fb_hostheader="AcL3d16eANr5vjM83CVgGuh3rJxcz5qma4focvNj-IkOvDwlO9XJb_GDPrD3aL2-P_LSsQYuQPeHbzu9"; e_fb_vipaddr="AcLRA5BS8D19eAhH0opB1F8amAP0RTNW35huET8EzXel18PNFNUNrXWcwPvBlWfk0CysFmRlx18JYYqDG-a58xSnnGQSae4Xkw"; e_fb_requesthandler="AcL0yPidVA596xf6TP6KKNkNgiVaBIwtP3QFwaULeBQFurjcol0A9cl_zS4i_FHGSB2IE5sgXgk"; e_fb_builduser="AcJc92-K1sTk4wxz9Eg0PJQ1hSSw1zaNt84QtInrxyPNjoaXRl901fw1aaIjHJQPyGI"; e_fb_binaryversion="AcLkJdj8DGMaUCyLJzUJ91TGxunPfy588e2HHhpLQXFW2o_RcV7G7nbcHhI_9t-9Zm9UudvyBhQK_agiZ60y8O6nElVsCA1qLTY"; e_proxy="AcLNGcat6Cib4vivAb85Mmu7V525YggmxpXNWmoZ3BfDVV1k78gWjVgyQj9HZj3twIXqtXG-LSCEH04KBfDB", http_request_error; e_clientaddr="AcLMD0keTdcgEFW-OGOyRHq92GgHQZdOeGbI1SOPVo5t3LxtcnAKZzlKfJxK4VVvcMXb7tyTxOTe_fryvA"; e_fb_vipport="AcLAO694WsYHgjDPvbTUmF0akjeymLhAVAgW9nU7HooyfufNDdC9wdz1m6Yb"; e_upip="AcKhe8HGitXBY9qFj--QCy6nSGLBUHNMFojDRUVUptfJECGmNYZEHxJdo_COt57voYrd8L-IrmDBId7xKg88XHdtF2_x6HgpTA"; e_fb_hostheader="AcJD_OyI_nPlpj5ZwOi5tmrdl-F7An9QxRl1f9IRAcC0Y8YYZe9K-O1htrnMGGOjyipTKWYEH1_2Cxme"; e_fb_vipaddr="AcJI7CqS7B5yQiY6PlaJ3PrDg4N9IU7nOX0ZTB3W7Nk3Oz6z1wUCNLFeHsiDfmZTJ6ba_K4"; e_fb_requesthandler="AcJatKvirYVUNVVe5A4AU9uAvxIkuiRTyReWa3KYT2a0ITdSOG2SUcpdwPsJKbx-qDQJaNRX_fk"; e_fb_builduser="AcL54P39lJVtcDWQoEWE2PHu0tgWIvusQRTdnYgyQ9Gn2Yw1fVvb9hg7RA1pa_vEBlw"; e_fb_binaryversion="AcLZTsKIVv_Ooeyv_Mu8OAVi2j_S9aq3qxXwSjASKM909ZB_YvvNrZbMmK6BzHzfLz2FIUji6AMGuEP2EBBs1U9EjuQa38z33dY"; e_proxy="AcLwG70hsB8Re_qCFk9S1wSvCCxqxLmU6oV8dSXehgA3zCGgzHKr9k0Ka6TskHxZl7y1UjUSO24q-34"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7076749849090620?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7076749849090620?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7076749849090620?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 12:10:00: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 12:10:00: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 12:10:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7619682, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aykqm6d9g8pOzvneTl70VsC', 'x-fb-trace-id': 'AoloScqgeCq', 'x-fb-rev': '1011710067', 'x-fb-debug': 'yYn+9pG0gYMG8THhY3+fUuXJXjKY2pZZ2kTOYuRda+yKaz1udtYCHrXwvdppT2F5TNXfYdDBjakt3KVd/1Zydw==', date: 'Wed, 28 Feb 2024 12:10:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI8kJaRV1KPvuMUIc1Fk80RbLKK7LMZFvDQosEOznSZzFsAgTOAZYYb2yRsmp0RgQxTpIcZJ8foJQfqUZeGBUAK3aaObo_kodEb1NwN_dxeMq3XFA"; e_fb_vipport="AcK5S2z93iNHMdU2TdQmfnDrRc9DJWiwuEVCMlHoD6o6k8OMQ0ELoF0pBUgP"; e_upip="AcJ2v9Tx0-3VU1ZnwHiWbZIT70QQESMnZKmMm5rKdElCpVJ8w54QsjmhEj_KymTg8AOGYWVHwuQzjOzaLZPNk-AU99IR6Afl"; e_fb_hostheader="AcJLLzOPajCLzFZFljv8FrwinCbBteL_Y5DXtF7k5ZGkSAjOAQOwttCBaZ6AQsft0rka3ylPx9Pol2bY"; e_fb_vipaddr="AcI9o2ixnGdLme518F1McQkx8XVyw-GmfWlXtVIBIGyj-AF2zM9ZvTCmy0aOxJ2U05YU7TsqUOOvS3KTSatqSnyrMNzMoYhI2g"; e_fb_requesthandler="AcJ5AKn99V69BQTPH8nlbx4q7_yvISo2ifSyaLsLP1oMTXFUA2bsSyLV5W5moK1InB9x92Q2d2M"; e_fb_builduser="AcIMZaDuc99u68G0wG-zWrb3MeKFwSJpqZuQZ9m72PGtsPCXTpShs4qp0x5qWVskulc"; e_fb_binaryversion="AcL6LCDsaUV6Ou0HBHHWpowk6BqxKfZVs_KLhCV6AeqVia32TYjInNB_ga2TdXM-BgNszy7JnJ09-_GJNaKuCCDNfQuXvaSU45w"; e_proxy="AcJHKvbbldpzHx2CZhJh8AdQ8jwkLn_81IEtgsCU4tXZ5MOzskVMdVnyfTdjjOWwn285jIiILXf2P2bKW0Ni", http_request_error; e_clientaddr="AcJgDjRVOp2bzHmQC0IPqWZoxM14dp7gKbpTELkRc6OI29fQIO8Rm2z8rHON1FOx7T4Oa784lMKIOa0hgw"; e_fb_vipport="AcKeJ8VJXDD8m4Tp_Uys3uRs5jf6D4Ok6zazMi2pLbTxXgnP0x8Lvt498oCg"; e_upip="AcLw77_x4UW5gNzMIWakZnxSKDtOfSM32PDj6KuasL4lplyK4nczrbtWNKF27Yc5gBKEVxKQdVukr0kGPhaD3_mibdtEoJjl3g"; e_fb_hostheader="AcKOhw-ueELHb0NOSKNiQokIIW0pzrnUJwcX14QsY8cuFLC0a44B69adIKLt0BooL56Gi3Y3SjgdQc9W"; e_fb_vipaddr="AcKa4Q0lPnuafbF5A6niO471ncwAbZpxjSOpY-RvTWLjmdzjjwtJHC4eayCtmzbppttIBDE"; e_fb_requesthandler="AcL0E2HMiMejyZzlURcqwMKIFfRDURR1Le2TETN__7d_lHT4MyYc1eJtU_vSpHoJYxszl01HrSY"; e_fb_builduser="AcJLoRQ7mQuHb0E6HKzDYpqm4Cl5eTPl2pGYgLxkvL2Skz6sNgv03nrgembhUKkLeR4"; e_fb_binaryversion="AcIJ4YaiCJ7ByU_4LgrbYr6mbf6BicSGwLnTfkXoT2tXbPicsqVUMFSAmhDZtJG4OSrVYSWnuPC4oe_bzn3o1lOFA7l8UhhMPMA"; e_proxy="AcJPuyiHNEmHeg5OSN_cJ_itUKh1FKfUT_EFQ-OrbU4bCHkCqYt8ZJZy7zPBLy9TLHsYqGjtoOYdFJ4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 12:10:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 12:10:02: Error on send one message facebookId => 7076749849090620 02/28/2024 12:10:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2-gc6L3A7vFxizyL9uzTjU" } } 02/28/2024 12:10:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 12:10:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7619765, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARpcIeb-yfHxKSzh78qGB7_', 'x-fb-trace-id': 'GEIoVfMuyI5', 'x-fb-rev': '1011710067', 'x-fb-debug': 'ES+xLc4FYst2bdUBecA5bhFRw7asjM1E/orTrrnWdBObSg+7iZ2BvsfqFtlhtMTk/Vnt0d4dWme3uoM1oJ4e8w==', date: 'Wed, 28 Feb 2024 12:10:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK9liPdr7bwycwOMBquWKAPo249ZUssSbZ7o5oXslYzyWqM_-wPzWxA3eP7UUTbWPP25MdxFouuYXawGGhfOQtKo5tGP9h2vW23d4zAE3KvTiKntw"; e_fb_vipport="AcJQuQJldfRN8lpDOmMZzJFpCcKs8AmpXpVJtAYFA93_K5Y7Hl-p2WP0ybmZ"; e_upip="AcIj4lmm47vyKbHTyx0gImPjEhIxEkTkyRyXnHLe3H953L_tFoPiiAJSP1-eo6J_zDUyDdT4_iP9C6KCI-NLBpZoKxTrHRwj_zg"; e_fb_hostheader="AcKOmLys0JAsMNyTza7KT66IDOM8Onl69KUr_LVmNlH8GxS_z0hLCBaocKI1fhp_uGjwiVps086ub-wl"; e_fb_vipaddr="AcIDIEgUNXKN0twhij6IO7B9brEENLEfPDghc2NQMhOoNTVSDlK_F3b2wa6c2YrWUQnKDeHOZIkAyzlGVw7UepgvTWhi1-Migw"; e_fb_requesthandler="AcKNVLYtmNvl8D10sLT93eLJR99pvGfZ835qCupSBmRo026mj2TLBKEqGFABeS5m1qz4EFkkic8"; e_fb_builduser="AcI2PKKKqt2i6Q4ETNGxGsCx3-NLeqcesHzrrVBkoqhd2_a20m014gCymUgH2OFLVq4"; e_fb_binaryversion="AcKYq_nQFo7d3lNegUaImKPrlG_FeprgyeK9509bF__U-YwUXw0dpcIKnrBbzwcLkdpR_w89dygQuFEGCQrr1oIN7V0bqANxDkw"; e_proxy="AcIzc850oL_OXvDNHlPtmcKEL1gB9PxXdNukFxiP__6aMHP6tIWYoZ0jYCGdn2qI0XbEuUKWXFoG_huuzdKZ", http_request_error; e_clientaddr="AcKaDoTCe6dxPdcKLZ9dse1Yq4tVrO7EsyAgkcmG19Ey-3cUX6vEZwbqP6so2eFAV6YwdrmeAXd_s8ua7A"; e_fb_vipport="AcJlBux9T9s9l5gGZ9ledl6saIJmILDZtan0ZvkTg8hvGLcFlwwO5DvJ0Oyd"; e_upip="AcLMRmOuievPqUP6hOdwJ2XEXaa2O1n5P2a75RKT4Pmw7_uV-N-0ccH-Er8Sjny-UhBhFnHI_RUCW3Iin3QIWOjmoB0u4_XZcA"; e_fb_hostheader="AcKYwV5XwHk4ToznNDsKgOVqTurz6DsmGvEEl4A8kMvo4F18RMNyJYsd7ILEqHk1p7F1nzHjz4Oj3XIY"; e_fb_vipaddr="AcKxYWw8qUZE7DLvUAotf1q_kUPs0tAMo6KBWC2aPHoBI-3gCkVit5kezjVM8KQQJcOGB-c"; e_fb_requesthandler="AcK_aWYvJ15FL8Anlz2wCUBjckACHtn6AcrX28xfNH8gT5Ouiw5KYiRQ9So3qzAVAZ1qWZmH3y8"; e_fb_builduser="AcJ6_cgOtygAOuGgrSMEcV7jVMjXjIB7YxM-70jX0AgIhujxSh-q9lz09P4J696eLxg"; e_fb_binaryversion="AcL9HzPY2n9f9pdNysejVEx-otZBP_xL44wb_Ul-l8wQNRg-c4uyKycSiQWvgjVfI_35_FyoQvoyaHjZvAb3zD-8GqYOBtfSdOg"; e_proxy="AcKw36TL1l_TEsWgQ32IOgs4jdBbhPxssVTFqDogXUjZD48EZR4sJRIXWCNUzpiL9vkMkYZj-f4K5ZU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 12:10:05: Error on send one message facebookId => 7076749849090620 02/28/2024 12:10:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJ5cWKGCYkNTN83KvYzEQWH" } } 02/28/2024 12:10:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 12:10:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 12:10:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7619904, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmWWIFqvaVrEe6nXZW_p2S8', 'x-fb-trace-id': 'D4apBiSLUUq', 'x-fb-rev': '1011710067', 'x-fb-debug': 'owS4lS5oJZRK67hM7XK4f5iaR8Fv5oadw3rBzynBIroQNfOgqDrCJveDflwCzmPfBOckMKnQTdLxwAehZGIqXQ==', date: 'Wed, 28 Feb 2024 12:10:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLH9P3qts7Rm7O9YCOlQCx7PZCpW6OjzR116cLVIlUK4glFc8ZI4adKslwLQg3t6UfDD_an_yttx2NPn2gLiYBia6HO4b8gXeQBOMRLTxuHimwx"; e_fb_vipport="AcLtNIBTuxUIIOJdnIPLRw_pTKw3HHBBfqhIdWgFD11ye2SNfZn_UEXFeEYV"; e_upip="AcJUQXhNVQrs_HpnzpL4d_UsAWum9bLrf0HMPjtc3KOpUVK9X7CaT1JfkarGFlE1wi2uwVF8szCtWim4JdpCOzglwUEfhxaPH3A"; e_fb_hostheader="AcIZ9-_2LtLY14mjVFiDKMYekhSXwDtXCtAEsySw-BDfdlS3-aVRZPXn2WC-JUyvLYd3l1VRsi7wy3mO"; e_fb_vipaddr="AcLBWP_wOy7K62LzgJgzc1uq6No6GHa_0BEHCfLAgS3L47K-pgMpnq4_IF6FEzcs2EEhmSqvhV0lfs2Jxr26Ch3Mg33aXZmukg"; e_fb_requesthandler="AcISK8pcqhhWbAAeyYy9bR0PSl2CJHkqcE5DjZrxtVh_rjQJuRtem-1WF7Rv6QfjbaGT5A5WQZ8"; e_fb_builduser="AcJJUNBUTphHFGVIG2MkuaxZQI8kmxVgzVWFxc0Jx6aJf0iV3r08R-6rklHa9Z_qBv4"; e_fb_binaryversion="AcJlqdn71-xMUUGemd-FIjYs9cIEczQfHSp9t96LzB2aa6FdXd39ileR6y-BlGyMn-HZYopVBiZmUjeFmk6V0hvoegRAQFsaI_Q"; e_proxy="AcI_bW_Cwbf8V9ukB4V2B9EsvAyPvedvIPuqkU1-OyWxdpAPFauk9_eNT3q7g3v54hUhx-TcNYuTxcUOps7C", http_request_error; e_clientaddr="AcIXKPkMpjwh7_38LVrq8uSTN7OwjCmMKcoIJ-ffNspfO-9_bAyPYhjYJlsQp35uCQQxECp9-NxKtLn7Ag"; e_fb_vipport="AcJyzkhjhwDdaSnQXvdn_KthDQWmh6w5-xIvkG_VM3R4OpTUg2QjqIxP7Fw0"; e_upip="AcI8hZ3wltTQeYCGN1eZoT4AIXg4LnFmQOD4cJCPdd7Wige1dz3ScWE9YUM-GmZM1y5ZVdiAHYBcUo_BA-rjhVe1aN1TIKKHOw"; e_fb_hostheader="AcKy_qH32YC5sYcQdnWvuYYqew-LH5jDCEylxmUNSOELkuM_uau-ikg_28wkyrV9tXB2F692jnogxtYC"; e_fb_vipaddr="AcJXQxCnBhwn26r4_sK5CpGH_fl2HjI15ekldJxqq5aVDL8G7Fv_ScNobkdEwNkOlclRDfg"; e_fb_requesthandler="AcIjk9tbU3Kt8eTy_-ZDZIGzDqXTR-IHLI1A_ZVk3uHvDQzx0_Wa1x8tzkKY6WKbeIa-cHhMj3s"; e_fb_builduser="AcIYG4SAz3S6CAqsd8bHUslUcq2hp5eTOgqepSP1RESXiHWs3ybyJYlK2E2E4wdQk7E"; e_fb_binaryversion="AcLRe7-2bja9CJDWD-daocmCRxg7mC-ZjZ00sYmHB09RQzoWts7o2tBCXi9dX4H0tyRw5AQIYcVD4ARkgArOXcCVvWfmh4s6OSs"; e_proxy="AcIY95aulVU0exF93KEXUmTQV7Z337j4iQFZhhALr0jXcDCDlYDIATCQF8R5BWjEBR_royPQC9xVhkQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 12:47:40: Error on send one message facebookId => 7076749849090620 02/28/2024 12:47:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APNhy35rdXLFeOhyg4sXBl3" } } 02/28/2024 12:47:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 12:47:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 12:47:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 13:02:44: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7103124109736844?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7629014, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7103124109736844?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7103124109736844?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7103124109736844?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7103124109736844?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKgta3fHyUc4aMnC9oaLHdf', 'x-fb-trace-id': 'BLR0CxwZt3n', 'x-fb-rev': '1011710067', 'x-fb-debug': '/getF+isQDjsB7mxxNJfLDM6zy+FhetJZbCn3enLECQRa+Y063wo+FigrWxtdCAeWHJoHOe2rkHdWq0u2oIR/w==', date: 'Wed, 28 Feb 2024 13:02:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIX8BdKL4DgKlH35an7Q1p9skSyKXO1UKLjJ2vAsML_3KNPrB6uCjO_Q5djNZHKd1BewjWMpKBQGFnF3R6G1OsNwOOFGgM8lKYCJXNdhHGPTpusmw"; e_fb_vipport="AcJXHwgLWeBEPF-Kcld1eA5B21IhBN22iK5yA4ocL90ZzvOqO3XGK-9j5E__"; e_upip="AcLDL3u7ME61Rtyfj4HD5iQO1ksMdlkt1PtTIMLnnUdZsw6TTg0w7iDkijElLo9aSx3u0WH78sIsPDRzVB56ayezlnY3hmAws5Q"; e_fb_hostheader="AcLaJMR7umivzZ4juZIS0Rac6quSajdBeQwINMe7DlBM1KLaYNveAN-JjzzMWJ7R7mTqnYkMzomVS7lt"; e_fb_vipaddr="AcKpEnQrqhu3s1Jnhl5o2ak-tnB_-OvyyTGyO1ddWnUiBU7vgwos8V4dajPz49w7T-fWtCG0cilNR61i7_6H0tggFehmcty_qQ"; e_fb_requesthandler="AcJuNLLmdH5W71y76q-5Q9UjApJUqQOFMQ2b_VWkhR2Gt2TO6BySXj0GcfKfiGtEvXz1YhU6B68"; e_fb_builduser="AcIx1yRIbCh39dD39SXKLUH2Szg_ZCzS9iySbX3C-uweqNu7f2aUt7yAJJvQSANJp-4"; e_fb_binaryversion="AcJCjiajWWi_p-rfHikCUB59lRs-rj28E10v7TKX2lfl3ovpvt9WYYRcnBGZpHXzv7d38rteaH-xs6pEfKZJDxDhGmb1Ry4efIU"; e_proxy="AcJ38j0JWay4KS1KNj0oIBBH44NEuzb-V8yA6I7PPLsT1ndGij4VO42RFnRNtOT5cA4oyKXCMgCYZLhOOOGX", http_request_error; e_clientaddr="AcIjm6FJruNwegfB8XkfGGFoYhE43RNAQvHiKRfLC_TO7WBcIOPc_5UXyLtnqElDb16IF53ri-Ywfj9cQw"; e_fb_vipport="AcLFM8fCvLTLYxkfPK1Sh7esW-SoPg3FZBFWCexOrvxc2CMY2KGoiu46PTqd"; e_upip="AcKVN4invOmJGY-q-w3CeQJ142olX73-bONdmJdRGUzc0huemeBIk1ZoB_GKGHKVrtfkTjGeKgFTpWzzL_hPs_I25ea1azn_9A"; e_fb_hostheader="AcLBw5Jy2mts8jsE_MGk-WwViSPHIa-Kmmph-ORA2u7Fc4Ufln4l2DbJcpkH6fzV2kw8eKr7ERxRGDkE"; e_fb_vipaddr="AcKH0CdEbVMtEe0E9caxHA0FxLz4em4gnH9VvpcHhGXiot07BvMgIcplqKupTFPK070CzS8"; e_fb_requesthandler="AcJ_SsJC0l1hlv6U3j2-jGsBrhX28jwvBiCuK_eenhJ42pFkQm9yadVfpPvrYtTgxyRbgfzM9uc"; e_fb_builduser="AcJaFldnNqLQhTZokHTOprX-2a5O9-izZa3Rnt3iDa-Fwh2tM4WcosDaemtD-NASdZY"; e_fb_binaryversion="AcK1aXLJjP72EN_uCKPLDon8EynvGY6VvfOxQ8wixSNHMhghJ9D-FqcOcGEmZp5SNVnfKFEYxPQX32UD1HGKvvypfIiTAlirwPI"; e_proxy="AcJEKHV4Sc3RoFldp05XtJMn5FpogM9742Zz9HOrvouUlxZdhiqhioavQ3_h4orUXlU6lPi9PDjants"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7103124109736844?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7103124109736844?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7103124109736844?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 13:02:44: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 13:02:44: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 13:02:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7629132, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAa548Iq5lb81Bh6W3agjxY', 'x-fb-trace-id': 'Gy9eGvgtlC6', 'x-fb-rev': '1011710067', 'x-fb-debug': '/R0hX019XHSwKvYhTPEqxRNoTMUZncZqZjKrgMkr2n+9TjsX+AIeEgMHS2RHlllwlDZ+FVuok2gT+837OLDfjQ==', date: 'Wed, 28 Feb 2024 13:02:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLgT491T0LdX9A2WVexfv66e-m_PrKRp2-j52px4AyEM8krVYT4ih_F3tDYPN1sNZ5n9qikfnE-YO4Wc4z6rJJY6wZfAjwkOiUQMsxa280yEdfJ-A"; e_fb_vipport="AcIaqr6vGW2ZFVPMBJvDkuiuCWy_Vzy5snBC0WeBbXnFr1sBGKkXObyi0mAo"; e_upip="AcITHXK-L2Fr3G7putnpQfHmCVjuRSmCCQKNhJGLsZ_lQWECYzdtI05n0AFJ5312EHtbFDSKULlaNWoqESz6eoMEw_11eBdhyQ"; e_fb_hostheader="AcJkPN614ReM7mQ5-oZlCWnJKW7ZEw6YimgAXZVXvv_J5JtdyqqUACNlXscZF1_HhwD-BCGiPLrOBQqh"; e_fb_vipaddr="AcJ1Aa9KZTtuB5ahJrwkHZD0-PoQENrPGmtJ9_fMo1qUsaGGtldwEbZ_LhwpZD5Qwepfm3OP6poX73z9roqzBJKxp_nqYsZLBQ"; e_fb_requesthandler="AcJCrtWaAGurImIFS3QkYhZ-GNlTo6OmKAWurhztE1JrA8RwDeZd44CKxEKLzLPwV3Y2Sz7B9A0"; e_fb_builduser="AcKPfWmVvwm9AdTl62ign7epXQWk32-xlr1yBo2tzr2A9Gu2hYxDaAPPSHUKig6-Abk"; e_fb_binaryversion="AcJxiUcZYMNXPXbm9gbDREmb98IDf1lu2FBcAmldErO_b3-Gf110K4PQs4yGoHRwCY242fERO3XmgP29K9aLpu_lBAvGCtgqfOc"; e_proxy="AcLO6lx8ZNaWpK5ULCyV7cBW1gdiDOqIs4w3RpEWQgM7wGPLDwP_4IIt5v2v6Sxq39nR0P95eRkB9GJ5i-I", http_request_error; e_clientaddr="AcLU9mMLkVhZ2hwktilUltVUiK7b3-4punwPEABN8muM6zJsz1fAOmKJNcOZoA_VVmUSdSydcUt7ypKylw"; e_fb_vipport="AcJkzabAuoOm-LevBcBvXBd8s8P5CqV28nbe2EWMrdYg8lvhgy92Lauct_8Y"; e_upip="AcLszJYpvV3H5Vnq5NmuTdLX_vjoDBfZE8AxpcnTbWQv4xzxqz-vvX9XAITDKdyYVRyUHN8ddGNv7qyAY6l_Ct9Bq9K_5MY7uA"; e_fb_hostheader="AcLz6D5ZRsm_5R6LC7yrK6LYIVLyOTQ6wS-CToN5qs7_zmQkobw5tpMtYuWQM6T5rrbAtXB7hsrMe2f0"; e_fb_vipaddr="AcIMRrs8UHef3MWNqok0MZw8Lfcm_J3iTnkv8c7NtQOqJzmx8gCJmXirfrrn3AffklAzBpw"; e_fb_requesthandler="AcKeTDQbZVGpla51NvxNAIDVeNUCv9y_s3aFx1M56srt76kmgK82HA4xVkuDUwA4V7yWeSBJ5v4"; e_fb_builduser="AcJcIAN_bFsyRw4ncJh6t8hwx3qzZPlK_6e1zwVJOaV9xz5-7DXHvZH-6baXuvd9-hs"; e_fb_binaryversion="AcIdAR2KA3ICfz-PyF4QOWpCIHg9nHRynde9sYcEXlweva56EOjwTET9cHhKduLeKkNz5S0JjUOva8qkgiIJBiDfGhKy61Xajmg"; e_proxy="AcJXhwOqOKrgFOITusdlCd4rlZ8jTEPWuHJHnMMBwEzxEA7JQ_jGm5bIFFVKGdCvh3KcAesVoOgKbIc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 13:02:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 13:02:46: Error on send one message facebookId => 7103124109736844 02/28/2024 13:02:46: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7z3lEv9DkettjMfnDXEKgR" } } 02/28/2024 13:02:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 13:02:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7629210, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlucRruc_FB0rDmyIX8BL5r', 'x-fb-trace-id': 'C/XfKbuTYL3', 'x-fb-rev': '1011710067', 'x-fb-debug': 'eZ6hjOpyIOHP9QZ6SANz+8hxnYjuw0WjyMDxlM4gLy1Q45u4JUIxib7x4DCcMhYQPQ9crk4T1o3pN/DWMAP7Rw==', date: 'Wed, 28 Feb 2024 13:02:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLXkwW6ec0VH1n0tq9cZk2ZAzKZC0IhZI_Letd0v0f2SkoLc1BoJ_sAygv8h4RQnOPZRzhBET1aEj4vklp6n1Ja94c-3JYQ0ILD8XboZpW2DYoSwQ"; e_fb_vipport="AcJDh5yW22H49V6fwgHaC98rx_mgq1DNh3w7zVPGLitDdJka3IHQquxfWP05"; e_upip="AcKiItU62AgargIHMrSLLcJMHAkDkhwKf3HHuOe4_cMRKF48b3-0Z1L-6uvACcFDGtmYr1nd187nr3TY7KiQXmwVB95VewwzvQQ"; e_fb_hostheader="AcJlvGNjivmVqTIpmRe0E8JXI4zp_B2kztZfI-f5eQMZrQamqKsJu70iaUWrB3PCXZLAw5nODb7uhWAa"; e_fb_vipaddr="AcKV_1aZwxor88RhR8zZgOa5zMLyEqLQ3u_MXkuZaEo5Hy6N4kiN4oWJZRpPomNW2pQqGQm1FOPVih8VmiAiyV7j49udcPA7AA"; e_fb_requesthandler="AcKU0HxXeh_-mhrHL6FdOSYrWNDXDY5GUxOKHVXUwMv8ww_Bt0bHGoHvkk048tmE4ex5EnSwavc"; e_fb_builduser="AcJ-fdSwKhEo9Sc9OcDWmLtWJlS1iOE1jMziB80wcE5kcHiS6heVtRRg2bwaHlF_Nsw"; e_fb_binaryversion="AcKiUPql_7NqF7iuGM9uDWREqEz8Em--pG94iRzRYKaECRi9_X9xkaCnUTmvWqOddBq3Fhtwzp3k9fFzL02-q8YIIOCqSuk1g-U"; e_proxy="AcJCUGFlC3t9r0Cj7gfzTL5kHjdp0ztkjc0ZM3U3qnznSREBTSu4t_EGu8Ict_0_hpJ0R0kU8kLdZjDB_EKb", http_request_error; e_clientaddr="AcJadu6PsAoY6E5p4uu0-vwrMXb6oaMBZfBcTllNOf8W8Tj1Z8rjrKqS2e7gphYuQAxRpzBMBjmEcBeRAA"; e_fb_vipport="AcIMHdymkvxS9a-6mv5o62RgRxKFYJ-G3-vCbWXqiMS2oHi_UtdIGQg0yBoj"; e_upip="AcIXiA8POveFMZerU_OAVfsi2sptfkZbGcmHRB6KeA8MhMpvLmS6pqcnGTBmacNHWJEEPr1ZxnuIpCakLF_F7m2yKomqya5j-g"; e_fb_hostheader="AcJGOQFg-BDe5xKbQ8kTwrEPnTScyhVUT6M92_NmaFL1Sh6bALB-TcB4CZrkOsjTeyqCi4bHwTGnMDD9"; e_fb_vipaddr="AcKu_ZxrjkAzsz_OYGtYjhh7Ar6NaJzK64POcax5aRIAl8TWsuXwbJGWH8wcu9a6_jnHUZc"; e_fb_requesthandler="AcKLq6M-UCokSqJ8E-TRbW7Krh0CmYwdoIGlJYaIfVuwGoFNf0f8Teye9rFaot4LiVTuhTDUB2U"; e_fb_builduser="AcLMwWcwQc-o-cHziAttACPq3WQYSm07jue0qfMnbFwkqKNRR2wvRUFbPjT3vyaAvAk"; e_fb_binaryversion="AcLtaaxTvcWcZOqIGbA-29SNvQxiDVCHyuHjb3r05ISbx4t3GunZngHBndgZWo_YiYPOT080Vt8cTl8OeQq0BAtvvso2BA6fdyg"; e_proxy="AcJ4g0OfxjTYkgdSuIdTWs4o9XlxcCUas4ClaldPFwWmrXlUV9pD8ByJ8L6XA0bQ_WzsV4PB0BY-wTP5"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 13:02:49: Error on send one message facebookId => 7103124109736844 02/28/2024 13:02:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmOTAw3ch-wXEeasBDQcTMQ" } } 02/28/2024 13:02:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 13:02:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 13:02:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7629349, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjnI5czTSSts86khjrqeA1Z', 'x-fb-trace-id': 'AzAY99zU5MV', 'x-fb-rev': '1011710067', 'x-fb-debug': '+8drS51cMOXt8nBvpNSbkoHg73FDYBtG5+M5aUvMyAnhVnomJfBFY43kTWU8I0VJYFvA7DBnndfZRQT+dq/2Pw==', date: 'Wed, 28 Feb 2024 13:02:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI0zfbSS4e8ig7zd3DYUQgtDVhc-IT8OsJxtZzR2pigTr6vCQGxzMEGDJPHr-qfP7yoWktzC0aR9mnyxZQeOIsJ889jlrbDLlqchGZSvFKKrhbCfA"; e_fb_vipport="AcKPA5oUgOgwuIPIUVb71IIGHvpr4hKUzdhjKWPkIz39pjdaqTUl5Butc8Pu"; e_upip="AcKaElUaoV_Jb9gyS6ioydWCrXn5f2ITJ_87MX1ytMMaV0izvfj24NYqCVT0GTP2_9Lte4ok-tLdaWAOJoLWWPomb6flOYHsVg"; e_fb_hostheader="AcITbsxjt0Jv0Joxy9BAptXOQHaDUVy_a0SNl3tuyqz3VsORlyqanjvaB6EugHtsn_RkjGK0_wE5t8Sp"; e_fb_vipaddr="AcIdmmMpKmBBOfvLt8OwEgMKUQ-Rg0re2XsHdgQ9KDk-9oQwoo6gH6O12OD_uJMpz4Fff_eQmYZqgxaO4cBJPn1U7F8Ikp4T2A"; e_fb_requesthandler="AcIQcrwjg28Y2f6mGCO0eA4-Y-oCVmiWyVafKQ_R0LIe0eHAPCHboPYeWYVeUcfj0QtVUfnOTaI"; e_fb_builduser="AcL8SnZqIpyDSCAKX5dK5ix3xjzaVXfJbRzWZSlIe5l-bT80lugOu-EaqZLhxBvPOtk"; e_fb_binaryversion="AcImchSk10oRtHWhe2SHtjQcpYL33yZs31QhsKFdz0drWe3cmg5C8ydcO7RX_rx_BFe3IV_yIkLgfYn7v7j5ic-fslb95rci3dk"; e_proxy="AcLDcM-JzbhBQCWwiDnHi0ph1ZEfn952uBuoM-AVGYi3bf3maWzjxiN8dXjYKUIzrzVeI9IwjMjca6SFuI1q", http_request_error; e_clientaddr="AcJn0lNf7fD2ifSRBrFzh_YHJcCk2eEdaZcT_ruTJOMStVARsMnqAAq_uKAjR-S7Yni1dwuQ9-nPuDkJ5g"; e_fb_vipport="AcLJvdxEWYHs4JQav4D_54hFNmReZ5mRTN5_n0Iy2T5wraRDkDqnDlCMuPps"; e_upip="AcKdV5zyf5na4dQtpCFgg429IP1k3nRyC2j30G52yhHKK_jWpUq5jyAS2rZyaEwJDbYRVoMeWhuMASKjYVLl8p_f46sFcfIV3w"; e_fb_hostheader="AcK-jJAhu9nAFq1ZBkH40ZdksfYC6UJ1QpPEkMku1efFoAbMs9X_CnEjJqRH2x_6ha_InIDy8XC8t4EB"; e_fb_vipaddr="AcIJ9BpDMFe2hPHC72rXfMuWF5RBiPBtXR4i8RZOaYoCnmGw-Svpz9QzMmsHuwEV8NX9bJw"; e_fb_requesthandler="AcLIU0R4ZHesPYKRHKvqpSBXKA6Ax8qalrbrQMq2gdg8Fr_PTdI_eKITOBD8OsFTyDNTH3B9tV4"; e_fb_builduser="AcLosLw1pMctDZdsvgqcbVzUYfHzwcl-SMgddKfDVDgu1FOyE_Kd7ZXr7bxxurHNwUk"; e_fb_binaryversion="AcJ1yvECqqA1Kl_czyhUU0Q-UdGb56NeHFuMVCbYNYDgCbWcQs9_Q9ZDRFAmn1qi8g1qcTmHM1p2CsfE4g4frBRLXWwawxiWGLU"; e_proxy="AcIZDxrWZWmTADxKtqU40b6cKZymiso7NvD1VFlZCdqb-6bwgpSWCjZQcU6ZY1tTVWxxfvHa9T_T0_A"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 13:02:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 13:02:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7629526, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEaUNBQFzXki918B013UM4Q', 'x-fb-trace-id': 'D3cdUGnP7TZ', 'x-fb-rev': '1011710067', 'x-fb-debug': 'Vgn4jSPVldtYs7L8rUGi4Aa71RydvrsrPemfakfCLDYbK7+BEtJbYXDt/SrBJI3TyxZ9W9PlvrsVQmD80vjT4w==', date: 'Wed, 28 Feb 2024 13:02:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIFW8vX6pWhf0O0yaM3Vg3dsUOuJCqXq8030UGcNwNY8JlLEA2RqT-eeQKJvQVXMS5jMnldG4IXDcA8Smo9ESQPveJHWyZzZNQ3vL91QDlhFWd2cQ"; e_fb_vipport="AcL-FWNsMys6_9xGAg9_Leauhv0o3W8qKILZ7EKKmsKStDA_hhKCFw7nDodR"; e_upip="AcLebIBH17_XoPBH_E7yzbkYx9Mf7mF2mq9dc3rhaKWdYvsgqDpEmevghiCT7NkYVTEYKJC5Pu8F7BET2XIRpAEYe1HQIF5UTfE"; e_fb_hostheader="AcJL4NsmiLNMVZ_2TVAgxsiZKo6mcZ9W_TONKNM8bQQo1OwDAzQ7APF3IFBUBCdgrHQusZJYSA97MBL9"; e_fb_vipaddr="AcI31zXo7nF56lGyaCizos88IUGelZ7etKkF0-MMMqcdxErMs_pXguvTdXNQstpr0tNQ4z2OMSps8BzJ50XPyyJ8XMaNCJyp7g"; e_fb_requesthandler="AcKUhcoZ-ZFbFd3ibZYrMh7Jp4q5bjVGu0ZCl5kiPrhHBMcIlrbTm62q1K2SfSmfuZDa8c-lJ8U"; e_fb_builduser="AcK3Owb8GbWqjGE7GuySgbRXtEps02gm8ctVtHkAR3b5vkxFDGFCdW4rPkyzgzRDRx4"; e_fb_binaryversion="AcKK7wj5ZR_OUOYk84p3_50CSRJ8edFKbB080vkrVY_QyxUZQmqau2dC0E6FU0MI6oommcbfGi9HDzQI-ct6QyXuAmi8j7ejiEk"; e_proxy="AcIQUwI7jnIfLiN6y58XanfJBdauIx-v-xB6u7RlHC4eMWgpmD-df4REkzXf685WwncAlSv1kC4l0FlLIfpx", http_request_error; e_clientaddr="AcKIFmCiurf6sxRkASwnp8AdQFX6y-2HCI7k6RGM9FtH7vEAjPpEPUka79kHNadx3p21K-5eN3owJKXU1A"; e_fb_vipport="AcKv02UVM1kOWCvNz01JccqLa6bxIFGxlBoIdoNFg_L8dFjatG-jdtsDvnON"; e_upip="AcJjpq2b8tH3kdH2zBZK9fAK31ZD6mG9QMWreNOLtyfgEDTxk6zGM_Fmfyi3MjVXDtCVCObfsUG_pXvdQT2kpKUHKzqFIOyg8A"; e_fb_hostheader="AcLbyrts0hasKQNtS0TIYU9xk99sKXxxeeJ4yf8TkFvyxXU27su-zRqTeZclXH1cmce85bt4R8lLBlXp"; e_fb_vipaddr="AcJv7LQyi3VUR0ZHSTPzBTqcDg5ix81hJwcy3RSijS4Pm_sDHnv2E8KEwpLV12ge85JEu2k"; e_fb_requesthandler="AcLTzmYEY-Okd83kLve_Gc44pKBgBEOWIYflpJR6QjB4j4a-itTYnooyzQ9GWgiFRQLGcx5ZUKo"; e_fb_builduser="AcLnDiFOGgG-Qi43L6hxxMgZtewhnwv50vxclbjMfU1ZfPrNqP0n_6rmc-0icuoNTY0"; e_fb_binaryversion="AcIHzRCZg7kXH7WVInAKEBNyzSX1jZ90vtj2n1l25jiiGc_N9DVwHu0gcqXy0hApwm1jOgUfVkNccM6KBKpGkc8qvOolHusSHYo"; e_proxy="AcKGSK5wTNpvt_pkdSR1t3GXlAipmL6x0YNsS3b8isObC9nF4WOH_7jXhH1Wkf_9aEBz2_OJPyidjS8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 13:02:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 13:02:52: Error on send one message facebookId => 7103124109736844 02/28/2024 13:02:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AtlUwk60Jf4R_8_iQfd0OVZ" } } 02/28/2024 13:02:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 13:02:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7629668, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Agyv63B47jyFEFJHGAzsxEI', 'x-fb-trace-id': 'GFsAqAh3uZc', 'x-fb-rev': '1011710067', 'x-fb-debug': '5urhtK68gtwG2f3tck2hlo4vf1laKsjnwTOH9Q0crhqJdcgIUYaqIoaLmH/OhezhT0fAqsRaHDYHRi/UPbBrfg==', date: 'Wed, 28 Feb 2024 13:02:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLBkVFmldqG9kHIvVuqChl4XQKLYvNZaemJAQ6Y7xRQl6Ui06W3cRv0W1t32ZO9v85ZEj0nvV3mwDIuC0rofTUp60U2xRbS4iGf6yO3uoVWh_e7EQ"; e_fb_vipport="AcIFHPQythuhvguFH8wpZgvRQmb7cURxLgSeyhKof2KN2GHKw7FoMF4fw_Rf"; e_upip="AcLNEvKqKElNYeI5om3M-xrgifnjqjsnZ_W9OcJyHoFXHkVQqtrA38TjmfmAbcoXdhE0HHUZqCGJLrTEnOl-fOWM6cQS2S1zEQ"; e_fb_hostheader="AcJcLY2DeZotnXIx-z2_fYN_h89ZUWNPLwvjaCfv_EK0k_bHQ9SVJtZwEfv3yTfIoAX7Kp4se-c8gTCu"; e_fb_vipaddr="AcIRtLtrgPPyQMm7GK6GbIfPp5nIlUM0y5zov8mr98WkWyz_h0Sq_AeThQ6oqapr76Vv7rfNPbhp_eBJB9Zdj7mccON-ZkK0KA"; e_fb_requesthandler="AcJidJVFHmezsHJRa89G_joK8Uths44BJGsxrHtjGd2MNe6kBlLeGnjVcyQ0CMu0y8w5yZX-o3o"; e_fb_builduser="AcK3FXhVCsLXrNpwnlKOBIE7KVj8CVnGE_5TQfjQQ4Ayoa_4Lmqu0jpcprU1WGqGUOk"; e_fb_binaryversion="AcIcVYMBZGyZXbs5TvwakOrJ5pw1GoR6xoV9wzUEK3EDxzfdA2ujspRwCodwoNaZtf4je-ACkg-c748qFN3UyxmcCWbciAGHoh8"; e_proxy="AcIL19WA57dNgMKG_DvgMwVuJs14axZ7-XzmSC3KKV8zJOaTVZWeq-eBr1E0BF1UuaM4k1R_oXvJZSkTtEtV", http_request_error; e_clientaddr="AcIGsxsnkJ-Im4egzYacYgPm8UcE7WBFADzB1fFn57nQ9sRFJRHIzdxwGVfGm8ZZZ4-rB7I4wFVbEZwN8w"; e_fb_vipport="AcLGuDxR4LaVZ3n0c-yfSjCsyjmQETVDow_qHsRMgw_FGIYNNbOdVkkZOOBb"; e_upip="AcK5_AqnT1uf1JBerlvtSJ87D4Tiox7QupiSqBPPfg6keKCpGoGADZhXYKDcJ4afwCuM38TfvAXjRbRvNwEXTGjt__ZLT89LDA"; e_fb_hostheader="AcK_dMjURhPd9tA3RdYBX_hBtqpn4qfdD7AYJ4jvgJ7hiMkb9-NdnFoouhQTrlzvTIYaXUagANaGP0Fr"; e_fb_vipaddr="AcIM6uu9QeLCTPBC7L618nukEYPweMQcMZuDUCPbuj0_WBC8e-XcjG_huy3RcNPXS5sthX0"; e_fb_requesthandler="AcI1yPMT9CTa7JHA5M81k4HDYY7Mxt0vIa1ijAPvkyRCCQ5_mIA7vxahmsdofEKtoOeso_-XbB8"; e_fb_builduser="AcIkiAbUOtDpeZxZUdl4aBQk0EbkIWs9E2ibxXWswRZSqKt07koxlIPLYMLvcOcxVU8"; e_fb_binaryversion="AcJtdC_sV3heOcmezoybefe7UsS0mEjZMhfnfTKkFeyLt7H7dtb9y5c0ySn9PcZlOU4HlBsXvinSu2fReUosBo1uQ0DvqmRW238"; e_proxy="AcKJawt87kKFboqaWSN__D8XGBmPGDLFuPmmhvTOvX_okTvqvY1RXvq4FKhYBUpmD9m3N9VwbAxZd_s"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7103124109736844"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 13:19:40: Error on send one message facebookId => 7103124109736844 02/28/2024 13:19:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AQ309kkBDv8gGdC7WWRivZC" } } 02/28/2024 13:19:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 13:19:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 13:19:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 15:13:15: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7202205746532920?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7654394, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7202205746532920?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7202205746532920?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7202205746532920?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7202205746532920?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmMsapeypUq2xr90pVopOuN', 'x-fb-trace-id': 'AzO2qzJPKyA', 'x-fb-rev': '1011710776', 'x-fb-debug': '5YSJwJPvXqLXRea0+1VFJcamgeLQ/727Ty1Eg/U0AVMPsG+MkKhkqJ7ytdAasVkUznVQL6g4lVpahRsgBgjRmw==', date: 'Wed, 28 Feb 2024 15:13:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIz4v4EbOP5FPkeP9wWqu6eVmzEv72qUF0vfonMT75PxRRq1qGspLLNlqnUJVRvUjYid5DZnfQ4tSsw5CrQ0Q7HxwoK__YFr8AQyb5oI3M89PZZ"; e_fb_vipport="AcKpHNaubI32Rc-80Bzt5uKT7JwChAvssJoABeqpOhvRlf_dwaPLHNWDmEKG"; e_upip="AcKIbE3Jwu64i4a-yT6iEtrIKwqH8GupHKPGFuROO9t6vMgQrpviUFf0OTAf7dhzVKceb425BqrZBl3rFVBfAtKXK06Y3vk9"; e_fb_hostheader="AcLFvKDk-HtJ6g8Vtqy_ZmwL4LvWtPBGXuwcEWCHgeP4C537hCX0tO9VjT7Zs2o7wbiF3w1xzRTkNutV"; e_fb_vipaddr="AcKIeVuQVAAcYM1QrRZWZd2rpeqISs3tpbA2Lxhh9jVybN5_7iCw6fJDMly1twM9of-ApDV2usyfssETYMprkM2JigicPyQ-4A"; e_fb_requesthandler="AcIC55Aa1wompXC76PfsrdfZai2mLIVZMxPPYmNdY1_MOlqMgv-3cUHCl8aEAgI617ExaUh0tT8"; e_fb_builduser="AcIHy4PoPXm57ccOhSK0pFzyPGcrxvlQrHnG4dfu7yHIDzQ9vN9jDHji0__GLISlJOo"; e_fb_binaryversion="AcJ0M-Joti6ZyyjHWUrWSXbBycHCRovnhd_HjOVbR81QUj43-lg3i1Dzw7xxJRx-kzPm2L70zizC5_zR0v0qbu9JLtihcqPw-I0"; e_proxy="AcK6MmL8tXSzXYttA_1i9NeTiATy7Gs8rH8hwwcYoNHOc8Tpk_bndZHnPM7-uFEGoqGwjzomZFc2jIeuO-cg", http_request_error; e_clientaddr="AcKdiQOakQ7JMSElgfu9FSGjPTOU7JjmjWlIfkySEua8WVZWPHm4_hL31uzqFoVBgC7LPH7OYkE0ycJpIQ"; e_fb_vipport="AcL0ylE0gx6MRHf27H31JqoXFhD4xXyt9en3ngYQKU6Go8hMCoCjG2Vsd-n-"; e_upip="AcIfdGKoujlnOvikpra0mBAj4NvZlG7R0PrPsllC9cb0Lh2CEF8BHzm1SkOytzsRPj_U1R37ok9-Wl6uma92hM6ihzZK6dtSYw"; e_fb_hostheader="AcKgIhKvid9B67e2fRx8jRK1aZ_ePfOh22gNFWw6cDDQscMjiu_RKuXHfm-HgwxSR8foLPGLiVNX9wGm"; e_fb_vipaddr="AcJhJOAD07QfJE9txmgrmehyqJWoZdbVZkrvTKayQYjPQ1vlgutp4DJsXU9FeYtTcRDQ9iY"; e_fb_requesthandler="AcIYk9yPBiMZ1d5Dsy7qQFti6AvUhQ4Qk-au_HfA1Q2y1dSRcwe4xB3tFB0fVKXKJrVUSlb8Cto"; e_fb_builduser="AcKsciVxTA9mcQvg7hBIH2TmNyWg4oatJ-qoO5Bmfv9tGFCbAHpPOkolsVk877NiN3g"; e_fb_binaryversion="AcLw0R7_l-VqeJ7mQXdgCfvXB2H7aE2Ge7TTHAKdYBjFz4Ur8JZVfa_6vfmaFmGk_SfWMNtX-lF_ckoWpfxNCH6RMU33-DBQoYQ"; e_proxy="AcKgNbpAg3aj1V5M1ClR0k_GRT2-LSKlCRlEzjIHDw3zewAHlXY0M_GdFy7WknFDX3SNB1SA3iYa8mk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7202205746532920?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7202205746532920?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7202205746532920?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 15:13:15: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 15:13:15: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 15:13:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7654514, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aj2FHP7c0gA58uihNdTYe4v', 'x-fb-trace-id': 'BpOLz6vjGkB', 'x-fb-rev': '1011710776', 'x-fb-debug': 'QjPvOIwpO25UY/7wtZD0gKpVI6nZwV5W8a2xAG0/38slxTFhx+wSbgbprVhvNAdZ5THx4ulFdS9xo/i6YaGi8w==', date: 'Wed, 28 Feb 2024 15:13:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI6bMnstwYodIa8QBk2sggziKFudoshz6ycgQzsloJHfBs8WUKNTYLFqbwyJUrrVXOMwpLifNcC6Dttrq-XUHY8vgw5HIGV5wQAWFvnEhi_AMJ26g"; e_fb_vipport="AcK642buzHxeSFNtyj9aCowAlCO1aCp4hukVNjXsZBHoODX78-zVQkyabGOR"; e_upip="AcIthDXMB6z5rZ9DC1xJC_W2yOadkMMQSPw9MGnbZcBAEwLXkYKWeiZgqzCWoIj8USiIe-Rs0CLoDYNaJjiWWHV7ZHWoxB-E_AU"; e_fb_hostheader="AcJT8TZ14gCEOssluCD3n2cYdaM6fRQInuX4NrWDDoU7CXpfS2VsWjIh8QO6fynIdlh26VFf7IVVV-RX"; e_fb_vipaddr="AcK0OdMQruZnvocfUveDOqQ0wwh_-swq8sZS6Wq-52Siws2mgP29fsbwDD3hHfl8yQ3KZlZrZq1xZJITgr94X1Y7zPtfSQRlbQ"; e_fb_requesthandler="AcK2W7cLtKA8AE21ybchEbCd0n1sR1WufVxjBLNmhMgZJjL9vdoOhrFcRajocPmyX5ZUg9NQP5g"; e_fb_builduser="AcKMamx72IWK5LPNJKNftNhqOQGsA0h5cNcRg9DjDz2YAtqoDnMzWRzEfdrzMLMNvHM"; e_fb_binaryversion="AcIu1BYGjmT84-EVzq_Wwxpdz7TQssCxPctfaudc3m-VZYwTnYs5ivL4YXJovusuxevKFsASIkgYjDoIXR-vgVRAXDNYqdJr668"; e_proxy="AcL6foVnKh7rMk9399NaWZ9dbBoRW6JcbBD4pO1aJXI2cpXse9YF3uX7ePUQpvddTm3_0scBBk_vG0cJoRXP", http_request_error; e_clientaddr="AcLwXOyMKBwC-yW7GlTtfls4BEeIEO-QLAQnyAD-kK5RD78g07XtKyioGakmj6t0TPyn8y0RgQxaOFz7fA"; e_fb_vipport="AcKixEq33Gbww9Ix39N0pWT8KqUx6wlZ0Qr47lnpcm8MhuRrgjkgdqJp3fo6"; e_upip="AcIKSRHvA-bZliA84TP0DtzIZJVhF4he0-7-mC-UZhACW34HdeXNOK9gGzoaiV8FLg5HP0C8LRm5dw8BiXqP2CkHIW1jmwsk7w"; e_fb_hostheader="AcJOmCi3lbUgXg3gYAemeGZePXPyTKsbxCc1oxhEgnzcjvauSkS99Dub48oH8Uxznbc6ingu5Pe8M5sO"; e_fb_vipaddr="AcJWw8br8uJdEJSws8eqzHaQhNt-qgtwcasbLOcZ3Jr-B7xoX4Vp0PfGs7GM5LtQyUSM_U4"; e_fb_requesthandler="AcIzeGZAyoiRmRL_HIMiQNidYjecnyCtb6DdgpUyhdnUAvKssX2NEFIKA3KhfjF38u0PGGok6Ks"; e_fb_builduser="AcI1AmQ2IJXdCHDElwHm13DWERL1Xuv315yqxTHYW8C3xOpdUqImOjrY7Q3NEzi6wOI"; e_fb_binaryversion="AcJuJprKByn0A3b_kAMRPaCc2sPLxXEoma_-v8uyg7I11VBD2hP5iLcwYYTDduSlj8ZIEExk-DkapnpeYvzjKTH04Vwt7uXhb0Y"; e_proxy="AcKAd7rwuQKGs8QW13SoWDJtrc8z07ZdDofWcgqKLwran3vlPzMgA7fhgGPapTMJFiirGglFOpCIekk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 15:13:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 15:13:18: Error on send one message facebookId => 7202205746532920 02/28/2024 15:13:18: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AqTO9Zv0RYraJD4lHOC6lHf" } } 02/28/2024 15:13:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 15:13:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7654604, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aq1Wl_KRtrWl72-8spTraBl', 'x-fb-trace-id': 'FScDPzZYBs1', 'x-fb-rev': '1011710776', 'x-fb-debug': 'Tu7R5z56kub7bxJIoPbAIHJFoxG9owIuh4XcoWsyAN6T244mTuSD7pRNaPKt9v2ra7w4iBtRFgT/73kbtJkrxw==', date: 'Wed, 28 Feb 2024 15:13:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL898grOuceddIClV7x80sYgzxgUd23m-j6MuuHvtDkRrGcauBCytMi0VsiBlwm1SLtFaxyR-SpRYkspe-1dy0HeNeI5vZ5rFde-GaHN3V_0W_hsg"; e_fb_vipport="AcL8ws0mUeO3wtfZnjuTIJ6DlRNLOcUdK1nq2-N-FN1y6IZZjfQkOlg8fJU0"; e_upip="AcIhxB6fHFyiA4BNztQaDBOVs9_Ru4hs5MBsgZGc_2OHooWfprQYR42gydu7vi6sEnYB4ia6NBAIsE32SwndEYu3FC71RVTT5Q"; e_fb_hostheader="AcKMpVPhK-xsMTBjKja9zHXaL04t01tIigrTYP1-ZePZeDIaE6NYJ0CjSNErfJYbhHFrZpGoZC3AJjI_"; e_fb_vipaddr="AcKw6lTxel4Mk5RZd0g1bCT2lZASr2IoDi_z121rDwBId1LmlsP1VXdFeMlyCeGFhwwBasHwI-XssNjH95Tg2GVxQIK1kt4HYA"; e_fb_requesthandler="AcLeQ4xSRvhQLWXGZ9Hh-zyjDXRBFb4lFcycjRq94lfuDU3M8migsm3txzLZvo24QjVdWU6CTDA"; e_fb_builduser="AcJ_UN1SC9v8ZnYRGHQb9VB2grPHtO2dRZPr3GV-Y8Babjtn10QElo8DVYfpqt8Gtzg"; e_fb_binaryversion="AcLDliC5NDNjzubGsma3_hNpfVjGrubJfMY9WrGbkjD01viwirx1wkzQvH4r0MGu_w0rhOcIChcSt3nGXpVZl_eoANaxwwKdnSk"; e_proxy="AcIO-KQQQNVTAYjWAzWtXcWJEgYrezIv8FhWTusJadioL0qbwbrmhmCY7NOf2JGNKHE9rR4Eh1PuoNU_oMET", http_request_error; e_clientaddr="AcINvwHRMAMJClGel2Z8mqIAHN-wMauImO0oHPV1o85odjX9l7ukz4ipqo-HzAOpx6Pe2ceUCoJ7L5a-Kg"; e_fb_vipport="AcIBe3Q81v3_AKbaBiFax7tdnipN-n8HtLGMrNFGZhIMeHDlaXt89gppiphN"; e_upip="AcIiXrnzJ3jT3O0j1dhuHxHK5phixjvsUojsho725uj0O1lx4p1j7jbz9fmtqY6fjI_IwnN7mHY8N9EuF4m7WRmrngSQk0JbMQ"; e_fb_hostheader="AcKlGrsgMt_5dw912pIacaUQTjKDWLKNwWqAs17q8H6MAud_TWKpxh_Ai8qE4RibHoLyDXAD2h_-nebj"; e_fb_vipaddr="AcJw6v2i9tTJjiJxxIpMS_xdRqWiqlVkdbsTWeyctr04hLW1B4KkjI5EJAHeje6UsBIK9MM"; e_fb_requesthandler="AcIo73vdyXRzhXoev0CKyRtjz1f6xCYoxkHyOx0h781uRAymjYwF6tK6bo4mLXT_JipR3XpN7JU"; e_fb_builduser="AcLVs07hjHA7LXwWakKTCmtwzMu7nv471LmpaLavLywvmrPAuMcp9NL-JCNxdhFsfWg"; e_fb_binaryversion="AcJXjTaF1bvaS2T4uDRqUz0X6WHJPnkqAr94BZoj-axjgLiaTQcr7FHcvIstW4DH3KwB2ISZjHRrXrK7zJ5Pc9gxEoMA6ScVcpw"; e_proxy="AcJe9X7Uulaa5OVSoN4ElKDwkmpfgSIKct_TkekFcfNdMJo9W_FZw7ItUmf1e0pfiKvqcyuvuTOyDoA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 15:13:20: Error on send one message facebookId => 7202205746532920 02/28/2024 15:13:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfxgdYKXZ-I08EcSNvBsuNf" } } 02/28/2024 15:13:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 15:13:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 15:13:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7654743, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARY6JttLGVyeOo2yQADmPeJ', 'x-fb-trace-id': 'G4Vk06b4AUa', 'x-fb-rev': '1011710776', 'x-fb-debug': 'ZLf0BTzHkpA17lWDJW6Nv5v3l+R/amECWqA+uXillwod2EYVyggz09te+BX2mFQ7l25eo2Saq8ZomiL7RFs7aQ==', date: 'Wed, 28 Feb 2024 15:13:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLvMV51TWcY-OPQXgshwP0-WgyjB3JPi3kxhfr49wP3sHasYWVup5hgkx8OSu4H4B9VEZafl7DCvBmXvh-JicQMJ-seeJZuP1jxavqqxMCFGzHT5w"; e_fb_vipport="AcK1YA90U5EDCz_xGqWjR8Ey5DFS7-HmF1UlWcec1vpDSpVKtnkuahLuRRbh"; e_upip="AcJTnpT2Rn7Wi71cjWHuU4jJ6c394GqE0CTRSXUphtbWmccbJnkxJ7gzrrYRbgYLuK1SnbG-HzKG2su4ZROXGUJfUf7T_byL_lE"; e_fb_hostheader="AcLnCoGyz_T9I6qVcsFFtSwGRVXj8eXwg4CsQ37-gCYtwZ6BxPVBrSvS1Y5kQB1KWuu2QL82Ws2BKcVn"; e_fb_vipaddr="AcIpcn-8vvahRpAwYcGDFuN_px18coiTHsPo7YWR0TOqBb5Hu7MOtYklyM1N0IIHK7rVHxtz8xmbaic40SqiAkK0OJNImh73hw"; e_fb_requesthandler="AcI87MIcgikhd8wcyGdjqILUW9iG6PW6LmQNpTC_SLuiyImgaEMbaS23iLaUXfeOBdFkQnyA-CI"; e_fb_builduser="AcLbR7xK0Wz-CQOD_iDRGBbKSZdmZgYxY6s9yfGgvHiKOJUTViQNRwdqbT6Jy7XOWWU"; e_fb_binaryversion="AcJ0vjOiNApYlbbasuR0x-xMYw0ZfLpQ7ih4mOSBUU6Shb1FLbcDOBFyJl7MvHQcNMExRVe9f-YPULChnLZkD5Dk6x5KQzvrbZo"; e_proxy="AcKXcL4cAdr-bCkJXEUtI1V51KWv9ixZGArdXe7mD0pkg9xpV9cfZhgOn0sjqNRJ0zO7GLSl6MCGiO5J-yz-", http_request_error; e_clientaddr="AcLYdk6_cjKwOHhrue5tpg6GR-HHiD6tb-JKkezbB41bk0v_bOutyNepGRT0fNyAFLU-3ErcUXfxfxinQg"; e_fb_vipport="AcKoMJx0DNH8AXMneXsHv-ssd6Aixdz-95Sg6TNfOkRfeU7dM9FAK96HnM2q"; e_upip="AcK6M8QPt8ReKMg_GPos5l-Y17kuWJvYjWpFHEdghI1aZEP5Hmx4DiuUhUJx-UpJYNonLU8n_UmBP2S03dgks-tfqyaN5VJ84g"; e_fb_hostheader="AcIB5HNvD5CPoJylictq0MmxIoQ8QEBr8Iue11oKNPUm5h2BOi22SvgF7lpvcXHECLeEUXMIGQ89_U9n"; e_fb_vipaddr="AcLlcxihD2i4GeV5z6Mgduc8zFgpOdSizSnys0i7pHOUn23AHk7PE9s7Xf30IjxQf8wJwiw"; e_fb_requesthandler="AcIgfZUvTyXz6G_IdUEOeWXb_ZhQTz6jdN7QckSp6R8uwjNHXSPDbdT9CoCfOv8icVldb9nBfcM"; e_fb_builduser="AcLo_6kD-ySihJOSkoQLskK3c2YMUDlgD96d1cKPCe-jwqFzGxNaytgt3LyGdIhLVpU"; e_fb_binaryversion="AcJTy9j7Bh4tEYWTlGGgKLMTp91Ob_VDr9mbTt5otiYPyTvCOzEMpggHAbz8rx0otjAoNhMHABMpH5Uc0o6HVpILw-_29daADnA"; e_proxy="AcKyE4denTfhbZXLkc2vmzEPUX3a9K8egOEnf5wTa-_C-uXxRQAhSejj6QqyivjGJQVuCohxGbmTaTc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 15:13:41: Error on send one message facebookId => 7202205746532920 02/28/2024 15:13:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AEMETJIAClqokXk4LlMQkco" } } 02/28/2024 15:13:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 15:13:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 15:13:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 15:13:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 15:13:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7655229, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APTaFk6p0r9Hop4JupLZ-_5', 'x-fb-trace-id': 'ByibetB4Jvi', 'x-fb-rev': '1011710776', 'x-fb-debug': 'fK+1JLRnr1QP2UGZDtdT4JqYTFdRhwBMSo2TdIRmzJao55Cr8OUYwaSsX78zQFzb4xJfwYIXnK/Dk0xcaErbqg==', date: 'Wed, 28 Feb 2024 15:13:58 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKKV7Vq1VpF_gJBA8tmLDZl6FKahdE4Ddq71zJdvZRCRA8pmWjN-AAJjEp2nmOEgcmGv4bbDFJ5lg71apo2Jg7D2cR95E43NyN6xNjmN0JXLh3sIg"; e_fb_vipport="AcJsB5tlj8KjFSRH7U23jRgETG39ehmuWucBfdcsmEyq2IlMjY8zM4D1bmYG"; e_upip="AcK0Z-IEgTqOfcNXTisF4DGM9AYq9DmnDnOAL1tVjPfsE2Arlewigwta7D30ZWWeN-YONd0UaG1Hm5rgOfN7NDDy5R2nbogX3g"; e_fb_hostheader="AcL_Db5TIiIGRQIzR2ODqMN10qTheXmJd7JZQyDvM4WjMusK4NLkN9Cj_PVCO9ZyhE6pDuKvz_niWu1I"; e_fb_vipaddr="AcIbIoAgH3uQpcJPR-IGWi-cdwmUVRvwwuNz-SDpUqBoYjDZsNOs71wG4yjuQkfV4t1BjblLflvurGE-W_AHHQ7XLe4akxzcAA"; e_fb_requesthandler="AcLtIKpYtrnXmvazlBZgwjmEZWQYFU-_uHc3omOohfwcEjeEajn3oKRnpskgqzlTRzQstRJ9Rr0"; e_fb_builduser="AcJFIdF28eksdjung6WWf59lt0A-GOFzLSFR90SmlYFmGnQeammb-VZb-FWhnDyyVyI"; e_fb_binaryversion="AcICFxW80dqjHq5Z2p5uCcZxgRSbXpLrdLX7cRufH_s2VkhhZBpQAQQJyN7n3tZdys16bTvbz3atlLoRqF5hPwEwLYi3aS_hm6Y"; e_proxy="AcLI01bWWOIUyN8kYppHs7iRWfbNE6gMKYKe6UY3Z9Jr-7LHbiH7VbFShUBBxXnericpCwgM-zZcIgE7CZln", http_request_error; e_clientaddr="AcKvSpMJhIbbesbg7TMBrbz2pb43R3589Lj5go4xNTNIijQmocMajwlnNpzMaePgunNVlZfrJfnnUxfxuA"; e_fb_vipport="AcLH7rEF0-hX4fJh7pjwsQlufgcgw_XlrqqNC0y8NJKFR6tMvmlE3vEKxAh9"; e_upip="AcIOFPAeyg__Al8E8nnHm93F1PDNwyg10hcQFNDrdwE6UHANA3hczbFGVcXN72u_dFqKs--FzD72bEHi4JyxzRbNICBAA9wlUA"; e_fb_hostheader="AcJzPh-TC6LLIuQmoXifvOlYWaX3GIo1_F1Op9qxDvQI9c14fE1MLJFiVyf3ii_aXqjPV7FOOHeK3Zi9"; e_fb_vipaddr="AcJGwwX5y5bizwUYtzgdmxn0qR9o4ZjS2IX0hutz45SEfpWyy1h7WjrrtnV-_cMpabp0Hh0"; e_fb_requesthandler="AcKOUofiUlUx2N6EscOmFwZKyoPVo_Kw8UVvYkc7GhjZZlkv06ayjpCd22D5LFK6yZ6t3p98a0M"; e_fb_builduser="AcKngGospG6FIxdJc9zv_o1Y3Afz3kKLALEX9kYXDY-9t9mBPWOy1wW-4cWLBuIDT1U"; e_fb_binaryversion="AcJb458wcmKUr6OAe8qxCoVMT2ocfa-_K1-4BcrlqBTWGxDc82uV2TtCsj0NcVKEl-ARSTN9PdTdN4X8G-OLnX8mi6joBvc4-P8"; e_proxy="AcJZWztwZf-lBF7tf4bJJgSnquWR27etRR8xcP1cuSB5jx6MHlaiINC2qgG5vuAsox6oWDo4tOecwR0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 15:13:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 15:13:56: Error on send one message facebookId => 7202205746532920 02/28/2024 15:13:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AptXkYvmr0xAgEx6pfi2l_o" } } 02/28/2024 15:13:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 15:13:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7655362, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AavNlQ4kz6UtBt2Vl0fPiWf', 'x-fb-trace-id': 'GJ/W3yZNGjJ', 'x-fb-rev': '1011710776', 'x-fb-debug': 'OCdLf0FYxYWe3ndkHF5o+UUdBQtkYCVFmeGG2wrUBCKE5t9ZeswPBSdzB06G735wbjz103KCrLMJp3sPLKcfFw==', date: 'Wed, 28 Feb 2024 15:14:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLYhhO9ccovTZjLPg1GUVRHgfANxAA8GtMuImUjfoSR37uZ_Q_defx4YweJGbBEoG-O3tqv9Hi-_Y9I_VKeIombCMq5to66iq_AKzBFsZT7Q--n9g"; e_fb_vipport="AcKl4RhpeYJjCAx1WkHQQ7ENCaH1O-9a1Pb-dghkNgkrdyLlS3Dx3wApM-ZD"; e_upip="AcJ1TC4XduQ7U9vXWbj29GGNrbNxXBonM_ykusEWlhaCSzRLwWx-UgKU6qYXxoGDH_WgbDTv1zckLoODpkk7_KS3_tIcWHmi"; e_fb_hostheader="AcLbErckSX_Z4Fin3YMGIBScxa_PzVzEfi9ukuRHUW52bzJiE7BGNqawvUh6Qk1XpyKIaGADnnMVP0-_"; e_fb_vipaddr="AcJAtDTex-moW5BMTbM8eBRafk1S9QHy6-AURpyHfKd0BGEVpo1mXs6uTtnWYThh8iN98qZzmeRbIB7jhLdupfyS9FzZ7cge8g"; e_fb_requesthandler="AcJ_XAn_MIenoodSB0v4t3jdMzhmfA3F7TdclY9425sEo-Z4m2ZVn6pUvMMQRzg2Obze2yCNHLM"; e_fb_builduser="AcID59Vgfwu8oyCWHsgiK0TxCBN3wUwCTRAILa8IcVSd_phaUakNHgCDsLMLMfnpdUo"; e_fb_binaryversion="AcKVgh5wptxR8tWPql1TSuAnVoy2-UqztNo05BLmnQSG3M38I1RcweNu_G9w8XaAsnBbEm5bAoXU8Hnou9XI2KJSiqVwDu8Qkdc"; e_proxy="AcL76vkFPFbts4cNLvol0MbDYzwPfVf2II9J06uaDsHIUU95f2AbmACgRb-4gpBFd2_1vWslBX0mxuLqgcCY", http_request_error; e_clientaddr="AcKjSFkbWO2_ISb0As-kOzbtPH_kQuT5UEHMinDs0UOqdQth8KeAsbrn2Pf1_oY9JlNSrH17S5CsD7gbTQ"; e_fb_vipport="AcJtJV3ie7h9tHWl1AnV8SDdEjMiOj1f6IWYggb_PFSsWeQBCtZwwcjOAZju"; e_upip="AcJ6iLOVzn7EuFndqVuoQtBK4V1g1Yyas2Qux5qViYjxAvoCeVNTc-W48Xc5NHazIOxekDQH-J6v98Vu-D-0CF8NyebXb6p3AQ"; e_fb_hostheader="AcKMhr57DpOKRRmkVShHjmgb46MtNak0tOG-YDHpSU_Pb4PW3tQA3qKkM3FYKP588uvlIa2zyZVJVU6q"; e_fb_vipaddr="AcJVthJh1C3HiANc9m1bPGaXfbmP0_KUC8QoZzMLErEXlLUdkIViPVAJwIPabzxSqKYDmQU"; e_fb_requesthandler="AcKkLSo3s5ZVE7mFsaMc38O5Tx5vOT0NIdsfSHxUuGvv1icTU7XujAU5pY-3oP412MzTLuXP9xY"; e_fb_builduser="AcKzAEoZpmEtoHiaKXmoJXoHkIF3-lqJPsbsJAG_0KwhQUfzybgSbAMO2b0ahMgT70Y"; e_fb_binaryversion="AcKJPcx3iNjpa8YDRqT9zScHB4NaLd-1NOJtlwJjXR0rFLpGwxQB4-RugK2YbWrFaiwTNCH5LsNZLJQZBpF1wWKGhNu0oJFQpQc"; e_proxy="AcITeTlty-FXqEYJve2o3YGlqLwd4SaS4JY-jxJY8_pEGkRUmeSkxUXwK6FKVMeUFN3WbEXd2iiux44"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 16:55:55: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b289d82d651b3e92c399a7 02/28/2024 17:04:18: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25280917344840132?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7677793, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25280917344840132?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25280917344840132?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25280917344840132?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25280917344840132?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwdK0_PDbYxYO-2oz_1lL20', 'x-fb-trace-id': 'FCieKZbju3C', 'x-fb-rev': '1011712572', 'x-fb-debug': '8WzOLVm4BtDO3MNv+nRJR1gDxIac9oo1X56Dskg7ZxgGMqCRkU8aV0q+aXx9/MRqQ3aZg7WmLx+1CUAEG9FSkA==', date: 'Wed, 28 Feb 2024 17:04:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI4EfocCgQha6BiCXyJTWYXPP9G5OMwcOKH20xcGeNuzYeQu7OvYH9patEDlmxmLJc5WoVE9D7aIqXi-zX8eRVHWzDOMGa7XYJUWY0gaGoy1IZzXw"; e_fb_vipport="AcI2CaSWH1c4Fwm9EQfLYI29tO660hoXM1FThFq2bOVlIHYDkjN_1GfCp9Lu"; e_upip="AcLeKknr1RybEHlmNasw80-Hov7N92cwOWCmxJIGNBASoXa2G1eHC6ukuq68_btG33-2E_2xvqXtKh3m4An_OApl-b3dGXFlNog"; e_fb_hostheader="AcLiavu2JhQKmblBFuHsaRNOBOiWWS2SsE93mVMJGRAGHAbym1-v1DOwLYdQGo19Z35lml9MFbR4ccQW"; e_fb_vipaddr="AcKAgFIRJofP2G49kfbwEhj1RWAHiDtZfzBZ_hPqfQM4zXgVM5pT-e9z6NaytwSxjh9m8_JM1wIRcD5GnirE5tD0CdLC3QLTAg"; e_fb_requesthandler="AcLDZBGmGN6AHvz76uP-jrXSTd-UXn72hl_lb70YgX4ITl3mZuobgIWF0qsWb6yo9XIRQjHhXck"; e_fb_builduser="AcLGEcE1RoBVvuMRMjLqhwL97liIlfHUg3x9p9PePx2CZMxIqhNNXAEfkx7gwlsWmPo"; e_fb_binaryversion="AcKB8g5SZOXQNKkGfpbsetloGkVLfjwsdOdmG8BgrEo3Mwyi2FZo0GZqPB0CmmrcbLJAwRT8mJ5r9rbGBcQoLEXeE4DG9WMP6f0"; e_proxy="AcJKzkioeS1WEwdX634AF6I_1_DVMnRyqZLh1T8DzhU8qxghnE8cIA33tgpErepLW820gwdrC_pXhs-adPHO", http_request_error; e_clientaddr="AcKo6CubZ-yUD_t3-eYGBey-gTTyZdsOcdKgEfa0PVn4DG8uvPYzeyT4VSlzXH0BrhXRMrXUVuHa1saf-w"; e_fb_vipport="AcLoyn-Jitz51lafApe5pV0jB1OY73C3Oidtmd7XVBngPvfCtrMY252ma0P7"; e_upip="AcIMzE7Vvf_SRdxq0IQTBDIs797nBiqdlR5GS3yzPmdZ9hHBrVxiF-Xbj0fYshyZHHhaWjpAOzFlfGx6TG-YXwBcy1CsoF9rfg"; e_fb_hostheader="AcJCgqYE2FYI5RGnGd_Thgmvlv8Yrv7N7b5Lu0Nmr0isQtmy-qLrTxQaK5qjxxP12RM3yMXVtTv7LlZU"; e_fb_vipaddr="AcJszEdA-whfGkpR8PT1uP_s4_R3qFAl43Ja6WgOHaxJodbi2aGVlo39pvosvmKLLmpl4XUwJw"; e_fb_requesthandler="AcJF3V-OeNRJqcHwwlIzmxoL0Ecb6XuhkjPz9lYGlhFUekfT_JLFRJ6dBUkcC5DFOYZk2uTcf7c"; e_fb_builduser="AcI1pnMq8HzxtFU75PqutnG977puQKDgoM18arW7UwD9KVXHUqJ9HkElHpzQouavqVw"; e_fb_binaryversion="AcL9vxhikBUvuihAND3syOYVVtcovupvmHFDcj3qw-Y1E8vZDxLvE2x4uKd53se5lZLHcvbadWT2CPC_gKxahqRq65L7jdsOWwQ"; e_proxy="AcLo27WhKrdy5uVy2KeghzHxTZaow08TpndsK7rgxJ_UWWPWsrjxvGkDNX4SJQF6CiT5dxkJoIbJuDQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25280917344840132?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25280917344840132?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25280917344840132?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 17:04:18: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 17:04:18: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 17:04:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25280917344840132"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7677911, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AC6OR96kr9rn0jTXnLW8U22', 'x-fb-trace-id': 'GRIfIDxeyrg', 'x-fb-rev': '1011710776', 'x-fb-debug': 'MIfv0zNVxDvtfvy9cwfU1kaGOUJRYn6G5T0pHoGHc7OQ7oVS5muHUOJHPfEXzUxDoGwQooZIOcaPOe6myjpPXQ==', date: 'Wed, 28 Feb 2024 17:04:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLP53ISYplhNTycFQJN79ix35Oc5fvw5fNgz3f3N4j7QQIOPaFvetyjh40omj4BJ-LmeYDqMo0245p-lhDD6neZwNg-ta6ZLct96-jocQZO1wsH0Q"; e_fb_vipport="AcKOODVs5BKKLXv8CMMn1NSE4aqbtbmT43gWhpmdZw7tXV84iJkw-d6oVGrn"; e_upip="AcJtQ6KUvlRxMJIv5C7NY8JIeCVMPHjokdGF7bliWvMxEz2EJpk-EcUD_kXwJOUxsMpRVAsakRWFflakTdereL6uoiCO3ayCVw"; e_fb_hostheader="AcLWADjQ6eoP-ZUaK8rH9RWYGIaCsSa7bvdqlmfvbSNBFdawzIQJao-xTCgyOygsw8Ymp9x1KG3YbYEi"; e_fb_vipaddr="AcIijyRtmPJsIzGvWwOIjgrwIgP15H43ZP7s8Rp-6JFMEXJf5UlEfHTuY7Wrvv-sEMlANpzcWWk4Fdb05bwJXTEFvTmEEZGBlg"; e_fb_requesthandler="AcIzLvCdQqGJB5YsAHenl1YldgbrcZgFo2QoG4ToYu8u3j4b6GyaWV5wVm4Eyqcn_aOuPvaiIuQ"; e_fb_builduser="AcKupb3lJtsZfQPA3_l7Ct0jgB7EhIY-Qi6nS44FsIVkNGQHoCRuBiGhHyUpmlmZ9eI"; e_fb_binaryversion="AcJlGKSSYl7Jp_WB8PgkjZAlhrb7N_8HPnLJCkarTcOx8DiABtMydLrRg8oLzW1Mc7MDdobjhI1zaVn8s5sOHZ66P9TAdmdAx-8"; e_proxy="AcKaFLVocVnr9DayhwLUv8qhSl3q3vjLgra1HxRhTHbCLO67TlDTYxo3IJnTzqYmHWHv0XkD063yhaHkoX6p", http_request_error; e_clientaddr="AcKDjXTkuie0DCHgXzzuDY-qO_TwdMJMR0fAJsSXoLeidct_L4961D5F_b8WhfrDu03QMje3X_GMbPEHMQ"; e_fb_vipport="AcLEUTNt1nrBYJAt5qHXHfir52SI1V1ocGabx_39SNj8MWb6Z2fOn8aiOZ-C"; e_upip="AcLIwEnXkD6xHHXIm_MddXZ1mdxvguqO_MVnz5EZ3pf2b82tTI2l41zcjL3e3LOyVNCeS45mEnNIoh-8g6GfWPnmOva6eVOAvQ"; e_fb_hostheader="AcKWQaV66xNrDyZ0mQOIT659B70y1FiDW4_JvJD--MQC9P4SWGcX7pNCIQsVNVO_oNIp6ZUdwH46x4P7"; e_fb_vipaddr="AcLjuLIsjAb5lwoSNtBG-2tsIUlgdiplyQU1_5LlDpxb8l8VguktUmzq2KRe7UHtBfxGjvWaKg"; e_fb_requesthandler="AcKhxSp2eK9bYPpt6DUF7NINJ5RtpurGSfDknFMdnMadA2XJ2XIYLAoOskLM0o3hbdpEx2QVpjI"; e_fb_builduser="AcIW0HEDWUbG3KDZSMMcWK-pxiQgP6vf6aTj8loqnRsRiyXCCDH1avYoHQ_Xjvhu5_w"; e_fb_binaryversion="AcJ6930UgclSbRKX0dHwaP62bnc9T4sROCiGX89-5Ftk0HZcm-cEr5rwXZ7lFaxuJIU84L6iv-DaYwv6LsimHPHXC1gr2l3mYWc"; e_proxy="AcKS2G58YXnfYycm01OL-gxVtaToqChbD799RhqoSljYbTmighn8kR4RIxWa0fzKdaKuwAVeTkgjNrs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25280917344840132"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 17:04:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 17:04:20: Error on send one message facebookId => 25280917344840132 02/28/2024 17:04:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApFXWKIur0LCLSqq9zLLJTU" } } 02/28/2024 17:04:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 17:04:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25280917344840132"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7677995, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACewJ8aD29a2Rwjpe5wCT7T', 'x-fb-trace-id': 'CNGTcJ1tfQn', 'x-fb-rev': '1011712572', 'x-fb-debug': 'lCvnGd45p60VtqQxX5xCyMleX3rxbRJIjUor7ZvWKkoOHHooncwMcSQUg3011YwTUqlroThsm6Ns2ReG60BQfA==', date: 'Wed, 28 Feb 2024 17:04:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJRI9UC35ZvIedyuECbCzWmjjNFNJuUTeJ_fhu1QF7J8Jm-qiCHSwh1CzfZVx7QBimY0JEkIKXF1EyvGgA9Z1pYadDb2JQFVLuS1_WX2A-Kwj-Gdw"; e_fb_vipport="AcKqrJ-Mkd-IcuscucT7MO7DnncsQAes09Hdb8w43RXaWBkbuHDgdjdeNil1"; e_upip="AcKcfXZfO5d8hGbIuPzCM3ggqdGke8IheY5rD_gJ1CLg-xsaPTpSAgWRfckeFp-05eYz262zhFGOJA-Cf2Wc4EJCdXlASWjyH-s"; e_fb_hostheader="AcIN2yvKLUJecqUOGs88bUTLj_aux9dklTFAN15_cLX_CLG0Z-h9sTpOpMrT2oE1-X7wI9h7ds8lG9c9"; e_fb_vipaddr="AcK5Qt2AHl--rwkvT_t1mkun4o1AZX5o0FQBmQDLz-T3CQSPR2kouWCnu3UlXOdT1E7ETQADfrgyWrYnODM8mKGB1NQhkuzKIA"; e_fb_requesthandler="AcL8RGi54CqNPzI_OB_sL4wxapUhkEfjeq7L2SIVMUHroePAH3gsaNiEL_8Ipk7I0N3OhPP87HM"; e_fb_builduser="AcKI4QmuCKFnfxbFvlTosk2dPZJB1EdgtbC4p73rKvNzSO6U5hYAJ3TDI_orKPJN34Y"; e_fb_binaryversion="AcJuEv8Io64fxYgEb1znnmo2cdSO3QFUWOD8Hs9zFTU7Fra1UKOaz7rRr1DzL0F_N96khA_6aNC6nE4yXvQq0EGoN2O858BWfPk"; e_proxy="AcI4_Udf4gBbV58gbngx2hT1Cg4N515QCvGN-9otad40z3hqHJhBVKadmpdViKNEfX2BkJBTgyV4-7a95W_O", http_request_error; e_clientaddr="AcJF6L5zRmYnWreYm1-4Tnu67sYP_mPkCIjZdoG_Onq_xOcOtHxvVN6skXV3H4_MafjIPKmuzEV6awil5w"; e_fb_vipport="AcLAPQmmKUJbHI8VcEZkEl0mmH45c7OZZTfOQfb7nPv9RF8YAhVFLHeOOiBc"; e_upip="AcJ_ghyUmcGfDwPNaNnuCH0wjAV-ZpjOHMeL8V2XXgYM2xV0Fn_RepACVVcndvBihzBdvsr-oERYR1Ot22Al7WDD97VYzM_64w"; e_fb_hostheader="AcIX_xKtuqR1ZPt0DusVWFzA8WEJnZPwTVsuYGRK_Il-rVj9gCSklz3p2FNTUtuwh4vBcTk87P25Yiwf"; e_fb_vipaddr="AcIxRKnAJLFQkcsTG2aaBukUrDxnXCVMVtf2gaxR9rjLMuCs2GFF8sOtPfwK0RQqJJ4ib-65SQ"; e_fb_requesthandler="AcKt1rhQFiPU343HZeYV7j8PiX3A7glorA8pId1IA1ltlmyEprDJi_Ud7idgmj8In9x6NDtyyxw"; e_fb_builduser="AcJa7r4G-5Rnql4SYXbVHipaldtrubcHXZErqn3HXR9Zo8S7L0bmSKmEWe6z0Jb0VKM"; e_fb_binaryversion="AcL2ifHS5N_qJRWrtu6358jwH444p3FjzHhW2NxkKrbO1UDaHaLXUj6YHRzFHJD0pKLrE6Tr18_hC7aBnmgnq_cpxSnEqHiNjkQ"; e_proxy="AcJrTiXvfG59m7Qv-rIu2N3aPgxZVJzbq3xOFpauRMn2JSKp9jLrpLK9FMqd3hFyBdp53pB8zEL3P550"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25280917344840132"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 17:04:23: Error on send one message facebookId => 25280917344840132 02/28/2024 17:04:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AhH_C-UVKtWCJQ4TXOfESGH" } } 02/28/2024 17:04:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 17:04:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 17:04:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25280917344840132"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7678134, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ao9b0mzum9tKWOdsBFb43nv', 'x-fb-trace-id': 'HO3UEYcyhG1', 'x-fb-rev': '1011712572', 'x-fb-debug': 'LZzaLd81tCu/hbqnX/bQ+Dv6eE+lG6MGygEhCwPs4LHytBfUzFDuCzZ+Ct8wfUlFG7CTHO4+cWdsEq3qs/tH+g==', date: 'Wed, 28 Feb 2024 17:04:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIGUODTpe7_iH7awStyVQl4OCXr2WM7QALLymmqJpSxuXDefPuGZbP_KoejJu-BsIdTicYOT5-5mO-Xtc9q3Q7SRtT6Cb2uqYQ-YSmYQ3yRTRH1XA"; e_fb_vipport="AcK1TyB5AiOojVMX_CMI4vegijRgyQc3d5VNMDFu1vhGI08xw7aFdK3Q7mGp"; e_upip="AcK1jLUErZnkFRzfEgSYuUZhHtxnzmG1xJQ8_wZ_UK_fNI2xn8Q8zM4-S9K3ao3eN_svKHV7WKwUeEDQqA-Ka_LKMxzGMrQhq-s"; e_fb_hostheader="AcKPGP03JzoVqCB3K7Qx437J3WZg1N2lwpmF-T8oIoJjkDruBjE5KoT4TKSbXhcxyZuinDBZAifEEGBi"; e_fb_vipaddr="AcLHF51A3YiNKW3T4Pxr-MHYEBRC_H4JxBKDND0vGIKfo5qitfKfciOCpSFjOf9wdCYEPvZ2-J_jyuRoQeyCW4EsWxz1I7sETw"; e_fb_requesthandler="AcL1cJJ81WslVvIfurvxUfL9fUe9pYYOyZ-TQ04MFBw_JTR1j2UZ4LtiAN_AbEZq178RsMRsXDs"; e_fb_builduser="AcKAthPMDLR-2iDKnv6cwgA5oBSy5WVFIVRPz9mcJcYU788juKFq2mogRDGt3lqR8mU"; e_fb_binaryversion="AcLJZXnKeElMn2aNM7FSEaydLFBTXfPdKsOpl1ijxup-0kcFhB3-CmynC141u7M3eonklbH6p3RADiaaZvfdOlr0ZEjqxi1Mte4"; e_proxy="AcJ0eimnBQhjHMxmqckcIFilTpB8P6q8KLpN96IHd8mGPDTEGXhTSSR9blZsBJWDsV0hkWOdm0OkqCCXHJzt", http_request_error; e_clientaddr="AcLkT5CEtw_mtobf416DCqoskPl0zaEjpo9IfYsbWSSTjA5B4-GhR0klxYLtbbZ7wbG2QceqfKyW202AIg"; e_fb_vipport="AcJT_I1hvV-kCTJF3NdTLOcXgLcVkd4XNH40prBvtJ6W4kte_Jq8FP8dA6V9"; e_upip="AcKqbQpYM0s7uHN2JqyyJELfOlMfVNSjQi5jQ8xhUXavSLXtOsHP3YsvJGCwNysUHKT00YXBcxBzBbd6sgR8aafpqESfHJO_Wg"; e_fb_hostheader="AcKi72G35_T_ZS46XEjgPM5B7ToEPikm09Cf74y2oZToJ-SiAvpZH99Z-swEZPjPNjYTSC5fxfWsNkOw"; e_fb_vipaddr="AcKFh25yl9FLa8MzsE7nKuUI1AGpVLohu61im_3rFxJ8wFqLfgq9ePc-23RcUjhP3tbkg6VZaw"; e_fb_requesthandler="AcL7iupwEahguhBVcQN2Jd-9EPkDjPQteTtb_yZm9Zwrt9cai_46VJAqlFIipBDtcfPl3TQnUtw"; e_fb_builduser="AcJz6Z1X7yx0xOYpALMWSt4d03EVhubqp5rbzqSNYmjayLJkHtx_9jd1kWCrJLIEUxo"; e_fb_binaryversion="AcLKsfLevGcXUT--FGr3oEIBbGMFGVGohfi70qzKJg2qjfOnvcTD8Pz2IlaLDEv5zurVc8os_uPf56swZwqVV9dJ4deeKhmVkGw"; e_proxy="AcIrfY9jZ7JSu5N3HRSLrqjYvdoP01ieCwaKDV5bCWGBRgkMRtASE9_h4WLHkR626-r5joQJDuJETFI4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25280917344840132"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 17:06:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 17:06:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 17:06:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7678681, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ABTFD248IRlh3ntyTO6R5Xb', 'x-fb-trace-id': 'AzuRj2SaRiU', 'x-fb-rev': '1011712572', 'x-fb-debug': 'yVQlWfo9Ocwnujn2Qv/HdqxasAVtwypDzzz9g3jVUxQqS97oJ/ZcfVex2TpHZxSyYmKmh7HONpvMRwSdRupCig==', date: 'Wed, 28 Feb 2024 17:06:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKdoW-Psk6hLu0qONK139uWGBE-C3mtpgkNd3aoKcCEc_dffwXX-scCsdQSoTgdm6RilaFAuoWlqh97ArlXdQAVLeaDS7FvTCv4pYBk9B0jAi58Eg"; e_fb_vipport="AcIANiSpA1C3eIcKg8DmQlFhXRZO--bl15KarnrxsJQisFnqg_yQR6YHC3VH"; e_upip="AcKB0DA-UenMMTA8jW6208sBNjCQ0w2YQ6stJknUEoq1FTQ39gXoRDFQoX1imBsUakQ74C3v_iMDER4wBKL9lZ-N4GHO5DOMtq4"; e_fb_hostheader="AcL3TUJHuSDhjDgKp6XRvvyJ888GSfFlvM4lsGp-ciVQ1OV2WtJ12sdFTZoYbOxcpv_rT6cVEPzDto0O"; e_fb_vipaddr="AcJvTG2GrNWGp2GNoL3aAoHUpW9ohtwYQgrpCS6WBvKROlEHJHyo5gbNkboUH9pnqQsVbTHmHYvH3c0bV_BMsdAkW3DRIWIhiA"; e_fb_requesthandler="AcJWxCXaCqloe5-JwILZcOiaqrheHrQWOIxqsB2RanhsFIQ4zg33eLf6h9f5MNjE_hIZJA2slNI"; e_fb_builduser="AcITK0xvwE85gsDhcbhvq2u7Zs1BpMklz1RXT-nUe7AFImjqLwMi3pQnf44GhgVt0qI"; e_fb_binaryversion="AcLzQ5MY9yW_q0-MfJFab_2tabIjyPpujkMk3kThS7sm-MgfKKr_UzraUtjbfRvOhZlAQc3pCQXh7deMHnkKJiUOqaL-m_1TSOg"; e_proxy="AcKqRk_OuuaCTm5bdUu1GSmNhCK_mZ__llVILI9cBUbDA8kjMWPV73poWFDvrDq5qkCdXEKc0vkL0U0W86zl", http_request_error; e_clientaddr="AcKEqnInFULiaBpySOpEml1yR9lZXf8C5MwBpZGs4Qm4OmDEiHV6quPM_5LlPEeQkdPPkk0n2HUSUxmCDw"; e_fb_vipport="AcLsmJdfuzlyUmWVxHgZUpaJH-vV1lzgOTFciEIA76UIS3lPc3n5fMNreFqu"; e_upip="AcIlCKENcj-Gfpj_dnIGnM4rjD6iYa76vWe_DzNtlQxkg836Bc2TDSqIhFjP_W52WeojZOvAb6mESjqNbs__nK1NA5gxC_74PQ"; e_fb_hostheader="AcK5tUPVyjXVrr62hNypgMu0fS64GnX2y47itYY37zl-KCun_KuevKxQcS2eQ5q2nIWj6-EolPw6bfnZ"; e_fb_vipaddr="AcLI6L74E3M6Cb0VOcjLUZ2Wol7IF239jrJJv8p6WPRmasckBs43nzhM2ZAG4beBobCCTGw"; e_fb_requesthandler="AcIHIqDir87F8pT5G53M0mL1CrkC2Y85zynYJv-0W2MdViCoAHo375kWs8E2GNVoJAr5md1Scic"; e_fb_builduser="AcIsi3ODkgbf1RZu5CLwgq_VnTc-7qCt615LG8Yxpu3pcdNP3BfDRbdJlv2p_7qEhLs"; e_fb_binaryversion="AcK7qaRvq5d55mV7udAg2yaNmk25crOQsQo6GbUzFF8hOpAI1zJ5widKCv-pW56TnaNwCfcsFONf5Ubl_bWRkdd18UNaB19zeFM"; e_proxy="AcI8QWzLML1xoj-fQDTgaFM4X1ExoPj4vw3FDez0BY7bcSYrMLCqckPGZepBIowJQMv9SmvOeqkeCmI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 17:06:22: Error on send one message facebookId => 7202205746532920 02/28/2024 17:06:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmOdB4-GVIq1acQznC1glE3" } } 02/28/2024 17:06:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 17:06:24: Error on send one message facebookId => 7202205746532920 02/28/2024 17:06:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AA7qczvMyHNNiJKGRGR2oSW" } } 02/28/2024 17:06:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 17:06:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7678856, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATQbQEnT43MvMdSY_8_eIw1', 'x-fb-trace-id': 'CDLCXhTxzay', 'x-fb-rev': '1011712572', 'x-fb-debug': 'S7x/O7SNADZdGR/ZRQ3l6JmXdoBTzlbqbxF6ZL4nhyxmVGawuyQkpzEG00aOY51YLYQmFJDGsjGwPF2f8xUP/A==', date: 'Wed, 28 Feb 2024 17:06:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIO5zq7nHkRt0M0FaWTmhkdiw4Q__3TBXvrKB52g722yc_E25sGhFwiF27r3I6p9GOxZ0eykzC-j2PXn-srobzthZ-C3UWMk_eiYAUjJ8QMKvdQSQ"; e_fb_vipport="AcIME_dKSDj0q6-9HLNMRShftoszyoPED53L8joggLdJdTnhOmsow9dP8Q0o"; e_upip="AcJhjfho_LQkmrgMNby-vpmSwQxkHPxlHrxNR_L6diBByKS6tFzSJPQxljlBH2vhkzK-4yABSxAFaY5vP7s32Akv2WPKqLDgmA"; e_fb_hostheader="AcK3GsVkQDdWw-MLJdtZO-8q1QHrXbyuFQqw1X2GAP3qCkIpAD-ZrIEOtaSncSy9L7npYLAT-P5OdH3s"; e_fb_vipaddr="AcJUNyFC1HzOx1JZSpozUgqueK_5KELb4AZYM54-MLT4q0CKlSZBiA2JNIagGGQziHQqSR9fM4-A7UccSZ90HzBs7_o_2XUXLw"; e_fb_requesthandler="AcJTgcQKQN38VsrZziWEWo02R0CYbT8bxodywnfiTPAlsPMHnqZHRtAzmjsIt68zTiPNcquMOTg"; e_fb_builduser="AcKPvQxo5Iq_XzhACWyOh0cJPtJWEoGe6FX6e5Dqxm0mzVwfaWRQ2_gMyktuPJ-R7Bc"; e_fb_binaryversion="AcK3H3cmXD15M4R1aLCnWvoWZ0yxAg4-UzSnzGkJG68lgaq93cKyIh_SwgiwLl3tbbOASg6Da4ztURIPpgIsiACx0p9w4cyk4TU"; e_proxy="AcKuMnxkRDvGxLvH67XXH0xHmUWV_qb9KPUTwlAPfRvV9w4PHwHr0TfR_PnX2WvsYwo3KBn_vEbsWvbLGJQl", http_request_error; e_clientaddr="AcKYc_6HIpg8gr1wGrhvIjMbqpQ5QwtEcNMWuNFQSU6FkxaaF_9cGsPaG83YLbi2tNg8G0daQNBcXUsloQ"; e_fb_vipport="AcK8oY0M6PKSEb6_L1i-4FHpEJhOfDfNzztZiw4NlIxp9s9jFF6XhlkKtXoo"; e_upip="AcLYLFh2IZ9vv83xRB92UrT2aOWtdIyRlD2qgj96_jX21X4clukkC85wyVaMV-6DeSVMOLRhtuwg9JN_GXNW4dAXTqQv4My0_g"; e_fb_hostheader="AcLvsZQZ9BkdGl68CuQXeDWLOcZCheskMhcbV1qz-n7w-TYxwMxoTYGxJnX0y9lQrpAcpQH71oMBRk88"; e_fb_vipaddr="AcLLES1kVZ4RWfx_ecWiZJpAR3P6NrqeZW1fc6EunpvKT4ZvHJtWcorZpWVmVhwjM8Ys6NU"; e_fb_requesthandler="AcJjwy_ZbRmR6PQ_TSInLsCS4mbZfL_SRoIO_4GXoNddFxPNogPo-F49WMK4xiP349d1DNovnf8"; e_fb_builduser="AcJ3pbyxz9phvu-yr-IUXTfVEDvccEONmGaGu78cCUD-oj1W3AAyQugQ494iz3dJwIg"; e_fb_binaryversion="AcJb6LHDQtEWor1yIAd5x1rK1cOI2HgKwB7nHQQDdZ5oZdHThOtsdyN8zkKyNwTgKUU6j-JKvQ8e-EUSCnSVltoASWRHovu06_w"; e_proxy="AcKwQpoNsN0YkUxNbtKNutYXCl9vIFgQLsNAxgusoUTZKqarJ_bAm5qCClVHtG-MxzlmWfA4lPZPbaE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7202205746532920"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 17:07:40: Error on send one message facebookId => 25280917344840132 02/28/2024 17:07:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A_lSxZ8szVV4StISCdqEum1" } } 02/28/2024 17:07:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 17:07:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 17:07:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 17:40:15: Request bot not found: { id: '215725838493727' } 02/28/2024 17:40:25: Request bot not found: { id: '215725838493727' } 02/28/2024 17:53:34: Request bot not found: { id: '917983134950234' } 02/28/2024 17:54:03: Request bot not found: { id: '917983134950234' } 02/28/2024 17:57:17: Request bot not found: { id: '215725838493727' } 02/28/2024 21:25:26: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7575359579180821?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7722988, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7575359579180821?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7575359579180821?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7575359579180821?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7575359579180821?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOKxJGhNPHovYM4Xx5-szxs', 'x-fb-trace-id': 'ECZQcFEPuK0', 'x-fb-rev': '1011712572', 'x-fb-debug': 'h+4d2vxKiE+vs6r8vfYYXmlZGmzAORYpimfh8dL81vOeSqi1k0/4weSJmzvRqYTz43eERvFw05vlW4HBg9HdTQ==', date: 'Wed, 28 Feb 2024 21:25:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcISTI7CQhWlSBa9rF9BVpqYpCHail2XmVPPIc36qJIi0H0fOFK38etmBoy1oLRs8IgY0gE9z8ktSVgKs5fXnIQfXBADmHMJv1w-6GCaqIp1UGuxUA"; e_fb_vipport="AcImFNWEYS8h-DipCsukeHlIjOg-uP27E_92qkqcUpwif-Jjkm88vXWB0slY"; e_upip="AcJaKzThyjfUrD9P2pWIZaGBYkknzOx_vrnjZ0WwB1HRH1OLaJR5IQR2c15B5uwZzpgYD4_tA9OaWnHpzkJ-vzqQTuMBfBjmjlI"; e_fb_hostheader="AcJAa4MCXvIqXCSIBksxNVS9IoayC4wbCUEh1pyBo_MLrzY1j1W1HwTkSlwpLH208rrdCWjhPeH6QNgy"; e_fb_vipaddr="AcJ3WbvLTHRRmbzjdMVVTLwKdsZBhOaEPmtlzGT0WNuc6sJcpfl2Sp6q0QFXIRaBbjZXFD4H-oL-U0vv9d5DF5n9N4zMfjCwgA"; e_fb_requesthandler="AcJJntA26UtHYbuhhEpfFFpY_N3dokEzl1d8av7LnhFOF5nu3aQ_Xlel7pyoU5qI7Lnu5SN6QAs"; e_fb_builduser="AcJIFNu6L16p4feEo4FVUqIVAbqxoEi_4fvzzzpAHv2B8cLaMZCCIYX5m1vzhDCGGLs"; e_fb_binaryversion="AcKiGAv06jX28JWOvj6T5p44CnadYB3gfXmoyh4bdl-JDcy9m4bDo1Sc6F2c4ys2SRDNi4RmcdQ75MXCMJdQYb72ho4qdGXBKu8"; e_proxy="AcKn7NwPypGJZkpJsPzjqMy_K2E4Zb5jScPtTrYcJDD4zjAgaXszTW4xf51F-qyNZg9LVJ_JlVlmvv-sxWWw", http_request_error; e_clientaddr="AcK2XF4wpOQtYlAdMi_l8HM_DaIxJ2Wu06NOm1szl7iKgKfgdAyaTnhpqd_EpKNABR_LfFiOQjuS4fkV7Q"; e_fb_vipport="AcLhtZ5-3nuGnK4xX7tTT9ZSHfNHTUZtfaRngSWGkBv9adqZkNHZn7T1LAkc"; e_upip="AcJzO3ASoLuuvXtvS5A1myHDvgmAdbgzrp7jdDRgfUoXuVWv_VVtIvlOzM_UC9kHqZThMVVAWgp_IhwcKaR96to-Op3pu7M9xA"; e_fb_hostheader="AcKJqD7OA4ZuqfI5jrM11Wcq4tJes-mBykzQzdZSnh5SAM9IDoAscldGh0B9xfwTRe2gDjbF1rO2d2PV"; e_fb_vipaddr="AcJo5rRNmQBr_EggmbTwg1Dq7Lnt6l5CxLKINdq0CVGUKHWVWUqhcIpefSI1xFUHZ72C1ljF8w"; e_fb_requesthandler="AcKl4PjyT_N9fnR92DcgZ4WAbDzJDcelouR_a0OH8ZlF8k3OuiLIyM3zDN9XSr-k_y555BaJJo4"; e_fb_builduser="AcK2P_j0wvmQKIWgn8EOkhy_8QBoaiwjOtYUOBprIbTjhxC876T6BrrkhYohnyALPPY"; e_fb_binaryversion="AcKFJ4IXoAQHgfXR7O0WjeBAtuC2ntjDNxRjIUVcH2kk9xcnktnfcXTnZ_8Te1R697gXkVC41B6EnC5iZcz3KkcgwDr3nZzYYug"; e_proxy="AcJFPNQjuw0ouJL01R4im2AFJ3giDvEy5TaasaTEIRwKgp6LguDuWYOTvAxup4xp5ufZM9Yzf6rixIs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7575359579180821?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7575359579180821?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7575359579180821?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 21:25:26: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 21:25:27: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/28/2024 21:25:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575359579180821"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7723106, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ac-8wWF8pYFkvlyUQiSy5pI', 'x-fb-trace-id': 'CiBjyJJU0UC', 'x-fb-rev': '1011712572', 'x-fb-debug': '7bZxEGWobeM3h3BEfrXOugMRIRuC1ncA3nS3+R7vLN84iyVHSk4m+fGe5EzVBlwzmirSOpKggvY9vOQiOQ1Q7Q==', date: 'Wed, 28 Feb 2024 21:25:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIp-SHJaIvdUaAyJKpNuHswTwMU8LQB49rMOjWHhvzVAcE-dDLHMlNqcqSq52RyK8xzcUPArXCZqllv1vL6mzMj9-kU0UmTAIgCdhw2gF5LwyrSaA"; e_fb_vipport="AcLlg8-_PPUNFNruLVRmVn5tvWR1SHkr6njyGhfnyBG8kIl5HdTfByV8zFGG"; e_upip="AcKAvcB56Lc2m6B3l-nSeDnvWweNGPPNcN6_V0c4g69Cdi7yvwuaxLnOIj-GfHNO9lC89gqviyGJqVhDMtPHofFNt959GtgrZA"; e_fb_hostheader="AcJwokxwZ6Cx9K89c4kyJmC3I6FN2T5VA3xn2Q_mmCHsROY6uKhtzDRYVJEP9rUYxzb76SsX4s3NJCDy"; e_fb_vipaddr="AcKBwbQA8N2Z1NpgonOOXmYLcvl2kr5CzBLTbDuC0ENUjuTmJT5dE3L8FVoA9S4nZeeiu_oPEXNH47DuGaUE8mWP-SMHz2_q4w"; e_fb_requesthandler="AcKcYTeHH2-07ZlA8EoqbRRX6_6x3eyqV_5iguxXldmVVOxS-eLPVM5vcJNwmnlZ0Cu-sSdIGjg"; e_fb_builduser="AcKoDLQSzy7aGq5w-GuAN51sp0_K6L1hvFiewk7y2F7OSRZZNjIza1EC-9P3QOYERJE"; e_fb_binaryversion="AcKj29-XHKLwgDaKJHyTcr2FSeEOisvi22La0MVpABbpBEWnKtxZtHxR5DkFz8uKxqzwUKhWP-KwF_Ca--T5j0WfLUxKNXTYNTg"; e_proxy="AcKNeb8iVrE3ARuNSYptj2RyECVW0c4kXmkLCZDFIX9EVsbeRDxUjhhB3J5M2zSHvimsVOwHiUBzzK7-MTEI", http_request_error; e_clientaddr="AcLYYzegiza3zJ5F7f8yZOeNPOWN7NyUVZUlOD3ACgteqoeZAdPDbImfwAesXlBXXtDqJHiW91XEaG-UxA"; e_fb_vipport="AcJXLkI_cdzg-ZkKN-SJx_mepYCH-qh1aIe6abSy6AIxWs8VeewHJ61d8ZJ2"; e_upip="AcLR6E-rgJEZgNPWQk3sCM1cg5gErLIsNmBwsM_Ff6V-_WHf8uMcZn8SOjeVm3h917pfO5DcAK02g7zCaD91plEdY3JndMguug"; e_fb_hostheader="AcKYeyALUgWwjBnStyuYZvSsq5ppQUzivrvQFfZzgoEtWRCxpo_QNnY1CEI7VdBzb9ry1eAS0ipYdj3t"; e_fb_vipaddr="AcK6NhT49mG9WmJAjQVICiPkdp059JTdaUsMvqg49Rga-jBIRbF9QD5m9fl6Ic_Y3HTQ_okhmg"; e_fb_requesthandler="AcIqzbycRIiHKLRfwkWa_uLTtp4e9mipJc_XF_4a2WLSlMnmkhaIEJXKHpoBB5eFy5VMEIfG1rc"; e_fb_builduser="AcIS3ZapNBkKV0RZyCU2Vz7UOyOVrNt_KOQcbE3PNP2f2wC4sWpa9QIKCKcsg6EStNM"; e_fb_binaryversion="AcIPflBCEcSUrIhUP8GsUQRZb8FzaOXUvP47xCrgGBdWN-OR_RiOvpjmKIMZhciHHpc6s3MkyuH9ZzVjMh1R4mos1TgiAaZTGjE"; e_proxy="AcIrWe1FyVOKKcDWCf4IxY48e2vD9AVHWm0tbwZ5PypxhNyTGI5gkgoeOeKJ7kvGGX4I3MrP222I6ydD"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575359579180821"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 21:25:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/28/2024 21:25:29: Error on send one message facebookId => 7575359579180821 02/28/2024 21:25:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ax-6xsuIbq8uUe1V4hc2F3a" } } 02/28/2024 21:25:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 21:25:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575359579180821"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7723198, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ay8d8UcPN0BBjr4HREI7Qp5', 'x-fb-trace-id': 'HmuB+C2Y6k4', 'x-fb-rev': '1011712572', 'x-fb-debug': 'N2hoe7g97hUlGLtB91sLzsjfvGYz3JdZlVwWgb77OU27a9Txc3lqI8cZnD4pJcZdMkDuHWKwLHGGP+GAaLlN3g==', date: 'Wed, 28 Feb 2024 21:25:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcI8aVv3E-jJljunPKTk_3nkSx_e1fkkSwCkF0o1qmXK-7yvEps3Di0wnS_dnS69w_5fZ2ZImR5TmwD--Gf04uIh3sMYURCG8ANt0uM0iioHR_Sb"; e_fb_vipport="AcKo6S6QgALVl8MmPSq-Wug08ZyHcVjPd23gL-oilVjpC9XakEIDPCxiNLTh"; e_upip="AcJm_06dO48aHjz_LyrhNpS3gCk54ufZqn5EKPIbBhtXf6fyoU8M_bMiNaPmuRHmgB5G_Zvb7Kn4GJ-3ZtH3gJpQ3Ex4QMUA6Cs"; e_fb_hostheader="AcIu-CtV1rSINjalnCGkR0JidfX-9kZtC4wpB0ZF6jqTcaFUSoIA2AqSA9qU1OGVT_qwT7UVHoZkqz_i"; e_fb_vipaddr="AcKsVzjilBFujNqRRbJK6A-Br0hoqN8ft6iisx39rJe_Ws46Xs8W7SzOFhHLYHyb9VWKtEkUnTpluesyKd_ZFVrvH8Oh5cJESA"; e_fb_requesthandler="AcK-xBYKPM2jLwFIR9ozXf982vE-mfjY_AerM3XRcPTHi4dqPVfrVn9J49qxeJvwAqzGt4XRRo4"; e_fb_builduser="AcI7Eq2jfkzi0oUFeW5zQA5j_fAUh_kPdk8coczUAmNRbeVAQBeEA57wq_OedVgEd7s"; e_fb_binaryversion="AcKADcuNFDjEAJXSnf0KJjTRnRfk5I8ls_NDWbsmnIawBAB01rRsYvR0RgcdGmRho9UQBaaidzSJt70gkZKqF9zNgozwzuygmRo"; e_proxy="AcJlN63nUHv-8LOzIheCs66aKQJdZaqgUCGt3vKoh8NDLme-kbocSn5j2XnRui7mefUBw0EYEKACqF2ydgvG", http_request_error; e_clientaddr="AcKoTU7oLUEHAW4iKRzo-I4gGshb2LcaP-JTJNwVvbdHov1x_6bq63Q9L3gVuW-sexdZYvvGiwfzDHwgYw"; e_fb_vipport="AcJPiTyCqIyjRZU6Gs_nfypJAmsMfOhc11yjMbbcFyfDN_tnUOtIpNUByzbl"; e_upip="AcK_ZoUnbYVWw1-pbWKS0Jie7H7OpxUqf2VDUw_gRTt2qPImaAxob79pJKi6ws2X1QVayYJ7n7B1L0J845h8Jhl47OjR-YyPjw"; e_fb_hostheader="AcKEqNP9gaJdXiXGmhMGHRVYJ4a2Ygb5vS3Ysi6vQGe_lo_hJ4KgqcCtXOAaZfHCcU3FX3AB8R2WnGGm"; e_fb_vipaddr="AcKW1kb9F1l0Qm2j4rtuUQt3zYT3RtbzQmxdqgsLHUn0Z_RPi6bAoMWViMvj4UXPUGBrfRAkbA"; e_fb_requesthandler="AcJHYkysxfZNPyOJ3tpTWnaZa7ADNp3AQHFrnV7mckB2C7rKquaJ_HY0HE-lZssWE2NBs76TusI"; e_fb_builduser="AcKTkcPXrYHkXU_YD5wHt3MKClC5hyoLMk0tgUSruAZHN7Yfk5MAdS0yfoK4wEJsytM"; e_fb_binaryversion="AcKZ4OWkV5r63l2BstYBzlKsFIoqFe3ck0hkmnCQ6crOarysK0-Yu5AXpKa4UmS4mU65JRd8Q4kO67ap-yA1alV1KQWi1POw7KY"; e_proxy="AcLdzZLvTu444t3FzMXT7gsAx3MkM_B4GZP-ndzo41ea1jmlXVYBGedHCWklbE20cjBnKt5CxXea0O8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575359579180821"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 21:25:32: Error on send one message facebookId => 7575359579180821 02/28/2024 21:25:32: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6_4kTntRFSs0LeQA0DXw2h" } } 02/28/2024 21:25:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/28/2024 21:25:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/28/2024 21:25:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575359579180821"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7723337, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Avvzto8JL-WZok4Q9a53fw6', 'x-fb-trace-id': 'FgDvt15TlDv', 'x-fb-rev': '1011712572', 'x-fb-debug': 'rgLiy42Plq26z8NH2lrucml6S/eAyoOncAQbsolmFCYyqu/5xob26Q008JGg13Ayp+iz5lQPcUHoz2EAAfXCZw==', date: 'Wed, 28 Feb 2024 21:25:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJwrboWOK3QDKS4g5YkIEt0OumU0y75pm3B64Z7pYc1-ybKn548S90bvI4ppxopH6NblbZHhA_5PY2VtTeyroM87W8xZZKayOSmfpd_J7S6zoA59Q"; e_fb_vipport="AcJrsFybijx1RWQ_PAbqA-YwRoe-ExEZ-ntchHcp2lmo6URqB5j8BW2fSP__"; e_upip="AcIwFYcmMFDvVY_DEfVn1HVUy1t6jKPe7YOCbNUInznCcJU_m6VYKDzK9oPYrymSfojzG_HCXzYoZ5RIbXeFlsRMEan7emCsOas"; e_fb_hostheader="AcIuU-pknvy3L_ESjHHtUHlTlG1QU0gramsJ_fK6LwFByEskQWoBUqKnxTWYCIO7G26sJ4Uiu8jpl42b"; e_fb_vipaddr="AcIXPmkSrc67XwasfjH5-VMTnYMadowDlO-ynHFUlsGGBafBYPDTRwoKn8-DeOfIvc9JalmpTSN7TV3WA9sBOD-YfA7jn6DH5w"; e_fb_requesthandler="AcKQycYJm4g8wmb2Zt_iJVtV89BbCqwFFBRusGuQ0FK0YsmiB4DDKY7eSDp4Iorl_JN9R7KUfVU"; e_fb_builduser="AcLQx3QXeD6S8Tk0elvAhoGtOYjM1w1W93Gs_tjwjmkmptVudpQGMZ78c5u-0aCg7GE"; e_fb_binaryversion="AcLXPLKctM8JOJbo899AQB9T6LhYAXY9hRmQ_3xMZ2y4JfmZ1IEPSUH3fBDzQ8xgs8ORUZDPYvfGpNocJeqDhK0-D7QM0TlWEGo"; e_proxy="AcI3J50AcQD-hWju5vNgsCsHxhIDbadV9BMo2FDHlN8mYARGG6KtoTxSvEdR_4oUkN57efQEEQEEPRrdu5bC", http_request_error; e_clientaddr="AcJr1dbao-UFcg-wqui82c57R5rK0Xtst5Ab4-0-0cdsD2uBVXvRZWrz6KB99Si6T7Mk_fvOBFQCB4BIzg"; e_fb_vipport="AcJ6hTCMDqQzkYt7uWJyY23l2LHetvwiy1mGw_cEgyc74sxfTA_0JkhDA-De"; e_upip="AcITqqNiLxLRJRkn6CONye5NUt3ct6ERhEcgtAeUttMDGuKSySwTTXw7FD3PP8_hetUxwOQLHh4oFyFmT-6uwXPd7wLIfvLFcg"; e_fb_hostheader="AcL0JAwXlFkfVPBrpsREbQ2vyRsn-40zGeMMEcQEWeTZ8q4kqopfO_DaZLXwJsRLlYY7Tfw2ElwsQFR0"; e_fb_vipaddr="AcJasQRj8dFv1Vb3X0DQw1yjAtQqqGc772P9Q2ds5Xox3HXyUDsnO_u8nX12Bl6cNUI59I1amw"; e_fb_requesthandler="AcL_G7p092b8Ldi7qDl47QsvmuRdOi2tm6UeB_-lBU0TSTOakkQku143EceG17hgIB3HutlRiSc"; e_fb_builduser="AcKfry4ZoIuy0HuqpnCbigL6OS0mN3gMe-WdM3ieZl4bHC0B2rj87i7ntmpOF8ZX7mU"; e_fb_binaryversion="AcJb-twrdo3mlXSebEeQCDDFlGexoS5EO-1D6UYVTljMcApGHH8XkRvFmRIj4NS8g_6YDeZp0taudDvCmDZO6hYVVgHtEdTqvMo"; e_proxy="AcKTku2sjdGIjN-33_SZWxgJ3caU4mEiqoD16AumOzy-6DoHLggZEaxOYLKZ4dnwG07WFxAnS4MZ4Vy-"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575359579180821"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/28/2024 22:49:35: Request bot not found: { id: '133788230054854' } 02/28/2024 23:36:44: Request bot not found: { id: '133788230054854' } 02/28/2024 23:36:55: Request bot not found: { id: '133788230054854' } 02/28/2024 23:37:02: Request bot not found: { id: '133788230054854' } 02/28/2024 23:37:10: Request bot not found: { id: '133788230054854' } 02/28/2024 23:37:27: Request bot not found: { id: '133788230054854' } 02/28/2024 23:37:35: Request bot not found: { id: '133788230054854' } 02/29/2024 00:02:02: Error on send one message facebookId => 7309535832462293 02/29/2024 00:02:02: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AwhXfLLPIOn9tkxU8U59VCN" } } 02/29/2024 00:02:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 00:02:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 00:02:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 00:02:32: Error on send one message facebookId => 7309535832462293 02/29/2024 00:02:32: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AFip1PTrp2M1_3Q2p6puGst" } } 02/29/2024 00:02:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 00:02:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 00:02:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 02:30:40: Request bot not found: { id: '1815581812105014' } 02/29/2024 11:38:39: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7534425076621790?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7866684, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7534425076621790?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7534425076621790?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7534425076621790?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7534425076621790?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AT-JOAC38ufohfgVxR7HwsZ', 'x-fb-trace-id': 'B5uRCNEXWjh', 'x-fb-rev': '1011739905', 'x-fb-debug': 'i5nFsa+JRoYPKYc4ck5IN3tDeh0qTteABvjultfVNyAh64eW8cb6d8+rYRBiFnnqbGXF8AWJMO7ytFYYn8LvMg==', date: 'Thu, 29 Feb 2024 11:38:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIo2sQLFsxel-nbmkWS2cIOh9WX7YEr4XwpM_Y4XBUGmHUP-sSz3iqRgn1PeYEjNfRI8-1tPxVapmjv4U-hmkaA0JrliemuWU9j7OcWmwXQmsfwLQ"; e_fb_vipport="AcJF0vDS9DEUHS2MDenUrYRHtYLmnxNKanh5tIczsfcllfpxpId9lZ2v6kT3"; e_upip="AcLNpLmgIH5joF0vkVPc_-suht_ICxqOpqFgFrQ347pvm-r8YwmSMYMhdqA5TbPVjQtAfeeq763DI6S4YO5lJoG_8UTmFAjmFw"; e_fb_hostheader="AcL1YSnx-ozUapXXHd2GRVWq05NnxVsEWcro8b6DDFWkXMtMzMlfK7Efh4TIvGoIAW10fjH29QfNpRk4"; e_fb_vipaddr="AcIbQAR1KGHDxq_2kXPsQQfx5khx5bn6plGBDTHpBcl-J3tIPsPN8rKIk_a97-1dqBCmTKAMmxt4nyUpZ6VBww4Gor3fjf7Rfg"; e_fb_requesthandler="AcL-r-_g84gEtMPHAjl8GrUcYxwySNFaBs7Do4epqywUKnerUzNWXfa_OLN69KhhqdXW3GNFKYA"; e_fb_builduser="AcLFK-EQxquZ5WCa-XsmsuzFOonLiPguRhuAgDNAS1Z9Pb0CDLK-DMk5nXUQF6yJ1vE"; e_fb_binaryversion="AcLjkOT_ZR4CgM1p3qtLDi149XS3yuy5IAM0V1l-xkMABMoYJiYWS_HuLxUYEIALkxVS5cHW8QAH0NF0lz8gHVMMpQ-Zn1oBA4U"; e_proxy="AcL6EKQ9yBtr7NC-sHShewBruve1Be-NcRBtYxG58NOxC39ri2JIwBiYHOfb_AC3-O9sVvVgTjJvpeiwQimJ", http_request_error; e_clientaddr="AcIjBe8_0eEkn_P0afa0p7QvpIRh0VWycIZrNrOfFk9EmWsYkAoCnOF6pg5DRZOhiyxPjUsh68sWAWvGDg"; e_fb_vipport="AcJXQnIXGhdMNt39cDZOJUwMQzT6YwDfuYeGzayjqcOAIpZ8FvXvMYTrAh_e"; e_upip="AcIx_R0h3W220mNXS9-AM_cAum6nEGRoUSeL5l5_K8Ev5l5RpEvJ-EsBtB2eZCvnu6tJnzKR9neJE_D8xYwNey1ugoVq3xSUZQ"; e_fb_hostheader="AcJkk13zNX9wnfmg5eRwGmpVA4Z91ML_P1I5GwfD1sdPP3uR1_Zdp5lItatvJKFuejVl4eESS4MEDdTG"; e_fb_vipaddr="AcLEpBOPXtEeY6J1qdaltXaWiydQJygjiC6TFuYiWXXNM_48h5YIKwIbuhsBeOWSROOFc4k"; e_fb_requesthandler="AcK4Bv4i-D9vd3COJ6YYX-JweOyXA1qiGfH2ThmchFKrlc0G1cU0gXcrfk7PTjAalUxDqokzm6Y"; e_fb_builduser="AcK6IKfhHXegeHlCRycOMkcPHdGa_6G8L1CmhNX8IGQM1LiDyazaUeQl7zLHf7oUrKo"; e_fb_binaryversion="AcIDExQlCISDjY1yWPYjBfCvjPaqwHAtsjoFFNmS-zXTKD1S-AWyIrtKy1uTVTnBLhKWMuozpVxHbh7-ESXUWorl4Bf7QKcJO2M"; e_proxy="AcJLeRgCvHtpLbYmHzhRuXWS0yzJj9AQ3wTHVY3jJ7SieRW7gUzNTnRnk0OSS2U1dCD7McISSwn6OC0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7534425076621790?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7534425076621790?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7534425076621790?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 11:38:39: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/29/2024 11:38:39: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/29/2024 11:38:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534425076621790"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7866802, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Am_lg7iKh79V6pf3iCM-yzB', 'x-fb-trace-id': 'GKwk/gtYX8Z', 'x-fb-rev': '1011739905', 'x-fb-debug': 'PJtfd3/XxxBS2Dpbk6bYrnWs6o48dPalcoWBfXnNGf0JBOKTXh8nUeDLb54i+4Sp2ogcbVfyEnBxWIKOkh4BWQ==', date: 'Thu, 29 Feb 2024 11:38:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL-rwhHIicnPAaup1oATS9r-IowcSU683vY3cCGSkEpBRgWGT9eeYcE4a9Gkc8_tLcAL8hu5NLTueVsWU0JzIqCw-w-pFxpOuEF_NWm4AIw_ubJNA"; e_fb_vipport="AcJ3lrb7-ny_ROgrCZ8uY1YJEmzwlqKbN3jMM597YoTPlDhwXE9rpqkKyLuD"; e_upip="AcKVuGuXKZ39UmIru_qVCGXVcNSXE7dcqcOaXd6ANm5MnmcouVJi3xGknrrQ66hV_OsLOzu5JvI9g5MC-pYoxDGdoFtgtC6yaCc"; e_fb_hostheader="AcLAdxHx5BB7gTGXygg23vPuljh7PtxGN8A6oExQhiknN4yXap4c2k0VE88LrFWXsu9Btad7ZaNxOUjb"; e_fb_vipaddr="AcIM6vzbLMFypFm6Bw9IZ9ntJ591KQ3lmBpl_UzmtYuf4hNUFC0nma8xPahJD9-TK2eIJV948y8V2MXJYpgwS9lLWcV_ptDpYw"; e_fb_requesthandler="AcKZfuGrUwQYZUG2ayMZ8PlRU6QnAk36Ob4ojKcT-t06114FaEXOv6Gdga0JMSY5Py8TmWs6F6I"; e_fb_builduser="AcK2sdHnvpHfDREQHFRPa5l2YNjUnBw2O6bR2-ZIdznslXb2Y8up7Ecfc1BTmqzWp3A"; e_fb_binaryversion="AcLSfpRCKNMlY-PIwAQAcBiDeGSx5TyWftpy-CmW5MC1vrJoKqttMN1M-EUCMtGaoJjX_i5vIWWa3h6_rUll_uqT-iI_ckmgaeI"; e_proxy="AcJ0IjWLMzZgETxrDOVT9leP4Ou9bWcRHVu6kvg0J6QJdLeiCEBKwOeLMbRPqxKTKaiSPElTp7k14Rwnxc8", http_request_error; e_clientaddr="AcIpJFMYa4dxwRR_-fx6CIKCZcFENQQD0Ag8eN2sAb30JI9Xd3n1g7GatY_OOcTO8CMTTTzNLHj9R5FviA"; e_fb_vipport="AcLNQkYMauWf3XcEHU9iH3W8ltzs0YVmEWH-cf606GRf5j7b8F6Yp6L3bak4"; e_upip="AcLpD45ZV7ayz8GmgQiWeQ_TLjf1piHc4DhYUm1M8AmWbellXD-V_v82xhMcFbW8xm6PuH_H6V1KfWRHwiEF_E0moi56fmp8pw"; e_fb_hostheader="AcLwHwPKd25iQTccO6xpUwQXl6JBz93IShrcsehF8zzv4wbf9vikAHH9Z8U1KJ4H0v4XZf6SWVvhzuw6"; e_fb_vipaddr="AcIAFUUhpQGj1yLURJB0y99_oUCYdDzpjjbcEMhuMbrMkjP7m7pUeryXrDZej8o4_W7zcOA"; e_fb_requesthandler="AcJf7Jfa1ZIPxDmkEX4zAaWLO2_G3TNL8uesgLS1543dj1dFqwPUAlDLfJqjwCYxWzZ22P4l12Q"; e_fb_builduser="AcKgQSq4CHlYzgaLKLISfVOfJkPYCQgg9qyd5znvGTsKFkyNMAii_-4XY65p_PbHaf0"; e_fb_binaryversion="AcLvNajYCGaG2BrCyNteTVUFGlT8OmyGd7y7ZpSVEIrRceRlFk4J9HIulz7tFthS2BBPpf7CkwYq59VvPeVCYMoic1hHUJQfZbQ"; e_proxy="AcLhoFXNf8R_1dQ0rL8uJSXcjSg5iWoS_jyRuQN3wO4j5mHBc1qPCB-KfW6dVjBTOTnnA7Qur1yv6cut"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534425076621790"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 11:38:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 11:38:41: Error on send one message facebookId => 7534425076621790 02/29/2024 11:38:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABmuB06NxMLz7pH-18wXft2" } } 02/29/2024 11:38:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/29/2024 11:38:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534425076621790"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7866875, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuJfv2VkKOpfW3PvrhRH5LN', 'x-fb-trace-id': 'EO0EP0MsN8V', 'x-fb-rev': '1011739905', 'x-fb-debug': 'OwBbj07oX/NXFqyo1f13s8LO/lsUFrLKAGV2yHE5VPxcphsqk8DNyQrn9/7tneGc3DCNr1s6cnlMIefMfLxO4A==', date: 'Thu, 29 Feb 2024 11:38:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIWuzTPZ3mCesAfloaeuYii6QxNXvPHeoZKVPNFmyXzEbDUcdAri7v3_VdMmK5JktdeXa1XwrHY0ivNE9iLIK-KUt2b_jl5l0K9ZpWX_mw3HDONrw"; e_fb_vipport="AcIBiOG0gBirIqz2iVRhymbmd2IZdxmvwo-5T3UPYBa8AUk2e9M32wHYgw-1"; e_upip="AcJZBdfV4y2C8RqGHcqNtndMzAmsp0J0RMi0nG--h6ZEsNY04VuB9pkXzoraGT15o1i8RocoAsj3ZcIQHik2KcBQrgD4GEbpeA"; e_fb_hostheader="AcJcPJtkS6i0AkUN4CgEEncx0jvlUBuX88aSvYR8OK9mQ3uShD2ejVcMjUNnW5D4MxfP0giaSmBAilyP"; e_fb_vipaddr="AcKMwCVhFV_RvDex9a5u5YufdHV7SdNZqXjyQT8zsfq9bDvPaRe0hjg4VCCWqfjoM2GuzMitNmtT6a02ppPxzL2i9CaRvwegDQ"; e_fb_requesthandler="AcKjWa7xR4259q19H2BdjEx2Dxsb6mdrH7JhXej6Mk6XBSa0jhvL9bUGRLTUTWzYZebZ-SXsftM"; e_fb_builduser="AcLcDbqqM3FyT8cKZo_CfezvLkqnHoAFrxZh3JUKRY9b81sX5j2xjwDXmiPEuS5WPSc"; e_fb_binaryversion="AcI5bma2VJK5YBETKWCTZvkRbHmhhkGtJPOXppN7tOFoM1jQHhrFmWgXh0WHw8DJ4jvLgwwu7BiPybZl1qnqDBwlN0NcDk1JMds"; e_proxy="AcJHojD46h_Su7W00uwadpC0VCOvV4KbLE1wRV06Sd6GM4lvss7FDj05C0w7PlhZrAsbRQIJPHO-BPI8W43A", http_request_error; e_clientaddr="AcKFyUKNaPJbM-MzfjmdeoqFAw3mAqBnZ9b21abT2HSySykB1CZWKMewaSTHojy0v0tzYAZ-6nk5um80RQ"; e_fb_vipport="AcJCKSeXG6nwuzkVNoSILM-VWsZWfA2bjwl3QTTe_BajEgXdect89zyHXGmo"; e_upip="AcLIPWstUe_3cEE6e0KGL_hrOwifEvMB8_mFcWs_R-SfpuCw3R89Dk0Qifrfx1j9BaoOq8cHmZQkGCOJnsoVYJYjaN1E-V_LNw"; e_fb_hostheader="AcJOa75xfdcF0VXX3uyekxlO7bQZXxPB80JDWN7J3SDKNJAFckwcjZ8bDTe2QbBmC1sC8RX_xsLiNPSQ"; e_fb_vipaddr="AcIzKKVcea7OO7a_RtVJPtG-xcDoyvZ_tpi_hLfniApRl7jkVg5drhOIrLobeNRS8CSRqvc"; e_fb_requesthandler="AcJsBMc0s0vSmLClHkaRwYMPm-6_SE_vlAU4UrCDfnOQwTs4E9LwuV9BosP3IymHnKevgoimJwA"; e_fb_builduser="AcLQreroSAN3Huvi5NP_6YejLdONtRNKYhjray3H6gHRIZHlZ5FxOVwruNPLSy0FFKc"; e_fb_binaryversion="AcLHyN3uuIkzcrJiOYYGYtz5iVKnFcuGZ7DsyUpeb2Mgujf_Llm4N4DLuI-xYAswTsSGePJc9BFRv33xsScETk6dLU4MF6n-kKg"; e_proxy="AcL7rgjVf7JyWj4lr0MmZS5fwAVYB_c5OSI87sl_QnHyVcCKXOXoLLFWNmLYPjC5R922um4Q86px2G4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534425076621790"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 11:38:43: Error on send one message facebookId => 7534425076621790 02/29/2024 11:38:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4wIjJ5cmAYQMcagdXfbXsq" } } 02/29/2024 11:38:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/29/2024 11:38:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 11:38:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534425076621790"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7867014, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqR73DrkvFDiQUkhVS4k_0E', 'x-fb-trace-id': 'HZR/KFv2Mtc', 'x-fb-rev': '1011739905', 'x-fb-debug': 'fkRyHgkDV5zvr+4cqj6cVpT8gpVdZ0+FDSmMm7Xx4E3ieNZUfCd9d9rN2kzcrJk8gEhuKYf7ctkOKcKnu8HdAA==', date: 'Thu, 29 Feb 2024 11:38:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK8-S2w3LFfW17i-fjTgJYmzRX_UHTRpg6PapsAJ5LQ8OE2pVgLUjjxS38wm2rtigYs6RDe-WwuuKCUDj4w9zLOByqbwHNc1NQyJOeQMcHsHKHNWA"; e_fb_vipport="AcI3M2BCx9IFEI6xHKaiayR-5H99q4ZlSw_Ef_VS4nPnz7axN9UbuN6M-KzO"; e_upip="AcLJHrhtDN_PzyqobnddezmkS-c9wSOqrLbKLSkvoxUg7R2QjC4NEw7upXRlglcIj2P4Voy-5NjTPvjWFTQcUdvC9gBkTMnZKYI"; e_fb_hostheader="AcIQYtGgYhCxv756S-3v1AYYQz_ZHRokrVixrpyop-NkdjfpOf43QHLSPk3p98kuEbW3VYXN5rcSu9S4"; e_fb_vipaddr="AcKVZYgPRDBn9VITUX_LoMNPLAeYK8NDsAS77vpHQ8KdfpW-owMvb16QPmHIkbU7wACNXAX178R_XNAb5r6Wtc_I4JDuQtDnyQ"; e_fb_requesthandler="AcIhxVJ4oRkZbPc_2SdZxgtwzX2NisiXWd3Ia4UT6e6tjzGbUKXUHY5xiNEsly_Eicc8NzWfXUA"; e_fb_builduser="AcIOhRjkCztoX3jJ2b21z7D2q-Na6qI9U70w63j6pyVcAgT5xOq4qOjs9sKb6QEx9AI"; e_fb_binaryversion="AcJr0WwfFQovBc9NMqx3KaaDWFx87rzwneQMT61AZkg_GBgCEDc2anitOxOUpCI7WL_uF8jz1neSynGwsEmJrFKVu-LDZgd-hl0"; e_proxy="AcKj-jrnn2yUe4isozamJac-QEgTEbZyoJN8Rn8u4p2qep94vEFVtqBsvfLoIMCqyZ6jaS1q0AivBhitCUdD", http_request_error; e_clientaddr="AcIUUDYd9WcOrwTRpK8icSuY3ORqkIv96L0CiX3f6HN3bHIrnJK67PrF1tfaSaOzoUbvIDMYwW-oxkXydQ"; e_fb_vipport="AcL0n2-8hpa3N7uOogV-04DNdpKWURw1ypRK9k-XSKa0AKFe-gbq8EnUxBff"; e_upip="AcJjXj4CKajTxcKTyupwjFSPoEj8DwJkJzyyJcyiW7GOEAMdaZCh4BfIv-wIwCPgOrf8v6LGw5EKnDX4XMoask1Ttsw3Mj2nHA"; e_fb_hostheader="AcKY-OP7UYH8tj7nXiuNOu1JPtAEwSEiRJjq8AZizuVCYRz4bxLyl6e8z0uF54aQawuju51-AGRk3_4b"; e_fb_vipaddr="AcI9ahRdHUCDmmr6tWKKFKXFsBj7eJe43G8g3Pr_N6byWn1IXV4G6MizslzcXv08dqGoDNw"; e_fb_requesthandler="AcKTYpzKFmyYs4xMZwwXtFHxeQEalAKhjrQgHieCXr333GMwc-cnZpwNgG8VnEZkGSv24X0IiDw"; e_fb_builduser="AcJ2T8n5IusWLOcOvzU7BsI293BIYAJpu5LSk6MS7gpUSIPCZStT3ZqXStPXYQZ6cGk"; e_fb_binaryversion="AcJJ-S1R8yofcXNteLf-qfHH2kbLIC1gUJLc2GT3fFt_zbVl8h0STv3jwYOuvGv5hfLGY3nlf1fRz9TegzB3R2unr-j8beyqPzQ"; e_proxy="AcJBTrokIDkLMOq5Xjgez5B-q_xhzP1Sv3-qUbVZht85vG5fXmfVRiqQodE8xm87uyqE3nQYKze-9T0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534425076621790"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 11:38:47: Error on send one message facebookId => 7534425076621790 02/29/2024 11:38:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AdvxytaEmfLT2Si4N_CiBBN" } } 02/29/2024 11:38:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 11:38:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 11:38:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 12:50:55: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b289d82d651b3e92c399a7 02/29/2024 13:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 02/29/2024 13:07:55: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b289d82d651b3e92c399a7 02/29/2024 13:15:55: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b289d82d651b3e92c399a7 02/29/2024 13:18:55: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65b289d82d651b3e92c399a7 02/29/2024 15:48:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 15:48:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7923855, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArOgin3jcAHP9814dIZokpm', 'x-fb-trace-id': 'EeGknz+AZ5+', 'x-fb-rev': '1011742130', 'x-fb-debug': 'aZPm52kfR33fgQUYuagBWdmguVK5SpyYiAAqCXVsG/OqLUca+BLhdzTbunQ4p8U+0YQoEx/xO3+OTdRa2xPYGw==', date: 'Thu, 29 Feb 2024 15:48:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK_4AizcuH2fc-zcNH43PAzenFwNh25q_xD6lqOkk23HY6ThdWnU0cCD54lzDlKBwgBF5m4xR8d784g2l6-avBDY9rY8wWNvsvhs4GalZYtHYxSbg"; e_fb_vipport="AcKN7MsYCjHl3Beyb51HPe2RLdruAXTW8MSdkjfn51Zj1o1w3SFNjbxLOSvZ"; e_upip="AcJcDkNVr_NPUaf-mnK6diyo0U3ojNLhKzGIY3w51KgNUgib0SV4uca49FR5Hrd6BHy5KzYeaogAhorO0XpLbOUWjWHt4dkAX7k"; e_fb_hostheader="AcKy8GRupMoS5aztnlbD9CN3FjjvGAhNiIOAxNBoslHBSvEAbIuseiCFbmB27ywAxOdOe2Y3enyGWwlW"; e_fb_vipaddr="AcKzaK2KSWpkIcqJexnbo3NZIWFKpPXzOYEBCJm1g3WmDxOO5PbAJS_ezXbbyNoaT41qjYF4CEBsjR24aIZVhHxEDHunQfIWQQ"; e_fb_requesthandler="AcJbCTau_DBMl59BG4qgBmsvUhqkjVci8nFEfth_vhnpE1QX6-VKoQO7Rwex5BJEi8DjpTcCK5U"; e_fb_builduser="AcJQGNJpv8wBv0nK8Jww6zQaleGWxgLy1rTNQGZbdNBGnATG8bVHhYHxrQsGceOBIMs"; e_fb_binaryversion="AcKDYFmgfh6gRA1R05ycqEh4SYa2U7I-MIufBmEpY4iOG_h2bRUFirjJcB6T7ymynI4jkD9EnLYrGv9mvqHDTWzGKvEjLLalyd0"; e_proxy="AcI1fAbC7uqZSnqsyXax_XhjuA1GDFNf9ok-Se3QGGPLY07grUrZReuxIjA7JXPL3OkQozv7k1btnXmrQ7Ae", http_request_error; e_clientaddr="AcIYLDLzszqiFZWqJiCE8KCKeZ8wDLCuWa8VgQ2Ze7PedFFCV9RKl8geQy3Gp2uaCzvdVdKnz0864DsEmg"; e_fb_vipport="AcLL7Unc6m5Ao1ZCacDGXdNu-EBMYTPoJVZaGVaFx1DdMIW3UdEs8RLmbTzl"; e_upip="AcKRXP39WkjgNO2DLAS4HqC7qhdreUPGdU9YQKJsbpbpqBBtYXHYyy9oeeRODXE0agsxokrBV6j7O8bNY6mOpyC8G4_LElTgPA"; e_fb_hostheader="AcKh06KNUgzcxnwbYb2Y2OGof-Cj5lRyg2n_Rb2Ja3T-1Mi235OQ7txVT73MQ1-iwiNY-ylblt9haBIg"; e_fb_vipaddr="AcKcS-Oee72TLd8wLk1pnUlNf25aD7awqK3A6tiw41BxUqun12r3HYMF5UTTeqDIG3fUrlU"; e_fb_requesthandler="AcJl55bWCmRw5Uz4HPDPJfy_gDYBMIkk_gN0kul8pS7CxGCoskonhkQcl8A9TVgXETJV73J9nq4"; e_fb_builduser="AcLVlRqEW7ow5udGgj8H3eRCm9LJdpS3nOcfXWU12amCIyBqm7_4LTHeG5IAIp44GYI"; e_fb_binaryversion="AcLtnYcRa5aTSM92W6YFTgCfHst9INH9hVy2pHOG1XSE-4AieERJYFLm6wjsc4_plQgQaES1AcfmQMv5nW5_egER5JQzx64Eq_s"; e_proxy="AcJFNwe_pWsKYuUwyqojJxqVM8Pqcuj8ofOefFTfhAlneGWRqj0M__xK0ZHbFZeZgJ4Kxt_qn19AgmA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 15:48:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 15:48:18: Error on send one message facebookId => 7309535832462293 02/29/2024 15:48:18: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A1hcLLG0tL8du8LD92uF2wn" } } 02/29/2024 15:48:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 15:48:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7923994, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AW1l06iBUdCK4QgRYcjYI2L', 'x-fb-trace-id': 'CSooq87LNVM', 'x-fb-rev': '1011742130', 'x-fb-debug': 'WJexhu3YLDTR4U7MMlTP8BXrqW4+Geihes217g+pk07EIlmk40UdERg1k+/XZV+bFugttfD3pPv1lS6aJW9FpQ==', date: 'Thu, 29 Feb 2024 15:48:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL7P4dgCJPUz8I-sFYx2ijnUiZm4A9HoVa5E-SrIeKjyOegjI24OjqBcvNBxYEQaK4yqCdDCDYhuCrFFL1GopelGovZqxkTEt9HUBCHiBhocc8qIQ"; e_fb_vipport="AcL9v6C6xClRkyJIBndHQ5NfuSNf4_BKGRc95QxN1zD-z3oQenwkkeP3_SRc"; e_upip="AcLLShOFstC_-CZYojRK4bz_hRlV4Zy9a1_nQ0MeQlU80MXAkc4HLJn7qbZwnnLTQhkF27WFEwxl2qmM3f781qyPZCPUN61aKQ"; e_fb_hostheader="AcJ0OdjjUMSkMY1GDjbPgb0B4in-54Sfejy1-PjTP8APX3jC0SiC8jEB3MGcaqPHr0kzEZlh6pSU61TR"; e_fb_vipaddr="AcLBeI9XcRfjHTG_S5EVnh9s1SiQLLuBb2QdwLod2afSLeUFaix8w9hFQSEwCW3XWV_gv2QROPrv5cA9EZtoBdRclfV_H_8iLA"; e_fb_requesthandler="AcL3lPP0JorS3gCaHxTxnnntEuK9SoNzRXMOVbqR6EKaMX4y2dnbx2MMgd6ppQafEIf_qA86x3M"; e_fb_builduser="AcKAWUox9wV0K7PeSxpV6pJ8BIBlj6m3aNq9h_JT1Em1346Kw-BTV52NX1ki83yd8kA"; e_fb_binaryversion="AcIgo5ZFEx3-8v_gV0_iOlF7arLeb8UnJca64WiGO7zs8Frum7bPTzXX3oP0PvWb1EV6CFMXqXut_zvDJcaC1z2sXRWizugT_dc"; e_proxy="AcJ0s2ecRhsFyUtQ0TJvt9iwiOvTf8uW503JFNccajAAmokJ_JfkG2Goz2zjHDBlN8fWbkP_wG3_30Q-_MxS", http_request_error; e_clientaddr="AcJ4RQpe82uB2y3mcrnQkMYqTUJSokmWHPRWGbNeydlnwvYXGd1PqxhVCqVLObBjWQ1O92jQtVOGRTBPrQ"; e_fb_vipport="AcLhG_AoL7T-zA9LhLskNX3R3_oJhknT328K-O2xBNPFqJyGBETR94hKUOKs"; e_upip="AcLH16U2wvPeTYXlhvXot9yiMJJLsNEpg2l6Jmp9wb3SgLqNTlPWx4iuVqYOSETuR3h9UXLIlVmWajnCgZaJd2DYEAjEpitPkQ"; e_fb_hostheader="AcJUiyJAFRhYYPwiRtWhG6aBc53dwO7-kOU2GwR3bRc0v9xhyX_ISdWu0P7eUh4BrE6iLdXHNu_iJvgR"; e_fb_vipaddr="AcLCfFhILZCnVf7__epFjtc2qqdwE7NB2c7PxdzHFRdEBDlMFg11ITBccvUaRn5UTbtgGow"; e_fb_requesthandler="AcLSB1uGO6cQ0oU8xl7yy2n88O6sUH2inSLm1VNOK7wkt5KqMvcxynhHqYErYhIVoYtgno2loTE"; e_fb_builduser="AcIg-bswjzi2J7ZesKiAZcJtN78ejG2vJ1QJCFHk4SSJx4MBM3XSzRrgG0K9Z2v11ms"; e_fb_binaryversion="AcJOrMS-yFuZyj70NOTJ-FSZf5PeujoHTE__baxPDI0mdi7XVgCp1pWpRTXXYhEL1LuXwu6dNTHXldPvvRTHtXLFFMLqJCvjbX8"; e_proxy="AcK52MU7j7l0ihJ2JoJDUplSZymOakRl5Fz1Rqo5MFZIJ-XK3j9DnxgkkGGnOmV0sRQ5lmgAVuJJwiI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7309535832462293"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 16:36:44: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7126379480791854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7932209, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7126379480791854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7126379480791854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7126379480791854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7126379480791854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwpbBPyCKT0Cp_u9943n7WA', 'x-fb-trace-id': 'G3/EBSnbY1v', 'x-fb-rev': '1011742130', 'x-fb-debug': '/LB/GhP2AD2hRsXu0SL+0YrmCaGKZCwkf1eN/6D0NmFC0PULnRQ4euN0XuG4lJZcUcAkeXK7bhx6XGPSrF5Pdg==', date: 'Thu, 29 Feb 2024 16:36:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIqbGRGUjMiSyc5_se2Fk41wCcXKHIxBSXT5nicOpAbOTky58rKPI4k-FPIRmTS7o4_puFMBjZNGndwCdIKj8NXXVm5U4-VoJNEM1sTx1ZF48MeqA"; e_fb_vipport="AcKepy3cHeBQe5C1IYooxNqXue2InWYMNKUiPK9j5qobTra4TVM-oESzQuZS"; e_upip="AcIYTOEvaUHwL16Q2k8Jj5aRxBh_CuqzXjS1mVPCeteFgzroDPMJHxswhpSLPtRZ7ZKeM2EtAU4ETBvVf55fbLzHabhQo1wG"; e_fb_hostheader="AcLEqvaSdMdZ1C5Da3Tr_RoF-cGuDtyqzJq8JIzg7HdZOu5FmnFavJlYDfnkC7mOwxiON0i0SXlKXdTl"; e_fb_vipaddr="AcKBcU-E_LS4Ud4vyg6EyL5HG7Lvrxypj_S5x6yk9wed8MrRm01C09lpaxoEii8zqQT_1u63x55opAA0Bjg46LgAWQ71jeaBQg"; e_fb_requesthandler="AcIlAK9rcct7yVWKbfYMEYZ6GFN6XuyI1uCH8EchSaxBcsh2kS5cM1qlvNxLMIax29ptRXk7eYM"; e_fb_builduser="AcJE-OPZui9KDrSg94sBQMv2HOkeEUpnrx2dJ2dtcQFuVDPFC-g-8J4H9BA1m-QYZg4"; e_fb_binaryversion="AcJZXKTJXv5psGvfddO_V1T8gyAMbnqQe3IN7qBFC8xitCNdSMZFHyW6ebJdWJB1dKe9WVyTSfOQpGEZY90d1pBz_Lyc7ag0ThI"; e_proxy="AcK-rHReWty36ksSvOHRqTp0MMBEj49BqEHCBMlUKr92WiSaHW6v2l3fJOhjRyZI1Z9rNlKOwoZjGPlrQ3PV", http_request_error; e_clientaddr="AcLooSvgXbwTui3qrsuH51_YHi0Yo5IHELa57gQuTFBfOXYfWg1FtR7_3GzZJhDETl2RxfJARX8z-mYA2Q"; e_fb_vipport="AcIco6VngTLPlv9uxozbgy9XQ05P_yKODSCrXz-V3gkpDfSUOWlQEu4q8JuQ"; e_upip="AcLZVNOEuL0xGl_GWcb7rOJfmUffw42MTvOyOdme2qY5Cm1AXMU_vM1c01ZBPiyE-GVInd2Ls1s_sNAODN8Axc-7Jj4pF66ydA"; e_fb_hostheader="AcLCnnNJxGCr9ywTkkKKFsDQdru4AOLyFCRFYAbDJ_moX8chAJ9WBj0Y7h12sSc_8qLMUNFykSn8FrPr"; e_fb_vipaddr="AcKVvLQGIggnacTwvsfRgMebehIzV-4j6UKc8EpDJZ8mLK2KJFlMTaZbdyTRx8SDI5PfOtU"; e_fb_requesthandler="AcIZxVuUmvd791YtubiSQgaSJ-sJc4vEmeQcdvjzpz42m1gyhc-eODceQbIjD3djoqyKxxNblqk"; e_fb_builduser="AcK-LZ1-3DFCghm-CHGJPyQcmPVMNJtKa7Nd8n45eHXweAC4_xOybrypObi5X62rF4k"; e_fb_binaryversion="AcICnM_TysGrVSslgJ2WAbpjR1r_dHsMYiBInTK8L4NXmRWYYRTqnPV0m0QOnpGPCNu5yJUvfPMu_Jit6GOe2_mp1_j0BFHgDiM"; e_proxy="AcK9cJro4AIxf_z3OpgQHJdjkd2wP9sITbs-F2nBL8CXSwRQPn25RWXJw5ZTjPB31PEhqcZDNUqTvjs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7126379480791854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7126379480791854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7126379480791854?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 16:36:44: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/29/2024 16:36:44: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/29/2024 16:36:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7126379480791854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7932327, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7OFLnxkY1QI9lV7vxp7NVH', 'x-fb-trace-id': 'BylvJ2er327', 'x-fb-rev': '1011742130', 'x-fb-debug': 'rist78Xg4Pow4bEnENw9b0x05ceiPcJ1N5OMHO7u0TyjBvI7HhDJCS2BcSPa+hSlnfPAt13FhWd6uunbrVMqmg==', date: 'Thu, 29 Feb 2024 16:36:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIFHteY9h6qxAd0nwdHs_QM6gYr3xrQq6kF3iYVzWxNqht1Yg8Jx9DMUYYjuRfzRWBM0sZppPqaleVQrXw-pYUJ_m9TSXOlSnesOLLhQzZQpMr1Pw"; e_fb_vipport="AcKN-0DSH4B3m59HWAl2QtqEZXTYORzIfXAbi7PHhNxU1L9VbFuRTeRRIlRM"; e_upip="AcJ4fNXt1dN2pBZHsEvzAeOGYOROgrjG5wwqJyPIerdEblXcbLspbJeJv5SoHg9eQaRnsn7oxEbzXxzxE9LWPCF3feYqZeVCZY8"; e_fb_hostheader="AcIBty7TqJyVeqbNS2UKuP_hZQsREQzs964Jeppr-JQNyljBpkdIdx6G2QtI7cRVxG43LE-koHTkTztd"; e_fb_vipaddr="AcL70pQ87OlYRXVphheIepjQg9FGJL3m-kFVWaWdyYCrg8K_fsO0hvYAb8k4VY70XIuJ_BLr10fOrORuG42fLiDxN80tepc8ug"; e_fb_requesthandler="AcKtIxeybxQ-cBekxqfBAt9gxMxLtI0I7O5HXdvhgSvUM-f-blGvZufirUTV4RSjt1LOD-fJ8l8"; e_fb_builduser="AcKDqATKSFb94R_J1xmxCKamqjCKJ_1jjWlFt15xXMyCVuqPhp01ROcrPv_lgUcNwJw"; e_fb_binaryversion="AcKECyLlTLntI0n-ZLBOvQfGB7xqdgvRrdk-kKrHSsEq-bOhWfsxD7KD6h761MflRFNXBA42Z1CoWRcg2ccIiRwZ_x1dP299nSw"; e_proxy="AcKsAQQnA0gvz-jrfmCZfpes5dY9dg8ohlrLRxaRhHvgD6JobxIDTkZQhIo2F7l09nBB65J3-7Bhyz2kb8LC", http_request_error; e_clientaddr="AcKm8_ANNmMJcD5ylsFEmINl38YrljPY3gfex4ZFkd2YhZgc_PijfMlGqWKPfJqR5xOl0rY4AwK_SM5VEg"; e_fb_vipport="AcKFetSSAIxZpVS909SC2fksnaKXkFcpTXCqja2HqU0f99Q_7wUWDNI3Q3Xi"; e_upip="AcJqB2wtbF_jytJ1h_Z7-z-WSjaSP79oNizsjd49bPqhy6PcP9SIxiEXzTnYiy3aqpNIf-q8bZhUC_2o4ucA-DZqCbhAxfT37Q"; e_fb_hostheader="AcJ6LJfNWcMnUfMJa3VqojQoGCGafXVt_d4OUTw7UPYgk5xYUtG6EpvDQoLbaK7YpRdnfKrRJABfnVRO"; e_fb_vipaddr="AcLHJsmF0dqAt5cwczW1PTLk92Cj--YqCan-vPHCNgH-rvrfldH-UvSRG7Az-PngjJqePiA"; e_fb_requesthandler="AcLgQtpHYaBDtMkWVheLm7CUL7q9FZ7dogWPLda7PEdsk2b5-Cy3CGgHK203xKeHxOMuS05GNtg"; e_fb_builduser="AcINiFWdBrlAeTPwIiFm6FnOfR6CeD96UE54wnRAfjTcq1gHZKvKclFzeCf3IrWFKyQ"; e_fb_binaryversion="AcJyyfFUd6t6uqhnJxKXJDUvCThdBoBN426lc9ShoN6557CfdeMhGPy83RG7pxPcF6-qQF5bKVu6oDGZFr0sNFuf2Km_DZaN1P0"; e_proxy="AcLiBpfqA24v5H_JDrKxLcRTeqvUFEkpYNONO_qTZzAtPgMB6ZweeTRA2o7qsU5x6wCpczZyCJE1sXZN"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7126379480791854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 16:36:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 16:36:46: Error on send one message facebookId => 7126379480791854 02/29/2024 16:36:46: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Af5sg526Wg_M1u4hsbA7l66" } } 02/29/2024 16:36:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/29/2024 16:36:49: Error on send one message facebookId => 7126379480791854 02/29/2024 16:36:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AIINfqAImx34tcZwQuKEwZN" } } 02/29/2024 16:36:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7126379480791854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7932402, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Av5c4eLYJBGUNNMiTSX50YW', 'x-fb-trace-id': 'FaeCbNk49J0', 'x-fb-rev': '1011742130', 'x-fb-debug': 'wP0t0Cm55RVmXUxM+DW4Dg5l4soo1Dr9M0gtYTIN8DuWEsi7UanQ2eLX969wFO9BNUbKBguxihw/AJypE3jj5g==', date: 'Thu, 29 Feb 2024 16:36:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKu6E21axWHQ6MrYP_05RWARcXKTcyqo4IqBcGZCmjQcfS8-WCJC2NNOKNjkGAY7Bw4IaSUoGklI2Gj5mEKcZ5_JhmOkv8eba3eCNweEDshk0c5_g"; e_fb_vipport="AcJOQXIQflHpvDMIq_W1JY3BGHf_vy-y-cvWXJ-N3wguWFbQPYLyhw4iwncN"; e_upip="AcIXnAVwkUYMCQhtzj9lE0j2M3OOPbY8nrObSiVPR8DG_wxp8KDXqc2m2dpCufeqylf-eVKC1iV-lGB3jH2VSBk_XRVN782__Vk"; e_fb_hostheader="AcKb_Z0MTiC7ozQHIL2NxG2aZZjKY2W3Ba96rx0ZbiHMrVcB9IhbxScT5ewsix5KCbSvQx25X8yi2WBI"; e_fb_vipaddr="AcLblu3lNy81wkqJx7xH107I5JXk_M8f_q_WPf5IvNvBtfEeb7wsFpIbZNAGlM06wIXPo8GXlKM3bTtgO9dmA3otDPsCzbAKbA"; e_fb_requesthandler="AcKKMkWNOL6Gd5048bdwy80U_skFKVW7EPTaVCd0O4D4YDjuW7j7YOXzVurPZHhsBQcxd7vnW5I"; e_fb_builduser="AcJGq6FXilEZkyqFFFIYrjurIZeeb9my49W1zD5KcpGmJUZm1iGOBfkaTDpSEiwcMFA"; e_fb_binaryversion="AcLTaW2ud3ntwYg3q-hz52rfVxsMHYsd-waRmdFyHYzv0NG816TACBAz7KVf0I-n0L05ercDZqNa8Xro954bauanaEUbaV5kit4"; e_proxy="AcJ3SVMbePCrFu5poCZZ77-tTjU0ePpeQ-Wa9eGS9R8pOKw0beNMmo6Piud3--KjZrhTfxs4jil6C9adcHIp", http_request_error; e_clientaddr="AcI6iu8kTH61mW7zusw2Vcg4XXNRTO1Z5f_TJb7gJnKkoHo7pHfnve1PfqfOEXDavXhfmuaLD3bm_Vwkkg"; e_fb_vipport="AcJ2E4LmXEI5bet8zVibqk7ZvHrYhiFpDXPO8MSLtDT0TcwdmPIlMEEC61G1"; e_upip="AcJEB2GrlNR3Bo48JUGO-b2JVmDu9EZ-oYuUVE5Qz4lKhJk6WPbXA4H1abnzeqacE2yWHuISTuILPn1Ok1DZOkPPhpG4SQgj8A"; e_fb_hostheader="AcIIKBqcpqptAn8NZUvlvfRdi7oLnLnJTB15MvUVFK2Z14vkHwclEBnC6fdg-jzOrM0n3_KLpqfbvT-R"; e_fb_vipaddr="AcK52Ho6ybgPJPHA4kWiJpm9PLZDvxN8sAQUtN-VwT0fbxnsmk_YwLVsFGHdqmHKjl8N2sM"; e_fb_requesthandler="AcJmuImg1tInsctUwHW-_P5pde77ldbf-KFrMRpcLomXI-qZ_te85t2dvLTEuagaBJfmvOBtY74"; e_fb_builduser="AcKuKsdSJnmwCWNKvt-jSvGME7M_JwnPc9vxLW1YhmvEDxMzNEfQPRhKpTk6FFfMwtM"; e_fb_binaryversion="AcJkxIYyEyJnqBS4FChGKgI2EZgoRkwLf74o8cnWiLGWOjWejzS7t6K01pesoQ-p-H7eMLEAwmd8gptph3faLCdqQDBkuREhlqA"; e_proxy="AcLDvlAEjB7rnx5Z9S5PbQhS6t93GtF0iMDFvht23Vz8XxgHg_PGyviBIJ2jxIul3iyCC0p8JWaFoDM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7126379480791854"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 16:36:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/29/2024 16:36:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 16:36:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7126379480791854"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7932549, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYJOQM46mLr3JkNrbX0kQi8', 'x-fb-trace-id': 'D5lY3mYUc3r', 'x-fb-rev': '1011742130', 'x-fb-debug': 'lUBEFVUXxeyg+C2lUMuuOMk11vFTn5ie0j9sJIsJIZ4ORoGS27rJGuDPcvijPk0HgZ1fRLUsaJVT4WTb8ieJaQ==', date: 'Thu, 29 Feb 2024 16:36:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJfUe0GOC3QTQ3nspj1-VP1p9Sk8RWTjFcVNWBkKQFr_pnHF7PRxGEdlwa2BpV54MjcBDkBv3FYkHCH1G2t0qLlP0yOPq2flVtIDbRBu9bVPqjx0g"; e_fb_vipport="AcLYrcvtNwo0VTPAnTCqUUp8WtMleTvkkWi9lE_RjDwMvZgUkVHN1Z1CyR0S"; e_upip="AcL5REpcMHYROOnnlSW0qhMZcHIawedrLl3Gy_ueZpEINDD7IygI6jbhL8NdugJa87rSxK1FNlFi0DzA3MVLsEKsUvz0hFZsFQ"; e_fb_hostheader="AcKh0J_1x897Q69i68Jg4k7HIlQTZA757HDdZc4yfHkFDBTtyvau8azIM0JRdZsXXDsRB8CEDTC8QGzD"; e_fb_vipaddr="AcLxlpxoVWlmYFnU2ljvtcLp9q7YamN-n2yPAyVdUbZ7HrMI0xCseQWPCG0mhhOYfvhiWRFy139Nu8kin-FYRw0DXQvVLc8Bsg"; e_fb_requesthandler="AcIM59rTKMa92bm7EmXBNGzxiHbOyIZcIcWSecZDH1u9JdJpPYyl6HZHXJR484lPAUFUmtl6SGs"; e_fb_builduser="AcKi6jQaCJ8bBV5axCE2rDWmhC3GYcjkwzhluIjud_SAr5DCdUHyqZBenOdTOZcw-bs"; e_fb_binaryversion="AcJSEfIM9RjxfbKPoD0C-NrIOw9Cq23yMSDxWf5rjY8W7F7lFuCHaHnXMrfCgKVMM0dS0wiYsEElv-MHPuLyaJejZabtCDUl5sM"; e_proxy="AcLDg2nrXcbti1kT_CE6Lx0RpJf3e3phkMjRzPCLCm13G-BYLOUiYbXBwFV06pbnKo-FfBe9aAKQgiyaDkjo", http_request_error; e_clientaddr="AcI9rkwUBGLxE1ePek6H86ggLzg1b16duKiTSLkJLJZr-9oB9YTLapqGmZAe07g_P9PK3oUpZ4QVjKpEfQ"; e_fb_vipport="AcK73FZcJqHrgzdasHgHRbVr579PvAjctJ5tTP93EQOQo9p32r7JoGiEXI5N"; e_upip="AcLkk1dmUVVgmcXnOr8-2niGAqv9qLtk0nRnrboiMHIWU4mL8TJhyJRXR2auH9gA-CKK16B_2z4Efyi_cghCzsjphY4X1gdkBA"; e_fb_hostheader="AcKpvqGUjFCpCi1FY43A1ES9lJTgSZKWbUi9GPIqRH6v8sqvDKtN-ucprt9fvex3fjtHePYU1W8j15cy"; e_fb_vipaddr="AcJFUtCYPAbtxdC8KBRprc5BRpIwjcv5Mj1Q-kB8BlxEBWSu6xIKXoEdxeVvgqPtzgD97xE"; e_fb_requesthandler="AcKcoRhOyJY3kdxSk8gU0VH9pZlQqyTtl03-PE4NsWsoygfwtJfRDnJO63IqC5KxZGdi1OxLHr0"; e_fb_builduser="AcJqIma3KfpYotSvmiL9NLdiS3DB71iVQYzobSYExPZIbtO4_hC3R_eEnZdfu1q1tlw"; e_fb_binaryversion="AcJZlG3uewWXt9g1cX5C1Gy7G7mh84iLHwW1BB8p_dIto8Cte0jGgjGZ-jwiauLnSjsdWN-I5ORn7CPHVXpg6CPmuKWGtLgk-nk"; e_proxy="AcJ4FGtVzadkZ9Mpcx3-dQ7RoK7OeHCeT-cA_psHuUOFjmJx03ruGQjCwddWLE-pdDwnDWsQ_-VZi_M"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7126379480791854"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 16:37:49: Error on send one message facebookId => 7126379480791854 02/29/2024 16:37:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AEIg6iyUWRYUn90vuQyfYoM" } } 02/29/2024 16:37:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 16:37:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 16:37:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 16:46:17: Request bot not found: { id: '973272346080861' } 02/29/2024 16:46:18: Request bot not found: { id: '973272346080861' } 02/29/2024 18:18:47: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25352528521004918?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7949980, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25352528521004918?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25352528521004918?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25352528521004918?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25352528521004918?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhpV-nanoElgFcOB6h0V_1z', 'x-fb-trace-id': 'Bo8Rmig/Nnp', 'x-fb-rev': '1011742130', 'x-fb-debug': 'H2gg5Gh4QDx8ckQr4TcWlf2YyvVoOAyKVyurh3MHvwTvUKO0NUgC7RiQQBAe9780nsoqmRoTDclT2HnKmB/FZw==', date: 'Thu, 29 Feb 2024 18:18:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJkc3iQqzLtjXL9A7Mn1lKmUb1tQKevU99RxjrgjVNdBEd1UQCLEckWakaBHnvNzL2SlxZiPeQrhMF2bly0bL0-bwhedSGnVw1sEhQLCZ_vy_3r_w"; e_fb_vipport="AcJHr3L1HQblqEaQ3yUS3tfiEsH9Bh1SWCFEvSYa3wDYTT-9wOmDctzqcfEt"; e_upip="AcKDqFfN2eHy77e3om91JBRCVj_zKdsQzqjmj8xLd4xjtmTd2LtuXlRfvv2vpBngdebFUIt4h8y0SsLH6B6Z7FlA_Tmxl1M4"; e_fb_hostheader="AcIcJftWptxxgDBlXVW_pKpDiVmRraZMPmV8FT21ZvdJ9KME33_UqPrci5vbYkKfpNquzKr0fFrr8B8o"; e_fb_vipaddr="AcJWLccueo5kR7AaJhFzw9TXCSvQ38eEHRKlutY1jhI73xwEDcQBLidljVL-DTpFSkqn3zCXuqjSw63IMinJQZQZ_tMxYGVx6A"; e_fb_requesthandler="AcJylPcZDTkgWUnyRPx6n6ZQNaca4JISq06oMIifntG5m1fe5qaP-JdQzSARdrnpQ1JKq8bpODM"; e_fb_builduser="AcIArvaQmYplth9C2H5Z_FS41YZQy1swNzQ1AbzARwiip--VSoavGQKlwL6z85o75ho"; e_fb_binaryversion="AcIMIX0HO-XOmNRu01DiZswvEObOB-PmX9Xla_xp-TfFiCdVLoxVV9TQl-0akZGcC1oh_uzXFVU9Bd2xqK32Wqs0AqJ_4aTwyt8"; e_proxy="AcKesM22O3rNgNyjr4GwB6tqUyP8y79ypahr-hVNrBwWhg61Oeqs4HdByKrfMoLpQr_sVDsCviPMUZR4E4E", http_request_error; e_clientaddr="AcJpZZ-9WPayzHk2xgnb0hbfrJHJjQxjBLwPWkgwnKrV_njQZGImBfTrfKZRP6HM3ZTw24BrmFMJ6glWmg"; e_fb_vipport="AcIuOC5kUmk8sV8_OovTMVz9lFCbP99WXgWnkWLf_F-jAKVgzvwxRFo0F5DY"; e_upip="AcJLSINul_3lX9OHHLb7vVIy4KmffOyhNLJPn1AikTj5vEbNq0Z4zUIryZvsqfAkwAgLkGHon7jRqCC3tfs5Xl3-x12G9yCPcA"; e_fb_hostheader="AcKANJNDwW8ncEHCatM4U1PmHmPAfyBc4PseSYOtEf_eHlINR5FEARHU4UKt7vI_5KFJlQyNv3GO9UL9"; e_fb_vipaddr="AcLnFsEkjrRTvNXgUNi61ujn4uJXO-_SMi6N1jYJjS99YR-59dNCC_aou919eNCR5gL4XwE"; e_fb_requesthandler="AcLqRHYWAz5AxwBiElGE4hhn2nvBCWXS4M2HrjoMOiBCWoF5Qu-Rl2CdbQKg1q1IuFDh6w6OFw8"; e_fb_builduser="AcInW7RzS0MBAqVW0W22FmQjSOhjc1jpbeX1P_A-ozbPvoc3lgWiQubbZMOBTlQnejY"; e_fb_binaryversion="AcImn7dIfKa44YU41lR6XfrdN0QtNwl8IadBn2xCTJ1Ouxsfi_VpmBwMtEtQtTgqQpgm5CdBBm51mkqA1Z_BLHcpLeC6KcaEQ8U"; e_proxy="AcJQcsv6ALQ7y18hxd1TV4gdyET2IRM26tcrScjs777KYyj6lHmMQO45HR9g1Xjc9KQYalwBUT5y2fhO"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25352528521004918?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25352528521004918?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25352528521004918?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 18:18:47: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/29/2024 18:18:47: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 02/29/2024 18:18:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:18:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25352528521004918"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7950104, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aep2ifcVRaIzOTikTME10Gl', 'x-fb-trace-id': 'Be34lj+ElfB', 'x-fb-rev': '1011742130', 'x-fb-debug': 'VfstWz1aPlNnUb8YxF3scVk+o0/gO6kKL8HHJKfPb7Eok2fTUNmAgrZr5vBxScyXicL3yZp9wzwSWlOAx9ChTw==', date: 'Thu, 29 Feb 2024 18:18:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJek75_NrPCzV2-RTQ11QE6DUClnUYIAsw5TSEymdsD-WV8qHRRf8RwSJYvFLdB99ilkXFZC0tUkwWwaubxuHsqm4sL75QjW0Gqv3iAZtVz9_vh0A"; e_fb_vipport="AcIFYAWCiJymjZV94H5OlMNy-UAWP3q1w9FsLgEc8-Pwgim19neOE64aduRe"; e_upip="AcLKa9a3lea-dgLPK64U4YuuXkQKRj98QIu6witioL_xt-BCHh-SpVpmvTGhbAxBuUtuX5OUL0AC0zcHIr4ynCeX75J5GnbUYw"; e_fb_hostheader="AcL1stSGeCus1svbm52rLwWYWPRK8mRCOcNMgutjHiWT0NR0aKVy26KX-nToWFPecJWSIgD0r56rX9AE"; e_fb_vipaddr="AcK2fFxACaP0UqkILkgwjqMcfkAmHKDdfVGoN0f1uuYm4_ZOZlUdgWpXYBL84x8ihrCNGw66u3kc2o3ry0xP3OM6E0gYywAoXQ"; e_fb_requesthandler="AcKmIaa987tO76vmhvgwxF1FDbPPs09i5YwUTj3qKFEKCy-APJpAmM09bBASNAvLKD_eeLLy7j8"; e_fb_builduser="AcIiZmxu-jCT6LgnJXcBcGFnnZyB5z6gmmuZ3hHH4Vu0I75plrRVH02xXymvKXjTx9A"; e_fb_binaryversion="AcIzOil70NT1mz-o6NxlF6G2CY6wB_-If2zhVGTJ8YuMmgwqhdtawrgfAdZQHPim4oCMWxhQca8jHNFbciYYBgIVURri32ZNnSM"; e_proxy="AcKSgcunXC9L-rTwOjW5lWSaA2g4i446SEbFlto3i8UzBMyKk0qS11D_Tb_GsaEMPnTtVFvBuQiavq9rLGRk", http_request_error; e_clientaddr="AcLWkbJRAMDCzRic3AMq0hH0tNmEITs-g2TwEuwG7K7E04J6rsfvjcsBw1bpodzy2TOkmkpcA9DMarizaA"; e_fb_vipport="AcKI1LbX-or_MPiZNbcbw45wDt5SbM6RjIYJ630MyBwxRwumFL81lZJFNu0F"; e_upip="AcKguqvVYE0AcLrHMC0ncR3iv4KQ15MN6PaMMXdO-iJISw-KE8cjUceyWzJyGTuzgkyA4eVpBIRfsNacN-K9vDSemLHAVCONAQ"; e_fb_hostheader="AcJVZL6Lz7BQ6nmS3P_FD8lsn0K-qcMzs7Fcu6ZMF2oJGumokYQgLEOdytph-YTbjDm8dVZh3pKdrkQJ"; e_fb_vipaddr="AcIQ5YzqRg-lOj0rWKHRhNLcAU677se-Gui_ANiwvjFnTWlb0UUNxnshV0KBgrd4YGw6t-A"; e_fb_requesthandler="AcJr6l_1Y4s8hkY24wFZdRN73EVc6Ccx5SxKlkGZn4hH5QbyBWF0a2tT2sCf2AuKfELvP7zRDqk"; e_fb_builduser="AcIA-y0VJJ9Nq7iJSY2iN1714xUBYeoePSFTzsXLrABC5j1C83bo43P-_71jMT8TmUI"; e_fb_binaryversion="AcIFPxyzHQuVpitIEQllcIYnzUACvQ97MklfnQoxEPm5t6i2Z4fMPVcSTurkges_V8Fg5KDG-tacfC9ZG-gqqmwHuzkD8rkViXE"; e_proxy="AcIhPy0eTdZteNdvcv9YgJa_5YXHDThoO340FTbzbs3InDqAXJuFKMJJeE0iRQysCBU-tIk4tvFMMEge"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25352528521004918"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 18:18:47: Error on send one message facebookId => 25352528521004918 02/29/2024 18:18:47: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AFtLLVYI9-lamvHTr-CTk17" } } 02/29/2024 18:18:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 02/29/2024 18:18:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25352528521004918"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7950177, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AO0uGTSoh7QkkecFUAo5pOP', 'x-fb-trace-id': 'FqOwQyU+rjc', 'x-fb-rev': '1011742130', 'x-fb-debug': 'yoT7eXZXKWAC5e6s36ZVB2iUnbQwuvcPNxthknjPa5JbajnstjGHsSb09bb0fj5JX2CCmuBBqRzPKNBoJzUm/g==', date: 'Thu, 29 Feb 2024 18:18:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKp70Ulg49vOTDsDNJn0cDYWIaNsIzEZXswnMPO962I7_2fuqlO9EMY63GBDTJFxzWD0jEeQiAnbd3PVZsRE63BdKRPlaSd0kjsMoVRCt4lkd-34A"; e_fb_vipport="AcK1HZGF_PPzfYwKoHSfsGW-MzxNXSxU5l5cnuN4jY7arIIku8l-t3Jc5Tfl"; e_upip="AcI2h6DGgM2EKKGuwivtnC2NxVubRUtG7Fx1PT95orrzs6c26-vZXD6ovny3kANO_FXqsTWeB59EQBQ7hDzgQP_fAmaVC1PMyw"; e_fb_hostheader="AcJujlEJks_MA1ZyuYfJRVTFWq9z-sVLoJefpPw4xN7Io1beMYdEJghu-wkboX-M-wq-I8YIgAjcYvrP"; e_fb_vipaddr="AcJoZvCCdN793AIDkfw5tNLU_i_a6mYAQ1O5qZz4g0-8dc38M-Q6kYYvopvH9FgM1xgwmKFRPkteXMH5bEQRsH1OGwcnmg2TKA"; e_fb_requesthandler="AcLzx_8DdzV-o4iwz8fZuTawLYcT7Rit0vBxZpySjeo3Py9QaJIxTEPpJ9Uo9DB11IYYrcHOomg"; e_fb_builduser="AcJ1yie54uUqB4HaJgaIbuRkBDzY8SsIaYg4DbUxLBzZ9Qvzm2PriIsfCq2URL6OxHQ"; e_fb_binaryversion="AcKh4wolOpSI90apIg6DEV_bzJBfYf1BnwnLQ3H4SZ-zzH1NBkP99C7wdLRT64fSP72OK4J-6qgozFbZHEH3G806VjtJFGASJQE"; e_proxy="AcKxD319KWlWOGGEBeQvaxR2X2Cy3nLBlywSw8Hgtvf-xQdzbgsTxBPwhL5QJp337TQ7w6vWpaJKgfp2jIIX", http_request_error; e_clientaddr="AcKbt2KKX4FLrFdMAN0p5zLKqW_JjZwHvOk8mTK9IDajH-aHbH7HhaPiogrNjYzuWFKfqgNWw-F2hy3hsg"; e_fb_vipport="AcJxRJjwQrIAnTC_2HcBdxSp1q3ofj-3yJUsOBhd5ScpxS3TpJRAio3-es8X"; e_upip="AcJ39ijePPrBggRkUj_z2N-UzWTVl4KMX8KZ6cUwPFJNw2DAcBnFFPl04FWSyRd5fqf5Sf9Kiv3AhZ-_OzRgtMFhicC-mkznYw"; e_fb_hostheader="AcLXReSjSBadmh8_WsLsUHJkpyLBJXUgYZNsGSdfHFrPA7WAEmbS9PmvNptOrTJ6AL0LmF-JF9w0BPsV"; e_fb_vipaddr="AcKaLGTslF3i2v7ffL6kopdElSMwKS9xQXTgJTiP23SmeBQcBPw2RBab6gLnVLiF_G3rxCo"; e_fb_requesthandler="AcIAzY9kNBaYg7qz37TsVf_6yiDD7hr4mbU-898UIzaSyGzqd5bG7SLC1TjEe3vDBEedpYgh3To"; e_fb_builduser="AcJTXx3MBvVeffFoquPIkjA7iB_ifhW97WGlQnr304leQP4jkmtZ_SAn_cPmkIo08Kc"; e_fb_binaryversion="AcItJOxQuEVn19Kza_L8b2z8wHbNC76T2U9aRGK-3JZ6MIIc43Ro5GcYzdlV3UhBkXUtW5Jd8sQj_qPd8X8Omnb8nJnfJPX6fUc"; e_proxy="AcIEmJ5P6ceJhLVMyaCnZza1Fsq8gqP0UkxiDCX8T3rZK6kR8VmYHH88AFjMrMLlp-qXiGweGQYRRvQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25352528521004918"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 18:18:47: Error on send one message facebookId => 25352528521004918 02/29/2024 18:18:47: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A7tdIdJZCrrcNbO05-k-QRd" } } 02/29/2024 18:18:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 18:18:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25352528521004918"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7950292, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXtSk9WJvDXqX7_B1miDnWU', 'x-fb-trace-id': 'CH5K6xN/FK0', 'x-fb-rev': '1011742130', 'x-fb-debug': 'CaqJPbAUQyjRFUp+qrfDRVBAo2XZWDZHaaYnC2kkRkck/qIzXEHEcbJ4X8x8CqCPUHnbC7E/UitXxb6Ec3EC7g==', date: 'Thu, 29 Feb 2024 18:18:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKMuj07tE9CfuEm5TO7Y0Q-q6uKNh_5_wBeik50bq-fW6lMrG2lJ0KjFKfLhPbJSpjVURzcppkavIoLCLgjpD4FEdKpcO20Md_RLPYJ9-IcJY6AOw"; e_fb_vipport="AcJN00V0oekC5PP3VNVdxRAshH31MMftGTvIC5tXPiF2WkLwvnZi80FBoXIx"; e_upip="AcI2Y7hWL3zN8dYFOuSZ-ROlMGOCcyucQe9uiJCzF3RMdSB63A1zC0-P_QYrjv3ad0AWUETxMTXm7cJH25GLczg2V0lBorxMSsY"; e_fb_hostheader="AcKli3E3TNndBzbwlsyNlKO5Y1QUMOCOEKtOitVwj_QnwrVZZeOY2m2FYVEIxb6_ye7aTgxuSik4eJjo"; e_fb_vipaddr="AcLir8z_bnrtm4cGWqi8XEE-5Y2uHJWxxxRyjzRe_Twuh_N6SOGF6miTViyb4txawFDzMg0HRrFtqArXZt-gJGBDpxzLL_DmsQ"; e_fb_requesthandler="AcI9fu0v_Cz08uZEoeXN5546co8URCne7BRDs-obHgpW2iwpgg_eVLL6aR_ee9QGDlqaPSbs0rI"; e_fb_builduser="AcLsxNeNwFjkbXlcaFeOct0fbPm5Beu_LdF-H43qgzfUVZC81yujOZxrZ7kZywTFNwQ"; e_fb_binaryversion="AcKRLuxAPSTQekq477pd4Jas0OxSu8J2keB2GFpkrjSHB814ftiHO3qNF7gyB4tpqSs6sQb-mQ1_Q2OF9OGByTtlQzL8xzEIHwo"; e_proxy="AcJDcZwJC8HbpzrcrDFeeMnyyGmCeMWp1KVDRDHA5DSaDYehxTu3eE2SZsgSQ8GiRkdecuhyGqovHhhzDdfL", http_request_error; e_clientaddr="AcI30p1Nao8tWoEqE4s4fXhYZfaa5ophLNMQg9Ficgnv_m_qGVzkI0-3ICXstc36Y_-xqS-hvSS4vE9_oA"; e_fb_vipport="AcKYc9IrFmarcE0DugOuLEkU8MLqjcoWgnPVNZBTFjIUgyATghiFzpAZlbW7"; e_upip="AcKD24HsBf7yyNsctlzWEltpYq4tZ_icLXE2l28-Zyf8TkwDv89-6_3mbv-vrs2yeeDM_E_MgaCULEaFku5sSMdGmnF1sgPhnA"; e_fb_hostheader="AcKSdeL5WjHpvo-ebwxC_qez4bykrvsaixAgHvsCOM0h0lPKDawroEzIpa4W2KqJzZdB8b47yeMfEIBS"; e_fb_vipaddr="AcIBaGFlidnGzHHcKJR8mxpy9t7TC0NFapMgEExUZgpqtc_4UtryzxnivQW9vkg87kzbdd0"; e_fb_requesthandler="AcKQ0azF8JrVtkNq_YCL1B2ju5TWOkU22q10jMt9B1lftH5EzmHTrvcIEL8_WBZpc8ys74CzfHw"; e_fb_builduser="AcKQqbhegMFroUo0yjzLdsYXP40hWEpEqMg3tsNvIWvjy7Muf2kWs-kXannaWIbGj6Q"; e_fb_binaryversion="AcKGfrZdapmeCVUD583N90FoY_PV_3Ah-Zngp-0qdcuime4hT4N2yWN1hKk7x-86A8HEEwnxnafVMaQiKmVjurMTNToXlNkXVKI"; e_proxy="AcJxUPGPoaSr6bDixqYj76hiNwZNBtjxrMLUaB8PLz0SYAbP1yc-bCSjzuHYGInYwcEAhVltNN5jUMU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25352528521004918"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 18:21:49: Error on send one message facebookId => 25352528521004918 02/29/2024 18:21:49: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ALhmyaa8aOWoQLBkb8EdHUg" } } 02/29/2024 18:21:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:21:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:21:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 18:24:35: Error on send one message facebookId => 25352528521004918 02/29/2024 18:24:35: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A4GF3lQ146nVFx0YMsGBD_-" } } 02/29/2024 18:24:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:24:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:24:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 18:27:17: Error on send one message facebookId => 25352528521004918 02/29/2024 18:27:17: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Az-508lPehd_sTlfQ6amit5" } } 02/29/2024 18:27:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:27:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:27:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 18:29:59: Error on send one message facebookId => 25352528521004918 02/29/2024 18:29:59: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AIntxAIAPDFqhNW_Wi8C_p6" } } 02/29/2024 18:29:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:29:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 18:29:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 22:02:58: Error on send one message facebookId => 7076749849090620 02/29/2024 22:02:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmLiTCpDQxbPphrVCGSDYKP" } } 02/29/2024 22:02:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 22:02:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 22:02:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 22:03:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 22:03:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7990145, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8YaMrl7oeGGwKOtTa2w79l', 'x-fb-trace-id': 'ElVObVO5TRx', 'x-fb-rev': '1011752079', 'x-fb-debug': 'yrM6dZMJhIiIhOaAZZ4Qx2BcL1xUeJRrWof/qYQQvtofvOuywE1epEnLXS60SZw6t7WFxPW2VYE/HoTQ+S/xtQ==', date: 'Thu, 29 Feb 2024 22:03:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLpLzvy-m2mnAT6ogHPfiku6cbyeRsT0UMcBN25gTnbRpJySoi5uhlM-qofz6doQfDht3PEnreZg2oWRWMXiPV1K4rqih484ddMyeS6JPGAv-DwSw"; e_fb_vipport="AcK-dCWulJHSgOmUFjNPA15nBGMrVVhIK0ngIWHLMhMNR9MkSfGnVS52IEjG"; e_upip="AcK5v92ink6OJiN0EP2KGzaLZ9DVNzEQKgtWh0EeAnrJgIIMOEmhCVH2mPQsO3LfEPuSYEnAwNPjXZj4ieiteKN46vhmZP7g0-E"; e_fb_hostheader="AcK0Vmb-sNCA3a6Zzdv9j2Y-Y9opcBXsupezoiwqfdzbRAsV4vcJ1emT59Wi4SVt_tZ-0lpFPqFBA8in"; e_fb_vipaddr="AcLsr-xZ9iCv0Fss-70PZCFdQSh1dKqnC3E2IVoTy-sNA-XT-Po6nE61LmODFubjcWSJ77p-HalyhgBnAhgl2oaFc7SNnjzYJg"; e_fb_requesthandler="AcJHF0-A1yW72dD1EnlCq_iazDGgjxT-jpSe_ihte_XzO2FROhMuprbp2g1FPA-hQORXVemm-QA"; e_fb_builduser="AcIzO2dQtBy7TRwf7nMfXHhkBKzZhULnkAl52QHQBBVVDqp9HLFiIv0hM4TT7xP_K2s"; e_fb_binaryversion="AcLnyNoia0Er9ODs0bAh0QQIIj5pBIs2dfrzxt2z40cJBvIl-cLtwHsT0rcP7vx1YTzFAR2Zj2fsG-HhlgwI4PrnbujP5QDFSI0"; e_proxy="AcKOpUoNG0t-PntL3KX97B5Mf6z0OG1NVnRFjxQSFmKg0gzuJ__eS_00u8UqYNox-ucallTesRTwY1o_Do32", http_request_error; e_clientaddr="AcKlIwraYNgXMxvbap3ZZYq-UQfX0NK1R6jrvk_1gZhAolMpGs_BSo8MQde03jVD4MuIkFvSRgHcumg6Rg"; e_fb_vipport="AcKM_dVx5LFnnIhrCG2NZ3v3_64g90OaWThYUL24Fgoh99ZGx51C-DIdGram"; e_upip="AcJkwNM5j6U9sXSExH54zAsVHDhqZle442h6V4iQ2QnYnn5PQ9Nhhalf6cK97tJj_QGNLWKfRQ8VFLCw2ADYLHGcEsjMB-13Og"; e_fb_hostheader="AcK7Ty70C3goivoarPIuZBnLl3SO-bS7MiNRjrhDCbTwg0zIn_sk5E-klGs-0w3GXfobqtI4Pyh9cGhg"; e_fb_vipaddr="AcKN5_5q03OT6kgIwfGE_Vc3rlUthG6aS-NG0Nyjr01cbVuo0CG0xNG7zBDig39dGb3jWLo"; e_fb_requesthandler="AcLRuoZb3ZeBIoLqjdHSFZQn9NkiKzkywqgaDmSt60LhPjMrTmiVSE9Kz9KjSP_im3s69rN3eyA"; e_fb_builduser="AcKzVYsBWuteqreXqxpky85_t-58fg8CFuUCbsVd4Yd953Q_NUbN11Iqtc9WJJq0L14"; e_fb_binaryversion="AcJZgFNLjp-y0CgUkQuSKcPDM2uTfupdk0AipA2Jrxi-p3GEg7lNBGOdawP616jD3OQ-mYI8T-ClmbF8gq4Xbn7t3bZBw0ghX64"; e_proxy="AcJVi2BxU3uZEwUNC0OI4SLY2Jqz3Saw0ri9LIH0gc8sBNJviuax8VhRtnQaUGO8wxaF5AsEYiR3bI0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 22:03:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 22:03:09: Error on send one message facebookId => 7076749849090620 02/29/2024 22:03:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADw_6LQSf9xlAwKtJTVDJkR" } } 02/29/2024 22:03:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 02/29/2024 22:03:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7990276, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmMsiYxk5eOIv5UymYPxoOa', 'x-fb-trace-id': 'FMvYamwdl77', 'x-fb-rev': '1011752079', 'x-fb-debug': 'O3dW878Qt+AKsImq30EjEj95YjF7frHZ2vvB5gjpomRMKdV7ztHYFX925DktFhMIy6fmW75DmCzLq9drpDdR/w==', date: 'Thu, 29 Feb 2024 22:03:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJLjG-pFQVseGRv4D-HByJzQLhl8PhsG4Im_UQHmFCzinz5leyoisTBupz8jXmfJBqvW8FJKVoVHKR-SjkITEkZyoTi6iBgAImB7jFDnwP-_Yu36A"; e_fb_vipport="AcIQdWewAXM7CA9MUCb0dMfddtlwScrN4TdeZy_qija4G8pThVpkp7cmcpvs"; e_upip="AcKx2nkqSOLRBjHOyw1iY6qSMmQBB4UDwK2UZKP9tUEDVbptXOviOJIP4i4nMR-wISaTnvuJSK15Jfe4-r6XKSOWZ7RSxltViPU"; e_fb_hostheader="AcIFihgfKyEkFTbc3kQw-51AMTVE9lx8z_gJd-2jgCQ-p3l51Q8GSLF2Te9twL6lvyNwlKxIJc0CaSUi"; e_fb_vipaddr="AcJE_zVbJfJu1BsXNsob9U5MMyQ3bt295eRvAgKxRI4INf2hSufWcVVnYqcLJVXGNOFdTT5BOj_tlqeZ3NYiEEsty0K3LmNLsw"; e_fb_requesthandler="AcI9WcXJVMiJPIA8l5V4NW6jr1RV_fna_oRt2yGsHk5g5z4SXDOuP-Vi3cUf2hW5CCYh6Vy0yWs"; e_fb_builduser="AcKtDYBj8DCmHKUp5hBowIU8nKT8R3BlIcCIlv-Zue31W5CLScizkGOjcxdbmGlNReA"; e_fb_binaryversion="AcLU4vXRNfO7MreWDR89v5JgnH7EMWAImoQv6yL1XH5xkYRk5m4XeKIZ0ZyzfDWwCgRAnKH6AIESp3wPrpL3Q_bkldQme_L7Mz8"; e_proxy="AcKrpBnmLFVt6ZKQr1OsDQm7nvB1UrdVqcIarrZED5hmfA600nhzpNqybHS60bHbLpNjceQCPe6_vkenjIRh", http_request_error; e_clientaddr="AcKGE1YuHBlfdK_JPcBOC4caU-MO4rHvJqUzf_MDHgRdQ1D9sbkVvEiEmFF8ZTNFMExTjeNwZ2OpD8nQJg"; e_fb_vipport="AcKT3i8cnYD1t3XvEgzLDxZ2nXjSkAS3Ob_1Uu11ARG2NACm8RcLuIn-2Nm9"; e_upip="AcIvs3N2CgUCQaArX2MAfa5ssNo7jRxMzRidCMibXyOB6guFiVZeEzHvSt7Z-hL5NBClXiJ5j7Mgp5YSMWLH-89RR-7r5Xg2xA"; e_fb_hostheader="AcLOZ3HA_dQYpEt6EwkXE37IvWHAhcclhv_OUS3k7rs21uJM_Gklx8i3Y4KzSJwU4yVElJh4vbx8MouV"; e_fb_vipaddr="AcKANOqpXaklP22NqfvksCOn5YuoPu7u8Gb31TfNTK_jkIow9pZ14ZaR1CSvw0PsLBxuc10"; e_fb_requesthandler="AcKYQOmeyZHZh5X-5haOSiUvsfzv4z_Y_gWiTJ83iwOgHOw2v4r6vpf6tRVYbZtQoNoA_X5aVWk"; e_fb_builduser="AcLcrLdktIBHa6SZDYk7RMCeL_sWrZ2eedMvph7Ng280sIZcFp64ME60xWIgKiNUxBM"; e_fb_binaryversion="AcIo25qm9YoL1aY0-S3a5uVjgtALZ7XexG1isHuzAEeMwp5Ao75uO1mCYRvGalnCepCXF2pGv9FVr0h8YXBZJJ3AYeap3NNhUPs"; e_proxy="AcLgflVlThacKNMsc2XrQ4PXfvOiSFctbbsDbbGty9W2YXPCayk96vwwvYIb4psYRrUhznkyOtKfQy8K"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7076749849090620"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 02/29/2024 22:03:29: Error on send one message facebookId => 7076749849090620 02/29/2024 22:03:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A07EtivqRAPzHSOJeRowMnY" } } 02/29/2024 22:03:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 22:03:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 02/29/2024 22:03:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/01/2024 04:09:31: Error on send one message facebookId => 7431699786864710 03/01/2024 04:09:31: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ay1yCavCGkuBHHfPS2oW0bu" } } 03/01/2024 04:09:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 04:09:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 04:09:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/01/2024 09:31:21: Request bot not found: { id: '215725838493727' } 03/01/2024 11:17:12: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7260260284087389?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8124888, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7260260284087389?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7260260284087389?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7260260284087389?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7260260284087389?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AA8l_wDWLkcx7oglT4BWDvw', 'x-fb-trace-id': 'CzSlJ30JLwh', 'x-fb-rev': '1011768673', 'x-fb-debug': 'grPOqhhfY5y9nd3xTVvcscu7n1JuNIugcdFA7EJk/Gsg8dOmRUWC1o+I/FTiddbBYIjEAnoHrH6UYaJCLOwqXQ==', date: 'Fri, 01 Mar 2024 11:17:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKvRYqKNE-7q4_MKmBC8d1yXvK6XwxdcJWpjM26Q-3PrVSO_GAmABR6eEWoALKA7uYRQqeVdK4RpraSkLLRNyFViZ60u9Dqxuml7Np66wCk4dSu1g"; e_fb_vipport="AcKNWAJpv11_iPCqcMuScZZI9j1BPF04_GyT4uZZmN38BzADPcu0xXp61J1u"; e_upip="AcLyAI0Yec8KvOb39-CpFeuZHOUDIfj3VLECWPyTo_2QTSfgK9GtRt4gNbRj7QIYI8O3KQh8aZiagSwwRlAKF2sId4dSy2bXJQ"; e_fb_hostheader="AcJJOUQxEzgbdxdAV_LPwGqfLFCmIqXuUkLSawJBNE5MC2mexKRS1Og7S6swWWuO_XWy5T1JcWqDYdfO"; e_fb_vipaddr="AcLxWLBu_jg4uoPmqtHyE_tETDGOOktRXyYIrBpiqdm5gfwI9KosyUnQk7lnKi2y3Ine-sBuZ1iKiRzj7L1YmAGaznWY5h4ckA"; e_fb_requesthandler="AcIArWQL1eLrfp4YPsYlT0wwqbQeGv5_BhVe_CTEPbKV8CXqY228ozAmxy9yaciDJVOMYKz-Co0"; e_fb_builduser="AcK6bk8yBJ1087f5MKyzgCRUpUsVM--Yyjp4yramkc-ws4xArs2nnsFKBSOXe6OHhYA"; e_fb_binaryversion="AcIQ4hOQKUumn12Mj05p12w3sNqfbQvMwwaHDyP2_OCuiNYgpY5LSi_FooPhAPKtgPQ4BMxe2wxMiEv-Q9p7EMlFGQ7E3lik_z8"; e_proxy="AcI9WB2rQ58_qOvGaZUkjc-MR6SQ2VHS_S3jWWVHM3t0CrOy6ItUwJgVejzErcSRiHV-vJME5BjgSTdKVDJC", http_request_error; e_clientaddr="AcJe66y5oG-Xotou5LA1Oit6k1p4fuokhMZ9MuKEB8LT_ShL0DMuihQkiYI9_oulbRWbbB8f0Tt5utBImA"; e_fb_vipport="AcKmX6jPKqyOQJugGiTiVG4-ZuQfJ0881mBuxNHtx43HlJSXN1tt_Bb1p_Mo"; e_upip="AcJoC6Js3hk_Va6IfpmQMFbhAXlEGca9Gbx4wUWseCC80qR8qWNISylcjEo28x4qZtGjb9Osl63y88zt16bRYeRc3dQqzD0wVQ"; e_fb_hostheader="AcK1DG5MN2NXLQmO_WZLla4EEOEjENbhukeB3AYFRqavtsgrAMc9foOsqKR1shBVHgdeQbN-GMvuadtg"; e_fb_vipaddr="AcKIbjvTKCmrBm9QBmc4SelUlNY2_L00p-IVGudCJDY0HdUGHsR_N35QmK_lkM_FlrvHZIdWDA"; e_fb_requesthandler="AcIfwVigpNNZkoA-zSElIcIiBcWu-HrBDxjvrYhkQktYb9db8NiRxud2PJO_-_DO7967-jTDZWs"; e_fb_builduser="AcI1amc1IVy6hs9w3WhoFWMapqjwi60dsDTLcUXeyZapbU6IPhlVg4AYs6K4oeKK5Rk"; e_fb_binaryversion="AcK-6aic5KaH1wYRpubwMEYYYM2mBH7B-C3xElmA9tPofzy4fl06npLU_6eVlhC8odNaKuldWF8hMr18AjsDKPhNqV8afodQNwA"; e_proxy="AcJ4dN-Xsc8x0rWMDTgiOtd71jXiz0-biSeS2MaA8fR_wopiE0t2XooIzM9b3YhlXVeR7wd_g1ChzzY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7260260284087389?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7260260284087389?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7260260284087389?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/01/2024 11:17:12: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/01/2024 11:17:12: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/01/2024 11:17:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260260284087389"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8125006, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASC4yDG_ApAjEoDoQVO8UT0', 'x-fb-trace-id': 'AuMiZ9eAEF7', 'x-fb-rev': '1011768673', 'x-fb-debug': '31lARSK/leN8kQhasv4oZIJKKSmfOVgbn4jaO9mTmWkDHlWn6cEixDytWvfXjOP57S7nt7kaIFclLfDBJMGODw==', date: 'Fri, 01 Mar 2024 11:17:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLGdA0TPPSJH6x1WDPaAJ4II1uR9QFC6CGJpA3NwP2f2F9EaWYxezvivr9NVEZXIbbRUqHRTVVyZGZpmAodSFTmrPzYDzpxe12RjHeCMm38QGog"; e_fb_vipport="AcL76ooZ6de2B_WgTOEFb9yCvLnPSm68XI2mdfpE__lm2rh87mhbRf9xYD-m"; e_upip="AcKwvZZHBPY-HbHJzimw6MEaqMrtw3CluacsqQyxHfdF2osp8-AEpfCnYvMZCPohQsOZjm34Wdb7ODcqiZSpDj2uWNfYbMfvl44"; e_fb_hostheader="AcLFJNxjuyom8oNh5z8v83kQtBHiejlEKLS0_V847Ww83TlEyR22nANVW8xXGUk0ZVS4VISSqv2Qjue1"; e_fb_vipaddr="AcLFZiq8SBNi6_-rLktB52KXDus8B50-u0wJfeiyYL-kpHr2f1wCt7bHY3TcW47GRFNDpCB3wVm8UmWAfPk9bdjmITVlVRUOWg"; e_fb_requesthandler="AcL1LV03Bznh7ZKpi2VKuIRktBoZziuqRasO2I0tu0QFd38pvblb-qKIGx7UJOUBV4hAWnqultE"; e_fb_builduser="AcJ9ZeymIrHQTWoisPXadi11mKJkXCT_WrRbK5mhogXh7p0QevlMFRpGGR_OLKugLGI"; e_fb_binaryversion="AcLl8A8hSdB2CXTw7LnNhjHDdF9IrfKlm7-r06pzVqIzP5QkJbukPTuVnQoKNtk-WblGvleICJ45zQZ07oMBURDv9twIWE-uCL0"; e_proxy="AcIALx72VCipUo-oqMSepCnVawXkS4VGNAnTET2_dO9nT_J70d1bfTNwZ6p07ROHxph23M3BjlukLhtCH982", http_request_error; e_clientaddr="AcJ8sbfoalyh4GabKqjC4w905FzyfxECJQIR3uDJis4gomitwl2lMkKPOkXoiUXP9CBSbt0Y9Am3Utr4mw"; e_fb_vipport="AcINBObl1soGa-e5M6GocQwghwq1fVjx3wow6DQzm2HDdyo79n_gzDd63nIE"; e_upip="AcJqhv2f6nqf8CP7XUNIQX6WKZUf7cUg1cl1pZurSnzWPmROPmlPz8Y-uK6cfySLbgmXgviMFgHVswY2fwArmCNBajI4c-1Nqg"; e_fb_hostheader="AcLwO6C1G96EuqCnECUxC6vlaqH4C3MarZ6beyOcb4cmfQPYqcrj5Hkf5FhsvjjFbH7X3O_fK9a9X-UQ"; e_fb_vipaddr="AcIO14y0wppe19le87a3IccoeSvCyRTibzm3FVXBllckbC-3r-7rYM-Wj4L_gWrBuqlp1Iarkg"; e_fb_requesthandler="AcKRRzvKWBLOq84dTtdrrE7WSKVijR3Rz_A3D7D5nsaRRhrk9e53lBx8C5FrKgY2KhZnE9P3qC0"; e_fb_builduser="AcIgUX5grPsY-YedV5YZAyCOPB7tIRTGW2jdggzHXApmHae0-oABqzU-Y8IFhlHhHG0"; e_fb_binaryversion="AcIsmqUFz1WH5w6-OGq7l-8ZU1bSwkVhMCqXGH73TdBNcDTRC5ZuzPZlCAm-YZKg2_35DtHUzmf-ETYlc7H92mYUmrAphGySvIg"; e_proxy="AcJL6uE1Dle1C4Wf0KXXinkzH9Y6LT9RZxtxtcWXhZ7fIWKozljnebnk7EVHmFXtPWv_YHZGkum2NsE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260260284087389"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/01/2024 11:17:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 11:17:14: Error on send one message facebookId => 7260260284087389 03/01/2024 11:17:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "An6bP675NXr5DqZrgNIgoKi" } } 03/01/2024 11:17:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/01/2024 11:17:17: Error on send one message facebookId => 7260260284087389 03/01/2024 11:17:17: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A8JrtNKRsCYfVAuII_7ewV-" } } 03/01/2024 11:17:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260260284087389"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8125088, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZgjoTqpYWqiLAmD5Wvse7E', 'x-fb-trace-id': 'F//MkCdOuBt', 'x-fb-rev': '1011768673', 'x-fb-debug': '1wU7mko+y++LhzAPOiqV/wLCh4HjjXqjnXq2ISv31ZkjntIkiSfWQaBqxbh66KRXkX2oX9u1V1xc8g5I65HC6g==', date: 'Fri, 01 Mar 2024 11:17:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIsXlMIVTPY0c7KvQ7ivccfji8rEsAnk797tOsAumrWW3HRGcAZU21dzH846MHes-av2Q7CPBl2KLc_NA2ETmqghXgCE6YUUhnNCKwN40kbPKBa"; e_fb_vipport="AcIDHfXKia2Eqlwp5WEyPaIEH2EnSZssrm1cjT72f8UTLC6a2uUhG1CK0cp4"; e_upip="AcL-2pRbflo3Uip5PW4LVwpBvDIUGw8V_X8BPmi54Mhg466XUYIaWfggkpdL40SHdFJRIQvCxkfW4dyK3DRWTe6Q-q6sVPmuH3s"; e_fb_hostheader="AcIEyHZNcM9JfgCp0bAtty6OlJaIVKrrxBxXJ3OlHeOXTsDK7E6K4JiRqbtFzaBW0A99dQNUcgWBHve7"; e_fb_vipaddr="AcITaoQw5uV-ZMsFrpOiucvjOJBoCtFy_XIX8CmlGDzUfdP_taHdiny7TxN2lvsRFZGhPaDXvcux9lwx4rOKf6t0c0RjZ6R9tw"; e_fb_requesthandler="AcKv9OuWjQLcuP4-5N0lljPNxkuDUgMUbFkPMQCo5VW3x5XtX-9QtTfYdJhZ7HJF06b3_FeK7AY"; e_fb_builduser="AcI-TFy7pXbLEdZcmXCTd0Pqttg7GgqkJcX1Qg-KvHxCcGcnI0UD5OXCazkDIJSe7OU"; e_fb_binaryversion="AcIxEv6z8lIVXh69dmx_Vu_otRywu6IeGmMjsdghWpGHWxnbCZ_NaqV27DFalJEHU74XzbIPupELC1zfCGG0oPndxyJ2eGpH0rY"; e_proxy="AcJ7FQHu8D2ssXM8zT0p7d5ii4VQABnFWz2PA9p113eJ9uHkFkgw8t5r64OrEYjWrx7TWaVgMPgiXNPkJK6h", http_request_error; e_clientaddr="AcJRG-lAmN3dYyTgQdDF8KfvE-cvz6EVYMl2HLCbCrjDrjxVSRWZW3kD7GYeuwTZibKwS1uuxl5_5sqABg"; e_fb_vipport="AcKronW7SFlqZ2-2m3r_y6TpkDey65WvSwemf2urWW_wVSf3WVn_d7pMJM-N"; e_upip="AcKcvBlgNHTIj-l-2FqjoJpk24alr0Y5bx9viZ3IkjuKkOtBKm_80eScYwqF3ZwAK6nvX03HXIcwP1ZWh5-hO7akp4EzsnnKzg"; e_fb_hostheader="AcK6x7VgpFNE-JPONGmxUQ2NsYgxYHeLWsjqu1joccDjFCAsm9mZL4sYLXuhxCY1R8ajmADSqN67_Saf"; e_fb_vipaddr="AcJeDLBHX7uIV-4mjwWAoe_XD_HS9Rxs7sKOS0-pp-UcqYrsGHuDs1jEIiPsi_d2wDLmo6rjNg"; e_fb_requesthandler="AcK740gKxcWVi9IIfI1s4oETkN8U9FtMvut_HURIL98OYsLc3LWjhMLneoHdflTqcWcZS9RAHg8"; e_fb_builduser="AcJSmLc6XL7awS7ughyB_kzsLqKWimhmcOav_1pGfjwyq4_e45PpEMFMB56D4ZKe1n8"; e_fb_binaryversion="AcJgr9GAT-pq2PO4yzPv6z64UZ3urD8FvxFKTtRKEKg3lxVzKx2j2pqpCPFUTbPVfRxRYkrs8JlBRSFDgVzqv7Q4h4TT6Utp7tY"; e_proxy="AcLUoAbQEjA8CfVBRNTxLB1u7pIoQ4IaK6ju72P9cfMFvWNHqQUDYff63teXFMFuv-UXS11i-E6RKOc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260260284087389"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/01/2024 11:17:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/01/2024 11:17:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/01/2024 11:17:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260260284087389"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8125227, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7Z_7brEcGYsO69WWMXVFV6', 'x-fb-trace-id': 'EkkmB9OWkrW', 'x-fb-rev': '1011768673', 'x-fb-debug': 'LLgpQgBhGxWFT/8jsQZEqwtSTwcwzX34czZD8/d5VWcYKY7sFbc3Ug5+xVZSh4UCGwGHNO/iVbKcF9CNUe3LuA==', date: 'Fri, 01 Mar 2024 11:17:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJCQUoBcNp44_u0N8xkggOmDZQpSHt8KTSPPMcKKSbv6ypbhcBm5XqD6-g7j7dlg7lzdm5oolouSssCRcsqvnRGxbnNfORcRNG6M6v2OhUTb9vgqQ"; e_fb_vipport="AcLjLxtC5CGZMcwda0NSmscRwtVGfqpErPgznb9FURdHItLtfNE4hksvsANN"; e_upip="AcI5JEYd4TABO0fQ-FIStG_xteXJMAjaBNiST9MTiOZt-vdSWPEjg2fymlBK-pj_dM4oTAh1JMb5Sq94vmJNAelNNVG9s3T31LY"; e_fb_hostheader="AcLOrAwxEI0RpiT4LQdHFUobYatbvFv_T1vS8h-WldjCRhpOIIG16MTqqnVoogFJDs9HgVssWTe76_D8"; e_fb_vipaddr="AcI0VtAzos0Ah-lH5cibXumLgb9b84Iiye8n-eji0jZtmu-a0l1or7ZAMGxDjsMdm0Vue1uagcQF-i4RHRAOjdt3g9FQORrl3w"; e_fb_requesthandler="AcJKI3rtA745LjlzMqpQnZuyxPbxwPdY_yHlJLVjdbnZhWAW1X6rkTpNPTh0yltkkan_AOW8kZg"; e_fb_builduser="AcJfNqGmiCJUd9JT2vbDhSmpjJyVM61z2xARACLg_t9uWxg74vInIiGgn5nNkIVPo1U"; e_fb_binaryversion="AcIKvhCi4wEJnrSotkB--U4WVaeJcVnXbqkchzh-GtdidYPon4AxDsU7eJtyiIYqOCYRkNIY79Ltg8IcPM2yXb-RV1SFCxV1r30"; e_proxy="AcJXbTwEJONBb7fNNu602Q8jleBpOu6szwknI6tPOK9MlgjK8raG2xSlbWPoKxUu5K9tcl-jk3F0ki1aR2o", http_request_error; e_clientaddr="AcIa8jPUFeJ45idcK7FMnZcnVEWeDQdENkNfXwWGZ_Po_pYrnixesO8RNE2wQDqLP4ZwJELKrtUpJif0vw"; e_fb_vipport="AcIA1yixHTiyGeag-tNFvkP4czLJzc57ew6DTWMeP4QPXX_3sBijL9En9xfu"; e_upip="AcKOEzRTwIjc1MN0vOTNLRpsBZhYgFsGEDPtDnIXqv0riAp3e0yYgj3FYIyCh91wJdfe451Iq782bgtKPb8Vq3wahNZqkY9hyQ"; e_fb_hostheader="AcK9V6mpJRy7CDAoW5iA_GgCWGK72kQIj9X8VsCPG_37UPsJyPBNGISoyHKOXHMlXBEo--RrWzJi0duk"; e_fb_vipaddr="AcIDJUkU2rq-ml0AqXArKiG3seXODiAAMNnOTZ-BaKJtGPlTg11SD7i-1Oiq1vxRgjjPExYxnw"; e_fb_requesthandler="AcIRe0vk9fwZkgimG49UgWtg5JhMVLoacpSVtF5oI_gdhgxPUcK1pKQ9tcLpkbQmSgSEjns4Lr8"; e_fb_builduser="AcJfNOSM6-tdDG5QxYZiAQg2hyyI4_MR03uOw0zEfWCsfD5Amp7UhhmsIpQvpZNj-dY"; e_fb_binaryversion="AcJupGteBfilDLFStkWvxXSFYXuTqtGBqyEMXy_utylnnf4zgKl07bSnJrtLfxInSocXf3u7gZrmpbkMN3Udp5lbwaIuzAfIeE0"; e_proxy="AcLxGOyCuaUgdJtjoEn0tVg6WgD3b-cx-sOqwZonX3eqzK5G8VEd-McPd-TkMcKD4-H-mdI6skhsJA__"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260260284087389"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/01/2024 11:56:07: Request bot not found: { id: '215725838493727' } 03/01/2024 11:56:44: Request bot not found: { id: '215725838493727' } 03/01/2024 11:57:02: Request bot not found: { id: '215725838493727' } 03/01/2024 11:57:13: Request bot not found: { id: '215725838493727' } 03/01/2024 12:06:55: Request bot not found: { id: '215725838493727' } 03/01/2024 13:51:19: Error on send one message facebookId => 7431699786864710 03/01/2024 13:51:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ah26VDxDdpVokT4YF7MJMvc" } } 03/01/2024 13:51:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 13:51:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 13:51:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/01/2024 19:46:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/01/2024 19:51:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/01/2024 20:22:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 20:22:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8218573, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbyELRQ9tc5m9nfGrIiQhbt', 'x-fb-trace-id': 'ANS+mqt+PF3', 'x-fb-rev': '1011776562', 'x-fb-debug': 'hYAZLxpW5oAT8Qh5AVHzcgkzUqstL3hLqUTsppWhfNYPSouLgE/Tzhig988lZCHN7PN1yTJXJqOVhwaLbEgqEA==', date: 'Fri, 01 Mar 2024 20:22:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLX78ttNmjZXhAj0Cs9MncIw44P42VL_HX7CjGrTlaV--IiLN-yk_L0jL7RP45Z6QU1vlh2wcDvtJpeBreFPq1YZcZsdMd1DGA63B-gcrdU_gzJww"; e_fb_vipport="AcLA5gt1Vg8pbzApeoWaN5WgOFxttTEWRqTktwHgCxczH2526YuXN5EGPzvM"; e_upip="AcKbP0f-FoTQVEjrdjOElr9-SSiiIGiW34FccoZj4KgJpjSsQV1k5evOCMVy9fc0-C6GkQ2FdYFYSOPzjvpZLvcgTHykmcfZKw"; e_fb_hostheader="AcJ_pi7qoNZFle-yjj15krGOujZaPVkUdnD1IxuSsA9m02ssVg-U_AIY9obLIlP2Buxc2t7JpMT8Bh7g"; e_fb_vipaddr="AcKS_E4tBHqSLnuNtR7QVlMbbeM6gJfqTTA7DRMjAAaxk_F5zbL2ZqL2lb9kWZrLQvUHeBwaVUyu__wCxQZFSyIXNlKgb7w_eA"; e_fb_requesthandler="AcKC--GMzBsCn-HOwElPLusreiQEZp4Qfli75f-e1inUyLFbjagqzB4t_m1Lhba9wYqTgGdlzPg"; e_fb_builduser="AcLt7zAp9UKgg5BOKk8B4mRBcZo1Y8FRfd9p77nNBdu9FqS74AaVHEdPGqjEbOI5638"; e_fb_binaryversion="AcL0Q4QsjsU9cD1_qzFzv32OZTNTfrG-OInDH8nFFTAKzbgkaMoUnIn2NlHF1MZVd6vRBMHYlEI4xZg0-tBCCK3wZqgk_ReJGLQ"; e_proxy="AcLAE4UDupBYWMW3X0Ga_fNlnbW62OkUkfUIZn1X_z2vSSL_3DWsP7HHlqR1aNX2dyPQsh6lok0XtGiOUqry", http_request_error; e_clientaddr="AcI3xsgFH6eWiZUGtG19VHlvbS5ommLcjUU7jHO_DDXeNMjaC9d7FSvUEuD9yo9pN8y5V-l9LAlDvW4Htw"; e_fb_vipport="AcJpnYvnxXAesN9Gao9Q-eq_XJUXxF4qwY8TdHZ8eYf8zcXKCr55_N2xedn2"; e_upip="AcIB6Nckjtq7xRU1WyAdutODSaR2J1W2jZxHGq3fJFrTDNuK4Ids__BNgZPK--IwSH88l5w5A0RGvqs-DGulN_9MX73a_XlGWQ"; e_fb_hostheader="AcJFq7SFUoekw1KvGjAO_6OoHCgQHyQurJ9Hli-qkQ2N0r-LUV1mvSc1XDXIt5xRqYDCg4dTg0a8neNI"; e_fb_vipaddr="AcLGDVv9Ch1mGcFbAPKd9TaZkvsI8Jp2UqoGrB-Kla9puRIDnkABL8UdtFoa0Jn8zHan7nk"; e_fb_requesthandler="AcJnqY4V6rhkiaXJSZilYItjj9OauvNTC0ZB8A2VeCd5ovnCxZaCUrkpgOLakZfM0FUTGgOk1nc"; e_fb_builduser="AcJvMFfJog1wy21srilAOUI1uqqAyAvvhFhzXWSEgMoUeVrmaax2njYxdV3pPntXITU"; e_fb_binaryversion="AcKLKQxuBHYC0EgRG9IgrZlMVGWvKtRVGK0UjEfU2CXImP0KAoT6f6EX6iCZMMIfLl8GBiEuif_MEz17ByqVOXB_8UUFBmRcRYg"; e_proxy="AcIUECohhtTprA02_XExxyV4EsXtkErpMyALFUYssii4F9E0ox8nPSlM8ewfud2tCkaYsfk1kMEMy4c"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/01/2024 20:22:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 20:22:44: Error on send one message facebookId => 7431699786864710 03/01/2024 20:22:44: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A92rKz4dyvCbuFsHDh-f8fP" } } 03/01/2024 20:22:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/01/2024 20:22:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8218712, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A23BCx_G3gsYKOh6Siq8H7g', 'x-fb-trace-id': 'EUCrpdhQ4LK', 'x-fb-rev': '1011776562', 'x-fb-debug': 'OU87JEmjN3bTNQ5zha+dJFz4hjllJ3fFqQrKzOvCnNl263uI8H4jT75y/WoO+TDDb+Ka2sgYf+PDyIEvLoXYHA==', date: 'Fri, 01 Mar 2024 20:22:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJak7WuC5fDWYZqFWShuNeaQWdvb92D_hSkbvwIVFhoAGjh71ZvorbjhQO0I4BqP8ui482oinmXpf62C1jC3yUnK28cPm5Qs4aCA9FBuJYz38Gx"; e_fb_vipport="AcKD34EIuAyPKPdG5DSp74swuC-ZoTB5ZqzTXnmEor5EEO107QvWGF0qPXj1"; e_upip="AcJ1HM9Pt2EEGT_BzdGTOgaXa_jW76P6HwQ-_gwgML5fF8gJFHtW2XbGk5ang_bXSXTT3njyemKvaA5pQmMbJ0p8CF4KcNa4JKU"; e_fb_hostheader="AcIwPDyXe48hFDGzWAJbHR7lt1HGMWwVKLHs1sTs1K4gjPVRBMdyTwL-4s-YBebHK8osexF7yjxGZkoU"; e_fb_vipaddr="AcK6u1KYl54djTro70Gn0HgnV5UCnpbq5W0w82-GMIwTjXBkVo7bCBqbXHcKRnqanCg8pPCYrpdH1RAyj3l8cw6DOpyBmhvcdA"; e_fb_requesthandler="AcImdbqlOScz81ehC_XKrk11zuMnV5GdiT1Igxprmijax15zEfTQJBoVPhYU1DHRIzleUXlM67c"; e_fb_builduser="AcKAbn9ULKplcHhQm7vQm_-ELGdk0swqK5GvtdhaXF74N0llYsUjrg-x0hV6Y6xp2OY"; e_fb_binaryversion="AcKRubSOtAotzW3u9jQj2UGtRLWTdpUUSVd2XARSS3va0tCHvP88E3AobMsShioCjisrDdZRu1rX9IBqR9u_zUtcLLjy-ONfsMI"; e_proxy="AcKfb23343QV6-hPULa9pGTMHO6PE3mQpb59o6x3RzNBu4ojVe169WN9HIdFs5_ETGoGAgn-3ArA-NksJlA", http_request_error; e_clientaddr="AcJ2lbWVapYPDh_rHuweg8pS8Y43ynzXP1cK_rOjm5WycXRzrKA7Z9FcHJzRNglMMGPTG17aSR2qdp5T7Q"; e_fb_vipport="AcJFZAiN3fhWu8y3yldJiotvMend9-Nun75JZUmEIvBFoYhODT6Ee43rVm0j"; e_upip="AcJPjLlt7Gv83cNw_hT2AuCPe6zDc6xyOCe8BVFUDbwc9DVAp-wl7UXjcww76eivDcZGmyzxm60O1cDcA8InPTvV9prLytN9-g"; e_fb_hostheader="AcLWTg2kdZSB4wfdckhZ0xcUd7XDAtNftglKAeWrt5ZhpvNY-6hu6UWz6l_q-AKx4NfsMVUQBjIA66aO"; e_fb_vipaddr="AcIj-_J9gbtnOPGRiao_96hg4tg2UDljl8encyAHzlqd2dHJAeWvlwy0jfRPUDKsiUmOw2o"; e_fb_requesthandler="AcJ-_zcnl7Pybz_xHtOsUYKhCBVnt_M6_OLCAEWyI9V83zLOXZE8p4lv-jbj3cEf9nvgE2kG8n8"; e_fb_builduser="AcICAsN4cH-_zcJOkbOGt1kYbnVHvz79H5WUwFI4wiXgQ-wxJyPnHMY0k70UfY3SFpg"; e_fb_binaryversion="AcIAdHil4wdqyB0WczzBRtUvzbu7jrbU2mr335NsotypBhdhlk2deO80zDZX_6QFnpGiroX_6g6GWRodLcbigSOoB2aYfRzlzp0"; e_proxy="AcLPzkAGtw1FY1fJ4sNLubTYkjgxNL0-FeR-O8bsR7rQD3QpfHB5oOnHT3uNiPVBNUU4wW_q9FFihdo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7431699786864710"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/01/2024 21:56:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 21:56:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8234762, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADWUBizqMYD-XdBfaQLk4oQ', 'x-fb-trace-id': 'DcOPx6jIsly', 'x-fb-rev': '1011779461', 'x-fb-debug': '2qNjinPxKpLf48PkIySsim4cY+GbBO9USgG5tChScVbEpCEe8fq6RI7T0HmPFs6ymzPe8ZpCr8q4DUwlC7YCRQ==', date: 'Fri, 01 Mar 2024 21:56:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLGgeuEJBMZeGqfIB2rzcrX8oI9K8eVCD1qcgJnk5ImsHbMD4iqn1BT2mJdScs3wbrgxPHr-lqptrUcNSd7gzR6f8Jrys2mQRgpUn5Zw3iQMhWgZA"; e_fb_vipport="AcJ8D2pmRH0xXr5KyhsMN-1drVjyjMlGgxtsqq5V4qjUfw4m2fz1dvG0Rqug"; e_upip="AcKLra6eRdEz-DG3X2f1eCxo3BwZpldCqCrc-soM6L1L5Lx5990ukgWRtKv796lbK902vrg-zZ-biXpVTMSaDvyEUKsRww"; e_fb_hostheader="AcJ9F0eDHA7xLCwUhC3HWK9ZY4H8-HGvNCLQlbfhGZS6GfrxnNbKz1Q_uxLI8YMbPO1uNud9xTsds-yZ"; e_fb_vipaddr="AcJi9ReZp9Pd94xpnmtdCwZOe22G8FAEMEPY2lEgCw8JjXnW0XGgYN0xnaoYLNnPmEWFhIJFNjVCP_Iv4rN3xHAp51o7N2qBqQ"; e_fb_requesthandler="AcJ3P6hEt8nkn71YfBjuqaPsaI4LsONm-RaEE_dDl0R_E__d5_8pS8r_Hq838KpcihQg9ZKt48w"; e_fb_builduser="AcJiAZ52Xb6jJkMSJgsskJlD2hyE-nMv5n1LMDwqjF9rXKeO4fyDbYy4s3eLtkBUvqE"; e_fb_binaryversion="AcJ9CJifIy_iPIRq9R0F30I1hV28kuoKmiIoLRb6Y4G7djRseCm0jS_Axj6OZTZ9O72F_0aDqvvvlcy_vIuhlsK8mF-d1epUTU4"; e_proxy="AcKR9bi55z6QlJn2rPbZ5OAs2Sfy4kzEu7Tj5IFVSr3vtvJ-V1mS_0s6Ia-5YEJj4vI8WTtOeQJWN_2h3l_Q", http_request_error; e_clientaddr="AcJCOByYJZ668Iyz4Bup4pUUzHR_RhS_KzrUFnbIHvSf6bRUOgpgXq0ZX1f2mVt2mFVYiLEBiydDk-SCRA"; e_fb_vipport="AcJB8QxwgWqfxSVQRa84uRC2x81ez1VQWNwR9qaMgdgvndjx0AAyfJYB5mxk"; e_upip="AcKT1Lc49-cnkS6gKQpwLiXKCmU5Gz1wuHiGDNWxjfp2QQ0OtjltLmwWEXC28Ws1bof_lVzrvkGIvMOEEh-3FBr8il0WOjwFyQ"; e_fb_hostheader="AcLrSyhG4Y_0iCi7AEKVHUCCqM-nLn6HGDBgk-jg73IeOvkI9Ab4PGDUrA7turcTPLArXLiqDFR0i0yk"; e_fb_vipaddr="AcImLiZCB_IpeETCMqhgsCJqI11IlVeyHKR3U2hqcDSC7_GNQtTO1jroKOpi-BdwR-rfQCE"; e_fb_requesthandler="AcLTqFP27GZo-zoMMt-SD-os-MqoZEa6nmEr15ANpiVvSZITyPIRaGcK5iWFAEGZxYQbku-Ciz0"; e_fb_builduser="AcJjs73RX7tobfsRlZQQSmXTmqiPKirv1SvjjIRnWGZxz08_ZlTOM1kJcdAu35MSbD8"; e_fb_binaryversion="AcJy-ObzlOrtIsu9eOgwRzNkcAqQu_2GsaBSn_65E-B-mx8RoQlDihyV_QOAk62Q3edGBk-9U7JHnTNk-JZfzTXxdTeN1RELnr0"; e_proxy="AcLiTZ2Zkc40CQS8N79zFkD9aij4Mv103mj_krCTH8i538jhHilkJivjXmGDXlkF6c-D-DRK8O4MGtI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/01/2024 21:56:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/01/2024 21:56:03: Error on send one message facebookId => 4898614026862081 03/01/2024 21:56:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AsnLJ28jExY8pyukjkH3to2" } } 03/01/2024 21:56:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/01/2024 21:56:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8234905, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOK8OWpJBjngL3x2FRrvlHj', 'x-fb-trace-id': 'FvAF4JCQcui', 'x-fb-rev': '1011779461', 'x-fb-debug': 'Xho03Qi7bAVMfQkllwh1KkI3zpWp5TL0PY0hz7Fx3DxJNsvx2L6SVPKNq1KEiWKCQquzfmmP0WZMVOhdmk7ZeQ==', date: 'Fri, 01 Mar 2024 21:56:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK1o0Vr0I3SJyv-6HFzMsdUdu_OZ-iiWvrC4wqrrMZkLRnBXU8o4N8-tfwVyZkSq6obaFoNNbtN-xzt9ul5GKEsNLzwwK-rUp4J2AVFCSxm-7knew"; e_fb_vipport="AcICgaFmgWu_R0S5LVMmMNRCyFv49M-7U7mQN-H8uw9Jck3YT2qp0qWxYnzK"; e_upip="AcLaMmxidN3jDLHWas_2Pa05vJcDMIjkEN3YokgOZ9yz_EaSgJUX-gYofOcaRiRha_b4bdoxqyAA9iWNhCS5BbfQoFauvEpt5A"; e_fb_hostheader="AcIuEt4sj4-wtDS-fKhJQAYu_pv3_q6uZjqJ1me9mFrlazS_8XK899SsbAgQgWMQzm-qf10Y1SECpFUb"; e_fb_vipaddr="AcKXrUoKu0FmXuoT-w3Mrvj3QRCu_459pBX5SUbg_-XXcoWuvqwY49Tj6fbEJ4ZHIJdVXOA21OSRhpYtyHQ8qoQiYACkR0mzLQ"; e_fb_requesthandler="AcIl6pHfh-Fjb9UcRKxFsTWcwEHmmh1txHjA8AMaBsmGb_8wZZIM189-IDw7rk4Z9BZ--MtwkOo"; e_fb_builduser="AcJ4MDOEsIDT9foIinoUbq6roHnMl7f4-WPa2MLw4949vLQtK5gXZkH2Y_rAdvUOs8E"; e_fb_binaryversion="AcIgi2yVedOiLMliupZslbbKeaAwya8aKi88eFfg9EM-rr-EMdVKMGjo2zlXm1rmJrUAugTn9RQV2KpTdnMyag8f9DkdAglwJcc"; e_proxy="AcIfMbVk2z-Vg0RmZStq7YRQs9TOJZS1Rr4cTS6u3eag2MpQKKxgRMRfw07hvgjKBNLA499oNsPHwtU41Ph3", http_request_error; e_clientaddr="AcKA0bRSOTQm4G0S6Jdd5bBG3rAKw5rxkVYROHVU739CMjlOaOqzYILEXlU7i8nenicj-l7MYLjeS0F2Mw"; e_fb_vipport="AcKfnGnBdPGi9c2r5Ad6f8m6NrZLNhQPjIoDuktjtwecbT54Qorb3jv8WiXK"; e_upip="AcKQeWZxCxliB--WTG7XpEEGUiFa6-y_NBp7E1Kkb-v2wcLuwM0-Kwj4xtNp6qmbwrBmc5bz7mmuoNRZxabt0f6KrsXp3yPh-w"; e_fb_hostheader="AcLToGaFplJ6gPGvs1pNktcvHyAsR1zN6_0zYVaeSKJyBoJEvgR77vXR3kv6GQZS_42gmELXCww52Wla"; e_fb_vipaddr="AcLnrChH9DwihQXR8ekSSyaOqdqwlCPBcCBfpLnhmfOxwcBwelRDH40TsJi0SGZr24JA3Ug"; e_fb_requesthandler="AcINP4uJFjmvJWpdUGD17U8SpmTmguqXPgZaXVzGG85rphzRkHiMw0j7CEoBipEFug9j1bxsxg4"; e_fb_builduser="AcItegKr4L8aLalyUiZ_MPnUcy8PWbCz9ZKMlQqKxwQqUrfYTnEm5v_jxPYdonswvsg"; e_fb_binaryversion="AcIRpMNEqEnXHy3I2WB-4ywwZaaUtjkUzmM-lfrCw4osg9G5KGGTBM7B6Qd77mD2xwBhP73HfM1DmrhsVIyiloJadSznktJ32aI"; e_proxy="AcKy1-TAT_fAU3V2BltfVEpMjck5yTgWUvKM61Wfrt0O-h_2-5bSPqcZ3NicieSdXnUT2gW7eeEc33Y"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4898614026862081"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 02:36:58: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8033955499953715?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8282343, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8033955499953715?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8033955499953715?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8033955499953715?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8033955499953715?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWxFaF19YMah_96yeGq_C-e', 'x-fb-trace-id': 'HiK9GIFm1DB', 'x-fb-rev': '1011786682', 'x-fb-debug': 'H4I7jd7PVCU6DiVISZMubUeX23moaXS8Oig0fw+vWEF/lBzEdKmCtalGGT7K9B4C1tgr1XXHfmx+cf7gL91oRw==', date: 'Sat, 02 Mar 2024 02:37:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLaCE32wjgEe19FwBojZOGd5oIp6Qxtd1lsfGG_RuB_s7TwJY-9xpk__LYrLnRBHwwMcoNlkTuzF3rMBNz1dkh_Mhj4NMpqCabtek2ckKQMYE0kKA"; e_fb_vipport="AcIQcoG2EmDVcQMIMORTiMtjSmLtWIPdVUIfugHgm9d8OXguwEhlVzPgBXz7"; e_upip="AcI12lwf5dh4l0f21ZUw1HOPON0DImBA1EpMtiL-6tIb2XxYR_i2qt2zPoE42FBTmIU1kYspY-FFZCBup5RhGDR1WfYLbKvzJ6k"; e_fb_hostheader="AcLVD6gwJqCramO1UauYiWkl-WxPVxEorwNMc7MkL9XIhUautQJLzz2dB9aItD8IPzvG-IkN5GtrcfC8"; e_fb_vipaddr="AcI7j8H4XDyk9dfewAFH_pIFP6h1oQuVKKudI4VuVKek-sgu4WnmanKdSeNV1Z4br77TkgRyM7dmDf6IEYgxxj1ye8su-cHrUQ"; e_fb_requesthandler="AcK7hr2j2ULtay6m20zLcXo1TOGyKs8TifD3UCnvH6Qnu93mnyuIIeiSAbZirDTapvgNmZINpr8"; e_fb_builduser="AcIKvrkr6DtsXI0uKt66W_u7DLR_LSxPp-TaeZP34HDtMK0iosUbri7LJzDWVaJz-uw"; e_fb_binaryversion="AcKgvV5yIT5itmGbH65Z3Msp8uWgAYxZQJtfZEOxAxdRQzhIjgSBK7-iDtdZEMJ35KdbABYLTleYqK703I2QKTBjnfIYPQM-lc4"; e_proxy="AcIfyT79MuV5EWWw0FlHjP68MyvYOhhARh4pQqZeZRvZaqD6aExwczpj8JsNeP3xj6v95_1IkRYeOxzQwcM4", http_request_error; e_clientaddr="AcIXhAbB0p90CiwXN6hAdvDr36YfPp1rCG3EfKUK1BR97uUp6vr2GSYpxJaR2xE_hoEaG4M64MOCLjBfSQ"; e_fb_vipport="AcIKNnQ5ocU7-e8d0LcQuwMc6im4Cd5P8kX_K3fJgP0IiriOjVfZIewtyfAZ"; e_upip="AcLn7Yf5CbLJdoR-ynVdVQQ89UvopPDRv-664NC2Ds6T30IouWgwuzGp9N3bP5vPkBqz2N6zfPEs3agDk5kGMeSHRXVqeFo9yg"; e_fb_hostheader="AcL3ZWp0JDQTnSU_hppeqFInQBxjq6RZXZXI-kSleQylEV0HcbUQJO-tP01zSpYKD5l_FpqE1CADGfir"; e_fb_vipaddr="AcJ2f5qhQbuIP9vMqBAyFgQt4HQ2oEDOKDRH8Ho8YR0GKK5G7UTnzOQclzvNPb5vop0q8tI"; e_fb_requesthandler="AcKw49DoaCKTELsBkUu83WJJVjb94t9bnc7uuttG0gqgKFIYMzCXcfk_L_qjCt0yf-UBMyDKl3Y"; e_fb_builduser="AcKT2C30luGLtK36KnBiZwB6Wcuvys_p2c7ZSRcnQ5rIwelnwGqqPzRv4UhIRmua3Vo"; e_fb_binaryversion="AcJRpTMLBAuW99MmtuBpJWXhC4dCBPBgQQ0z2e49-kY4FM7JmZEiYgcJ0nMloqQulOSYuRqWFDy3jBEXlDjlNZa3bfqq7eMvhOs"; e_proxy="AcKYd5FMt09XW9NlelzrvhhQwY3_Tee8qGRE4U10XRBOD_GNOVRSZwQ_lTkmFtIXs3741rES_CewiSEb"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8033955499953715?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8033955499953715?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8033955499953715?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 02:36:58: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/02/2024 02:36:58: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/02/2024 02:36:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033955499953715"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8282461, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnQCBxYsDoKxynBdiISD5-G', 'x-fb-trace-id': 'BIRZJDov8yu', 'x-fb-rev': '1011786682', 'x-fb-debug': 'YWqCqvatcM6qGYD9c8V2jrqGX3FHKGVl4WxW36v9Pm8K6NBBggLhiYq+X+QP+3S7Kx77kSxwxZY8TfG9AXUG/Q==', date: 'Sat, 02 Mar 2024 02:37:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKftDYLSurKmlI7VTNZhilvcWhoS4rzmxQMqHy4tWF8Xaen59fwXMI4mRfQKEGuFzO7-rSxlOrSiuipEr7aBIyfdPV0C_v4wN10Fa6gFvX7v7BS"; e_fb_vipport="AcJp-FFFbh7ZiO31o-JZ6W5m-wb5sj7J7MxwDTflivLyUoWOx87-6Gp1mPwX"; e_upip="AcLo6Sj6WuZr37C6GiEqYdrQ66IHKD54iF-EzNYwVGIsgbq7cl0xQvZcwtXs6zOD_7qRQobL6gnlKFb-AB_ucpJxDY8fvHKk"; e_fb_hostheader="AcJprXRE9WeXdpk-s793aSqRu5SY1L2V052aF67evxWWSN28ke3e3wPoosaXSnbpHU78kJtYU6KgV49-"; e_fb_vipaddr="AcIEFD5f_UXImvNvDRYaoFtetIt-GV6Z7_rwsFlYy82m0MKjfdr840gvwCUEZhARf2kW5WXRhutDd-Kzp6tbu5p5VSkxkiqYlw"; e_fb_requesthandler="AcIloJ47E3rA_QZwL6mlZMLsxcOg9jeGXb00xJpIgqlx2P7rtvvo9gu4-jESs857Um-PtZJ-20Y"; e_fb_builduser="AcJh2UPJFUDoOwAglUYz-wrHSGTEFq-XrT6Rl8AhytV6dPin4c4sOIIELspwW66BtJg"; e_fb_binaryversion="AcIM7d5iVLCoyp3O2963JSTPmV1001sb8sONrCrOpWXI_JwG-0Yh1wjCMJIYI_nmu0GjubHay-OeYqD0syLY53r5QmSJ1XonKTk"; e_proxy="AcJb2ow7C7Zhh2n7fVB4xuYd8CH8hrMlCb5ym2PHcDBSPsCSKTahzFfrvkMyRIMAD7Npb9ej4h40vJifHoj0", http_request_error; e_clientaddr="AcIva_PJjApHK7rc30Toorcu0z5lkYJVjVBcWj7vW1MGW14nP5t_t0tGA0ivzx_hsY_DkoMj8o1_NVHYvA"; e_fb_vipport="AcJZigLjC-9UjZkW1B8jYbFxdpp5fvtRDrDKsks-5bjChX_CtZXl5HtQIu2_"; e_upip="AcISGipmxceX_sj4jOcr8GpqHZotKzsjHXhH9NRNUUaEasjOltLld5pqvxszGZoqh3sA2h2IcLfivf7A3op_s2xjpiWpZb5YIw"; e_fb_hostheader="AcI1YnL1XhIFuI6jkukY6KqdaIUwFHkwecZw112YjFkpxHSGbU-kr-U9VFCy1jdl_gGerD4jfxSi6fiP"; e_fb_vipaddr="AcKWm9-dncgoJ-XCvq2aNqfDnVx-jUM9HVY1oyl4MmuvXfxaklyThiCKWuHyePjvlyuZBM4"; e_fb_requesthandler="AcK6CJs3FcMQH-BGmERrv6-5PlAK8MtG8d06B_i0s6x2sVbFQ1c3F3b91aOZex0adt8Q8Ai0XTg"; e_fb_builduser="AcINLqkh7x99kS6kFUupPbKcSXcEF3WTSHf1XDCTFXgJzV3Li4xCuNa8plEEOekrsX8"; e_fb_binaryversion="AcJZS-H52GjoN1m5NjDj8VkMBQRhPFeq7TPrt6iCmYdBb0O9mbRsEqQvhqj1CooHw1vTefcTZSpv3w7vattPkapWaBlazjSnQLg"; e_proxy="AcK5DW7iToxTb0t_kAzUJA3EVglaBTRWbQEo93jF3P33FPLh0MHPT2y5xW_MsfXd_ya8gdCyYZyMjDE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033955499953715"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 02:37:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 02:37:00: Error on send one message facebookId => 8033955499953715 03/02/2024 02:37:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6Uxc_X-D5pMz7mwfzm7hrL" } } 03/02/2024 02:37:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/02/2024 02:37:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033955499953715"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8282536, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2MmFpxstZ9dfeMa8QKl_yd', 'x-fb-trace-id': 'DJBOUGP61R8', 'x-fb-rev': '1011789658', 'x-fb-debug': 'aI/5hPi3qbjSi9TWLRclah2bTZqpfjht9l8w0mPOScXFNpD6I5UZDFBVrVXqMt/zdqVg7vwCOJG3Q2Oh3PwUAg==', date: 'Sat, 02 Mar 2024 02:37:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJ-65FLojzRLB2lc5vKn8mhH5CLhWt5f7CW7G9suhNSl-T2FVJO2rYfn_DyMri8WjcX5QeKlHocgtdQ2jnZASAMeEJp56RIa2m1QQrIkOuzoU_hNQ"; e_fb_vipport="AcK2rDPAhSRB7dm_5XLEybIaK8buMVAjE3QZaYxyB-PQi0uNsm53GEIN1wJV"; e_upip="AcLXtQ5h0UBtifvqEOdl21oItRfLZoU0LbRZ6qeowhxpZTGHGDvAQ3i-xl7GK68PA4dwRoaAHpP48KAhY4ACmtyrlA3KLTK7aQ"; e_fb_hostheader="AcJqF1ilmYVgTK9NybM5p6BgM-UFxZg7MppdhAqWYjBstY4F6-Qtgg6yqUSfgWOxZFg2g5f4vLrxgS29"; e_fb_vipaddr="AcKPAj1GZJGdRrguJaeo27w65XSAmYOtbCUVSF716NjeR-lY_d3yvnWS_ilSpey8lDiCO5m_hGAtjGciiJ7B_t91y5CKeaQhcA"; e_fb_requesthandler="AcKgtMWTHfXwCiNw20u5EOOxVct7CCS4EU85nMUtLmxdc1Wme3SmkOgQDuGNbqRQclWVLCvehho"; e_fb_builduser="AcLqE9iyOXzyzXaY6YmVYmSvnxHFcO3ivMAYQIM5gbklRmNyRgmTKkYgcjoRfc6hM9s"; e_fb_binaryversion="AcIpQjfpe3wg4lSI4Pko-rKX_598MINwvvG3aseZPdvpjERDLQdj69ZQZQ0I0Z3BQNqjlkTWkMuHo4NEUrrvQ7wGibTuowLBcO4"; e_proxy="AcKHHXjWU_toX_kNV8yLYtMW5inC7KaIDQyCdosO_6kZbTAAw0ctN2DThotkk6ZvzYMtgxE5pvVtAdEoTHLN", http_request_error; e_clientaddr="AcL9JjckJqaOkkD2BdzU-oZ7dNzBF4elTLXhlB8b1at2J6dCZ1pKKE8bo9eSKMPMoh-QCKuNBHU58UXMUg"; e_fb_vipport="AcLls6iRlPnWWu9qSYuFT6oenMkhXGxX6QrYkAjDHBHYKRH2eXDSNjh5FYd1"; e_upip="AcJ24Bfu5tXPpeW_evzW_fJPQszJCiyVrzMRd49k4LYKuwHcqkznii1hCYz0xHh2Ed2-3Wv7MkosC3DyuOWAO7hdejNJYE3v8A"; e_fb_hostheader="AcJNNneFp2ouWsfYKGOKeZeJT0QWQK8KnY6RsJeUfPdoqrqa6dfAaR45jyKjALj6nQ75VR-SPu_3nwCj"; e_fb_vipaddr="AcJDmQ_dLW984ILOFLl_h7mLTT5h2i6fGu5VCWGO6tWYfLp91DjqtkQL-TBdYMjRxGKxEeE"; e_fb_requesthandler="AcLO_q_fxyNcQelUM0w2dQaoph9XmmooXtwqoWZjfBZBEyrJpjhH6fRhNklKcudiT-pLZNTga1o"; e_fb_builduser="AcLpbNNDTcZ7pZXf8szb-MJ8PIqXLF-aDxiXYdHxPJrFmioivVi1bKIeABcP1i7G0Ds"; e_fb_binaryversion="AcK0JR8NutSodLVw1xdZjVN_NphrKOokDYHTmv84NBc7nNZtFb7DS85vVGi97AxWcbsVU868Rv3SIrnLWt6xNaQjekyA-gosVEU"; e_proxy="AcJR-GqqjHqHu9osY4ozbIwP2PmO71eZFLZJaV0yj909grKxIquu_1idBXbp0eyHdaXMX4tsioIgG7o"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033955499953715"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 02:37:03: Error on send one message facebookId => 8033955499953715 03/02/2024 02:37:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbT1zWSVNQEWOYPUBim1KGV" } } 03/02/2024 02:37:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/02/2024 02:37:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 02:37:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033955499953715"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8282675, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgNfCd0JmgwIP08gyH1twyx', 'x-fb-trace-id': 'DWuFfY8/xta', 'x-fb-rev': '1011786682', 'x-fb-debug': 'sDskQ1RQ1CWPk3Y7i5c8TULNnjf9Trrr3KPJ1yOjbkqDYkYVZIW6h+MCW3KIvfLsmmMsPErFCq7zPL9MMZ16MA==', date: 'Sat, 02 Mar 2024 02:37:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLU62O_1h4XgIEvqYHwM2qRTdpVOPSClSNSVR3G7yX6yt-302WVq1bV3IzDUFZjKXYyc_A23bsOQcFWJEim_RLHg4qCZLtwyBq8IxwpF0X9naCOng"; e_fb_vipport="AcLMFWG9jhxo57gZMwZcYPdg1sw_CP-zrtvnuhNr4VM1_sBeuMbS6Gvv-D2i"; e_upip="AcKzfSUwgabUxkK_SEmGE-63YoQCDm9ZO1wafaytPUT9P7zTJbI_sdmMDtX31APHbU5oN4dqMNfeCPkEK0Fi0xz7BJMqY4uIcVo"; e_fb_hostheader="AcLSO7j6gXhz7vDarp2IDESIzHV1bfcf1UjhzpXiGH8OpArWFkx_eyz7ThOHc1qepE27w0weFhkmGgUu"; e_fb_vipaddr="AcIy9H3Yt8QWZyGSXlMOq0RA2SYAScUz-h88LdXfeMRdsZjfROxm2WVnAtSFEZdL6EHAZO71E5o96iEz4boGxQij_331CL6O9A"; e_fb_requesthandler="AcJETJ2HLM2t0lfo16pa5ePj-vZ7lZ5lR0PzmEqWdxqAIiR4dANZs-zyTwj4dSoiGuXce9aMDK4"; e_fb_builduser="AcISzrNxwYHbD0_u-wfZ52UJayXee1WIyFPd0ufKK-AlOnBKzIKGggK-AoXmUfD_CYQ"; e_fb_binaryversion="AcKQlgsGHL8omEKTElOhRERck6VghItFyALlAO2Hmny71S77367eILk119dXnMM-ZCA_aJc15gxjM_S2ZGaJ9-TOEURcfQIh7kM"; e_proxy="AcJAnjLvdI3JKXdoGBNZ2ffbCN-SU7aIcBV1DnkVvDk4ea4Ti082fvPhYN_Bedo6TFj-K_nTx_jBRl7SzcL2", http_request_error; e_clientaddr="AcI6rMa7j6sYteuyrWvwVWy-y3cdoNw81efRKduSr_GS9ltXLKLbUxlnGGXz9FCjQYFRQR_NRl232RdcWw"; e_fb_vipport="AcKAIY-ida5YJALlw37Z7qtyRtwkZEnh54Tw_wQfI0g_zQNACx5cPNmJCAJ5"; e_upip="AcIvJZSemkV77rpgbYnjvMoI3iYr-Y-3cflw3Uy_rpVBnZ8eJt3xuIKd-XS7tru2UO73659K5lUah9AvFi5ydbe5QZptwcPFqA"; e_fb_hostheader="AcJQwFesD7KycAecuiB_7po9XleHBfgHNz9sInObYm2NB3kBEj8gmXmYtNn5J4KYrmEsGLkuYjb9ZtqQ"; e_fb_vipaddr="AcLh6uVPjHLZpbOOWtasCpc1Z6NeHzGGHnNzRxPlI2H1C3pyxlFDYhpsIdefkzhpr-vzqOs"; e_fb_requesthandler="AcLEyKVmVFfs0f6aVNjDeM3W2wn-NsifpKgzrOSYxQTLD-V1zsb_s-y3ywhXob2idadapEznf6Y"; e_fb_builduser="AcJwxuU-W_QTpgeOJNqmyy-xPu2fmeORW4Z56cjM7laZAYIfCo87XaYEtvnqgopCvBc"; e_fb_binaryversion="AcJomZFSqmm4ia330BGZi6gM83Ygl6msQ1xHOhB277jQe5v1lXZIQS7Px2WvVdMDuUnJ4vJNk5rvQUQ8AgRMIculKtlvLF0Wks4"; e_proxy="AcJ7fThjEKhgYmkRM6-IndorUE45bBPlNt1bSGYr90JwMwZvD3T20gYmdaQk5yZtvTTkZzk68RmFq5U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8033955499953715"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 02:53:14: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6836743086431302?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8285501, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6836743086431302?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6836743086431302?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6836743086431302?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6836743086431302?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAc7-y3JupamH_cG3v-_wCZ', 'x-fb-trace-id': 'AXgvUh8Gffi', 'x-fb-rev': '1011789658', 'x-fb-debug': 'UCnSsBPe4BD7G5+LgFodvmDAIzP8rWK3mbS/fwdzOokELUd1qVlJF6d65knnUHl81IDcp88pQ0e+ivImSCx4+Q==', date: 'Sat, 02 Mar 2024 02:53:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIyT9-aRJZoHoxTUICVZ6IRrd_SSREflp20GKjDiKCQKVOqSTEHxPF6-5kexzJVwF9DAKP2As_ydEaaZFYQMJzM-4r9YsYOVNvFtII6JREkrjG8ew"; e_fb_vipport="AcIC_oY78yfWXmRHvWpNiVYwmzSJoUOXAHoTim4SFzTu1UKqr2_TDd5cqDAW"; e_upip="AcLUXKYLhEM01PsQ7hnEArF-ZvHyjlD5yzgIDL8L6syAo0Xp4nhe3Wj5530AeLB0atupFUVsSC0EXMTEgt9C5mNSMnus67E4Okw"; e_fb_hostheader="AcINwBUX9cnQjF02IBt0etGwX58w76H7rL5Ez8li9Y3Bh7fPzdgrBH-f0Lg8_k0KK34hP-8CcTU8-7WJ"; e_fb_vipaddr="AcJMsTJuKcEXv0-xKIQ969MrYOo6iyDnTXgK67hTL5TzLsna7F3Scc_J1I6JYJ3RHl0z6bghVqDH-9sbBbWiErWsi_hKSC-eIA"; e_fb_requesthandler="AcLkQZE9dTWuqKDuuQFFelLulo941OmvKyLPeSu1suTr-3KKF8ih2ybQ25Di-pOjG_L32t9EIeM"; e_fb_builduser="AcItJlFoV6viFPW6SlTYFJPRJc-6TiIdzgei_YZUvME5taInpm9KPzDvhpCvho2JsVs"; e_fb_binaryversion="AcL8xsv51h3g2bkwNEcIoQRO0QGa5kUKksyn4Ok9a9aL8X1ydUcDlq_2zKNpdQytJuS9yLoLVOviV9ceLT0JmeeGyQh-vZ86rMc"; e_proxy="AcJG7kvcHpZSz5xoojMsFPmZg0I_DNIAwpRvQ685fLejeHGBnibycCarVV2exPWFsGd17xUsuGQOrm_0XzI", http_request_error; e_clientaddr="AcK7nA-dsc-Y5ZcFyPRZkODd8RP8tqE8rWrQY_WJ5_Rloqy_GOv_VC11NQyV0qvjtwl4OUKYmguPLtZuJA"; e_fb_vipport="AcJHBGtw1WMaROC1P00UqDvJVQXUS57OI5CNmxdUuB62AxhjMksqS4XG79K6"; e_upip="AcIAp-ViYb0KSO9t1fATGmXjydOGPMRiRhZ0Pin0KTFPtJXq9I0XIIGawOjkdoOcynIUKR_9BxEuteaOyuguh8BsEGNizzEAPA"; e_fb_hostheader="AcKfzMAbvfzjrvgnUu9IwtYdgq625O2vU2YWDz9yh-aTxH5IyGfc4z9WqrUackeecWKTlw0_ZnQlvjHY"; e_fb_vipaddr="AcLnhpOHR4YXT6rfrqppeb3UTwt4lVkrIvqiGbiw1gXvDDxVfusbXHW7DKIZkYRZtQTipIcb3w"; e_fb_requesthandler="AcKWgeIsfFchydSI2GXKy-lrt9cW7i_Or9QRXSdpnZnlPyxVQyLaoSAPRhUXgvFMQw1CRHWRKHs"; e_fb_builduser="AcLQXazd7-C3ctrAv_mR6yjbeyA6hpJgnKxQTDMo3w9lmx_iaWXlqrW8M7E-AiJUjmY"; e_fb_binaryversion="AcKuP8l8DwwXTeG13EJ_m8EuyvZYM7goAHhkv9bzTlNkRSK4MoQsWk5x5zPstmqKlWBjcLrc0Ya8tsmyftgdybsPvqek0KjE9Lw"; e_proxy="AcLYIVuHvpEdhwRtz0BJkh-Ow0CgdhoTO4UHbwJXquVNxFmNF41IWLAzupPQwKQHiWODnBTAzdMjQ54"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6836743086431302?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6836743086431302?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6836743086431302?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 02:53:14: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/02/2024 02:53:14: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/02/2024 02:53:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6836743086431302"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8285624, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AB9cWr0-6ew9nMZ1HoYWHHG', 'x-fb-trace-id': 'GRJs30zevqg', 'x-fb-rev': '1011789658', 'x-fb-debug': 'afsZzxRCbT5Q9mmZ/+U+iRe4IjSqRR01G2gQjtCIY4h0nBruXcGrxwPpUE1EYQQTcIG7xWX0YI2akgDbe1JyaA==', date: 'Sat, 02 Mar 2024 02:53:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL3zz8eMon-Yvjc12O0ztZ_y9kyiSZA9xCTfWWkl8tS8kj39knKyUFWjw1Bu0Cd2Xep2687Uj-AxqUBjQCw4uqRO9UYPcKsbSDJx-gc4fSi1DER"; e_fb_vipport="AcK-LKs0lNzkjM6VPQ1tZda_H5oN0d4he9WMsJ2V4yd0wbj6yFulTyFhqxoz"; e_upip="AcL02KEflTk_UwUCnTcgXQwjFr6Zp426IFlVJS4yqOtNmlCGd3gUCOIxcTEQ5-qRzaiB-AS5t2KwPUaQYnzpQEyARmGQ6WKj8sU"; e_fb_hostheader="AcI1eV2YgRsoCbJjmA7FkGDZ-arDRFK1upw0EhKUiA342JExI5y3yfdS-oQDKZHCa2M5RN_vJQOnVQ2y"; e_fb_vipaddr="AcLyGp-q4ny2nzChWzWWk7sisOmXNLmCzDDMh7n0Ixi1yc7E1buwK1Z74zjk9SIoQOXVSLZ4anAtkyL-0Uv6FO7_1S3Vbueo9g"; e_fb_requesthandler="AcL3v7J9-EJ8DYATGVgCoL2br-dRPsyKInu6nNwyeyWtatPU_K4sZPpOxHcSo3_eFNV7ilTNQjg"; e_fb_builduser="AcKJAFRRKD18buTmtsZyDcDtbw_zJ56cFw1Ww0wVLcdfTWc69q6nLEN_7wbU1W3yPk0"; e_fb_binaryversion="AcL1zQE17gHt9yiOO1tgSr1VAbjEUJuWz3zEbper-9VL2u53U9-YX1_XcJjMkiJ74E-NlKeqeU1MD43yK1Pq5BnFgddKhbqar3E"; e_proxy="AcIrVaL0ZS6BKvfo62n9-C6p2dtU_S92PA_iVyJ5JjhFb_Z1uHCYi1tr-hiy31DGZRj0KNLlbxsFS0htq0XX", http_request_error; e_clientaddr="AcKn6SmftzokvY15sMyaV4TdTDrLS2Gzsr3rZDmj33yaWYtvvzL6rhw29-z-WkdA_nFeldUQhrSCEIyp7w"; e_fb_vipport="AcIRBOfJb_qVlr-L8RjDxHfwzLRywkn8d5xKI0WlBkkNdGC6AjayYitsNjlt"; e_upip="AcJkgzU13--kd9bJ38Kt-kQI-A9D55-Tgh47U6y2xXLqItTcwWvr-uMbQEyO8o5bItnmi1hSiKvgggoOmpePUcB5rAaz310f3g"; e_fb_hostheader="AcJ7i2bf1nUfCeU7FTLRqHBEF3wlTXIP6O-CgFudGCUWRgRJzINNj5R_bWhYRiJWjDYNlfoUyvqVo1_i"; e_fb_vipaddr="AcI-L-yIrOp9hgmn5twjPv63yv3_rI2OURngbwlsFCB4bmIusDvf_FRgGPVj2hF75V_05qa4-Q"; e_fb_requesthandler="AcJwaQfUNLY8bSZM49IXgl-qDIGqQ6J_b37ii097Q2pjJoVWNP_IaF7PaVgxnJEGfY10755O09M"; e_fb_builduser="AcLVL5qZGWsiP1ggjF1SBgnKnD8kqpKCZ5Vuoslg-CCvwtNGwaBlyzNsn4T7YQ2Vgw4"; e_fb_binaryversion="AcKRnWFIpCPNEp39yfbENC4_DaQAJgr3WtT1jzatap1446vADHLZHVSYQsNsQprFCsYS6EQ3o_9uBKGfRpVwRlkbhxKDeiPmph0"; e_proxy="AcIge5JW6tuO1d5rE89w0lL3vZrDa03sOAsjxPaG_tKjnuncfQ3y3ME79mC1KvndTTr_4xwMvbTYOWw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6836743086431302"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 02:53:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 02:53:16: Error on send one message facebookId => 6836743086431302 03/02/2024 02:53:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AljeMf04ypmKX-JIwhyn5re" } } 03/02/2024 02:53:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/02/2024 02:53:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6836743086431302"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8285706, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A928X22-dAkxaNlyLEwB3pg', 'x-fb-trace-id': 'AmGBSwt7it+', 'x-fb-rev': '1011789658', 'x-fb-debug': 'k+7GqiPz6ROcibPERKlCMytCzKtT1oCeeCj32YXUSJX+ERca/UDiG7dodcPpNMKWMIY5+oU5iNpLHi3t4Qsebg==', date: 'Sat, 02 Mar 2024 02:53:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIPQo2yTxSOoAAOptXwtICsIJU2Powhcyqs2K_xN7y8OfozpBZ0XuGUmFAiqpnJtN5DQ7lDayTS6ek4ilyIR0BdLUNbniJCzzim9eLtMt47XW4hfg"; e_fb_vipport="AcIEECqno7JVub1slM32SlfHO0R9zRCb4Q1wf32b6ux0DeDb2VXVw_Afl5HN"; e_upip="AcJwwHl6P4t0wjmKXrtyYNXeqAj0VtQKpgElXvaupWOLH4S3Mdex35tpx2sF07wZ4WBTL-E_hUHvEMQFjpyPuaVjiYP0xA5HAA"; e_fb_hostheader="AcIBXQ23VfhJgPSx23FyWmqbdLC03MvVJ-KVaZ87fgvlam_tzp2FXqVwy8fO2nEiqElshCvzpEyY8e1O"; e_fb_vipaddr="AcJEIeiYspk7zxHTI3HHxx0HBDvYpE8n5WVKb1FgfRAr8rg0mXjg94bnAy_amIYvkIpugcilhRZ6cw-l_3ZJuNYzssFwkGfZOw"; e_fb_requesthandler="AcIQg38dDF8b2xJu7upcuGnkH5xRKk5e1na7a5L49Ljy1D8FLrVbUDZthZaeQwRqAC0n7k60MyU"; e_fb_builduser="AcLD3QiqpSrbc-Yo6KCaYHZSi6SMWhtIi5bCNKrcsFjnzGuqgdtnI8OYWrc9911wPKs"; e_fb_binaryversion="AcLJGvqBw4dYi9rF2-CSYOXo9q7cmZQEq9ZDH363oBoxnvJEWPfnFjwurzgdgSpsFmZ6N3tYNZWToERlrH-bT_H6xYy7WOo9kmA"; e_proxy="AcJx7pNbIkkS8Tk8BBpyBu3mVNTKacxi1UHGpUJp4mcUyMDbn_F6s5zc_KXZgrGMvU7NAK50GnZ8yEFcH5yZ", http_request_error; e_clientaddr="AcJeF-FKfhQHCVulMyDW-FGAemqyTfFK4lYO-mz-oY8yFKLNme1pt_FgCOMkm1b89HbEmADaFn15mzFHdA"; e_fb_vipport="AcJgx4Bpy9L5xHu6iJbpwfnpm0iWH5hEwmtbXpmlpkFlt4sH47g7449BsLU_"; e_upip="AcK3eDwO32bdz-A8EpTObLPj00ezfQ1wOmKqRdmwBZTdnP3wPICfngKPsg3WEAalHWRfiOXE6pjwRLHt_y6SzMRMH8hjP5M73w"; e_fb_hostheader="AcLMWfgAKoaZaZT6TdIeDdeG2z9iOYIhSQTYDuN9J-dQlx3L-sap0yyHZG1aCeBUITPQye2vtEG-oYbh"; e_fb_vipaddr="AcJbazprDTxB6xgemDObw6U1_gHE2z8h9briY4-uk8wcxwLBeo_Dg9gKLkwsKosgbHlUMnetUw"; e_fb_requesthandler="AcKpAoS53agJwMfBgIjSALjIFgIKgRswNrw6X3dkc0cNRcd4Qsr1eWlyibRR3FbqjMjNuevrYLg"; e_fb_builduser="AcKVG8Jri47EztxDsJwh35p6LbJYgLeVORVqVUpcaUYhV_aNsSnXY2--RJdVrtzTp2Q"; e_fb_binaryversion="AcJoOmW-eIKbID2vuq-js3RB2wJfOhemOkMIGQeeYiLzm2HnHPmhoDGBkvepdw41KpehUqrbqTguZTAVXedxfzdprbxNPMNbnlQ"; e_proxy="AcLdHZhpFUhgw5U6nAnG1kSNIrtzGctZ5cSlGrsQKxPC__TK5uZ3p6Su3iND-NkcpFZrlcMCghSegKs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6836743086431302"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 02:53:19: Error on send one message facebookId => 6836743086431302 03/02/2024 02:53:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Awlb2UAbn9lhaGdtqyzqk6Q" } } 03/02/2024 02:53:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/02/2024 02:53:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 02:53:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6836743086431302"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8285845, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5rI_ufXVF-fs1E5kI-Vgcr', 'x-fb-trace-id': 'HA4X4g7TTl8', 'x-fb-rev': '1011789658', 'x-fb-debug': 'qSzbC4p9YbxzNbnQUAm+4XLh+frKEMSc25NU/URmHNm4R5/1HXkGgD5PUpsivuZunD6CXchlgFAK3fyIoSN8cg==', date: 'Sat, 02 Mar 2024 02:53:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJmtNgDjmCER9iqyI--An7P8oYmeveG-EKgKfWL53BGnqBfqq9cXtuSFt3o2sTe-fHDVHtM5A5V_cb60Q7gPIPwpHvuacjg5cwZcnpCfFJZWkZD7A"; e_fb_vipport="AcJUKZZJJnn_hRYK8-L6r-HEQk6Vb4UsExuPtuICcLEcqr1zk5UX06qT7-g3"; e_upip="AcLldW6EZeQphj1UQsTkjjbiMJD6tYoMf3DiE-8ZrrfIxeaPkiUANTkE8XdK3y1iNENappmWZxGdPrwiI4qwjX27pj_Z8PBovg"; e_fb_hostheader="AcICAbREKeGlf22rdKE0CtVGmVwwU8qqRffKEoiwnt5iEEr8-_XK6fjGCBRFpNR2CoxiGTTuESBeglHF"; e_fb_vipaddr="AcJlNzF4qhRdCD2j-Hls9pJ0ddrhu8GupI0SvWEET7Lv6FRb5ZOpm3XnJU7WGk1m0_Omh0lJTljohG9U0av93l_u0vAvhIIehw"; e_fb_requesthandler="AcKx2FKu3MpwshASFWRqN71NPjH_Vj7wPo8Avfiij1Z7NqPsUv_Lr-vnbPWRR_WEadeH0lt0GUY"; e_fb_builduser="AcJWeiGZFj9TSAMoqjVTs_ukmogsUanZw2DZH1y5rb1iBV0n3NbTf50jlE2x2erkYsY"; e_fb_binaryversion="AcJtAa04MD5Ilz7GPIkBws3w5lnqmGgiYlLh2LBeGp1nEVpZ4Hg4VAZjfHWjCnQT1UTGgqfkVwNOxZ0HXI0-upG9y843HUr75_4"; e_proxy="AcKrSmlUL0wFdBoKxOJnrqC3CEhmzFTpquZaDGZeso492MGlmDZ98H4e83PJBUqtJVSct0BLOyc8MzrwEUyf", http_request_error; e_clientaddr="AcKCvKKUdCo3R0h6wZqS5PwIJ9j_TbLMFLm9BJOQ3E_ZYj1R0_nwVWsZzgTNoWnhMOhTJSavDxkqcIxwxA"; e_fb_vipport="AcIIMKxRPbs0DZmJmHcp8wJ1uzmr4nNCWeTttiR0XUm18rcnMNoeL9QRXs_Z"; e_upip="AcLJUNJL5kdNSIjAGB0BulYz8Fo1IyiTdD6TUGmtHHWd4R72uXoiptA4jiSO5D8937E2XbQsSMdTvQnqyft2pGQGMYUvvLccsA"; e_fb_hostheader="AcLG7Ad7MMikOBuT9TarI62j4QdJxtFIX3FPy4HTXSgbhsU58r2DQ9KiMoCVBd0QU59lGrzOx_dl9vyB"; e_fb_vipaddr="AcKFWjoZ6ZiYGFGm1vHpAJ1Z0P-BBTaBru41C-AF6s6cOUZ3YoINTgvAwidjFbdqkcaXhuggDA"; e_fb_requesthandler="AcJahjK-P894RNjcVzYU0mL5z7kysTvpvV_LVrYm6cBU3yLm3jNh1x-7lAE237QEFUGo97PV6CE"; e_fb_builduser="AcI8rhdj7Gjz0CFDF6w1bxNyAQjigsv3TOASP0qkDNJfkBj-BJ6r4-_VQs6i74B3JZ0"; e_fb_binaryversion="AcJfGSLzQ-FqSbtYZ1pfTYDXCW_BA3IK9w86uaKfhze-REHUp3PoKit7cRg3toplON4EPSGRDAapxlhal_FpvqvSnhlxJRzZ39I"; e_proxy="AcJrrnYhjj2K-Zvsh_r7b4VwIQjY0acJmv6lwXA3krQ1VF69m-fUeuhzX9pOyX1Ogm0feKhiO_ZIzfQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6836743086431302"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 14:25:18: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7134846166612608?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8401621, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7134846166612608?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7134846166612608?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7134846166612608?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7134846166612608?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXEoCuod36oVGJ7Uc7GIcdm', 'x-fb-trace-id': 'A50z3P/Pd2J', 'x-fb-rev': '1011794111', 'x-fb-debug': '+XzHzUow6a6GYiIXt6Es50nftWKORZLFtcIU3lM0EQ6GB4ld6zazJeyUOkUtA7ULcjzRx/HWR40iigW5MrVNjw==', date: 'Sat, 02 Mar 2024 14:25:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJYyTLNAXpRI4COa6DoWJUimQGojOpnsYVjAE1TwMp-9lNpQcz8JRvE3ne4ZwyS_77S_ltQnGtJDz_9OLfPFZYrwpfNqtwIkBXQTW8qH-dZ3wLtLQ"; e_fb_vipport="AcIGn1lSAHljzLbpdYqfObActtb7oPxJH9Ykknqwnh4WtNK5yRtMVzkR8IQO"; e_upip="AcIYrjUHoKcx19noJyc4k5OE4TUWTBonaFnoeQdlzDIsek-VlzZ6pCQl0q7fdsYFN7ICrfjeR4BgtpISMXMY-UTsKhkWpmJo6A"; e_fb_hostheader="AcJcng0bE4LHPA11VzzeMmYS8rHw-G3LBuJBgU9znpotWjGtX-6shFGbtyDGLYRzbHkYmhksRLMZeUcO"; e_fb_vipaddr="AcIqf6LuArcVHq6sDaVDPmi-GDjm_UAPZLA9f0VMTas5PGVtts7KmWIOy2CIWuzvgfqdGQU7cBY5kD6AGNb83x6AR-dCOnktDQ"; e_fb_requesthandler="AcJclko9Utc44hJ0NwD3rwFhP3RBKeBX99TvzpSg5_FEvaGJZKf61sNDKLwESL5hOx_Jc6KY6mc"; e_fb_builduser="AcLY1M_e4QPVzlZiBcqgi07C2Iv6GMqvhqz-QpKuBuYak8_ZqFxn-VJz9ALS5yshs-g"; e_fb_binaryversion="AcJYvH2ne8zF0fUNHFhxL86G_O919Hx5nCOSs4mbGSGaSji-6iBoAQkcWqPPFqqS5UOz1h41nXarJrgYG4wJ16syfoGW_P-31b8"; e_proxy="AcJW47N_cTMUQWbLXh3kIpUs1C6zdfXCl3hNuoDELvsptzTDFITB5ZCu6KyjkjUBJYKRHs0IS_Y5Yh5u_0QX", http_request_error; e_clientaddr="AcKRH7lAFaVF49WK7qQBki8eg5fWZ00GrkXTcZkoickOW9i-aXjdeeX8qYWyPTOGLmhjq1hExKZSteuDJg"; e_fb_vipport="AcJmKXN-sbDaX9xHqVvibLRqN6v4MrptjVomQIwPL8lP7fuF8rHD7VezfBIq"; e_upip="AcJQt-joe2yqWbiGn4SuYreOFGp3Y4ek_RLqZFGiFkelfrE8ekAguXFlIeuYwn04pC5fN7fIYRklVVQjOvcKxziJosaZZilIMQ"; e_fb_hostheader="AcLNa9XqGah67qwRuTpT-ZREX0PLSkExzVAB3M-zk4mECQuvqpH9PerTmcJapV4E-cIrceduQ3da5CyR"; e_fb_vipaddr="AcJ6WDtN8taQQ4qJklalXM9F9Ydgsu7Qvdu1HqRcPOXe6zuiz7dBqaccg597hqhjtbYXt-c"; e_fb_requesthandler="AcKTfu0ULCOVELWdnnknwoCMSledF1PgBOw9LcBSGBnko-GFiWRSnn9gi1LrM2ETECrEY4YUap4"; e_fb_builduser="AcIeWPxFp_WenjXobU8fqxV-_6GZqoisO4uryxFd_VQ_mqgImraXY5mMYys5N4Uu08k"; e_fb_binaryversion="AcIJRXDddmALAENKzqdXYgRKqOTcwKBNN5f4Vz4vFjVBtoo3aGJ6UxayFYLUoOeqNm0brPxS-ldpXgnkWsKHrR7B03TugBGSQWo"; e_proxy="AcIdbpcyjMk3njjlUoLznnItgvU_9E-euelurLgD6yBH2ya1rFJxJ7psUKON6wMaja1SwDQnHYqtCnM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7134846166612608?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7134846166612608?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7134846166612608?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 14:25:18: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/02/2024 14:25:18: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/02/2024 14:25:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8401744, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1AnBNU9c3qwyhvK_uxcGWj', 'x-fb-trace-id': 'HLEW3NtWNX0', 'x-fb-rev': '1011794111', 'x-fb-debug': 'fWtKWb5kOADWNplr6COjKsy18T/Ka0NomP78LGRK4TpuLKOFXOu/E/Q0exrd6Ls6UUqFYN/9xPNv8To2/Yb03Q==', date: 'Sat, 02 Mar 2024 14:25:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcL97cIjMrhWkmz4_eebnKazW9VnZ8X0LfDDbLsQuVO1QF2KtukQJbyYJMd_rS5gEFoOUgUKxL8Q6OHFM0OsK5JmCTbqqA8UuhGFByl8QMEGbv57rQ"; e_fb_vipport="AcKsnvc6598pOg6xH51NnVlCLt66J5YwYdLTr7jFW8lpL0vDn60bWSzhyDSs"; e_upip="AcLw7WUd7E6Y7Md0Xpolj9-mnOuE8XxPU6gSo5q4w8qk-PX718ONDkY87-hrCtKegZ_Mga1LkVVkBSutNJ4Pa3bqCOjqxenf"; e_fb_hostheader="AcLbGA5xqjH94jJlMGFPZafBbIJrw4QQQDNI9I8ydFudokdxK6cDZAN0pMJUX6Talz1TExI6h7kyToad"; e_fb_vipaddr="AcKWmVW75B_cKVtMpQOGZwBPg8N4mBULSpTRrGEc7o3-AwOXu8hhMNmN3MsI8zEtsHfv38gvMIQ84BxR2cs0QGlSzgWg-BiD4g"; e_fb_requesthandler="AcKVk1DRm-l2--RF_up5HGv9zfu8Fupd1vdcWlQx-8hHvrYYMLIVLBIk2N1HtHsTw8WpZ2ljowA"; e_fb_builduser="AcJ2h6shmseNYvkwh8thXao1rmWt0Q59cEOveRFDczlHuOvNKWs9qeB4zRMszQzEIHw"; e_fb_binaryversion="AcJHeYRfCHZkl5VwQyy09-5PwwaGp7CObJDcd-C91hiN1hbbnnvJgmXBfnAIggScZL5U7ceIQ5lcXVomEMTydxA2MMWjx0UvaPw"; e_proxy="AcLHGs_vGpaV6Cxlj6uWDay_DUzUnpF0TXEJbKYvll1NNF3Q5xWrtmCajgEpuvXJNDbcpJppFPPm6E_6BefM", http_request_error; e_clientaddr="AcIoCLtyHI-cS6wBi6tBNJKRNrrCesHfn7QcdbjV3cYa2H9Ab0I6Vyf7PMi6nvqM23-Hi4CMKdZJ5OWdZw"; e_fb_vipport="AcLwkIFxuOSLuaWH9a3eDpz5jIo9mdISTs6FWCKXj8tPLBfyZB0stmPVn8O4"; e_upip="AcJp7gWezIxds9SzQ7gdDhAngl5sDS2NkGULplnmNFLmuY31R7TL7DfodcOVT6I9nQGR8tA0F4XD2BzmTwX_mdJZJMatXhBe4g"; e_fb_hostheader="AcLkHhYwTFrgJtpDMKFR7ua4up78Th3q5vPOwoVPHt2roJe4lS2-GlC5_uoDso21cJLdGK17Sb1XpUOr"; e_fb_vipaddr="AcJYjXrHq5S-_UIK_p_v9LyFrWidodUAkjXyRvzocVkkNUP-tCe7ZUqOdt0WzTKEyTBHbGk"; e_fb_requesthandler="AcIPA43MeTLwm5kQOaC5K58TBfNC3XmRlV87bgulZ4Lz7fk1nBTf1b5CCvkPYytGEoMuZniIeeQ"; e_fb_builduser="AcJNlY6JBUHIIsKcYOUYBqIu5FK1kqg68ggp13_uLa9E4JOjy71kzQb5GaP5Wp2uiBQ"; e_fb_binaryversion="AcK5CShUzhmjavUgcvr6fWlziY0UiI40uVUT_rj_Sc6NNcR8BQKG1Qb6U4WLunuPtY8EsY2eYyUdPVFW_PDfgfmJoI1hOZbP_dg"; e_proxy="AcLKVcjurC1yVy6tHIF2T3aR8djzpw55r5jerjmRE9AMODc7fNw_QV08MnUNfAnLOGJujT4dyuIeG9Ln"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 14:25:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:25:20: Error on send one message facebookId => 7134846166612608 03/02/2024 14:25:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A9zqppwgwgovy5POQ0HYgRT" } } 03/02/2024 14:25:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/02/2024 14:25:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8401824, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AO5cCTk5NckaNwJeNiB_vO0', 'x-fb-trace-id': 'GXHh3QW7XyI', 'x-fb-rev': '1011794111', 'x-fb-debug': '6BVROrio9N6BHcvfOL5vXeoz3+jJS5uQPce5R9p8yIOWtOlWqrTFvd82fycRcRrxGZLSRck+8MG983aDS9QpMw==', date: 'Sat, 02 Mar 2024 14:25:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIUK1xwPeg8T78PUxhK-ohdlq7z73Ce42nxh2ykvOJI4yRPqeRLTrOPUYoBnEk7J4nB2DvmR4TnuSt39T_kAT6krqIG7QH9a4XH3tIhHzMedIWd"; e_fb_vipport="AcJ_q7iij3RbvgdZj2_pNq11ur0LS3Gb4n4FgGBvkSiMb20sWv_9gDZPGLHp"; e_upip="AcIFrppGLnzXb1XAlfKfyEHOOuhmMEOLjD1oAnf3wBijWgtwKuTq6hPQ8SMK44RtrDY5Asp4-eQpr1S8n64eBOJg6oFoAS4v998"; e_fb_hostheader="AcL0YFhxoEGxZ0-WceBPOwXFNs2fzzgDy7yT7zpQL4_oarH7Rbmvy6d9nFROuNkDMAq7kiAU5jfchBOU"; e_fb_vipaddr="AcIB0caI3q35Fy6uCob2w4hJb7xMC5arGwb9PBYAnVpRuans0PoCU4sjBnae1vKjliUV-8YHqNjVVvI0iPAWxGDKhzcTBjVoFA"; e_fb_requesthandler="AcKoRy_1ROQfZHpYOylfu3F8SDqbjSpmeZkTGObeDEwFJYfzNu9eBcYiKugQD4gnq1dCPA_zpCE"; e_fb_builduser="AcKpEw8Ue5lNrqok5aUU0eEaesnU_l4pWD9KjcHh-g4qQMD3UgZ0CjYKGGc-awQF53o"; e_fb_binaryversion="AcLJ4gyAYq0UHoSYwEvPaNfGPivy_Zh44g4jsI1UOibgjeVAeEu7fbxlKGqeyPtiou1fATrsp4TX-Hvu_F9UKUQzBcc7ppJw4Ws"; e_proxy="AcKPE9JlbqVhvEF2NTlpW62dMx8CdsqFYR9h52NZSpmsIz5zQkLw5Ljfie2HvFubITuTlw56mlDwwaa5__VA", http_request_error; e_clientaddr="AcICRraeRGlIv-bAM-fP-uCAhRM6bmuC1Q8Knp3VYptmIeTu5eoBTApk35CCEZ4lCCk2BrzPmtfxpivMCQ"; e_fb_vipport="AcISsepVtvmqb9H52zlViKYvEWigJ_Dzp0Gvgb-2a2E0quwUdErHRxuZiYCK"; e_upip="AcIOOG2rzBogTIX8zgn-7mGSGmH5st6DYn2Ryt6rBsiXUBaHV8nOJPfhgHLT5EkrjnmzPUXeDSHgMnEbEmmjtttSlV3sXlJIFg"; e_fb_hostheader="AcKld25rv0qGvQFLl3tS3TKEUEBjjfb-ihyUPHNBsv0-kUfLxh47KVXt0sR37czDEljV0J148FMcBtpC"; e_fb_vipaddr="AcLlrWAh6EqWzyprka3fdflrXJQ8hoTUlakip3Gdt9-hOCwDI20r_Y3dY4oZXsn0H476RFI"; e_fb_requesthandler="AcJRC8MdbQ3qQZNBsk8PYc-0SA84eia4hVVqGnH8Adn1S5ms7sTdEeg9r42HysidyEzverKRS0Q"; e_fb_builduser="AcIsNJWpB6Wh29X4VLJGVXcLEtH_dMMXbwidf3FaCFE_bcHGt3sb51SJDBDJqb0A-kc"; e_fb_binaryversion="AcLnVQ8mseEeDQe2x_23y-ck8XwFlefPRGcgbUyQb-wmNJ7KA_BbFhUgYr_vFBYeQP_ylLvNTbpg3l-Kns8peHJo01eo060tBUs"; e_proxy="AcKeWKetFEyU0Pzc0nsrJ5kDqTA4GRN9jEryBqw_1Ua2S9-nutzK3HqZjcymKFtiSBu3OW6SpzG4qd8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 14:25:22: Error on send one message facebookId => 7134846166612608 03/02/2024 14:25:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AgA4QnGWhJDRQl7gLQQNcFn" } } 03/02/2024 14:25:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/02/2024 14:25:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 14:25:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8401967, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbiiRG0Yq4fzO2RnSFlhjm_', 'x-fb-trace-id': 'H3yOo7eM99c', 'x-fb-rev': '1011794111', 'x-fb-debug': '8UVdBdQXBTFzWjLg5EOB34Qwy+uAI4VE40sXPfLFmO1JcUJmpAt6mOYjouBLt3WLJSXEkNejgFX/prE2bFSBPw==', date: 'Sat, 02 Mar 2024 14:25:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIX6wfKXyTLlsiud2_4fFuwjAs7-5c1nBNnhdhmKzClpCfQ5UUuQJxQJAH2Ow5lhEkdht1kJHDjeQakWlx98hiVRsf3l1ATeZjdwWubWMmFnWjMRw"; e_fb_vipport="AcKbrB_DC2uQ8j5B0mKWFGWtyuo2GZ_iP6x25jBpDzsE04BIrSt8INSaRIUh"; e_upip="AcJ4TJ603XltOx6G5oST1Y8L-r_oXCiPQYP7lniRe1RQxGmD2aBY28szvhoQ9Ey2gNQaOK9dOGezcz76Jtozl0W1oX3ydcgmag"; e_fb_hostheader="AcLuodC3-OH2DnApkXzVz_XtZNyGc1YgJF3L_Zlbyl9CqG41fJ1yyPFOe2g5TR-jZa0IiddI6xEnfXWo"; e_fb_vipaddr="AcKah3alSapxibXQm4MiQff5IH5B0KCHEdiEMlf8phxwANZzw6oO4B5UaEt5OJLve12xF6KTyuPxWnl-zrMc0c1e2dAunT20og"; e_fb_requesthandler="AcLEJRK6AW8c4IWO18gqOwXBWJA6M_OL9raF8b6Ut7HceOywzUFTVzL7ttvtFpwcm_gZB3taqWA"; e_fb_builduser="AcKz6gqKmKtWpMvYJ_XSF9qxsS1rcRQMH54ui9NXSwnNJ1cnVpbK8c9P-sgDXm6gpng"; e_fb_binaryversion="AcLFJpKMD26Ue9_PRDcU6TYG0oIlMq3ALqrPxnNJsQeK4lMYF8UjahEbWUtJFe-opL2YjdF5QUqq0SJC_BVNKO8uXzpkXojhPv0"; e_proxy="AcIvwcDhKEVlTJ04rEW86xdDs_QWGb8H5tWHL-DPJ42Pm5XIKA7RRwpjelTEB4ppMAA32AicIP4jQKjUTAnr", http_request_error; e_clientaddr="AcKTkyy3xa3KNvNPyEZhGfv4RuQMmnKAwYMDgL4Wi1SxG7wGK_bQIjirQFdpePZj-odt_8np5k70QUNj0g"; e_fb_vipport="AcIDZsj7Xf07V3JZwxYLlYT0r1prJCDkyP4_DCY3i93ivJKqSgFAxF812EBQ"; e_upip="AcITv6ebAAa-ZoVBGWAv5lGQ0ACR8YznhFfR4qfvv0SB6GaWjey9dl5Ta60F5kIWSiEYUbIvlKm9fZjCX2Pv4qI1QsYwg2114Q"; e_fb_hostheader="AcIzU2gfo1ZQocvKp1m55Pw2n_hQ0iKDfu1W59vaVp8I68jlr8_ZHo18gU2ocyA4NYPuHu3AIB9QiAYX"; e_fb_vipaddr="AcLjsimA2K1b-Cod73cqiqIYoJAw0paY3333QuWMC5EhznhZkXlg4zBBhI6liKn6vKYhK6E"; e_fb_requesthandler="AcI44OzUMvnPZ-yo_DMPm3hWafp0SiXZfJ4Du94wI_LWsTSfIcepqTO0eovAB0-dkvmVJCC5CcY"; e_fb_builduser="AcIfuBWAYTppaExJOzkIH85BKeOAgqH9b5ohU-Tg5ite7banTp70DacWBP9OvwRkz4A"; e_fb_binaryversion="AcICBaZWXDBzCS9j8ltC6khO43sx6JNQ2qKJJB9aINX6FlM_cBUe381pwddYW10U_n-M1PNeNJpJT_J3alrlkhCv0bWPHjhcpYg"; e_proxy="AcLKk83z09vLhAWJIURqxg50MyAurgq8l9P9OFYkLZnu0UgiVKDLx3UoI2DZwYyKs_cufTNXyN2Ar2A"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 14:26:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8402253, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuJRXXYPG8LddSg4CH2Aasu', 'x-fb-trace-id': 'DHSQjMrQgeC', 'x-fb-rev': '1011794111', 'x-fb-debug': 'VyITDAyW8nAZXJVH7WyyVxnO9UxzxVI/XkHQ7Hxf9ldp2iDhwiw6Gh5cyHRmjyPRplL+twUOIf9qIGuF5ihyFw==', date: 'Sat, 02 Mar 2024 14:26:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKnuPkHc5pVP1EDqmQDs6ChMhG80rpXqRXWzLwXtfqNo3yUyhSIhwYHJiTO0fQWDb3aZzRsaDJ8uFemdPcSV_v_rPU6E7CSU1GUaFAlqPcM6t1NGg"; e_fb_vipport="AcKU3wfhX_94Tnm9L3zR9-pvuSh-F7xooIAB0SRRoqLq11vLhfufNO2od0mK"; e_upip="AcJ72-DINbCrYKmxa-6eYWoniqTdlcJK8zDEm_Tua1IFzmocn57aXIK2UHH-W-T8u6Gqa0bI625IhxFMzrtNKgqLw2CWzkPY9Q"; e_fb_hostheader="AcIizCqFx9evua95j7MZh-lQ_MZHwXC-xor6AfDSgfN0lUtUpwIB8c4IKq_EWQ-Vw2D9zor51aJXlJWN"; e_fb_vipaddr="AcLzslWUPVsv8uf5J7Dsj2hY3rHf6PbbcFX-wgsMW9WG34CXU1zJ2xrF0Rwrgn5rWQKo64scRO5h6UQEI7qU3Y5vn0Z-FKdj6g"; e_fb_requesthandler="AcJ15Rv_EokxN9-JCsjDULvRe1zeIeXO16mjoe2KWlZMNOY9dyuyiXNKF11PzAzkcKKiqk4cZpg"; e_fb_builduser="AcLjEZYN--D_i4R-erqNwkC1lUy1tfvGNtB5-Vaqcw1w0qvrGUW5XnOGfXYH_QrwcKg"; e_fb_binaryversion="AcJ3OgRscTx-YoGwO4ifs9PJhitw0_CvbNpUVKxdV7kTeLuHLJyZkk8J8ZNk0GX1GZZeK2aKEuVpFW-rWLv5MB0yQaVCKeVCfxw"; e_proxy="AcIEhANFvByU-f74U-U-aRY6cBhX39L22YAgPFivNfRBPof6nzwkeAPnsTyIpOMKguHtHi8IUkoO6bGHQQ1s", http_request_error; e_clientaddr="AcL_r_JMfi6AM-gHn0-DpvjJmGdwG2glzAmVoSXCePKNJofjCaDXd6HnLgJB4yOKHVoOpEvzkDzp1b49xg"; e_fb_vipport="AcLuXq-LJvQ2qFtU5cmPHjAeUQaMZ4_fovo78mt5fDcxKHiB39ASRDmHqZS8"; e_upip="AcLRc4kR3B7HxA5goktbUZdR6CSgf_nzSYcQTbE_LIHS3m7faHny6-5vHMa29h7Hg73L8tEPZKAthLA3cAbLke3LyFVzlml-gw"; e_fb_hostheader="AcLhPON7VcJE10Wbvu-SXj87c2EIu2N4ZZahJh6G6LzG7TTYSUcCMCzYmb3EKet_1Jl6f17w9XQt5qy7"; e_fb_vipaddr="AcKdSCBviCb10BlIYj_7tyGYOQ4ZuJk9AG71zwbJSpBul1cEeYC0Y7fmSoiWuZsAwhiJcv0"; e_fb_requesthandler="AcLeBEkhggI1Otc54D181zTTxWAtETbL6PV6Y9l2nvs1hD7Y4h9ISnQ9WOXzzkHItsczUqZelZY"; e_fb_builduser="AcL_b1R9wxg7WhD9PLQfgP7j7lnVErMxrJGxvMBKlSI4GAMTaapFyIoNi1Hkp1ua3y0"; e_fb_binaryversion="AcIVGoCB1oRsiYgBIdW6V96ZyMBoOIQC2syV11KmZe7fRC0ntA_-kwRZzaxn8cHfIZYWo294YzSPAkJEquNk00AuoPb5T7SLYoc"; e_proxy="AcJ-G7EUCgAStInYD7YMU7wKo09NKuTjjZZWVngKDUuKmV5SYBsbof_wVL7T-C11NCtw_oy1nxJt_8U"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 14:26:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:11: Error on send one message facebookId => 7134846166612608 03/02/2024 14:26:11: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AieX4UpXXUjw5VdzX5COr3c" } } 03/02/2024 14:26:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 14:26:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8402407, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Awwdx9X5dN9-EKJzdg89qrW', 'x-fb-trace-id': 'CJ723nXr8MB', 'x-fb-rev': '1011795019', 'x-fb-debug': 'p80PQoVc8mBE4/X+bCUguAdIWEWO4jWyImGx707uOx5BVKtdfd/3HgsK0VhvuGNfPqCiSzbXxT/XYKH+RELZyA==', date: 'Sat, 02 Mar 2024 14:26:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcK_Hs1ZmVqTKfVArS6IZejiCdA2kasLbnpB2tXB33J8qjL2BMWZ34WZi86BK5YJe-F5iKqfyOy-pKCa-F8vXsGWcNiLfW6Xu6wg6k2f3-7VISw-Pg"; e_fb_vipport="AcI7ZXVCu1di0g4cJml70kQnDQzicLlbdYcuRv9KzfwX9Qcx6AWXLePpRmhi"; e_upip="AcKHPdl7JMj94tmerPbWoG3E-DtY6CUxgu6jop_Jzc91IhQc1e8ftmH0seZjRT9zJSmLd4lgAewCBXyxDSYd98PGjp8LVh37jrM"; e_fb_hostheader="AcKY775ABTNtYBQ2SnvXN5BLFIWiWbzv2oiAu_BDhcytYsjy8wh3hUQkvutnRffhaxFqhW2FPujSZjaW"; e_fb_vipaddr="AcJlxj9UHEj31d2TmbST_0Hh6hDwCvZ735s-Kd3Y8MVw4Njyd6daJmK1JPA5clBh-Nn47qBasdKD8YbxwaCPKjc3do41k_WsqA"; e_fb_requesthandler="AcIwFvvxl2IwV73PBATWJgr1xwPHqXp_WUX5tqLzGDl3yyhMcLo0UEjMzbPCMEVDj_71yVL1Jvc"; e_fb_builduser="AcIDvfvqE2Gp-ILQv52cB_UMZ3Kyjpeafc10yzv-FRGgApLeqYzbAJYVglZYb5fzPaA"; e_fb_binaryversion="AcK41Wm8AWbu6vpr4W3cg7af6EYBnRSbt5kBk9Xv_lKJ7LSut7UiRCZQDAL3sMQCvsbtFh-GNnoYFKyO0RGfeZmW5FxEvnIigT4"; e_proxy="AcL4lvMGRN1SzQoFo6RjfY6fwiWd5s7sMkITbC-x3ChLN0c77_Bdi70HN1iC576rRFJcQz0U7q1YRJRag4tu", http_request_error; e_clientaddr="AcIeKbKPTdd0_IdAUqwJ8Pchdgu8VvKIUVlK6x9-mGOLmupfTYPCpkJJ_3JGU4SjqFHBMTM7tZD2-e4DtA"; e_fb_vipport="AcK6XReD1Cknz0xND9vxH519pJkLpA6bsuRH1AbplLrDKlzVgUVaW6ki7CDb"; e_upip="AcJyepCvH1O-cV68gFLvi43NOErjPIq9hO5AHtEzXoZHNzBlfgBJ3HYBChQ92yMfHBJSH8f6NYGZ-lun8IgdZQ05AlkYb8_U5A"; e_fb_hostheader="AcIVPek6mOQrhnxlJsUfR3B4afYfsw-5go2sQwU91-KjPYIIGWPDP0xRDW4xFIOhUB7bkRa3MHX8w9Ue"; e_fb_vipaddr="AcI3ICGgrv8nElpzovg_sWoK00dM6EkHG-zGn6_j59lBiMg6udI0qkeZREzOTugbPa3W45U"; e_fb_requesthandler="AcJJ6426d3EWU6o5tKKTLH3VrYnfWTdhGXzK7UX4C_mdhKLeJZJ9Cpi3yqMePZOA8nI-aMRofpw"; e_fb_builduser="AcJDb5PC4cFI7Z0-2gpW6mNefj0AMaBo35IWYh-bvTuFCej3wn_zkuhIR28_cNY4fL0"; e_fb_binaryversion="AcLPYwU7wrdxeDmZ0snELvpwlqWVM7EdeCuN8l_R4D8PSVf2kXGiCFc3rDwWpfMl7T_PJENKYQ4miEZvVOwxXUXGUDWPiggJLXs"; e_proxy="AcKsgrAUB93a6yUVqZX6xtdgBUzUTxOJb36y6C3ZV54sfdQw6dHgOt78gqOAhYDgp0b-Xfatl0EfXAo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 14:26:19: Error on send one message facebookId => 7134846166612608 03/02/2024 14:26:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AvlAzuuq3CQrbP58UHRF-fZ" } } 03/02/2024 14:26:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 14:26:20: Error on send one message facebookId => 7134846166612608 03/02/2024 14:26:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AcyG8cotVQOser1u5TCeOxS" } } 03/02/2024 14:26:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 14:26:22: Error on send one message facebookId => 7134846166612608 03/02/2024 14:26:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7VAbxPPcnnGybKV3cI5wvl" } } 03/02/2024 14:26:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at runNextTicks (node:internal/process/task_queues:65:3) at processImmediate (node:internal/timers:437:9) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 14:26:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/02/2024 14:26:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8403507, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWwhMwnXZxzJXShZ4pAz1IM', 'x-fb-trace-id': 'Bdo7g58EB02', 'x-fb-rev': '1011794111', 'x-fb-debug': '+UtsM8OesYGhCEuOyVJuDI2lqMXhWaLJgvjKTNl9MOgWl2rN4Q8019xoxLRkKQjLqF2NqvuMoSMF22gTLHSMBg==', date: 'Sat, 02 Mar 2024 14:26:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJnxqrloD2XxnE8ZMhuWoGJ1tld6SXulC-7dKt_g-DX3HuRGE_CH8f-HJINrpVlt7Ruk7fOTM-hxvVGCOa8KrXjBfRqBR3kEv2T1ZEuZt74tV39Lw"; e_fb_vipport="AcJyAZ2J0M06CJRUB_CWPy3RtTuvEKkCXpw0Volu2M6wWbxEWj2DZJEtwhR9"; e_upip="AcLsQG-mx5FMFzoiDDhfxB-DEXoWERCJDPPE1vBnm-2rq6KUGX3oYx97Ud6tMcVR1L4L-uz6gj4g3OkRBD4-9qFZ3ihizBNI"; e_fb_hostheader="AcIew5MD1BRuoBU2jX10a0YJRMU_iwBgN_EdnlRvyQDiTSwfjcZ6d06XAY_TVElbHAkXN_HPwDCV-MTu"; e_fb_vipaddr="AcJ10dHiOa0NDw5J3lKwGEHART2f79JHHA_rqLwQIDKxQTf_VQZauq3fuuby4RBZroPbVDoEhx0nSiSyMRZT1rcsnPIMjPPEzQ"; e_fb_requesthandler="AcKnkR8IszGJ9LBiyXyxsGcakUphZALsKt1qmObTLHb6iU3xHFxVmWlV2nqB0xeSt32MfsFlSFw"; e_fb_builduser="AcJnLKYtKIV41HPjaI-HqfinoS4kZyQ4Vav3om95loQRkhKuWHJ6p3mcOEBoqt5WKj0"; e_fb_binaryversion="AcJIZkoRG5JVE4RIv-5UGcoZR1mUqRGd2hPCEFKaTV3wVCq0id96ZIXq9wpC28g9wio43zvSeheKWgqqjBGmUop_PonaXuzRgp0"; e_proxy="AcJxdNusH0Y6vkDOfUKuh0mKoYTvVtW4j0K5GZ8qaCxePwA1_IJ9htE9Y36Fna3yHomp3fl4Pvrym9oIcSRn", http_request_error; e_clientaddr="AcJfoGaXCmzaOY7LkqMARfAB38ah2z1Z9T81mdv5TN7MX4n84AEItA3f6GTq7eWk-K_-b34frC1n5NGYYQ"; e_fb_vipport="AcKwf-VK0xpVdosAiA9Y1mL3QlNWeoptRi_5Epsy7tK7aWXVL6-wxYQRqebb"; e_upip="AcJjJF3GJVe0Y6uLt79mqJAGpPpRU9dKXMu36HvisclOcV6cpKXyFIH-Xip_100fn7tNJRISKafHqojZsgnudkn4oOPJ_bBgRQ"; e_fb_hostheader="AcJ67eoBofHBbAAvkjaZ1epRI-WTtD432SsZLX8AtaUPyiSh5hySJHPRxum3_Uk4P7O1L3iuLagXU45J"; e_fb_vipaddr="AcJZkshuqJ8iQspLbgrlUmLIX2hg8gvQc05S1nFlB131m2f5mxYKBUAU_iodtSQ47iPdy0Q"; e_fb_requesthandler="AcL-Vt496a95cmiWxYo4r1Sa0SAy5cSS1yBNvVwbZOVvXT57sm6Rg38wRKm9cDNuPwtVKUr6PlA"; e_fb_builduser="AcJXh4_rEeCBbj5nKC5g7o7t_MhygqNsORfpXZcAZVO5FONQEX999HfuTQpjo7lSDr4"; e_fb_binaryversion="AcIt4HYsSYhyaioV_kW5la3MRVOs2m90pbCuRF4GCMTii9eHNB49kgmtMiihpojtQ9NXZpNDwVC1YpBRegKfGas51klcya39GnQ"; e_proxy="AcIln1_MQdjov3DdJFzE6fbMhwxdp8uZNkERxntYEEEAwdJtjZGDp-5_Ab0kSeV5tvAoqI0pCt2RT3yQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 14:26:26: Error on send one message facebookId => 7134846166612608 03/02/2024 14:26:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYzfMY1ldob3ZVDBYNhq5ZG" } } 03/02/2024 14:26:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/02/2024 14:26:28: Error on send one message facebookId => 7134846166612608 03/02/2024 14:26:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APYBMX-ce-Eq-QRiAZYS2sc" } } 03/02/2024 14:26:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 14:26:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8403678, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMnC_vCm7bg24LmwD7-d_2u', 'x-fb-trace-id': 'CqeVbE2hIQk', 'x-fb-rev': '1011794111', 'x-fb-debug': 'jb2Y1BaWIOrYfJTH3c2J6hUGmyT6xHdWrsOk+qRDXmkA4BYAlrVzZFkLAJJupfESBzEfEun6LZRlzPtB92q6xg==', date: 'Sat, 02 Mar 2024 14:26:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKcuOUvxBWi9_2vpOHr6JXfFonRWnAwPsSUQWpVj-YGrAOQvNvuv0ZzyJ55ARKzRMLz71ClMAv6KWWWJeMw2gFVXQGxjzCG0wesrwxGJcnwQ-BZmA"; e_fb_vipport="AcJWzFANKBFu_eKYOYhiDhQku42N7EXIjYnQxDYGID3ibu-Iw6gr2ZLK7oox"; e_upip="AcKc--yJoGR47y6A7cPdLKqMTpj4utFLewkhf9E_G2Hu7esY2D8mbrT4BtkfX4aWinxqqkCcDFc1ae9uzTqPI79Lx0eFli7YNlI"; e_fb_hostheader="AcLD9z5fYpWBpOgbrsB5au2JKegSZIwGHL0bzOLn8qhVpZFeH-J-YNjo12c8ucsIE8CSDy7sMQIYHsyY"; e_fb_vipaddr="AcJPDCCxFZtIEsip2AyHUD2jNS554hmkXZVui0znH8I0pHEXrsD_HL4sMTo_cBaZRXtqM7EFN0hStBvPJfhmRy-t5azEyWpILA"; e_fb_requesthandler="AcInPU-XMR-J2ddHXfKMYNdhm2LVn9iDki4Mf3cME8UczRJ0lIVURnKtioqzjMm0i0EOhFOW7uE"; e_fb_builduser="AcIVItj6s29CvEKRDDDqWsP6u7-1oH-YRwP8aboWdV6rpH6z8L41kq9Uqczcn6kvmB0"; e_fb_binaryversion="AcKF-diaryl_4ftUSnzyijmipg26UPW1-L6N8EAlOXZjDLDDbx6KnAxPKfsTtF0-XJuF_iQj9iy8ck0_NPgLf8QX-PtIJ9jqyew"; e_proxy="AcJavjdrnJ400ugd15xhgesZQBM-SKD8-fe0BT4pvN4qZebnBeii1PEkOZAQ0lpA0T0v_BtGxAJd9larov9w", http_request_error; e_clientaddr="AcKX3xLQzuY7OXfdWeqQDQEAQRMbjSQ29AxFzPUVztD8sDrXeAXn2qKfK9iVXAMww5GDHtwrdwuchqCGwA"; e_fb_vipport="AcLqbItysfrXg46LVSTMzpJVWE2fZZQTjMvChBJ4_k4YK1aKaS0S9MBW1iZu"; e_upip="AcL-hMrUnsh9KOLfzWP5fFmDA_rSJDUxu4qmAzVRBjKTpa9uQcZmAYe0_vjZrn1lh_POTzBofO9QUtE_ARBTx6eK_yqplsqUiw"; e_fb_hostheader="AcKDl77n9vsEcHhWbuKl9odYEJEmaZD_5BDrth6Yz3XMMq6acFZt7ou54pJjLSDaDC7PdX4oZoHEOvf0"; e_fb_vipaddr="AcIXINo7BTjpaIQwYPhQSF4M26C1JbZtPKXd8tsQssIGOZFYwHNL-2kXf5hq0WryXAVx5FE"; e_fb_requesthandler="AcLI2MJzfy_xJJVrYVK5lm3FYDkkoMSecFFfDcC2uvXIvXM2OyAoZRW7QQKOUMSsMciymh3mS5A"; e_fb_builduser="AcIQVtOz-Xh2YMNl7uTbm4Et73SzbRldmvSjkQXm4m_XRMVRtcGcxjMQnW9Vl5L7LOI"; e_fb_binaryversion="AcI_kaus71o7wU9d1mRfPFVKdtnsBcOK277ffeq4CZx6c8NgnpIDkAFCM2P4pNffs7EVEpCmc-qPFTOYcG61ZTascxjOboiRVig"; e_proxy="AcIX16TM4WhM_AtnclSifOLMovxgm2xQ-jZzCO6OFVL68NShEUjrhJuYV2GIcmzr6kKVN4g-Lmx-qzlh"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7134846166612608"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/02/2024 15:09:26: Request bot not found: { id: '138868933458303' } 03/02/2024 15:09:53: Request bot not found: { id: '138868933458303' } 03/02/2024 15:10:12: Request bot not found: { id: '138868933458303' } 03/02/2024 15:10:48: Request bot not found: { id: '138868933458303' } 03/02/2024 15:11:07: Request bot not found: { id: '138868933458303' } 03/02/2024 15:12:22: Request bot not found: { id: '138868933458303' } 03/02/2024 15:12:37: Request bot not found: { id: '138868933458303' } 03/02/2024 15:14:22: Request bot not found: { id: '138868933458303' } 03/02/2024 15:14:28: Request bot not found: { id: '138868933458303' } 03/02/2024 15:15:18: Request bot not found: { id: '138868933458303' } 03/02/2024 15:15:33: Request bot not found: { id: '138868933458303' } 03/02/2024 15:16:12: Request bot not found: { id: '138868933458303' } 03/02/2024 15:16:26: Request bot not found: { id: '138868933458303' } 03/02/2024 15:16:54: Request bot not found: { id: '138868933458303' } 03/02/2024 15:23:50: Request bot not found: { id: '138868933458303' } 03/02/2024 15:27:40: Request bot not found: { id: '138868933458303' } 03/02/2024 15:28:22: Request bot not found: { id: '138868933458303' } 03/02/2024 15:28:56: Request bot not found: { id: '138868933458303' } 03/02/2024 15:30:25: Request bot not found: { id: '138868933458303' } 03/02/2024 15:31:05: Request bot not found: { id: '138868933458303' } 03/02/2024 15:31:18: Request bot not found: { id: '138868933458303' } 03/02/2024 15:31:23: Request bot not found: { id: '138868933458303' } 03/02/2024 15:31:30: Request bot not found: { id: '138868933458303' } 03/02/2024 15:33:25: Request bot not found: { id: '138868933458303' } 03/02/2024 15:34:33: Request bot not found: { id: '138868933458303' } 03/02/2024 15:36:19: Request bot not found: { id: '138868933458303' } 03/02/2024 15:39:57: Request bot not found: { id: '138868933458303' } 03/02/2024 19:55:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 19:58:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 19:59:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/02/2024 20:15:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/03/2024 12:20:36: Request bot not found: { id: '144313565649530' } 03/03/2024 13:48:57: Request bot not found: { id: '173905809808323' } 03/03/2024 13:49:08: Request bot not found: { id: '173905809808323' } 03/03/2024 17:42:16: Request bot not found: { id: '425997890871688' } 03/03/2024 17:42:17: Request bot not found: { id: '425997890871688' } 03/03/2024 22:19:55: Request bot not found: { id: '133788230054854' } 03/04/2024 08:42:02: Request bot not found: { id: '1852395741674621' } 03/04/2024 12:43:19: Error on send one message facebookId => 8033955499953715 03/04/2024 12:43:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AQpA_Ny4AfZ3Ptvmgp7dwW0" } } 03/04/2024 12:43:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 12:43:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 12:43:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 13:15:59: Error switching inputType 03/04/2024 14:59:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 15:00:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 15:00:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 15:01:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 15:01:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 15:01:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 15:07:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 15:07:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 16:26:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 16:26:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 16:27:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 16:41:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 17:12:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 17:12:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 17:13:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 17:13:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 17:13:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 18:12:28: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8172341312780875?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8947953, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8172341312780875?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8172341312780875?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8172341312780875?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8172341312780875?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJiyS2PKrz-jOe7QCPOhWl0', 'x-fb-trace-id': 'CfLX2mDXBKW', 'x-fb-rev': '1011805618', 'x-fb-debug': 'pHxvHcvbR0QrBBf6uB5SHGPjvA7fPgICeJRs/S8aWD7XT1x/jS6r9yHLcNNpQOPSrhCISBbyFswJN6MQwwEZVw==', date: 'Mon, 04 Mar 2024 18:12:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIlRYEVsvKEfYV5KeErnME05CuxfeMXYLtjxw1LeTZmfPd0jorvMSiMxoKY4BCjo0Hq7MTOtbznZhiUlWMYwMtRMpTz6cLu4e4VDPjO3l2KrdygAg"; e_fb_vipport="AcKjefMZhVpg9ZEJLDtK2oLcjHMCx86dvTJ1mt7-a6QZYCupejJ1yI0uFyqN"; e_upip="AcIfgxn7_IaohJPJFPkOJL3km56Ex8Vm_UqAN7MonSpZhvvagMz_EbNX2yVTjFdKVs6cf6yG89zw5NrD_CZQx9vgm1St40tm7GQ"; e_fb_hostheader="AcJXrd86r6TB_dIa3oydjX1lbNuBjBpoODbm4NSIwkZneLQlq-V_QQlrB8Z3TTL-nFO89vYG9WVLZ23o"; e_fb_vipaddr="AcKr7x6vAoKaN9k-u063yuQ-lYr1zuNbl4TR0cTK9NE4CB_CttMeR6rKtq6yBXr5yaZd-NYBjV2BdL6knXJ_qDJdL6ou2836dg"; e_fb_requesthandler="AcLM-GcwTXQymAtYpcsA7b8_eobVAo5owYBx2f8dwKJlzAl-QmG17gcBjukLyvkCIStX3sW9tWg"; e_fb_builduser="AcLToml_1Gv1KJeiykDoLUcAeRJNcz6c5FTVtZL2oItON7QeqUg8sJd2YNOLcylaWJ0"; e_fb_binaryversion="AcLVU0VkcOUuhO9uHgI3f8rPRKOVWhV-A-Pg4avtCuykcH61L-3nqe-wvKhlxl8loSx-JZxaQ41TNi0DRMVWA949UU20HVre8QU"; e_proxy="AcJWiMPFslCkSEbeVQvI1J-4lHgoNXVvT-9P5dJaoqSKGOsUhRYiIJ2JqXFBOOR5HTVlO-bnO57ZhgO_q1Y", http_request_error; e_clientaddr="AcLe1yhwK-mSU9bXOJPuqOxuh_7R8O2c7fzixPcC3QEHjr9u1UnN86MRLZcyo3buBFlKyWOWPQ0abFHFTA"; e_fb_vipport="AcL_W9T3_PYDRRvdnMig_M1oiYK2pL8Vrnc2fJHPSRajLnG5lR_xRK5sh6Bk"; e_upip="AcIACbRhdJAhz16EwApn8N7ndkrPzLJ_raKsON6QqmkupRw4V0Lr-HrplQYxxREm7HjgBR0lQ-rQRO6tsxxAVIGLtAVX0ckAYA"; e_fb_hostheader="AcLuNjr8dPhyb0nRhfFOSDN_4Mm9v07qLAAQ5v0u7Ji_DUc0ket-XYCxm4f-ETEcCIYL1FR6zIF-zxFO"; e_fb_vipaddr="AcKfFaS4C_DMYo-zIlthBVlSXclY10GhaL9FeWpIDAnbpkjIfxCEsJtjviuWUmVehGriK5phFg"; e_fb_requesthandler="AcIYtfZYD5pItg_2osc8M72CVbQyjrsn_KCvX9WF30MGOCx35xmoagjxVAMJUYwgbdnRDqNJDN4"; e_fb_builduser="AcLgd6Mx0eQs-injjNkGGu0Aer5kLxK2BURYneI4cTDDFowFSulwqh-lhzZeVssREVA"; e_fb_binaryversion="AcINNUorybL_lAfGNdEUKnPvFZAGet_9NWkd8P-tHLaZqIb1mOd0GiiCdUMiBqbMYbuL0WL1--wyS6fknzjnnVy2arPYUug4fIE"; e_proxy="AcKhWJbt4mWXPPAjAxUwJRWNS8C518R3zAdrTRxx5UMYo8d7R-Ty3FyGhd_gO2Eb_i8Sa8UWxK_YQYw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8172341312780875?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8172341312780875?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8172341312780875?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 18:12:28: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/04/2024 18:12:28: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/04/2024 18:12:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8948081, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6DFv82N4BFX1XI3G-_uIEe', 'x-fb-trace-id': 'Cz1y5tISKAI', 'x-fb-rev': '1011805618', 'x-fb-debug': 'WYxNSg39LALEyH2px1nu7qkc+5pyF/3y3gFJ1Eoi3xFXswA8TsQRga8smyKA7mPDQOZi2FODgO41OgwX+CuGrw==', date: 'Mon, 04 Mar 2024 18:12:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcLOuF32uYaQuy_73pUwGCP79T1imxL4fKmXTY6Ps12VyAHUOgKDANT0vn1L-zNrkk1pSe6-wpCEEt4bcWiI3SiR5iSJBJ4F-7pk-k4_g17Zn_yaJQ"; e_fb_vipport="AcLtEmwOmMdwJYgbdpSPisWApq8Au1gKkA3MQV3-GMAA5PhB_nCz2VdUnhvU"; e_upip="AcJcjq5X-zbWXfJKj76L_bvadBzIT8jqhKv1QwjO0jNiR9sC9ujxKDU5DiN7WwzZ8Ny7g05U3REfj7jDYFwuk7TavLCnEpBjUg"; e_fb_hostheader="AcLAfSq3TIp4vr6d1imt-uJwofAgYwd5gEkiva4jSmMyE7dVIA3ROAcPVkB2DMYXsxterp__6ZJHbcsb"; e_fb_vipaddr="AcJpjv1UM35pHeDsEitOfC5yAfvVzENPgFrAMikiS4FqblgcVMAGGBTaORdYhKEO3TB233CgR2161cy2EYNaSKvk1UWfPPZjNQ"; e_fb_requesthandler="AcLiYOEPnkOghELjYRK1-9vKNy7tluYaCgrExkoMUbdNyJLVjV1RRo9bbKzvbr7-GDfxN9HsL8Y"; e_fb_builduser="AcLlBefnfcungk2tI4RRK6jR_LlTIc9FUkhzp10qY-MkjYXHlL9HknqF4r1F03R199w"; e_fb_binaryversion="AcKYYz7pIXuOBS3-RnFt1wd2KHBZ5Qds3GguEefed4ZePsllhrEo1C3DtZDmzMTysr5iS7FvE3hGRZEUe15jkENDcDE2KeG4-m8"; e_proxy="AcIjM8W5x55IVLi3TD55mq1M2pp5OHO9Oxq8Iih0gd1E2UxyBiuiY95htjrSmIv3kfIEEYGmQumSPKMEPGce", http_request_error; e_fb_configversion="AcKGbSX4OnJZSa8alyaeydQiB5jvn0Jo9oQKkyLH08EOIFEZIrzbYmMkMjwPKswrGftt75vjDbxx7Cf8Z7ip356liFO96ZDMLnU"; e_clientaddr="AcL6CN1rIut8scdmwxXecezIfwT8ZCyjWmHQuaPri6SiwF2ISkLTActILFVAFt5LmSpMBCnYV5ruhDZXSg"; e_fb_vipport="AcJcr4rDKJ_8CpX3EKxGfZIh4UOOXtJVu6X7wCrgLSyw_roQtwRaftp8RLnU"; e_upip="AcLd5fuGN3SfrIE5Wf74lKhW3ptjO9-jccDraKND51Bt02Rq6LFCDcF0eBwR4hwWIYH5PWK0Tmrzi0_KicuIqDq7II-f4geVMg"; e_fb_requestsequencenumber="AcJ1a7Q3t6l7MM8R_lng4VW8kTR8G-J73rMe4PD-ZRgEnKxWlnkrDQzvUw"; e_fb_hostheader="AcJ5BC1n3ISzeH4B5b1Iu2e_IR5NM3PHr22bazT-k3rOwrfc4XU4RTHkU5S3So27yGbbKS6Y32qwJWps"; e_fb_vipaddr="AcLNKnslSiPWvwC5hr99odk7E1G8SvZoMbZqhIk5DiwD7Py5PyTIBQIFbsMVlFOg3JirqlqfXw"; e_fb_requesthandler="AcIxoIjPlPTs2mC9Anjr3Q_oOmKKDvuTXEg1e403KhCd2VR05leyenolxp0eec7f35Zi4CSmpyo"; e_fb_requesttime="AcKEwwb69CQllR4s0oJzVwb4qaL42bT3J4dGBCCicXYk2TVC31Pmc1pJgr26fKGcy-QqXfMPAA"; e_fb_builduser="AcJxZ3mnO4d82otujnrcpZMlHa_EZpyFUoazAMCiNjbMBXSjGqa6AYZUhrwdNwoIkwo"; e_fb_httpversion="AcKN3K0AVPurBrOwOLyJGX4j6Pnl8Byvb7NtkYIClgl6ddsCTnbUbVciGAdq"; e_fb_binaryversion="AcLsaF32KAg05ll1wELMBqvt5IXMvXNqZdFoR4vhA5qHR_dc4etp8JAZKAICy-ITwpKZhriQMllABKXteOl7zFskyv_Bkd9L8qY"; e_proxy="AcI0Ad1apxiDpOytpV3ru_stjidtQk1JUl_LZRZd7yL7wTHcNdkfhot4ly_wd6_c-Dz7tkTRK4ogB-Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 18:12:30: Error switching inputType 03/04/2024 18:12:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 18:12:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 18:12:30: Error on send one message facebookId => 8172341312780875 03/04/2024 18:12:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANm5nNR6wYG1KtVvNwrwr62" } } 03/04/2024 18:12:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/04/2024 18:12:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8948230, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Avs6w1dU1twR89_HCo-yTPk', 'x-fb-trace-id': 'Bapt1R5IhfW', 'x-fb-rev': '1011809417', 'x-fb-debug': 'BBTzldPCMlKEWqKz/eX6Qmbu4mSSrJ5jkzZiorSYScMsdKh9yCBRQkjdE6R50GgYmQVmzI/Mc+YPF5V5yeqqOg==', date: 'Mon, 04 Mar 2024 18:12:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcKVvBPWa7vqgfBHEy2dadwuVhyOXN_1Gno-TZ00klQ5mW1MWgbLYoPJkgwjttHeVW18bLe18o7XMtNxnjlNyHXSuR0pzx9obcTx-BbX5jvCQK4VBg"; e_fb_vipport="AcJdTAXUsPWg1eepSxsneEGFw9F4LX3ngpp4JOK8Tr_ts2BCkEcEc_tVrISZ"; e_upip="AcL-araPsAYQK8E2jgJ7HzkCgJyZIU3Bbm30PvptagoHhAi5SpShrWZ_ZzBVZmHqP_eu7hs-uOlq6MLe0wwe5RCMwJ5cAeJ9Xdw"; e_fb_hostheader="AcJOsM-Uj2-lEWV_btcoFPZbpf7CughhIIQtPaiO2Ef865JusHAe9_D59Bby3SKU1BntjDoE4S1RKkTc"; e_fb_vipaddr="AcLERoWgASHtQcE9M8N6oxHjqyzL6kLN-BMncB9FbHWdZaBc2TyF5GxZhYieSAyuT8hYXGDC6hSOaeRWxTy08drHRYtP6dkTZg"; e_fb_requesthandler="AcJ2pwA3s5uygHvcxEeSqePH0CD_3EEo4an0JI33tqu7KSkWCFkE6fVBufQdnKlbURerMXhF6Qo"; e_fb_builduser="AcIa11DVy0Pj3IAoKC4fEWQXI4piXrmohcKKO2-_Oqi5reOLyd-oDPWZKHpE2z93poE"; e_fb_binaryversion="AcIQdj58x_VO7pNtgZyeDi1_70vxuKhJ30hbjayp45L24LKMR1kTH_0PSL0YXgLFL4tYn5guCnAonIYDom_1i0JN9QwXkDLtg6o"; e_proxy="AcKMlCve1FntZ5WnOXAg4a7cGwycUvxm2EexC4c8HUenbi72aJQRhTmb8UfiVTLzR5wnX1V8wJkBE4bSGAAL", http_request_error; e_clientaddr="AcKt86ApEm5OHs7ig6uOSk90GeJ1iIn4-8l43dCVxk9Rw6-K9l0NYFPJIUF-9qU5vWe3-O3jeOzHOU31NQ"; e_fb_vipport="AcLZzWVFTZwdf5GggIQBfZVnhwihpDL1B-FPJAMt6p9Ky3ug-4D9edW5cqLK"; e_upip="AcLxcsFjnGWa2YEjsQ9nYgX-fhAmYHNgJj02UELjXYfsEsWRHhpdijlnHcnbzD3_qsSeF2Mh4PzE_Gppy25aLBYb43UsXIanpA"; e_fb_hostheader="AcIJrvgBnDb72DRv5ROQz2b55t7xjPyIe3nYKN-SURiYIw4B5wxgWGtepoq_yJ4ubeagtZchtVdJNxjy"; e_fb_vipaddr="AcLSTioB4l7sqWK69XnNCltvvZ8wxXVV_K8L_xaAhviRjGlauCgl9-EzzaKgmMFrrYXhXJsJTA"; e_fb_requesthandler="AcIsKhhXO6l_rhOH5HiHNJxtLtdUsWBHthypgw8X3HRgAyEDHNgMvAOZcnnQGUf3Gr1eBJ2vy6c"; e_fb_builduser="AcLbuZMixf57vOH5CId6Bguup9m9xVZq07tXu5gi5Va0qx4JdEDoHm_uXyJxNrCAVIE"; e_fb_binaryversion="AcKg9z395XzcPhQRlyk8CO-fQfX5DlmBrlhEXXi5MpzyO6C1kLvLn0GaQNPtqB0WDdGI-6KyqXwfvM4X4q6BA5uTBr7zDJhwntA"; e_proxy="AcKtWBwN1bmq2kQT3iuFPTm6lO30VwhvgDBN2nQm-TDsaZBtd7dt4C031A8X8WUoFGVzJkEPS6DrV7g"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 18:12:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 18:12:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8948369, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASL3tjiNp7YzbCg3EO8vVwe', 'x-fb-trace-id': 'AhgDM+rQ0dv', 'x-fb-rev': '1011805618', 'x-fb-debug': 'vxUEccvSAJgj062rR982bmzJV8C5yegpcBmY6M+qCBSFba4Eb3aGLYEC51FbPA/ZwxI6FJRsAkEnZx4V56/eZA==', date: 'Mon, 04 Mar 2024 18:12:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcIHUnUKY3C20I82FbImw0-WPCBqLaFWAlmniOHfBhGozZ4uWSSfghDNdy5uuNsrIwnacEVfGAL-V6QvcdN9LtGIXlfo6Py8j7CQ-FRqRmCF03fcyg"; e_fb_vipport="AcKFukH4hXwCOOKt52Ya2WEQ5m9zIr2yMb_hfG0YCAAWuHh9a6-rPHuw9fU_"; e_upip="AcKBwUAmIYXf-Y2JhyB-vTcrO7S37kGj5h_Aoap0HJ_vgE9CECnE90TgiRls9ExTfSAzfTD39-7D3LOeoQyEBE6NeOvxq1Lr20Q"; e_fb_hostheader="AcIOgY8mSWwcwwatzFaEQ7lSG3oTE7Mb6rFqm9tqlY0PMmTg9-8ku8cfkCK9DiurvxnkIyDV9JOYh4zq"; e_fb_vipaddr="AcL0yTA1ADN3rkRrrei_6D_bmbhRdkjIIbt3lx2LpBRCDN0cAPgBX2ceZ6CmToSrwkLGl0WQA4XhFob073US0hRvpe6VPAISww"; e_fb_requesthandler="AcJXqKjcekoyA0t3ZNcys_fwu_Ig0tVyb8HoKQqWB1D-eWwPBfIWQpsvJ5HFkJrYVEovKt1KuKs"; e_fb_builduser="AcKZ2rHkRNwPxRXKUTgfJk14sh5rHwikhejQwG0lMfjs80g7IbDtd4tnL9-MXr_1A8c"; e_fb_binaryversion="AcLqFgCjnVAm83Ntrnid_kTFLBvELO6A6pfgseg40RdEtNe1-dXOo71mC6f2AkjSbCGeezAGcqGMdDdTB8rpzL7b8sHOQous7Nw"; e_proxy="AcK354HZGcr22H28-v80wj79ydBAt7zWHXCtjloLYFWoIcjVWiaYjd1LZ841wmlOfeM7ZR27I_6KkRGAZnYE", http_request_error; e_clientaddr="AcILVHRevKmdxDAPpatituLlO2JyoQrqdhEa4CgxRayi-8GdTikmiQ7RGN0CFMWfYulyod9_y9rq6qTZaw"; e_fb_vipport="AcKfFnz4NUrm4hSRs9ttqm9IdP_chGfyMpOJqcx7nu9CAKkpTw6u8c1AU5hC"; e_upip="AcIelbvIbh_N3V5qTvt5wf9zvAKKmBEcgp0DDSzy9jvRkK7944u6ZblnLrwzMvp2gyjZTUPgnUSlBwp595ZE3xoQop9rSYdl7Q"; e_fb_hostheader="AcJjEULn_RWb5J8w53PbEkI3iI55l1HlOza6BAbE2_nTvk5CC7GDi5k43ezuRTS1rxuz8MzSI6b6dAzL"; e_fb_vipaddr="AcJb9q-YqfUe0QJw6WwYol67u-zNqJDXL-hp_JBhPot1F-DhkMEV8YQaSMgcWt_UqheDKqfieA"; e_fb_requesthandler="AcIcNg7RQCSsau0NoM_7OuSzLcad95_cplYgDE--aIn_TRej_LITQ7TA3KKgTqkDFzkJOrcUid8"; e_fb_builduser="AcJP7DYFeKX9IwE8Rghyt1ibN-apt5OTSctWrBDbRNTb0anYUt6l6TNWjxaRnwKKMxA"; e_fb_binaryversion="AcJLS8icDW5fqDwJkJpBfV7aAIpJeiQxVAjJ0xVEqYgiRK_a1tk7Wn7PN-6uDq2NSez9oOE14ciKBsC2rTu2t0MxFSZb5ncm6tU"; e_proxy="AcI-TYXxjY3zH_xpjwxFHxqizZA_7BqV-ise63VjoRjKxr9j7OeWUe6VoKxLSTg0E6jZaI74k3DvSvQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 18:12:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 18:12:30: Error on send one message facebookId => 8172341312780875 03/04/2024 18:12:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYBK97kvC-8jJq4PiC4eA2f" } } 03/04/2024 18:12:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/04/2024 18:12:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8948446, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMPk3Ff7F-4Ky3CjO7bWlB5', 'x-fb-trace-id': 'FSxyF0l+rb7', 'x-fb-rev': '1011805618', 'x-fb-debug': 'ZI/wIrgjEGoafY9xdnJmZlfCMtgW1hqRabFgozBBGmpW/bHM/dD8bl3eE+SHe9LNS3NqklqGc1P56kWFpmDRrQ==', date: 'Mon, 04 Mar 2024 18:12:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJQdfjAht68FnhxPfXPco_O8U1uGVvCIui43Or3pFVl7K5c8K7t54i_LAYFesrh-5lE_u8tt96gCClt8kbc3mPp3YYbhKiFYS1kK_g24Mo12zG6jw"; e_fb_vipport="AcJAJSpyENjfyk2S8QphPrHHc9xqgBOzvCVoz_dhadkQRAj6Vl_QILf23PWS"; e_upip="AcI2QU7rLQnd02svvXLJJ_ITDqymvJEODQL8ssneDxYH8a5dPjmEaDsZPksatEKR0FVIC5ZfzZPlPPF-tjgVDAnXJTrPUGckwsY"; e_fb_hostheader="AcIvW168pwp5XMnRZutGNGHshLjJ4MRZSuTMJHSIU_hIeFLggfmQaLjsWG-QgDd1twlv53EGypWEDUvO"; e_fb_vipaddr="AcL4cuCzjqY4e47CBpZKVzB5M4gWYRZ0df3JdOLW-K3ZxXZYcmdviPhpgY67h02qiBdBm1hyfsNlViXcswrXRi3QdZh1k3R1-Q"; e_fb_requesthandler="AcKHNvNARdAu1KRnAEi4RSHRDC8VOZ3V-QO3ew9RYuNjx4mqOKc6wDLQ307jj1Lll0vgyG-BQis"; e_fb_builduser="AcJQ9Ge1OI7vSQpQIoKEIPrVD7T35ZRqoq4kXgCpBj-QLQhi2qD_X14bKQLAg80ujdA"; e_fb_binaryversion="AcJo7L79b9xzJm1KViijiiwIhjgjI5J3DOieM04qtAjQ3z0F-tQP1q2LoajZzgUnCipZqYx05ejgQN-R4h8s1LfSyPEqHdbG-PI"; e_proxy="AcIsjuxIeYFd7bbtLX8AmMgnwOtp411c2bdzGrKhp6XosduTk6ilfSFsp9-cxuLXw5RtAOmwCuWAq6sompJu", http_request_error; e_clientaddr="AcK3Hloxu2bqCcMQNLN23zMi398l0nHnGa4r_vOl7faOfgUdEJuN77qH6W2gbup4mWX6pG76Qugv4hyydw"; e_fb_vipport="AcLrfS3eaX5ACiVqKYePzmwKQ6203JLLMnVn-VfsH9v3XIes4In78MWJ69iX"; e_upip="AcKa8_VXnZrVW7z-H9hNRbVvDVVyztXkTZKyJV25r9gj2BlAN449OPskpACZc13PCfoYtEIHajTLklEEC0oGvtCKUbmNlud5fQ"; e_fb_hostheader="AcIHQm807N6bAAEex3SD0TcQL8115C88fbsIoooFhCF4Mtv0j0qo7Hbpi6Mak6tFNpahpqDmz5rPWMWs"; e_fb_vipaddr="AcLWrLlV-fxMIGJFj_3wHL56Bn6WN0UmQ0xtcpgJZHpUF7I1YP5TZyUHLeAtLXHttg_iz9BzMg"; e_fb_requesthandler="AcINFNrMdZtX-WhDKkpPqwwJgkQweo-wDb8JMp0obQNo_51PR_KNWdKc9y7Zf0mWfnVfKGxjN_Q"; e_fb_builduser="AcJb8SvqCS7l1knCFisSzGWuRXWYMx8O14BZRNLDEITjKkfBqPM1E4d7btBQDWg9GGI"; e_fb_binaryversion="AcLOXrOjfdx0KU5wJAnwkVo7qkp2OEFqGZlfYb6q0bQ4J9Ujd_uvpE-hXtAi1NXzRoY1kAS3wYVnjTABr875sWfUJv1qSk-Of2w"; e_proxy="AcKHpP2F5fluQHPN9XDm6bjCrzDuSHMlaQq2rodD9WNrpLM8VGaZopbMGKwRQXE5KEWgYDSwN-LcKSE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 18:12:33: Error on send one message facebookId => 8172341312780875 03/04/2024 18:12:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7UfTWYy0rEu4EeWAvV2-gm" } } 03/04/2024 18:12:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/04/2024 18:12:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 18:12:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8948585, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASxPHnSLXx79vy72sfm7EPE', 'x-fb-trace-id': 'BLihNGnV+IC', 'x-fb-rev': '1011805618', 'x-fb-debug': '2kHt1Xjbco6648m/WwOB0EnUvcEFyPor2LZnwyy1rM0dUzlmXyCjg9n3z5tUH04Bk4jaHEySBoKAE8M4hsXeOA==', date: 'Mon, 04 Mar 2024 18:12:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_clientaddr="AcJZ9h-bIiyVDYbnSsAYkjX54c7zOlh-EyS6k2URjijIv4wgnR6UDHdB3iU2raEqG4l1SX7Mou2UlvNg8GNdFP0kPpdmi_1GfE2OgXD4Ogmz_x5biQ"; e_fb_vipport="AcInrUKPvuNiIcQnbn0NJbpTCWqWXEvoCbPkxgkWwIv_z2FPj5Lpbqnt6czb"; e_upip="AcKQW179tn3C1AP-X8IlhIrKn9c01LDtzHTvtyN6r9EzfFQYAZ1kYvyaDeqyLqnr5EiBeiuwdKHTwSDCiQY0Z5fl8pTZkKx0maU"; e_fb_hostheader="AcJ_XvsveU6IW26KyE4nX3Z9CWzgYAJDRPPgxUh0M5WQxGJY-TE0m_jbSE0i0sOYQQ31vCBiKtEeQ5Np"; e_fb_vipaddr="AcI5hwygl41DySA1GdpDmn26a34NgR9OgsxhljHq9IHqns8Y92EtoKgfyk6Oh7YpldpAjk-Fc7YtSgWgQ_uw-ehQTIeLHA_2SA"; e_fb_requesthandler="AcKMa80zahNzL1wKLgUjGSAfq8NQyMLiLNQRyAHwhqhGjPoTL4V6_uHJF__o4QqBxOmaooAX_LA"; e_fb_builduser="AcLUBgDd-q-P2iqM92KC28AsI4o08WQW3-3JJsl7lpQkJXKD8T20ZL41-WvktSvY5cY"; e_fb_binaryversion="AcIK-hCNyF2xD0bCGTO7kX7acVL83vwiPziv1wHAYrlVNySVw-50vacflgesoT80ezAjBGBk3e77GLhM27fLM9HJW-ODAKoM4vI"; e_proxy="AcLSUfiGpQ-jtgfCMxj_NbwrYVGbanN2g4Cz2N_IJarVG58rV5A-w_wQ0DtLqkeI82bKwOJqgGnNkHcG_idp", http_request_error; e_clientaddr="AcKrev64BUuD30fnCucYCi_sS9DmrqzS7_KaRoWUWZ8TNWw_J1Jg8VR1jWlLn_WJNvbRLna4Ix1d9uBu4g"; e_fb_vipport="AcKL-UuU_VA7Zr0Tx-8hGbvybFhxX2wyY4pGyvjNDZETcSQ05_PDln0sDyS1"; e_upip="AcLvFAQ_lZvtIUFOnPAKRb1pMO4IfEyCz1koV0XDWFRSWo2A7Zp3KHJwmBHF_FvwAJ2DL7GmklEeXeCMJEdKZV7xX_iIfwGVIA"; e_fb_hostheader="AcIYZphITcgQCieRmY6SNcoBAaFrY9ZO14zHddY9zsBFmwt7lyulIdbICBDE_VIsNrKxGRyK9vg7eonE"; e_fb_vipaddr="AcLR5GfqqUqS4K20ibN2sNWTiDHdvLy4rpVbsRfFtlpoSbnTy57JssjvMWHkz_LtPfAks5iJBg"; e_fb_requesthandler="AcIMsyfK0xcKiMfZJltt0C8aI16STWmiA6ZghMXLIW3T3Yc9sM16GrlHiWcQtVETXXkcDH17Q7s"; e_fb_builduser="AcLy2ohJAYG9uiJvuCLZC0WJKrzbCBjTVCT_8S-v10SQqfGhE21JZZ0ia0WLXjpnShk"; e_fb_binaryversion="AcLBBvTEQW4QkUu5AOfFq8oH-1e7q5m1zckzCIAnEQz7fUGg1ibP95hpUaxXpFqNMfrR6qjg-FgRsPsXyMwxUE09hhWbG9LSD0g"; e_proxy="AcK-Hm0UUIozP-Bsupo9sXekK6Mzgvp2oyr6pZKXEMQQRtcNNsGgjpGt_-tzLTWQzC3P-OUHfR8gEoM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8172341312780875"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 18:12:41: Error on send one message facebookId => 8172341312780875 03/04/2024 18:12:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AiSFkmyfYrQUy0pK8FyU7v2" } } 03/04/2024 18:12:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 18:12:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 18:12:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 19:10:32: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7139400079484036?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8958705, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7139400079484036?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7139400079484036?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7139400079484036?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7139400079484036?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2dyS6zBj4zcO0l8xHR_nj6', 'x-fb-trace-id': 'BXmNZrr0NuR', 'x-fb-rev': '1011809417', 'x-fb-debug': 'h56+oxkhkZJS/jI5qL2F5rVLpbGW8deS+cZLVyeIFEWHJsZjaCP6Xxf2EEGe3aH6wu1WddKJ317BJ14A+mN7oQ==', date: 'Mon, 04 Mar 2024 19:10:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLPzrOOhcgTWCm_c1tsbIbDYwV2OU4gujM0iYuO0EcH9r1tNifX-Ow-JP3bOA"; e_clientaddr="AcKJf8JLX2OMm-dgnx8dkm1jiZo3epCVqJRFXkqzJP-3CNnHe9WoOHc7V-1eCegJ0D5WVmXFrdYTmzjowD1i6hejQpTXi8JAfR3Y4oulNapRkR_wqw"; e_fb_vipport="AcLGwpypeZHWnuQ6G0b2ZIpoBfHbmW6wRYcT_gw4EAOR1mnwIJHsQGsGArS3"; e_upip="AcJOs8n7hFeaE_k2iYtetClYzAm0cnqpeVtbhBd99vbbKvczfs0H8eaRNHCH4QqZObZK3DWfdUBkEk_9UJWxDvJGs49Kj8B7wA"; e_fb_requestsequencenumber="AcLD1JbmAZ10B_fBn7go4iLCj9Uqv35llco5ux_4ymmr6Rp5nKJaOabk4LGr"; e_fb_hostheader="AcIvnHk240t9S2Uv16_l2k3qAEfcCSqU567IGuT1g1Gs9fsX7YV2AVH9QCqNb7-WTtr9o-c1DSO1GZJT"; e_fb_vipaddr="AcLPtgASnxO9QNx4zNJiF46XcpE2duGGhmvnfj0BdTMHO2f5w2XQJ7wLZHOu6-KLcYHRrN0FA4fhAcTF5zaNidvevJkSF6uxtA"; e_fb_requesthandler="AcIDqH67qDwv__1GjtWbFkNXNvaqux8dRhua7QvOyfBEM1z9gnPUjToptd5YA4oFzcARYnZRDdE"; e_fb_requesttime="AcJSo-75LL6msMV4zAYPwmDKFDkFZDQhwHe1isGQd8r6XsZrxD4D8Q91FbpId5NH_8egiSwCwA"; e_fb_builduser="AcLnpkTH-T3NOvTL3-ffI9C_5auNXh3NRpQSSAxpJFLEuNsvYQcOZgZFRwtyaj71wcU"; e_fb_httpversion="AcKkNkybR2HrHjpR_GsLhUHM8So0ZesVf_0_GIV6PNXKM78U5s9CLcDGjBGG"; e_fb_binaryversion="AcIs6N5QUAZZ38ZvfBbWPP7diwCWX7Pde1ioSV7oZRcIlSFohf86mLeSpRb2_Co97M6L9m3pv8WeohtM80F0lMPflAv-NznWNtM"; e_proxy="AcLIX3gi9IkqlZrrLplFykr4hJ3maJT_w-uJeYApoZbOMTsY1CjM_socK6_0TtBEveqFEX-VBLJlKermUq-p", http_request_error; e_clientaddr="AcKDM7pVnBeVpafh_zWszxEKBY6qCEH8-NK9X-pbWc_KQZdBwJl5RDMBMC5zP3Esu37GG7ssGUzTICMZGg"; e_fb_vipport="AcLTb4RbdU4pFhJdVfiT591V41ha5L81LWRa0zItGmBTSnuFlKvBxDzi6xyc"; e_upip="AcK47TNAOH59HyKHk6R4V_HKkrwEpxHXgmlwwQu8Kyhd_kZ14jufmUTnyMZtRxuwWZCZPtHcNoOXWH7i_Th-GIigTNuMWsYOQA"; e_fb_hostheader="AcJHTfAHoZf5Y73eOyNFzsrf5ekAf3HqYJpRvHJOx70fcDzZ1ZDSY_Zcq8vzu8d3ZK9qvCExLbU9qZsI"; e_fb_vipaddr="AcLHcC0cSkC5DjPhUe48UYqs64TUkSqMh6cKge8SPHsufS-cxGiTkcDhpVYXN_LopwHLTLY-ew"; e_fb_requesthandler="AcK055yf5gBQBpZCeDLFyO1Fbp96TZgsl2dJQ4kLTN-V9eozTADpofVhrnpO-e9ASZQws8G5TzI"; e_fb_builduser="AcJ99kS7AHHuI-RkZnQ95ySZrR7NOZkd9iyZ4IXDmV4FrhndWbKH28AOb-iBIcYfL3E"; e_fb_binaryversion="AcL4gSt_yXXkmk6jPGxd-ARKBGhwRjym2cjD3vD8VRUF_--c9ESfGXACzPDlrTYqthqMmAmoZf9HdW2O7DJZ6dyJOzBvSl8jdLQ"; e_proxy="AcJ0_WT-t4RyJHTExl_O3dpJGVXqkrH8AcZ9WaX8lVxbQNRzufAFOw3mW29b_ypxCUos_Ok3G2d62So"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7139400079484036?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7139400079484036?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7139400079484036?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 19:10:32: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/04/2024 19:10:32: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/04/2024 19:10:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7139400079484036"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8958823, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aidgb5rx_D7UHKcQwDg_4l6', 'x-fb-trace-id': 'DSLmGl49MMr', 'x-fb-rev': '1011809417', 'x-fb-debug': 'D4xW0f/yOPyZHsRXDKnh5WL7beFXvqHnbcFU6IECziedJkVm+0Y+VDvXqBa5/hVYRvoSiT4bxWybxbQDggPMXg==', date: 'Mon, 04 Mar 2024 19:10:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLqGWkoZcajQzuurz7qT1K2Tp2i8u6VORZ3J9z8NTCz3-RjJx-V6yXgP-QGpg"; e_clientaddr="AcKQ1u8Yy5QXmn7EQYNC3TbupiStXyabOr8_8dnEy24iAHFHx6Z70qEvzzv8bOh4psC2s1XZcjoaf_r-k5J73TXqBDchnvQaGqYJQp6VMGSV0zbzjw"; e_fb_vipport="AcIxGxgYD5kLFH5IK8YdKUHuHT9Jx82rfFjUFoMs7Z4X8PQ1ntTEEqi2yADI"; e_upip="AcKSPI_Tncb8c8iE27p-4draJc22Zw91b-89dEZCezyI3_lRYQfvA5uVUexcGbO35MhCmwj1AmparI3yZvFcoAH5pmfE9vYuN7M"; e_fb_requestsequencenumber="AcLp-h1CqwENyK71FXoga3LwPEwH7nGg62OADhYRqNwoyrcisJGYzPwX-Pir4w"; e_fb_hostheader="AcIxOEjX4gSlNoDCGNkfods5ZG_cZSDZFbZ8njOtDzpigNey_B_L6TC3pKe-lIYZoIlr6_7QcPcvE0rd"; e_fb_vipaddr="AcKapnbRQwcnoybkDWusfCWeKweckhxcBuCCTH0LDuJN4oK71O-wuFAdVCq4zEO88a91SI_B4rQmh9AUI_UywHGaBtaWb6JgVA"; e_fb_requesthandler="AcIEVPbShYVwS77dTDvsOXXRO9MpBG1NOcVa1etC8GC8nLbXsLsN6Dw7LKjpSLmOcJ7-vn1zkqk"; e_fb_requesttime="AcJmBr7i5gNF6K48MtLsyrVoESSzjWoBN9ycrG2Gc9UUXkPkqMd81ovqUIYk18gwzxcLY59r4g"; e_fb_builduser="AcKc_TndMoPPgfSFWL-zlnG21fSMfzDGfVKCOF1aKdID-20XYhVz_Y3zue_rLwgqkmQ"; e_fb_httpversion="AcIqP3PgQ934KUoK-Hz92N_G7SrfqkJIS655ZdCjAmZMS7rM98V9wJ429Xbl"; e_fb_binaryversion="AcLR6G99h4E_T-2ezS8lAmM3FCtT2o8XuaL8NegLG1lyLz5TXgGiRUFVabRkpUDb8SqvZjdRLcwpaCi0259Ko8wk-UzGChA9xJo"; e_proxy="AcLkEENMv0rc3BWyA1D0GrIV93XCybHafPjNprR_rdguAsMFepzpeLoTOfb52zQr2kyTVpzxQ9yhTdy6Jnca", http_request_error; e_clientaddr="AcJc3aSg75pPzZmUOhfWh0LeUVikFfxOcemF5COhs69L83m6Rph529DG4JClb2rtJPIoRH8GQHV2064VcQ"; e_fb_vipport="AcL3dLOuY0OnX_IccntAI0aB3s_g5A1OiCQqtc5w-JMfHN_XmVkBssX4R5xT"; e_upip="AcLwQjzSF-Nxk8HWipav3ofjS7niOpyfdVhxEjiQgcveG6oA6lCVs6tgsfM2uMJPwPHrRZUIuEJwudCoBNMEhR9fHoI3L6EX6A"; e_fb_hostheader="AcK-a4Cafosewg4pei3asaHZjy_4n7SLSeqXPav6B-mKmRNQ4ls_zb88wKaO0EjR1AQnjzwmZtQZqhiF"; e_fb_vipaddr="AcJo7E7QrcTq1aagAQaD-J_5J-_Um1E0uAAKdvdfgz___gTrHlX1kjZM1XHRJkOVCbFk4k4fPA"; e_fb_requesthandler="AcJVWB9iSDQGIqiZWVRYY8f0pSztsube-M4U8_xcnqNGVYsbKrMWrQT77nHSVg0vEQKARsHqpPk"; e_fb_builduser="AcKn-OOB7cXp8C0NuHVy-u1OVCN5ibJZtvXgStRu_rul01Jw2rVOyO0lq6g7JJXWyCg"; e_fb_binaryversion="AcKYKB0NJE3lOHL3Iy1vB0WdELde80kXWIPDHF52VEFzNe9rpAlisp0cptIz6ryffqpr6wYHfGhHMvjqDTLHxzPsOEqgDheLoVY"; e_proxy="AcJ_i7LfXs1BfEgn-lTWLRehgvcWRb3Tm1vlvJdIUEiaEdLMTL1UBhkbRGCIXgf5pgkRHcXlqF5wctJh"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7139400079484036"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 19:10:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 19:10:34: Error on send one message facebookId => 7139400079484036 03/04/2024 19:10:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Af1Gixv8b-CFqVqDU6OYT3F" } } 03/04/2024 19:10:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/04/2024 19:10:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7139400079484036"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8958900, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AT9v3D5CZ5B85rjio6mRbDy', 'x-fb-trace-id': 'GzSCRB+SBNI', 'x-fb-rev': '1011809417', 'x-fb-debug': 'Oy9TgSd3olyFZnmdrbKzIGFQuyZLv/eSh8jZTxZC+nQGkGJAdszG382FCeVmrJ3ppzYxqc3lpClTYbBhPBH2Eg==', date: 'Mon, 04 Mar 2024 19:10:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIeGSahkG8eeQJOlA6NxO-FftWiE2144CQ1dYlFjuwVwLKrHK5OJ6kL6PV-Hg"; e_clientaddr="AcKCeSG4i6mI4gE39gAe26tX6OhT6jJe_OyncuGQhZ82VNPkScWSV8w1RvUCuJRC0dF4XMEnW9Sd92KeTmwlyVCOFKl6gn-g3vmR88atiQf7ridCYQ"; e_fb_vipport="AcIZVXc7laYQW3HYl7Tz_5svOSPeEwc5ZoiFbo11BEH9CVTT9fAYqZsjNvvG"; e_upip="AcJxq5HcfU9a6NntfgBin__fSy0j7qsSUxOS6jqVw20NXWinXFWGpNLlnAAMOD2J2MdjJLRI-ImX9s_9fhLa56GqbTG1JQzArcQ"; e_fb_requestsequencenumber="AcL4s02VpRWp0ljTLBo4rPmTpq61-Y36Cd3bDin9mM_3USiaLDy-smFpAU3s"; e_fb_hostheader="AcJusjVauvkSge0JFwJ5QwRt1P2a9iBQINRR0oQrU6x6jxjtz--kIVWM7JjQGUPJCV-bNAoI9lUQPm-g"; e_fb_vipaddr="AcK6vMURVg2I9ECv0cKdZ91sQBhXo3qsl0AbnQw3yrx3pnNAN0N1ge5yL9OQq8OfKUDsrO0O4dRYW0uyJhnoOuT-G4ppuiPksQ"; e_fb_requesthandler="AcLTAI4UoJd6XtXmjV64-ijCUYt4IPuV9FUFj_dzEHOfim9u3aYVjYMg4hsIlzzPRnjZTXi-sfQ"; e_fb_requesttime="AcL_J8nrtQAAwR7-VdzGvv9ZvxsHtp5hOr9nL27SAv0yzgtP6bQewPHLeHKBZjPfnt5Y_vZKfA"; e_fb_builduser="AcIGDV52LJ9jBoc5yWM2Q7M_twtGvziId_SLyu62YbZpx1p8jqUMNPf2YW3xK7nK26A"; e_fb_httpversion="AcKCQ66AwdQeRM9iMDVS9lbjxnFcgOIm0tmIBZKCNRDtH6OupDRVDEzhvX5m"; e_fb_binaryversion="AcIF34f78FRQTlNbBtamIizzBHff5UbhjGC8SroSUdFPBwU4i0m3ztwUBbmKQJ6XxrBDA9n3qD9dEYomTZWoiOv01HIWvRJGKGk"; e_proxy="AcI0ixBgihXaO8vQN7UPHu-uWjgM51kaG8auuL04DDr-lbEQ0z9urABuE_GFNy_FpmOJ8tf9GR4nb-YhGfkE", http_request_error; e_clientaddr="AcJ-roX8KbHX3wEW1sLpUIH-sztyT5oG0IwDCbBgRUIwzShrKMdO_u0ze_p3LVdXupjqq9wX6eI5axSGPA"; e_fb_vipport="AcIbGH66nydCzLDbXNbLHDrUinv6_h1SiRP12bfKRjfzuKnhHmRl2Gi55n3L"; e_upip="AcIY-NEbucCno4YlejKSN3-7A6xQrUcfAl9eVp44wd8PlzrTN3YCjGDZJAQ-MEHv7CP3k_0vMRE4kfm_DquhzD1HmSaIGCRcxw"; e_fb_hostheader="AcIKpH1LW2BY8h4Bp80iqppJEoAYQ1X95W5BWFOiOCjqZkyAcY1QwhmidImeMAEk5FAfXb0S6Gfs7gdG"; e_fb_vipaddr="AcKIRSdfXZ1Q73cVE7uTwiCSweiWcdBczkgZ32NDcbX_v8XZJl8oIO93b6Vx7DWw2kzzRuWUyQ"; e_fb_requesthandler="AcL_yPpSQ3R93BLUQfPo0WUro7MfEKBNlS-glVBnwBTWucXmKqg-RW3U12bW-RQ_nVJ1Tqc-r68"; e_fb_builduser="AcLPG4tzjiOTz138QMJTU4KrfjOSR6Akcs-rvm5glwfTB1JUEwEzWQp2aqJUYq0Z7WY"; e_fb_binaryversion="AcKnYVRTVWhdXczx--nwckcRv_ByTGSixJAf_dVEXcxcbawznerQBtIJnKnpYuyzI4xtLQDOrrsFPdsJwNE1cpOlLrHS_pyLId4"; e_proxy="AcIZ6g3TP9-PzuvuqnuKTB8ULaI_0-3S3WM-qhTGbuwz6H8BfAh8T5ApLr3g40hTtq3N5NDYxKrPgMJb"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7139400079484036"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 19:10:37: Error on send one message facebookId => 7139400079484036 03/04/2024 19:10:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Absx9_g-fxWNEK2vsgv3q_Y" } } 03/04/2024 19:10:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/04/2024 19:10:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 19:10:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7139400079484036"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8959041, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ag0uCZQYI7iFJCP-LsC6d3g', 'x-fb-trace-id': 'Ado8SUmdA+U', 'x-fb-rev': '1011809417', 'x-fb-debug': 'Q4zh5sTMYXo40TIaezDPIq0TlW63rzIq06944JLtGuDbTzR2Y6+TgEVw3F9pP3REyHLi8OwZ3c38R9LsUWVqXg==', date: 'Mon, 04 Mar 2024 19:10:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI6OmJ-qR9FL58rMMGV43dnY3iEZNaWbyXAVqi8eF-FOilC4ihWxx9yZqga_w"; e_clientaddr="AcJSw2oDdX_984Wwk5dMDIw1dmZwIvGfSvp29D9Nno_7Cj-dUB5PUtvMf8KUdtCZ-YHInay1Wr5Y6gHIDqPZToMMwh-VLvdExnfkzyN9s2pGhjSlkA"; e_fb_vipport="AcKS2ffR6eToVX-_rO_uA2MkGIyYJifn8-cM5y4_IM_5-R0sYzgy4_RqCnvx"; e_upip="AcJLLe6-ijRT8hsdAyXclmoGiMzAgbIBrNmzU1Aw9vWMG79RjbS_2kshF9X5PDfEepY7-3XNmYZaeg0g6ZD2sDXgANRx3ydPW2w"; e_fb_requestsequencenumber="AcIslay6fQWCHA6mYab-2T2alDuIQcyMThLB90YuGGxG_GfrdMCC6JBCDexKyg"; e_fb_hostheader="AcJvxsCOQPD9yEHYkBCumzdVVq8x_tSO9Vk5Kl0bHhj1Px3MygbqveYI89Li7rXQaaV35LU_Zg-z19Lc"; e_fb_vipaddr="AcJKUZGxNoNisj0arAVkHNdR94efrl5BfeZd0JfrbaFVddYI_YJGfCPrQLZALI9fOBECcq-9LGAElyES2tTkRAm7B9WldsjqSw"; e_fb_requesthandler="AcK2pDanSsdeysrd8V9XGnwfsiT71fRE_5GUCw4-FQWna6J5Gu25Y4U3FRX6BEV12J6QLDwesJE"; e_fb_requesttime="AcJJuHJd0FONsrHpxubFRt4if1KoDCkcqNLvMAWf_g0Y20YZdDCOTx3JwdCJaVBWUidcoN_95A"; e_fb_builduser="AcLZIhsRdG1Js6mPX3Adq_EI38xFNoEiywTAK_6Z7aPjLoPNMNXjdvxAmfhBsQASZ1M"; e_fb_httpversion="AcKRYtZuEn6iBOPXBhGPTHUSYXhyMNxYMqChml74gwcrSQhCKavWb18lz36y"; e_fb_binaryversion="AcLBs1az0UooMPZ90qZMLQyMk7WoVOXsUt1D7ncSzj4D7Zu-HlXE-e6zLqNf7aseY42TMjhmkYn5LSd-XHh77xZ9YpqhQJpWHbE"; e_proxy="AcKm9b42QoPlz424jJvkL99qJIObnwBHaq8vFBKPNL_og2u4ppoXuFZx3qRnIQ2L0zsnpdO9mp2or-xyakTB", http_request_error; e_clientaddr="AcIf1f2lyWD5w8L_nrz3Ai80aCqgj7chLNpuFg8w99T29E2lvjKwrnjYzFPEG-EStZ3r7M4HKIvdgG513g"; e_fb_vipport="AcL8prHpY_UU-1QF_ye9Vnr4S9djKe32Hsj7KtND_naMT3928Rnn9hQHXv1M"; e_upip="AcKkUMd2r3AqSV2RDLarfdbU_FbKAhYMTJB208-EWU3H7fNx1hzXu0-GOwIiBfR9lL4Ia86wsloGX6R2UqfYcwLckNwTL5cuRg"; e_fb_hostheader="AcKxysktkVSXUrtTAc6rvr_jb1rrD4XSOWrFfMbbPUaSmQ2ISQV5uq_juP0Du-svi85130RKVc9IU1O7"; e_fb_vipaddr="AcKKpRVU9CKrXDlAD0tsWfqVzOlggtWEDgiCwe229IDFyhHVF7sVaFIMRfB0KAhtdAyybjZrmQ"; e_fb_requesthandler="AcIhejrZNxr_VVWgMLwd30L6_p1uTP1mSSA8IhZhHcR6rbkUTWHVWPIg_DGnDbShKDArLVGzIS4"; e_fb_builduser="AcINVSydbQvX1nDka2skqL_8BVx7IM_qa-_c0pZZbjcme_bpvgYPUrBlfT4RBoreexY"; e_fb_binaryversion="AcKQKj_fXVCCr8tHhnY3_xg0Us4Ojr340HX_Ersg15PE6ghZkyqgNUHI8ungzxl9N8fXhuFMiXeihufkifwD_4dXrkYZRnCgOp0"; e_proxy="AcIQHP9cTTnJJxMiELWd9j581eesFnqSVAFDtOe9Q9Sd26pY-sOUnLKMU31EPyWJ5744FVWMRWi3d-Y"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7139400079484036"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 20:03:29: Request bot not found: { id: '1852395741674621' } 03/04/2024 21:38:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 22:44:07: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7314510381928980?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8998571, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7314510381928980?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7314510381928980?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7314510381928980?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7314510381928980?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMmF2gPxXOX-G0L2KWbVvcB', 'x-fb-trace-id': 'HUYmEGQpFr8', 'x-fb-rev': '1011818264', 'x-fb-debug': 'x70lgPLxdFur92NjLm4fQ0h+v+e9u2geTnzIbC/Etvst/f2s+3t0IgAd7KM4jZixIHoJJEhQjdvCC7kxPgrtdg==', date: 'Mon, 04 Mar 2024 22:44:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKI3qPOh5waAJy8rIWuJCS93bLahL_eazlN5tQG_TO04a4wHjbauEPZHCusVA"; e_clientaddr="AcKU4skFL_Wvkvh9gPaByx70HdNhRUbbciL6wEjdnPPaSbSfNFN2vmNNVMv0AsoIo5-BKAEHuWZZgTEskFMh23BsAT4gp4yPAFmz8_wB3bx8O0sMEQ"; e_fb_vipport="AcIXxKosZZvasFBdTcWnah7N7mQDRiklxh3VRvqqq7FpnOChC4dQw9Y_0EV9"; e_upip="AcIaafFRfLVEiD_nfIa3HDIDvClG6WxAHb1ub9O6KiNhmnhvYS-yxG0Ksablg4RnGyTAxk3t4RGYshzRC1qZwn7IBjrHcr-qGYw"; e_fb_requestsequencenumber="AcIW_ncvuaR7mNlifcayJtpsOqCEGLHYR6tWkcQzYYNeTXihZgydgdfX2qQt"; e_fb_hostheader="AcLgZ3vOkWug3LlwZI6bRzouxrVSi4AHtG1CP3ef62Kx7Rj_pzK6HjgSE2XXsiRZyHDu3HuGjvAc7rr-"; e_fb_vipaddr="AcLWWh2HqNSR1jifNj4qdKDMz0tnf8mPHKz_oOQ4KfoObozXi6SPuBAPvvivmHGZ8hnV0IGkKQWsQSs96pR-G7YjiRKKugkfeQ"; e_fb_requesthandler="AcKbfMWjhnJ-BBgCorM0pQOTeh9uMn50GAgcui7dcnmkIPpzzyqHHcyxLrMz5QrVAuoJ9RbwujY"; e_fb_requesttime="AcKCX50lIXSPT3K0LMZNPva3gYLzDngvmfz-HMmXjRCbfUezehLGeiNuQio2YdGTQfSYLLcC9A"; e_fb_builduser="AcKvqNz-dKUR1MJNzyz4AZepPpjdJpM1_yR6hKi7F5UfRODqdkThy8eRZ40Aww6z1FY"; e_fb_httpversion="AcLcHXIW-4tByvsyJyYjocEjQ0r5flCamIb-PLDfNgRnNjAWNnpyys4uxBC6"; e_fb_binaryversion="AcJ3cn3PcmblSNl_9JBEiiXdxsaspMk8HPPG0w9kuw1XuIYSrXtIgTd3Tc8BgbonmVunXIUa2mhsr0sk5ksPx2t0pRdhD3lRRPk"; e_proxy="AcKPvu6cMxQ_quwib6E5RDMAjjzTz9J_E5X5AjLRsjQyUdiKGwzHw0AdEiMXUDZ4EmIWJwbOJ-FrQ7X77Bob", http_request_error; e_fb_configversion="AcIiit924Th0I_EE129gP6-m4B6OTZEwqmHSWJbYFLIupsUHUrjeQj2diFfAZA"; e_clientaddr="AcKTTgQqbTT0FFtCSgNZnQtennoc4krCZIYRhuQxWjALvJarDzq8cWZqzWfYW5RtlzV5Br_LnUXkrSCtBg"; e_fb_vipport="AcJDf4UGznxrdUAYJ6EzZwWuACxyvpeirO6AH4B6LW5xQd0jFBTOhq49vmU3"; e_upip="AcIDem1YOGFJfPM8_mlraHGAldr3QVzuZwVJ1U7jRgGmqz_mY1EF2hxmFbBTAchD4Ai3HYarkePTQ464MX6Qsdk1db7cbse7qw"; e_fb_requestsequencenumber="AcIL9Ea7NahDJgIbcREOuvjLdimmKKGOlgvFSxEv4kFYIPRGyCK9uShZTA"; e_fb_hostheader="AcJ5KkuWZ484yczGxIhjoc1Xvj-4DpxRlCGT8Y8Pdf0dS3udOdGRb_LpNv73cx4PaYJqcJKDb1NGUpyq"; e_fb_vipaddr="AcJdmUCbREvzxqDxudEEQtigSf8SW2hmsHjwOGgb7qsQl4Um3OC0DtbbPXtrryE3CLWal6WhAQ"; e_fb_requesthandler="AcKV6Th1CN6znYCLKWLNcgQKD0l6_dDiqj_DV5eUylbs636Wx3tLbqduNtLrxVIkIJwDYQQ5WYI"; e_fb_requesttime="AcIWSdbhs8b9odlhUZfP_TXwOE-EzoyarASypW7VmDy5EsmS5oQKXhFwuNzqQuYHQNUuuAgWRQ"; e_fb_builduser="AcLDZ-dXIl87ZLd2lMomAgn-IEfJR11BaSY4Ajnkf7GpbgCjfKG7VhyzbkC8xZ0XJGM"; e_fb_httpversion="AcKfPHZNOLJ2ICmUju8g3qMes8m6fR2iCSTC9Le9dCiTd2VJRjqQxwJKgsMT"; e_fb_binaryversion="AcJY938DjHn7X59E-psByshQKaO7Oz7Hgt5H2I3QHrz4B8RuH3wglaTK51sIHWcUXYoQ1PiGYts-6seLRxei22nHuNDHU4PdIr4"; e_proxy="AcJ-eDp3-6zXwa3Fu0HqjC_Rr5fQK4c7_mqhEmZYZj8T7pNIh9kc9LbVvm98k2x8f-OlOjNQ6uTqLxM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7314510381928980?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7314510381928980?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7314510381928980?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 22:44:07: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/04/2024 22:44:07: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/04/2024 22:44:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:44:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8998695, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATGYSwEoSP9rXVm7WRn1r8h', 'x-fb-trace-id': 'Apync+KYPBC', 'x-fb-rev': '1011818264', 'x-fb-debug': 'VsbugqNqBeeDVtZP3IL1A8k5g55gz28ikzyTqCVp7DrjHhP2WJupNRY1Ink5CVsH+x3i43fFvZQlPDZYSWHvPQ==', date: 'Mon, 04 Mar 2024 22:44:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLqDJJGv44SwTur6kN0_5vQMjJPHfpf0kWqLmEWHXhZQgMEAmfNim3guzeJPQ"; e_clientaddr="AcIzmEyJlg12olOVUxIjgfnTHGcgOngDLNHHwW1BVCm5IjVa665Vx0o2fVWXwC8N6g6yj9nVLlTLQzUxHjxP-t90XCYpmDPN4DAPRh2CZ2bGCeyI"; e_fb_vipport="AcJ-EarE8K4asFzSaAEC7C-w4yrxnUxNVltOvD622qLvOWHtxM-Avda5lIGP"; e_upip="AcJXGeI4Lhsubm5nA6Jstjj2rNmEhJajiK84zlV3gRjBJZe7i-z4hOip4PuDfbxM6g9-ECqcAr1aWILvOOMysyU_i4bDSMVJKa8"; e_fb_requestsequencenumber="AcIAuSKvf5_3h0EeDmADKrTD4Rz6bawjO8zcyWyJtORdmabN4uE0Rd2uGfN_TQ"; e_fb_hostheader="AcI_DEvVlyjksR_flYNT7cjQClxPZhNxR1pEBa0Vi7L1U5LB8cCizPTIeWx4L-O8KEbGDC1V98aOUVfx"; e_fb_vipaddr="AcJgFibxraYHg7vzrUHQcq6yLdwUXF_0E5aQNmaL6neFPAZYzjOemBhxyDT5uRTqNcEU8-36-8hs8sAlgw90xkR_j9r45i2irw"; e_fb_requesthandler="AcJ7K347iwJlQgDRe9EwfIpyNlTNzO5kBE-di0Bj2EqN27sSm0-hv15KcyG-4A9Cq-Im3BvNR8A"; e_fb_requesttime="AcK7zWSV_19iwQu_v6aJXwJiZ3o2um7YHFiKTh5Q3HdRWioBGGp6nw3sreOIhFAoRqFDHcfyyg"; e_fb_builduser="AcJ2qyuaDsyGkL2ceY0t2SqzAgtCWDnOwOMEN2m2ksWrjpogXZDUBBlEHkIufSCc4nU"; e_fb_httpversion="AcLI-30FV4wY8P17U8gXAMBfXHubFRu6u4uCaXHgaMeSL2P8Tv2k1rcRmkMM"; e_fb_binaryversion="AcImHoxARDAcoZ6hyfJUhJttjaWrBVlCFoqJ9Tjqg0ntuBIXuYpFADMKCFGDtzlg_dwJ6GGup4RoKCvm4Z5xFqzRdbBq4SZ1gwI"; e_proxy="AcLcxXAY6vGEW5Id5O5kAwQYC9uX8fb7sextheAgZk3I4fPDw5__jcSHMRShLt8AUoLeGPEBPY7JeNLWN2rs", http_request_error; e_fb_configversion="AcLEioMtQkHooU2moq-l1B9ovEJeQBb-TdtfDluB-NPS9c5b7z8b_yRhOd94Fg"; e_clientaddr="AcIUdgQYnttI0jNGslhWuc8bCPCoEGhCbrzIpK5JKjpUnJhdpgQB3ncJmIBwsnd_MnQyplQ7z4ifm3wKWA"; e_fb_vipport="AcLU_8Lt-T90O8bKksx8PdHBoqn95xoUWU3tpf12fhbzWjWDQIj2SdoahgZe"; e_upip="AcJOAXdGpXKVtGD3s90cD0tsAZH45oHwNALTKbZ8aXyYgP_jC1Ly-6q0jzNKeTXZqY5lWeDuqO8LhH_mU2L04BtT9zaCD8jF7Q"; e_fb_requestsequencenumber="AcJIJmxyyYY03kCynAlUidz1c6Xl5OClNMIwKjVTyatdFMiX9UxtG62EvQ"; e_fb_hostheader="AcLaGgtBDGVFSFLucgutUFDYCslSVTj0tkYFobnl1o6V0MMSR9drK4pRqe5z0gaow4fKw2semtbtiaJX"; e_fb_vipaddr="AcLcttmL4DFBUkwl2KHhqe6p589jTFtblE6N3tykgEJbxVJE43ZZ4g8oBKzgrtIQNrndnI_RXg"; e_fb_requesthandler="AcK4AVZO-1pfgElAdyxXMIDJDyLMEJeCdSgnO6NxEoOs4t48LbTo6hEeqReWAtJx3NrgzO3xhIY"; e_fb_requesttime="AcI8fLhxGmuOlLMLxsKCHzXxVB5FVFuXahPPYo-n1Ba7F_ea1SHqfMzWSi3D5W7qtZ3oS_KwOw"; e_fb_builduser="AcLaaZw4mJwhvmT-b7USkQZhuBaYWB5qyZtVGvfC1bf2qvcwV6x0BOOIcRPaak_9hyY"; e_fb_httpversion="AcIRXmnAGJzsX7Al4YuRi6mcfT8eC_zW1PISNfzRF2xOntihx5o-gwT3-n4P"; e_fb_binaryversion="AcJCkUZzwDkwMfu_OdScaqrRz119qQ79VPD1J1dtSj9KQXD6ooPkw9h8wR8EFN3tgZJwaa_gTG1zrmlDkAi5iDJV1uX6kFr7f_o"; e_proxy="AcKDpHCBiWycID7xLimsczpsPiKldLU_kqgm1zuSY7bQsmwnHhQYFkawko28Gvsl9Er_u6F5bvOChYc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 22:44:07: Error on send one message facebookId => 7314510381928980 03/04/2024 22:44:07: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "At1mInb4vpBf0DfESa0DWr5" } } 03/04/2024 22:44:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/04/2024 22:44:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8998768, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFlf2nshEDA2psPMkYDTo1q', 'x-fb-trace-id': 'BWhk5bJpFg0', 'x-fb-rev': '1011818264', 'x-fb-debug': 'stjZ3RZUNRJDLiyZALh7JP7fMEtuGl4rLHyki8LvPnnIAAMKeMxAkIgVF+p5dZv/7MuDpLURZs8yeGKAlpxJlA==', date: 'Mon, 04 Mar 2024 22:44:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLyX3c0rrIg0eoH0WTvuedndJWDowiAv-XmFu_VddmEJHlnex4auk36K3uSCg"; e_clientaddr="AcLOYNNz1u0FAhYpqCAj4dZqqNThXZy-MZDjm_iF8EI5Q-8iiocqfQHhA0T-ycheIDWuo2JPm-iX9KAETMMdmOrXXSWn-1leNkRFm5XOWhptqdOWtw"; e_fb_vipport="AcJUMGwaUpKoOIbFu8iF-vXhh9tfhk0N14ra75IoZ2whQXdTTQu04aHxvJsK"; e_upip="AcJYvgRmKrtMBKNTVFeYJ29H2pYVjjPSOQGZiO5oWyHkLKO8ZPEiryc0xzfDGztxiMSjhJf9BCJgCFk390W1retPexobbdcvrRE"; e_fb_requestsequencenumber="AcKYLqJYamcwHvtSuVUb6tV43EnhAIyROpPKinmC572q_EwsoJpN5_YSdA8"; e_fb_hostheader="AcJP5cgoKCTBzQGcVFj9fFyXiauencuUI6LfOF_9btjTOCShGYOqkwp0ywbPVNO7uL9Y1-5UV75-vICv"; e_fb_vipaddr="AcIetuTpCLJXLmgG-Prf-pch073kdVn9fkPdvtCZvmXOXnyfYhw9-HSU_2vECJeD8IDJvIQFTwLPn2JeKwqNvn228X0izD2E4g"; e_fb_requesthandler="AcJKqk3dUWKsb1TIpib9nagudRDMlrHk5ln2drFZAJYWixh8l9yqNA7-WP2Awg3h2UaKQHxQlgo"; e_fb_requesttime="AcJF90_xzuZeP6gKV7EvXps2-04WDFCkhx4eUc6XVzRtCpSDA6P_Om6qeyl3pYSqZlW4d6ec7Q"; e_fb_builduser="AcKkwK0G4I0-p2KB_8nMRFIS36pxUGMA8OdqgCpi9Vg3SCj-3ifypq3uYRKoBANk9Go"; e_fb_httpversion="AcIwvZSUJfgY--z0kmvBwAnDvtqDcTtUQxMkboTeYRjpjB8Km6HaIw7dCU85"; e_fb_binaryversion="AcKSDK-TvwKw3A2Q7PFxgdQ15s-17KSiuqjduydU_sH4gC9zn1vum8z9VZKhUV23uu0L2kxLWNszJzRrG8SlAKzfICXOLeLZMhU"; e_proxy="AcIIf2UdwhmjhbMNNi1NkChkYX1LTVtrolp83X1ZGkHwdX2Dwjduv1FF-Q9w2ZYLdsCFT-m88GC2NGHKyilQ", http_request_error; e_fb_configversion="AcI2Bwjo2UCw49F8NLv7rRU6bn-xDskm1gzQZ3N4J0Qt6VfxHno-3kjwmghVfQ"; e_clientaddr="AcJobRR9jhcGJZbgiGZcJzTZRfvBskiwNIj0icaOVGf4nOunriiA8gn0mlwNzx4v3MFTJzwyzFayhaQN2g"; e_fb_vipport="AcL5FPmEd3t7otf4aOfkKh4IlmfiZMYAWgZpdQVWXTreQa80ZSLZQ6AMxm9x"; e_upip="AcKdU6FCpQWAXQhacdx8BjK24pT4IpeoBdPCtPf0hF3iA8Vit5kvd-jrL48TH9-4t7aI_WKiAKQhP7BCW_ApiCzCsBXU_bCWLw"; e_fb_requestsequencenumber="AcJRiT4XNdB845x3uRxNvGAvM5ZSFgnRBLDvD9Vru4I9mbKbmhCgvIhu9g"; e_fb_hostheader="AcL0B9RTVhK2vC62FGV-23Dp_MkEGwOz7AELyq6XXe_tWK2U-Pz1HtmlJEnxukT3JqrSfw0uOdilCKc4"; e_fb_vipaddr="AcL_gYRIYupdmacUiosBhChjSVHYH3xzFPa76vr-JAuhKhlqTO0dp3x6Y-wgz65vFVwgiY83mw"; e_fb_requesthandler="AcLfZaJYD38lRYECHpu5WjJLVuAG-N-65XvKbl3XZei7BpyT5A2TIZlGCSzb8_8B1c1BXwx4Tt8"; e_fb_requesttime="AcKqx_gkP684t3ye1EoVjSvDmTW5Shfyvp_pOCF00WTVBUCmP1AsoofzMDVWHxqmg6V5EOwznQ"; e_fb_builduser="AcLV9_DIcY7cgJez1l7J8awwMzE9BKVDEVDK3di6QR_lJjxa-2A25J7jwsUJTcqgSew"; e_fb_httpversion="AcKWkQqOn_N-BIw_kpRRGzE4XjsrO0CdNeTi8G-kR0CZ0QVqApAMjNhW90ga"; e_fb_binaryversion="AcLeXPNUplCgTzYeSQsXkbj7NZ1KCt1_QD3OfiaChRjrdofhcllnLSY570doQlj64uYhrova9gOZKLZOCMpxzSkojuXri4vs450"; e_proxy="AcL-DRbpRLaQCyD9_bDXsZXbAoUTyMZlxzxq_MBSigjLaMDHw5kVwX-uN5dhtSbYShB8dAEdayKkUWU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 22:44:08: Error on send one message facebookId => 7314510381928980 03/04/2024 22:44:08: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AOATXiOUuLotDRvxwqjSoZ7" } } 03/04/2024 22:44:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 22:44:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8998883, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANS2uouw07NYQ6WObK0SZKQ', 'x-fb-trace-id': 'GWEKbmqjr4x', 'x-fb-rev': '1011818264', 'x-fb-debug': 'BvO/8lzYrmCYiGa5aAjsE8rhktRS3nt94M3Y33V5BNINrPZUMgC1YuDkusCpd9R+sbE9NFPj/5cNS99qfauXgA==', date: 'Mon, 04 Mar 2024 22:44:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLpaNy_h13l1ihxn2setGDicuYZhi8bKgHzu9yaPnCl6Aox54wfevDYM8KLiQ"; e_clientaddr="AcK7zHb30LEs1WDhk7zJE-y18jtQW1aDODuZC-fvN1IDR-ju3TENaoGAHwTfYOiSanPVLNHXNML6yaHeIa55EK6JaVVYFAM1Q0yy7hlnJ5iD01gAkQ"; e_fb_vipport="AcLpurBO4vZ5tcVwMIVPtC17bn4t8FLiFKla_3d_mR7Z9rNlgbE8feFxcCbz"; e_upip="AcKiAkKPYtlfI7PdqSzrn6o8mOml-eeQfZyvKqjrkjXE_xWJLIXHa5u_cKMG9PYOa3XWD0omXfVC-a0Cq_v_7QULVnv6-jjEyQE"; e_fb_requestsequencenumber="AcIBIzzvMc-1xUVncTY1VDLgJijnzgO6WKTeNRe6QomMZSjfp1hphcGESNOWug"; e_fb_hostheader="AcIlcroC6uckyzJH8HfhQX2ROENYnoxziqmBbd5QYijjOXNuk7mozhwPgCPaqABbLoEVNkPpmJXN-9az"; e_fb_vipaddr="AcKgCP2cTQ9xGqp9PgfHcjTuu_L6O8T-5GrYV4uq-hq7MlBPdswChhtGbXuMhQJYnuzwsfy6VvAGu1nF3cfzvsZ2uextWZzRJQ"; e_fb_requesthandler="AcIZt54QrG4mwCXnPym56jdn13NDQXaJorYCSAK3D1tIYKf3JZrsugRDKASria2AeMLlJFfyvAI"; e_fb_requesttime="AcLcSx3nm8fvD80OhQJXfPOyjEORyNbIRKcXnCzOauhriznDzMM3xRlXgT0cYtQUt8KhnxS5VQ"; e_fb_builduser="AcLUunQ9yVCW_JOSLhJR_v9FgfPjTosooU19ZM66p0YyP583MuBQ1Dk9XrEgTnn3k9M"; e_fb_httpversion="AcKOhel99MV5rZL1sE382ouS1NScR12bCI7sVmDki0oHQUOstjHUE-3jNvz-"; e_fb_binaryversion="AcIVI9pukFYy_GU8RnEdyLXQpyjMrYqUxiomcfC6Xce3Ub-vR4DpAUi6KHA1ugiF62uUbgTyNmt2hUifIkZX5j7GtcZYV5S_Gko"; e_proxy="AcL89CHfebQvN3E37RH2Pzp8EuNG4gm8lOfyz84P144NM65S1-XuwyYByd_IP09B1ayXSZ_h44g43lTWgpAr", http_request_error; e_fb_configversion="AcIEyOxJDjSfNAT7ydeuZRI5R9IffC4b9mlxUYaPeIz5aVVlwFpAc1ahvatcpw"; e_clientaddr="AcJZYD8uhz3ZyZVA0n3iZg5XFBs2bUPu3f0X15qp2QeCuZcgB3F6EkF8jVdtg43JjmyEPTBFQpvn4N8-iA"; e_fb_vipport="AcLwShf-9o6JRpKrxhkj9a1e0zdJZ1IrQWj68lHkLfPcDz-jxVMPdnddu5jq"; e_upip="AcJayNapLv_z9VEC46vO2f2rwSmeZuBQGWJkX4GDrtGeOb0p7jfcVnM5740ZlAObh4gFP3PO8pW4b7Dz7rm-E2l-klUPQHecdQ"; e_fb_requestsequencenumber="AcJcw0sqMhWpxM1sCPAIzszwIdKUKDYiIk3Vn03tWRdhGwBX_dmVvIj-Nw"; e_fb_hostheader="AcImpPgKZb6Gog4rtsoZmWIW7CJsw0kDamxPyWfsIfZ-uOZZ1mi1lNdvku0vZzBeUoQeF1wrghHFAgsu"; e_fb_vipaddr="AcJT6W3Zcz8_n93i65yJC2_sONX0aGAd_G6w-DUcjwBaaVTh0YvzRrdM-_V_BZiYCmhj74uhdg"; e_fb_requesthandler="AcK15GJhq-kXsF6NQkrdacG38Gvw7envVQlRLZFzzXRu2aWMW-z09Nf5cF28ZpdRMri2OQT66g8"; e_fb_requesttime="AcJXZaaabCceqOy6Vhr_Rbdy2e1zjQBlARoTSs2Y7UEzPkuGzJV5KxMd_bLKuPiVPgaqvkREfQ"; e_fb_builduser="AcKA646iG2h2n9iehvJ4YCuC2ICgAGUP8QIjYrKfpZxJy_88VbEhDXXy3-DaqhIfPrE"; e_fb_httpversion="AcI_efooOilyNFVnM5s_c9vrj6fCBQxRJchaBueAQFMRSM9rIxXb6ndERXgZ"; e_fb_binaryversion="AcKabNQr2YrWX0cS3zbTNDVEOhRVCu6mc0bHbxasE9hPHW04l6YYdKKpO2aoPH6VieuM_yFecJyrWna8gsVZrEcmCdjN4Ocq_8o"; e_proxy="AcKJ6PL6vAAco1jecwm2oID6djWMcc0YIwQtQRlGRxB9YGFW20c2fq9Y7BeL8qp2_HThkOXioHTNVMQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 22:44:12: Error on send one message facebookId => 7314510381928980 03/04/2024 22:44:12: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Axy9QwlbAhDEM4UlWC7DJkA" } } 03/04/2024 22:44:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:44:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:44:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 22:44:40: Error on send one message facebookId => 7314510381928980 03/04/2024 22:44:40: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AArGRBEWz6jQJ4JJyIHLL_e" } } 03/04/2024 22:44:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:44:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:44:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 22:45:47: Error on send one message facebookId => 7314510381928980 03/04/2024 22:45:47: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A_1oE7m-EMfEiInNF9EKp09" } } 03/04/2024 22:45:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:45:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:45:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 22:51:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:51:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9001002, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AksWGxRT3_l9lN9BLGMXiR0', 'x-fb-trace-id': 'CxPyqYTbE5W', 'x-fb-rev': '1011818264', 'x-fb-debug': 'mYoEzbAped5fjUd7vnfV3artyO4Tjz6DM1Or6IvNGAzA9JkpzNDAHA90NnGhm7QhpLjDXSRZVgoRldMS8pD2aw==', date: 'Mon, 04 Mar 2024 22:51:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKdqyabAwTXLbPnTedAOWG9grwyggTrfc2Hs1D0HNTEF0wtiZd3rm9A-5hDvA"; e_clientaddr="AcJIjTJqFr67bcCEQpQAGcDuyKj1j5Lr_ArO65cb5IYEHxoy1O9NhhQ50NtPpNLSBxIkqSTbuImVGd0rON0kqTxYOvN8Rl_xhx0-w-yS-hLWBdJ6-Q"; e_fb_vipport="AcKTSQF4OzL_r7tuRk_D2oO3YXIsGmPTYz1PHv3RfrXUzqVnZSUFIVXuALgu"; e_upip="AcLbMGSoqg99_pu5Taui4NHIyF4y2yXlYQxUEe-dgx9-sRObWuzWBqtDO5EN1SNsgMT8uOzH-hGak9g3daMwKGspi_nTkS16WJs"; e_fb_requestsequencenumber="AcL8FtrdVqyP3VrJgshtp4jpBeVbyqZnRQGRfGVuPFDqoElBVVRcmYWwyXmsOA"; e_fb_hostheader="AcIY-w6yHbBxYUfFJ0omlAYs2GKgEcgu2YBMBxHLUt8wV4rEINW31Vt7hwHEGIEWaudhQvtKh1recluJ"; e_fb_vipaddr="AcI1hjgMVagGLeyBn4RDpLnLTy2wUQfwabqpKBaXXvK2NG2SMKrzAxRFS9u42IGqIREExOfaoCQmNQgTuHgHua2RJHsk8GRa7Q"; e_fb_requesthandler="AcJJWZROSUoOaOvBzdsTEqM1VChFvXDSD8RHjuzEaI7yw6Flk9BXA1bT7vWtOGdW1_kXF4cJQ0A"; e_fb_requesttime="AcLq5JtOlO5MUVaeBB_XSCRdHNMlUSkdPlfJOMfDwAJo6L5m6mcAF_bQl-rDiR-Jsy0MT6SCyw"; e_fb_builduser="AcJjuRZrRppMEVRMrrV4BIpdXvw6_JqNcIVmHtzVb8wTIspVI42r0xkYvjzfB2xaLbU"; e_fb_httpversion="AcJQPBk9nXwYXdIVGG6lp76IfxIZedLCEWIWT2i2gLkXoLeGmiqp9bECv-Sb"; e_fb_binaryversion="AcIFo_D81eZVTtimcIcv2-_c_7vjxR5UXBMLhcmI5KzR2j9NyxN5wDzElKHMhErbfO-7gs6p0tGZ768PRHOtyYK421lHKpGw2qg"; e_proxy="AcKjqbKre6cxAE3ZpMKoynKlWlKNqyZENOYGUaEq8-z6i5dgaJm5P7h_p31uztz6jd2WSEJ_OOXcLBry653m", http_request_error; e_fb_configversion="AcK0UOkErYaiLnZBYM-hqc5mXec14GPew4WeXm_dCHpLMO9gw2chkNFQtH8KKg"; e_clientaddr="AcJbnhUSaiuYzTJWVIP0Q14qmc1of4q8acCc2o-wRFauxmkw_jGt6mX-MD83TAH2Xgx5HRvMKDcfwjW11Q"; e_fb_vipport="AcJj000QO76d20hjHVveIl_nZTKnO2su62o46ml0zFqrsA46bVQgM94kIJYV"; e_upip="AcLov2M1xBrYdc0CsE_2zb2aLt-s-j28--4O0wbb_mliM9z5_S1m6opWevas2KYsdbRSNc0mn22qa3l8PGZz0xP832vopHaWyw"; e_fb_requestsequencenumber="AcKSzuYryvj-vULwSNWrFH7Muz5MPQ4BoDUD8lFq-pn3BbSDVUiIlXZlSQ"; e_fb_hostheader="AcJwBrCK7W89PM_cnFVdy0jmhXx5cI4zP4yCIoLtSnHbmdkF9nYA3p819X93XVY56yoP1KRFk0YALA7c"; e_fb_vipaddr="AcJfr7d669D0-_uRzEnJNha21H-yGCfvpI9NJK-NocpDaXY8ye_WcptHcshkLx_cj_m_KNs"; e_fb_requesthandler="AcIsF1Dq2U-cVowqnVWejijbS7XKXSzG88DmW-JOc5-aZDZNDak-PLLAlQETkrCoBbHVfEFGsQ0"; e_fb_requesttime="AcIpM8_i4wKTKHaEy5UvK9l0D-2eBwImZWPrI_UiRfpPo56c9YDZR4Asxdv3vhUUNV9jznY8Ww"; e_fb_builduser="AcJfHXcs1Vl1_MBOHus6iUSE-UO5m1UnUE9gbZAefxMTlUm42VMaW1t6yyo9Krk7u70"; e_fb_httpversion="AcIEsiHGGmwhAUBK-gIacxv4goiSi0t4oOsKJhQlMFl_qU_hEIodE0om3hQx"; e_fb_binaryversion="AcIRMZTHdgstK5XQhDRZxCQDQri4viX2tK-u768AQd8tvrVxBFjlaJc-1USWaYnWzOfen1IMRVOKED2ZYkavCTj3wDIs_KCbsHs"; e_proxy="AcIe8lb6uuX_aI7yRKDO5VVrde0PttMqyVc0PqIDjAal-mq3ZdZPuWeoYSn6xyRzSi9XoXmIJMLSdD8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 22:51:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 22:51:20: Error on send one message facebookId => 7314510381928980 03/04/2024 22:51:20: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AOjR5kPjb8GU-j0VTLFaEL_" } } 03/04/2024 22:51:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/04/2024 22:51:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9001141, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsrrU09vOJMQjvkjM3Ggh46', 'x-fb-trace-id': 'Gm1vRjaoyGb', 'x-fb-rev': '1011818264', 'x-fb-debug': 'puy6/ujTYXj9eHswmfrSWl2rSkjQdDJ5yEjhpa2BP6qtnPc3ZAC/3iFi2ydQ5as/Os65BDF3Hd+ROBJ0KEQMEw==', date: 'Mon, 04 Mar 2024 22:51:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIFWMhT5kOtnfMg9rY-NlVmTydRyAD8dh7zdrZixuYweZUOToG7kn63FLph6g"; e_clientaddr="AcL7srYpFE9nKpVztakmnDAjx0YsnhsZSd_Huhvgu5ovj53Lkv0s18Mr7quGo5uGCICeJh91jv3ILhOQFeQzIDqtao3qiMscX30Eb3UooU8af21SZQ"; e_fb_vipport="AcJ297NOEy16aPvB1U7mDs0-UsP_8YCy83zKEaO0zl66seroqHp4u8w2ZQc6"; e_upip="AcLvntz-wSPaxGCajBW9dXhc89HW1pGMrVsvXN6ORXtxuQ252oHZ72czg8vduKUilbyy_u0Fym9gammDI4GvLuWobhRvrcBkH2c"; e_fb_requestsequencenumber="AcKf9ohVixDNHPQbwJBMnfupwD6s3bXk9LjUAbXmA798OJuUoVLWQf29NzdEIg"; e_fb_hostheader="AcLK5zY7Lk-om22Q23aveT3VzD7BsH3tCuTmYhmquMixFBEgNvyR97CR-JtJSrGU2RwEJVPGWjbNH-rs"; e_fb_vipaddr="AcJrr4zIM14Aox2PNHGWcy0XVWinp6y174L5NMvU4a72RibLjbhRaGStWiRZ_xZeNqKoCK54Xk0LnoK7CokMFHPKICx_p22iCQ"; e_fb_requesthandler="AcKqGE7mWomV9Z9qrDEuLS_Yr8y4eUq6ZODFAjb9924r7kIxlOQOyPbDlsupnpTdKQ2Wz4SBFHg"; e_fb_requesttime="AcLmGDC_v55wM0jGtQpcJdxdsi2FNpr81-fQpnCMUQrPJQJv5OPLDxrh4CsGW8LkVo5GpM4mrw"; e_fb_builduser="AcKWVcUTxBI3H-m0ptV87afiVfRvvoe4Ff5FtDk9Tmm3h-r2CZKMVI-zkA3Bp3zKr-g"; e_fb_httpversion="AcJG8ocm46THIuKIyMf-ZtaIuIlJpjvvKyTSDx_E-3MHo41gZIZzVxkaLA00"; e_fb_binaryversion="AcKyOZyKjgrmr4T33kIGW06DaOJbTzn-plLakIKVrI-xV4MroJcY31kDF2kcusa4jjF9V4V0UQmYzxWy4NQymNnMui_mkryjdis"; e_proxy="AcITjWU9uyQV8mX1uVwhc1OGLV2e9S5x-OyfYIMgMM_uB-nD8VLLM7aPqqAdvO3f-9O12Xm6IvHVTHdhb0xP", http_request_error; e_fb_configversion="AcL6rcVBW0dU-ofOrfh7ijqN0n9ekGZdEj4IuMfR82SpyKm_POBZE694dk82Xw"; e_clientaddr="AcJkRey9PjKafk5tomhkHwW9AxJWfTCkq1h_97F9FDu2UphatLyGlAxGtAiy_Umx68a3tppuGSld-wjYow"; e_fb_vipport="AcKzdHd2T9WA7fDneyAfR1ehoOkccZpCX3WiZC0NmL2DBS2lNKrrvCQIQ_sM"; e_upip="AcJUzHNipQb7bhmCO5lrmbkicjywsE9LCzBTj0v6-akIR89iEYCTkhCgJOg0bjczU5pMQuki3mHG2ii8Z2E6ExbUxp9zt7lIrg"; e_fb_requestsequencenumber="AcKPduFMkPF4YJJDE3SWK4C_0ipmuVJLz82dlUHB0jjSSA2cABi-t5terw"; e_fb_hostheader="AcLkc-FCyxclqNc641hAi_fCJhmCJKVX3ZNCyP4bx5DHykEDTsNZvBHRPv1DuNWxELjY__2AVf9HZeW8"; e_fb_vipaddr="AcJMbwQcDDNYzdZcsiigvcgfylb1g7S2K7qU8IYf_NUAv_d4yRJdElCFLD3GPwSRiqXzd9U"; e_fb_requesthandler="AcImOuZl9YYDY4ezgQaDRHP3YpemrccrDB-5LGTfjumFKCQgyEI9Lze-XormKoeVWjwzcmiua2A"; e_fb_requesttime="AcKkbVLVYWpZ8lRw2ptDxnaVyHoCXyrgi_wioKZCsHLgT5pE4M0rE9s5PlI89GM8J7K3_WPK3A"; e_fb_builduser="AcIbCBhqprweQ7Cj-rYVqaDOzb40kTx0kPCRQIbds9ZldTbr8piA41gO84UyapN72pQ"; e_fb_httpversion="AcIbp02tzfpn-tTpqallrh_bTov1T_74c4brn81O_zR65G8q4ebXRW9vDBSN"; e_fb_binaryversion="AcJyYRBW_ZUgiyllI75CYHpFWec7jHDysHERm9nFrhRYaoLZp93WTqW1C25VOuEGM2uxdgU9jT4L_AfC_21Nn_xKSTGbzfaPRek"; e_proxy="AcJahHAd98ggQspM17dWNTAg4FiYJrHKrkMG7fPZEa1udIzUC6kyE3Tx8tC-EZZ9MOsfeOF6-V0if1o"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7314510381928980"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/04/2024 23:37:47: Error switching inputType 03/04/2024 23:44:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 23:44:00: Error on send one message facebookId => 7134846166612608 03/04/2024 23:44:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AoGh32faF9YxEZEoUkQtBCA" } } 03/04/2024 23:44:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 23:44:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/04/2024 23:44:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/05/2024 00:11:24: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7745942645436786?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9015422, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7745942645436786?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7745942645436786?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7745942645436786?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7745942645436786?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcZysf_15zLdEA4WYzO3h_o', 'x-fb-trace-id': 'ETaVDvOzyvT', 'x-fb-rev': '1011821677', 'x-fb-debug': 'ft0JfZGmtZ62IvsRhbFsMomvwoL3dXpk20ewr8+NzLs7/NenS+b46qvau4QXQDGLvKxNaKSTOarRxOpUjUtz6Q==', date: 'Tue, 05 Mar 2024 00:11:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLToDVrNe9Kl_RDmj9tJ-ddy1OeC7hPhEHP_XcYA_i1jWL86H3FEzcjBBuz5w"; e_clientaddr="AcLtVlLBJg9o6lOjyTFxGIzmfQQsb0mZqkuxgsu0TSOE-w_BA4lnz2hRNvuqcgdGrSchiVpUxg2vb4uo9s1xqveEY36Fa1V_mRRyLv5biQIMRpx2"; e_fb_vipport="AcIdafCqIAG29BzPfcs06dlrhiCoV2PM-Ah9PmrgSgRu9DLYvbpf2rkFRpgJ"; e_upip="AcIyz-CLct5elBxUUvG8cKpkPrmjuMCeswYOJopcwBmxwRxgs3-7Qp7K6m1cXwJulEa9-96hW4t5vxFwizt48SSIFsYnzz-1Nm8"; e_fb_requestsequencenumber="AcJsjMIlgbDAz8jtpo-UVhLjP8MxojlTq5nGsZEs_oT3xzDhDpPlOjZ3DDx5uw"; e_fb_hostheader="AcKG33x5BBLmpAPqAz-Y3lx-S2BsHMNerVhOU9wLlwvTq5xO5FSJYsTYJVXnrszsQvPDmSeUTCuTjmjb"; e_fb_vipaddr="AcIZQB9jOvVVI9FTs8IiUnBoONwCga-55gNHMMGALMeJgOZL3SpNWi43UPQGPsd6y1dOMJvLX80AfHVAIDkasJz4TvLcI4MCkQ"; e_fb_requesthandler="AcJlR1SgOWYdeehpDgStUOXrtel5hIy619DXJBAj6tdPj2nGCxShJenyfWqQc5SnKoS1sa7u31s"; e_fb_requesttime="AcLVi58bH7f1ne6gXFUsCNqg8l94_Zp9mI0yHGgyjo5JlyymEtC17VyBfDDSCTbj0PqGINq5eg"; e_fb_builduser="AcIRXU5w_XIO1EGXGwIkd2SoT4Co_fe7UWRmaYKc7v0FnegsJweBQ6d0mv6oEi4VwB4"; e_fb_httpversion="AcKdHprOH_hoRMk07yFNHPm-fJaZ9LTIbekH13G9c9FkLll20lK2icoAKp2u"; e_fb_binaryversion="AcLCb0XOc5iK7Qmc5gl0QF3_O8PkseV-ggybeyjzUSqtbkFr1-jdHRRx9-egA4ae2-tqjn7f9_1Ata_3WIZeOtPgLnPxTvyNR9Q"; e_proxy="AcIeg6bjU6sSie9fdGuT7svZ_q_zpov87iQsMpwd5K2w1rT8GQQFdVeoles4z5vzdCI-QP6Ti4mmpLfmkUsU", http_request_error; e_fb_configversion="AcILsAbIgb2tpltdIc2x0LwNakPC-N4K99pH53ZxmJ0jIY2dLiP2lNruGjC2Eg"; e_clientaddr="AcIGkK4lqpbMPYlmY3xSAOa7jqk2WQCQoTfvNwsq473aFk16Mz3oLznGmv9nc41t0q_Bv9IJX4-j49DgXQ"; e_fb_vipport="AcJdjFG2qMYhukPqUiDSHjXyFWpurOW9zlSTNQQ8qUB_E_uK3JjTY2jBpOpk"; e_upip="AcKiDXr63-pc4xY4sbQ1uu9cwtrvKJYtGXrepCSELbChVnu5Y_51CKjRGV322w7WSXhw9rTcjunE-aO7AcBxpgiz85HrMBuDBQ"; e_fb_requestsequencenumber="AcImdFB6tmk9wGMZjgW6vX2TDqBX2sn_8Bw2w0mFLRTq7oLZsEitVHUQuA"; e_fb_hostheader="AcLoLE483apFZyyXybBxtXAgC2EUQBfy4ky1L1o01hvMjjN8Co41PF76N1ukLbWYiLaPc-RJVHfHr71b"; e_fb_vipaddr="AcJpImHEZ7bx03NP9UeVb8vjcAbE60ophbFlj1vMkQK2_mRNS0yDPkgMveqcTeyYLvz95y0"; e_fb_requesthandler="AcIcpO9sqw9RIWl6yW4t6hpKVOJzn8uLT2RgE6yY88vgkIbKe5GRE7XYGl-BAb_C9hYEFlaaU-M"; e_fb_requesttime="AcJO4_LRChwQh-OL9bSC3mIX2CMy3wio3TuESzUiZ-TyOgbWpygU7ksxLonJEmqBj2oOkuJkkg"; e_fb_builduser="AcJNxSf1c4BuWLIUODajdUd8aJ4kQwP92W6Oh878ss3tAd--PU3W_2rsnvXaOvGubz4"; e_fb_httpversion="AcJGQJS6PE3QZgR_PMo4QnTd5ROV0oLV7sI_-vIvMfQvT6BPwoKJOKH4G8CY"; e_fb_binaryversion="AcJuf8aH7iJmY2AeSK6wBxx9-hF_gJ7zSoGU5tcaRUENx1KSfZTIav18gSyAT_zgSGs8BFkjkWaSia2FDRhnOB6Q1mMyWLIwFYE"; e_proxy="AcILLegv5xQ3Rp-RFEvQ_qxaUqjFd1V2VirajhUoPbCdKbCTnFfbOa17BReK76WndmOfXpwyiw2slTk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7745942645436786?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7745942645436786?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7745942645436786?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 00:11:24: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 00:11:24: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 00:11:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7745942645436786"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9015540, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_hMxI-hMmQH15jJIv3Zrz3', 'x-fb-trace-id': 'CKQ2qZ1NvKQ', 'x-fb-rev': '1011821677', 'x-fb-debug': 'QhyITC5D2iwE/NuB81PVz1QbE8EI+KhXCOGMQlF2HV/kV7/LoAgUT6m+ONMP/U3agpZOCazPnnaFAHcIgTzFJA==', date: 'Tue, 05 Mar 2024 00:11:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJkM20iCDxOqzvZuCD73JDO5dHi4Op5bMMksIm2C_-saSfBE6qLyS5J15NtaQ"; e_clientaddr="AcJ7WM6llhQnv2AoRBt8vQsNhBZ3cZ_hw0TCjD_x6RcoDKWC_10n-XF4sr9VdsvVk9e-xvdB7tu4e6VTogHEEOMmX3sARxLQLC0_yEjMn1n0stZ7"; e_fb_vipport="AcIjPcIeGstjGwZTGJRksKwY9NWIzrtDG25kT7tEw6U2e5HKSFS6ICQy9GPd"; e_upip="AcIXKC7qspEWaOqkSghHM3R30dgTGsBTm4j7iijXpNo2surlqVq_tZlxCraZMASLWJkTHpDibrMxa-0UUYK79pfBghj8me44lrU"; e_fb_requestsequencenumber="AcK7If6-Tu5JFocdZse0pR6iQXc7OqGl5gbycGDX-MdQXgnY1kNGwvlFZnYCvA"; e_fb_hostheader="AcJ2P29VuUQ3_UKiK14k2B6VZ7UCigxfbBRG0dqZuxs7_L2nTkLL3AOOn1taVSQX2bux33gWIu2NQ5Ow"; e_fb_vipaddr="AcKj14mx7TqQW2TN_y39bwjpQPw5eZdWd6Am3NZb1FMUm6_PfztXABCFooZkGsDPeFtfduN15zDheef02O2Z6Sc0StCmJ2L80w"; e_fb_requesthandler="AcJOiJ26ZohUnj7ynhz0Oek8cTAcYap6Gymc-bFowQzSVcD-hHAqwacf-tejDj3eGFaJK-EaC38"; e_fb_requesttime="AcKvPm9R7Ea3EY64N2MsQGVu4HlOYpEhxojN-TLSzMtoOn-N7FndlS2rTDiIq6Vs9gorXpKOqg"; e_fb_builduser="AcLsPBA3cU9BUDZsMvOLn8DlvpKixyhoepz3WbDX82Pant2bgqrjdSQ8ULrwu0ai18o"; e_fb_httpversion="AcLvbj0SGe14kKZ_SIImvxwY2eu0SxYju8x20mYggVZjjBgBmkTMMcVatQlx"; e_fb_binaryversion="AcK-zukb5djvKtGI1fw_6tYX5d-K20TP2HN5dtofPGxu-KDy9Cpnt5G2hqKFTnfHKu1SnC0KIZRck7z8qq2RMgXMJ9nD9Es_ooc"; e_proxy="AcLLf5we1gCa55ske7Nun0NctmdjLy0pG1g9BR5n_npEXxRtgd_HsL-3XoEyvdIi3td1kVtkKUwTMaVjQrtC", http_request_error; e_fb_configversion="AcJ1XL-AgV3_Muv7U8o_xGUOpqjfjXBPr-k4lhHb-hTLZNyMhg_mBwtL0OArmw"; e_clientaddr="AcLpPIlAGC38EJWEnmogtbdh42LMCy_kIVBGYVIBpu8C0vbrQE9kYV2BEbXHq_8fs30qC0YK-iJ0tLTOyw"; e_fb_vipport="AcKda593TQZlnbx34CfUZqfDJpPdBqEe_G34Q1YB3pVuGNDzgKh3r2_l7Wyy"; e_upip="AcKcQKaamL5sDTSC4_CWl1q-3lSEBlZNFeEqik2gRWPv1igw7Pm7qCnJOFLaYU-PVbAeP9x2iUkDSmr4h_UcOCnra2U6REj73g"; e_fb_requestsequencenumber="AcI3P2rWXXHtqclYUlOfD_3r442JwgJMpNYunyTSrg2JvZN1tBYNwHMUfw"; e_fb_hostheader="AcItMTWZpaL_aCkFtUNMHCT0JfADBAlwYfXHRLxmQSs_Iivau9S_1SSZ7tAtWl7TDK73SFAqTEo5DdY8"; e_fb_vipaddr="AcKdl0Or208_MrwZOnhWxa7S-zUEJSU2MT4lS4rdjVXuzuMrTHTn_VDmvxvbAvMA8LKasZE"; e_fb_requesthandler="AcKOvJSQ_86n9oh6QtV_BVj39_tn5H9ShFJP3d8ZMi1tMd0tnpvZOj0LcrHZYtRlYP8EwOx6DiU"; e_fb_requesttime="AcL-27bZhdIzvYvicD6MSe21QPL0r4M-rA-vn7B0In5SgzDSFbu0zuV8E8lvKUpCaPTJn4ceLw"; e_fb_builduser="AcLEnlEMfeihWanhSR0YGGicPFHlVqb6-xXA5tNwJhhtEli2MlPbQ753vJJsi6WRVe0"; e_fb_httpversion="AcJ4ymyXZnQ54RPUtpIitCGbmeAgkMxU4bdX29HPieFhn0OrigH6Ikhfhi9m"; e_fb_binaryversion="AcIajMR35i6RP_CrupWpo2FPBMv8nJPgC_3KPnARAOLdsB0Lr-uCfT4glbQ0JnqjboRx4T6vuYPPMapyXGfGp0ChI6EMLTbQ9vY"; e_proxy="AcITiHdDPLWcDcFdY4DZwyHPY_fZqAwDQjZPS47xGJjg6KhjaWeX1g2HPwRN37yYYG-JCIELNCOnF44"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7745942645436786"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 00:11:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/05/2024 00:11:26: Error on send one message facebookId => 7745942645436786 03/05/2024 00:11:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APcqfFSIHSJy6MNnQ55lcG5" } } 03/05/2024 00:11:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/05/2024 00:11:28: Error on send one message facebookId => 7745942645436786 03/05/2024 00:11:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AvwePy3dbRJzFxlJLjmg8Gx" } } 03/05/2024 00:11:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/05/2024 00:11:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7745942645436786"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9015622, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AA48j9FOeY8Dxrg2rbCWsuO', 'x-fb-trace-id': 'CcicE+QR1kj', 'x-fb-rev': '1011821677', 'x-fb-debug': 'LTIKEOsY580OuBVFcR0ohp3j8EKKTKrD9Ahwjb3ovkpk4mzFFNHO1SJu+I2q4ZCWRirTOs9iABkuYXlZAKkwWg==', date: 'Tue, 05 Mar 2024 00:11:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIFpjaqv1JW45u3gfopsdBKGBmRDjFhk17JUzDO4crYfKrURmWIqPVmdnVUZg"; e_clientaddr="AcLJvf95-3xruMUBx91OZqnG5kcetK6Bx8N1-AJi4wadEjTP8TGG2g-e7RmRWUinFzgAu7WIdO3ZxfkRoZqyO0Puxk14wLa7bRcbDRoUP1pnfZVgVw"; e_fb_vipport="AcIBvcjP6orsHtokheBLCWEGLKgwFhyzIb6FHoiqiNjdHprw21D0vwr76UEM"; e_upip="AcIl-TdCwAG3nSyLTMyhf4sVhFmF8-3Osa5_pjbVbfPNz1N5XKWU1hvBLSSufV-qpmErVAQYCBYiCdmVcALC-KCZeVQ8WESwLwc"; e_fb_requestsequencenumber="AcKYFdzMVVPvmI4e1G8ajdwuCsgmbGxpzDwOJuxwt2P5m0wBXbW0ruBIWwq9"; e_fb_hostheader="AcKWWVHb4mMOq_WDDao9mudKVnpVwu81wvBG2y1ua83ccf2ctaV0jt8I3eTJJTDBrxHMW0rhVsdMlZ1i"; e_fb_vipaddr="AcKdDFGZG-wLrQMZycQHmEveM0YMezGrQbyALvmeGWR3y239TdazoqUGuOL2oN-FqvDTtj94LEqFudwQjPwhhyhS3RrRz8xFxw"; e_fb_requesthandler="AcKA0YIiLeIrIAwBzBDZEqUC0XNkrzrhxSTrr-6_-gr8ajKGAI_aGVwJOJsuxWKh6z9DbzmfQcI"; e_fb_requesttime="AcKPoRSDItsagLnmfUv82n6EUaUyfLKKzr9XwY1rKKPZ-e1xrE5-CHSJ0z3Il1lVcjfI_U0tYA"; e_fb_builduser="AcJuDBmd1uP26g41pbIOEzdNVGuJM0NRtmkrtwU1cnTXi9MNbZHtykhSCa50RkOm_s8"; e_fb_httpversion="AcLdkDgf1Mf5lbdhe7wbLsCy1-Ug9wc4-BHgf_-6HvjGww7u9SWt6S0EKMGf"; e_fb_binaryversion="AcJqmn9pWapRYEdlaw4knqDaENmq_frfsO-E1n3F_v4d1RAx0BYoGF0HJm6WHbFWLON-TNThlr2q45pnbf4QbDjt0kt3BHwV0rg"; e_proxy="AcJat5JB6NmxCSXrdHTeWpOq9x_4yohh1_D2mopLCVfK_MKPdIjtL4ukeVQvrKUYSVZlkCCapRP52a1w4cWb", http_request_error; e_fb_configversion="AcJTvSLWaXqG-ECeGfoh2wpTcLxiqRAtbMKLjVUPXeCnMTLadyGJKbkGVZuYhA"; e_clientaddr="AcLFec5g2Qvt2fIuj9QSTXnDeIconp_d0z7-rZHC-LttqWFhKTmglAfO2w04frTxox-_hmLE9OAVyGvaSA"; e_fb_vipport="AcJ-jUDKMGVf8IO-1jjagi_7XV8f5NfxLfghUP-7Eqj4Q6KTNhJ_uqmIxnUw"; e_upip="AcKKK5s4PwMkmXluTRf8KZaGneQuPB9gtgLDvync8tna_KBvpui7E0adq0ZDiE5H4Uon_nnrzoG4kqu0oLMHxzjpF-ZYnJK46Q"; e_fb_requestsequencenumber="AcJ_lJ4tnTLElJCfjYUq9VvDcdn7TtSb0GGSP0lTQ3j8-2ulR0eT6DYRRw"; e_fb_hostheader="AcLIwLb2ngjFrl2SkaMaPOAZDKO-OVSkCsQYHElJG_T0BC1iKIk5Kd3qsaKeyY6v5dXzDgy0IGFPvolC"; e_fb_vipaddr="AcIVqjGbrOIg68tc_zzOLkgy-igw9XNe-1tJBoaYns6Du1Qv-r0EBb-WQotw2j8mxN644Ivw5g"; e_fb_requesthandler="AcKHItv_9TpXtkLsfla9HBrjAt7SYm5Z60gpKd5H_kpl1HjyF7R_WKEa0Izo9-n0EOnT0egawzI"; e_fb_requesttime="AcLECfARzUCt-FKfvOVNXpQl0TwnkIzQX5VNjo1_E-3nmyLZgxDT9kFn3gFyNW8NDHnPnQ15YA"; e_fb_builduser="AcKJsXaLJ7mMso_4Fw86uB4_fb4W_apIcreIWJkr9pjQ2aKIyD59DjPQ-Vz0ytY6Bo4"; e_fb_httpversion="AcIGAy3nIb5HYEHDmR_56J_AyHBDvdUbvMh9rkPIW0GQWyUaW9Bf7a1yKXD1"; e_fb_binaryversion="AcLQId2M7Dw_9ikZnX5h0K9YpMPm45S74GtVbXy7giEFRKFl5IoOcyYFaB9-BQwaC2l4Hf-tqjA7cj7YlIuDM6SMpby4NpzQmow"; e_proxy="AcKR33FT7fTBcH5mkmtfiKDagdlUWYt8P_q_PwiJR9HM7kpQjjJbzQWXWwLtRQTV9gqsPZXWP7J5dO0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7745942645436786"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 00:11:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/05/2024 00:11:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7745942645436786"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9015761, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACcPVpbfv_XUy3efahAPIkW', 'x-fb-trace-id': 'FMZrDQBmRFW', 'x-fb-rev': '1011821677', 'x-fb-debug': 'efwS6/wvYYQuTYMEWvFObMZjeOjADd6ZpsKdPWFozmMAzJcQSLP/LOeMuE3PQ8D0m0j1Sv4GE+b7ZsmOy4tvHg==', date: 'Tue, 05 Mar 2024 00:11:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKNIkRCClmxVKNgOzMDFeuAoYqROnBRe-68etsEBKMeS83z6iG9U7vdWkySrg"; e_clientaddr="AcJaU6WfO1zOPh51NyM-8KJfk_Ub-tGycAtnena7z7RaNwzwMaLKojrVYwmg4tPHnMygi_vknoJXbD3bN19u9piekAByD8PxhatMrJCQQviP3fo"; e_fb_vipport="AcLEVFRtay1uYz_y6jkcCqZRmSB5rAPDSfudp5NToiQf_n-qRkr7KEPzEEUH"; e_upip="AcK34xNGAGMjWj9cAnr0Eijx8EZMDP9B0EH-t5hCe12RgNXgrBWnRaw__E-QykJWr0c3coMUgiJDjgpEGxKFVdxI-LlHIGTZHg"; e_fb_requestsequencenumber="AcKWGgkvNaA6fYWkuW1twf-jr4gqnwNn89tJ7q7NwI72utlTTdWtbJZwQ7L7QQ"; e_fb_hostheader="AcJSnB7S2XgL-LErJUiIeoGxCu3hXMf6bw_0fQhYxgjVuRamIpBFE2IDmWmiZ45LWSSuY8YeFHMafjwU"; e_fb_vipaddr="AcJoSdPr6vfaeVXLcr08px2jdydWcN5yti-3AZc5RUQ6nhgKj-nQEM__zABqLUZPIAmtOOLYMbArjClTDzG6dBDtctbP5_vDHA"; e_fb_requesthandler="AcLqpZHJSkp_FskCzLY24qepb8fbWZ8cZQkFXmKpo8K2HUdmbMDwqnbreR0AGbZYKfCVOEQItwc"; e_fb_requesttime="AcKbailYKE7gON7vSWpiphiDSSwzMTabfotL2YLfTZcVnxbGxgSKFW_NvU7RLcNf73C_BxE2Pw"; e_fb_builduser="AcKtK8PuLet-zHDNeDLMUf-jeVOqY5pgdbIJuL5G1aqe75VEPA3B44cuzb13Lu4KzZw"; e_fb_httpversion="AcLfzGZV7Ltdrsv3NXHsyCNytxowev2kVMgz-U5yVMq1gShPYKIeX6m9-8a3"; e_fb_binaryversion="AcI597_KKcaJzw2YumU9UpbYHka3ggFsAAwPyr7IuQbwYrKFZW2mtfSKT7WovZVGMK96nXa29pW7sYEenC3146L2dzfP26Wrs9E"; e_proxy="AcIsnmfR395Osfc2i2AN77O0Hs5wOzzxyRPUL31ztg6OTNWpjQmhCJJqyJaGmE1P6qzl_8aYi7jCaFdKdU7J", http_request_error; e_fb_configversion="AcIRrIXC1GV-pv5bOAd9aNlDG8UBvFxX3LyRG-SurhKpsjCQCjwaU7KGRLH5gA"; e_clientaddr="AcLhXil-uN2327jvgQRAFO0247zfFO6gfG03S6Qijw5j5ze0cYaMNJzwU2v8wD0CLGfrpYLbNANsh8ZZxw"; e_fb_vipport="AcIxrgmpSnxyL1F4WQ48FVmtHEhhwIeu6dlcidSYuRMAxyTKdBDluOd15u64"; e_upip="AcKpdm-KYxGM6gWUJi3TP1rJM87Bm6HZ_ICkbtek8CmiE1bn6gTY9N0IfZXi6DUhif7kQE0ZsVxJ16V9cYDqXW6gn08UJbZDOQ"; e_fb_requestsequencenumber="AcIfgy0R9T4lOz3j1RNnl4EkjtBzZo-WjCwwCq0oR-9SFm9LbUaKNTXZhg"; e_fb_hostheader="AcIKX0xRgdIlWh649HpI8a5qRwmwZnwqQJGU_8CHteOUEzgphXO8R2qIwscxe0SZoSysJxBRz5IGcXRJ"; e_fb_vipaddr="AcLYJBZNctjq39NLLOjIuZ-9kxBxiYKwRPjwr3XaGlP5gEQqH2yRdS1BqGxRuD0BRqtjy0RBiw"; e_fb_requesthandler="AcK_e6Y02KA1eLoo82AJbmVdkh7WtoAH0II0oqPKzOdnYxBuENeHwMoLjxTMCREvt4CsTV1xLQ0"; e_fb_requesttime="AcLc7o4UY-rYftpKxcg9Q9TeLDFaMH_fkZqhl_Cv9uN5T8vAlWEK8gkHd_Culv7thEUDuD6a3A"; e_fb_builduser="AcIgJg9HHzhu2GTc5IyFmnKI5StJwkRmyZ5bpSOWnzsw9pm5VCVeqyb_xPwNSFmEAIY"; e_fb_httpversion="AcLQ9iCrh2y6ujgwF9bdv6d8KJSz9FyAYPUoMKnEX1U1tvxFBsF5ricUTzNN"; e_fb_binaryversion="AcLqnuXBvWOALAGGBMtpk0-xI1eMueu5VDqUthMq7i0fgQLZrz5Lg0Zl1v08nNaE4Dji7ug38W-omf-3FLUfBQ-5MguDqV8tc08"; e_proxy="AcLP531XfZdwdUZ1PUr80n-iS4yhbojaBOOeN_uwTIujUsaFoq0pmzPzjtu7AFQNoFGY9UmdmF1pjXk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7745942645436786"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 00:43:56: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25003362389278293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9021241, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25003362389278293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25003362389278293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/25003362389278293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25003362389278293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ABnaGhANnAKTofJGoEonX-T', 'x-fb-trace-id': 'F83kn0hGFmD', 'x-fb-rev': '1011821677', 'x-fb-debug': 'ourOrI6JT5hzpMGaLjN7Vn/R6t0L8Xi8rsSQzQNvyle+UlStQuAAeNKsjF0kZN9NahDFyH4q8AhdPsM0sJ/1Fg==', date: 'Tue, 05 Mar 2024 00:44:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIU-pVq4mB7mlQ3uNMbbVE2z7vjmhBczZWPHUsarC6yg5751fRuZ9eVjGkOdQ"; e_clientaddr="AcJRt8nzGAqkBnvtjb2fn-3diOMPI2p2NKIJ8P8UYIUI4LYuII4yKXZzEptNahO9MXkfcNS9A1a-mQh-jTvoDg_AsWvoEX6FRnDfK_HwkViZZpyp"; e_fb_vipport="AcI1RkXIrz_LRXp5Hd1bMDmaOkolAv1xNQ9Rpa6Hlg40dQaGP6VPP69e_tZh"; e_upip="AcIHD1cpZv-gOXI-qxdJCk5SzP1AJ8XUtgyMZmcopsmme1R0YsaZaHyhvWE3ZEQ6SoTY4H0M_2q3S9ZJm9bg26g3f9PjI5Ey"; e_fb_requestsequencenumber="AcIMi2RKREVxcqu_s3C955iFjuAF4v3wnsb0DlyDzmQpGCKotKxNW-lXrBF4"; e_fb_hostheader="AcJXqTw4c9QPEHrk6zk6wA6YG6moHGfrgTY5jbhUZ6n8A5rTAuKYquP6kz8-7M8EdDH8A9MSilOxgGi1"; e_fb_vipaddr="AcL6wYYeiCmDXiVTh4tzOqIzypvuvgnz0NldvF6nd9_w24zQ4TWYPbaGfjZ2vCKYPYmEKBVyrSWMUYoMJDNL1BQu8J3AZvloAQ"; e_fb_requesthandler="AcJ4_MSIKdSCmfryMLTu-IWH9Eor-JXbgjmua816p9t0sraeDStW1rXbbZ1aDgUsPLJYnOFJSvg"; e_fb_requesttime="AcJjojs_tzDSRrJHXoB8xSH8rpmCI6vteltdhFAye2L77X6i7KQ7qg5EfpzFDTNgsyzJCqMuYA"; e_fb_builduser="AcKiw4eaHuBJNDMHlILpgqLAzWJSU5pIR2Y0UL4GytklSFqNRNO6KO4YOEyebktm_no"; e_fb_httpversion="AcL4JLOeHyMRmhDVlm67pKoVJePbhZbUT4CLfQAZbM_DfvZIlVJOTzeo39Cp"; e_fb_binaryversion="AcLj_LWTgkNN5O24FwRGASgGb7ssA6qkqFUmN8DQfHDgWcrLcsuqg1X3AXMe5ImMaHD32VF-x8SnaasJDh4YA3kcQik5TfgBPLM"; e_proxy="AcLzP9uxnHtrMK5np-oN5588z6HoO5bP4BieHTUjXluxSl_DU17R_hUNtM81MEQTCgu6DteBKMEvBiUv3Ak", http_request_error; e_fb_configversion="AcLEhCWC3eci9QLxrn53ozWIgjZTYCas-0YsdhO429Xe4nLGAuVoe2XrHlcYyQ"; e_clientaddr="AcIJ-R2_QJHhQGgBQgk3ANwuA3D-g1HQaOWtzNcmO5AC3jqOKxOiLYOTc-NWWqdZa1UpBuluFFwW010MOQ"; e_fb_vipport="AcIWB4gxv41gmjZ2flKEStdtofRsps_oT-jilRwfxyBGkSEK3wk3wkJAy7yi"; e_upip="AcL2Jptis6pqcbIOg_8exP8iz5vYshyFjZNeol56UcgtV5NsK17OvNVXY994JUeS-uUpSgVp15KCgfspiAFusQ5OQqZvMTpsWw"; e_fb_requestsequencenumber="AcJ8uFOcMPSQs-Si4XM8GjmrK7YvbA-iV8VflUQN4vZfTE4B4xQbiCAHNQ"; e_fb_hostheader="AcJ1pfON5ANhiIWnQXmL3nKYyM6TbgMQPzrXAo_Y0aYEW3vuJrG3cKr9CI0hCUv9RhF8yo4bjPeqz5wh"; e_fb_vipaddr="AcLbi241-e9CPxUoNsHJ8qkbt6T6cLYYyWkvWbm6fo83s5gvEddUzpmeM0u9VHjEktw__Fs"; e_fb_requesthandler="AcKGeO2OsPPkGQG8XzkDpje4x1gD2RaxYK3RqBnD8_MvM8V8Q-X7dhPNvyTJwjeLf5_IfaaDJ3Y"; e_fb_requesttime="AcL-7wzSfHm5DVgFzRDw_xHAEDZldFZ4Ky54iH9yuMPg8lz11xnPWacZmdQx4Cp0d6geSDcb9Q"; e_fb_builduser="AcKfU5ODrfLTiWnvuzqS6DvArl8Xb8sQjYI2AbQ4RTXtHLNJvetwjPZevsoJ130SI0U"; e_fb_httpversion="AcJAnj2o9s9RCj9vV8p5lxGivGobGMOsJfTZkqiYko-f8jeJgbqVIJ7RXwyu"; e_fb_binaryversion="AcJci0-7EvpAPrBIB9dM8rxxsEI3_QRw8Z4_z-UCIdVXKYWhy7wXr3wWI8uoN3w7367ypS9bLQTlR14ScsKYlN3TJHlSt49tAJo"; e_proxy="AcKB4AXF7xvxQAEEEE4C3NzsNFYZNF0pOMqwC-RtGfkQMw8RCGW0Big4hr3N2TUqE_3wIOAUwb40iPM"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25003362389278293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25003362389278293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25003362389278293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 00:43:56: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 00:43:56: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 00:43:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/05/2024 00:43:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25003362389278293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9021373, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_uboLb_tpNNumCbMWdzsnW', 'x-fb-trace-id': 'Ar0Gs+j6PYB', 'x-fb-rev': '1011821677', 'x-fb-debug': 'IuHB54+cwUG7gmUMnj6IPYT5WWVXDRxVfb2C8ETIUd37eczhPUVd2O5d0I71D6yFD0mBv6H54wQIJ6S/qkK+qw==', date: 'Tue, 05 Mar 2024 00:44:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIYrCoro7rUV95wixFVJpbbEzSSQ0L7tTClgBQVuDdRzXf6Fk3lv_o-ezMTqA"; e_clientaddr="AcLDe2tmYzUThYCO6ZNCSLxYwE5Zkc424wYXU6C3z3mXNqqq-n7TIzYINC9bIoGViDwIAbTRGYluA0S53AElr9D_9qDiAE18RrJcPEn59sZuNi3AGQ"; e_fb_vipport="AcJeJ3QMNH14az16V74tLmA142rofF7RlGU6UFzBAOjDuz_4TgzIdgFHkk8S"; e_upip="AcKfQWt6745Sk4b7aPtnkeO5NpChQcnwnx_JuySYKDy1QDR4dMb8JqOyJHFZ3jK205-3NBGU2pYkpZSEohsBSJXnLoLsV32Zjg"; e_fb_requestsequencenumber="AcJP5dS4wqnMpdnlgSvB_4qSx7zkB7sE_luuTJnzrCdhhRD9xcsfBaXjtUMo"; e_fb_hostheader="AcKxTDZk59xoEJmOGQvvbm7jGhnJQnbFyrjcjRWRRjwTJl3iIlDjfrwoppw6EGK_yvLc-9Oc7_R8Fi81"; e_fb_vipaddr="AcK6l2F9r60FppAeXk0UBhcSWK8-wEiLUauosib-N79ohGaRzFqkwbG8w9HXqgD5kJQx5gUgG3YIB--ioYpSuLYqIYpOivtRIA"; e_fb_requesthandler="AcIP8Obs00onz4OUHWRGBgGbloLWl0SEEpTKlPdN1vClTQgIA-pMM3aVYwQolsooBhAvxxHYut0"; e_fb_requesttime="AcIgE082MhTH8_vxnwr5HH6vutb-abtR9Q_ngEqtW4vDvOCdW3_6YtUofpAKFvDvrzXDnpyBRQ"; e_fb_builduser="AcJk3VFjTYdCr928p6GiSISahGwizYOWQSR2Tz6Zz-qgrJmmXGjxjqiekibgHJr3aSE"; e_fb_httpversion="AcK_d1yOeWa11S2gHi-BLYsQIwQ18FrRxvzZdFxyUiNy4JzMc2DnRaoUCfiY"; e_fb_binaryversion="AcJOTe_d_tcnnsX6Dl1NfKZk0c0u_vo6c-U-JcCLFWKkwZ0TzKCsiBUIiE0E7n-tHLnrjqBGbuIxJPPzzlIMGEWHJh69YMjqq5U"; e_proxy="AcLhVYvwP3pkqSn77sAffJob3D7YiK3dN8WA10aLCITJCswG6sf4SFnzFcEH25cc3oC6L9EhUhXLKvVEP528", http_request_error; e_fb_configversion="AcLAapheWTgAwscXeUMBwmmb103PXCxy-B7sYfDG4g9z-OVHJlx-gZ9HHZLRfQ"; e_clientaddr="AcJjoqBVDSESyNb3i-zDYW7_fGVu6KelznkPsgJfQbLsLl1kInoA0-oHM-1tcBJb_7Nd-nkNvtVwzkp4TA"; e_fb_vipport="AcJy5XIWSiu9w9iLmkUgB2F-W9Grn4_bWJThw7ErjGp0G3ok5AkhsvbIuqhj"; e_upip="AcIBn_NSUNIkRM1uBL3wxYliXGoLPqb8lH1MGO0W9XwcBjCpQAw1TaX0bqiwWa6WCXgqB4pVFUjWMINErOrCLeVd4kjBQAanlQ"; e_fb_requestsequencenumber="AcKdjDO28FhINYBDsajYZ7PYh_dJGifLFUbDhsVAJahDw6nMoYaxqIqCTw"; e_fb_hostheader="AcKjyDjv3AgG73EAn34LXyvAtLmw0bM8z0_KNAYLhdNlceZ3ppYYCopMu-GH61HGb9MN2ZzPDTp_BkY0"; e_fb_vipaddr="AcLLujZo5_mq_7rsw_nH9SnWOtAB6UQxELaQca6Qx5iX5QKDdP-pUzNFPqOI2XBHOT-MK9E"; e_fb_requesthandler="AcICRN2C-JQU6g8pNo-7B_BxNECA1WUaPkYCI4aDfH1r_9klR0pzQcBQggKTHd9e4Omv9DT3wCY"; e_fb_requesttime="AcLL6R_8BKPqHuJY-ItXHTgBARwjT3tObG_Uh8QqC7kcTZF-cfabNkrSrnEzA4RXeULS6KCrcw"; e_fb_builduser="AcK6iOxbujS6UfuR5j3xsnwMdczexdWv5H7nHX_rwrk9Wu0Wcoz6ms1bdi5g8aycFQs"; e_fb_httpversion="AcJc-PRmODPIw96K5s5yCZvdqnkvqXo2pUSPbKOWGCirBNf2KnYMgS3a5IP9"; e_fb_binaryversion="AcJjoZ1qkorrOZ1tK6b1cmP_ZJjmQSq9FLUkVb0uDS1yiZFDJA-3peBc_vHwXMjpfX0Yd6CY8HqHvjEaRTnx-ApMU9aoOJ1i3tc"; e_proxy="AcK0n1ZZ5Isiniqkt8WtugzJHTAFskAAiJ_KdnwmZh8yoIt8Qiy-1f8-J1xRTffPosKhU4AVTlEn9wk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25003362389278293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 00:43:56: Error on send one message facebookId => 25003362389278293 03/05/2024 00:43:56: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AquhXg--7U6cbncWYH2vXUo" } } 03/05/2024 00:43:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/05/2024 00:43:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25003362389278293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9021446, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOnimEXkUSGAev1cRHwFpzf', 'x-fb-trace-id': 'FsskrXYYstl', 'x-fb-rev': '1011821677', 'x-fb-debug': 'eMkedYZX0fZDV7JzhnqgE+zmaZWEW7rJdCjvupsA10v3KfJlBmZOwoECsiDMn+TipRp3fmX7GQDoQ1PD0e3I9A==', date: 'Tue, 05 Mar 2024 00:44:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKsgv7SpfH3sNBrsQbQHXDAO1mO5upn3ROrVu7ev5JUWVus9Gsyl237hCUMBQ"; e_clientaddr="AcLynPFNjhs_QOT-P1ocYW__LKz1uLZPX7wJXDAS8Tp2dgs75vT_kTwjEIN_TvAvYwqqBabQpzUN1HdMYIgM5HKp7jGx9GV_VwcQkpau90gwgYqwTQ"; e_fb_vipport="AcJRYgbG099J8yPhNuiKQcPXvo0yXzetZiSNmXxT7aC4ITM2iyToebaUo-G5"; e_upip="AcJxybDHXQNyQvxvRSBUS4SdCKb5RNTc3Ni3564I-QWU1EKYd_hPfDZQhNiLyy-CvH_dbBCLDwfibD_kH6IZ8gJrAjwnq0Q3GQ"; e_fb_requestsequencenumber="AcI5MVwX2vQ8TdFKXVZsUuKdiJx0E4Y5W8hkgWT9WzvxqpBkt89RhrHAEPankw"; e_fb_hostheader="AcLENLMl70h6Hccb3QkVmhB0g6QWmUvMFYke-T2OUWByGJmPYzYMFAu6hEiduD0JWwaWXa3Lbj_pWepq"; e_fb_vipaddr="AcK1EKcUnogYFHlH-m8dm28g3xClf4vWg2BCnMl-PGA2WADlehj0OqvRhJDAjKtEkKh1kAgml5nWgIgEldeqBEaFx44w3nqGQg"; e_fb_requesthandler="AcLVkRrl5yrHexWGZr292CRnCLrhZY-BuzEYWEApW_MnZuE0zR0d8YevrdiXRoiAh4iFXAvHqnU"; e_fb_requesttime="AcJDDqzNvs-P97siA5LzRWhdq7uZRJOCgkWOoDIDKzjIJM379bJrcLMBkC2uAxHjA8BuZcSV_w"; e_fb_builduser="AcKBWQRXGHq5renhxPaarcaco7mkglQ03DlN8UNju5B8NxXgDcS7tTrL5vzuXbYVXsA"; e_fb_httpversion="AcKq2zjU1xSDu1AK-hZ5kOrGO9kcAg9NxM2en6mOyHotTddKJ7NesTunOUwe"; e_fb_binaryversion="AcK64gPHLbYPqm1XKDbGquvDRzb7AP6h6SrrlTUeEsvjoZyjbpVimqM51NeO36SG08DiSUgNSI1nNi-4WwjW6THorCxS46KrC8c"; e_proxy="AcL7Z6W4Yz2cfkwYLazNNxf6R5oPmTUpWrEgHW2l8IKgCMfMF_tvE99hLmuz84kHucW4LEYlYu_dC6722cA", http_request_error; e_fb_configversion="AcKiYWxqJYR16fxaEmA2YGfbemNdXnSbagbd4sFVYp-oQWPb2MWB3OYZBppCcw"; e_clientaddr="AcJcST61RWwMhOwDaOfPT4ghyMCQ4tKGWaxHFb1-NQQGM5OYVD_uRGhm-j000dhQB6NgYuh-WM0eSZwy2g"; e_fb_vipport="AcLiGVELCX7UZvnxruL9oITFTTYo8pVvTK5Z56F2w4Xv-PYRRtFYFYhjrsU-"; e_upip="AcKezhY6jbjv4-62HPvcR5cORRLN0aNeI8QYlNZKmSP8-Fg1zljmLd1FD88b9lsHkj01xJdTo4yZmFHlka9EPPpYXVeNmr-rPw"; e_fb_requestsequencenumber="AcLabLcUE-YM4yyjhoiSvosvsbruryXWxGbeSWC6Fro8ZKwKR3Dj7Z3SJg"; e_fb_hostheader="AcL9IBUaEMh7ljY4_piOPHlMMTRlb9fyFsVAz-K_bVYzOeF7v2rM1wp4D10pzzgDBVrfRn9aUhwzEtbx"; e_fb_vipaddr="AcKgt3lqH6F8qKridlGhOIT7qhlyXZuCLEwTLgxiA_JBDcQDmv8Vt6V4EP7MG7UWkYekx9s"; e_fb_requesthandler="AcJnn8Po1osRS4um6L-QlEatk9CfLo_9DhMG6LaxOyD4itzWbXEzpYhvsaiiaMk_pPhqxHwTWUY"; e_fb_requesttime="AcJLZiHQIHBZO6Y73EgOq5c_5dveN1mX1lEli5e-JbXbPJaPeyLj8rZcupjk3UEx83J-lcesCQ"; e_fb_builduser="AcJQI6mXhSKIIKVwKzxCEdQFjmvohmGG_9oPJyuJRQSvklX67c9PDXiPFTTJvR08KVU"; e_fb_httpversion="AcJYRuNBHJs922B61vM9dvl2dUBsry8qadLctnsmWn8Zz-DT1pvdg4_JIAnw"; e_fb_binaryversion="AcLaOvDhV1GjMoRmCeHF4MXEUPbcyiLvwNB-iSgwtUH8c0gNv7JtzfDJSw1UaaQd0wGiGzBQVw8xeNT2mgP4z0dZp5CwWale-fg"; e_proxy="AcJwSM7KF7UD32YMMyyW5z5xejTks533ku8lHDzNpGjOBW7vfDWpAC0YYKwD8hpWu78OtGJE-fTjilTs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25003362389278293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 00:43:57: Error on send one message facebookId => 25003362389278293 03/05/2024 00:43:57: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AVw-4mAzKPe4sfg07sk57H3" } } 03/05/2024 00:43:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/05/2024 00:43:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25003362389278293"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9021561, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AG06nKJ2JCDWjvrHovocMyb', 'x-fb-trace-id': 'DpDwRkFsuXx', 'x-fb-rev': '1011821677', 'x-fb-debug': 'GG56cIjThPym0uPA+Gpe849CBozRcNR7KSye0AvHnd+JOjD1/4+bvfWgpUcJBj/jc5DWCxZV4cYRhXAn7aLakg==', date: 'Tue, 05 Mar 2024 00:44:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI5Tw6dcqa7XFxZIxKZS0ayQj2oetVvu9kBFwFCRrCLOnaG358_KaPpBiy7zg"; e_clientaddr="AcIZNGws-TTcaZK49ZfEozLN0v4oSS5ELU5PR-ygQx86rhMDOWq0z6-oun4qwV50m-GkOjfv36vhwyMmHd_0J58Az__VUrKAUECSOkeOR3HYnufySQ"; e_fb_vipport="AcJ4WJTPOX-kdXUcnASkJHiNY6HlZgRxxwysejFYekRT4nVaNO9AuM-b5eZh"; e_upip="AcK7D2dNH4Cu11RG4XW6AQ7Sg4zp8GzzUhMChw7GDeZnjX2SI-P42n0iJXqpGh6zzRmWpT6LGhTsK4ekRSGddmAIozkI0WSn9A"; e_fb_requestsequencenumber="AcKiR2-8IFTVHNb24AuMJ9XnjkI6kp9z-b1v-FX0K8TirDheE4Y08iAix4UO-A"; e_fb_hostheader="AcLsHKh8BciAYhjXQH6L9GfGP4k_qPBnCkm2UNLvD8qDfG0Cc0bZkxt4OmdYMMe6TuhV6W0e6YXadNFI"; e_fb_vipaddr="AcIwi8RuyeeM_DT7whUqy15L6P4JSA6b45AmZMXINIawRlu_Lg2oBXQiEk8Ct3CBHrR4rdXYuw5NKjJG9fW2bUB16YxuZr6WXw"; e_fb_requesthandler="AcJKI5_l2iw-7DLDLR4Nn4mbGpbviXiAzjK7mxnmwA_iPraSqp2V9Ibxy2gajCFDL0ggW7Z8h10"; e_fb_requesttime="AcK0qcq_wlzJ85BPv0YpXifchw5SkQHYYxies0PPhFmRhaABuVf9s2bPWIkm0IAwu3RrLxAOaw"; e_fb_builduser="AcLSkJDIw9BsIrE0OGmMwxoBvcf9gfFsYpC_tuhgbXMr9RyA4ffuxkn4abzG1-qLOp0"; e_fb_httpversion="AcI8gk7u7zlmhjNLe2E_0MbZBl1CAq5qbzAe-KrnDW3fV1Ap6VRLmDWVu-GE"; e_fb_binaryversion="AcJ8N-uFOE76Lc0rABvI0itj5ZMYTYEpAESjAGK8WGmsApGRNo63ns2JrJAX4ADlsih8MCWjX6I3pYTxmbW__MfBWWTtl7l1uFs"; e_proxy="AcIykPGGYTb82WhDF5KdRMcvZsqPWzO1X8aQHeIxn-2RFfIYwN4CvvedsZ56TVoQfuZHJYRIBvLEio3xxjvR", http_request_error; e_fb_configversion="AcJGjJ6g6ih2wXtshqum5Ns6TsKqIojfm_-JMtzWA8_cx5tPIG7i07ByObKwdQ"; e_clientaddr="AcKMnYHVyEL6hV9WsxwpOlXgQrpWFih-nb5Rgy8_ICGqdR8h00aBPsHn-oAsTFKfaPeYIeCqAPMzAxjIDw"; e_fb_vipport="AcKy2BTlpPNusHpFZookw6busXUfis_yKhfxa3f5yOnUXZooVp9nCwohBYbM"; e_upip="AcKzv4561vCArUlKfpf_qZjPNyqqcLhhIvbKZepSgTVuRBN2QrBigKW1-UmvC7M9l6QQr1KcrAl_PF0fVMlQzf-8gslNeAHBFg"; e_fb_requestsequencenumber="AcIngpQujaIok7eKcCUJ0TWxtlplBND0YurHGP7Nnx-EQva_QKh8TRGLdg"; e_fb_hostheader="AcL9_XUex3IvyneDwy9H3XzDDqZQKXlcZ8k_1wZ3Tuoh2wRYlDPeXU5qfH61GaOqD7sboI60tlZdqqjB"; e_fb_vipaddr="AcI0cbaxyWS9eUyCAF3CF8oxFhJzau27TmDyZA8p78BzbvsicwXSRSvXANWyo-oDbhc1uQE"; e_fb_requesthandler="AcLXMqC0M0zH3XDmMokYocFmFbi-HH-nm5vxocrbd3lPknf_CXdkWJko0emGb-nm743Jm1IhBsA"; e_fb_requesttime="AcJp4La6bsjW5mRx9227JOEfxVN5zD-4G9Bl4vxeA_Xnpb2-N_V3_Ny-nnaq3tvJw3tO33mTxQ"; e_fb_builduser="AcImE3TOyhlF3nGcNvVSg9mjxDRLGP1H_Bv-GyUEAMmTr1CVUlFV3EEOj4Rb3OzDDug"; e_fb_httpversion="AcJNX_xaUtZL38k8NI3J4PxNa8LTzbgXgSBWkzk050hXEfN18lZvzZwS_a5I"; e_fb_binaryversion="AcKdIrmTyvnXSiCsoqWonJCkv1VT0sfd7Cwo1y_vwGkVcr0vr0RTQDoK2CHtPBFzgKFDB9vdj1XZkKBEKAmRMsLOVINihyhilX4"; e_proxy="AcKLfdMNgu2m_ciatArOIhqMMqcvOCZz82jEU5Eciof84UXDLRRs5O-XLtcUlHXk7ccfLF4lpOPM-A0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25003362389278293"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 00:46:41: Error on send one message facebookId => 25003362389278293 03/05/2024 00:46:41: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AB6kOHJmBB2__K7TR-dgLs4" } } 03/05/2024 00:46:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/05/2024 00:46:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/05/2024 00:46:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/05/2024 03:08:10: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7422369414489675?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9049053, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7422369414489675?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7422369414489675?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7422369414489675?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7422369414489675?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQQ46Ju_WzGiQbOvB9ey8dM', 'x-fb-trace-id': 'FrtinyTZZkx', 'x-fb-rev': '1011826546', 'x-fb-debug': 'jFRdDzmDARyz3N3YcENKL+FlUF+aiSZvM0VOcU6528Hku8lcdC1Bx14wL0IkEGZZ4+sI1C48AP6aCKZgun7G9A==', date: 'Tue, 05 Mar 2024 03:08:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIfk6AKuzTeiRQpVpy47O9aSxZFRmbllpz0v-agffas_u543K19doDoi8k7Hg"; e_clientaddr="AcLCJZlYR_cOqa8XZ8-SZKEeUTqJwMXakursYdDIuFH0ltdLmNixiNA7ef7YAElKKOaJM0dE5tszNOsQKT54-sQYQUqnFjVzu49kvHfbJGf0nFljfg"; e_fb_vipport="AcJXQ5NEVQwfWTLzvBzVkaPbEV5uoQiJRgiRz9HKMuZtsZXy8ywr9YnApL4i"; e_upip="AcJFi6ErvL85uc21oi1GkJPRzPwOk_CEJvyrXT6_IiTBiUVCy6M16tnJoPgUxIbdEcGjJcsECJmOgyI8BirLuAWvLYb2Ir4FD1E"; e_fb_requestsequencenumber="AcKo43FVIMpubkFS1Il6p4-PuGBYMbb8lmSMplIcTq6gDMlrsqZzNzX_Pnr6XA"; e_fb_hostheader="AcJki7wd56DsGt4P33thD9sgq0jmrCGNMvlKOE8Hf9H_FVbxVEMNk7qbLzlKBYP785dlebUoOhIAZkXZ"; e_fb_vipaddr="AcKgjELfZO14ApMVnztS8U8JJh36mNMBUvDaCWiAumFXI7kcfr2Ipli_mjNBqNfJDLfgARGY47CzEIrWcnntAWLhZgq5q3qAXQ"; e_fb_requesthandler="AcKqn4uMFz5uOhP7M0XN8fZ4gScKVILuFXHHgXen9pgbVU6p-6EoHUC1sssL45f305N9aKNxcJ0"; e_fb_requesttime="AcINZioXnJIqiW0RpcXTIzUt_UFRa3kCP8Qjqf0tyB4ZkVAGyduD07JmDWkbUdiuvAzRutGICA"; e_fb_builduser="AcKqIDr93E_4tg7Y93AnIbfNJye6N9e0kYiYZsbq19abfzjCirCCm7KUYo4jjqikxb0"; e_fb_httpversion="AcISTHkThKzMf_dAbX6YlOM8SRWesIK1rv4_Tah8y-ltirDq0HtRt0Qatf43"; e_fb_binaryversion="AcK9MD78rkEvafGOUCCsMZxv6u2afkmXRqtZTChHcVgE1NAfIFYODleBH3faJlhyfHJn-USyniuzPhKtQQodutxWzpLp4EaXzWQ"; e_proxy="AcKpbgl-b3tzF7NFA1Gwlm1tUmSKx-tCjj2lpAs2QwIINYX0qVQeDSOyShJbmd61p3lYNT7phSmkgKlY_Cic", http_request_error; e_fb_configversion="AcKkXebIvFemMgme2s3tzWWfQvhwIZXCivICtlAABGNVkM9dxsPFDs4LtCxRIg"; e_clientaddr="AcKIhvrgaze9gqiePdNUwHnDHByGzePwvlKmN561wj1fPGu36QwCKIXh5k0QrTwUcnxhYIyQnCeBcByIKA"; e_fb_vipport="AcK1onXBufW870GBzuMS3Ox5IM-n16tqTMvbM_NlEgyCMf-_-8vewqxSRC0E"; e_upip="AcJ1xedFZEQHj0ExBkmJ4oz0nfZEuwGa88KXRlVuUw0D1t4xc0IvtbcKzxO36XRfjDGNmOC0u5mN8wf0uhyyWWyA7QU0Q9g0ww"; e_fb_requestsequencenumber="AcKgDM8B50eiTFtJzcvZ21crYAuBH6shVBUW-2uYXRsnuTFvIVHCbBoTBA"; e_fb_hostheader="AcK7H-h6OKfXy_cY2RgXuwdTjDfwdOLKQPXlseEUmgHU_VyI4KWJUA-gySfzcAjFwEvFsr9hkHMo8SWs"; e_fb_vipaddr="AcJapvpSCKwQ7Gczh7dQMxRJHXYHr7KaUMMdlryoHH78ZPqtrZAdvueNQprWzERCZUuW3IN0OA"; e_fb_requesthandler="AcLMyff85zogi5vaEdcGDdHkBgGVTBgbrnnUE6UjHB1dpi6yDg8pVcOMRYedDUft-oh5k0-hm6A"; e_fb_requesttime="AcJF0lNUx9B0OaNmm7BdGGZjI6iKg6qSymKxUW6aROBbCr0Qr_RBJvkVIPMpb6aTTFiVJ7zBWA"; e_fb_builduser="AcKjH7LTcg1wVWWdD4l6ddnjVauFNjrzBFDoZV0os6SbQTlxRhevesjWTNJdh6CSjkA"; e_fb_httpversion="AcKprB3xgQ-zCeQFjGJXdhgTjFHsM8jyQQ5tlEtWiH7uGw-_fQ7rzK01IVfN"; e_fb_binaryversion="AcIAHe5Upvbo2WhVf54StovrpQbmQvRSnjKbTFcYFP6-eM4HMYXfnI6nvl0NLobPI5w_MPfS-Gt8yNu060bTFq2hnisK3nh37pQ"; e_proxy="AcJTXe2TR6Q8Z433R5J-WPuL5eB2ep5GH8vhU-szmlEuZAjn3er3bnI8b-ME2oIF1WjXaFmLp0UtcB26"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7422369414489675?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7422369414489675?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7422369414489675?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 03:08:10: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 03:08:10: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 03:08:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/05/2024 03:08:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7422369414489675"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9049177, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7v0wUqXZbJFKT7ADJDcvDK', 'x-fb-trace-id': 'FhM8RXFCptR', 'x-fb-rev': '1011826546', 'x-fb-debug': 'r70v0S2E+ryQpphy/0B/5WP4jmR2P1jGKBBg9qB5n2bPBYPAQCglI8hIjuDN3k+bQfkVU6FAUFRnB5gym+gYZQ==', date: 'Tue, 05 Mar 2024 03:08:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIKGIWkEdcwkCm9sHpjQyY-rPCPqJpxw3e7EGWmo2jx6CKEpvOgHV-3G-yQYg"; e_clientaddr="AcKi4PkpuXkid93i3K01Dc1XiOcG64Bqv_rYKrrmf7KL9OR_AARPfdq8cxBMOBNepI4hkgC_ReNxX72zbSZwTC8HPW05XaLAtUZfsfhBbtBQlgxATQ"; e_fb_vipport="AcINAomKgW8um1GFJwD0fBurzWOLEkIGtAjxv5TmWbfRTCo9hq0eSGGMwUja"; e_upip="AcJQDcd77vU5_rEgwZ4JDzggfp4LEweVUeelHPgwmY7M_N7--9FqdKAIZiSWodpQdQ1MHXOViOLkA_5MYk9NFoey5krgLy2ipw"; e_fb_requestsequencenumber="AcLWQ76nPw0POznPVtPqh0b3kdSIXNQ4hTrqzbTAz_uF6T33t_HxqvGe5U7pdQ"; e_fb_hostheader="AcLl6r2b4dKlsw64DBb5uBAfLEWuVbQMZgBMY2wnQ8ws2wVxsiRNPZTIq6MLLOr0B_Hm6CNjhr5AOopM"; e_fb_vipaddr="AcInUwUrnNoFa9yygFLpCHOSX3tB3157aJY2LlKM5Lug0Oa_AhCy4p9gdfva0C8ew25o6EZZIF7zBWYBdpfi9Gd7Tw6QR1UEGA"; e_fb_requesthandler="AcLJmoYvdQxdoY6va17oWnG31_1BLMtCoIV4tO4jKNLOfkTBdhMwqV-00Zx3N4_gZKatGYm2vng"; e_fb_requesttime="AcKN0PyE_MA7QieD33HFrjy7nkKzR_hrX3nV5pAoOfJohnRtGK4EphgoWo7-gfzsN70IbNX4KA"; e_fb_builduser="AcKt21EaXuJ1lCgWWmG9et9gsUc0x1fIUZKklzQwxPbz3rKXp_GTRxq2Cg-xBNgu31c"; e_fb_httpversion="AcIZGrKTdH7oICsnU_HMeyn2H8SFXUauhD2wSof-m0zQbHYFnSbJ4jBRR6x-"; e_fb_binaryversion="AcKHqtDlDkpfCLKqbTZ8yWq2JOe1mh0hxkPJmFk_NHbW0R0S9M2-omB2gWlNkeiNZ7YJbumqsxOGYsPIWS3cYIdDlFK48hOm2As"; e_proxy="AcLsLc8yJzyRsXjI4uK3CtGq0ABN2pRRxVhONAp-bpgtnywF8KEClu0ZNloMFOxXX0pupQstFr9urPHsIHc5", http_request_error; e_fb_configversion="AcK5pjC6zpXLZNH2vasKZdxS5XywXpVlZPtAHAuMsJffRJfRbjE_VEvu9sQU7P8LU6XD-FFt-YfrfDnlwwjkS5eyFXYRz8UG3NE"; e_clientaddr="AcJygsjKtalELHO3bgy1RDRFO3diwQOvZ5xZrmzHEjFDqXVmjlwVMlHbbbCJIEbjn0Ho7-LQOK-oZexxeQ"; e_fb_vipport="AcK4_2gNqihp7tJbOt5Aag9myZWBJLBlWZDT-Erke1GgFIj1PW9bhnPM3zz_"; e_upip="AcKL1hvooEFR7TW6gv7Yjl5TaSX4kTYup64Vj_WTUFPEhR0q_bJiDlThq3xwuHqJ4D-8rqT_xNXciyQjXtJ0WGxyCDruwAPpng"; e_fb_requestsequencenumber="AcJcNvDvptS9Qh4OY89OEwhOWxcR_7fKjvZUIEAwk988otFS1R41zJkPXg"; e_fb_hostheader="AcJQFc5emTZtCeeRewHTf-1-OgA6AO9FkpfVspl7aTxZfBzAYLgM6oR8xPdbIXIGxMCdLr-RlupHxGug"; e_fb_vipaddr="AcL_HWnGEFqI4qmWWoTFRGJdy8HcURuGlliePr2AS8WM3ykAitFbFHrLL1Ah9TQ_nJnKbYDbVw"; e_fb_requesthandler="AcLil4bBFk5L2-AP-xesecIEQRYddA2w50tYznuACfw8CDwRcRWroTAmPhaQpXFeT99ZOcnLcrk"; e_fb_requesttime="AcLyai_mGAyZmVBuHFcKHf0cWrvalR2cp7SA0JYhD8fwVPeaFjqas7plml71id-mv5cvEB8ZQA"; e_fb_builduser="AcKjArtyBReB11uZk_PP9SdjkoHtR5fdC5CbkCbDXslOzjO9Wrvk1eqSKvsjwHMCoZo"; e_fb_httpversion="AcK_S7YiYVpVfud0DMBj6SdJG5MD5uSo_yGhXjTl9Sw2KEQolYWfQS-xHe81"; e_fb_binaryversion="AcJy8u6LIu0yRrYmmmY_xeM7-1O53wgUGhIOySyc3VGYQdVh6qxxqf0HkzL8Y6FUp_WXuuvy5k1a99GRE5_Kef7mxvQ-lQ9ByDE"; e_proxy="AcKzrnnUjlXx7DgEw00Hvpkw5EJcG2wPICPtZM5OwGVmjE_YlTywUAo8bgKCxT1vv2Vxp9hG4rVCoQ3M"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7422369414489675"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 03:08:10: Error on send one message facebookId => 7422369414489675 03/05/2024 03:08:10: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AN-fo2UPKg6xZjgK9t6Cd4p" } } 03/05/2024 03:08:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/05/2024 03:08:10: Error on send one message facebookId => 7422369414489675 03/05/2024 03:08:10: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AEb5eM0eQFXkm5M67m7rxEk" } } 03/05/2024 03:08:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7422369414489675"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9049271, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Abp3IabSCEf8JkwvPdNVsaA', 'x-fb-trace-id': 'C0ZjZKYDseY', 'x-fb-rev': '1011826546', 'x-fb-debug': '4bBeP2Tp5JoP856AExZY7xi1kHYaEFs31BiKSJOcZ7QMD+eqGLufE3YFziKQS6oTemFFD6sr9K5bCesw5UtilA==', date: 'Tue, 05 Mar 2024 03:08:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJrjzCvdqS_YnqMIbBic0b1UzzCBulSiPCzkKFNyGWAI0hiQDBYtNurqSteNg"; e_clientaddr="AcJUAQFJ6Tqcfc9nOyNm4Ba2pRVZ-EhSKx5uJbY_syWQMBUMlR9yZDewNc5JWTn3vqHH8W79596qMQTDOQkluzD1DrIMmKvpJEBpgNaXxOKdAWcQyg"; e_fb_vipport="AcKT_DfyV9wN6TOxtVV9aI3gKVsEH7eC-Di09KUZhu1Twm6h8DsxfuYbhEUb"; e_upip="AcJjQr0NvRzntjxkdmmmqFopCX8cN73BzRlVFEEvORJtta1pcq7QwzSBOfLDrpvgDI_22fTSVjkaLeKmQKttypM4taVzRVq1wV0"; e_fb_requestsequencenumber="AcLd7Q17UOn8IZPWc9_1muYs4NyDA0nh_wURjFYafS8UPWqNybfZAPqU91Jkwg"; e_fb_hostheader="AcLjCsc3k6M5eXyuOai3yTWeZLW6HwuCG0eL9bY06pik2AtTlGca8qA9EyOCRMgpeE4bi8RymkJwsMzW"; e_fb_vipaddr="AcIXnkeEAS8-pZMEnzFVlCCrzOqDJzrPy0qmsjuIAGXfrpY-F0l7evRKSh3ag1rdXOLs-sOZzDo96Y-zGx-o0Un1HwxKb6uOmw"; e_fb_requesthandler="AcIB7hq18DiUySdvu4L_SlOIQzO-9qrsEgRD2tfTXeXqCyvxHCHIRp0v5E_uXotYvyTf5jmNJzY"; e_fb_requesttime="AcKic144s0WVE6QCMrNMslWIw48BUMG4cqZpJs07REtPWs-VRMW0ODxnf3JN7m5tGgogDKMXVQ"; e_fb_builduser="AcIS_TP3HWhfJzUTuhXvpkhralj7XG6DXqKEE0Nr7Zsvl5cM3epdR6qEuCsr1emhOjo"; e_fb_httpversion="AcIKtm53zFvdYHJGuQpvK_1o95InzxqDF52M5YNDg0V7059CSqzJhU-XZQHm"; e_fb_binaryversion="AcKYNVi8G0XXsnqbHa-jjSVtoAQi7-ERxchukzoMgUk0DJn2EcVoo3H2Bp8Y-CF_j7cP9F0FM9nhAX9uaI0emDqNiOf41jNKEzk"; e_proxy="AcKz-v4sjoccB-GBz9G6Kobw8CdmlunQ9pmYeGMKnW0dYjW6l4xetOzrvOJ4b4KBBgxxVycMPlsdRtQnWazT", http_request_error; e_fb_configversion="AcL4xT7wZEGKv6IsANTB-grCRoOWQpMw9_M_wVieMJPtFlHKARFicq8PyZKVzw"; e_clientaddr="AcJ8Be3tDK1STUpv0daCCITPjGPWPlFLFt4_5ObZLrv8CyvmWgRmNtOHl_xo_X6OeBB-r5SMWIrFpLD0nQ"; e_fb_vipport="AcK2sJm0q26AXoEmf8lmG1hYHs0KTC_7SZAFPfeoy_uCjHXG6gAfPpcbrEBF"; e_upip="AcJEKhyyj2V1WUAQithpWh9FO-W9EPe9SZWUnLTiSEsXhIJw9fTy5_08JfmyVvpFhL7YLB546Kkl7mqq-T_PElFPd9BA-Hinqw"; e_fb_requestsequencenumber="AcJh8p22EVZwCt6qxpEyTFblTGNMDFV71L4zUAjqph2ow8C_0-0J1o_unw"; e_fb_hostheader="AcJci31B1VsGV0IkU9NsHWRo127PGmpF8vC2cgdXar3J5Q2lxlwGdE18qSnG3foOusUS2DrzuLx_yPZa"; e_fb_vipaddr="AcJbjaub2J-QyWZVzyX3fdk8FFgzugKI5HcyJoDS4dEcvN5fJUqVEeVA2x_ydfZclCV2hkMhXA"; e_fb_requesthandler="AcIkHPGJZ0Lu5F4N0Rc1pvJBAEsamOdwGoerBtbLMxlbYCCQ7KqCpRl8aoyZQv9mjUn5lag9JPg"; e_fb_requesttime="AcJcUuKI9f5gi16cDQsygc2zl0VU1_pxV3OoRikdO9FvFNigtr1lBMg7kas5UV2weuN9yIw1_w"; e_fb_builduser="AcKCk4coN4tA3ua-zRAoSq9K7-c-ThdToZavQqkqzxdsIlomZJhJ-ScrPnKL1RI-mMA"; e_fb_httpversion="AcJ_mVGtwN1s5OhmeO7xIA4M4c3A0G0QS1oeWzPI5_S9scRxy_mSOwHQxTN3"; e_fb_binaryversion="AcIW_NPM0vDc2e0hiB3Qz2_i6HFtYOUnKQsCa12g6FkqIWzBS0mevW_E4dBsAfPsAtzjCsmMUoFfhxhTteEUUiB9GI3BzIeThr8"; e_proxy="AcJeGlSsTNDeHjWjQedZFwMbvy40oZtJuNAbSQlB9-pb5t64pcn9iZmhoKYuZzXLh7gxIaHrLtr4fuY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7422369414489675"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 03:08:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/05/2024 03:08:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7422369414489675"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9049386, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcqB8fX5nHUSOjF6_41vkTr', 'x-fb-trace-id': 'Aawtc4ETwPL', 'x-fb-rev': '1011826546', 'x-fb-debug': '0/UlNjy2tmy8vVoQsKtOHnAwB8BxfiueULquozZvDUms3f0TH0gYRswK9eRxrZK5jfaDjVz0o2MtFt+YcxMlJg==', date: 'Tue, 05 Mar 2024 03:08:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL53dcuJdoVhl41AUEP571QGd1fD7K1Xm-P18T6PONkRNWGz9GMQEU8vKx6zg"; e_clientaddr="AcL1pHbG_mKWI9xmF27QuGN7s5tW-MFtlVg1_1BdYSvAyTu1jXgScINJ9Cgu93X5eRF9m-T8-2PzePrAeZVDoQGOBlPjDrNR6EdPQ_Q0kuDsteoWaw"; e_fb_vipport="AcKoDY0Y1NNN04ELYuMvPdUMfDwedDRIWqaEPiFoR1vo42Fw2uZ4zfoUv5Nj"; e_upip="AcItFVW0VLUj6p3fzyoiUg5syMPN33-zEqaoMKL06dDb02-wytc83cuuQeLjqslFbXR_gwDfffa_aOQr4BFsrpKXpSVTPOgafV8"; e_fb_requestsequencenumber="AcKdaqryVbWDlxdLpEx13fLoLtUZMECMfwaUZqagW3MoxFWv9kL70hixz4rfbQ"; e_fb_hostheader="AcIqIvQsEwbv5gAOBWlGN3YOaSXHbE55JEzwiDJpnKVFg68PnGyF3rWg_ypuK-n3IJ_yqK4WttbD9rv3"; e_fb_vipaddr="AcLBVrgb6MEUvA1qffY2wIl62Sjv0gIvqNi0meeCWZOrOgUynVL78RfQ6jyhDXY2NadzQAlBCh0hcuNAP0nlZji0gn16QBTXyQ"; e_fb_requesthandler="AcJvM3N5Yf-3QZ4Ca5VOHtxiTRrAXlti3KJv-SfBQNt6EuHC2k15hNxBOggOA-EBsaRamZ0OK0w"; e_fb_requesttime="AcLrakPm2J-gjmqF-b2EXUP_lyS_4BmFwFpdD7yepyE-wrmsY-zqviTW-H24uWYyoirW9mD7Cw"; e_fb_builduser="AcLhBRNPEaQ5fY2WxEiMTdtAmcz7gHcChbGhn4dNh9_Y03bEi_TyLRSLIlppa-cdzH0"; e_fb_httpversion="AcJLQ-V2seTZRfTB8UsIk5fQWD3zNww788FPim_pzXsjZcaslUyEvv62QRUf"; e_fb_binaryversion="AcIqylCSi3wJFrntn91bAg1xaPJOQQxWv08SLpI4BnUmKeC80-R31qluh719aMs2gA8d5lX57efZzYUO9fM_UnlwbGRx09CqQVg"; e_proxy="AcIXKrNiVMoCRUd1fBBKMajjI_-6uNqbbRkEVkxZXRbZcID0JWSvs4Pwj37yAmsGDVCz_UO5MJY8bgkXt5nT", http_request_error; e_fb_configversion="AcIt-lstt-HsUpdhXH2qrowchULMk4aHt3kKUB2xJkqytKWcaExWdlBEph8qyA"; e_clientaddr="AcKWcoTn3WY_lPqxm-SFhsDDef81XQkPBPI-TGwEZJ4CElxnDhEbBsZ679_B9OAFW7f8lzD_ORWo2C3e4Q"; e_fb_vipport="AcK797NUmDyBU8Y9f2C3_pEXWpPvjHdVViFpDBaWmzaVkc0R8S1Mw17u_AwT"; e_upip="AcJW-rVBbxqhEYlu-8T8Qm9goSM7LxFlRMUCZ3IZzTUbZTz-2JqrsTsl-pnWis0zPNgr-24gIrrRaw4ACpgnYdhLeyhgkyXtTg"; e_fb_requestsequencenumber="AcKits-5UJhDV11AMJ19g--MP-FnaPJjonJGkrF7SP_LpYLK7ricMS11lg"; e_fb_hostheader="AcJWjqLuWyOK5el7MjLKuZHiH2oxfHUFrg1p1PJBFYRuwzjXln6YTaASnyMgA2bTlOh3hljYPVcW6yue"; e_fb_vipaddr="AcIz9q8nz_VJCipNvKzJ0nOwxSIwnhxcVnSIDE1kbaVmnE-9u5MacgUXhUCdMAjFffX1BilOpg"; e_fb_requesthandler="AcKtPlrqqwbjn5dlhwHqnpvB2cRQkGHtgUdvNWTQnpqIx1zHl-e1PjOmYv9uvAVaEzIu9U_4KQM"; e_fb_requesttime="AcJbsMfhd6Nz9bvhZL9gJ8tVTP1149PbSGHUdYAoWfe8D6ls_jOzQqDyYVeBl_jJDyGh9a1oHA"; e_fb_builduser="AcK-cRhPlrJI8omwyOg7eMxIM2gZh65qAs5K41vZwYkOT9fYuTasPMcCWnMeeX3Pba4"; e_fb_httpversion="AcLylHOOjr1Q624-E92x3EnNNZSpCY9qpdWPhE50vgURpSV6dYJ9fRMbdS9Y"; e_fb_binaryversion="AcJ9x89Rn8mSEfP0YOHmsuZybLy_t7OT_eNw5rFbXpwxRtgGwAN5YXtLJV4iVddDgdi3YE4UvdDXxetNKNgaB9MnCocDpbiw3uY"; e_proxy="AcJ0oMaTmwB_U5RxgABjaadjCpGTDzVX3UbLkqDzZ7Pw27vteYogN7CASNQNkVTw0yeOPEUMM21Q5ebZ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7422369414489675"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 12:19:49: Request bot not found: { id: '138868933458303' } 03/05/2024 12:20:02: Request bot not found: { id: '138868933458303' } 03/05/2024 12:20:15: Request bot not found: { id: '138868933458303' } 03/05/2024 12:20:47: Request bot not found: { id: '138868933458303' } 03/05/2024 12:22:31: Request bot not found: { id: '138868933458303' } 03/05/2024 12:24:03: Request bot not found: { id: '138868933458303' } 03/05/2024 12:24:16: Request bot not found: { id: '138868933458303' } 03/05/2024 12:32:21: Request bot not found: { id: '138868933458303' } 03/05/2024 12:36:24: Request bot not found: { id: '138868933458303' } 03/05/2024 12:55:00: Request bot not found: { id: '138868933458303' } 03/05/2024 12:56:08: Request bot not found: { id: '138868933458303' } 03/05/2024 12:56:18: Request bot not found: { id: '138868933458303' } 03/05/2024 12:56:30: Request bot not found: { id: '138868933458303' } 03/05/2024 13:35:09: Request bot not found: { id: '2226987370951427' } 03/05/2024 13:35:11: Request bot not found: { id: '2226987370951427' } 03/05/2024 17:30:39: Error on send one message facebookId => 9935531199797976 03/05/2024 17:30:39: Response error send one message => { "error": { "message": "(#100) O anexo é maior que o permitido. Alguns arquivos carregados podem aumentar de tamanho devido à codificação. Carregue o arquivo por partes para evitar atingir o tamanho máximo.", "type": "OAuthException", "code": 100, "error_subcode": 2018109, "fbtrace_id": "AhlYIbkTaHp7fdYYFZO-qIN" } } 03/05/2024 17:33:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/05/2024 17:34:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/05/2024 17:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/05/2024 17:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/05/2024 17:55:18: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24814563641525664?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9200509, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24814563641525664?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24814563641525664?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24814563641525664?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24814563641525664?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ab5PkhboqmHxzdRvUlJvQpK', 'x-fb-trace-id': 'CryP4p9hpJo', 'x-fb-rev': '1011837017', 'x-fb-debug': 'q63eYtsQQDwHaArU4XjwoyhssVQbHN8TDGdppboBmnsMWP2+tBdm1i1luYOh+IvIxHw+qhtpZRugbzWzCzImlA==', date: 'Tue, 05 Mar 2024 17:55:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKFmsMH1T07UTaHWhFPqD95oqZfS7mY9oGevGWOo19rnt66UdvalDGb6fetxQ"; e_clientaddr="AcIw3_sG1WZRiigJXUZt4Ds6rD3nHjSNnqaVoMsvtghHllPlkVF3q2a6ZXSDcN288r4VIvpLo84-a24NBDH7jk151WwAGsf72_Q5vXkZamWlZU5cGQ"; e_fb_vipport="AcJchGWTOHDNv-pXA7JmVyqU0SiJGTvPn0ZPUGVgRBrIMp394eGitdbCAkj4"; e_upip="AcIMmVyjTErLX3bttpCDq0eJZO_8-C_LwgcngVWMWaafn5ypzlfRvQAIxxBv53ZZcc7o35mKzmQ-6ZHa3NpiRGWVXshmbhu-8w"; e_fb_requestsequencenumber="AcKgI55JRHynNngxfInpzX1m3WengZ3UDdqBQ6012lK-kn6HDQ9qDZWaeTsD0g"; e_fb_hostheader="AcI2YPS70PYd7rs23ctZvpc_oG1XjOwGg9xX44mgqMGe3F_VXDP99Hxi-by5ucKAXPX4rp5ir9Tu_dut"; e_fb_vipaddr="AcLbMGTITZcdegNJox-iAnpkYSijK8Tfd01FRjn4Nd8jvBwy6Gh09-gk897-drl7LYk-HwY4wkAlzVZotJrwhuUvNRH4Hm9NEQ"; e_fb_requesthandler="AcJhEA0TJW9tXrFMNl65XqAAT9g7rC9A-LOh73CdiqvdK0pzTQ9_TkfhrE619EEsvaYXCGEJ9NQ"; e_fb_requesttime="AcLRfKzczLyICeGxHRvvUKxuXG2juaekNkRnwRCBiUOePfi96pYyhCv0y9BerDU9fbvPeft1Cw"; e_fb_builduser="AcLhZJZXlL_bflaEubkSf7sKITdt615nfG7_df9MIduiB23IWfKLY7B0wI_0qOVAg5U"; e_fb_httpversion="AcJVnO-1fQ9_iu7oKRFgKMM_sFzqRcUreyZdtFwB8k5HReq38PTkWUAQMY7N"; e_fb_binaryversion="AcL5bE2LsIcJPDmFKaA0UQ3Pzr5vmLsOitRz2zyKIlw2K4RiLb8LTMJ2LTYoAVSqSk70PC4PXAZPtlGPQU07m2q2R4HmIAYxcVY"; e_proxy="AcIsAO0_q3rqZjayUOksMcfBqp-VuZhuvq663K56YXydOZXuqmbO7sv8TWjwWiGFNRcTauaDD_zcj2vNCLA1", http_request_error; e_fb_configversion="AcJ5_CeSJ71vNRFCKrYnNGRUKpMdLzIZTIbMYeKU0ej7K0FYqNWZtsDLcRLo9w"; e_clientaddr="AcLWMr5rbtkF21d4I7sTMajenkpxqOQ8jdhb8-txvPesKWgRFRYP_saIx6Dx8TO_V42LKlg1wqV5U42Qdg"; e_fb_vipport="AcIClp6CNdj-wVyucEnOlpCmQ77WmMX1kAneSl5k3U_BHGpWvCbqtRZ-3k1v"; e_upip="AcIEjKdTdmQEpR-MDfm6YZPvZZcO2KttPItSk-ERcyKRX-AHzB1LPd7KNM7Lt__J8MF4noz89Skf0za7S-0wb1lqaiHKF6zdUQ"; e_fb_requestsequencenumber="AcJ1L6Sx7kiULuJc9QqlK0CkuGhIrOGP2mDFxikcTPOD1gtt6gpYVraSvQ"; e_fb_hostheader="AcKrmKJztVgnRyL_sHBoPoNoBXT19jPLgOf6BalW3i7xm7R3fUpqHmosiYDF1jL8vg9A5vERTu9zy9mW"; e_fb_vipaddr="AcJW0VyYr0NMya7e9a2jxGbOI-S_xfjCw4a4cOSJk05lL0vNmuT5Ycyf2EU6zV6yFfEdND1rAQ"; e_fb_requesthandler="AcJTAvuAEbLeGz0RLmYuTdgALtQk5tLChD5g00IgZSzxDpTTonzRM_4_L_RTNjAQ0GXN7GRPEMw"; e_fb_requesttime="AcL3Y-DXj-YbVyuHNKTyVAOSyPtyfMO7UQtO3PGfxWzW1bnoCRmRxa5KuEoygn4QuMq2cH8DKw"; e_fb_builduser="AcIQgsCeW7GvfixIJrrmvVI4PJlME0o1Gmuy98AGEoU7pa1-mRdO9s74N2k4XWRgZpQ"; e_fb_httpversion="AcJSDmMiD4_J1HiJYhZNKCjaN4R8dKlyR-IKIdx7RaBx7VGfyVclWMgtulwA"; e_fb_binaryversion="AcJ5DTkNFEkpwMo_pToF4NDQUt5ZzeEuwwND7XuOo5-hE5x1eAoER_enLmFDYBHPV8ZXdtBiV59DKgz1m5GINU93fLhwqbezNkw"; e_proxy="AcIP-5M4GZztjCfnQpeFxlU04JNYtrueZ7L8AsbsUQitCb_H8T_9aEnZ1w64SqZne3P8hivPQYZjUwA"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24814563641525664?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24814563641525664?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24814563641525664?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 17:55:18: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 17:55:18: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 17:55:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/05/2024 17:55:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24814563641525664"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9200638, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiJOHqrX4bSGCWEhJqlkY_l', 'x-fb-trace-id': 'AFOYQGa2Via', 'x-fb-rev': '1011837017', 'x-fb-debug': 'LgXbBMS9eNvjnIgSUL+QWyplTFKL9sujILNfoGdBfKPt6n3alKacH+1vksyYSsOCv4QMYTY9vfdUJDqu9Hky6w==', date: 'Tue, 05 Mar 2024 17:55:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLiY-0EmZOihphLeITt10SCwe3zc6GZTWAc-VahY3EZ-tnTjaDnst4WbJBj5A"; e_clientaddr="AcIWpocIv3w7daHEKryHRlKtyV7B3almXb28Fuf3v2waz_jMqMEOPDxQ2Y69hytGQvAw1BDJc0a15tx9-0x71tcLFod9FJYljCP4Nbdc99UoXCEvLw"; e_fb_vipport="AcJ64igS2WzNxcSf24VtKqEaPXsnKtCyB9hjm9PHwTEE5MZBckIidkVyL6rh"; e_upip="AcLyjzGbvYhhVZkcCaQep4C9d_9tiGEhhFiIoMVxzMCcSWfUKTSdUq4d_pq9QO1bgQkVExWLEqt3R9OCNBiYFbfgy91La01B"; e_fb_requestsequencenumber="AcLYdp5-Pou59XEqr2SelAK1QqXRFq9Us8kwK3WiLiZ7DNOQFX0TdPPhEKLGGw"; e_fb_hostheader="AcIs5fL25D-PTcffvDziuNR6Pq91m4OiqUSyHQT0d_-Kv-NAZdVuPif_3Ha96PtyfBymIA2Wcebt2-fS"; e_fb_vipaddr="AcIPy52lCvTBV65FUPrfyzcnSNLh1BNo3_n2LbVq1_MHubr4MWqpbWCZPY6RjUVzPVqELCkFcuZwEyb7UD1M7EupbnNzy4XfSQ"; e_fb_requesthandler="AcJZSORknvaOVVoXu30XpEcMBk6rlUMtL4rzxc1JNT6JGhZityCiIBCHfOipSNCwIqQdVUSRORs"; e_fb_requesttime="AcLoktJiWXrzUk9k0vogfiZDUtH5jaBSUXprG998kXMJiugOy0mZuHw1psnxA4ut0sOuxU---w"; e_fb_builduser="AcLrgOAAJrGKUGO_p2HCoSxOj85cpNOdclu0SzMvODtCOp6LgYiyVHBXgd-6dcXerH8"; e_fb_httpversion="AcLRGosKmahDgHLZOV5FLkBwf0A7G8nRt9W9IZ_jRBtulw9FrVpN0sgQPH2m"; e_fb_binaryversion="AcJLUt30aWhBh1_VT_g8nOsRXiPfSPf4-A2xrmsLrvDwpx-trl4xzeMOy-UwZeEVAx9WzZ7MLLm8KHe_c5M6qS8pTmMzWTIFnEo"; e_proxy="AcKNIUeIUheyHxYFjMX11jjqU0Sr3_UrHcev68QJqu4RIoNe_UCanT3ADXlDnFUhiI6HD2-w7cIEynjcX_fD", http_request_error; e_fb_configversion="AcIcb-VgHMyOTwd-seGiF9Ab5DCrUCq-Msc3hWH4WJ3hILkj7tK0XQRfkTY-UQ"; e_clientaddr="AcIPVRONnnMbTlUZaG5Jhz8hFkmWsdm1RBlRUsk8Efo0huAYx0BoZvUqcG9dxuKIVNK3mtxX4NO026728w"; e_fb_vipport="AcImIWgEjahkrkE-fSq2UPo2Z2kg5bgMC1b83fYq-Xkx7pI1QO1s8BmGmYv7"; e_upip="AcJrCLx1R3VRfOlmhQsSvH7VRsS3cZtx4fOx-vEpXx80AJexXxamD9OlFMbZprLm5cv7nxYU8ljNz0TBfvswvzZbT1_HLIExWQ"; e_fb_requestsequencenumber="AcKqDnKWMCfV4WulYqY5_-P0LvytA4hlapoIu93wEnMTCMhd_OysxOYHMg"; e_fb_hostheader="AcJlEf7Ph4o89S_w2NpKWw2ARILc7STYemH5RH6gaZniw2RRYARJZj14jjim6TmDpMznc7-eNg9X5KYi"; e_fb_vipaddr="AcITM2I67zHMZ_k_VGlQZPuZqW8dbYKxOBp2X8YXx0qnXeupiIhzM7tqQaHItdFlAcYrCSrUBg"; e_fb_requesthandler="AcKBy8JWENwhChg9RKrJyVFiAbVJnjzohne6YByeC0b-bNcD4nptU0O-vlyFT9KnEDxd0e5TMiU"; e_fb_requesttime="AcLfkxHO0sheZS_egjwzeXjaZtsRqICRAmL23g7OJIslraowdLs4bV1nMjeWjdb2FOJsQoNptg"; e_fb_builduser="AcIaBYQK2G-EDmL0997rwhLf1uepZ4qTI2otDu63qmfMKKBeA4L8dKqse-CXX7JC1VA"; e_fb_httpversion="AcLhhCj5fRzCZwmR0YonGoWVkd6lPdEP2plg48Eh8yUgwXocqyuscTRQwA4M"; e_fb_binaryversion="AcLJmDCDL-jH4XCSVWgboizxeE-flKnGHp3MyPNAqqa4K3I5DnHuwmlhQMHclLKBjkNCmLptNSGTI291ayTpBGltaZlBsUPmC0w"; e_proxy="AcKak7cQq2GueQ30ZHOV3WLgRj1wnq1zu11G78V4_wDKCVGx5cdvhe0Du77neQxhPIIPyYQ2C4yObv4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24814563641525664"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 17:55:19: Error on send one message facebookId => 24814563641525664 03/05/2024 17:55:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A5KNzSDXKAJQQDbLeSfrk0l" } } 03/05/2024 17:55:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/05/2024 17:55:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24814563641525664"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9200716, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzwCAQDyXs5TWISZEG4jPse', 'x-fb-trace-id': 'GXx6Ea+U83p', 'x-fb-rev': '1011837017', 'x-fb-debug': 'MswCXiGzCQOjckocroVXKr1lFuAtQLj4uuw2VfE9hbPTdjNPVTpam3otMxQui5tqcJe2DnaH9FLrrJ7/Ciz4WQ==', date: 'Tue, 05 Mar 2024 17:55:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLYKxbyvjzoYomwHVLNGPk-9KD0zUtEiFtjk3gMGxwj-Xrg6ybl5-dpUoAbyw"; e_clientaddr="AcI8dtKY_-UsJYw2EMkuJfmrklW4VNcmjfDZ9W-RLK9rGsUpI06H02Kidp7_LsDynzoxrMscbgHxqdgYHOasWncfaFiIkQN7JIar7Kzx3RWa4QkM"; e_fb_vipport="AcI5cwKJy_4p5ZFZfS4NGBaMtZ-see9sWQJaBHwOI3122MUez46PYpy4y67r"; e_upip="AcIM7g-ZWU8UJO0yYSzY6vooCX6cIXrlfRqHZRGtwD9tca2CFjda_sCNRw8ezJOxbP3e-BQGQFgId1vgRhkC5L1PVZhVvLkyjw"; e_fb_requestsequencenumber="AcJaIM6oLkWox-mcdfbCT2nHcpjlyXC1ArwX4c1Xnk8yADtdfvPBSokwc-Ua-w"; e_fb_hostheader="AcLYCsbc52Lk_LUEjLO0R6fch7HvUF7lAtcnMeaGl4vw9iDEp986xAgH1yv3NrCWTYqxLYY_PaJNon2b"; e_fb_vipaddr="AcI7ButISL_L5bj48dhgAsDt27ZskUVWw9FtxhMBQuGBKLX4qMvE-EfeEehY9uy7RDZOkROxl9cxmJWBPCHCz2iAo8ffoUUghQ"; e_fb_requesthandler="AcKFF-KbRMB0PQfeQecwXAKBQAU7Rdn31kXZ3EHx6MDl3zp30oY9Yf7b4sqZiuadLUcR_y1uIqw"; e_fb_requesttime="AcK0Od4S2CBw1vApzDaKrFTn1UwSboLyFHAD6yVVHEwD9lr6mfbSquxa-p1nLNNqmMKy9sSvdA"; e_fb_builduser="AcImlN3IqHiQbx8_EEOPx6TMCb0xC_sArYItsd5SkqwFAGaPfPS0T8YZYhXTsnixhlY"; e_fb_httpversion="AcI6bQ7lfBvXi2J0CGx105_c6LCORStZf4toepNTkJ6hei0LGJPGHqAHqDBv"; e_fb_binaryversion="AcKEB1CebpTrLhpqcHa6czUXVyEB4TZRNcyO0NDDXVvOqngfgj7jhMh5WxPjv2IgYXAvNsdr_ufpqw-Xp4st5sVONYGuVFIzbjE"; e_proxy="AcJW_6LRz8gkhWUcM8knRPId4T2DODuRVeo-82R-ULl6bjuvAuux-CPPGUhbncU7Su1iJ_qYVfC_nAnap6vl", http_request_error; e_fb_configversion="AcI4rTNL1EKPEqJP87H2EpW9lmDd9wG0fPlRafRdqYVhzunsfZsIBUZn6UqqQg"; e_clientaddr="AcJ1YOt3F5pUyGEAEbK1QJJXopk-Z4wqPGYtFLEe6xbUNUyzaJthkqPLg3E6sYyUWc1lkU66R75AV4vhGw"; e_fb_vipport="AcKUscIbAHppjz4BwB4ix6nXJZ9uf5AfA2_KiZjY6YWkQBloAfodxWSGQHHu"; e_upip="AcIP8sgKuyyrTr0E5nBd9Dd6ELHAUOwRDH3ZArDMCl2_lx7oqcCMYCuxZZHrq3v3QGE30gUEC6w_lmGQHGaeXNvcku1YFjrDOA"; e_fb_requestsequencenumber="AcLt6bDpQrBIWww-4CN5PRr2s7oNbh8-AyNk6KRB6dQZXrWw-OckI6AEkg"; e_fb_hostheader="AcJusPGjuSWqXWCSCGRrwXpxme1ga5huMV_O89MxIXLfcI9Yj4ftnvDZu-i5s9Ehd0KmJhsDqQk3ov1L"; e_fb_vipaddr="AcL14jy_HKTJg-ARaYi-NUzfx87-7NQD9ap3I-QsNHm7t8PzCGnQEVSIuiF3E5-CJtmXwkZt7g"; e_fb_requesthandler="AcI6LCFKJBVyQ2uCv4GNczKUOqWdwWL1AtTwit0OZYkpUSyzb-rX1rwfBxcau_3YqnR0pohTyCE"; e_fb_requesttime="AcI0kJDmnHV3tMKbOw7MdXTjjc8JNrywaZ99PHUSLjMW_Kxdh54OZud6whXErr-DyJf5N4FXtQ"; e_fb_builduser="AcJat-WOECgSULlhBikOrudHYYgMuvTUTOJT5iM6m5p8s8cE_DJIVuD6hTbzgRM68Gw"; e_fb_httpversion="AcLWBzvecDagATi3gwc7rHhQnhESiHPuwbfX5WjSsSblOBely2dBYaJVas6f"; e_fb_binaryversion="AcLkHfpW_Bxs5ZUMnkqIRdudHMlubagGFJN-hYQaztyWjnB-CcqYWmAw8ZHiUYUwc1qN1xKzjnnrvxOcR0qtSCPyV_IQnpCc0Bo"; e_proxy="AcLVhNvm1bTIjAVgkN3zUvmBn3lfjVJHlfEu1ZJSPn2_RjbAZZKU8utrKcnrEsjjcJQcaFtPOI11dDk"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24814563641525664"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 17:55:19: Error on send one message facebookId => 24814563641525664 03/05/2024 17:55:19: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ATmuT1I_wts5QxUdVm2XmNR" } } 03/05/2024 17:55:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/05/2024 17:55:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24814563641525664"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9200830, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJqAI_mq_rzB3AVBLkHOxUG', 'x-fb-trace-id': 'CbmRL4uy4lX', 'x-fb-rev': '1011837017', 'x-fb-debug': 'Ja975Nw9MTuFRs8Qq11SWi59lF/SehRuPFO0JIQhm7iIcMoVNUlFjntWgOpUDKw8kVKasEHkN40kvZoB43qnDQ==', date: 'Tue, 05 Mar 2024 17:55:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKQDXHMcbERdsZUXkS9anLvV7c24cbkZzzd9wCAmwH6N_wdDJV3-U8SppI1tQ"; e_clientaddr="AcKogb5pvHVQq2AnS4bOCaCHplKHZxqu6JFJ6hmm-kVxovO0hxxwVsFcE4xAV1Z1RopMslm1z03sJCbeglxEqt0hGtCDWi2KmQHHSdCz8VXYlK53"; e_fb_vipport="AcK1B4C9g0l6k9YeSJQKdtnGQ8kiqAsPW7p_uhg1BGUS33UqYZjoP7WR9LrZ"; e_upip="AcICG6fYgjYmSHUPzv7st4lndiIJO26REERd88WrGS570qNlbnGE_c8O5Pt0T3GfXp-8GXEku1es4DgAUXSanfmuerIjNU_nSnM"; e_fb_requestsequencenumber="AcIMVljp_rB7ng-11m7x07byuU33rMkJva3KbKyDqISNKqJLBuVzRqg1RgKLBA"; e_fb_hostheader="AcIKa8iu8nDILCkKgnGBhzyskCPb1YwKrooW3p04Kx_Ash7j8kDpmK2RuS5ol-kcPjuhEITigX5zj03a"; e_fb_vipaddr="AcJseE42q4S-oXYxAqg3oa7y_2KoxNYyP3t5AR4iV98fnqlJJV3kkLDpP56BiIY-cCT85rEq1v2bAapwlcYHsbd8Vmj1PKC_Xg"; e_fb_requesthandler="AcL9-OlAp5JhBn8J1PxIo5cj9iDRbdlwhBy9ivTlbkkuid6UQkStFhSnxQjkWvu0jE3hcD-j_k0"; e_fb_requesttime="AcLsg5yisuVGgt-217YXAuZuDDb_nfuTTD7bIIhagKWjD2HSB70DSHscVUfZpClFTtNqW-sOIQ"; e_fb_builduser="AcJ9O1AA4YprF3qFKl7kouIRa0R4JMU7wW7AKE_WHEBIqGMk55p-3V9MA5C0yW2YveE"; e_fb_httpversion="AcLtbxFjggMd_6ubTz3liaIoR6HN-5uThYzP7gb37Yqs_SQmYC1Q-gLlsU-z"; e_fb_binaryversion="AcJu8Ye1e20mEThE7Bba2QkKDYwvUJci5Geoje5ciYfrh86dR7YEDYAC0eqer6NqzXjKI5IO_8Gte9WK5-eEHgfXDcLx8YKhRYs"; e_proxy="AcL7TzsM0fo85_rS7u2tvoiqTOxmYR3Qer66a_LvH3sThJudN9xySnfyAtI2T6SQDIThLFJt037b0-seW8Y", http_request_error; e_fb_configversion="AcIR3V_9lVWNsTQ8LvZ6rGaBnq9pPHSYteF2AWIKI1fTXmVcMZxhw8W4Uv8CzQ"; e_clientaddr="AcJHnMjImYFQI96UJUw7L84Yj_xrt-8-T9-ud5ciIW4-Jg_yp4JCcxLxQk7lJX1vg3AGap5rBmpDQIYCmg"; e_fb_vipport="AcIK9Z6axHBJh99EPxMXKNrq8GmgSz8IcB9JlZS07Ctsgtfi1PCu1-AS3d-L"; e_upip="AcK4MHIjfZlLGggfyAHYdvKSb9o_3V7CKFqJBEVGEMQnYIWCRmyujbWLaZf7e5Fq1k0lKzNMutJmdgxBapwxZS1xK_bgwlh2Hw"; e_fb_requestsequencenumber="AcJzllGeX4IZT_UaKWgkgu9Okg-pizl6izpFG8jicFoxP6XSf_TU3XJS2Q"; e_fb_hostheader="AcKyZEp4skL6ixtwkp6L9tA9J41g0NlujJVYmFDzQUohQ3qvPKYq8I9xKQ908Ieip74tmTLbrkycKvy6"; e_fb_vipaddr="AcKrACGeqnPjulfvIAkddqYdvUvpxy6PrVYeolSJPk_ObrFJGVemdEeF5xQJjisR7ubJBtFIfA"; e_fb_requesthandler="AcLYEpa20-iNiVZbw6L0pWAAdIN4agWMuzfbUI0pMOlzF-TvJektui539TVtMkCGkz-zvg2sp1E"; e_fb_requesttime="AcKjgyobxxEiz67p2hFR68Y8QResWn0qNymna_y0psPlRtLM1Hvgg24S-j4bztwxJKP_S263hA"; e_fb_builduser="AcKbmYZFgIciYlJu4Gm49hbNiprRDivCeo_yiyro78I3zMAybgLkwNjr9UpNCwEDX2M"; e_fb_httpversion="AcKWP6vFaQfRLxdS86lGwNLIzA1BEPHouKOvUVarHruY5m3P9-23XVCWOHGq"; e_fb_binaryversion="AcKj1NdY5beXc_3j6M79-GYuIW-aopltzkTRcEAo0bSkX_vfgtduU8X-V5x1O0aXA_vBxrJ8UVtx2HOUGILl0kUm7zKB-hcs4a0"; e_proxy="AcLQrHkkGchIDY_JSCwX3VlfEGLERPP9_hn6pq8rJv2UiU3USUYg8e4E5enwQe4UmQwKVvyaf1BBZR8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"24814563641525664"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 19:42:41: Request bot not found: { id: '371012979613880' } 03/05/2024 23:31:13: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6610080809091384?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9259552, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6610080809091384?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6610080809091384?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6610080809091384?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6610080809091384?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKB83t8WrZzjwq4W4xBgpW6', 'x-fb-trace-id': 'ArArpsh+rZQ', 'x-fb-rev': '1011851377', 'x-fb-debug': 'XLt74qJer7oyPa7zyTnNnQSyhbAkDimvamXPKbAv/dOymNespH6Kk107DodcZwySRC+OT5MdPOOSbIKzmTUrjg==', date: 'Tue, 05 Mar 2024 23:31:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLyGXVunZdPwPZjnvCU-9Fa6qU5cg0R5RCWb1YtmLm5zp6_JGJgtsONwudePg"; e_clientaddr="AcKJENQTicVOAtM3MbWm7E3VBvf0QtouDj6hgcpsbowndlmXA9p5ydbaGQXGm1fmOn4pcCz6ZW0Qw03WHGYPQvgn1UgyM9Jy6ljxyzdfmDlY4S24wQ"; e_fb_vipport="AcIAtWUtAzDrdbuvHpL26MY6k93BVdDPqXFR0ZqpCC97Ck2LhQ6N7rYXBkJQ"; e_upip="AcJxwRiKmQTiI--pbE-RdTlom-qSRosuhnUQVI2jINyECiwQrBgMC2VPdD3xo2Xv1v-96M19LBNosjY57-tEC9bs6vlmGKBJvc8"; e_fb_requestsequencenumber="AcKSSJTWXJmRZ7awpT9uGAQG9Bj6VGYA33nlyuoRe0b28472F-s4-HgqVAZ-"; e_fb_hostheader="AcLJh5NzbFH9uLujNelbnJjB4UU_dg52Lhux6vhmK0hhGdt7eoTCy620ZEWJ2l-Dm2mL42Pc914V7Abn"; e_fb_vipaddr="AcLvd_RXuD3tJT-HkYb8J1v_OwhBx_8wmEegQvUln6u1sYaqfmI8OW6qRmVUGOOsZEdblTvNd7hqj9M4m5bcB7eZlpQ9Pk_m7g"; e_fb_requesthandler="AcKs5sqG7xxAvvLg0UlrYwxgjDnKPTPBifJCuD5QQG6SO9FakjPNdY8TnVViogk2XveKyVC16DY"; e_fb_requesttime="AcI03mVc9WhVQG8FY3iEPOMjQxdK5aROWsy6sz2AJh7HDDzs94hSpR5E6CyX-zE7BqAbmKF7AA"; e_fb_builduser="AcIcyAcvjiXu6WFfYEHbi5hkkzNB-DWdJlyAd83FX60jFH-m3sprhjFDaGkDo1N8Uhw"; e_fb_httpversion="AcKxqMuP1xk8TMe_biYUgCbmSMVzWFQvX1uL0s-9xjpwtcCTvfRRVJtGBM5I"; e_fb_binaryversion="AcJnnlyDhSus6iDi36v7uhCEUgpZ9QPL4RTste2FBGaFI2rV7Ek4v7054TN8jd7zcVlRsYDT41SUyI8y_SskUr8EW-sXy8qliwM"; e_proxy="AcIzbfEhJ6FMFL4A6a4ADde4O5N579UBvytdQMdvsJ-tIpjotAfr7LaUh0wT2nAtvqXIwWi4whSCzYIqwFie", http_request_error; e_fb_configversion="AcLg5TjrkJr5cwIo1TLLK592L50QSbZRMt2i_y27P2bgzwnKb3AmnA2oY79SfA"; e_clientaddr="AcKmhENrYCQRM36hIgmHWStkagLfBuWl4NnWbTO8cgQ2lnLgBoVXvdDNXXZ3Xth1lUH0BAwMLaLRRpTG1g"; e_fb_vipport="AcJXHHPlsxPhIKN1klBnjRNf54Lhj8JXi76ZZjS4zAD3S25CR84Vcwh1Jfso"; e_upip="AcIXvfeMklFjxdcxQriCq6asygoGwNzylcyhhphr2FKwYCgcsMtX7jLrgxXt-eFhFfP7G5iJqgjm9eizyZTspHEzBPvTZ6NuOQ"; e_fb_requestsequencenumber="AcJHwQ2NExvjNbDbNxSJlU4xJDvghz-LFUrzhwcaSKXpQW8IhEvmuIjOlg"; e_fb_hostheader="AcJpOfhHOeyuihNfn16JjRQWisH6-vUkPIM1MrpHMr8ILSv1-K6-3c3YbXkwywPCMTmk7lwmh53kFoBt"; e_fb_vipaddr="AcIrHE88jLMEk7kWOqz1U06ZNBYJPXfOEV5cWCb3DWYeLC3tboh2oahphUYrSjZFeoTpA0gN1A"; e_fb_requesthandler="AcIn0jQ0DAzXWWZ2hdCFQmGKstzxIi2E5fDtCk1zePpjeSP5fELNmUMs44pSr5oLVHe4Pn6GtaM"; e_fb_requesttime="AcI8wtTpR1-Wacws_f__Q1evWnNXGbE595b6MuX3DQqJdcubd4G0ZC_T_Ndv2K5LL8OYEc7aFw"; e_fb_builduser="AcKELLXznfS56ntY-R6MIgbuzldSRdr98QarH18gdmUGPNTLgk5jJgLsRQHuRPjVneo"; e_fb_httpversion="AcK18Qi4wXaxGKrqdSTW2XgrQb7qa-XQUvAegkQ39MWpPfWB1nCuwW0PzU54"; e_fb_binaryversion="AcKbm7qek5RswnQ5v0SI5THkHPJxTWB9H4dsSfhVjZFoo5jdCgqt6w4Ns1z8YFron3ouz_xBhe5EnMoJsVYh3Jk7IrEb0_1ayMM"; e_proxy="AcLEQgVG-flE9cw6X-U6TIAvj3NbV81jQf0LRm3i7xVlneTNY2qylXTh2ONlySVmvKemrsvKa8gPiX4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6610080809091384?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6610080809091384?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6610080809091384?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 23:31:13: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 23:31:13: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/05/2024 23:31:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/05/2024 23:31:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6610080809091384"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9259677, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIUX9u-ouzMXR6lqHQpJYqp', 'x-fb-trace-id': 'F3UlthGRBlF', 'x-fb-rev': '1011851377', 'x-fb-debug': 'ozb7oUTR3Qb8Nn/gAfASY77ZmXTqT9WNZBsUukiTDW9D07LwEMYvuOXeY7Is292SD0Ai/JdRb811KeRXioBBXg==', date: 'Tue, 05 Mar 2024 23:31:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLLRx3glS3zaLlzX8GZlmz9q6WeljZ1XOvW95JEgSToMiLCcnMjQRzEkQJ-2g"; e_clientaddr="AcLrYrOjMvLnOJuWjSVkjVFsu3BBHLTreEPv1Q8dEUKggS0ylEuTm9lHmdCTmEuRV8wCEiur0JoQQ8fsZ9Kw4CyiPc1sQPHmjwgWodpYbrF6Gxsovw"; e_fb_vipport="AcIatyTD8jDk1JNJTMhTxXnhbr_3xW62xgZJ0F1gAXbzxaCcZzHXZcSxCd2W"; e_upip="AcIqVepnqkE3t5eqDblzxXD_MlU5T1f-erMnPiePuErQT6wvwlozA1Wjom3P4dC7Py74X2CSj814A64SJBrNl-pCJxRd2ESv5aI"; e_fb_requestsequencenumber="AcL1wTcXNhYJlqdeVM1hGs7cLN73aDE4GFrwuFihJB7FmR8s_lTV-Q8MKNH0dA"; e_fb_hostheader="AcKIO6NHYIi-vzt3y9VYG3oH224offUM78xba4lGTv1B3kZnrCaL7pQjUukIMl8sRbKPsKrq9zQDlcJV"; e_fb_vipaddr="AcL1755L7vpBI3i70PuiPXbJp6LnmUkEp-SxJsQsRZ-JZhj2cBSm2miZB1o9Ygh__fbQAkW9pXP5VEdu0CvoyYuv9dGu9AsYGw"; e_fb_requesthandler="AcJZKX4MjHRGTMq_xp-ZwuMmWZq9VthYn7OEsF6ZpPP78rbqTBcc8tiXv3Iw_1m4jMHp5Eqn_YI"; e_fb_requesttime="AcJrwS9-1i0aO-sDU8U0AfcqzAAwsU7NUOjkvv__3E9vj9sbbYC9DOXZAbeaHBtn_etaEwzGXQ"; e_fb_builduser="AcKQ5QxlARh0kF6T2JnUtPPmM-_cF7HmC1Z_u9-UUKhudLlejLFCs5dfiUKohOZOhao"; e_fb_httpversion="AcLoazdLu7te3xZ9IZNzM79NIAKYlpmpRi91DjBskcSeFP-CiVJF3-OACAuj"; e_fb_binaryversion="AcKWmljULLrsAiZTkD22kOcBMCD09YS3h5nnw4RX2RqusCq3yp9Pk4vct59MTDN2hGHQH5YT0RBaxSGpxuZblIR1cE6EGc6aBnE"; e_proxy="AcI_x5LKYZn7Tu1EvZ3Q3T6blbGfpb-DlnQrrJw0AZ1F8qxBeVs9QEY9MX6Usfk71P_GqIGZe3gXf5lWMpMf", http_request_error; e_fb_configversion="AcKbK5qBJI2n2LCrT8bqLMdr3ikFlpj3W0qtOvLYoheiAkTQ7pfo9HYh-eLgqA"; e_clientaddr="AcIiX7vIw7B29oFZtrcusYheEu4_KNVzUnr9HzEs3Zv9dQ357l13RCmSVxl3SEWHqd7RBhbra2IX4JJaMw"; e_fb_vipport="AcJj5SxUHUswZP9t6_VD-D1623zy_vt6m4WfJOK9l_3KYV221kiNG29kkMVN"; e_upip="AcI3Nl0ZQx1B6gV6qQhEZL4gNBRHdhXKrbKZIyHYYSUacpggi5QAIH3Z4l9jYXGtpR3qDiNbbNNHDE7dc8CydhspGVwpES-rWg"; e_fb_requestsequencenumber="AcL__7eV6vNJezBj3pxyZNFI0nlXxT7DKZvtFbjVeEBj8GsGaac0LIId3A"; e_fb_hostheader="AcLiE-82yIyvdnMMLkQMWOjDD2L7wphZua-z4YmqH4adme5bvZc_pIzgiyN2_8fO6jkv3k5eh02wigOs"; e_fb_vipaddr="AcIU3uuliNcCvzoNlohKxkKA5INf2Aqle7oXPy1kIoL9bhUDvRNUhHblg8z4U13QPq2NNrmYyg"; e_fb_requesthandler="AcJPjCgtsOC5SuDw8AQ1HPtqnhx2UB_5VJWlk947nC8U1Zzv9sZ6CKmupPtPsNMzd-Q7DlriScg"; e_fb_requesttime="AcJ1ulw4YoK3BgsGVNnEAayKMpXh2fGc87SETQpevh5q8wLKm-EvCqYrcnw53rvtEa_5oq42IQ"; e_fb_builduser="AcKza8nkkwGpntOUyUPh4unE92g93Et-HEdAHHYX7cy42IQFB95N88g7JFUm3LU-4cw"; e_fb_httpversion="AcJZPqOeZdxQ4EoU1PPJIUpvI1jl12GwR3mT9OgeK_BoHkGv0IYb-jfn4Zan"; e_fb_binaryversion="AcIW4PCWbANwbgPBa-hlifuZBVAp0n3nB_gzM5orDuFKW53n57MzeTFPEfnKsKMgOka2CKvk39GrX75_Cl4B76nCc9qu71ErQZM"; e_proxy="AcKNCucmygoKcBy_HqGTESS3LUcPIbqhjceUw4D26D38Xh-rQjzBuvff63jZHplCew6nQuRtOYTikXI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6610080809091384"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 23:31:14: Error on send one message facebookId => 6610080809091384 03/05/2024 23:31:14: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A_KKJ6_eoaeo7YrUtY0T1bP" } } 03/05/2024 23:31:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/05/2024 23:31:14: Error on send one message facebookId => 6610080809091384 03/05/2024 23:31:14: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AIY3Az_YzNSLgZl46L6FBUA" } } 03/05/2024 23:31:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6610080809091384"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9259750, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'An-oli-jLe6eID_QVN226O3', 'x-fb-trace-id': 'CGd+ZlhqSId', 'x-fb-rev': '1011851377', 'x-fb-debug': 'KTt20ARogbGCsca5/TYQZBa2qzUBKuQm02Mpc6doLxGaNVAhtYFi9OPXvX/JfwjC1r/RmWcY/WsPARAagNeWtg==', date: 'Tue, 05 Mar 2024 23:31:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLScglOP1eVmXMTXI7LeYvdOA2yWYyRjbewkw_UXJp_kZfLE5azr2F3IPAZ-HHD_RLIg5ycmVVL9L1PJmI9iwisf09Qa7gDJis"; e_clientaddr="AcKsEiadbFncv3yaspnwrQ0amw8GUZX0zi47W_1sxC7XcuZAbgv3tQEmf0D3uhQfYoicY15i5r7WxwsBNTVYD9KSbpP1tBWPFg5HDIHk_Ig3zG9L4Q"; e_fb_vipport="AcLDYePMpuWnxUuZL13wePXWtnVnFLJ2xfLl4KElXO6PmHUEcxF0EpWK9Arr"; e_upip="AcJkkJE6y-RyVlJ6irA73d4Qv99s7zYHsxb47pE3AIZGWaqVGvYlUwMhJLIkUgT10S9Kn0VAeBb2D7fTYS262LJcwV9q22IXKvM"; e_fb_requestsequencenumber="AcLgpF0U_31_NQJGRPw3VRIIpb5cBZwv0BOtyFJXlEUb96EczqHmIRXMOKIn_w"; e_fb_hostheader="AcL67cnrGfrPQgYpoSDGovUjVqrnGuvfvMwOQbUhrwV-J3iCtjJcZFK2Azh7LSXFQdftkQmpIFNSKT-6"; e_fb_vipaddr="AcK5uU6vdCmupms2eANW1kyJduN_NF_Sg_FSn8P918QjGSWmcLLnhEoRaewDjOkpwSFEH5TvxGRLc8gLak5605JJAMpCMRuDJQ"; e_fb_requesthandler="AcILxT7RG4GFsT6qTshxVqiaDmx3QhS3YOqF_RzC_6MdQcEEOS3w3XL6j2zCbIgdWqZ6tsDhPo0"; e_fb_requesttime="AcK1OLSBFIe-xW09xRUY7k_uTqpm2osaitErF5cMVvghbdKRv7VcQjBaHNppjY8DQgFj-pMLLg"; e_fb_builduser="AcJxqTmvDr-YIxrosx_v8MHQArbRfMvgcrp_g4Ohq1H46ALaNWqXbxs0sU94cCZd28k"; e_fb_httpversion="AcKb_7nwvz4bWeeuj-vz7AYbDSgR45j4n-wBHQx0MWNnPQ-0rSd3gMR50mz2"; e_fb_binaryversion="AcKcKWgfzvYmXVCG2IjtXpDo0oE-p9xX3vt79Q-BUhEyTfaOrIGF48C4JJBOtATpL8hy5WIdI8Vjzw506O4DB2CMOPgJZpRrTms"; e_proxy="AcLuY0biU_Ig12B8BNUbHLHsXCeZWgF8N0CuiAPtr2gfjdQatwmHfMcmuV55wBJ0pN_OsH2ZUZDtVudRgm8m", http_request_error; e_fb_configversion="AcI5TYw4V4rt0ogDnPeIQzIJ51rh1J_l0exbP5ciNjIxstgx2RTLRXO5Wc12Iw"; e_clientaddr="AcJNFeTRiknpWjjjZtObfamplQl2RBJoPIdqbnXOkZ53gIjLAhRwBXACf1Jg0sXtqJlYVvb5HaOPT2ykjg"; e_fb_vipport="AcIPP12k_TVFfQtcOveGQpTCa-KZ4nlCRoPnJgi0y1Mnue_dNiBcuEShF96g"; e_upip="AcIqJfoWAkgJnvFgeP4DO9HTZLWVVtDCkz7Cy3R9mS_FdK_E1-BJoewyZn7tLlR9Go_ozyxqA72s348jadYA71v834PL9ZPitQ"; e_fb_requestsequencenumber="AcKtfxxWRcQnyOqRY7Qo1OWbTgjFnHs3luW90jZNzBvOXBRuAEH49tPppQ"; e_fb_hostheader="AcKtSbXgiNNYgo322YPcx65XhTPl9MFPM0Zj9ZWUpH_5eB4J1ZL8x5RzcQRlxlEjaaVCcBxmKKDYR8pw"; e_fb_vipaddr="AcIcPoPV4zcIXRFiIpBRoNOktEqs004addT7LObG1qCuowA1tY_Nex6TQA_EvgOYX27fCd6eEA"; e_fb_requesthandler="AcJuIPWb3JZMqRPjWUb4JsXB6PR-8BrTd1DdfEm4dRxDelo4yzxqJTXCQBgnEICiSkiwo3qjPNg"; e_fb_requesttime="AcI0Jvrcblo5PKh8u_Y_cnE6yVg1G5fu-GtKiPRXXLdU76-C_IoHCUsdbCtBhmVLglj_TAUJSA"; e_fb_builduser="AcKJ-4szHSLOPbG6NmWLBsp1322ZxFToDUaPrnC45dgAohq7ydrc4Iggzes3uklxMPQ"; e_fb_httpversion="AcLUMBUnZCpLDLJMkDMCfFbud228JPuox4wDV_rfm4-Fnnay4EKfJ0Qf2Ll2"; e_fb_binaryversion="AcLBttWhiUV2EfBBj3VAdTVhRQ6_djMN_xxwa9Y3HzfWXhtzdn1EWIGPcrQSVdkkn5bisIJhE27pxT2kj9FwHp7vKKyDVd5jsps"; e_proxy="AcLeVhM2zaYmnoyabUfZlCk2pETzfFvCKNWevgSHvnbunBcDSl_f1hQQmSbIZcY3IRqUJu_wrB-2zLc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6610080809091384"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/05/2024 23:31:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/05/2024 23:31:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6610080809091384"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9259865, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiXSAxG5NEYVb2Imxk3V4uj', 'x-fb-trace-id': 'GBI1SIhTB0L', 'x-fb-rev': '1011851377', 'x-fb-debug': 'GI042qkrF0UAtY1mNzciAqHoAtcTmNxHtyTsd48TeeyLWPLh+hSkCc2LupgH5NAI9OFSkUPx69fOy0c9YSRPfw==', date: 'Tue, 05 Mar 2024 23:31:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLpaZllTG1gV8gTkK1PQReEMHH-uhPa8cuzibp62i-156qyp30ltW2kSUl77A"; e_clientaddr="AcLfCjTpdvkfS_MKOncryE-LcA2IqxsiU-v1Y6EqXUTWmEM3iRzQofrAngJG9w0VuDx8lCLT-E6bHWsWg9p8Q8swpGEg3_ci653Z6ueTy_KAzHDI1w"; e_fb_vipport="AcKqGL3wNExCay16vzxfuX5DgDGVu6HCE6UZLikL5dM5VatPPrnFhlLIbnsm"; e_upip="AcKRUuuiaiYqqMz16ZXI_VQ76Unmq8uxheJvFhMV-SSyXtTfvgamnxtOExp5VwYQ-JfQiajq8A1hrFxXaVxBNW8wWGsjCPeCog"; e_fb_requestsequencenumber="AcI-GMqAq6m3fdvSdjiFTj2O0hpzCjzaDm1V6slK-fvXZ7gnDJ0Xo1sSK91U"; e_fb_hostheader="AcK43dAhbsstsb1PTNqok8NdA0DtC0Wf7ENr_OsMwrmCsoWR-MtG7YdnyKNH1OT2VjBJB1pWpKH2Cz1N"; e_fb_vipaddr="AcKQbesJFLbS0NSENv3OImQfXEAyGHFIsRWOlA7MlYH5BtcH0jbENaeYVmzeQaMzGHpfWAT0Wkh7AyUfNIzVi_B1XtEBcJ13FQ"; e_fb_requesthandler="AcIoTvvYd-oQft1GaC01jfe0oWEF9UrSGcoUlP8KxZAH9966u8GO5CBvIry58ZWo0Q5XToPmJYQ"; e_fb_requesttime="AcKiRT98lueoj2KxGnD57EGWlH4xiI3lpmtKMxueedhg2QLrkxUR9TUFYQH35T0pUID3wu8cYA"; e_fb_builduser="AcKwGKDepixQyTmLO68B492RaPY8xJu9Mx0UGAxpXijDR8DKdwhfUH7t6TIJ5PngzQU"; e_fb_httpversion="AcLbBlDS8qYN2eyftQKYdKUODQxC-f3i8KBu_RfgL0kQnbbxw1nXkAKYyuBa"; e_fb_binaryversion="AcIPqFBhCh0ZwXVYYjmT33rpiJxz_56eSvXyGC7kzBNY4QC2NMmS5UOjNBX7U6OAiV0VmLQEYSkfJw8v9ilsyGfp7wNK_k6-VBU"; e_proxy="AcJG12A8_X3P4FWxDyJLeibpYPR5xCAiWcYVifpkJ8x3PO2-9r1xyt1WGJHhDSk3f_UmdTXt2uKVQDSvyRNS", http_request_error; e_fb_configversion="AcKtv5AKh-fWRmp4Sa54nNPs-S7G2SQLB8UdxuwH0BZkmjRmVhJxHjCmiPKjsw"; e_clientaddr="AcLx1nRMOZA00dMM2wYT6O6_5YG9VzT0Za5lSGZFpvzahnjKsUuxHJJgDtcjwjOXmJN_ZmcwIF7F2BDr2g"; e_fb_vipport="AcLh4VOzYVCDNMBa6qO02PMHGd-8bdcEAtXmO6Ot76E7IbvmVz5xzkXW0zPM"; e_upip="AcIPEXXcq28tDkweGyIXdV0mhRJyvTJ-gIFPanEwGkTJdCoJ7RYgxy8W_phdnF346DWgW-ydrkKB4eAUAmL_fR0tXZY5ZB6IDg"; e_fb_requestsequencenumber="AcK_I4LjdvxsP-I5wv6JhSGbviQgxlREhUmzM_j-HsTvWLiKMl2NG2bNhA"; e_fb_hostheader="AcKENzHDEUIDhLyLR6DNmJdgQqmNTAMiT-G6KbKJAMhYeORQlSCKLvP1iYO2LAVQVuSB35fZcpEquuTI"; e_fb_vipaddr="AcK7CJ9yDht0e-iHu-SiXK_UmOCLQ9zsbzXAFIl-BDD1yYIqJ96lr9fC_skYD3afn1ITQIrLLA"; e_fb_requesthandler="AcLvmXnT7Gkspaj2rrToVNeG8OOMN5WDWVo1bOt3dyY3g1EKfr_p4UgNZgC2WeHd8rwNdv5I5cA"; e_fb_requesttime="AcKcZlRjGOKXg3yNj-hTH2r6gDONj-alDDHY6KXlECk0WYXBdt8HJHBQQ1uCVri1kzpnk9UaaA"; e_fb_builduser="AcIPS3CJag95V41Fd3mGQbLjAYmDe7CNRVDVFQHGtFQVTh_B4WSFK6DOfie7YyTbUyQ"; e_fb_httpversion="AcJyKjrN8tUmrfnufybgyv9wt2BkE6_OcldhL6neoTb_e8veQbnebWKrPqzI"; e_fb_binaryversion="AcI823rqIZ0UkcLBXCXP3-ngWDW_GLGiepYANrp_E0zDw0zx21QqXg-6oesgesLCpDCnVaP5T-cvwheQKulJ8ERwXy7OBi-E_3k"; e_proxy="AcK60IW88PL5wlxxoJRzVouI1R-hl9lEkP4NVfvaboAL2aQSp_4du-jgql6yKFQNNA3vpHjqqwg4eoU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"6610080809091384"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 01:15:16: Error switching inputType 03/06/2024 10:31:33: Request bot not found: { id: '111693767414179' } 03/06/2024 11:12:17: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6934082323363035?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9378014, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6934082323363035?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6934082323363035?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6934082323363035?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6934082323363035?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsVIG9tfm3P2AxKS0tVL3Ex', 'x-fb-trace-id': 'Dzt8LEutj0D', 'x-fb-rev': '1011863941', 'x-fb-debug': 'mMYsHy8c4lV5G9nCIiZ1ZzJCkUqS4GsAnzd9P0U2xZbmglZyG7bqBRYkDBN7USyoomcEaSn35RmihI3xAByJLg==', date: 'Wed, 06 Mar 2024 11:12:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIZYnfqsTso8meIPbbVvp-ZADwSkngr1C0BhFO2gqVl3uHCmtETf3a7ZR4urw"; e_clientaddr="AcJYMsQoqXlBVCOmtCZuMBx-O1sGPnpZxETNH_xNA1kp7lQrfl0UzcwB-wsuYVa6sAbykb8jgTRzl0J7a2hKscWEh9Au4MafW8_R224LozMrd7a_"; e_fb_vipport="AcJiuCisZ2TYXXQbsi4tZ1dyvSDOi1CWxqnFDUnnuLZcGDTHU2KIdHay4xQ-"; e_upip="AcLGIHbUOj_HYcIjmTMNPTlrevWiJVB_l6_6J8kNRHLHn9wQS_Kapd_wWhwqUoAdORaSA9jytq0L4I5S6yU5hZC9dZPzK5AM2Q"; e_fb_requestsequencenumber="AcL9WCelbXIZfRl_aEYhfxG5HsTplaLLZCBqEhPJniRjHKpBle7C6TVova0o3Q"; e_fb_hostheader="AcILAhoROaKE-InPLjgptAf6Ch0mU15Hd-UTAcq7nUJ6W_UqJvVEIDIVmtkchCE1g-1TZ0DYc3P-P68t"; e_fb_vipaddr="AcL9oyL7d2T2M_iIa6GaUa2W4_l0ZQsQ_1AFu9uE9qDJMtlB5bwrHXN0S7PG-fCdcM-YhPk-SXDpEWDu5s1EeWmT6YO9DnqOtQ"; e_fb_requesthandler="AcK0ZpBQjt2vwkwlakK9yl4rUTx2kHLjoVEUuj9P-10TkA8PG67LUhF5OAe8iXWBjdNr6LSuFkI"; e_fb_requesttime="AcKiHoZPV1hReieIO7YPH05iS4FScD5i7i-8DqimbPU1uRJn7qoOaIGV1SZvEImqXpm4mqFwaw"; e_fb_builduser="AcLmaKcaMo0J30Gd4EyrnyjXrS0tZh12TgYQKPpNlR_LDDGQguCsOgzF-NBwOsORN-Y"; e_fb_httpversion="AcKoGBKw2P-XgG0NP6lXFE5RCSBXuTotkCrRKNkFOvUfPrzlffH16VlPIop8"; e_fb_binaryversion="AcIpyGs0NDJGLHRGIt9p4DGkl24aOEJqRbSMiH6ZHkBOs7bur2ORe2l70zg8uO5460mliDGLbkS2j7JKtw0GODm74pKyNUvqKIc"; e_proxy="AcJesx3MUg3fPZlCPJg6dsuPVUHyrHV47a-8Al-jIxmd7EP6T_vMgCCHxhwJ8OezxP682QioVUKPSiYfYEaL", http_request_error; e_fb_configversion="AcLTxOGN263C7IYOahwpIsBqkkWpxCqTUId530eZzgWNtynghSoWMGFYe88dDw"; e_clientaddr="AcKjgmMtwbkjAbN-iW4VJ5wI9ehnxY9aJ6G_86rdrHG2QjTc9HMvRSFXKpA-0oW0lh8f2PQeHUx9-vR2bQ"; e_fb_vipport="AcKHS0YTCOL9YwWgl7Ac98SbnGXfCtylkOjQT5VUNiY5BrLyMvjAxMyOqYpH"; e_upip="AcIxM0BQk_FqBAKcIHRbsRaila84RxnOVDUylaTMpioSeuZs5sRFrJtWl9PrJQSmzVvnsEWecGAzWtAgBqD_DoVOM735hoBbEw"; e_fb_requestsequencenumber="AcIAuJBaq-F8MHJmIeZYFVmskgL_dIsbNuj8TXcyigehFMaSrUAI4-GrkA"; e_fb_hostheader="AcIcfAS_qHVer0b9Vcoi-ZYoQa50kHH5j02BSxrl1-6gTJrlpwPuHReTx2nAmnfTu0UY3-T-RtCjC_Hh"; e_fb_vipaddr="AcJGditrZtTo_mlokNH3NtGTdW9-GYvE3TZXimO2ovoOT7rS4-G0KTSsCJS_BaOxnHqSfByw8Q"; e_fb_requesthandler="AcJ70ZkuPCnDNYnsOHgCptj0BtRT_S-WhLEseJikSp0Be5ghMdXYCbChE-zxez4bxfiOZkHEuOo"; e_fb_requesttime="AcJqFIn-IziGoX0q0cYUF4qldQz-FquDMnswINhr_hMUmmqz5PIAN84jXu_-3ycwbOl_CpDX-w"; e_fb_builduser="AcLUmS5w81_zeA8gu7F_FSUumNUwI6lKQ50plvPVxAeeD7_8TmJ8cLQbe513RQ1jfcg"; e_fb_httpversion="AcIuLSPkh9YMf6PUVD_bhrjrCd-JZ6spiQF4G5LKrAAhTCAdJKjOz3jeBQHv"; e_fb_binaryversion="AcK3XmjrvgxbF_jW56lDXQvjoL6wdrv_9zR67cRWs2LyWt-Gxm28F4MGOokXkCPYPZOVkuLbx26o7Hr9IvLUK9xJm3UJR74Edxw"; e_proxy="AcLZFasXUtpVV7fFNE_KaduVrDAq-Kk6dHfirc9Ce1F1ojWM1CMSO4TSU3RAfHM7Ct2to-shJ8b8dZc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6934082323363035?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6934082323363035?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6934082323363035?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 11:12:17: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 11:12:17: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 11:12:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6934082323363035"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9378132, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AK9zptB2LjqfkvuAao0ZAO3', 'x-fb-trace-id': 'E0GKnfKKfid', 'x-fb-rev': '1011863941', 'x-fb-debug': 'CP8R2fkY+FkZmplxqYkShjvCWokfsmj3nZjGkgRHYxWi6HMb2XqiGRuPcpySt1LlSvAr1lK+kSS3q+kPVZ6Vlg==', date: 'Wed, 06 Mar 2024 11:12:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLfgQT_Dk-xK_JazQTcWS1ViWawtkzcfeZ2TYMs8b34OpG8sCNmDoKpKCyNCw"; e_clientaddr="AcIURLRHrSc_FPfTXNgIV9kvnxesaQPRM3wOVS8kelBWp8SFVzScWBXmKlOQYWnfdFHiImg6_wbysRMDOD8joxnoNYwvzWUtbb_K1p9O7Mn12u7lAg"; e_fb_vipport="AcLwIOOiTZV4Zrz-f80RgI-LeRC_wouEwcExNdw7RHKKf9qzWHrBJCc-oyCy"; e_upip="AcKVKJe6M4F9qsmig3dwsE_Wkni67MHOvLfrEch1Sg_RKw5-I7wOh338Ru3ZAvOWVHDt75rQs4hYtCrFfUUp01kbg1p1V3CdF90"; e_fb_requestsequencenumber="AcIT8h5cRuX2q6Hz4icszl6GGNjp7S9Qf1ot9-NAOgnQS43RkTpUmk3-YcpDQQ"; e_fb_hostheader="AcKlnpt5pKsd9qFZNvqECxJASPT2VMAPEItVUWUk0QcELXEMCbZ_ktcJ8p3_1kOivLsdGPE_DxijXkIU"; e_fb_vipaddr="AcKpC0vKVGubiEc6p9cJuI2fplVNKoYysPkRljYKFhErgs-_slR6aEdg_qi3qR-RN7g_ON6UKod4pz7PR1s2qV2uhWcOqJI3OA"; e_fb_requesthandler="AcIfjmBDPfX-1A2lynPL9rBAu9LLSwquKEsIzEUMSgviFQW0DCilXMRKS6BQzRcGHqazWrFWwd8"; e_fb_requesttime="AcJn2fkQPxIxxtGX2oYvmsPxfREfRl26PEapKrt4rx1Ra3Qd1x14iYY3UQCoFIi0l6CwBh3hrw"; e_fb_builduser="AcJHUzz-3I91Mi_zD8iXT1Wwt3qkIb18vhs9IuwKIxkTZEAf9i6TyJI7oQk-MpvVFGQ"; e_fb_httpversion="AcJ6SG5rfuuFXEhpQKwuaT-O6nFCx_19OHOteeBRJdgnTp8ZBTKzHLi01AWC"; e_fb_binaryversion="AcIDSn755j7h-Rr3JMGG4lcR47RhPcGXR1LOX08FWEoYRQpDe6P6kxL9LsHj7clLT8aqbndrDuHdURT_KY5iEEpNN7PsEr5dyWE"; e_proxy="AcITqgFjWEMuuGD0YSvZt5AuA6WQhddQBE7WsNE2qtUdfejiK6Y-Vx53yYrE_olXf9WVDjs3Sv_qdnjobTDs", http_request_error; e_fb_configversion="AcIK_KeodJyxU8jBj4pDQCEsnnO3GWR0-0wV75rqWC_x0KU1TiMfwJ_mYsyZgQ"; e_clientaddr="AcLXh0O4cA6ZYOpGCJePsVadw40bdFXZ7yk8o2Sy4qPFbg67e9uBVGzgRK3-e1A_O0El788vrInwp-pegg"; e_fb_vipport="AcIUXnCuf6nB2d1atU_n156Ii4xG9bDcaMUZ4fdfuFqEu4J6fz-o8W25Vflh"; e_upip="AcJWAMzXYaD_74U9tawpNfSWQKxavtWoxIvhu0o1Ca_JpfPqu0RvNPWoQCAPdCm9ZCIsT7ivYVzuVubqkqx6cBE_KnX7kLW1Pw"; e_fb_requestsequencenumber="AcI0L8leru3yCfnWpJhZsFa3NqXvYLpClZUOP1r7_xneGkR7wZWsI6XewQ"; e_fb_hostheader="AcKqpgGReCsKy_-eKHX1GpkKqwPGyaIIoh2-Mpam8FGd7nTKrbbtMFC7qHz8IO0LLn3qOemQhCX42gvq"; e_fb_vipaddr="AcJtBgCa5shxuf02tAOZmns3RWJzcYLHoPhSJCxx0FYuvPN0dHLaeDvnKVJTbC_sa2t6jYrEIw"; e_fb_requesthandler="AcIeVS7G-OVV0IkIuD1p8v54NllT52uAbyEgcgtHHOIxSbgDEcqWQ4yVg9S0k-7cKdKRmpytXQg"; e_fb_requesttime="AcIw4O240AHg9lB9cMSirijhIMcRbE8HkNkLG51oZRmwnTsF29_iWbMfCbQ1TdNfKsRhCWE9lA"; e_fb_builduser="AcLstwMPBntqkHuATfwEGssyLO96UZTXsn9rXKz6FIf-NzVQU7eVA52skb1X3juJsUM"; e_fb_httpversion="AcIVkDsaetW88DabtUcXdKi9mEzZpH3oNE6DlFkilIvFO_sziDKssE0KYX5X"; e_fb_binaryversion="AcILhNPZmSbKZwoy2uZ1v4APw0YQPuA_DcRo3_kRB9gnFspIfjEqJJYmtVzzHHeUh961nKJphAfibCbTaONMqOI3YYsC26amOMs"; e_proxy="AcKFBnYq4Fr1ZBNfjFPw1-EikPIUJ14Oii5a1ul_-E4I7x4hM8zKipLoaGT5b7BykMWKgDCXNd6QABs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6934082323363035"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 11:12:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 11:12:19: Error on send one message facebookId => 6934082323363035 03/06/2024 11:12:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4cgktyYTNT7ikIiR6Tt14r" } } 03/06/2024 11:12:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 11:12:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6934082323363035"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9378219, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Av8GI3Ak5-G1Vak2SZVuN7C', 'x-fb-trace-id': 'G3gppQH19lK', 'x-fb-rev': '1011863941', 'x-fb-debug': 'b1slgJzB5/QZDiM95lpCqfZ8VwLZRSUDWNlLXxpJdaquyyb33nVsaQUSrVFQfSjc4OWjVldvn2Y1RJEMf3r+QA==', date: 'Wed, 06 Mar 2024 11:12:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLER7Cnw-wf0JaDE7zwCO64rH1TWW_FXgO0b13YgNgeQTZt-1INppQc4Au8Bg"; e_clientaddr="AcIOlBvMC-84eQP2Ra0NXdZQ34WznsvXTcxUY8LOxyRHXYlmRz4g6LkL5chflKhFvoP5AmmAArmt3AMYD0yfxG7E7h9xa4w2ieu77ST8HL8v2Qfviw"; e_fb_vipport="AcKMmvN-xqMRe0bDbO9SxOxDu5mg-H5gDHXJDEy7nxGXckclMoRuoIEUxGBf"; e_upip="AcJPdzoYrG_F-XL2O-3SRZUfnL9fQISW_FH0zb6Ca54xml0xIcsJCsmWh2od-FklxyygjNs0cT3EaN4EAosNkBmwiNuDbGzHYIw"; e_fb_requestsequencenumber="AcLuRYFuIRCurUG9fde0e8JSvDbvKbYzIvzf67XeDYlu2qNKQFt2JjIkyafm"; e_fb_hostheader="AcJFzTgH0XNxPQld3Ilid7AFCB9_ai-p5dwKYS00vMzOBY5_39v0xkHfs7LG1lJbDEy4-Z6H4b6EHFDL"; e_fb_vipaddr="AcK6OwUUBWNLXZVZOIHk7I5yKEAlgjH6FM6tIn8_b_ToA0EGAFHlY_WZcbuGxgPx3fAfl-G0eZFxC8YDlPRNLvalMvcga6J_6w"; e_fb_requesthandler="AcJP9wpwaBF6tf4XETuLy1o0vInd3EZe-rIF9M9JBqmgq0Jkj_3l9Xw_I9Wr2x509zIJ6RibVcs"; e_fb_requesttime="AcLW5Wzy7RmMScQ8GJOt91_Dz0Tg0Nn7rjMJKIiaorKIcUo_JhL4FAzeqd5v10BFEwQPyXnOyA"; e_fb_builduser="AcI1OxzNH4S7p0a_K4-3mucD42oJQrw260Ztb9MUkm0iMBhl6wHOX9FQtl8qPHIEXCU"; e_fb_httpversion="AcIcjWgUNenXN5OZpJ9mrMerITdg_N7GzsUmph29uHli-MvlNveMPzJS0CbS"; e_fb_binaryversion="AcLl6BGxQBtGLAEMgosEZfvC4kyI8gNob-VZX1Ij5eYcgM8KGwqGdVpDmslmXSbZKkOH7WCOiuKpnbr_gfhkrlH6RxMiHvKRJSw"; e_proxy="AcJXQ-x1Rn4hmfUG4cYbNwrSz7p8U_5hElnHr0U1fuzSBszHd1sqql-_Qw4b8-wM8SP0Yp7ncKCA0awGpimw", http_request_error; e_fb_configversion="AcIeFD52H-BjwjR9kukRNprMzs4Y6yl92SHQ5zmPyYQGCJ8ETQXZuQv2skxRxQ"; e_clientaddr="AcINnU0hspGGZ6hkd9nvTmwpPqoqet-BVWBzdLgp0Fsp1KeqymxFYZ3awBMQGGxiIqdrVfMjN8sBs9gnOw"; e_fb_vipport="AcLItjHTsKQ2yiS5-yBZhY8j7aJPHVOOtoz74r7jwhWYbi4eEdttRbxbltK5"; e_upip="AcIQwHxSNNx208H2qHpokV64drbSwWzNglcerCZ6I1qbG9wzqXClDKdzbGipFQUbY4764Y7nzUdl-B-ROS7b6WJ72JEldOErCA"; e_fb_requestsequencenumber="AcLEYGm0PQB9lq9477NDw0PiX15NEdskpfWSUqszQ8lNo_SFJMuRAh18eg"; e_fb_hostheader="AcKcgIw99uPJ46r4HxgIZDSed1xt1CyzaagG_bgnJ-pBuEqcaWW7RpGVGAo7ww1Od1X_bUe1NUI8mcY5"; e_fb_vipaddr="AcLVFhyfUOoSq7-UBDKS41MBrSU_Afe40zf3Es0y-ZtCmSAxIoB4mj_QBLufY9BnCYS3HlRGww"; e_fb_requesthandler="AcIVU1tNp8jTVvabyi0LJ4fbN-rMtOmCfsHL0nBBZBXZIIfiin-sgQb-s9Mqhf05gzbRIlAQj7g"; e_fb_requesttime="AcKZyMuR9q-UOWQ58PCceNyQEgHdxASGBmXWnxLs1UlEyFKrxn_7d-OxNUe-xikage3BWR9sTg"; e_fb_builduser="AcI86jihk2XSuWJgSvhGxtPvdPi-kIZbLsLm6uFfSyCq9bAO9iT1eJCo8CoB59owuYU"; e_fb_httpversion="AcJMr8tJQxEfarC3hUVzjxV-uBEHquBqFOKTtFyjuQV65h7kYf1Bn1zcQoaX"; e_fb_binaryversion="AcKI5jcvcWsC-K8KPB-CEeY_gBc418TgkZLyWFHJhm5dkUNn0RCi0Bx8bxIaoT2381SbxOBwvdN-ZFozj0wLc_wVu1jatfdCUbU"; e_proxy="AcKbKcwS3ZSMZBX7mXNNOQZ7LeRPIkoZGlZ_t9-21oxngylfTBNstJsuiq0G6Z6AtgB3o9GQrbGCU7Ve"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6934082323363035"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 11:12:21: Error on send one message facebookId => 6934082323363035 03/06/2024 11:12:21: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ars4lLZWbNl-Pwjq6NgTQNW" } } 03/06/2024 11:12:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 11:12:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 11:12:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6934082323363035"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9378358, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'As_dtvMDr7o0yCh0QadIcAH', 'x-fb-trace-id': 'B51Xljbh2Bi', 'x-fb-rev': '1011863941', 'x-fb-debug': 'UihbCQVftfRSQZPaZJ47HjFsMvmJ3OMn25Lj53e1+JivT9E0/YGLJRc+zpyj/svSsLNvyyFzB3LyXaKs/WXp0Q==', date: 'Wed, 06 Mar 2024 11:12:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL1w3ZwLb7ZThHv0LwU2B5rDZl3Qwx5TgCzhkhZfIVYeeEZQy1DGXeXbSo06Q"; e_clientaddr="AcLTtxllmyRzarCJ8twF84tr9tVSB-VaRM4Hij8CazE13VVLYZKRfvazERjYHdSbDvTuuidS7E04EopGxLUwnlr0AQmcyhiqDjFBa3Skm1bMrRG_yg"; e_fb_vipport="AcL6lyR4OAV5wxpE6kBZx9_oawae2V4z463ChskRpyCeAcccYXSzZYT1t_56"; e_upip="AcL9R3MxKIP2vHAQ9sfMPSlgVmqeBTnJsZozhaiJgXwQ70f677tmuhMsBE9bpusJ72s2zNBomO10GEFxVMJQm9gWVJTR5TbmS3c"; e_fb_requestsequencenumber="AcIJRbGUORsguuh6JgKIWb861DVjwMUjo2PIvPFe3YLq1fAmzzlFSzD0-L6O"; e_fb_hostheader="AcLr5-4zNr3u32KjNyRbitShS-EMpKuAjwVpYC6LZ3SF0u1T4CYQmwtMWPtOwKMlihzRDWGbV_Zuqd6j"; e_fb_vipaddr="AcJYaR2d3K5UNLcgLWVOkL9kMognbgVGyT1_-F0AO4CtQBTeVYgxGMkdsiuIEx7GtvfBk3IORF9zLp8Fd1FOzVEhSB6fSztAPA"; e_fb_requesthandler="AcLc1p5hkxmgqxkSbh7emqHaQ37FwcDp9b4gQ00TucHsZnn6wKDnL_rW0rCksU1FvNbteqdQbn8"; e_fb_requesttime="AcK7RJbo177jByzx2TMRBEMyd20Eo35YFoaMFrHRAQHPFzylbzFQi1ebB94UeAAL4ydbPptZQQ"; e_fb_builduser="AcI__GAelRdoOOs15wEHc46IRZBAr1tupZ14X8M-peEoV1Eo9Zpgan3_TZE2hWBgf54"; e_fb_httpversion="AcIvRRxmXCfLhFXAX0cp4eme07w23MZnsCYfobi4AGxezkaPCxWM-UCX9zSN"; e_fb_binaryversion="AcK-PkZ63ntnJFnvd5pNPbsjKb1GXWNeju8iAx6QqPdTJaT6TdC-gSp9pKVvGwSxycpJV9OqPN_R27qiLxGju6G6R674IbyHqrk"; e_proxy="AcIHWQTd2T94Zft8yQave84dhiIwjD7KoLLl9cW2ukdr81AFkSmhI3WMOUDtnPGR4hb7n8bmaeLUM5RqYjGh", http_request_error; e_fb_configversion="AcLm40s89rCkWdI7jViztha8ys0MxYR-l6HtA-uS7rzv3XkUWm5zQJmvUFDahg"; e_clientaddr="AcK5Tu8EsoZ14HOc_eMCQludE5-9zEgbQxG9qNrq-GWPH50TmahZzbWMosmLGJ-2ZmFSfAauK3uO2j9ndQ"; e_fb_vipport="AcKwcdmOJpM9scs03dpl4NiITynuShBiaYV7IxVqe9SU4On9GisYX422azaE"; e_upip="AcJV5J7OxOQjzebYJiAq7a23vpIEj6dXO2mg0OlkaU5AwnkEthrGQDwlf-P05ViYIrWMtEhaRQ6JGSagKLl6mrgkXfVZ5U7U_Q"; e_fb_requestsequencenumber="AcK59sCFybwZY_ickcxISDQ6dhBFJUXrqi5GuXqenUAoozbq84iOPhBjCA"; e_fb_hostheader="AcLMstmLl6odHdqH3akrnNyHx6HkHWajTtQbJXsxupgWIaZeFQT3vUFGL9DhqwzRb_yNWTUAFLqXxtkG"; e_fb_vipaddr="AcKwexBiCvQOBxeXNY-y6xkxB0ktdQG_qc97DIB7P-lTfnwpDScyd5VWWXP9KMaWC-i-8rd2hA"; e_fb_requesthandler="AcL2i6AFJ0c1nMDjJlVE-g_JwF1FDU_g2TA6f-ey-fYGkKji5uUy-o-RewpLBT_Pk4Miw5TTt9I"; e_fb_requesttime="AcLgXr9yyKKPxlrzJNhm10w4Mm27adfwU7le8tWQzrI9TDBBGXbp5XlVV97pfQFtsH-huyy8gg"; e_fb_builduser="AcJ_pUF0vOXHIYP1FoR9kXDVJCDMgBRmywdqQbxfGa5Rz1HEEt-gjeOB0GicfqYj0f8"; e_fb_httpversion="AcLkVWoXxiM91MzJ_pQkgBtTlYxZIJ9GjwhsnTNu02Kgp7eiEBh6tkpCJQgQ"; e_fb_binaryversion="AcIq4OTdaX-LzZE12e9Fy_eez-8XQReHaRWSSfPfRW_WhgkW7jhVwBDqJ4Ly3RH3CK457UNS7mbe1UHMXGCpvZpghYiCUgnOLz4"; e_proxy="AcIDOsFRlzj80sSzxfBRtgvsBz7WKjSKSwNpaXUl6v4WPwJrdmd1DAnfHti7H9Rnkuva2PC5JanxvAhf"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6934082323363035"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 12:03:16: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6431730976929977?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9386917, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6431730976929977?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6431730976929977?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6431730976929977?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6431730976929977?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQSOq1y9cow1U5VkuE6v1fp', 'x-fb-trace-id': 'Cs0hOpBKuRz', 'x-fb-rev': '1011865592', 'x-fb-debug': 'k1MFHb4tH00zUxDK0pplICFLvnnQjt5rVAtFgT7TEYHgEXrJXltU0Byw2UCj+HnXWPqeBlaQWDd3qYR8EFXhxA==', date: 'Wed, 06 Mar 2024 12:03:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLc4O9aqYVQCNBooY9GNbdUhEErYgEZSK4GnNo9PUxPqoe3CRMf_Yl5IQclbw"; e_clientaddr="AcKMRVlVFpaYFe1EGenhr1Mb7VCmYgTwJcZFZ9NmER2c-bLfvVNBwaEn-xXIEws2E6SDW2FYj5rarYCB_b6qERsaxXzisZrdnE-Ul-uU4irxnVxrZg"; e_fb_vipport="AcJS_dF3xxys6Q5sMdqOYIgfs8ctnroM2M0QCkMgOXW0baoX3Afk5frzbamF"; e_upip="AcJkKhuTkgd09O4EF22ccg5e9E1ZU50vZW04e8RcIiGOdKx7IPDhhIg7F8I61MvcJz1Aq-adf00jF4MBc5s0ccwjuTNwqcJUKQ"; e_fb_requestsequencenumber="AcIYwt8ZRfsVmQnue3_G0_GIRjV1MtK8hyXmpsdFZwcScQvFlHFhc873BLUGTw"; e_fb_hostheader="AcK0JZAOnH9olYb4cv-WMBlg8pj7bYEQkTSvyjuW6_flO4Duj30gP4dr1uUwxUGr5Eii7BXHEpFMCRwq"; e_fb_vipaddr="AcK2YfcUnBNvYjWKTRMgEJNXO6hPJKwobekWk0FMN3DAkEUflCSym8RdtqVH-tBbSGiXloHtsrNCcfpaQ9oukgG265HRAxq5aQ"; e_fb_requesthandler="AcI1bbOqqMI_du9jT8DpPnv-I0ZOUZieU9WyHauUo5UcN3pVMoz1lZyGhmk96wPeprTtRR-2c0g"; e_fb_requesttime="AcIzG_RZpuqYqSXYXYcvSpexfQT_0uPSxr-9Ll3R8mOPcU_QRrHLyvA92g9F1udcOrAv_i6UJg"; e_fb_builduser="AcLjtqtLznHn6csxhwygPIra9_sAJPdzPFtVeJxli7P8GX53na-LYiDZHY8R6Ys2rfA"; e_fb_httpversion="AcLvnyKQmBjyAvKlcciP_TtE_X-atEBlDY7h0GyxteG4zll_5jthk4OwqK-K"; e_fb_binaryversion="AcJQi2PNGgeT2I3v9IB5_cryVoiVyd7Id69H_GoFW3PKD2Xukd0xGokmilXeFL39RbQBGlb6KhBqSpcmeBfCUBgh0ZZGVuKFpzg"; e_proxy="AcLtsmxi-TD8PQ6bQHXDrrYkqQOpXvDk_OLnjR4g12HeteCkRuBHVGk_66AupBwnuKKAD-ryA6_ZClMgGzRP", http_request_error; e_fb_configversion="AcKiZJHgdRYaFJ3cgOeFwkHwFXT_Vz_nZB0wr4V-FvYPls9p7h2FnyDJ5rF_MQ"; e_clientaddr="AcL0VJPnBBLWAjxfc1a-N-KjmqvdltK38xffPU4-yBzsFTZymt_9MOgaaC_LzOFnEtRQfI55OETpEHPMrQ"; e_fb_vipport="AcJO7TMhEP6_vPW2M7OyrEo6OBumhgQxIftnYNqFIqPx_LEjcUnr9x1vinn7"; e_upip="AcLLXweRf1jSGvJukDSwQCrntUZsTAQhanczRHMBZSbLKVq-FoEoJfS8CoK_lNGxMqOsphGLvrVlUhL0x_2fP7WOdb6s-L96sg"; e_fb_requestsequencenumber="AcKVXS6n39uGg0tHyAzfJoriXGN6Kto0XIfgvamaWHTOKHOZi6vuN1gClg"; e_fb_hostheader="AcJ7n2bB26UC_Rn4PFEbKyBODK0DpDHuYgEEYJWoo8u892Vxir0wsU-RKn_LeKtdyqWXuqr5sKt5WZQi"; e_fb_vipaddr="AcLWTMQU1hXZVBiy696Pw_Y8hEitgikbYXdSHEc6wk3EHpx53EJ1t_5xeuYOlBw3-NAXDV6cbg"; e_fb_requesthandler="AcL_qAXU17CHo8U0vbtNmyfXIiuRDsEUDuUJTOlpQqnrNYigJAnDBI0Mv8gfiTjuBoChFzuWSMo"; e_fb_requesttime="AcLXWrm4KAL5g8h7NU3QZGYuOW-2tHmX1Bko3C7o65LdeYbdUu1Sl2XVYM6Ky4G8Tz_23soYxQ"; e_fb_builduser="AcKn7LcTFLoX3UKOZ2By-EoIvXhjOuU9gsiC3m-ZSHy0ua_LRawsTZfp639pZqR7Wwg"; e_fb_httpversion="AcJW0XdaUBgIfmLLP0KZEuKywY7j3Lx39nIerD3JLa--Zxe7l5hNlHefyqx3"; e_fb_binaryversion="AcJyToZYF-lC1BpZXDPYyrsQgq-1g7IuwEjdDp611nFRCRJLLf5NWwrWWRw97eXe71uuoTXV837HR5nWmimySZT93WE7lbjwbpY"; e_proxy="AcLgT4H_tS4kIxtEcDG5WWMgybZaWkY7l9zgHj-zmlnF-w3uxFb1562dKZraLdrLjX7c4itSKbVrWSQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6431730976929977?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6431730976929977?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6431730976929977?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 12:03:16: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 12:03:16: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 12:03:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6431730976929977"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9387035, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-Vc8LciwJcKYllPn0xLPkx', 'x-fb-trace-id': 'G4GtrLA/ZSr', 'x-fb-rev': '1011865592', 'x-fb-debug': 'gcfKzfDo4kLKH0IQnHGkPpyoT0t3fJrcMFCM0eUKxLDiW3q4uvpi7jNno76vGYfaLzLj6HN+4S4JfigkU8F9+A==', date: 'Wed, 06 Mar 2024 12:03:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKmNYnkImqcNaprqQqOyHctGB06r1Xg_uwhDw0RIFrhLf4OCX-pGKBwJgYCfA"; e_clientaddr="AcIQ1BnmDJLdsRESqynP_nFXORTTTFTKajHUob-_x6o4FkBZvjJ_r1F6zouMmXOHQzCsswiHU_KU2GQNYGyvoYXgFjK2Dx6Md9l9g9VQA1KJnjgZMg"; e_fb_vipport="AcLhXzUXQ6bY3SMUMJBfUFu7XBYJ-2SGz0GRWunhSgDUK9ap-cjkW64iOKTU"; e_upip="AcKGRLOrIrJ7S4KW0d8Is7ZxG5M2JqdZ3HihopMkr5WMEeg43k1Z-VGthjNwr-3gVgJWx4bfiK3unAo3i3EcohTJ4Cj3aRUNFw"; e_fb_requestsequencenumber="AcKNPwqpwSaxq8ofwLa4ra16yB2feE1xqCfM3pdj4Jk9DJUQ8ytEa_VS8MLP"; e_fb_hostheader="AcLq8VaUJ_SGJfEKHNJlImYDzb-tpdbqqrIHyCEbeB8v1CWMxwm8_FERbBL63k4OPgd5OpcMGFbAWI60"; e_fb_vipaddr="AcJGpSxge4n8fEi4OUu69MDmPcwnJ5D6PQken8ulPYnPrU-8hH_w6tClPHuWS3czqNBGUqZjoOVKrUq4xERUV9a22z4XHElriQ"; e_fb_requesthandler="AcKhLj5TLg_Isid8E3UddiuByyxKdqXhcqwQIktrQDkt_v3-mBxoFPI78ciSljaSTSwlPPsxZEw"; e_fb_requesttime="AcLvQbjKEE4sOn8NcZv4wapQP_2iVd4mEJBvn9lUGhD8Hde-m05d2FHc8a8Lz9I-8jb1-F_ELg"; e_fb_builduser="AcI7w-ZHHN42E23IFq64hB8WfQOqLQGHa9muNdE2a_3vDxy4mUVeRzpA24xVymijbB8"; e_fb_httpversion="AcKHHk1ns5h-A0HVo3ntuFHzR3ktdQYdOpAnbFSE42qFgXc40uv8h1yMGj4F"; e_fb_binaryversion="AcL8tEtuxOc8a0TO4uMyHmVl64fZ8YYnHDIeP_ttW9ito-CY2KUvVYGi5j4X7Qzv0icQilbrsESJA9DbjBtrHxEh_sbopjwnRq0"; e_proxy="AcIt4k3_c7LFKkRwiABVUKXYOPKWVq2F_81AFcDSvH1cnxdX3MJm_cCNoCixqWXlb712pkZu698AAu_LnGy6", http_request_error; e_fb_configversion="AcLlvXQ-2q-vWBulgLkrZ_y800jqZ3euLOa-49wxLNw2F2btXNO_T14Fh60mrg"; e_clientaddr="AcK9aw4MqV6P7fUA5F0FG7nL5JT9zweeDXVXOX4PlQ4xQW7-AWpX0s1489p7uK2EY8hdfGUEGZoXeuAcVw"; e_fb_vipport="AcLuuc66ZT0zGszkBxF3zH72PNFShrHZjom9knsWaEyygnwg5RyH_JJbjsM-"; e_upip="AcK1HFfS6bv2R0FQnB0i610MlzhmEg1ezNQf8nVpziPxUxChD1qnWlnjPchPQit7KHQS08Uk_47AfcikVcI0g4NE-ZBxGXEVmA"; e_fb_requestsequencenumber="AcIrbnFLjO8czbtFgKhhkWyzjHrlyL3upw8zebC-DdO33Bx8MIG99sqA8w"; e_fb_hostheader="AcJ9e5_YwSQWKfj3v598EEiNjhMmRivkQl3ejj0Gny7Wv4uE4IuvU91Yi-MhaQYINw6nqCoDkhCcn5qM"; e_fb_vipaddr="AcIMrV2vMsBY6XeDAsFtXjdqGw_PoX0DtjEdL89NA8d2jrodjNAeml4BMQ47ECWZ8BHnKlP-cQ"; e_fb_requesthandler="AcJqg0_rGiroLE53VUJDS5qlUkIISTeINCUPAq3LcvMd1aookqnbHCHYRXaCCNFJq3xHA3mDREw"; e_fb_requesttime="AcI6HHU0qC0tZF1H1-AgSZBePIEeDRdmsIdnF3X3wDeaFc4UClsVLi3Jf2nAuOtnrWtJU3jRkw"; e_fb_builduser="AcIG6p_irkg13wtWW8bSmBNO-fHRocNNbhEfdrEMSuc3Tp5b-_yyr-b9KEEMIylNY-0"; e_fb_httpversion="AcLg8nD139p6_atAKeQlAk2YJox_tv7D0mDPE_Vqfmd1QL2KZKiif1jRxNNP"; e_fb_binaryversion="AcJZes1PMThwDBZpg7jfpdjOgDy_vKCaOFnTNg7IzJde6Hd292Jlm2_JPFtVmTAZWWF3uaRwXLK0AkoCLhfAYhH5InN0x8Rh5zY"; e_proxy="AcJg9NlJx69sj1nsiUOy7kdWAfkRK8t7irQxftCWMsqITAiX80bPh-X2SWPfRUvzmpQJKhgCOVYjetQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6431730976929977"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 12:03:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 12:03:19: Error on send one message facebookId => 6431730976929977 03/06/2024 12:03:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ACOnAKAYrXHiS45isCQjjuA" } } 03/06/2024 12:03:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 12:03:21: Error on send one message facebookId => 6431730976929977 03/06/2024 12:03:21: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABhAIt9hpwau7ysC_xHwFeC" } } 03/06/2024 12:03:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6431730976929977"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9387115, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQEgg9hFBQac_qVD_fWM-eQ', 'x-fb-trace-id': 'FSrd2neVbAd', 'x-fb-rev': '1011865592', 'x-fb-debug': 'lWjdEjDvVipMVjkNHXQUVWn32aBor1tI5AW5Fh6H0dSmuS4Mpwy5KQP/mhqfKDuNnGRQOcAqZq7XuUuhNlyogA==', date: 'Wed, 06 Mar 2024 12:03:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK0VkAVihbPz9B-2_0fKu8ughsZJsrZxAJP0d18-DFdin3qWilCq1YxwvGVAg"; e_clientaddr="AcJ1F5hEvb9UrfHjv5bHD5_2RVOelTGbnqltcIRXLIOCbBU41c0vAErKnHzKqAhpTCElWzQpVRJ0SV7025r_SekDgBYKC_kr6RkB0VqVQO2WKNBUCw"; e_fb_vipport="AcI-SAl9Pcypis-paTiPCRCTM9unuS7lp5Xae4cqYTxSy_jeax-_7yFSPD71"; e_upip="AcIlDOOb3Ov4MGbPgvmTUq53SKIafdb4DcN5CsqG4a_qhtf-2feL_B_e1HWdLk3QpP4-_6ndYRMZor9nuF318wR9ynCuKTU3ZZ8"; e_fb_requestsequencenumber="AcKi7792on3Lxh2H7f4YDtNj6DZJI9_c3hBjUvXf8Gc6bvxqhTNqQxSN4v_a"; e_fb_hostheader="AcJCxEkvLAXvCz-lDp4sV4V19CDAblVACQ8kZcc5Jg4wwCjlNdTQ0B_4uQ0K7euVuYg9AZq5PrcvgGs_"; e_fb_vipaddr="AcJNLw0qy1annnQLUlgngKa1gH1Vd16L_RSGY4p5eYTyFvwDAZLifvUXzdR078xzaukqwLS6c7b0CW12B1hhl0aKnihklsxDMQ"; e_fb_requesthandler="AcKd8KDaMUto3hR6Dd13TaE_UJN0lZnU7Ui5NRJH5-a9IuxZMTdeNncrHyEEmvSxub0_kJCbsik"; e_fb_requesttime="AcLrS5DSvUbwDoO9lX-QJS4ncCYWNGoQEj45dQ6EncpLthws-FFrlJ1ua1aNu0-HHLsutqJEkQ"; e_fb_builduser="AcJCo9txxgjKAF3iGrRmuXDYFYbU09Mq6kHooHtXbIyoJtk5rcR35s6Nq68K3_oCxxQ"; e_fb_httpversion="AcKC90KEbJ2W2UkOBpN94V9c3-pwJaddo5kaNHJWVI2XWXA4aaiSfomUy4Td"; e_fb_binaryversion="AcI9MUBNz-YtYLElJb7lBWzjY5NR0pmfgxufCKA-I8DfLGK4jO19NTvB3kGr7PMYlxFz2nNZOMb0rQsTjzTqz16rcjyxIl4ouz8"; e_proxy="AcJ82KcRhV0cR14P-Vr-MhwxGES6bIIJE5qFk6YIprmWTsmOB0nvpHxVAzrpy4S5r0pN2HpM1FBZmFpahx3G", http_request_error; e_fb_configversion="AcKPA0_mGqK3yHLVPHB4sXZhp2CVMIAJ91_HWE-1GhpvfY_ZKnwAD4DhYyLM-w"; e_clientaddr="AcI9murRwc3efVgS3DeAHEn84NdgW-6SDKvzdAfDr0xxcO-kFEb1HZRyZmjRY-rsUcK5jfnxUGVUKxOsOA"; e_fb_vipport="AcI5XQfr_EiJpxepYPrr5YQbM9S7XPQh3n1_cmM3-G8WVkHVwjcz5_5LLM-E"; e_upip="AcL2PneZL1JgJDSYFvt6ERiDu5Cixi68dF8qyEO1qDAQHgemp0Sb8xZWa-gDXozl7RLXY6UwQcQ3UmXAfzDow4AzZ7BygyJCnQ"; e_fb_requestsequencenumber="AcIn98_sh1bcQ2dKa006O5AfzEye-tWcLaAxJ19w-C27NbPUKpFwKpTr3w"; e_fb_hostheader="AcLkbNlw4-Rl_wFoQalKrIkz_waFO7sTYocpBCgm1LyP-D7npMPIvthQHymK7hP3w8vtgN3JinVfTyGf"; e_fb_vipaddr="AcLjLCrn3aWB4co8XH5vqMgXd3J11FddIUCeUNXfnizGrkHC7UKXkmGIdm6V610Al2yoQZ5Zkw"; e_fb_requesthandler="AcLBSbOddKp7ErILY4DYhEzUNSPQ2YBQ2IYFBhSD3AMF-dNOxQP1KwGptGHG1PwbsSr-sUX4vio"; e_fb_requesttime="AcIHTMWAFVNmfRGWH8iLINXJHjeEkV-QMxw8KW1tW6rXDTxEWUoDZC9hLB_GKYqbUj5nWnkLXw"; e_fb_builduser="AcJXv35_pnyGRMv4sqocSQ5YfvgYKoQ0gMCf2smJiW3njePoofhjAF1ayEyRERQkgSw"; e_fb_httpversion="AcKFncHyJ9Z86Qc4mIFNK9jof5L5BGMzeB9rX1SE-e2uxRZeNi0ZCVwU9OV-"; e_fb_binaryversion="AcIjJ6aQTx1KyUJBDUCLE9APYzVuk4JQchKj4RoCnfP9GIZ2FBEnCViaat10PIa6I7Z92pidRIYJQgLbnm3X2Svnp6PpKjOSaps"; e_proxy="AcLKsCVvZNdOtCU2GyYPVaNBqGTjV5TxjR2KKH99mR4zVwHNMFMcn_OF5NPn2cpbFapwaJ-HF6KrDLg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6431730976929977"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 12:03:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 12:03:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 12:03:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6431730976929977"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9387254, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsPgxBO9FBzqODoBxSjXI3d', 'x-fb-trace-id': 'FuG8ncZPbR+', 'x-fb-rev': '1011865592', 'x-fb-debug': 'v9EV56QMTcBGnyHSKnQvE5aeAGPicd4xrI4tpJ4THShWOB+uwPCTKsZ2B7UwOtV/kJ12GEOADZlmnNwBQ6sUBw==', date: 'Wed, 06 Mar 2024 12:03:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJiFmG-keC4xpyDO1ofCH9EOH2P_lSqc4XO3p7nQAaljN9QobPi6fOzoCUcZw"; e_clientaddr="AcLTm5nySDCBq_S8EeYe_MfwmvIetsYut7wDeyw5oynNXzmeYgD4CdV7bbd5nlqN3A9G1g0RinjegZtt-Ms08aNFRL7X6Q5g1V0o6ZvagtpIGllQ"; e_fb_vipport="AcK8UuUkDOpXPc0KrbOrhPTZ9UHSAAMWmvS9_YOIQ6FPUqYfvaAZpxhKOYnK"; e_upip="AcICFdNWCgBbS46DgDSxU9PnkOOR4JJJ_S_IGlyLKQYYRUWF0O_Sh6KWAAAp1U4wxNSN215EbZ-fCEoTwIzDwGXXZ4oHLbNoZyQ"; e_fb_requestsequencenumber="AcLlcMJdy2Ge9qUCLDaOM33IuILBruIhy0JkHREfpcACyeM6pCW6oeTKHZhDCw"; e_fb_hostheader="AcL7VoBbNgQxz0bBpiVQtQaiLY4n4W6NHUkpSs31ChGhCekof9zb7fIVutAi57E42ERYdl2jdjH5ocH-"; e_fb_vipaddr="AcL4ZiLENqJ59W65iTA9xrnHmTH5y-RfzmERC_qBEzXYjRMOHpnZZbhK8be3ThpzPvot20tHieFfpUVyWD6Bbjd6XALDmzI8HA"; e_fb_requesthandler="AcJMjf_Pmo65rMIGmVQcnX4_C1jFaXWDq3IvozTKUW5lwUdiEXEwy9hqcfVdFB4qIsNW04pWgh8"; e_fb_requesttime="AcKkk06icmuzNk1FeQJvby2A2dIaKywg0aJAPGJjeHIOILPoJgmzcqK2l4L5Cv4nFLh3kg7uxw"; e_fb_builduser="AcJ6XLxVH84_K3_4I1iO_aA6maOuu1kMnaPfEEJCZI0ujr3ZycC0-ft-b8zpY1I6icg"; e_fb_httpversion="AcJPNtbkAvXhmExcBdnhnhRiEKBcCxSkO-p41cC_O479YW1FWb0NGLk3YopM"; e_fb_binaryversion="AcJsyPX-XGQVLhmHfzSVPKAnkJUFrA8S8Q2IWBVwl2MKSetUZCMULkK-QZBizt62UbmGmjO7TU7pFq9heKpgz7QXvZJRW7spPGc"; e_proxy="AcKYf9FA3YB-Id7Nm846wxiTXg8q72eHrKq7EOfqQg0-wqbuxhjo_M8yWxGIHzsIrmVQyhe2Ng-2I-GTME03", http_request_error; e_fb_configversion="AcKSCaFfxg0LQ5vPUh4bpOXSv8dmG-Q5Tj7yrit-7YAJzPkyOx1dOC8AjNV2GV2aPq_TuRDDbS2t4qiDAnFP2meuraO6YkqqeX8"; e_clientaddr="AcIXHXFKzxT0gR0G7ijH5evAsHyY4pvdRA2Dk3vasDF8yyIgLc09DavODyeEaxjx0YlkNTUpMsj3ekEl4g"; e_fb_vipport="AcJgyn4nLjmlk_Lme_Cimwz4zKn6zU3DRZWB5Q6t3tgJIDAuV47_e9sIZKq3"; e_upip="AcJn9z1JHT4XD6w-3xrZhPVvFBiQK9j8VkZAjDTYAvhlp9qFpbHa85oZN40MCCcx-5ayyy91TfKt4HUGccN74r00qGhtTgiuzQ"; e_fb_requestsequencenumber="AcIspgJmh3jppYyQSFWL5dumC98nL2jeFrVeHMTBNYeJcE9fOneW09uqUQ"; e_fb_hostheader="AcK945znWOkSGU84Aobf0UqC3pPq57KFgrDNr8WWPnYZuG_k9thxff3JDPTqsh1hLQcJzz086IzVWn7d"; e_fb_vipaddr="AcJZU4rQb5guyeOpu9KK7jCzb1KT5m1sfPAXHl4SwERatpi9c5ldjJ1z_ksdo1J2D5_oQ0fs4Q"; e_fb_requesthandler="AcIpI3UZff8Iz8U87du1VY66ZiNGBCQkQD7j5_v0gE0s_TX6WBGXqg3Wmj3mjESkgLRJxi_KZQY"; e_fb_requesttime="AcJ0fo3y9A_Wl8wnvyb1DE8_WC-QcY8QoWJ9zthBeszxedajei14v7af5zcpdDJxhd2eLyVvkw"; e_fb_builduser="AcIirFj1jVh4P1ACcDjD7ZiBho6-SSQZ7sbYOqbyn9jCKJHLwJXo0CewmlDb-KlvIIs"; e_fb_httpversion="AcKbrF4yLT3tWJuc4NhA8vgPxGJqqQpCX68_qlH-Zf6zhROVKqku3bOcnQaT"; e_fb_binaryversion="AcL3rNh0pctkJB829uVkT0JwHskvxBZwqagLSkpJDcPGENssFcT1IcrZxLIjWiH_LptGCHcRkohvj5FBwcR5arpVKfc-QeDUWNA"; e_proxy="AcLz1PKSzrgZNnWp897dAdLBO-CVZFOg-oJaotcK-RLO2Y1L2U2yLFM3FUHb9emSNoLoRQeSE1fWPkQ"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6431730976929977"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 14:58:20: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/2872322696171720?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9416521, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /2872322696171720?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2872322696171720?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/2872322696171720?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/2872322696171720?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A07VGK1tDlV4EmaLg_IyEDx', 'x-fb-trace-id': 'BOGH9ODRIBn', 'x-fb-rev': '1011866846', 'x-fb-debug': 'IRIkwo4A2xMrnzuOvnVJ2twmo0aZ40RLp80X6th/FAi1GuXMdnzA+80T90DPkftCk/r9MXLE7b2OfwPLm0IWNQ==', date: 'Wed, 06 Mar 2024 14:58:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK7ppYwmtvv9YUfYFz1n1tpcRUe5tR2MbGm9sxehAqW95MNcYl_KYz5FHqd5g"; e_clientaddr="AcKorH4k7mQl-PdydnbEJb063Hbd50OM1y2Qu_9joz9_QoEczr_mWcW_rSNH5mkIGnWAbRUGfy27f3jmbOmlMYXI2BfnSe1EAVMgTEcplyylVdDTeQ"; e_fb_vipport="AcLYDWlxl0nUUONrHV0aPI8zqVEPKZa7XG8bmZccrs6b7hTWV4kH5W4TmrlV"; e_upip="AcKvL0UpIp5rq-4ZP-YgA_q9-zFgtP77h2k-KxWEDf9nQXvkPTPy_e9v1HcduNSdtlCj3wNRNFPnkjsjffD0_zH0nLzpnYoA0g"; e_fb_requestsequencenumber="AcI-KXHsPm1RJurvvnMILCY-iIC2P5A-Ya4VQqspoxHHn1LHXldxDbBJMnnhJQ"; e_fb_hostheader="AcJ-k7Cm12nVlpt-fxhvKLmI4DTAn7HoVef0b74mThJNsSAiDgnLmpXX_mk0ruL4Gjd7cIrHsTfU_XuA"; e_fb_vipaddr="AcK3W1d95TvuaD3ZNge-2Ono_fijojRw9pqNp8e_cHtc1vrU3KkFQ80epF8ObysCnlOevblGcQYtSmpYsCJNjH33F5p6bHeYjw"; e_fb_requesthandler="AcKR-mV97KhtrmQQzHSWiueCgbiMUB7qUWOQzNfq8dDaqwGbHTsNM7rsrzfT17vhK6ozLUhFMik"; e_fb_requesttime="AcLuvU3WgKKkeIgDfViO7GyehuY-F7Lo6eAue6OTaOv6MyBJ89Fa8Gvb2JWHIuq1Uvl9HjIw6A"; e_fb_builduser="AcK6LDUH2cxV6DX_7ya3guFwR_UK8ZWourCciLHudOCNWguVWwp8Iq78dsfEyogVDHA"; e_fb_httpversion="AcLcWrG3dnX9jo6ULELAN7kDRjqLSJfWIPBxQFCifsLahC_AsRe23qOCWcdI"; e_fb_binaryversion="AcJqNI0Jx-7tECz5ulj9LMfu9Xt1TRvIH1Bb7L0WC79J07CZI9ntmohfXdbk-DbykLO6HWQDpY-m5IVi3rU8CBTrYh6LLkVMAiM"; e_proxy="AcLsagwu_1FgjueAvKHP3iUOMqUt2fpSgfhztSOaOgz2bhSr_bbm-TT-9oUQu6Qb9czjQJ7t88ZXP_cB2M8w", http_request_error; e_fb_configversion="AcLY19VUPa2N8k9Kr9vsI87alDS4X3OLBMi0cv8B-sfNCSbfw-JSlQJVRUyl_w"; e_clientaddr="AcLuVa3NguPJp5xAhnm4YTAGkZy7TMvTkNmhb_K2gna9W4yj66XVNqRjY5zlov91gh1gcG9mSknhtoVkew"; e_fb_vipport="AcIaN3YN8zJLkj3Mb7nbTHHtJiF6MGoB1nzUWKY52gn726516JWKtZaoke2I"; e_upip="AcJZe6t_XPdvuNJFLONhyJXqXDBkEvF0KonAyTlwBFv-Cd-nCLAry14j60R4a0ZHKHxC0DMi1LlvIMy-XSZxF3exaSAFlfGfoA"; e_fb_requestsequencenumber="AcLzka78R_Kf2q3G_tICsraHUwMo8Zn83GvASJrpB77KoV0R4gzFKtkblw"; e_fb_hostheader="AcK5Tj-6HYVq4ByTW1gTqYtJafebKhWofZ0X_g0PDA8mxvKkOF4XYRyG0srceKTZ0RQUZhonamsobvtu"; e_fb_vipaddr="AcKZ5gis0qAY9_WttwuqCat6gXIn1tK1rpGife3ctI6z-UXuZTZLfTZ2wRQNIMXbuR2Kouoa-g"; e_fb_requesthandler="AcKIxsWwgfq5pXgdLCQljUmRur5Ti8A144IOjwRI0IZ4EQwfyqPRjYUx8l-BBmzFGcbiL72jZaQ"; e_fb_requesttime="AcJXeKZZAND2iK_IDQMiFJnyBhD0f2rXkOIqHO8HVRii4_IYTjCpXiY0xajPpqQWKmJeHMNfTw"; e_fb_builduser="AcLCBb3laTU_yVSsn25yFaQEXqDC7sqMtyzt2inQZdgk-z-MZ4q5gpl57g7t9Wmam7w"; e_fb_httpversion="AcLBQXpPNAVZAzmQyAv2N1P3n7PYc1hM1GFsVP1ubtRlUxl8Ubig-KSh4TLW"; e_fb_binaryversion="AcJL6Zza0GLPzWWhRwL_QpuB1AcKqeWOtalBp9iiboUXnXY40Z8Qiv-2npOtqS8IbJqseYmtWVUoRKouvzR7Toc9w2p-qCq0j7g"; e_proxy="AcKlQdD8iF3AGHwKUymIjMjQ6qzFfWOLRn0W5xNpuy0-ovzq3bHFn2zEM0GG1qROEGgKtF0HBLtk9zo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/2872322696171720?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /2872322696171720?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2872322696171720?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 14:58:20: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 14:58:20: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 14:58:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2872322696171720"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9416639, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGD3tjIHodPV34GAvntD4Ia', 'x-fb-trace-id': 'FJ77Dj3glE+', 'x-fb-rev': '1011866846', 'x-fb-debug': 'MvNPonLGQhe7DROyB3rYRW5KOm1A4xX4GtwcO6+ROfik/iQnCPaJaxtx07lgLsXnH5C72qjiOehB3ZbxtrXwBA==', date: 'Wed, 06 Mar 2024 14:58:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIe0fke1BOu1Yf-rVcNZgNdGL_KqIXLgHFIPIgJxW9yQQwCE7zIhLN4ZXA7SQ"; e_clientaddr="AcIdkt0Y1dkNhnyfGqi03wLVQo8gBo5qHyBhW9z285L-hyPrSyh4PYrXYPzg8EFwJ1KgTjbI1e8aRyQMxmgoqHnsLZDn5hd_xJysVdJOoYivkTMI"; e_fb_vipport="AcJWkK-eaOHUsJtJuvM8kr1RTYcDBJbJt7bouqMrWiT6TBTBNkr_bUzsoseH"; e_upip="AcKorHnlOcXDyG4uQ848cZqrNOVIZACEU504NZ2pOxCJ7CZMURkBEIBpQdQLSEWgwsbBMvEtA2k1UxmLiA-zYtZQ1wVAo2YfzX4"; e_fb_requestsequencenumber="AcKy49YaxUI0DlQtFV4i3FH--T7GxXSP9hs7n4svcypdjDptwa4yaAXFdrbU6w"; e_fb_hostheader="AcIi-4eSeBlxAa1wh3tIZIb7fRcTpHnGp2aCSC5MntiO9RBuEsGQ35mvLGYMq_Ma5JCfsblr4A17O3xN"; e_fb_vipaddr="AcLzf3n_QpuvVFuWhe6GVj14At26qGBzprlPhTxz171HmkbOjz27j6SJk0wkHk6jNObuQNaQBAoEEP1hWMhMYMU0Msc2FAIxuQ"; e_fb_requesthandler="AcLZGqd9xz-Pf94Dl_fzDwoIaMLVRuoW9jxjA5vVMdbwuBUyL-HV_v5IWqoqtsjB9zJtxXAsT2M"; e_fb_requesttime="AcI5ZllQPweBQyY9yhYIRriCmMeev_JnCv67v5looOSd12JvwHUp93kA3y_p0J1agd5LjSbrFA"; e_fb_builduser="AcIZ0N8wKyjuk3dmo9sU03FnHQeToHwBvSk1CbiS_4apTkCwCqzEtoJY1P1kc8LMsQw"; e_fb_httpversion="AcJc9PAsVaVBzTgYLvoFJ3eJqH3fRzBCwU0QXGPQMTqDKqWuAY341xBd6gX1"; e_fb_binaryversion="AcKCsYrH7cvStDO6e2plBOO4sHffr11Xq6odBEcNjZ4bZIBWD44U0DMQpcAljovs2S2Re7Xgz7z4_lBfNyOBc8IYQQ8dSHK2Qag"; e_proxy="AcJRm_iPUICXFMur7qaC1C83NY58ZA36epm0xjI86FwkRfGEzXrOpHfN-9JGPG5F4tdVkY6nyfXnl5Qk8Xl2", http_request_error; e_fb_configversion="AcKUuSWUj7Tg5dvefQ0-ROz0I26r_hz9iXMYUctMSr9Zim7s3vhujBD5tp4GeQ"; e_clientaddr="AcKGIYVwv0BWrCOjQxB66h58qdmqcuHdmTbUXvsah9vpGhE1GpQr9hT5ck3eI_0ubMA83CcwF0WXOKgPdA"; e_fb_vipport="AcLzrHMIERZur735EV2Axd8JbsuFIxJ-s2jdLqkXgficzwXuSwQA8sP2Xv-_"; e_upip="AcLZyFwZucs_bIon1kBL_9n7cLjv3_TUseVkNwssTBfiny9Q6QY5K0cDonotFKlUdbSFlwVrJEl5EEbh94otgDllE3b6LE5L5w"; e_fb_requestsequencenumber="AcJCyheurRLQdr--hs0UNc8spzlgDkI-bXLpv5A8XDRTOcJKFMgj6SfafQ"; e_fb_hostheader="AcIlq8DjQk_yT9U45eboS5DSHTpGn5F0frwr19lBY5nEmj11xgQr5bPxXqC6xUBJMdn0ua1hNZmlZ8ZE"; e_fb_vipaddr="AcLa3H4qGiaMLiv3ecB6hOQIJAkCbxCc-c8pHlTvKqDi8uYO8S38qeniQke7Mh6L5B9xD2hEbA"; e_fb_requesthandler="AcJbDvfelZX_jnhK0Sgy3paB2AsrVfAU7dhCo64aiIg_iGqm4te057LM8K-vKT0mVqIV8mJsbGg"; e_fb_requesttime="AcK5Yozl5Dp8A0b0t2TePJMpuOFAybzlcdLiBIF4q84l3oXwAPC7u3N5oHkXv-J2BCBcqWZtkA"; e_fb_builduser="AcIAl4ImFwRkMqGjT_r8_bg0lbKjnhP2Opf29lHcqDT0xfA_TcSTUfYd4fh5KOcMvf0"; e_fb_httpversion="AcKvXsm_hGa8rvT2qVrFGByGbG2xRMy8lOnW0-_9RttBFxeBMwQXFFUl4kfz"; e_fb_binaryversion="AcLt3tk4O6e9ZUIEIZnNbIkgOnCvaXqxk1hMx1Uu1GGW1CnFAy7ZFphEm7gqyBa3dyQfRGMM_ryMwowhQiTnaZTAMyxAiHaTh1c"; e_proxy="AcK-Q_0Qc34RXACx1gk1x32yEfZ6UYx-Fqj0Rh-rE6NFfSXGYiBW9OAeuqxXRG7ue7Nfg45W2IIK6oo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2872322696171720"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 14:58:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 14:58:22: Error on send one message facebookId => 2872322696171720 03/06/2024 14:58:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUm00Rr2QD5eEFkPvYO_SkS" } } 03/06/2024 14:58:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 14:58:24: Error on send one message facebookId => 2872322696171720 03/06/2024 14:58:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AQy8l6BElVGBIcwp1h1q0bN" } } 03/06/2024 14:58:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 14:58:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 14:58:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2872322696171720"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9416721, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQxykCfPl-AU09dVmZA-23b', 'x-fb-trace-id': 'Gci7HGd1g4Z', 'x-fb-rev': '1011866846', 'x-fb-debug': 'ovGLhqNbXxCHDQdfAtDWkr8kLcC+Ky0tvVPVCGtMRoYGQi4IHEZ8azVsGUeJZ/8u1A6iJuY003Y/ihVJesUUwQ==', date: 'Wed, 06 Mar 2024 14:58:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKPU0__2u-3_CK1Z45_-FfP4F8nV4powCH2AukVfoODQ2tY5bAllpjXyF5Ryg"; e_clientaddr="AcLPQGUbcUCNjKvz51qwc1wRYv1mhqMl7npko4i831Juw5OefaB0rzOKkvT3KOlPzN0TzKulGqppD_hC0TC7SCrGEGUFS39N59esHyqtxX8veMpQqg"; e_fb_vipport="AcIuYYgx3xcTAT5yX5IUbvupnklKIUpxkD8xnL6mU2MTm_lLaRon58DuSNqo"; e_upip="AcLWp6WudcXWpVnweRwodpiCvOMLaFVkcC1W_UVSQ1sP1KKvrgqi4mF5zHNHHJCzl7VJtoSVTydMGJb8Z1uoQkAQhP3zXoVP6w"; e_fb_requestsequencenumber="AcL-CWHiCho1gUrwZNg4G9YGHBESPljO1Qyl66pO1LE9m46rn4aSrZG3ED5aog"; e_fb_hostheader="AcJMq6Y8oLxU4iL5NWYQ0DWw-Vli1rOS7b2RZqqXriyUFdjwivfI735b5PFG6QvyLn6mE9deSBHq1QD1"; e_fb_vipaddr="AcI_mo5F0sxnOLTrT6HRNaWU2FCMRbVMltvoext1IQ0OuCWHO87kuyG8FTR-AZ586N5OiERTYCxVqx_av6AxG0t81Rqd64Cnrg"; e_fb_requesthandler="AcJ6O-alEf4kldXgwcuYmBwK8h3fWwA1PIHbWzsLj_cASM13aLFkhhUVM7tq44IS-o5uwddGPDY"; e_fb_requesttime="AcIhcFDMuv4ekeIftGPwzallCeGr4DAeO8WuCZ5RwxMLqiCn6B4ziUd0R-X7WSbVQcEGQVUvEQ"; e_fb_builduser="AcLHqAdUrE2L9Q7sWplKvE9nkB2KHgDvWjEsC6j8LO8bH2lAQdxe_3CIpxG_7tVV31s"; e_fb_httpversion="AcK02ebt1YHeB3CBz6Tlb9ePz2VgFMRFHdKLysNyjO6o96I-Dboch_W3VPzo"; e_fb_binaryversion="AcIMiGnE0eanaFQjknSJHWehCjELdGRViU646T58JrCEaofiL_II1DbKD5c8OqNMooXxbCJrbvWmGmT0VnJmEM_pYc0X6tAyPQk"; e_proxy="AcKPelO_JfpoJP3rbZyk7lYwRoKmfYOaTAP8sNnhzvp6ZrUph4aVJNrGC9x5AE7TnJ4wATUUF27w790IwbTE", http_request_error; e_fb_configversion="AcJAvY5beUQf3KRu-FlHMPV_mDDIr4rDtkV2y7dFQ4MoHjqkMS_aFmUzakBQ5Q"; e_clientaddr="AcJefvoJOMIvyI2I3qBpQ-Ygn4qXnAY_P7wd4bF0zFMtdHFVykthF7J-KDWQCbgvNT0t7H-SmSU4N4R5GQ"; e_fb_vipport="AcIBcPg_JT2Lhd9Ks2bDGxqcJ-rFz512FryHnc7azyG-PheIJptUgHS-HW3Y"; e_upip="AcJF8Cg73X8cEkNe6V5iMrAFTsxGVtQ3QU7_AA_XdONUDGmuJGeuXvw-9rCkb8E1KrMY6jaRbLUF2zAjNyN7FSwoV68GggzVBQ"; e_fb_requestsequencenumber="AcKGS7RWlBvs0EJY4_6-zc6yNKlOd8ZcLioC9YIegX7jpx2mka42QrxYOg"; e_fb_hostheader="AcKnBDVEQt-PWutaqIMvDFLJUyeonINV6iqrObt3tmWsDugn4Ltf-uSkr4y9xXsZbna3KqnbMhXwZy2f"; e_fb_vipaddr="AcKCmmucD_5Yp_jrw7Ks0N874JOcj7LCwlNB2p3HTCq-9tm-KpXsSlqWhLFhbBLLWKL1LAwVcQ"; e_fb_requesthandler="AcIAzrwZVIMWhRXJXT-hHt9CQxgVGZk3VEHzyen1okaEWdkPags3W2ia6ZCfenpYB8-x_mp87dQ"; e_fb_requesttime="AcI9r3ZHQ3x1ujfv03dihdf4r_HSPXlT_0FK0ughuMm-2sGtlxSvAtYqcYqVVosN4VEIJavMMQ"; e_fb_builduser="AcKvli3Q2XMpBJjutoT03coPaTTeNVXfGgJtA-4b8PpsvlAaqj8LXX2Z0eVgzc5VDAE"; e_fb_httpversion="AcLkaHkJhTO72H_aTEbsP6D7yQVO4FTfKgTK8wLuufhdLeU7MXikXJYT8tRK"; e_fb_binaryversion="AcJzlnj3gXulo-dtmzWFTxdkpj5NlDQNQMx18RF9ODlik8LKOqxPqv4G97jdwf5bYlSdyJlrtEhqdHOgondms0eTQ6RS2n3bgDE"; e_proxy="AcID12ZB2hy9vTNbobxD-cEaRWDTfQnF3JH4aPXoFa7m9XrNzy5MHRbyvEYewA8s81l7ycHiq9MVgM0r"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2872322696171720"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 14:58:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2872322696171720"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9416846, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AANPa86zGBrIPlbBmxPdJyQ', 'x-fb-trace-id': 'DGzukdhCAYT', 'x-fb-rev': '1011866846', 'x-fb-debug': 'TTn3ljr1KR+b2ZAlrvAGiSe4/7rsLpvUY17oQ3/7lW9Hl+nhS2ClBwT3erj4npwjB0RgUinaqIJfa0t9pWO1Cw==', date: 'Wed, 06 Mar 2024 14:58:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJk1Z90gNHxBKbUCn-LxUzG1J3TEMm_LOG0QGYwraNK75W1XtoHvA51T8YLFg"; e_clientaddr="AcKnMd5N6GA72VTz3UB7z5YW0Gstk5MbUSvmwwAbqWCQy3JWG_9uPAlte9e_djRaXLxLe76X_g4SYOiDxfXlZP5D5tUuyPfWBUwuiDDA5QUoCKeQ"; e_fb_vipport="AcIkVgKXuqMxRUFP44TyZCqcg5YxzWTvQvTaYas_xCHVsROF-C77Hdgrxc60"; e_upip="AcKRf0cs2IwURatmEP4XfZEIhhuMwxuTGBEx1h_G3B8PsqYsddRFjOFOm7crlrC638Zft80M3BPNCNOYH6ZdqxjOq-CRiNre-LM"; e_fb_requestsequencenumber="AcKMxAPk5gdcTzt5eV-tOsM4BQtgwo35icgXwk6HpHcitNOnvccHnLtBrLQ7MQ"; e_fb_hostheader="AcJTAuQbAnwCVGdsA0xyGB_v1h7ZTrkI7mjOFJ5o7CA6PXKBnNmgB0kNN_p0bHt0rNVf9Cu3x2j9gc3H"; e_fb_vipaddr="AcJIk7Sz7eZW66juMrQSdJI6rAOyR9zm8QqNNoWIUiduOIKgr0Nobr_Jhh7DBouLRsKVoImjGSpVdv9XpesfPhuJCYyBSqMhkg"; e_fb_requesthandler="AcIG9drUdr0ZluY4PPuJd9_M9pQ-FK2R_Dp_-VR022leg5fzyv6Ph4PYaXlWc670nF3bd5SPWvU"; e_fb_requesttime="AcI8c9JXA6xFmDy5QwwN9Szrf1ceUyD4fdhjheKlWHj9WogG3gXjm9c0wSuDXXN0X2bBriJYbg"; e_fb_builduser="AcLerxdTbJKDYASrxDIlVj6IsqB42Ed4MsUyE_xjP99ZzsmRmhz-k08E421zcO0GnV4"; e_fb_httpversion="AcKwDSXfeOFw0HRWVROp9HyTSX3i_2s2fUIgQzVuE854ypXW4GML4kAyZPkq"; e_fb_binaryversion="AcIUMMQLabwmMqzJK8uLoJli2fKo8LSFlkHzhnbD7agEbyehaIIqBrofWeBfV7BLhKO0jX3F8fzao_qh1wQZ4mioy1R-1Shk7Bs"; e_proxy="AcK3rVmcdDTIJ2Qp5F6zBFpkRkNfbb1YD_aypg2ladEHUXFngqNMnStQpu_CzBgiYQXoaEh4d7WgeDShpFaS", http_request_error; e_fb_configversion="AcKoZPfZJFYJ5GWty0Dob7DhVO6koqTPe7kfnnXNH8bRMze0gwtxs5X3XUlxgA"; e_clientaddr="AcKCEGz2DP1EIBn7637wJogMpg9ja-gnDqElI0AGYWmTMohMI3Sf0dBTNR5oD7GNvyZCZLB0xSIXPNk24g"; e_fb_vipport="AcK-fwQD4jss2sdjEVFp3PuKSeo1BNHpgPbC3vI0IZmVx7Kj5S2cq3UV1oGv"; e_upip="AcIX_1wxtH8PyBOYoqGhypV4O9qhIkp9p6d6gp6lvuh8zmYQZc0KuYQx4w2lGzNMQK-RU25EcBkcyq99YET9ssOowiP457LMKw"; e_fb_requestsequencenumber="AcLOQ6U24n_AmMvsXaCogglAJOXIxdclfQZpIGjCK1OqH5s0lizJpW9Muw"; e_fb_hostheader="AcILy-dbYZDnRuF6nw3CQWC6_Qm49njfjpvOIzD7qxh95qp5uew5Vg-QIFuyI9-CmSO6GtLcDDLi6Kn2"; e_fb_vipaddr="AcK0xSphFXsNgtOCp42TABtZoYweoZjkFMXGD54krKWUrtUW4gn7NaB78GSs0CrDox3rCEjeig"; e_fb_requesthandler="AcIl_8OvuEH1UkH63x4Oge9RkQRkWKyAP-YPe_cr-SfNKD64oulRgYk7vpmayKq4ghWZGuMewgs"; e_fb_requesttime="AcIwhY_BQd93eRnfPoP13sBrC4P5K6grFIB7neiV6B6kehQHNP8aue9TS7q-V5gEac9XR9ikkQ"; e_fb_builduser="AcJbRWlKHO9NNTay-dXCJC4N_1A0iNWsdpLBZSoROPuUYi4rfL6qsqSqEDOsewYMqHU"; e_fb_httpversion="AcIqrK7dcuM9vLWKyT4O6DGFvNDKPlNZHqOHtPqTEQXXfy2wiDfY1mzhYlZ1"; e_fb_binaryversion="AcIQn6ZHDB0CUstskNKbf8QJsdYEXw5IyfBBM9lzUHCfb5ki_X3mn4UOn3yf-tPr-8_PpYvjR4adhKYj5wR_mlw0EZM9_Zw9T3g"; e_proxy="AcK62xoh97WolS7fWFXj5DnOxelg6lQpDZUlL5F1RQEAULUb9pmGAmDJpC_87SBxKb9kVD_Ovmee8Ko"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"2872322696171720"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 14:58:31: Error on send one message facebookId => 2872322696171720 03/06/2024 14:58:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A9xYL8fcHmS8CG2n3yNqO0N" } } 03/06/2024 14:58:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 14:58:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 14:58:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 16:20:57: Error on send one message facebookId => 2872322696171720 03/06/2024 16:20:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGi159D7X9_UItWDG2pb1pu" } } 03/06/2024 16:20:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 16:20:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 16:20:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 17:28:27: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7423099537758595?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9442390, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7423099537758595?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7423099537758595?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7423099537758595?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7423099537758595?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APi3eEdm-wLECGrlg-UsFni', 'x-fb-trace-id': 'BTcrnqGk+50', 'x-fb-rev': '1011868413', 'x-fb-debug': 'DEdU5+leeFs4xdn8vqBw4dgfeF0iWO2TVKFbbpReCICAbp/i2j/UBlcrXHugFBDCfo8qpMDYEQCtDo3yyFHWYg==', date: 'Wed, 06 Mar 2024 17:28:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKfV1H3MaqzVulzdIfqLYnUETVWT3YeGlTo0szta3ibN8CVItOSjea-QnPndQ"; e_clientaddr="AcKzkhy2FD5kBc98Lq-szcUq7V6VFC68Vz33IxzkPSEfx3hKxRh_TyIDzpCVdk-Z-rc_pIMckGA0mVs2HXthXK5yB_zGpHvz3Ikdzsgp1E4z6-WdJg"; e_fb_vipport="AcIhzPN8LuRSwI6aNGjAnOsINsTaWrkt9aRjm09lQtafLYXbVkKhvzRVspTz"; e_upip="AcKk6RPG1-hyyH_qimNUy3p1ztW9qrPjOyjuAJqKz5n0dSgb3J13KC6eFyYoW4y2bAed1_ZOfr3qzkMY0W1d4hDmZF7ii--jK3Y"; e_fb_requestsequencenumber="AcKGE8_4Oeg-TcSqRE6z_5K4Y1ItLt3vpKxgswgps2IvkLvDkQZ16heUnKEheQ"; e_fb_hostheader="AcKovj-GOzBSpdoTC9NJ5zM5Q7Rj19MlPzJ97MCCdy2B2ojdPgMxBaAy041JRTHXdwdYn_9Mvbd23VmJ"; e_fb_vipaddr="AcKOc10Fm6rWTWl9GpKBkPsqT5R1zizwKVJgeoZmBGYs-n6PLj-IiuUBxHKMotowM5EE-NYJPu-uguUdl0Olo30jASDZR7rxzg"; e_fb_requesthandler="AcLAGQatqjv2bQdBAIS3evPsF6gABPbi5MhH3PwyAEd_f6t18WicJhtJ0VPi7t59GotWG0bE7UU"; e_fb_requesttime="AcLuFEqnXYByG0vNOP-aDGRet1M7GRbaBtn9FRl2_vHQ6FTKqj49e_E56FMN8SPEEkrE3E2_Cw"; e_fb_builduser="AcKMDzMWQaMCjXK3Gs-7lQu2dZtHy0-PJAmjF_wNy_ZmLlI_D-4JmCapkpB2xANsE8c"; e_fb_httpversion="AcIpu1-J_UoT_tcgztEREMomRit_nTl0NYua_EXtvM9lHYCHEir68rF759Ey"; e_fb_binaryversion="AcI5sAVBAtG3rxiEh7XLWzqeNIPf3gnDOjuotiRi0vkY0po7qv2EmSElJkmc_Kjr1UEu-yDncZr38xh4QUC46oHZubso2uRQoV8"; e_proxy="AcJ3196Xy3nlex82kC5_EZyhpMACubvsagQ6r-2ocS-Yoz01zr94rBbVOe4BUo5FtBGoagXaWzZmg7pb2mxB", http_request_error; e_fb_configversion="AcIsREpyvvLrfb3c4sv6ICHS9r_rpn5XHsApSaIxsqvovIHlC_J4Afdsd2zoMA"; e_clientaddr="AcKlhlgVeRChMq0w7xkCP2qkvVrQTKnpdi0ZmAD22f-pToNeDQ1fL9RBFeBcYltL__sFIEW6up2VztqBGg"; e_fb_vipport="AcJrHguCoPRURBsdQvEvjqvXJqs3mNe2vN6rPRJHlxsQIyGQp9huyx9skgSD"; e_upip="AcIdmfp2fC37DmlayJ75pUNjVXRZwN7WXnVbJccBNTF5MrDJl77siQiYAyP7-IHnPWFdQy9ob4OM2--Uoy9NmMh2bbNjG0285A"; e_fb_requestsequencenumber="AcJtku2p-MOpIhBljTBaKmtS7n5rhIBv64O-TkDBPAoBtygUrMarSVzbjA"; e_fb_hostheader="AcIb1z92qC-FnseE9VuK-LxB4FXrcJ3yavvVi2IYiSCXFHtA6TFHbbWDC5DQxMDC9DmzjiBjFAwkgp3f"; e_fb_vipaddr="AcLV2b0QRx4Kj200uYfHr3zCJAm8BFF07NvubmM4e_fRdiJzkJLKWDv635e7-i6n0rxLdtrdSQ"; e_fb_requesthandler="AcIAckRoy3DT9Ay7Zdo5eA91dMwinhHu51CJy85sgsHshuLFBDxyR4IGd4M6mYhFvUbqMwmOgFs"; e_fb_requesttime="AcICgP6AVWCRKcB_4VY9P8ML-hGO6TljZisEr6j9so3r13as-jeiCdpwWuAjB5xgfQzijjieiA"; e_fb_builduser="AcKt__EcRko9xo97O74bWTNC8FQVw51JXb1xXNDL1ifIJ65HJeDXwynsVvePgYExzHc"; e_fb_httpversion="AcI-OfuWRbkqrQh7kpdlnVWfSiKopxV85qVhO0O5dB4sQW-bx2pqaNo-iWII"; e_fb_binaryversion="AcKcP2Oi8xWYv6JZq5xiblcOkoPHtk0X_Jka2Pjt0BuL8Xeb8eYdOh_7mI0rwM8hXCgdpF-LV1PZuEZ4dz9rdRlo7AjUxJlMpzo"; e_proxy="AcLJHKcfe0EHw7k53wmclUwiAiU7A4HdtJ8Fg2W7mV9r9p9pIEPgYTATXpl15-J2Fy4EIzo9zOUfOB6r"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7423099537758595?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7423099537758595?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7423099537758595?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 17:28:27: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 17:28:27: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 17:28:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 17:28:27: Error on send one message facebookId => 7423099537758595 03/06/2024 17:28:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AFS0vpJWwiuzm66N2Ulu1Wx" } } 03/06/2024 17:28:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 17:28:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7423099537758595"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9442508, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Af-q2va0Ti73FiuqkawN0Gz', 'x-fb-trace-id': 'HV6bNYRRuoY', 'x-fb-rev': '1011868413', 'x-fb-debug': '/KB7NBOiZreIo/QHgiZ2itYOKFU0GlSo6q6JqWovnxdOvJFbVJcyIxQckc61ZNG6qJZjwlzqSNqKVPinn9vsEQ==', date: 'Wed, 06 Mar 2024 17:28:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI6Ttr6R5MqEehOqlOoxnIBcMjVy-A2c34Jlmnz6d84fq6NigA6z-CfnsKIVA"; e_clientaddr="AcLtMi6TA18cPzAavQg_n6pBhxFPI1bgvgpgiHP20V6G5OWvkSGny15cEKeUHZxTeUFOehu3xpFl2p4TnCCBsvifuxT5JZoRVcL-VKbB4MdEoBTf"; e_fb_vipport="AcIolPT2TkpZWTL88BsVkfmEfQq-6ov94Yv5RKM9IwRDEgxY67emfqQkGBWl"; e_upip="AcIj6R69OjFUC5b9rIufKsK6PPpEJewdZ3h3g5N9zP2oVAzbcgmSvr4IqH37achybz_YtwNXD3OfaeaCO5nnIHMKSlxeFwPW9w"; e_fb_requestsequencenumber="AcIyBPHPjz2sgwIja_ytTukjMy10WsRfqNIfdGiPDgKySDcN14IQ1YFSYBfH"; e_fb_hostheader="AcKTTBd2qPjx7V19Cf6gedVofebsbKxGG2z_d_RyUNHSGG5ZktKT35y4AXS7QWae7PY9DV4u-qxtKpq-"; e_fb_vipaddr="AcLTUiCYA4OXLRWsQApg6Qw6Q9mP5qoZfD9uK-hRuKyjesG83HXqx39LcTeR4ENFEOvhliiVUAMCp94DlhlUpn6kRaWGhOI07Q"; e_fb_requesthandler="AcJbS4F4E0frAYM2hs4GIroecC_CEC9gZuFXLR2QgaSLCsFJzVcKM2pOMR7QOU4FJJm-WfrzKJI"; e_fb_requesttime="AcIio-2YktHNWmLaqOc2wOgwKxdLzMICpqU80JGwbJvHakQTuT-uhnZz-vM948YPLlRgXFwPpg"; e_fb_builduser="AcJDJqBYP4qrxvf1AdineYWHOuAy3gcVWp0bRmnhmCYZAp-seUZLdcW34MMgS-LFsFc"; e_fb_httpversion="AcLtQJaLlKNnhuvhr5-lK2yIALEwM_8tpwtrUe9rYDf5ZpU_aHVZ7HofwuPQ"; e_fb_binaryversion="AcLoz6c3xAEq7DZJ4NhpvWMgeuvIxzErPa8PcjpOgG70Yi8LywGH9tYaaOdOpdpAsPAamx6Slrv5lEayrR8jkoYGQdkYaFj_L-U"; e_proxy="AcJ56GCax4vMpgCLxIREMEuv4EXD5U9CardxR8R59q4104TlI4cNBRNdyAQb4g5RJqfTlER-m3CipwqHRNfG", http_request_error; e_fb_configversion="AcKdHVgVJA5ducFMGwRcX1zEb-Fav4O2P1Ec7XfyOkRJYswjImYj8nvKQ8-Rgg"; e_clientaddr="AcIp9FpBUDn2fJGft4PFd1oB6-7n8Ixtp3g7knNO38FImWZihZwpvWilk_nKbOTGXj6ypOR9tHmOSNHCjg"; e_fb_vipport="AcLkpCztE6pIBBrRySs_eC2EPEWyz2CUPMCYGKBN0236uPLMX9iLnPfA7vlS"; e_upip="AcLwqOmRBvEweSw6-jIK3oX_DU0g4wB384Oea3UUDxY8VxTx_ddxhtwtcZCI-piTFqbWijEmLtiEUUOEORgcCGBEdMgdQgNFCg"; e_fb_requestsequencenumber="AcKAnOlWFA6bra7CCncviliTohxzwF9TEsAUhXxFXV_7xvL8fxUV_Ud0Hw"; e_fb_hostheader="AcJuR-NZ_BxISqbK9KbdgvzSz0Wz1a1TPayVjyipGDGC5PBRR328xklG27bWorATlBb8nzRmNZgz7t2q"; e_fb_vipaddr="AcLeMOYlewOUsNxdrR9gNSL8H9ALG9rT5j24qYvlK-ZL4u_sH1WdhwGcmKKZDULYBe1VBHxqmQ"; e_fb_requesthandler="AcKvUoAwpM3GO2nq6l6PpojKyQG4qh5Li4MxborcQo4ePAAF4IUwec9Xf1mSEpP703I6SAi5lNs"; e_fb_requesttime="AcKMMBc3KNTTB2ltRhIftYx3H1BOgm1Pg9z9Rcu27rBVZ4v_iqZI_LFuhCuJDvoJFryPKq-d7Q"; e_fb_builduser="AcJq2R24BX0znZHCiuXTn4jKFDwuyXqyX3bsKP3NoL9mI9WvDY8cVBHLhH1FE5xCx64"; e_fb_httpversion="AcLbMqWozp_SrSzl_D_pHVroHUmBF-S3a-3JnLn1RZIUKJBV-QpsnXDGPVLm"; e_fb_binaryversion="AcKp_jmPwB7Rl3wu0aRr2rK7YukihvIVtcK-Yl_3j3eLA0hveJavA17_zWys1wAQDHp3ORQi5kH9x1_gQOvDHNZCQ_3gVUphp1c"; e_proxy="AcIfCDYmCrzl4yw8Zrol61v2qVGJn8cV2nTWlk6Y1XYHmnxt_FTCQmSlQR201wjst3EpbB-2mheWtaU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7423099537758595"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 17:28:28: Error on send one message facebookId => 7423099537758595 03/06/2024 17:28:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AcwURIT1ktH_wT2sjHCL9LF" } } 03/06/2024 17:28:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7423099537758595"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9442574, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWbF_OQRLJqQS5MRRuTRZRb', 'x-fb-trace-id': 'C0NBVVWzvPH', 'x-fb-rev': '1011868413', 'x-fb-debug': 'KnnsYCGkSLGw9fT5FR3b9ZJsDkka90dAuGgng+ioROxsOFe/ySx+01sr1MYmvpwWoD61Dc96uAcy2OFKxuPKeA==', date: 'Wed, 06 Mar 2024 17:28:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIJ5WSvy_YKhxbwA36uHqOX_IlE-qjipTvoP7vljVNpUnBTVsBUfKE1Shqaaw"; e_clientaddr="AcK7Z3kYSg5yYI34g_ODnA_3_e3uNa-FUDd7R4dePUGWMFBzKGe8711TLFRTCC9lUIoVkLLkmVlpdilFL22OuazvcShwsUZ6kUCZy7s9AmiouQKI"; e_fb_vipport="AcIaKNFEpG5vX8eSVdohJERtm4dkUWt3DNwtpfqFH6uWev57KZ9kWedtfZwi"; e_upip="AcL-BYqhOxfkn5Eac1oztar_FkFlWGAmOJutJnvJEdF_Lky_lopK-lCG40VQKFUCt-zcMdWrwe0URvOM_F6JBQBhY7Em0eFlJxs"; e_fb_requestsequencenumber="AcI9XnK0Ku9cTGvuWPciFjWCdTfCPXlcjGBB0eM47W2wqcopYrjhzuyoyFwh"; e_fb_hostheader="AcLVJeeIGa93YZFIAF0jGW-8-yz7ubLfH1rNN1DwIGlPxj9a0me2Y8bETcw7PYTa_CRfnk0V3Yh1OI7S"; e_fb_vipaddr="AcKGGpcEWQ7q_7qmLfyduoQLw9oqgpclkys1BSY2vyHEKxCwPW_HOSkk4ynwesAS7Q1K0aeH_T9zCiolSWbWVmEtAYDgAB-KgQ"; e_fb_requesthandler="AcIhxV_pgN4_jsM3dacQanIEyZIj3tBwi7biUl3jAcaPN-mHRwaYBiM34Ef-x5tYUio8LvX2qFw"; e_fb_requesttime="AcKCs4wR7olywbgoD5N8UoRo-4dWuP17mpmQHbcF-cfoFoyisDhSCeA3qU7x98mZE-BS0MQWlQ"; e_fb_builduser="AcIgIIHhMcPpLwbEQqe15fHY-hCDAsOi4YTE3DjAB_Kbov9GxXfo0zyZJPacQvomeqc"; e_fb_httpversion="AcIkTD8bMPjhS3GpqJLixP7nOMHzhpwSYiFU-Qvxj0FiQ31I29csyfEH92cK"; e_fb_binaryversion="AcLKkA6-h7T1KrGzdhS8yaRL-vb-dathtCv9BJOuU5SzOAuoFP3ncsNjif9A6XeJiyJftITPz7ExnQ2JLslsHc-iTHKLnjMeRIc"; e_proxy="AcL52Bfyo-baMFG4tg2zTgxPzsGZ79FAtr-br3y5KUrIvBy0rfiQDDQjMneV-4iM0Ua5qGAxLzoHJFvMZF19", http_request_error; e_fb_configversion="AcJlgvRuGq-T7U5-_wDK6sGNQUqbHFDOtvLcrRw9P0WldOFlmX3H-dvbxuD3lQ"; e_clientaddr="AcKqLxv5zdZHaukS5G9sJEvuw2qMcVy0UIjVanuNaJzpLwgjPJukl-6o4zyjMtuK_Nvtuz3G2pNX-VEhYg"; e_fb_vipport="AcL_Dz6jEPR6NfBk_6K4pWaxJfgWCwM8MsicN9bh0lZmv_VBAi6mCMq3WB0y"; e_upip="AcLkfp-YqDe7SoZohAegK6SJ6fhn8nj5xPOArjiKpXcbI80TY3dPhBQAp2RG1-Pm9iMkevp8_hjGoSZZOwkRuqwkvT5DlN7_Rg"; e_fb_requestsequencenumber="AcIn-TQRw8ipafkMf721t5pvOstMy03tCkA0dMURePS1-7Dgv2aj9V91mg"; e_fb_hostheader="AcKBGCaxAz9RN2xsE8vb3v-E6oYV-PAizESqzSKbZIwDP573urmVL5u2jsrIpMezaZdswZU8-qpSAsqi"; e_fb_vipaddr="AcIGB19b-EIU8VirZMr09tMhYrfmFzGEvcqsKNm1gGMUxAqZvKOz7AnlD4Do1Ez3QQ6wzbG-zQ"; e_fb_requesthandler="AcKah_enXc0r7_AKSCbGSs2appBvlz0Pcmb8bh0GVq7Fx_E4i6TEgmlifiCVMsYEZpXhd55ZEQg"; e_fb_requesttime="AcIiDMbH8Qq92VCAJXfIRYEVlz4q4lC9c-x5A8qZtOGGSGUpJFisb-MhTiNhuW8fjT51QvQtSw"; e_fb_builduser="AcIIBgreHo81RLBNHWjaIANj4Tx-AauR8nirn28_kMbChVn4qrcsIhzrvqosQCMjih4"; e_fb_httpversion="AcJ9H5UroL3yntm9yFgXUruWNs0iJoeK3hvTEUBbEzbR__pP2ZQccmEPv7-R"; e_fb_binaryversion="AcId4HeXxTjBcAqMLwpacLbB6C6y355ElHDdqU-nLSKaTexQpGBX4tpYKaJhtGr4dg48jUMz62mpVtelOO6jRTFgT4Ol4ziP5w0"; e_proxy="AcL18IeTz1eXGelalsGfU9B8nda8LkIdHdyDRBuNTHMLiHUYs6rxqlhfxk7ROY-Ze2xH6Upx0V6LDa8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7423099537758595"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 17:28:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 17:28:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7423099537758595"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9442702, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnpTg1QydnMKc2DBRaMuOCp', 'x-fb-trace-id': 'Ev4EhlylIqJ', 'x-fb-rev': '1011868413', 'x-fb-debug': 'P4JlP51Qqujf3IFEsjyhr6IqACjgYAxYzTrifuza540qDdak5I/2zFF9GrK++/JVprpFTuRy72pnLM9rARK3mQ==', date: 'Wed, 06 Mar 2024 17:28:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIrcpma8OyXIhBvFaZXxjcylpCyCmdWGSPKzCUmcNSTc0hkmP4_nITWIfrBjA"; e_clientaddr="AcK9kid4t7RItxHBo0SWyzSzCpUmG0bqY-7nBFmJ9DL5wKWK3b2UO0JcsgSmmTT2D_zhiWrlotwKA9ofqHo6eAS8OKCQvjtRnP1_nPzRz5tW14SiNg"; e_fb_vipport="AcLR1U6d9fkhE3fgAbQ06N0_ueryGanNr4TXFPIG5lAA_ur2B-Fbke8jkpDX"; e_upip="AcJQE6EOaoRbgKgAATI3v7c7b57Q9ldo5_85eMR4ztkYENGizXqt-1t1JvO3aNrI95E5SAYDv5QzlGP3V9XPogcgzos4e9-i1jQ"; e_fb_requestsequencenumber="AcLdLICrhbzgOfiSJlo3HYwotnyG3Fll1q23mz9UOQXV8V1mSabyU-qFWSilpA"; e_fb_hostheader="AcJ9oaypB0VC2lOvN9j1Un1vk4Oeypek1PjZyixt5IAmG8LF19AqfRjnITChd31gLT-ImyLXlxQNCuaO"; e_fb_vipaddr="AcIqR9YeXgBkRc1RyVZPaqcXY4DuNv66RPKFpu14xS1saTPKFrRsCr6acUlNas5Xow1dhu0ZJ0oCPcT7JEZRXyGY2ooGO0C7gw"; e_fb_requesthandler="AcJVcCxqUW7ucg6FONH27Ot9HQT9emEnXIVN3CKFieA14vqsjLaDHKKAkgeFmEqKh2p5U_bXftE"; e_fb_requesttime="AcIowaVM56Bsvm-Cdavrls2e1oHx_RiJJxwJn6DIZ4Di5VGQ12G__NOrxfKoY52JVaaVyh4xew"; e_fb_builduser="AcIIMSk9Z4ZWDl6GEpuN1zq4rd201xLFfAFQrgNKwNgJL6o8rKHBmQe4-lqhPZKsHRo"; e_fb_httpversion="AcLmbswRWlAcLUKsyqAEpQSIf6VvExq1q_smLtQCtO264uNAGkWYdlj_m2Mn"; e_fb_binaryversion="AcKV2OzfaTBsNkzsvKgrhI_yvcB9gl4-0jBNrovmK2VKr2VrYPXfhxh7MEe5vPt9JhN9ZBXf8Mqet46oPnUjDDxSJfgAi7nFAhA"; e_proxy="AcIzI0BqgZKpsZTQWTpB3PlzT0crDczUvDx8XHNbvd_ZbCu1sa-fFc7_Z0qN3KFJ6ImO9a0H6Rao0SbWV5E", http_request_error; e_fb_configversion="AcJUFMMiNy0DVW7mSdzfNcezoPRcgtveoNIDHKa9qVoJg3oSbHro2hcNnUCGgA"; e_clientaddr="AcL5yIPmn4vJ_OW1LCU0f9JRWvn9sysjU-LJLxhbuhb4qmwUJjuIoul5FPjSKcoWDSDOnIWIsb-_swQaTw"; e_fb_vipport="AcJRvDZNQH15pEfC02UXTdsT-nJeXKxUzXAIDSMIpUkokx6W2irsZkzKwpmz"; e_upip="AcIPs6R9htPtsgpRgTDN-fXq1jh45Q1a5Pk4hrQQJ-_GwznGDc0X3VtpssZXNfqKzH44L5PXYj1SNml3ZbuwUL0GWvO0NY8rMg"; e_fb_requestsequencenumber="AcJT2J2Q-CapkhKH2LRmyP-4TelWYGfoNWbFWxMOrMU6hVqEJaw1tL1a6w"; e_fb_hostheader="AcIZv-Dynw-u9h61Ba81MoPSkMwltoWMJQjwdSTE85oHEJD_z3h63v3JTdfmk16LsTQI-hiA3pXRwWDg"; e_fb_vipaddr="AcJal_oEEEQv_FIxyXEfcJ65oGBce_g-yRseGON8179ZAVNXHqZHG0X02HStBLHSeZtTtv9ymA"; e_fb_requesthandler="AcK4ZXtkz9tF7laLlMMZ5GMEKVTME3rAgoxBGZbqKTOwPnc3c3fPZ8nEWrEnCyGVQQ9Xdxc938s"; e_fb_requesttime="AcJt7uuh2cvqWw4-MsQQr6-jkl1PDWp9JcpTKLkJen0P8nit569AgpWxUx9B6bB4lannCO-xCw"; e_fb_builduser="AcKh5a1tl_RTVBUveYNk1bhEYpjAPtQCRxiTpYbFF8zqiYqHmQArfbpewPFoCN0ZR5c"; e_fb_httpversion="AcJfmQjVsPhnVlpVRpGzyEFuIyWSh6hWclGlDoJj7tEunlhhKbPCpOZGI1-F"; e_fb_binaryversion="AcIEpl4mkt182bIK8dEGhEOSxtxzvUAeM6DwESVr2qHjv-VX_YHnoWpP9k-RBIBsYXgAdzSIPdNerLmWV9Et-EayG4oiosrPaP8"; e_proxy="AcIjnmNi2S308jt-xzVjUtg2q05jjUzRXpfy1DHxnO5vD0w4zxeeEBIMbXrwcrFOXMWgxWP7mh9wMjE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7423099537758595"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 17:49:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 17:49:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 17:49:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 17:49:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 17:55:32: Request bot not found: { id: '173905809808323' } 03/06/2024 18:09:26: Request bot not found: { id: '215725838493727' } 03/06/2024 18:31:26: Request bot not found: { id: '1815581812105014' } 03/06/2024 19:54:29: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7310459122378067?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9474683, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7310459122378067?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7310459122378067?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7310459122378067?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7310459122378067?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AeWGJNI0k2AwPlnXfPLKfvX', 'x-fb-trace-id': 'AqxZ4Dea0NX', 'x-fb-rev': '1011871912', 'x-fb-debug': 'cUsTVotaRHcoD4up6/KmvqHw6RHL5XqFE/h0Qb/NOSYTTJyvsf/FBKMCDKLvdFNVtrDOjnWaxysJSlolT2DFmQ==', date: 'Wed, 06 Mar 2024 19:54:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKbnQStNLk12kFPSq5VqDneukHFMgA96t7ZZ8Ri5SB6-CmAbvZL-1z-tI_cDg"; e_clientaddr="AcL7pMiahR3ViTkyMcO0Amf6VDyD-4BYDIiBQrj1qwsQWFJoyiyDWHug2EIXJtMKeicdTj-Ju4QQyqXxgW4MBA0R9kMe2T7HEPLmKUPhy4Mh4sv4sA"; e_fb_vipport="AcKLmNkWddbFe5hkmHdQjX2CdKA0vIozwy-iscecoRWWO2prlkNPl-VfE65r"; e_upip="AcIc-zq7DGI6U4om4_muc35sRk453S47kv4C20ddiQMdcUPlDWgkYV7-uaQnuVxvg82uRnvhGgY0Tv1ERvXhtbIEuvVTZOtifRw"; e_fb_requestsequencenumber="AcKA-Lt23JxIXNrCQWDAYFqLb6Ej7ymV-MZvIEQndLxEscFM1zaNt9jcdZQ"; e_fb_hostheader="AcJTyWQrphQaJ7PBXNdlD9fJYMziZ1mHGvxBUWyYpdt0WILl-z0mKg-ugbKW_H3C9r2xIkIUNpWZHLdN"; e_fb_vipaddr="AcL-wTzBFGIfsUrwqL4Il1L6ApydMYeePP65Rn3HsgWiywGL7U99X73ysMKY8wkT_0y79wheijoysLFa0wAybAQVmoxEUNIsiA"; e_fb_requesthandler="AcI7rbHyV-Vg4ilzPTKmtiz-u_ZJZAQzVsJaqxeo1nKQ7Mocdx43ZhLjiENWPDUUCiKoXpOjY28"; e_fb_requesttime="AcLIOEfd6VVmLSHOzGitLNhnh--RXg2DJTQP8JlQSrEMyR-PR-i9KIZp91oQg_KWAyQTw-KIJQ"; e_fb_builduser="AcLydrq4xsmP3h0_1g8hEsKQ7qhx6k92yGztcdzVKR39bBEK6JMeRp0uEj5LX3-kytY"; e_fb_httpversion="AcL-U-1Um6TEDYrRPOHLeeOPqM5P2klxV6CAe06WIp95gHAzcSXAXloNF6V7"; e_fb_binaryversion="AcKe5LjriBuMC9HYhaclQ8PZVNGNBAJi91qUPq7g6Gb1QIQTuvZgBDo70jXawTi6riDv-UEUi5loo3PdkC-YZIYfRJJNWVVpYo4"; e_proxy="AcKBt6UXeEDzIU8zNbYE_vdJ1IGyYMSPyP3ysFMT0sdtO79LiA-Vne2-L44HsTOL4deOoc3bbY1i_1pJb5i-", http_request_error; e_fb_configversion="AcK-B1Djew1sasbAOfAbTfLONk3qdvxaHwZ7KwxibmBwc3EJyY2iAf57wyDn3g"; e_clientaddr="AcJevBgSsFGOCoUpMIyXZQF-DDDkjnR2pgOVMVgV9eqtN9hjY0HDRhDo7Q6BFtNVkpasixHnqMKlbrjwmw"; e_fb_vipport="AcICdKFxRKtMEOQ5r2JFW5gWCQ-b64X6gpwOXaal_iraJmaylw5gauAa_bdZ"; e_upip="AcK8E0hYcuD52mrDdkCkJHe22s7MfSZOFJAAkpNLqodkXEAnKo6g0zZudzy_iKrIg_sHc3LTgVIqh4WukhQ0dY6yLXtHBak3NA"; e_fb_requestsequencenumber="AcLLTxgswK6qiTAhQAEXjnVppHdE-6GJWYcKagndXiBdh3X-gfueDFYt1w"; e_fb_hostheader="AcJ7S82rOWCG174pb3UXBLQLN5NJvkEUpkTwSlmBxlPYy6aU08IB4RLNPId0MG4VqVmwwZMM2rRQNxsX"; e_fb_vipaddr="AcL1jQnOmkViAsFIq0wKTbfv09dBdMww93wTWyypbPuw9wQK-CA79tDyYWDZICrEoBlcD_kRng"; e_fb_requesthandler="AcJ5uCsxqsMO3qW-JalpOF38rCsaMAMkGiV2b2inkiHRw0D_Gsg2F8AcvJ90BaAfEQsRT4nHHSQ"; e_fb_requesttime="AcJsjW4OKdv2mLmMQcSPBhX6CBW6UX-mKGgAHbY4NgGMHeiVwbqYaxp_w5dyoG4Ibg1l37z1EA"; e_fb_builduser="AcKVEVCKPmRoQdGZHZT9Doa9cuT1TLp9fZxTzI8fq1uFdL-HZnDNmkQX41j3wpScKOo"; e_fb_httpversion="AcLhCM6JkXlM1sSVinIDFu-FZMbAhq27wNUiPBRvshi8OpqkI3JsNNx2vFGW"; e_fb_binaryversion="AcJ9jyV5-nDZ9UsEOeHYinMVRK9BFXgX3x9ANGcNN_byPHSg-h0n0XNOMSbg15p2zNPDDgB398rprC7MqBSIy8__eA9UJEVm_go"; e_proxy="AcIyQTRXotlWm0E1s987lTZVROdi20poVaaejMZEsa6fXSI6etuTETYTFT_kTuXB0Xr-qOScISrAIlo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7310459122378067?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7310459122378067?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7310459122378067?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 19:54:29: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 19:54:29: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 19:54:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7310459122378067"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9474801, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFAt9DTOKi26j2oVZlHgWy_', 'x-fb-trace-id': 'Edwd8yL8Eeq', 'x-fb-rev': '1011871912', 'x-fb-debug': '8eXxKB5z7bhiheQkXrlkmttqJuY5tTuFZxw+lIWZfe4FRBs+DbJJVfpiFJruQH/N2SHSE+1x7TCPkka2oeIQ5A==', date: 'Wed, 06 Mar 2024 19:54:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJOX9nAfDedZAsyjKUp1MgXgXJPtcAD1LbiuRIsPcDtegE-iqQHmcP44NqFgA"; e_clientaddr="AcJSgExwtJfso_3pJlf11YcgqNHS6zwDJKYIj5hBuiXYa7JOfqUi__iSOgS4BHrDP37p6O8zJB08YgSy2e8ILas4ALoook8fluCPzJqhlBS6XJXxKg"; e_fb_vipport="AcJp78aRQXKzAbw2pkh6SsHvFESOhaJIbmy7iNn2J8Amkfp3BPrMxXYvN91x"; e_upip="AcL7BwM6bJiHwO-qH0yYBFKIzGkW8fjgzjPT5CwxivlqgbTi0Vb1vO4Hn8gBrtr4aoAVjMNQuygZZiBkG5czLGepbkaYA0fuLg"; e_fb_requestsequencenumber="AcLHGOzj5c4hqR8YW1faE7DIxhYdtA4HgT462hY8LITjB_pfdl41Sh7y3hglTA"; e_fb_hostheader="AcJODGeb-hTu4djfWst0mEeWOzyq4LmEyIl-W5Ztzy2jcZ8kDXfUEcAlxWwSISRwZvo50Z1hXB8tYqrp"; e_fb_vipaddr="AcK7NAKQw_S0pbdlzNLrwtkKUKsUadX7j8MglGajWeJDgqj2vINriz3PeK9iV7w01tR9OpWgqMXJDFJc3q4nM2pJ8LgiMdJBzw"; e_fb_requesthandler="AcK-mzXl5NMq05RqSMxZL-dM7dTwFhhZJKWS4K2nmO2BW30MzByDeEGi9w65h4cEDMsy64YG6UM"; e_fb_requesttime="AcLoh4ghaUgeTU7YvSmYORp75DROABxkNp1tsXtGmurp0IGMVqAsMu5xjX2UALJJc6jhflPDfg"; e_fb_builduser="AcLx_swN7YTo8bBZ3jJkxCSrjzvW_TRk4MBQVtuEgIixmaaUHLRDfZAXeHlS3OSCwX8"; e_fb_httpversion="AcISxGi037TsRMyKCoQKMCnzquWNgdynyInOqxpvcPrr3j-FYUB1p_Z62sC-"; e_fb_binaryversion="AcKZYSM5Wb-L2TR-nGzsuNOBc2wdTFrfslmNzWfJvHMswvZOx-RDaov3yFyIvQMbQ2B0iozcZ7ovjFgLXX2iENvnJUfkwv0qNRA"; e_proxy="AcIC9d6ZOI_7DHPZli1sRfQ6vPd7dAIKcZSSLsxOcMXh5gvpXq8FDvqzE9bWDTeCQZJn7HdB5BLeZOHegHvm", http_request_error; e_fb_configversion="AcIguwqEIDkIpaPPpr_ljx66DRBQy3vfCPGOu90gyhm1ZtxusGmnH6d_aZSnIQ"; e_clientaddr="AcKk8rRTBNfdioxDeGeljQcXamHoqkV_N4rMY4mN5da-ZKOpfNR3nZBse3frpinV_NoSfaipY5In6LcQWg"; e_fb_vipport="AcLajrKglj7qQkw6KddGhSKsKGoGPL-v3nX6qmRWj777lY2Py69V_JPdZEqC"; e_upip="AcJzGaNzjFbmm5_1Y5MfUEjrS0nt493tzXeEN9f7vMLdRtmF954Li5D6d7ZT1shKRAicsspPtmDunL1SGG9k4ht9mVqaJVluxQ"; e_fb_requestsequencenumber="AcKx1cmPC1krhi_GSsQrAuvDwwEGjr93Dai5nC8-lu00Wz4FnaTN6V-m1A"; e_fb_hostheader="AcIXI26hfD-GY_ZQka_BN45ELvCB2SZ5sKmHqwiaUnbPPLtbrgS7kv_meUu5rufvU6B_q7gYCUqOjt17"; e_fb_vipaddr="AcLrI0EZmDYabgdfFWlYHTpc86gu1houkuUFsrJtCldQqMr5ifr5Ne9xutqmy82C14SKoXaDzQ"; e_fb_requesthandler="AcKNoHLevyTTc8hPmY2QKdvn_e1rjQxKz17u3YMtADOo9Pyprc5dt71uuV6W7j4TxcBSSymDNFQ"; e_fb_requesttime="AcLOsswVEOAh4T9MvQVcwUU5J96Wv12dSHOnArdafBd7TP3L6diKmqM3FUR_kHrhDPohDennDw"; e_fb_builduser="AcK1M-Hw9jk5ORcyPnkEq2VyI2-u7ZQWSbgV3caoTIY2sO9e9QWKBsShNyInpZrrTi0"; e_fb_httpversion="AcKwpWyNPhBw56LPnD2aUxqegv9s0VhiuRL8jHYgqBJIIN916ouEQPJZfPyX"; e_fb_binaryversion="AcLsGPzGaCCAnqtmqF8zv1UAIESRTHTM2vmRj65F7UNPZ0L6HXpMa9MsswuftU3YpaI5eWLz6VxM-Vr-t5mh5502CyTv2NuqGNM"; e_proxy="AcLF2kOSpDC1DqRCsFgBg_Nharg9RkFapNFHkNeLw1br5_2gyG0JyT2PVXYZ2x4OdczQNc3zGagbhyc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7310459122378067"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 19:54:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 19:54:31: Error on send one message facebookId => 7310459122378067 03/06/2024 19:54:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJ0dSV3CeDiQwmq09pJAvBV" } } 03/06/2024 19:54:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 19:54:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7310459122378067"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9474881, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al9iNEEQRVeClGIoxtifhy5', 'x-fb-trace-id': 'AWkdvIfbSGR', 'x-fb-rev': '1011871912', 'x-fb-debug': '61haYYbh9AqAq5FmUfcDsVDjRzlIrFyjbqylpqAP+1DbdNPySTcFOUCAw2QEcpfruW7EqS32KjsibdvLIh9Tqg==', date: 'Wed, 06 Mar 2024 19:54:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcISz0k_sME50D5gtP8vlMSh86TIkxdyl1yD3kJx0uEsOJBzrVXemXYepfj5Xw"; e_clientaddr="AcLby5yS1VSI0C-8pus73Ynrern-Eyy-a1AZjhf5Id1-wvN2qbKUrIPwOAyrqB3Pg4j8mJ-Du37TNg0IoG2iqv8Z5nf4CmClsQ2lVl8gBFp1T_vhXw"; e_fb_vipport="AcLgvpUvxP0fudCf_yORVl7S4NUA8fYduCnf9VP01Xun71YqZ_viEwiiY1PU"; e_upip="AcJ-tHQDP8Q13XhstFbVwlx12QRE_xO7ohX638J2OGBb_Um68m86TfVP8Tl6ihG1VWM_AIYJ2_qar2Y38e6sxJW5SQUiVv0wzEI"; e_fb_requestsequencenumber="AcIMB1QyGEaa_MV_V-Fl4KaqGCPg3xhY6aL5p5cQbut1lLhAywiZgKgs-fFh9Q"; e_fb_hostheader="AcJnH7UU1WNbHPeHeuTgbqRjhK6IAUO63nsC0bzJD82uSW_4Rp68hJsvUAvRaf6Z2ozGV9UWVDmCV07P"; e_fb_vipaddr="AcJ05eBMvDIcOrKq7qimuJOE1CcC-DfFUQk-xuxgBq2Gf03L-5s_kBuL00hrkKOkvfIuRONRwlkVawZK3lZQAlzx1baC39GXJw"; e_fb_requesthandler="AcLgBp7xfJ5BZAGB6fwvBucx_LO9bGsl7yiT_LZGJCi6Z9JfJukgwUEdqy9aITt_pZm5W8dtRUA"; e_fb_requesttime="AcL8BWnfBIjV2-aiI1lTZlY0-KEwPxf4mVXCfkmZqBJ43tvgMEo2Isz4ftSty8li2BIxlDFxPg"; e_fb_builduser="AcJtejyuGwY_WGz6otSgLt2Bch61a9KeK00UBlOGvgNXkKZ5vocymzrV_OXBQdXu7V4"; e_fb_httpversion="AcJpKWGpUcLSS4tyGgoVbvxjX8A-HL_vjiSN5cHIozSfbeUZG_XN4WNiXDgE"; e_fb_binaryversion="AcIgxLC1--qiOBvydCZ160xUYcYZOBrvZ5hja3CxfuOip6r-D2ZME0X-98-YIAPxtCsZtdTHDyuOnxv7C72LXcDKqTEMS-IkDa8"; e_proxy="AcIbZaM4ENp4LGj6YBxsswsAZvpggi_kG5i38t415UlqQi6x4Td7p9JTG7LwYqsKA1-nSQWOP4Y5WlLsQlNa", http_request_error; e_fb_configversion="AcLz1MbyioSovz2uYtNIicyJ36QBbrs-dbywI6KsDUjtawiCE1Xc172MZXJWCw"; e_clientaddr="AcJafvjic2HfnIts4jB8oCri2xu3oM1OM1lO4Ho1NvQymh77PegnnygukYRaT3QoDO1f31m8B26F6lr3Ew"; e_fb_vipport="AcIbibfna3jHws-q2qersIytlOiKe8uQvxw5SwvxhdRpkVw8Mb50ZIjK8Krx"; e_upip="AcLk-WgPvsrJTO2xMHQPWVnrR6CFZm0vK7iNIgZsxXi-S7ONHEnlnQwy-2Qom7EpcQnL2gaWox-E288lQKE-vr3uKltu86rI6Q"; e_fb_requestsequencenumber="AcKAeZ1b4tZIxZENfiZ5wh7WR1dhEN7m1W7Pllyle38jw1JgmaZxVMSfNQ"; e_fb_hostheader="AcLC3IFO65YJHnWbmhU59yStNnH7ACVbvO6YnHCFC8LeSbOz456cnIE96C6qk3ZxaRB7qD2dxJT69S2i"; e_fb_vipaddr="AcJ4a3NW852lCN_FlCcAT2Uz5GcxTPiKl5GGpJ4RCq3jvML8IDNNbnVvZthyI65Fvz33hhpq8A"; e_fb_requesthandler="AcLyLrIvXAPEFQbJeXr5_XycFvivV6Ptd_UWcfd8TOBW_kZXkfOQp6G5_5CUINUvTU2lvoOD8uk"; e_fb_requesttime="AcLK1kpXcC3ziIhmu2im79sEzfo4Mgg8gXddH7lXD0xzYYvqQZamFXSiTHB82t-NgVVeuNGI7w"; e_fb_builduser="AcJkiQ_LUyX7OXL5w6AfIzipTl-0hgXvnZO6wW3VHJKYu6sM06c6pOzPo6fvwwvxODw"; e_fb_httpversion="AcKetiWDqOgUXAfxcKIN8LFdGA0x1dgKIIaEWY5hcPsL_8exX6ZEYrqR9KMQ"; e_fb_binaryversion="AcK6d2TqXOmPz-PZGfmTvXcjumNUSW2mnFyoy3lNYwefQHz9Aze-vYxcjtNEZtkbKNWjKwuWxGq8doykOvsb9hNvtyMfuW3ofw8"; e_proxy="AcIw8SHP3XLJoV79K_jXVGro13IfLwXygngGloPiHe8M5LvwRq2HUZB-GdGA0AeHE0XOoilCtPmFOFE"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7310459122378067"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 19:54:33: Error on send one message facebookId => 7310459122378067 03/06/2024 19:54:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmTZMQfCex_KIbeGx5mK3mO" } } 03/06/2024 19:54:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 19:54:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 19:54:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7310459122378067"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9475028, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAYVy_ytFZBcOlYu7XOvqnB', 'x-fb-trace-id': 'DEMFVhyKDTL', 'x-fb-rev': '1011871912', 'x-fb-debug': 'y89H3BpsKF1KPjw3GHIhfC+fwAX+UdPEFf0V4lbJxF5owgLzB8+Xb7f6E+Ju9LmGjPPEoHWqsy39JukQcwNa9w==', date: 'Wed, 06 Mar 2024 19:54:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLglHogQ6clKQ-fyPpqspIkBy4-ZyAWQWeAXIi_ZSpHCovmFAbObCtNjiXVQw"; e_clientaddr="AcIC-b3fHC1E-kNp0Urysg4GpawT5MZ2DQfOUVVy4kE3ijk-pcvi_J5DY8oALDv1KRommupTbhIhd-26XCqfuT5WJWEe-7t8DdR63r5v9Vd92b0Qcw"; e_fb_vipport="AcJ7C75tI32R2s0lQkKb647-S3C6a8D6zT2Izoxxb-01blLoR-0BaRPJ2Plx"; e_upip="AcJKWgaXn23N_D-Cd9bhqVFxval5Y1hG92KjAbC4z9jQ92YJb-G0EIZa6x9Hk4NoL9Z8gQslI2vwO9Zz_XTIXOkPFtTysb5Few"; e_fb_requestsequencenumber="AcJzmnCWzLAZ6mgOsYZMictadje2ngHHns_sVKM0gYi9ISE0NyHXLwy-tBHL"; e_fb_hostheader="AcLu2UHzU_yVqQFnCvNI6rhX_qav5IhiEwUBbs_9cl692_1v8LfHiNausMwxRL_jJs3DcxVCTl4jBr2_"; e_fb_vipaddr="AcLz0HiGiD-bzDm0L-3Opueo0azTucOCCac9KBrn3pj9oQEQE3JqPYNSxE17qzAdBIDpMtrWxjtcC3sTbQ26_5vWsDLzslHINQ"; e_fb_requesthandler="AcJY-1UaWBxdA2ouU5BYpIMXKiH_t7QhyKsXrp53eStRoOj9AwGe6blMpeIi7dI7aKKxkn2kfAM"; e_fb_requesttime="AcLmIhU7TeuIEgoLEWvS8lVcYIeQ7xshUZDMr1kFJ1VqnsP_3tkpd6G5VSFcqkrIqCHVRsfHtw"; e_fb_builduser="AcKcFpDjuNrtXgKdGTMj5FBz74atOF5CvAdywku5m886WGf8X_fdedn39cXgmqcDSME"; e_fb_httpversion="AcJ841iBiQTzPHVEEX58fHTdHxnLZGtNuzqo2WeEDhWysluMG37NPX12UNLs"; e_fb_binaryversion="AcIO9gPM2EgUWIOR_hRApfWC-sDvlhnNEsTywujafAbuQNZTGrJNOe_Q4RZALt33ufXGt91LtVGEWJruAEEng8dHsZTJ6llLFdk"; e_proxy="AcJYkc2orTvawtTmgcgHenjt2XzfW5hfMmKhU2F8BmJthOjTRTY3yh8DkTcq7ujiS5KJyqVhmwTtt4zzUAUo", http_request_error; e_fb_configversion="AcKQJ40s8w4XqdejjWoF7rC3ZrnBsrs8IMYYoaxz9SE_iL97vMg_-OlRNV--zQ"; e_clientaddr="AcLjaDlp2dC9kwD73K94Te6cajCKVOImuXXIOu2vlTfoJwam3Yi7GDTqq7hQMoGO06NPf9REKMwi4Bdhjw"; e_fb_vipport="AcLukSPdPas4IH17-MrMbTHop-o9AOzxal93XfrDuWO2Xp4OQJqSlFD1W0dK"; e_upip="AcLZUqHuRcAShesGluDjsuX00rWd6JMiKGEN1U11nbQBv1IK3y-GLviIf1Hb5Ojbycs0xaoPIiZDMafqjpxM-sMcYGk2sIT4Kw"; e_fb_requestsequencenumber="AcKUFCoe1m0aL5rTuS0weRc30RRqHHemEb-Tjs80v1o35pbHH4qhRh9coA"; e_fb_hostheader="AcLsrKJgsmrl8luWLf6a-gAhH2R6rePOY9nY9hWeFqLnXW7Xx2kWuBkrBgRfWQKGlSo7gjLpW72yDkGH"; e_fb_vipaddr="AcLcNfuGkCDkmcb40ishNT16HXq2ihguybxVJ2_1ljs5XinhbvQVdmIrHJ8C-bdwt_yPMAMJ7g"; e_fb_requesthandler="AcIkYDtk_eaZh1jP5nk4vkUjyz-K1T51HKLFa2ejvYN0Gk1DOdnlvKWtOMZV-R5y1I2GbOqp2RI"; e_fb_requesttime="AcL-VrWXdIkPORBZljaSbwZfeX8RlSiypOoa0ThnPdYJrZXEM8NXhu1qUEKV0l_nX_d3UEY3qQ"; e_fb_builduser="AcIkQj3amlQneiw62AQxMBnYcctCRSyysMhX1TsY3Gydker8G37tGLk7uvMm3VjQq70"; e_fb_httpversion="AcKIVhAXKkurMvsjdF9TyVYoY4yi47sB8nfUWVySS7FQsZe7k4l6Atf37PmG"; e_fb_binaryversion="AcKkZiYEJFmg3YDW9KC7FHGgE1HsxsZpSF3ESZlSAF8zRp6WFA3VbehMB5Pj4FygrHYBwqHG_dyaw0qs84DfeZ84moJjeoieQ1o"; e_proxy="AcJ_2uEB_1xJlHYHnitJ0lqYIVkA4Bb_e2xYY8Zu4Xq0YI8WbCwLgixReC7elMxBP3uI3Ihb8SdY49Q"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7310459122378067"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 20:02:48: Error on send one message facebookId => 7310459122378067 03/06/2024 20:02:48: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Au_d7X4xP7WDr966GNinEow" } } 03/06/2024 20:02:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 20:02:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 20:02:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 23:13:58: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7300150493411990?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9508792, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7300150493411990?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7300150493411990?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7300150493411990?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7300150493411990?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AezDjK2tRGWS5kO1FQt8B8l', 'x-fb-trace-id': 'B8m+Zf0Ji4W', 'x-fb-rev': '1011880717', 'x-fb-debug': '9Ghu7mKcja2R1KAUhACuqzoLR+2xXL6U5xY4c2NLcKrgrEIb2wa5t2mJqDfOXdzUj2R5T0Pe5hgIiRtaCTXdWg==', date: 'Wed, 06 Mar 2024 23:14:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcISdO_o5uvKwkdVSygJnKRAbAh43s1FK03eSDGFO3hOEzFKlRwSmKXs945CFg"; e_clientaddr="AcJDEmq1HrX2gAHZfdGget04_GW_hb17cMTRpqGvtQAwr2zSfhXsXVcmBckm1uC-gUxff0_os6Rs52eDvhI1eScYQPXCcLH1jXPqwVNRcPLZ_ERIfQ"; e_fb_vipport="AcJhWnTiV9-AeXymHrjkf8jMzkuLsGfPVrPovW8GRebgocBD3mspzFPMzabV"; e_upip="AcIgXzD0-NpPpZoaQkQR10J71ITHyFI8qhvSEa8bGhysLDAtBZxWaSCFh1Xm3E3o8tDkk4Sw-HrZNMxmfc4auMPnXWP9q-okUvo"; e_fb_requestsequencenumber="AcJ8mmvv6VvyICHPvHcAw83x7C-YOHUfbLSDA5HkdWnjGG6Zi1ujKvJaTC7Ynw"; e_fb_hostheader="AcL0H2WD78pnG0oYf8tVswhFD23t_L0pTk45eU4HELHGkX3AfoMbgLsUVvGH95rtBHRr_KEyNUvo-BWJ"; e_fb_vipaddr="AcLQjFmHEGo6Ih8kZlhWi9sQ8GoHgtrZNDlkY63aJW-2ZUWzKjdJZQ_SqEIuTN1O4d7T6Iv3-dZHFuhq6Fq4sVCEnTk_wSpeiQ"; e_fb_requesthandler="AcJDEFST2MZbofTRwgN8KO5Q5PxjfxmKIMEfqZf9kIQ8yTO5uXb-iyzNAgztPxsEIpPdMyatX5g"; e_fb_requesttime="AcIku5CTPUuOR3alAES-b_aAS5T8DcJXbRl-nNqVGQmAMp84W98E5oEcfnoq36TXLxhbCPLibg"; e_fb_builduser="AcLy83GQ4rlQrqAKs8tqB2jGfCucCvrwT8ULRBFJxDNEhtHThUg8NCB7Wn297aS7UXo"; e_fb_httpversion="AcKGRBLajtOWmEbFPMThwL0Tp0-MBiwRrJSBTlGmC9A3DCuNtppe3jHMKdF-"; e_fb_binaryversion="AcILkFGZfGp5pNXNIMZSG7oRgAsdxyDAKuQ9BTSGi3oME8ZO1ZFZjeKisinFUDZ78WpzJNVJnMXSmmTL-rfZdJ5qzlDpG_uCjUI"; e_proxy="AcLvyO0CVsNnB6yhQ2v91HQUkIASH4sStIxaHFPUXg-oRcEulibZG488NgZ3xCh1zYVCm26kHneJeT6h1OMt", http_request_error; e_fb_configversion="AcK6G2Q2zN0ECb2MAS-GvQ5uFK5-jPCBsYK0S8-16YzWEMmNWKeCwWCvMasF-Q"; e_clientaddr="AcLZYyPoM9iECZrzh7vxjcYhMPxNxn0XIUBvDfD3HFNCikKc6W234aZP5mJPX_b0OaHoml1k7ZMApIoDzw"; e_fb_vipport="AcImYyhL_2wYz_jYNH66HlD8HTSoDpBdh4TiBpea3-pmRCdgMo11riUP-DP5"; e_upip="AcKhNNDmX2TDDANdJEVFyT0IXi69cTYWXV0nQ6hrsWuD4QXt4j0xSWe5lIhc8sfbkcelzyS7GJ4-KyikTDh9jbpXX3ldOq8PEw"; e_fb_requestsequencenumber="AcLygWBvpLHA88n3a-GHEp5RznKT2JXTefNbd1bPjAT1ttHV2UBuWk-TOA"; e_fb_hostheader="AcKG_32ysWtI67x19fNthfpayBpKmBrZTkArhR_rJg9DL45qUsTmnfNdbp4o310KKwRhLyvXTYrrkw7D"; e_fb_vipaddr="AcL5QdNAFajB-osvEAFdNMoctYAF0JXiHrG9Wz8PKYsV90mGjzFLeuuctu9f2E7tmH3Yamc"; e_fb_requesthandler="AcJNQ-UA463bUnAb11TKqIg5d6ba_cT5g6XgieO00lsEsqVhX-BSQULvG-lZCACAQaWbnr3ju-A"; e_fb_requesttime="AcL5bLMnY7QV9NuSrKTeqdK33-krRB7wF-hV1EXTtu_MWm8E-UY6F3klVxg_O2288qpWvgIIyA"; e_fb_builduser="AcL7lT_Fj8ZOwlYNj8Mg7s_V7bAXr3GTZq7gpV4kN6xv0cJIqS9h7x4COvu2PNxxvZo"; e_fb_httpversion="AcLc69y2fKj9LHObrdOr2KOrcUJ1GkiZXNIA60x1z-daZ_BXKALOCwTV7Aru"; e_fb_binaryversion="AcLv3ROXmvkG0C3btekoos0w9mwdNi2PlLL8VjNaB5p8dlUhTHaink_RVkSz7JP9UXpiVWoHqC5srLgDYbPnI2DE8ABJoGyUmSs"; e_proxy="AcJLPgPPP2XWxfDXZZvEI6EiQ0eS2u5xes8ErP7KqRDeO4_7P95hb5HteoEzHBeVEe9XpcQXMsQ3Azs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7300150493411990?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7300150493411990?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7300150493411990?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 23:13:58: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 23:13:58: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/06/2024 23:13:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7300150493411990"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9508910, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgrOwrz_nO3sMqwGjCuNWXu', 'x-fb-trace-id': 'FIn4DoI9Qxs', 'x-fb-rev': '1011880717', 'x-fb-debug': 'IwAYDvr7MtJanzwDBU2q7WPBTpUfG0tFVoF4EAc+8GYlVvHeBs4PhSTMczyPynICTwwRbWgHFiKarmAzLACPjw==', date: 'Wed, 06 Mar 2024 23:14:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLrxTKRllNpInZDKT-p9v1CWtaIUrR5rc2OBrQBStn1Fv3jzQGF4L83fUjpKQ"; e_clientaddr="AcKFogYHDFlMDhOdn_WE5C8Ek2D9uIjGankpEOiePguF3SKyhlM1qr7GyknTqUkTbj3FNOBobhjpIhumZgkJoEJ4GfbT7x7uiAtI3HOrOCzaPji2Zw"; e_fb_vipport="AcJ1Drum_HcTCHv9uD425zB1edQT4NjdMzP9K9_pDKPJJ1jVaLejlLpY581k"; e_upip="AcJd65DwCsQOkCKKviaRIuajjGh219_zalSiFKZh8Wdtc2JP1-izjtLD_aeJUO9travCaOYpsaTe7GvCtySRNJS5FOsqJF-ouI4"; e_fb_requestsequencenumber="AcKViSJbxlqwLlgcEHfhhfazGkySF9cAVkZCbEE7j0Fo2gg3haZLKN_y_Hhb"; e_fb_hostheader="AcLWG9pXSNkSUjuGxEzfdR6O6EDtXCCA20N5YOZF7VJyrF1MUV-RzfcvGHWDwQgYKcpI0PywZ7lRmfi0"; e_fb_vipaddr="AcJeJSF-2i-qpVrCieLNi80WnQ16GA-5qXVoufKnscKgb4O3IlIvt9Uvp0e2BpOq6SNASHYaH9bWOweLahPythd0CWPEhkTVFw"; e_fb_requesthandler="AcLF5RdN25KOAXG8HQsMXtz6uiT2SK_zQAHHJ1JgFOZoxlNtsGkUrlTmZwrJsFB8WPRs6Lwetyc"; e_fb_requesttime="AcKNhJ1FpFYoaLac-Gj8Q2jEVM1HrYCwGTtGm-ys_oNqJyR71oBJ2_Vg1bJE3a3wMmIrvBjjzw"; e_fb_builduser="AcJbglcfJc48Tew-No1p7rIdpxqjyqWuV7e3fBJmIbua2lM_qfenpIjJAANSWkgvjCo"; e_fb_httpversion="AcIiryLPZKGi9OiiVTno4iVhXUt9OuyNTJlXg1__oyJEHwXuAGMFYyr5R-R_"; e_fb_binaryversion="AcKFLd7dL5TkWc4vG0JTk6XtoFxXT7rl_gXNbZ1_nnLGQ-_P3RvhYSt9t6HzX-vdZ3xRzNo_YYAcyQIQYcOiw1aQCVP6dlXKT8E"; e_proxy="AcKzBpL4DKbbxSHwffi-Yt0R4oAHNHaIocwvN9kIn69hs68l7SL1MUaNA58ALbkrAEkIKWBm5yAgZXkMVVTC", http_request_error; e_fb_configversion="AcJ3HUoBuzjdF4qiodliGduL37a_epm9Ys6XjLj1xiu031SQxI9JylSsTG62fg"; e_clientaddr="AcLBwzBZGVgqa2KMBPX9A9fXn-oZsENt1jbfkULFIzCrExc-wSgJqoyCZVPnrKlu4cIyN3NEFtNzNd4TAA"; e_fb_vipport="AcJ__2xteNX8Y-8dptMDHCVL4EDt3FOu7wvWgxP_Fg4rRo5ESgM6x_W23qyk"; e_upip="AcIUJ2wJqE9KT29wdDJPI-ORY4XUgrSQRHZt7sGt7ENbHIMJHmUkBEDUA51lhtQ4TH9MhpEWNncQEqdZYmC5q0G3v3QUWGgiQA"; e_fb_requestsequencenumber="AcJX1myWIKAAnvYqbEajRdApFx9Y1WWJA21qqBi7FPD7UtW72N98ZYmS-Q"; e_fb_hostheader="AcInaK5D8NBgZm9TlFNl6ZP55LldntQPVTOmo_r7_nHcL5R71BFHMEuhytI0cg3jLbZbei_gn4cn5SZI"; e_fb_vipaddr="AcIIa9T6dtLyvuS8HYdVJ8i7XMP_qE0JDJ5D6XRR_V8yNsRRieOch8Rw4YpY5kt1XoxvDFA"; e_fb_requesthandler="AcIDotONOXU7ONpCu4uB5wAcM0S4GzWYHfKy-FGKJpzHQn94P0g149md_oMAUyZcBXg6Z0xn7HY"; e_fb_requesttime="AcLxQkAub_8L8ixncn5CjK69Yql1sRTG7PqTdQO5GXL941QpLbv650eRMSc2CuRmlUjjnZ-khg"; e_fb_builduser="AcL8HGpXnD_ko17Xu8tWI0Mb9wlC73gue2gyNS8rzbWA8pqvynv7x_0hJcW4tayIuXM"; e_fb_httpversion="AcIq3yVWdPP3GwulUqEgTfnCsZSUlYyDEslOVIj2GaffADMM3vgFN3zSKCnj"; e_fb_binaryversion="AcLy5rk2J1mUHLC1tAC3eB7bkvxQOJ32gtIPKVXbs9qGZpJ1-ehvu0ZlD_0kidnMIAzFGS-6DEkoZK65inlmUEoibWvqhwwfgLc"; e_proxy="AcLULa3ZQMYTLKnejzC_GWOip9GsEIr40lbrZrjsicRG2Yh97GKDb1IErOkJ2N2tQnIUg24I1Rv2sZU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7300150493411990"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 23:14:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/06/2024 23:14:00: Error on send one message facebookId => 7300150493411990 03/06/2024 23:14:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Af7TnPiJ_Wc_CMgsHCJm0Pk" } } 03/06/2024 23:14:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 23:14:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7300150493411990"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9508990, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8sFh8_X0c56fMIg31CRBsg', 'x-fb-trace-id': 'H0Iuqh59KlK', 'x-fb-rev': '1011880717', 'x-fb-debug': 'JMIaomAEtDFP3CP4M1M3aOTl8WOsGuIhNSKbe3SzMX50o0doxwwiOr9vAZ/KwvI+NW1N5jcGSP8qe0ZXCCFJbw==', date: 'Wed, 06 Mar 2024 23:14:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJl1-HTjvqAtdlNvTRo4anzYsNbUVIg3Btoe5-ZoYvbiMksT8kVeVpw7dGH_A"; e_clientaddr="AcJJbg7_QE9zOs9YzOAvms7lm9lCpZ5fYWhQsWuF83ET_pt_lCCtePShtdUGLdknWR4xMXpSQBwVnApsVK1bQEX_xt-2BAL9s5cOVZ1cD4KU-Em4Ew"; e_fb_vipport="AcIkhGhHahVBbLBRocS_9Si7NJ-JGtNdkMqoY0iXxKZqhJFJXK5eXtUmHbbM"; e_upip="AcKMta15513x2idOalNAVuPPOu8fJR7ta4KPemVFmpMByCnYaS3zZM9tgC2iNNs-WB1QLojWsFewC7VtET6g_WtJJT4Y5rKBWQ"; e_fb_requestsequencenumber="AcLTMKn1Y0wEpomtzf1kndv-3Mw4taDxTGL4hwCMNE4o_YRI7A95b5lK14m-Pg"; e_fb_hostheader="AcIOhclGI0tXQk2t3icDQ0jdcFcFpKzmKC3MWEb_GipmzC3juKyYsdPYNOg2bSP-8iIiPxNaMUsdFfuz"; e_fb_vipaddr="AcL832ZZb41ZkQqu_cwXlrr2L3APMsE4UVMp1604jfDo024XHvbzQLmGzBkuDpGYF-vxfz9o-Suyq5oUSqau86plSQB8KyXNSg"; e_fb_requesthandler="AcLV2DploOqTkvA0ItbicEmwJn7gLhuYZ6EAO1yK_DswMS3-Nc5cbFtNrHf9Vq0R6fTPw2oLOVA"; e_fb_requesttime="AcJVL_UUFH9mvwzb8lXK51QZtWqma8gYwwod7wGoE3-CQR5q44dQFSq3aG973qaHEr6f8vY18Q"; e_fb_builduser="AcIrQaRqIK-htwHyZLuDXQSYXCOqB_zPgNDEqKgMyEAM_wL6a9yQJD2BLWVlRD8sUMs"; e_fb_httpversion="AcJGw6IRUyR6_HSfeKhoW2IBbtxMevCWYN4IDpDYsRz8V4THDh4mB7LgD5vh"; e_fb_binaryversion="AcILa1C7vo9Jvq5BixWCjK2mfI8dts0AG44drW-Yc2Fz3Lxq-wf3kIwWXviAQtfG2QWM05G-RcfRPTDtbhb-MPg9TjvSMgF1DjM"; e_proxy="AcJ3DoUfulJjG-kfXodzkDtpHzBY6l2dC-8daQq4WB-f5_K5pi0mOmVAnPrPHgSorMvPb4oxJdZF7xDV7DM", http_request_error; e_fb_configversion="AcJQovQyk2SGewYy76tMbOjySBvqFTn39LHwMSoybFsALZMJpPwjCHnyPFSwrQ"; e_clientaddr="AcJOimOsYFg3SQ4Rwx5l_9g4f_2Y3qHE8R7PvFYvmlAPCIMRb39xKdcIymsVEmsepT_2ceNEcAtfImEb-Q"; e_fb_vipport="AcLPiv-PmYHM15t1dEke_Lvzt09VXqjJQoMqU0dk0hoOgQkkCO4NEDPlkCCu"; e_upip="AcIGXdClSyo3OFMAZ3r_7ZBzHRdTfFTjHsvz7UGgDI73N5xWDgGtDQODbjPIU643QaqshJMTtM8Ctqb_Ito3PiSXZwiANbUydg"; e_fb_requestsequencenumber="AcKs6ntfr_Nt1pH8ALRBmVFGRS0yu9EpbbP6vsb1gIM8OZRb0MnQNEXF5A"; e_fb_hostheader="AcJ5ySwEQ3iObK2_tnclS4OgUWUeiX69s5A50chID34z5fmsFAT48yDYqkqL_wk72uA5qhS7yKZj6iOH"; e_fb_vipaddr="AcL4LTNGNX3YVcc_wSfXFYQ4o-u277acIXfXyG0TPd8-sn6E0F1_RpNpkUiCAw6GLrLGMGY"; e_fb_requesthandler="AcIhbmwJwwrG8iLKEbHbd_GBv4IIP1rKjAljawv8GuyCKjgEBk_Ja8DwRlkGHhpJnBuLS7DR6nY"; e_fb_requesttime="AcL-6AMbyOzH4WS5cGNE17Wn_hg44wYea-MtH3oPtawskP5I73jxgPUaqAFGD1FL8sT6R3Xx1w"; e_fb_builduser="AcKrpMd0-Av7Jy3OhJo3K_TYGP1i9pJfMUaIsRzjOFE9rdsTkTYkgObphWvZNbUURqA"; e_fb_httpversion="AcI3bVAaPipu5gL897SubR-vD8YKPFhVlK8SVgHiEr1LcR4LdcO_9qb2muYr"; e_fb_binaryversion="AcLMxRd0JIuHjRzaYHxHKEvsF2TLFEIoFkf54JRjN0O2Lc5emO-GOTiqk6L5d-f1LJbqBUnp-mOsTC9u9g4NUGaPydz7HsvnBH0"; e_proxy="AcIZ7iqtjYROdB3YPRah0vIZHxHBwr_kaHsfbkqLhNHzkC7V9mcJgY39YM26xilc3ra9Znp9xwBy0gs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7300150493411990"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 23:14:03: Error on send one message facebookId => 7300150493411990 03/06/2024 23:14:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2fym1k6iJ0sUyrrXiQrPYQ" } } 03/06/2024 23:14:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/06/2024 23:14:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/06/2024 23:14:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7300150493411990"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9509129, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJA4obxZMdYycqqWA6CNVmT', 'x-fb-trace-id': 'DHXOYRXrjjl', 'x-fb-rev': '1011880717', 'x-fb-debug': 'YJCcHe9UfQ7GGoxdBm0XZCgXSieCY8+CMxiAiFT0Di4hWQnVfiy4h/dhludIwVZXLeOsLJGj1UFgzU3+6RAvUw==', date: 'Wed, 06 Mar 2024 23:14:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLD-8EfUoqVZBVSDsz9uXgAao5sq7IMhqQ2ddkFqS2s9YuHzyQozhcs8jppSA"; e_clientaddr="AcLvAkTCPhxLyr6DoF4wg2rxnKfQ5jVKaV07FpRbOmuJoZMKrJ0tr0DGO0ks0RRXnt2I4GAsrFmt23jpGNAi2EmB41LdIecZT5nC_g_XuRE2CkNn"; e_fb_vipport="AcKmobgKHW_Zzr4r3S66wBn5W_54KCNZzpPFERNDx_X1-hu130PkV-1p8IVy"; e_upip="AcLeHdf4cLyhtkJD7mtxh0A4r3Vh3cyse5rNqh5FsF5-i1GayvCtz3t8pkdItN9g8Aj31d2e-3dkUZDAkNHADo3bc9LV_2G86Es"; e_fb_requestsequencenumber="AcIBcv1C_TobFZrc9vOk1tguDIYAfYrmr9WG4VrilgvoJzG0YtwvpJLnaoi6Bg"; e_fb_hostheader="AcLsF4S6mLsRowkgIDSz32651EZ1Xc7h0M_7nzdPdaiHc9HJ4Rvyx0D2JuvE3ew0ysL5w4TI5dE6DlGQ"; e_fb_vipaddr="AcJj_JOVK7FmLctJrrnCyubsQR9zKgwQnevdXwN3ePhgHmLrPI3ZGgrwOI0HuO7C3f0QqC4pc4DP0AHCrDHfznEkawMOXvFf4A"; e_fb_requesthandler="AcLwK82uhWIlWxbPYgs4kBC83ynXjyxHHT-g2CaZmaX9dzM50J1Y3aHHOFhS91DdqTiuX5uh9ds"; e_fb_requesttime="AcLCoXUC--1CQ_GhdaAkMx88VHJAbZf6OnvUvq5XV4ekpaBq6xYQeMX-nbMpL9Kgp4BGajxPqw"; e_fb_builduser="AcJ_8IHWPcrdGxWBUh4Us3Aa3lReLi84kSPZDjhqRxX-GgPvXXNo-KfKiILuPuqbT8Q"; e_fb_httpversion="AcJ8hn_XPK_oRhKE1Ui7VoBZRQTqxX0_EMvgVZ1TAWZVbPgFvw4rRJTdEaC2"; e_fb_binaryversion="AcLWzH_gTO2P8aaxmix0OmIxRhDw9bPDJULmWaax0MwrA1t-YHQwMsaG_SkYEdQUvizfuM7BtUEnNeS_DePpdNxnTVAE4w_SKCA"; e_proxy="AcLoR0shpY_SRqBt2_3WaAW823N0A3D8wypRmu5lRYa5aCIdSqatSxogXHiPPNTqncNIXfnVLcSJzkwzJqSz", http_request_error; e_fb_configversion="AcLxOSvzaLDkb_MUA0FUKRUGxO3rcKkheBUVs0pWaZns1YCpPIC049vZHsfd5w"; e_clientaddr="AcK-k76K4mlz-DS4EkXEXp1HySAK3Ew6T8mbH9IcIrzYwk6JKaaVmbQF-ZOo9F2khN6823mk9ayizxzTjw"; e_fb_vipport="AcLyvIvSnYH88s8bVTV0TO9-uyc7eW9qe65ne4evcxbeMSv79yHc3B9FHzwM"; e_upip="AcJOKirnAFAx86fSMh1oS_WwZd9C_QgNqR_w84GlPMbGy0Wz8oQUgLSafWYRSPbKvsX3g73pVoYkZ47ELmx96T5gCkqT_dWIqw"; e_fb_requestsequencenumber="AcIcBuz54quqohccq0CI3lMDhbev_HZI8PM9m3g9_6xuNTfQoI8xbAOpxA"; e_fb_hostheader="AcLgi1U03gWWjCntlk7ApfiUcEqO0pptcCWZ3fY4yLGnGS0nfnshoxVlJ-tJom6KXwn9qvDNkWlYcewK"; e_fb_vipaddr="AcKkANsgWmSRF0hsWVdIoCDrFOCewQjbuDuYvAbKvUrZd7trXJcUlnOCjuKlScI05w8e_-8"; e_fb_requesthandler="AcJfczjUdMLEBNFE0q3I6j7lQ96W6BTBTn_SVW8KaDMD994AkL42OdE2xwzt0ulGS9V49tyQG34"; e_fb_requesttime="AcLsr2Fr0qoIxHJ_uVL4S0rkHPxyvQZ9JvrCbtB3S1aP6r-U8X3kkF6egdkA5ex7_4cZkjSy8w"; e_fb_builduser="AcIkkhiVScMXb8mq8eiDrKFlkEeXMIlICO5n7Qej-_C8vCsCnykaP60tQ1NjkB55Rls"; e_fb_httpversion="AcLcHHPjBT7e1Ov8rvJl48zaZYOgLVZl3Y3rGJsgf13cn8xrpOUZ6mdrDkA-"; e_fb_binaryversion="AcJTUaHuy6NNTQE48M2vV6JKc-XEx_LrFbX7ROW4WmVYT1FNmnRhb2RIIdUKf61Gqxs4DW2n9YmxotozJ9mV14E-dDO8EezEC_o"; e_proxy="AcIyp_Vs_gQEQkCQ86k7Nhf4apUye6OTQ8v0q9pQ7nVEaMngvkxpZnj08Z05VHzQjRMcTCycS7YD8M8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7300150493411990"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/06/2024 23:55:10: Request bot not found: { id: '144313565649530' } 03/07/2024 00:49:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 00:49:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 00:49:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 02:13:36: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24969392482705792?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9546518, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24969392482705792?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24969392482705792?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24969392482705792?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24969392482705792?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJcZ44DVaOX8BCFIZ3Ocb9d', 'x-fb-trace-id': 'DCf4cx6IgYw', 'x-fb-rev': '1011880717', 'x-fb-debug': 'BEN8+emQiRyILyX0Z4Rs3r2M2csNaaqkuRm01Rn6NZIaJPFWaN34/TKbl5l56ZhHDvYPtvAGirGoD+Uz6niGCQ==', date: 'Thu, 07 Mar 2024 02:13:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKmd8iZbzxZJh4Q5s6bRG6HnWW9tdgZ5UKbfC7ZxSBgxpYR7-uV7EliKfI6dw"; e_clientaddr="AcJGL4flx8AW5SdM4DTAl-jzcWk85OF1APzTWR7geo457MDZAOa4atNvQusNBqxFM1otguvSXVjf5YVgdbfK1FqT-7r4Xhyz45HZ4JpKK-51_M-KWg"; e_fb_vipport="AcJCPucDAjVI1shvrQVzmuFaboNVa0VBw2Dmc0DoxXKJN_e2QQzWLI38HSld"; e_upip="AcLshKz3zCF9Rm_aIA-HnkTbgps3VJpbVEX9shVXcDhIEO6j501Jt79219dGKQkdwm_LHLrLuvrEE_9VDdVVhM9YLM5wYQuzLA"; e_fb_requestsequencenumber="AcIpvcqcxdaU95Nx0VySDK4hACHumqgYh4sD978zd63SkwlIzX1FwBDebF-5Lg"; e_fb_hostheader="AcKgGqAt1QryudUorPjWzY1pOMYgZvCBloGIPMIOfD2mUBBr5-4dVyUwA9Wj-V3eX-dj4sW0AiGzl8m-"; e_fb_vipaddr="AcILE6UcJFm1tmXPVvUokZ_rnrUVoFgAyc8XnF3sD28fvkb3YGL9zRSPt8orcuuFuRwmJeJW1vxlUspZbr8tEMgy3pnUSyZTDA"; e_fb_requesthandler="AcKeysDtxHQ_3fjFG7OF1CdxppD9S_GjdY8W17sKoE0dionxAx-ACpGhA3tkG2wiSoQPxuJ0pLk"; e_fb_requesttime="AcLnSZ-o830HjOqcvMEhHu2rJ_UVwmTZlB10RWjz3d2LcqeNtXSm_ylcm9GtZVYOPvXqzMi3wg"; e_fb_builduser="AcKEZm2n6j9HwcAq3U-SHtBlMoGUTXeAzaEklSjkdbtg8bJ1TbQAcv-pYnJRgpXYU0Q"; e_fb_httpversion="AcJ1nkRvzxWieDnIyYso91tbzU-Uib-ih_P4-aQ6MBSQHW3rQ1AuMwodk_3t"; e_fb_binaryversion="AcJRa3apkx9JbBv4PkZ_39EAdJJadmAMOywZVCyvUy3b9sXxoXKa2UoEqY3HmtHmydpQeTl3vpbtVp1t27RclEfvynIqx4BcgLo"; e_proxy="AcLtLNJdgexaEc5ajyjPuOYZQSXr9Am91n3v5QpJTIq-NuZ4xOxseyYCWzH1upsL9BqkvXLahwwvd1BEl2k", http_request_error; e_fb_configversion="AcJyChk6saCGFe_g0ThCM6J_W5t5E20728GQlAmilORsfpnGI8DGODWeIaVm2A"; e_clientaddr="AcKS17JCz3Jb_DLAPhUKBj6-U6rT9btHqUqO7aZU7snD68RVVF08rziHvKCZKimsHCl5RbQ4ReziRTn3Qw"; e_fb_vipport="AcL7D2_tR-yZnWFsR72-CPbzY48BfM8JxFmHwjlh2j8APp8wLTg1pSM3Ne6n"; e_upip="AcJ5Phn_9gCuuZY9Sg9m6oJGe2b6ZfqTurQq9Aeg56RtLmPZNloZNs5icnCkCo-l9M1hf_iMPG-xvLsW4XoS8E0Z7KNnYjs77g"; e_fb_requestsequencenumber="AcKokgJ5kDuwB8MG1TcmDrDT3IGWThJe8sX0fotJrlCZnpEkxLD6xoHI2g"; e_fb_hostheader="AcLkgDE5D1eUbcgrk-XsjZWaSBVWYb2jP2Wt9UABYxHr1aEfh31IW04D8Ec08rMUA47CuNs9cKTtosKZ"; e_fb_vipaddr="AcLhv26DlqfQa1LhjCLOURwWwg2gCqyVOt2VBmLtSFJVJrXIQzNDDiCQBHV25r8owrrEMDhgNg"; e_fb_requesthandler="AcJtjEXQ4mmSPd8Bib1-w1aq7RMmEpNCL8l0wpcZFH7iN9tv26W6539D4XyvxieUc1GgZJObj14"; e_fb_requesttime="AcJx6T7wqpbJaKBJoHpqzGmeeDghTN07dtM3eSNZUZR44C71w5Gdpwd3MojaVMn8LYL2n4dglA"; e_fb_builduser="AcJZpFr_Y9yC8e3Bcip16o_OTem5tMxmJPq2rbQaLfHWG_YSqDCFUy35yu3OOQINLrs"; e_fb_httpversion="AcLd4_zAWGrehQ-g81fs9eNUHrD5HKiF9tLSBpZDh9G5rIY9S0vZiCQy4srU"; e_fb_binaryversion="AcIMF5jI1PDZkFT2WS64LJufElCxyOgnEpD2i2QB4_0ihuWD6rVkZS3tmNmQCtYuOQIxgXgMAP5V6_BHn2lwAWbrU74z5OA-Gos"; e_proxy="AcIEDAHlaVjk9C-brBTpDVIrdlpl4v3bNqxauS7ozseY_nBRGS3jdh6hdgOxozJ2ABfWp3m7r17l4P8"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24969392482705792?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24969392482705792?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24969392482705792?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 02:13:36: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/07/2024 02:13:36: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/07/2024 02:13:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24969392482705792"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9546636, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2JOJoBbXph4_0prxtRMqTo', 'x-fb-trace-id': 'HvHqAMGrNpV', 'x-fb-rev': '1011880717', 'x-fb-debug': 'ETh+MGBumaOadEde+lPFPKc4UgMIi37gOf+9IZ6211JJoZDCunsOVC+Qd3qRzVwskSSR8PDvB9x7m8UjbOBd9g==', date: 'Thu, 07 Mar 2024 02:13:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKpp5Xdjuq6QyahQqi48VFJTDRw9fHPtPdu7oHSOcjZf9vPjcmuPBZrlMmo2A"; e_clientaddr="AcK_xjcgQVUyjUGnlKCP1Sgu3P5eIw1gKW7dp_nlnmSQ-s5jLYyplWksaVSAsx1znVdP8hjFeXy5BkG-RWwXWrxMfwM0sA4epWT7wNcjBch4uK7QXQ"; e_fb_vipport="AcIIzW-IBXH6FOuXhgCqnjLNtA7lCufq9jVAAo2trXP-ikJ7OckWVOte3fbu"; e_upip="AcIKcWGQWVb1q0FceywNlftCF9xkmQdJIKfG9WxS-V7gIBV4G0VBllwzFrrzRYTwwSRLkzRuBVafRqxNMs564WCk6wfajktYq-k"; e_fb_requestsequencenumber="AcIJJd9kV7rkR_iy-YsmkczojU0ODrcAHwCsWK8KLtNDU3vDuFHUPbhGtJQOHA"; e_fb_hostheader="AcKZs-LcVyLZE-CRq-Z6_-UxUxsBbZaF_fSF_It2yWEv91Xymf_32Lu7z2HiJd0Tp7vi-4A-Jwa547Be"; e_fb_vipaddr="AcKx7Njz2T6DqLTqMoASWMf7WTB6EizMfYZy4ZsqX-d9s_Pih14av1kwiBGS1kqNhzPvLkyeK8cpvEisi58lbyZAodstzFv9dw"; e_fb_requesthandler="AcKwgff7JEXgf4clKOt9n_RDN48E5XDz6V-EZIsD0DA8VzX_-0SqtR4vzJDh5m2uIr8kVJ7hjDc"; e_fb_requesttime="AcJESdPkvOp4SAf39L_w55EpT22c99M1kdnrEIY8Rx9SgGSYDO7DOhQfZ-b0xrSb4sNxhRMyNQ"; e_fb_builduser="AcIO1QtP3D0WcMqL3rOkL1a-O9cnQXmuZtJpw-vNNtiSQ428zGDQ2oO5ypbXqyquAX4"; e_fb_httpversion="AcKrj2Y0Cw_wI3LmrSSYHsw85U-iyFszWfzF0XYxYH93q73I_aV-Hc_4JfqD"; e_fb_binaryversion="AcKph5FyuXIP-spPWTwdxmZ6dwoX8_rPyJBP48uiA8W17-cnUcP37ZMjNuvKUb3_KNXVnFRm6xb-5EzN-XaxP1gPAACWzpUDUaI"; e_proxy="AcKLUI5-9QIkMLTvsa7N7qE-_pfpiQbFLX2RLc691Z1mgXesNsfqsCtApYcRSCxy_jWpMzl6aIM95sPwM-lG", http_request_error; e_fb_configversion="AcKlBFpBFhi7A31HCQTNoPuiazLjZK-gVwdJHAaI2iqjFci5q69FmbF6lUzx2w"; e_clientaddr="AcK0ZzHPSAXK8NOErC33rNWru6j3gpDFSA7DFPZMPrJsyHcfMICM2T_fzqoQjQFd0AeLyz2zRDIope0C8A"; e_fb_vipport="AcIOmX-CJHGrHgeJe1SVh5s8UKV6imL1F0qLsA4HGyrJwiyUFaOu_MRapGV7"; e_upip="AcI5YCDei1mwjc0iaUEN8MaRT1rQFFsDMd38J1TsWDEiFXUq3UP1TIppn8TfFWx1MSk4BVGhiQvdpprT8W4FrOFHP8WyCGg6Ag"; e_fb_requestsequencenumber="AcJYdh2QW93f_YkADJrzsJb1eiNVRg5LwIVK0IJGK2KNo8pUszvFMXJkgg"; e_fb_hostheader="AcJ3_MHvwxGYs9HAvjdPhrCiNlCBWga3uM-Qs6VVJHmiRnSqBVmbg9y8PwiEmzHmpKtrbYgkFDGHTxxX"; e_fb_vipaddr="AcJ6kXRaqq00R8n5WtHAN8rkkocupvoK3GBuLS4z8BPDTiZq0BMhS82uIyerJ9Znc3zUaHCW2Q"; e_fb_requesthandler="AcIFgs5Tr2zdeEN-JDi88gg_6Xz1nhTj0sog63oOkS7IfEoyzn0gikcOd2R_2RXuTPhSsz0FRD0"; e_fb_requesttime="AcIde71TP55rwhZxp26O6byIO3ZDeBMSrXeu2_4vdiDhs56pClU-e5DXCZZdelNLgeKuZdgQzw"; e_fb_builduser="AcKwd_mrSGAJOAY5yeaqN_6pfMasx7EHD2IdJsWmS0f36gM8TrcyWpgQDtAwnVQAgso"; e_fb_httpversion="AcK-WEjadaBGqzQ69PWu4ug54jwizOeo9Q-a1lg5G42a0D3LPmahN5rBLY2G"; e_fb_binaryversion="AcIfHnGPClh8GVZUrJtJKGsZCezVZG4MSVbg5bLcaC9LD5awnklJ1vF_8e1dqc35n5FyF1D6qNmxLm0TK04iR_TdBxkSRpkUNgM"; e_proxy="AcLNwIMDwKsm2nvueZOQnC9AV05OblRMFf5qYNqQ1L6Gjxc6T0OBmga9yc_bfDPicIRlFYodggcsAsc"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24969392482705792"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 02:13:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/07/2024 02:13:39: Error on send one message facebookId => 24969392482705792 03/07/2024 02:13:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AM_oveGrs89uZpGEB48pYfV" } } 03/07/2024 02:13:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/07/2024 02:13:41: Error on send one message facebookId => 24969392482705792 03/07/2024 02:13:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApBpIoJwBFtHvykDqWUfP_U" } } 03/07/2024 02:13:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24969392482705792"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9546726, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AU7Ci8OJowZRIpmFNPengpw', 'x-fb-trace-id': 'BgVuwWbv25q', 'x-fb-rev': '1011880717', 'x-fb-debug': 'PSKCa5CrMemvW9yk22UiuEkNMtwKeeJ/K5v7Xk4Gce2I4fFvzU8zOKxzMj54Rl14znGzWnWlI8P+3tn8oWZaGA==', date: 'Thu, 07 Mar 2024 02:13:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKXV7b3fAwOtQJ8JeUhIxkAV41s0utBgEtuMoeCD7iQW0xulH4k1c2T9aqw5A"; e_clientaddr="AcJPAkSrYl4cjKorlFsQSqjDZHafsUwrvDFoDwUFjGn9NywA36MPfpWcpSsuPgXfGmfZ8aufPltOJGRuFZINiWM2Ux6crfRSCNwkzT-aMKwP4prlcg"; e_fb_vipport="AcK683XbQOo8HLKp9EXtCcoBbt1uFj3GdmUAu9HjjeW50ooz4R2Jf10q4pnS"; e_upip="AcIYvf-HGRor2MLQSoCq_5p8HrnPXPSIn7ppd89qa8Q64shNBXqjvRYutIkSlze9Kru9ASQr96V-NDrWL6pnrtmr4VdufRAm9rI"; e_fb_requestsequencenumber="AcIpo8PrpwPj8Zp7fKXe1XF88I2hQrB1eHhKBGnmpEKVM0TAVPMAO3NVfJTO"; e_fb_hostheader="AcLa1xfqigzV9y8mDAT-1O8YpwoFC-vAvbc1QeqMWYBISc25ox-hR9bEdd9c-4jaMrt78S41KkvVCKta"; e_fb_vipaddr="AcIiTvquPnpmwnI_Ai-_lQjPblz5RlbWWR0SZYEOwf41FWY-blIlJPb-Tt8gaCeSFN7dTbZ1gDbODUb1YNdX_B5SIzssH1D6gA"; e_fb_requesthandler="AcIMv2GFXU0LHVZaoGFuq9P9Trb-C2_swUSgNAo7NHO1ZXQkKkMSVn2ofSBjRgjB9UOtMAq5HR8"; e_fb_requesttime="AcJcC0tANdiJb94dJ-f-eWttaqd4NM5FM8SMvkVIJwqXXGVAUvXkoMWULWB1uELP73FoM8QPgg"; e_fb_builduser="AcK0t_v7_v47Z6mXD6OJJ_7cZ4ja_w2nsA8J_9a0X2aRyUj3Vy2ZMLlimLTN-juEodA"; e_fb_httpversion="AcL0QSV4kQClKOUAf3ln171TgqCJBPstyL-9jZfM4M5w_l-6a6lS2Xkt6V42"; e_fb_binaryversion="AcI0gd7m6z1q0IIXPZxJH2Z48aQC8Xvgzoou8tvXFc3KC4eq49xB-asYtZnDVQz5RAd0Dj8RKa0XYQYe0bOmOqZkpEkPIU_LWng"; e_proxy="AcIzwWORIsw2hZSDLAhhOwHDHRZeA37by0ueFTGUJYjkLh1U1Y-gXMSRJRjRBwRmnG2M960FGBU8YSeD051Y", http_request_error; e_fb_configversion="AcJuV2GMa7_PbnK4WZ1ZZF-2yvFgPR21IJgiYDBNipwDKkXCptb4TqkKL9K0Jg"; e_clientaddr="AcLrpBzkj0JzRt9DTytmqipSxvm8H46mb9MXIdDBRfAE0910eaxOERA2_L9ZFQrSw7aYAMd1EHaID25FWQ"; e_fb_vipport="AcKuBGXi3AZ5iSMXuketi-QLWNa9nFxAjWiaMuyq4gw6oL68Q9Cr08QjasEa"; e_upip="AcLbxiQ6SXTgClmDDjEOXY2BUl8lM_ITm6bri35Cyzy4E41j6KaoUZCfhJJ4oeg8KY-EKFPOPar__EK67GDCdxM9BFWaYP7AMw"; e_fb_requestsequencenumber="AcLGV0HzRKGK_TMeEAjO3Pqvy4wBt47oPM9mejjEiHW-dRSVRCbU2iEj1w"; e_fb_hostheader="AcIO9Kq90O77SNL_TkLG0WMTxYdfg7pcVc7sT5wH1ZADjLuHjjMwGay4Eq9tfFM7A5vqRL5k5lwBeBkZ"; e_fb_vipaddr="AcKHni00TMsfMXJSy7EK5i8NuXXW4stPFkXO3MFVeTp4ZUAjItFMA4clHSUkhWKovmZ1p8TxfA"; e_fb_requesthandler="AcLHlU5nUy0HaOoQj7-LmI-ysf_33YV_WxVjvbL_baKwYpMMpTQM5eFFsEMaezJOIhMeArU7lsY"; e_fb_requesttime="AcIbLuWkDnIyLz6Pmqfs_4Et1FsMR1RpCpsuBPRcQXdAxd3IuIezgHDy2CmMCNR7M2wKt4Va4g"; e_fb_builduser="AcI8RjePNPP_CTIXe9XCT-hW2iHAJqYI7eL9keSzueccyY1U6L08MSFu-POwnE-cNGE"; e_fb_httpversion="AcICwr65cETy2_ZceDhmhFTWvf5Y53Uzml_EpQpr8uj7tljky9mYEiopiIUK"; e_fb_binaryversion="AcL-hzhpyJSDVI-qgZX93kmyW6UtV_XNX_q_6DVJsZ6sTDTC7OYpXcezWR8d4PxqYB2xM7KN0IbzBz-S1bf56MAwNNhHcAOyILM"; e_proxy="AcLPBAA-0oOqdZuAHliLH4dWgblTleMHX3DL4YG63IL3HNvIBrmX7WO1j2tVL-snR7bdwGWdgx5h2eg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24969392482705792"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 02:13:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/07/2024 02:13:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 02:13:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24969392482705792"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9546865, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ABVt_WZpNVv9BDPOyBMy7u2', 'x-fb-trace-id': 'AF8frYzrujI', 'x-fb-rev': '1011880717', 'x-fb-debug': 'XJGlkP30069rFChRE03GvLQFmQsG6n7wmZNWPenQSBiWYLTFrNQLFktHCZLX7EbnAYkWfdPqo2PqjymuOcwA6Q==', date: 'Thu, 07 Mar 2024 02:13:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLfvkDYIW8wE-18j9j6fkeISOwKNHf84FKVGzq1hIm9jW0_vruU7lbTknrnLw"; e_clientaddr="AcIgkG5Bq8KJKOtG7p6J9fhmEW8TsUxRKGNaQPNlXlDD3MmCspOLvQGBBrQHHtv694AEBZ3pvhaic7exSZ0TQDXkEyWbyLoqV9ZgwU-g1OVj5JHuqg"; e_fb_vipport="AcL86nARweT2n3p1QRFMUdQeiX2Cj4Ftp2mmX8n7_29gv3-L7aNMKk3-szlS"; e_upip="AcKAvHiqoYIakCN_vET_unU5Ifcvu79T-JoM5lOHerLC0g82GLyO-FtXqlicpX8BxAy4OZPAZnaYQ0cflAEqLTC8c1HTz0fqD04"; e_fb_requestsequencenumber="AcI5TWOYI99Sv_JOyRdK4ikRARtS71UUAZsFGNi8c7nEItozQaHxrT2abi53ZA"; e_fb_hostheader="AcJMzkk4xTL-2aDIMaJKEW6uSFWd5tQMWnLOweNx-HWOQAZV-EquE1pLS7rLugRnUpLgR1tDpD59T10N"; e_fb_vipaddr="AcLHbsGqCS9WtFTVO3nJxo1qRWw0zTEYSUD02w_p9ypSlSZj54bAEOhfTV0motn0N0kvUZR2pTXVwR9az7C7kKUijdANN26zRg"; e_fb_requesthandler="AcKTbPe8O3WD-UkIg9gLAG_5NXHs-3dYulMa4hgjEiag8reEBgQ7cYSmIo_zgCWn7Z0_erus_Pg"; e_fb_requesttime="AcJaDUB64GwVkDqBiKaUtDW5bgdIrTtkVudXCVbFSNt3LNJbBZnyWHS3pSMa_zjG82p6uUp92w"; e_fb_builduser="AcKWgWk4ABF06vQulpj4Z7fr_zStTpEKBnWzbNAahPOSHQx_Awn-DKEwvQiz0o38tEw"; e_fb_httpversion="AcLr1I1wDedl_0Ov8eXqKW3ZgLcS-UlKjhVlipoBIhd_TnXLwNYm-UL9z3C5"; e_fb_binaryversion="AcI2BdlTn0VvgVQIJiW4QHhEfdUWSNXgXGnTBuUUr1ZICoyF-O1BB-IRURiLho4923Exbk65Y1Bqe-ygOc5E8jx4MQ1JKHehxj0"; e_proxy="AcL_jVyZsKdwU7nddEI-AfqUMz3RnkTYSlwIjieizJqGOpYaVl3gj1cs4CBv4pMB8rKV0FNu1Sb1gqm_zk0m", http_request_error; e_fb_configversion="AcIitSpTvcskrjVRKCJuq_mDlh9s_N6JH3rSn024PFUUxqxOdC5QqG2tTKrbpw"; e_clientaddr="AcKyWcpC49vqoNLr142-8ceC-OpsZPOiaiIFcIB8I0d9X3vZbx5vLUObWh56MV6xvh3OrWITthYwElUkSQ"; e_fb_vipport="AcLmxfsqHd-oNCPf-RdQLFvqrkczOlO1Z5Rj2LnnMvEfUlpphVODSCxW0LK9"; e_upip="AcJ1NmaDxhvfuoeR6EIsE0_8kc31MjIBkb8ObVIUzE5bIBwJAVoNKzwn9xZl4rFB3f7WA2kUmDcjia5mGVkvFZeOTrqyWASXbg"; e_fb_requestsequencenumber="AcJYoMpuMy5NtKRHoccCt5iPo2yM3lN0UnBqnpBJt6pDz6NRPhBBA7Y8bA"; e_fb_hostheader="AcKxYlRSezIkmYCfJSP_sTu0wOp60gogKyCcmQesitd6o6hhq3G79VzOJ5LgciMaOJtrXczxG_DxjHBB"; e_fb_vipaddr="AcJC5vkXQ6LHed1iOT3V3-oaWzI-lqwcDievTGbEXoC_O3szwglEoDI3P8bm4AYmGhwOaLEw_Q"; e_fb_requesthandler="AcIoHpVGJ5WNcrWcwa5BIgqBQU8kvDm1S1JkQ_Bzq1Zct5ibJzr83IuOZq-qFwNQgytuGqnGuwg"; e_fb_requesttime="AcIse7VCRk28TToLsFY4Xdr8jNfvjSvfyP5CeCuM0z45NRqTw4iJX-nWoN8XwWM0F2dRKJF3Eg"; e_fb_builduser="AcLBqfNT4RCBPGVpyMkp4lMdXRFM9OPEVl7YdIoJ8wMJKQ6PaZ9f3Fnw8ICdjb-a1kQ"; e_fb_httpversion="AcJEMJKnOcCU_XDpsPOvwhHcYjWeKvDJf1NYiDLgFpIVuX0GCJemtzPnWRTh"; e_fb_binaryversion="AcInUBolhP1MDryBHNwLN2ubdd6ILK2-yLOO1M9rqYtLIQmtRj0exNPvwqVg3RI4UAN2pctWjaTnGkRozNAdGczcfUeukhPk_0c"; e_proxy="AcIBmtv7F7RjbrFaepKgquzjj8C7ELzMA42bSd1LmHadRPn1tZ_CVMI1v3ai_OcSM-WhzVvcTPyxeEI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24969392482705792"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 02:14:43: Error on send one message facebookId => 24969392482705792 03/07/2024 02:14:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJngQvFvnXLQT3UO8JHsLn_" } } 03/07/2024 02:14:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/07/2024 02:14:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/07/2024 02:14:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 12:09:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 12:09:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 12:09:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 12:10:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 13:38:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 14:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/07/2024 14:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/07/2024 14:11:59: Request bot not found: { id: '1591915494408146' } 03/07/2024 15:47:17: Request bot not found: { id: '138894166495332' } 03/07/2024 15:47:49: Request bot not found: { id: '138894166495332' } 03/07/2024 15:47:59: Request bot not found: { id: '138894166495332' } 03/07/2024 15:48:03: Request bot not found: { id: '138894166495332' } 03/07/2024 18:20:21: Request bot not found: { id: '215725838493727' } 03/07/2024 18:37:10: Request bot not found: { id: '1645747618995613' } 03/07/2024 21:21:03: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9761318, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 07 Mar 2024 21:21:08 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 03/07/2024 21:21:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/07/2024 21:21:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/07/2024 21:21:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9761420, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACSd3VYsiuoCBbKkKJWpouk', 'x-fb-trace-id': 'DruDU9p0XPa', 'x-fb-rev': '1011906882', 'x-fb-debug': 'AKnIuvDUWpA8c2lXRuyOindQs+aDpC7vPM1ivZcBBhhL8kk/q9tijSOCfBzciyE8nCMAFLT9YIDEeYghTibIwg==', date: 'Thu, 07 Mar 2024 21:21:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ7L3tgg-bwFm7faSUJv1LZcxk6aSKb_gINGSl3ZhZsW_poTmKltOR1wNt0ug"; e_clientaddr="AcI_p5mnWvIy8kURB3lLw2c8CTJIU6VbbJUDHXzyD6wPdhL67qUj84lee__iF6pqBUpIXfRYbwXBaP8lIT_x3IBW6lvWIWvhvcSiIMy3T0kyrkFWRw"; e_fb_vipport="AcKjOm2HNCkowileSWNuPkxx__ZZwrchMhytBB5aXfvqZpvDMhMReAaKTU4j"; e_upip="AcKyS5FR0-J1MFuhRXwi9VfHRwk0uiDSoAdm3avxDAJFa9RZJ_3bZecpdT_RP9vxQM-CSmEoZxHgqY3t-4mSsE3loX-xkbiq7A"; e_fb_requestsequencenumber="AcJn46HDs6mKATR7q8wJ0KBDJ8WzBQBYW6GQiqhHBGx4vxecYqyfuPIRgg1uWQ"; e_fb_hostheader="AcKHCVe_PohZo-b8QQ2i_jQOySvpBH_DRvpldsJpeCQWyEG91eQjh-y0yQDUllT3trtn5QBQMF5VScCF"; e_fb_vipaddr="AcItXlIH0Xvr9pfBDweqm8VzRtfVmoz3H5ekd6Ctvxt4GyBuVP5vNdMuXwIvkRs8ATmBT3Ndzs_Z79DvdwEs2lXP2ixTlPXcVg"; e_fb_requesthandler="AcKSzeNiuKiFGz8BtIdp5IlPg8ePY7XAXzZgbHWWXkH67ijJNUcDCZtDBP18iI9dZYlK7rpwG_g"; e_fb_requesttime="AcJF_lDqkTwwyBSkmo4qjloNl_oADmxYamvlVz-bdxjCSv-09cL8aVC7Tj5UuLmbDMPKx8JZGQ"; e_fb_builduser="AcIfh2GkKFs69jtFPQMv_LhsRy4-qfBrWfh6-Dmks4-WzmfHTTEPK9p32ZpN6gqsOxc"; e_fb_httpversion="AcJsgRTnhIrloeNsygqnEsv-3OelCrII-8bPiEbjh02cOfTwfCoXlJMHi8Mz"; e_fb_binaryversion="AcILHouRnzDt-aHKHhtkQTuyfb71W0twdKKAFfLmgTFRWxGIr2uFEDZhKgUAHpQ5-rZEN54_ALzVI8mtBWPTipujPFIy_r1QlBw"; e_proxy="AcLkSGMiHN94h2W4LxskHr2685UkXfPBVP9cXGmfAIbXg0O0BDLM4NXN2gjdsCbLQy1RF2N_npDZ8WvOqno", http_request_error; e_fb_configversion="AcIrDITSDZkTKlpUtn3KqfC6yBEE_YGhmpv5ZjacAcq7SQ3A6HBcuI2lBkfg-g"; e_clientaddr="AcID0_Hb1V_tE-_KS7Pn2SVRD2ji1tdX-NlTJzgdxxbCsDi3fBlOt_RZHat7P8LjEeN6Jyo70I_p1jH_cQ"; e_fb_vipport="AcImkFZ4bZ0NIpnGnbz0I71n2oIklvRh34kGpneVPvEnAF0Lb3wg2CU0wqhr"; e_upip="AcIGJtlUBtnPhahw7IaxnvvwRoAtiRO3GXgzAYJUw1oQX3p5Y8DvMgidnHrF-WsMc7b5kDbAWSAXgK-3zZegN27TQtYlnLsMkQ"; e_fb_requestsequencenumber="AcIaEfV5nbWj3Q9XErolFsmWfkviiAtfz27kylgaJFgIl49FwSW89e6cQw"; e_fb_hostheader="AcJJpHvBFKx-Bwvebt8YyI9pcm1-2JqYNHBZ5fSFqCuHq8HatYO8WHGX6aM7dlNoeDKGBUEx5RbyD9QB"; e_fb_vipaddr="AcJOSZHPhsBYLluVTu_SHAtrrsi7Em0fFLgx23_fjfzk8FnP9nSACRq0bpEYis8ZWkbx6IrzBg"; e_fb_requesthandler="AcKqO8SJTiUamToADoaNHoGgjI8Zoo9AdzBoS009le4_yhXoMCBUYMP9k3imylGxA5Nv7Pf-Lvo"; e_fb_requesttime="AcJHhNuD2BSaUNd_wOVFZodvC-rZCsgSb7Bc8yNxA8CtME8cPcdFzzI7P97ZMXKT1nrPene-3g"; e_fb_builduser="AcIWb4bAoVWAlqJRwmfFeXNUmh4MgZauV37ftK_MLDneRyQDWDwY_t9T3c0x0NPEjX8"; e_fb_httpversion="AcINgc1W_azdDetgB6zckbv9Wq44OISoeckxRUACdIL_lVn7xyBMUkKiVedj"; e_fb_binaryversion="AcKiD8oRkdfyacoM0FdnLwl6L1nM7I1EGMCisdK9DIBzKdGdtc3v8T9v8tyQd6sr8gdloJWI5zVaJk6u9EdjZTlSA0QpJuG2ozE"; e_proxy="AcLz0Q2OR2w2ILvTLxft0gYmJs1OTojw2yeIzFH9zLHD_anKb_hCcW4gnCfg2maaaeP5nuUaWclepmY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 21:21:04: Error on send one message facebookId => 5626197274171144 03/07/2024 21:21:04: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APpeydu1dvjKeNSRCDvNHzM" } } 03/07/2024 21:21:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/07/2024 21:21:06: Error on controller verify_blocked TypeError: Cannot read properties of undefined (reading 'c') at verifyBlocked (/home/ubuntu/api-facebook/controllers/facebook/verify_blocked.js:8:54) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:30:49) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/07/2024 21:21:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/07/2024 21:21:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 21:21:06: Error on send one message facebookId => 5626197274171144 03/07/2024 21:21:06: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Agi_fnzGfwR2ZYL0CaG_IAO" } } 03/07/2024 21:21:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 21:21:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9761734, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFMzI0LtXW3siNhxRFcBhMV', 'x-fb-trace-id': 'E1KmqN/BWUr', 'x-fb-rev': '1011906882', 'x-fb-debug': '538GfS3ZT1YA+xw35KavNQCdeE3u8WJ+Ua76Np1EynvGa4m/vE0Au52BBD5/a+1eTsYM4XDm+L2caBvL92i1eQ==', date: 'Thu, 07 Mar 2024 21:21:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ7vwPViYs_DVpjWckk5NCi_xMvK7RJ_U42lKR4_Ly7U_rpryWBoGd5-JsJmw"; e_clientaddr="AcIfrSms_OF7Yid3rGho7Zrf5r2XL66tboW2dVlwLqpCZTTHnsNIycYX4ZXXzY44nlb6BAxoj6HgRvgHd-FiKgFD_8b6P3l5HgrdQqRc07hRuSzs"; e_fb_vipport="AcLjBwuuGSaN7ONx4UAwSTbysoLlnfTlnWQNPirIJKo-yadnycKAep_gkqO3"; e_upip="AcIrZmMEDVVQ_MTmZjOLxZLFH_LeyJe2--Q5kgInytvkHWzeLiCHTynbnzRKyHJHGARI6PwZlBYqAe0Dg-AE9eExFv9Pewqh0Mw"; e_fb_requestsequencenumber="AcKjpbTCynKEc48VDHBYgkvKLianEG5-6asjZP8bOS-dSP_xMb_WdXWuI0CxLw"; e_fb_hostheader="AcKHqYByt5KdMRQQp2FL2wMskGpdc4Sit5OaBnWbSsK80k2VBQAdFZ1y8ofujyDvhKtvoA17tlPWUSqp"; e_fb_vipaddr="AcLJaIj7p-4fRl20WDpzsdLPaFOgiptVnNQcjmOkaekcVH8geybQUo7Ww5uvoO_l0KYPSLEE34iZDDxMWdPhiuRcspYf77_aIw"; e_fb_requesthandler="AcLSp0A04zamWZ2AOc83C1QWtWwOm_dVKJRoawfNpHU2M9R1ecm385sRKX57yopa98UiBCjDFWc"; e_fb_requesttime="AcLtHKWtYm8e41MhHCr3IZcm4TevFWyKINnZbBM_MF3LX9dqnDNN69m1xkhFHo-y_0wfsssYoQ"; e_fb_builduser="AcLemhPkfDQUx_Vyioq2DkDw6j-IVUHTlnHTXCBewqTug0_s7mqAuRFQt8nLEyaFD-g"; e_fb_httpversion="AcLPXPKWI5OzxMMgaktMtDWARmQahGcqw5Sl4QclEGq1mDhDpHq8iAstx7Nq"; e_fb_binaryversion="AcK9nsbbjnFcUlBMFP0LnKwWfCE6N_8unept83YNLcdN-BdHkgLoaaDfmCXQsZIEvJIqzYyeoOFZcpXS6p1B1jmc7vCVOkqtQyk"; e_proxy="AcK_CuhxQGXsPFKT5QnZztpvzFqDHRvSWveZ0NBa15tKYSNS29NQBT05wjakWX3H9pf-3xqfjvBLxoH5wrpm", http_request_error; e_fb_configversion="AcLM9-2uS7fB7wqXvAqvfm-gLTfTxhvIyzAle7L6MlSXrlButTl75OdtdN7jOQ"; e_clientaddr="AcJ8VhH3JopdxTpHAb8n9LCr8sQ2Yu9Adp7OQna0wG_5mBfmloA2WgLMwK_b9E6mnzG47SNlil24kfbKiQ"; e_fb_vipport="AcJIPwX5iIp71wlBcCa_1Bnza63BIyd88mBB7MFpe2cNj5PwvPTAo-BMC4Fp"; e_upip="AcJWR-mzaEwbv5uWWNwTFiF4caiJMjjwL82u4qis5fjbtV-_66faUJRdkoxLxLFloM3KQBZiz6SkGUv9s3TR6k8wm6ZKce1H4Q"; e_fb_requestsequencenumber="AcJRIQkMNaFnpevJmyStt9t5Cmqqqg_unn3xNP8X689uPeBc6FK7HHSJrw"; e_fb_hostheader="AcJI-lkwxLrid6is_A7NUu2Dw03nwhZD9mQzYPHFOgnozaunqUOCDglr2fx68wWzZTj_Mr_hNO_j8UlG"; e_fb_vipaddr="AcLNeU_9LKpWxtEsXLiW8QRj7ohVG35nWdGznVDXFum-5XGYONPbNbxaIe57sUSQ8_lZCBt9ng"; e_fb_requesthandler="AcLXptsAh1Qx61kWCjFDa0hJKiRQVHx4Gt_EXZ2k9LQy25A1NkdXVGfi2K6_lsVgTPzklFuFnGI"; e_fb_requesttime="AcKYtssEZQBHTqFntNuYZRfVrQULmMk9yYPPEXRLxpo95ISVVioo3IJDNMgkYR8-ZQ2YfkB1jQ"; e_fb_builduser="AcK4mwjJILao-Z3NuzkUsWETsVxB7_E_8CqEvL9eKlmYnOYexivE8gs11Uy15BPg90A"; e_fb_httpversion="AcLoch16hCbmbusK_Qfb97sO4aIOqz7N3E_eFK1PT0Mgwgbcooz7bqtIKKLU"; e_fb_binaryversion="AcJ_kb2-ILiNV7IAhN-7Dd_hFcMOY4yPVidiMT4olo8_o-MusNRYc0G56ezkKAiUxzlKuYt_OTo-RPaN7Hhl0uxDm4c63TlKKqU"; e_proxy="AcL0LKmp71sjRv56jsAlg27gHiXkf4d0fLk8unDhL95FQxhOVE3boayfUAResIilxZyHH023S_YjT-E"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5626197274171144"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 23:19:52: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5731797693541548?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9782067, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5731797693541548?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5731797693541548?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5731797693541548?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5731797693541548?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADlzSZBG24cxtgctHZ7f10w', 'x-fb-trace-id': 'AoKPGpRMQI/', 'x-fb-rev': '1011906882', 'x-fb-debug': 'o6T3YpZaCBT8iqzanFWwR3WfbXzTrpnMqotDE0a0a2TKjAZeM6hhExPLZTW73SWohJtFPtoPV4SYtd6HmWYtSQ==', date: 'Thu, 07 Mar 2024 23:19:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIMSvJVtfUCumk6MWcT_M8EcQ_dUOzdnH-BwDB5xyzP02BCXUGDrJvtnlY14A"; e_clientaddr="AcKxR56hpRTnZBvpl9HDtRrVXyrb_ogIlfTasLETp7GDSfDYOhn24vSZX-ZnoM3RUmTOC7fyH7x0EYbwXIgMUeDje0KGEQWwqEdFTwgTYpka6hulwg"; e_fb_vipport="AcK22xiNWIqNmn876WsHWg3wZ6zy1lQBzLukzyD9ZhmmRL4UpdNxh8dT0pog"; e_upip="AcJ7fTNWQ0kB0bStsCb1voHU02Jq2vUpRCCPHRSJEj4H3pW0OoJCfnb3nfzvly7vv6I3UsvVdqLzB4vsSHaCXn1wpQwjVhOJM9Y"; e_fb_requestsequencenumber="AcIqS_xo9XJsBcwvKNWxQyVLaJzIwtrR0EsWJCSFXCutngZK30nNUc_tV3rNTg"; e_fb_hostheader="AcKH21l2l7aHDkfMQtuvFJ-ptAfm0YruXwmi2vpSqF094WcVbIgYYJKm_D2ssdl7PK5Mi2S26j51mQK4"; e_fb_vipaddr="AcIXe7TP9GF9PhOVbIz4dk6__pUsqWquR6njuPM9zbGpgNJA5vgqPUOstmAWKMEbnL0wbC5JvWLJh6bOg4OM8rqZ0ZpARTtb1w"; e_fb_requesthandler="AcIHVL1jkcnqKZGmsxSyae90vEF6MaNLgr4uY5rzuuFZ2HUro16wq7y51FhTGJ9sHa8q6ZpVhvU"; e_fb_requesttime="AcIWJVUFROfcmN5wDwfKZ7yesRWQtWEBp3D3uSho3hP-844M3f_tQjqvM6VsCb5wN_j2LOZ0yQ"; e_fb_builduser="AcLBmHEsdZToTlkEFXcZh6V3To2yv5OyIpu2u05nPsglDcoM_Ey_lx274DTprecswZ8"; e_fb_httpversion="AcJekNa5jMSN9Nboh1oxRy8aC31sFQsYxO7El4yG1jNemj5YjoGYxAHkL5z8"; e_fb_binaryversion="AcI8eNb6JLLRN7HnzRcu9vHkDLmq0usPTm651Dx3sdhRuDn-49XnXibezzVKgJVXbnMJ7kbyiW50czHrHZweFEeLCPzMU00Mcbc"; e_proxy="AcJ0Gn-3pWcqqrKnkeSZL9XydUzeE7kLQzB_uqfBuC8-nr7Okv5urrDgne7cr2M7WaBYKw8eSHhstGIIp-E", http_request_error; e_fb_configversion="AcIxwe3tzUNVe4zB5U1sDji8Wnol5tkcR3hzFXJwELsdjcnLXAwqWeaCT9X4IA"; e_clientaddr="AcKwZPM3gkgHOWtAOnp63ypDV5Jk9fmPP7yPQf-lURe9DkQNLPaO7VNMvvt32XDGBVm0XaCluaZ-chVrGw"; e_fb_vipport="AcLhLW05ibvLwCS_sfMF30TS1ZcMedFMrCcOPWnAAt0SMdF41OHIUbi5jyuu"; e_upip="AcIJPdbI6hbvWOOMUQOz2QZrBi4AT1_M8KpXkqWR1kelQYEpU-Jhni_RTDBDEpBd_5s119yIDiFsgr3nyr5GBUVP4oSnj3kKtQ"; e_fb_requestsequencenumber="AcKA9q3GUZfvVege9Iaali74-dnHpi2cFAkKV-_98cHMnAf6bXgP8JVkZg"; e_fb_hostheader="AcJV_aQPzICS3BCyuHa2QaLn7MeOb_BgrTtiRrMOQ5YCAjWTy0KqhmdA1oX90g-cpFd05mwV9VQxlFCT"; e_fb_vipaddr="AcJCOoXqOObCQu4YVBy15EQryj4s72q60hI05d2XMDQP8D9ogHaDfUXLG7XfIOFcLBzRMjtWKA"; e_fb_requesthandler="AcIAE6t5SYYlgCcGKDSVjCox_v_EkbdNfPYsxytnMl_kJ7JbELqbfbsxcOtnaKceUE5tGbTUN0Q"; e_fb_requesttime="AcKPe1Fl6Xqtj9pQh2bUJX88Th-3UvacwynkVHJmcaSNq9-81u497EwOgLtptKj65LX45blHdQ"; e_fb_builduser="AcJ_60sI5xMhNg2sq_9aNHYpLI2Va1NwfxQRtbRjF4QQH8FXUMrYNQFi47pMq5Ji0mc"; e_fb_httpversion="AcJmsELbwIwBS2m56TMI_LsrKL-q2YatfZxDHu0HyrptKCghe2kN9-KHrrcm"; e_fb_binaryversion="AcLM3j-hoedQaffeRGKs4HewOKHdSp9PJcYZ4782azAch7M9wsOiZb8SyOTFUKBesOPqARqD51_4GZIg5L8rZEV6kY4Pi5EPT_A"; e_proxy="AcIfGu9nWAlTFps-O1tVMrpKCtKQsy8NE4fwC2UXEyLXxwQA6BN7_MSNNlENBFtf5CfH2imbptScmpo"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5731797693541548?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5731797693541548?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5731797693541548?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 23:19:52: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/07/2024 23:19:52: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/07/2024 23:19:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5731797693541548"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9782185, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlagPTSZgvYIci9kT14argN', 'x-fb-trace-id': 'CoPjAtHBbeE', 'x-fb-rev': '1011906882', 'x-fb-debug': 'FPyJQ8o0GrP3HR0UlS8rRw0WJaFcK5U8K/ZaqUhYtSMbIjysCaXp0sipBWfSlstnbkCD0W0Zho85QXg2l6sG2Q==', date: 'Thu, 07 Mar 2024 23:19:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKOmETfi7b4tVrPZw5xodE4NwH87DVvvt2n5c3Zr8ze56tqEVh3yZvgWORwWA"; e_clientaddr="AcIjFbMfS-PDn5D6immaWSFssHr6vWx2JuCQFxsBjrXWNO9NkhJcFY98E9QO2ShN28vgztRAG_FPJ-kLx7U-GBPNYHfZENHgGgWH8up2ERzAkozlog"; e_fb_vipport="AcKZcqfI1T8pasj1MKA-YpXNu2bYITvp8Jn535xXtk7mlp2JK-QlBHnCwBQb"; e_upip="AcKKM4nLBHe1ye8Zu04tbndFvTDYqdjdAllxk1Pxj8RBSkyr68yT_Zw8UX6DJ3Yefx8XrFaZZKeTPUX_izxP7Q7NkY9XbMDBlZY"; e_fb_requestsequencenumber="AcKqBKnrusK_oaqrKxqaCKTH0jqCrzq-u-aLyXcf4mjgQB7V5gFqOSOkSaD4"; e_fb_hostheader="AcK5N5OIWlYiyOmmJRzOqGi2E9wDt5cobn_MAW2cXqyoGzkSnvuGRi-KrWtGxY_J0UyM6ljviF5U7q2G"; e_fb_vipaddr="AcLDiRDQmRqrd1HX5j4mpG0hJACiFmoMN0EuN-xJwSSnPGtYlBM6NVWPuDmmYflnIGV_MsOTv_IHiSSFZtHJKm2Kn7IBiBUZJw"; e_fb_requesthandler="AcKX5ac-kBJiimr3KEh59-jRoy0yUpHOij7GLQxyMaQmxOsulfULBRMJ00155mFqdpzbN-5WT6E"; e_fb_requesttime="AcJaDf_o0N67GbaEL0xMCGTwlWHav7vCEHY3nmu8CsNAJjtHjCTH9-Ug4X8vHjg733TDYqZUJQ"; e_fb_builduser="AcKakzEovTCQbh9AvAihquXA3J17ZtNpr6deQwNcE7eVafV_UaTPHZ1wn4OcnQizoxU"; e_fb_httpversion="AcLHsN14nrBCl6YUTTpMo875Umd2WCUeQfK2jaRMLgTHgWYhT_xHiN71tSRW"; e_fb_binaryversion="AcIbd07GNl47JOQECtONdL2pVG5Sfqvkk46wUs1Ahczbl07vAU4JHYhsLS8Ik80pIHpfAjKNNTXDF9WSqfwIctxNGvrUa5OYU14"; e_proxy="AcKN8tkCzATrXiWraOAlIa9H3w0Bdu4j8Cib7Gw5butqpSbORtzNhq0zXP1G0uv_g9x4I-YIHXEms4zxbWkr", http_request_error; e_fb_configversion="AcL04PU0VsQOwRI1a8dgLGXu2zUAEltT8Ph_fj9EEcLmrqpUfvIfVvrc-tjQpg"; e_clientaddr="AcLhfrOkIVxAgntY5cJGCSDxgFI7L33S00qOKaiurthfdZ0-54dRlD3YARFMp2IcUW6lfTMB8fAPA495nQ"; e_fb_vipport="AcL9FObvaE2VqahMTs-G_GTVVgv2T7MpdfRlUf6EVhJ6dJ67AyhxlItU72zn"; e_upip="AcKbbJsAqd4TpaQ015TWrvIyeoijloBvhJhZ6HhK6Y5tJm2i3h52mpfrjFrUgu68FyJGqrE6je1kiKCqfAj4vaSXO8f157EYug"; e_fb_requestsequencenumber="AcJWU53l_gtE76CCqjWeYvVe-IQpMVDpXl8DOaDTQjTKINsQS_JZ6Zgw9g"; e_fb_hostheader="AcLzMBrB6ozUqxqvJbhZZtJ5qOdkSafohxwFWhOHagNWXpBsRs4YCEF4rXY4LYtQAyHcK1jQ5tsehpk3"; e_fb_vipaddr="AcKcH7DCqx25l8BFcpBv45AaUmWGKLK34Mp8neuc90siTTL7-ljpS-hDkeBMMtPOUkN-ZjifmQ"; e_fb_requesthandler="AcJ1V118QhzaLTzEv9jlcTAoC53oQrM7hK1DvUV3ZIgAjBVOEZAGs6gQp1IIMZSwxVZIDtg3v28"; e_fb_requesttime="AcI0lsPrHKtQKiZ8-urBs984pTsiiBNiukHLnDtxTWoR7B6osa8ffNGdTMh792kym_-HlKJRsw"; e_fb_builduser="AcIDFp7R8vNtiwQEriAFs0eoVPnPUrnJ0yhmLNVQ4L3neMJGr8O-VMf1oy4FySobtZo"; e_fb_httpversion="AcLhk3p2j3mpMubJb_GIc86caVYAqWEOLvCKwbL-V8QAlfp3s9ZIkCOFmthp"; e_fb_binaryversion="AcJRa9eUzEu5sjmuxEAsOVxXhvo1tRdNG56ant8K9IzgD44VS3rAHiATipwe9x6zKkIIzAHY-Msdqq-LIsGjcSH-23eoDHSi38U"; e_proxy="AcJaaJdSVoEDarH5UpmyI9R-p-EoKcITwWbdfcoN2eixeDe7IEBiYW0BAM-9W8zYRIIlYdNA456hwbw"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5731797693541548"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 23:19:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/07/2024 23:19:54: Error on send one message facebookId => 5731797693541548 03/07/2024 23:19:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AjCkUiAEN_1S1lUgxjrPNg8" } } 03/07/2024 23:19:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/07/2024 23:19:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5731797693541548"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9782267, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5PsyZhYFfjAIOAJmih7qjj', 'x-fb-trace-id': 'C07Z9dSb1Sc', 'x-fb-rev': '1011906882', 'x-fb-debug': 'U+iO+PacWWLLypxljN1VfolTxJtnspxNXItWRXbYjGNoG9qSQZZ//q0B8H8cQxsMawGwhOdNZTa9fHBatovD+Q==', date: 'Thu, 07 Mar 2024 23:20:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIx09Cm86JepogY-goole7ybaw8_qgV8CnHb7U7IA3C2FEKDOwkDepISUp18A"; e_clientaddr="AcIJzTbdo6tRutncqUrbUVgDnlAU0H5CNe_TsvmHIcL0mUoyIYLXpchLDtkJEWr3EBk67AwhFya56RW8Jy9yC2eOVzWG6MNDUmFTgvXkOq7Zop6d"; e_fb_vipport="AcJ3ZZZgDJs3wM2pU9Q6RtTS0vhnI3AKPZhlq9Q2rANGXMIJ6kNSF0WozUDn"; e_upip="AcJQMqffFDvYePR6h_SpRrjpLWRYLwOx1BpGU4Q2QXz1GQN811CCTSIl6PCo6tKfuvMD3jCSKtzjwulfsgtkCGhFtfM30IIvUw"; e_fb_requestsequencenumber="AcLtZKSDF0pjOpwy6H9UGecMLcACjj2e9gAA-_pUa1S4p4X8aFKDdNrKc3eqsQ"; e_fb_hostheader="AcLFW1LU6hcYIVJ99iOqk_mouDuqOEi_4fEtaZgLJyYftS0GpYcJcsJI3yqAycBlvtZXIfM_AsvI3z0T"; e_fb_vipaddr="AcI7qcg2uJLtz-DNanyTCK5Q0Wsv1bhp6xAqVbB8AGrc0VkJ7rC7Hib3KJm_GFlMfDVr3m2hJyD-YuOCUvmu4JGrdua0DCHQmQ"; e_fb_requesthandler="AcK23G7ZVykwD8f5xL4qxAcx6G0wYqQLjfjZEPKc6vs7atH4BsbA-_ADXKzZw60N3xc27oags8M"; e_fb_requesttime="AcKgWX96evoXFkD8P7rZL9UAVNXt_xSU3owy-Y0Ui4rVGvbsFcqQTG6yoGLp6vBi7230gAMOXA"; e_fb_builduser="AcK3THMOaagoLhMF7LgzdCrPskPB7HgrhWkgiE5j0s8ObAyWjV2AQydOTaJyszqLgIc"; e_fb_httpversion="AcKrL5HQ2GtG4AeR10IM7vr4-xfXPSx51ko7U1iexeiRZbc6jpvHPsHeJmh3"; e_fb_binaryversion="AcLWSZ3-xkt8dSHxiazO2EKLchA5AgEjZUMv3trA-pvvaXVi71GY_iUe55KYZzodBbuHnwI5etETcIVaKDjTF-8PBjNmMHGR89Y"; e_proxy="AcKt0Tt8e5S9gIrCYbJ2apUEjCjbOiBK9llOUxL15h4Hn14GG-XyDTO8siUPF8eZi0OpoCZpN0XVcQASixK2", http_request_error; e_fb_configversion="AcJ9qsGgFe_FZtzQz_nLtlpMfrq8BSSXCxCh1Cmkgey2XD9VSuiap1afCyq7rQ"; e_clientaddr="AcKS6k7x1eRQf1M36SJF2-xLVdl4A9oLWK-SHVPchohOnR2aGzMtsxmQS3-oU9VuIl1GMheq_hnPCNKdvw"; e_fb_vipport="AcLP0rYyUriM5pheUFk_e9q5uZonpM7zvGes-pFAJyBgo_5MZoEpVgpmsbLZ"; e_upip="AcK62x_-9ZSXJqqai_Blw49vvUNAgKgGHNScndnK80dxJQX9inK2D5q2MwfsYTACLCVbVXCo0beKCvkzVHX9585nNHZ8C79k8A"; e_fb_requestsequencenumber="AcJjYrfoLymfAki61xnGwXMXvIz1RlSLsgtyQdJu9YzIlPjdtVTMs2akEg"; e_fb_hostheader="AcKukGlIv7tBGJsch3b_KGhKphSKgKv4zUzcRTaPBaVxQ3vJHlM-K91qIe8zts3SB5YehNhnM9kYcVTQ"; e_fb_vipaddr="AcLV2UEhdAEgR6Y60Uh-1B9s0Jwya0Am5wnssQDLsbxjE0_U0tu3SG3V3SYBHWtMGFclCErPuw"; e_fb_requesthandler="AcL67zcHmtAyxTviOnfxVAc2sEBTnzXhkbO9vY6dUlo41oisi0TAyDD6dkDs0BjW3qgCIiSBMmA"; e_fb_requesttime="AcLZo1q5pm7D9AOj6b9UAeQCyjlGEwP695c_KEh4aPSfzEyI589dV52yQhNxH5rXEvXSIZK7Vw"; e_fb_builduser="AcK4lezYA3gCqZaAxvO3HH824TA3vOKytzJEVOhrdqnemdjR0Mt1sL7MLN3PONp3ziA"; e_fb_httpversion="AcIafL8A-LZMvhPj6FOJwH5ehiqC_RpVF2uq8OU2RD2-T6v9xhAtfQXvPOS8"; e_fb_binaryversion="AcKrWgQIX0TwAhg5BDCOYTjpzWCIygllX_hFI5Tpa_OFwpOFJjJmrGXUgAdv5VvIIh262KsZWv-qKhGzPcwAVyw8zx6gqZZ3JHY"; e_proxy="AcJftqhY6FOe4cqA2tkYwzc88ULNOB2FTtBNttwieU9D7ia7IUiRwO7_Iu1NK437dzLsUZ_FBCOUtt0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5731797693541548"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/07/2024 23:19:56: Error on send one message facebookId => 5731797693541548 03/07/2024 23:19:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABbQsvfRMLyryw3TpVX4Dk7" } } 03/07/2024 23:19:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/07/2024 23:19:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/07/2024 23:19:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5731797693541548"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9782405, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzkHXFvWdbEOJnKFHB3z7ZX', 'x-fb-trace-id': 'BED+31nQeF6', 'x-fb-rev': '1011906882', 'x-fb-debug': 'xhN+WT83h1Q1lxzoKVGXqGNUaPVk3rxl0nj7MvDsgeETUWM+acIDm6UlDayGqkXlst8ZJZn4vMTC9K21hhGqjw==', date: 'Thu, 07 Mar 2024 23:20:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK6myDL6z6DOB__yGLVejD2Yd9Hnk0zQNbfQ75tLYbCHS4EKp4NQQpwGOiCJA"; e_clientaddr="AcIBTs8yq1t-kj6S5Tt9inw0twgV09xf6P3cQtlSOtLFKoJC_0whx2EB0WIh2l4if9tozgGhUxRWJBzfyjx_1kdixmbRvVHE5si50XElfUpPIbdt2g"; e_fb_vipport="AcIEr0WNHfHSOIasLLrr_q1cYxiZfB8YMG_FHGYmcHb_XV4YnrPUeHwVKxza"; e_upip="AcLb0FeuOAD8MfcQ1y6JUwc261up7GzMVTOz3LzvaMThEPqN5NdeuCM_Rrui822cnGk1WuWnzLIjkXetMJrTE3ZAkKk0A9oEe4U"; e_fb_requestsequencenumber="AcIgUfIcDBBrmWvwpGiFdQbGRs9bXEsu94TJHBjBHS1EALtT2zDsAOq0EAyD"; e_fb_hostheader="AcJj2VpFxU7_zcGLwdL-i-9Dk-_nq6vJPTg_sasO_r-6MJIVMFEdW15gO5U7ZPc5NWeppzwctyo6Obt5"; e_fb_vipaddr="AcKTc_pZlbtnswFOl3vobB8WSzbk-_dUI94zH_0smllgHm2_GgZn00d9698ntk-LE4BGQIvgGjwIZS_I7-FNCluYCwuZ-xDJ5g"; e_fb_requesthandler="AcKraJauKhbkxZYhiXFfR9A1nukpGV2DqMwd8ZOSwjA58wl98yF_im-Nqt2rm7X6olzol7LymgY"; e_fb_requesttime="AcLq2K507EBFGAHMlnu5E9vkxSZu1pLsZK9b2f8rh52MbU7CzbiApMy_VCC9KOrJ8Pk1JkHhZw"; e_fb_builduser="AcJ39RjuUI3CTE1lPA8TWGSMQCLQ4L-0uqSshD-fHKvCNJvlWbUIOi9KSWD9pkvCN-k"; e_fb_httpversion="AcKiP53bCMPM0Apy4160lbqeY2vaSLZM6Ig_NMrhcFRPuMDpzaw56MePCRFM"; e_fb_binaryversion="AcLJMtzJlcJyggk8wTGJU81yNBjcaTTvYm5gig2TPLHA5K1IoZFUSZAAYNEHtmkkRtTjo57rhoK2nSqsxXjprg9mWDJ39odiVeI"; e_proxy="AcLAhCKyEmXnY2G13rEXDmMPtryQYLeLgicgyehWnTrPeFGsQAd03UclSZlzVVp0v7oOVy8nrSM10R8v99jK", http_request_error; e_fb_configversion="AcLwCTZRWK-q2AOAF5Go4BDkAry6R6FJfbwFl6rMfyq35WA8K4gg3Yhb5DdoLQ"; e_clientaddr="AcLV92QMlFyv2MSh9y3PYckpTJFkTsa6fDHQfvTEFEeReWO6UoWeoGbqxbLwq2cr5FknpKQDa2gysT9HeA"; e_fb_vipport="AcK_VZ1GTsGFN64wLiSxbRsdAZwhNRRRXGFXad4CQNQvaVGwd8tcgOKp9fL7"; e_upip="AcKVJaAcaEUyrDAkj6oqMLsbT4IhX6ms53ehQ7kbMbMieW8Sox5A3IC_oTg8zO2sdBQV5t9GmUbHFAAQc_AZd7Z6usM-LsVmEA"; e_fb_requestsequencenumber="AcL6EbbjOfWkjcp9VBF7FbcAOR9CfQoYoNvbAvmv1lUSV9ynlqIdM-BB0w"; e_fb_hostheader="AcJEoFYGLHH8uuOOTtmHxW9o5kikhUcRwc38WQxF0fHkTmrI73mSuCv4KQSGcLRUGPKDRBgP7lOZ-Smj"; e_fb_vipaddr="AcLFXv-Aa9_CfDLvuZtQ9eHSfBEvLiSWwPltdJ0xUlXt8Y_Qvas3WKNZxOypalVXd7fsNyOzDQ"; e_fb_requesthandler="AcJDw0eQbOrVQxrn4ElB06j7Xte9ZmtHjDovT44xCg9YW_tkXQ7c68gQlwqneXZSiozXwBhCTLs"; e_fb_requesttime="AcJ5P3S-sptlHY6bLt7op1fYosWygnTpw4vEOi0SNTXyoVpAbTZ5lxgSWer49ew_uDEwwgrwIg"; e_fb_builduser="AcKPoN00Md_uwM2ZbfQukxkUoYsztq1KjNl0cxHyp3DWi_6b1H3A0-s_l-lY1V88C8w"; e_fb_httpversion="AcIP3flBieg5sM8McJQRL9yUd794RVux4PkMWsv-4rMt8myX3uJG_ZYSxJJc"; e_fb_binaryversion="AcLvp1jX1LjZwgz3BxxqhExTZPkgith6HPpdQsUjnkd6JtPhPcPStkTH54x47ilJ-mrQAQlC7UW7ELJxcx9ddUmI-dwHfxweSN0"; e_proxy="AcL8mFHN97o2pXMjHEgZc9aa7KN6Am07nKtFLHWjTfyngKKQ1plXjaiSgksKxtDjyujazN5mAkRujH4"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5731797693541548"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 00:17:42: Request bot not found: { id: '138868933458303' } 03/08/2024 00:17:56: Request bot not found: { id: '138868933458303' } 03/08/2024 00:18:19: Request bot not found: { id: '138868933458303' } 03/08/2024 00:19:10: Request bot not found: { id: '138868933458303' } 03/08/2024 14:15:53: Request bot not found: { id: '320637341295349' } 03/08/2024 14:55:19: Request bot not found: { id: '917983134950234' } 03/08/2024 16:29:58: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7375581482477053?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9954942, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7375581482477053?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7375581482477053?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7375581482477053?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7375581482477053?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AciH0A5NWFWNI8HRwshPQs4', 'x-fb-trace-id': 'G4bAK8i+dX+', 'x-fb-rev': '1011926388', 'x-fb-debug': '+7sFnXccQJPK4VAGctyyYZxxcND14OTTSbwe+3K3EkNJ48Pq52derzFaFUYz2tXmbSOpqWCIlao9eGa8hdeB1w==', date: 'Fri, 08 Mar 2024 16:30:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJmTZiatJTV8c6lF0gEZBVTt2Eo7g3h35BJ38xKW0SBQJgFgKbu5QM_WmlUaA"; e_clientaddr="AcLDH_1UKF8nezENZarbzi3TtWDZsKOM8AMw9aEZZWwAr3QoFozOS47-qKvmmISj_OSC_6be_nbKXVLR4GkUGR-R0-ZnX67CD4WmX-0NyXbOfhpw4Q"; e_fb_vipport="AcLHyEAIQPJdsM_f50T5odLDOfu0LXj6jNFiPvc7rUqG7h3tHGfNLPifaDsq"; e_upip="AcIaunjv47tHBVcnPgjE2q0HIHtpvLuTtk8LrEjZSbiFY1CTXgbaSdx8lVetPC5Q9D32i1TOh1ZmaSgjfWjr74bqCLnPPyi0"; e_fb_requestsequencenumber="AcI8jNV5su9w0SuGxvdi2p0nUUkvNWu__19UvBkBWW_KRlUSHiup7GbzZjQ"; e_fb_hostheader="AcJjAQjQvmte89qUVSY_n0TZObNv9Q8lV3mKkAae1P39DnZFi54aIC_KnCKm7dIoKxrrq4I441fwRqS9"; e_fb_vipaddr="AcIvg6r4GIZhUoNF-fT_qRmFyWfVoSugneSaz1CAij_TCL-Rqmw_lL8WKIJXbIbMTrCtCEtbnT2l1c5EzOxxZovGsSdhpfUcnA"; e_fb_requesthandler="AcIfyRfyfSopM4MI2VzZugk012I0f9kdv5X3BRN0RzA8cOpNiPBa13Aw8QDt396vYjI0aBHPy6w"; e_fb_requesttime="AcIie9aiWTsIpvcjYd8CbtBhbzg73iuPU9fMuymuWxASLSiDiIO4TWUmbZ_xA72ugQrc3O1kPQ"; e_fb_builduser="AcLOZ1WEufo1y8XixWSynDkoKG7AcXvLrXaIC1-r4LH8iVrpKZzOYYTpwNg94OSme6s"; e_fb_httpversion="AcIg9EjOpBB2v3ZN2sYAuN2T9ujJjF1p0QpJXUuXnxRrbPb4--UK6AYNA3ga"; e_fb_binaryversion="AcLFxtIhqYNY5AWgzvJ5Q6js2Y_Bo6GN0OL5Z1ezlRZSniuh5ow8f1vCbIfoI5Gu6YSLEkbMHW2GfxGrUw5eUwvhd3JUIcbAAQs"; e_proxy="AcIRflrQSm1Z04s5y_ABGok0bCXq28IxAju90D6b3E5HHZs2rKbIMGI2KfxWTCwoB06GUeBNQpkFYQqOycpa", http_request_error; e_fb_configversion="AcIQzVPclIsX05TTruBSrp-SL4x4CC8tjxxXXrZqsI4hjy-SGQfjkyhr7xxw3A"; e_clientaddr="AcJZhmsJ5GKfQFM7OJYr5oekFZVTLHEqfRKTWIEKZBxckJRaruqR4IpMtQctHpt2VeLwlFf5NU0TDqlQ3A"; e_fb_vipport="AcK3TnAhFhqsCY0-5orPJ7fgLa2UJLUoWL7IYAzuYCYnO9X613sY7X0VEbMS"; e_upip="AcLD7AlZp8JdjFeSeROyPjL74tS0gmFXhQ3O6Js-Rsk7uq990M829QbdcmkaJdhX6uXR_bkSVoFHOQfkv83NHPXPtupouBvA0A"; e_fb_requestsequencenumber="AcLS4lB3wMmaE0NQSEg6_Gv6JrDuVGqV_68Ll0dtzfiiL7AgNkuvGTRmqA"; e_fb_hostheader="AcK7v8xC3XEO963cICoas4GfIQaJWk1-MoKqWm5Cfv95ZbNA387qVsW5Emnxn3VmcYg7m6GH7arwNwQf"; e_fb_vipaddr="AcKgOUbLfd1EJ1cBcFN5la8u-wCQXfvpUK8RRu9OOFpyRFl2XO9UvOmSv6d_ck_qU1s905VGLg"; e_fb_requesthandler="AcJNd-ObB5LiG21dsooMWoRS03py8_Cq3X3UpZX5fh3N8KE91d2nrHWcerzCXWxDNPLaIFFnzss"; e_fb_requesttime="AcKqqT7UhcPE8TkffAIsDkKRcDVOW0a_PkYgL_g7EPNQgnrfI0sKAuIc_a-fGN3Ayk-RS41x5w"; e_fb_builduser="AcJCzQI7g9cAw_ONkVw2l93EpPMwM1n7w7w6SqSuMfJ82OdHboahZOp-zS3U9_jm9Zs"; e_fb_httpversion="AcJsrXTnIf31buO19bZ4YRqK_eSA3TpPGVfcwfIKIkrzGi3lCd7FsG-lZ0dF"; e_fb_binaryversion="AcJlgU1Y8XAWddooH5-55vS1t_2HhfwuBZpNqXYa499D66b6pNSktfTcv28T0gQleJA6Q_6vsriGnGdC7GDzzlcZJFR_MfYGkt8"; e_proxy="AcLnYD4L1irkQS7Yr8WwajsKLACa4DSEbD-0H3tXyBNeziO5iHEJJHxI2H6jA-b2GXxj4JJrnbUdAa0"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7375581482477053?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7375581482477053?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7375581482477053?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 16:29:58: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/08/2024 16:29:58: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/08/2024 16:29:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7375581482477053"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9955060, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2fO6KmKDyW41VIEYwGNT5d', 'x-fb-trace-id': 'H5prNHhNUgT', 'x-fb-rev': '1011926388', 'x-fb-debug': 'oe4/0+yi7ruhSCVUhoSu9bbpwJ/9fJpLOQiWKfJM/TDhWxSWkyOR9S+n9PGmTXoAo6ncfwP0Ptvu72p6/V8cew==', date: 'Fri, 08 Mar 2024 16:30:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLSegeUG0rrapX4dyPBj8xKquokVGffhX2_abDtWCFsxQ5Od_TcSk5XPsw4EQ"; e_clientaddr="AcLd8MuLdxt5doHQUDjUSI-5sGf0yE3GodjLhNhcBur73LGTI6VhfQiJAU5to0w26N5JGqvNGXQaCTdbHAjlVJPs7MZNT4VXx1KOHzvQH1rPLzFLPg"; e_fb_vipport="AcLqW7A_9UrryZ40_laGL0Zb7Z0l66y6NB0llWPxhZEwt3wQ3KEUThrY9UET"; e_upip="AcKBsMXtnbcsV3wKu_-pkSpqR5jTH6Au-siQC2wbxrSJupQeX9jHv14NrttFWCuSjgo9WT4jb5W34UIgK3xHKGH3dcbpOaCv75M"; e_fb_requestsequencenumber="AcLNsYzfEGyXqilAvd3uRQnIVB8PnLRe1lwUy5nMeNKC0A26dJdA5angbJ0JBw"; e_fb_hostheader="AcIt3eDnopNL4FcPu9TEDyTA8EjyzufP1a6mckU4jgwTSfLR6i_CAldtB9-Kxkt12gXsc8EJ41q2KpvY"; e_fb_vipaddr="AcJcyRlizmB5sr0aceCYQPYK7bPsXu3m2qyp_QLRlyqEP7hadIalGlMks1_GMCTZPG9eBRZMchJSUvyyqkoRTH3CCU3uaBSnVg"; e_fb_requesthandler="AcL2m0kgB2Fbpx8aoNDx-x1Zwdj7jzCw11e1afY4updbKczxRnVCvzoG365xQp4j1WuiDIL5KO4"; e_fb_requesttime="AcJ0J9QVcGiZ1QZN3k3Hmw4DD5ZitF1v3b9925OHD77AEgc3yVb3b3vqv_-iW2Pv9C9tgCPn5w"; e_fb_builduser="AcLqP2jbw1p6j9DgQQBO4LQl_DdjXcXyFb1cJNFL6maql52OOjT1LQx-xDpU7b980ek"; e_fb_httpversion="AcKrTiJDQ047y6csHrjCxKTLB-v1lbfIMBX0t-8p5Opj-MoOiA3PJB7S1EPI"; e_fb_binaryversion="AcItlXHOhYKh5UamPJG527kZVwo9JhApEUoa9SAVpIkQ1XSLqrHLwHsgLrvC2nF6-CHmYKZj_5Ca5Bnn6Q5PKrurG2896r5hCgk"; e_proxy="AcI1m_cDCZZythoW7TD8IR6EEzwIoT62IhAJfT4Fw3W1j975kJeu3Oo6HpeSJTWm_7niwNhvHoGw1IyfnT9x", http_request_error; e_fb_configversion="AcJEhQQggRoxHp-aeXTtx5rxznc9m6MwJNd8GOrCPNfMMjvlzowH3u9NIA28Mw"; e_clientaddr="AcKqKN2X4HKLBJnCpKoRJupawdjtFaZRLVsSod4lvBDTagtoKxtftJej5Fxu8wezkGRnn_rBqhyeicA3vQ"; e_fb_vipport="AcIKrqPxKd32rVMmpjVQBKXj-iY43Bz2HIELlTvV0TJ141VUpZy1-pE4PHw6"; e_upip="AcLuL16ps7baMoCMG5gd8zAh-6AVhCttADcq3Rxl1mbOEhsp0_fGMdoRhU_DQVbCHRJ1MKDKyD8l6cFCThdjjRiLuVhKIGfhyQ"; e_fb_requestsequencenumber="AcIGCA0e35NTj625FrK8Cv7nh2d0PcUOsJizF-WQfV5wum-jkpUpetlb5w"; e_fb_hostheader="AcKBWn7zxkN78sJBS7xEKxbxGkmxT5irbWdaOPivg0htw9WalU962WFwY0RQeKO62uf64jq8VV85qAoL"; e_fb_vipaddr="AcKfFPC4bbDiHrhETGF3uPvjKl7i6_vZ0H3GIYsZt5IDTa9EsIKtfSvkIhsjWNppTTYlVpT3YA"; e_fb_requesthandler="AcKcbiT7DuXyoJSjgg6ctti_7mACUnPMiT3SL0LtxEiacHYmJR0GRPrCbXCMKcEtPvOIIn-1BPk"; e_fb_requesttime="AcLgiXnRYU8DdvJlqiW_9bS4uv16OWXlnHrHC0Mv52QvzIFX7fLqDkSlv0z0cUPujeta25d_8Q"; e_fb_builduser="AcJmESxGMAXWPQ6H-u689Uj8dTOobZA9DrZ1dx07qz0Y1H96yWDgp5z8B-ftE08h1Ns"; e_fb_httpversion="AcLpXcuWkl8wMWLnJgbRA5CMezxoiECdwtjB2vOMaf8GRfpB2mF1w8k2kHL9"; e_fb_binaryversion="AcIb-n3Rpy042Vv0i81VEhQ8SuwZIeQfVy87LTlvNkunu4uNsU9fCG7pz97jB7wh2Ouhz0EtFiUxOuccrAkij1MMaXofMkWi6Dg"; e_proxy="AcLz0Mcrfu77MoPTnhqrXd-qinvmTXfAjgtFv87osZIzv5VO_0vRCbtG7W3zZtm1UwqWKoVJTZqUrgs"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7375581482477053"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 16:30:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/08/2024 16:30:01: Error on send one message facebookId => 7375581482477053 03/08/2024 16:30:01: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ATJt0vk3DfybqfckHUsTONC" } } 03/08/2024 16:30:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/08/2024 16:30:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7375581482477053"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9955135, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALDyZtR6les2c0ZUZn8ei8A', 'x-fb-trace-id': 'ByyDFd7nIyN', 'x-fb-rev': '1011926388', 'x-fb-debug': 'DrZeATOggBD3K3ks6S2XO5IMupcwc2iQO9JBfEV1/68HgjTrX0WBjBXKKHD+zsrBYoPHBkZ7P2UJH9pDCch6xg==', date: 'Fri, 08 Mar 2024 16:30:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKGEEjSWiSvVRiVf2pAXJe6jwmr9er8tt7jbqFk03VVszWRfI_hfVtKwtFrOA"; e_clientaddr="AcJ4fn_Y45Gt66trWFCgd2jO1I05wXL_bERxmjkyISAojWJ4yywzkQ5R4xybuWkZIV1f6uCk4jq6uPLNtjAb07SYM_pXnXXEV6mRfc1HEVbk5d5jVg"; e_fb_vipport="AcKxIfkaD1cuCXfuafArv_mnbLar8bhmoItc_wkbbwrq3WyjmialzzEV6NDw"; e_upip="AcIY3--jIZuy3ZhAG5hrWdW1YtqQI7Au3YkCEPY5AvneAZFH6Eme35srGeQdE59C5sT2iDBxrxuHH1w7xyXRL71GhRiNzTkuZQo"; e_fb_requestsequencenumber="AcIWSDY0b-MtrtWqRkhGHcTtJMbvPuDOiUKfd8_s-VJT0Hz-L4uEZwSBF9Monw"; e_fb_hostheader="AcJYGOtkJuyAz7nISP4gIn7YNlk3nAYjq6l--qhxWXqfxhqWf2ZwQwYnCZR_cdgGujKuvFiGZxsDBjKg"; e_fb_vipaddr="AcLIQ-2Gpesjq5DtT308O8yz9mhKvXgKVHtfbPisDD7jaoENvPwL7Z2hQNEOc2s5V0XV8K3gaWwwMrb_jR7st2rBwgkE__pQyQ"; e_fb_requesthandler="AcINTXHal6LxhB3zZH24RtzlEx6IIcjdretZYgSkYoTjhH9hgnKjacRCGONpkfj-EaC0G8iI93o"; e_fb_requesttime="AcKyLYfSqOHIEZhDig809XioV5I4d5LERkWIUBR-m9wtrHL6NT0WTwNRBiA9S3YtYkEuOUdhsg"; e_fb_builduser="AcIB19VtZ76OPqPNGrHGERYQkkYCExwUTfFcWlsUru7NqYdtrOezXpfzSk6h9LkuaQ4"; e_fb_httpversion="AcL0VtvaPbnH4pMe73NkU7frnT5Oflu8Q7IenazC0AnDIE-vbopkxuEnhycj"; e_fb_binaryversion="AcIAr7F-Fdiq_Yii1QTOVqRseX8aM0JaBiAdkGf3mfwSwa66RxnlgryA51_o-m2jTVALMjrZbBL0h7d3qhFFlE22Ej2iTmA8y9M"; e_proxy="AcL6vOaawwebFj2tpvW2sbvB6Roa8FF4EebB6i3_7PePT7xoCPNfYDnR4mYVx0l66C93ck53kzSs8e0g_EV1", http_request_error; e_fb_configversion="AcLY1s8Xo92juLC4LGySoFyYcJB411ClCyzmeCnMeS8ZHWrrAw1ySp5zgE4l1A"; e_clientaddr="AcJXmX-uucADuff_i3fqex9JzHC1fo2lJa9hrwxfl3CSjIYFDvWSzJlK6nMdbu60-WlFgHX62rbI8om6ng"; e_fb_vipport="AcIUwAM3jYA3o5FfuoNNoxGHA4qB1CpdubCxTNPKMcH6Z_IOYk_SgbFpa_m3"; e_upip="AcIK-CC20w6EwG4bn3Vynvh1tLODq1Q6kbWeAvCqLErUkyesQrbH_3SDDVvEDLFbpLQgxUPqxW9D9aFSIowqzlcTl5lPTHOxNA"; e_fb_requestsequencenumber="AcJLZQps8CrbN8FpAfVluTm0tE4R2lkb_Y7chxp9q19bLxGvqeHKelpNgg"; e_fb_hostheader="AcI1iX0VgNhHQa33BwFpxy-fgSl8NF1I9k9GuAkrl0PGYTHigXwJNNFdRL-SpcEpYKMZyiWY5W7AdAkr"; e_fb_vipaddr="AcLCvaVpsIjG_lP6QJMXxmQ6sHsAEG_5H5PR_IObAzYJ3TifAbo-FahKmPtzguvfLAxF9Yh_Bg"; e_fb_requesthandler="AcLudkj47e_n2P79w5kY3qjMUlP2wwZOfds3LfboL2tL1UUPPkGpdOCXj1OiTOiu2mUpQjXU0BQ"; e_fb_requesttime="AcLAhHNfI10siVpJO7Yp3XQ2nIMjIURBb-Ox5Xhask8X8FnvVWO-KoDPoR1SKIy43eJ1PIWrdQ"; e_fb_builduser="AcLZBfLuYLH5zUtrlgiO7YfwOCSrhT-X3DdY8qEp49WgL-HbP7wFSwghoKTyXSbEvjM"; e_fb_httpversion="AcKUAI_vf258IdhP-hrwa-ZQ8lupoNg-gkbE6Iey3-kI3jhBqur-RRhuoEUD"; e_fb_binaryversion="AcJEwKpfok0ieY9ORerMyDL4oUPfcj9Uo2vGIXafQWETNMhXN2NNM4-dZKYpSagHcg2JKjpA7dFltAxAANOrpcH2PjV3y0G4n68"; e_proxy="AcIIKk7a8bPJNFobI2QAZbENckAg_K-lrkOdtnZHpwsFZecpmmIiGj9JKU2wACzw7WLxyHmttSu_YWxU"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7375581482477053"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 16:30:03: Error on send one message facebookId => 7375581482477053 03/08/2024 16:30:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0t-VKg-ymhGtcRJRLfWgoI" } } 03/08/2024 16:30:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/08/2024 16:30:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/08/2024 16:30:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7375581482477053"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9955274, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACwA5vJ-SX0458iyawUAsCE', 'x-fb-trace-id': 'CkgrkfZ/7JA', 'x-fb-rev': '1011926388', 'x-fb-debug': 'CuxhpRNqbrH2viz74B+3tQb74xjEmCx8a67aBJgIdeKcso//o3B8aEqwKCP5EYVXPSX9u64Gxu4r5sYwn9EWFQ==', date: 'Fri, 08 Mar 2024 16:30:08 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLpE572WzPwXml6c32EHBxez4Fby0fbcEehRIqhr8av2YAvgjp_YmrZonJ9TQ"; e_clientaddr="AcLFZMdbLmtHotuCYHG7iwuWY3r7UDx8Fg6JsZjspNod06EdnPB6o6e0KzThHbqgjmLBU8Gt7vGwhqeBrFkTEIcbprOXSpMft73ZPDcwZREBVMWKtQ"; e_fb_vipport="AcIxC2sDsQ0u8GdOJxOXbet2EzOLpMq0wmT6Mhr12HMSZ9gv0fPyD79ByX2A"; e_upip="AcKXnMZaNvc_0Fsh2Uo9nykrdE9UiWT-zidqocuxm7c9lfPbU3XQsPWMaVyvO1GjImaCUF7wrTE2VSelvAZpsaAQe9N49FLiKh4"; e_fb_requestsequencenumber="AcJ9KwsmxqxIkArqNjz5bOEj86JSfTM8P9AUDmrvinJalyxTx6oM9TrnpNRGzg"; e_fb_hostheader="AcL3hbjU67ufe8OJkUBogg_8n2f22ph1TobeTt7uXyCQS-ZHZ12zU_PTsDF8c4yRg1wBx87lDVCSld86"; e_fb_vipaddr="AcI9L_IJ3kvxtDir-GpE8fjNqhmhBgTzw_qdv21X33RC_ZXWRYu7qHDCByoy_qAL9NUGwa0tfXaX-lDcdEoZLGBwSeym0ejueg"; e_fb_requesthandler="AcLzTGYNw2Pr5yvgNdZh3d7suevI4bqPJbFRx68pVhpF8svM3MJB1rexWyqW1-ZjGqICR3_N_jY"; e_fb_requesttime="AcKveBi53-SoUenOOx7qTPNZV4Q4oMe0jcBdFcKFnRFyYqXVaiaKAPqJj_aMygz7Z2SzCxQEmw"; e_fb_builduser="AcJqU-L87yvHbukIwKbh9yBMo_7_VnrB-Z9g7ZD7xALMDnABe8R5vLxurwH4xINz9PA"; e_fb_httpversion="AcL6yadiLaTsm7deHOwZkUznemWoBN74J1VtZgcrpWKeOT7UbE1L9rjsdvEy"; e_fb_binaryversion="AcK-CeViVg02J99gitOg7X5WXyVAtfuC5RTbw-XgZoi65iNLmK1p6cdj7hgY5koiQZaVj0oebmRo71Q1e0MkWheBVDynUkzOLbQ"; e_proxy="AcJYc-lkMhwNoByktMsx90ARQjVvMyfFIhYL_2VEmVTB8rODyPoaZnh-lAsvxygA0jjOf5MbUMhqPgr4VwjG", http_request_error; e_fb_configversion="AcJ5XejSoKeHIHGpXa9iIvp0dg7zx09hxngh2hFhp2p3rC8xWAVCiobRi0-Jlw"; e_clientaddr="AcLZTnw8aoAwLx1_I1VitLk_lmLpoZVzsyzV76C3QlgkvSKSGIWNWDPT4tWcJHxpwhrmXD88ivXYbjRu2A"; e_fb_vipport="AcJpO4SgMc2m8JEg0FPIhifT6sghET6SVSBeyskyX-6Dl96t7gzWMb_y-DO8"; e_upip="AcIZd4KIkfo9_pQZrDKLHEzAeXkgiPrkErdtOmzo0AHa60dgvJt8XcT9dn_Oim9kd87T36llAgnF-3u9pJn_5sAXHNqE-d68Eg"; e_fb_requestsequencenumber="AcLgeiYExkhxmmx9X90iwA5FtjaW1Mnbgjd0DyoJh8hebhhRnBgN7oHIYg"; e_fb_hostheader="AcJZo23hKnFHkMqEgSD7k2U6vF3p3sCW5pEAkCMXYCLoBkYinpGYAiko-uBJMBfWAXAYCunZehEElT8r"; e_fb_vipaddr="AcKm-15-Q-W9PYCdRAFZe5zT3BbwNUbfFBWuaE7ELrzSYgaTO6bFnH4pR_wKgc57LruE9j-jIg"; e_fb_requesthandler="AcKEd-GE186EnSRMi347m6Wdc1mjjicTXclK6bW_36q6ywix0p48J0-aiwiGhhNOdfhLoEdCtK0"; e_fb_requesttime="AcIT2ef2ytUJPdET3GFLw9ESqJJWCZ7Y7YnYRUm3PLu6VOSV_-AiRHQ0qAIikM_vtmINvsfPyw"; e_fb_builduser="AcLYVBMP3oFFOKqlsxwr06cpDbNpqdVqZ2OYaj0o5L8KvVyma2x-gfwPNdYIkPraWgw"; e_fb_httpversion="AcLO5t6723l5Xj7Mg9zbznWmjLkc7oLvCXgDcvgFxqrxk2giZl1KigF_4bfL"; e_fb_binaryversion="AcKisRucv4sbrUg3WzOJUvMKqUmOldfILiGTjThxcmzDPBtbu-8uhxf9xSM8PXLrDrWfb8cesRw46hdyEGY_t_iKIAbxkNawHow"; e_proxy="AcLH3Kb2XW1oWbo_iltYv1P3UeIpGrWfRwm3H3R-HX-w_q9iF3QznMCfugolrUdEwaLOBTm-vovClFI"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7375581482477053"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 16:33:13: Error on send one message facebookId => 7375581482477053 03/08/2024 16:33:13: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AdL8iEl8abrSISNZyJyjs-c" } } 03/08/2024 16:33:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/08/2024 16:33:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/08/2024 16:33:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/08/2024 19:12:00: Error switching inputType 03/08/2024 21:19:56: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7244664858974359?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10004720, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7244664858974359?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7244664858974359?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7244664858974359?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7244664858974359?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqUSvnOc4sH4WE164xq1KyC', 'x-fb-trace-id': 'E6yvLxaB2s1', 'x-fb-rev': '1011928436', 'x-fb-debug': 'UdZosLesDuQKVQL/04ljknHYO9GX6dgT19CwhQ/OYEo45VqpC1aJZepg4N1xQ63s1YD5P3VjncAHc3IsmRiyaA==', date: 'Fri, 08 Mar 2024 21:20:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKZS34lqi6laMatV1LcvXgB9jrbCfPaFdyR_V4J3tZYoD42WeWIdWlc7heOjA"; e_clientaddr="AcLjhdnhCkYzQLuz4bAzpZN9oVsKAl_cYvOETJN921nHj9vzEUhEu2wBsnM_rWcJdE7o9qsJzn1SSgpY8vMyrYG0WTwmhFsXxjninvmkMuEFfrQA"; e_fb_vipport="AcI2L1jNYGQN6X_14LhXQ16ZKtO05rIYSFhL-CbUADcDvfo_EOH2darD8o1P"; e_upip="AcLfsbHdMO9C06KZ1vGktS9ntSYw00gdg04XXjdXfakz2sjHpsQPhOUVof7CxxXg8O8oNYe-Kj_yjoTneYEfabOZiGyA3SSB"; e_fb_requestsequencenumber="AcLD6GcToFC1bU-gA47YCYV38jfARMqdMKp2CCvVCB8cSK9QwLVpLchaqYdK"; e_fb_hostheader="AcLpRnUyHD7eMZgvdhglYJVMq4mQxBgVX4HhWLDVxktjecB84-kFIpma2MxYOagqDzftrtEmRurMUz3i"; e_fb_vipaddr="AcKI01Yf_VBjGxVrVMWpb4318LLy03F4SUyl0Md_Jg_Y7SguaojV-6iNJmDPEHlLzPpi8RTeShX64SMEJ94Qg0w-rZi4lgqzzg"; e_fb_requesthandler="AcI-C_2rR5BBwtYR_gdT2FQbALQ1HtS2qxOpF4Xk1E935rDipyTAScEaLDi_iiEBKi13S9TWyLE"; e_fb_requesttime="AcLzeQ103NkSFy9lV0JmKg6dV6IP0qNaE9JoJNhy6D85nX9tblBei2eT5XhgRuVAhMZTl6lm8g"; e_fb_builduser="AcKw4Quvt_hLtH1Cy2UHdL3v75pg4tmfo2fxzmAVk_wXummqDJr-e55WXPYbngXf3tU"; e_fb_httpversion="AcJbI7QTp1MgtSKsoQxfimlXoT4wmND2MNfjmoRDGQry059DTgTdUge7Lm8U"; e_fb_binaryversion="AcKsm9vjGs6AauFoBZJ_py4X5NPbWlVvl1aqeUSce7tdBkyS0tdOOBiMqdl6L1z-c4sOjLYDgWEIs3YsUbZZS8Wor5-XBraGeaw"; e_proxy="AcIQbMghxGaqw2YQ1gRX1RBGRRX8-oAJT5xSh4KrhZ1a9c7vGYbh3vWMrSfag8CSYoYV7z5EvNGez2i3bHWt", http_request_error; e_fb_configversion="AcLMJX9bctVHjfEKZyLNJTSV2hEs_cgUX_bVTQBfft8hRjzin2NBeZFHMCbekA"; e_clientaddr="AcIZDK--N2c2aYB9lTV9-xUgvtoB0npsbjq_K1y3Hx7MyNPTvoUlj8pWzyUM-lfvjRFOghuVuDNh9M8P7w"; e_fb_vipport="AcKXhHMpCZH3I0EPj-pkPl057bjLyMcoXvbtz34ifHaHbfOhyKps3If-FOvN"; e_upip="AcILd1aV09o0vZQrygvh2MQHEpiO9P_TI2objG2dRerSlO0puRc-BRoIkTtULKdxZybSazutrvnTuG6lhDBDVIw4cleLjARcGw"; e_fb_requestsequencenumber="AcL_mOXyxGLAdU9APE8fT84rEjgPQJwCGNB-0VowhSkWMZ7Zdfz1v2b_1Q"; e_fb_hostheader="AcLtqawd63coeJxtg-5nJ2RxO7-daMI2Kt7fVk93BH3THz3X5Gn4BNMjsNx_x3zpD8lv5m3Tt25c9Qov"; e_fb_vipaddr="AcKRIavoPQKvnWtqseBfCDF9OrCVn1zQltw8f0FHDRnujRKZUVfoWP_F-zjum8EU5xLSrrTRiQ"; e_fb_requesthandler="AcIEjTJRrr4ukgW_gAcC_avLcZ_a64GDixGATe5vtE0cWAfBEHz2A3OfiDT221Y7w5f2XmYnqrg"; e_fb_requesttime="AcKMHgVqQGTapTHlySc9lalA8DzzOG_lH-CyT_zngZQaCIp6WY5vYaBuW5q7TqquaSEWmPuUew"; e_fb_builduser="AcJAr1MogQ3fmZl0qF_95_23B-07j2LCMUnOl9P-uYLztuM4W2fhbFkPoj0ggUWvZx4"; e_fb_httpversion="AcJzQKRtTuZd0_t7otD7GmjRoXV5Z66IZV2dIj1fGFIUfegFUf7wFzZ9ccD6"; e_fb_binaryversion="AcJdN6Eb0YKu05Bs-Mn2_fhkYAZscGxfeGcSpX0vqksZzb0XK2Y-dEQ0diIJ-I3UKkQPWa32j4zsY4bcAGq8j6JQ0pb-Wql0TD0"; e_proxy="AcLIcdV36oUt0_eFk8zGFbHjzu5XmUQwsbTDN8fcbfcEKzX6LU_K4ov24YYRXRV3Znq4C9hQakR1Ozg"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7244664858974359?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7244664858974359?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7244664858974359?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 21:19:56: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/08/2024 21:19:56: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/08/2024 21:19:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/08/2024 21:19:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7244664858974359"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10004844, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaP4cLX5WUTmT47Zf3MIgBE', 'x-fb-trace-id': 'BI+QRyoQPT9', 'x-fb-rev': '1011935636', 'x-fb-debug': 'LFNeMKQFvUbUkessGeR/1fhqPhkrd9b9PckhIiqe5BxIrVSEz5TsTjsl/EWNifPrvcNb/LuEz6oFf61zW8Trjg==', date: 'Fri, 08 Mar 2024 21:20:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJUO1JcE9RTayWR93qP32rHk0Kf_X0MlZXhVKfVPAgeFP7iZXuZ425rbeQ2qg"; e_clientaddr="AcI083nwAAQ6KveTaCp_3ow7YDmn3BNUgSchq56HMyrC7ilU_-h4Qzm-pyROsmlKTNDtX4pPRBWMaxMAMuPruM3iQxzUxvdnxp7MkrSH32P7Kjot"; e_fb_vipport="AcJOfj5mvyKUEDTMAjv-loEDkwDX2NEPtN1DoQ7i0bTfTNiwGmM0wc54PQtA"; e_upip="AcImC9lQzXB20GyzarsjINnFOFKSBnTYJxJc10vWkHkKyQF2804R1zylGuHiO8e-JBF5kat_RJv63FSPF763fv9p2VNrspqI0OE"; e_fb_requestsequencenumber="AcLDAwpdq67IPcZ_t3woolB5gs9BDmYBhTRdunmVa87vFO8HkXVXf3qFQz_I"; e_fb_hostheader="AcI55TfbXrMFN90g9jYLfHKSkBIOg6zzJH-dGEgmDu9XNZEGHpPjmxPllClkLlt-Ali7w3E_1LFAcu2u"; e_fb_vipaddr="AcKr8Eg-xp2CGXuXZWKtiMxYLlvt8uL3SY4LEqSJMHbPhCdxSBwgEujR2f1liigxNTXXd-yhkHVRKxjeJMo_HGtMufGieBHtYA"; e_fb_requesthandler="AcJqc2aceoLLtsoOdYxwilxM3atQeAk-lM78W9QgME0b1jFo8hJRRrYQB-tsAm3CjFWfvWkFQuE"; e_fb_requesttime="AcJdVn5qYfAsmXSzsJmXJy7fkMlRnRuV8M0fnFnEgLchDV3UCaU_gveGlc0JkMpluOzcP1nV9g"; e_fb_builduser="AcJrmBGg8NsCkedNm0UeUKvwKXVgYJ3oe0TWjI3lWa-cC8huXyPL975uKkQhFyJpwNg"; e_fb_httpversion="AcK_E7ux7eD6zOUz2izXQsD19VIV2RC3HcclKtGgtBxLqcCPSdZKxzR78nZM"; e_fb_binaryversion="AcLoXXNhnaYbOX3zn_n9E2ZNdrXpeN9gl-YeJ20_SNuRS_hmTzRwO_4nv9-HBkAEAUEHPSMlmctaKjv4cUnfObHLX_X3GcTGbkU"; e_proxy="AcIbcmgkXjeXH-aEbVTR81g1R9lHhpNryTYskGXrRn4QhqHAWGbRoTUu8axlFzQutDOx9wODUbIGsoDr6G1E", http_request_error; e_fb_configversion="AcKqYADof4HTf7UGCkGbccrrzau6-C4kMW7QA4wQiPu3nz6bTGJ3bExvjh1EFQ"; e_clientaddr="AcINjqi6qXmYmxA-5yUdqRKWF7nCPNz7vPvgG2UxStQVdlPgiwXV8Ib3Bv7wJ66OW9iKTJOwWzknv0EXsA"; e_fb_vipport="AcIIspKax3eviTn01yehkpK8P8cQSzibV3cPnr6tzXE2gy5-ti61RcIkuSS9"; e_upip="AcI3SyzAmNcsbZKVWcfOXIWA3Iz9VW3V2AYf3kViiVO_BbfsXYBgTacMPUzseYPl06OcIHs5qhL28lurDYBSbskJv3cYndr22Q"; e_fb_requestsequencenumber="AcKQxGrB23eXoOTV1zfNNFF_Lu4mmA1tKJ5rKbxlJRE-7N5UdDRDqzBSPQ"; e_fb_hostheader="AcItqc0XOqAq_o6js4M53dHnfoxmH_yE745UyiiX1B0G3i0HnogJ_l_lCBg2CedExImkW-irJLjWmcTG"; e_fb_vipaddr="AcJRWNRCwpuG5mioTRkJSXrJTHArLXHfqe1fSWBNV032pb00y4tKqXOk5UGsfInVEXfsuFSzCQ"; e_fb_requesthandler="AcLN8r3OR-rU-hTv7arbr_Rn-1XHxX1MWhDhcdwBKWamasu4ciWeH204Tuo9PDsryaoEMD3sfbY"; e_fb_requesttime="AcJkMpiMHK74iVOLMJWegyzDSCqD2yI8kgsGwMmXKKVBe4jwapjUrdTX1nQwYc5nlbmSnLu-Kw"; e_fb_builduser="AcL9wkCrD8o9W3cCAW5kr9rBw9F13A8s0w-Y7ijcxswr1trt00nYFiaGZg3H-I9wkcs"; e_fb_httpversion="AcL6w_mih9VW2N8zwRAwWTJEZs0CW7oghMQ_zZzvbR7pnLpHAFP41zUlqPiJ"; e_fb_binaryversion="AcJOIVzg9rc2vM-U6oz4L3GXixuHyM7BQ-gse6ITrGpplIwvOQ3C-ZDpnFEHd2vB05zFuQ3KuCHTMAe3Cjm1oC7MTIbCykGHbDQ"; e_proxy="AcLueeVIY2CIrvbTnciVe-tMRZivmTXCHLADVNz8is33y1FEjtyJxVVxdrbIlbTNOdS7vbwUG9sqL2o"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7244664858974359"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 21:19:56: Error on send one message facebookId => 7244664858974359 03/08/2024 21:19:56: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "APc5eQna_AF-_27AKW_qvhN" } } 03/08/2024 21:19:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/08/2024 21:19:56: Error on send one message facebookId => 7244664858974359 03/08/2024 21:19:56: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AsqtVuZpalTSPITfTPAlBv0" } } 03/08/2024 21:19:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/08/2024 21:19:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7244664858974359"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10004922, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Af-Aop2iPkdAwbV_vTIvXma', 'x-fb-trace-id': 'Hximg7O/cFI', 'x-fb-rev': '1011928436', 'x-fb-debug': '0CIAbJjmsi9hr/KUVcrgXIXoWCkYGiDL+vF35slgx8IsenT7b1+hNLHVwS9eL7LaPGwEMApdWnbtB3LyjBqUtQ==', date: 'Fri, 08 Mar 2024 21:20:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJBknJP-6407-at0WEAA2HrrwyzyBl1fjFLgJFc3C2h83jVRgzQVof5lD1bTA"; e_clientaddr="AcIlGptcXAw1eTgw0pEuXh7h5J9w799Z3-lvIkC8fXUC2_1aY-v9N6C7D56VYlEXg-ZV_m-rjSsuj6LJbFAa4LByoGUiyhnIvCiA-jjDgs6r60Z_Jw"; e_fb_vipport="AcKZnZNHMUAiF3rMFF6nCm1XxJPVso2o9qE6WojLfoxkcGjQPDYQoRpcarQR"; e_upip="AcJNzq7gVoec7zIyGP2ksrixZwo4pFdDrVVmwSPiMovILerEx-sfHxr9_bGkxcbTEBYUfJlNORYWm-SlNSQQYm3f6pwYweoKzQ"; e_fb_requestsequencenumber="AcKp8VMXedvIgnAELOBvk_SDSo5fDbIvuD44ZrfJJzSh9ggW1Ywa8wbOfYr0"; e_fb_hostheader="AcKH0E3xcvrwe6CTSrK_HgpRUx3pZ6CyHh28-N_rNxO2Y30EMaQHV9GmkB4b8Fy84rIOiDtW7vX0RPcP"; e_fb_vipaddr="AcJl7v8YwWdiUQFVrQd6R9Cz2e4H5YF4XtCIVIOz7-nDuzg07AzhfhOqxu5iVkZA45rQuoM_3aS204fDJvpEpbvkBY5DD6MT3g"; e_fb_requesthandler="AcLItLENOOYgKvpR2Qx5uHw-RjEekTXN0VMXy8Q7sftTfuBTZdNZ4rAostH-pJl14WD64ig05IY"; e_fb_requesttime="AcKKisXFaEKEJe7Tyws7w6xTj1gz1l_R_emu-vVWNp6FOOzv19cIRg31danPjNWbJDkChdJEaw"; e_fb_builduser="AcJ_lpMGGQNjQ-YEZPs-X8HKZ0zjGhj8N0fkp1WQ6q5smp0WagiuT7ZuPG7ZIE7qbPQ"; e_fb_httpversion="AcK-R6H6Kjj9G38k7I31FOcSIwhWIU-wyOczpU5IYluAjCtFbidiJqFLhdid"; e_fb_binaryversion="AcKTaNEL7X2KLAcU7HzY4MoYtQgzOCXqo1AwAey-8GJxtC2M8DRaiVC592ZH0g4mRomFzrQeLayoRG4gsMBf9gzznt3FgEHhqYA"; e_proxy="AcLGhADD0G2u4x-vyft7dG6t4SAqPY2UTeWMn7CxZUOIIz1tBnvuWNrTbKkTOnT9OcpLVLBOV_FijgcWOR-A", http_request_error; e_fb_configversion="AcIP7wVvb_6uUbsIb7UC-uWS18Dv8Cm_-2hsYi5-xJuuyt4JYpgs_sbAXfFLGg"; e_clientaddr="AcJVQrLT-u16NAv5lulirvKeQrFuAaMC4dS1Qmg022PEggVpS_6V2jqpG0sWh_mSjbH-Ey3tgYDtCqNtOQ"; e_fb_vipport="AcJ5dhc1AG-fdE7KaWTII6kjgdRATeLVHvAtJV0j8FvfpOFQORITuLMCYHGb"; e_upip="AcJKdoHMlX7eFJsTPe9f7xo0SvG7q1qgCBHxk0jx1-qJvQYqpkZp5RfELIwFOwAb0Au67AuCLmjCSKMKKc8dNTK58-j9YkL3uA"; e_fb_requestsequencenumber="AcJID8rQ7_32s9lyu38t-3StNBUGCwBB638SKQIDUNDjxpKyaYlgOggIJw"; e_fb_hostheader="AcI5CY4Iox-aldUEXAedeEGt7S4dKpExzFOENB0zZNXMQ9BdKhQg2q6Hqv60f-GDwTDzvEvDfUtoKXjW"; e_fb_vipaddr="AcKK9iABZyFJLED5uJUFfhQH-ODfsuKhVf2Hudom3SqVOLtoF5Vfp0XezaYVCesfnr3D0p6k0A"; e_fb_requesthandler="AcLmQGNViAQGsIgn4AQpXVUwRBnRwxVF_J32c5fWOesrPAKmpB9WW_Fi-VjbP627b38NSuImjnE"; e_fb_requesttime="AcJ637DrMoqjjNWB-NoC_1Lzr75-Krol0eZQQ1sBzedFDKSZ5Ur8GPmKGEvoY_DCIf7OErBv4A"; e_fb_builduser="AcL8D6vn_XPFSBYuSoSu_hMsAInnZtBSThxwhDJVKLdB2TofX8oPS9re8XEEdjXkN7E"; e_fb_httpversion="AcJAAu-Z6zIByMjGfMb4umm5ipmzFvS1F9cajWEpgYf6uywGOx1eT_Hd-G-J"; e_fb_binaryversion="AcI6jZFzANQyds0VPgYi07akx8rw6y8xSGs5a2JYCx8fE0hqCHehj0c4CXtJSTYbqVmPIaiHuD1tvZRvUYLsSdpqVOK207YtQOY"; e_proxy="AcJoWPGXVwrOec5swhK2zbyltfxDrXtmuwyAm3KQ5226A3df32ZeHAxN6r1a-aumdyyuj4jIJtkok6k"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7244664858974359"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 21:19:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7244664858974359"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10005025, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 36, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ap8sCniUCuTZOT4W_uZbFTS', 'x-fb-trace-id': 'HN6WJDPHBrU', 'x-fb-rev': '1011928436', 'x-fb-debug': 'eKFzM4CHbs5MQP8NLLIfGfqUAvs97uy6xW1KvK72hOXZlqN+gEHBTTNozpHygzdIQ4up/nDu/sK9/3PqN+qURg==', date: 'Fri, 08 Mar 2024 21:20:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJxzvGmkofZCW9ZOFAHr9NcGi0B46Vhnysh0uL8XZc83lccXFC_gjoxapg5OPgx5vvFThmPs1QjwsWRicmq4Q3gdxT2RsUhM_U"; e_clientaddr="AcKl44mU0s0bXEZHZxk21X5rYG1St5vqPeBahemkOJvAJ8eAJUg5bqMelhZF42m32tMbEKdlxIgy8oqClpx4JCNPKuu_Tbe_ehHgXgnzoCrzn9VCKw"; e_fb_vipport="AcKqHDohCl2gL-EeioxZ8rq0Uk9P-INGAacySEU4khxsv3UfB3N8z4DESSce"; e_upip="AcIt-R9PdCpoNJYyRT33vqpbs8G6eTwx9s36_UVE9NvIC4KE_FcVajIV3GGdbcbO684Mgmld5qNefcmclgljh0XqpYsSdKA4cw"; e_fb_requestsequencenumber="AcJ7hhZYx-ZI6fw4qARi6DsdzrlLyw2MBsR9rMjPJBhumeRb5ZK518NInJm0Lg"; e_fb_hostheader="AcILS5Qqefb6UYqlZzn_m-fa2aZFzTLlLjBJxSpU8y1X4wM9yJjSRxazGK_j4mWyVtuiOn4ZLUT0OZPF"; e_fb_vipaddr="AcKq53LyFodLER1CFBTsMy8IoS4OIrsI9102U_QhOAe92cMbFpyyWNMWsZy9uTK28QUysuB3V8sXv5d0ct4RnoGXnb2adj1tAA"; e_fb_requesthandler="AcIq4iIWqDVKHnUsdHJCUF-WIN6onzK97WGH8yOXpsthffFGUGEQWgAjXld6Klt2jIHa3QJ_1Sg"; e_fb_requesttime="AcJAC7wOeIsYCrfEf-rES1apothYfNs_rvxUXKaW1o2c6bDtCIri9qMhPHXYORunmBfpWcjHQQ"; e_fb_builduser="AcJ6BkoFcTpi1kybFqG_dmcP1MS1Ri1TAx4T7t-i07hKeDM7Bj63DYhRiGXXGUhyjQ0"; e_fb_httpversion="AcIyHYP72z-L29DMrIprCKO7VTDxIqo6OSF7iTZcOW04AG2xZ68-7WeB4V1_"; e_fb_binaryversion="AcKnDSgEllu3cxzpPtejd2uaVqUiDPVSkVn8aIeEVh-OL9-Qy-SOlA2b_m1C-p_v29SPbS0GxW1oyguCVS_utvKlbwIFx4UxCzE"; e_proxy="AcIVoBnGLKI4pKBwr8Nz7F8dgryBfjFCpdN9WKfwEEi5u3j8gdrXUScywK_Lxw2lbLyEmOZL_qhNlrAVnHVp", http_request_error; e_fb_configversion="AcJdQjiCvc13U0vF2uydSQcpS59DfNhHzzU5orqFoNtsgepNvpHDzRCwuEeBBQ"; e_clientaddr="AcJUQmoHSS-_ModRimD41iCt01GRDdu0Ulzdd_MJFDrHBzYkn4SaIq717jUtRw8lfIkC2IlV7yb29P7fDw"; e_fb_vipport="AcLNzHbJrSmYQ7BFIx5FzpffaJpBrccZX5J-MBZwmfpEqwjRqKA_dV11B9gb"; e_upip="AcKnMbY1lFcyqGTA-XIuSJI-v3-14jWI1slkjT_efPTO1ZDPCsbQ9R4jnfZWThUBLdKtvUwFKvIKj220Bv9A9_WbcT1QdvWrNg"; e_fb_requestsequencenumber="AcKHU18m4GlcQED6as9LBIry6oHHnoDU06Q_ZKhoNKAlGqZntGdb0ZraTQ"; e_fb_hostheader="AcKglOhV1dUtPMhpuNbm_vFakbuwpem3-kh63GoKTgaBF3qozTYgHadAEfR10TnuXSRWbmLi3RyinQFL"; e_fb_vipaddr="AcKTFw7Q8z5CXJSxpT-Df-BD0Wh0cmKJCo3-a_cmyHV8EzNpdEEG5IhLA8fhS-FG1tCMUvhaYw"; e_fb_requesthandler="AcL7pKP60QNR5ixD9CWDoMAIr2iDbZ0FdmxMS1wmDan7dAi9yndM8KWNPFBk4LeVawJ4J05O0CY"; e_fb_requesttime="AcLa_v3aLmP4FlhjBwyfouZo5aymfLBKTELW5szepzK0SHE76vD_eekrq6ElYt0dDBYXvaAnuw"; e_fb_builduser="AcKX9ShaTXezBjOvnTrPtywtNL-ZtjPZ8UAqRuVuJEADMUd5Wm68NUcE6Xokry11dzI"; e_fb_httpversion="AcIcQMrYnhggkEuRte50mEc531mqAgE5Sd1AS9Fl_KxCkgS1wpcmO1R3Hz7E"; e_fb_binaryversion="AcL7UQGb7iKhQTORmGiplz6oRMUpX_K9gE2U_xppkEyKqfFDcuwycTFrpCdo9_PWyymduZuaMv1_2hHI3E7mvw3K7otXv_3rv_Y"; e_proxy="AcLn0T81sUTWxOdUOI2iXuk-sI7yE73EmgZ2uWZZ2xQH3eV94Y1WFXlnd9iR-GeNXiOo4REiICDX3IY"', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7244664858974359"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/08/2024 21:22:59: Error on send one message facebookId => 7244664858974359 03/08/2024 21:22:59: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A6fkZSOjvVk7ieOh_LhTpPX" } } 03/08/2024 21:22:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/08/2024 21:22:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/08/2024 21:22:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/08/2024 23:49:21: Request bot not found: { id: '973272346080861' } 03/09/2024 02:27:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 02:28:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 02:28:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 02:28:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 02:29:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 02:29:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 03:12:23: Error on send one message facebookId => 5024697470886067 03/09/2024 03:12:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Af3zrTSrvUaC0sSXGDX7Wxq" } } 03/09/2024 03:12:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 13:18:41: Request bot not found: { id: '320637341295349' } 03/09/2024 15:19:31: Request bot not found: { id: '917983134950234' } 03/09/2024 20:45:31: Error on controller payload Input Treatment=> type not found 03/09/2024 20:45:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 20:46:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 20:48:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 21:43:55: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24826738073640659?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10268609, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24826738073640659?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24826738073640659?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24826738073640659?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24826738073640659?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_m7bai8vZKHzf79-f4Bexe', 'x-fb-trace-id': 'AMZwT90qJVj', 'x-fb-rev': '1011954133', 'x-fb-debug': 'esNRwTkA7LIVlqAQ1H13JrDBeNoFY8CPtUeBLFRsI/YQsVlC34wboZMggVG19MfoMznXqZcs3emKvGPfcXIyvg==', date: 'Sat, 09 Mar 2024 21:44:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJwiHglMNDFgejTyJZ0x6WX4cagkQWb2mZZFluRGN7O2DLj3__-eD4_MmsTfg"; e_clientaddr="AcJ5JsjyhkcsbievtUCsfdLR-ZaNv-8y3zMDYlGbtCDBQrw0upl6nuTKvJCayYoOSbkiXJy4xRg-40YCBgxLHwTEsUAFXJqaJNcquIRRDBXi8qpE1w"; e_fb_vipport="AcJ_SU8v6S9KQgbUeN-gOzv6H_iqZUQa6plb-PUkM64tiYUg34myYxHTaEUL"; e_upip="AcLlY6BTMtkalPHI29LIQ3nl_GoS6yghTviTh45QLUEahTyD5JjQuFVmcIkgD4L7vHiYz09Cfb0uIZJhemaQT2mX73xZKA5gadg"; e_fb_requestsequencenumber="AcJ9qS-DxzJoYrX3Bjd-tdGATTfsaF8kbN8lHIE4SUJLpeK778H68J8iZF9I"; e_fb_hostheader="AcKwR45KIRcY8Te_gXYU0oxCptM9I5T6lfSlRx8hXPvZw8pAH4vWRw7aojJMwn_n73nOKWm0BVPbRkJe"; e_fb_vipaddr="AcIuuJYJvqr1v__pXxq6PiJrXfRvpG9ea2wfDH5TrE2f2zVG9yH3Fym4c7iNirnTZhS4CflYPzxFcbdGec9ytdiPsialKvzRfA"; e_fb_requesthandler="AcLkxQHmBPrdo-uJtKZscSE3GiLLjm8Wo98OLNP01aKeoQ085YZ7mH5YIVpl66rjYtoGwOhPBLM"; e_fb_requesttime="AcKwwarNAhZ7lp9Jtvy7jGtXACnq-xbIdZlshDaecvm4XJByCmWwkZG71zcJR-JKqV5l81bh-A"; e_fb_builduser="AcKY0n38dHdP-Vf1EJ8rTL_oceigfF02-Gm279U8tvhwJZ439CnHNhuYBUU8-CejU2U"; e_fb_httpversion="AcL9UftUNHE5dEo-2P7_vPoUTATV6bp2a8AnkNgg3hvdTSuMyHcTAUWoxmQc"; e_fb_binaryversion="AcI7ezBRp3dEjjJA_QaxZfYCPvlvTGdfAydrE388PvyOf_1u8r3wF2Q_onVfC1foy15boIQ8YttZTwQ_HDZkYmIL5_2VAFUhEeE"; e_proxy="AcLAnr90KnYlGR-Hqc7ndKKBze1_K4oHg2QjWjNke2vOxxfWHvfy6N0s1s0FGKPCixwlwZJRW0M6F2b5M-zN", http_request_error; e_fb_configversion="AcLCj3HmHmd3jjtT2P2JSKazfAyhcr7qp_NtlLeg9nLU6VoVhIJg7REKjcpCKw"; e_clientaddr="AcJ9bQNdTDy7YU2KpCHUiaFcyofY3U0Fqp0aBTViG5-3ABXCYpyydENyJUDsyIHfDAzYXkcXZlMdzNHMoQ"; e_fb_vipport="AcI8gXDSg3TrZq9toMV6xCWRvDaI0GLk6l-o22RWfxjHVXnZgQL8sy__onZd"; e_upip="AcKN54MrDn_-PlrU0SA-9nPZqQwWnDGO_EQjGOlEPfovfZsbJhPC1HAYSTbLpT4-iB9_JxSsanjioKJ9GwdvC5nMkzPMaOhflQ"; e_fb_requestsequencenumber="AcJcqjgeFzbZ1KgAj9uq6j4BetVTl6AtYX3dgKGP8i8-XQ15hOwMYoKTyw"; e_fb_hostheader="AcJN95prwvj4CjR7tnGYR3tAVgbndDQZOPpr0MckDxBvgCqgDKfAALMJysTnDsQQ8XEZoVMkSnTIAtU0"; e_fb_vipaddr="AcIhUhwHKwC49LGiNMDYuGwIKtVVw2PkNLQN6eKYgKwZ8K1sdmuA2mYNYPywzR_IymNrxeE1ZQ"; e_fb_requesthandler="AcI2MpY9zAyWvMv03IiCrmRdUBhdeJWQ9aASqVd_3l8nkkVMA_bTfM4GGSzwknDx0_11MnLTNgI"; e_fb_requesttime="AcKtc2gwOTi50l_LRTc4U5b_65qP6vQX6cu6YEXBi06itYRYCS_HL7Jeu86SLlj-QxcJgGbVxA"; e_fb_builduser="AcJp9qlKwgTTkZyzpBtvVJ3e9wZ1Vdg7vzU5Z6YkQfT4eHaRUI4vme-LTBTQ4K0AyUU"; e_fb_httpversion="AcKxrEA2Y0DAYqbHSN2BErXIkRXR1rWBXdhZwY5WEBD3yHumFC5jIXROOdDw"; e_fb_binaryversion="AcJZmt7CPI9-fq9CKlbF0Ijor4OPi3bN0eC80tXLUJ9dqVBdZI413KUMIt6GjSIchGT7U13KHVr7C-JkJ3Dbj0DGqdtkjcBFVCo"; e_proxy="AcJ1nlVts8Tte05yut2ipoeW4gEZd-j13ARo2oaETG9iFdjVvzwLOmuIeR6F7JF_bIOky_R_plwAqluS"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3407, tp=-1, tpl=-1, uplat=308, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24826738073640659?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24826738073640659?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24826738073640659?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/09/2024 21:43:55: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/09/2024 21:43:55: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/09/2024 21:43:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10268727, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AU-EqHXuQg_zGNUHYQ34saJ', 'x-fb-trace-id': 'C3zBIjVd9N+', 'x-fb-rev': '1011954133', 'x-fb-debug': 'iKivsDzka/N1UxLFLNRXKdDWIdJrEAXklPIuYuxlvxJ0FMY6aj89MN9udN+hD7pxLbBHH6BVuuHHjp79Kut7WA==', date: 'Sat, 09 Mar 2024 21:44:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIiYBffqBX-AqE-_eL1zO0jCzXuAOTVv686LNdTYSaytFnDoqAlLtOYl72MWA"; e_clientaddr="AcIadIKE2H9kywdBaubj_5W5UBcpgZTWhcZWp42clBEIFi8zsp6RZ1Qk5VfbJTiJqolY1lZFwkk3fqaqITczFA5GUiw5W7JKTLe4-29tsL0oPUzm"; e_fb_vipport="AcJJW9c62ek-J3qjrUkweKwXGmC8BLjH5gIMf73G6_OSxFwMZyJq-u9bHW6w"; e_upip="AcL4X4t2Ey9wHs06G4yFDkbC1ifKBn4cc8M0Ll6UQ43dYW_Ms8tphE0iPIrbbQloKwdpi9pUhx-5LJOZumy3d_5hQEa7qpLBNo4"; e_fb_requestsequencenumber="AcKpi0e2XTS0ftLp1VnOBDS-6OiEWr6XkN-cUA06OsSlQQh3NFzeorfh585y9g"; e_fb_hostheader="AcL71fDi72kX4ggG0sYNB07jVeVsnhtUlEE4Up5f6Cwd3dgO_kqowGXvMSf6ixw_hU_4ACK2wtjGjW2u"; e_fb_vipaddr="AcJs7vPTJ-oCQ7xBflm3R8OWTlagNceLYrdjEgBSSfk76IFelxU4Ld5bevdPxRd3Ol-5698qmfnw3JR1L8Ocor07BpWgAljjbg"; e_fb_requesthandler="AcJSBJTFf42zBbF3TwBmN_dknvSCGAf1SqP0MlQtaqxXAjsv_gdNIT9iUZIJJGPqrQxei9wgUYc"; e_fb_requesttime="AcKKyx2UdptsikpCKefdcoWhVoYKP1uk65R60EekdjyD1k15hIomRh_AgXnWMbFCxTdPgea9lw"; e_fb_builduser="AcKkN8W8JxNX7ZBvWfWYg2VFgM3KE7cTQGu8Uuk-FAS72zkMWjSvEy7KPRPUIzR9TTg"; e_fb_httpversion="AcJ6qV6r_bc6TXWQ7GlKoog2OvIysIHIw5mjhOFUzh_B6YHXlRU0NAUGHuna"; e_fb_binaryversion="AcJ3B1-9CCzc27WUuOEe3fLkfYYsbiE9SuSE7xnriK-AzRO1qi_CIS6WYYo0SE4kp-hYa6wtZ3Hma8oQpjx-GSvZXNWi--hxd60"; e_proxy="AcIRiVGchDeJvNgvrBCbTYxDKSA_YO91cfcCMpH2lJTt6FIxVe9_zRv4E-t-8zvlKClK4MzYjcknZdihLoPh", http_request_error; e_fb_configversion="AcIrLqR-pEnmfCCdFH9Rub_G3ZcqSNf3g0PEjVX9XBdYweE3lI_Bbn6xJfApGg"; e_clientaddr="AcIwqHdm7-AvyMo_7B86243Zbk2IqjMX_sxOmYmh6X4XajE-QJ8bWeqSaXoCnr6dCCf8GrSf5Ody2QAljw"; e_fb_vipport="AcLOPn-ueVbCs64NFmsAHdLHS2LrL28ooHRIs8oh_8b1SR5VOYSUiG4Olw-o"; e_upip="AcIpystR9w49EaPSdPcNlwgEcP8r3JcNrEHRd8BJpc-XIrhoqguFl8pI0t-P8ChFPBfTZZdy4Mx91NgRpDINBvYDdpYMtjGkNw"; e_fb_requestsequencenumber="AcKhgtKY3Mc93XBTVXoSjRsVpSpKKkFPjLdBk3KfNJqDNB2M1FYtDQ9NJQ"; e_fb_hostheader="AcK67nv8iTcVmvs5M0idO54znbLn-oneTVUopBVxufr27sQQU3g84kjZZV1b3mYSMLJr3f86lKmd8Uuq"; e_fb_vipaddr="AcKFbg5Vs6H9mvaVgW5ISGRtDnZeEMKFFf_5nbQ37il4nE3TPEwVn5OZ7bczSgdBYxYOPLJj2w"; e_fb_requesthandler="AcJgGfdMrZyC9pEkFOGw4N9gi4oeieMnPd48ONmY0FhalGCjQ-gife1QRa3k1cCKnr3a6Ke5FCY"; e_fb_requesttime="AcJ8QAeOVzN4OobZ1taWGjJBOOtaWv3AVFhYPbLAJprc0oPrJz3eLV29SbG4ibM9xCL2jjsSZw"; e_fb_builduser="AcJuvFa88boNJ2WHlITlYZxScAy7PwKzIH62hMByokKNHgWWCFdz2xhfhnJLsttnndk"; e_fb_httpversion="AcJh_1au4eEof1giFSjHqLcevKnf1c8kEHtRiJzt96op0m3d7mZq7DajwqBl"; e_fb_binaryversion="AcL9Pu21WXGAVTIy4ATdOEaVgPyL3NclqYkujYx-Ci9vcA76FwM3flEGTQkk7UFC9hEZfnJNo9fRu81K72SDGTN4mBXIYcAG-fQ"; e_proxy="AcKs3NzeoxKbaDc3jvmUVBBttpYPJRff76SExlf8ka_lX4vXCSuLSTFIVx6bB9m7UJj7gYQ9hDAq9bw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=183, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/09/2024 21:43:55: Error switching inputType 03/09/2024 21:43:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/09/2024 21:43:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/09/2024 21:43:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10268871, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5Ngzw8gcdGFOKi5InXSbQh', 'x-fb-trace-id': 'Dh+sRLsRVsr', 'x-fb-rev': '1011954133', 'x-fb-debug': 'wUbr82QXeF/3t704CvZy+IZSfsAlaReyolq1Mh9jEtuh17PRQ9AVw6f5hqGa0XJ6h6Z8EaLqgt7PXGcnv/UWAQ==', date: 'Sat, 09 Mar 2024 21:44:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK86K0GY2f1m3AUs4ol7_bPW4lokt3KrtLai_6p-9gmTLm4wPOy-o57Cl6Xyg"; e_clientaddr="AcIzRe_M48YOQwgmPFhDlg7M2RoBmu-kFelOKqd_NABmDzhN0yeaZRb5MJv3HKA7GqhydqrNEUa93S9U2HSVC2Vt5FOcORUElghEu20Tyz04OozC_Q"; e_fb_vipport="AcJa7-Sx5NgiA5aAeQKh-NlKhhTwWXlQUXRCJ8lA8WZPiQA6b13zHIT4da4a"; e_upip="AcLmUg98WjtcIW24x47dAXQXP7n7FB4pWDDjRjYLN9oUXjemQ4O_A_z25iZswpZvq86J6ecgTIt2QDOoEGbxn4AcCH4zzZ8auA"; e_fb_requestsequencenumber="AcJoXjL5puiAwBYTkT-wr1js9RaaPduPGDnCjc8qrPoYKCesVWfhej5zZtin"; e_fb_hostheader="AcLOvjD_ueUB5EvzjEeM_6Xc2YAAAw6145XicyejZHVBbzQYQl-rL6_gGG0NkP6ysiXtMIEijxdfLEhN"; e_fb_vipaddr="AcIJ5jeTBE5b0O6TkEsha5CLVDoqzPPgj1SQu-M6l663gg58nuI1roqhQeRaOYhOLrtEt1W4qdXdp50WE77aczbOIIbkuwJcxA"; e_fb_requesthandler="AcI2Ih4N4Y99HWxmEXkmCeS2LKBB1kiNQ07Clr_nhaaHvbo2mMMcGPDsum6H-L9xw_RqkvUDAaY"; e_fb_requesttime="AcJRit6k0ZCV6Iy0BCyEaqFIGBd6F-8JbT7UsAl3rCfOkq4YUXwiFSxH0gK_s61jHB58y3d7aw"; e_fb_builduser="AcJTHQNDGzUJ5MgbEFBcvKQz5tvAsj34mCxfSDv4__eS0iNfppsRG9ILzlkej51NrfE"; e_fb_httpversion="AcKUz8JHa7uEVzMzfW5roPkHIJU5wiHlEbRXVt6eX91OZT6XEDGv4BUNU6eM"; e_fb_binaryversion="AcJk03rRul-NoHu24sbwP8KKYL4vKrC6p060Fi5bJhaj4A3or0JnUo4DiZVJSyqUefcdSO0UyoPE8CWtxaqykGYuy-YjetPKwiw"; e_proxy="AcIFx2vqdN5UE-f06woJUavBT2crd5s2as1Bi1_AdbEqKauZYAPMCAjBunAfAUvZ2WH4MbSh7mm2cCRBdwNM", http_request_error; e_fb_configversion="AcJtwTmD1qMenDEKSO1PrpLqUO-Z1izPExFzDuUQFHP5acf7X_Eh0T5ZF3yjNg"; e_clientaddr="AcJ3wzDLRyl5biG79VNfMWYOE1_FJvGBMM4KTG99OogfURCwufGP0_CL9DE6eGPHLo9GJyJ2YKwcN-eevA"; e_fb_vipport="AcLuwGTc7sILsCibo5jjDv-LoqHoIlmijbIz-o4KbKV8aBMwuGNs7ugERBz0"; e_upip="AcL3RIz3iTxN96ckrxlwPWUpIGT3nU4iQz4xTdfujvAaPeTo3nFSbyu8_U5trCPfInKVPw748VJHMmDAThRZ-as9Y0F0ZxKuKw"; e_fb_requestsequencenumber="AcLMbwuL7rMU7olL1KyM2hiUixpSqhImukHmE6bWAuGFBj59QOatxscztw"; e_fb_hostheader="AcLuAfT1yoNdtmRjSHufRjJKtbqZPz5Q45wsPL9gLyErp0OkJ_9k6mzjkyJp21pFzgxZOfSZFhVQIZTs"; e_fb_vipaddr="AcKQG7SNbFFOEwcjbZsunc_uKSUzkew2b4qf3ZpsWBaXX_qDgLTo_6xQlng39UjBO4fTn1v8hA"; e_fb_requesthandler="AcLrj_M50sLnpfGc_ZS7Z70T7JZ6jD7FSUq9BL1p7dVHSY_nYl_XCs6WGgJBYB2n1VXHcKu_a1Q"; e_fb_requesttime="AcLvDlFd4CY0qY3nrJcI43TP4kRL8pciT_O8vp06SXuB6s5yiM45LLmldKW1ZLD6BBi1Z6e__Q"; e_fb_builduser="AcKc6dHoe6L4ESCtC7RaYylfre0V27SRohnM41g4WXesU9TdqjJYNi9CdHqcfKdvQ_M"; e_fb_httpversion="AcJxkSHRWxWsU_7lcuvmjxZbOYjO2X_me1DEE2KDC7V0pOjt2_bvVzDDcP5h"; e_fb_binaryversion="AcJ8jUKpG1YQUeWFr32BMe42jLkch8BwX1ZnHZ9SqJp2P7iYcCwXjQk4RbqM5kn3fTPvxyOlRYglV5u-kFY59eOOoUywF2HO4VQ"; e_proxy="AcKv4ZrKjGDXZcj0gM86zOODqPkEJUh--EsOvPrTYN2qaQx0P-1p5u88bXfo3Yrgtpcmfav7Bufyn0E"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/09/2024 21:43:55: Error on send one message facebookId => 24826738073640659 03/09/2024 21:43:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGKWWWV4prf8tqBBaxiFe0V" } } 03/09/2024 21:43:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/09/2024 21:43:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 21:43:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10269010, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_9yVholcQQYQKxXWne83PZ', 'x-fb-trace-id': 'HQZeEnLj5L5', 'x-fb-rev': '1011954133', 'x-fb-debug': 'Pv9/m9iEG1n32Z7TLkxVSQYAuHeFJhNPv00Dqhvdo7D249N3Em4+NLbjH2lfzd6HVDKwbQMSD1yviRzLidYxbA==', date: 'Sat, 09 Mar 2024 21:44:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIGZguV0Qeeby6W69vbo3wgQfvlqfoGmi5w90XgIGA1JOrxQVEdOT0dcPaqzQ"; e_clientaddr="AcIsnZAkPdExOcsCA6_V5whx16_fFutr6dfzdhSIrXtTRvEdAWkaM40tEmnqZcTD55lI6ML_Yg7IYvSgpCaQaPhYF_rSQo_3_oY16WLiQ63yOmWlJw"; e_fb_vipport="AcKhROta7_L2libTRq3LP005VM99MGtt7OzopBUkjtEuHcDLD-EtXj0IdLTr"; e_upip="AcIPPlLZPdu5DH-coxNbKCTd0wnRwmC0LGTgaDdLQo0PMcohyCHQqZTXbZ9P0S0W5P2p94TU9AWTDLFHFsklCpa6XxUjjdtJLa4"; e_fb_requestsequencenumber="AcIcUCjA523lqqmSQblo7BD-uNcD7yT62-CJsS2M_rTsWkXELuhE7VHiLcLbrg"; e_fb_hostheader="AcLU1Oo3o4AjfkdZSWSPoeAAPRSoI_85GM95jhmsb7F2D7alxosjlK4n4td1AGzZXXqa3Pr4Zf8mtUOp"; e_fb_vipaddr="AcK_70OczGEF0OFNzW71336w5Ja5nAojQjsE1FUbLblq61wLH1XnWxNX-E8gVMNx_OW4PvDl71RjdsxpCfG-ZmpT5xFp85DHDw"; e_fb_requesthandler="AcLTUtv7Y7I7pnydiBPHyZDtSF-_gtVwsQixZY0KHqql5pliVfAE8GiCm_RFoQpv0V7qH4MMleU"; e_fb_requesttime="AcLEbp1h1Pb9pRba4xMEsX82A3zK-PkeIqiGz8TCKBqn8JYkbhiaT4IQoDi8V3mz2ESRyhv2-w"; e_fb_builduser="AcI1mvHQpIl0cGl8afZlneDrqpdw6W-_cIN_Yluy5d_qnj6eYncZOCLTiUk_UvBQctY"; e_fb_httpversion="AcISdYdZVmW2jcLy-rEVIxkYjfbOxPRO_Y6IS0aR7FsLTIYZ_qmJ6LDGh1rF"; e_fb_binaryversion="AcJqXYMptxyOBye4Ot3olqHlGYBwb8HCOdPGFUbZp8mn6DGGswvlcoObbEHEY7lX3QrQCWtieAjDIAq82lz4eD4T2HTtuyD8nWQ"; e_proxy="AcKAYI1_NOE-NBAgu0ojNb8y9zF0qIUojWNcHnzI3Vo1wpiz1YF_Toschaem3iPW5-RWteP7xpZ3CxCYtcPq", http_request_error; e_fb_configversion="AcK9Ic8NaRwtuiqxPm-NpD4ke_ul91yJ8DdIPXmyYs2RYc2XV6S_V033CFNMEA"; e_clientaddr="AcKv-eJvaeoKUj7uYvZpA0L4PIV6OEHYHkxT1__zzI0NSZbfENV5CZEVycsuPPTAGpgmkSZa4eJOL-13Eg"; e_fb_vipport="AcLWRe3vsAJzR-z3kunCdXhd1Ymb4ZhnLYLHZkumUdHkBAFzJ6X2usYWqFMO"; e_upip="AcKF7psFaLYqbgNsNpMzusLIsYVvkxfq9Y4O0-wRNlSraEQBEAtVA4wyFJ0LPhzbWudRV1rlC70H53Brg5_oCn2pYh8Rpo-uAQ"; e_fb_requestsequencenumber="AcIQbHVN__0oqTVSuW_wXM2JYSwUXrWQwPaLTfRKmMDJeMXtmobr-pJb1Q"; e_fb_hostheader="AcIiyrgt0CqbUZDARJ6fFzLLz-Clmbs8rFRBGnp2RVIn-pwPfBcSjRCoMNKsPGv9EF6_gL8va1prpcdy"; e_fb_vipaddr="AcLdaBaqjLPNxqwAmtA5ptHmEcQZO9VCaS0HslOOrP_KqmJT5vhRIpb6YwgH_t0wwI9hEiTklw"; e_fb_requesthandler="AcL63lcYTdwDZSTOsx4QLOz9bHcOVnOKhCAQTDKLfizrAiR00bcv_ROgNPd4KQXfYioe7HwxA1Y"; e_fb_requesttime="AcJVWnu353UIPmRHmf8UMFcxeGk0_5mrHqQbTwSV6Pb9n9j26BP4cU90u2hoz9vQqNw-6VsY4w"; e_fb_builduser="AcJEHS3w3pXzBHmI65-px-5jNMuvX7hEDjEmZnUO4ynuGEcO_UVxcwxwbfrCI1_sW6E"; e_fb_httpversion="AcJAnoCplBsPeeMghwxPZjJFJh2giKewLnU9o99kGktDeGRj1OWkWWJJzFBZ"; e_fb_binaryversion="AcI7nDjofa0tsK65bi6wOSP69Wubos4hKEIzvbVnvRhWqVgAphvNy5R4kh1WqOpUYjuZOiAQvPhVtik01Tmsiu23Ozi4WWw7noE"; e_proxy="AcI8t0tv-2Ni4xaqalU-cU-L-FbaXySCIkdspCJcvGWGgVR5C9x5abswUBd7tFgiGI5x5r00l2uigYE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=283, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/09/2024 21:43:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/09/2024 21:43:57: Error on send one message facebookId => 24826738073640659 03/09/2024 21:43:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AHd7T3aWGFtiGSK-e09ut14" } } 03/09/2024 21:43:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/09/2024 21:43:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10269088, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtFCjfTqMaWwlcSgHKsiZQN', 'x-fb-trace-id': 'A+UalYLwdND', 'x-fb-rev': '1011954133', 'x-fb-debug': 'mJZrOMpdZwP8Poavwa3NTd8Ps5W/YYKIASpUqrn+9qkpy8ib7gDwf1GLonFTwAeVv8Q540PQolzoADR63/dgAw==', date: 'Sat, 09 Mar 2024 21:44:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJxux79VAZqU-kIUkqzAATdkUzqRt6lnYD95fWtIvsGsV0iD5nBk3EFfyzmRw"; e_clientaddr="AcI7-y0SgaTOGRw3qhsYO6sPv3Bu3NKVjhebhlr2SJ1BuRCGa-_J5PotmqF58yxdSv5nBVNRd7r8GC0njPWGMwbfrjCBpMpGdjqJPQeYtbgsZk5pkw"; e_fb_vipport="AcK9Majge0O_tDI6X3soCUId_fZAVWBMQFfwfJ4uuGC3M_h5SX-woRJvnevG"; e_upip="AcJv8t_dgm6cBm0Ka67zg1c7W-o4V2DV45Qmo91bNM2FM5NY8LKREMw4CckOKkVMrGiAGk8iYi0VdmAm0-1QkhIguo5zZml0zpk"; e_fb_requestsequencenumber="AcLBCjg_4AhL7vMJBKfTsKsO5IvVVkrYOpCJP0VD44QFSEu5z3l8IIcUaZx_dA"; e_fb_hostheader="AcKna86wYF4L0OaE7wE5dPaMYksN0AsZ00PP8JA1p7Bd_nPjyfNJ21Juq11JjOEBRq2IVq8XC_uZvVdj"; e_fb_vipaddr="AcLWCl04bpmSpo316KoVnQCLRAjQmH9W5XdKzDYhLux6EKT4V7nzeCa2GfcdT3mnWlqfxhzDzTpNvuEj_DGO5CqXNcGPnb3KAQ"; e_fb_requesthandler="AcJ--VUAHt-dbyk7akPmmNbNqblahcol9aYeCj9jxu2exlkII9DvoeeeP0qo7MyoLVKTJ3lbGdc"; e_fb_requesttime="AcKr-KM99W4FS4-ez5W9dLCqRbuqk8gWLiNvDziLgygrj6RMA9wi1_0JRR1vcULjdlnh1xvBKA"; e_fb_builduser="AcLE7gjFwnAc6X8R-4YO4Pm7zdiAPr1ES_NaMsblYJSnEUkSBNOksaYdYmlR_4F5yZQ"; e_fb_httpversion="AcI-ZJMD7uJfyxZZWyRkp1EkWaa8DdHAg9IJv-o6uEKUxNepUF9Q7Ps7rxyH"; e_fb_binaryversion="AcL_9v8TtRZFOy-V_j4MZL3ahKL0BWj2YuUiUHy6cXmnFNqaRXLTyKVi_yfqwGV__cn_l4gqbuUxlTO3Ex23_UR6hFF1y25-qU4"; e_proxy="AcJ7DDrtidfS7eI0ZLZe0dHO9emw29-zSV4JoJmYALDYNTW4pa9QCMUf1Aqs4kXcmwWPu-iucPZXGWEdnH6a", http_request_error; e_fb_configversion="AcIkdECvCY2AUrTdt_pFZ6Y3vDptKi6uQ-8rp9D6iftmTT5Dll70miZS4oXLdA"; e_clientaddr="AcJlv5siaeGjpSXNPFQ1c-kzwAI7fP412EyuzWciy-Flls_u3XgjFudz8kGuDWsfxyLtcUc122UNq9PJDg"; e_fb_vipport="AcIpPQmqP8tgnokuvFTMAOUf64RnCfmBMFIpauJGMkzyuqyX_6fN_RQ5M7hS"; e_upip="AcIuhqzVbm1le7a3tjJvzhpu75w6TPAQ2f4SfcWaSL08cX1cA8REunDIyA4CLBQEJsX1OxswPW2keoLYTZkmoj9vpXoUnM8jkA"; e_fb_requestsequencenumber="AcIlA8UGZYnVt4j6O5V0MrjEUOlj1tCwvkE2pzD0Z-gjfmqF0HgF2CTInw"; e_fb_hostheader="AcLkP96iqCVKPWHcrbp6_7ycf9qkFylBOkkiJdc2t5-LddE35R3XDO196WTwxRFiWK4eyaDG5lcMpvoE"; e_fb_vipaddr="AcKZFdCCk84yU2oZ705YJsx2M6WGEtzSI1-yBpmXAuTtNlffOLuH_Mk2CiSjnfOzWjncAk2YNQ"; e_fb_requesthandler="AcJK0B2xiA3y1Pwnb4egidMEPDOgYYayi6c1cSzGbdjfRhyhyGD9RF18uYnsTYrDT-Sczn4oomQ"; e_fb_requesttime="AcIkdv2BTyNNJvi7ozNLlZ5uR8OE2-GhyHWU-PC8-wH37hCcgDfYV5uZE8OAfGVZApIEXh8yRw"; e_fb_builduser="AcKmTyeheSCO8vm80v4DNqk2qrj9U7pTDUyKXTGSIIcqs9-3Om8L6Mrxd4-o183drt4"; e_fb_httpversion="AcIclJKYaflY39-ws8uiSWuB70NdhJCxMrc2nALszZ39nWUqoVyNYfVZgpxz"; e_fb_binaryversion="AcIbZWffIZWOwjDrJSJfy75teT_yUzFv9UBLgGd0tGahJRnaG3CIviqz6dkLL1Iv2JtL_zF0r6MQ-t0IpEUZsUUJ5rUT0Cq6Wvs"; e_proxy="AcKDE0j_qvSpLPL1bqQdznZu6UwDgFiksZHsdTIXc3rw0YJgTs27zStxYd3Op-Wwqr5S8p0gnvvA2AnF"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/09/2024 21:43:59: Error on send one message facebookId => 24826738073640659 03/09/2024 21:43:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AzfGtvlJ8aMoqq-RnAHfJDQ" } } 03/09/2024 21:43:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/09/2024 21:43:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 21:43:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10269227, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AX8IzjNc7NBlw-aeD8N-5p9', 'x-fb-trace-id': 'CTkP9GOSLT8', 'x-fb-rev': '1011954133', 'x-fb-debug': '86XJhEgpW7vlbZpGY12ll5+olX2JYupra5FPRhrxzv4URoReB6DXtbNkc64cAuDzi7+TmX70nk8ztgwIOFFWgw==', date: 'Sat, 09 Mar 2024 21:44:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKpMrULXFGtLobE9dd6czFMmA8ukJxhs8eN8GSzmwuRAggOQs8tM1gugIB7DQ"; e_clientaddr="AcIUNLWOnC64LgYWpIIkWrWrIcGT8b8zOlOp6Cdrpf0bgUoBdi1c_8QvaW0rcnapEJu9YVA4zriBmw36gnQ4gwcvy_vN3e98YT5-loaOO9zRjSOygQ"; e_fb_vipport="AcJZDURSwWiQKIE4pVI7-ysXqnWwsj7oGFciCZv8ottg-KPPAVv81TEMjuor"; e_upip="AcKs6M-RivjIGYdWBdsm1fmJanT9WZpF-O_O2D1Zp1JJ5LVfhp0rAy3J5zaKOo1g6lGWZp0QdmVwbugTGbILwxNqPPjxpB3t0aI"; e_fb_requestsequencenumber="AcKMmq8DL913dVdjFqnhV76MHulbzrRtlBkaVv7GySLZsm_yq3oi4HpBeLFaqA"; e_fb_hostheader="AcJHh_Pk64Q8jLQGrybURWPKBeg5a2eolX_VMB7Unu0W_GXwj7CMjDQR0qZSHbAVwpm5_aubZ-y93v5T"; e_fb_vipaddr="AcIYQw0J8ZWo5-9NTvbD8_aiXwEmTRQN09gRhbqM0ztcjsvU25rtfwyRP4FLBLpwZdgAC8w1-PrfIGAxdmZCV6PLZo1RjDTCOQ"; e_fb_requesthandler="AcKCJDJH559rm5PgBGwr7Rut5HH78K4Q7mn8qhKt69jWk7l-vRlZoz5F8_7JfwAQsT58UYrRdPI"; e_fb_requesttime="AcKg27O1U_HJFrVk4f0bZHi6A04kD4tT4nabHzZSdE6QGZjLdTDJaLG5RIR0f6Mc5mwnw82R0A"; e_fb_builduser="AcIcvWmnyuSMRpLa-syNcnmDnV-u_2KgvZnFetSP7r6Dnm_EeF8USWmPNY8CQWIvAfY"; e_fb_httpversion="AcKpK-NXTqUquDbgPoG5YpAJfuIEMSzOaIIVaylgsZgWtPaM7rljB398NbdI"; e_fb_binaryversion="AcIyPVQV1KPepLRB3EglYELzotZh_gWr379eANVjxO3pHskTz1-cx6yu6q8LcWE-k8DTm389Yk65ibcEVjyG_-HyLZyw_FG32TY"; e_proxy="AcLX-XcOtv3YJhxiMVfjkDU6ffmKmpxTULqgCi5Tu008KGqPD0RBNE27IO8lzAQJnbarHZwwsY6KRGfwfIs", http_request_error; e_fb_configversion="AcKmRPm-Kbg13mHlBu9vYhjieSBfP-6JQZf3dcKpgNGMKDZrhPxNd3tozHuaDQ"; e_clientaddr="AcJdzOluSZz9iMDSQQ1_eAkQIptt3JbdE_XB-FiLYmLkjHKYgTqCNk2UGDVBls_VNkqK0yLQluS88zDmjg"; e_fb_vipport="AcKUfyiyc_wfd62k7_4LMnJw_FjeJESuojt_Y6bwLOERig6clkk9_WRPDvC3"; e_upip="AcLlp0dmYESwjVrn5t29LwJc4QRvGDf4_XEHPH16pk8lDp0EK8DOeKvUpWxLbzznGTwNvlluoMNv0JdwQfvMJH0rCM4dtPHUSg"; e_fb_requestsequencenumber="AcIe4vqp51yTLUBw5KkyFRjhEBxJBhrNtuapRQcken5u8BM-2St6DV135Q"; e_fb_hostheader="AcLWx_dNREs88QDqIf52C_4P5z5OgNWh2jzohpu1Ah0nUJv2BQe32mF54BQyMziKA2tAaCWWci9W4boh"; e_fb_vipaddr="AcKZP17JrGEQdTviT2ZmSugdJD8Ta17BQ__RVRRjcr5esudk6p9xGIL7f_gl2aXChfidk5jAiQ"; e_fb_requesthandler="AcKI5myrrZ88qX1wPZsqxi2ek62hEYv7bjQkZRwQjDOdXgsCsDdCzG9dnXxfjM77H6OriIJ6nNA"; e_fb_requesttime="AcK7vGrC1atucq60luUStqCAB8HzLWMFjDjj_AhVDBBraa-_Sz64GHPNYXzPZT9bpOBRwzni-A"; e_fb_builduser="AcIfQKZlnqCZwbDhF9wzubSrXMgx8dY4ExHUPEKN7HbffCdYZBBY7Xk7HxJlo0pxHiY"; e_fb_httpversion="AcKZOaDsPTFw7To8_d9qZ7nH8OTn7yYftrwiq71VcXJtypGO01JdhHat43y8"; e_fb_binaryversion="AcJrkvAq4XFkAJ7N7luY6gmlr6gkEC4vdygozuGbhXb7vnAallojXZGBQpISJMHeQHS3fGzaXrIPgkqMxPjz_mMy1Jua7UMgjQY"; e_proxy="AcKM3lVnS0CESXIYqN8Z6x5hCWp3EjLkUYRgFG3UJvNXrKTqWITc1UiTWI-dhGLvld3zqqvOMgasg4GN"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/09/2024 21:54:07: Request bot not found: { id: '128159377280665' } 03/09/2024 22:14:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/09/2024 22:14:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10274484, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Apbi0TWZJ06ANUGdOL7yDYt', 'x-fb-trace-id': 'GcTVG+URwxI', 'x-fb-rev': '1011954133', 'x-fb-debug': 'u9t0ZUPULgf64RjrL+Y2LZ4yNajRjqXNiHGIZ7buS9DfwNvpDjLDhgEcxUYEjBCfZv7Dq1Irqqr9YXvnZkPf0Q==', date: 'Sat, 09 Mar 2024 22:14:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLerniJBX5YeJbxQtWJBepdrfS8_zgRpwbRD-E0xXvg7jgWPWpwjx1_JgcvbA"; e_clientaddr="AcJfygYYxJTv_x9_IxXdvZJn7jYJUNSs2JGF4hys87lO6521hNq9YRj6v9sUiJxPtUF4c8IxTru0_QMdHtEecD97jLpilQd188MsJmWRxYpdKc8RrQ"; e_fb_vipport="AcIOM0t0TaboUWXy5Ot7S-9kZekOCqhOg09vtJyLP3-Sf33TtXEqITizookV"; e_upip="AcJFxvST1khMEMaCA5m6QX6rzVMHzcMFvPMAlMWXCXB1BgPCIKdl_DQbWGiA5O5ja6ETNzT3KQqXZvkkFa7mv0Rz6ntRk0tr60Y"; e_fb_requestsequencenumber="AcLNxvIlUodyCI9IE2cdvXFswF6OAUKdaBbYT-3nWb8Mp6_ZV0Zl4EOmoITE"; e_fb_hostheader="AcKmqr8GTNGH9yPs7JaHW9La3Tg_q_1Ju-DC2Z_NH30zYWTBZTvnMo5b6UNQflaDPOoJu-qnejavPIlu"; e_fb_vipaddr="AcJ2Ra_1svsoaAB75Y5RxE6-HiRHlu7t2lEHoqNtUoo6lm6bIDVKtxK6FuVe3qb3CLfBEOarZGdRMfVNu1D1z7rkoWrl9KnO8g"; e_fb_requesthandler="AcLAhT_ARbrLBYAQK2SU7kE7HbmZyzxi3ulaqcHVKSarCGhAIQMT_b93aiArTImsK1Qzr38dZ3I"; e_fb_requesttime="AcKFNfuX_XqDM8a8Lakwj2Q2vGJkqZWq-FGqAxPGXzMnllP5SOean-lfPo6JxXhsL-Ys7bxKLA"; e_fb_builduser="AcJ6Z7pcYBy7luRNPuvOcLHHLcRIZ-0Ptz8fQvzXlivd7uWf1CMjHVlSjng2VULg-LQ"; e_fb_httpversion="AcKpGjid03Bhi7cIUpkLWo-vmM1Q_7YdKoMYyGm__b22Z9lo3SCDNTNCsm5K"; e_fb_binaryversion="AcKElAwG1y_plDG0IMKb3JGQelItN4uTzRh9pQPyJWbnvN1BCKhoC7kPT3R_P2k7Pny9emgRG3xJk8Zi2bMpzizkijKUoinh-BA"; e_proxy="AcJW23x77wa84gZGemOkHU6p1wp0S2Y3taX-timJobWmrKROorCfrVUxoLoMuFCL1j4_ymUxkUugJVdKrSM", http_request_error; e_fb_configversion="AcIcSkz6R2QC21GlVCx1_pZk7-yDAE5jRR_WL6ULxmmWcpS_nQdWbokK0-YBSg"; e_clientaddr="AcK_LxBAVT6qniGst8iSefigo6uO6HuMKi8Cj-Bigdgt_9htuT1R0NhhYP6aHVmpducul52Xgjr2cqcBbA"; e_fb_vipport="AcIJYdhhZKR0DH2VP-NAPiYE_s5AFUzF8DlTJvL0GqPwCV4cZZY-NohABmuA"; e_upip="AcKMg2cUuHXyYhs5zwDwjB_M_LXeE9VbK-0D7ZKhfVfHcW9P-qjAx0-wuC5FKsJC6M4mwcT6HdEmlJeHZQ7BP67AkNNjkXENRQ"; e_fb_requestsequencenumber="AcIQX-UzS94Go7lq_DNsGsNGLqJjaFa-typCFL2PzMiCpIxZ9y84DHmmdQ"; e_fb_hostheader="AcJ1Ma6q3IOq1mtg8xB9K5nh7PoOLOkVkBXoz7xTmB0w-JbU6izrLcqla1mEuQwWt4uRvpgOrp_dPiB8"; e_fb_vipaddr="AcLSqMDr1tgC5EofTaI4fdaOjrbRFyUhl2E2I7VM7dr8nmXmmB-ddG8Alo35dlC51p79kmMIqw"; e_fb_requesthandler="AcKH_DNk92WINM0WxxWKAg7HbiRFFDdIUtRiua2kykeFxmjI2TKQTfr1-qA8ZWq8zzl7vKeEpg4"; e_fb_requesttime="AcIiKhgp8kRNTQmmaDGFQ3IN1jKZ1fsfiOdbMbA-0IBNfo6-CBYAFf70Aa8w_u6hcVkM8n1MDw"; e_fb_builduser="AcJ90di7wfycFL654WgPUUxmozw9pbgcmjoK-TmeQIYmd-jkEPUWvk-PJOWZQ1WLQJA"; e_fb_httpversion="AcJNqtZGAaBHwI0EboA4qxvO9Ly8jPas-6aLtkVpe9gEkulV3qD8B1_CtQM9"; e_fb_binaryversion="AcL3Z-mZGTiR6DBHshwEJtTSxmddVxE-dQgMrm0ZcSVs2dZkfFj6RqrwV-vXimdjBIx9qlLh97NpVlskTFddoGZbaWJokPm1z7A"; e_proxy="AcK3aXvuTo-gIYOExpdAu1Ymsguy3h3u9P0gadMaRoc5EoNSW-gS8fPJKsreuV_GLtEGUFnBkmjK0NE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=195, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/09/2024 22:14:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/09/2024 22:14:14: Error on send one message facebookId => 24826738073640659 03/09/2024 22:14:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A58XDaA5i4MiuXgapyVFnzO" } } 03/09/2024 22:14:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/09/2024 22:14:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10274627, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGOPNLH11HYabZB7oZ1_MxT', 'x-fb-trace-id': 'FqBK+uAAEBZ', 'x-fb-rev': '1011954133', 'x-fb-debug': 'u8zgILeFA+ZrOeOBTni6MCMIZPFB/Z81pSauE50gxaZ2zFIA017vvg71AmtQdC7n5MS6wWqQ/6sHAIRK8INgeA==', date: 'Sat, 09 Mar 2024 22:14:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ9XA8Hd7Y1R-NY-b8Cd1nxssV8UX0BJ1fO_LnjZcaouHKjGtkzjcR6A6PCUA"; e_clientaddr="AcLuDyae3GROa-brGIx9OdcpRiW_hha0qrVJjVrTSrvFTqyEePD07W-zvLn597KyKn9mclW2ebIfNy76zUcUD9b-Sr30VyjV-WUsZVkcgbe8MNCxuA"; e_fb_vipport="AcI7ZA-IZ0SMvgjXH475BTgM1mwB2_0WJHiMb2UVwzsYeawY9ayN7ut_2Y74"; e_upip="AcIk219Ph3twq9Zg7QUlqO4WtTcXM-tOY9PjPJrTA0YHjjn9Vyq5fx-UPfvGIFiai5P57waTzkjx_eeto1mu1SJSMv1OoBbFLSE"; e_fb_requestsequencenumber="AcLnw8EwZHh9J3o0E80gCKJCw5zyyuy-CujAlMhFnHEvPNTWjgdg9sn_1AMhTg"; e_fb_hostheader="AcLjqfClGUw3arwe4gi_BJMdZjyqw29aG_MnGFA95qH9oksL3LRMk03JZueWzOddDU3qWJF-ApB1187F"; e_fb_vipaddr="AcJxtdnwEa7lqZj37aIwG5jIUjGDqRdfsJIWLBDDXY6vlKt-xak-uE-w2Y3Xjf2CAZzoVI0lMgrXIUSDVGgoM77uCkWCHKhRjQ"; e_fb_requesthandler="AcLfXcSsUKOTbPtDF7u4e0xX6wq-W30gxDfPSPk61AwmSYFT_4K2o91t43VCRF3wsOwrU8N2PSE"; e_fb_requesttime="AcJaP3EE0mmkN9aMQfwQ49mgWIzO2m0ggF73Tm6jUl8ITIfua3o1IMRk3S_lKp2A0RfmUnon7Q"; e_fb_builduser="AcI46nXnfMpbFJW2URwE3ZoLF4ziGqMCbAzKhahtdQ0KUPh8Yb6P7m0kmhZz3PLdlaw"; e_fb_httpversion="AcILFuxs1flbM7iHX7squFqapTFBvazZsb_yhRO0ogfMXtA0d69Y0mkWx-_R"; e_fb_binaryversion="AcLmtOzSHs-f4Qp2KWOQVUtPEvtInWAWwyXn7lv84jtj5j7wmLGBJnys3wqO7Qw7BnDnvfy5lpxFrej7i1xwFUnqm6Gp9v3_rBw"; e_proxy="AcKVuxiFlf7M99orfE65p4sv_1qDkxTBsDRWolVMbSW6hwyA6i06cjq3NQ1hTkG0dUunNf4yxmzx_3xgPsk", http_request_error; e_fb_configversion="AcKXsd-HPrd_aC1KN4eqhy89_NIiiXGqlDPCH5ds1nNrUVtv8PhHXgdN95qX-w"; e_clientaddr="AcLeGTA8F7lCD7gt5pELOmFfMRqnzkjprapOAb4O57O4khpJqk54bHl1dvvBmyyXpIOoL0UQ4cAZArdMtQ"; e_fb_vipport="AcKMfBNtueSjHn5Do4aEqL6fSi6UIymetSbOSJbuxX4RUo4VoQK7YuVwLaxL"; e_upip="AcIJNvkyq48sMZ7hb9MkTDMkw-2hoo23HLYmSTKsZTl5yPNMzeiOkDhV8vQRktratDMk7zNfGiAYnmuRoN_rlp3Nwsq89W9axg"; e_fb_requestsequencenumber="AcJIuvjWkol4vfi9Z4l9e5oGeZ66qhvE7-z89N0wnWSS0l-Yz52eKHYiMg"; e_fb_hostheader="AcJR5_IJOxI--WNZst0EGOC_FM8bgkd5P_0cmcGVaS793v5psJA0zWvu-enbo5Q_HqtD2wsq5VASbV6U"; e_fb_vipaddr="AcLV7IzOn1sEnkk3R8Zh3GRKXgvAONG77S9aPU_8Cll-xXJGwPaM9LzWLBXbt2nQwEJn0Q-izw"; e_fb_requesthandler="AcKiwz57Vj6w5gGC7teX2qhSY4LuU4GreptyrXUvLYL0x2YTfOwttlsfypWud6uMYXHW_MNN6LM"; e_fb_requesttime="AcJ46EjQdxuOzP2XLVw_gS6f7wa9k9Q4tegCWK6Jz27hCWDA9LiR9KrmGA0UwHsuf_lCxXzd9A"; e_fb_builduser="AcJiZdV6Ba7l6Sqq7OHMKrsMTOuHwyHTm9OKh56zVTbpZViUbWL0kFhIru0ighy--rE"; e_fb_httpversion="AcJQv7IJpFBldBhSPYMc9NHoKFSrnpvG2AYw5cAaxoUezlHNZlMI9tXwFhcx"; e_fb_binaryversion="AcLdbzPBL1tJDKHW2SOhsU8MzXm4pmid-Ci9g5Uqs6586ho5UXkfwusJpNmBy1Md5qrihP6ctRf_hvyJwQuhJzSKRrYWM7fJa8s"; e_proxy="AcK2IihyYvLCuOreXtVhQzwCnAHgMsWpgfxGteEiP_K10H7Q1LMoUGnp_WZAIsOyt7h4vFlcOYvmiGE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=201, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 18:53:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/10/2024 18:53:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/10/2024 18:55:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/10/2024 21:41:22: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7501643093219158?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10510654, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7501643093219158?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7501643093219158?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7501643093219158?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7501643093219158?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AafDEmeP9YwnLIcENIaHtn4', 'x-fb-trace-id': 'HWOMtLR0rBF', 'x-fb-rev': '1011959670', 'x-fb-debug': 'vWNhpOm1WGSypMWaq+qMPrn+8qVStX1IeCLAe6NMsRlFD85te4zYlp2YVKBdJhCnk06dLQ4kpsNnvROgQUUVFg==', date: 'Sun, 10 Mar 2024 21:41:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLfUvM55oFOcSc8-_0oTIN4tFKRY0jwqkEL1fbdLpCbYq5GfLBN8-UM1xcx1w"; e_clientaddr="AcKm0SfJHltZ9vViX4kne5tIqbuE5sRQ7DbMHn15TNnPtFlx3JvcHxVyCeEnvj-ULXxkcLfMkgIyZ61nRO4_evOig26wsQOl7cJXweGhV_9fsPiTWg"; e_fb_vipport="AcLiriw9dsbaSBvHWcombkbUk-IS0mupJn8XTSm4rOVTy-4yogZKpISd1mcz"; e_upip="AcLE4VjWlW0bjyS8HpqXiIcsHSsCEfFny9iRcqHJp48piqZTvjSBZUK023jWOUAjvYLA7n15shVH2eMiAg5pH2wvymCcZV6NEQ"; e_fb_requestsequencenumber="AcI79BvNVyN5yYYzBu3LASdKcPeOAHscBSaRPciX1Mu4SDxfXqec2k66klVe"; e_fb_hostheader="AcIsgMdmHdHRIczfrZVlehOWMwy1kKM7P8tB6vrPWAml2dZxVUA7JwtWg-zdlbYEs78L3GN9A3d6JMGd"; e_fb_vipaddr="AcLy1nx6xASVA7d9BAeQU7llo5RE6DBrTYO3D_tDy9nSc9DAC7MP4maURK6-ZIrnv4Z72EhBauVP4Yo3GWspDoQ_jqhLwdIUrQ"; e_fb_requesthandler="AcLw892txR0YHAFpadg5MlXyEwwcsDvCD_XWAbkJ4HjCl7IW53e5_ukAHL0XFHsYiSoXzIY5dqk"; e_fb_requesttime="AcI4CUq83IDaMN2B6D4TrUMEVb4wkaI3BPuW3pyVXoZfvK_LgVMnwqvGGH6LN2RtxAinI7ne6Q"; e_fb_builduser="AcKKbp2us0ek7vqraHH2cva7ozvCqwq2z2CW_R9rxnCFDBvnaFaDDAYiXJ0e-dHvGXQ"; e_fb_httpversion="AcJfAmvt8eaKbUkFh2vxrBNForpCDavPU1-nKdP4oqqXutvUdxkoM24zPGyI"; e_fb_binaryversion="AcIiAdkdn0aFpe5GAfn15k6gzuqlltosXh3e5xB4dur9lFeErIsQnDwqyhkaArgTOWEL-Z1MQYnzRZB7FpU6C5Ds9ixMyXDrRrM"; e_proxy="AcIJ9DdLnoXXN7FFKJg4Ik_Yfmm07VL_cXXi28W1JnqSirRm8_PHs5jK3gllhdfFy2r5hacoI0DndNcVJLuQ", http_request_error; e_fb_configversion="AcK5BiMedQNG2Ipwts3N-MMpZpGjOqoZlR_ELM0tZW8DlM1OO0z3CTkW2iah2A"; e_clientaddr="AcI3kqruukxbiEYZd1e-V4i06Gq9zJHUuRGCzYw8u1TFhHHJT6i_CZbgBvvtikly-icoK8O9wh8wiQdQYA"; e_fb_vipport="AcK_5htczBwXy6MPpkZihIVJJRdOxu0dXr5Ha_SuYw-T4YA77ARBVyTZmXJV"; e_upip="AcI4Nf6WsqWilYXvpLATsUyMYimo2fr2C9F9PlEJQMuLrqy4hTqUkwHEGaMGJedMZYMN9qNLN8ipgp5kD4cdSN7cwUHffqHQgg"; e_fb_requestsequencenumber="AcIMgJH5U0y8DI0i5zSlvAciLUvV_FVFRCb0uL6tWnudOthtG6U0SD1LYA"; e_fb_hostheader="AcKQ_eUjuwNpHDZuZfD2de2gIS4pKmFv5K1y9tfrP-96j8bXMppOBCCpVynl51TjXV1A7ODetpY8aBzs"; e_fb_vipaddr="AcJMzjIZpLHI48MRAYjxeovU7_qn4MZkrPxVp10mirHIOSVL7AKYR1DNaYqfS7NLMcQuj-gthw"; e_fb_requesthandler="AcJm7LZ49jb_98aZUBy9PGaLpulVLmsiwhRskOYq53gIVJ-QAvHJgBGnki3m2EEWL-8IYUkmNXU"; e_fb_requesttime="AcJK5lm6sv_Ga701875Sc_K8JCPXW_cypyMDlvljnFEV15U6zr-xkc743Tbt3NLjl_XLKD76-Q"; e_fb_builduser="AcLEx90LlBjQHqnf9anVlPQZQkFTA6Y8qlLEg3eaww1ILEjRDyVzXJHOfngr3CGEgVU"; e_fb_httpversion="AcLfRRpGQFgT4c9jVOZctab2uLritm_q5x5MtY4lGaH_Lo9lMcgRiizE4GCU"; e_fb_binaryversion="AcJXsWrpN7NQmhfd30mypqLMP0byfup5he2oNP4neNH74OBMXTx1Ak5fVCIChFGzNyv2a0ZVHponaFp-PsFTo1DVsS4OzQhupgI"; e_proxy="AcIdwDZKK04uQyZeWYKyC3v_jXJ3Ry6Yn3EOlsVfO-9hV8mIO612Sqe3MWbxCvACgNL3cepqexowOZY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3407, tp=-1, tpl=-1, uplat=324, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7501643093219158?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7501643093219158?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7501643093219158?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 21:41:23: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/10/2024 21:41:23: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/10/2024 21:41:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7501643093219158"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10510772, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'An1O2-oWH1IHQtq993iIyRA', 'x-fb-trace-id': 'ETcS0JhrY7J', 'x-fb-rev': '1011959670', 'x-fb-debug': 'ALgf2e/6w8u/VdF39NSCGw61OZoq0y9G5D5M/g2TwKDgDt2C/zqbDjnZzJ/nlX6NCPZHszZpjGViNNLAi8kXFQ==', date: 'Sun, 10 Mar 2024 21:41:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKMHzWJAR_faKR3X0eWYl7BcjI56XYmpk9w5UfvnI0mtdLpFtZqx9fBBaofdA"; e_clientaddr="AcKU4UV4cjQ6roQZy69icVposV8FeA23c2lZsJGCmkbfKupfD0WB_zkX6OMhctamWJA48FyTpEGr8JLVyynW1vwcMhUfPxJ3BdERhAzieB6oarL0iw"; e_fb_vipport="AcKDbIKLFRTllfvedrpUxEB105ZhUZTgqjgWYvebWs_Tyb9ftvVi0Va1Fnxu"; e_upip="AcKYx7TddyD6AryTAVqn25L679-HeotDNQ9b2im7ntSBXj7puMVIx4ZSuOhDo20Mu6boIVWsmn_Tj7zbmSA_GsYRWl7BUz7RlDE"; e_fb_requestsequencenumber="AcK0etHB8lv-RLzTWE3rJZFIIp2iGteYU8uU4Sm6MPqpkmZNc6fu-cTK-g6J"; e_fb_hostheader="AcJq618ZapXueUvmx5Dt_Xwkm3oVoXBt7BzcCYkTYNQ6BXGIp_cwxGGVPuE02BTl3qcjM1rp3Tg4NeTY"; e_fb_vipaddr="AcJch-wNuGoQuIKKbS_ersZ0MIio4chQtVINiiAXUOBlV5RQTYZBTwWEJ8Mh1gjAv6RvJ7BnkKAMUY9QVYuPznnkEuUgYIoisA"; e_fb_requesthandler="AcKjcFDdpg5hoCImUO2FioxdnS9oorpK-1OfVNcw53pLZo2FvVb-vNnlqB9IXpEODQ09e74UkXY"; e_fb_requesttime="AcLnu1lNNX9GV9dLgx65G5yhl0KP_cIhluhsgqV860vJ4cVV5h3wOnVok1Cw67xM4C2uYvbJoQ"; e_fb_builduser="AcINj7kzqYA8-yBZdSqJafRvUKb82cFjuGkwsdD3MMJmC0NVGqIFHNLGQCiG1JFfL_o"; e_fb_httpversion="AcIfKVRwBytZUpY4C0WLc0LHnyVU19pLsC23VKmUO7xme0HrjdStdlVsxImR"; e_fb_binaryversion="AcIV7Cj_SeL0iofqWg6jNdIo-CAExZEdeCszTZo0HTbygucyil1hw1tuFuPywfVDYiAB-QXl3R2KXrKhILbUJnyhwvAByNt81A4"; e_proxy="AcJaXvvPSBUEBJ-7YJME64RROEvnhoTHqjpXXfY1OmFKJNimsT3fdUMh1mc7rKBgNLSFLEpDUGOSo7xWAVHh", http_request_error; e_fb_configversion="AcIlvGJcRhINf95pyUFOpcbRdppPStCHPKqO2nF5i0HkhDPt67bHHdZnrNDXrA"; e_clientaddr="AcLW91euaCXSrmA6aOWj4-8aTwdRP0QKv-LQlE5XJO-vlcjapOd5BY8cl9ot9NkgBFmyrMK5pKdXHMPzGg"; e_fb_vipport="AcJwgWOkMryBR9CKddAzKbFcJEdk0Hd4FmafZZyeoIjwsgMxTtEZSSKvMh4k"; e_upip="AcI_YO1HBMb7sW2-SasdJ0J_zXc91OiWT7wBP8rp6R_Jl7veMNNqTBSXZdtX0qv99hrsZQJeB6flsPofoy6RvuGd3QuJI9Zjww"; e_fb_requestsequencenumber="AcJjrYNiCFtUJmTG1w_MSfgWHU4jTCwlhSoL2nNecDGP-9ZsXpMlWmoLXg"; e_fb_hostheader="AcK50-F4tZYQtEoMpqgqsMwNa58vXYHFmqLL4Bwf7mg6WJ9WoUQ3O92_JD5vdu9R1vGz8gmEzILceu-f"; e_fb_vipaddr="AcJ0cWvwKHCMJspwyXZlcrLSzsfvRMEqfqbeWY9VpofVDTHJjMIHhYcquHnucNMpYbjmr3_TCg"; e_fb_requesthandler="AcK-862j-AAFT-RjNdrl_X0dj3WJLfp9ZAKTO70DqSpBshH_8ap4PNn0WGG3LYeCAboi3GHAvtA"; e_fb_requesttime="AcIWVcwZtDgK3k1vvkwvAUZxriq6_Rs_r9Da93Gr18tPEvOfp8ZUhYHm7Akws1IldHxrn0aDiw"; e_fb_builduser="AcIVCnsRhYh7MRKl5MgughRLJuptAIMzxBFvPBDPm8g3tn210zOLVvkGwcRAt9eC6YE"; e_fb_httpversion="AcLlAfW19rF5SGc1PV3KDebFTaQbbE1O3MH4nmaeazdGnObiGP04eI-l3Cex"; e_fb_binaryversion="AcI4_a-e-PBgEyh9i2Jxj5x-RFnThvAmFrMBZ2O-bisaXIFsM8nWVshni3JwzZw1a08-g1s2zXzyC_DxkC9wPhwQAYyNle8Aw9s"; e_proxy="AcJcbr5Su2jHJSqgXxiNSjYE4mHi-Fqx8VdlDTXFZmtx-egHhmuEIz1UGfVA6qcTUN5SfX-DI6mC6eM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7501643093219158"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 21:41:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/10/2024 21:41:25: Error on send one message facebookId => 7501643093219158 03/10/2024 21:41:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A8U_vogk-MOG_KXQEU1xXE4" } } 03/10/2024 21:41:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/10/2024 21:41:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7501643093219158"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10510859, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFeNKv3ax4-Y49MpEaBq5Hy', 'x-fb-trace-id': 'FSq55ASdxlZ', 'x-fb-rev': '1011959670', 'x-fb-debug': '22jldLQwPSwY4kdSmIDEDq4EC1FMl/skRft9H7Cgz5bX+nFms0vGJfp0pC9B8ekthoSbLJHhLn/9NSHCKAXYsQ==', date: 'Sun, 10 Mar 2024 21:41:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLXnh7E__5KCt81hOkSj68KSSPPgOI4cZzHcGv7BAY4TQfPznB_KI3FkYe9UQ"; e_clientaddr="AcLpgJeP2413oNkmIsI3jyKLq8z10AAnb3WvC9BqOFty9ldhZ1Dw9FghNYMU3ce-EZjxXH8WpI6l_O98A9xtjKh-ZAfFnR-S2dCcwjJmS3XvLNB_oA"; e_fb_vipport="AcIqegjOwEH7Qf3tVtTJWaO2IdiyVvLwfHAccP9PMW22oPaMZtJ-NVqal9J_"; e_upip="AcL1y_3g6vrKcrqOf7hCbi3Eb7GGek5AFXL_cgVtIXtbZg6NURsxOgZ7VumyXTyCxm6qCFDAKsufkfCqvPHcq2fr--hFtVfA7w"; e_fb_requestsequencenumber="AcKaANiuGPhCwpSNS7QqbxiPgi436X04DdxuVB9kE_Zh7v_qGfNI5Z1H8di_LA"; e_fb_hostheader="AcKfIKGD07cuZKqhPARlzjQGY0BvxuUr8VEtZCZYzKHI6fXknAh-tMhF_ZEBMVHjDU2wPkmqhUYi_uVQ"; e_fb_vipaddr="AcK7M7CHfjdjC62ZwMj39QPq3-K712WjWGjIWRIOyr3-ZjrCERAHka8MTXUoDw0BzLRs-OvkvPws4Ak8ZCDDYIQW2YXhNpIZmA"; e_fb_requesthandler="AcKyCnLx0pfT0EAdv452SNRqzcuPy753Olt1WVWPvd_5tTB2yllFQCifIyL9rI9zs_S7Bgl6vdY"; e_fb_requesttime="AcKCGwdXm9FH4DbsHJZdFHKktrlSf0NTznNsWAaeyaE_0C7OeExP-6tgPV4pv4oIsXWKHjqVtA"; e_fb_builduser="AcITsZoFFo9cV_oHKFW9F_C0qwUToiMo2ZiWdrcG1afwWxqQiMi216cTUX_qL98oYY8"; e_fb_httpversion="AcLbk2uoYHrp4QWfavilDBSardfIDd4bY_NrNWybEQbpsfxNqB7X00grNwwv"; e_fb_binaryversion="AcLmV_GB2pqXbnZaDm-zFxDt2TfmzmJMnw2CI0C58o0DxhxVLZxmQfVMOlEsG7a9eUNEN2VVvSddF5138XEbZ_7BtLsQI7gD9qA"; e_proxy="AcJYeki13beS5MU4h9W4ak6nhyUuhNNQ0qKfBG615ApuQdkX8oNHEt8w71_qjaVhD5JwvUsnq9X_MuVtTz_w", http_request_error; e_fb_configversion="AcKnxJbXRyTsrvj5d00ZVhb6YwghaMty6Y58yFDOD--mtDlf0KPeBiqcZTpEoQ"; e_clientaddr="AcLUO4Q4IIkPWFMRbMDwWquRr5cCQV3nqmliYUZ-2IsobemrDfk-VFXrpkAR95Ws050F7Z742b_5Nd-Oyw"; e_fb_vipport="AcIbtn19jGBhaMA6eo2zFViPI1lWsTf1I3a2-yQ7ISji-56PLT5Wmcgqe7LM"; e_upip="AcKvgAQ8tCQ8lJ9uxbUvm81qaAG8w67soKxWJAvkKh4n4gOi594U_S4413xJSbujpkqI--0flu-A6BgALIIjVVAm8nEn12EKWw"; e_fb_requestsequencenumber="AcK2SHmtlPUZU-HC3yRY38a2DmyHqadBP534HEDtB1QGnM7-qwyOrWXb1A"; e_fb_hostheader="AcICIwibJCZSWwmDi26zj3SAjl1cBbKrPq2aFnP84-fumWK2wMUvVXrIleT-3i5t2e2bsXosudR5Y8sr"; e_fb_vipaddr="AcJWKe6-1UvcT6JW0e75fJR9MEXYR1rQ30L0JW_6XcrGWe-KGe-UYIudQkSzYWdRY5hSt8AMAg"; e_fb_requesthandler="AcLYbtM0o1ANQuhAU0dQHzIExsqKnWNcmR-a1EkVZmu96Xa-S_-hkU2le3PezIb7muAcwztlyUo"; e_fb_requesttime="AcKVQVWorLWy17kAlul0JUcOjq-NNrW-GjudtcO1fgBl6h8FClU-ConduvBz-RDoMofq58LBjA"; e_fb_builduser="AcK79qyI8SicdLDj12nLC4BtlFNo-W_Ik1dMduJluty170cPFjYxgKdtx5FCmoK9nHI"; e_fb_httpversion="AcISeoMzCmY3-QUzLVvH8zQ3cqTzRFVcxRxTJDTaEjkYlIgt2W_G54OaBi-V"; e_fb_binaryversion="AcLJkFZnJFakKIm9Y_PnJ9a8aHZk-0_Zj7bwUCrId8_ctBE-HlYEyHw96sOnYbbNdTusBywTMQUxyJXUpXq-Aftb_JqGvuoZP2U"; e_proxy="AcLN9qz80iZJbseSOtclOl-Xx4PCZXWIisXcPt7L2A26x2qzUd62_YvLU3a2SxL7bznMADal1xostyo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=181, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7501643093219158"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 21:41:27: Error on send one message facebookId => 7501643093219158 03/10/2024 21:41:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AgbpP3C4gG_GPCQ17vaqteV" } } 03/10/2024 21:41:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/10/2024 21:41:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/10/2024 21:41:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7501643093219158"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10510998, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ag1bBgm37LjMDQBu1ZgVS70', 'x-fb-trace-id': 'BjqXimdNg3/', 'x-fb-rev': '1011959670', 'x-fb-debug': 'csnXhGzxZUIt5dMZFLHDtI8FUVXLHzwx4KKeXw8uGBOronXwr3Qok1Df5OC7VaXibbs5IAvd0akZl4y/f+Ib4A==', date: 'Sun, 10 Mar 2024 21:41:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKrSkNYcFqe2FaGPn9CPvX4Dss2rq1J2B4ceDEE25NcgfKhnEC4J6_ahanUPA"; e_clientaddr="AcJrfo07rM2Qxydh4XYApELOX9x4ONpcFqfR-Rksr9l3E1eXh4enE_L1HsWlg3ARoqmcteS8tYr4LGUCTFuRICmCsnCTgdja9fCpaQF1ycg7uN4jUw"; e_fb_vipport="AcJBEQm3OnReYeNpJkpAVetNM-C_b1GT_WoRJcxXL2Cs8YQkBSmP2Fvvo2IP"; e_upip="AcI5C4XWBT1IV_wpezrv_z2ptx-cZEQkHPnUJ_jqS7x9ZJoQKkeNvCEUqhfIIdTBr04uZ4FCG8YWbZSYOK9PYpo8BhP61Pnl4eI"; e_fb_requestsequencenumber="AcI0WyimJ2nADxu4ZNamkfO0fgLHRwwYCGgZX_eaLa_LOduxrnWrQhhJPUKG"; e_fb_hostheader="AcJWuhmAc6e1EqRfAScsoKgiPb6SpfU8hoFSJVHdcMo3j_ow_b1s0pwKS60ly6EK0-uKzOdayBXGY3z5"; e_fb_vipaddr="AcK0WxqI_0ZU9fVFU4cF_SktUN3OvF-Jf8QEZvix1Ch87nbfA-OqbGlR1x-g_tNesGs3KKK7Pi8h3Ah9O1dS_EXpZRQBUqB9_g"; e_fb_requesthandler="AcJwkz3p3HYYuW0mfM17tr69fGfmgiD8L6pX_AZGRbR8IBHuaN5FT4XSPy_bulniXFlrhPUd5yU"; e_fb_requesttime="AcIbiogaoUnfJspyM-Ua_8Tp7Mnz0VCWVRPno2kGGbF2M3EmQ5CWUafrH9c6JiMA19Y6IR3j7A"; e_fb_builduser="AcK6BWYzktMUn4Yn0_88tEbZekN5iW5IA0WTmtMYYNPTVQ3n_VSobaFOqUe2QSc1p0s"; e_fb_httpversion="AcLIS8y2Pp7V7fzrZmEZuvrtK4AglE2w-Cz2mlm_2ADqfnNfpd07zrGqCTJ2"; e_fb_binaryversion="AcIFw-TrNfLh1Hc-kgcDGqV_xAKLFxrlo1BxYgEsLvPQcfMA9BH9RxFNNltlfJ4dwHyc388JftU7yUkmi1zjfuGCDctI7VbMPoM"; e_proxy="AcInhq_chks6qGAKTwPsGbufrXnej9WHJm8ZkgXU9L7I3XyHVKOxJCkUTvXifCyarXhlMgUFKc_B8Zg6C-mu", http_request_error; e_fb_configversion="AcLB_fakEtizASrCri8QTt4FwJQxZK0dgu2qiKWSXfIXirukHeBjN6n5dQ2L6Q"; e_clientaddr="AcJMJjLXRFqsernJHSPmvZpRvm1oUXRs3PTJQZOcl7JZ0MDiG6YP9BaG1blksxqAUr5flFsCDmPm3Gk2Ow"; e_fb_vipport="AcIfh-xM12_-ZwXMkMK8vWMgS1B4lfNle_9SS2Kkewxf9IYQXbAcW8m2mJyC"; e_upip="AcKsXHBLzDSHBGgiFZZEASPYk0c9zgmrvnGs2uVER_ehq4K-y8JE-XT5D4idH-PjXTEHV91ZqL6p2If5I6i-3jk5I9ALyha4xA"; e_fb_requestsequencenumber="AcKakSipNewGdikDHWBcWUIr5bwdkVkQF7LURGTeLI0laa0xXo4UyDjfCg"; e_fb_hostheader="AcKjelU6FKupCO9rKqSGiflmDQn3RQmPG9Pz6BO7Ym5DPNrhiZ7PdYP5VkDr6i2XTC3cCtlGq4w4T8E2"; e_fb_vipaddr="AcLh1ripP7WpIEFTZF5Mno8rpSCO7IjYZW-sEEt0u0Ab8dLpCdVdzV5r6jRqY2hO3lBBRgDtrA"; e_fb_requesthandler="AcJLJQpGv3p9Y67dgFbckDQs_x-QohhPw7O3uhPWizu95u2tWJRc714aMACDpDDF1jAQxBmm2yU"; e_fb_requesttime="AcKl1xtfeIa2CL01LY-jjHgCbPjf3cO-w0xrvmh0KdHavpPtPHoqmxQUtWlpUMw6tMpBNPcLJg"; e_fb_builduser="AcLcwPxKlWOKB7VnxFswzPqd9f6IqSDGRPmYLn3H3gXwQ87acLjQUkN7dhvEVrYSC-8"; e_fb_httpversion="AcIGcuEjLa_JJUXZjjVN8DzKxcorR7jq7uRlMOkV3fmlaXTqbtgeNNJAJkDV"; e_fb_binaryversion="AcIGWuoH-MNSnKK2FtzIHlsLvoT3BXwF1nLfXS-NPLXsxfUCAmopez-SE7Kr5YVBuxrny4JDYcLBvM9timXaYzJ0wv-cudiliRU"; e_proxy="AcI3nZSIkPL84WIJc9_Ja5p2NA3YHGSKoCXJKXlZLbsXOEggG4v5kENV-sqoqQkoh6Mk6K9TNgG7QmY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=179, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7501643093219158"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 22:38:41: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7287310424648090?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10520694, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7287310424648090?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7287310424648090?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7287310424648090?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7287310424648090?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuFMAWokWduLFf45xs5Xnk6', 'x-fb-trace-id': 'CiNcBjU4WS8', 'x-fb-rev': '1011959670', 'x-fb-debug': '2B0Ot4KbyR/rPe7yPzlOA/1dOwHDH5BwdvdXjZT9XLoqh4Mo4O7bzIpDZjkXK0+A1Lx4qxOerkspKgWcW/2hvg==', date: 'Sun, 10 Mar 2024 22:38:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI-tUGYz2pV5fAnyc55tb3i3EpzIdsEFSRTe9RJ3q5P33LUiebHcM-RmCsOVw"; e_clientaddr="AcLqoGMxS1xEh69iN7DGR2_pptFT7p3bOWTSrDiysoWiFnacX9TSZOm9W6A-e_AMFqlnj36dOoCue4KoZS_9KFRe7y8hVm-EhMHerYCIreJn3qVedw"; e_fb_vipport="AcIz8Luy3MZ84DxIW43HabXoSsANdoU-RDeCm1Jov4yvOsb20h37nWzwDL1E"; e_upip="AcK-2a84jyBl5Vt5jVZgMuF9rZRE8BLXWdsVASA86lmTk_toxqDWqKUMOYx7LJI2Ooo8F_nwKnwg4c6MaTIdy3wjWuwOJ-LPzDQ"; e_fb_requestsequencenumber="AcI8K791H57DzTukAtvlwzUHmqyvJQZf9YEMtb1MYX9ssrYPEj48xDJqfV2jUQ"; e_fb_hostheader="AcIrDusKInk9WU8-g4PzxgvT-CB12U-vv8HZENdonUJy3FU2J-SwISRAiYPbnAmx79HSoEzRr5O5SWVU"; e_fb_vipaddr="AcITItCj7kxbcyVXKd9q2mr2t_7Gs7sWB-8PLDbWhsXmdDU2vrFYksq8tRuhZzxr7JJpYc0bAFKdlIT1VreeveCI1XvlIAJLuA"; e_fb_requesthandler="AcLAk6-XkeAD0oB30m1HyXNxjvsHAzr9K10FoTI9wU2jonXuYUW82S5tVH-1dqbl7s3VpLM_pCo"; e_fb_requesttime="AcJwGZvbOeWUii9bkarPQEEL2ZC7H2SEUc2aWxWHwUoG7EgVcO2KKOwRiC2NwWIEOygt5MSrSg"; e_fb_builduser="AcKK-4BUyJPHn4kCWKpMvbK9HblfgMt4r29Lyk_8yTBsFiGCkYidiony-33t7ooUz3Y"; e_fb_httpversion="AcLuRopg1sjGYl5Ij58Jd61DH9R-DK8ewmzx5jwajpTmQGZjBzFOaJpBWmZP"; e_fb_binaryversion="AcJC5Yn4jz3EULRkTbmh1JY1uSNS7TNJXGFJkoyqbdrZIbaJuaTDcr9f8n5-UXtJHE09eY3QlFwVQo5By6wrZJx_hRrjKfaOW7k"; e_proxy="AcJN3KvDZ_a5flVGm3bEaqyI7Zrfi3xMgbarOk19LCqGvulaWneEFi8WC3EL0JPp24m4LPwTINKnu1kIaZJ9", http_request_error; e_fb_configversion="AcKkmkd49QDl1UGXg2IgE6Q0ALTG5NZflTlyW3dYCsvUqDInneMaysWxo12dQw"; e_clientaddr="AcIY2kFJuzorS7GlXV6a0l-WhYUyPNU-Wq1QkBpjsRi4Knni32TZt9C0sBf-E0Dk8B_4f4kh0DIiiwvwAw"; e_fb_vipport="AcIL_kzx6zWbhM5xMsIZamTxV-mhEFKbyNcksxYzkZqbV7KatUfhaIwnOpsf"; e_upip="AcJGtmz5F8jd73mmz4GcjAnR6PRY65rw1vzd9HYSg5H0FyNvAW87by5d0qhVc6QOpmxaRt3PTiyJQGw-Dk_su7N8k5g5scqwEg"; e_fb_requestsequencenumber="AcJZH9_H0BbwyUyKXaj5-50n5l8ueTdudWsI5ThstG4MZ9eP5wQcPGzVAA"; e_fb_hostheader="AcL62OV3NWoBL4xhmLHzxEU9j9d3ZfAwBQ7GDnqZhlavh-kYMfVT4DxuEF7mlTzKO-T9jUCp6TFUZxI_"; e_fb_vipaddr="AcJwwI0TiZytFJJ_8DWwkOpt8fsjGnfEynciOQDF4VHPsW3m5ltVnGM6UUUNffbE7xsxlbh6MA"; e_fb_requesthandler="AcJHyWz7s-UPTOWdkOzX41DC4YYjWXYWsRgyYIekBKwyRjpClGh1vusrZrfbqwJ0fBYt6olecjY"; e_fb_requesttime="AcKejC1wHZ-dtC8W3ArJAa7NDP5bRI7qJqwrR3ZTYG67DoHGjhmIHH3RMvNYVcq1JHcPRJvnZQ"; e_fb_builduser="AcJnE7n7m65wpz4l4j7DVOJEZtT0kazfMEAYZtrFVnXWlHDzFetX-Fqr5bALPDxXFek"; e_fb_httpversion="AcL5RQh1XxVyzIHc0kp3pzOYB4wQ03N_IpxcIh-Qp99278RF6zT0H8nVGwKr"; e_fb_binaryversion="AcJbIPhl7423SJy8AaAemFHkUeAZTq_Hp9rzAm9z9PaUt7wvpOJUwYeqsr5NtCHMLSzON5PPP_4bh1cQ6S-ni6k4UylyW_YBuoI"; e_proxy="AcLv_wlVRTaoTVp0kKiDM3nfbYdeE-cxv6XLag7p0_EFec-0geIiiMMIc822RqvEinJv26GJNo3ZrCM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=217, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7287310424648090?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7287310424648090?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7287310424648090?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 22:38:41: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/10/2024 22:38:42: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/10/2024 22:38:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7287310424648090"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10520817, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'As-RYySW28KGRmT6UbqBlUm', 'x-fb-trace-id': 'A73V9Nt+BNS', 'x-fb-rev': '1011959670', 'x-fb-debug': 'LtA9cZEkkbAHwWFDGIZZDwcXpmPxMlKxuN1mceD5uB9w4eitSkLp14rw9eLDuMAjtCG3YMoL3TjscPOJeQ98Mg==', date: 'Sun, 10 Mar 2024 22:38:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJAvos9JKnlYtOsBe3-DGlC5W5N4xHozhwcIgFeW9MCmEZH59f0LDXRMg5Mqw"; e_clientaddr="AcKgfFVea-fa6-wZa7jlFmkVgrMSFcSb00pt8Pzz4yKqUgMszo7QtcuM25JeWZMghrmxRy0Gm8A4HCCPLZ5xLwr-RvmX-PGOWdn76-uf-7y-woJRGg"; e_fb_vipport="AcL0ypWba-0BGN8TiE24hFsuYqDBzHS2vnslr7p8hGQsHSRDaGt5Zt9gAu6s"; e_upip="AcL7C_5kvFqWS32YDLwmKePD02Ono1E62r2xBWBXVec_c6T9PSOWSHmCZ0sY5-iQKNeHg9nl96jvtT-ojbR5GQwy4XYN9xPZJxQ"; e_fb_requestsequencenumber="AcL25uDvpDadDsvPMyPS14C-XNoEiWQRpa8WcNmfP9dkJI8gxwR1q82gfvg"; e_fb_hostheader="AcJxJ0a8xiZhoD-uRAb4Gy5Vq2GBQijU9rEjfCtFD_5xlIbTPuILZgREvZHaErcVEJHxQ94KjxqoHO2Z"; e_fb_vipaddr="AcKEv4ZSf68hQPEBsnudfD7JNlGt3dxVI5AtyU_eR0xwtprIeJWs3_qT-hKb72Ko93J82rqpBZeQcv5Nk-6pt-8JGm7z_la43A"; e_fb_requesthandler="AcJVyZGwdqfgSJQqZZw1dzWBhPcUJkYWRpD5_EyghJvIWupO9WFiAog1QBDhkKNYkV9_tV7khUk"; e_fb_requesttime="AcIJvY7kDaf2ZMVQh4wg5-sUTMPS-lFfAuyhBQQOjb2qSoMtfuGQXDno56UgNIdU2HnY6uHQsA"; e_fb_builduser="AcL0FFRr6FsPVCP_gGhlDbe3Y1xF6eHJFnm3Hd-DLRIICpF4oK07x6_qeJ7cDE42J-k"; e_fb_httpversion="AcJMpy02i63oOAQUXSD42KS04E_eBzRxItusVcBXFMxfJIEx3WNo8hibzt5m"; e_fb_binaryversion="AcIe33cW4UJ-L4EsKFMTG23r7zgacgHVqk7rKatv2fPoUo22mVjo_vfgwuAP5Pop_E0KYJVjFivZKUN_jtvxdmqYH3wcl7R3xAI"; e_proxy="AcL0ief7Uoy7LL_thfVShToIPxrajWNDViqbDctzryU6AWoKNm8jSLz6fW0Vao5ta1MOMVWmBv3eUOpgMAby", http_request_error; e_fb_configversion="AcIU6hzhFxOVSL8tqlpvvrhH_Mdybknu-0mg6svL3C9DAviqbVjWqOZjg6FaYQ"; e_clientaddr="AcKdpbNgq8AIg2mV9aNacFlx9hv6ixmn4RFAyiNK1FV2HqESddS9bTPFKVE1qXX3SSiSVdxCfkXg1j1JRA"; e_fb_vipport="AcIvBI02SyjqODwOl0q3BPvoeFjJQOSdIvKVtHbNvVR4gHR41hNxMoZbEhyd"; e_upip="AcKlpoAQ8lTkw3eli9u4XhKz4P7SzjukOm6M95gnZXufdMpkEnjHG0oZBW5i_xNpbqfWdABGWQMVi27o5pOrACT9MLBTVHYQVQ"; e_fb_requestsequencenumber="AcJF11p48vxdeE6iZORGBGWd_DWe4O8XlyXHp-CKSy_7AxNmyovd0ZbLuQ"; e_fb_hostheader="AcIggZcthFPPFiM2w6C6MG2So2pB-2UKLcF5cMWQgyKAPk-ptU9SuO4wSq0eOkY9TSjRfyjdhfA8qO0A"; e_fb_vipaddr="AcL1xuacJ8ZFuRYfhztkxBoWdB52dFmjUkGhjl9sIR0dIwjHJ6S-qWPhrLkUunj9JvQF0sTxGw"; e_fb_requesthandler="AcJeKFnCnMeoTb0erQ4y6A1zjZtzTmRV5GJhW1aoiIrAprvUfiTe2_x-wCK9SWOHHTRIZh98d9o"; e_fb_requesttime="AcLP34GUsmDbzNCaYjTuJP8ofM-BtoQ13AnQQ0cgyjQxLudby7b27FGtKRAwBSPKnu4CdMTMXw"; e_fb_builduser="AcKUCgkMlKqFih_zh4sxT0KOyt9kmMFUk760dqgEMVd8x5anY78Oa0T2l8h25rY4aE0"; e_fb_httpversion="AcLPE4RyRosMykACJcoGUBXgB_TVbRUZNRvI24nNDCk2ZGVSWaU5euy67G8D"; e_fb_binaryversion="AcJ_lFS0Gm0_CpiR-OFa8k3wacXTu3fm6Bo7uLS_jlg8nA0MjsLFPp9D8MXC-4E6UhPt9DQnBkjTtUrmQjOVbyrk5_zoAjipXrg"; e_proxy="AcJtg3YMN2DaUQpzKNhJvNvbkMGD-cvUerRAI8CaKhFK-Z4JexdBdedrlURunWWuEblP-M71bDrBZcU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7287310424648090"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 22:38:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/10/2024 22:38:44: Error on send one message facebookId => 7287310424648090 03/10/2024 22:38:44: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AA3xr82bDXig-I2soTqpBPc" } } 03/10/2024 22:38:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/10/2024 22:38:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7287310424648090"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10520897, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYBJcOec8-wFflYfqdEJ2vP', 'x-fb-trace-id': 'D2loOF/mduG', 'x-fb-rev': '1011959670', 'x-fb-debug': 'QUsTLKjlQYJOL+UT56bwpnjjEfkoP3e+bfaTkuwXLgpYqH2EpOI8h2EBT4CbVv4BJPGREumfDsjOJJYChctUEQ==', date: 'Sun, 10 Mar 2024 22:38:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIkVWm15B_oApHRVnNk_Z7Wnr1mx4fbQOubRNyGse1x4xuODW0SRGb8Zgrj8w"; e_clientaddr="AcKHpI2JRPn6h9QMvev3hscz6Qzlg-spTevEXgEv56RaafjM50em6DyOKJX4jO6kz4xK2sFs7JKywVqSImOJsQ_znskciMaR36JAaEmpG8HCnu14zA"; e_fb_vipport="AcJcaz8caoMxN_Sx0rTZht9i3oYEO5PUoMXaIK9cVsLKG9wvqNF9b8zZE_C_"; e_upip="AcIH-6Zvme0qAlHrdJhiPbSKjHPlKHiKoLZdGVr9zsBd37DsC-Tlzx60JGh4NSmpb6gSaKjK8XoLcINgiC8CzqTxjSLWlAwGzwk"; e_fb_requestsequencenumber="AcIGtN2R8jtLKcy2Mi_2a80vW0LpUu2fiNsBP0OuJfzCQSKdogB7Nv8CAyhOzg"; e_fb_hostheader="AcL7P0bsSvhXPiEf9C01hTMv0OQxOQDCp-IEyjF0qN9eIog9qPWxNKAb-9RWUJcDKLJmVRI2QWIuqquM"; e_fb_vipaddr="AcL7WZbMPPEcVicOyl9NMNdhDTZNjWaB8Ue3K9RGnwpXihN0vTBgFZSrKR3OQnSc1Sp42amC9yx72hbtTYZs7gASW4kHkljY4Q"; e_fb_requesthandler="AcLgJAscxhJZ2cjyJMga76pX53rTk3lGmudA1AxwO4tzKo4ROEditN7CQ9qyglyXSNvu0QynP1A"; e_fb_requesttime="AcLXj-4SiHWGMN2tdUfn-wW44UicK3qSM1zTpKQgngQoFYuK05gtZDs387-QW0QWWBdS1kJb3Q"; e_fb_builduser="AcLuPj1DYsHWBjXWzxsZT8MWxitS8wv_DI6rZdD6XzyB5cX9gcRDl-VLsuqkNy7UEwk"; e_fb_httpversion="AcKr1mkPKEpunaUDfjQQxt0pTeXvsiUGH4e9vjk1QH9hth1jneCnTw9fz4zO"; e_fb_binaryversion="AcJtt3VtXLF8ajX7jcMZOkdzaecrgL6E0i7mNItIa-B3T_3lwTJbOeEVLPswwUNG5lFymwvomZT39Dw0zIURm5kdEy37TX9DGOY"; e_proxy="AcL66QTQ0ET8stFoHmVNp5HVAIq6dKg4-PtSF99lTULRghXirUbZ5F1heh1J3pwI0FBPg9dbWTScLXQ0488", http_request_error; e_fb_configversion="AcK4k05gt2qlTl4IrnnR0C-icnBp5Pv4ll3j8AREQZE-mvvTdd9Z3mdvCmtmIQ"; e_clientaddr="AcIWb_5ceOqd2V5WHBiYj9vaZNi0JJ2CFDcIKBgzTkNnBAllQUYLzlLcKhgPHonzcRwhWOoF1ebFXMNw5w"; e_fb_vipport="AcJ6UXc2TrBkNSdO26fH1uBVlOSYyndggQnQpoxMu9vjhF4sbKTvbt5c1CaN"; e_upip="AcLeEhucdXfJEVjlcPwIC6ch7guc4pRAXDPOZv6lXwx-nzkhEjITWJAb0WYSIC2HA6EhUref_K1cXWrgr25XSIPqmDiesbJbhQ"; e_fb_requestsequencenumber="AcI7mrbrSOComnZooAQ_Qk3b9WUzRMCC93gt6kDjxqGX4p3v_AUTJE9b1g"; e_fb_hostheader="AcJ9A5UhGr0kbe_uQIvXI5RUVOm64GYPwFOJobSc3pHHAJwf19Y5LyBb_NzwMBKvHoGozxS1eEt6CWLL"; e_fb_vipaddr="AcItSZPVeBXNE5UZ9IW5A1-ZdxBqSoQMzofJOSqsE0kdw77N7V46Oc0Lu4LhasW_noF7nUYYaw"; e_fb_requesthandler="AcIjGit3TtDWFpUKzx9MA8WOzVSBv6NA6DYVdwQg_Gu54yGjABk6bHO9C8k3XS4XMvNqR6IK4LQ"; e_fb_requesttime="AcI_mDhnVT_I_xyrhRhNMFkVEb3Gc2LL_BhFkR2kcamALiaZJBT4rkwPtfiqumBg7KCtkVOyYA"; e_fb_builduser="AcIty4i2GBJrBu1PV2nPpHtAtTF-nv1qq-UiNhiZfgehsmxIaB5u4zFmH46IWA9VvVI"; e_fb_httpversion="AcKj-Ml0tSGfZtSGA8AdQe9ANCQ0W7iYY7zr1Tefzuy_JT2xe1IPjK1F5_kM"; e_fb_binaryversion="AcJz0IPOvnZiOt7druuP5HLW6Xhtyu1fyvIO7rfnGBzytIHpd8c_M8n1JUGcn30v1XDynClpzlHGyykoqeDl08Vlv56ZwQ6O7ZA"; e_proxy="AcJiufsZcw1RIanFt7M8oFrUPKTOWXDgwcYiLSaGC9gYTVQFvPkYlbNLdpVbuICAEJ8MOLRqi2BV4Ss"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7287310424648090"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 22:38:46: Error on send one message facebookId => 7287310424648090 03/10/2024 22:38:46: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AN7nNV_Xrw7N7bPKs59PgOp" } } 03/10/2024 22:38:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/10/2024 22:38:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/10/2024 22:38:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7287310424648090"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10521040, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ActIvm4gDr3pRL0ezUoTzlr', 'x-fb-trace-id': 'HfZJqYBATvi', 'x-fb-rev': '1011959670', 'x-fb-debug': 'J/TJ14l9donCfSQ+IYJr9RAcJa+fKfhrel0uod2HKC+4byoQlPv/8RujAXxePlp6uoWHiNglugY2fzuDmUE6jQ==', date: 'Sun, 10 Mar 2024 22:38:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKvVrrMQDofF-4f6Y0F1kCbO1RSw9QiKypkLnn6rckcWHnxqEfDJ0Wxf4TQFA"; e_clientaddr="AcJmQ5q8ixikS1fyD4x4QO71GriQMMjs-26H7_DOLbykBTmukj8AUFvaFicv5xb1m6p6sLes6hMvcbstj0-XB0w0QTOw48ww6_uNJYHbOacGQy5wxw"; e_fb_vipport="AcJ_f6DADi9LZjsJiyDdD7QfCM_CVX34hYk0kE9G7JVXJtVz-PP6jM_rI40V"; e_upip="AcJIkiuKs1yXFu9U6aWV9P9v7Tb-NaDchuYJ-zo2fZD_9fAoEtskJSY3WOfDmfLK8Y2B_joMq3MUh9Z_wfZbxb-oOh-m80XRx-o"; e_fb_requestsequencenumber="AcLs0O7GvcS9NDY3wybugcU4zzvCLfG1vO-uTjvfdpqkq2dQLNM6kDHDza-x9Q"; e_fb_hostheader="AcIl-4CboDx3j7AQ210JyUOI9Yoej6IB4HcyTXyh_biaupG2gz15Vaq8P3kBVjCXVJhNXa8-cDu3GLaT"; e_fb_vipaddr="AcKdLF0kHNNPLCaGwQvazybXlU6SqfZ61PJmCockUg8FkR-gD1dFzAc8mUR2YXRwSr1tlG1ytZEP5aN5TE0DMPSbkb5bbMUMUQ"; e_fb_requesthandler="AcILZS14gtLXxV0ARbHQj8kEsG9Pl9ro11b139ZuIb_tb54t0ZPgaWliH7UuqC3l45OqSfJ2n7g"; e_fb_requesttime="AcI5r26MBER7NGrkpvWHZI-LH09HQtdCarlLUpoG5KtH8O8QfY3mIh0qW1uXa7wNx7_ItUm00A"; e_fb_builduser="AcLpyqGCkBr-iugLzI5568WPmShZwLUj4eKa3tVIN2TF8aCmEu9dmHMqEt9G6t6fPRU"; e_fb_httpversion="AcJM0GC6CiEX06TOwNye1McEZ7JcKttIMOF-PaqUJDswOSHsdBfB-o1c87CR"; e_fb_binaryversion="AcLtT8nA4qitQfghN0XCPfI5MTSpjaPROzdbxavlFAxIHo-rrYgL_ekZwKrXmK9LUTwJemehZAd2vbov_P0n0FH3Fhy5expnh4M"; e_proxy="AcIUIt8reGmJZiqe3aUutfh3QAS90jdkV455T04t1m_RxAjYM_9Mf-ys7iUbaFVbrnEsTIfzbq5yPPtJiQmt", http_request_error; e_fb_configversion="AcKdYstVKyCofYEi_ldNlesMHVyszXQqDYU1LRmOTNmkUnvLvTbaVn8npEsbjw"; e_clientaddr="AcK3f65DUzNI5YBFD6ZswQMmqCW4VUiqTOYjpmQHz4-8gNlSFfNt35lXSGZKxfXtzrIx_-F89IrwChxsCw"; e_fb_vipport="AcLg7pBQvdZADRBF7k5ZQFDh-V7F_X_nBZ5UWWmM9gLsNlT7VdKtnBRuht2E"; e_upip="AcJijvBjnQ9sIOWei8PweFi4GTCC_a7vNP81VgWKRmRDGNdqUADAWKmCVIVox4thDM7CI4zAvvXsLG1cw0P_EwkSc7frAUGWPQ"; e_fb_requestsequencenumber="AcLNEmpEFAlMNRPAhZooBY_D34R6aGgdq_HihP3tNSPg_F2XdMirad_OfA"; e_fb_hostheader="AcIoxrOAJKi15Ziob9yhptYd5WiPobnQ_WEELjT-v8aaM7WgEut-_6rzqyzsTYCzmyQjQvactCaK3vFp"; e_fb_vipaddr="AcLQxtIlSBZ2Ic5b5ZJGjnIkROiYv1YwOXVzgzH05jvS86XnTx3tMHZV0UCrf457ToA-E9RuxQ"; e_fb_requesthandler="AcIg9-fGP-UQ-XTUd48Veb20nS_hM-TeW5S31iqXkcy8-DphAB3VnP5OQcj_7ir6MEwT8gNN8K0"; e_fb_requesttime="AcKFsxYMxVMMiXrBMLeKSjK0t4xCWltmB2wtrzvlXrYSWIXaYm0K7auj6nq8IEeazaXm4jRP9Q"; e_fb_builduser="AcJ48N0DqbtyeL9-Ffa-2PT0OU_Th6msObXYy295udbj52viKwU6tAjxwpL1L30vF7I"; e_fb_httpversion="AcKLKVog1qD3CZYJ2_S2vjGGHIsMETj5EqyDBIYW5CKeEIEVinb_NfJ_X27i"; e_fb_binaryversion="AcJ1XP7Roh3Njyx9bVuKOuzcVzVvN0ksgYRFCBpUVUMvxzMFZW70Vgr__EjKDKJsR8fkSjQlvww_NvLQAqUbfU8xw8JP3fE-WVg"; e_proxy="AcKrBKQ1c5IVS6Ty2_WTXWZW8qOWsSWHC3EpLBQpaKJW-AL8QbjjNibM5TIBRG-3Vsz_X6_hwa-TiWbo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=187, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7287310424648090"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/10/2024 23:14:38: Request bot not found: { id: '425997890871688' } 03/11/2024 00:08:58: Error on send one message facebookId => 8172341312780875 03/11/2024 00:08:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A92dbEkTn7hdwVDX_rbRRtE" } } 03/11/2024 00:08:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:08:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:08:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 00:09:08: Error on send one message facebookId => 8172341312780875 03/11/2024 00:09:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AupzOnArOGDVlSBLY6U7hPw" } } 03/11/2024 00:09:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:09:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:09:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 00:09:26: Error on send one message facebookId => 8172341312780875 03/11/2024 00:09:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ALB8DWbGkyQPXkS3FBvLk8I" } } 03/11/2024 00:09:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:09:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:09:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 00:13:25: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7581386711882638?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10537663, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7581386711882638?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7581386711882638?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7581386711882638?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7581386711882638?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0H-kjxXW_x4K6W2_l857VP', 'x-fb-trace-id': 'F0oo/RuNjhq', 'x-fb-rev': '1011960262', 'x-fb-debug': 'zjH20kdgO5cqIchb4EfcV68hR6C0RiTTurr/pT3XAO8gWVQkMzaH61zSF5q67Tz1nMHxa3xgTcm0TMKYxdqbwA==', date: 'Mon, 11 Mar 2024 00:13:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI2ueZJD-PaLiyXyAo94rPNLEQUgNt6Fr8XfVKzcVX0lzPDIHUokiRzmOTAZQ"; e_clientaddr="AcJl-Fr6Eg_dUork5BeqSpUcDc8qEiot-5GDY3tZXntbTfCyhUbFE2-iEuAsKVZnU1HWvmjFmAPxPCX0Ab2tKtrza15njZhn0zxraho6-YTTAZHEGg"; e_fb_vipport="AcJcLwP8k-gAQaJHIWRtzjoWI88lDCdUPHJRSghmZQOpFbeOkf7c0oMEAYYi"; e_upip="AcL3-xX4kXsmJIviExn1Wfr0IKF3GYr7j4VGj3PE-I5eclJjheQYX3E_GvFKCGPYKVDDhaxOf8UKbxL1VRqx3qtTxyCRq7FJ"; e_fb_requestsequencenumber="AcIq0kHR7tx42FkNzWVmjnqhA0Rj8gKtw1kgxvs54Eo0fzblFT3jTW9dT5sK"; e_fb_hostheader="AcLnsilDK_oGppry9-N5jazKIuSw7RPEqJjyR4mSQEGEZzB0phdCnFiboQGFRUXVFmNrlToC53SvAz3e"; e_fb_vipaddr="AcK2BF34AI9LEvtX7Ekt77hRCNc7HDrKWlryw8KaV9v4d1vlTk3uULT3kqWgZArplxiGVw_JI9-btVrwXXQSkEzFHk5vo1UXAA"; e_fb_requesthandler="AcIqV7Kk6Bej6TjEkqpU-JmgJ9T0IVvB-h6aJXjXIVdJLAUIYnPi02o3-Mp0wnMmtNGKbwfxYnQ"; e_fb_requesttime="AcJTGUohRZsgOpTql4u0wTTypdEHPyhAwWRkHLFXp74GNxleFWuIarXQqo3shscsQNySl60_zQ"; e_fb_builduser="AcI6kmhqGhPMILvAdUgr1pf71QPH_JUE4Si4vXW9Uc7zX0WCoUAdXldbjSbhH55TqFk"; e_fb_httpversion="AcKX1XB8hrJE-tsNo5NBnOqidB8h8KWPHJO7Dpprok2Z8bRzVztogwuhYNDA"; e_fb_binaryversion="AcKizoBDq8iQR3aNTeFE8ubYdfrEnvtUPK6WgoPhQ8SAgQKRiqMu0VVttGlOPq7H-_rppLTsLSRmumw75A_fOM-Y7mK3q-faKS8"; e_proxy="AcI9ScPPlA_dK86GT-8mXyMZmpWB9lXgU5EMrp521MIcUMocDi9jukKOatSzsniMl8ITBFUDaqKfNBl6xCML", http_request_error; e_fb_configversion="AcL1HhjO9cWiiorqK-I6Bf4Jr5PdzCDMk36mwUw1jdJBtFOUqDzvNoZeSXpd7w"; e_clientaddr="AcImru020hl3zJWXa55Tfa-lxkVVA2_mtM8Wf-q8i-_JwDL79XSF-fjUcZWZxsZSEmZw1DEuupeNA5uQjg"; e_fb_vipport="AcItAT_YMcWIepsUgKuxfOzySdJbFBBpbf72XA-nR48rJP-wNQFfH0yS8PO5"; e_upip="AcLNJyTGkn6gb2NxR_RCBPSaCV6gOMEsD5Noh3LUBGEDR-UWw4XCCraX5u01xf2MJ1dOgWud5ulQDxY5IuFIbTSAJ4hGIzkpyQ"; e_fb_requestsequencenumber="AcKbCJn8pv-yVwp9yZUgCDGanrkyEiLRMoS4mfR6Q0n752gx5x8s-KmiJQ"; e_fb_hostheader="AcL8n3x54xx-P_DQoHU088FUDNY9BRrzWF9FyVrMLamNXG9boh1QPS0WKVWKFBE9EADIzxyyQuU3915p"; e_fb_vipaddr="AcK15Y77H9v6ib7a1OlzJZ3hMDdh0NAO-RZa0XdRZogG-xRO16t0O-BtXwPHSNvNDvQBlxfBZA"; e_fb_requesthandler="AcJklyjelnUF00PY7PXjowxlS-H9p0c1FsmkmrtJmcie8NrmBj2ZhLzm6aEXJ9rV_JIBTEoeUf8"; e_fb_requesttime="AcJFdcSducAo9J65fHgOTbW1My-T7aT8WDre8mrPNMscUYAD8_1OI46IMueFrBA12Nzvuysulg"; e_fb_builduser="AcL5qjHKQk_eo3m-ZEo_L4JJw__vWPTcpfYOvm7F34_41Bnoy7yCTa4U9W40tc9SDvU"; e_fb_httpversion="AcK1z08bWe9qrgUbh4ZtBpnCGwLzc3ljnbfmBj4PqHoh6kmQJScHbadiEowz"; e_fb_binaryversion="AcLr78q_ay6A9ohcQfJaDnHN1pwdx6PJMH84qHHyHzkXQLS9NEoLky5-QlP4UvsNpWT9jd1pKMms80Piuq-IoKzwvDWBzZE2gp0"; e_proxy="AcL1SDgUCAgXbw4jlaxFPIi_VG6M0tuyotojw3zoRMOwuQbwaNVkP6N1Wr4dGHFVeDjKD2KAjb1hYX8"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3407, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7581386711882638?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7581386711882638?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7581386711882638?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 00:13:25: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 00:13:25: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 00:13:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:13:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10537787, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdNtVIhrpOyBEe-koFBLTF9', 'x-fb-trace-id': 'GkmLb7g6RHI', 'x-fb-rev': '1011960262', 'x-fb-debug': 'Ee+aYBr21X3yajJDGpttY+Z0ns8s7yyjdfg1egSuchcN9movjQrYv3tZMCoDBUsD84dsaNsqmZgKGnAhYsgFIQ==', date: 'Mon, 11 Mar 2024 00:13:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLgaaFlpoNPd92ew9c-1de1H42lTuKRz2wHusgI9n-pvyvIaJRrx0BpwufeMg"; e_clientaddr="AcIsUKESxCdbkB3UyqgYHKKOxEP78DgJPJpTacA0xsAjVoj-m93U5IFzDf6oBnhYtmagyapbX1azGv6P-0dD44FO5vlufxPHCpF_YkiqnYTEQY9zXA"; e_fb_vipport="AcKO8FtdNqJ75f1fqfZhPQC2sE8YJlJzKgbdjbaTPA_KUWeFoC9aLwRmpCEs"; e_upip="AcJ_wCTwfKOlYuqAfouxbwZXDPgBDp2TOACFrGGxqdQn7nYYcpQ2WJPYrOnZ00i19a2bkfdecOcDm4E-WrnqGh3jbmWEjcxquns"; e_fb_requestsequencenumber="AcItBR6pckMfCIl1EOTalS8sYynMqMjpp0IW1d9XSMr8Y0Y4oSpXceP9sOCrlw"; e_fb_hostheader="AcI7gZsaI8x4foXjXA9rmoeMk5o8Rbtjms7KFAkaWCiRZu93-htOobPvSEJySCfgg5Bau0uqJL_BqvJZ"; e_fb_vipaddr="AcIR3irA6i9seAqFiuBpP_k2wnX8x_9R71yDtPUc-qBZ9RsVt78PcEFCRnARw1vtif3xxOa7TBtRpFd3oyZbzpl0ULBjh8clQg"; e_fb_requesthandler="AcKalhgUvHljjxHJHU_hhWn3eBXWXOei7i_6nv7NU-ApY67ComE0kj28j5Yz1tv8UBDmfgtXHF0"; e_fb_requesttime="AcLwTEonRLnRCOUjuLRdRmntYj9R426WWETebzudLBFAqREwSOS-3MDNPMXIAj3qB9Eb8l6gtA"; e_fb_builduser="AcJqcEXQL2L37xIu67Ea255jxykxMIaiTfC94N3giRNkscwGzsSFiKHSzqcRIrvl62k"; e_fb_httpversion="AcJQvAbimsqX3u6EL6t-inYMkk3NWF3o0nFXDyIJQQNN1V8tWCbKDn_FGIbp"; e_fb_binaryversion="AcKVraXpF-GjLYNqG_IrDbyEVj0rgQ0PfAr-0uHE0-qEwDIRDq1JxXnDS0dnzl-Zi39K_leMePVhthoxBjieMj4f0i__S3F85Ks"; e_proxy="AcLPc3U0UjRvvNKqb8vG9JGPsyYLuUGuQl4eOsI_NiNlH4PeJLnnfImtft4ZrXr9YxIABI0ZEt84_vdaTZHD", http_request_error; e_fb_configversion="AcJZrdRTMZSEgYJ8KpRNf2mPVVn38WbOT_H_zlwOL5PRxp9-NUhoTzdIjiBBPg"; e_clientaddr="AcJbumFx7m7rZgyOFhyYq27LbFCcFy61rilbcSz_iivsqzZ-8UBNq33nBJlv6Pbjx9QN3xw45mlcIQXK4w"; e_fb_vipport="AcJIKBybvta9xmelHfQEQ0ov_WwjitKrPfOaf9s4fPHXEBlyQ9vgA9pfQ-R_"; e_upip="AcIMn3OxDEgqwwgF_fi9xOJqaZiujo1KllzYjlbYM-uiPBnKXDlxL-dCG65Qw4AR53LR4KVXICJtJa1idskGCd5YPImt7l8ykA"; e_fb_requestsequencenumber="AcIMkleqgpFYF18EkiTGUqEw-y1hns693Q1u4MmxZdnsNaZck-3cfhkl_w"; e_fb_hostheader="AcJ_nwZZnlDQbGvoMolULD49dlJg9KWcmamMmaTGh_gESHV3-aeCKmr8qFgggxHtroOYuHxDsIeAruiD"; e_fb_vipaddr="AcKmnLhoZx4SpZ_QhmmBTubgd0KwLMTnM9eghXSLvm9v9tXRrIWPNh6F8t0P7KiWgF5Ysds5LA"; e_fb_requesthandler="AcKcAdKAKkISjCdXse9pZFtnRIizts40AR0dxQF9vktPW3H7-_GbT7-Ogd5QgSNHf4WAiELgOk8"; e_fb_requesttime="AcI145N1zefyFH-58VCS4CoRZr_F0pMogweCOrS1PdMBdGcGQgCAHXIJMIqGYSpi-bhRQrg_Sg"; e_fb_builduser="AcIGXZ4qZml5SQPkeuwOq-54xtM0W8lDHFnRElsJxcg_fyl6sLjHBb6_OQ2uDdI9REI"; e_fb_httpversion="AcJx6yiyfdMkMn_Lkn-99ZR5hwAsQ7FDq_eMmJbeinCO-ULbauef-7ScWn-r"; e_fb_binaryversion="AcJ1q9aTuFsBsRK-iJRx5KWWQDuSMLtCicW7mQSCzAnE84VZQOae63EuMa1An2A4F9GXvlP-IikCfeCdznvIFmuepplXyaJI9r8"; e_proxy="AcKmWrDbO-kUMV_lojdB5olfBWUsWqZ0H551e9CSRljkVJqBglLJ1yy864lLhvl3hmMXiaO24aoSTuY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=121, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 00:13:25: Error on send one message facebookId => 7581386711882638 03/11/2024 00:13:25: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A8sYfNHVSxJKHAJ_coitKLO" } } 03/11/2024 00:13:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 00:13:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10537860, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AblsgsWvUdHoqyFQwT_l4Hg', 'x-fb-trace-id': 'BVZUlIkYZMv', 'x-fb-rev': '1011960702', 'x-fb-debug': 'MIICtRkQl9g31t5t4vMVQbG9S+HurbncZAeSXjLXiLXNurKe/nmkoySDuqgAlBwIIdLuJSL8upSH0icSLYSQeg==', date: 'Mon, 11 Mar 2024 00:13:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIXRLPmHuPwpxKcwN9ks4unNTEP46v8Esw6rd9O4UrMXlAZi9v5LF-L7-0q0Q"; e_clientaddr="AcLh8bsNiZ3zG8X-aZA3GgIn3SKWX50xGXrsJ__JHEli2DsHDcReZWcKErFhulqEWJBPbwbf90lregn2N1S0s5prza0m_jVXtrc8yHAPsLWiWFfEbA"; e_fb_vipport="AcI9IyJL-KjjwekOPX7f9020zVlm84MDGC3u-lnPQmAof9dcHrFDA0mHzcxP"; e_upip="AcJpxZ03DsDJa2FECcvHmf-86QOcCCRx7g013iKwUkWhlfOXvMFkT3YmQl3cL8PCpGltyAP1t9wxEUxleV39kDwFZ6k1byhets8"; e_fb_requestsequencenumber="AcK1-y32pniGQiXpMQA-F-m3RK3jE4VkqGllMtojnPmPBPudw_YEZj2kys4f"; e_fb_hostheader="AcK0-XjpMTH-D_B8VbyHwj6mHgOSFxDKDOMcxha4aNvoeUB55dyxR0C99CKLMe50mXnKcI-ogtBv21DM"; e_fb_vipaddr="AcKBt7Sy0iUqVFb3lKygfcVB5grsUXcxeW4_i-TcdKoYs732hPViHf6wObmqxtj8WmlXVslWo0zZXK2hWo1DIRYdBnQY5lHysA"; e_fb_requesthandler="AcI7bP0ohagq6sDT1lXPmGA-6ebiV3jNGWfSaP-IQ5zLslT37qOdTGWe7jxHf-zyUdexFvMKyqM"; e_fb_requesttime="AcI20c3rm1xHqCBHRP2SeX18MXTTIIigHmzr5IXQwKckII6ftFRX0c0TjFCRi7MFmeaHyzlpYA"; e_fb_builduser="AcL0fCWIEgUHULj-zwF-Tq9FHVWTC6E11P-5f0mxqlUdrnd4_KbFBwNF74FBTbrfXuA"; e_fb_httpversion="AcLSSLvKxMigP58aKRZ_HtEdhxgIyWsrNd6hnaqZMQPIJLLiRVWyeFMEJykV"; e_fb_binaryversion="AcJg8uwB17k62zYnl7dXyrIYTmcChXW10DZ-qTI8FHEEtZM5qM8laGFhFeP_ws6_zag_yeaKhP6pHvuUS3wFBKhyglo6sOjuDV8"; e_proxy="AcLDgjHYl-JN_DoVTiFXN6xmjTZH38k4PhDfGbJbgA94k9_UvN-zSUG_aIoxRGRooocjGvsPXElyJS1wAJ1W", http_request_error; e_fb_configversion="AcImEenotu1R8kGJiJDMyG5ZU1xxWsuv2ugQ8dM4REfXHQ8kzyrKWnqwZGXmxQ"; e_clientaddr="AcI0CT3NOJCqPf0FM_BUVWNRmoD6CRqZAPWYa1N9BoR61wTBH_qWby8MdVxqlSmiSm8lv0AxmgK8MIrkHQ"; e_fb_vipport="AcIxgZGp_KbHvoTXbyysQnyzL3gy1V7EpCfmqjRWli5hcCjFLdDQkVUnQSrl"; e_upip="AcJVnCMuIZfLsB4cl3VHv7ykrR7ox-FmcAoJMR15WCJfnSZ2EIihmSAPVSV4mGKciOr04E8Vp3xgFKXdrNCE2EufNmoNybyGEA"; e_fb_requestsequencenumber="AcKEFISbRavDCDlHHa9v79yRqhStYSvoPkLI2m1HlS-fjSKoW1bR7YLcVQ"; e_fb_hostheader="AcLLSkxoe2AuciRS-Ag1ndRH1GdnmBV6vpy6n17XoyPeqgSLUhFg-FC0BFFDvMrxUTFf1nJRaYzWfePB"; e_fb_vipaddr="AcK6o8aoxeVitB4ou2f4bqgmPg-YVIOK3Ox0foaXQRdBVt2xthwCo9oFlgg5QXY7eVjW5I9LnQ"; e_fb_requesthandler="AcIhFzjAFDqunMpCkTZHdNz3K6gKbn6tfT5Upg107Nq47X8LYuWIZrgGMhaWa2DBNI0kTVr6hLM"; e_fb_requesttime="AcLPoOo10uP30NYGo-zvqTQe-cNuCwAuxKSHUhXvI_wwqqUO9EgSoF9MtSCT2XSsbjInlxirxw"; e_fb_builduser="AcLoR6X7Ci2Tanb3hi3yKUC0xjaAsryVCWQG3ggw5uLHidwXQiDX0msx-iaW9B93QF0"; e_fb_httpversion="AcJwSWsP2jrHzSqn0pmUWjpW95XDlRTWghZ6-E_j1xUDgCOomMhjvvgOmddc"; e_fb_binaryversion="AcKUMnOlK-5zDK1TfHSSoQFFchfAHiqluC7ipjbnhHEWKp5RjXIbDsIUq1rn46_P9NBWn0B0zBdZDHjJOGerSiNsf5aihjlFBfY"; e_proxy="AcIBFdXnpQYVOuEQNozmrrxj1rYwWciqSjvdyNYYQT9H6P_kYUG5SFqT1GzVvhvKA0PL-R01wtSddQEp"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=120, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 00:13:25: Error on send one message facebookId => 7581386711882638 03/11/2024 00:13:25: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "ARQs4ZUfZmCEjyhQvHAnZpo" } } 03/11/2024 00:13:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 00:13:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10537975, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQafA5sC3qPbRA4MEooTTiB', 'x-fb-trace-id': 'AebPi7fOFEH', 'x-fb-rev': '1011960262', 'x-fb-debug': 'kTeNFITOGudC4qRwMG8aARrx6F/mIwZtIOdNZ/hvFp9M9GkSI4tYZ3EVyaztstPibfA/jsz6L0GLS32z6I7ReQ==', date: 'Mon, 11 Mar 2024 00:13:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI_tT1hWGN7Wf-M6GttpkDXTPsUndUMFs966Jrv45PYoQeDeiN4fnyYWmyk4Q"; e_clientaddr="AcIyRmk4-gS0Dqi7kIL5o6yZgJu5WDTIS9Qh1hNO1JExmz_fJqxHfDR11q0_S-nv69gMMjEM-paZfFbfcjFXfhQav_BOzHaAbgmTxLkmD2445q-JEw"; e_fb_vipport="AcIZR2fbbPR1HjWF3Gb86zohjq-tU8LA7nbiFS3ARRtm_FAmY1RXMjnFrLPD"; e_upip="AcLXwTKOY9rgeNu_AJZeynWlVQMzZhGRQ0-ys_NKTvnce_2Q9AjaKm02KlJ3-aV6NNA74entabHLTAHHdMNB3pqxul_tQlscooU"; e_fb_requestsequencenumber="AcI83wQvqFOfi3QB9aG0fDnom2DFZ2Eief19X0WqtqrUt-qnGPdAAYZVbw2qDA"; e_fb_hostheader="AcLkZ-vlys56sMgG9aWJfXTVLn73T97ZWPeVxtRUBip-aPyYEvZLZ7Camc5UF-DaR5Va2sB4_g4yQb-r"; e_fb_vipaddr="AcKeoKgDEM8b5WsDC8PbVRWtfR_6_n6RryaOBhATeN3YSogrjANTjgYqdfQ0xMpiG68qa1n3ReDda8IzeRFxI7Gs5XgC4ksckQ"; e_fb_requesthandler="AcLmfc87VILs1XMzT5yL1p4AZiLnj7TZJpjJje2fIBSxEJoc78mAgJ-vE-8Ysbj8rZQNuNSZsWE"; e_fb_requesttime="AcKlX3ycfyIwBSnapvIhNEt7_cwsOH1fLleHzacziGILKWmtEar9-VqDZA_RnIj89BY0RXsbqQ"; e_fb_builduser="AcKpl5IRDrz1DeUHao7lSxTBcgZ2kqJ3yrCT_xaKi5cdlyn6RSMjpLmZuCC-eguAQyw"; e_fb_httpversion="AcI6to0Vfzf0QH0RgFzByToxquvOQUeJ8sDkVHwvpvjTjMYyYcwnbVK8NYYN"; e_fb_binaryversion="AcKN3k9Ohc99NwCJ72rqLdoAAAfYo05C_3Lgl2NZ3DKp7E3B1D3k_mOVDaZo8x9h9r7m2N8ZoiWhCEsA3WMpvop9FhC8I66JUIE"; e_proxy="AcKFY4l8u4mFrsnTod4CCyd11oTuYBjtfX1bu-ryuEaT4A03mSO91J18KSKX7wDivUal1C_AkG_nbT_juKKL", http_request_error; e_fb_configversion="AcLI7tFK10Mo16ZyATndglC3iunMkguUaM9JED-JheUYSF4Wfq0usnWEeoyQWQ"; e_clientaddr="AcKA3pMQycsqeV29ekb7TXjm006_E0bEwdxqBMnveZcGEBQLa54tcU1UyCJu9bjZfwDpsNJQIN_kxqNmPg"; e_fb_vipport="AcJCUHFZQ4fHTvJmNDmKndHCkYpoBlQ73ssFiXvkwFDIBSPdzV0TdiaBWqYO"; e_upip="AcISOJdpjxb6jxnMQvNgm2PigEHT642HAeaO8xp9YrK1pvYXCOZiu5lTWgrFJCsOUfyCSR4_7okA8dwHFr0zISD7RiatcwKoJw"; e_fb_requestsequencenumber="AcLgxbzFKYn6aY6t9coHdzZTJwoecqeTDO_J0w2lVgxyUWJ7zGerbIvv9A"; e_fb_hostheader="AcKxiBoiKAXuQymThKtV94OHequEgYfPdhczCXsyDZ6UBz8lqyxKzdzohPGPEScip8L4OgNqWbT0LDeD"; e_fb_vipaddr="AcKyi-L_dCItHwCI7KFQ8lOfAPx5PFf7rtrXrI7N1Gr5weFSKXLJoDZlkYrWWsKZz5uoJlnsNQ"; e_fb_requesthandler="AcL8CbTasv3wIXw4RZKmP1lU2U2xa7i3cENLq11amndbQKaPLeMyWWG7m_UvNKf-47FsyRP82p4"; e_fb_requesttime="AcLTBGu_rZNYRfQ7o3kVuaVvU9Ut16IjdFd-UxkeFYmPkIfYePXFC4LZl3t8RNvogr8hryK-nw"; e_fb_builduser="AcLG3RLOvcJUx_TLFYryPYvS56QII9TV_ppv0RxtbmvjKc3IBiC37K2pAJbvjXGohYA"; e_fb_httpversion="AcK8vN8jKyuWdOe17Vrc2iXnyxGhv1UWxXcavXtyyEmLY7fXwYXeXUMOcjBl"; e_fb_binaryversion="AcLc4ucIBSWPqzSF-VZJKCCFWSSl8aRRVubA6X0RaHLU6ZRhjyo0pAa6ZIrpdJHQUkZJPXtD4Bd1eX3o-kN6odt1B_fx_2W3kLs"; e_proxy="AcL6KH370qJVop4N-CkRk9IyTVFwE-pI5c_zqtVg9yPS5Igpfh6w7q0KzgOCy79MjLPMZOtj-AthGHdd"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=118, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 00:13:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:13:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10538185, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_qPNpbdgmjUM2p-_Z06PGr', 'x-fb-trace-id': 'DptZSVAqdb4', 'x-fb-rev': '1011960262', 'x-fb-debug': 'YtX8eCqVJySn4L9TCgunBHoGJuGoMzfpbFE5GEh9TEONHf86Tz6bL78J6VXe4iXOeM7qDS6W1Za9khBRkEzv/Q==', date: 'Mon, 11 Mar 2024 00:13:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIGV-21rWqNtm-TwNSRDPIU_46OOdjzqCJbyk4QE3eVrbhQ3y8qjed12dnIfw"; e_clientaddr="AcJzMkaFewIjtZryEuNE1FJDW3jK57znV66qIqgNsMNoKbbItVtBk90h69dAzHIiC2n5zOHpZ79FJ0V26QEQ1zvHqOXLui5hS4n_dJ7rJt28pda2sQ"; e_fb_vipport="AcIKCJ9ucewJ5hQysCAB-G_8cor_sEMPlBbueW6blN8uUVqu8z2u3LcMW3Xe"; e_upip="AcLV2Rhv8BV0PuP08R_CIvdW_5s8kWiVwHfxK5sYsEsXITkb53BUtKgDdt-rWj-gBclZyt4uObN4oxUGKXioBLx8qwWAvMdtewk"; e_fb_requestsequencenumber="AcJPtTGrDO518bVY1jxXBR8fcsYmP3i7z3UFbLBPV6HBnoOzpDzTJkbAL_A8gw"; e_fb_hostheader="AcLjKTC_BTsePhuwLuJoaoSonFEXPZG5BkebJILNXkBUI7T3aThQ11ytupjof7-9biR4orxS8-IiChDl"; e_fb_vipaddr="AcJ3kkPbeQpcmOgDgTrpcHacAlLVUepbBWLcwjYqEhvu2vIixF6OiTJRYEOAeBJMRQ6BUnFqiMbCO5mND3dwE97tt_Y_oIf6-A"; e_fb_requesthandler="AcLTYocfVZZxlxjNVJbLLUsWZb-fZeLjjOgbBRqMjt_TkwLIIMfO27v4E7UVCRkHVDPbi6tBHF8"; e_fb_requesttime="AcI7QP8PqXVT7dJ-y6mh6BGUzwf9C7kAptclhF7TsYk98we5bKFLoMPm4GD6YatJYURF2Aeasg"; e_fb_builduser="AcIEl2YASN5lAV3Z5w8zUy0shelQMikO2iH0r7H146D3mcyVQBOwP0m0MgQKLvCCJZg"; e_fb_httpversion="AcLBf5FV0R2dEVZ7FvSu7xoQw07WZAN4r8RL2aILTGG0C8D-nY7-gMkLeIkt"; e_fb_binaryversion="AcJoDzScoDQAd02nEghdl_l9GfOydtd4z-5_952YCiX6a54gwmzU1iHXz7LTq0n-22sxjVlSoZSxNd4AB0oUKxx3mVz2R2kXago"; e_proxy="AcKPeXhccP7rKBTmnO4oth9-m4kKKkuApU2bg_ayrI1ok-82Q_IkaFTgvb7XwWqMe6AG48e2xcoDiC2LToWz", http_request_error; e_fb_configversion="AcLLY3RLMuyyC2ILM8lHEImWM37xfHI8P1uA2Ck4q7UPnBq_yNrWzmmZya6DpQ"; e_clientaddr="AcK86SXZhV8Kui73u1OImLGrhhl0YhQH8XOh2slKvbvTs0Uu8XQksuk1iNGoxp9k8rPVgJfx9i1l8OIW0w"; e_fb_vipport="AcJ3mbdvXV8b8CowVeLcMb4Nd--VOaoSzm6VpribOWcUZo_BUJID0teUzDSr"; e_upip="AcIhbLWz4WBzYgFHoih425t7dl03h8u9DewsTdHwIbpSyMbFIXagFavT3MCkpVg0FPNLO0WejZxFutdJNlqif8NhC_BbRTfXnA"; e_fb_requestsequencenumber="AcIpPyiM2DEPs9ervIVeffSvwOLU9EOBDe82rwFV6oNrHCqCDJgDDZ1y2w"; e_fb_hostheader="AcIiphIxQsRljvdOZCmGgBCZuCHMzOg7ZnYashct7p6DS0dVfcELFP9LvWZL0-9dLdj3ttoAVt9qN-eb"; e_fb_vipaddr="AcIncbtHYdFX7kVKmDC8QkINhzofbGzYuz6rpk7mvX7VyrnsmSlb56-ydL4iyTnGkCm0CsIDyw"; e_fb_requesthandler="AcIyzkWp4-_Kc1rkg4D6arWf1yrHcEYB5HzpEQsmyI2-sTDzHdFGxmw_2GrQbntXF3kI4YmGCYw"; e_fb_requesttime="AcIvif4IMYBLIJ40j2wbD74ehXNAuvlc_gXC5crKTNSfkKtcl8Far-a97x4wm90TJsts73KWww"; e_fb_builduser="AcJX7UPlqq9_hdWIo-hLFIzACbvcJwjUiDBkvCwU99tFkgt94CSV7onZO_K5foSnJNY"; e_fb_httpversion="AcJ9R5ZEv9MJHGpUfUNaGqsrYRNa0CyjKng8TN9Qduv1ZgysMwivzxA49G8F"; e_fb_binaryversion="AcJWX2xIo3ISGy-NI28sshCQ37MXz46B3YcHg0pme3_O226AOUPSEs85X1WdMaZ9P6tnijJ3Lp8DCUGWjfqY7IgdNnd-ehbsQgo"; e_proxy="AcJnmoKBnZhcxjPO58kPVwmAbqPtD4Q5FHtcIqrQfJYkZ8lCD2d0QXo6jfbYGSvra-KQjRXQ_XCxJY4"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=122, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 00:13:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:13:37: Error on send one message facebookId => 7581386711882638 03/11/2024 00:13:37: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AIQtIGUwitxLn-hYlE-tKzL" } } 03/11/2024 00:13:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 00:13:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10538340, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AH_66OmakC_1Yp5klV-EaJp', 'x-fb-trace-id': 'DAvha0ewBSM', 'x-fb-rev': '1011960262', 'x-fb-debug': '+0k2+rGOyOe0jALGFywgTNr47G1J//tyhelvqf1XYUuHPZCrdQ3SIzPA/lMzryn/GleFge8kXCQ5kwhiHEq8xg==', date: 'Mon, 11 Mar 2024 00:13:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJpFFZ58VDU_ZVi0YhbaY-HLhHtOZNUM4Nw5_ys4E-EICbAl4AninUVhbi8Qw"; e_clientaddr="AcLfrrFeaRjGtSH-cj24kPGqhanXVhQqOor8KDeF-BsLmJVX9FoeIM8qWd_U-KOh4BLQc9lUv8rEYCzWJtOKb61iuMEFKMGA1AR5n9cSwcuqYOhpkA"; e_fb_vipport="AcLlr-l80yfARo7kOSOOfyinKF3l88Waha6C7HwcvwUTcHIxgeQZVEUNOSWa"; e_upip="AcIpxhaxhC4WLOmX0i2DTQk9rBvw1VxFwIgbT_vIYGo8IgOWo4DR48nPIpZRFqipQSTrwqCM49CbIxQU14IrNxwhhH49_H4Xyg"; e_fb_requestsequencenumber="AcIvHZIhWya6_VVhslgYhFTbP0G3dO6rKX4oK_mad8OuPNfo9kZBmu6iSvEhhw"; e_fb_hostheader="AcKgw01ZqxiOVnq8Yi_kK-zum_sdLsB0AGTuzM51UXlh2oHzMRJutrzE79LqcdSDyLvu5FXzpKdnoYHV"; e_fb_vipaddr="AcKO0_AavdcDBaUz_uiF7awqPeT7NWZE9I229vn2tmtuqfw0j0xDegU3LmxZD5C0B-meJr8Www7NCPyB1DWsBknfPUWIbTxYWQ"; e_fb_requesthandler="AcLhzuUk8IJN5oKEmIMDC3qP8I5SLKB4jrvOmQm054d8BhMIaM6l_ZmIAGN5TdV5kL4wkvWqwIo"; e_fb_requesttime="AcLNRuHf0wm_iVReaU-cYkzpJ-OzYFM5LfaIVFTkzwnRDxaNXQ3On3W81VIBbiPmouB1rPicow"; e_fb_builduser="AcLcMxIf_o5Zs0rQEiUj-H04ZAk1MfDN4BG2u6vXod5d0Mgkyn5zga4BMEcwB97VdxA"; e_fb_httpversion="AcKZmez9YrAWMGbQACVBPZyDKk2aNi2PXgtMblF8cGOa8yMzA2i6tasNZb90"; e_fb_binaryversion="AcIdtB2tHqHRsHxSwWgunOjiPJWteEQsoqAoaqz7oPHwzbRg2mdPYvt_tRQjGNB5vlETtN5mh9lHXL7wfsQYwDB0ZoTIMsu29ic"; e_proxy="AcKXM2GDCGBE_AaOCjdRXMrQ_rX0t9UDhRigu5gDTc06bICY50KXYFl_1R-akiQhD71nET6J6W3duh7mH_PR", http_request_error; e_fb_configversion="AcK6KJcAPNZDBxGtLV1MflJHdrxrpW6dFKa93F9Y0FLeiEpajiosjveBCPJlpA"; e_clientaddr="AcJn-S4e5W8a95NR1hcGH3mdpgx6Yp3-EZz1JF6zN3616FMEdGyFMQRe0-cHCjtlNmG-bS5N8zaTAWvXQg"; e_fb_vipport="AcKlMpjJCcTd8DFEggTvBXswfBVMnvxgtjQBJUO0BEmS9oyKgHq4C93LfNVE"; e_upip="AcI-8B4iqwY6dAS6y13uHDpUTLTqb3JTqAvN7hbT7HwPWNFf-bGeAL7gPk3aFfPwhbo5V59bdv4m2cuVGYQFGSiaz9EfNpya5g"; e_fb_requestsequencenumber="AcI_HjjXFE35Ux4oNXtqIhnA38Ga-LkvMWzeyPqZMNSJOZOFaWrAKxNBwg"; e_fb_hostheader="AcIlt99DIrHazx91MNTIv6VR4RoqerJNohRng1B30gBmGo3clVLtmRIvD6qDCck-n3i4wqaueOyHeI9z"; e_fb_vipaddr="AcKXHNnKCDAdbGys-l9Ok0zsIrhyIMTf6ptDuPTDhr3gwbeVWhw6OCw6z7WQeACT8Q5isPo4mQ"; e_fb_requesthandler="AcLRfLxHW_ld6feRGv1OElAUVrY1WuiA_vEFGlnolaDvwcUf5rqKfC2Uf4K8WP12sVjnj_drqL0"; e_fb_requesttime="AcKn3oyYPE4qQhTS59ljGaZIVFNlXL7rUO92wCM10TB4-qqgKF0aIacUQcodzd9TItE9KUpjQA"; e_fb_builduser="AcIYQtZ3LcWbRPlRpBl4zk5qxhPgGYrecEhp0Xt8M7WOV5qAipNFe0cA-X51rBIYcV8"; e_fb_httpversion="AcIxiF5ICUirHuNN-QbZgi37mpULe0RJ2MQs1uDENTb9jyF8J8iSpsYRkTcM"; e_fb_binaryversion="AcKqx_fYCXjKVOsAC2m9pmX4uO5lJ9pQhD9c6FepqpBzMFgkmryxeawVEj0HlXAyBcOPyJqlnqcwz-ZLgFVzP-VHzV8jSuAJ1dQ"; e_proxy="AcKXGZ9AhJrsir4IENRBm8NVB9VUdlnj6ysvdNa4EYbJTUyrdEyH9_3EZaQJpqv78lKnD8lztu2_rIIW"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=125, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"7581386711882638"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 00:13:55: Error on send one message facebookId => 7581386711882638 03/11/2024 00:13:55: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AuoOhnImOigflIogPbDoeoQ" } } 03/11/2024 00:13:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:13:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 00:13:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 01:14:34: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6745520435548069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10548937, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6745520435548069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6745520435548069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6745520435548069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6745520435548069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AY8fHEEWSlaGSrUU4-ObThJ', 'x-fb-trace-id': 'Fd1dvvF9Epm', 'x-fb-rev': '1011960702', 'x-fb-debug': '8lxTt2zet4AX3BQoOSZ3e98q2cj1m59Mzmp5AGQgsStR+zTpZYVtzESws2s4W8C/TUWFgSBLzx3JmDu0xi2SUg==', date: 'Mon, 11 Mar 2024 01:14:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcINOkptdWVRn6ZbSF0nyqJlqBvRwHu7mdIQAfgeMWl5CF7V_XAVh2etV63HTQ"; e_clientaddr="AcKfK5YcEMDwF3R1QBZv1N8cqsjrpnjLpJgiBns3BAJbRKopx6QDp9Ue-ppZnrpveIFy5wqbrF8MNSmQfm1hPn9KryATr5OL5wh97O48N1c8LJslYg"; e_fb_vipport="AcLMWfxxI1LG7nhGHxvq4TiF26FVQKgXwbBNuIV9Lebi0UJp97FLRuDrEaun"; e_upip="AcJ8BI1nk-6V4J6Jj0xHGi7d08kZUMx9UtZDNvl43UE6IBDBXFtAj3Ex5Y_E4l8nY1kTmkrzbkBOnx3CyYLM97wzI0pAi2-g_6I"; e_fb_requestsequencenumber="AcKMXRq7iiTWZ0ft4OLLbLRRou7w8AlIp_8Twiuub7g_EAjrI7KTbo2M7LTk"; e_fb_hostheader="AcL38JI-KwvKMb7YgK9kAXuZchBmkGbm8PP2irGHWr08QZb-affumMV6GEmzHmM2P3f3wBtXkJ8magAW"; e_fb_vipaddr="AcLoPuz7WgU4NGBuPX18GV6i5hZYKN0Gp1N3sMqApRQUgpN2sqjqXGzFEgMDUkWVPxLJckWDsVPcsYyxwrrqxwWCRVvIref8Fg"; e_fb_requesthandler="AcLVial71b8XZnTNLFku68WtHHabHBSAwRZT38o3CBgupONX6Kqv89WRTkTFNQKWTxN9G21y8No"; e_fb_requesttime="AcK1Hi3xln6f9QMtzMKj36uSb7H101R5XDqMu8MFT8lLMDAVkXB1LCTYfV3OE2perlGnKSziNA"; e_fb_builduser="AcKH2xZuhni31fbskaNSvdgGhqf7wupUx4eS9FTrPQutvWFCFYul2rZHiwFKzAY6MLU"; e_fb_httpversion="AcJ_dzex9g5sE8Az9m3ic9QwFKS3K11dLhuw3GDyof90DzkViB6t6Ke0CcVd"; e_fb_binaryversion="AcIfqCquub7ADCbUw3vLTbs935L6zJxYoPvgO_e-2WqSJw1RC0WBl2eMZrgKwDpANsWOO85Pz2_rc_tt9TSJALd7PMHTxUxW93w"; e_proxy="AcJwjgTNCPGgNtpMSjnw5FNUh4u-Xm3rcp8LB3Ce8kGpMo5v5zAMbYfOXI701gRkNVhMYHN_Npw8SxhTc6C_", http_request_error; e_fb_configversion="AcLYKNPUgTTopS2xnHD1PuijXajskltysgXWflLoFrASrtFKVCWTCbWjF2idSw"; e_clientaddr="AcJF5miX2AvCF7VXMWxuaJvskydhUz7c46sOjBulWNUY_XqdYHATRP3j6JDwama_Mm73DRVi5qcSPH8FsQ"; e_fb_vipport="AcKdpBz8jDCrgdHUFdtrNr5wyJu89HH5p-UaqvYK2oy7SeaYCUxY6T1oWOWJ"; e_upip="AcLIDsVkwmlzgzL9yKHsT4CxGPEJkQnBb2EwTMzHfcb2LzhTp1GOz9p5oBmj19c2kdjT3HnyXwNjl9T9TWo507RI5bwANImhNA"; e_fb_requestsequencenumber="AcIh_6ybE9B0t7WsaGTcCMxc1lvOFpf1NAVsOEpl8CJpTfCbLGgBOjohXw"; e_fb_hostheader="AcI99HuaSHa7eZiooA5a53XHw-8beVRtw_Nae3qnPIeh3TqtMw_A8O0fiaW41PDmdZdC3n16l9-OTz2b"; e_fb_vipaddr="AcJkNLGq_31oU6xesB-m6VKt1ETgXoRoDsCQG467M1HqmLBndhCYYJ-7g51c7Qe55-XYLfMH-A"; e_fb_requesthandler="AcLYP84PSfWW8rb5HBGGz_aNsd3F0NjF7ufwP1mk_dfGO9CHVxwQx-5I461Z6CXI7fMS457p9Po"; e_fb_requesttime="AcJQvVe9wzPecvmbqSHdA9T6gqGmSSvrqlLXLDbIaZVa15uHZdjbXifhrUOUNT9ufeNfbv5I_g"; e_fb_builduser="AcKw__Pjckp0En5AH7RcvQHpIvz0xI4CVJOdv-WZ7YKiMUmCBwW85JEayxmSid9oG90"; e_fb_httpversion="AcJpnGullyDuESZ-IH-uLIv4BgyIgiRVmYZhkoeBDRf2CA1H9lKQiylNBkyu"; e_fb_binaryversion="AcIsOJbHy6FIraFAk8N3ZUoYz09c2Cli1Tw5YIxi5yAhQ4HNbkW3393ldM-ySq5c1BepwZ2UEsR9i_3nm3WFi6K04n_Sq4wfI5s"; e_proxy="AcL_GzO3p1e6N-sizBK0ZfL0pt9nfc0anvrSD7NZ3WgNpBzoDWrkAmDqINyhfvh-XcJ-kqU1YTdU4ik"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=219, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6745520435548069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6745520435548069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6745520435548069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 01:14:34: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 01:14:34: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 01:14:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10549055, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxbtEEbq0vEMqzUUsQaXrCP', 'x-fb-trace-id': 'A0jID0YoBL5', 'x-fb-rev': '1011960702', 'x-fb-debug': 'qorrK78WF1rkfILFX2IdERBYzeZPY3+Znz8Pof+GAnpzPj1XVYJnhntOVUofgQAgfjUPNpbiE7vAtRo0aL+s2Q==', date: 'Mon, 11 Mar 2024 01:14:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIH7Y1b0I_c-uee8LDs50ERxAYGyfrxsL5i4D_KgwUjgCf-qeu_z4qpi_1QwA"; e_clientaddr="AcLECnOJZIrhAptG9E1X_YLcsTi-bXM4J3Tr6FGVwCLmmsRe3O-nqR3HdnfRin2n5eb5D7HVxzm71qb8h6vQgkO6GH92fgKRwZyZmn3UXg1FT1U6WA"; e_fb_vipport="AcI4iwITMFShAd7eVL1XJiXQdFx8EB3e1ZtDUky3LuDSeThgeJjYOsJ0CKRr"; e_upip="AcKk-o5RDpzQY6NC8XFiVDxiusM3K6C0I2kDYA9L7KMxmvhL8v55nv_IUVIVf5S4ALvkC1eCpWgrCUevBttzu3X3Jom7w2OIyh8"; e_fb_requestsequencenumber="AcJlzPGBpZDIT8cVRMeNPdv1T8ePNrHubvB7jyC2HUnqx9LttyutFdSBj_Gw"; e_fb_hostheader="AcLGLu7eacHWvcIqaNGmag5-rnZVtCgQJ8O1-NZZbPN5lKiGjyNagIRrbpJfLAHT50KizUXSGKGqXARO"; e_fb_vipaddr="AcLkbNRKYMo4R-Nllw6gN-0fk6RiSJGS1PE1szGSk2DthcijGvO4sz8YmO2jHBknRuxmCGKcYXwzPXov7IfU3RMzmqFs45S4ew"; e_fb_requesthandler="AcKqsN8Cf0d2EvDu3BZoDcJMxiph3aWQ_S2fOQJNbeTC9zH56m7J7y7gtqYCwVhN69MPwlSrfn0"; e_fb_requesttime="AcK1LF1NDv-rECEIDeYp0dZRRCwf2F6nfzpyIVXfA5GW2SoxGylzxWFUS566G9MuAGY8LZPmJQ"; e_fb_builduser="AcLnRai_bqNWOAInDyjIl8Uw9Q_UG1eB38dQ1anEVBM2u4hrXHwKTL94SrSfW3Wz-D0"; e_fb_httpversion="AcJsSCo9GCnkSA1cVJjyrvHVaBSNHi4ZGFiyanzRce_8a86TKhcYwRl7yQsn"; e_fb_binaryversion="AcKv202LJP2HwAuImDf70M2QdZ22bUR5BVH3f40f_X2YypnoU8ofcuQMlf3IXMuxcHH1mDKwfrVa1uAP0CBj9xPnAlcmSEsrRrI"; e_proxy="AcJ7Z26_CKJ6JThByotNCVc0UNv5M7g1mHHywzvsALSEm5ya7QHCg1xg16Mp5xhMRvDAsWwgBk_Yjg15t1Jc", http_request_error; e_fb_configversion="AcLWYB1TCN-w3iK5qaEgTuYtIAJZp4kjiG9fWYXz18a7KubqkLbI8l1s7RTLXA"; e_clientaddr="AcLm-qXvTu1TJvN_D2cv6bu3Dh5YV6j9deiYAEmfeGSD3TwklGovsVmhBlQPvRuRnkhwxSt8CBd-IUULRw"; e_fb_vipport="AcJKLC2GUKLI3UXRtkeOV3uVWHy9EASJB7SQDoqRW9Sdd-zB9cCdIF_XDPe6"; e_upip="AcLVOo19LhvDZ_VMRRclo0jXxlSgzaw62ejUF36A7Yuiwa73qkJsY5XVHhRPmtFvSZSDbDDhsEWjRXHf8syqCtjhcjuD8gf8Aw"; e_fb_requestsequencenumber="AcIKoANPKMJ5UxtKvfcadjJcYIlHMuOBr8whwvz1sLBC-LWgMsniR-vtrA"; e_fb_hostheader="AcKJs5a9JricZpsuhcAKyQ0k0bTIbag5gUsJmNbJNcPbfVGH6m7bPgewEYUYobG4pXjC6X-f9Ek7k4bZ"; e_fb_vipaddr="AcIg_dqfKecJiEVvo5I-YVd0WGmWkt7JVuJ_4NFX7QPZdKc3pSNN9AY8JY0ToqXIzHLrOIrJoQ"; e_fb_requesthandler="AcLa-FyvEYjXM-9l9gBG4WrPt_WmkTSLhXYVBT-CvsyKknOoPU5kDjpGQyAP40eUWnuLeUUB8ik"; e_fb_requesttime="AcL4pslepdTF-y0hn31VoUDZNM1p4UBoR76nGBSWIrkKg8Isx16yVJbQz7HMXvQNzMiluxeHag"; e_fb_builduser="AcJLfgb5740dogf0ZkO_0PA-8hYY0k7-3obnVaokvVw3IRtqQqkWRYfymqF2Zuds2VE"; e_fb_httpversion="AcLcsCfFU4LBsneLKzvbqjMLak7iku0dgoclx7kYHnzzwyDVkfNWiNxqi681"; e_fb_binaryversion="AcIdIVXDyjlfxfaf7S4W-_BmdBWSXnMrvTX3ssjUwJfQSWwsrh4_CUMWKDJr64zDloSa2qXKTsvZG-bcaRN3B5uh-xsKJ5Wk70U"; e_proxy="AcKFCozkR_RvZ07sHGvS7MKYWHbLabBqw5k1PdpDOUJXr3ObI_d9j7vhJVBEvfxn0aC3c4FvGbFqSAU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=184, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 01:14:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 01:14:37: Error on send one message facebookId => 6745520435548069 03/11/2024 01:14:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4bmsXKyGrzcD0EdvvAXuls" } } 03/11/2024 01:14:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 01:14:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10549140, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAdrRIFxRgFN3MYl8jlPtkF', 'x-fb-trace-id': 'Fi0eyEPUEuB', 'x-fb-rev': '1011960702', 'x-fb-debug': '/Zo6aUWtTK/+KloCTSO9qmHZw3jpNexgg5DDAr0D9+ma9XkTYdiqlF88DO4CRsF+dosdDLxhC0gtRDQ9b9rNjA==', date: 'Mon, 11 Mar 2024 01:14:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIbM8j_JiobufC1BPffRREkO56hTDqsFylGKb-OyWzalLJE0bArt3zrvxK6sw"; e_clientaddr="AcI1diDKHBvBZFFVRgIln6ZkHbLXIbTk7ZtcD7LFTREj9hwZ3SnXxiAngMHXN11f9XIJSBFHkJ14qtA90lxmd6T0TnZU4Y5pCyL2vcvDACfL3RZZ"; e_fb_vipport="AcJA8VJTIbTMi-JPbstVP4JDQ8M3AT57VjY-0Rlra65Dd5l6AsCOzSB4x-q8"; e_upip="AcJR-GmN6L51GseOiiMAEBMIccwD6yf0sQyxdV9LlUFzM-Jrsz7r326RIo15PBKanv_F6x9xOCC6jtDtL1F9Ud-7wOEKwwC2Jg"; e_fb_requestsequencenumber="AcISegymBciB5KoWnUnLa9Hnq-IBa7CAcmMmO2QJEQ66VE-NcT-ylZfM8_iWxw"; e_fb_hostheader="AcIUP8h651SEVQ5iFFZ1gAF8fEbRJd6QMP3t0lmmS7QPlh_I48FEr2pEBoAczzr85UQrmp6JKd3SYI8M"; e_fb_vipaddr="AcIXLzvBUhwFUIuziKZ_8viItZfNvyutQkpYJvYSyGuk2yNJ6RCp31F6Yf-dnHEWq0pdy55FNE_Y1ypjgb5QcHhriR7yJbqkFg"; e_fb_requesthandler="AcI5Mox_puJY5oWHGLkSRoQpZ5YZIj3AZNZjVPvjwXuPhjCfInPX7VQRpKDuW_09xCUMOvc0nSs"; e_fb_requesttime="AcJFnuD_ez7ufXS65ik1y2L-hn0--x_cIJ1BbT2yPBOVgJy26a67L-NkNDejyWPVIkmtlT_Z3A"; e_fb_builduser="AcJb50FPPh_PI4BuPBpNXbWaE05IyZSQrcfeq1eTqRrGX_VOnONKToVYx3lydPB0aS4"; e_fb_httpversion="AcI-szL_D7h2L4Tea0QmWUIiaEWWzV9om8hnZW0rjYqAGlmWfRiPk3Xc3kH_"; e_fb_binaryversion="AcIeyjtpf3M8bqn1lR1zclKZWZU9S7FPRrlq9mij4YBM3yJipL9cf2IZutz11Dcpy_SF9miLcDSd-AF9fEMFEnfoTr29XOV4s6M"; e_proxy="AcJi5beZHltB_VoTEraZ3MKFkSnHsxgzmhQO-y0Nimfx-zWLaAZhH2YWKJD02kok2z_ve_9by8V6P35DPYXp", http_request_error; e_fb_configversion="AcLhku9QF3XlX1_Wq7M54-7KHmNVy6Q7ED71ux27TNGj-Kkyy7aR1zGZy2g5yg"; e_clientaddr="AcKlgcuvIfzFFAJmJWStdzTOFL3QXFDFSuxrB-LsRKr0l_B03jX8zbO3V2mcdCShxBBPooK4dLQ8h9ulUA"; e_fb_vipport="AcLUq8WFP0X_84NpRcQrkyE477LFbockpNIfpR6bbGNp5wOsZhgKVKubQS77"; e_upip="AcJYEbnj0ItfrIHUcI8hOpKHAvNU8qsD0M5eswhZcE0uLwL6s0MqZvfjl8VFgsUfBY-mK2aGX6rmbTFkfM9jhh-doxXkVj1O_g"; e_fb_requestsequencenumber="AcK9ZO1Kq7ze8Xb_BNdmvLv02VxUqo-OWAmnBlTIb5YBbSGHTB97p6ZOsA"; e_fb_hostheader="AcLVjjp-4Z02WG1zWp3bY-iPKuO3CyyLV0GtBZO5LlQcBUX9eYO6Z735q7pWMO81acV727ctVs1WDk_R"; e_fb_vipaddr="AcJymu99Qi_PXBBsFfc5I2XiijVuGU_LVXM6qy8k0aOGuU5AQS1-x866LlESFcWscuEhQRgzmg"; e_fb_requesthandler="AcJnIE8QMRXEDrCP2QRQ9uXCDhUK1q3dDoR_f_qU9jQo7JT17s9jgDPn_BXGEAaiiS0sYbBYurI"; e_fb_requesttime="AcIBDDj0RdJVFfWgDkqeCH64Taykof6MtG_c8jKbi5AIOpne32UyLfLt9wNfUQem74jfm6N8xA"; e_fb_builduser="AcJ-mKzMgNfAa_Br2lxmPHG0BiSZEe7lM-FEnX7JkIwErmNpLLXW1BRErLXW0KLrqhY"; e_fb_httpversion="AcIxGXdSz1U24R0qOjgBue_s98BagivtaIMoapPfeuCH-pjGwuDDvRDyRuP8"; e_fb_binaryversion="AcKBEBUhowzsKo74pUjUIPNYbkqYei-3qqPAxZZh_cYAyeHzbI34RX4TGYSF0rVWDpTavvrOVXcn2iruwPlCdDJj3ayd-Vp-HWs"; e_proxy="AcJeBPS_fP1A96Yci5--BtHiMCq9Iw-N-cWbRAfNvlboQePVtmFSINfw1cW_iStmh_4HoleDpxLBnWE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 01:14:39: Error on send one message facebookId => 6745520435548069 03/11/2024 01:14:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ac5FrH4qbysnw8TerdlmwcF" } } 03/11/2024 01:14:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 01:14:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 01:14:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10549279, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Az7YNg5F8Mq91kCDq49qx5C', 'x-fb-trace-id': 'FCBdtF1SIfY', 'x-fb-rev': '1011960702', 'x-fb-debug': 'Dr+yw8GCIdJnNfxLXzg2NSNal0xPnpCWb+r0ILVzemid1agtrQ8275DXRSuhrEmqs79n2rKT60rzcj9wloR9Ug==', date: 'Mon, 11 Mar 2024 01:14:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJbrCZZNIjToKhy8Zt1YAGr2rGvkCSul1xMUZJplSr7zqLqhkQ5v7GKO0mK2A"; e_clientaddr="AcKwQx63--bcirMa_aBdRgOTZ_FMQB3RJejPVbP4tdWmpb3GljSEUbL34DIaWHbYtMCTrm7bGNFSFes07iHBjwTApEsVkb9OCJGXhjQqLUAdHpkyZw"; e_fb_vipport="AcKhYVbi_BjThZ6VfpuFzo4IhUYfyvs6_GTi7yLJYy0GHEvxZQW37AcNKqsz"; e_upip="AcIoQt08eYgOspoxlUTOoZ9TRqeEWTL7rp9qcpQk8H__CnmZxgK6KUe1TN2SFGtmhoSXuRCs_c65Qf3Dgb7Jb9Oh9wHKVAxHMQ"; e_fb_requestsequencenumber="AcJQ89tpjX8UD1XYS03T8nD-Ts0mJQQXT4Pj39Y6d2gfW04Vjoj1lsOE25oeYg"; e_fb_hostheader="AcIArz_ex6kH7vO7CebAPAAch8f4Xt4O75axskie7hfBTwPTwksA5PT4zUU_tqhJmMogOSLLMQKmihhs"; e_fb_vipaddr="AcKDB7hGwey3vP9dVQVfFOsrdalBlnH_iAyKmx9Wh087yXzrPIJmRHGx379BTiNLSnaE3mkdSYI759dBrdIdx_oTwwrXyldCsQ"; e_fb_requesthandler="AcJJ80QtTp7-b5Jrnn6IQBGHr0zKhihwPfVnfk0jR7pvRa9xaR9nWKj1gHN1en_yA0_B8FWnTxc"; e_fb_requesttime="AcJ6mHTXtJU7m33drZ6iKq0NuZwJ27UiGtCKaf2cY1yXTRIM9-6nzT7KHHCgCaEmGaGFVCUvEg"; e_fb_builduser="AcIVaJ-Yla-xj05AGQ2n7bKfxE0581AP7DBNyJyKKQ_j-8V6u5YOtWKlaSiyrPdUY9w"; e_fb_httpversion="AcKjL2VtdeFfg1ZEiNHYWjkwzcEdkPa-3loMl7Z5UozWhQRgkvQcCV6lKiTN"; e_fb_binaryversion="AcKZZnQ8wx7FQHFI-dwzaF6YRKJN1EWPctFEj_t7kLwhuv5axbrOgItLZi3NflsDHqyTQ388pMJq_jZWBAfN0CdKBlvtYpP9ozc"; e_proxy="AcL4mCnX_W8cLwA-l8rLeuTjpqaNP_qHwtgI73rsS5jU_1eWKDN8_ONvJd2S00ttnR9KjVd5PdVqZUwcwsTn", http_request_error; e_fb_configversion="AcLFb2Sai0tpj7Wnsriax_Yt3o1IYnYPKfdeB2yvyQCsxwK3cWTt009RJl0HLA"; e_clientaddr="AcL806Sc2x0rOK6Pu_nJ-badOUMvi1X7mH2SVOAcLYGPo9YXzqrniN71CaKYfhLxJAxHGKqvaCWfsWvD-g"; e_fb_vipport="AcJQz2UUuXB2VOz1RUwEVukMDykEEVkt40XVPYaZdI8oUBexWV9UDR2p_AoI"; e_upip="AcIg-hC4dbdxZezAVe8-NpqgS95vJZIfXv_1nBaOYAOsIDyvu0ByroWrmZt6CxeLHTpOLhCCKAenBFcz95EQgHJ-cVa-JSG5Bw"; e_fb_requestsequencenumber="AcJTzmvfFAiKTfmuFXkDYcOETAFzbRkr3xR_Ql61PHTi-XDOGuj7bZqGXw"; e_fb_hostheader="AcKZCsvZMhGM_ummbYuIj3IxNLUt-3gc9F3xTepY7r_gEPhmrnTUMfH_ikieMg8LDjSNU_rSKcXOKPT7"; e_fb_vipaddr="AcLTUZzFraoCFfFkhsmy7PxoyZoLUGK6vXYA0TU3LRJJoxuLoZu0WtSXEQ21J7hpn2TumjRF3g"; e_fb_requesthandler="AcIlJR2GolN06CjA7jR5k8lCXvkmp3fK3MFSyJmDIy4zc0uQL5fJ6J1xNgfZI0uT0hOLcoKuFKk"; e_fb_requesttime="AcJB811s2jatgNsv71aqXd6iz7OsBSN3-JTSVslwOFxc_gBYorwyba7ey-E-plKn0WVf1vJg_Q"; e_fb_builduser="AcJOPVm68no-opw-kno0T-ICoC5FIQX_HRDXdS1srrUpSWEuQvP-469lH7gj0W7YGCo"; e_fb_httpversion="AcIeYlVwAGet81VXPO4MNA6WZwA2DJ2BDEOy7W5vRnoM5jDA5I4t_xz0xrCe"; e_fb_binaryversion="AcKFqfy9B1W1oybNJsh0ouopRxzPbj1pcEttwJqEoriXUGlPGtPprhVBKlFmKXiRfMbQ-nsQ2CsprkbR7MDlS_9ox2iqVx7KY5A"; e_proxy="AcIwhgJbwVyAhsb7_YWgpWRRzCl5gsCtoJAxk8w2Pedr8b43-ZTxWkbtwQ-O0mUob0LIRq37qes8BCY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 01:14:54: Request bot not found: { id: '425997890871688' } 03/11/2024 01:15:04: Request bot not found: { id: '425997890871688' } 03/11/2024 01:27:47: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7352826668173315?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10551606, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7352826668173315?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7352826668173315?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7352826668173315?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7352826668173315?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Anns7FJlF6tZtFMIwka4d_k', 'x-fb-trace-id': 'AtZsUEecJUk', 'x-fb-rev': '1011960702', 'x-fb-debug': '/F19Wmj0T131uTYBOYjk1DJrWRWTU6w0AZZTeRC2Y3/C9r5GbocGgiEX6IMwayFuHjRXjkUKhrwx24cNbAgThA==', date: 'Mon, 11 Mar 2024 01:27:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIBMSlXRwX5V4jcWYrESSzXjQkuMdd28vxWXavoYSbeKz__8BIhzSCzmyPfwA"; e_clientaddr="AcLZLruiedsIDkuDU8Mo7IiHwj0kryWL3gjoE4PKtBhQLd5zHiUyOTAgrdDUIIEEWj7sKtVFS6CJBkQ1W1VfBXDzqlBxJca12qk-yKtxFW-NvKmxGQ"; e_fb_vipport="AcIJMgVYzc17GWLD9LfExWBrkL1ncSWe9J5Fd1yPJqozmo6B86tBoFYSj4E7"; e_upip="AcKZ_odf-n0wvrfuSpEwmqzygyrxDe7qscwtkJcWRGw6aAwFUKGcTYPcMmkBGv9r3FXB-aWC0j68k7_NeWU2JzwPfTcXw_uWUZY"; e_fb_requestsequencenumber="AcIQ1UqWwHTdY6tk69LYnKb-hf8pu7EIg1TnrK109sBOzWnCQe5zIOjHxxX0bg"; e_fb_hostheader="AcIsnvemilP1Ntm2Dct9Ca1uiCAa6SFI2A0nK_GqyJ5ad3yr9RYef_mvX7ZUOZ6w4Q5RgrdfkJK-LDm-"; e_fb_vipaddr="AcIdb-rqsuR95oGPCIBKZdnIgOi67JXRfQecQSC6QmaujGfAcaaiU3rPXaENY7YGS0bKKGD4PeH1I681QrYulmMXN8pdWDB_1Q"; e_fb_requesthandler="AcIt3axGakmZAUI1jXktPE4DqnQYs3kcSijEakEIAJH5VisPpPN9ve1RepAgMB1sJax5JhSg7ew"; e_fb_requesttime="AcJwavTbPjCxcd1ovL5WfxTZ7qQAcfeymVDg6pQkF3bVHNxaOr5U3DklwWm1as2bZqPVw928Vw"; e_fb_builduser="AcKs4ygpy-J-NRcJ4tRheXmSoOswzDGGQrQSvffQiPLaSf-lN3YCdTfpWj4oJO2NdQw"; e_fb_httpversion="AcJy3cIDHQT0VndOFsUJymV9gIuGW_vngLiZoQ8o0_JY1x4YxyIuV_RoVFGS"; e_fb_binaryversion="AcJOdm09RHd1Yl1zdO5aOKHbiFfHO5rviOxSBuq4VcLA7geKfe5ZArxfnzUPfzwvR6khfTDX1Z4jr3i8LlotfpnnMwqKREF5au0"; e_proxy="AcLPa-XjvdcfPU6yy5Vd2XJWcdvRu2q2MbgJoDsv4r9vO34Ld43EFpJKpyukOi6Z0UgVmNpf8ZYGGa2EtXsp", http_request_error; e_fb_configversion="AcJTPUgLnY_5D4HNS4WgmAqnxVmKjcgo-xjHPb3GBBqRJiPPgHEmTh2xGUjJBw"; e_clientaddr="AcIQ_LtNclJK65-PO4W_nYm3WOfBiIi6imyfIMbNxiAaoNCBODn1b1RmHSt7wBwh63sLDUunu75Kc6wiVQ"; e_fb_vipport="AcI3udxa57tXCDxFm6chpnuBXIZxLBli2TYH87wDLs4naLszzB-1GL8jWwqE"; e_upip="AcKWnReXgIeo02gOe8owF7evA9YgbpauWkyMksg505YD6Ltd2XDAIQuWePQq0ppSf6kjUBLIEsl8dVaPemxkBwukbqQ6sdo6rQ"; e_fb_requestsequencenumber="AcI0GUYPrNoJSnNW3kSB7P0nqFPdUAfk2EYp7tvgKmmKyY55STfWHTOy5w"; e_fb_hostheader="AcKKf5tfmzhgjHw4vrxZFH1fxRk1IoXYJa0luidBwNcEvb2WuPfiSAkfAaJ4JGogu9Wcfa5v8dtg-2-I"; e_fb_vipaddr="AcKWt8XJAWXKtaLEzNtint7ClBwDsGXA2qlO2AmFAEMxIJbT-Ascrdbez6Q5zG2FAUsiQgUK6Q"; e_fb_requesthandler="AcL8pACLx5uas6F0AJvbDam893vithirom5q3kJ4ssydKz9kjYZM7txp0HUccY12wqdD1mBGy3s"; e_fb_requesttime="AcK7ipJtYKAjE_ayfcMRG2Fa6jtlFN_jSZQoUgqFER0hl-GqZiioortUbY7rCrJlW5WU9vshTA"; e_fb_builduser="AcJJYNwqUKo1pOrWoRC0KjUb35bRAT3DqCeH9u1j56qPfgzkpPR_ByLIZ0wczaRc-q8"; e_fb_httpversion="AcIsFqOmxdu_LJXbeF8KE3wMnRqhdtiLFLcOAw5q3J3ixR6MAmZoH1cummaU"; e_fb_binaryversion="AcI0_E99ROo2CgV3LuiYX3O7bVpfe0SvTsN6Zr9fi-A-0N7CBl9TuDDlLvides1sd_5viOF-TjEDnz3_GJoLLIOHIgG1ZvBReAU"; e_proxy="AcISwpURLhlyhus9k8-jG8MC_juxMywVuikY29nhgC35kSQ8g1vram3o1oPlnQyJDqWCzmZDokl92J8"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=213, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7352826668173315?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7352826668173315?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7352826668173315?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 01:27:47: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 01:27:47: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 01:27:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10551729, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHsyzUa4T6bCJIbAMtfTW4O', 'x-fb-trace-id': 'EjA9ICNpbeV', 'x-fb-rev': '1011960702', 'x-fb-debug': 'pYbF28C9ovjUDg4St71EWju4tbnQVzktkJUpji9colUW7MGFRU8q1ldijQ1HaJdf+h0ELqhklqBR4yIGsv458g==', date: 'Mon, 11 Mar 2024 01:27:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL0Q0xaUhGxwmFMGzg9WHi6aOeHSn6_8S4vAzo2FaUi8rw_0DGYdv134yzJMQ"; e_clientaddr="AcLURuYTumu3VgT32fTU4PkFGo9Onh33-ZtSZraJ4Vz6aLR09kJj3I8rTYiXK8uqsMDepBgsfvOOL2PtrkWkaXpWD7Z9Tfkvtg4lrCeDXo-iyZ1OtQ"; e_fb_vipport="AcJ8WTT0hRXsqK1oCKuTIZaoanUPUpYjoqJxkd8f1rrnvsscWmSGNBGGXIfb"; e_upip="AcJxv9kerCjMuOusl8EtUrqM4ZFZ-amUyl2i6utXfpwHaXNyAFoZzTrMzTPqey9Nz8SqSnbBWqLlerWcGTAY2JZ6fjMnyjp11w"; e_fb_requestsequencenumber="AcLucABrn_SFjV2h8nvQbiFdDQ9fAmmgtms4oOWQs5LUaBLIXQrLmxXfGq4Bjg"; e_fb_hostheader="AcIaXpaG_T2t3mg8PI_GcRcjXKzDMi0R7kEMpU_aETONVLF8a7D_E2kGckBPqnMUpU0md5wQsfSyL0Vz"; e_fb_vipaddr="AcJMmbEtf1Z89t2r3Eyg4Q0GfsgMVU4BWTlTl2fQEqt09WTD_CLe6IwbsZEmrFCL-QkVFgTP8TwtpXnxCHjvdwhZU2K_WRVzdA"; e_fb_requesthandler="AcJtE9R3y0XYCOjWbZwmWWJrFr91Y7nDwjuoQsnn3eGTxxE9IDzPzxaKt0DyUvVRXH5zZbwjhtk"; e_fb_requesttime="AcJFenQVAmRVMKppn4OqB63cCZbxXkQ9XXlnSidGDjFmnRjkONe_i40ZCzRi6341HfvcJ2x16w"; e_fb_builduser="AcKY_17RM7lh1IDQal43DFZLE0xmorS43o34rOSWlewQBoR_7feJ-gEq4EWMabzgncU"; e_fb_httpversion="AcJuW__5Aon5DTDvFantcYfWBOHPOUx-uAeEgBXfRiqtqgNsGvgQDuZ4Kg9c"; e_fb_binaryversion="AcK71oXqLjL2rU3JRnHeGmHkWdT_s2ohp9LIwHS4xk0A0CIpIQ1r4B6barATqe6UxYRgJwe29pVrQVFIb-jVVwgzqvx0we3Y-h4"; e_proxy="AcI1b64Im2gnEvVPIAfn-YqOBCh_UEM05xcYDpdJuEX_0FFxHwnozr6_NJliir8uYyzCrLQBgVgSz65LIOmq", http_request_error; e_fb_configversion="AcLpFJKwKR-X5dVbJuaT6MTu2ihcuKm1D9TPTwDr13KZvQczvvQHkfIugLqGRA"; e_clientaddr="AcJyLH0LdPfK3wv-SyMEHktioAzaGEEc3py1w-g9J2Q8MHQJgUqsGcS6x3SHF5BvxUkJIV2xsVDZRfNHIw"; e_fb_vipport="AcIEtYRwQdy-f1pUWctgxTUMu2CmQJ_xEYi90_0VnrM09Z3xZAYIVRGyra8B"; e_upip="AcI8ZKe4UeGT3iguOj_Sw5WQq766JIMS9ZRx-B65El1SjxZPCJbyG9ttlrW2DMWsbeJMFeJ2xSk90SIpnhp5MhcQ5LOOHjpINw"; e_fb_requestsequencenumber="AcIc0gj3ff3i_IH9g2O2wpiFzJfHFlcQyestJh-d2vm9CjoYHKbPp88cbQ"; e_fb_hostheader="AcJdwDI6sDr3IVFuqy7U9k3q1tS035b2N80j2uyEgW-7iKZF0x5sCY2UYMYLa9wAAHz1PYPEUUzBPQnG"; e_fb_vipaddr="AcKQCMD-KHqOqrfxGXuFUlTJJNR1c-2-47yHzKvbonekY0tRSwUaC4bUvJO0u8e482R0ojXCPg"; e_fb_requesthandler="AcJXUoaezdBPJ3rUL3lB-849x_rbk50iXtbcczyf25axlNf3l8mo0WkOrvMovHLlfO05ykkTY0Q"; e_fb_requesttime="AcIy_TYKCzRN3Zqoa9pq3xFGkWlRMnTH2wHkuO3P_P4635k2xnuaRavVQ7BFqZUBAdIs3Av3_A"; e_fb_builduser="AcJGrwtPZXpjBrd0aw52nS6DW0QLlWa20ZB_QEJpM15fi_uFhgJk0LF3cI-WEo4C9Fs"; e_fb_httpversion="AcLZqPDDGSU-Gfi6KDdl0nAijhhOxe99fvWa158wYMgumqIhKISZlEGSdZti"; e_fb_binaryversion="AcJb1xFzKZLtNYvn7nsG40ktk9odzZfxcwFESAkW4UPZ0wrl87P9fyiQooNC2JFcUIFtl_zTnfa4-1YrmBkLMc86SuGPQFgVyKY"; e_proxy="AcIpRxHuI4-FJxwLRce9kNiefjCDFRGgHarmQI7YjFP3lWOnUD41Bn4gUQ-l6dNGpaID7RH_DcAfjes"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=341, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 01:27:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 01:27:49: Error on send one message facebookId => 7352826668173315 03/11/2024 01:27:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2dIHq5dhpUk4WgMSQlD5Xi" } } 03/11/2024 01:27:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 01:27:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10551812, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ah6fAa5pyIjo3KfHMG0DyRv', 'x-fb-trace-id': 'Afwar7Kcm34', 'x-fb-rev': '1011960702', 'x-fb-debug': 'H6qBxHFV48rSNOMxft5ZwSlWT4iod0XvheQzIubry8JnXpI2XXVENVsdgNu6gEHHwIgbFspz+Hem2iKfEOVESA==', date: 'Mon, 11 Mar 2024 01:27:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIOIhZ4Wm-j-sBgWzaYbTu0OigZRMOMLhW9AsH-IAsHLujLnXFhuo7P1K2CvA"; e_clientaddr="AcL_Z1fOZZBqHFckF69qcareroSG37IPcmPeT18J53k_mz5_4w4K14ytEGsb-ZdcsPR85Yg1dnLr0ZyMyE1VawWA__3zPjdB99qu8oV7qgwgi8R6og"; e_fb_vipport="AcIsDPvZlU36nylnVnRYn3yuoHeSfZmGWgXwuUTRVMg-5jt30a8oVGJxKXvX"; e_upip="AcIdFZICHM1lTWKTgQgvvnYLfPPBb1z47gpBxQAJXoGtS1KiYnkDALiYn7spZbU7rEbqfrpeVrv1UdQ1ObdM6jX9BFr5WPnwNro"; e_fb_requestsequencenumber="AcJ4TPYbMokFPOSq5upq3gBKP-AQtzQgf7G3apz3vWT7eQ_MvYiHFTXDI6hdxA"; e_fb_hostheader="AcIwPmVhMrFkvTaK0sv7uoabbNljAsJnwOfY6LrF26BaxLl9D3hct1SuLJzF2VtMbnUX9-lm85P5S7lo"; e_fb_vipaddr="AcIIe5WpEus2WbX3Fji8SrbdATC-v9inqcuBj4WKSBiX3rByqdJvTMy-xRPwBFRcovDaVCdnCOsYXgrHeoz6VXLSESx0bJCVOg"; e_fb_requesthandler="AcLhu98RrKkpQhglqtvI3tb664-x6mTDr_u0NkR3F5tOS2FMYCgN3Y1yA74YYej2EYISPOT-ZpU"; e_fb_requesttime="AcK1abdQ4-jM6bmHSx1-45sMwy-OrUDUgJ9G2ObsXfC_K2b-bfpuhuRqsQ6QGveXir6m18Ykjg"; e_fb_builduser="AcKUNSNFRsZuz2ZtiowlmjewO6A29KnojxSmnSXa467D9i8wRjVWn-VEGADB-PIjxAs"; e_fb_httpversion="AcJHIzIMIa5-gy0V9-9jBGKsMSFQGgJjZeqLKsAa9dhD8fM6lb8fXc_SCukl"; e_fb_binaryversion="AcIa-VNEMWWCEFfcS0N60vtMLZLpExyxdxm4EOhxmPXscKe-LLzdxV56X2R2dv-bw-STfvvZwgt9ENGw3oLKmE1Rkpi1_2uukcU"; e_proxy="AcIFFS7bZvgx2rwbqOGpJ4W96C9Sl0LbsvCm4mIpe4HJa79-pd4E78hKkIb5enkfLn9zL89geMZzAgL7ou4G", http_request_error; e_fb_configversion="AcKOfoxJIy9G6H2N-VzdOzElYAaRZnFQSRXkRUJ8fuKovdSC7wChkvbuyqHn-Q"; e_clientaddr="AcKVVP_Woo1HeN9hqojdBjAn5pclTYj03neZ2uG06OJnJEviHVnO9aRFoHqLwetw6apqAKUEDAQkRO3wFA"; e_fb_vipport="AcL-MeM5L4S-f_zicvWtKn5velAzMswXW8sDPx5ddmfgU-XcZ90w8C64ZCer"; e_upip="AcLSa-SF1vzmy4hEM2qh2snztxbmN77foKaPaLrqUAog10CHEQKxOnE_5MeWtHTvdnap_O248flgFjDIjF7d05-Uip4ZmaIe3A"; e_fb_requestsequencenumber="AcJlRyShqgPR39sCkx2d7-DX1oD3uW7KTg963HUBye7jiuCcNfmGkwzJSA"; e_fb_hostheader="AcLZGVj95fz4xPQX6d9UEpY79SHfHHoP3vtcktvXw-NhCGw1Rq05Trpz3UG0A2tH318iKbWsiCdQUa3g"; e_fb_vipaddr="AcKw8gK3asW9-adH9t2RSVm9iW4IhML0OMvrXSqKUKymjyhLKZ1_P7ifnZhqLvdBFvHAT73Agw"; e_fb_requesthandler="AcJFV4BY11tZ-iyCMBu7K_XUOyuTKsN7R-KItZ1cfc1r9IBD2HmgUQK2UJNmaGwHJ-e1VbwcoUo"; e_fb_requesttime="AcLySZLQsm9HzGIyp7aPTfwK-gEG9MbpjuWcwnCZU-2ckil-eAdCvUW2Now1HUpU-7ujIXiN3Q"; e_fb_builduser="AcLT1gujoNYeooveHJW5yc2MALtWRUuGuUCP5NCOXJJQxoN8qbeW89m8yR7auVavYu0"; e_fb_httpversion="AcL-rVvNACL9_mb23J6IPfKzjoeC2EjUEvylFpQh1CAlKmX-SrXihJSXrZpt"; e_fb_binaryversion="AcKmvuti_ykIko91XcehMWYph1h9AfWRbdoV-lKN3QYjqkO_Yp5ZKXd1XBDn3A4ZhlPA_HgXjDhQItjmj-INBzEPE3Hdi5jdgPo"; e_proxy="AcIbCjyPPe33f4reQTpTYbYzz5yNXspsZdFVKrYLOOyMTerEKme4TTa7ZIXlktN2l-6ky7vzJVoe0hM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 01:27:52: Error on send one message facebookId => 7352826668173315 03/11/2024 01:27:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1nvEkF_2SDPrlGPzzY6gJ8" } } 03/11/2024 01:27:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 01:27:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 01:27:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10551951, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5Z3M2H_C9y28jL-3wRDnDg', 'x-fb-trace-id': 'DUNA9NGCH59', 'x-fb-rev': '1011960702', 'x-fb-debug': 'UrOXHt85e02vCvSjZz9LDaXKw0qCpZT/0VTYXiOQLObYTp0mORkZhE3ZosSipRWKGSQshOWjK6AhS0G2NuR6og==', date: 'Mon, 11 Mar 2024 01:27:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJVlyoeiGk1Mfcfx8bQrErhhWR9Q_-S_1kQ6MNIanXxTLU9m9F5VQDrO-bI3Q"; e_clientaddr="AcIaAv9T9295Gahv9EhINvpcusijpZynpW1j85jVCAxhQb_J4jJLG8YnsNACvPeW9D7Y4IsHq8cg-frDMUelqfb4spUfhxyyKDd9MVn6o8hT5mNL"; e_fb_vipport="AcJma6Drgeq73LodzC2-vQSWck3yjcZwJ9FPeggXTfoyQ-dNpRkSBr3iMc-r"; e_upip="AcL7IbR0AMQsf51fMrWiJq9TYOc7EOI3em1hbUBlqbXllQLgVeAe8g3wd2Sw1p9QwbnK5oycc32rDwjwqpn7VGL8gxHcV1XiMzg"; e_fb_requestsequencenumber="AcKklwv4ZjPVuU2HRtB23K4ueJ-oNS25larDv3ind0fNPNnmTPMORfBO28CZ"; e_fb_hostheader="AcLuv5MsPBo5H7qfKCGd1G-wGnHbyH-46XIHFbv6r2xYdsSNcHfBWa6Xw6MsdcweHyPhWhJGm-5-l_3b"; e_fb_vipaddr="AcILMI7PvnkYBOx5p5OIIYbg6vPKJCWI6VeKENHTjielshbMyNW4bwzFw4QDk9N_0mI24SXUov_y15jm0kdb19AMp7e9jNAs6g"; e_fb_requesthandler="AcIdsGoRW80QJVyxDMMOWPklEGz1PmJW8NyMavVkZfnUwNjC0JVMa6UTacmnBlQOd-yTrFT8SU0"; e_fb_requesttime="AcItKI3C10kFxAM7vjlWuhq4nBQVmtELJYcr5kyRVzoZ0FPoIzAifJQPPx9LmUxt9K1JaZZUcA"; e_fb_builduser="AcIB973peTXFIQDOxYAd8gnt-A1_xvNV3EKf7e0NPnI4xrBH00jocCCQYCgupQoqaw8"; e_fb_httpversion="AcKiDLm0Ioi39NSUr5_5VnYVA9NMarqaiNUfNxFlIwZjXul062pKoGoPwcP-"; e_fb_binaryversion="AcIkdFskuDWYWOHPmvemEoj2CbTsIWnYifEaIi8KwdZ8t_WuTnCYLYjxqMy1kONvSLM7p8LgFYnGf1pkCJ-k3hA0Y337lizJgHA"; e_proxy="AcJkuId5cDeMBwz9ZLTS9oFQS8UI9o8C-i_WjVm2x2b06z9waG1sXQTAKgS2m7vgy5RvD8QnQF7jpWDJB4qH", http_request_error; e_fb_configversion="AcJNZrJlCroUndxl3RcbWEs9lNYohmE8Z1ena5L0js8U8KlDKsddnMxLnYU21Q"; e_clientaddr="AcI9A5YghsxFYyKHcEqZs53GA1Xh8WVGoz9PHnkPtm-tdwZNfqf9qCclKN39skm6mZoX_ts_I6r48wlKlQ"; e_fb_vipport="AcK4WnkH8G9chvL5IgAqZ4eHoEAdk7TAsV700-1Oh38KJt0Ym1rG8MIQuKth"; e_upip="AcKoklOs2P25nXbgO_1E0p9ZyNlJCVJUdVdO1zUP6tP5OvAZ1lmZmPbe1JZsg9Zww2eWfknTGx81dB5fXS6BIDBpvMreBcy6JQ"; e_fb_requestsequencenumber="AcIHXyWwljTwMApTDA4lJDkPwnOTyhhn-NX9LCur2saK80h5UNTypVmzaA"; e_fb_hostheader="AcLbXXN5rk6ctXqegoqgcWigQTz4NfsCKOIQ5-n2u9DaeKEXKvMv1Rlf-oydsuVG0ATb2dtALyRqapRK"; e_fb_vipaddr="AcLNc01gxBtC_zhFQqducRVAPnsJO271f3nRESMwh7veO9YQ6LsEvV3QMZFoC-7bG1a6_fPH3A"; e_fb_requesthandler="AcKTvXSkdbxogn3cP4Ha7KhNHz7Kg8aviOAwUbSoNSZ0cd9BG2o-7HxolacT-WDaIE8s91GTn4k"; e_fb_requesttime="AcKi0R3ZFJEVu6M073TnCUjeBCFdnpIpckrvz53AIj0xuQ7WlvR13bKlv0BAZ6LYcdACTX0fAg"; e_fb_builduser="AcIU_6QO1tp1V626PPhTay36tKFQc-FgGLFyuy996Q3A6UTWwTXC4h4NaB4bw-8e2YI"; e_fb_httpversion="AcJVL9M9_rzDXxtiOOY-Twtd-IEAwP4gSdJT3T5k5XlM16plRNdGKsdt8ID0"; e_fb_binaryversion="AcLXkWpZ6RRp-dWAAnsYklkskwBPOzzZhxuJgpW-Zfy7BJiaN79LU1-RxTgyBCKZZ02a6tAxhB0g4dFsjAC6n-1iv3ts6zsnOys"; e_proxy="AcJekqzMhQsd2CgC8ONP49rnToiCyu62xBSdLaZujmRecsOoU-ojAyIofj3a2CuDKTBr4fhnQ8je-go"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=184, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 09:46:22: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7086291241423848?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10635612, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7086291241423848?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7086291241423848?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7086291241423848?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7086291241423848?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhhmOBqU-kCtOC-OwrwqGWP', 'x-fb-trace-id': 'BeXLDHubUW+', 'x-fb-rev': '1011962582', 'x-fb-debug': 'LHFLS7xtaAeOia2P4IovbJRQH8EG5vMv2KnIS6WaUGAakw3jZrj0w8OrOeooAuYHo2otE+HvD8nqmWncn3vgbA==', date: 'Mon, 11 Mar 2024 09:46:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJov0MRTMWMSueiFRzoroM-9w1TKMO-XDa3GZhaL35xpQJfI1Eguh-c7W4qWA"; e_clientaddr="AcKMpGUVXJc9Px8FC0i6L_cbSWiNpG5BGFevepR8d1qQtB-rMhnSKhpszRDFb8w3Bh6h7B9BYE69TLuj3Harmn2NszBt5DufbtKMt9E5Kul5PeXBLA"; e_fb_vipport="AcI9ux9LrCjR1R402V7o6VRgrQwdWwy5_9usHJSnPD6JVfLrFPGTs9W3rHGi"; e_upip="AcKQ1CW3kBaNRpzU9BdvdM57oEvBykMHcjjgabpzl2VYablmT0i8YYxjzI6HhrTEHcaPasLNJ5apJbudnpJmuNcmSLJzdhqtalw"; e_fb_requestsequencenumber="AcJEv7j3-6dat8POahuu59BKh5N0PjLq6z4_nAkiOLWDx1rXJsXoWeBn5OrG"; e_fb_hostheader="AcLw8rte_cQG4HPcOUya4uTeGwXZk6qtCIkAY8JJTpYytN7Uur_S5XTARkpgxCDr74bZHetdcSl1yJbt"; e_fb_vipaddr="AcL_SCOwQX5I6bM9DPSp8fpsMn09y_ym_m-NYkq5ferBi5b2UzTcjA90uGSblrhkciyQN3SpVibpXKGNSRpgIDyFaQNxSQmWKw"; e_fb_requesthandler="AcIRyVUZJ84tuV8Jepo9KP5CyfIR6GNnRBWas3WuyNza3ZG17cXEiyorEDwyqmWYITsBOV3cpPo"; e_fb_requesttime="AcJtcHzcdD6Go-R1ex7cauvo2flrK9zM2hSs5yZiT2qNmO0Mzgir3K0S6cKbu5Ppn7laR1tI6Q"; e_fb_builduser="AcKKxvFPNCk5quHP2wxMc3L97lRjhljuS7vjEmig-RiwMojAtFwWBemlNbnJ99YYGv0"; e_fb_httpversion="AcJgKIwDUGLAZrdLev9VS1jBU3-aEug0eElv-BOmvytRR38yzFcHHnNxExeX"; e_fb_binaryversion="AcIheWcPF1723y6h-SECp1uFZQYeyyUoSHfJ27JVZ0aFYMpaye2OyKWExisc6NW_gVvCM11tI7yQjVy2jmUiVUlHqIjIqp49xiw"; e_proxy="AcJ2jhzOYbjZJkHxZrkZFE2Cxbj7R16XubC6ewmgu5wnCbXB5-_h2cWncuBgyZ4zfTALQ3PItC4_FDTNWe0p", http_request_error; e_fb_configversion="AcJB-V6kvsAQTlNB4sQISz2E7VvZudGtIfm0PB8xQf5Fm1urG_WLJI7TkeQ5ig"; e_clientaddr="AcIjV23-mVBEinLjPUerumZIQGTntzMrQHmiRSzm6Pz_WXRhAxhR_r6O9By5HxmUKUn67_pjRSK9afAhKQ"; e_fb_vipport="AcI0lCcd6Xxo5zqX3IwDle_p-rCfRHLXVXZjjGsBie6QN3Z7Sj3mqFpY4Upr"; e_upip="AcLcs2Qnq7mC2SPAa4G4xfZ-WzLvJ5n9glFv2Qap-LjqX422_8ZVoiTGuhyLNmnTF8xAKDaOoj1utlY_m9BTUIqD3udYghRB-w"; e_fb_requestsequencenumber="AcLVbdwOjqBwW2cEHPtCSBUGzNQQfHZ0eGnA3xV4yA6Bfo6jdx7VUNukAw"; e_fb_hostheader="AcKCm2DRJQC2q3TGs_qPSJ2ktZMzTJnJVgNWpg0hHR2erK4tQpz5_czfwNl1D1WRch3UakHHIS77tQLE"; e_fb_vipaddr="AcLxQ-UBvs3F0jskjQzOF9_MUR5mIyprWYARwBZNyuBHNjYJrSMYJqkqdzhLC0H3zxelyS8ytQ"; e_fb_requesthandler="AcKGDvj47Gnc11dTTlSmpmHD7BwkT2F4p_-S_k_Xg75wrTXXHs8VroBvqhS6wd_msKqxKlAazeI"; e_fb_requesttime="AcL6TBMcGZnLcE43dIiG0SBqMxhFtebvBLQTclRKHyFO6j7KaeCd3UkfUx9erc4UynIisrs8Tw"; e_fb_builduser="AcKPdcmxDCKpmm5yhyUSfpEITV85RGFmK_ZWnEhKIdg6i-6lZz2G3-3oo4hmjrkiY5w"; e_fb_httpversion="AcItL-aenpINdWEWHzY_TBkR8O3A0rrntAWoYmOBz5BP-h_fOQP-oqDLG3wY"; e_fb_binaryversion="AcJGAeXXAUk_zqAkQETlu3iyISYKrasAxMaVYBWtx6Gx8Y_MnSPfPwidoIOJ8QrEN6zxJWhh41tStjyZ59g07XagJbgIfAgXFlA"; e_proxy="AcLi3Q8HG-IgcPP81O_b1iz0XtEMbKiinOyvOW8hO_1tj1Jq3f8QD2DU6FrKxXmIBxefK4U26orZebo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=291, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7086291241423848?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7086291241423848?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7086291241423848?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 09:46:22: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 09:46:22: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 09:46:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7086291241423848"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10635730, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AB0MlLByznEuu2B4r0AxozU', 'x-fb-trace-id': 'AwCOHWHmhhJ', 'x-fb-rev': '1011962582', 'x-fb-debug': 'eyPvIV3oRdPlRqR7R66Ac+sjODjhIF0dY0MqpLJRD/tNuhTzPCP2pFRNhoxQWmWbuuXK+zTWRZ5YGnehMpzUWw==', date: 'Mon, 11 Mar 2024 09:46:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJcObjRNEVQ-WBG8zGraFCLfU83YKBpnFBIAvkEgr4f4D5uPcfi2Xo7L5nOLg"; e_clientaddr="AcK7H-Sc6-Dy-1ZK3hL6dJkA3N4Fm09c27GtZtiiRV7OQBevf-myg5-L-IO_ykFvrhUK4UTkMFDi6fluIbFb35dDsD5yRaEjqPaAC5TMNH3aSVnO4A"; e_fb_vipport="AcLLbUGJivLxq3UpGLKwapHuWLTnDWhiW_jwsnNiN2XjM9SA1kDiwBIyu32e"; e_upip="AcJQUmseNr1V3hhH17Hm-Ac4EVmIlw4To3lhFmonC21V4gwwoa1I-78u_duyNemFSZyLkzRT8mUnwiyKVS7PFmyyvNlLDBBBMok"; e_fb_requestsequencenumber="AcJQ3xcQwsdUHtR7Ttv72N__l8_QES9QDqxieIfv6WgAm2EvrSd84UccoVKY"; e_fb_hostheader="AcJRftA7JKh7kK2mWkphxeZ8Wr2jJaKXYXza7pLnLxKTIALpxN69qdmqBjy8y69bJbn1D9oPmyJf5Sxd"; e_fb_vipaddr="AcJcZlj-y2vG2fl-zyKHR9wm6f_2oO4ud8o8Q9TLUgvbVYJHbJrw8sRAlA4modPO7mIg6-z7zXzzQ_jB3oozN2aozQj7IJyqzA"; e_fb_requesthandler="AcLOgzh2PZFWJsPfMlJVV-TYgrcmXTwkgGamAB5d0DunUWn0yO6cB4nBF5wp5OfwRfV2RO2pmZ8"; e_fb_requesttime="AcIfloMfqPxBLOna2VO3uOBmSb1gs3MMBDudC4Nvb7Mj1rrlTAs6i4J3-N8lWQqeOy4HTk4gSg"; e_fb_builduser="AcLqF8Wnvs53NK8fVnI0S2ITovNJcRBecr1zApJe0khWN0XLsSOARobKfP7ebeZXfAA"; e_fb_httpversion="AcIlj8ngQf8ALidnag5PF2kt4pooYPkHpI8-eH-sOlPactifCJYHrHsKBtf2"; e_fb_binaryversion="AcIBEz5v2efMOLL4b4xAQOS_B2Zv5HH3SNucpGgdWBSufnh8KipOai18FPY190_NpkbzqN2fFDBFY6vCxUuMdKnTv9Jq1aneXbM"; e_proxy="AcLp8IfbFbljn7IgKNujgiSosV26Pq3x1CMq4zieavGuerkeNkJ3MxW_3c5-ARh7MTblQUpoU9tjoxn3ZUaL", http_request_error; e_fb_configversion="AcK7wcDLHQoQhjhQv0C2DW6Kaj5BZH3uQPJnqj29zr3wtwDpOT_zXI6zbBnE4w"; e_clientaddr="AcKgjQgXK70y_xlrUNuIToYcv39M6yWw2rjKjEYv4Ed1yejTy1beXsI2H2a_ajGlLYcUSgYDIBklyKBm3w"; e_fb_vipport="AcI7AzAdIzMjhJjiUHhxTQ6lDQi6Z26-l7bqLLW7qMLX6s7diJlG3rqDYOu7"; e_upip="AcIMvsW98GAjOdjxRPAmlnj3qppzfSV958dWb0-5IMsw7u8VLpXG--JL4tvhV_cPK-I-La08eoES-dRPCyybZU8uDVmmO_uU4A"; e_fb_requestsequencenumber="AcK1Pbk6gTjBPeVC8SGTflaihcXsSbU_PHZoeZr7RBWtHH2aPeo4sLaePg"; e_fb_hostheader="AcIlZbwbScreAhqYLi_g6F6BeUUNCnP4LiggnoMzppazQp06XPtiUuj9Mn9ZCTiQRbXK_QitwXnl94PJ"; e_fb_vipaddr="AcKJv6TY4vcVQsrtI0vmq_iorhKgT6swRTWAVSoKLE8pJzAsRlkxOrN7NBpSokMNjjK29gznJg"; e_fb_requesthandler="AcKBTfOYUHHOIi4007LJEtjZ-_CuUrBLDJegNPDsKolv4ELv8V1yw1lQXHa0kJtVdreV9TbfaxY"; e_fb_requesttime="AcK9tNczZqc6gClt0siWKuUlrIDG0Oy88dmYPFX3HYJxg-8wnlzfDkpbITLtLIrBvLwF5QQUPA"; e_fb_builduser="AcJFOjJorzcsPz_Uneh51GMrg6Z21i-xt3VaO7SKyHONaSmbcOOV-VKw11fa4BrWcXY"; e_fb_httpversion="AcKLGl_mA1tHe65wRQnDjOZ70jRlXMejjzjW0qG2A-yfRenhu4yz4NxrMcXx"; e_fb_binaryversion="AcJK5ZIajP_rCUbtu2sqGgRjmTgObxPmRfbAc_HBTMzP7KF2oZfgrYHEwxBEpyhrRVytoa0-XOQ0fWTs1cKTE-J3IpvvQQqweEs"; e_proxy="AcIdNgvOhd89aAPaUunIvtmWyiFcoiFHI9sXqBkNBFti58EHxLJksOaakrbAt8TqTb0L0mVrW-0eQbg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7086291241423848"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 09:46:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 09:46:24: Error on send one message facebookId => 7086291241423848 03/11/2024 09:46:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Agjy8B45Zy9_SfQLRZRcsa4" } } 03/11/2024 09:46:24: Error on controller verify_blocked TypeError: Cannot read properties of undefined (reading 'c') at verifyBlocked (/home/ubuntu/api-facebook/controllers/facebook/verify_blocked.js:8:54) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:30:49) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 09:46:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 09:46:24: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:109:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 09:46:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 09:46:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7086291241423848"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10635883, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqNhycfxuegg2gMCMAL1hg6', 'x-fb-trace-id': 'A7Vh3F9KW3h', 'x-fb-rev': '1011962582', 'x-fb-debug': '/J9kLoPKIOaDRjxYHzuX+cZHwTG5Ql2PcAZcGtgxz9fkwxG6B1m4Tn3je+5iTO5eBV9kFCYNfMRyQkH+yw3MDA==', date: 'Mon, 11 Mar 2024 09:46:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ6TPFpsvHzNz6OSXygF7soJ2gekPoAK5ExOgz0IdYXiG07owMKRmOI9L3eeQ"; e_clientaddr="AcIcR5MkNUANrXl9gChbHaMg3SrdfkrF5nHZjmvodvS7WIBf3jgshyXv86AdJ0PWYLKCJASqpVmLZpmq1vFxBTbRGqic-zvRtKCTd4FHVdgF1mfbPQ"; e_fb_vipport="AcJXYqmLt1Na5VBqbQaPIfY2YdmuaZxB-OIvzrDlWTprbR5-tmajdp1Nu5fi"; e_upip="AcIObRPloMV7OUYCOg1C96QxCDOaemrkvY7ryC00FRSgr16UoXTuBnvFkBzKvxXy_e4WeM5yqyT7GLvLNcHbT63B_U4C8q5UoA"; e_fb_requestsequencenumber="AcL2Xx-wCK5rYxoNRu3XHD8lMLxWJ6T9a0tfm8IiCu0GfTsrAQSrhLWPqLBs"; e_fb_hostheader="AcKtwOcZrVLAIZQFC1z66poYImHVF729BE_mzBWCgbzKpiTErcjxNRmIU_l9ffMyq2MuuNBDi9a1CUuR"; e_fb_vipaddr="AcIFFVcxkZVR_oNGw5Cl_DGn-Bl-I0qCiQKazqW9MB2DWwGTWwf33WEuGGO43rMAYajEWApQBb6pUI7th78iWhHGfQ_4En_hew"; e_fb_requesthandler="AcIZ4cMbmn9grQiRYy5xB7ZeDCBSPMylkza4maLo2Nms11VWo_Ve6xaQ8CYw1kBCglCQ7SNIDmo"; e_fb_requesttime="AcKPMzqa_eQs7ZQjIbSH88I6eEUmip5CavtTnFH9UD9oreqDFMurLvCWiHRfjy2kjueoQyQn9Q"; e_fb_builduser="AcI0LqbwIR33PzOwey0aXR50-0tTSoLa_hWPD6eveW3-w54mOh_IYidmBc91ImVSI5E"; e_fb_httpversion="AcJmMETWLVLgDbm2oVaIvmg65YdUl2tQnDs_H2YKXy0R6j5E3norR-qGqmWL"; e_fb_binaryversion="AcLzVhFx1a_nZPfo__jDuuDaPyarkIB258ZpTjbb3GBn0mOdd9FBM1-rqvADVX55klM9ZAKWbLo1b4nZ97yd2VMJABkmrh6sSdQ"; e_proxy="AcJLa6o0VjjNspxlMqPNPfpEd2V-nSCADqsESQTCy8Dwrc44TONyIbUQMwgGH_Ys6XSV1EDoB2pNF0tjQq0", http_request_error; e_fb_configversion="AcJOc-iLde-F7GbmWSKjlWVAA7cW3lCniuU1CTltqrBAeTv3SZ-yVe3foqD70g"; e_clientaddr="AcLXoDTaQZtz8qAK0CqPymN44SvVaD8tCLeKPyo79V37f8nPXhg9FTdLvFt01DIx6FY_lCwd7lmsmzFrTw"; e_fb_vipport="AcLpt5DUzAhsqHjLCoI0EWkHGw8xPuux7IhyiFdDA-U18agfYFYcFBqANmw-"; e_upip="AcLY9Uo-U1-uXVNOj0LzyZ1ofY8k1xwodixCf_H3J9BGgSlGeeViupk67uRnEucdLF94aQkKufl-COW0lvHfpzgKMCB1Sowkbg"; e_fb_requestsequencenumber="AcLDFxAPQ8RFgcQXsLIRdSC0mK-HoY30g09_uSn_M3DhZODsih2MTSNeNw"; e_fb_hostheader="AcIVApbi3XyFQeMlZnESj-W9assk6Zn36dMzl3lx6ZcRl7nUumAUIoKT2oRikw9U1cq5mqdtRsw4uwGE"; e_fb_vipaddr="AcINyabKXvXi00N_EwhCxE6M7Qjb82Sw-XeX4iJ9Yfo51r2pxCfw5mumUZHgXaDvJc7hc_RJ2w"; e_fb_requesthandler="AcIugZoEFs83GQnTP2CnPwEtllGVpqXpDHoTGublcq2m3yrG-kcy_YVFZQfeRAc9Mm59YW4QDuE"; e_fb_requesttime="AcKtKOkT4pQTYv5VQ50Mxg6u1OuRhYFKJVWQkO5wAdkjT-xrkT_KVex4xnyFgMUTYyKytMCd8w"; e_fb_builduser="AcLllDKGtoT4izxI3_tt8BKhZuBpdn_MqJRHTLh10FcUq3UozzdDlYu3e2oew9CjdZw"; e_fb_httpversion="AcIjD2xQ545k0f9joNG_Gv5HRa54q21NHhQBitgGvzRv-XryNZDiys2CZGm3"; e_fb_binaryversion="AcJgDkwH3B2ET8eOmSsrpn61GM2Ps5-OvpPhNPkzkg_A5OHOJxDXWCCj6lmEUDf8Xtq73vYodyU8dkAdZ6z7C2ES9r4Lpy9uZNM"; e_proxy="AcJ6fagzZ7mfSLaCoKRfDoIltSPPRhsZTLFh_kGv4gl92eseunH8A5mCSUgDP5IoL1kK2-nl02neIoE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7086291241423848"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 09:46:27: Error on send one message facebookId => 7086291241423848 03/11/2024 09:46:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYRVA5dRnWeuV28f0k-_iq3" } } 03/11/2024 09:46:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 09:46:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 09:46:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7086291241423848"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10636022, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AP9fO3912W2CjUxcvWQuLjz', 'x-fb-trace-id': 'DEmTeJ9A9Ur', 'x-fb-rev': '1011962582', 'x-fb-debug': '91cLWgIyTzpHBGtufhIvB7vvu7gf1qTEc38FX9QAlJ047aJnOSuwB0cjSHZubYg7GV3SWmoLUNwr5CF8IYBg0Q==', date: 'Mon, 11 Mar 2024 09:46:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK6pmhRy8ZmbNQwzKfL0NjzKbOjOUh_eNKLWGivy4Y3Oj7k_GTIn9Ksu_tF7Q"; e_clientaddr="AcJQxQujbhftVFLrdPLqek9VR8sTVpi0_dhkL6MZ1jOkyk-Dd-GT3cw3JwR5DTZ-Um7ZvJtLsU6zMQCvF2INzQN3j4ZWe5jJaqZN2lh_65vNiDpqPw"; e_fb_vipport="AcKLtihXwQWoHwyJ9hEm9YTq4rdADDNWVa-f3FoH3QKV-2QF8asNsDeMRvZU"; e_upip="AcLeMNO9VqGm4w5Gl_HLTAzbto6qUTvghxzIlV_3qTP_FF74eHycYovapSJpWv9dYiZdqeuXY0wRjVLiUuCjG-mcxni3hyUtxH4"; e_fb_requestsequencenumber="AcIPppfTrxffwSa-zCf51AUciZ69hawoLUpnPLUH2sT_Lc2vU1mc5hl3r8nhug"; e_fb_hostheader="AcJlPreCbewhZss_ltkw5cYTaEaKiATcnAZL44sdBDZ1umPRokFgsCVjeQ13-8zWXSgZVmUKb8MQd5fc"; e_fb_vipaddr="AcJ6P5uISaEjLOYCqQDLMUmd_iYyU9KQVbI42KnWakHnDW4ZsKhUeyzO8UwVZuYA86bFHlKUlRZgr3xzXTM5sEhybFT0cVt46A"; e_fb_requesthandler="AcLpg8f5acZmOErpuXz_YEKcyZwy3oL6rd6UaWsX7KKIQynNknzqJ37_lvKfMlBJLpSUvBRCDoY"; e_fb_requesttime="AcLL0CfYB6Nggz4y84ByqHc3kKl5AXkrs3XnsH_0fW0xATJTyEEUHJJQGIjEDkuoxtBSyfxsDw"; e_fb_builduser="AcIo6HYwBEFOwmruEC1R9gyL-vKklRLNwfaVj-vnR1hxS2ZdDP1Q82gZCQeQtLIhtcs"; e_fb_httpversion="AcIzdS-sJXIDkKkIuVppOaPo1qoCZjTUdpLjpYdzHr9VO0p5bgdmSMKDfDjq"; e_fb_binaryversion="AcLx-udTp819fXKdNFZDM1IzHYnhQK_vW1mQ7EYnerJFbsrTyoy4DPPkCl_z8QnYpYTWmLjThGFIsgNmziQOVJ5d8eHU_vmaH4Q"; e_proxy="AcKckzK5iUylQViD250rKG3d40JwuVhr-0PyGed7jnNvETR2OCD8Fnqwsyao2Tz6-Zdpn5z75iRUn50G-sUM", http_request_error; e_fb_configversion="AcLbmjA0AUn0zVj2IzfQdo3c5TUxmecaHC-KO6Pkai4J9noDMMLtwuwbFiVXqQ"; e_clientaddr="AcKcKIXHoOwL9vuksNWGON40DeDn57g_OkZBmBf0XmSA32U_c39RPcWEsOKosSSkUNCxou_RKJA4c-NfJg"; e_fb_vipport="AcJgnrcUjFJdYQpMVEx16nInXX1uEpZx9QzKSdaIeKURs8bGST0moeMLLOiw"; e_upip="AcJTpYPedhYd6uF1yJf_2vIelWrD1yBvYZi5S16IF8OVkbSsfclqkm7ApRGwMiOMBM6Vd6CNWemhMMCZeUb2e3eOaFYQYbVS5w"; e_fb_requestsequencenumber="AcJjZknX5e4BN7kDfEbT7bSH6I9Giyxj2MJiQQ-K-tf_JeRoThfiO3BCfA"; e_fb_hostheader="AcK_iQVPJZGbAAcMNpDLDZCUmm0YDwxY1JL8xh8IQWyg3DFZVI8KfaHjqp5cA7VsO9jA2KU-rJQilDbp"; e_fb_vipaddr="AcJ9yJ-wrU__423XNu7FQaqULcKrUZcdd4aNPiwlGKe0gtabr5Q1jHzr1s8b9dZQhkNvFwrOvg"; e_fb_requesthandler="AcJRVa8Z0sBfOsPFFEY-n_4523tZ0IEgyEWNBuqURly25tvm0rIUMTZhppl3R_1eADpuizVjADE"; e_fb_requesttime="AcIHxcV_ETkyRkIhR07fO_YYuXEDl8h5M70rvBKZ8vANPrNPP-gS-7J1-MUXaRUxVbwQAvDV5g"; e_fb_builduser="AcLz3ioGv9JIVfT2NXcPNcw6Q1M_pmDxH19uy79biqYxpQPXI73SR0mXHAChOAU5xvM"; e_fb_httpversion="AcLVg1w7oPP6FJD-UatHw6r-mguaUiYnHIAaUjDbG4CYt4eNEJIv6Yuaqn8a"; e_fb_binaryversion="AcK3MZA1suh94pRhbVeP0vKb8Lez9bJwPOyB_5peYIiEyufJ8qaXTNxOHRYuHPuU7CmJibnrkMyLzMq1Ddmx5en8unIH-t9ct_4"; e_proxy="AcKWB4Ck4lvgKzcajcucZZEYNfURgttpEWnujOYz3bi79DJflLKOj4IaNH8xW9egcCKLR4hQZIXr5Yo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7086291241423848"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 09:46:37: Error on send one message facebookId => 7086291241423848 03/11/2024 09:46:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUOzyt0QdssX3krn7tY4ELs" } } 03/11/2024 09:46:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 09:46:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 09:46:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 11:41:18: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25054022817578103?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10655493, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25054022817578103?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25054022817578103?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25054022817578103?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25054022817578103?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADyr-t51aSw-fHSju_by_06', 'x-fb-trace-id': 'Hiyyp4SUWHj', 'x-fb-rev': '1011962582', 'x-fb-debug': 'TN5C1ZFRsZqEAP0lNlfQeFhy8IKDxQN468dm9/rh20+1WoajyiKOMZ6zCpq8VnvnAsEpzt3mepFnMgzsfVA2ng==', date: 'Mon, 11 Mar 2024 11:41:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI-4E3vZSuJuovjgvi-Z8WH4_2BIo-RH_LWFWS0_blLPCnpchDuiXvTSc1OJg"; e_clientaddr="AcKpU31DY4FwM6W9TcfL5v_d7xYwa8tAXjvL98Vaw-UX_CrHL5Fh0-vmn_15c0D5ls9LDy-aUHp_OaENiDao9x_mKMMCNlD2QZb9JRcEoTt9t_jYZQ"; e_fb_vipport="AcImPDinE0wQxvLhGvv6a2dnMifOHhu6Pd_1XuCQd5G0MiIKi2xKf49OOr0b"; e_upip="AcJz37YnQ4VciBXwTsE5RLBykeboccsxTY_FE6QSPlQAk2ZWSL_usSeQGp9JpKkqd_L45tJkaimKOWxqVx6shDUVgY6n5Y9yN2o"; e_fb_requestsequencenumber="AcLpqqXeMMWYlBqgdixhNPlLNz2dNW4_-N-k8Y1lOBad8MC0cktj065kjcHieg"; e_fb_hostheader="AcLrpKMqEb69LZEvcEZhD5WpQD8YesjgqiOCX4VjFwj5yQscuht0_Uu3b9ttWB2o3piFwUk5rxb9b3H1"; e_fb_vipaddr="AcJa9Gjsdp1b0v7UVVT91O4OUjBrtMGq48aLyE_8ZFDV1SyxgqLSHQg7qCHP6cXtbugnYmfnOMlLVf5o_k5SUTVmVUExmbMRAw"; e_fb_requesthandler="AcIRum3_l13ZtvTAWfjtDltY8dHgNWQxowSta6q0aaZ6xKDrJs-MDejD8qX56hKFFV0Egxpwil4"; e_fb_requesttime="AcJl7bhtFMkhRK2Y6uNIf8J6yGa5FCCm6Yk4GXABmHhAcZCec-ku4WMPY4Vp_1hspzJg-Qke8w"; e_fb_builduser="AcJbbdqwwk5xNG6pGWmOpBQY7esls3zvEPECMAwj2JzBjHz2olK1ErEqiE9yi0A9vl0"; e_fb_httpversion="AcLeIz8H8-EigKG-35ba-Evly9j-ww-JKitAOdLAniOb1J_EcucHMlHBZmRa"; e_fb_binaryversion="AcK0UobxCU2GTqsFrl6G09zPo0MJXEQ4LRXqbT7mwY4KC3bpMf5yHIXMdrv0O1MxeVZos1eL-Fly8j9in80JbEndUwsaub1hARg"; e_proxy="AcIhH2w-c3oDwvITgZLrupA9IjslMmfav8B7BK3oHyIAlUcSPGHHz8ah7YsZMTWknQOsu2d0tJU08r3flXMd", http_request_error; e_fb_configversion="AcJOvSLBquOrmmHOgPm5-MFSNdEoZgKsxfpPp1JWwH61l6e-KbYD6bXWWSErkA"; e_clientaddr="AcI_HLinBmcAAteOgiwPZYkaFfjuVvKY6Prj6PCvQwMWzJw4aJ5RQl2Bv1lKSXNNMwK2_xOgiaSJHPikuQ"; e_fb_vipport="AcJv7CA8j9YAKaMh1KP_VA1V44V_S1cX7DmJdNDJGsXwPWsKBLRcJkmVLPb3"; e_upip="AcLYmo4d1zY0Jb-RG7uZrZLtneauiXpknD9nNnwNtmMht0VnBpvIe1x-PEOLY0a1q6G4FvGzCHOvx8dLpcx0RPfuuCo1i6BtSw"; e_fb_requestsequencenumber="AcLkbfaXavwSch4QaJsSlQnhwjX4CkT3oJi8-P-iyPY4nmL5ldyaNzzEWw"; e_fb_hostheader="AcKwcOLyblSj1jjUYd6C-bpJ7QQSHD_TY6EkZlHA1jbypTfn-jJ7JfOoVF09eZGdJwYYK76UVjX3xgX1"; e_fb_vipaddr="AcI012MEGiqM14CoQt2hY_jqLuQkJxiKoEU7XDWKsJQtLedbPbefTEzx9XzeKJn8ci8hgXKeQA"; e_fb_requesthandler="AcIjMsb54AyDEfY3BhU1JUbMCl5CpBRZynVoml-KWYgPb5ZUwGVSipwfooY6_yybt3kROj9UtZE"; e_fb_requesttime="AcIM0ou9ufSmTLJUsfE3WEGMhBfUzENxXHKX4jHVz_fAr6r2UbVutN3lCwDBBiHu4Y58Gm_0Kw"; e_fb_builduser="AcIF3tVbuTCpJ5M7DeYzfpSevZ5PFGBLe9tbfq5gz8HGaBNaokN6u8XlzOIIH4y9JjM"; e_fb_httpversion="AcIRxPrui7TBCuJELrk_ns8scJnsQj0yIvAmQeKq6ETct3ltp0oroO3JcPeI"; e_fb_binaryversion="AcKjoSoD_zs28In-U4RbkA1X6ZoD5AJhVdVqZx6opSGYM4c-rzr9WRs2MRiyCxoi4tvmC3d979yDEuriYt80TTs1-NWA3zhY8fU"; e_proxy="AcIF878JmAgpIVdFWV-IHTH-tjO2dgYbZVWrqVv_kJDr0u7jdQSimFFnnVhmkLHxNSZf1rbWGbd_xas"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25054022817578103?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25054022817578103?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25054022817578103?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:41:18: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 11:41:18: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 11:41:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25054022817578103"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10655611, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwKPdH_0ariXFCgRx5TWnLN', 'x-fb-trace-id': 'Bkcjyelf6sm', 'x-fb-rev': '1011962582', 'x-fb-debug': 'HHGe5vkgBzBrTTVtI9oVDfB86NK5j1cJXIvnze6PbtXnUy0WBPMMB16rYhCGndZZ1nOP9ehrHagYvjBl1NoqRQ==', date: 'Mon, 11 Mar 2024 11:41:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKoVaLAWZFavbfqBn5bKeTCBYYgy7vCM4w2WJu8SBH9TwCcFKFGnjZpvL7VTw"; e_clientaddr="AcIlNSliUq-BlKxZjKBh1BOVarkX1SbxNQ0GsqAwcDXF0epo4yDh-Ly2h76tZC1azf_6hkENpd-ViNps-svIKFV1XK35t9kUJlcC-7EKijMM5W4bqA"; e_fb_vipport="AcILQiW0QS-HzEIehXrrypHb4VX1w-YS-sYwE1BbQb-OwIGBRL0Md2jWxTQf"; e_upip="AcI700ThkrtEAOf7i9aZawT5mIzOOa7zCKD22G4rxEgj6CXfwgSfcKUuPd6HTJ_2hV4pXJZDnH2IcFkm4B5SSqJpeXfOGutkgdA"; e_fb_requestsequencenumber="AcKwKBKH8mctP-6ooai63PcXZNKOYgxi2jELtDkZ8nzTyN_Y1hame3IEj5YO"; e_fb_hostheader="AcLHKzvyIfxOpZ7F3MxZmVwVReam6Fci7SYJ9oWCJeuhNOG5i2rFZMzhTSyT647rWiVMg12h_W9vbnsZ"; e_fb_vipaddr="AcIz1tXfYTYeIECWT-8OzjBGgKd0li6YaF9kU2SIKgkgujrYBHAB8FHKIovVAAONOcNtAOaSlwHuZa_0EXWfqcWj0EtRJ5ARzQ"; e_fb_requesthandler="AcJjAESLQ1Jdk8MOwrermL-Xl2dbIq_bfjieONvbaVyi6Ua5-veOD0co3jmM72QO2lADW-8zxt4"; e_fb_requesttime="AcJzaFKbgbq1F2iGO6iO-_JaSpkgdCcJ7SnQTuarv1AW_Vp96c71gXdOpeRtCZpbMCGDFsBjVA"; e_fb_builduser="AcITfSsRYbTYAAS-Owy1Qi8RY5wv25r6xhHZeUtfcj4HD0V18qSM5-vugZO8ndXMacg"; e_fb_httpversion="AcI7wUEZ0EOeOLNpFrInUP5eZKHeudVs2uhxttuTEqLQjwB_ZlJuzB1pPu2l"; e_fb_binaryversion="AcIXyfFMGN_vq_YMkGyg2LKXXTby_L81gveOLb8FC2Z2FWbfo59_qV57MX9GiI9UiPeBKRMAvXinlOpEHzW6rmptw7aHOHwmA7E"; e_proxy="AcKgYSW_5bFWXx3xW8-LHXtpK25RCwaSIuaiZteZU1luBUld92RxY-u4QfWlQq8d8r2qPHvr8pmZVtqgKmWz", http_request_error; e_fb_configversion="AcI9AgJRhHnen2JeD1QXdvRcAZcanQ7RW0zeJ9LeeQ0SL2L1uyZg30nS3nwXUQ"; e_clientaddr="AcLAG8ivjo7HXN_Phsu5gIv7-pP1cqYuLOvYooziP_VHEegCxgMoZzS831FS2W7ZIiZNJh2dAHpFVfQB0Q"; e_fb_vipport="AcIbZXBkrfCCzA9zpBaHAbtEjQ0dGMXVyx63X47FWltDSidWpYi3UnzCArgz"; e_upip="AcLOMw4_B74PfwPCNExpBtjxgbPVJr2FXrSewHVc9V_rdvC2oPJiXz1_Y9aTIQGMwaQ7xcyMWEfs28WwnfKO-paidTDhwKpfLw"; e_fb_requestsequencenumber="AcKirgulNM8seVgAnzR0DjkDURulNmpBsMaF3SO3-JvV2nZlKQjeKz2QlA"; e_fb_hostheader="AcIsDQPbjhpxqpRA1yCWdmTI22UWsD9JQwet8Ku9VNqKTyRwS2PCUeP7gUXYKrE0aj93whQRRr5NHaKq"; e_fb_vipaddr="AcL3M9JXhuuO1YIjfZh4VX8h7nVavpPXnReFeKPixccWNWe99xlgNllFcdRIkyiieG7LaJcpWA"; e_fb_requesthandler="AcLmFYWZqbIfn4FQBKvceM0skrnsss8SpX5g9SINbyiZFRMjnfftgqYFqvGLGHw0cMms44a-9bA"; e_fb_requesttime="AcIRLnJNviU8YpAzPQN9rJDDYyOLhlWXe9KxFfNEfxPzknPblcJYDxShEa8-hXJ97b5vx0xMjw"; e_fb_builduser="AcKyVXyUBnQQ09zc9zJdfgpiE2JqAT1pfGuh8T2csRc7vL6RZElowivzjKvlwIu4Pg4"; e_fb_httpversion="AcLeqtTuCZSXLVxEWvkIbWiZpySrpY1AgSkQjKvZWWJj0MhXa8KvElhXaU9U"; e_fb_binaryversion="AcLrxAvMIvSrAAPllZy-lMwuwmgHPE-Yj_Pi3JFR_adRhGbPXuxZZxac7Ftrd92q0VaSxr2n4trBwwImnV3_dt9gRDcjIr1hiN4"; e_proxy="AcI7tJoFk-31VbvLahEgG2kBpmwPKeLgp9Px4rlIqfDgJJLO0Xp0jkGspT-x-swxjttvZ1ZnrwjdGsM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25054022817578103"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:41:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 11:41:20: Error on send one message facebookId => 25054022817578103 03/11/2024 11:41:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6GiGZ8kFv1sdMlbBFtRNx8" } } 03/11/2024 11:41:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 11:41:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25054022817578103"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10655701, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYnY8ZpVaOLzzxivSRaKCub', 'x-fb-trace-id': 'FPLS+XxP7um', 'x-fb-rev': '1011962582', 'x-fb-debug': 'XNRWAV7PKP2kYevgAXWHrww6ufupzYCDTWqKBOBKu1Hi5urg2NF8JW6VJNzEgez4MwaZNqlA8gwllN6cPTAHXw==', date: 'Mon, 11 Mar 2024 11:41:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKYOFw7lXQuJTLJWo9G1GOiF_eZsx_maXbhZ8r7K9YgxAQXBbJ598nfbBo_0Q"; e_clientaddr="AcLLeu6MiRg2tdDZvnBbEXonjbS8KPZ4OjrD15vcbnlxRGKb6L4Q_hlEsHPrwSErwTxMs2xjZWVpDTCYLmInqNAfq7Fjenfh1-uC6d24mh2Wjsgz8w"; e_fb_vipport="AcJx_6w8LfGx_mbuAG4LlaUhb4A-eaOLK_7Elfu1YOyAKaPw8LDWNDK9F8qq"; e_upip="AcKfIH-8NuKag6yRm4AQ3HMk4V9O_ZkzBaWIKlhgAO3_kFU0VltavAgIH0hyLnac4s1b38UyvlN61chAxplYUdJsomhCFcy6"; e_fb_requestsequencenumber="AcK_trVresIMnvlCv_8edDltN4cV6beBWqI_LratgOWJ26Qr4YuPcsEpX1hpdw"; e_fb_hostheader="AcJpqWd11G1X1h22U3G58KNhiIzwRP0U38Blp924gWo3BDOpu9o32mBmF49fTWHmgr-XKnktvmf71074"; e_fb_vipaddr="AcIST7KcEkD-lG8UIOIOgEbKtWPzDrLqgDjLHHpgoH0X6lmaByLh-kbHyTHV5j6r34jmGlRegXF9iQnCuRlY_5zFeQMtq71TYA"; e_fb_requesthandler="AcJaB2_uCj5SPNnUB5uStoY8GcnuOHh0VOsky3u881sDM6IaiYSlVfQea9zN3RCX3BUhFKgmbcY"; e_fb_requesttime="AcI9gnjP17mgCOhWRhUwVYzI2uAqarVPsI-QQSB73R7y4W55S4busUmTqerh9rRkp00TyZUopQ"; e_fb_builduser="AcJBjzbIJBE0H4rOE02v0Om8Dis-38JhJmeA1p40maZAVZPWm83S9ilUr5sTAUsbAzg"; e_fb_httpversion="AcKHjoUbz7RLkKuhnrwTcmTMQ2u65RAbziNb3kf-l8ApzjaCPO99eo9Wqhte"; e_fb_binaryversion="AcIpMo9XRpyXCAqjajz17TRWMio_q1gv-52Rpdl-a7eQO4oePUbKuXgCAtXolA7F7VN2Xhv4nHfoFmYUCxzSoQUsQYvCosQp7TQ"; e_proxy="AcLBhRPEGMI52UK0Ww1PJELdpncab4q5OIkOXIVT7oAMfhr96qd9yTl1wUXA0VR_Gs8K1zHP_3WMnZljHxca", http_request_error; e_fb_configversion="AcK-L8-HMxEWGS0pfu1nCHBwF6NttLwcuiqSTBN7EO4lOGfp7S3dLd943RJoEg"; e_clientaddr="AcIWlMZUCgVbthGcCKYn-5zFabvW-VP0CDXMRANJoMYNNdZpKrlMYoQqp58G_UMkfuBTHcb2QiYRfEJh4A"; e_fb_vipport="AcKu6Vz4umubHmQHG8Bp3BzPSt3WzwP0cXZIXHVlwX2AHA23NzUeQeIN-mVY"; e_upip="AcIHRiFBjGinwbnG_eyXhP2dbwSuTRHehC4zT1pkDl-WW6N79qkDvghlzKBXtSpVK-YXrBgeBF9Xq4HyI3fXX3yQGo_oFWWNuQ"; e_fb_requestsequencenumber="AcImwOScVdEmG8aRgRk9bAV9g4bZQfO8WZhMroOsdvJKQ-pRKEPpJJ9c1A"; e_fb_hostheader="AcJCl3FdbQUHyMZES7hjSzoUVJ9jyXUuchG9iNqS1TgH8LoLP3O6YzuTcL_udUVXAkFGUp_MaHv2pVrH"; e_fb_vipaddr="AcLeC6zJMvjl8Yvbc9rFbWEAz9NdhhumVy57SaA9Um8emKhvOR1YvVLOJPWpxXjuiwRuDit8aQ"; e_fb_requesthandler="AcLRs2UlvjK21TQuqwCuDL5mSRH9C5UjtcJYdrEqsPVZQorveT1SvrtDWO9nAVsnRG5KfdpIVrY"; e_fb_requesttime="AcIDzJ3dQqOZNOeb6au7he0O4qg6m7ns9UWT3bZ5uxSDveH-ss_uYTHCgp1rLmZ82NU_brj6Gw"; e_fb_builduser="AcLUIVqxa4mH9MsBkewuWzmYp4xecyBO1MlokJLrqc6l_K74YuVr4RjSY9jKmncQ2nU"; e_fb_httpversion="AcLWMAjfxpQcWVhVcUa14e2SO0tvT8UN2fOuqv2CnZcuV0oqfHO0g9YcZh52"; e_fb_binaryversion="AcKZebFqnrGivf3pC3WOPQr1VMyXbIEb4OEO33V7H-fEmNwgzJIPvwaVKbggt-gQxiXO8NxPMoFqrMhBuFT9v2-WDVB2ymUquwg"; e_proxy="AcL36dbWqY893OYDjVO6cEReAxryZPxw48hN9G1aFjf7IBYdfvT4l42t_57ucNqK4J_7ZAQlY8aQsNI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25054022817578103"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:41:23: Error on send one message facebookId => 25054022817578103 03/11/2024 11:41:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AP7vCRfiboMHqsDgPw1jaEi" } } 03/11/2024 11:41:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 11:41:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 11:41:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25054022817578103"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10655840, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AILScwGaaLIelSGv9bNYwFK', 'x-fb-trace-id': 'DnHDxD8HbQ5', 'x-fb-rev': '1011962582', 'x-fb-debug': 'g2ZTycZmkCyb8SQzGtHgSG3oTxmfN8DXciHf9Vj6KMGv6KpkKvTS92fbg0qJzGJTalOe9qk4AGYEX0YWPgfFWg==', date: 'Mon, 11 Mar 2024 11:41:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJof1YimvzWelR_AEPKD_h6cprXB2Ec1cWixFJTDobDzf6HG_CFJbz5Cux3Ag"; e_clientaddr="AcIIpauQYnUbeyQaZLeUzIkG3zPN-0GhVL0-1UIKd2weHpsILKvcPxXGBLGJ4i8l29-wNWZNbGcwRyEiwNjFlhwmyUcROJn0zI3opfMhZHVeUz9odQ"; e_fb_vipport="AcIo4fQK9szUyukyE_AN3hZEQU_VLPLcz_PrQSHyaetlXsedaNoOWxYoarLC"; e_upip="AcKaYyySP8OgtzpNoewykGAKiv_BYNWItqn8wBCFFjzI6hmKmrb-rthi8yu05zOLnbf65adYojuN39ri8LAtucyq6NH9rBSp"; e_fb_requestsequencenumber="AcKgA51blQDpEo8uQ0xECNvwaZ-4_vQNn78zmvb447w224X79gQOStu0R8GU_g"; e_fb_hostheader="AcIWXDd1tDhY5yXSS3z7jjuvZGPlVkPmcAMyJfb8JOK58OiIgn0CR84Gdhd8Og_VU9ClnY81OzZ5agiC"; e_fb_vipaddr="AcL1gGeaetzU5AHewcrY3vvvsIjg2_iLFZrzMiBIqMV6fR6ntA0yC5bPK7nN1PV6Ow7LFOMlREHgw3W8CuY4FQinXNmnWXdTyQ"; e_fb_requesthandler="AcJ4Duiox_K96tEByQ9HBvRM1DVpBxNSTMgY41W8akd27fI1Jotf4K8YjcBVgCR_9ujcP99lcig"; e_fb_requesttime="AcLohhnDSiWj3jB8wWpPOHEUfw3Y-iGbw1aScROe9LpFPGoaCy3f0vX2lvxBlbbEbEqqAIBLQw"; e_fb_builduser="AcIkW_AFnP7rxxHoVrFLMh8Jm0YT3AbKeEAR_-d8epTW47qORK5X7oTQU8gZAeXdExE"; e_fb_httpversion="AcJxTpXJ2m5ob7K4NP0IsRrLLHGoKZgWppBYN5XdCfGM-nplUJb2E4lpsh_w"; e_fb_binaryversion="AcKeouuGm9Xo0-HZNce0dg5cmfiklMNNJSXLIQhfKyMAXtRt2dY4TTcvgC8xt2-LN7tlmQXsPRkj764YeFxdIxhavs4U-itLm5s"; e_proxy="AcKlEmG6W4DbusAMDg9QvQdHTdttTqvzsK7VuNMnq-m9u_IBjWJ_3gDORtJle6STJHVOUIRIE4PMAsT4_rE_", http_request_error; e_fb_configversion="AcKGenpycEwLuL3dDOgwNfLBkuVpgs8OFzpCjPbMDnk7Y7OAQmo2msGBm-26_A"; e_clientaddr="AcJZnTZTCkajD5-0CawrfdYvKkyf-bwJK0o7Hd2Om2QytY_fPFwcYBHXZ_WjvGyWewr2hCAw5v_wP8EPtA"; e_fb_vipport="AcIYwi01oyBwRL3C6-yl6cEA85udbgq9zJCgdgK8iDsKGbmYIX6aYpVRLOaD"; e_upip="AcIgI35B0ltj3xoKvjgeM81700dt2FUeFbV3HD83NhHYyMNGIfQwZQphXO-_iyyC_awesZf10Pd2J5JP26p_i-ZDPHOR2BCqRw"; e_fb_requestsequencenumber="AcL5dQ5KDnAZd8nwCnE3E00V-kzZaJ301LhVMiHsLWV7Un-YPxLcnBbqWA"; e_fb_hostheader="AcJGXhecLNQLjDIBPmWtMRicfD-aHio56Q6nQRCXgQesX080M-A4qOaKiGDuu-fl6N_Lp9P1GM8c0Z5s"; e_fb_vipaddr="AcIpzTTFkD1uLczUpi7_xLDb_dyrKONTHlrXncSRoa8a9MTvS3KkJK52Re32-wbO532jT4VQCQ"; e_fb_requesthandler="AcIs1Fa6Wcx3uvdUYiRYID6KOqnFkJ4NVq9Y1bJn7cySq3tgDYmdZcqLJo4eP8duLrXLuM2GI44"; e_fb_requesttime="AcKBagJqqSj9V7hb8T376Td-cXPjdX9-elP77t3GhovjSlQCZej4TAvCa5lrxKVpogeKGfCP5g"; e_fb_builduser="AcIvG117snYdJapb0t0Es8SL3xaOI9gEHOpqAYqd3ucPHlNhgwGzkzWmVHBKF7ySNnQ"; e_fb_httpversion="AcKFugbUJEaRnCzsQ5i9QHvC490LqoauSiWEvBlnkW4nfQcK2nFz6lUxla6Z"; e_fb_binaryversion="AcKH1OKcxL99aRRWFQYKo6y2yxm7QELq9M9uhWwDDd2JgVajaCUrIXB6hRz_NgoSqm9YkdCOJ15JuL7qo4LeIuw8DQvxK7_OA8I"; e_proxy="AcJNcLNO0l6F4rTEJg36zTT9wbLF2X78DrmLzZ3XYJ5bZxJ1NKJSiYXVn0PgGWDk4yWLny1szItVNnc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=1597, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25054022817578103"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:52:50: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7187857884636753?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10657823, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7187857884636753?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7187857884636753?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7187857884636753?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7187857884636753?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcMLP5Re053vnQCAqIZiXrc', 'x-fb-trace-id': 'Gp8ASFdPLfk', 'x-fb-rev': '1011962582', 'x-fb-debug': 'QaXg50hxBlfS5RHW8ePNfNnfwq/bE3LRbHWisTo6IkltciocwzmPrczy1KlL9h3ut97ZXLcSoaLzLcSS6tbp9A==', date: 'Mon, 11 Mar 2024 11:52:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJIRF5a5sqD7iU-SnXf1DdPQdjc-21MFtQ0TXl8HgnpfeAaHB0c9leodXb5GQ"; e_clientaddr="AcIy8zoHmRyx0RDj3y-cCXF13r4WsKWkMWgkU0h27_66MTWSbO9JHH5OPgUDv0_7QZi4iNxD60Ir7Ud7KwHV1OyFWExX4-mJmfFyaYXUj9pWRtwm5g"; e_fb_vipport="AcIx78BtuDjCrTcyU9KlaU7pFNp_3dzl5kK3uOMuHiKCU7KUogZbccLts-qm"; e_upip="AcLdQ5ESglUEJaKoRz1MfpNmYwwC2ljJ6SRNP7S5hpwql1AzO_LOWuJXWJ2IfEm2LW43uSSRUsA7wAlX0pcifsCylKsu-rAhug"; e_fb_requestsequencenumber="AcL16WHlaNYreQuEqPWlhJuo4BjlOa1clTx63k2CAJzPfEEbD7Uyvf-se5nopA"; e_fb_hostheader="AcLNnn_tgAPlE-_uCbyKOqnH7CvrelgnylX7jdZjbG64x8v8om96s9bR0UpfuDXFOAenAaPCcSQjytBR"; e_fb_vipaddr="AcJAq1Vc4FQ43eWUVnDsLXpYPUeFqrRJyjes1g14ucmpTmOVY7Toz9NUKN2JPJi9pYRjE-i-lRhhVEpcZOTpJvwHctD8kACVsg"; e_fb_requesthandler="AcIpZVf8NWTdQCFjee2ERcIBzo8mYDxBM3S56SL9YhoI1CwP3jCpBs4fDkNxRO7JX6oTZizWbMc"; e_fb_requesttime="AcLQmVeNaYySOfORLq2iEPx5AC8FSLxG1OhLrEbqV7e5iMPCLZl0303iEXkROlTcj88R6HnfWw"; e_fb_builduser="AcK8_gPuD-B5jDEMJ8JohXajUkdMzUGBlSTMJViWLA7AhP5xt9cWA5Nla6SNuPqaQ28"; e_fb_httpversion="AcJjcE3vLBNZstc7wQYTykN6ib8cSjUrkGY7MpaDXqSVdYlm7-xivLwpr7uR"; e_fb_binaryversion="AcI8Ayu4DGIKGGeaHyMQcqRm0EQuGOn9ZSkrqWhl1IOnj8dw-RMmNq6kBOZTjfPyV_SIYk9kZuXbOC6htGuv_vHCzrpoViEi8aA"; e_proxy="AcKGOU834LDICDfM4yXFDIqhRkXDdqFmxmfWsBf-DOX-2d5mMGo-a7o-e4gRNI8IT1M1q8RYJIrcicNSQ8NI", http_request_error; e_fb_configversion="AcKe754j1YBzb7dezct4HEEMc7Iv4X04i2FEsrnBJ_8EjqLnawQJZgwrlBNBiA"; e_clientaddr="AcJG_1o2kOOQhpDc8oJrY37Vczc10MdWA7xg5M96tRA5fG3le1F-07-o3YT99-5FF4xW2BmUXCn-5uZg6w"; e_fb_vipport="AcIBqAtaRta4UDUQdKsloSmQXEwBXxLrzMCWi0YVdcxF6EcNG26rZHEYtUQu"; e_upip="AcLEClCzLnABPbFrwT6EaGAETKm7AYZzwQeb4JK2zxl6xs6NjWr_kT1wvvw6QT3hLV8IBRpzQnQpZ-r4C-3W0Wx-CfnigKyCuw"; e_fb_requestsequencenumber="AcKSdNzCKDeygounyjFaRwOMkz48lHIH0_aJe4PtpY6vNAnrTKiUb0szvg"; e_fb_hostheader="AcIOSMwTtNx_aDdPf_m1x9wGd4_aJnKKBhKjOBI1KXArvnAVkbrkN08FMkYnf86Lme62_ggfaw7U_Cyd"; e_fb_vipaddr="AcKflwTiLTD5UcFIC6Ssajwi9YK97OIXA1fu5vrwlm69VtfE9QuN9poqGxLb_RF7vTGZGBLVQw"; e_fb_requesthandler="AcIuO6kksUZepmYdZuN-Bg2Cn3NSO4J24vCXHShKVA5DKN1B23MRaR5t5wkvCiXKquLW3yEK2ZY"; e_fb_requesttime="AcISG2W0T1MxabJXAgRWimstjRTNxPFQk29_88gV9Fh9A8nrIerAwvYBSsOO-94X7l_u-JSDJw"; e_fb_builduser="AcI4ZiY2ZUyuwZcIAU-Y65MH6KBp_AOUzQ8zynezPJfLh4qinmLgnY3t4Ed1mAbhWDk"; e_fb_httpversion="AcIsuE7bvPnfKTAUF-8iQLiTkQO_Z7tsZruTciLtEUM1YrpgZgolrX-eAzX5"; e_fb_binaryversion="AcLROFnDwmopbtv0kJcmaViM0Y2yCRdjswS-cLf4x8ymaGVRlT0F1mdz-evDwrLRWvWU8HmZrlxwNSS5dtbjPxayaMchPHYGCfM"; e_proxy="AcIiZ0LjCM24XAGijQ1-quecNqbSXsFS5Leqs8Oup3rzUrrRKMuSfBWGtOjKhWwOD6mXwmJv51wHbrc"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=105, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=147, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7187857884636753?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7187857884636753?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7187857884636753?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:52:50: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 11:52:50: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 11:52:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7187857884636753"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10657941, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AV23efrjcQT9DBkDbtjHas9', 'x-fb-trace-id': 'DAoQ3Nv98m/', 'x-fb-rev': '1011962582', 'x-fb-debug': 'IwOYOFQ9Sn0F3cQ8wo2IIYQjPbusoOr/EHLrX5TduQ7u3mUfYYXvrasnRKwIjQ2tlnwIWX1fHQjyRbkdOooI6A==', date: 'Mon, 11 Mar 2024 11:52:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI22S3oySbx7xn-IKEUWxIcQRwACMKc_w83FQi822MO4gq10W64qJxO00VsZA"; e_clientaddr="AcLnTeKeMwS26_RH_kVFcGwSrL0DsPy5HW4xWiy98zmSvTuCMuq4-P_IGhQBlbG4TszhTQEEkksDv3tGVhP7CW2uIDXS6OqhZKITEnz2UEr_jh7VgA"; e_fb_vipport="AcKOEAGBUFpzc5_3mL_GRC5fMarweMjCtrmb1SIU6XJbzIUtPRry1DIJmGCD"; e_upip="AcJo7usEjWrVHn5qUVTuHF9UPh8aRCojLCeZwEwRczwIM3F4-4z-Y1cG3phi5fV6Lny3P3iRVxgq8D6vWlnYuiqrvFXFbliHUgE"; e_fb_requestsequencenumber="AcK-F1KEtZKj7HFblslxC8QnYWLaE63zFsFMhS_6PSgipLbpAh4qv93O1tMe"; e_fb_hostheader="AcLqtJBmkvdARgsPprJj2_TAAZoJY33QJLiu7ee5a_KuBq-oYwqS_6UchBzwXoM3Z0FpJF0GckCzQlHP"; e_fb_vipaddr="AcLfkyNGAM7fgCzxqfB5UPuJ_WhxjnQwzATMLMg2nSn5ZET3w31APT5kmc5EAfdC_Xt6j9H3CJoAnHtuRwqkVj6iZH6pkJVxDA"; e_fb_requesthandler="AcKpHM7vtYybeT21vB-tEEdGs83vl97eL2Xzx3mFp9ub-6rr5AmB9ioaEYEurYvbhW4vY14jlwM"; e_fb_requesttime="AcKGowq_xY4qN46kkwmJjVOa_ZooSG0JszM9l_KsrtRmrJa2XWnsmk_zN41ClhdNqSbIRURiLA"; e_fb_builduser="AcJp_P6834bR1hNq4lhiqtIf5iQbU3N-mooPftFpBlsj6p0AWNOcVTxXO7ay1Ltmg9M"; e_fb_httpversion="AcLhL72nyC8qv07TuvhkiSzGSqQ9evzVXYzI_ARf7ukkWq2rpoAGTn8PngrB"; e_fb_binaryversion="AcIYie-FlCaMHyQV7Fe_c6_2bd2BV7PFaTYkurQf8J9tscvTIZ-4ETdTISCARQgZu1BYe2k9IKXSrs9oGl1LQ1XKB4xgByjZQC4"; e_proxy="AcLgG1tw55yX7cXoOwAbMCTS8oTBb5SfDVCWWnRuVNxA2rHYYlBKClJ22SXGsNxZ1nFN4BEoECCf7S1HymmD", http_request_error; e_fb_configversion="AcLZsHzQIzVYZ6F8o9J2oWEiXp0WMFMPeypnHUzfaDn2EIQGx2N7h_W7y5UjJA"; e_clientaddr="AcJIZmBQ-DKAuPwtMv6vCKGwSdaVmN7wBiHS4dOFmNav2WnJ86QZaP7be3wTx-MSkJm3u0Z-GLh7hx83DA"; e_fb_vipport="AcJZsexxXC4j1sTMXPHbKXIVjq6Kl7sy4jSktyEymoaKNiY7lAMVAdByqytl"; e_upip="AcL49mP4LzwcCTYfqZUOWrioBe5Zm0eyFJ_IhgvqfBC2x-_0h2pPl3Q4Q6W3J6AqG_5q29Xxhr6wvAJtJFMWO6ORfpw694FJ1Q"; e_fb_requestsequencenumber="AcLkJeaOSbMZIPB_laLuj-hM_1Cvb8ECUhcnn-ePCg1TWy0r0XWdK1vl-g"; e_fb_hostheader="AcL6cm4VRalGexc8Ur8ctMb0Srvb_YG24jMVKga1EiaM0HBFBseBtT9ZePzbpbNoJG4ttIwZv-btJ0YT"; e_fb_vipaddr="AcI3RbtqdopdUsNEelpjuaBQnxEaiypfPyYtX6qgaXpFRTN2YTuQBh6O62adw15AAJOt32c0_A"; e_fb_requesthandler="AcLfCDoNmzMJMq-0Q9gAebOXKOk3izzupGq0oCHPCmZgOVLfOQyrvz4tWjYwCYwTVFX5p7ndpcA"; e_fb_requesttime="AcIEAEq8NufR16ZgECP3etF4vKVJaNrXAXwEHD_-yS1gBIiu3X7ekIz0dQkQlZO48vyzUPTUTw"; e_fb_builduser="AcJFzjJAzpF9zfQX_kDa8POziYFHPpwsvgNmvVN7WKbhhQPycg-8ntrubxz4yYJ43e8"; e_fb_httpversion="AcINxXClPXZqoPapsJDEfXm6JEY0K5o6ziI_COjFty9t3sOkLhrmwU-tmPTr"; e_fb_binaryversion="AcIfPjgqR7SQpIZdG7Hmvl5UxAfcRDtz42opv2lgYvd4waNoDAA6B_oiEYXd8OP7eS5Ihm7W6ltliuT2vyIQSfh6GzlpczqJyGk"; e_proxy="AcKYWIf5FwRA4Ej4wQPmdhc11agwsOELyONh-93Y2mt0TFKcMlUJTmAfmCTlxlaGqkuodOcsiYsAgkpq"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=227, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7187857884636753"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:52:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 11:52:52: Error on send one message facebookId => 7187857884636753 03/11/2024 11:52:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AizOkzQjoIgHmctu1x12UON" } } 03/11/2024 11:52:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 11:52:55: Error on send one message facebookId => 7187857884636753 03/11/2024 11:52:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKQosi7SQ3krf1V8uc5iqdE" } } 03/11/2024 11:52:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7187857884636753"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10658028, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiRmJX3ozChZZVTn47xUkNk', 'x-fb-trace-id': 'EOcqyPsgMs9', 'x-fb-rev': '1011962582', 'x-fb-debug': 'FQKrjZZBNYNP49MBImHfDGd8BOs+qMxAihp/PGdBc9pFCdIQd8ruwN3QnqUXfCz2pIxgDlJWI0AHurkgxpb/KA==', date: 'Mon, 11 Mar 2024 11:53:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKYiGMWqnvZHZdih4Ra2p8xC2UHOrIBB4O-rf9SHHhTavRYMOBBw64smp30nQ"; e_clientaddr="AcKX2jTAjYolcXgNGdUZ9hzFWLMN9deWS4skVBHLaZRrVJRCQ2C6bsnPtEhEayyae52P4KIUrRjxIoJ6MMwktiOc5y-6xJmJ6_Fk446rAXRoeYNo1w"; e_fb_vipport="AcJtDpUzUCJQTR_sewPBIe-1MjZNyc0d54DZ6NZgx7d61t1ebBi65K3VmxkJ"; e_upip="AcKoL_PsIK5m-UXuKchScC_hwofGV_STNn5e2Jq5Fe1OoOLmos-s_bMJlMZ26Mdui6rSbu0vSOpbPmBVWpyZ58v3ySK_TDrBIXY"; e_fb_requestsequencenumber="AcIZAMnqfr8qH9GAHJ6ZCrvQaQ7L6VChMwHVLlpRz5z6Rc7ybtIiv7YabDzLyg"; e_fb_hostheader="AcIiSW4U14wAWwA5EGLg8CmpjzU193AjpM2GXcO0qiJesgcUjGRZbJp-oLR6AwIJK__cNekoNJ5qVPNb"; e_fb_vipaddr="AcK1Krn6BbjlzZGTqx1CNcB5-D3UFxPRGkUqJL_aQIG50_FrMVUptfhN04AA2NL2AdBYiBZNjaZGNV7ZeiRV4UHBwhRLnBZ8yA"; e_fb_requesthandler="AcJAkC8JogTqo_Z4X3E4XIMXPfiwdgnUUumOp4T8SBYAp6M8wQwhjjPkhnS1IGMatnOnjPdt2QM"; e_fb_requesttime="AcIa_ufgKurpvf1rXYFlZ5XoenwtHTAEqHZKDI2OqGdBrIFmKV2DZBO4ccFP4M-5wysl4OUY9w"; e_fb_builduser="AcL2UpJlF2WB8_HA0PTT4suzZk62MQuMKo7BBKC_eQ-qXnCW0kdlaDGEkq2BC6sIido"; e_fb_httpversion="AcIJJ8Y05RNYUJLecVgJzcnWNsoiT0Q9lhQ22rDvf6qFYr_FMm6qsTEfcAQW"; e_fb_binaryversion="AcK0CnGLTLpoxvG1Oz1jn6rJ_L-nfizGdxe536nCUyPWdwTDFJUG-x8KGjKHunpd-Bfr5ktDzdtsiVkHnK2N2hjQzW6bcw3gcnA"; e_proxy="AcI09GCnPnO1x7WdE2zILkCd6qkBfgR1VGk6ZLQpDj-QvuNO1UNYIwAcRy3PYFb_rwJbzTV4foQGxboc7WSY", http_request_error; e_fb_configversion="AcIRIcHPJtnwBYXt5yuXXKmNbff0qyggqa4-LSdpwenZ87QKt725YAEjd55q-w"; e_clientaddr="AcJKxnw4wCTd9R-culFJv_7wQgK8I8NSn9A2L9O4ZM_A5e6U1AUAW6yNY9A-delxzs6t3w17BO_itHZYHw"; e_fb_vipport="AcJB4_uTWT12HhwN-TGh4MLWRA-v_BvUFXqYbnKxBiV5Gt8TdjtLH5x34Dlx"; e_upip="AcIBQ4PCMuQyq38g13C0j4VUynPHQzcQc87tuGa3vDJLQt3pQ8U6LtPzP4QBmbc8y_z9NMdJOsrFoo_rKPNTDSy64vZI7dbQXQ"; e_fb_requestsequencenumber="AcJyTA1rjuRnU1RVMjK9NIY_ht5n2JphdB8pHKz7K0cVsfZ9qBOJAKpf9Q"; e_fb_hostheader="AcKyKG2SphvferjEMPxGSsYDd-SbA_ywyFY_doN8DicNHXecPlJNfpxd6hkU6oFHV6dZB9SIKZOkTF9D"; e_fb_vipaddr="AcLmDWp9rAlkBB6-dGyUyNJ8HBcM2Qgziap4biuE9lNUWG5dzXAARNDHlUPJLPRvlllutExZGA"; e_fb_requesthandler="AcKCGwgigEOFrmNrm5dFJhymFecxnCMG_lcauYY6lHzYhsVN1bgoT_PwZ7y5hsTBRoubavMi7jo"; e_fb_requesttime="AcK4n7EjvkeRKuanQDWox8PtaTmQB57zGj8gWpYRBGR5fRpJYvmd_NczRIDknLlzAjn1pXojVw"; e_fb_builduser="AcLuYouTYvk-Tp6CtIVENtUXd4OMsFlBxdGbTZzEQwvfL3x05caEQp-XqbXPCuAQbLs"; e_fb_httpversion="AcLlZgDQjlgiBb1EEvXSujBOlegLi8MaiPHC1C8YkduAxn0Jv4xJSr3LnXGI"; e_fb_binaryversion="AcLFoWQh5N_59IlMIC1EyPoX7EcfxrfuA9Hwsyt_hm3FdLVCwIKEAFK7ws_xo3iR625TtkBd6fOizFWAggROvuouNv18fFs-4wY"; e_proxy="AcLt53gduT3o-_N8_flTVcgRftrvil-lYFEntPEdgFWFCzB107At1bLafbbWu3Fz1xFKPqwfrAW0zxUk"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=112, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7187857884636753"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:52:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 11:52:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 11:52:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7187857884636753"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10658167, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALOOoP4pWqbM5kub07ss4_W', 'x-fb-trace-id': 'DYHrE2MKHM0', 'x-fb-rev': '1011962582', 'x-fb-debug': 'MmBYJGY4Kg+SCkuM5eFTW2amT2uUUUZMK+XaYQxUNOe1ThFR9JTya6jNjyOjk++SG5roll/SbxzqxpNClp5K9Q==', date: 'Mon, 11 Mar 2024 11:53:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKil0s8IAux9Cf6TDizva057ay99Dxs4MdHu-U_WO3gOvWvReK282coc15zKg"; e_clientaddr="AcLHao3wPx-Ab9Sm0de7vBvkT_5JkSeem-bsGQYqc2TKGPcg2rChw_pPMKSXsd_eaHCjba5XZlky5gRRRFTJLPMewejnLLEIDUdK18aeu9t8z8zG7A"; e_fb_vipport="AcL-Y_LO3adVp6MRa7VLl42hhERUuidgzHh7-HdK-DAX84KgXpGoOc6WwiE9"; e_upip="AcJBcZapN0Lg0iiNCDsc00mAsND_rawXXeR6OlE1Dwg_WLsxwJ5EtpIfZCE4FMRWYUuKbn69X37nXdsUSziZfIWZ-w2XKVt1rLc"; e_fb_requestsequencenumber="AcKWW1LepG6m4VV7dGVqxcto4_XV1L3upJS2ZAYvcmNV7LUarGjY1tgq4AUU"; e_fb_hostheader="AcIT7sNdfAQ4M_Ac5P6qfaJj9tDCvDrswhHbjgu7WN1ElEwQQNG1mlgUTZMR8ECslKw__lnbYtgIgxfs"; e_fb_vipaddr="AcJCmSFg3bM_s7gvYimkR0rQhejz5pi7CjAJCmf9L-TXt93wCWo5iOnmuQ4WCl8-TJ2FTDcqgvvrXXz-ny08Rd3OGT7dCD_jAA"; e_fb_requesthandler="AcKOFN1scn0RQRzwNIkbvRxzDspI52Tq7sPce077dlvPYSEJd0zpDvlLnrSgIa-GdAhj57pSNDI"; e_fb_requesttime="AcJ-zyGxYOG1BKwO2oXTHsmJUf8K9AsAu24P_lHWtDYHOB2MVpjkMC8xqPd-mwJjd927YxixLA"; e_fb_builduser="AcIQKD5eA7I8aUAGJkKsEQL-WFxGFTmfyhetZNU38gJ0ib6Y-YUqhzTjjmlWlZhxkyg"; e_fb_httpversion="AcIVAF46PSwMbV6oosiXSLCGHrjd_44xknTvLeRvwNNs95fbiVxTJpyY8-FT"; e_fb_binaryversion="AcK7y6rUrU6tZ3FMaZfpgcVfWwDnR5cok_PBmhNWtGF_W6mAZKmNzUsVQP1Tz3FwVAC8S-DXt-5C_7P341MD0k42Om2_04E6rvc"; e_proxy="AcK9i6OdguaYOE8ElrrSqQ0d18qukv4l6Em8GHDax1esLTm2ZE-XSV0oDt--kLEkBCMoXedLd4IUC9Lw-vUw", http_request_error; e_fb_configversion="AcKsvR_90BhMEPI2APqI3FQZnOA7FClpYEbzhvPRXimi10zRNuzyoYmq0q1Ttw"; e_clientaddr="AcJRSsjgsrEU63X6SvSGa3w1gBU4aC45HeOh0AFF6xFt2CI35vgTGJWlBQJaA1V8fymDm4R_2L51aUBkWQ"; e_fb_vipport="AcI0HQEjR8-wVnqS6v8kRT0ctgJL-9TX_TFRLfTH4igj_XK8uUSyvHdNdtOU"; e_upip="AcIHfFJ4fPSegnK-bYnqnFuUDTco2jRldCYrQBbZslL0BC2chsl4NZPlwUhy3q7JYHdKrcNcdYdA2H7RtQZG3voG62bSdgOK9A"; e_fb_requestsequencenumber="AcJkT6mIun7S4uInKG-TAQO2UQdkOi2WL6Sn7zoc6dMKszaUTQV-VDaXRg"; e_fb_hostheader="AcInAXaBNnlmLvICbeBNWAJ2fuU54NTurIuZDsqvMBMfnnsfquVGE-u-Xgrc_vANo_WiYhCoV2-Hj1E-"; e_fb_vipaddr="AcK8XOZ9Rwr2XR7ZVCYMRSa8Kmh3HhGXGUh-Bu-iH9io9cEK28xz0XOQLWa0IwHWY6jLDe4ngA"; e_fb_requesthandler="AcKsWW_y9V1tB9-mEHsqjGCsBxPRsTVhFcIiScVsnsDchNijbJYImH1N77hFRQaxV1pFld-lu0M"; e_fb_requesttime="AcIWAHm5NpiqNxvLBaeprHUu5fwjEZ5rwFmVGbRnfH09h_6fao-QnutmOlYKUUCiVeQXy572Vg"; e_fb_builduser="AcJUWRpJMTBE6L4Uh2f6LC-UjV-XUVoxD9BEvyfx_lGlSr__JGq6K4eOGdgwPrpCVtQ"; e_fb_httpversion="AcIjxCx3cVnSiBWuHWBaatHcbL9G91rxyxPbrmLwAz4A1FAiNbJwkT5gBvXy"; e_fb_binaryversion="AcLglCtSgMDsFk20GppN3ATU1u-cvaLrgs1bsgfVObaCL3eqCHv2fH_ZFSEcKYYZdS3-cMTCiK68VN2HWK-uFVJeehbGyjjjwi0"; e_proxy="AcKxBEF9-eCukJs4vYxcrFqnBEnqfdK-yVrAu_MYZtSyd6dsuYYN6x8Ue-Z0ylVphb7hYNuaX-vZkY0"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=106, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=100, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7187857884636753"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:58:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 11:58:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10659319, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkR7lkiDXXrcOhhO4IHxu1_', 'x-fb-trace-id': 'HjRNCdGD6F8', 'x-fb-rev': '1011962582', 'x-fb-debug': 'TLCCWHzIpOHknEyAHVavlGhppVMFF6i77zsVO5ch/ITRtNMzi8egYcerqbs6hQeXxyYLJExJKY9ODJvwtiqtuQ==', date: 'Mon, 11 Mar 2024 11:58:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLKRz14Zx1TjCwnIJEDJ-ApkgM9Qn2qXuem9PLDcxzXqWxMefVqB9-F460f4Q"; e_clientaddr="AcKsTWVldBN9XADDnbYU7KMsp7D_sx35WXXa9fdl3_Zo9lFPN1-cZWGKJwQ615OkgG5La4jhlSonkBSrpEdAne9isfu_VfrjJR8P2zxBOS7akF7P"; e_fb_vipport="AcI-ytvWYIgJyAOPW_b4Vikk4ZJuSSZyDrQPrvBn1EAlr4BvCBZW8yZDnJxe"; e_upip="AcLHsBP2QZ7iRp_kS0uOjzG0A4ahzkM7XdQjfPbiRvMLseLPqQFLk9umqZrZdi-C9xIX3Swjprc5hxCbzmtnS3reYvO6fam4Q64"; e_fb_requestsequencenumber="AcI2Rpk_kw4doKLcN0S_RWoiIREMzPU_MILUfjfitW6w2-2gXz8sYGuTkVg_6A"; e_fb_hostheader="AcJG5awmpSjnzDo-gRW6GE6BKTYjtXL6nsumdQBS5OeQKP1ACMrBEJeB3x5_KIvT2rKNQYSJwe_nhwFs"; e_fb_vipaddr="AcLVrZ15HYARzad4y2zI1U0twY8pfTMf17gRXVdOmnY58XN3HeHh-_sN35OO-cR_hWR8cVlti9C58zhow7pQMc9Q9ZlagXMXnw"; e_fb_requesthandler="AcLcAokaUcnFfNVmif7uPETrFtQhq4QSMqpfrMnttmmzb4st9kKjWQCxvsLDW_N4ORRmNhPJ_sg"; e_fb_requesttime="AcIwf2mHLBtk3jm7ivNzHjSXDPRmecWXAoNDZfk5MyFBch5AnVRCSKEUZIGcYal-TwCNo0GoDA"; e_fb_builduser="AcLCCaix1AY_E-f3ElbKssAV6L4Uy21BopjLzK-q9dVSF4mkbOr5DlWhKz-z6lk2X7I"; e_fb_httpversion="AcIbLLE2EnsBKWCkEpUrzNATmimLPkgUFKTn_y0sjNwwpWLqEotok1THIW5J"; e_fb_binaryversion="AcLngKbJFo3-jGgpIgt1gg3fSO-hYi1r_xjLXEPpYXH5iC_vv4CEGRALL--sQh0irI03mDMcPTlPwaTZ31DWkWf_Anqa8AS-A6A"; e_proxy="AcKzThKQn9GKPw4_c_XXoG6197Bapkcmt5Mhcil7tBx47y91VdULqUhQN8YXVDplA9thj66kSEt1dTRVseVS", http_request_error; e_fb_configversion="AcLfoaE0G3BOLhnUB-9TZw9BhQX6MKHTVVw5CMYXlB55ljOkCqhx1z5L2TSfbw"; e_clientaddr="AcKyzbbED7t1yX7uDahBvlPCzqSi_68DHsUSJ09jhEgXCheJsVXClTpnTzqekgtIGRfG6pyljmpqoU67sA"; e_fb_vipport="AcL9SN0uHDH9RPZqD9bVriQq31muT7uRu8-dRl7CC3H5uOzh6rS8bgzqVLEH"; e_upip="AcILLlU9t76EV_a26kkc6RDA8S9h72cKxvcL4VF6x_-IcASAq3KDX-bMPQ6JNsPKefViJJDAc3hICmC6QZzKbV7Kes1dnwyPtQ"; e_fb_requestsequencenumber="AcI_sAwZG0G7uQpzRpLpUm2C-sOV-NUbWbt-Rqv1nfd5BsAk7kaJPkLFnA"; e_fb_hostheader="AcK-0piP5SQDCc6XxEY0STCtYFmNx2BmJLUmr8jfOisTMLIQmtduyO1DFjnGDaZpyBIVnLvk-Zj2dh0X"; e_fb_vipaddr="AcIseGt58ZVcwxhXvOsMPrbFVXwfI13RFwYEo3j7UFXydEe9k9ieSl5MezKsU3qC9DW3tfcmgQ"; e_fb_requesthandler="AcIKR4GQRFGC2z6L2qQ4SUBr6PhdKnTFFRtNMxdbpkYjLTyecX2KWBYz-qLTlNHIyJc4ZkJm6Lk"; e_fb_requesttime="AcI4cB_3WjGJCJ8G1-3tM1Gc1RugICxqA00HHvy4I1t1I8S8-3Us-pKOsCxFrBAoxMVWO2LIKA"; e_fb_builduser="AcI7Gro1ulkN79n2B2UbihpU777Ta2xgiIyLYhK8is3UqNehgq65qMUnTHo-U-vAtdU"; e_fb_httpversion="AcJ7Z_xKnqGcY1V9sHsygy-eeS6LV0jwYRToXh7q3koaJJc7V_M7DD7trWzW"; e_fb_binaryversion="AcK5dkvqZVQQ3suFeRyB057BVrowkPXwk4CN3fiyfS-LLOddPjOkerA5N-gpvzJNTK8SgPOPh7xAzMODej_aZYNCK3r5k-4SXHQ"; e_proxy="AcJcgbCX45k8kYt4mFaNj9CXw5iIF2OcSJGFTxAosIUR7butieoCE8ZKaryfcDDi0u2T1C_Waz5dHgk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3407, tp=-1, tpl=-1, uplat=187, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:58:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 11:58:48: Error on send one message facebookId => 6745520435548069 03/11/2024 11:58:48: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AXH7w2ymguf96a1gA1cBzdo" } } 03/11/2024 11:58:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 11:58:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10659450, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ao9HpdHcd0A5z7-lFMb7Y3Y', 'x-fb-trace-id': 'F0PiK/I3dSy', 'x-fb-rev': '1011962582', 'x-fb-debug': 'HV/ufoYYotYXAj6o5soqmpRSDzA+jvokxI8CCT8tMaPV57zPLiXs5FHN3rM4WxhWb1Cwag8vlyWNfxeg3j/Xew==', date: 'Mon, 11 Mar 2024 11:58:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIZ7WUefp1Th2AR2fSJKwV25qKVEEBo8SlgQN6vUAOd13RbwhVnFGh-woskcA"; e_clientaddr="AcKNbklDuy9EmEwyUgeywEVkZG6FiKlF4w0PDU-oqFKBjxk3TryiP_N2GIO9KJClYV6GLxvV-ey0OenkTj6bS99MgM-Z4FSGZYMSt3Hjo5Gq_7sVEw"; e_fb_vipport="AcL5htDAaX5sTUhg6YqOyGKWJwLEfTJO9GSfuLL-6L4dPtkcMM8IR7cXT0iw"; e_upip="AcIGQwQD6fqq-DXlTrcr0LAUSBdRD-Jey5jYa6lib06Vjkt-9R23YiYyRFACQR3SHM-6149BUtGE9xGHyPJNKrlIcBDvnn5Cb0g"; e_fb_requestsequencenumber="AcIiL_pmW-EMOl8gYriaBirqBebERvUUZ9qmBlhh6CIUlAzb7wXzWntZo9hi"; e_fb_hostheader="AcK2iCZPY9KLvHLAbUgb1Pwx9FNgTQTSi1-AKmKrm4kGeLrAz4-2TNYkZDYtvnjU0qKgmpLGu4xCcLgY"; e_fb_vipaddr="AcKp8LhJVi2BSVv6RnrdSc95jsNhJ46_-SySvAKOSwqiTsuY4viH4H1RQT3Gyww9Jl47f6a4FrK_t3N-QPC-Oka3cL4Eg2nN4g"; e_fb_requesthandler="AcJWQfZvN2CbA9EWOwYCrFA9F-sMZRet30Xy3RQfLk7I59BW-UZq38DLCce9I-8FL1-_xvp7Ois"; e_fb_requesttime="AcJyhrOV0Vo-bFadV31nZEiZcmNNCg6hlJe01aLlVcpu7hj5PkDi27U4rpuB6aK1RumVNXEDaQ"; e_fb_builduser="AcLcUq3OjV_N6ZDQ5Xrg8RHSqrXo3LD8R34WR92M7GJmjK1aTGub24tnkr-az6M-bmo"; e_fb_httpversion="AcKPAJu9LLbVpTLJBrbMB7QpuK3wrTzNsCHRHlRDuG-W-8tLD1RdaIpEHyc_"; e_fb_binaryversion="AcJ3nEvWd410FGUWvsVNXrlm-ySgxmu563tOCeVrsEeNV4l00D5OeC9y3_0ULNWiDx9Rpbb5HRV51bs--TVHEsSkvl5HWbm2-04"; e_proxy="AcIMZGLNFDf2rqF_fNOPn1sr4JbTdZfbuPeWt7m7dal9eASzxpe8eEFwxrV-12QITuEkGX7KpJ0FExRNZqOF", http_request_error; e_fb_configversion="AcLlzH9IVr2X-tk1Ybu3_o5bjBkzsouSVGGapZVDqqn527l8MAixFJPb06XgaA"; e_clientaddr="AcLsH_JuZ4JZQOb1CE9IhVUlzw_elH7CEHOl6_ug5SPpmY5DyJMYIEn62iBqCMfwXdxYbRXu5LPKzUKeaw"; e_fb_vipport="AcIPx8Lq3hwXjgIdVBv1DtHijuCiqEQwNed4GOtPBBSfA_btU2qCkRAyoy7g"; e_upip="AcKIdy8XYa9aNVL3t7dpGah8urzieTuISMgmZh7CmeEidrfmJdwg93ZuWkoO3BeyYFmH_eSG1UtU71SC6piEENyUPz0EcuwUxA"; e_fb_requestsequencenumber="AcK-0oP_RSaFKIpiuI1wOB_6yE0HQML6gwfCzi0MXWz9qsNeRKLWNWg2Pw"; e_fb_hostheader="AcJXqq078N-iixTZb6jIqbeihnyvPahi_8vHoUabn74pK9JktHnR6xQCq61VLpZ_0F0jageoJJn_1AoH"; e_fb_vipaddr="AcLkpo09hIikwgRDdDwE1dHv_OvFUqphkZ5Vxktlb8ulc2Ff3pcdtiOY4mOZHEFz_vPV4Md7xA"; e_fb_requesthandler="AcLiaaIX4tS74Oeny1g94H8MWRiTXLKa6riPP7i6zmuiSL8IvnIlZ-yKaJ7CttVXraj36ZuCB5o"; e_fb_requesttime="AcJ6NIh9nfJxdctBu3hY_aki8yQcu4PCbkdyhXTL9EZzDb0TgvO7UCouTauuecGl881BLTBegQ"; e_fb_builduser="AcJB4vv_cPOTECzQLoEj5Sasq8uv9x-Wxf73k29JHFqDKo5uqGhUEoiKwKnkt7EQAaw"; e_fb_httpversion="AcI9QDsinTQ9SELTldVq_3_KvlaMVZWBc5VGz6KvazCnaRcsQRLG8iGmBLVF"; e_fb_binaryversion="AcILDqnow7HmKXQAgvVxlLcKXq6aEchkunKG4YhP6pcVkr1mMfIMvNWZZ9OLAfJBvVhymjrORXnB6v2CKmZUmV6no-vQMuzfkwQ"; e_proxy="AcKYuL75vIrLzyxplRU-rbmTfckg_5RYVP6tgx8utiXDL7j-a59eWMw-0y6gqmO3oFkNsWzISt1prgk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6745520435548069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 11:59:52: Error on send one message facebookId => 6745520435548069 03/11/2024 11:59:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7wMaAc84JfrXNzeyvtx5hF" } } 03/11/2024 11:59:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 11:59:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 11:59:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 12:00:05: Error on send one message facebookId => 6745520435548069 03/11/2024 12:00:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASAL6fqjCUKDCmGZb5IssOu" } } 03/11/2024 12:00:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 12:00:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 12:00:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 12:34:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 12:34:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 12:34:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10666273, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACH6QB62JS247kxnfSm0Vc9', 'x-fb-trace-id': 'FflpmWVldCb', 'x-fb-rev': '1011962582', 'x-fb-debug': 'Ojpo7wcMpOcA0W/xAATM8GqT81BO17SD2i5yz4o8fnZfgDORx9iRv3lXg7z07u/pQN8wCGrqeIe5wvdUH/5D/g==', date: 'Mon, 11 Mar 2024 12:35:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK8ZReu1wCoPusvjZf8tjaTJooj3aJ5o1116pSCSdNDjeqcGOrSnCp8y3DJEw"; e_clientaddr="AcLDL8zQgbGE0yb9IhPoJ2_bSgV0UUJkVWuca5dT8F7xmnDUYDuIEVnAoc-_gR4wfTFfayKzjgCe2rjvkSXapKpVJCoqaUexxtAP4FK2UQ2dL5jhxA"; e_fb_vipport="AcJHiPKX9iMN1TNX8mCargVP3CFi8hI8IVxNOLuVqDa4z08LmTyaE4EkAEHN"; e_upip="AcJacxCrXywGY2HuFjjD32vkIjeQFkIFyB3Wzo_dXI0VSbXLzfaUDlX4bM46Yerj0RoNULx3qLKDnRFxtqY_7YhDlccnQNq_EA"; e_fb_requestsequencenumber="AcKxfRlp91YI1kYa4xgQzEuHUyCJNh1FsoQCbAjeXcOz12RMPqovW3RBHtW2_g"; e_fb_hostheader="AcJGGbY_-mb9II60KoWeJ0_qgFycrglNnRojivfNTw_Z59qTU2M3e6Mc055OscuMcJ7HW02k88P0yPzt"; e_fb_vipaddr="AcJNwK1YjVa6SCFmSWWaf0xPnF_4JmnbrKxec3V9ty7vOL5rDyeN6hnY6ffRePnT-w353SXhWO9eUPfGbuM3OB_xxjxINWrR_w"; e_fb_requesthandler="AcLg7AczFxGs0Hi6CZ5ZSTDkHy1p1rE2OXT9pEZ160gPOKqyGoaLLkrsT_nhDEvQ-XKi10waHro"; e_fb_requesttime="AcKDDprTNqgCbDj_ul1enQ_BuFZiUzTFiPsZcuPRCaX9uSo6ZXLIhCUTUVCNIjnM2aniEKPXog"; e_fb_builduser="AcJquP5_E5Ph-Ais-IRGm2LopAQF9TTfkE2Kp7-V4wiVCk9Gb8gF1--I7T37TJB0t4Y"; e_fb_httpversion="AcKIp3kuhcSNyJEATBw63mp-N_3JqtX3WzutvycfoQiWo1XgMv2t3FXzpB3A"; e_fb_binaryversion="AcJQTn4hRdQ0fGqv09h1b5pmxXsfpeZqVXC89Np_0BBbzAA8eC_QpTzTbwzTeg-WLykikX28auhZdouvw9F9c8Gr9-j2ETOw0Yw"; e_proxy="AcKIAEN_4HzkzRkTvszc1uRtaGiAYNlWeD7sWK06tccyeiChsA0-1Sid3JzWP-ke9wqdZouiWQFpYcoAs-Ok", http_request_error; e_fb_configversion="AcIbisWGUgdQ-_2yS3CvymJq9uEvVirx1w5mPDU9dxzZSNTNyF7uPV2X9rD6uw"; e_clientaddr="AcJWuJDD93Xhi18sD2AKbUddRhD2Tud91rFo03Zxw9zeVe6oW7dEs4BM51mwnoR8y1DjnBFwQgp0M-hWrg"; e_fb_vipport="AcJJXgL7EYqnGTT4uJvtzaD44ne89sXnkZXIdUrLc6qG78cZ24Tn6zNKX9Ew"; e_upip="AcLOPbdO2oHF0cVzXDLEMiammw4iCUDlEDQY_l54c2EX7r5Z0ZZlQZWLg94W3spbTj7aG3fGEfUIocqJuamf0rLv9c1JtctwJA"; e_fb_requestsequencenumber="AcIhQC_n8AAiqiEJcbLiciCHc_FM43Sq1ToXvYeRtMCyzh7oNjhi0rxGOg"; e_fb_hostheader="AcLrd1EODt066yDBRJPdtgLSqRPzAksFcW9oe41t0UF5qX8fgi6D7AUSRR1dROYeWEO72Zf1KTPdBevN"; e_fb_vipaddr="AcIr87Ek3ubFbPyQJr9w3qatzjtNA2nuO6r5izfTrQETgkTkfYe5MEtwTj7ok-rrRjThAsULZA"; e_fb_requesthandler="AcKML6Gt8uajtiFzoUVpjcq-jjZ8nyxcq_v996VMsy92QBjyjAnYMb7JL_qXx75Go9iO4aHKnHQ"; e_fb_requesttime="AcI8xsNXGFpkuQgEoXAAN9ZUa1lwjX23PDuEvxgM2euSvjdF5Lvsy8jRqH9ha3fGj085iYmOOA"; e_fb_builduser="AcJgoZZRhVQpQ4ctUaEuSXdZQdMwovPo4pqOrmUq9iwWRleVINtEUAfGh6xfkDnzB34"; e_fb_httpversion="AcL-bw-LDc6Qv0HgMYniQDxHqbyQjImbqXkivrOJgukmQZRiWrU-c2uwtjVN"; e_fb_binaryversion="AcLQLHAekuXZE_clUI-Wt5TlVrtFEZngylyvtGMKiDGaEd9ScJUNZzZqZ15h29jrWNWwCkj6TIt0GbRIvwz4QTEXqd535sEFbvI"; e_proxy="AcI345BDMkjhslFv_yafYuVOC2IdG3QA5HGK5eMlnxNH_PZZmuQqAJ1CsrHUmfEuD8PtNI0budj3oxw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=184, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 12:34:55: Error on send one message facebookId => 24826738073640659 03/11/2024 12:34:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKcGjbeTOg6loAVV8Rgq4Aa" } } 03/11/2024 12:34:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 12:34:57: Error on send one message facebookId => 24826738073640659 03/11/2024 12:34:57: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AEzA_6HBHDYITCoSkVI1m3k" } } 03/11/2024 12:34:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 12:34:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10666441, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADVWYtVlf6vxS4bqR4FYPT9', 'x-fb-trace-id': 'DvZHxmlV6dZ', 'x-fb-rev': '1011962582', 'x-fb-debug': 'BDMzvj+HnbHDkHsc8sx7B5qKF3I5HefYRrO7rOApnhHcau9KWVI89SB1LvWjgsxXDJZLanU/Ty8Q9kBWNoTWBQ==', date: 'Mon, 11 Mar 2024 12:35:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKL1LiCEE69c_1QwPi-G1eQXsKsrWdEXRTjlkOSvuMRmfBf3VTnvcjWuWA5fA"; e_clientaddr="AcJzmD-MLTTKpAov8KcmpCEu3dG34byzVvRDzFaLJ1tnleqX05F3ItP1LzqsWigwrC2mHqsm0gDX0OsSgZuvSIpYZn1fe9-CpUpd2NthHmpkV38OPg"; e_fb_vipport="AcIxX-UR-ELrxEU4co9B8F6ytcStw4BBp2zhudPqHbG9SWH7PtIE1mVsYr2P"; e_upip="AcIWNe-VyqultSvhIK5SP9uM-V73PlryQ3wcrQ-8NStSMbfylNzy-29UwiA6kTOdN9OEDTeoRI_6kNfQs3rwXb0hbKNHum9lQA"; e_fb_requestsequencenumber="AcKg3ZUKYvrF-CEp6dHTaaTJBQbozffGMimTvkfIZ4gqlmyciIS25OENi8mMwQ"; e_fb_hostheader="AcKkrDhZTjfg4Yrff2TO-zdQAnK-NBiOhJgPZXknLdA889WOu0ExPb4Z-jRcNkMCvVGvP8aK6o2iphHN"; e_fb_vipaddr="AcJz0ocnY4YqzKpsB5gC3LSNmcDTGPS0Nm_eHELjJunq9QuJaeknyplpDcl5mb4EGd5MKbpwcWl0rgebbIHVRYhQaWNriBQmZQ"; e_fb_requesthandler="AcLlrrO1Bss0mqSMUjXgKyUVfDAT1ksgWOizr0nKnT236zMF0_qnGo8uZ6pPI-lhX9pqTjJ2Ag8"; e_fb_requesttime="AcKSRB0juRoFAclO96siHfeJOx8KbxUP4-vQ1OeF9QCNraT5beF1h600axYmXu0WteXLxDmI4w"; e_fb_builduser="AcJeCjE1yqtDwIrGmw6HJf8MRyWP2smHvqlRbKmadnnk6KvNsS1yuelmE5NY_j4-1cU"; e_fb_httpversion="AcKky3F8ep6edJZvTbg1qx7XD34aV_bINuZVI1aWufmIr4PtQJ81O4u2rcai"; e_fb_binaryversion="AcI05ajzdnYCEoLM3eW1_u-ahArdWsGE4xQPAGallSrfe_CrbdjOye-RcIEOptDwZsIkj-hFzEt4K9ZOzZUyretfE_Hy4GHZHQI"; e_proxy="AcItMyioyenZ-BTDhNTWpptWK4biHUgT6nA_ZyPNBHl_OAsCWCU9aIyAwk8f3KXm7Q4srABge5QZFnsMJWHi", http_request_error; e_fb_configversion="AcIkofcIShqW8OBEHlZrmok8owAoK4G0SN1kdLtVdQvF-z85u6-tAWdmfqLlgA"; e_clientaddr="AcLsM2uJjD1xhP3vItLyPVuk_sAJK3dlSi2O_yM7-m-15q_20F1M80ajpxibKbgsG38VKa-oZQHYSwpQDQ"; e_fb_vipport="AcJBlGG52BqxVrz9mXGM0xcjVXvGaMqfsBObZ21A7yUtzKZWcmOjtgpIisVt"; e_upip="AcKWP1PfhJMmXSHvO7GqnTEWo1dDiReX8GAWGvxNE8Aw67v5BuRT18GlpRdecg_HNXxQzLIuOCnstgd33RECgjZtDrWEAy8vpQ"; e_fb_requestsequencenumber="AcIyxBhjV9SqeA_10BNeuAwgaiSNW2JNVhOGMMX4Pz909dMZxR2FKUlomw"; e_fb_hostheader="AcL_flthgSSyGn6gFib77tJHiaUiAMsM9xni2Fua0KhqW7XK6J5HX8-rkMlIs4Hml4ci-7ya-nHqm8Tt"; e_fb_vipaddr="AcJdCmEBx-4bq5bUKiD08Q53kTdkSSc_yEisG4amKfVEqOP6ccXL-qEikdAc1i3cm7jLde7olQ"; e_fb_requesthandler="AcKDMC9Sdmzy418FxjUinluZc2OyaXkz6wQ32y_nHPiLHRRCUH8sE-Yjf95P_dPvUfWTXJl-EEc"; e_fb_requesttime="AcK-ib3eJ70A3QwEs3YU5FEsrIpaUu0mZEuRo96q6n4k77RJaLuh_sk4jsZplGGUB6U_FKXVdw"; e_fb_builduser="AcIobnIFeJLIYodt09VqP_gtbbKB53ountbl1_IumVq0XnQ8CKesvR7Mmkq2bjaTUKg"; e_fb_httpversion="AcJrEoYvMdsKzBqbscoWGEGGPaxgfpWVcX-1Qw5Eb3pw3OXgeMbKAW8eXJfq"; e_fb_binaryversion="AcIkPIdoI_zeMmD3yMruM_HXBWddiKEhSpSTRgLHIBvNmAo2jkcg1bJjzrpWcrAeUWRlIX3JYL_2a-4d8hnoX470e4VN441t4ks"; e_proxy="AcKAEVdh4biy9vucKj8LP_3DAUjCYp4LXF4YnVmxgPclJeEXNaPtjAZJ-KcPYQveXyT6P2IYRX9H9FE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=184, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24826738073640659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 12:35:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 12:35:04: Error on send one message facebookId => 24826738073640659 03/11/2024 12:35:04: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Am1c-r7kpvbFpukuuoV5gFI" } } 03/11/2024 12:35:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 12:35:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 12:35:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 13:04:59: Error on send one message facebookId => 6745520435548069 03/11/2024 13:04:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AocCVbXn3-zdB7LmFshjqOH" } } 03/11/2024 13:04:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 13:04:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 13:04:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:21:00: Error on send one message facebookId => 7581386711882638 03/11/2024 14:21:00: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AaFUmbw3GjK6rRBT9fyiAk6" } } 03/11/2024 14:21:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:21:16: Error on send one message facebookId => 7581386711882638 03/11/2024 14:21:16: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AG6JvecYHq4cb2UXs5f1rlp" } } 03/11/2024 14:21:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:21:25: Error on send one message facebookId => 7581386711882638 03/11/2024 14:21:25: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A-mriC8YaitO8E3mKhN_pEQ" } } 03/11/2024 14:21:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:21:40: Error on send one message facebookId => 7581386711882638 03/11/2024 14:21:40: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AS_ebLDZKEzMSH9idFRH9sq" } } 03/11/2024 14:21:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:21:55: Error on send one message facebookId => 7581386711882638 03/11/2024 14:21:55: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AyvE9dO0qdKLpwUpzPo3vPi" } } 03/11/2024 14:21:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:21:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:22:07: Error on send one message facebookId => 7581386711882638 03/11/2024 14:22:07: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AG4IZjEPXTFifJcg3QeYukb" } } 03/11/2024 14:22:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:22:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:22:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:22:42: Error on send one message facebookId => 7581386711882638 03/11/2024 14:22:42: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Am-rf6_fYKFA881BVzfNYDq" } } 03/11/2024 14:22:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:22:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:22:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:24:18: Error on send one message facebookId => 7581386711882638 03/11/2024 14:24:18: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Aqhz13p5Moxdsym95uEpXQW" } } 03/11/2024 14:24:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:24:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:24:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 14:24:24: Error on send one message facebookId => 7581386711882638 03/11/2024 14:24:24: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AeXcMFAFuMh74HlUbU9ln1J" } } 03/11/2024 14:24:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:24:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 14:24:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 16:43:28: Request bot not found: { id: '917983134950234' } 03/11/2024 18:20:42: Request bot not found: { id: '133788230054854' } 03/11/2024 18:25:17: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7420212861371559?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10728821, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7420212861371559?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7420212861371559?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7420212861371559?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7420212861371559?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aph3B83xQnUVDZrbBQOQ1Nz', 'x-fb-trace-id': 'Bultp2GQept', 'x-fb-rev': '1011962582', 'x-fb-debug': 'G/O58avopDP7ooDwgR1cO+wiiXkBJpZ3VqDCAifMiUSlYy8vhp3MKnfnjcJgfIx25WRbMLsq3ENh297Ep4xggg==', date: 'Mon, 11 Mar 2024 18:25:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLhFWFFuzXMsv832w8i35ZzR5rnCXmwtNOyv1nwHnRf2Zk_6d0osvlTRvtyxA"; e_clientaddr="AcJ1m5GC3Pnt8b52XWgLwbVPGWK7dpqqy0XMhcy9TT5bUL-bxqlOSIJmy86JPyMJsFd_DrrB2Dt7wg3zqt5OSiJCUMN8c5rL2hR17OFsMLFzPCUxfw"; e_fb_vipport="AcLlyX4nwl477nSchgjuG9LCl-YW9hkue3LWWhJ-gvIuxY07Dfp4ORYbnNuL"; e_upip="AcLTTy_3Ak1dGlP6cRJL4jT_hQVDF_pPskxfWMbxr_NEaLRaATc2nE1uJCYYFFZnkwCNj4eAwyD3AZm4Udx8R8aU7YmkKO4OEbo"; e_fb_requestsequencenumber="AcJRJwmCdevkpUJS95z11v52W4nms-QS7XJzEEy4vXu9UvaNuq_u3uuUC18d"; e_fb_hostheader="AcKbs8r5drKq3MjqdQghVM7ohzAlQqsl0jQrlmjdqg7rSovfG3bmqrl88VtbS9dIxoVC1oXW53KPX5ZG"; e_fb_vipaddr="AcL4Ts_6CPseLoEHul9JkSOzE1dFrsbssg9Zn7oJSnwbc_vOAoRFe1EBaipXsXIKxftWdKTmVkytNH1I7sWSLz2v_KpccCk6mA"; e_fb_requesthandler="AcKByFP4ad1ZVtVl-z2AUhunoHfj46KGvJ70-25HTzGvhVY_i9Kd-gGIVzHfy5V0CgVnsvCAGX4"; e_fb_requesttime="AcLOqtDV3km9bU6jbL7WsIak0Dzfkm8lvqk9uX3OpX1GS2pcyI6fl--FNHFjM04usHoyalLFMQ"; e_fb_builduser="AcJ6kFLkWzHb0LBf7M-oZwGD9kFvLe5OrF4R88oLQ7EYJ4IV3X-_hCQvHQMfJsAZRJQ"; e_fb_httpversion="AcLHkkjNZ0IVpt9W0eTp2UHlHeemvWwsNxgRBPIJZUWlFbjASlNr797FUiSb"; e_fb_binaryversion="AcKyBMIFdAAbG_oQFWJTpa7j3BEgwpmcQtHEmO4-jurJ9FOcak90Tu9SACI8FYCb1uwxvd5BBrAxQvdsviPHTPbcPDiGr4SkNEQ"; e_proxy="AcI1e9iqUCC9kWnxU0Z5pqyqYG6yTuEOybBaGWOhjMI-GRJOWkx1pUY_F44ZikHeS3H65NTgmSawsniC1lMv", http_request_error; e_fb_configversion="AcKnz4fit4L1_kEOrhxHuq6s8gptmmlCDNSqbATA2qQ7iU53QNDokjcdQ2h_-Q"; e_clientaddr="AcImCynqjGXwcPvuk2r_YUaWCqZzHtJkGGfJM8bd-j-HgoHLIyWyD6vzmDMIoneHWV0jmdvKHvfOoaF5Eg"; e_fb_vipport="AcK9c2NtqjuaXwg0lIKbPveR4QIQGnHQkhFblEMg2GvP-yS1iBEuOTyqNC8L"; e_upip="AcL7tv6ZXrGKgWhxN65gynlGxfiYWoxoWZUcROl6mZT8XbfdQwWiEn400mhOojZgXddMKMukQb1m3VQO5bI2PFQDH6qZV04M9Q"; e_fb_requestsequencenumber="AcJu5Qcx0_Afx-3ZMXX7PTTKx2qkYuhPFEldnzeqn9bb-9rEwEMrkl6CTg"; e_fb_hostheader="AcJY9NTLhghO5bnBrBuGSgdMy7zeZoJXeKF7u2SKuIEJav7pHkwuCG8mskxzY4FPS5HY_3UuHZ8Jsz9x"; e_fb_vipaddr="AcKbELxW36qcbq8szPWibZsMTya8QTeI_2wt1KqnbGCiF_tBP05LwfgZEdh9U72M3I7-oVsjqQ"; e_fb_requesthandler="AcJc00TY1X__WOmnnW9ya6m9syS7zjsX8KrFpY5bRQ2Fw1aw62pmlAU6kAhTJ_ig9xlUdsvaIrA"; e_fb_requesttime="AcKq-X2AM3UalBAhbyjEEGsZhihcdhrUSCZztMVI0CnaXRlySy6QDqLgxTcEBF8qbHTyyoLG3A"; e_fb_builduser="AcJHOG1DBQRyT05xslHOResteWY4ZQlyi971oH2ZJUY5YAIMRVS-q5XmII_7M4cAZys"; e_fb_httpversion="AcI0-TexGFCkdfl3oWfIQVAlUwk5Mcr0IXBxVGrLe2MRvvM9iYG6abXgNwG4"; e_fb_binaryversion="AcIHG3OnnYlBdFgxqotwRAEsdl_0QFnkR6jI0fhWLVlqKzOOSEyl-3fe7Nc9QvFCKdBM4s08GnhjFjDoxZefqRq-wIrWM6bcl4k"; e_proxy="AcL8B89ujeA-TuK43RfGSJAowhcKX7C9lY200cf_0wQg2QDVvJFsJB_OROLjEwHusrmLUNmDW9lwllI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=341, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7420212861371559?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7420212861371559?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7420212861371559?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 18:25:17: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 18:25:17: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/11/2024 18:25:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7420212861371559"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10728939, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjGFcDS-Q39knN4TXHwRaZu', 'x-fb-trace-id': 'GnLP8TcvqWF', 'x-fb-rev': '1011962582', 'x-fb-debug': '35MEFnNO7bQcTczizJFvzRhohAL5GKdWUFmmpzf4aEsu6wvD0j7VQsz6ApthHhTzMFLXdQE0wImRvVeBPppEDg==', date: 'Mon, 11 Mar 2024 18:25:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIbL4VvILj7BOBv8wdnbSC6wIrUlSCboHQSM2e0DS1XDnhzhW7G0lLG-wXL3A"; e_clientaddr="AcLi9slHt_G32JHW-dB_tEZ-RahlaGfBy99-NZ0ocjllGRvrryqXuNe7VSxqdbK4MvRerlkW-AWh3CjXcExnp_7_8AykpnQdkoao_Wlnj-SfeoKW3g"; e_fb_vipport="AcLcURYq8nfofF3r2dIbuGCrQjwDUyKBu0M0NJw1tjFzoCOfdDUUnvdk2YVp"; e_upip="AcJkYYxWEUUUpTqiD2_HM8o6ZwpGBev6CqR3A0Csd2_ZNuMBkCupdJ4S7aim2NBbeaLtGCHAeD_av3iyF361DOLKYsCx77v3TYo"; e_fb_requestsequencenumber="AcIck3D5sB02SpSN95v9p4IABmE-c1pv-W6xkuHtxYkri4qH5oSkC2VibTVFtA"; e_fb_hostheader="AcIvjTl-0SAUpe3zrttNPYlorgfsnqzALYb46sV39HrVOX8WXogP3KGapz8wtFy4Tc-QmGVm1PkS8SC0"; e_fb_vipaddr="AcKNHZO-47AtbQ5uzb-OqdN3-KcGN8rOfepzD62oef0Ovcd9c_hluE9EAedkY3a8PdZVUILMARGC8AmWM1aepcq9gohCE5BIqg"; e_fb_requesthandler="AcLa-IaQJ6cX3i6n9N1XqtYzFCvFiLBMuHKBD31W88kPE8sAHniJxiTJp4N92LIOWjmOMhaMIJY"; e_fb_requesttime="AcKYa_Ia55QwwV3wP3LB7wh_oBfqcLEiiORK5oHAMHClYQ8vm45ilwNFQ3RUvvNVz7ds4l2xYw"; e_fb_builduser="AcJxaAMOdVGT_uw4fQ4mICSVJzQ3ylIlcySxymibBddKivXfq0h0Phx06jX-TRoBv5U"; e_fb_httpversion="AcKEzRr3s6z610EFT97PTeQ8bGbXZZ8lMV4hm9C9GUSniPQqkjQVlL2ejoHE"; e_fb_binaryversion="AcJeY63EQoQkYmpypRSJSX2R2z2h14OIfFAxnPOccE0UIcnqVvjXiWtNPaZmWRkkFkswb0bnhoHEVYb2ifvR3QBPedGHKJqo-vI"; e_proxy="AcJvEtCyss0JcRE5OVz3kgJVNv_mv2su9FVaFArbrOkrp1aExOcAezbgLzl0BV_uio3NnNnhbgMwNW5d7m4-", http_request_error; e_fb_configversion="AcKC1HAv9lnOMTHG2_tpUprdQlO4bbMfLh0I0Mx9wFV7EuM7k5tqF666buo6Fw"; e_clientaddr="AcL1CtkF8YU1iQb9OG-qkyGazuV1_rh2xf6eHv9ujp2kOIVqihwYL-fde1bbLruBNESWaPENcfusr7v6iw"; e_fb_vipport="AcKJdDHjmfODNAXetoCUU8clyIAnA5fWWbPFlTBsTxePMOTmgv2k7Ak0pwz7"; e_upip="AcKNjmYPmAnd7Ugou6m9bPOvjKJrPEqCbzoYv4cz6IqbPX_XZiMz_GxzYUPB2aJFHz5kQUkbjnCOjDLGP71O6Ont3BKZa_6fkg"; e_fb_requestsequencenumber="AcLHgr1iLSbvypjrlJS442l2yx7tKqqBVKu01VcXTJR3iKJ8tfivLDDBFg"; e_fb_hostheader="AcIuex1xyL5RnXPPruyse6mDw_-T7Ix-aGpN0Y6KtscPwZeHg3oQHj1ue5k8AGHXJZHfDT73VR-g7AhD"; e_fb_vipaddr="AcLorfM3GYBaQLVDzCbLzVVC7cs8D4F4zl0J1xZ2C_Jejq-3BJD1oB2i4Qlz_suG9iEy9avd3A"; e_fb_requesthandler="AcJ83j2YhQHUONUEIFQ2P6e30SZ6FWr8cXl54m31CbvHFAmCw6TAQ7c6p2EoacqO1nh-ZbQzrng"; e_fb_requesttime="AcLQC0Vl4r4Z3eHM5fLmlHsFfgvpEmFlcJ5qRcQhxTYrkXMOz6I5ZKICkRaK079Kk6c26-TjvA"; e_fb_builduser="AcImP_fu7uow6uCqt_6Nb6PqWP0fDN0aKUQpbhCxCCP3U9OtOpWof8oRrqpWcO7AEyE"; e_fb_httpversion="AcImRdT5lO6tZPvwILopEOLapJhVW-if41kc421kEoDFQVl93jVVYp_7DVaq"; e_fb_binaryversion="AcJVVPEI77LGHI_TZBissWW2qIai-Wu_VyojdMrgA8mKqRNDOU-xAsP3UJLFaCufzQu7BO2dtFtYh_zlL6GoM0CdeKhf0IPKQFE"; e_proxy="AcJdRt0xBgvHmFe9dBryyVBUSlPTVchU3cxmztH4iLOrWEo-tZqRvWjQWk-XBgjfsT-BsFPnhNo3ZUo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7420212861371559"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 18:25:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 18:25:20: Error on send one message facebookId => 7420212861371559 03/11/2024 18:25:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A9dKLQJbyNMgABVhdFNBVgV" } } 03/11/2024 18:25:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 18:25:22: Error on send one message facebookId => 7420212861371559 03/11/2024 18:25:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1Ruc5tvZ1h-qakZOkxkOiw" } } 03/11/2024 18:25:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/11/2024 18:25:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 18:25:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7420212861371559"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10729027, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkF6ApOc4hv_Ji-fmsL2NEZ', 'x-fb-trace-id': 'B9um0s/k8DY', 'x-fb-rev': '1011962582', 'x-fb-debug': 'az7cSK973Ufmpkf2hjqMxe7RSckkIBQJHBokDrQc1IQOoTDuyIPRHtpcZPC3zX5+TK4pnOU9vb86Ar8m4mmVvw==', date: 'Mon, 11 Mar 2024 18:25:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKthybEZiuZ1yj2PmQuraFx1n0vCKHWWc69kz8imSxWWAz7RC3Jxme3XGRwPQ"; e_clientaddr="AcLQrfEs89z1wDEsMIMd4jpj3se37BgIjztD4TBmpumInDG5NE4LuXI-I8TYrXLdR61uKvUNIC_Y2JFkLIH3cX1B_xpCIhr0ENTapKEEfoa48xdeuQ"; e_fb_vipport="AcJqdHFq6KVbehgwk1bGplCmOaHAzeg1xtzmOyTxFf2C_F_oN4BMUwhG7Uen"; e_upip="AcLDOzVleh9vx5E9S-xkL9WDm-MgupTQvn5441x0yQTAtcoxluc5HDWNk-UbvtjsQUgAD_paBH5ty3DDFmvbpK8AC1_QJFCyn5Y"; e_fb_requestsequencenumber="AcJwXli_5C2bzRv4ObD7S7QmxQnMQzp9lLhlcJ-A8MsRxnz4An4GfFQtlILG"; e_fb_hostheader="AcLM5cOqKndXP3-8gY33KuuWXdYBc2y7FHwAtWsPly_IRJEPpHYK0eEN-BVvtIxicsGgh74Ik8XoMI_F"; e_fb_vipaddr="AcJssO4y-byJf1MjO5aqeF8xhAPXkY9pRnUrBXkAhw9em5fT3uiYg3kbrTepO4tNeYzdiYSDYhukiwVSERcsIH1OaB3YwNcHDw"; e_fb_requesthandler="AcJsF6KV-LDSVUstzWWejSuKxaWPKMx1mflh9dTwxVv0SRuV4dW-x4fwyVDnTeEVzJajG4aumYs"; e_fb_requesttime="AcJ__oS257IJxB0M-WNN3DIZ4wOd3GpCdy3UzlicrX6eftRX1CzF7Wvttq9r8_TEgq5dDR1Owg"; e_fb_builduser="AcI7MV8ysmod7IpxFVOrhjhh8k282VpGfcG2qSGsrohEOcnv2SqMFu_s13FmewpfV18"; e_fb_httpversion="AcLsONhMSlPCPUwgRjL6e7xJCeNvVLs5VaFhPOSEN5aOxA-n-v5EP2luWXGf"; e_fb_binaryversion="AcJ2v_XmqTf-AsNV_3-sBAtnlPzqU3jB4wSUAsj7ptYh_1Sl05l5QwSYtUROU-rxMDQPeeuABZiqXbj4RauinsvFVaq7HeH_YYI"; e_proxy="AcK7W6nmbG6nA8Bq1vYadCHftUOXcSoPo7MlnHx2oc8vAhEpGZSpwDeL5cTrDtQtRXhO8-lffukXBZvR8_nt", http_request_error; e_fb_configversion="AcIPrBwjGtc9feTQ8qjybKLr_OPRFs5D6c5gB2yoI9uPTgBNnw-OZzX_o-UaDw"; e_clientaddr="AcJjhSpMMuUOM_hJb4wL5nm650qcen9Yr3K1JhqQqzWQYzMHgwoU1yqETNo4NIhH7UOS0HRNRlS4JsaCjQ"; e_fb_vipport="AcKDxhOoHqbn27iXbzQ5K2vS2V_bhu0mlxyLKIY4GNgM-JhPiIzIU0M7rJId"; e_upip="AcIoKijWytuAACZdOOqu3-2H7E6jt54GeJO301dRvYg6n2osCLRnwfjQmisRpgqE0gssCZrfoKR_g1JiK_TSHtDN7l6GRQZVZQ"; e_fb_requestsequencenumber="AcI922oVqqKfcVfbO-vRXN5GS_oF1Rr7g8Yc2_mTo4I9Nh1HaPKdNYv_jQ"; e_fb_hostheader="AcIp9gn0rWaxKggQlui5uVSCLTv_FG6wXwIOpuqEWz-RJX-KJouU5TdltlDJ3adK-B1D8OXtLhtMMTZf"; e_fb_vipaddr="AcLkFGIHH-_x8zT-YbNgr-W3ALLaPW-Tz7vAWfZ_eui8BxMJYRmgYed1xBUvDv1m6paHtegpAA"; e_fb_requesthandler="AcIfmKvzh3mV52WI0Uxu9Nf_sLD0GrnuKcd4vn2gBxVFt9LFsKbwA-aOhT-jmUDBWpvd8B3LzZI"; e_fb_requesttime="AcKd4x4V13WSrHYNPQ6oKuriQVFT1tOg1_PDLF9T5-DNwz-Sj7I2-IUSdyOEDFO7UWacXNcDtA"; e_fb_builduser="AcJND15Lw1jo_EqevJht39DL_bUN88FFMD-fZOBz2On5g1_BN_Av2oTkxpAliymC00Y"; e_fb_httpversion="AcJYX9tIwHmBMrmu0FqggiVwJ4ovbM2xLRzck2Cusc5OelZKy1xrdsW5rg7X"; e_fb_binaryversion="AcKWfdVHkwjIeIrD45G4HKJ0ajoU_GXWZKktlfe22y8_CTjVVe7gyFzbsz6PydRmN26L6RttnqVnpsx7poiJX56xiPgmyqEoEms"; e_proxy="AcLHPXsCHsCwSZPYz_aRFiFQUR1DMey17tZ--H8v2XIaxSNw2Q6E8XHI54BTkrnXkvh43Roe5Kdiq9U"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=311, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7420212861371559"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 18:25:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7420212861371559"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10729152, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOoY-BlC10SYW1cBDBa_Bel', 'x-fb-trace-id': 'Eu/Tw830DEZ', 'x-fb-rev': '1011962582', 'x-fb-debug': 'Ne6aGgnvpjGXQx9LtszAWIpPRltzHELKruPInXla80XgU5hyp9lE0lThxOjVNVHVNhoSKZD/7YBux3zzDjovRA==', date: 'Mon, 11 Mar 2024 18:25:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJlmwGWb3yZptspbCtIg3ab94UDlnZ7FvhmPTOSa7xZMzTynz8pvnWRF82IgA"; e_clientaddr="AcLduMSW6LOlQHocfH93o4zxyJTxwbfNKrGtmXhOM3APDdgWVhn1CqFu1645LmTx1G9hXInbHvKoHrKZj4wjU64CqM3TK6XA_WGYirXHc13DPg_Zig"; e_fb_vipport="AcI8svoTw2QaexwPH3XtSjeVMI47-PCPZyQXf9YZzw_e76mq3TVi9UF0BT53"; e_upip="AcLGqYHRclg6cm9O3FCn2Z-BqKIt4r7Z1dcrmrR9f3Pvw3R3otrA8iqCmXi8jdZpSK_qMotFNF2sfINnoZjQCN3hIACD4zUdqTo"; e_fb_requestsequencenumber="AcJTMH0QGDvKWKqVfRicrN5GY0jyvwFPDqugKmO5pHPaXgsLFYP9MXjwJCRB"; e_fb_hostheader="AcJJV2bYjBAOYtGk6fJdkHjCNDQmZWEwBVY58C8G7Z6RIbj2rGw6k1n_hjlaymRRdEUI2BBAr4cSemqp"; e_fb_vipaddr="AcIGoAB0vtfCD-RhiREneEDWX1tHWXs1Tvpb2r85bfxNvNnTAhhHO-X1r0-FW2D11nqfMz0T8nc2zkdTug-lT8xxge_bo3jf8A"; e_fb_requesthandler="AcJylozbh9SgfkmHRD6F_U-a0YXYLat_wqKWFdqEPfpshrba-CXfy8iXp0nT1DxemTQ-Oxtb54k"; e_fb_requesttime="AcIkTyKh_vTLP4Z1ctXfQZb3uA7McR2TMv8OJpYsW7DzE0icmF-biQ-S_LOfnC2kgTFpHDuUhQ"; e_fb_builduser="AcKo-T6W02_Q5qAjVvZ5PcciN5WpQa-TzEWFtlM99q_p24eDCnTEsXVxA8RbRGPtfXo"; e_fb_httpversion="AcLdoQDXoRtiob4UWBWz66sxa1jsBiWnbn6Di6V6NrLAEhfpJLcpLPpGnoOV"; e_fb_binaryversion="AcLdBA9XYtoWxt5DnP4ZfAIpmMGVBo4LA8OQmYp3NIadtzrXtYgJ0iKI9Kn3r79EsAqdXpP8IcwlFfl4gFaLYw-q1iGE6Np7v5M"; e_proxy="AcLyq6iSTK3TioYJ0L0Zr5SmGlw1fAq_5CHmd4ibWS4eRdoxDZ3Gr80gZJmGkwe2C4NeveKz6xlg6gE-Z-s", http_request_error; e_fb_configversion="AcIELwXeDYA-KqCjBqnBtt7EsR0fC9U9g64nii4Gaa244myvLVxUIhNa0W53Aw"; e_clientaddr="AcLGXWO3lrSX3P8WZ1PhSML-jOakGrHdGy73v9K4-egH9DCtQlBVXgLZIC0c6PXGae8DeUUooKQZUfGxhA"; e_fb_vipport="AcLBbY92QM3x8M-sKIoT5NOc5Lh7w2OhMy_pLQksY41WhKO0i2uPhuFHIE-W"; e_upip="AcJWNDpX-a__JCIDbVHjFt1ZBjNPS-u_ozH9nDT5wE8LghlEnvqFBE6FVJ9yE0tqvWW9Jbhh0b4mL57G11YC94MXGQYr44YgBQ"; e_fb_requestsequencenumber="AcI0snJ0lcv33Dohli_iD0KVVM8YhV66nprCXcBgduYqY_HS4XCUcTVv4w"; e_fb_hostheader="AcJvdcOgGX2MoAifAHyH7sb8uJgJ7lqVwo0UZCoHAMQp2pIn78ugQ9rpBBbkWYiX-jnnvOLZkAMMUlVI"; e_fb_vipaddr="AcJc05g_sEy03ElTGCt7rsB6POEu1spR3o67v2W-i7EO4Hu0nSgzy698fqgjmGSk6STX1WavPA"; e_fb_requesthandler="AcJTB4AKbF0k5A_DFgjIJYlo4wImwVg0i9RUda6-Bvgp5s4G0PXiJfCcM_mckqsBbH1yMG0iUzc"; e_fb_requesttime="AcIpPIgHYjOihFlhrnYzv4KYdIRj7nYvO1T2aVsh9KDiDF1rQbeiWISZVsdLCB_9XLSwF2i5sg"; e_fb_builduser="AcI0i0f11EQPyNIM3syFA0lf65yIN_iYkhc05ELUJoTS-kVbe411cift2eedQTL6QEg"; e_fb_httpversion="AcJryYJ4XcVJBkRjmbcfudVCWzHxi3m6ZtqYFAxzQfXEmFdj5Z5IUJ0ovndy"; e_fb_binaryversion="AcJpkjQnMyiWQ0Fy8cTRBy_QxFkg02s9WJLdfAAVF5QbwwnrKxhoC1mILlLUn6HRhSC2yS4P4TgDEsFBO29rZeUzN7tOVEIYWq4"; e_proxy="AcLsUsFGAHzje1h3cEHBbP4DZAW3-UX6DXYV_xd1mbi8ZcIE6JUbHBJfscK5vCO3Re4mJDA8qk6JWIs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7420212861371559"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/11/2024 18:49:42: Request bot not found: { id: '133788230054854' } 03/11/2024 18:52:05: Error switching inputType 03/11/2024 20:01:03: Error on send one message facebookId => 7086291241423848 03/11/2024 20:01:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUZeVqZ3Tg95PyR7y0o-VOj" } } 03/11/2024 20:01:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 20:01:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 20:01:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/11/2024 22:38:14: Error on send one message facebookId => 24969392482705792 03/11/2024 22:38:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aqdya1ImXYbyQBfl9t-CH2h" } } 03/11/2024 22:38:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 22:38:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/11/2024 22:38:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/12/2024 10:58:55: Request bot not found: { id: '2226987370951427' } 03/12/2024 13:41:53: Request bot not found: { id: '309160166334279' } 03/12/2024 13:47:57: Request bot not found: { id: '138868933458303' } 03/12/2024 13:49:56: Request bot not found: { id: '138868933458303' } 03/12/2024 15:30:10: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7412313965495504?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10943726, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7412313965495504?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7412313965495504?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7412313965495504?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7412313965495504?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFBTrfeSoxBSLHSuKLDHcVf', 'x-fb-trace-id': 'AV6d4AUth5G', 'x-fb-rev': '1011995877', 'x-fb-debug': 'Hh39wcQQnmS4Wf6ml8EUspU0VixvRyHX+1QgXqjooi1uQyUqu3hH/njR+wkBmaECnAsdB2Bd7xFOqgVJPqT+ZQ==', date: 'Tue, 12 Mar 2024 15:30:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJGLrsuRhpm58AZJSa1aAQ9tVFVTMTxx1S2IRTWBcfOc7-5X7rqRqdsQsM52g"; e_clientaddr="AcIy6HdQuBm2LAG23deesPKmRwhZnfPUgsnP4FQDWv7p4Cpgs78n5oAcLhyW8YppbXO5zV7Ft91hzw5vD74klftL3PmRBFb5HyEroNe68TvCUxrnXQ"; e_fb_vipport="AcILttZAy6Il5rjKiX0D3yDps4NRnVgm7S_Wf8p-KoE84xldfjFBBBtlU-Fm"; e_upip="AcLVrcwlwLiBcWBWFQ64yp6IAeFejmr80m5_iWuZoHar3kBhHbCPdPzEs5VS4WOEZJDLOmHVcQO98lpw0lgh6siORYxfl7a01-A"; e_fb_requestsequencenumber="AcKb_1Mhktbc5eP8IuZNWrql_r_ce4UyK6z6rzoqdmlr6QPuFi3Fl49hy7H-"; e_fb_hostheader="AcIyc1DVs6oZlUSzzX3ArMiZiP8xXpoq_pO98F7jL5OUc1P2qhZVcStMBaW5OoYKQZMxTBCqwsuADu71"; e_fb_vipaddr="AcLpl1w1qM-zCZJRMKhAO3ATwmy5by2TTwr0Y1_Rm4vz7_I_eRvSK-JlcUGHE19HKg34dNG5kWbsRuZlbdJ1QZd0U3GcZIuz-Q"; e_fb_requesthandler="AcLytdohhIbzE3PYH-5Dlgum_7cS7QDZm1VcFSMkdsa-1pnNqCUItIypXajHQb7_sT26_TJJcSM"; e_fb_requesttime="AcJwdGfG0xJqTVTKhWBaBtTfEdPzaaGAHhrYVmvn_pqqjrO0Ms0_tddF4ru6AGixxdrFmP_7TQ"; e_fb_builduser="AcIBMBwsNv0SliyXyPwW7tbK5llvjfrXZXSotlup_SReWTnTkqJq4CsJBfveFDCMlhI"; e_fb_httpversion="AcJE_mJ0bqbjmqEhyqlenw4rnklXq42TLt4Zaw-mWQkvosv7UZKbE2wQwQOl"; e_fb_binaryversion="AcJxT9D-A4GMcyCOWyDEDGF99l0Cf1oqnMbb-9cFU80jiRUrYYbJy9ACgHpEKR7MpG-pv9TP_ucYmgahonGi0_7IhyXWyct15O0"; e_proxy="AcJkTfObJdKac1mtjVNF3DoqiYfkgcabBO-99YrvQlLWt3CgkTCNAXOFPzc4gcmp3FvUMe82H3suusaOVuko", http_request_error; e_fb_configversion="AcIajEjeA-UrCX7dC3_n8YxPUCLvsW2-guuNcqb8uOxdPDMStWyuP71913bwvg"; e_clientaddr="AcL7nr7Aw_KofaBWlmdq-SMsRjHzQufLdIXhseoR0JW4AjG5km2zDE0e4l0AEOGiakGmPO7-_4cG636vPA"; e_fb_vipport="AcJxM0xnUP04aLllWAJ4-pyWXAOHto91Ac0mMxoV3c4Gs9pZnIqYmj8-S4qP"; e_upip="AcKkIsJ2brE6t0H9UFBEru8ANmubuDDSSUtI9saPLo9ufMXxloiflhk2DmDOuhvPRMksYZqXJnZGCbaW-nGrAfg8AzxnLIgCjA"; e_fb_requestsequencenumber="AcLcJjn3hi_xXN1qn9GBBBKldjO7Cfwez8CAPtk7f2JBcb4NcgWmkVb53Q"; e_fb_hostheader="AcJAmEznXNG54WOfoG_Z4BzcFFrWE5YT4tng4MPtIWI-6AL9V7cPIxmPzmVSpJzh0ui1vsnAa09Z_cJH"; e_fb_vipaddr="AcKcKmHTwrc5t79xzxuPFoxizlYjVIj3xoreLkmd315alucx9v5rcvo4uSsxTxV1soj20rRb_Q"; e_fb_requesthandler="AcKOPaecHJcvgIP-jtu062QQ8oRU4TXvyTWK_BqF1-b5nsw7LIYfq3vXunSsZ3kkMbIqwcJG-EY"; e_fb_requesttime="AcKFRM9ETIjA338lOcTVmLWyVIdnGjUSu3DqOsiAK7kQX0XsdT-9HLddzpW2SqcmONrj55D_Fg"; e_fb_builduser="AcJ0kOWFb_s7EaK80gexcMZ1yTGFvIMtpgrgGUdOlEqz1twdJe__A8Ph5WWa6fYRyiE"; e_fb_httpversion="AcIxSi8Ao0WTAWmSguBdYq9p2-89eTc8LP0nD22CrkOX-QYSP3bJfcgQmXqD"; e_fb_binaryversion="AcIkO0F04t47R9XTcyo0kLEMI0MuwBw3hqNK2bPenYZx9otHU0z5hU8A21ju0i7QD-HMY3h1I4BOkFb1ZS1UzfVnxFGU5fnjxmU"; e_proxy="AcJXNpuy0VBq6nhw8SaE5_mNg1OwgOOADOcN2PDO_V_QY2z8NDEFsgZZE_ms7YDrgBScynbMS3JQEvc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7412313965495504?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7412313965495504?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7412313965495504?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 15:30:10: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/12/2024 15:30:10: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/12/2024 15:30:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10943844, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMlUE0DqluJEnV_H0rzx4wd', 'x-fb-trace-id': 'AOxZQPvAJTi', 'x-fb-rev': '1011995877', 'x-fb-debug': 'XKfK792Hw3L2XmL686P45lsuKyxXYyIPnyuPij3vve3uP4qOihPn6spo1Oyx6Gkcy62eWvh5YexSXvPv3VgKtw==', date: 'Tue, 12 Mar 2024 15:30:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIYn3HWhUaj6iO2a1kzVNjyJPUREVHNP7GHn30AMk35JZqNqPXZAZ1MNdrOig"; e_clientaddr="AcJVmUSnlZ1ds13pwee5LoS_FGjiNKPQsXyvJMbovomzliTHlY0Z02tQ3gMsa-ZrQzmYxfqhanikWS90bd9KKMwdwgOAE49ZgC4lxjD9iJdtE37krQ"; e_fb_vipport="AcKIEpY_5VIU1nCN606X6N3vKPYCTrzF0HFGEorE4Nl7QM8I8BAUqqT8EteQ"; e_upip="AcKWKFTNwMxKlnQOzmJ7fHwEep8Y8BaiaYB-XwKQIF5PTmbj8PPqAOo_iiII_cnZlcweIR9JR7pGWM7boRem2WFy91pO3qeyBg"; e_fb_requestsequencenumber="AcL5bb0K6eP2e3j-r2plC8pEQCT1KpN5LfAuAk6bWEqXZkvLDBsRx7yQMyNO3Q"; e_fb_hostheader="AcIPUcryErBr2fum-yRvU1g1nGPp7zLuKTED-wu5OAbbPrLOWSWpmlrEFlW73HGMOLfs3EbKdflB9ukB"; e_fb_vipaddr="AcKyKTT3_3UBkIy4f3BiDXrCXgWH3WtWd1OIvdwmkd5lYqeTGyUfEG0iRGs1yCELiv9jU_udikX34Fe0iKquwNtVhs4I6JAA7A"; e_fb_requesthandler="AcKCtzNUoNmc3rTtcyBuT8_nFLzoMH1MiDGRKNFxHj0-jUOfcnTEB3OC1WuVYcwm-UvpxqH8Bh0"; e_fb_requesttime="AcJGqs3CfbvZ8iyxLiKpuK06fKF-HCexboYfxgQKCNU3pDVKO0Vm3nv6pN7NbW-Z7-_jVvJ-QA"; e_fb_builduser="AcL7h9bCglVjjLEQpqXVRHausKq7OHMHNy3_e9_k19psXIujxldNVFPmv6XJPYh5Kqo"; e_fb_httpversion="AcKGNCYF-nIGZNYEBvcTHpyic_fG-UVO2F_DUW3oE8rh3lZU49z-KnM-hM5E"; e_fb_binaryversion="AcKUrLlhDppHgLQ3_DpxF183_m9uLRKKsOu0SKOA3YFmd2H5Ti8JzsBmZcGKWqYiT5tCXc_3a3TebCgZPSZQGdW9uilKbkEW1BA"; e_proxy="AcIDYNn2tr_CKMRLkkA-cNTIMYVGo-L-1wxAN7qAch7WaqRshFq1Y1hRQS1j0rqC-ckFUHsuS9iz2-8_mfs5", http_request_error; e_fb_configversion="AcJu3Ne9Eg3uZZve1C8cz_lIOWRQbf1igcOpCwJ3e4nt8JwyuUDYIJnjCR4GuQ"; e_clientaddr="AcJ20_Wnlhcce0PiqnBWyaIiW8s7kFkMk8Etbu4My93qLy_AsM7lvsBxXmwfsICqwYCKpG6gXFnczBx4zA"; e_fb_vipport="AcJRTXYD5lWbT6yghG_YnOafNAjLIYxdohzYzWiHBgCh3HJS8SXhWqg2QiqJ"; e_upip="AcKSl3Jw1jUu_ni5rh3McB7-iRCx_fz3f5HLwETIn1LBFQTUcMzh02VTdyTTqXU_ALGLrGkJNEgJ4wCSe5UkuJ2De3Y6ZAlDDQ"; e_fb_requestsequencenumber="AcLaV3r39hImEYxUiiSvuwh7Lf_nxSWF7GI1eGixuGBYJwl-bH12rJb33w"; e_fb_hostheader="AcIUSp8Dn7oA_4ReUcEsJ_rUOwXlCnwv04v4ipVVW3bCtQluSFyHZ89N63I9XlWySaU1MtzcWW-pg-jG"; e_fb_vipaddr="AcJNB5QEEqZHcyM18_YSEwRLcOP3oDOgUVzUqEYQ8wN82UXFzJHrOUP4JLsZhjyhj8h27HS1Cw"; e_fb_requesthandler="AcI-76JzkEkowdo9yffKev5YCfb10Dm0dzNySqkvKBUYILZw8_bAmShgxUeRIbJykj6zbF76w1Q"; e_fb_requesttime="AcKbJE4obZeJ1GI0_E9Ev3DhhaUle31cxio5DxhxRsaAWByW_cNA80BA7ktD-JoungRKfZIXkg"; e_fb_builduser="AcKrS2XMkOw1Nz95aotriA8e5reBASXI-1T60X9CltwjpfWxJz2wdMvO3AL_L_ZSFvY"; e_fb_httpversion="AcKdvYSjMvzeR2kogARO1jwMytWqfCnF9b6_iSWY0YH-_dLrqBpmwP7LO7-Y"; e_fb_binaryversion="AcJHbZJfDl0_6nAsZTBkdCkSJChjh9ufLQiRm6oO55E6xfsthYViyHTe3VscknLs2zK383Qzff5FG6EPoaLdljJhxc4zBbHUY38"; e_proxy="AcKKllvZHPMItfAkE_dTX8fMT_BgI5mvnTje6DzGPn6G1LBg12RXd2npJLqLwqJWSK-83R9qIv-GLzE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=195, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 15:30:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/12/2024 15:30:12: Error on send one message facebookId => 7412313965495504 03/12/2024 15:30:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYJZKrEwpXBBdWe2ZSM2uq6" } } 03/12/2024 15:30:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/12/2024 15:30:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10943924, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyXySOBAznRW0kkzl5_PHfE', 'x-fb-trace-id': 'ASeMJxWiIUS', 'x-fb-rev': '1011995877', 'x-fb-debug': 'cVqebfimVux2iKHLJfiDuZ3phtZqgp6Rzoqkwz76Ihg5Sh7Zqmng9+EyqnXqbpp4MiIpP9Zf/8ctK1PuWsT3VA==', date: 'Tue, 12 Mar 2024 15:30:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL4Anoq0wCZmt30qC-NLPf7ZmibA8z1AOWv0jcxpPArRSyj-LS8mSuq3TArIQ"; e_clientaddr="AcLu0m55jGZJTyQAL_dxe1GdpwNvd8WUOD2JaBrVjvcDSrhwmDLgG9hkN01EPAof0a3BnBjOZEtIK9-xL8TluoGIFJo3wKijKHZoYcfnri6oqBJ3AA"; e_fb_vipport="AcJ6wEXGHosypUUEcptzYaEr6Gm7qep--7wADQmxqWdmdCKZ3lnw2XOP6uFT"; e_upip="AcJZaQF1ER265AdvfZvka3Ai7R-iBupIti3tfMFj8LK5CAuLXpybKivd2LOj42N25EAlnvEEkFeR5iPXu2gUFnc6zptmJd6a5xI"; e_fb_requestsequencenumber="AcLymfxxuAvJ2BVTV8bCogmOrWigA8t8OUzs-GnDi93EtzQBlSfkBzt2RhJBLg"; e_fb_hostheader="AcJm1oNqOid8HUaNIG4f1XLz_4YAXcjRrfGkPsT0rRaM3TIS-sXwjVkdlx7pR5ytXvuw31RW9vKmkxBS"; e_fb_vipaddr="AcJkUdrsoGtBZOUpx5CYzY-epu7iUotvIHi75BrpdbruQ-nNmZaYr-rTWdfCh0_1vKJpVZNJcbsUu_icAnCIZVyKL6Iw6y6iPw"; e_fb_requesthandler="AcKP8k2V7SR8ef75mjuEtP4en1BcASBcQWhnZTI4fZXcMu0t-p2Zb51qdbfH5ibLOXzOTiTruM0"; e_fb_requesttime="AcLJXP_dFKxwXcnn4jeVP0QOoJzvywM5Cn8y66bKVUUGeNXa8dW1EpV9ihY79WUE6zCNQmks1w"; e_fb_builduser="AcJXihEP-TRKVXp1Zn-XVinWtNVWL7wPM8dq5bdExWSvL85jMPJUMaDmqiWCQ53z17c"; e_fb_httpversion="AcJsEvAWuFaiK5_9bImg4-ghRzb0hXOJGaPrYn7XNFGrjaaUhsTewibHYW8x"; e_fb_binaryversion="AcJpkgk-uLnac1WpKyX0j8wZz7ZeYrk6jHHwFmO25KJZA9MNvxT1UAaKCQZsoQtX6MWr5pyQ7EG6JTF3-CWtNMxqb6PN4NoBucs"; e_proxy="AcKCylHrT0vv1DUBx0MwFj6PFGlO0OKZEpwdD1rtXuLib_YtZFJ-hJEF4Q2YFxSEVJzVHNC0MAvtuM7vQJaF", http_request_error; e_fb_configversion="AcKxisoH6DVFS8i9boHzIoI6aHmOjJAYsxM3iv6FkJAD7lalnMUkI47QbiV3ow"; e_clientaddr="AcLoVIUq7ruhCBv0WDlxZJfFvjIbKL6Ksfq9WCt0N4nmlCYk1aE-6nq1StqRnhD3ExoQkrm17FrifNGUwg"; e_fb_vipport="AcLgjrwRFP0sdJ5ALkh4BtiR1KHU2nUXQVmEEb7Ul4Yi_IiiOY_md3jn0IAM"; e_upip="AcKLqQqgu_fgvwgUeOWrRzRZnJd7hFW5h5YPx78lhee7erfw8e_-kRZXybNJ5mallri0dPUHwNnJLMvcXrIJoQZ3Y7dgZhaC8w"; e_fb_requestsequencenumber="AcJXtOfQwvWe9moc4Cf5EcvWDpQ2ZRo30nWcsMvXGvsseXxuc9eTpIwNUA"; e_fb_hostheader="AcK_UgA446jL_zEpgJagu01oplYdaVECA5JJz5OMWjEqfIlvy160lS-GyVKdZhvCJWkURyNbUqgq3H1T"; e_fb_vipaddr="AcJY_bGtYePpq7681U7BM94gYMFQY-Eej_UY0GBPmsCBV4IjqZXhwYw6NxMf0M9A2GnvF9Dx-A"; e_fb_requesthandler="AcJJMZkXSiDwvF748qeRKe5Uc6Sh9UncISWvGoDrtf3LhgFZPsBK9xGOPk01QFRLDbEktOxt9PE"; e_fb_requesttime="AcIyfcew-goXHZ3nZkSSWDvXrz0XJhFACbiXxV-6PTo_iS5SIqKOLfKyYanKkCou6R_LQsxl6w"; e_fb_builduser="AcJCrg93PMI7ZjLGixMzEFNIQHYKdo1Qv1UgGFj8XEnUK3vrYcKHY414a3LEMjmByy0"; e_fb_httpversion="AcLWaABOhuukEBiSVWB05bUNQ6uwDM2Eh6wh5LGTbWrM7CrXkbO9SLjeDoRO"; e_fb_binaryversion="AcJz1tlj5vesX-jY4v-6R6bQClVy8w_jVs8X5tqbdJMq_BbmgZ_6bxPzGYG5ILX6lBb0ExsTBilBlHj4b-Rmm4HTXTNBnmMWKcU"; e_proxy="AcJr4LFLnxOymbqLUzQLfXLyKZDUnhNfDmgNf0VGf_NS6kL8Wpk4V-Im40UFeJ4bJPIsSTAbfTn6C1s"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 15:30:14: Error on send one message facebookId => 7412313965495504 03/12/2024 15:30:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aa9aabC9DVEwu5ehWMctkUi" } } 03/12/2024 15:30:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/12/2024 15:30:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/12/2024 15:30:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10944063, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUZj6-jiB8OFCRuHYydPeUq', 'x-fb-trace-id': 'D8ucNnRWJk8', 'x-fb-rev': '1011995877', 'x-fb-debug': '7eHRrj+l7KtnTseiVnI04kf1riDBu1sTxx2I3DEq5QXSzOlkj/q5hibtBsqXuPs7ACfLMe310zpmRYcE/0cvLw==', date: 'Tue, 12 Mar 2024 15:30:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJHw_yrPx-SDum4vQYZcjQshqsxxcX5w11XRzutsa61l7FA5bT5wNfh_2799g"; e_clientaddr="AcLgjyhDRogBvKNSTG2PJ_4sVlWLoZrF5zYgxOFIkFf9BpoC13Xmy9isAem5v8GcQiRhw2v1ysfGI1uOfKNdomW3EMJ5h6jNT8aIlyJks1FH-Zik9Q"; e_fb_vipport="AcL6i5Rp405WoGEVVlA-b0DFz09wx040Bf7_u73ctK_LyARIPsbuNFHzhHS5"; e_upip="AcIxoWXVFW2jDFrL9PoiTLwcM4gtUXI3pIw-sqpaHXSb7_fmZ_fqYJXxJMVYVLL_oiLwH36ftC614l7T1WIHksPu3ZuX9fXIrm0"; e_fb_requestsequencenumber="AcKSfcl87sn2R-1ItwdsxlyhvADJjifsiBHJM7lQPBRM7CmiVU3l73hze9weLA"; e_fb_hostheader="AcJ527wHZ_szfKS0yqMkIwbaqMLvj9QzVC_qMfMRzxXOu3-2XK9Ooju2FkfOiUy2E6BJKNQW8vVsYAj9"; e_fb_vipaddr="AcJ60gNxEH8bINHnZX_dBm5hdCWVnCSPkEYzIW6HTO_gn22x20EeZwZ35DU8RHbZRR3rXl_v2hYoOHTuXdPWUg3FhOMbUegpDA"; e_fb_requesthandler="AcKa37ptoIY2FoPWL7M5rHyxeFlMgDfC56eKmTTB3-5P8aib09MCyY3caSzKNt33J_tHcBZtFNs"; e_fb_requesttime="AcK1wjrD7ZK0_2oRx55T5wEMGQUJSacatZl0YAjSdK_rwbLc6YOzWYYvd8relIZVhhpcRpYbLQ"; e_fb_builduser="AcJj-XaucZIlir2bAgtxU4LWC8MjcHCT6_vKPT7AwmF6P_IWrvJNl02Pa2BEwZXZ6mc"; e_fb_httpversion="AcJ_EoplYctVN-ZKd4-yRWFnzip4Jt9I_yLVpuhMzfiskhIAHyj0q9w-t-Qf"; e_fb_binaryversion="AcIIOIgXvbaY3nU4H4BaMX6UUQUJ8OJHtBtf7M7ga037KQNncFWjV-_K6GSdflOqquofSfCwhBbNp-M3PApSqpzm6tOwb4bLSh4"; e_proxy="AcIwOH0l_XZfPBtuH5FNZg7yYrZZs1qB4rbKGrCDXabr4eigCJAfFgT2pIGBXYOhx4VnM8PPtFyFgBJV_kZT", http_request_error; e_fb_configversion="AcL262wmpAt8wjTZb2rI1SD75022mDvcYodltKuyxGGo7QrtfIvR28zMwN8ZGQ"; e_clientaddr="AcKRves7GDZ3wuKF8alzz93U4tA8UoIPdiAQNjY0o2BrIwyutB03NFSXYlVDeMSCqHRbOccMSaqfTs4lDg"; e_fb_vipport="AcJNZlVI-49-et0A7DG9VBQjUwCRzZYMoKvXA_6sA_A4zB1kuH1dvnRR4i3o"; e_upip="AcJ6SbsOUUbGy1UYVfNmjepmAlzosB0mkWkct0ssUhIfYWZgOzCeCFd3-kv1XhWlrvoOSjrmLnQPIgYoL0_vf8okiJIVCWupgA"; e_fb_requestsequencenumber="AcJYgS65q26wSs6cTD9Kb9-kiUfI3zxevFyZdVxjuQ1SezaqHsdUDR_QMA"; e_fb_hostheader="AcLnDDutf6Xi4ULxx_Ec2b9TC70cjcj4v1flsNtxAZpR8QqOoLAx9nt3x9QEnNN3PdShRjuv2az6xurC"; e_fb_vipaddr="AcI5PKvf9kcxfjuwt1--3X6U2SxIOZX-fhuhrXz7vmgOV6IggzKyfkCUBpT_diPIED5JfrSsLw"; e_fb_requesthandler="AcLO82AgDBM_BkDTRF4mx_NNQYScWjTn477DSQnoxmcz3uMb_1lgsgfG2TGzJXydfzbI-9HiQPU"; e_fb_requesttime="AcLysxbUyph2B8PrjYmtXDieOyPNAppVzulMDcI6_E7Y8wldsuOVAEDHC_QfM4lWAZqlRxVf5A"; e_fb_builduser="AcJQwsp97UNvZQ8VTDFMA6v2-n5NFUojgtvLoK-wm3ER_XyAgWnAHSa034EeitV3DAQ"; e_fb_httpversion="AcKLm3iTZicgtU6gA1R9R4wrpvrPOxmTIQaXFZZdSA11HHmTrkdW57s_Rkc_"; e_fb_binaryversion="AcLgls0SRrfL23-F77wYXTb4LIB8gPMH0HhP_Gx-4chW1BE3j6WYA98XyDJZRLx6FWzZxFLgauKlo3hqwzJjIEZcnnmhXc6vCUc"; e_proxy="AcJpUBS9AXgpSve4yk_9cY2iT4PK4avxLKHtaNoes-RMd3LPh1AB6gBORs1-V30toP66-YO_rI8tweE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 15:34:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/12/2024 15:34:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10945000, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyPJXtz7qfUSwxyWHLeQSC-', 'x-fb-trace-id': 'Bcvtc4kusg5', 'x-fb-rev': '1011995877', 'x-fb-debug': 'PJx0cEbRG4qYp6H3lKBwfV4C9P2SF7Wb3o0NyeQlH4LthaLc4jLvXG0Duu/nZ2s+Dr3JfeFjm4lfC1/w6ffsJw==', date: 'Tue, 12 Mar 2024 15:35:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIIbubYQNXo1-tzM4na2_vQFw1D0JLh63WUDuTxZ7AgoI8R2RRsapO6Ks3YQQ"; e_clientaddr="AcK9aiPKAb4bskOQlmtR4aIWtv5u6ZDfCKDUfgY8SXvIZNedY8L75X1BtjXr57lWXILGiay6IzCykWTNBWZ3BUiK0ABaHLKKcOZovBmqRuAp0Qrsdg"; e_fb_vipport="AcK2SXxAT3HyNgjiu55GpmHdx48aBWFPRocz943kpYJ4C8ivhIip1FzGdmAv"; e_upip="AcJMbe8DvYrnSfJrqRZoLVoXOIierlJbydRj7vcoIn9fO6gCiZh5DLYEHIRqTRYsp6ktB9plduqy3R9_Ib3ifzQL7ug1rdgaG-k"; e_fb_requestsequencenumber="AcIBKoSI84QycyUjb-dhxvuRFl3_YCKha_1zI6Fyiax0igVp5zJUm0AIFf-lLA"; e_fb_hostheader="AcKsbp5TA_ee4lAyoehgV74v7Hp5ziAqJf9eE3GdYlPs59IKdPr__CjtpMG-tpN60MWG2NPHX6ugQ03D"; e_fb_vipaddr="AcIj3_qdQFvRLp_i446YusRZOi-4E9KLtBHAdSwd8c1SqnV_unoDQZ_-puKz-0fB4H2uDAIyQph7rpA2JpcwPLE01CqkfirQow"; e_fb_requesthandler="AcKO9G9mQDjilmEkORMRr1xay_jOFagcaLNOXx0v2MnmFnUNY_gTLb6skkxzaJBW4ED0NJD5Lx0"; e_fb_requesttime="AcLH1lkaEpyBnN1P98KuuWIWYd8qQ9TSwmLKMKtTpxy5dwQMVtW0EQdug3qQdvoKDLgheFpo-w"; e_fb_builduser="AcJ_OgmnkT3R4hmeLgPoDcLAzur2yYPVIBlMYJC63z11ZmIqDOlei3RYmmBwTqwDGk8"; e_fb_httpversion="AcJWQ4YHDRu7vGhbG7F4SvwWmU1OxEhb9SdnsRrKxYTK6oqalMnHApggo9gY"; e_fb_binaryversion="AcJmh6UIvNXtdh2gnmhb0BGz1L9VYFer_EpelA0vZ1Ejd8FVBzjfTZbIMCW-LRzqpNOOBMMPqBSOyrievdVleDGo0EtEf-sLZe4"; e_proxy="AcIPh0z3QTDR1ccXmUJKJrtDsOjV0vnO6H6rmQrIfFGUIQwZby8N_r1hdkR9qSzmInm7kR8I_44sm0bCDKxZ", http_request_error; e_fb_configversion="AcIdkHMl7FcXdY5Oj28zTDNkQ1NG3ks8V5yf5jgjcBMEG7TKk3I-ZXTM2R4-EQ"; e_clientaddr="AcKROv2pF4nOwXEDosdH7dKOWsHsBd-_Va7bpHEVQZeGK6hzy6OhgOFubdwd5QPf_oTdAOfOxZxU3mKLVQ"; e_fb_vipport="AcLBuq7WmcODb0HJDnza7apgBictSeaQDttKvq_r_hOtGucY9N7eQcXjL-qp"; e_upip="AcKpm5WBhjGwPEp6Sa66pW8UY-lEyvcHAB7rwx--FLFC2l7nxucwK4VHhXW8ND3jzhQBCSRTBn9VQatvI86G4dRtykzvaxi64g"; e_fb_requestsequencenumber="AcIoNsgCkJn1kv6BJsm1lsRHFQEJ6DbofqaN0fuZqtP1KfTFPQFjtokkcw"; e_fb_hostheader="AcIbz-NtdfZctuA8c8wTnEmkMqnpLK5_WXSVbCcllR1bhIv1_ubSwxLbxQOzZNuKD9r7oJC26DOTSV7Q"; e_fb_vipaddr="AcKBTQx3tu4POyzbCeJB_C3ekJ4JGOA1-0wQPE1QvYllQhr-bVojFZD0m7X2ql4pW5cirHTkCg"; e_fb_requesthandler="AcL05HjsHaMCvZWJucA884z6h4hZ3UZZM5ZGJIukVRZ8bGcv6g4cx53DEzFXnjjtfYqNiJ7rTkk"; e_fb_requesttime="AcIje6L9h3jOCUlZkprfT_s_YSYjhcE_ICaAnl_tO03fMm58mD5TF_ykN6Oa3jH1okOrWN4gbQ"; e_fb_builduser="AcLv6r4Dh_ITgpxbvpxnzumhk3MaxGZoUw79qUiwMtXfZHIvnmMJOfMBeOZiyK6_lts"; e_fb_httpversion="AcJ7XdUVl8ziLqTvig8Fk8Yezt9EjtYFkZvLAfpWYtsKJnqfLBF-0dPDhWmN"; e_fb_binaryversion="AcIYfZ6-Yaq44nATh_JT5lSCeNeUneVr6YoBGkkiYmvtDfDTzZxErNzicahs7WKTsbtyxH4jelhWGPejNloxDIB-_GBM6HBoFF4"; e_proxy="AcL0yHKA676XwCLYFYsMGwQ8PSvaSaG1c8irdrg9M5jK2G2gzARWzPAGW741TIIR7ZHfFXEnqgjjBF0"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 15:34:57: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/12/2024 15:34:58: Error on send one message facebookId => 7412313965495504 03/12/2024 15:34:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZ0elj1F-mEKtvgkFmz_0Ah" } } 03/12/2024 15:34:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/12/2024 15:34:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10945138, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-YmSrwy7O8OxAIVfVBPoNw', 'x-fb-trace-id': 'HvAgc/Pq5dZ', 'x-fb-rev': '1011995877', 'x-fb-debug': '/oTaLG/P+SflDXAmamG/GaHTPNgdum3U5aljSfIDGhXG+/N/tJeLjCKf1VFWzy99cNfJ0l6SvuZ3zRfKEWWKOw==', date: 'Tue, 12 Mar 2024 15:35:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJMowq6_AIoHlohtepT2VoD1Js2uoN2sS7URTknGitTI-qnuFngaZzKf4acBw"; e_clientaddr="AcLyxBJG4-go17gJ5RZSDWK2550f6Gtiy0GOTmN422_zGlRr_9D6e2egiej6XGArhLDvuwbxJEZCGB6s1I-IdSNeubeIBEYR7AdJ_piEw1kSDVwLkQ"; e_fb_vipport="AcKuBzyh8iwvFpn-PRVpyX6uKc2yh6jvuWQfU884TCqW4puwNZJxB6PLdIaw"; e_upip="AcIS2jiqRRCk-UT1rdxIROqRczPsbpXh4Gc7g0uJ7sLAOkm-PEdq2swIZSHIu-UPLDONd8PGdYKUaW_UAweKjsNn9C4yWN6OVQ"; e_fb_requestsequencenumber="AcLmzTnRUdndkXLgy7LdlL8Hm4Gy5JwXMEgk4Xd6pCVjOHxu8XPCOiKD_B83Hg"; e_fb_hostheader="AcL4YD1gKmqmRobH7G2S8K73jmlz8vfT44OTFB9eai0gtnhk1-JkxpAb1-sBbVjKc0TXduiY87HgPAP5"; e_fb_vipaddr="AcK41VRnhjDCxAqZl48Fhq3gaZkSplEyAqBM-3bsaFZKxyTtWXlnhki_nz0bgB3xAG-Urtzmv-YvtKZig19QGE5LQHHn93imQw"; e_fb_requesthandler="AcK34LekaJsL74kzU_dIoo4kfzlRJJiRXMcHC3XMtKA9Q4M8uWyBRI8s7U41x2RuCcvhmVu_Ykg"; e_fb_requesttime="AcKZ80X7aXdBnmjvvi2H9KR2ERO88zX6DlFQhPtWV-e-rco0H_uYNxewqrCJjQw9mRQpC1hIxg"; e_fb_builduser="AcK36lvng6LqHxJAWDQggNPFhjAqZHU2sRbSQbjDBxpBtlbKA46QZM8TrejquVu3L7w"; e_fb_httpversion="AcICC7hhhs8X_HgIi4QEEHKVkY1PjTm-iP5yzobAE3JPras2aiHfM5aAnC2y"; e_fb_binaryversion="AcKaek91K0jweUvolb8o2k2dPAjIwqQ0CmJ2ER8lFco30sRRtVLR4E7P4DYu9y59bV2CiER1mIqT6WVwE3hTUqYAfoHWxtO5UqQ"; e_proxy="AcI1cO3Ty6-Y-fnbr7zPotKLcVG24ghIxnKiyTrCQTSJqiYM5Ej2yY5nAIzqDXIJ1y0c1UcKINzM7AV871BR", http_request_error; e_fb_configversion="AcJTkZXcF9HZ-j8vYZIlIRjGgWpIaQFUvbGGP3YDgiJsJqpZ8AgGuGGTnlw9aw"; e_clientaddr="AcKfkWoQtdg4sAlWEwnWQ36NfMmgesSZzZEqQ08Kqcb4OgwQh15GRn5f16iSxu9E7YE_EmSNDyR19fwQZw"; e_fb_vipport="AcJDdZXGE1RZBQlVGukUIL9e17ceIBUJ1tIkwARjcjXYSpA3Q8koScIqSJ6d"; e_upip="AcLPJadwJ8KcDZtRkLHPtlv0EsO1OU0Dom2uTNySoZ97kq31OI8ehG_6pjZv9zHRuEZwt59jkbsmBSbn25-4B3DLafnOMRJIBQ"; e_fb_requestsequencenumber="AcIf7DScct9ldvHDOdKGJJdH13d4smUEcQN_NiOBWvTz3sNczo0i9lMXLA"; e_fb_hostheader="AcJQKGJXIBAon3_mJWChXDhpokqk-IMobQIBjbdp3MI1wsJoit3SHIfbXiWHW9pi2yHGADkB2wRo4a4k"; e_fb_vipaddr="AcLWvw93poMEVp2LDqEEcc5iU6XFLDnU8mLQCN9xafB7ZiT5CvBNcumW8Lcs6tLCIeL1wwXRkw"; e_fb_requesthandler="AcIJfq8qVhcE-oYKnA7Drwr9MnBDIX7hH2Sh0byWK2AtaHnVymMCVinfxXt3o2v1zLyziHybtR0"; e_fb_requesttime="AcJE7fjS2xlTyoW5Ig6uO3NIBXQcu66jj6oTlE6UE4TVxtS5E-5ANe_l-eI_OOdoxsuOQ2k9mw"; e_fb_builduser="AcJlNcnOrDI0IBfDZr_FWkL3scuI1--lcqgLnHrwKVVqgbpmyj5HD7c1hevM8rCccqk"; e_fb_httpversion="AcLOpwYTd8PNVcRiC6ntW-iLT8shYosJrcZohr967g13panvr3WCPz74_iyY"; e_fb_binaryversion="AcLVkGFbouWE_I36VK56W2JBmShqcu6zukc9EWFqFNbPelpO1LxFBLWP8OZEeRytJ0jXfwe3MIlZK7Edb9IEiX2zVIp097pxSLI"; e_proxy="AcL7c2Jyh9FvCrIrpMHu1rbECiVaZA8avjzisOPybwpUGuq1o9xSQLvyvIySE6hzrJVQq5vlxaODkB4"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 15:35:00: Error on send one message facebookId => 7412313965495504 03/12/2024 15:35:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AFeFheBFxF_TPZqJ1E4S7iO" } } 03/12/2024 15:35:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/12/2024 15:35:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/12/2024 15:35:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/12/2024 15:35:09: Error on send one message facebookId => 7412313965495504 03/12/2024 15:35:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AF4QCkWK5mV5SXwAJ0sfiw3" } } 03/12/2024 15:35:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/12/2024 15:35:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/12/2024 15:35:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/12/2024 16:12:52: Request bot not found: { id: '1815581812105014' } 03/12/2024 18:19:59: Request bot not found: { id: '133788230054854' } 03/12/2024 18:20:05: Request bot not found: { id: '133788230054854' } 03/12/2024 18:20:22: Request bot not found: { id: '133788230054854' } 03/12/2024 18:23:22: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6619417378160037?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10975881, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6619417378160037?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6619417378160037?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6619417378160037?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6619417378160037?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Avfrjd3s3Ufnk3jGXOGhw5F', 'x-fb-trace-id': 'DoVxE7BEmD8', 'x-fb-rev': '1011999191', 'x-fb-debug': '6RTUkch0vnyLNA/4yarHTpeGKtdvDMkAHx5WVmejHGDmHUdCZo33vW/esg1HYri50oIOPm8cdMyXQmghAC8gIw==', date: 'Tue, 12 Mar 2024 18:23:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIyBfQT1azJY2jnkkK4p5IEg5XTfxgN-3hQRiWe0UqNEV4BqlbvfZ4GJ7zGUMhillrVqWS7c5bxemIZ5XeaEoBk5Q-KpCEvkFs"; e_clientaddr="AcJqzyjFQhr7dRIW4C_ZMX6Qt3dkvndkI8rUcTgu0XNxBnB93pS7v6UqCkpAFTs_Bq5WJxht483YppwlfGWjq_IPy_1hvagEMDTXARZqS7UCtwKKvg"; e_fb_vipport="AcK0ERa1OIlS67zGLxNrnKUoXqW5DqKODIejRLDz4WaVoewLmE1RTLYKiAuV"; e_upip="AcJQhwLSBU28PArnZLrvE3blctOA2bL0DhD3apqzhJki34L6hvZ4ZAiaKECowCagRRWiGlIQ-FQkGTvUWopvXPf4uFvQg2Rt2uo"; e_fb_requestsequencenumber="AcJzVjPduLCkNaLj5mRaCezzdZp4r1kpmU6gkSBZsfnsLmBB3lEl14Kz7kMQXg"; e_fb_hostheader="AcLwBDiNbMQ_gHcHuuCUNDSlVjKnd9Dpe9WYujL3PqRLPhXMhmgAllgyZC82AQsFFAeM-5nMwGytNkSy"; e_fb_vipaddr="AcLpPOP-WRytiptyQ-ZsOaIwMeSiVK679KHwU9FSLQAFbqkhXFvDZSwWCtGYSNd1arGDfGYoxhnqW-j7KNOHivtpvgYYm8xOFA"; e_fb_requesthandler="AcIP1lU2a5UgJhYMN77gfTEr0hdyNFUzo6G7uZXJ7I72ctlNYGk9M8VgGGgsrp3ZCuKzTi3TNTQ"; e_fb_requesttime="AcIyIddZ6WXKOG2HrpjDXiTNuGdj4RpoACjmoqFGFus25C2BGurIp4lSmPgyCfpuiGj1xyPc-A"; e_fb_builduser="AcIcct3x-SJVTNi7_XJGBQk3yg3gcFpSECPTLzuqm0LLa2h8qD3M4NFDQgPMfYYtqws"; e_fb_httpversion="AcK1fJUb7oE5kPJOPlRPG5r2EFHudOi6ZYhfcuTJn6wrFo3e5w_B_dL2oe8L"; e_fb_binaryversion="AcIyIlQclOyP5oMPYSk514Nl6-kcmflaCJK6Kqk1wQkOPiJ_RjEsnlupa--jvGZ9t6mXtE2iKdi3zjLNiPx9u-w1xAb9cTUatn8"; e_proxy="AcL0PD43tH6oKrIgtuECFvDJmyBsjlZ-_DiGBJWuzNQTsrlCKrITbiUWaXi5XOrWdNX_kEZR6E2Px3KPNirq", http_request_error; e_fb_configversion="AcLfnMzy9HkxFT8qcM1-cQgeMXC5UaOjp17ucnp7WfkIVCBC9RjjlDbCocXwAw"; e_clientaddr="AcIH6DBf_YF6jNMWlwqVxvWUggkyeGtfI-QUyAcPpik8n2uPVMHfKyM2bCUuABiz_9QC-JI-cv0t45iKNQ"; e_fb_vipport="AcIEvQu0CJP-KOLUjXaiV0PqIKHb15DS8IOzZXxGHHlU4-jAfmI6rlAEqnAh"; e_upip="AcI-jv3tmEY2vEneUkXtYmK__IFasxKtdrbW0HF7X1nSHS67vVbPs0k5JKzshJwwWK_kRWUZo4_S-emYN450CceSLlinzw7ubQ"; e_fb_requestsequencenumber="AcL7TMj5OVsVOtWfssf1NRPh-9t7ilTTDnqxvegtEpWr1C2FkPfjb-lbkA"; e_fb_hostheader="AcJ6loRUS9WlOhIdt9Y5yKGndVxxlLFHaNjvnyhA2QIIKITSh6F3IjLRHcjs926VcaMteJZfV506PaaD"; e_fb_vipaddr="AcLZS_nomBxSVC8m0gEwhB1HQvw_ZiXB-9w8p5nzkHN6JXNvqqOPMViZ-Wflx_T3VjOaz8uaUw"; e_fb_requesthandler="AcLkaO0NiPhuiB4yoT5wh8XY5tpZ775jyXu_e7g8mvSsV2JUFy5qJYmnWqVRa35OmZrb4yT7pqU"; e_fb_requesttime="AcLgTEbOMIDlZQmgNQwJ0826H2vPvDG-cvkrwDefFsZVnvLDtG3kPzE6k2r_R5V1EgDukP6v3A"; e_fb_builduser="AcKL99VvVOpwebISCK97tiMmRD4gfGRHT7JSp1jsEdKWmqNr-HnjudghJx8Xdeu2JYI"; e_fb_httpversion="AcK0h34NQz2Iv58mjchdU0QAeojH2aTZhc_qrsl3NSFod4dee9NxVJmKYBq5"; e_fb_binaryversion="AcL6wPzhwtfTtLY0Jlb6FlDbHVIgGiohHsHV3jOwUIVtU-cZcyZ2CCzCsaO4jRZjmxcnydvZqHMrLHbpLszBaGIX-4ptUX00Mas"; e_proxy="AcLFgKvUc__R4jUUJONnoUFRqlv06cDPg7GZClM9LteqkO77tnvae16ks6Xa_pf0jOrB0hZE5V4r6lk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=236, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6619417378160037?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6619417378160037?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6619417378160037?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 18:23:22: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/12/2024 18:23:22: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/12/2024 18:23:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6619417378160037"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10975999, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMxmKFbjzd5Cm5_PFDPj0Yi', 'x-fb-trace-id': 'EStCTYbykv+', 'x-fb-rev': '1011999191', 'x-fb-debug': 'L/x35/QOgxhm6z53uFsD4MYjXqkvWR723tQOGcdkEImjqhNSK+ZZRSOjds0XahetqtQpD7B6bXsDk/wcZYg5Og==', date: 'Tue, 12 Mar 2024 18:23:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK7-UgFAPmXtp-agrw7EkxjIvLL8e1X8EXEp8UrnNC1Qi7ZL2DWHhNIHvtpjQ"; e_clientaddr="AcIVlTnCnxtTvoIbKrIWPNySlkhrOu1tDc1ruuWJWtGbsBrHWtCgPgkzV6mctwgIOqEqLT8-fiXAbVUI6SePW7p6qBELsNroJTZGa1K-sbjxhTxe"; e_fb_vipport="AcLSJjQAMXxorZZgzc-vX8GyLyh97ORMXyT7h8D5mlbXT_Zp8QjNTIzugM9f"; e_upip="AcIX1E3dx24K9u7E8ShlWStB2QjcuyBuDJdEYXgnTq0oRC82MqO4VvCoAl8eOBZH1w3AnQnqlfakRTs5TB-iuNOE5oyG1kMpaA"; e_fb_requestsequencenumber="AcJ3KSBQkgwtcrgz_ZfqYx0M_6-91EAXMGhPz7YYVeHydyHXYlB7z9aNhkzbqA"; e_fb_hostheader="AcI-NRZHtEwGuUpQPk-YQMOrpoDpo8lEQI6pUUjVjBZwhhWE9zT3WvWgbz9E7MSp4z-6SQs-3NIoMEOt"; e_fb_vipaddr="AcJCqiuaJP4_iwElNm-4FuU76ddiN6j0SKj_0-lgpeMjBGiXv_y1OAk9E-b8PrLmb8mvqPOK-v4S-5RUAKHPGczCtSkf3_Byug"; e_fb_requesthandler="AcKHY46fNosKBSQI2zHdpeGno2Ep4Wv6pdL8kfMcMogJ4QO0OhTS_nJRjK0O-qDizhalovgLaCY"; e_fb_requesttime="AcIbI10iK9-WAtWc7JnbS5fKwGbzqvsp-W2kaeDCzy6MLc-deBU-N5Uhde5uX45kpei-pKIwaQ"; e_fb_builduser="AcJpEY_qLNgh1H32pKY8M3JWBXAFeDw2wUNBVf3oddX1Yhs9lZajruujjX6LXBT0gE0"; e_fb_httpversion="AcKahAhO13hnKHjuO4K5d0qqcoDxFiYSBriiaLAsEuzwHSe_ApuWzKb7mySd"; e_fb_binaryversion="AcJcKQjjuT8hiGLW-QTVv4k31PBanLF7Nm_xK8cZD0FGi7muoYiXsgskSm5euIxk8Af0Dr1Jth245DZULF0ltCZON6oP-cQNzQw"; e_proxy="AcJBnWiaWSXYpak0xpax4NGeFebR_gufJzd0IQe4w8xHiV5DpWI5XqWGOHila4C3fGsr1rkDFDSEYfPjznlp", http_request_error; e_fb_configversion="AcLNYgMC3ULUGpoMOTtcoZPST7kPC-PB2ZAnEmoDPNBZ5kTP1SEjBShhfOus7A"; e_clientaddr="AcKvFUb8KTYWMID9y7kaRy2AZ3yzZBa8PSKh0pSG6KGJcdzMEXWRrEFT-MJzMpj7qgryyoACN3FbdSAu0g"; e_fb_vipport="AcLjVBH7VoStuYU_zesU2eDyTc72BX8VAHxpOBUZlDtbVLgSYsJ3iz2oD3rJ"; e_upip="AcIW4nT297tRpABzmX8yLYe0pK2MMh_61L8YFLWWLIqr3Y8T9NkEmMkR7HnU7I1Zd_J089RvDvEgEQE2J11CwKPTQRPC_5Ez9g"; e_fb_requestsequencenumber="AcKK_37FWoOffwo9wp15BBsUxx4rSx2T2wvBx5_pWUr8ySvReRHBFBsZmw"; e_fb_hostheader="AcKy1zA10kBj9GFSa1LBjwU51r7Du9u4Ui5PDzIvrzf4-53jrUF63z7NDhFl6ZgXIcIXI5tZsrTYtE3f"; e_fb_vipaddr="AcKfsABTLHSPSc22xY-vc3fecT0s7lKe5v2QtIYN3U6qUSDpmHL9WuFxzeTOH6HFiB_klzt5Zg"; e_fb_requesthandler="AcJBeMCLStC07_TGhnl-Z0BL6-sqls2gqMPMeJBJKkR6mwZpImfZKUKDzLmnLjuM-I3wSAAsEzM"; e_fb_requesttime="AcK9Vv020vL-CBcDrhvtYGmrcZjsE24A9saOG7k0jKcVi4vTTTFOeVF2eNJ7zi-F9UOQGS7Slw"; e_fb_builduser="AcKsru6iiecfAFWqBbApFOxuDB3CYNXreza9clzbHGw4OQFStjNG0mnwIPCxxJh_5_I"; e_fb_httpversion="AcKAsuG9q-ez5uMZqSktbkOo1isxMPPzMQN-tYROQO8STP0V0GgnzEdj9vTj"; e_fb_binaryversion="AcICIhFubHew0udv15lQ5c5S1kt5isFE7Y1SBWlkdxXGgs_XkU8hXCDy1pCtwr3tZXDP5vPUBQH16VK6kPpZU-kr1shUSNc-kNQ"; e_proxy="AcK8zcgk2vwjOwqnqsZnYmiKONSDHAIf-kuJ2ejn76cjOihEcBNFXCfrEOHE_CF0ch5qYS4f9XsWGec"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6619417378160037"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 18:23:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/12/2024 18:23:25: Error on send one message facebookId => 6619417378160037 03/12/2024 18:23:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1WKrs0feeMYz7xA57vbvHB" } } 03/12/2024 18:23:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/12/2024 18:23:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6619417378160037"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10976081, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJZGnA6qWvEN0UG04893SkQ', 'x-fb-trace-id': 'GKSR8g0L64u', 'x-fb-rev': '1011999191', 'x-fb-debug': 'lG4cpzQ2v/aQypQuZuw08RL7MTu7IRIMgoaxAgVBDhdHTM5etoq4yRW0o1Lhd77k0fH/JQ4+tYlwbbfsBbYpEw==', date: 'Tue, 12 Mar 2024 18:23:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIpXQhJyKby1eUnTUnl8INHD38XJgUxWUzpRwfGGIIuF3xdKahHd6FKjrb6PQ"; e_clientaddr="AcKG6OfjqU6PxNT6vL9fwNYlrQcUuDBqTTPgbY9oYVbd0E6ZOntR4s3--UpOeKsBhUsvng3VSD8YxlsD8mMSJL7N871crX9dM5qwl6lv_seYe7xOMw"; e_fb_vipport="AcKkNFLwTNwcYu7KrYUCcRXiU_r964n7AtXk5Kia5H8I4HFGlA4LsbYIQIZ6"; e_upip="AcIxYiD-LR7JoO-vgKLoilMLW8VYn8Izg8kPK186kYY9FMntq8RmL43czkX767TJ88NH9YKGr2EU25UznVjZSCCIiNKDnew53BI"; e_fb_requestsequencenumber="AcJX1ySoZzjj7kcy1RJQU-P5P8DsbBWLbruF2Qkqz6Er0w7NZq3vbvbvLK29kg"; e_fb_hostheader="AcJ-VmbuyUbxClVN3xrRN8TbIWPjYSrapYurjrTvs6rUYKH5W5d2cPi-niGdCyI8bIxxuypwjFD4cyxM"; e_fb_vipaddr="AcKuehdERi8CYCj5jvR3KQRmFpn6BEhU1rcK9XwbTsUiClNy6Nnkg-VKw9FtjLUfSu8ea2HIAOF5bSsUm1PW8IZC5dQYqZ26ng"; e_fb_requesthandler="AcKDSVWuH2psyP8npgYLSQshdefrnAYy5k_TL4HUH4Pgs-NDQhe95uCNuRGCbTwuaM1mJC6Plkc"; e_fb_requesttime="AcJ556ZFpP7Z63jxuwKaDIyyGsW1djhTrguGfNYPKL5VxdTj_SzhxtRJsmizyjYoTxv80UCCTA"; e_fb_builduser="AcKv3kymiIYN2f9jHjdOYgDpHg8EpEYdWStW72ho5uMfJCQOg-9pXn5hfmeNZOvsnnc"; e_fb_httpversion="AcKW3TXuboXNTZ09pYxNpNupZnkhurY-IpMzcdql1YaDN3J5bqnrM0fdf1uE"; e_fb_binaryversion="AcKQt-dW2mtvzz9CyOWkJzpH3emirBBpz_LFB6a4ma6HfYaXdo4iMfArHxDGCXp5ZGtRDu4uV1i-bDNPsfyP8TcigczFEFeQMQI"; e_proxy="AcKZSLUlFCgYBA4IEFkefrAYVJibXcTp7vVYqsMXK0GgCIPDN3eeIy6-sQ5L3IEP2jGsplSZck0R9BIBmz6x", http_request_error; e_fb_configversion="AcJbw1nGGFc_dPiCFkpa1k69NEHBnnLTpUAc2LDdBKSnD2WzejYKy_y0rzaj9g"; e_clientaddr="AcI2R6aei_Jj8gqa3juUnf87dn9PEvwYKNmv_vXyv5gMo-jw6Az9BN_FwGEv_1UoGFhRnJ_hzVCj_rjkAA"; e_fb_vipport="AcJT4aKWL4GlzZd7Kb0oISBMsk8WBZji8UrqShkYnSFgaNUufiXtyOKC9mhO"; e_upip="AcJujgQHxyerk5Nbmkrw3sWB-aUgFHdrbLECrfzaQPSHL1ZEBuOIzX0L6NK9Y3Y6GNJBNuSP-W9nkyrnEEKGWIyRU0BeUBPLTg"; e_fb_requestsequencenumber="AcK7lHTUmLnQ3Sxf4HwNu0UVktPVPS-Iog8kNQ7TaXSBX_g0XnhmtFXiUQ"; e_fb_hostheader="AcJexTy7xraFRl0m4pPnhw3w3PDk4nidiIy99_vdByKKCkzjGNkAYtcoFXqXDI0E-L7Rk9atY2NYL6QR"; e_fb_vipaddr="AcICuNocdzjgmP6sFJ49kmQKJYHLeNqpgh7qF5389KGSsKLckEZIlwk7e4uD8gY4yAxTbDGq1w"; e_fb_requesthandler="AcIf-CU-V6ft2PwYCs5ir8rTKmbPdhetiTeZea4SgD3qd0uDCDY8Hh7fZtKWVo_6jm8zqNv9Grg"; e_fb_requesttime="AcKCukAav1uhgrhCe9h6faOz06z9iLDpr29thWAKTGaq73FT1G7b0I_Mp7FQh-J_bhN9ofqxsg"; e_fb_builduser="AcK4KYs32iPA6NlnaSD71_sSwAJetWk6GGIOI5bnb-CuKNQ91SSQKzGXgnqTgbZCJr8"; e_fb_httpversion="AcIn6DB6uZ_zPC3s0tiPpG8g6b5Ryhwnj4tb00XE4SFErNDuwP1HjT3RAaUa"; e_fb_binaryversion="AcKG5L2hu4mjaroTG9cdbjC_4a5sScEgRYe05fChGQuxGltl1SlS5Y5OxLCmNAF-qN133ZXfm6IyvnVazc3wZW2v3KL3J3AXbbM"; e_proxy="AcLvCH-CIjCqkmSjr8gpVbrEZzFJUazVbiiMaS1Wlkm_EcRKn5yALnkWbhLeTMLcTk8Tt53v4z4NvQ8"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6619417378160037"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 18:23:27: Error on send one message facebookId => 6619417378160037 03/12/2024 18:23:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASbYvVnhtXFySFjVLryHegA" } } 03/12/2024 18:23:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/12/2024 18:23:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/12/2024 18:23:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6619417378160037"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10976219, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANNDsxI6h4DpM5yUWTs_YBq', 'x-fb-trace-id': 'EyTbiJMSc8R', 'x-fb-rev': '1011999191', 'x-fb-debug': 'gi3vLBSejF1qVvVIYdJcpTpHeW4V3XASKSGf8VcUjXLYUEkD84dJGmVU+39C2Yj/tuW4p1E0CnO4Oddp5pyxQg==', date: 'Tue, 12 Mar 2024 18:23:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJOsh_X8i7XNRNVy_pDLoGdo6oAxLytanq8MPEkC2YbDcc7fu87VaMFW2XQ_Q"; e_clientaddr="AcJQiXOF1AYSmkekCS9isTGvrVQ24L7LgMbSDo0OjKVRPISWCdM1wCfjvqrtHKaw7Nesh2QvNGa9k8ar_R4bZbn8v2YDcs2e9VA7Vgbno-r43IeONQ"; e_fb_vipport="AcJkezd2MoL7Erk7euPQ6nUqigFm0PWWkNYv4o1SLAq0d5_tU_fosGGYIKpS"; e_upip="AcJdHipM0axdFlvwzLqS9tC3IMB-Qyno-HM6K4DY0f3WpNyQjTtSaHNiI_MYLy7A_CX9v5cdV1tOhm9Wr6tzCPymttKbh8fiVNk"; e_fb_requestsequencenumber="AcJ0XFnT5uRuc57_p0aB_eiCGHcg03Uf8R62dAzvMu-AZ-0lK4o3OUrmlIYc"; e_fb_hostheader="AcJom8M8gcoRz-pN7T-3F-QgyQ_P8oGjug6h-Jamb8RFdP_eUH49KVhz4qg2h7q6AH-iE-4lp0xBQNEg"; e_fb_vipaddr="AcK6dyCeN8Fdu_ycfZ6Du3OTmZWwI8VsW6eC88ifGhyM0ao1bPhvjTX8xD3LBQNz4uNlV3VZJavXgKZsyZKQn_9Qy62e-rHz4w"; e_fb_requesthandler="AcIfNNuoPS0dPxy6zhSflFZ9KaQhkETPTflLUyu-mvF8o5MLWGw9l5PaU5mEfRqxbnoHojWybRU"; e_fb_requesttime="AcIZ_vKmr5tC3mJIUX0qCae5pEJNkgTizDGeqXMFcq1o71xgHlHfWy66VI8_t0_eX3NXrQnwjA"; e_fb_builduser="AcIzNKP3UHF3J3ZtcGIR7nMJqGrJjzjGpVwSKMda1aAQIYfH9WLi6OVXY6YFKVGPtRs"; e_fb_httpversion="AcKkq61Z2pd14T9VKxusSZweKoSdhZ-ohXg7mg_m_ASwi3FxhmCpE_mqwnZ1"; e_fb_binaryversion="AcIm66HytoGfAHgk05w_2_JvfwIYQcPdRHjFkJfv9Cx8_MN0fsHb0SnpSb-5uLZwNaHoMMtRNPTLosnQ-CpKNwqk27K87L6dBCs"; e_proxy="AcIQ_tmMTGC-wcfPaY-KoQ7RNbnrOD3uTlseW-G4sziwQVxv_5ryxLcqQkIQtQJ6xVWroMqQbTsSRc_hxFMr", http_request_error; e_fb_configversion="AcJw7tKXBQoCRAZHKMaZ7-CBQoPQoULr3jFkhOmj2DXweh7MtgFpUt-QNHnfoQ"; e_clientaddr="AcLGnyXrt-qjo-Tm3HvB9b-ageSw35K02gkUtqj6wMwUQ9dlwRi_wuqbSBv0uV4DZMKfvMaQW64eQu8_BQ"; e_fb_vipport="AcKM5DkIg3Cie_18X7bZjETE4fdSkNvu2E4EVGNluq9MgJE01OLHbTjiezHT"; e_upip="AcIZw7gV7UTiAHMz6hvbhphv-61JHHC9M27IvMwZH0VPlEnTGBtep-6dLjh7wge5MO-R9PHuK8YpSOiFtoVQqbY-pAsivSArWg"; e_fb_requestsequencenumber="AcIKpajDizWZXkS8EclXjjqBK7ECCIrjaXXpznUQMnH-Ev1DbxmnjCQCuA"; e_fb_hostheader="AcLtplOzfa0zZuBdkJ1_KcmigNiqjtyhGUzvAFYL2IarH5z3o31EH0YsCUHmnqH_UxOfjR6syaIJIkWX"; e_fb_vipaddr="AcIsnQFfuS14Emmt92GHVHKsuQXh1gLKnP1nFxEK4uCJGPhnABRlfEZsTtyPfFarFc7Jp6S9oA"; e_fb_requesthandler="AcIqqXvsy71Il3XldtivMvdttPKrHFrLHWOu3G3DjlWSnA-MMcecVAw9sd4yCjn6-ECQX9Yn6fU"; e_fb_requesttime="AcIJocf4bfZgMCH9vzxw2hVe8EKiPJ-IU0GcoXw4iajmktqNDhvpoXIP2WZVcBZDzMBgqeaRTw"; e_fb_builduser="AcK89rmAGf20tLGBcZ0nEtKSYz5X6fznu31ADyK1-1HTBR_S-bRAo-liAUkNKz8DTAc"; e_fb_httpversion="AcJP6u1QZaI5Tw5R2JqLUL32m3wiuHZ7otbrWXGg5x5LfuX5jOwEfMYHwjrX"; e_fb_binaryversion="AcKPP5fO5xY7ovASxwld1JMfBK8sL1TJkdO69_EEwG6Fh39uEyI9vcbFFQrSe18bXJsZMi4cfpQbZP6RKixzou-DGgThmO2kybM"; e_proxy="AcKg7v8gfLiBPM37lUa6YemOtxSPjH4IgOwM4lBc_J9RtufWFUl9_19fhAZfTFtDcHSs1TvS_nWVBS0"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=194, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6619417378160037"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/12/2024 18:25:48: Request bot not found: { id: '133788230054854' } 03/12/2024 22:37:55: Request bot not found: { id: '133788230054854' } 03/13/2024 02:34:20: Error on send one message facebookId => 5045970722172617 03/13/2024 02:34:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJLC9QugmpQoJHR7Dv8Jll2" } } 03/13/2024 02:34:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 02:39:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 02:39:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 02:39:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11059707, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APi8QLdTf9-UZDwntYCVtxh', 'x-fb-trace-id': 'AmBpfycq0W5', 'x-fb-rev': '1012007316', 'x-fb-debug': 'lGAOtIPvGmnH/dZpgxbIkbZi9ubmyM+nsDNSPyJPSbuhMi4lX3ELa7ObvzrKoaOssTdV5v8FoXmdYPPUNpp0NQ==', date: 'Wed, 13 Mar 2024 02:39:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLAhGhgAQSwkmM_o1syZUMNp4kamTndEdSLZ0NH1nsEYExATFMHa-aKttrVxA"; e_clientaddr="AcIGdVvHAEHeAP2pbMd43vJIoNJByH-GjkaNWrcxnHY6p8X7064qRTEseaaTNqD5WtW_4Z8advt0otE2A-h_-Lb2ADcTpM08sNVSJfCUY-mNt6V3nA"; e_fb_vipport="AcK1wxR6RM6B_QaM1KrXzifqF5TzyjHJSNTkIxkNaJYfGkQohaldS1qyRq_K"; e_upip="AcKAQwAEy1M1pO_P_ZYCnJCo6GM9ZIP1X3mfrz4T9VHm1lj3WlY5beOp-p-KDyjngvb_-foJgLYddWUf7VWr-EwBD-1cQuUwl4g"; e_fb_requestsequencenumber="AcJtlaw0K0toCU-OAXOCvb1Nvq0HyFPSvHryb8TDSTU3zYOeWn478mZKSKXjGA"; e_fb_hostheader="AcIplG6th9kNDSV8sHTRGpEuslwlxBvH1h7ShQqSkwfVyXLHjpT1yKFYB92x8odgIpVYChLUvfxN2C2h"; e_fb_vipaddr="AcL6JS6Qa7PoqRNs1BySjJt_B5PLIoLnnYm71ZsQZYrAGt7aiwtiHXRkJPiJ6_uR4KLH0F0sOh5DZHzYUuSx4hw6RaVVWFa9dg"; e_fb_requesthandler="AcLfaxT_yWn2YZtl_9e61K4_-32rSYGXhhOIVMiOIsOPdo3JUSX8oYWSQH0rHbbSuFEs3daXRU4"; e_fb_requesttime="AcKb8B-P8StkEWvRJd-oHj4Wu7A04ys_41BAFfhP9nXqMfXl0cMgngI5GYzLWKvO1rvdct7VLg"; e_fb_builduser="AcIGJ4KGr2Q_V-KljemW5sWPPew-EhYdrxP8NDAy3OjqBrqI-nGp5P3jOiVwBJadG5w"; e_fb_httpversion="AcJOr3KXrDorJgqvE4Ue-HUT2fIqnl34kNIhK2Pq0crDgtFAIloDVYxaJ9zB"; e_fb_binaryversion="AcJJSol0t5zp4g4TLG7COGtzP6He3qyX35H5ONBGqmxrBmegI9K8uBUW2QXDIR_SgqgP2Y6-2Q8LcEYecbQMXQ392pyIFvWL_j4"; e_proxy="AcKk4ah0-4vx9vjjVzKwy-luvCNfMYWt-8eaFzOAQRAZ15UrqZN2IByzYvvHQ1yWPr02Y_r758Q9VGyc6PRl", http_request_error; e_fb_configversion="AcLbvnQ3nYhvvZfPanLKJ-zbaSovXRuU557wCxL83Xvltz6JnT0Fdol7vDgEOg"; e_clientaddr="AcJgHDD48HSQN-HX43xAJO0svwgYtW4jv_C4JYivhkiJA8a2bu_DfgK43m82Gahph3duFKx9MsvatSNJQQ"; e_fb_vipport="AcKj7Kt3DMkdaEyO34qGB1ZanvVnaOSe4wo_cOEtcjyWZFgxPx7IpdhDXGXT"; e_upip="AcLr_iYqy5HMw6MUP0KZVILFG_varxMrPiReFr1o3PsSQRN9wYVyo_0esJNu83PfEfuZBoDELl1C3bWlWMm3B69uZ_f9XoNtmA"; e_fb_requestsequencenumber="AcJhq3WXCZQLmU3FJvrwI5LMPA7PZgCNLWjFOF9Ig5SFbuiE6nSab7rQEw"; e_fb_hostheader="AcKeuOpsh8yy9kYnE-pcruEYO7tWQoww7wNoAIuK9K5NX4OMQ2JtSExwkG2GqZYy-cB0hqI8HbXBuLG7"; e_fb_vipaddr="AcKWXWrtPXeildQ8LTzhdrfuX3SSLct6VWZM3y6JfRxQpebY2qoi23g1IyKeTGtQeb1uQEolcg"; e_fb_requesthandler="AcLSrHEt2Gm7lLUKvoCHVipDjOcXtn75UJTxRGocrmHimW9a-48QVLmmEU738XC8joogfXCYkb0"; e_fb_requesttime="AcLrt6P9BiYvg_hiNk8Q_WvCxYbQ27JwxQpQiwfvm3_ibj1kyLsmA4aL_NKYNTXX0PfQwst-mQ"; e_fb_builduser="AcJWS5n3MulelXQyBDaEficTCYNFsUKpIP78L8LBBsorlIFfMc8Sk-tWSL9aaCCGwvY"; e_fb_httpversion="AcI09fAGCkceKjOgsaF6-7mlJNd_Rdqpo8ElXONX7VemuJgRil7veRy-_pdz"; e_fb_binaryversion="AcLVv2PCsR-l6Nx6N8-RJB0XQN7aFG_2zX0EjfP6URq3Xh24dG2osLZWzXVfXBjAwy-HLd140qsfk5ynM45hqBkF2-rJaeyz3kE"; e_proxy="AcJHD0Ay7ilFZIOsprgGOX6GO0wUZ51PVVfdPQp3oYrm99AEZeKPBzITJ4dsUbF6fnE9-Tn7YLPIpKk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=187, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 02:39:37: Error on send one message facebookId => 7412313965495504 03/13/2024 02:39:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AineCfyQNW5D35xawBSyaY_" } } 03/13/2024 02:39:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 02:39:40: Error on send one message facebookId => 7412313965495504 03/13/2024 02:39:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AMGa4SMVNjS33Fr8C-rm3lv" } } 03/13/2024 02:39:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 02:39:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11059873, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAHq_10mUm9KGHDpBXurnil', 'x-fb-trace-id': 'BfGC8K5ZSC/', 'x-fb-rev': '1012007316', 'x-fb-debug': 'pwLR0GVIiTElmJP2Ixn2r+9cu2Mri7cM+ZsWVSNjwdMwkhyq56fVo8JLy6ZWrPIfYyK5cbfNL3u2ETtLnQX8aw==', date: 'Wed, 13 Mar 2024 02:39:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKNe_o5l32i_pIhpReYqlohCPd8kWX-j1eMhQNAZhp88l2XvT3Vu3nXxDcz4A"; e_clientaddr="AcLya1NSjOTOMj3t8WHEjyML3HDwjqAmx--WgeNITFVSgdolGptDn_mTo-CF02hCMJQ0sDDm5AIl0UekqUdl9WQ6oFBuEvPx4pUbx0zi1xJgsrHVhw"; e_fb_vipport="AcIBq9O0sJNiHZdwGVoA2aY2LXADh7b3bjT_R61dfF-Xnap0rCc73SlHWTem"; e_upip="AcJSnAGJTseLiJOKwVMMnurZL8n8hDOjiOjxUZ2q3_uGOL6K50-DBgOCiG4vWVgr3H-eeKDqqXP9FOmXPazLodeg7SLtoYK51jA"; e_fb_requestsequencenumber="AcJrZZL6x6g2yuCpyY_O6EV9ODERUG2CtgAd_O-AEPRDKlBOs6dtgS4SnFm8"; e_fb_hostheader="AcLh2P4IRIyv2dAUT9nwG8j3u0iYlNI9SydsyoksVqAZQ31vzk6fWpyF7RJpz69z3aAN0EZYQLfM9iWD"; e_fb_vipaddr="AcKLOJjEB8ctx0xEvFy1pRVU2FS-z8_zSeeEIHsQXvZ1rLQnSKe39lYJRSa7DrUIR_2gPjtCKySEFMexltru5Ms4zryoz5dB4Q"; e_fb_requesthandler="AcKHhPsp8I668OxUXjdlVx-NcnpmfZfhVoLM4BpaUDTC5px_lkFKv8ZkHysIIcqfh74BfYAen1Q"; e_fb_requesttime="AcJ_KdA0olu_IJ7YxJp2HiAmrCpmwSB3WEhHo5vyCpYTCtTE-wybCrhTx4YRW8ii2IdWLpoGwg"; e_fb_builduser="AcLB_md2weYlbiUxjsCjzCA4Cd4sxmwdSZ7sfMNs_UP54ESz4bBye0Cs7oiTDkWD7f0"; e_fb_httpversion="AcInMqasMwAEjukmp2XiS3Pj5FP9FrO6tsbJ5GjPl5VYd9O56VeiLNjKRz25"; e_fb_binaryversion="AcJaLOw3wylldkBeseGRtNad-noA9PtqquJwFeFsG9UC1KyorPZM0iC4tBSKgdOnH7HX6SFLy950y09iVyhy4pGkIo69dP1_q9g"; e_proxy="AcJxpRLO0ltwOtrECeQShRy_--H92X6nv-hSmyrnn42_3lKiYSJlItv4DpYu6u7bRrsw_lrK5rxppZQrRRI", http_request_error; e_fb_configversion="AcKydHBS2OEEeM88iYx7L_--gEZQYOKfLaA3rhug22lVa7v7dw_cwQ2LXszH4g"; e_clientaddr="AcInqUDXl-rE22AMOxp3EGaTRBoK1AsUO1HmZPQu92Xe0Xi0ifaX3as_eZT0E52cwD89Ygt2rW8KXh0b0g"; e_fb_vipport="AcKpLMeShv6NSenTEnkm99YJ3eQ4NVPtjj6gwnUZJzFVtMA4dLtf_N3c1jtE"; e_upip="AcJaGuUYScgt2_U9mtZRr4HkDtJTEte0hnOVAI_ALfLuXwlle5iB-94IyXqQkpU5rruRUd4VDclie08ksSYkG1eGqeiXkrD6Bg"; e_fb_requestsequencenumber="AcKzCZjD59bTh02bgTeJwYUKeEXCXOzM4cPdwTycVJuIh2N_DYI7Cb1fcA"; e_fb_hostheader="AcJrKpU--cajoO8q023MZ40MfPm8MeV6PYJSTd2Ney7WHi9XgHNK_Sp2L-i7c_24D25HB-9uIkdhW3Sg"; e_fb_vipaddr="AcJs33-xMjRnDiAP3s6wHfxZq5VF3JcDrUTBH-B0zWExnCrgwgdmDVBexdiczSy7GGCwis4srQ"; e_fb_requesthandler="AcKDnhVBrK-hBEJzMS3z8OxQF7vX0F1btJKY_mRyaCdYIwGDnDf5FXG0knSyVCyDoencQ_hfPro"; e_fb_requesttime="AcJQ8cUWe34MoZRqFo9iMeDJnt1mDNkSvqiEJdWZd7gqxnH7SPd3UllNAFKKehPU9DRNt65BSA"; e_fb_builduser="AcIK-9EWrisHFb26q853-w3JJFUlptgjo5cCj3WEBaYKgWxW0wQTPnlOBVY2xbSk7Tg"; e_fb_httpversion="AcItjQ9qFf1IHdgVHfNRbycq8_Ik4fXLcKqRkrA-K1r9kScl8aQaBKfPFiib"; e_fb_binaryversion="AcJPb7rR60qlhjgyzDpAQEC9lERVoNgjeq0ixHqhRQP7IshdAx-5wLZRQGKeDdpo3vl47hqr6oweixV8kKNd_8AZdeKEtTY4scA"; e_proxy="AcLkiD5pIz2-KpBB9BTwawvGQIebZv-79Pik50SvFjPjIieEL4W6KXLdcN6bTlJgTsBFI-q8j7PFjss"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7412313965495504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 09:44:48: Error switching inputType 03/13/2024 09:44:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 09:44:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 11:08:47: Error on send one message facebookId => 5045970722172617 03/13/2024 11:08:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7rVkzX0Wgc8IezVWtuFQyG" } } 03/13/2024 11:08:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 11:08:52: Error on send one message facebookId => 5045970722172617 03/13/2024 11:08:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AI43m39rx07X5CLGWo-iduR" } } 03/13/2024 11:08:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 11:25:26: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7646589608708903?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11149442, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7646589608708903?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7646589608708903?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7646589608708903?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7646589608708903?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ap46tQv7G9QqwbKpceiZcRT', 'x-fb-trace-id': 'GmgpZ7Kfgj2', 'x-fb-rev': '1012023645', 'x-fb-debug': 'kyq1wseZHVPojo80iOj0MEzFG/CjrAMkKo9Z5hYZRQIsWmJV82v6P5QYRdBSFKEFf175T/4qewtHkQedEFCWlA==', date: 'Wed, 13 Mar 2024 11:25:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJCGuNVPUv94Ypo6h1xXpQxEgPvw64fSM1yrpoKlQD8UmyP1U7RpCXmUTjzLQ"; e_clientaddr="AcIdTBwouk_TNhDMnphTxsZiNiRJNXXJLarqeIb3fGb1ThaqRxu9wwRtqiteiYuAYHlrEH8Sh2qn_LSOkl_3NighRSiBnKl6Cu17b7D-lvaMGHKTiQ"; e_fb_vipport="AcL9lWLid8Ox51ixyS7Z3pwAdACvEu_zntkTfP_JIeHDu7wIJX6zy_sEc6Vi"; e_upip="AcIehqjgyr5dG1oOff1_z27Pjcl7d4wriJ7bpXo66UBQHLDp2F89o6ODFfMwgzZi1FXmOOUxjVHJlljq85z9B2nUu5BZyNo5zQ"; e_fb_requestsequencenumber="AcLckIt9rjHjQTE5bJJPcONzePip-TyRmnWu8CVPH_Kv8LSfmLUkGssP6ZsDqQ"; e_fb_hostheader="AcJPlH3ame07VGWGctIElZCmXwOW7InNiKFt_MIJBDsWTjir6mXrvY-wwSuu5wtOqDR1UX62P1MniOB6"; e_fb_vipaddr="AcIyTQP3H9rHhOSp-ciAaTEklmD6zidu79-AZW79rQI0Xds4l2ttULlzK1dUXAV8-8OXNFORO4HRu9tjaoBRUUxdlSFNqH3UiA"; e_fb_requesthandler="AcI41r6uq6QkYBuF7ebOY_rYKqx8rKnCSQvC7z2non69a6RXvU-pwzzNt4c60ObJgVrRfTzMEk4"; e_fb_requesttime="AcJUcinCuP0vaQ8Y1Fr2HX3OC24nLkuIRYgYddIaUdrvFJwKqIi8rgGuf87FAogt4I6fpQ5xvg"; e_fb_builduser="AcKfhk0rm3U6Iujrsb3gSBnicGAVIwq2YahLKND3COnZRu9wIqZI40MVOsOqgzOq3wU"; e_fb_httpversion="AcITIpGcERxvbbpIwFVmH1x8hErClrSlP8nenyiv6qtABuIHM8VjTFdyAiEV"; e_fb_binaryversion="AcIByGsRxptOHOHGm8nzp-Y-qtobyKm3EsUD6dsNXDAAEsEjMh7utfuy6hsUt9QavMoJGIjgiC52v-Qgdfj8Z4ypMGpZB3nxf0E"; e_proxy="AcLMWY5dafpeOR0USodhhU1GruBe0hTEQfJPNKOfuGoPzz4OkprhdMpxLFXZME8XCfuXugmtgTrSauOaaes_", http_request_error; e_fb_configversion="AcKjsqgGpgulr_X-9abF-h_ESqQ7zilim9108q2YRI8S6nQ1Dg_0i3wh-srRbg"; e_clientaddr="AcKw2ZYDqZ3v8aHQDtKl74OOqINAc08EH7iPZ1joV52dwqDMiQZ2CmfVVrSUEwek6QlejIA6H4Gx9_qhxg"; e_fb_vipport="AcJhwNLm4aR_qqpm-SGq5gv7wbsu0vayU0uKw4W4bc0B5RkD9pXi2SSNUEjO"; e_upip="AcJ_y0ez6Ae9-1oAfqb3onoTWR-37FJXCVDQ3GK_Iw2k5bF_1yQrclFCWqGxT7SKbmqj4mJusTE7UyMsrZs8nfAnAUnG3vpqSg"; e_fb_requestsequencenumber="AcILfpyguRIKznXeE_bdLxtOuwaAGqO7JDd3HUh7_z5sdxg1YsINlDboQA"; e_fb_hostheader="AcICB78vKZruywVviMaEak-EQIRQdtPy3WkFmzolwBXQmnIiAlxNhf_PI1ACysGbZtgbmcJjkh-fYTFS"; e_fb_vipaddr="AcKDSAWmcvNl5w6FFWR315jOT1tifbGUos2XIgGBcEIKki8PM9P9wEU5uWDwL5flyB_FiqCHnQ"; e_fb_requesthandler="AcLXHp4gmBA0x0FrstMld74sr7b5SPbXtIG95CXvn9grU4652uDcbjIp-cAp7YWZCbJ7pzwa_3g"; e_fb_requesttime="AcJbU1YPxGKl1XZ7obbU9eWmE3O07mLkyOR3sIRxwuEty4ZWf6teF7yGBKN0EH0qzRo4zNi48w"; e_fb_builduser="AcI5QaJeNwHCY0Ye4yj8ppyVBDVY_x6XztgTDd2UQVGqgDlNmOFvzSmHij7uAV4Is8I"; e_fb_httpversion="AcIW6koxGz6K6XG681rt1PSde9-DMphwufrofKpnEyti3QEoIN6QTSMUDick"; e_fb_binaryversion="AcJyDBzkUfgiGQ5kicOaa_fAsyC8rD-ljkDOWJNXtxiYYN8-P33ITYS65_1MomwMqthIgvbzTMlyWik9yPVI64nN5csya9E-KiI"; e_proxy="AcIU5e-K4oQydOvWCZmq50GeF_6wYjhuP-fsGUjuECfiwxp7ueNzqUZpFBFi_pTg-_0Aew0c9sfoT9o"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7646589608708903?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7646589608708903?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7646589608708903?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 11:25:26: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 11:25:26: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 11:25:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7646589608708903"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11149560, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AS_aBXdyGfgevMQNlAQIaFD', 'x-fb-trace-id': 'B/4iljHQoZb', 'x-fb-rev': '1012023645', 'x-fb-debug': 'TpaWMr1n5neVmUb7A0ue0u8yhKJYkKQir1Ts4U3vNyOoqzXOjL/9Y7p0mygZlLwmV5zSTdT7tuYdnM8A6W5xdw==', date: 'Wed, 13 Mar 2024 11:25:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLtx1j-ekTyG90XDypnaYWpsKMryor337dovYJUxNhM6yIw6GouVACTYiDb0Q"; e_clientaddr="AcKiDSx-ZePPD8BkbVd7eY2O8DDpl9rG5hSI0B6LYkfiyhue69cdpP5YA8HbbS0DtHa35YtNycn723uCKRYJ-TxdVUWBvO20bYTE5ibQp3up75UZYQ"; e_fb_vipport="AcJZuP7vWcshcwZOhNoVCKWjHj2HKz72MWsWRZZUuA8YYu7UCApNLYijUTHe"; e_upip="AcIJDQTYi8soyT1cwF_WjYxJ0BljzBTNthkd5ucCBha1ovP2AaAwnB9xm4qg9kwPf8YZZ8Zph_D1dhi4GCfBa_UyS_vqeo0fM1Y"; e_fb_requestsequencenumber="AcKHj6RL_cplfQkBINqsnsats3_TzyvqHi-whtqJGOPs1lvdEAhnFgzQbT-mgQ"; e_fb_hostheader="AcIUskJUdtl_ryLKunIODYlnCNPwn-cjAcF6UzwpiF8qqtqLubj05anJXhxIUKQYo_EuLhIrjMrfxtzT"; e_fb_vipaddr="AcINnuftXN0BaRG_vBEkr0iVa8UMLpPphtCPi1gAGY_svsBs5Q7EG6jBigi_QrZ8ua2cCErIMqwsCSwNdaNwedug5N8OKDfn4Q"; e_fb_requesthandler="AcIdJh0vg4f0T77ImdQBBoMaHqHfO0hYHPkY3QeEGOjfbvXSQE_z79Kpnm5jBYpNFML4qXk029o"; e_fb_requesttime="AcK8lwbsD-yZzvh2HDs89FUcvZF8Vh_GM8f77ssBRVODlRNepCUmaazDtXqoIOyjp9NUMR_tNA"; e_fb_builduser="AcIbqSeef72ZPLxK9BnI81YcG6nBB6ujQP_80hm87kpv8BcNoj_yjbOMcZwOhhmu9nw"; e_fb_httpversion="AcKxPsoMrmMHt1mghn9OkH_k_BDOjQl68fZUvGoExg-Xg59PQXRTXxEN4KLf"; e_fb_binaryversion="AcIr1NAElbmWrrPjSMvJqFCSG12rT8VZqD5qYh1M1bDPGd7xJl8jnw5cp8G9A8F8wgil2wosXR82Vad2B-hWYs1WtsXmuW8EWhs"; e_proxy="AcJc5H_I2oZKNrSf2dk7Prw7IR6PD4o2NxaStEbp8zZ9lbJHjQF_SY1QZqOcyatcka4YslHlYxH0X8HjAbyZ", http_request_error; e_fb_configversion="AcK9WUdCgauOPkZ6THtsSDMEahUdyn2DNvArbC6hes86T6q00MyirAyycIt0AQ"; e_clientaddr="AcLCcjfo6EUhvBa3Kn1mk9a181kyqlEWI0XshwmmcsBU63ZPa2kv7Ealm9G_TePvo4HSoLmLZqWd62_leA"; e_fb_vipport="AcJ4jhBuNrVSIiMKeopjIOpu8tDT5U4oyXq9IYlTGc8AKoKPQvqcM7GElykl"; e_upip="AcLRFPaF5YUCxEhRmMB__E6cChgJk7kjQh081BE0m0JqGXYOu4R0i8-9Pf_oQlSrzohYrZuTMI9HOfcyZR7Z0aRqLxaoR87iug"; e_fb_requestsequencenumber="AcIFW3M1jYpmpHsGnwiXt5BjGNGCNIjGOqDxrPsbO7HPXTIwnhPRegOzkQ"; e_fb_hostheader="AcLdUlNKCI2ZAd8BC53L_-H_OR9mk9exPMWgQ9Sr6-4wg4D9Ri1T1nwJPEHsjrX2I2FOgsRVP-SZx62J"; e_fb_vipaddr="AcIPmmVIX62sjpAk3ia1Vw1fjgxoFSbBfVG8xNNIw3brpcg4Oyv5IdpiKS---7ZbKXiW5uFLvQ"; e_fb_requesthandler="AcIhJ1SYSw4rSiYG4sJbhc9EVuE6zGfqAb9uOW6IMsDDQU44g0nbhjlJKne8gkRe17T2yVoP1UM"; e_fb_requesttime="AcI8cOYeeLqx90KOy6rQbh4Z_q_FLLkpxS9--l8ZrRHjouTaZsk-i_CRVjRG7qlHN_LsZpPsbA"; e_fb_builduser="AcLgoh6v41H5lK0kdbz_mTJB7izp9WxjKC1-M3j_00Z-rtJTKwcfb7DFC_j6VFtKIYY"; e_fb_httpversion="AcJUISlU5ZQGABzDORwY8b7a-loBdfYQ6sEpZG1HHPtzD4z52BFBVz2gkFQi"; e_fb_binaryversion="AcJyNdHy26ZoVMajxwSRLRjOhIJRKyJ9anG_YmZB0yewODwiODkrgnbfmu-khNFgnoaOmQG08KNbeL5WirVUu3YlG8GAcReOMqE"; e_proxy="AcKSxRwCbo5itgEeIjM6wAM9upoReBzpilzio42AvMqxC0RAxM8gucKzSBihOecR6hv6clvNGolnwlI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=182, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7646589608708903"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 11:25:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 11:25:28: Error on send one message facebookId => 7646589608708903 03/13/2024 11:25:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AjvGjhExkVX9fLJoPRzZvOO" } } 03/13/2024 11:25:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 11:25:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7646589608708903"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11149638, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhNvhV6u3SntJuT7_FfDrE9', 'x-fb-trace-id': 'EuxstBmr3PY', 'x-fb-rev': '1012023645', 'x-fb-debug': 'fDubFToD0jHTZtkvrSU08vdxB+22n+fmp6lTVWvLgirfAdA8r6SPzJI+lgVHRV1+wn4L/aQHvWJ+aZCxrTEkMA==', date: 'Wed, 13 Mar 2024 11:25:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLrmsZZKcPf1eR-mC4lTWgdy4EABwKpR4OU_TaJ8-r5VC407fJ8iPtqp33LAw"; e_clientaddr="AcIAQ4ieWt_jZ9cJxNU-mJkuXiSz9T2PEBcdysGcJ9SDTM4nG_Jyz8qnf80Lks2lQi8By5eKXGpSzscRGyZ-9pDlxURMAaj_embxQb7yXaXVTnwXTw"; e_fb_vipport="AcLuG3EEO-PrPYuZUeXOaALyH1QQ85KnolRAvsWbRUSdvpOzQC12JOx3fAH_"; e_upip="AcJKggy2N8ZewnnEajfOxbDo0oTPJcHgniHlCf9xX7kArX_Dey9jdSyNL-D0Ct-RBvk96P-oafzWC6f3KIRcThRb-thw3S9GTaI"; e_fb_requestsequencenumber="AcKk1M9cIffaghCi6t98N0WFx-vZITTdDu1TCnz0mhj9VmDTWJd6EeJ97p4Mcg"; e_fb_hostheader="AcIVJbQn0f7uMBK3loQJMSC3NeSJb2fXTMk1GzLvsIQ5wwTpykarOLJofQoZyjPirY_AC_X64yYpsQRf"; e_fb_vipaddr="AcIDIdFqtNrjIMcZ5aTnwiPa0BnqdjF7QUvdVC3b9V_VMqEswr9ikP6QVz4tR0pOQwTQ05FOmp7wx7_vPaZDrZNkeK53rOF1WA"; e_fb_requesthandler="AcI1dHGrb8Wwh5grarUvG_TqZzrY7jP9SDlpP8tvYlCxeR-CW3eYN-dsFd0mom8y9ds7_2xwFNY"; e_fb_requesttime="AcKtJ4dbDyDTfKhWI2d9qQA8BSQ89uRzlViG1hi-uZC-csV-oUgPnU02QFsXKJ8d8d-NA-ikbw"; e_fb_builduser="AcJ--6C8p3qOThceNSFcaf4II0ley0IuAfy_N41VlH28lTtZfXnzGNkegMWlfgIZpMk"; e_fb_httpversion="AcLtdC-Yts5JhMWoTiZv2sY-qV7hzii-pLP70d_ujChpkyE0e_gZ2XFaZ3ok"; e_fb_binaryversion="AcK-NNk7OBmHeFQCZAN_RCBY1mL69q0djNQOi8-AQDSG_1eLQno9PM4Qf7RTDy2HKouYmlONynmPwDuPFlkpKhpz_2K3YAb3gI8"; e_proxy="AcJFhJr8_weIJmMHIQstZAzEm6rQ95FiUKaz5HbbMDDyR_mBSQCgbuvKek2wtMosV8FtciVz0E4WVbrpHRdV", http_request_error; e_fb_configversion="AcLx2M_oECb_WSWnprV8Siz11CmwSP_CDeOxkVNIT4cO6FqQwy7O0RtrVWN3jA"; e_clientaddr="AcK9OAJ9MXgTDHozX3B3UkFKWdErG76SvkpPBYyBZKCJQMoSbTsrFvWtjA5h1KbNF568FrHJvDbhg4AHJg"; e_fb_vipport="AcLDcvmWaP_ZD6ljYRS7mrZZgH7Jnvm5AF2itom5rZB_6NIbTUd0dl3aWHhd"; e_upip="AcKDeQ6q4wsw_JGUuxrbPdeS9onExdX7G6PzFV58LjDL1343SNLDMXBFf4Ha-wz2jxZbkVFEsmJhkYzrL6qyDTX_T-vGGpdzqQ"; e_fb_requestsequencenumber="AcKjUy2qBehPDZsrIfHsDWOyG7Uv1rlq5cUMaPP2vmcZ2GZ7LOKCs1zkZg"; e_fb_hostheader="AcLfP74ZAjBlbJxn0ePC3MpusvlhQA-iIQFpBJIoQ3GJ15HvHsw8v5nKS7RsEP8D0M-M-91trTLl1L7Z"; e_fb_vipaddr="AcITMxNCAuNrFE4OijAIV168Q2CGrtGDTsuCe0_BCCrtpq9yEvDFZe-j-6FnY82_9p6J2moDAg"; e_fb_requesthandler="AcLHxrJIM0YDyO1W7_0v56CoKLOyT2yMLC8aazXO_FOmOq2y78DXMk4yzW2m-Rcp_NJAZiH5Cp8"; e_fb_requesttime="AcL3wpSqwuqaQIZ2i5D-fGE4peQqzsPnEdjsvRFIsYEgo_j40UdydQA_xTKlTeJBdaamW4vHzg"; e_fb_builduser="AcJDX-Z3XTbD7xqq9YRMDKP2xH_1gNZtmdais_Ku34sEHVieu8Jz1b1_Ohbu6JK8wFA"; e_fb_httpversion="AcJqvD2nT2-zczl80weelOpAiIqwyaRcZOsgr5h3vWTkS-utYgpog2wgGSal"; e_fb_binaryversion="AcKIY1d82DuW45PdKdqR_ZHRBhs5nxLOf7k6zpho8YgIVKxC9CIbqpWbF6Cfq4CixowPyhFkM5AkBuz5LktyQv_lJK5aDvN9SJA"; e_proxy="AcLbJ7N9z7RbFhaE6kz-YOcVN7aosJytlJ5iMA4Og-FFKkvxw8sSwzeAJa7LDoMsAZebC2mQsVeO3cz9"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7646589608708903"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 11:25:31: Error on send one message facebookId => 7646589608708903 03/13/2024 11:25:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUUywjLfp6fSVUeXWZMYb4I" } } 03/13/2024 11:25:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 11:25:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 11:25:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7646589608708903"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11149782, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxyYz8UYZEguWpkSvhOMyct', 'x-fb-trace-id': 'DBOHT+GAWxD', 'x-fb-rev': '1012023645', 'x-fb-debug': 'E3R4ZNGlP9PiW0jtLLN6hOAfXMiqZmeBXi/lWCsExEcJcEDyOrQvIPAzVjRvzYaVAbqf8psC99g20dTddcgMDg==', date: 'Wed, 13 Mar 2024 11:25:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL13BfKNz5NIJz4F_b6kqRon81_lVugbjhP_BmIsfrNz2nJBTyoML1WCijKDA"; e_clientaddr="AcL5vx2vByaY9C09cfH3tKBV5qophITcR4LtTDqzvWEe7Wbx6fUCF11wIMVnxhUub0dLQ87K0Yu7UrnWS6FFOeSNBa77OefRAXoK6jCuI791QJlNAg"; e_fb_vipport="AcJNLrkGhMndk0XagvWVkNeJahbDo8l7ZceOdS4YlG7AOETI7fp-kNee6gck"; e_upip="AcJlZ4hA7-QE5C3zIL3ufwX4DiD9dSeM0Diun_WY9o0giUk_PnrQDR8u5YiTll2Ixj9qMWnUMGVK02uR3E4F-NciqPeidVZd1cA"; e_fb_requestsequencenumber="AcJOytK_0Tp8FfSINNBMvopLEDx4JQdnxK033CW4fCNe4Tmo_96huhNqOnuw"; e_fb_hostheader="AcJYk0ZsTc8lNPbUoQgWV7CPdKcOZODrkqzZqeFIOc9CVKkl58PTay8qVAUJ9YhubRIDVnH_qtm3MbmV"; e_fb_vipaddr="AcJYRW0TsnDj22Z2VTGlk1bMi_cHIpkHB96PkOdD4G7Jtc_lxAkkrAZi-YemoaVu3v88iu9hLbHb6LBbjGpl3tAjio-lvXgpAQ"; e_fb_requesthandler="AcIGFZjO3Ldx-YfdwBeu86-3B4jk4nvbobhYbmOJUwYK8UuCcKxverkei-8EZJiuz-njbhNKbdY"; e_fb_requesttime="AcKg5IWTWHUAtjOdBwG49HG_rBUnNuOfJ3ht6omYzYC5EiYcK6HhsVTbsFRxXRcxcOuKYgD1Pw"; e_fb_builduser="AcICeP9CJI3B1I8y95_Y_p3zeFYqwwJZTsZaTqxG585-vkwFMG9zjeNi89jSqXc94a4"; e_fb_httpversion="AcIX3HAg0WSRfVvMIwh7HBeyNmrB_-0J2YbdNy3a9DKl3ptfjXx0VPAsSD98"; e_fb_binaryversion="AcKxW3rV-LS0Dro7R2JOSjXMmkS2OSZ3utdjhS0VNB5lijLjHbUowBvhLMp_f2Ir_46IlERKIqykvyoYKEtF8HqV1tU4WPJWmDU"; e_proxy="AcJmAtvLSEvX7v5gzmax6s79NEBXMxj-unBbNZSY30mB2pr9jKReCVL5aIifJhDpDrNEfXR89FJKONaHgAyr", http_request_error; e_fb_configversion="AcJdvLL5Kvy4uBp_zvY9uS_Q8hDJWokdG6A25F4058tbIpoYsyscFWAu1lM_pQ"; e_clientaddr="AcLisJJzum4VUPstCc1OQViavPdaA-Ks2AtNzQwEFStXNJFhx-8jivDehuOy7wyC-K3vCB5JWzet_F9THQ"; e_fb_vipport="AcKJdsthhrh4oTec3fITs0kNINBGEE5zr2LU1GUTvVgquZlddA9sZq200iZQ"; e_upip="AcJXaa8DU32tyj9EJxxuk3Rcf9dvYbs9ogRVgUPmi670fkzLHujfgjXxK2XLCDtuyAReYIVgQNoLA4JaLcxrhoe7lXOMg_Vrgg"; e_fb_requestsequencenumber="AcKYLuVg5fvhjWHUvQHaQk28Xn-wMZ1KBSoS4XMQ0bWup1Bad_Hj_QlHjg"; e_fb_hostheader="AcKNMPN92rX6vLtx5f3oRKlFAzhzIpnJr-iDt9QtNbT-XIPGJnivd-pVCRp3VvKouQOv3jP3nvY-2fA8"; e_fb_vipaddr="AcJo6ozRxb4mC7rqj57CQgxQy4U-O24loBPuerGH31tUWR-bOu4uxf2EODOxaDPLM9t1wCX7rw"; e_fb_requesthandler="AcJojwDdipvI4hItjqrwfR-USKYwLUKFNy9k4pAdAnuNFqMuTYJFRX3LpJcFgPgmqIaG1qkl5Y8"; e_fb_requesttime="AcI_cKJA_1feOerXC246hcK1-N5WzLrDYfKR_nbhn7SkHeCvPxfr9oLnPLE2ixMfix-Sn7LIig"; e_fb_builduser="AcKPY3MsimlRfnsAtjGtp246j2EpzJAMUDOMvykE4J-9-tIV6eV2YzWg0OhDKU38e-s"; e_fb_httpversion="AcIQQC8kVPLb-c3UqgWMJKNoSH7iXF-i810LXpg403kjM8ou7pCrlQLGeqYo"; e_fb_binaryversion="AcIcW7gIN2Kv5EMmf5MpjYkf9y3wjL74pfHuwjAZGU1z70ZHGBaeQvTYuHINXsJVfkQcPbRtQMWT7_fKYzrJMi9QbE3Aop9DuwE"; e_proxy="AcKd4N8yZu7ol9lROr--V8DjmTbr8cYi5YJ49wsCwvgxth-tgCGkxotIwei8xw08wrLrIdktRU9ueWQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7646589608708903"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 11:29:19: Error on send one message facebookId => 6386286814744330 03/13/2024 11:29:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AI60kGV817idp6qup8zzj20" } } 03/13/2024 11:29:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 11:45:58: Error on send one message facebookId => 7646589608708903 03/13/2024 11:45:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnsAmYYLEwARoMqAHJNczjd" } } 03/13/2024 11:45:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 11:45:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 11:45:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 12:05:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6386286814744330"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11157203, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGVjyzC_iA6HO5rNs0Uhsl1', 'x-fb-trace-id': 'DrtzvBranKN', 'x-fb-rev': '1012023645', 'x-fb-debug': '2xhL9T/VPHw5CZdTSIUO5ciSHQUboUBBiQhYFvAerNb5fWOh6m2/sIUS/12dd/gsy8EkHt9dBt/TirgOY+olag==', date: 'Wed, 13 Mar 2024 12:05:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIn07VBdGUZ_xQOrfjcSiPSy13hwhs9v84iALqYetglRkCW51-QtHgfLDBpnA"; e_clientaddr="AcK8C62ktaawE2oZ4FD9kpiMH9MvM_m6NJ3iA-o2AIAXKyt1OCOb-DrfKpSSzxb0XBgI5jsAgKp2u-Tw84Ni_9jRIGrqCkf-wsW_xxIkFJYSzteWsQ"; e_fb_vipport="AcL4KXMinJAYn7zDNXklOmdXGCaJ0y8e5gc9qeXtCBDAJfBlohS0n1u1lDjF"; e_upip="AcL1kk8f2obbQa4h6c09zy0zi4e7a0TsY0wD3LCrngPbqOftrfOtKI2RvSwIUyMPdCpm97N9ntWaKI9JWXc8C6QIIZIvYMHD0mw"; e_fb_requestsequencenumber="AcJ1w2dXBzSmceXdXA71mbQxchr9VJt876h-9j3p6Ro8ITCFo_Z_ORU-Wcobuw"; e_fb_hostheader="AcL7uUerzbq1-flgZoevc5phPzV89Aro2CUBV99gbXW8HeTec_c8M4TUycZifJBjbkpMyoFZjrYj-NlD"; e_fb_vipaddr="AcJm521hh0jvgoKDtPOi53HbVnY8NSUyB9gdmyI2BgH86ut5VpSNOonejeJ7HysFHVyO3pawnzEVylcDQ3pytUDQDDXLgdzDGw"; e_fb_requesthandler="AcKS01ZAc_3EAe4gbzL4DzwC_PpsYwSoaqhldnsz0_nPLHmqs5B0QN0sW24Q1oJGkSrItm9Bjok"; e_fb_requesttime="AcJAKDzJlx4bj-3QtHgdE8K3R4v7CNkyrVyMXjrKOWs_3QzuyCxfSMDzpzI1rtPnrhiWX0zrRg"; e_fb_builduser="AcIRqyx9ikL4R_RX-RUw0HYhbYULfSa-E6OyYdu-Z1x7-Di6LD_iqVLQB06bUVW2IZM"; e_fb_httpversion="AcIwcgFPrTFStY6rQa52eBlzVF5Ex08ED42SeeY9WqMJh8adPRyE2XgGANlY"; e_fb_binaryversion="AcLVHwKMkTY99Umy0KSkMtEZsxx-1hh4gSz_eptxlfgGmd_YVJr336jeaOVofKOyW0atMUQyWuLfRRIVyQRcnekQTVjraRK0ees"; e_proxy="AcLdgBtSsmLw7oR4G8XtNPsN5V179MWxhyA5mS29Pn8GkmFGnP5kpXstJlTkmfPTZFLSRvYhaYxeO666GMHV", http_request_error; e_fb_configversion="AcKBMm1Srim4XZRM1Lgq7vHvGKU9omT_8r6uCLHnYcUcCzt4aV_HST4ulTllbg"; e_clientaddr="AcItuBtbCwkTgc5rinRCi_EMthbojTqTbs-pmoQpiCy14hvO3xG9EpNwD_cV7moB69mSn2ZHm_O49w_wMw"; e_fb_vipport="AcJMmaBg6Yhh5zusu8R563s05i8lwczqk5os13-VZVWzZQwfTXAN9RQAtw9A"; e_upip="AcLRkTPKVzfA1zjHHjazqPTGgkwUdPTT0hHdM46wPZ7QZaaBevETqeJHqPazZQTwY0BMGDipk8b--BYExhOtxIvcUIYb5oT_8Q"; e_fb_requestsequencenumber="AcJj0zLYX46BLPGzDgfJIPjqOefapsHtpie-xMiJSyGnRWzWZcwbw1lo0g"; e_fb_hostheader="AcJBxA-S5H0OpYL1tPdcRMFucPUj5vRpVEs0J7KyVAyqdL28BdBLVlNCpdarSgW_q3JcHeeC-TiqNKpO"; e_fb_vipaddr="AcKBBHu2EFWRWPoEZyCJf4SBCoVCAo1Df4hpxhLTk550v0rjeu2zBWypxVOa5S2rNlBzsdxT8w"; e_fb_requesthandler="AcL_zVBtAiJAlRQ87lmcV49bKh8l8g_pCFyoYVd6sXXZTXe-lMZjoPComxFXsTEAmvF1WeanlgE"; e_fb_requesttime="AcLaB0vSRRANM3WUBlPcAbN72DzyiUf0TiivkzbngTSzlQjyE-Q98UrbH3UaJoi9dUy7nEWTlg"; e_fb_builduser="AcLBV_Ikh1J2q66SzzZpY4PGjbhu8jT-CmtyTY9dnpDChWo4d9l91mRytY3baF0qU8M"; e_fb_httpversion="AcLM95Q-1xYe-ebu-5xc3zII74CfK3g26WRi_7hjoIOPWJReNi3BBsjZHnTz"; e_fb_binaryversion="AcKwrkHEV2nJlMUhoBqj-LsoZKk1hmuH8AWWIOfLm0AE3yPZN0sd2WhGpNFaogihNMTUhld5roNe2yjxciJ8qxTm7CIzhMu1S0Y"; e_proxy="AcJSUxwsPjHe1kLgJoeIKbT2hR_CxFsUKMf8sLc1vAKncgUyuDjONYuHUkW-ikNS5I5Ceaz0qDoobh8"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=101, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6386286814744330"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 12:05:10: Error on send one message facebookId => 6386286814744330 03/13/2024 12:05:10: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AkEDZFQu4dBwo6OPp6EowpP" } } 03/13/2024 12:05:13: Error on send one message facebookId => 6386286814744330 03/13/2024 12:05:13: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfvvZys_2ryZ_FaPAju8Tmc" } } 03/13/2024 12:05:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 12:05:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6386286814744330"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11157445, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVaS07tSSCjv8trgW2cNg3t', 'x-fb-trace-id': 'BQlsEhn65Zp', 'x-fb-rev': '1012023645', 'x-fb-debug': 'KDhzFF9Mwt/3djwSYoiEwaMg8aq7YPNbGKpclHCqn/imq3oJuIQHoIwxPekbnGYSYD7mkZnafsTVdhOqEn7cqQ==', date: 'Wed, 13 Mar 2024 12:05:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIUPFQfeC2HIlOTvM0klvDM1AYITNgESl3-OYB6JgMpwSJ3s1tzaOhxlwcy_g"; e_clientaddr="AcL-WzsO2J6OEu3CLdOW_yYneL604iJw2OBZqh-zZ1LevXQIHNQ_uHgS46SV6Xqd_IXan5XWPL4DKY6-y44tDhgIsqbCxYz4PaKmzY1IqG9cQ6YqUw"; e_fb_vipport="AcLgLrzZoa4N88PqwZR8oDyFrDsiefFup0eZWt2Dh1vNY1SZmvxNARnYn2Gx"; e_upip="AcID_-yLJZVmfe4CyJR3UXFU6kO-F1oSYXT19Om4uIutbm1J38Qmt0ew1ngyeMSjFLtVXXJnC2hF1O28xr8zkjI5ew2nVayFxg"; e_fb_requestsequencenumber="AcKM6C8_9NbItHMzAAX4mXmdTacRi0lDtBbTOw2GIE6pCaYskTJxNJ4-qo2k"; e_fb_hostheader="AcJvhq5JNWvWbLO9FLbIyyrCkyu58TYW01Y5Xj_Xc87nWLRf_4B--QapHs7GsqYJjbi2XMamv1_hPLS_"; e_fb_vipaddr="AcIUmiZVtVuAZI5cqIccf2p_oCU7IiBvE96OGdmzzUBOnODRZBU6zfQWeUEcwaugjWDLoBFv9DuQexilFfyotrkdsrZxSkn_lw"; e_fb_requesthandler="AcJxnyv9R7xa4hOmubH0wZGHixjVSLJrdazB-1bygfaFrnYz5o9pF9poE7y8Jt0RSxXsK3yHSuk"; e_fb_requesttime="AcLGQdrEYHPLxtM_kH7Ko8W6NqPziJpLuGxG_B0oMxVk9o49kUHpgwhG4IX9HGePMbiiHhScag"; e_fb_builduser="AcKvlBlKFYFwV7DqcyXi5DmQrVilcdp8o6i-OzqjRWTLTHk3CIWVyUxgY1Ph5xV6aTc"; e_fb_httpversion="AcIBfN5K4KWu9MutkzAfbYQCiuxp-M0N83k5lVCWE9_SlHhoDupdJr-qfNhH"; e_fb_binaryversion="AcKW7gQm_8isjPUG4R6yDn3nEazun9rhThGCBAMxTfoEtRgx5MdGnHQV0Of9F0eX-0J2q1hw9lltbJYQc1DAL7b6FrNAZi9RzEE"; e_proxy="AcLdMCgH0fir_UnAKeFgf8eq1NuUCQF-KdvIG4ovNqsS0UjEM0AjpH9tge1aMtz-UAETNAchM78K8p9I59EM", http_request_error; e_fb_configversion="AcLWuaz7EtokO_oGp0cCNuYkpV4vWdH7PeY0cd-oug0aMcDL--KgR1DxV0WbIg"; e_clientaddr="AcLz-xTnboBhjgv6_JLpTErdHHfDVulfLW2GQOTdPaEagF5RSQkIRnlOU36m_v_86ziTExjTWTK4oeUEdA"; e_fb_vipport="AcKPbkntjig4X6iHPIdxVxu7X6rPsw3hrICw4L2j4mLt8_SphsOj4BcDNFWK"; e_upip="AcLSuSXONE4OoE74vzBTc7g2FI_GSvyWcSV6zaJBUgqsqIDx7ceKX9a-BWdHr8BX_8PMV7VlVyPH34SOUqNx12uLNYbTu9iJWQ"; e_fb_requestsequencenumber="AcLFVpwQT-v2sO504gbhq2KRzArhpDDY3g9CrhrGcQ2KDrogQDTlD_9v9g"; e_fb_hostheader="AcILT1yz8qE59o9Rbels89mdyInp_13-QzKuxKFFk3Cf_i3PBiDECU7n8lAcaNk9bI2Gmb_G28eWFjGy"; e_fb_vipaddr="AcIAzkSpFJIGG8haDm8w59Y-5httaKkdx-SK5pGZ1Eo_NxpxO8XucE9wEIrc7PSV9I9noIbXoA"; e_fb_requesthandler="AcLczj5G6H0GDzG33y51KhnkQgxwYn6bfJo_wUepiJv7UB6rZ3AAVq0Y_TbiowxsPZMKa8xuuwM"; e_fb_requesttime="AcLDO1Is9I-DeSAx3FAlVRSDz_fAP0eXsMv0p5DAe9LY7ADcGKReXcUHKiaqcLBcZXqs38VtnA"; e_fb_builduser="AcLAVvqqiWUXCF6-a-NdtJAD4uDCrUlA5U3aF1CmX2Jlpi8ARCkBvIQUwogenOtgHnE"; e_fb_httpversion="AcKJt9gsXuYJLqcNjJQh0-hDYIJTinOZmbofK4efpXpcx1eF8ieM6VToofYB"; e_fb_binaryversion="AcKP6IV_pB368QBAnet86L5qFCQ_8V19up8aS3AxsldRJjoIWF062lf2pTcnc4IViyeKFZwwUMt2cox1xuqgXLvpr1n21s8FtqA"; e_proxy="AcK4Df6BLp3gT6Zc3KHsEBkedfa6E6LzKbmxaoiitaPFDe_Q_3ZQnOY9LT8YQ8IlAJkoZBmIFbzAUY8"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=229, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6386286814744330"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 12:56:14: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8136111583071409?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11166100, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8136111583071409?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8136111583071409?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8136111583071409?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8136111583071409?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ap8hbm85G6CrUqteaCsrfHh', 'x-fb-trace-id': 'BS2D5cKYKeJ', 'x-fb-rev': '1012024381', 'x-fb-debug': '/DIob/5DCxrsZSFOEgL4OpA5QvuxaGEL5JyBzKBfom4YPC9S+uhyCzzOsmdXLYrkEJ5u9mM4VtokBj1AGQlnXQ==', date: 'Wed, 13 Mar 2024 12:56:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJrakbzAnJ6Mko8tbwSYmQYEY6_qbmBgK4yNxJxqINDgNBjEPKXWnSolPgsKQ"; e_clientaddr="AcJDa0aOfRMsgzXRR_p3CcJd13QFPARB8ExkYOdkuoFh8B8V6xDLKp7qJIi2dZbAJZ2_2lbytyWZgb4MtuhbsSBV1b47OzxL7XL9xWo6UlmpgJ4"; e_fb_vipport="AcLtMGFW9v96Chyn35bSxMtvpkReOk5tsZnkFkTHA_bX5E-MuyvsLlE00xPA"; e_upip="AcJ5xSExkTlJKxhNHogBnwGXRhOo7EpJBfu6D6PMEk-xy0akYm7RJb_fmhczKwZ0NxZGaiUBbG4-zF-YBYrKhdSqoAiA7cTLZqo"; e_fb_requestsequencenumber="AcIWwBeaFsETGpayjYCfx0mR5Iwle-jY1bDlaFqY33d1__r8o_WkGpzRMmNk0w"; e_fb_hostheader="AcJVxFmaHSEPDHYLclU-Cm-hal2-hoH4Ul4OMwUUeFvl38nX9VMw5dDyiOIetnsMJVUmfmaGfh1xcymL"; e_fb_vipaddr="AcKMMMpznO5_SyC_TxydrK_di9b0soIIWGvU4Cbbaz-JhBHMbAVZuw91HDdRyh6l51ohwb3Rsl38Qi6NnDjwSh5s6a6sNLFwpw"; e_fb_requesthandler="AcJ7TCtW84qoB5BcgfAAHQpWoessx5T8JZKp8QE1mYZ8gNrM_r5-wsUwNJRmHAoU6d1qO54c1so"; e_fb_requesttime="AcKgX-CrzSAEFwag4ZfDFrF8sTIa_ZzubgHviKTVIp4YK4xVbP7tgtsGw5lPuvKTFpXChF_Hsg"; e_fb_builduser="AcLa_m8VgVGJAX8UDXL8Cim4M7hwzbnt1rHQBP7sKwjkW5YrW25m7zzGoYw96GqxQ5w"; e_fb_httpversion="AcIndKCYFwSEzVxkZuwUsv8-aulDQO2syqNZVZzdRIOIZNJF1vt0hI_uCOxb"; e_fb_binaryversion="AcJxRdmi0uJLcW3iBSRbq-87PNBjJd9UdbB7VOdM73rok88PuKMzXhx1IwwOpdFe97I9Mfd_T_UxwH71v6EBZNRxSVNzJ74d-gs"; e_proxy="AcL5_bYmRox7rUqDTQ10DQROj2551XGaTOtaVAx8701IWknAtVsJQ1H0GME3IXMRYJh6U0UrX_ss6pFIesE", http_request_error; e_fb_configversion="AcK6agY3dznm2bjcYF0yMaV0KIJEkfKKj7kHLpdtJrWR1px00D6_PhWWs4R0qg"; e_clientaddr="AcL6dyu0H9rBE_0-222QV9qRS4BZYuCYcBQK52HI-a0q65yGc3fKt47Pwaeo3LGr2DStEvi6R0HOHNWofg"; e_fb_vipport="AcI7RxyYaJeKa8gn6oBQaSxCRCy-zMDZTqAaGnoU7cBxYD3Opl70ooI8eIFF"; e_upip="AcJqlT8X71JkmGI6ga2L8lstf8N9rPVLtZJCbsXPtwtU8EEkdOxI28G0UUz7VNH3uVzD_YJiMWgj-lh1YlXldwRGJ-KDW52d7A"; e_fb_requestsequencenumber="AcISpBAwSomavazC34jSzbSI8-wORfC5mKpZf_QAQG8bsmOCOW_sE8bZ0g"; e_fb_hostheader="AcLxFz7UiBWD_gVisXORbMoseZCj6rWQnRTXIfmF0wQfzpTSe8VY5sCNdeZPZHQbKwhwPij8EtcIpVUQ"; e_fb_vipaddr="AcLDQ0hyWMSZeOm0cm1DlGW-hvXgk6o-2OlSU0IRmy9Crxgcri69MVrKfdz1-XDt34TNeFZmng"; e_fb_requesthandler="AcJEhJbOmAdYDNg81LuUzb8uhRgpBebpo1dyWAXnIKmvhYQNLGRykF7j2zwT53qGeF5ivi5rA38"; e_fb_requesttime="AcJIkBrc8rDyyvRKtwkOYdJ43fx_8XHJfFECcPOPQY6AOCBj6NmZ_FWQ-VU5PB5c87WgP6wF3Q"; e_fb_builduser="AcI3LcGcPWuMwPVI1H9kAYZsEvRFsHIxzDkR5HZxO2V2o0H6j-CJXure5rxZk_fipWY"; e_fb_httpversion="AcKqeJcoVHxYM5NzV82K94sXXjlp2ONj8qt9tSxIhe3y_cwnAw75iHqhjoYF"; e_fb_binaryversion="AcLE6zBAr-pqOg8xFv-K_0RGVE7okRVpBogcSpMNpB-8t1d3T6sJ2Yx0QDjkm-X0nrDWscftMD8vmAmrNmraMO5CenuyowGT_Iw"; e_proxy="AcJ59Hkt1T83auyDfGOZLEhVQi_FerRgPh9WKeLs7zH7iu7LoT-ASHURsynAoW6tM3ufjlipQWhv5A8"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=227, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8136111583071409?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8136111583071409?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8136111583071409?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 12:56:14: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 12:56:14: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 12:56:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11166218, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aw0Vmbchyrg1ai6WHYAaO3K', 'x-fb-trace-id': 'EeTydasj+WB', 'x-fb-rev': '1012024381', 'x-fb-debug': 'UAb9zV5K0blC8C89TsPoKP4CvTAn2Tp3L5IG9hmggcLGIqUdwCFMdsv68eNET1aM8Mg+hwLSGKMmyKXJi5X5mA==', date: 'Wed, 13 Mar 2024 12:56:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL_IKGgRslM9Ja3B_lA4XHY9DouMr-gF9zI3qzwu6z0dnTLe3cRJD8GWwOxmQ"; e_clientaddr="AcKAhqcEyMftdRB_vgfyOo7a0uEipEiLEb-Ac704ocknslk8yVTvwnfybiW7171h1v5mYsNzJ2xwDQeUDD8S9F3ysN2bzKbOeJiqjM-66c8_9EoYfw"; e_fb_vipport="AcI0HGFWzPQ9bbcymMivw9535918wGVwl9Pmy9YTljrf2OJsWglM21-ZMwGO"; e_upip="AcL2GxYXhF8u059CH8v8QrrK3as_4F2mt8NAtwYvmCn23CEy0uLQkh9tVhedNALXZ_2Ib3rIGCQHL_CAd9kL78K3N2LjeVAWfII"; e_fb_requestsequencenumber="AcJE6TMu-YbxuzMXb1lnnUw6-kG-JGSp5Hsw_52-uKYdTJuosFlaBiGWXlIIAA"; e_fb_hostheader="AcIC-fD2Rw3Mz4c_63uuuJ8CXrjNLl1Vpp7Kbp6T7-9tOSVkaU6cer76yKBdIu5nfByTTZlHHzs1tARa"; e_fb_vipaddr="AcJTH0PagafOmOG1FYNUJJf2nIcGciwyzGILxP4f50qMAlX05SOkvEojv-1-JuOWSGenS6g4zJhwLzmi6DvIR8ZVUvEj8PTsSQ"; e_fb_requesthandler="AcJ3iOzSRCU8xnrEYkTADia8HN1lMphsArseQ5wFz7DJYiY3WcRgPbthwoePYZeXuILhu2cI7W4"; e_fb_requesttime="AcJh_u1cFEv3tYLB4vbmAI_9XoLe6wjruiQxYKGzVnQHLcjrR-nEgt0wqz_4yjCWTZOZ96AgmA"; e_fb_builduser="AcJ0yYg1xarjKG8z-upBgEVJfQvDeG5gZK8SKYrc_q0tXN6Ew1fKHU_1zXcHYJZ7JSo"; e_fb_httpversion="AcI__T6fWx7apw-NVrOBvQxWp33IrguOq_CtqB6VV2E2MU_XGGBvul8Rb-uQ"; e_fb_binaryversion="AcJ8HYpkxHKFgdtjOBhGHLJR6sztdWGyc9RG3XWl0NOTd2THkdkR8guPGppMlkWJT_81xTETh4NPJV6lh9IqJBir3MP-W_Ab6lQ"; e_proxy="AcIGwrxOX9dxPUQUoi543-PdiXxOw4uMl_KHNK2kGJKp7z-r9T8kII_Z2dDf9HwFVvdn4bpS3oLohXWkS_BN", http_request_error; e_fb_configversion="AcKBrWmXfN1-kbWJ1YpCs57c2E2yucFSxqwtk3SDry0YkmUURQZ0u73-NueI-w"; e_clientaddr="AcLtgMt8et0-qcvhfpi1hbRKj04DvH1qV8VMoKuPJsvAlIIz-e8QRqdJmdRqoQ3XCYqufy2JRYcyULF5Qw"; e_fb_vipport="AcKTqtVpp4FPsaMfpFvO7ylvp8rDnFN1Ml7XZh-CvgZoAoIT7YmXj19rkdnG"; e_upip="AcKf1SAkqaIULYepMOsikShVaMi-BCokiVckpsnbTDez3IQGaFTpi7cbJIKgc86dizinUsFa86tiX2MTCtRGhHvY1365YLRfIg"; e_fb_requestsequencenumber="AcKUp-Doczh9e3JlJ9CtpwdhptjdCcDUDMzYGEPZutj6k2TjCg2o4kb8Rw"; e_fb_hostheader="AcIAdDIbWeIKypbmLWXmCdlS9jxWS3rbfi6XkosyIteDjNFAG7sltdOIDZ8ZPhEVUsjmbHiIKciYN3AT"; e_fb_vipaddr="AcLsENMeXpA-CXR2_r216QeSsPWasYl94rw3LuuaPZjvPE2MEFnZIoUq0J075Fk7Wx2BzmdABA"; e_fb_requesthandler="AcImcAg9fcoAbx6pRcrgjF_41FrIqaK_rJ3c6_ZA9BBZUv7vkYM43SWPgp1Ef53bBgHx59ywAlo"; e_fb_requesttime="AcIguVAnEtoZGBZK-xMVS15DT0_396WuZPb--T_61QwH8pgu1USED6Qo3YqS4hkxt7Qcgi-egA"; e_fb_builduser="AcLaIVMmw4SFt4vWrcw7Wa-IBsPuArAwOBLK5qPZKmk5_Sxqc4FddcZiu5t-K5zWIDU"; e_fb_httpversion="AcI5Q0RjVhOSlJ_qU9psIKzSnv-JNjqoyVM1e0f2g47ey0lijIMsdW7tDOMR"; e_fb_binaryversion="AcILc4FDLvWeXNJbAJm58j5XFz6Zy7u87gcHy2mhVpoRFlktncSyGg4U8wKb5WcmNfxtTWa0SDmd4I6A1MVvE7vzDmsJDfHMzNE"; e_proxy="AcLKyg_GAPxHChJtryBbD9Efz2VTSSp0cb-4UesaH4tOLjhIjR1otMj4zQinUuTMFBYpflJ0n5vwCQPg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 12:56:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 12:56:16: Error on send one message facebookId => 8136111583071409 03/13/2024 12:56:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfF0rWxmFKeqe5ieCE05feo" } } 03/13/2024 12:56:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 12:56:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11166293, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADxhVIvz0BPG0LYcdjED8DO', 'x-fb-trace-id': 'D/Qv7xWONga', 'x-fb-rev': '1012024381', 'x-fb-debug': '4X8BBPpzBn/3hsD2X6AGIncRCzWLuWoBMvQ9KdnpaztUlNe5nuL5CtxN4N2XWN3SxjPSmj3bSiwHoDwwKuCiGQ==', date: 'Wed, 13 Mar 2024 12:56:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKNWwsGRNlzFgwWFXU5-EJUzSbHI-C9H6eC7l4reiSplFI9hUhbazJOyqk9Zg"; e_clientaddr="AcImlAPnRp5RtXWtZ9WjRR4y1_atG5Jo0cA5JWi8H4tmMxrUn1IRYS7vZu7X2wgfrCeJfPnWz65DDjrFjElyU4jD5PXQA83nIoQeuVTTznOQNPaLTw"; e_fb_vipport="AcKU3ndKMNxZF_H7nM2ViIVeLTgq9VN_LCGVMulR8VCXU32pvLvS7TcH5tGR"; e_upip="AcLPRBLlLWRUd0XxVIJt9EXuRVhmCCt4p5Z-3xt-g088JSwnUGm6QM2-6_pEApuE7ZZDY3wcGU42eAqYB5rMTF7b_Nj-5FMUZcc"; e_fb_requestsequencenumber="AcJ9aYZVtaePa50MSvhXLnoyzQaUtiG1qdRGh0IKUxNTKzT9Px42XwyfZ-oGSg"; e_fb_hostheader="AcIZNAGrnt4GUiX2WfjxI8mE1UV_khMVLCgmboHDJOv5oD0NlHZZzqggKoOzD4CQwwTx46MPt_fkPA6x"; e_fb_vipaddr="AcKEH4NPVtXtc_2J4yNfpH4hFj_fzaC_icXwpvAYSXPM1512XidA1QWZezv8dnGjfh_a8VChCV7iM3wDGSsYShJl3mj6m2LcDw"; e_fb_requesthandler="AcLK1ChG5Lhna51imDObgi9QnGixYyFeFp153SuXwxLF4CTILH0uWRjo2MQ1xLHRf8MGfM87njY"; e_fb_requesttime="AcKU1yyZXAxv15tmuWcXVDQRK7BkRGhODNRzWUg5BU7hcQAlf5MFJwEIhOKrgee6s4zyrl5I4g"; e_fb_builduser="AcI2s6U6FP4YT5cdEghEq5Mj3Do6_7OizJB9fsmOJ-fu5CDPK6k1mlJvrPeKE8_bZYQ"; e_fb_httpversion="AcKdK52uuly5gCG5LpSbcfI73RRodaGBExyKRFWZfW7EuIGImoBfPWTTiRvk"; e_fb_binaryversion="AcJ5ibO8PRLQTplaqKN7tGCl_vbh8vg8JCoLKNkfxJa9CFpBqpwluOvB5tu66ZlCWTWUX7rheS9SvuiWJdPP61gBRSun1tqbUwA"; e_proxy="AcKcEyBQzfuDo6CpTGVUTBdoZnsZtp_wQxPOljXNMu9h8a7HzetP476Q6ahkhvApCumZQcUk4-nog3-ICKye", http_request_error; e_fb_configversion="AcIH9DO56w63Uf9MeCp_VtHPvi9k3EGioXJBpKHIEipQIy7xTseTC1OY-AmdxQ"; e_clientaddr="AcID-5VKvaJ1aqC3-PrB61ZkvS3CaFhK1gxDQSRKHHh0VhMmejL2xv_kU11IB86EZyV3UziJVjgJjw5vFA"; e_fb_vipport="AcLTkTAXXbpHKOkTTM6h17napTpDNdRmoOlFpbg97HQN7mi2OyzHEs4x3OS9"; e_upip="AcIcm34nFMAOGYBaASMAJ1JYVpK9MQzcfaU3_xwFIrr5yVeEsWPEyZqHK9q3uBdE6NuWr-gjVHyyfOyaWcw87VsmPbnGiwWHNA"; e_fb_requestsequencenumber="AcJ82_QUK96SmhtQGbQ1TgNtukfXq4IMwzHYhbGc7u1u_WA7LgMBUY7CtQ"; e_fb_hostheader="AcKwnOTPdd8Mqtm9--63LBSUnkNL8chQ4O-mF60cE56N54WeooCpvVXecpItAz6mD0D489dQwr3N92Qu"; e_fb_vipaddr="AcIKqBXF4IATA6OzYt4Vlgj8gVFdJEPfRf36PkU6djve2pDgvKYK2j4gO-dMxGYZ8iL9cJJ48Q"; e_fb_requesthandler="AcIQAn35yZcbLNqAg0h24xx2SYdTMk95X0l6hjKVjGapqp3zlu-K3Iw1PFGnLs_yGSc55DdgftA"; e_fb_requesttime="AcLC61wXi7tL8RWpRkEhjgEh_Kb227bn7IwRLEnqbVTJCoifT-T9zXClyqKbnzDngXVKXHgp-A"; e_fb_builduser="AcKUIQC3n0dMrOW4jr1X6S69T5spYfbDxjmxkgX3kvtbPWDtvAjK8BB_dfs4NMDoxPs"; e_fb_httpversion="AcIglggrrpkg4V-QCHOWLyn1dr9elstdflRfRN5a8bDZn1jBK3oEiYwRD9IJ"; e_fb_binaryversion="AcJf9oeSlIRmR_NPg-jnBmC8WswULKZzVoFMctoWATMZUXHCYO6H7E8DqUdyVMEiQRWcpGxzgJk-DVFFAQ0w9KedHuK51HpFDPQ"; e_proxy="AcJgygaw-gltiDqnksGuSmUV8WTGcgny-Y04z0VnoSVFSJduorlE90v8jjcn_JRhfKBIYBW2pQ9_sGg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=184, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 12:56:18: Error on send one message facebookId => 8136111583071409 03/13/2024 12:56:18: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AMgPzhITpphzmxzsD64plzB" } } 03/13/2024 12:56:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 12:56:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 12:56:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11166434, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADk4xTCymAo_fyHwJ0yhX7v', 'x-fb-trace-id': 'Bs8zm4HNK/B', 'x-fb-rev': '1012023645', 'x-fb-debug': '0dhWMjOEpJMIj76zzipVGJ9JVVD2ySmvdDZ7Wf1j88vG6UjiYIOqIQCh7SwaHpmb4VQUexAdnVm6VdbimzoTMQ==', date: 'Wed, 13 Mar 2024 12:56:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIU0HkALf9Ql-ZuvkOKU4x-Dl-L20_yguzkLBv0cLHtvJUdUAdc9bm1gMbgpQ"; e_clientaddr="AcJNd-ikNo6117hme77uICditZR93E3-b1E1AF87eK5E84nMh2Wuo4-NP5h1Ta7e1kOXR0iSoUOB9AHdiCiUEKyPG73KtUgFoi18ruwbArvNhF_k7Q"; e_fb_vipport="AcJQZc0S2WBeDEpnG-4VfiLdVQhi9rmSnVoIBmk2xmXVJYKBgGYL--wxXQUE"; e_upip="AcJFibnaC1fqE_j1YixIANYdIT_0x0Axo7TOfKr9FcPCLcwgRUdrKOKEf4VOvv0Pc-F1Ew2XFPJh5glrbuGbFM4YcKAnS7wZlvo"; e_fb_requestsequencenumber="AcKSTSzfYVKEOBltQKNJYrsU70UhHSYjnvr0ic2nEvnSHn20e1l8HQPItBTKpQ"; e_fb_hostheader="AcK_DXzZ4Nt9jDWbrOrRWuJs9R2_-TSbEToCIT1cJbeh-2ot-aJM0fJwGOk8aiaLFNiYHze-x0QqY-fp"; e_fb_vipaddr="AcLmRfapxhSKhovevwBF5kIo_F0AGTpWDgDwT_lRp9ta6rU_jr1HfS0F9xYrtpSHxy1nxDglZptQKcdmsTEKNPb99fX3P05WvQ"; e_fb_requesthandler="AcKyj5fTkgzSaCgeMs_TF6j8e3nfgdJ1zsWGJj_v79tQcGp-j-o08VN1W6qx7sKbPe37s4nu1L4"; e_fb_requesttime="AcKn0LGNLnpoEgIqXN-PNLIhqYiw8RE4a067xpuTj93-2uLoJYvL-W54hewht29MsiCKut0rpw"; e_fb_builduser="AcJcX_ptMIyvx60GKYWvOBlcMQe3ae9hC9VK89ffIF-5zaqUXb8mGcrWicLs0KelRug"; e_fb_httpversion="AcI0s7USWN6b_B61dVNy6O4J6ZPRLBachSYATcs-8p6zv_NBBTOZPpjpmzfW"; e_fb_binaryversion="AcI_PKmriOIhLBR_-Qm2vLR0ZDQjU45qHwrClBdejTH8_UI8xdI4gGRZQujbk9XsaukUtljoKDXqE5rLhkuoAOQwTXonZjB3kw4"; e_proxy="AcJxyaywuvFwacl2Zo4q7nKoyhQcgcLjZGq5tRIml1YB37qN-yNPIAQQpqCydATy2HDCwHsBU8VZuI-A7YJJ", http_request_error; e_fb_configversion="AcJtjNRBON6-0Zx7b15jbIMGcm0Faht2cLeQvazmmG9_RvjJZqydzPKaCWNxnA"; e_clientaddr="AcIsDqMh7-bFuSJczCQmpaeJmkNAE-7tD-45ALufMwqkh5JhvU4PAIGfyQGGsqxyJWxiCvl__fw8sEF2yQ"; e_fb_vipport="AcLDfhxbFWR-8jHd0iPH65Jl_31gn4Hh22Y4-aReuWZ_0oRjHlCYitVyGCaK"; e_upip="AcIEMiWuWrvFwTldGRej5s2qao4zMrpENL_X8vQKGUHIFJLdyC1e6bUwcncNRU2cu_G9GJKUVM-UjFB7BWRoQnYOPu_pOj8Uiw"; e_fb_requestsequencenumber="AcKB7XujALzzbyr-B7ZeJsaf0VTc9ULRpFDlKeI6XgnkNlNtVRqVWLnTfA"; e_fb_hostheader="AcJ7K2JEiwGYSfHrrG_o80xYsRFO6hCz7I10at0reLJ_MgOZu3aLNEXnQ86s5xnDhAKhaxyjVf5xDdD4"; e_fb_vipaddr="AcIotWt2rHiAxXUNMpwVxHCZGjQtou1sQ2RW5ljmxiPUGliWE_Xkqixw2xR0JYQm4aAhacvTjg"; e_fb_requesthandler="AcIkkBGAXX5dLtVqLtBbb6g8F-MCNRWXMdRDzm8HnmWsOLTE1tI6m3kVUFUzuW0WyiPfD0numUA"; e_fb_requesttime="AcL4ty2cVVKuI2cfwA9LO-urE8Up5ZbOYOU9q2UjH7zEO75S3n5nwgq3EbuV-YwdDUoIc5GRNg"; e_fb_builduser="AcK98UTEQRx8VxzGlEcYDgRLZIo67BxK0spNWGJbHlCMtOmpNhPq1qsOdOckvPaehWs"; e_fb_httpversion="AcJoKBj7z8w3BR4_vrhq3j0-C9x-T8wepQNI_ZmzKdtN-5D7szOOecMUYXiG"; e_fb_binaryversion="AcJKzWHQMf994hnra2Br3dcyYWNf20Spa0dHeW9v32E8w4s5szhA31QjS-BmOQPJX5p552Mih-u-AeBTgg9IxcU87fZnqCQWlWw"; e_proxy="AcI7C_t7JktlUV_GPVggbCcRCjvewwtlCxCFxnQgvQvK45dQVbDbMKBlVkm2j7-iO6aOGT876wqstDw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 12:56:35: Error on send one message facebookId => 8136111583071409 03/13/2024 12:56:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A5etZDJlsa_uKEcvYmR3IGe" } } 03/13/2024 12:56:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 12:56:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 12:56:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:21:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:21:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:22:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:23:29: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 03/13/2024 13:23:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:24:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:24:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:24:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:24:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:25:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:25:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:25:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:25:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:25:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:26:10: Error switching inputType 03/13/2024 13:26:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:26:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:27:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 13:58:56: Request bot not found: { id: '215725838493727' } 03/13/2024 13:59:56: Request bot not found: { id: '215725838493727' } 03/13/2024 14:05:05: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7316233215163880?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11185406, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7316233215163880?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7316233215163880?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7316233215163880?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7316233215163880?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEJxZAJjMgBXdsK6zAyBkYV', 'x-fb-trace-id': 'Bup5P3ckZan', 'x-fb-rev': '1012024381', 'x-fb-debug': 'EmjHEt05azXC8MCxm8aEgnTl8qkO5bYUe8W615iBGML1tm7ZH8YItW4QVIDI53s7yLbWIAl778TLIgMRrHejiw==', date: 'Wed, 13 Mar 2024 14:05:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIbSeb_gx3wvLsJMz1bTVNoxTuGBk0Lh1Vy5pJZXPFcosq0yytNYhkRPq-eVA"; e_clientaddr="AcL0lt2A_dCOEB6YZr4jP9NP0NGhBBrNCN7EITCkpV6SM1HTot3ojDeHrhJpCXOZg5ZAojX1SKFiR1NQkcN_gkEtmGqaVe6HXg7d-8OldNIkpxsV5w"; e_fb_vipport="AcLeKgpuLk93FEUmCR_oiIfyIJR__f-uTUgXLWGqtm5TMO6KwmgCSiMqaFCz"; e_upip="AcI-_88NbicjclTLk2ZXjo3sqwQSv7R4TSYIJJZ74LHpoT3PnblJcnHNiQygxStkXHflGtCxpLWuZyIPjidnRLH5JJHmSQFHAA"; e_fb_requestsequencenumber="AcIxx32tN721BLglvllhq-4526CiN7SBV1hESCTUBcPbDStcJYUoMhNvc3VcsQ"; e_fb_hostheader="AcKFfijzxgM1xfSZa9ed-Z7k7XdJHZQOeUAql70NpB7S5orMon8GWGQSJNIvtQQm-vK5OeROKa3Rc3YJ"; e_fb_vipaddr="AcItZo_OsKm53P4dSQzpfPDWDndTYs3HbSQTZkBS3gfOJAywuASx2QJ14P-SPX_bhOYoTgyHywoQQZWToJcFltHE1LUAeoiAqg"; e_fb_requesthandler="AcKRaXugnfKRGfTQ4r1D87DQcCg4Yk53kdTEBvMaN7c6LYDws9o-a4aBN7-tlkvvCDFEnJRp8T0"; e_fb_requesttime="AcKrB-oPbjWCAeIx1O_jcRsR_kJEjoIYucGt9S8CbEFJ-IMqfQRgM6g9LtV3vwey3AAAzYLcuA"; e_fb_builduser="AcKFciP8q3dTnmELivBdnyaojx6gnGcM8dKaC-LJ-rsvWPUxOgQAHso-EKI16MRu8oI"; e_fb_httpversion="AcIl-AW55YWA5KI09_FWTL694JGOMsvAO4NPK_abEEcd_wguQ1RqvzHBSFOK"; e_fb_binaryversion="AcICpJScbCUqksC0bBhGRTMy3cb0X7UfwartJzcAqYrGbg958417rSAdzKLdySkPzEWTYS9OG6XbvkScRl-mBDzbQHkV6nkBKr0"; e_proxy="AcKUCsPhui7durtYIb3_LrdhJRUz9ccQ4ohlMCFVxAl_mc8-PpDM0vLuV6y4ZhnfVMTU-B2jitP7kajepFk9", http_request_error; e_fb_configversion="AcKRkov2CeMSFFxVoy66DwdCmO8AwuVIgy2wtdnNsisIqPKIf6ANnyAkiOo8nA"; e_clientaddr="AcIX5FHxVOUC4nnVXnu5e2apf7EONb1tziAznJcbWn_sYjEVR1vtIcV7y9EqITbhbgG_w8IV-Cl_3OZfEg"; e_fb_vipport="AcLEOIgPr6FojK0tbVqDGvguJkorZNsZ6jwm4c_JIbJGem67RgIKVlfQxUz9"; e_upip="AcJSzvXALYcnQ35EeGx6SBL2Bsn8u1D9mAhi2DkmlKFgklaWBavpcT6DUlu_lZLKrdfjUykcu2-5ZBCh1VBXvyvGfF4YAsROow"; e_fb_requestsequencenumber="AcIvEC4mFbL9I0bROS6fmPxgc_ZhkkxJb16hYcUrsbo930Fo1xwB17NYEQ"; e_fb_hostheader="AcJH6yMJfhgasKN73Nx2-VoiHeNKiQM5j_5fpKpOOIPw9PfWchNoC6tq53WzTitecTjuCRTd_7UUEj03"; e_fb_vipaddr="AcKYQmzZbo8WIk3Z8ykjOLRi7UsM_d6fnrCu8_zUEXUD4Swv8HLNLpR5sN2qYjUhvaTSm5YfjQ"; e_fb_requesthandler="AcK10mINRl38pA0Wq5A4NvqCEeE8OcbYX_SXvNDOUiINRTKQTUo4Vlp4ERij45h6D2dkC1pOOgU"; e_fb_requesttime="AcKU1pWcPP3TrSw79yUre7SlrznlJh5jjNKNB7iWjo_JRibrIOzPcmcUr7pVtg-zoOBJ-oOHBw"; e_fb_builduser="AcK22XPuY3KDv6eqAl5yGWOvPKgaXoO6zWlK_SQs-jaIj2r6_jM6fDMj5z-w-UmcsfU"; e_fb_httpversion="AcJgDZPs7MbaUV9II1riejbK6Luc214hpQsWYuDVUPFFGSoR1IoPJFrI5Ku8"; e_fb_binaryversion="AcIsW1qgE27f1fMjte983GZrvTB5Izuuiiwhz-1U64C0Txpa-1om-8TPav7BHiRhU9_zSnTqnTGewcr0czL47HtcpE4I7M9oahI"; e_proxy="AcIzHnS4RXW2hbk9-1uPKT1pPfGD7lZA_3iintZpgxFCs8mz8dSxhnzW3pa79dbimQlbkKBtTElXjFQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=245, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7316233215163880?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7316233215163880?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7316233215163880?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 14:05:05: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 14:05:05: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 14:05:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7316233215163880"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11185524, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACNqcQK316d5_F37-mMkkpc', 'x-fb-trace-id': 'H8Z6VNFOpBB', 'x-fb-rev': '1012024381', 'x-fb-debug': '3jdd12yzXx4f+Pm1YGRi0WoFCoT/oh99y9f1/jf7QMNaG44itz562sVTr+T7qg3rFT+i7aqzNngvK3dLxEQ0Vg==', date: 'Wed, 13 Mar 2024 14:05:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLBGlahVbT579-BeAIQwtLfx8RHv-Mkxm5kLv5W7lsBwXxsE_Yb7Nkf79WqIw"; e_clientaddr="AcKoiO4BQ3BgyYmi0AwxtT3kJs1A7n8RebFJqymcqfAPTIOy-iM6aXHP65oESI4Yt0K6TQHTpJrqzn2g6Zf5BAcVUpDSPkx_bs6j2lu6GhkfcD0n4g"; e_fb_vipport="AcIpILdUTRj0USYAjL4u86-J6M1qdFer-6iYK06C8gWb2MDrxs1CqodftU_9"; e_upip="AcJVUgfkolsIHfbAi0LjyFLJlarwm0WSqgtltXqfG7JI5mopX4f1zBgRq1VwlFzCY-2vsHvPX8qJ-Tn2WXw5qdj9zxYLz_ir"; e_fb_requestsequencenumber="AcJTRjnh8WXYrJn1v3MfgugEpU8K5LhAs9U_D9BYc1qelKdw3heCDmrYzS9sHw"; e_fb_hostheader="AcKWb_IImPEcm6hKhLrcYluxwIGisVcl51jM2i2l2kuqgkinbe5PYruxd7dokrpSceUrau0ui8_Zp7-T"; e_fb_vipaddr="AcIA5MhL5owYcTx5bpGIu6q5iwTS2RK36kuRo2lbB73ajcgfZDX-wc8EG-Kv-fTMmnahUugNaf-iuH5w-p1_1Ub6L3c0kNI7gA"; e_fb_requesthandler="AcLJEuEPJj5Hq6NTp3OHEKA9G6SVV-MD-mhE-vkHpcH3N5cRC_BXfAO24AXOOABRa3BsAUJahCY"; e_fb_requesttime="AcIEloCVzk_FFxFqsJ2GjLqbQSnl17qw_XDffGB_-c9gBeI6QLTV4eWrthBBTitc72MZhbEN0Q"; e_fb_builduser="AcLuzkHwXqgZGUcAf_M3JgIQ8STOiX_yPQD2ensGi5uDzJWj97p0DWdRPB0NCh6AXq4"; e_fb_httpversion="AcIvJTrpH_7z6YLVzcO2r8mLlNvGhOpfa5DOHjROWgL9Yea4WoMs_AO4JRfW"; e_fb_binaryversion="AcK06S-gMfIYzKF3pyFD7xlXlJUp9KQTfcATOm_gkU2fz-dIpQZ16aE_VHzDpgiqvStrK4eXYClb63EI2oPcBRpskqVi-FL4rqQ"; e_proxy="AcK--smg3m614AW5F2t1TOIlUvej7u99hPGzXeh-d34PbywjJCukCtJ71qlAy9VHhZbgcM3twMsgX43qc6Jx", http_request_error; e_fb_configversion="AcLiCAqzCQ58cwro4QWOEpen3EM7txg1BAfeM8-RN__UhIM6RlvOcpkz0GJsgw"; e_clientaddr="AcI3euwevAvy9dTfCNsLKgFar8Vj954AMBTPRFd5T_FGKCU8fCrhTe5hxTTjwCKZD_HFe6n5nwOLMDQU7g"; e_fb_vipport="AcKn-BYFqglccZoflWQ6g5xRJFW1QmqIutl1dU4vtiXdOMp2vvVIJL97p_-D"; e_upip="AcIXeyR9ynTw2P6c1G9YHpNqHa6aiYV8PIFYzOLSMokRi3cEgBij8BOdxhyaZzjEt_NbfLy-P3Ar4UKEYjTJWB6GsinPG9EYvA"; e_fb_requestsequencenumber="AcJEVM0YQt_XZ2Tij7Jvd6R7-XGcZTBrkBrxm9fQXJj1jvq4Y-gFCWxcwA"; e_fb_hostheader="AcJ1Tl5HjMHFm0pR0S5L4tablqJjRVOxCn3kAGS3F4ze5Lv-mz-UiduV6oNlhA11NCZS3ZtCnCtrIFJf"; e_fb_vipaddr="AcKOnK0doTP_sz945Ax9UhpKnLYn9k-po3e5h69ThctcVr06j6zCtG_gLEtbnRwf4FIWLlP5ZA"; e_fb_requesthandler="AcIQR_xndiVR7lOfLuraaeowiavGDlBbxUsvTx-gDRwzMRCU2Td_nmR_MzrtWTGPk6a9lVhB1Gc"; e_fb_requesttime="AcKWsycjCtrIUcsvA42Z9z9qnN2DJXxtKuCuqzp3v_g7fQoeuDU81Z7G5jpBMBxYgy0RKByJuA"; e_fb_builduser="AcKOVl9YOlyFzvQTQ4p4wnZWjOBoxuOn5s1D4Q00pMt06Sj2ow_21rnnRTUrVMIO6sk"; e_fb_httpversion="AcKNcCJe8XaCtadsmufE0r3wBTw_y9CoppPUHxDXP46r_oV2mQAqNLqbXqEN"; e_fb_binaryversion="AcLHAuVvkhGCCFmkwq6m_CoZuIM43LoTr4Rt71JQ0qz2vUiiycGMBPqPpgRQhBlXBatYxXgjXoLiERtzxGX2Rxx-6r3kE3amhJA"; e_proxy="AcKr18EAdYlijo6sqH-3ARTxE9NS8hHvwN9jf16EXwfTbBm6kTa_q7UGOOU7p5mR7pGSAk3kjQY1cv0"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7316233215163880"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 14:05:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 14:05:07: Error on send one message facebookId => 7316233215163880 03/13/2024 14:05:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANpFAhlBfsTswvH9yj3DTWo" } } 03/13/2024 14:05:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 14:05:09: Error on send one message facebookId => 7316233215163880 03/13/2024 14:05:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A_bkNZiHVD7O16Go_LYlbm7" } } 03/13/2024 14:05:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 14:05:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 14:05:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7316233215163880"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11185597, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Amc207YeQc2LEEQltLggy_c', 'x-fb-trace-id': 'GlIo7AmGEzs', 'x-fb-rev': '1012024381', 'x-fb-debug': 'myZu06YSs8uSF7yriZakoCfLdzmgZDOYLAh5If+WSSiICEJQ+LBH0OiDcJXZ4E7A5HgZmBUAyzNHw1yidTnoYg==', date: 'Wed, 13 Mar 2024 14:05:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLSdkLGUVwX7CMUyJ01j27XUnTaSKcAHQaAkuTfJ7ossp21FElz8YNqUS-ZGg"; e_clientaddr="AcJUjukPUI3Byzr1PFUEPFTvo-MNfeEGozf6c551uNs3hUAiNLf_IXuscgve1iFT3aN272vjJZeTf-EISuCYWMov5vtJtTaxfFKHETamZ9Rn7RZO"; e_fb_vipport="AcKYtsIKoT25hMQORKDBvU5w5mG-WNWrP_FGocIM9u5wAmMa--leE5j4wfz7"; e_upip="AcJiiIBaR1i1Tg_RgFqPVZAzHH7exkpfqXFvf5y4jdSQfmrIOssIlMeb4p4-SsYZDOf-PAggomUM84oh6byprdHiRnBeSlymUNw"; e_fb_requestsequencenumber="AcKAI2LySKSf225Li554bpPbEmqLK2g4ezC4_lqkV_QF2tcDxayt0bC8uox7gQ"; e_fb_hostheader="AcLstmh6f7T_8NtqWREXvdDp9TObPmzQw_xVNaAxPZDr_oVmogKp6p_Bjga97ZtqZ1NOryyUXROCxUnj"; e_fb_vipaddr="AcKRKIruiE39zKB5m_3ajY_7spq55FPf1tcUK-QMFZtPeAql0AhVH7QZn1W6zwZdyJnip-wvyecyltlJs7ho8CIfM48eVPXitg"; e_fb_requesthandler="AcIX0shjy7YT1XrLwim-yzDeDEJMSlVML6Jm29bhiMJYqm9JjV_3w4twBQuqf8WWLrgnNiZXaHM"; e_fb_requesttime="AcIQ2UXrxmtll68-9SzcgI7Rvi4xgqaN4cNDjbYZVaIo6ZwCZ7Ci3HEF6n27Ji7UNjI3YU07mg"; e_fb_builduser="AcKgPNchmucTZ8TtDrhMphlw683fvhCTXtxMFGwy8X0YVa1rDbG_s0Z3uYy_IyZuoPY"; e_fb_httpversion="AcKE_Asy8-HAav6w5EI4Gc-nVwTsJL09hHRjxKVSliZKUU31ap8-8QovVA-3"; e_fb_binaryversion="AcJJEY-PJcaxmrnB7qxKeXUdnshg7jMx2h2YtsSHwbPrRrCyk0K0mnejE9i6-FkJeOcDNFoVo627sCBL-L0A6Vfpa3M4_D7XFkY"; e_proxy="AcIYTQw2LXVRCfSCfNGhOQCokOf9mTtdjTqvkV9pHrR9tdx41lIjp5d3fYo8cfZ6_vpfEb9YkO9tqWcc0E3z", http_request_error; e_fb_configversion="AcK99TIFYFfQ2aBG5BUTihBYV_HOpLyIdyWDb274f3ihV1dWpIPwmSddMQLAdA"; e_clientaddr="AcLzNqaw_Bt_z2nkYNU3ksJR9VnwCzpOCIQoQjeqTfhp9ElCP1HII1KAijrIfp_Qgy8CsgOT53ssu187mg"; e_fb_vipport="AcIPDWRw-rM2FjAUeW8OQzxXB22nsGac9tOgK_N9UjfPQpHsVtqrFFwiJYg8"; e_upip="AcLs8lSpoZI5vPctOuYhT87s55J3g_ETxRDiiD7A95PlhpV4TY9Hf8_SPa7dI6XN85DJ9IiZL_zJNgoPsM3fGnE42SwOdLVj9A"; e_fb_requestsequencenumber="AcKtczKmCCbdAD1za3P0GIFK7lwj1vQOJNP7jG53pwxKJLIMz_lJy-PeJA"; e_fb_hostheader="AcK-RAdoymRGpCJ1Avf291GlLh56cN_8UEKS5QzLG_TQspVj0Kq7lQdTgR0ou4qB3s7quKZSRdvdDD3B"; e_fb_vipaddr="AcKkSJ1UO1cj70bePknI3VMTw6k2vO7OoGnud4P2BrvAqMVG6o7r-xp5grxjBxxaqnqBWMhcFw"; e_fb_requesthandler="AcJ7FurANYin-w8ogAHuR-2Rlq84beJm75VDBxqEX8rgjXz3W1ttAccwmdfJdbzE1oMaQ-pElA8"; e_fb_requesttime="AcJi7lx_WZ6K2POVbg4L8A-tJUfiahQ8EaLWh_4CUV1fjYGuL43hl_enVMqDsBhyARCJCyYlGA"; e_fb_builduser="AcIVmEHdM2tNg3pv0YLmItcIry_ajHqJLAYFUypBrIJoQKOYHxRl8QG7tdZ5tY3XfbE"; e_fb_httpversion="AcIDv9UlUM8s8EoxoTGOS7MM0jxXnN1o27mNleOxuMlrG3lvJDBxEGjVlGyW"; e_fb_binaryversion="AcLFVdG7DFjVMvffw5BXLCJHXHN_kY6szyVP3i22dOI2pthv15JgUrHrw5wClrEtO8Hk-tR_qxFSZm9VhJ-33Oso4HLU9_5qAg8"; e_proxy="AcIizS-qv5HRWRHOo316q16q-tsYhK1iepTLIYpI58Fuw1JhPvNuubVzCpfviuFAo6np0vbqOmGO8cc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=286, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7316233215163880"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 14:05:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7316233215163880"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11185722, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKCbJ-sTAcvJ0-uOI7V7mSZ', 'x-fb-trace-id': 'D/D6+knslx8', 'x-fb-rev': '1012024381', 'x-fb-debug': 'jPjj0MWTT3xAB+lshaRzPU2YVa3wixs7WGAFV99lorrcHnjn6ymDOOp0uQNKResAP7CflHDgR8NzzTnXCQ4vDQ==', date: 'Wed, 13 Mar 2024 14:05:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJWCivciG_5TELP-hV4l9w_96LMy234DZp7qkkAr26rqJTpNJhfD_Vg4fF8uQ"; e_clientaddr="AcJPIup8sTa0_kefxA9ut1CXh4n1W7Xll1TLq1OTcfVG9zYdQVbbOi82J6vdGrAWug_Nr3cxn58YJsgGZrYl_B5bH07V5hS5p4mX7vusViGzCQOgyw"; e_fb_vipport="AcJmPnX18btfRwHSYV05_l_8ckKE5lcLoj-2z8Q7SOJzo0kcyZZb19WYxUc_"; e_upip="AcJS3gJffU4A8xPk-2xzMy0FWYC5-ZALYP35ciDIr8vPzVKSZzfz_jv_Cmi-XSColDjgYERZ8h0yAFHn5a_ZKdQhBWYG-jjzNag"; e_fb_requestsequencenumber="AcKoFRl6fmWZS7DiKcPujgt7rMLRSGLnj20_o4o1prVFdFYizxuzRj-G02Ru4w"; e_fb_hostheader="AcKmixBh-LYONoZ04Di-lBsRkXlOVojNNmyRzTxDx-XUFGwITPY8dnN9VgAvjiH8xohQQYF-tX3wNe2E"; e_fb_vipaddr="AcLwvQS0XlAMFnZ8jvQV7aXzxAqJ0vCB45CRQ0sZjqhlXY1HcPAVd7uyBIdW3WzCe7WytILXvMw9gtAJvQ-ex7uNOqlWf5NKZA"; e_fb_requesthandler="AcLMNcNUj7Sa4986tUmLjGpVd_WOvogX0cpe3wdc5R7DicFFSngvEUKAK-mdH64UxxnV7UYVhLg"; e_fb_requesttime="AcKlZwyYwTB89upMvXkmvAlmt8CKZ7aIypoA36VJtA6XBNp-PIiYgnIVWUZdRzmPD4wqnYATGA"; e_fb_builduser="AcL3EewWH6D7bHO4tlhjzcIezQEx3J2f5RRcfpCOQ2jaiT7CfQTHFyqy7GShckd-ZAQ"; e_fb_httpversion="AcJbFV2xWsRQDKO_nOz5Finon0tGCXjcVdiOtP81auvalPGhHmbGGBIO16HF"; e_fb_binaryversion="AcIEWJrhdgsawHdgyhTNSiAac-rJMF3i-WRmz9LyRMiUjO9l65bChQwmD6p4nRxOt0hDsGly5BqdZLXvB40ZJrNEbCsJDeFwYYU"; e_proxy="AcI7Y8b8QxJ8Ft18AkDGKQCUKTvIbtyN4-PSKHFIG3v-XSAnnFe9XwgH-xw5Bwf0C48JcCFTA2k2mBOjDzPm", http_request_error; e_fb_configversion="AcJVg1VwPE-8_K0HzkT2CbOlUv9ZJe0I4hQQDA-QcHUSjAnm6XpHT_xm1pnweg"; e_clientaddr="AcIh3f3r-wvHd_xWt19D199Z2HzfUG8-p1YBQWaRhP-ZY64VxMncMQXoShK1UWr3tukeiHJmwZMORBC9QA"; e_fb_vipport="AcLokPomx8oqzXSMgmWhf3V9wtH52zPY1hztJtuXhIsf0uSrnhEm_QzotFUd"; e_upip="AcJbTzPKHhqRv948Jc_htnGetEjekLjoZRx6AmgfNVQh0RU_nAj33lgADIXUDzHxEYlKr7zhyn0ZOQq81o_UPciiXQMwgZowzQ"; e_fb_requestsequencenumber="AcJUi8XOmeYUqfVb8JS4BhN3oBxF7ICt_JA16Vmb-M76G-8FtC5LV85bnQ"; e_fb_hostheader="AcIiHFLRnIjhlsTUysOhnZnkyaMSlYfOm5zJNb5A_lQa0NttxF0ejfV49dpKNbdFBaPL1cyOC9NENseG"; e_fb_vipaddr="AcIKyODtnD9G4E88FKxmqS7X1h5jAgVQ0Ph0oZW_2Yi2lyFsJU_c_mhcAAB1sKcskU1p4duTWQ"; e_fb_requesthandler="AcI7rFIWCZDfHns0RK93Y9Hx_cabxya5pI43e3fXlVe09rLLDTeDACB9lXEK6_8Jdr_LM9uULF4"; e_fb_requesttime="AcL9D1rQaDuyT0-ceimChnbsJrbBSS3uiIrVwRXqv9w77girsL6SzBlqOfewu8X_JOoMTVK2WA"; e_fb_builduser="AcJgpjYrxNMPUp8L9BDRUaEGOIgq8CChcVZ3R6KJR0fLR7nBNcY3B7P_Cz1poxF_eys"; e_fb_httpversion="AcKsexWpdPneiA1YvsXTkMasjvUaYGDFi1a8OUD2FvM-LYmvS5jlPWLDZwDP"; e_fb_binaryversion="AcJJGUbO1zrJmyxdWJZZE2sONjgAyuIj7YiKrpJCTe5eUS8NaQFtwq0Ofai7eV_J58YSolqaUPehs7jzxyoVr5Xi6EhWbSvZKfA"; e_proxy="AcJiKfVL8r4d8QTqSsCnW1BXCQn-K2ewmxd-rGoj8jiOOBSlbVP6Q88w-Rrvv3vdP_UDLINwYa1IItM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7316233215163880"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 14:40:38: Request bot not found: { id: '215725838493727' } 03/13/2024 14:40:43: Request bot not found: { id: '215725838493727' } 03/13/2024 14:42:30: Request bot not found: { id: '215725838493727' } 03/13/2024 14:43:14: Request bot not found: { id: '215725838493727' } 03/13/2024 15:02:12: Request bot not found: { id: '215725838493727' } 03/13/2024 15:31:49: Error switching inputType 03/13/2024 17:35:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 17:35:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11221271, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7SaENbqWhIO4PGYPzRTiBy', 'x-fb-trace-id': 'DG+22KZ29dJ', 'x-fb-rev': '1012026036', 'x-fb-debug': 'h7LzVdhfDhrB7X0EaADkIr2eEkL1X6TDHJ5EIBgFSJPCi6j4mJcZSnGZtNr3MnzQgL83H/S8bP4W+H0xBhhZKw==', date: 'Wed, 13 Mar 2024 17:35:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJNcnvVXlGxdtZpnxgBCnHC81IAlnMQLn8uCGxBW9-kIt46hoUHUsmWZXeONg"; e_clientaddr="AcIV98IdEKd4nkI_KyF8k_MfLMAwiCWhF2Zb0NAFs7iQbk-Mo9qofHbX23hgUxCiG2ThoWuz1enQoh4JP9KKIAK8MGppEURu0rU9AaEBIYJ8D_lS1Q"; e_fb_vipport="AcIRMzSMRt4eR1IsQijSyi1E2uv2ujaQQdQZXhE6PwDwqkM7BqvIR30C65ny"; e_upip="AcJHmXR7HMkhwz95TeMHoFHhZNRh0t9FeASsPWH1OvGq8f-Im1F_d8dlkerHHNlFfBSbccF0ClNr-NHFfxvdTZVltk31m8VtAg"; e_fb_requestsequencenumber="AcLXwLpAAak-PrWedX9o2tH-G5gOgC7qXSB04R6gLtH51lzjZ_DPr7w7TTd8Pg"; e_fb_hostheader="AcL7L8PyKoj6F7C2XAGKEs-0iwJ_Z6_9vhhT0IyXamZIU5zr4otEy-T_beCA1ZGbSG2s-2dXX5oYRcFv"; e_fb_vipaddr="AcLx_79j_EWQwCVQzufHzcCyEZ8-oNdErSl5xTDg-Cuz3C-y1PBAR-NvGo1wC8fxwXH2OsA6yKHYFyNGJg9eO0VWiEqVmg_mtA"; e_fb_requesthandler="AcKyjl5ZflepGgJQqPhzmKI3NZXjOMdr6prReMjcTip0lMTxucuAhom_BRqxiW_P3BPWLuyXcPI"; e_fb_requesttime="AcKVEFbvHWFatnNOftkCPaR-SEFaQU7eyr5tB9F4olTmLS6xUF-emQK6am9TReEMgUo5EURtUA"; e_fb_builduser="AcLmkPwSJ-0I9SET1JDWcsn5eppjqREVKUhkaJor7rRd-_YfKyRFHud3nn4jqXILw-M"; e_fb_httpversion="AcIKliEgvXXto9Kvhfw0cXIlDVNP_oKrMPeR3aBAVFebsDoJnIbNI3ALPSkF"; e_fb_binaryversion="AcLgs5n3IRMh8qEqNfKl6igIGDZyOFFfryiSfWGZ89uWKl-zH-UG-BO8t_2LF2fJtm2D6xT0Q2uOlUuWjoPrifIz41YoVtpaj0M"; e_proxy="AcLzgotPJuAJeXhHZwaNcJnx4fRIMKG1GHI2wOalI5cx67ZdoUpuWdaRIVFQdij36xHKWUNr4_zZxhP5KMtq", http_request_error; e_fb_configversion="AcLE9lPY0H1a75vfWqwQG_PAGW-kKoxLGLNeRJ7JzM20aMCLjhaLObA6NUwaSw"; e_clientaddr="AcJjhAQVNrhAqWbnfkhS_QWAM1y582JV1rnbhEOKivaWD8YJs0cXAgstwkbVtTtcw_5Egcj87veuEMn_GA"; e_fb_vipport="AcKEKRnNZVWEXSkhPm8Wjk0zyuam6jwwTeKDYRGJDLaDli3NhJQG0ew6u34Y"; e_upip="AcJS7ssgfyTFjbQnbtBHtwJgsiWvf81g5iicEVfWriLjyZw8wSjlG7MglsCvsdqNZcGmM5Zr37NMJ_OT6s9VRk1BY2Nbh0EhKQ"; e_fb_requestsequencenumber="AcLxyESxf0TDiNNNYnvva2FRk9hKUO9blfk72d7gybMuf03Mq8pvuixTEA"; e_fb_hostheader="AcIEjc3L86AdsCbaLZcXMm1rDzvMVnjRZt65WsV_Sq0nCYB0sFO0scjBA8lL4fRWYcxmlhAYLXyrDD_h"; e_fb_vipaddr="AcKmlQhSbncYetGh4m1ELOAoeR2wZ79SXNxeiv3Oi5JB4Ri9z673OBymrJHapE9encOdKx9tyA"; e_fb_requesthandler="AcJQlfHHBnCCvoToK9aMbvwUtfikvL9cpqQfMOpMnrmGmjv7tloF2dAg4ldZ_5-EqlRFGy9ZmNg"; e_fb_requesttime="AcJvfDNa6Vqf8r4hcLCVFO4xjDEde5zPwS-A0pC6KEg4cfwrybrdgW2ZQ4YDbjDVswaFd8_BYg"; e_fb_builduser="AcLAWKfYqAA293ylsBquh2IpeSlkrXBfCzCxv5WYN-4qS2-h0bSUu-7h53xUMuvNnmo"; e_fb_httpversion="AcI5YATJRSojO3o5Zf5EttR-410V8mgpPNbZm1SQSy7ANnpiCqJKgH5JOWvc"; e_fb_binaryversion="AcLuUKclNvcRIDJ8W2gt3Eodg6jtzNSti9B5K1-zsj4MUOmT4xitJ4blY-bYFvpQQoTDIOrOLfTIIDgtAcPT4PJ15cepgMHfslA"; e_proxy="AcJLKeWAtBx1NXDjusd_tEh1mb3TYD_Hgda42TdFONvXwKXz1OAb4a8V0T5GpM-WuViWPMRWZhfq0353"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=443, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 17:35:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 17:35:08: Error on send one message facebookId => 8136111583071409 03/13/2024 17:35:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGUaAxIwnXeGFg0FP8cDN26" } } 03/13/2024 17:35:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 17:35:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11221406, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKQO74mylC9xNdm-r-2WTlY', 'x-fb-trace-id': 'HAikuwUP57l', 'x-fb-rev': '1012026036', 'x-fb-debug': '2GwvP6EU4pCiHCBHnB1BcT2r5PQ7f9jiEi3d1ParomcGhUKfPPPiS6s5o+bp3sCTOJHlXtCWTH8VfgmVroSYEA==', date: 'Wed, 13 Mar 2024 17:35:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKMzj51ABmwMmOPlq5k8PaWcsQvs2Iyd87lO3CgrDFgn8qzFhJFzOENjgqn9A"; e_clientaddr="AcJz-amAG99wWPEEnQpogIN5JViX9D8_1cAFha58wbeDRl1ToVkW17Vec17DxjqCupkhfYAjggAyhahrSSTmntVBvGKtfETz-S_k0kMp1ShqUmmJHg"; e_fb_vipport="AcLMBYUrZjTv7-RxhL_pdJVSve_hoEIVxYgqEuKXD6Qu4qZuSYFc2Q28l08d"; e_upip="AcJedVCNTxN9Up4ifUU1AiFakbJKic2dx61q8AuFvcTBJph7yy6Eiz-yVDSI6sO05mm-v83XUpAgbLgFszjg4zgmPWDRZpSV3Q"; e_fb_requestsequencenumber="AcIGJ9JeXMxzPre2Xgz0Z0VNzB2n_xXVl2ZWMRfo3l-g7XVkuPshV4-iC5Qo0Q"; e_fb_hostheader="AcJKDP93tmK0HyG4fbW73LP2-4pgJxxnDVzSZ-HaVBJcd3Y9_dA_M8YZmme0t6tGIfplWM997vDCLmuW"; e_fb_vipaddr="AcL2dVFGdZWBF-YzADkc6onlTSh4cPioa8XXnmESv7DAUZFSOKfmq3gMf-T6IZ3K220RgmEuzImI7LC9Qwq7M50LlDsu03zXuw"; e_fb_requesthandler="AcIlfJnjYah2mMwfloxThuBfV6q0989RCizSxPFW_RxrjEav6cLX8zRLlt-EjHPQTM5IJDRDhJ0"; e_fb_requesttime="AcIY5iQXG8t1I8SnqzTtnoRnKWX2V5O1HH-quUdqYyc5SDqnl85vlb89ad11ZEP27QfdKOAVGQ"; e_fb_builduser="AcIWUQsObmrLZBi3gvehhH-oGaHTBJfNVPInjA3oaKc4F6uNqAvk_rCzaKw4vAHqqj4"; e_fb_httpversion="AcKXpBMui92ep2-hgumpI8wzfqWnS2bQSFZV2nHz6qF2OWpVx2AXwQ_wCPe2"; e_fb_binaryversion="AcKeIrN5D79cEAqQ8oK7KfuefsLqKt1sk11s-YFrvsdWd5t1kyOVhX1hDWw7DjwC9AyPt7bnzHxnRHtVIxR_caDImWVovGwkcC8"; e_proxy="AcJa_mxbuMX1a7WQpjF65B84VXq3kFmyx-jfiVgmzzq_wP_6LjI0-wNMMo-lb07W4VGyTjRiNRy1T4ODMdn1", http_request_error; e_fb_configversion="AcLN4IOZXH-fqyDZ820b-p-vD15FLqYUzCmmFSUvWasSk9GCi8qBluviOxzFkA"; e_clientaddr="AcI6uX9WWt9NAUIMs81Zm5cPCKc3rzHqiBT7iODbkscuv-AxoBS9GHSIWhN3YTDqfZ9gq8HE_h9Uh4vbLQ"; e_fb_vipport="AcKxHRnlnU2hfM-x6ofetwgxEtOo2y1HjI6whFUEU4zJdKyWz5y9nLG2ylkV"; e_upip="AcL3pkYc2BF7y5lUPlEAcMDvbA7e69ENUJfz8-CQQodzdHf5nls5kt5MbYNZs9d6tRKg33SGKB9XH5OpD9RsGm4vVVMV1bpTUQ"; e_fb_requestsequencenumber="AcKbBqxOtpIfLLSFYfAjnPd_sQsurAz7P7Pp8nK5h_FkjmQPnT5jhLst5g"; e_fb_hostheader="AcJpvR5mwdVp7nhe8RY6Z4SknmikEIbHdeUS47Z0wM0ATuteOSPuP_NH_Oom6tUJIi5ShToGc3FMSg8F"; e_fb_vipaddr="AcJHmF6EeKALexWCKeLAB81l_NvhwTl0OQXvzhKBMeaXARFg2FMGn663_4Y1KfT4DYW_AkzVHQ"; e_fb_requesthandler="AcIEGCYKRHZ4lm77SX6GsELLq7H3TbE4J7ph6XLT5A7NUznCpAOYahjAKW7Xh-IsjQ8R5SyCrtw"; e_fb_requesttime="AcI8htZcvGcmpFVQ6O8oKKlt4gb8FEiKFuOJ215EIH43BFyKqnySu2jOuDrOuSk2NKZtCr85AA"; e_fb_builduser="AcJgVaeinaQEJ_9J8l25bLUfpRtFx4dISaUIRdtT869RD3iWa9MD194ZDHjLEWJwbLM"; e_fb_httpversion="AcJdA3xKN6jXPYn03aRoK3NBSSk_2hwrsqmRD-PPYeMH7CyyS7Vj5c-wLodW"; e_fb_binaryversion="AcJKb5fZgSGlUjUyo1rNIKeVPDUYy-HP93okeay_L4kO36EyxXqmCqWzD_DPtMk_r_kM0Z_omtSd7kcXuqnKHEoWWVExDbNTeFQ"; e_proxy="AcI1QbvF88WOoyvHnuVbFqAC55cuz2qhJEMTJzwyYDnC2zNvcX2oeazRHSDNBWHOEbCm5RDw3_s6pu4P"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8136111583071409"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 17:36:03: Error switching inputType 03/13/2024 17:38:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 19:16:22: Error switching inputType 03/13/2024 19:31:36: Request bot not found: { id: '320637341295349' } 03/13/2024 20:55:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 20:57:51: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25137790625866286?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11257161, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25137790625866286?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25137790625866286?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25137790625866286?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25137790625866286?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2mjgX8YRjcsF1SKyAgDQwe', 'x-fb-trace-id': 'BZOIb7p876g', 'x-fb-rev': '1012030542', 'x-fb-debug': '/vQ0foflNDxvKl+T7ee/kJqypiYv/lB+LhK69uu8j8Pisfx83+/QRxTp6fLelixx6UAMYNQ67CRF3iGbCD3xNA==', date: 'Wed, 13 Mar 2024 20:57:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIFgEz5nKINJ90qO8sBTTJuUVBSiBa6IXFErqnGYFL1VPvQ-eyilLN9zwCJRA"; e_clientaddr="AcKhQ-TCNZ0kxoPYdiZX7hTB15zhdjClZJg_TX5QramaR58orPjTadgrKAumKfTo72JNc3V0y_ed_HbZbmAHIgnlQpdmYjs_ztaIioNa7Qcr_MMWoA"; e_fb_vipport="AcKDFJVbQQOytQdLne4-2aKHx8CTEDrPdZpd4TkCRNLvaRsegix3Gbb2Bh-R"; e_upip="AcJhgWCJfMZ86LfUEFZM7vZ-ZKVz8uGos6ZNDYrd1xrDI2dA6sZjmUTh_qVC8YnWhIhYslDbFClY5zXPxQkMU20RE0E024ZczQ"; e_fb_requestsequencenumber="AcLY1WAZdkGro2m1iAwHLQKcvbO1jKfyjgje1XQUPWPTjebMH0grU4mC_LMtng"; e_fb_hostheader="AcIFejTO5Mo796qoPEj2mIk9JngrWXVDoxLgFtjbw0_pmvy36-it0QOcfKRsODh1vKWZ8dTCfsk2Tbr-"; e_fb_vipaddr="AcLVuU75pkiNUcqVQgtghqp0XfaNlyql2r3UjSq9nNUwIzjwtIMgH2f5rKFMGDeZKIBMmAVDzLP7EORj3sSZjf0yJ-Lwu5Bzsw"; e_fb_requesthandler="AcLWI_Y9seoKFWd2NJJU1rdJ-R6zqV4pqhdTENS1jvrN0K70PyGfj_PJmhvkAx1ah8DyA6NgXWg"; e_fb_requesttime="AcLswBBdkCX4YKvyoME8BbvB7mhjZM4tbOTIeT4yvKQhNzDPv8gkHjmxgE_yEkKYaRlfu4cubg"; e_fb_builduser="AcKI1PbBXrR0FXJUAX6OezDeCq6tFLQAgeni--bpHu2Ywc2KFtKtndnFjizLd023AnA"; e_fb_httpversion="AcLqbfOB5KvyVA-wnKskx0kFPTj0TYQxvqmKR9OYo60QWSQG7YG8ckEqb_9k"; e_fb_binaryversion="AcJN6aS1ese7FK_gph1mtaJNzE-hWWWwNLa8YtJSn-tiOOjX6f4Qp6-ge3DAEd5_6uiLG-paw48bJ64UIEKaCwgF5-NboAhYD6A"; e_proxy="AcLMnQbwmEg7FmyJVSJZzkl6z9Fw-2KEPWaF-JtFO_eP4TnhNuSVVx6ElJ2Sohr7JlTXmTIFBU4Qsv4qZ_Z1", http_request_error; e_fb_configversion="AcJ6Te6nVesyXZzqwHyZia2SVaoecSxeROp43AMX_DTHs8bJR2_H-JpEyxXx5Q"; e_clientaddr="AcJUCnb9dnkVfnQodO53aRy5kJXMz7sQZ9r_ZWCCoGSIXaCWCsl-efgXhxQidgwz-sNNj6eJQneD5_87Mw"; e_fb_vipport="AcI-WD3xZ1OWLfaV6zWH2dGWIAfiCwBuq90m7X2aOOr9HLWRYBm6TKmZLN-X"; e_upip="AcKa4WLyzt09ihbExz7mlvORafSMv5rqseK3U662ZgSn13wYwYiHSbkiwgfIrsH7vLIUIcCOrjSL8SHXzo21IgHPlYjzeLwdLw"; e_fb_requestsequencenumber="AcKVnXK19XQ25-MK8oJZDjhZtyiBDo41-xanXsXs9hNlut_0MFTZktZVlg"; e_fb_hostheader="AcIeIpA3ALWtAErpCTLCs-Vci2RSreRYqiHNTLiOQKu1EiCweeYyMVQniDImQo4UVjIhfb7W7FsGTQ3f"; e_fb_vipaddr="AcJgDU2sbSLrOh0xnrDG9a5nTcZuo0pFEBzlFdpINSeJe0dvME3nFfBO9YeZgQ7No5z4qrUWcA"; e_fb_requesthandler="AcKGAZotv-kZPkaoKUX7c9JP_v_9qqpk-nuag1QcbjRVyCDntH1HRDmQh9IXiXEzRENeg1OjjGA"; e_fb_requesttime="AcIBsnvfKrFoOSVI0nYFBvH_m19FrhjxDYVrWBVNKfcY4ULWVpKHyNVRcEFMmRsTYO3XPesTpw"; e_fb_builduser="AcL4TEz9LaMZMqWtzpqUV3Ie41E2aQol4x5e8zMgky28p_I4v2yNZz3rtqUIO3BOGVk"; e_fb_httpversion="AcJ9ESUI5diwAfB16ojDQ5vNzXD8Nuep4-JTH8ngbxZb0y38FXecgw2a-BXu"; e_fb_binaryversion="AcLNj_fdhXaS0Or0fl_jvzGxvJBhJyR1uV3kH1gSlo-S028N-YPl9yUT2vac_d0wTHxQKydNZsr5VoiBIZtmgdP9h-kZkWS3JBc"; e_proxy="AcIPvGyMsVLyhEaF0oG_z1JaAcMK9b3u-xrFbTVaZn1MHcDmSIOct_ComBpfk9pfiAIlxZVTycrSX60"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3402, tp=-1, tpl=-1, uplat=116, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25137790625866286?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25137790625866286?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25137790625866286?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 20:57:51: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 20:57:51: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 20:57:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25137790625866286"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11257279, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGsjc9c8JGCA0VWQ9TtVH8i', 'x-fb-trace-id': 'CwrZDIFXeD7', 'x-fb-rev': '1012030542', 'x-fb-debug': 'gCD1vEmbDUOlpMdf7DBj9LrcCRbXFuqYkkiwg2LaH1E0bzW/e4sUksWoF4kuC3LJXNRzF7j+H6epYn/4Vrt0pg==', date: 'Wed, 13 Mar 2024 20:57:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJgZWz_SSRYDpva6thsRlnXcg9jlOzkcarxA7zOQfPCdR5mIteNB-MccXoPbw"; e_clientaddr="AcLImru6a9S50kdgrcvz54r4hCTZhYTxr1jC-vrenJwQPZtNMYbAeTeiludVMyujsr-VN4Eg2U-f87m4eUXkw2Wk8rX-Hz9QUDfHVBuMuh7Wo_2oJA"; e_fb_vipport="AcJUDABacWzZORIAh-bc5l-e0l-r7FCnvDaFo_BaTFrWhc9vxnqzQXajtehZ"; e_upip="AcJBkykEM2MxXdc-VaiCqWgW-hy2Hcla2t6iPFoVklRgeEyZ12X7R5w44qyfAhSl6aG7IgTt8JLMFyzv_E99R2o0TYW4r8Y-pNs"; e_fb_requestsequencenumber="AcKlm08fbhsra2Ns1MOL_69P39PZDxRnuAz6ZRZOsuSwroe-iCEjW3-iG32x4A"; e_fb_hostheader="AcIPPL3o78sGI-q7hykdpMHH9KOeXXZxRpHoIvrNaIga8EZ3ltJgWY4dlBG9ryObdVbotNcBHMf-P_Qc"; e_fb_vipaddr="AcItngUenI0_Qm_D0gZwTF5OktNX7_beHMlneg6SLxVsUxlJfV1ynyrQ06XW7nayR0xK2A6LxeVTKIK5dhwwzVHCUo9q9bV-Ow"; e_fb_requesthandler="AcJ8Kk6iG63xjaOQ0luGYCZmQD1H9ddeq2IbNNqPyZUgnetdDPibfwMeuwZ1ziJs3w5xp_on6dg"; e_fb_requesttime="AcLh0ltJmhqUTcJsktsD1D8JnsOL_lEyy72xi7yEaLNMw5pofASRo44h8vH9QDoZ-HdcOBg3hg"; e_fb_builduser="AcJ80Q1QgVP0tQzEXk4Z6UPCFubsijPWoHrUK_8JdHfQx0ucvelcAMWWyLp65pVgJ7k"; e_fb_httpversion="AcLVEGqVAumYSljGb-6b-6fd6sehQqd0H1MHD18lHHSy8yafXzVpaPoJnJyP"; e_fb_binaryversion="AcIOv2rhYNTuUifTB_YSADEt4ZP-v-C71-RtVNUGEpFSmhFboM6juNYVEhUbtFzi9010S8CRdL7-8oWpu2Q8udECl0mTR3k36WQ"; e_proxy="AcLcCwez-7XTLtehwVm8ryZvrHVOwcz6zcMQbEdulnYiDiKTcSZHsFj5AHxncbnAHV99Jhpa2ghAyFZxyYTM", http_request_error; e_fb_configversion="AcLAg0khd4118KnKvxjFFxCR74NzKfFEnVAshcwf7_T9jKoD5hcPY9YOE3R4vg"; e_clientaddr="AcK9t8x9W5xEKgHXCtRO4MZE5A057MWOvhal7bhwkKL73d1bFt9vL1D8-IdldD0wrboZyIACmqpuyCYKeg"; e_fb_vipport="AcL2FHyswznZCFGh4wW2tN_Cnba9UH0Rq7pMpnbam9Z6y37N3-JNpnRACMbJ"; e_upip="AcKa59-VBPNsB71htjtyWJIld10yxEZw8pSanyy5KYy2BDEB7Zo-ybbOIaLbUQx0njCftTBdwaQy10SKTpMxbZ0NK9e6uxLgZg"; e_fb_requestsequencenumber="AcKcn9WREIvXKI8ukQH_4N7HsYU_LebYDsRFaYVaxkAsR-mzYZ9dCyjTRA"; e_fb_hostheader="AcI10IGoUVdZn-c3_vFuo5ZVNuvaNb27YV2gMXeBe0DyWC6RL_zKt6q4YPIn0YRZSUoQcpbqkyrz-W2i"; e_fb_vipaddr="AcJ_YoebBx7E3l6R0bfuJHqraSQ0ZgZHEFsUwFEX64a_GBBAVVIBq2iSpslWTYz71TNZ5nTzVg"; e_fb_requesthandler="AcIfTAoq12Dt89Z5yk9nfSfit-OaXP8ZvzWuSBeT4VAaJOUFnVN6W8ViBL5L2hEUb3GMw0y49b4"; e_fb_requesttime="AcKhByyh3Dh1AdmA3lyw4G2T9QgaSn7nmzFc1_qrA_hSXC1g7nptCFuvaSvDkidmzGe7OJrKzQ"; e_fb_builduser="AcK3z6qD1tmtZk8wEVCt4T4nG8ufP3TuGYKbSERAO9w9TUy6I80Fy91rXHiMuJOXrmc"; e_fb_httpversion="AcKDoFrLiHS6GjUrtQhj4GOZCTKrXfYJmrEs7r7xBuY1FKlnnOzn0tB_NitO"; e_fb_binaryversion="AcJ9w0VNHiF_KMzLWt18zAN_RhQ8SlKRmbqJHenqriLTHYNJGg6-Z2IfmAvn-3-bQW9bYyUWdj489aOfjuaWhVkATBgolehMj6g"; e_proxy="AcIPHwiLi-bi0Eq3e8XaJBXIB2ebtfLKYDdzc91FjXMy6VgKNBP2QFLW53OqyGYD1N8AVOkMr6Us6eU"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=102, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25137790625866286"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 20:57:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 20:57:53: Error on send one message facebookId => 25137790625866286 03/13/2024 20:57:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApAX1wSFxzZTsLtMwxS3G13" } } 03/13/2024 20:57:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 20:57:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25137790625866286"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11257364, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuZMbtvmra6iScR61AnIXOq', 'x-fb-trace-id': 'CbkigvsJgOD', 'x-fb-rev': '1012030542', 'x-fb-debug': 'c/AsTDtbQbAtFMlW2kRwj4+k6j8yoS00otkeUM7Zgni05DWOYfRvXdcnKEnKpA5yPuUsqo9GDBf+DXJsJGEyCw==', date: 'Wed, 13 Mar 2024 20:58:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJnHUEuS1QoQWp1O2DP3MBCPoByiPTNEn8LF95TVCXBE2kZC-SYdp4U69fnrA"; e_clientaddr="AcKvFGbfWY30UAwc_e7pjKZ8YB6wmyN8aoH2Y1xtoRyJeyjpIWmKsOpTTVmLj1CtEj8d2Bf4Wp5A4we2-NtLiHigNkKpD0abZUznDGLaGB-bG_3S"; e_fb_vipport="AcJNora6HjLa2UU0M-yNftIE6-GC_gxLO8Hi1g23u4QKNo6ZPSe7qitu8us6"; e_upip="AcIAY77YBR0-TCF8F7KCTVGvlvjGwcQjYZJANUSghbhcHKEkvddRP5iAbIiuXQ9eb7fcUxjnaloKubaAOBwfsoyRbbxpoJgBI8c"; e_fb_requestsequencenumber="AcKTrk3eT0cEn01TXiuTEq_x1IQ6Yt3nQCNO9axSQJyrHecDowXALtRKwfPz"; e_fb_hostheader="AcKOlgMsQvdD1uMeufW4yCsE7g0ZBUGyih8sDpgq1-r_Lu4u6O6sU3KyGUnSHiJgjG_E1pVcJACAHmTU"; e_fb_vipaddr="AcLwVnalOoWz7_p5zbJTUyxGpxeE8q5B5ASmbZuD-kWER71mugdU8LqCT7Gy0Pqr-tjbYWSDoZ79q7iHdFeR-rBaZRizKaq37g"; e_fb_requesthandler="AcIszhPR8HIeqFswVryreimOlTjtbWWi6_02bVBQu4Hqbc7m9VemZZaYC6fWu5ddhKs4Q-LOJ10"; e_fb_requesttime="AcIhkC7YPp2Pr2yJIcAPsKGmvrGNSJGGOhiMT-hau0uNahkJ4Ud07RJDOePdUc5LGsNermsasA"; e_fb_builduser="AcL6PdIG4TL8mC6aZTMfFBjUPiKTsUYfpIpbGJbNv6ikK52O4i8Q_j-CyOqetEC0f1U"; e_fb_httpversion="AcILASxH1g9hJ1ca5eZj5g9Rek6r1TwFQ-28rBUyvRNW_UHTMQab16MTSYky"; e_fb_binaryversion="AcKSx7fmjplDjxxZnTQH-lbVvwfzxPq3OAnhuSregBX3BW1oOhxJcMPl2LWLbu89NAerRAXSEPyQZr62Kq5SswFWjZvviVW4IKg"; e_proxy="AcLutz4R563iVAYMLQ3ZWUS8GhnSnPnKK1JKsgNuDth_WYC2N-7_dAFJTUEii-YBv-8qplfpQWFBjVYC0kIH", http_request_error; e_fb_configversion="AcJTy3ZEUX3ziR1pXL2QTYP2GmfkDyIcV3OSYEUk9e7BK9YW0YhaCwqn-j1Gww"; e_clientaddr="AcJgSu0FFXODw9DvczQcNWsAOKOP_6Byc9DnjuePyGemiGJh55VYtFR_udIda3BiW2xGKPl_DGZzHTm5FQ"; e_fb_vipport="AcLPTg-xs71LYCCf_G9LeK_ndzWhWI6hljXDvPYhzuBs3nsNjof9-vLMv0Vz"; e_upip="AcKcRp_9F3sNxezteO0Kv68lZvn3VCxLHNw-pwE_bMirUuHPIEh5m-S-nBSH1BTDOsYm9maskEgy0gFRSqr8wMeH-RUOhQih7g"; e_fb_requestsequencenumber="AcL_ZyR8azFMawAgL7uum1a0mmTUXRZD5pKvuPzDByOnDPyMT6drzJBG0A"; e_fb_hostheader="AcLqCqvHBlAzzNjGTWVeVOGptjgI6xsS4qvzhOTH2FPbo04RYoVXS4JC46dCXFQ1O0r4_Je8tt1cNYkG"; e_fb_vipaddr="AcK3udw1IPmXJFXIWaHdQuGzGFA4MfweJgYcErjml3V-48w_FKPMeVjcg9DOGgYum7bMeT9ABA"; e_fb_requesthandler="AcKPlQZ56ZDiRnMFg5QwNyK4Nxh08jaVIj0PcV2yWi1Ynpo5yp4Qmgzz1l461Xwkeyb2GUSjqy0"; e_fb_requesttime="AcKccb1T9M6Jbm-YEnuND2efgWHI8CDjAestm_SXjgJukyeL63T2eZnXwlZ8OjALq532_F8RPA"; e_fb_builduser="AcLj8b3ABDVtYNlBPny4zRAmxidqRQBSnEztgmuK7Uuka_WhdtBE-UlzHtX2_NPsfAg"; e_fb_httpversion="AcL7fmqha8A2PHhLWmPtuz4SQkqhaESgy1xklottT0Lo4LlS_rGu7L3nmA4Q"; e_fb_binaryversion="AcKXcBybAQb5H_4lSvYpK9-4gHBVeDWrvf8Ezi3fxWiku4DBEJAOm-cTutph1ZbM2hIIDwFyiFBkn74wjLp6y45pqa39mYL2zeg"; e_proxy="AcI55eu0tNMbCjbWDaM_je9puiUtpwIE31H8GunGV-q8_jGnUNjqORRl82T3ZoZNC3BEqmZRRrsSdIo"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=100, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25137790625866286"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 20:57:56: Error on send one message facebookId => 25137790625866286 03/13/2024 20:57:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABRbbMR7tit8M7_JuanRRXy" } } 03/13/2024 20:57:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 20:57:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 20:57:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25137790625866286"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11257503, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARvW6_lIRh8F5cOIKDFZrGu', 'x-fb-trace-id': 'G6AQiY+LxQT', 'x-fb-rev': '1012030542', 'x-fb-debug': 'DfgN40/kAjUP97/LxrKTTwv8XTx1DfAzzhXEprSixs07X9wxlIZjVxHvSW3J7gHreMojeHtuOyi7Qz+bWRGlDA==', date: 'Wed, 13 Mar 2024 20:58:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLOCIMIrqJ2Gm9Mh7NoWvgQ-Tj1VVplz3FVEK0Rs-sAlGLYJa4DJtTcwpX4QQ"; e_clientaddr="AcK7frS7W1WhqbEd0oSBXzjvKhhC1VOTu1x-FN6R_dFkx3qd0Gli2S6Q10rzwxgKNo2A6hoScuf08_wiRQ8xmoRbmTd8agSeVounlo_XjAb-kl-rMw"; e_fb_vipport="AcLQYv6gb95iJUk14PckshCe72qILOpScmNMSaZvDwCNgBsfwTq25Lja-cYC"; e_upip="AcIyUyuOKM3mbupu8kA_o_sOXnZkPCoHsCVbq45wjwwtbnKilK-nUFUMujpdMWd2oCLPBX8yb9SzxY_U12RM_nB-D3xRCCAG7tg"; e_fb_requestsequencenumber="AcJTckCe_KDtgIYP4Fw1rQSlzXxa-SBZ5Kv-_opT6vFHQXFHUjTpNS3B3Pghkw"; e_fb_hostheader="AcIpu2jP6dUkJBbp6HyFQiBz6Z3xXsmsOH54jK3FiWBRM2wFoOmrDc_ymgB4naawegVhgHXbpl0z7tEk"; e_fb_vipaddr="AcKgagXT8921m_dTWsT0pXrW0NXR_eqO1zTlFW5_E7k2TPeQXbDv34KYESoAfeFyBm0Fyp413sj-8zQ95b5JPBRYnMVKUjGwAw"; e_fb_requesthandler="AcKXMTdwViCjtbXdQC0IGWJJ7TpnWdxBq_aZimMUpiSsWjjSBO8ZUNOf43Cm4jS6MHmJ_Ic8y3Y"; e_fb_requesttime="AcIv9mYLoRTW-sLdQXPFH3n8vsWgte770XHo5DJApDN2YaWzdpYuD-R7uY-kLN9Yvy7py_Uzbg"; e_fb_builduser="AcK-9cu2v6Ia2HpYyot63aqVoZPNEpMHtbAZQzfqopBq3hp6Hu7MfdRZm6fJsiYU3d4"; e_fb_httpversion="AcLtYrT1clNlPVTZZi8XnHSYyN04E4M9ZP1KMt4DgpaP8SeEfH4wXvB3n0HB"; e_fb_binaryversion="AcKYs8asgTKsn7sP2kTheYKZ21s0jiujHVMo4YthsUEpu2GshXQlMhcLnDzaSODOPQ7Dc9WbMnstCYk05XMxFtxV-JMpKHOrtg0"; e_proxy="AcKmWcAk2r1fUCSUdVz1cz6cWx5d1Uwx2-skVpplaSP7RrON2wFPQihCju1Z9i4q6EqujvqsfNYIJC8yCBTr", http_request_error; e_fb_configversion="AcKkQj4Cy26TZvGp5COf5Y4oWwUlUTeebQQWdPRPYDGxbe-p_A40gyoDFNOEPQ"; e_clientaddr="AcJNuLvcY7Dj3x3VkmTEicwunq0JSjZQeDETtgRvBhdtdOwY81295mXljWOQJ0HL1wJVOkFdtqkbeONNjg"; e_fb_vipport="AcKnANGHTykjHB0QLic3L06g-9skBjE-9qneCR7eJRAyZN6HCeSF62kNntVx"; e_upip="AcK2A2rADZucc_7SUiBWtvknefYADWdLP-dec79cKKYrIqFkl8fGqmym62MlibGjs_q93pimIiH8HY0EwCvbQcLIosDmm0z9LA"; e_fb_requestsequencenumber="AcJykAVkFU3VlnZ4cAlvHbxM63D58uszc3pvX7u_sBN0xaHsgZyELwAK8g"; e_fb_hostheader="AcIR2Q4u7ptROK2lVYO10ooSFUuxxGCSXR_XQONhV3z2OHLI1APxJSLr2v2oZDiPeEkatmome0-UP4LP"; e_fb_vipaddr="AcIFiAAuJptW-hfn00g0KxzE57BzsSnp1iwhGG4utwlg-lHOUwUoOZfjpsLssxAOd6xpi01rfw"; e_fb_requesthandler="AcIvfOcOMh3krmByCSRPvhlpaZUREEl3ACsGW_ReqMH0qYNFl3Yv5DTnINt99iGhB0GcsR5TY4I"; e_fb_requesttime="AcJkxfGWXQZR9TekRuPiZjClvVobFL2xg7IBXBfN_5e0naHX1KmI7VjgB08qfvPCAyup2knLGQ"; e_fb_builduser="AcKrxrC8pmf8kEwVRufujSZRstIKm3Vp3RaO7b4wfGUJTDsLkMZi-7QtkdYTwizwa-s"; e_fb_httpversion="AcLn9cOqRRB-DBcJuhrpZ0AynPR7VmakFYSPDv-W_yxB-_oaRtcg41hF_8G5"; e_fb_binaryversion="AcJM-e-wiRWphtRPCCYVYxiBPGZyh1COnvDTI2lVm-cBa5tfFXdGHbe0dX_11FO1UzqsgqrV3ZJvUA0Hrwsv1rInuIiPAycSVMI"; e_proxy="AcLjafZ3y6_C8Berifr3treugjTYegzc4S-u9-8bt6ndQKOaeolqVGjHs9wb7i7kJswurvaMXCbYo0U"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=99, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25137790625866286"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 20:58:12: Error on send one message facebookId => 25137790625866286 03/13/2024 20:58:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AcZQ0lxEjGEHFQtOCCmDzRy" } } 03/13/2024 20:58:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 20:58:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 20:58:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 20:58:34: Error on send one message facebookId => 25137790625866286 03/13/2024 20:58:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Az1WwbIqpf2QvmImFU5OVyO" } } 03/13/2024 20:58:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 20:58:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 20:58:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 22:48:28: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24913538118292027?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11276482, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24913538118292027?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24913538118292027?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24913538118292027?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24913538118292027?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ao2aALIzr4KQ4yXdRr-g0Fu', 'x-fb-trace-id': 'EMMKk1C6/fg', 'x-fb-rev': '1012036639', 'x-fb-debug': '91vnlgZwuFihVN/G4QYJCNYOOVt7YnpskNDrCK4oY7QVqPNQyGqNqXevT3l77yZuo00nlCXnjClvecKEn75qlQ==', date: 'Wed, 13 Mar 2024 22:48:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKyh3cCPv1uXyOwUGqnligGO2DZxcvIU6YqrWMPM0Rm__q0wdsJtcD3OYI4dw"; e_clientaddr="AcLh7nokpwAfCAo9NMLjINqSJDfE1W0Qo1zVAl0DbRDZavR0sz1d6rS8UxjyYGiSoeA_Affs4b-YUykCDH0D1VHEkxxKpem7R0WqsuedB3uRedSj5w"; e_fb_vipport="AcI_XXPYFnsYkfgciU7yuFdW4WnEu4ncyx8qsrRIUYzDnJJqJBxpfz4zXOh6"; e_upip="AcJm-Ue6stp1dqr66Qi2mnCctHLPHyYoxBtQZ2khhNnKrKj9RZR1Ecxr6V12Szh71PDusb7MFKL9JQgPhlCEdKpwZCvrFo4y3cU"; e_fb_requestsequencenumber="AcKG1WFTR3ndo5yxVcXalbQ2dFw-5Gec_mjcVDZ2OGBRsRlWbDdTar9zc9Tlig"; e_fb_hostheader="AcIHq868zDwHwRAXL2Z0bA7D4U9YTIdL_VYEOMWeZDIzr_50V19H9-DUcLxv4INlDdfFHbCHSnCBzu7U"; e_fb_vipaddr="AcLwZW7renCM6H4Pdn_8TxbO26fd7IdgE1nCK4kr_rVWba8IIafJWFxPhe-yZ7IMsfwMjNw6v3qB3ioEeE4dLQtf2iSUjl3-HA"; e_fb_requesthandler="AcJ1v57dRyD3yNhbERbUltHeXzFD1UL1gkwkPs5BN7jXLH8ftYyGER0Mz9WTP95fMJuOxuVwh7o"; e_fb_requesttime="AcIHjoXeiHADZh2XUIBdLu2X4g9MZr5iNNLoi7VKHDWyAjrWgnZRfJRcbSVxfhUvE1MUx-Ab_g"; e_fb_builduser="AcIgsu0SuCb7OqIhQpzU9s4AEUT85-5gEqfgQnSyHIZGnmm5PirSrcn1zDgqDs3HUJc"; e_fb_httpversion="AcIkBF75Yq4fauXBo1lj36-NjRGOc8bARlQAEJNkYfnpPoVc5N4WTyzcbkHl"; e_fb_binaryversion="AcLKyJY7GUCrR1nycohQvpYbope5EyO4j4kZep_efoh79yS173J0gQCE8vXorPwmDT9EQtBysLKQg2nKgcjPw3E_Wkpa10MuSL0"; e_proxy="AcLPweuVPN_rXRkB2HIPdGKvQkxhCYNivbkC1u6ryyoTDyuOTNiWIEx2xkr9PeTsflHJ8rnKFIhB19gvYsUE", http_request_error; e_fb_configversion="AcL7-V9TmX0VpEcxfO-d40mbYNlGGfygOdA_IBPk4DAmo2BZny7oJfDz0-xB_A"; e_clientaddr="AcLIZUtmZ08vmw3bXE93j_jyQfgkKEGh1nzWv1F9s4rUNlTjlHqT8XkL6zn1t__TSJpeTT6YFZAnrwV5zA"; e_fb_vipport="AcJ839c0pykkCTtE5HkMHtjyFqy58WiEB91m4Of12aicKx2Io8zhtGE0EPyP"; e_upip="AcLi8gGFH-b8AKbtB9x3D7Ey-EV-7QgYKWOdVJ1j2sYUX7qP0232tZE3zQA29nnkjpQTvQnEKIuVqA2nhcSVS2A9xuvipUNfpw"; e_fb_requestsequencenumber="AcLlEoo_yP8CRw63rdD-22bdfckwY2oE_eP2bOiJ3aLvxf-jURUYlWIaqw"; e_fb_hostheader="AcIHLAbHjlsNHYj67M8HmX0KaYnwqlntg2cNTYZIBB_EIPUHJA4_dqjpC6OTk8dcshVlKkNqemco55qi"; e_fb_vipaddr="AcLQOKRS0Ls3FfCKn4HTfi_scmH6f8QFdSp9P5Zzy6yADDJtyRgLiunzom_pm_UvMeis4A0FAw"; e_fb_requesthandler="AcI3fkAbCnyjyOI7GVICrglhnsFTld8TtXSsdeu7pgUmjAC1W2PSmsaIg_6Ce0pS9GcEpwORImg"; e_fb_requesttime="AcICPBhGfxHuPD2ajM7P_D3Ghwh5QQkGmoU4eybCFPZJ8ryPs9wRPBgYvJf1aEGpG6_lW58Tsw"; e_fb_builduser="AcI0h7o4Q16W19eB1AZYF1N2cfVEgCvjxXsi9su393WvJgcoaR4XB9bLsBJ4wWctqMQ"; e_fb_httpversion="AcJI1juDWxFEpRfA3XaprOc_tjrLZbpbe2t9EvJ7Q-UhNoLuSckF7oVgf5OY"; e_fb_binaryversion="AcKKwLqX3_oVAJROQeeJ6RcXQu0RI2UmV8TjJ54jCAsm81KDkkX2Vq169jrJ5WZBZe6j6fz8oP46CFh3_FLZBPlDcz6Me_fm0xQ"; e_proxy="AcI2olyEmTpet-kbf4vMn4gQ8L3kxJYMbBAy1WMCwxWioMQVu79tdW8QaUR_gjic88hQXXaNBLebDwY"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=137, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24913538118292027?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24913538118292027?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24913538118292027?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 22:48:28: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 22:48:28: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/13/2024 22:48:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11276600, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZ_Z1BfREyfL4rvbGrb6xgo', 'x-fb-trace-id': 'E3hqbjrlTBp', 'x-fb-rev': '1012036639', 'x-fb-debug': 'I4QYJhtKmtD/TacXCXxa7Po+ayriQ/H/cDYqMBSQf2loKFZ/9TPjaNgra+KH/4a9fLw3bXHdHaExtafWaYQaUw==', date: 'Wed, 13 Mar 2024 22:48:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLs4o_-6_y1Htm4D-rbT_Tem6rtM8Mwd_tj3LpdspxS3Z7e0SvgIIfAX4eosw"; e_clientaddr="AcKrPSeJqJCqRHf3V0fYfOaQ4KMLgI_EH_eK27GuXNDgnO_goKxhAaOzZTjFIa9ydUs-bfp_nzogej3wRT_2LpiKxZHvsKKXbucsYqeUj2V21_hsUQ"; e_fb_vipport="AcK53SSgXWEfoh5XipDE39mYMLdPcixVoKmkTBj3kl0syZNFm0PV2r_L2121"; e_upip="AcKLmz9OKk7Ml0o8ZW-4URWPmgB48w8Gw36zn00HkLJK0KAlQ4CyGacj_WIthsSShMj1rim-UIM-xUZFWayY-YBLBVE7rjkaBQ"; e_fb_requestsequencenumber="AcJp2czyg8nnga7DMMZ1yMIspaxrds6mj7woBNyUBt6ZbIJcZEjkCOvcsb403Q"; e_fb_hostheader="AcLoFjUprMNvYBpJHvvWbi7BXDsj9W3ATNSEUeqc302sPK7w6MYGZ2QDY63Q9hQgJ1Ru_HZdGl2FRHmL"; e_fb_vipaddr="AcJTsmiiiZ8Yjq4kbVWQArxz-E9PIBcOyBXJ4PBG7Jtm0_a99XXJoVcpl_W2TFldkLbeGMmkKxRZp9Yc4ODyVW4Oa1fWqtEh4w"; e_fb_requesthandler="AcLws7pcZpMmh3B_JLUTWlpATFeEW_sjsD6kTcLf5L2LFOOHFdR1XBbd1R0GXRxv9PDW9K8Kh4I"; e_fb_requesttime="AcJqA-tv3ss8gmkcD8cgRe1OyWGtNEhJf8KZ3WWbfzmR-ZrKMg2trKTXoTlqg5WRY6bwz1jkcA"; e_fb_builduser="AcJou-ycK7YLkUQo3t3OCxM7hTnhycwhElvIQy-I10WO4Z5SGVatyQ6bldDuQDe_CI8"; e_fb_httpversion="AcKthSi7hCRmYkLvqbuyzmECIFuYJqLh7WHgMxTehQliSQX94K7we9Z6ZgTd"; e_fb_binaryversion="AcLOHS6w-IauvGT_yBNANFQHDMT_Rq1ehJ7q1J0x81cANS5-_ZAxmsH25U0n_vNBE8vS-ZSBe0HZirvy4bXFZChQol03PkB6YOg"; e_proxy="AcJa0he--T62kdgPG8RuTzBobzQ6kw7x4fVFUp8u0OUbWXmhulbRA2BWjHoF-uxdoU886tK9XxS70ItovJiv", http_request_error; e_fb_configversion="AcL0HaJichTozds1Z3kEcknHfSURbrcCJMRjHjn-IfdBZBnVmN1jBl2jNTxn-Q"; e_clientaddr="AcKNoBI9QYqA-ew1dQG1wDkkPiH67LlWE33fTCENEs_efjcOiKhtHpYwCg9AVoU5COkZqSjmKxOwtxlCrA"; e_fb_vipport="AcJtonduWRUj_ouPn_1Fv1xYlJUQ02iOKASx1JbgTK-R5INGfScGqXiu8GS2"; e_upip="AcKmWBbXyyz_1X2RK8Kx6Iay199LN4wEz17ve4injD2E5W3ASk7J24AnfA3T_RjrM2OkQnjP4z082fBpykC2DaglZXKTCFD5sA"; e_fb_requestsequencenumber="AcJAbQ3uml96ky5JPk-f8PQ0Xlq-j-Ybg5GUm8ZYrXDVfCjMKo28JFSf1g"; e_fb_hostheader="AcLGRy2eLjrgOBJy166bml6ww70CLjOJNbtczWbMyRm90aUDVnVkHL_U9BH5dvE54NagE77oGyOgna8B"; e_fb_vipaddr="AcJ4hx8WH-r4JNhY6_EICuuWDdatyFV12DfjJhZG5mat6CEiI5dxC1qgOGl-EhFcpuk1z-oHQg"; e_fb_requesthandler="AcItfw0OCuk4Xtk3oPhYIjR7SEbP1A2cKchnmxYXxZyrwDnTObafxJLli-98zQbq2b7oF0VW5hw"; e_fb_requesttime="AcIMdVTjSds446ebeTM5lmHN6InyYjXYttQ4UnMU57yzHul3JxmgvNRsBvJYMeYk4n_G_wN2lQ"; e_fb_builduser="AcJYy3ewZtm2jWUupxCKaBmNKFJsck2AL-Vcn9lS43cKkJHBvAFC7ShR8qVPOxjY-WQ"; e_fb_httpversion="AcLAe9HItswPu1hc_DD5Ilj8aY523X9sXt3gMiAwM9PM9H9u2wwUuM4TH9ts"; e_fb_binaryversion="AcIJLevrlWlUxoz7dZeg7r8CzBEQQHh2LU8R9YgEtX4XJVkot7e3Jcm1L3dWMcPk5ITfWir5vY8lZA2MemBZESqonaxswuzF2w4"; e_proxy="AcLcPz-0ir-4jAIFrUZzISct4uS2jO4kBDaLZxNDo8cBC04xGi1z23lE_VP8llmTCDVKMpt9BSGYoF2J"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=100, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 22:48:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 22:48:30: Error on send one message facebookId => 24913538118292027 03/13/2024 22:48:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANvF6ji0cCYVUaLOAZEblGI" } } 03/13/2024 22:48:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 22:48:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11276680, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AY41ArJanfgxsFHhI7vMR5z', 'x-fb-trace-id': 'FHMGPx9kNrI', 'x-fb-rev': '1012036639', 'x-fb-debug': 'hs00IHxI6yPO+NQciQb8KyYlNtFd8o5tCE7/yAkBLIQN9Ka7P2+gCRPrTEdjIHWXhj3l2vALxHj/+0qOeHkt2Q==', date: 'Wed, 13 Mar 2024 22:48:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLhjjFnb6YFQRWM81c5XTjHiYxQcRcdfNADPucKzD1wfM3ECHjwYW_wWOaP7w"; e_clientaddr="AcK_SBbBIwisTxjFhq3yLFGP2Nh4D6xVxWI9YV905EbP7CGl5aONi2nsJtXpkYu_3euY3K82BFanGyRl721fPqJp_yuA0vCMHc6FcSf77QaDcR0lGA"; e_fb_vipport="AcI-3L8NlhnZ0eZdqdR7u0IfAhvdntat5iVdl67wpMWbLNE5R47LKfhIcR0D"; e_upip="AcIy6ekxJR_isEcwGq1OOu7znsZS2ZI9Rw6L3ryuVD1oUccqC4AOtacr7P0qIT1mkcGaD2-EbERTvYjtA6uNFajvPAbYFdrLkRo"; e_fb_requestsequencenumber="AcKgJy8ZyNWBXmquWQQJEKsSwmqp3o3NSL9VhLF5H_aNaejzMWR4ZPvZsa9vEw"; e_fb_hostheader="AcIbq_xAe-V_o_0qk7umt4JNM0v1QtlHF4UzZiTVqoZxmqof2PSAqKuAvXtqDAFa8Ynb_Tmv_EZGVt5i"; e_fb_vipaddr="AcII4Fk_AFF972vgunvSC5w46hkkoZuGBSVMWGdSbyhP7JLOEluKJclIS0o98MdpM3SuhnOEb1y2tXOubAHlkv7OMO-aLtLOFA"; e_fb_requesthandler="AcIlcTlEWkxlgSGdKvgFUhyX6OrVBSjcEtyr-2NbIRMxGoZJRtCH3vE7T27L7GTIS6bEnuFVqTc"; e_fb_requesttime="AcIU39z3fQ70Wd4hAHECNJqBMAQI5dqBTDEI97qPQ_yqbdbRyb9N9iMw7xAZen-PIppan_rCVg"; e_fb_builduser="AcLXJl47PzP5qAb9xi2DxU9gvFLNFbs6VdponcZPehPQBjqAgq_UrmOVOZPzpG6wb58"; e_fb_httpversion="AcIMV_YhPUxEnPLO8QH5N2md9vI5Zh1s-qj_K7W671pKwyNl9VqSNSp-N3rE"; e_fb_binaryversion="AcIqhK3Fe7_W5L5AwPfDjfXM9mlxxvdDoXIi3bMSCy890k3ol6F5RbiR2_AOj28KEfrxarY_KVpXfPrmKGW1SPNl68SmRk4CB40"; e_proxy="AcIQ_cx5gkYz05TJ7NQPIi3_ib_qRCz2D5wkJrBAHiZxkAoKHm5lBXroxmuY2civn2iDEn7sAN_Ru24Gn0M", http_request_error; e_fb_configversion="AcKS0NaKI2Ov9Bcrj8rJaRjtx35RR7rGCgZap8UfA63wGYempvWL1_9mr8d2LA"; e_clientaddr="AcLTlcaEnBVlVwVNDWMq2F0sL_qE5RxSUWN4ER4ljigzmxWcX6oMm-hIpyxyfdTpmkKFM--pxUJYkcPuiQ"; e_fb_vipport="AcL2KJAoWm7ZiJayjlIjUS2hhqj0DQr4qc0JrYEM6zFWKYVoC9tkmbCocMgu"; e_upip="AcKFArimtTtkFm0aAMaz0M1VkimgTDAt5tcRJinDrfGCuQ2EKU-Z9by4yLM1b1fq0AmFp45u5HEnEUxHEZQMXVV8J83w4ZFhjg"; e_fb_requestsequencenumber="AcLt7nYlvDfVoRdi33cRuz6M17vVsO1SnG4RFugexDoCeBW8C__QptIazg"; e_fb_hostheader="AcJ0apNODXNQth1gcs5LIGEj-FUuwMe7Z9G-RGooyp3FuAapTCPmVt4pGnS5Eg91orF3IRerlVd-bujZ"; e_fb_vipaddr="AcJDOZ1YVAd-q2rHa8gJxvsf3raWYART9CjV9xEHBnSNEx28KRjbX51OE1Cg0cDK9xlByUQ-UA"; e_fb_requesthandler="AcIuqOLP0OwaeVuJg-KQS6CDgNzX0hb0smfrfzhzIXrBylm6ThYB5_CP0yM2wD3iEsVnmeQn-EQ"; e_fb_requesttime="AcICa186FS-BDOBx3NBxc1en3GyZNHz9RY3Nycf97MZ13Ba_aSCA14sIbVi082XnRHWEO6YGyA"; e_fb_builduser="AcK7IOHgBs3MGoso4MlzUZmmD0cXIZJY2KvwKVNRFAQtR_EpmASWlNIdS8ocet5U5Ms"; e_fb_httpversion="AcJsqgHhYyx5ED6c2DN3u6eVN2zoOw2cY2vlkbvtxSKrEYPNq0ULBCPP9Hg8"; e_fb_binaryversion="AcKhoJYSWlNx1YQGxnPRcOij1TmqRvbzLgVdDUrlFHiUkvJ7n0kKFQPIQHtXQBLhMSx2osZgUVoyy4HGrtrgoqdP9-9qzvMnpr0"; e_proxy="AcJhd5XcnSg6yCIAWTDLepl33x8qoLDoE-ZlTMc00MWuZ-BlNtyL_HBhGJI7nz04Ih1rWN6hphDkJdSD"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=101, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 22:48:33: Error on send one message facebookId => 24913538118292027 03/13/2024 22:48:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AOXS5B3q7mWYTSSX5d6op8A" } } 03/13/2024 22:48:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/13/2024 22:48:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 22:48:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11276823, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aw2JsbLuEdbakzTae54XJXS', 'x-fb-trace-id': 'E3Uh6NgH1LH', 'x-fb-rev': '1012036639', 'x-fb-debug': 'c4XFSRO7BtFjnvh3dT0ALn5pY8sDOkFqZB8dOcHP3mQLgjzF5A2wzrYht/Uh3lsjqzn0XoLyDdT8AvPiAFRitA==', date: 'Wed, 13 Mar 2024 22:48:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIWL_n9LMzjCIWMuOFgEv2TtfIRfRy0T7mkVfDceEl2aZj3msuGAEr4_6DxVA"; e_clientaddr="AcI_UgyE5wtpTPFX4BSXLFfu_-29eSNuWyCNgXdWV2MKx3b4mQs8RDkiJ6hji-Fak4t6CWMAIDyD9yYCYk_FT9IAOgI1kj-OU9LpyVktxZlxoxOnzw"; e_fb_vipport="AcIfzVawBETcNitOwknMrtO76uSutNXg1kFuqY3tx6hNuZ-mARX7rb9QWyGT"; e_upip="AcIjUzjIXLKhRb0XcMW-u03zXqoywl3TrKwAcejatXDq_31V_Na27yFU_D1Ox_1_Ln8JqP__TUiIBNMUQZa_GpA8qCAHS7Bezls"; e_fb_requestsequencenumber="AcLQEseaYOJLneYMBWRRqNKr9_UZZTrUcFUa2MioM-K8Mvc9CkgBs3vIsEKBqw"; e_fb_hostheader="AcItwmMBkO6ORv6ioZdoG4jmpX3PzYkE3ImLp4ag0XNJ13RN9AMLmsvrkBwCyeFnd6pQdcyOU-nEb1zf"; e_fb_vipaddr="AcLQhJN_seWxvA8L5g1gGLhW25RfuLt1t-bGX_4dohCAJT4UkdKerABC3evUVYWn0WqhRYHcJUPN_TAh2MjRNbKcLn_pWt-ZJA"; e_fb_requesthandler="AcKK1yk7zgZyjez4foncmkVzdxZawhW5VV0UPlJ24RYetmYL3ojnMHx2gVyFgqZ2ZYcWCop4XNI"; e_fb_requesttime="AcLhDWBdDvXm0S_8m1I3EDTpxFVEYGBeHuQqrSrdh_CAB3iRm09Xj76vB2GIcKh_NhZniNwstg"; e_fb_builduser="AcIlVX-D8DKZtdfoqi54A9tqEN_KL9hZhDZGGxsL70xicLksspzICP_opVbCmKYZypI"; e_fb_httpversion="AcJVnQ1y0LFHeNNJt0Wu0_4QJ0ctX0lb-PeVL8zaBPuXWjifobnGQTtMQ6I1"; e_fb_binaryversion="AcLrSLCOqHVBw_4hduawMnrKTkd4RNiBlnnVyQHWqPrc79tobmxTS5ZTlUweHOagD83WfggJc_D8zXh8_i2j5WQgkS7lutqr-IM"; e_proxy="AcK9w8jBF_Lf5FT9XDEDglC8xdzrfUXsO7xaD01i-yfOM6zmf9F7OVSi1W8WNIz-CR4EhAC79b3X2JGyg1ao", http_request_error; e_fb_configversion="AcKYOAjb7rEIEXEQcf5FRfzb3Wk2KVKseIhhaiZs_iek6kO5YMODQ_BJ8qZYvw"; e_clientaddr="AcJUaNxsh1gLKOnPh6vRbFvzbVp25kj5uUP8AD478lvxG0i1tklL-yCkfJCpHOtJfUWeSqOfOodGgDBKLw"; e_fb_vipport="AcKC1nYiHq4nq98XNrj_wlENL1QdDIDE0rGPyuE6J4LUVC0SQD4TGwO2qdgx"; e_upip="AcKUBCldjXseZI46ByxoMOgSf2SP3-eH3SFxLrZWnJwHP_7a_fe4dWbkWzohjEB-ldhnV3huTVcS1NdbWI-m-t6xqA5UCY5xhw"; e_fb_requestsequencenumber="AcK-suqIge0yQWYzgKf8uzRD_7HkPk0Rj6zDu_aw9l6LTG7qLM2K8gGT1Q"; e_fb_hostheader="AcLnZ5tV_xAsdyHtOHi3jfL9GTS7VRvVT7il1EvPtgk1jTgH0LvJpA947mAq5AAMlG8_r6j88_tv0tSF"; e_fb_vipaddr="AcIzOtnUlDg1ELJH3tstEYPBpGLB4Ui2Z6gNhUH18ZZA8Zmd8GTfDPltMBZrCM2yl7Hf2qIoqQ"; e_fb_requesthandler="AcLfc0fkBha510iCc1p1GsSC7xOp3BxAMv9G5Xf-8ZMUNTJN-Bz-3xAFvVsDfsGx7rN1Tp-fSkA"; e_fb_requesttime="AcIP5BCv0TTqDaQj3mwsQQPQNe-6MXQ50mCsHzk3YzjOqzkY-8nqufY_TLiXXuCfT-z9Hml0tA"; e_fb_builduser="AcL96kjxmbznP1uVKIl7gdUUaJEk1o3PrMIkm2HJCqtKpOW0JU70LORCqekJ5eMDlAI"; e_fb_httpversion="AcJrKfJqgGWOgAQZJZ8yuKXqszmQVnL8vVi0Z370DwGSM0Y0QOVwNzcH20vi"; e_fb_binaryversion="AcJXe4CyVecEy8IX7iVSJrlZ6gIBk1fw-VA-LwH_nW3GJ7oOuDYk9aJy2w15WKm72rzgfAzsvT0ZzHTCWS6w_IVoHI2pedHDzWs"; e_proxy="AcIM1ajuPC-KnlzqCvzUsz2uj1u5qa7CXo_66NPz8qsqFEYadHyioRALUENAwl6MPUF0-GO7naZNasen"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=98, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 22:51:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 22:51:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11277486, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARZ0foQeTjo3PfdKKX_OYy6', 'x-fb-trace-id': 'APiw1Py4SZq', 'x-fb-rev': '1012036639', 'x-fb-debug': '+7ae2/HfexhyAaAbAhUTW5ro0MXgT5EPAxQh6+EsNB7qAiSxrZ1fxvKwoV4dYZCQgkdteM4a4/saLKwrgrHbyQ==', date: 'Wed, 13 Mar 2024 22:51:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI8Rdz6aO8PzEbMmgzQWGAO0cqJBnrKR3h0aSZJK8tEnl_74MOSJvVFLtpS1w"; e_clientaddr="AcKec4_4Rqibk9ZwtNi9FzTp5Mq-KHhpmXpIrdeIXpInsh7sWMOeJhu3Fcp20ZSMGZshV5MoAPK4utlz1QUeeaOlkwn0NT8mB5HBNItXNQh9FJl52w"; e_fb_vipport="AcKy3F6r65xO3lILGuStktWNbmFjSMGNaeCgVHe0P9xCIYv10eSn985UiX0a"; e_upip="AcJiVmhMFfs6wrzk-QSsQh_LAduCWSj73swxcrChAt5rGEDinaB-_9vqZ5pmGpxPfu1PkZlqeQHiBCxOn2y-AFTYgjJbjWYCPg"; e_fb_requestsequencenumber="AcJDdAr14NsztwPKKrbXPEzssv2xdfQMBc6pHTShuG1yTuyw9kOAQqVcjr0O"; e_fb_hostheader="AcLva_Ndp8zkESSyj5u4IRLJBAPnoswyblJZyQ9yNiXltFNs4BtXsz81YZT4ryewsPC3h5ii8N_BP0zS"; e_fb_vipaddr="AcKIO-gdJSLCtgQhE8rB-nx91Vy9HFCuRlSvdrJZZ1rlSuhrmW_vPNwJGiyE03IoGYkEvCpJT3l2umum6c8g9UAiHwv2Yl3CUw"; e_fb_requesthandler="AcIJBgqpWZtGIpbib7IFtFjetXsKnVRMMI_-gu2DvzUmOPvolhF2px7aWpn9cizE8hPl_7rLzSc"; e_fb_requesttime="AcIL3bA23MKBokQH0mHmPw3IoGrtjNQRjeNcKV1W5U2fpmsZgJ6Ul1o6deXq0wQCevOIk_fgvg"; e_fb_builduser="AcL6RXpbOKhmsev_jxk_0FTVrnmRsIpEqseGvLLE9FzvN0bSa71_8CjaIKrhIQ9gmgM"; e_fb_httpversion="AcI8uIR__MRk_lPjZYcnukSF5bNcsWVzEGRV6427kBS3UrbtI0Y6sQV1HjRM"; e_fb_binaryversion="AcIFtvLZ8gXms6_E95yhQKOYJLcJzHoCD6npFaufrAN5JHzwaqpI1BnKqrhugOlxFQEyoP3c1Kt3vHbjkrlTvn329YT0MUJbYcg"; e_proxy="AcKbQl2gW8swnWL9GhtR-XIxJtIb6E_tL-BiaKEjcKPyZW9oZUtOyqjgWlycyeTe-3zZMxH2pxPRdq1AQds", http_request_error; e_fb_configversion="AcJeVuL4ugzEjl0R-hQD9aj3EAaq6FIUfsUlFyhUXOYYKjzVjptUVTmXceEsRg"; e_clientaddr="AcJZovK9O7C7E2Ds45qWUZTAetc8jRcEeqcHV7-baSZYxEXuDZO0za7lUluQxwCwXD_QZfJ-6aI1YpDnMg"; e_fb_vipport="AcIzJlm9wq6OwAdtfa8U2oxCBaHVcUo2Ec68dNxPbZnATzpa93phi9dY_7Ln"; e_upip="AcKLs-sDmPCHhYN9TAyI5-KcFi9Lskzt_R6YYdpp8TW1EqPL9IdJZvvzA4N-HQHgTdI7taQ5QxwXnxFIevsD8sfpnz521ZMvKA"; e_fb_requestsequencenumber="AcJZ9YYhw5Vobz2NabV05fVEfLyGvrRxWUOw5l18FvFg0_MlQWCcPaTa0Q"; e_fb_hostheader="AcJe_SC5cAmjDx68JGTQ_KKFpd4_GhwV8oIacSc_PifvKN5tgpQPIImnP1RvyOFb8slF-2X52lrnV8bI"; e_fb_vipaddr="AcLFQd9LHBi9z4n-xPpykH2AhWFTq6Oz-7PhbGj60EPzCMwRl1ZGX13aVWUWVyTWlGpMtMU"; e_fb_requesthandler="AcKNBS1CgRW0d3cEKHveiU4Z2MMVuZyd45ZB4EqwISSprBkSRRQGe1M3BM1cITfhxJdtCQhVHq0"; e_fb_requesttime="AcIhtkbNLQcdmayrtgP_gWrIxxo5dJuhNgt8o9h2DROCVMHuVjva2n9AgwzvSyUJKhmtK5IlVA"; e_fb_builduser="AcLc2gVdnvvTSPyHHKrVFL4JZMOwo7t5Up1Z6spm6MF_4jNcaGzyACGv8JK-evu5QJ4"; e_fb_httpversion="AcLYrIhGzmPI9Fj27-LNgQaZSbeG1_f4hSD1f_Nq1IBFqB-5lpymy3syxS_M"; e_fb_binaryversion="AcIm_6YksCeHsYNoKFGC5N5rBiqObzYnaS9WSO6b51JeLWq3vGXMRNeyAFzCkk2yomJwmDtygpHyctd31yHzMUIQmPDfualgWwU"; e_proxy="AcJD3GSH00RqAkOi8Scnf4UQ4JA5yAgbf65nDMN0VkWcn5ULYZIJiABZLa5Py7Z-6llvFsCKwSRui9g"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=7, rtx=0, c=10, mss=1380, tbw=3401, tp=-1, tpl=-1, uplat=298, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 22:51:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 22:51:21: Error on send one message facebookId => 24913538118292027 03/13/2024 22:51:21: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2bc2kKLTPAYNESCIqAg9uH" } } 03/13/2024 22:51:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/13/2024 22:51:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11277622, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwzJ7MeSCC5q9QdTSiy2lcS', 'x-fb-trace-id': 'ECHIqfrOlRB', 'x-fb-rev': '1012036639', 'x-fb-debug': 'wfOjIMlRShB7S17Z7r8c/aO+/lMb+5ceeEWswPTYY8G9hYcm41G79LDOrJAcwgOF+/A/YmpjLV2s/YiPWyhQAQ==', date: 'Wed, 13 Mar 2024 22:51:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKDZMqGJVJvrbnSmYCRmoiAdaBaMvEpHCaKdDQJPruKNKRBtJSG4Kp2it2mfw"; e_clientaddr="AcKXmuj8qjKQTTYj1sGxxYDIeOP00CvOzKdU7Ku5-JfYBi-Xvg5d6xOQm4WnSYAiQImSMKDTZfoBxQ_WHNxC7lG6U4B6YKVqwztf69Rn4-Hnw3BY7Q"; e_fb_vipport="AcJ3gj9HzeYzNZRdLnxhL3d0B3acOZYGRhozcRRwywDZyzi698FHDQSHe1nx"; e_upip="AcKcUPODaAPIndcDra7llenn_hxwv-onIPFdthw-5q1uGKAClXcgyP_MErej1BVibihr4oBGDXGSW-NT7r2FtjsqZSU0iCsKmJQ"; e_fb_requestsequencenumber="AcKtMnvWkemNJT-kjKbJCA2v-xbmBw0s7IMEWihh6oHQXB16ZX_bIy7Q1wsMhQ"; e_fb_hostheader="AcItXAepjcz0yu4Dxhq3yUDq1WWoRNdXZwC-w7IfRsy1a5jetAYYSykUdjXy5IlVTLhTEb4hiLZjVs__"; e_fb_vipaddr="AcIpaWvKjmrTkQ4azVIkv8FK7wi9XDEaIUe7WesjcdSz5k6rUkKbuvaxn6hl07CgAKVRfqxaj0t0Yg8GTtRcyjqna-F0_NETpQ"; e_fb_requesthandler="AcKhAYWK1WJc32hsCbRYpN1unTg0EV7jihsCFBkMpmJ2c7wSlPyIwwkGBpp-WXaSNPdd15rGOIc"; e_fb_requesttime="AcJ9XjoQm4RJpkTxgk2iaPW_mrhCK-lVVA8BoAXGG-6lQNAD7dzKc3yUm3iCYRXRxx1TJdO4lA"; e_fb_builduser="AcLZNBbqi7b4AxBDn01BYKa4ftYYBYO3wZ8v2prFxNbNv1lGSUFLFGOGvsBLK_BXEJM"; e_fb_httpversion="AcJ9JNLfwie1By6XF0i1HwqRT8nB72ONDNtumzvJE5VoNPx6prDfpbba1NE0"; e_fb_binaryversion="AcKXgje2q6dN1Orw9_a8v237cawed5laIyzS38a8MQJlguQqkwal3P9mvScZTPpAdGXPxrci5Dcf8pv5sRidT_pmHnDhHZneqtc"; e_proxy="AcLpVxBEi7c6Wda2r3sB1yxZBozyLFQ9piXOoGs9zoqHX4GBIJTyDJR6y7vSAQLN3Pi6nBRDzeUqmPJB4zdW", http_request_error; e_fb_configversion="AcLEWxO9NXLnJyCcfEnrH-TaabUx_pY8LvpMxTbPdafM71kRD8hURPA_ZVJavA"; e_clientaddr="AcI7GVaROYvAXciOHUeVmCKpX-ah8z8kcrapQX-hb0g6BK0tq3SdU06EdL9CF1z1ix21MwLoThuPoZllYg"; e_fb_vipport="AcLQxvoLEt5Z1dId4Z-JICfGZoLV2OmTYdAa9zTlWGHrLnEhjyZA35Sh-cvX"; e_upip="AcKNWjUpimbcGs7vRhcG6DTgSfg48ZgD4Rvk0zoYCD55fLDFR4r2peILRGYiazggsJDnQi174Y427ebMAbaSqTv8GQmYFRgdRA"; e_fb_requestsequencenumber="AcIr9n1kFjkcTEcRt2_IWhE_uwfVcygveQNQa-v3swiSBW6vP5Z-5VOybA"; e_fb_hostheader="AcKKRULtIsdLf4p4MhXs2_tudNJWM9AbXev_daBRCTtiBqKI1porZfuykNZ0LZGKAd5GDaVD73Lj_O9K"; e_fb_vipaddr="AcI2TQKw0cCG8E6y2_4kem_x30OfS7aGpGrAMq93UnsBv2RL5IQuVi6LXm9KY62iXRtNZIk"; e_fb_requesthandler="AcKT6oMrQwsnicCYRxB5Si1s_y9QN5o3ZUcklDMb4ae1WNxk9LEaSKZfMxV4H_OxxLof8sG246g"; e_fb_requesttime="AcJd8t_2GUlksoUn0yIs-gOHal4uKBZxVr4-h-9snef3B4IWguk3_p-OmnGEp27RexblFtDGug"; e_fb_builduser="AcIQ5ch0UnrvP8NR82OVO5bre5a5vYU-_Y4CvrmWviIVHTIQ9gTBUXjgAaG22MBxGWw"; e_fb_httpversion="AcIuj4W6UExqjwFw3cva5Ol4NSnniMiS-ftq4T5F_uhalcH5uaJAby1wzrH8"; e_fb_binaryversion="AcI4rCV3m0DI9X-eE3J2C3LRqdSdfoM6raYsTXiZFHk6ipzORNs8efZqxkEwirBl4EtKZVPznRRc3FQRCm79XZR4KwfycCQsuBM"; e_proxy="AcL1ftaEcGEVS4UVRxyL5stePmmCrRo9QUhHEzoFoKxwIIXHffXm-BugfXgxnmXyEiiJfnqTid9r8BU"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=7, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=181, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/13/2024 22:51:21: Error on send one message facebookId => 24913538118292027 03/13/2024 22:51:21: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AxwpkqIffR1XYYnTCv_jFNx" } } 03/13/2024 22:51:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 22:51:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/13/2024 22:51:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 00:51:41: Request bot not found: { id: '425997890871688' } 03/14/2024 00:52:24: Request bot not found: { id: '425997890871688' } 03/14/2024 00:52:45: Request bot not found: { id: '425997890871688' } 03/14/2024 00:58:32: Request bot not found: { id: '425997890871688' } 03/14/2024 03:55:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 03:55:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 03:56:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 11:34:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 11:34:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 11:34:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 11:34:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 11:34:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11413032, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzW2mAppdfJ6mrvVTjgF8gd', 'x-fb-trace-id': 'AGp5N/6StGI', 'x-fb-rev': '1012053476', 'x-fb-debug': 'PFgljROft9ph3PDiSM2UWuuFZckEc7CuXW62yXiN5lqj9LSh4vk/5tMjO7ykK3WcqVB7wRyoG7csll5niqoRuw==', date: 'Thu, 14 Mar 2024 11:34:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJwBo10N0Xr707pdJNmTjKJV3gwhIWokoXPBYjgGQGgnEJm90EiKwUhye1oFw"; e_clientaddr="AcKsu78XDyRuYuzBdoNg6XMZNi684lcpnhF6xgV7yXKG8lnwjqtjkXkF7O1nLe3RR7EbO9ZYrhycpbTwkOa8hkLfac-mUFBfZ9yd1wVcqUACQsX1"; e_fb_vipport="AcJrCDzKIf7I0eG_b6sRDyoOcU-0O7UZl0QXPmfDX6stUe6lEmNwV5bGid9c"; e_upip="AcI6RsaHbgdKtmU0BUF-4Y0DxJJ0qVelrjvwTt4ynKYPWLjbHtS2CY6ZRyh5nfZgvfZFnXg3ogKxkk3hDMbsiMYuNxYy_UreSRA"; e_fb_requestsequencenumber="AcLbr1I6C2LmNmCV_RMxh8MeHOwdkdZyB67iwSxcC_CP9pACqAPerRL4ZIMKzg"; e_fb_hostheader="AcKnQQ5EIGWx8ujcu9Ydmux_91IvN08DmdiZJIhEPtNlyPxrb0c-BYEixgS_Oxi-P6jDpEFF4Wprw28E"; e_fb_vipaddr="AcJzbcR7gL3FuK25XQRNS8_5gRK3E_Rh05X02NeRNK9L1ZmeFEyfCjOLGfVW0IWhhNfGO0wZ4lakFB8nBKT7blk3smHcy82k7A"; e_fb_requesthandler="AcJdU1uTil-Nr5MZtC6xiZhSHZhybsEqiBTOauaSTutcSHCvgQ3qszaz3EbEPDzarFHazz2jqeQ"; e_fb_requesttime="AcIMCBmDTxTkPekZWnxGdPedzL-OSkns5EaLxHFSb5TnXU0yQfZZLalh5SfQfEAuwk0OR_myZg"; e_fb_builduser="AcIonqOeROeS2ZXqqmeE0lsrlOUo4QuPGPoM34J7UY9xaYOqgctJvi0DlxMHu_5iTi8"; e_fb_httpversion="AcKxBcAI3VGx5t5vPaZ83dBv8LrwJMektaEsEgyIfWYYSSgDxfFoiZZEi4-u"; e_fb_binaryversion="AcKyQGoOA1TTroRlu7xXhc3lP3HpBmwS5IUStv_Dy_ROFHkQ_bQuFV1F1D4UB1756g51ev4F6AvpHjIwYq6naFyTFQ4h-mnGtUI"; e_proxy="AcL6kM4s0nFLVoPA8qMYUZHAdL_ylrRsvyYutsaiEjkgzh7VuZoGgZkM54_1UrsphyccxyLD1P_kbHLCVyo", http_request_error; e_fb_configversion="AcKAB2izeFbjfX4fdBLBalxZQpH4qXJMKSP86oQZpJk9o1KduaTcZvaLFttV6w"; e_clientaddr="AcKTg5R64x-TkRJasEe2OP_HZHB6xyFLNDP6E8hOK1XkCp9iVIRliIIwpTSSOs1vVC_29bxeX6ts4nEgPg"; e_fb_vipport="AcIQEb0yhbZp4-kTUg63y0EFEY6z8BEKIQTdVvIE3ZLvlWTZMe8wKanDPSWu"; e_upip="AcKUpNvsrIUXlfceNBu7Mo_11a5GORoewQCHKTZhcxbR8bSFOkbKV0AWNMwlcdyIYxTzX3M0ozCk9xq6XJJkiS4ee8I7hkBiJw"; e_fb_requestsequencenumber="AcLVnGTHtaCkRdRtKEd48WU_Xi3u6-3odsMSbJ31M8nAZkRK1uvxW54ixg"; e_fb_hostheader="AcI6leF8GfVFYNJOWYqPF84bQ2dZXnQaw2nE2xl1LejXqlN7O0blpDOwdKWhVTZ3qI2bCXCT6ntB78Jf"; e_fb_vipaddr="AcJZGUT47CeREgeQHt6kopFZChhFekpsXMpxkUVR3JiQvAQUL1Rncgj5aTzLKGXu1uervA7j-Q"; e_fb_requesthandler="AcIdqImYiuUiC0XST0QJ2o9deeIy59eeCMg5q2Bym72z7pk3WC_fFQMZggt8wz2kRHvvoPJ0_oQ"; e_fb_requesttime="AcIim5XCsxVznVPTyxeTH9UG-y_g2ajco4cJV48jqZkLNtyZyyz7KvysEJ34s-3onPwFwpk48A"; e_fb_builduser="AcKyPjppvKLf0_zbUSGsZQfOTfRzZEAOCt_K2_RIhRdKQienAqsqZBDlcO9BX9-v0kA"; e_fb_httpversion="AcJuhPjx93fuY5B2hNceHGGx2fyrii_-ZCytztW1YyVbspJEGoUMmnKEudFc"; e_fb_binaryversion="AcIpVTDI4NBxJSlA2rOk0H1kXZ-F39r6GcrzGXAi3CDhDfep6-ElgxPbyCWqEZmb-V0VkYuzi1KUr6URlJIcpgErfbM8H35nMdU"; e_proxy="AcK8t06og_Fu0g0A9QUrTOpHkOH94mhwSzsHFVXFziNhQsAIfRhnKQM7-sQDdAPdXsA7_qsLHurszjE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=248, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 11:34:47: Error on send one message facebookId => 24913538118292027 03/14/2024 11:34:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Amd54TMQghDbzvhQxbM1WGA" } } 03/14/2024 11:34:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/14/2024 11:34:49: Error on send one message facebookId => 24913538118292027 03/14/2024 11:34:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZxo0zeLo2mXQy1gMRxbE9m" } } 03/14/2024 11:34:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 11:34:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11413556, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACadoCgoe8vpaaria8PZwJv', 'x-fb-trace-id': 'DDRH4xeZfoS', 'x-fb-rev': '1012053476', 'x-fb-debug': 'G+jNRRkFADua7SzaZsKFvR0U7NC4HxAnbBXBmVNH1womD/9s63YSwVD01wIC/oqrjA0JN50/eMsz/qAx4zrYdQ==', date: 'Thu, 14 Mar 2024 11:34:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLYYdR9dpsoLVZGAosHkOHMkT-cXcuqU-Ys6sSNzsivOIbX9zAhByidt0f8-g"; e_clientaddr="AcLoiRm5OfTBg5OVD06mvEW0PHAWbL_9TM9D5obJyOjpV2SvKxzv-mHhbV38bb1NMPVju6vlT4GhfCa4lYsRF50fM6VCMyAvYQYM94Enu7S45uTwUw"; e_fb_vipport="AcIzqeDvayAnKQPmlQVIu7P5jIhQTd6ZnQo-P4NsdbBKF_P93wHxl1GM4frP"; e_upip="AcJ1XHN3mIjUtVqqX-dALTFpa5eXncWXIilvEGcjmS5ntSBCmgHFQPA5-E2qjiknpmbC5hxo4iiahkzQz3oC_-UVfw46pDJ6H9Y"; e_fb_requestsequencenumber="AcLeVKV883V411qeNGegvwKMLOODVtwQD9U92DZ-yJ1-esc34k21p8C5Z_yxDA"; e_fb_hostheader="AcKt0xYKudmTe-QDmtxxmGGcNVX8BsQ5tZJ_LZ45kZ6I661l_1UHUbTO4z6WJRis__swZCGAmesyphy7"; e_fb_vipaddr="AcLq3LIEObW87m9Jd7BFEXlNKP7DxbOt-Yp4epMKosKrl2aNc7Dh5-MC6gJS3TcRS0QnoPuowlByme8aT5-j8wac7hYgUS-ifQ"; e_fb_requesthandler="AcIOw183Fc_fMqKZL1FjMgpx5_e1CMJTV-S68guUV3Qy5r1Vja7pHGCXP42FpYI8dfQUbkufsIA"; e_fb_requesttime="AcKtrm32bksIFeOlrd4NymHbx6Ycl0RoI_BGn6cjc6ocb-f89EgJ5SsWGfbHALEd56zPiZWb8g"; e_fb_builduser="AcK7Y2B6D4BBj0VO8kSSuWjjTOWGkrn-UErjETGNH1A8QVy4ZGOSMf07M9ecjias23w"; e_fb_httpversion="AcIpq7Yh8fBiUN8I2e5m952HZ45PoqSrEhlHtih7pqh-RkS119iIsF7KgVrJ"; e_fb_binaryversion="AcIOg8CasT3rMC1F7D0PDRmwpEyHtF4f_0Cv7bvMu2OEGf5ME8vM6VBE_lvmi3oemZhl2xXrZLdNnReaghy5XDU__dfQ1vsO43k"; e_proxy="AcJSOcKwFOIeH4Xbyl2Vt3ms5lc0eAUjwdnNBOvIQsJ157IHeTtz-luZAY2uMSiii6cnXQ6ginXcREtsny8", http_request_error; e_fb_configversion="AcIK71OVLritmYnGOtbqPS84D2pbuv9cxbRoANxe797x9U-B2xsT0NT3zisREw"; e_clientaddr="AcK0mXJAeN9hx33TTOYm5fnqux8mSscgnSnUmnBYGYiTpsit_h5l1UoTZRTM6iYdxpXFZnUwix-xlwbQAQ"; e_fb_vipport="AcLkA_8BCIDWelzzji2HCgDaOy3BAPucGM9SGYLmpqnjurlxq58kOEknd3Sj"; e_upip="AcJZwnr6Lte92cG8ekJrcHD9BGlKKFK3Ur3H5K-ZBIccUx59KBMvq_rFVzbaUExyWd3DxirZeUKFGdyf-dgecWlep6Xxz4Ijlg"; e_fb_requestsequencenumber="AcI7QBAUBB_o95xUDhpIvbserud6mMhNWpplYWgTsdioJLcqIno1pwxSFA"; e_fb_hostheader="AcKOOYvhyF6A0HGjQ3jX1R_6YpIjPk99w_OUo-Oh5ucarHSWZGjWZo0hvgD09fqBlmeCgqJG6OmsTo1G"; e_fb_vipaddr="AcIjYrw4Je4qqztyIJ3nBpDXNvFRI0H-fR3lvHAzitzt-tvz77h950ItZDKHP5_g9j9Qrn4THA"; e_fb_requesthandler="AcKmr3m5RfoXDQOPEJbjl8x8vj9i47n3bF1HRog49lc4vEkKUdOqcBhXdwk3W2ReyYDQ50cu9PA"; e_fb_requesttime="AcIEugf8iP6Iv_Wfy5oj_8R88VuM8XR8-2UyDazsjkWGmDSiadOSC8g-LPklbeeehXSC2YQGHA"; e_fb_builduser="AcLUmLLqtjZuwxsLzlyazQDUb-lu6wPge6AnI_nw2VUcwG7RVe8L3P4JOY7SpS5pRkw"; e_fb_httpversion="AcJJGm9qV1J1XjOhZOynO10aL9kylDSJiaBcUQ-7w1TqfKKqEvRQ3zEqNpMv"; e_fb_binaryversion="AcJccoaNJNIGoiO4jrBt8gSIgj16HF82mRHJYkx8cME-RtEZDlcDHUNcbNEX1AiCR4AwrV0QZ6Jh0YN-DY64iDHzodbXVsII5hY"; e_proxy="AcLxyBv8P_gJAK6AenSVDGT7l2wu4MeOu_VikdtlxYDg6aoNxrkdhASOLCg05jj4uCyHjI1N_HBhRAg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24913538118292027"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 11:34:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 11:35:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 11:35:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 11:36:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 11:37:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:02:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:02:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:02:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:03:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:03:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:03:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:03:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:04:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 12:25:59: Error switching inputType 03/14/2024 13:08:41: Request bot not found: { id: '1815581812105014' } 03/14/2024 13:17:10: Request bot not found: { id: '144313565649530' } 03/14/2024 15:13:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 16:30:49: Request bot not found: { id: '320637341295349' } 03/14/2024 17:13:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 17:13:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 17:14:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 18:04:21: Request bot not found: { id: '320637341295349' } 03/14/2024 18:28:16: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25049780084665560?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11489038, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25049780084665560?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25049780084665560?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25049780084665560?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25049780084665560?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARrTyDX1FYyVYoMbU8q28GM', 'x-fb-trace-id': 'HMKxYJbcTYs', 'x-fb-rev': '1012058694', 'x-fb-debug': '3NzGLHp69IpimKBZkwQGkFy83HkNqXsUtR17j9M5LTLEyQ6+qVSgyReEuGor9PmvWHoYLXcvqV7F+ZzL/LaokQ==', date: 'Thu, 14 Mar 2024 18:28:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKVps2Epr1y5sYIaHo3ZHIy2-Q_shyEtxhP9NaOJjZVvLUdLsc1C5s421Nhcg"; e_clientaddr="AcKPWbR1eXyVcDMX1A-ZTH-KTzlK6qjlzE2AChr4MhqEksqZbzj1BRVybvnbHAi1631S6jFZkka8_m4-UM1kZ17EY3rgsIcuHGKQRR28cu8A_Mc3aw"; e_fb_vipport="AcKomB8xoIEJs4Lhf6lNVON199fqeVOq8IzIKGAH14kI5TSTb-MHdeNEdHeg"; e_upip="AcLGQY1om9jqQyjKyf8V1rGxbljcZDLSJL1XiNw9EB6MeEpMCmcVFzOKF8B1a_xyb0YNjBA1ehtaSVnhgdluY0hOFwUazoMAiiM"; e_fb_requestsequencenumber="AcKdzOveJyN7WXXSB0jGE19WnrMzB7Gmo9SdfOh7DRGHaXLCpZi61WwEV2wFUg"; e_fb_hostheader="AcJzeV1_WnjFFtm39B7LWFzx4OAGbWnCRfvuXPMlkJ5IjoGNddpdj-EoqRQPYleMfse5h8ntG_86-_nS"; e_fb_vipaddr="AcLleAKEjRB5XZJKjqwOdHVgBmOa9TsPTx28UxfvPCPnDyhQwQ9CV7AKF2gzQgPCas9dsyxSlKyLHKY4q8XBMTFs_lDg9ic7BQ"; e_fb_requesthandler="AcLlIC5XbXa7dKUH1L6HWQEoObuDJC8wP6pOfV5CeTD8OXIJlaoknj8OLD4H15JD1upOIwEi2mk"; e_fb_requesttime="AcL1zBhLAFLWA-6FWFnW33ECF5dj_NKG4f7GpN8RYQ1cWSdirBfAkhnQiPyS1Gt3WBT95ti4Hw"; e_fb_builduser="AcIEr8tUbC6B_VcIJT2tJrfgJYDB-4q5TZMnRKf62turKDA5hOR-vJfGriSokNZeg5Q"; e_fb_httpversion="AcK5TLC6d9yw03Iy6_7nnzNjSePhAk6mp9NxkQoxMIn1My275pWBm7DV4mm9"; e_fb_binaryversion="AcL_C7gnvIHzBTMNnY_d2LGVRM2yJljznv632VuQ12ZtmPz06x4Nb0t2wO7DgRrdMH4J5SZ6YtACB41mxhmgg12ui6i2HLOIGSg"; e_proxy="AcIw4pZP6f5mDHtNDgVBKgUrAng1ChSpNzqc9ryaQwFPPpy85j0b2ewBBNbOPJE8IP9sPvTsq_HwVwDzhDTI", http_request_error; e_fb_configversion="AcIFdwGlf_fnvDkSu_flW3w_tinFnPnyMviwnBW1f1DJ_E_843NwTuNNNq14fg"; e_clientaddr="AcIyf2Br705Ad_ArJp3SR7ydTZe1TvLmICebSHYHYbF2anv_mEJc1wdDt0iyg6xFdeqqAX0Pu1kb5qf__A"; e_fb_vipport="AcL8aXwNtVLDkOURAssH8PqK72BG5oKv0XGnDe_8Uvc4UNLkRYU-2Tltg9IE"; e_upip="AcIbXGXZDJjTO3IXv5pthrqokIR45sYvebRmmbWJsoQmBlqrN0f63BsQsURWBJ6Kw5diC8FY0Snhv59PLVqVdctGPiaT1Tke_w"; e_fb_requestsequencenumber="AcLtFV2cstoQphmGGt4icfnLOx2kBR8ncbegiSVHlcxD09vTOc5TLP7Wkg"; e_fb_hostheader="AcIqQ0dScj4TYx1uifwKSsyNWAm3r2RWMH4xGyHJYgk8NIfUH_aqR7nkqej6WgrLtFRox6QnAP1fRiZe"; e_fb_vipaddr="AcK7WG34LlpNVnwGd3QuqCKtNrnihlmv0oPYP3GNl-vBh06X76mfR87F9TKhQe_ZLweKmFvnkQ"; e_fb_requesthandler="AcJ3ykFhNWP6pcxvnMWsl0JNP8sdNnNcNOEVthxrl_c39ps0WZeasD6ogHw4bQKd6Csoc9GjSZA"; e_fb_requesttime="AcJxpyFFsMQCvxdamnSmQJWEH8EwW7fqRqOnt8b4ywvSdV5LlUtchZK4D6r4tT_lJ4BWiDGqMA"; e_fb_builduser="AcLTErMvG73TcJZ5nbbZ4UkWM-uchdthNPcXYGQKbTL8vhbCcdaU6Y2trIU-P6AeDB8"; e_fb_httpversion="AcLJFTdKTCM5bJmvQBf1OHiomDfhj7snT4-x-80GYinws8I5wX5xl8ylaygU"; e_fb_binaryversion="AcIlh4yQ0pFTQwRfKr6CQEVjAzeA_eZuJLlFr3Fh-59tGuiNr92K95cCtyFXNqBEM5esA2kFX8fc6SeqM3j7HZSxWnamarTSWns"; e_proxy="AcL7eD-A3uyaT1YBFUFpCvMnBXhJ5vjDWweFjfDBMAGRVsaZnffDWhPdEeVgms9V5shU_XDngyJFFfc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=262, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25049780084665560?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25049780084665560?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25049780084665560?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 18:28:16: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/14/2024 18:28:16: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/14/2024 18:28:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11489158, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWTBbnkuWZH0-Sgb4JD-Rax', 'x-fb-trace-id': 'HO3LRqX2nLb', 'x-fb-rev': '1012058694', 'x-fb-debug': 'fdGZayD70Ppi8ffMprW1tAz312d04+o2Z2XrianeGDrVzmFI3VPpyM3TczjPiooxnHdCUTuODwscfa7mcDRMww==', date: 'Thu, 14 Mar 2024 18:28:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIGs7-egajXNQG0RKecRlXQX4005INBdOnZpXsuMkH1cpsd_7VjH4gbqPbZkA"; e_clientaddr="AcIdV23CjPfkecA1a-rXmNPR8Xa_69X0lqLQ3yg4dPqHVrEfLH4vQhNuUCbg02NJCO9usZInUZpWpjp_W9Nv5VIN7jmn5YPHli9a_kZp4iW80QBs8g"; e_fb_vipport="AcKRVCD0qvAWcTAJ_Z1KMyxk3bCqMANM_RcF9ZYlm1vClBCfqumhAEZt2nu3"; e_upip="AcJJ3flhIMtz6DJ4R_rW_h0TchzYlayfeiRl_u506xMmmzTzNTnviN5vIu9PaYNK_OHLDfC4tTPODFzeOOaAhmDR0-T5I0b5t1Q"; e_fb_requestsequencenumber="AcKWNGcDwS9_Pn1bDPLeZ2kccnYFcGdeOgHA5OMuFefdtXdVcAfMza4mvfqq"; e_fb_hostheader="AcLk7E8K55hpSE9uHCIp43ie1GUY9b9rJTEdf9oLs83vtgr7jQep0nUa5EP-V9_OdXhhWincDT2BXd1g"; e_fb_vipaddr="AcLjZo5iRDIuvVsiqwzYQp6h2WSutk4fTd2XZTpoX3fKqKaBXVnlz9HH1c6kpmVUiNlyiZ9Fnn41JVpmSzMFKD1uRnL2h7wHpA"; e_fb_requesthandler="AcKmD_5PTXGifuxIsP7UG3kmxr9mwVA0_5zoi50DovNkG9d7sdBmaZDkyJ3yuDOSNJPC0pjLX0E"; e_fb_requesttime="AcLBY_ju2jnYuEP2E0Fe9aJg0oR3V98E4I6wagMemUngqRiuymJer7OVeV7hM2ysFRsETm_tdg"; e_fb_builduser="AcLL56wsBzpEHtV7NobI7ILBA1_mm7xZIdZRRaMdjq4swg95txLuRVNieZ_H5zod8p0"; e_fb_httpversion="AcJb-Q0rR3iyok7uYpmcnWIAuNbC9IP2doC-pgWsYkfq50kiAwl9RfYitarN"; e_fb_binaryversion="AcK5Y-Wdk_8VgI-vrJ4T1L_CNx7e2phaa60u6YcghlDte_QowZqaTPNJkY9H0o7FYH36XixKb_3ouLzB8QEHEZg1uLxu0Yxyi50"; e_proxy="AcIBXaT_nkSCy9bjvw55u75CqqcQXJqlcfpvVAZwXBWMt2Auyqi5dnWHYzKrTgAGsyeGoIuJbBGBXFeJWqpb", http_request_error; e_fb_configversion="AcI7twDqiuOLx843Fk0CFDmtcaCZhB6TEEv5kT8G74wLpzeW2ScTnbsNF0E4bg"; e_clientaddr="AcLsQl1ftkiaOKX9dfdJKw6NlL2KCJsc4d1LGbb4G1iDiPS676ncokmgaSN71Fha4Oc93ulyYvL-NKC2hg"; e_fb_vipport="AcLlpNoS_zmyM7VK3KzzWD_EMPZByLJX_y-JgxRYi1cy675aLPzSYpnPRRR6"; e_upip="AcKx77kuujOEvErba9SmsAeFsBrssCuJDSM7BAvNtZ96agLFVOgASBSsD7Nz2RaR88wf627rlHa_7lpB0lWBTIOknNfrpIsHeQ"; e_fb_requestsequencenumber="AcIR2UbDvbYUYHpleGIS1db5r30zhgyY250VBeLQeYmZQUOr1wLOHaQNsw"; e_fb_hostheader="AcKtBxgu6iafuWk5z_0s5X_Mk8FDwSWUZrYy996bOD3Iey89qwH8cMXJ8dXm15k725mPKMVsTYX1ix-N"; e_fb_vipaddr="AcK625srLS-t8z9K2j6mpDWlYBEoDMRsQvGpIbziYvWfXMOWLUS2FdZYbCxp_oCUDCghiEsH_Q"; e_fb_requesthandler="AcIju5UeA3co1rfc2SqIhQOp4mP0FawL1J7Ss7mjRPXf1XpzzogXgsyD0fD1lpzInNkIFloQIDM"; e_fb_requesttime="AcKVdUxQEdjRUeS3MMT9lgKyyReTS4bIWOHurOga1pGMuqiEpVSXZKmyoY590VMC-EtGB9WjDA"; e_fb_builduser="AcKmMoBT5YPW_ADgM2hbAuMU9C0-DW07gwN3o9r1vewb6-z9W7pM51G4Gj33aLAy_Xk"; e_fb_httpversion="AcKq91HtLXKxNBysSaTPbZWa000oxxxQKe6D9z9TpHO2ELYdSRFN4AG_HYdr"; e_fb_binaryversion="AcKCB4-MEEfsxsJPTpln6pfLaZwq4dFf93H3T_xNAM-8KZbP7P6cVSL6u0q3qUX9N_F1Nb1fBCQj5OikiU_oe1Z85dH3Bi0YIW4"; e_proxy="AcLJJJhsXOPGa7SGzMkEelDjI3y_ZSTH3fnMAwVb287CJbuOg72YyX4j1joEUamIu4K37DaPdKJc1gU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 18:28:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 18:28:18: Error on send one message facebookId => 25049780084665560 03/14/2024 18:28:18: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ABxt_gSkTG5-_h4ojPJ1UrO" } } 03/14/2024 18:28:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/14/2024 18:28:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11489238, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWzi54bUmZeUFWiWpxiXIit', 'x-fb-trace-id': 'Ci+oZtv/U0e', 'x-fb-rev': '1012058694', 'x-fb-debug': 'sZIDaZfNotWwsbsZRzSnudb6l0M1ZSnEpkfiSulZHVU+xxJe9tWpQwcb5//a8vJ+UnqZXPgwHFqJ+JLZI/K5Og==', date: 'Thu, 14 Mar 2024 18:28:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIYJM063VBSv-BzNBQtb717aV2W6jWVL0ncD43BUOU7gFy02UeOzUxzBHiZ3A"; e_clientaddr="AcJMgwNj3H3-ysGGazHEqY-Alm5HwB23ewCbblCd2RzeVpYRhkyajyjh2mRhc1NmC6f0cBtx3Vi_NYotLU4rgHE1h_DcTAbQkcs7i04LdBbDVRPu4g"; e_fb_vipport="AcLO4xX2E-w8p7cSvCgQzlcMwEy_lRqsn1LLG8Jd88qaCj-z9O-dzxFaRTfG"; e_upip="AcJyOF5YYhhCkyQ5my7JRscNDG6UHZ8IcDcvWBHpeY7YaO-fOFx9jAB8OxykjF516hO0S9TQInCQh3loVBEVoXMXRnmyNyXh868"; e_fb_requestsequencenumber="AcIUqjHcLmI-5YCKgidqnplXHki5jMqSUEPJJnGCYs61FrmBvTgOV98x1VTxgA"; e_fb_hostheader="AcKUeaZ39PJOSPxLqcdfCKlYpygDZPt2dahVL9QctIvrssyNuvZT__gDEYg8LAPfY9VZd35DvPn-XPt6"; e_fb_vipaddr="AcL1V1VI5OdFO1X9GNSnNstsnv7YJeKCm9QJp6A59eMTJQkBca5Mjxy71sngJvglgy4vY6I9rDuFG5uH0KVKyDsxIWXIajSyYA"; e_fb_requesthandler="AcISiw54uTR3eADLFZq8nroLfCrTtr4smRxEQo21e6Wzj1BDOMzn6g1WJaUkQiGJUUduyt_UaK8"; e_fb_requesttime="AcLIqp6AWfAkivo2Cp5cJ0kKmtoR-p_rH9D6bo9_mH6icASYT6pPjjtXI1z6Lu6faY1XJv9dQA"; e_fb_builduser="AcKcDQ3C4djDfHSqJLsHe8Sc8ze99edsmoAAJuNcf3GW--Eo1OnhG5BO-5V457zraDA"; e_fb_httpversion="AcK8cmTrPfVqgsZyTI3C3PEv8bwDrJmWQsFtvknnsgQri5XGElLy7ynk0nxn"; e_fb_binaryversion="AcIAW4o0WAQt1Kit0h17j8QNHXwDSf63IrnRIFskKdf8CfcXMOWwIWmLu6USy44oU5lZ9knZ_X7_c5CGQjLJlOoRsHAT-Ae4_bA"; e_proxy="AcIsoe8lfRN3GOmbi8pB0y-KsdliyLVJmhOjfOEyvb_lNo6zNpx9QvAQ9e9iFw_cI8gShzNPxAcdeaRG32NU", http_request_error; e_fb_configversion="AcI_qP8KbVQNmDjxFv0iOSR7L5R0mNt7YhHkdcqjegHCW26I4PyLgkpNi0A5Gw"; e_clientaddr="AcJCu7AMt86H4yJsxaG420dviujDNjWshbiHmaI70gtvS3q_zrwpfjOGamQNPuMLKXIfxSxCDGlHiTP8KQ"; e_fb_vipport="AcLjfQUEMdfOjQeLdKcvuYaCUHobhfcZcVaTgsm1kgt3TXUWJSp3MATxSxA-"; e_upip="AcIpwiQ2Q7rBXEBdDPYgEZpJ2XcxaxC0ugc1nCmxg040VUkXq6HCIRzBLG141UX-p5IuzPiHm0suPBUVgCNLZRcez_MAZCPglg"; e_fb_requestsequencenumber="AcJm4Y34faN1zVMks3kTCPFQAYSJSydUrMv_-3zAOAEoQ4AEH24SvRihVg"; e_fb_hostheader="AcKzv0zaLmsnPRiBBzX_IhBcUBeiS_yBlQWu79L2OEMt-bN7S3GooHZx7M0Fm2Xmy8ptRQNLyXG55Y0c"; e_fb_vipaddr="AcIUJW-5GZgoFjhkvH53sC_H3Z5RTXl92T-CJGVlDQIGNqV7lDqpX0ImI-d0-IEzdzkMkbsBCQ"; e_fb_requesthandler="AcKve7EwuuvBpllOt1cyOSqx4nedXQ54p2lk3lss2KxuOr6HqtYNbAGvw2q9LLkHLmt_3Pa4SCs"; e_fb_requesttime="AcLIxz-DZ-g0j68CNSFrnt29i34cvE_xojKBHmOhMRtwVUozHtc3IdrgmUwzICq5gmBrJaXOHw"; e_fb_builduser="AcJuhqXhCmENt7FYAJD-xrUdoQhfQ14CWVANKYOUJ4efY5-7RB3nrqqxruhxflvhSK8"; e_fb_httpversion="AcLc79pfajrfUfr2UbYy3ADb1Z_GbaV6GNsucstxpg5FMMNcnOdsHMP9Uenj"; e_fb_binaryversion="AcKQ61ftnAXhhxEDwAQnBhOZxFofivFsA5Xoo_JHAzEyFx0OOzWMrNmUg_aHV9R2nfEGYBKfRNl5-nnBdryyua8AZMJIh4wZt7k"; e_proxy="AcLamug8NwMvW8YOI_NpkB2A_fFsYmwzav31D3pU5urpshf-TJQD7UHKmvfdKjd-oaY5XadQTnvkPlA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 18:28:20: Error on send one message facebookId => 25049780084665560 03/14/2024 18:28:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ag1h7BfTcDpny9F2ssWRO9H" } } 03/14/2024 18:28:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/14/2024 18:28:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 18:28:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11489385, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aginpu_T3x64Ys0MccwhTyV', 'x-fb-trace-id': 'Htdp6P1DMjr', 'x-fb-rev': '1012058694', 'x-fb-debug': 'E3oiFG5AGnt7nFqYBg3mM1HPPORT1kgMSBQ2ngL/wktkae+NIVPwUySaCdT91LEPWQxtfznjlKD5Mx0AD3FbSA==', date: 'Thu, 14 Mar 2024 18:28:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIyvUKKwSUs4G9cQnhcf91DanizzAoZyuU0TjLXMO0gzaG_71tfZEl_daddlw"; e_clientaddr="AcKkz_3KfOmxts6cFrTdCy7fnMN_wi7i972oCy7R3bYt3_WJl3cb5CkZ2hg7I687fksez1LZqwMDokslE80ocAFhcLIkqque8XLmSfsWvtHo3-GZrg"; e_fb_vipport="AcKKFoeGvZPsxOsk_B8P2JMNPWRckHaHvx64L_--HFvizeyJoZMZdh5kXziF"; e_upip="AcInz5t0gxSRkDmszDMz4bxxpCkQABc3aQYeGUyZZ4gGksmQ_9u8nu2NyTv7NTJgCFmWvTUTB27FPHdkwUz9lHsgcZ375tqEalI"; e_fb_requestsequencenumber="AcITaBhJRNn8WBx6beinnwPXQh24YrLbzstHE1-jm-xX8619-KbmplJeh715FA"; e_fb_hostheader="AcJR5-2RJ3Lh5nbB8alsJ1sJRkPB4FMWg-82uC-MoMKnrYdaIqfoy8wcuSrptvEOcTlpXAba2XREpS-y"; e_fb_vipaddr="AcIe0_xB0qWUdorj5LhYrqFBW571aiv0vJpaUiuvg9LKY9Pm6_aOEETEh8ah4Utebq4OH5_7BAwd0jXeu4qWFn0Hi-P7JyQaNQ"; e_fb_requesthandler="AcL5peSepACmO9TsK2Zq6GGQCdvfAP6X1GagbrocYQFB9-dQDEI8O8we-S2KSDCrXL27T9MOSME"; e_fb_requesttime="AcLwRsyWuWPNRPZS5iAExMc2oWGUGj13utI4AfOe2Noy_4Opuj81Yyxk5_1_Rz1Nj738BjWjRg"; e_fb_builduser="AcLNcjy4wzB6oS7kyGjAhMSIrqi2asbum1k-a-nmz7etebkuPKPXspAz0GfO19q9exo"; e_fb_httpversion="AcK-UhhWQvf4HhXCtP23iBfEQ9oNFfQ662JDsy8yYbqel5glbjQ52W827SXu"; e_fb_binaryversion="AcKLZEzMvp5Zxy23_Y94O_14U9t3SiKGM1Y2YddxzCoDF8AbZfnZWw5WAc1WloG2J-Zfk4TBnNFVJSFw9NIppIWmzrNRURMxGqc"; e_proxy="AcKVx2WUhvzroL-z6WUAq8p-EZomFzoOHU-V7jEO5esq2RPoKtB-l785sS82q0K3Vy-6xM59-SDBuDcwAei5", http_request_error; e_fb_configversion="AcI5K74oM3vIGLWWJtfQ5UzclIHpU5AWAMccPQOsk9ASO79GrtIC3p8C133wvQ"; e_clientaddr="AcIfV8dlYYnnq4WspVHSHgwgIGfcYgrMy4mj_HvOi1qXHr_CdBtV_iRWy0CtKSVdfOqfzvFKQ0thbYYA2A"; e_fb_vipport="AcKX05i5RnO5WYgcBCxdY5a-qL_qboK3Yt7BgNkkHQNMmPY5hlPxHFeIJHEQ"; e_upip="AcLxdEzuhoGWERlF7L9a_CTlj_u_gQBZsGmN0TwTVqVzLkeexRZDS69HGoXDzR2ugEX-eBfGYsiuLUpgDprqx4B73iTffJUUag"; e_fb_requestsequencenumber="AcLXsa1iy-_URPIp1d047-o3klG3c0EvnXE1ggVr8VVXiic9jxBMy7moeA"; e_fb_hostheader="AcJUTJD8UPIZ9RTURGXfLqXS8HqOCAFTIDeWO7pdqK6hRdRWJTdFWV3Fp5QjAjLvNS7pCYbYZ0v8sOb8"; e_fb_vipaddr="AcLEUpW51Il4XjalnCOFT11mzonWWGG0dyQ0jnrR0pGkVdfG05DJsiUj08y5fmwP0pvmJQTrdA"; e_fb_requesthandler="AcKK1dR1Ofki75G0tGCkSi7pyDveQ055Ai6KH8IAnJcCw8ewWQgRcbouEuv1FshNc92pL4_MLuc"; e_fb_requesttime="AcJmR9UlXtGPrf-Nky-3futyVA7EQm9OXk1fAz3J3KUNVGC6WuCPheMADNbNDQXJBxxorpcGlw"; e_fb_builduser="AcIarmIA0O-4HYJDdjkETdo1Y-mgxq4uVgX8yb--swWsVaGaevKuH2b-Xh56bbIeTBg"; e_fb_httpversion="AcLHVnkN2tOewDerR-eu0f7fCYfQ0EI5E7sYw_SRRwN6fY2LFZRbdqZBaGId"; e_fb_binaryversion="AcJ7dqJz1CIc_BP3kplVUuqI2l33WM9uUYukdvj26UfSn58gmNxRtHI-zuaK1ySRk-iEd2dueIergJMRZ_FipkvMguPVDZu3cWw"; e_proxy="AcKupI_j3iJQxbmffsVqsvmuxjDRUEoTafw79kj74-fWkgyBwPpkhwPMS7rKENEMRu2FzhRg3eEuVJM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 18:28:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 18:28:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11489574, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaxNKqsmhP5cyePPb-xQZWq', 'x-fb-trace-id': 'GqVexnDjjfH', 'x-fb-rev': '1012058694', 'x-fb-debug': '6hcwdrxNxQ6UaJcKTBBwgjUhCnf1R2y9JBm4GnfpcfOmXTTlhrBqFwrLV8cPjUIvXHtMZySjSUv4J/QSGzN8cA==', date: 'Thu, 14 Mar 2024 18:28:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL3yfrz9-ePkXOobUjuDEC2nWQ5rBKhgfSyjvdq9RpX86tqBc9PUwRoW3GGtQ"; e_clientaddr="AcLuDwEY2ES6jReWTUFa5D2N-BfagK8FppeggzEjjGJSnw9Ap8eLoPjvB0o9MXiF1mwGpG-CHHOuIg5Wygrr6v-ExSLMHPo0Rkdtwa2OrDliwnYRiQ"; e_fb_vipport="AcLjhFay8-HToslS1mT1UCkjnM3QjgJIQ9WgyH01EOI4eaqdaxWhNqD4z6-9"; e_upip="AcLmQKg7Jvc7ExjkgHREtCbF3-RvuR3AX9YyIIM_Gc6RgYizqF4CqiMwIBLpdy51IHtGmB5bMKmyIkM1pmN2SW8uEtF6QYfk2eI"; e_fb_requestsequencenumber="AcImGf5fGDLx4TLZgP0V7Gozhxb1mkiB7UHgG64mYrWioXZL6ftA15jgM-6P"; e_fb_hostheader="AcKMJWyVK1zwfXDUdcH0FqBkjTuRli25ZtI3Rlm3bdByTLCuduZQab4fhbH7xietoMllgEx_7elti55t"; e_fb_vipaddr="AcLUjeBjg8zBIJFg0HQ1PfwFvg573KP6r4kb5TXjFOoB2QiAtqChIt_zm1mr5BeCFvkg25LaeQummi2Bf5uXpOoW8wI_fTCoaQ"; e_fb_requesthandler="AcKIHlK7a2Nys_9FDM3NnuQOiZbRd-TWIMbWRFUovd5bh4AKk2Z4niiFEJSGFhb3uD3lS7aOmbE"; e_fb_requesttime="AcJm47h_GT07yWKuTUyKZHW32WR-B6t1fO7cOkUaD4VbSgw8tkx-T969IjxPCpfY5lVNeOEM3g"; e_fb_builduser="AcJ0_VqkX5cx4HCJn0i4mQbGlkuiMjT0AvOi-cxk3XS0xmI6-jY-lhz8qlLXMbkABX0"; e_fb_httpversion="AcJruZWPD6YynBmcLSuDaPPG8WARiNL3VpwtZXIMiofGohwC1zRCJM1C26ad"; e_fb_binaryversion="AcKmzngZkt-aoCMwtE4ZmL8CWE6MGPuYsD0oikZQyJdVIxURy6mM1JtkQw8s1-z2Q2qFoL_f4xNw__WW53XvVDucibIEexyr0kA"; e_proxy="AcJ_pg0rOJJhJF4nhqfwgebs_7tqqf2dzN4_3cn1sC3V6axKwQaugZzeppHAEeBAnW1LkPk3HCsk21KCXvEg", http_request_error; e_fb_configversion="AcLG-2W8wEcKdSGfEJ1qz_cS4UgQ-7dL2704wZgd8WOr_b2IwINCq7wHyl9Faw"; e_clientaddr="AcIyMC_6dcQOWN1QFvi24pb2EF0oIswtX30Bc5XIGEZiMX7Duh-v0pFMeRCXyTTdoUZ0Tc-Ggit4mn75VQ"; e_fb_vipport="AcIyBoctkER2QPu2RYWbPDRILcFEqOj_JMTotYF9izNTY-KgwMJ1jtdIcnnD"; e_upip="AcL5ga82ewAbjWLPuAki8FeG7GsNuyxCmJ3JFlDHuT6gaLvodtf4XLY1WoF_B1FD7vj2z8UnMWyfte5oyLPqXoEzAUnJNmrwrQ"; e_fb_requestsequencenumber="AcJlwlovuXmeGB_GzGR1ZGeqFWV6QrMLay89nsgDO_zJNqSUT2o49nSiwQ"; e_fb_hostheader="AcI5cgy9aGwaX41ilHtjdqC2v3XMB5xgbXFVCPRKVdIqvSoYjJxIw9alBnfcqzfidGoCZI5-xkpLNwGz"; e_fb_vipaddr="AcIsJ79Io8cJbxb4Cj6QOKnh73eY9Mu1c-BnMrlYteamjLgH48D60Hfs4STjG5Zi3Cz3ih4I5Q"; e_fb_requesthandler="AcJk2_KOhTjJQZdI0AoxmTNJCc4eweHtJHGoSL42VbRD5GFB_CwsvG06JQDjib-oXypUWhFfkr4"; e_fb_requesttime="AcKdYROyDw3h-xEwDBdYX_DzcZgmYQ-Fi4YN8xKqfSgKNn9lcqBuFlr3eMXY4ig0YTOVnkO0Ng"; e_fb_builduser="AcI0dzVjfH-Yk1mysPaBQC-vaZlI6LlgEf9rf6sgbRrsmrklFEx-PO2bbL7Xd_UIqEY"; e_fb_httpversion="AcIEWGEA4UfDDHXwH16azbybtDaKr4Wk4OrFdBGlITVW8FhhCYINsWmwU5Bu"; e_fb_binaryversion="AcLdRXLY7sdaQ-iQ4_FVZ0BCKv80w_1mIbMwU_64wlnPUeV4MoTV3dtOjfK37c9OZf6SREZkx9V_Rd3s2lb4qtDvUvreH8_kOU8"; e_proxy="AcLnucExZRK4RURSnghUJApTCTf8W4jebuINq_cIgNXo6V3EeF__dO8NeOpPq70EFLRvo5bj-ivyZZs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 18:28:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 18:28:26: Error on send one message facebookId => 25049780084665560 03/14/2024 18:28:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfOsFn6B6TFbMZiplLGg5mp" } } 03/14/2024 18:28:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 18:28:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11489707, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AG6WRsCNyzM68qQNKMJGFBj', 'x-fb-trace-id': 'ESTmwhy0l6u', 'x-fb-rev': '1012058694', 'x-fb-debug': 'yDTRw2SN3/ca4Cp7poC20PCxpooXjXxTeGPk7Mae9Qa3peYCMp/69+sF/u/6mjtPHiZM/SenF6nVxiPeZAjwpg==', date: 'Thu, 14 Mar 2024 18:28:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLZFiSc90aM9AfKNSAMxeBcfjndXEDjiG9bt0wQWsWiQFuuDuODHJp0pvclww"; e_clientaddr="AcKWFSaCHawUR1i5T181EC-y6k4O4nXiSXa_qNud8EEyVCVtWYRvCyzr5Q5YYAZLq9pui4vyQMgpBgWjK-_Pf8NEEIfMAcFACiaTb7KNQ87G91nRWg"; e_fb_vipport="AcKKDUC_hBvoFYuU57KXfqFhtZf4t8ojQtpmTLwmwMjUZilGXUH9d8kysTTs"; e_upip="AcKpWbs5rnLoGb7zgJu7QLfx9u-84wER1P-E_GCE3laDaWGLkXlyL433LhwdAPgi_bqJ4iDFXwy-FQULkI0a8dubgoa1Qs9oC9o"; e_fb_requestsequencenumber="AcIIBea7l4YzL9C16LfcVnX26ceOgIIwd4wjFEK6I2KSquQLdrvUdSJVmyQicg"; e_fb_hostheader="AcJpsmObAJWx-VqSMAdLk6qqI_Ggfy-Ayl3-DZjYv9wk3-LnS5nZ8jW-P1QfLVqky4KnTWvdBEbctu2g"; e_fb_vipaddr="AcIG3paprfiBYX5vNWTK6uRe9NAyhr5sPmnyEcZy8-ycCB4KSi4qxhPUHpx4dv1uiE5PrKlvByl8e9j0uJIJozgbghD0RD3VtA"; e_fb_requesthandler="AcJ7baMC2HGsHqy2Fz6ieEdIYxNc_0yuLzs5Q1Dx4pvPKG9ouuqL5kRQUIONA4FakrkRMy1CuOU"; e_fb_requesttime="AcKTTA6AXKevy76cJ73TDIy4xk7ryQ6Ap8LMa9u43-6_4AwLN7OwXHzW5Ps7CtKQl7bjcSfz9g"; e_fb_builduser="AcKiGxUKgbCLHSE2KJb91KTNRraiAP-MrMKx-B5J3vn7zfsbsOEY09KDuFgyW4GyYrg"; e_fb_httpversion="AcKKUsUORQjCBxdsjVW82u9d0IWQp8gLKQeDSnM662KcQHgcakZbCJFvpGMh"; e_fb_binaryversion="AcJZGiKhBORkGWrePC9JrR_yLPjAjTmkpwt7WiuCkv4nSPiaUgrnNJB03THGBjvuxR8ScOgwKqOdsuyhi8n6Ig7LczhczJOMPEg"; e_proxy="AcLjSbJ0JA2EUbTqoENPv227gkG6c2DWhp8qEbeN8qu8vIS99hAP8Ndytm2HjKd1ZVXqX2UTb0BPT8s-fYuG", http_request_error; e_fb_configversion="AcJ0vuehH-kLiIDYQV0rMnEq9AOP9hA0CRBkm0PZeHGtsydZBJi2sFSpe_O1Iw"; e_clientaddr="AcICyJaAYemqDB5Or4WCYOcA0-lHgrAnSC-1cSWNzEKUpNiDpHIY6eygwS3WtXlJb2nUGacAjvaMe6WweA"; e_fb_vipport="AcIQz5GK1c2m_FZU_x58iWl1_htLXOIV1k7TeTlGeW8E4EhXBaw70t251d42"; e_upip="AcL7aGvcq_zhMYn5AD08gkO9e9JmpRWgkqa27dysPD0VsXz6ix75aODGnAnBO0BhntUAWDuO6akgjE-GnzQbYIxjIwvoGRe6mw"; e_fb_requestsequencenumber="AcKsn76d2tWmJiQFqEHNM3YRISPhrfy3rUSbgyjz4Ekq76SH6l70APFEEg"; e_fb_hostheader="AcJr_kRRPu7K3YsieMPURchUECc1yzm8PUedcSaJluEfu5mm_XgGHYZgnP4VSnEcNYQNSzYFk-j2bgnt"; e_fb_vipaddr="AcKgkIcDzWw2Lr6H0tjNhwJMeEMhCjjlnJmyx_FHBU_V7FQvBXt5iAYGNsFDcdhcQUyNxVJiog"; e_fb_requesthandler="AcKEJCORHMHidFLCfrAekVH1fiRZd2HxeH1EG78FqQyQCDFkE70rRRM814FxafoME9MWM6BqG_Q"; e_fb_requesttime="AcKPPLtgWJzDnY19OE1ehBAPPmYiLVMiBzwp9mkT1RykAoSW08lJNOVthwiZOae85Yc36dV4OA"; e_fb_builduser="AcK-Au6zm4bLyEG0J7zMas55vHRdXbzvcZxtymmQaAtCgMJxGrNg1S0j0ffkZNzva14"; e_fb_httpversion="AcKVBRk8cuAoWxKPrlUKJyr1iot5kRWeB727d_qo7rrPybiLVLVYBs3KtUfJ"; e_fb_binaryversion="AcLYr3q9V0UTy8ZSCemklyywqrxBEBv8xtA52d-RD0BuUU01X0A4XNpiHx6YO2HuAmISTkcVVyzggTqcNK1iNzh7ecNPxF_9eV0"; e_proxy="AcIg7XtTY8diiKTQBFpSMlGhcbBSzLlmaWo2sPKZyyr6GyilFU-XUilZAyFtpd7mKo0cCb5qVCuDaFQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25049780084665560"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 18:28:27: Error on send one message facebookId => 25049780084665560 03/14/2024 18:28:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJcsOEgDsjSlJBgLJfWRWh-" } } 03/14/2024 18:28:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 18:28:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 18:28:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 20:00:00: Request bot not found: { id: '1852395741674621' } 03/14/2024 22:02:31: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5686339698076558?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11526129, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5686339698076558?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5686339698076558?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5686339698076558?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5686339698076558?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AScxQ7q0-an1P5jyHBvQQZr', 'x-fb-trace-id': 'ChnXcvr6JoN', 'x-fb-rev': '1012062581', 'x-fb-debug': 'hYdcULMQMWzhQIRTZEBvjGj6TF+E7NCE4IwHIErklh38BTlpFxuB+fyP6O5ZveFLc7gMQk43unaUECBVL2Rv5g==', date: 'Thu, 14 Mar 2024 22:02:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLR_o3na28wUX7XvXfLT1P9fh-CKsf1FmCP_eGarJK04UqOmEbUcR4ZaFGczA"; e_clientaddr="AcL0zmleZq_kzwX9c-5yAEmZ0j9YDDlxnbLTgiC4HUt02ibftnsHi4YkRU7ZDE5a-8ZJMN1vAbsN1HocAKy5voANTa4DbZwryL1p8JjKPhXD9PARPw"; e_fb_vipport="AcKxCxx-porMS2ZHBgKGgnGmMXL--jCSjBA1MU1WdppDaXmWmHJZueyTuUh6"; e_upip="AcLKMdHJLxEJg2n6DiSspffmROHDCqZDBnD1XPXr3i3yPyq-t1VH_4uvak_XRPktdnvJakeCZyRFWvD4mFLGNC8UtK_Xi0TWBtQ"; e_fb_requestsequencenumber="AcKOySVtaLWSXbBE_czX4DvBgkpMuVe3hSN1JE83PN8IJtlXfAFnnZkJ9StG"; e_fb_hostheader="AcIqBhYS7-7fmuDtpL5gCJ9_3AtYQRWW3kSEDkUyJZztOdpepfZRdt-MKthNuZ_H4rv9gPrI_Ba41g7A"; e_fb_vipaddr="AcI_gldoml4Q1Jf2rRappmvXEpNxwsd1Pndx1oZEspf6SGio1_bIbqLaYQ9Vsvf5o3Rl_93H24SipZSGDA7hqqIipvhAaiiZew"; e_fb_requesthandler="AcJf4wF0bjDtelj69y6gd9ajI4mf-sgIWGum6eXxEmOyfuqF4i79T1-xT-OvdYATBc-TujrHp34"; e_fb_requesttime="AcLnY8Uxxm91N2tLOI7aKd7VDQBp1PrQlxinZ0T_r03szHIXKJD2orUclo5p606bhPXUZBPhDw"; e_fb_builduser="AcL_JVFO-LpVUYhkm5CGgpqi7Dpk_ygCtsdt8Er8YIZquEK62Mc0uW6v80I7k6EKYQ8"; e_fb_httpversion="AcIA-CmtmV38CAbFeRud78s3jlf5LLw_hWHoSVYml99hoeLHdGgqwm0UhVog"; e_fb_binaryversion="AcK8Y-fzcug_OKs947cTR8pglJV_2Vs4aQD1yBlAJAEQ5CQvd9WpKHT07D3AmmjeANso3fKfxIPeNorol-5od5vnZmkZQyPuJaY"; e_proxy="AcLuIm1JpTYzs91YOnQp0oKqM8-IEydAi0gNQyUClzePobP5zTjHY1blkpvQazyn8bF1lV-xCOlXqjVedTk1", http_request_error; e_fb_configversion="AcLfYAKiIf5mwqsN1CabwkICUVNigf5BvuyGYNHIEtZdY0tm4De1vWIospAJvQ"; e_clientaddr="AcJS2rQ96IBcJAnZObcPVkg8a8j7QW7-WxUPk2lnvipZ8BJnF-lUNb8sIQ63qxjH9ou-wTPMakkK_c0e3A"; e_fb_vipport="AcIopkiv00gN96jyogtMASmn5EmKDCAWumG4KhCFCwHQRYXSZPCci8zHAfrv"; e_upip="AcJ9F8D669mps7wAl07SxS3F-wOXWxHvt56TfXcsMIPhEIjE0TrHSxt42WBXT8I9fizxx5dUKLKcapCq-D5-6aGTKs6946wGrg"; e_fb_requestsequencenumber="AcJDcVyoqY5MzAh9B-RHAhS-HgqS6STj75WJLBEP4WTd0qcxAXJiONyNvA"; e_fb_hostheader="AcIPVnMlIvhjN1yaTG4kFZfOZgrcgOI7zNWN1T00Z6vzcJSg4CZdRb0yqmxD0J8UfBSzXLjxx4kG8AYu"; e_fb_vipaddr="AcL25I47C5-Jf7ai60NCCq3Urd7ShnzYO74UnV_f8NZgLUnSjYPVursLZrC4cNjyC5YeHDAriQ"; e_fb_requesthandler="AcIcR_FGKS6kGtSpA_LpXfDMt_UXCQiCN4hYc6XM4akmGPyanbatTUWv25l5dznlL7oclswcSn0"; e_fb_requesttime="AcLoxikSX8R6DVAlvQiDe_i5F8IeXnV7_eadjKhSEXbM0_oHhMxNVwahLx9SJRM8uru2m96Blg"; e_fb_builduser="AcKRiPYnu396SNKpXUE9BWAiVlIwi0oHEqBfdZAYl2B9GlxD0VTfiTzO8yuY2oWb-aI"; e_fb_httpversion="AcKsffLh2uuF49UZl6lUOIqpjztWAlFyoJze-iMLsH8VrBnzM1fSBLnPihsu"; e_fb_binaryversion="AcI7VAiG2mAaN1QI6_Thqmgo0NWIeetf61tBuEVQ2zztxQ6hh9MA7Z84sqVIs5guPWLELT0oXYplQY1tQpGbBycNRHoVCJayFz0"; e_proxy="AcI7bEeCXFKfWjxvpPQrGKosnhUB0bn7Z2if39oOvbq90mxlSmmcgFxKtjv2TkQfXUx1C_GG3rmvjgY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=208, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5686339698076558?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5686339698076558?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5686339698076558?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 22:02:31: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/14/2024 22:02:31: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/14/2024 22:02:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5686339698076558"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11526247, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdjqfCxdvTSkL3K7FdAXlYh', 'x-fb-trace-id': 'BYnjixELRlY', 'x-fb-rev': '1012062581', 'x-fb-debug': '/bf3fGTUS70j/21a6kF8aZe1KOmClCIj43e+dMCTnWQLvTlWjui4ik0RGDXbNLS+kGICcJ6olhj2JgfPNidwoQ==', date: 'Thu, 14 Mar 2024 22:02:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLxKtxs1yR_HAIPPBcMX86tF4EqER7WvZz-MMtSMYjswc9dQyKBbSWkMyx2XQ"; e_clientaddr="AcJCVLPQkyl9R6lHK5QE-e1lDcO45kyDGMtM7teQ2VivOjmn74HEoAjm8Z9hZ9IMBXibHiH7x1YuexfVvOYQ_sIWxFW50urNvn788U5iv9d7UTu5"; e_fb_vipport="AcJr46wlIzo3WbotXKPKGK_GxJl_AGhTobFyhq8dlGQW1DlsKzPGZHo_asN_"; e_upip="AcKNSfb4tI0Gg6RKf1XTHFSmiZ7LdrkR-8ZvI8HwNAHBEF0txLD7PbGmrteGJOB6SECjvVh4Aubz9qev7Ea6xlNN-izpcaD2jg"; e_fb_requestsequencenumber="AcJqz2yBs9u53SRQp6jVLgmvojB5j352vf8ijswtpd4Bwm9-ag08SzZ4e4hEPw"; e_fb_hostheader="AcKHbod49jKTYyUPzJTrKQGwbjz_3eDPea7MI8-RAM7zvr32F14vNuvMFBgTPrznVC71bombRyLCfYYC"; e_fb_vipaddr="AcJkZanl_SjIrviq22dyQwgmTfSn1y6Abq8JKqCBI1YCDT6vsffORRkyzGUaysHUpRXnFFnQa7TzUf2iCgSFOSLoXKPH8RcJpA"; e_fb_requesthandler="AcIABPTvjV8o-bdrkjwWyQ1Gx2Z4xwwL0WPyJa49YkpTfZO8l-sCl8_-EtFAt5YQHQkHvmqpHSA"; e_fb_requesttime="AcIvtBwe9qmNNyriP6NrWcZ1hs835GPWs2-10NZjgriKaFiWsOA-EnWNhwuB0-LPXBNISV_QCg"; e_fb_builduser="AcLpcO2jTdvTP621zr1ez97bhMKBFrtnp_iDgoTAPnQjgqGWWVhNVQnv4kZt7JMrhAU"; e_fb_httpversion="AcIjbrl854FDZV-RQ23lMAZQh7mPd1Z6iSVqCNs2ZW3GnuM3zoHGC16MSsM4"; e_fb_binaryversion="AcKwgHhD-NhJNca-73OFxGG1qmw4ffBu54e3cP7HE7Xa00Ys_nj9LqfjdLqt5okjmWdKkeRaOycgWz18y-2LFkOKcNr8JlzDJGo"; e_proxy="AcKughwjLDnq485wrZ-FAKk8ZC0aP7STuYVNZy7bKfLpYEYqCURY1b7PI22piIEXJM3R4LVCNxpwL6otbHXW", http_request_error; e_fb_configversion="AcIIPBMNWxHLRilfYgXpj1UMM1-w_OThfxMBpS07J3bYjlXSnTGLfz5ZViNz7g"; e_clientaddr="AcKZSK9NfQZySrn4_xQUtJ5LWPh_Cex_X8bwfHKCOU_wQAHB-qFS8wNOv2KkwdonghC272qZRCN8yLodlw"; e_fb_vipport="AcJmMtVsmutemIL2fI6y8eWswVYl0lPSMsCHenhH_wrdA-Bp3fXzoXWaB3yz"; e_upip="AcJNt6c0cd9T4epVlrzGROa4SiTRCHRS3rn25asOgvt2YHjEJT3wTG5VXcGiQB4fE9FDtGh4Dfr4FCgvD0PWP6acfJrrI9v5EQ"; e_fb_requestsequencenumber="AcJTbJK7xiA2fBKVY-0rbuiAjqEJ5raVN7k35ca-UsjkPjfKsJgCBZ7WLw"; e_fb_hostheader="AcKvfKjbfRudpnR1aWRVNNo15h_Sty_sA-IPFGT2QlRXKh4uQnwmVgCGfd5W1jxvLddDPZQyPA4jkThu"; e_fb_vipaddr="AcKKdxGhZ13H5q43pChNj6Pdtyk9czcmt68HToC19gih0k0h3q8oYwsUhu6tZdz1pKqCGmIGmw"; e_fb_requesthandler="AcLoYL7V_pVgRcb_XLsUCwYg0zA951REwW5VlOe28pAAr5MizDJgDvA9n8efJ8RpcqGcw3gN6hI"; e_fb_requesttime="AcIzhy27j17_iJ4_oHdzy10YSSnqUERO7qtCWI93ktpGN6cd1v3lheL8ymvEespnzQWY072eyA"; e_fb_builduser="AcKky1fYgZA7kAiQXGQcakMN64PUgySuwI064IpgYS5FwSOY-wuVee80RNs0JrBwHzs"; e_fb_httpversion="AcK03mJ7v58E_TdbfFs6g_R0OpO-Xq8uQckpAWqXiFWigPmRHXsDuSCEF6Ko"; e_fb_binaryversion="AcJmKv_guJFIbgkXGC5uJ1TluquaVFvLUnJb8LtEdeZsIk9jlmn_IyFU-SqUIz-2vJDDimpHgH0m62aiyGtZYIbl_DNB49XI6LY"; e_proxy="AcKMrcN_-RlcCFryVtgf_OYQYZrWj9ndnQbwKp9z63_SWmxYPtgD0_kfzpfR2SmLeeg9TDUbX5RzX3Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5686339698076558"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 22:02:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 22:02:33: Error on send one message facebookId => 5686339698076558 03/14/2024 22:02:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ath1V8J4b96miYU6Oun4rmJ" } } 03/14/2024 22:02:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/14/2024 22:02:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5686339698076558"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11526340, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcJZ7e6F5b68bhZ7031CLRP', 'x-fb-trace-id': 'C0NP9xgTy/0', 'x-fb-rev': '1012062581', 'x-fb-debug': 'vRNdTDs6ygJUd1JMWMUel5+jnz11/I9TF736PVPjS59wLEZS3NnNqUl2R5ACz7qCo6+Pc81gGzbyPcZyNoHQtQ==', date: 'Thu, 14 Mar 2024 22:02:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIAJFCteb41x1T_2CG5q7XxtfLdUAOCW1j3ZyauqSDTRedLYJlBFVxX9ZeBgA"; e_clientaddr="AcKjxYOfD0IlpmkLtINr22I_a7cVfRRD5pLFXPlvhNbSfaso0FUjAtktT4mTqSEBCp4_RJnpO1zEr-1qPAC5RVsbFTnLaCgfZt3ghR2iUgRBrbmH"; e_fb_vipport="AcLQP5TnOndBftXy3rm2CQ8kUNPSpXuJEre8o73ayz1-fj8pNlmPkw-gf2Ly"; e_upip="AcIfNOlpkfqPOMArNkijOwCjsso0TdknDK4-VCn0xzOJVaP00tJuBu8ftEsQBUR9wdfWwRlib4tcVXhOzqxYO39Y5CvkvV8jfQ"; e_fb_requestsequencenumber="AcID9LGVNElsnIDksIDXWXK764lRi6OQ03OAhq7EK3uO3aI1NN80jlwJB_a1dg"; e_fb_hostheader="AcKH9dw3R_lo3FYmUAPyPbIVwbNow0wxcJMU4BlMsD-l4K09eFvtk56UjLYi11YosQ6Zb0lN866aJjDk"; e_fb_vipaddr="AcKCGi0e7EbHCxXza_1skO8hJoga9TkEzXvzZj306Td3H7W6JF1rHrvMbgnguC8dSKCBQA9pCJCmGLkhX6sUsPGPNmOUB2fEAw"; e_fb_requesthandler="AcJ30asaKOL3zAgy8FClbcygi_1Lk_coqxnUno0MQbjj9sZlebsEjqQ__0xre7id7lCFgPYA0_o"; e_fb_requesttime="AcJBSi4kWa1h2s6_5_SFhBhJ4kVEqRjIsyb36bqjOgAX0TuZzSI59wMrEX3BmnxCsL2VM02u4Q"; e_fb_builduser="AcKc-O9j6qo5Dr4UkknjUYkLbooxTlZflCxhoHwhBPq_3jGoujgEvhbeavqy51MnDN8"; e_fb_httpversion="AcJMUho-wYjxkb0DBKuCF8PKH2p2SdjH0tiUjwefB2vURG2yfM6UMnx9eMmR"; e_fb_binaryversion="AcK4X3e2b4yhOFUyG-kLOyJNI3E520PdMT5Fax8NqC5LnSIPafg5ydRQUcK-TVEG8j5Up2iQgBSnzmJd-brbeH5Cpu4wrD8TM2E"; e_proxy="AcJeOdVqTY7zdvkBwb_Y7t6HkNMxzPCyrTmV68Y071RWNrmNOvOIU2joR8_khhz1IuXRcGRKr7B9k3RJ4D-U", http_request_error; e_fb_configversion="AcJVEGgWX57tCExPvcEAsu9JO6VvmpFvHkP3s-rVk5dF9D2YeZQs1kbpJyWvoQ"; e_clientaddr="AcLU46bYSSV9MdZkm33AP0QEOPl3a8-RlrYdVKbqVtunGNaHcB0lBdkk_VmUWk5WDNyV_C1qSeKngS1qcA"; e_fb_vipport="AcKFV0uRvdcerMCwS2USu9Q2dXQZcDItZQjPfcdLUklecR3xGms0oCM-uYXk"; e_upip="AcJjyBWCQZqgs8J-Zjf6vPCRZOBeyA19PZtPAnixCZok0V_WdQRpV5QDg7BQq52iMsENvwoAswXuv4-1yxwXFFJhLtD4PY7TrQ"; e_fb_requestsequencenumber="AcJCFKEcp4pEDXKnXyzCV-KvFKqdngLbmk3xsxkLbirou3z9AKpIxyPVlg"; e_fb_hostheader="AcJ1cuUnAUjoX3st1g-6qD5eLa-YsFCxcl5sgL7NGEH3c0QbJTtDiWW8l1x9ISeJO_4L1VB59YjrGrZ_"; e_fb_vipaddr="AcIjuXznS8nYDRrYPvYuqNyHy_6uDutSKfBcLH11P2pb5qwtxaA5TghfgjUxzK-HVq2AxcnlTA"; e_fb_requesthandler="AcLoUPlE19Oki2IBgHH4Y1csZXZu9TVNyITMQ4vRrb4wSHQoCqr_OELDlEXvridUw2O2610YIP8"; e_fb_requesttime="AcJwu1EkT2P4dr2O8Z6cr0zUwqJIzYJOcqb4l14o0tz_EluIhfzLnZJg8za-JkPtG7-66QGzzg"; e_fb_builduser="AcIeFdEljDs6BxtXdYvslirkV80PAca78FfXNri241aZNoKCX4iq5ym_yEkJ5suRLHw"; e_fb_httpversion="AcLHTRJPGqIFTJRXB5P3-FDyA_laLxsu5vGYRoMKG6VXpJL2243b_S--hxnQ"; e_fb_binaryversion="AcKy5ixl1S0rbyIFLNBmR4x7bT6Xkvc5QhjzlbOYN9jChk5axgfOdDjo4q4zFFb6589Waxx5TgvuCrTENVvg1j36jO49vAuels0"; e_proxy="AcLTuUd2IhyqTj87_R55hWZ2EOaK9XNumi2Xix1TcdARKh0TvQDlubrjGVpD5BryR9A0pCLMPkWoCEo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5686339698076558"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 22:02:35: Error on send one message facebookId => 5686339698076558 03/14/2024 22:02:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnMj8EezQiWUX34AS2IFbUC" } } 03/14/2024 22:02:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/14/2024 22:02:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/14/2024 22:02:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5686339698076558"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11526479, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJegSJnB9kq3c7529m9HiCj', 'x-fb-trace-id': 'H6piKyhELsJ', 'x-fb-rev': '1012062581', 'x-fb-debug': 'fpBGguC/wc4RCZ73B15ob77fMTc7fHzG6rId/AY012ijTiXXA41T7mBzhRvEMZeC1bUvm+LM+zmirv/KxHvs6A==', date: 'Thu, 14 Mar 2024 22:02:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL3YWFtru8GQF22RU0pb0D7gN2O6bnq6bNUdG1VOLzAmfQxTNviQw8AZaZzwA"; e_clientaddr="AcJd2EaL9lEpE6-zx_j8R94mcjFkl7vU-IrSR2jmXfIx42vF9aaxzbCPavrII_YoFbAq407dfSTEb1glVBdVtDxSfRkXKbPzV_yW8acooR5UPvlw"; e_fb_vipport="AcJafIA3oLTONfDJ4BhyRgsgGWXZ5cmm6fmYuVuzXuQS6yWoJg5Fz6tbfgAM"; e_upip="AcLCdbH1Jo5gC_hrF8wxfq4ZPSI66ApPMbezRnOunE0cGf6P3BavtPheGyjpSrzHVVwdbdNnGqZbGN6w4SxQHiWHOzNC04RqqFg"; e_fb_requestsequencenumber="AcLlD66izxSthgAT36e12dFtqi0pN4uqMWIqpQfK5IEmU3yPcP1voU-6gSq0vA"; e_fb_hostheader="AcIGpICQ2V3nrMUf5t6YGQd5Qf_BicwRt0BYei-mzle5TigY6qpNJT6doI8lE1UncpPF2C5JfzPU5dNt"; e_fb_vipaddr="AcJIqNlUAOZRClKrQ3ZR3xEJxcmzI3Apcti6vwA2ItP1eqlkuMIYYx94lv-dfiPCdg-_p8mw1MnI1IJYXqgYI147-vBHh2c_XQ"; e_fb_requesthandler="AcLWS3AICoIJkpxQXfZEC0ST41bVY5e6NuatWELVT7j4ltZs3xBHUXv1urbLge6-RjN_HiEUwaA"; e_fb_requesttime="AcLsvSzmND3PdJIz5J15-xohyIemXMITT8WGQqgRi2w9J-U2J2l7MSWi02KL9LVS7U-vhvpe5w"; e_fb_builduser="AcL15nTaFHU6h_mqknK8wK0NAZ0-LB32-dS6W1T51dYLYIjLpXyPXQmFLT38-G9PmzE"; e_fb_httpversion="AcJ5iEoB7zb2eepV7q6KT0SAXfJ6TI4FmtKyh5e6u03VXqWEs2iubd3m4-GV"; e_fb_binaryversion="AcLA44t6katTeEdaqvswGvFkCrLNvEvjFh5rrZ_1ix2x12ssQ6BQyS6UipyqWzMz8kRclnkPOS8hgB276YEnmyqGhZnfx29MJvY"; e_proxy="AcJ1CdNuP4mZFuSdKNXwG87xPSbhfHF-RP5YWUGfJ_r0Y3uSnwb_DMHVIM2URdxcMlvEUTIWrmmm1XWABhQ0", http_request_error; e_fb_configversion="AcLijLTe3y4dU3kXxVdwu6iKOAPNTxVVSkxgMcIs1Eyt6Z4CSh8SlfkGFuAt7Q"; e_clientaddr="AcL6VwTAEqiWCwfq59PeVUJdafL3sA5hJLue0iWCgnMKCjecd0F8h3pCkP-Mw0e3MreQvs_91QIaA-5GsA"; e_fb_vipport="AcLQbVnMNkHhpl-rOv7ITqrCpbDSEoUeGuZg_NRC4MZXQyqCOD50peDiwwr4"; e_upip="AcIKrqih1RARg-AYTNWEvUxudz_UIbWKgpHlrqN1Lab6MLBBFXUSR3RzO-QNDj68gwGyEHgHc_S0ifkPrPQTXT9HM8rcZt_aXw"; e_fb_requestsequencenumber="AcIIiEmMapxZaBLBsC1suYmCNtvlsU8Nn_6aA5B9k0i7OttRyEYCHg6-xg"; e_fb_hostheader="AcLCsffiqXQ28uVu1ljmGyMISKh1M46twqtGt8HISrUVFFTTadtJcUN7PG81mbhCG-QMuItmo-1pLxI8"; e_fb_vipaddr="AcKEw8c6uhNmNMtTiRODjJeWOy0Mv0C6PT3jugHKuAqQCloe9JcoMHZY7895L93GCon8lyzz4Q"; e_fb_requesthandler="AcIoOS663a9G0e9mt-VO3dDZCT2PFookXTn9TNR3XsFIKS_Z1126P6HRP947GQlboYCiqf4yHYI"; e_fb_requesttime="AcLlJxKCqpfAXJqA-BL_XTyfA4BQGgQhVuIP-2JjTUFkWxMPcsgZ7pIqNlHD3usWIQHUhASppw"; e_fb_builduser="AcLpaS-4TOCCKBuAH_TaRqX66mpOt11f3SCR40XT6NDdMm_Y6FbM9ddD7e-spxdaS2A"; e_fb_httpversion="AcLjju_3WIrOhnh8qRlY3SQOvu2yr_0K_OzJa3u9aHDw13jaswmsSCAAJxIy"; e_fb_binaryversion="AcJCtDqgcUijiqOD4kbgHXWtrNjXD_OiQo5niSqhSXUAkOq6Tg-iJkJt-GeNMQcrFEjurDmleqY2ZR6vhVUosi-GrRucLQ58v-M"; e_proxy="AcLxThENvvsMQ007Pk3JOHt1kSZMAps78MgZ2JuHdccWgtVpKNaI7xrDGjCQmO-ZwpYNpEvaaNL6YYg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"5686339698076558"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/14/2024 22:04:02: Error on send one message facebookId => 5686339698076558 03/14/2024 22:04:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANCWigjKj73vUmJfCE3cJy2" } } 03/14/2024 22:04:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 22:04:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/14/2024 22:04:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/15/2024 11:25:45: Error on send one message facebookId => 5686339698076558 03/15/2024 11:25:45: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AdbHW_nXFe8zqsnfXfBd8H6" } } 03/15/2024 11:25:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/15/2024 11:25:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/15/2024 11:25:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/15/2024 11:47:21: Request bot not found: { id: '371012979613880' } 03/15/2024 17:08:35: Error switching inputType 03/15/2024 18:28:45: Request bot not found: { id: '215725838493727' } 03/15/2024 18:29:08: Request bot not found: { id: '215725838493727' } 03/15/2024 19:22:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/15/2024 19:22:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/15/2024 19:23:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/15/2024 19:27:23: Request bot not found: { id: '108233141067249' } 03/16/2024 00:00:29: Request bot not found: { id: '133788230054854' } 03/16/2024 01:56:49: Request bot not found: { id: '128159377280665' } 03/16/2024 02:41:28: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7185239678178013?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11819191, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7185239678178013?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7185239678178013?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7185239678178013?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7185239678178013?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADl5iXW1BkCAAHcm0olItDL', 'x-fb-trace-id': 'F0H14fe0qJC', 'x-fb-rev': '1012102537', 'x-fb-debug': 'NvicRrOSVPozYyHjuEFJudZMo0Y80xaTpQ5KgDE1ImG43JXWmPLoEBXsN1LUHgbYwnPbDM29eXUQ6u/IcV3sFA==', date: 'Sat, 16 Mar 2024 02:41:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJRAlVtrpzv-r38QN7WWChmVs_x_NJlA6JjBCS5yhfMfGDbfrjliWPstGkFAg"; e_clientaddr="AcLi-gmw1QbsCTdr6Mc6AM_GnkkJoV3W_J4EvKH_4aU1Ol27PsETBQSMs_Pg8DTbgFZOOeYH3Y6cbdMRS9loBUaGJa_OvTIsuyTYjupyEiyBzWDC"; e_fb_vipport="AcJGEK_aVgqa2EN79c3EfZaC5akz_SXPrsfkwL3F85o2B9hNaIH9upiuSYJO"; e_upip="AcLxwHfVp5eYXk5EuAOsHOR0TokKNSmr5U7gMqvbUj4JmB6wbFNVJcUd3O9IZuBaV4E9uC-KXi7FRw_Jtr0Mh_UNqKQiTV2Y0kc"; e_fb_requestsequencenumber="AcKYCfBzmOm3IQG_DtGb-WXZeqf-rVfX1MwbKHITGP6ROeylOPdnFlgpIzDabw"; e_fb_hostheader="AcJkAi3ZmH8rQPdrSZckLoDMSkAPrsh_ToZ4HZ2Pp1uM7dt8u-t5n2bIpHcOXYP9uDZm-w-3Obwh2zPL"; e_fb_vipaddr="AcKGDY5lGoCDl3n9cgZEZw_Slz7ePDEpguu5oqMuQ_FDefDgi-pheDMxQuNBv_4qvzRhw_32PM0LYRcmn1pW4sZbNY4ADNoNBg"; e_fb_requesthandler="AcJOlpLWrZ5KKKypzSHMJ3DmyUB_vzXRvWvJapZbGCjcq5ZjHhTmv7sq9-iM0bHp82-70-AqcdI"; e_fb_requesttime="AcKWmSLq9FR9SQ3MeFmBIHjkSiNVToK6xwJ8cfbGGyU18XsViaYzGwrmlI0QLBIgZUZKiJaMIw"; e_fb_builduser="AcJ4HUTcNTFk3tHFyNZjdbDndAZSyj5pJeVU2WRBo6l1UxERyEyskSYukGgHr0fcxHI"; e_fb_httpversion="AcJQqtyXmwBXl5AdAAX4HAo0udW2unRZdrp5FQ6cqRU90QikonMeOK7LSJRk"; e_fb_binaryversion="AcLVJKk0P2tFy_bS-5Genbzw3-8GdvFVUgh9t7iUnRYMVevxdbLnpLVubJHlZq2kkYrR6OPT3EdzUfjyV0mmx2PB3XpjfjEHm7U"; e_proxy="AcKSL_tiWpr6aOBPAJX2z_dPh7plOCRiqlqXNvYBz7wyWZTMG-4GPjBMpE053IPzQxGeHhlg0n1gQ_RQ28ck", http_request_error; e_fb_configversion="AcLmFaWgabQEpdFW_pHwRNozlJhJxnpBlu0WiqdwO2gdVdL37u4zaFvSnJD0Dw"; e_clientaddr="AcIVRt9kSSnSstCzIWryd0f1fw2YAMKgYaPsH8N7aguVdauOX5i59abRS4z4gPZ8pYEggU59nbRVzdwCXA"; e_fb_vipport="AcJQdxD8TxNM46NTI_cYf95agFo5s_mKV9gXjOnk-adXV7dumjluGqBIjLIe"; e_upip="AcJ_-9ePgH7OwEy_IKeX4ElbW-tZrOI5i15NXT7_I4v12I-guQhXQtwL2JAZlAqqmHjAe9rtD-fmRCHmREnkl-9arAGyL6r4Jw"; e_fb_requestsequencenumber="AcKJezSYKcmjLU8sIif7W4l7RwLkTGGQwQKbC5swmxE1_eEE5SNPxcsqJw"; e_fb_hostheader="AcIBL9eTO24N7XZKFsgzrS-cxIXiPZ9lfqF6a8Wniwwa9ced_fT_jAPefSd4KLbI7cVkCsLinGJqvF--"; e_fb_vipaddr="AcIejKVnxx3vCOfVxoGKvNUaXBlQXyNQ23EDw6O58Hdxwnt361VxIiqhJgDWdOJtfxtcaCImlA"; e_fb_requesthandler="AcK9ajJxN3bYmbJKLnUrZcQKnL7rG6d80z84q5LoXrPyWxbNMMd72cpQsV2adzAXYG1x702rbOw"; e_fb_requesttime="AcJSAbBEPU86IyWrWxGFnw19ssh3c7k1UzV5ifq-JRtYo4PrGg3n8x-ZxWKfGfabEkRV5rov4w"; e_fb_builduser="AcI_ZHshSzFa2zOWTT3W_cjepo4c2U3dFAs1EvzpwNPATXvkMEaigGorcJ0SQ6G4VZk"; e_fb_httpversion="AcIqu37NNU1-GDhU6J9vczH4IfM9rA_hvhpMvMm1QSM5UyF2jggQG8LPrCT_"; e_fb_binaryversion="AcJaUBeQB2-1wtEHN3k5ghwQ6j9T9BXv9t2u-ui_KVqod9XGnOQiDss45LcDpNL8ns46_khFcKO-U4orTPZ812DfczaEVC1WjiQ"; e_proxy="AcLviHLQvBDsQgPxJAaaN7i_Ww8zK6FhcRVO3I_TkHr7QQpApuTfn9GrEAOPestvQzLFRihTGJZZStc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=291, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7185239678178013?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7185239678178013?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7185239678178013?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/16/2024 02:41:28: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/16/2024 02:41:28: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/16/2024 02:41:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11819309, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqEJnUBlxlWSl_36kc3f9ik', 'x-fb-trace-id': 'GcF+KYcStyF', 'x-fb-rev': '1012102537', 'x-fb-debug': 'KS1L3Nqcsx8ocYfZIs/UyjjneL0VFb1AiBKYUovQKfzSDjHLPjtFZyEgYA6TdJ7dnOPqE4gQAlwwtDZCd7WOjA==', date: 'Sat, 16 Mar 2024 02:41:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIfgpcACJppbpdFIH7wgxIBkoOvSpnsPZOcIOfGFDGiOLmcY-MU315C_LEnVg"; e_clientaddr="AcJk9ZY8p8FoG9xtcQr1tR-L1DkbD34mHDTr0wUt0zME0P1fDgjWOPibNIDuUo-RShxhC6bhMA7f5mDVESu0izxsNBPVToFpV8sd3b6cN_8n17ah"; e_fb_vipport="AcJO5T4WdZvdDuy6Xh32go8E3xLsvUO01A-OVGqwIsFTaCLV3VxrQEG9D1ds"; e_upip="AcK8w6Avq4EZI_VsEq6i02JqZWLoCBtlKzRlHCfXYIYkwL3uBzslHFGEMfvtQNafN9j8jf-lXGPYsP3z0p_Qq8veMpdqqt0"; e_fb_requestsequencenumber="AcIbrZvj8MgLOnc26gg5QpjjClxzqQDmjwfaOv1wTDIcdl3lCu4RdtpvwBHXlA"; e_fb_hostheader="AcKeQc9tKn2jI0P7Q6z0ncJfxd90TctnifV05xJGcIJuJN1hKt9M8tjNwmaClUtzN6I1NfMI-SuBiwzl"; e_fb_vipaddr="AcLtISLQoAtRv1vYC4fBrXL72gqU8OjntIDO2zToX4luuZ0Dtqjj81utFgVDecmHvlHdwMax6hmX-KRiTZsuAnOrh1u0Ugzdmg"; e_fb_requesthandler="AcLOfSDIJ2wQ7O82LTTjR9UNUDsNFmJk4XMX_HGWjvjMjNuFk4Qth_Yyk7eghasyNfWTCWdea50"; e_fb_requesttime="AcJste6KVDkx_BpzLwl0Hqwo3Ux73FUiNjGne8lLYqjU3fBk4HQ_e8uYKflGikS-Tcac-VKtnA"; e_fb_builduser="AcIErYjgohLQUrnIufnzdgX3bbJR91lgtcMOfiUjIfK_TQZO_FG5OXCB-ZvCUBbaHZY"; e_fb_httpversion="AcLPWmz3j1hlfCKfU3wgTjHcFwpyfLMl695vgP_pNuuBqKdLc3Uy8GHbR0-n"; e_fb_binaryversion="AcJJ8EO9_lbg25rSsSOPExiTGeh78Oy18Y_7PEP70llJw4img-FvRy2Aj4Y7dPmufjUwumDAfItUKAttHh1m3x_xD-BIobD0rAY"; e_proxy="AcL_byZOPsceGj63FeNuL-v9rG3ImDJFyXBchj9jJpDiD-lPY1qT44iEmW8JvZVl4tBKOYMy1G8xYEcTyvGG", http_request_error; e_fb_configversion="AcKmAKx3CQrsxIe-T25FQhm-QyccoaYsYWS6oZJgFprzc8jsDTyDo_du9R10Pw"; e_clientaddr="AcIWU--vXpB8qOWdoUXBci1KQGyeScjSDlSIcK9kL9_4n_UOpyoQ9yRraTEGVTKQpRgWW4MpfE27cY5S1w"; e_fb_vipport="AcL9_0wc-FgRN_2Sb-rA2cd4_ChWpImlWNi9fhuoRYHVTF9J3TzPVkXMbmjv"; e_upip="AcKFRlqHP7mAj-WUJUDA0MVVFCRHPu-qSVM3a-m41xNd5l3fXfiptBLy1GXtF87GNVPKU-V3jmMVWXMV20W2wrf2_UOisWMrAA"; e_fb_requestsequencenumber="AcLcC3skXToAfwRpxvxXybCYsfiSQ-BpMPXZnd9wGVyUl-oU-f6p_tkPOw"; e_fb_hostheader="AcJLQc8Hgzzzr9DAy4F-Pfzp0u2deU2OOuc-Yh2XfwvlGHCCys_L_BuY-4wjh3QJwQC5Jb8NTLhySEdn"; e_fb_vipaddr="AcItaSrmJn7Usu4wI2HVcGAyXe8Ao6B40Cyl3-GU5I_sGjTdK2mXf89R15u1BrWpkDJsTL37mw"; e_fb_requesthandler="AcLz5mo0Qf8m061-E_wNZnKcnFqlAM9R-fs20VtmplhgbuRG-hAUL22mUacdGGm51xPXqoP-s8o"; e_fb_requesttime="AcK4lyGmpAf6cLkMfzMZDZOVyws2XtwHyieXs_05-WSm4c6RQEGPxSmV_ahNBFIyyGvYz4keLw"; e_fb_builduser="AcJ-zgn3YbO7ufz7nRLWjG-2yAiUjxbU8XCwRtWBlaYjSN-k4JNaLc6TSoUnbcIGewo"; e_fb_httpversion="AcJyP02Br7ki_isEzLckYM3fNmWRFps9tP5Y-9rlo3F38cgNZU0NPZ0oHyYL"; e_fb_binaryversion="AcITYGM78O5uU7s8xOGhvViWjfX1gGKAQFRaLLXOO41rwudwvvL37fUh3rOUUcqQCw9jOcN0RJeUPl714-qvgzsNoYkdUcR7uEA"; e_proxy="AcLQXLA7JP-9nsD7Q5u5p0jY5vHUcD2HnGNrqyPWg5xIGCxFBueeTPthqWy5jWYo1gTkwcQw6LDzhVw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=183, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/16/2024 02:41:29: Error switching inputType 03/16/2024 02:41:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11819453, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Azl0Ib3wgfDAYmVQ40VDGTw', 'x-fb-trace-id': 'B0fOqtmBp/0', 'x-fb-rev': '1012102537', 'x-fb-debug': 'tJeOjR8LuIGtZjOardlIFDT+53gKevVD7Vvpx0Gpd8e/Gqmum6yakWsOGK8WS8YevATf1l9d8bd+5zjOtZfGOQ==', date: 'Sat, 16 Mar 2024 02:41:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJQ2VQzKDcL3i2zaP7vg3WOtaIsnHEVuzG1MURI9kYLir5rPbAhEkCWQHlPeg"; e_clientaddr="AcKlKNVcQSZeY8E8KYm5VY1O4L9O_fVAzbY7ree5qGdajGzErtZx_ndMWeYEqjs8k0qRqMMMuAVmRvWTPDsqSQNdp0gQz6MNKG3ZBeyYWSz9EIIfsg"; e_fb_vipport="AcKG-tHjRGndglXaqXa0zDp3pnm_t5YNOsQJcZ8Gf-bwg4g0SZ9pDnYVP5Rc"; e_upip="AcIpImXxAM6b39hUoE9byrA7pFXHI3FmGV_V6WXc4t5qbZ8Er0apj2IAJ9RWKYTu9hPxFF7RBXm3FBC29SMiynpjuxIKcrzhqA"; e_fb_requestsequencenumber="AcJQzdBH_zlJ7mRPKwFhgZkoZE_CmN7771EGaoECGGaLLDU6O8PHtQwKm_pEzA"; e_fb_hostheader="AcIJrC7fOaXVpudTWL4LCRH9DFsSMh5TaXWQKAQykkjI4b4Gokuk8ibF9N4qQNtRkUWSlanFzzfExQd8"; e_fb_vipaddr="AcLIk2sowJjqf5tFpgeB77Iw_bv8ioS4zaYw_5sdWztagQBDSxxuQDnLGQS_yPxdsiZl04ZFNaIQt-31ldsoEm4WVcfwW1edMw"; e_fb_requesthandler="AcJDy_xxwQ_Ti_Hw_eqM5tkFmc0CX--dEufVg_IDLauV9L7fa5k3gjifpsB3dU_CvIGkD5IRe38"; e_fb_requesttime="AcJL33jgSgKBCcq03Q-N5uudtwY9_zl4zYf8IpW8UyI5KRXQoWkAbjl4UfZ0oAjWK5J1fU7ssg"; e_fb_builduser="AcKIIwCcSdDLYcImRHYARKpsYo8dRseoLtwVk38VV8byYxgpiTSWUmG_iQl5pWyTXnc"; e_fb_httpversion="AcIJXXV5k7mI2LfMFH9N1hGsiL0N7sYCSZVN-1VDL2NPwdT_bfzPrh8KMFut"; e_fb_binaryversion="AcIAH5Fw_YIZh6x55v5wpW9r3yc8oz_LNLENamhyrKACeVTE-8FDMxJ8CmjAz_AqpiaTsTbsq4UiXx3WKiSiM_Ifdrs5PoJQ49o"; e_proxy="AcKxFfR1WYG0VZDAcBpFytLc0JtycqSUTZLfWJufC3Nlwb9jI9zO14AUdwevrmmSLb2qZdKRG923SsnHpjE", http_request_error; e_fb_configversion="AcIQoHnOzZnrnYUA8u0gb5XQ2twg6Uz4LhW2TfqC8iR6lQBs8nLQEOGurJH-Bg"; e_clientaddr="AcJk2Q3hsPo5uZcvI-28fEiugKrybDJ8Gbo7VrRXXF04cBpxLFcCsWGm8Fd5Kbt2-XARzDAxH_ZM5bfckw"; e_fb_vipport="AcI7rcRG1cdTOKJtvbfjIl9w-viIEK4OKfS5rar-nYgoVfbBprnUXQtBre7l"; e_upip="AcL80dyVxgFwsEMGEddq-oqzN9wpWZnfLBWzUrG1zMXW2cCakhYz1kPtjR3tavSV88KNZ0K3FTJSAQN_Xi3jqNxXX44dgkBX4g"; e_fb_requestsequencenumber="AcJ1UAHAqeyCcPL6pmeWwxpkimzpJ0u2S3Q28r5k1i4X1v7yI8BqYfyOsA"; e_fb_hostheader="AcJX-DT3Gjy8NShX99kRHffy5oMDv6jEodkHZssAt79UgIL4XBuiuN5LlZkCAmRYUr7S5rXRGTr36rfz"; e_fb_vipaddr="AcKF0sloBbE4_wBsf7dTkzcUDeqJjK86CJKCQXsfyq03Pvcc3GAOUt2AqbpSOoRb2s8cn0QaQA"; e_fb_requesthandler="AcI2fdSppCM2z7OSf0qMG4PAsticL4WfEsZ_AMFAG-a_7xiYg1-Y62RkFxwBHaUvr-RFe0WUYyo"; e_fb_requesttime="AcJWMYjyvoSd8ez8m5it2UyCceOgK8In0iRKHIomrXR9GLo_EMBUnIS5loPs2vN1GXR9TMhY2Q"; e_fb_builduser="AcIwMyBtFvP__5A1QvYKlrpbqrO50ypeNFkyA03bpDU1Zmm_mLU-WKGKOxjnXfES3ps"; e_fb_httpversion="AcLhtopXkVDmBnBZXtPNYkJf-LAq5dCttqzhej6yixg_hAFS5siM-u0oU6Ev"; e_fb_binaryversion="AcKHaW_9lsArc5A-oCTMfw4YVsIMLRlu9uWvyFHAptAFqlcUA5bGCFbNKCLjKmhA8hqsjxl07Ccr1czasybLG95SY1o2G1EpJrM"; e_proxy="AcL_yikmwqVrGX4IGgtqvNUFIt50nTPtWYse4tWGEfkK6mPXW0L1bk-nVj4MYCCbiHTcyDbAUBFKe0g"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/16/2024 02:41:29: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A11m7ZFsEeV4UAkenLGZLzv" } } 03/16/2024 02:41:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/16/2024 02:41:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11819592, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQzJNRx_Y_SVUoteFH85Oqy', 'x-fb-trace-id': 'AsrGVI20Dgs', 'x-fb-rev': '1012102537', 'x-fb-debug': 'MvCdDy6yKbWpBVgdV4fFP+iA+92Vcouij8bxiIQkLdxdhnmRd44CZsfrM/C2BEtK+S5gW3XdSZd/6z0sOrOeiQ==', date: 'Sat, 16 Mar 2024 02:41:35 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ1P0Eopq4ygIZwJBMWrmDmw3oKv7_w8JU2z-_bprzuVHPQC76t647vWELpUA"; e_clientaddr="AcJo3bfQRnIKX_wxjkWz4ezNUjXkFUZhqwc3x2EQn9VbRheJzX0Inrm5pZDtCIw7A3XQs9ygcGESUkQHuhtIElQL9ogmFGHkzNo_ePMU7vMqQJHdDw"; e_fb_vipport="AcIz8yDs_BgwTOcCLt73yJa7Q4PSRB-D2Kl9cLXMP2jAqnE3K1m220fsxaRB"; e_upip="AcLaZqWPEF8Dwl11pP5qCMI6A_xLWwaRgDPG6D3eJcJuUQFyWrBkqfy9JNZFu_5jtfaCwaPAwiKrhGPUeKJxKBEGAnt8PMT5bQ"; e_fb_requestsequencenumber="AcLaq4qFK_RyyMFZ7OXHnSZUpYpg-adUFBuwk6Hn9zveBF1raH57NhOmCN-l"; e_fb_hostheader="AcIvqr_rSqojdHGWiN4EDchC9-kCYmN3idttEx1JVCwBWoCEL7_ZaFp5o90_fOGeey6ac7l5bmtIg_0c"; e_fb_vipaddr="AcJ9zWJ6LWZc2xXAz7j8MV6P9UKN7yud33-DcR71VOuvavxSHTN07zXkm73VNZDu-yPCwwHYrBJmN2MlsynRCGKrFDaP6USfbg"; e_fb_requesthandler="AcIiX66WJK1ZdvR_jHfNmMdJ4CKMrg4RzFKm2twGo-kiAUeZyejB--10uw-MqX3O1i8wSqk_GtQ"; e_fb_requesttime="AcKn4Uie5W3b3pfWclrXc8qLrouAMIcX7XDERFZpS2GjgjEov85tC3wcUfLkOTYDndZRv_z8xQ"; e_fb_builduser="AcKdObdUOwzFNnuF3FMeSsuZlk3e9iIkzRw_uADstkRoc4VK3jkkeFeMVVTGUkhbbYY"; e_fb_httpversion="AcKYBpf5bKc1zatSuI7MVWg1xfCwk3eL9umEQeevRhLqZrzXukPaionihKt7"; e_fb_binaryversion="AcJd6vzZdejyeBFnPOvwLl-l4TYSQSSvHkVp39RnD7s82HqRa7AI0m1v4JyR82wEqvYpTTt11a6NOf3BU8JMfoxor9vbgV4nytg"; e_proxy="AcKTpPgkWvbRUvNsiGveAVnl3Tf2HXJGSkim0XfillMxnpQDxivAISQs5MCXk_tPLfypmJmtOiatFk2ZDKNa", http_request_error; e_fb_configversion="AcJQWv7Fm3CMFm25x1LFWUyYgqeaj2jCptRTa01pXKKAfpPTrR2EeoyxPdmBww"; e_clientaddr="AcLHmolnK05uZVQbv4_TlpoKeQgT9v0jcNTc_geYXRryfxeHrxr_X5yW5YPK1gloM3Di3KpEJqXl0BwUOA"; e_fb_vipport="AcLw4U_c3lh6fO6RHWoQ3EXpvHfSYa0rqouP6Zu3hIoohk5p-i-mgYH3qf08"; e_upip="AcJrHHcEz4dCSayCSVn_44eTgCR4YcDn7yDI3X-2IkrgsZTWigJnzUvUPV6l0FFcbvHLRY9oYNyIUrEFiN4bZU6v9h65nulz-w"; e_fb_requestsequencenumber="AcIcDrEXKOMwNYEUJhYkPysdNDRl8SQ63riutkoz6NejbD9t-JAxDwtWxg"; e_fb_hostheader="AcLi12x49GZJGEkr-nj0uEPUKMtthOsQb8cdRGyjyqRqebV2g31D1zpwGBU5BWrRL2k2gDj4UJKMuVBx"; e_fb_vipaddr="AcJdKBurrXCGfAYW5QmLvC72v5uZqjGj1LFF744eSWmLNpNYQLmv7bt14bSYpCb1wFv39hNfNA"; e_fb_requesthandler="AcLmqoz78L_ZLTBur8mw0_Da_HM9hCgfdAxb4sb7_LNuqRpV2bvRH62F3XKrhdYwWibe-UkqyY8"; e_fb_requesttime="AcIEobuC89Mx6v7V5hv88MVMXbViYD79pWTDq-STOXR9VN7EowTzQoRGQouTUmpUZoYsKMARsg"; e_fb_builduser="AcJcAQAf7Mcr2Cl8T_UFz0XnyI5wJkAMF8vL6gLS9qbxy-serYqsc0spdBBz5Ycp1QI"; e_fb_httpversion="AcJDpdKFRVVePPeIUkOX8BZyHeL2eNDPO0pW2juN2xJjygIzUk9mC-At_TsM"; e_fb_binaryversion="AcJXDuh17nAQU2BSM4aF-NO7dvUlDIqlAywIn40Mlt9sOnWpfZC2uZ_p8eY83wsFB9RKBZHRmRH9ii-8JAPbuXOb5JhRLPGvq0A"; e_proxy="AcIATTNaDzUwpUHqyvTrDggfeIRF1HjlDLVXZKNjjf5L32b_J34qTR6zotRkQ_fWKLTEmMn2s4AEBp0"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=184, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/16/2024 02:41:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:30: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfepRJKMcnAlm5yhAmVAGp4" } } 03/16/2024 02:41:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:30: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "An_-2VGsMPBZtKVOf7p7n_E" } } 03/16/2024 02:41:31: Error on controller verify_blocked TypeError: Cannot read properties of undefined (reading 'c') at verifyBlocked (/home/ubuntu/api-facebook/controllers/facebook/verify_blocked.js:8:54) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:30:49) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/16/2024 02:41:33: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApJkAmNR33jwXSbr9AgT5xU" } } 03/16/2024 02:41:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11820021, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ay7mNX2Qv_WyEAS4ilCL22a', 'x-fb-trace-id': 'AeMA7xjqDCL', 'x-fb-rev': '1012102537', 'x-fb-debug': '+G786N5nbOZGp0KBMYliW2V4FLBDNfVv7GfG067wh0XTH51C5lvAMzTc/KwVQ/y/DBQCV6a/aaod1467SkUoAA==', date: 'Sat, 16 Mar 2024 02:41:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK5aFJXsCQIyllFiDfIWXv1ycEc_zaa6CNmC3n1D2JnQyeKX137y_xZ7clYTQ"; e_clientaddr="AcLkPBXdmAmjjVv8-0PtpnVmw6R3CkCtJwFP3sNnRIHxKjWrN-Hi-IxIU6y4md3T4xmnBdbAicGwLyxy2RyW4RXD3Gh11_XUkIIe5hqM3Ag-H3DV7w"; e_fb_vipport="AcIAISYy8S4QexbmBNTtYzfQnsZd6zGBD59chh53lYPKP7ehfNtk4-R9KQ7m"; e_upip="AcJZJi0HGK_kSpZS2kFUszMOaXQC4_ZZ2khxAH9NaPeSgnu9k25JL47GV4-b8qQKxHtOV22iSt9qua2BBJMxJeQqqbaPFOkXAQ"; e_fb_requestsequencenumber="AcJ6MxucZW-JYbSuJb7IZJFIM3YZSBJiaPhFGO7NyysFz5nYfwCGbKgaHxf7Mg"; e_fb_hostheader="AcKr-g73knEDAG-JHisYtvvUFnwmIJ3pdN3G--h_-BYhApXZ1IouwExR0bC7bb-lD4_Bd-UjzNtLWHwG"; e_fb_vipaddr="AcL6sLIjJ8KXdXPXf_3X0fJjHbJerCqWyI9sXIvdgoFpwDBT2n_uUoEe71IcW0b5IYt2INQHQTLUkDKjCpAgpcvfDR1uge3AKg"; e_fb_requesthandler="AcJnxc4Zr5VDQhBtwjIMgNkJhDrLT_M-xwgj7DpgZ7hWBSQzu8id8owA93qXoxEzsjp_gflhwvw"; e_fb_requesttime="AcIzac-LHk6bIjogW6Z9IQm2XOn9d35erCh0-oRI3ETWhYHBes7jtCF6zw8eqKznPZyP-acSTA"; e_fb_builduser="AcI6upZ5ZgcTT2MG9U3Z2vyeeCZ1zh-SjabYh6spHRyFjJJ4y42dCOh9T8IUpwGipRo"; e_fb_httpversion="AcIuHkJRl10yJRjwneJhrjTZ-5KCEDQmG3kHPUsuHU5WwsNXgPplKEo8t1ir"; e_fb_binaryversion="AcIXWDZruHMDpcsWGg7P0AoWi9if7_212uGo_teSI7FiO8-pCSMNtdjtBSkm9HjJvW-6CdveeeMh0m3IOIZrNptimaeFiAWSE5k"; e_proxy="AcKoDvXjO5Plk6Eb-abGiCBoR_GR1haJNOsmXBkmXbwGvdkiK9bMeHGpoXHS0fZtFj-RNBBtfveddpR9iM_u", http_request_error; e_fb_configversion="AcJTdyLEja_YassvsYEmhFgexdM34O5mGe4eLS-HQcx1IcB1aDvBTGgFDIir4Q"; e_clientaddr="AcLzcgnnygMYf8AvclqncgT48koH2gzN8pjrEf61wZqXiAmycaT5vEnEI34-OyzygFZNngvyjNYZeXvaWw"; e_fb_vipport="AcJTumuUGOCt8lixRnbMlbhjWC0XgxHUwdh_PiG5Y9jQH8AVsL8bzBZPrrbs"; e_upip="AcIPaYIxE-SmvvRDZs2JMl9zZWx8whIUvRqRtcPBXJsKpFOoE_Iw4qspq7cfyP9nho6ka1cq6-As438Uh5XPMfp20ghIjNcamQ"; e_fb_requestsequencenumber="AcK19M6ZsO3LF0LIqGfNs4OXhi5qD0TRTzQYBZADSccsis-SxP9WviOIJw"; e_fb_hostheader="AcI4pjkF7MbuJEQ5eLTqxnI0hljE7mfYPdGkaQPQruAchgXIkclAqJPP6X8rykoPLJmznc9SUg-C_ulP"; e_fb_vipaddr="AcJDH5prKV6nkMtAgZJ7iKOBslNOCicJxrxcWFjvILa-prLdUu_M9AHnAKb_bGHGtf_nBb1d_Q"; e_fb_requesthandler="AcJ5gFwb_DFjdz1owehb_Hok8aNHcoOqd_k-AgDkOS9TGqDZ0uMlY7g43MvMqKiTidQFina5zGA"; e_fb_requesttime="AcI7jmfbwwzeMDA21n8mk0fWyi3YiE_MjS4grUvOZv6Z_kvnj9ImM6nx3VbbwadIlgkYyaSZMw"; e_fb_builduser="AcLiHGzJh4rUmk9RULlpGhcR0Uw2jU4V7WKtVHfqJ0bgQVVQ1zSe6_2Lz8nl_ZyPRWA"; e_fb_httpversion="AcLcot31jb1OD2aZdKaCR6KoAj43nAiAFHhajMDa5V7-yyNX0ToI3BlkfJKE"; e_fb_binaryversion="AcIQukJNqWelkK0FbYLV_BPDJD2uM3LE6lXJ43dsvgyG8Tj0lzX67nqdMm3whztwl-9f1TgCrw3qZJEd8W27PNUF_Wa14WQr0_s"; e_proxy="AcK6pAYFGyEttdF8a-_zmKB0piYbzV0ZHfHZ17jYXSUIi5Gr4NYdJEPgHvGeVpsc2GfwIUjL8_AaNtc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=187, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/16/2024 02:41:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/16/2024 02:41:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11820160, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-azF1lXrFHunnO10bbI_Qd', 'x-fb-trace-id': 'EXExZwxGPOE', 'x-fb-rev': '1012102537', 'x-fb-debug': 'q/EWQwMLmmJ0Z8gZyx3RkfYtrDEJaH+Gcvpv7nFy9OyrVdg49UHnplABK8FxMCKN1ZtKYFdQNoSZUcYDeURjKA==', date: 'Sat, 16 Mar 2024 02:41:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ6ZBsAitf1IowMKVXvOLhVITQHxQy79EiE1q79R10sdkgJcbRm5BEVSpiGmA"; e_clientaddr="AcJBOd9nVH6xNDl1emp9yGhqx1d7rJv3254C0p_mx4u1NDW2el8IU4H25uvWKd18k16dykOIZTx_NhHj6nzYLB5FJddHLdkFo6d5WJBwSjNAaigp"; e_fb_vipport="AcJlDUW1JgIVsbemAGxs8sjh-4kdDLud8xv-1MJXhdhnZrGQqtCHza1D3HDQ"; e_upip="AcKzEjM976pALjd2qkJBxdmJEWPA5eInyBx_i1lmMd79XkyZW3QZ_iqbtPqIGsOKneRiRMm6sJmB0V72zb9h19q0rCM7xSavPg"; e_fb_requestsequencenumber="AcLhZUeOhpvjYLxO9Xi6KSwEocGxvo6hVv5cFnyq9IQr5imqhF9Kf6g1nf5hpQ"; e_fb_hostheader="AcI518zg0BHaclvsPrd2qt-XxQF49K8P5WF7vbFTNA4o9ZwhBUl8vH1l9-jAdj1RG0TtNskca4hVoybo"; e_fb_vipaddr="AcKR-X40ZcIftZFFOmNyoyIbuxG-tGAJPA450s_Yqv5UUBeStHR0EbZhfgJP5dQ8RtwtiUlrF0i5O170xK0h4kMXWDagxf3bLg"; e_fb_requesthandler="AcKaRXoSSMkUPWACNWrYFIfUyRTeQm0TTukAm2lfeIgz1znHzK9S7yNFVpH0cbeVZ3PruHLzSWA"; e_fb_requesttime="AcLkQ0ypwUQ2ruz91AMqHGhUTq38wY0A0RQovJxSY7M4remGW4kMZjdzOSluIig_4d08ailRGA"; e_fb_builduser="AcKrWA5AIDtcXUb4zrnzcuAAZ9jtzeWT79HHSl1b0mUvhah5i3SnQWQCP3VmD_lnBKo"; e_fb_httpversion="AcJitQ6UG6E5gFGDWRiTnJh06k1H0J8OLBhkJIOv_koBE--VTwPQMTBmaUSA"; e_fb_binaryversion="AcLAG7fqv2Ds81J9lQ54dgJXjhp6o8svaNe8kq5DO6AlFnM07Tz7_TRu4GG2C3sbiJDfUTDJFcmOSlHnB82BwJDiFQsfudMk2D0"; e_proxy="AcJI7fJuR8okiNStRw6gb9-7h6vs6NqET988cm2ERvUS4YGjveElpnVdShIk501DtvVxbbqmSS7z1a-mnB5j", http_request_error; e_fb_configversion="AcIfNvD5G7hLO4s8Z-vIb84H9nZxchboPdJcxVxyxrxJOowU_Pj27E2IZ6LusA"; e_clientaddr="AcI_x6BprqIDXQJL0Did2nUVZCgntgW-8VJDHizD5GF2m_OHXPaYpbgslHD1dtV5Wg4A9-w-Cf6XxJiWSQ"; e_fb_vipport="AcJWTM5pjgNF1S3Nwiky8PeSFXGqoXRfFFNjHrH4heXw0ZhupaKafXR96q3y"; e_upip="AcIzNU99AVz-Eom97lrz9Tvv8Hjs6V5v4QZr8qmBLJZEXpDeJoXQXvLooDrLXxgGSkrsf07c_S5mV6Cp5JB_T8Y_cMGPWGBkxg"; e_fb_requestsequencenumber="AcJpTe-ZRiHyMv_tRNY70oGIXQs-t0qoPWHXR-jAY231mTkxbfed8VVfuw"; e_fb_hostheader="AcK62SVrDRmsj8Efin_EnHC_Tw1C2ZIVLZqKXq7WmGHrnY6KLDW2g3OnCxBYy85qbYjQ5bkEI2QXVMX-"; e_fb_vipaddr="AcJ1UcEmOPeJsvl9Zy_LVcvsUKvF7_lujaSqgVqm6R2npyK_R44Jkr_yddiAafHKRDT1bs59mQ"; e_fb_requesthandler="AcI3V4jcwyhvUEAq1mQQKMizRCr1Jeh9hIa9iN6lBUaMoI1-eZTyJgeMgjLYMVKpzZ6O5z5721k"; e_fb_requesttime="AcJofMzLIraaIYfvpeOtNvlmBVZGt8Ft_gK5yzFATRWFkefo-NhiWaafh_Z6mRke20rK4UQppw"; e_fb_builduser="AcJ8kqOy05tQuvZTfu-sqk9o4YPp-1AjGhlLGb2em_yThr-KBHJEbi-gFgTWuNBhPNI"; e_fb_httpversion="AcKKRYPHIbTL0bV61DbMFpNahv0NnsP7Rp6nFUyrLmCvnrtuOUd1H6I-CTw2"; e_fb_binaryversion="AcLaTbU30e03_4_6ds1vSrJzHnwqXRBif9C_MnIxEJrRdysGpn734NkUeK8GUv-Q3lcFv348N4CaGrHmib7MuujCZl6fQVGaUxY"; e_proxy="AcJUOWhufBV3Z6PjpVkwx0yYHIOc7hFKVT3OQ-AyYaDopmIDJXqLcJGFdGKHadXwhpVBEPPonnrQPVI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7185239678178013"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/16/2024 02:41:41: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJKhqB23y3fSZKvz2nocMOv" } } 03/16/2024 02:41:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:43: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A7KOOEjmk46a0sv5AuIQUT-" } } 03/16/2024 02:41:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:43: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A5f1-w8NCItO8QRsWKW9peZ" } } 03/16/2024 02:41:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:50: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AMXd71JyZv5JIZ7UIX9c1it" } } 03/16/2024 02:41:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:54: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AjDCejU-gzBcZl0G5dQ1FPu" } } 03/16/2024 02:41:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:55: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:55: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AqHp-YOr0CvkX0jKNO7S0wN" } } 03/16/2024 02:41:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 02:41:56: Error on send one message facebookId => 7185239678178013 03/16/2024 02:41:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AXvv1gu54nubG8kO9HMOpab" } } 03/16/2024 02:41:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/16/2024 02:41:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/16/2024 11:58:38: Request bot not found: { id: '1852395741674621' } 03/16/2024 15:00:14: Request bot not found: { id: '128159377280665' } 03/16/2024 15:17:02: Request bot not found: { id: '425997890871688' } 03/17/2024 03:10:59: Request bot not found: { id: '371012979613880' } 03/17/2024 13:37:36: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7743914209004291?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12172220, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7743914209004291?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7743914209004291?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7743914209004291?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7743914209004291?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEeXU2v5DAo1ib4PYTiRSPl', 'x-fb-trace-id': 'DRorKpI4TkP', 'x-fb-rev': '1012112384', 'x-fb-debug': 'GDsZusybugYPPqyiL6xjokqNVa18NQAVGU6i4slNV0oDut+2foS1/DZsFv9FVYAPgLg18enZs6eUd5Ldwl6jKQ==', date: 'Sun, 17 Mar 2024 13:37:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKXupynW5At05CzF0Z-R-KkGpjfpD9VH0mgZv5ZqYTBuSr6nOnrdNBnszCaCA"; e_clientaddr="AcKAY_vJHUqm0gtVQIhKAv8ydXECKX6CpEbPib9wIppYJPxGhxGUuhEGgnT0YVpcmtnGTFGw-aEtUSSM2fKs3CxsNyP2F9Kw5EqaiVgmkauGe7GOdA"; e_fb_vipport="AcJCe5-Zvz4bnzxwGS_A_lO_FIMX6qGkMxRwjs23AnsyBIiRbKFDnXyPB5Ik"; e_upip="AcI3H4hCH8pTOEffLvZOe7Vs-pf1OAMygtz0JRq345_UjsK7EZZS19YkYed2uwV-1xh3BrE8Wyxqv1vF9nw4PMC3GPS_VMk"; e_fb_requestsequencenumber="AcJTXVtsVg_ikntmq82-aEvpQAep5_EyvAAhpM2Uqdt2xTQUW37u_iJmPwiAIw"; e_fb_hostheader="AcLEOZayCG0U3p59Qz9ffTVkib703nflUDBzdGzMywmIEt40KJ0rauGMju50LvsXq9qtNWjsLxMGaS2V"; e_fb_vipaddr="AcK6tr7KeOs3CqEGWTjMIcp2U2AukIYrG0WqkKDGoCLTht_DgCZNns8THwJ8f4iyuui4mxBDdWeTWw6EF-_imClNq2Cu5110tA"; e_fb_requesthandler="AcL4tj1n1IRCj7rc3s5BAFhzo75KQWYW35b3bX_FdvBIk4tcnMq8f871ktxlISjb9t1jCevTWVw"; e_fb_requesttime="AcLipV-vqeIQ9mmSNTgSOejFem6m4mbPPTfqbKsJmI9tDeYDPrrzIN75P8Vxl1Vn0O1Fv6nHNQ"; e_fb_builduser="AcK4FHbdZm0OFTka7SbbLnXClDVtdQYWFIjDMY75wKWFYZipOSdj8Q4XXifzJ0kiIJY"; e_fb_httpversion="AcL4KiNEeh-Ub7hiku0NRVJrAiXf7ZhjPGD_v5NdwSYt_o7BQX7vmCctzLaI"; e_fb_binaryversion="AcKeN5ToJTTGhJdLghcShQ1H5d0f8lmLlBWR1IVUQFthcyzdozPvoJDShfM2TIEi8FEcaRTPRNAEQU2cqDlLUUDz937KPc4J44w"; e_proxy="AcIHKo0wvcJclyGrXlXnTq7m3WJXoA1MX_-udKh-OIN8aBRZWY39daKFJRSJ8oDaD2AL7_XPiqr1ypUr9QY", http_request_error; e_fb_configversion="AcICpCVvNeSM4fyJw2gphGjA76BtKBhklJmrnecTRUCo9_oWcyBQC0-edKsgrg"; e_clientaddr="AcIgDUmhfIAv2XRyzBUjTW5zwoqbhjCB8hdbAEgH0KFhBh23QQe_fGqCUKg6WGv8W0S1zibMANPetyD3xg"; e_fb_vipport="AcJK5U7HeJvQ2EriPXgSEQbgdJfShrw_o8sPD5hqrUTc2ti82-llPgLYtfFf"; e_upip="AcK9mXgDnwDC8mP62Qo15qi6i9llE8c5fx54XmM3BBpmSvzYdXrBB0oXzeFgurGKH6XrY4NFVviZNNf20c2If8pH0bsdQgo_0g"; e_fb_requestsequencenumber="AcJ6B3YOPiU09StLnkU8Ms1cxiFdO98bRm8JpzPaslOGZ4JNPX2DVkSxjg"; e_fb_hostheader="AcJpaQMZkK5_t7WNlVSmc4fDhN2paIf9myxnOXVAhkW2ft9wg7nGjKThzXwS5haWREotulONtcoV2Yst"; e_fb_vipaddr="AcJFF91fSYoAFshcaBpd0atBCgHhnmalakEc4Sa3svOi5qbIixl42p0P7tSjFMKRPdyojY80xg"; e_fb_requesthandler="AcIyIp3N1RBuNI17mvqG94RAPKFM9ZsWKymXiFbcRpCStVwpYEdRNtY2KXzKtjOXL1OYUbJW2g4"; e_fb_requesttime="AcIsLU-ijTU_i8salxWUhqWeMJP6zc3X9fl29XrqhCtr52mNOhOTn728qT3RzCYt8GDekcGwtg"; e_fb_builduser="AcJNjmf5P5JlZuHgeqaGTcl_N6bjPG7o__jR-SdisnLEQkV2lS6IxDxpV1G0hQXVmSc"; e_fb_httpversion="AcL_SAjAK63ckmzJpHmo6lAoFwGvM-NHQ-A7Bo5vzAyZiwPQCYl9tH3m2bIz"; e_fb_binaryversion="AcIRThJtxZqyQci1T7kTD6LItKDJr9i8vy8SQSZsDvG6DK94sJzF4G7_2YBlXoZLIYyCpd_nj0nItv9e9p3VEP2d7y4wsZEQ_-Y"; e_proxy="AcI7G7mj9jOY3ML65NZM8hMVZfNKr4HS5BUgMtBYdj2NcPFQtKVTrYtgtusUenkR9I1S79Lu-GGd6hA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3401, tp=-1, tpl=-1, uplat=236, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7743914209004291?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7743914209004291?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7743914209004291?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/17/2024 13:37:36: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/17/2024 13:37:36: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/17/2024 13:37:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7743914209004291"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12172338, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_SlN9KOYPWWIj5I_wAPHuR', 'x-fb-trace-id': 'HcKhs5u8WLI', 'x-fb-rev': '1012112384', 'x-fb-debug': 'IyvQIs89R1rV/MdsYnOI33XcjU9jxvEXgnZDzks14B8t4zGkfziGzpAcTNwHSIOoDzUkySWi7EZYxFMm6nifrQ==', date: 'Sun, 17 Mar 2024 13:37:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLCET5LNKcZRauUsEOKmdRfPmL0FANINIJXL6cJZPC7VF3pmyXXuuZmiSwKaQ"; e_clientaddr="AcJcztPe3dlO_bkumE3cfYrpUaXVzxSEjhLE4FRdv0FWC9Ro0Krmpt9b4gH-pTRZk8G8S9Dh2RwhXTnV-IUrRtJhywCGck6Kc9QzTyismQ9SIucmQg"; e_fb_vipport="AcL696nVlsyF5MSZxgSMCTESWb33kFQOjgfjOdbdq-2pxZy5Jju1IbdIUUFU"; e_upip="AcJWjb4077k5ALd1DPaJV9hMD3lzaDjORcYZMjm5_R_5mu5EvUUguuK5o-BgxK54CoKiS3yTQk07Zyh48Ll287w2R3qg6Sx83rY"; e_fb_requestsequencenumber="AcKrSUwCK1KFLD8aORgzgpT2BWjoDxeULZjG5FWtvuqkb1RM55A9zgQaiVTDXA"; e_fb_hostheader="AcIzyULSR_LpIIxkYLBoeZjod6mKOt-N0lxckjRbKgsg_U8BTcu9fs_6KDGcwAtU8Kg264FvjqLA0904"; e_fb_vipaddr="AcLrPu8kpk-M8_jI045mg-E6LW8lKFcgrgtc63-nCmgvjmGKSrcB9LBnTlLjyqMam2_4E1GqkxH8tUg3fg1ob0lVoh9tckPRPQ"; e_fb_requesthandler="AcIPZpsN86sj_W8JnSwZwA3hGK3ClElGV8i2G-ysLZBYYsag3y0CgZXc9PGPvGAkgLPA4wVQgyc"; e_fb_requesttime="AcKCRl1KhIU-INWCtj6v2JJtagtRR8ItO3a4Rp9P967dfuAh52b4KGmXmy7Xoyee5_rqt_0i6w"; e_fb_builduser="AcL_FbaftXHHb2uw2HlWgKG2Hoo7W_BV0jeSS_CA27_vTituZ3vumIp73_pHeDnxR5I"; e_fb_httpversion="AcLIGA-2rat3CGp5d2NX5zkTo_leykaQtPuYMnSnAZjNj54GPlefN4q5Djeg"; e_fb_binaryversion="AcK-8oXG85kYqORVcZJirxBV0YMk2eDcT8lFkpcKWgcixGDQ2Qc4mclI25givRDcbEDLUbHL7TrUBpZkvw9EtFVdyQioiefXs8I"; e_proxy="AcKaOTYB9Xdx3NOyf99fCvh7_6dYnerYpVPNWkai785f0IHsIbXxWrhqR8DymVRia774DjuXnoTUKIETMto6", http_request_error; e_fb_configversion="AcIwcFHKAkh54HijNLjkIsc1qd8FBXZJT-LwT0s834tqZCQCjJYfS-lSFVwuhg"; e_clientaddr="AcLxuvoMhqtuKToqcvIiBFfw-7ThtumH166_4iLX486mQdYUUbdwSbZZxOYoj9u_4EYEfyiR1-hoE9QapQ"; e_fb_vipport="AcLCcXzXgXMcueInmb0_5c_FU6PSoKUt7D7P6NL5h3yJF0VhbF-L3VR5Qrw4"; e_upip="AcJPODFSgJ4WU8cjjjxyH_khKB1lVI-K7JXCsy__2Smz_tEfFCTeLxtijyNUHUSkrA2SdWQbxG4ssdzFbIWM4OApEk56ASYOlQ"; e_fb_requestsequencenumber="AcLgThKfeqkS490IwvqGh3tvFJRhUT4B7B-OKrRnvzY8wcvmALL0sx8bZw"; e_fb_hostheader="AcINrnDPP1PDpCZW0zyHZrcIdElWt9jzIR-fqiA3t0tdnTbQYE07RfKbztakCl5XP4WwmFXaNzOKMOXW"; e_fb_vipaddr="AcLnEtM_f0C4bpjaWmQjFgoVumBrf26DLqorxZ0HUDEYZzFccU6vqcKlpuSewFGdt0ch6TwTDQ"; e_fb_requesthandler="AcKve2EocpzckAoOPkGJ2ZiUcgZuGu6OD5G15jBySNEKI18fCsifcX3271ceJ6zJhh3nuz2bP-c"; e_fb_requesttime="AcKUMuKE09KIDk1YcFhF4PWu5MK3gtmw2f1-E0T1GTYcj6Dcdtg4U0B5rAEeKcVbDqIPtI04HQ"; e_fb_builduser="AcKdSWKRZSBITv5zoLCfjSQfESvpuu6Qf1UJOy40V3Ux7bu1vS4ei4yj20_jiesuYvg"; e_fb_httpversion="AcLm5jEypTp_8s6Sa5hmPq8EGJ7aZ7SwSCtAXLtnNLDi8eHaApcsDybvHn_O"; e_fb_binaryversion="AcLhVqLiJPvI_bEceok2r2Hm4lWfEjO99rZzmL8GuvIwymb3f6NXQGXzxw1xEmxKOryfAtqhupi4GINKeevdTifuYvPf8gAyovE"; e_proxy="AcISLBRW_RWXRNjJ6ublOioZ9m6mlkZe_dlwm7YVveamOVLc2SlpOnCcZVA0zYv6tEDhCH-eCJXL-fCC"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=105, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7743914209004291"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/17/2024 13:37:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/17/2024 13:37:39: Error on send one message facebookId => 7743914209004291 03/17/2024 13:37:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1DlI4z0m6XWZr3N4xTnX4G" } } 03/17/2024 13:37:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/17/2024 13:37:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7743914209004291"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12172423, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AfcRzpZIvEs4zfxz0rJWGE4', 'x-fb-trace-id': 'CEHqpH45tgg', 'x-fb-rev': '1012112384', 'x-fb-debug': 'W2hHs0Ci2qeSUpk2cGEb6KimQL76F4TOt+Xa/HNwAuYPqHmwH/LuPSQW9bfuGEq+njKoadXn+qIkyqYWWn5K4A==', date: 'Sun, 17 Mar 2024 13:37:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKClXXDvWa2oiwHUGB0_x738mMf_cSZiZGY3MSbiYR640QklLlxB6iTtbdQmw"; e_clientaddr="AcJpaNzNOG3HZh9U0PufB8FaEhQh6ILaFMP_D6RRdbdbiuMXpLSKSvHkERHHvWryn4PW-_fhjne1a5hLKEZ7_SncOtJFyKQhK78JiZQqdLjSXHV1kw"; e_fb_vipport="AcIfZ29lSeZBdXhhONBju2UbrudAAV43IFxCdUI_bNK87v6NaVT7T7WANyKq"; e_upip="AcJzeoduL-PtWPSNQShv49G-Eu1tzB2DUC13AkAVRMnrHwjT5OQTyQzwjUd_JMbMvDBviEMK-5WEdozVPAx3Sdy1kyBZBV5pbA"; e_fb_requestsequencenumber="AcJlbwM3Wi-YtWrTj0iTmrRmHDpd9voCKLf33zztelL-sK17zTHSix4iaj3FIg"; e_fb_hostheader="AcIs43vaOTzWtTWtblonsKfiOqiRQ45vp3EXMDFKBoGdwmQB0zR75qBYu7-8YKE7y2hL4wgTsXoybH6p"; e_fb_vipaddr="AcIZc-YvcH3c__4Okf_DXT5ZQgNeQ5A90doBGsyyVmfYSYXMVgxX5yLm7Q8LCmf01w4JMM_09JF-fco_Z9K-56uPlRCLidsAMA"; e_fb_requesthandler="AcLcsbKu2eJqtDg57TrLfP7dHYx-Fn1Vko4xmRmD5T0xZ22E7q-JD7r4wXMRCQveYfYCnJ3qpeY"; e_fb_requesttime="AcI8242Xs5WbW0BZK_wX_UWtJtY-eF94iHLjv6xkzubySOS6ujMxlZKWXeZS_Z4aBrcLBwlogw"; e_fb_builduser="AcLXdDygkFzPyX678u6OH-_0wVaTpMFhmzYP0UfDxgFNKUd2huxBv_G-geddFO1xra0"; e_fb_httpversion="AcIagQFbJTgdCyG_iDJBHQ8iyMvbX3Q_14YptgsAcqepNJr1BRYcIakRsaCw"; e_fb_binaryversion="AcLhppdZA5pHDgMxnnAAI5-Fo480GH-XQ46PEe4fbf79YBg4mUfQOp2eY3D7W0uR6TmQ4TAGmLMw66IgyM5lLGUufcAIXDBxXn8"; e_proxy="AcIKBU9jpV5OdkxpbKTgcuR3F4Jx77fsR-Nrl30c_m9SWYP2bfwsiWmBcLzUXAL0htsbmn4ktnXlBQZCF7Tf", http_request_error; e_fb_configversion="AcJLeT_dUbp_hBgADw7WCA7I-u5bLBaH11SCsAFTKXOe011l8zEQSGnVzBn7Og"; e_clientaddr="AcJs12G_WojynGX-bs13MChUg3zLcTGS5HfpCJnpjR37Ak2M8s8D456shCQD0V7X5D25D0hfcf1xANxbxg"; e_fb_vipport="AcL5XWfPaCqRFfVAHePJQhl-wF4VL-P5bxG2AKVuwnZE5WrO81vcmXoixS2v"; e_upip="AcI6ox8TorO_VnfLucqAsM66ApGayrCB_Bv9YkQEcDK3hD0d5AjzWpFvNe4Wc8wBRiZ08n3UmynUKjKVxF1zCDHWwbp6Y98-Jw"; e_fb_requestsequencenumber="AcKK42_K7WM1tBiIku0XQ8M75l3T5km1c2r1V2xMrZnQhIAG_Eb2Nrqplw"; e_fb_hostheader="AcJwOfjlBwl0fxZJdW3Xe1dy38DlcY5stuPwUz_gMM_a1H5ZzW1IMHYy_upK65jByoFg-LNVDhvvfWt6"; e_fb_vipaddr="AcK4TuGRJKzGQR0qFTnvMnkSYid2G8JstSmADfhspFMWsaF25YbkiISwd_AMdxMXoHCro9nfAQ"; e_fb_requesthandler="AcJWVp-Vk44Ykp4kzJr3BO6iqVI4fSjXa6YxxOv-XNLMVxIyqFuSSG9dV3MoHiYJ8ew0VqHhu2Y"; e_fb_requesttime="AcJ7eP0FQpqIeFxmBKP4iPJ7jVTwRmAcGwpgCxdY33zES3Ws-LBkp5Hqdm2Jozfc-_k7rmMJ6g"; e_fb_builduser="AcI5ZgrGvHhXht1J1FS-8GH3zdvxb44E8h7nx7SjXTDFpu21s81kqb73Qmv7jmpcshg"; e_fb_httpversion="AcIdxA2PLbeT2gVi-zYkOOtzj7yfWhDUjNwYCgMJ1mg-OCNLbHntUw8p7ced"; e_fb_binaryversion="AcKfK-cU2TAFVtED5Lgk4743wWPRlLs4s2xJeRco1XohkcBR4EoEImhWU2TMG86F7L_FO89SvDGiVLcLVMmt0r9-jKI6MLUy0nU"; e_proxy="AcLFCh0wrPMyn4Q4V6XSoJYLKUUGjJqRSo5nJRn1xOEyuyyTsUQXym_JhuOoOoztl-zouWEsatt86OQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=104, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7743914209004291"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/17/2024 13:37:41: Error on send one message facebookId => 7743914209004291 03/17/2024 13:37:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AtpD3aOrEEtfIEhgMsF0y8E" } } 03/17/2024 13:37:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/17/2024 13:37:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/17/2024 13:37:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7743914209004291"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12172562, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASQamTIUb9QwbVYU96mQppw', 'x-fb-trace-id': 'GsQVpkpGUjL', 'x-fb-rev': '1012112384', 'x-fb-debug': 'HELe0ZmapPvkSYs+my4SJAxLP+DPTZ0JmvnPNpSB5kYFqDkh7cP6qMc1wtE8zo+C7iirhSeL9uyDoLTnCz1Ksg==', date: 'Sun, 17 Mar 2024 13:37:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJd4BobGtDxQGKxbBzser_dlbCj5pZLpRo9ok-dAczFCe-vvdqvX1tgandQhA"; e_clientaddr="AcKdO1vUB15YTWA7WriPYv5dTAXxRQYJen5dMvuvWJlirAhY9g1hKfPzNGtIgepDSe2qFKeKHhCRX5pM8m4R1T7JoD5sz4XiMs52-P6d5E4e-uREqQ"; e_fb_vipport="AcJlMbx3OA4fQ0iBYAa95Rgw6QQXJn5UVv4gdvMVTLb3iZlFJZ-_a7lY7NYI"; e_upip="AcLhcZOKMOEHZLlFhZyinYBD-Dsr1MN2ZGjz2sDCY3D4HSXW89FrhfMb-UbbcrpPaK0gx3_FOF55TwhB-C_cXyPIAalh1vu-C5E"; e_fb_requestsequencenumber="AcJlGNke8UOV6setGVVnzrVflLVTG-d8yBZlgub9QtBPmiDKdBbJImdjmR3N0g"; e_fb_hostheader="AcIsZB9_Sac7-0HrxXZw3byx8-Ayu1JNWE0-swRiyZZzdEsyuJChuN-0R-dp07yNlSBck7qP1Xge6aPL"; e_fb_vipaddr="AcLmQSig9yMG7dGUdEFGCR5Y6YAwy1uneXY60E_ToEVsgjjqhhEZyN5Oyhm0QWkaF3bKVTGmZ1_7JdxwLCBPZiHa-4ZyiG0eEw"; e_fb_requesthandler="AcLdUgnEC5UwD7xj0jLYmhFbAkGX5t5NLa4iuz7MXZlHXp951KCra1aG1SpqrHek-i1If53Hums"; e_fb_requesttime="AcJcQQJ1UEECi_t4GQz9YoqiK7bDjS70PCquGFSnZP1a_XI0CStn8L03-Ni6BoccqjdqF3iV4g"; e_fb_builduser="AcLnsehKts_xH-Ws_ObkWw3v6VeDD_z1T2pCp9dXet3o8554pdbKkf4unPo66vnrVAo"; e_fb_httpversion="AcLOtZlRCOgWhqYwXsA62F9R6FuI-Fhr9T4gPz7d-zaK6aK0rRpk8eBau48J"; e_fb_binaryversion="AcL2WzchtryN59LPeHpuQhbs_YpmePlGTh-FvwvggENPuvbF4JARdiEeJA-Va4VEGmZ7OoxagzZWeuV6anPTxQW4M4KhSob_Tbs"; e_proxy="AcIOgC991f0Cwyl9nGACqqKQOQjJmto9D1er7xIpHo8DUR_T_ZX11D7ELnWL76pNYxr72PirlQHlA1-yrBu3", http_request_error; e_fb_configversion="AcKXeJ1OsvW3zwyFFoOXt4yey9PXMw26LzzbnJb-s0Hd0K0cr_B0h7XSxk-c6Q"; e_clientaddr="AcJWyEwLfH1jqFqGjQaoeVy-nlgP0FDx6euWzzMvUr_RofY6RDW-mjTjkVRj02ilk3Yb-FeuiXnip0Zysg"; e_fb_vipport="AcITQlgOzwHxOxJHuZAqOMEq7gTUjUj3AwLA12aDbOJrM4CH9lYBdLUFxhCJ"; e_upip="AcKW1cTuZKaHISHeiWqilRSWx9fsWFWq7yHsPyE2xRgukWoBt8yzK0focrd-pmzdnxLD9W-e8_Gz9faJvq4SyzRSs-c9EdC8IA"; e_fb_requestsequencenumber="AcK0DjXjEWgTS6cFkMthpL-dPbtLaIaPAjs_bHcru_o0i6S1iOeUYIykxQ"; e_fb_hostheader="AcLlW9Ur9FwV6wBkaHJDdiBCLIS9ZRRsyLSZbHlBRl586rYAMQnB6mqIIasHxRzITYWJgqhZ5DSd7uBH"; e_fb_vipaddr="AcLCS54zdCMTahme6YGc0kELDBQzCUSGpvjj2cuviW7kmpDIivJUIwZcmrEZ4BQnnj03ZF867Q"; e_fb_requesthandler="AcI8TI3RI3EYl8NskQp246xTaHjMYMVipI4XC6MXdxdeePB-cBVYKZEqcDQ8Ibl_XchY6RohcIA"; e_fb_requesttime="AcIGE1T8kQnahToYfozVWYsfWD2lQ0hFGmAqXQHY-SitlEUlmfGQOt3UOApawxOeWwHeHvazJw"; e_fb_builduser="AcK8YXErphKZOJfA40Ax4bhNRjLhdpKwWJjttv5WB7EPR7Yv_KRhBt1YXf2lA6YnBgo"; e_fb_httpversion="AcKzngHEVOgjQyRjXNmaN6lHSyxE0QTO2hr1VneSPrspP1aMp4qj-PtLn24W"; e_fb_binaryversion="AcLwQ1O7eB7_7cAMkSZy-TUK0XJnVw5tPlZTR1aoqrwWztdBBYfi_OLSUjItOLQw_h46tKgjy3RzBbGOFI1yz1xmuUpvo-MmOmk"; e_proxy="AcIhZ4OkI53ZCpD1myP1KRxS729IlpHkESuM5FnKQcGCq2TnXvUO0gLXVDP2GU6IZhneTTWorJOJ5j9T"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=349, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7743914209004291"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/17/2024 13:38:33: Error on send one message facebookId => 7743914209004291 03/17/2024 13:38:33: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AaEZvZ4FN9gar0sudvNWBHP" } } 03/17/2024 13:38:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/17/2024 13:38:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/17/2024 13:38:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/17/2024 16:14:16: Request bot not found: { id: '371012979613880' } 03/17/2024 17:14:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/17/2024 17:17:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/17/2024 18:00:49: Request bot not found: { id: '128159377280665' } 03/17/2024 19:31:14: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7584341744929574?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12234162, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7584341744929574?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7584341744929574?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7584341744929574?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7584341744929574?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-CDBGk2o8dIsukmhJmi3M5', 'x-fb-trace-id': 'GZExeSvl9AN', 'x-fb-rev': '1012114140', 'x-fb-debug': '645OpF2fuUzyHY0YX4Hcqu82o2R1cY50L0qmjH6tbY8HEPQvBFo9aYKOMAT6vv2m9BwV4j1rs+uOOe98z4ULMQ==', date: 'Sun, 17 Mar 2024 19:31:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKLuG_tqspoeaVAh_mHO0DS15urCectC6yN3MUy1Cob-7TLyqndF1etV7NY_w"; e_clientaddr="AcIv40omFpvsVXXIUAB1h3GI8lOi9owr-naoNHagr-aKaHilTG3eFWTJYTpiAmPqoNnUQQCBUzfzOiLmhVopTkCEA87PhkmJDS812SKxSJElGhlp"; e_fb_vipport="AcIQcX4b6-VbbeXcrrwpyt5t7KscnSJpyOkNqf2OCqa4pk6ufvu9xEeTP1PN"; e_upip="AcINKF0CqQBuH-JdMDhf3wZPDnRS7Q4Cd5BCzDxvvqiwH-Sqt7nGCdaPIq8T1byzbUEXMH8a0Ii6_3ZGZejWUO2qfZFpstfOuA"; e_fb_requestsequencenumber="AcKa_ob3jRUMSLda83ixgIx3Mw43puS_V4AMYNXudByUi6QPmefy5SD2vpI01A"; e_fb_hostheader="AcK65rhx78BF5sC4LrDQcH7CfRiCR0MPgEaFJRgY_VRq3FWc8mspc52GQ6cM93xj9Hh8TLFhdUBozb_S"; e_fb_vipaddr="AcIn0oq4gb-Unr1oyq5hvy-cHwmfm5YlivaqEzXzAHPAoq5uQ9gGdrvI29Ahn4MFX7yUWCMfG97zHVetSLTcVVEdineFS33Aqw"; e_fb_requesthandler="AcILsCZdC2zCO4-Ua_Gat7jSSc1voSh3FrZ7-kV2I0X_50aRFQS_ZchNfiMDTLrCdVx4mydmQHc"; e_fb_requesttime="AcKmO2TR3SBqdKMdxlA2_jVUYpex_ed2CeBqH9FpfKEcp23JZ9QSVSAF3xrlBK77riwiJoUUmw"; e_fb_builduser="AcKnBUITLA6XGbbjhI7DKenXHG38PmrXZF_hiUKs-fkO_FdpexPMk_R1CWGLN1peMoc"; e_fb_httpversion="AcIwK9g1g0p7bddKC9-04QHJWaKV45wdDaHZhCcRJLYkJZMcNNqNugFaar8n"; e_fb_binaryversion="AcJI5YjbHlExObkZ51KRvXhycnpQx5KWLxjWlN1rAU0v9KeLlw4_ty7CGTWV2vMs928sRnFRbpQLwj8ILMR5H9_Ab56nQyL3HZI"; e_proxy="AcIEh-JEogLY__cRj7kWjmIaW970mofdsrqN1mvnujTrgeR7hRMDq6DgEnVT9yE1NE11afMa5lqlDyAWslQ4", http_request_error; e_fb_configversion="AcJphWDM3i6MtEJYRo7SfZJ8_lDtAgghOeN6bWjpz7dUN4o1sKfW7J68BY73HA"; e_clientaddr="AcI8t3yv1JgzSxDgKz1jQ1vhD8QRXdXtPQIxaHcZ0vDVZri2V3wJYATuI-plpqWiohKpeNdEl4wM796_Tw"; e_fb_vipport="AcIK8KEu--nNBfDpu4fZ56anYN6decf48pNNB3lXHn2p8vc7XwsnsuMh50iK"; e_upip="AcLeYxmPOUXMdU234w_e_bm3fkgOQ2Lnr05ljb1jS4CDQ0pKfKumOt5dGUswp6IVYekgS3IzJgJveXoYmUu6yCZs-JFEjfyM4g"; e_fb_requestsequencenumber="AcLBUKSA7d9ynqE5skbDgHK6lE14TZOtkvSwgG5JCcmsG8dvOS824Ibn4Q"; e_fb_hostheader="AcLTGd0Nvz13OotrpoCxWRBq7OEc_buMu7eLM8n8MW1DEYoZifXCFn7NpfO-Rddxc8QdvFGxHq9BzwCy"; e_fb_vipaddr="AcKOLM1RPbrPQ89rDIvySiuXXKvFlHGc8OcDMuKav5aYvUSmTYwuFc9IXG1AfFPNgCdgvFRTDg"; e_fb_requesthandler="AcJEpTiWiy9LW8ABGz1F5dnYWIxWdblAYGT7saqonhvVbSiH92dBWIpz5ICxjsRwO5KpRYx9dnk"; e_fb_requesttime="AcKBvCb5VcrwCpXFiElq9euMh0o-VnNZP-PYgVeRrhJnBlX5bLvY3-9u1xKPWhuUhokpf3CnjA"; e_fb_builduser="AcJjdu7BVdVlzMK5YSY19kRwJddGLDkq66CAo_6KZ6osgv62k1DW6iAh_eR5pTVOmLU"; e_fb_httpversion="AcK-n_rBdBxOfYts90rkUc7wSZvYALOkAJEUTA3y6rx-0FEMGq9sHFKMYE19"; e_fb_binaryversion="AcLQDbLAiKU7RN5PgKM0JMhmojQetjvGBLOpuHkRayfu0DIItaJuhvqtnQL7fPgPFYqZ36-a-QFz36QMxKNDst-n6EXZRRZV_m4"; e_proxy="AcJWjQLvlhT4aLExDEl8zJ_q-ft3uRZThrw8Nh-xA3s4UH_POJCXWhmbJKUHszpP4vjQSNrKKn90Ric"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=217, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7584341744929574?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7584341744929574?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7584341744929574?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/17/2024 19:31:14: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/17/2024 19:31:14: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/17/2024 19:31:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7584341744929574"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12234285, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2VwlwlKQgjy4TYc1ysJ-gP', 'x-fb-trace-id': 'EWP2O6YhlXd', 'x-fb-rev': '1012114140', 'x-fb-debug': 'VmtLs7OVPbYSvB+z5Lj0y+9OJPZu1ZuqXajqB62adISk4bHywbr4c4FU1Op0SkRn3ZfETg8LFXbgGqt5P7QZ7A==', date: 'Sun, 17 Mar 2024 19:31:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJfcz54PURCRM-PT0ZMhk0C6j6pS7LJUmwnpa4TKeElaUoVB1J3E-WsAopjQA"; e_clientaddr="AcJekJTj1f4nRXXPT9IOTyEeUFqQIpqJMGFI-8WjW8ftRXSvjYHKq0HP9T0AETt5ketC2hyX-5_u9FS2NxAgmR1Psn56SFQTRj9gc6_DtX0napIR3A"; e_fb_vipport="AcJBwbGBO1PGZlFDf6LCTwUvjw99m9_wsHiNoycheRV9Qbq4F95gl1NuT_l3"; e_upip="AcJtpp1YTPDkWMONkGpWDqma8Tk3uydz6fm5n-dFpbqj6zERs6sQo_V5GNUmL6xhQaIXAiM6DDV7qkvMk_v_f2avhGGpli6EKiQ"; e_fb_requestsequencenumber="AcJXraqzYV-Xi7tnzXVsKKA6AITmE2wMbjWkKxniErIxx8BwyKZH-ugeN_NB"; e_fb_hostheader="AcJLhZrCBbCJaJiwh96MB8thNoeOMZlPzx1-fk0iBwo6MEEGaQViEzWsXpIve9ruTBfZpm8Zl22WBwdS"; e_fb_vipaddr="AcJ3_zZVp3eACf3-NyZJrGaFqf7DM1Lb385ClmEJOdF9PSyXK_nK9yPVt3IfKsrvp1w0ljElapIfeD-DoxApGWm81snpSLb8MA"; e_fb_requesthandler="AcJbgEZPoYwXomd1vlRza7SzhHJbcSS2AeFTbsxcHPRM9ZMGUw-Exapps_QwoAxp1uMB-dXwHFE"; e_fb_requesttime="AcJdKuTb5JaDgAwSZaK_PyIQl3j-evnrckt-maF_A9THAh7mPn801oKQ17YGCsAgGa_IRRNw6Q"; e_fb_builduser="AcIMZkYPMFSdjHuc2yh-cw4vGmMm0cKFvS_n5l-wAlZPfwux0NgMAY1RQReIyPIsHvc"; e_fb_httpversion="AcKW-SDdMrHwxTX6q6rg17hJYXkoanfGTvaFssWy2GomZTpqEo2cfkwHykBJ"; e_fb_binaryversion="AcLU_ELGdsy6PmOL5ppsEyU82azf00vxvmCcb1lNxFXLSLX-SO1KdLsMZMp0i2XOwh0wQW4mdsATJUCOpWi1azkcD2lK8f-Y2f0"; e_proxy="AcL_Ng75W-w0FiXPiibet2gajSxrc_0Z8vbSjbO7S33pB6rd_dwbjSA10Jhn1HyF1jxSeCY2WkpboaY6dTWz", http_request_error; e_fb_configversion="AcK-XTpvmPBCNLNI__zx63TLTPJtm8ElLhmstQI9pmedJVN4naRALRtDd1UYIQ"; e_clientaddr="AcLfdCycPPH8luCOe_O3Q3FGUYw0Q4155gdhkDHF2bWODCE3Uy1l-PGzosED9Jel2nCka7A-iGcuODoHBw"; e_fb_vipport="AcLcKJ79lXPuIajo0fhUW0-iDvPnT-isjFvgCBXa_FHW93HZmyLMaIsojfhQ"; e_upip="AcLDuQmMl1s9iTfe-fXRo6NBJ4s2KMlmNAVNIcT07227R4WIJNBThEuEo_NKQFK-Khg1sUxX-o0JNB-FSHJwqcmTmBqTPBcazw"; e_fb_requestsequencenumber="AcITEbDl1lrLcDmkr-kskyw0-GmwwfvW8CpF5oR1zc0SRJzu1fHukKcZIw"; e_fb_hostheader="AcLNIpla4rrJoRaDSo9VeTgqPXV_uhrBn-qd0kIOFGKGypbZvPsIEqZJD_5HcNlRWznTa_lZWJ6Yjxmg"; e_fb_vipaddr="AcJgeZQ7vZXLOGZbbBduJOGvgQqbdO7wOhtHNl27Pjs5Rd0CfBBaLWdDZl0weDmD3OX5T589mA"; e_fb_requesthandler="AcIF6AkukhHh27P2sM8Ff1hkMx0cCRlHlOxhg8M9_zTZ6jkWoyGRb8b_9MOc2n65QnfdLeUrrCs"; e_fb_requesttime="AcLfcUIbzx9MRkwXGCJoMbmRQ2l8Xg0Z1gPwK1PCsC7h_5k_6pvvUjvn-wjJXLjixmWey7PfDQ"; e_fb_builduser="AcKOQtob3gcpaDCCrk54Gw6H9rvmf_YaxgcObvZklS4GsZIJZeCBW4U6K5G9SFjZFws"; e_fb_httpversion="AcJEzG8V9S6QJbj68tkdgJhOfRvTiV8GdKgqHvRWBn_PbHkiCTLO3tkBIVKn"; e_fb_binaryversion="AcI3UTvX8_gz75MRjm10G2Rwby_MWy-74ZHThcdyLxI8Mfqu4zD8CrqRG9EZtr9h3SztW4MSLYugwtg3ws0tuoG5OnnLIWnlfUg"; e_proxy="AcKIv1qkMysDck37MvqTdvisx-qxZx_j4bm2E7EdbqpS1CmOZKcCUSCpuNk9YRvsbf68u9qRhRNbvbs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=182, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7584341744929574"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/17/2024 19:31:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/17/2024 19:31:16: Error on send one message facebookId => 7584341744929574 03/17/2024 19:31:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AqX-2rKLrLSFmDCWuG3qedh" } } 03/17/2024 19:31:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/17/2024 19:31:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7584341744929574"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12234368, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMFhXWbtGsyUFfd3Gsia50D', 'x-fb-trace-id': 'Ak0UxTjd457', 'x-fb-rev': '1012114140', 'x-fb-debug': 'WN6534AeGI/Fcy7O5j47LH/teUM/9NxbsCcw/DWNhAeYqgcAWDZq1mLRRTBfTtrY4oKdDNc79DcZO6Tj8mGf7g==', date: 'Sun, 17 Mar 2024 19:31:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI7pwUVNb9XpBDgpHuEpWlB5R0-8uGncARcWNJ_MEjC4dnNh3wy1pZ4r9o5jA"; e_clientaddr="AcKGAxHDOPiblrYtxc_xOeGkxzIHRu6nCshUfTLV8MdDstB_KBm1Tn2mZyprn0W4ZDcSfxQur6epYyIJ5whUuUIdX5NrH1ZU7WmNqhFJ0c8kXSGtDg"; e_fb_vipport="AcLvj3_e7McYM8rc0MKjcoy6W71WqpqBMWVwvw25Ohls680_C1leH11xxBXr"; e_upip="AcJjeQp-QIr7ycQZsmTn7v_3VnLVwwaPg85qB0BIs5vOUwYiSjhVsnVG77R0quuij6c91uXaEbtppy5QCKB7yMXRaTSBFe2m3Q"; e_fb_requestsequencenumber="AcJLWLSS3tIb5ctiAh0p1YfYvTp8WgnnwrOQCffVYq1d1vlhOE_TNmD8Pb5JNg"; e_fb_hostheader="AcLXrBmRuWNByjOe0gmP_HzFLUlnMT2Giy6iR3Y0sB6aQ7TIFZcg4Y9fSZ-UYkHoIQ2eZ8Lwte0wa79g"; e_fb_vipaddr="AcL5IMDEhgL2hfbRYYjwf7InDemy1djObjI28kN6qCn1NFr20Kvpih4eSMY0JRHe_SSTiehiW8VrykDY7GdGg7CQLjU_ZSzwCg"; e_fb_requesthandler="AcLRgalsAuz2eRYMQ3ErpwmpJWex8iLWZBePcylvUkvmVsjGwwzQid-eIITfElMbWjFELR37ttw"; e_fb_requesttime="AcLMMNUNUYnNv8k4wF5HouGFIRDiPYtsHRfONWmWA32CSMTzJNwdxUv2fdfI8XN8GTbhKEyueQ"; e_fb_builduser="AcKQBCmfnsqQ8UVAzyQGWgEWRTNDPzRIV18JVoeQvbINAw86cxuDJBtfTlUXcyoVVG0"; e_fb_httpversion="AcLKXDlxLY5I5I2w-5JCj5eayDc-W94fszk5kqRDyoeHQLkTt0Y29ST8VXiy"; e_fb_binaryversion="AcJuIEcZcUqekXsx1nUMc-4lpRAHeI0StDPPt-zdm0zK4rS5Tt2pQwjgooJ3b5ezUr4j-k_4Y0RUiZCTbVE4y-VLHUzP7wzKuGE"; e_proxy="AcJVZZtJceUNlkX6NjbS6cLAOYXhZDUSNFYAqM-TsT3vs64JmM56AjwAjdcJC-TZnOFO0P8sMSh7rjavldur", http_request_error; e_fb_configversion="AcKGeRSp-fOPHe1GXCkUedVKppDlbP8BQm1ke0Cs9MKfECwQeCuDBMGGdYWDpw"; e_clientaddr="AcLXt1YUspdtib5bdl8zm7jkpu2RRm6a6zODoPgec__XgyQLIUrHAcHYlAP_S4FoMwrbuBPCgSJD4Xicyg"; e_fb_vipport="AcL9Xo-XiK--zrXGbw8aSqQTSQS_9akJHEfmxHO0RHnrGr-mtQ3IEJ0Jrv_c"; e_upip="AcJsBfjXBUDMgFAPwGx9DkAsjlHaG974HaWjU6yjb8bId71pFa1iXuF9q5ouisoCu_2q0qRg9JjxQkfV7to8MqWZgnbQIPd0cg"; e_fb_requestsequencenumber="AcIU4hHYedwnCEj9fzRX0A4I3Vt4yv_Y03_UUiL0HGuucXdqEKOTVpHSHQ"; e_fb_hostheader="AcKPe7qdW9-1ISQFxwUYcCdfvQKoJbjuy2JRW96Q-_PZp0MroWBaLhDiAipi6uJeoU7XX-F69wkI1Nen"; e_fb_vipaddr="AcI7yh8Di4wG9C_DmNoMrFhI8VkkxbnQn4fv5wQqwR8UPd4zTxPA5ZbJLMZOokWsC6D-zpo7vA"; e_fb_requesthandler="AcJy0liE-9XKcTtM53yzhNjimiIkEHStLlHYWy2ZTddZQmyS8NiD1fbrPwBm612Es2F3xCIB7Gw"; e_fb_requesttime="AcL3l4Nh5jU2bn2fBYwUR2rW4FyDYc1CPmefwduj0n0OhJ0EcCfkmtX8vD1-_zDQUsvkJMX_jg"; e_fb_builduser="AcJbbYUp-Xt8GxJapGgj5GJly97v0cZesvu20BgyJz63UKYma-cjD7s1rwk7gwllFRY"; e_fb_httpversion="AcI4VKJ97XO_kEplxso7pb0OA0Roipq0bn7CpGp7B8krh5bdOYiOH56o3mu_"; e_fb_binaryversion="AcLEgSK12zkzHxL5C_xQrufu9RIZ04dXBMd9BbH-jQUVOqUykcWv19egylGh5BAeCm4tDFRXNeiGqgAu1-6KU6d49eClwccCc-c"; e_proxy="AcK-t2T-AGkAN5EkA8BfueUYClbjFlAUGnzAAQ9ax7pe0Qgyk9oLR17y7K2Wl0U4cqSBMnJdCOcxWHQJ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7584341744929574"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/17/2024 19:31:19: Error on send one message facebookId => 7584341744929574 03/17/2024 19:31:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AotbkSeV46MDuOnio6FQXgp" } } 03/17/2024 19:31:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/17/2024 19:31:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/17/2024 19:31:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7584341744929574"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12234507, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJiTYFjQ4zEipqKiCq9jAt9', 'x-fb-trace-id': 'EtcqwrC0LqB', 'x-fb-rev': '1012114140', 'x-fb-debug': 'f0hIlDdMSvgEUhRy5DhwoBUbkfkvO9HwY3hVLfQC9KUe8+MhqvNzgLRn+RzxHUEOMp6stwcOIdY5yxPQtdHYcQ==', date: 'Sun, 17 Mar 2024 19:31:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIS9WFP-uPoHmQSzPCXwWO9FtwSq7IBFnZ3gTfGfHogUYojbmpAZA98u_gryw"; e_clientaddr="AcIf8QgaOFTpas3Ewjsd-1089bQRzW5eFovqxOsoXrLB1xDSysb7KdXd7jqFMIW0XjnnT4CFZ4lR4D3yaMZWSuPEjcX3ru95AEfqYzP9bmyn9jm-Ng"; e_fb_vipport="AcLC-awqC4JbTAkTQ4dHHYDKB4UjGzI7jIhVRWg4RJR4IuVHm7KkNhftY6gy"; e_upip="AcJMGWDvqysHBZc7z8RWtgUJcUdFKlmDLkRhSdJgGUoIMpMk35WAhdI2dhe4NFx-trv54W-fexcmBmPSmujYCi7Kgzh1hYNC5ow"; e_fb_requestsequencenumber="AcIsIQMYWhGt18glO9WcRiHrypkK9pdI2caA0segc2QXFcbKjXhKnk7YB7JA"; e_fb_hostheader="AcLYwl9pxajeQL9p0SDn682Q0GXIhT2r6kE8wL0gCSnSiEn0FKuq1GkYX0OB8hNwlgAiheD0VSItBv_o"; e_fb_vipaddr="AcLW-FtCjJmq1WTjCF3ajEcRlX0qVlpwazqbtFF7zZaoWhZZp2nXVYTRkpy8QSnuOO-7XPLn_-N0LZJUfpyT0oEo1bT9ltCvSA"; e_fb_requesthandler="AcKKrVqWoadYb3jQkuvO9npyqnivejahI0aeZ1t2abdze_1VQFkUYr_528ZWgZ9CTzJMxRdXiak"; e_fb_requesttime="AcLJ61oDa0uV1Iv4NP7UXWLr5HlQyR4fcEx1D7yQ__r8opgc2tCHhTlA0X9-yL69G_6fy0jyDg"; e_fb_builduser="AcJQU_RgXo0zJ2_t-XvGpts6iWCRVf_toiv0RqGkh091NgMmepOGCuRn_4fgBfgRDMs"; e_fb_httpversion="AcInyxW7gcpkhM-NKemCTQyPOwfHCctNFaEPM5_YWTJFPqYl1vvI8EXGpIIx"; e_fb_binaryversion="AcLi5RrcTNECoTpOzK_1vbjxCNfxuqYPfVro-7P8EgW2ME5pNzEI2iShs43Uo5KHVW-YCsi-2MD56WTSayrEYkAWXgTsiQyPiMg"; e_proxy="AcKPIUUacPkxvTd-2i86rtMXvwk_8zp1g3hfjna-GwMuLPFx3FPX5AzGGXNu866T4zj1-BGpe_joYqaNgYUl", http_request_error; e_fb_configversion="AcIqK-lPhK5J1_AxTxa7FzpsWnDV24WgFvbbDLNXNXdwJKNtu0Ak8YJ73kBMfQ"; e_clientaddr="AcImZnAS0Z6RSegmB1Y4mpvmTRMDIFB0imsgU7VIkvR1OTwsI3PEYgprvcfs77ugnbeamBP4bClO37lhGg"; e_fb_vipport="AcKVB7VVy-If9IHDAcLdUIV5GDYLLwKvh9fOZvXA4dkMDNYyfBzn-JPE8E11"; e_upip="AcLLjs90NxezfOb4JC2qPDF2bt88wEx6P-iPNFxh3V0pStoMEbknUFI_NEJy28KNgYR1x4cMzzsZr8HLghvSnytobLMls8d8sQ"; e_fb_requestsequencenumber="AcI-U-MehJL-bN3HzV-PCtYyrnCdH_Xp3Zwwo70ulnnmo_eJapHUi4HbJg"; e_fb_hostheader="AcLr5W8kmZV7trfDWHXVb2Lid_PmkCj3SqX_0tpC7pDcKt-XfsxPHqqNq22yJ3bIAjtYKLA1nxuOfV2T"; e_fb_vipaddr="AcL8PMd_JyHqomS5Wm8w0_78sGPGCcUXoe4xgWk69rSulzdnMQhWxqcpal3gxut9G4aKb4wi6w"; e_fb_requesthandler="AcKxSWWzI9HuIy78ngQHNzjGdGP30LOB-DX86kqrBCd3hitao7CT3vfv1oFNAwMNiWXtHf7Suos"; e_fb_requesttime="AcKZXde6x1E554CoMiLGE5lnh8Jq24kWL8TrtAkk7i7Ka59L27DhqB09qSbfPWkvjtQzG7sVLQ"; e_fb_builduser="AcLt-iq3zX-CBPCo2AIvg7Xhf_Db6BX5fuynbPwK5AkVnnjHSRrDjirtw4mcX_gMtS8"; e_fb_httpversion="AcLqw3fJnma7T8LLs72wXsO4MjYnuAeA0_kiWwRoSAzf3hIE1qvrdSNuIac7"; e_fb_binaryversion="AcJp27FzeK4nf05yi0TIqVKSuBkoTAK8Fk5p-V-tKH6nayOutuPLBzGpsWF-Agal_VMkfhxniL0Vb5aH4je530afbnaIsV--KEk"; e_proxy="AcKoBpyHauolZJLUP1Um1JL-ouFtcs9tJkxOYCYdmpgxAjUSaMmJX6MhE_mgZDn-KNP1WZDrWh6W5a3-"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=183, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7584341744929574"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 01:11:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 01:11:33: Error switching inputType 03/18/2024 01:11:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 01:12:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 02:15:24: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7534165989972745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12303893, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7534165989972745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7534165989972745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7534165989972745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7534165989972745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ABfFXpd_U77w1StL1TrkuBB', 'x-fb-trace-id': 'ETJxtuLdy3V', 'x-fb-rev': '1012115560', 'x-fb-debug': 'KYBlfrXir+7ICg8WulkmW2Asoz4UcbqZMMBUY6RQfQzZObp8L3YpQcWjFNVDuSKUUgcfNTAqtyARsb1gWg6Dpw==', date: 'Mon, 18 Mar 2024 02:15:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJvFDzZyrsjZrCRdcBZEaBRBadz4sfTij8F5hY5VFRsVKZB799rztTmHbZvtQ"; e_clientaddr="AcJTZ-YfOLlO6509eE6y9oJUiprSkrjCS9aOSUA-fcmfKOFWAiaTKcXPYwY-4gHmRsmwuZLiKiBrr0KRs1pf0OwNxKdQRu5JQdnVCuDlxzM5DuTXqw"; e_fb_vipport="AcLlvInWjJePgTST6BHxXBGQLNbV7p8-2Put7srC3YLpNQxKAfN5f-nQi9dj"; e_upip="AcLL79dxvuamQh48f8p7CkCGlCLzu8-weaQbrJc6Ly6nBt9j8hauUTk960K_iZUkreR2_L8262Np6ZMOJeTav8yK3X3KU0Qtzw"; e_fb_requestsequencenumber="AcLpqW1qpbpvuMgqbz-k-tGT3OXUqZGXKlSY5CyKYj4mIPjqGdaK3Ns2BRf_aA"; e_fb_hostheader="AcJtTktQ25ZBqo5lGuz_YaVb9VVXsres3kde-KG8qI3SyKmlsSfBgs3zBQNMzTqFp9O3kUc1SCl_Ypgw"; e_fb_vipaddr="AcLkDPc8LCFz-Zv_AH86YFSDUQFp45G3HGUIb2d6ulB25eVqLVuUyF6AdD9I_PBnAVWn5zoNqTtj_CveXAUr0QgfhGWc0LBUsA"; e_fb_requesthandler="AcIc_cM_O0BNPogEvLJExOnTWHqKO7-AnUtDRKhOYACSOrIrz37J2sZ_A3X9BiAE64W7f_IPHDw"; e_fb_requesttime="AcLVkxRRpX_lq5EcrG_FbqtZ7J9b0JhWduRHFQII0KlhoKYdO6rb9zeIigR9KvaIVxVx39b-gw"; e_fb_builduser="AcI2dkSLa3Qzk18hhV6IGUPsSXy9qPghifWdCvU5rmEJj-Nt6ViaxuYI6QWsm7sNPjA"; e_fb_httpversion="AcLXJMTzYAEGtjo0BkBV2GUh3kzwVAZnisLKOOvq6lYdy9DK8CNb7YsIfj8j"; e_fb_binaryversion="AcKZ8X5xG6xslzOWUCGtpy6XsNo1khAU05o0-UgdvLR4UC0R3vMDdwTWHp-lkDkFdI6f5umsv1GsHINPpLSWjBf2rZzriwpt1E8"; e_proxy="AcK36ahSMugNm_h49Spzp8QGVKwJbgCcVCbLcdnnblJG9s2MNvsHx4ihkGQuS7z-HjSXUbcpwITPx8E0lZZg", http_request_error; e_fb_configversion="AcIRKXVfwsrilstboLpWLYZFs7aSaVqrMKwafe17470NoIeQQBMBDnPoAQcn1Q"; e_clientaddr="AcIo6LGc8hTZNZr_AJh-2i-aJVthLnJXQUaUWb-UAfgURKMouBXIur34VLRLFB8g-gBKdUDAfKxDc8o1Ug"; e_fb_vipport="AcJSIEDEM5o-2p0jyEw4pSOya-rrXMLK8nBZ8iSIqUdh7poJOn1zjG5IOw65"; e_upip="AcIGUELs1yQ6zweNySnapuAkRdXoED5M4cPllvQ70sdV5GilrxqOKtbcSjg1TEJocH0IeEd6EHScRD0CETdsG5xYvmIEs1t1ww"; e_fb_requestsequencenumber="AcImLw8ZHFYhqo0Y60MareYUb9MsBUwtV391gtpoqV6LJvFZcGm4W_ihCw"; e_fb_hostheader="AcKWEYS7k5MoeQwBUQrZbKtqHruKGzYj5UhemO6RI5iMOEaeXP1CNvvz3p_bb-fMAU6xgddTyLt4GhX3"; e_fb_vipaddr="AcKU7vqJYr8Zzc6fe9o-IU4yoNymbhnLj_lgJQWg_fu4FoMYkZry5lRAD0sH0FY2UNExRjdDaw"; e_fb_requesthandler="AcKrwlCo4oTHir5uAIZZNJdqRBekxORqo-hBP1N2fA9FVkYxlaasldcU85zuHUIMWScFbOXz7Ew"; e_fb_requesttime="AcJYgHKa0lHIfszpuc-eCXKBCowu_LmTU6uu_G7o8BlamOZl_O4saKfr91DaUWjkIXXqGT80MQ"; e_fb_builduser="AcLhoOKM4-i_cfBV8ZbqyTcFWK1N39cEWGSYEjvId2UhYTYEQCrLSVwXiG404ubcfiU"; e_fb_httpversion="AcL_3AR7ro3Ic18AXDm6CWgGWbl4sB4FxcQ8rs8tUjNnKgIzONcaucg43o47"; e_fb_binaryversion="AcLtfbX216qwzsf7mfhEr8uAE9lpzlFlIx2b9xK-vJ44Ss3ThWXSmtHUVpkbmKdRrVBpPwR-6hM9R-RzndOE_I-RQnsm18TtbeU"; e_proxy="AcK5EIkGQJEuWmAN8i7ZcTekMlDTdmCiV1I2MpDvKJtUyTzIytKoU8QujUU17yIDIITaLxXuMyoy4a4"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=308, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7534165989972745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7534165989972745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7534165989972745?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 02:15:24: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 02:15:24: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 02:15:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12304021, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEN1dZV4r91PjB0geT7F-U-', 'x-fb-trace-id': 'F0+UQZmjDGQ', 'x-fb-rev': '1012115560', 'x-fb-debug': 'BAIUcHMssVHUAgFLkzteQxY+IJLgfs4KkzMmiN8i6MuCJOzyOtmwcwcr26+a39joWgfBv8WuPtUDfzvJjIeKTA==', date: 'Mon, 18 Mar 2024 02:15:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKmx0QhyQ2UlPoYmfPLohAz5IPRL2b47ezo_L_bUZGHapI2_dTr6Zi0A16njA"; e_clientaddr="AcLGrDy4JrVbozByktOOmxQ_xkM1_BSh-jzPrWLgMTWuCga5TP6XuVZdOe-2LSnSd9YFLgKMHgwZHhYVPVhDI-DF_mwvEoHqXgMHCfvdILKHk4Hu"; e_fb_vipport="AcJT-LYwPde7s8MR1_-uygkIwBlHpBO82IBMz5Ttzf1QhQu3OSDVOZTbw1gW"; e_upip="AcK-s7Uamb5mKC2bjtwAkZiwnOF83bAOWe7f5VJrEL8og_Ab8efKBIhsjQh3OVhGIYBHlso9zkQLephRvJbUVoNXoXEdyPAnais"; e_fb_requestsequencenumber="AcL37tu7Y8rcKBbFy9c5ljUUjoNrMmdzOt9RhivDU621wmYMoWhqNtTrqFoEWw"; e_fb_hostheader="AcINkmRjqa0gWuXqrKQ2uU544RsSkftTormjg6FO81Q9Cowh4alBVHpHgF2zglfBVoReYLJ28t3M_DoE"; e_fb_vipaddr="AcJJM8url3JEKQSoTP2aJQw-hsKQY9zime00DKe-BXdYxZ0wzwEQTLW-w4Tcn6T1cJ-HkleZBhYtSaJ4cXZIAkUBRXJowLo3SA"; e_fb_requesthandler="AcIidcjctMt9eE7P4diRUJhsxGYYQcOi41Z02rBRwoJsRd6KUC6rB_bMrkeNgB1tJC6A96ktsqw"; e_fb_requesttime="AcKRiqPN_qhB5AMcgQFry_RZOZ6CSfvss5RaS58POAn3z1JzfXsCdIng8d6qSseg051LxiBOoQ"; e_fb_builduser="AcIhV0Wvrmz9YdeHNjBDy_E0aUTb7OYA3OtoHzRRGwu5OkDgNOOXWpvyaBm68NF-wrA"; e_fb_httpversion="AcJqvW1tyrgBSRvW0KIvVHoOqv0sqipER5hJCJZkRXsuZxGUARFQd6kJYVDg"; e_fb_binaryversion="AcIiKzNrQnIHIpV_SL3U1Hm67LvLHrHChOsuQ43vKJB2Ml8Qm_AmpWvA6fmSSwcCXyRex59yOGnG1HA9vnmHXjk-wsDAXoq7Gpo"; e_proxy="AcJKfAyHObtAiMotrCyN7w_kERzGG5-2ObDELUK4GfoIuFgasCdsnNuYyZ0_eY-55LuBjOex4vgfSui6md5f", http_request_error; e_fb_configversion="AcKBrU85r_MCqcnaSygW6W0Ggys_2FA8_dKDwvr2ys6WxRc6dvM1p--V8qCYRQ"; e_clientaddr="AcLzeDRaL6DyVF6cDNT308Z5Xk_Eqd3eQmklVBJpkvpWIqyIPS4tBPk13YRC3FlnzemZ3NNuUrhv7u_4GQ"; e_fb_vipport="AcIdb5Pd9w3Z34AYrjF-DCi3GvlVHfQVuVc3l3CQNdLyUMg4p_LmjwU_3DG8"; e_upip="AcJFDkhy3kAWf0lyubM6ACc9QNl7ZjhqtS4kJz5zmzRoMpKH4y0K8OFdx9aAyldIL985EvJ4aR8AxRL5gfDiNa8qVq188CnyuA"; e_fb_requestsequencenumber="AcIW6HI5SjQIiov3xalzOL7_QvyGU4zYElfZ2E5rHree4em13hMyFKfKeg"; e_fb_hostheader="AcIBQgkrUwq76RMYSHMyz4fkzagS1p1FrA3TehYQ6NrDh1uueQDtEKvsSduv4jWt6FPJwP4ssZwaNSeN"; e_fb_vipaddr="AcITamu30OL0i2iAdaJdJMENDzcfCerj46WkpK_BaQ0fIN4glxbZDXVhgdnoyj7VSPeh0WtmKQ"; e_fb_requesthandler="AcIB8lPvwpqy3gb4Spg5BFoiG1B4po_1OQ-F_MmQENMlod8qi3UL7ly_V4iKndr2pQ31poO3phY"; e_fb_requesttime="AcLQDqfBv42itenBRSfgThKqwRDKjqUYIeYHXGT8WD4F94B0CTMNaYOXY6xkedKMC5m1L5cxwg"; e_fb_builduser="AcKiykCgtUKFLzm4vtrfBKjXtjtg6dHj4oPDWVQoTAWgfZqcDRBLjFdyn4uMkKxsklY"; e_fb_httpversion="AcIeOObKGmcf-JNtNV3ldEevfnJKKozeZjjgwUzOwfbuHkk-2OuB0213AsLQ"; e_fb_binaryversion="AcJVkp_cUogz-smif7ESo9vHXwKCC6fHFYG3y_pDFEUmeS0CI9_nrrmQE7V5lvdqS-rYJrnWOj190xw5fJxsbgiYgBluEndHfF4"; e_proxy="AcKblEhWyByBVyQ8FQKmfkUefp98cTCn8LNqlxr_DlqJfSTzw5TWRQQQo8Dg9i12R0uGkSzKfYwPG2E"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 02:15:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 02:15:26: Error on send one message facebookId => 7534165989972745 03/18/2024 02:15:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfZsnwqRWgiZWdOdcfwfic3" } } 03/18/2024 02:15:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/18/2024 02:15:28: Error on send one message facebookId => 7534165989972745 03/18/2024 02:15:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4dXwVPTeJauoYxbh0h2O-r" } } 03/18/2024 02:15:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12304104, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArL8lIY6cmTT-468aF9_oE9', 'x-fb-trace-id': 'Cjkc1SDoyDR', 'x-fb-rev': '1012115560', 'x-fb-debug': '9bza705W/inQOG6nhqu9FrKJG+wCKXMJAXTfvVjjaBnVYd4U7eEKWwf+NlUCVBFDXY/5mFIz07YdOcBVM+nXYw==', date: 'Mon, 18 Mar 2024 02:15:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLiIUrRoQCP55VOkElvZHV-Pv0_vce93M49KNWVOvi_F2EhhQ2cIjFdkCfmuQ"; e_clientaddr="AcIqiLcZzJ9XGS2ybJ-Prj8X_oiNB73XuJ2ciLhx4n-2iaYGXmFD_M2bu7KEYmE_wzlrWuN3-7fsqdZy3veBJa2u4Ju-Oqpz_t0-DIsKQTqLtISh"; e_fb_vipport="AcL42RHL0HDUwzprLyQVeuLGT-fEFoGzVUTsLegvcrX29wJxYHk2EhxcQwPa"; e_upip="AcLFgIzxT9Gcu_Tvqd6BbyhwKBlMTJftR9inJRqOrt4tnGD-GbbyHQ0ATyvDOXd9n5rPLMBF-PDjcdT78QRzEsO92uXWXwPUwQ0"; e_fb_requestsequencenumber="AcJpxKkKKsfamh5GE9mM2GjJpFAF8a4FwWA8_tkXHGNnYu2d3yG8eXy4rPRS"; e_fb_hostheader="AcIajIxAaFxbfi8uPv9D4xevY8uDZU7WQCUasdiCqT7cdwEHrzfDmUEook8sYLaJ1EUcLGirL8gaujzk"; e_fb_vipaddr="AcKXOulbLVHiRIeEb-xYfNqmozSGXBJBvMmlnpq7KrAn_k-Vd8SRaZ1WyQBrlQ18114liXmd4_hzTmm8JyVNZUtkMDw4trJo0g"; e_fb_requesthandler="AcIJyuq8IlTfVQr2nnbzlypxB-pcusoA1mnF3K2mxTXreDfFNI8qxmh9bY6DLSZw24N8ebydvKU"; e_fb_requesttime="AcIG2JJcJ7uVRHSUm--J9suCfr_e6aXx6wno3aRcrOIDdF39lyBwhC1AHaqUImMR98XEcTjOqg"; e_fb_builduser="AcI_0kylYt3HHrzIdDUBvr3LuAXYCKzn3f60y77D3gcrU3TryOBNq7PLavAUWEWpgZA"; e_fb_httpversion="AcJyl_qU3rSBfc6EuSFA9xeoveCPnfrhy4c0duILe2pyFdcScP1gGzvfaCYo"; e_fb_binaryversion="AcIN68bNfY7q-FpzAjD0xAE5gtxxql6oW-ruOCw8ojxzY-_W7UjBsraLJsRbEvy5Q0VLD-iPw8etm11OSv52TjlhvPZ7sQPxmFk"; e_proxy="AcLgRhHEd0-G_RTSRNPJ57pEXrq0x3CIUY9saeAgJ6UeVOD3hNdAtMFtZJLcFY4zFHHExcdnbIkuh7zV5gHr", http_request_error; e_fb_configversion="AcLfDVeEHOVDib2q9Sf0J95PX6eCg0aasvCNcdU1y4MKTUay1wZGL9sPxoWyrA"; e_clientaddr="AcJX02x2PnMESzgGiTqxBqEjrCw1U7g3TzeOSeZB3l8Xgs8MhstOfieQQp_hvU_Jgem01t-p4tHCHcK6Eg"; e_fb_vipport="AcJlIqax8o_2bqUb406Re6A4F1QPT99TNMCoMAxlivtoxZaSaWn4bwZThOD-"; e_upip="AcJlRsMo8dgabQRc3Biq7Hw3h0GrKYIieyKhmjWV3bAuWQ_aeIdwgnSgtJ7Sl-9yKvD-l7uExFw8mYcoK9J3BTMBeKcqKGb3vg"; e_fb_requestsequencenumber="AcJGkJlRBWRBDZIDK39xXHpn-xULTzMTWP0DlGB2ogyXnJprBzqtHyT2ZQ"; e_fb_hostheader="AcLXvS-neyn0mPgescC97ro320-TeQ5P4zlcIYfZIwEP1bYryJ5F8z0TKznPzJn63wikcLkzuwkI125Z"; e_fb_vipaddr="AcLU_0uls7HNQ24s0Zxb5nk9hLEozikxs7TyZNLBpSGglu69lZr8uLoVVZvFP0NEoUSsCxFGLg"; e_fb_requesthandler="AcLaXfjGTUPnsac7ieXmFJirLHaiFp89rS8-4KLCkAiYQz9bb76arb2SVqf_YIAdd7mFwzagS7o"; e_fb_requesttime="AcLBYTJRr_4f8Ck4SiOjd0sNFdkNzzxVkWkqnrZFYge19VPjvyI1lhVoTrOZoRU4i4Q6KOuWzA"; e_fb_builduser="AcLyICmDhyLJ_YvCh6KwDE-qhkAn35pWQUW8yZP8fflBDbci-toCL4F1y7VG8-vnp0E"; e_fb_httpversion="AcJJeiPp5KbcdXIMqbo4ShBlv9sCG-iPpqodq2P8psVjM6vc36fVw8-XhhU1"; e_fb_binaryversion="AcJscIIymB7xsN_JPbOH29p0klD8I-3urhqr8EswV-KHQMegGvBuJ8Jr6zMljY8rTF52H67sH8z6b0f_m_t8il69U4xtfANRz5A"; e_proxy="AcILwHu-w5rgBsFjN-u2aeEaeJgE_ZOOSwUpUNws3YNXiUWs_QIIwb4lVbcG4zb71uVVIAiJiIOkgUM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 02:15:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/18/2024 02:15:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 02:15:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12304242, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqR5QKJG7HT7OGfdmt4OXv8', 'x-fb-trace-id': 'DVM2oiCHeds', 'x-fb-rev': '1012115560', 'x-fb-debug': 'e4XgjM/2UN72wsImhCvZn/YsnAnqZqYoyiLUoNfGNj8ACW4hfkpCUQpjulgZSTR7ORUdHOVRL488UAlwTTxPLA==', date: 'Mon, 18 Mar 2024 02:15:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ4-xM-Q3imUh424U8-NGv-TP-aQPAOolgbuV1YKF2IbLSvBqTMN0WE2OvxEw"; e_clientaddr="AcKRc57PInuYgTSQcKOZ67bFHJAt18wNqsEng27KQoVwqVXo1CRcsHnUGSSCIXu6_ZxKyoqhNoyypEJ-D7_2WGaENEGznURIsNUkimB9NJqxNWdnNg"; e_fb_vipport="AcLmAE-Dk31PvJ7GiTF2n3xun-3zS_mRhuWZ4nsQYfZWzvZ037IUgjUDELTk"; e_upip="AcItj6QPjoMcWhO1LZSiRavAEZ4U3NMk-YYuFCUqd9t4SmtvQJ2v_wY8AQSgxHe28fQnJr1ecsRNVLMD8ddzZRVao3VoNvDfeQ"; e_fb_requestsequencenumber="AcLNE41mjaktsjAqcXJNlYO70DDewGKW5s_5EKVga5GLZrnnpsgTZjV3ofc"; e_fb_hostheader="AcKkKFKJmhWT-LNo8k49GLAR-yxUE2SlYtZV-qDDwyTTf2wT0_P-z4cdXTFVFWqGjLBdtxZOjLFBXb8c"; e_fb_vipaddr="AcJiV19BCabpO1IwH2Vut6WSzDVjCoDmXuCBXmh7dLL8S1kZpFLsuldyEEMMJLtYvwygzb-6G5CUmndglv41Jzq71C6eZy8mZw"; e_fb_requesthandler="AcJqnsE2ypNj36ljccVClD9_afvGbrtjS3HTvkap9aYLNPpatvhz8Fr-dFVh3GRoS8P_6Qaewa4"; e_fb_requesttime="AcJgQvIzYyAw59ijgcvq_WV2TFIi2pC_c1azgdKFstshp4xuNxGPDH8VBWPR7cmliuTJ5gHjZw"; e_fb_builduser="AcLPn8VzjYOte67OXEN27bXNh-S4X9x5E2p4wIrDdQG53-x3rCEO6pGyUzIbpGQHi1c"; e_fb_httpversion="AcKgSdWmULmrJs6t6K4cSlfnBd69KHPE22gUNaCSkFQwPDEL26LUQ9Ny2-63"; e_fb_binaryversion="AcL7rC5h-qyiQFRBMzCWYJ5IGZCuFuMr55ZLOGHwXMlNDoEY5EPXHxiWbP1oMMm4RYEKKP8vMAGRwh2CU8aRvXYRE03yEDwJMOI"; e_proxy="AcI3-GOWZiJcwMjtOIG7emdty76aH4uoJfMw5YFRfXXLmJ9h5pJt2xVGE7CUiT8Lvk_2_LOeARWkNxZYGOIl", http_request_error; e_fb_configversion="AcIY7rHNU2LsSRQHOnn_euFCHaRkFo47uuN03ua1syz7od9XPYIz5_EZElgLmw"; e_clientaddr="AcLxlE2OaiW6jV-lP-9n938gg2wLFYMwpWEimQ1pG_kFexClNm3HAZAp72VdSNR1A2dEG79RP45t-K6VfA"; e_fb_vipport="AcI34bg-cYpfG0_nrH6BHtBIKYl_HpIZ44mqSH7lSUKUEGzDrPU0h635Nf6B"; e_upip="AcI7Qpx5KKn4MhhoXSPGatxKfIex4tFCvxFzpTitmhjxFA7PJbNektF7SA_GKE_aEwAZ0VToO-KBBFYIKJZ96e595PAYJwFrTg"; e_fb_requestsequencenumber="AcKZWrdDzsVNiExY_Z0l5lpvKoUKIStTvJEo6HgbSThdkHl4LrV7TrGDCg"; e_fb_hostheader="AcKwmIyj9MaBxZu62R-NaNc5nhvGyeEaEKHD31r9HGIETB4rl_HgBrx3dh_tG5zG-yWsmHrRTlPVOPYW"; e_fb_vipaddr="AcIvyEHHOzpPu-fBxyW2KoKoXSfV-kxn2VD4TFtSMqmvgtjyL5bWbDtqZyJGsTgAi5PqZ51K4g"; e_fb_requesthandler="AcIy60dOCzctWeAyNgURCiWzfegJN1STogWu53S3BA1nfkMVVSzvlnxUkSIwA5UpkUrKm_Sr-ow"; e_fb_requesttime="AcKmRMB2ddANM1VGxp4IVlTwA3EtEXcYDtM7brrvwqcGmNzlr8NUJV738J2T1szhg1dLc6z_Mw"; e_fb_builduser="AcLwhq2eN14AbqnlOWcsYa2q4WNYaii0pYME2p8zAGs_wvfKB2VTxd_tcAdQqkjZeEA"; e_fb_httpversion="AcLKznKMFExsvDRopn11pggrkNnomlQ2zZBWINMM0otJWPraOxVQXoMNfvdV"; e_fb_binaryversion="AcKOepKK8PJIrAH4nh6tT_7OprDcfYifpjRiu9mgMr_yuppphiHt6mhIsiEzC5qRJGXXudcoCEBN9Gqq41e1ZEtj0JjY__gmEgY"; e_proxy="AcJJTuOkTgSHv7eNYvI-u7UD9IqbR7qSPoTtjKdrX4vOI8x0Y8gIXFwtFVVhRu1OGPdS6yWbwH441co"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 09:13:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 11:39:43: Request bot not found: { id: '144313565649530' } 03/18/2024 11:59:18: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6827150834052799?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12402538, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6827150834052799?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6827150834052799?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6827150834052799?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6827150834052799?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7Ij7yLHmIvsu0OWXhyV-nD', 'x-fb-trace-id': 'DjVqsqIseVq', 'x-fb-rev': '1012117849', 'x-fb-debug': 'PZrHi1vQM0VH6y57bxCB9daL67q1vAS4zSjeBBC5iL/ASBOVhBjLJyfp4nhEV7U9Qm8T5vqfAlZBffvUFh9uWQ==', date: 'Mon, 18 Mar 2024 11:59:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJGX2LzZ06l6cfAJhawUxayc-Ml5nEs2shHLThXnLIdhs0S0izetViLYxpt6A"; e_clientaddr="AcLrvj3E9K92vtyKFwSl2o2OzImIVpQqsDT7oV9RW6jd3cnVCpk5MQaWrN6Zd93D9qHKTtKirLXB4z3_ciTvx7NB2yMS_omxfFNehOU99ZPgs8iklQ"; e_fb_vipport="AcKNJIGh__o4rymhsmIiLWohwbfnN1kXOYvi8lc6ffV6G9KQn4a_QcIAy8r3"; e_upip="AcIwXp2oz1ZcPF-iDWqewq_rGJHQFjHYanj-BL8Yi9tcax7N-IIrunTeOmYBhZjjdMF_BHssabqLc5j6wn8QvWs2BUySculPDg"; e_fb_requestsequencenumber="AcItUKjiFOYkoiuXRskmVKQHtS9V4bf21hHcckn-BgMRrpZR1Cf96kfgPZBF2A"; e_fb_hostheader="AcL_t6HKNYMpON6vd0zXwJa8hkZkrDXMr4_Ng22GCZpxxaCAtRUb1ykQOdIx1RR4xZSV7usRsOMdoC_D"; e_fb_vipaddr="AcIqC7VDuw5-R7_Y_3w0KsZLZRDV1B2e_Irvl5HKkSzHHYNeQWoAcTnnfrx1xvYYtYjMRD2wIUXm5XHK2doB4526cw757EVcQQ"; e_fb_requesthandler="AcL4WL43pHLvFuAxWwf4HDcW-APIrkv12sgacRO1rzxtKlF1FP1cc0Rr1XXD7_yywYz54hfqj7M"; e_fb_requesttime="AcKu8_6Xvmrm3HvA9b5wvOc6FPCEQ48Wf7BIaDQpiGWduTol4vn9lAd8DLc_orggIVmmvefrKg"; e_fb_builduser="AcJHzKHcpbC9Z3SlJ30rA13uyFI6KH3YM0n5OmmdLqv3I9nKDiKqLEQdS4VopGTSJNA"; e_fb_httpversion="AcJpaIZJjg-8pgY607Y2RSYyoN2xI3s7o4gX7s9fZ4xvZWWlbuwWLEWZOh5L"; e_fb_binaryversion="AcLNr5uhTOjcqqZAs2vmFQpihjENBIn0i_agWsIX9fH8Lt2dJnTBOdaEfjtIcBCE2q3oOnYRV76eCfnjqUwNst8t_s6OqTFU8I4"; e_proxy="AcKQ81NGltshljbz12CUO0jlScIFDYoPalGWfd9heS2GpqayTGmkjOOu8wGqXf8Yr_QfR_Fnp0eU3xNFk2us", http_request_error; e_fb_configversion="AcJf_oOWUYAX1Zx4HJIgTiLDkfZD0qancSqHjOe5ZJawWKhpGTON68KFDOtCuw"; e_clientaddr="AcI4jdOJfL_wHK2BodZyUO2iqJ20l8N1g4qzlzurVw7Fdk6kyNFuRYZmE4ejC4W7Tb1n2WIyvUS0vQUc_g"; e_fb_vipport="AcIaau3EjKLRMZEDVmany6FH28nol1NVmBKFP1W7AKZQWqRXWY9SvjRDiVsG"; e_upip="AcK7vaTT8g353QR9dEsH6U4ITm2ul2SHjLtjz-BIKRpiT99KmMhIkigIqg9I7bWsgkcR_vzoZaM4yLAEQmYDpUa31tyZfipkAw"; e_fb_requestsequencenumber="AcJzBqnmH3UR3B7jlC5yt28ZIg4DuryEm9e3vS1TdyMtc5c7cQi0igarBw"; e_fb_hostheader="AcJxwBMWve01XW3La-Rq1pQNYxpidlhbZMGsvyaCr6kdXFO8a4ej6-aZTxmiBP57YMGi1hai0w-6mX5E"; e_fb_vipaddr="AcId7aCs95_7B3SK9CKrxPxB38laW65r3q2BTN3gBLfrC2XWvu8zD_Oa69FppknH7gk0TSbmnw"; e_fb_requesthandler="AcIIVZ3REuLPs07TT-cMyjEiwTjMWqhqYwMQjwQpbjpnKES3_ZlK2SmpHdyLcqT2Pp-unVs6lfQ"; e_fb_requesttime="AcKuw2OiCMZnl4K63rhQiYNxdxIiTPTdve0TrMcYthrcXOOysynnQeycdT5LOfMnOx0gyiGPCA"; e_fb_builduser="AcKeLeRLa3_IcC6U5hEykFiWsH5JweQMaYx0fznvb1gfsuJ_vGpFCb0b79UBe6hqyEg"; e_fb_httpversion="AcIa-b4Fedd7Ts4RgkXMeR0NP-tMvshfb5waDAVT7_1tqC6RenQIJIxfQG57"; e_fb_binaryversion="AcJ2EgO5ZaJD6zuWeQWl40FhiZp-H0XoUpYHKdpB3pSLQFgk-UieTRaMQc3_6NcLM-urqkM16PeyPiSW0U4ieHhCIUTr1bKxjtg"; e_proxy="AcKQpPtqvtzdUVQ-0v2QBbqHA9InMf6EjwlS7ywKfDX_i06oVUiszO_QFR7rQWfsNphwMV3rVpSzUqIm"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=300, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6827150834052799?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6827150834052799?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6827150834052799?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 11:59:18: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 11:59:18: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 11:59:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12402661, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzgCARbIkzGKdjjiilhqMor', 'x-fb-trace-id': 'AfbH2jmtH2t', 'x-fb-rev': '1012117849', 'x-fb-debug': '9Bdv+Tz2n7Ytzm1IUA7KwI9LOfgW+xLnMiAoBflSiWi0rnu5FloFgNb0XEQRGEcGz+Yi+lJjTkqmvVO8DgDEHQ==', date: 'Mon, 18 Mar 2024 11:59:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcImmbXFy3Xdj77CF9u1I4R4s_acQ13_7rBavSmAbrAvtYh3Y_fPkqZUgCKRiQ"; e_clientaddr="AcIsRQd9MlS_WJsdNkBRKzE1iiMkYaI7HdLoxnJAigPHU6XqkCZCdPIdHHkxoNWMO0A0CX_0EZ7v8ghvIkznRBjrsxEMLq2iL19xhpa-Ry1dbiX3wA"; e_fb_vipport="AcJ-VOfs6ih_CBfPW2zFQPxYqYcEkUNgTWdUDi8akYpn2lS0hxqjvGU-vo5_"; e_upip="AcIk0VwUEIXLoL1QdxG_gFgrgfl3ZsLvDI4IL7SZK7qyWc74XREt98HBcL5FnvtXS5SUd8jjKydf2bzIw4zyrrO4rxkDxM72-A"; e_fb_requestsequencenumber="AcIWEAF3VHZxNhUAcuSP_D9JGWTvZHwWoJ2o28Gcz6wSwqJ6O9zbjs5N97i40A"; e_fb_hostheader="AcI7By5-kKuIb70VzqMqdJF5LtkBPzxuNnXnlT4mpqShUA5ZHDeWt-7Ya5kxgzxXoDJvMp7JXWKaNQhv"; e_fb_vipaddr="AcLKWfZgu-Xw7ic3xh4xv3neBPP5xZx0vKhSGgFeh4-XNM_3vekYsmSFZj-8Q4AVjBjhDBUcKDkir_h0e2ORcO1ETxCwr1PWzQ"; e_fb_requesthandler="AcJev6jQf_poN3W-TstZ6N7OiPGTyzkSIChlGU40l0UOK9XfwO4i1D4D4HF5DpYML3AUBWOIdKI"; e_fb_requesttime="AcIFRWBulvsL-k9B6h2c8YFm1AyhzmYGsfTK2mDpIy5vhLB4tULHCJzwrdI3v9K9JU8r2oCD4w"; e_fb_builduser="AcKpPgSbWL21Wrw_4A3_J8giOyzpm7CNDwo2egofkg_9FvI_8hadGEVaBQ4gRyWlnHY"; e_fb_httpversion="AcLG3BxfttQoK-H_vHct4mEOTBd9YYLgslLC5O17v2uW5hPGutBtRy41ZpnV"; e_fb_binaryversion="AcJpBfwstfKIJjWN-v9X21vrRJGEAbWuUnN4f7oTcGRRf7hyZdCzcNrX-tq1DWTNvYkhsj9iWRUSYsmL8oKo8J5x9ZXWxmhHyRo"; e_proxy="AcL3ffsEMkBqzuQbplDy3GUkmyX3Wc9mfw5VU2eytNH69NkNo9jDIZoBQGYdxKM0GDYw4Z2nd6S110mXlrbL", http_request_error; e_fb_configversion="AcJ1RuOY2UXVnrJ3eaAe91ONOVMkLs_QhUGfNjz6vbevo7T1_I8gPbgpJmMJrA"; e_clientaddr="AcI7UKn5TospeV5GdvHEAI_v23LkAw4UnbSrv3cwc7kbtqubsS5bAgvZ7vzd55fWrF5y3l7dxzSvwdbDiA"; e_fb_vipport="AcKm8ReqFYY8Tn6FlXqZ9Pn5YCWCYydzvM3FCb7A69jbK69cSJUZ578dblJh"; e_upip="AcLdptMOzRG8_ZXqAErEwmTth0RydbWXfKh3aAPpCcrJm827_zgxmRN6QqSl6FmXRe5l2m8YKfSCRJ5YCZg4g_kQU25N5OyRUQ"; e_fb_requestsequencenumber="AcLhMl3nPzp1oWJWhCck1_CzyA-wUylznpRcjTsnvYZcOEWk8cBYMiblaw"; e_fb_hostheader="AcKSBk_BPK_MXkh7HH2yfXCh36_7DKFCmX3wJaJSDBbNA63JPuiraMNCmtAmbtafMfjhb5nw0rrEmM4X"; e_fb_vipaddr="AcIOPru6H2o4amyWs28JPGHM023d98S7So8_9heNwCqSKMK8uEAMk9mMP76HY0ypjpiNrEMT9w"; e_fb_requesthandler="AcJQLEaf9Fnd7ExAD3Fbc9qWolGm29a899dT06OQPrlNwf4u0CWBF5OYnm3SiULdo-AXl1JRqQ8"; e_fb_requesttime="AcIas1MkQsH8-OlRQWik7jCX-ZG8F_3Aj7h2jjiIufjP6Ix52IhYJ6ClFYUjrLhV05e1rwAVlg"; e_fb_builduser="AcK-8DXeP95412bCpalrC7t3TPiS-iWwl48LlBS-UtO0nm81hZk2qwm5VkmJKN3YHsw"; e_fb_httpversion="AcIH10mQlEhvH4bd0grJ14qw5qW1PsFBgPRROeCoLhj_awfbMWqM77xLC0CU"; e_fb_binaryversion="AcL5_Bse7OIhHYg4pyG0z34BBgysTpQfC0iCdS_qV227r9TDjArgP2imx89sBo6jwNJlg4rZZRskH1QEoKiH8HPqAs4YmGf7rDc"; e_proxy="AcKFZYsz4Zk_xfwYAJpyKyBlsHZp2LyayEA9bnL_LQStHV2Zj7hOgbY8B7orYOUcuNBpnwOzb71wDtQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 11:59:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:20: Error on send one message facebookId => 6827150834052799 03/18/2024 11:59:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZVqv0a1MWlWnYrYpR160zA" } } 03/18/2024 11:59:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/18/2024 11:59:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12402738, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHbHqxDzHPW8KmraZrK-uGp', 'x-fb-trace-id': 'GfpcoREwZ0t', 'x-fb-rev': '1012117849', 'x-fb-debug': 'Qbqdi5YdSST5xsdcvysF1M9AmIRpS6x903UtEgrHbXYZ7dlkSLRp9ZQQlDbPr0PeDOaoQH9aI1OSoV+ursdDrA==', date: 'Mon, 18 Mar 2024 11:59:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK_l3MFeh8PqJ_GydEbC9-RRzCIRhsGha_ouP1NOzcQ9fv-ee7t9K_ngVaQ8Q"; e_clientaddr="AcJIpCpP5OcKNjZxV6DvAwQ8hy0BQ6qAVe0yAxdwAb6IVo6Xdsp7AJtPkv25YgbY44rBRd0D2dkl9iOeu4CI8wlgKGRV8k-MNSn1eck42s1fxAtnVg"; e_fb_vipport="AcJNvwL_obZ0HcUDpr5ZX8vZPsPN8C54zPYgTusPQzBt7VwlrJewKwMdC2I0"; e_upip="AcL0dgml-py3CWFXhSAzFp88m3dSDd0w2iyR3fNlQrja3fhi-pN6-Y3pva4m95LY-W1s8Qm6I7_gQC71_-SyrCq6rTW8M9BeNg"; e_fb_requestsequencenumber="AcJA6Qt6zWkvBfqAQ04r1fEkpKx3nDVBlJbSlcRkqpKbEZtQat3aUrOUdrFHeg"; e_fb_hostheader="AcJrh7P3cB8naLWYGPBu1yVX7cbFEzUC_3BAccAyieToRic3yKBZub5K8qFrPzUk2NgxpFGXy5wFIGgi"; e_fb_vipaddr="AcKad0L8aH5BWnzF8A9j5IfujIqE0Ti7UqJVu2lLauwWk7x56OnoPqHX77-Qy0xMzoPuX4yKTGv6l-bI0p_uLer-OGstBclPHw"; e_fb_requesthandler="AcKOXdBRGKg3QINOM0lwYhvFYadIucRWoPbDBOwh47O5BBCKIwZjo98ksmX2_U8TsCHqzsms-B8"; e_fb_requesttime="AcKvQbonLDdQCL-YcntqAGoN3hp2DisjKcEzPVtuAg7Fofvsn6Q5aRlNaxmCaYfbH6-iEAjWAA"; e_fb_builduser="AcLdr0WyvufujTSeh9Df9H1T2nr3kIj4XfD1pJvgxru3OVYWtVH3ayM04MT27xTGsEE"; e_fb_httpversion="AcJ7MWxJKih_KTHp0irg2Jh9UuAwm-L1Qb2L2kiJLwr_tCSht_LhHngtpold"; e_fb_binaryversion="AcKAghNIa33-uVY_6OBbnCOjDAh34BhICQ9ODuHBNHa4hzSp7A1Vmxn826Yd-9cfvggUtgDG1RDcBwI6_WCn1r3HPjc4j1tvBfI"; e_proxy="AcKvFd6UPnP5CbxWAyhrQi4pjQVtfSaQAG5KS8SFIQ8B1yHyMm_OllQI1ABGM_Qqe3kzYOMCVjXSMHrcHMmp", http_request_error; e_fb_configversion="AcIOiE7gn5xGb_QOXAgceAPgeiu47sxQuAUkvy5RbPYAYU_b8iKzG6vlkIpRiA"; e_clientaddr="AcJ6zxkDaQx5XlRBPGBTR5H7TIkzL51fl3Ng-naKKnS-J70D2XnpV3T2_oP6scx7muG-Uw6KlA1WhjOYLA"; e_fb_vipport="AcLvcAh0fESfzLmtKrl75rudeBQlDDbGJaO9AVdyKbKOKAavWTr6CYfGdq2P"; e_upip="AcKpQJJslkSGyiaVRFW9tO_lmJliGQgakvU7TGxqbFhvJlJYQNzNTFyBWcksGybs_1eQVrsZLl7CSYQOGNsH-Bg4J4_gANOAgQ"; e_fb_requestsequencenumber="AcIEaPe1TeB1kwZhYm2aiepf-ndgX-AXcx8gdtSOGU6_rwsOSNa47wIGgQ"; e_fb_hostheader="AcLUs5yYhX2vqVHAPrWNeMRT4iNbJBU_LTiQ8fYPO2UonhtupIsd3qQGh4bg-_kaFh5T6qM5yF3tqQ0g"; e_fb_vipaddr="AcKWRrNki3f36DJmSG1xBqDaQrlANXk5HHsl6MtDQXI-mVg4iH7bs6GuZOyKy6hFwTUFq5XOdg"; e_fb_requesthandler="AcLejwf6g3Kw59q5DR13_ma92XgKr1BsZwPPuPhwrxidEhq2DI1TQGCSNoqcG2RhG11W9Ak9EAE"; e_fb_requesttime="AcJO1U0pnHjI8MgGrn_KhVOYUwFj-k-ElaOo-ZZExx1TJt2CUMV7emujYoBYKju97QodsO9GMg"; e_fb_builduser="AcJyDI2zUM57WJXODSRzE-wIwo_1PJ7cPOgbj9KFFt0sThhHk54qUZ4893r3TvqTlb0"; e_fb_httpversion="AcLu-A5KrTD06pp-71slPzLaDgxDitNRudXrn4KN9Lh2O7Gb23sBgjK6uMUY"; e_fb_binaryversion="AcK7zMcmGH3Q3QN8uoMVGp8YGSG12e8Pp1wDvEqn7o2fgAEtHBB3XWpsqjfYc-3-EefT8fEToANtZ6g2z61adGa9VnuaqLGRmpI"; e_proxy="AcJN2R9ztqUYEEyn_v8FmzpMpJU06ju_u77rLW_NkOMRLj06jvnv1T_rUaUQ4TLK8Hs5FraU80MKDd4"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 11:59:22: Error on send one message facebookId => 6827150834052799 03/18/2024 11:59:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ALVV23I_oRMhnKHTM9f5Lhd" } } 03/18/2024 11:59:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/18/2024 11:59:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 11:59:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12402882, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5cWT5JAylM3q7gcoo4LE9z', 'x-fb-trace-id': 'GNHdbT7nV9e', 'x-fb-rev': '1012117849', 'x-fb-debug': 'EHkH1BG9XvS9BMDv+3b6KW2B95FZDNz2w9x6czzaNsJQYJvrPcdQTJq5J2DCCUsEeaoymfcZe9AnCC6+WjC0Tg==', date: 'Mon, 18 Mar 2024 11:59:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ2e9-b-xh1NIKAqIqxRQhbnWH2czw-CXbJ9ngJ8seDyFBYtts3Hl1-RZOm2A"; e_clientaddr="AcLOI75jnaYFj0UW9DNjmO-F2D_57Z423fVnIsuvsIKzB1l8sHL2VdoYETgKWgj-Qlp4PlA1uD1KJbvMdPuK-5G5nW0g8-RBWH_tAZY_zB5c40R50A"; e_fb_vipport="AcLikDrLV8USzm1hfqSFUIvlZzOzVgxXtYNLYchTOwsKYyRjBJCnK9gqQo_l"; e_upip="AcIzqVHk0MEcL5cotQXWf2AMYV79UEbUgZJtGfq3JS6-hmzc0g23dOE65oGUbCECzWhNj6SRk0MmEcOp9fCp6yj3LICqAsYArp4"; e_fb_requestsequencenumber="AcIwCAIQRtbi8YHNpxgRddim_JwkPD0_kuS3LquYZw70h6YWkG0UqVV5fKEtEA"; e_fb_hostheader="AcJSZRzutg3V9qkFCjya7g2_SpDVQquvLe3KMWaRGZhi8FMScH9S4qYzMlkKaMGkLFHmmcQaKftydtQ6"; e_fb_vipaddr="AcJfCk_ezHaGIOxrpkT2jNySSc3bbcT1bqqbRPtirWHXapaS5VILZd0Pj4XomKEaZhG-F5G3giz5KFHB0-SdbC7VTG37EOiTzg"; e_fb_requesthandler="AcI_746KlQcUt7MWIkOw6R6WtJRg7_AuJn_IIHOJFoGAlhJ67JefeGxjNqy7w7IySyNFgu5rDRs"; e_fb_requesttime="AcJ9nRXPkb9Sy9wKfnnT0lcWoV7tLFId1e-9nm3iwDG4dreOvwKlCirCbHt3HWSMK2z24tDKHQ"; e_fb_builduser="AcKCPWLBSlBbuF0EvkwhuPtEXZR0I0WhC_pFJ8A0jLHJl0TU1NvqNRYxULvPoQmNQC4"; e_fb_httpversion="AcI51zjEdsw-vJ0K75dRyyLM_6zkWzZiCPgebtDecH_V6jAc2MGnXcB28AVD"; e_fb_binaryversion="AcKagBEo0sXXRSM0NlZqc94bGD8OOKLlMAVQQZht10LEMS9jWJJOeP2PyuEIzuWa5g8Q1hlrBbzkw7Ptlx9_NuIfO4xW60KK0BU"; e_proxy="AcJzLxwS0V3nORQS2tFI2sHQQ2Qt2Sd-BmebCclW5zem7PddyL13D3UmitiY7nvZ420LuvKRW7R8po4jgZfl", http_request_error; e_fb_configversion="AcJf5jDk7sKpWqYhhBe0TlABA39RPjPV3o2yp1AMr6R8-bl7ApQlON4xghybkQ"; e_clientaddr="AcK0EDYraHGJzAulMHou0KpWHRyxIHKroE60h1FSmvLOIe9ZtLmHgZGCkkJNYJXq7vFQPt7J2qlWAx1imQ"; e_fb_vipport="AcIEVXMbXdH1xcAXQi7FzodhRIoGYC4mdSPzYAnFwNwb8W-mfZi7QEN8Ibd7"; e_upip="AcIDUlO3e1cxEmYI2aCMmWRDVTa6toOlXOZikFNPA8MKZ5AFo29A4tU5--64J0M4i_o0o6pITKP5_lwE6_lDrGx_WQTTp1NWEA"; e_fb_requestsequencenumber="AcLzOIp7ghtnd330ncC2ScwcvJh_XaZOA96M2Dxg2NAJFi1Fi9E-SkGXbA"; e_fb_hostheader="AcKkO748J7Lbbwmn_5DGmgCn2dOGp2TUdeoN3k8VXC7d5yX9glle0aGtLCSMLEVoj5N88r8TI_W2015t"; e_fb_vipaddr="AcI9WzvgG2Zm2-gyaLHg4ctuNKSM4KunXguEnh5YN8QGvyp-4NVkY1HtL0zwJNm09NgEKiweCw"; e_fb_requesthandler="AcJB9USzc09qv4lWQMNzs_7jBt2I20RiG-vpgiR5LWCUnP0ZlCkHDRFuQKS_or4QBrsHgvHikLs"; e_fb_requesttime="AcJ_ffx-TR9KvOwh6PKGtR-XJbMfZz5mWu9ls2YWikLoj9aWwnJPeOfhqSvPLKExxA2lI9Xm_w"; e_fb_builduser="AcLAB4ur5zR4e2gB0z__0rJXqU2RJMZwXx3nGW8dsI0s32k7Pua0txCZn1PyqWzMcPc"; e_fb_httpversion="AcLiSnrEgTqBhZXx0FUZ-GBWx5k9Yt7uf9QKk8ZB62he_6TmP-4NcjzihS1k"; e_fb_binaryversion="AcL62j2bm74EQBrl7Jeril0efOiSccCylfbTjZXFimsOl7W8jhxcM7pU_-xj7ZnQmzRRtq8sI1-c6FjC7QH9VP0_IY6i1_TTvfI"; e_proxy="AcIeEuPxS7xCVMr3e0uVtKdh7hIzv45j6zA2--GStkbRlMMAlWD8Q4LP-sqPXg_0dSd2RPVBUXraSk0"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 11:59:24: Error on send one message facebookId => 6827150834052799 03/18/2024 11:59:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Arv2XUCAwMixqlmf6PROOoq" } } 03/18/2024 11:59:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 11:59:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12403315, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZ8B2saivpazx1rQ1sWlWdd', 'x-fb-trace-id': 'A2bJxNMQodN', 'x-fb-rev': '1012117849', 'x-fb-debug': 'T8gqrMF4J1CZ/hijh+fXXEqisyfppXChZ0l+uumFFc0c60GZ++GnBAk4RYLR4C5/2gYQe0PE2+KcU1AshfJy5g==', date: 'Mon, 18 Mar 2024 11:59:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLpEwvdnphfnJYNNVrp2chDoFwWebhNfdtg8CxcXGIuruAauZSQJvQA-mlkvQ"; e_clientaddr="AcIHEiTpSxRDHTIEOkE5rTiWTrzp79ByiCHx5KfeYqBK4reC3CvHxhyXkfGScsVLaPeripOiqDu0T8HsZJzpAWveBQnNGARWV6Hmy1zbDP5xYWSZ"; e_fb_vipport="AcJ7rxzq0f37aOUOYoe4UhApVLJsyuNFze9NMSXkyREx482277aLZn1Ze8Oq"; e_upip="AcL9JsxtrDTVvjbW4jX9ncMaO3k_sL1g_o8lCFHtRQ5EBZK7PwdVF-hpxpo-NvZgI_Izc5xJcO9n0kwleQmdeuGXTInBZzn4xQ"; e_fb_requestsequencenumber="AcJPbFmJNIkVz2jwUS88oMb2e7L6aJyflnNtyn7ZhEJHZ35rzpnaRp1tcCCsuw"; e_fb_hostheader="AcLHMMLxp6ytwQ9RRkBQhhael_EWvNde7Q27wl2OSHWTwXx3x6-e7Rcscsxj8NxUvB6-QbIBQxI7sN3S"; e_fb_vipaddr="AcIpy7uKv0Ciijel3_3v00Gyegn_zszYxzcgMZzsc1Rpe67YBRe0YgQmzR2KO5PEJYf2vbHrWm8Jy2Kme2OECr8URzHNIsg-2Q"; e_fb_requesthandler="AcJdL26hdGyvtbs7UNLyu-Ll6GVSVge7Az8Lt4KNz910AnB_EOuopeLs0psa1T9CgVlj9e14aeY"; e_fb_requesttime="AcJ0BwgYkyImmQ2oB_sHerQd45dfrc3CrAGV8Hs7uITO2Dd42leQMOA4OqlYUSz0cCKG6DdJXw"; e_fb_builduser="AcLGr01cNQDeKLhs3JukdRLfOjgkx0VFzc_leeprZbSUdnO-fOfwcQ8PsAOKe8i_V10"; e_fb_httpversion="AcIvpFaRHW6K7q28x-U2qrqIo1qeYOdSt4HSjmPP36SNiOPX1seaFE0_W-tW"; e_fb_binaryversion="AcIR41fELVVKmZIbdjNK9PQIzBZFntdeVHqznmYwZD_n_qWbF2IOmXCgiJSAdcs_2AZTac9SGkv7N54x66DqXxuFs3nZpITbsL4"; e_proxy="AcLRPaGEHrLV7popq9iLsx43GfLHwQml_fF_nCXEws0RfL8hiLREcoWkXBornGhAcYK4de16hesKMcrlHPOG", http_request_error; e_fb_configversion="AcLtE9ul13hcxvItiyGd1wXcQ41d9ZxKy5o1iIFfFeoVEy1GaoGKPmGGuH-T4g"; e_clientaddr="AcJbV6IOSZQtU67dgvYR87Vk_kWvaC-ca-hl20ZxlyyRoKh04dQyq0tvekxqRrDyBZ0aWDqysto1OZjzPA"; e_fb_vipport="AcJoOCKDCLpTbvgGyJVugFx6vMb0s3AR3NPNlzCZfWK7jh92ix9AwKNyAhih"; e_upip="AcIHClsw3QmQ9K3adkwf7pcKycQFEhveKoJD9heaVDi1gHHvD-HjszB24CqVxPPLcqixog4I2vz_kWhBop0RrRB0td4hicRR9g"; e_fb_requestsequencenumber="AcLbHjeceyK_jYDcU2xadpqareEDzgbVNiHKFpqip3eiLo8pV6TmDMA_Pg"; e_fb_hostheader="AcJlz-9tiSayPUx8yIOt5n8WK7vDIkIj6ko4FrISnlzPOw1vDfzq-z_esNJXhQqkg5j3VfW_lqtR44bF"; e_fb_vipaddr="AcJ1UQFxiWScPxyohFLohFwkaKOq_LPW_QR4YaOB9YB3pQw8I5SIQllhKNKr6BVNL7zQv_7SFg"; e_fb_requesthandler="AcIqTpVEWC-U7Bue7Wv3IyAc4sDPQv0PnlOPuVHSdHF1OranPXqnG3i1EMHTAMoCBf_GM06T_-U"; e_fb_requesttime="AcIrM-iWQe-ZewubTCYnr6FuCFEtRg9oiPi5S8YZUqeNLyN_BnFNse_BZT571J3ltJHMI5OwHA"; e_fb_builduser="AcIeJPbDPLzR3HCpZIDMxqSS5Rf_ANURfkA-1c9LNST0llwCC1gjxowg1u2Nr6uuit4"; e_fb_httpversion="AcJ3HjqlJfix6mZT6vdLrSt2mOzeLmYFn1tlEimmfEO_WA2NhG2Mds0mBcp2"; e_fb_binaryversion="AcJTrI-a2FBpe8prXq3lZLy7L5SCFZDxYf0i_LWwPJLiY0-HpiCu68UjR7juW7jaXeESp9QMA5jNz3ebyvHXRL9GyttSX_35n3Q"; e_proxy="AcL2jNgq1i-ww2OA3F7pppxRe0NZMVsi-UZGZy_gnvdhMv2YKKpRVmjqKBxjp5AsRFS_5eLPJpxRnHs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 11:59:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:38: Error on send one message facebookId => 6827150834052799 03/18/2024 11:59:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AtYOToRSXz221R0uMrVhIuK" } } 03/18/2024 11:59:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 11:59:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12403453, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AovsBCz1Cy8K1CGIdSsd9sj', 'x-fb-trace-id': 'HJugrqsmTnf', 'x-fb-rev': '1012117849', 'x-fb-debug': 'yUshLS9cmn0eh8XGf4PJXTqEAtlMUnDNcO/+UEPHqbfYzM5jG7g1OnsUTI3n5Nie3lqwSbZSCAuy3mQRXbzg2A==', date: 'Mon, 18 Mar 2024 11:59:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ_mkKeS3q-ag7fTOdQZDAykpGLoUzmOKnE8vPmfspiXwGEy5egxF5GsDi8eA"; e_clientaddr="AcIjBp3izxr3Bhq2n3J9Kcp-rsxdfODHFh62w_vzJuloHYPosLMJlk8F8F1FoR5MGNn1zqIGrNE-VR0UUG2zKkSPuPZPxKw3x2tnM1d0mCxU75V5kg"; e_fb_vipport="AcJC3PMgQHLceQVXr-KM9R9UxEwD9ae-Pyp_Y7Ftz8YjxJdEhNZMrh3OXDuy"; e_upip="AcKxSo56wlV2qipQUBjzbFuh2iNh6ZGzjSv5W2VnjO6BMrHgCECO5qT1nHPLL0WRkh_xO2OLdWoxEbHX1FfHgI6HJdLzlQTdkKE"; e_fb_requestsequencenumber="AcL0kHt_coNSMKTnpGN2zSNKk_cnPzV9VAh-TD8ZNzkvtGy-S89xsqM3-98d"; e_fb_hostheader="AcJ9xDA0lsBUOmqFwpvffsKjuXcDk7NVk916dIRnUF0tTsZDGmapsHR1RAgfP7HM0e24peLqMNPlmzYG"; e_fb_vipaddr="AcKg6UO7PJnRmu6Nol-ltIBnxnAwEvDWlQqizuopdd1AYBmXMj2dlXNPSbO1JkKSSpiz0xdfFKotS-BnlgnNXxirV5BsKxV53w"; e_fb_requesthandler="AcKmUlUMhzllXiA-IHhm9BH7y-mDpBwuliKP6cdupPoVm3zdEfd5LLRy4S59ayAzUjjwptXIz0k"; e_fb_requesttime="AcKMnq8koYdvwMIL4BxKkx6MObDlQ_Hy_D2qXoxvq4NkvQ_YZWJ4JGhajXh3xKxBkwpBsO-QDQ"; e_fb_builduser="AcJRiSpo2wxsFHYAmrnVSE8q7NwrgiFApUWcliGQyLV22IggknjaipBVQyiWgf2QPzI"; e_fb_httpversion="AcJ8oW4cbbxmI82Y4mQ-dtuLTAV1LKstxuJoY2-d5CHHx8LoLaWk7nxi_o1D"; e_fb_binaryversion="AcJz805PTb4NZkUYm48KQT284lqPioEXXUt6kyYPbcXmcqi5x48Cg1eJM1meUIjpBzsHhFCHbWZFzF8STsUXRmGoJ26zKrsfWPk"; e_proxy="AcLV3QII_mYh4Vw0sGcRUeu2Z9Sm9BQ6w1In6UG-GLex_lxi8Vx3NM2XIT9wz-jkxlC3gnwRxN9Sua5y-LHq", http_request_error; e_fb_configversion="AcLbDWjW3-StmKjXiS3h3_GtbG2bbG5xbx8_JOpZDsii87X5KQs6JaDcK7qiig"; e_clientaddr="AcKZrYCfsgzlgFBN1kx2CBajqMX8ATHXjUvcydYrVGDOMnJFO4Ru9weoHnL3wSaBZ8LIlIxhCQY-sYWV7Q"; e_fb_vipport="AcLAZsrk4VGVl5Qok8zAfvnNiY6Fq1IoeYiS4QETDStgtG6hgxE_Q8ghw662"; e_upip="AcIUwhnDXKdEBo31FmF56yPjJia2EtMsoO_US8iPHxQHfmyK5BDBRGZT7GccvLAyhIhlMCUMjtR-5wkuzd-BonqzRBRu7g2oeA"; e_fb_requestsequencenumber="AcI6MQN-U6CWK4L2wcQT3B3_PgWvvhg2Uk0qzJz7z2K7YOe1eQQu-i5dBw"; e_fb_hostheader="AcJJmSq6wIRuUqqu9SWbg9bJr6ERxZf-kaVf2812jN-gygyvTcq6hSXKTSL_muj597GE_ZRiDoSgn-Yw"; e_fb_vipaddr="AcKSt1gyjQkEkEHZ4A7RgPevE3Ci_UGt3QP5MShsJGC1l3ITCc519ET-KXlm2jJ7BSdHWViZgA"; e_fb_requesthandler="AcJBtTKw6H-_p1ssxXT_WUyrxynSlfBrbb4c4HP71HDcO2gLVi6FE14RM-mu86if2pcv3HtaMQk"; e_fb_requesttime="AcKKM6pQZbHlakr-aOUZfRJ70CsStSmGeP4wwET9gJUFP_wKAzu27xdBAuCIgvZ9qBZ8lEkH2A"; e_fb_builduser="AcL4w8wpr2TED7BKsGwhj0GngGYaC-YobEc8vp9swF0gE8yhUmaU4APD5XwIoqV7dG8"; e_fb_httpversion="AcKQTWC2AxyoVbm1y2Cl7p-jbxgUwjqUTyEPqc6vLrvF52oFTQodwpZz-yO0"; e_fb_binaryversion="AcLIyntZJ4jTcxpok5ZWa2Rs9BrwLJBwDTSdPt6ccmgKovtSzSDSuU54MgoZwKQuzZY7b65m3KN37h3vhLJRtKRp-uUQYnO75tY"; e_proxy="AcIi5q93uKdJBFIQqj-f9WNteosNso1GXt08CUTs0C_n1Tp5IvaViWRlcFdPoTQaYGnN2AgaLDcPqGU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6827150834052799"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 11:59:47: Error on send one message facebookId => 6827150834052799 03/18/2024 11:59:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGrFqg-5gYHQsGCl4Ez8vqv" } } 03/18/2024 11:59:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 11:59:59: Error on send one message facebookId => 6827150834052799 03/18/2024 11:59:59: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Akm7R7C4k858kNwSj2ltYgA" } } 03/18/2024 11:59:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 11:59:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 12:58:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/18/2024 12:59:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/18/2024 13:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/18/2024 13:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/18/2024 14:46:12: Error on send one message facebookId => 7534165989972745 03/18/2024 14:46:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A3FWtCcUsm7yYK30Hs4Rcu1" } } 03/18/2024 14:46:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:46:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:46:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 14:46:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:46:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12441777, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALJ5_9qtWzM7oKqzlIbQQlF', 'x-fb-trace-id': 'EIpaV/C+2+6', 'x-fb-rev': '1012118559', 'x-fb-debug': 'b64ddfx/b+1hQGyufz9gScBXdS07csgE0nuLeJIeGZsU/Ur3KYo8EkI4YyZfbf+iVAI3fekJEI0jBEDLeAPWTA==', date: 'Mon, 18 Mar 2024 14:46:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJUN91l25rK4BTBeh6m0uwvaBf94mne-U33d5vQvvk0ymyyDsvzinpTOr1KHA"; e_clientaddr="AcKW6MgcKKeiUZH75e2fihv3X1GqDxTastHMl22EiPaDwMS3k047hbznBA4tOt6uY3gMOK8WVhVbry2ld7D9O5s6n7MEbAvP32rBF6_qtN3uoi8xUg"; e_fb_vipport="AcLnQKs35KqiDMEFL3tKDRFwmC3sNnEnaZW3D5tFV5jjMABu-1cKHeQxlfIY"; e_upip="AcIzLZanKg4gq4qwj4sMDUVIAZiKfkBtNX2GbfU9xnhhUwIl4uclZ6UAjkYUFOc56NRoSzn0av27z2byklVQlK2Toiw_uEMEvg"; e_fb_requestsequencenumber="AcJ2x0Yv3HNW0Xz-fvVSgd2HbR4Z34L4SiUblmmPvYrDrELzCIw2QYvlxMJKQQ"; e_fb_hostheader="AcKmsVgQoD2jzL3kIRJeqg1IIsfd7ISWlo0biie9bCVp3TgOLTxHwXVGqzLYnsAtuoVBrUt0KsUnGIOu"; e_fb_vipaddr="AcKwx666lDJGSa3pCNeTPKNe9ZnZCOzcV8UGgadr3uqYGdJY5kYWPirBrLxSgJR3FUGBlZvoclcelB6iyQTnL5YXVSloB2q9ag"; e_fb_requesthandler="AcJQQSXs1IJPWKf08Ps2OEFyXrvbMS3-wKLg82VLFrq7ml-KxHaxag3_TuecmNhgUy-DUmtJ49U"; e_fb_requesttime="AcJRaP6xbfbS0BTq_47RoxzNvRXIN_cayQPpAqs-L-QfsbPEmaI8iTiTpvNU8dSB2odOYi4KwA"; e_fb_builduser="AcLdINl5LYX8rtKxYVrlxUC4_A9oWPsoSgNq7qIGVTBTkhiwhR6os1edvi61sey6osg"; e_fb_httpversion="AcJRd4yhKUHaSj9PtmIOtQ8CU5RSaG1kwo1Ifw20efd8hql-EbSrH8XTfPJX"; e_fb_binaryversion="AcI557VWNV4uxwPDILTqfjfuFcRIRdh0GcXs9FDKVnGO5Zejpo6SRP2pcZsGbQ4Iue1ELN_zq_oaOOmoR9Aj-kJFjZqtrw50ol8"; e_proxy="AcJJ7h2bsRtzqLsR8fEoWwb2c3jxMjip1ueunbOEDXiXuKOzUKNb-yiPu3wJguHHbooGDRax_zC3Mu5ZTVhm", http_request_error; e_fb_configversion="AcJ4_DG9k5eWitlgsUdPnJazeBygzD9TsJwSFeA757J2F0psMp9IbNsmmve8aw"; e_clientaddr="AcLSMH4fu4bIvYF46QkeZZkrn5WNcyLESV776xphN6SWDZvpGSS9fJJd6ct16FLLcxgBVBfh-0cA47ExGQ"; e_fb_vipport="AcKGSyja2_MoaZhfsI7JchdkgxjMKwlpIu4xWa54GNdYti0WdpqoypH5GzyT"; e_upip="AcKN0RDSiAj9S-dsg67VqMMES83d8rFu7CUx5-T40hV10MH4eXIVEwNdCFnBaFuNoo10Zxw-IJ2-bX2OvTB9IQMFnuGaH6UqwQ"; e_fb_requestsequencenumber="AcLj9veieKnUoCuW17FQ8k4MZIEDV5KBXNwXvrNSgcQQM-8HL0aRyZkMZA"; e_fb_hostheader="AcKYvCDX6Q9pJ6DW1SF5AuO_GFjVekAw-d5CMRDnUNGMT-3UqD-RJ7c75v1b3eqbN3W2j7QEWsfT3V-z"; e_fb_vipaddr="AcIfDmVDcrz0NtNUnC0O2Yapy_oTrV7pJYq3AmiQXRe4t5vAi4SikpCgTxS86KEgtKbjf2zERw"; e_fb_requesthandler="AcIjbQKmECH26SUdEeSgGke7m9QkeVWmdCHmfUbjwmumHpZTvFWSBaqlG5fEfnfTEzyHiqdyZLA"; e_fb_requesttime="AcK9Cn6aPoFepXqIsOs5uvCeHXuDpM6eZaxK7g83WPn8s2asF89HhOKnG_B1-hTwBLYVkhHGNQ"; e_fb_builduser="AcKuzbKo7t6UW_nsI__iFrQu7kxorlKliIFYN-zy18SEzwWABuqOE4bJEe8Lsj4CE9w"; e_fb_httpversion="AcJTtlxJNB9xPxHUmAT5m1-n1PsTSNnqiZAjwgQk3FQouspUTsdGa54PM82h"; e_fb_binaryversion="AcI6_RJ6iGMWl25M6sy4VW17_xqnzMWPdAAIUwea7YYDijASGMLN1xy6W6_mXg3y2547G-ZHBZP3U_UxiLSXE_YLBvvRZBEcguU"; e_proxy="AcKEVTkNU3xU5gYGASA4iKk-bs7XOlze1BcedVApfKspdD35o1Bio1KO-lKnOP9pH0oLnFvV5CkoAN4"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=190, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 14:46:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:46:25: Error on send one message facebookId => 7534165989972745 03/18/2024 14:46:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbjpVMKc3aQShs1n_Ffqqt3" } } 03/18/2024 14:46:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 14:46:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12441910, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzUiDEnrlnMjBfVvZVFI4vU', 'x-fb-trace-id': 'BeEal9xQSsk', 'x-fb-rev': '1012118559', 'x-fb-debug': '8anbELXpXc8vSqqA4jYgyd4mxAFT9qCZe42mlBgPtaw9V2ojY+lIh2dfdKmTKw9NxfzrrGw1ahZWhN1FSyEzAQ==', date: 'Mon, 18 Mar 2024 14:46:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIHF0sz3drf1grCLLcvwCpj6KZdLKPpfO_Q566nnwdcrhbyTxWPYQcwtQ0i6g"; e_clientaddr="AcLpw_-6fBPXYHJsqrJEZEexZ640FVW7Hvsx5knAl8Ab-b9rxYFMD80VrZHabvcIteE1xfbuQAVv7a23q5Vc7qPQtqVa6iXh4QX7phRPGsbZ_v0ccA"; e_fb_vipport="AcKdYrSaEWxOVtHR-1AE2V4XZGxbxl21Q0Gb60Nz2Sw5d92M_PAFbNP5VvHo"; e_upip="AcKiFBj9yzysVWPY8OeOi9Xdp0GJo_SFL8xt-YPoG_FzPgcOCCx75F4MaRVjMbnZlNVx43SsxMFOxP29Id1bV7kpcDktW8m1QRs"; e_fb_requestsequencenumber="AcJ_FOdfQEj_0bixiXW53pRkbZg1atVvadW-qvDbqGZdz-lz-11WwHOA-033"; e_fb_hostheader="AcJRjOssegZ-IDSu1T8hm5mLVpf7e9T45gmWg94tPQBbYPf3ja5fIdiLbnJus0tHFRa7x3GkZSXdDrF7"; e_fb_vipaddr="AcKtFCjiHoToHkrcVpqW0Ftby8hlOJ2zU6JLyBDkWzWkvHq-cESYy0Mx8DuQwp1rDfVgavtTPnmrexugN07fN5GQhQ7ScIZuOQ"; e_fb_requesthandler="AcKAjIY0audmQcBr1zMrxhfUvjlK8NJp7u1hsB7oc5lrzHkofHWN1c84g0pvATd_iVRh_xbtWwA"; e_fb_requesttime="AcL8WgE6rRi0wJEJK2QozLWZLjYl3_ZSSuGO7ZQPYinwQtyXoQf8sekmHP9ubXhuHLSZRO8-1A"; e_fb_builduser="AcIwcBlNwsd0dSYwmI6zIT97lJpGvq4LiB_oqa-iCPazp8WtTaCGLvAwAVPXmRToV74"; e_fb_httpversion="AcIX551PnFanhdFXb6VfXMTpy1b3-hbAHc33yz3DoXjCr3az2AOdh-dx6ZZC"; e_fb_binaryversion="AcLxklMZh7CGyZas3ziMIPZ414z4pEjPlTARfc-Wgn1FmZzkR7UNUws9GpXdVxl5PdM_9EzbLhcOFWm6bb6p17vau3Vdutqz0Qw"; e_proxy="AcKBZsWkZ2_PjdbpGeK_DhBzJwzvaofFJTZuTQkFl6W22nxjQZa7E42G_7WOnvqkzKD4YoMkmTBkglK0LL6i", http_request_error; e_fb_configversion="AcIYOmOO7pHkzzhBVAHdnr966Sh-_EIwh2JErY09q-Zn5KovgIjRyFILei5hCw"; e_clientaddr="AcL2AHNeksOmw2L8tSwva-4DTZcJWcMHs18TUc_UcL408HaFAxqGJAjay-jePLrPqfNLKErULtwDlL_ryw"; e_fb_vipport="AcJ4zXbU0IyqnFgV0dxR4LCNGtmC7QgC_0kJfVHwYquRv9Y4c1ZiF010s0Cd"; e_upip="AcJK81rYumyUvK5wO19CPgFF9a9zL324rK5CABbUapSnJaU0G5IUGbj3siWz8zSEqmJunaJSRBgOWDlFTDyFCWCqaQuZTnBSlA"; e_fb_requestsequencenumber="AcIXVyK2wT4YJ233seQvnxwIoS29-mIBDAWQF8-lAZ7Ygi7LUcyTbH6i1Q"; e_fb_hostheader="AcKKUk4c74P0Wn-ldwmvE5tV2904ZWSvuNwq3ZqmcObWn9jgZk9nqY-ofH2TLg-Ub8_lzoDFq-bZi-0M"; e_fb_vipaddr="AcIcsxWJHCnqYp-ZDy9peqYSAYr4qbUrEDYkFjvM-h98sFW2Qc4vy3l8-MVt0lfqtXPUwzjbCA"; e_fb_requesthandler="AcLAPhH82o05GEVEsM0uZtqNsNpyYMMs317bn4f5_EmxNcwFDrWQPwepiErcDPEeS2_A00baGPw"; e_fb_requesttime="AcIEUN0UGw3vYb4LpGn9B-1gBL02scGrqRhy9YSI5d9kv0-BjImWdZhCuh-y75nxW-pH5y9gCA"; e_fb_builduser="AcINxAqSIl7p39dJBVAjMP0C4DD2Kda2_6qDnrDk1n9RLUkq28p-Kx1CkM6uUo3LdEk"; e_fb_httpversion="AcLmMmgsLxg5265rQ2auopiwQa2zOvk_Cf3tp7tiR_mVGofVAl0mA38J_yyI"; e_fb_binaryversion="AcJgb46WpMfTJcYV1xyFG-gPlR3xAx4BRH9F3qkwdMNNkA-8UkJ6Ji_hNkw2EUIRPQuiApD_DOG6f51KK1Zcdy2VN3owVZr1Fuc"; e_proxy="AcLJVWe0ayWn-3qd39aqZWY2JCYn7vAf439IonsbpCtcGwRNxPiJi1vREQrEUUg004QTFcMaBoOrnBA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=194, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 14:48:34: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12442404, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 18 Mar 2024 14:48:40 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 03/18/2024 14:48:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:48:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:48:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12442505, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASv3P6voV1zANzsJSrxw1q3', 'x-fb-trace-id': 'Ckno5mNy4eP', 'x-fb-rev': '1012118559', 'x-fb-debug': '+u4TtI3PR2rMKCoprgprn86Y8NEJhJVoQhboG1DixcjBja0Xix15jZ4Dp2yExTvUidbd67v3SieEAVb38y4m7Q==', date: 'Mon, 18 Mar 2024 14:48:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIhqPpyJtBjHEhdu2zFLVVJr8IPhxZQmg_W4KpPmUQIVmhYSXWBjDHZlHKDFg"; e_clientaddr="AcI-5SGw38I2i9HufU4kLxtkVOPPR7xht1XHTH1oQhJnpK3TKs3mSITix549rvmMnVj5lnoGEINnplZLidSPmL6jJmzL0nw2wRhLZ-k4tCaQDm9oIg"; e_fb_vipport="AcIUR3meZn5lLm4l6fdMP8ROO4xEjxvcqi8iTnTblq4yRnpyxi6HFvNM-mNn"; e_upip="AcKIeX_utW23K4DaRyt1dwxu9Mi2jiJ4_S8XaWLM--qzVngrF2OHf-zvSJFSKQzgaaBRnSfFR7L-a7kkzdfwM9oDHOnwU4bKRf8"; e_fb_requestsequencenumber="AcJaeZ2-UjJXfAZj85mQrZzehtrMCmMv3S8em1ZGxbQkDYY4fg5eOllnTLcl5A"; e_fb_hostheader="AcJgiUZfsKTSvA2-qpnteii3dHJB--KpDM2wSuXnBOG0WGjAIor3AoNStBJURRtRLDpNpLEyUZy_Go7I"; e_fb_vipaddr="AcJjomovmcRQ9606KXd8lDLZcuYSgGGeGt9br4h9bq6HtIkcTBJptttJaKOr6uXV6pgh-X6BTX1qR30X7oB8U1YKg7aiKTs_Bg"; e_fb_requesthandler="AcIVPhTVVmhR7Bdq8sGRmrmfGgsNopTnyLKSqMw0HewwLZq9v0jnCmDsDL52INk5ys3ChvCgkXc"; e_fb_requesttime="AcKmmQNBuZzKgUneGo1b4qiPObfKR0PGln18FpwCa4gV1LqdyO1dhuwCnjUzAb145ocjwfEnYw"; e_fb_builduser="AcJHxycmx9RbdQQMq2kzmLQmN2JABnSSIuIkYwRr3ULmKJ2lb8KbeKZsbEPjRuGj_z8"; e_fb_httpversion="AcLrTOK-NPDCxh6qBlFIKu6ox4t9QLvTyB9py1wp57AxMyRbT6ceuzsIOy_j"; e_fb_binaryversion="AcLDEccVH7BaxwmIX2JHtJdWATP36L9TZG6VIhffr1aHMTB4LZf1u_KDYTpgUf6HgpcvwpMKKYosvXtedLUzf91wyG8-FWYtCKo"; e_proxy="AcIx2oV5yjA5dy-RxdLSeskrRmOf0i3zxKtRGZvwWxjvtvNPngO6j0FkCicCsAw1lGWwYwwYvsikK5YrDfrU", http_request_error; e_fb_configversion="AcI4Yq-AXHMgUrHeO7o5d6uppqNIO4RSl-eoeouMAYVwFuZJc91Pmg5tAG-LOA"; e_clientaddr="AcL357KsmPHycTMbBU-m07xg5KjXFjcYha2joCAV-jjLFEAUwpLhtNYSteJJHZssEa6nn-Tsdvtp-Iv2qQ"; e_fb_vipport="AcIrvekHd00ngr6S3xkmBSrs0o-fO8iVS109WW9OXqOPT3DSE199KF857ayV"; e_upip="AcLS2M8C-T_-ezU6zVjVex5qnOyD6UbMu-CokqBfsRx141BRvfFBJvLqF6NpXI2jrDyU7HIOKxNfulMTdmJjs9btNp5KhFjpfA"; e_fb_requestsequencenumber="AcJPIDH0bBgs6jPpsE9G4kzGEuQNKcYCNhpFUYDUqas3HSWVXFapU7fqgA"; e_fb_hostheader="AcK-baThsUTtL2WP3PTMxENoyQmSBmKSJyA07UBGCv86BhBZwVSS3edtMDYBOwrdV4TARgoAjOXRD3JK"; e_fb_vipaddr="AcIpMoQfyMkxAyO98HUy4nBQyaMHI0n0T9h3qD7KfUnYoD38wdVJq-97csZFVYF1e9LjHy4"; e_fb_requesthandler="AcJ0qZvj4NA8Vd8VD5_e3YUumiU8dZo6IUEGZXISLzzwqvOqd1r3wbDqUIcqhSpeq0sKUClyaX4"; e_fb_requesttime="AcImk65kZG6geb_5fdM7qo95TajJJvnKtPDkD282jVK76DCXhskyPfxvuyy540wmC04QIDQzwQ"; e_fb_builduser="AcLaUtqQCGzzuPCHMHTQNWgFk5Yzw4jXGFqaRp5IBmRD-ykChv8-EL-4esC6EPK96d4"; e_fb_httpversion="AcJ_cSlo-jNdQtJRRlanrrVq7s2H1CYV8p9g561KS6kViPbWIg47zsyHsyGU"; e_fb_binaryversion="AcIGXOlXO-03rrlWdLnv487lpv5vzC7E4DQP93MGqqPTYBPybgvnpPFwUpYWxw5lGE4tjiF-QOQLUwHCVHSr-q0hyG7x0m-1Yt4"; e_proxy="AcIONIW2p1TpMu5XaeVZmr1oEn1apWB79bvBiLLW7-FAW523MNHseup_yfu6FNZTX98aj3Xw37KOI7Q"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=226, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 14:48:35: Error on send one message facebookId => 7534165989972745 03/18/2024 14:48:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnzviHhny710KMhgFAaoHWl" } } 03/18/2024 14:48:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/18/2024 14:48:37: Error on send one message facebookId => 7534165989972745 03/18/2024 14:48:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4awJUjfUMlV5zu6R-mF7-s" } } 03/18/2024 14:48:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 14:48:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12442676, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARO-FU0iu8FOKrihZWVDFyc', 'x-fb-trace-id': 'ElHXo9XnWan', 'x-fb-rev': '1012118559', 'x-fb-debug': '2uS0dmSB1bcV9U5Qn2KLDrYDCjtofroEptdk8RfQ22nyBMpSFE55lNqOaSkL0szFbYRi/zCjgsDGmG55GfujsQ==', date: 'Mon, 18 Mar 2024 14:48:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL-A0yGeDwN4TIcJmgegji0tjfig_1R3EWA6k3wSFoGYsCnnBaH3h07D-n9Dw"; e_clientaddr="AcJ16ro21MxbCc1q5LFExVunQsuUMYvtM75p7cm4brzUWTHHUiDzJ8e3WsIa_kiEPAVDq5EDwQtNaFEbW1W6YW59BDK-VPK-1-HCJZ_wzmnVfEhi0w"; e_fb_vipport="AcLayi9TKJm66mpbxwrk4tv1kD0Lf6fFZsM_LECUzjU7590ElqEl5jNlEGN_"; e_upip="AcLEuh9-CH6ILqAso8pC2w8hpsI9B3Xi5sGzZbPpbWB-x_bZodeX1Trw0JItH_LoEYjHavkQvIAUFWpeANq0GtO2p1LL4KflVvE"; e_fb_requestsequencenumber="AcJos11yrZ_IZ_pkgeZ20-Sv__ElklJltJ5sL8cFesN9CoasofgRBv4Q2dlnFA"; e_fb_hostheader="AcJx20cwy59YjydQG6rOZBCv85lcOb8IUkApC5M4jm5NNqFgLfgnrUesjyHKb-pzf1LVt07Ks9EoOobT"; e_fb_vipaddr="AcLqJoOSMf8M367n3FIYqfzfvECzlciKB_-KxUtz-5q9Jfx-GuD8WboXPAWL9UH6Cl3h3FNeP0r_dR_XnJuMd9eHejgb-LUHAw"; e_fb_requesthandler="AcI58PJHzLWEEAfHI-Rl7Louqsd-VGWvtVr23IsylK8VOhWtY-7lzCiCEeyUG5YZG0xZ9B9pEO8"; e_fb_requesttime="AcKhNZjsk7ZGlWyoA1zmEjw_XknP1QGI0cgGc9AlTvNwKnsz_MhRGPGqY-0OIrZRKsxRTPSsRQ"; e_fb_builduser="AcLiM7UZXk79bPPnnl94qNGGYPhjw4l2_By2lZ3P2JhTA3Uzp6-UeE9dYlJl8fJhly8"; e_fb_httpversion="AcJuC-imscOveUGoJpDlRdWD5o77V4VRqAzKOx_GDBMZiKSSoxNMKF_VJzBI"; e_fb_binaryversion="AcJRghMnFeuViKzfyUKfPoX71mSTDpKuXpG7FHbwa1tgwB4akNGTqRSHKfAdD-a2kUYmz8xczXuTRqrehNNJRu9RF2lEdAaJOsY"; e_proxy="AcLq0gjWka00kdW8TRzj2uM9TVgHol8h_lMaJuantbjQP93G3Mpad1pcaIiEZsj7STWcsYT_OY2qi-PxT7nu", http_request_error; e_fb_configversion="AcK6pniddwkJ6rW1gZSRqry07eGyrqsE56TQJ1If0lxZLaVwtBDaEPKWS1d4pA"; e_clientaddr="AcIU7JNfkYFjysgtkwzQ3BYBP3rnwpL9OGmOCGuXbEmDvTJSEkQxafVXi3SOOESiinPD_ygA7bLZPK0JAw"; e_fb_vipport="AcL-UhcZjCHfoKHnAclUbMD_RAKloQo3IT-oWU4qLjpYAnlLjgPdQdVgbG6p"; e_upip="AcJkmAaIvDV3ZNDKTWRgo3NXfNPm79ZaZnDuFJnnqv89eLYEC3NK3B1nQEua53YhXxiTs9oJK0b9cIrlVTGr2SMHDK8LEpiocg"; e_fb_requestsequencenumber="AcKCSqFMDiBjkEEmw9anYid-s_y2hEdzX27hcOzVx7DjBbJ4jVbtUkM7Xw"; e_fb_hostheader="AcL53298MSoWFKPrCXly8KI_AkTPt3kcJX63uSeuYDe8uf4jpS4j8iQK4cO56RPwghY6oKhDSPMeOGod"; e_fb_vipaddr="AcJ8wyQxgxWazvg8BQ25e4IsIDgP2WEySWZZhsnBW5CvYul0qYP6aaVofdC3l5G9cf76Kn0"; e_fb_requesthandler="AcI36uHiZD5w1xMnBrdcfSeM-klCTqsFDLtKW1I0apCXPhOOKd6NTikHjG7ztSiYMeu8HofaeT8"; e_fb_requesttime="AcLI5VCieIIWQtqZlrhN5OjV9Uy2a0GU48r2jmapB5UU11XubJycq6uBA1eyrGzprxJcZ_jV4g"; e_fb_builduser="AcI3O9YV2LQ047Zv-acfgwd7VJaumwOkjB9UEfeqRvj2gx4JMn8lwF8V1K60HT3fEM8"; e_fb_httpversion="AcLA9kIBiVvmOSITPlyXR7hVYQ7b2qypCHPNBN31NGnRGhrNWwlhUeVoseyo"; e_fb_binaryversion="AcJ-ApMMQn1oDlM3cRnOVKCQAY9uWMxh6-eLAOxw6IjEfg08_LAb9Rx33guV4xGsgkqvEFmTs7FrJJTCd7F7H8BslEQiYY60lJ8"; e_proxy="AcIUcQTVbLAhKR2SsexOU7lJsisbBoXOOoyWBpBKeB5GVl0q7gmN4gz9rSz2uLnLwVsF5dQ7s6s2vgE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=219, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7534165989972745"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 14:50:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:50:41: Error on send one message facebookId => 7534165989972745 03/18/2024 14:50:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AOORRX93cAGB6ERwGfNiolo" } } 03/18/2024 14:50:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:50:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:50:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 14:53:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:53:01: Error on send one message facebookId => 7534165989972745 03/18/2024 14:53:01: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADwWCFvDnztygpeRLLPMflB" } } 03/18/2024 14:53:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:53:01: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 14:53:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 17:28:38: Error on send one message facebookId => 6827150834052799 03/18/2024 17:28:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Auqh4IUlIF43M8jMRHWX-no" } } 03/18/2024 17:28:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:28:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:28:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 17:29:23: Error on send one message facebookId => 7743914209004291 03/18/2024 17:29:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnCnOAt-sDI_JTeZ4VxaVYA" } } 03/18/2024 17:29:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:29:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:29:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 17:29:52: Error on send one message facebookId => 7743914209004291 03/18/2024 17:29:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AuolxG330eYe7y0yQhzAGBp" } } 03/18/2024 17:29:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:29:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:29:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 17:30:12: Error on send one message facebookId => 7743914209004291 03/18/2024 17:30:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aec_MEQFTgLig5-Hfl-AyJZ" } } 03/18/2024 17:30:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:30:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:30:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 17:47:00: Error on send one message facebookId => 7743914209004291 03/18/2024 17:47:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AwkfZtbABjyQRM_goD3GSc5" } } 03/18/2024 17:47:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:47:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/18/2024 17:47:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/18/2024 17:50:14: Request bot not found: { id: '320637341295349' } 03/18/2024 19:37:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/18/2024 19:38:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/18/2024 19:38:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/18/2024 19:39:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/18/2024 19:49:27: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12498258, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4y89QhMqfUNyO8_jcFE1le', 'x-fb-trace-id': 'FuCB3Gx1o2W', 'x-fb-rev': '1012123522', 'x-fb-debug': '1qkiWs2RvMyO1ZBJ7WU4n0XFcXmkgVjiju+pPWHAc9Tv7ojrMuGaO+FBiKZ4rdEuJTruiYcZcOu0gnrvJ1TiFw==', date: 'Mon, 18 Mar 2024 19:49:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLrnuJETiT6zdEXOEczW9BQ8pt-i6MitTu_nvzSvnKNnjHpf9b9djRbJARIqw"; e_clientaddr="AcJpc-r14NrKb0Htfs44jzw9P8bEzWm2o7FN_j5JDIpX35GmSFP2_S-1P5Jvdnt5tjfWfok0GIMzqy4BLr9xiIAjqaxiOWFBCsemYNeokMdfY0S0XA"; e_fb_vipport="AcK9RfkvY2eksnorWTRgwT5uV3UZiXnZJCoUYUQMpniHt7DaZiku8Q4YUuRW"; e_upip="AcJsWedSQ-0MzERD-Phd4dnPWVXeYT9782SWlXhliY90nVcJXISJ6WgQlS_5qf8wmKSceE-M7oWHw5CHM1e4E-5HCITB-B1hCJo"; e_fb_requestsequencenumber="AcK7hiGHXaPZ7fPTTCYsA-Vlvhxf_4pFISGh87hUfmqIlI_2p3RdXNkiRJIX9w"; e_fb_hostheader="AcIsILcMwiLJrFmwTnmGVxSZaSYh-T_4OgqEjRb4_url-sg-Ym1doiXQS0zUZEfuSC6FPiEl0C3ww9E9"; e_fb_vipaddr="AcJ6n1_c-pLeYyxVl8Wt3_GH-0lndC8KK5GGjmF4chHzPTLQlO9boiC65GpbRk14oBO0gOzpMikdc_k2OYdYHWc5uE8iPmUoeQ"; e_fb_requesthandler="AcKJ73Mni6ewRGFd7LEBe3RiuyTr-l8i-vt6Ul9yK9trhyluX9wDGcopT36FN3DKIeOWZE394m0"; e_fb_requesttime="AcJp5RPqrky2JHHoJSf_4nRpnQnBnd9We381ZIO58kXpj3OyJd7o_4KYIVNW3ajGSzZ7mtwjyw"; e_fb_builduser="AcIXWjRXT9r2IWf7COLj_h2uqrJ53ZuqfNGYsMqVlnzlbVy5ozPSdA-67-swfkqfrSY"; e_fb_httpversion="AcL1OH4P-CK7cgJjFh51c4ogPtPSFd9hQtCIYAMZ_fv9XcgsIH7-W9oDqwW3"; e_fb_binaryversion="AcLCJbZ4oatVwdLiu2E6f6vc7kcw5DPuHPugbtG846I5ycpk3v02HMK3yrCthnHhLhvFbgf8jZtbqAzLmgd4HCTTs1lyDKpAXos"; e_proxy="AcL2XBdIEtU7BI35NANMEOimqgxK2P3QlLbraLnMNzszOvuYl2SjCDZfEruQfWbd8M5d4_3zYkbbo2jRx1cd", http_request_error; e_fb_configversion="AcLGp-_V7SApc_vNVik0byu5iCI_PTxO7kdXSAeRwiU4ocZd7jKZzIkFAsg6Aw"; e_clientaddr="AcJ_BNEizRhWXymVBvR6r8C2VEsqVoHlqvqf2tkIxwDCMx52dd3GN2JFwA-WCJYWdjHkEunfKl2l0HUjKw"; e_fb_vipport="AcLbHj6xiZ6KCgTFa552MuVsuXkW08fv2s7JdSRcUIUzsP2H4bo1X_5JU4zr"; e_upip="AcKZXjX5j-vOtvIFPNkW-CqMw8HbVDKnIHvS7tVFwCXYNQvc7qxWLFr8gjlCVtZfpp3oHR0GUD9otOBeptTVep4LDC-6YW6bTQ"; e_fb_requestsequencenumber="AcLgZzLuH215HZvwNcanTJGEl1xnEQkCT1T3R32m-w8DgsWXyaW8NSMzOw"; e_fb_hostheader="AcJWxDbVpikUCRpYxkINRGxyZ8sxXrihmhdUSClgr7QYYwXV5y9pocqsFVsvHTgYQv_jevpiKN65NNtI"; e_fb_vipaddr="AcLQNz0UIdIFBcAl_eUUNzmXxPxSi4GvkRzlLhoQtszcDNm3XUHPrz4hJI3ZIU8LDuTxffg"; e_fb_requesthandler="AcIvFmohNYOODoB05KUQwubrFbrEpIgorxPRxrQ7evhSciazjuVxzJ_rhlswa361Cw6ieTBlaP4"; e_fb_requesttime="AcIGC8zdxv-xbbJqs3KgXP-sYByY9WPnyE2uRRB8EfaOWduE8Ik8U4VqW1QNr9JQukMALW4MCw"; e_fb_builduser="AcKfrJxZZSHOZzdYHiCj9aCBXqnZ7yT1OrJjreTNlq-T4OeSTsLx9P9_xBeO6eXPhA8"; e_fb_httpversion="AcI7fPBMGiXA-ZxmAW0g7HijPjlVj85FYM-Z1RIHm6quHK5LXmKdy79eamp2"; e_fb_binaryversion="AcLmoSi54GdgoG9grbpT2s-jZf0eJ4X5ZoXnHGrv0n31t-qPqIJGwOK0O868T54oA04BhThu43cFr2ALRfBkYhksenM3DB7VuCY"; e_proxy="AcJ9STIMF5514MdTgRy_aU0srEaIkz8BAz9fzJ7qK05yujApd8focbPDsCijoFNaDVeSfv24urmOuXI"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:49:27: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 19:49:27: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 19:49:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12498525, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A08BkaKosmA2n281ac5u_AD', 'x-fb-trace-id': 'B7mgwqjbMiF', 'x-fb-rev': '1012123522', 'x-fb-debug': 'XJcyQBEwg93xWATJgqdoP4BmPi0dBBC/U/ut8cYL0efdneLVAPrj5/T4nUJcj7vbWgzJvZzrejEQwAIWiPzbHQ==', date: 'Mon, 18 Mar 2024 19:49:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLhkHzRFvVMTodqtmyou7VyknmtnyuFoIBv9Tf_oH3q441supUxk0j2hI7ALQ"; e_clientaddr="AcLuhglqNg2sVaGuQi9r2DgI_QrKa7deew5ed_-DHCMmJ6Ogceyny4OiAGdq4i1vF9QxmyVoo7EhUbcpmYpp8ci0jCyvdWhmTgIP6cqKyLeTQx78"; e_fb_vipport="AcKorpHENYp8rizXVB8Szr8BnrZdJInmBHwvZb1lW4C8FRWuTHyBpUCTIC48"; e_upip="AcK9ECFHl49oUn5l6lIExTrC8zoUscNhGaSO7FdmM2xYaEyEslKJglJ9DhOaPDG1_9VxTpY1Zj_puZf40w7uQCMFkqbf7Gmc0s8"; e_fb_requestsequencenumber="AcKdCz9sFUKayHg-WAXGqhYEwA1EbiQIVC8cktvFVDdhWvGIAK4qWOxkiVCQ3A"; e_fb_hostheader="AcKchO9sTCbW5-S8jrz5xtUd92zvW07nHXl0aH_wiWj7KuPY__lPpFODG0_StH3I3KL4ENOfMebZWF82"; e_fb_vipaddr="AcIRhGgEPpnMfVRHTuRNndNAwrIZ1IRcV4NUF7DmA2kVztNnkHfT6WQrlBzEUGPpY3NiI-vALuatwHCscVSbsNem3IlgGLWjXQ"; e_fb_requesthandler="AcI9horWJffnq4Wd_LlVSHyXBAkFaYmFAymn8ztKCkN8K7tmeQ0t5KKoXKGCxleOchI1LGLZb5E"; e_fb_requesttime="AcIX6XSkOBCb_ff9nHfzKd1qey8xT0OJeKxtXJlcT04SI9w3tCnXxOVFxqWIbHkGYuW_sRek1g"; e_fb_builduser="AcJgGss7HdKRNAV5xkfqBWvcsWW7TrENHgocha8unAoLMlyvUZPwfkOkF3YaaQyQ6bs"; e_fb_httpversion="AcKGgOLCfD6XCrbX2csun58lkBbGk4Py5T_fvpA3umUFztmYGMUU7ME2WiQK"; e_fb_binaryversion="AcJd_X4ZdzuZIghyeoZPLNA0nIV5VnXIoytg7KVgXWxwAr-iehfcCDNBNy4cnj6Xmq9Fq1gneeNQKYwJs7qEW4i7EQ8wveSE26c"; e_proxy="AcKx7sFxs5L0vMhd4FSvnQ-rH6Dc4Qg6mdDa2SWuOATzb_Zjqb-cxs7VenpD0uD__lfZk2dWQQaEB_tXpuzK", http_request_error; e_fb_configversion="AcKUPFLq38dIeOnQRJt9hLZzjgv7fgGDUMTLpGNAi81LaiT_ySSCe16yDpH7rw"; e_clientaddr="AcIzLVhqrsFRkgAm_TFjdDIUlUX-9WPgXaf3kwpkjEmLXBG8iyZLyP6cn0i-Ch-F4nWQKmxEnUqMieqH-A"; e_fb_vipport="AcIvyZamLXnd45FFXCgvCxNO3YtA93oAExRRhZ-0YzSPsU2W73KljI27zLJa"; e_upip="AcJDyA2AXWXefv5cyLvpzjhNb9sgiYBATL_1IR0Fr6f90YqSMWqy4c4-hAVDCu8s5KCynbEADeCQbnMsmrKzmfaC1LpeKlFWDQ"; e_fb_requestsequencenumber="AcLfD_QQvZHmWRMAFw8qyUTuPEdqV_LMu8rQ-hu20Anw1fbKV7zDsPZjXQ"; e_fb_hostheader="AcLmE1iRKG3xToY3AjEkavu61XTqUr0bsfXqPDnfR4H0-jz5dvCMtlhRknXohTQMOq5gW4Vse-Ss2VJO"; e_fb_vipaddr="AcJL9JYoDPYUKKncRMJ3Nk71u9Zf3hOQ1nW9hR9v81zBc1utzCaqv_md8dkR16aDpuyfMW4"; e_fb_requesthandler="AcI5xhXvd3wHYfqJup2_ng3QuyeD-XVIMFROpQJLRIc9VnadgZNUMG23pnpP3pxA-OsrCCNAU9U"; e_fb_requesttime="AcKcxKePOSsZt_DtiuUZfjMuhew205XxV9cnFz5Cq-KoBOc-AnENGSMJ-UltGAGR5z4aEnS-Qw"; e_fb_builduser="AcIAvVT70eO-Ylwa3W0-JMByWlDHtz1YTJ3UPuTxVNolFXnbcYn779eralh6GGDBKNQ"; e_fb_httpversion="AcI7gM2-gIucpDh1GrSRtFl3-MCc8ijx8siqQkRNSC6svafOurTgvZ1nYanb"; e_fb_binaryversion="AcKAwhUoC5GIci15fOjJ7bamzQfvyg93glYGCu_ge_ZJ6iM3PHUePg9Yoi1Bqw4mVd1CW-0-M6Ns1A8HkoMsPVdxOiUIWa3oN2w"; e_proxy="AcKUENLQzXNAfXW-H3AhRU21KrAGFNQe2WpRUQ_hrKpe44UQXQPysz00pggNaAMkNiPMCPafJAhLjRig"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=159, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:49:31: Error on send one message facebookId => 1419430261486887 03/18/2024 19:49:31: Response error send one message => { "error": { "message": "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication.", "type": "OAuthException", "code": 190, "error_subcode": 492, "fbtrace_id": "A0j2dbBOXalfpgL4d7HEbwZ" } } 03/18/2024 19:49:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12498794, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsoCk8Zi9w4O95dckxeK4yL', 'x-fb-trace-id': 'FVNfT94fOku', 'x-fb-rev': '1012123522', 'x-fb-debug': 'gHMoFg5yhHXUHNs9PhuoA15DcoKRbSiDJE4Avfw4Na/vNT/c8kQuw7PJBP0Br3fCShO/JhnXxmxsM/lYud8s+Q==', date: 'Mon, 18 Mar 2024 19:49:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLVOi7ZOLMFlDMFt0quJFpYg5vPYipT1fc0ISCWnVeOALfD8gAsxu4OjCUv1A"; e_clientaddr="AcIQr5hdPCz-EhkBAgA5EJESMU4YSjJIk-uqf6jWoPAKA2PeLLE7rgUvfXZp6WnreRnbDE74PXp-RVt9_dS218cDCTKZXODElEtxPzZJjPDubvzIdQ"; e_fb_vipport="AcJlfeCTdZiXlBL_MqsgDa2w6yvSVe0VNBX-jqpmmzkikvtlxl71fKbID9J-"; e_upip="AcKUPt29Q9rz9diBZEqIBfszwEhCjHMaJUECjU_eXJ5o9yeyqq347NetDW1GjB9tZ-7kdEIdVwJNhD3n7dzCjL_tJBp-QVh2IuQ"; e_fb_requestsequencenumber="AcIl29mVCTA8Q8rqlg3nzSui8SCmhrCI766ZdmFFMYQ8Vkas2hdu2bv_yrMv"; e_fb_hostheader="AcKsYIeeztezA3QmMoSI8zUrid88_KMXeB6XuzC-Z0BnEjd2n0kRLO6bXjOlycAdj4sJIff2uZYKU0-F"; e_fb_vipaddr="AcI-V1WNYQKpqRffpcQ3rI-IuHpXHKofrbxqtx3zT7bBPzehBQlddFmzl-Q2UD8FASQomL1DlZKbxubNm7gibMHtqbx1qzFbGA"; e_fb_requesthandler="AcLOpeDDYhENzj3uEX_VcRWpJR5Q2Xxi9PUNioj1Ap377EWEgrrUl7IOTmFMzb3znNGYyv-aEvU"; e_fb_requesttime="AcJuzyWIVws-PscZ1Vc5jy8LyKrYEMrju-8_ymR9Tym1pmq7CORpouGPX1ZHZFz-pHV_wjStYA"; e_fb_builduser="AcKy1BF3M0Qv5Z-edgyR8mqe5UP-_So2OkkR110zkFke4ONA9XIjov0VIdWBTNd6cOM"; e_fb_httpversion="AcLOUQOg67Sb7SbU0W4fCnfx3u9U7SIL8FlZjiLsfBEMF8EoUJ_Mbx8xgN4j"; e_fb_binaryversion="AcLvv1XHGUZSK5udrBumC2yCnkii29nX5E0DBFtFm_CIDUHj5r_Q87zI_dCYmnGJ4uglsupFXvwuCgliS_ejezji43OYgPO_oS0"; e_proxy="AcKZc3O9IImbvFuHeN0FixSH1JVr8u7oTY8VJxEIQdt1alB_rtlKye23tsr1eT4sqET71h0DWi8Mh5pdMDYR", http_request_error; e_fb_configversion="AcIWGCEaJKDaOemREYITIP2M9acaGA2WPpQlRjLYLML0irUrR65PsU1MwjXE4g"; e_clientaddr="AcKiHSgpntvlSPDy9Ujog69vi23qMki2OXpR1QiE6IkCcPqo_fTCjHQQZMLHhrW1k6W4ENoAoJV77EwGhA"; e_fb_vipport="AcIYbuq0AekFVVBjty3D5C6ywA2uxInkxu3MBOK1Zbr8U-SoJ3tr26oMbI8n"; e_upip="AcKRul2uS_lPlbKbhhB5rXRaOxAnLraJrLH1nUfHWgcnZ8SEoil4uBUBR2JU7Kly9vaCER0lmef7W7UmIyBzbtvZ7R-9tDXC4w"; e_fb_requestsequencenumber="AcKtUd6HR4Xzai773gD2iYYDXCXRm-Vjo0J976wFMSOBVtGS3tweskeTqA"; e_fb_hostheader="AcI3mrb0W9ebdE6J9ih0o2p743xXgxI47GR9nvJotgCnAsSDXUAAaM7Mflv1L1IFEx_iIJibaekXgfUK"; e_fb_vipaddr="AcKz-xV_FCuuuUmtZ1eqrBcx6FW4QjgROzqZVbUiiJZbYANv0t5eQ1ytL3LcL6mHisU_dRA"; e_fb_requesthandler="AcIrr-74LEs6GpIyjGmVGkR_Y5t5DdzkMn6dmpOfT1Uv1sLU1oiNWw8ZDgFkHgPLlLgdgnzVCoU"; e_fb_requesttime="AcI5YpP98GT4KwMyqOhd2cLSjk0REseo4RprqKFkoewZ06A7C4cdLae_RufzTj04AEEuB_sZsQ"; e_fb_builduser="AcJZNGdVEQdiZm1l-pkH8uYWZZDh_B-Hdq-WjmGD-XXULJ1CxRiwWmSi5riaDsft7_8"; e_fb_httpversion="AcIu1swPGyETjKvFWfj4Of3E6Q93yiNYXbu5uy7OIDdEI7z0cWpjJ1Ph02f0"; e_fb_binaryversion="AcIsACwKDFR17_tvz5MnX-RbtF-nNovGoXru1kZ-V2pNixTvvrYZUkBllwuUeS4udhIQFauO3KcmneWhBd5cw9aeRX6tIS18BhQ"; e_proxy="AcLSmIUZf6pTAGNlH7aJf6A5iw97vPvxKM4M2_fvGIQqsDcsPvKMHLOCMMtStUZjtoBM7oimQ-sqR8Di"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=160, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:50:30: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12499054, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzsNvd53gDcvjUyG53Qq0c-', 'x-fb-trace-id': 'APZXD+BIWuB', 'x-fb-rev': '1012123522', 'x-fb-debug': '8nQXvqQZk+X/LDt/uxBkaF/2IBfX1t6ZDr49bpDAv7s5Oxj8vZeVfuN88tMN0BKhCCbEhikppb2b3YznSlB5jw==', date: 'Mon, 18 Mar 2024 19:50:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLRRZD_0ETrbk1sw7aUJfzSqjYY04_uWF33H2EGMBRJJspeew_KkxIi9xcfFw"; e_clientaddr="AcKqkcA63EZJInDOcJ5HELry5SGkRAq-5vxd63dSNO25JCHA88HtVCOYKhulvBzmNYHTZDyW7zvneaJnhITUmSEqw9euqu67qRaqaltwfrALRiWzGA"; e_fb_vipport="AcJKq5wWrjUP1VYS5QpoLdTZn5gBlaSNLT0RrCspsNrDgKJy1dP42r_jkbGw"; e_upip="AcLIQvblG6rCmzCzPuJxtp7FxY3h1sM1WJNuFCs-_fyx3jL0ylL4GfIsqsD9L6cW-2flwISsaWI-whtR2ETEFxagbN5XL_N9v0I"; e_fb_requestsequencenumber="AcK2-wpSqg1A19jMjaCy-5I9C2BUyPozFcx9VDGF-SZNRfb4V_fU4ICdIwky"; e_fb_hostheader="AcLKWcTnkHtuorWGwnsBdSXPENmjfujzxAURfoYuNl__-jQLzgbQWe7BSSRPxfoOM4N0YOXW_6so_8Ow"; e_fb_vipaddr="AcIN_87POIFVPJxW6Gv87uWW-p-SM6ruRanDyWxOsefk89zk-beGiEVMW0sWKqjFmzJSk-O91Vl3knpWOzVnwQ-0tKhRTFd_BA"; e_fb_requesthandler="AcIMn6NCAETrimVB4KdH85RAOLj_jHh4S52cvDR9vK57rpkgKSJz1fhnUdPEn76GYW3SPnC9v28"; e_fb_requesttime="AcIMUFej8MZEiv0TL0dOG9lYq4-zHKW-cS8CyBDMJTkpuRl-lZ11_YnwgJBi_6SAJjcIahCoGw"; e_fb_builduser="AcKMXC-SeKPgek6gWntsWl3NB7x1an4Xj7pr6lhoEx95RnsHj0R5k_Kd35KFlCScuRg"; e_fb_httpversion="AcKllEXMgNsiicgtBW3thdW0aN1LCcKDlGbyIGQICV5RCdaV6Z2PqQtExTp3"; e_fb_binaryversion="AcLcQhKunZf8-NNnolaebhZ7VeEEZWJdVwF6wWowLIDOXcKyhDmgZIO3hiijRAFBr9rM2cS5305WyY3BzYbi_LEjNADCQHryVZA"; e_proxy="AcLMj0vSeMBvE4fB2GOLlIT4S1_DWoykCtSYjY8e7MxhcQBpgy5GV3n_veWjvF-DA4nGIZHPk5YQoD-pJpqV", http_request_error; e_fb_configversion="AcJu7QnWqgjmhKVj-NDCu0gBm8-JT8SLRz53qzRrBedA9ZXW_aZsUIheCU06ww"; e_clientaddr="AcLG28Mwwcv_ByjCIcZqQBLRR_fJcngCSvG9vGxzEMx9K5ZXUrJqNOINEM85PAcHOQR5o_QmVYabT-ziyQ"; e_fb_vipport="AcJ06sWlFEyzjcL0VPN2fvW8xRJiXn-RKf-puQTSiSlm5DFl3PiFVqdJ4niw"; e_upip="AcLrpAmsU1MmLPZhFmoSIgzlvYxP9I9KfbliLCBQ_advQHjqKEJSYP9AKrTspsrzZdI1ygISF9eHvpUCfC7W2m8T2YOe0nd8ZA"; e_fb_requestsequencenumber="AcJ6IK0IcPU7-ESBN4Dp3F-5Anlk-hxUjezcLqvZkJ80nOKVjPeDod937g"; e_fb_hostheader="AcIXIEwwzIiLQd5MQ6VYD3cUMu1-w4URwrOQEdRu6MVNBQ8NVlagWskQlObI2LdeS8EHgVyFvlx9bH3H"; e_fb_vipaddr="AcIH5w2k_fltVRoHTM5G1MjSdQqylRMkK0Qtq0lVCxHv_J2OPSrHathob80S3lsqYnug8iMhxA"; e_fb_requesthandler="AcJ0yMX9ZULCxvaIm8-MpvQpFy8_hRw3As158P4GTbgbuxxeagiiGV3IZQpceto6Alw9wFks0cQ"; e_fb_requesttime="AcJPL8TrkXLPN5FTzLknLWFMuSKvKAfP71qMV7OLh569L36b2EzLUwi9ytMpDsTyGBPUg8d1gQ"; e_fb_builduser="AcIBWuA8HeIi3WjYfLGq5QcAObKwmzBBy1UpdUW3TVybx0wNQRbCGqvxn4Ec6vYmJJs"; e_fb_httpversion="AcJNO4-ucrCYb5pB-FxeUY4TrYTt6XgVt6jLEU4V_MBV-U88CcLehXCbVG0b"; e_fb_binaryversion="AcLr_m0s90w6bLijNP6XDcmtnypQrdX5q0ZgTOGmvDunBGHVfKYFntJdtnCc0cvSKaZWFzvXYzbBG-KbBqzbNb_zTLoHLUzKyig"; e_proxy="AcKtPsuwVUHCXp_9l3i5tm5JNi9tSPXoHCtfIGn1Ggqq5o3a_A5eK-C1XyK-cAYuM88jDc8pieF9DnY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=135, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:50:30: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 19:50:30: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 19:50:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12499349, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'As9kKoD0SNQfe1g_rO9c1Rz', 'x-fb-trace-id': 'H8gN8L1bdMo', 'x-fb-rev': '1012123522', 'x-fb-debug': 'CC4ebyUYNk7AabBrY3GZYZ1IWQlct6TlFCBVW9runA3c6hKd5KNYb4UrM32pNvgymp18Q8fkH/ZJvIGfMPSY0g==', date: 'Mon, 18 Mar 2024 19:50:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIUoXoVp2RBkDR0G71EcdQI4m2xOvUVShyFZnn0loh4yoHOXAEkZ6rEVtCxBw"; e_clientaddr="AcKZsL8R8T9xOhPRPHDnxbiPck_8oVmiR1RlHq9tW--phK_DjilJfoCJg1fE7d8XyFLUNjZBGy5d8vkQdDvm2333FmpY6owOE2OeQ40sapZb-hTQWw"; e_fb_vipport="AcKz6gGM2zgeyITey4W8nN8PU7V8KZx3M2STuNWFgPSicWCTqDCqulz9teSx"; e_upip="AcLLTLiJoWdvhsosJxkRqwdnbqMwpc8MaNzC8JahWhkUdd4X90yBcm4r50qtJZX0u5C-QCSo7E2xuFtwUAaR0QubifZisSDCaHA"; e_fb_requestsequencenumber="AcLWBoeYKjNOu7JeWXUlpdELqQEt7BrxqSekhoH1dxB_EnJX59KRVkvx8Q0ydA"; e_fb_hostheader="AcJWJiAGl8ogUeAkHy3DcpM-Y8oMU9dyj9fc9KqpUn90Z2qr1Fgi59HSeL2beRn93TB2JUtV3qeDRmBh"; e_fb_vipaddr="AcL9i5cdRPuCe2FYnR6Cimsfv0amWUlBCjESj19FsofvU51SSkWDJ1EVM20AcY0g8Wv1b22XH4XXMRqR2umwVsJBs9BthOX0IA"; e_fb_requesthandler="AcKnDJSyNrguQhmYfoVgPCT0EebatPjAONsiKXJhXNfoHRzMNOuzyWfcOCB2YLcfXd9RIg1oqsQ"; e_fb_requesttime="AcL8ipN78NKuAG4bQD-vFAKTvd-Yb8dJEM5_y7nNKxzH_uypKLjZ4wAHfHBrn1nc5KOERZxTBA"; e_fb_builduser="AcKxr-W0P1er2E6E8FX1EhN99UkmRsMPUOSgKYEoTQYZY6p5oymmM-Ou8Erwf2IzWns"; e_fb_httpversion="AcJqzeYxQUpKugGmEUqjSCrMOcSKE_u2j9d8qlz-BvvADk8FzKb07CiYw7WO"; e_fb_binaryversion="AcKQl0HoaYmmn2O8SYklylzzozP2QRGYsoawCVrS_3ur9FlWmN_JyOTrL1dsx_Ti8XFcaEtOYZFs1USCGAQ5GI0G3fEfQEguW2w"; e_proxy="AcK9TyK1SYuYzaDBRmSC2Iv32-ZQknRuTgLQtYOq6fREWd5v4LKnZzCK5XEVuga1E0bc8BRS2oLj5TIVD5s7", http_request_error; e_fb_configversion="AcLyRG1NG8KNmkvLTOAjJiSO2iZB9tSik-mof7wDoB7SlgCZ8gf7SvMvAn0CJQ"; e_clientaddr="AcJUyBtI6ovpP0hu0fx3kz4_0G3WfwFuD5mY7nWq8Oswm2Er5FzhUvu2MADiTtbmet33CrYsZwIf3989_w"; e_fb_vipport="AcJnUNJotwzCOwL0gnoQ_btCUYSb3eoMoO1-HhkambI1X9gw0Oc4CKVJO7r7"; e_upip="AcLF8g1Z_726LipYtThM676hVOQm9aTFh8Jqib3LHzrXj28fHUWhImZ1-z_vOl44mHktcLD8kKsdaiDmbaR7pkdMjvcMQWLIcg"; e_fb_requestsequencenumber="AcJ2RzuzB66_jefncdbnizBlnsfA3EOvHnDgDmwjezoNngWm4hVcU7uAMA"; e_fb_hostheader="AcJtwzSGLM0tDzuDUP-7ENTlaCFASwcwJBQfUn4tCSkBXfVILGlBdlglAXos4STOsXqtV9NGmoAb-2gH"; e_fb_vipaddr="AcLD2zY2K7fv6RopujSmJbe-bIJ-85LgYpYhXvKA-yevU26qdLB8HAq-jpb6Q6Xw1g3o6omtyQ"; e_fb_requesthandler="AcIen3mqmA4nbC3-NvOCd28N-9DD_7dCZm9f7ZVeDZLBaA1s-dXipzszOyU7oBF8EokYHwv4Plc"; e_fb_requesttime="AcLA0AwKNWYA-fNgPdmj6v6qRUvreiM1S8VGGJvwkGBerps2D5PWP4DnNRDc9GhrrHNt7UASjg"; e_fb_builduser="AcJGNFys8c3gfgxbCiWJULbgDmSF6QEPyz3DdtJIT0WLtmZ_8Se9plUSSKllV-MzHig"; e_fb_httpversion="AcL9VilIDsJtVnApWznj9Vn7rehyOzp822nI2vn6omB0pwclYvoZM4FYW8uk"; e_fb_binaryversion="AcJCJKOEAJRvJBiFOSKG6TsIvTgs-iQldHBVjQd-UGrgijqkjtz_0xCDhBAwDKXMA9_r2cKH55uVb3j6RCx9NxdG27CwhJ8ECfE"; e_proxy="AcIAQaRbiDcxHzteh6WHayzP6oLJiIWDNwcIXy_05oVjXw2h_g4JgefT1BSIGtKSEIHxyNv8pmGcJgg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=129, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:50:35: Error on send one message facebookId => 1419430261486887 03/18/2024 19:50:35: Response error send one message => { "error": { "message": "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication.", "type": "OAuthException", "code": 190, "error_subcode": 492, "fbtrace_id": "AkP9rzZNxUaiEorIW07R1Ei" } } 03/18/2024 19:50:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12499579, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8liZ5wami1XM3Tw-Fc1Zqp', 'x-fb-trace-id': 'FLSk4nFkKfM', 'x-fb-rev': '1012123522', 'x-fb-debug': 'YKdE5oFqsfT7/QoOR18maqQJpbKDooVvyS7V4bztXh7VR07+GJLiDX4182HhJ7pk6e3t12DUT78NCJpVmrxFtw==', date: 'Mon, 18 Mar 2024 19:50:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJs7MYX_97NX4ppxheHHTr-1gOnLRi3gPvggSZ2cbp_OiDeCW6lhZI6S2X69g"; e_clientaddr="AcLcBB1scYFld32PkqspAWVZrTGiVBGR75HzrwipWdwZeyR22OBoXK3yUCJ0XXVv9Jtc_M2rHP7J21nmaaE28SkOAluNfw4ZpEtRFy0d-8Q4M-ejRQ"; e_fb_vipport="AcJZZZxpaoh7sis5YKs5kXW-S6JXItcuktKUYE-d0tY8Oy8A3O-kwRTBXYxH"; e_upip="AcJ6x9jLLdpoZd8KtykV-TRlWXZPQc_Nlo8XRlxGZfmJZP9NMu1h_sERENxgyBe1k7Rehobhgh8wO3Z1dYB5PhjGU7RDHnL0zw"; e_fb_requestsequencenumber="AcJgu6VX9k5xmgo9TWn75sUTvZrTqUQed43EWHzLhGTbv822yBevDkkLpBR9yQ"; e_fb_hostheader="AcJwVZCZq3Mhbwmlni5miPCsWqubFw_Hrq8CPkZzdT4-CyBLiUQvEV6CKlcG7QBBqf3XUDOF1H0xfOSh"; e_fb_vipaddr="AcKF7uTSqph15qqvDa-jaRGst-rrqAAfQMEL0lIYpIikJVmdo6VKI3f9FyuRzNMgWOP3PpWJ5VZyWSMHlaDEGRdox0KXmF5M3A"; e_fb_requesthandler="AcIsEB9SguH6zMbtT_BFJ0rvAXnmuxjYf8Au-sFUC4Y82SewwecowGs0aHCI2o4LdFjDSOZpJQk"; e_fb_requesttime="AcKsU3-JGjhcmJiayYF_2tXvwsSN-KIxeI-0xOKgA1dD_wfCyoGj3RS60cOSPHpVoeBAIS76NA"; e_fb_builduser="AcIq9iA2j48e9BWfdWPiojJiMObXt7be3cj4n3HNt1jZfjfNgz8tVHY6kGSPR1YqGOc"; e_fb_httpversion="AcKs-JBHTvMfhyQsrlW0LFNjfZTtSM3zWderYltghUwxnT6MpY187-KcBC86"; e_fb_binaryversion="AcKu38K-K-SVC2M_g0Lb2ctUIa0EZWe-_QvhX7e0OBazpEKWfBgwt2z67z_QFdF0FXBZX8dQ34IFwAtdpqzFz0Z5jOneDW6l2Fs"; e_proxy="AcIItYteKLXps05V2c-FEUuI5ZSnN-wtie3-HPPPjQZk9PbnqVBXS7fFEZnqDsKctCO2xCp9M89R4_A2YN5U", http_request_error; e_fb_configversion="AcJCTmCdeEatu9rwcBykakmRuHrE4m71_eDuLpwS3KRulgF9ojdTPuQqOkktfw"; e_clientaddr="AcLO0_e0AeCXSRpM_iXKRpJ4_44bTeZV2Fd84soDRNQoQFL98TxbDoEDn3b_7x8-trbqWxgEhtEISbrsbQ"; e_fb_vipport="AcIIk3OaMpygEwoCDej37cYAH_sWRlcae0yCvk99LG5R12JsfT1iqpIoBEnH"; e_upip="AcI9iFfC231Rd4bWFNAGypDD5MxXXAOtdK9pfCAaM1jVI05CKh1WhOekIdeJpZRZlPT7PBDoJ7rccksju_gEu8BJzcZ1rQqZOQ"; e_fb_requestsequencenumber="AcIMLVzXs3k0cjszOcc7AsFYCFERQ0KfPKXLGoBe5m4QZoSUmXcUpCZWlA"; e_fb_hostheader="AcIxb-W_fElLkhCppffBM0JHUPPQGH5urCECJt4EwL2X3bHHZmy3OLwU7kDceQPMX0QSFuiLqpv-uiYX"; e_fb_vipaddr="AcLyMiTI9g7l8Y-NijPlGdw1JIgfAb4CW2anwhtG8tEhBTSlXmZj8ozeUCM3rMaTrswaGIHMJw"; e_fb_requesthandler="AcIYKxOHGjPyYiR_0Du-tdNcmjRVYGIhyVvOejDUH3_opzuT7m-ZIkGMKGx8f76wCk7rlwsgMWg"; e_fb_requesttime="AcKs8WSHbcuBUtwO7x3DQdCyHjbsG4Ou6N6pcVUbjqjKdtru91zwAWFIWUQG6mtzRTZhMqtK-Q"; e_fb_builduser="AcLnmWLVySxQYmEV-fCFgUX00BLPA0caslyFKN2SlMHwQ1szdlrbwV2xyiPM4mzuonw"; e_fb_httpversion="AcIz3OoS-rwI9Evh0W3hGKA_Dgy4MCqbta8rhYSQaFvlcXmqNDduq33Sf2ku"; e_fb_binaryversion="AcKaedT8VrRIHRYna-IL6y9R7bh6ivbOUxn5MTIMGiWbo5saGjnYgTTSwLcNd2277eUqfHog3CumoMJm49tm0Xeow3yuDX3Xs4w"; e_proxy="AcKrG1-k_xz9PhUJY6IWczja6MreawMmz4Tw86FYzFQxEpD83AYj-GKZEWLhTQd20_QoY0wNybt-7nfz"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=129, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:51:07: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12499759, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwoIKxwzNwzZsjlXMyinx1M', 'x-fb-trace-id': 'FGh6XDgd4Eo', 'x-fb-rev': '1012123522', 'x-fb-debug': 'KDEcvtwUpkxzT77XxUkExUvXKPI8hNtrNvykGNxXNNwavxz4qP41HtqzP2Wm8LIyfDT9kNyTPXpslnjVaonLxA==', date: 'Mon, 18 Mar 2024 19:51:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLB5RqFTdkd14Hzl51Xa-Es8opNYbrsP7qvcxBf-BKXYX2q_6yhsQY2kUjTuw"; e_clientaddr="AcIx-aWFzFKQNJTJUNgRvYutVB5Srg1y7e66EUuPknXH3QOZffUGK5hG6-xVQkmwXxZ6p30pk37lE8C-BYhOGLeaQ3YXYED2vf7m8udDpMeq5Ss"; e_fb_vipport="AcKWwkgO0XY68-t_zigbVTFpljl_8aW8yiQfZUnd3gkW_V8f9yBEfBsKZmAn"; e_upip="AcLxVPwL91e0rnlv5lreKQ4PE8zuV5w93rJegNL0zxS33BViPy9iEjBWGm8i5VQVFYyQKF3YCFCTSH2aqmG7r34ZBVHCEgk98w"; e_fb_requestsequencenumber="AcL1W3VFNZtO07ew9rH0CwdSv4VBcgatFtzIuruXOsQuCnMp8slP0h_0imUp3w"; e_fb_hostheader="AcKbKbTy7veqUQjRo4wjGOVxtBirq1g4odmLHGmXPIZu-kkKjhoR0-mlGSB-W4k4a73838KMInd7Yxyp"; e_fb_vipaddr="AcJLdW-ueusO4upFJPOqAP_3-YMwNAVNjMUD3rG5HcsCIG_BIMF533krHjHSpDb-lSx9uXsf34H-Fz7oWqowv56cEemNxpfihw"; e_fb_requesthandler="AcL0u59z39MyFCudsHqEYBxDRVRLRcV0CWj5k65mSBuZuFRzNfP0hAbzQsZb8A1WCFNlC4769lE"; e_fb_requesttime="AcKdzfDDkWvgq3L2eMya7-5x0auT5qF-qiJ45SAg2QyG4mgvUVtD1QkKqB0b_hzRW714SxITMw"; e_fb_builduser="AcLwloFWgYEM-p_Q9rvRR6gGQC65sy1WijvFlxjlmdnFYGUbfSmEs7I3UlroHiX20tM"; e_fb_httpversion="AcKaX0ExdN82aMxofDn7OO03fBoPTwvH9btn22hNGS-nROV-zTI-3fZwhPGW"; e_fb_binaryversion="AcKB8fH4LCAFAi9Pthkbl1Ya9gqyAp3sdTikaqTSTYv8CSb9uOa3A_BMFEVeL4_x_uRbsfv_UvF1B7mN8aKwLYr3I8dN4IVkWI4"; e_proxy="AcK7EjFV9He1OCVv9mboP6WUY3vfqaRfGljrLsWGYqRv49s4fAs0XPeMpCB10aKrSgssamLns3YYpNYvfLI", http_request_error; e_fb_configversion="AcLyjxnioFDYRvPEdwXkD5cGviVMOuipvbVUACkVNjUyiUeiQ-N2RhfUcciccA"; e_clientaddr="AcLFRkERp_ntRVX_J_v7znBOyg8ihOJuuXqfAyaSLdvBvYrQiC-nJni44kCcwBmvW2yyntvdfRQay_rmzg"; e_fb_vipport="AcK8ea7adSLTkk6F5ttdehV2iCqL2auBd2yPfzwqpkWt6l_F-d2JKGUdytB4"; e_upip="AcJ-BmqIS8edOpqwy4pUQnQZgmwFkB4ZjIUjH3dvnC2IDJsPdpWwDrdcEW4tZaFZRDgaFNa5zcekiZJ4vhuYAXuwon1Ma2Yfdg"; e_fb_requestsequencenumber="AcLUc0RCbC-h7VcIFlcOXOtkrmiwfgY6i9EzL_0Ioq6wwcoyNfS0R-Ixew"; e_fb_hostheader="AcI-P5JRhsGWMmjWWQzAHD8jDaOx8TLQnYBHerb26dcF2Slo32mVKeOhqh7mcdNWzKoEjC50OgRTsWDP"; e_fb_vipaddr="AcK3L71nw_srrzhCV-rzB5fR0zIWn1YQ8vvhP-4ZHtj_PTowGT3jN5tibr7pbDgnQEbzOhqCUw"; e_fb_requesthandler="AcJlmFhq52d4s4zG4WaBwZdxepCjCfNOhexeV8_Qm987CAqinxw_LHfcSb13MuKGe5MpI1tt7xA"; e_fb_requesttime="AcKxeo1XWS9digRhqxD6OpJB9V7rI-rq5SlNqQvN-0b64SpZGeDWUe7WzZWH6JG_Zx-zWajHoQ"; e_fb_builduser="AcKhxgExmjyIelAJ7xgzTSMf_zFx22UqVEjNKGn-kPr7E7qEyNI5IeSlCO7k0e8PlRo"; e_fb_httpversion="AcIX9CVdhaH_K4Rym9WMiwkO3xI0rfu51x9aZ-VcVBI_nPnSIqcm2VEel6b0"; e_fb_binaryversion="AcKs47HLHan1Es-Thd_w8aCjHKJsbuoOUW0SVVqwZIQgs9lKW_yusOF11ahWLwwSNAv9DV98IDrVu82-vKP5qvVeLwlzEA9lT84"; e_proxy="AcKh_Vis3VvSyDj6ulFkmpUih2UOSpkQB2zp7hMNmQRTV9SsfamayhOcSe5oxDdozs9yNoMW3w328ng"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=132, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/1419430261486887?fields=name&access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:51:07: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 19:51:07: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/18/2024 19:51:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12500062, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARfuZ-YAviuvGrgPEZzgajw', 'x-fb-trace-id': 'FRca0Dx+9EP', 'x-fb-rev': '1012123522', 'x-fb-debug': 'ZY4xvvh0ICueT/U1FgACjOnxmmDRY3P89pVAVAyrt681APizz7OMnxSIOVkLK0aNA55X9UVkegJFw2QRzAIyog==', date: 'Mon, 18 Mar 2024 19:51:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKnmr-ynbTNxgxujIddggAD3JsyaW0iY7Ct75dQS98NrMi4Kv0KajeGzzgB9A"; e_clientaddr="AcK5xVdjHqskH2tkM-AH9lkfRFaOaWXMrV2dlsfORzdM_fVKT7xaihHDvr33RROurh4YEHhaABwQ9o3RbHjAfiYO4iiA-EFAj-zqWJyGadu5SOrK5A"; e_fb_vipport="AcKUHYmLQKv7Y2b553gYx1Ed2LZcjZdtHbYFuldl9x9T-RXAx3TSt_nxB80o"; e_upip="AcKQL_tpKYVItIk8j0ifJ6P9eX8Uzk8l8pQngCQmnh-b9uxMfreo89mZFkEH2pBF2LBGTzuqJHF2wgreVfbgA9ubFGoMCkvyLwE"; e_fb_requestsequencenumber="AcJHvzYvibwOjoBnJigtpf8zfGyUBg03BlxliS-fZ__YrdhbhscI_lgmLI8R"; e_fb_hostheader="AcKvgF7ar0df24Bs3_Ab5qKdx56K21zD-Src7ol8KQUN_kku-z5qhmF6xOJAbJUgpP9LY_EsuuO50iFJ"; e_fb_vipaddr="AcJbLJL_ugAuAuJSXTV3AT-HNGAjuFB8aodet2GBDfXgq3Zzeqe9jntc0nhFSC6TXICe2bNBvaSCsU6p-0YS8yqKL8geFZcOhw"; e_fb_requesthandler="AcKQQe5QGfVk-dfEbq1t3cDUZCGsm1w4NCd8phlz9PGeMsmPDWR1M3NRI1yGoBJeIT9APHeOKPg"; e_fb_requesttime="AcLkxdzaI8CLTXJIZhEIw90j_Wiea9UOWRH6uaAKr6DMD6vONkUhckYjt6TTpRbgb8w5nd8sJg"; e_fb_builduser="AcJBRadYjMOtks1Zwk2Nw1mLrioCl-7NYNzU85z6bjAsRKWQGKxkJxHEdesbY1larHs"; e_fb_httpversion="AcIr-BquYGSRMlYIhv-g2xiZWpSBl2Ks5VgHLBC8X9fWOKu8Co_7Ao0XVtUF"; e_fb_binaryversion="AcIKbg9iCf2Uuikc3aMmBwD0rNrDRk1UWpdAKi44QEhrZTstPvr5xlGlVswBpf8LwlaKa3XG6-E-lzp-Xvjyr7d8ix7GbxsRGLM"; e_proxy="AcI9YdcqR6MnZyPC_YwTq0OwWs9q5XPM0KacUtdaB0x5kSCSJEEwEgjIMlHI6CZrLu5fNFDEowzZRPvjXiRS", http_request_error; e_fb_configversion="AcJIePJwPui4lDPQUCR7vYRsRNBrpLLAcrBVV5NXorMxP1JF-OeHrDIPNFhggg"; e_clientaddr="AcJuQgABnFVktg3hvZGIQnCa3Xf3XWKKDQuMUlSoSmTKgq0SMtGVJuPW8h9z9cDm6lBgLlo-619xhxgw4A"; e_fb_vipport="AcLN5ppKuVaD7D5i4HjfUU3C_TBvitaSpt5HycSfQ34mIDBK1JDfNCGeTq7w"; e_upip="AcLdquFmSdAvJad3MusAu3nNx32Ac5JJ9XgMZK2cdJMukbxE3myQ0QQIYYIWGPiHjWdUw-5MNYdpqTuII5KjsDbExVf4Uy245Q"; e_fb_requestsequencenumber="AcJXKnY3F_cYSqWBLicLZ1_fXuj16VaIC7_lZB5c9N-M6-XBHLoOxd4KOQ"; e_fb_hostheader="AcJMqpT0XPeYvbqTMJQgPkTL41nodXslgzL_1qGlLvN113z9khPzf74GXXRnr1pWswbN3IN_YJbe5Bx5"; e_fb_vipaddr="AcK4esSHuFprV1C9xvIUYM6VocryAkomtOJhHUpaqr3aZOPO1HNbhDkjQwLCyH6ZpXCYTHg9UQ"; e_fb_requesthandler="AcL0sF77EsJBkhRdU3zEBJQGw8KrihhZsYLtZgbpaK1Gt_wBQLtoAyB0R2o1DEp3_3r-YaWu5mI"; e_fb_requesttime="AcIUsh7Y3Vdy1hn9ZshPsYDYRKTX31lDl1IRgQ9L1OnLaNYXJiPT555wFof_NLggpjI2PGA6Tw"; e_fb_builduser="AcJk0KRuOxbbtUDc1hTMY5DSjJT3lYAQorAb4QqwGf6v3QElgNrE_xfCcv3Cp3JkZKs"; e_fb_httpversion="AcJwYnAfF1ZyACxk5hdi2JLr2R50SmFsNc1qcfSIxxN2kJBQ1OvNoE-oVjJY"; e_fb_binaryversion="AcLyZZL7vfOGS9AdXuoGQjrhlgyuRQzgWHxxCEesl64skZ6QKzzWcN9_ABLgESpKbPJ0psEDVR2faMWwQ7chKjIsnTDUrBIbrDw"; e_proxy="AcIf88duQttyexojRH08SN-NhXd2LiH9HiQxJpi26auxE34zBSFslIC1l8uk7eq9lHWwO_LegWHNQpU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=130, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:51:11: Error on send one message facebookId => 1419430261486887 03/18/2024 19:51:11: Response error send one message => { "error": { "message": "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication.", "type": "OAuthException", "code": 190, "error_subcode": 492, "fbtrace_id": "AMQuQmmfUkSpCX6eq3ZUpmU" } } 03/18/2024 19:51:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12500308, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "access_denied" "The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANNjEccqPBduPImfzk2YVLm', 'x-fb-trace-id': 'Gcw2qbmnrjM', 'x-fb-rev': '1012123522', 'x-fb-debug': 'kqh6ivZdR3W4k0XuH1c3eDrcVTP+xOJxGqyW/RhO2Cc5impMPdkpXNvKS7YftuDA9AiUohVxpcr75qSolLB5lQ==', date: 'Mon, 18 Mar 2024 19:51:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKFZStdcOu3XTQUIC3quNTSaoUC37Bjget76F09LhbPqch8MutKxRqYnR9s8w"; e_clientaddr="AcJOYwevZaa0Skoz2_RqyB7gIuSx2pkC8L0qBnCjvhVBM8k7S5YGXNfSionO2UQ2h6I1-xpy2f1aAhqhpflc_6LP1i3oiTrqtRKPRHoJhfWWUIJi"; e_fb_vipport="AcJt3v4_e9ojXAd3obv4C8dpjEGid22mGN_xGi1tyUFPHkrLKLVEZNEuLQgB"; e_upip="AcIP3zsVYa15ZgX6duAYBD4EU0Dwos4iomki9DqX0Ma8cZpDXl-qTP8fabRbuD01nGjNNqT1yvYjbrfx2WY2sFv10CL-Lxvq"; e_fb_requestsequencenumber="AcJrdAw3-vOQ-bqBCbK6ggQdS7x1KQKA48wkK7DLMvdq6CBH4XnmoeZpr_9E"; e_fb_hostheader="AcIVkEogdVGstRD-JldukuoHVfpQopjhj0G9Yfe_QsGeB5RauHjxORvaJ408UGois4Jnf4f6IIqPl_Hc"; e_fb_vipaddr="AcKnX_uTW8FuUclSMDsJFQRLpzu1UYHNfi-GvpnG1bZ38SbHfjVQ3cG8xkEdzVuVLHhtO8wYsEZfXlDr-kc3REJtZDIN5zJI0Q"; e_fb_requesthandler="AcL6tzJIpfYtihTMbK7ile_RLH87a4d6U0m2FJVCsKm5Oos45l9pInWr9U7GXREfPCy26TAl4O8"; e_fb_requesttime="AcJE-AlVhlvaqS8PPCDN6tAYm7k7-PsfvKoVOsS8my6HHykixkWbbLN0U5enbfACD_yFnHY-7g"; e_fb_builduser="AcIrbGyyNutppkHm3yfeX08JoYoPWNLE_MgTv4CsHoIrBEYdtBJFoZZ3JChwe5ly-HM"; e_fb_httpversion="AcLrgf0elkDKnJ-DPMDVD5tuz-Y7awGI_Rs48KG5JTqpcxIvroJkb3Uu2Sc1"; e_fb_binaryversion="AcLvreHJvSJa36kY-FR6o-oEWunkLCBNBe9doyXysFtPWMt4T69LlvsZise9lct1G-0UlDubumaVIZevgHBh5zy0RePt6goH0Ys"; e_proxy="AcIWaauqByjg9ei5UnoZmxqu8kdchc2A3l6ByZ6fPPb57e89GBh7qEnLfpSwgltKFN2DmBIa7udTDejYDsOx", http_request_error; e_fb_configversion="AcLRYdJOhZ0btuixCTO1VRgNufPPDKf6yfoj70ktXdhcw9c-P2KFlS9M-ZlSLw"; e_clientaddr="AcISejeNxcQrRtVMSvGCEPsH0TNNSiGowU-bKXF08VgwCXR8gWv2fGO8XVK6Sbgdzsfq19RLuZXMRaIbGg"; e_fb_vipport="AcIaSl6rciLujZywHPmZBQBgAi-9Mqjf9lipf5kIL6803zbG67U8QIV9OWoK"; e_upip="AcLc032Mo5CgkkjIk2LiSYpnSltq4QTGEkJja-VA7gMeXni_da-7ocRd4bHBF4B4Xke3OxkQwjfi7wGOBQRzVAVSBQhE5rsVQw"; e_fb_requestsequencenumber="AcI-1MmPTYXb78MEwG_woXFtD6C7UmPJ6zGfgdAjV4936GBMolbsvX1OvA"; e_fb_hostheader="AcJu8EAkkMTl1ba0YVFNRMXaUvZgiMzFkyl5UJ4TPL6BZ6Wxewq-zm_D0tCsN97E5uaNJWcGyog1bpu7"; e_fb_vipaddr="AcJpkNSJbmjtak-djbRFC-PZVOOnt4h3aqnZ47XiIHTpzydZx6SoKVGlLJzU3N-qZnZBI7o2rA"; e_fb_requesthandler="AcKbveG3FktC5eK95kRlZvpRX8Zsa8ofoSUcs-aHo_P-j75VSMMDlb_B9DtFNjV2ZnjGB97Uizk"; e_fb_requesttime="AcLUTGTBzDUa_XqIUtUGsKYCZmjD0hzTf_KeBPjsXpIxsJz0xXpawbjP5exbFM7F7Jw_HrBLjw"; e_fb_builduser="AcIvnuS8vLjZf0rjYMXyu-GoWwOQC_s2g-gnAqX8R5eT2k7izpzVY12iZuxPfE9kLWo"; e_fb_httpversion="AcKisBK3w2hIrGbWWU3VJkD8w86Ae98ArTHp-UIWcBqyawns1ouIOK6IrAS7"; e_fb_binaryversion="AcL5mbE4C53oIxXceYD6TuUH2MeBWabpum-WkGM8ZKSM4yceKmOMQwTh9_jSkvtio1gS57ZBWsRRMdpQDyLm37Ew1dh5SOpo6Uk"; e_proxy="AcJZHy30S0ZyLE72Qmr2OS35EpywQTF82_Oae4Zb7K6Iwx_p_v60BrK3nI6BrCWi1EN5ii74av7SytBG"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=134, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', data: '{"recipient":{"id":"1419430261486887"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO4tvB6wdy5SZB0WTUEHmliQpTiZAXhHzwWwPcrnc2ehP0QMHftxllaI4mZCKQuZBse5ZABZABEThtnKDBTHpNsX2tFLBLemnZCOF1OXoEFF5YcafqwDXWmZCbRTNetKCfqx0i8SvesjDM6Pxul93bQZCks4GZAZAAbQlf55A6RhCWuMzglh9Ou3XnEz', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/18/2024 19:57:54: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 659c5a5039e09c0f00974c48 03/18/2024 20:30:50: Request bot not found: { id: '133788230054854' } 03/18/2024 20:34:35: Request bot not found: { id: '133788230054854' } 03/18/2024 20:34:52: Request bot not found: { id: '133788230054854' } 03/18/2024 20:34:59: Request bot not found: { id: '133788230054854' } 03/18/2024 20:35:06: Request bot not found: { id: '133788230054854' } 03/18/2024 20:35:19: Request bot not found: { id: '133788230054854' } 03/18/2024 20:37:19: Request bot not found: { id: '133788230054854' } 03/18/2024 20:37:32: Request bot not found: { id: '133788230054854' } 03/18/2024 20:37:44: Request bot not found: { id: '133788230054854' } 03/18/2024 20:37:54: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 659c5a5039e09c0f00974c48 03/18/2024 20:38:00: Request bot not found: { id: '133788230054854' } 03/18/2024 20:38:33: Request bot not found: { id: '133788230054854' } 03/18/2024 20:38:43: Request bot not found: { id: '133788230054854' } 03/18/2024 22:23:06: Error switching inputType 03/18/2024 23:36:34: Request bot not found: { id: '133788230054854' } 03/19/2024 10:45:30: Request bot not found: { id: '1067413796753652' } 03/19/2024 10:50:23: Request bot not found: { id: '1067413796753652' } 03/19/2024 10:50:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 10:51:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 11:50:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 11:51:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 12:27:06: Request bot not found: { id: '138868933458303' } 03/19/2024 12:27:22: Request bot not found: { id: '138868933458303' } 03/19/2024 12:27:45: Request bot not found: { id: '138868933458303' } 03/19/2024 12:28:19: Request bot not found: { id: '138868933458303' } 03/19/2024 12:28:34: Request bot not found: { id: '138868933458303' } 03/19/2024 12:33:05: Request bot not found: { id: '138868933458303' } 03/19/2024 12:36:47: Request bot not found: { id: '138868933458303' } 03/19/2024 12:37:18: Request bot not found: { id: '138868933458303' } 03/19/2024 12:53:00: Request bot not found: { id: '133788230054854' } 03/19/2024 13:35:09: Error switching inputType 03/19/2024 13:37:30: Request bot not found: { id: '133788230054854' } 03/19/2024 13:38:15: Request bot not found: { id: '133788230054854' } 03/19/2024 13:38:31: Request bot not found: { id: '133788230054854' } 03/19/2024 13:38:37: Request bot not found: { id: '133788230054854' } 03/19/2024 13:38:46: Request bot not found: { id: '133788230054854' } 03/19/2024 13:39:45: Request bot not found: { id: '133788230054854' } 03/19/2024 13:40:20: Request bot not found: { id: '133788230054854' } 03/19/2024 13:41:14: Request bot not found: { id: '133788230054854' } 03/19/2024 13:43:45: Request bot not found: { id: '133788230054854' } 03/19/2024 13:43:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 13:44:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 13:48:41: Request bot not found: { id: '133788230054854' } 03/19/2024 13:55:50: Request bot not found: { id: '133788230054854' } 03/19/2024 14:04:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/19/2024 14:43:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 14:44:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 14:55:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 14:56:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/19/2024 15:08:02: Request bot not found: { id: '133788230054854' } 03/19/2024 16:09:04: Request bot not found: { id: '320637341295349' } 03/19/2024 17:03:25: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7609728369118134?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12732811, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7609728369118134?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7609728369118134?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7609728369118134?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7609728369118134?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5noQbREjBdbmpcu6LHyvb3', 'x-fb-trace-id': 'DjemrjaIvG0', 'x-fb-rev': '1012152767', 'x-fb-debug': 'DibD9+VDqz3Cb7LYO4V702ckQW03i9qTyA+shl46drXo9pwlkAvjl06q4aIBjodHOP5hBe99gy/E9fbDUmPFdA==', date: 'Tue, 19 Mar 2024 17:03:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJwnaBQqsdG2GlWVKm2hPZwCry0NWjzbsQcRE7ADZyiSkwn8SjOZ-9g5jGZmA"; e_clientaddr="AcKom0e22d7Ud3V2wdAsOnqmWIQvqaUNhSM8UunqLt1uUHVRcg6aGXmZx0XL03sq1yz6fPiC-5gdaScslUc8iZL1N3D_2MuIS9NFL3ovXSFFaUIRLA"; e_fb_vipport="AcKDdGB11Geajb9s1VKYf0UUgX9A7Q9tY-cuowOAGfELPCMEm2J7O0peg6Fn"; e_upip="AcKIOdQgJRRI8DskfVg05SCp-MxQAzDdeKhpJIzxv1XRm1_uL4obCdK2o59M7PRtav-hbn_rVFvtqJadlwrXvAqeMQy8kOHCVFY"; e_fb_requestsequencenumber="AcJ-HCjnaaj7ekJNWBvFd7r1eMUeZGwj73-dTpnGrDrbadNMh-rexlIKXSIffQ"; e_fb_hostheader="AcKg365emQM6PmRVXPWSl4ky20DWAc_xIvdeq4-pZJ6Vr0YVpXeyQ42AxYcDuxrus8G-OA_J8PlO3Rwh"; e_fb_vipaddr="AcIJiR8o3YPkzuVjcM58iNR2du3NZgAV1fSiETMMAKCo3ofHAWfadXh234_yB-XSwrU0nHSlrNtG7wzKoe1wTerTD78nJ8QHeg"; e_fb_requesthandler="AcKV7GZeg7FNTjLMn-qRLeHliHDyA8H5bLvpGWHL5UtfZg1VkpYODBmVCR5asFcq38WBOrjOGUs"; e_fb_requesttime="AcLCLB3Jr4m3KcvEZRUCp3DuAiIrhzQGiewiueV-Ro4ZvKoZv5uuPWF3ctfLZe_EhU67WxhWMw"; e_fb_builduser="AcKqpIoiEyY2ZI68Avv7EV9Ad6Og2Cn3_MQ4IHdC-pKQsnTITPXWGez-NNf1EP-HKcw"; e_fb_httpversion="AcL2ZobHHS9S0RcxL2c9iUNL6kj64AAVnGdPxIom_i2nEaloKlXuBIoRs4Mq"; e_fb_binaryversion="AcJVq-h608EAa3aun79n8-PMEEJS3D0sjtqAgAcC3Q30XrkC1FCOVUfygzewgKMVPB_cVpR69MyMBp2cM1Zg4Uwna-_c0v3chpk"; e_proxy="AcLoutAGPOOwpEHj2DvwaRAPkFvEImqsaDkRqz-MX0BnBk5yLtbDVPwpI8Iwhu0y1p4YE2nmMJO41QtlYrGZ", http_request_error; e_fb_configversion="AcJouVZxnMSkF4njKZkXbxhaoonO0vHEeSnh0YPLBO31vLMJLhgHdIwSFubHBg"; e_clientaddr="AcIifq6B330744aQMR6FvLYR7Mf8fioyxm5R0ZsKuqU7le6cgGKNSx7q8ijjyVqaGJ5fT3GnVZU5-FjQrQ"; e_fb_vipport="AcKETqTHjAoQsJVVM0zjsUGEniB-RVt0oT4Y8UrK3SRbU-KouDDrNTnugkFB"; e_upip="AcIq46YmQLQPEfa9s_ByL1hS8o427j8FqPfuk2TCZFRf4wx9BPitzbdLURJ_e55NlM1f-UsCdmz3Rvu3uDBEb05xxbJvufO2Rw"; e_fb_requestsequencenumber="AcL31_rQXzNr3aEW4C1Xhx4iNSF6QFQAszbHl3u6x68hX2mDNX1CZsmcyw"; e_fb_hostheader="AcIPJHJRJe5qKMC91nGd2fTEPT6_OmtMU9gz3WUohcB_IK4qjWHIc36jCD1C7YCcnOOaN8-tEXpf1LZf"; e_fb_vipaddr="AcJE2WROXKfTltczvAMoi6myJQk_DgRsBI7htBAmvEBvt0cRPqkUkTOuVBjlQuSrK5wtdaNbbA"; e_fb_requesthandler="AcLV8yQtybGxAJ8HoxjxWtxQeiflI7SLA_7s2IcAFEwbsX7viDkbr2J4YbA-KCjexWoksHOXOwE"; e_fb_requesttime="AcIn_KYOifWTm2rYzFXPDkfPHNXh5KH_FKGU--yjFkilOO7fGYqZIcP5ouYf1Ic3alIzYRZBng"; e_fb_builduser="AcIMUXn6-e1CZiK6NdgyKWjBi77aOxfkUz_GrqyJQBkh0FHV2D5fH3rD-NL3WIdpaNY"; e_fb_httpversion="AcJ0NPEUC_y5NS7RLq9irCWi47vXyD3-2gvhJZCaTeTWtAU0Ztn9X5CHAktm"; e_fb_binaryversion="AcIzsNEwNVocBI61RegmGnsMCNSuHiURzZ59Q0Dz_VrB9jGs72riEtS36UVyoG4KqxOhP29BgKUYNlxCXm8DPQCUSGjdUCYaf6o"; e_proxy="AcKsjSprqp-SINLAZOwKOApqxG7jLI13kPiwZNZGwRxp3bi55IwcNtLR_hkgZHjgvihL6-FyCUNwU4w"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=251, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7609728369118134?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7609728369118134?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7609728369118134?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/19/2024 17:03:25: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/19/2024 17:03:25: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/19/2024 17:03:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12732931, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANlfPN0O5JqwS7HJXGbPT0D', 'x-fb-trace-id': 'HeShjOLaGNP', 'x-fb-rev': '1012152767', 'x-fb-debug': 'Du56zUKjS8PhPfb4zl5iXm7zDIF5vkpJprcEN/bh6dFcNzVEqAE2eR5L+DWzH+AfigGDeIayISMYxE5bsSROgQ==', date: 'Tue, 19 Mar 2024 17:03:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIfKqPR4HbycL_YchhMCdlRFK1CZgb6LEHf39e-bgabwq6Bs4_Gme96b1zFDg"; e_clientaddr="AcL1EEeElIkesOULDXtJtx3maTpDYpqfz33e51RWCbatMe4rh4GJ3gSqbMed4Df5YAh-upHPk_9hd66Idf8b9WkBIt05PnQYhLQx7UIfkpp_9QdW_Q"; e_fb_vipport="AcIQToeLy7wwbo0RgyyJCwA-fYy9PKLhpBl07ee-BNN_CWnTNFGsGuFKhI6J"; e_upip="AcIrZagxtIpgGuYSfF0z3lSut1poZkgjbW86g1NGpNMrDXtBCfK30cpoDlolOrmwdAbNdXWVjyw8aXqt69F3SFRV4F4ZQrvm"; e_fb_requestsequencenumber="AcIjp0gjMc2b8qt44fE_IDWtTO8Q1j-s9zOfS7bhwTZHOMSzsS_ETirSugWD"; e_fb_hostheader="AcIeo5pbb1mnbQ97zQulP-bOOu7ySVnbZr0S0Yys1FBc3gdDsA-QJa306bS9rwHgZWIIyqtPgO5TrUmb"; e_fb_vipaddr="AcJZgxTSPiYGZ-MUKpARGM8ceci-kA2Lhlv-D0pPrEtnFxK21fqL7N4VEB5yfoj0tz9VxfPcDAjkcI7uZaqgW5mSAKP8pEy3KQ"; e_fb_requesthandler="AcKrDk_iu-xPHXLnhnrXY2cIPL44CKBlaaTUng_RP0COPkbWESiEkaYDdhGCgqDK1UseAQzcNlU"; e_fb_requesttime="AcL8cGOa2b06-97rV1KiLBkwh8PzbCVRfqb4FjKIbYTjOIspEvwlwNBKIAcfgAFm5pZa3u6ExQ"; e_fb_builduser="AcJMCrnbYq55BSb_G1Cx9oR_M_VWwN9XRrJNF_6SD-DiPkhrrAOmcagCQoRpg4YKKho"; e_fb_httpversion="AcJz8-O4uBfWUUjeWsq2XcXFtNH7J5kdi4GoVzNIf9X3K66QUsQ8tBAm9jvv"; e_fb_binaryversion="AcK7ri7db5BBgHWuv-MUUaVulhe6nsuGghR1kFirzcQSzseo17uM_OzFHxLCjv0p6uvwRUX9hZhs-Zk0-n_GtQxMHVxdz28jNuE"; e_proxy="AcKO2uVNY5GMvNUwkU3CHvuvosZdPgQ7AFDEwxyZ0mAexzuPg5bSglLw-J4hCLLMroQ15Qg_KPiSlLX_pyMP", http_request_error; e_fb_configversion="AcKtzMSS_xcauuA9rho2WmAkzFSYHlIjGrI9i6FY991xYrsMt2-GXbzX_CfSZDnDiv0fqOGQdJMMh4yRf0BHcQT7yFRlUO0bKYY"; e_clientaddr="AcKoYr3wKVfhWjDg1h-AwE4gHyXj8gDtxQ2FGNg6k6uLV7wfGuhFYsAFohfOfNBzXUHaNJaCIacrUkd8Pw"; e_fb_vipport="AcJFa1l4QVCkh-qt30f4R-hP1drbIjz9A3yuozjaHBaJE7jxekOYhAqpPfMv"; e_upip="AcIrgmD0FluI5fTuzKoqAKQuCt-LOWBYTbkJbjF7Z8ExeHeE5BLeGesRsDhkj-3lZpruiankvgxS53cax5qLRn6_RbLgdxIwSg"; e_fb_requestsequencenumber="AcJ34qXleP32q6gW1K7brJmF-SEFV1jbr9mbicn7IEI3-dY6Fwp6Y4Xlng"; e_fb_hostheader="AcIcxzbFLFfcQjTaoOcE43Ypxi42vo-aQR45ORRD7uk2AgNR3sl1o_B4A541l6s70MLFYH31ISrhEEMQ"; e_fb_vipaddr="AcJDKjHWOdCi0cEvJiHWVgwcUhTCSP-ede7XOJDVNCqNXcSX3_uuC5AZdUTZpeU4dtEKO3xVoQ"; e_fb_requesthandler="AcKa5nQU7VB903931GSrDTQcT_IMbn7N7FAp8Xwvh0xbWQ0xVV_TvWfwLGetA6Ec4ybnIqQ5ea4"; e_fb_requesttime="AcJabOZrvk5KKMU3KQDCVCAxN3H_K0ANW6SpHLOvjhhQ-yVCdGq5J4O7if73wE-k3hSkwrMoYg"; e_fb_builduser="AcKZ8huGb-kJccL0Iudl7sHfU_amayuU6un_Sx3hdbMFCadhupddFCLskW3H_52FXkE"; e_fb_httpversion="AcJY_Djv31qmeXne39bIatpD6JvmV222yZJ6d4sfKEcLwQTCBOJJgluB21fB"; e_fb_binaryversion="AcKcmUftz_DFFOe0bKbfw_vZu3OM_bwpAI1M81G5_oXaVCesbn1VscNcjj3CZZw5BcCwPhz-fwUFhsVYLDny_C6g-kJUua0c9_w"; e_proxy="AcLaOynjQ-yZqShhWiAqMscBRYs8k4Xc6BnMFZNtUMFevlVlQ0xdu6iu3QODBnZPDX0xxWPw-te9PLM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/19/2024 17:03:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/19/2024 17:03:27: Error on send one message facebookId => 7609728369118134 03/19/2024 17:03:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnZ_zuDbNIkTMTZmVDwLiJJ" } } 03/19/2024 17:03:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/19/2024 17:03:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12733019, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYVIJy0tVZT4-xIMhYJ78P8', 'x-fb-trace-id': 'DEdZmmm8FcY', 'x-fb-rev': '1012152767', 'x-fb-debug': '3GuEWwW3zROtxi9LFEUU8PAi1H3N0mVBJEUZ2+AAiJCVC7IZrJKROcIAD16Kc3QG9M1vHONVGJ6aFVuPqnRs5g==', date: 'Tue, 19 Mar 2024 17:03:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJAiSqX4Y9YJfPP-XDBGn7y2Tqdg99uCuAAu7Ry5EVaYKuq7hpMoi53_Hj26g"; e_clientaddr="AcJpiaMmUspx_w3zy6uaeJQV4C00lCcB1LCYg63ztiklwo1LncZk-pfSdbl5gM7gpEreBVQbndoQVxkbGgCE_O9BVPqRTAvmdt5TvrgSqhRX4OYTTg"; e_fb_vipport="AcJTJqLhggmM7IAab1JpWdC5dO5Iy-7-8r3n-CyyT4JeDQ9FYvRaszl6j5Th"; e_upip="AcKbrAP-h6j33s6qzOAzvm9VUiD9pShlku_y-QzTr7z7bqpjpVbFb_gzzYxFq46wxwjgbNCNfU-PLWa6vOMvXYX_-YBm07cSlvc"; e_fb_requestsequencenumber="AcL6NFZL1qmdDqO6o2XhUhjtGj3bDO8TfZxPaSWauAdFCmxbWQ_BmZrvBHU1MA"; e_fb_hostheader="AcK2gUSrXpZU-GPKSpLcxtPf1TiLvox7RNul3wGJuQO5emTphXDLIrKvDsFB__YeTS0Ka4sK_2fPiAhA"; e_fb_vipaddr="AcLA9B0GLpSa--o-Di3eCfwhwr4ebosqwCIfbmIjPHHipZiMbXgDaFnD48EJYFyoIVAz5iPWr67ksaiqPhay7lmVybgJq-r-lQ"; e_fb_requesthandler="AcK49OyaDhtNVLTdQaadyT95kUzeL9ISqaIst9fYlsWbOEo1k-khfSKmU-MRgZKhyDBRdV57vCI"; e_fb_requesttime="AcLTv8d7IIJuNAh-zRXwGonHA9WX0cSRXPU8CtisDdu1cdqrXvROd5pvjHaCrokmfKS_PL2iXA"; e_fb_builduser="AcKZiG1ujKtTfjFDtRrCuhpY08wMSTg80SQWRUAWq_EvOQyXeOHwA_7J6uBJttfwESM"; e_fb_httpversion="AcLCrjoak5nojGmoOKxEyym0ZVWYlZS6k0XwDRFIFO06jf4tZ7P33GdMxWEW"; e_fb_binaryversion="AcL_v_zAy570M3FX0tTFeVBQE8C_URrXfLWwyPz52ZjoGEoLOQjX5MGOBorXX60OlEd3hyQXqPTVbyxOx3dG75xtsWV7nr8U2G4"; e_proxy="AcKB2ME3a177iukb6ya8ZTz5feC3mHF5JlD3boAlpf7DIFL5Uflx4RY7mLwRNnRcrQCiG9OgQWrMD490XNBr", http_request_error; e_fb_configversion="AcLdApuPwQa3mmbewGKF3JTYjD0TaPoVm5wADzW-YTEFsUgdu4ZmImlYUHLDNw"; e_clientaddr="AcJaQo7KwZo30bjqzUzHBcipUtL0ge7DOw_beHogj_xsRdQ5xi_uq6TKz_sADIZooYW4Og8jOzZjYTnh8w"; e_fb_vipport="AcJU8yFOJYFZHTORrR_3ROb7_3lSiKScZHv_3Q4nQD7xx4vKTTRN6gy7bbov"; e_upip="AcILGnyAhcvydN5emK9mRE2VEfD8bmGlYDsjxyJmLtAsuLIVb_O8quj5VqFW9bhSYR1y-0sGmoReIYtACpzdim5z6NqPGD_FCQ"; e_fb_requestsequencenumber="AcKWGdX-HTWoM3lq462NSGKwiEheZa7aqnxpmRJGYrZiTML4ES7Aqvaz_w"; e_fb_hostheader="AcJA4NpaM6b8s3APinbxnWljRf8j2ugxigv6-04KkyQfVHowLM5HmTjwfWbHNIsx8Sfbon_e8HVRi2y_"; e_fb_vipaddr="AcK54ss8I4OdsuSlvfXSOaGM7qn15z5tayAh7HJTtIgxQZlfZhp52-h1sy_tGFNzXKlcAsLhPQ"; e_fb_requesthandler="AcKwPpLY8v4Kc5ZLyNQwj1DSgPmAzaeeBPlQ3NN3IMZ1062yS-JX5gAE5BiLwRdXk2lsZ8d3FSY"; e_fb_requesttime="AcJGDBub0cYw1DWD1ull-fwNB9Y-YRlEguc9_bw1YMX5sRewNHxSTAeuiaoM7hkHdk-K_Of5jA"; e_fb_builduser="AcJHSsr0mnnEz_lygpWrXPNG8ZvIvPtNv5LXvhrIVppwozG7lsTeZpY18UfjG9kMOrU"; e_fb_httpversion="AcJTe91QrmhAMiluuhYul6LbUxvIE6kpzA6Bag7FYsb9oYINpJUQsrxhnzbA"; e_fb_binaryversion="AcIZFIWYcfH2ewTADh7ztJoAK7BmbPZGr8uBBh0mXqkxSugeF5dvggZB0I0TB6ahkshe2X8syB8J-GI2yPpRyoqpZWH-eC15Cwc"; e_proxy="AcJbQ3VHMlaM0AoaBNR51QrtPCELOXQA9OmrLFTq1pNkF6Cc8-BR9VEXx_a7SVQy32F97V3VyrU5dVK5"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=196, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/19/2024 17:03:30: Error on send one message facebookId => 7609728369118134 03/19/2024 17:03:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJO5itX0qcSWOPcXBEhN9t0" } } 03/19/2024 17:03:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/19/2024 17:03:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/19/2024 17:03:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12733157, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgRz1KACwQs7FlD7ldCdCFa', 'x-fb-trace-id': 'BzG3JbFzSh7', 'x-fb-rev': '1012152767', 'x-fb-debug': 'EnuOR1B5RzUV9ZfL8w/CJOjUEe96Hcf9u6w5QDONpWba94rXVRhUk1i/Kj/sqJ8G2eyZ0L1HjF6sDnd5fM5rGA==', date: 'Tue, 19 Mar 2024 17:03:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL8aybeRwOtkc-4V6vQe1-fkKG3JPXwNggiW8QeK4c8HDy366QBnC97qLQjZw"; e_clientaddr="AcK3cuMXW8H3jxaEBaaSF-xfJcJE9rIJZks8hvrBcXOJWO13y0ysSN_SthzjBC8TjCgDrn1HinS2fUddZYoOHHQdJ0ocXHkJn4r7XHPiKg7n4p2xHQ"; e_fb_vipport="AcKlqc2bKobOuBq_1BpWTFnkOz6wI5joQyA2WTx9r9QYyr4Kd0xRccC8Sl0q"; e_upip="AcJaMNQjO1o8onLRNiJ-cC1WNdTX3egMa-Uc3ZtbRBwwR_rtLZca0EIg7i2RQTiXusmPxT5L6qxZGH1eY8LdTHpby6RG804SBDo"; e_fb_requestsequencenumber="AcItmRCY2i_LICvYNy86RUWsozA9qI5p2I3Z-nL0GO72WHYls2yI5a0apgh1"; e_fb_hostheader="AcIEPbxmCK5E0bPlCj-LjzgWJWQmZZVocm_W4zua3FheASWEq-5BX_S9UEl3K_hrfD4H37xHfsMT4G1k"; e_fb_vipaddr="AcLLAdYjGtOj3TSvbgNEqpk51J_m0h1RYFv1vIpKjeHzBZtF6iBnaGPtoKLdYiP1cMszV9zxWrEpl5MM8oWqqPnZ36WP0ru3PA"; e_fb_requesthandler="AcJXWx5Gek3nwDRoL6xPvedsMtvLV5ODvB85exzQ4mYCnvEznz-XhvkO9R_wQQEQgNK4aeVl5OA"; e_fb_requesttime="AcJxQvRNkbeT5NwqOWwpU3KQr_iKvwzVG0DLf8N1sqfBk6ovMUoxfAvwFcaCVgzedlz0zhdLow"; e_fb_builduser="AcLhr0LRHIlAexFb4jy8E9wjndPWVdGHhoyZfXZTkaHdQZ2PCav2LEstM_lASXQLFVE"; e_fb_httpversion="AcJ8hPUot72L91wDeA_5dXrJFF056o5vfctMYgZgRrIa0izz1y1UlNns7JUc"; e_fb_binaryversion="AcItnVtq_Obzc6Bzi_yFG-8GfCkYXenzOQTp1XIfIBE_h72JB6hW2LIz7-OUatgYqiiROrd_vx7uIPkajKVfDix-gA0Ub2kpA8A"; e_proxy="AcKktjyb41cE4d_aILFb5UTLfKhXnr3LvvP2PsCGFsO7rTdAF4jgRWK3-d1PzJq-6qS6Y9N-PCXnhRR10zEH", http_request_error; e_fb_configversion="AcLtM-qKYtVR59UXf7nXV5NAB0ENnF4i9fzyXZ8XVQigMbylWtdd5kzcCr0jPQ"; e_clientaddr="AcLNS-T3an4UdCc4TWTTfv4VvRntBLdJaXEIOj3TLcaDKiNcXBBtHjwkcZilStuzZ6z4w5INApBqoBB7tA"; e_fb_vipport="AcLu52cGl5w2ugi7SZsaSekZSAHn-G66SWxcQFUDmfrnbxH2lNUTb5mVLu_e"; e_upip="AcKYr4n_tsrBF6R_X7vTH5O1JyYqsKMXzk1-vHtuy7hf4TKLbMjQsRlHpQc0r-wBB1wWP6i9bMPzcMdNdgdaoxUKTo_FxKvavQ"; e_fb_requestsequencenumber="AcIPL_v6gcohOsylDXsqPQXQVQhXFwI4ul5p_iDlcW3FtwjOuckMOIovmg"; e_fb_hostheader="AcJwc7i6M8ezJj_ss_bk5ZanFAYzOEPUL6_ZZ-1NWGBQV_6ctGK1M5rmqlUqAUKpvkb2KYKo82UV3aSj"; e_fb_vipaddr="AcIBHOAmE89GGw7N4bONa-T8cqayyE3ZcRXG3XEgu2g2FodfeSRJ1nNjnlFzDMa1YYqtgmV-mw"; e_fb_requesthandler="AcJPfGYlQLtyvKMq0yXT2IxybBF948n8wc1d7Ly0Xnm0Gf0bPjwseH89Z0YEySzrDgVBj7RjPbM"; e_fb_requesttime="AcKUPKM0FbfVEif8S4XH97qDzLqCOG4oEGGErRt687bXwYZ33SZL6Js7bvcWyHYksJPC_Y6acA"; e_fb_builduser="AcLv_dUAyCnNZby3lgUVlizK_4Me1oqkhrRBNAY3NlQQW7llDSjD5p6fZijOOkYdpwM"; e_fb_httpversion="AcJ-rZ6ZTXN5ZDtqu82QLHYATkpTkujmsO8xxO2RYhFuEyBtr0xUTv4Cu9ii"; e_fb_binaryversion="AcL_Gh_KIvXvcYlXMO3FQmki91-bgsQg96D9Fknz5myzazCoHpTgtJ-2jvJ0YVG3BLUWx1_a_LP3Xny8zDrt6o-Wr9JT5y4zCbw"; e_proxy="AcLHCGyXjkrUqtvWnmB53DwTMAT1qU-AeTGE-j0yspqmzupWf8Z4JEth3utHKkRtaK4sRCJrTQDjE3s"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/19/2024 17:07:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/19/2024 17:07:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12734023, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhCkRUbI8X7__BerTyiDZ5x', 'x-fb-trace-id': 'EsRbGw8MRPf', 'x-fb-rev': '1012152767', 'x-fb-debug': 'V1Vy5WynR98a5yX9aN7rJHcQ3jzbeE6Eh5XhOQaeRW8FurrUTWGYw5pN6FZEYgSfOcq5V4z5it5yI7zWal5ITg==', date: 'Tue, 19 Mar 2024 17:07:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJpw3hfZCmS3WWFhHsKqlq6mJHe6LdU6sVHOZKrkumC1H9XZLdwaSHAKLQrig"; e_clientaddr="AcJLxU-E3mgHWqPHwga70_DqTyhIM0D-vYWn74zGInkV_byyTJQpFqC4P24ZjAscS31YB5lW_jsRt56fRPhar0l-6IhvQxtwOlCmBeUTDP-NJJE"; e_fb_vipport="AcI4xxx7f4Hwet7gIpzyv5FL0Ky1LIOaYWj_Ad3rVemgtQ9lOO9rXKKOTM0Y"; e_upip="AcLa1sKwdhGfDQoQaRxbVPKj4rjGDWhdu3EOoN8szqUYRfGKFW8H8ZlAQeUvnW5hUk909PMoaRrrrWG9sqwZcT-o5pcvTXmrwmk"; e_fb_requestsequencenumber="AcKG2_MMz0NGD1zdlPUWjtxT5d6ez2737Cy5ofduYaeqUP1F2hFXYHP-htUp"; e_fb_hostheader="AcJQfN6LMIt_W5D9biWEpRvzfu5NDJSgIuGtQdjICpqLcq2UonKmHGNewwpn5gEVmccesM0K3XtMAFvR"; e_fb_vipaddr="AcL7i0kfwMKnovywZ4W-guOII8XGbXVn5dlIslTP8MftDDmg0ApgDlVyhJRWwBP-_j9PqyvlGH51JogiNbx8_j38eBYJpMFk7Q"; e_fb_requesthandler="AcJZ1v1uQEzTuesLGUZVSrGzr_NGLlzpiiGyw23HU9-5vzahag6T_1wrNk88lpRwqbGwfg8tkKg"; e_fb_requesttime="AcL3YyXyjrl2szmhXFGsRtp25LPF_PsJPQSDT2Nt9PknM6YnzLwVyr2w2eeEmUWf2JzV0-QyOQ"; e_fb_builduser="AcLaTtRADMd7GUNv1ExiA3vfP9vhqFbx39k1brskNxtqtXN8CwvyT4-GQLwTGiajrFs"; e_fb_httpversion="AcKzavDgsLUg_zVJC67aPiTf7eMf2a02rS5UBUck_3h10chPdaq-4-ojzadM"; e_fb_binaryversion="AcLELM2o0YzDG_pcsO5v-dJQyeg0YJH0upWyCiude7CieAgx6BAX8xvCAj5OiJhe4RcJae2TonK7B_i8ZIcDA4huVytAL4GWsbA"; e_proxy="AcLEpNfFU5c5MNi66CqX0BXnLvqhZn5Vz8Ai6WigHbgFcq8AMfo7oDS_1foHaIv6gTyhfmEALS7Td-EFcieK", http_request_error; e_fb_configversion="AcLogqFDn2jR0BXfVjTxsOC3GwhD67L6dZz5PUN-PP0UZUI5uyfafUxqbNSDdg"; e_clientaddr="AcKEF6pJzhUngG_x14wv4d0maNhxYdYSWr2SSmJ8GY8dxFAV1wpneOYX6PZis8SDoeRxIHuxR3koMLEk4Q"; e_fb_vipport="AcJnEgVutQusqfsEYBZsJarOGfcMNgT5WthPdLgZTHetlfElIJ3n6qQyhRjX"; e_upip="AcJFFE3ZNBENeeSzRkzWJxQpQKxOxPLLZGSLX-yCMBJHM-DEfZ5u1QeirTWhTcw4GjG6I5exCpLgs3i3oeMci1feEDeujK2X3g"; e_fb_requestsequencenumber="AcJIvqsY_o84vxdDwoFIl6wDGrXD8ZLCvLQEo0naZrCPOR2yPtd9nGjSrA"; e_fb_hostheader="AcIeHP_7nx_Ral0ZOK4K0vnAhXLrIfiQHLIfZksLTUTZ1rKWO4-w8c7ywpPmkI5QyQYB_7dA6ExMT6oc"; e_fb_vipaddr="AcLMoFTXp2Kye-q3g_GXh-F9ZaiKCcUTFW6vb_-swcb4aoX_8b_GeNgo-Gbs8hwxZQlY2kA"; e_fb_requesthandler="AcJILxMrAPa9bvQmxxDuQyuLnVn0LD77qnPOrwci8uNfCqkraQryqvD7Ir2MoZSKtXLgr7VkVXA"; e_fb_requesttime="AcKAUF22jPe_h_eDDI07cRlWDCQQXGEbQIF9RZ-vjt4q2nk4PgvmZUHxO0eeup6y1_e7V92v9w"; e_fb_builduser="AcIlAuPeSNRvhUJgxgvN4hMDvyAxxV9XM8Ftu3UG5VEGnNtWX-Y0QLMm7PbSBhvvQmA"; e_fb_httpversion="AcJ_k0U_Dym55L-b1b6-egZ_0OKNodDm1WonzGvU1n0Y0Qjic6MtOuoQ1Yqx"; e_fb_binaryversion="AcL4yjRFPntVDHMK6JU-f6LfehLJBoMBo4bwPDs6avqQYmQxSxeDlw7miUmqKBXJSPdW6dqFMYYgxL1Y3hD3_esDdwAQy5_ehkc"; e_proxy="AcKJlTmeDA1STBXdzsY-uheZjSnwD96oEbD_9RPvUEtqVOf8kJk9U1uj6T3Q5-ZL8BflGgqkhm0vAcc"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/19/2024 17:07:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/19/2024 17:07:42: Error on send one message facebookId => 7609728369118134 03/19/2024 17:07:42: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AZCsIziMoX3XzOUBY325sxk" } } 03/19/2024 17:07:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/19/2024 17:07:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12734159, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsUDnbk2vSnQgxTOPPWQmXv', 'x-fb-trace-id': 'AEY5FInZor5', 'x-fb-rev': '1012152767', 'x-fb-debug': 'jOCHuh4cLM+YQGvH8qH1IcRTfd/Z97rAF0KuIy4+z8FfP3vfoQMBvLqN3G/tYnVYG2RVeV5+6b0BovgpilmhSg==', date: 'Tue, 19 Mar 2024 17:07:49 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLntG1vZ9p7ZznclbFL4VOmRDMpPScA3DS60g3XT9sF1jQ9KWFgqNJNgxvXFw"; e_clientaddr="AcLA0LVERZa8Xk3gGVcFexlD_gwTXxLfaSu9n9jGJkM3ABBLY6ixBO-5cMqA9AmuYheZKFHomhOxId9i4okJaCHU6PxE9ufnF_wxmKWm3Wb8f7KqjA"; e_fb_vipport="AcIb_iQNS33gWHNf0_ULHYFAbqf2BBnBqPZve6aqnQjHPVkbrbbOyN1XSLul"; e_upip="AcIj0GN1v2lUmC_5K0I7qutXBDqNJGJA20Bru5WKUDR0b7ZBireQcLk-Kd04IhKsfqErkOtYCZvduFDTy8F0WJS7ssnFiUAXAA"; e_fb_requestsequencenumber="AcJ4LW6V6m5BFbIN4kz4d7Khcz3rXBR8N1cgOOSBTqDJXsm1-3eMSA0tSJ7PGA"; e_fb_hostheader="AcIaBpnJDhxmCGyICU4SkCW0cYZIZuCFEelHbIhSc5F09kvn4VGL02ctrUDALKyX2iF1zF-dAiF5nzR4"; e_fb_vipaddr="AcK7sormeONM-JBLhW3QfaZjwTNHiYZam9WeDVoXkMUNiM9lEWuZibavQT1edg7IAVIpFuYAJ5MWFebc4B0WlEve5IsK2OJf1A"; e_fb_requesthandler="AcI3qMV1VVJ3fWATd6TTqyB2to8m03AgrIUSKmhAiOksGS9TMysqjBMoziARNMMY2hzo413AuiU"; e_fb_requesttime="AcLAehwAcxu94BkDEKliaTGkgOauKfK6mvZFuC8CifncEgckl6HX8QYgTyJ7or_b-RYGEQ532Q"; e_fb_builduser="AcKJZdY0kfJTRfYasmIptHP0nVTuOYGFYWCyvgjRD8FnuBY3Q9_QiCoQvRgewq_zl98"; e_fb_httpversion="AcIV5GQh3fWc9uYctNp3KYiag30u6kV2wcdYVyAky3082fuioIlR3e3vyeu2"; e_fb_binaryversion="AcLnitGb3y0OypivtbQ5PzY19I3noYi-J6cdpAuBGeiS6UQRx_pUZ6Xw42QBlrq2uxX7gLuxAN28r0DwDhBDx467eoygocsNCaY"; e_proxy="AcJHXxqgipSdTNlMG0UxwmrrI8qyx88rW3gxnYjkxOX5M9K2Svk-kYEO2WD80LlEImQdcxEvyUhpbcSGdPzH", http_request_error; e_fb_configversion="AcIsKqiyGxPwVvdHb_hhstGeGgQm2ZYBp1m6COgKxR-97MN26whstAnfJnhlNA"; e_clientaddr="AcLJ2JuZoMPUtXRK-YIZQRHSOabpUPlJzZ70yO57QA6bhNM-gMZQiQv7nlU9_yIqr8QyOad-4pSUJ34sog"; e_fb_vipport="AcKmJ_zVMAistWVRttVPWRmjlxVwDiSTfR4BFSVcd5Z5fllb8cf7fTpEMu_b"; e_upip="AcLTSwBJlc7P7FQQEqqlxMAvoWUvfu3fpx5Cjln4WIYbpa5i9Mn2TQXcGickF04pr7ROLvrW2144XEo6peRXT_Arr9WDjh3n9g"; e_fb_requestsequencenumber="AcKudpC-wYh3gr2PovbCGoXsSMaooIlKyPpC9M443DMTk8DMXkJPIM9jhA"; e_fb_hostheader="AcLT3LjP04WcJ010KZblsSlxrZW0wC_TOhenEzGFgGRaQ715rKetzxH5Fbgezo_AsD-tSoJyBkwFbrc7"; e_fb_vipaddr="AcK_XHYBtuX5USdtmF96dv0ZLV5b2X8tm0TxNVhDRiAZsv8xYiOcD5byHMfhfNZIaudBwHY"; e_fb_requesthandler="AcIabV-xo5kAQL5lGfaSsmlnJbZwsaaMGfyZVY7QwwNosurEfmpH0fx4ngaqGjEWrnNPAX8B5FU"; e_fb_requesttime="AcL8BUtbwBzJCLNJyVoXRY81o7Uupvj-58Sol-ilJZ1UmcWuW9W2Fqe2NZoAyON56ECHfAFl3w"; e_fb_builduser="AcIN249mDYJSgjeG4wPIa6LvIvMQvJ4G2qOZLNXtS8ToBiYhNBRdsMI2lqsUuSo57ro"; e_fb_httpversion="AcLZhxnVwoG71NGGyIZe98SIFJJl1ty_MDRffGH1wg8GgbK_usloTleTsigK"; e_fb_binaryversion="AcLNeChKckFC5H0SuS9jnC4zAZFAHQ1f52dm2e5fgs2G9Saoi4f6YKeOiZgaM8w3VWHtcaroStnJ6vbhCHXzJDvANg3IIYoOBJM"; e_proxy="AcIoQXY0c02P7SHw0U0yWjJQ4BGiokWUkDQXaB0dNzE6oYLmDRoUdDXk554qLrHE-h9s8f2GjgEEQD4"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7609728369118134"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/19/2024 17:12:32: Error on send one message facebookId => 7609728369118134 03/19/2024 17:12:32: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ACNa-LxUh1Z65GzcPBD34KM" } } 03/19/2024 17:12:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/19/2024 17:12:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/19/2024 17:12:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/19/2024 17:27:43: Request bot not found: { id: '128159377280665' } 03/19/2024 18:42:10: Error switching inputType 03/19/2024 18:42:49: Error switching inputType 03/20/2024 00:22:03: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7277499155668197?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12812752, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7277499155668197?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7277499155668197?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/7277499155668197?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7277499155668197?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A14amFVyzqDO3-WyOUfwCZE', 'x-fb-trace-id': 'HhJlOW86Fw/', 'x-fb-rev': '1012166625', 'x-fb-debug': 'y1q1++oKfojpB7lPEuMNYJBmkhP5QqH7D2oYSZZnzrPxK/syfBkx4/hdzJCslz073YsRDBt//KNp6Lu0q0onDg==', date: 'Wed, 20 Mar 2024 00:22:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKMKTV7SbqJc2cO3QcnfMFFXd9U3g3jlZBYFq-WYTWlt9O2Vqxn8kNkQXJHmA"; e_clientaddr="AcKFKYwjiO8Biw1mj3EWSouPL6ff3daJBNwl2RRPcHQOkhuBIW5B-q0K49uOp1kDChGtUM1mUGNW6yg5_M7vMRgIrvT_5koy9Hzvl_4U-G0V6Bsibw"; e_fb_vipport="AcJLoq6rexz3dyyk7bDWbPfIM-Oq3yx3hT117ZPQiCrmIqUZUWI1k5TK7zg7"; e_upip="AcJ2QTzaHH6fIYaZd--yO3sVKWMAkBqIa_lsq9YoEl8XkxhVWUf4dlAc6-Iz801i72xCyZH_arFMQKOmW2ytA_hUe-c73TzU"; e_fb_requestsequencenumber="AcIslQkryu3c-M_Fn5vae4TT2QCjypUGB3Enp2o-HZsMerTLDi5eaJOeh8MQ"; e_fb_hostheader="AcKwYVdUDUkFVpyR6OBm2_ofl7sjzW7O9l4FpKdq8NS-q7FHJ4umoPTPQV1SLFBzPgRAqUcj1N_EUnX4"; e_fb_vipaddr="AcIv5whHlNyrbb9jQpqi-Q1JAieOnyQz-HCuDnFJOyzTnvB9c5Rf0YlrmX1g1BVzwqF2XY3SY58eqapcT42FvuAsDYamRwpNzw"; e_fb_requesthandler="AcK7bZh9OcK0qdy17WQzbJBpH1lRThXbgPi_wjyDuMs2--PZuJOEPLnabKgiAhYjsdAmhfFe7-0"; e_fb_requesttime="AcJ-9IlpSKfWwxtAr5vyOSCzxxntvOjN5Bm-TAiudo9TK0KHWjXra1dQUoULBYFR8sENeVF3qg"; e_fb_builduser="AcJDNLrJp-8fqkpB6_KhYglgjHxMnm9cUIZN1M2dy_3URNi1tt2Rur4qZ8Z6X3taSzM"; e_fb_httpversion="AcKy8ZF8Wb8WzlZ2eD21wufWzupHnRUMVVnzWAO-MQXKG36AvFVgHM5pfMH_"; e_fb_binaryversion="AcJdlUsBbjs86TRRdAssFmhUyZB4H4bFz0WfSgX_T_18cRFuPbr-pY3xs2vb1Ewh3UyR4QJN4G_D5PkI2Fjd0lhMj8ZdeSl9bJk"; e_proxy="AcJvAxbiinPRrs7JSsgqbqwFMWamL2OUqPDEWtD5142tDMPZ5XyVHrXOucxAiey6LK4h9dRB1rBd8l9yy-Qa", http_request_error; e_fb_configversion="AcJONrArH5bHGRMtuetCfLNsASZDCTQc0pnjtjb1NLXE-tYLfW-6SMPiKIombQ"; e_clientaddr="AcKdA6xK7Gmt42jOxsKIi5RGNiDUHGmf076BUytWgI7RV_boC_LZwMPlWiSZG-BwRfQJWhhgwYiFyjbXqw"; e_fb_vipport="AcIo5KlsaHqlXuU8JyIiEeLEtim3oUA5p7s64vNb1f5M3ynWGXUht4hfVwDc"; e_upip="AcKYUe9uBSwaCIm3L5OHXxa0WO4-exbxcBTcCyoIo6pf9XPRKmRwe5V_J0ZuMW5mviprwR5fSc4cKT1DIUarlQdQQ5U_gIB3rA"; e_fb_requestsequencenumber="AcKA8BU7q_kIc6NPSS_LQEiCxaPaBH2agxPYFl4Qtyb_oCSGZd1Pr6bmPQ"; e_fb_hostheader="AcLbd08KNCppxwU0a1C9p0Be1fRydFgM27ei6oRhajekaq4dPsXOzlnbVDS3OJVJ5ql23-pGbft_1Div"; e_fb_vipaddr="AcKojiB8fIHiDsIM8bJ239iBhCs52ybsuRcRplXtnk-d2iJd586pOpmk1ol_inV3QIfmuY0"; e_fb_requesthandler="AcLG282yQSYyqKl960jRI2lwSSk0Qein-zkI_yqmii4iu58_y8NovdOkCw9MIO9mAroOstH2V5I"; e_fb_requesttime="AcLXxc8D_HvjMb02gQNtiUzJTlue0V_iUwfQU6mJjru7t5Ey2cfYhdSuNiJ1WkVs27TCMmhgLw"; e_fb_builduser="AcIC2EXUHDyo7Q4zr_cIjRntnSt9BDJ52WwWhqE1Vu_2AL_x64eVeS7eU4QgAfU8gLI"; e_fb_httpversion="AcIg4D8TN3cQvzZuvl79ttCQOEiVnAUEnW-D7XEUElCjdjnFeEIBhSEWfDSz"; e_fb_binaryversion="AcJl2cxuKmMHQv1swoJrWhY26qUc7MA8WKxZCpBUiLaiSZRCm74fWGza2cFDZsnMSiresh2mVwG_Ge2F1DThB89PmNOV9iLZtJw"; e_proxy="AcINIH-U7azueiooQwKgU-uVz9u-lIQn-NUta5NbhtNKYyLiFgDWpvHLalccURXvi5EeqjG5HtOt9Y8"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=233, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7277499155668197?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7277499155668197?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7277499155668197?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/20/2024 00:22:03: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/20/2024 00:22:03: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/20/2024 00:22:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7277499155668197"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12812873, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ApBTveAs8SqZ3sSwF9rA1tu', 'x-fb-trace-id': 'F32NnyGhpHg', 'x-fb-rev': '1012166625', 'x-fb-debug': 'JGguZ0N/9XITUvqN4pC/81k5CEZoviEPGbljBngg5mXIjiCx2yrx2QPj3XrbKWB5NyGKAt1bmsRZqrcezYZyvQ==', date: 'Wed, 20 Mar 2024 00:22:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI3sQbge6zFnnMv_uMaA7_mOCWP4JlTAzOBN8PbPwd6tbW4ogxg9KXp-7ZPQg"; e_clientaddr="AcI_cvdDnwocIdOGWuOTuF6TExzjWbu_4rAwbv6mhiNbR8kJmKrBkv_IjWjNHpuWwddiJQcso0vfTiD2AP_zyoW8MmnMcjrtsQScYiJmtCQYy2N17w"; e_fb_vipport="AcLyY5PDNmm1aptC52xqUrLmaKqBXOrbX0Nf9Ox6SOhnVa6JOOwBg1iEVztl"; e_upip="AcJaJPkhGeJg2nwuT6MVB4qm38-JZD9RsdaOvdf-p2liFZumZm0w3cCLx9ixWOoPWeUWLYbVsQjGL29-MT0KeOXdUl3dnz_8-Ks"; e_fb_requestsequencenumber="AcIf2CT9a0v1xIv_ZIgBy0MbKq28mzBuTbgL7BKvcuWJTwwlD07TQLA1OBUGuw"; e_fb_hostheader="AcIQ9we0EB8Q5ikdJHWjMczBYzg4tvNgqEHFEMbw4CG-3bRpGIIAe8PBKbyC5Ih_lhwqY9vJ55Odv6WF"; e_fb_vipaddr="AcK83l6etiJnnMMpOTIIC717volFixa5CT1GYtCCQKzL7b7B3UMYvEUkJT1zR2fso3zL6JS5_Yc37iqnAC7vhav-NS7BdhLCuw"; e_fb_requesthandler="AcKL6NrZJ03WaCodDXbjl-zrn1cUUT_5_091n_QVMbko3mqj_hrcNp8JyK3XPqSB0OPGnOPkx60"; e_fb_requesttime="AcKL19ud9W_Qyi4TqxH-F-U5jKA6Kg9mmsl-dstBgmKrj8O1dgUFgHDWzTEjh98bXSlucOG1ng"; e_fb_builduser="AcJmpmenFsOnXsdvyEDUs6sSH6haiB1CBow9QsEBs2Qr9eM6Ph7QYryovu41mGZBuxs"; e_fb_httpversion="AcJenagtDD4TdV-vqA-nyz4AK_J8zgamYq4ogz2PAAkvsvTIJk4OU2UVX8_l"; e_fb_binaryversion="AcIO69Pn4bBVri6Rkobrd5TrzrIdqkYgcK9huGLAkuazAXy0JyYVqc3DxwnwzCm_KwicLsblkdt8rFEOx50zb6qshfAc5hBCcLI"; e_proxy="AcKC5_nTHCCOW0GxpczgT2YcA-hxNIDtLZd8rALSHZJWt2wAF2frf6wFW1TjBKTibKixX9vPAa3iYc-wgoX6", http_request_error; e_fb_configversion="AcLpzzMZaafeaS8epiWmJKmjD31NTLaoi4WmST8e0r66P7Mw-24GtYqaJFBKYA"; e_clientaddr="AcIeIFdjcElIS25JT7c2U7VSFuSJOoVZ3UodrIAfPt6g4SFgcBeHf-uxk4skeAmxP9bZh-e6-PARD9YsSg"; e_fb_vipport="AcIaWcbERulxe1UN-r4qFxItwMmwjfEA_nrleOUfV_N3vmxDnT4qP2VeVrOx"; e_upip="AcKwQqyR6gEJOXGkF3gstFqgpsmLXGPLZmAH9wn19HiHEFlE8cSJGmD5cJZDt6Ph6gD_LsHaMnXDFQz2lJME_n30HxuJnX00LQ"; e_fb_requestsequencenumber="AcL69XCK_3eix5pzZKO8uMMOcp8PF4RmliBwEqWXQ1ukM_uhB76krdKM9Q"; e_fb_hostheader="AcI-Aqy4RRSsNvjInH0jVFKjM0G6E6LsfxaoYo3VwzxnrGQZmUTIJBFB9aL4B9BM3O-ZEEFqwt6B2mDh"; e_fb_vipaddr="AcI_CpoSVJjCPtTlvoqqJQDsLlhp2V0rG6swvlbyp-9k2SMHkPrYHFSpwLIADVrt8_51jUE"; e_fb_requesthandler="AcImmiyPuXHWPUHZ0kmDfjbjdlPMVOxMR20ieEaOYu8YeHZn9TSsEqB2E_jA5ed3ia4U5szYJk4"; e_fb_requesttime="AcLSosI_7k9D1fzLwweGJQphmLR5u9RrFVowM0y1DCnUpdN24V5jLR9iSAcHIFCLPC-xsxw6Gw"; e_fb_builduser="AcL70C_Debb8sWAQFv84ovFVDgPsKIJcLn7RjDAcRa6ON1goGjH8H_AwesXWBzhOatc"; e_fb_httpversion="AcK1d2T460QXPPN9bCFbwJqAJk5OMwJudiCgGZ9tl18FvbTz1_GNaW8Apvl_"; e_fb_binaryversion="AcJbgOWbml5Mtp0jjqBCFPWINnPKQfDNaOUogW_oFUuVN1-QxoU8HQVSsTYyCqBVRNcyj1vBOwIRMmydPIw33TtH_dKIWLKQdLw"; e_proxy="AcLHP_mIh-oiggl-nImeGf7zMwp6uqTElHTSVYONar3eHnctMNQ9lsrZCEiUDrdWey8IIw_586exHGc"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=224, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7277499155668197"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/20/2024 00:22:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/20/2024 00:22:05: Error on send one message facebookId => 7277499155668197 03/20/2024 00:22:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ARyF-kwZDApNNxFLNi2Hgng" } } 03/20/2024 00:22:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/20/2024 00:22:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7277499155668197"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12812946, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APcd8VQvMMUBakygqP5I4B9', 'x-fb-trace-id': 'HXZiMW7LhYy', 'x-fb-rev': '1012166625', 'x-fb-debug': 'ZmwNsQHNnQ7uFYVz1LPpn+NHboeFtqUhiMDbo8PEWQyUjVdPNLGksWXJDX9PyniCvtgqfx+U33hhqgDl37g2gA==', date: 'Wed, 20 Mar 2024 00:22:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJX7Z7gMCkRN8NDJEOGlqe0tZVcaCg1hcALOl6oVBe_ywh9EmDxkkSDpB6eUw"; e_clientaddr="AcK-KVQZdtgNqXcRFPX6_3wDCt9wfJu7Dl3DDl8rtOOzYRSZ0b0-03cfpSlKJ0l4IsYKTpKBSTJRtOgU0iZDMa_xpZw4SH0svs-f8nWYZcBpF-BRQw"; e_fb_vipport="AcKJ6rU4_Akymvfq3IDVOUUhOr00XitMcM3KYyYFoa10zf4xbhCQvMIi-zxm"; e_upip="AcKtMQW_Dt82EZApLfS5TEJfD5OLLHjUTkRHIwcQyenDhiJUuAgIUUZ8lxa48uFFwXegWETuYvv6W1WySzX5nu5DbDWDSd4jew"; e_fb_requestsequencenumber="AcIdUl-p3_AXSrU6ifAmNooxuvmvwY5L9v0Of0AnK7mudad3GVQWfpSVt02TuQ"; e_fb_hostheader="AcKKSJTseLI1sU0-oOcTlRmgioee3-ZuHC-disNRcoaPm18jf2SBK4ajrjw6-FVheGT7whBi7O70rbL_"; e_fb_vipaddr="AcIp7luXoAC6EFYuwVL7mAGXZRyMdJ6CS0tsw8R1dwgox93Iz2Vgr3-k08VWbKrOwxJDJz6BY29EW6ioDBtom98KzKGH3dJMTA"; e_fb_requesthandler="AcLs8so4TcHk4Wb8iluxlCzc9zRvuR9m0Z1JLyW37Ym-Rn1dNLgzW5ueV5JZXgQnt6Pe9pHcf5I"; e_fb_requesttime="AcLMlrxS2Rv65A1DRWu5bszovf5gy_fA4LUNtqEDbH7QXXdKV4Oe5Leeg9Mh6X5zvIw62UcgmQ"; e_fb_builduser="AcJgLwAv8bRZMD8Nnnkx5dIqy3UqMiY4UycAmnWiIlWGxLtX4vigsGX6i2cR-Uxi5mw"; e_fb_httpversion="AcLKx3uSQAZTHJab6pVTVxqzDxPuEFUixIkdvx0IkuiDQaxau3D_zPOxXxj3"; e_fb_binaryversion="AcKQ9-ey6BzgsISNUOQovbHmVYKPn2aF7WiegRYsLz3MAoRLCQaVoWWMnwksCp-xOLIr8Ru5JzLATgDuvJ15AGJnmqk66Nx79RY"; e_proxy="AcJJs4df0lasvQmMJF0fH1IbW0_dqHBoRBrF0F_GB7lvGsNoevwIt_98DhjesO1cgu6_NUqj6uXELM7q7Cu5", http_request_error; e_fb_configversion="AcKWpYjwAVruoxDqgBCG2GttG6AxuwJfFfYoOqgZRFdciQ63tLrOetvm653-ug"; e_clientaddr="AcJKjp0Aj9vYQHoNUfA7LxdWAmPvwpSoporTuD6d_cSJnkAFYqvGT_tlV0h9s27bcY9gjM3VY7cPGrMvtw"; e_fb_vipport="AcKPKfxpuF_zr7KjIR_buafpgKbv6YYrPwAjUnkFI5nJ-CDusTRKOardbOi4"; e_upip="AcIiqP5l15-sR2ZBAPVKYVhJyQW4yScDBq8bNF7eLXRFtFrlS3T2ztMMpsH5aH95rmeRWXSPNpfFeiMKIga_yOkdiZI5ibI_2w"; e_fb_requestsequencenumber="AcJy3QMx_22qmxB9jEWg44B1dNeTp0-JBF1BOMU24LgTGPyn1NoZnBVyVQ"; e_fb_hostheader="AcK0JTLVT1DOSbXkSHlBRV6NneP5gjySF6bJGwUDoy8Ya7hqTsmtbDgxb5KnWyzUIjxuno_oQHfIUh9L"; e_fb_vipaddr="AcLmzCsUAmr6ECUGRFc6maqtII66fjm7pUYUl3PzlNLHb3WqLYXAtgwcjMrPnB3b16RadSA"; e_fb_requesthandler="AcKatZFDsg-632f7OiyoicUO3eXrkFh7rRZ37Pxui4dvdFpHvUbM1wP-dc2KoJS7xQggvZeQQdU"; e_fb_requesttime="AcIlBCKGoroLBZzv2ag5EtfDLPIw3DGyWXUaVT5WiiaXlf8bA1XtiNbz2-n-lYBaf953xfLK7Q"; e_fb_builduser="AcJSkMYkCFAA7SOoEZSxUvEhFkNruIbN8MLl_vITTE56NnEukvhmA3CnAYvXCIpEQ-4"; e_fb_httpversion="AcK4UkJ4HPd8N6KARx9iLykdSKzSI9XzOYn9bI1Pn6PA-MIqVWNablsVR2qn"; e_fb_binaryversion="AcLxa0nMucYkp_htPu0AvgHKeGvWK26jJshijZA04Z2fb4eY00085ZmiOquM_QBKdgHHI_opcpE6Kh_mZxTnSTBzv-fzu_GXKRY"; e_proxy="AcJAFlfATx1uryQdEyUMnVoH0zcOfvHOVsDw146ah5AmCd4TdOGfnMIIKQ7tsWrJMiUJ2e0PGR_iblk"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7277499155668197"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/20/2024 00:22:07: Error on send one message facebookId => 7277499155668197 03/20/2024 00:22:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AxvioZkQdeAdb6x0yqmtcgf" } } 03/20/2024 00:22:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/20/2024 00:22:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 00:22:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7277499155668197"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12813087, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-MofRaYJBbvk5mbun9_YnF', 'x-fb-trace-id': 'BhJX2dThxtv', 'x-fb-rev': '1012166625', 'x-fb-debug': 'dyPgInLW1hdvbiw29ZKLOkVTj+wbDLYKGw4ZBWT4wEh7bCMqnv9EUCnmQ5wyI3SUB04U4iWPFiGlqSmH7p+bsw==', date: 'Wed, 20 Mar 2024 00:22:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLylOs2178aJ_F1EoS3_qVhBl59GeIt4DY9cjQybNWsNSlphfdQwIdgHO66xQ"; e_clientaddr="AcL6NfMTHsWnOCNmdfErVyUEbrnABsy7CTspGBll6zm-YqN21HzXXM12tQpbFYi1zJZjqAfflBndBCuVERlTI2SGZXzXYHvFo_4Zge4dGPLpl8-9"; e_fb_vipport="AcJye9furjJsEa6PJFKs3_H19kwxpWAg0s9NDeK6IDml6eBX75QQ8hxYyzR8"; e_upip="AcJzAtKyGWwM5Rx1x6VcfaVd9xYZuVVo7mlO9eCZi3xwlOcSACsJXdKQrySvoGav3K0yTpemNExnxQ9KLwK-HS3ECkjIQYJYB1Y"; e_fb_requestsequencenumber="AcI0eDic1zFoRnV8qQcHiVtxN1s4povk-txS1LGo3WrRsdhUfcMi_rwhac_j"; e_fb_hostheader="AcKn8WrYlbnMpVO0dHq0vOCqK2mGUhF5-GCFl8eu1wo2ywWpuK35iCM9uuEvYtrb6pmJ5GytXNbgP0_M"; e_fb_vipaddr="AcJ7152P-Hl1CrWWZl9KORhuto38UeR6v_1IzbIRS7J2R6RWC5WM8Js443W-nuQ3lur8uNwLx7v8BJiVuWH7hySUD0u7sOHZ0Q"; e_fb_requesthandler="AcLkfkBJssyAen8mE8n5nUgqjG9iynRIc3IyuIw_04HUyr2AfY_HslRfFCgESemphV1RQN47pJ4"; e_fb_requesttime="AcJfNN6z3NfjPAekVD06EDxMmFo7ca2igz3Ox2BeHl0mV2QXtxqnkFsm9E7xVjRxiBfb-7TQXQ"; e_fb_builduser="AcKSBuRBY9eTRhuyXCSFGaTJsCDlRdXpn2ZNIWgpeUl5QzvLIwI41wApK6xmLhE6MUc"; e_fb_httpversion="AcKdS2ZI57p0WxvzwMyP2eHVgXY6UYd1zQVa9QcIFhdFOyXKH5i5D7WKiGTF"; e_fb_binaryversion="AcI2X7ZkrvojRnnZ0Ls7-xr7jh87wQ3AABbVAKvarIKhFlWlyNaxCVMlBkRvzaPelVQoKGENXMJZXXUfY1GRvLmgX7x7O46A0xE"; e_proxy="AcLgEyvWp5TSoqGzM4AdKOPtlWQypiSl7ptFDgOAMNwX20csk5ByC8j_oHKqo1_SHpThWW0URlw4Sl4YZrpB", http_request_error; e_fb_configversion="AcK-gy7zPTEQcdiQ2Y-ds3hVvNJ_u-C6tak0C_tq4FL6v88QhYKDY_sRAgnGJQ"; e_clientaddr="AcLocZYfzYoMCim_CYaAb0M42NXIJUMr_iVhmYuBtOwAVP2mZrB-gkJFPphDO-bRkiWXYoONfkHOyroB4w"; e_fb_vipport="AcJT2_Dr14Oxm4w-2Kc8Z2ONHjEHRMsbWooLYg-L6gsROvtgR0y7CpACzysd"; e_upip="AcJi43hTLiHJJVIHA_BCcTWPUskqotjSA_dKY9xkQF1SonRBqjwi4Z_1hxPaAlPmT0catSMvyCzLMlMtIzk5uMSg3Ye1xQIpjQ"; e_fb_requestsequencenumber="AcKz4x1IXTdDWLtSCtLyftqfkw16bWaaj-tfpB4m8K1yau5qkMdKVQ7CIg"; e_fb_hostheader="AcJimfQQf67zb3SMHDuJObrjyU36BjVCHGlflw_0IR4gPvYlKEfz4jxw-U6qYFkwg1tCMRkz9a0X_v7g"; e_fb_vipaddr="AcJ8iZKH7uYcLEtdlBY4v5EqCh9nryW3wZXDpmEM-wn5eVe6yOGc8PFqxg5l4SmDIDLm3Ss"; e_fb_requesthandler="AcLsNH7MjEabyNRcP4auCHkLdhLQYdgJkpQkWzCvrrK_Hmc10ZyMDuEFQFnB_Vvri5IFj0B4wQ4"; e_fb_requesttime="AcKCHpXbPk1_z_5B0tsAyEwX0O6l-_gbZXddIJoVDWSKasswHtfUAmIOEQ31sffoBl0xJ_E2gQ"; e_fb_builduser="AcIlrym1ewEU7xnqUEH5b73pmCAA8_E7PzQY4NbFl0WiS50am_dQ1lCjJZhhNkrsMM0"; e_fb_httpversion="AcJPY_lVHHXOLfRqCmmFKTDMz0__a0aT8MQ9NdGHonRSoV6vQxha0QY_h2mZ"; e_fb_binaryversion="AcJl8bSg2na5_dpgCny_CflSCwz8nizOJ22q39dJG93a77InSE89y0bpn8D8sjNeIaBIVCzQkLpZ2rBh-Pppk5srZ50nGX0_mSw"; e_proxy="AcJtPcqtXAubWFNArfi29JFMWpYT_Ga3d4TxNRWF0y45mrMlOfOwfO2UfQ3fTZ-IkYfP0nE4w2eTMK8"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7277499155668197"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/20/2024 06:41:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 09:16:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 09:18:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 09:19:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 09:20:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 09:20:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 11:41:37: Request bot not found: { id: '175778962849901' } 03/20/2024 14:08:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/20/2024 14:09:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/20/2024 15:08:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/20/2024 15:09:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/20/2024 15:18:54: Request bot not found: { id: '371012979613880' } 03/20/2024 15:35:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:37:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:38:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:38:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:38:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:39:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:39:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:40:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:40:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:41:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 15:47:40: Request bot not found: { id: '215725838493727' } 03/20/2024 16:20:11: Request bot not found: { id: '136311313195964' } 03/20/2024 16:47:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 16:48:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 16:48:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 16:49:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 17:57:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 17:57:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 18:25:33: Request bot not found: { id: '320637341295349' } 03/20/2024 18:54:25: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7423976740995876?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13051811, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7423976740995876?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7423976740995876?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7423976740995876?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7423976740995876?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGMNsllnIJQqC3Y-Ycv91Sa', 'x-fb-trace-id': 'H7EGxJ/3ndE', 'x-fb-rev': '1012181956', 'x-fb-debug': '0YeCTszc7QJIEkeIcYWwqATUSZqc5nwFjtdKiaYhk5y07qCrnHw/09w56OxyIh8NwVAtHKCP3Y8L+jZihQfIzQ==', date: 'Wed, 20 Mar 2024 18:54:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJJvD9CNI89oDFKFEvT0OLw7QSVtXs0GuGWR9hr15dnHWzqIaqTQu44kQlmVg"; e_clientaddr="AcIbOAC6OCZ6s75T1Dpk6PZLlrNEKMbzl9t_fq4Zj4Z_DGVw42EFUXF_8VPn_6FLqAGABSBphgOP_cL8VN8dp7Xyn8ePopMba5dwK7A83tDQ_3zBSw"; e_fb_vipport="AcKYgzx2JHN3cHQiyRLAYGdzLuK3iLqd636q-kGJUgdIPCTNeCFkXOcjLz7v"; e_upip="AcKWurfUy6X98xPD_tAiGD-D9OWUMOnjRwj2haYmXDqqEoQJD4-VASPdCWIPn0sBz1Fy_TEDyn_-0GZt6qNgD9_P3ioW-9qAGg"; e_fb_requestsequencenumber="AcK5Z-WnRqIQ257v97Yr3WEYP4sIRl1ADa653mMZDYNueFqR5N5sjUsBIucdAA"; e_fb_hostheader="AcJSncvmnzEOHE-EMq59HxrLWUnHvRJSbG0BMJGWIi5pTeUQs774oyX7YMsT1VyBUki8y2zO0znq_yDf"; e_fb_vipaddr="AcIGWPi8ryqv8JxhrAa05-daq8O6aspSq9JW71Ia903EKEjELvXs2NssnN8m3inw5RfSiqYk9tNHp733UvNUAD3U5b4mHKG0fw"; e_fb_requesthandler="AcJjXsKOM9waClQnbr0eceRAsAE5F-1kF0Dvtx2Wyh7wOyg_HIZxKo6ZbvKlSk5EidpzF1_u01w"; e_fb_requesttime="AcIGSBacqp037pPzc67J_gub_8oqXVoxfrykHkjqpE9XrQk4Ul8o3vQrmeKzOQN7h_ZJhRTWlA"; e_fb_builduser="AcILY7ehIn1Nxy4AMSWghTdX5Bo6dfvxvE1juGG-iewRRj4W8ntpDWiDJi7aTiDJw0s"; e_fb_httpversion="AcI9e7VkPcjRBKTy88Ed5ZdNa0-ZWcTsdOjQDn4j6rxIWDeqZ_kuPFp_j-Bm"; e_fb_binaryversion="AcL7Lw0EiYVZf85B6rMe3BvgldTkphd0tmjyqZnL0pQ0uMOlYuDvePRmATUwfw3XIpQ8tC0evxh91Tez54wQ9E-Mcr8gqzkgJwk"; e_proxy="AcInpddqHc27tCThG36eo8PNEYsaA4yk4sLIxoE3eTg4knSAi2dGyzpVvIgkjPbZmJ_8TT1BvKVDfPpumspY", http_request_error; e_fb_configversion="AcKfyaFf6ztzah0mEzcWj4y7u07Kh6wG2AfbGBt8KhrhQpUucUwxe8gh45u0Wg"; e_clientaddr="AcJpigBr4LnsjlF6edyLI2q_IU2601wTHP4AZfzOigQlWXEyozR8FQQlmdiDDUVBkI3Hyj_H1oDmj1370Q"; e_fb_vipport="AcLbWrY17pNuYjUi1glOELUKAfhj4gI6CpPapE-RGKfsqLGyxAWfleH8nSvs"; e_upip="AcICQQtatgMSC7IenFbJNyVkBAyAr4nGN_uDiSiqGD7vh40-gl1UXp7giBLA6hLhobcqOzezH4C72Zl511ZHonwENorsKs0aXw"; e_fb_requestsequencenumber="AcK4fXHwU7XFxkmd3AGSCxdavjO1iH11Jw6i-1vO3qJLky0DsBxVF-hg0g"; e_fb_hostheader="AcIg5EaOL9LmZ3cCdAlrzEOJ2EJS_-TCL46ubVnH1D30uLnMCqkPumWzlQE3g271zTvvd4YypiDTgAYR"; e_fb_vipaddr="AcJI1ovewdUaCR5oELtOTV1n650v8b1ErZb4TfYHZtzjXqnCn_s7Mfh9JeCZzZhr-06MqwR40w"; e_fb_requesthandler="AcKy_KKj-c6E0lznWBSJkKJ2LLpYqhVQtnMpNy7M7X_oSWXTgm0Vc1ZE7YxUvFshCiGdK_TKRZ8"; e_fb_requesttime="AcJMxdIpzuTTPlyXfnXjIG_lNkYEWeEHOrc7Ea2eDsBO22ik26SFYTPvtkU36OJ3c5PAVjFyyQ"; e_fb_builduser="AcLIQ0YIWCrWsszyHnHSy3ewbylzqkeWTPfZWeB9lZV02QesZbxYQk6jF0q27HZTLGA"; e_fb_httpversion="AcLYS0IWROAqz4nugL5kfRMNQ53NRojvgtkscdgHEczB0ijovHiyrFj_QTas"; e_fb_binaryversion="AcLjimxD64gfYRq0MoZbYakWBn4E9BKFoUZkmjZbes4YPst2qOTNbqZnX91Fujs4w3bDBCOS2bFpil1AdA8iMY_u0tKn7JafA7U"; e_proxy="AcJ9O1UUQjbczmJoganTmJgwgjXHeD5UXD8RiKMtbwfdeAyCZV7VGFkAM5dDB0z8i3zzFtA6UAHXagjW"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=484, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7423976740995876?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7423976740995876?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7423976740995876?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/20/2024 18:54:25: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/20/2024 18:54:25: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/20/2024 18:54:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7423976740995876"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13051929, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASFxejKcjtEOVTrxwR6ew1M', 'x-fb-trace-id': 'GUaDYGE9mMT', 'x-fb-rev': '1012181956', 'x-fb-debug': 'Bick+hxsMvWzNcSO+5mrX60IdMj2l8R/15imh5i1ZF4VDQ3Aa+FB2aNVYNjrrpoCLuRy8yOxLIQ4XOGC7gbx5A==', date: 'Wed, 20 Mar 2024 18:54:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIXwrh4KBnR_HWobGtrxX3JsG_8LZXWq7iQ6Z6yAiVItCZvJlGCrKybvUSQrg"; e_clientaddr="AcIzCqN27PWmhNO1sjyvrKh4ZMI1_2-wlXfAhotmMLbbI3WYuN-OrDNP3fe8mlxtxXYKXAccmu0Eic8HZP-cVm9f8dqAK-tXj_qOtKHDPTYn_1uQAg"; e_fb_vipport="AcIkv5Ayj1eAAq89wrgh9muUWZ3EmmfbVFq43UabQmi33HEYuSpxGyweaJhQ"; e_upip="AcKT9pG9NkjeztF4G7lTt2AnHganRND-thdgUB2S6t8ymHaoQZnG0DkDoSCvaO_RxoWurgr2X0ZAwVB1MJ7xRpYVgH7u7dK4Ut8"; e_fb_requestsequencenumber="AcLq8PqGzP-5CHcXLoplM_qzgW2dDKcGW_ZJWJ3Ptte1SnlWU5BmZitxYKs"; e_fb_hostheader="AcIzkX_5m_0TlKJezbkz-0Ll47YxkLVNY9bP3iDq6MauVsS5YOiq7BLi_IdcqKv_23abaPARdp5b_KHe"; e_fb_vipaddr="AcKVVHZJhBsSPozOhCmdWY6Jpx00pIULweQXWfkbaqQjuGoRva0gFoTAz2PXFRsepU2Rp1W_ViUdaJNK8FnDuulJ-CABL5osDQ"; e_fb_requesthandler="AcKa5eBbALM2hcaYRGkcaNgPY8a4rdZ3aIA8XIPxzbA2IfsLPkISddJNoBwev6uKLiowBjpk1qE"; e_fb_requesttime="AcKD7WrNBTSRD-PZIGJvQBaMccaCTsRGgBaDkTK09a9qrvLu3s248RuK5j4BDcvq_iNuldnq_g"; e_fb_builduser="AcKMaV2QcgE67Fv0SRYK-E2NhOln3bPRJLA2stv0k1emooEj0Xnr0K7x9x0IO0jkHbs"; e_fb_httpversion="AcIh32iAES71s3gy-mOrOQnAen58UitXXJMqLcNdwKcuFols9utXNbCSCR9G"; e_fb_binaryversion="AcIDY4Yn_HO0DDvfgGsLupZH37k1Iuy_WLoJc526IXZR3w7lf0-AywNYy1H15NH-oOOY2RlBWVe-IT7Bv7uaFstEV_4csAXXh2Q"; e_proxy="AcKsiGrCzN-pWO8Mj1YG7ujoGXbyPuq5MydEPRykDFcq8Z0k04Pswhx3-cJ9LQkmqpT2dEaK9W8FCsQ2lN3X", http_request_error; e_fb_configversion="AcIGwbZj3RMObnNNRMwwsNd8K7TgdzHp_WD7PfwGEKLTbGWYaeVKdJJDzZrN7Thv-GWU9SWDL6_8SSvt1BU34J4s-o2p2OzcAbo"; e_clientaddr="AcLB90vOd1t8BIf3Orr8A1galCBJIoEbylkqr1LuU4UEq_S2DoG7sajtizShXmyum3oAc4uqw96BcDeqdQ"; e_fb_vipport="AcKOZR3wt8p-5NE_sX8cVN06oZjQbhwkeZ7AOd-qpp1b_37tGl_ab3QivTsB"; e_upip="AcIlAYnQhhki8OANoW3YrW1t0VOWVW9JvWs1_p7qlzPCE9OfMVBLZypwJv20SJCJ6b_ZYKKG07vnxFXLOVLvsAuktuRyuNi71Q"; e_fb_requestsequencenumber="AcJW5co1BYG2Kv-0HSdGjOjH5omGuAlHYMh8syFGBBio-OqEbQMA1Hj1EQ"; e_fb_hostheader="AcJxIMGWuhPNjmiD9mur6ji0JyvQOb7cd-sz689I1HPJfM8lS_SOCNBcIabqW3Nye46g3R0nfl18l7J9"; e_fb_vipaddr="AcL4MEM8kmH5nLtloo_rJH-Cu0vfeITmGOCSIjNp3VcDpOmJxyu4i9I6ZxkOQnnc_QVD4ndn8g"; e_fb_requesthandler="AcK0cU1aTRgTZY7lluC3tXo7ZehQuoinVLEN1QRy76QldryD_hzEBFbeG00BeBDEXoRY0xBdpqk"; e_fb_requesttime="AcJ6tTFk0jOzXrY-mcDVjfqQuIII7UvLf2hNi86fzoIUXVFt3VoDSDqT-wtpVyZ-Z7kBMV2HuQ"; e_fb_builduser="AcKlBLZ928b8WGq4w6a1ikSY2Am4g9AI-sb9ufrq5BGYRygL35g9qakhUhYgC903mkc"; e_fb_httpversion="AcK_EW111GcVfSfpbXqF-7BXTWEzzQ861lIDbBtjVf0Bf3T8m0tYDvJ2YAGT"; e_fb_binaryversion="AcKebe6JM9G49l0wJpgsnDzy3ys4mi4yre0hgADxIdIl_WEynA1GMmkv0V_pLmAguQMeIoKHYZqXJgXNZiKEFSutEFO6ftgNr9k"; e_proxy="AcKIhsIpg4Dxyn8bl_eVdXqdStvARsIILxcQkFBSfGekwaobJmQyQ0QujJ_1TfydDkLJrZFfMvM-kYw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7423976740995876"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/20/2024 18:54:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/20/2024 18:54:28: Error on send one message facebookId => 7423976740995876 03/20/2024 18:54:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANcKQ0PyxXqTF8f3tVfTZJV" } } 03/20/2024 18:54:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/20/2024 18:54:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7423976740995876"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13052009, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjxR6AsfMsqdPXe1xCh-7FB', 'x-fb-trace-id': 'H+vhrjpPIR7', 'x-fb-rev': '1012181956', 'x-fb-debug': 'gczwQc1pgV67Eo0TPdv/FzAWRt9vFhQclgHXlwlWXH1MpAWNzNzb9JYPMYnuEmuA55sBZrkt+IdOCiGgJqANGw==', date: 'Wed, 20 Mar 2024 18:54:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK6l6ffyMz_Uhs2k9rm2DJ1bkrrHjZPeL05u1nOQMp-tnC4-ho6ix7yD2HnOQ"; e_clientaddr="AcJYCDTYErJSLhJujfiGF3j4P0IuTGDSs0aBI_titg31AZHqHv-IKrxcGXZUoteZArT8_0NnVNBuH-I-VdAJRRohk9lJJJxWF8YDFs7loHZ3Jdj57g"; e_fb_vipport="AcJgqwujQn0w3-BVPTS3C3WCrxjjTT78CjklgTUK02S5uPz_P1nNhO74N7tU"; e_upip="AcIfKWxhKdU9V10uZujJR69Swm73GyKstMqb3D4kGaFnRc8CiaWQlsQscWpQ0hjoC5m9bTBIxcDiZxFkz50tdWw6g9vuRvjlZAE"; e_fb_requestsequencenumber="AcLCk_HkDcAGjnXX3DmtOzjIuwiiP5D_ZEF8bvHetefUwDqJo54HLKlGrL8"; e_fb_hostheader="AcKvp5kj6rG8utXpi3VulkStDa413EJ3RDTB6BtS-5Mwe64qa-ufQfXzLuZ_KepZxSJv6yvBLtXwzkcU"; e_fb_vipaddr="AcKQyUy-HKazs2nh5r9sKvRMowZqJEjhfW3Axnsa-hJO8uQ4EH8U06LSk4cqVg3LDK3u4ZBqSK0UETwvJltMBJnu9XjckSjFlw"; e_fb_requesthandler="AcIqJLnZrt6HuWu3KRGZGYI4o3E8t4OSnYPamCYkmZNd01gb_U-hcIuvV53SmQoREYMf-U1jPpQ"; e_fb_requesttime="AcKzRTxQl9EVicm2hGfpHbqort8CRfbxT--lFcWQRtSIiej4H-Y8zrux24-Wcrw_o4eXTBrNsw"; e_fb_builduser="AcLomW0QgwXQMlalXrytVTdmSfdAPaA2hJ_K42fH1JmpwO_UtwBmTLXNn3qhQbwKu6E"; e_fb_httpversion="AcLxUr-uekR49CuKLA_tQXpxmBi6Hs6VXutnsDWHNLhsONhd1pvHpX7d9OpI"; e_fb_binaryversion="AcJFPpbZ0BKXcNkFPetHrIRp78Jl9gnG9KrO0h9uOzRQJWZ7zZKIkcyIWZU0HB6q1g2pb2wJQMhen6mR0RUBe4DLwI1R8PjWDeQ"; e_proxy="AcI-48Eqrmfg2Fle_czwEvB5UasWLkRGo5dZ7aOvatcLGes9mpeyiOQW1xHbmM11WEw4-5kyqTHilmCJIG11", http_request_error; e_fb_configversion="AcKvubE4lCbed73pOmuVJVq5J0xKXv9Kp-9O__dHyh7wLB7aOIYvqZ14d-G3ww"; e_clientaddr="AcJL6eDKvPUUz3n0U9h_obj7ZxBBRUmcpPlWbPPliadjxGkePRIG2bhpLW62uR63rgm0zcWY9hwkZQuTWA"; e_fb_vipport="AcLNZqTEfZonz9TJQbEOHMUsxL4NNH3-0AWwyqhrY66Y4GhHDf09vKZEjulb"; e_upip="AcLliazH84pZ5eF23OSt2MFpvnZZqYd8CGWGieh4zc6j_fcAU38H5AXY8f6Rex0AqGOrUPVTxB24tAzpvlsWHUqgyRkRKKmo3Q"; e_fb_requestsequencenumber="AcL8-D9z5HUXMSzO0lHPPfE2BUVAr80_C_kHLrjAdkTlTL1hQ0JYh149Vw"; e_fb_hostheader="AcL97nZnJ-OfM3SqCfmUR9Sd8VchQvZIcUFddp45PsUUaI2MqjAaPMiePSx4pW2Kwn7q6oCDqHX-gEGd"; e_fb_vipaddr="AcIz2p7e4BU2jcKVDHMsED2CgMzXtprbCnUCjFe7ZnwkISWyYQ4jL8_2pJH2KbJbicRiRtk5LQ"; e_fb_requesthandler="AcIkep3muUr2AQp8qUHSpEW3dLz_NFIuXKA3cHWZFWmXka8sXuH-aUHsbTC4ePmaORXH6eFGb0E"; e_fb_requesttime="AcIdMBe6_jcw08Qwuygy73LuNJ8LG3Szfy034QxzdExfQ0wEwnDHXO-llheg_lqVTGYCpLmevw"; e_fb_builduser="AcJEdHvw6kyl2SYTstHJFnfqphmwC8N8m2TIrcz0rtPQsMl2dD1gHhrXSrfYgvuEqlA"; e_fb_httpversion="AcLqdmrki0Y9Qm0BOrh7HVStxzlRFqFE52OX5otxXrqgcJBHYZk7GkMLH72P"; e_fb_binaryversion="AcIhPogZjB2SVFwI6OjBsnVqvaDExVoqg5gPWFLJjkWHdGNxIPcirEVsDiOxrjvjgJmBxWWIqtnBf0E4Csit8DQB0JCXcbW6n08"; e_proxy="AcJvyHpxfmKdY0t85HlNB5DDBjK5m5XuDhki9oRLryUVSVibmbUslSemoUxaArBvHMIWNJOAFrigkj9P"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7423976740995876"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/20/2024 18:54:30: Error on send one message facebookId => 7423976740995876 03/20/2024 18:54:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AAUkvfjGbCoUG-aWIPucSxK" } } 03/20/2024 18:54:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/20/2024 18:54:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 18:54:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7423976740995876"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13052148, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-oGSXZ_nztwkihra8rbF8m', 'x-fb-trace-id': 'ERWqeYUTjJE', 'x-fb-rev': '1012181956', 'x-fb-debug': 'WDejX6QSqnuumFS7JDxR5PtP/KcS6EamHe6C9unEx/aG2V6Mn85OSduBfLZa6mNpqS0f5dZ4uiMKoJ57lcsIbg==', date: 'Wed, 20 Mar 2024 18:54:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ56zyKxlgJn2g0OUTp9ubVrmyojzgtahtjVGtRCDWAkc2BOBjSL9cSZX6bfA"; e_clientaddr="AcJGGcv6LVuHeEKh97vDa9XoRfrU2JC50cJVWTMXhaxBdYs9FT8bDCgrMvsZSgRFQuCq4NnStGqVDeENtEYSKFasL-Dy_4fSYvhwhHNn08g1Nsepgg"; e_fb_vipport="AcJAS2BvKl8-PJii76ilatwqCFYvROsZqsnKDTmWyum0GC3fuktgbrXw0yAA"; e_upip="AcJJv8zJkuGseghXgfliwFhFedl7CJ3kz0H70m5F82ff1l997p2uFSwRUb0R4oMNIEnDuTH59hFsDAQSo38FL9DoJnjg_BLpTQ"; e_fb_requestsequencenumber="AcJptbMPC6LjQztXlsFG2G6fRugexl-W7h3vy9-NKSmWJOoxilj0TSdCPS0R1A"; e_fb_hostheader="AcJTrEXCzRwlPgiIoqLQ12Wg9H_vO8WB0nIglkNfkMnaostXd56WISskJSMyz_w1fLBTweQw4iEW8RY5"; e_fb_vipaddr="AcKtSfi1G96eaG-SkmuKv688BRK2BZb0aMzMOBU3hdtQGy3QWFbdXidIWnhpsWBdI8Bx6He0alt4uu91OrbnVG7mUHzpXA4kDg"; e_fb_requesthandler="AcK-yss3vk-PZL_PB5zH4hL-jYlWIk43N2W1hyr2AU_0NIVibJjBBSACEXqDC3hOUzTx_DWhA_Y"; e_fb_requesttime="AcKGMWh6EDCBWtohI5hK6VjQc1ZDww0k_2BXKFTbEK3NqSohuxscFktUuM0HpaWYeWEeNGPeJw"; e_fb_builduser="AcLEDZducKtuJzVm6BgC3uPiQ7rLXff3d99B2Bmfd3q42AUWrinI2cynwBoaoVBkVCw"; e_fb_httpversion="AcL9GlmDWRtPMCBxQeVSrYtBHaBnoozPoULrbThsdzuOe1o9FutDt3iOvEBg"; e_fb_binaryversion="AcIhCGFZp23MWusZaGhkTAOGaqK7wU0pedzfv_6Ad28_G83Nc7y2ehfRiia6hZwsGikWE4RVDjZqj1bW5ueaLvB80ymHYp5xung"; e_proxy="AcJvk7nFDpxGTL259k9GpjmpEPF6i2LEJmuzW4hFXpYoa-j_1Q5HPCMsBmm3MnfkNQKiuWY3aS07Uh9xoBYb", http_request_error; e_fb_configversion="AcK2XvnKF6cgBD10YbVS1s9OZakM079lRLIWkATsuSDJ-7kt2XSJ94OmBL-LzQ"; e_clientaddr="AcICQveseTua013h013Tv4Cd1onoXWOaMDvUSN38gFY3KLRNn5QdXlewYG4b_sdxcVqft2Fyb9pC2JSjbQ"; e_fb_vipport="AcLQuY0NffvFpzTzB1s44D-OX8z2ZLXO893I2-704Aykt4sbQHcCgSFO5cm0"; e_upip="AcLb4Jo0c-tbS4raHglh_nqvhsLbyb83DRbY8Jyw7Uba6aQEYc7k3jCmcytDYDnHy9mpiVWbOEeBgr4bskztrKOHwHM_87aG4w"; e_fb_requestsequencenumber="AcKWvtrdxnovf2ZwkE2G6wy2ZjMFtu9qqlOhFabJSbB2ImyRgcRHJQ_agA"; e_fb_hostheader="AcKby2zLor3T0F5L8y5pt3UmWmCNxvB77LaWJ3rN_0LUz5o3RP3qKRBypc0jZ7aOMlXRcRQVFewO4-ky"; e_fb_vipaddr="AcI-V19cDwuUHqIcqcMusiSBN1KX796q5tsxWwl7zPK4HMNuSh0ByKS1Sc-S7Zny_35chEE8Wg"; e_fb_requesthandler="AcIXv0w-I8R00oq_Evlqfu6rfW2BHlHFxwXi83IvXODBmkENcbVV6FVquortCMo9AqhalY7ueIs"; e_fb_requesttime="AcIh6tzGYWUqio3Kt6CyFch872U4iG1ymffcWP3n4oEKuT2_S6hU5rKsuDYsFt2CB6iM1-bjcA"; e_fb_builduser="AcKAnOEaySRRjYWaDvh316iQelcXxESNDx1SXt3L1BOCMexm2NeJENT4QkpyUiSUHic"; e_fb_httpversion="AcJa__15BpOcKiEP26Zf-On8NesIOQAPbP_5rpbHf6I715Qlu43mgyFbzcgl"; e_fb_binaryversion="AcLWhA3i-yB7HySVfhCvpfg5mygGJMrVKmGmyZEaAW5q4j7RDPzvGDDHcb7NmXBBLACeOsY-VT43AcBBhEonznqMgqZNQ6dw8hY"; e_proxy="AcJXM7a4Ip0-CtMGdqeA2HsPRTcPZyhAN_QR0FvuJdKudXYS8RI2lmSQiVLfKS6Jw5SDkQlrL_etckc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=206, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7423976740995876"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/20/2024 19:27:58: Error switching inputType 03/20/2024 20:07:19: Request bot not found: { id: '320637341295349' } 03/20/2024 22:11:18: Request bot not found: { id: '144313565649530' } 03/20/2024 22:11:19: Request bot not found: { id: '144313565649530' } 03/20/2024 22:35:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 22:35:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/20/2024 23:15:34: Error on send one message facebookId => 7277499155668197 03/20/2024 23:15:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6r4mXhFeAhLPSdQ50VVD6g" } } 03/20/2024 23:15:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/20/2024 23:15:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/20/2024 23:15:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/21/2024 01:51:49: Request bot not found: { id: '371012979613880' } 03/21/2024 10:39:35: Error switching inputType 03/21/2024 10:44:16: Request bot not found: { id: '1067413796753652' } 03/21/2024 10:47:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 10:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 11:24:20: Request bot not found: { id: '144313565649530' } 03/21/2024 11:47:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 11:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 12:13:16: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7528859983843412?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13230734, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7528859983843412?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7528859983843412?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7528859983843412?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7528859983843412?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Asw3LNlTw9HvqCLzORynrIZ', 'x-fb-trace-id': 'BfpJsHpi+Zf', 'x-fb-rev': '1012212426', 'x-fb-debug': 'IsAw/wzHImewZyRXKh99eSps6gPNeItPtMbtSINk2E+IhszEwZGd+6Cz9TWCBc64kV0kkQ3kZLAKwHqknNmD5A==', date: 'Thu, 21 Mar 2024 12:13:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKgGahVlf2Quj2_Zw9BWbZ6qi4xsvfzJq-wN1VCLhaxciRa2Ypvx6__1n402Q"; e_clientaddr="AcKMj3sT_pvxbJiGoObISc0fZBlnNdvqY5zPhNR0zbp2fC8j8Y88laVMEG_StRwHQubwkxu1o_MGhh0uDusdXaZoqDUDmCzJfWtowoB0aGHH1nV40A"; e_fb_vipport="AcKSt9mi11n0UuuVYBRUrTKi66w3xBn1cJuXfhj6XV1LXWMJng6rHgy0svL_"; e_upip="AcL_3vI_6EEovfRCRuzXwVA3u21Hqecmt8aurkrvxIkCYJYPKYk1myczudzeuWArQ3Meq7PF0Ee2B48cSghwvgDRvMsT8nu8mw"; e_fb_requestsequencenumber="AcJOZrV0wX9ADxq0CVDMZ_lqYowpkPBqEUzTpyo0LvN790BCUsNYxVGOVfUA"; e_fb_hostheader="AcK8eMZt-FqmWK3QIQG13wQP3pC6A_d1JKAQc0uVw_b3J0A54A5H_LCX6pD2oi0os2MFrkpYeg12nFko"; e_fb_vipaddr="AcKA1-8jPg89wZhqDPL1lVCTL1nCliGQjH_pyBEFaPQ57PcoG_ZdG5hlkrZ-3qz2GDETnW6R-8FV02CGqMEEirKdF0EtWCTaXw"; e_fb_requesthandler="AcKu7y8HuQbq9m5QeGvkGENKVPm6WaKi9DXphhNUbniJblb6L7rgg0DKE6EFSaGgp_sreYg67xU"; e_fb_requesttime="AcI_V3CWH_doxbHqU9iGQR5Zt2ziQSvFxCk85t2eNyRcz0xRLRlU9hMnt1JHej5rfOsOJ9t8NA"; e_fb_builduser="AcLTvdBWRqDh0bujzA56iQ2q4_a55njWWOyLDypNN3HiyomUS_NSpB8TIi0gO0_OcIY"; e_fb_httpversion="AcLpXEnSTjw5A0qte1tVNF9eIXJbCyrl-x-itYB-neyMEvLglgtRNIM1TPCQ"; e_fb_binaryversion="AcI-vJpkIonTYuE7Fi9Q255zgz6Wcy2BdfLsIDnTXSVtAE8o-i2yJOMxViy9LuzQknEjdr-mNNofGfMk0UAaKSazQ0hvdFl2HJs"; e_proxy="AcKCLlRVo0r_g5aa5SzhFAA9C-_QksZsZS9z0Sc6bu-Wtu6qGXyO3q1706tq-46vcmyjtxFA6q6HXM057SZB", http_request_error; e_fb_configversion="AcIzTOMSrJQz-i9aFw7RflCqFWh26AdEwEtzApdpqOlBwrId7f0sza8FKNA9YA"; e_clientaddr="AcLirVYsNIbPLkH_s1YEhcFgjtqMSy9MRfG1zYKFMNwltui2DQSTa5y6D-6ljTlv_hVOZK09Y1_aXAsdhA"; e_fb_vipport="AcJVPjueA8b77RVfsPbOG2rjLqu_A6gk4hiRRNRlatUlVflBAQ8m8J6esfHy"; e_upip="AcIJDVgz88dD0pj354C8WMxEH886Cpa17YfBtufm2HjL4XX37SXL8U5TS5e-lpfeDTUcsjl1oaozTIA_pmk78x1VghhX3TF0lg"; e_fb_requestsequencenumber="AcLEScqwv-lZklVxXY0p_dBwAUUg8P1zrbKpnrGT1S6qB5Vo4tRLrmL5vA"; e_fb_hostheader="AcIQOB5kraaTbzeVa6JU2qroHeChjVQSyOw2FAS-jf9qoGSthyTNJvlm_QayXgruB8dXt_zDsi0gvxlW"; e_fb_vipaddr="AcI5GsLfI73NbsqsEOqKEpw2vDCyRFF67vDR5n9k82-dNtRxo_xdfcdyhW_x0LEdBbta0a4sMA"; e_fb_requesthandler="AcLpiEwFBkOXV62F86IISIwbWzJFFx6GH8O1-fyzsoZlQpikouQ7niiTProvZz4uXe3ztx2Qd8E"; e_fb_requesttime="AcJ2wOsAaUCF0M28KgQgXY2np-bB7La9vA2mQJcs9UE-wK4gJnKt2FTYBubXJCdoUZwpFCk0KA"; e_fb_builduser="AcLwDey-UQ-FwVOrsFGFcgPC43hJ_CcxXEUKhqiqYzIoMP1wEIln0ZMeVGws3dVclJk"; e_fb_httpversion="AcIxfilE7fL2p4RZwtUt-AOywRAu25MgKdrSUsxbGH2N_KmrJmmnE1iLRse0"; e_fb_binaryversion="AcKE2RMAo32kioReNSZfm6ASCYajrbogZ9DPhbKIfuw5SoREosYFXv186XxErF8u6TC4bWHBzT6tOtGxDigCR158aS30-NA3hkU"; e_proxy="AcLYKUwhBHu2xdp_6CmE6H-zB38AQqBmWKD0b6LsqfhS0Dzw8e_DojC4hp0wvHaxBOeKx40LQg3U5q8"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=159, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7528859983843412?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7528859983843412?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7528859983843412?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/21/2024 12:13:16: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/21/2024 12:13:16: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/21/2024 12:13:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7528859983843412"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13230862, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASKef4n7BtQM0pXBBS0z2QA', 'x-fb-trace-id': 'AO0/E3teD/J', 'x-fb-rev': '1012212426', 'x-fb-debug': 'j4aJj1T32Z1Jqy4OvMX2XGdDccxPzniJkKRrG6/44h09EMJp7ubdZycjynCiOeYtsGhyCF7jLUa1id+3O2Od5Q==', date: 'Thu, 21 Mar 2024 12:13:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKdf4zAzh76XucRp0g-tnfUTWJpR9ygbalVhgTGBa91crcFoywmXvGJoJ1wMg"; e_clientaddr="AcKeuUeiWS69_s64t27QzZcSt7eOk57z4i4NWW7P_28XqRmt5z8AOSOCzPSOrv_Ajt8yozuKLUcn9BypGyQJsWb_TVoaKkbAdSisRX7Rpi7C5-yj_g"; e_fb_vipport="AcJBj7mkzOO8yAbxYWwhPdXSHwq2ydJHeflryk2Jsc7YZY23MuTs_KuWkjZX"; e_upip="AcKWmFFyvghK00SXEvz7dXmEe-iPQP5cvrP0pwndWf_WRlBQlK7OrSZyGkZ6SHCB4EBLHcSmDKyFaqIWKVcBihFivLs173xyRQ"; e_fb_requestsequencenumber="AcLxUXAsQHw86uuiLE_j4kL75uAnOjftUYhz6WZ6ZSd2LpsyUnaJtHiLr9Qr"; e_fb_hostheader="AcKEr_y-EG1ZhNrwZtO_G4L9fYZpKK20pQgtyYOTiDgHJXkS39YnPyDmxyKLgKOgdMAo31zonWa26GC9"; e_fb_vipaddr="AcJjWuCDP73AfwuBFtqFRc6zBzijJqueijKit1N4Dgvlz495piH3gFzMjTvGOiaydSW9UdvyZWvALs3wZJ4zkBhGmP29K_SKTQ"; e_fb_requesthandler="AcJavNt9ZWU1Dn73N9pWpEB0Gi6Zoo76AWpMg5P-zdWQQCwb7va3bQrVN1e7iErKbMt1xieVp-s"; e_fb_requesttime="AcIwmSMQ02E-HXb0EvZnJZdp9Db4UjCcZLgDIonI9-PREw_idOPTZnkfOm0t4I0WNF_l7RoKfQ"; e_fb_builduser="AcK_5wWRP-6ByFyn_oYQ3SeURDsYKP99WCuFgjxyrGHGUG_WJgQ3nbrnwMtc6BtNovc"; e_fb_httpversion="AcKGaWIDeA9SlnQO4SYT2OV1Z1xn-_z6SL7bZ4H5tz9yuMpaQ01DNq3AOXgF"; e_fb_binaryversion="AcJkgTKzgeA1CBwORvITdOp9WZ5IIHY5y6RwTXPpFw4_b6TsTGT8-pdJj1W4uX2_MSbd6vkn_C5ZhitwFSRQ3uZOYAOt20goOZs"; e_proxy="AcJ4REL9ifxWp0evOU0Or7hbgvcJ8EKpgv9W1ds-ABfEA3LzW99O6nCEX9aiV7c_-GPyZIYAjtaJbVpbTiW3", http_request_error; e_fb_configversion="AcIBr73wGULblwYmOZcXpiiyLPZBbpvppL0yAYrus6ST8VsFUyUnKF2x9G8WGg"; e_clientaddr="AcJ1bFJ3tkqK4j8ShlGMCplFeAMQb1vpBiccFy6UWBS6w4ELIyAKkwWXvwh6aq914cOUsqb65mxJLPZpEw"; e_fb_vipport="AcLHCzHQQ7vlDM88pIql3kSZkVD3ttWZoCzlQDS9sCN47h1BXPjzuoFc0WSQ"; e_upip="AcIpzxK4ge_uERynVKGCKxyCE5DbYdIMhIa4Xot81bCa3nj9psZ5A08XRkzH8DhvidCv3IZuw3ylT48M5gCeR_XUvTLo6Z7RCg"; e_fb_requestsequencenumber="AcKJk3SWgmvfsUAFV8aGTkyB9Rnz7GlZNVtcm0zhPaTaJe8_TMfEJ4NP9A"; e_fb_hostheader="AcKrDFpjHBizjeuoeZQI30pY5EYb2CN6Nz0IKSfgWrUVGR-Yz_8UcB_Zn_mGJBGp8V_Mjenbmx--Zvza"; e_fb_vipaddr="AcIEZMo4MXOmO6OkRzAHzGq2GdwaCk5pBa4LGyta1mOSmbx39tY9M6aMnevviGJVaN8f5u9pag"; e_fb_requesthandler="AcIlkBFZFSAeVcV3rLHIuBiFyXcSS9RPFdGbgMdUWVdUcA3Rw_kCXB2lceICou55yhZWkf7STvQ"; e_fb_requesttime="AcKdKgD664aaEKpoCWFcNPskcGSvvy1M2cmGbE0amgQr_myzwrd6w_L4sTOiidJV_1zLYtk-1Q"; e_fb_builduser="AcLzfZbGIBUoQCqhkvf4pfZzWIAU3o5PeokA7Ve56ijU1x_3kthaVLf6t7-lycTrJa4"; e_fb_httpversion="AcILNrXyFvQmuxvPRVk9-r5bMGRmJKAIt67yPeGwawc4wQbw0Drdr7qoEnr9"; e_fb_binaryversion="AcKOW-54SUTvhkF2mnlyOWDva7Ab7p0k1wTrxbEBhZniNPwvifYLVZq7PftmbuJiHWSWZHAzx_cict-0pw5mv_dSp-6hRjq3S_o"; e_proxy="AcKvo1WhclV2X0sRE5BAFuNrTAhu5yDNu9yFQ4xrgBXD_bi6luwSLY0YCNwx_0wCbMBvk-jiAJ-SasA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=100, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7528859983843412"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/21/2024 12:13:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/21/2024 12:13:19: Error on send one message facebookId => 7528859983843412 03/21/2024 12:13:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APDL40VBN5JIaifj1njQS0b" } } 03/21/2024 12:13:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/21/2024 12:13:21: Error on send one message facebookId => 7528859983843412 03/21/2024 12:13:21: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A62pgf7kcL-OTY65Ff55oSq" } } 03/21/2024 12:13:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7528859983843412"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13230937, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8mrpZvusyOXfthx2gvdxpO', 'x-fb-trace-id': 'E2cf990wrbu', 'x-fb-rev': '1012212426', 'x-fb-debug': 'LzFnXYZniHWT2J8mL3+ha72flMIC30JmCbWmAv5TNNJush+WRIZ0yjqWeYRJNSWMiRgVz3L1lclIKxKPaMv2cg==', date: 'Thu, 21 Mar 2024 12:13:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIPMNJiaCWD5qAIFldKX7Cr2OqXQxElUmFGcrSew39YBOQIiKUTVjxF5viY3w"; e_clientaddr="AcI2C1CotBP75l1cOXYfc0dZWSZ1uEZiolgtXBFPlWBulVsDSDsxrpf7sR1rj2pnwpTXi4VIYmf3WaTdlq58YjuMuCrClNWdU3U9M9LYBGj3qS3xSw"; e_fb_vipport="AcLyB6YSQJ1d1sp4PUNcax8ZmDr5zB9rFEmeSWij5Wlqs2PXN1M3FO71hQFL"; e_upip="AcIE7FKuFzc72raL1xMC8GMRZ0cARV7o9B2Ud0SCG-eG4FLYITcl6ZZ0pnHbdCUYBgJ8b6I67oCJQkzV_fY06hGi6jr66Ud2pQ"; e_fb_requestsequencenumber="AcL9XPd8YOoDAuclZK3iAehLjMZV-s690qwJWnzS8fs0mKvdl4EB1cJ9-yV3BQ"; e_fb_hostheader="AcKBhOf1KzybtmzUJBqrZ5qH6Nzdo4GCeSVUI72enZtA1Yda1NGy8pYiVubrpkd1vjfUiYnM7yhBZy9q"; e_fb_vipaddr="AcKiq1dBlpM0Meo0mQ_RZXDIRyw_WQWdRsyxaxViEatTgdtjR28wp3wN0Yu7KoWM7c-cHqIohIg5gRJjclbQ69M_xKZgFqW3SQ"; e_fb_requesthandler="AcIHkr8vivXK4PG10P3CVBgAsv34plC2YjaugNK0_aXgmYf14PKLDCfFRg7GrhjT80QQovli4WY"; e_fb_requesttime="AcJjSDrEepd6qPmcXC6bDtBOcU4ZIHc2DMr8lKHovPe23xaEEElLvLOXJ2YzwM8IE-DF8qA8Xg"; e_fb_builduser="AcLagNAjb62zmFM0qxs8GXqqTtewMRicOrKD1wn7d3Az6ImQxcKmzZ8PzgTvV1JWjz0"; e_fb_httpversion="AcKsMTpBBneKZt1hKhj8_yocfFmVSnp8y_hyrz8f_v3ANF3k90ekl9K989Cn"; e_fb_binaryversion="AcIELbmSyDBgKlJuFSonwrpSc62iiKIX5XWchVKQR2Yxy4T3gKDF8UOheG-VcsNAQ9wjJLo8pGkJ945dkyBTmJrq2blEP6UIM7U"; e_proxy="AcIASGVlcrEQV_q_pebShLLo3kSZlXx9o5riVKgf4GPcePmEMmdNbiBrYCKkQbJVQ1gM41y3Ou5cBOHKQVJr", http_request_error; e_fb_configversion="AcJSzXY_qmXxpZn7O9DYlnP23d808IFfUd6g8SKb5oZhRktp3PjEneAzv1tmaA"; e_clientaddr="AcJGwW9IFkRhm7MeyQeyOCZDOaGv5QTo4ndeYrGcdbWSlZ_eCd_u4esZECb8zsxcGbNIZewmhSUgkwPFZw"; e_fb_vipport="AcKO-UCHSi_14nuOxKTZauCGjAsHf1aBn0neYbrcDa1-fDzpH_7PmNIruy6O"; e_upip="AcIXO4g3QWd6X5GiAE9hN6117J4O0jrGVDuN2TiAq_8OeH242F_WQj3cSyT1Gxjk05wfEi_yr0zAKDdF5K5RpHI8vly43AX08Q"; e_fb_requestsequencenumber="AcLlDFcZeBQIPL3Bw0fZFHk199Buo_7IB2zwqK1p1bBR8p5RRC83I7pgHA"; e_fb_hostheader="AcIeHOL-vQxMCdCz7jb9kleOa1KJ8lltxLHkYXGUiH7DaBuM3skScK8Fh5w9x5UYzd10-U2i9EcHYSSo"; e_fb_vipaddr="AcIw9u2qE-1BsFBDKZMt4D71Kbivye1KgrSpSII6PEFd0yGyng5iBNWH-c2qFvik8MtH8x7bAA"; e_fb_requesthandler="AcL8IHhFU78MrsMVUBGvxBxdr54O4c4ti_Eifm-8lh3CBwNWMyHOvGOJuZAYp1-aEYd3EYZAB3o"; e_fb_requesttime="AcKE8odgI0kDnEE_qLdAkft3DhtnQTeE542Xl8y-JYJJOSVJEfBqyGYrq5fLdCxuPbMWgRCGMQ"; e_fb_builduser="AcIkU9o7A89_CFYxBIWpLGFFSB2iJYgVUIYARwahzberTIEGPK9x5QhZSpQjbhrml9Y"; e_fb_httpversion="AcIZVkuEvVNtjF_RzEBjCe5znkLY0Ft8DjuYxHbElsr7XRwBQU6G_UvwiCFS"; e_fb_binaryversion="AcKY8j79iIWWH3M8D9qUlDQ6yP-u5sQF2S7TkE_mC86tvuubbwThPHIw-YxRh1-5dsBTjzL-Eazg3HUAaM_bD9gSVwaEYPCZKEc"; e_proxy="AcLD_0gVwyife0J_jNCr7Yhr3wfxbyQwroGcnAWiGOG9BMWqwYmwAqrdMlK4oxVV813MoFYBhARGX_DI"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=105, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7528859983843412"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/21/2024 12:13:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/21/2024 12:13:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/21/2024 12:13:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7528859983843412"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13231077, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5GurNm9TrX79QN-kHjfcsK', 'x-fb-trace-id': 'Evou7w27Gas', 'x-fb-rev': '1012212426', 'x-fb-debug': 'kK2GXUWllfq9fj2wxdKpREk95xkKKstgkyj7/BUHGM7FLye527xENuoDdc6AmIlpZdd2NtgZS2MtEHkH77XIhw==', date: 'Thu, 21 Mar 2024 12:13:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJUF1DxCIy_cb1FK_JGoCCzvuRjX500lkpXnkUsZKUaEap5462I4u-0o_ayDw"; e_clientaddr="AcLTq90GDeAp6le0iYhbX_Kva1k-8Zo-J9F-N3mWLatC1PdvaOudSTZabJ2XLPEexpkQrQ_BjDasQgespUhXcaO17HoOz8FBC9QiJWybvI3TEeYO"; e_fb_vipport="AcL7cNKINTP7mRpjhlATfjXZOxKUB1zSgK1bNxI0s19_A0wfE6IquhqsYyTU"; e_upip="AcJph2rmHq1i0C_QhttjE5qEoHvCGQ8P7CPoMie2Pu57TnowrZEwuVsWMtdA-zELyvLLWNvX_IT83hTh8cSoMUwN3_ZOj3ZcZw"; e_fb_requestsequencenumber="AcJYVlXIaWqv3teICS30IhPYVtZHpmd-ItNVxudMstfc-Y1fI1N3i_Hsey4"; e_fb_hostheader="AcIbjkGLIeR8Qf7OtoKAx_VPBsUD218F6GjTR3WtvCKfBkcfYZhtcRUU1gd7o1UMTBv7V_gAYcO5ef36"; e_fb_vipaddr="AcLstVDYEO6rvOwjnONE1i-qwxCS8PT583nQS1INCrreTo7GSrWixrpBC8_Tin9ApZ2XPCR8meeO3WrxjSXdO8A8DwhAQ9UCoA"; e_fb_requesthandler="AcK-mPujNRRVuooIQR8BjckCavc3LbQ-1y8bOC3fHUpNKgeXEY0A9r9__Uysd_6td2jiIqJRgYw"; e_fb_requesttime="AcKTxSoaVy_m7qpjJQnvFHcB3kR8hjo1X2S2Wzxca39EEUSXvH-HXo_yf8qDLFovNZ5e6DKgLg"; e_fb_builduser="AcK8tL5N9OW5vaRs8JXIVwUQK53weQxtmtBb2mDwL6IHcUUqUEXnbTIAaRlKa0Tw_es"; e_fb_httpversion="AcIVEZC0Yw-uY2EPYeSdYcdRmy7qHCtSzmoa4onL7ZC93X2vmPqG4kdXW9ed"; e_fb_binaryversion="AcIJyEg2IaQPK7kSEfabHW-WfKG9yI4-WQFOY7j8dCSHIiP1fGOHLLMR1dtRTXH_ByB-CjMLtSzapib3_w86zgWWT2QbIfQvecQ"; e_proxy="AcLSVrOiRatpi7QFU_8g555BrKGL0LLh6milUYlGV5SM-u5tIPd4ob7BX8J1lusWilQgQ7S4H8FFKAPHMHbe", http_request_error; e_fb_configversion="AcIN0M_r52BLYBXD1Rryaw30fGn5DHuv8sDmCRCExL9Ttv7IwJMynORYfCoMIw"; e_clientaddr="AcILsDsWkeA3Ha3pWSfreio2JvKMDoDuyvYZwXqh6JfEK6WBjBHY85naSERUIWUDBD7c5eBRu65sxqeYRw"; e_fb_vipport="AcJMYHITbgIhrMY4Z2ak83nCOGgsCTKBf3oC5s0FVMnHwjOG32pyGw_6Nd00"; e_upip="AcKE0UGXto5twsUckyjOwt9d7NMFjIZ8q9Amez1oiWPACYEiNw_Xe3IC7qcZNyUHjq5NL5X45z9GoJwqW_f5nq6R4R9OINN6rg"; e_fb_requestsequencenumber="AcIyhi3tOrcdtkRXLnxcmyHzQaOun_p6_xBovSfbZNsZzmGM8TT0cUVWjQ"; e_fb_hostheader="AcIhnHXcrobw1OB1mxod8deGPp7hy6JAirNTcIAAsBV5N5kOUXfolrNqpeByjqNVnLfyh0GmLmVH68Ib"; e_fb_vipaddr="AcLPgDBXJnkhtGKpYJRn5oVGiTZhNelJz87na4bj4Nr0PNsEujYOVj_nidkfkaX5iII2ESMdLw"; e_fb_requesthandler="AcL2SuvSs9rGmDof9deuprqejUxO9YmP0wcH07wyTZK0Bxm7z8MAgWEPwmMn_w9Y0VS5zKUooMA"; e_fb_requesttime="AcJN-m4WhpnlIQK5lMJ3qI-2cCeV-PIQ91u4L82rBtRzkuUd_NTMPiW-xaPxqbN2W7yk6cdkoQ"; e_fb_builduser="AcJe2nmtNcIFjarNC-F6JXw6aZIDxeT9_sn7rLFrVTFIhcD2p74I0VXZ-DtTbCeF-vI"; e_fb_httpversion="AcLNW5hTUZymWt1EX7pL1mo_aFveuraikptNKm1oLutgW7q0k_4qO4dDV3Yq"; e_fb_binaryversion="AcKmuBuYQdrBRKVMegY0joz9IcQK4gDGr0bteA7dx-CdmRGQg04cFY00cEmMCLD4ZCH4OaCY7Nvr9w8ncYlFWnqejiGgY0lpYM4"; e_proxy="AcI0wp03H0XEyRju4dEvVqD6Vq5WjWUKZXkvrIOYfFArlrp6sFs5wGHWT6zqEIXQmLmYVCcZjAfPpRo"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=113, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7528859983843412"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/21/2024 12:53:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 12:54:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 12:58:13: Error on controller payload Input Treatment=> type not found 03/21/2024 12:58:14: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7110704612379997?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13241941, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7110704612379997?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7110704612379997?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7110704612379997?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7110704612379997?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbrSkSR5A3_1Ymqmao5Um0z', 'x-fb-trace-id': 'HqEgKXpcjo4', 'x-fb-rev': '1012213998', 'x-fb-debug': '7N6Cx6NIcTls3b6XQLzFYjCKNVRGsSkxvewPspUriEBSI2s3OgNjstCh7TBpAjECUwHA0tQCeFuTFstLFuu1QQ==', date: 'Thu, 21 Mar 2024 12:58:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKl_d0HEBjGjXz7cungTKWrN_UzcIc33T3s3z58Hugfoomdp9zF61DbnR813Q"; e_clientaddr="AcJixFryZ_cxTItb7IJy-fPgykQ_OOt_9oz0T7PyjGpRedYOzw7m_m4Wp1H043XgnID3NmOOYaTYaUSjKCgJqSkN4e4oI_-jumPxApBH7BVdRjfDdA"; e_fb_vipport="AcJ-udiq8dYO9f7HV2TaHpn3gYav-7YAiKEzUHo3E3mJ4FA0VT7EmqL1KWTS"; e_upip="AcKIeakprIr7sH0iM_lxPJ94Vroya2DSTHNy815qZ1fMssoZXgvUGHKZMM4tovGhkaLZyYS48ki7JKqXYoqmVvLu4p6ZPyvCQh0"; e_fb_requestsequencenumber="AcIcL9JVj6O4JkZC5x29_8BVOWMUTHVdk86c-_FQEsgpTnyp1XC1ZI1ynezjLw"; e_fb_hostheader="AcLJihIXsNJ3o1w-odGGXk6gIc88sAhP_2_YND0JIRUr2S9hOKyPSHrDd1zW0c6OdzxBEYDoVd08XeBI"; e_fb_vipaddr="AcJ2pEQBzj_e-cR7vyOO8V0Mih2ZgWKsnpGqsikZ0OwI-RHf6mLYhWiWTRet7kUyNiBIzsJslw9Rr6zsxcSBbUHyLgQedpUYzg"; e_fb_requesthandler="AcIIUoaC1exK6Wm5mgGUSRBKqXvaihS4gcXfOOHPGz6kyunPYSWUieNzF7RiVpmOPm6CvAAE-e4"; e_fb_requesttime="AcJ10FjGKVERIDm-3WYduILcwYQiZ9A_Qej-BV0cjYBaoElt_rc-yHMYPwzlfdqNIQcMW9BEsA"; e_fb_builduser="AcLVSgI4ftt91tX7AZKFYTgshRrm5bKdVoWyBkjpNMLul2wdsfNhHxgCg5p5b5_xYgk"; e_fb_httpversion="AcKF1wDjW5MnMfaW3Yqrc2IRxh4zDPLXfxU8bwlAH0Ddz30AchUsh7iSH0Ma"; e_fb_binaryversion="AcKiBItJy97PiZGwdgKLbqrAJx6yeKrfSkbVeAz-MOIbFHK8-epgjepUN-xXIe42wybQZT29CfdjOMfc2FSNglxtmLUjsjDptYs"; e_proxy="AcLHPBVkR383kVzZZzm3qxLO1_6lsl2aPWze77_aq4XEG2lGEynPEY2U2J8s7cFJQ1fdrKSNPFckOM9X-1Pt", http_request_error; e_fb_configversion="AcK2ZpXJ4lW-Yq7IQI9ZsYL3r9Xo7YTAA-elKKLRJMicvnZ4V-J4-WkmvRrgEg"; e_clientaddr="AcLJvCDpw9bWkuFZszV6pHsSuIa4oyT4bkm7mi6gtLLUcmwxrs0_Cn2mZXj5CX4lRvTosAzvJdshBrhj-Q"; e_fb_vipport="AcKPsrT2uHmHjchWgvJvwpoOLEUBRi96Z-Bc9rCtBZVMAlkHmbHe_mzxJe7s"; e_upip="AcJ3jT-qt21068qZVGvC4wcWiyW4VD5NHvmtrADyscyOD2QWtkXuBi__r1i3Taoq7eFrbY5TOrVi8022RlRzTDffcUUSRH4-Og"; e_fb_requestsequencenumber="AcLPlGxtUkoS2gSoSi-p3ySPSd8KlOV2Df3Z5x0Q8Fa4sWH9g8s9LnIeUQ"; e_fb_hostheader="AcIBMVnjw7b2rr71PxmmTNhHg9cPBdmbQlEoPoK9h6eOT1l6UeQLkmGD-Nz_GaH34ZV94LS25NTXbgXS"; e_fb_vipaddr="AcIj5nLB1vRYMLz4fYBvI1n6axMRe37h6oXLMIzF_gX9aagM3NW8tFkWCMdVzue-I0XxYYXWKQ"; e_fb_requesthandler="AcJnbdOQ5LRYBg1Se3AAn5dV2uX3L_3KqvAYDz0gNjzWpQyIi8MYN5c43vYyYeULaA5kZGEOVj8"; e_fb_requesttime="AcKoWqr94NGHWh2Mk082pHUki8ejhUCNBYNBCVfi_Q6Gy8LPs270gIxiPUj7OMijvu6zcSxkrQ"; e_fb_builduser="AcKVzCrhs-2Y27MQl4wd3oOBHszWKqxLmdSjzrvjnKRkFi45tphs2G_rJMQb3BAfBhk"; e_fb_httpversion="AcKNtLn_OtIrLGjDZ90UrWtYdoCon9R5SDMmnoaGDeB8BJk1w0WHj6HsheQu"; e_fb_binaryversion="AcKhWeq7qWSEpjEIA40OAz78D20O2xVCQ1lnU47C9S1sNQSa6qWaatug2JE87d3TK1EKZpiD2qH1wQouhDxdC2EScnYJ0GYrziU"; e_proxy="AcKw_nf5igecgJzsiYUP6izmeTtNcQ-VrEHCU3eLIjgFMUt88Y_GWFQm_-xEO-nJxqrE9nBHxa84ehQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=213, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7110704612379997?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7110704612379997?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7110704612379997?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/21/2024 12:58:14: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/21/2024 12:58:14: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/21/2024 12:58:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7110704612379997"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13242064, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEAlIIQLE7LgS1BvJNfM2X1', 'x-fb-trace-id': 'DEE4X5EkpHb', 'x-fb-rev': '1012213998', 'x-fb-debug': 'Kn4/vcrohhNaIzw3YhtAIdEGdjdOtNMvhz6loSm0xe/PSdRB4gZgNs+fQwSuKVigyfXVIgaPWdLT00HE+BAsMg==', date: 'Thu, 21 Mar 2024 12:58:20 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKK1nySUcGg_XuIeWsBJI0wFl3PqdwGGcE5Elv0pk8wcXQdRuXl_3l9yt7K4Q"; e_clientaddr="AcJyj9rcpj_BE06Tkc7FRdJwG3-nStDFZjMAi_gW46iPJHcV76dSxjvUF8HpuuKpmpLfdbiGG8EyNJA8xWdJQeso1rb7P1pkqDjxYMHPVoeOJDaz5Q"; e_fb_vipport="AcIZGzQAkvoeEqz7PhugcZNEPo_z4zJWTV-eTtvsl0KAktchcgFdVvxO6Jxm"; e_upip="AcLcMKQXpFHaOxF9v1Udgmpy5AhSZtLWgr4SljARG-dfXywMmzVyjbPgGAmmcBx4PIlKrTAZimPapIyDFFmh7M3fwZs0xhWzw34"; e_fb_requestsequencenumber="AcJHj8ljuwWBKO1omMytt976XMpTeSdafQqmgMbNyfEJYAfeeQ3tiaV72AHq1w"; e_fb_hostheader="AcKhFppK7sITM-oP97EwDJdSeP9xFvkOsmAsiuzGiFbgyrjx2QYWmTyBHBsj0F3cxW8nTyhdLtxOKCL8"; e_fb_vipaddr="AcJJR8KMbz7D2ds6VsbgWSgaUpvCwMk4CNvV9p4wbSLVtRW_omsuj1X7mjA2ezyPQItkFsGk65qtf3BAWiWtRmRCY_UxaVYIqg"; e_fb_requesthandler="AcIzeZzBsaoTB-VkT6dm3POlkmILLyFF6lsEfCqwsodOUbD0MmJAicVsp0CuyWrsWPQGGPYCpuM"; e_fb_requesttime="AcLwNSrnifH1xQf9pAoAihiaWa77ZIepNFfSPcTWY8GI8wpMRdm0eSNBCzWOmBKrqaCjFunOXA"; e_fb_builduser="AcJ8gwkaWvX7VFn4bUjI_CjaO_S7WnscmynQGt1pQHBOyW02xheQa8RmmPVQ-ILPDtA"; e_fb_httpversion="AcKfn0UZdCo5j6-2Oizr9YF8GFWUKo8a68jWULGjkHrFSJOkGAoHw-7mRJBo"; e_fb_binaryversion="AcJBAfuk3_1EkNECIhoiAp5N0xCOR6A9f-TqTssy1VadnaGMTBc1E5FA8e37-iLCWPOf-dVa_d4yGNb5U80zcSg749qF7q9vu28"; e_proxy="AcL5m4yod4XbHkBPny88Xkb2iyO0Y-H5Yz9KyxbqUVup7nKY7JYC3gEy3iuSsaAgzLHgSutNmkRcUFg5Ka3h", http_request_error; e_fb_configversion="AcIkBSwyxL2PZIPlQ7BjtZ_EStKXniizgvjHs15RswC2fHshPTfik0p-VR46Rzsv3lQoTLhR3kjvJ_fOKpKAjj_hycswmBLh0_c"; e_clientaddr="AcIr3bKHzeBC87QRFwMZjR0x9BSkbLGimjNkqxLujzeXvytMS7oADEP-KCrQ3edNEW2EdwfN0NbqR8ek7Q"; e_fb_vipport="AcKduGsWoeMk5YPMTcMhP9MHHlLhd2mPZj4FeN5l-d6szdqNRHnQT9cn_Wku"; e_upip="AcITl4YohTPlrTDoNtnE7My3N3xmBU9uGiTfvKm_QPQhTQiQFqGZBv61P9o1O4aWcxjtl2FBD4fbqbYKWUl6zczQb79PClmMvA"; e_fb_requestsequencenumber="AcIg8St48LA8HZnjjpW-q69o8yMqehaeKjMNv8kogDjRsZvektOjUeXmvg"; e_fb_hostheader="AcI7P3SY_8sudws4f-jQUwzwZeKt9CB32TjoqwBzjtvGFcKS9ViDGPmB-68Zl8OS-dP9KCYln-xVYmGs"; e_fb_vipaddr="AcKxU8uC4rW-l5FxGj5obe6OvrwTwfTNa3VLb_d3YkOozjTcgF3bfB1gYEdJ7viciyM0Haikmw"; e_fb_requesthandler="AcJHStR9Gn51pmCFVCin7_eXr-Q8BKRSh6U3m_ugW-G_H2xRZD1_lKlP2Xqt5q4o6DQ6ScLdhdw"; e_fb_requesttime="AcLe5wK5ECDDlKiLQQt3cAbheq8w_DYn5_arfHQWhVFdX4ARP1xFHUdzFWscs4ng3pHRPPVrFQ"; e_fb_builduser="AcKAQC-VxJLMTGCDvdDImGQggP5wFlRl8URtYi9gGwHlu3gVKZJscwQb7mBYtWXQZ9E"; e_fb_httpversion="AcKavILVpkA7W2nIl4RJrEWwYUy8PNdiLnODmngn4oVDtYbmOLSk9FxwYKAN"; e_fb_binaryversion="AcKZbrxcFlw8xIkHFDZ5_1_-kp5MxpAPdvYUdvZckTWxj9WrQVlThWMfQETF1lRCS5A14lFsUJob5VWG-j5qdkuu-TqSfTsL69g"; e_proxy="AcI1nk5h_ZZ-c2bttcmAYfDbX4VqtzI9N5JOxq7pl8q6sv1ncWuojMXOcvIkbx_L-QuAZLNoFwLgyLA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=197, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7110704612379997"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/21/2024 12:58:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/21/2024 12:58:16: Error on send one message facebookId => 7110704612379997 03/21/2024 12:58:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A_5dJYkdiD9fUYs3w_gQFzz" } } 03/21/2024 12:58:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/21/2024 12:58:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7110704612379997"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13242149, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Az8apKM9wc9uLjzLmXOeifT', 'x-fb-trace-id': 'FIbOL6+R+DR', 'x-fb-rev': '1012213998', 'x-fb-debug': 'E1n9SD5TjZQrb37esOTMzcrKVaRi2FRNGMzWfR3ldQm4CcouFob66EUj1rD68JNeuPFX7olcNWlmhK5XTZ0g7Q==', date: 'Thu, 21 Mar 2024 12:58:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKG5Jpt0Kf69uwNKp6NnmKVSMuCyLOCxvs7AiSFxeK_SSPHjBwUizbqAbBM8Q"; e_clientaddr="AcL-QG2aJyRSmOAX3AjSV56QvIVxP9UIpkcSa0NVz11RjcQYcvb2B8-L10YSGrh20Ms1w4cahYA4zqTm0IcIKQ7QjCvp2ZlTc6xa9eXSDAfZxuWZew"; e_fb_vipport="AcJunCwDptRW-t1Iaf5VUEgrfUkDJ6AZ1cinIVMaY8UUsElkrCPl320d5qhZ"; e_upip="AcKZm70-JOVQdbBJsghHyis4mGZjQbt7-D0WnaPztV946dU3PYMV0vJlSL3inrmVaTAZKuTiWiqRVAga8LvJUGOOqe22NV84GQ"; e_fb_requestsequencenumber="AcIgEqY1w_Cxugz2dTi8NhPDrXhQkHc6o42vr2QfOKOcGokiLQUi-7nlGTtK"; e_fb_hostheader="AcLAZB1lPoktg7IEc6EprX4SfgKbFBJ-GxmcuNsOaFP1LB9Zqw4C0K27ZRfoe7kUSrw0prJEaNHFWihv"; e_fb_vipaddr="AcJBijVi9lVxUHdO0MahC61wV2ZH4lpxTJi8O-DmesDehM4dKlfYrn07lS2qR4e7FS7t_UAvSJLX5HK0DMzYpZiPmyOHIKt8Pw"; e_fb_requesthandler="AcJYZcFsFARfOEme_vESQgOdZzjJgYi4JEY-xQKu9vfrU404rjS8kJ_JAboWiEflfBloP1bf_eM"; e_fb_requesttime="AcKcWlVaW4WJ6OerQU4GkgcnhPdsyDESR2ESFm8tjaTy-ORYxmXzSfKzOZ-JybQE-Q2l9-s-nA"; e_fb_builduser="AcKFlKT2cw42LLTpaVTEjsmpemosutWpgYSEPfp_45TDip4K-dJ5lFrA8-AyGhxF7Y8"; e_fb_httpversion="AcJ22Z3O07179ko6UW0VIhfj3Qe2Dk7AkEk1KdM2SYFyJpGAiXb-6_7Vz_od"; e_fb_binaryversion="AcIV9JInADr166RsQXNUbPO6FtzMlshzaKdb2nMTgZqky6nnTGTZNTNiB2BFz7ioJ36KXCPYvGfR5AP7q2_7IeMyhMBTj6YT814"; e_proxy="AcL1coGzyfdzcrKpR150pjqn6qhpVPWRH8l_5PcXemUfNwoMitTfISoL7Bcw1xryjcY_K2l2YLtpzJW6-1_d", http_request_error; e_fb_configversion="AcLNEqIZ3Dgku9X2KWme7xlaUI8mIdfQiQS3VELl1--QOLrsKXl0h23_s2UGrQ"; e_clientaddr="AcJ8xKLdvq2c0xfrs_eg5YOggIAWfMIA2KZtnjH9ob6fAQJ0x2sSZjdvazMur7JaWabv8eNESGRJboYJoQ"; e_fb_vipport="AcL67e00JniRBDlRR70ZUySYdJtrTK0jm7rNzXWSIIjBuGVUiYKvD3JJOrS4"; e_upip="AcJ7ZE5DQKu4DtZJ2UUTx5EHnXGeGTmyIqzKjJqYh36XNbWm4YqqAclTVEIThfvbkWDwbobj7txhDBaRxqXqioLHj2pS4vgYEg"; e_fb_requestsequencenumber="AcIr5pCyb0qQaXHD_ov08NnxyvyJU1fUIqSU2XBQJDJA5rm_VYkboI2XpQ"; e_fb_hostheader="AcI4OmO9ZhRHkhhJ0aykKbsv7BK69s0tTN8zIOvpoCvqIG1_sZ29YPzNB_h3RbhcNt1vLorv4cxC_DfM"; e_fb_vipaddr="AcJLWFMB_3CAQvfJF5N6idxpyzuL5nX4uZ7mj-Lr-Sb3v8rUicq7g1KuV5D9sj8V1qEVnS1ZPQ"; e_fb_requesthandler="AcJsdzlqNxY-xU34SC5W4CFRcAL75Iy1Tr71_Izluc2U1HhAubYPSu6trx7lgU_hKEHxXkkEX2Q"; e_fb_requesttime="AcLMQHLdbbw5-40KXv76P4jv_eNuBrTO-CEAz9YW4kZrE0vknZ-n_luNATWI7ksiMk1SakitAw"; e_fb_builduser="AcJTP4kAXzcbIhNumyPancKH2AvIRgLWx7zZkGXcLrbPW2l0QX5o5H-PaA0Gp5cxS-M"; e_fb_httpversion="AcKvz8eLcde3o-uKxeF67MXwA8YkYnRezSVASlXZTBjIwm6bz3TcAKKemPN5"; e_fb_binaryversion="AcKGQP1eKRq0eVK7jbqUY1JLqSv0g24xoZZHIZ-JqJR8EwiSRGCCqZQnaMWVu-ZsDUh_oV4hLzh59Gdr1CH-DtTCVboBX-DFm8s"; e_proxy="AcIvhuvVU48sMD-eSkK5uAhffT6KWix26T7Xk51m9t2Ihg3J9YQLWCs2qTGd4WNwFyMKmv0bRHRw6MuK"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7110704612379997"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/21/2024 12:58:18: Error on send one message facebookId => 7110704612379997 03/21/2024 12:58:18: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AXpKklNRgDXnu_jSVjY7ziw" } } 03/21/2024 12:58:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/21/2024 12:58:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/21/2024 12:58:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7110704612379997"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13242288, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnNmruxAZS-55BJH8yRdT5H', 'x-fb-trace-id': 'HRAD7z39rrm', 'x-fb-rev': '1012212426', 'x-fb-debug': 'vU9jXHAKKTyBKFhjP5MijGqLoGmd3VsONR9l4tne0AJMSrxybM4G14+uXge4EbaWjZrHqlEB/P1ti85RMsWHGw==', date: 'Thu, 21 Mar 2024 12:58:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI6du9RCfusu7-AfsUIWG0lPLFof7OX51ZEpmPHkANYdctaUeVI8Qe_ZwWzoQ"; e_clientaddr="AcKpINOZHmfIP50VFfd7nvdRKXNCuZd0WWQJGB1VphIl6VtNDzAd5c23dB_-y5bAdMCBLgNIu2o84nQk-glBRCPXLJ2cDQu4pstxthIkw7i-j4Jn"; e_fb_vipport="AcKRTCfe7yVqwPB6aZIkidMltjpaKIRGlunD-whn1LjCPNmolDXUU_z963Md"; e_upip="AcJXO6cMbecU_BF4o-hnPhD7YFh0shs_9_Db-Uoz4j63eN0Zb5ndP49E0Vb_ZvGu6PCMGKorHc405Dc2tDuc9gC1ZKbwfFIBfos"; e_fb_requestsequencenumber="AcL_df8wstkVHNPaYpu0By-0nq4jpKg3tX0Szp4WpGkxPucERwP8y0JynROhmA"; e_fb_hostheader="AcKuLXeiZ66Jyu8HIb7IPcEMtQ0_PppKbmsiOWGh1b5LPyJjRidOpXN1-o2yS2Hc9m8AXDD9YBn9r8Kq"; e_fb_vipaddr="AcLPD63VbXfqXuCH6-z4QPPm9uGn3grU_aX1skLRnTSI2w22eMDFHHMCrPVi4eNgmzg7U7g73xNhgWpV_3wAA4d9V5WVQQ9tGw"; e_fb_requesthandler="AcI6POoi2zCDSXcnekBqMo9YQHzUDRBkCo0CjmFHZD8kl6BYAP1y_q5rR_u88vkL5OnL-QjnqTI"; e_fb_requesttime="AcKy9Yadq5xnd1n5ooYGOY2KA4lrqdkqVuUsKqiuLCdeDPm8It_pLfwdZFV7i2nfxzN04W1GCg"; e_fb_builduser="AcIOBOrzjb73clS0DhaLGuIHL9iqBIVVVLBwBGgsUYWCltrc8vot7yYRXQfbARMzJYU"; e_fb_httpversion="AcKCHc_SPlmyaFQMdDvfUIyp1Lx7JdTR97qmJTCncb32Kvo6jujVqAOnbl6p"; e_fb_binaryversion="AcJ5yvMxCPQDe8LO5mYs_mF80hFViycJCWMwLtgf3EuryrHu45MauSaK4dAd8RUaWlavTV_GPN0_gUXHr_-OddIFxHchEGuAAMM"; e_proxy="AcIRCNwsBgnoOpEm8yF0wjTCo1xw-SOjudlEsIQul9YcAmNUb5MMcW1Pc7--CnH6LaGoEMT-IuePeFx2cHJk", http_request_error; e_fb_configversion="AcIEFxJb9vpJv2CIAqK8UR_ol0pyeE5A76ALW3zUhtPNF_JjylUkCE0KR7xMgw"; e_clientaddr="AcI8pVOIGWLiKkK7GfM8CIxKBql9m90KvnEuDBh_7efbP3alniIY-Q-QXrjsYed2oeJByl7Q_w1OL3PRMw"; e_fb_vipport="AcLTlswX4x_nal81cfjT_Q1TD2L1wnTAzOh0pKyHXUyPG_kagXpF-ZtBAzqT"; e_upip="AcKZpdREkDyqkL5Ow_u9ji3q_ZOjK_QUIhx8QIzYZm1Nic3nI1wq_ODn4BUstRKtRefLOY9UkFG8nyA2X5oJ5TXpcv29q572Xg"; e_fb_requestsequencenumber="AcJUt8Vx4nbGhWqUD-xSBY_4TNhZvAo1fZ6hu6Kr9CoerNQELwZCKAJkuw"; e_fb_hostheader="AcJXRa3gWubuZFQrrW3lmEU6lh2-wpU6UrV3R-5rI48PCYZPRIFTHYDVVlDeY_Bhz4wq8jxLaL3HKEMu"; e_fb_vipaddr="AcJjn6eNyrtlJFhSm-3453HraOIZrn80f-j84927ixgVh0LShNFuqjusfTaUu_--uN-TLH0trQ"; e_fb_requesthandler="AcI0rC5uzNr2_tJFqV0b8B-pHPDtgc7GTNIo6vRkmpaXVj7geMnLPcTfvtqOci_VQU1X3huW_tQ"; e_fb_requesttime="AcJPiAYfvJhmZFxlKEiS_0Os0M3jtXl72b0BKI-pLNY_Pk1T8p6cqmymSwzvyrRwIcyRzkJB4A"; e_fb_builduser="AcKQvqHqzlVxk0b6kBvaSySbzuaBHoElP8Y3DH4h0HSICYMkkmk3OSjA-z1aKThCjIc"; e_fb_httpversion="AcLyFEaYRrryIuhpmfRuQYS2Ti5M_8GmVbP3ccan9zsS8HvluKv_CJSONXme"; e_fb_binaryversion="AcIWwhVKloLjqsn7aLUYxqOUCZg0eq-XtPVWCFQp2OQ_bToG2T0n12vVS_YVKxdjAk3YmFIqZwv9lnNn2bTSv7IWZA1z63EUKGU"; e_proxy="AcJQme_Rni4CMxCZt1zUtx_1CCDNGLTsHt5CC6DJ4eEfwMwIxO5jSrXJQTi4VLDhorpBoNimaZW0GLQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=197, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7110704612379997"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/21/2024 13:12:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 13:13:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 14:12:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 14:13:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 16:58:46: Request bot not found: { id: '320637341295349' } 03/21/2024 18:23:14: Request bot not found: { id: '133788230054854' } 03/21/2024 18:23:15: Request bot not found: { id: '133788230054854' } 03/21/2024 18:32:22: Request bot not found: { id: '128159377280665' } 03/21/2024 21:15:39: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13330452, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 21 Mar 2024 21:15:45 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 03/21/2024 21:15:41: Error on send one message facebookId => 7146857525440543 03/21/2024 21:15:41: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2ea86f50-e7c8-11ee-9f32-7fb70e6b9f45__1711055745733.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AqNplRYogZ-aYGCv-CWRWJR" } } 03/21/2024 21:23:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 21:24:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 22:10:09: Request bot not found: { id: '175778962849901' } 03/21/2024 22:23:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/21/2024 22:24:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 10:18:59: Request bot not found: { id: '175778962849901' } 03/22/2024 16:23:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/22/2024 16:23:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/22/2024 16:24:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/22/2024 16:25:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/22/2024 16:25:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/22/2024 16:37:37: Error on controller payload Input Treatment=> type not found 03/22/2024 16:37:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/22/2024 18:22:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:23:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:25:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:26:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:26:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:27:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:30:06: Error switching inputType 03/22/2024 18:30:36: Error switching inputType 03/22/2024 18:32:39: Error switching inputType 03/22/2024 18:35:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:36:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:39:34: Error switching inputType 03/22/2024 18:40:10: Error switching inputType 03/22/2024 18:43:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:45:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:46:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:49:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:50:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:51:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:53:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/22/2024 18:54:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/23/2024 03:21:10: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24923389827304487?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13661996, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24923389827304487?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24923389827304487?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24923389827304487?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24923389827304487?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ay4llxj8IhG1tttnlwMwdPa', 'x-fb-trace-id': 'B3FCXZ8hv1M', 'x-fb-rev': '1012251909', 'x-fb-debug': 'r8Q06MokLZoeTt4Sn0WTxDyQ5nmBLMTXmmMj0JowhRn46QJMOLg5k9MMcapv4D0hyRmA2Jh3BXH4N3JD+2g2fQ==', date: 'Sat, 23 Mar 2024 03:21:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJRXNDXBJ22MUQYDHhjz9cBFsZID5Jis22qsSJ7PKT_Az96iB7BA84vnIFsTA"; e_clientaddr="AcIdgmuOZXgO8TkqyJT9XRqhGnEzgHO2G9bhsFKwWtIjwUWd1LuvFGIuMTAQ0332oTTPpBRh9C5V-8HE1zYDrpdUGODoa13GscIfOXe43Zk4b1M0pg"; e_fb_vipport="AcK2VmXLGMs1OMBil-bsPFOhv9rfAMrYnRG3DTHgHj8cS73xIYJKe1-XTVYU"; e_upip="AcK7E9uWc1BzSoe_jXwWyxKQ5i65LXPd7azke_fEPpDZml-A_73NDo-arG-0Nold5ifu0_AljOBhuS60BUZokFjAI0voB_r7Uw"; e_fb_requestsequencenumber="AcIo0OzSedhufzsvVexBK3DAEagWwWH0SxhrpiELd42Svh2xZkpQq5z8WZgO"; e_fb_hostheader="AcIs0AjFvMBgkD7rn-eUV2dyrX_Il5roGZT8hd9Df7MMvh8JpWRSky7dcYBbEwrDIfnLt2pbax5uqqoq"; e_fb_vipaddr="AcIQ35cxHyXsGTlnEez0cGLwcX1PeuIISkJCgyTcelXVFnuJiVgq5ow6gFpLy9fGPXal1-KgtRBj-nuFMNnJr5_k02BhJw3scQ"; e_fb_requesthandler="AcLWr68V0nP8KixNltK7iK9MpKM21hVT4eqihugCeogNI0slvB8nfXNCIOr4QwF5h-U5xpD5zlQ"; e_fb_requesttime="AcKVcUVAhj-JIW3vc72U_LppgILutqtJw8elaGaxDwABo052TrFde5R7rXc2T2nMMSfX-01lpQ"; e_fb_builduser="AcKsQj1ltstCLo-UiWzjXTbjSJw-omuGVogLbTEfAXLOqydzGuGtXxG45HUUTDsZDuk"; e_fb_httpversion="AcKwNIJN-Rv47SKEbV9GspeQxs1nRaGyVR6UNXI3PaDU93UZvx8MJYKd_Uyl"; e_fb_binaryversion="AcK1mGqF6RZeXCF7Wb4zVqK67fesU6g6jBpFDqlYWRPEOY055-Gu-gzqcT2PCxTKfZVuaODmN9LjRA7ELHkTB_KvguJpfovn4eM"; e_proxy="AcIeyCzJ54s0-vsyn6A-Oyel3qyhKelgsmLzP2_sVu-oLpK0q9tpSJoepbnehnlUEiajk2bvkPPzyDyBR-Sj", http_request_error; e_fb_configversion="AcKLhhm-A0HTKY4mbEp-8kikAI2v63cuKYlF4wBqslynX-GEc1LcQ4LdfNHiFA"; e_clientaddr="AcJ_XYxXxMlOQ7Yl-xc-IMBq1Spq_2QiOCyH3jg4k-mrRwNADEQxdZPYivqMZHFeHtJYxE5-wxIGbXktxw"; e_fb_vipport="AcIDRR5BrVJhoqlQKPylZUVdxHbX1sSK-HfhXwV_rvNbO3JvfC9X-sjhaR88"; e_upip="AcJErFBTPtOfsCRy3IUS77tIytPHSpnbsgVa3oXIqU5g6zjrUPP35fkUHWmrVv3QFzifM2ylU3U-04T2FPHoOhIoHhiSwhG-8w"; e_fb_requestsequencenumber="AcJenJcNxH580HeXflYpfNF4Z94DZhLKUMvH3-_d5TlVxiRyZ8dmLN-mgg"; e_fb_hostheader="AcLEVc6MUWhmbjKm7j1eVGMSednBtkmzgemHoLlV5cjGD5kJ-z_aXJORltSfJ2TOrUwAuUY80G-NUmce"; e_fb_vipaddr="AcLrYdpfJD0yUaHIxLlE9wz2jU6EDnL8tMgCXZNItpHzCQNpCwILmDXtQ_cW5EoRgSgStmMFgkA"; e_fb_requesthandler="AcK596LxgdE9QaNnaJWoif4af-KQy1gXTT4d4iqg9mS1JGRcjLZjvzQs1B8GD7I2FuslYHsfoLU"; e_fb_requesttime="AcJvs3s9Nq3lP5GwLmz5vF8u1huGY3dteIG82sjVgYj7CqLmWwCQJbc7glDs7W2lp5Xh2rFJTA"; e_fb_builduser="AcI7w1wJEd1BWjYbOJ1RrLmyNnH8_vNcG6SWtVV9iqXoiDg2UHu4011r64GzWY6sC3o"; e_fb_httpversion="AcKgb-Gl71P21TmLulNpJXN8YagYl7F15X5aVLd75GXIK4RAozyEhvPFQoWG"; e_fb_binaryversion="AcLf1jV5dJsLAEJOLT8Rnc9bw5zNngo6lvjf9M6_vQt2KKxgVSJxAEOjCoJZjgaUnd8oY5qLJ-PcmV6AEofCSV0NK8aKDfAFWpM"; e_proxy="AcKBawz1Gq-Qi2Cy2_imL_peS1PJUBmPzs_vxMqn82XS8qrITX4tZGfpBlUy_HZvEEPMpIKZPKusA3g"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=301, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24923389827304487?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24923389827304487?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24923389827304487?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/23/2024 03:21:10: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/23/2024 03:21:10: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/23/2024 03:21:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24923389827304487"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13662116, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AX2xFCFVWzpjbtJaZYERo6N', 'x-fb-trace-id': 'He/lQxZbcFB', 'x-fb-rev': '1012251909', 'x-fb-debug': 'tWHb0VxHwoCUKtPhAd+M3qYrjYKBdahuh17EbUkHbRfdPKRFZWJ/jDTyNOFb/ZVfkvxiJusl3Xbf/+a40mxJkw==', date: 'Sat, 23 Mar 2024 03:21:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIvr4_cdW2gf8wiga6lqiC6bUbQO7nyQkpiNoMDkmx-jHcYQM9LhgRYMpJdYQ"; e_clientaddr="AcKBHZjeCNeLJL3-EJzusZMqN-TD2Q6-cRBPPP-Mal0NQ5LiJEryt4vyB6PGq4Qh5m9L6K_7z6VAqXpY-3RM7FBqlSs_o3NtgCpPXdT539a56UfoQQ"; e_fb_vipport="AcJRtBcvleh--S_oPA53oaIcnm5CJpDJNURBH63AeJrdMfr0LksPZggSjaYr"; e_upip="AcL9WybYdtmijQXwK2m45_NnDXJxn8OxF6bNoBexEo06VMzYWvvqOuQJIzvpeSfmyLNlp9nRmCmXKuzZu8XfFCZKQE1JJw5HZi0"; e_fb_requestsequencenumber="AcKckjdPO79N9rJyPDckZ-lLLYgzBqiDkmOivUXa-mYK3vVdKnJ-02zpwHDD"; e_fb_hostheader="AcISdTOSxRtsg6_e2SmDOiQfFpObZH8KVO88SeMem1vrS5Z2cyUxcu3sE28lG0doLxvjjLlOZgPxpzSf"; e_fb_vipaddr="AcLvGcmd3gd8_C-G2Zja3wHlTpCRjROOBE4NOkowbpY1bc_ivTN5RFZNeujP0wfP3u1LG4A0D9bmq4v9AGGoT8RzB_5RAVKMWA"; e_fb_requesthandler="AcIipVSCiLr9uP7WS1Ikih-podYmPMPADiKXpbdhi6r2PIQNyrB2NwXkGVwXqUjFnuQu0ZMTKVI"; e_fb_requesttime="AcIApTG3I_vgOTunh6GI4uCbSDJNj9RYjTvfoBtC6mkmNa8tdqfk1gm_tFGbDpnl3mu_o69pcg"; e_fb_builduser="AcJ97vDrYab1RiOstmqudmvHlw8R5TP3xeMWF-Pj9_9qco_3-lY-9koFqjnB4zoiflY"; e_fb_httpversion="AcKThLf9ZkTS4Kk3Fb5Wcz6Fpt1YbNjfLGn99vvxSw16csANBIccIPq-EDVt"; e_fb_binaryversion="AcKxOh41_NRgd5K8j4EdOSfWfD_Dl6qDR2cMuzprtFDUuvAIFMGZk75jN2OlCSpUTiXJfmFXc39xIAkCa1fDgmY1KIDOS4XZ2Os"; e_proxy="AcIjQVBhrAljLpERDPEBnD7E4WmQejCMsDRrWvMeVzuClWCl50LYvejQGpfKFK7JQ1hciqmf5aCWP43a4Vsv", http_request_error; e_fb_configversion="AcIwCuivywe_Wgg8GXmArkmDmc4Op8lQz3-0mZ5fY224z2rte2P5xmvaqgbaDQ"; e_clientaddr="AcJO9P6cryD9frAy3w57yQG6B_n84ebnNxev6EswJD6i-4IkPoJfrnByv95moY2Hf34hL3rFNgoLMdM54w"; e_fb_vipport="AcJCQN03x85iXavG8Gl1_Rjgt18CDe-nDnjNSCf-5jBjkderDt6BHGf3qhhC"; e_upip="AcKV1xRrDRgvYRoATe2PD7CtkBQB-FUM7aQf64hMXj7TPvgkzNX4bB0eovtwkpV_zdgiX-0jtRPw7JKACxPfs8ZrnXv1560saw"; e_fb_requestsequencenumber="AcJdnpWEne3gZ-w7sfc_pM-UpaLVI0KCpnhMR7u9Y7UI2hwxpDKP-B8U2Q"; e_fb_hostheader="AcKJ6vPjEV1HOToeRaEK2B1CMRNOwGjKG7fVtE_NdMulP8tScRqOxfiOxTqm6amgz4CrrntfEqDMWUIb"; e_fb_vipaddr="AcKr-qH-gzi_Ww8LThKDjwwagfmrlBcsZAXRDsWUAUq_JwVYuIX3dyOUPpeHd90X-5hOmLAgSEs"; e_fb_requesthandler="AcJ0TEb5fgRqcmqlUIZjurCRzRjQfxVYMtU1pcfCRSfcecLZIl4iVzckBRyvnWq_EZ-AHYvdmJY"; e_fb_requesttime="AcKTrB-WIgi1ZZ6lfZhttsXoujhdzAVBfYs5rZVHaVovF0OFyt702hQjAOdZcdp3zYC9_TtK4g"; e_fb_builduser="AcJsErBBwhTXRxBvkSZyectw41qLz4xc-ZZ-V-nbH3MOBRxHpKIRln_a6YlAYZYnIWI"; e_fb_httpversion="AcKlW4iOojoD-qF0Xf7lJTjGgtkLRxHG8q6dASYuwczhjMpzdTXRd64j6k3Y"; e_fb_binaryversion="AcLYA9UiZ_CyRW_Ihg8Y09Y2Dn_e1NLpcBvyj1fVPGo3CCp0x4nFmb2Yc797dutXe-iVnU89cPT6GEn7f9yXr1YemxfrFWlUDm4"; e_proxy="AcLZKCA1RTowzCe2dUH7IP8D96nj0mxA3aim8z-fl2M2n_f4U7n6QpMt2J6OlHRHYU4e_H30c3KF6Zs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=183, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24923389827304487"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/23/2024 03:21:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/23/2024 03:21:12: Error on send one message facebookId => 24923389827304487 03/23/2024 03:21:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ATM-GZmASD606YUIIJLYjfl" } } 03/23/2024 03:21:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/23/2024 03:21:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24923389827304487"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13662206, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1Ns4gJLdnT1g0LuP9FJLRK', 'x-fb-trace-id': 'EULRkoTG+qN', 'x-fb-rev': '1012251909', 'x-fb-debug': '9llTIHmNBDktb21zGSQWxNyLHTaLw2YRxsARpwgmZ0i72WMbzib6byaX4GyavIiAmytxj1EmJ1H+8wDaDzkCFg==', date: 'Sat, 23 Mar 2024 03:21:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIdTbnY4nt0tYYeMiztbs0qUj9bu7v7icA2n1kwjByCMhcdJK5RG_C_pUdGaw"; e_clientaddr="AcKc_vcjbwH8TZxMRmZzwBtbw3DwENiRS5791L1ncjsigqyCzdtRp2Ea95-0142CHzfQ0mVEAFcbE86u-sgaVZakfq7pBHrgGq0CfZ6IKzJPSasjAg"; e_fb_vipport="AcLE0HBTl30ct7BqmCOvDyBdjxyTfwkaw3OvysPHQmU6PzjHvU7Iz1NcpCIF"; e_upip="AcIQjNAvy7oRW8BIFlmjkK3hXN9Os5X_rDhv5xNZO4SN8TLO9fwiXmQK9x6WbRk01bfFvMevad_rAyd2IOd_cSUU60uqzYUr"; e_fb_requestsequencenumber="AcJ5rsEOAVsg-Ne5dKQOkw2lMkAR7OgMyiYqflpW_t13-iZ7zg7r8UtmOwPh"; e_fb_hostheader="AcKi66r_-VeudZGaVbT2ZtBUlfESvaTCq9Lyt0paVSBywq28Qtkyc9TudOkLIacnAsnPfAPYFbyTMgkB"; e_fb_vipaddr="AcJKKX14sxUNECis3qqYAS4vrUtPpAwJoOGWmDB6vcKWk5Ilxi0IzIL8rxqokNPF-LDqUgGS6hYow2NxwWoa2lOmAmkzIZiO-A"; e_fb_requesthandler="AcLA3zwZizP6wGpYQzlGZbOluWJRpvQc9ROmQe2TOvOz1AOL2t8SjZEgj8fXU2uWo-KTp_nDD-U"; e_fb_requesttime="AcIHB59V7B_y24KLdn7IOyNbEHv6l7Rb5qT2hmmu7wzyi_loVl2Q9ZUgWkLXYkUepF7IPnnCRQ"; e_fb_builduser="AcKNXW1zpGEI-hWHQUjwPd1ndyzf3xq0l6jl0Pzels8f-9ugzBLSHs0jaVLLwq9w9R4"; e_fb_httpversion="AcI4KJUabDUskk9ptgJEyVZQNqb3Tt4g6MX1aVSYHt9ho5CKcZfedYSs90L6"; e_fb_binaryversion="AcL5hdAiOXyT-n_p60gOMVRcy-lnLdIbDIf9EKy-gNnFzldtViqB_wICRKtMBGEWpDQbXA8J2bYzKCFfXfUc9jUla86mcunaCD0"; e_proxy="AcIyJWeYZtxCUkD4YxNAjgyZWRBC9IaqdpslF4Z4-sK2-9bsrPnv6nKrragsYyKCh77T_wQMqOgx3bnz4yQB", http_request_error; e_fb_configversion="AcLLLCo0-l-xeksJ59SZeL0Xqo8uzKon1a4KtxktRp2QysqOomDClD_IepVE0Q"; e_clientaddr="AcKYWb7XrmKL5xI-Gm3f6EGkO9Z7z4tMcHcuqEfQh6n4ahe95aFrNR1o2kXEGU_Oj6L6SXRkukKnbmxfCg"; e_fb_vipport="AcL-zjTVRW8hhYYsoXcZyK-hqWVcHEaL4KQBW0o_cYH5_sRXrF7vicotx0sS"; e_upip="AcJCUNdrkWkxhhxmlR9tAQqsmYOr5zg6e6jGXgq-YqpHGqeaMjtMz3koeoLDOgaxpE26HZTyW164bU0I_G9ZqXfnXKpi9t37gQ"; e_fb_requestsequencenumber="AcLGQt0_6vV7Ge7MWZTnM_w_NEm5UWSAn0ht02AnTC3Nbqv9eG_8pSpCLQ"; e_fb_hostheader="AcLGgMzrCRT-CF7kyYhDjOs-JVT19h6qB4ovmTtWPL5bCH2Cudbfq4qqgKmyn5tFP0CrlNIvC9fyo554"; e_fb_vipaddr="AcLo0kD2rWW5_JqlAMAla44fQNYh8XfsJDi3dz-t3mnkVTwRDEJMm_9CMo3r_zaa4qVkOJhbdCo"; e_fb_requesthandler="AcL7SSzcWKexfyEW7eoFMEagxbZsY1yp9e8WoDQD1khpz-ITSIEUV9LshoRQTQfZZTbl6B4VeJI"; e_fb_requesttime="AcKCTI9M1bMUzeNBUx3ytZQNnSSY4_gPACl4e8qlCLM9O2j1Uooq8swpJCigknkpPP-1gw7t_w"; e_fb_builduser="AcL6lJCUim_7OO8-bQci1Klb_asjNYOZu7U7sOHSyozcEOL_T_nF4pnvM-QlL27ctHU"; e_fb_httpversion="AcKPy3Z7A8q0PHw16GLiL8ITK0bS_QNKLDXmE3KZo25g7IPo__Y7aQemBrmp"; e_fb_binaryversion="AcLlA3iOC_8DHCqFnUmeS5kLpl4RYD5hDMk-V-KR_B0QmLU3k0kHk9n4oBQpnR9oKfjsJPazWQJyYzCBdxNW_NjOMVd0uS3aedE"; e_proxy="AcJveCNN7lRiEkRDrn9j6Zn52lELS1TsHGZTSK6WJpdaKRQLKFFyCadNByOlX5ZAHyXvZC7IwvH0mxc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24923389827304487"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/23/2024 03:21:14: Error on send one message facebookId => 24923389827304487 03/23/2024 03:21:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ajk_TvyWoTCdlqitRv9GNAY" } } 03/23/2024 03:21:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/23/2024 03:21:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/23/2024 03:21:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24923389827304487"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13662345, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvV-Esi6fT07lpJXvB0yDil', 'x-fb-trace-id': 'EJRGKT6MUOH', 'x-fb-rev': '1012267431', 'x-fb-debug': '0jTynfwAlQwDJS63S7WUmBUwJLx/Jq/QMyFFKBXnuq3NRBMkacIQTSYmwVq0gf9BbpAkZZ5M7NBSKaYOayJwsw==', date: 'Sat, 23 Mar 2024 03:21:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJS5wtRWRt0JzDTZzXYIzoCAKVGhD39UZf7IqMNkA1fSqK5jox7gCQOFftWGA"; e_clientaddr="AcJXIEilG1gnhUJp_kdLShflyunAsAuj3Hs03zRSbU_Be2sDsgIEOYQE4pNo6Solwxxr9slYdkSmvEDGWYZ66iCkuKKJC9dxE4zX8jV3QzZ3oj9TRw"; e_fb_vipport="AcIgzY3pdsSH9O4L_jvYOnwm-IwORWOCiWoei_UqvbRBV_T-Uya3ZjrFhyp2"; e_upip="AcIB5WZMRF2maQ9AcTAXI_ioDJoMNm8w8ni1Gf84hFza72S9UXJLKzMpKyDs_jL-hZ7SDmctqSrBho6O2a-yrYRO53Zn3CHC-w"; e_fb_requestsequencenumber="AcKhsEkcLlJB5hssTc5MgIBxojKBI4jFiQPnZsF9X6CkPa4auBYCYN5sHh31"; e_fb_hostheader="AcIjnzPF3b5ElikHXdi83IBJPuzHPSprKCV-3TjznIa7F3Pfz-e7293oNybwP3CzxikqfmTM7FEShOvN"; e_fb_vipaddr="AcIFnDXk9Dq6syrYy6yBUjGLJ4GH5tQBebx2qXQyfirr0RYfrInL1rvg1QDM0UXg0m0K41D5lhFZ-uBoOx-mDAWZ3wLhzgZF9g"; e_fb_requesthandler="AcJMGWtrAu6Q1nc1sW5Q8wCH1HRH7As3DU7agECajAn2RTRtZ5_-K2emqfMeygRUnvhRUDEyFKo"; e_fb_requesttime="AcLcoiBwr3e4WoVQL9M6RVtI0wTRvNuHPU8KtJLXMDM_HmcPXL7CvyFdWRpwyrTLVlPFFbhiNg"; e_fb_builduser="AcJxh9YKILO4Di3q3e7x36PGAl6uAXqAMFkcYfykcUbd6k27uM_etb76steKpt5L4tg"; e_fb_httpversion="AcKMcGH7xU58L3BEYmF8ezoonT8pVGTNRq1Fhd-UwxWyylMLYd43Ls6HDHge"; e_fb_binaryversion="AcL5TpDZoW6tIAxJDOt6KIfoJSCxhH-hO6z1QXOCXke310yWyAgmpzFAS3LBFDtPCZI3x17Q_mbiR7y3ac9sTUzwOMDyXqJwmsE"; e_proxy="AcIL5zFGJuROorxmp1emsi4-uGcbVu0nBm2cbdAgRQgYp4UJgQKNJYZcrFDQdhdSXRhPB7TO-fKqc4Jmf8ZG", http_request_error; e_fb_configversion="AcLkvw-eNhfQAYfSKG1nd7aw3CW69xyfKEfVbaojMSrgPn-AhYxAqDLn3cBtjQ"; e_clientaddr="AcKWEbT87CGMmG-CxnYHEJsNTvdmXAd-1fy2iA5ZkKzTFKjhhrm92wYZjWwYEWxOH-0YlzbxVaPQ2tadEQ"; e_fb_vipport="AcKVQBWbohTgHFqWeQnrwjvWGkALrsmncIyHLM6o8psvyj_0VKXNgP16ls8e"; e_upip="AcIIBZeHpaIBfejS2GELOBDrsyVAuyuv2LpI7xAKmUkrcIGMQAsGCZyTEDpI5Om4UAT2eyNDnHrnuMUahzLgMc4WTHpj4Vt4eg"; e_fb_requestsequencenumber="AcJNQVDGAumZuOuT2RrXfKpBKAhdOLQ1xYdsCNuZlP5EUQwxldA886I7pw"; e_fb_hostheader="AcI8C1ZQ_d4bPeCjnE5upPmjvtUAFTwdtY8hhGUZYwNfu8N5l3Y2IxXAubPd_TkXrwiRV1aTz39lBqjg"; e_fb_vipaddr="AcITqdwcRQRLei6vHaz-f94TNfc456TAv6-W7GVFrEPIQOawrifRfaCQ19ccddwucoZzKkOt88g"; e_fb_requesthandler="AcLEEEdrmgTwHrxVUr6E7VKQFb7z4cGA-nieweaoP_4nnNoTnAXsnsAUt0ueQ5bV-oecQXphzr0"; e_fb_requesttime="AcJomXt-G7Agq08yInZIIcL8XrsCWs5PlXke4BdCHsrVGB7t3ySzhg30ZulC4_Ozo5NJnVjB8w"; e_fb_builduser="AcL8B4O46U7LP1uNTEWLU7S5pXk40208phYIhTtspm0bQBXYvS04OYwWSJUo4iCvgc8"; e_fb_httpversion="AcJvi3XCq9M_IHggddx45PFGPWLYDkSAWaG_iGIX87R1HDLi1eXPt9TCXVsV"; e_fb_binaryversion="AcKLzhNOIKSUTS66iY_2Tn1rA7isvx9ho4-a85-Tr_KUL-J6_ynzguhdmfmZtSEPfl-VyEJes-EBcS4cpWGMonzI43e-GzW11JY"; e_proxy="AcK0mkjFGWtbtfpRjYwSG6DgNy22M7_1KOdQN_rB7pCG1PVfE-kEFvpOlpciBrVNmY0f8gh1o4s471k"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24923389827304487"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/23/2024 08:59:46: Request bot not found: { id: '1067413796753652' } 03/23/2024 10:38:09: Request bot not found: { id: '138868933458303' } 03/23/2024 10:39:25: Request bot not found: { id: '138868933458303' } 03/23/2024 10:39:57: Request bot not found: { id: '138868933458303' } 03/23/2024 10:40:15: Request bot not found: { id: '138868933458303' } 03/23/2024 10:40:38: Request bot not found: { id: '138868933458303' } 03/23/2024 10:40:59: Request bot not found: { id: '138868933458303' } 03/23/2024 10:41:13: Request bot not found: { id: '138868933458303' } 03/23/2024 10:42:24: Request bot not found: { id: '138868933458303' } 03/23/2024 12:33:53: Request bot not found: { id: '138868933458303' } 03/23/2024 12:34:31: Request bot not found: { id: '138868933458303' } 03/23/2024 12:34:48: Request bot not found: { id: '138868933458303' } 03/23/2024 12:35:08: Request bot not found: { id: '138868933458303' } 03/23/2024 12:35:34: Request bot not found: { id: '138868933458303' } 03/23/2024 15:40:06: Request bot not found: { id: '133788230054854' } 03/23/2024 15:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/23/2024 15:45:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/23/2024 15:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/23/2024 15:49:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/23/2024 16:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/23/2024 16:45:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/23/2024 16:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/23/2024 16:49:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 00:23:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 07:34:52: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13961599, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 24 Mar 2024 07:34:58 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 03/24/2024 07:34:54: Error on send one message facebookId => 25924523893813791 03/24/2024 07:34:54: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/044f8eb0-e9b1-11ee-9f32-7fb70e6b9f45__1711265698587.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AT9az0CYqEC1vyZLZZvvby6" } } 03/24/2024 07:42:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 07:43:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 07:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 07:45:56: Error on send one message facebookId => 25924523893813791 03/24/2024 07:45:56: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/044f8eb0-e9b1-11ee-9f32-7fb70e6b9f45__1711265698587.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AH_nzE1LYPOTcWHw2y1RYKS" } } 03/24/2024 08:42:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 08:43:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 08:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 09:05:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 09:06:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/24/2024 09:36:34: Request bot not found: { id: '1067413796753652' } 03/24/2024 10:43:50: Request bot not found: { id: '1067413796753652' } 03/24/2024 13:10:32: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6706609459439297?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14023608, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6706609459439297?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6706609459439297?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6706609459439297?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6706609459439297?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AM8fLRxBrZub-Bz-muMlAtU', 'x-fb-trace-id': 'EjBOUnAIBvM', 'x-fb-rev': '1012276057', 'x-fb-debug': '2NnH0h/ImKH8oSfbvAe+KFhjDmVC1uj8l1BTzltRADKA4+NbrJKGnSvuMbN5C9letYkD2ihVK4kpF159p2ETKA==', date: 'Sun, 24 Mar 2024 13:10:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK9RdMiZBIIxgbuVVuQ-4n3RtOCOWQBD_fbdrMGgMl_TjQAUpH1Ktf_KVts_A"; e_clientaddr="AcJFdFiM-ZMPCKD_QRstaUbb9OLH4lw9t-nyxIBYEu0Y4nkwLlMX-sWHdUrMXH8_eQPtUe8ymI3zBe61joHJGAcOjxGHo_zZGMX_0v4Bi_aYYjJvgQ"; e_fb_vipport="AcLUTBCCLy2ZBo7T-e7WZKAy9BUQBAKdVP7Zdxqe6fZU9yIO-qdS_lDHBV-d"; e_upip="AcKY3nOW4rffWvbx0NqSjTgYcHgzes6taIehvh1dcvzJOxMcmsjb61a-PYIGxFTocPcvrUfA9JYeOUujX8kPfic14WZMei-ur8w"; e_fb_requestsequencenumber="AcK171qjHXLMJ2DCTtplq_xsM2rzkJQrZjVB-WAkw0GFDQ3ZDwO-l156IKJqdQ"; e_fb_hostheader="AcIQFxvjA2HvqXyKeJrZPt9mHXXecxvagHC1Sx4y7Z4t4XFDzZIJJULHyuPqAoP_0_91rs2Qp7o-OzsI"; e_fb_vipaddr="AcIK-6vkHfDPW3HY6tfBhoyIKMC_bayu8RZLB2cP9pCUoPm3_n0tXa6b8aicyYUrJM2lb6ukn6u2y1QxEbHvzdlZ69p1H7GH5g"; e_fb_requesthandler="AcKXgN3TXwAWGjiK53IffET8AL7DjSb_cOKQujM2l3ZHJQfvWwA7POJDgon4pFwqCtyqn4rkVqw"; e_fb_requesttime="AcI_HaHBO_z0OdIu9ugVkPTL32WzW_2wqJYKZCtqmrdOjQniAISSd55e0LcabQOGP7cFvfp2yQ"; e_fb_builduser="AcLS1TY8RyoBDuSmEc8OlQ5VACMNOu-OHHGmYJdhQdFePVYXh7BpYdQ3q-Tdg7tUHYg"; e_fb_httpversion="AcJJUKWx_SN67ZNfoYRNFkxJfx1setV-iqDrfM5mq_FRBQ-hcfKvmtmp7ky7"; e_fb_binaryversion="AcJJkKVE5p5rOQqTFHesgOqzSUgnGzpJ1YLZKvURq3ylt-KDvHOnag1us2ZZjF_vVJRfsD40tTb96jhHWZ2QEICAM62j-wC7Wy4"; e_proxy="AcIE6tonySiML-YE9smxrRZYSsVOjUwLumUZVgt_MqlkHWOe8k7xePE5iSpYwG_trX1dv2iJ_5rhmqcXUz13", http_request_error; e_fb_configversion="AcKfzcugFx8skfnJsNKxy46uQerKYrRSzrEiUsZVcfxr6R7wpuOY4bBFZmsR2Q"; e_clientaddr="AcIF6IPUypq4NHOKRvi4ATUkjdKimPZ-UzZnRHiTMZVomo6OQyWlhKdu6Yg9TZozwZfrQD_-XCkwGUi_Bw"; e_fb_vipport="AcJEZ1yrFcRjib1EMTuhOkH1U2jZhcHMOSnXKMRoZI3LatLkWC_zAPlMAmx5"; e_upip="AcJRDUHZqLPsYLdJVX4GJ9bPUuCM3gjuYdkJSlAnKirFpH-zIxTn4xcTsDllb9qcqRCx3ConWNFhQNwWVUv6u_xvRfund_7Ekg"; e_fb_requestsequencenumber="AcLl6u3XTIUO1xI3s84jusWIMrsUXDACIRQKW8RD54saY6ZfiNAZZP9whg"; e_fb_hostheader="AcK2W7xb0M9P2IPKIEP2ZoenKWtmpolbS6PbrJfXRaLLdAcs8n8LH1bMXDKNvhKTNRFFNDsPBH6rnMbv"; e_fb_vipaddr="AcJCDKxa3FjeND4jNW_8wPvBNVBmCX1gE0Rdx30g5ssA7_UzLWJjA7nVJmdGDVeeXYuK2m4rBQ"; e_fb_requesthandler="AcJCAvY0Ns4wN_efAcorrTFBDmebmehOIJme-Ztg-VgP9Kws0nh0Lham3AUNNlaJ_DwdcUg09Fs"; e_fb_requesttime="AcLXPm-ZWcL6qAGTTEQvFwKJ-yKPsWPKtvT5dqOlziqQn9jaLNR-7Wj5wITZX2uWnvCBuIRWRQ"; e_fb_builduser="AcISa0Lt543n6LQM11wSXtnkUKlgE99SOeZXYOCL8HqSYL94IxgAhoITjLpxkouy6U4"; e_fb_httpversion="AcKuhBxtIuUDN3QsrGqmqBa0rwty_VXdOffWvoO2rdYbyAriacIuMbt2O4Jp"; e_fb_binaryversion="AcLoPQNt8TB3PIjEb_AUwyCkInveC6uXm7gxHsYV-3woCjtiy7LHvN8fbiqcPvUElt_2VLpdg2cyOukcUW0Ng9qemWno1gEGZw8"; e_proxy="AcJ_TZKSSXJgAlTYJaz5cbwbDlVg97JSpHn9Rg-TKMqypYSgsZXt6kTPVr282SJfFkVEJpsA0YuggiI"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=132, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6706609459439297?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6706609459439297?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6706609459439297?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 13:10:32: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/24/2024 13:10:32: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/24/2024 13:10:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14023726, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuvrEBh_iFrF7yytAJAiJOd', 'x-fb-trace-id': 'GsjxObkp+9R', 'x-fb-rev': '1012276057', 'x-fb-debug': 'TJOIq/9qT+3d48vN/i43MwX4I9jH2B+g1wif5dZFxLWpp6P9vi8ybQcS3nHV8SAfA1JEtqiYjQs6ajd9hQKPfA==', date: 'Sun, 24 Mar 2024 13:10:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJKVHk-m-0QXQmKoYAjXfdmQQlT6BgMeky9sMVc_P-bNqKvKKxOEm9U-750Qg"; e_clientaddr="AcJy2b6dxmb-H9nl02f7d8aIATOBTQmfkjyjTbizeGrU-B6gVnPygNPCOasX9HAFD2p9VbLjWNNs4e_m96f1jLcS4V3e9NzQ76p8GReMvADXx_UjuA"; e_fb_vipport="AcIjbugNLhpJ_WPSmyo6bwA6QlU_3l7Jgztny7_RQ-LpbOrm-qFsc3lzWh2-"; e_upip="AcIJTzFf8XEkFBe7M1QsCb8kP4y69AgIqFKDDANj_-1BnApLEgGr8J7eemSGVvAM9MqqKcjTedWrwe3xDQIaoYOncQgCIppYVmI"; e_fb_requestsequencenumber="AcL87B6PK8w4cIUovjybCim7a190jI9gB76Q2se1e9ijjrxprsuLqtYbtaU"; e_fb_hostheader="AcJziLhf6Wp2sruxgLvzEckI9-5b_LCuR3r0k0w7wPkSODoLYu5nO8m5NBDtg1iX9nj6mg2ERbm7tH8T"; e_fb_vipaddr="AcL4ZAMiduvhGCpYSdl-45NjWj0pNNPhhjP4qivSZkZQKvnQC1KPP6JSYSe6FdcnpqJxT1-KV1oRHY3q52JSu8LMknwLTxU-wg"; e_fb_requesthandler="AcJZq95z6ba3o99WEggSz2hp0Vsae5KglM_4a1ifMIACzfGAJFDatkUreu3uoYMH9jDqVj67M7E"; e_fb_requesttime="AcI3VHOAc_3CRM7rH2pn0iJ3N6lU9ntNKEDME2PfLUImlAQ9zb9zbX4pxGDB-ajDWDWTjttEoA"; e_fb_builduser="AcLxMtJS4nG6fF38tgAl1gGHrOXcvgkmv7IY-t18fx_Y1aXu5fxAnxLbCieq-G-VWj4"; e_fb_httpversion="AcJYkFpf02nrXKK6Kd7Ikfhb-6HCWOF9F9KQ_yP9Bhmq28meAjggQlZN23sB"; e_fb_binaryversion="AcL4d_kP3CEfRR5WDZmrf71TClf3GgoSx8P8g0cQfG8CXoUcFjHoulefgvabTIwb-rAK6-sAKn8xRsioetAzFfGMEP0cDyuTG-s"; e_proxy="AcJHNas0ap2PyiJ683kDmAbkjuftQ-uuvL1ERGIriijPq1wFz19YjCxr6ErwlTAC4ZGi7buSzfyZSLquy1FT", http_request_error; e_fb_configversion="AcLYsXy2dL3skX3qMYcPcIFn4Na5egqIs63ohfl4ulohPCdjsC0f-k6z9pkRWw"; e_clientaddr="AcJ3YN2LvpD4ch2S6SM5PzJjsUEKLEHqS0dGB99Pr9r-CteApUjQOfC9uN5opChb6K5xrI6It5QuE0E4FQ"; e_fb_vipport="AcLSVwAPE_dmBSI71FPCdTBzHi4TNebiXK1Zzs_vGluNOPbV0kH52QGk_-iM"; e_upip="AcLJ3qOY3JuEkzbSoySJhL2RFORSw1qyYCshlbICJErWApGulxvWtCNE2g7uXP-FgwXMyIWXZQa1zEnWDfOQgu2W7aPLQpyqdg"; e_fb_requestsequencenumber="AcJytQrtH37DIDeMqeF89fh7l2c79soIgJ2KenfaCr6ioEZnhekjDa2DoQ"; e_fb_hostheader="AcL4x4XYA4zM7sceQkGBw2VMhDeWG_0OGce1OuB3s7AojwMcdKbGxi6068RoS93-YGjuQjSTWnU5awqY"; e_fb_vipaddr="AcLrnQWV0WXzB4Qq5jDmCvhBx_o7YetDyFabivawJHZmo2PeBBYox1x-vZqTmSBpVqfYLo7nSg"; e_fb_requesthandler="AcJWp5IzvhyZgNc5Dd2Euk8aJb_jmfTLyCylFX5qW_X984DXQeOxNbZgnjaREo1_vIvirMzcumQ"; e_fb_requesttime="AcIPypIufhwyeatxtCTBSKnmicex2sERtBoHLwhxU5KMq3CYAK-6vjQJXDzmE7ek-wzntFXbmA"; e_fb_builduser="AcL1aU_XrMYQaPmUCMqM4giZ9PiIRtDoenbfV9I1OO0F2W4b0bsHLGpmghVPTBvuybI"; e_fb_httpversion="AcL5hvRDbO6yYSlDt77U5K8ewciyABeD6s4h3DFHb0jLM8t6C66ZzmXQ9p2f"; e_fb_binaryversion="AcIWFq7LY6qtt9-DjExZaR-jFyl2Ek9i6Va4WJJJsjQbF_smVNG09MisQar5GTlqYJYqNgWqZyk5sR6oadI5Iuho9enIrQCiKx8"; e_proxy="AcLbX4t_3mN7mYnrS6bQkIDoaA5qJpxypD2vviWq85eVic1AZLEgOsLn4t-Ev4d2ojkAaYfgoLAI6ZX4"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=99, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 13:10:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:10:34: Error on send one message facebookId => 6706609459439297 03/24/2024 13:10:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGZQJBv0qlmUhEXMgjgc8bi" } } 03/24/2024 13:10:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/24/2024 13:10:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14023809, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5gzR6Nm09wTAwwHmm2eH-i', 'x-fb-trace-id': 'Ewqt9X4T4lU', 'x-fb-rev': '1012276057', 'x-fb-debug': 'E2TURhtOm1L5nEHHiND8XmHKarcg5X3t9gMnmQq75wXmwTjxgwS38Pkn3NSac2b+0meeEltrMo6eY2j3JcpYsw==', date: 'Sun, 24 Mar 2024 13:10:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIywQt2QmoANrPE_mKKAXGUyVJf1aU8Y9QEaPQ15VnmIqmlULqEzrTjXT1zvQ"; e_clientaddr="AcIjVGTmvJ-DfikpKMPPaf_Rry7z4DVCyYH2y1N3Y-B2nmVOatM_HSt7TIi7eUE9M0yA7kvmStV35ZicOBBkGeMG72gXC6WtLgKkGLJL5tttV1UW3A"; e_fb_vipport="AcIBFJW7OSDNNmM_hAGafTmd_-OwoyFKHCB5-TxriT130dMdtECQ4XKxdMlT"; e_upip="AcKZiOvj7b9sikbQng8J1eM4As0gqUZlchVMFMHHNr_Bd3p2t06NEqhymJvoWo8GMajLv5tJHU2SreKoQ18FPrzM0M1ssXY50F0"; e_fb_requestsequencenumber="AcJ1PCFYJTjuDYlEljsoLrDgcwe0302xLQsUjT4CZhZWlTax1DEmXl4pDN58"; e_fb_hostheader="AcK_kXSTSkpG45ADIeHe_vIs8iMFk3XXuz8UeD9xuKDnSjvcID96RIhxvV4YcA2dzeBpaWY_bt2jY2SK"; e_fb_vipaddr="AcIzBskbSeiu2fiU3BShNCMlLojt0Olb1V5VVhyl1C9BKnjKGQor1C_DJLGtDllO-cmABks3HARDROBnaP79jaut7K9MaDaHng"; e_fb_requesthandler="AcKV028EoMrNVtiu8siP6_6FKSotznW6MuCpx6dmNawHB65JORgnUzfpchcxb8mrQWtCj_q_SQE"; e_fb_requesttime="AcJL7lsJVpStLY-1lmslpoM0d2gP9ZEwQCeFidLHH-fzo8kIjGyBVtCBDcNCpCYBdAdLEFR7vA"; e_fb_builduser="AcIfEpXQzUlrotDz6gLkKTmWXeAHiKOmdFa4_JVq7HDYRdRJsM-6oMktk_d8ZtRukEA"; e_fb_httpversion="AcKBPurEP_OGBs8l0okdLTu_FjR8BAtnxi3Ndt6XDjK0qB3pvb6Db0JoWLLH"; e_fb_binaryversion="AcK17gctdpfCIyBGEP6P58KLoyPuTH35l4tQlaAgOngFDaRNKDtYMiUsWwso_xJRdB3lJ4iFtDUPYId9uR9u1kWYDfi2xI4TfKA"; e_proxy="AcL2IJ9ZAJ7w0nRV-I8IOha0DmhPO6U5dhZXQjwHEBqJgG1DehI-n_Fc8sp8Q4DC3cQG-7h_U2fVprMcFriy", http_request_error; e_fb_configversion="AcJuLgPfQ3ww-qb-QEUSnR7CHvHpxoQDqNUO_l4kw5JEnZs7Jg_iUG-TkxO2Og"; e_clientaddr="AcJYL3G55iVblPG_8nU1du-JhAefCJukE4yoD1cK7iAeCgU3stL8_Gj77dvZFEecRratcoJL0b_2AyUGcQ"; e_fb_vipport="AcKXlsxjk5C6_Mkaf8ynLcN4YQZygUai5l8R2866mCjy0KdNgv_-gg3azJhk"; e_upip="AcJBU7bM6rOS93dcsVXL3_fygpx0ISbzKgzMmbBgGz7n9W0_B3Y1auJrdXhPNdL0FvNZptaqzmp5lSYG7WXK2sStn53yNHYleA"; e_fb_requestsequencenumber="AcIWTHQY0U10ZouxhuCjWg_-1JRlNXo2yOOfcOvqwp5rP4fdjUk6YbibAA"; e_fb_hostheader="AcK8-5GITvt9Qf6V0hcdsaPBIcS_QGtYfzn4n8JJ-_DhLgIi-HYd4IefAdj2QEa_K1QbRPIuf8DeI7cv"; e_fb_vipaddr="AcJGgnfWHG-cKEQTmW8RxbhwYqn_4hHUclKa_-Cd0DeeWS2CbY9kETfTLWwnDDcFIEUcPiyy5w"; e_fb_requesthandler="AcJDz7WYkKDozMJ3o5ALh_FOCxQQHCjmqELR3tT_blkJ_7I1V7LmxF0FnmH26-dRpx0457kt1k8"; e_fb_requesttime="AcKg4_2x2-76AIMdK0arvPpGJU3PCkbypC-zmLINUlfP7K9tHDt6SWKhbV95v7CpcJy-109UJg"; e_fb_builduser="AcK6FR-c1fWWK4kK-a6CFpeCCJK7wy3qxVQflXfTk2VncJfRyvc_JY34BCWYNPhhhkA"; e_fb_httpversion="AcJ4ntP3zjCvCCH3sLU-tU0y7OCH4MEISQNW299ueDE6K-KvDmCOHLB8o2if"; e_fb_binaryversion="AcL8iDshq0eZSZSOeR3zmRl9OM3GgeD_yCBqgNo5PyFgDpLIIu63S-nnNgCV3svGkYmOD9YwIQ7eakRNbLIpbenOUteesytQtsY"; e_proxy="AcLID8An2EIIu6aZnal9zjiMMZK8iSXgXWZT3GB9TmhiWVS33hl2JbOm-N8kP4yEdYI-GFBHo3WDlgw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=102, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 13:10:37: Error on send one message facebookId => 6706609459439297 03/24/2024 13:10:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A_nnPI2vjt1ONHecDLu0qZ8" } } 03/24/2024 13:10:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/24/2024 13:10:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 13:10:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14023950, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AfBwdrdRrXSTMXmAxI24QVG', 'x-fb-trace-id': 'F2eqkCEoPBu', 'x-fb-rev': '1012276057', 'x-fb-debug': '/qlDFJvQoO+iwBOQXHa4DSL3Z5MSudpQjFad8meqqP818HtNSg/sEcYl11qyRXki7dW/bb731hIwcp6VNWDB3A==', date: 'Sun, 24 Mar 2024 13:10:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIzfCGk_6_g1m1J_Kh6qDC_6QUvm2XY4tcUHje9NvzG_3f6FFfTYWpMh0b2ag"; e_clientaddr="AcLkdNQIjXUpL7eq1zcWYcHKxCqClu6KBuNCivekb7oKyOAJe9hFRt14agcdlKl0h60n4fgien6BPZFPhP_EnuxwPCXS8meYf2RcfdkSzYt2S0AHqg"; e_fb_vipport="AcI_ZWLIrxzIeDcr2imOtWKQCg5WUL1cccQQXoQlRe8zKzKNmJeP_oxNSd7k"; e_upip="AcIEtDkzaUp16Pu913ute1JZbMWUkpMppIsFpgphGo6QFiR-0dJAtKcjx-dNOA7f1EegB6DMJ4V7tC_sBXN43GmPZ4EmuqH66A"; e_fb_requestsequencenumber="AcK4gYuoh0DKTlZ71Haw7Swe1UXXde8QuOANf49gNcS7dimRG8Q5htLsDlYwoQ"; e_fb_hostheader="AcJQvzspkxzZSKBGiiXnWi7_CvPeVoN261vZZlNUicYvpjUDTRfwMd4-yq32gQeCBsUIDOVqB0ZPuhL3"; e_fb_vipaddr="AcLVpTSSjwVNFGlHv14_GlX789bZTYfT6ME7idz-vi_Rd2q0DC-owBcRintiq3DS0YlQkC0LdbllVl9h1gcSz0mWlkfEYc_4uw"; e_fb_requesthandler="AcKFD6GQjy1l6OZsRk7jaGtvu_QcH33n4oB-1RGmkg-hdL4aZfNxAQEcHHrwbStbr6EVdLl4RO8"; e_fb_requesttime="AcLDc8i-dp-sz_jz7iQtHbOyglfY_-hg37fnh4zaqRo8XiQ_Bn8f2fMuAVaExSLk47V1nwoT0g"; e_fb_builduser="AcJYf5AHhJAWOkFPKQqStl9hkGgZYybBiCN8HyCLhGFxVaQO0KfTwMPXYCR6NqYw5qQ"; e_fb_httpversion="AcJxG1DwC5HnS0Mqg3_xJ8CzufyQP5ePH5tgCYkdgT2oZYytKRo1rHJ_MxMC"; e_fb_binaryversion="AcLP0FOSFYQwMINe97XXcfJ20svvfyeDJyNZO-1LJSgJxN48pS1bJI0WQK4ofj_bGWdN3Z9tNcQ3hKOO8snb_QfLVNoVd1pS6PE"; e_proxy="AcLAm9d8yUjJKOkiUwr_1OA4ggPI-STGCzEjSgXNXqf2jk__aaWpely_EkNsfS-w3WpvVHusVkChJNhqQ7bH", http_request_error; e_fb_configversion="AcJSIOIRP-DHOeoQGPH9iDvacxisoHDmzTD0CqOcBVrNRnF0gGIUbuMtCwY-_A"; e_clientaddr="AcKVGgsdmN_gwN-18ON8JuIq-FMjImdHGK9RnUgeL5hIUIjQub6r0neWmHythMQn4KAfqjGtbWwhpdlTEw"; e_fb_vipport="AcKq8cDhnGCFTsHVJFqKzHR9qHFkHe2UxfKhXABKMiyidUgDyq9_SX8EyVlg"; e_upip="AcJGdtB-gFP4NqV4tMigVbVPMKj3YCZSDfU5iBGaydYBXRTAcsQ3leQYR05N6k532_8Y1QNfnZYkn7P725cr_aAWGhJ2UAIAjQ"; e_fb_requestsequencenumber="AcKL4Mzi8dwHSNbKj8bLVG99Z9KfpMUqqzg_J9f_T4e7wvdCo5LhjYovug"; e_fb_hostheader="AcIgf0ldaEnxk8cI1-RdjyYng6KF-be8ts4MuDQ9XRZXy0yVZOnCGac2JLyBL1Fg7PCtZz7Kz01WPELO"; e_fb_vipaddr="AcKfcbu78GLpwEFdcZfm1Z2mIQYXFP_q0Mwyopdy9sXEfkiX9DCLukTiXmZ91yqGggQZdK7FdA"; e_fb_requesthandler="AcIWbeNScGYxbbvX62hsc-bpiBYovStdgWQdew1bqlFA5NbUpU-xk7hnSQlA_5X63QBZ1vqaNIc"; e_fb_requesttime="AcK4XAwJ3kE7M9ZjojGW4AXx3FdkW4trGOPHC2W-eyLjXA6-K4toCd0Iattrl7ejZEo-EHZN_A"; e_fb_builduser="AcKHc-Q-BrsKrVFleLU0gu2VpiuwbQ1gg616_lbOigXXv1qoWNJvPpV6cxVJOGf5MNE"; e_fb_httpversion="AcKzu8ERVonn2pyQrSRrm2tymtCVXQlyjfSbUEfy6TvaB3hmTGUBevqM7yhO"; e_fb_binaryversion="AcJD3xJlGWW4c8TSwE2it2IT1vu-ErJJVQLnSG1Owx4q-GqBx4h_0JGyZkdrNobZO89DHTVAPayC32GcoRY1qXbc9BawM9XIm-Q"; e_proxy="AcJfRml1LolZ0HAH4x1pzSKdTjGtcVRwDU65S4Lq1a4RtmBXeq6V7BlcWgNEtdAwRswdSnwyqJF6opk"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=101, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 13:11:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:11:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14024236, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhoNJjbrFE4BO-s4oNEjow4', 'x-fb-trace-id': 'HQCIKId/Ujy', 'x-fb-rev': '1012276057', 'x-fb-debug': 'z66e8/la5UoKLZ4xGr2M+6XSRR0RO5toZZKjczgV7TXN0dmD03OVweg0C1m8IdmediIFLexjZRcSaId3oo6J6Q==', date: 'Sun, 24 Mar 2024 13:11:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKXZCiy777uEZ3u8iH45UI8d0rB_NfhsO-Qwa6lEDI9zczDOz0jSxs3ASmHiw"; e_clientaddr="AcKRFsV0XVUR9C8MdETTb92FCSHUHRILV85Cmynehvm7qRiMFVpwIYnSgV8vALuaN-MwDb1vYgRldzdnuwioytbi0kc7av6iMxDC4OqgE7i7MGctdA"; e_fb_vipport="AcIoZmwNV_zJ-Mhb-wnR0Xs9PGR6otiK0lUZu3sD5ODTNznCwq9XnGxQDI5D"; e_upip="AcIEaItwHAIfdwwmj7Y9fQU92As0rG7IO-4GCI-d0tDKrSjT1t-WN3VErirFXSuItFs1DURLP7SY5IogC0cMMzC37hw61FUyziE"; e_fb_requestsequencenumber="AcJ7qQiy7GgbxkUA094kc_xVFk1lskAV-qfnlYPIV9YJt4po6bjDdnZoHLwWJA"; e_fb_hostheader="AcInyzXFISpH1flTKLikPEE5Qzop3NqGjPJ7ws2xB-dxdFoVkGV-dido0YcecYkpJCUyfS35NVhsLQhe"; e_fb_vipaddr="AcILhlxMNiobrdpYIz_-IGc2C16WydWyMiSWB1J2MYmJiVQzgdY6g_Sh9QM5hm49VDRkwGBToHtQo-8CAAYHYdxoKGH3xzqiyQ"; e_fb_requesthandler="AcLiabJ3nKjP6F4ZNvSbmI4ZinweffA2aymcZQ82zqWny1IHgtb6aXp88gigfKFRZxOpffUzb6w"; e_fb_requesttime="AcL1RkOAh24cjhqvOhrKQjlFZ3eQE7JqhLmlCBVNZVnF6kn7vKNdm2qWbiG24pJTpMqHMD6dAg"; e_fb_builduser="AcLc3ZsesIyR44ldhiN4rTP0O_aiqrHcm5G98CuCDSB-cW5POW4BaQhbAll4mTHJrSE"; e_fb_httpversion="AcKVlHpyfaZpAHjidZslP_Qk5mmTDZvWSuOsram5QTCNV2LlwTcaY-05ZQqn"; e_fb_binaryversion="AcIIQtnak2yJRDg1_SRgxWhNGh06a_oQ0e7UpDv6t3dbG52MOnDTwHu6XjDkKVA44biZZjR-KhsrfTld3SyIN1Hzae5v-Vtedbw"; e_proxy="AcJ6JI4tLc-XJzeUZcg_p-VGVUZwlcoQj8IeFgHo_yw-nujTDxAp0JhfV3RjNhqLvTmwgNRVCxDepV5qhy0v", http_request_error; e_fb_configversion="AcIwgMcPOBbIT0Pu94N8BRlFxxd1-AfLOtIOHaWfZgCxlJmm48opIrbYrH5pnw"; e_clientaddr="AcKpaJjuhTf2N_M44MmcOcbApIJjRB3NTeiW23iNqKNERs51Qsc62E6xZ0Vq78GFmJCVvfCiYOernhh5kg"; e_fb_vipport="AcKE0L6dyEp27jzJkey_Ia8Flmtm5O74s3J__6zbUxLSmmWU3YyIlq2D4Kq9"; e_upip="AcIMVcsFpvViIpuQ4mrFpPQzOKM8IpMTxlhdSAuqjERh0EIICvI6KZaOefolYAnPi7jmA-BCBukw8nO5y4mn27P7418dGsQ5ug"; e_fb_requestsequencenumber="AcIVfh9P_WtahseOSc-FTFaU8vm3h80AP-1nqMFoEOh-iXfI-c0MOR9Nnw"; e_fb_hostheader="AcLGy5_6Y2OKlE52pCZDj_6Pf2IWYovooszF__D_WrjIXLZn4j271vokzxKEFvo4tUZPb-xf56eOTbFa"; e_fb_vipaddr="AcLed5I0myZWFokvdS2BAXxwv2PHD92xDq-mZWkcbYPnEcnCHp7ajQv8ifs-W9dYsvviU_aExQ"; e_fb_requesthandler="AcIg7V2h0JQ_4-dgmXXqmC3U218-LsUAKwOC5sn00yTz4XwE74mdNjqJjIN89oHgEVp5INos9PM"; e_fb_requesttime="AcI77qFlpFQg-TufcO1LCWhtjV7qXKYR-VyrTWGLTfV1A2ucRe5vtbvq10yCMPgzE0VDfINsZg"; e_fb_builduser="AcLmTywNK7zIQna-PnXngJsVyrZ2U8azC2IsFvSb1iIU7WrFFUfm8kb2RV5QKm_rNBs"; e_fb_httpversion="AcIgRPSUWrmJaPcsH8RZPRSb8NV2NZtbimosNEuurIkVCoHJjZbNzUUWBjI0"; e_fb_binaryversion="AcLiL8FynVsu14UgbJqcmvvjEJJlqLEcy4fMK1s7HEsdc-I0jBQPh77xBZo-dXsDxj2DwJ0EDsYzvKS7IiZvf6M_x5i32GVBKRI"; e_proxy="AcKNh8iEIMC3MiWRDJ0e1pdxF98KMGrsHIJmxUNwX6eT5UXji9oWfO3cXm7-24UgazY_auAk2UKazQE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=190, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 13:11:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:11:15: Error on send one message facebookId => 6706609459439297 03/24/2024 13:11:15: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AyViigzeGSrDJdA-7XTaRnO" } } 03/24/2024 13:11:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 13:11:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14024377, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ApjN448BU0zbfAd9V50Ix2z', 'x-fb-trace-id': 'C0o86Xa+ly/', 'x-fb-rev': '1012276057', 'x-fb-debug': 'E0HarI3T4K+AFG+f/j4yPgmNHw1jrx4cEBR0KaBahS8txw0wuWxao0a1SAvJfdFrKQeqx2UgjTWKEu5rL8E5Cw==', date: 'Sun, 24 Mar 2024 13:11:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKKwGXUBteklq0P-FV0fy1P-ucbToQeX7YjCRn-L-_aUhqtTPuuCQkunzA81g"; e_clientaddr="AcKjX5hXw8ig5TqbVyKQ6aksmoS1xjph_Ss36m6EH9p5511OC-gjMTGmZHYni9AyWEzwJYvfLBNZ1IBiOmnP_BJMnNsAxrpjwa1Mmt574QEefKBeoQ"; e_fb_vipport="AcIpUMFieZh1X7hNc0sMjwaA7kmbKPpWb94hDR6Y6dBEWDyZMlQGpvGR6h1y"; e_upip="AcKCO19GLz382DN8g-aWhjJcC7urvC4V-qSVJOyWVTnvnCuW2GdCss5G-YQ_bcGpUc-c9e8LH3z5gHJPYbZLFnAFn2iiest5hJw"; e_fb_requestsequencenumber="AcLFB1lIV_IHwyCykaYtYiIaCqu_iVr9UT68wZOW4PavMU_QT497f3QvhD7gUA"; e_fb_hostheader="AcIrq194E6-n5ATI6MeLM7yBCtnNMNLt7WgMgSG7_Z_oH5wZ1ONKtIujkHv5o2YwizwbC_m6WJVtDuGE"; e_fb_vipaddr="AcJ5SBWP4ejXH9UYPnsN4Eyp3XjjOoL3KMHl76VTWpwqtsYUx10f7ObaW0G-VT3-3c60-V0s0VG4ITHoaFAgq7PJ5ottMMLFDA"; e_fb_requesthandler="AcJuu3MYz_3OJuJmequLyMEhbZ8vZZ9rgmYhP8toFC-XfuGJEZ6q8miZkzzTMMX1I9ulY5kTlT4"; e_fb_requesttime="AcICHsEfpFUhrh_wuuxOnUoE9dysyauqUUJKtmJafH-yDW2ezKTxK6Mzy05QMQ8fRIVLcxuRnA"; e_fb_builduser="AcIM3j667OKB8kJmqswquiYo5zW9g7Erb3wLlatUTVk4T-m-PV_OGJ9P7IUMcOb1Zx0"; e_fb_httpversion="AcJd-3-gFWPSKNgCsJISkH-2lcjsxk96-IQEdz1O0iXMzNti-mjIrA_oJGIY"; e_fb_binaryversion="AcKK3TyqlcinR4UTRz8juoKW6JvBJXRRQlaZJOnCeWyvVt3HJ5i6AIw23VvI30RovFC8ZlOJxw-HFiQjnPsZd4oAC9jCVjxQ5ws"; e_proxy="AcI-dKVDygmy1NLUuDMMoWehvvDkkvx6ZG1hTRNoSZpawlYO1DTSYaG1IWRV-j_Qkvgu_9n3F9v7fMoZVS9E", http_request_error; e_fb_configversion="AcLGKWtJxAUxFVHT-F_kM_Xap_hbIRPr6m6Lc9CO_2BEVPZDjBdrbK-UK594Iw"; e_clientaddr="AcJ5mGL-LqwTIMeFl9riWFfJYNbwpm4qREZflaC_ikcxaSJliUUmbFCxSDEQYA4RRO6YFrKYW7Mue1nm9A"; e_fb_vipport="AcL1xFDqzVqC7WzHn5mNBMygSxyNjBZLMuF6OUuSOTomhpoiJAT2c9zj7fgb"; e_upip="AcJ1Ai8t1d1_74S3Ud-V7riPOHbN2ctmVwPjse4amFuQuopjL7caFpjFhhGgJxlU27zrCwlBjYr1uxoSxmmUlWNVj6bezyxbGQ"; e_fb_requestsequencenumber="AcIx-AG7vzwVNhTQX8__CKQFSYW2Sr43vVShB8dupFxKpHmiDl2SpK-YcQ"; e_fb_hostheader="AcLD1ADCa-v4c14ikIqDWO2lKlb239XoKqdMOKSANtNvfRPhswo2UTScmJ8T0xr4RVLEalQAGE5c12pH"; e_fb_vipaddr="AcJj-1h14QYF3uT1iXXV3PpXb6e3cFujStc3TTUtsGv_arng7HRMe1HraEjx8lObtK7q1fLVew"; e_fb_requesthandler="AcJ6FdUbExTTug8hMKTppd80nb27uYfEbFqBeqsTLSnc1jcaJC9D_AsRPTM1-7BZ-08ssS1ED4g"; e_fb_requesttime="AcJlLrDfe0qHdJdvsBrpFg77G1DDla813R-yDz07eeoA05SsxFGZeyxdwgSJjLe9tynUyQcGvw"; e_fb_builduser="AcIQ8HxwojY6IKGZc9CpqoG97l-YlUttVtpFDsssb8RMYvsX4a3SAaj9kfTckUtIroI"; e_fb_httpversion="AcJochUKZncN_-YaT5zdD45ATsqtlBYF1CI-WUzA-4tXnm4q0FlWTULCI1zR"; e_fb_binaryversion="AcJ3Jq0QXnwoHBRanNP_m0vycQRz5Xk3dtBtyAQFrDlq1rfJejUSu_ybM75I9WnhKFwhyECWWRoocxAQ47g6bsBRMVgE6xUbx-k"; e_proxy="AcL6097dMMLqpULxmpzSQXOF6fSgssarO7ng3ZXHRfog-LXk5MkORcxTJN9nL3JZ6_9TosoEhh_lC7s"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6706609459439297"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 13:11:52: Error on send one message facebookId => 6706609459439297 03/24/2024 13:11:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASPkWNpNWL_tUvZdXGaxuS6" } } 03/24/2024 13:11:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:11:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:11:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 13:13:11: Error on send one message facebookId => 6706609459439297 03/24/2024 13:13:11: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJncaZrqtpfyc20yPz5c3E9" } } 03/24/2024 13:13:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:13:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:13:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 13:15:25: Error on send one message facebookId => 6706609459439297 03/24/2024 13:15:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AVBlpNbYNpzcZ1XxDvKDQjk" } } 03/24/2024 13:15:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:15:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 13:15:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 15:10:43: Request bot not found: { id: '1067413796753652' } 03/24/2024 17:11:28: Error on send one message facebookId => 7352826668173315 03/24/2024 17:11:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ArUuIKp1_clXBQe7BcRuv5R" } } 03/24/2024 17:11:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 17:11:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 17:11:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 17:12:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 17:12:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14065792, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxZmTsSh5sUlZZkUmK3pixG', 'x-fb-trace-id': 'HlmIEKbDziN', 'x-fb-rev': '1012276621', 'x-fb-debug': '+h9X2n8guhQgGlZB4MxbI894UNNqUDJRH1Cj6OOnYwhELdPlE8I3F9IcELvU5aF9SxLpqpoLX3G4EoLbA0jTmg==', date: 'Sun, 24 Mar 2024 17:12:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK2GIqiauZq97eYSwn-VK6ZpQDJt3YnJdFM1BJmK_iP3N6mUrjFUpHt0q5L2A"; e_clientaddr="AcJg4pFBvAVkAxIeVaDXwiVrxoGL22r_gj7Fh9RYbh8wyxICWdqJ4lp4HlF8h1QCk4BMrrqLdNEITi35h7rWXifYzn2Kf_MoxqH0ZNaNezvivdlTJg"; e_fb_vipport="AcI0hHWZ1QixJVLhT4m8qAPlXE8393piiyfIkOUxPnB89Z0s0pCA8sdq4d7O"; e_upip="AcIOqWBYhV2lP3LkIAg1mFDm4_-TwHFnqCwi0AcsLg_QD-GZx7x9s22e89GJI_eirQzV0h5kjWbgQl4K6azxBwdNMd2H7FOe91A"; e_fb_requestsequencenumber="AcKcuzxCYCY5ay75eNSoVl-z8K1lDgGYPBpulI-cJ_hz805wnhPfub-3S5oV7g"; e_fb_hostheader="AcIxKF4GHGLysvZdTlmDD6yTuV7GxORw7oDPERpZ_DYseBMhSc-F_mwGa2wmHY_0gtzL5Rcfm1lrzykm"; e_fb_vipaddr="AcL3lJFW4mLNVmqZdZo3KwnTp78gSjMedZQ01HUBcumnPW0IWcV8ZtVD1Gw38eJAjnBSSD3yoksl8p4FHSHFVw5_-0k6gxcWXA"; e_fb_requesthandler="AcKKs7rvYmwN8JnUMyHdqoYzP4n4VV2ttjb_UhX_CHxUmzXYmsLyX_SYTO_7z1hllM4nmScFWyM"; e_fb_requesttime="AcImPa6TCxtK1ccMbVtPZy5h8ITgb4l4gU8apGnTfFgxjiarnEkYizDmwT_KHv3Wx24_pg2XzQ"; e_fb_builduser="AcIYerHsUX1xwKOm7W_sCNdlAXiyA8qco3vlseyuohbziFUdGs3KI2QI52iSOU8JhNw"; e_fb_httpversion="AcJzOpMR9rX_KaBqo-V3pzdca3JDWEAki1WsnDCceSezqX4R9AqyaEGJ_71J"; e_fb_binaryversion="AcLDmN_yGZUTBDDyqiUC13ea5f09xNjzBsONoMqIBtVVpkkvE-HpA47IDMBgUh_jiDDe9NqxIZ1irrvpTVenrmyosWKC789RfZM"; e_proxy="AcJoh6EdhfbpZPcesGySaDSgB4Xq-hmsVGg54OjM3pwtW9PJRI1SDb-IFF7KVRgq8SgkXx9IWOWUFDG_yO71", http_request_error; e_fb_configversion="AcKeajzIHtvezRC6ofO-o9eUtrTjRQ0lMXhHaeDfFmYJojbzNKJ5AUJLmruM_w"; e_clientaddr="AcJN80spkUAOKUjqHfJCCdPZrAV74DCGGZwageVNWHk6xJnKq61E-k-qYwkARVBmCuxZ4lr7ubcoFVbJiw"; e_fb_vipport="AcJylPBvcqbeibufX95XXA9CcBTcTnylLI8oqrTvuwXyMSZeI059U3b7BhhD"; e_upip="AcKqLEHZ7bxYhFimOFYql32nYPVIDnZ2ikmcqhwWJAK8kYu_9N5xd2ZLbK9Syr4UyDyPSlom4HvUcat0kobqwAd3lwBJH8NB2w"; e_fb_requestsequencenumber="AcJgF5UsnRdwiE7bkv0fQkvW1Bg1V4aQKFTOhMfT0MhXBc03YVYE8yqC5A"; e_fb_hostheader="AcJbkCu9IhDf0Ce6seu_THsIhI988RS5XLknnmEs14_YLIjupWqyAJkBukbKM4LlAqsMLqQxn32CQrF0"; e_fb_vipaddr="AcK6NOzi7d4hREptDgj51GJ2jo171SRF2P4LT_zlksgaOmADy0Pjqk9Bfqf2-MZUR8oXlcUWtg"; e_fb_requesthandler="AcKFQ2ijQ_C4nWDmkoEFER77XdbJG8rKBG7VHvHn5qoKS0uw-H2HoYOf9nzCAoLSy9x_Ny9H4aw"; e_fb_requesttime="AcJ-owAk8_kWjJJbCUgM3glSm9GSoD2oubNH8U3raRcYCFqTjgkDx4t4D0yVPIVl9_Cut9KGYQ"; e_fb_builduser="AcIZ2evwGXRDty9rPgLjRsTgae8zW5wIR8o0qyhn9pY0LxbXG23Ck7d9TSuV4jBUCHc"; e_fb_httpversion="AcJIlihpWomDDxjvzWXZ9yU5AZIS_1z5_TGW6gHDR34La92VIUJI1T1eUC96"; e_fb_binaryversion="AcKLVzEcK-FDJfSbQXJ2eLSiISKuQQScdrh78WhalDwQsENuP2rtQZI5j5hfw_D1UHzFFPsrzTqmefbMirFwqWtPW0uJOI5oImk"; e_proxy="AcIuOczkBJM_Cpv8qwsfhoApkrS2x8V-A80f_SP37T3_Y6f9TIPH5WoL5dLxMsga8710yvZ0ycPCZZo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 17:12:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 17:12:10: Error on send one message facebookId => 7352826668173315 03/24/2024 17:12:10: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A55iwFFhrsS1dLVN6L6RKOY" } } 03/24/2024 17:12:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 17:12:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14065955, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADiCjoJiLyHeNp1mS47C1Re', 'x-fb-trace-id': 'ABPX8kLoTYP', 'x-fb-rev': '1012276621', 'x-fb-debug': 'ppGjJEIx3+2Atrh+sFbG5/NGV5ZIpmvHwq2PVJu8v5xLSE2MscybviOuqIbxpIqE7essfE5YE921MPGU4siK0Q==', date: 'Sun, 24 Mar 2024 17:12:16 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIuK_GCtDyDKpbnU5ZM3tRzKsET_j-ZF_9SWVC7fecPVt5xxirCq4XSfnfLzw"; e_clientaddr="AcJumIfBg3lS76rHRat1QFxPCojefrg5x6jg-uzj71KcAlAJrlT5j3_MvHmLCLsbGzpCn-AHfl5xr5johzLsFU342DnmKpVIq_DNYH8M-qLAhbo"; e_fb_vipport="AcI-JKwuybfEeox2TQFPIhcZFzplwTTUvAA9SsMcJ3c1KPB8rCeFZxCiwqoQ"; e_upip="AcLM1ovWLti6o7YjQaHxw_MjrFE5PNrBdvh2iP4l30hxxXAh4rzyCvFcWPqBfENS5x-XBE5---bM0GsY_jqp8ubIr54H37OYCAY"; e_fb_requestsequencenumber="AcJj_mi4KEhxaes3yPv-DLy-cu2Wc5eP8Tue-3mD3SmgG_aEWHQ_4DyZ65Nr"; e_fb_hostheader="AcJvmm_keUWEGt7deC9kE8tFTjt0itAilTBfUQCQbTQK6pNkLx59YeH-NZLZFno7i9boecDgQ1nuCXsJ"; e_fb_vipaddr="AcKZ9bthaq8qEtCJlUT4Hizh8xj5ospk04ywXlMbAZpBHZDRFRWT9nUSfDUvxNwfmRlDFClla8uPJ1LXOGtfT_p7DNSmwfMBMQ"; e_fb_requesthandler="AcLFlnzq-0QTJm6HEp4KjPXGeZd4q5OzfyDPjIX_KtcM9x_1uCDjIudR6IQ6b3gcwSPdGWr8b3M"; e_fb_requesttime="AcJaOPEP3uH7ZuqqkG60ElISfqbjKwjnw8Kb12UDXC6qb4tIpyldGz3sa6E8wloOVevXZkGzBA"; e_fb_builduser="AcIIjxuGACroTEDJ7iRxon5iwG2qdul7xi0a5SnGkch6uXq9q21Efojdp-DgNFVTsgY"; e_fb_httpversion="AcLmRGs2k0j3T1sSH_Lw9EI58e9Yyobndrb-Xrydo-5qG7UBgfeTYc35LDpI"; e_fb_binaryversion="AcLmJZZeqSgbW_T0H3-XfuD6zU7WAWn0F7mrQA8usljpZOBDHSlF7z_xeUl52jLrU9j9rSn_qW4ZlR3JpZqYs2WUEReTlf_mcno"; e_proxy="AcLBiPsQoQT-PdfQfTEiscmxr7RRBKGx3avGbHMXxDa25ve60ODhnvakLPZnol4Ypameobcrf8gNReJnaabX", http_request_error; e_fb_configversion="AcL2etQVUzpB18YsMRJN6_S55cC3Oz7h3eLoh4C2fEXS8coGQ0RJexgZtIY_0Q"; e_clientaddr="AcKtA1KNL8DmAktaDXyMRLM_17tmT2rC4uUtdEFE_e32tBN5gvXDJ5jwyEwxDEk1vwg7E2wtkXr5Vjy_RQ"; e_fb_vipport="AcKtFonqyUEvK85uGP9h_YM5nBCLjlOSFh8say-YOqeU0YJtq0WewqA_6EFd"; e_upip="AcKVtz5BSiHQE1rNwd2ygKgA8OWUd0MpcLtEp821EeXdRR7qSxgZ4F-HPsfIdGiUfpYcsDiXE2eVnVAgyPQqmslMY29zt-J_oQ"; e_fb_requestsequencenumber="AcJ8lO_3eCLAbgQ5UKWnrGFXXulanNAB0QISXVy-v3FjPp4qzXqc65Fwpg"; e_fb_hostheader="AcLQbFsXh2X4dl72bx7N4pZuHnMRU8QY5uMOfEDkG1lIbnPcd5nE4PHlNL2qhwILjOpkK40zTHfTh8Yc"; e_fb_vipaddr="AcI2ka1STxONu2gKQaMgfe7Ei30xNBOiTTyZv5T8223DMvWIfvF_nwXMvTxBAeWMGSoA5Lvs3w"; e_fb_requesthandler="AcJ0HHNmD98LAm9Wz_sHvQrZqNuoKs0JsV_hOyUqUwk6Ih_moqirq50AfhEHnG9a0KRjMWgawGw"; e_fb_requesttime="AcJOkK5NRFB7VHrpKGaEbPGx-DbhcAcN0BQxi8wgVcGWtDKfAjkAbwmn72W23k15f1RPm538-Q"; e_fb_builduser="AcLLiJVquJrEPGQ1ucrzB7rVaxSr-g71zjJt9PPQoXYhp_j3D4_1yN5MO8j1fcMzImg"; e_fb_httpversion="AcKiQwK1htELhT0nZv12DTMje0EySGn5szaGSYbeBjbWypQIQ5MiIIzquxFy"; e_fb_binaryversion="AcJhJqEcz0D12FihHX-_75bPSdpkQhgJAXcfVl7cOhGX36g2I_F7vMo8dMaX-oyh4zMJVY8cwBoCzR9dqYorOxvnuleWEYE5RwQ"; e_proxy="AcJwQpnhpUfYIEtyUEJnfxIX0jmMjnLaoNVDk7h-aaG28s6rrg67gnfws_viHNBzEiuYTPa0DE8MTVA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7352826668173315"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 17:12:54: Request bot not found: { id: '215725838493727' } 03/24/2024 17:52:27: Request bot not found: { id: '1067413796753652' } 03/24/2024 19:17:07: Request bot not found: { id: '138868933458303' } 03/24/2024 19:17:39: Request bot not found: { id: '138868933458303' } 03/24/2024 19:18:10: Request bot not found: { id: '138868933458303' } 03/24/2024 19:18:21: Request bot not found: { id: '138868933458303' } 03/24/2024 19:18:48: Request bot not found: { id: '138868933458303' } 03/24/2024 19:19:01: Request bot not found: { id: '138868933458303' } 03/24/2024 19:19:18: Request bot not found: { id: '138868933458303' } 03/24/2024 19:20:17: Request bot not found: { id: '138868933458303' } 03/24/2024 19:22:04: Request bot not found: { id: '138868933458303' } 03/24/2024 19:22:15: Request bot not found: { id: '138868933458303' } 03/24/2024 19:22:46: Request bot not found: { id: '138868933458303' } 03/24/2024 19:22:57: Request bot not found: { id: '138868933458303' } 03/24/2024 19:23:29: Request bot not found: { id: '138868933458303' } 03/24/2024 19:25:09: Request bot not found: { id: '138868933458303' } 03/24/2024 19:39:32: Request bot not found: { id: '138868933458303' } 03/24/2024 19:40:06: Request bot not found: { id: '138868933458303' } 03/24/2024 19:41:02: Request bot not found: { id: '138868933458303' } 03/24/2024 19:41:35: Request bot not found: { id: '138868933458303' } 03/24/2024 19:41:58: Request bot not found: { id: '138868933458303' } 03/24/2024 19:43:41: Request bot not found: { id: '138868933458303' } 03/24/2024 19:44:49: Request bot not found: { id: '138868933458303' } 03/24/2024 19:49:53: Request bot not found: { id: '128159377280665' } 03/24/2024 21:51:44: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7410254429061344?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14113406, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7410254429061344?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7410254429061344?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7410254429061344?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7410254429061344?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ApKVm9iYksfMtaWe8fDTweB', 'x-fb-trace-id': 'BDMQzCQ5h33', 'x-fb-rev': '1012278246', 'x-fb-debug': 'ntnRnc7xFyPbC5PcXfimWvU8G8nGq8bjJJNScoF7oX+uWAvbjiJTFXh0eU+UTo/JWNqx1D6KLMLXgEySKhjoNg==', date: 'Sun, 24 Mar 2024 21:51:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIZQ0MPXJGIsii4gu9Ngxc3WyBXyKZVuI7Gpw0n6-xRYxnaz_AkaClohM77YA"; e_clientaddr="AcK9UKJXrY3AdDQGNKjDdZ7UpLchztbirvSn0ELVVefGGcHKtr6P20CjGUy1fY43Qo0IGdfTx7bOujDTGB9pM_9iynX6q24ZZyUJ_TH6FjYx6LDT4w"; e_fb_vipport="AcLrCX1J3AZY6xEYp0rMGS1jXHtezdy1sOGskuh1dXWsfXSOb1e6orNqn948"; e_upip="AcIxEDxOl9GfYNz5PrAxK1sRajOSxZ4-EKQepUFnjEaplPx-wh4X6v2_PO5_b0TQCF-ThM7tx55uBfSUEw94juRminrzWLrct7U"; e_fb_requestsequencenumber="AcJ_LXo8tfwIxH8C9pIMBE1b1IGOSLx7Rc2RiBuxh8QyMLY6TBIZ7S2iHq1F"; e_fb_hostheader="AcIAxL8hds4ypzJ7y1mTrkGe_ELlwjarcCDl2TFvqD3tReDIII30sowbcayvr6UNuQDiFHLUMZvQtmaG"; e_fb_vipaddr="AcKbS3N_EqsvRkKhWUiwtn6yUbhG4RSqHVFmJYz8frtOUnzMaKiScY0MmGbjX5b6pzpmX3rPektmS16zZPa8Y9oGpAV6UtKOOQ"; e_fb_requesthandler="AcIGp2khLmKQ27uYfU1FuCR0KKMCT1HLxjPUMeQjHCTu8UxlltymSxy--skWVUC_XYf0qvx2cww"; e_fb_requesttime="AcJyTX65dPpIiSLE7cGVEwzaUZMKVTRSnIOd_L-ZT8mWAFH4yrDHZFS-2ngY0sYmhIonkgby8g"; e_fb_builduser="AcLrLria67D0BaOc6uoYMem074ZLWjpHawZovkKHt9dvj80VG7hWwAZLkHlBFB2oUps"; e_fb_httpversion="AcKCzHvVd9bO1rYf25vb3splllAtz17FyJ9LVQbbr5x1plxko4nV5LBfVEY9"; e_fb_binaryversion="AcKr-JrN8-DdT19HOmknakxItzww5EKfxBlTOUiVkpq04_VWqWS-o4Qy_jQh2lLO1qafQqdI7foHf1pDGXpo1q8jxLGPf2EwaYQ"; e_proxy="AcJDe436c37MNKJt8kLenPhnpkhQejCHiKNLPwmRupwIaWMswn3Gmf2HQFV88i5gVoXrk7gYvu6hRnt8iOTH", http_request_error; e_fb_configversion="AcJiepnjXBQPUo280IHRCJqNHXc2VIlS4XN3aXApgA-YqHQp9-T3jiUDyB4zRw"; e_clientaddr="AcKQi7uOFrlTSYv4vedmzoSJF06m_5aJcbDaxoMCT96lruC2GPg6VKYlV8eJvv0A1Xo-ssFhNZd3A5G9CA"; e_fb_vipport="AcKSVeeZWg_1gMbkVCpbqnSy_XEsyvEpfOHowO5Ymln-dKJA9XGdAY0i2n9F"; e_upip="AcLTZUSgJ0O40SsoQVYp0S_CaMornn82dANsV7_oPd9SBR2P0l1JU0VKhuUbR4US_G-3KIjPcrwcfvHqkTGRp_oEwUUebgeLPA"; e_fb_requestsequencenumber="AcKfQ8h_Bpt-eFkKkRb_GlTKtISF1p1tpkp8K5UDgZz6jE90FcCbtigYrg"; e_fb_hostheader="AcJvcGZxy5wcrz8bl4FggC2fw-7QUCwo1BW1TZM6Jd0i7CxPf6yL9hh9QwS3K33hdXaOT7wZoa2ri1m2"; e_fb_vipaddr="AcKiBzvgVZsxcjf6rzgM4AcBvAqaMvbeUbjeMnToctWvtahUw5j5MD31qyS9MA5fx866SUs"; e_fb_requesthandler="AcIDzcLK2gDYF0WBTJBgxe0527Wiv0ZuB2xwo5sP8AJ89SVI2SbgTLIn9IDHYOTxfF6qwGvSxcg"; e_fb_requesttime="AcI1Kf8tPy9_FM1gpoU8Hb68HqW7IyuvlLKj3d34U1sYktjjsJxuWBYmwO1KTTS7H1tnWHeSJQ"; e_fb_builduser="AcKI5bMt7jOT8tbArCR_3YkotXs_fKfwRdN9gSIpVaeTzeZv8bhGu-CGoRyetfcgoMo"; e_fb_httpversion="AcLmtp5JJWjkuvowpNoHBgHQSpN8afV1ZiXqJg6dKKVle1UlLTrijYPBIQY6"; e_fb_binaryversion="AcI3najnjfcREAga4P-u0xo-dTz7xuYC4aMP4FM3u7tyA6Gj0n1unX8aWe4ivYLosM99NmlA-LRln_Pf9zJ-frcygVoS6kua-Cg"; e_proxy="AcJl3GSJj3nxCprRpmbyFGVWhpze3ZAbCtAHDudQArFl3AQ6JP1zcBuHX7FI2L3jtcChS8p2I12ZXmE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=325, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7410254429061344?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7410254429061344?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7410254429061344?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 21:51:44: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/24/2024 21:51:44: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/24/2024 21:51:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14113529, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Angi3eoohGZFL1Q1ZpjkyPa', 'x-fb-trace-id': 'H49mcJX7mnW', 'x-fb-rev': '1012278246', 'x-fb-debug': '1ydgIY5ifytBd6wGhyHcGQ4u81hblVf8/IlM1slHPWtsa3BxVSMFEd/G8z7HIybtCak8Iqc5t/Df6D5j5IJBGg==', date: 'Sun, 24 Mar 2024 21:51:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIrOp9Vt_yaILwSQ93Bqgqyxoyfi0hGPtdF--qB6mKOvuhC-_lhv-0CvPsw-w"; e_clientaddr="AcI2WaFF70Fqd_tyTpQqi3fQNJxA0Mbr_mwcxhfoHvWSowRcE_FfuB3ESKZHRV0XACrM_BGDAgyErSIAFc1B-ZWbBh_TdFBXiJLVnLKX2W8djobi"; e_fb_vipport="AcJxzEjHnAPDBI0fLBSsFhdmjhPHAPYk1Pow_kYCdSlMYWVP_fQUe5Ya04WR"; e_upip="AcIBiLVkFgqdFGKdB89prtdKPXCuxafMcbkX1yJcJAqzMq91qDy9Oy168hRba0kM3kCWdC6xOP2BTFGNNsUooMmHQXIvR8DV"; e_fb_requestsequencenumber="AcLuIVMeNB_mRugQt1ikeLWuVG61TkkuQ7-XX6QSmBO6hwlBc2ip0ERBmLUI"; e_fb_hostheader="AcIYl2nZhNpEUgCEBfdZfZNiO6bdq-XYvfPYDcXefs-k3VXyRMnInnVIbPN3RJj1sHJ-70SNuGUqd4J4"; e_fb_vipaddr="AcLKi-LEf_WSAINP6sOoFTnieJQCFQzy3cKiJnEZmdNkTmzB_a1siytYcR382MT4qvS1kafYu4IS1RNhyfkj1srD0CQ_FyLOeg"; e_fb_requesthandler="AcLFtgMqJ03A5BjC8QLMEL2L3DAKdHqvkU2whLxnjxV6S_owoPJsoortr1SDqdmuiMmy7o1GqcY"; e_fb_requesttime="AcI2DIGPIboUaHVMDaiAVKhGLZX8hGCzveUjj4eh5ebakwxAGLBTen-wzXTOZC5Gtx-BxHQU5A"; e_fb_builduser="AcJPviIq0EXBUGrErouIkjIfxdVNfIDLBuWVFJzcbxFgC3PWn6PUqJDz3y-szZGtRJU"; e_fb_httpversion="AcLSQGw9uDEPjoiCM2IQe-cmJCjgUgVG8_3PWT8B9lwrPKWNGZcVqSooBrZ3"; e_fb_binaryversion="AcLwSY7gWh2UOAQWRj9Hyr5OTWy3EuYQTaFxPc0P--vYyJfrl9EGFA293tzInC2P1ulz0LNuQywHodL-W0PJzaFG_ma16_xDe1k"; e_proxy="AcKuu3NnZ6TGW0Evip6zn5T-Oj-pX6oiMFfpetIliSnJ2-p3z8HQbyvVswWJmVhT-gyzEI8hOTeaaBRKY0sj", http_request_error; e_fb_configversion="AcIt7w_GjeJMqFldiGX6So0Q5QlcfRrFaUQ8ml7uwRjhxFwJsIlLfdW0YdPltg"; e_clientaddr="AcKjJlE4GWANAZxDa6U_PBSLkks4D8Jx75ub9v9u6DSkvZqeVUdZNWfS0TdmgPjHvZWHIlrad6A-fueAPg"; e_fb_vipport="AcJ0UZdLyV-RGiPiMHi81HqRHZp0GvgKxH9rkqqPj_4bgIZInPm-KifaX7m8"; e_upip="AcIybL5ZoxNRaBVKgRHfJdlsqztFdOLxwPr-1BFzBF1t_iC58XXXqmVVyQIBJQs0x9E_3ARGQd6inR0bgblGFmonOq8W4a8Vbg"; e_fb_requestsequencenumber="AcIQaJm6AXYOkqBzepYK49fAHJ20ha1f7ViDdCd9PQrPJwAo14gFBiCgUg"; e_fb_hostheader="AcKcYr9osFz5gaAqtNUkceVhRbFzsfYsQV9wbqryJWAuLvANzoBNBd9nlsC1E_np0Its5Z6XIKY34vyk"; e_fb_vipaddr="AcJJqf-B63ZUCDGsw07SBmaFRJAUhh6DpLAQGZ6TlUSr5M4fAXNdEAtFnC88h5X5pI90a68"; e_fb_requesthandler="AcKpGw_cydF9uiQ2Fk4EbMYyBZU2FuOAaWQTw4Z1O_S_g2ilBOPBHP0hLRFtGMBNnJa-HefVtfM"; e_fb_requesttime="AcLRGDykJ-nP09w_kIf6VJudWSj45nC3fZSGhZVNtOrw1p4Zelu5a4GuQQ5nCb5TzBHkprLdAw"; e_fb_builduser="AcKEGJ9LFrKH7EvEhvxTkbkdeghZsIFuIz_c1FJywsY_7SLZZzyK-Z1j8Z4hz8c63_c"; e_fb_httpversion="AcJ3pHx3cUU5GuJkQpGfY4ed8HeZwD3LHlX8LUhjsKhYP8HPcLB-W3Hcydkm"; e_fb_binaryversion="AcIq-NOsryaS3yvFpi4TmzySB5kF9z8Db-Jv_JzuuJmDw3_JlPGA4SsIKYh2hRfSwMNMjJy68iSkl6P6zPdX8q2q1zxqr2_79gM"; e_proxy="AcI5xo93S4CSkPOzk73UhLzs8y4fyBuw_i39S6cOXoHsWm44UinE_58ZSxeY4rhckbqlBq-MMFG0CSE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=222, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 21:51:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:51:47: Error on send one message facebookId => 7410254429061344 03/24/2024 21:51:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ATV44OrOrzMJ3XbFXm9AIkZ" } } 03/24/2024 21:51:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/24/2024 21:51:49: Error on send one message facebookId => 7410254429061344 03/24/2024 21:51:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A0cvcnIpnJ8whmzMBXOfBfi" } } 03/24/2024 21:51:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/24/2024 21:51:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 21:51:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14113610, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1Ld2GpuU5gjNu8tpAszJNT', 'x-fb-trace-id': 'C7AAapvpUpv', 'x-fb-rev': '1012278246', 'x-fb-debug': 'CFNNpMTrmPBr63J4+USF28ZxKQ6Lp4TYCPNEUhtEBTFxVlXmMn1lcafFaujNX7osDaxw3Qj+fiY1GwESU0kQ7Q==', date: 'Sun, 24 Mar 2024 21:51:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJNsatuWlH1WINn9pHzZen49NF8XcxOKlMB7R3F3GmFdnNzVATjLXtxA3F45Q"; e_clientaddr="AcJZaoopuiPgkdK5Uuy0L7tCzoIhc6YKGrXTliRfLHPsFulvenieecsAAw4ThbKzusTbruYBeRKKtx5IVtqo1LmSW5xvIRnNca20roXCUvW5IEdrgQ"; e_fb_vipport="AcIyns0LvyJu2myQRWUCtnkLMDFr4xeW29oahyfodlo81GU_jemTwirqQ8tB"; e_upip="AcKNQH5w_nThjSfkfrNC7VxJQfYgHkbzHXNH8gsA4MTgU2qQYz2d4UJvHuO_ifhz3p8kVnp8amexXUGQWM-cX5OlBGBeQlvIrak"; e_fb_requestsequencenumber="AcJkhNNIW0haX2AsxHt6IbJya2WeS3HYFpvSJkZtiu7jVMOAFmFBEX70vFd-"; e_fb_hostheader="AcJ91urtJDB8LRV506aGRYchsQ-aV-rU9WP98h_GbuN1Wqeak9Ndq_ftvXKkZNIa3Sb032rxqORavXlu"; e_fb_vipaddr="AcLQAORV1d2vY41-WSNWHeqkBtTRc2_Aub2rHJZszlvF3QN76Csr0Ysfn65xjZA7RMCiXSLSMwvCzmZLLEKDqYrjogoik-LDAQ"; e_fb_requesthandler="AcIx5ZNlF3k5SlLKkopdG3Zr46X5li75eWWe_n4RpEJ8kbD-rRrApWaMLXXhZBeo8ZMIVyA2k0k"; e_fb_requesttime="AcJwrkkCvQC4TurK9Wy4v0U_MPr_VCyomq1GiL-bZJezRU9ykUpsXCI4HU6cytn-QTEyTSriew"; e_fb_builduser="AcLYkhcz2WncLn3Hyx5xVujg0Bw1tsfAUNxMtLm6CcJQQQG_s7-lihrwMmRU2qq7QkQ"; e_fb_httpversion="AcKhIrLK8x0oRhvKEPblXgytyF7aGv9DV144G_mL-nXzj9F5rrnqJCDYuZnN"; e_fb_binaryversion="AcKo0ARbhXuXmfM5WBZ7LS-fBy9vkPBbcUnsslB4lyao3UBS_k8uzqRgQt1icr9im12YLB3OT4ueailcIuDehcYbnZDz3cmnt7g"; e_proxy="AcJ11PLDofZS8It82ymixPhjWN_M3fE7nFTY2yf7LxgXbjSefyJURZ-EQgfUAMXBWsHgqFWb-JIvjgLzsaLN", http_request_error; e_fb_configversion="AcKSwAWDzBdmna6J2vkjwX6C0RVeGP5lpuy1sOkm5X9jJFcS_8PA2lGBi83SPQ"; e_clientaddr="AcJAB9muQUSfR-H7-Yu-y9AZ7Hb3OkBPHh4Ag6-5YB9kwOzPm0x6rj_aZ9T7sBPLRahJgdzLzzvnOK1lHw"; e_fb_vipport="AcIqNkg5iuzoxeqFoZdQYhq-hBbfKuja_NwogLRzJW_IdWMxgAZ4y2Un0qHg"; e_upip="AcJ5mHcJYg_eMmxTAp8zheWZ8ry8CS9CQhOpZ9hv4yr3svEYB7fs19hbW2sgL8j1d0ZxtqNmHesrDxx-r0TXSjG-6HDWWCZ8zA"; e_fb_requestsequencenumber="AcKukNjeOe7hVKfV00Ya-ctmAE5M7XCvJiLR5fG4WqpslfVqG5MqlWthHg"; e_fb_hostheader="AcIopMswItQleII3KMmwDEIbCTvEZeMuPmZ_mtPbLn3tsLyk_kY_j2gOlvUUMZ1tr2-EbS8KhfkAs1zK"; e_fb_vipaddr="AcJWuLqXnrbiPrqua_I7GO7eRbgl29bD3D-YIwgBnsSDjAg89Y0Bh2Bl0_9lisUxx1VHR0Q"; e_fb_requesthandler="AcIGwrp00om7XDu9FmkxvdcH6A-9WBrphg9Ipuge_4SBKGwmhdthRBussZ02h8ac6M4XYOaagFc"; e_fb_requesttime="AcKRjIeeGWFvzR6Wjw1dtsXUDjPp9Yz5rUoK1YCLdquifEcgt9qCrAcqCN9z2L5DFFaoZ9SC9g"; e_fb_builduser="AcIGvMg6N32Xkzy8FiurCjT9wVHdeX7Bl2lzLx7-Lu8W6gUuJBy3yVNR35LDXvCEUTg"; e_fb_httpversion="AcIqYqRT6fgPQgNmJRE7DfsK5x2wzPkQhtg0l7RyocZz4OEitDSD0xkNaCJH"; e_fb_binaryversion="AcI7s6hmpTLuZp3TDk54BGxv59ekj8Rh8KjP6bW_OCH7VVQLIfw_OJHgTg5m8bXeFfgNSeIuVJF3rhh_rWnF8vpkvnIjd_pe0X8"; e_proxy="AcKkHfqbHphIRNygwoz4BZ9Z0TSNtGNk5oFshqBybP2-Jbql2dZ4fn96K15o69hOhEdLaj0UN-5S-rY"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=356, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 21:51:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14113735, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AH_sda-3hcsVkSN9mW_16Ke', 'x-fb-trace-id': 'Fqbhn8unsDK', 'x-fb-rev': '1012278246', 'x-fb-debug': 'l1Zd9qVXU6skb29G8L6XzjGUaWqOy9ltmGb86X1sntEKNv64Q6guf8DtCiutgvauADICAX0jI53HG/30/9+FNQ==', date: 'Sun, 24 Mar 2024 21:51:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLBGfdCRldcp-L-_SiHQQCKmq1F1uvD9hX0fzFn_xzmEN8l7M3UHts8SN9_iQ"; e_clientaddr="AcKdJM4RsQJRGhtP7N7fhp0aGnhTBoahmzXN40qwYZq_2GkhaelDe1gdRfKK-_6yK3avDF9rtt-UO8aIsNnBuvD0m2aIl4NeRKIQQITQ1lQ7imC2bg"; e_fb_vipport="AcI-yUQuyOZl4zChyL3e7uTfa4JBU50p0V7VlhYpwzhNa5E69HzXaL8FpESZ"; e_upip="AcLsqGG_OkClaHoZb_TQvUOD0LMVTBHqQOzh-xZHGWt0NK9FXEPKa0oscgSyKAQsZp4C8MHy_3kWIRLpOk00w2G7fYDIqSU"; e_fb_requestsequencenumber="AcJ9YdqLZW4_JIvskg_JIYeldAH79v_LuhD9V5-YTSA8eCQRk1k2DrpvoGSIfw"; e_fb_hostheader="AcL35gjMkhdK10BKfKZYxxAAGmGz_UFFOYIU1JmqkhV7Q5BOPt833FVpy8FHTX1QFWzSlqjsI9FOGQeK"; e_fb_vipaddr="AcKqxEZEoh5D8m0UN9y61WbHF248dVFMfeDOT95EzT9URAzwUUpVui33g7wOanhWC1gJLapRa166uHA96oz9O5IW6z8apGKRYw"; e_fb_requesthandler="AcKdkysaC66fBsIqV93XTCPWAK6iAylW5cNZQ1N-cPlmORjvw9eDAD1lEL9T4YlrizdTEJpgbSU"; e_fb_requesttime="AcKH0ZbHl4fIDD9Mcq8di2h4zAesAVCjRLyxQP5KwsJp9zdB65mvwWnJn--pBIt3SKamcTSRvQ"; e_fb_builduser="AcLeNC8TESdZFJ3OcMbpJ334qaszp8ZD8oprI2SSLtFdFqCIbywWk32lOLZx8ISQgdo"; e_fb_httpversion="AcJREPZeJqPzS3sPtMA-JknHEEeHsscw7GiS0ChkYvtNgyyA8kKM46AWJ0bG"; e_fb_binaryversion="AcLat4jpZKWD55xSgaSZjXLVJLEmDq96xlUsNFKOy8TxXO9RAbP4eOn7ZdAB4tdd2z5vJn5NK8TjZ46nSFDjSCJ8VZ-SjyCaPxw"; e_proxy="AcIOUg75_Rnh11kbYJS1m_KgAJ_wHKvDkQp5S1kkmamV-IY01RyEh-sxNoRcEGtDYDwQPQvy8SBVIwFApxmm", http_request_error; e_fb_configversion="AcIR5yEMWS04qRc8uzQEvWuNp2cBhbq4T6mioyORB8c-vysy7ItW6Yg2Gap1dQ"; e_clientaddr="AcLAnBYbHHuVjeHbS-VISMWIVp7IrzrgcSpNNFyvzF1kDKIt70eh3Q49RByPZOxp-W6Tlcv6aMSyOGfDMQ"; e_fb_vipport="AcK2LLzMIJvuvey-UHjwswHelNnB_pawInMTwzxAI5Kb-fbLjKZemvowkOyq"; e_upip="AcLl5uXypFraVhEc7_t24b-dYVKbzHO4bQjjWIDjeGoLvEAMNXnx1byPJ4yo0yAUwYI1LFgIo_8UERcBy8eKdhgiC3vFHrmdPw"; e_fb_requestsequencenumber="AcIN75Ys4wkMVC2_r0gJmtONCoRZQ5dA0ZCqSg__itMu0IVmAAqxM1FuZg"; e_fb_hostheader="AcL3z_nW2vfp6STkIMCo0SRIlUwrWDZNERkzdxRxFzWC3mKQSRU0UDLRZ01HGdWIaUhGbov7F7O7ECO_"; e_fb_vipaddr="AcLP0OL6fnHSIaeMYrti8MTT_HEcG0hydRyIHD_iQKht0xpYPZrP5GoX5LNFjyAHXOHcvHQ"; e_fb_requesthandler="AcIGVP6epPwkdSsyH5mbw9WW61znC3KkEfrGpl24863x4yFI1D4H6sarGkEUcDylmNt5YED0nvU"; e_fb_requesttime="AcJWHmPxmcDsOz1rUFBWXhl1kLY0Lcp8C2OvrQZ2gb_fKnMMiZfjH_BorCzveGH6g112FdWGhw"; e_fb_builduser="AcKBCaLkgkDuTI8Y5kDcS6y1eUmrF9UU__NDZnMoc56qIoZdD2-kGYgoB-2qlmWfWWw"; e_fb_httpversion="AcJ3Hba0d6KIrjwZtJUXafudKEAJkfntZkwrfSGOLPlMCghSVZ-3eMsF_IuY"; e_fb_binaryversion="AcJ_YnyAiTXWxPGVqCommhsZ0PFqwObpgT-ZnKjQIwCVEnl4SMmZx2yLSyjJt8eoGYxT4lDkuAdUx48zIdCOCbQXvcjdduDw_R0"; e_proxy="AcLrM1ebdBc5aeX0p9_4NAL4kwbdUpDTx7y8mzhOhscCiUCbQeeVNDTqkEoIlogveXPIdUt2FhfObs0"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 21:52:01: Error on send one message facebookId => 7410254429061344 03/24/2024 21:52:01: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AlIcqWhxN4NfKO1-McvC6CS" } } 03/24/2024 21:52:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:52:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:52:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 21:53:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:53:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14114394, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoQ7Qmmi-nHv5lAlGp12mAf', 'x-fb-trace-id': 'DgbvM70u4aS', 'x-fb-rev': '1012278246', 'x-fb-debug': 'JnpBOlQh9TPpPMVeaPLWb2WkOR046p6tfH/co+r03Lg/G6wrMNXTWMD8+S4l2GVWvWzy6un7wEopmGYX4F6CuQ==', date: 'Sun, 24 Mar 2024 21:53:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIqnnnyTElDxVXIZE0YC7KLnAeUBPcuoTt7Nt9wCiHyNyhZGAZKGo7V_QllfA"; e_clientaddr="AcJWvj2RSVswTnRIEu0lIyEbX6C0AIcXoDsN8OO0_cUAmbP7e-IcZkiOMm8ng4hPfwiIJ6bXf970j5-JX2hDsWAKHD8FlE_lqt7Q81KmJ4S3hWnMSQ"; e_fb_vipport="AcJXYCWmjizDrbIpN_oC-eB881E-eDiz4gYJdxY_ICxnd9FPZEgxeGn8pvZQ"; e_upip="AcL6dFqOYd0WybZiWp18W_LScC9Xk1AQ8moC5TKF1fQdH5ayav172835_1Mxfd4PCnP3OzwgnTzcvofi78_bWbIHI87guMMCwVo"; e_fb_requestsequencenumber="AcKcUilLGNPo554VcOxhzZz6rpvmEr-jrUucrkB_F7v3OnHu9DyRlZ8lKlEHwQ"; e_fb_hostheader="AcIY0Zz304mnR-Yr3FhmVmOOUrzYwi0X5uZ4grHSWrojzzGicHpkbCrADDxN3HsPdlujr3rwhe9qQ6rH"; e_fb_vipaddr="AcJU96tYPj82hmv6g9-RHn15y8Fy3az0JxPJ3mXY4D-lxfOJDtf737Ehujm3nr0qRX8kbHagqCs6YtCMoNcTG4lPEnifeOANxA"; e_fb_requesthandler="AcJfX1o-XUwO6LlpYPQDkg8SZ9eiywa5KPQqRHPuA9L1RxgkpO6tn7r200uSASYQWwAfgCCWhUc"; e_fb_requesttime="AcKICl6sUe_v0PJq82li28argnMW3KSlKdNBWwhQEFJnY1f-n9Wf_3iC_BiqFU-6m4ev-FGZ9A"; e_fb_builduser="AcLSfPBdfd7h_fHCfjoOS1fwz0JXXDqM30vlV6g5WhEOc2UdJwbXB-_pPFjKscsdY_8"; e_fb_httpversion="AcK1J2AoqgXUpU_1Yfg6ECLAIIyq-VLAicTZ_ZRAzOyCHKbDz0giFLSlwyVF"; e_fb_binaryversion="AcIFTu82kTKZh1VnPfqLUT-XuCs3N2qEuFyJKnpUR27J9YRoJ0fa6mdCq_cksLQR8Zxfdh-dDq_jidmBbSZm1fUluunamnERnJ8"; e_proxy="AcISOHf8nSZDT_AFJoOKvwA1BKsTmrQe4Pne9OY2kOuSJKQSFdiboHu_Kg8Y6a7ObSiE8cvd8DAX8GuyUJfa", http_request_error; e_fb_configversion="AcJXYRTEWf_ZAUMsI7Zzzk6vYsUF_fh1XL1LmX0oyb1dk2iXD0q-7njdfHsjlQ"; e_clientaddr="AcIRPU2BCiILo7h3l5iz5sYwrsRM5uWEHl_iIjaWo8b21oCws8FTB2GxzO1i7yTvO1OFtdPusd3YLoih1w"; e_fb_vipport="AcIKwqqvKAPvQUWEvcdrjmtwxQLr0t9WbrrsN7NGxs4_intNswOHmB3JJ-yT"; e_upip="AcKAMwDz8EZ9nn5gtBYareeomc4Ssl_l6RNy1sEpzn-Ea71-5bsH_dclv5bmDT0TpvFqqXBKh5-5L8YPKVTKH-BOu5ckr3AWYQ"; e_fb_requestsequencenumber="AcIsjaaAXERw0vykHuGuaF9ZHwPfqzPcuHxQpqt3RkHe5oFcXTt4tntKog"; e_fb_hostheader="AcJ6vmobLOmuDwY8wYVchRF-LcIh0pOuZOq3YycfI4cQ43Ym7VZCQ050LEi4JU-pdndRZ9o2TzGf2dn6"; e_fb_vipaddr="AcKJo9THcjQlvziq0OAyEz0dfEHRcIePoQzeFKcqVmrj-6XxdaTcpvFWbFh7XcxSGQFiJ4g"; e_fb_requesthandler="AcJg8JDr6V_DY45hy4ZTamhqnHT7pgV6pqxOZtfcR9MKZD9PgfIcge81fsHOeWZj-BUyQOHsq7Q"; e_fb_requesttime="AcKhKF7pqkvr27nJXb_untOMM38Lxh2BLk0JV38UL5zL2pEiJElef9j16QBTjUk2JosQddvqLw"; e_fb_builduser="AcItAS-1OO7kAdS6Hel4hcoWQljdk6dDUSE4HxJ67VFplEPnyPYN-lUXNQU6j3HyO1Y"; e_fb_httpversion="AcJfphmCpPP2E9MA0u5Q2mC18rVD8yzyyB6tz_mb39bTZ-XEGQYESE2_VidG"; e_fb_binaryversion="AcLPQYe8lLm2Q4mBbVlao1iC1ROas-Z_fU8Ue-bd_FbL9gn-qF1hszvbyl2YfUwZ_GF3zHFKU8BNLTIh0OhunbKMpgTzvv8D7Uk"; e_proxy="AcL17lCyNsIPxM7-blEEgMomYPID4Tuy2Kzxnmb6ZdCsIi4mO3qqP7WFFDdMEvS78ed3_1QMNbzqaRU"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 21:53:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:53:15: Error on send one message facebookId => 7410254429061344 03/24/2024 21:53:15: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AaiLJOOpSsD6pY1uYpDwXeK" } } 03/24/2024 21:53:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 21:53:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14114543, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AERwtFkAc_v5EwXQ7g4JatR', 'x-fb-trace-id': 'FbGmIg/tSft', 'x-fb-rev': '1012278246', 'x-fb-debug': 'J9M6rN4kk+zK5JDRitTshgvzDDT3+BzZa/5I0gxVvgPvvqLTH+YwuLlFqI5ak5dIj3jMTjui5kiArsF4t4rqKA==', date: 'Sun, 24 Mar 2024 21:53:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKE5jiB2ijeJbGS_y3Mwb4BXuu6-NR7EPT7IPl4X19YLAkqwDYcH51GirfK3Q"; e_clientaddr="AcLQt8CMOVK1UxgZyGJWdqmaKImWJDfJgDNIJQqWzpGsW2W-Sv5Wz08Sp-5mt_SIly0LOB_IS1put1JoXZY-nh9_Nl9ayGWBCqrJgyDKL_YyzjkbiA"; e_fb_vipport="AcKMRjUsB0dmoL1eD7ZYb4yIYZIFU9HFQ4vJWR5sWmPY-YlInmMgjw8oEVZ3"; e_upip="AcK9T-3egQgSelokQz6j1PYtIs3JmYAvR6iwmdDFaHhOOIutT-P1N1HS_JLCrOsziUiYJft-O_IE0pZSKMpFTM6gTAh3e4zg-DI"; e_fb_requestsequencenumber="AcIH1sXXmHn_BLXXMOsw6IGumP8o16ioMSkv9CdFX-7dZALFi4y9OW659LJs7Q"; e_fb_hostheader="AcJKVI98LasQwMiJ9BXFBU_QvKnx1t6FjKZ7cd7Y2YXbDqfuJlGpRH9XNsJPlzI1sXN1tpgh5G-Gzp23"; e_fb_vipaddr="AcKGh2mBykiYrm4yE808APxUZLKy9hG4kL4BWofK20TiR_FfNxFMwljS6xBoGd6oujWx4wkmznrVj88Au-BmJ5BAcIii0DRQ8A"; e_fb_requesthandler="AcKNefNmRQQQthh3GJu5hHlj0JQiKxJwAoberSTDSasGb2rz1P3Le60r-1_FIXPsZxa1nAii9JY"; e_fb_requesttime="AcLc3DhwLZ30y_G2XH_lhxJSboEcrjCMkSuvaYt0BW_Gpd7tYOE8Y3Ip_wnhI4b8tlPSYDtw6g"; e_fb_builduser="AcIEuduQmc--PvYt5o733EiQvS9lJsICHx9tQgVoLLQUJcB7CRdlhFtOK0ouYpRoG6I"; e_fb_httpversion="AcJw2JxvZNtbjC9tBlq70V2GMp3il5Fl7KEtI0Ewb8smOE5jgVHis22K2T7S"; e_fb_binaryversion="AcKjwCcGIE4FHwed-jtJGA2y7gsJT4IboUCZdKTrLoU1qym5DRJ9kxrGiAhA9xBryWvR--gxJQQ_uirAx_MPp5AZ2hCvPtTHiQE"; e_proxy="AcIxWMg-LZcwzZLdKux-FMP9uDWtHYqXNGheKX9hZeyGztiCBfE_uVs1Zqu76uegSENd7ainDHHC3fLD1A1q", http_request_error; e_fb_configversion="AcLKHlg_sBzm8h5gSm_bjaN-RlKj-Ta_d5HJGiF-K5jiL4793oINDEqbfIAsvw"; e_clientaddr="AcIMDlXwmo6BVga1qCHmOEgT29vd9W2c12QnVd2ejXIActM2j0cGUjiSRoAXL5C1_W2o4C_y0NS_GLhA3g"; e_fb_vipport="AcKYy5cn8_9in1yGQ32vMrEmRPW5TGqdsf3Y6Zekyou9V_dbqHJjNGPuWiiN"; e_upip="AcL-tAUWY44FJZao2tCQ1MVJtWesVR34CBHGoq5zMHmEsBDIN4XugpGHtzjosqKz2uL0FfDAA_ty1KiOtyixNnbv54Y7FA9ZMA"; e_fb_requestsequencenumber="AcLvcovI7A3Zw3YNPdZv4VWf7_WcXr_Ey6D5Z_TFgKevk3Nd6EfMqNMcgA"; e_fb_hostheader="AcITYIyKp7s-wVw54FSY2bpIyydFJIuGZUHgkTtmgL24WfUfa9h96ayVAexkFWPehI4aw-9X7u6IO96e"; e_fb_vipaddr="AcLYmKU99fYw-jLTL6JE7twtcaEhyJadxSREETfvIsDhcARGyQODgA68dki4vDsLwVWMTM4"; e_fb_requesthandler="AcL8lVujBroBxLDFoC9qBnau44es-tclfKCpxJ99l0H-vFjG7WXAbmb2DlkGJEDJUhbmxGAKaPQ"; e_fb_requesttime="AcIjLPEpJa1X0LCdc0VhodURsv8erQLztEobCawE1_mabzXxBXJQ1BoJm958Ecr9gT5zQhcBWg"; e_fb_builduser="AcKTlYhdd0WPNsI4Ywv80u45Sm2Yx0X57q_FxkZOwqNXLgH8lIMKDvcVJZ1sBt8zKas"; e_fb_httpversion="AcJunB_Bho6q2dlpT88wsqYkuRQCJI0gLFKX1Ae0_1ggX9Jv05G51Ijl6OpG"; e_fb_binaryversion="AcJR1CwLsUULR2avRZFuHcPotWc1qBQ3-PVUMF1X-UxhN4E9xG-HumY4On7VM9qi8S_-c-4TJuBB6yCXeYwSHt0rT7jhZQCQwXA"; e_proxy="AcI3rWCrLS_d9cnhIDostlDpze1vUtVazSVdhFlLRldLVtv0zCFjAZ07YbC9R4OhedWS4_ovC0d1q8s"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=211, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 21:53:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:53:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:53:24: Error on send one message facebookId => 7410254429061344 03/24/2024 21:53:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AqdDqD4xc8l5oN-wMHWZ0Np" } } 03/24/2024 21:53:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14114774, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_xiHVpsUmNLTTckB6WMMxs', 'x-fb-trace-id': 'BzPlXRMNNnk', 'x-fb-rev': '1012278246', 'x-fb-debug': 'sfHYBiiexHEgXcvyCoxx6018bjGlY6RKVysTH2o6mVX06i56p8TWER+Lpn5V94JaH9QvPjvr3iFGpuX5G9VLpg==', date: 'Sun, 24 Mar 2024 21:53:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL-_uJKadvtN2tpjJVLYGRSBqp5jAVkJpSmAi_8XATeAlMFfbw1uq6gLzBIuQ"; e_clientaddr="AcJEbG3DzsmA82h02eEZN5MlXTTAL8Rua4DcqDuHUxxV2uHEoOnBdaJe_wLOB6wvrtL0PRLTL8Wm7gl48ADmGrEnBKQHugyeSNQFEDnmICRXXns52w"; e_fb_vipport="AcICMSyg1RMqK-QRyd50VTG5GHgx0CDOAKJdgV6_KLULZuOC3If-S5bpgqdD"; e_upip="AcJB73tdwQ6IdCGNccDy8TJHBYL2AH3ky8Zb1d6OtZQMG7r5EIoejUlcsFLywvF43sszXD8OwuCQlSEk8z_qpo6-sRZFiWF09A"; e_fb_requestsequencenumber="AcI3Rh4OnchyDDvUNfER6h_iD3Lc14TsjXxDhYQ53xfgzI0iCJsnm0UpdrsD1g"; e_fb_hostheader="AcIpdVSi1CD1ahvjBShC2SHb2CcgiiNQl13D9tBGoV-VWa_I0fR_N6OT8BQ7oeIAfOL9bPRnqegEZNsc"; e_fb_vipaddr="AcLBmJTYiLgb0Cb2W4Ad9M0lBuQ4lhIkGoTwCKWHj1UkduEfZFiDJ16SeaCuaZiAq3JLAdiCTz6uNmXY2oh1Wr6VxAK0U2nzCQ"; e_fb_requesthandler="AcITXgJEFKoy3VXrCalhmBLhIR6v9XL-mgDv5weNFrK_teocLJLAjSRW9O5s-Alk-1wusKtwTkE"; e_fb_requesttime="AcInqzPxj1HHxZZeIlGmrWr_kS1gzR2-V5jwUbeKyNHW5--qVK2jJ_fp8Apu6nKfgAAPoRtrng"; e_fb_builduser="AcLGaIpGNUiwL71mUZbtI3xlyEgq1e1MqlXw3-w-XU0stCatXo6Mtc9rcVwVxu5-bUQ"; e_fb_httpversion="AcJywUK30sTMhWoJhheSI1XvCnYLpcXT9UNDc2tigf3t_4Unu_tJtrTO1fqY"; e_fb_binaryversion="AcLYXqqU-anWF9Shy-up-ma-j6OMVM8MX-mhqSIHIqM1nIOWg_ZjvhFxqMRyiFX68GJjUDeBVm8GR1hVKTYIvOCjW0z2n7Ldp_o"; e_proxy="AcLj2gtItvS9ng1XFTuc1W69gaqirFNOQkAJWXKji76ZFiYg3GMlIjxpA3hTv8A1zlcq4hd6FnEi0naCQTiB", http_request_error; e_fb_configversion="AcLLQe7sJb7PshAYCMp28qMD9wXq0BGz5pNvSDGRsgf1jAAm60EyLcJ5t3ugcQ"; e_clientaddr="AcIifGSOkynE37QmOo0z4Z9jfVt2ho2C0kVmEWaqoLZDu-KwXIIAId4UQj22wMVHPqZ8s2Yw6PuK1ulDBQ"; e_fb_vipport="AcJ-TwpR4uC3fKMEpZtgMtNcFsqIogPi_LB-T_eb8l_D_2CyojODqbd8spFq"; e_upip="AcIKdTGimdJ4UfvbTxC8oWTpg7OeWQfpbZPsq-An7M5yM1EmCuXyqPCwA4AQA3D-JkAXKvrcybPuFOqhBwpjF4QdFOaGwgp-Eg"; e_fb_requestsequencenumber="AcJ9uIb5PmBy_rKGCh65v1tt3h116rxHyAzXQgbnAwXSkmbJe2J-xqCraQ"; e_fb_hostheader="AcIK2qy6_f_a7ZXx7eK35S284IWhJmyAl1asWmgWRZX6lg1Qb5gMRyv3vMevMx4Yf0mKMuhUx1zstQyg"; e_fb_vipaddr="AcKMQ9DS7vqgeOfx4oetCqv7psjSjgYV1tcnWByxRHehjc0kt2S3hrmYwAY7SFSKF41MPIQ"; e_fb_requesthandler="AcI8M5qYPsI5_pJg06DsPaaP3zYmffNZIJSdUezjcK4AAxOE2DYw7ICPVv-T1jMQMfr_iAxiYIY"; e_fb_requesttime="AcJAsEw7OYvwqv7tYPrgdpuzkd-ohxBloy2Ays-QZklV8JZXPivTSFkx9C0C7ppDv2TYV07WcA"; e_fb_builduser="AcK4ner3Uhgl4aBNT2nFAsXWa9V0FWxNFiqkbh3PvPD03VjS4bnSq6co5BWrTx1fwd0"; e_fb_httpversion="AcKYijzYfy5WkiYY6iaUHw2exBB_SPFiJmwsjfLzNlyUw2dUmfeGrazCMead"; e_fb_binaryversion="AcL4RMOhDO5a2h3XYGqI11l6vTzPq_Mul3cKdCvblYKA1RqtDG7-sJMYp7Bww8yFK9oOj8dGc3GOvCMEy2VCVTaC7sUkWy6ExNQ"; e_proxy="AcIHj1YZnEGvvfqMRr9G4JiMsgYQfokcwySblk7chZZUJjivvcmAWPHhdjf480I9TlHn9vOZYzn7Lu8"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=341, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 21:53:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/24/2024 21:53:27: Error on send one message facebookId => 7410254429061344 03/24/2024 21:53:27: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AeXwXy6ZwyhZjrdyAyBw8t-" } } 03/24/2024 21:53:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/24/2024 21:53:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14114943, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APVrhazqXRrRI_NaY5RXyp9', 'x-fb-trace-id': 'E92LyBDf28H', 'x-fb-rev': '1012278246', 'x-fb-debug': 'Es01PjHR2U507sTMIRL2cf/Pt1EhvHkL8Kq84k37pNfnORTEJcQCBFr5abKqWHhbPphWfHnSW8rOhsuEyO1pIQ==', date: 'Sun, 24 Mar 2024 21:53:33 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI4TOuEmqfFtcagiQqxsuSrO9F4Yv8xPQOEnDElkx0e9sCPxCiQe2hOYM6DNA"; e_clientaddr="AcLmIHr_QQAlEUCF8IW5aNK0t5_SiMBVBCRWz3tYBBGzuF1d_NNWUzk_wJHiWQzi52SODFjO-zu4qqL9XkwCEoEL0AeDZh4YgxObyhpIbPwA70Be_w"; e_fb_vipport="AcKMxVXsvGERH0o27sAWCzCmHYuRajM97wKVlvBmpRt4ALB2_HlwIv8FhalV"; e_upip="AcK9uYWLJl4IYGYONCYXXfj0LNr8qE9kHVhbEPy_CtDZwu6CkZP_A5G3O0HajBA0RVJmX-knvMeUkWKAboozeV0kvd8pGKMK4w"; e_fb_requestsequencenumber="AcKiNkD_UBxZ0R4RcLWtkTdW0-xKQQeB8Gg1AXpnFu864WDzdRPqnHNo-bjO"; e_fb_hostheader="AcLcxzSINdNI6ngOnuyNUgq9Rp0vsMCgReaIn8noRtgCCRhzZMQu2BgEdJDl7fUoz6uTLtC4NgLGzePB"; e_fb_vipaddr="AcJzZPfwgaCajysMpNicDgWWlKmswqEuhNlRozyI_PXl6OA2Ej83cPVPDkNBIbwc0TPLhTHZ48dRFPTqdgHK6_pfBQYYoRcodA"; e_fb_requesthandler="AcIU7TorZZ76H-I79ZQhtTH4zv6ba3-elcN4_gWtqByrokzBQWUsvplQvc1sMrlnsbp0S-0NgqM"; e_fb_requesttime="AcIzcAr1lONEcSiUyNz9sj8jaPkawUAn19atp4oT6_66ThpAVKAQiNj93me1A0A4iLONN8CtMQ"; e_fb_builduser="AcLbyZsgLLKJT0trHh1rg5hVZcfEbA9g9M49W9XXZsCMdPSGGo5DPZs4dTmk9rrjhCk"; e_fb_httpversion="AcI9q6n8Czp_jWh8eVjAxaYpjKDjUBYHN4kkeu_bRT9bhe9Hg2Vuj3ngpMU5"; e_fb_binaryversion="AcLGniovFqKxsLVsCfJgNabrwVep2SeK9xIPiwcLZAlp5NtGhBstuIbkEnF0m8Qj554Crp23uDptDkJJOUHyhFmX6HIKuIda_bI"; e_proxy="AcITktXBc9Ja-sFk4kNBFgJN4tLmK2HQIgWt-OSqCY0rynZNmgtKRKTsiAmVhesf9yUjniv_4PChUhD30Y87", http_request_error; e_fb_configversion="AcJ0L__gZNwBieNn13QlpteTRREPZINJeW5UMm3sJkToSWJeJ-G814CBf2ehbQ"; e_clientaddr="AcLoMJBB8-_3Z77VahsE-uNnrCcXVBl5k_OBqipXozVftJZZzdsP96AmnHlhq5qdU3q1V6NMkyB8lM9REA"; e_fb_vipport="AcJc6Rln91AcMggfE-9erI4UwHsTQqZ508v-mN2c7nZe_epcDiqdWwD7PdiH"; e_upip="AcLYoZqiu9iD7lRXx0F9A0fTiVESPjhlVM-kec7u2ysjFlwScSza9KBckqeQMuTFOoGkOK6E6QNbaZinWiwAaXwJKSrxVWuGTA"; e_fb_requestsequencenumber="AcIti1bIEGypYfy2uX7_C1u_LTZaG5kChJ8LvqvP01Ti64JbTpZaOF_aBw"; e_fb_hostheader="AcK094tpixlB9Cew1815XTcFTEVjmxPxEPp_4jUKN1or1FhnMRx8PToH1LZD8S89jdMBKyZs9Wh9EF47"; e_fb_vipaddr="AcJdbh4attIZOV-m71JQBD_V_rXph3U7b6L6lTGx_Hztw2xY9IeuU05KzYxLvDcDgZtcdNc"; e_fb_requesthandler="AcIQ6OSM9F-BPeuvcrDK3kbp0xoFWlhb1ZtFiwLAeY4VzzLL3Hu-Y4ebeJpssbv-wwbgJGKSfmQ"; e_fb_requesttime="AcL70RniO4miJ4BlYbUUFEFGYDNENydDpdtJqPgCb-HFwAmF1_F1ZTbtsG3RxKtGmuTl_Aisyw"; e_fb_builduser="AcK4Les7iSuL-e2rhKwZKp9YOaxneNHh9zAqzU_1TwetAcPBIo_Due31Z52tRSWdofU"; e_fb_httpversion="AcJ7ODB5zmQo3oZ6Zq0TZmR9S-UxeCSzo_ykrZ5zhEi6no9qzELmtifBzNSL"; e_fb_binaryversion="AcKtFTE8BfjEOxWcnCSXzH9wfdRqXjqbRMZfuMD1E5C3NtA5RtvupURcjBDrckmIWnKFCfZsZ76d3yA2MFSkxfRV9zYWlE9gUeE"; e_proxy="AcKK4FNbkNMaWhBjmKrhL5JOMyyvwNTA9ZnGdcgwJulff4xAH8W5Wj4WEapnPGoLj1eSenm-wnyNzzM"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=214, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7410254429061344"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/24/2024 21:53:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:53:30: Error on send one message facebookId => 7410254429061344 03/24/2024 21:53:30: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AgAdLxviDmKmVmClVbpecpj" } } 03/24/2024 21:53:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:53:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/24/2024 21:53:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/25/2024 02:21:09: Request bot not found: { id: '138868933458303' } 03/25/2024 02:21:26: Request bot not found: { id: '138868933458303' } 03/25/2024 02:21:39: Request bot not found: { id: '138868933458303' } 03/25/2024 02:22:25: Request bot not found: { id: '138868933458303' } 03/25/2024 02:22:56: Request bot not found: { id: '138868933458303' } 03/25/2024 02:23:43: Request bot not found: { id: '138868933458303' } 03/25/2024 02:24:32: Request bot not found: { id: '138868933458303' } 03/25/2024 07:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/25/2024 07:49:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/25/2024 07:52:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/25/2024 07:53:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/25/2024 08:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/25/2024 08:49:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/25/2024 08:52:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/25/2024 08:53:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/25/2024 10:49:40: Request bot not found: { id: '138868933458303' } 03/25/2024 10:57:12: Request bot not found: { id: '138868933458303' } 03/25/2024 11:30:00: Request bot not found: { id: '1067413796753652' } 03/25/2024 12:07:52: Error on send one message facebookId => 7352826668173315 03/25/2024 12:07:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASVD9sFXQ-6Out8FNk8f17V" } } 03/25/2024 12:07:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 12:07:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 12:07:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/25/2024 14:42:04: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7260703384050870?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14294191, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7260703384050870?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7260703384050870?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7260703384050870?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7260703384050870?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'As4yYFyXeHs1jjTf5t2S_wB', 'x-fb-trace-id': 'APgMbuxi3v8', 'x-fb-rev': '1012282625', 'x-fb-debug': 'AYzIcqzMihk5hxmEt8KGVZyhl4RcWvkOPPG9xntA1VjciwVJ0cuAVaNcG2H6EOnD0RpbLjePoGeMScn8F3k+3w==', date: 'Mon, 25 Mar 2024 14:42:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKhuNRi8kibhWFsLjqa761Hd7tHcFHnRqtidDhJnkSicE1fX6pqM9_qLSbnFw"; e_clientaddr="AcLn7j0KbmICaagZEI9Dm4BlOdXQrTBjteU1B8yOe6fGtcT_6MOGFILOjx5taovfSfKOrD6btBrEsBL3L23L_Huu4aRJ-q-QW3BbfLt4imfMP4J-XA"; e_fb_vipport="AcIgVh7OHXPMVCXzqgZz5Ao3U9uYZiu4a99Jt5MAwG4uhtbzN2xqqhkZ_t31"; e_upip="AcLNzWc5LYoF7IcOUwCO7ae34pQkYcnlb2N3noWPJYvD-ASU39fVvNXPlnCVPk1xEZERie8DAsBYxvCkAylZi4zObOjtGQb-ig"; e_fb_requestsequencenumber="AcKw-DeIP-rfa_BHTuyCupEJlLFDrNBOGUSynr1ylPg1Zg4X2sH5vkCWcYommA"; e_fb_hostheader="AcKnCEEW-nXJorwvFNOCnUCtUswRkloLSe6NFQV8SgxpmRSMDnzgnblIdnFh9Uihu2fBja0K_AR_tXS3"; e_fb_vipaddr="AcKp1WbMatT2fMtLaBcYrw6XsGge3bzf-VcNRPQsO0w9vAIq5DtFZtE6iRxNz1565nAj60QEjjcL_CeKLwVHK82NYIr3mWuQ8w"; e_fb_requesthandler="AcJp0ffXU6lwQRLEIz2u1pKV6cOr4qT-CNg-zeug3nbkiNNGPpI0COfVyqdvkrmehvfJEuOW7uY"; e_fb_requesttime="AcKeL1MqzOSuji2IcW7Bll5vXK8eaw2odfnlQyA4JNYpYtwdzOVxCN4mlGiAqtiq5v3DP3uAPQ"; e_fb_builduser="AcIyb038_r_JwtMTL759nSEHqp3eP-YNwlyGu6vt6qIv4kTmY7asAdk4CWTuljtbYuU"; e_fb_httpversion="AcIGPktc5sXK7oXcfp3gAjVcAXPnV1Y4h4FrTdb9m8OXQMa3kslRscRRy-Gc"; e_fb_binaryversion="AcI2PRnOv3t6Xju-J-XcxsVJG2Z2fmcq3NWQEr0G-A4Y5XaR3oRoDhF0fvND-8gaLRswGNbB3grQY3iQbMrBsUWJ4o1Hd4a61oM"; e_proxy="AcJpVtUyeHRCyxuR-fq2oD4M57F3FaMJJlsC_MY7Aq06ilBOzpQKBiwmL3IEK2NVZEBGsoAZUlXTWJ9RyAbO", http_request_error; e_fb_configversion="AcJj8HTsINumezrw--4KX99kVPIEEhph5ul59NmUnxmSfaVsFOAMHm2uHss77A"; e_clientaddr="AcIwiJGzHETFtZroNkFJeLWc71FqmFt9rhOsd0FPjL7zMUbJFhlybA9uy_l6CYS3--EQEjtRXcFO-J94TQ"; e_fb_vipport="AcJ19p6s9N7xxjqauAxjVs5VU50SBZytxPmTJ8RF_YWDbwycyOfCdLzN_V1h"; e_upip="AcI2paEW7qEUNi0TQKIMjy91RDMrN4SYURSf9J-6ds9l72zrtL-9H-OvcxHXl49MAuP_QxAMVmScY3OF62lBz3M2wvF0O90EuQ"; e_fb_requestsequencenumber="AcLBVLmxGHCXUcPnLqv9C2SitelsYnftMP2lhnV58Y3YG9RyfE3LVzkyow"; e_fb_hostheader="AcKY0Nq56lKS0M76B7LGADdctQieK1FnEiVliBycJSp2ab7b6bemABxKMAoCbUtLd3uG8dI0cYYXv3lJ"; e_fb_vipaddr="AcKROjA_pjLUFlXm78FFWZIsOfe23uK1JbgqldmfIOVFU7R_fLcFjIWinZqgo_QSfE9ufv9ZM8o"; e_fb_requesthandler="AcKZwoM1jM9ICs3JoUqo6TXbJkroH7m_EpMv0PW56acqVrPNeoQsPC8qqimSWrbETsHbCn7Tcps"; e_fb_requesttime="AcKaH-GWmrTSFlVh02G_BCFSRtrkHZfs5tOfUjPJOC28XtcbxuvNO4UgXwK0HVSnjjItXKSIwQ"; e_fb_builduser="AcLziuzTPLQv8a68xK9uZwsgg5RTM637tDEAC_74O_pw_rHAFCTesrxaQv2f4bipQzg"; e_fb_httpversion="AcK-EcSpHndiuACrel8reRvir_DWUso5mN2NercB4HJsG4Cwnd2DbkVQYf-Z"; e_fb_binaryversion="AcKt1rJb3qfAs7kzKgo4DWOuBOz8QkEfdRb0WPRs9WIhkOkhdvzY8trearHJICSHeWBNmwIwIOGQIYylUV8NljH5Jthls68RLGs"; e_proxy="AcKokvIuqrqDcVUe9GW8okyD3QoiGWFFzRBHa4fwfPf2io-wr8ln0UpyVGs_C0qqVrJYa3D0Nj_4tgY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3402, tp=-1, tpl=-1, uplat=1174, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7260703384050870?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7260703384050870?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7260703384050870?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 14:42:04: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/25/2024 14:42:04: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/25/2024 14:42:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260703384050870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14294309, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkPhl0c9PeO8xxUxShuWz_N', 'x-fb-trace-id': 'E0s1/tC9gdd', 'x-fb-rev': '1012282625', 'x-fb-debug': 'TPZjg5x9he/0hWB0vtnXtD/JATGcr3AIyPvk3m5hNagj3B67xjwMO3irIcfHtMlkb6F/EFrs2MwaW/crwPRWfA==', date: 'Mon, 25 Mar 2024 14:42:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJffeBhg3q8Cq4yiF99ypqR1WL9ZER8qE499HYbkZNidIv0oj5xWlPHN0c7pQ"; e_clientaddr="AcKZpKaykP9MOlbUwnv2RiChvlfrmPuoGiWM3O0VMvOL8h_CMRW_uiWcHCYK9_jYm_63mcoly5UjCoVLRef8layEwM81iY7vL2qu8M0-kGHah9VVKg"; e_fb_vipport="AcIQYJ-A4FuQ1VSxnSNsiGRgJ5e0zIHEN7oaKaGaOLsff-pEDom-bjmFMKek"; e_upip="AcL1edTaK75pJwP6tkz5DJ9FQzY4pFaWlmExdKzVobhtOMADEEg-OOebJF97aOEXCLEgzcREOXTgyB2rofHaYLUzDMw9G8SHBho"; e_fb_requestsequencenumber="AcJipbwzFi--9qEuGK4M6qVHnpXtBtqXewjh9xJ8EkBhGm7TJdZBlxHZkycXnw"; e_fb_hostheader="AcKw3GHqe_MNbhSnyaCmRJDjdVwV5lE57y54jeqeulCN-t_QYpMdN_jl_kcG8mRbSr-ECejLqm2K6cXA"; e_fb_vipaddr="AcIjlsdJZEq604RRvE6bmyryW1hT8EGWPKj73wUS_X6i_hWKce8xONkmVtB0plOexZZPQIu_chfRuiQvCfwKlbGLy8_8T7TLIg"; e_fb_requesthandler="AcIrrKfZnhKx4S7Fkll3_qbIY6rLAz_zdQuc2J24UpL_HYoQmag-VT6vD_393Yy11-gwQHF41mE"; e_fb_requesttime="AcK18Wx_L1-FJvsjDpveotJSEmfJzn8IplmfMQS5XN5Wj1mQ1_PunOMxZLqduc0ODyaMa0sLIg"; e_fb_builduser="AcL5vyqog12w6FHx-cPlgOms_1NN8G5EPpKnDoELx1QCiN_jjReVsuTEOgzdFOte1mg"; e_fb_httpversion="AcIg2SGrW9alJYViLHSTvgq_aONe7LLW8Kh2dFdzenbjXacWKwKsK5DjcZjO"; e_fb_binaryversion="AcLTwRjdmMqTYecMQk8lRGFpZ93RAUd_JJheVpvy4fi-sGKvI1dECvA0a9nhnJhP3rDsX_nLN4KpwSZ4xPiDBRoH03veZutJ48k"; e_proxy="AcLgFYxjNhuJKdKZjXaeJhd7ruFn_xbIToFgAIp5qs0itoHYNCOx46ttD2mRFiL19CDRjWHCLA_eWrfUckw", http_request_error; e_fb_configversion="AcJC9LRPdR_oA1-iVuMxaCMM5QzKOJoaV5PeJ_W-FKeVcU_1v0U_upMu6MAVyA"; e_clientaddr="AcIv9cmvseYjCKxiZjYXuiolVuA1PMIUZcxkMG0zd__CfVJ6GuymT97l32SUuyPibKt5jiBgcGzUc6H-GA"; e_fb_vipport="AcLdY9XPDr3Meounvj8wmAnA0GDH-3ajo7tCGE1U0RESZuOlHwJ9F84vgsEH"; e_upip="AcI8HFTECTJ7U_63jnhiRNFMqutb_lJN5ymZtWez-Rf2tuw6IohytxyjwUmwiOrSBNFbzPD3jPMfrZUePXgTS4lbEMPS8WRCYg"; e_fb_requestsequencenumber="AcIlO4uL18iWk4o8YagVnaZZczXwl7xwBokW70a_Rsa7GNHKBnL7Rp0VTA"; e_fb_hostheader="AcLNSzroA6BEfMLEPEa6j1e84lM7c8hh7rw9FXUfe94sHf8ZiHAuAdi2lHqb6_OmWvItSh5OOGaAcRRU"; e_fb_vipaddr="AcIunAj1MnMzjA55dca74VVGIpTit80q0vcI5VjfMZQm59683CGsa6bIcTkA2hoKikbIZcpz8S0"; e_fb_requesthandler="AcIDHpZImd6qxJ3Nj2lCfhG_hUHvpr9XZzrsxG3aBvkBkQziqMdHlnvz3tz2BxN7xXLXDZXF11E"; e_fb_requesttime="AcLYgsKBx3kAU8raPYzUiCnxgJBgmT-cxUXE9jJujuNgmfnBVo9cDHmFVS-6rxjVhXPWZRY3uw"; e_fb_builduser="AcJtktPoaCcIxKICRFLQkoowocVxHF63mMM1aSJ9yke0QUo_PPVIlEDhV1-RfVm7Q_o"; e_fb_httpversion="AcI3OPzoHdkvJB1wz6-nMRvOiMKgV4gintad6AvbrhRvFWcZGsvapjMexT8H"; e_fb_binaryversion="AcJ3WE-Bwz2FYrjBRacCUsBX2djTj0NxsyMhcxHFmxFg4ypb7B1rseV6TKaVvl1aX1EGu8d5HMX_FFiDizwaYlo3RJRyBjhXT60"; e_proxy="AcJ4UF-OcUc8ouWYc1BhV19AOiIhPRTXzToRLLT-5DLwz8GpFRRtY0dQZCXRK0-O2W-KALi1r5St5PE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260703384050870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 14:42:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 14:42:06: Error on send one message facebookId => 7260703384050870 03/25/2024 14:42:06: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKVBCINmqSAByRl-h_2oAub" } } 03/25/2024 14:42:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/25/2024 14:42:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260703384050870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14294409, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJEonTbA1gvWHHOfNQ3AAzT', 'x-fb-trace-id': 'CijYoTVtVuN', 'x-fb-rev': '1012282625', 'x-fb-debug': 'pbGFDd9U6DDoeCXo5sadXtZ9m6DswgzWeSRs4dHVw5DWCIexTKnjo6Uv8ynNz+QNTbzXyoDHCFlknEQFgIUWfg==', date: 'Mon, 25 Mar 2024 14:42:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_requesttime="AcLaWStz3AzHa6KCD4abVkDIo8f2YdZIL_QkgAT_TwuAbdHSLSECa5CMXSlMN-VqoOs09hrA3Q"; e_proxy="AcK6B_brF1Mlyzy-f6JhbuAluaecfIzPaHaT-6GEtt5idlJrZO2wjjjtko8D9RB2bfL9b067HRAPXVtNJZCv"; e_fb_binaryversion="AcL-LDqKa9_DHpbOn1GLWxwG5vVkwfS-5voWhSG4uWsWGka1as-x-PPVEveXVsncrYK7v0uWdIU8igaZhyIo731yMZkFuFomNKE"; e_fb_httpversion="AcIz9e5X-7g5pdINAxwr8yXNl8uxeOkDmhIGKx8BDWVq5kxQpEcvg7YZH9j8"; e_fb_canaryid="AcI0w0XwQS8ApR6UA8B06utCpLhc6tWwqZQ_go0lgRRdQNV1uGnyO3q9iL6Z3a_cBAfa25xIwyseaqaGXvRFfu_Lqkomy8QxlSJJ2_b13QU68KQC-AwMNwVEIID5_CO5psm9DRsC2NoVEyFUxgCJGYzGWAit"; e_fb_requestsequencenumber="AcIcd6lybZEwImFtkqQMSTxezY0CI8V8pM2tDndc3wU_yfYu2llnPNaqgrFFFg"; e_upip="AcL8srTcQAvOqN5a30oIJ9Nw7T-nwgEwcUQ4toJOE2UrJDEiBQ8qANrae_Q-kVk9bPnp5qMOEukQCPkuyMEMydUGXs217ry_Uis"; e_fb_requesthandler="AcJ5xLZaShdgt3wYdlbUr-NmbE3Zh8jmXqHMs4asLOhF8R1_3PsWwGVYt3Eob0dvAlKqyYvAc8E"; e_fb_hostheader="AcIHTIO3CpvWb6l1NeAX0dCq3uaHdvUdGGj5syR8bA3I1-8ZJg8ell76Tt8vOerZ-KChtDKb9byknMcD"; e_fb_builduser="AcI1LKLLwnPaw9cwU98-Kgq8X4-uk5DCoGfkWKTdM3NEqMccFgml3IE9fgd92kPJElM"; e_fb_vipport="AcI8Cv3P2-6Se1jwmm3UtQLDVds1h6wLzP7qTl-j8ib8BvWCf3fORn52eHe0"; e_clientaddr="AcJfDNel627-sFufRBpDweGesS13XteKJdiZ4OmtoqVt18AE21rVkCjGM1aezL3mURXXpBp9qwE9Ep6Pr2Z5EJzD-pXakHcOe2HN6f2Bf9AvtMVXtQ"; e_fb_vipaddr="AcJ8TKmlbUbzEZn7X418cFIiue1qHXSX8KymVMM9gPVoAsqbIewVxTK608yRSy6XlZLuhvcxi_VyWWMs4umreTIX1zEKHp-d0Q"; e_fb_configversion="AcK_9iKat5UmqtzUKKGhtZISyBfbRpL807U7sC9zxEXBwJrm5ce-Bz_Qa3qSXQ", http_request_error; e_fb_configversion="AcKL582Nfab1VDOu8jwZY0T7sGAaj6e1THiSoKAZEQEaq_g103L92rOqueq-8Q"; e_clientaddr="AcKRppp3EeMUPFh0SFQkODi36K_ST2Ubp5NodLEoB6EaWl0L1cwO-N2xgd7VkCOw4ZaSKD3D4078-JdrYw"; e_fb_vipport="AcLtPnTZimJFdaK6waP2W5AAVoi7w6hflUWfcvh-xSVD5gkMhjnM9bycZ1o5"; e_upip="AcIbb7WGCra3t75GGTUReeGfiIl04zcA1kbmRg2NB2ZjVMSx2D2xe1OusaDs49dR6QAbjZkcfxMfbUiZI6M-hA-d_TKlM4TtEQ"; e_fb_requestsequencenumber="AcKC6s5elbh3sn6U8QW6ohOiZfhBpKarNEIg-cR6-jiijg_en_7Hx6xeEQ"; e_fb_hostheader="AcJmsdfbezfhm_Q_WwKPvUd6em9rBfjqt5KLnPD2L4dK6KNhA_Tq0FqVizLVWTlRkGkpNBzgV7-NO8YJ"; e_fb_vipaddr="AcI5IAWJEJElo4I-_0ELq6rsEyf5jZoPW4xktM_AnKaWB5TLgPD1JEwt2zlWX9Td01MEsM_bLUU"; e_fb_requesthandler="AcJh9UY_swjNmULpE-0iC4Ebf5OJb5mkmP1HCboKTubxGp1nC1Az3hChEFeUPQS3zVqk5SSuuEc"; e_fb_requesttime="AcJawy44L0G3e7SI15iYOHP8PIV3jRjw0KjMI_0eTP_coZhzzG-Ca1P8DX2P6VC__MRRJF3RKQ"; e_fb_builduser="AcIGxdeZbD6mvwQ1SjaR1lxZN9r-c-yoWRph58muCSR4p-IPyXabFSJow5qF-F-_97M"; e_fb_httpversion="AcJgAbsI3pDsVZKyeRdEwRg3hAI80FPTKF--n948Nbf6MJlGzpVzexrDslPj"; e_fb_binaryversion="AcKNhZ6T5lSeFpaDKsxf_DMSvVAXdEv2ruUP-TMjvfgylt781HbMKy5nlyinAJyAx6H0X3Z2_3k0i6FO_LwkXrw0t_fyivkHvHo"; e_proxy="AcJwbyI8uCvEtaNYxn5KOiKSwthE_DWfyXDPO50k7bRZGHba-p2xrCErs25xiQSxG-FZXH88c8D_83I"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260703384050870"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 14:42:08: Error on send one message facebookId => 7260703384050870 03/25/2024 14:42:08: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AVPapELg3UoNso4yWQ4RD1P" } } 03/25/2024 14:42:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/25/2024 14:42:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/25/2024 14:42:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260703384050870"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14294548, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A857CCyvsdkZ-DbBB0ODWFL', 'x-fb-trace-id': 'HKcHXrpTUss', 'x-fb-rev': '1012282625', 'x-fb-debug': 'aqAPkd4Pyocz5G2zRMMpU+J/ESon5zBu33O980GvUJ5thUlGMeEOgVSF7rXIdPpMN8+PbScYbLi57jUrk+zblg==', date: 'Mon, 25 Mar 2024 14:42:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLydSQJ5MEC5DIejFvDmjR8VhMOQH6AiyQDdKL3adwJ4dWcRUvRLnjW9Op5Jg"; e_clientaddr="AcJBDzgi3lpkxsNLPKbYjxO32IqrevUriKoBmBZ4JVoHlwHmkGRO1vrA54cR82YZ02NKZzt3JkQOCruKxkS5p-1ExGl1e9S_SLREtPDoZA3tTHSvhw"; e_fb_vipport="AcJ_Iaam9tlj6nN9Sb-o96exL06QYBXKRxBiYoh5_P2QQ7lIGdahtDFqJtrZ"; e_upip="AcLSq1s5t_KfwEVlj0yzVoGwEy90ZAQr4XVvB1ERuL-pTZnhL3KTLm7iqmxvfN33e1JEKPvL8mPwb2JpUlWEeiKeMzSAbCUeW8I"; e_fb_requestsequencenumber="AcKjIn43WhxnnhI1LdTEDJoCXbN9Sj7IBrpijvGOcxIXNEfDWm0rEkO4AB98"; e_fb_hostheader="AcLDpJGdp7vOBXmPHINHRR9dDl_kWo6Sva-A2-j0BgxniEsJR-TJiSW5F1y5WnjZcQUqQELTogQfHyoV"; e_fb_vipaddr="AcLiOZ-DurEnxVPwUyQG2JN6JCJmvHMUALJ61RUZ-wpCNlI-Lzux4KR0ZNR20lPB-2oTN3BfACRqprs4Zdeq49RMCdjmNtcC7A"; e_fb_requesthandler="AcJ-Piro9nuFQ8gXMP_MFduYQDy4REV9D3UKv2TVX3mCxqF_B30obilDNjM9c_NiNJcTZyzIozo"; e_fb_requesttime="AcIORqEzxbCNvrmxEbRltMr1215OB4D_NNSGMNPnsgPqoTByezQ4SGrXyugXFsW_3EPrJXYkdg"; e_fb_builduser="AcLsD1IyEpbG90dYLFidF9aFkeVHcRNdddAtPEY-i3G-qR2elOlj1kHpRuLoaddYpTw"; e_fb_httpversion="AcLRTxinPioQzSQrt3WLCry6-vG0ID11HSB88vwAhsUIkNTxNyQMG0cT1dxe"; e_fb_binaryversion="AcKOmAxKjmYRfzZh_-T9q84tsyAadRyZFWa7OIs3-Yx-pSwnpAR--h1PW2lmk9VRVUUmioRlGkGZphXgjGz9_v4DiyhNkitbEVM"; e_proxy="AcLLjfwEEqD0xsNfjHvKn6AApCYupAfJAq5lsjlxPCLP66Fo1S646EOdUYkKwrV2RwbTxI_bPUgu6_IDU6dN", http_request_error; e_fb_configversion="AcI3yeDpaweByC4I8_V1DmpmHhnHVh9fkZyEHg66Zh5dsLUnez_kVmSkmCW2IQ"; e_clientaddr="AcIydh4KLvfrriogy-6_cXJ2vZPNB3H6cyeail5RRYbKcwlv7w3dvylow8jvXVth5VKSRWMKRQ0o8S_Zgw"; e_fb_vipport="AcKQq-9pNHEI_NZqNqDMf8XTwSvxqq3Ev8lY2aTuLVuzXI6-fOHHDQVz4zn6"; e_upip="AcLYAWMdu1CayyPUTswo-kS1bh67y7b8e8eaOvxdbneb8fMNYCRo72u5xSkeCqmQ-57z0k3I9MFpzUX4QKKNjbby2AJAn6ACeg"; e_fb_requestsequencenumber="AcIfldS3BdWrlKt99L2r5kB1xBrgaMdu2qPcujAc4WMlnPDoB5Hp2ufm1A"; e_fb_hostheader="AcIl6oW0WEy-oIXHN2E0F_GFwMJHrCaRKlG8H5f6xqqGUSERDaCnVkw_Le47GprdWVKkdXISNKT9iomX"; e_fb_vipaddr="AcLXtCD0CtlW9vrEEZ94eh_emZyqIEZHzhlDud6E9tUPb1scKJWy-NqPG37S0R6KpBjBXsOHHy8"; e_fb_requesthandler="AcKOMjxGgoOZmr0aAzNyYOT6Hn_u-vEyYqeXnLNvtNlbnNnDWRtjVuxIyiBI1Bkkhb5L5F2x01k"; e_fb_requesttime="AcJVWHRwd5_aONcZGwwMnDcdD9MsQ82DwYsu9OKxANyporvc6I0OxvPiWuGGA4MnXM0ZgVuLuw"; e_fb_builduser="AcKnTv_IgJkIf-Sf2yqSGUQ9WjBgoG2R6HvdtpPFAE1HfyVfKk_p3uxMgyvaMkN-svM"; e_fb_httpversion="AcJv-hb0-UlU2OQ3fWJR4Lxd6P0nLdhqSXHVzS_H_I1UfLs8ia4RTlWIRll7"; e_fb_binaryversion="AcIIjxGppTXbEfn8Z7qruEIOWty5Rce3tiXEsWun1GJxRan5zVd07eL6_jOi4nZtO_gPk_okgCcduD5DUK0pepqk4ZMzvpUC284"; e_proxy="AcLZjaCYEPnVLImIpzhizU_xKZ7keQ6-hOSBHG01ncKxddXwcn_EcxI_qkYbbP6cY0jT7Od1ynWelzY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=183, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7260703384050870"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 14:42:14: Error on send one message facebookId => 7260703384050870 03/25/2024 14:42:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbW-bl2NDVhAYcGhXchYQGA" } } 03/25/2024 14:42:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 14:42:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 14:42:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/25/2024 15:28:45: Request bot not found: { id: '138868933458303' } 03/25/2024 15:29:07: Request bot not found: { id: '138868933458303' } 03/25/2024 15:29:39: Request bot not found: { id: '138868933458303' } 03/25/2024 15:30:22: Request bot not found: { id: '138868933458303' } 03/25/2024 15:30:44: Request bot not found: { id: '138868933458303' } 03/25/2024 15:30:56: Request bot not found: { id: '138868933458303' } 03/25/2024 15:32:18: Request bot not found: { id: '138868933458303' } 03/25/2024 15:32:47: Request bot not found: { id: '138868933458303' } 03/25/2024 16:03:36: Request bot not found: { id: '320637341295349' } 03/25/2024 17:13:37: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7335556209814924?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14320438, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7335556209814924?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7335556209814924?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7335556209814924?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7335556209814924?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnrndRlBGoO8kvUuVIeLOj0', 'x-fb-trace-id': 'EaSW2LUPXFz', 'x-fb-rev': '1012285611', 'x-fb-debug': 'npAo/uMz7Lf0bfj3yHYvGEbTUBHjEupJw2b7WiwIBerdOWN199lpe0O+jTYaf9CuNcZ77k/z2zMh1KKbxLJmTw==', date: 'Mon, 25 Mar 2024 17:13:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKgX1wIy8OZo835JIXtcxHzl4CaEbWX5V2wtRkZoAbYSTRBg5J5__oYs84IMA"; e_clientaddr="AcKij71Ql6VqRe6WwdL-sXSakVOkM57e6Sh4mYqOUkMA26jv-VECB4bSjkN9NRtcPb7puZGQS_P3DKuWGxNhk13Wej5qjQawNA3JVy6TweP7Qb83"; e_fb_vipport="AcKK7iLf0rHiaM3_H4YLrCP1G1d-B16ijZrEkXxhjm37sy1-nHw49c58Hrcw"; e_upip="AcImxNCexkBjChPI7iHUQ_LDQBkQ0a4Q0KBRDd6eOLU50Mfle12d1IXZNqLBnAksEp1qy3TWQGcerbstuz5Xjc1FGL_8_9FlZ4M"; e_fb_requestsequencenumber="AcIHw2tjECimFYMAy8Ov3xZxB_HEJe3DPEnu7zG0EfkBS2bi9tOgKYqlo856"; e_fb_hostheader="AcKkzrNOO1yO_PIs8DPtEjUS8MTEHRNCUYnCRpJTqlrAIHP13GY2Gn2LJKcXwdbV9yDieAMNaIj-0Ckq"; e_fb_vipaddr="AcILSCQ4-5qITYemikflGsEIyT8oGozkK4mvNE24_Aj2AzqyZfyhVFinGeG2F1ZB18oz2HrHph8x0T2O4FDVrRmNmETZJ7oxhw"; e_fb_requesthandler="AcK9xxRG6mBzcw905Ec4TLpH_EUEYQMj_pSauOdgBISPL-1j1pSxjItZMaaMhIFYLGYwgIeSPbw"; e_fb_requesttime="AcI9PWLyS_4f0LholyOQ-Sf4EMPKf9bwJ5c680Z5Kf8Em3VY2EEnuamcXYc-sGLGy5ggxN9kSw"; e_fb_builduser="AcJlTUkyxEG7JqWal_wPQSQSTwNYphA9q0dySj8ivXTLLmzyp1JdsM08OlZS5h9nezw"; e_fb_httpversion="AcINWgQXpRpsSd1sbp_5xe9SoQmNvfSbyK-Nh5w17nlqViL2f7oYHFm9uq7s"; e_fb_binaryversion="AcKLyo8qwqKM77HizhrSiVsmCR_CuQABMvXpdWzdgbjwXJVpdC9ZMMIp5Rthj7Dy8Qa3ePz89fKHuXx0y8ULLN08cmfjlYJ9U-I"; e_proxy="AcI9TXWtX3VPYGgLLTLHLy0CXLfM7I4JQTu1wTkF227ywv-dlRjWL3O_0vUkkPnPfwfHYZVPmwc1lRgkZI7M", http_request_error; e_fb_configversion="AcKYL4eC8VRP8Q_GJbzVbC9MWiJzRhESV6nw9zLZpDkU3CyH_RLob1kt4wFUBQ"; e_clientaddr="AcJIZvAySFH27c5pt-rsgpKij-Xx-oXiC2WOXVSgcXw200XmaPK4X2YfipVmj6x3phaNP2OlioMsG6h5dQ"; e_fb_vipport="AcK0B3unjvoaO7TdFT9gl-vVTwiFnJxM9kCXZJpQQ2FUgM7zL7V1ic4QBKdK"; e_upip="AcJQ7hG8IjiThkyC7VVbCkcoLKzRmkfdZA5OK5SbzpOydhk95HcVv4Muwlzo2dTKgNH9Cu4UfkQtCFPHxIu-jZANqBYUJUCaRQ"; e_fb_requestsequencenumber="AcLf0vevZLSYxGOBaSlvGPK8kKFYnABTU-eB-oX-kiTfkO3_ti7wW3VVeQ"; e_fb_hostheader="AcI5LeiRF-ATTzRF_-9spjkWoNWTqY6wrlOPrxz_zu9wja9U1iu8ZRVlWTSuOaUnDk5c9faXGg1dbXaQ"; e_fb_vipaddr="AcJqeNnbOapO8Mm6UtyqUQqrsxL4zzYBXOfnA-PLNHE8J44vhn-FmnHVecmPxt5r1ffThh21wQ"; e_fb_requesthandler="AcLSgf5VPf4EZQrtR-sLJOFkeNX54kDOxIUe2c987RBMc66yhLkyexqwYqgU_P6Z2uiHHRMBheQ"; e_fb_requesttime="AcJr6-30Z7lsWd3WNLPkzRrmX4LZJMTk53HL4NmPwxWhNignPifwduDbz0ExcDpRe-BZ0eCRjw"; e_fb_builduser="AcLAodryPHQDuWO6x9dipRO-7CyVPoSdL8CpwfoB-OefH6hGMYoldI8Yn_NNdKo1pr8"; e_fb_httpversion="AcJqahtQUmCJSeQZOq1ViF9gauJ0KRm6WAGUnOUWPZ7UvjNBlxXDtOmwLjYZ"; e_fb_binaryversion="AcIsfv8pPpOs-QROR_Bhs-eFa9poCH89qkjbXE9_WZ-2JaOKjJNOuakR5ITx33hMqWu4W6vihVaXOvkm_LPeZiwl4ZGxvUO7xDg"; e_proxy="AcIKilfQwzsC4txywOpAW6thAtxOb70sJnCgs7gYfEdeWm2ulCUImQmat-WnuFEkZLQfXf1JKhSOyFE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=208, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7335556209814924?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7335556209814924?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7335556209814924?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 17:13:37: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/25/2024 17:13:37: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/25/2024 17:13:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7335556209814924"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14320556, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzNPDxKo6xxBMN0UuLNskI3', 'x-fb-trace-id': 'DHsdstv3sxn', 'x-fb-rev': '1012285611', 'x-fb-debug': 'JqqxQKFNVvqLhReckNWz8BY/wryQuEhM0tFXZpRWXT01aFZiwSTg1DbjkILa0CIreGLHkhr0GobKTupHbJi32w==', date: 'Mon, 25 Mar 2024 17:13:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcILMAbZm8UOeHNjlWeCJbeYFD6FcDnM2G93Y0rkjx3WvlFd-PEMl9SyX6C7cg"; e_clientaddr="AcKEmuqzldVZtNAAHfNYMVs5VYXSYfehBNl-vw4ABphAFXJJVHUpZBmJRZ8gQa7OrRkYfgAC8ONN3HU652mGsLVn9t3RhUi7LSgZSQDT4_szur0d8w"; e_fb_vipport="AcLwibr4c5Q4Dk_OGFiXbiMRBPLMxSWkKtlP7a_SH_whmAV3UpaLd9f_P3g8"; e_upip="AcLpZltPLJz-xSQDd0wDU39EZvPeoJlinMDxwJcp_JrY4WAJj8VCXsbwYqPt2_Uuv-v3vk49ry1aIJJfp9nbbOkH0M-BoVaPAA"; e_fb_requestsequencenumber="AcLCpdaKgBmT-9bIAGDzBNbSXfJrfF1EHj8oR-PX1dCTvxN1Cm3sxYiT14K4aw"; e_fb_hostheader="AcLHs72tVwwq_VUdJOOZxEu8TaiKHomrwg4IAEG0LpwQo54l2RzoRbYQJMOSZ078Ya3e74x4w2XBL7na"; e_fb_vipaddr="AcL-8YbrDB4RnHpDSEIM4dVs9h2GYGLzkutSZrjk0cSfC8N9LytVFWxpP2R7JSL3g607OFg-PSznuR3pjIXxaWKjbtB_UziI0g"; e_fb_requesthandler="AcJBT9YE-4yIDbTqTXsa-bnSKHH6irIRuOEp7f0TFb2X3cQiYLm_fgABfgwpGNq9D4tHwIHyib8"; e_fb_requesttime="AcLkzuvK8-ORfb4IzZPkG5YbzX4ShWXT1TV2Unpqr7bZetX7IPfOB-AA_xyHK3f-n4YUxHQ8-Q"; e_fb_builduser="AcLFxVbPC97MLGHqphOK7kqWdI1SKFW-CE-kW_7JXt2u7yODtV_ARG2MpIPa6ay02N8"; e_fb_httpversion="AcI7-SAp0D7dE0yhmMx79riy106KAB2rs83CZIWqfr3_NSWnZ2ra9kFgYP-V"; e_fb_binaryversion="AcJoFf3--SPKY6qVoMN43wlWBHIRrjrqz0vzD8nUcvB6GUk9AkcoKYGRPgUEc_hIPLwiPRgXHciyPOoE7hnLCX2Nl2Ds0PgDeyQ"; e_proxy="AcIqCW8jneNngdBCUYMg83_OtO-Bs7TcuSaPqJQR2FVusnt67kgVsbTuDKF5anWEDqRPBeq6NsC6lStiHfSQ", http_request_error; e_fb_configversion="AcJITmXdio0DVA8xIsSjXrsAV0OXJSZZCWJxry0wgrIYFwswomUHj9lSP19beQ"; e_clientaddr="AcKeiarWd0Ik3sjA4XAFuSthR0OoTOR_pnRQkub3B14Yx8AWeFe5Jgav0c6HlASEk5YeQuG_POD3ldgeMw"; e_fb_vipport="AcJm0SqO5jaXDC3KisHNgMh0zyrZptm4EOIVu7lbalXdExRWsIop-PQXvohk"; e_upip="AcIXHq1yT8kysMUhWdzaM5dbszKZK-Nx-WplfFqbnufkWUSfSEBGTQ20847HAaNaK5pBPq9Dc3KOdO1f0Q4a3epJOC-_gZDajQ"; e_fb_requestsequencenumber="AcLhv-IMKKpktzU4X-CLwqkcKzb7uituX_FsQFS9-Ef2nPVuRNyOplfvCQ"; e_fb_hostheader="AcL7vZ3SO29QCrWVkvzvdI9axsy92y7fQcLAjVLQXUD-_yAE-eAY6Zll3MCY5sSKxPD1zbS4nCt9u7q-"; e_fb_vipaddr="AcKHXq8Ae4CjLIQMOvqKT84A4KRKYhG-A0p0KQZF_ZzXoZnJzILpjDCH6D2_ig0eDR7jCfXdaQ"; e_fb_requesthandler="AcK3vNd7CX1wa2V_-ozrzK7IryXnYue-Vk9enk26GFddO12wtyP7Qyk_IKNbrJGaW8Q7NvrUWR4"; e_fb_requesttime="AcJlTmvVbr1hN7OnOw7k74XieZH4Hdvix2aICENr0wCYxicujTh-7S1emSxgcE_wI6A8JKAgbA"; e_fb_builduser="AcK_LU3R1tblEvDw_87ogqvgOhxQqzMR_-H4lwgzEAOoZSuvkQOAnGJuH4fUwAhA4go"; e_fb_httpversion="AcKLyqmq60R7siWjiCtCS1X3jyxVRm49UfWG8QxkpSVNJ-AALB_aVopXGAwx"; e_fb_binaryversion="AcIRw4q6Pi6hDfpsO56v_bbOQ9CxyFlym-YCnUqovYzl1vh7xU71XWbBPa8wDlTkr2l5hCuQySYxJyEvxlvqoqtt3r2reZSN7LA"; e_proxy="AcKfYctpKmBWyfkj7bwlg2TpCOu0MbXdfsOpvqqWTFRfOggbsw7jK0ymqDMgOs3stnFh7u7OEegqfXc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=351, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7335556209814924"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 17:13:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 17:13:39: Error on send one message facebookId => 7335556209814924 03/25/2024 17:13:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ARxsRXyerUpGKoNFfEAJGR9" } } 03/25/2024 17:13:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/25/2024 17:13:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7335556209814924"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14320641, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1rSUW4XXtNt_x9ax2goaU_', 'x-fb-trace-id': 'CVsqQuoGyEt', 'x-fb-rev': '1012285611', 'x-fb-debug': 'h8/GrI+uEB9rGuxSlldp2FKX+uKB3za2pTZj3iDgA2GeZA6Jfr3uPCTFcZ08bKcAcuWn+d0GdMsD9Z1Z2NpUew==', date: 'Mon, 25 Mar 2024 17:13:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIZo4KDgFq2a7WwHAc6K5sQEliI2S3ofZH72imnmYiyCvC92Yo_a3p0oNJHqg"; e_clientaddr="AcIpnjYdmqGwGz2s9__pC4gpZHNmWalCnuyG8ctoJHYQyCspFNQeXYNvvS8s6546Nl9KVPoiUiAz-pp63qTJzGL7HkN3c1y9MswE2DhAvfafWLqvGw"; e_fb_vipport="AcIDpBpVwhke1VleI8b24e9NYBNfzd2tQm-olD6R2kbdPhTMVqwkz5zVti4z"; e_upip="AcLbG4gGOi3Kj2kSlOMAucGKWAfi-k5_D91k36Kxv7AhpLbglHHjLTr5XgPQMU3u1mBoxXSFFhh98_oVZW3hHoZN0FFdEXUlvw"; e_fb_requestsequencenumber="AcKYvDws7Ixq-61xXt956dpmLtbG_f_Oagau5-cUQnOyktJIhDaIRgaFfYg"; e_fb_hostheader="AcIyGuvEyrOOtFZSh_9jMnrj-WNwiVgSlao2dshmSAEHS2tj-87a_zRrTsyIFdb-46NA85mD2M1GZGnN"; e_fb_vipaddr="AcIAJ-K2tEm0xlYN1WJ4adupPbx0fVBgU4XUkaVqqP97A4SC0-e3E2WsXgbrxqhe53WiwXtF_excNKPUQ-ZGnBM_WigSM46uIA"; e_fb_requesthandler="AcJgorzqR8yWiozk4UKNwcQ4arIBYPRir8q6bu_9N-w4fG-6UxYzEDSppxmeHdpa18gky7l6ICI"; e_fb_requesttime="AcL5Losm70qI8F6pUnfynzp0_FDwXAPeA-CR5fHNgWndjqLHxQWXK_hq367dDm2D9nNBH6Xisg"; e_fb_builduser="AcKO8MXSr-fbKch_kcVyHVzbO00ribOCw-477al564XsK13PWfn32vTG0J8Gr57xbIY"; e_fb_httpversion="AcLRneJPO3tEhQPqSpOY6zuHUedLE9XSdsR3fDZLYf5KdqvhnY2TSUhgs06I"; e_fb_binaryversion="AcIwY-gHpQ27v___QhNQIfVcDKEN6jQl_LUNE6ZmuaKFLFlC6xyF6l5MtBCDjMRurhyBSoN4IO3V6be0SVldjp8_8EXRCiFatAE"; e_proxy="AcIL1rO4vRA_0EvZov_jUGdIOJlR9P3_I8ZfVSQDJqUBpofOn_W-fnySPIOisqtf5jgu16Kui2XFJDnrA1me", http_request_error; e_fb_configversion="AcJkWhkXV7dz1P9Va7SgZJoN5ujcwhhvz13z6S5kYgaXVOlBM5TgHQ68llGgNg"; e_clientaddr="AcLkeHyoSa8zhZhF5yljFpiK2nMa61cWHIPGbA5bGANmErQ357Dzc4zDIHtoDTdq6D_f6g4A3WnySg8r5w"; e_fb_vipport="AcJulXmrZX9G073bX00BOm_vjv3R9JrUKP_KhxvicnpaGZEqrlf4zJ8uaHY9"; e_upip="AcIQ-DsDUPm-J_sWDM8R7jw0WAa7HtnQbX7OmamjnVwEgVc-Gtwl4Hu0y3QUlkuspcjTOnf92eVvVD_lk1V4gFmPG3grqVZzOQ"; e_fb_requestsequencenumber="AcJSJ5z2apDjVzs6hRlcneLVs7zvC4dGHd45flgwjf5VqpQlwWLDTSxLug"; e_fb_hostheader="AcKSewg7md0vE1X59HOROnTWLS5pz8SKTxSsXAlYGQ5tVVrja8Ixsn1FpxKjAzZlGe3NfVU3nwFPTef5"; e_fb_vipaddr="AcJAfrIi21jq7P44jDWFyEIi8eBa4yzKbtTfPxq5RFNVYfTTNrTOv6zBR-RtIfiNtNXFYpNEBQ"; e_fb_requesthandler="AcK5uaq-yX9FEtoIoDSKRbQ4340sVUlSsnpe0UZoPE_v7pTo76tK4NN6jOx1hrGh1kYF1mB-FYU"; e_fb_requesttime="AcJhfbs_cd08ZQubUKnnCsby4JetiLIdGaGECk7GW_DIAxSwkSoG7SbtbBxWBWw8HIgGUijNjQ"; e_fb_builduser="AcI3fx4WPx4R-dHc--RECpNdBKRoetXOR3ZVZ6GhKik1wvzvi2igTHHG1kCuscW8-YQ"; e_fb_httpversion="AcJds2qkY-gKRMYggFQcLw-IpSNyKsz4lelFHKCrid_0-gNVWQsRaV-JiCb3"; e_fb_binaryversion="AcJ1F3eorRNB1g4Iuwn99Y2J5raV1BS8tXNljFQhrPic4GUk9-qfb3qdCfiBUtDEnUbN-Tt0AZ0kdyfs9bXkOx3XRQOVnvlDdEc"; e_proxy="AcKyQAfaGkTcmz44C_JPulYDhROI3GtwAXyts8v-uSPKtIy6h5hi0mM7w_n3IRGS-oxWiyrY6CWQtFY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7335556209814924"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 17:13:41: Error on send one message facebookId => 7335556209814924 03/25/2024 17:13:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Atsq9kFXoTSAAmncPdNBoU2" } } 03/25/2024 17:13:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/25/2024 17:13:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/25/2024 17:13:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7335556209814924"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14320780, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEyJYqTrXWM5NDE8Af5aipx', 'x-fb-trace-id': 'DrP043yFtX4', 'x-fb-rev': '1012285611', 'x-fb-debug': 'VaGf7EoDXHM6UVCgquzkWmMoQpZPRcbJGNCF5iBHEwQtlXKCDaS6CIJHgqhJdyIl4B0BE/G90X4A/1kEBd099Q==', date: 'Mon, 25 Mar 2024 17:13:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcINWfgiOoAubnmth7mFRPEtYwdnY3kB9oIUQZl4IveChRYO3OmS1Z2Lun_mUw"; e_clientaddr="AcK9x5wI9DBsEfaJeVen_oSDXrGxT1ZJqx7vzRD6hUVEc6GWjy5rH4CubUHT0nn8Bo6e40sertGTPY_GImxwX7rdgplREFWv1kEneLbV56W0GZc0ig"; e_fb_vipport="AcKaTcgd-ZrDIfbOfM03jGChQVhUCm1K6gACGD6DHx1x8bQJzMdKv4wC8hek"; e_upip="AcIMSEUSZhBbnSai4FQj4F-yssZuOqJw96ioL-b1opoDzj2uO_61ageQ09zl4imMnHbogZ-kdQ0xuguxwCz_6iEZsolO6MCUGw"; e_fb_requestsequencenumber="AcJmxeomlW7T1yWJx8rCfPAzq1eZWDyde5ZQQc8Bp5r_aOViTR0oFuQu3Lo0WQ"; e_fb_hostheader="AcLOsB19sTrf8H3voyQQYT2UkVApmQK8A5wXmVxHS4n55B6lG_C-xA8jMFZ8F9xS474HnA_oemHO1MrK"; e_fb_vipaddr="AcKTiy5JXpLNIsviNo9_Q8XMrPdQwIjDJTXXBTOxeLjn7rPUtOd9x7p7AUJAGlYLsFgA-g_Air_xycQwUbDCOLslLMUZG6geSA"; e_fb_requesthandler="AcJQf5r7I_BCBrPYP9q-ASleOmTZjojYpOqx4ExlFeNwEtZlT8RxXSL3YRdkJBZCVmxUN3EGvys"; e_fb_requesttime="AcLOi6_t77rg123Opd5mXtLw_KNripr9tCUs4jQSWa8cBYQ62M_5-DdYukn7NmQwhg-oGS58oA"; e_fb_builduser="AcJNAb75XEdDAYXA6LB4ERpqwF1i9GYMMMumOz8dxxSiuFdEQHu2X6getNsIhThX_AU"; e_fb_httpversion="AcIT-SjF-Fg4mgrQEwmqWnq5D16dqRSw0EOtrbgIa1vaW-6C6d4_3ABScS8B"; e_fb_binaryversion="AcJOC7oAdFV2KVuUiWFDT5E3REGGgqaoCZ3DhznpeQFFJjJVNyLjo2iJKDDHW2cZVKp9e1Kvw5uMg5Bo2zFCjQtYPFliDWiitJQ"; e_proxy="AcLHA5XFi6Zy3YoTUiiVdezoK-MlFPC_Qj3c0iornfvOOGa5hB3s4q5A6IvkAw-4yoB_jpAZRwgqDaHC9SRh", http_request_error; e_fb_configversion="AcJnDneQaTFOJ8doVsqhnwZtZedvrYWHSPDdZ6OtGwlEZWLt9cv49pwISiDG-Q"; e_clientaddr="AcLnySzPkuYj4QPheyFnfk2NB6obEefj6YSB8Bz7fkFgKmPcS_EcBKwegj5xsW5416WQzUVMiWYHcnvZ_A"; e_fb_vipport="AcJMbvyR9cTrUCHUibdslPMgJc55Y1wqp8vv9yaVYmUHnmtx2fthnumOxk3c"; e_upip="AcIL_ioWdi-Hq2ZmzN9dqmN_Q4OhyXdbIPTb-AuHxXTSl7lL1fJu268DSSkP1tMNTYNkiwgfhYf5fygKyxm5c9bjBUpe7A_caA"; e_fb_requestsequencenumber="AcLEb5ANlz7iwZXg4L8qdXOGk4jIk-hURWyT15bUig0IGDP1o_1fVo3MaQ"; e_fb_hostheader="AcI53sY3a0LezUeO469SlJOl0UurBddkj4UHo1_Ay2Z96npLiXZfsUQu0ob7SoqyfdbezeRxUwNqCf-4"; e_fb_vipaddr="AcKpRQRIw9vK7y7Vkt0Z0ma4dxT2owWWGdryMy2-dApuwMousB_vBxYPKWM9ZcxDCgeWdqaRJw"; e_fb_requesthandler="AcJ_OTdXTskRzZo6_DNozGjaGuJ1OiGoZsUu6UOXkAG1QzDNPe0Ukox-9JWNvENGkSKOPmkNz0k"; e_fb_requesttime="AcIxwUSqIggb61pO-VxXPmuNJ-iwa86eTGpPCc4cXOvUcxWGrqoBq1u-8BR7tRnWwC6yjYomjg"; e_fb_builduser="AcI19Gu_eMf-rulxqerWzObDeLCUUzzLYnOaZaFy6z3bDDvNQgXNLnJl30t3UR33Ne0"; e_fb_httpversion="AcLfnMAZGXnx0OmnlGI9svLKka8tjyOpNCrepQdsIpzCB64KR8Xrsxrw_8K7"; e_fb_binaryversion="AcJthwfYOo2DTZ5lGmFTi_YjlmW7-U8vJ3A4x3_53GxE_1CIKwDE5PNEzxwuTgz9uerJx1IyU9K_O-y5s8Y9RebczuDKva59Tyg"; e_proxy="AcJs1tzb-F6bHka0IZbfbOGMmh-ip6BLaeSahrutsNg2Y1yTU5wywbF9TxyFDz100BfK-i1K02kbuo32"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7335556209814924"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 17:14:04: Error on send one message facebookId => 7335556209814924 03/25/2024 17:14:04: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aavv6TE6dW-lJww3uyOFrIY" } } 03/25/2024 17:14:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 17:14:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 17:14:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/25/2024 17:32:37: Error on send one message facebookId => 7335556209814924 03/25/2024 17:32:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A700kR00iNLO0GwW1dvCiqn" } } 03/25/2024 17:32:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 17:32:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 17:32:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/25/2024 18:21:41: Request bot not found: { id: '215725838493727' } 03/25/2024 18:21:42: Request bot not found: { id: '215725838493727' } 03/25/2024 23:05:18: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25186733717639557?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14380076, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25186733717639557?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25186733717639557?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25186733717639557?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25186733717639557?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aau-VkLAxtj3EIhEeVss4QB', 'x-fb-trace-id': 'GiO199CwIG/', 'x-fb-rev': '1012297038', 'x-fb-debug': 'xo9BuU+TskSJ7qRcPFcmjieb92qYZtie1ScUTNr6J2vmuYQmyW+xNUrhXRk9Xf7GYpQR/MSrpU9tSy/ZKp6VMA==', date: 'Mon, 25 Mar 2024 23:05:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJV3-DlDELcl6fzyThJczxnhFW5Z_TdrIiZbICEAzjc3b7Out8DoYBvha9v5g"; e_clientaddr="AcI1JWYEMFFE-I7IgsBAjNJopwlTk58VbCLPQl3sdqEYm45WWYw59AJ3p9_IwmMbL8idzSIMAVfgd79mN_5FubFSFLi2B1axDuzLiV9_WifBhde7aA"; e_fb_vipport="AcKfY6SbjSBUK_sYI2gmrcezJA8Gmam91vDSUQYTz2YrlkJNxPv8GjDXnnAg"; e_upip="AcJyK3Ax72Cqv_WeNLJPuABYd-PdmVd_mV0SurucVjJN6RvDvctZ_yKBd-5opCmkrgJTIzeghuOjKHRDCNihqH3gh7Iou3s"; e_fb_requestsequencenumber="AcL3mcKcUpzbNSu-mkB4sPNrFFvipRMsgD0rvnWYsPrZ0amkd13-fkCo6cVh"; e_fb_hostheader="AcL9Bg98l8IUIQHeyBu7sgbjoEfjJgoE1xwcpSaLlYXkxWUwgGRBaSabitumjYEMp_p6SmAhQZIJ-PnM"; e_fb_vipaddr="AcI8A5MNbHwPtrjJTAxZw5qQRXaV9ZMVhuqJV4MVUAZSteLGm8AppC9IwUXLfJ1AgSsKPffSTLkyRuWvKyxBGUf3_mGq7XqtMg"; e_fb_requesthandler="AcKwYmtSnA-VIP8J7dgyRVs86oHAaBClFLuMSh8vODO5vQylXSxnInbqhESygLc0iO3oISc2MZc"; e_fb_requesttime="AcLJ_NFLlFQT2Mt7ofYABAbYo509T48hgIFS_LNp8_WHTOE32JFCJ-XeqyigrPts3cWFNNrv_w"; e_fb_builduser="AcIGMDxgHD5G7d-W_UqI7HXtaa-VZ1JF6dOhDQK-QhEPCieMc872XeRd8rpaPf0rGw4"; e_fb_httpversion="AcKXylqAJYz6raZwCVr12FoecYJtMgVloqb3fhzw0vR42kgDNLyUuI0teMAm"; e_fb_binaryversion="AcKXce5R3PBgFDxqICtDB7j_iTLtqRlRUGt0cbjMc0CRUaYGEseVbLpvtFjkXIqlgBmOS1c7a7C-X-93IBCW9p_XW99Zp3gqnmg"; e_proxy="AcIFcyztFGR2Hxejb1JP_U9w7hmFdH_SQrPHuKcdMTiL3Xiy0bqUyp-2NL0VtpratSRr2Vs7Hm82lTVDOWaq", http_request_error; e_fb_configversion="AcJCYIApT2pddHuywxh-jMG8hbT3rkIvMspBwX2vCoqmKMJ8O-0SM96eHPlu9Q"; e_clientaddr="AcL34DCI1TYptrm9OJS7xvgpBVMjPymox-KSgHXm7ioKGk579H3V8i-jTjNWzDZk4CETxOlH-7ixzY0qDg"; e_fb_vipport="AcJ_kd1MvMIFXIHRvTpJvSroNmXDYgkvrHJncpzWB5qUf8g9ekL40Up6Jv_4"; e_upip="AcLav-nBYrEDE_oz_6hSnb-yJrPlWfj2sRkE_NaZMjnYzK2DKGrLxPN_T06UOfGB8AYDb8hw8NMbwA8kUMY94G15kOEyck1j-g"; e_fb_requestsequencenumber="AcLeFV0i8Gh1qSZKuaqtG53OmTSDnTrdVerTAjzskoIT1uDCFcYmoSiioA"; e_fb_hostheader="AcKo7GNjpuKsQbvPTQlOkqissZE-sS9ZWl1vhyVgrgEpIBxu0Kixtd6F0Vdx0lfTHnojsZaJRo9LC64V"; e_fb_vipaddr="AcI2b26BZ3iH01G59ni3Wzjbwksn3ohyMfM0yJKslDfAqglcfyLeoi1LmfMZsV7HSFnEv6qPrg"; e_fb_requesthandler="AcLfLWYIGqee-labCKqoO_VgzkuQqM2q8pYKT22WYeW-NGHck9TusLzQ6oGgeb_Xs2AGSskQbWk"; e_fb_requesttime="AcKUbUT-dnlIXdJ3-zSViW7YBQJI9AldaXuqOLLFcXAwtz-W5I9rNmU8SIHEvwU_HsQOYh8Ygw"; e_fb_builduser="AcLv_yq7CF6sTjYxUqe0Ij7HTPOlJSW9Njwx7F1kup34k1f8g1CtDq_sce9ivVt9e04"; e_fb_httpversion="AcJ09TomchlYrQsZHatlDVM8u32xlX-fMl35COVinCAYv5TmfTbI6PrZt0U-"; e_fb_binaryversion="AcLEDU_560yFCpK0Cqe-sMG14oIQQF4c8DZVN82P7DLLzxTbcdzBHdkFFnXvXcwK-w_XCCXLJSC4Dri0ApSuqWhYIldO9ehTJiY"; e_proxy="AcJGWqKu1HNp-jebGYysXfx5W6IW1_QY_p9X7CMKgEoR9dsVglxmxwbwKnY0Ukg7MytzCd4P2vrLrH0"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=206, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25186733717639557?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25186733717639557?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25186733717639557?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 23:05:18: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/25/2024 23:05:18: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/25/2024 23:05:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25186733717639557"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14380194, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAz2zlykXEf-Y0ZUQaUNCMd', 'x-fb-trace-id': 'H0gGb1BR2ps', 'x-fb-rev': '1012297038', 'x-fb-debug': '0UigJsuifLzF62XP7OlZkbJJTfUhzV3kClNrIYB1bSDlFSW5HNmMfe8biZhrq3q2xAy8aYuj8RNgjoNUNoMAWQ==', date: 'Mon, 25 Mar 2024 23:05:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJJp-tr5RiDGTLDOs9865HZWZ5dKw4mUxadTwbB4dOJYU1tRtccbgLfne34qQ"; e_clientaddr="AcKJlcScTRoISxl_B11bEYZEPnNzNNCs5Fw1f7SDshpzf7kEX3CFzxNMFLOiMlSppq-WsegFN8LhYidm9GPRbC1csXky2fLV5Q3CTwM4L62SCaDMMA"; e_fb_vipport="AcJkirq5EUe2TzP5qfiWj1WLUykLsG0FiC1hzbmu1lJ_A9ITxji95yr3aGUJ"; e_upip="AcJcYAOcdYhZ-P3ymI4p1Qnm5fhAOiHkVk_fRWYcV3YZiVH9nizYRlRdkpYi6wOICSCqbtMUc7IqKMOWIf99SY2PL47BUcvfxes"; e_fb_requestsequencenumber="AcKzc9oKOl16EeSgfbw0-C_ePxl9tRg60j1Gka6nq2MNt3FI0czjjrKQ7RcY"; e_fb_hostheader="AcJrEs6OipZpLCweEIcvBm8pRhrITkgdqUiLBtxfl5fmPahxwnfC5mZG75Tdr38mVpf_uYo9hLPUUpDh"; e_fb_vipaddr="AcJ8inzh6Hh6gs_14e_usm9bl9pNOVmK3pGTJkRGDCvtSDJv6rdSNUfVvnRenvyBZZFiAbr-YvIXho2xnlBq2IvPSkUxLd2Gbw"; e_fb_requesthandler="AcIhh-mziKUs2srYafnKLFzbwmznCBFK6rGAle0VCaOII0_ZLsl_CswhCrhh8_Wvxm-MdLp4DTc"; e_fb_requesttime="AcIGYGCkbwh8pPxrJWPHhMQlKh7AuOnAb3nyOmMfLyxfd3lZ11BonQynT5YvB2Jk77USwIxmgw"; e_fb_builduser="AcIN37P_34OIt0kcbLeftkupiEAqmK2JAPqBlLHPWofZgtzrEpy2SxEJJFQ6dPGR1Yw"; e_fb_httpversion="AcL5-RyjN0lFxVNi0WmaHSz68vKpPPiw5F5_9q9zXHbkSxsYXKFkOG94l66_"; e_fb_binaryversion="AcLQNsK1uDEt7jK9uCJ4T7JrCY3xKtR6TmSTWdmcZkKNg6uJUv-1puO_v_VORtfkIKwI7kqohM9AOosdv2_GtT6crmGvBgkm71M"; e_proxy="AcJ3PYSu5sU3jaEi9jOATQHdlhLQc4OrOZVI89ed4GP91bUgyCZTjJSEWK0D6YQSBMKoLMPyqCxwqyBySfFI", http_request_error; e_fb_configversion="AcKzTnPbWBNU-TP0Gn1Jgenz8lIsIiVC1qXIcgsTjym9eGZpxHsobDMjGhw5hQ"; e_clientaddr="AcK-vV39DNbll0BhKJYDJDHxbzLMQcsnqUlacqIRuOTEf_ngpfiZFCqZCS5Xf3BCS27LAl2oPuunfUGSpQ"; e_fb_vipport="AcJEZToXtVsN08yvYRtTg7LowImZEWgoP7fQveCfB-pzUGt39mge_vWRPjY6"; e_upip="AcKNeKrmWrjiVhaZx0y3elGGRg-k8_11I9EFZRTogJwupffP9_0E5joiPUxe8fz-qXS3wnZcVSdf75XYItiiQCgHenyHwb8OsQ"; e_fb_requestsequencenumber="AcKvUykaGmizWFjfqC8CRXH4fK5Pc4b5dLg8PNWRpTWjjJvOV4Ta9Xhn8w"; e_fb_hostheader="AcLuFB5ULX0YdvhguS18vRKJc0uTuOu8_fchlvhle3X4HtoprfItKu2HzfXT6V_zZf0tZqnGxSElrZ8h"; e_fb_vipaddr="AcKsgSMK9XKk0sc8bxCesmy8xtJwIAFhav-VhrFHBlrDdrzgTrPogANdimVfWx2s4U7SmG0c0Q"; e_fb_requesthandler="AcJGFEKPo4kK0Cr1cHCckvUWnsNufZ9Dfaar0ENHDEt7NldjpyNhTiNubR_6165LQ5EIUzTzs9E"; e_fb_requesttime="AcLS7jdUYNhkJ7qgaCF0Z2kyzsncwQ5WVUd2cPd2WsBihJk3di8xYNRzVxZ2fJP1okSySYUpAA"; e_fb_builduser="AcLmyQ95pkGmzHIz4O62YAO8FxywVZpSZET6r7uf003OSuyx4t4Fa_pOHbc-sVIXszI"; e_fb_httpversion="AcIMLM7DqaU7gb9jY5y02KLOWNiLI2PbsFAd_9POL947zh4mAfu1y4_suX_c"; e_fb_binaryversion="AcI6UIct9PhWqF_FQHgEANzEJgAhrLvaJKdbiDgWSm1TrGqNrxHl3Cke57r4SgYglHwIDTmzdfC3kYNVGSmzmK7H2yp4TKwrCZ4"; e_proxy="AcIIsqmE2vCB33S1kN2DbYfe5lgfSrCyFLbcAybalbXvON8hRAxtJo5wGgMTRsRPLF1JdXMAYOVS6yQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=100, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25186733717639557"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 23:05:20: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/25/2024 23:05:20: Error on send one message facebookId => 25186733717639557 03/25/2024 23:05:20: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AWozifYeCmwE03C9emswuar" } } 03/25/2024 23:05:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/25/2024 23:05:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25186733717639557"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14380279, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFZIyjglUUzTXhCh747PTWy', 'x-fb-trace-id': 'HpxUzpcPvL/', 'x-fb-rev': '1012297038', 'x-fb-debug': '1y2N8P8t/xfGeLIDXAzb4BtsU7uqpbGRIeun8OpK/6hkAzOZSAyoK/ZbTWqmPdeJ11ArCPE0CaMjD8G9Icao6g==', date: 'Mon, 25 Mar 2024 23:05:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLrG0y3_LG_ZOCBJKISVMsXFJypB5qagzFeadEERERRNwJcUkfPxXchIySWIA"; e_clientaddr="AcLORCdOZAaANn9vntWPMJaVbk4OUIGveSsFOWINUSVu-kyHZqfZZp4EkG8KHJXF1XJO470otnSvxlhFKkOPhpfQm2DFZKRAbI3eNiEG8TjYW6LYWw"; e_fb_vipport="AcIvUMrgf_3y5H55ss3RhrQsvTjSdR9uQTYCEtWozWigvaaXj4ywTi1OGdHC"; e_upip="AcKyPg6Xm2uK-mLz5aJPmQtM1O8MOsIdyNa5vEwXK2Q_LuWjpc2IOrIQaH2jbP_-s2X-UAyijiA493noLI5hPsZgp0vf2FK3RMo"; e_fb_requestsequencenumber="AcI1xQzX7hZWRxXUXvwfW-rlErPqKQzy8LlcGGjG36eD591SUIkTXrgLn0QU"; e_fb_hostheader="AcLALAnpVIx60CbVIqrHdG81kKJLzz7TjPyrxfttRVuiOS8tqO6k3TSH9WPf1Htvy94UvGc0NM_0smuG"; e_fb_vipaddr="AcIXDZlnjXiexgkHRgoIud19XCfLLOe3CElVsGAgnS7yB6uv3H-N-Uj0SBOA7lSj2hZrA1aOKmc6yP4lA5rWjdQhhCqG-NH6wQ"; e_fb_requesthandler="AcIQ1iirTm50Dou7u2a8j8GxGzEQg9XFuIk7Z9kEBiz3cxxSszcPW3mslEqrzvgEcwT3UBUAm6w"; e_fb_requesttime="AcIuDClcOIMOpoKIydHscGCqbXhP5DPtmFMkIef_8DCtiMuJj2aGRYN2_Q0cVFzPrWRYgm-wWA"; e_fb_builduser="AcKt8BPfQz_APdV4ZVtnBWS5XXw73Xz-fkqbaTlXztmfJ88xX8POaNLiApEr7XO7lK4"; e_fb_httpversion="AcJS3Hi1jlLu0rzLwlHTUquWKNqe_oBXaFP16Gw7k9K60zWq-B70JLx3Id0v"; e_fb_binaryversion="AcKpinU7K62OUiMUE4Q05oEaVcrt0Whc5Ocoh0QpoK6zOcwsgezYWqyQ_ctamp6qnIVcBiW6GXMaQv5luTiQJNiMiL-3eZ5Xtpw"; e_proxy="AcJaDiyYnnUBKJ6XM_Rb8veEsCJ-z3m7QcOD5dSHCgTIz3V11o9OBqeHXGHHDoWV6Z8uAMrBXVkIs8fxx3vf", http_request_error; e_fb_configversion="AcKkIKs82szMoAYFJXBi9_LHSMQRHoORNfUVdvNzvnJQG5E9mygeE44LLzFXYg"; e_clientaddr="AcIknhTf1NXhAxUd2FrhlxIdQqxA2fg4nZBArwuJt99dEygQ4SVnxrFTT6dddqQpkL-0aUAss6vO6qYO3w"; e_fb_vipport="AcIASN-4Z__pvj0kuXsTVqsWmbU3gQnKV_R7nSxnRgdJ0c2PuZyIUX8D35Z_"; e_upip="AcLgd9gb5a_NevA7E3qLK1uVNsdzNVMLS5eD7YQjeOlR4n7e8DDAQs6IZFuZaMrutvB_L0ubdv04e2O99Jms9r91H8nIryUyqA"; e_fb_requestsequencenumber="AcLExQp-bGRLD-TGq5tKgCTrd08AyQiRD9Zr_A8B6KUSHxHPA9nwcM5_PQ"; e_fb_hostheader="AcJitJAWbyYhGH3eP1Hd_ItKPcwvvlURxyCBW-F0giWDKvYZ3tSeyn4VumFzaNlJojCGKD0PqkqZL8Fw"; e_fb_vipaddr="AcLnHGh3pDBR0GsrKRumrmAoHBYeDPvGe6zr38MpqNIMi5PkJpR-qm3BIytvv8Zssgiw7q3tjw"; e_fb_requesthandler="AcJK6xMpJa5Se2e0Opty-yB6QdsrW3ch6jJFZyQn_46U0VHbfV1kLwW9UgvW9UIbQ5dpE6-_LYM"; e_fb_requesttime="AcIXy4UOfbW-4kTErHpTxTSEYtyjWAxNvIcDM0HMSaXSVGErW-27u7Ks6mO-mlFSdFo6xCSH8g"; e_fb_builduser="AcJXGePnbS0BGxPogsoHEIhJFMxXfG_20xoVogBBj9TpVulA_8v03cuWCJUgarJ9YhU"; e_fb_httpversion="AcIr9Mgj-bjy1EG4ofusj4gjQbWBEF0NXllBqnXZYuOGto0iFKQCgAWsNBOO"; e_fb_binaryversion="AcKMMRpU2Z4zmG39yBJ6-2emcMHAja65U3Q8fC15fV2RJZtH6CXP1U6kMi4FOGSU7Oq1QiMKFCJb2JmDzUoqP60A5ltQg6oxMvw"; e_proxy="AcIiJTTQgLxru7ikInzrOHXBIUZGZKRSFVsORglrGVuXzMf0G2fI5wS-IkmRaRsybcgcQgrEKed8l_B9"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=99, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25186733717639557"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/25/2024 23:05:23: Error on send one message facebookId => 25186733717639557 03/25/2024 23:05:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A5VFQMojuLRwWi2dHK2GvwD" } } 03/25/2024 23:05:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/25/2024 23:05:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/25/2024 23:05:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25186733717639557"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14380418, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3YjfzLpSyA27TIvL6lrmT6', 'x-fb-trace-id': 'Cg0bxVF7qPm', 'x-fb-rev': '1012297038', 'x-fb-debug': 'AQPIsPQNB6lVH1JzoE/5KDGayfjWpgOTfj5K9VNmEKDNY/bMoj8C9AYF3cIZ/Fj3OToqCA3llUhpJJBsAlKXaw==', date: 'Mon, 25 Mar 2024 23:05:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIcYrEgNPTvqev-RDrfeDtn8B72rS7x26zpgO4BZwxJJWDlgM1CDFy6qpv53Q"; e_clientaddr="AcJvhUNTvclQM2l15jvpceyxblDmya52awb4OHfjXudRuyxt17Q7Oa90KEBSVPAt-gLnu4I8s6obe-moCNqxSFnZ9UPZkX2eXA4eTDn4lCIZ_TJwaw"; e_fb_vipport="AcLirT-3uuufXsE_-GA6W36rgnvAjPMojyrNdqRaQb8tu26Q9IFrJuyMWxfn"; e_upip="AcJs143Vdif5iO00KM_DkiSIk9EPlZvjAtYPFmjacPr5pKH_yfj9s-kRJL9S7VIgaz0eNtxpG-f28prnfA1ciESwnv-zDLHOlaM"; e_fb_requestsequencenumber="AcL8BfsEM4RSfTeEic7yyM1k3egRrXrod3nIygYBtQw8QYvuNmEzl9AwWcQL"; e_fb_hostheader="AcKd-GBPvxo8ZZTScUE1x8lm-VxUirPjYiMn01TN2c6NttP-X3cX15Y6Fe-G7I2EtTGSlJh2JFtxMu75"; e_fb_vipaddr="AcJHGym1H0dz81k75q9wd4GYIj7B-fl2_Q8PS0ZinJlqksexJ4nQEyTZbhrDxLDcm5k-WfAkdl0VrHCVMQ-SenutY-iFKOOcjQ"; e_fb_requesthandler="AcI-4oOb2TXxxagfD6IHv-iKt4XZE8pgDaxnOjHE8520jA6RHL5t7JTT2PFUvuhIvqVdxsWI_24"; e_fb_requesttime="AcJEMvqowqnK71Yl6IBJPRxhKbhYVQgUWotpG5CUWOat4c7eGEw0gAJrXgqYnSoL6ITQEb7eng"; e_fb_builduser="AcKagI1H_cSD3oU6K_fsNa8-GoeAsD3hLEOdbnACvdmHsjuHFYwl4byccAJEjx8nqVU"; e_fb_httpversion="AcL309HIHP9fzQHwfbUEDsSUo2Vz0s7I5fvBelcp8IB9NBae6kTlVsp9i-7O"; e_fb_binaryversion="AcLx-BhLddTnCHuET1r8JToNVVmTjzqMKbx9A2xwMeF6x6aUXLhhpyvcufVd_M42AVE1aiCE_ufiAi4Z1V7jv9tmrYKO21HqCTw"; e_proxy="AcLp2FFbekd84bzM4AatS37o7Gm_CM4fhC0c5FnW7Dz_xWJNFFOaQTkUxARbXmBpI-sw3N4aZEP90P3OQGRK", http_request_error; e_fb_configversion="AcJxO3GYD5melGMzyqMsKVJSqUaFPrTf0to7VynKBWcfHxalzB4S0ourJE8OLQ"; e_clientaddr="AcKLP_73fzHu1w2P-hL8UGV0qR28nSMpc-jCRBMm6SyPOOdsM9toUeAsJX5sFtqyKY68J5e2S4UcxYNfsw"; e_fb_vipport="AcIo2rW-O963lgWl9LPIPDkiPFuw5IU-mwQ2x9tHIM_dMWnIXBItzerk4O3B"; e_upip="AcL6SfV3Hi0Suocv7_RWuisvKps4311FrAaGxlO8OQt1qWiwCIJp2r7fP_AgMfQlx41dxWUKV-2G8pOly8b6WcM1q6L9zUZcYg"; e_fb_requestsequencenumber="AcJeJE7Ze__Qy2iLUJTGTWTyXekyPHuSBvhd4RDAWoTIofnKBliyda0fcA"; e_fb_hostheader="AcJQZTpA4GLyZIayvDVE3ha6na4rZ0-kinlTYUI2i74n2K3fiXvYrTLdGDwAw8PgX83Rv8b7B19Gp7al"; e_fb_vipaddr="AcJS_FYIEM1gSQw3riIm4brlrnd15TjG1BmzmSG6LdKg9u_13-653ltCLT7yf8iGmLGcAdTmLw"; e_fb_requesthandler="AcLHqBEyPm54O9FJv-KBNXB0Xpme1_poIMeewg3rLJGNpF7DoVQmCjlxsc28wM3kJjJiNWpwHxQ"; e_fb_requesttime="AcJxJn4T5Lubhg-rRhwwpTJAD556ItRPyn-ZGhVazM4bXfDAW6Wx4PqsLMckyvQ4QV-fe9AgsA"; e_fb_builduser="AcIIrD4gwhFeZe7aG_jcNmv_f_9ZTaibutHGNtpq0lsDISLq6AlO2hTvcrqSQBSIxH8"; e_fb_httpversion="AcIUnenTtSXNIdQKMVZ2PaPl6d_yQhGeNwmYgSMd2-cix3lUxzMQzbBze4sU"; e_fb_binaryversion="AcIvmmXn9C2k0mbV7CnbHqyI8MATQlhZIaBMH9iq5kQP7hsu6UpwP1rTrKy9ZQ_G2aeBsRaANlXfgwyt4iiUKVGEDg_WhE3vNXk"; e_proxy="AcJ4H_sH4CZJezjxV4Sfh3PtwwZBaqDmqLn9606ReYINUS3HH9heHqalMJ12_bk_xFWs_WVP425D7rFY"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=101, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25186733717639557"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/26/2024 00:29:26: Request bot not found: { id: '215725838493727' } 03/26/2024 10:05:37: Request bot not found: { id: '1067413796753652' } 03/26/2024 11:14:45: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7320762944686819?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14502425, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7320762944686819?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7320762944686819?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7320762944686819?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7320762944686819?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyQiUEYzVoNgmSvGdAVncVi', 'x-fb-trace-id': 'D9qpcCubidC', 'x-fb-rev': '1012314172', 'x-fb-debug': 'ecTR/AubOpIzJeHPXn1qhCo30PHbFAOV0WfFMbwQ06NEOT1wGoyLsPTMyp7p6NKhTahP3AE5A6XHzW4W0EqDAg==', date: 'Tue, 26 Mar 2024 11:14:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK2crB9fnvWQJ2VdKVy4rQjdfIec27PSx9e9eJhtMDRwWHO-EDVcYDHKko7mw"; e_clientaddr="AcJTDjYtlTr0rDcnQDHNYA5OC7XDDL44tSohMPlfVP5gt99OxpLxbPxgAXX_5_nnvUPkV5Wc5Bm38xC8KrgSt2jDzLHESHRRG8mFvewvhrt7Aq0v"; e_fb_vipport="AcLMojsoYSRrMBZIA9WF1zlgq_ea6XpwaJbigbi2WJyou6zo90F7k4kKf0HN"; e_upip="AcLf3i6T6zvl9tDqmZ5uQuGfmxui0mMgB4KqbC4Ad_U2fHpzaLh7QfK3t9_TozFjieA-bUxEJv1yaH59DgWh3yNhZiI1ogPPb04"; e_fb_requestsequencenumber="AcIW44rKAIrxJyox0KnOHr14sneglddtj5genxvGtVvOMSVGdG4k3s_c8iRwxA"; e_fb_hostheader="AcIDsfZAFNEpmxqOiGdB_VSiCCINBhEs8fW8nXiplaLJyb3PI0j5cKPTRm9P5h5THtxvenas0-aUGaCH"; e_fb_vipaddr="AcLkMWd7S-rSpwFQap4_QnzojBYzyGpFGhblZdpUaVhI049gvq67Dfd8ZSfe2u9_dnwZeoRrFqz3hySsMf6yWkeNcFdIv7xbQA"; e_fb_requesthandler="AcK3j-mpkSCCmxpBfEgtWUyp5PpnBcPe4ye0T4nzaw2rDqSnL08RhSLAwcwgp4PIHNdrcPBCPDk"; e_fb_requesttime="AcKUnE6FUvdhSdS5RsnANZz_PxtOO3CsqiqsgFQpMiUMfDYOqgq_ASW57ZOzwvcvyWZASyDRuw"; e_fb_builduser="AcJDLl7mpOQul4v81SH4pbswxMu0iD1W1AQur_hXaSkPYnS_yN1IDzdTQb9ngGMh_I8"; e_fb_httpversion="AcLeHx3kh1WM4WxWWppppCtWf1xNwXVrPlnTAER36bn8oQMpAhcJEfUzvt2Q"; e_fb_binaryversion="AcIg745wavQk4KbEbytNRy4SQD76BhkgiwZeAV6LDZnaBM0lSAXBb7zWYNAsf8YI_XT5MJvFiBUh2aJ_leScqpcBxgfIDheH4Ds"; e_proxy="AcKYVwLT4MXAQxLgtbcDtKAMkCIN4PRTuJeb0OUkoFu0MCM8q8Rp1jddzX5Jib8NIpjctECVTg-24eKikoDs", http_request_error; e_fb_configversion="AcLfviArjAcy332QJ2FJynfvSTHcjT91sqgUgsWft7zs3ZFsR5EfZh7dnuAXCw"; e_clientaddr="AcJYr5k51JJd0vgbOvLWIPltzcryodtMmMElCSv3lHO78uex3krrC9rPDN2D_cuwPgd709K9VrduJV9NMg"; e_fb_vipport="AcI4p70NM8AdXGqbZ4CjxBDx2x73rNHd3oKgQTEUDIK0wf4O14KHDVDD6luj"; e_upip="AcLnF9OqQDkBOA7cM30yfhcs0p2Y6rfMzJgZGn5ZZu1KEQF58FKO9SlzOGnrNnJ6HM-Pta8jeAsLoc3rRjLq-PsSUW7fj_pKSg"; e_fb_requestsequencenumber="AcKSE4hY_chUIAKvdLfnLAr0t-f8jMbmM_uIQDiaiRQ5cT9E7r4YbTey8Q"; e_fb_hostheader="AcK2PIT6mS4hXoj9_VBYhiUCWmYfwjt3b2FYFO08dt5P5R9fn2COxO_BYyD7ufu0PX7zn4jIkBmhOuXn"; e_fb_vipaddr="AcJ67mTOkY6Klp5kqeE0PaFxPSca_kUZ0oHnxRfsJ7UaF_4xgRC4D49Ffj7KrGilgT9FZAM"; e_fb_requesthandler="AcLmXusQ32ObSGkw8AGUStPh0dHT1giQtjjeUyPUEsvoAzu2HT5IXN2RcpqYpXX7gjqCK-C3s30"; e_fb_requesttime="AcJammRUlPtp9o-GjUZ2Wz6ouIkcoInq9Xbz7Rm76OP6p3l7MkqPqunhEUu66Zm7lzg8zalq6A"; e_fb_builduser="AcJgJgmo5sxcyuOQ_qqZPQJWm4hMM50t8sbZTpLkTI35J64aIZd_4ylwZEZKwLSMIyE"; e_fb_httpversion="AcKCSZGOj5aVu05JzYFv9Km9uLYRsPbdCF-fPHck4WNYyN2v0FAJ5o6X_ivt"; e_fb_binaryversion="AcJ0Z2eICB2D4H5McqSVk2PCKoQNUhB6sVPY8zwlcjyw_9-ojZM3otNfn5Atw-ZtVIjZYwBI_VAhbuOnr3_L-gzIc1OncOvXilU"; e_proxy="AcK92V2g0mVfaU3ogfXhIcbf5b42LXsvmFFipakA8eWDkBizSq7Z4rAQ0HV3LCWlEXkFDknQRVsyGfA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=334, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7320762944686819?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7320762944686819?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7320762944686819?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/26/2024 11:14:45: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/26/2024 11:14:45: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/26/2024 11:14:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7320762944686819"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14502543, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyNseDuz8jQKfhAn4Gvt0FV', 'x-fb-trace-id': 'BeinTy86IJO', 'x-fb-rev': '1012314172', 'x-fb-debug': 'wh16PGOccpWfu3hWFwdv8NMjoJKCo0oqrsIF7ftyx4z5naSz3BNiszEFjQDbrtpHeNugOqzguvdlJEUWmJWuMQ==', date: 'Tue, 26 Mar 2024 11:14:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLM4ur6JKgLzOCC4rea6vm1wRyP6CAay7rmNn3d7OrrBwM2CgLv4I4a3FrlPA"; e_clientaddr="AcIUYu9lfzuSRhsoBKGfYl4YWjUrXpZe3h28Im0OPQxK5Z4LM63rf6rGA5XDUAd-w5nokAMRB1pPnmUWkjk5kvtIVa0XLQSZq7-2X39QHHrcN6KdxQ"; e_fb_vipport="AcL7r7ALQwMmQgtKLSW_h3FgrFlzxq9Kaa3uyr2jFQdHWg2Ct8pem-5R8yjL"; e_upip="AcIO5YFSbUxY_QLGRksSNxbi_Xs_te4S3Cj9h5Lozx4rmRcTrxsHKgZmBdojvYyDMqvnnK-ILnhyt-GTMIgMNocfrWWpJe4rONA"; e_fb_requestsequencenumber="AcLtopoUTicWnXufJYk5oy-3IFq_PP4O_ppJzA1CSJqbU2ubLheRQQH9PRj4"; e_fb_hostheader="AcKaBjaXH3Pk4BfdGC-bJEjQLgNx4Xb4RwlRB66Wp5muELkKJS_zTmovpHZG41zTcud1X8VWUNHyGi26"; e_fb_vipaddr="AcLRTQUfS8T3lXC2YlFTaeMVFnZE6L9P6BDj-fqAZiEsAJjRhYm8TyEf1eFu8QUpVhvWfYn1pQo7Mj-6vukJC6DB2Nrof64KIA"; e_fb_requesthandler="AcII9WxDQjCxM8T6IwgOF6msfTTUChhTfWdTsWSD2cYdZgfI7N6UKk9fcrGMKyOM0OlGcCosdQU"; e_fb_requesttime="AcL2OEpjrvNk_wAD601BR0t6xHG30WBH2H_flJx1Or-0HuzvPIbwkr9Z6S64zNvf-wFPA8PVxQ"; e_fb_builduser="AcLPXhT-FIoOEqhV0wh7-6TvUoPy-F9VI0XET-DhnhxTuoHwpD9hQQkdnvl13QBI7LQ"; e_fb_httpversion="AcK72SQBkugMUze7wjqc84YcI60VZzc1lWc1p-TNKC-4A4WvXjoXqIytPo26"; e_fb_binaryversion="AcIBdpwB7BjpH1o0Y-PFrKo-eqmHR_3TUMRWNwUmT_c6AHeyQThWpChlG4MVU1APX6cyKhEfEZZkV-KApaylvGTdhqdjq5Hk_xM"; e_proxy="AcKzPcfwm_uJ4_8_pXJ2CQomWWxHkKOCKvoVIslW6wZ4aKlyJg5wf1tKCZgOrvPLFQgcM38HQaL-uXyd8mnF", http_request_error; e_fb_configversion="AcKKJXTPMaCF_xRjLLI-F_yAzeV9Z_qRZMnYPnRMhuGnJzJvsYqLwqF2sUqevA"; e_clientaddr="AcL20XJm66X_oM85TjaZ3GLgSJXHJOv35xR2_wr-YJJYUxNxNOZVHIC0lUueK_YH6QnKlRQ42AEwaJt_sA"; e_fb_vipport="AcJKNHJIDyuIvghMHigc0uHZyG_7R2J08GVe69EzJ4sY481BfVLBsGIr_pGe"; e_upip="AcKcvwdI1UK73dDwXYDnB4IyzBa9_gz6Xd4nD3-szx-13_V6ozRNruSXUnH8FmvSWyQJN5CVD6zzi8eOGEJcSIjiJGn8FXLKMw"; e_fb_requestsequencenumber="AcL2lRvxd548899-u2mKaVTtclAFLH-y0KP7IGFpnSITRllz3GcW-Y4bqw"; e_fb_hostheader="AcKR-wbc9m-5_tnUdiuvplTfw26NbKUA5BUui0Ac5u-prs6aB1SV8jqvc9AY-_ztv8mwyQnERnL8gWmw"; e_fb_vipaddr="AcIp_iWzIktgPdQH2F2Ei4HKZITGZXYz806T2WcZ4zC2jcH3ACZ2zhwM1tidx7kQpxmvhmQ"; e_fb_requesthandler="AcJS3wrPOpGWGDxX4t0L-_JMa_lq-nv53qPW7_pcgJ-AjfYv4KyuX5y4YUydi2uX4LUn5D06IRM"; e_fb_requesttime="AcKrZUTwsuUkfcOFC3BtyUxC3JfdZY9udywAzonJtLbmDrF4ZKY9tHjGIwAMXGmLmPkRDrTs1Q"; e_fb_builduser="AcLmlSyDdFoMQvEuXfVx9spj0OwH-7VVsNaM6ZvntEVwblA5cDkvqvB_pMrbNpBO11g"; e_fb_httpversion="AcJWCrKZe2Dst3Q7yJGGtSJOWhGoM4KMmWG6hnCu3JN4UPdkAfnxbFAnvJfC"; e_fb_binaryversion="AcL2qea1rJk7l4sWkHOdp-HXSqm4yaKM4HvIHZ_BL--eCnWk0RKPwaoQXocxs0WgNlkV2_Mrd48gsmUkOWdncbF20au0y5QLQlc"; e_proxy="AcK4b-4jhM1-SqEOraDapbbermhmKvaqP59QikwUwAkWSgSuXXQ6pbz_4NQde339AUg2Fz8fDnaMrVE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=211, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7320762944686819"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/26/2024 11:14:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/26/2024 11:14:47: Error on send one message facebookId => 7320762944686819 03/26/2024 11:14:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AdWdS2Hbxs80n22eKI3OiYI" } } 03/26/2024 11:14:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/26/2024 11:14:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7320762944686819"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14502618, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzU9yaVS4Kh6pYmXVcUTEXF', 'x-fb-trace-id': 'GKIT0JqrqwX', 'x-fb-rev': '1012314172', 'x-fb-debug': 'aTW6JdMwV4BwfpK8qdOam9M9QADDk5UI/Do2OJ401lDuAZqABUd/akUGhfasUc8k27Vg7vwZVPrRwZK1vyA5qw==', date: 'Tue, 26 Mar 2024 11:14:56 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLrAaB0uU_xR9z0ke7kpWxSZvIsjHiTlw0fxHvWZODCHYPACyfYxMAV43B0Gw"; e_clientaddr="AcIIbnO4-5Xro4OSyHruHgmQ9_prcCAvcUshPpYymEFEkSRdd6pGq5WQ056Pk0YKpfaGkG0ixeRRPQr0h7aa3-PV7P4rSpuQhRfTDpTNyPgpfI1KQw"; e_fb_vipport="AcIGpPYSoEjAR5ZSZhdAKjoBu4zTsGsoOEY55QO1-cWCIsP-R0sXDNtlS46W"; e_upip="AcKOpjkyhSaChNXwn5QZOgNkZDZarlkTy3J_H-zgnxuuo86zD35EkD0sFbKGUw0j7Y8VrHA8KqpQjfIhAYgotTThbeBr_nQ4tvE"; e_fb_requestsequencenumber="AcLQly5vXKq3dlP2wwTiETnI5pDxzB-lXlSGH8LX7fs10FSDC0aoUIlPxEmR1g"; e_fb_hostheader="AcKA6LBaOk0nelN4tZNmLoIbR4n0qqfg_abssQKJwIa3daPgtT4VORFAqUTmhZRZvVjV_lOZMT94w9hJ"; e_fb_vipaddr="AcIFTqRIuSRDBR5qkVtl8Fj9ppGmMtrs6mRJLuG8Hj5gPJxEi7xJGwHzjKjGD0lyeajJ9uiAfIdJk1Nnd0Ov-Wqt64h8BjVjkg"; e_fb_requesthandler="AcIGvOncoJFh9nK0BDdDSCcl7BlQhBVCSCwCOOF28Q2SRx2y-2n_iHPW_ra0a-NKXkxw8lbOSpc"; e_fb_requesttime="AcIshO-X-qYj8SzqBoyCOWRzunF2aFZvf-uLz6l7ey6KFzhbsEVa82-JQ_KkAYB1u4g-6wE4EQ"; e_fb_builduser="AcJylbLDz_y6azfVo8p1y94JE3KTV3hZKfQx-gS2o3TsQGr5Lj-bDaxr-Js6_AhzI6Y"; e_fb_httpversion="AcJWjTm1A8V9PGI0kNT9HWwj2_bhB5a1rGlk9p6kBWDb_AJ4j-9uFjijGDiB"; e_fb_binaryversion="AcK75vYNZ3j9xDx7mYWXzSC6W7iTK6O_S4GCM6gwBlcP68kY1TdQSKP0iEM_7urwBSBlSy-ih80Nuvgzlw2W0dLhH5bdh6U-Y54"; e_proxy="AcLdu16dyDKA9oQJ-Vf537Mi8730dOvDUXNcqt6ITqMPYcdaIj5QBRS2SnXvCC-LevAEbv4El7hacjyq-bIs", http_request_error; e_fb_configversion="AcKqhXojFtxJOPJUGbq8dO3Flk3G1k7zbePiCSTn_UNSAbY17lMgM6pOKLvWSg"; e_clientaddr="AcLWnqAuukNgSbBJmZjLtANEprZjnczCf5cIEzLMivqOQWEfscoU_GCe1H5HxMOLyESMB0SVteCp_Jh_ew"; e_fb_vipport="AcJPCzWngZNcEw1D_pBX_cuSneMHL5oQdeIBnXfPxYPuU-k_Ir3rGkCjhrMq"; e_upip="AcJXx8Rj2_ga6YEZymWXXWB5yzR1gMsragCEd3KKz5vq2nEmT_BpHbhEbi2A3D0f0j3rQsI4aKyMYk6QEppo5yVMTU-qZ8JJzA"; e_fb_requestsequencenumber="AcKOvXpWa8WvluoLJyY9RCNO4zPRgTZiu6QXJAGqWdEQph6DW502PCGgjA"; e_fb_hostheader="AcIKDGefnKgk7Hs0g27I9J_KeD9cixmblZyDpCjkh85U0FIgq8mr1Ke_2rXsuzeoLEYpM0GbvZwAWxXW"; e_fb_vipaddr="AcIhGK1kpggWXps8u3nuC3VkGXPAqS0lx4GhzMrkjZk0lkFXh-e0_B_sWnu_yfHYVqlWWiQ"; e_fb_requesthandler="AcL7sOYCcTxGomtRa2BWVuGuVM4xF6Njs8K5UNqBlb-qui9f1kJX7wCjSrt83L0omGrBCagjM8Y"; e_fb_requesttime="AcI0qPwctdYJevHoiFOcFbQHIMEVu2LVMdJkq08NGbsFjvetsdHZ5qVMGxjSHFianPDSL3JpUg"; e_fb_builduser="AcJ4sHUsp81DQY9jbJS4cbgBCBdKD7y5Ayc_7D7RCzy8kOntpf9NVssN0zi2j4hVbmM"; e_fb_httpversion="AcLZ9TSD3rOJ4TvFUPsBSxkzCI95qFdkjo2QQxgmSDNDrvbyg9TtnQkD9QQ3"; e_fb_binaryversion="AcK2V8FlG_u9eF5t41IlEUDa78-Z0XW0xh-m-uTtt6nBRdMyJXH3LlS5dx0ybXLTCrDh-4W0hLa-vO6AhUZxvKG-BnhkW0P6i4Y"; e_proxy="AcLBscSnLZBRyk8Vfocv21IR2fcq_V6xm6BJ1zMq2J4MyesQoj-vkmLRDeGj2lFW6CFDJlQUhVQwTdI"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7320762944686819"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/26/2024 11:14:50: Error on send one message facebookId => 7320762944686819 03/26/2024 11:14:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A04-tnS7inEGJv1JcXHgjLk" } } 03/26/2024 11:14:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/26/2024 11:14:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/26/2024 11:14:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7320762944686819"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14502757, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUYTKDji-akZExUBH7tcWvz', 'x-fb-trace-id': 'H1VnQdzPOHD', 'x-fb-rev': '1012314172', 'x-fb-debug': 'UMsDN3xkTXB8cguE0NpcBRKKGZoby3vbiRWTCD0EK0YoYG2Nga1M0nmcND7fT6G3S9CMMpB+CIGgHKZRPceXbw==', date: 'Tue, 26 Mar 2024 11:14:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL9Z7-SGbIaXzmMUzUCpgaHZqFv-fpES_i1PM0kR4Ch2z83-jWlE5ncUWRARg"; e_clientaddr="AcILZ9gC35sR-rATJFA3lBpeOHJu4JcaF1NoWFpaXlcw28tmJXIn8E5jptUOvFwSXH_U06kGJMk_yzuhNWtyUGuYX_uGhwJAP-1dl7vR18oUGCvC6A"; e_fb_vipport="AcKH1lGixdkAuTRbxL1C7263mDzeUBIO83kILV-IsNKJKltRJnLcPpwK7-kl"; e_upip="AcLqax2jVYr9Kn92Oiupbz5bzcd6J8PXp9ysQOtKZ6kynFUeHX_2HRjQtEhxUwJ36oFYtc-JezViQ1iNUVDZlVUpbhQ3LsWyy6Q"; e_fb_requestsequencenumber="AcKFSuPq0cAnTY8CG6loKuNa6iJWxqyCe4Vc0As0QWYL71GjDG_BSjeFJlcrIQ"; e_fb_hostheader="AcKoyxEJKOF8e1TNoGbhK5xVfRMzB8tLw2K3-KH3tSYuhZXYCQlRezu-_hdmnbgbNlHmxtDLfwqONkxp"; e_fb_vipaddr="AcKn_JP6RsWgBVUVHmXcFOIrrCWn5suvgikAU_PkyLhwPnwHR2gKf8ry5fQDVzQPprpF46eC1FhuIVlYYOXP0DPmta5gLBebPg"; e_fb_requesthandler="AcJ1ogXwDE9HshTwtdSEYUMR-Lz_Q1Nv-5jpNa6n8jJAy1fhClfH0rT3f-HC_ZrwNhINF5m7dzI"; e_fb_requesttime="AcJEi_n2P_FlyqXUWYZcRdNNM12zQJCkUF3mMz8g-2IuH5tHuKk11Dpc3orEwuMLezBpsF77dw"; e_fb_builduser="AcIdcRPDaitejIiFSfzOWRO5xMLy9thwz9p919SGLgfj9kX4M9s0_xXPjQy22ItmuqE"; e_fb_httpversion="AcLofa_E7nIFHXa9TF_2OV2Nq_SnuodWWjyuOsUbb36vj6WqOyFK1yL9i1dW"; e_fb_binaryversion="AcJOOJtuQj8iFR7VW5b7fJ0pN6DYi0sqg_dn0nTkE0qVFF98lqpukoiUWWF80AaW6FlAdLqicqItlduzTlce_251zLpngKRhq0w"; e_proxy="AcJzGYfJ66kcDAOODaaB4u9I1nAMBbQlVrrDV0PQIxji4Qr-S7CdBGwZvJDG2X_V4kGi24YGD2gn7pl9hZo", http_request_error; e_fb_configversion="AcLmEven89ksK_tszWgKRM7x86pcXl4fHhWQ9qsBv9clOkaA5KhLO69D1IPJJw"; e_clientaddr="AcLkJenH9I9e4BkRk4qh1O9PrO1mQRD6TK9_4W2k_d7FnMOQBhXA2iOOUcC3QrL09hsLc5AHkyB5MbbJeg"; e_fb_vipport="AcJ6lm_yjnfbkftIPqgxBIqxqLEwsrIPGQgQeCH-Di1W-Z2v_cUzAm0L8KIe"; e_upip="AcKFU8zW7jLMALan91iu6tGWDXe0DBK-hE3jX68kWtgUOCwvvYpsRN39i0E1oT7wEGeZs5lB7ov2gfIyLw2TlOP6x274tP_6ZQ"; e_fb_requestsequencenumber="AcJr0LDXAk2gBnb_qGr5HJpsAb2M9Mm9fR69e9cpTLIYH9vSL3Ojk6ZcYA"; e_fb_hostheader="AcJIfCgqzdtpeZdK7Y8dtAlc5iicEglJX7UvINORLQ64lMJj_3_5IGpe2jq6s_rgbdxTSST-R8YvOz8h"; e_fb_vipaddr="AcICIVo-939H2ql-Nzy0PwARmqPonYWE0DptJNxDSTlR44DN2ANvjmhkujSiERHHjPwznS0"; e_fb_requesthandler="AcIEV0l6pWFGrIU8Jcorert8Co2ugj1t3FM58aLNks5qTDtBK0tdZJrk8IKeqri-hOLKlWmJ3Zw"; e_fb_requesttime="AcIdUimM4k3slNz4ptMbiE4EQtWTqIdd3nHYX9H-uHcwJAedq522E0f1fIr3_jgOxBx-81OqLg"; e_fb_builduser="AcKoiUQ_VBAZyVrCEE_7ZmLDMdTTij3Emb4FW9dm-9m2kRYl3W55w7MyZPATaiqebXU"; e_fb_httpversion="AcJEc_ZFIe8Ash2Pl76NJWEGN1vLGxdiC_AYyXzNUyK0SYRHW2lxGNogkYWo"; e_fb_binaryversion="AcKyx-gPr6ePvOTBs39jeM0MdfFkQhSB7eV5gAJAwDpWzEvWVQ8W0mefz-p48k84l4RszXtu2E0X-eZR82q2KyYcTIpGN76mIjk"; e_proxy="AcLiLroZNOoWdczfxdScgLb9pPu67qat2IrqSEfiBF01sh-WRE9KkekJjCmEfKZ-o3SlkOYuYAz-pEXn"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7320762944686819"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/26/2024 12:56:38: Request bot not found: { id: '138894166495332' } 03/26/2024 13:03:53: Error on send one message facebookId => 5897317733728834 03/26/2024 13:03:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AmtAdnEp0PPH4Q7vpZlRaHL" } } 03/26/2024 13:03:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/26/2024 14:09:14: Request bot not found: { id: '320637341295349' } 03/26/2024 14:50:21: Request bot not found: { id: '138868933458303' } 03/26/2024 14:51:18: Request bot not found: { id: '138868933458303' } 03/26/2024 15:34:23: Request bot not found: { id: '138868933458303' } 03/26/2024 15:49:05: Request bot not found: { id: '1067413796753652' } 03/26/2024 16:07:32: Request bot not found: { id: '320637341295349' } 03/26/2024 16:29:51: Request bot not found: { id: '138894166495332' } 03/26/2024 17:00:24: Request bot not found: { id: '215725838493727' } 03/26/2024 18:03:28: Request bot not found: { id: '320637341295349' } 03/27/2024 01:00:12: Request bot not found: { id: '173905809808323' } 03/27/2024 09:39:21: Error on controller payload Input Treatment=> type not found 03/27/2024 09:39:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 11:25:02: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25400395909574004?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14750999, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25400395909574004?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25400395909574004?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25400395909574004?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25400395909574004?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8r6ghgQjdcIo3xpxpeV2vr', 'x-fb-trace-id': 'ByklcEJ/fDB', 'x-fb-rev': '1012347491', 'x-fb-debug': 'IInwZkFlg9ynifyKKFA6m73hlXtVXfNFyqu5GK2FCrtr3CdFtl72xCMdIhGOr1lmiH+x8fbYO2ea/FjRrafATg==', date: 'Wed, 27 Mar 2024 11:25:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIDGEFeuZPH_zmHNKtovaMb6zVoVvfesTG6jzBajcnozIA96rGmjHDCDf8QmA"; e_clientaddr="AcKrPIz7fTesnmnPrp_iePZBNHfchJdjzTwWKxOLlyZYKbRe5yHdnyVmGLssDICgGKKtBiazcgxGgSI_D9YUyzF00Ajb_DpMDHb0uskZXM1BmYb16w"; e_fb_vipport="AcIQ4qLgv_uFJy7B_mGEA8KdoDn3_hT9Iv2pVECC166dFrCQ6JtBTB9AJlQ1"; e_upip="AcKJXyV_jw5UPmDb27JFUP-X7l_K_JYzAPU5oOQE3TkgYJ1GVg65qWqRFnmLoxW-Bm-WnEgaclRxpcWuUDYlhW1_FhywNWMUM8I"; e_fb_requestsequencenumber="AcKo_ZTBuahmJ0EyMffAqoR97lRVDe45UpW_pAr4gbxVEtDE2jrYvCmNTP36jg"; e_fb_hostheader="AcJIi9BlL1Sv2dF4akixEc39MjHfdczCQjINkAiD-WVuT46Q3wzwe-EZpXwVdraK3_VXUTXOhYCkxkbn"; e_fb_vipaddr="AcKgH_hX39cj2lWzclijUsaNXWrlaR9KRNbCif7tXxtBPwmmzn8DYrll0sgG9AfrGBhRR48FV_bLZswSOWwi03nSl-VYT6D61w"; e_fb_requesthandler="AcJ_HDu-dHi4knSzYbk4xzsONZgnpry122XW8fOyfEsgYX09YGxL9hFsW7Yo3snUKRrzZEWY71U"; e_fb_requesttime="AcLKP0rV6jfoThaHFVAJQqQvBe9UeJl7_nOPpUQZArqw82RUAr3VT7spO9dqoQqQFUMDlz7GqA"; e_fb_builduser="AcLQDjAX3kcRR7NYw6Wp6_iI2zN8Zg3Wa4d3jDIbQU5MZRTR7L6Q4xPpBj6kUwzdblk"; e_fb_httpversion="AcJ9_CgbzgHZh-CeUEevUK99z78GY94JP2Jj2PfALy_NsvvB9VLafy0xSh4Y"; e_fb_binaryversion="AcLRmnlpjJ9XI3ouogtr0Bb0IN9o9nqxVGLMYmVmpcocUBMFoQ4W2j9qc3z3xaobweopJdUkEYdPHnOiILoRj4H2R-_-1BsJs38"; e_proxy="AcJLiZCjIkFpNG-5FPUZNXKbgC_YThFowiMHLFEgRBsqcT-9z_kXQldGG0q9boEh0y-Gp7uppdctQGJKTcQh", http_request_error; e_fb_configversion="AcKrPtgruTv_zTYlj-kKEbv3fFyZrk4kzfVniSFMgNhHWckV3y2IveIyQbNZ9w"; e_clientaddr="AcKoe4Ua1-G14RJnlyVpYGXq0ejL4uL3mvtTH7RIaqpimgSBvhjmQb49zHc8FNTn5sLHLWqrf7icINTGqA"; e_fb_vipport="AcKZhz-XP2VRrMhZKxblXiLdrZaUJUfFr_GzWMf3XS3h9cD2lWizbNvgQ6zI"; e_upip="AcLEIXbaOcuc0AYb03RSgxvVS-oBXBavW6_MgiB1qgHMNr698ANzad4jxBs3VkGGMxU-cRRaRN4VOI5Tmus7tTUxWrWwwQllIA"; e_fb_requestsequencenumber="AcLu_lJtCzRh7vDIKKliBUKgq6BOdwHZVbYuHHUJ9Y47FHJEAA8lXM5BYA"; e_fb_hostheader="AcI_2I-iip-4wTSRlBwdiG-EZFKAQKgW3R7IutmLinIQuu74y0CLP3u-SCuyH9ToOa7eYPItcb6TZPSu"; e_fb_vipaddr="AcK8W4JZhHfzo2y-OVXYVR2fRC0Y9xetbpFwuULfsocozI0oEDnhgmajdWuIjm8crdYm-niLLQ"; e_fb_requesthandler="AcJphXOKgIXyNlOonc7jlguA2oImaoOt-CnFFGrvTMZqjpndCp-MClc6YqOzN_k82RqGwveCCbw"; e_fb_requesttime="AcJNXe41mXGGsyGjJ3Q1NJkJs7RNVOfF1mmZzBpWQRht5D_QMPMpGj1mqsksdnOqNp5uSCAVbA"; e_fb_builduser="AcIBRJemrja511EbSCa2jKcJNm7RIoM_peRbZBNpHI9Mjkno8YeuBe6sdVqtyDPPoMo"; e_fb_httpversion="AcJsgImS3h71vHZce4uAl4kfA9ppaVT8AecTq_pTw4KYABUoQiVRE7waOy9P"; e_fb_binaryversion="AcI_ASey1nubOhzw_tPRY0l2yuajGsZ7iWdIBo8duIQgUO0oJbhCj0KHWXhCm13FLCGgLIoA6pEN8zbTzu_kSnooXM4E4_FUb8o"; e_proxy="AcJd54UVQHL-LmY39RTH6nw2BcrEtLoGZ7h-lR9HSvFsiwQmuH03dI1JUh0_Xxc5_iFtTjKG-pokR5M"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=251, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25400395909574004?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25400395909574004?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25400395909574004?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 11:25:02: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/27/2024 11:25:02: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/27/2024 11:25:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25400395909574004"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14751117, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGNa5-hDIeW4xS_r5NsefXS', 'x-fb-trace-id': 'DcbGx5o1wf6', 'x-fb-rev': '1012347491', 'x-fb-debug': '1yT7FFjk0CPfmvFbfdbI8M2r69gQaz1mzuJcoMQOm5NDBj7sM/twU7D8S4PYvadjyhf1hECBxR8fANYcnVN3lA==', date: 'Wed, 27 Mar 2024 11:25:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJWvTmIuXDfmG85V8klTpXN0GxnC58pGMxPBpPp2ajbVLpFGfuBjXI7b7fphQ"; e_clientaddr="AcKe2OyYWihRjkbY5iC-qjeHpZoy0Efpx1Y8NEB7DTc6ZO5G2qzN4sR8HzQ-y7T-9wePEtLFSJOMsbP1qFLDEtTc-Yj93ZjRUb7KW_O5Ucno0f8v_g"; e_fb_vipport="AcI92rMG260_x1fP1cIN77AXvwGSn6V193qJ4mdPr5EW504bKCZqdLZdZ0DP"; e_upip="AcJi1ChravFWBj92pemiG_TOdtu4PyCL7VNQEck70H4jyQmdpedfvZjaiTKruumRJzIzPWO1X9V3Fgy3HLaLN9EO8QyKWMA9ckc"; e_fb_requestsequencenumber="AcLIigye8zuTCYH39HfXu-1-89HO3Wxz8F5tkcDEh3XypaGgs90rR2Mf-WSNFQ"; e_fb_hostheader="AcKFWZ0FpdbjBTYhlLeq2wvMGmfgEZfSV85a4StjJrsCbgnY0FAe9onhh0zUasTT3K7KsMtZcJyqedm4"; e_fb_vipaddr="AcLYTcHb9iI-RhtyBqAPB-mkMz5rldrC4npGBvLLeKKuaq-rSJ_uXV5YJRTQ0knTAOZNdsgz0FdK3SoV6JpYVdxYMsw7iIMIkA"; e_fb_requesthandler="AcJDLkr0oFFi--AuBIH6glsrDXfV_WcFv8v46G-jlCAoVb4rXGkMctWyKv1nBeKUUQqPQWGD2eU"; e_fb_requesttime="AcKKhHfr2IZIfTOC9JHLTHsBr-XnK668hxC8M_PUnz3ra-iUnO_pVRBUjcefBrPHmjKT5LTf3A"; e_fb_builduser="AcLl33WjEs5z8Yqi5HiauB3HftH6BhQNxpTD2FF1Xsj7-b3G9P9UZbo1Xg4wIyA6Zwk"; e_fb_httpversion="AcL7rWn98HK6JNsRxeeHnt3Khqc-6CQbVaJfINMlfDoOHEgUF0pwf4LZxNVX"; e_fb_binaryversion="AcIYHQgaRukFdcwRVAVByRyDaTI-X5fG-u7bYW8GVhQ316bPs5TBYb2ZbYL7pWTfZ3_27tmFNBTaC8kkdqIGlz_mIaeAurzpYXI"; e_proxy="AcJ9l6OBJ4Jc9vMHgfPKomYI4SJlUyog5FWCJogkrcedaufn9uE3g8rrM4ZALVBxYmRD6ldU2KQo7HkhOzy7", http_request_error; e_fb_configversion="AcK5tZocP-7rraLUSDySY72tLq3rzfGOuPGNMRqopFKajLoqnm9NCep6sUeSXg"; e_clientaddr="AcIjUMwETh9jG_MksSDgbvLfhhTFkxSzge4BjDZ-XhouQiKSqBedI4Q4uTzeeAL7rRLFaOoCDo62jU9aHg"; e_fb_vipport="AcJO_267YAtlBi6xy2-VD8m0tMIfjJLN8Ha31lKWx86pYjGN1o7fyCmZ7Y9i"; e_upip="AcJ2cBA5eKqabnVRA7Po-j9_d-vkBTrND69iMb_FU0nn8E3Yg5GZh1WjOSmHYjD7NGGyWjR981UW4xzaWgBPsOkf-4zeMAwEUA"; e_fb_requestsequencenumber="AcKSJkclzVyO1DjyEM_M7CCGKzexuJgGl7JSQnQ-YjPdBAsRFoskPML7eg"; e_fb_hostheader="AcIAX2kWNolR71AUKQp4iYYSxNWfhFGXCn2MKy0_3XJQ3G3pnQKvqqV4KbNYQVSYN5RkvAK5OAi8JEkE"; e_fb_vipaddr="AcIZpaMZ3Gjq5pV5od6YNULHazoTUageT6kYCdq6ito6jfqhJXN9_4Mi8MbD2asw_PKXQ3nEwQ"; e_fb_requesthandler="AcJBi06qC2kV8GJtWPkEC2ztslARSxuFbvQAhr2sBGwjKseZoWQfCB-0_rrMElGq5Ow_ff4xp4I"; e_fb_requesttime="AcLFZRdw1809gP42GQU34WsKXMbP3QJiFoiLOUG5xqZUpidH1tAoDyC_m01L5d5RYV9eCO1UCQ"; e_fb_builduser="AcIYegJxUJBaUqDnEgIrnGNcO6gUMgqg_lM9_y-ebsHGRTi1aBuxaIZj1ZWl_FOrutI"; e_fb_httpversion="AcLRT6P9XGu42yEnq8i3RV_l9BaxP8nYFbmnVbJi0IKTMMXuaetW7qMDHsxO"; e_fb_binaryversion="AcJXy1WY_m-JzdEUDyGce1CTMSJ6VBhn0KpRYU-13xxYEcEHgNFi8q0yVeXCURMWVXZ0dy7PvgyDGrqVk8pMPPybZVBxXVmezao"; e_proxy="AcIE2S5PKLFWR4JjyqcAZ1ooIF92lx19YoFQPNT771Yks5pL4GLG7_CaxnNXY2gjkxQ3ADjECKzeuAPB"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=112, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25400395909574004"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 11:25:04: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/27/2024 11:25:04: Error on send one message facebookId => 25400395909574004 03/27/2024 11:25:04: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AnVGprWUUwOywOFnu-uY8AF" } } 03/27/2024 11:25:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/27/2024 11:25:07: Error on send one message facebookId => 25400395909574004 03/27/2024 11:25:07: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJ1geqn77wJT-IvH4qBYGah" } } 03/27/2024 11:25:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/27/2024 11:25:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 11:25:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25400395909574004"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14751195, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOKjQF_yuLy4uBqsCyq6o44', 'x-fb-trace-id': 'FPY2syk410b', 'x-fb-rev': '1012347491', 'x-fb-debug': '4NeR+n8muoGvP6/LHPtmVQmMYQTM8OZDg9DtvqfBJDu0AAuqb+nfPq2+kg7XT+6//wUIhtsMj/VR+VZQGDsfkA==', date: 'Wed, 27 Mar 2024 11:25:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL9xUcTCKkg4rs6j1OpDDi729dn8zi0J5G8-xz1bGgZjSpQ4PjdOSEF6yEibw"; e_clientaddr="AcLpeRLIBoah6ZIHQ8ShL685Ov4cQxC7wCyk-Rt9tAELqYmtEvK_i3UnYbJgy4w4PDbU7LBeaO-7jxtMnXCio91N7-rilaT0bjh2yagnN_Qd0dSw"; e_fb_vipport="AcIkdbNpYMmzQiOW_qcK8G8bi0DMrTavIPjQ0ycGATKfnE83BJpaf0RNFZ5a"; e_upip="AcLlFIDWJsZP6dx11EsbIoZ7pw8PbMnfOrsypnpGiBxElg7wn6sKrIYnWZRbHvraRdFI1ly-mMaIFVHJ1SaDgFSJj0Coa1rXnUw"; e_fb_requestsequencenumber="AcKYLGySL3JjFY-AhTtIFaNLfwbnrzsKZXbV7t3SLUA-f55OUBQ74fon0W0V"; e_fb_hostheader="AcJZVxak86t4V9bMnl1ZDHDs7x3naWQquRGlKSqeCC23uRpMjWFlfB7Ow7pB-iwwNtWSph8I5H9xfcR7"; e_fb_vipaddr="AcL_0IsJ01V0ac48ViJw6IOjiT7vcM3eX-APsSnr9_1Tx8bR3iaBbk3xxs05ZYdL0oEUWbaDfNkcfZUBa7l-BMn_2_yvGyCUUA"; e_fb_requesthandler="AcJTawBssAcND5xC7e-r43CZJqiM2wA5H7sFphuEdgttbKYqCRJ5VoQASgpZYzWDy7Llxv72pkE"; e_fb_requesttime="AcJI8b8RUtb9f-ZQcmHZ2-pMuLXlNxIrkIWkIIOLevlcFWD5te5KUNs34iVLgA2i3R56wLNoZg"; e_fb_builduser="AcIYFaX5x9DqbrdPF_hXwpGGSbjKBEGI3UI6sBzWMhwu1wvsUvYUDCcDs6YA3lCyd5E"; e_fb_httpversion="AcKrTZo3ekQUs1wZ4h745HrKB5jxKClIhJ6xbg8efVbrzkepHUowBi9Ws4a8"; e_fb_binaryversion="AcJWhd_lloZ-YM05y9_Fcw6hXKS6-3AliG-Vc2E5yoLqsKj5-fK5fCUtMCsRq72zQmHBRsokCeV7j6lm2umTJCEBl8qjyUnkJZs"; e_proxy="AcIej9jhR_vG9Ndh8X3fEHZDqDYlrcXkRC9k-ywyTzGllyOEQ5RBbZQLn81BKd46oNwnfrpsgyHeF-yWh-7V", http_request_error; e_fb_configversion="AcK4oVJu-FHAs5Fb3cFnE42syWQ_TDgSMng5yQF7risox3InbX6hOpGNK8nh5w"; e_clientaddr="AcI0SjIQu3TbgivC6e153CnYigI7rs62FE3-OYlcvMIn67tfEyXEDQZ0X3Rie9hk0PxVnrteLpsPJIUhsg"; e_fb_vipport="AcLW1OH9en5X-Ifb86C4IRHu0KLGWfbu8QYgWMIMRJYZhGMXPjPRp04iouIu"; e_upip="AcLXl9DFzlpNkeWk00WQAR0Aehb5cwpjxdnWhB3PQuSULchuhSwiwpixhxL5YbRNXj5B-S9F0Haj2KswNh2XQtREv0Iyyt_DDw"; e_fb_requestsequencenumber="AcIlSUvQ_ZSD19K_6eVsXZvVyHHrci0poSB6t9n9q37DsepWADrEt43aMA"; e_fb_hostheader="AcI8EN_qeTzCVzjvOPx43LZ_BnU-kpWUzl6mlTU65Lt8C3sYG5BsrtdF9nxeZdlCxDy0IcEywSzX2-Oy"; e_fb_vipaddr="AcLsj5HvZ3llxiwBYUSmKE2KZZo1yTGqFOXk63Rop6H611DR0tveu2aYtbem8Pk9thU42clgTw"; e_fb_requesthandler="AcLfnU0jb7fHuSpaewSDV3-eHZCE0seMFcgrrHqI58yVnt8Gwsbv1SIQ8ffyogwLeVEMp_hdXEM"; e_fb_requesttime="AcKClBa0lqR52l_SCeDLPTRSvc3nkhUHGpPXegU2E7-7GSgLF6cNOPx7XHXXSNSRaMwSLp3Yew"; e_fb_builduser="AcKc-3Zx71orEIwwftM7Y8Lg35pc5We-LBz6Bni_8FpDgtzSNI49QsaQxDMof-_5AJw"; e_fb_httpversion="AcITvBRIfysof0GinazVACwka0-RFMayj1ITxzQGPgnJMxuu8HuNoMGYXRLJ"; e_fb_binaryversion="AcLspfTBj5Jg4P2BA-hPtgcATnKRD5kvSrXkeEj6uj24S5JNeLNPjjki6SI4r2xS96TTW0lx7z_Az2_OAUW_Oz3sKZ7RVV7-qdg"; e_proxy="AcJh4PTkttPhc7hdp_KQBban0_0OLMuDfbRAJ4gDiKeiXsKMXyZUte1UpP9ukQRUc1JEhYRPufHYqqI"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=202, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25400395909574004"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 11:25:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25400395909574004"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14751320, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AeTEWQtanS8MGjwNP8nvzrM', 'x-fb-trace-id': 'EVvVkn0YhLq', 'x-fb-rev': '1012347491', 'x-fb-debug': '+L7jhdeebQgwK+nbqnsY+/Bk9CunnzUQGOAwAo21OUNBZCmXp59ZgFwYMRxLEByvBvjHPpujlBD0ELD1YnyUMg==', date: 'Wed, 27 Mar 2024 11:25:14 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJx0TtQgMboRMmOJtqn-lLf-JkS125UCRLqpYTSoym7y9Csp3-GWHyjs09Y7A"; e_clientaddr="AcIjO-AIhD8ZppVgLA0DxM67FbU6gISCeAmDFEga2ajf-rgSKLAef2kj-I5XkLEWxk54pRd5hmku_UFsxqogZ9GmN2YD7S9M-HtC8XUnMkyhfM2D0w"; e_fb_vipport="AcKhKZqtgonM082wcoXQhyGYDWBEZjmI21BhVpBIAd5o53UVFXm7bfmFi1Q8"; e_upip="AcItoWZ_PtklZLuS24esI8ZR0hGJ3vetSaIVkknDheNPa7P_Fq4_qXm-w7qLDRSGwOLXLpwCyFRofHmu8RMKVsSkv80oOcE44E4"; e_fb_requestsequencenumber="AcL6f38qp4CdLfUMPbAbxwR8xDQUB-VRYXBoTs56P8pBoHWMsZza174_hP0u"; e_fb_hostheader="AcKpAxUUfyZYGuU1skhw0hBWgEZmjAFRaaqKkZVJo8LDkVxNslLXrEVekYwsaTC11B28yktMI1mDorCk"; e_fb_vipaddr="AcJYMf46D_hNOxc4zwoDiwu0JK4MUsAXtTdIL94A81OpXtv1IHqlXkiVzRYBrvE0SVr2s04BhuZyHUlwMATjrJYyphA7Z0oXUg"; e_fb_requesthandler="AcIt4i68ZiRmHWwn4nG7_DU_BxshoCpIAwXQI9wc1wjJKeSAqvRE_vs--2fxjGeOlqHLjGxDOAU"; e_fb_requesttime="AcIYFKYVvOmPhdypXu16LUKHPjkFmDx6PwF4AsECR5c7WnV53lUaagdm4X48lnpiV22I4VJk8Q"; e_fb_builduser="AcJTXEFhlnpanxFJR9vMUk2VF1U3vYc9dOTBg1ub1zuwFXVgyqurFmBeBCHV6Y08ZQI"; e_fb_httpversion="AcJHMbfyi7zFKLcgQOO8AoH063sw9LZwN92qkhceyq0T13iehESTuqMTDZkb"; e_fb_binaryversion="AcLB00BvQVC6dQjX_4KjI7VeZ-zuWD6xuaZUc1aaRxc48MQFLJhTXqOJyeO_AJB8Zj9pUBY053ROU3eGGc0Wr20-A7KfmVf7Q7A"; e_proxy="AcLSViBs4aNPyg1jlwQ_YebRn2fhIBHnsm7sogxDkSLsN16nBTOXB8jlP_lrju-Rb6Buws_iSwlQ-7znEjvY", http_request_error; e_fb_configversion="AcL-Az5-uufbEd2lKExruEwYzY-S9WzAqGRu81-spD_hlBGogu6yb8Me_hMEAQ"; e_clientaddr="AcKVp8YcRIG87xU3uaieVLhubAl2s45ibxr0bA2az13lkwEfbs1zk-7H1I_UJR1HzlxilXRvnsmrwc3KbQ"; e_fb_vipport="AcLjaKAe2rJGpIWJ1eVT24XWF50_SDW1c0n_PuYjYLze7klwV3V-WzDWmKS3"; e_upip="AcJuSQXF75ZOmXWOemo9BQjJubshwNjTBRq10lFqw3Vk1ar2WyuNMBJRbDfyLWyztc1oJg7L6kFkv85vWeQ6dk0STmvUQr2hvg"; e_fb_requestsequencenumber="AcJ0aSrG-DzgO2ehNz8F6UaXZfNzFI90r1N6FopfcO2JC4LyegIGd074uQ"; e_fb_hostheader="AcIycA306d2RlPTFRyeQjMRofsLs_A-sGNlq9AmXlEdaiXZOqSj0FaSpDofhzdIoyq1aKGSObJnYD_a7"; e_fb_vipaddr="AcKv-aQcMx0jpKRx42YqNqz1INcvBlSJmDw_vxgyL_GDa-lE75Xm2hViDzNjF-aFDzmb0UPdQw"; e_fb_requesthandler="AcKIfEKqWWK1iLFg5qW6x2Jgtt88uXiC1yavm4TtwHLUkUDstMP6xTnznBG6ARFUWhB7GyjCzv0"; e_fb_requesttime="AcL3eYeBHYroMVjeKgYJVtUoXP6M81TBDzbNF7K_MRJdNVh0Cj7FIEU8kBujDeOav66JVmIS9g"; e_fb_builduser="AcJRkcVIq5MGfxZRzTuci4LAGNPRQZdycYd_p57xD8-jwfyh1cPoj3gfQiWZcX8MPKg"; e_fb_httpversion="AcLfYqTgiafxrnR75cRj8_z2zCdLSB2kcC4uUOPhS2ufk5vlPzUw7zLQRgZy"; e_fb_binaryversion="AcLYXB5Jp6PCstcNw36AjyyxfCtkdvttrc92AT7jbXdDeZ-7wnJHuHq_b9K-DuioEdKJ8AtbI50oFrPBTA4lfUr7QFdHnMlHrNk"; e_proxy="AcK0yiTcV1wS4eZD5KgsvF_KcFxBmt2eR418YWLMRHQ-hmyqiHpAuhd5638DsJN5gH_2VuEKCQlu2nI"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=100, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25400395909574004"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 11:25:12: Error on send one message facebookId => 25400395909574004 03/27/2024 11:25:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AL8ew6IJRy0GS-yfrhN1Uea" } } 03/27/2024 11:25:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/27/2024 11:25:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/27/2024 11:25:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 11:34:14: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8244008315615808?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14753194, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8244008315615808?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8244008315615808?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8244008315615808?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8244008315615808?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxL6m4ZsxH3EgOxVMsjJkJl', 'x-fb-trace-id': 'AEhHi+Win3y', 'x-fb-rev': '1012347491', 'x-fb-debug': 'pdthdHPj+IYSRtZgQaqpPv+RH+BzH3hAgcSjoNzPLlFkMwIYhS+053A8TynLB3I6RoGUpnE0jjtkS1tCaABXAQ==', date: 'Wed, 27 Mar 2024 11:34:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL0zlEJNtCO_Wx-0lUhACsyGhzJKN6f8KNMt4QY8KVEwliKYRALpLuOyshsfQ"; e_clientaddr="AcKXHR4LihRUVllr0mptziPxQV3hy5SlALW-KK5RL8msbfL0nJr7YRKnwt6VKHs67YsjRfe9qfykfTARTY4ptruR3lzcdwAwFahAmr3A4JZ2YN5ijA"; e_fb_vipport="AcJtu3fMRTVMMap0JwbLq3SrA7hRlbBUC6c1WVWsef5p19CHHU4OEZ3DQPXL"; e_upip="AcKbeI1yTFP68Ir3eVeWJB8BfCWOG4U10sA0dmfXaRyWv175FoVEqWPKVeRlXLI8lqoLBWyh9rf_wT5yZV3-jQPUom5AYtEfhN0"; e_fb_requestsequencenumber="AcJfgbgEvLW3uxtzqtYl5btz69EFfns1DMnn-qCbbGYDj4d6ys6x_NpXrm5w"; e_fb_hostheader="AcJeh7sKm5kZHLaBgBVeavtX-eYEjVfSjnbQPh9mRuFsYP-pP1M6TP2RfXLPYHKZa3UQIZY4mMV1Q5YX"; e_fb_vipaddr="AcKRIQkJFBQ1f6zUcJjm10IqWsMUpDtrK4mMQlXU7LXfsqw4xSXEKxDT2tC8bIOsQjcqAIevgobFjVQO1mnU0AZkM9dl39X4Aw"; e_fb_requesthandler="AcI7uy9MnSGHpHGbWu4L5gqC9Q4htLHVU6LdSvs1q5cHU2mg3hIfe9Pre23WQG7kQR3xCgq2Y30"; e_fb_requesttime="AcIshpyGUqFpgfyzBX6rEiUB5k0iM3ysFeSfqB-9ASSoEL56K-0rkof3dNS-6zx-31a1Lm7k2w"; e_fb_builduser="AcJ-IWtMrzJ8CxScvJAJJf3WDj7IKO5vPXlWP6ApnoKrHFnuE9Ve9wNeiEbIvc9IhMI"; e_fb_httpversion="AcI1I-FL2EqnW_0iVagWMSg3x9VFoLYaygswhiE8f6GvqlZ5Bb33rqiZNqLQ"; e_fb_binaryversion="AcIFUNkrPglMdJOLyPbLMnwUqVo190oixt9eDEUAhSBDqOj2svyRIwS9HuQDOAXtKCJfTYUAnyZeiQCUAORmAkizeClSf4rSF9s"; e_proxy="AcIWS4GJm0Fc6WTHK2vM6-0JpWMmor4ECZb6bwg0K2ZrYbDUAXyxyrPL3HRtF3c8n8zXwxkUXlme1EL9pgs", http_request_error; e_fb_configversion="AcJlZZaGZ_0tCMV5OIKCMej3f49i9hH_V6SIRwDAOpp7nIe47WJ1FLHLPYyExg"; e_clientaddr="AcLc-ITSBAkJ-D7FWcdLr1DFRwy25f7yNf-g9DdCwBdB3w67JllqX3ovMyrszBtayu6QTIsP9fOtruCbew"; e_fb_vipport="AcITwVa_abtDn1C7xoMUIHNStR1OA3F2I-BzQR886TYR0UQxmruow88H2ASw"; e_upip="AcIkMkR2-GTj9hnwZeTrBeUgyCYSzzwYrMvwLyMb2wJuTfllh5PrJiJ2TSUfQ61CyOJPlrtLg68OXaGoHGyH5-tPY5DML6drwg"; e_fb_requestsequencenumber="AcLRaMetEvLekV7nZcb6U61gOQJGN9J9DmEqRxzy_y6OzhMhaho5gMV32A"; e_fb_hostheader="AcLPRvrjB1G1v3auA1BiE4moSVupFmxKUQNlZRTmIDcxelS6ahuPeXkTL89Fb5Xwcskf3oRu4dJMgXWR"; e_fb_vipaddr="AcLY21vcTyUFbE-FudVmWSUAFC2xDhCFoUjUc3Cb5pXlSwCU46bsCJ1Feqc2Rskl6attZBM"; e_fb_requesthandler="AcIojOkOjyQDIHADdBbXpTrcJTPDtKhVPDBdIl1EjjA89VNrQjftZay_jsaNwn4v0yu1TR69Lj8"; e_fb_requesttime="AcIL6d-VmXm5jxY3D4d47tG2t8X0e72LsCWUP9YcFwdfOIxFhWcBPrfrHcq8W5JwsKKQSE5qjA"; e_fb_builduser="AcLIBxarv0aFC6bUBpV7Wr-4xrhwEZpQfujKSKQuNoinIzkHtwMDnwS7u2yT_GuBr7Y"; e_fb_httpversion="AcJyBrYcfWfoDVECnRzeJka04lH0Pq5oryrOMHdM_I_YupS5My4-hburTShy"; e_fb_binaryversion="AcJb8tno-hl7SFFWlJNCC-Nsq2WyHDw6O1En76kA-JOcbrWtUrnl4mimBnJ1zB7Xjqq_pnehk6NUizvYcUYxA8d4JCMuHWKNB9c"; e_proxy="AcLrpOrusSu0TM3WXpDVqtUfJvzFUBgSLCi5r2N-6Yb6G-fm_q8rt6Rj_NVGs_TTfUVcY7gK8p2C_7E"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=260, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8244008315615808?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8244008315615808?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8244008315615808?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 11:34:14: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/27/2024 11:34:14: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/27/2024 11:34:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8244008315615808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14753312, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATmryIoLLclWsoDBXz-qjsb', 'x-fb-trace-id': 'BrRT3xpJ1tf', 'x-fb-rev': '1012347491', 'x-fb-debug': 'Rj24eRYnn0q1IWR7pxdsC71mJros0cXVgn/0/fJyY/Tb5dytqAsnaibz1zwnv0sPA3u2aBsz/3EjUKb5TLwErQ==', date: 'Wed, 27 Mar 2024 11:34:21 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL5Fo3b_D7b1sIWh2R4sH92Wqu25llhjiFV9a0yB5i18lIDfDNi95CIkoU_Tg"; e_clientaddr="AcLzNUxxn5GsYI7JBqBaYFWFmYv3_G01nuTbqL6-MpXCSXefjcBSbJjg77rqthPfU-Rzr3LnmHB8Yi_EBb_x0OUWpuZm2M_iI3RsqK7R50tZO7LWQw"; e_fb_vipport="AcJB38lvXqmhlDYup8eilmTsaopjcijE020jpuhloLSe-XGSMKRjikV-i4Hu"; e_upip="AcJDFoFw_jt-BuU_t77ux-3iYb_cUcKizi5cOD6Wecm628oPofD_WN2WY0-8AwFTyY1c3eMX5FSXiOHSq8C6eLSjigsT417jYfQ"; e_fb_requestsequencenumber="AcIJdJAXpmlStfyTU-8Z7MkI_VwUdb-ZOaF1jZ6oh_drqEBejepDkmkF1EGe"; e_fb_hostheader="AcJ5ymdIPLUzVwTmnyxBgJcC1BN0nLAQQqE6e2b0gMDu01cYkGJL4XI9nVfBlj1AOngbh20QJP_oP7zp"; e_fb_vipaddr="AcKW9eZ4r0Oll3KQwREvpZ09D2C1739ZDD5VzdjZO5CuYySaVmHeOdyBBOMVpByMuanEO3U1GLAmDqLHLEZ9PTjBHcbBgD5aHw"; e_fb_requesthandler="AcKf_ZLzXQeyDZ9vQDDxbivtHdxKwzitBMzrCH6kLDkcP0K3fMOfdrXoeKFhb9fyoM_0mUhdgrg"; e_fb_requesttime="AcJjTn5SYaBJ1XRdr6FPw2jZFnSqnI2rwvy_fwsw3fgT9zWvs8JNKcnZKfdwrpSEA0AUOWG7kw"; e_fb_builduser="AcI9JYkZvLzv9prlAkwyjQsmuwp0_eCkrFf7_1sUhBEyYEJoEpJRLvQ9SNeIo598xOY"; e_fb_httpversion="AcKF3DlwVMRlCnaE68WXgnsALvE8tteP36ia9yU4gWjHrCc2BZDSNmqs024A"; e_fb_binaryversion="AcJ5BRw7h6wI3HPA4oF6D8aaz6Xfo_e7OBjmMmXNBd0TvqwF0lYTW1gD1oEDUX75kajqG_3H49U3ffR8ZWlCcRVdz0bgHoe9RtA"; e_proxy="AcKarE4We7KQrJtFsq6JOd1euwS1s6ansMpnPuk664ZxwRg4uICBJPJ1AJQUWhbGyXxhQgethOjiZTPHoc4I", http_request_error; e_fb_configversion="AcIqCdcfbQY4r6zw7ZMn3uyySwSX6DLaAgPCCF6rN5t834ntXrECvVACV9P0dQ"; e_clientaddr="AcJbu3ntOveKivdgMhKJEb0TEVD7WFk6Ok8koRxZvvFVRoo2gkjSDC_dVTmHdGXsSry30yANx0ZeJRUeRg"; e_fb_vipport="AcJzW1tpVzCIQwTPFxfQEpIoPP_NnCKhxZP5pMRxM2tjPJqa6C_yKz8BqWWZ"; e_upip="AcKYTFYb2ohJQA0GK7vmbLz_gT1RoqeqQtpN-r_ipFLplY3dTDEAj-bUTzmz0RwNQAef5QaGBtvvakmLyi36QtLlYGeIsePWpA"; e_fb_requestsequencenumber="AcLM3SeBBVpEPOQjjEqMd7ntT2wkWchvqYkE86rKicesiq7HlLLF3PCeaQ"; e_fb_hostheader="AcKBnJ9fm_DG5PHYv2Rfv6Fk_y62Wr0as0frYqbdr60UfRUOajmqFPeH7EaEG7ONuFC3ZOK8rk6GBcZK"; e_fb_vipaddr="AcI4JoIjnf2WS5w6C0d-sMdkRUwZ4207hv2wfGL6pvaRQ4FBdLQOUJ5G3BlszCDdHd32cuI"; e_fb_requesthandler="AcJXdushhsx6iekCMUci_d4uqkV2cRh1iiP20JFWwxz5joPcdicHWvzbbUXUMARnit3tbT2eAjk"; e_fb_requesttime="AcLB08s7b8lcR1oMsJoOF_p_E7plDIT_x8Kx4HsBPfQRtDiSFsnMo1zIbhqDllwl5y-iy3-jlg"; e_fb_builduser="AcIgu4sgp4YKE4V0EfE_d74Z-sH9UVjuKigwTb19IuANFw_S5jcE2WHhLu3R5qjquKA"; e_fb_httpversion="AcI4etSYc_vG7d9mfTSwHvKUMqfFvv_upuN9qmFVZ8tBdQcDqfs3BXqj4_IX"; e_fb_binaryversion="AcKcrZ60j4yk1WmlLihcZo_es9YuR6MlIdl3gAJAl9a915RsoGudG9Snl-7tM4W1jpRC9EuaZfgpOJerrOYUR2bZ_LakkPBjFOo"; e_proxy="AcIjviXHq6B2tTglgbztu7RF7Ao2M4i3ul-Bu6XSFN0HpqRHep7FkEbadLt0_zJKPk4Os3YFeThGI5o"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=214, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8244008315615808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 11:34:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/27/2024 11:34:16: Error on send one message facebookId => 8244008315615808 03/27/2024 11:34:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AS9v4mV8__plpRW3sr7ghNK" } } 03/27/2024 11:34:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/27/2024 11:34:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8244008315615808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14753390, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXiX5c6MQUpDbGCJtx-5cD4', 'x-fb-trace-id': 'G/AurMGyQAf', 'x-fb-rev': '1012347491', 'x-fb-debug': 'B7HZ82VMuxflr3/OgWAcGbYZ9qqewC4gzY5kBSTcadNRjB3HthdGVPALABHQ2Uo9s5sx/GrWXrpTwIr6LGiIBw==', date: 'Wed, 27 Mar 2024 11:34:25 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLd2fOfymM2sDPE-u58Jzv0P6CPrArUAUZ808K3HXoascT-TX7wWfa6Lfb-Hg"; e_clientaddr="AcKB974PBYIzXFcJLNJfkO3YX0SnfZmQMDQcEJcG4gAgTHgxMjdcnllOVygUNmqpqKgikSxKhB3sr7-_IkkU1ko7Dw2wFFu-jtyki97vOPmj9elMeQ"; e_fb_vipport="AcLs8EktdB567hnDgwucxEKVoYGxpkGsHjkkaMHxhkxrMabrD2siwb5y75ut"; e_upip="AcIGKQbSDgtJdjQjt3C2jw5fKEedR2wnxCOBjmL6kjYVA8WSvyqKEaXe_JjgirqU82wXRLT_iBRvCJ722d_LPknpOR5N_ZBY"; e_fb_requestsequencenumber="AcLXU-DExQtI-zL5s29Q3ZQGJDxW4J0R7cz5fyXD_zQFNG5q2XWUbweu9j-p"; e_fb_hostheader="AcJNkwI_IaD-cf1x0xNdOKZyaCo9qS2MOfg1fHvKGGxHjY8N8iwbN7JXjEPhF96eQGqjuV7zKVlxLt4h"; e_fb_vipaddr="AcJgFmisEtiJ-MOclH6gZR-47A8xSb2mr9psMYugfllHq4p47ykERpuYhG83c5sQxd8AgZkVROA5tGiS7qnuLpjkg2S1EY3DeQ"; e_fb_requesthandler="AcJwPgz2viRt7XNF1-43aRVrLY_0_DHDJRTzOkU4v_jNZvz9-chGb4aQx-ehdKrxSns-1b-C550"; e_fb_requesttime="AcLYy3LrtO3Ea9aeE-M4sdW_Hw7BDsN8CQC6m7ZJqHTqkOTQAyAG8BRIZiKVj0h9AN7al8UAyg"; e_fb_builduser="AcL7BT4P5FWfBUabEAKw6fy4mjWs0Ngp3TELh8gin-dqUyE5aQ-eus7KORI1xdceAPg"; e_fb_httpversion="AcLUO7sLoynjLTUsCO8BLUvpbhbDVNN09sBt6s9qfMWOwdBXKdWjJJnriJC7"; e_fb_binaryversion="AcLAiwss3ghl-w4t7YDISumcNpDTvDnxHecVwMLtfCqsTrZmwZRclmRSxsicnwnq8DEAmO20JgbkhKxiUGA8wQYR_zLsR7MPjys"; e_proxy="AcIDPQRHCWmab4zZ5RokuVyZu4c3Isne0sFCB9jQBblS-2UmVlySyGGU9aNyER-xryKXi7_QrqHkzW4cJvVf", http_request_error; e_fb_configversion="AcKWguD3vs0cLwp4NPsdEOUGNArtyol7n43c2xd8G6nh2-LLkhPiwXg0sJ5n2A"; e_clientaddr="AcJIlZk4ijWzrRSK7CUGyplSxeAloD1Rae9K8EUUjikAzgnGxFDCQQ-k_x4QlB7N4dasYr1QxQg5xBxUlw"; e_fb_vipport="AcIxsVmaUHATztbJTdNv4ln7i5dLERkqNV-f675sRHwalxW0ars-loCbpawv"; e_upip="AcLIKwyydj92KFi8VOlEmNS1G-L7AZEYiYuYVTRlNL9jANEEWo4U6pi4fapE8ertJA-vsN9pCCaPhmo8MLEBqeCUuv7AKgLVnw"; e_fb_requestsequencenumber="AcLnyAJSf-LzpGs96RO-vz_HufiQ23n2OPxruUQ_y3Ylhbu_bwVWadb2sw"; e_fb_hostheader="AcIYlkwgdf4SimkCXb6xkUIQXZY2EM_ztbz3dup6Ysb_K1oWLopYef-bpuOjvVJLLz3oJxVnk_Bx6T3E"; e_fb_vipaddr="AcJo2UnLU8IofYPEhpUs2qn1CrZZy_OlVyqYeqjqa5JFWq0qtqclzLhnFygzgUJchZvSwCY"; e_fb_requesthandler="AcK5sverwU0HeHaOTMc7-WKuePQjkKiZ1jFj9uByMz9B9jF50bUvmpl_ZxUsAw7QRGwkvcc_L6c"; e_fb_requesttime="AcLVACOJszKUsUxUYMz0M-30xyCy3KaA1md1M-HXiysDsIq2Ewejb8af8YWomv44fn07Cj3OMQ"; e_fb_builduser="AcInPOtjf_Wv-LDHBEiHvF9z_RVrQnohODlithnA0w7aOYQVLaaodQpF0MbExZ45xfA"; e_fb_httpversion="AcKz7vOtAvgymNddhmATuwFXn3luTsOzgNPp1AK8f8o-V05_zLOsU6hrH8-u"; e_fb_binaryversion="AcJ4o0tinW6vDK4wKHqzdvE3zJAIyj7GXW0lbUNJ2G38ofDeVyM_caWnIwpWOzxF1ZFS3MCmPHk02tNys1WzNgD-cVVyfNsSlGM"; e_proxy="AcIfwH57E_9iv41xsDZFQbrBiQlxhJ8mjM4TnQJAe8ns0Y4fUvlWUSJNIskqh6ac03q4N_kLYUMsvEU"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8244008315615808"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 11:34:19: Error on send one message facebookId => 8244008315615808 03/27/2024 11:34:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AeQf-XsA6jpYD7AndBlKjEl" } } 03/27/2024 11:34:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/27/2024 11:34:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 11:34:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8244008315615808"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14753532, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWq5ujt9PbQ6ERFR1zlnQrg', 'x-fb-trace-id': 'H9XHUQZpM3u', 'x-fb-rev': '1012347491', 'x-fb-debug': 'gZvzcziQ+btYL6gOj5zjYTIFODU1fVlQ3bz+t4DYLjF6kBiabXW980IE3EgG9zk0DsGt/kgJR1CzChhgwdW1BA==', date: 'Wed, 27 Mar 2024 11:34:26 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIE9E0z9jNB0pSNiLLyKg-Frngl6MLTutlVesYEzsRqsvvEWw9CLjvYWYH6Zg"; e_clientaddr="AcJP8OlAq70j4pbHgWmN0BWJeFYZnSzoptEBhfglAHl0saukuLr2vhSKjzn0vbPHdUaD6PMzuaVYe5Bzh-CWzXUtZji1E9644VbjjDoKDy8A_qba"; e_fb_vipport="AcK053mbWy9wa4kCPU0hJl7JnjkyS8pcuM7tO_p8-F7c-YYSuq04pl1mtwzP"; e_upip="AcJ_1IR_m2pDAeE1zDCYlnqRXDX0UBSdeSRwj5azArm6i-_il_Rp7M_OTNH2R8tJ0HwjHg7OypxGJTnie5E84zg2stwP6wLMRA"; e_fb_requestsequencenumber="AcLgYVWuJuA9mtSiob9xV1C7jv75crYdKN2jwMrFa-gdPGoMqTkqv7211Daqbw"; e_fb_hostheader="AcLwbliF0Tx5_xBRongHzoQ2zbaYEbfqp9wZx_NkM7NJhhGcaElqFCOSVALybgjWzN16b9vwsGiBKZIZ"; e_fb_vipaddr="AcK42DsFY9Yr3ohn5GPdgwaPOBCO90tbWdMlC645eNlfuE5TuHP4oD7JbhTD1st0hChG0VyO1sxzYGx_avIYUUx2GLspZocaGg"; e_fb_requesthandler="AcLJ4mpeqIKbprfg_urqqGyU3wpfEEAECDhhZ86LY2qI3k4nqqdBbDK3-XlRbClrKZsLk7HULZw"; e_fb_requesttime="AcJhX2_uTgWMQdWS6_MChesAjJ04J6dZtXRc_PPdwKWygehzAZqL2BtR1YR7gyyWWhXgattB8Q"; e_fb_builduser="AcKSkT7hFK8-MkRRfbAWmmBb9m9-BBXJ-Ac8tmXeFa6EX82dlPnX6vYHq2k69Pi3uII"; e_fb_httpversion="AcLLrLnjWT2TzAuUz-pIwQJjH_GqSLt2Y_107SOMqlxVLy7VsRFxqODC3RF2"; e_fb_binaryversion="AcL1YJWSVX6V_Q4lsTjnSCn24o15DfQetpSNw77cIwBtqt7hXUXjiZii1SPEKuj31m4fUra3_0GDD2dsvfi9xcumtdLbD9QUEPw"; e_proxy="AcJwD26GrQu2BaqAuDKFN_pLkBX7bp98CIdMRRq6oEUdNCp1YGO3uM07A1V5ed0hm4yQ8yVg_Um2tb0kP9ou", http_request_error; e_fb_configversion="AcJpJ18oBVz73Dk-faSeG7LG1KnDWfwtjAc5qNKSBzWdSB3p456lJqDO8_27hw"; e_clientaddr="AcLZ2cq9RsHUkmcXl-xv4UYisrM-Zfd4C352nu1Xl2c-pShsUGhuwP4_rZxepyGQnYEA6WIL9fNW6ZXruA"; e_fb_vipport="AcKoI7-5nH7H3jWOYwN-4y-2ExNzRISoaQrwHdXXc10PdpYiKEId2P9dQ6nt"; e_upip="AcIFfvjf1-EPZz9McR00SeKW4IpNILqTCjBdzvIFD19_WYNeDK8UirrC7xHMBg7pKs5pA4VFBYs4TD-eztMkxW-PZV8_F4OUQg"; e_fb_requestsequencenumber="AcKuzdnlJMuGQ_Oo5e853mXqSjtPmKpTFeFwvF2BsUzH61XqfkfTetfvFA"; e_fb_hostheader="AcJW4lUNjHTEuv11mDG6sYOtI3odIYzdvOhfZ_h4pSIPoSpN6-MqjOdxup1u6doGVikiRfRpDkOcHwqA"; e_fb_vipaddr="AcK1tOYOA9nNnG9KmEYSWs_zWk0yYoiCTuSEFqu-ZbEdw86vwPs3r8Glks-_vgxdIMkCEHs"; e_fb_requesthandler="AcJZVBjZJT3B1qweEwIEjTvIKcQbpZCeoGWHM1l7xitYOfI32ub6GfhOZgGpoYiZDD-YQuXlqO0"; e_fb_requesttime="AcIbGHaJ93DUrglJGlMSztFdynx92_eXSIWs7eq2Rf9_bCEybXcM2msj_lDLOfCpAZ9_jpMJsg"; e_fb_builduser="AcJN4SlLVJSKK9gdniSBDYzwgFpIFbXQSIY8sCpsKHa43vXkTiFtdunduwYkITYnoa4"; e_fb_httpversion="AcITrYRNFzJgZgDCKyvH7xOFys0oWNj7J0vDTXBm6le2xrMMfaU3IHEOERFu"; e_fb_binaryversion="AcKQNwGCYCaiqR4rYJtGoly0H_YAtclri_cokzNBRqVfDcICfMNa7hkWEej9CwrZjIr0764LEVwTeqqpWPKQStl--sJaCF5JJm8"; e_proxy="AcJFJtyKBLGjzJeIKg7nwBN9hZoiZ9_fEdWVZ-f9z7qUJeDWCRQIsuofV4p6OoVD4cWU4PLULLK4nI0"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=217, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"8244008315615808"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 13:17:29: Request bot not found: { id: '133788230054854' } 03/27/2024 13:17:31: Request bot not found: { id: '133788230054854' } 03/27/2024 13:17:57: Request bot not found: { id: '133788230054854' } 03/27/2024 13:18:09: Request bot not found: { id: '133788230054854' } 03/27/2024 13:18:22: Request bot not found: { id: '133788230054854' } 03/27/2024 13:18:33: Request bot not found: { id: '133788230054854' } 03/27/2024 13:33:17: Request bot not found: { id: '1067413796753652' } 03/27/2024 14:14:46: Request bot not found: { id: '128159377280665' } 03/27/2024 15:27:30: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/1641058525956298?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14792839, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /1641058525956298?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/1641058525956298?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/1641058525956298?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/1641058525956298?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9K_s3s2OZJJ-6s41dxrcIF', 'x-fb-trace-id': 'Gd7U7mYzzDh', 'x-fb-rev': '1012348741', 'x-fb-debug': 'XN1q8SnizNuYoPYLW2BvDMRSeFpR9fcs3fKAGff7WSgvlzWTCnSgnxBEwn9nQ2q0Kn6OZHJrxajUWr/n2uVQvQ==', date: 'Wed, 27 Mar 2024 15:27:37 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ9zy9Nofg3bsNHoPXYbRt9nrElPUPeZzFR9Np12AfbX3ZkXxueBwdUuHcdXg"; e_clientaddr="AcLAQ8oxaRNoezIB2hqyWCDYOuMDKgdKdSu40FGkY92F2NWCG5QDA3xpdiijqvrUW_XLmSf4yP-kpWuWKpoIJs3Ej5N98bawGCpH64to3IsK6Pv2Vw"; e_fb_vipport="AcKjsiDjW5EU6o3HxQPQ9L3U-2Tumhi3x_sKFt1gy2i0VGlgcYgewObU4tMG"; e_upip="AcLjV3EnmDZm5EUNm-n_Jx_dbdnRotq5SuG3zwoRh2jLG1UbjRZsUnRHOlZ45MqR5RVJ16yWJJaA0cMIY2L7Mc6mT3FBrzM6F1E"; e_fb_requestsequencenumber="AcLjJ8pd5Ll0o7gkhdjRjAh7YgzpKKrvAPv4NzuMbLrIdk_eNCAFQH9-1VnTeg"; e_fb_hostheader="AcLx-4kgl532wJBTQBuK7GngPrUV6uK0W2s3LRNAy74OIHfFgIKOnXZ6OyBKSdw0eZoDSpqZwsRX-rsx"; e_fb_vipaddr="AcID5MZ4FqdVd3rg0okEFqzE_l8VM5SVl3VrPZ0YvljNfgzmUc788ngXwOqcz7Fm9n3E7g4iWth91EeGOne3AwCrL60YX0C0oQ"; e_fb_requesthandler="AcJFn4_wnbUYrY3jcWZhtajSURjz6OG5Lks_PtAxaunpAnNXDpbdUjAmoI_LtgF5dvmUQXWuljw"; e_fb_requesttime="AcLahIwka3ELKF2IBSO1DAfQX022tsBwVuDLUe78bCD2Pt8XrNA2xKeqSmEr_PsS-osBQO8c8A"; e_fb_builduser="AcI5DxbCAtWjd-w2IWLUC81n5rB0k6SX6wMn7Tr7Hpld2_fXjeDUtT9ZCpYE3peAlMA"; e_fb_httpversion="AcLcLT7Uku7qVE6Xkv56pqs9Lf9r7gNp6XGFIK1Oe-7Wo9w3n4xyhaP8vTRC"; e_fb_binaryversion="AcItrbTYWu4hC5qxv7jFqNZ0qonGmkPNE62sUdRrEudhBVM9qOhQgIXqeqB1GKL9OUfoOQo4lzPWOU-mlmVuF5lypz-tQsA5Ikc"; e_proxy="AcJq33PmrPw5F2MgExaN1v839dHLophWyso4vWc9KWTYEN-g2RvfoLYVUroHWrkKhqW4UPcm22zE1EP_su5c", http_request_error; e_fb_configversion="AcKg_cLOjt3pq_u8mc6kdzI6Q2MgCFrrhcpJpW04qtp_f6UV8T8q-_wmDD_IkA"; e_clientaddr="AcLLz03v4HUlSAjd-ibg0JtSq-ZHxah5vxBUDPv_dQPo91doQqHMGhXELfpBT1qm5s4D2lqXdPZKovk9hQ"; e_fb_vipport="AcKFv9jyWoEExkXxVjEwvo6b8XxvX2o6VV87HrdEwN3CRTGOf2gAOYhjZ01x"; e_upip="AcJH3gxrnWwSpjVEjR17W5awewZo4vpZxGRsjpx0erurYUGjKuUfdKprDEfUETQH691LZPGaVPAmWkiUlXEDfutPRNFUe-ngIQ"; e_fb_requestsequencenumber="AcLt0Emauuv9IF5HJj82w_H83r7I0I49uwKME44PDVMbfSmKEjAnX3ipfw"; e_fb_hostheader="AcLbT15jlsm3fzO8BPHX7lyXPPugAf1QME96HxR-VZCC7Z908QjrP2rCE557HORaLg74zkczMwfqbPow"; e_fb_vipaddr="AcKUbT99nB0gL0XF7s122CFWJDfJXIhYY_EWLPjGUu4mnTH7cpVyxaGWy6PfXOV1yFFdQWT80A"; e_fb_requesthandler="AcJcZVt-K7vxVTgpbVLGNHQ0IvWXxnOy0xM0TOnEmo6wBmfN_TexSeg-oVF96ljFrAzg4wBczog"; e_fb_requesttime="AcLKxAF8wTvp2Hw2hvK7vP-NzDzHqTpevZUPzEjVhhIfrhy7CY-6muu3B6CicpnAgDbHMqt8NA"; e_fb_builduser="AcJkwRb6OPswwAqjxveRzMDvNCugbQDdSlMSxNEC3C51usc-5SwUM4AiZRPzcsyP3VQ"; e_fb_httpversion="AcLYiVh0y_qrsQuZnrH3kgVPNljX4NIIoUC2WDmrPJB34Vu1dxz0GyZQERHJ"; e_fb_binaryversion="AcKuRJg_w-OToi0tjTIv1WHgL7cDuHyUTsm9tailEOxJ1IYli9N1d5L4Fo7QCH3yeK0oZfUIJhB8HBQkY3wJZ4WHahx2ANlWQ3w"; e_proxy="AcLEfgQW-vlqdC5YXIJYjLhkX8CUo301RGsfydiNCDR1tewhEMm9H82_8aGtt175ow-qTXPfrG6qHoVF"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=63, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/1641058525956298?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /1641058525956298?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/1641058525956298?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 15:27:30: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/27/2024 15:27:30: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/27/2024 15:27:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"1641058525956298"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14792957, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A48Xf399G6uCKt-AorcMAka', 'x-fb-trace-id': 'ADbFW7+7Qgx', 'x-fb-rev': '1012348741', 'x-fb-debug': 'qVKPk6cdCszUP6gFFfTyayo+LugbJ+srifKt2/2DX+deVzU8t4ifL+v+718l5m8GVYRxR6OkWxBVadteLVcQBQ==', date: 'Wed, 27 Mar 2024 15:27:37 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKJKH70snhjs-kfjoBOMm-yfg0FgvPwB8t6ri2Db4dPTvRt60Rfxq_IHD_rHg"; e_clientaddr="AcLJENJXh6betGtAs-K6h6Pr02g7I11vfR8R6kVyCUmRYOYfF3KsyIMjCT2UIn41YY8bOEEt-GdO8TUkhcZsxUD56X3R6JXs5V20e1itu6h5iIwGKQ"; e_fb_vipport="AcJf-Y9bLc3B_hUh0UO1jUWAcgXVV7QbqpaVGxl8G8-e9ZrEXhcG5vhz5Iid"; e_upip="AcI3tuJ7NcqPtmAZWOsDyFkjL2zURwT0SK7HRTTUyQIhvA04foF_aQLBZ9X5oFGgkGdtKfAR636mYEzYmKapOxBLxQgSVVMCEA"; e_fb_requestsequencenumber="AcImQPVaGOw6EKKrI5F5D_45FIMJhSFNh-5BCQmk4zv4Ci9gmEQlFBh10zV6"; e_fb_hostheader="AcKy5gfmTSl_jMNqWqgy_01KyTPWW4TBpyIxK-k8rw3JYIQwZ10thsWPvSnfKnm11or3tI4wV_mx4jBs"; e_fb_vipaddr="AcJsQxpQmIqrukiEWo89WwVJBsDGwMnKSsZ768XQpZUS0WJCwq2OsQBiKsy91vFJv-5tTGzxzYhm-RBIkmumsqzdl9qlm59E6A"; e_fb_requesthandler="AcKckTnnV-5c24D3T9CW4_ROAdl5NWCAiggO3CtKy7xc_oWyjIWu1VUNay-KQ-lGFiaFDKDhw7M"; e_fb_requesttime="AcLXLIULnXxeba8sqI1hv3RAPm6wQF3MKEdME59p2KmwGjm5dQfdTuPiyIeMkUiisQd3VwKLTA"; e_fb_builduser="AcKpUeay2OqWAix3V0c8NKLmoudzQIA5GFdAxjzpCVYFL19XiF_Gt2hBD5MmDsAQkVs"; e_fb_httpversion="AcLfYd_l7ETLrAf4eTXZR77pYjcCmUncdJK6kSTE5WWlaKP62M8yzYTRlsUN"; e_fb_binaryversion="AcKka5unFT9I786XuJBhUNIvOnutgNapKioco3z_4Ba5Hzqm_3D00VLsO4qAPThaCoFzpS1XWYBFX5e1kYHmvUhdAkSljS5ch9c"; e_proxy="AcI_h1rgFywbW_pWmaqIOoCowvLRTD2qjmyz9152BPU522aiz0qeHJwEzb7K0oj4ojBDX5lEWnavnKet0B2V", http_request_error; e_fb_configversion="AcLWm3qSGtlaNKVxcHNQ_VaxmNwU32H_OTHtFD81KVrR7ex10xCNoB_pb7ZVFg"; e_clientaddr="AcIH1mvyhFCpecdDiIECerBiViw-cik_0tEBOdsCCqamTkorg88yWh0kJyzw-6LgcMu6zplGq4tg6vvM4g"; e_fb_vipport="AcLYzr2DwXzBrRTFmDLW2U8l1uqHgcgG1oT5sRWcLXOHFmwqeNRNM8pl759m"; e_upip="AcKbcuRNevSqYHQqWx_UZ7wGWMO5wAnqmq143ZSIsg3Qtl_JVQu6VQbwbmmGxmkC7XaYG05TErHvq-H8_iOmLRM-oixyA7cHAw"; e_fb_requestsequencenumber="AcIiOXY3TgKyptP_QLVdKLLOrfs9WxAxOgDV9KbB5KOKmd86_yh8g59xhw"; e_fb_hostheader="AcK13NDvDgiquVmM_i-rzyjDmRSPaMPhujMPpChtPYbjfNNPnTEDg6RTwmA3JNfWErsZIlXhzy4l0Ta8"; e_fb_vipaddr="AcLq_LSpA8hCVIqz0kzEZCon1Ijg6-J-eaNM2SaMYr8Cus11gOIekzSUnY315n8x3tCwQqH0MA"; e_fb_requesthandler="AcIRNBRtUq4pfY-HtFLmetnLOC3eU_l1iiOJoBF5Xz0Hn7W9EoN3iEhy8bzA_djjYDBfocsXdps"; e_fb_requesttime="AcL4tQglbL-lPjUjySq3IlBV2CJyfIXosG4FibjK17gGDPEnAHlo1HOdSYsvEXeY34yVbRdtYA"; e_fb_builduser="AcKBDNqoyQqj7WrvTJ5A-zP_iNxjVMM8HswWoLC-qWqj2sXwhAVAL-8Wi7u-t2DiaPY"; e_fb_httpversion="AcKdLaXcszk0L4_WgVoe6sxcHs9vJm2GlUVQ4LwpxAIAMCPL6g3YH2lPEkoL"; e_fb_binaryversion="AcLIRkp0AYyHF4hnsdvPDlI1Ect5v91Ie6scDItWoMYl3PZgjdkbW6fnNMuu_NRMrfSIgibCn3SVnXYmTKZ2gRM5LVG4Lk_pYbc"; e_proxy="AcILpvovaTeWl-sVbplCxXA6BTAGAb-u5gh1JAek43gmh5askoD1zB_29Pu8X8-I5ErWZL0hnYn4ctg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=35, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"1641058525956298"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 15:27:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/27/2024 15:27:33: Error on send one message facebookId => 1641058525956298 03/27/2024 15:27:33: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AGhhIHflHp_dEAKVSxqqPJ4" } } 03/27/2024 15:27:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/27/2024 15:27:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"1641058525956298"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14793049, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_HrjuBEZhjoSohc-IiclLO', 'x-fb-trace-id': 'E3FzeYkVu6C', 'x-fb-rev': '1012348741', 'x-fb-debug': 'OI+nD0W/lVT8pVB2ASVPFtIL3YY4Q1JA/CXpOjVgKn+IFs+g8uV9HIlVeTxsVS45FEGBlJrU2NovO/5awDWZlQ==', date: 'Wed, 27 Mar 2024 15:27:42 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJmpHWXfvgkqReqGxSShvRF7Y9dv-iM2pQw3zcKiXcRb0N0UZhd2IDRqLKrOA"; e_clientaddr="AcLSjcoPFgpUBiSfWTKYa-1pB6Nczvksim8HXRCBNKYD3k8YRd3uPrxzOmz80rR_oQVjw_Tl6G3suLEG1Aj2VtyXsqrPzFvhQYK5ZihFTk0srBL_5w"; e_fb_vipport="AcKWJAWqI0Ire79kISP_pvZDY_tZbDGgRfOXmiQEajoGFMCqEstxbsvN0biO"; e_upip="AcIeHlK-V4lwUB7_tEGWdhP7UZZYmguNckunkrUKv-mpsmHyFbParGfW6ATBfXG_mn3d_Pr-c6B5KVnzFRevXlkE0A0v5yeJAt8"; e_fb_requestsequencenumber="AcJ5fP8qGsaZEO3YtxaoH6NgBWcGPmv9vYNIXDHgH4QHQK6zwOuT6s-K6nwS"; e_fb_hostheader="AcIzWjEP5CfbekCMvKEKYjHowTJ2web9WzXJ7GRVEGgDQkLwt7XB6aCVOfKOm2vbxdVx7jIx1C-WO8RJ"; e_fb_vipaddr="AcKCinhj58xH5ilrg6z5aZb7o36P0MVYtiO2LLrLqnRj_upuifWDbqqKObj6F081BMTyG7WDDhaT4TFVwJ6fklrQm285y9LiWg"; e_fb_requesthandler="AcIAhjF-X1gPfjVtXo7R9zToNCq9ZZbIPcKo6O2Hx1q1eqhTj_QsdwD9TbRB7r575wMS9FXLk_s"; e_fb_requesttime="AcLVIiQj7h5Qo8M1d7l5VM9GEkUpmlw4610oZGs2aRFM8it1BIagMjVtSkNQ8OzEFicMsysFZg"; e_fb_builduser="AcJFq0lESrgBa6qchx0Oqk8okqim6b9xeOfNhftohOrmpBveXEw6cf7yVQM-IUyobq8"; e_fb_httpversion="AcIIk8DhrQwIFDwViGvqlBIqRXoCn6yqR64qW2yumpfkuQlUxQMumqyR00Js"; e_fb_binaryversion="AcLjj6cas7K5AGxu0og9MsKlMlt_QLi-l_FQI6LkeZnZiYnjwFbUgbzW47ZH_0u3oPFs0r2XA3zh4-2tXUTgcXycBLwS6sgeSJk"; e_proxy="AcJw7LiN5gLXL6gor0IMfirNeS0JndypFGpLZQtouyhX33JwLPRrDaA_uJaiyfIhZEIyPl56H6SDs6gzXNqb", http_request_error; e_fb_configversion="AcJJ86zUiFmHTsoFzFdiGrK98c3A0k7io97pMhc6APP6Y4yuoiQt_NSPvaycVQ"; e_clientaddr="AcIdxRoUAgpcYYc98NpcCllw_IADy5VuzcP3m9wn0kXk8XUKqN1q6_v7oiWI8JUSpo9QHJ0222yEoGjOlw"; e_fb_vipport="AcJv7mQv2wGQ1MazOJgDxLXHV5br6rKdtpXf9dAHELPNxOVIbMpBVgFmNFAr"; e_upip="AcKhIGMR8mNdaUJSY91jM1jXPNrec0Bv8RHai-iwPX9qyPhFHWIb1XSG6e2tDszU3IA72r-SWK-TU7KyN1dFumoL1KGA55ARgg"; e_fb_requestsequencenumber="AcJJNs1MwXadV0tVfMCf5dovgIIHEDTf3YhHXNcDKlQzWXHoab9ZD160AQ"; e_fb_hostheader="AcJi_leBZBWY1E-NsLgbvAHzCNSdPg32Zcomz-byUfEKSId8qJ00dxKLvY7O-OfwWbxxLinMlRUwEkhA"; e_fb_vipaddr="AcKFBr7_WlIABZmZAPhZuD3gnN0u0lecUeZbM2up1pWbIFYpu_GFjXLptYcKbbenTZxO1Ez4vw"; e_fb_requesthandler="AcK2Nl7CMHoMFdo_UjnXmURGlerQczCW4WPKnT9pQLiLntTEwU1m3shf6kAJUYBzLMx8gdWystU"; e_fb_requesttime="AcLjLbufFfwq3WsS71HLbnxnk1X8UUPnW8Py3aP6iEFJrbaIKlvB8IisCPLDGGVjj47vf0CCGw"; e_fb_builduser="AcIDugpr_NKcTL1WmppxDAiixWnLlNidFMIpEE0gxGFtO3kHSzFA68otCpZXqEFPJlw"; e_fb_httpversion="AcJc3ley0hWPnJ_BM51cu5G14k4vjeA4-WvkwPBgpIzwqJpN0rFzO7jecLYH"; e_fb_binaryversion="AcLnSPErTerli7_ecNyggEmlvVXUZxk287PUu5JQFHNnIQRq6VcTQ7NIU_Ke6hehxQg1lcXoPjU8mbzVYCpffhj96A24vWOzJvE"; e_proxy="AcK9Lpv0yrMf_v8ul22e5q1L77Fa0H1UvopTU7VBDoUirNBI1w_mokpMw3PVzIea7x8hSXGJM9P3wOxY"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=33, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"1641058525956298"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 15:27:35: Error on send one message facebookId => 1641058525956298 03/27/2024 15:27:35: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "Ax1udHKQ6iY7bd7Jcd0OMYs" } } 03/27/2024 15:27:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/27/2024 15:27:37: Error on send one message facebookId => 1641058525956298 03/27/2024 15:27:37: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AzEW-toxkEJgCbdfbxZoNgf" } } 03/27/2024 15:27:37: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/27/2024 15:27:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"1641058525956298"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14793180, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzWpWZP36fYN0DjNiPf7K3e', 'x-fb-trace-id': 'HdaXCYe993L', 'x-fb-rev': '1012348741', 'x-fb-debug': 'ClALaj8sNiET8L4DxwPBlx7zEHA1SLLHCfkXecYFbP8Nl5vjoIdFr+4fEU78qgUzsT/5WyF8oajwpYq881hqZg==', date: 'Wed, 27 Mar 2024 15:27:44 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcIEyp4mzqpq20S79EsZT-rtesxAs9ibMiQXTQ-wUdFTDD4g9aROmwCaCD2Vgg"; e_clientaddr="AcIJ1fYXVY3lZqb2FXmvZBPCL6r6lcOk5dPgVbi3w_yt2Foabv-cMZQ1kqeRMQV9lFFSIRhtYynxsCmx5SlZJRhrFxJAQOTIbQD--wh-q2KlcmP-Hg"; e_fb_vipport="AcIJkN5aDY39t3Ihh56L8X4wrw3PBMprQ09VE3gzu6usbWTq6n3B3CvammaV"; e_upip="AcJJxrs6DcKg7pwapoz0_sj0184i1L6oB5FeQAhBjuUydCNlIr6775Lp-lLtHHP8JaTKBZ41nJrxjGLJBqkDl7kXNOzpUnfLvg"; e_fb_requestsequencenumber="AcIMfxI7HTtVSfj-ib7BAqDRnAaaHwxSRmBPlQuQBl-ar2lvLNvcz4jNNMmO9w"; e_fb_hostheader="AcJGcey7L_RLlBipIUv2tbZD0_iBIvmRyRoseS0Zw-43p0wZRhCOvl3IiofY1-wRQ-ZuAuGA8G9CTsO7"; e_fb_vipaddr="AcIMk66La2Gz0TxY9nMzkcf-Hn1o39x80OPfKgXyXsa27s453ElWYykMaOLc9PlS7QCO0suYwsN6M41Lo26HjECXgT3CAezsUQ"; e_fb_requesthandler="AcLSkYqK7ytRxv9oaL3XyGW3qs7PmRb-YfGMb4K_KogemfdzN8o-AjxctFB8C5v24NLYhvSH3xU"; e_fb_requesttime="AcJm1hfD4TaKvFfkkHY_ysC5Nok4WrI0wP5PRlJCj3M5k77GZAA9tM5O6hL18CvvF_Ktho-nWQ"; e_fb_builduser="AcJIR3cxGOf9miv6YTOYHeI2PnLm4bJbogL4v4UbMOadReEIbGZ_B6v59iheVD86Vww"; e_fb_httpversion="AcLgAUQugxXvdmGm7I-0QY1R7hM6BIIThAXlR6t2Ue47HZw6uJjfsAsZtcOY"; e_fb_binaryversion="AcJJvpKFI77mv61B9ofM2hr5GUJatBbbvF5ksNsAqOekdo6cK6Dm-o_J1FaxdWsn21LT0btWijDJslyrj2Y9lz9MV1N8Tf6HvOA"; e_proxy="AcKfP8WgidlSzIgGMhWGydKnptqneMc1d4jrcDfyzPnwCtQ4au7XKpMtbx7Q90fWKBVrUXGdDic--8kr_2o", http_request_error; e_fb_configversion="AcKgH-e12ge5Wb-SPUsjJZHt75mmkORcB6c4kllYi5ckugJeFX1blmQWMR13qw"; e_clientaddr="AcLs7FUeyt3s1nKUngFE8d4WEmluWFNaZHjzEDwSVbW5PeFEXiqWFJoOjDJ_UJRF9Ki4iAyXRum6QTUm4Q"; e_fb_vipport="AcIoCqDdM-Amj-IIObS7iatDEHWwrYNTnnIf5GEcLTG4-GHQf424fgvbuvmM"; e_upip="AcJT2l04uP3AqL7EMes5A4RGroAdGrYpwqX3CNWNM5kRutg7f-IAoNKotYfGCe_HjcpHUFwnkjb-LuxHEha9SEqw7qfZ9xD-xw"; e_fb_requestsequencenumber="AcJ66gnD6Z6UfRhKPWVVfqgip5n7ym2gFH_2JHlGfx1a_U9tO8UytXg_MA"; e_fb_hostheader="AcIK9qKLR7Alp786TsMg9UlxR-0WAuwH8iFbcJ7VAyI1_3jqYahWMpgnwGIcYR4baprk1b3gUotIS1oM"; e_fb_vipaddr="AcLw0s3qzJHnJ-ITVdDQ9FuVe8ASNuMY0UPcKgE3kyu-dVf-X--peapfr7GhPY-G2Xu1KaTRqQ"; e_fb_requesthandler="AcLyuewTKE4MCzrSr_7a7--IXJh6SsnxRJYQ0-86CMl3iKvs5BsospjVyE8FgILjg_cGg_QSOfA"; e_fb_requesttime="AcLKab0HyllMNzTEh8MWDhtXp9eRjHeo9QOdVil6niN3QpbHynQRHUzd4L2SOsRNHKDikBjBYA"; e_fb_builduser="AcKMm1-qE3fg76JalJw8UdF_OpqOYRyrAOPqMsmcZWrKYiAl0Y_X6Wz4A-LpjPQh590"; e_fb_httpversion="AcIu04-i570zXFV2hONS85RjXlf3ODUpY7EQvzcsyPLFNWcKq735r2MtWUL8"; e_fb_binaryversion="AcLD6Y9Dk4kBMaPMd76EO-W_cJUyLOSlteHIB8KSYBRmT6xpCMhMiVfbHkNq_IEyGxI_CI_XI1kOI3SNG-gEph1c_KoXhwQ5ntI"; e_proxy="AcJASoEmkLlafvXAg0k_9_EACn4RjZio8uYQvQwrmiw4O5nqxcpq6NCaXAzeSyqLFeCWXjIvln-E6gE"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=46, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"1641058525956298"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/27/2024 15:52:35: Request bot not found: { id: '1852395741674621' } 03/27/2024 16:25:02: Request bot not found: { id: '320637341295349' } 03/27/2024 16:40:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 16:49:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 16:50:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 16:58:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 16:58:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 16:59:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 17:05:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 17:07:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 17:09:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 17:11:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 17:12:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 18:05:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 18:05:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 18:05:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 18:05:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 18:06:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/27/2024 19:17:43: Request bot not found: { id: '1067413796753652' } 03/27/2024 23:15:34: Request bot not found: { id: '138868933458303' } 03/27/2024 23:31:04: Error switching inputType 03/28/2024 02:37:51: Error on send one message facebookId => 7310459122378067 03/28/2024 02:37:51: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6IiI_UiBhuGummSE0kgp8j" } } 03/28/2024 02:37:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/28/2024 02:37:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/28/2024 02:37:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/28/2024 03:01:10: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7737150886308697?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14929829, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7737150886308697?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7737150886308697?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7737150886308697?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7737150886308697?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJMC555Dt9AE3Ds0HHeSsZh', 'x-fb-trace-id': 'AdpFV8Tc+Po', 'x-fb-rev': '1012373576', 'x-fb-debug': 'xw+kj5MRa33807ccgFazm45jD95kToyNnHPE4c99ua7MBVNmDF8SCsmyUpD7DvEopEUcxr1GKhWOwXXNj5u5nA==', date: 'Thu, 28 Mar 2024 03:01:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJEzNLJ_UG2b5JsTRhPMIw_rqPhCT0ooIEAfd0Q1-ACui1Js5BQiE0QLJubZA"; e_clientaddr="AcIi4SIel0xtCONPKMwQ_GFUuRnPe14xXO_dyOjO0dU1lf3zbuxGJbzbFSZbG4vQsEfCaZfbeWAlqBslFOZ9OUKdyJJIjjEAZPWPfwtXytVe53hPKA"; e_fb_vipport="AcJAlkObKKYfTS_C2Gd56ljouMMndFqcpGA0bXbbh9ytUGa1B9onC3aHJEbf"; e_upip="AcKcmhvC5EGqLbZ5lamALgcFHn6lD3tDfef0WPYfNBk_L1Ewjhrtyk3zX3pOeNEQVDOdDEar8_eRpAIif6YWK2tttj1gvPDgAw"; e_fb_requestsequencenumber="AcJI9qvcCXaQdAgzZ-5LDKJ6NXREl1ssUtWzHCQPY4eMBLXGhT2mQD_jhYrc"; e_fb_hostheader="AcIeihRjDhTLr-ZlreaImfQKlaqmdwV-leaCA2ZaSRiaQMOcXCekH5w1nCV2uavNVjsU9InbX8xmiyGi"; e_fb_vipaddr="AcIBupCjjvLoxYPRs_it6M9CcY95SItB4_uh0KqMfFzy4JuY8ftMOX2000SLfU2fkR6L4ReKZrY-BSoW_fWubryfrcL8aoDGHA"; e_fb_requesthandler="AcJtNRZ3XckjPnqL7c2qW4OyEISOvn1TWbyXVftAOX9IX4zTykuoiu8rXUC5hoVTQrjoH9jiENw"; e_fb_requesttime="AcK6fEE640LWW3J3laWYL5-Cv7fv_Y9s6GbPiyUZp2AX65xae_b0AgH1MOtnrgOtoX6I1EjN2A"; e_fb_builduser="AcJKLbElRV0ZxKVc39Fvqb04ZkaNXEBil9Bdfb5mykeyh2qmnBC0WxKB8QOkUaHtFH8"; e_fb_httpversion="AcKyUf9vl48v4UsH6xMz5Lo1u2lU6SAZ4DSKoLYdt54meJh3exqFybal_AMR"; e_fb_binaryversion="AcJppnZa-pH8kTKhXN53u-HbBC4LtrxAunnstKqpJDLTYjD6A6usLUUb3gpT7onAbi72_9gT12AvyIgx9IIRYg1UnDS2UWxon_s"; e_proxy="AcJZCJgcAXHio4LoqXmjqcOXsegBidtLA7tul9_mdWjRek8vfCil3BrEMHMSAT7GWilG7fZfpgxBA7W8hUmo", http_request_error; e_fb_configversion="AcKy-vnpr187x9kQ-LrQLjAumamf7wnexfPPUie-94jnxo4uXeBBRcZt-t-d-w"; e_clientaddr="AcKXcTSv-FwUXHwVBAkG4BgYm1uVRix27tE1SsauQcyiQaxutI99fmpthGBlnR2evLbn3PzDHdoDNyhqjg"; e_fb_vipport="AcJGCGMaF70QpgTNh4L8sYRwHXX0jSNORAYmD17AQDcfRq3DBwkyQnKwhe-b"; e_upip="AcIeH0lHtve4Vqz8pt5mNBvUcCyFaLrUkfJStvoAJ44IxQ5C0P19ph0URoWbe0r21adUvTNnI0HSZkcd6LhvM-X0SMVT67kfzQ"; e_fb_requestsequencenumber="AcKEQXY3orWX12WCu3OPNRqILURuQkaB06Q-AA7fJNWHOyoeM2EPZJ4IeA"; e_fb_hostheader="AcIWJbn2neWn5PvJXMTuQZAR2zt_P-HKtsDCwOyNBAipIsDqnwtdcyVRgMuWbhaNKQt0mZhj8qBW6nG-"; e_fb_vipaddr="AcLu3BAvhx6CdgxAZKcGNdiF7O2MhvwT8cyoOtS65Dm1PJ9cAgV41-Ju18mE_DBhIp685gI"; e_fb_requesthandler="AcK-JqU1MgKr9TyVPEkuxipkpaDEvuvTz9DOs9uyl4FpHpQaPNsn0Si7IdOo20GTHZiIDLZ0D0M"; e_fb_requesttime="AcJjQU7W7HuoDLfoBLZoLsF5npRp6NzzYjYaDBWOcgse85UZWieNd_8NuUUEr7OCPfDLoc5OxQ"; e_fb_builduser="AcL3WNAD218ZjYUh8zelf4y8C9Khc4uaKr7dk7XCWug2gJxeU9TdoeL3Ojxy12jen9M"; e_fb_httpversion="AcIUUH9g1M0n4wLjG5zhO0KZtU9FoeEI4NMxS2FEHtdsLg--vK3Z6r3KU43-"; e_fb_binaryversion="AcL4lf3_Jp5LnQJxHexKUc2djiVoNaIHavpALsHVfCO1li5XL8CWshGJf5F-Gbz6FuraWbEL2kYp7FGzrgUqHakDKiF1Ov0vE1M"; e_proxy="AcJEKhTaS7Jxdg1NPNd4-_txhZB1fFnDeVxbcjdH5ie7quZhqiyfH32aKkboJSnnzZkbvOFQzBU89VY"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=277, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7737150886308697?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7737150886308697?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7737150886308697?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/28/2024 03:01:10: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/28/2024 03:01:10: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/28/2024 03:01:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7737150886308697"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14929947, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASmkJdSf4LfFKB3SaZWO_ZM', 'x-fb-trace-id': 'HKybFhTK7i0', 'x-fb-rev': '1012373576', 'x-fb-debug': 'aArFXwJwiQu0nWOMqaeIiYLravhSWeq2lEnRJFzROtgNmxAwJD8xzeAjaFK01Gu9Z4BpZXg6LI+73ZBocsX7gw==', date: 'Thu, 28 Mar 2024 03:01:17 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI0amGsbc7JI2ZQa9SmtzNdxx3XYsRj0VqN6WElc2yDZHF7cVT4AqBayHufTQ"; e_clientaddr="AcK9tiTN1SD_jjAWZqEYvfob973fVtDwlpGYCEhR8xonPT5ZyA9wOpKZ4SvsLFXExeOwaC9YRnb1Swh4k7g5CMep_UZ8U2gsryREYlSy4zvK-ujKGw"; e_fb_vipport="AcJnXUQte8mbtsvnGCV2Nprl-VbA0frZw5m22oXdDZh5PdZBMo21IYlkLSQM"; e_upip="AcIsvnEYMOqaLaulwhmg0pVWarV7ZY5qOUoDOHGi42FAvIt7eg5Ziwp6nCO7-4GDpOZBp3R3FUdv73p0syqqM-yryGfD2L_04zE"; e_fb_requestsequencenumber="AcIgk-e9tFr8PHfysoEnvh4g9qBY8m4Ju9JpIz-s5FjqT5h8hRg4FHGzDap40w"; e_fb_hostheader="AcIqYABREXsTaCCj8jJmuiVzR7Kbcs2GkhW8hzZmhtTEEPY2za47eS8SMw7DkGgG6inxJ_wi5fLSz1R4"; e_fb_vipaddr="AcL1FYBvcJuA6ITyup5saqsjVtf_RMu3QaFYV6p-d2QG4QfyOiQgb06HAMtAcKauE2QyYHqLLtR4sP0VaHMg1Xka3OdA7ie02g"; e_fb_requesthandler="AcLytQUMsLEqQjUi8IbnVByrLjccVMFTz0b5knxxbqK2RTlFzo8ABqUI3Sb4ts5z3sYPtWY1VG4"; e_fb_requesttime="AcL044dh2bdI_-ue__TgmYrIg7jF015CXazqIcwAAIjcNfZp7U4SaiIWmxjrmRFaMhEPd6WVUQ"; e_fb_builduser="AcKmrf4YtnF4B0UNaa-WK6GxZsdxohP2YIJO231cBJGalA3cVm46ufEYBhBfTD9skzY"; e_fb_httpversion="AcLU_vALAX1oj_0f8SMum84rxLOHkFbcebCchCMv4XhiQq6Q9KrdPnMD3iGu"; e_fb_binaryversion="AcKLi54OTlzXyAYq7y137EaK94X-_zpnmJm-SgvRvs4XCrs6TaN_pQxM_H89LuZtlieNK3kKzGQVkuFeAXTdY5LPCY4QhExoCn4"; e_proxy="AcKGLAWEZ5CfrFCEHdjdT35mgF94Y2jODzfkZe8mUgJ6UBwJ092T5SZINW_XljW1xPxczCHL55E-kMkbocyG", http_request_error; e_fb_configversion="AcJAl62ItRVmOTRdOAJnnlZ6Ditq_ADgaiwyKsEfnZUC7SV-9jIDF2VXxLK-MA"; e_clientaddr="AcLKu-s8nhJAq401nVuoawCXVtHDng7XBPbIPUFrp4Rv0yKSQ2k7pFlbJ69gevVH1ldk8vdXKQQ4q04e4A"; e_fb_vipport="AcI0ejNJpXzF-dYxw2uIBd7lv6MKU7GEri8ds7OjHhTCbWtUcWiJZEbZfyBJ"; e_upip="AcJwTUatR_HbG9PHyjFlGj-2p8RvHestFKtX9yM6M1KHHaqYW50fvgCCY6c_9ypWqetL0HZV5NqZaj87ibzHj2JbwukEIz4_6A"; e_fb_requestsequencenumber="AcKJzPUFc-9HfURu2AlQiCzMXTKfdNJ5RgT5tAWmhXHPSuHIucPxX8XYcw"; e_fb_hostheader="AcJ1BR7TVyHc2a11PCE4n5x86eCaW47r8myHuVVpXkSZHNUeSBi7hzFOXq8wt3ugHwi_N_HHTZR--RJW"; e_fb_vipaddr="AcLn-fOzjIuKkeQ5RvLEsTjxu_z9iwenYSE6wmRAnD8ZJvqld1R51_Y-vBbUDPvZt9yE--Y"; e_fb_requesthandler="AcI1dXIglDO9_rCqUZ3cYH3-XKCiRM2cLTgzw0IU3cPeuHaGdbzOq7LeuwRfMBDU3PKBg_77tKQ"; e_fb_requesttime="AcKo4TeSd14-JDbQ1A7bwTsjzrHg2v_vB-wV1qWsL-n_Q8mpvh-_D781bI517xfi23rxX3x7BA"; e_fb_builduser="AcLfIsc5VIaZVGgn19NPykRXkIHSvHmal0AtXjy5IXp2RZLqSgJbUWo3xhIBxSTs8oA"; e_fb_httpversion="AcIjaXhE7lid4y2-QMiHU5V7SuMGP2SttI5j8LZ45qNrHeO9El0dnr18Qh62"; e_fb_binaryversion="AcLO6HuJSU2YhW_qTnb0PgOlUIlck5rDm9wvXstPi1OANepGpT9bMJYPAnLVvz4MiDB7L3Ob-lMIWagSuXkGivqTuy-RaOD6Lks"; e_proxy="AcIcQnJd5T8URJN75cAdFhp3UmC6Wz8HkTMZeLBzHTnI6EpLF1pnZ72T_2wuI5am16G7-Jb5KY3_7hM"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=222, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7737150886308697"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/28/2024 03:01:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/28/2024 03:01:13: Error on send one message facebookId => 7737150886308697 03/28/2024 03:01:13: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ac9MQAf8LCoaQhsfubc_NAx" } } 03/28/2024 03:01:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/28/2024 03:01:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7737150886308697"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14930033, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A65qJ46k-YtpXCrlwZF-yu-', 'x-fb-trace-id': 'HbG49Rb77C2', 'x-fb-rev': '1012373576', 'x-fb-debug': '5wglboAF+xKs+Ctby+s9yg5kwsYec+FVGSdz8pW0vveFNMmJVtHYpZYG5Mc1WqcuzgF42aLNWvu1lvs5mx297A==', date: 'Thu, 28 Mar 2024 03:01:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIy73DHkhTkKrL0lk2vEm88n6v2s42Af7I67IOi-jPa2bz24IQJfZL3R6bf6A"; e_clientaddr="AcJp9YDcLsV734p_ersHB79itc2DqgM-9wJLFejd6I_6UGKri2nlLzKvAL1Hgt7I8BpcbTjujwplF6kuDDESaGVVIt72gdnpcB365rNAPMvx-4ub8w"; e_fb_vipport="AcKUweezYh-M-yORJIFSJWNv2TIOiIK-AGtEnZQJQlnjvqHE5N5eJc7P3Rbw"; e_upip="AcICBky1aBGhDA86oH_u9FAJN5wt04J39RkUDd5s2Jq5_Xw6tYmwjTCfw3EeNWDlgk-rfMDOiB6h6WH7TbM3FxgzIVnrPaNlq9Q"; e_fb_requestsequencenumber="AcKefb43RTk3O-PVSbViHMOOJy4-WDFzUZSZJ3ohLt_XTZTPPUCfvoG2YMdh"; e_fb_hostheader="AcIqgAw_CpKl_f_EKXN2tijXXIvZ1EvcXGPGs8QbwvYHOFbV55KYfqk_eJnOmB3tDLw_34pe09h6dWNS"; e_fb_vipaddr="AcLb1bY3MIimFOhjfPAN6Z6ukjxzCMRvhSlVbZH6LswNKGXQpP1Tq5Ji1ZpvOe0OAxAmL4ImmsNTXeSaXTRLcoRIFmwMVF1weA"; e_fb_requesthandler="AcIRfbBV621t5NH01EhBIK79a0AtyRz7WojfliY0_0Y2lB5nFuKcodG-yedGwe3be8ikhSzDgOc"; e_fb_requesttime="AcLbhP19QXx1GObk2d1KXfBE4iCtXe3ymY4rgoqrMYB1XMrUeL2_AsbXkFw5WDhwW0xGUnIiGA"; e_fb_builduser="AcLOAj6r0bARiN27hTEWnU6KDFxfTOtcSzQXxd1DEWWmHwJUBah4kncJxR0Bgu1UckQ"; e_fb_httpversion="AcKlv7WzhBze7uQUnaIhCTvN94I7OIwbiAFOQYL1c6V_HuowSXiteE332srw"; e_fb_binaryversion="AcKetGriDBgg7tRIS_oitFykkHFG_7AXxT2AOJl4l0_9iZ5Jd-XPBww-YD_JyC2_AKRATDbG1Hc0AQrr-4IVXSIGZ5s2_hHGcMY"; e_proxy="AcJcKOvJwOg7S7TJ7P5O8Y5X1iRYok4saKbuQWN8IJGDpnbaBYs9amrRuT3zXWLI8nY5CU1uXAqWSAUx1xI", http_request_error; e_fb_configversion="AcIqRrVNLGH8X9Xi-QmpG2sExZvyAbCSTqPhtp4iTMlH3KEbF4YRzt4NXAwAaA"; e_clientaddr="AcIHT2cusqW4AEYY2BSWqKSvtfEoj8KnqqGq-SigaogCPHu6IqLHipXJwI76q0pUS2a33oTSU6WY3eadlQ"; e_fb_vipport="AcL4DSjsmZfLTRtzfQBNWzczojgjJ6SmupyuWiu0U0ooiuZvzPYlyRng_DxK"; e_upip="AcKP0N2dl_zcYQHGIvMTDksu4G_09UY8ykJhcO5SOBLh20fJvddviDPopcUgWF4PEcK5ClkisHr9PJVGT9Yw4hwHur0aCDWMwg"; e_fb_requestsequencenumber="AcLanz63R2BW4_BAY_Pu4Y4gUbs5m0nOka09UU0HAjpZo1_bcxXaKusW4A"; e_fb_hostheader="AcI-1suPZIYB-_S0dMsDMXqoLQP7VXLSc_9Hy1tWrnNbA-ZYurqZYhzJPssIdOO5_5TMW9iibN3IyWD9"; e_fb_vipaddr="AcJK2A_RyACzyZ4jGvcpv250zKsGHNAn_X5dlG9c1PU2CRfEMtJBYAaeG2WuH0Npz5xZuSs"; e_fb_requesthandler="AcIk3o_ved4VqMAqdqtqHr-kZ6OJgjdz-zq60XOYxLoXybJ1olHmBOEA5fkwqR6f35YwXqzDIjk"; e_fb_requesttime="AcKQ1n1_XwoBy0Juj4NTdEDhGFaimGa5hOcWAhEstAdIsZKv315veRTD710Euj3aXFXVjXdaRw"; e_fb_builduser="AcJ4eEeA7EwSiDLUIU4FYfriCfAK5OeKjtVg6T7cuAljmUmaKwB0Y0BNlznUeqpFk1Q"; e_fb_httpversion="AcIOvyxSGO68T0Z43z-snHVXWtyBBNbBRtOi0aIh_7fhbxHhaTrKjLFaEt4Z"; e_fb_binaryversion="AcJspiCT4D4DvNHtCSbM4alSmuSYKI9z2ay85NoFKLhHX96-iicJkW1u1zICqjXaEMVMeImjmkfsP6xoX682_obj3nmi4m3QR9M"; e_proxy="AcJU5qLJGbNLehPwD_lCBchZGg7LOuCf0HlIkfA_XrL_qG9CKm4EW2QbZXBbu4GedSl832Yet09yFuLB"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7737150886308697"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/28/2024 03:01:15: Error on send one message facebookId => 7737150886308697 03/28/2024 03:01:15: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AOqpcJ7MM3H8TXCGQPabOC8" } } 03/28/2024 03:01:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/28/2024 03:01:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/28/2024 03:01:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7737150886308697"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14930172, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgpWHgCIIRoqmGduH1o_5oZ', 'x-fb-trace-id': 'C57u7GxHM+1', 'x-fb-rev': '1012373576', 'x-fb-debug': '5Cdp+G8kCvGb1CFI6/uCW+AbeuS7sRapxr4LIRcwHPP3xOH/fU00mqnCJqg4ujmYSvkwTvs8OaKpRbE2/d/A4A==', date: 'Thu, 28 Mar 2024 03:01:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIu9kJ88C_yS7-dr4bvXpBiTO5pK-j4fpsMWP_0Mone5_6sLhcupXiAsClTzA"; e_clientaddr="AcL-jXiW1dWW5hvfh0tbNzDcG6KSYpxACp9IVIvj8B-4a05yLIfSdq-UYLYP8UXGE0qRrFAR_UFjGqxOsW952N4uKs-0x2OQUhmpV0BxUYTtdoM3Jw"; e_fb_vipport="AcII_budTEgw4pEc9TNKMmQfRABgcyIGT6vT30_lUPXtkrG2O2CCfkEIoAqB"; e_upip="AcKnUNsyegfoHahSKA9_vkZEO8fJLqmsa86dM9fVGdUwbkphR91-Jfwog9COCfXyQqX_-TkEwpHhQVTYyJ3pVENjU0uuON1ml88"; e_fb_requestsequencenumber="AcK3dhzSFso5avPw-d_TtRJGnUUUY11sD00yV--0BARXIyli6XvaE779tmV5"; e_fb_hostheader="AcKeltpwCA59uHGYSJY7sNHOBjxa-m0Lro-4w3HWyQiIfYf2iQ_XzkL43SbdF2vmnUuW6ps8PRGvnZAd"; e_fb_vipaddr="AcJ2-wQdiSjWLgVEys1YEY_8tcD5VboL_llQkIxs9afXIX1Z7_53pUyUeLBOYAXhWA1Mkn4U4_ofOR9K3JUgchbBJgk_9SP5ag"; e_fb_requesthandler="AcLs5S1xkUXA1y42Cq7z0gos_ASWdpyQ39qyRRfozDngJWZTTMFkpQsmrvqMwLDg69pA0ACUVkg"; e_fb_requesttime="AcJciAyWidc7wLwHPHPPucpxfyvaebMogbH2LaTaRM81yR31WjAorby1QkkaYczGRJcG-YesLQ"; e_fb_builduser="AcIT3snxy51vsoXd7U7BZwD_NfGpN7wX2As4-gz-nQzXcg1Y01CgppZfcy4VGrhqde8"; e_fb_httpversion="AcJoubmqRN7wLIkyOf1TVZMAh035Ad_tHpOCsWt86VQZGpcRi8F2RXg6E8jN"; e_fb_binaryversion="AcLPKrpb1CnLU1BnZWLY9LAH_b7A_ZHK-zjpGP27cKGIE3Z6Wfetd2tFLLJYbj3TJIDGyFtkwR6fKqOGRNSXUfyy_atVukIWqkg"; e_proxy="AcINpXHeDtgRVDI9BSUT8UT7c8lXgK2iVtZmNp3FHUa6hilza16lNxgQxK7BpPtEmyX19qnMcsLJsN80XkH1", http_request_error; e_fb_configversion="AcKGOPg3Ms_VrRFkDdbU0PrPtVfLPZF3GKE2bWv0J7d-YRsJWx9ABtLznstG2A"; e_clientaddr="AcIItaPR9LnRSnimhNvz46QWbWdwOH8fzA0kDN_NGN3GsgAXTW7j5wQQbVhgonEko2-9r5gWoOOl2PcySg"; e_fb_vipport="AcKnBx5k4Nj-C3SrR6rHo3iIiKRAelnNy9Gf0tAEEq-Wkb10EwO_oAFG8OTg"; e_upip="AcLa4PEyFytFKuGnjuECnX-9oSmjRTvzXQbSYDWeGS9zyAr53ShWY_LGox-2YGmsHysPAOvrvP3dxU1Dzy6Mr2zmFjAzhVijAw"; e_fb_requestsequencenumber="AcLXf5v3Hhb14WrComY4bDyOSze8-LrIIczFz85kq5EW2quvH92UHliq_w"; e_fb_hostheader="AcI5CMc8nURBG_fdbceSq8st4g7GSjyYPWkcBED13eD9HlV-GYAofQB8f5PKFh7LResQj3iOFUHSE2ev"; e_fb_vipaddr="AcIXZPkpVcVPEFhkwAh7MUBUHCGJkjYHkPxPYUm0UoEqzZF72Bzeo8AXnrNKNvZ6ddVrWXI"; e_fb_requesthandler="AcIgpDPjfJPLGCaU2LQY9ppkVpp0YIvRe95dID2DHtqgdYCL7KhVesv1I3c1H1Jw875lTYRGMRg"; e_fb_requesttime="AcKTbcbl3nrSGyhpbFmbs2idiR7hAW4-1TC_hCZ2NylbJ3EJt93cPcOlhUYuO8y61mmaqBnpRw"; e_fb_builduser="AcJpLdStTlip1QLTGjORks1I-PFT9tR2NIrXObk7nVHwEslwTNVYM_87avcQYYsUOpY"; e_fb_httpversion="AcKGrhKfgMVArv-h988uDIgz2u83XT2X8Ouo0c7DhuLnrsTBXhY3A7ILoqQn"; e_fb_binaryversion="AcLZbQSWqnclSyvTjI-0hUfH3lnkJdM5oZ-RO0zinB4kFytnvYPmW_hrKugbvmEV6Chp1FsXlE8Jvif3s0PnFBKpQTYjz4_IIdM"; e_proxy="AcIpzsE1HQRxVAmokVKQZ7mU_a1VLoVpdavcDXhxV1mS8wUhX5bzB9CcUL8mtUmU-2O8a2IJucXdfDY"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7737150886308697"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/28/2024 08:54:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/28/2024 15:16:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/28/2024 15:17:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/28/2024 16:16:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/28/2024 16:17:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/28/2024 16:49:05: Request bot not found: { id: '320637341295349' } 03/28/2024 17:11:38: Request bot not found: { id: '234064353428134' } 03/28/2024 17:11:39: Request bot not found: { id: '234064353428134' } 03/28/2024 18:13:43: Error on controller payload Input Treatment=> type not found 03/28/2024 18:13:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/28/2024 23:08:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/29/2024 07:16:26: Request bot not found: { id: '1067413796753652' } 03/29/2024 10:33:45: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7149155618534972?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15252612, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7149155618534972?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7149155618534972?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7149155618534972?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7149155618534972?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AY_KVJAMXjuEsz6MTX7okuj', 'x-fb-trace-id': 'C+kvFidEjhG', 'x-fb-rev': '1012410881', 'x-fb-debug': 'z4ftv9qMmP3vDN1/08exIw9B6Yi5di6EPz7yohS1sHKMdnjjr5/9RGGCQZuRgwpQAfBchmJOvKq1Heg731RZZQ==', date: 'Fri, 29 Mar 2024 10:33:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIyYBYuakU53yHZ48GZelbzZHCPYsa6SsGCpveaEqzeWd8MBPu8KDCkRmYaKw"; e_clientaddr="AcJ09Ng_Avzm22uXESVHB4M1BEcwVWLZR3vTFfTEsVi8r6bQO4jeDfrRsvEZjqq7e7PPyvvnU-mRB_-KWQGo1HV0T6wsNal8-R1zSMVIZo5OcSTOww"; e_fb_vipport="AcIiS_Ttfhz0GYjq6ZIxWDEg1oDtu8AJ7ARg740vzra3cXhReu-bOyiRLHQq"; e_upip="AcIGxU5rEfWKf7frMAIrRGlpbK1j7mrJr3K5CX_fMZH6oXacsDV4sWbH4IFkltRJaNPLNI0uDGZt0Ja2tZEDhqFdS_R4oYLe"; e_fb_requestsequencenumber="AcLhqu5yccvZTbDjPtVS5PQzptGfBPzmkhmUUBRdVtufR9KPhrUVWwl7zMgkGw"; e_fb_hostheader="AcK5pCYD2Kuh6VdFow45zXLb789QyWfMCs4clspRTavHT0Z18ApqGjIWkU0CYqPlMNS1Yr_0fdsmFQA_"; e_fb_vipaddr="AcKDdLVJUoeLY2wtnMMaLC1uadFLdDmCZKH_26E_oEIUc4zHadG4BahzPGplnAmUxBMI52pINtzVM5ddpqevRHuKvK5hBEIPlQ"; e_fb_requesthandler="AcImVDrX2EnDpnSP0oUYNiwLkIOPmFYqxxjukG9RWmxVsixxzXjR8MttM7kUq1lTr4Mu5nwRBc0"; e_fb_requesttime="AcK6XQEizW3bDSWn5o9PPHAKMCG0yPq4iJJXsrBf1dWpiwSvBfGN6gqURi1yga96GuxBLqy0sg"; e_fb_builduser="AcIzzbH5NBD7RRLojZ84m3SWQ3oFiFuUhLfJmglLCDCNmHNnR36YzwhVJZhJ_virE3c"; e_fb_httpversion="AcJqBKzkCpA0EGNgR9IIU7e0T7L1zunxOf-dS4bAPhouxlpAmNRUJQf0g_91"; e_fb_binaryversion="AcKicVSugk7SdJGajAj4utW8Vy-dH6xp15avD3ewZBJf74O1ECh-h5NdGqktyVGIu74-BWmsW7up25Atg2ifYWxV439Rt86y5cQ"; e_proxy="AcIMdfM09c-pAFSxeS2l3Y4ybLPHrlmLBMVpUdPEttnSySLjzWnX_jF7L5eo-5SzO0EfS7pBvDkzpMAuoCez", http_request_error; e_fb_configversion="AcJEh30oG2MX2rHd3bQ1c0zsrJVlTeN_cWpQ5DIl7EFaElkw-0G1lQhbdOTOZw"; e_clientaddr="AcIJdkqktI1a4y8aDX5zNSesBCP6X9No-wZiCoiMqqI-ScZheHsWY7lDhBsk90OZgD7rLsLSzkxPyp2FnQ"; e_fb_vipport="AcLXJwKbMuJEv5Ull1PgBdXO9f11U1N23JSfCEukVQ9TaPNK_Q1Qgr4peT13"; e_upip="AcKnH7SvfphmnWaVpLPxNup9GAIgSdDhapzUt6fMumA0dwUfQ-7pn_ZJjKmXo_hTKJGgumwwCgKg2u4sHWOTXf2fru08-Do30Q"; e_fb_requestsequencenumber="AcKAAXuV3RAANiO6-HncoDPRF258iBWf7XhjjRgP-3t9-JK91gCm3BAwhQ"; e_fb_hostheader="AcJTbv3d5a3qi4g--mMUYtZxFAro7_LOVdq2JCEYA0Beo_Wzf0wbft0cImm728lmYiZc0IE6wS-koU2T"; e_fb_vipaddr="AcLm8xof8Anj1t2wDHJPqtNC4xBMBtRU4cMA9hh8m_PkpqScxyUrgFBADTrAujUkypcCzNg"; e_fb_requesthandler="AcIEwXSQ2z4v6jY1gHRukcpf7eXbfMJLub5RX53C1D1t-4Qmtry5cHo5asEDvAD-hn8di2if7MU"; e_fb_requesttime="AcLliuTUsyzaycXzGYe_lFefquAE_ugZ_UBsRCjH9Tjo3RlA406_8K3kuPa0FYFgjMERrMoj3A"; e_fb_builduser="AcJ4boYoGr2AafASebn8LCK42wsXXSS4fazOWoWwHHFc3RIdIGtzUASi5KC006T4Xzw"; e_fb_httpversion="AcKeZH7wmgwj8UOUknw4jZax8UgE5VUrzYHzO19W-BbYXYaYoamTr4BdTjex"; e_fb_binaryversion="AcKMNCv0NJsBRy_qZnbL6d9lWVP7HI9TiGK1IHf2D8QNhUVBMX33Ed5nmM7oABaaDBt1A1GZjokw4_cOUzTf9cvPH-yJNOeA4qQ"; e_proxy="AcLvIKY3dYUa-IqfCCVVnXWeOVjGFMiIVP-augjc_IO6PDkON2T5N_4HGfUqeFkvGg5gCCuMAzxpukk"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=373, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7149155618534972?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7149155618534972?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7149155618534972?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 10:33:45: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/29/2024 10:33:46: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/29/2024 10:33:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7149155618534972"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15252732, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxfhKQRiFq3jESJV830d5ID', 'x-fb-trace-id': 'DimB7P0FpdU', 'x-fb-rev': '1012411673', 'x-fb-debug': 'y09DcjVAKYcXd+PGfFwsQyouF3sV7OMEutwWl88OKdFUcU/I/nyVUwve0mMagnbve0b6f41wl9i5YDnxgsI0lg==', date: 'Fri, 29 Mar 2024 10:33:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIhIzcZiyeYU-5JLfDj3ciDOO0ijhxNhiTTObybYnCKZ-lh5iuKqpbNpYaubOwVxncETmKweJ_fZhxOhc3uPC8VFLpp-nPO-PM"; e_clientaddr="AcK-XlCN9y613tW7DK9_IfW8gKqL4LxrMzOuw8x-MORsoKZj07ha2d1DiFLvZgQIcoP7mUy6aNuHZfZEgn5bWI6wqDjyptscjhvEdawnKYeaF6XNWQ"; e_fb_vipport="AcKnV-eujVIrJgZ0sfq-mM7GmzIN_H8I6K0fRaZW4LsYB_sfPR-TAyU_9sMq"; e_upip="AcIdN9WTViDjQZ_q9HmmdmKxrA12bpTJTCmeK_KyXZSn9chq2i-actbbvceSnqQHnNiKJcuUstoG0ajWH3yjWP3hkVoX2jHZw3k"; e_fb_requestsequencenumber="AcLRtfOreNJyrR4z51JO9KL4VgRU7916F0sP4Mb5L52C8tLkPEfl_2amCEzLLA"; e_fb_hostheader="AcIwJMk-0QWn6C5sZlfykjiJkdKFpJKxcrqusRSAKusRhA3QZd4ECMf579RumXvoQLFjmopD5FA_uo5N"; e_fb_vipaddr="AcIkm74hrss6LXiKPMDQLdKeQouhsCiygvQNtoqzYAaf3Pw4iQvau_6oxjh4wHAcVdQ68Io1NrhslccZ1gSns2Bg7GlG3vO1-A"; e_fb_requesthandler="AcIx_M_LyvorkkfEDEmyBqbBHQC9GHd8nAno989keeozTfwc4JCuxep5vKTc8JS7Sw5NZXEfA-o"; e_fb_requesttime="AcLsKsE0WrL_53cP8bWQ8ZBlaZ3tuJArMIKRjt23ORxU73ZuCd-xo5uggXbOpMv53EFCa0Gg1Q"; e_fb_builduser="AcIoiXjqwoUUbAEeayCoRy2Mn66tHtgr9Hpkj3niklCh-gWqV8VEgf6FHdsdpt5qBd0"; e_fb_httpversion="AcKXYA8DS0QUi9cU2T2-61s4xRnO1Sb1-vBmtZ3SdOIghprfFVLjoUgC3RkN"; e_fb_binaryversion="AcLXDvVGj9tLwzgws3xkbpcWYwjmlnKnNxidMeRanczK-W5DZJ3G6VZVNafAXNmPjz0Pj4PJwzTTL3M2AHDq3hDByktU5-fd7DE"; e_proxy="AcJyggD1JT968MI8R1ROp6b-OAtl4INPahQ1DwGegaQf4XEh1BJM_rdZ7wWomz2LNtE02IHwp1RAdvcbmm6B", http_request_error; e_fb_configversion="AcJqF5XGLOxyaHd--hrDrkbiUEBNkZAnFTZwXmsHVGtwuYerzjMkCsZ5Fd8VpA"; e_clientaddr="AcIDRl32F8nm6PeCy7YIBRQq48dpTPT5ZEFXaLhPB24PnejIy0jUE-reZ8LY-mJDLBtjp6HgVCiYfQAqHA"; e_fb_vipport="AcKulzLIE06JZP1uxVxyrIe4uBVzx4LtmTT3csXDNCWgddEk6mH18Tgias5P"; e_upip="AcIyMIhA9GVpzq6g-hP9C4AC1bhzuiZ7Bkb3cWKS3cuPIROrF7ahs46WW_VRcxBRuN9iChrnOw-SdwTHER_xQwYj1n5iZCGArQ"; e_fb_requestsequencenumber="AcJladD_KfuUpCXSWTIx7pUJQotqbKkn9rbnUKVzUpz7xb2vJv6wOmVWBw"; e_fb_hostheader="AcLJJg9gClXv_DkegAmb9Xgu4ViF1yUBqEa_kZTRmXzYi6w2VBnm7jxMS6RXul_DnWmn_ktQR6MsnUGR"; e_fb_vipaddr="AcKXr9fIWwk4Wig0VDvL7ab_QbXEGcVG_EjAtLIFBahS9P3lLuYns8EI3YGrGc8DiD2jeLs"; e_fb_requesthandler="AcLL1TD7U0nZB6COYicigc1qOn1Xfzrggar3Lf1hq8OpN5QuxtfOEH0UZjL6cwQHHC2_9KJMpTw"; e_fb_requesttime="AcKHyMQi_UXkQeQ1bxtqFaVwCKMaVphvIV6b1dEdh_KyXMgsbzqrPyKuhwEFOrobOj_coR_CGA"; e_fb_builduser="AcK_osCpKoGYjcBoJZ3EltGtev_ny211XpMOW0uG6z3gQns4I3iIw_qZVkfYJtloXvE"; e_fb_httpversion="AcIvyql1Kk0rjAc73YvO3aHq7MMSSPqrALjM01wunZhjQRhFOXAhQ1Yhhj05"; e_fb_binaryversion="AcI12aPWY5hx8DQiE4_p8zAlg3cID5Uxj3Lo0zdBjMlZuqOghXYNm_o_jwssio-A19EhQHFnF1VzPpsXYTGOc0D4DcyqKiM24qk"; e_proxy="AcJNsxc3-uV6JasJDOR6sOWu3KopxTMwKgikRHDvgmj1m4KSXq6t_Xq1K1ObZkIycED1a_sb8CtxZqU"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7149155618534972"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 10:33:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 10:33:48: Error on send one message facebookId => 7149155618534972 03/29/2024 10:33:48: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AqL_uLgyiaM08e3LMbZqtSr" } } 03/29/2024 10:33:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/29/2024 10:33:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7149155618534972"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15252812, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVMUj25TWVcyjC-WRXWALGW', 'x-fb-trace-id': 'ABfWXqtKmWi', 'x-fb-rev': '1012411673', 'x-fb-debug': 'cik2jxHYuWDbWd1lGoEMV7NcpDTB9qz7Nr6QaZ84lb1AA/vTK47e53TBgs3O8L43kyOMnrR4RX1Q3RmRv9Uiew==', date: 'Fri, 29 Mar 2024 10:33:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKpEBUd--1iKFVTtPX_948JAhJOSdvH4rmjtq6ACvqXDQY-EfrVXPTHSuhSdA"; e_clientaddr="AcIqfNFQDG2XWrw57N1mlbVBqwbmpXVeneW10Va4H8oAVvUTsu0aEW8Hjh_HXU7TOKlhgYQQxJGsffhBEKfSPii6AFOf3LvD6V_4-gwcdSsrRn32FA"; e_fb_vipport="AcInjrz47hvB5q3i2lRcfEcnCxEdzmn7RlqLyVfYO_5XJaASR49MpoEL5sPL"; e_upip="AcLqGbPuvFpo3ykRSRPp_tT6VWqT0PKJRzZ-_ntLNhsNrqnhsw-iFhWOm0sFdbRxU62snt0eYD3z8ND5gulkrUSlznXSa9tlyCs"; e_fb_requestsequencenumber="AcLdDaJQ6SvzBZBhsv3JMd4AhK-VTT6Fys6Gpzob4byV1wAwGftpR_BB48kK"; e_fb_hostheader="AcLNlecbwOPFq363mrtKBLgQ5rygi1s-QYO2iqU5S-Lx2TEDWXs80_uuGmW2WmSfX47n_vMTWqhgzCbD"; e_fb_vipaddr="AcKbs0Vy4JtFLkG_x_R98KYgPuYyA7yXOvvf5aadbHLEapluR3tKVt9hlTBM6FDqi-2In2i53BRDW1eqqScYS7yMcOMftMI75A"; e_fb_requesthandler="AcJ01gGeo2LEbSVUaCp8eF4G_m9dmV-DCINwv2u4YT7GOToUfQHzkTaWYtZ4mJMydhpW8NQ6_HI"; e_fb_requesttime="AcL7DmMYpIPLwnYuoLWTRvRCmkH9VuUiofijuBPJHIoLG9zW07uM_RwOD9VQEDWZ1052kZ4Hrw"; e_fb_builduser="AcLTEC8kL9FKYkjYMRIR79KX2DUW5voe2TFaQE1t3Sr5d2TrApsEUNLGpZd1pZZIgt0"; e_fb_httpversion="AcK5YyRQMY_cQJwj1cLLZ-lVZblqlpcp-SK5EigtyrSR2bqP2J-kPt2IhyeD"; e_fb_binaryversion="AcIpGE-AxCHGrrQ22Q2BIhXaN28ptCuSh16dhIcZWaqjK7ijoa-CyFWB_Jpkjr1rQ5UyGhiXJNTdzmXqn1ZpVQXREsv7Y9U_my8"; e_proxy="AcKb-ak_lkrJL3UoujK5EmC5ZwbY097yGVIPvkV-ix3DpUGDtZ_elpiA9Mh0Si3oWK8QyliTQvpL9_-lIcMq", http_request_error; e_fb_configversion="AcI4uLeg5eqXq9ENqa0eyTTVInfR4hRHA4Er-jJNjeSaAKZqRLy84cyqv8W7Ig"; e_clientaddr="AcKmG3tcLJ35ZAyiHyB4WqHIbSMP1Hv_b6n33p0D8PmuOiT7mpjIzqbifUQxonClrQEWlGtzgoz02w6nFw"; e_fb_vipport="AcKMwUH1rkax05Poe16TUQ3k2bOpdB_Atgma-AqPv_2FboK6dpq3u825etxt"; e_upip="AcLg2oWKYDw4vdhqP95xxc1aivvZv0bUSsVK7nS0G2YHqTwAiZYWvnoNhwPIt8kdMu4BWTuSCp_RYLj5q4NfA37fPq7l7v2yMw"; e_fb_requestsequencenumber="AcKHciUGvDV-iK6H7dguVsAC6NLKUWkMfi810Opt1a99bDE_EwKRSMvxug"; e_fb_hostheader="AcLkugwBl4SZdpSsa_fTxkuWZco-zOitEVr5G1HAbRmHtWNQ9R_swRtNwYKoK-HYg3JvjDrYSdUcyXFv"; e_fb_vipaddr="AcLdH112sweacmIgArC8Hg-LWL04ie9yw5GlH5-B_9_R4qVFf6PhVMCqaaBIXA7TOzRvTzI"; e_fb_requesthandler="AcKkhZyQKBNk0ZJPQmEBLvn0AYXyUFESliT7sIWXOWpj-6NXc1ZBRPM7JAYz_u3fQyP9cO-Tgms"; e_fb_requesttime="AcKK_ScCt-WMhiI62AEttbO7eLoYlnMHB8XQBnC45c1grajz_IiU1jfOm8G10jnWh67k5ouctQ"; e_fb_builduser="AcJywWmXBbiMeMfaIo73XPHFqIkbBmvcwhXLW8kEl6c7dhODEz2bhToiTZQPK5iN8NE"; e_fb_httpversion="AcLNlVVQvCZ-jtYhSFGbbstn6CbOWTr5GrMYlcSYnbUr00gza3BhGn3GwvKW"; e_fb_binaryversion="AcKGbTmSKZEFT-X1MguhyQotRzljD_U-qZnZpWnpJpj41_k0PWmCsm4bXF9Mya-upi4jPQKAThv_sgFYqgk92wBtPYjLYjnzbVM"; e_proxy="AcIfKJ5SEFFxD66ZEOk5WB3NhCxpY0us7aFThALaidI1GF_6s6NJ-Jmxftq3E0OvpzyP3SXUNA98D9g"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=231, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7149155618534972"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 10:33:50: Error on send one message facebookId => 7149155618534972 03/29/2024 10:33:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbIQSoAl9fzUKHaR52UBevZ" } } 03/29/2024 10:33:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/29/2024 10:33:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/29/2024 10:33:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7149155618534972"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15252950, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaxBe2qjJ21PNFsBNaNXDDX', 'x-fb-trace-id': 'GlAeOOObVJu', 'x-fb-rev': '1012411673', 'x-fb-debug': 'Cvqr+8LnklPav560cZvYwR4VYgLwLC6c8Z1XJvpOQTof2Z+1hOMxXOvcygpecepcl/xYVV4XyerBd97tHNTpVg==', date: 'Fri, 29 Mar 2024 10:33:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLhgLTLguAtBHpthrDiUY5vlB1GEN9lWX6fFTdHZ4np6OUrsUAqJxXNOjdVKg"; e_clientaddr="AcKPmqOfByc-lkOYw_k6dDHEJK5cOOpxXrs1xumDN0X4cFwdqdLh-a7GCYsYlXhmRKywr4fUpcrA0NiQoEbLcyRDrwJXXjkptH6WUL8GX_8tH15AGg"; e_fb_vipport="AcIbVMzgklDlomZHc0w1G3K67gDp8AapyUC0ggKHOXoiPStEV4JgMJLqx7_R"; e_upip="AcL0Vw-2aVx4rg-bRR_qsJLisW-dx5nScj0DZUDslH1Wm4msSU2uWAd2dmgc_yTNMZIITRWu5kU71jelO0wwNXh-PxXTkqo_Csk"; e_fb_requestsequencenumber="AcIgqdvgTiuvnIaGbrpX_8BFGSmKVm2Nwi-vq-HHDU0rBvaxKKNpBVI3FC_spQ"; e_fb_hostheader="AcIXwEpG-uO9wPekLuOUtXgx4Ne7NM2K6QA_9rghyucG12I976uJ39Cl2Cc7H97ovDLWfUO1e8RPtaRk"; e_fb_vipaddr="AcJs92knYEkivAcsQsY_aeYivYET9_qHgyg1Gpa486qtCzZ3wKcqvjCc6GJRqSrou92ZNtf1oKqlq1Xkjo_YHR9C0sfPPkFcFg"; e_fb_requesthandler="AcKIRhOejo2rPjKSHyGy9nATd3nIQijI8VsRH7QNLtJEvf5Q6XQy8moWbv7U7lFmNh9mHB6437E"; e_fb_requesttime="AcKvGPLpfNdRycvDxlnAHICgsel-RtZGSV5AL3HP-7WN2n94l4GftTdWXmhVa1_5GXfx1QoKqg"; e_fb_builduser="AcKjL2W1iqih-dN2ObviYkHe5C6qMdCNgz5ITZaCU_BK4P6BCr4VOSL5n0OjYUezHaQ"; e_fb_httpversion="AcKCU-YDHEEkMtOuRdyDY_0PlcL2ExX5Wklv2bla6_A8CRSIfuRK2GGwKsbL"; e_fb_binaryversion="AcLIW-ajEWAVGTNsjuGWQZFSS8glMGOPeAdNuurSWnAgkVRW9u6QXaIiH8WouVaycXKPJ2R9vwB0hQTWXhJ-r4dVI18NceAhSI8"; e_proxy="AcICLTOSypZghkGzvUnFlGIRs0aysNclKo6NQmmtqSbKcxS1nK0QeUL98WimV7PUq2O8Zzvfh3sQpfSkdNSA", http_request_error; e_fb_configversion="AcLMMe7mXqFy6w5hXpATGBrjToI7jA2vGlYuMMkfKiV5REjzyhIzWzafmAmtfw"; e_clientaddr="AcLECgqEezMOZunCOkrKygvaer67xXmEgqO8N-kjnBhvU9_gSdtrGyZRlOOmxmT5eOh_QF1sTcKCmCyoTw"; e_fb_vipport="AcI2612Q9QM0hxEDK0PC3W6psKBBPpjAx7zDkasqizIzzTvaFfsqNuBjPVVt"; e_upip="AcK5SsTohItIZlVWtDtsW8WyQPrUeXBJjjUtHMZTUnAGcPHgUlFca9nUv8Qdxw8EJNk__tdnwIxbvyMhb23KHtwCVwIqeF-qMg"; e_fb_requestsequencenumber="AcJjo2lNla06BNrfeMO3GTxN_6qY63GJH3qIc2PA5NlwkFCNWG8sQxDkfw"; e_fb_hostheader="AcLk0DYiHQwjXyHjfKNHp0tgldondnviK-w9kSGRxu7e1YNocElMZ10Ed2_6mfjuGEwFpr1mgU-ZgCTV"; e_fb_vipaddr="AcJxXD0IA7tJVIcv-7LknB9b6n1_ToP_WVemAdT6Di8TDw-MsEstwwXjzqiPn3BpC9vsSb8"; e_fb_requesthandler="AcJqalAcrqMMLWH5HAA43yUXodvwJDcakOzCy74WU3vt7HX_IRQ7v_7WENJG_MA3Plu-dhjy98g"; e_fb_requesttime="AcJ6LHtMjmM_L1bTaiW7BzkPTLBGSnw3sMHr-LMczUY24OrenTHFOy1yS9T-CzGt0s6MAK_5Mg"; e_fb_builduser="AcIeNM7VxssNnmFjEXfjo_cpEC4_MFFPfLTuTkLSIfp0NylonM-cBtb0N0Lsa6TkpAI"; e_fb_httpversion="AcJ8ZVk1-6qpB0T6PVateuW400d08lMHyDTA2OleDFMRMDz4dvBiqx7qH-g3"; e_fb_binaryversion="AcIZ2BC-kHYsHhEh2RynQpHxkIZ18oTYxtBKWTnVRm8ggdR-edsIku4GNEdlZzOlLKuKbttYZ-GevRc84wJe4u7rTV-UQihP1Lg"; e_proxy="AcLv-sRUUQqP3zUaNR32M28DLZGgQV31FmRhrJL0DSql9k_JbjsNLnnES2Xq51_kM_ZTQEO_W9Gzhce1"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=223, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7149155618534972"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 10:46:24: Error on send one message facebookId => 7149155618534972 03/29/2024 10:46:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AjVFHKJriskbklYqyVZ_c6m" } } 03/29/2024 10:46:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 10:46:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 10:46:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/29/2024 11:38:58: Request bot not found: { id: '1067413796753652' } 03/29/2024 12:25:57: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25610921648506384?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15271948, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25610921648506384?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25610921648506384?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25610921648506384?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25610921648506384?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACN1LikgayFX7P7Sla0UZsK', 'x-fb-trace-id': 'GCCrL7FTU4Y', 'x-fb-rev': '1012411673', 'x-fb-debug': 'kA/cGhl3fK9X0QleSVXpBIKMbohm36qgdIC1av+EXF46dnENOSHQDP1mFGyMXF2w8uIXJR5Dq4Juy9OFiCmuiw==', date: 'Fri, 29 Mar 2024 12:26:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKPq_W3TnJ6dAyvYPB0WIXrltp622oI0-apAKBvXlbTH79XDjitge8nfFd1tA"; e_clientaddr="AcJCT_YTK5bYLfittCru08ViUDUT16xivHhR8TZ_8hLVn9n2Bpk9C9IXERJtVlZzXNK5pchJzytmjG20zKsCkqM6gtr53pPzz2HdLQ7FKG3DKYYxtA"; e_fb_vipport="AcKoskT8x00FMEhXFVZ1q3GK2yzem2txNfaGbKsap4Pk9uf4_OZpJ732adGW"; e_upip="AcKlvjMOxBNaEGuYpQl03Tvq_bHJ9SV67KmmhAoAP18QczVFHFQRa4qP42ukl0tln92OEnxHNe8HTHvYFd8aUFgTn6M_YYWeAA"; e_fb_requestsequencenumber="AcIpX9wcAiFdWw3dNYSzqHh6rpN6APJiuflqKl1P1hq1CdJuvtY31ZhrWav_OQ"; e_fb_hostheader="AcJILpt56c3_REfv1Hj3unwtJgQ6vaSAfgal5VPfAx-USCJGTmbKvPCE1a5rWJVRz2OqYCjoOKn0DnVM"; e_fb_vipaddr="AcIgJWeKMClcyrnTBNwLLB_TcCmLwDHl2212YA8yS8SHeNFFnzJoCEgKOBoqIq0otlCH8OV6SZQu6hveSZcbxF3G1nm57-Za0Q"; e_fb_requesthandler="AcIFkk4B1kIGtBaU1e4OmcgP8JaYC2534tY5USnqZQ0kOg0BkdIaMuMcY-k4W8Q_dm6LZSjhLBg"; e_fb_requesttime="AcL_sfK6mJKYTGNrH1Lt73MEfDt645j0X6l_CzZYQemD9B9UJEe_7llWbnuOKCStqC380PYrNw"; e_fb_builduser="AcJ7cYKM-gta_WKYMkVrcDHTiMZO5GJ9LRVyS5Wa6YfKbDjT0lmmhksLGnxVrD3xkJ8"; e_fb_httpversion="AcLoYsiSYURsHA-Sa4bkY9ZaXQ6rtppIcH4vMt7jlCk34IkKmK0j5tSe0LzT"; e_fb_binaryversion="AcL4RK7iRrWzfzjvS1qqKcA3kpcWrKTWATvUi-1IwwGvpiSslSLob_ecwINbdDkxxj3YSOLvmvy9yZKK3vjqLP4ns7UccyqjQLY"; e_proxy="AcKrdmVVdXTv3mWzBj77Y-n5kszSYzgtvFkHroGd_AaGbfv55gYcCgldNzTX7dU_olWiBTSQDi16d72YxtQ", http_request_error; e_fb_configversion="AcKFChPwgrqMRq05yB9pcJnuYCIETI4jV0pmjVJeTXSsNND73o-Qzn_N5TrDOw"; e_clientaddr="AcIRfg_FErvaT5wCIseUmA_qICrJfGtdtrjXwa9WmpMgyrP0eQ9UWdKJRnXeja_TfCLG74Wgr-nRpXzdDQ"; e_fb_vipport="AcLsHpdV0JEZNGHUCvTOZ4WZ_CI116YJxPfptyqD7kePZUZmZsVlJIPiPLej"; e_upip="AcJ7x5bIxLuL2mqt5flskjRTDfyQoXNXo5ec_VJjH_XOtBmZP-qWrMhmbW_2v6uAWt73hKpZIEMZzJIrAu4TgoUSG8nMHOdqAw"; e_fb_requestsequencenumber="AcImlP5bCSiuxT98BQW5v5zN3pqrRs5bkzjZMFhjr4RqRncUpZGMzSDkVA"; e_fb_hostheader="AcJ-gqxaKRqalLzDyag6Zt6X9bmcpJ3-gG_Hi2t69qptAvxEWHPsZl1exQzPX_XbEp512Hq7hk-WeQfg"; e_fb_vipaddr="AcKt7BdrtdB6flnjN71WYDda5K3-8E23-vzsENNYU8hHWxAx1I1tXC3Y9UsAkvOXMO3fG84"; e_fb_requesthandler="AcJsqxN8Xk5SPDM2IuQbNcpldN2eIru0OMOYmYfQef69rxY5sRVuwHXyvHkKx0XefmddpMPJZxw"; e_fb_requesttime="AcIQPmydP-N2u0yXeys-1a389zkq2NewHYr5Ni2bQ-h79wjFt0D1qJSdbCSk4o9xL0EdoGGUPg"; e_fb_builduser="AcIUjt2QRw2w_Bpv6lFxnOjhoPLY6yOQwvMcpPEen_-lgAEn7fevmdMW8gkJi_HKW1s"; e_fb_httpversion="AcK0ZWIQAWv_5pHUEJytaFnIazfOFYaRbCO1gXxtXLmqpcHWKUQlaE1zECc2"; e_fb_binaryversion="AcKNg4IaBfYGyoTrumr1UB3nrJ4SqkmjY72nEPMdNuxkQFl4aSPwMxR5yNVUFgGAZW-B6j6mhD_YYRvqVvZVmfLEOK0scin2uBU"; e_proxy="AcKjOqKMkgw5N1dXQ63jq-RD_WrkMYY8FrMuUM-nVFP55QX-w4xiVfNwmNy-rT3Fj5xrfzt627A6BFs"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=233, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25610921648506384?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25610921648506384?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25610921648506384?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 12:25:57: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/29/2024 12:25:57: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/29/2024 12:25:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25610921648506384"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15272071, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtNsKelMjo8Yc6MAU58N2B7', 'x-fb-trace-id': 'DqD9yOObSjb', 'x-fb-rev': '1012411673', 'x-fb-debug': '/KbYrlrOzj7kfBzikl2UAleFCDEB8ijXY2hwXCFNPTZSRR4Bw+j3tgt3rqbGiWVEPj3HPBQBTLgIFTgO1duD+g==', date: 'Fri, 29 Mar 2024 12:26:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIcTa2lpS4qchATOaVOwYh06Ccst7Rbwnpap1Ck2CoA2_iZIjWS-e1etS-Xtw"; e_clientaddr="AcKj9KdOnAu9vxmwWFrEmqkfXER-cpAAPAEhxTMYfMiCl3Al5BO8D_i7Y68y1EvDNf5WLQoSmpzffzlHOGrhjnO03RWcStaqV1YM0ghX4saTtjTM4w"; e_fb_vipport="AcJBb4r8zBbb2aPyrw0n66Z11D7vYNtOWYMQ55BCAdmSQOy3JWhJwf7BG6L2"; e_upip="AcI_RKE1taLtbDijk-mZw2XWp9_znKIHJm3o7gZooHfsdS_ODri3B4Zay9ISwFi7rK5Cti7IyjGT5UGCDZb5TmrNrnDmuZ_9reM"; e_fb_requestsequencenumber="AcI_g01qQGD8Rwim-zjkS9EQOrkDja2EoE87Z9XUxzyfwsbOf4_QT5jkJd-9zQ"; e_fb_hostheader="AcLn4qXkPQbcFKRRNl81I1Q7iAYm3PB2yaYQX-PdgajQ_yEg2w2NXVZT23dhXvA-BmfD66-zB3r_iiTz"; e_fb_vipaddr="AcKmWagoH-AJARESccLzk1dVfKOR12LoeSWDr5FPNqKIUf8eBrXkGbCWQFFyZAEihFNb7H2HUQhgo0D0QwR0HDKkPd2XY9qh1Q"; e_fb_requesthandler="AcJL0OXmqnR4JTc8CCLtK92ZM3zEMDkD2bOyCCvddoA0LR1GG8C2hQCia-UhlI6ff55X8UuutZY"; e_fb_requesttime="AcKyMDItebQELvmIRGpKyQ_kBh0L_09G1CLC-zUb2zNWH6FuA7MVLX4ggdEunGg5Z1Cq3aEa6Q"; e_fb_builduser="AcLsYoUlZKmdyD43BwaDetTJMKuu4v4awj_MkDTFeWk0tlhAJ4jw_qls399JfMYtx4c"; e_fb_httpversion="AcIoxWkef0D1FiYWWzVV6nURPE4FYXxQiyEtshxc7dvcuOowgmQ8JE7TBO3Q"; e_fb_binaryversion="AcJCD7XvIPibi_2iBIlrG9YmLQPhSlAx3X09sc7oxTJ8B0nqrB7H1Hv3AO1lSMapTd0T2qXn_PMidiIUJyY97h0euc6Psm9I9So"; e_proxy="AcIDmqSKZv70VyJImUsTQKszUQBdvzpfGCSTtrk4CM0cG_DwEY2Dt-J8qFaOySk_0g9Ea2XvHH0aw0SPktWL", http_request_error; e_fb_configversion="AcIr_1hJODsQnLRMtuxdZ5wC7jcFV9MuUCqCj34wYUVutG9HHCAqN4645n7USw"; e_clientaddr="AcIWovctORVK_ZD_Weg-_90SFqvvYVUbhcrExDCSaXPZa3ZthRhzxlakv593-ndrh7_BIpgb2CrEDahlYw"; e_fb_vipport="AcLqQBTaXNevV1oUUTtbzE1OyotrdGcODaih7_YKqaTxZkrsGXuY9JnnlGHx"; e_upip="AcKTbe9iHnqdGvkcr811v-pLkDo2qh8ZceqpKfFP0tGA6obwxPzdrO4BDRSMYXzTNMN-S8o0yaT3FxexdRWQEjboojOAR1976w"; e_fb_requestsequencenumber="AcIM4YmrKpIDbzV2Dbx3nIcgXp8wY0te8qKPX63cuKpNzrNpMOTbZ76HxA"; e_fb_hostheader="AcKvotwzPu_wml_MxBt8ilUoN5olYcjq0CBIDGOn10Xw1kef9xWRVnWzrbx00YagUqx1X2T25kxfzPct"; e_fb_vipaddr="AcKbE1cleBT3yN9Ry7Esr5CM1hHK5ibgdTYdafEwWsDnyN-5kb_xqkwSbE6r6xoOVCvGSpo"; e_fb_requesthandler="AcIuu9yqDV1ELM9oiyfRMUxe2SNI1GjOGxpGhkaI81ZkyuRq89Qqlg77_8joOOBnihYgR5-k59Q"; e_fb_requesttime="AcI4DewPEU0G8xjiChyGp9IdCcOGMkyXMWYWXoaF8nQfoSnqlwis7h9AJReAzCKvpvg4RB0EwA"; e_fb_builduser="AcIItKsZf_lfRQYNYYLFKmUj-J9QfNOSJPr11u4f9TLo2sIHoxXdcaKO54gcg_qNxIY"; e_fb_httpversion="AcKqHuDX9pxOhbXxNIahglCAHhzSmdz0vlyEf_EIpCnLkadxUefFfnmnc3i8"; e_fb_binaryversion="AcKPEgtDxbC2NaeUJqL-YYcOBZNCmo2UdJehNg6cUHzqHqtaT_LNCaiEVOqHqjoO0WHSRv9nj7fmo_5k9S169135QoBWeSsTGho"; e_proxy="AcJT7xLkUDXzLA0pHbeZdNrULYl3S4n8K_pZAZQ5ggYU_2mzyzrFJHFA2tu_zNFgf8R9g258FtCq5qY"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=232, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25610921648506384"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 12:25:59: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 12:26:00: Error on send one message facebookId => 25610921648506384 03/29/2024 12:26:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AtPtdtDor4a-UjVko4RABmh" } } 03/29/2024 12:26:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/29/2024 12:26:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25610921648506384"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15272164, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4JazL89B3me98U0ciDrq-t', 'x-fb-trace-id': 'HjxLwZTRmg0', 'x-fb-rev': '1012411673', 'x-fb-debug': '91kcH0JDtQkPxhdljIMe3McdTi+aPqOQm9QDuaoTU77gIw+WyI1dCYKk/0LNbgEFYQ89JN9B/rgPjOMmOK1Xgw==', date: 'Fri, 29 Mar 2024 12:26:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLe1qHfb_UgOT9BFKbObkIu7Wx7ytrs06gB1KO-LLydlECMm5pPdhTFsLInfg"; e_clientaddr="AcIZVplo-AvBRXj0dDhu-cduOEIH4WmwiAsHfXlpugmigpaBmG-YyqhZS1KpEvF_tEwznWIZ_t4kznKB8MMw7faR7W_nijEDmi3PIXRF_yUC5Ruykw"; e_fb_vipport="AcJlzoDIMqqQ48H-_AutWl77CLDDw59Bd1jYXs-Z37G0ULX-x2kGyq8EC9yt"; e_upip="AcJviaxypBe2WN7lOqnUnqIHVKojWA1E3m_fzZTfNK0xQVO5U1kHhjSTaURoWBGusZlwbROrxCAC1ZJ4zy5jB8TIg2HIxY-Y48M"; e_fb_requestsequencenumber="AcIjj1H-tJdk30qSY8dwkWJpZfgJbK8_AsgUNfYbdVw8E4jy3SdlwKgd5KgXCQ"; e_fb_hostheader="AcJsWEOnufZKCO-KcOxm8T9VLUgidNDkedhbilC4hGr_RYLj_0zPhgzp8hvjL0Ru6XxpMS3tgMYF8NNL"; e_fb_vipaddr="AcKq-1rqGa5hUCZA62WcO9j_EnPFQzR-0uCFaaPHQjKMySd4kOogD84i6i74504m74K1RX0aYS4Gp0E7k-xxxz3NlDOx7vnQ4Q"; e_fb_requesthandler="AcLdrQUTdZ6LX_RXqCc4o3bfhnsKPs2xtUlnAHx_ccm5w93X0sSP3hF4j-Zr9JGhmINm91jIZ4o"; e_fb_requesttime="AcLx-AdtwFWBX9qPMgREtlWo3PJCYaOxvlauHPBwZt-rIOWLJUoqh9AjHfRmqyOveX1ml7GOoQ"; e_fb_builduser="AcIi5CTro-Hhx3GKsIIZ2lPl8uSPEiuOv8HvjLQBnuVZA2ghWLYHYl5mYTgp-5zEUew"; e_fb_httpversion="AcJSK-LvPz1AJUcqXb5cIECrrv6tkIZXygJIBCncPV4bBySCI5IpD7cLje4A"; e_fb_binaryversion="AcKM1DyRPhLtocy4rqVFbCck_iqc86AnlkJGrEoPZeelNibnZKWWBa6ZK4WpYEaTttUaQ_Cut_qhqfXc4W23ohs5j9IvHuS1PgE"; e_proxy="AcIyuZLd9vGkLAM0BNhMMl0ZFvafSea7Lm_EUGvMHuLEYcXYieaEAcSOy89sEKKPsPMnp1P2sjawg0q2vTcV", http_request_error; e_fb_configversion="AcKAog-QGxYD9X5YX27XQYGpPTvdK50ZzcCuFgmXQfLINjTQIS5BYtNS8WSxDw"; e_clientaddr="AcI7CKuGxQ92dBVmUbDuCQ87t6HuFbN6rxIvMkCw5GwVtMIvPlANLDfQ6He23FN9VL8x4fYUJTU3c50UwA"; e_fb_vipport="AcIweHLu4l62FLLc79O0OHCdq9tpqBjj7PgGynvpQeDspaMqNeVCJcKTeEU9"; e_upip="AcLtjYrkvRlJT8YuJMVnby16Ex33CRd10zVoBynsoDuU02w4HGY8Zd8yuftSa7Mwm42a4Co7sJ8J-MAuA_Rwo9NU1GVa0pL_Ug"; e_fb_requestsequencenumber="AcJf5WUMF8krquMJKtEhouH_sLBn8jAHCpHug3jui84zjRssnJ1aQtA4LQ"; e_fb_hostheader="AcLi0knfSR10BPxqfdYeNL0ovNuKPfGvTEP7n-ncfnDVejX0X3uKSmhd9v9r029RuMHyUvahiEI4GNqM"; e_fb_vipaddr="AcKl3nAm_nwPsdxap_Ojodhpz5t8aW956sdSUNoj8npiidM4j6hbLEmhlnHHXxQShImquDE"; e_fb_requesthandler="AcIVu7aMVjB6iVDiHg7M231G5j-qJ06TultkOucfinr6DPZcU5SZm4XoORu0jZ4bk0U0i7g8TpU"; e_fb_requesttime="AcJR2G2QwLA30TY_I-59Ra94x_rvpsoVsAAGYydeCKzCkfXyouwO8qr2x8-JBspnXIRQpr043Q"; e_fb_builduser="AcK4rUSCWDY8vwtYKqya3XSUhlIv4k9fO0d_xdVcguH4kIhtr3RcNea1hHSNMIgz6q0"; e_fb_httpversion="AcLe0gDBBGV3-B3Mw4mqMxwyZXJAWc-pkxMNBDHR25VA_rMu4X_vegXng7xb"; e_fb_binaryversion="AcLRlsq1jMXkD2AlNiF1OEgmtVkZjYlFfVz6gtmuxjfqpwP8y2fmejHhABayKpPDgaAfjEtqlHN_Rc93FbYHHdt2VngbWvWBX5c"; e_proxy="AcKGMnKioxg-hOue9jZgLR72S_pWeoy8JaCjlmf6ESpXZkslcdeQmLS8U5sbZKhvIoSR31IWdunTn0_p"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=223, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25610921648506384"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 12:26:02: Error on send one message facebookId => 25610921648506384 03/29/2024 12:26:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4W1eXkVW_GBkLg_eK68pfL" } } 03/29/2024 12:26:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/29/2024 12:26:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/29/2024 12:26:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25610921648506384"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15272303, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-MdGKiEvrXvlyrrsaPtyTd', 'x-fb-trace-id': 'GDSsn+d9Z2j', 'x-fb-rev': '1012411673', 'x-fb-debug': 'DL+OjWQbNeuy7LQHRCKz1b6RTFW0sCzo2pO2H3Mgoqr/AVSoH8F1htRZgJoTiHYShgg3U56f1c4YwIztn0v3Zw==', date: 'Fri, 29 Mar 2024 12:26:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLtm2-vKR8hr0DORS3zPL4FmVazHuIf9zEr1QEiR7xMDc4MSAk3qDtPYLwm1Q"; e_clientaddr="AcJCkqE3kPI9P4hm4e6w7RIbdIPbSt6RMasDqu52GqjRhj_5XGQZv9xtLtagKA2aRFET-6RQGiAtGcmJHJDoULB3qulD9_eY8LARgblm8jmtH17IZw"; e_fb_vipport="AcIRD7dQZ3Xr0dZWW3z4l5GagKRyVkHw08ik9fDD6iC-8XAvDgU7j3wdtMeB"; e_upip="AcLZwHswyFtaYuIXzWQM45N1hvHq1DA6LHUIITP70_aKbethMJmZlZp7byVMTYnayoJDisBxNG0FWQ7DaTVRN6zGVj7ePCvr"; e_fb_requestsequencenumber="AcImtSUODqoEYfhDWNxxMDUCDbXAEZO7QlLMB_6r4AtblCNbbvuJOAdL8kZg"; e_fb_hostheader="AcI-15D9ow6uJkfAqlXIk-69nb6Qp6E9EK6wvOdf8Vsb-FK5Q_lnnfwLTgtuewj-O6z5sMWOfZU3dfMY"; e_fb_vipaddr="AcJQ-9m4Tal0x4qBd6KXUJWiPKKBDBIpiL-33GBD9h8h4JJ_5C6WKwPtjkG99eEeuMDi2vddmOADWkdiZNYywxXqhVw2Uga_WQ"; e_fb_requesthandler="AcIGsTl3Yfs-pb-tW5qvq4WKw6wVX9n6DXCrEMGLI2HMJBO0QrNXCGOPakapmd8KMn6x_AFPgzo"; e_fb_requesttime="AcICL7qg4rwRPf7RXHCwuhoAbP5pbmn0ZuQvPj78j0hT9FAk8NlAp1IdqcBOGXtiJIOYzoqPfg"; e_fb_builduser="AcIAGZ0gzIWeI4mpetL94yTfyXqVEPCvgsN0bvXogQqurKmYD6sKMrYlPVZjFDZ5hlw"; e_fb_httpversion="AcKvJKmUwV9RS12XhKNWw5-3qJkElayqZS2ft6400eGs8LAzcD6tWmzAl0pa"; e_fb_binaryversion="AcKMmIEJFTRopDZokHtW191xmIUZB0o8jgkmTe3Om72P515bTQkTZGsH_WwiOywxJ9o0HtRZK1RfYzNScdJeg-r4mqMLhOTTaLc"; e_proxy="AcI3GaUvJZMyao1H7H6OI6wykcjUylc1RydQsLzZ2tfBGjOwD9TRAYybEmiI1vI9BW3xGMemr0STAw1Q_Fms", http_request_error; e_fb_configversion="AcLnm9vQ-dS-TgHmXa6Igyv-aDAyQUVEOyi_NeclbFwd-CmKBpoOpPdzxgqAmw"; e_clientaddr="AcInmpY_tDmKfEed_5Z9zqxbqCw8YrpnQsWIKduVfSVZrER9LXf9QSRDSazG0ntb6iFfQQ9jZAucogenVQ"; e_fb_vipport="AcIlRd3misfmx1D-tO3tMdhDGfBxTeQms4q7a7488Ifi0Tn4EV1miIxOgPy0"; e_upip="AcJSnWiLqyr7SdGg8NFOwNdary017Q7i7qhg8A3gcs9eR1y6Vw_qNM28hzUpqq8IKRC-W7_Qpirs7vdz21NPzSnAuiOL1vjKig"; e_fb_requestsequencenumber="AcJM3J_WRbdnJzSRv_caoAmLSsx_QyDG2JbGNqIy_sFHg379nZD3dOZULw"; e_fb_hostheader="AcKsorPsza52NYU8Z4dyLxE0zvjBPSj-B8Q48zbcfKtkXcctTUfqR5dIu9F-cUVxYCtfVICNklwv4ZR1"; e_fb_vipaddr="AcIvz0znxkkRwMYL8YHsd4T2E4pPK27Ooso7p4tHnrDhCqsDfMFO_ScXw9J8w5_-r1MoFkE"; e_fb_requesthandler="AcIjimwiSK67XN2BPShd_PoI8cqGdGYmPFJojz_4LIk5HTdizs270jcvixLJEY-4SLSarkjDiFQ"; e_fb_requesttime="AcLc04NP0icYtjjc1_0ru9IFB11pBGyi4TMsDk-cEVyzCAMAo9Z8iriUM7bC8qOPtMO7cND0zQ"; e_fb_builduser="AcLAYYI2LkTKMO0c_vAh3v_xf-nzhn1ep6d1LTI8VqPfFmGmrmZrjmsEjRdXlYUAkFA"; e_fb_httpversion="AcKJSnkrG5F5GwXRVSR38eBonkTKiaXu-oDpGkbHcNz2bWUpCivfqYCuqi98"; e_fb_binaryversion="AcJIQnJ4A_ZHiR3ow9xv1Z89odY15fZY5tdBb33qcOOLZrCcMkibtGfhFWLnPjgJy9LGZK3hiTg9Ak7Qw8bOJYr3MIGfgM10XNU"; e_proxy="AcI8wUZ1cbDXu75EnZG82i-xnbLP5XFKurd4O8VipCUyKH-HO2QbBbjQGhzCoC-2synDIz1TNsHobDc"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=233, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25610921648506384"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 16:27:22: Request bot not found: { id: '371012979613880' } 03/29/2024 16:27:36: Request bot not found: { id: '371012979613880' } 03/29/2024 17:29:59: Request bot not found: { id: '917983134950234' } 03/29/2024 17:43:23: Request bot not found: { id: '425997890871688' } 03/29/2024 17:44:30: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7599941453400819?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15326054, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7599941453400819?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7599941453400819?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7599941453400819?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7599941453400819?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AY0APWXG5-gfV5pYb9MH9SR', 'x-fb-trace-id': 'CqVmhdHSept', 'x-fb-rev': '1012412840', 'x-fb-debug': 'u4xotV9c68hVwFoRiysxuDSX0DQIUIcheQxTkr/I8x1dbGKl9mJe+XPOddTD/UgjDMCE2Web0kabkr7iqoDmKA==', date: 'Fri, 29 Mar 2024 17:44:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLh5khO8_dYfSfBDUWWD1GOThmXro2fh5tubORZKo1ZlEyE5EW9lp_fWdGqPg"; e_clientaddr="AcIIsYGP9cfAGeFc3AeZ1yXnkmBANgmQ5r_JsY0nGQ521ZqOddslGRn3P8mCEFtbHB1BA2Xio_hg0yotweb8mp5dI06MOn85TslHjAhIP0O2Zao"; e_fb_vipport="AcIpqiowaxviuw2v-A9XM43IS4FXFsAnvFlkygW5qa8auI4jSuFNX4mlueGu"; e_upip="AcK7_EN_GDL1TZORaBMXwavuyax7m3z_TlypnGyIVTNFSNlh_3bfXtiYojmcgaNCpd3IS2tIGLYop36ae42aB6z68B5LocBDJ2M"; e_fb_requestsequencenumber="AcI6NL4-8XN8XzuB07hS8RdYoWEZ_AYuniQXFDh30ot6qtzo2J4bifSVymHSRg"; e_fb_hostheader="AcLBXMoiaAhtCJLLOyGdUswRjDBi0RcYEdw2wE7AT5mQp5_GfY9nDSL9JvtkL9FEXlaBk1N7DYnse66k"; e_fb_vipaddr="AcLMZy-vRtZNBXV28LGoVVtZqGnfx5KoeTDGNjQUCtNRW355vmsys226pD20fM2-qoeOD0svrzXjj1etN57NkUQ2AEQqdPjwQA"; e_fb_requesthandler="AcLcEzR2oJT1-UWpMKw940P7UqF04VQ39Azogut1iQH45y-H4rkQRlOy1kW2rFGCwAnkMn7Kpy0"; e_fb_requesttime="AcIOl2aPrDeLijikLpK07SvmHyPgTVVhiGPwswSK-0r4xH8XYrhArPTW_jF75Sbvp6TNHgZ4_A"; e_fb_builduser="AcKn9gv5wqucC4zks1IWPYHr4BVoCVzLZ5XFDeziMu1pWunUzGUgV0hF856ieeR2RFY"; e_fb_httpversion="AcL36-xanZQVlUkGLp5O5ESSCEA1yxKKywEEW-GnRx_iqqiwA9GyMYJEwL4E"; e_fb_binaryversion="AcLEUnsz5DEbSEFd4s-MI_FozjuHPtzCJo0gPW4aLbYjoc49C4IDpEuufpzfNkjKZRaAf3FEsYk8Ql2UvlnkgGqDq-x43ex-rAw"; e_proxy="AcJPT_UVOe3YDjgfZeW1HWWCjQSaziLTcMDlhBtZx2hIiHPjKiO5uX0BbW3wf1oV0TaUeQEqjYWKzJ0vNoqb", http_request_error; e_fb_configversion="AcL8K9p4ebrDBSvXPF1u2Yl6k5bDzto_lZ_tD5YAf4cwbtHqVuPpO30XoOBU2Q"; e_clientaddr="AcJUBPQloot_X-jr6te-_9M1LhtSxP272krMtVbU-sf2xCsMccojZiIHlPMImevD58r5V9Zk4sI_LNp7Zw"; e_fb_vipport="AcIMrbmaHdvpkrT0jZFTeR5rIor6M9Hy6oXFaItMr2cSfhihYvU62h3nkGxX"; e_upip="AcJqIJtHVkXzPolh1c5bHctnO8paUr5aNso_lKxmX5JSxtDoZxgy0bbJL5mZPV3LbI9EYOlqcRvCxR3z5E45UDEbvi4ZZ8qxnQ"; e_fb_requestsequencenumber="AcLY0E73OGToRVEvozaRVpApDU89J0wJ89JJnL7FfBvoJkXagNuw1V0W9Q"; e_fb_hostheader="AcILn2aDFeqFu-bN66PxPKKlK4H7eeHaor0tViFh0oP-Kc2DvxH40MBR5kM6hDUc_pp3KX2yDovcwrG5"; e_fb_vipaddr="AcJHsErQJgd2vkH63Soj641ARJ2iOCdauEpdNt1f0XLb3NpTdxiLf8ZwobqMRe7OEcxSZZ_tEA"; e_fb_requesthandler="AcJDkBRa6O1N1xDT0YI6XxurcvIZM1xwJ0D3PCBkwgK65dVpSIQU-DYKRl-TVhVgSKDi-A6HQpA"; e_fb_requesttime="AcL_kpv4ReFzc4Nrdl2abZ8ZjnXDJKIM_6Ebap_UltHm1hmmLo3kYM6wNjdDO-X6xhBSM-YHRw"; e_fb_builduser="AcIaXUV5SeTAMCZr3TNhvAUHBrr1Ebh1UE4VHLbVlBSyTuyyALK-SzneQ1w-DwdLHp8"; e_fb_httpversion="AcJrXY7l-PT41MdvhHJKTpnVQykZaWsKOtxAdam_gfkPm9LZt83qmcW4lpNR"; e_fb_binaryversion="AcILIS4ffyUcXbSAkfEamK8SNOdnV02P5w8x6ZEf_FqCYe8T6zfunmlowjF8Ygd0fZ2RYZqhkK9NSnS4SjOouJvsdIRnYZYJar4"; e_proxy="AcKEHHaCTjX4vfQQkOfpjX4ndLRwjrjWc2mJDzBnJagXVYkd1j-81wpbHv-fM64XRkyrqyjToV-9Q-u3"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=288, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7599941453400819?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7599941453400819?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7599941453400819?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 17:44:30: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/29/2024 17:44:30: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/29/2024 17:44:30: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 17:44:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7599941453400819"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15326172, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AamZkcNe5ndB4Zagdd9oZjy', 'x-fb-trace-id': 'DUDN1ldwRmW', 'x-fb-rev': '1012412840', 'x-fb-debug': 'eRU8h+9TtB31RLBRJJ8xuW82Y24MRZJpatr5D4amV5U5itW1bDDjm/vVs4jOAAxdCdBSO/8AO85W/iA0xIQtfg==', date: 'Fri, 29 Mar 2024 17:44:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIknrlkZ2uf1zhmbti7kzwd5lBnzgreoMSagdFmR8xBrV7aM4lIHMgAeLnyGg"; e_clientaddr="AcLT8oAaCIk5u3ALYfB11zWpqnbeAZeuD7VpkvU0Ri4KAxRYahcs0w1LITI4XwySSx0NAtd-ObcG6Io52zh-uBlE54yKF5c6uf4-grH-PEiCHceWcA"; e_fb_vipport="AcJCqxZgSDe-W-uV5-rvScqc8GAKjXm2RHa5QqiwRBajDOUolrCmXFtoLlHw"; e_upip="AcI3yd-c21ZDNJ5iKcAquyC4HUdiFMXGgn-NdfJ95r8ybhmk-wrcz44jiBKiLJRtThft-FJLNLzGXESJYwzEl9aqWL7c-LtSXMk"; e_fb_requestsequencenumber="AcLhDuwbGdPMvKH60BtBMbJgK8I3nj-JtjFm5Lwelr1E4WNhJdmOLUY3fhC2"; e_fb_hostheader="AcK2nSUQmRM4HZXHlQfqZgYGx7mMN7t7wCGV7mhP8g3xaTcbzAgd_R5iQE0uOmyXuoTp2J-ha3DCOJPO"; e_fb_vipaddr="AcLsx23i4mnTwAkf7AIVYWHjNSLokfuUssx5K9mNT0YYWS4dmTyFR9uuogh9OJGz-2KXHLAm0ySHuoaEeQp8_bmFKYI9aIqxcg"; e_fb_requesthandler="AcIHXGm8yTuqfP86ufnIfWEV7FylMdktKUSbR02YABWvvp7MO29E4apkTKZgU_ZiYeYw4B6mCqk"; e_fb_requesttime="AcLFLEFXb7W0-QJIQdev_4FMAnE2eiGUZ9Wb7Rd-Ynz3HowiInpd2VkbjMFV_4Z6zERo1sBtZw"; e_fb_builduser="AcJRsdTBd00HHjxGBUsr5rcXGO9sbbvzWLCrlg1Cd0DyLVsFZFZdNT7gCaQszrZc9i0"; e_fb_httpversion="AcKxl4-k8t-U8XF_HTAQhGBnYqSSBFYoJRVf-PxeqHcLSDVzvgVmJ_P7iNgh"; e_fb_binaryversion="AcLc_bnd4Nnc-uInk6-QqDHlCtH3rLchMqcAc7FsEoqiOfmxRDtXPj8oziNXwuFRqEVQBppndDymX7LGtrIXk2YUMMFMatQc60g"; e_proxy="AcKeYHOsSS2ip8h4yK0jBNWaWTPi0IwWdyFYcR1F_zTfwaOTF1Nq13ASLE0DnJ04nKcIvtAWCDGqG4USeP3b", http_request_error; e_fb_configversion="AcKCxfMjmi7ItWk_4JaaoBYQE8ULWaUq73IXM5-_ZMpzrn8uXeYUv0UWuzHlOjDa2f1GVUtDVX_QJTh2N-f9WxRUGAjRAVj4_9g"; e_clientaddr="AcLI1Tl3ERgvEMOx2tQJPP-Ux0IEFEEhgC-H_YcA-5dDdX1e_44nC3ELRVbFvR5jEbo5faobIAr9P1Nt5Q"; e_fb_vipport="AcLZGMKOIFiNzXYVhGKjN-rXrzWja9hZGfxjZpXyeOofZkSKek11EThDm_LG"; e_upip="AcJXToooxCWBz40-USQfuB0tpgneqEYcj8o3VZntthpoZiCd-KTxfIjGKlDhX7h3HF8XdHQvefPbSqxyRFjFBaQ4CetP1RC2Uw"; e_fb_requestsequencenumber="AcJpju1QFFtacQaP-G1J-hIsZ3Qq9qLHSgZhOFtH68TU68eaa7j1qYV8qw"; e_fb_hostheader="AcJfNv-5XvDj3vynQu6Uati-vw1mQXi18QpbqVDcqbhUydLGUnst8nP7jWkkabuHjvTEp4Qty6orVeXj"; e_fb_vipaddr="AcJiLhQPBN34b7GdXQB_QI6IloFy8bFSRq28_fzTtXYT5hrNgONYW9id1ZucyYjMnfUSf7dYAw"; e_fb_requesthandler="AcK04CC5OMdQOmnI_Kp4CqnWP-1AoScgIGetlvquc3wS7y6vxkH7oJ839iyG2MyC-cvmr2_XE-8"; e_fb_requesttime="AcJGU9bPPIa5MyQMefjX_4CxGqSdfr4DhypvnTxaZTCsETdP3J6HLu8ZsU-fnupcBEdH1K7TFw"; e_fb_builduser="AcKQn319GQvERyRI4leKLjp1Q4hjJPmYC6AbdcV9HujYOqMlgv_6lserlsApuK3E_ZQ"; e_fb_httpversion="AcLYZHwsUavbeWt5_sOt4PJKPVMYMwEE7KvcpIMR-NoPp8bKPoJ6pRZCR2Gv"; e_fb_binaryversion="AcIi0zklZ0Kcjck-iTDM3nLh7EnDEt6N_yWr3VTNl7g99w4m6bFLdzjnIvVfRuY7VaF6FKcwK0p_0V4YWBGmcR6ZtbF29Nhxmck"; e_proxy="AcIoJnY8ayvGPbGOEUB4yl39kumoFIvB1q9R5MpKA-ftAHvxZvVCDuFqOwchrwpz3sXg2785UkkiQemh"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=160, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7599941453400819"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 17:44:31: Error on send one message facebookId => 7599941453400819 03/29/2024 17:44:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Au3fUJ0eGU99tOjRzrdgF1H" } } 03/29/2024 17:44:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/29/2024 17:44:31: Error on send one message facebookId => 7599941453400819 03/29/2024 17:44:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "At2CshyjKAWXhr4QDBighvh" } } 03/29/2024 17:44:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7599941453400819"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15326245, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aar6F91cJXk9d5_hHtD1I9B', 'x-fb-trace-id': 'Et/YjqoJgwv', 'x-fb-rev': '1012412840', 'x-fb-debug': 'rVGGFjuk9mclLUYDzk6MQY/83kKpk2JhTs8pCqgYQ/2cv6/lcRrdkwuMmPzQPr8eyXztqzBpYxtjtZkIMc7rAQ==', date: 'Fri, 29 Mar 2024 17:44:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLbxPFQwsohGmd9pvOp-5kfZIc9JyE_iXKfmn7U76qnOxPcK5YyGW_wV2XFCw"; e_clientaddr="AcIIv3N2FmPzI-wD3xzglnrQGiYsetasgHt0_jZea24KFkcZFVUDWPmE1GDajNLgKo7wQ1cn219u9CP2P_K5VnRte-8lYEgmYabsB7ZLtvOBPPd1TA"; e_fb_vipport="AcL9WZN16GGcm0l8A5ygkZX-yHS2qOYqFIHzE2aK4UlQnNdztJFpu9NTdz_x"; e_upip="AcKjGy2bn9KYQwoGgi7kgkqH2gE2atRB0eYUmAaMysZGgqagWCInZ9S5TjAQoejZ2LZ7IP3egZBm58YTPwFgikxf4T2geM6o"; e_fb_requestsequencenumber="AcIoCsbxa_STS49yi1pCrPaSgKpKDnJhqemKsLEYiYIF5nBN188YnhGzN-YvXQ"; e_fb_hostheader="AcKL8byF4TxlZ1UrdneGJYtW--uaHWm4rE3tZ8mC-O7Vh2_539mPkBRmvghA2GDrbgM8Y8SD_H3GmtJn"; e_fb_vipaddr="AcJeBSHnO5mzpdpsVDsySdFd7Zqj0c6i9qJGMjc8L5r6y2U8A9InqQ4fM7b9MqHMSW5c8s9VWDov1157ZETaW1RSPnazTrf4Kg"; e_fb_requesthandler="AcJVgOXwByNeA_EyqZfnhSZMYJUj8Tb6sZiz8WEfCIwLuPHFgMbHkYVlvZqzTNqPTDU2F07848U"; e_fb_requesttime="AcJCfYEwP96KoeKCIinwIm4p1Q1eUh07tAh2AtRJiXAl0C5UBLkX1suIUieV-SHZGsVZTWnQiA"; e_fb_builduser="AcJQRGlmtyeZACZggFytu0la34dSjBpKMLJDKteOChyfxYOWcGsmWtURR5vdcVkCr5k"; e_fb_httpversion="AcJFteHHQplr6TCgENNBuLnVHiwBVT24JjtJDgcZMCXQaFz_PQ-nTEIBGJG3"; e_fb_binaryversion="AcJShA_RvmcERCc52Wer4_6HWha2jbL6NIqPfUGMIPH8QvLYRbAeLIMeKMizIsCi0pI1vL8BCdvpbiInPifKV6dxJNdopchADoA"; e_proxy="AcJSJZHPOh8o6K42LHORD9DcysVeMdHh2cAMLkldzsDb5lGeixEzhvDhUBEImYc_0MiZWsHnfpCsaOw5B1w", http_request_error; e_fb_configversion="AcK_ehK1G29DDeYp-BC6RxadP3WEJWyPtG5ugwFdJSpEIJrLzWUuUxdIbMh1TA"; e_clientaddr="AcIWDTw053iGh5lvjZ-7wbZNujef8plxfuAwBOD2-RnnJ_l6v3n6nvyyHQ2VQLjwGIowdZh_vnLN6HbeJg"; e_fb_vipport="AcK-SPfFjD_AFxRYxa3pT9vKJ5nh-8qMILr4PAIGve32DExvsMobOYkSN-v6"; e_upip="AcI-llDgDQTL6eOgYxlo34kbUjrHYCsI6zhGPDJ-rLpd49Eh3j_sp9CBEOXCJUUhcc86XMGvus6hOTgBovXH5lF_0n9A2xyzag"; e_fb_requestsequencenumber="AcIbaMXO1d9nUQrMlkhrgW0lCS-ehhLpLvn_ziJM7lHt30bp93Y1eY5i0g"; e_fb_hostheader="AcI07QpRO5j5D5LCrGZ9lYdPvJ9yAIKukcLwIj-UqJnI9uX9i7qS6u9_nY1N1tZx0JynE29ZtsREBWCD"; e_fb_vipaddr="AcIOgogfTMJ26KGCpyGE9zpAYnbfCt5iZdRmP40NbgWrAOSmq-Nlq215b9_iwdv_FuIw_1KsCw"; e_fb_requesthandler="AcJfWi15El2YUP40ttMWBR5m3_Sn2VCaOyACsosM402dqZ8QVXRFMZcDLm7H_yT7p1A-hE2X87I"; e_fb_requesttime="AcLI7EXURp640UkBkyKbeQOAgCO-uBqEmfCmJL--JPcTCmfDSSYGJHLmqjSlJGE_rh9cWw1NkA"; e_fb_builduser="AcIXyFdagsc1tfhW-_mAX9XiJ8wCjPf6LOelEt6oFvpppLK4y-8P4-NUzU9mLG1iGEs"; e_fb_httpversion="AcJXldlq15wc_M2gtPGh298ah_XouF2bJWk_paHu3Dmt2ZFHfLRoSzhDQM5c"; e_fb_binaryversion="AcJHEAJNQlVqNxqhFddqdyP4E9NCHxziqKOvFMJIqFYag9QB9gyf5rQASuAgO2PGNLXh8Id9vvFwfhz552jMpxVpN_SaKv52e9U"; e_proxy="AcIrugD5PXaHUWhFmS-M1ZKuUa5nVhVyfbjlYi46OBijO1qXDBFQo4vUd0xKZIA5fUZEuAfVTopjgLg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7599941453400819"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 17:44:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/29/2024 17:44:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7599941453400819"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15326360, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtCTVqAKHe0-ce4uLTZPyD9', 'x-fb-trace-id': 'Dq97L4kVMHG', 'x-fb-rev': '1012412840', 'x-fb-debug': '3pwSLcJHgfN0Kax7ippyl79Vp63MUUIA8FtLW/GoR4UhO2VhNaqjDWzQQyX2i0YTw1fOmtezdS61VeVJSxfZsg==', date: 'Fri, 29 Mar 2024 17:44:38 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIhh38Pa4F45py14O8mBpu5RcDux3AjnkA4H8he2c2bhzoRxv6vf9qdfDI5Iw"; e_clientaddr="AcJhPSpLGuB7LZSq8ROIz1qfbv9KqA8KsFXMr-sRGmmwXh0_j-xt3TrHAfQFkKIgkCZ4n8HVW-S9TyA3wUcmoxXyyumxDEN3iFy6X26hJw0EYnVAVg"; e_fb_vipport="AcLsCYH250U1pBrwCzWWs9t9nxXXlJtr0_LXUWz5Yg5zuBhtn0_G1ogVK8zf"; e_upip="AcJ6LJnOIXY664BbFlquWSotWxT7aGQqltWhI2WoUWVs166OBNnTMeb1C0trZM-5hDT-3llEQbnY1ZkjJFyZ0EUEC1vXXPM7KMs"; e_fb_requestsequencenumber="AcLnzESEAJPwL7RoCgkCAZ4i0Ja5cpmQ0PcC1acZHOi1hHjRvq5-iaSTVJ7liA"; e_fb_hostheader="AcIOiOqOYdhtg45FrgYEUQbA-e8hfZIYYW8Pp21c1U4GUYzuHfTRkLAPFLHTz8XPjbKJKvqxO7GKMsLF"; e_fb_vipaddr="AcLVIe_Rxm38Zs5z27q_Vm_L93K-dGpOQu2JMI7xHkGwB7RkPCQWwVcy3Z0MFDbdY8EDa9mZ7XRd-e8LmpCjApJMl76rIg6WkA"; e_fb_requesthandler="AcILV0yTaTrgh3CeqBon00BamuLIgYBT7zb9ahljxZuDUYgNrZF13uQrHen6fGiB5j3LrtsJkl0"; e_fb_requesttime="AcKSoUSIG0e3nOTr9dxw8RY8snXxpidO2CDrO98zLZGCSkv2DsfttpZ_LiMuN2BgSm6mb6tv1A"; e_fb_builduser="AcJtVETKNXkP4cGfFzBJzQo8Uwic1XuO40_LlN4ctt-s3hshGBsfnED9hF6DFi4ZXIs"; e_fb_httpversion="AcKQLy4gDEYcs0sIyvERrhX1pUVd2zXuiveNRuAdx7280nLO4Tds2iWuFxJV"; e_fb_binaryversion="AcIFbESyzFwMGacJRjizEbSvzXPyI0io2biq1_VyzOKlw7E42tlxHiYo8DrV5CRTIPKzwb_iE1iXXmFf2mIN3gNixDCdD-AxsIA"; e_proxy="AcLch9dtRGT9KL2uBcgoq9TsroakSfR_woL7yb1imNAhJw1O31OFV9qXNQ5ycB19WTQzq3_jjZi7mnNS8eei", http_request_error; e_fb_configversion="AcJQs8zRnyAoGO9Czt2kBufAbS7_gMcy4s49SvesKGSfNiOfW3WBLoCGoJyDDQ"; e_clientaddr="AcJVVNEanCIs68b3iGdaQrrTAk3ezSndjSYjNDUkIYPdoPfYfFCj6nAVBvshbvEzRMJC20JBvyT1HIfJMw"; e_fb_vipport="AcLYGYGFgML7gLad9aKZT1GQYQ0kCzbbrh48DLEGrV7FKdddRwzBlR_RC9Nw"; e_upip="AcKI2hJac0IKJHYQcu1ntq5gg4pl2ZDsyLfCM3kruP62G1Tvc1OypRws315aV8mr9_RilGrIufF-N3iO3bVGJet6FKv40excxg"; e_fb_requestsequencenumber="AcJ5auNtzVydY7b8gnQMFcna30yz5TFvMFZp8v_JpW-3A5Rf4JngPX-19w"; e_fb_hostheader="AcL7q_mNCmi12jdgFRAEhvtOYZjWPkkZqOIfZ02XSzlMXFlzQyCLn7BnLeSR2XeKykGxIfxpJeXTVJI5"; e_fb_vipaddr="AcLySVAfDjCzhrdQ2rntpybRtU01rlg83hrKPz2hQn-mWoMD3X9Suk4mU8S6H1Osc9YhQ5JYPQ"; e_fb_requesthandler="AcJAgtxrt1RWStBnS1BNHPy8iFSPD4l4wr9INEPWTDlHII3VvRfiooSwNeo7fdbD4uprLi445Vk"; e_fb_requesttime="AcJv9oybtkrPDjSXAdnykJfGFPn_ha9SFi3tBjzdsA4ugxvCb6fq5uzLnyTX404nKzgAClgOfA"; e_fb_builduser="AcJ5p-TXExn0FlhkTVv9dNLt5fe-g6mVHFimJXcsGoXnEGIosOUfvHorToio2_N5oqo"; e_fb_httpversion="AcL4vLn1xnqDnCqtROsO69xomuhekx9hWuhHmaR47clR7st1saeAPTPI3rRu"; e_fb_binaryversion="AcIsru-JUqjtdMs3wfI2ZHCbr5bpOgZP2qW997a63NW2HDSV-Uf1B9DT_4ODDsfWm_zJdZyT6T8J0d_Wrdl4_lyXKIy3z-41SLA"; e_proxy="AcK_LLmNo6FUu6y2FMsrAu9Gk82ivANPEWWbV9qsMPcG2EfWnZBfoCTzakishZTINQ-J0H8HOeveKx8"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=156, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7599941453400819"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 18:58:47: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7760238787321816?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15338866, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7760238787321816?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7760238787321816?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7760238787321816?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7760238787321816?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtIs9GIpqY7puLaxF2zO_QR', 'x-fb-trace-id': 'APGXcqMiVY7', 'x-fb-rev': '1012412840', 'x-fb-debug': 'rzk1Qywrp2edZO/Ugi93w0mm/HsfAL1C6vbvooROytmjmlugol62VGj6ZQsDYnIwGs9rfA1wljpUBGdxIesxyQ==', date: 'Fri, 29 Mar 2024 18:58:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLXwvnLGPcdhUtrdNjpERGxKh6uMsax1VF0DGKUmM_ZPYh0Mg68onfL1AcFOg"; e_clientaddr="AcIMrf2NDzxL8MRi9V5BbKnUopagCRnGJ5Mm28IyEMAwW8KggWAcX-OTn_kUp_GUCGVJCWwIGdmXpPKh5Nqo0jxP82OKmdOJWSaXoKSF8XJsUc0fLw"; e_fb_vipport="AcK3n5r6H8wdDT0wdB1nqVWN7ZHI3GlUPz7OgUhLVad5vzw_F6nLKGztv7UX"; e_upip="AcJpL5g2F6nL8XP5pPGfu49IY_TfJURA_mcifQwcyqlESjr3b_hN_Adoi7PpuKUQH39_GtAiE_odRbUOQqC8scx0EChobFeGHnI"; e_fb_requestsequencenumber="AcLUTzdU1-swRIZ6CN5OPM5SF-FNp-SYzIB2JjuFBOqT0K9MYH4SLfueTG-n"; e_fb_hostheader="AcJpjV6mfIIC9uddBbIqTBWonhGvxdskKXNJIjWDFOcfS_Z5ZhmkzJ2ct1YYICPI0_htXewH5OOxYCB7"; e_fb_vipaddr="AcJ-4zdZpM2x-l5YdFhwh-b0YKNV9N5Y8T0sgCI3o4lSoR1ZNIcgu7Jgw1PtBG2LXlKBTNmgGNO83zCj7-g3Ml3NT0NjVeZcJA"; e_fb_requesthandler="AcKv6ji6MyliNnvJkmztCJMHLe2v5KoImbwYDDaM5Qlj-fGHF4Xhb6Y0lIUFqmNrZ3bJdynA8QE"; e_fb_requesttime="AcJHlOZt-MLkSXnwTraRGC0UL8sf7BXpEePVGOKwzSg58_1f22IC7XLh1gdDn4oJNd-LNu4R3Q"; e_fb_builduser="AcLPFKXL7GBfTI3XmoSFFGuI1ZV-A9Ua6EEeEWxfqxZAtOJunbwolX0WiCkTjaj6PVc"; e_fb_httpversion="AcKTaU2yd9tvGJDvYC4qTqI4V6gzTfhmkcJgLouIkuPtLD_LIeRAzgbQSDpm"; e_fb_binaryversion="AcKOtK88ipPn1T7maHPgIwSGvVdv7nFq9hT7DqeISt-QnCmFIbuQFRO_PunrRT9oDx2GZXiVxRgoqNry9laHDIcNEmkeZhKTVXs"; e_proxy="AcIi4S5QfxCq4CCRQ0fCkcY8K2Tp8L-O6tmUrAv3j0wEjy9RsaQ-5MCqmRdw1lDc4vVDvupqiSTT2FGS5lIP", http_request_error; e_fb_configversion="AcJhirzQOLPmCDMqGHUk06YGW6ngvyKtaYKhgfqapC0z_CIQAluAsg9AN-yrFw"; e_clientaddr="AcKwoF5ebKtn2NjwILWdLh7ozB-5Rfwze7qMJ5FpbiklGPJSMKxISOVTwg_OBxJGZXq3Sjj0srWsrDex4Q"; e_fb_vipport="AcJTqhPRsXhu-Fz9_LOY4QJbdMe1DDvHbiL4JRnxTTpa-yxnQywkN7rmqHBc"; e_upip="AcK0ZrLbw7p7Ehz8KadP8pUvt47dAbUrWDwW2DxkYRq5iin9o7p8Ttuq-lqYF-IJsDf9DtwCbj9UVAs3aURwpqb0WlydHNORtw"; e_fb_requestsequencenumber="AcIrXgDc4opbWQPxFqxX_atrL_iADQlUjKXrGKOvg3ml_7ORllN-j-LWhA"; e_fb_hostheader="AcInEvZAHr5Z9Y9jgMHS4gKc4hI5OBMGneMqbcU93_8L4BAgZrqNrtdiWvCa9nMcS_Sa2sN-b6BVTFP_"; e_fb_vipaddr="AcJGGQmtzOsx1T7grhTA1h9LJW9qmtIwp5ljqa3SrbAeNWFlb_wY6DUMFwhTY50JJi6VJfZMKA"; e_fb_requesthandler="AcIK9tIcHUKq9Mh9IV5nnGE5qw1tLcYU_5A-6Q6C64SZvVbhUQfYPazGnJ9RQJa_moks_j1a4Jo"; e_fb_requesttime="AcJSgAHHDVwS2BgaREKwa043LVKPr--6JA4LSPoSzPztXYCLGI8VYUXBCzyGiyQNrTjzUWYRqQ"; e_fb_builduser="AcJqK6AlD5l6RxTOMKdNwD_nK1u7JjZlH2kjaq3R6hdCUA-hONn_bOT-cB6m5W-JjZI"; e_fb_httpversion="AcKhBz1gbxQp8eUNpjC6e2uN1Fs5VW9vyojQjpq8heQ-0DbzSJZRaD6eJ0ks"; e_fb_binaryversion="AcKACtAZ2Eg2wUWU8Dg6GCAstH7DH9EsaaMa92P1ZooG9SZUXeOYvF_q9L-AQzx5KI82tAEmlxXKp7MVuJtD_PGOqbc4ick9pBk"; e_proxy="AcI4oGCSRxVZ2D0iv7NXI12vQQ4CIO-76iu_qpqGVnHDcRInXfPhCXY9KLRhigng4gsUXDRq51DoX7g"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=238, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7760238787321816?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7760238787321816?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7760238787321816?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 18:58:47: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/29/2024 18:58:47: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/29/2024 18:58:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7760238787321816"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15338984, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUwxss7H7k5tOJ-YqvoIvUD', 'x-fb-trace-id': 'C4CGOr6tq4W', 'x-fb-rev': '1012412840', 'x-fb-debug': 'zKRpLgqKbSiQxVkT+3jvy2DNYY5uXVa3iNLn9A55J/zFV1H63JYJgP+bzcPwBqpEdS9yVz0WpdUfPOfLnyuGVw==', date: 'Fri, 29 Mar 2024 18:58:54 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKPHC6H3PYtiAiJMI0hO1zqzAvzglikmFUWm2vOKO6pbshArO8rOIIpZDQSpw"; e_clientaddr="AcLbD7zPupI7WjBgiiihyDStXftEBwegJSjydCmVete3CW8GAmN13fxj-90GLBZsyn2ytZnozV7259bXJ_bRED69JmBmKGLPP1SUkpaRQgPFH6r_"; e_fb_vipport="AcLFTT8IiJLIKmB0euTf4NXZdUGgC5ySJSc3JwIh66RRyQpiR5tQb3B3vQ2w"; e_upip="AcJFa7php5l1cEJZ8JFsxr1bfnG2rbtzC2W9EUy1EnGL4Nx-2UVEx840L2CA9TBq4jMmAwEBFnJT9yFx9q5Gn4d7ifj_j_Qenw"; e_fb_requestsequencenumber="AcIEHowdYe97Lo1yfhOBddLVvH-tYv6wsAon9OuU4sKW9-qzf7Y8TGzEHCQy5Q"; e_fb_hostheader="AcKMJaND86AQolKbVTYOtfxSs5Fa4TgLNXg3C7odM7nHE5pHAMW23ExEEMS-w3_xfOH_r6-Rmy5NbO41"; e_fb_vipaddr="AcL0bZLcd0tN6LM1fpOT7YRR6pQRaSkRsmU_HlYO6ELiH8OcfLnwxd4z0IXm3Hg4AhljrnWA6VQQJ5L-E28GYKLBeHpV8AO0EQ"; e_fb_requesthandler="AcJzo-nVRQjWVRAOCOAldPPWf_lj2gOpilhnxqsTXGgVO5PzLnxxPUf1hzBq_K9IVAl32k_xOgk"; e_fb_requesttime="AcL3EMLn6O-bLGldmcqsX_jStVHCiKFaQWoMnidgq8kJsNxzv4CZ7wsx5JKpXu8w6zE4hNSlFw"; e_fb_builduser="AcIti06ej7_057DvVTGvqlIo0oyylboJH_-tz4mpzKcpZ76UIYYHwwPj7Bf-AcGM0Jk"; e_fb_httpversion="AcIVXKjYM5o53iC6C7N3-YonWkvkexnNBYDDm5hDD-rOCrRAMkpWK3emiPD7"; e_fb_binaryversion="AcL0ly4wMFHSmL48r1YkTyMNNmo8J812hT31HSHSDbXXwPZmZwmj9G0OZUBqe-1HVzeIrLzn86_xG5r7wwDJvwDRrzic7v5TvE4"; e_proxy="AcI7355yXFYHJtYMA0webGKd3vQjEIMYJ8fxmyO5S9CZlTigDTYNwnmtHjP8GphBonY3ZShLJDF0zhntYQn_", http_request_error; e_fb_configversion="AcKfpKmY8f2UwAIhjNdUgxkyS2GRy_po-rHPkLzIMxDLVJJegROGONKXPb84Dg"; e_clientaddr="AcJZGGgNqTYkuQbuxIOT24AxQFjsfs5IXZf2YFX1VhKKd2S3sO8kCvED9RIZcnpnSL09DLPBs5S8gwYlgg"; e_fb_vipport="AcIhzSIqc0ZMXoauB0yfU0zmLPSlVk2irw4bFXr4DRCT6w-Xphv3dCR3CR99"; e_upip="AcIxjjYC5EDC9yLg1fyoMAKWIWhdRGnADPgDr9qDisfrtCIE9wAvgq_e58DyF7m4fIvi-9Z-yYPZcO62vyvCB2cxeDyXyXPXMg"; e_fb_requestsequencenumber="AcJb_kdVN0XuDJ5v6wmHu-gNwXy9KWMF4-kUvYAhmglbIWlaY_7ESKZZOA"; e_fb_hostheader="AcKv_zvEFLzC1HCdNqH1pLzcHIXNsexqVs_1CsGgXjHPrRbGSx3KluJCx2kOTvDL9hZQeJkmtqLB-vfS"; e_fb_vipaddr="AcIgRkpd7Us5yHH8Hd4z8-Bh2pWFQrStpvtrmRXflw8pKXC-FyxhA-BaH3dILtGAX_A2BWLIRg"; e_fb_requesthandler="AcJS4AA3czdPmS5qGMzZD1d3SsQ0cRSvGC3SQZcVjQP1k2mk40Iwz91Iln6NB5RBXLGaivI4kuE"; e_fb_requesttime="AcKOeRGJrdj3DPHeX6wlty0UaA1dheKH7zp6RG9r1eV28glGP0Uvw7mB7WJIiVrucd6Oyddwaw"; e_fb_builduser="AcK_jnOHIJL5LChHdQI6a3LtI1ivJws-2m0FU1ch1ZJ5ZaOAA-3TBVc_cBqNdt2l1po"; e_fb_httpversion="AcIjaaf0uVllQgz8vg8LtuspY6nuYMkOF8rtWmlEH0ba2Y4ndTMhJKgOTMKu"; e_fb_binaryversion="AcLZaOD_KXohZL_D8VuHRJh-Pz2H42On2jc1213h8fPuOKzeE6YsezbLJ_8tmF5SN9WEcKiND2kWdY15YlXAwo6hSmUa7JL4Rkc"; e_proxy="AcJcKAALfAq2Ytvu86ymgezNRP3KPPjzqebFukwfgJjKagxpNorDHM_MjPy17SVOUNKNNDfKQ3M9pIA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=194, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7760238787321816"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 18:58:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 18:58:50: Error on send one message facebookId => 7760238787321816 03/29/2024 18:58:50: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AgaNaVX0vPSA6Oes9oyERHY" } } 03/29/2024 18:58:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/29/2024 18:58:52: Error on send one message facebookId => 7760238787321816 03/29/2024 18:58:52: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApSdIh4zIZQDsenxEHYIvO1" } } 03/29/2024 18:58:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7760238787321816"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15339066, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-WiYA8QtnOImEwPbiwzo-0', 'x-fb-trace-id': 'A/jw009DsGY', 'x-fb-rev': '1012412840', 'x-fb-debug': '1hPeEwzBBcfGSMzxo9aPepmQ30vYauaEsrTo4/F+JNr24wchFcskqAU016KEPIhCL4W7Q6dnfx3r1o/1KqV9UA==', date: 'Fri, 29 Mar 2024 18:58:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLTbHxZq10UgrRNsnKTnWmEW8C5vJtC4PrwD7OIUnq6TPxhdT4BzjzNBqXUuA"; e_clientaddr="AcLCKc9iD-lG142K0vxo8LbbTJr_ko32aiFoV5bZDe1_Tev-GLLi_NfYG4hds2uTPrkVDXw2z1IcHYQYUl6Zdb_yP8gdVGAKCisnahiSgBWZ0DTPdg"; e_fb_vipport="AcKwoI0rExdWktTDP5dJrcZgaktG3XYurvxrcqjPlJhnKEBXMD9ZtaYQOcOO"; e_upip="AcJaby2SyH4YYrU2V86sdHegLTjKdZsmW78jPAuGZ1vUTH3SZkeR5AW1mj-pgS-nPOKbWmET9xBmT3gCbKsKDZ6flZ3KwlWlRfo"; e_fb_requestsequencenumber="AcIHVdckC04J7rnuVPh4rfIpk2FQuE7SYXgog3WMJ8h0n0qR-2Di8yJ0UM18WQ"; e_fb_hostheader="AcL3NxELpYpvi28mcIeqw3vbGkVRBZOBnG3sf8mab0WSQtNhlSwMBSyJHsR9pidE8gZoMvQxHFbJGqTH"; e_fb_vipaddr="AcL6YCIgrdZtBtUIeJAqxzvVxPc2JLMdxLctpGdtkbE_KLK0mJwcsH2ydmnhhlXSHs4WTSVqjxcFubZNUuKKFiSosYOd0IxQcA"; e_fb_requesthandler="AcJ3ydWE9B32GfaX-MQT2fan9cYOcyvq7qv7JXfyOAHMfT_U7cqRaIywv7CiGdS1jiHz-FkpcRc"; e_fb_requesttime="AcIcFgmIwZUi5L8OTXijc5p5vKkwpeNJkWcHCgNbNJuIY46sI0EF_MfpFBGToYQGSgXqRM2FrA"; e_fb_builduser="AcJWnEvm2HuQk4VRWbjy_6hcttlHGghn3n2evLzj0ttvayxq5-PMA4TnO4Hkris0SVE"; e_fb_httpversion="AcIwJyJhf8bKSjY_uoLmsR-WFcAJduTblAyegJDumWZb9tPrrLyvL_RBbj6z"; e_fb_binaryversion="AcL2WXXWJtNnY0cikA38_ftM2BSfr8qsnLo3UD8ATIkidAStt64vfAUGZDPK543ruoRo1AvKt0OSXy-ZjxPLS9H1qSlrpqsI9jM"; e_proxy="AcIR9hrbO57yP1msmWnhdWzpBsTGFlfTidOaiYogUUkYhX9FfPwPBXF3Vswbw4qm4CSqEGa20lsoX7QOZo6f", http_request_error; e_fb_configversion="AcIRfr_JAf3LLzUcJqltfqIdQ8DjWEtsfwbS4IhPjCBNjnXSuTYEdFdAJEoaBqPWnBVjEXyAV86gin90jNiXdAlup8pIwVlUbRc"; e_clientaddr="AcIFbz83EdDq-4tuxQ8DaQZi-y2rCQnP3s2vO7nFlVbJ62IklAXdJqI5Z6Tuu0U-g2hMjFWcU7zpQ3Nh2Q"; e_fb_vipport="AcIKcdaUWcMye1XDlCrYneBTe1PVzo_ErEecOEtjhRb9EdErgeVOsPPB-0KN"; e_upip="AcIxT8JJu7ax5Xm8IJrkvOWe6vgMzQAxY5IYlqik5lxtmGZBLJNz_7IwTtrpQSQSg-pwCraFyRQOfW1pizJfs1cRGBCsvumZAQ"; e_fb_requestsequencenumber="AcLbdEuyxuWeFoZvLTJnUFhFG0hEYZ95h8KP_Nv6OGFQtS-_ByhNr_vDHA"; e_fb_hostheader="AcKQjMZk1sFOumDWDrTTZjQIcwOGCXmanvyqshSPJ3hISFdNCoQFdh_cXIEqdhpa_Ii1yCU5yPbyMknf"; e_fb_vipaddr="AcISFmENaQzkhTwBRTa-5qNg_9EfYRiw21-yvIX0AGs-QVdLL3yMpFktqrdlLFby_IrH6iWGbw"; e_fb_requesthandler="AcL-k-9oIK0RMEBVsXRlgNGKWXw0b7ImCDyUZZ5i-3BqOtTcBTGk7ZWRsHaUCUmUhrcI9q3Szyg"; e_fb_requesttime="AcKHToZc3r-KgqoCXJcZElJaB8Av-wvGQifg8ICNR954RvsmNVmU5DED5jHXXDWjcjce-gInbw"; e_fb_builduser="AcJdjgw2xuehOh1-7M9ANHnjFXVaxYvXqj3njcOF4q_89lRiauohmXBuINjqnlUjwT4"; e_fb_httpversion="AcIVyrsFwMoivuU-hOUUL9fRPmDMYz2yR0gOM5orUxAUomTF_epNp-roIqdh"; e_fb_binaryversion="AcKST6W-d5DsYc-7LBckG9n0GZ7uFxP6NHYTfq5UuskjTaGkJGAoN2-od69r8C4c2nh2DnW9mPo5gXiaGeJ9FANqa5Uz8TTDy-I"; e_proxy="AcJzuHdLoLREU8y-MPPyKSOdD54bJfcaw6y8D_3h43gnKqRH88z0ZnWBQYj3gvNXCErot2MM2PxnwrU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7760238787321816"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 18:58:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/29/2024 18:58:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/29/2024 18:58:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7760238787321816"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15339204, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANwURaSaAC_n5QFsRUiK97D', 'x-fb-trace-id': 'D41OmaAW7ds', 'x-fb-rev': '1012412840', 'x-fb-debug': 'Y05diDouWBZQoOPIGWKNxp9UczOXJjHwnaLix7Em8nlKnvEAK1+EaO499PLeGwl2/zIT2Lx5JfQW/zgHXYmwTg==', date: 'Fri, 29 Mar 2024 18:58:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJrEkSN8-CEB8MRwYS6eXpVhmGSalgUTe_QPMDiyPMpdQzTZ6slNX6Yqb2f2g"; e_clientaddr="AcK1Y9eMNaMecFjL8gy2PhltdPrC2dWaBJNfwiktpPo911cHr1U5JW93p_M8PKj3NvLmj465VhfShLPt1-fwwheD9ZuKsrD_Y7kWumP-wTiscp3m0g"; e_fb_vipport="AcLQWBzpOjyoSZf_-coTBmTxg4eqPeLmnX5ELOJmr8GKj69hNXgPOhZ9c5kP"; e_upip="AcK6HbW_JTfrV6iG1F1r8yMoxkJ3U4pSNkcaNSqA2sqpJ85lkwpCk5Yt7PQuT5erMjEqP3agssMjxJtLM5DzsCnVAFNWSG6R1A"; e_fb_requestsequencenumber="AcJ9jJNOXfJsLt1DkVO8Z7joOJryoX1ftvOpGM75D83tH21m53c4zGj1cBNV"; e_fb_hostheader="AcICstFKSl0l2uP3Fm81dtWgCsfvCZLjZG6WsntPVTNLCEQBpQ4t6BKKA_Xtzm_g_O1se9JFIEFfexdA"; e_fb_vipaddr="AcI08vYXJz1JUsOQ32rVT2la6_L1M44qMuM-QozoXcdja1Q4IVwUGDheQI1f_PMnsYEU1Zaher_J579VX4xfHofmtAZx-heHLw"; e_fb_requesthandler="AcKUfyf0GQWCKchyzA9mH5w4IHP2WqBTNdltuLvcxqPD1vzmyY7obOFCHfFAv5GLSsC3oh1LUEE"; e_fb_requesttime="AcJEZyYk_ePIj8h0O7v7F6ny9efbfucysBT4v5wVo-Bm5YHhBIevY7DTKbKZ-yaPdAd1EaI3vQ"; e_fb_builduser="AcJU4mk7IofDbikdk8-BHEPdSV0VVsJA_9U9C-Sgtn0nKkFaxopjkTtHzyG-1F7IhKI"; e_fb_httpversion="AcIM69M7bd7W3oGVob5hufEimNL_krG2o40rLP04yhMapJqc3nYmcXrisyJ-"; e_fb_binaryversion="AcJkslmYRVwQqpXhr3jMPJBSv60XezxaI3Vp8tQycG072AUFxWp4idO9YAoS-phwDb1dtZ0quTb8V5-hlS8DC41Ya3zApTxzxfs"; e_proxy="AcJqN83j4JcBIdyMxB0bYf-H-tDR5bscQmJeIuNTquL8gDvUYBi07YzpwdhZoJ3pC416HIGe6BR0mIoWNC23", http_request_error; e_fb_configversion="AcJ_imUi1rhHkgbBK4bTn4RlGIx75idzWUXXUYdDHjUQMbYbFwNhIzG8Lui7aw"; e_clientaddr="AcJF3iDLpIVq_xO5P-S8HRhwrbyOZ4oYBFAMAcoi5fa80uXXauBJaJ2uFzjW0RkGyYMGd22EIGqiqrjnYA"; e_fb_vipport="AcJ3M-crIYC8LeqXTBElRWhu-VOsvMKSmjHDFft-tRp0-fH8mQvxHYCBGLzo"; e_upip="AcJ1RLAoy-aPV6SRMG_cTG4SL59_HLQDuR7A43V0YCem0yFl-65Tkrkf5Bno3vbso2b0V-eXBazZa599NTP9yFCiyeInzjXbXg"; e_fb_requestsequencenumber="AcKTJRMejSYFF6qmdJDHdpWzctlMZ1myZy5uDGo6cs5kBBzgREkGF2LbyA"; e_fb_hostheader="AcKTIFrzv4nmvcTe9JL8xWfJTtzuu0tZzb3r59RrSoUf1T4IGiuPmnHMeCAKEs3H8O8ILMAB6GszFXsX"; e_fb_vipaddr="AcLXGFMMqbPFtp2pnmBqOag5PMqTTmPYbdKO38UQ0_6v8Q56QaYThY5GkQ_grtetfAPzxXPTGA"; e_fb_requesthandler="AcIKON-zHCIkaYuL6JJIg5TNbNCh6bnewEryIMuMHg_bufvMgY0F-iQvozL8tldKOECvO6o66TM"; e_fb_requesttime="AcLKsGMDX-k2Dnsl3UwqyD4UJ1mbkBoFPwDRa0X3Y5aV8YPikcvzpyexA--FDrKv0Tw9133c5g"; e_fb_builduser="AcIzjAmOOwiLFg5CkfLl0d3cAssKxi3Kd4nkxzhkrViBDt_gNpRH21RAyO1Xj2efyaw"; e_fb_httpversion="AcKzhuGLslzaOFlnEQYkDExEI0vTLcQmqEzX6VgLPVlc86vKu1nSBfPEibO1"; e_fb_binaryversion="AcJFA4HXdpWcZUy-9S4_kEJ649v4dNf1VQ0pCtnw6SEIWMA8abYsw1DCL958Ur-66nBVfv1FRQR0F1Gf8ibtpAGyROBerOfVxVE"; e_proxy="AcJsUGH-HVMqwqhitsKktTWlxT8rQ2PL557slpJiGNjs9A4Q0gcM_tfG54BSR3JRTfFWvleI3htLOOAB"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=187, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7760238787321816"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/29/2024 18:59:00: Error on send one message facebookId => 7760238787321816 03/29/2024 18:59:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AF880geHg2QnyohuBjftUg_" } } 03/29/2024 18:59:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 18:59:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 18:59:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/29/2024 19:03:25: Error on send one message facebookId => 7760238787321816 03/29/2024 19:03:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A_twfl_r6aLzzE4oARk3YeZ" } } 03/29/2024 19:03:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 19:03:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/29/2024 19:03:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/29/2024 21:47:02: Request bot not found: { id: '309967135747121' } 03/29/2024 22:53:43: Request bot not found: { id: '215725838493727' } 03/30/2024 00:14:09: Marker: 0 | ID: 66075951d56476556c908b50 | Error: cant_get_message 03/30/2024 00:22:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 00:23:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 01:22:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 01:23:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 01:24:16: Request bot not found: { id: '144313565649530' } 03/30/2024 01:24:27: Request bot not found: { id: '144313565649530' } 03/30/2024 04:40:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/30/2024 08:23:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 08:24:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 09:23:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 09:24:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 11:05:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 11:06:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 12:05:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 12:06:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/30/2024 13:03:20: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7575116182511338?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15543687, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7575116182511338?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7575116182511338?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7575116182511338?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7575116182511338?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOKkubbCeZ-U6T6fBNgNd7H', 'x-fb-trace-id': 'FYBuI0RhtRQ', 'x-fb-rev': '1012435321', 'x-fb-debug': 'YgwhYUj28/dXHhbB77Cma3PR1PooRZdc9alfOTFopNipWicop7t//cGfx30PTuPuQ6T+GyYSSGS3hFzmu8uc7A==', date: 'Sat, 30 Mar 2024 13:03:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ2yusdIvpB9IEFqBcW6LakFPhX4p2ql5uPxrbJhNLUsZ9O8skASSKD72KbDQ"; e_clientaddr="AcKFC2uXux88VSbKzjpDSIme-7pIcql925HYiLHiYMrA1TPEvp25dMFPjuQUkMl-R1aQDU21_9AMkJrwjx30eWUMQ-XSfXT4c5VkbQGPOBeRw3AQPw"; e_fb_vipport="AcIQxv4DpQnRFo6xGdzgcBDvbcAp_IrvqkJe3gecIl8PIAnfKam117GGmdq0"; e_upip="AcIo0XHbsxh_Eo7zBGwIJxh3mmx1jP1Lxo-9BX5JsDy46PL9fUUFFb9-Fwo5CU9YzCD7cE4fovRTkgeRTZ0-VozN4JMcNuLaDg"; e_fb_requestsequencenumber="AcKdQEjNtXLLE9YV1kKRyLs3OK3Li91v-bj-aYAUryv7zzgKTrTH3VGSuWA"; e_fb_hostheader="AcKNZkujNUF_2ttjLKOmvYEUI5_26VBuXnPWoNvx6mzqHpw5wULUdLDCcdseaz4vDwdJE8JLXSWXpXNp"; e_fb_vipaddr="AcJU4TrSb2_9g1waz1rUG0pl4UBLIAtU65ppGTABgWdYCQhSroUr8OxJr6EgqsUzoadJ-ozvS1tx2gtNAJHgekla7APVLeXb1g"; e_fb_requesthandler="AcIQRyPiIYpkSXlkknc7HRRddaLqtegv3VFkkLOVXd4zYxnSVpjELML0CRbXfFlz-Axs_WMsOxc"; e_fb_requesttime="AcKYCPABv2W0fnlwzA33eHmlfQPWeTlsUwM4oIyDR7BP-eX7vBo9Sp1BVxaCSei0qLh9-Wt8vg"; e_fb_builduser="AcJ8XsfxrK2khOXIf5qDoeud7_weyUEoKdavmh0Xt3tU6EsIYtvJstBSQquclqCzURk"; e_fb_httpversion="AcJHu6vJdPUjp4MRDdzvhWsJMjdrZ7E86YmaV2MCTHiliOfjVcNWbHvjg6T5"; e_fb_binaryversion="AcLz4_6tC2oJLNYb8QZ9xV87IiwIKuCwilklfDBzvb8rYhG_rnR_P1ViaRZhVzIbGw5sf9pmBkufJp3XKlJCnCtjOGyXq_PmrHE"; e_proxy="AcJmTOYtwiy_vwR3JBuzllrspkfxd1EA-1OB9zk9DXEFOe3JGAJiNec1oaeKhWotm35y8qvSNy5BjKjQAUiq", http_request_error; e_fb_configversion="AcJkgJhSE0Nbc8d1cX1JaGWhbBwX1pLFcWy74kYNS2IQZEK3iO6FQrWQkSu1PA"; e_clientaddr="AcKy0buAg6CqJKYhARX9GxFtHNbq9Hzh9svOCk1R_OLd1a-3POQ0N4HzuUl7_yM2XfnBmfz59-MyiABVgA"; e_fb_vipport="AcJ5FVD1hBjTTFlRZE1eI1YoRAjfjkzUlzNNgOBsRKtDbFSDmTREBl2ZiDQQ"; e_upip="AcKoIGLotpxRA8e-lE4-TadmIMvYWk3VKvm2HtRfv5NkyMUhWRNlfgBFsgcAB7NycvtGVMYzTQlnc3SEknr4oObz0FvDd4PJIQ"; e_fb_requestsequencenumber="AcKswppc7FotOcgIvCONrLkG2EUH13sxZSEadcfGiHvxpMwX8jSy5J9mhQ"; e_fb_hostheader="AcKxvrYFIs3bq4a81mMAlIWFwiDJ3HwghBlu47TWWZrFPuhXEc6ER2-pB_tsWa3s1Nj2WPXHyjbzJjuc"; e_fb_vipaddr="AcJqMQ9d43gH7KJCYnYB5u1URv6pdrQRNZnrngbwg6oAm-j9e9oYcpzWongosakMEvAGaLc"; e_fb_requesthandler="AcID0V65bSa3icyJT2mZRjXpxOXwRohXLU4Ieccilq0MIJu9XZa_S3t2fNBRPtFUENhaHGq9ymE"; e_fb_requesttime="AcL95lsGJpAvHJum911QnqaLmis5vcxu796alhbVTTwq1R4CxFz-5Onoj07B7VcQsfuCtEaveg"; e_fb_builduser="AcLncrUJCeKx2zxM2sBYJXA3maBe9sqtJ96DBfRZEfa772NBprg7yYiChnelHLxxaAI"; e_fb_httpversion="AcL3OqL57leDtf6VvHXTHLBsMzYG7Fsdi-ZIHd0_htdVgMsFg38tfIVXTPNU"; e_fb_binaryversion="AcLS5RPapWTU-u2RCxA4NX8V4gvsoIq3S141XweJa7k86J8l2kbKuQ7zVKBddY1U6VO8h3dBkD-WKOjtAwHyLWPk091L8JJZzIw"; e_proxy="AcJsEE7lL_ifRJhFNqra4FLDkKsBZKQ_ai2wdFX1i0ORSr6ieCPX80d5dMKr-L7pFBGgbpRrHVs3WNk"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=243, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7575116182511338?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7575116182511338?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7575116182511338?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/30/2024 13:03:20: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/30/2024 13:03:20: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/30/2024 13:03:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15543805, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Az_ZAuHGWjzTDlenS-GpQPO', 'x-fb-trace-id': 'BO5/xBpJJnF', 'x-fb-rev': '1012435661', 'x-fb-debug': 'gqWZ/IYVlw0nrWYTUWyNPNqWJUoiggFKCVw/57tC/naQ8m8huTXIKml1wAya+dnMBVqTue/60rKnfu3TeoKD+w==', date: 'Sat, 30 Mar 2024 13:03:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIsciTeo-OSUA97-rpM1-qZDKbna7sMiagwR-CLgdr_aHhQ4ECHoJzKOKcHUQ"; e_clientaddr="AcLMntgFjep8QCKeAdnWiJrNe1cPMH-Bhva2fUtwWvjht-xikS_lSwYjVGgtxYFkb23d5XSQBTHFj0Mdq6un-Fyh3r8OJvddnmcrUh8kosH_-Ya3_A"; e_fb_vipport="AcK_Ls8PIIqWUXzCLgQh4rsp0bOxQALNHVb7QHQukXky1UaV_aL_FUY42soR"; e_upip="AcKWXFdXmDZmcRy4UBplSw18rHp_PL3yanZg3fzcjk2rclML4KKzdcPm3ChoJzPeSwah3tylUo1joQLODUXltbaY8891ZFrzew"; e_fb_requestsequencenumber="AcJ1Dc3OcUL3XmTfpE1LqvDDWQ2BN5u3yxVybawHtX0FOfYcLibt-WYwy5S0cQ"; e_fb_hostheader="AcLE4ivyfpHVLbpne5agZCLOvCAXFxFCr3K6fd-6D9lDpXj7dwJpJS5mHTudr1nFGnpaflf6nkxfrm82"; e_fb_vipaddr="AcKcWrxqDsjNXkpOnF2aQN4gp65arlFI67BbwbJpcnij9xE7gPV72BpH2cVGM5dJrMHtrXAv16hspQQwXhKIpr5ZUTf7UQ6osw"; e_fb_requesthandler="AcIMJaCT7-pzjnhlS8mQFNaXFvJseL7KZO7-P7rsMa9z2RRls9rIgH46Lb2CwLsb_eBNOQzfgLc"; e_fb_requesttime="AcJL68bXi-NgNcIXE5Wp7vNZgkQt2LW6ns3lZeV8jeCqMKrwd21-HqK7bR6Es3PKgU6kducqTQ"; e_fb_builduser="AcKZrwv5CEWS9VdJunYy1bfvhzZ9msw8JrjIGxpf7fks5CF7DBvlgxQptsZUFFsW_Jg"; e_fb_httpversion="AcLjPKvIV43HaNfY26dk0Ey2FQ9sByBjw6OTUp1bz-wVm-wU-if2ileCzlV4"; e_fb_binaryversion="AcJrtiYFp2MLAX6tHqrTLFuO21bt5TFvuJW_dIeiD2EBlcK4v1rj0pBZe0Z5aFc36BsmdqtMsTLGosjb5b8ICfVSuxVeQYj3Vr4"; e_proxy="AcJ0k6ytnoCgUgZ40nSQq5degKLkl6goai5w2mPdXJzvPwEwfY-ja1Y2lpYEWsuvIjtfvBWytXTPeYJCOVmG", http_request_error; e_fb_configversion="AcIGK9Un6_07ZdJNxmqU8pT_4dD-Ap_hFs3vSJYzX5PG97O71Fsk5qWi8uohpw"; e_clientaddr="AcLiMCTsJ0KgLPDLrcXiFA2zlOeWYjPdkTkz7PfOodImSs0E84OkjVWIlRbp1LKD2OTZCHtE-qRZ4ft6MQ"; e_fb_vipport="AcLob22Uq-hc4ZHgdEghWuCiiN7J7PuoerYxuwfuVNUk-8olv2YNouoa_HI8"; e_upip="AcJ4VcymxVMIS3lJeinOtfBAKWKXpLHHYZw_zQbKGZs4_W9_EtM0z1mLuPAQlBq6ubfUdnTCGPLpcNofbEac0iDsEcvmbppdnw"; e_fb_requestsequencenumber="AcKd8N09SUyLYX1z4yR2clcR1NpP4TvFH7qHwqcLfHZ4qSqkIWmDhxQkMA"; e_fb_hostheader="AcKccRjcnjuTChjGasucKLhUcPoPMwYYs9FwyBWUUdUBuqdAMMXyokIXyaV-k1auViKL3_cDxPfyMN-1"; e_fb_vipaddr="AcLACod0GyhWFANgo96_umq8IqrsTgKTnpRDy4356zk3iOIovws2xnUh02tSDucaiGEFfug"; e_fb_requesthandler="AcLLFya9EUBiIDA-hJmcZdmxa03T3et2lmf4xuv0jwRVWkM2VliGvDLpa9IyPcmQhJ2J-xsjyUM"; e_fb_requesttime="AcI4T_ssx73YqYUmwtCfFZZnDDJdZIofc7AZuv-KTQbu5qz1FBz32y1Kg4xSHHpQ4A5rQtwzIg"; e_fb_builduser="AcIl1mIJr7XWzXIz--oQVYv-B4LRX9bxv0Jv2slL4LTR_d5Rm__5gDm7EJU3CJvmLkA"; e_fb_httpversion="AcLB9en9_ErnHtNy4t4tttc12-zFSqWjqPQVz11VCDXPo6Q7o8spzInCMOrg"; e_fb_binaryversion="AcLvE53XvcIo4koGjH61daTIgemwE2os2jJK9mL34Zc9UL9_bRIqm87x7QyOVuDx_npG9IOoahuu43N3zCkkCu7GXtwxhApNMT4"; e_proxy="AcJ52_A1eDKcSSoQfAFuJC94kJJwY6kERRgkZ2p6gaW2dGXkJR4qMayK35a6meejvovi4m_POu8mHjnR"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=224, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/30/2024 13:03:22: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/30/2024 13:03:22: Error on send one message facebookId => 7575116182511338 03/30/2024 13:03:22: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AtZNq_kFzwQI4ASXdXxeHut" } } 03/30/2024 13:03:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/30/2024 13:03:25: Error on send one message facebookId => 7575116182511338 03/30/2024 13:03:25: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Axzzl-bT2eD-ZHliyJpJMvl" } } 03/30/2024 13:03:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15543882, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AC4bw8os6Xr_nr80RqUU0Ac', 'x-fb-trace-id': 'EJcuWtwS5Az', 'x-fb-rev': '1012435321', 'x-fb-debug': 'kemjwsOydoHepe3WR90Oj+reW0nQjaszorDXtN2NEXukZ0Y94lIN6ePtBdFkc9TaAMamkqg+hb5qJLO8bMPxxQ==', date: 'Sat, 30 Mar 2024 13:03:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKW4KhPCzaehbfIWbSHPEKm9TaIISMSceqbbxYpF2pXvrBAoc4xP8W0Ya_TbQ"; e_clientaddr="AcI9-xJBz_ml84O3oCmL3yFnxzRjbuP3DL-WaSNDJttQbEt0mEPOAxn_wC6hmmsl2VdAyKijolL4G38zmceWqpSYRzo-6IIHpiZ2o5GZ41kvdM0vYw"; e_fb_vipport="AcKRAHz58VNE12JClZVJH-uFfS590awZF_1RUWFd-DTTA-XLIiYVFrO5WGk2"; e_upip="AcKxyAQwfWipBhACCbRvSKLuoO_aMvbNmCMA3y7WImEEU-KTTMpIgP-jDOfjiPOb2rFz7guA4Irw8mvoG688QlaFcAG_Eg4uxw"; e_fb_requestsequencenumber="AcK51y1E4DQ5mIDI8ZPqe5F7YRgLBoNkNDWwAW1lV2qEnZatKVZCkY5TWGAXnA"; e_fb_hostheader="AcILfxcAiZyQ2SHin2hn_7yhrAmtB1nXZP8pP0nzu6Q4fQckXwC9wXqce0ucN5DlcD4UqiYWMlm5DFWq"; e_fb_vipaddr="AcK5xEhhSzo_iAJkld66MBbnJFifgicB7qu16jov7RD3kp6gpioLuhY0c4QCoD0kIHLwTbbJWzR5DyVA0Jo6BxyMFaOSpwDmiA"; e_fb_requesthandler="AcJDVFct4Ts4MGrNQ28YdkKJEb0BBnwgev6WbCnzdMS4mBQVHODh5jO8OWEktZFXKCM5mB0zVTo"; e_fb_requesttime="AcLl37KvlUSNdZjT3WY00SyQZpBC-gq4F13Qn6V61G6ymA0k_S1-sEgs8SYXElD3OB7hs6qlcw"; e_fb_builduser="AcJhxM-r0p-le4s3lAm4AvrvoGmB4XIMaHiEF3_9QJbaxF-a_wqol_EsEPM6_f-i-4Y"; e_fb_httpversion="AcIVGUYU7U0RkHSMZ2mXNSHOWFYq2mHM_bryx--yLE_KiU4PlKtn9TaBH8s4"; e_fb_binaryversion="AcL1y0HVvAA7NoyKTO5Ztur-zAsV3vg98zRFBjteyP21OBbsQszinwMuL5Zt74egSugrretcx15msuRWhXLu0Dq27Voqj4wpCCw"; e_proxy="AcK55pmYSBHPdcE09OW7D25vqss5g_GZ3qH5tFLtMyjwfmmnZ982lveJVEmJ_28hmp0PV-hLL-bWAHlnqH0A", http_request_error; e_fb_configversion="AcKPKSOOrB2ENHCnYRVF8UqT48EJdEfQcPNEqgMEOahCe0i37dVhpsuoV89rcQ"; e_clientaddr="AcJAr_vlsG_ARs5VljxJNpv6_tihtkCbmu4sC6PZyknz1rMApJWhiNdKWkxw7djhTdqTegX6rapfPTGL2Q"; e_fb_vipport="AcIkFedXgvKoHtUbs0BqeH91F6qUiYh7QrOe27bPJLGa1Kqqz1caL6fTNm-I"; e_upip="AcLtn7r7eiu0_jfzwAcee540Ti8RO3Z2ppg21567at9GUi-_rGC365t2UvNr25bFTq3j69qMN6RXIvbfShl8OLgBI6sFyHplUg"; e_fb_requestsequencenumber="AcIv28oDKyrrAdtHL9qCQn7emLq73NdY9zk_5OcJCazI1Els_uwmQXuQFw"; e_fb_hostheader="AcKFeF0HNz6mizDdo1JCaJP82HlcbJ8dzJ85kxZ0CaGuB2wKmBOPYwa7w6SS1dwAPHKSTwkT4n3cjf8y"; e_fb_vipaddr="AcKaL_jhChT-34JkZ4qLibZsE_FliPmhIKgFxfHA2Pk2z9tiGvS4xznvBKT3Cu42JrWyhKA"; e_fb_requesthandler="AcKC9BD9bKhxC5dfxNmu6oQdTParBbAxE3_IVZTz-arN5OSx6qcFnmDN5jtz-YisvfPXQ53iozE"; e_fb_requesttime="AcLVISHHH427iXl3GZugZJiIGjbjsYWgZx5rlt9JE01y91PCQH3-ThTCYVO0Ea-0Ng2owx_Low"; e_fb_builduser="AcLA_7x_UrSKB7u9v8PsGhlX6Ts4cJc0MtPblBIn9UynStONEJnKqiMgHDYBFe2L6kY"; e_fb_httpversion="AcLSNtUOJrV9q23yaaKa4Y_GSuKzcUB0omxjj3fIDUGyQegv8uyUOvfR7w7f"; e_fb_binaryversion="AcJgYEmQhH6Z0qSm1r59rfZD0qoyBp9f_6n3My_j3DFKE773PMAXWYYvo5GE6oggCb41O0TvjHygsjkoVLeRo97RfUClEQ4aY68"; e_proxy="AcKBBRbnlfR1YXvkaCMwt_1iZzDg9ZC1Va7FfE96UArCxbrwFyldo8-pkqCKSV-ghwX9eTHuQGj15oQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=221, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/30/2024 13:03:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/30/2024 13:03:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/30/2024 13:03:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15544025, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWIwSHe_haO65dXofkLvc6W', 'x-fb-trace-id': 'AfA8xELeXk7', 'x-fb-rev': '1012435321', 'x-fb-debug': 'b04a00TVs2j4X8oEAnkPn1UIquECGl8vW9divE1sicbKUaE9F9zOdv90jv5R4Gwrn8N2WVMoZ9K9eDA/KaL0IA==', date: 'Sat, 30 Mar 2024 13:03:32 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK5Nj8zV9Vm78dfsLwfEH_Y_29r3S6tHCCPlv1sSMbg1dbfvFEw6jZR4IQzzg"; e_clientaddr="AcIIrJDCyMoejkTnczylKgyduIR-LUwE9ugE_6dgOLal2l6owlIhVHYI1Aw-l7toHAXHNms9DsG9gfYucVVoUDkN6oWEykhrCE3y7mAGsxRV_x5S6Q"; e_fb_vipport="AcKemAeZ7BpXZV6TxEWKArdrW02s2Bh-mHPbyQJn1JkwupxIi3LqqivamJKZ"; e_upip="AcKD8KdTTfiVivuMfxcwIbkGifXPrgfqy165cn6fjb97I4zefbez82JgGgsM0Pctu-BhpEPn8AGkW3solnK8p1J6n4VUdqC2jQ"; e_fb_requestsequencenumber="AcJwbckkQ3xOZx83D3ly0oCGqLQByjQjDJJ14wwxjCRfzi_V3h1Tt-AkSJxx"; e_fb_hostheader="AcKaEPmGtvPC5KT50QvfibNh4GW3yIex20PnZ5PCkdKFEIaM_rBFuAlwVqPq-PSSHI1_Ymn4KyWDsy1y"; e_fb_vipaddr="AcIMSK6zUEUPukl14BiiW6oRv_NWQkmhKwpWzEYyNXRO0jUBPnqzEZJXB12-m15d5D41xUCEBP9qszWQhGXC1cD21tq9m-T7iw"; e_fb_requesthandler="AcJ1ZlRx_MRl1QxaR3L1iDJncXxK9EWxj-7Q_nvfcjgI3RUao-nrax5vdAjLEs6jg4K8huKEthg"; e_fb_requesttime="AcI2OVsXEoly8EQ-dL4hAVhxpP2L-FgEhIFgSPIu6oUBiHNAH3D_6ljryWpoRbvGyYx3Rx36xA"; e_fb_builduser="AcIOhHjxbbB03czRh4FOaNDjvgRhvY0NoXeIl5O13dH8vE7NDmuFxfAtai_QEz0fJKE"; e_fb_httpversion="AcIRGiAOKNZVhDcAJSO2W-5FkQpN7TU8mkrKOAI3L7b1tXL8jQqTvY_nW_Ef"; e_fb_binaryversion="AcK9YSQOHL1MixQcClw12_Q-3kYMQ_ZOqbYQrBMZ1qaKE3VQQ9s3PQbGqwVQJ_QrIJ7t-3LGClxD3mK6o9O-c5wLmFuS8uim5ys"; e_proxy="AcIUU7KTzIIz5KkKjoKpQnb8oIW5X2upG04EglHzCSFqvyp1Poj3m6633_YF76Lire37YEiSB0_X-5AbeGw", http_request_error; e_fb_configversion="AcLSsOKN9mQV6amlM59M_lwiiWxYrskiQPKcQFHGafgWczQ_WCzXPtb-f8d3uw"; e_clientaddr="AcKQNIFZbpxfhrVGcgfG4yCsbogaTeRNXC4zKypUJ1BSzwTtrwrHydPLmGoflvLxXOcTO-DQONweRiB2kw"; e_fb_vipport="AcKCQR3J20_xQCb3eJvtGZCwK0kSz4_QzECaHS3APHwiP1aVrCD4XOG6DlsY"; e_upip="AcKEirnJ04jqygurPPvH3_jgsSLwpVne_uIV0vJBbVkp1vZ0PZXrnL54aNKqN6TC8mxFrxUMz62IhvyftCyPgY4VkijzzNoS4w"; e_fb_requestsequencenumber="AcJJHMO9KNNeHhKdde6H5FHCBeXsZWDWn-wACJD9f0TrBr5UyFr4qqxQiA"; e_fb_hostheader="AcLESOrM9cxhvld5qKQjLeuDRd4zfKVVhbnZNo4PLwL2SvcOAh7lhgQlN5BPkUZ9UTfz7rjGr9cArdyG"; e_fb_vipaddr="AcLkTFpML21BBa5qBCfzv0qD5UoxHkGqct0l9PrA0z87v6SFQpjlzvZapEA2xKx5zrChtoA"; e_fb_requesthandler="AcIJChwuewe_WQc3tmLxxde659hU7y0Bqx7fhkwh_8v7If75mCfOWC0x0eqrNWM-EiK9OF7b-7w"; e_fb_requesttime="AcIzaYw2RCgCqSF0k2o8oFdh-5NI2g_SyxMMm5vbSnV8s0WEdymCj3rgutP09fkgwHV50cYpmQ"; e_fb_builduser="AcIToTHI1_iwmKcMkokhTw-Pj4jm21xfgWSU-Nkt51oOSogqZHJ-yNK0HzaI0TvLm6A"; e_fb_httpversion="AcKWnxZg2zsrE1srTeOshKi_YHPPDQRcF1Dw2Ky9YeA23X0xQCQqzX7BJU-h"; e_fb_binaryversion="AcKO71jzKQD_8tfCW_jCVGB7nnBMizb0pQGQXGVN5auACVGGob9B1gl38mb7ujhwbQxtpXWG4r-1htH-ZAtaazD6ljRDbWvzOY0"; e_proxy="AcKdd7tNn-4FlXSEtnbvTc7W6RSsEnGEsXGTfv3mApuznJ7eEZvqoc8p5g3IIUQHoSx_TaIhjF4a2lE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=219, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/30/2024 13:05:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/30/2024 13:05:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15544598, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKKoD664uW7kGNU7n7gs4U7', 'x-fb-trace-id': 'D/cx7k1XahN', 'x-fb-rev': '1012435321', 'x-fb-debug': 'K2iG8yw/JNDxsXkc+zsJVBl4l82kYzqJDWJD32/hojGqE7KQz2NdsoWwt35IBilCj84KpEpZQhZmYcSH2Nb9BA==', date: 'Sat, 30 Mar 2024 13:05:59 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI7A7fFbVKp4JjwIiWZxMZV--lkD456sNLno8FNMGhPN9TvZT5c1tKFB0Qqsg"; e_clientaddr="AcKvZKCT1GjJerIQHlKbxMAy8Tmd3Q9E5qlPbrUEx7MffJbJ_8q0KHMmpQLnkVRGzdGlhtfkZR_1wiIdd-0qoB70DKaFcrFUrEv3uQltvnFD4XkU9Q"; e_fb_vipport="AcJVeu8T0AxbHKib71vahwJchG3KxkjI9KwT2Ch7oDDCW4UgqK2n2TbwkAqL"; e_upip="AcJPbnGtDVIe7lY9HS6WovfP7rG5H7rqrIa895rfil-jzwb_wuIO4LFB-ftQFJZ9P6vuUJmbWnHWiGlLl07ix_xIqI6DsNNP_rk"; e_fb_requestsequencenumber="AcKhlSZgsh5iDuAJ-EL7s0C-DGn_Qmua-SYm_QSgy1NRxee1me3q13m3RI0Xcw"; e_fb_hostheader="AcLuyHJiDMT6N5akq3lkq9jmZrjHepKJAp7_LnD4Lhbstn1W-EdKGI-1nnPW_P0CVUXODPKw9y8o27qD"; e_fb_vipaddr="AcKeWoiTKGqTlKd2VE-iigVnhh7qcPyZqbZAafzWR-jLOYfRDvb8Bucdp1S2fccVwGRIL6ixWf1EyReAbM1HI97j7MtEmLZwbA"; e_fb_requesthandler="AcJVzlMsqsl6qOl1Q8Lg9rNEdq2Yfo9M9d_a7PA7HJ5lN8czLJhOCDcmVHnLeyiYEqGGi937fvw"; e_fb_requesttime="AcKj067QVeomhOtcTtMTOx4bp0w-Qvcd-YyImcF_5R3uRC31EVnHoc0gGNEWt9pB_rgV2jucgw"; e_fb_builduser="AcJKLebvwYDUxzqkQU3RMxRLWqaMNY5FNFMzYKyrx7cgm2vKfoLDNi4FgyZlgrnGTnQ"; e_fb_httpversion="AcK8su2AaOdjiBeM0xvBBvrJgQhXMkT_xNC-J0D-yEWKwGogcwoq-hqV9WnP"; e_fb_binaryversion="AcJ8Dqwxiwum2qVgaerVLQCmgyJJdv2zKSsqeBzXRiejUtQBIpbrUvkPGfP_ZBOdIdiyv-uW1i8HSogRsBlLAtMXzF_i0PoYCH0"; e_proxy="AcK2oBKdL3h17wZnWXaeblfSly20pekGuVxSBYaoCcXf-f_t1FsyvT0leGWh1pjtiZTxBKruGO4czX5rECjF", http_request_error; e_fb_configversion="AcLsAiLVdJ2fgLlOqxpVX1CJWg76wp48Yv_xPTovWHihy5z_YjUxrZGyOLKJsuK82SJn_DDlHRVWJZFMOXafbFpNjzLHgA8xmfE"; e_clientaddr="AcLuw3EZn0GYhlHFtaF318k4cm7dVAVmePB2BBO-COmXxaPoY9oPrhfRroXMJ_dFkuYhQ4tFLsAiAT_E1A"; e_fb_vipport="AcKfrQA4cShqi1pwjjJd84FcD7Sb9bHH1QBOV1SG2FNrhdJZvGIKbHLDwpZ_"; e_upip="AcKBcu88-vu3FPcvDm0lTb5MSnZpgurdw9EjCjq-mUIUZ4NpZJCSypzho-EnXzdQxVyvrWBJwf3OdqzMQPZiYZdbQdG5as6nhg"; e_fb_requestsequencenumber="AcJ3zJhdPY4JLgvcfRrHnuH3o8ke07QoMefJodHV1M1tpDw5KLx6FCxk_w"; e_fb_hostheader="AcLBmP1vxoYc8SnmpK3Dg4AXsgC2KYnZ3DVCGcO26MUCOz3xn4p3SmPWHQDK7UiEBXClYFzHxBfJORiY"; e_fb_vipaddr="AcKDSnvG8OHRVNAHUEJC_329i_G2CYgBysvU8FspxTG7tQshZ8Hhp7zfu5jya6MfadQ8xJY"; e_fb_requesthandler="AcIczbyPQsmOGvTy4gQf5-EZ-okUaiQcO5ZkQBRF4jATWfRxyWMpyQEHq5wWnD7hgxy7BG4490Y"; e_fb_requesttime="AcJa2YBcYs8jJ4uXz0wIe-R0htB6zFxK3Pp0UXWlUTQ2sWKgrNdBNpU1INfFe5Zz480ekoOsCg"; e_fb_builduser="AcL16RtlvxU8W2Hgh72lu_qos8KcrdxoEervMJiOLDnF5fYxTEZbvfCEebaPKI8PJ1g"; e_fb_httpversion="AcJukRifJ2_QzdBs6ltlLyJ2G3A5nApcjqAcmps-wrzAHGF7redSsXqoZowm"; e_fb_binaryversion="AcIeZSIWtqwG-PClF2gcKqgtgE6Qeuhfd0A0dOIXrRqgoCs95x2yRx5vElJaW0lop5embWIOeufYedDHgHMr7Y7hTSjLuvy9elo"; e_proxy="AcKoYu6lr80b3p99HbAgbGfQ3pzCSJ3Gpe99QD6537OgqzYL5zsJh28QJEIlsK0qR6n8mvmL2bCiqNI"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=225, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/30/2024 13:05:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/30/2024 13:05:54: Error on send one message facebookId => 7575116182511338 03/30/2024 13:05:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AUvwiMqJ19DjPbqEWyBug_U" } } 03/30/2024 13:05:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/30/2024 13:05:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15544731, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiVDwsXIlXyVCtQ4j_QOtDO', 'x-fb-trace-id': 'CJbrWOyoZvU', 'x-fb-rev': '1012435321', 'x-fb-debug': 'DuFTjlH93yYzs+UrOHlwCEf5JU8tXi0sJ31j2hTFrKUPKln3SgbUp/I2UeY8m7LEL5btcGY/D/C2Tl789Lpc3A==', date: 'Sat, 30 Mar 2024 13:06:01 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIwVzJMLulRGePGqjl8F7RNrZkhJghdtJXmnl6U_5gZCtYUgPM3xX9rNG61fQ"; e_clientaddr="AcLlkdOHmLrp8qM3fqmmZYFpyH9eSv1k37cQ_LQxKKXqTUiigMjyxdcuOi0KTThdMckDOSHp9qHjob_rWSwzO1Yf78tqUYPYg4-Uh8Qwm_Xn7rL8vg"; e_fb_vipport="AcJiuqi6JDMMoIGGg01CqxiMxADSHu8EHMCW4IdqmsQGA06ves66nnWBHUbW"; e_upip="AcJfRfQef2AuVkC0QXQE3cXFDHf9CnSHvyvqwukhB4b-MfhGIIcsH8_wS_3455aOATxcUbZuiD4ps5E77qBF0ya1SIpNQB3dUw"; e_fb_requestsequencenumber="AcIXfyfdhPCFXTbMow-StgF0sGeWoWKeVj2OmEh1gq2BzvtKbUK-q8HTCeuZyg"; e_fb_hostheader="AcJGwdyaXImvrb2IweJ8583R7nhHjMgAi6aZWXhqpD9Z0d_uM0oG0Qyn7m4I9ddw6AXJO_BrXRgNh_Xf"; e_fb_vipaddr="AcJDHxQznr_W7_9xz9SpvR2c_xGvRyoNthvR26ec6SAGdLA3DUqjClyzTARm-QhyKJZ0PeoZH7jqsp8cCAqv16AdMcuD0dBLYA"; e_fb_requesthandler="AcIuBjbOvKYinFBN2W7TNYwYzHihNYK5NK29XRk_e-Alqbv5S4uVNnVhhyUe2reKFrsp6N1LWQM"; e_fb_requesttime="AcIhB8-Ww34wqPl5Nw-WRQKOAQ6YcEFBqd3ZjiSlGqJGw865Tx02m8FS2OLNAZBAqenl3Q4WcA"; e_fb_builduser="AcJ9tbAXzdIPE7l992C1l4p7szMpsbZvc7oyjqE0Xynuly57sjcmZN4NUc1w3eObRhw"; e_fb_httpversion="AcJ1w1j1kUr4W9MFcfyWuUb90gm26d0kXVk_gs_m0dUJWQNjhOgdAE7MYK5h"; e_fb_binaryversion="AcIcvhIA73LIKcd3_uG1Y-fkFNVIfZk8ij3StxhPRRCDDBjAIPHLyW0vwaBnjOOBpO_EB_GSXZckIc6-m6QBzOOTmx5g3mVk2qI"; e_proxy="AcJszYvon3doExVOwlRzQ56gmD7jTcVlIFQmwWxb9IFv6xL0UBxoDQrIpM3C0oTF6j66cobe7IuCrtLK8jJH", http_request_error; e_fb_configversion="AcLt3l8s_cE_Xu1_HRAEa4q3VASnu50IdSyxYCIa1qaxynRDCbdo4nZQwKXIkw"; e_clientaddr="AcKC7aVvbweefk5LPYoxkOWlszWBC1uLM7PEWTikFeAqVJ4j2k-RCRf3xyALHVygMW1zTj56KYPyvKm9Ig"; e_fb_vipport="AcKs8OAOUZS-P9Ai1GlqtsNbseuvs8OErcxLT3ptDaOUyyRowiTEfsicrLS-"; e_upip="AcIaiQJegp_TKyvGUdLE3neqdZFg-2bvlHWnhB1h489n4d5n0PG7pX4-qJIW9hGSW9yRO5atgLmFkkAIOydFEMhsqszWcuqlxg"; e_fb_requestsequencenumber="AcJFJf4zV6t0rDRenGAeFl9bKWPl4ERNnAAU3xcZYgC3_GGaj56u8lrHJg"; e_fb_hostheader="AcJIykLhSOc1YnjlrU8Yy4eYyS_DsC8nBEwbQZ315FHEPuq0qQKoN_SXeQzsCL0IMy5wm493sdpBk8hK"; e_fb_vipaddr="AcLG8x3kc6Fo4B12dMSwcYJI4qPg1au-XnGwYB9mQdRDErGuuElrUhQ1tiNnM3UGqcqocIE"; e_fb_requesthandler="AcI0F_bRgz8kVSMahOxS6ki3pyZ6b29ZzeZDya7X4qXN5TRsuelwnUrb0LUTDWwLFNBumu3QKkY"; e_fb_requesttime="AcKu9eCa_kIxeqYQVlfABAvP2rrM9-Uh81K3kA7uT9eqrCPD1KouU3CROPAl-4UvgNZj41rbAQ"; e_fb_builduser="AcKXWNkzUtdTLfPU89PcW3ptdJIXQTDw93UgEXsPM_4Q-135reD5kqEkPCHaepo4pvg"; e_fb_httpversion="AcLebtSvArdHKGRDBFrgO4pTURvbeWt1joDWFSZA9p8VKbG06m4FMAwuY74g"; e_fb_binaryversion="AcIGmTBJYJ3CXaM06ApAwVHZ4PnA0KqBDKZz5XzMqZMXpCfr23qZ-HhdFzd0KqBN6IZXG4KidQpa0xn81Gb2Os5IWjOoo22qdFo"; e_proxy="AcKlX-zzSzxjxKws2oqV6KT-CXlwhFPp0OEm6eLuYfV-jE52fIoQPAMPU5sPMV90bCFEO2agMEHt-4s"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=220, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7575116182511338"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/30/2024 23:50:58: Error on send one message facebookId => 5712742605502611 03/30/2024 23:50:58: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A26XCdukJo__DbMQs6TvBxh" } } 03/30/2024 23:50:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/31/2024 01:44:17: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25320077707607431?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15673180, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25320077707607431?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25320077707607431?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25320077707607431?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25320077707607431?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6al5hgC1ts649Z2LY2mvKh', 'x-fb-trace-id': 'A1/tU7Jm6Fr', 'x-fb-rev': '1012438991', 'x-fb-debug': 'inUeydjFG76SoAS2ezsaCxrzNClRSFJtnF4UCoVS3eXGd0TOy5qN6UlUMevLvUTXXYK3t/A8jLllK8HJLcdU3g==', date: 'Sun, 31 Mar 2024 01:44:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJmuh8e4_T_DBOjAZCMd5grgX0UxDFKDQK6dXirMd3gSgLPh3NEP7m_X5m1Bg"; e_clientaddr="AcI6zXHRtfsI0dkFoSYW0oASdoPQ9qKYCXEQrwlFHPBAyV0aTrVlCAZOED_3JXyhC8QtSiqKuACWL4Lk8htsWjeVaLnGoIZZpJse_LNKpCv0TvWAEQ"; e_fb_vipport="AcLvI2obWBPswAPArXoKrIAbtDmuj4Jtk5GEpyw22IIJetPbENki1QdQlNZJ"; e_upip="AcItMYd2R1cYu4hDBIldX4c2LHjIFM5ONczbSh6z3l5MI9svySvNlW03a01lKwpo_sMqSb_FuoZXLG9o53_hbjiP-aB2D_PQSW8"; e_fb_requestsequencenumber="AcKWvpgPJASIhCI0oKp042OrK1Xa4AdeKINf-OAIwneF6V18TN01qtq58TDDTA"; e_fb_hostheader="AcKmM5n31A8-8BYPMVotkE9f9ShnPNBxHq2VvzlvIxrLK0jNwCVZgU8ppHuhr6qEI_KJxmfbuQUKh73s"; e_fb_vipaddr="AcKwz1jk_-BwiOjZhNm6-y90O53tOKK4GK7EzU_wDdHLCDDK9aQ3keJviG2qGKablRH4t1_rC59dgStq7agnO7Jzu8IFeoEvpw"; e_fb_requesthandler="AcJVMoV0F2qKypTuhREUtUAQ99gFFv_qAlDXJJa_NVkypL2w7V7CfadRwLB1hHlxWG2zewEny_U"; e_fb_requesttime="AcJKn_s02d6cYMandSfq8Noo2txB6lqEB0D5-LNKkJwbC65tjjc3VtFvrjFmhUuh0Fyae5kK6Q"; e_fb_builduser="AcJhYxgPRG0aSiXWj3_WSULxw8HhIB_ZFy1yPFvsJWhi41idbHUYmpA68Y3qys_fhuw"; e_fb_httpversion="AcKahfLwlVaWkZTQHubj-ttl3XEegadm9wEivZcrTCGO8nznAOCJLXVe0WJR"; e_fb_binaryversion="AcLLd6ABu_aPJ9GMpr_FcXSWy5BgbyhqbaAIB90nUdKWEM6BEJikfy3BOl3xTDzchAhHHhIFB1jh_iGIjX-G3BG3rzZzuwEt3oA"; e_proxy="AcKHKTYee_HjE4iNsP74o-PhkwIlmhy2Safp6FwQjS3TIdHJq0LIah2iQf6mDo4m3ToL0KXAuVvb7acUz1ZP", http_request_error; e_fb_configversion="AcKFhlNKmFTS_fE6Z6RanA8NiuAxF0XAxqfPgryT1Vr4Lc5-FEjeaF8e-Lk9OQ"; e_clientaddr="AcJAI-a62UhmLhfO19pSk7PSFaBP3rV4dp9118NAPhQH4ykPgO0Yw0dLo29kERsbHu8Rj1tj9eBTdpogiA"; e_fb_vipport="AcJIjOHK6RBQNyH4RPhAADbEUz70ipplhcZbRBEZSzclnymOL2MJ6EPH1bWa"; e_upip="AcIR_XDkeOPbGGkZC1qpUdmj8A-ay1INeNafj7bEsnnIvMBQ6BUoWSYCVV6-efQx1Jx3ECRRoJFJIsm7etQF0bBvUJDr64fUIw"; e_fb_requestsequencenumber="AcLVqrJT9tcH4k4oik4lfyOexwxkQ-f7QNwUycQFhOp0jPXgH9HOeyZzXA"; e_fb_hostheader="AcJSG20c-b8c-K1Cd_gBerdEm7ZrSt0MfbHffSkrb24KNJ9VSsaGI4tA8ZBV6mDPzPrWh4vsG4FlB5Zo"; e_fb_vipaddr="AcKZa7JH2WWswtODiX4UerxIasIvFiM4HYrgUX67veXmdbr2iItGeNdK1wxqCtsD-aBVKCw"; e_fb_requesthandler="AcIIXdV2gKZIe1qgsnphg7YKCb1CjhppLTuZg9CRx3-QMeFOaw7pWcYkXbC-6kwzfTFI9rlCz0s"; e_fb_requesttime="AcJIsXoi6KSffMdV6eWoko50cR_62BI6piIhZoNC5GTCVog9q6jqrX-_JHm5CjBlecxMwpha_g"; e_fb_builduser="AcKaYfNc9wOEf5aZ_Fc1tnGi182xEXF_Sw2NajqFVoRYwn2meAbTHfyK0ATI1-ef97o"; e_fb_httpversion="AcKYucMSaJdo6j-sSBwu_RMDLh0YEIrtv_hO0GrBQ5uWlXScpZLA1VyrhBsM"; e_fb_binaryversion="AcKoiQsi5MzLvpxktIYrTZfAQLAZB-eJIoPNZR9rLXDln68P6LAKwNM21Sa7ZbLaxSGOBGiaoKWOPFeH97EpaaiPf1Wav27KzS8"; e_proxy="AcLq48sFYub0esi8BSYnplxLUh8CGgkVEXKEtHThlUkVsUNAswsb2x9hnhbmuzSQAgfQjVnA2ZpS09U"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=369, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25320077707607431?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25320077707607431?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25320077707607431?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 01:44:17: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/31/2024 01:44:17: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/31/2024 01:44:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25320077707607431"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15673298, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnBbL1O8871qBFkpdabceux', 'x-fb-trace-id': 'GNxuR1pQiMg', 'x-fb-rev': '1012438991', 'x-fb-debug': 'ufvqMaOdlTxPW3h+iUUOIW5c3d0BqRJHocl2ki4/CtyNA6XTRO3xmnX4o1e2qBCoICprdEqBHZ89rU70/yW06A==', date: 'Sun, 31 Mar 2024 01:44:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIO-cHV_eCoxeKM_fr_BsTw5USLPGv8OEPa72Wq0uaqqCVOXicyChNGNsMtsw"; e_clientaddr="AcLD624mEHPB0ldvCjFrDRrNz0fQvKstZtYvLJw6H_pUzUL8QzRelhpTb9urwr1R5or6Wgk2naxwSvNz7NEFrgYxLRw9LK1h4Fl3GZmIhw-syZQkUQ"; e_fb_vipport="AcIZbsLnqW1Rn5eY24ahaPIrNAtnBW4OxBCWAgJY_QYSKX9PbyFToZdLrxdy"; e_upip="AcIj_kSt9PgIplDhWapHhmiDE4V9O6ACAGzK6pg7fparLJS1G-Im4R0MqgrDpO4TsC8vd7YZ2pqTmLjmVe1O61P5x5Xbs22G_A"; e_fb_requestsequencenumber="AcJM-CY61vTX90R2C3vvLWt1SVIHcoUL0yrH8f77holZ9tWBgYe0IN64O35B"; e_fb_hostheader="AcIQL9tsMRlcjLaKFeCS4f92iXl0WhZPUFNfxEcDxUDyEmO1s5YZXU8iCd_vTFJ5YAwHv-qtmX-y6aAS"; e_fb_vipaddr="AcJYHwVUR2HYSjafILJ25sFM17noaY4ZFz4BQP_v7NofgyPERyb-oGhllk_g9ttPvtdyXcDg9p0Q02xZDSizXx9GELXg-rEysg"; e_fb_requesthandler="AcLMnFEhAwqt84fJSIVD37VtP2Y02_NgQermzgYtFJ0kIdsUxw5g864wBZZv3-RAuKL_6s_7DJA"; e_fb_requesttime="AcJ9outQ24XX9S8xpePJqkUBle-_dtMC-ajliXNP8sQNW5IBJ5Ew99teve_XI095fEwDn8gUrA"; e_fb_builduser="AcLHBMORb4ggr-NdvryBK0VcfuvWzzc9NcFSyT8clBQnIVyrQNuzlTWO0sa4P9r3IEg"; e_fb_httpversion="AcJpwnV4DQvP-yChVbkFh2ae6NzUHA0UGFwZflmj-FqKkLcP9f0kvWOvR5rL"; e_fb_binaryversion="AcJo8yfc1ibB7PI_rgJuLWXWrgfBJVVKwIgkKHtOtBiWFmvf6sMDDy0g2K3jcxn0LRKeTfXAh4LLP4skEFElHL6w9u9LyOquyC8"; e_proxy="AcIy7Kad1Ra85Pt9LO6j5_kwbNr7GrTGFkZhZ4-YNmcPnw1nHGXigiTJGUnD28bCZoVBIyyEeLaokAnod8QR", http_request_error; e_fb_configversion="AcKmeWYla8lCibrHB8BH2RvCMJZU0KtYth6ZE7eV1douZVbz5knFqFtM6u2Y0w"; e_clientaddr="AcKkL3k32PxHzU0lgiL42Tt4qOnfMYX5hE2ZxTgrdKEdqRpuMONrh_1n9hF5viyjQMDOAgfqA5OrqIKBbA"; e_fb_vipport="AcLPwFWFmHZFEQPasIjGnO_hjPPwydIknm6qsRa2Kx6EBCEdsXvaop73oljx"; e_upip="AcKWHZK7l0HeIaca-KRBusKLXGX2ACERNHnpCzIsfWF2c1NJWxqQgq6H8uzevVDNM23Fr8XEwVCd1j70oMEDJdt60V2icQsQaw"; e_fb_requestsequencenumber="AcI344wX5Q_OBSk9y_l9rzczuONFhPh1o-4DPifN7gP6wfivM20CU06igQ"; e_fb_hostheader="AcJnUDHFBRsabsYdVQeEpYh0TiJop7hNoHohT0owwO4tfaQULj4jS7ZtBbnuFnnMSIEfugiyEun39yqd"; e_fb_vipaddr="AcLijdA2LYi9gGViaLEhYLeofHvzLMHcTdLn0ydPgRHCWPx2qqf5lnGM9FcEoJXH0PwyDHQ"; e_fb_requesthandler="AcId8Cft3oGDjEWT3fjXEUtfxfXi95ZJH0FZCTeFUhk6tx_iWq77H9kTKeeLpvAhtpH48cPLdXM"; e_fb_requesttime="AcJE4knj3b4nCacd9_uMRl-mhEAIQFWY5d4Fj0T-5qZMVc7zCZz_dGyoFpq9lgEuk-QzDZUsoQ"; e_fb_builduser="AcJz6qbmUfILOW00AmKa6w7V6Ww-u7gkxZIgsNgNjnadvQcEiYoOQpgvH8ZsiTdgRXw"; e_fb_httpversion="AcK19VyFBsurUpS6yV0Rm2DScz7v2-QL1wT0Q6bFKfURLIoICI6dN8zU8ccu"; e_fb_binaryversion="AcKUGE6wh8TUM8jcbxIjcKzbz1OoJjvIor_33IXeA4rN_dwue-emNuDoUBr2GfU1VXC_yUX4o2K5wznC5NIW99iLcmX6txTguV4"; e_proxy="AcJucM91VusNOD9r1ogvEdmU91qRrACXJON8f08dJcPvmKhtcKmvt8ecOnDVybaRj_MCKM4w1cLHrDQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=219, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25320077707607431"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 01:44:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 01:44:19: Error on send one message facebookId => 25320077707607431 03/31/2024 01:44:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ATuXM5YqQLPDR7VYkR3NmiX" } } 03/31/2024 01:44:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/31/2024 01:44:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25320077707607431"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15673378, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZEUb_7H9nIrZdfnioc3Y7n', 'x-fb-trace-id': 'FPIka98ZoNM', 'x-fb-rev': '1012439198', 'x-fb-debug': 'G2wsRWs1F5BUGgA8nQ3u2kad5XlT3vT3P6zq9uDKlRKGYgijaNYuXzcON6DGpUGEzXww5O21tyUpl3JKdp+tIw==', date: 'Sun, 31 Mar 2024 01:44:28 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIgv2fJPzlhZlI3rmndvUa6G-9NPepdSMgBHiLK2amPm7X7D5-WcZpi11Mvgg"; e_clientaddr="AcI1pr3d6m2nF6Ge6Y0c3iCh5-CPXFq3wo8WQJaK_rZFvUQOVUJF44upAWKvrmRiB3L6Jk2fXmCw6XPFZ1GjO1ScZlwbkDZCbxDKOjg1xHzuY-R_KQ"; e_fb_vipport="AcKZbIUXsQhxE_pDecE6CVl5w_s4Gp7-yFTWuOcUpdwK3wbeP9Vawde6wXkP"; e_upip="AcKYtB70P1uTNA-TbH4Kope_IvpRyx82JZlwRWRpjyfiE7tzp9pmy3aQ-wQyhE0J6yDmm1h4x1kBVv-cYE675D3fyo3JmBv_saU"; e_fb_requestsequencenumber="AcJj-KVt_cXAFnEPnmVTQKY5bz1zc0JZ_YAZNPvmxfg2_ElyFQkqiagO6JNjSw"; e_fb_hostheader="AcKWfyP_cdc099deXgr7FNLKmz8oehxlC45VyKlV9W9hn8y8LlkIN0sSBxR_Zf4gRlfHNUsgGDjDgUQq"; e_fb_vipaddr="AcLhtuXIdtaedrnre6LsD2iQ5lMuYVGbQRohE2dtB1ElHg50nssxP_28uPgf37JovlckbPo8hIH67Cx2FnWNSKaOmG-FU-rUIA"; e_fb_requesthandler="AcLf6SemlRFYOZWSwvhk9iXIIzLh0VVtkiIZuvZ2f5M2UdT4JESjTwCqRnidmLizWRfXcWsRMPU"; e_fb_requesttime="AcJl1NOL57cH5-ne8JqNQGY6Dl1BRngrz7gZDxj2XZ0Ehn4gaOumVBIjIAuHaVhXGp9wF9C7rQ"; e_fb_builduser="AcIth1hmTPDBtHBT0p7WOF6LqwM-K41UdDziz-ZB7yPXSzOuwuBL3_Ino_-sJTIAbMg"; e_fb_httpversion="AcLePVm3S6xbOiEiT_dCgmj1csKiCGeD7_0gyCNJye2_WfeVQPeONJBYLmtH"; e_fb_binaryversion="AcJ998gf-7WxlAI7kYWjnKo7KCfIgmvloNEWqFsxC9Hgz0ncF5oNl-1d9DoefSSsaYqqW71CjULhnPeJ65IeIR_hMiLynSKxuNE"; e_proxy="AcJDhaOJGyOyKzNBJi1w41zo5qvuoZFUSMr9p2njhp68Z2IK-wMK_JplC2ccUWrn5YI2nfyjFy8l08DGc3Tp", http_request_error; e_fb_configversion="AcKFjQSpJKeTh4kAFObTYG-oGRCeKiQi45vxsPhKM1CxUgc0QKqP_pGnZiFfDw"; e_clientaddr="AcIbaTClktJuUoeHj7asCf6TefbudgZpB25TKdQYFiuyIazvJqas_TPXOfx_jYhAmbr7VIekBtvAkk3ZHw"; e_fb_vipport="AcIMvcMu0RDXgMp5kXS0QwdvLDLT9R77qEGwFh_Xgr8kl-f26QVW-AEybuW-"; e_upip="AcKcDYyEsIhANQLEYrhY2MlxPQx0ELZouUG9vdKtTge1Wkcr3emh2KWIijStVmUzp7cdePmL5jtfJGMxjSzNaZAx9RVCwthHZw"; e_fb_requestsequencenumber="AcJjudfJGuhHaZ8tVMN3puCTq42Mw_BeNhgmdT5xC5DRWtRKS35jOD-2gQ"; e_fb_hostheader="AcIFmRQzbX3lv2LmO5aQgyB2YLNgOQggjPAG5GmpXiu4Jb31tXpXhuxQf35bf9wvEfm7uil0mvyGGkim"; e_fb_vipaddr="AcJhK3LgNcFbj2GfOgL2Vs1hIJaLx02h-iwzJKgawyRN1YiOYwSfiGUAZ7EbFdk8wBx1y6U"; e_fb_requesthandler="AcK-V5wscIo3M27kTF3d4sokqzq-pQIiuZqa5fJvpGvAvuDdT_cRbqmQzws1vg-1FVMil3P9Cvg"; e_fb_requesttime="AcIOMQtvPHP7FSy0StJGTQnsHfeGXeV-5j0109uAHlBPosx90ZmBKWsK9XsRCEuTUWf8C6nxyQ"; e_fb_builduser="AcLfluh6Nmag1WaNq5CIRPZI8GVH7jZY0bjB9rfTPpS47fg83Kj1wmVgog20VDTaEn0"; e_fb_httpversion="AcIQsltHQO1hhElei88ZlarNpGPHxBdu7yftcyBO941Y7nSedyN1qNpZ9c9T"; e_fb_binaryversion="AcJepDBD2UzRGBzOGvhrKXkMSnApjLfh5cbcUqj6dyzRxD8vMMctawf_Q4scJAD7XCzXUTcM9xyBgxxN4-VsSKXlTtRUl4PbEMg"; e_proxy="AcJPS_Fv_7zSsTZ9qzUExS_y48WLKpJPR1_pLf0qWqjS6CxrVRbmFqQy8nrg7xtWj_9XVi9JPzQtrGw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25320077707607431"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 01:44:21: Error on send one message facebookId => 25320077707607431 03/31/2024 01:44:21: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AURyZ03m4k4p7K4c8S5RyiD" } } 03/31/2024 01:44:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/31/2024 01:44:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/31/2024 01:44:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25320077707607431"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15673519, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3QUAfIwWOcsgm0TZjYSufh', 'x-fb-trace-id': 'EGO3WhRmUbH', 'x-fb-rev': '1012438991', 'x-fb-debug': 'I3Ynf+qoSbcHIhYT7dCPthoh5bvFUC9O4vcPaMuOQeMNcOC395X+UTCbtzWfofggNv6uH83PP8qXFBnFZLRmAw==', date: 'Sun, 31 Mar 2024 01:44:29 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLQsZNyenXRgFf0EwohxIzESATODr3UhzNE6V67Q2tvdCO7UINqI-ytu3uEzg"; e_clientaddr="AcIxdCE6jW5QNuUwATB3HTw0oCEMHPQQ3-4uGhTmHX-qlOe8r0xaDCmLvZ5RV0CNvb-8en0cfaGRCxt3pvOTibWbM8XMncbH3jAG-3FzDH7ir9jFWQ"; e_fb_vipport="AcJFkmGCBltWh0bvLl7BfXn1BywfliKV4TRjKoIz86CVs4v11zPnMzl6Wth4"; e_upip="AcJdmUYvrl9J3ZUZy_3cESIWRI5V1DSYnXDQMvy6XAdedNvZ6-0NSfpPjkrkCwNPNaiMbv4NlAcAE9z2w-FE7nuvE50Cidi6XQ"; e_fb_requestsequencenumber="AcK6goT0VoadIg88z9Dtqt-DZ_0buMW8dlPQnNmow4SR08Dr_oCnjATszOsPVw"; e_fb_hostheader="AcIZRdsF7DMSUK3Hu4eTGuV6Sc3tA2KlKDzo7cuuBzWDbNbAjhz9pwtnEsfd6gophtZ_eYnrHqO-qbGp"; e_fb_vipaddr="AcICo3xoP3spIo2PiOYiXNY4XKYUV3Sa3tCclss8bcltlM6Iyk4ZKw0WA2eHjNkehuTW_ySyvnoadwQqHx1a_V-sMaLUbBzJ4g"; e_fb_requesthandler="AcIZcb0mUy2CAo6CHDo8i_T5HphoeoeSNi6_1Gum06qwvMYnB4sBWzMXp0_8NzQ12Qd7hYYDvKc"; e_fb_requesttime="AcIPqSTlFEMmJHtdCr1W5jlTTwCCItzrbatn4pe0hny1QTLGXSKoUiIKqJy4xodLVF_9WFf2Vw"; e_fb_builduser="AcJ8DhNqVK5cI6suvtxuCyuJmbqf1u9CxrzLShtAFJNhb-KpES0noeL2uhFe7BN8Hiw"; e_fb_httpversion="AcJ0w3Ca2G1x57mf4vJYtFga2IY5othD0euPhR1ETciw9PFk3VC9ypOpiBWI"; e_fb_binaryversion="AcI2HKQSQ9U9G_iw04SPtx259a5U3K4T5DCRWVPopz97Eue4zfVLVMVmPsZnQR0Pgvo860iLPQXGQMI4KQvt9qAoA6tHLTZT3OE"; e_proxy="AcIz3g3tssMnXAj--hcpiBkO5dKWSGSltXIO-jHuQ4qaACmrQH7Q51m6w8r0ZXQF9cPVTijtx6btEr_QcA4N", http_request_error; e_fb_configversion="AcLAILRmcv5BkTgutDkGNw4Cu6R6gw1-0qIphCsKPqrD_HV8rwnq_WSt_UPoRg"; e_clientaddr="AcJOquajEy_hyP6W2iOGKLoaZFDsV9sRx0nvzEQcC0CXKfTpGYIbRVvXdy37rYVq91o0vjvZ64b4Zdn_AA"; e_fb_vipport="AcL49rULj9qyEWlJRjSxeIVvGf_412RFxurn04waJgLmBw8IB0nMfaT90hZ4"; e_upip="AcJTG0k9EUCXnlXNPMmMvemntRBneCWPg37_iwPigeDOwkn91RFQMbMOcOKdXlP6X_07x4nr6PirdPS9DDWLUlCugjV9LXkMEA"; e_fb_requestsequencenumber="AcL3hVI0sMaXIeVNzxJ4UPwe36DTyTjp7FG_nuFhZpIvi4v6cXoofTbkyg"; e_fb_hostheader="AcIm1UqeTh7xR0YuxW-4oIeMFc28-l913uWsX364j-KI62vTUcnncDzqd-pGpNxarhotFjTlBoAhMz-3"; e_fb_vipaddr="AcJuNcB1d5eZZlo0w_lLp6rjI3ykE16s3XFegKRGAKILOn-5dYASHzOaFPUUMjzhXdZviEw"; e_fb_requesthandler="AcKmJyNwGlY1R_yfSLUTLt62HnXfYV7VdJgcX_lKWyI14e8NG7oX7PtqyREc_lyD6NqvcrdRpJs"; e_fb_requesttime="AcL5tJR1W7LcCEI1T_TCWrbBKAUzEBXA5b67bsB48wFJ-IJq17zEu_pAM9aa0cSUHKikboVaFA"; e_fb_builduser="AcLX-5KjIk6dSuB7B0m1RTsZpLg2sKs_rj5iTfXHialpOYbxHiSn3rCeVpWQfIhknGM"; e_fb_httpversion="AcImGvxRBjLNm6G4xostNyX3DHxpuffRWzjIKkVrD7Fn_zjH3izIP3rr3MIY"; e_fb_binaryversion="AcLks-Ni7RjrlY2r-HeJu_V1R3DkNYa9dMjr1dz73GD_vJEeh8yIEnL3ADa8JaxLLHkeZafzWElsTPteoKPFE1GCKmq-0FGNK3Y"; e_proxy="AcI7vnr6-K2PX3llg6OGyVBt_zmXu6SIpW_xM0AHGRusou0Hgm8cmrItaN7kOsolx0jADRZWJB1bF1gc"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25320077707607431"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 02:02:25: Request bot not found: { id: '133788230054854' } 03/31/2024 02:02:57: Request bot not found: { id: '133788230054854' } 03/31/2024 02:03:12: Request bot not found: { id: '133788230054854' } 03/31/2024 06:59:56: Error on send one message facebookId => 7575116182511338 03/31/2024 06:59:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "As0Zf9BexxR8D7TfohYKuGS" } } 03/31/2024 06:59:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 06:59:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 06:59:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/31/2024 09:12:47: Request bot not found: { id: '175778962849901' } 03/31/2024 12:23:32: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7455211341205780?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15780924, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7455211341205780?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7455211341205780?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/7455211341205780?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7455211341205780?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqD3nfVsiJw6cr4I4-o3GSb', 'x-fb-trace-id': 'G/j+2+TVesp', 'x-fb-rev': '1012440921', 'x-fb-debug': '7RGW37URfsZEffnd005EM2itJeO8BxeLSrH5oxMxMcCjHyUMcpG7jqOBBIztWdKyf5T446CSGAQ0abNC6jj/zw==', date: 'Sun, 31 Mar 2024 12:23:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKyvIq3DqMPfaBHV6rdqv1BmtsvSSzGCIYQWbgaP0oHKWY9Zgfh9b-OtMgHbg"; e_clientaddr="AcIVJieRaMGYaSDd1R-7iUOAQuG97PiAY8az_7xybXczhhvnrwzC5Y3G512O2sDmWxdmlRF2xUNTDeuNj5l-ThOM6u5KtY4rbXBD_COlwKyTgKnN"; e_fb_vipport="AcKWeIleX5LJDR_HQkropkgZoMONF1D2Lq0Z_0aMi8y2r-SYEk07OqciX1MV"; e_upip="AcI04PNdiBiOhmDZptOowcuWDmCj6X64RSmGifAsQPy4KOJvplI82yGBKvs5s12MHUuM7QiyXw5TYrpX4IMidYzodvB7CfHL-g"; e_fb_requestsequencenumber="AcJfGcbBnbx6v4ucLhzBxsyA2GFTkkH36G-B0rICij7mwMB_TmrvLYhJoT1V"; e_fb_hostheader="AcLyamULhW92hN1NgEhTusRV3jTD0olUe5aDybf8ro1wcSk2Atf10mwPV-I_6n-y1GOwtH3oArCPgmy-"; e_fb_vipaddr="AcLK1YDMuNYXInSQyejdG3fBxnlP1NHjsw2EVNyZLDw1XYRwZ2VR5kXwl3WA0zTtexJKVoo4-VTlpvHZ__r-5G8ZnKM5X2bwNQ"; e_fb_requesthandler="AcIn8WZL5-tQcQWAjqwlhOOgeUDf-z29qRLMMRag7uM8jrSgtzPKvkZ3ZZnFBoDLosagcpG_9Wc"; e_fb_requesttime="AcJspm2kRH4L_guX_MM2wyxyh1DY0WD2S61uxj1XXMNvIIMe_iN-iFQ9mH3UsSRbz7jmnIpuOA"; e_fb_builduser="AcIwI8sCEXCGj9QgcY3XDZDd4d6ufVmSJU-m7gHYsPNxAwdTGeoxVfYdWKCOeJvaEeU"; e_fb_httpversion="AcJ1cyGjsbULHb0MOKzd1qPCTkwQW-7VCFBPNjuhkoMJSE3nk-6DJ1_3_eyH"; e_fb_binaryversion="AcJEa0jm-mxtlYazI-P-PxGYI8hVsoI0mGRCRHNzcEz8gShAHtIXPNIr1blVLH4O236-s-U3o5p2BY15YZLabKshqhlDZ1ydQiI"; e_proxy="AcJAm6tv5iiGk11mKv5gaShIj6g3f8gIX8zuG5SL0e199DdGRf1LaoNk0ypdfztKRFiFZXCa1beec-u4yMDr", http_request_error; e_fb_configversion="AcKeFJ4s2hI9R-EtpWzO09O8uppVkGeibZkGfwDAqfRZUn4VKFfIkOTKdH14FA"; e_clientaddr="AcLvZTsg1ieJ8qPuJUQV23fCBM3cN7og9RJbjy9Kzzzj1K79iwy8Y33tak0mssCKpVZHl7Q0CGSulnST6g"; e_fb_vipport="AcJYjMeetRDEsYwfY207bV86E-c04iyZExLgL7m7XTHfUCdVVdyZVfqv8knb"; e_upip="AcK11JyI4q_fWFCxnlG1KZTOjbfnnI26Frhuihbad2C0ohFUpwJz2jiFUX8dUQGhv25vUu-V7YilnUUA3cW9J3bB5nkSrr3ylw"; e_fb_requestsequencenumber="AcJByeVr5nYGfaf7OA3P-BA1F83i-jqUHSNknW9Ph-z1eOIyG4Bm2DOZww"; e_fb_hostheader="AcIKkEBZnnXgt_qafqxsrmEXx1iKCOo1MDwa9o8cBdXlIdfPsithT1ETdIZlQ0RHMfjdeWtz1SEwopUC"; e_fb_vipaddr="AcIa0tX_VK9oG0e3_b3w_yx7LHHFBigqQau4WXN-XZ_4WpyUw__VLW3lqHlLm1YN6-xKOPo"; e_fb_requesthandler="AcJ5XMG8RPzEVdNtDbjjU-QTD5BkGO-ZJt9Fr2GyLuik8_cFUkZg6usvmXRCXGZ0usxO3y-CAzM"; e_fb_requesttime="AcKCdE5Z2YBVJDEz1PfvSqcGftJYArYCtNTRU0z6LifrUXAwSrklqusxXz9QDl_a8RI0RxtF8g"; e_fb_builduser="AcI21rJMLZzwiqgre5Bn74nd7FnKUFqhBiCnTAbIotFizJsL7t8UO5JSVRcRGkdXF2I"; e_fb_httpversion="AcKIS4JM4JqHmX-_BBcrelKNizO1V4Jl4u84WOPkc-x5jkgVXSA9_2q7-6kp"; e_fb_binaryversion="AcL8a8sOO4o-cRznl8aUxeFy8baQ9v_cAPnq4EwX7XREA6fmDt9o_Yl5OiCHofSbpIZJViIu4DH5WpGNNbeneI4zzVJwdTdp5OA"; e_proxy="AcLBNEmkZtTArJMTNHUPL_B7-zsBLF3LyPhM7MNMRXgL1OnSWu3fDKAbmJVaQDNzS-jf53ZCBpEM3gM"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=287, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7455211341205780?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7455211341205780?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7455211341205780?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 12:23:32: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/31/2024 12:23:32: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/31/2024 12:23:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15781045, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AM3vr5zzZo6wxz0hK15iMGd', 'x-fb-trace-id': 'EaJtZNz8lkH', 'x-fb-rev': '1012440921', 'x-fb-debug': 'DeLaFNwEuCx7jhnkNO3gnXMY9ghQ5Hv+QieQ8476i5+m4p7FZ4xR5xV59j8Yqpz7QLLltc8bABl5Cpzmsn6dzQ==', date: 'Sun, 31 Mar 2024 12:23:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJz4w8-9ZYloKaY7bags7kNpMlCitA5L_mlvnFRJKOw0P8AY_XoOW3g1JoEsA"; e_clientaddr="AcLVI65ZqlEBHFLSIb_pwT-Uza9Uelt9RUSJmmhtZXp2clOqb97tJetuLyHQptuLbSfa42aynCGFVvcW8yG-QuGL_Q6cUZVaXWZkEkteSBSQpYF4Sg"; e_fb_vipport="AcJZ7Ro9TQP159RfZLa29okSdKsxeCI1CG0EB_1TR8CYJr05gol1cCGWr_zf"; e_upip="AcLzKzTR5RZyGQnTd3wAQcyhmjRxfQb2odk-Kgd5RCB0LkLb9zGvoHgB1BgMhcD_GgT6qzNhCadyv8BeX9Ni85fHJdixwCVFeA"; e_fb_requestsequencenumber="AcJdyZG45PABDa543P5iBXjK6Bb0xeyW1lOZWezYqtS1Iy7iFxr3Pz3Gwc5BpA"; e_fb_hostheader="AcKXPDDt3kSvpMIXl4ZEVib9KIYyvwsFLC24erSe9hWIQ37ygsw9sBpndpgLuyPp3MRErntTCnjB_MRb"; e_fb_vipaddr="AcK8XGTgj8vDhjRenqfPUpe9n5vdsDaLwbubhFe6jTvu1mIFIRB2xu47xw51DshNh6CKBG2bUBjc432KL2-TMrmx5XaaVKFW3g"; e_fb_requesthandler="AcJ4thew2Llzcu3Oub6dQxig7inEec-YudktcFoxBvPkK-xnlM1g4MwFU6OyxEKvxuGv0GeiHOI"; e_fb_requesttime="AcLGDIwFcUblX3B_QCAmuD4GqVYdNIKu1zQwsocyLJ3bjFHtomSMDcBRm50LkwjDBXNsGtOWqQ"; e_fb_builduser="AcLeOXDFU1ZHzwKzVRqb0aO0MQ9e4me1_r3G2pSj4ddP-nfByyJapqy8Z9V5_p6Rj40"; e_fb_httpversion="AcJes2lqbFf4EftyIorbZc1wUP8ocIO3MjylyCLdQ_OGNwRN15UQ1VdYQGH9"; e_fb_binaryversion="AcKUi_PUODjNLs18l-ujStIj-_x9SOhr3Q7EnTYn6eQw9qQvxGgjmUFNZ02vDSEdFk0Fp4RKtKdSaXomsGLhqNMOdD6LilCFZ8M"; e_proxy="AcJCOSkLMWA1BhYD-83T_jjTPw26cmid1fdf-as0RnRvNoo0wAbWskwwWvLfH1OkS0006PN6PJsew_BX4sKv", http_request_error; e_fb_configversion="AcI1A485tQ5r6wQyvkWDRDhEIYJnLNLfLa3zdFkIQ62WW11czeIBq4DYbW5DOg"; e_clientaddr="AcKWooJfcK1WM4BBuCryZMweIKkAc3O72Y57PMkWnsxL3uzV2-8WStypVMwXMPAMJcJdks6TYpvwcTwvWQ"; e_fb_vipport="AcJk85tYygiINl-bN7lk8S6u6URDOFHKBXs7AtaCP5RDAOLeKLEewnC7I2yu"; e_upip="AcIMJ6EKPQOgllYz-480kERtSI489hqTgAo1mltGaG70PEa8-bnKiBgdwPKUzkTPiFVXTb3FNFRTh_FS4IdNUxhpvfGTAia_jw"; e_fb_requestsequencenumber="AcLXLvrQjQ9mxKFLruFXebb9zc5uO8Ii4Yt_N6yZkA_141DG-PjkNazR1w"; e_fb_hostheader="AcJE0Jr96Z1DDmGi3pWMaZx-3wcZRc2NllKiexbFnCvXuZkk1Dt-owATOXLEwcjmOyPqyIKoVgsPVtSA"; e_fb_vipaddr="AcIU0Kx24uVCKnpJZzAMeJMiQnkctfkIOKn3yz4ZxqfCbkCAA5lUjjO2jNLUCwPWn-K3bkI"; e_fb_requesthandler="AcJjwl0Qzt8T8h46SyNlPMQdTDlLmd_8sbInQ7W4ONTnf6hdQZ1ZeFy1Mx4sbjSPm2geCGIrbnE"; e_fb_requesttime="AcKH-dDUHVfhhxjfKUXSq_YK3D6SRM469Q3z-avZvhDMZ4_56JlcCqhW561YzdhK6tPi4NC_-g"; e_fb_builduser="AcLMfl_zUBz6SV2XllPSVHrvBjYwce3CHX3DfPh9I1H1BFxI6WbFMOsoOALYD-a4Z_0"; e_fb_httpversion="AcKYn4elneQcVh5X_HZqKbEC9LPqdzIwq0kcsIdzX5rdy41nzYpoX04iHaWw"; e_fb_binaryversion="AcIkgIOlBR28NW3TyBf15qJC8mW2CBCfV_nHA1aQzO6NIqcpbm_Mvamg74gV_nEP_VYj0FOVtTZg9OTSZl4SkCS5_HLp0k2hmLY"; e_proxy="AcKoFrNBZxoINXq_hriJDXBaQef3JXk_N6-ZkywsAUIpZtL2pQxz8w51W9hPk4p0vGEz6yvxgXWxxRA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 12:23:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 12:23:34: Error on send one message facebookId => 7455211341205780 03/31/2024 12:23:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AgG8Gdi8EMUZXGlgLeiqR4K" } } 03/31/2024 12:23:35: Error on controller verify_blocked TypeError: Cannot read properties of undefined (reading 'c') at verifyBlocked (/home/ubuntu/api-facebook/controllers/facebook/verify_blocked.js:8:54) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:30:49) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 12:23:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 12:23:35: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:109:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 12:23:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/31/2024 12:23:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15781203, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARGzTGMnvjBf4ze8QgJJUCU', 'x-fb-trace-id': 'BfBKNIsMcgp', 'x-fb-rev': '1012440921', 'x-fb-debug': 'iL+rtlXsmKYD3geZX9LQQLTfuXXKcpFiCrviGWihZ757JQC2ZuNUZMskAPnoWkEIkgssvwiHkndq4MRgAMb4pw==', date: 'Sun, 31 Mar 2024 12:23:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKjSQHkIb_KauInoVQkTa-8a4ELNuMMY7bjMK07ELQ2e37JiKe_ZEwg6DGmkw"; e_clientaddr="AcKH6GJNKOJn2ri6e4pTm0dFgaCjN9anH6jZVSa-g8ohOBFfkae57XIDGBJkzQbhIkEiaBOqiTJvQ-_omEOukoHF-fjBGlEHGwXwTXWM4vlX5AMUqw"; e_fb_vipport="AcKEIvDmHZkMcFuPjWPLmjZNEVX5t0TgbyqWw2iteKzVgqrr6t2-M88M4Gyq"; e_upip="AcJpb925O-Gmbt2PVZVA8IwtoPB6kxaGRl2es7RuRX1U1MJdE6hT5UMDdUFQB7FtD9JhZSp18hxGQpU5nxCMbIBT3Mr21xl2pPQ"; e_fb_requestsequencenumber="AcK7S_v7hWbwXh94icKDInmWMQqc6bYuE5d_3mIuCx2Hbkaaejjiz3nBa7cXyw"; e_fb_hostheader="AcLEZrR7T0mikd3Ikzjn1bpnFFG38MhoRmAHeRaZKgpxEMHdQmm4fD8Ov7aCRSXUr7WW8ECGigUuuhXc"; e_fb_vipaddr="AcL0xYYIhI1gOptegDPdz1z6ORscB8T4uMSL1hyY5zorqmcM070MDjD23epDFfh5x9zY0YPLx9zjCGJJKj3ImjrycsksM-Iaeg"; e_fb_requesthandler="AcImLavea7hAuQK2dVVEUtCUXqe2zcA631nx1uxbX3zRmfgO4nih58Xa3mtOrMdSG0bSiqGumDk"; e_fb_requesttime="AcJErCk-rnHAMPhMk-BeEEQIP7wIrL6UuCcTowHp8OvRy6ak9wyXVgA3P01vnvDKqWXrffQ70g"; e_fb_builduser="AcJ3Dcioalk0p8wuq5e9VpLTdCBjEx-0VcU_c69mZYcikI8ia93-9EV6bLg7w6YhX2U"; e_fb_httpversion="AcJnosJ-0pOFuFRN31hVksqwhMw-CcaVb8Hpbc-5z1T0td3H_CqrTliOquIg"; e_fb_binaryversion="AcIwC55Bgh5QzBq6t0F-ztE4ajlwvQEAWJC33yGsJhH7v_4rgyHCqVVDelV5z1-mvx9UbqNVfKpZFfmQzqUdsnohfIyddAC3js4"; e_proxy="AcJ4RcpFgwN3dAjup79M7h5YjQLh7yZBAjTcUmTLnwkvwUqU9Jx0wIsy4p_khuOO623wMe9jKRlSClg3_PM", http_request_error; e_fb_configversion="AcIZAUeBsPTFWIug3saU7J3_jRwpjZvdEII98VEpiZfiTwY3GYa4-_w0YXKeWg"; e_clientaddr="AcKF0GIFeuKwySPPdGd0H76F0H7ML03Zss1b1EVgCtxnnzPXDKdXiUuZSiYThN2sUJpW1ytlE_B-pZB6qg"; e_fb_vipport="AcJUv9azpe-eurV2WNmoS3apNg6PXbSB9M9eM5LkdWOiN32m75755rsPMqKH"; e_upip="AcKoz6IAshIYP5WCwT0GG2po-F9--S8oN61OqIjcaGI6bpztrpDSzXmijnJiADmpuPIZbZ17Lnz5a-7pUxnE3gvnOVokahzr0A"; e_fb_requestsequencenumber="AcJfKiSfsbghL1Fin_tu9PRR9WSllwUMfSlXE5rufZ5_fwERkbyftdZ9XA"; e_fb_hostheader="AcJBKb2VIDB4Sj0Slb-4hqokQ92PB62DtiO6KL5KqsmMZqw53Pk4BWrLGpvfVKhnUHu5bAxjvKJjI249"; e_fb_vipaddr="AcJtEc-vjUyYv21cDTjIWS0lHD22dD2tk1hRq3oitFB5xEPD91fMsmb8psOBUcgGZOmlszI"; e_fb_requesthandler="AcItd8RB4uOJS_esx9xQZv0-_NaZXfxIRWbky_2AT4ru2lE0bMYnDFNCD6IXOp5H8yYsK3wdnJc"; e_fb_requesttime="AcJHpMphxdjGC-KsF55Rp2f1AC6GgE3DOKRlTQijVcBo8_uNOBxAnfp4QgjQBMijjCFUUaprYA"; e_fb_builduser="AcI99U20Qxp1j3NjPK1xEt3F_OWbcdJA5kaqfM8P8VdupoFjAuf7W7pRz-i5-cU9fm8"; e_fb_httpversion="AcLay2qMQhSomELpyKGhyO1TWC0sWn46JpkEXiglVzhX-NqeTktfLrOZTiAw"; e_fb_binaryversion="AcLMJKV56POsws4o8h88bcOfdSHbTqmPHZfINgsapayKGXIHTibrcRuu-BlyEnswAT9ntYSStimwj3SyEdu1cVLtMKkDrJAcDjU"; e_proxy="AcJXJRjYUYhoBdIa0NvdckrdkTEHvvu0AS4D13Boa0WZnsmyH01e90F6r-0paboHWqNdck9H7en3q9s"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 12:23:36: Error on send one message facebookId => 7455211341205780 03/31/2024 12:23:36: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A15hBIJeHVC4-_Vo8GsdKyo" } } 03/31/2024 12:23:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/31/2024 12:23:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/31/2024 12:23:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15781342, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AagTKgvKoNUKIFPAPWHNUsO', 'x-fb-trace-id': 'HAWX8G0cAn7', 'x-fb-rev': '1012440921', 'x-fb-debug': '8CghQHRT3OjflWUV6IFCBz8sc/OAOy3d1yCVETz6KwcgTENJRxJLr+FC5wZEubzXIcwMVwXJrprcX2AokwGNLA==', date: 'Sun, 31 Mar 2024 12:23:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL9OWB-6JMxXQ2tK4ty7ZTpIorZzyywZ6_iof3acDsubhC6ZEMqFicSQxpGQg"; e_clientaddr="AcJQP0v6oypuveBxzrA2jMIIjE1m-NrcFjdF7_BWXmhqxQ1j1n0-HTNRJ-WZOUv22A6qDMA-UGlfEX2leR09Hdjb_-qtT64QafGxxepqaj4CEWSWQA"; e_fb_vipport="AcLoaYoQQCozd2hiaABx0mj64lowKjnwMnDRVGZSg1ioKKuk6z_iCjs_zcKC"; e_upip="AcKCj2xomFoo3iAjbvtZSfxMnVTB60e1VcozuedA5l-AAjJfF-dGSmGGf_lL0twh16Jb-zxuzW487xIUINmS3i43VE0vhQtbdOs"; e_fb_requestsequencenumber="AcIK3mko4xRCkix2Gm6vyus9erol7bfh1qzcBlADY8RJgyAC5KyiQOslXe3h4A"; e_fb_hostheader="AcIEOkmWFQkWjvI_CGf1u5NdpnXANJb_YE3YAJzaX6exA0ousBaM59FDgW7GcwK19cXkN6W7vZRYegen"; e_fb_vipaddr="AcJ7fevS8kjkZPW4joi3NMufZ2snHREyz8_xUEDomxCVgaCIGque0iMZQQvnRqalH6T80t2R5MscS-mjseRFrYCzDVkz3a4ATQ"; e_fb_requesthandler="AcIgWils7HgmjmQD4sD7Nodp5f-RDIjjqOXMqGvoARd3EfJFhOIQltmf0cLIeAlf9IJQW1mASI4"; e_fb_requesttime="AcJuzZ_tDG2iM2tigXUAMp9tuncbDdi-N5IXVZKFVgNLjxlzJBDoL75NFs7Det6E3Awcm1FgAg"; e_fb_builduser="AcLWlRfZPntcnV95XoUVUEwCvSli49A53y_h44s_4KzfBjLKGevl1Xi7evgeUT8T5ho"; e_fb_httpversion="AcKpZnPaEEOyfff6u8goCO3-w6vrJXqitfxRq9mTuIXWR6FEjJdKp78bWy0p"; e_fb_binaryversion="AcKZ0FV9yVUoyUYOYaOY7NK-YxFxSkzSm8_5njV9sLtCregjHV-QS354TGeNRdMTXhfunSLkmLqQaPm6w4eyGWHdCSvuUkM6AwM"; e_proxy="AcJ4rBHxF1zZdYo4s8CE9dXOk5bIX6mB-ZJkbJMBk9TLkRHG-FaAYUj-PTiZzat5dZ_vDbI_vUk4sNXEWaIg", http_request_error; e_fb_configversion="AcLsHXlHKGomHNUd58s168NB7smrheUjQMA0KjJvPlOCYV0zSjd97Huztj1zKw"; e_clientaddr="AcJqH8PlFz6yk78LAwmC5dP-3e3u1tckRZ8D52RgmL_TzsrHU1H5bO9lemuGiJtJflnldW_E2xaHV6vqRg"; e_fb_vipport="AcJDz1BoRbtaPAor3gefijlofy--99q3H3LZFdrBQGiuqQYpFLCDLLZosvTu"; e_upip="AcKAHnWJ5-y1yl7icebxjUIwqx-AtfxAClAliSvtwoJl78T3g9fO9j93upTFGu9zA2TBvR8MBTKFdWLbEo1iVPZXBhyWy7TMAQ"; e_fb_requestsequencenumber="AcJURd5B0xzO1PYeJzQk4iL-tPDywqJjidn28yWyRxDyggnVJc_vAdgFlQ"; e_fb_hostheader="AcIFzugz6pdl0MM5HWIYXsdMfZvJIDzhWAdRrQZlfp7xn54kxxjTH0xws3456YKMJ_iaYzmxMjn-Kg_k"; e_fb_vipaddr="AcL3KfW-2owC51yCBIKCbQQMQvhNTvM-VA8rR198YJN_yP1ijb2XFVXsgVPCO8TEZW_EUgw"; e_fb_requesthandler="AcITv9KO4jyJ2FBq1EvjhO6nKvoRDz5VwijxY0xKc88EM9zzOJ44bUUMibHB4Wq-mG7TH0d58IE"; e_fb_requesttime="AcKSRSAHjx8eqc9iVhKdcyjqeVQg8_PxEDJxGdeF0GysMXYEAEUue20fYWVg58uJPR0yRiy4Ew"; e_fb_builduser="AcLdo0OMtX21ItkByfJh63hkB_ruYJKyEhGnlku4FYBBpBx6rAPK3bjFbnhOC9l5qpM"; e_fb_httpversion="AcLa1WLK0gh_m0MV8-9Jt-5BYCg2rPNSHoClsXmR0UiLn4rBqt3zbByoTsWd"; e_fb_binaryversion="AcLNXVqLvzoDzb36ixp9VTV67_4K6F6C_oXnesvoo2K8r6d5irVdqJqih_4MPUGsGpqdjGbeeg8SV2W3miCtWFV8r6CyFQnkLDQ"; e_proxy="AcL-gZ9MraBw4kQh_CJt1JEpZUxtq4LPcxxiCw8xqTDikWo9tfJjvZ4pV-hxGHDsm-FNRFiQtyuaLoKm"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 12:23:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 12:23:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15781519, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Am9m7-pZZRvmbzi_FBbO64n', 'x-fb-trace-id': 'H2mishiD1uF', 'x-fb-rev': '1012440921', 'x-fb-debug': 'BpGYDWXDsnCehCpIch+w5NkxIrNWyl/lDtEtzRidtwb/Gw6VD7ANpVkeL9rzpzlBKhbSuNWT4lAigqYcyZ7GpQ==', date: 'Sun, 31 Mar 2024 12:23:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK8ex76ddX0w-pZ3I78bPrvvuO4_y2sBQ14hPmlBHtYLSNiQnaQ0gwS6Xzhpw"; e_clientaddr="AcJaYwvxbpRi2Mwt2cCi6S4ERkYalEAthRvukLqxw8iSp9J4Aj52nFOHBuLPSnaClrVkYa9tDFiQwt3NkRN2YxmXYk4jyXfxITqsQtIm3RnMKvZBCg"; e_fb_vipport="AcLB31cRnCPS6L0nxELmJMnB_h-vHsO6HoqcLnl6aMi_K6fH5HOzQAnJ2RtE"; e_upip="AcKrmKh8r9z5fh6RXUbaPz5NbjG41oJsg6lR_BYhVUO0n4L0GN2YVhlG1HE3-ykLQb9OgdhbSTWBz9-g13zFNbx9t0MpiwwXwuk"; e_fb_requestsequencenumber="AcIbu9FMaeYhyydcQDcUiO0aLzkOMarDYAmGPJMQxB0i96PvgDXAQATeHNd-"; e_fb_hostheader="AcJpV921GyE1Ogv8-2_zJoWC2LUR2y5GMkf1YVvyYpsMSHQ99_YGBPb57QK7sy6kkcmnt_YopmdQx5yc"; e_fb_vipaddr="AcKk5RY-Qt5oDy_ZClFDAVEV_Aw-xo3YxxBWaP5heQ5mDk_pqQMBEFHbPiZcaxK3YoWwKpNFykP7MS0eOVKsGL6g4ylsc9j_Vw"; e_fb_requesthandler="AcJCAtmxOcKVEvq2L86Xwec_WFWhcFFnL58IGMS7ycSIKciDLfEIjBS59H7XFsr0xHh8v_W98Uw"; e_fb_requesttime="AcKUuCoveMZU99uUM9iZEwyONsRpO8rY9ARTiH-c89YBafLr4XToz-LPWSRUZMfsiE4-JKv4Eg"; e_fb_builduser="AcLNY2Ng4lval31yF9qklL6k6inSnQo1id8B6_kLoSSqNQgGdcy69hRw6ynVuL9n-pc"; e_fb_httpversion="AcK01DZEiB8E-_uimKId4Z-YjjwWiridOBhH273e6nJrRNO6j5RdWMkScWrr"; e_fb_binaryversion="AcIc7IRBe5zHpW5PYLGmo3U2OBSzusVwJlEbzxQW1P8zc999zDNvEDghjmOwMNtMG-j3mrTZEd-RiOUHWcoTICHVewi6XOGaacg"; e_proxy="AcLAkB8-b4teCIzsFjPGlJN4ukWOQ7kxr8CuyPQy4B2lmPPUNr_-Sl2PTB-NRteHrTkRpkQrl8qQOZskO20S", http_request_error; e_fb_configversion="AcJv6xIaQlC0sNMCNaYqbrGAx6yLBTpfRxQl8EGLx1_Qm5TYCujnlUB2Jv6crA"; e_clientaddr="AcIKReuSHjG1xtaO-OuIv-9Zho62PXFeKJ1qyslrc5R_aLSqkiIxJJiKbS806IKJTP5g6VaCN95hVtjOvA"; e_fb_vipport="AcJxkJMMBtY_0pdUJz28tglNxsF4kAGl2PgabiTpJHsReQix9g-AZ8B9oyh6"; e_upip="AcJa4pLHj9EzKh-flq8Ezih7lKuD_OIEtxMO5bvog82W_v55o105GwM-hsKaJifEvHhTJ5UquoOSq36r8dUnRvTOs2C0PDLjVg"; e_fb_requestsequencenumber="AcIeBkROluKy8yadrDtsMUjR3Vajvus97jHg8bnizJ6cE1NVSgSPMuLqRg"; e_fb_hostheader="AcL0d6WsO3ZLpnMgE6HslNnz80DUH8pLfirtrIzU3GA9VjUaGQSua-2TQ6xBrcqZZRzsdcdavhdRloby"; e_fb_vipaddr="AcKD2elo7NosDx-6pNx8eYWoNwkFvMO3QOIHiuI0wI9SU5_eGijJxfbg7wVIwinaDOWymTw"; e_fb_requesthandler="AcJJl-umnjX1U9yZRjZ6decUO0djce0dzPKaFbgF3odWl09uo9ACcgHZoP5f6a4g1VSwZfpvTHI"; e_fb_requesttime="AcLz0dmnYXYERfe1uevGFupKNlayFfgoXBxnTPsX8zhXIfzmnhCFlvzfgVoALM7KvQEyGS1iaw"; e_fb_builduser="AcKf7kqxN0WjVPLFLNHs9r2eXnmkmVM7EyKMJtGdMUsGM9-La7nUf2ulzi-R437hhxE"; e_fb_httpversion="AcIGTL638mQ6Z867EKHJAwB_REaDTZk_r8aAXLS4egLBsQvBU-za_fEkI_ME"; e_fb_binaryversion="AcJw59TtGz5LfiPR7JwA3dKEW5hdK-_dS8UdxvUsK2Q5Qy7HORsL3DGROW9Zi-iqucgo8me7c5KF1Mka9hHCykkq5RjIwkhEHlM"; e_proxy="AcILpkuKwWID9gpDosDi3nG27AbOa4UE9j_Kbgea1V0WAJtZbxsOlLwZEao5z9pcZ4z545dawoaMkv4"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=228, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 12:23:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 12:23:39: Error on send one message facebookId => 7455211341205780 03/31/2024 12:23:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AzwMELhtBloGykDO7nTgoP0" } } 03/31/2024 12:23:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/31/2024 12:23:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15781656, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A89YsopBxZxgwhUm6AhcUR0', 'x-fb-trace-id': 'ARQEg9LqphM', 'x-fb-rev': '1012440921', 'x-fb-debug': 'urSKyTmIl1XcD6QFY2d/5ByjGoe1pLAvbS8bXA3nwg5mk21EkEMHwXAPnLwdcx8N92pxSIrOZ50ncxKUF1L4xw==', date: 'Sun, 31 Mar 2024 12:23:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJefqlrQlQSQctpdHW5DApY53DtmBnLLS9kzOAeSYY9Q8E8gNtmXf4sRT7aYA"; e_clientaddr="AcKT1AD2zhia8JDd4KZGZHXu4DkJr2BO7FLHc2-IoOE24v_4oQoZq6LmPMVwqw7eDUgxXsjIwSDoZqlm6jop8bVH2kbsH1L2KJfAMQ33_dP1XBqIxg"; e_fb_vipport="AcKt_mihW71g6INiyiI-Jy68OFE4E2zL5IigPvOt3AV77SDHLbxZQ--jPMvC"; e_upip="AcIe8bXOdMB_wGoGmdKiVmFCgVL3jcsM9UxN5FzbHEcPSUvdMWcGRe_uoL35X9IoPWVb36m5upmWBGaNbewfSXBez4zyYvpE-rg"; e_fb_requestsequencenumber="AcKI5YQ9ixE-F1ZORPEP9tD0RDsllhXNqcNrdQOkBEA6_Kw6LZu9RC_NxeZD"; e_fb_hostheader="AcLXBbYu5stlMz7BD25DaBsUd-1VuPBUIzoSLpIeitCz88dsHI-1KU3I6BeKxPzlTgl_xk5oa8qB1NWK"; e_fb_vipaddr="AcK7FsnXlp_ri6oGKFTm558ExM4CK8H2hJvsZ7nkqvlzN9irmNmdc6hXMLVJ8DFzCxn_XZpl6KdWqH6SgKmbXEXhkBlo06LnKg"; e_fb_requesthandler="AcKkgV8ONld3Oc-xFqdnUKdTppUgstrOElE6j20nYp2VMLWezp5XWZ_WVikAUQA4INkpv7pg8V4"; e_fb_requesttime="AcKP5yvUVgNMvmn8nj2-Jc7qnAEy_GzT2bE6SC7gzgyPJHCUaZ92Gt1D7wMWmt0PLTGrZ5wIGQ"; e_fb_builduser="AcJgfPtQbo4OGbxvfxchtpjtB2jAqsKRYm0-Nkil4DF1t6g7Rh-2zi060FF293REyuY"; e_fb_httpversion="AcKCIru-hHGUKir_xU1EhoSormcsXu9lCbF_xawVZ3uZyDTYN2jDELIu27SS"; e_fb_binaryversion="AcK_tHfV48XV-LUqsDjNczUC1YJRU1Gt-LAL9IKESAbO3lNb7HrmsR9hgKU7Wwrxl2IKqSeIrHObGBvGERm-bMa7LO-U-Y7RWaE"; e_proxy="AcImPedpcyjLIChJBCKcLYhtQi6vDNOm-sLKYRk1VVnuUbAmRnTrxdbXwK_sw2ZITSiXTc_AmafVhrc8njm7", http_request_error; e_fb_configversion="AcJKClEtIOLzwk6B--Ad6QY6dJt84YBat0HUtHxLYHePXtcsvXySh9uhnCWNlg"; e_clientaddr="AcLAc9n-j4CcfL4DoHQWdX7dqMs6_lflQehLqQDhlSCNbOvjbSI8PdLF-rr4Ud1Sy5q6VVJ3W6AWBUXsYA"; e_fb_vipport="AcIZkovqnNRMEV7p9SVL3C5QyDVnqcw9qfc0LHyGrSRWllDo2uuw1tTHcGWi"; e_upip="AcKhvxcuTg-ipq0ZWSc2EjUPOzRzpjqUbAOfndh8fFhdkw8oZkp-jH6KP_D7Aw7Iqp82_kMVJl6KvgJZIf6d8LEorL6VMuvYMw"; e_fb_requestsequencenumber="AcIhnyZakEMNDHa0noabhscnLnf0FZvgMjFHfvrT2RzQ8P6JBTJi8V7KqA"; e_fb_hostheader="AcLwkUImVtcSTo29JfWmp_U-RSoNekbPgNPDn3URaM4ZoxXGNNOFNN_kbtFWQdSJ5bgks7fe70q3PwjL"; e_fb_vipaddr="AcKmyuyBEIG6m6LTROwxlRIpfn9lOTuY_VIR5ac3I8L9nWcUV0uj1Pj_zeKqbZ4T7N1Ii9Y"; e_fb_requesthandler="AcKse4_Y-NXRokH12UNo7zqEXsjm41aRPxh7WT1ViriR8FMT6KmW2bi1JbLP5Yj1mI2254rk-a0"; e_fb_requesttime="AcIY7jahkDonrMHt9ul7TOhISQ8wTqdB1uMLmlbeYoMAFJJIQGxG5VJHQLaE0sLWvBhV4x6apw"; e_fb_builduser="AcKg9kh50vhuDctOUR8q8DJs5Qxze1fI7ndSufJYz0WZyC1hFz1mtdaNk2BY7rGcAFg"; e_fb_httpversion="AcIkm9Z_h0pTV-hGXJq-aMIMor44pHjyBvXTCIvJt5OfPVRvSUeq46BPKB9s"; e_fb_binaryversion="AcLEghDQEsQ_0SaRz0ekACFdbwzCwQkU-JAKhAWx_kXBUaJK1A2CMsbdTs7wggpM9Y-4mq5Ud7eOHR33GbzuC8aXYuq23fbukYY"; e_proxy="AcIXv2gBECBTGVx-nIDnSOmpZ7C-vQuiPvnUjn3XdD5lFds2NxYsCqHpXuj3xq-xwKv5AmF5oc7HNwlQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7455211341205780"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 16:14:01: Error on controller payload Input Treatment=> type not found 03/31/2024 16:14:02: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6968933676545235?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15820161, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6968933676545235?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6968933676545235?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6968933676545235?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6968933676545235?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ai80RbUws5ibZh5TvCSsjCp', 'x-fb-trace-id': 'BebKn9RzgaB', 'x-fb-rev': '1012440921', 'x-fb-debug': '9G4jHvIOTiV/0MUwYvboyM0zgIm07Ps0BiRzoqQlJTbxXsHqPNSxYQaxJy2D5GUgq+RLH1MKGDWFprrKwga04w==', date: 'Sun, 31 Mar 2024 16:14:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL3Gr_V_X_2UxXCD2bhNOk44X8Ntbb3nYHnCLmpoYe65lpvEdM0xQnvYoAGoQ"; e_clientaddr="AcKy2LLFZ-MEvLQDlJmyuRYy1SC5l2AE04Ne0R-e2scX2hgRevBBhzI9XJN8MuZBlR-FdvsDCX620ughyNlLdDSdtoeeLyhJfDNIFBInrWdECNwchg"; e_fb_vipport="AcJDcagNmRSBiCO5UQoB4wpl8LIgYtaTWEW9yqdNEWbh3IrjAQ7A1JS6BFBv"; e_upip="AcLZjCXq__VIm9U_Dajm3jPW69ytRxN75ftG12LNnVwhAJ6v3vG6F80-kq0fALCn4i6EweYgULpChBZOFyht3wxJolnLBUp4vgI"; e_fb_requestsequencenumber="AcI1ASTGimDpfD2BBmKbN9Qj8Zw20p7MNTGJXZdma-E_JnZODRCtpIqNRNWxyA"; e_fb_hostheader="AcJhm3UigKhLMaMyBpoCLz1FIGHZ1co0KQvuxiwp-l7xhv2WpnzvyyARzIKEjn4geujw1Kcx2Trwxd2q"; e_fb_vipaddr="AcKSrwy4P1mG6B8K4d7g3_HqLNxgYwEvuRJbhUbl-RgCnC1JOk5KncAM_Py5rl7IEy5Rw9F5IPP2R7xC7z3Sak5Y34u2H2eKYg"; e_fb_requesthandler="AcK4nqsX6n-Dniy-F3uOZQHj-QuBSr8gIumNurS0RXMdo3N7QGOARnnNePfgNpMLzPuHL7NEdZc"; e_fb_requesttime="AcKmlWU23gxYVSdEDorF2eyI6j7zC8sX0gDK1BfzIYYT_NwFvjodYiXkzvyrcKlZa1Xsw6Z4pA"; e_fb_builduser="AcKEycU7rgAqBeKU9Uj3_UZnukBOJHk_bTQ7KJnhiNKpJknZnyXiBCKQi7eC5uvm7T0"; e_fb_httpversion="AcIIjgj54lLQ7kq3IakLvCc4aFIsVLfsg_Bagm5LNFaGva-h7wY24k5JXdmj"; e_fb_binaryversion="AcJivXOraNs72u7jV5PS4fpCp6fUO2mA4icwcUjEPoWjVo1hwj8WamvOZQlbmgzrAlc4AwOF8_TaDGzY9uiq7WocEl2E0bzZ0YI"; e_proxy="AcLYvAwhIj-WRlWqbvzissKCfMVb0w0BjSGdyh-Jq-rCE6ayk7xqgj3S6EyouLC6Jyl7MUKee1xgAMoZ-DZ0", http_request_error; e_fb_configversion="AcKsjWAemqqSss_mjf0nTvjlhT0xFHPmMpcY8LpQZZc6cLmOSTROEY5eYCiU7w"; e_clientaddr="AcJ34hZ0_xdC24TF5iVBXzTdvZ5fJKYmAiAiNplebbf2a8ONx1lvp9YZTRADL7zvBT07ANepWXNJO0bflA"; e_fb_vipport="AcJuPeNzz-e63LrYYcu07MNn0jOclS5RqEOwwtL_A3Ssh6DqvB8Qla2XqW_1"; e_upip="AcKiD5pxV0aLXF7S6djs_J4SIKuFAAUJ6mGbQyQ2NR3FQDj-B2XDB-4iF3QoRoyfuXfPSWFXRuKGR3OrPlyT3-eEnZoa3Jt0rg"; e_fb_requestsequencenumber="AcI25iojSiekuP3jgSEw6fdduZqEY-pgxqJfzuq1C4CeooLefPWlzd3ocQ"; e_fb_hostheader="AcJ_-ZCyEjPRZaUnNkNd-VeAsFD0D-nXGnlZxg-RSnsKQT36bJ9azNm43zyFZb373b0lTgh39nGyRrdS"; e_fb_vipaddr="AcIh79iXqveMMC8JV_OKomOaF8aResecdZiss8YlLJkvUwkbCTn8YDfZfuipwbSyW6iQorU"; e_fb_requesthandler="AcIwv8IO0WhN6U3a0KvWlfxKyqUELU16F9NjycunrHoqvwj0cKVD5Oc9nZzwMayneoh-Vmy8y9I"; e_fb_requesttime="AcJPJ4tmRlX37qVjQxfYNNjmpgS0fCr1jAOv29HJzvYDc9_AhSrjJdJNxuiU51Kh40JuX6r7Ig"; e_fb_builduser="AcJ9MU6BN8AtzT4tYNm1hR9E-2NKUKYajAuNsRob4pKjNb98KQeFeQ8JynXqQC5YVBA"; e_fb_httpversion="AcKKPcCk2G79DBKwxHE8OtJmG0QIFb0mAuhAO6lbiiQZB_WcS21mwkORmYji"; e_fb_binaryversion="AcIKznIOHZ0cgGxxRyOvtb2cMh42DMqHJbCImRwFN2WUMkrjBYRgOjxerCLZyZ_I4LXuR3iFjqzVigS33rHjumkjSTrTt_9qaEc"; e_proxy="AcITvjEtNzPCmJwEgjtULgnYgRG7w3BHwt2UukceYRnOGq1o2WFWTGnslTSRwMhsw6eQk0b2NuLR9Ik"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=311, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6968933676545235?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6968933676545235?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6968933676545235?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 16:14:02: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/31/2024 16:14:02: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 03/31/2024 16:14:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 03/31/2024 16:14:02: Error on send one message facebookId => 6968933676545235 03/31/2024 16:14:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2z6P26lNuszNNZJXI3m173" } } 03/31/2024 16:14:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"6968933676545235"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15820279, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATg4yv12jprRcSjQoC7vG9P', 'x-fb-trace-id': 'GMt/LCcgvfV', 'x-fb-rev': '1012440921', 'x-fb-debug': 'k+m7CmfaNv8i76sBpXhftthVw6NkQuq1idejAbShqtwV8XgAwyi88PJjfQnDUETiQTTYU2fQeJoUIYGtBQ+B8Q==', date: 'Sun, 31 Mar 2024 16:14:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKYLnu3OP2yFZ73JmLiy9RjljgRr7XlYHsuOsCHoUSOPKaJVpf5RttoSt3oeg"; e_clientaddr="AcJc1I2nMOyWArOxt6rKhh3s1qUGTp6rwG_5M8JvEbviLVwFfwjST9LsAQQAzdRdFLGDoXwfNrFaJcvB6hkL3DbSu7_ORQOOexdwQaNBgonwvSwYtw"; e_fb_vipport="AcKpVVxv7gN416Bm8rJ51y6qbxCjgkdZcMZ1T8ZAWI1P3Jc8wuHEX0Jmz5yn"; e_upip="AcK3nSL6p3IgZW_RHn7c8TbTTEevP0WZIwe44Dm1TlfO9Yj45lupceOFAlsgAZKnjhNzEqS3RJXkLw7gOGKNgmN_vtDOvzgb95A"; e_fb_requestsequencenumber="AcJOYTDvpO_-5m7gRPrGG2tu8-RFEFUWjAjRF3Z1KKiMyVTU-Ung8B5lZ8L2"; e_fb_hostheader="AcJCECwMn97ZJirvcJYoJBQneSy6fl_fN0WQDt6KRmcDEZwf89oDN0OCuiOaQWNdgaRyHH_MPwnea2uo"; e_fb_vipaddr="AcJdjrcCvXmR4dtx_T6mndOVQg2U8RpELOSSM6woUPgTfbXZrRzPmnmvLL-JOLFsm5FB-0Yd1Gu3b7bVXO6wk7r4WaXWcSXlpw"; e_fb_requesthandler="AcK3bLi-yhr4fp1iVvsF78qhnLnhsCW5RIu14-6CsWAh-c7Xq5oBHO1bf9g8K3jBQtF3oVxKL6Q"; e_fb_requesttime="AcJ-Jl413QeTNCVnwZ4llWq4IVChn45_xagxgG4b3L9VlXcnLTPHrwkF8yrd3Byt-V71Fs7iHQ"; e_fb_builduser="AcLMRm0SDG9fzMDYrHh1BUE1X6KE6ZVkIWjJoHrtSWCOqnENlR59lslps8NAi_t8v40"; e_fb_httpversion="AcIdxctR48nM5BqWLVGtYG70n_xs6CqkExk37eFr0E4THwj_VJ1DD3FFMZPX"; e_fb_binaryversion="AcIsXtnrFWA8azzT0iuFxWP_1KXlQGMkgX9vJQJjJ9N-OB0sn-IZPv9ke8HwifXB7-oRPHEw1hP1tW9CIhvC21fVG2t62O4_HgA"; e_proxy="AcL0nJ21WzIU6JOw9Da6UJbG7LAN-47Q_HW1zNUxClIzhgVxuHsdPQcg1iV1T2UgSDXi00BiGMwfyMg9hWEk", http_request_error; e_fb_configversion="AcIyI0kwYjED0DwXLnJIWxWabyy4uhbmRNrPadL4jXmGNdP4lodS1eqY77GQGA"; e_clientaddr="AcLUEpt_TFtwy0YyMzxzw1YPKWk4YqE-quk985Pn1hHlili83vMatR_6_IiWJZBQRm_GqOqZxNd6Ecbj0A"; e_fb_vipport="AcLDRcrrkzep33Zay7p5y8CIGITc2p4HXx-SpVu_QINxVvKlovuG04-Ugn-b"; e_upip="AcJCwZOfEOxGYHiN_jqP4FmWSE5B8_ssH2LhprNIAs9Pmp-roFafNWiYIbx3NVsVnsIULx80f14fV8B5SvSYY3g5NbI5wGNieA"; e_fb_requestsequencenumber="AcKfD3YxSlkIU30DHdrdmxzFpKUYzTI9YiStAtXjI2eeDTdFMvcskdqrSw"; e_fb_hostheader="AcJiWd0dsYjrzeKOBPf8cUgF8qtnhWmsowabKdEqzJKhQ6MSpx43UiKiLMym0w2LWyvZYDgNuq-8OEro"; e_fb_vipaddr="AcLYKQPiViAzMfvpdmrJcPpoXGKLIoO0-Q9oqrLjnPHfTV6fxfkRI_i0L3kgNckS-mW6v4E"; e_fb_requesthandler="AcLGkWrEz14m8opWK1HKBqqSYVJLcl2M6c7uCxArzhb1nmFnvTsB08tMQe1-HiE5jIzEd7X17e0"; e_fb_requesttime="AcLJ64FmSyFBQWf52KiDw6lNqpUSsDwoDomTfIOwBrcd_fgg8LMK_w1bTNkrjNxyy7k2LnNBTA"; e_fb_builduser="AcLbI9ZDIbRM8SdvNGaSwJavGTPAO6KeRtx_rMZcTrNkdUF9T2CEieKNt3Jb0vv07ps"; e_fb_httpversion="AcIU_JSNtWz0XY0hDcfPn_OVnAHb0mN7vCZi00tCD-oj7qgcZY5l2j0379Yf"; e_fb_binaryversion="AcLcIYACyg0Xh2RhR3B2ErBqLupeJGv0u0SOoBvdRzZYlF_QR_J0w7rGAVt2EjDVqzxF8fyUhuJ-gqDSKk-rgDboZbFNqf2KJYw"; e_proxy="AcJPEvRAAuK-VKkN8QuuidB4MnOQAaBGX0bgmpsnkKnYxoaHhbjlJIY6QKDxKfKqCtHhODRGFjrgsqw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=187, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"6968933676545235"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 16:14:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 03/31/2024 16:14:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"6968933676545235"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15820356, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-CzxfDT2wQLBarsqjB6qjk', 'x-fb-trace-id': 'GsStNB8jaag', 'x-fb-rev': '1012440921', 'x-fb-debug': 'CvSfEuggDu8DzmHb7Ddy3lezl/WhzwwXqzgnnU4cW4W78pcnXa3NXkZdSXTGh/yQVgQEPoE37PMuX2mY8P12Lg==', date: 'Sun, 31 Mar 2024 16:14:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJXJhztsoNzMIAsLv_ErvJsqBrkEafuuVaBNla_yHihXuXz-ZDApQlBfFA93w"; e_clientaddr="AcK7YZsiK4rA7gumXY9V5DbVTZQS1-U642wcfLZOyFx-nvnMAX6otltj3e4iPeRn0Tr3Oe16UQXPQvTthL4jpb4o9oghiMok_nTxMp1HHoSfwOXRmw"; e_fb_vipport="AcKUML0ywAnIU592SkL3ReBdu8dZKawiQKCczQ2XDNMgZb6Sgok5IORCdWbH"; e_upip="AcKBYMq62QA_IYTjwSvcXMkQQmRoyFWDI7_Exkb_NnLSuBeDbAZ_THwwHtKpQQ9IYaE00235QAp_cvoL54V2yat55Cjp4N9PIm8"; e_fb_requestsequencenumber="AcK6X-AHNGE5Rets0lZvJAsrNaZo8kYOFwpK-TkIgLPe_1IXY7xzMiOrRDiPWw"; e_fb_hostheader="AcKd2W0fPg3FdBS5JiG9SiPq5NcQbw99Z_rVUevzS8q6FqrYGl0ujWtQIcrzZFoTQZeWC1ST-XsUTgEf"; e_fb_vipaddr="AcLJ-o2rxnFr_-nCI4n9L5QXjy1WQUIT63PNiNNg9IXDuBvFNvaAQwy6XyJUcaGSNr0570DZBRzcfE3T2PFQVr_qQyhv_pELPQ"; e_fb_requesthandler="AcLhXc6RnCR2sZcbL38f7beEwB45X6nRxk6JEUgkNrIJhlst0yNZySAdcI8xguSbUIAUVF2K13c"; e_fb_requesttime="AcI2_Lh8NqeXP9l5GRWIXgblUZJpGL5EXHPvZj23gN4hCYxwKJ5EtkTphr9fgUNPyaj8Ny13aw"; e_fb_builduser="AcKA02g-ayNeDmlB7A_b-2S685AyQ_hb895Ye_kYneH4BAW4qAho9vHjNSu3oB8SkoU"; e_fb_httpversion="AcLf82BCozKJZOjhmHd5iSLo8-gCmjzDPFjuD42qgk40IOMDGui9NVsMsW7Q"; e_fb_binaryversion="AcI78NV7UOVhK9Ne83yTfOhxnZGS0X-L3DeBqgt5cPoG5crQ1HUmr8qh4M9wAWye2UMTD4K6Q87h6dA5s8qweTwQEQ542EbcGyc"; e_proxy="AcLSbZ5TovfJhTpG2caSGsF5bh7mvckgw48BRu9hCw6V-LNfRMJa-7HNt6LFH-GkFkE6vsELQN7qZAxbLvJt", http_request_error; e_fb_configversion="AcJnZjW1nDWUZifwluTDnrtLWSztkkluT3rRhlARIFzrOWNdhLdAQQrvnPhvTw"; e_clientaddr="AcJ6onrzR2-LK3bdmdjmf8BCI1tA_1IJU0EnAfVhjh_AuSDbCLiRSY-h2BcoefjZDuiPSY1V9tYJrwQrEw"; e_fb_vipport="AcLCD3iCqHTlek4Npadq3Czpvgm63OXK3MzmnBF0MSsApxb_RMyJ2LaRo7qf"; e_upip="AcI0rLwq5r6WkJbMIGAIRp0Ic2UnlofhfqzuaCTLNJFDwGyp8VZqjqnvsR-OWheveNiZjOHiUpl424dX047Dd9UEcWgcz-MNUg"; e_fb_requestsequencenumber="AcJfpeHxT_MCjJmmLn7oUFryA48uZLnO5IkZgy3oU5ga_r9hN0RAd8qgiA"; e_fb_hostheader="AcJlk87gvIDJqMTikfNF5jFB1pTgpQ5FtLmUcjxx-Avmyj7kJFNrBHkyyP_IeFtKoZKsv5KAry5iv8E9"; e_fb_vipaddr="AcKtnJ8XWvFgxCQHUkfp7sGu1kMbfkKuWX1ju7yjIuotILSNj9WiywBIQ5Rf2MnnDvqLqL8"; e_fb_requesthandler="AcKgp_yq5Ccix0d5JKzlewIN1kg4XuVpu21SIiKdqS_kCt27sAeTR_JZqYdx2d1XehS8NZpZo7w"; e_fb_requesttime="AcK8tISHhzmsT3FEbMzOZQ8X6rVmOncdqeJ37_RU9VVice1NFMN_hBa8SwSBtWiNF4v5n31VHA"; e_fb_builduser="AcLnZLu0VthCAC_0YcD7hoqHA6EW40jsRETb2OwpbybibexCWeJkzoyZglqfnDKp9iQ"; e_fb_httpversion="AcJ_CSzee7OpJEy2KGxq-CkohhrR2uX3Xu4W-HoFRO-864DNB4JnNCdIo5Em"; e_fb_binaryversion="AcJTy7fA94xD_UBviI3wbe7UuytfDv3z6puPoyAS7O6AA9wM7Q612q9nUYX6KtntO7Jodag6wT6dEXamV7mcbFuIYcoNjT2MzAo"; e_proxy="AcLHPia2MRUusoQ0AgRsqotxtZfyQ4uYUOL72ORR-UJtvx-r0DiqJh5abHbbVe6P7tn1BnGMCyeZ988"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"6968933676545235"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 16:14:02: Error on send one message facebookId => 6968933676545235 03/31/2024 16:14:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJibj-tOwx2v-9iC6Xz_qeM" } } 03/31/2024 16:14:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 03/31/2024 16:14:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"6968933676545235"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 15820471, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmN5devq7mcs2BU2zdQwDIZ', 'x-fb-trace-id': 'B+swQbVjtx9', 'x-fb-rev': '1012440921', 'x-fb-debug': 'AJtGHfhY5bdmU+BFVxrPDHJw6r/QkzkgoKKNNCtLZnb0nlnlfRyRq+4vIivRl4KXnXru0gC7s1z6u+k68h9VcA==', date: 'Sun, 31 Mar 2024 16:14:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKR0zbvaykbTqLo8lCItn07mV1uvJmy2BnlYJ5tzhjDEJ0Ix721_CKNpcuMNg"; e_clientaddr="AcKlH67CzbY2eqYCgGQ3P2WpSbeXTjpZB8i6sd86M1-hvQ63ER_JFAfUJG6mvfEsMxjVHhucgBXQdoz7wjfqk-svFmqYegalvb1k5XFGAXSBIRosKg"; e_fb_vipport="AcLckmFoTuja27hTbmHMzjgoSVv3h1uqtvJqtdsYxLD5UBpdx345_gUrhbJA"; e_upip="AcIoU60mvKxIgxy2EVPQu9bKO_tvV3n7u7mrU344qryRuk8VY_Cl211GKQ1Xc3Wf1cvzV2o6AZdpPvGs7zSV7EBv_ToWLySYjyA"; e_fb_requestsequencenumber="AcLsW479mGgfhOiZTbGZd8ERWjfZsUxABg3u1j7NrcUJNWnFde1HfTniItP3"; e_fb_hostheader="AcJzmS9RqIAbtldssjnDc2go9AadDGwHIRF4DzM-P0ROP0KmLnOFSd-4QaVAMNZ93NBPs2fMqOP9cRPX"; e_fb_vipaddr="AcIqAxXuDlT4LouP9x9k5QPhOZFsaAdRbnxQLZyC9Fd-MH9xWvKPYT3ZLWOdKYoW92QKdlQQbnMnegpi7yagmDecekJBxVWi3g"; e_fb_requesthandler="AcLsI1PgxhxN-CxnX4oT_fEDMZpJ-bGZ0U7sLj4s1Af4xfmMzmPlzwJizMSNgoLxhfw_mCPbZ_0"; e_fb_requesttime="AcICjU77747spgeUyLjUI2_2AE9YK1KIiz7BX9jCQodjIVTi7Rz8B66ZfLCAwkoruHR0xj1VPg"; e_fb_builduser="AcJaXFyW_BQrksQj768ThebvGNbdN7oNQ5qGIWSz6MuYJFQBXkIcUSfO2bN7C0a3VbA"; e_fb_httpversion="AcLBQOHsTBmYxbWpHh5ogyUieUeyxFt43HH_pNRJmQKBXITnScTR_1H0AKbO"; e_fb_binaryversion="AcJZ-BqfqEOFNViTlCGmYNUv-vlXvr-aAc0Nf7wi9kc_LtOV0CCOqaIpEWB2mZoKVdrBmq9ikU2ATQUBz3PNHK2qfF_gp7_Jd0A"; e_proxy="AcKOubUSunv_Zd0ErztS7AQzSKWKmVk_-yglPPJb5p6YrDqWPyumqfKniCGDrRyFmfQgtPw71dj45Jz5TtDw", http_request_error; e_fb_configversion="AcKWgbFnUsHu-moX4kIYvPXrfZpJtwApS-NcoTwQn_1VlWRs9gElVCiwxiuiIQ"; e_clientaddr="AcJyuHuinFoiXCBGCs2sBS41MiWoNaDrc12OpIO4-rzrf9E_81ZSbenz0XoZ-RZBvlWttkpHbuH54lp7ZQ"; e_fb_vipport="AcKvPuJu2Lyx4FQ9b-usoq7BagSA5Rp6zGaflP3k0hdAE063NuafxhyuQShu"; e_upip="AcIBuG1uZ0daINvUE9iYfEezwrjmGRXC72jRh7AJ5ijL59ZtyXvggVUSLrEM-r-rerwyo9iSDigsK382BlyxGynXuqkyfsM9mQ"; e_fb_requestsequencenumber="AcLx0VdxQkTW2mKjcLn1nUAtdJJLpLoGntEJDLqFlDIlUK939hGRVYp4hA"; e_fb_hostheader="AcJSGTpqr_tkMabuExBCQwy09JdTW1I-7pQT3F8rflI4IcJm-euCoR1Bi3smeGEmS5wN8qekbw78Hv3f"; e_fb_vipaddr="AcJMGeDZqyVG-QjaqUX8j-iKukq7UxAGM002qhG33w1FFYrWfAFGVXzdJ53ujv1dwwJvJr0"; e_fb_requesthandler="AcI0g0k38oELe4wh8by8QJY8HV7QRuyA5JmmM3wcJO2ZT-G_sP8F73yBAtu0FKkuvSqkRxlXMfo"; e_fb_requesttime="AcLl--PYowbk2Yh7GM5NYPt0jpb8gK2xPka0C9nZYv9yCmOONI5RPnzyga-5aFpoSOK_K4O2cA"; e_fb_builduser="AcLd8grWwHpnNbT-SFrritzncv8kgi-E4_XeB6mVi57fMt9Nmt4Gf-10Hbab8VkwHJ0"; e_fb_httpversion="AcIkp7FAxItPCwdQsSrsXmJeKeFy6S4WKVY2XFbISOsrzC2tDtFUx7DG4U8O"; e_fb_binaryversion="AcJy_sufhtjviFylUMrHKn1mMbsHY-sdOY9fMkdiifO_Pk1-1f2XbLR4C2wdVS1h_mDK2Wp4r3Q77-fI6xBEUNbjqEb2McUvRYo"; e_proxy="AcI7t3Zhy7bdVaSr0AUVVYkGszwvyYlAKzOZnTh0T0-No8gpvOW1ZQfKu4jFa32pNk-LuHBW0mMaJAY"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"6968933676545235"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 03/31/2024 18:24:01: Request bot not found: { id: '133788230054854' } 03/31/2024 18:24:45: Request bot not found: { id: '133788230054854' } 03/31/2024 18:25:11: Request bot not found: { id: '133788230054854' } 03/31/2024 18:25:15: Request bot not found: { id: '133788230054854' } 03/31/2024 18:25:26: Request bot not found: { id: '133788230054854' } 03/31/2024 18:25:46: Request bot not found: { id: '133788230054854' } 03/31/2024 18:26:21: Request bot not found: { id: '133788230054854' } 03/31/2024 18:26:30: Request bot not found: { id: '133788230054854' } 03/31/2024 18:26:42: Request bot not found: { id: '133788230054854' } 03/31/2024 18:26:49: Request bot not found: { id: '133788230054854' } 03/31/2024 18:27:17: Request bot not found: { id: '133788230054854' } 03/31/2024 18:27:32: Request bot not found: { id: '133788230054854' } 03/31/2024 18:27:42: Request bot not found: { id: '133788230054854' } 03/31/2024 18:27:54: Request bot not found: { id: '133788230054854' } 03/31/2024 18:28:09: Request bot not found: { id: '133788230054854' } 03/31/2024 18:28:10: Request bot not found: { id: '133788230054854' } 03/31/2024 18:28:11: Request bot not found: { id: '133788230054854' } 03/31/2024 18:28:13: Request bot not found: { id: '133788230054854' } 03/31/2024 18:28:16: Request bot not found: { id: '133788230054854' } 03/31/2024 18:37:15: Request bot not found: { id: '133788230054854' } 03/31/2024 18:37:27: Request bot not found: { id: '133788230054854' } 03/31/2024 18:37:36: Request bot not found: { id: '133788230054854' } 03/31/2024 23:22:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/31/2024 23:23:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 03/31/2024 23:24:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/01/2024 00:22:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/01/2024 00:23:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/01/2024 00:24:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/01/2024 05:13:56: Request bot not found: { id: '917983134950234' } 04/01/2024 11:54:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 11:54:45: Error on send one message facebookId => 1641058525956298 04/01/2024 11:54:45: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "A0hdHw6D18_zw1UzfC-ZYnI" } } 04/01/2024 11:54:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 11:54:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 11:54:45: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 12:20:38: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/24960045023642893?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16025380, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /24960045023642893?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24960045023642893?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/24960045023642893?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/24960045023642893?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxEj5dFf7w0rgk9eQ2dabIR', 'x-fb-trace-id': 'BgzyhEtZSH3', 'x-fb-rev': '1012447370', 'x-fb-debug': 'RaTg+q/Gogq+giTMEKghIuXoye/9PDjh0hT1+8IyLUnbe8dX2Q/zkp83PLsNimYYEKxvmFNDU93QpuK0ezC6Pw==', date: 'Mon, 01 Apr 2024 12:20:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLk2kYt4q1eBIWj5i6Mr2JUOdafJH2IXr6-tl0kkKvmZY1TSC0MDzVO1lfjuA"; e_clientaddr="AcIdBvCKc2kpVLnpGtBfgthRAEBxZ3NrovW3fNyLM8Xk12xe8nq70qgQ6dH9nw8aITW_keDBMQ6x13jxnNsIOoyBTL3clKcypbzdojR-gOW58Tnb"; e_fb_vipport="AcJ6Ib17LBauujP_4aAGHh6OG0J0QCes7QuqM0Go5AK-DC2xNEP8OCOf2GhI"; e_upip="AcJNM1OykDQk6G606xvHAZZR8konNgOanWmUcMlSIGh44HDWSe60pc5SDrddoO2uLSqo46cedDCuFCYLPcfJTNEO2vAQafjkT7Y"; e_fb_requestsequencenumber="AcKpYXz3X7yPg8jZoY6AnHFr052O-2Go8WQwwSQi5SjM50tdD2tFd2y1KXdr"; e_fb_hostheader="AcLaR44DIVAOkZ0cKM9jJxZbMzzteCNfXV0FDKPEiqe8bEhxXzttCb2I1GUHpg-6rjfEj2SdqPLmNEOP"; e_fb_vipaddr="AcKiopv7z0PJnKd5DJpRBuoj8VBRvNsAkut0lXLB5E9t_08-pRSqADaj8n_J0Aqmlvhg4uB0EUeQwYrrCd2Yrm3hvn2Co30RLQ"; e_fb_requesthandler="AcKRjJA-2fxqAMNyN0bATh8d_-PE1T9ueUyHl0NOnA_rr6RK3BhO3JAbhfLSAwpSyXuH7oZ4hy0"; e_fb_requesttime="AcK7xA5xdvAT3BxdeklV0DwnMQCFsduzcP1pUhlcp5nD5IxABX28jeE0FJpCv0FGGvWWV9mOQA"; e_fb_builduser="AcJjgerU_W3BNC8x1X2q4YGfQt_R10Lb3WOhOGxvU2jSX-wCYUcjycpAq2Dfxag2zC0"; e_fb_httpversion="AcLHqylKDVFempRm4mvFiFpBDfUpJs_ebtRu4HwZZWaq36frhYEqqNj0XVEg"; e_fb_binaryversion="AcKWiiFXjOBCzAUrWbmazKGMdKottX7PXIklVVNWoNS0v6s87I958cGJOxX28YWdDwW7nbhKOGghmRTqnWmgngXTL1B3MW1r7zc"; e_proxy="AcIySG3-0FA3agE2qEOhLyaRsk0_FEIIWHyEI2MKfy-wdm3aa6h2o9dhI52TxJn2LbNfBj6YdxQUJR0hM36E", http_request_error; e_fb_configversion="AcLf8GYD6LkHpOPH9a5HU0gZuGe3FkO-XTqXYkCPlfKPWIKb6o2Qb4cNPip-bA"; e_clientaddr="AcJN0p0d7mSYXh9V2Ke19R228rPHmrEmXgiLood__fcf0GhI5TKX6Q4Ur2_U1HG1Nr2jgF_zEBHqEtrVJw"; e_fb_vipport="AcJzs3e9J2ju_Vfu_gTDMQgrZc8j-GtYRRBc4tOmTG8f_Lq_UFp1gq5uJXuT"; e_upip="AcKDnKmnUrKB7wMA-b0TAHvlfLJ1n-xNY9kHn4TukjVDf7QuFbTRCIQldxDufZE27I8qm-Mde5zJ7s7F3N1wcKWHGleYMZE8zA"; e_fb_requestsequencenumber="AcKpXqXNA98pDlZVEYZ9OKc2oQ6SDVW9CaCdTud1QZ6IvhEK9HKFngTi6Q"; e_fb_hostheader="AcI5Zy_qUH3gXJoaRN6PiyEBWl1qEFxlLnolDyO3MFzS4-K94pdlvHj7jGM3Sx_iP78W9YKtc9r3mjDT"; e_fb_vipaddr="AcL6YKhIVFolmaQ9DiYYRT9xsJPCpD_Z8LHDGTjaQnuTnd_qP3VDyc7PSGlZlsPVEEXjedw"; e_fb_requesthandler="AcJX3TC0ZAWfIVitqjZKjH64QplO2aU_ZqtwsVkKquGn6mfyYkBnFD7oF-Y1LES_U3fmY0BSql4"; e_fb_requesttime="AcKE6sBgAL7hIXKIbFgjLMn4RD3MptEbWRtExIsnZ2k7_E_L3xW21N2MwsqSt7_z3Nhgryv-bQ"; e_fb_builduser="AcIMj9jNvw2a01LJc-H797SELvRe2Cqv7GMc4J-l2SeScB9upQ1vGCa-ss-aGz_EUrU"; e_fb_httpversion="AcJgErO5UJHyOz9267ua64WMd_3T5ljAWN08TD30cDmy0Xpj1qZvjEujoExL"; e_fb_binaryversion="AcIt9Q7fyGl8_3Um1GLhY56rM9LRkT0VrQYqV0IDQryWO9sOuTtipPcT2ZbWBnl6-xUEyK9gU8I-iLlAPWHv1HZX4zu8iF7c2W0"; e_proxy="AcKtW_vsnb6OnNSEtV2ulsdNGtkjcioJLD9k_jdw0sQXQAdEXWGCeTPtw4qWSEmmGB6SPxp0gdvRGn4"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=253, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/24960045023642893?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /24960045023642893?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/24960045023642893?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 12:20:38: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/01/2024 12:20:38: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/01/2024 12:20:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24960045023642893"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16025500, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AY1hnZwinLE3SCmuY_gvQ-6', 'x-fb-trace-id': 'H6UHnu2CfHd', 'x-fb-rev': '1012447370', 'x-fb-debug': 'O0mRJjJ9tFyF6CWfeSzOfJu3Sut+STy3fH9gzUh4DOpRw9DcfY5jQiplI5ehDvg0o5QymHXUtKUA4kA7uFnoSQ==', date: 'Mon, 01 Apr 2024 12:20:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLraFHevgojJtkBvtQQDl4kJxSf6KUg5xEvmkk2ry7u679VKf5AQbxrebt9bA"; e_clientaddr="AcIX5OsEcsRYHJPJaTrRLZ6bCt4QHjvKDiImGjPJRt02OdO6g18wRfj0qDycBZTNFHcN9FYaf--fvTjcszkgLZTjmZnY3XiyO_w6Rj12jOktIjUs"; e_fb_vipport="AcLTTaJdK1QSCMFnX-rgt3SXhWLjoiH3NlxXyev7cNrp_DeaMCFDled5-wBf"; e_upip="AcIenxOj4zOjSF3vzAD2AyX7knPKxNTMqZmi9CJXZEnjivLFVrwu690mI1OcQqwJl5_ztFhIHoKZOtOHpY3fP6FNUH09rN60hsk"; e_fb_requestsequencenumber="AcIpnEG7DEwUIsjaMCvnzdXPy8Ck8pYPdoG1t8TxfLiDK5XJPdpPI4B4gsyjPA"; e_fb_hostheader="AcJOPCfWEdsnAMqETtepYSIPqI1Z3eWIJ1k__ludgVab7yFNY_PQz5saLxzWapeWEdLK8PS7PcvQ9hUQ"; e_fb_vipaddr="AcJ3MeBLz4UcTN18w1T1c7on8jLzNmAYboyAYkWSdgMceaAxJaImhuGsFJDB00HuFfWstB0AcqciQ-evXKZpTrISS-_fKTcNZQ"; e_fb_requesthandler="AcJgHXBniLyHgX2TyqQomiV36IZ_x26IZgerTNmx9NU_LxlIC1hpq102QCKqxT6fDpbvd24axOI"; e_fb_requesttime="AcJvzjx3DVuNgP33SuLiYkJTKIOPgcD0g4Gu1I48zMHRZ2WfUKQyMf5Qh7MAHH4iFPlJaVP9fw"; e_fb_builduser="AcKYI-WX7XvwuNjC1a-1cZq7xQtKu7m6_XhMcK1QCiTJsfTN8W00_iRRnJPA3TSjsCY"; e_fb_httpversion="AcKvwkFBWSIWFEndg2O9-3eHI4WZcpIVqdWPWH74B-BKRbMzHchSAWvjA6hH"; e_fb_binaryversion="AcJL20mmLAvkP7cEHKYZHkqLb52hdDUPJaNNwaokFI-3fQafVK9E75jZAFJ0ZvbfHIogumFOLpo3EWzdpZUhoQt0AxwyoyXY3Ik"; e_proxy="AcJdGovxb9yQKuV1EZkY7-JlYq6fmsrBEjjOl7q2v8WYiwRMhtnYyO8gvIsQd2NpLWSli_BXywbbcyLM_kSC", http_request_error; e_fb_configversion="AcKlmbD5cQ_fmAzkFZ8_A0dTUTVxZTray2zk543CgaMglWgtXnTbcCqzYd3t2w"; e_clientaddr="AcI5UcFUPn7rm6XbhlP-67pSajSAc4dGyy05xumb_ZPXL_WSnIQhDKHuaoaLkUhryJyP8000wM7I0tFF_A"; e_fb_vipport="AcKQpY9j8WomvAMHEFxXkTj0IHBhiWu5C1adXRgQVjB3ZGrKlVAkhv0LbAdF"; e_upip="AcK3SXaBys1lc4VK82j7T29_cwvwIRG9vBspXO12sbZI53tLFHywzMuHjl5gI66OObksT6pu3m-lPZzi0cyAAXgLYoVjqa_CHA"; e_fb_requestsequencenumber="AcJQIqmQ0i2oyJ8AlP-nsRegqJEpEw5f-FSYKFboB_7H68bx50cEGKrtCQ"; e_fb_hostheader="AcI-hgw22JlmJVmMAQQKM0t0ctRVXqqMLJ1fcyr0ny3dVBN5EqvgtEfACyMOLDEFN4e-Iz4KAov-C3db"; e_fb_vipaddr="AcLFPBT0lE_w8mWjvEqUgFdKW7myhhELaOzcn4DthsY7lK-ItPl5t4YcZYBKqcqkD9bF7FQ"; e_fb_requesthandler="AcKnpvFusarj4PIjPD98qBOzD7vqVQ9WmmTrGt0P0qN-ajnHuLtpSAGDFcGoyRcd-uyEa7oW8i8"; e_fb_requesttime="AcJ9VyPPvHvMqylERlIP5dP6ZrM2ALTK6_f-3hHN6rJsg05oyy9X22gK7uaMMy8GyqUqdc19Dg"; e_fb_builduser="AcJXbDhxPbsODjET7R76Ai3YdOwC39HLZ7tFw5Gq6k87iNUUufFgh8JDljwYeOmuYcQ"; e_fb_httpversion="AcKYOMLumXAaLtusdp-7oow5IiFZjcn2XhdERCkaaekvjHNRrFb2Ec3vtuD7"; e_fb_binaryversion="AcIwUeK7lpXVbLfm44a75LM4gy_He5d8lK42VcEz5PFJ0NcvrnXRrgQLS1qf-GyOi5NwXPgLuefmH4prIV0fCQxoVldS0KKhEg8"; e_proxy="AcIEp0fkdTzsZlTB-nh1OFHIEn6L_v2e71oaFs9l8KsHN5HZiJHz5cP5eoraPJgjqAh8oRtYKM3YjPQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24960045023642893"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 12:20:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 12:20:40: Error on send one message facebookId => 24960045023642893 04/01/2024 12:20:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AbryLCAwlZ175mjQ9yXV64c" } } 04/01/2024 12:20:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/01/2024 12:20:43: Error on send one message facebookId => 24960045023642893 04/01/2024 12:20:43: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A5Mk8OLf-V2VZ6cYY8Rl1Xw" } } 04/01/2024 12:20:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24960045023642893"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16025573, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4Ze1YQH9tTud2ryQf_MQSU', 'x-fb-trace-id': 'DgmbFZt26vf', 'x-fb-rev': '1012447370', 'x-fb-debug': 'BYXM8RK/GQeA/9MmoxJwolAh2pIfMBHVWefXvc0PfRTmswWKpBVkTx7jKzqz/F6Swdc5z4yAuWTaUHMSau7k9g==', date: 'Mon, 01 Apr 2024 12:20:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLTHNDJMV8f1-V3vxePFpDA8PLRloF7uRrMmGFZ3vseVV2qHnOS7dYIbt0kCw"; e_clientaddr="AcKUW3glud3JTmm4BHBP6IAZHSh5zKS2v5wcGkxzbdDhmBUtJdSOGmDK0E8u2upvINcybNcCHzL3rngGtVQuROAtXEkXc0V6Bh4nK42a1i7hpd0Ulg"; e_fb_vipport="AcKmL757kdyeWIJHpIcS-m9VRMNwAYlya-PYQntN99Hk3t2Rr6JAZwJbaD_Y"; e_upip="AcJHrA5l03WV4Ag3ei9NsIeDwIsmJ7kdfLPvwUjTE9EGPdqKW95ayaiNXFgttF1d6Vza2PuXMIPF5gDkQHwF0GPoNMMhOZI-aeI"; e_fb_requestsequencenumber="AcL-mGCNyqpiJCnnBi3kLivOteVoYh__Uv6VcKUq2YLJ0vzTjGYH3RiOUWyu"; e_fb_hostheader="AcLpGytPgjqsUIs69OBVKopmHUfVfW5N9QCesK5TN80marmmvU_uc1PUcHuZ-UKpnUtzKzUxdNQHOuHE"; e_fb_vipaddr="AcIfTPlIgY68dMN7JAOeDhILn_YJCMrnPl2pmegVpHNgM0HqjePK6DqqraULdoS98yyy35SgyN5f1cqnpyIZOVVjBg6C-xrDsA"; e_fb_requesthandler="AcIWIl2WcjnrZBjSW-_h_bkaBlgN565MkdmnqcP3LUw4hGklJ6qdgccitmcxSkGRgYtty81x_WU"; e_fb_requesttime="AcKZSotCFheeVNj-Tly7enf-AzKA-8S7WvV1a9_IONwl5Ya8oBUL88BVHWNIymkoIxpaxg3qrA"; e_fb_builduser="AcJgh8Gpg4fqbBJwnqh43yahNHem6Wzj-EW7p47FL04caOEaztsXnGT9qh9gBDjUz9U"; e_fb_httpversion="AcLzcS8_xuDdutBrtVe0vy3Ga70Pc3wpxrtljEp0uC0s1ZhjUhUzyuquc_d3"; e_fb_binaryversion="AcLt91exoP1WaLUYwKPtdPiOC_01MvJnYNnIenwDtrsgI3t8DZll32c6wv1T1HZ6aQrUvRZ3yNT74F5XHMj6EJL4BJmzVHVQ5qU"; e_proxy="AcIeStXb6wVTCk25fmWEIidAITZt9zl8L3Cc_61jKZNDmNor4OruQ8P7FMnApeE8BDHZN6YHpzxabHKRKOJs", http_request_error; e_fb_configversion="AcK7N7aJj5UR3O8p7HmlslIdIVGO_e-nm5BAp1Dps_8NrfVx3Eb7w1k9x1dItA"; e_clientaddr="AcKZk4Vj0_FEq5D5sGCy-11ogzbnC2V9ucDf3CGBiPO1g_dcNaNIySKH8SHIFXS9v8neXp0e6bQy86XppA"; e_fb_vipport="AcJ6VKrbOCJrqmcQ4EgiMzfPb4CVMCryvP3pU3X0OKOUQaH6DHrxMcmehlZC"; e_upip="AcJ-C6JdzFHwRmfN9cewloK7__rctRFtp52pBszf5b5Y6h9V4ar_h5khIq2B9Mc0rQti2sjNa2gr4o-vGG4LR666_0ws9SMjaw"; e_fb_requestsequencenumber="AcIvnydDeO8-EFCHOhw_3eFah9shfF_ujjYZmEJG21Iu_szTt4ZGevA4ZQ"; e_fb_hostheader="AcJT2uLcUYEO5C9eyUeedTq-wQAhVApjMBSdBLDoC-hds77gLnAFxyKKP1dGQ_X5780pLYjJM5EGQUBZ"; e_fb_vipaddr="AcIGsgD9a1LN6acf8jJECD-yschoMOpPjEcNkXfCwEsF0c2bxzXD1m0tNMZjb7wlPAPOodA"; e_fb_requesthandler="AcIb5BAOy-o-uVJZwr4ACNVMMFruorPKVDM18NoYrlHNKfhgbeZr8c68LpqGAJq5-Tee-y1MrfA"; e_fb_requesttime="AcJVigy99n1WECaUfGv7DGU29ZXqpInoZu_yYe9-Tlu5wZoDkW1pZNmqMgza1S1jGUb_bXq2MQ"; e_fb_builduser="AcJgzNaWla1C9O4hwO8nFKR6mLUno_g6FvyRLtOBsUjItRNQRJsnl1YPBnIiQ8lyfhA"; e_fb_httpversion="AcLJBB7AAXtvMFl892ngGWJwXWSh6SZMtLCMyxJK-FQJidKwh0dhPt47J1un"; e_fb_binaryversion="AcK5x0fwd3vd7uiV5QTtbvLvrdeqqRkHRZvsJs634X8mP0FFmHMhTyBY7ObK7WcoM-dimnAlWBC26YAGDBXEsz4XrQ9ZAHjCXHo"; e_proxy="AcLdlqCB3ZWEVg3EuTtDYyQeRNtTSFgy_JmMFWJ59n9T42psDFff-hWqobWxIMSuaPi4hDoM263Ec8Q"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24960045023642893"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 12:20:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/01/2024 12:20:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 12:20:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24960045023642893"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16025711, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2SdHqU416HuPBjFeOFyRwS', 'x-fb-trace-id': 'G6HG5QZd18K', 'x-fb-rev': '1012447370', 'x-fb-debug': '1NR5wdRgj612i8oJ6ZRUvvlip+IUZNQrDnZCielFfz57KBwbIl6qXMoZUqSuPuxNmwyBlnW0GOsRh0QTeAAM+A==', date: 'Mon, 01 Apr 2024 12:20:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK1okHxg1ApxJnnvsBQnDr_W3z7gC1IxUKNPwnIXXpJtrWi1lLj--HrDia1eA"; e_clientaddr="AcI9voE02ExzgC-RUIvXpeQdBur5BfHLbSRWszdYyJAag74gUA4t2jcV8nMJSpUwbiS83mQVMWMnhLM3yei1GVPIV2uxF5o-QnSiorqp-bNfW2ly"; e_fb_vipport="AcJD3YjwjIpXGPru1yQkMHz7qtNjemfcwYoaJbN8EKUCTYWgkrKiOB72IqqR"; e_upip="AcIGvkaOMXm_FZUBctq2f-QoN2U2_DH1lTwBtNoPelJHIrBiZ5fpXmKasi3D6HiCCHvP_2sWKegGX9RDY-cj8WVM3Wckzqp6JA"; e_fb_requestsequencenumber="AcIkdypQ01hzGiJ4DY7LXTeAJeCndCW2HUsnZcR2iEO9r9H8VhoBvkp3BltJgA"; e_fb_hostheader="AcLcPz1_M7D3j-8CYGty9EbTRyMFctHQvdNguc0A8aYsNivsIOUfL34XwsCsM2GdWsSPytrEEylJtFft"; e_fb_vipaddr="AcKEmOA7hn5vKrZ_KWyWVpfvL63nOOVaeg3lf2Vypm64Ge2Sin_eyIeSvahPqZ9EOmlV7kDzbC4sEhB9QYqnvZviBO6KUGvyCA"; e_fb_requesthandler="AcI_wctCeEqIt7C00_zuzOgBSvphpQs39v3VcLhq1zHWoLJLa6bOCw9ZNPE0FD_QJVLKtIQ1G-g"; e_fb_requesttime="AcJqKq7TmnNn52bBon_nl6PdPwgvzGA3jUNgjNI6-rimKyVY1zZ-SRbBr8-Qv7478AaaVeo1Rw"; e_fb_builduser="AcI97_cnTdmvsQWJGpO7OYMw0pkPcaJe7jC56m3Mvc2SIcvQda2Qt4emk_r1_gtBzts"; e_fb_httpversion="AcLM5mlRoY8rV7ojJ9dlUgDselLVszYsdFUcNVZqtfCW_V-SKc94NlMibfwa"; e_fb_binaryversion="AcKZsIfn4yY3ay-pu0vEbKpxvNPCb__m83mjlXdm3zNnLQ7blEPyG-uJLBZj_xY6eZJgCdybFyXY9A0zLqDJYOLJq6Iqv5I1khA"; e_proxy="AcIQXSApiOkYo7O9WzBr1EygBkvhibO-tIarN9YXUMs7RxFhhy3x71j63QM9nKmmKErKb7-HvaNC_XDXzC3M", http_request_error; e_fb_configversion="AcJ4iUccWQ0UeLfCCzdkD25qREu7LK3jE9b2oSCjN_H73GrmSvf0XKjby34GIA"; e_clientaddr="AcJ-AoNqZOCj5cpsVF1fYv1uQodPMrRnyMtCAlhsa1q3tXWxTy3nK36lhxK8WtU1VKE-LpHNVc-SeSMHnQ"; e_fb_vipport="AcIrm833gmlJtwfbn_wsqwrKig-W_d4Vfru1oPbmkMmdhkr-mxK6GmrZXkwO"; e_upip="AcIAH1loxtPpdMmUDU1AiQEbNymx6NxJMCCuUrnCocSwkCt5Rs26OPEybboiJMEGHX9fT9K2p4WzS2pCPcZoSd3c_PMhMxYuOg"; e_fb_requestsequencenumber="AcLoMGz_WEqvh6dBBjLDJbfom8WKKGn46QqQqMc6SlGEfHhVhCN8rW2kRA"; e_fb_hostheader="AcI9PvPJHKLPjt5HyjLlT0QmWtDMXKkpNctHMf4Lexm-jgYkjcgg7pKrB6ub9BuCMGwOfOaoifE-f9zI"; e_fb_vipaddr="AcKfLSf5x4lwtYgHWqXCSnSM657lLVUZSvQN44jyuoxL1AS4u1YIvlnDouTpdI6ykLcXV_0"; e_fb_requesthandler="AcLQNyKDaQ-GPgUnA2A5feT5oSVWV5143oiSlnG7zeWIzJDY6pMwQCBY5y6vX7-DFfINJQzAYp4"; e_fb_requesttime="AcKWVauQlH0LCC92Bs76dp_pL8nIxrXty04i23nC8RcvO-ZthQTimF5d09mpMK2LNhT10rNoPw"; e_fb_builduser="AcLSo2gq5MQ10_wnPWCMHK7a2mRx4aaun9FssToZVJB5vsxWORncJRGSLx39RM58a5g"; e_fb_httpversion="AcI3CD5SEMHbxqCrE1NAmsKBVGv3A_Mo6VkUlmIaeUhxIM87G7GMbbFZ0-CR"; e_fb_binaryversion="AcKZS4Z77n95LR_LphRnEMKv8lO1SzXgjG-LQVcwzscMYYK-7B90gXgx8DlA6u8xC6bId0i7zWSmG5niYvBXtqTnhsj2O1NGr4Q"; e_proxy="AcIS3dG99c-cX6NTw7VtEarsbOh3_G_hxKREo2MsjBy0_iKU1geGDa-Bj58CmUDn3-Fm7Jpf0nyjqpE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=217, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"24960045023642893"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 13:16:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 13:16:48: Error on send one message facebookId => 1641058525956298 04/01/2024 13:16:48: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "A0QmERWq4urr_srIM_67zW9" } } 04/01/2024 13:16:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 13:16:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 13:16:48: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 14:32:02: Error on controller payload Input Treatment=> type not found 04/01/2024 14:35:27: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7081887995243619?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16051325, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7081887995243619?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7081887995243619?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7081887995243619?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7081887995243619?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Av0SGKqjxTEUQVTLvu7Nt2J', 'x-fb-trace-id': 'ENj7pYvQOYC', 'x-fb-rev': '1012447370', 'x-fb-debug': 'xcO2ELT6PRJ/m63jgYLQgA0jZVHLYJK2gfHb0XPNg7irs51xHxOr/BdCjsT8dtqOdYvKU6KEhSCK9buM6worwQ==', date: 'Mon, 01 Apr 2024 14:35:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_requesttime="AcL61Ce6PFvx4FP3dVj5aDXryE2KC5S_H_MV-_eOfIdUFTZbmiCi6pusbpQu4Lc9wetN6l4_Zw"; e_proxy="AcIKGCsOAo20kDtIBYTufXqzuJjAO86iKQPASjKv_DQcjgCCm_H1mrc7boolBbsS3gUKqrd4CMruECuf-lQ"; e_fb_binaryversion="AcKa2uIQdO8QcXBUMPyIwg1c0bVzXUZms9L0DPeZ4W7RdkX5BZnCbpkNFddRiYp6rAmevVPFKxssumvOMaQVlKjpuLvWC_Z1Z_U"; e_fb_httpversion="AcLfT0E8c2gI1_tcIZG0hR_dYNUMbjODPX8U2TtmXtFnhK1Tsy-pOuqy-Xyn"; e_fb_canaryid="AcJCXdTQ8zcSXi3uZKPhB3ZrJxmA3tisKCOE3CFUhVFOlQ7kIClrjMI2yE9epFlvA0f0IMn3Paoyxq0fv6Lqp2sZFKhElMHBc8RCfUnA9av_9wPvh9Uq"; e_fb_requestsequencenumber="AcL1BJz4vav4nqEv36BkuGfGR_PkjDRTMrftwApzO--NZ8j1sU3KaoG0qQTPQQ"; e_upip="AcKJaWFa5nFtsJ3XoEeYn9UtJp_EDznN0XH_KyoJ1PtErn4JstDfsJsua0aflySJUZmwtAGPP6Nl26GpRuDMfwIe_Ou4tnU6gvk"; e_fb_requesthandler="AcKMLfT9rleL-aJZEOGslszYO096tHywnKy8PDTmplTZWtWEXKBnDlL5-dX5HsDrbIae1MRHybo"; e_fb_hostheader="AcJRWXj4VriA7Dg9URvS9Rc-b5D6uVWKczRgUVgXGOUBb5-T2_g6O_iNa7zE78t3KKdi8Ufy2Hsta9mB"; e_fb_builduser="AcIRheq91QhW0OQOUy0vAo3y7IlsJfV8-W39Rc7y5BUBYOtHVTKdRs9sr5ONQLrWYGI"; e_fb_vipport="AcLLPdfog3rNqnwzt0RBi9e2hUPZp5bDZFOxHoMkzzrtP64mocZSl_PAfam_"; e_clientaddr="AcIgbY4k_vEsAHOg3jA5ctgmOenTrfPanl3JkP5P-W7K2qkPzG8hRU6ImEdAr22n0LXi4pcf5YVptfRka-qWWx9D-jSDiLZBae8cFnlFEVyHVun8HQ"; e_fb_vipaddr="AcJJ9S51tSuBJ7inKc17tdkfuGn65akv0Zt02taKjg2uEMt24GL3T3FS-2HmN0iWQDPqS78OBmZ3wU9CZgZDYH_wSdVDbXRWdw"; e_fb_configversion="AcK7ZAvYgCeiBJt1Ll3FAwgtOVIrLveLf0u06BEG7Px4ZEHykvT9AuVJGXE7mWk0XZAo727-jw4jvxAJWi-IHHj_vPkEseXJz7o", http_request_error; e_fb_configversion="AcIsD2LptM9lsp2cm9BFG6Qx-xV_xYw0tcKD60vQUhLSmz6UdOa5bUllejHChA"; e_clientaddr="AcIAMCj5iIWWVu_8uH4HFER1t3XjQjHiMoQ6Zt8WCeLgyz1Sn_N8bByk1rvI8R9_G8Bj9vHizzihFz68Fg"; e_fb_vipport="AcLjUkwQNFozJK6klXEdEwTFpRi7B734LzQNtRNBTNwzlqa-OiCyRvzTPUco"; e_upip="AcKp85DbShtuoyA9kLZn8Hgvmm9tYDPJ-CGnBpruf6ajJj6ep83ZXOyxNTXQyxjnz5UP-kU4FIEjpaNEsgG1W6YeS9W5gLWt6Q"; e_fb_requestsequencenumber="AcLcf2rMq_XorS-Sk4jbVfbqcznHhbHLhMGcvgRp846bUtkFg4v7fTjk9Q"; e_fb_hostheader="AcJi26LkDaSVIPyysTv_o9YLvTY_84tGeGUJLyq86Q07NaviLmoE3gUIvB34BeWzJmX0pzxai2VbqkG-"; e_fb_vipaddr="AcKKbPDx0Tl4Z966bu0TW1uxL8TmGgIfhx3ruCWYLktnOBdP7v1i2iw5AeC7wmLwPvI2RbI"; e_fb_requesthandler="AcJo5QaIrqBiPSTROt33pstOVCjk3VYGTg_v10pz0KchaDdnNQ3kbz-jlvbZoang2L-MJabjnQ4"; e_fb_requesttime="AcIvtUFUxk-53WnM6Ypb90EdkYC87YW2pALkS6TIy6teLmY0OA9BGfarFKpSKTmFqI-3VYEDVQ"; e_fb_builduser="AcImfJBNq648pridgoU8GKBITa0gekFQDz_l5uQxYsKzPeozeZbIBILq3AA_SeLCR-4"; e_fb_httpversion="AcKfb8CW_Svjo1vCHfUb219rA07fNsq6gyyvp7a5uyRBa-kWMRour3iqhllI"; e_fb_binaryversion="AcKvi5xOpJTPNNdOvfPQe-DnN5dpk50V8n5ui6wQ2DOwFITdCnAMXpWfFxIA1BaATGbsFsmSI35LT5rB3svsQPhs1S8pihrwiAc"; e_proxy="AcJc880wDLEAtLW9dctT9BDLS_bBh3lacxxIY-5dM7p0WPq1JmAEd4RwH23wOgHMrNd7gyBnHj4YJ7A"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=241, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7081887995243619?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7081887995243619?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7081887995243619?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 14:35:27: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/01/2024 14:35:27: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/01/2024 14:35:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7081887995243619"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16051443, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASXMGyryQSHPpfGc29oI6NV', 'x-fb-trace-id': 'HGCDWHcHuPT', 'x-fb-rev': '1012447370', 'x-fb-debug': 'cYYx62NbCNO3bc6ABATj4P6wBEc3m9Z7MhWo4AzXkxkkRsN7ZXDL+bA9eTJITf09AkLrFZZCsMmO52n7Qpz3xw==', date: 'Mon, 01 Apr 2024 14:35:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIyNo42HwOwDT-Jl0h-ZFWHKnt8YThZ4ICP0coIHrGZocZX1WMNEnX_fr53wQ"; e_clientaddr="AcK7IW-hFL0JqDlTrtl2A_tFhTl618XZjcCNRIja-f3Uyc8U6p6jSHmfTRlBpq62gisKkjK-s6Hn1GvMEyTApfcI418a4q4TCfz8TJR58ZavVlfKYw"; e_fb_vipport="AcJVIVC-lhnwB70X6FrKfVhnp111kbEIBxSyDdWOyhW_W0h452I1rIqoIDPQ"; e_upip="AcLdncq-_AHtsvPy3jeHS_jxvkV1gUMFKPhzawOecFcvFsQlz7PYuTGwI-mJZ5N4zM2PLLoEo_b8MFPFRnKpprMADcSJ7hzUaw"; e_fb_requestsequencenumber="AcItVESVaXrqqFXakmLy8tlw7TPU69WOZaeGuw73SCB0X9zATI3tTzSaqfHnCw"; e_fb_hostheader="AcLSQbWYSPleuodDXgFTOZazoDEjG4WQ-YgTI8ImtYTrtCplrkwIGa3t8p95LG9w2f6wBaA8PT9QGwG_"; e_fb_vipaddr="AcIh_MwK9Qwwqa3QxoIqwxf87FEmmndy16i_QWnhnn6dYNb3Y18-XblQSZu5lkNKD0_jjYgExSwHAbaqm0WiTrxsQL4BEbUvyA"; e_fb_requesthandler="AcKWWcWNymvB4vH5rUtxS2SLdA0h7VJA1lnSPxtKA-7b1cuOUJPlTfX99Lv1qsv2AYw9woFAFYI"; e_fb_requesttime="AcK0LlUUYhgbhtwb65x1VNbjaHlQu_pI4NICQbqIBJwaRE8fMquE5prnLU6cK-3jA3bfLOtijg"; e_fb_builduser="AcK3OvMAcZaRDPgYPg0ZOV4dcw_sT5bEe96BWgfNu3rhqp-EEPIrR2I0QqQ5vHvCN4s"; e_fb_httpversion="AcK67LzOQT9POxxcG1enZ8zii-VzoIZw7CLnI4uTCKKQ303Khq5hU0s0QEbf"; e_fb_binaryversion="AcLC1xgP2VCgIsV-ej0ZsoKxWbMiHIPWu6LFlArAQjDxggE3ykQzt4mE70nRTKsHdGCTaMYwct2TgomPfJzqSr4hDVYpXbDXa2M"; e_proxy="AcL8AUutMLHDFhY00v233wE-uiYr7gSXOzR5YBmQzrZuRSkyAbXE-sGgc75za2G8W3-BzOvZek-BxrBKUQMV", http_request_error; e_fb_configversion="AcLFylYwVvUL5OPRheFuv7kTiJ0wxsc0NHOuVEx0Obv1yuNs-C0eme9RdkPOZA"; e_clientaddr="AcJA9h5jhFw9WbodZVR-UAtLrQPoJd9dxyRgKmF_ujWgi4YtJVRdvBsTlx77aXzC2ILdSFmXkDEGP5uLZA"; e_fb_vipport="AcLvY7vXcPOCiyO_Qms1hYoFjTD0DeGQtXxQc8WebiamcKKdWzTe109BiDsf"; e_upip="AcKZl0zgALION8d5wkJDlbWGzcnG3_5pXsBsz6pDtqntpxRMv4_aBof4LvqALhIZPR-jbRXfbtf2aR-nCyeM_TSbtkB9BKG1sg"; e_fb_requestsequencenumber="AcJ1jcOzcZOYui7SnsY_lYs7rsy-4ew6EO2xOWhKHE_uVeAds8cEO-y93Q"; e_fb_hostheader="AcJ9aLyopSyBCcaioUOJpPgWVfCRt5Vvcku0dQZX0Nzz05KL2dfy6bUdCq3v3_5u_77Q2fGrEWrRUpsH"; e_fb_vipaddr="AcKA0La5ahF_sXRoklcEOcpLvaHpPdvHbyzyFpaHaQ8aCwZAmKzzUIIvmS9emeC7MKYIftI"; e_fb_requesthandler="AcKhkx_O2Yv9JBLFis11L9q4cB7-VfgMNmBEwiw57H0CP1dW1WCl2Wlww3_aw5ywivQiKj8DY_c"; e_fb_requesttime="AcIrSgG9wP71OOifJ9LObxg5ppuyCivEQ-YKW0RPA6hwE1VkyNnLFYfOD71XY6Ti_p3dtzYYPw"; e_fb_builduser="AcIa136hdDeYS-zs0SHUhAMpE7IX4UoPfpaO6hUYuV8ySgOB-GWNs4pfBExHrRg9E_Y"; e_fb_httpversion="AcJkmS7y00AkUwxDlycAWnIT0JBP3iGEQg6_YlHrjFivtoHt7DVGw-ylYKKH"; e_fb_binaryversion="AcL8_sJORbMGUt_outD63gWljMIxbJpxNNPS2McO_HKWKc3eASEaJyzsbwMui6s61xhaGTu-XHbrHcq6NTxd17muAbtqEKAg0ac"; e_proxy="AcLgLSVNNbFSOp1ItMpWeo4uZ6Qu9-ym7MENTXQxZb9p9uYrQwTvNXdcdm2ittjbDVbv9ixor81AyhI"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=219, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7081887995243619"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 14:35:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 14:35:29: Error on send one message facebookId => 7081887995243619 04/01/2024 14:35:29: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AuG4H8XyxYpeaOjJW8yXZw-" } } 04/01/2024 14:35:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/01/2024 14:35:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7081887995243619"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16051956, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Axust46Sq3Rp5W9jW0QMqjh', 'x-fb-trace-id': 'BWXzFQYlV5a', 'x-fb-rev': '1012447370', 'x-fb-debug': 'rWKLlnank3SYx5BH1FYBD8czU82u81XK5A76wZIb+Pr2wk1rZGlEZMmncxVsrAh2tSrKMYyX01v58nAvoT7xRA==', date: 'Mon, 01 Apr 2024 14:35:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIhtrm2WNayw97-RBNaxEUF-U7U7ek-VN7QtQz3wcX2xQORK8Lk5smp_HlxdA"; e_clientaddr="AcJ7lrJYZ0dyo1y--z2BSwTNHQDPci5ox93LRJNJVFZDwBB5GK6x3OWAUJKwZeaPVhnGh2Msv9kTkrWycXx571Oi3sCEeMUyac63zUEutRPqmg1EHQ"; e_fb_vipport="AcLlJT2DKY6ZX8jk5CIupD1dZnv6b-B5dQD2QtBAR0nC8xz4MwxR15fuv3q-"; e_upip="AcJpVLk5N7ukuhAuS7D-KWHR33pekh1TQdrHQO8EwJOP-Y6iZJeF_vUINUhO1cFAljAs46x81oft88-ar2IG5mVC3UQpBPnz"; e_fb_requestsequencenumber="AcKyICqi2qRu8ccveujmZnROG6_TGu-j38QwjBZkxiihq8X1myrRLnSdfT5LqA"; e_fb_hostheader="AcKbZfGb4a0GVOXwhYQqFfMLZ3PG9CGG8wKkoGxRK-fG6383aW1OxmZy_5Gmgp45NVFWSSpp7R7qTj76"; e_fb_vipaddr="AcI4vce3mGojzhUebP8pd1ybRoOdK2LZHPMDy9p87nObgOZZE7myN5cGoWCtgjei4Xqxrk6DoHGjSHxz_wkaCczssEbtewC1qw"; e_fb_requesthandler="AcJuv0bGR9AmFpuBSs1oDu8ANBJDajCTxn-cYfPrURSFfIXNu4zwQlLqQMjSn3vExr2t3IG7b5s"; e_fb_requesttime="AcLUpNBywp3UBCoALATv1mOs5yN7yXhh1xHieWvePC7RUB7tYV8X_FQtMMNxQy02qKSrUzD8Bw"; e_fb_builduser="AcIdhe_mjP9KJZIPgYqXFyTEyLtXDE2hv247-Xp3zavqtMmlysehUTmdQcmN5lZUb7A"; e_fb_httpversion="AcJuoGAH2lpOZnoI2vOlKkA4wUdc5IkHCzrhjDLQX16tKGzexxuf6czSX2We"; e_fb_binaryversion="AcKiwkeH4FkrwTo_3UnGbd9eSrLfQFjZu5zWHN9sW57dgcIP6LBr61onsP4hywK22qyW68hLSHcZ-2UGQxTBuF1UXp3fYO2QTz8"; e_proxy="AcLssZHP1ASAFlYg_mDpJXJ7kU5jTvkwzUp19lNI8TSuruEstQaYctKLkWsSIwXMYTRPUTNgLMVVFpDTMMGq", http_request_error; e_fb_configversion="AcLr224ubxGOmlGkfKl4y5dXWb3XWy59jiCu-XDVp8ttQ8xx2ZAsmu_vOn5KGg"; e_clientaddr="AcLHL57QcB49DfijsycWnsEG5EJ3p6W-HxByFa9X_fiaJAPVFU0iR1P8EVSjcR0ttFHAn8y4GUe1JewWug"; e_fb_vipport="AcJhccsg2uG8cwr_yJraq68lH1o59sJeo75ZyAHmJj2I-puVXAJFH1UCy1LW"; e_upip="AcK6X_H5bgn6mgLXCdZcY0G1Y1iJHQmx9GWqdKp8QLUK9HG7dtMI6noi83770lfyo7hMTrEqV4L-e5ZPO78Exd4YZArSwI3yuw"; e_fb_requestsequencenumber="AcJyzQQuyFNkWIc4-vE3QXMpr5TidOL0fEs3iQiNlaeimEEQiWl5UsQfnw"; e_fb_hostheader="AcKGyIBV7VBmxNhf5lP1WYQmR3NP149ioT6hcm5SKOVas_92rERYr1HaOkFIVpxWPaoJWJSO16lA4oPB"; e_fb_vipaddr="AcLbhL0o0cppPJCe5lY_8H9adtiCuj29tRZX6sBqfrP9W53bbjMECej4ZqunK4PUqumVzwA"; e_fb_requesthandler="AcLmTm7upkQj5e0bxfZ44VwIIWlzZHOYkakMEdSI7AoWOmYIHfON39zq7wM7J5PsbtXfPIecIcg"; e_fb_requesttime="AcLrTmTR471LKJInllleBHbFWdPg4l-RN2QEjM4QMmwPXTdlQrEVSC9NuVYHyeRwgWmZ1-8vzg"; e_fb_builduser="AcJfS96avEung5ub0DlCqwOfuG-4tvTW6U4TwYPz_5Wgtl-USIh7uHkLPyCcUsXU1YE"; e_fb_httpversion="AcKIItlbTmhg3pwUSu2IR97fh7s3-6BMheHZ09E0aTayFCwPBcPtoHmrf3JG"; e_fb_binaryversion="AcJuRPMhy0JPDbgve0-1q-vh9Yot7LyGP_UWlkYoO8CHUfyaEZR1IxR-qHaJmB5-hVllmUVGXQ1Qq9_LcN2aDl8jl06xrfu-g8w"; e_proxy="AcLlr97ZoucMLgzP-PI61nudb_-Z08b71ZDbNwurEdkBFIacGJ8tryqkawQlLBSBXmFfbhdzO873MMY"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7081887995243619"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 14:35:32: Error on send one message facebookId => 7081887995243619 04/01/2024 14:35:32: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYp5yr4HNiYojOX-ugWTPFS" } } 04/01/2024 14:35:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/01/2024 14:35:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 14:35:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7081887995243619"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16052095, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AldOKSEslZkKq_HNSmfdtPZ', 'x-fb-trace-id': 'DYJX3YhHjyz', 'x-fb-rev': '1012447370', 'x-fb-debug': 'fax/E56qOnWXQO5k3NB4C+RVSvF2FVGVLSVWBYpNGpsMcj8uI3s7jXgUkyDEgn9cXDhYX/Od14u1H+Q/kHEHjw==', date: 'Mon, 01 Apr 2024 14:35:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLMS8A0kVIt4Qu0kNF30tMvoMLruyp59fS6EAIyerjG3L1aLYzvN8iuIlHqsg"; e_clientaddr="AcJv7SFqinTI9CCHj871R9_6nSbKBfRlibu4SVtD0mlBtohSEI7JeJSWGmCj-ZmgiyoiEZOQ6bWaD9qqJVFY__tFzXDbfu_6y6W6RyFbNtyU6rCl"; e_fb_vipport="AcLrngLmMP45UwJD9MXoSwY4ItK7p32DSkBIiusfbA_EGn8DxPTfRkVBAcz5"; e_upip="AcLcIbumF7HBcIxF-LL5PIVZQhkGt7GzDtjxqjRygvDxKS53lQaBraiXAbYwLB6GHvDF-8MxweDkpswPwUqqrJWJTSWnZ0AjbbA"; e_fb_requestsequencenumber="AcKMQuMoqRE4YlrQgns1g-JsKiVkB5xUnFyg_I7zSmLSfhJ28QezC8GH0n5S"; e_fb_hostheader="AcL9-j4wV5K3Tef-o3jGllc2-BGebPAl_84ePLiYEEAYlv5gVTYwAQTe2tgmFxQExOkaMbszKd8tYSm6"; e_fb_vipaddr="AcIXZquZFvkgR_cV4JptPG6V0uB7YkjAAvrK2LV9Nm7g9n2hqudQ38vnulljjK35BISKWZ6POTGr0p9aI8c4qI8_GD7X68qR_w"; e_fb_requesthandler="AcIwx9tG7_4PgLK1KbEyeENlreWxfDswHvvd2Q74lJpjvoafCd6e21dVkFm5J6kle8RU5Gr5S5w"; e_fb_requesttime="AcLTW8KJ72ZgicQtMdiKlxZsbQxvWHadUYZLBL5ZzWzKm4RpdwRZXxJZtqL7iz6yBOM6OyqAJw"; e_fb_builduser="AcLaronbokoMeKX5omOqisu2scIpSRDXzllF8bdh6EcMlaPy347tOpGKmXAqtp5e6xk"; e_fb_httpversion="AcLiFGseJJYEn_GI3Iril206LYIyTZcpEWJ9ACde6ITInFBghUXpRJkKrjpj"; e_fb_binaryversion="AcKULU2q9iTmUaTILdplhS48JcnGbMfI3wp9kZdxOwIT9tHg2noP5I8h7Lo-yYvxtlK53gPBqg4ITgNrwK0g1vr20XyBx5g4qBs"; e_proxy="AcLEiZdtfVM-x8ehoRhefZOaBZJJS-AH0IUwN2eh6x-V9whiGwlZBBBZIHjywBKsfrjXMMdn1DfP0wstLhSy", http_request_error; e_fb_configversion="AcKnaUUn4_aFnEfAtmOqtWpSKpaZ8VpwT6D5sIHlURbIUF9AROJ4rTJEsrB_KQ"; e_clientaddr="AcL2OuS0ZtFdYDTrJTbjjRaJak1lt75s27vJK8cL4OCfy8-oqJpPGqHR3rFOpcLWlOcoC8LfbHi7HnwA4Q"; e_fb_vipport="AcLm9z4c0AI2nOgwAD1zKrgPGdRfJL_L_NERyo6raIEqFaxEyBfl04ex86EH"; e_upip="AcI9QiXHxJEQ24kizd5ceexzIUUrsT4kB9tQDeCCm3l3OCbEafCUqSyQHUbSwscQ8a3MBLQqTDnJUOuD68Jp4AzroGGOV0EiIQ"; e_fb_requestsequencenumber="AcLYLA8SoBhct_7KueR0fUgE1PrhYk2A9C-EYyUxg7TI6BjX3KwS9uWpVw"; e_fb_hostheader="AcIdceDJAKbcBitAEQLUt0RLSqiYK631YqJIASY5_j9WYXufVNg30H3EEu_w3tMzJmPnhDHau1DlUtKC"; e_fb_vipaddr="AcK1RzTK1li7VreSNU8ZAOcirCpzN7KS3gNM7yh2j_GFjPGgWjHts6FWXAKGG5-dLhVZKG8"; e_fb_requesthandler="AcLH4BFYhNvAH4XgOvvjJBLdc8AlP1jZRpMVWsz1UNv9lJPJ2RboNIg8qL25TyGvS0lWikw2u1k"; e_fb_requesttime="AcK74TF5pox1pHZfIDddr_6I04XLMdsmY4B2J7IqvboojjMDz0b9W6OWmAp7QuzQXDhHReWLfg"; e_fb_builduser="AcIWkmV8P8dzF3GUTQjfejTh2QroV38QEThyTux-8JHjUB0io1jdwnz1R1MeUrEvZ8E"; e_fb_httpversion="AcIptkX1VnoNeqjdrkDeeYUOM6MXxrGz5wE7ZWk7J3MCWy-jEAvczRpd7TXK"; e_fb_binaryversion="AcJ3cPRX7JeFYwp_aq9W4H0JmNx50Y9S653nO_K-1AOy4-0N1rGErU5HrSnZm9wVbc-BTjQ9SdnM6JuKwhAC4-FGL29wqpiwGtc"; e_proxy="AcJw5qRfz-JZKYvhuSS2Hjog7LI-XqSATNrizxBms6TtB_zP7t4vM5xmwrOIqfPfhZnixkMhFDHXeZE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=219, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7081887995243619"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 14:44:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 14:45:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 14:58:18: Request bot not found: { id: '1067413796753652' } 04/01/2024 15:40:29: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6847723375328748?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16064999, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6847723375328748?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6847723375328748?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6847723375328748?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6847723375328748?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkAmUNq39ELSwY8GeRgS2Fe', 'x-fb-trace-id': 'H06Nt1g92g8', 'x-fb-rev': '1012447370', 'x-fb-debug': 'd9FrezTNVmRwbyIZvcZiN5lZSvqV17cKBeGixCTPasXszICFnurU8alO6BmwXt6Y+6TQ1gmvp6BanaonDv6e3g==', date: 'Mon, 01 Apr 2024 15:40:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcINIH_m2j1jUipZtlOQYjlqoN0fsfiFxkkNNfPeJVMhvC737s0UMYTe2VdCxg"; e_clientaddr="AcLIaRpchuob-vmySwHfy3cAJKW_W6NVMVRCqnP4FCySM5TjmhbWT05doTYhhik14FLkZv49qmNFYJTHITHA2TTvgZ5VAPkXRWszhtZw_p6mkr0VDg"; e_fb_vipport="AcLMryLgMr6OTqGFR8UZmDr7fZO4wMtfZMx5NJXYqIPJkLjnektfp-RNtVYm"; e_upip="AcI1ax2FXkq3w_jEO-l5wnEXbS1Kgp864DGQS834VNePRZztSQjKhOtdD6vn89VhI3kRE9B0KNYW9czNV7zZhKaeZAN24Ms"; e_fb_requestsequencenumber="AcKsHbJ7vuMw90TNk12JDapwWpxesEgg5E78Zx8MqlJQS33MmmBq0YaAUetKbw"; e_fb_hostheader="AcK5DALLU3lsgZsW0PQlb_Y66CK82dc5s00_5pOnmcbQwTTA4V-c3zVlX3MzRRcezCj2Tn4e3VPxymjo"; e_fb_vipaddr="AcIsBZRsz2W9hyGnkn2n8u4IxtJpS5quBSIXtuPGp8zpgWU_iROhGiyBZPL5BApeULWn1tt3G4H2tZ2S9n7IzRblbSaDoPygNQ"; e_fb_requesthandler="AcLXfRqJwRBu6ECNivajshsVYsbMIUu7GEazkjCrljyZDy6vDh2pkORKHa69opTkdrZxkOaIOrk"; e_fb_requesttime="AcIYfzk4HsSCxpDj0JkBi6iB2Yj3XL94EzjlEXGBj282Som2Pasc1kWcfzaUomRdon1TfuwN8w"; e_fb_builduser="AcIVs3BV60f3W-HllywLg8iOtgWubvGK7ZcBqgCVmiB-VbEtGeCxyBWbThVpxXnsjT4"; e_fb_httpversion="AcKHIZnNjf42kCeisFe7BIKEHO7T2E0SQILK6tdUd0-H5Z2Hrod_PSlQ0exG"; e_fb_binaryversion="AcI-NlQ94-A6jPeIcwhslERYvSD2lZS0fFSqZkI_WHOFsI-wyPJKTepoyT54QNDz1L_6qmgo-uVmrUqWAxiybyqiMd-4KJhkC38"; e_proxy="AcJHEKbO4JF9SG6rv7vdRi3r9YuhTcaEQou9SF7cgyd-Asy_J5KXewPVNhs_sWuoZH44ob4L3fFIz7OzRUUF", http_request_error; e_fb_configversion="AcKSxs5AfWf2vT8ScQvM6xGmTKmYrwBqKZ_VhFhKrJvIiwUoMuTIhqLj4K_bzg"; e_clientaddr="AcIwxUG8fsi78FP-CkGa2ea2dm3AFkoOENW4Ilj9HNoKPw_pmGU6hYZTHfy78xUSSvNq-qobNI1SVpd1nA"; e_fb_vipport="AcL8A2VZb1AuQmiTBFDnMJfob1vlU6k8lDXux4XuzBqeoUAAmd_Kodz9qv4w"; e_upip="AcJitwIBGdUR0EoWHuWqZRQ7PJVkVCU5XHD86XiQL-tg-wl_hC0tRydK_YH7OU-0O2mNtz6l78Usp_h3lnfDCB8h_OHSOnNy3w"; e_fb_requestsequencenumber="AcLuqTxkKkjwAeakaxIJAGwgq8soawJfogGV7MQXRP7qA51ZFTxPNSsYhw"; e_fb_hostheader="AcK4kcVz92eO1_8gcRkz3zkWYO2a110D6mDk7079lGusVxkgczcQ8NcEohfwk16kaYjCCDDo7TBZO-_K"; e_fb_vipaddr="AcI2CzyDUAmZXdiglJFV1ciNFuLtLWT7h8ipPShMVT1KrL8dF7--M4006VrdQHJw2ALp60c"; e_fb_requesthandler="AcIzo42OeFmHkN9nmmBmCEfiu2E-RXcb3vTAkbaBl23hZp1ASUYF4QwI0EZngiEuoDlIj6JScwU"; e_fb_requesttime="AcIS6AOUIxoERwQc61HPgyDiI0Q-ZLvgldZvR5VxZvp0l8xRiXVbrdw4uzBre0QtUp820AK5IQ"; e_fb_builduser="AcJMPgGOEjhmm5vAQovjrYQ55_MnuSn4LsUvoIl8LwKaXJss5jftEFD2s2I2wd6sn1w"; e_fb_httpversion="AcLAR6gihNSznWprMmqoq1lIGJe6ZjmT1qauI6MkYTTMVQIK4J7F7qK_4Qmn"; e_fb_binaryversion="AcKmlux95UyKc_fZ7n2NwSfXWNXqx6Y3-YuaDuO2jySmK0vYIoVnSouftTSxzvz4CUEDdjRBLZhW3hC32WJVDrmN2tScdMdm_-4"; e_proxy="AcISHZOuzVDK32f9JMtkK-KahDnFouC-ZtmU-LA82KPEhDgSOU9KOBfbyFRWOmFohIGJv2ZTD9zWSlY"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=254, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6847723375328748?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6847723375328748?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6847723375328748?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 15:40:29: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/01/2024 15:40:29: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/01/2024 15:40:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6847723375328748"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16065117, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6ZAGeeLGBzEj6beAkErQfz', 'x-fb-trace-id': 'EHJAoS85Gao', 'x-fb-rev': '1012447370', 'x-fb-debug': '+kKOfq2PycMjaLF00gOKB+TJpKPa69I20yJaLg0MdJewlHz3Pjo6PT1xk93PeN2eUY0XT1I/2/ReVNpWS2pcSg==', date: 'Mon, 01 Apr 2024 15:40:36 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIepqr9uwROLwM8q5F5KUx0v9xRR-yOzBk7jO4PsQHvW87NToIgLGUadyiaBQ"; e_clientaddr="AcIr5ExVnXk1KjoWmuSzrdTxdHqfDaCu-otO-NwH1Vcn0dGLiWbgGHWqiDQFu3odZjKpTvxm3bZehr2WmI6GCu36zl8tnTqVDDkk7SDtcou01LKwOw"; e_fb_vipport="AcLQGqtiOWScGh_kPy8tTPH2s5iKK5WfEApVzGlNi_TPfweSIx4ONCRTWtCA"; e_upip="AcKWMgrzTlF6hjXjHRbweOBDZ9wXCLQs4ipjLvVvMNUFQd1LkuGfncMcSJrR-wqeXiu-yvJxJHMxqBfH4wiwAhw6-gNduSscgM0"; e_fb_requestsequencenumber="AcI7aDbmdHPpP2K1SxEdE5nVXlgx9K9p0MEewlbzIfWijrHibFmetO8Jk59m"; e_fb_hostheader="AcIkA61iMixL_Xn88qZq3X30ZhuBEO9GWplH-kNZEri-NjEp4oM2ZDWlJpwaPtPjy89tRRxxySEKViz4"; e_fb_vipaddr="AcJRLVLJ5llgDMkO1FwF7WGParR5RTnlEMUndFBBJVfyvtJUb4OJMxGOjR2aw9dCqrl9Gt7kYPxl9VwOSTdPctUaVALZIWOV7A"; e_fb_requesthandler="AcLiz8Ri5GNcpSIZuHdHrc40gjt6Ry-6Ff2cD_dwcdW1sTdvwjPDanJBgTdD_2tbuC4BziHAeYw"; e_fb_requesttime="AcKGQJN9qhfGV-L55d4xfGvbkOsvbBOUl7R7regbXkm1rKvpCaZwjA-tuY-WJg1qcQewYIlRzA"; e_fb_builduser="AcIMLvXcJvkZ2OyZ4wjTArEL_mszEf0hYf3NUP2t33oMOZb3TnL0YsRuwFWWofeJjjg"; e_fb_httpversion="AcIWa_ws7aiAZYyz6WGDqedGSorkLUkrbE2rTA3LMAAwLEHNCqUcoSiq5stO"; e_fb_binaryversion="AcL-BSYoqXZurQKT554K_3Ocx-w11kjKm4NsSrB6HDyVwNXpH-JFa2YhIuRU3cr9L_88JO4QPROZzmI_Zys1bcDjNu2A9WGjI5w"; e_proxy="AcImhxQAkGjtJBPk90P0CXIBl5rDAbWV-nuD6rrWmjL_HJ6KcT-YgozLdvA5dotqJX6gi1BbyBvZpvq88qvl", http_request_error; e_fb_configversion="AcK3TqKh6Fa5rYr05B1fXsB0syAdzg-Ii-LmnY2ahvirkQ-OGRp2A8l-kwqfIA"; e_clientaddr="AcKIcwv-xmbHA2mcGQItgat2esU0dhQUDCx4gAN9d3JLupcnhwQ79VINF9WHsk7Fu7AnDWL5OGKeGe2Fgw"; e_fb_vipport="AcLgiKHY9ZJ2EiwJG_xMa_F2qcricBt26z-zWrbFyrh87Q7g7Ot_5CLGqFTq"; e_upip="AcIUKlET4qP6bl6AuMbKh8vHHMV1HZhFchqnHtg0BlQ7Nqdck8R2g1XuJl3yMALscqefcjaGSU-zTLKr4BcpbGifDL2QfHlSTw"; e_fb_requestsequencenumber="AcJS1gqNXPNIauvrNDXY21JrgOLbwY2WNMfO9KPIF3LG9pPeDcOUWwO5zw"; e_fb_hostheader="AcIxFQRf5MYnznQg21DWTFMviH46rApC9qKsoTCANwBlMZQTiAKaq7vOOImUzuRBMLUA5QULuIBXk79Y"; e_fb_vipaddr="AcJgq6WB5C58LRHHaJiKNttcsUDCmxzo0daP56-mi60KpX_nG4gT8whfzIqMIDOstMaCWlg"; e_fb_requesthandler="AcI-th5-J5iHvprSIl70h79Qe-Q70hjsCJaJkxEpjY-MFxtca5n59iEp2GxheAEvz2y9deuCkjg"; e_fb_requesttime="AcIqn31zj1A5MKWcYJ5WVxu3zikTWX0SXznE87oZIiQIhn1liNDhNua0yL55aDTZRBaBocscJg"; e_fb_builduser="AcL4dAFshlawRlHYcIQ570-SSwsXdLA4dS7Yp2fVmhaoPwMgpEFe8IC0euT2wFYjcpM"; e_fb_httpversion="AcJWpy9F7gDNeuN_6WdF9ogAnl3jOK9yt8TRNb4ZeUd6k6rqPZIxLk0EltrI"; e_fb_binaryversion="AcKgGwadDdPq_jShEXFdFXp-lk0ftdqo758jDxINdBFpYnQynBlKfjuhjp--LViL9irEiCLCzL_hLpeqFS24nZQ0vNrWcZsnmSQ"; e_proxy="AcLxd2Lll_dV0ByLyvCiB2quaGdt_5k-h6sTiddDp-vZS3M_hXmxtqtu15rvvKvxKxX62RIY38gtCH8"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6847723375328748"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 15:40:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 15:40:31: Error on send one message facebookId => 6847723375328748 04/01/2024 15:40:31: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6sfWIYFtOWS_zVy9u8u8zA" } } 04/01/2024 15:40:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/01/2024 15:40:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6847723375328748"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16065202, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADyH2zjZ-R7X310ERiCPXa_', 'x-fb-trace-id': 'GUEnSjOfvDA', 'x-fb-rev': '1012447370', 'x-fb-debug': 'UO1bfuvfjuBIZhXPdWV/2Ymr22AMjEPq9DO7MRfrp4VzM72eIkNO4Jpw3KkBrz+phab0+c0csIOAhjo57Q83Aw==', date: 'Mon, 01 Apr 2024 15:40:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJSC5mNF6XQb5uM_CzVK8xk_2NXv-BvhwQQXHj-mrqTlnLdzmKD9Ky0jMs2XQ"; e_clientaddr="AcLantbWm_LEM01_S4ZefEe5GRgaoo3ErTDs1Xi5oK-nlgPlwhRsuLAvN4y5INC9WPZlmO3jijgLsvBo5jLXfD71eU0gnJErQIy8uRYpFRdW2_c8aw"; e_fb_vipport="AcLKEx5E0d-sP-VvaFmh629xClTphyQDB-96ZfT-rcCLEh7D63HBVxirpq3K"; e_upip="AcJHzv3VnZ3i9hTVf7cg_Rdps_IU1iWwaxGD12tTK-gfdQyV24FC_WHa0GXGGg39vuL1ePmw2K-ICDShM1krcd9fDEMBFZH8Cyc"; e_fb_requestsequencenumber="AcJBEL2iXH05IQu3KTHNvI7-ttDZXS1EN8thlNRPtkfBPoL_wm2K0VMgCkR3YA"; e_fb_hostheader="AcKS3iR4aCEo8XCqR9uDyYMRUHK3ysUi2-PM1arEhy9ULlfZDn3X1tIxSdm3rIRPxy_QJ9I34YZhcuCm"; e_fb_vipaddr="AcKD6EF_qHlIfT1j86gOLSZkjy3OHhd1Pnc7PCDvskTBD1gc-y54kAEsRuxJT8F0qZvNlmlocfAxFKL48vS1hyo2DigE-U_L8Q"; e_fb_requesthandler="AcJxRSdmam-Yai3-Ws-0ygX4PWtzxT8o5Yxina0DUW7POU8lzobdqIohRiW2EmgSCfQ9PP6bC1Y"; e_fb_requesttime="AcLN08dKbrIVImSu3G1Fs8EvRM36EnXfans0-OEGGUD2z3uqQQy0oGjzKEpPXApLviIGsTs5xA"; e_fb_builduser="AcK1hS-vq-5uqgmUhmfPaRXwi7bMnXueNsrFMha4Rucbn1xUfmRwId_GfJfDYCgkRtE"; e_fb_httpversion="AcLNu5rGwmp0tsBEARjqQkioBiE1tVs1HWaxJOhq9Ny7FrJZjTitBQ9n7VgY"; e_fb_binaryversion="AcLVu_fNkfD1Tu9bZDkBvFz4kQT5boJeiXcWnLScXaoGBAuLoSXVcNZ6R_gBMcwFSAurM2ZmN3UDskKTc91sHqZiFpl_ADXhB3g"; e_proxy="AcKR6SK-udSnxxzsE6C-vQatN_oEXQUOHr7BRKzxu2Kha3Payvcg0HSR3oUyxLkkaZYm5txUjMbkB9p2bP74", http_request_error; e_fb_configversion="AcKuEpCF5hzb60sjJUApKv--ih1HY1SIlxe5_x705PMZRQT_i9k5GxFtJzm2lK_l5f0pJdZzlfArNkWetVAS1AIB-SOjsCc-91k"; e_clientaddr="AcI5a2xV9x2jzriOdMrwgIH7Si7r1zDKFXcp6pmFgOf9PolopQBqLiG5R46LmDlkm97K_khdfaG8DHtoLA"; e_fb_vipport="AcIjQEaDbuYCrtQgdE7KY-mTsi63TwJq8vz8DtjfNmk1afQz5_9pQjKnEkE4"; e_upip="AcKv4jfJrIuCLUhVHnHPeR_3vS2rY1mOlGMnd5Ad6ebn9ob2eIiASRQv_51fjdswkM9SNl7950F6R0oAD0vzIUxJsTOv5cbYGQ"; e_fb_requestsequencenumber="AcKO7RnyOGknQJu21dWB1yM_r5DxFJGrKxVUgVTgqa3a1x0GqqaN5I8b9w"; e_fb_hostheader="AcI2UZg4fsC1FzRo-_zoBoqpCbhrsTimaYWWqwzsiZIuzjvurC3RHX8zFEMpYn8lL-YvDwKFkZ9qUZMX"; e_fb_vipaddr="AcIr7eM2I9rSlcpH1fA_pNiTPy26N9Xk1PxRvJBJo7uHWTUY95U_fYtVykTJYN4-OsG46Bg"; e_fb_requesthandler="AcKkszudiuI_TRKokhlH9bFDilY-mz2AxymI4YTcurNBKz7QFsoKAFkK1qGQ4hA4MxQHVsxrW48"; e_fb_requesttime="AcKroAUwJ0URWkQFHlJrD-wGtphNufo08Adubrlp0E5EiIjmuFSwWtrFyqakjXWClLGGipXinQ"; e_fb_builduser="AcKyxnWerhonmVxWCM3xRXpd7lG83H-uN3Y8u7HuQr7kY_cKnD2lp6wi9tgvUfjRjAM"; e_fb_httpversion="AcJUfuJvEqto5bwnQED4X7djJe50YurL92w78ikQvsVpzWNMAyTDwWypgsw4"; e_fb_binaryversion="AcLDHuVlK8RTYulZeshMOAewjqHzSu7PUdlyG8QvyOPIFmvUhFH_3sj9wyh5MQvAEGmdQpupfgr9WqGf1wzsp5-hSWWlSQwnlt8"; e_proxy="AcIb8dzr-kiM2jobC2dIPxi2nBoQHfGV5DfZumq0bJ3xB3b96k0xVZXIzXIrUQMA6NJbXRgrjLlWswaH"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=220, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6847723375328748"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 15:40:34: Error on send one message facebookId => 6847723375328748 04/01/2024 15:40:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AQb1Qul6FreW9UpUtfmqDN4" } } 04/01/2024 15:40:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/01/2024 15:40:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 15:40:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6847723375328748"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16065343, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aw0-YJ4QEF-Un5VNa7L7jjK', 'x-fb-trace-id': 'B9sNj5Yrp4f', 'x-fb-rev': '1012447370', 'x-fb-debug': 'kp4TTKYKnCMnhVHS6ofYiLFpV3vT9OWd15LZXvV7Za9G2JUtFThHWLi+dLpfoTArPePmK6dsUrG43spWXvyjUg==', date: 'Mon, 01 Apr 2024 15:40:41 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJumjnMaMlfoNHxZy821yTY6bHkr4YBs9rwHx8zmrwskmixx9AHvZyj55ZJ4w"; e_clientaddr="AcJ0zRxAxR4OhcIeY9HGcF5p5O9MqzsS0Kj4ak6oznFQmqGT3He8l1QKiD-eLMy1PNnMPrbptheAeWd3NDqqTAcljwjtaYi-c--fpzg7MuRKKO-Q4w"; e_fb_vipport="AcI2pCl2LbnlzZ3oeQYcacmERD-P80mchWaD8K9AdGKW2YJjjP-eF98QDsaA"; e_upip="AcKTCrmmUB3TxhknHE9bju8b08VILFG-IPYOWTu2XuKqpN7HSOCJ-_KTTXEH9TPGOP5o5W4e8B2OJt4S-hVj8aFm-jSVyqfRftM"; e_fb_requestsequencenumber="AcIbI1fG5UhfdoewDuR_bv1ccYiJIvbngwSsJ3YR_5ayk1QAwE8NMLOPDA6uNw"; e_fb_hostheader="AcK_OOj46y9A5uKKoyjbzVQcf399YLSfpJzK1R2H6lN3aw-STynxmGn4IZB1NkKIeUOA2OTKQhV92YN5"; e_fb_vipaddr="AcIAOuJ1HlCAFS84wQ2wQF6y-GyRFTlXwEjUb2BX-oQrE538VLSaap4rbgS1FHkbwGLl4OSU6m1TNQEq3lFfCZ86yDuWxKiQIA"; e_fb_requesthandler="AcJmNu2p2avP314F12riELGM965_SZGKbjfAWM6yJtn_1gVRyC6KIN3K3m7wAYiDE2ICtq2-W1k"; e_fb_requesttime="AcJ1JN6ziBj3FpwvS035NyvGkfxeDOgxTxWQhYMQR8L278J0r_6PTBtV81WnpFkJ7c5kcXn5Wg"; e_fb_builduser="AcIthqG1aUPM6-xBps_eysdZwDI-2frKXMC8vlbePrVjFN1n7ShCN7DWNzQuRSWAEXY"; e_fb_httpversion="AcLgrdxn6gxnBhCEWafMDy-ZZ16-itqEa7pSjmoBv7Oe7385NHHbyEoFIx0J"; e_fb_binaryversion="AcJLC1G8wx_sIgy_kJOVK2t4GIZqknQqUjCXt4IFu9vWCdZVUNgAQ1QYVAfWE8lP-XuQcdl2MHAtH65zDz3nDvi9eTkCrOeLAe8"; e_proxy="AcKodvYbjL6FR1lK05D6ZkdTqaFQSvfLXY8oQ8K7gRm3ewysR-pWpidmcSOQ7_HEsq9XMp5iNt5bz6fTL7k", http_request_error; e_fb_configversion="AcLDaoZ5dK5G9LCS32bqnJTQAEl5E9kvjJCEhqUigxeBZhA3eN2ponW_1DobHg"; e_clientaddr="AcIit7Xbb-mzb-sRg-qLxUpRZszinVR26A7VrcDLlw6W2rq1bkLgUlr9LvvzuvOo7VFgxuExq4sxOxcAhw"; e_fb_vipport="AcKNurQwcZsRkH4gDuXAFiSQhpWxig37YERJ_XA-Ct2f99dwacH_GMIONuu_"; e_upip="AcIi4QztWAVA0owHEaM9onUWlOVGu4et9guHeX37ZLX5Wb1anavLDzu8qPY3xNHssqyU2qYll9VRynrL7ChnveTegmjkeQXslw"; e_fb_requestsequencenumber="AcK_GXRDlCRL7gQUMWmS9pwgb7utdOjiAAQEgdglpakzibIFzBrSSCDGWA"; e_fb_hostheader="AcKQHJmyA_5niZL2jKNY4Hrwyj7QhRo0UxpjAPkXORWScUkRotuP-_QdzXrFuJ4CMaaHtGB8ERNhYLY9"; e_fb_vipaddr="AcI_kpY2j6q3v8aNctRaFjiUbHTB4IBFwvH6iBh2WRUNT3APCGRJxHRqilxm4gNDWZ4KVOI"; e_fb_requesthandler="AcKs9_8U_aIRJSH8pKS6GAy-z28AMgu7HMVFjR0lPBWTm0C86siruH2hguBrUDcqG1CF6qD5zHI"; e_fb_requesttime="AcLeHjtqeNgIktuTQsX2-YTdW8rflZ8dJp8q_HKoEnsOrB6_tW1iyF1-hFcNOBdfzUmjwR_l8w"; e_fb_builduser="AcI4jJQj6ocT8gP8b3YxAIiB3DfOjfxZ2qNawMzRWyEBKLDjG7D6G3caAJaDE-LwOLI"; e_fb_httpversion="AcLpt6O0YyNUG3BswtGqBp_1s_AtRn1L9LYzPuFAaTwCS7fl-NTeTfStqw9w"; e_fb_binaryversion="AcJvHlTSSq2Ka7TIOdRRg1FtULZ_bjyHykxcO8JNrB8pLv7Wu9USgWDgRkKTLuB6EANohad4zxPx7ssst6lFZlK64TRHLiwhRTk"; e_proxy="AcILTJxW0laJFO71em1NQnOMtCPRVlriyzhnrmAmsXJYR9Ki9GWhSmZJUnB8uV-ifyd5wZW7ZbE0MoM"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"6847723375328748"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/01/2024 16:01:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 16:01:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 16:01:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 16:02:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 16:03:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 16:03:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 16:04:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/01/2024 20:23:16: Error on send one message facebookId => 24960045023642893 04/01/2024 20:23:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANoRyamUJ9KKbvz0yEayPct" } } 04/01/2024 20:23:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 20:23:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/01/2024 20:23:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 07:40:30: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7247401465376843?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16237573, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7247401465376843?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7247401465376843?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7247401465376843?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7247401465376843?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ax7zRAsd4xChGLyttbAsPuU', 'x-fb-trace-id': 'Fi9zmamOHNV', 'x-fb-rev': '1012472284', 'x-fb-debug': 'hhgxlL6v2F8w3vZ+nDBOvTL/thbYWqyTFchR2SNgzy0e0LZ8z6WegI0ZQevkn8J11LvUJEBQR8D0LItVIzfOPg==', date: 'Tue, 02 Apr 2024 07:40:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIAIuikbRZMNrjcCgeuUELkKa8i6XKifu-9ifvOyKvdGyw17OMe0uJtTZLafw"; e_clientaddr="AcLVR0FhdFTfX-V8sserETv4ymdEpgppML7V2ZNbKJgWyjC_TLyTFLpuftPaK1IBOvbTjDOEDG8eIU-Iu5uo7VUatMmM-Wcjc0DXVduiZLuR838sqw"; e_fb_vipport="AcIfBQ8Dt1xwuCAudiQXfO3ylOWwNPdedq1x-XmiAo6an6A5Zs77il9RR8IR"; e_upip="AcK1eSPdisQTLGeG1Gnw8ukW4rIaV0c9I69rtT7x9N9O-9IopoGZZ4g6rRnl604S9in7pWfRMSGNIxY66s8YckdJV2CjasyJl5Q"; e_fb_requestsequencenumber="AcLMq8FLiFTmKWs1HKQ4xMPR7Zd9PYf2QFSW0ROuwl7Ard_xNw0RMY564F9E5g"; e_fb_hostheader="AcIM8SPuu8z5RkptVfn6D0hOB0GJ1kIurMTEEheH5BDoUM3ROeOlk0YzRahHdqS-GXUYWPuIHCGy8Xdq"; e_fb_vipaddr="AcKFV_jqppOCKFAUpUskxL-HeWFd0coduxwQR7G0anw_bXTb0LpUCWxi69rEBNWzj_mSdKB9aWWJESRCd6Fwdn4O1hY6Q2pL1Q"; e_fb_requesthandler="AcL2Zpai4ZN3Uw3IxWL833rRZqyqtHtdUyBimahu0LSYmAuu4u_p59tkNQzaSm_qzCuf-RN0_Fc"; e_fb_requesttime="AcKL6HKTAViAOnpEy72orSk7Jkmnjy0wQE_hPDYXVgRP84T7UJJuATcB2141CFQzrQnzzjjtBQ"; e_fb_builduser="AcLYOV8VTzFYbJMNB6CaQt-1jfJQk-ubrbZ9pZi6SJIPitB3-JVFM5BaJM3rYyJhxt0"; e_fb_httpversion="AcJkZzw1p68T5j6Yd_P39p0hayhVcslB4ALp0gi6wAkiEQm1mZi-r0Bz4pdG"; e_fb_binaryversion="AcLq6_S0SHt5E1dkMVQp1AzS6qGZreibkAVD6Jui7nCcU1DPLiR-pm914ITJ4D2G14xGBS5_3n1sCxJIfqwvvU5Qd1UhHRX8Rm8"; e_proxy="AcI4Drzor_Hwa2fuwCUZHxR6oERQJOqF0B9pCMpkrkvyUQzbF0zgpGl6Re-wa6h0fUZfjCBWDSnJ03vv7_EW", http_request_error; e_fb_configversion="AcJ6XDBRENe4Y8zzMoPfvSGgmFl4ro1-c2rylbIBsGqRVvQ6NXmE9vpGi0AmTQ"; e_clientaddr="AcKM_nyNOQPMjsSFv3tSXJliZNJl3_af0hcbD6dLsJzE0frXoxzZ7fnJNvHu8Lq44rVobuOsPdOagN_qMw"; e_fb_vipport="AcL17T6MbKL3JYVB9fGAmCNZwZQFa7bOUUYimYX5LtDe_kmtetJjY810BGmv"; e_upip="AcLNPemPon-9nigmRGNJQD_8-BoO5kbIEUCu-P9xWVoXJ2RfZVuDJe60psqrNjGto6RaIi5D5Xoh90acev5-yBaVAHfKDAGhCg"; e_fb_requestsequencenumber="AcLbH_3eUhhK7p55e5Wbc6szq28x7eee_fFU-DgeNen7UoNQ_rUtDnQtGQ"; e_fb_hostheader="AcIAbvQlLAbMqfeJJCGIxz1lryU14Ad3e3U57dMlQQ60ZRuUPnobRwx2JWGqvmEbF6r_AckQD679MEdk"; e_fb_vipaddr="AcIvtK8c044md4uP03WTlaJEHJpEoXCfLPCNuPsT4OrWr4IyGI93BjdGCIb_r4fKj5Umkqg"; e_fb_requesthandler="AcIgy3bU9NI-53M_L0yiEuTZSL4dIlMQtd6rxhQhrAzNOdmMlzMJ_D5s-HYuzXwFFb2dp0Gygbo"; e_fb_requesttime="AcLNkcwNs5XEtRelkdemsUMRi1SNVAJ2nZDI3qAeokpE-meLYkv9Xrw3J8HRT633OCV15lDeYg"; e_fb_builduser="AcJkuBZlhabbzhaPGnetWHB6O7bl8pi5s97OvlHlX4Dn0I9gbA81H4jNOUqD5BUKXgQ"; e_fb_httpversion="AcKR6FShlcsjkH4YVIzHjdUYtmuXEFDsL1hBC8A-Pplm0-1WlDP0torWfwoo"; e_fb_binaryversion="AcLQhGMSljR6dnpAgqROxKpUDJTceL9JFlpDCmYITEt7PohzmVFYOyV_jFYg6ISiZfxQYqX4THFyLy2eFX017shjznO9s_gLHj4"; e_proxy="AcJoDlNp7mW5aUSGbTzB_7220AGNrSdY2hcJGFWELteRiODCk2RIWJLld8J3MKbEJvAqKqpeWHw16vI"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=332, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7247401465376843?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7247401465376843?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7247401465376843?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/02/2024 07:40:30: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/02/2024 07:40:30: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/02/2024 07:40:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7247401465376843"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16237696, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWziLJ8m3i0bJ8aIfwxpjXe', 'x-fb-trace-id': 'A1/Y6XojOrz', 'x-fb-rev': '1012472284', 'x-fb-debug': 'FxdICeKB5DV1PWZyEDsfQFJNTgf0iQWdrOoo8itwVBnKSXLShhkVRZThnX0HL6/o0wk4t37UZ9pcAkIrKByMRQ==', date: 'Tue, 02 Apr 2024 07:40:37 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLMKTywfr5yx2_TYUfF3TZexPYeB1Gs8nPYn_1RLUe-mWAyWZqFmD8-a3bNXQ"; e_clientaddr="AcLsLWYdA722AWzh59J5Hi5QQw_X74xma5f6Pl01sOVALinKsOOSxfyKfJIqQZpRiQ8VAQQUjQJU1Mx8TlM3TjjFjjLXoCqU5r09xny7_d5pzvJgHQ"; e_fb_vipport="AcIwkRrPCH-7lMhBkEtDqXgh4hd2Y9HxBH7oLfk6Zdw0UJX7mxnK-kOLzIr2"; e_upip="AcLz2n0sA2UUu00g_zC7_m2P2aH8VtGUVVk-cFR8a23z1iugyT3NCrT95uxraSYdBzLTw005NqchdYJ3-oVaxyenC_0RM40pOWQ"; e_fb_requestsequencenumber="AcJ3sNB19K8SHilWmKXsFecLGfzqODGmKp-M9M7pF1QpodKqTyINrzs4jRBbsA"; e_fb_hostheader="AcLuW3ZTaB9rQxHWMpVSPbEeY-hIN-ktwr_GLDRGVZy0YrpzEQ3FbbodwfG_w-ZRjwVfza2RUOa1o8AQ"; e_fb_vipaddr="AcKNyPI3TnpsCajJNXWDsyNdc07m60VZpEdY1caA5myr9_GAD1T2F9JoyGOfoePc-7HM6d-PIa1mzMqVPLnWiuvyUVugeiDUSg"; e_fb_requesthandler="AcKovSDWSwtEldEIgzmLhYgLKAUg5vt6oDHtl1sOybUk9rrpAqj8DbftPHNEI0K6uT6m2uNx4Ao"; e_fb_requesttime="AcI64tuhDg42IgQLJCxV_hNirhNmN4g_AGKtuGK_ujBuIkR9-RQbcxrdTaOqMn0VwcMfpcbiZA"; e_fb_builduser="AcJcyHuslEWXyehAXbRZVfQ7eBsJTNynonwlCslajDVmHG1w7PuQBnV_wNECYhVEu48"; e_fb_httpversion="AcKpRDqhidlj_jFOBcuzOnBEjo-HfOQEYWEa0uQTu1JrVB9n7wl0hL5ErvAo"; e_fb_binaryversion="AcJ28QWgUE0uM0dDnYH9DHDBTBnFvD5ULh0IIegnd_pyNf3aamGaUI4FEUL3qLYwcWEpgLxEkMPHcxKAXtgwIydnRLIRhaGJfpI"; e_proxy="AcK4FOZcC8cHCfewFPggcO_o2waQnQXxda7gVzqNfGGXGA5xVLjSsJk-1GGD93Fvzvc57qYP70B4loLq97vn", http_request_error; e_fb_configversion="AcIKAQ0yATISpW-30QmiOwacZHN6sfALoiv8hh7CcGrLTMKBIglLkaCEaer9lw"; e_clientaddr="AcKMCc34516JWGEtU1H-fnFrjdWxiZv4JnTP2WkwHtmT7S8EjCTPh-xBYV7E9h6Ot4vL1JLh4jMYPLKYVg"; e_fb_vipport="AcKQ8ePNoNuQBwZpwyE_5yuLzjr8NmVgNvYrtUWNySLcR0DvzLkp55lt7dhP"; e_upip="AcIt4Qx19gLLRkE-jbNi9zyh9seidMwYQP45sdvjoHStJMLbt2jDgiBD7YMeLlxAB9B1ygNDBJI9RT-ILhn_ndIr27JpXtzO5A"; e_fb_requestsequencenumber="AcICClAZnr_MMZc21Zo_n2cAoOxDYhzjVsK8E2iMWSMiW_JvQ5dC4KeilA"; e_fb_hostheader="AcJb6Ix-1dFLgAIiWKD102XetZg9BGUrVH6LzsZUZ6nsz635F5aXpIhfIdFoUeTmVSMbVm3j21Hhf1jz"; e_fb_vipaddr="AcJjoxWg4qBlFvcdJ_InRb28k3-U0UFbTfggPtvLScSLkBeBbpnpfg3y-Iizz7-l7qQT_ro"; e_fb_requesthandler="AcL0NEeOcLjoB98iBgAf5X0nQNUD6ls2-IZMb44YaSesyGLX04qJk1G7HieOO8-kWC1BSUZFM1A"; e_fb_requesttime="AcLmD-Zo5XkOP5_P06J2n0q2b55Omnagw-Xr4OLNdNydxVj2PCNoHgfxeNTb3A5lsebOrnBBQQ"; e_fb_builduser="AcLcWdWafE4ouyXjj-lRIiSpYPRGMAu35k7zqyFfVPMCR3Yxyeh5VnDQzS9ouu9aJdQ"; e_fb_httpversion="AcJ6EuJ0ke9HblsUpL2pvk6Ds9QhpOvz4GL9xPAsUXEpOMjFFnUqER5tebLu"; e_fb_binaryversion="AcKutqSJUv8uWQI-TClWDz6x09I8Uc5ppGf5y_9uQA1trX6NmISLhoBMPg5kHkzmWz7pyeLGLNTiFOw0XKvxKaEkh97TacdNEVU"; e_proxy="AcLmH84yTiU1sPVU6Uxys76o2pTUFeJNrIFYGIByiKFXWpbvNr1NYo-sAHpEdm6r7OvclZqBbhzjo6k"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7247401465376843"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/02/2024 07:40:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/02/2024 07:40:32: Error on send one message facebookId => 7247401465376843 04/02/2024 07:40:32: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AuYu3pGAYzNTEasf73eVLvz" } } 04/02/2024 07:40:33: Error on controller verify_blocked TypeError: Cannot read properties of undefined (reading 'c') at verifyBlocked (/home/ubuntu/api-facebook/controllers/facebook/verify_blocked.js:8:54) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:30:49) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/02/2024 07:40:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/02/2024 07:40:33: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:109:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/02/2024 07:40:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/02/2024 07:40:34: Error on send one message facebookId => 7247401465376843 04/02/2024 07:40:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AioreKY3eYEED7t-hBRwLMA" } } 04/02/2024 07:40:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/02/2024 07:40:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 07:40:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7247401465376843"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16237986, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQrYkciRmjth2rxj7oCWYuM', 'x-fb-trace-id': 'FsDYxrs42Rg', 'x-fb-rev': '1012472284', 'x-fb-debug': 'l9ElPeJqS8gHFN+J+1Wuv41jGLzN2R+iiJinRl03vpyphLtVA/cl2Dvy6LLR0sSp1jz5cqZzZxGeem6iuSo7MA==', date: 'Tue, 02 Apr 2024 07:40:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLVTS1nU7rq3BsJARM9j8IfH8iMmK77ptyrDl_xVc06K20Tlyh-c1Jnof8gxg"; e_clientaddr="AcKmVEkPtlathTT1l8sezB8486Bn2YyK6-FUfBpHhZSOg6r9r0aTvZo5gIHs8a3PvOK2nf4lxQiFhXGYWGKA52CZRt9ZKEuMyFbHPOfCJWdedfu-gA"; e_fb_vipport="AcKHlQCcDwdL3IO90ATRfqqBY46sSkiVzFN5ShCU2d2I7VOBiMPufnv-8kQC"; e_upip="AcLOs6PHoc3pTWD2z96h-sgiShdG8K4-zSmnj93OhLO355XxUf0Fo1khcUic7RJLhCZgIW9H0aqmPiiT4NItw05w8aOX-_D-6w"; e_fb_requestsequencenumber="AcIqf8rvs1HX4dC1SVx27av2snn12mZi2VPad4Cie--vwytTKxA0C2ESiMjdaQ"; e_fb_hostheader="AcLlG8rMI6Gzyaa7g2pmXQ-SW-7UumpzmomBUnbAUBK3Oz3B1uqZWYrp7zD1UI9X0uTnciy9JRyFgIoi"; e_fb_vipaddr="AcLLq4FG78SaA0h9uEz5A_ZdvRyWtbiZEJKjrkQV0hdAy1mobssMCeVoBsndQscjcxRosEy-mksq0EwAId2DlZAr2jMQbUffUw"; e_fb_requesthandler="AcI0CFMbB-twThka49ivHuzHM0kG5snwvuT9BEMPRM7uX8tdrPSS5zFf0Mh0DfDuBTuX0Pk5Quo"; e_fb_requesttime="AcJrTjcJdgNRgFiQEKhl8C2A_xhTmU6aU95XVqqpwMwT_oXeIfgbcs0-bjc8pjfVsS2rqy_q1A"; e_fb_builduser="AcJ_q6uKPVFGh922Ts-qpARfs0ofrSJ44BBtXv2btML0--VmEAuH7sjy9w0UMETSfks"; e_fb_httpversion="AcIwtlF-fk3T8t5ozHHoxWLSNIrEv-tzpZNPxpJU3DHl1kHIWKo8z90m6jiw"; e_fb_binaryversion="AcJ3-dOmwEKFY3llgSnmSImxUl_1KLEK3jFwQsGg9ovrtr3vLrEE_DWl0lzph5rd5hmoVCXACYR9lbWw4lkt7F4gT486pHUO9GE"; e_proxy="AcKtcDCp6szHvVYpz19sC-EdGHIVTEF3owvH_qvQrFXnqswfpVdULhLCEG8ocr_MT_3yhzVzU_FxtW9rB-t8", http_request_error; e_fb_configversion="AcKREaU1R9ivp56mkCiOoHgNezzCm4IJfpf7tv_8dgX4JLTrJd83lbbiLHXmZg"; e_clientaddr="AcI5YEmC4sfQ0vuBN_JkH7RotoRxELumnPWAAIkDQFBms_pz377om0qCBJecAhUh5Y5ACBj4_iIgnXo5VA"; e_fb_vipport="AcKXCpewnMjNnBWfRmEJwhaNFk5g5rtjWTQazml8TqqInSE3zOG9HlzUlT6d"; e_upip="AcICwt1kE1R-3WuPH7wlz9GfO704GR8Er69DMDlOxUmbuYQ_QWLsTJ3eOVIVPQN1gj0AIGdeB31gRZ1XPP1k3F8jzWkz-M843Q"; e_fb_requestsequencenumber="AcLPYsQlu0Azq1rr0_yZ1R3zl-Vmvy320P-i4Hd0OTI_x5Wjee8HlsrGgQ"; e_fb_hostheader="AcJrGBa_5gQ0q8tL7nEdHkoAuQIvA1D1r2SXkFCClYHrBpbvYv_3OIdMGaB5sTJTnatktKxIFA7cNcHr"; e_fb_vipaddr="AcKV4yVq3Wm6LhitKfmIDsAVG0nGLZ0xfKWbPXkJnibM7p30I1J277NBH0b6klrdL1O4NTA"; e_fb_requesthandler="AcKye6tlEwglKATqB1SX6gsDDzo4Putp78mN0GuQ8ddf9bzUR44_b0CmgelqjOAq76C71pDvEZQ"; e_fb_requesttime="AcLxxO3ahhj5sZzrPyV9FYvf_1OG-pJR2rsop_OiuWz4cBkdRA-Kpa3DYJHcXvpAwGWYS5NIHQ"; e_fb_builduser="AcIGujrr8fQsKEvHAXE_ohCjmMl4rwNMPkh-nw8Z9pgTIJIVb6FmzTYL9jYdaz8qPgI"; e_fb_httpversion="AcI2yn_1JBh9iSznKUpcrL6xAao2HpI5ph8PwGV0wTYseNXRiFvI6kxzpEpj"; e_fb_binaryversion="AcJq2UZTxb0dEvJwKniK2SlS3JpA-XE9Ur2Zqa_kzmW-PFcrEZwbZoks31R0u-zEeJA1-OhSaxpmTP1Uy6Up9VrxcbmjaozQWMs"; e_proxy="AcJNplCyiA0xyOo-Lvgq7ChKiVYHt7jSl6muqkI3R_GUU0SCx-Mg54qDEMY8BS-kZK52Zwr3Uibm95fi"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=214, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7247401465376843"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/02/2024 07:40:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7247401465376843"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16237861, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVjdHt_xmatir2D_YJu51Tm', 'x-fb-trace-id': 'CTPWgoMMD8A', 'x-fb-rev': '1012472284', 'x-fb-debug': 'pZvhIvyEakl493OJD4z7wRsB4fO7RD9M7dF6hxoCz0V5m2UCffN0pPwiS4eUr46VUns556rxbyIhRMc2hQv9TQ==', date: 'Tue, 02 Apr 2024 07:40:42 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJaNb2xRe9y3mvJnMRZMoWVFv3-1u7oEqApN5p6Rh3EUX19mL-jLJmkgF3Fqg"; e_clientaddr="AcJy1AbjRhvsMialiHtPjoxvBpr9unEg2-IJnKNZAhUN_avxJ93RQSGuCb_OEfQZZyz8JGNx0IhTOwOb2BkyYis1siTTtLWz07HzBvOfqNSyNIxUUA"; e_fb_vipport="AcJ-6oaTde26OBn6XHkFecEEp-YU9cRIlGtMXSy9ubsWCupDZcyZQj65S9ti"; e_upip="AcJ6mqIPeAJx--nmL3iBr8lY2lAAYck5ihcOAFh0Y-c2TbD-rpIJKLeG0SYxrj4snG4NcI3veQ2wRwLYaDtD6nKS5TYAvK-a"; e_fb_requestsequencenumber="AcJ4Q-M7mXDN9tXUoxnS6ttdXcKrEik19lvLPuo53o-T0Syyj_E4DldVXkCqEA"; e_fb_hostheader="AcL0wZ-uptMkQMfi-Us6zwmdoAKJeKiCDlNvNMqwZqV2fgEkLfLiPTTXx5dOmvG8yIa9x3cx29w_jksH"; e_fb_vipaddr="AcLBkNIATTtqE4BKgU8j7ciZoqHQP4RA1YnYEdKNjAsmKWT2ThDKJgyzcuYWQvsBLdWCipdPWywg82zIsFt2bqyD2nNcJppjKg"; e_fb_requesthandler="AcJ_Gw_i8NxRsSN9cclO9Hj0ojf2MfdbjmmwMePLcLL2WgFbgArfS30MHz9W5hVjaGllHVoel6Y"; e_fb_requesttime="AcK_ljkliSYWAbZ8Ehb5dPHOgSlPMewpAgR8qu8uYH95xO02UUyeWfLlVdF8j17YGn_gr4B4ig"; e_fb_builduser="AcLxCKcamXNFUvULfr8e-OZ8IWePwD7nPfXJfhw0idPOUf-RaOZAe8pyIFKM-HvdNl0"; e_fb_httpversion="AcInfkn2pbcM1Q0eCdZIgUr28a_jhEod-nQwKc8eT4-0pkOs3U15VpUrqn2x"; e_fb_binaryversion="AcLyW6CFBKkhKwk_XW4ZFOGCsrTfe548kqz89s16w6hAhypSjKs4r6oXXoTBYdxNPPtaCJh1A6BM3RuOXOpVMHDN48GSXPV9GWI"; e_proxy="AcLCUt5MAdl-lLRa4NmS6PN3a2-gx7_a5EiICSzlN65BB79l8sB7nOP4kJW9NSsLsYWztS9K_lwSDd9lrYY2", http_request_error; e_fb_configversion="AcKGbJFSYCmxAw0jGOIaRSEJvVBxKQaMRogKdmeOwfVAp1Z9b9vkrmI8y8dvVA"; e_clientaddr="AcKDzLF5As-S5qCl3rm63-779MKsZTLjzxmwY7D5GsgN_oEMawlSyQ9Q3cxdYRjwCAwK8RbUzMnME5dYmg"; e_fb_vipport="AcLYl8zLxQ-J_sd1zRmt9H4Y2Lpqzg3fqwRVPXjUt--eiY-NQoFALPQemiTG"; e_upip="AcL4V5sH1bWT1N53FXBGsMpNHJNMeHfDh62gwm3qf5Osy2ad7FMKdD_2IBr1-qlQ5vqKDoYw--DJlQCgqZHB2z83VdH_n3foqw"; e_fb_requestsequencenumber="AcKKb864Jyl5B3l2n8oI66kQwtnXi_hhuwDPo_U7am16ZOcur7k8YocX_A"; e_fb_hostheader="AcK4GkPDZT1Ps3ZRsCU079TgD1PRB4BiVK9dSMjQ6EOU2MQDKhcek6-HUPSTNr3SkNwtn1mFKsXVs3cR"; e_fb_vipaddr="AcLOAeZTQ5HK6nIqwsgMW65wDz6AsIrahb7a_opGSEF6uvM9lG4DQSYzHi3aCa0KNBMQblo"; e_fb_requesthandler="AcLZ1hWtBAFWZvSM1WUF563XVKgWqgX3MDN_s-VotUZ5d411AWtQgrf-ZEXeaoRGDTvC4peflPg"; e_fb_requesttime="AcIwljJXGcktA8r63G3B5iMPGxuRVKf6wXX_eIc_WkrZ7oSL0wmOfS9-AoL6tmFckp8Bd1RJAA"; e_fb_builduser="AcKRZvLwaxFAnhvRqD2h3Qo7dKaISqwtR2yaWn1iyn9uTkPT7yStPY11yJUuvioq3sA"; e_fb_httpversion="AcJyU_f9d51c0jOU-_Usp2dlQOD0Jk9s0hro6BjxAlOkxc9DUV4myCS1X2Nd"; e_fb_binaryversion="AcKqJOrp_a915GN3CRwmLPEzBgfYzBEjd6Wfva1h9v-5_wJb1P2FdTcDGdTPTM_YEFcXEYrZf5EJMXnqF-RKeBGMQhRNzYrG4Rs"; e_proxy="AcKkPCj3kq_kd9IJExcKQhS6SAf19DeFV_5g-rYx_tEcWb1IM7VcdUC7jAx63UYIptWscGmYP_JvYVge"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=712, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7247401465376843"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/02/2024 12:43:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 15:15:25: Request bot not found: { id: '1852395741674621' } 04/02/2024 18:28:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/02/2024 18:29:09: Request bot not found: { id: '1067413796753652' } 04/02/2024 18:29:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/02/2024 19:17:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 19:18:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 19:18:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 19:19:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 19:19:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 19:20:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 19:28:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/02/2024 19:29:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/02/2024 22:50:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 22:50:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/02/2024 22:50:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 00:04:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 00:05:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 00:35:20: Request bot not found: { id: '133788230054854' } 04/03/2024 00:35:22: Request bot not found: { id: '133788230054854' } 04/03/2024 00:35:30: Request bot not found: { id: '133788230054854' } 04/03/2024 01:10:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 11:44:37: Request bot not found: { id: '1067413796753652' } 04/03/2024 13:40:48: Request bot not found: { id: '917983134950234' } 04/03/2024 14:24:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/03/2024 14:25:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/03/2024 14:40:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/03/2024 14:41:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/03/2024 14:42:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/03/2024 15:40:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/03/2024 15:41:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/03/2024 15:42:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/03/2024 17:44:31: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25234289706186899?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16601617, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25234289706186899?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25234289706186899?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25234289706186899?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25234289706186899?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-VTcJhQCiexUylz8mYbnvT', 'x-fb-trace-id': 'H9Gu9MbE/1l', 'x-fb-rev': '1012513638', 'x-fb-debug': '7e32SvRPwD5PSg+7pk9RCL0sJvxh7Bg2T40JaJh6X/+zB9SVOZ2Ik/yYxQmZuPC9xRxHFPMqko82hDXaupAM1A==', date: 'Wed, 03 Apr 2024 17:44:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLLjDuBjbdlO-EFfu-xB8Pm53pgadItc0pO7Gi7wLhMLVax_Jg4TUWIcLo3Mw"; e_clientaddr="AcIhUWAtfIrBiKZghkmOVzaD0PTIjwa6SKFL9ZyuHTdtJkTYJhTD0jEisrzEPIejprV6wDwszBzwOeYexeepzqPRrgxXZHwgu8Dr71Mu1Paq8g1wRg"; e_fb_vipport="AcK2qcIHXhSV0kG0eWJmHcGOT8jpHUu-YPmu1NmvY1ul_F6XYPRDsKzBWBsd"; e_upip="AcI08xQ6a0ATaWOO8VaUnYk8vABNpqXfNEtvrJWHYGDbaZK4LmK0T33N_jGykhUhvi0bGY6ptv2i36UNMENgm0j8RBYWQOA4SPQ"; e_fb_requestsequencenumber="AcIL3tooEBoSHQMIjhvL7FMWtweVEb2a1Wn5X9VUnk7MmB9KuK3O3HIbJ6BH8w"; e_fb_hostheader="AcLpOXH8MJBqpipDjKuOWEBgkTCt-OqXAeBre8vhuIPdqH4uCwgLev5gJ8tkbF6BOuLfJKgRaj7cRiNn"; e_fb_vipaddr="AcIT1W1FGPagS3Y-8gfqO572Q6oqjWjY2Wn5BwlyaQWNWKPvUD_fJ9enetdMu-zk-NRFSUgUPdBMVjO4FSuIPztdgHxTD6M3gA"; e_fb_requesthandler="AcLVFvXC8guoz4f-WEnBDgO5GRXF_sc2wiiyHquaAoYsdbrut7yeLrEcH8DBndo2nX0dB4opDbY"; e_fb_requesttime="AcIodfaSkKO7TVr0xtFsucoDG_tZ0SuSlqUaiuQ7WI8s5Kh1R26ZsiICCm17yk4yQcolA78Q5g"; e_fb_builduser="AcK6_UYyfUt-txbJHLGk0Sv1q1qVsMIqPtAO8snBdL9Sw5nzrVkbrEfOaCQJgv4xsb4"; e_fb_httpversion="AcJJGum5sZpkAfe2UddMLnS5MN0HldSeRD30GlFCg4GL0qsISLwd7hEsDmbK"; e_fb_binaryversion="AcJaFsn1Jh45tVHP_jKnlpEwLPc4b6MMRIYn2Ev919XaJTu5iwgJdnneCxACS2KvUmISwFk3iK5bOiucfPZLV8Zaz8VFpCv-y6o"; e_proxy="AcK7BNZr2lgF0ZAkrvw49z9uCaq_jYPSwx1fGzZ2GKGIN7jhJxfeTw43lAn4XIGrcuriOmOl0EqwGBeI-C3D", http_request_error; e_fb_configversion="AcIluHqC_2KvNhRP6IC0a9HSClxmJ0ynyXZz-cx4zrWu-kM0KCCRzFuRjdy8oA"; e_clientaddr="AcLv8pNHO6Gun3pjKJwdFmhJyjvypSNS9qL-MC_Ez8ZoGWu-FocRDpdggq9C1mWyD1hZhm5fAxH6hjtkSw"; e_fb_vipport="AcJx7UEOLuuD8M2rZRlaT-pQY7P9ATDZCQQr37XjpPwzYb4Hh8PbGSDOkxo7"; e_upip="AcIdx3Psu9_ixx9xufZLFwgp5kPu1KOyeY4Adn6iFsLo-GyOgBMNrcJgGWx6LJYqZbjknztnKULha1KAmEzE8HV7IxFGJfFzZw"; e_fb_requestsequencenumber="AcI4Z_b2bhbEI0_umr-JQqpPF22pQwtti8bTHRoznyqrrjTl5AG0fGN4jw"; e_fb_hostheader="AcJDh6ohzi8o6YJ22RXSFOGlUvXjJ78o7dKKwZPDihXNjjNnj1fwPcbhh2xxBIONyK2p7LpUurXUBImF"; e_fb_vipaddr="AcKw7yX5iNwSxzcH_mlyYfTUA77JNhjXkArNc56wG4PV4saDCbZKT8naPVST8J8l4MdIHdxEOA"; e_fb_requesthandler="AcIpqHiGM-WdNGjtnvcqBPDWGhvM94yOwCboqOOIcViZvf5v612cdgSi_butncdn0kvG8Wzb-d0"; e_fb_requesttime="AcJfobjBnw08_ZEJIeoQ7H7SE-qay4R_rEH5he1PJ6dFAoD0aphZLbfOPKWyuErHSmgnnQ8Asw"; e_fb_builduser="AcL35mZIcZOZQYl15h68gUuokEdOM-1ch3GI4ll7MXv9sWdHanMkhTrKbwSkyrTNIJ0"; e_fb_httpversion="AcJW8RcgN9fylfU9mReucykivAdCQJQjZFXwQneMJ9cgQyGIrYVvkoLoZ9H-"; e_fb_binaryversion="AcJLihX-FetRhHHuSe8-qrmu_tjNJP1cux6rIm181tMoJfopaQVxm4jEhiQOYKYJF73Fn8QC-q9Vm5083h5DzSnv52BQfyaDSWc"; e_proxy="AcL5At_A0zsX6_-wdy54Hu0igOT_nbIJkTVeV7d6u0X5rwJvJww3iX99bJ4AMkfcCVuwwQrr95PaOhry"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25234289706186899?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25234289706186899?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25234289706186899?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/03/2024 17:44:31: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/03/2024 17:44:31: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/03/2024 17:44:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16601735, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdmIAr5axIY7-lg9H6CGdWT', 'x-fb-trace-id': 'AzA7DkSg7U1', 'x-fb-rev': '1012513638', 'x-fb-debug': 'VlvAL0FIvhuFRA0I+no25s0aAxyJ2fVDewCpsqXQDS2RgNLA+4LPCN21ZSN4BTAglwD9LOqr9/J8v30S9No/ag==', date: 'Wed, 03 Apr 2024 17:44:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIWGwG4714NVwb3WuIvEeX6dj9FKcKgTVdulhoU1K034WbXuAWShq1iM-GMcw"; e_clientaddr="AcKGAerVc4qAmDYxBhpcT7s80AVUb-7a9lKY1VH-0Mfz-IyeM4mfJbX-3FskaELU0-4wO5LE7FLhVsIfOGZeIGyJkk0I6J9v9_5PZSdWE_ubS5bl"; e_fb_vipport="AcKAn4vCVFAhBltt1P_GTx51XN1Igb0PKeivZ5J1GeyseI-Hlxi4rx9-vBWA"; e_upip="AcJfhKCjZhgAZZ35ZaxT6vw1Xu2D3pbvkdRfZgtAO_SpKkq4AIVCGvYMBB0n27v2ZGei-eHkE3MzkWWMp5PVmhlRqNxKMxNse30"; e_fb_requestsequencenumber="AcK4tSQdvFb_wyFmSNlLvjTYAg0P93m6MbAf36Im0lT0de5el2EObxgQZqtF"; e_fb_hostheader="AcKWWG8PcxkUCH8DSGZJJq1b0ZMS8n0odsf7h77NXp0mh5i6pu2CWiDZl_UL8g7fNDxBKNtUkJe91Z-A"; e_fb_vipaddr="AcJOv5g64u4hcB2YvomCq4b55DM9WyEhzhRkSM0hQFzcrQKzKOCDhJ2Zx87k6KFpPGT29Jbd4czTPa_Tje7C-ZJzq1zJ0Z-0Ng"; e_fb_requesthandler="AcJ8StmAW4nrrVE1-1eZxtlhz8RMHeEqiyznN6e705UtLVKcmk0ogexgqIG2UiW_8ntgfSG5IPY"; e_fb_requesttime="AcJAZv9Sku2vHpyumrngcGk_00eIevfaxy79GB6rAsiU10z7CYYEzuNHdUVVHUA_2o2gX4ndEQ"; e_fb_builduser="AcIepSKSY57D_DNHzHbs1v7pi-JneUdvI94wp9rTty2B5VtqO7J0QgFbj6YrG8Tthso"; e_fb_httpversion="AcJ07lnVSMSwC41NgYILVzLUH0QL5jakSeQkHVbXjuYbjl09DbbwhKS6UAXP"; e_fb_binaryversion="AcIvqspqsQeBWdyshSyl5i14ZVhHVOV1ZIdIkoJTAaweeQPG2nKV2zzR8kwbbcHGl_kHJxYp3o3m10gBQx_B438tsQRZiMDUI9I"; e_proxy="AcICJp6GJh1smzR2eZjLGRwR293jyfCpzWN7MEng_C3IFigpXjP2RoF3_pndJHFTMKLCwPaTskFZDV5kXBQF", http_request_error; e_fb_configversion="AcJLVjFJRD0-qP6NahDbtYrQ6MoFYQQtXTPx9lq1UCr_ZNRr6i2cFDRWWVcg-Q"; e_clientaddr="AcJ4tHoUgeGvLjumJDhtSnxMKllJ0MJEA7q9ZVXmyUXm7_XOqmnCYqktt2PCkpWK9mwancaHSVRJYsmVFA"; e_fb_vipport="AcJs3FlkiU4i-Q-85dhr0yL69FnnpeL4bg-4JpuNi4WuHQDSea531Sk-coHO"; e_upip="AcJj3dWbswfhNUhCf6KGy0oCa_PFQVPumOxMzRzvcM2-qAluW6aaUZgLcvVY_GNt0kywuixUMY0Jsd57SgeFCrL3AwglTmYYnQ"; e_fb_requestsequencenumber="AcKMjaLUz8Rcl96nJD7MJvYN3F72WH2Zgr7CD-1adtrgRvV1VPs_0hUj_w"; e_fb_hostheader="AcJYWQT3nILNEKZdX92R8IZMaLuojq0X4mOIOFSpH0uKCRe_MwO5ebFq1HqdB_Q6emtBgu4N-a4ULTDq"; e_fb_vipaddr="AcJHv-ky8iwn8hT5PjK8CFHVH7zyb9raiN6PigAsogmYx2WMEWgKqeZ8-t45RVd7VTtyzrYeaQ"; e_fb_requesthandler="AcL-h7_-jeJD9dPG6icosijDic0Pbgtt-Z93wuOqYqlaocPAqhDdP8H9EC0IVQSYS-ex9xraN9w"; e_fb_requesttime="AcJqgvssGhx7v9qFJAVi-WH6XBGksapOYf__crUw-nURMDugdEGr-XgVErxqzxwgPqSCTBUNgA"; e_fb_builduser="AcL3Drl6GbGejix00QAm204xDBSQ_bQIsZJ--gl-MkIFlvNf5d_En1amEEV2Aegum9A"; e_fb_httpversion="AcKTndU3ecxyOrKbo90Rxg0QJ_myo9ODBdlQE0zjP8QuGC__5vHg99Q5lOfP"; e_fb_binaryversion="AcLeQByjjcq-8WAL7KU-ElkObx_QaULTQxAbfOg03kDLUi8rW6OKEiRQi6DofKe_Mz3RZDnIIm7OXCt-t3X0OKLO1jxPn5NEJbg"; e_proxy="AcK16fsaCq1AjJEkWgu546TKm6Umms6LGsj-HXbCzoDhYxr5Hv6FwoFDkcUkP63NSMg4AblQYYrlPS4"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=199, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/03/2024 17:44:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:44:34: Error on send one message facebookId => 25234289706186899 04/03/2024 17:44:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ApYhVBRcLxmU6DzB_LEUTMt" } } 04/03/2024 17:44:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/03/2024 17:44:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16601824, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5DLefj11QGVf8ae8XSet1G', 'x-fb-trace-id': 'CKRVgOKUtoG', 'x-fb-rev': '1012510128', 'x-fb-debug': 'XGuaInMD6ZEjzPqC89atCiMxyoYN59BAC0YGbLDEeonuwNIS20TItkvj1j2oslCdp2ROjuhVWYpCZmeC/qC9ug==', date: 'Wed, 03 Apr 2024 17:44:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLiSLTzjNstPg7HvQp3tx-F7E26Fg0jWmyCWLfXIQL3iGiAd7ylWzHeBygSCg"; e_clientaddr="AcLn-sAyYREfV9hbgdfHCi798bH00908DkY-34gT-OMDwC5F3EbolhAwbqliDpRyUwqIlxxVuinXH-kgdSE0-zkrADKJNGg1lHauMd3LVgZXv-GEHw"; e_fb_vipport="AcIeO7c0N00apostKxyXubfnwV4GPb3ZfvH2fkXr2uMKvr1-BLoXz5ef_lUH"; e_upip="AcIX1R5-CC5srjmuEZxcbKfh1ZJx1N1aJtX1yykfEgEZsGE-04v1erCGB6as74GtcVUXrFV-45d5uJoszBhVJw888lPT9X9OiP8"; e_fb_requestsequencenumber="AcL6wowg835a30hdo0HBUMfXUUEmFf7Z7G8_JRXuOGrX8WJvabIziOSr1HA"; e_fb_hostheader="AcLRuh8Zk8xaqPLTk-HIdqwIuC_W4fIxW1z0JR5FQ5vU2Ls9s6BGOo2EYMri8WDUC7gC4msphrpKbWJa"; e_fb_vipaddr="AcKr_y99fmGyptFX4IB0cNrhWCpe8qxbXTKe3PE7IVcKBc7o0UNHPxjYHyhNN_l_vyl-LFVcHil0Mnj3stP_fVhVMaZgTrt7OA"; e_fb_requesthandler="AcLXv8idvHVEJYyVemlSvRipHgM-tWT8s4U5icXzHNwv9Y_ktpReKJBUQrtXJHQk0pafdjQFuBg"; e_fb_requesttime="AcI9mUESduuNVWaWu25xHzA_HbtHfp7LrSLCZvPacG0j6hftQyuEvxNsDd7Fe-DF4ZEUon8_zg"; e_fb_builduser="AcKs9GBy7wpbCrstEhXopG4WHFKN-krzj6x0u1og4D7aJBiYt9L0ZPhUDwNBvtHowNA"; e_fb_httpversion="AcLqSJscTQ-hoz6y9DRgTH3UATxCNNGdfvMmF16j0LPEh-WYvvee4NaM7aS3"; e_fb_binaryversion="AcJ9jMGRb8Eqhg90gtMjvwiNFSf0LhzzrLgx_NBUnTcfnFObvErhYdNOpyvVWSJDE8qFjPrNjLOAx8jrvXSg2QDW4vpIVzxjSYs"; e_proxy="AcJ4cb8OeMg8nzBJc3PS1czcElVr7Bzjb5uou_484QlHUDfaNPrJgG0SsVG7qLHLMhZ245s1b6VvFQBf3OSz", http_request_error; e_fb_configversion="AcI7qZsdLs9tNn_XVHBIT18FqE3pfM8MosxcJ73lqdpr0lPwWsaVwvtadhRo2Q"; e_clientaddr="AcLPNsCLDYjIKD3QcmmOAnwLP2h_ByBbZDIyZ0caYIT4-I1sO4Me8lcR27iX-JWc7iNACmGSxyrep_u3FQ"; e_fb_vipport="AcL1JjI23wQqyaY9FYA_W1UIB-ojjmpVZWDoE3f9vKMVoFkfX_OXm29-Eo1v"; e_upip="AcJMXIlyJ4_HLrEIxdwQB1Wkfo6-3Wj6SurQ-6r-36fbMYNFBNCdzbOcLtrWYMZSzqUxPh8cWi77YpIzahCpWsdeZD1mt3Ygnw"; e_fb_requestsequencenumber="AcJ59j_LoMa5tvGqtl806CeGPrr6HAQOzOeS5PEnVRO6gpgisUXhnQSp5g"; e_fb_hostheader="AcJmwpcLn00WrUOl_pKiENXRKjfF5Jtz1TkUh5WZnXFmsepnXbVTEjo9K-HxLIANDMDVOII9T-2fHu4R"; e_fb_vipaddr="AcLM_Z3DSlQ7jB3nIH2vvGFNhT3Jm7FzzYE1uUvI3RpyGv2Sub0pz5Ki5ys1GW0uWUeqsBj11w"; e_fb_requesthandler="AcINXrXIfzb_awyGsSsOooxPDSAau7jAQxjfhf6nhJma7y0h9H3wIwRaQ-QhleKhD4zLvjYIS2Q"; e_fb_requesttime="AcJETqydugBO51k0iMDSJsxM5Ma5mBmbMjeLL8FrCSRO8e56KB6Zckb7ERdyZjDAQTd5X86Rtw"; e_fb_builduser="AcJhiOg9cr2SioYFnqqT17TWXinng4uOIC_Q2Jw-Xzw7bljCkK_T59lPBtp-gpkq4rU"; e_fb_httpversion="AcI69HpOXLa-K8QveA_pyFa5FN7AuEUf3tBMsy9uKTN-ysRAbrUEXJaAKaoH"; e_fb_binaryversion="AcJYLJsVO3d2P-qC6-brgTf-HPPqwP3QAbE6UQanQXvv34Ji7rk_dtpeT8VO5IfAQ7my7h9MM0gA1JR-u_E8U8cDrs4izMrDsQY"; e_proxy="AcJakDe4rU_uU2occYXj71tAJt-yUXAe7b7DrwxEUfWHxOgOxwckUd8K_SjWxOfTQIRVllzga8mz2czp"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/03/2024 17:44:36: Error on send one message facebookId => 25234289706186899 04/03/2024 17:44:36: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AIpOrlfHlCkD8OatiUwtfnh" } } 04/03/2024 17:44:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/03/2024 17:44:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:44:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16601963, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4pnxnsxAuZ6LcJFkW97G2y', 'x-fb-trace-id': 'GJ0BL/Wx8zi', 'x-fb-rev': '1012510128', 'x-fb-debug': 'SU6l9AocKZwuWAQmdLdpswJn1+yxkz8Cjxh1UCW5rIsjW386jB+9igkDGXKQhB3b+EhailEzWYJPOPbDjC37AQ==', date: 'Wed, 03 Apr 2024 17:44:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLcuwa5sLnIjffwikxuq93jcN7T2q0JDrh6ejdF0tdXwgqgNR_O8tn3iH6oyQ"; e_clientaddr="AcJsfckvhvjJgwiAReju1wcNx2I4hjbjvJ_huwjJm2nh7L1V93Y04cdx31Iin_x-oIgK8OanTLOz-5S1NpkT27dRBEGfmpfUsSZ2zTpjG3L_I9BJzw"; e_fb_vipport="AcLyS-m-ZvD-JC9AGoGLDCvu5JjGP9kgpGEsM62fcY1B78T5e_E8w7UJ61F2"; e_upip="AcLzLPt2JlNm3leF3RfA688r99Rj5ruDEZ_HPvJ_cSFYgLj9kccvWfU6Hsp6DY3YXj2eHccvKXyy1IwDL8OeyTgdAqTY2HZff5M"; e_fb_requestsequencenumber="AcJq2cWzCxQNJ8svQkyXHsPqT2ekel-abkDkmRrtHbohE-QEmcAXxT-IozaJ"; e_fb_hostheader="AcJuBLdbgAWuvbEAMuwiKoCLm_35e3j0v_Y6zsdfVqRF4gAIWtyH2MoUEylaHMJqFTXvwV76L0lLEKel"; e_fb_vipaddr="AcI7av35btctZYrjg9Z-zhYaF3tYMCZcSewv6_HgJ9pjYLOX7PFHjKzc7tb73cQ23SbNX_-B_kK50SgiA42vJBHpbpmsG8t0rg"; e_fb_requesthandler="AcI6IdeAnJwfMBafdNutMC-IXDkb3Us7R03rIEy5QMlqWpII4X3bAjhf6q-u4CSzxvnbRYWwu60"; e_fb_requesttime="AcLPYpnrExfthKSdrhzQ7FRXsOM91whXHDuLCJGdPJn3n_Xayft7HpfbHihDaDa7X2oNEYfEyw"; e_fb_builduser="AcLgEi5O_ilgxqjPUcGAFGnnX_oBlwwSeseBynwJCJh2C8wTmiPdf4ytR4ZcCjyJ1gc"; e_fb_httpversion="AcIWYVNpJ5eiyqQ90NgRIktafksppynxpTARxe_rq0i9Ee1FKeNHCpzHBkBO"; e_fb_binaryversion="AcL6my-Ic9uSfH9lkYODpsD75QIpjZQ1TgOjIaVPauG0x4ry-oONF1zoU2ae9vxDsT7yxabvxIPcXA-7ziUs2Aqp5aobqIZVGcM"; e_proxy="AcL-rQiLS42aq2e0QFTKj8Pb-NumDe7wbhySE8vdL0YMxKOrE1MAJdFXV-PqpaaOp6D23AvePy6RBBXBYrD1", http_request_error; e_fb_configversion="AcJPZ5eaaq85YAgNBIe9iRYEt6YQkMabAf_tF5751YaRqDb1YkOyWHhGeOpJ0g"; e_clientaddr="AcLDOoY7IcFy9F7pbFvoyWthHw6HmHxHYV4urG-CXaZIzGdGjYYcW-iTV32t6icTNEXkpfHSW5UZBp1dBQ"; e_fb_vipport="AcJrsQER50kWk_iA07xi2QZa_DZyOIXftlOyxzDf-ZWDIELXlvRE9qvKx3vJ"; e_upip="AcI2DuIESOFMBugNbS5WUl9kcNglk6qPHwL46D1E5P4pmBauKCukwI_TIC4LZzROns0F_ZvW4A06wToJiMMSpw6LaH0ruu8cFg"; e_fb_requestsequencenumber="AcJfIgkyywPHbgc_HzcOG7ZQ4c7u5M11e3h9kaG5awMdRue9J5hr0esc8w"; e_fb_hostheader="AcKWKK9PhP6JpnWmwMW2d1QsgI7mYJub7UI1Hk3kmUEFmZon4zKuYYrsqxNlERiWd3G5pJbuBKJeYzYQ"; e_fb_vipaddr="AcLWqJ6PtVi4cwxjYe6XQwZogFxsRoqk8MWmkh2gWVLEgqctkj8WgktcaVqsD0IBYDrdIEsRQg"; e_fb_requesthandler="AcItYZSp7z6q1wdp1h6-hBAiDy6J7kQtPQp3YixfN7mAKVXP2oXyNQ0BKYCBjOif_YiA6Uh6fRg"; e_fb_requesttime="AcJ1q1aXPk143X4ggbYHDgPwszTT0UWwY1bZqsSXMOqHxNQNhoKy__A4vj5kRiBmuomV_k9rSw"; e_fb_builduser="AcJENzja71TF6VRZlV8cY9GJMnupACA2k7opzJK7q1OwEuKVYaYZ0fuafjF7bolRjRo"; e_fb_httpversion="AcKyS2_Dbmduufq-pSoCDW-oIg01AlnK6zvq60uHjbg-Mcv-pX6eaFDsbG2d"; e_fb_binaryversion="AcIeBHW6R-LmsQGDeGlDQ8OR_ZzmDNnGycOL0rcd-OtRYW7fa6mUfxEs48l2FmWraCTrN23tDzIZM_KIDtkLM35lhq5v1jNdKvM"; e_proxy="AcKk1Cr1kGImWteiddRk35z3ubYbXSwAUyhS58pUKpcsyscFJIn1c-oGqE9XA-fDB_4P2D_oir6KFXQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=196, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/03/2024 17:47:28: Error on send one message facebookId => 25234289706186899 04/03/2024 17:47:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AGV3GYKmP-Ug00zrSjlhZQj" } } 04/03/2024 17:47:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:47:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:47:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:48:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:48:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16603052, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APJ8zZBXu6bR1chAn_7OEah', 'x-fb-trace-id': 'DFDe4MpIYAb', 'x-fb-rev': '1012513638', 'x-fb-debug': 'N+r8nM52Om3sSO/aZdrL5SUHJwGQowVkZTpEOWdhXN/5oWbQVrvE8NZ4kR5jRNKAMl1xFbYNWv96+YV+9yuWXg==', date: 'Wed, 03 Apr 2024 17:48:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcL9LzR3Bik9-IYT3oYh2ioyryU_VnTAnlMW4fzlxRwDxUiHaYUHICNSHkSwcw"; e_clientaddr="AcK5skjeYDnhmGHXY5AzliKbR42viD1er6yTfDWHoSAiy-Q-FN02-W-Q3V5QJ4eKjXxdTNRClzcIMmmkCyJ7uPQlvO0uuJUPnh3rzzryZ90EZL0meQ"; e_fb_vipport="AcLvO95Nt29bt7M4baid5eUs_J-eimEvkVmvfDWCXFHer6N3NbTU3hXHa6rA"; e_upip="AcIwnzDXKzT-D3U6aHEbgQImiXdSEiV19HUdzkWU_tJHPk2ZEjYlo_U_cCVto9aM2mx7OsBu8GJUAqRxqNZH7ueA73HSXR6lSpc"; e_fb_requestsequencenumber="AcKjq2lNqk3e5Gp80dLktvNxchcbCakhEo4-nU8YTWBgJL2r0ByC6c32W552-Q"; e_fb_hostheader="AcKjHZcyIDOKt5nRw99hxmgdCs2xEYlxwUXgMgYnM1eCjM8KrTxKUYCkdfM6ff9_iduWwfU0W_iRjrgj"; e_fb_vipaddr="AcIGNN4hCaLsf2_4Vf1jwmFLgvrWCmPLyDMfYabrLKJ9cIX88EiRVqQ7VcX4dRS90RnTSOswUx2-m5y4sJUNhVK-vK-qxeKo1Q"; e_fb_requesthandler="AcIohSor967X5Rfyska35g_eSM1tBXdnjX_3LDBDlVznQPFTdl006mVtlDVcjJhkpLLkcxXcl-c"; e_fb_requesttime="AcIj02wpb3r9mT8XYG1utA5gPqT30JChBz9O-ufxO6R2mQzhDsPmL8_FEc0z6BKkmxZomB48TA"; e_fb_builduser="AcITW2BuPl-53B_dhoN0Lpm-pNa7is5O01ng2Uoz_gb0zcOaz2jTecsxgk8X0El8WwE"; e_fb_httpversion="AcIbL3uu0zFm05suLKQCn5ZLGQ91Lmh2MR94egL4d1yK_ntzVvnwkSa40h_k"; e_fb_binaryversion="AcJcOdTd_bvPUFzSk_haDq3vvK5dLnSznkSVtZ9USHKcJffVYoZ0Ay3N-WUCAGKzhJYEjaUxOXHMTfLtIJTF34yugclDe2UQTw0"; e_proxy="AcK3z4Tp2mwuL6E5SJBL-yryxb1fF8gfT9_nM_1ANxFyo5kVm1Ktgi9yWurJ_Z7kR_lXsVMNxTkJY2_cl0vz", http_request_error; e_fb_configversion="AcIfTvVG9bOBgGVYXc74KrJ7xFFoy2nIKKw3tYuVvUeMDNyKU3-Q8Ol4-LMJhQ"; e_clientaddr="AcLL4gl6mfjZhvIRvaKkgcm_Er5CYyxtzl92pLDcwb4k3OhpQXhNlNe921ned5ybaTCjFAkr2lw_EI9Pfw"; e_fb_vipport="AcLv3YLtwXY0o1wJJOe8KTF7TXjIzPnaMoRd0vyagX1Rc8EVC49BaxqoOf5e"; e_upip="AcIhyaLCtoqMBrwXg8q9eSF6f64XC34JT2kIWq-tjDJl_s3I6xuLxnCjmeOgNDH3Jcdrd01D4yN3TI71Yl8r6AtPVl6GA1ZuGg"; e_fb_requestsequencenumber="AcJsWk0M7QOVFaeENzG8VGeXb6YMprqyq1LIjRUDhGLPKIbrPXwwxq0fJQ"; e_fb_hostheader="AcKxeB_JoZOzF8xpfQ5pwj3t4YblU3olEhuqnOBWq4EHBudSbD7e5HQVmzlP2AdP2grVYlNE4qm9hWgb"; e_fb_vipaddr="AcJCTUyQ5nCJHgU_YdZybQpYFG7OhKWU_mx7_ZFHt0UuzoCVm16-4z2yTuwM_PXV8PsP_AbJAQ"; e_fb_requesthandler="AcJcMnQeuebl5YESx1nEfYbLinOmJS5hx_rCrYtnv3R1cVG51IDG44JpogIcAHiq1V56O3SE2eA"; e_fb_requesttime="AcKJ9faYhRuXoxfM34Z8uSCCtK7jA1CHTOuH3fBaZZupTQ-Gl_dcI2yNUhTmsEqduMZMpQjC5g"; e_fb_builduser="AcLxiyBGg7Zq0-k-ftlsVAJSRWQt3wsJ8es0wCzc6kMU_CWSN63ejAw0QRkZbXO0lcE"; e_fb_httpversion="AcLBfN4D0FSEq5WefKO8IvXWgPaNbU3zINVd738pi0YJbszv_lKNfGOom1aO"; e_fb_binaryversion="AcK3yWM6YiNZNRGqDyAilz9BT0PXqA56yucxJKBFiGg4Fyhu1de1muFZGvGCh53G9VuOso48yHr15G5ptwo8AwoiUjg4i8DYbMc"; e_proxy="AcLE6XVSVpNHaad4-J1cY4Zv7a-shZJt7Jr_tqBruLdidtR74g743ve7Nt2U0lpWNB0fTIX1Q4wZ2G8"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=104, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/03/2024 17:48:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:48:47: Error on send one message facebookId => 25234289706186899 04/03/2024 17:48:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AdYaANN86Td7yNLWNpVh4ko" } } 04/03/2024 17:48:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:48:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16603187, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQ1stuF-Bs5OuTCmy2bJ_3f', 'x-fb-trace-id': 'EWTHRUz3/F1', 'x-fb-rev': '1012510128', 'x-fb-debug': '5X/5BcEa/ysK8Ankuab3R07BZZaddbet/2KneokLy5ktTei4hlmUYwu2+ON/OvWNK8MhfiuNl5AO71ZFFFRNaw==', date: 'Wed, 03 Apr 2024 17:48:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKNDvdz0EGzctTd0avTCjRVVc0hPd16FEr89ey3pJNtaSBQI-8JQVmP9eOqIA"; e_clientaddr="AcJHmBcxf1BpQ_YvP3C1vaWoA_Fybo9KYN6qmIKn80b3IVgdyhAy1bEVqKYcAuPLxZTfmRFeo6tTrNRSqj-_LdDgVGqFAdoEZvyc5IdRcTlrYLG00Q"; e_fb_vipport="AcLLvFLP-YLmQ7oa2pF7FqJbYhgJicwVfd5Prnp2fxy2Z6FOjaBDfE4GdNu6"; e_upip="AcIm2XDTisRb9tpqR4yVyHMviKNpjGRNc5BfJWAEmHr0UbNF6TkDtv5OfmfREIrkwQAbTzzqzC4-NnA9KoDTR7tiipHbdgUx9A"; e_fb_requestsequencenumber="AcJ1-cJiF6lq9p-37Y3fePU9zjE07xQw19X4_smEwVe4fGILrInaq3v8tVAI"; e_fb_hostheader="AcL7dIPwFO0bVU2NShJBzlNPxfMdPkIy5MKFH7OXSmWOpFyJYNZLsA5TfFC9w15OAnrx1IJQTWNEwnuv"; e_fb_vipaddr="AcK23e5h_sL6ij2hX6khFoExlYGXNT_ft-Gt7wMHjI9mlTrgnuvuBpp1vwPzHwZInoGeexQhxcLtFuSkMhEYVirxXZ0YCdsgQQ"; e_fb_requesthandler="AcK7qRovKoLxlvU8-1FXJ08MetC9hIDkItrrOAxQAyqMZhmCXj5EvjcF2yCTd9XEnDY-JTgsNBw"; e_fb_requesttime="AcIpfGGrWuyIj19QToeP2qv7wbNRbWbCQPGxpRhvq4mq2Mu8PA1xpTq7-8jf1S7h6TzXzINUfQ"; e_fb_builduser="AcKdNoZTZ3EWXJBU2G8VZ_t8Lyc7nlYLue6AqlFgedAelorZLt7xzBtuqGia0XjSYjk"; e_fb_httpversion="AcImNRnZdaDs2gYiU8kbZoGokTIVzGRZVhjgiOmhEPw1fQmWhw-3i3GL1fS3"; e_fb_binaryversion="AcLBTdiB2FHw0DulXQI6JSvfiBqDNHquRHTcxsVi_9GCN9Zxjz2xxedwkReNB7sE2w0ltWJ7wOXAkbbt-GyrqkrX1JPxdKJYh-s"; e_proxy="AcK0Vzcp1-mCk2rSbXrNeFV_ZSSInI-CoTJPtxjw8bfgleJRU27G7InYjcnknv8fGd57SFjP2dmoMf6yda8l", http_request_error; e_fb_configversion="AcLV0RnOKHBevyUs80XSgSZnDQ9jDUHsDY5rLD-IKILOQcI6v_Te7_zwDHiu8g"; e_clientaddr="AcJP5imcD02y3Dqt_HHRF3FD8_pjgO70xjnXIXQehCD_HloOxEWh_WjMqU0Wzhfe0HceSHcBn007hw39Gw"; e_fb_vipport="AcKKeeyvPVZ6mcOKg8K-2DoN6kjXsP4p4vBfLnw1L0Z5CBkJl1n_dKeBxO7C"; e_upip="AcIe6G3sdZI70u2bJefD_rYyKu-Z83a6flFYYmPqs8JJ2bRWVyf460s6LSUO4EJ9gM5TtjJ6RmppyWFJCWivQfTq2NSgcEBd1Q"; e_fb_requestsequencenumber="AcL7L5nXJjvRWoMyFzDRocmUlB1gNbuAefWVI5V6fesKX3P0R1hHmonmwg"; e_fb_hostheader="AcL05DIcLbjDTpXQZVOhwymUuzCRTh9yTjevECJHYRJduH-ve6pHpQC6hruP1M9yjEY0hzwcM57E9YfI"; e_fb_vipaddr="AcI8cfXmK095LtedjuM7ezQTKnoAPqonKLciAe1pzLDWaOLjtItbyQrNIJuGtGRcYfo2NTv46A"; e_fb_requesthandler="AcKBDPtoXdciiXcih6Hb7JT0MgQmvhqlCANNgc8oWCzv9Bj0FDBTDzzjWHuS4fje6QHtPQyvkjY"; e_fb_requesttime="AcJ-2NRkbpAqZcM4s0mkDQ5AG3Tjh8G7Xb-w-fAI2Xwslcl7LHB4XwiSroPWxsu8tt1hiP0QJQ"; e_fb_builduser="AcI4r3DsnEj2zrRZ3Jojsmcx0FUkPA9ck-M1-qGYgm2AK0TWdE5R3G5ffw9d4DN3Suc"; e_fb_httpversion="AcIczDjcJwRyazBuwZwixbRCGoYN9Ou262K1yiHwqYps_ZrJs2xeFU18AuOc"; e_fb_binaryversion="AcIEwxdimE9KqSor2BgAQ13bFRGcYq2EIxFMQ8PCE9HjSpuzNSomR6JQTXdggmtbC7tPkxLmc0CRRhBU2X6H4XS5XDViChpi__k"; e_proxy="AcJz12AaoO61hxGZSOqfcdbszpN84Ac5DUnz4qSuax59IIgQ-9pdLQd3OK52CX_u7bDDpzUnm08aE6E"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=103, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/03/2024 17:50:35: Error on send one message facebookId => 25234289706186899 04/03/2024 17:50:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "APgkljgZQViv6yWcF2QScgc" } } 04/03/2024 17:50:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:50:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:50:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:50:40: Error on send one message facebookId => 25234289706186899 04/03/2024 17:50:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ajj_pcmrShSCF25w6iWxrEu" } } 04/03/2024 17:50:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:50:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:50:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:50:47: Error on send one message facebookId => 25234289706186899 04/03/2024 17:50:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2VZhiTE_O37oAe1XcUR_zp" } } 04/03/2024 17:50:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:50:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:50:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:50:53: Error on send one message facebookId => 25234289706186899 04/03/2024 17:50:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AzCI7To_OVTImGMHgKAVrIv" } } 04/03/2024 17:50:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:50:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:50:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:52:36: Error on send one message facebookId => 25234289706186899 04/03/2024 17:52:36: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aq3r7T8Fdzr0f_-IEfPXLMe" } } 04/03/2024 17:52:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:52:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:52:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:53:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:53:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:53:23: Error on send one message facebookId => 25234289706186899 04/03/2024 17:53:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Azwfd5JFEltIFeLGUponjl7" } } 04/03/2024 17:53:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16605577, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Abzo7AHN2584QJiRcbLkJNk', 'x-fb-trace-id': 'BGi5OBjuS57', 'x-fb-rev': '1012510128', 'x-fb-debug': 'NFmrUWocCWC2TbdqFRPa2nB5VWEP7qfUjVa0gSO80DTURRVBaEI6bEE10emSCv8etkHeTlaZ/iZYLFQRGCatAA==', date: 'Wed, 03 Apr 2024 17:53:31 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcK_hK684-4ZJqR8oqOmRm3x-6BO-Y1WtX3D7YHz8hUwYiJ0KBoyzE1Yq5ip3A"; e_clientaddr="AcKH9XeXhxaZNUzkOetGdR69xDwaYXeSH7EUTygJq8zyG9WOcw4fSSAYJFhz2UJULW4Pw4QvkLissEgKdPrjKu5-tKy5FnMNfgZxoE1zf16RtnuOaQ"; e_fb_vipport="AcLMqt8TySL_ribmppoeX04UMMx09DLe8NXQM0UJ4LzjGXSuFLjgzIRBMeW7"; e_upip="AcKhGXyKKyjHWTbHOSC9OP1YiqgJlfiQfZlXz3sYQ-OR9KbVxIqxepFEQ3aU6urLkcxL6zaSOUvI-m3L1pr5V4kk018Ogm6Y9t8"; e_fb_requestsequencenumber="AcLL-Snja8eKjNLau204q6e3rYKNIQALv0Bbnko6ghHBauBWC0rZIhm5-u82eA"; e_fb_hostheader="AcL7THov8jjIzJaTHXulFfoa5UKCh27pwYoPzFUjNziVsdfPLK2Gg15M2q5Zg7nNliAQ_aFlO33pGLvp"; e_fb_vipaddr="AcLkTkHWBvXj5t9t8SGtJBXpAOJGKHsb0lE6FP9HwRyC0x-dEXlnQ4HJ0HsMn78_YWCENwJFTAiETZkBXfmKXj3dHvLPoWprHw"; e_fb_requesthandler="AcJ_WynYAuMKuaXzMwYyOxnqJ5pwf_-x0nrq3DuT60IvIH_cp_9Cd5wNxLtqnnA3qslJobssa-w"; e_fb_requesttime="AcKuvT4Xb8YvQ8DoR2Pbgv0Fm1N4NDW52Tzjxt8MKwJSNn_DygeQUlKSGYNzmLykSea697-pHA"; e_fb_builduser="AcK3J6Z6N6dAlM7tuoizu8L2HQElMJXr4JkwYolN9d2VNcMmGPpSUigsxmrcys_n1O8"; e_fb_httpversion="AcJdf6bbkmNy_YF-vV5A1ufngiPbIeGghmdfqfe8trp2uIJFuld4ICRV-trM"; e_fb_binaryversion="AcJ-FXbkNJ43gCVc5i6MfwRMKnI5NkpfPILCi9W0e9uz99m_ir-Lxf1KU6P0-sTQyW-g2zOxUYVSq_g8PLV3ycDFrxeuQqU5Ues"; e_proxy="AcI7PEtS8jjLMV2UYkgXjE0VYrqt5DDM44SIl4DitjGXxumv5z1pla5c4ofJu6T4vT_847edXonUOR0Nb0Ep", http_request_error; e_fb_configversion="AcIy5sQ6ltWtn1m7s-HP8KXCcmvqanpDfnt6MqwBHhE8pm39RMQBAcamE59Edw"; e_clientaddr="AcKmhSa_qzydf-Kv9wU8Zt-QSE0Elpe0q1IXcmARMYk-_WvwONgUiitnbG7KTZenJt4mEPTIE6W3hoBpLQ"; e_fb_vipport="AcJQh0gx1gZ1xQOIrPJP4ia9aDsySqhe9sfHSbbXzYKA_mA_7j_rgFBlPxMa"; e_upip="AcJspkkH0mvQ-PwhO4Ja4mJIAjx2afTm73W6W2A6xy15Ic4Y2kbMYN8H3-Edqdfa7QDWKd-91kukl4SMEYVEM1U0ZNzmOx2E4Q"; e_fb_requestsequencenumber="AcKaDE5lNyvKnlE7cWntYOjmQdAAkQc5x5TYiSka7KcUQ6j8UhrLS4rAaQ"; e_fb_hostheader="AcKsp1ouSOh0vFducaqJ9igVp6AlhIeV_L81wFK-SNMYhbZATNJAz2YST6OC7I9bZWokPJxhWYIX98u1"; e_fb_vipaddr="AcIji3h6rLusHLhfqwumN1ZwqvUs68XqnmVZH3EOleyHNsueDnbr_FyQTf_6wveJh7Vld1q_Hw"; e_fb_requesthandler="AcIK4gt2sQXYYeqnbf5ZAYV7zIEfAv7ZDUb_NkCW2WjBsZgPAxW3glemiizh3gyUXM1KUcWBTxs"; e_fb_requesttime="AcLgCjPDWUCaOAdHl7BphDda7Vn2tPPF9PJKtfg8W19zCsZ0pN8VeaQlcba7KP8gF2CAldaHoQ"; e_fb_builduser="AcLz2PZZ_ovGtfFU_msLp5EoLN4knnDKqgHwBOv_EFfxR09tyL0TQchsU2REy_YSLXw"; e_fb_httpversion="AcLVM8VDNOTYB1_rOTfV5gfSR0kc5QOhBb9xGbXgLtdlp-pjXPWLek5M7zzj"; e_fb_binaryversion="AcJRYrWmnGpkjWBpUiX_Snn9sfv-7knKYghXr5E61GdgO7xOU9ZUii43zlRfJCMVoWB62XvzbX40aQMZNDn29kQIysotOdu5-FY"; e_proxy="AcLg-RM3KSeFH35Wm2WlFO1QdeJ1r6WDRRLKpeWhig9sH_jqR9zei78C0p3yejk9XK1Eg3x0cDhSDtBN"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=124, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/03/2024 17:53:25: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/03/2024 17:53:26: Error on send one message facebookId => 25234289706186899 04/03/2024 17:53:26: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Akzhn4REwYQ5Bmw0_XKp2gt" } } 04/03/2024 17:53:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 17:53:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16605761, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APKzWvX5YtpX1F0J5IB49TP', 'x-fb-trace-id': 'G7ZBvP2yal2', 'x-fb-rev': '1012513638', 'x-fb-debug': 'w4M40PO4/vcmvrDa7OnsnCVa/HS0NUtue5TriUZlrlX7K+uQKOBdy2tDpkn3m2N5plVK7ieVatKLzxJgmhAhNg==', date: 'Wed, 03 Apr 2024 17:53:34 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIK_zZjD1MXXIE3nHPb9Kkh1LDR5QDbEhOUAGVmXaWsg5rcIOKE5qf68v0aRg"; e_clientaddr="AcLx6JVIFKcZRo-QSO3k8Y5Rwy3kreIjUYBL6GfnUJetAnisy7T69lAwmSitAw4Std96hifAFKZlnuZ4TtE4pnD87XyslvNTXELOqLPMWovMGTE19A"; e_fb_vipport="AcLGstLpoKUQYb8vjDgLo_e-q1El1SaUDT9EGEwSmu9hcRb0EbDUFtyZuSwc"; e_upip="AcJhbVMPUR963yWt1umdlps1LH8_opBpNg8ibFbXCFkbax3vjWxMafl6vWOctmiF0D_VMlfl-K0K0YS1gqYCHhSw3rks4B8Mxao"; e_fb_requestsequencenumber="AcJHc7XW7Jt4lR6xFBYnJf-yrdQH9bdrDA1uI3kxzrH-U5WJaELY5P59_wKf"; e_fb_hostheader="AcL1TsPe1AVq-obT6Jp4M1SV9HMQWCyHd0KKT89CvEx_VhtVjBmirOnJB8n5VqYJd8TmcK7F_hSo4fj0"; e_fb_vipaddr="AcKBP1tPr5ExxC9Qpzrea_uXUcuIyIi28xcj57_O47mnZjyKesxq_UI6uPNLsM9sSodravPtQoXYDbEQ792h3Erg0gwutdqjpw"; e_fb_requesthandler="AcJUD413R32lCtS7rvXo6w_SPw7AmxLybwG04hNPH3bKLtrYMgrwKBpTMJv8kpvzLZ8LGY6lEOQ"; e_fb_requesttime="AcISh-GqquH5UCWNZmrbdxhZDD4I5KmvF6s4GD6B6yM1t1glTzeKNDCfxXXEuQ6E0PuCz5kW-g"; e_fb_builduser="AcJ8NhohCpN8TEYOy0SC9sRyHL-IT-g8Dgah8IVlkUmj8pZK6yYKUBCEWv5lQmTWflE"; e_fb_httpversion="AcIhJoG-JCEnblmdHZ7Z8sMA3sGX4LhWCsOob2sK_uANrtj_NIPZwEyJCfjU"; e_fb_binaryversion="AcKe8ubrrGEhgKUWpQ-5ZXb0Soy5IUif0D0x89ap6jfOufKiH1v5hvPthD52YQLelyTTGPtYMBgkWU-8oRzVNK8oBs5Wf_snCtw"; e_proxy="AcIf-k51XHz0iI74uX7V_ujYEbdVgKLeVeKkt_D9MQvK4BG9O2hnj_8mGn0XgU1tf-NlhmlzrFDYL6nCEHdi", http_request_error; e_fb_configversion="AcITc7fH9mVVWHSNZP1jBFb6cM9LlfgOIzCgtE3DcTgdTGRS7p64zaPrVmqcfQ"; e_clientaddr="AcIsbVwilMmC1LHH5LRqL3svbc5B-bi6FtHlbPiilKyGjwU7SPXq1x1wgb1tifIV1zHY4LD7aONU4kn2Yw"; e_fb_vipport="AcJJ9-HUVKdM5edM9_1NrpedPR6FkHunfdJwF4i9qsaOnYzwWtxDkF34VIsT"; e_upip="AcIMvXa4e15tLJSGPLcFZxhR9OXll_dbBNqVIzJ9UNvCcSmV-Zo-yqSJ7sKv7dq6zbjf-Z6xXBgi4wy4moOhsPS8oZtG7bXxIA"; e_fb_requestsequencenumber="AcJa0m2KvJmQZOmfQSeZGnVF1gZolYSPspZWkaKOS4EAeW9dbYBtUfGnYg"; e_fb_hostheader="AcK531deWsXYFfvUdgxwP6zGqGtkJDVEYoYAVYYNTbuRhGoFsGmL53U9DbD-HOPvJePopHFYJP2wDgau"; e_fb_vipaddr="AcJKQZw060aK5yN63c9hkjzgx4d7eNljCnIiAuoJuGo3iyZ7W7RvDSZQ67SmOe4BezoFNgo0DA"; e_fb_requesthandler="AcLwwhugxSx5HBi4seoOIMpMhcfAxVFAbP-oNc1nMYyY3nk4wYjXrkw5-xMvmw0HxuhFEEWlMSQ"; e_fb_requesttime="AcIl0fjnYtRLyb48s-IdT9nYnSezclAbMTNjiaVoCTskacWQDBGuD2JQxZNYMb9aZcxb8VwdwA"; e_fb_builduser="AcL_dP2xwWAhTZY7VUBCXcBe53hotUh30lczBp1xFyNwumBCOlNO3GemRqBkXaqh7dE"; e_fb_httpversion="AcK5I7r4E0An8SDh_srey0lmPgxiq51aegVxd1r2xlylw7k-ydlB46Yg2JqB"; e_fb_binaryversion="AcJL0xWXbQeXtlmG4wWVqR59FO5V1ROVBFP2lhkbwhYw7QvKPm4FUfpXLA1gsl_Le5ZXx8odpoaurXf0o2WUR0vxz2KYGjiD67A"; e_proxy="AcLJjo6y_2KwobSqK9nBk28OMRKn0T4gWugH6fE6AxuvrbjiUA7d2U1uns3O1MG68SrZack5t550Wms"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=102, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"25234289706186899"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/03/2024 17:55:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:55:47: Error on send one message facebookId => 25234289706186899 04/03/2024 17:55:47: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A-n1A4amA_f6btZY4UVlGp8" } } 04/03/2024 17:55:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:55:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/03/2024 17:55:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 19:40:03: Error on send one message facebookId => 6134541683257283 04/03/2024 19:40:03: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AIi8OF08OZ-PGKoHLt8woyv" } } 04/03/2024 19:40:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/03/2024 20:26:45: Request bot not found: { id: '1067413796753652' } 04/04/2024 10:46:56: Request bot not found: { id: '1067413796753652' } 04/04/2024 11:29:38: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/4936949083092069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16789145, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /4936949083092069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/4936949083092069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/4936949083092069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/4936949083092069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AErx_Lgy3bIwgFXUDMtTNE7', 'x-fb-trace-id': 'C6GJJ3htE2Y', 'x-fb-rev': '1012537916', 'x-fb-debug': 'ofkeFa5hs5D/PYmBlD9dFI1IWb4vNxUdtQzSkpmXWBY2ckVjlvZTjocZjGI0VNYYokGXxBuuLRsmmHLRroiKJQ==', date: 'Thu, 04 Apr 2024 11:29:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKr-p-1VPFMsZuJm8rLO1RoRwo4BwkaZ0p6HJJSXgHl5z1-mJb8RqgfifrNZQ"; e_clientaddr="AcJpEONbqmiZwqThmJPyhCSV7sgCg1sAH-4rZJkuR8a8ox44FtWcjQemrV3oPuSYF07iniP1LLStUCe90FkLu2jSNfvrB29b2rHDJEnPc4Z80H2qQA"; e_fb_vipport="AcJTy4fdOddGodTbO7HmNgq6tkvQTjOiUNarcHZIJbmfQzz0JTBL3IYxoGNv"; e_upip="AcKaaU-AgH8w-MjBpM15o8mFekClI8N9KLwNfMdIYwalTNX3YXJANkcxCYMR8SbPYAArcHRZCK6zi-5GCLCbf_ahHUdc5nn_7mg"; e_fb_requestsequencenumber="AcLG9TFDBZTbeqcXoTWyaeUL_JlvkTnKOo41jLN8-hvU7NMgFgq9og64mtIbwg"; e_fb_hostheader="AcLWs-RH-aCkNtqdtT6SR8UwchZHG_LU_4H3uWcr2zPlb1JvIwUwGZnxD0pbIVY3cMPPrRz8oxOlo1Ff"; e_fb_vipaddr="AcIVxwvBeGXlkVZHpKoxKfgTQgP5FdxzJB_mjHfAuwFxPP9KY50i98Yl2GusAQHtJ1zQ2j8jzO2CnsdP87vIoCC44mInvrstdg"; e_fb_requesthandler="AcKtX2odJQjWD_HUvhfgFiQcGddulXX1gM1QVBHsfX5hIR2m7SLcCV6ksj3xPSz6YErmFIWdILo"; e_fb_requesttime="AcLrYiJQXaszdJ4J7NegHiVM6rstwJr9I_K3D1uzZ_swX7d-0CdL4VEimF4WyxEwz84-F_vk3g"; e_fb_builduser="AcITtHRZ7Mh8mrKCnrIen8__Hr4HgotopvNAVRDmkdHQ3RdPesosyIuC54taO1GKQiU"; e_fb_httpversion="AcLi7NfPSH0__JXo_uEhuZqAsGBfNR5VH1jhm49GqToPx7cEphRo90g4RQKk"; e_fb_binaryversion="AcIfkzCAYuDm5UeKfEQgGmYtEH_En6feOtl__5F2-KMKLJHtXFVqF_6uL7C7n62cjr_nBpaTG5b_vnjKMla_sMSuMbeXitaIRmI"; e_proxy="AcJ8xy45cvGUHDLRWE_8Z7fL6zci70FTdxIS2LubocKFR5XE4l0rtl1jMuEeTIK5AGp0bI6jua_gHUTFZ0-s", http_request_error; e_fb_configversion="AcIDyQeahvrFC8PmCIsy6WF6Mh_Xh2ZywB4712yX254LNCRyoL1HwmGMNKRcOA"; e_clientaddr="AcK0J61P2ZTAZH_keuhdc1pZUBJeR3VZsI8dUTleWDRt2qE3IMz4uo_txpfbBFtaR1Gh8n1eOmQkYCOe3A"; e_fb_vipport="AcKRxorOCiVNLBy_bUaOq5kaxhbxXouZUI3BFfj4PXOBXU_ayPW9nceZgsda"; e_upip="AcL2JOu0JRH2u3mX8jBPeQ85KCaHJy0tJwjPf7X7DSXmOwFepKTv-ZZsTr22AkiTedJ3pUo2BO2ptrxShy0G6VZ9CtJiWBQoZQ"; e_fb_requestsequencenumber="AcJouOQesyevKkZ4dSELV34CBQ0_7VXeDPlUfYwAIAAYzm6YjHBChyZIBQ"; e_fb_hostheader="AcJtJzfMx5c5bxFha0eXQbMRdRzqQlHXiM_RIQC_l-JGoU_aWXq2dACtMDguwIOndH1i5QkhDbufwsBz"; e_fb_vipaddr="AcIOjZ262pMPIU7kvSsY733xOte7i5m2aTDn3d6pT_4HY8r6aPzErOQJUBO9z6Z_dow_7UVFew"; e_fb_requesthandler="AcJzRwtT3qdMPusCUMabxyqUcEKmoKs0yDR1-LJl6XMPoJv_F9I6nN-uuoxbvmNe-8wMWoWMuFQ"; e_fb_requesttime="AcKlTE9GfEmnQNVHKQGl5R_-O7Auvwp0LiFys3YG7dhWBeoQsnCR-kQWLHCKl1oOT_vpBznFIA"; e_fb_builduser="AcIeZkULmeI3M5UKuSSKWhxW5cRk8a6_KwNoYTMs8_d5Gffo8NKDS8T-QdwNYhJQOTs"; e_fb_httpversion="AcICJSnpdhLIE0OQwYeih26jvuKEPsniJ-BDyI8PL_EOEljMdSQRXTYD15YH"; e_fb_binaryversion="AcIiZBQ8PaIRAnMt0E3t1bqHy4vBLOXQv4Dqeh2qpOpBx3P5ssn9htH9kyfxOAsqmrUXW3_BNJT23lbzydTxUhoBuwaxAoZU96k"; e_proxy="AcIIEf8WrLLvlf0ppbRCZ7lvnkLknNhG7TDQBDbFccjI9XmFH-lo9dk1CHKq0RwO9kIy19D3EP5jClA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=367, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/4936949083092069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /4936949083092069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/4936949083092069?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:29:38: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/04/2024 11:29:38: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/04/2024 11:29:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16789269, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXsXaSkFDJwOaPmK2jkx66Z', 'x-fb-trace-id': 'GR2KCwXfiuT', 'x-fb-rev': '1012537916', 'x-fb-debug': 'v5/EqqFAsp0mxyFktsC/8fkFa7Q+mp+MRTiZbIG4ussxvn8cRbr9p/7ZEiugp3NwGLKmOThAKQ1WWE5J/eP1Iw==', date: 'Thu, 04 Apr 2024 11:29:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIPW3dB895wmqkT1_PDLr_DrfEfXfO0zALhcsQugWyoZgqAdaoOqM3BceBtRQ"; e_clientaddr="AcIuJEVBg6ilwM_r32tbIQ4lq5KjNCzPjwZZiJ4IwpPHqZiv03qYmJnr5EWPjb5DlFQoh0boh7XCRrtAFuMKWPr6kpZPXWKAO1gXYyj6rR9rKRtTmA"; e_fb_vipport="AcJ4Lla38acwK2JEjXxs_LkWVTjyOx0ikCc5KPvJLcgn3OJGOb26gGJqzjpp"; e_upip="AcJGgpdn2tDEgN1UkvvFrP1GJbiyx9ffzP3B9t_N0u71tw2pY4nVINWUWotN8FdrDNl_VhbxyPJoRG8N7UJgq7Pw0olZnAudhI8"; e_fb_requestsequencenumber="AcIIeS3omJVeaUX--KYhZkva3YbvUGf7eAQX-f3Z6G9Io9qMsLEgZNJ0cPQv"; e_fb_hostheader="AcKznISG2oGf5WqNoA3kEqn1CTIEBxbSSxY_co3Q8AZFLOqcV5IVtqAcO6Oss2Xr9OdlrP6BVnMK1Plc"; e_fb_vipaddr="AcJ59R48S1JhgALIjZL_i2tEI_5eEBRmBOn5XiFTcOkJn5YS6INmaxLxgo575skOxhRJvcnGPEwoU2MhTbDt9Nw245ftb3AErg"; e_fb_requesthandler="AcLOHFMUinin8UeVoftt6ETG6olkh9BI9r8mNtqXBeCh2KS_tam1NNwaX4IUWBLM5X5V56CDqdc"; e_fb_requesttime="AcIJWb2Qssq3hyE-ZtjmdiN0xKkU6og097z1jkTLtM4xHyhwckXCYYQnVZrCGYnZY6wldNtshQ"; e_fb_builduser="AcJwEFeR7efBw6jlID0Agv_2BWQ1NBqBaAijNjgznKiQgiTj40VWAUuYcwqhZrnDxLs"; e_fb_httpversion="AcLB4_Iqh6MAYv7RSBSNH94gvNAdHLKqiGczPFKtyjN35Ve-iAn9zt5S6Ki1"; e_fb_binaryversion="AcLDvETrKTZiettmETa2K8VWohhkzODALU0RQINeLQe1Ca4iEhAv6UG5f7XrBYbFNLDexukwZZJVzzzjrrYjHCa9O1FbPRvcYKg"; e_proxy="AcIoJ9hxC1KYc4P3UOY7q7n0NShtPqIVt5GE1iVe33Jn4n9M8OAsueDigoI-sNMxOhoCWvhRRoF6NA_udwf4", http_request_error; e_fb_configversion="AcKatX1Ar1TpOC9_Ixw7AJ7hN6bO4DIhZmtzogTrkctPr4SdvystYo6ebv4uRQ"; e_clientaddr="AcJHMdh3DJoXxKW__OmO_JoutbrE2PFGqGITBdFcFcUqu1b9DC1dGup-2eyjit9HK0kFuFUOSCm4mmEZSg"; e_fb_vipport="AcLpHKgk6pcGXCjSJkT0tlTkJEbbmT4MZI4hsMTMPkiNmokYaFPpzNQsj3s0"; e_upip="AcIl0H6NYUNRLX3zO1mGapMgJ0sFIuo1VFdqNCh_3NPGoq9_CjZ_6c6xUJdN2aavWR9Sp3F4ZciqfvqQgDRdP_YQMo18lNSrGg"; e_fb_requestsequencenumber="AcIh8aUiiIFU-a96XMs2kkomVU0qq-wvIB4IxyDab0Vbke9n2E-j_AkQFg"; e_fb_hostheader="AcLfzhHwPJUijXh8QZ9KYT31PqL5Sv1qGALntY8PQdaCTxiBA6Gm1efUANGuwUWAOk6skB-NDJ20aW93"; e_fb_vipaddr="AcKliBg1iSohEcljB8vSIg850pPJjYYaO5q03dRSnsLGxtRH301Wxp-jfwzRPDzJdnISt3tSnw"; e_fb_requesthandler="AcIakxN0fuj0EexVY4EZEG6jJL8dGB4Kn5rZlOXwc2P8u_h2vM6OuYj0A9l54Eal93uh1uhVU64"; e_fb_requesttime="AcKX4-1MyxtnS0pV_9UoqNERGmU_-ouQ2n6Lxfcy8A0pIUgp-7VaZt87iPdkNIX7CAZAk3HPTA"; e_fb_builduser="AcJeX6in7yZKnSF3WpZEwO-eL_txIM1rHoLvdQ4u15_YN9Fz6VI7iVFA7K9obZlZen8"; e_fb_httpversion="AcKsWb-E3FDCHRj0brXLsSXl47gNRfeUDRD947sNL9F2GQ2_eVy6tBq0V_03"; e_fb_binaryversion="AcLGe12VXuEsxTKflu_4FPJNwggwps6dyLzMQgcog6bA_MhvpKWvPLLZwOA6pVJ6X8oF62rL7hBoIu_CkuclndEeEpcGpX2zoqs"; e_proxy="AcLzI6y5YAdaqtKaEz-9XX_YmzDPJ9l9qDT4h5qnA6x27CZ_Nzzc3Sldc0oPn6X78xDId6_1COe8geVx"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:29:38: Error switching inputType 04/04/2024 11:29:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/04/2024 11:29:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/04/2024 11:29:38: Error on send one message facebookId => 4936949083092069 04/04/2024 11:29:38: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1Tv42rPJToaJudnF80PpLQ" } } 04/04/2024 11:29:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16789415, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjUaliYs2BXSk_A-19waSpZ', 'x-fb-trace-id': 'Bl4kTxmfDYO', 'x-fb-rev': '1012537916', 'x-fb-debug': 'TwEP1RciAKBs8bFM0Nj3AtYbmVmC+wknL59HiUf2lPbF9teh5PC1kOkLASuN6tsvtRVpWqpnLFw0XXRjAGrb5Q==', date: 'Thu, 04 Apr 2024 11:29:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLf1ZR6cyHkgkFSozUxPSg2MvimnHaLcQQGwLzNL3-yl4dDkEKAKZ8_-AjxgQ"; e_clientaddr="AcKZKoGL5GvC3qa-9CQQCIJri_G0dpbvNnwRxcaj85OMwDzo7VLj326p2tHhesXEm10a6KRe8a147Hnoo-NzqcDWspQC968qSlitq7Gfs0GPb_UJUw"; e_fb_vipport="AcKoCk7qZhFgf9E3Wf62B0oKkzbEXyEd-nlUyBBRGbd90Wjz1ge1gYsFLp_W"; e_upip="AcJnoTbxFiHbH8REjty53q5xK89xx7CdBZ_zNkODIiL31myQYHin6d2hiajE1k63GwVLTJK_sVW9aTQ-2retscy7la34XDbJ"; e_fb_requestsequencenumber="AcJlb3lTuUIbxfSmU7gGY2UVGbkOwUYARolf0Ft6ZsXvle73N84fisWtQrp03w"; e_fb_hostheader="AcKQDCcsRZYDd5kdHKbOXPYdY31kZ-9PxWHLOsgn0-4I_8ePJi_FjmOKsyKZPkrav3KG9GTPGDlr5y_U"; e_fb_vipaddr="AcK3J1rhfuk7NSMBqCLwIIO-HAr418DATo81-AMUhL3YoWuLlvkY_C2pFe0u2ppQzbXQeANZyez8Kt_plwN9LwL3N3CzIT2Urw"; e_fb_requesthandler="AcL2QVuniknh-Zsc54ghr2vSKpRVFH3SvNm_vjrYH1--aoXVFKHSzLlqL8TMWVlj6aX1mhDeEyY"; e_fb_requesttime="AcIyZi_6NK3KotXqyBZcurDBwOrRPKevyzxBJswVwAnB18KmygR3OjPrGWLL7cOilO6euTwUpA"; e_fb_builduser="AcIgamjtF0YPAtKkYgrwgxJ8TigM5mqzise4vZ2w9Wv0a5d-slRcLCBMvjPUl8atQq4"; e_fb_httpversion="AcLx3VVkXW_cr81YvMWzntHkzdVLZoxBpZ69s3qKoGaonC_lCvwQbdOlZOuw"; e_fb_binaryversion="AcK9y7XKS4BOMzd9XvgQCvwbNU8MSZdsYQ3hzpWjsT2OKPNBX-XondDTNBazY5nkQ8heSWrky4paG5ATRZiB3aqrlGd83EPoRiU"; e_proxy="AcKD9fkQu7tBHYhjnHu8jLGQ1f30E8FogZvw9_fEHE0Z6g700-atZfuDeISTWiWwhdbZzYWkY7i3bu8nm0L_", http_request_error; e_fb_configversion="AcJTsh6DNozcKkX4fyfyeJNZ67WP63wJw8tGNx-Q9vrWz1A1m6YV5xBzFkJ-Jg"; e_clientaddr="AcLAvwHv-1TPuUDcu4IcPc_akvA5IN8fN-MN661DTzNROsOaMbdwnK1a2Qc8LxAEkJSGOvjGM8ThTQn91A"; e_fb_vipport="AcJRDoEvuy9qd42jExnuvE3Ao-zS8FpNXDKjbt5jDmu1l1ax6vEb-KM4ROo4"; e_upip="AcIjatkR3bmJqikuDTKnMnqZS8jYUW6cqg4afUIvbAxi8j-whimrzD1QZIsx5lmBgX_JwmnFnT6EduriFLmRpEFsIMlMPYbtBw"; e_fb_requestsequencenumber="AcJ55sGiG-L0GW2t63rZab2kgEkI_JY9D7atMf4gHpOPHnk1vNeJEI0y3Q"; e_fb_hostheader="AcLYrkjALRTuJcseWgZBX3kKrpjCUcjKW4n6zNZZysbJ9ahkuJ5JAbqzN_t92k9f8V8T38_4CPk_-0tm"; e_fb_vipaddr="AcLL-8qyaQ5UhjItMhACK5rbkonlo2Bp3o9aAvXCzdSjlADTAQa2YvDrVm3Heeo6sUnDJG47Sw"; e_fb_requesthandler="AcJe7m2TWwIx6Sbn0C-WUqMdx_Mv_7NyxeIz-lxkSybSCjwLaKkfVVvi_gd1yqbZd4QxkEeKCKk"; e_fb_requesttime="AcKnZcwLJ9iyKZy4455xXNIhQjnuIu5RKNyK0FVBt2OD5gCHkoN4PsXGG0jMRp6NLw-lJ_ghFA"; e_fb_builduser="AcJU84PKHxZpiihiC0_fW3y6j4z5IOJA33HjacIWkkZFLNOlmvOrMWnMvYShjaROZLk"; e_fb_httpversion="AcKcwLy-rBmayRk2ow3mFi-gM7WpIwmHMVMI0aVkMVRt5TeOW2CG6sOqJQ9Y"; e_fb_binaryversion="AcLmG8_cMkI0ea6JSnLk1YNkXKXTn5hhxGEr_Brbq40d7sxTLeiLnqlIMV3zCMHyD0a8VPPLBADsn7A91sRHGNNJkPq5oiItFtg"; e_proxy="AcI_i8h6wLA1nWPy4Kw2mNNzl9GjLSDmA2-gn5KsqFOdXymxJxQPuPb9ukjz24Ie1YmFSxYHfLw6ZbhB"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:29:38: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/04/2024 11:29:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/04/2024 11:29:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16789556, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiQNyzbKHhFoVsJ8CIXDSIg', 'x-fb-trace-id': 'F972J04JRUO', 'x-fb-rev': '1012537916', 'x-fb-debug': 'F2yvDopEhdyCgA4jNSQ432eX9ePdnDDUyom2NX457sJ3lFsbLKftXnBx+GNnoCMgXeu8xIqYMwYEIPcqrxWC6w==', date: 'Thu, 04 Apr 2024 11:29:47 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJK9UPr2Hg1_UO25tgjia7fbDTlG0heIceDrvcXhnx6dOkjemwwNv4xLYntyw"; e_clientaddr="AcLmkKNTK2nCTqw-f3IeJOtKZI4oyNpij5RBVhdhICuhNBjg16K8xtn3ZOX0Gcg_klB4FPpF3zHioJ2Z3AGvNDjrKweZJmDiI_fGx8hGb7pW0X-tFg"; e_fb_vipport="AcKKhFodqoVgim3sKjZzC23pG_7aMqQeIQfIPdmwCypIlkzrdWFKQjAs3pFz"; e_upip="AcJlaMP7cG2uq0kdnVUs-HlcsjRPsBbQmbHW3G8rKVkb7V9fxY9FzCEnv2PqK569uKdaVNR2zVzMGVC8GeDXkj_DlSqPsq_F8V0"; e_fb_requestsequencenumber="AcLo3Vsk16iwRMxmf55a2wo0GkzKn1VwENnOO0u5v0i3jh845058z467sHZrYQ"; e_fb_hostheader="AcIbYzxC4qqgDU8jYZMVIBP3hfhpHEA-RJeczyplIS7KE6UVJOg3m-mY1nXRzP7E7qODDUdM_rOqm-ZY"; e_fb_vipaddr="AcLpSucrUdymNOaKCmjBoJRTiWUV9gDelTMTYQu3mp2tx4nT0yg41CPLuSziNFDFeKM_WTdm4SM0MNz0sx5nk9NY7DWDz6jGpw"; e_fb_requesthandler="AcIabey1qI-DSCaTY0Hb-EZFemIrXZtX2CFaQKk-xbSdV69m1XWj9qYQs4jq_IwxsfyJ_q0zVPs"; e_fb_requesttime="AcKjPBIZkyDEk1TYFpsVGbvwgfgHjwazDXiM4zGKQ6vFYhwf5Shk0b3aBnl9ctKwmYhwrH6JOQ"; e_fb_builduser="AcKGTcWouFE5NaGJu7M3NMvTSPCBxPXA7Plo2vhVmOitNKw9Lh9p6q5n3azVyQ6gfqc"; e_fb_httpversion="AcKOPOGq_jMyei3L6BpDInRqdQv2Df_EO5KZpre4SFiWD9Fe-_GQJ_AQVK8z"; e_fb_binaryversion="AcJdoWWChpeGXatnPu5x6p1KX8oWfhxZ1SJRDbICJooZhyUtbx85dVW5MJ6lX_S22Xv_HATBZHkIvyhoocw2VLMx61KhXn_LDzs"; e_proxy="AcL6Y-osPveVVuCwql5E5ohdkYLkeejLk-Bz9gRJqpa4T-pHZZK3jo7QNIXrkjrVmMJ160X2uS5Mv9v07U7t", http_request_error; e_fb_configversion="AcIx6J1M-Lx24VOruq4x4UafQLISTQLP9IzEpa-eIK2Xap5B1vVDHkpYqICmqg"; e_clientaddr="AcKDN_ZMSoixyZU6aZfyJKUOftpceDexwmV5FHRCT2Ph6IaK_Y3ca0ZSyfnsoC6WOH9YAiTJyYKxatNRlw"; e_fb_vipport="AcJ3jBMrZLHJk7fZ8JlQr86G52VnOZpYYz8fhvq79P0zxW1TUs0yh4cbHASo"; e_upip="AcJgf-x51aUyrMog7SxbWvMwq_i-meiFOoQ8EdogoLmdOHgq3AgAEA179bp5aiDtnCdlTIBY6oXfNm4ieJ3aSPWtu3KXk8hSAg"; e_fb_requestsequencenumber="AcJaSzOVriCpNvcLv6UDDpVNox4EGFkEy4QYP_jRYHE-KtvnM5SFzFfqSg"; e_fb_hostheader="AcIzO48B0sc3P9sDSKny7rSCTO2XOpfyj8cVGzjeQoL8DUZadBumxg8gMTlXaWEZWfucpf3IjG7zIzlZ"; e_fb_vipaddr="AcKG-PH8dM48WykM1c1-6fSkT64npdlEzRF0oLPBkMUS7ToNpGLgpkkZivGa8zit20wL7ql4wQ"; e_fb_requesthandler="AcKnWqtQ7uJXil-c9qAdhVJmne8_Me03BEmBCCsVy-Nv3qEHU8vFb4hiqsClI73NxiNDcRRk3xE"; e_fb_requesttime="AcJmO-XL7prYagPVVMly2tLEiZO36aqmrnD1IRG8po-kjZC8RfE2GSFeH938lobvrtO3RLAf3w"; e_fb_builduser="AcLcvMhUqQDKP7HxzHtb1Hb9mY3JST0m_ih_s4U4WfC9BkOJgo2cdKt2KhDbjpwBtk8"; e_fb_httpversion="AcJS5ImA4ULskrfo3qlixky8UQR0Gf10WQ37TZ-f-YhcXeqQbyCzEqbL0ejz"; e_fb_binaryversion="AcKMgEmUU7zbgMLjDgHGEZ5fv1T3zsaC2WB3dip52Qv53XfNADK_SB8fuVlGuO_FnsrPsYhL7egM9q6WUFRhdKkLLHmn5WB_JVI"; e_proxy="AcJYS2ITtq6iFrO-TxflHF2uVRf0g_Mus4pZlCxG-QNL1iQ-tliGPzqtiHVo5wdBEGnFovQduFrcpYw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:29:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/04/2024 11:29:40: Error on send one message facebookId => 4936949083092069 04/04/2024 11:29:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AchltE_Tn1B4jy-XHaPOyT2" } } 04/04/2024 11:29:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/04/2024 11:29:42: Error on send one message facebookId => 4936949083092069 04/04/2024 11:29:42: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASOChR5LpmOvRRNsvylvL-T" } } 04/04/2024 11:29:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16789634, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASyVvuLgWh06VLz0izCv2yE', 'x-fb-trace-id': 'HM9wdURg8TF', 'x-fb-rev': '1012537916', 'x-fb-debug': 'n/96NY3rXPDJBFEXgSDluqYJxQWsaNPkybjahIoPoCZ5uv3y6Ev43Ibxe9a1ZnZCM9m/voXYtPbKKrU7xc1SJA==', date: 'Thu, 04 Apr 2024 11:29:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLRVL-Q_0qsHXwGbaX2USv0v2RjMWk6ySUvWR_DYv8-5-fRdSYJpv3idA3k9A"; e_clientaddr="AcLNL6EIffbfZOPew4oxOc2ix_bEeuyqBIGyS_KcADRLlsSu_S8y06lGnZfEDtDES99Hm5ZdbSJJnHBWQa6aAQkCgkwMSHsNz7M1N9f0Y1eesFMI"; e_fb_vipport="AcLdP7r_QYBoc1t-99b4wpIpP6LDwHile_XFi-1gGSscFRXkmGIdMwHa7c9b"; e_upip="AcJz6qt-iqg13eyaU4M_3C45ysyuStY1VB5PXYE_OsR5v_u3Zr2rUwKs6K0tWuJuKPQy-zM3RQhfiEjY7T4Pb5oCXPvM0JL0frQ"; e_fb_requestsequencenumber="AcIccaHUQ6L03uyYlZUD8V_rTm8-_dHRLfvCFkhNUoe0aQqAGpH5bVhYMSlIaQ"; e_fb_hostheader="AcJKLRAmdG8m3E-FNuhpW5Diw2tHOMeYxMX4RN5QNgKL5VBY2F9C4jt_e2wgsdV8QYdnEqoEN1oLnlm9"; e_fb_vipaddr="AcJ8--b9MQnfLsq9FiRbsGbUkp0vqtVluafY1MSZyqAAk4cETXd-EH5fnEVah132kBEsBIUb8pCUGZCCvR0vPX48ePeLov9nfA"; e_fb_requesthandler="AcIa6OpILJ2m8eeaOkW8Afvk2tDDYYaPTnS5MrmDO17Zd5Fu2brypzeWOjdUpJcV7SJ2h86YSyM"; e_fb_requesttime="AcLhI4Kf_77U5UYbQLvI9UOay3LBxAGu3EC6shZZ6XQljPvkmuGKk1BU-_i1WEhmEagj3tHKVw"; e_fb_builduser="AcKMr8AO9iQFu7oTGGvtjORiGN3pks_8LSHC8VoHMSvhJnfzPGv-iz6ap-enwwytlSc"; e_fb_httpversion="AcLy0lmbMKctzC1-djWR2n5uzp5zhxAUOkcDakNSO2y6cJ4E6Ob70ltR7kOm"; e_fb_binaryversion="AcKb6qG-XAJI8hBjZmNPqlQSBbmIQjqeQRuyd2kg6xZDN8iWfnMPEbIH_ILERQJoeyrpqfPDVW0fL8Rj8mkhdIZ_qr93Z2pfo40"; e_proxy="AcIxOMp7xVrm3x17UTfdD-mbeNuhMsvp72XT8jbXdMhHD61AhGr9T_RkJtfJl5rUZrtUAL9ikA8B7IS1Y58K", http_request_error; e_fb_configversion="AcK3XSp27smH7vzAFED1SdIH5uoW7C0vYN1P4tqGJCO9sU1p0iYRelDUe-bW7Q"; e_clientaddr="AcJnyUq6DcTq_THL68jJBxik2G7O2nKT6XhdvkikTYZ0eztQX9E3XgVIv6ZDOusTHt2HvNHnkqWa_UwcIA"; e_fb_vipport="AcKRkBjo_3aMXQp6Q7b8PWjz9tivY0r0zpq_f_TagNL3bww4KSwtcRJm2Ds9"; e_upip="AcJ3VAnknxior9IYkzguM86-Okb467lxeJ6eUj_eglIfsbcMO3U0zovkqzy0HYgiByCMWXvYU48twoMnIXKCEznNWplsbio0VQ"; e_fb_requestsequencenumber="AcK17xsFjHWFe4CNo-sirKS3DstbeJSQUJrOYkzTYbHJtFFPkSeKiXhs4g"; e_fb_hostheader="AcL5lhZSIopvX_VlULAJ7DZkP4Eu6kJzjyBAEFSdp-tmQleSoO5ApL4Bi1Rl4q2p-x0NMcQs7tQ6nM2Q"; e_fb_vipaddr="AcKQVfl9zc_2lslHJ5uzDHvVV_greKMEL8cu9m1br9MvpU0mujQqugWGYJjthJYeDOqpQWkD1g"; e_fb_requesthandler="AcLRNT6ldgw1Ae9EfL44XrdydHZtK9ZQpgKAjR0pmNYdZJ4YiUL947fh0HjpyUtgCTXuM1TJMMo"; e_fb_requesttime="AcJwCqFsavo23ZcbhT5g2QAbu_DnkuU3W9erwX47FaREU5rippizb6uSBGJwD_mIqr8WGk3cIA"; e_fb_builduser="AcKps-QQ36j2bLkGpSSIaptPY1tdJscYi45LmOm7qApEBUvnTeRT4ulaqxQLK6uUL2w"; e_fb_httpversion="AcIhpsMGYSkCDmlfJS8e5dgknJ-yn6v7L3gmEvMT0lHZVFInh72ddwyVukfn"; e_fb_binaryversion="AcJ2V9mFNG6K-Apc8JcLaxw0SvO-iC_bsXTa-z_a2UFA9XOMv9uYcV2ZOH4mbZ0v5ZWvT5WoCrHsWXoebI5KSOWmzHfdX1EAgmQ"; e_proxy="AcKs0S2N0aCltBS2P-lHKsHljo6AUYFchCspkP4dcsQXwcUHVgwBFq189EM_pq9C8heHVATeGAVhO6s"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=194, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:29:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/04/2024 11:29:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/04/2024 11:29:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16789773, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { 'set-cookie': [Array], vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGcG2A2xCXlRNFOxDbSI_q6', 'x-fb-trace-id': 'D3uusnzVELE', 'x-fb-rev': '1012537916', 'x-fb-debug': 'Kk9GhWOjzCjnegXp0hjnI7REfmJPqMEIBDh4aPxzRTz/vo2j8n6J4hO2LtYf4NQfoDUkPp/AAHqvJ1jRge7XBQ==', date: 'Thu, 04 Apr 2024 11:29:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLQ-JQqc4ijA_DwdwYc5tgL_mNnjKjK9XfE4L81GW88e2VM2s11U1c4-Zp-FQ"; e_clientaddr="AcIYuO8oh-NSv-AjSWPt9tEHe0uqH4h2jxL-Tu6NQ4UVUTvdB0oJSe17-IS2-W8iqNl3p6nPEnvW3l9VoJboGzW_Wskb8g5mQzxzQZjH-VPG3s6HBw"; e_fb_vipport="AcK5-ntA9WEZgdV6z_813410ywsUeBXHbTjPuWbZgtZVYRJeaAAIvJ8faKnT"; e_upip="AcJ1vZW17nb5edYfW-GZpyz8x2jqhCsZk5dJw5FRzQZlNvnjxXEOau1HjzXU_MQYepH8oIVAt5wm3HBAg-5L4NUhNV0sBP9cP8g"; e_fb_requestsequencenumber="AcKNVP6gukWqwcvz9pHxRzPwJjdg4IpSaWTF3D3BZXxiostH0pvvkN27BSu0uw"; e_fb_hostheader="AcIt2TSA7cZPO687KrD8z0yQyU5AgpEvnJFM6A1RBkybo0X0TAdlbFjHiVEes8vDMbmSthxUbN-_F-E3"; e_fb_vipaddr="AcJb3Jwet_q8MeC-_12Bo1Jeg-dtptLhnZI98xklYeGY6qFh-T9AJaugAyAKO_ouQR93wJPAHwdHdFMuyEXLbMc8lNA67UmeFw"; e_fb_requesthandler="AcJV3HjEjr_USphVBjo7eeVJ0gOJrDd-mhfkOKTHDgHvbVbyOJ6yBCJG4_Nbda1g_xRoYObOwdU"; e_fb_requesttime="AcLEyUvvIrP1QWENmwmgzLodOTqbxCzGPeeJdrlZqPq2s0COvjtiG2QJEzCgvO0cyyzWP9Xl3A"; e_fb_builduser="AcJlvXMMkFV3A8dyKtb9_ZRk65qHjKatyiZEu24WhHt5gC0qi3U84JpGBOlR2XdrLrQ"; e_fb_httpversion="AcJllk3dzsQt8zsERiGHRWAO2SKGIYFifK1FkLPHdDrehOb2Q2VQVAy-NcS8"; e_fb_binaryversion="AcKly61QNmghsaTYZ193IFIj7jogFoRKIQV3XjdsRmY5On_FRd8ni9ZIJ8DsiSDIVJq6YA_bJnddQfdluP37bfVfeVmIIXQfNEU"; e_proxy="AcLn-iA36FGyWLlKKDhKC8uQZDVPrXsSOJJyEO3PVRsqWnWe4ijvgBwq1FKSuNnHiRli2hCldd7EHJgwRzrG", http_request_error; e_fb_configversion="AcIuT6c-IYw1t07xvSyQTNVAVVNDwBSskyGzXnD1pQfBa60AlWjXaehEwGILdQ"; e_clientaddr="AcIxJC3V8ScUrb1_rBBzGkqwPdPpwEdddDjm9KSItAmS3txhdAK9k73UyHuDuDVnsAU6jH2sZk-nT17p-w"; e_fb_vipport="AcK5KhhSDoCNNHCDJAXNhLGcjIlmpKDOIzuRac5kyT2JwCkRkrwEo52fesE-"; e_upip="AcKP3ULmXfGOl9y2-zHmbGpcCOVCoWTmg2Ao59tEFcoEm84hsrYdJ0LknvECik_Gz5w2XaumtzH11npdmnd01EJhkcRdVXTmHg"; e_fb_requestsequencenumber="AcJ8vzOaL34UKRIGFkBUSlgxRRaSj3IZHI5IH1wgUP8FhG8nJgBDJgQW3Q"; e_fb_hostheader="AcKq7x7entjQ2eIm8OIu2FbJf-Ri7CF90cjj8RP0u4UUqSzfHZ9EraZ_eES1FHH8BklC42PasudDPgqu"; e_fb_vipaddr="AcLN6QbS1MXX4veQoGHwXuyiXJEX_4bbD2AUntqek4JFUAUzZJp7sRNAU50e9hrlXegP7kXPsw"; e_fb_requesthandler="AcI29PJg4el74n1TeHDToraDu7SEy26TEsq_r8N15tUbqsZWmBlxpRUeUQBA-P20EF0HuD2Jty8"; e_fb_requesttime="AcKgpsp94HXUq-FCZTc4NsldL-1eynoalypf_Q7l11b_-1Wn6luoAJmJnVQlxoaK7q_fTBBKMg"; e_fb_builduser="AcIlt3pjcfZBlEiPJ15wGHJ-Z9XQ5M39Uh2IZa6g6JYh2cz1d47bcQeWSnXhrbDZb6I"; e_fb_httpversion="AcLon-yAAKm0PHxNrWcUiWpBoF6g_MhMforQmseruF71aF9Cx78TyyQiZeAQ"; e_fb_binaryversion="AcLyYdC0Y7LyWofduqnQR7zoyhFo0C4n7x8uZbgxUCFQMS8kPxy2ZhF5wTvPN9C3yF2u4Np81jCi6mEWgw1qXurU9LZCpguBG6s"; e_proxy="AcK6TGnQhAu0zJlPijNVgc3X-IB82au0uEYoBwW8-1w9uF7VOOsFSgqdD7bol5RWsj8LDKTgZ7JvWJL9"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"4936949083092069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:55:03: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/26264250213174592?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16794247, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /26264250213174592?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/26264250213174592?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/26264250213174592?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/26264250213174592?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AO_BsoRlOYxexhxS3z9UMr1', 'x-fb-trace-id': 'EIXyqf0Epq0', 'x-fb-rev': '1012537916', 'x-fb-debug': 'hn6L02fmzmd7jFZ7Ol7j9xgIHw2NULYRI0KN2yDYsgWQS9jYdKfglpOxwfNISFH6G26W44okJvP5oQtD0jcdMQ==', date: 'Thu, 04 Apr 2024 11:55:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJTezZpMziMi9aw8sOCoq6y0fvO9jgefnQZJUpDuT_LAcddQBgzWcOq3E_PYw"; e_clientaddr="AcL7vxhldsKjSZloum1TVOOOOvwp3QK1dLN0u-xxDkiD0pgphTuAXcOPDhVzqkbMfplC5Kjb57oSgLr7fTuSBXO6nvta2aDWvArDeDjCKqdz-_Nb"; e_fb_vipport="AcL1SKWTjDnr4RC3x6DwqoAcYWknndaNqAmbPdZm2BdpByOSCd8aapCTffaN"; e_upip="AcKZvhZh0EWVr79ukXYNkHbJNKHiR3sEgLaOXlINn7ec2lQq9j6Yrz9YabOefnweoLBjrHgOEb6HlQWuO0QNA3ZikhRsQvY-6w"; e_fb_requestsequencenumber="AcI-BW8xS-W2_Tm7BKwWbqHfusKMI4h7o628za5Uu4c_N2mw181Uas86h5FbMQ"; e_fb_hostheader="AcIgr3nD0h1blaoMsY8DxSN8m2tooCptPDMWKeeqNBBrFUgKfK3vXL01tuaYazfzaf_gt7SpOWdUGtXH"; e_fb_vipaddr="AcJCNhFd-DULFYwtXJuJUtEnoa8o9_hejzu2GN-EgBqjrOD1P6vaL_nc8qOhTzvFVIzMJ7oI2sVDWR3CU0DgHLL_5pDqQ1sd_Q"; e_fb_requesthandler="AcL5avqKZfHIYSHTo1v4R6zdix9jUNUam-7FvsXcsBDWsbOgpaX8OiiLv1K9rX6-eIU60xrBSGA"; e_fb_requesttime="AcKwCA7qt7-d7RTYrYBtsTV9OTp28zxU_m7irJK2OaOjDn8Hybv2TePukRvOAQhz5U4dSM9j4Q"; e_fb_builduser="AcJnc-nSqqTeWUGbEFDZrid9nrnxOg3j3QMtEZn8SpANsZPFHgOo_QxSUQZ-o-nOQhU"; e_fb_httpversion="AcKMMkgUq2XRf1uiFn-1QnjIHDdiHNGPV4eL6xUp0MsGzD7oXG-A2pKthi1y"; e_fb_binaryversion="AcKf91al015AptNJQdycONKxy4Qz9SJQ1Nh6AtB0AUqRXLl-M7ZcSqylpM76z1HZ__HYi8tpVmtl_Gt6s22L9xBfOXbLirdAeh8"; e_proxy="AcJMT9kJyhHgsE8ctFqsz2mFluskGG6_SpH4GS4Tw5eAzZTSUAshT3voTHVK4Kw_1fbC8kdUdA3kzWjmyVyQ", http_request_error; e_fb_configversion="AcK6I1KybC5ub38RYtlqOo6M_yevsT4HrwCrWwTJiQoMmXBDgZlFNSMpNRcTnA"; e_clientaddr="AcJG9N-AIStSZL8yu2bF7D-L4vAT3ULnxjArv0lUeeyB0IgZteCzSr-Qihd5u0-4GD4pRFsZo_irbiy6AQ"; e_fb_vipport="AcK2Y2UVB3zvfwh_EXtNdyvYfnahzs3yJwNcDXDPA2aymXfQqsC_UFOaO6tr"; e_upip="AcJueCgnE2E3L88wL6mGXmKQPCcni4b9N1i_jp9AkiKGHzVuYQp6Q4yRjQM73MDsj-F7mBbna_W3Y6USXBOudtXdhKQ6G1_-CA"; e_fb_requestsequencenumber="AcKt7JQku6umSoObX4dAHgZdaxcvS0-3EYkUUu6Y5vv7G3OyywJQ8rpqRg"; e_fb_hostheader="AcKCirWX5Owd4fQFdo8JueC2N-2zM0ZmhY-VD1WAJSbDSEkjLFvZUJKJlQM3XcCB2YK-hMhrOkCosWPK"; e_fb_vipaddr="AcJ-tIIIvMo8jAdkb0AGJLympXSVJA_o6yoW6M_iQt51GCEZLgQ0imhmKlSUXsR9bs3__6wTEw"; e_fb_requesthandler="AcJytczH99dG9-_fBtZoHNtyZRUEDqgkRM0pW0WJ00IMTARmacFQzxyeZCPxK0MqNTjWH0XxaAg"; e_fb_requesttime="AcI87gWcxFN1afJiuXBiCLApDS6XLFEKUa_S9rY3AfAV358bDyp-WGiik8QjFdssaKFAXy-yvA"; e_fb_builduser="AcK4RXrKmETV1BD-_nyw9oIvIO7uBgxtRWJA2N4rARBlrJeCwqDIuw3K7NGrjQgptZ8"; e_fb_httpversion="AcJW6JHiEEcerSoyehE4qiRHxTILcrLih_UzS7bhJxzDXnEscuUniIctAQnX"; e_fb_binaryversion="AcLi0RTG56uJZ9Klra5H78TDcbpGJzIsBSaYTjEQBQhSyAK2acvlDkym1OiaYwm4706ojsm2gafobUoa1iUWajzBOWLcJKgKuBo"; e_proxy="AcJi6WyOoHhfO7sMT0CvMWUsqjdYezROEcKn7uAoMo38v10ciD8iuYehycI31h9x5-Rt5SBFgrD_ggE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/26264250213174592?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /26264250213174592?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/26264250213174592?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:55:03: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/04/2024 11:55:03: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/04/2024 11:55:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/04/2024 11:55:03: Error on send one message facebookId => 26264250213174592 04/04/2024 11:55:03: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AJRhKPIq9SLiegxcF0i29_k" } } 04/04/2024 11:55:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"26264250213174592"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16794371, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_NjL5BuUW6G7PxZ2GWCYgC', 'x-fb-trace-id': 'Cm3ciRibYqR', 'x-fb-rev': '1012537916', 'x-fb-debug': 'mV6CWu1fiwoHnHLXBj6fHDwSmGdR9ZuLytvbTerQLHVQFg3I3nx6sNUaLdl9Rcsr0j+MQmNZBcv6ZvosaFpJiw==', date: 'Thu, 04 Apr 2024 11:55:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKGDOdjXGEyPQ80oSMq5i8nY0e6PofCdICn--uLcUCZMvJa2WOHndWJQY0ZeQ"; e_clientaddr="AcKd7VavtP-csTLzMeDFMtFD2hWBivl8V93JGaRop81D6PSmgiJDUvdV5EYGxNDw1Yvl8Ka0kalAR1uXr8BBfAs0XE76_GEF2OQ3CM4UlK0U2wRr"; e_fb_vipport="AcLDnactNYKyeAZ4teRWxdY2plhA71FwEOnDg6aQcUDHEmFWeuP2bAuewYZC"; e_upip="AcKEBgnEqzyxKgvRa8Nu_2wlMXcE5MC27waEPr96XYJ7HHV_uLDp45EdTcehwwe3GeB2lYM7IvhBVxYLmg0zI7IwzDGI5AbeNok"; e_fb_requestsequencenumber="AcI-8atrxoE8EBsoZcZNim4p2NaFpzDhQYyLQKMGXekbo3pHP3JHZLtP-xK-"; e_fb_hostheader="AcIXXg8vXwK8oDl-te_qwYfMTmRsKu-WTDc1LSNy9w-U2rpx9i46SwUGA32yP8K41SGj2iMVJkt4Yaab"; e_fb_vipaddr="AcK8Ge0o0UpAFyn1U5bePLxAIRgsYT9A12npriz_omzeJI--rhEyDOb2Hp2oCZqkqJA-zdwm7kyeAWuef10aDmrxKXnnlawzAQ"; e_fb_requesthandler="AcK4zosRKvqJNO8NhigmMOhVZZbZRkKDngvNNWi5cW4AuqPeIxhAjdhoVE4CfqaVLoJguTuiQAE"; e_fb_requesttime="AcL0N-OeNk7POzevXlakL4dDDjMEgK_vtoDgG2pVy1WIQ1YZfnwlV_9xqJJUjd-EfcCbZpDE3g"; e_fb_builduser="AcJfBehY6LADgWq44CH0RUZICYQfudlZjwRA1UJZ9ug3roWm9XYBCuXUEgtwQoiDakc"; e_fb_httpversion="AcIS8J1Wz_MhOCtTLWf-nDOau4lQDpPAC3n-0CXq_kW7RoA8Q13Eh0xtX6Qf"; e_fb_binaryversion="AcLOMkWUsZz03YoSJzaKXjOjCH5J1ZJUq6xup1nlb9e-fawsfkncjH51GWveZHEIur55VdncT6WVFdOsYdWYKeNnlvXzBbAEKU4"; e_proxy="AcLM6KYDVJn5upUNT4OvZ_X3lIX8P5wi-k32bGDHAtOfNw4zNLG4B15Jo3paIaFyEUk6n3jayyueWfsFkKHx", http_request_error; e_fb_configversion="AcLb6TOls6ev0YHF7Gb6XvYF-Fz_LYacESAa7-oRzmwA29yMoK2v629toYk45w"; e_clientaddr="AcLybEBaCZvBJwC30eQy_Ryg_nMVyh7oDa2sVPY4uWL7baCjORi-ov8kGzwAI2rpHNlslr0aXT2W0Tovyw"; e_fb_vipport="AcLo9yfdZs17Snc5bbk7Z3W2M1oHOR68oxlh4HUhFnhT2Ji2ESU_iE0Q3Lgg"; e_upip="AcLPdfAnBC_xa01jH5bZbCKT4uq9zPx2hY0Qfvw5gw0IBGGTCs9bEO7xndvIQZ83GzOoIeV-eWHRBz_Fr5YRZq_cg-k-1Zqmaw"; e_fb_requestsequencenumber="AcLs2oou36yPHN_S35U02qHm0uYYQHQ7aQ9ZSeU-Le5FalZdywDF7F5teQ"; e_fb_hostheader="AcLNK5XJ5z-BA0ZGoXQjjs8vkungqsNCZeXRS5QM7iPbH6W5ARpesGgExicV-lWisdGQbzVUGu6O8krW"; e_fb_vipaddr="AcKsnfR_LYRbyY5agl2XYrzxBArICJ5TdYUG5vJR-HFODjB4n9RLM52-Nl42J11xWEgE8tP_QQ"; e_fb_requesthandler="AcI7bHmuPY6TK5uKjZPnXgUV00sdfmQB9XD_fQtCvmT5ECK79y53V3MLwI5r56lyaLZyEvBg3-M"; e_fb_requesttime="AcLH7CrtzXulFtONlTDlsd8mP82cXip_BZixzdxRvRITim606guwitt24rJKTNfYX7da3YKtQA"; e_fb_builduser="AcKEHoGiyfMbQFL4UBfUmww_uM278BXKO3koKqfUWtkBK4kjskZsiQQoW4Qu_uqaqfg"; e_fb_httpversion="AcJc2-PCwp5byGT398cBYL8vv4HHkAADZ2-viaTGLPSOojOpR--d21V3oF6J"; e_fb_binaryversion="AcJL5yAGCwJpG1aQbI34F0XtPvlrOdXsPcxa0M-Abl84hyqhq-Cg1zDRpM1cR0tUvsnRVQPbd5cnrw1gTWHyO1AnDwtqBKt00hU"; e_proxy="AcJx9--p75tglUfD7ZSWiNvEYhDAuPXGMbsHZMrEJ82Aq3nDlrscdoUuKhO8C5LANzwf058s6k-lMHU"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=122, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"26264250213174592"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:55:03: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/04/2024 11:55:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"26264250213174592"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16794443, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5XLg7lJlhs2FVyHJuHvfOE', 'x-fb-trace-id': 'DX2Lq+mxXBn', 'x-fb-rev': '1012537916', 'x-fb-debug': 'cK8eDaDi8W/3oxKZrBOiC3jcAwq32PdXI3HyONfugmhxMpi0ZkYZ7nY6Cc35VrI1XdaK7DZZmrn/VSJ/dnaB2g==', date: 'Thu, 04 Apr 2024 11:55:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKgMJvmagaz23d9QwnPECsOxqGf6GmIHL6-1RskEXKDZMhfHLCSs-jmuevehg"; e_clientaddr="AcJvFIhkhipxOvQdn5D9kvtini0MIw_IaoRFxcBr1YQVFVVHabLwX_XyHJt0JTCav-isVb0URcAjpt7-CFdpdHwa35b5x4vtqnyLV5LTIntvK9bmcA"; e_fb_vipport="AcIWlgZ9bYgsJu6p_cLZNjTNodBDe60zZD2QGzS7zHf7t2suKad2tHatIHJ9"; e_upip="AcKIzUxn-G5sWERLcY62nieea-w7LKF5NCPj8_Zc1u3p1P9GPhtTrbU1qhXHblnrkWuAYlH39kus3rH1BtK99eoIo4nDGuEWbQ"; e_fb_requestsequencenumber="AcJjB0EZA8B7wHLBIRG90orIJpU5-AFcHAl3-RsrF-2naNMRO1p8nYzEYhkvAA"; e_fb_hostheader="AcLLeWdEwLmY0lUwmoJKoDvk8tHDSAwzFzKWbeBUBMZA1aLiJbo5mm-h7oXy8fYk5SX9ngzgm2i9HEJw"; e_fb_vipaddr="AcLhmDgT_gSGhSN0KL-EFJVNQNZlJltePMzwCs5vGZU_waaFc6DZ73Uj_LamorNcKyMstziO5S5VPxwgPlmy1T1K0bqwAdJBIQ"; e_fb_requesthandler="AcKf3yKzhNPsAw9_IDgUcb0hbAvSoaGLO5E17kQFfBmxPzIFcZG6TYvCczCnZa40zVGmw_Twkik"; e_fb_requesttime="AcJo63vShuoNFCJ1UDEffSXpXQmCal6WOwA0CoK9Qcl3zxuimJi2hRmPFRocbNLo-jpZnVktsQ"; e_fb_builduser="AcIOf3tIobbYUBLGQksHH2bLb2g--ZXEBtwWKn2UyLgzOPygHZGeFi65s4zROOvqi0U"; e_fb_httpversion="AcIgph7uoa7D1Hgq9zLot_-KfDsr6E01ZXPxjtPbpFj5Bq29ry4wdGdsD0QP"; e_fb_binaryversion="AcLLbrEVzCLP1oPSrmNWJfvoVWmU6JoIBAiiV2NPz9dfneMDppYriLaYaJOXsmeB6xZoAWkm0dNmISg488tesmAY_HqoGPLSM2U"; e_proxy="AcJfglxNCmINEKXWq18NMZuxlqyEpf5ScTJh5soGb5W9IVCekznKe0Lrwz9fMT_-7B8javN1SoawiiiGZUT6", http_request_error; e_fb_configversion="AcKzkAPWJcMUPifQVMI44jVDmGn2K57Bsik-TEZqqIaC1HH3hrjMj-CoFD5s8w"; e_clientaddr="AcKsWuOyzrrxYbTNiBcGcl_8BeGQNyz1TSLZdVZk2KkVSjx77p9cdIrzP6ncBgx3GOKW88fgvHZO4FnhTw"; e_fb_vipport="AcL8DexvwB5tGTG9NkM51c_iHzWIO1awl26gt5XY-OpTBwlrFrddXv3Jqxid"; e_upip="AcISanEdP0BxyN8_lbmE-kXJPy1wec-90RokUzyfg6DMkGlF-6RUQX0JUCQJdHf35_L0tLfnmINdwfFB5u-wIt4yCdnBPz9DhA"; e_fb_requestsequencenumber="AcLndxSCTbzX4LyhVy1xsigQx6O0bA2PiSDMVXFfoSBXYChF0Jalzz_2jw"; e_fb_hostheader="AcJc_MwSGwHmkBacX_w6Q_VwvKe5Th56Vip0qIDvD96siBvy8XNtFfdNHmCU_UZPoKxAOSSfK6Ec5Yit"; e_fb_vipaddr="AcIm7jC6IdlxOhZQX5KysJxknFXT9fCjL-KXIJwUsbjbc9Bz4Zrqhv8fjeY7kh7MzrlWhbI29w"; e_fb_requesthandler="AcLZ3t0Eu3xSF-5NQRqYNE6CYNMYqOgex_I3tejzhoEq5fm18JL28m5n3Fj0CibErnFCTFAXIEc"; e_fb_requesttime="AcLovaYnbpjFsfeuN1rIgon1KKsn24HBjv8lmIK0lBgdZ0DTVsZ677eITaijcsMQ-iai-JwLDA"; e_fb_builduser="AcIzVZR7EAsVCtXLj-anz61tBOcp96pnML9m2odr-Z3WnhDbZXho47tBRrAAvxbs9Zk"; e_fb_httpversion="AcKgLwrh6OKed3rEjj-4iKGFtKqLkF3aFsJ0amxbbWQNiFRFsHe0ffTqWsVV"; e_fb_binaryversion="AcJGW8KQBuZXkEqw0EzmlR8ANtAXojpDicPcJaDRADMpfH4bJh7tdUtzfJKHvNhSZ1YQDBm2Zl31j9KMc01wjkZSXTQsFoV8VRI"; e_proxy="AcIj2JrAXfVxyaMcXvceylltxzOXtICrIO1NM2WyAbmEjwANVPe6IkVwFUYoG8ZLN3O012xKxb9Nzrs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=126, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"26264250213174592"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:55:04: Error on send one message facebookId => 26264250213174592 04/04/2024 11:55:04: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "A2y5VvWANc4fSVyjWawqxqW" } } 04/04/2024 11:55:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/04/2024 11:55:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"26264250213174592"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16794557, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyCyzVJMZ0iMeuLkry-eaCp', 'x-fb-trace-id': 'Gxj85iYkilT', 'x-fb-rev': '1012537916', 'x-fb-debug': 'UQqkErQnjvH12zATUHNg2JLNqlAQ8EJe+jtnZGoXNoj2AJ0HWa85PFzgZyS5m41ejDvh7x55kwdPu+bV4L/lfQ==', date: 'Thu, 04 Apr 2024 11:55:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLP8iWhcwhs7AbXJ0dEgpHvvyz6dDX7CEf6Lv9cGBLjm_T9pybY4uo3xn43AA"; e_clientaddr="AcIDOhIAkny2CVms1jylUoNTqY5bHcl2d3MhRIJgGiVlhwITFoGTpPMhh6fxpVI6exDzkEXXKNwy4M5oJWdNvsGCIMVJPevPHagj-1dCh1Mg3nmy"; e_fb_vipport="AcI2whXFIrr8lg_RmHxD2qL-t-A9qPoeIC2mHxJH5pB7urDWvXD-bhOuoOYp"; e_upip="AcJqM6El5s-VX_8S5R1hiWz-uf46h10koke9C5ObcvSf-C9WMq3viw3K7ZURU-EkfNupGgASadpwLY_oaR66rOsYTlb0Mdfn"; e_fb_requestsequencenumber="AcJtVY0dKEHJx7jdwCsrdniPGaywYrBUSrcfj37TEq-h6qma3m7IMmzn2ElShw"; e_fb_hostheader="AcIbWxk5nT0LpS2GzkZTY7kYj5b-I1vpmphYTZeqCyrAJ1AT5vhaHIYrEb07hKLBPkUFJjFAO3I0IK9b"; e_fb_vipaddr="AcJaJsSwzxormeSqoS73PROOu7pBxI5_X19g28FGd1hY_v2EN2CUS8KpFpbifuZYnj9wLM5hRlGnKfI7sBPFMtirCzHLzEO-JQ"; e_fb_requesthandler="AcKY0bEVVlLnUSCueLWQTLeH0oFfve0idDY2bTjsnE_J4qOfj1jtwBcho4TBjjBAUwQetrcBCJg"; e_fb_requesttime="AcIsu2Ea_gJgOYQszNSYQ9dNHEA3U7FUpj_Qe2QgcnsbLOV6q4U9kj3MVS_46jjuMz7RlTT9NQ"; e_fb_builduser="AcK8SO6qm_3yn7Z_BOAImRFyupWj-rNeWzmkrN--Wid1Gsqsgb61mDXEwW4IDcJ4HZM"; e_fb_httpversion="AcKOFY5H0ehMwLH5_KbWxxP6C-qyLnNnSg1enCX99KKWPnJ0Oc2zLEchMmvv"; e_fb_binaryversion="AcL3lRZy7f2OQFSI7HndF4uyxd2EuEN3abxnjg5hF4Hzl7ypjUN7sK8CFbWyo6TZRvY2k9mfi7x2gLKT797tCZHiU8jBS12jWBc"; e_proxy="AcLAI-JjgrfIUm1H7oVRRjb_-xAEOG5Gsp9vU2tHYzAnHjDWaEOsmG69t7UoyJwHnAiKNGEoW5McHuUktJT9", http_request_error; e_fb_configversion="AcKCDrlUE7huHxAj1dHyHnI9-hBzmboBkq6ght8aH6Wo76AZbyogv8BivDgOyw"; e_clientaddr="AcKGnIKcQ1oAn90uFRnW6O2YsfprvpKmcl5gwlytUqo1dHI_Dx5wLvmd7LrIzzqzPj6cChU75k6kTbnzdw"; e_fb_vipport="AcJPrqJeN0LBZy8-2bvICzj2FiUDADcCOdZsZwkdREbGJeMsbKSVUBTeh1jQ"; e_upip="AcL5t_9Ktg4pC6SmvtIz3cykqYKpX53AqfjHKpGPbWk1t1SXkpWDu2sluAc5_zMBgTPF92QQLunvzMq4edOYq9nEzy15gh_EwA"; e_fb_requestsequencenumber="AcI_W_qOVCDRwCZha3PbBC4BzwuATWcEozlVM-J0ldhvxDppJMveaDpylg"; e_fb_hostheader="AcJdKOhC0KKmBY_O0jP4Jo7OvTI4NMTHVDRKdVZ_z-I5slkf0qZ9_11fqdhx4Xopkp3W9jMrShxWweyb"; e_fb_vipaddr="AcKDtbU9J8yH42zQLDVFLFSQt7ie5RjSx-6kDTgkzW_Uw397rvz1aftr9SUUWnOXDaJ63WdIRw"; e_fb_requesthandler="AcI8G-gfjdDHcG2gSwbINSeQg9r5rARY3L5jasTOiGphNYOhnExAsnvGFnF4PkUfMJJExIVSt2c"; e_fb_requesttime="AcInOxHnXzOQbDlEHJkOJFS4HISw6XSCAdP_Y0tAHD-KsKVFMmZF9UPe8qAgS0lUn12nIwm10Q"; e_fb_builduser="AcLhgRTBnLt92G55nnyqwFHKfgEflxVMf4h2vHKgrdfC50LNg06arcPJcTPi3rar1EQ"; e_fb_httpversion="AcJrogHtdpy7hDBGEW6iIzjVjfQM2CLdYw0w1Vx8AnRYpVJWZmX858bJJpq9"; e_fb_binaryversion="AcKncPiDeYwMJJFW0WyDrt9tnkMTbxX1XMA2FAF-A2W_QKIPSBHQnQ8Kq0DVCzkE80U1lTr6tnWDzldvp1xPki-osVZt2PFPjM4"; e_proxy="AcLsG7NOJsVfpSIsH6xHqk8UZd4PAwmmHUVpK_Zq677V4luDYIUpypxeDeJLvNllyD4lJrn5pA2fsbg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=123, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"26264250213174592"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 11:55:05: Error on send one message facebookId => 26264250213174592 04/04/2024 11:55:05: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Af6AjvKVKdnwb3pON-qGr36" } } 04/04/2024 11:55:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:89:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/04/2024 11:55:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/04/2024 11:55:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/04/2024 17:14:58: Request bot not found: { id: '1815581812105014' } 04/04/2024 17:19:35: Request bot not found: { id: '1815581812105014' } 04/04/2024 17:50:38: Request bot not found: { id: '309160166334279' } 04/04/2024 18:16:10: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7452892504804450?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16858701, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7452892504804450?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7452892504804450?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7452892504804450?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7452892504804450?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AU7PH1385eWIugg1C5K6o9A', 'x-fb-trace-id': 'Fq0MwJnLgBc', 'x-fb-rev': '1012541076', 'x-fb-debug': 'MjVib+HEud+l7NkU5cR01VK44VxibEodAAC5EFjXBORkJn9l9Lh/mKvOx8CVn2CQdHILCJkyMxbAFlxiJ3kelg==', date: 'Thu, 04 Apr 2024 18:16:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJIrIX3XIeavFebH_4_ICBper0lie4kfj7zRZuzDn7psmYEg3o10UIPNWAsPw"; e_clientaddr="AcLIZHX6gYWzWu4hPEgStqcxNaZwgq7ojMIJnbB2RF4VCy8Sn3DOLWKxUdFtVVOSQWwvMDkxFWdmgai_Ah5Xon5N5qcJMCNlNq9rnt_8ZeLxjUrxvw"; e_fb_vipport="AcKk6v-Ko30i5LfTTd4Ckl5rAZ2y1BNcUctFC57rHg1vUhy1tUJtr-wB4JuY"; e_upip="AcJqq4q77YQ-0HkR4-jKq_NOa-7yzt4l6-IBemwoLqjP1QbdWnRFnccNyy770_SQxI3kovIU1_BGtE2I6punFYtq8kNSltaF4n0"; e_fb_requestsequencenumber="AcLO5VLRIUq7MJHFsjUrAyXAYkTbpu313wThu5uA5nhBl0Ph4uBhiLIfUs9kng"; e_fb_hostheader="AcIDxFL5DQ4knAzTNiOcG6BpVxoAIX8LrpdKs39knYvSUnWoTX8_1Yun4rPzWCPh1-ePBJUwIO6xetbr"; e_fb_vipaddr="AcJwlqOzI8rt5mTPSG9ElCsERxjRt829Vkq5L-DCk6BUBbbAUeAiIQR4FHEga_1yd598fvLKs42oOiX6du1T9fnwsLei_AI5Xg"; e_fb_requesthandler="AcIfqaTXuJ5YfnURyzF_7iBRuifXIK0I9Xd2Rp_QPYto_6GT59Nxdo3_KT5UKJzRP3GVh7rKhLQ"; e_fb_requesttime="AcJEioqIuZRzAKh5caVIhRAsMGjYCGDHThinlT2h6tg3k9xl48GjrEm9UlsCAF9EK6VuuIuhqg"; e_fb_builduser="AcIYyvr8J12F6A0YVLuUUxr1S4Gf75bsMv74PeVrcp4FMJzZIIwxSTisIvf5HdyBqZ4"; e_fb_httpversion="AcL-81_mVH3yPq9_KG_s0GAp1ixqb41K7mcFEKce3k8LP7sbeH7u8-l2nW9r"; e_fb_binaryversion="AcISRkZmZnyxu5XxfrzgcjU8z2v6ZgkPTF-63nbRwCR90SikP7oF1Gg8WqLSj6l0wih2df_vDcvOR50L-5Bfx4AP6OUXbmqtf2s"; e_proxy="AcKq54m3yEo9uBYGLwD4FU_FXaSY0ncPo5cFjZ1kKMSHRzZLiK00S3ODsQ3NBqNL3w9-cgJkGwlrhknixiAP", http_request_error; e_fb_configversion="AcLy1T9bZngNe-tLy-sfZjYU72RcnlcCK4vp4ntC-RlDNM8nlU367eiuzHgmOA"; e_clientaddr="AcJV8CP7smdVniji5MTpzVJrlTZpmsYPpDJdH_HZP_Cyg0oM6NbxW99r0wEHyrYn2mwoWBF0amlylJk_rA"; e_fb_vipport="AcKnZM3udUAzJ1TbgjQA4oiK4DUR4LcK_d5cl6amefjqYpZH7lQMhB6wGmT7"; e_upip="AcKiSBqzZcU0MRNz6ExRWavY_oehD4Ub-cVvcgpOdYmfFjW1LYS1DdCaqP8SINskbRiu75bAepVf-Xbq5S0mkK5EkdWdLYmMxA"; e_fb_requestsequencenumber="AcJkd081bUA1CqXXzg-R1wYbbHtReEDbbbkXjYwBoBT76K9UX0DFGzTAMA"; e_fb_hostheader="AcKS4mQkUSX-2zzxc9KVwNW2T77kFQzexOwvT0eFJoBn6ErwMGk6hviFXauPZ4-B9rbS86oH7szVpBzX"; e_fb_vipaddr="AcKlt5Yl7N2hvjVOvW0IJ7c93sEBUdI8i5njPFJ2E6u2dzEYVVBMHmd_Z26G_yGPRl0vZO4ksA"; e_fb_requesthandler="AcKlIfPGU9cMIxfbfb0m7wkbdbnKJ12KS2S3y69fwjBzl9avYaLhaijkpqp7h96pcl1E9fq8Pps"; e_fb_requesttime="AcJhwj_9aIMqJAvNczK87lBjLc2VL4zFPpaOcr6SJMN6r0vXy8b_p0AVHfI5Kaf_oH3__cfvaw"; e_fb_builduser="AcKN754Ooo6kJgXfTYG7IBMP2x2Mth_ptc0M1Yuwy8eT8_NWkgLxSAz55Mxj54Lkccg"; e_fb_httpversion="AcIj7F_YpU9h3mdH3gp-nnauooVb5YnpyJeArhQghTNZs70vZCug2AJt7G8H"; e_fb_binaryversion="AcIdp7rqrX6UjYd3oMvauqCos5um_Nv8rPb-b6EpZkXf90vag5O7RzF5ip8YCeq_EYQGEBYfry7sh6DK0pOF1sV3W3W-RbH-oQ0"; e_proxy="AcJHIhGfEO8ZQIV4JDX_3CuG0f4jX7ZBZbn0yVYjrEGeXQk1e3kfnpb8A6ZVXyEqkL1rAHaUu94HLmk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=299, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7452892504804450?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7452892504804450?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7452892504804450?fields=name&access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 18:16:10: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/04/2024 18:16:10: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/04/2024 18:16:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7452892504804450"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16858819, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUCxxariZe4uhHC4TnsJJZx', 'x-fb-trace-id': 'D72qp9PBu4J', 'x-fb-rev': '1012541076', 'x-fb-debug': 'n9zwCHLgH3SHvXEnpHBVg1SPAWA455kBUGI+izQjU8++HrwvgU5cN3toSvYIK/kpTO5s1woPAf1Pp50Lffcckg==', date: 'Thu, 04 Apr 2024 18:16:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJrrPWrTngQV3Blz0BRVT5fzrzgavdZMevSUpI9DAUi5-yB1tOy06eVgvOuiQ"; e_clientaddr="AcK6PpEyOR3xP8W82P3_wbBuhqTc9T2ajP2IGkOgcSQDlG5uQcamKhL5Da-KMrRAdLBcfNfC90aUPDd2i9_FdS2XMuVSGktLSVj2g10bxpVYqphY"; e_fb_vipport="AcJYgaWe77T8JAtz8ZzwggNKL_Cj-KNz9gdvyk_xwO9DrFzRol0UpaslLurF"; e_upip="AcKIKS6FhZiCN9kizSPipETK4JAMFl1qgsgOhQRG7gWFykKNvJZ6qe5G2JTbbHlkT6wXtKLBhzqCRaj-MLAmjWXpKIKuqyDyjw"; e_fb_requestsequencenumber="AcI7iCCvKmL5qmRHz8TkWOni_CtJFUl53aJSwUpeJUMgK3UWn6ZI3-_ewQ"; e_fb_hostheader="AcINp9Xq0toSTXXBGAs71hNDjfOD3VnfwUBftlr9sO0N_eYKzMr1Ivgj-E7BYeCw1GI8UWU9hW24YFXh"; e_fb_vipaddr="AcJj75Q3QxzdvKFPB-aWtRbomgAMPrNHtM4LsDWB1s_lkkIufZM3OJtx76Xd6OvAp07bN1FDGI7baH70u0glPGD7hRGi8pkSBA"; e_fb_requesthandler="AcKtb4MVsbeqyUEb-YIUEAx6UXAp4EojgrNSRb37mz2vej_5VIeVXT7DYmX8EsSvWQwof9QxF4Y"; e_fb_requesttime="AcL8IF6f9IxNJRp2FCeXNzS0-aTdXL_v5raLbLHFgDmwkGOYOrm-disXLldKPEY8TTh9H-N-Gw"; e_fb_builduser="AcKUyGJ21XGyXdoHSB90HUiVnj8PIV4TeISfsexwLwWQG69HYIL0-_UVwWWXYmV9tGA"; e_fb_httpversion="AcKck3SgUcLK1IKER_X1hgOwYPgNWZYXdirSdY0MHDPL6y2u7LSAwxVKnmIg"; e_fb_binaryversion="AcKCLMb7yWvP2XCeyUE-cqIOjX7-fmniPIQG3-D1iU5wg3eMYya8tRqklC_5xh56MFICdd_G3Y6fcEHhKZN5kbh8SGRNux45mvA"; e_proxy="AcLIXhNE0lJyilW2CgqhS_4L7xUuT50K6G6srBRHzyZUkaOIkLzQnnbtGrlRkg9XwcP3uXQ3FXK0E0UY8HE", http_request_error; e_fb_configversion="AcKIEjIWm2JCYvC0W3JLrD_2CVQAWDlTIi249M2OwiWnBbjlO9h3YgTomDdkSQ"; e_clientaddr="AcI5HziPpqkx4utfhMEDFyOjwQULkaw6roOKK8_mde2Nf3N67mBBnD1nN_grGbOzeOTfmV8bQNz8O750JQ"; e_fb_vipport="AcL4tnFJZgxj40CX9fyqC7QUs7AbB1FeRbWuNWt14nGY7oO6sHYvZUzgVpZ_"; e_upip="AcLQzJBlIQT9qw9UV2KxXNfstI-98XywOjDW7VAnOfDKRh7CJwa8IaaIaMQWPPaeZySYinpIVLVV9r8HR_HktbqDbvMsgFnZLw"; e_fb_requestsequencenumber="AcJWsPfgx4KOx6rO72sSdMqCWNFNpG5lCo_C-u36XJZ22XpL1xWRZFaIaA"; e_fb_hostheader="AcIsxapMKtwXuIZkWqBWO82zh_xzoJulCHR_w1H-zIv2KcUOQ2gOY0C0N7L0tDp7kBp79JfH2ZgikqaN"; e_fb_vipaddr="AcLXezt9-At4oWx8oZCOmQzQ1VVTDhRYyzwShhkYSzwmhY44_dRaa8mmnwb0lI_CtEaujcaf8Q"; e_fb_requesthandler="AcKXxp5_HYFxfjGSPW_InD6vb9GoAqzhIdNZpcUoFZ2wTyoXuc5GNL5H4du7hChKYFZnDutwCUM"; e_fb_requesttime="AcLIX2xm_wYoP-OxXW7cXBdsun8OXeB5liaZ0It4SGe3SPCYPqAq3vvOVhMS4YuBP_ijIqBO1A"; e_fb_builduser="AcLoNciwqY6B5qKaBc3UNWNG9WcGzNFqvHqyvfKyCRmAFl485QqSQLm0PbiZ8jnJ1kY"; e_fb_httpversion="AcKcKk54ffH0bCyyopfT6HppeumrZX0C8M2IKJatGASUhBdgNktGPTxcfMym"; e_fb_binaryversion="AcJgLva8nQN_0oWP24kRDebNtxqkvS7_8d5_9rQsC2d-aF9iL3EcswaLPN8cFY1PYtt7FT994u7VDilf5gZhfjy-qF_txMrMScc"; e_proxy="AcJa7k91oWBiV0B3ZMH5PqZ2EX_qhsIjGfp2vbnK1gqiKfZOAjARzWmotcMCCAJUDAf--j-K9Z8--iw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7452892504804450"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 18:16:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/04/2024 18:16:13: Error on send one message facebookId => 7452892504804450 04/04/2024 18:16:13: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AfhXUx52pzEkzsB233setrl" } } 04/04/2024 18:16:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/04/2024 18:16:15: Error on send one message facebookId => 7452892504804450 04/04/2024 18:16:15: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ARFIVWsRYuXgbfOSIzldA9z" } } 04/04/2024 18:16:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/04/2024 18:16:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/04/2024 18:16:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7452892504804450"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16858916, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGoRXUDKc1X5X4oJdbAy2sZ', 'x-fb-trace-id': 'CxTrIroZm6q', 'x-fb-rev': '1012541076', 'x-fb-debug': 'sagYTFlyJChqd06lT0DAy9J6LCkmT0Ho8nhpM8KnXsw4JLRCp7K/RF3CIm8AKh17Xdzg+c6fZOuZ89ZpQ3qoUg==', date: 'Thu, 04 Apr 2024 18:16:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKc_pOpduWCpFHM8Fwl3VvMkJi8q66r-MUWhc72ih8wOAWwnhca2ILlPfAYqA"; e_clientaddr="AcKjCjT6nVtkh6m5VBPU2SoKpf1Vt6l7u6jxLqiVeG7uLOgUFnOKszGrZ3AcSeHTwLJc-Sdk9HEYNcqtaHEJjDnr1QhKAsixP9vDZeIMReqaU0iV"; e_fb_vipport="AcIvCscw6mNSGMPH0WvdIQ35C1y5xrrA-yisJpiohz5iD8NmvlaFltoCBdAs"; e_upip="AcLkuyGjHe4dag4ZriHPp-5I8PShQGx1_FLNmpQwRLuLIRkeaYSrdpdPGL1rJZqSZj_Jw8eZ7VqfxRS0D3sutzkw9hv4bkekp2g"; e_fb_requestsequencenumber="AcLRr9KUxb_CaQszPCNBG06qnzlC_tgFuBqd6cYrbpwrfRQOHAxySMqS3vc-"; e_fb_hostheader="AcL3WHg8yf6945EZhstpeX60PdOFL9Cp-xPiIgW9SCN7TMf0mszZttuLvuY6483OnABS2noYJP1K9_7j"; e_fb_vipaddr="AcIFTq5zNLfPZZcUGmfRRl-gO-r1hf_RvV4Qsn1Ut9xmk7JPnikFRGQgx7n2glNnAfq6HvJRbqAmz5pKzx38j5mbDXXysYEsNw"; e_fb_requesthandler="AcIZPb-QQABlTnId1f6eivwE8xHCKWIn4wwhPKFRMZELI4FBQC4sdnWbIPbWwnKI5-QvcEBn-yQ"; e_fb_requesttime="AcJsFpnq3FRC8jAvlXI4MkC8gFDpPYA8e-nbfK6pbe0p9I75YiN7e26JcK1p0D5QgLz4exjVgA"; e_fb_builduser="AcKN2ihBx-zF97fpwGplFBFxrZbMAVsgXb2yUGPppSAvlz2C7S-wq7OmnlYcu4zbsAY"; e_fb_httpversion="AcKpBF467X9SrWWMRgEy45sRVbyB8q9hQVElkqEAe5mT85JXRH5ogKhtMTSR"; e_fb_binaryversion="AcJMmqdxcmUsN4yxEVfc5opipPUSZok-SMg9ar2CNX7x-fQcOhD0jU85I6CrbvoCdK4j8Mt9T97Yd18VOTXL7AeOuslbgsYYtc8"; e_proxy="AcJOL4_q4Y5XaMwym4lq__EXvBXWUA33lDqE4C-sD8ry1KZMXMuDhjInqGIfUVFIV8bD-tFiO8zGMZDR3VWK", http_request_error; e_fb_configversion="AcI7V01rB5vXTiY2S1091ZPEtc1PZ0GcYVIm4zUOi1zgN4G8GMhMkixC492vGA"; e_clientaddr="AcLuTcQBsriH-0GfXbkdNtdpMZO7yX5aRJ2vSfqcm1HTML_btlSvBlhgo538ESpxj73vCMR_s3osAlDFfg"; e_fb_vipport="AcLTf2BCMGKzeZE7ju6ci6FfICcHgngiBTLznikT8__z-Mn7Urw2lRbkrpe9"; e_upip="AcIZmlPSUVyauDIOo0vwjBGjZ8z85rGq7eC4Fgn-xit4-gNdBi9r-Y7syzS8bf05SPiCgqNy0WIa8tJKitCea_ayyZaUgNwJ_g"; e_fb_requestsequencenumber="AcKQGTdNBp5FPd3crMJaI5LMu1acBf_F4CAyv1dCDvTXi0S4-uu6y1r5zA"; e_fb_hostheader="AcJjgHRfdpjc17WCHQSLtu4LkbrwB7tWVK-kRXnZr9QHeVtCDIxUgtZ6Mma3ltcNP17uTFvCaCCQl2ot"; e_fb_vipaddr="AcKkobQTqiBOGtZdcdf241BxiKb46pBM4F9Id5JfMyXSgrPYwnC5f8MtuM7SGbR6_5UUOS5wFw"; e_fb_requesthandler="AcKNwi_XRAanckjd9I8ns5TZt5AeMUViFpJTSowzQ3mNmUMADU1A-V1RcL38rVHD7HdHRCXAGLQ"; e_fb_requesttime="AcIs-4sthxkyISJnkVJzut724XKIcRhvA5mkTmVlk6rH8lYzsK3hcIqdK7lnZ5ZqfvtmiVK2-Q"; e_fb_builduser="AcKhlDod4nPfA1wRvV-c_1NIkaAWytLaQOkXyUfR_lIO6TP5KWFtoGypG0KTa9PiEfg"; e_fb_httpversion="AcLpXrDgGzO51mR2uG2UoNb0XJaNwfiN6o5xSb0XCP4Kq4Cb_quSxoEMqcB7"; e_fb_binaryversion="AcJ6iC8yx7lDsYq1fR6oCeQ3worb7DWI-toF0BGkI_KJpK7-UkKTJnVHsMz2DdKHTuIU3MWUpvQ5nxPb6Xl59_BviMTb4PqfsJg"; e_proxy="AcJJPfb4xa24n2kWtXEUXcV9F1YO6-kKNaa5PiSZBt779ih1NhVzXn-M4Kpvwa0yELCath8BqfwkIuU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=249, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7452892504804450"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 18:16:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7452892504804450"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16859041, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnTBxJaTYZsqWW9T6Tql7WI', 'x-fb-trace-id': 'GxEKKzVNgFQ', 'x-fb-rev': '1012541076', 'x-fb-debug': '1Ezw9E9gUxEUm/yM2QCDWZcQYJblvUgIsBWCjufgs8CIiSO176zTGyuAEQFkKOHjAeI6YdLRuX+SLCW5NOnsuw==', date: 'Thu, 04 Apr 2024 18:16:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJHfgaMfMDUQtcyL1mZkx-OXvkyBq3efOtsHO4IFbyvVyT4xT5x9A5XECKwGA"; e_clientaddr="AcLGSmgppsrRKgvSG41E-Otvr_24AdBAbXvv0CRg5mX5g60-hSut3xhPVdcXLxkeUcBvijdA_rhbwVcucAPX4bc8v62E551xeneSHSZgKMy7DXRiNQ"; e_fb_vipport="AcJvAkPl0E5dOOy4O9qWcWqHUMPSxkDrXi7-L26X8qLbYnmNcDBngkL2igTC"; e_upip="AcL9x4wfj7nXo9FNmE2eRRICOIGJZ6Y8QouXq2iz9p-Lj0vZievKKiHvoe3Qj7Zo8BsXRTgLIg3DazvboqQwIfN115B2zOefTac"; e_fb_requestsequencenumber="AcIXpNswRib059LYieRDguf1d461wNUPiQTFJXpcMrezLyLDk2SQJFaBFDTi"; e_fb_hostheader="AcLwZUsGCGtQhaErLTSGiCtv4f3lKFJ-y9NQWfoXiZQf0gcj8GHf3P5pX1AhbEqLwBt9yOKwb67c15Q7"; e_fb_vipaddr="AcKoZ31QgVHeZCUPuP2GRT1IUg05xQ_i_tKrvAD9-x8cvlZIT0qWJGcUxezODRcZqGz4gheX0SYcScvjxqPeH1mWwijSJG0jgQ"; e_fb_requesthandler="AcJ_woR_GV0Md6k5KZmIbe7b3LaUFQ5zv93vJ408iis6XdfYalBwtOQXXrPiu5kfzjC_3l9zB6o"; e_fb_requesttime="AcJhHkldjQpKk6Qec7JB4q4JOaC43o-kQn9WJfYiu13YaaueQSqFfVCAmAPK9UrcKYfVzpQWsw"; e_fb_builduser="AcKyL8zCSV8Sav2di3-jUkp44MLfYianRODu7pEcXkjnEaSjbDGzvK3Q63o2o47vYO8"; e_fb_httpversion="AcLziX-ZiTSfT8d3ujfBk7Zx99_2DGfl-KT4BUAcaXrY0f4fitHgasLHVr18"; e_fb_binaryversion="AcJV_WUvb8HL2ppnEpw15IrxDm94oFBu3C-t5XdIebLxpcRhq-zfxiUBeMIL0txeRUQJtjpiRXT6g2rlHRS1XdhQZ6QfU8Erycs"; e_proxy="AcKlFY5aKRkAcOgi2gWYqAXM-FZ--ueXNG8SQ9MvMPG_ODRBacD62EeeRnpBaXf_sUcxHs40FJNoE-EH-l0n", http_request_error; e_fb_configversion="AcLUpFdcMICU39bg7cINkI4xon4htvyAI1KX_ZWUU2a-yDf2Adm1xUWtxCrG2w"; e_clientaddr="AcJLW1dIS1V_cTgtTm99e7F6vjKMC6VdiCBLKC2xJSv5R2QpWF1jQhDCYm_EzhYmw9DQAna0XAuHl5BOZA"; e_fb_vipport="AcJtoAfmrnM9lhwB25Cr2oTUYCNSw8bMnyQFx68c2DRF-W0qtV4rpqWoZASq"; e_upip="AcIo4rELw6S25rYK08RQ-nHEyiWPRj9TOa1-tOmv8MqBSJX1Stl2ZLOWJ3fGWtEolmTrfOjKdBD9aOl757bgAnDeIm8XkfVEUQ"; e_fb_requestsequencenumber="AcKFbOqW5_lAK5yPzML2o-VpYj_VmOkV1fUySNDzy9Il-9GPgDb28Ke3Jw"; e_fb_hostheader="AcLwoflFDyLagmu6lHKCdwLdsGo8vzTsPdtyoora9GVjn3VlaQqBnPKavQoMc4H79gQLzHbm1tPBDF3J"; e_fb_vipaddr="AcIZe05bpXYEjB2ImA6TurQs3wzYugkf2TuSi91DjxoYuHbs8az9STAYO8rH-qenYPReY79IeQ"; e_fb_requesthandler="AcIEgcDkwjAe7ulXxbbXP93fnWL3G0aPrQvPJlz7_tmusO7BAhDZAOlgfPLlug1SB8WjoZx17pY"; e_fb_requesttime="AcJ8YBHrkVGVlFsPgh4x0gIs2Ibkn47_XrUkXrTvuFo-_h-XlNO3OMZqgdogRhRm3vntM_XDuQ"; e_fb_builduser="AcJQWg4A8rSMab5-Wo-QkmnFlU0iTIaNxLQXGRNBcanoXu-3kTAFGlMQ1Lt-VKgMD6U"; e_fb_httpversion="AcJt6GywiX-AbgYBtbMEyKnG6PcpRss3wnQVX6pmeG6lcZVgOdiP10qzWXRf"; e_fb_binaryversion="AcJPSnYg4oQHESf1617UVCx8TqZ0dffm_UDPkw4eM7B3VPknmjeMrAMAj06TFPDnfYypiWpjlX7BxvdBku_IN9K1CT2eBIq3PCE"; e_proxy="AcJ0RVJugnap-go_jVnthxAJKbdzN82Xg9HvsCY8xaYh0_0ErxlYvmtKtkIh7mq8uUjIgQU7648FKx8"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', data: '{"recipient":{"id":"7452892504804450"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAM2ehxr07IlZCBRgZCESlxDnf8pL4NkIpSgts1ZBq84Jm88QpiK4ubllB87poZBLL9ZAtHN6fWp4L0jhZBp4ZCGIZBzDjU3REWz03sNgqDdi2u9vmmorcJoZBzLwyOzpYEHjFu36X2iStEIP02n4WSXKeGrqZCcQIOGIRrZAdvWsiFo0ZB24pZA9AqdcZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/04/2024 18:40:28: Request bot not found: { id: '108233141067249' } 04/04/2024 21:42:45: Request bot not found: { id: '133788230054854' } 04/05/2024 01:48:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/05/2024 01:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/05/2024 02:48:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/05/2024 02:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/05/2024 05:35:35: Request bot not found: { id: '133788230054854' } 04/05/2024 09:32:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 09:32:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 09:32:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 09:33:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 09:33:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 09:33:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Facebook.updateOne is not a function at updateIdentifier (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :184:28) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :276:9) at new Promise () at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :1:1) at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17) at initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/05/2024 11:12:01: Request bot not found: { id: '917983134950234' } 04/05/2024 11:33:09: Request bot not found: { id: '917983134950234' } 04/05/2024 13:14:48: Error switching inputType 04/05/2024 13:14:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 13:14:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 13:14:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 14:19:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 14:19:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 14:20:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/05/2024 14:26:10: Request bot not found: { id: '917983134950234' } 04/05/2024 20:55:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/06/2024 01:31:23: Request bot not found: { id: '133788230054854' } 04/06/2024 10:19:54: Request bot not found: { id: '917983134950234' } 04/06/2024 10:38:20: Request bot not found: { id: '1067413796753652' } 04/06/2024 14:34:40: Request bot not found: { id: '320637341295349' } 04/06/2024 14:50:28: Request bot not found: { id: '215725838493727' } 04/06/2024 18:35:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/06/2024 18:35:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/06/2024 18:36:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/06/2024 21:04:02: Request bot not found: { id: '133788230054854' } 04/07/2024 11:39:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 12:19:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 13:20:53: Request bot not found: { id: '133788230054854' } 04/07/2024 13:33:42: Request bot not found: { id: '1852395741674621' } 04/07/2024 13:35:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 13:37:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 13:45:12: Request bot not found: { id: '133788230054854' } 04/07/2024 15:23:55: Request bot not found: { id: '1852395741674621' } 04/07/2024 18:23:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 18:25:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 18:26:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 18:26:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 18:34:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/07/2024 18:34:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Facebook.updateOne is not a function at updateIdentifier (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :184:28) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :276:9) at new Promise () at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :1:1) at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17) at initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/08/2024 00:13:41: Request bot not found: { id: '128159377280665' } 04/08/2024 05:12:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 10:59:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 10:59:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 11:00:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 11:00:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 11:00:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 11:01:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 12:13:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 12:14:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 14:50:00: Request bot not found: { id: '1852395741674621' } 04/08/2024 14:50:10: Request bot not found: { id: '1852395741674621' } 04/08/2024 20:25:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 20:25:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 20:26:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 20:27:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 21:15:42: Request bot not found: { id: '425997890871688' } 04/08/2024 21:41:32: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25171915175787293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17891667, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25171915175787293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25171915175787293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25171915175787293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25171915175787293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-yDyETQKIt9J5oIg6XBPtS', 'x-fb-trace-id': 'CqSizNyuhlD', 'x-fb-rev': '1012619180', 'x-fb-debug': '0J2MGBtAmW1dQ2GTJqUAp9CiNVFuMmI+DgixbAgITGbbcbqbGvNNUP33QaAFaJZW3XZCwgRCaJ51VlqdjIeWlQ==', date: 'Mon, 08 Apr 2024 21:41:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLeDiybjxQT6bdnNhNJ-y4jdE8Fn0XM22Fj3UJlj5_eKXcQ1hhfnL0KjIwOYA"; e_clientaddr="AcJGuBaIiKR6_OVZ3r8xWrlkHQ_iGqELqbY2Xmc0mcU0CkCUOj--HJQibR4V_FnBRYrkc-WKbNtrQCqtIK51CtFyvY3xClZn_aHl_EJKvBiIcftC"; e_fb_vipport="AcJxFBeDe88x9kbAYB-zhmj7G0ULG10ru_3ogMIksctWmao6pLALFR6xpMzd"; e_upip="AcJAV5VwTlqrtnAbaysYnXRzxz1ylGY9pkFrBuQVNhsjjeP0CEsUnDbB0c_pvMQV2gEdGFMiL_6Z1ojRV-bAjdKCtHLyei1xIA"; e_fb_requestsequencenumber="AcIYvOsNmQzt8SJuSzC5Io5MdBziwdac2M99zc93k-TFwFSHZkYuFIeomHfH"; e_fb_hostheader="AcJksr6Tu6SHCY1ZAZSO0oasV6NupUrZD6mEqciM9ndBUfHFKUX2nuVrEBoCX0tlXSzhvzROvk0KAAJV"; e_fb_vipaddr="AcK3sZdvwDwvHCIK7QeONnmXIKALd11Fa_WmXIZfUiBelyoHYfdV8Rm_8HNiyte8PDuGlGPToKBan95aAjb0XF-8TAX65_gR7A"; e_fb_requesthandler="AcK-a5_bMZG9mFt972LU0JplRsAwIPGxjq0wRf0s94ldCCM5ezTQTeIHrWis_jBXgRS8KWTDCFM"; e_fb_requesttime="AcL3DEuOqHAdwNjfk39sjqVcl83kEfXpHvIEkFvQ6YUGzrVVI8g_MpSvM26Nrka0FU003WTmWA"; e_fb_builduser="AcLvwxivl--Bi4JO1QQJZGkY9KbLbU1cCHgPoqBFocQW1OzZdoV6TgkW-mSaXNTNJIQ"; e_fb_httpversion="AcLTF2ykDKk1GkqH_kVke6D2ctnA1jQZe7YGJLahPFDs-JUdiEcf0An6g5aw"; e_fb_binaryversion="AcIqiKJA7IQO4Q4puoY-s3TOZ8AOVpXzhJ4_r8jF9AN27nWBohzeh45BQCC9qFas4233TyeUHyGg_qZ8GxApu_YE-fOOE8dPhYE"; e_proxy="AcLU5QUQw1oDHMPy5t9Q77hwbcq25A27E3QxC35IOSTD52W0GjBZGABzfGBPDLxOCcsMNRIA6LeJOCo8c5P-", http_request_error; e_fb_configversion="AcL63xEyvTOfGqX25rgntEWpka2-dbY6iqQk2DAwFgomVBCd0Nmegfa4C0KLYw"; e_clientaddr="AcIm7cLSVC5vBXInt-Oa1Tygu8vHOoa3b9_kEghEU095jajdIw-aNoGu__GsbgIOveetrhX-rl0TaRfhWw"; e_fb_vipport="AcLrDOUgkx8_NupcOGG9h3hqqTOP-uXh-vMs9rEgLLXiYfl8BLbNWbU1754_"; e_upip="AcLKsn10ZExKAFM2qKCIdP9Vtg-8Rn5oLNyzs3x9WBWzjHn6tlzE00HH0xhaaoeyWl3L11h0Num6uT9gjFcy1PrA18KrBotUGw"; e_fb_requestsequencenumber="AcLMDTAOQ2RPo6Phj0_zH64RGt0MjToeNQx8_D_ZlTFu-egTd9DHmhDWWQ"; e_fb_hostheader="AcJXo_NJNaVIXfZfKBb4U4J5iq-kBgQORx4bhthYPuZ1cq2rihZpN2KtjeO7BBX7y9p6P5uh52fB1S4p"; e_fb_vipaddr="AcKAoPbQlzREAJQNnTUYjjKXWkPbN3nDSzltcQYrVFqB5Xgdp5uZK1y2TnrIxBkAmSj4F_kDVw"; e_fb_requesthandler="AcK0oiGS_LpQH_xboLc3oDBr86IfvKQXRY_APaDbgdfCTlsRDY20hDfU8goqvic3g9zFC2jH3KM"; e_fb_requesttime="AcLTkxnD4pdm3q0pwawZeUBxpSTBJQj503W2qMtG67L8y2a1xSJOi5xwjR_H6lsekWqVXnlmpA"; e_fb_builduser="AcIpARqr6_Ws5zAmB-p7zIqNIxHW48vR4GSV91wpZiHQ12LNkG9EXb4n-3j5N0TiKms"; e_fb_httpversion="AcJHe3-APfS_HoODNJvdh5fUSavKOGZxDO7Eahfsl602FxC8OdYt28XmeyT_"; e_fb_binaryversion="AcLYxJpqUJfmciunKOarNRksmtHanhPUy8qQ0Im8GDROB0T65Ao0XoQq7ta7v-p-hNf_iEo1HRIqV-6DRYwS309mLkZ-4kI4SAc"; e_proxy="AcK_d3rhXX11ygoAuuTp_F53hX8jO6Y8l2hUoHEr2V8ioud8m-FasdvkdMjJ0QNewP7EgdNHHCKIxkqH"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=1, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=182, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25171915175787293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25171915175787293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25171915175787293?fields=name&access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/08/2024 21:41:32: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/08/2024 21:41:32: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/08/2024 21:41:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/08/2024 21:41:32: Error on send one message facebookId => 25171915175787293 04/08/2024 21:41:32: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AzXGCurxrxS6axCdxateDOS" } } 04/08/2024 21:41:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25171915175787293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17891791, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5AFQS28ZG8R_fgMhYRuzlm', 'x-fb-trace-id': 'CLHw0WcpoKf', 'x-fb-rev': '1012619180', 'x-fb-debug': 'KcMiebpguLJ61CfcWP6QGDqC3KVSag+T/RHKSz3mo8yGPN4+5ZmCicUXKI4odUDz91BihLaxZKrCThk81zTWHg==', date: 'Mon, 08 Apr 2024 21:41:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJmjD9g7y_hUiWBRHz-VqDwbn-Jfstj0HiWZJRUWO9mxOuYzJtDtk5sZB0cPA"; e_clientaddr="AcK7PjbKiAdtiUEimBsFFI7malmLeS5BAhiLljYZ19DgPnlRAf2HY5-RrjW_JTcF4OnBRe4960MsQWtfOQcivgEqIgMYmAN4qzzwPGZVe01vj4kOfg"; e_fb_vipport="AcI4H_m_p0sIX9Mtttr-CDOsLbhXXhCK80btTtVI4DQsW551YzmkWWOb65ST"; e_upip="AcJZNk4iwF9osPRmlBUwKfC9vZFdeCTalUzwyi9GPMSr7SMU3BJA53bE2doYQomvX-OiuniZlZAx-5du6ZHzw3Y_t-6s8mG9wU4"; e_fb_requestsequencenumber="AcJ3UW9UnEQMQUb1Spm21kURVBhIhNhmUQHmjd-ZxM-FSdWiYerAOSXIDr6h"; e_fb_hostheader="AcJS846OuboxxRdrsNdF5wM2kynWzYg5TY1mcjkyAnFmkHByzoT1baELQZIi42o6pT73aQtebrOBBRyg"; e_fb_vipaddr="AcIYGl5jxzuQzb0ElBUUcxDDaP255bZeWV-Rr_WeSfGxHL5OKdzeOrSdsw-YTMUB7RwMTPSKIWu-JZdJPhtqWoMZYpSXmuQDEQ"; e_fb_requesthandler="AcI2H1Re7V74lWQdYxQmZyTm4slm1MEFGXhOB61GJM2KrYT4SGtYrAOFXxoPzBGWjHsWU7qPg18"; e_fb_requesttime="AcJEjfcxEJqVrdCJEIjZCd3F-_HwBIKKREoJpYcHebeRfpUEM97-nkJK-ejFfnNR-8uQRlgvvw"; e_fb_builduser="AcK9szs7KJsXk6CtTc1RdvWI8n9D95Uvjvu26Bk_EVlsgUDGVKT2j3rcaS6P9xmgdm8"; e_fb_httpversion="AcJrvRrmPV-_qtzrQ0ygoR-B4dr9UwRdo8j6qzLOX9gpvjGIdChNb3ocMzNm"; e_fb_binaryversion="AcIhziJzWwxdxKvZcCBcgIiNZpRYkpDTBE_7-97oIiRVRhAG6T-K_mcz5EXOC9yaPVDthtEtpS8F9EF5mNTVvI67OLvhLf5fyGw"; e_proxy="AcIMHlh7jHuTD5c-kgwYkkVPhu0adnoDrbi8F05-XKffg0WMolb7L-HgktYRCWCUbEvu7VvoyiCxSeUB1Vo", http_request_error; e_fb_configversion="AcIRL6lYlrlG9gLksC4Rprw5ran_qWkL0qb8GUUfVhW9nqnx4gytH_Lyfzxn7A"; e_clientaddr="AcLdBy37BOu8XyZpPgCvEVNzCBeMGvCgTQ4Qoz-vjS-PKNo8ur5eu2F8SvZI4pPrgXJK9gUHaof_9oOzdA"; e_fb_vipport="AcJ7Zh52AAMY6i8ExzjiwUOSH50Nwwwgvn4Q6z3oBnfb6WnXzV1B57VZtoMX"; e_upip="AcKRTV9EkUTMOUfMvI3aZd6mOdeEKV5ZMo4896jRA_Sq6Pa-DVbRB4I3vvAWPRU9eMdXmEHZRHOxWZB6MFz8ofyF4rvWvDDGXw"; e_fb_requestsequencenumber="AcIzUM0xkgacsnBXjEXIoLWu29EshuCDd17_l551X22C8l_aQPGSYWl-Dg"; e_fb_hostheader="AcJwsEaaxaD8rSMazSZFJlds3n2u59vPdANmdZ1RIX6XJHzSCMgO5GT0zA_-U6wfVRsKkx7YeRcspugJ"; e_fb_vipaddr="AcKLF77YOev88KNBvcE63ID_zRtCHpKAwTfnQBNdrd0VMI39zU9zDOvrQuhjW8eSNd-Mq6L06A"; e_fb_requesthandler="AcLSMYcvQx-SQ0zhtHZEOdrNdr4BGqlr7ffclC_NUheDk3nNQKX8zv2VLSVjUDOsWTLMJO77Thk"; e_fb_requesttime="AcKYnGRG3t7Fr6ngm43Dk7rqsSuQeBHVpurvA8EppZAEcuC89cqZbzzeH6BlGG6OnZqqoL3TEg"; e_fb_builduser="AcJP523EO4V1Ra8GvUVNWTeLNYsIBEARwsSktfNua1DoF2ugJjcObl9mp3QItnqGbo4"; e_fb_httpversion="AcJRmiecf0GDNVj3fBHFgEax85roJBP1OsNFxLEAWTLCymsseIpRW2k-wm31"; e_fb_binaryversion="AcLTedzdxWnt_9RtikgNfPslJsKZF2Xo3VWdrDgyMEZGOA9CiMmbFtFe68bKQOohkfibWVl6fPi87hOf-DU1KVKU74OXclu42ds"; e_proxy="AcL7bfb8w_6VL1nw-fnXrepbu6vTZcfILfnynLR8cK9febHmqK0-gx8vpBP6ErPLFSMn8qDHN4Y6nPU"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=122, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25171915175787293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/08/2024 21:41:32: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/08/2024 21:41:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25171915175787293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17891867, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'At63l68uOb0-JKsZ2cXasmu', 'x-fb-trace-id': 'Bj8YDqv2lea', 'x-fb-rev': '1012619180', 'x-fb-debug': 'xvUPQl2Own350BeoWb14GM3DVZNAT2SQ8Oh67CumZ4SP2r7uhiZx+BgxKH11KI0gO1Z4JcYXiFB80E2kj7hacQ==', date: 'Mon, 08 Apr 2024 21:41:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLvVTXJ4Iv0Ie_dCKWFSBYIPFte80sHV1GU9EyXV_yPiHuM93xbbbahIiTrxw"; e_clientaddr="AcI7UayRV3U4WJxDAheVzUawbb1Giy9XRsKYfRQqfHXlWaXZMSml4cQnVeZA9z_MmZx0YOGn1PLrLrjuBUJzaR_yCQx4BQ2930KI3Wufuo2W01Lm"; e_fb_vipport="AcIqsu7GmIDmmLck6caI0M_jMC_PUyZGdUqozvaSdq3dPZkcnWdm-w-2dDeM"; e_upip="AcIDXz9MdKMXYFP30spHFiueS6CJi_5vdBtog4nDfxnxYpuikE_Cs0CvglCmlDc4LBQpcnQLW3a81RL4HRTKlb10Mf7buTEhcA"; e_fb_requestsequencenumber="AcI3QiqsvenbXa5lHojdgyGvtsN5Uq5dSc0kcEvuhYt5pcPceIbPlGxE1WA"; e_fb_hostheader="AcI_YcUSybBwp9o0Eni0bqdSFSZ9CjTNN3PAKwc1udT_nLVWAbzyvMhW9esSB-Cgon_p45UgoSmuSyp5"; e_fb_vipaddr="AcLcN7EyIdmczDHNCfAnoKFrTGmAe0auKA35N3xHozfr5U-jh00w6SHLyQN23-7xjUe9In_qri-vUgeB2QWWTYccajxDfwB-rg"; e_fb_requesthandler="AcKGP1yzGL0gl-2Tqk0ZxIXYklRjfBkoEWlakAk7CJ6qWBmhQGOwuqmrBxNBHAyAi5kuwnLRiEw"; e_fb_requesttime="AcLow1yBlthwHOLW0UVFqIzAbMj8m1Hpy4za9fG06WkOqkKyMyVpQ1-Lp--39fwql4Gtj_qJFQ"; e_fb_builduser="AcIAV-wZxF-SyMOD7SqSykKVcmQM3xfqn1jsZli0eP2FUjMVuPDcdMIb0EY0aapZQng"; e_fb_httpversion="AcK1I5XauZQwVTRjyHbm146roEuRfdbw7-ATMY1NMCU0PI59DbWpOjnpN377"; e_fb_binaryversion="AcJadEe8jE99QCaWg7d_1JippkBdgeCMXxKZAnjewRVlu4aaiJOZ9h09iyn8rsoABTwHdgH0oBC-tQddkJN8fHzqpbLNuteKwdg"; e_proxy="AcJJq7r4lD2EOE2nQKMaFzqcoOOtxekJAbdAhWc5pIflutlwC6JfJHr-Dedj1FiFesjG0BYIOpOEtBM7BwC8", http_request_error; e_fb_configversion="AcI9RMlI7JhJdS_aNLo0Q5bJVxymKJJ-QbnlgaDUH0gEA1SUNnapuT9U-NcMeQ"; e_clientaddr="AcJLQzzW13ES_Nx4M5W34nzpTn9IgacKA_zh3T_XGZ9nnpvad1kx-yiK8htg-7euYSp_-1vounbZDuRIhw"; e_fb_vipport="AcL4YBVx7P9JKWAFNyT-4RpuSR6ySbi0b7HGBAuNV9MU14tRc8li_fFYXrQL"; e_upip="AcJ5Kjh3S6w1gcbeOOMuCYEd7nae07HRo80ICSWX1LH0HHHjRjijLWQNnmm3IW28A6LrDNugwWaPy3n25w1N1Fu-S2pRuM1eBA"; e_fb_requestsequencenumber="AcLO7jCHZOASaRraAiUxKhoJpIS2BQRoGHRLBybZyGX5biiyYJDtFCpNsg"; e_fb_hostheader="AcI5_7pQlBqe5zK7Cyr0agn5TvMePGJJqpl_ZhhohLJ1glO05FoMd8lR3XYwBYM4ORnAJL4qMLgHSYeC"; e_fb_vipaddr="AcJ6zgnBEI_GrStM3BilirD4Xn7mu66aWfJzJH2jDBOijUyPnck64jxbmtznm7k_nA9gWXXDZw"; e_fb_requesthandler="AcLMjX8uG87izJZg9z4HW9-_nQ5V1xsiMzOoG9Rz5WdAPc0UDpY285tXA2bmEBXXIXrxz80F_WI"; e_fb_requesttime="AcLxBEBk7q29DWrIoSGzDOW5aJv2DL4LACm6XgZJAj9T1fDvYtNbn5fLyrIF5LvM4GH0mLmd1A"; e_fb_builduser="AcKYZzSau-T0jdF_2FqKT5d3KoO2gYnj5HJzhXME0DmxqsjQW-O__g5Y3BmCAVeR4W8"; e_fb_httpversion="AcK05MFXvYW-fiaW7WI0heOBNsOROL9-3PrPKyfRRpVSzfFdcGWQ9sImVZpu"; e_fb_binaryversion="AcLXxhOkbeAsyYoDAzEiaPYCxJWqFPRSoh6p3okUfUMSXXTzgReidDEN4X3EJEv06xxL0EHvU6C7uBpkASOLNEn93wWSplScVD4"; e_proxy="AcLnhGYTXsaZrfjqnEZXxqKrz1t7K7cI5xQe7dfpBLENuWsQNsMukrhH9pCbAAKvI39pEQ-f1-b73EM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=119, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25171915175787293"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/08/2024 21:41:32: Error on send one message facebookId => 25171915175787293 04/08/2024 21:41:32: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ague0GbQohK3xil-yCuSl0W" } } 04/08/2024 21:41:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 21:41:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25171915175787293"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17891982, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 38, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AeNRO0v6zVjUabjY0ez6Rma', 'x-fb-trace-id': 'C7c6FnD1fZj', 'x-fb-rev': '1012619180', 'x-fb-debug': 'UOiwuy9jmGjNnuHcEOyKmrVDcfUwY+v2cMA/Jw5n2dwyfxMiDkMP2L3ZtHlCT0dpO8dgLxYeGIrAlDKpWxMFUg==', date: 'Mon, 08 Apr 2024 21:41:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKpoPWFcIj3_L3-8uarcZtfV5RaF5jck6Y2x4fXy6JHZn3fulKyuz7oYK-DvA"; e_clientaddr="AcKukQrvXaKZLGKQ7RPXeDLbAvnveRjFq1i-JQayR4PrHRPcB1fWu7u8h9yPW0MK6GO1W9GaG2jIIPEzy0hd4vK2hw9TOf8DIV9U6MVXBGx1ngrY"; e_fb_vipport="AcKA1VYK8J4sDnvx-2Wz3X0nDbVN2TECkZOX5v-CzLdmlX_9L7uZuoAybq0F"; e_upip="AcJeA1ImZocYNIKtV1pUMkUBohFGilzKzug3AA-zAMLkAwoRV23uSnU7YDEb3Y1yJJDA7drX3apaqpPbTkLibjsGjN4i2YlYhQ"; e_fb_requestsequencenumber="AcLWTIbbsFGgogyy7lULkAjJvMWHBwU8-aTjGaIErK3VRC0HP9k27cZNfDTn"; e_fb_hostheader="AcLNDby2qtdXoZZlUf_UThPHpqxA3lSdR6WX5A4jnHFrpxBB5ZEaZ0qBakUoO764SITptuDz00WLxv6K"; e_fb_vipaddr="AcKXV33kxDiKnY8SA5BW-lKGex4iO8ISYOH7FhX_W7vNj7At2zsLJJ8diDU_SgOewwg3FJW3zFRBBtd7MgTpCyHWLPP2DZMD1A"; e_fb_requesthandler="AcJw3k7hQuwdpUfNMlwAf4VmvB59yJb-3nh0-tIWbMpMRe-E5etuQMrY8FLkC3KJngBqPFAcIv4"; e_fb_requesttime="AcLPBkB1nf1IQuOOGLLoC_WwTTZyZLA-Y78jV6yde3EUFzWp94Z2T1CHPTQqWCnwoiJ6cvMYZg"; e_fb_builduser="AcI0UWRd62febVqQ-MUhs3dLpXkhRbgBDl6MnlfP2s21K2KGJSe9AGjre22PjRoW0OU"; e_fb_httpversion="AcJIZNnxrLUUBmK1x8iTcAnW3DdJsoCVnTBEVXy3ViKIqMuIZGRkP43DBHh4"; e_fb_binaryversion="AcIEcv6F7CX3sb6lg1mLmnoIm8PcMpGzRLFvCKv8zgiUZMwdAi5C4qURjRJmlAdU0qOuS6uBOONuEcFfTZvfyX8DORN2QLCTB9o"; e_proxy="AcLbEJXehKhVqigLo0J7SKljBSj74HbF_X1dbGGT7xkbdX7ZGYawIYKTHktpCSU3bgfOUuvCP7RAFucs2mMg", http_request_error; e_fb_configversion="AcJbBJA6Yc8HJjb9QxETjUkEdBv2gm6vTvWBEVKmtqJzL-nt_po295IEBShcKQ"; e_clientaddr="AcKJYo3X62iIf_TeM7YLXMECBPxe5yWcf5iO1LOMfSe-uFtyKZW44QG4TRY8PkRFMXwHyxDO3AzgJmLVtQ"; e_fb_vipport="AcIm3v4WmgHVaRhSmuCmbOIsChofcbt_XbbS7l9BUydWMHlUCPor7VszpZng"; e_upip="AcJSpRuqrtOCBG3n3zYs8o5yZe_8vb6piY4ahNCCvN--mXM2V4l0Ow7li0I3Rr3yZ1fzkSggKLykqlHgV7OZfrdOB0AxG-5_ZQ"; e_fb_requestsequencenumber="AcK9emNPlcm38TNJpY_4A2SpbsNouSceqk3C7ZhaWj3gkNMZehOnXy-LWA"; e_fb_hostheader="AcJ9XJC43XUeyIUsgNl5L5CE-yxJ3Wh2vjw5__IS7Wl7bKZwD1XaNCZMgKpd95hlycScMLr0jJ2JzoNX"; e_fb_vipaddr="AcKt-RKak5rb9Fpm9s32AQSJ5VClKwDrAe3fPR5p_Rt74ozeriJzFkvXp2I31oNkY2bcC8SIcw"; e_fb_requesthandler="AcJhg9nGeLnjMfWMQ_tVnAyhbxmADopir4jDAljJoH5gtASZdVLEBWrhsde20AHNb2xitImS2ww"; e_fb_requesttime="AcL9Wi6sC8qPZ8NG-u3kK3xN2ObiNfiacu6eeLsOVTIQbBDnc1ma8IzrcGwEdd6XVSx5Syvb1g"; e_fb_builduser="AcJHh_M4acwrFlJRWYWVRWShb9LjE9jM5xNhXcsF_q_GAjcskmkMREX41yhlWHSpg8o"; e_fb_httpversion="AcKxnLOUiqAjyvmL0QYdYoRUCezyXc_b6DkPOiD_mcpnsfnWhSfLHw_5I-8L"; e_fb_binaryversion="AcLqsaM6I1B0mDXXcKDCISQId4aAL7cmZh58AsqjEw1_X1ZWh3Z_w73heawIbL_auIblBKfUGUnXy3ow0S5O2m0gGVHyVWMlBww"; e_proxy="AcIDmQrgDKseZsDgqp4Cf01MkvvCt3L_KtggCdD-IrG5_XfDAWZeO83dSZiF3awTd7woV9cDqR3Rt1k"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=118, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', data: '{"recipient":{"id":"25171915175787293"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFQVInScHd6C0oPlCsnieZAO1C37RMMbziC0ZBd58T0WlWe0l1h2NflukucKkocE6hVP5vkrcM0eCP92jOzAmvUSXKFYgAKbOMA6xlSlZBSgckdpXlEyrq8ZCesPbzZCTILCdFYJz42yrOEvZAB4Wpod0tBKZATOZBwObPczA4EURYD1wZAWt6RVRFYaFUZBVa5EAawzNe5I3y', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/08/2024 22:16:41: Request bot not found: { id: '133788230054854' } 04/08/2024 22:16:41: Request bot not found: { id: '133788230054854' } 04/08/2024 22:18:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/08/2024 23:27:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/08/2024 23:28:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/09/2024 09:18:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 09:19:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 12:16:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 12:52:47: Request bot not found: { id: '136311313195964' } 04/09/2024 14:09:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 14:42:50: Request bot not found: { id: '917983134950234' } 04/09/2024 16:39:05: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7500892936662636?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18090443, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7500892936662636?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7500892936662636?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7500892936662636?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7500892936662636?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYdKnmGuM5BAVbaka7p6f5b', 'x-fb-trace-id': 'Hl8uZsT4MVG', 'x-fb-rev': '1012644613', 'x-fb-debug': 'FISxU+jc1WcnG8NSc6B7o2zzUyI5rRGXpFeKOX5yQhJm0m4s1kve39zus/HZeWo6ZqoKLfpaX3sjIGRuMit4OA==', date: 'Tue, 09 Apr 2024 16:39:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIK1gYZa1QhUuWaWyMsQ_iq1T7gVRbkJeNCJA44eFcYrOcULImQ1CgW3Uf3ew"; e_clientaddr="AcLz5ysqbwDZUVXyvh66bD6WrwBV2MmjTskTVDJTwzR5_gLi8t5rlH6czyvlsVf-hEwnKoIYnGXNi06Vz4Ihan5JpV9byOXe26cz4iB6Kj7tVHJRPg"; e_fb_vipport="AcKekul4NcS7DzOu5qSQpaqRXj-yxo7lU4hSYLzEA_IYNqxzwaW5uSEaKO8t"; e_upip="AcIbNB6BN5ICGYjxwJqs_ufNCDC86pWqqG-MvTNeweo3smNnugVxnkgZNM7fwZ8W05aTVYGxKyfuIIudxX_TRliK5ipIg_eIAw"; e_fb_requestsequencenumber="AcJKlx056g4MpTQWE9cijAXyEa91HEvVjtN_2IbgIscBFNYcyVa9u6ZuWCxg"; e_fb_hostheader="AcLU3u4R2v0oi7TbNL76hXouEOMIlXO07nNY2sUpQg12f51rdHU_yhMbUhM0r8F_B4yi5P0Y8ejMQJ6f"; e_fb_vipaddr="AcKrbQCAsOUEi9ZsKd0cGVJMAyQp6ltMsODsypgvOWzsDWhua59XAqF5rPQ9oRj0sWVZ-TIRWsp4ZQywAkBsKLIn2CHmI3s-QQ"; e_fb_requesthandler="AcKmZvLL-fhFKJYBHjHIOQ-vlcbmXptzacoTEPkzq1Su4OpFf6k_pzj1QekKR_DVRoBHGdeOrBo"; e_fb_requesttime="AcKdWOjVd_5_Hn3heCCd3KMIz6EuVBe0G_TbUKjz8efza7Zl7UuTBpw6S55CMgPuWV4z8nnSpg"; e_fb_builduser="AcJW77ZOqxcWmrXelgDBP8NDWIgZvUbJQmiPLs2NOVIHesX0_wyc-LbeZEyTV4I7Qk8"; e_fb_httpversion="AcKYCcJCUcocG0FMpFuhXeWiE-08pz8N2mTH4goEnQF6WCwCFLsi72-dWWYI"; e_fb_binaryversion="AcKIH2srU8LxNuDJAok6N_KYkRHDG0XLd9kIcQ-E1nvnSRxHaQcTWjgfSxX5OwJv7QygKJHIR2y2O0kHkbSk9bUqqJQ9cES_7wc"; e_proxy="AcKoitRm64bsspNzldD2RnUIIuRZnuNwS9gQ-zO-24DQX1ZcWrx03OXlHjCtltUB9GeUoqXDo55v-dQjKLP0", http_request_error; e_fb_configversion="AcLEKo-bK2D6r9s2h--D4DPsQDtTrZ_6pKNNyvzAZkcDdOpggx5O9KmplJ2zdA"; e_clientaddr="AcJO0DfoG-z-7uWqWaaBJGjSxdMlUzLzy_q22eV7aI3-QWww91JT3MHdmeXJjmovfrYIEPjlYcTRit05Cg"; e_fb_vipport="AcL2VFITTgYKn0V43vRsla_2T5aQuaDI7kPXGXTkr91ypiZ8hkY4YgXzuCIZ"; e_upip="AcIDA6djgrzqtr-6wicURpF308DobKCCV4BLgobG9vJu7iaPzzQju5Ea4yF2wWQytThaYPv72oEZTlt9FBjZaGcYJxffnXab7g"; e_fb_requestsequencenumber="AcIe3z7meqULSimVocJNPtbMZP7XdXOe6GztmyA2Q5GjOUUcoC4HcqVhRA"; e_fb_hostheader="AcJBsQuBQA_F3FCiRbv_B-anatB_ixokAlZK3c-VaiptIubYLBBSzGkTmiMcDiwWfyOAy2SGnZgboHvW"; e_fb_vipaddr="AcLKKjaqV2GVqPOGwPCvxANZ-fmar28emdl-aL1JQBhlUL7RprZaWF410JYakeEnTw9wqRlLpw"; e_fb_requesthandler="AcIZOD-viyC7nUVLVWBo5fV9x4eqFWxk-onJO6MwO-IqwSdUy23Pt4KNgTx9wFnCXoME_v0o9Cs"; e_fb_requesttime="AcKxcYTOgyI2aItgFpJzVQjSLKCpZDYuF-J7DdylP7QNNiGYJH2g7KCuIZ059-zNCZGaAPGcGg"; e_fb_builduser="AcJgGJITTeKNneM-r-EooU_QnID6E_h8RnmzqIMRxpHSyFAPHrMn1-rnMGS_ziGcRjU"; e_fb_httpversion="AcKc8CURnFClV1zefYbPPEeDdBJTgwh7E--1W-_cfz98Cdf6HYhNqMhL7xHF"; e_fb_binaryversion="AcLFspnOpjQZOW1NzQKtJilxzCSA964_xW6fCFNt0KBbhkNC29RkNKHQzuPygAFBE8Y-bivLRxjnyiiJ3UnGQMX-RchC7lSENwk"; e_proxy="AcJhmxfC89rg7DnguNHsOBhmUTgxu6Th524kn0IxJguPoOssWZGpBdT3ftqMWDnoY-kxJmJQTx5eC7w"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=304, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7500892936662636?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7500892936662636?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7500892936662636?fields=name&access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/09/2024 16:39:05: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/09/2024 16:39:05: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/09/2024 16:39:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/09/2024 16:39:06: Error on send one message facebookId => 7500892936662636 04/09/2024 16:39:06: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AsqX3n8LbnZPBUJQXNObP2X" } } 04/09/2024 16:39:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7500892936662636"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18090561, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Anq0TjP2XQIzSsk_czzrrVR', 'x-fb-trace-id': 'FqeuSKxGdfz', 'x-fb-rev': '1012644613', 'x-fb-debug': 'PUUDHktLx1kPjxhGrGSmN3OEq2e8z5mKp02YuGc7e3kmfvZ7kbwto+QPvF3wFxHcRWLc8mMyJrOzvj51Rw24mA==', date: 'Tue, 09 Apr 2024 16:39:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKKO009K-ZyLdZ_n1eMDZJMqILzI8TSTGi2GT83Og03JL5dneSvI4Jv1fpS-Q"; e_clientaddr="AcIAOXKZbMT1WpyO6wJKbnoQyvw65Fwnzu1LfRoLqS2sTU23SfjVgXPtejeFzLe1cYr0e-ukyRDJ_7JG28yzF69lWaTAzlvStguEa4CB9PhDSuzl1w"; e_fb_vipport="AcJvUOt6mSr9Nvkkbj2-E9_sj7b7ioCaWt8Jf9UwxgLYu2-Bl1s5exwxE9nH"; e_upip="AcJdiHDdLm-OZZzfmkqGdSSXuFhhXzpUxgAAlu9z2iHLz-yOxUw5DOWfF0HvAjJQNv19A_502U27r-amPxy9Z926bWlqZ3burZ0"; e_fb_requestsequencenumber="AcI0FcNVyFHB7AS_VuTkPPX748I8dZZkjr84GLeEg5_ktmN1F_1X7FmU9x6scw"; e_fb_hostheader="AcIpwGDzqPTaCzjajjufizErBRFj4QgZw3VM06jH2jveZ31J4mzZYR20xfgYtqUOjWsn4dgqOh3smD8d"; e_fb_vipaddr="AcJLuO8UhbFVHh2whAiCn2YPTBgwvIpGGhfnPfCgemX7n0w0moIjWzM5lzVnw_z-SvecV3XtvN3fU5tMQmtJyLO-HrepJiPmlA"; e_fb_requesthandler="AcKat9vvufBLaSrWmKpxG1gOl4-KYOyT1eXAn1PY16e-Br3hCewTz-O8mNrQlQ65dFQ2uPB78Bw"; e_fb_requesttime="AcIiXDfUgxL4Jr9aUhWeA7SWX0_DnKYjL4FR32q9p9w1i3UFyUuXPMPBTqDGd_PdWxNtsLFOSQ"; e_fb_builduser="AcItJpB686LPTWFML-mW4weamhpO0qSTTGEas9z_GBlVSu8Lfqll5FgqMA2WZmJ_zwg"; e_fb_httpversion="AcJBZnd-7hULENFd6aW1gzck77mTxw0Tb9jua-0Dn86mk-KE_xwLYhK09wuC"; e_fb_binaryversion="AcIv_rZL1dskO5A6VZ1Svkb85nPHFf0QwGGl4AULZ5_PblGJmm2YuKifReQZVu2Yw3q8eStWecQMVRhD4Hfp_9X1vTl6rHQyPoU"; e_proxy="AcKCQM71XE83eokbCuKW6xB6zgGEw13XqxzCHgzXcWp_2Ans8R4NwDCAsmDLUnCUY_f2-xnJkciIbvJAv8d-", http_request_error; e_fb_configversion="AcKIhJOP1TvsbzrC6cqrsoTksgzS4XIXnlPAsDzJW2LEZelHqBzHJxd7K-1fVQ"; e_clientaddr="AcIh385sivXOakG746yOUJaaP9D5MdLf9k8z_kKZcaozke0dnkuYYTLYnD-J-0ihAPfi4juwfSWW-3Z-yA"; e_fb_vipport="AcKwLhCcoRz_WNkwbIUnx9LMr1WRbfHdNnoSulQiTljOR6fNOtQ6hkD94Ylm"; e_upip="AcLZVI7clHpJFkfrj9GVhuFd3ThZp1a9jwXrIfWLLd9WuQNd7v6b-xdQoAM-nECmeKAVbS78OASDKZ9z31quhy7FBTCJFWFtJA"; e_fb_requestsequencenumber="AcJtzxdcPSVKKdJcPx6pLFb8GCKXfINOSrwDpR4oBzXH5IQqtqmFF_0emA"; e_fb_hostheader="AcJz_oRw879oaJHQCK38V5iBRQ-_IpHi5Tshsfe5M9MFRMD8FxUmLghopfRbIDyV0InaBMXhOTQ8dfoF"; e_fb_vipaddr="AcLPhvtOhbWhbLMTGno36QRbxz7Q9axtXlUEvlmoM5y9ggZSPNdPIatDFxHo8HrTrdBbgyiGqw"; e_fb_requesthandler="AcLBUkGFG7-dl2PWWZYnlCLSWq1TeTNpiz85nRNG2NSI3AeVAFq3C9n3hs0OgbQDyMxlqJSpM3w"; e_fb_requesttime="AcJuGHuaTadZMzNUa-0jw8LBPkCs1w5LlSB78LUyWzBwQYO7Sw7OaGxGLZayXwUZvySFliAoxQ"; e_fb_builduser="AcJoWBnVLQhCeApvXe-WDY-5dQXxCMTmIiJic61aOBFkn_vZl9_W_TbS0Dukyskuv1Y"; e_fb_httpversion="AcJCjcOIs2DpEJSamoH19t7Q6J1aH8RdeZh7A-4BcwEkVxN6Q4TZ3KAaDO66"; e_fb_binaryversion="AcIdjNtF9MshyOt2QTf6FI5kmsx1X0AzDtZ2wjJYvSjAuTHM1jSQzsSP3JKh-aCZU0rwKPIivpNvBxZEvkm8HaFrpR2qKNt2PeA"; e_proxy="AcI7lZO8spxUQDkNkk3stzoVosoI1f_ouqjB5-is6PXjn1tWtMXOJcUNKubjpIR_1F-xyJoZ8tJbCWc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=162, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7500892936662636"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/09/2024 16:39:06: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/09/2024 16:39:06: Error on send one message facebookId => 7500892936662636 04/09/2024 16:39:06: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ASjgdpA519f3VC8b3fJsg-9" } } 04/09/2024 16:39:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7500892936662636"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18090634, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8wz8ysnbn0VTpeLOSdiJTW', 'x-fb-trace-id': 'GdeBmLwCS0r', 'x-fb-rev': '1012644613', 'x-fb-debug': 'gcZ/FD6tUrrKpf+RB1xTVFZZEh5c9IAG/fizmUCI8TENj9l2N/jEL5LFx1enUXa5CK7SEgHGPWXXSEkkJ6aUzQ==', date: 'Tue, 09 Apr 2024 16:39:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJknlRBTJG-H9O5RIOlWQD2qBBQrwbNdSNLRs6Pc8P2-dKdW8tKkJV1gSTi6g"; e_clientaddr="AcLC6r77D_IUZecLdSpcwMEbAERwmjVVSz22zyI3mq8lVXX3ycnAkvpYJ7Sq0DHm_qRDbP8XcD7NsE74-mBvrYs7QecAzCA9qbvPCcqEiYnGzSZb2g"; e_fb_vipport="AcLfrAz623tPMz10R8j1x2CXTxKNiUgnVRZsJ6Gsh4I33asb09IqNXlOQcg_"; e_upip="AcJD0PJF0ND3xspyupQ_lVgndbNcNu4ubc-n-3LaPff2CRpPZtJs0TTrPqzrARSXsaep94fAwNqd47uHMCchY_8AkBbwQ0YMfjA"; e_fb_requestsequencenumber="AcIm5Fhk5SO8uzX4f70E5jgc4JbqC3o24Btd70DS13_l4R6FrRR2QWiGYyNj5A"; e_fb_hostheader="AcL8NfWeLuJvqtg_vJM67_143YqFZzhRdvK6riywV7U9x1YFPFQCMx5vqqUeSy6kRqcHmicgHsrN9zf3"; e_fb_vipaddr="AcIjeZh95U1o3oJiNmof5YoVEqHGuQeSDaD_baqNKlDk9OSjcN-UF8pnqOdK7Bf5iGwvYUBGm-9T9a8ZyT1CMRzp2VQ_JGn4aQ"; e_fb_requesthandler="AcL24uNO1qbrUH83VVBYIi8tFUAP10-W9Vs6nTaHWiAqFkUXhIEE3T1lk9TJhl25Fm4ZY_Y0s2U"; e_fb_requesttime="AcIiSr1ugVUU5dC-oHhbkOrL6PpdxyoYmSerlCybqvAB5oapaVC1AarmoCcRxho5at1DMmYUZQ"; e_fb_builduser="AcKCg_sr980_LK2c5TDWrdARdwP_jfvK7esm5y5j568itzAbcdtXEN48_ltVAT4g8zw"; e_fb_httpversion="AcII_1kTeAj8J61mIcwCfaLnjWWcHtEN_sV2LOgj83lfkx9ThsoqV2GuhQS5"; e_fb_binaryversion="AcI3_uJKHncN8QYNVQwhVi2WzsY_8-kM32c279vKQI7maschhqCjJPaKrdRimgoa9RmVpXXRCfO1LGW4jq5eEuosFuqEqKeWvGs"; e_proxy="AcKkDkSiePvVHu6hMI55Nx0EXVIWs6Y2hHIt5B7nzOgBJg93nIGP8_PUh90Uto0xVLm0jyx5EisIMRE8_nug", http_request_error; e_fb_configversion="AcKmgU13rHS2KYLrmGGamz7bWFhmhw-kZ7ekUgopx6E0lFoXrLP0kY6bXcIGIw"; e_clientaddr="AcLWo9wlxKCFbwNgrdWAHmgBOjEURyer-rOgi-80lyAiHbLJpyoVYnTwscrlcXid6qfqHxm_iU2RR0CzoA"; e_fb_vipport="AcIN3n4_Eriauty1MOaKpTD-0olRyftQUUIUF49xrG2wPICdlcfgRjhQ9I6T"; e_upip="AcK8tBdCWR6M3nVn31A5c_9uoV26b0xkgOTGEH8WXBdEgh3Qieox2f4imcbWUHwzYpuJyBXrr-IXxyR3NtM4H922pwHdnJrnmw"; e_fb_requestsequencenumber="AcI1MePcS-wYJvDuP8HKbRESpTf4UY3fP1RRe2QzAc177eX8J6jwDd-yVA"; e_fb_hostheader="AcJoY_D7hj7D6YFJKXVRToiLMI6_LZ9eefe4z4nyUfoEPtvYDPcqMroiHlgU5sAgEOOg1pemwxe1Zaqi"; e_fb_vipaddr="AcJ5kNIDNJ8tHaCzkmdT3drcG8njHiFTj18Z2DZpeW3h4_GdJQqwykvnhS9917tUkJv7sBWTXQ"; e_fb_requesthandler="AcJHJQPsftzCFFiZ4sNPX3uowOVuNb0gfRD3yfiv_YGO1xuD6PGVLB5GbtsvN9CLi1L1WCXpLj0"; e_fb_requesttime="AcLjAhmUQVqV8kyLT9wOU8QJ8s8zZ6CiQvCugp98PTWc9jCPmR2Wuy9QX3vsVWULRFIFxpPwtg"; e_fb_builduser="AcJn6-xYd9_wtyNhZn3IQPENiecSbQl_BEEQJnynwMNS3YNHn_0VM9p8J4bLbbxeKpY"; e_fb_httpversion="AcIs6JAOEv1TaV46SjpKuuYIM5K-rQRK-JmlPA7myE06K80l9EUZKZfnN7Ym"; e_fb_binaryversion="AcJiJQG_UAD73ukU9jt3xZGsD6-s5jJXCRaAmIYCpuQr079qkUhFKOqchexEF08UaRKuXzjUadD_edpDTi-JVIZUk5BVVs9q--Y"; e_proxy="AcLmxa3xQ6iX_AjXeQME4X2ibCC7k82TEl1dXHZT-ql_MfuTXCNvCfmx_1u0hzdvDK9Bd5hJml1602Y"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=182, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7500892936662636"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/09/2024 16:39:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 16:39:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7500892936662636"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18090749, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADjrdgcbTQPE8DKDqJHiUKD', 'x-fb-trace-id': 'AtLn3i77z/X', 'x-fb-rev': '1012644613', 'x-fb-debug': 'esW0jJitzK9ydCNuRfns1K2OGjo8izdBnbSb5JQ6td7Xl2XJFAyZGPDYtiIq5h6gctSZRig4CNbAdNc1sn4Enw==', date: 'Tue, 09 Apr 2024 16:39:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIvpl1CCvOGX_mso9Y4fGLStYTt6NkBRII218q8CfiNPfvxBH5ZrH-fGISe9A"; e_clientaddr="AcIq-SuOqtLjk_M_c_41y33Ib6KuSmtqBDwbbzC-6zOKBhUT0ax7L7052aT4rOwOddq7zmj4BponG9TbqN_iVAMUqK3Y9CT0VP0MofZpDDahprIh"; e_fb_vipport="AcKkAywdf3zR7YUPFUhcjK8WDvpgFLqlgmlmr5ispIDOot1PK0W-EpHyast_"; e_upip="AcJRduTxGi84wm9J0fzUa-1rnr8ghLhjupkUgaxdta7K4xDP9MqKIqtuCyJ3Nd_3WKKjpZ9jgC0EerccacKYp20bKIJJQL0ABL8"; e_fb_requestsequencenumber="AcJcCQ2YLegdY6vGzHTdEZu75WQy6zq7o1cNsj_q1TmmzHta8drtYNfdm-wZjw"; e_fb_hostheader="AcL8s0zCmZQ3qv-nu7pd8qIyAuZkitxa6CoeubJX7Pbv2jrFBWhK_AVOR-YujZaRhYOlnFzrPAkVbiOP"; e_fb_vipaddr="AcIBldUseJAAKT2QEjCx859tiJ_V4ifw7hr1ylb_Fx2hkhGvtoufaQXTb9YXuARm_12KFOu2GU_Zf1m40RwdbhgaDiIdc7ErLg"; e_fb_requesthandler="AcLUQClNtmp5xmKy45Sv1VAx3-9dbcUvcQvdsSMPnhFqxhzKnBY_TdtA5nwLNAZ_3FIorVYDd_k"; e_fb_requesttime="AcLQ_bGbkROyBDXVhnJqu-Rjcq0LyT2ddrM9pRZ9-z3JiPw8Nn3TrChFlp03dHDqzwKk7FaaVA"; e_fb_builduser="AcIa5KOkW0IilFDhGnYYJW1uDmYwbaya6j1GJypwE4ctxGrBKW68jYFD-cDJPT5v9Og"; e_fb_httpversion="AcKkaeao_R_czrM3IYzVPJ5-bG1-D-yKXP3opfy-YUpK_cHXlxSvF-hakMFh"; e_fb_binaryversion="AcJHe-g5TnaTcGhY0e1GYxvEuoO1P1ZA_V2no7oX_IEYyESNe3A3qvIVlJliucBLpDTtN_kVSMFdBwhNDUw70pRQAETCWQV1fOE"; e_proxy="AcK26K7i96O3hveZIsFOG9p5CjjH6RWHvmixItKHzIYHVD2FqlE6iCu2qqIuqgRals8QdhH0to-6wt84cwCi", http_request_error; e_fb_configversion="AcLil0JIuq7W65q41OZ8E0XYTHK8wIAHORdUxgwmQerC_STPF_ILokVrvUaxaA"; e_clientaddr="AcJQRnFswKVD9rnVGTRHPH9fdKgHUBHlUMNqU3QGdqP2sdMJARv3AOB9xk3XTDjc7_nyegKltSZ0qovfaQ"; e_fb_vipport="AcIb2lV2MO0ZIBPDdPcMwpXCAS9eawmu-YZT0_o8drdfNngtDsueeVnLgo-P"; e_upip="AcIBk7VWwESy3zgDR4pg2eE4pLByCIUld2JTbnPb97RyfKcOEeQ5bH2nCwk4xvB3IeCv0mLLslArCOvqC1KTKAUn2GLqCPmuvA"; e_fb_requestsequencenumber="AcIDsiB6Pgiy2-WMYpbgpNHhuGkma9mh28o8kZ7Ki50jY6ycL1zBOUkiiw"; e_fb_hostheader="AcJqviu36Le_NMmtTD-rk4KxrmQwfw48tn8pSiHjNQ6TW4Hn_Ujt76erGdOwXVDMfZxTmcHzgJTxmDUH"; e_fb_vipaddr="AcIydtAtYGh8bSvqvmwb8Kv4hvDbMAZpa9QMiomhnFwgSNalw_cwxRKd0XLNPjEB_Bd80SA5Uw"; e_fb_requesthandler="AcIckZXyYTA_mMv2eyxb1gF4Gn2MGCk8jB6qRcWL0Bqj7GdsGM-ii_uXDq363qzFR2LEApJ3V4I"; e_fb_requesttime="AcK-y1UA_jQLNSVokod7vHkwFT1iDNsJXkh5EJEmoOPi9Um5W3ng_WiCtpFvel5_3RM_EBBheA"; e_fb_builduser="AcJWr7-B1CU2RewkVpKpQyUr6TTAFv3bA4tULDP4Z7YsFATDythVpRDgs0wwJRxTyz0"; e_fb_httpversion="AcKhhSOLLUZQOq8vsJepPR3uAKD0ISkgdb22Qsd1l6RP9zMrjisl_rWjKhEh"; e_fb_binaryversion="AcJgqg1DaYvlQ3x2cqHAe0TfNua4oEzLe4YDGgl0sg_Vd_OTTg79zFU9xkqGM96cekIjx37rdJZAedDmz5440aE8Ez1II6xWdlE"; e_proxy="AcKaSGSdXqK9P5f-u6-sDRZ7DvY3OHikqNbPhw2c0mLCLByEVEIKojoJuukQxSyZuOSQIR6dJWXp6RU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=160, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', data: '{"recipient":{"id":"7500892936662636"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBALuTSu3x7DDW0n4urOU08FqjGFZBIqBGUmfTPNQbJafXOMiityFNoP41XofA3kTEzuezAIXLBTezNZAvFOyTLTxcZCeJCqedV4Cfa8mTiAucJxgVwdp2HMij1bPhOfvziMvZBE0TsxWBjxh3qGqydf25uYGZANsa2nZCdC3kTXKMEmhHPXyBIRTZC5klG2iBpDphPl9K8Jm', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/09/2024 23:24:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 23:25:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 23:25:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 23:25:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 23:25:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/09/2024 23:25:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Facebook.updateOne is not a function at updateIdentifier (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :184:28) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :276:9) at new Promise () at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :1:1) at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17) at initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/09/2024 23:58:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 01:02:13: Request bot not found: { id: '173905809808323' } 04/10/2024 01:12:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 01:12:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 01:13:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 01:13:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 01:13:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 01:14:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Facebook.updateOne is not a function at updateIdentifier (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :184:28) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :276:9) at new Promise () at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :1:1) at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17) at initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Facebook.updateOne is not a function at updateIdentifier (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :184:28) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :291:11) at new Promise () at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :1:1) at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17) at initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/10/2024 02:23:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 11:51:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 11:52:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 11:52:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 11:52:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 11:52:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 11:52:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Facebook.updateOne is not a function at updateIdentifier (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :184:28) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :276:9) at new Promise () at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :1:1) at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17) at initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Facebook.updateOne is not a function at updateIdentifier (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :184:28) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :276:9) at new Promise () at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17), :1:1) at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:39:17) at initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/10/2024 15:33:42: Request bot not found: { id: '917983134950234' } 04/10/2024 19:43:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 19:43:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 19:43:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 19:43:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 19:44:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 22:26:09: Error switching inputType 04/10/2024 22:26:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/10/2024 22:26:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 00:18:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 02:04:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 02:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/11/2024 02:36:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/11/2024 02:37:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/11/2024 03:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/11/2024 03:36:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/11/2024 03:37:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/11/2024 13:13:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 13:13:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 13:15:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 15:12:35: Request bot not found: { id: '1852395741674621' } 04/11/2024 17:11:32: Request bot not found: { id: '215725838493727' } 04/11/2024 17:38:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 17:38:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 17:38:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 17:39:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 17:40:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 17:41:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/11/2024 17:41:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/12/2024 03:07:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/12/2024 04:45:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/12/2024 04:46:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/12/2024 05:17:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/12/2024 05:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/12/2024 05:46:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/12/2024 16:47:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/12/2024 16:47:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/12/2024 16:47:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/12/2024 21:45:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/12/2024 22:18:05: Request bot not found: { id: '917983134950234' } 04/12/2024 22:23:58: Request bot not found: { id: '1815581812105014' } 04/12/2024 22:24:01: Request bot not found: { id: '215725838493727' } 04/12/2024 23:54:59: Request bot not found: { id: '917983134950234' } 04/13/2024 13:31:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/13/2024 13:31:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/13/2024 13:32:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/13/2024 14:06:01: Request bot not found: { id: '234064353428134' } 04/13/2024 15:19:14: Request bot not found: { id: '234064353428134' } 04/13/2024 18:12:48: Request bot not found: { id: '215725838493727' } 04/13/2024 19:26:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/13/2024 19:32:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/14/2024 17:13:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/14/2024 23:41:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/14/2024 23:41:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/14/2024 23:42:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 13:19:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 13:19:17: Error switching inputType 04/15/2024 13:19:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 13:20:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 13:21:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 14:08:18: Request bot not found: { id: '1852395741674621' } 04/15/2024 15:16:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 17:43:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 17:44:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 17:44:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 18:09:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 18:09:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 18:10:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 18:10:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/15/2024 23:24:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/15/2024 23:25:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/15/2024 23:40:19: Error switching inputType 04/15/2024 23:40:20: Error switching inputType 04/15/2024 23:48:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/15/2024 23:49:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 00:24:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 00:25:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 00:48:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 00:49:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 01:47:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 01:47:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 01:47:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 09:34:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 09:35:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 10:03:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 10:04:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 10:04:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 10:34:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 10:35:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 15:55:49: Request bot not found: { id: '133788230054854' } 04/16/2024 15:56:05: Request bot not found: { id: '133788230054854' } 04/16/2024 17:27:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 17:28:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 17:29:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 18:27:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 18:28:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 18:29:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/16/2024 18:32:11: Request bot not found: { id: '215725838493727' } 04/16/2024 19:47:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 19:47:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 19:47:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 19:47:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 19:48:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 19:48:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/16/2024 23:33:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/17/2024 06:40:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/17/2024 07:31:35: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/25516212164658788?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20077427, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /25516212164658788?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25516212164658788?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/25516212164658788?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/25516212164658788?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aa8qQLQPG8bPcQauK45NiBF', 'x-fb-trace-id': 'GmEPn9N2bkU', 'x-fb-rev': '1012839731', 'x-fb-debug': 'GeO9m/3OceClyan9tIPonnBTE8eAxkzJHN7AwwJl/xQrKiVT3H+vFOHo+PtlyWf4MNKS3CtgbbnlL2rlp/XwTg==', date: 'Wed, 17 Apr 2024 07:31:54 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJVf_Tew8eU2S8eoCDTdHW-lj7lzG9hmc_W8h8bJWp2ftq54BU6A7VTq4kjxA"; e_clientaddr="AcIAerXx27jLAEgxdSmqjOcrO5wSedjMJ-CrXiY7hTRCkSvYTPxCpZlWsRWgPb_6rvEOlC2xx5AtVKE2UKkbkoVfmq0xoixg0Oz755Axb3nl8Jo7"; e_fb_vipport="AcKVJ-LG6ETFjcShN3FQhBpadP66F6NOxH9_mwXfHORwIExloT1Jbxc2bhKS"; e_upip="AcKTGd9zU8AprlFmINTVdRJMsmAZziKxUKEB1KXqiyjaPgoLg4lcGgU8qnQrtwPBVprZrp7SamvKCqmRrQ81POmNvaTqNOciCw"; e_fb_requestsequencenumber="AcKdHCr8qkaVktJ6j39N-U4IBRESR2YuEUJzooSq4nZ7qHGyRnVQozhl_A"; e_fb_hostheader="AcJFZoeAtDwGBk6f9jTNSDFWcqH5mWlPLLMO07U77oR68VVBmzb7kriootj_pjeXD1_J8Ys9HC6vQRnL"; e_fb_vipaddr="AcJ7PXuME7nzi4HmgaZ0shpNEC5Sl6dugyAZafIFSxWQC3EJ2CROO3AdrP0Z8vEKE7SShzMOhUsHn7bste4gCYDOAAMZQ5T67A"; e_fb_requesthandler="AcLBfpyMrEqTTgsGa72b1GokaeMrlIFwPZBiQPr8hxgWI3Uj9jAvBdl_0jt0ghrIjr-jIohqMUs"; e_fb_requesttime="AcIypHNlUQok3pss-n31geKZcVIuj6cnhC7elTS4CSkZzUOUclBxL1cwviIYFAooCjh8SpKEfQ"; e_fb_builduser="AcIw4TSrNvpbooxOK9eaXfQkoHMPNQ7OQeLdwa1UOVJ12BijmUy53inunlfbPwX76wQ"; e_fb_httpversion="AcKFTSySSl8E7mkbPM2HaQakn5KHrvqZNa_7lNjDDnWegO4GHf8pF1AeAEZT"; e_fb_binaryversion="AcIXpES-iv1zNsmoDTCXX_NR49WjfA89PZv0Do_e2dGiLJoUShDbz9asn6fK9JhTtvWIgTfDzwp-OH0bJLO_eWfH0rSERjTBqA4"; e_proxy="AcJHvZfIfzkb2MmajHiX_VjKU8y7IAUcshnMmQfNQOErI1sc0ygov7or7uNpyHHeVm3dTvVN7Fxz6BC_eIVa", http_request_error; e_fb_configversion="AcILLroywff5YOvdg1G0jkFB9rtxx4C2EbBZucQ2dRGLFsORVVHzY8hVm_4n5w"; e_clientaddr="AcLLzVNZ5KkG0iKxPfah5Uz5PHF4j96XVtzFvgLq9AbclyNXUoh3HlzslaApDn_8GVERjf8MYiA-yJS-bg"; e_fb_vipport="AcIMZOi9km4ktF7XD2DCMOu8L2U5Zfri7HzYiWV6HPWtuPA7PABiDObaotpI"; e_upip="AcIxGq80YEw_Hi7ppiXgB10dXstuR9rucXoa6VtBCVkC16bl_ld9G0h1woa-ZRTF4zb2p9Tf6ybAtZGBTXoYtQG8PG95RGSwVg"; e_fb_requestsequencenumber="AcJub9hDa1CM-hjPGrebT2N3WY_OgIathdzMj_83WeU1dPDVN1LLARUopQ"; e_fb_hostheader="AcKO4bLeWAAbsLaZVvcgXo3l1TDupaxmEKRdwkHCKDaf8uGdjEL5OUeX0iJJYSdPEKgTDjtDb7KnVwuq"; e_fb_vipaddr="AcL5o-GEbfv4rPfV7Lvy2sl_U5mTOp3sZcI4MIpeJcYC11uE4LGEc-IgZkba0_Fx7fHwV7SDxw"; e_fb_requesthandler="AcIx9HheUi_x8urIEeS6lWnGByrdqW_zZIp6J1LVX2d1gaiOcJHCHM9sHp4PVGqYW05QbKjAesQ"; e_fb_requesttime="AcIMBZYSPMVHu4npXHcsAk3u_r5awCRW27G6Wd40ENa6o-KSppfzGgnw-2OdEonaB45wnpjMfQ"; e_fb_builduser="AcI7Qmo244U0Tx_0jnMgOUV2JTIGXbhuMviY3p0AbTLWkIHAoeA5-4r_QjuGd_qQkzY"; e_fb_httpversion="AcImVaOczkOiKwelxNIVBx1BLkYyT-e3umScWs7qAQHyzVR6fur_knF-Ko6A"; e_fb_binaryversion="AcL1uwyLdx8wYeOLbv-560-aVNe89ownx8GlwGjfNB-dJAe5KCTiAOO8FCSEWpfcx2Eb9JxN2qF0_UGFPDTgglvBI1vU6Qr2V2E"; e_proxy="AcIL7Xg5fGPldjS19A3ZXPRZYiJ9IBGQ8UYiRqGNojtuUO_xDxiFkZhLTUm0e-igeiECn1FUmIJvX3s"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=224, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/25516212164658788?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /25516212164658788?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/25516212164658788?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/17/2024 07:31:35: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/17/2024 07:31:35: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/17/2024 07:31:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"25516212164658788"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20077545, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbGLAdcj6fMjUtsK0F5opkO', 'x-fb-trace-id': 'FLVBNPg+zNt', 'x-fb-rev': '1012839731', 'x-fb-debug': 'LH09tDQAm6l+6sk8gTtCS7pxM/kLKP9HtgnxwppsvymyD438xTEgxQbs8kBBR38rYG134+6ewOMWfu9+kSpcmw==', date: 'Wed, 17 Apr 2024 07:31:55 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLkvZz9B-8_KuKhmjyLcmR1AFkUzvrWYFvPDOYr303aQE1o80BP0S8b5vj62Q"; e_clientaddr="AcKVc-uQBIuGros-87G3iGH3r6mKNdFVQbOM0GHsDaTKueKIRVNA76xuaz7ZCNoVTetqe96cbQKKCJXUeFgCRaXbEm-m6V3E9nUj27q1LDL5LQ"; e_fb_vipport="AcIBCczHFluUu5s05X2MgVPw5mc-Ue0kU5GwtfK9_Gr1wJXuNL1ZcGybZCDK"; e_upip="AcI7BO0FkVBu1rrtCI6B2wp9i8RQqL7mIWKCCUV4FHj8aOo6f6gNre4xqBT-BdqhcD-WTlzjhuhk_XWsVHvtQYqtOH2M4qvy_zU"; e_fb_requestsequencenumber="AcLokG4fJ682oV-fH-9OIfbPzUNuI_EbW4JXJBu2DvyVltiLesgdhwZmDJZS"; e_fb_hostheader="AcJAb6dlhYPPc5uZ_qqQii1gnhTLlYyc20JKjM7KiRX4eLz7kodVqNc0v4zDTSt04Ddf1xQSqleMomD_"; e_fb_vipaddr="AcLWLeutxAg87QM_lubivLAcrYx2OF9GedneN0os4YbGwPB7gB5v_jkVzz22DvBpecGa-bcQ7rxiBNUJ6xPsJyPIJjWCyiE3eg"; e_fb_requesthandler="AcK59hELjDhdGWvb4wrBCi1tUsv2yeMv-vqs7LXYZQWpzdZdGJh-pIZZLRIDVRbCQOJmVZbd0q0"; e_fb_requesttime="AcIk9BMslqtTLoLIpO1lW_UVMNSC8pjeAAhK5xaKtxZalFikjfUOmLN_-AEwcfS9PKJik4Gbng"; e_fb_builduser="AcJA0h98ca4tMLdAbi8x0c3K6_hqLVDMudaanmALRQKUzlbYsPXHoUiwuk6FCJShJFA"; e_fb_httpversion="AcLHripWpWO1MkDGjBlwsGdOVM5EeRnpl3d1L6tJSj0hkZgOh7MDOcCJtAg-"; e_fb_binaryversion="AcJobgpzN1g6UEXCYzUf796hjy-jpwvt01yrGMnjYu1qz3jckV7VZGl3zVeoXuprDsCf1E6ou_E6r-g7lDMV331ZkPxf6hVMRIU"; e_proxy="AcJFpMoJ6kEePax7pSwc2Nz5kfQabpA_lBbUnRmC5NPiGMMjUTDfcKm-a2Mpc8qdB4qRC85RduJ_giCgbd4c", http_request_error; e_fb_configversion="AcKBlNHV4wT7HXCJuf4fgA9NpM-SlGZiOD8lJndmdUA9p8sdDIfkcqBBX9cGag"; e_clientaddr="AcLmwv9xGJEKpbIoifw1oTIoqudWXFep_3kqME8FudHAbj7jVCPcqhiPNqWX3PWQ6nU5PIGnjwEopDPmxA"; e_fb_vipport="AcINP61G5ECx952aJzKBw92Ch8g8FTTu78pT8n_gbZjT60oOuQKY6tLYvt28"; e_upip="AcJ1-ZHeIL575w-nGtSBGmKIA5A8lvbCGVoHQq1JJq6OZqBkn0A-BGTnv07lH54vVxjj1EnYPIm4_j1-cvoroe5zmBtLaDX_tg"; e_fb_requestsequencenumber="AcI_PTPg93q6FwljWq1Y6C1rN8KAjea2B67HfcwaDvvc6Ak1XtnjHVQROA"; e_fb_hostheader="AcIUOlpzp19pI_DfLNxA_Cff7eyiBofw_PObVQc_DI0lS7nA3yv3lMmIwaaYnylz6XOp92n_RPfZzWNi"; e_fb_vipaddr="AcL4BJ-GqZKBAZ87yqmXNyhxIwE8Mbt6shcZb-j-ZkD8a3RnYURq9cB9taGnbh9VQ0etPsRAkA"; e_fb_requesthandler="AcJz0BTd0HmSM8-8qQ5G4DQ3KLpuejVPW3GATSuTEJIyUEsUxUa27km3Xigl_VrcYSfQGlPg1yU"; e_fb_requesttime="AcJwkPlOIMI9rgJbl7nhX2wP-dQzgV7laNiRAsgt3cqDa0f0vw1u2QSZZ9P-Qn8HrvyCdWxtbw"; e_fb_builduser="AcJCe8meup3m4FEV7xA-6vD9Sl83nU9ljUEK460aB_cQbuiIEd9Kvqiqj35pgpLemEo"; e_fb_httpversion="AcJUWre5rsBJnNA0SrV-IPEgJtQMXsumInPxgLTYEKqGN33IheW9aozUwZYB"; e_fb_binaryversion="AcJVANE1CkT8weIhq_OKeBCPYNirvsqE3xKHOujSzjKCyuFn2stABxhoNp6WRSBJyWzcRXhnTrYlgJ2o-vt58DyNv72Ix9mfPrQ"; e_proxy="AcKaAb2Ebn5kn27R--QBQddD2C8GX_KpQ_1KeEMIgxlhZhOQbZto5SxDqgZU6a5LcPn0Dw65xUIFPsg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=119, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"25516212164658788"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/17/2024 07:31:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/17/2024 07:31:38: Error on send one message facebookId => 25516212164658788 04/17/2024 07:31:38: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AVZh6_L06ogXh_MMf71s5ay" } } 04/17/2024 07:31:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/17/2024 07:31:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"25516212164658788"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20077632, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAD1k73ar7uxbiya8bP7Yhp', 'x-fb-trace-id': 'CaN8s1aU6c4', 'x-fb-rev': '1012839731', 'x-fb-debug': 'tytnzeu2ZiloyeS7D9rnjRYcqOLygEVvG0SOGoBMbyj8G9D1omFVokcFgD65u7cCONCgmMHSD0R2H5hWQy2+gA==', date: 'Wed, 17 Apr 2024 07:31:59 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKslwma9TFGJYH5Egp_7bWl16kmhnGgT5NP-b_paSLBwhL_61B4OOgKKszu_Q"; e_clientaddr="AcIPz8FCvFmZaR-9IE2u7l9ftl8bhAc4s-t9FSKIddfVk0pl-u6kYtn7D6ZR-g371fYBs0Snc2z-f6yazrtdLMQnmt8iFJ1JbNd9fXMRLLDQvQBwjA"; e_fb_vipport="AcL1I9XuzhIP88SfS7YSXZ0VT9PHg_ceMq9hPEbdFdqmh7aG-t5Ur4FXhSfs"; e_upip="AcK-mKcaV1zSdDIe8gYEAMQv9sZ4Egg-RqTKZCG10Ckmq-z1PrGIYnylzrjWGoAkB2z7CsRv5ZcWR2SailkVpxgYCLgnWU7Zyw"; e_fb_requestsequencenumber="AcIk5KQlJO3zL6hjuqpxxgK8WoBEPM1BWBlKgG0UpfEagUL8qloSjkVGPt9o"; e_fb_hostheader="AcKb2QYJndV-J6o5mtBlTOOdU3qKu0WCsPNaLwzUX6TLj6lc_YkLTNCg2vTDu8eT6h2kH7IZvhm6Edbj"; e_fb_vipaddr="AcKWokD2zlikk6dCp7ZoUKRN62gbh9sjrsdhTi61vhbdmFynIdhtxiakRhcLilrzCQ_a9dmRCroN-1eVYstGVXveYHdEdNYGwA"; e_fb_requesthandler="AcK49S5EGj-PDnKmYdL1UONT3NqZAxlRIrXAZclhXCR4hs38MiuifksZDljGyuq-MHI-c1IN9iM"; e_fb_requesttime="AcKzVwwuE0Tjgw7p7XFc-ChA6YqX_7kOVou4956Yw8eMP3Rhq8ynlsYpSnz5vSwmHln42sCmBw"; e_fb_builduser="AcJJCCATmMrDaLzSXEpP5yuHXdwasuP_Bno8mfGUENL13a8tvCneCcxZ6DPwCtEaJbE"; e_fb_httpversion="AcKRbA2VKvMsUYP1U_uW5MJQi97bi7g6HD_lrzr_Brn4_x4K84YkIW-v6Bdh"; e_fb_binaryversion="AcJzbOzgr6CVWkoKdZcO2DdpXl4qheFtWST34lQFMED2k403onNNGiMrfcwM4QMmYGoVtbuCJNiQWanZdgfKaub3bODisxyje2I"; e_proxy="AcLUDk2-7DrpTd8r1CQkk-tjXATlVGfQfAm8Amv9YgmvQPX4xkh85vIEUgFM6PgeF8iLixcHVJU1c2dcvLM", http_request_error; e_fb_configversion="AcL-wsYvGxO-pogvXtwU-QFzU69KcUUtD0qtnHujY-PkcXz3oAvthUEO9t3XAg"; e_clientaddr="AcINJhnvLkmpByqd_hdUwCg_wnHbabOXjEVnss1T_3i3ic0DgQLmRMIk6nrbiyRXcuIPCUwJ208mTFpvxw"; e_fb_vipport="AcIf6d6fI6WKUqrUTVFzE2vpA3WQpD5jrk2viJHfJYs1v0I1u2PV_xPCeTY1"; e_upip="AcL1rsB1CaaoZKrO3OCt6ueTHn5uMQ3xgsdOCqqltdd1VinJLqRf9NQ3Q_jaxsf19nIiS5G5_YsT_4qZ_2r5gvy2mFCFaF9aRQ"; e_fb_requestsequencenumber="AcIRHjKck_M3t5mzQ9Jrz6_W0TQvX4BZsswNq1ZB8CfDxrdXfBWYUb8X4Q"; e_fb_hostheader="AcImeJwGNaHgi9FfCL-Eg9hzS4Q3VPfIErl2_hTTjuVkALA42umYJSmoWOmg9NPbgGKGpXOYFl91FsZD"; e_fb_vipaddr="AcKGJcWg732lanaHDaWGA3QuOPLrlPZYBeTaKvTS1Lp1CS108T8_yDkzWjL7tY5DtEQFGgn9UA"; e_fb_requesthandler="AcIb0A4oExXKJ-sBdZ4CNCSQqzEtTUEg7py09QTv6t54vxhl88zhruiDFK2_mzxRV7Au8wzpBso"; e_fb_requesttime="AcIzzHAAbfkeZbxmAy3XY5L5uVPJRsH1izziw-6rwkMbo8Dan1OKEJ3jKX5N8igoYRAErYdq2w"; e_fb_builduser="AcJgHZ8CwDcdrvZb_m7bnxrKjaQi9J4bTtfQLyT_9r5PUVHRLLqk41pJuYvuS2oq4xM"; e_fb_httpversion="AcKmfMLMBGvXS8nAqCJcZWBcYT8jkUORCT9adZhO0zvQLqdJYILwN0q4Om1O"; e_fb_binaryversion="AcIikIuOE4ecixZwUJH3BbuEd6rpFAnC1Jh4aL68DsVCF6gGNlna1B9tA6frlDDi08W4fnvyD_XdCpIvl-lQyO-XSB39plCM55k"; e_proxy="AcJToImnlqcDG7WT7GmDznTgSOt0sMUVCFwgYoCHJslXs8vEUkrJwvaXs6Kn8GhqpUCxOEYfOU58ULU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=118, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"25516212164658788"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/17/2024 07:31:40: Error on send one message facebookId => 25516212164658788 04/17/2024 07:31:40: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AItkhtfGiVlnk5yAH9Tmwu1" } } 04/17/2024 07:31:42: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/17/2024 07:31:42: Error on send one message facebookId => 25516212164658788 04/17/2024 07:31:42: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "Autp5WGsvV_Iwo5XsxyHY9f" } } 04/17/2024 07:31:42: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/17/2024 07:31:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"25516212164658788"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20077765, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AX2DHOltD16SjgCIXWoWK1K', 'x-fb-trace-id': 'D0hwcv4LbgA', 'x-fb-rev': '1012839731', 'x-fb-debug': 'zY0KL/hTXHw9xXJ3vrFqKvuM8CgzVrtvL95pTzh3Ly1Qp1T9uKLrqCilas3IeJZTlFQhmi2HBWV9TtqtvA1PeA==', date: 'Wed, 17 Apr 2024 07:32:01 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJKBHs1EnuCJnSUmqKr_IebmIB3XY-cQmZwl5v0V_TVtphtsqT5fchHqIn4oQ"; e_clientaddr="AcIrEq3vv5cqNe9IlEMrt75W0a9El3ThnToevmRn2ADJkcrTO8CvkGSoM1nfhgTZoDmViS4hfg3gAfpSXGt1-rvqvFolktLRBFrrOCu18om8B5G4OA"; e_fb_vipport="AcJKDKI5M3fsB7Eu71pkTvQQLZxKU2Ml_oYQph0Ou0dNUxZaekVyC-wC19KM"; e_upip="AcI12rDKnjw-J4x5o0Pl0U1b4QzTFh8TNKlnZc3o79lnchEsl4e4pedZLJyS6g-EyWuFOC2JaPYyEW87ciOGhHlmK2MLdpv2h6k"; e_fb_requestsequencenumber="AcJDGASHA7rCRbpgZ-poN7T-CVUcHj6MmfrKwf2l-aoXkzkqhJUvoHOI3L94"; e_fb_hostheader="AcKB8z8w3g1vWlSuTwrJGLy163eYiOoecxxSASTOMc2phzTqoT-WpvB_k7VLuqxyhn-efd2l37-NRZ8H"; e_fb_vipaddr="AcLrwSkllvfx7HMEwd22LPo0qqaYJu_kAvQBHC6O7QPF9yjUAc-_9Y-3r9AlL5r7DX0nrHsV-IAJyZqlZLM_8z3w6apSS7pbgw"; e_fb_requesthandler="AcJl_H6sIhkUOKzAeykvZaasmRw33VfegN5DrHNIta0G7tygJgHoHBMHV5R7woZu4rhRPa3x6mk"; e_fb_requesttime="AcKhb4LOXJwDhOblaTY25iYFZg3TOmWmF_WmJkrTphHqP9XMUozWMEo48BU1DM4xzX2cTqDK3g"; e_fb_builduser="AcJi2Sn2LCKcc79z-X9k7C3efY3y7O3_loXp4XCH2Zgl-4pXALxncFhM9lXS5h64LU4"; e_fb_httpversion="AcLCGh4jeEA7N4I7CBYq7h0fp-QpB3ao4S4BqwFWpSeJ_ImX-btGHeVFtSU-"; e_fb_binaryversion="AcLe_a63r-L8Q1we0DcrmgvHmlvv0TwxbpcY4nJiyRfhLPjO3ST-6KiLPkZK-ZAxPHZAkaOmyC-6k9yNmPGyZlW9VxBguATHAos"; e_proxy="AcI6gFq4e2JGJWNATwmsb7Zbqb9a4OvteSmIGNFZ_m-2fVHUVbxpH6cYEGqc3Yd6jO9uuKhXIhiJhiYomiYa", http_request_error; e_fb_configversion="AcJ7qtoUM8xzWe_abeH-GjG-phWQXi3ocfZMp5DMLousVy8HJR0IaLRjZebFeQ"; e_clientaddr="AcJ93Tm69XTG3GwEJ6SzLx_oOH3ge5bV6qs_qrN1NuVCnZxFjW0lnjYE2_Y2R08NMqKrHtOynwiJOD5bOw"; e_fb_vipport="AcKnRYPufD0W6_TwHJ_O23fF95hOyxJvuaojP9LDZ1ahTqg1OWxiIP4NW5tQ"; e_upip="AcIuWPSzTKqepgYqiVTU19J0n2_CD9ZrC_SXGa0HEr4_S0wo8vZL182MNbE1Y7Dydkz6eoDl6lDMfIsbPU5Igt0WYXJKVBaGqQ"; e_fb_requestsequencenumber="AcI5FTfHVytH3qtfLFANM12nC232do4vGhZxAWD8lPQ6Zi7gbqgeBOrzLA"; e_fb_hostheader="AcIqFCcc6IE09aRhlymkmxZ8sGcIRKPhOgVTH5lMyaJfAGMcu7uUEpLZnlwhBqoLM28iEflIRlCWv6fs"; e_fb_vipaddr="AcJm5SWgraS7BufCQhUGW90yKYXSXELwrVRifzQmptKAbAP0tXfQ4fXFmuVploeaiwbyu4oCdQ"; e_fb_requesthandler="AcIrgPUw3nwbfukUM0uJuw1aPrAUkxB5V3L-7Ah7uuL5lbwIIqhvKCwcqeVBuCr2AdzrTcGlJBM"; e_fb_requesttime="AcKRToQ2uiPiomhCqCDXc6JGph4a1_QpgFyos1wH9o4c0F9BS0PQ3vrShFhG9D0AnXzxv3V7tA"; e_fb_builduser="AcI2Q0-eYocBG1Hs7D1l8fKvAGiSaBBW1D_PC9GcjKbj1ulv9X_r8fPfzm8HYdjd540"; e_fb_httpversion="AcJirKSAw5MrFl-A-t2jX9ExtnMWEE4TN5Kznsa6aD-DqgMjECW1DW36x-P1"; e_fb_binaryversion="AcIMFAgaCPSkoVwRP9hzHLZ3ysomJtr9gMC6Qq4-P9EVyCiv0BP52VPOCw8UIlD9TWG41zE-WxesshsE65WbowTWTvjUEEYnEUQ"; e_proxy="AcLF6E-hDNfS2MNnI5xKTqfd9h43_qCWBjvUcW8TBoZOW36UhMW_EPGVuZAAZniMGa_y523ZtLPsUaQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=117, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"25516212164658788"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/17/2024 09:32:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/17/2024 09:33:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/17/2024 09:36:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/17/2024 09:37:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:112:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:50:9) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/17/2024 13:55:43: Request bot not found: { id: '917983134950234' } 04/17/2024 15:34:40: Request bot not found: { id: '1645747618995613' } 04/17/2024 15:34:50: Request bot not found: { id: '1645747618995613' } 04/17/2024 15:36:28: Request bot not found: { id: '1645747618995613' } 04/17/2024 17:40:23: Request bot not found: { id: '215725838493727' } 04/17/2024 18:42:21: Request bot not found: { id: '215725838493727' } 04/17/2024 20:17:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 20:18:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 21:07:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 21:08:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 21:09:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 21:17:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 21:18:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 22:07:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 22:08:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/17/2024 22:09:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 14:55:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 14:56:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 14:57:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 15:13:58: Request bot not found: { id: '917983134950234' } 04/18/2024 15:55:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 15:56:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 15:57:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 16:29:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 16:30:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/18/2024 16:31:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/19/2024 14:04:59: Request bot not found: { id: '128159377280665' } 04/19/2024 15:00:43: Request bot not found: { id: '1852395741674621' } 04/19/2024 16:53:10: Request bot not found: { id: '917983134950234' } 04/19/2024 17:28:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/19/2024 17:29:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/19/2024 19:33:26: Request bot not found: { id: '133788230054854' } 04/19/2024 22:03:07: Request bot not found: { id: '215725838493727' } 04/19/2024 22:09:33: Request bot not found: { id: '215725838493727' } 04/19/2024 22:10:09: Request bot not found: { id: '215725838493727' } 04/20/2024 14:29:00: Request bot not found: { id: '215725838493727' } 04/20/2024 15:34:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/20/2024 15:35:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/20/2024 15:52:16: Request bot not found: { id: '234064353428134' } 04/20/2024 16:04:04: Request bot not found: { id: '215725838493727' } 04/20/2024 16:34:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/20/2024 16:35:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/21/2024 03:51:40: Request bot not found: { id: '917983134950234' } 04/21/2024 11:29:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 04/21/2024 15:56:33: Request bot not found: { id: '128159377280665' } 04/21/2024 18:24:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/21/2024 18:25:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/21/2024 19:24:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/21/2024 19:25:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/21/2024 19:38:20: Request bot not found: { id: '215725838493727' } 04/22/2024 09:51:24: Request bot not found: { id: '1852395741674621' } 04/22/2024 11:27:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 11:28:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 11:29:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 11:39:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 11:40:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 12:39:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 12:40:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 13:22:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 13:23:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 13:24:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 13:37:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 13:38:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 13:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 13:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 13:57:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 14:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 14:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 14:57:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 16:26:11: Request bot not found: { id: '215725838493727' } 04/22/2024 17:04:06: Request bot not found: { id: '215725838493727' } 04/22/2024 17:11:41: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7435291879852357?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21502271, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7435291879852357?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7435291879852357?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7435291879852357?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7435291879852357?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaqBacgB0mSKOe3OC7tNuzE', 'x-fb-trace-id': 'Gkaorw/B4nr', 'x-fb-rev': '1012947507', 'x-fb-debug': 'r0bQyCbIVHomA9l9IjrZ0MOda0+tTCdWVa4SeVe1289cKYULA6cbjS7PIYxjBb7QLFNbFs8bDbI4vWWG+XlVrw==', date: 'Mon, 22 Apr 2024 17:12:04 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcK82uZdtlDZeJBCUjOqM-smZvhmoDfsQXfAvMG-C9Im-y7Lf5l38c_WONAY4A"; e_clientaddr="AcL5el6WIr6cMkv5cetLAVcGm_besqCIuZl_yBnMGqIToIj9J_8eDXuVD26QPPNVYN82vhUSRx_01aepcRx59rSNcyNXZislGtYVX_bQ77xRak91gw"; e_fb_vipport="AcKCL6Y4mqlO57s3QsgJK822FNVfwcxN203ypzojjVerHIpDPGxpbv_RTLUl"; e_upip="AcKWMo7rgFF1-DlJ84hGPhyIw-j6MOxkCOltk8RN0ppqiENj7czBXpBX1Bgh9ZnDBvx7-g6wLtR3bM7-HezD6Mta_qdRTUbqknc"; e_fb_requestsequencenumber="AcL7igxEDSzOTWEFTzhPOWHI2U5cgD9oSAN_iNLeKGeXHhwIyKdIQybSoqamHQ"; e_fb_hostheader="AcJsR5_Jv8G641b_a2jyGrxorTORSxVsQHUx5jlqnXeQXNegdz1goshFPjaviD5fLy89oK9peXZ2OLcR"; e_fb_vipaddr="AcIqplx6iY9Jm1lqlfFia38hmUwnxDUaYSxeBFfzL0DmpWkueCj5oX_UJTgusotw9Nv94AaJgvgosIAWKP8RHSPe3ELa712tNQ"; e_fb_requesthandler="AcKxhrMbE5J5roptwro6-e9lVklvJ355C62AoNUUIMMLlfooyPDi_guiHYMZIMqXsYsi6CSi-94"; e_fb_requesttime="AcKuKse65pCqToEC1m7SvuLwV808_-gokxkmw6VHPj27f3d8HN8m_bGSznF9ZIejJVs2IZc42g"; e_fb_builduser="AcIYZF0lG4PmhN8XvsJa6iqV7Si6RfOns-tD5MTngbX-fL_PEihiKPYzViWcJe2uMvU"; e_fb_httpversion="AcIjiF6IhitYbpPHwsKRyN9N2HQwnik-JTubq0SsS_OUJazjv7iXHx6Bnb3l"; e_fb_binaryversion="AcJtmTtzU4C3YLsEtipZ-LM8rpE1NWyF_aibO2Yb_ADMbSMiwT6U47Esod5ImlibXucv43dIaBUkRlVhiJ-HV2cgdk2m8zcTSlw"; e_proxy="AcJNIyJ_zoc_5SkDXLe_loxlPqhcC_7B1n6sM9KskOfmknbBwE5Rrm6pbVL_JxgVJgdU-sLU2LHOWSbHEH_g", http_request_error; e_fb_configversion="AcIpNxR1Cmh9RTj2lPOFVPc3Snmc_Ldc2YDkR4qy2BI5GlE7wW48DjDtbGdnuA"; e_clientaddr="AcKpNUgWSXtnckEMDvqUDunIGBPnrp7XDu__mZWRueZvbV1jCXNwNLUHJBIVT2Yzwn0MN2EabhLfJKIFfA"; e_fb_vipport="AcIGqbgGM4MfsRrkTreYqtI_N4lwipib6S2nz6b7y2jR-OW7KPHnjREcul3H"; e_upip="AcIcxrUpBZrgmQ2OqzsyRmNg0anTwZsEaMT7oUOwFFqyyslDg1Itdo6gE04H20f2-hc9M0jelz37-o2I3piuqq_zdSp-cK0eVw"; e_fb_requestsequencenumber="AcJ2R5fvr7HGF999YaVuLDN8-B_uPr8QwVJyBNRvs1y0XuwNSHwAMj2gFQ"; e_fb_hostheader="AcJwzjBNVR0loUovxyDUbhcRUxmbS3cp0G_fL6vhUIMQ8ZGaZ2XS8SWJAWapihws4vaJPjjxWVj2tmcp"; e_fb_vipaddr="AcLdkGmYP1dCjXIoJvHLMsNpZzW5bk2yuZLc4dwyGd-BhooOEV6HrHROjHnSofTrmoWrbkI"; e_fb_requesthandler="AcJbf8JuJq3TIPaKMJ2SfDCNZ1WXJCAJ-z1lPlhw2F5xdXkd_TQK4pBvOOfbODcRSZMqiao4uMg"; e_fb_requesttime="AcIDCWA6OA8ZzdwFQJaX4d0xoonC1nrTz9QJc5OPWk8ilwg5AjAFuYGOrpSGlBVagiCs1O_YHw"; e_fb_builduser="AcIXotUqsv5Uc5mUwqmgdLkBryAb-vPObkN-W-TNUyXv-ENF81RZKzRhsNQZCEXsTfE"; e_fb_httpversion="AcLLWs1yVw2ucHyP0VSNGLim5xXDhjd0g-VnfORqjp7xvgA_wtu0Jajfukb_"; e_fb_binaryversion="AcJpQpOmv8XHPcFG00z0MzSHVa77fh46kVnLyZRuW66lDJutsNzN-Vl5rX_1K0KFFAJ4tEPI3O_EMg6fUc9eITqfCqRCysSnD0w"; e_proxy="AcLPuG1FgMhJgQsV-lBoBECat6y3n4xvj7pO8clV3p3ouYKYY_gFgD9pDhHFA-kKo1p7HvWvu2s3mMyN"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=233, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7435291879852357?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7435291879852357?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7435291879852357?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/22/2024 17:11:41: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/22/2024 17:11:41: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 04/22/2024 17:11:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"7435291879852357"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21502389, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmUjFeIiQgGztnCl2wq1aZG', 'x-fb-trace-id': 'EGSF3jXX4Is', 'x-fb-rev': '1012947507', 'x-fb-debug': 'Zikou/ptAatMvn3zpoDkLW9Q3+kLx62Vzu7Dy6Y10tXOwSZHDEMvz+aeoLDTET3/6vmjfvnLMCyd7tSytZfftg==', date: 'Mon, 22 Apr 2024 17:12:04 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKyzmqXhYQGnFvcxzlCt0LQyVRs5wbO7sgw-LpUCwpBmGjW6kRkgbnOs1V_3Q"; e_clientaddr="AcJPa3NKJSEKPN7sb7Rbc1KNB7pHTxgGCMky-CLfYxEFw6jZwKIrfEhiW0KZMY56SXbyIyIvODA-hSyORVFJLn3rFvdVmIDjMdnBtrN5ZynLilgKkQ"; e_fb_vipport="AcIWhd7ErfNhyC8uLlvsQG-QlyXbWeRy4PVt3tvIxw6BUtPup1K9nJcbAMXQ"; e_upip="AcLTVkpJK4bViRyhhggDoNGrAEfNlhnDfYS9ve-yWEgF9faR0Rm6kfc9ImiOFaMuV1G5PGQGKTarfu2iko0_9VUzlNgPU1yq1hI"; e_fb_requestsequencenumber="AcKBfDZazbPAtEjdIroLq2dr3yUUWC0_K7y0w8BRdYw78F_JZELoY29v7aCH"; e_fb_hostheader="AcKGL0CxseVI7xfsyPvWgug9-MaOoN5nT_eleLZ58_EMxvM8XOXwSF2Xd8cJmySmiQT3a1EO1bE2GfvQ"; e_fb_vipaddr="AcLzqml4pAT4MSozF139uv5Zru6mG9zyTv2kPy4YdgzBTRAE9f0Dsuf4zg9VGBk3YdrhHlpNWsWOY2DUZHJWnIhJoa_vHUNMJg"; e_fb_requesthandler="AcK2G8yNgPOI-mHRIuhKxnf2LjaEK1bvwtTLtohK6qeDAht4cvTiM-OkvYJ2nQcdDLTOfdzIsog"; e_fb_requesttime="AcLg3ZsgN6g_oM8FUxc8-f9A0Bl2uQOu-WJ-KvmSVzFE6Ljr4Zi8BVRYJ1CKi5mSuaEgnEkZXA"; e_fb_builduser="AcJYibliuu0qDnqsS52VkbLkddEGiRJwAmhqGKSq2Q0ZRVqubKjsHOdWCQi-CMBHiQ0"; e_fb_httpversion="AcImVgPwPvwvsFpXCXrZPxAe6LV6iy6oMIqb0Gyl4TAm8XRC9WBNlWkcO12S"; e_fb_binaryversion="AcKIpM-z_vSfzpZNxBCQMAD8WJWpb4_gwUVkUkpRWL6TicnfPrIa8pYU9VNSEvZqyd-CxMC2zh1AoUOFcoKWhRq0POKTnq0SFsE"; e_proxy="AcLy7O7gZD3qHZEIQQJNcHCraCYj2KzVOllFzVRjvToIvnbxEo7ACat6ZL9N_zfeeY56Xdsax7ZoJczk5AjS", http_request_error; e_fb_configversion="AcKce9aruAPV1RrinsBY-JasBTLdQkPFWE3hqJWOjzvxIO8Gkuu8dwFhZDqBdA"; e_clientaddr="AcJMB-pp__XYCxDXr9fAu6xAsmpeqG3FBkyzAuOkYSS5uZ_AtvLcjrluAHTHNgEkXzGoBUab0Yw3F_hSYQ"; e_fb_vipport="AcKGfc9yjJ8EADXYwa7hFsHQeg2rZRpgfo_A5i4OlqxgAaslC8hGxQIiRfH3"; e_upip="AcLtm0yagydG2f-biAIk5Ac1DqTxe-H4ldx7ccFa7AH2ZLgcUc4oU8lFIKqVGfoKx8m3AXUv4bF89eXUX4lJq6UAvLkhctNikQ"; e_fb_requestsequencenumber="AcIatX7GHVe3XIdkXmHdYAXNbFdYwidpxRPBU26hNihAOlk9kfHZyOTHVQ"; e_fb_hostheader="AcJ9Ly2VvltEoKj0aZFC_lx4e-4UXD63kkCnrVF5dP5TLs2GEaGo8ZTQYGNxUkA3_u10U8rIb9ZmayuA"; e_fb_vipaddr="AcJx8q4GTn3kmPwndharoXVOJGEWSy7y4fXj5RBYnbl8IgZ-ukssCto6oCnF35-NWDtbDp0"; e_fb_requesthandler="AcKreCvcJX3Y2yDu31IBDRfD0GTMPOCoZxhkDTB4HuTPxNP0c1WmPbQJJL0-BYsSQ7_CTgUp5MM"; e_fb_requesttime="AcKqu_YWeRls500TN1EAhNbw-dhVhabgi2mbZWs8ApFzZldKhxTokO3ipFgWsn3itGS9NysVbg"; e_fb_builduser="AcIq85xUZdt_Eso-tCcW6xbnjY7F03sGrVJ-bgQ2PG7ZFzYj6_Nmm2b1sLWuXgDsCa0"; e_fb_httpversion="AcLvnxYJ-4sIfquU2Yp1sJ-Qo8u_L5kRiBQHib9-oREW80j6SV2Xxzmnpmor"; e_fb_binaryversion="AcLA-4zjb4WJRwwzBc0U6fsq3eJnYSr_GkDdDKu0Rs9kAQbigFM1GRdeQgH86oZvB7PJn93NdjFjbVd_qynQRTA6nXVlpAkcyco"; e_proxy="AcLzfQQnMasa0l_1REdA3rC6MMUFefX-JRoKjterl8fub9QNMT1omQzIW1jCxRMakmhF3Dsp6cPysHQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=179, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"7435291879852357"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/22/2024 17:11:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:54:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/22/2024 17:11:43: Error on send one message facebookId => 7435291879852357 04/22/2024 17:11:43: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AKv_OfT8yetXghqh3Cy962V" } } 04/22/2024 17:11:45: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/22/2024 17:11:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"7435291879852357"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21502469, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Alefk763dmp-8W-cpjKL0pd', 'x-fb-trace-id': 'EzENZfqBfhY', 'x-fb-rev': '1012947507', 'x-fb-debug': 'gHlAnKv7iNbdFj0P13LMSiVlmK0n2kPud4PRFjmFFWV8zl60Q1UT/wO2eFEUyEcCOi216jn+wHMnGshf4AiVfg==', date: 'Mon, 22 Apr 2024 17:12:08 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcICZExiCJTeM23smv9qaIocF29beGMvOTBSxaBv33615gGMUeRaVvAlOQgTdg"; e_clientaddr="AcJq3ntTWFdhQjA-3PjsaKms1V7kv2OGyNoS_1-69u6YETXfEgEeNSyc5QSzhTwQW8BTE4WJyI_bVzV8mFSXn24EzJSaclZ-LWxU4tcLXTZ2snFQ2g"; e_fb_vipport="AcIuCk0FmG8oYYrVOHN8x54TB7hc1cAGCj2M1R0TPYUrDRv-6gFwD9bRhRZs"; e_upip="AcJK0TREWcxzSsm_McoAwsZ-xHduXI89JsFZj8uMkjQeqep4T1Z79azKHphOVMwEqVdtvSjPN8NUyB5WV6JqxpevYw1q32oLKw"; e_fb_requestsequencenumber="AcJUra7T4x_pjOw6dEKVDpjbuo0jc1nYjv34giMWRjB6KYKIt9eaiF5uMv1e"; e_fb_hostheader="AcLY0gtPBP_ZejQFRct2o4xRAqu2FauWAwAgz-co9ZciichSrH1LxeGuH2sSKJ-MMPb3r7LvCCD0rz0P"; e_fb_vipaddr="AcIMjj_d00lLXK640WmKUjiQoeGIipuU1jxDfc2DGGSA0AGH-CGZqypculU8q6U29m-AKi9DsJntX0_c7gI4tUQ3He3wPjpaRA"; e_fb_requesthandler="AcKvC0Uq5-hPvcUgHNSpc06yhNcDYuE1Lbifia7YJZGWa5k3SqqHSnCrSAa9sS1SB7DriqYDLkI"; e_fb_requesttime="AcKPLGGb_2dRRma3v8RvNBzqASsaUVwlfa2nsw6salZYM12s-YoXcHBZZi9Q7UVDzyWEFy-r7w"; e_fb_builduser="AcKEoi3DPrPnUyJ4h_KH-XG4XQowK3-8QrDHIJ6Oypr_psx4L58dgC1ForoOgDSWbVU"; e_fb_httpversion="AcKNB3090fYI9k4zKgGWThJamx3BxRhRsc5Kk8z26Z96bg-3hN5eSxF56wEh"; e_fb_binaryversion="AcIQ2WdkCGKxpu6NPe-ZUIqKXH8PBzHadQa8AVMkPk8li9G9bg8_xnbiwtwfs2tsKl2eNiK9BBLdemLh4RcBXqBgFrtLia4ry5E"; e_proxy="AcKL0ShzdlPlgWamRi_bXN1-ACsw_wNxV9FleKjc-YFiofRMeISSwcnLdExGkNSouyiWeNRTmJ_SfdIMRiM", http_request_error; e_fb_configversion="AcIDdMPhMLzhHVyAbYklgFNLUfbeC8y9qNXJFugt-kq6Dz7HA74Nv1fe4_T7jA"; e_clientaddr="AcKHKD2h3YHoZyLRHJNRkv3AQ2MUEXIkMozGiAAzlVOE_TZRjril_kNuLcgx3SvQVTGT-jXS6UBl_8jn2Q"; e_fb_vipport="AcIiJpoQr2NBDN4YVD_yHJWtjXyUa-c0gTIFqwMWNsnlTh4iZXXkrqqdJL_9"; e_upip="AcIC7Q5bKPQTgH8B593EuZopaIm48JMbuJgiKKVO28KMpY4-pXGlI4HrNdi3Bcr2-KWwr1R_G0IB2SB4kLeStCREBky8t_uYVQ"; e_fb_requestsequencenumber="AcIeZiZ1LHrKxoNZUQ-GrUWC-qCTLborgt783b8SRiXD2mpv3AS9j_P28w"; e_fb_hostheader="AcJ3vOdlRAS1dhBv2ko8onQ90C1Pmn9KtkU3AB4RvUV2-GocnfgFMBWAQX77HQzhPPUW0r6Pc0FJeewY"; e_fb_vipaddr="AcIFr2In_6dch_SIL9RTHQEK9L9ukvYb-cUKZZtORDrBXZ2UvK_sBV_yKxIbmVoA-D4jOuE"; e_fb_requesthandler="AcI9hNMc0mnfaHL5syCpoStajdeo18XgHXIwmXv8z5qT_dvpEGIIsX0ygsG4fji0YtcYM-4kcgg"; e_fb_requesttime="AcJkP84qnmQ8aFLhnBmggptW-Plc_F0wKatWMLuLe8Dm-hQGmrg9QDvALjCjzrJ7csyv2916jw"; e_fb_builduser="AcIP4YH30VUjryQwa0QRh53wJ1BnZW-anrMIvU0P8jOfp7IqjJR9OqBKckpKbR87IjY"; e_fb_httpversion="AcLajca9XgSGTHjZauQ6egtpwj5pUNnbr2o3P19ZyrtMP8LqNrZzvRzaZt4F"; e_fb_binaryversion="AcJfQGS9GPRTW0IAp4HWOvuvbtgI_KgABfFwyh55IeyndzylO1Ca1BCAN0lJI1Jn7ASTKBl0weqTBbJkMiy7C_rYTf8Lg5aG1GE"; e_proxy="AcJDaWKVM9NOlQ-MF0eDYoB0L1JurtlrVoOedyV5WPPRYLy6XOJRCfLq2krfhNneWOw2QXs9KB3Laxw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=151, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"7435291879852357"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/22/2024 17:11:45: Error on send one message facebookId => 7435291879852357 04/22/2024 17:11:45: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AYqSpWMLVqfDvDdkP8Y0Tau" } } 04/22/2024 17:11:47: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:72:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/22/2024 17:11:47: Error on send one message facebookId => 7435291879852357 04/22/2024 17:11:47: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "A07cV2Ef7NvCxCZ5Xxb1A60" } } 04/22/2024 17:11:47: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:89:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:48:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:108:9) 04/22/2024 17:11:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"7435291879852357"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21502601, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnhaVp74hJ0GJjxgOzRf34D', 'x-fb-trace-id': 'E6JJsup6tGC', 'x-fb-rev': '1012947507', 'x-fb-debug': 'NOtelGZEsRv+N/FtifJRoU07l4uuERt9Ujgl5vFHdW1y5Vq2Ck2E0y89yJqAk+dvEOxQrfw2dGNpZuKfhtG0vg==', date: 'Mon, 22 Apr 2024 17:12:11 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKq5sCqjoCTtqI2OIUdnbn_y5hei7vOA4I2XVtxUw-42fGoso0uMedceoVuwg"; e_clientaddr="AcISi8V2XhCGqDZZCIIA2e629IlK_4rv8F7VWx5QjXm-E11qiV-ySN8UXUMY9QFnwJX595eKjn3j8aaNrgdyZZpocIu1oSYH0p8X3LjMFEdJPY59-w"; e_fb_vipport="AcLlpQhacW32MQzIESIPkyHPYeukTpiz0xFZbO9AS0olDK7guUmTgn5ZEqoj"; e_upip="AcIPt5MZWbr8yXSQPiw_avVuVMtSwaG3Oisj88gZcB49RlJ8-slSY2LN3msQjDYHYOV0zKvS-FOMBSwdKgH3pfhHJdYiCKPcRNw"; e_fb_requestsequencenumber="AcLJfRvQbVSLkpD935UuZqh1vTpDJwkB04PQ0zUX3Dris3tGqtYPUmpd7kev"; e_fb_hostheader="AcIMjRGi4irLFId-WlXGWHlAqpe-xcGSi8Q7WVkyeWacsWSMj87xpG2TvjTULXNKONjDBPbnmVaYoPxW"; e_fb_vipaddr="AcK1ObQog2CyYQKE6nTalQlvdOJdJ44BlNpd-YU4YCs4ngYLcBXPMfBj_GPe1XJPl9HzCdmCRHNoUOZtDQYDqmEIQPCPqdIFwA"; e_fb_requesthandler="AcIH-7kqizTGPZEouvgg_EoPzO6s1ck8D7vrD54nH18lmdkqREpFsljC8QNEZqY4l5_AnIJC1bQ"; e_fb_requesttime="AcLiCqKBN108phhJDz7U0jnEc6xvy489YwwuB2rglM3IqDQ7eRHUswpGV1r01HcK1p8E91-JoQ"; e_fb_builduser="AcISfTe6BYLJReV4tZo7msZgBKOfSlovMrl9PfIB_cy9ibbJETnJTX8UP0GXdHrErWo"; e_fb_httpversion="AcJvS_PV6fDm8zVfWvkiUQIr5OOB6oQg38qvEGyEwbsw9hgg4Qdrd0pqb0W5"; e_fb_binaryversion="AcIE2byEQKbE4OO3IY0ec2Se1B3-uM41UEu8q9DlUKwdetUkwF1TatCeIPc2aM1SrOmYrIuiGdVrfuuVoTJ1PSX06w47gvKUTF8"; e_proxy="AcKdgYmX99GjGiFUM-Xd-eptqwpaiHLZPrT1BRwyn2VohhOGg2nNHOZSVU812CFaVmAH5Kyb3pn1ZIgL4427", http_request_error; e_fb_configversion="AcLbVS6chqYTAbyRdPoc_0JxvB8_hzzdihNkdgX2k3Lfpp269_LAhqDTa4_ZAQ"; e_clientaddr="AcKwXgEd2VmIPRq8xksSQEesez2kWMgiiRWBR3EmkRV3qQj-7rofl4IWkljgvkgkPqsZnxJQ68MWJ9tu5A"; e_fb_vipport="AcKLd6RCH0O5GdNWp59X1JuhdKhz5n77rGlzkXtAsyDGbSdSVp96wEhGP-6h"; e_upip="AcKL6UGTgqT23IHxuNYf5n7-QOaRjsIDNYd6ZnL1Ra2z66D31cEoj-F0q2KGRZNx41BXeb7Ady3-c8TEypHpSxwSfEQgvEK_FA"; e_fb_requestsequencenumber="AcL0NsiYyaYVE8RZghZ66oyYoXOxTE4gUn4XYcRpTyvkobPOUI9FEESgMA"; e_fb_hostheader="AcIFweZ4zfPRfsbut_N6mC-D6mun7jtJSYWDHN5A2qS6YpSW1ua2Yj1AU01nTpKOWxXukL758v88j_x4"; e_fb_vipaddr="AcJwfW1bAq7Q-eHqjwnCPKG2g-ytQqe6n_2ZBbtEobhPeQIR7VtV8Yj5WiMoWOB-sWqQdww"; e_fb_requesthandler="AcJltIC2K20bCJnez5V9YpS0q4D1_8fHQXDzhKqpEXU3DhLZIvppnP_o756qEOracJNRyR6KA2A"; e_fb_requesttime="AcLpzHocDrbw8IrOU8jU-OhRAfoyfyGaLAhqBR9adgw030h3aEfNtUd-rgYR5sSlfPe-WAtQcg"; e_fb_builduser="AcKIXIq39BGgvkw1mKfykiJ4FKvBTFXSFn-0N4q2-Uni5JDARruCLMqsNRGtxUuTXqk"; e_fb_httpversion="AcI58gy3SiukLPB291YHzaydEtd0-9_JmeLpPlqrMN81vaA9kxD9wmA5YuAr"; e_fb_binaryversion="AcK6AcxxtEtCvGscIbC84hsMXRYiAZgR8n5p2Nw5UqQFUSmK2xxt1ZTX_Hq8V6CJA8oagZSrupmn29lcTEXplhFdPq4-_1dseIs"; e_proxy="AcI7F80O-H3dcObIm9qXzcVO9fi2efnAnTvidYhH6okFdczWy94WcPYFokyp9WhUWfOlsMvUf38u7so"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=149, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"7435291879852357"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/22/2024 18:47:00: Error on controller payload Input Treatment=> type not found 04/22/2024 18:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 18:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 19:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 19:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 22:33:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 22:34:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 22:45:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 22:46:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 23:45:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/22/2024 23:46:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/23/2024 00:26:24: Request bot not found: { id: '133788230054854' } 04/23/2024 00:26:30: Request bot not found: { id: '133788230054854' } 04/23/2024 00:26:37: Request bot not found: { id: '133788230054854' } 04/23/2024 00:26:43: Request bot not found: { id: '133788230054854' } 04/23/2024 00:26:59: Request bot not found: { id: '133788230054854' } 04/23/2024 00:27:06: Request bot not found: { id: '133788230054854' } 04/23/2024 00:27:32: Request bot not found: { id: '133788230054854' } 04/23/2024 00:27:38: Request bot not found: { id: '133788230054854' } 04/23/2024 00:27:49: Request bot not found: { id: '133788230054854' } 04/23/2024 00:28:14: Request bot not found: { id: '133788230054854' } 04/23/2024 00:28:28: Request bot not found: { id: '133788230054854' } 04/23/2024 00:28:56: Request bot not found: { id: '133788230054854' } 04/23/2024 00:29:09: Request bot not found: { id: '133788230054854' } 04/23/2024 11:28:46: Request bot not found: { id: '133788230054854' } 04/23/2024 11:28:51: Request bot not found: { id: '133788230054854' } 04/23/2024 11:28:58: Request bot not found: { id: '133788230054854' } 04/23/2024 11:29:11: Request bot not found: { id: '133788230054854' } 04/23/2024 11:29:21: Request bot not found: { id: '133788230054854' } 04/23/2024 11:29:54: Request bot not found: { id: '133788230054854' } 04/23/2024 11:30:09: Request bot not found: { id: '133788230054854' } 04/23/2024 11:30:19: Request bot not found: { id: '133788230054854' } 04/23/2024 18:01:36: Request bot not found: { id: '215725838493727' } 04/23/2024 21:28:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/23/2024 21:29:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/23/2024 21:42:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/23/2024 21:43:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/23/2024 22:42:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/23/2024 22:43:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:04:20: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21836837, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 24 Apr 2024 00:04:44 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/24/2024 00:04:22: Error on send one message facebookId => 7244056712359666 04/24/2024 00:04:22: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/419d3fd0-01ce-11ef-85d0-5986acd88eca__1713917084749.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AXl5iEnFZPT6EZlrziz53jp" } } 04/24/2024 00:07:14: Request bot not found: { id: '917983134950234' } 04/24/2024 00:07:47: Request bot not found: { id: '917983134950234' } 04/24/2024 00:07:50: Request bot not found: { id: '917983134950234' } 04/24/2024 00:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:14:38: Error on send one message facebookId => 7244056712359666 04/24/2024 00:14:38: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/419d3fd0-01ce-11ef-85d0-5986acd88eca__1713917084749.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AxMb-QSMziTp89x_Y7EAtqz" } } 04/24/2024 00:18:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:19:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:26:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:27:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:28:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:35:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:36:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:38:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:39:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:40:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:52:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:53:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 00:54:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:18:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:19:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:35:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:36:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:52:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:53:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 01:54:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 02:03:55: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21866552, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 24 Apr 2024 02:04:19 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/24/2024 02:03:56: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21866875, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 24 Apr 2024 02:04:21 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/24/2024 02:03:57: Error on send one message facebookId => 7824189370954248 04/24/2024 02:03:57: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f61714d0-01de-11ef-85d0-5986acd88eca__1713924259485.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AfiEoIZZkG3qFVx9BUYTcQd" } } 04/24/2024 02:03:58: Error on send one message facebookId => 7824189370954248 04/24/2024 02:03:58: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f6f3b930-01de-11ef-85e8-9b7205567cae__1713924260931.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ADZd2w8Zv0OUmRtue4VO_PB" } } 04/24/2024 02:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 02:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 02:14:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 02:15:38: Error on send one message facebookId => 7824189370954248 04/24/2024 02:15:38: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f6f3b930-01de-11ef-85e8-9b7205567cae__1713924260931.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Aw5RK--Kq4Glw_gJzTu_QTD" } } 04/24/2024 02:15:44: (node:5970) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 04/24/2024 03:06:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 03:07:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 03:08:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 03:08:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 03:09:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 03:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 03:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 03:14:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 04:06:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 04:07:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 04:08:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 04:08:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 04:09:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 07:00:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 07:01:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 07:02:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 08:00:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 08:01:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 08:02:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 08:57:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 08:58:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 08:59:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 09:57:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 09:58:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 09:59:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 12:17:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 12:18:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 13:04:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 13:05:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 13:17:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 13:18:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 14:04:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 14:05:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 17:42:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 17:43:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 18:38:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 18:39:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 18:40:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 18:41:35: Error on send one message facebookId => 7400025933384352 04/24/2024 18:41:35: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A7R0B-XC_6ycJPOqA948yy5" } } 04/24/2024 18:41:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7400025933384352"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 188955, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0zHbs2lkQLJqb1iVGgW7cO', 'x-fb-trace-id': 'GBo06f5MNZT', 'x-fb-rev': '1013010908', 'x-fb-debug': 'I6iTqseO3mznrQkIZneMa/yZhgF1nef/g1h/r+qKoJ8w4LvSmIRfNihESuOCUZ8O7Vv1J5HCnEnDKLQL8PHsgQ==', date: 'Wed, 24 Apr 2024 18:42:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKhwRjENBBZT9lttToqWzmz5jgebJ1Jem98ZHWFG-jpzVMDvR4VMJrqud6L6w"; e_clientaddr="AcI2qscV6I0OixETxBUMniECcWmuIWZAxHA81f0EdXV_6Q4pvc0lwlbmoixDTDlPyn-hdGmaFEQF0-2eH1hTEkI7lSqkeqZ94G4r3ZlcC3PAM426"; e_fb_vipport="AcJpj09kWOnQJlDcZGviN4c_fkolWWIyMlfnN22JR3UmQTVegFGK4IUcwGjq"; e_upip="AcJE1LNDeGcnnsnvrKGwLIb7qnHVUfS3xW_6nypTalFE-W__ZaP7ooM8HEiHg6vlXJYnt-c0TREfoq_sJiam8u4mgFqFUtiDfkg"; e_fb_requestsequencenumber="AcLb6fE6zGr9EaTmloEIQEm6kck4UQWAqVyJlfAFk7L4WYo4cZH4Wv-5_5qA"; e_fb_hostheader="AcKWRBxPX92AxGk0V3EF2N24uxUniDLQXZ26CzytaKbUJuafJAdqCxVqpI7CkeRu4LZpMS666YDHIfbl"; e_fb_vipaddr="AcJMComj70LZSqqTYrWhcEe0l7GYaZISFUAyJdfiki-Al1-JQkAjyMkNwjslEvGmdqffSRixvAmjx9kJ4DqDj3sxe1UgO6_4Nw"; e_fb_requesthandler="AcJP3e1V_1vGYbWK792EKZp13JhHQsdOQ3SBdY4VqYf2yhZnSx6EAavoKYWSg2f6whD5gb5jC5k"; e_fb_requesttime="AcITMZmK3wpvaKv1cPLDctj4GXrQKXpk6RQL2WqgCSIdmDqRSihrjUmATNf5hrIJOEN7v65Z7A"; e_fb_builduser="AcK6Iizcy3pQ_i4P8P9hp5YBtjUrkGZ5TC7FZY7pkcV2W1PevRzYej4wK-9MqsoCR2Y"; e_fb_httpversion="AcINA6gypxiSDm-hv-fYh035cIGFjF3BV5_Nze6QyInkIWBZNfxjcCrOEOZG"; e_fb_binaryversion="AcLbErOlRE9xOxYMaWC5Xl-nHlbZxl9ypgGmVUXTjk0FQnl-S9fPLzqPN_ewJ0Z11eB8dhaFSghQSE9Lf96AsipXW_90mm-JaCQ"; e_proxy="AcKxatlosCqC7kZWeGruv-nInyIY04kDdc99VQrq0tam-_ev6Vkp98x0wfYNIGJtMTElsObLedwfHAPtFzss", http_request_error; e_fb_configversion="AcL1zF29wcKCaQOhwClpe1zC_5EGd2xzu0oXq9hS_3uFWEeLpNBbLRyrFcAh3A"; e_clientaddr="AcLkHevPCS6xHwPh02qnGUFHbXPcKw_9Ad6DyliGlIUY7qq3EFDZ0gmZTnBZe9J4I8w-gXzyi8N4Mvt5rg"; e_fb_vipport="AcIRT9OrG1t3N67_n_h10JXpzb0sDWzzGpQyGKuSDJ3Fsaez4D9ZUn5jeKG3"; e_upip="AcJst6IYhbV6ouupF6lGW9o-cboNxuj9j7kE-ttBN9Mpf1ZLHxyuFLssfFb4PBU9vkjaOeXsRNthjJAYxeLRVvyWrtMKcwFszA"; e_fb_requestsequencenumber="AcIKUGyszQ_ZKt_ebWP0v_KlMTdkXniAhswZO-wiaL-8aCpKHJSwtgzq2Q"; e_fb_hostheader="AcJ1VDzbWSaSG1vsL_iA6_Qr2e6A1Fi9JeZB9UXR5EPz68OQR9Ldu5SSFSv-YKAjB9V5qNDxWU-21CxC"; e_fb_vipaddr="AcL2wkPQ6wGqUCeG9N7XhwpYVNtV9UJ-mTSD5-mygZRDjR9FSoRa4qb7TL7KKLg1pI8szIQr0w"; e_fb_requesthandler="AcIRuaxJ4JBXWyMTWMIwMSq5LB1iM4jBe_KYlHLjFQLPM79oMKGve1_rr0iuiFQo5CLi64Jz1ZE"; e_fb_requesttime="AcKtwdMupOwwY_KGIv2y1wceGGFNL8rAXxM1YNNRYecwrhy8cJv1pPx8MRpBZeIYlPTLxE-Vow"; e_fb_builduser="AcIu2YnYHH6aotLMkj1bSPljn9jd1-iGq2BPrcGveJ2bCJF_mfPhIypK4fxAtGphcd4"; e_fb_httpversion="AcIzyIFfnW6ynGUZo0g56Y6kTFEdRi0uNAV2RwEZkWbY_9KUei246BFujCoS"; e_fb_binaryversion="AcKyXgjNwy7XaIEtFnqLjWYULPJqjTTzJRfn_v5ZQo2OwwJYoXxRcnZRUL2_1mcQWeV6jRB5hNFKeCo9YWlGcMu5grR9J33dofI"; e_proxy="AcLtl8S6tIeLZ6KVw8hxgphKCpfTSk17224GLjqkl4RCeA48zdSo0I3H85MHQYIe9nQzRs_c8SrVmCg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7400025933384352"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/24/2024 18:41:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7400025933384352"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 189180, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEkqksj6jRUQGSbUd0CaqER', 'x-fb-trace-id': 'Gzvi+uV95sU', 'x-fb-rev': '1013010908', 'x-fb-debug': '4KGZLTvmGQfvKGXXeSGjt8QJp3CwmU4arhZ5M4JluRy+5K5ODiFp1Ir7zrlnm7pogyymyuFytcZvvb52P3NiCg==', date: 'Wed, 24 Apr 2024 18:42:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKo4EMEe6vJS-qyeLu6gAVb2-zbKPOZaXCV5AWM7D6Px6eC7BpntFvwLux16Q"; e_clientaddr="AcLSpU5eTXmqfhwAmF_qkaUF5oVRF8ZtDNDhBU6lFqvoH8WzM3X735Lg6hAIIi4VYnD8xg8SZMyGXupg3w98UHPH3bVdqCL0HAj9EfMWrAiKmogyFQ"; e_fb_vipport="AcJHbffUfdyxzLMgziGI1Wz1AjT-jjim2GYnD0G8oDcIVSVQ9vUDVlRMlu-d"; e_upip="AcJOx0sPr13g9-qwdp251LK9CezPbsD82_E4_wvlwXP365LzybSWqjdvwbPSSgzq65-QCazk88kIaJPjg10PKU-73zPp5u4mmw"; e_fb_requestsequencenumber="AcJnzMamjEmPc8bAKUv8om0Kdfh7uFWXkBYHfxXJoqVStnohnQdUZ5-NUJy9"; e_fb_hostheader="AcJaqCy0GQJ_1zQ28H56DqKbmOwpnb29RfU-Cb3LpRb6_smwYfyc1OVeCkpp6MdfCSflfzxMh7z41pta"; e_fb_vipaddr="AcLJHU-0M1K5jtsoiqPmdGnifxeWJNfHF9Qm9a5PfdUHGN-1xGR0V2A2bSUylVwe80lensQyxE8BuXTjMe9ZuhbM0utVjXqjDQ"; e_fb_requesthandler="AcLW3sbWQCWHbx47asj85AH1tiOpVDehcPRepSwryhNoIU7nC6ZzzYKEZjr2azAUtXSYc3_F3H0"; e_fb_requesttime="AcLToziu3hp4ju3kxvszGX7kd7Hx5tZ66Y5g2QZ0DBGthboyo5hEA8QB8J0jbWotT-GpN3Ae2A"; e_fb_builduser="AcL6-lyF1dOq9mwkpjCWKPSm1EWsQNYbE-NWnnilCYwoARoISsyVpSu7o505-UO-Rbg"; e_fb_httpversion="AcJYf-q1Y6EDRwWRoMRsUvnD45L6_DySrPe2b3f3gHGLyR55OMu3tsl8pgXi"; e_fb_binaryversion="AcK_0XOHVbcjmwkUAcIIzlM8HwU9dkR_aQchbfuVmyQeP95c5KvyYsS0-hCpaUbcuDhNMA3DJErvGTrW0N9I1q6_v7gBdIYduek"; e_proxy="AcKIwUSV4Twt1FRwjlVZhVLhZ_sFQv0bCKjCsCuKY7q53CH3bXG9EfyaFceA1PZlqBVRP4yX3EKUFt_LzpAY", http_request_error; e_fb_configversion="AcKUMZ0_2p-9d80ACuqi4iEOFeigMgrxK4nVJMyslU8TKA4Svsx4aX3sKgRhBQ"; e_clientaddr="AcJGb71hBLaynGNoRkIghAdePefP7TZ6LSM3anL9XtCtRMxZh0AYouih6jpDbhzz0y-PirCrksv0X__Dcg"; e_fb_vipport="AcKvij7oX96YmYYXN_BtQlwUtMlyuoZSqUGGCXNr2dqdP4PVBbBiT0rnixRy"; e_upip="AcLABJHHVS1EfOvQVWi3vzo8Idk5q-GvftoZmedeWS1CNJJhJRzC_3NNTeFzUsUzlBLdax9tVCF4fs9N0M4oAlsZRCoCokF3Gw"; e_fb_requestsequencenumber="AcKBq1qysNE8EBbLxPS1GBJqCl0-SLmtLMOM24I0mzn02yAFKIKsI44fZQ"; e_fb_hostheader="AcIxVmUggTsm7sOwQH5DiTs-M9WI58I8KJINkVAZMH7sTyUXqP4om2janxC1AcLXie6SFFyZ3vzPKfJN"; e_fb_vipaddr="AcInIGWLa70ATMDA2FPLAqNnRLjuTmTRQpm6FLj_3dbye03QAM41-7iaoqV7pTTl-ix6gDmPZw"; e_fb_requesthandler="AcITHaT6sOjDQFeMXPjsnArGPR76B2Auw-AOtmbh3sPbK_wriO7MEAorCdV4dVRIkAgcVQgKND8"; e_fb_requesttime="AcIODG5HdMODFByo9VS5q50TaP_CEGyX2OAKcpnOysnt0UCoggjQux_DiYyO6BGGl2xpEtk6DA"; e_fb_builduser="AcKxk8yClZ9Pv6nGaWqhovbxenGRnfiZWmr9T6LRbqi3ZYi3U_BUSKvuBMmpIyQZl34"; e_fb_httpversion="AcJ9swDMtjtI6SBky9cYFuzeHjGX1UAOcQWhc7Z2Tft_h0-o-KsC5vcaJfH4"; e_fb_binaryversion="AcK9GlU8ds6G7daJA50SSRkZiWf2z1niYlRbDf3bjCl309YCDmHoAtaGPi8FVK9BtgNTNJ8QtmEU1ntVbit2Ec24KKL4Zt0yb3M"; e_proxy="AcJVs7FkmipyZonQC_CJYB_5SkGmooiUlPtFfarQsF5NTiKXD8QSJg_GvivKgFV6sQxbbRyd6INauAw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=161, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7400025933384352"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/24/2024 18:42:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 18:43:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 19:38:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 19:39:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 19:40:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 19:41:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7400025933384352"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 199889, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A040O5SbwABhlmIUM7A1uNa', 'x-fb-trace-id': 'BtFlKfjgM4O', 'x-fb-rev': '1013016180', 'x-fb-debug': 'RjdW8iK+wg1qnch/O9CV8tnRaudCNSz+m0uLUPT3vCjEG14poblZbwJ2OHeL1luw0F+Li5/OAr+yinxM4JH+2Q==', date: 'Wed, 24 Apr 2024 19:42:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcIVpkrV-WBpJRhOLZPTTvbX1_1DL8vplB7jO-6AH36FxS-KPYfKB4DYeP3QcQ"; e_clientaddr="AcJv4rLtYv__UAOsrzgQSYAYYP3Cnn2EjqWVgq-kV5Y5g15upsPWvQuQQcTPmNz37AhbjgBjOYT9kk8SJDczD-_44KDMjDFASHZoc3eJWEYHT-8ruQ"; e_fb_vipport="AcKfWxOOzBzAzGXjMD9UGhWI5x-eLhDhPULDOK2DUkjhze6A04azt4mRBFUP"; e_upip="AcIJ_Sd_ujarUZX3-8LdLWrtcAKaJrSNBxTT801O14lrVLEvulNeLYUprjBgPMdDrv669uPArh2DU6CaV-3iNufAwQkXbfIcaPI"; e_fb_requestsequencenumber="AcK7UqFMHNBi0RQg4sjkaIAmy64CQzStSJ2XJZj7piMquBP_cO1QbTlOeEy1_A"; e_fb_hostheader="AcLY2EeceIXfkVb3ZMGRF5mQzFDNovrCLYwDHm-t_n_L_hQOvBicvvXX3K9aGBObOvTv4VKLrTL4wdK1"; e_fb_vipaddr="AcJdC3jb8zsIRIR6n5_ivss6JOTyvEbfLPaQrp2weW59-u8VLjYYWydc4Jy-PJv1Hu0ZOXL8iHq29snILy3Hdx6QzSDI6r1CDA"; e_fb_requesthandler="AcKC18oVHZhWRHatTZhj229wE1VtzeNIUxfKtGObA1PuPNyN2XvlPWKhPplo2q6Bp6Fg8QtOUTU"; e_fb_requesttime="AcK2_nAOFtOSJfFajfAOGpLuQ1qRDwQO_6zh1QnbpC8uC5X63cPOhx54dUaexXxwG7Op-gKLLQ"; e_fb_builduser="AcK1MOY76xGXXfqiSeNcc9WmdenR5JYSXiNzbYJuxLWcR_rEPEG91Lq-OP1GwMjIVFw"; e_fb_httpversion="AcKVTTd9a0EIvD0KDLzvM22Nql2-0NrL_5pvkitKhQ1LEGxJfgwHHViMlPga"; e_fb_binaryversion="AcJ01ZSNrBV-96WgsCmnBJaxmvisxrJAEC1nNoh6Z7VYfxbf57C1VNacBL706EBcmnAA3zppyFzDj46nhAgUH38heIblXLXq-QM"; e_proxy="AcJuDdQVylKT4w9yfkxI7GwuDPbeRgJ3K4S6zDcis-P39HwoeE5sVbgsB7egHgiSKlrTGFmxO2ZlI61kal5b", http_request_error; e_fb_configversion="AcKJasnz76FGpacg36Em_EI1_S8FHwl1n0RB0RRIzd22mJT9w1b85Q_nIwxDTg"; e_clientaddr="AcKlboIhERZYn5MqFT7UK3Qu_XA856NZtFr0_EThKmHlMQ_i8aRy2_Du5J0_Oi0v5c6LldQ8jBLYAbcV8g"; e_fb_vipport="AcKaCyiNwZ_dZGcHWD1BQDTxJdshoLJtHWdQYmzMYH5w30bRzxEVCDO3LSr7"; e_upip="AcL5zm1m6UNzDLfNymZMphMrY4nOoHDe6XaxDhrdgoxxKNwGbjGLzxbC2019JrQ_oB2pHqmUTEKfiCE-2NNVNulr9awDkWppDg"; e_fb_requestsequencenumber="AcKr3Jf14letYN54UhpdOklVnOuPN4QwbKA36k-SiRg3bpAbaEs_IW4bxg"; e_fb_hostheader="AcKk4C8Sw3eicRtgBWDytQUWl3F9AB2ZKFnGqAkpD604wDv0ZILkgiXK3X3A5R4-pIp38Aq29_P78iRP"; e_fb_vipaddr="AcKhZiYtV8kmHXLCxOcHzpfCzzc4ntBRR4vaqypo9P6IWghDUTyye5tJKMkHadFgkeyltZPQYg"; e_fb_requesthandler="AcJR8d9sZDPS3yXSaejTBW1O5OOmAMzl-meM7IyPDt2iDEO2zhDHpM6nSwkntM4mC13c5U3koMo"; e_fb_requesttime="AcKHmKKJW_Bp3rwCIlbvIvQHG79VclMxABbh2QgMyiV-lj5BD0Kqaa_T7c_mFLyQXGm2IznXcw"; e_fb_builduser="AcItYeZUPWiTlHDEb6ZZ0spvnToWRAGRgoJx8V2U0jrm6wUxZ7A4FCDL3KT0BIen2PM"; e_fb_httpversion="AcITSIsLMiGYZMyVie1jCQnsm9dqIrgPKNTMgTD-MwYdEjwj7ATLpDBwqCag"; e_fb_binaryversion="AcJ9JLRx8QQ2IL3cxHdfUJZ4zuXiWPX2R8-hvd9D5tVexvkq3fmc7yQOwVKJC1MZ1F37dWTPYf1yrrfU1cGzwyTCvcsASyMGa6I"; e_proxy="AcIF-ZAa2Xc8-ppUc1wzWFVzRr_GfbV0Kcy1aKntNtIFxX4Q1Ip_UFF0i8yb4lzp20UvuTfCX3cANFo"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=163, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7400025933384352"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/24/2024 19:41:37: Error on send one message facebookId => 7400025933384352 04/24/2024 19:41:37: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AFH6YjJhN3lJqfPorhnYKfv" } } 04/24/2024 19:41:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7400025933384352"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 200085, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AApfNaw3Nh0wBH01bDrG5vb', 'x-fb-trace-id': 'GapmSMWIjwY', 'x-fb-rev': '1013016180', 'x-fb-debug': 'r3tQ3cnY9EM14QqQ/H/uJxgBDiIcbK3g9coJaYIdg2nGbheUYaZlDTSztGrQlL/ncNbvtzTxboh9mxOR1kozUw==', date: 'Wed, 24 Apr 2024 19:42:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcK9nE53NMlXGXOqCEsC1FluPyqSQx-0yAnkSYES5Ietc6RgTByng8-TnZILMQ"; e_clientaddr="AcKzIrRuS-pEAr8JQhuAQ-wJSOQsCFivpPaLNsKYtV83YxpnwLUlQA_htULvonW4AmSGd5II5ctxfOL0qoXyZY8nkxStMl4OpUClArcJ7fuz2ee7"; e_fb_vipport="AcI-OgrpC_d-wJ2pAimiklxIJZBp6KKoZh8YbfxiCVjY-5VWjQrFWKDskCjK"; e_upip="AcIywK3TFbB-VwMXwk03tGbtes3ZUUlW5i04i5yVS3KUpfoARe68q0I6V8ChHazwbazb14IsRCnAR5_mp2yM3ziZCSX8WusDgQ"; e_fb_requestsequencenumber="AcIAa5mvAXrDv3PQyqON2c1C2c47oPxTgaC2Xd05SqZNqygN2_OLWFovkvTdbg"; e_fb_hostheader="AcLlFIN4VLJNQeBCA8Us1QmsNtVzBNNdLnk3rc_ZRPS8hYeZG2DIPvx_86x8V3ZuM3FORXpBXA4GdT4o"; e_fb_vipaddr="AcIG6cRodSYSn9BKLQTC_Gnuy_c4QrtFidfBdzE7CELLwUG97d1cPmcQlzBQatJMwmELJyMdv3nx29DXqQ-0MB8dPTwyzHNLCg"; e_fb_requesthandler="AcJqihp80alUr5MI2PN9wLaixYZIanyNYLy4VE8pZCqwL8zGp2Oe1Tdun0jWNyNbjyGrJGfb-hs"; e_fb_requesttime="AcI5hKNdYmOL3hPg2-mAKsJ7QvT7c9iRmNTfy4KoXKGcCKqTAmG74Ch59CjT2QOahaqrj5Uwsw"; e_fb_builduser="AcIRnvLeP-FwdKmAFFHdMgB2A1g87S0ftx8pgSUhUagsQ2y6JV5VMvXcxTx8yXwmQKE"; e_fb_httpversion="AcK8j2d1GkKrkyJEF5qmhFUVrRnl_XJmHX-NSQIwSWhOSZ-t9_e28XxMsWEg"; e_fb_binaryversion="AcLEXqde3lgInq05cJtx1y646YySMEZD2EfK5cG1sTY47XwLbKVF5M19gJXNdScwWYQHXs4g_8g80oMFoqFgQkW5BKkvaXRjdlE"; e_proxy="AcLQBSXfKC1_9KO9fZAPUxEmPd5gv_VAilpCecpmkWyPDX4Ijq3S21_xCGIcSU1-9Z8QsJjGJcjJWYXuvtDc", http_request_error; e_fb_configversion="AcLTjrP9YSD6dICOSVTlQSix8_aeOqRGXYNTijo-BA9cBF5VNRoVYg5cialhHw"; e_clientaddr="AcIoebgAat8J_2xPwRaj9PGvibCTfXKskIH3Nf293MBf-IrZjgARuYP18estSZMamTIK1uwYtA7pFrkz1A"; e_fb_vipport="AcKCK2KemOYY7_NqCpEQkhTlXGIYfoVj0nGyUelgni_N4ARKNrlj7xIt4IK9"; e_upip="AcL7BU0pzewXpY84dqNF7-wxwxBTNJPb9V_M3W6TjbW1jo2H-ZYv8m6bZuVqWjh_GNZfcL5NyK4U5ypSwX_XLLyAhEydQa_T_A"; e_fb_requestsequencenumber="AcLlB0u4fBKAwDqwI06f-pyzeBItGtUmnRFh-SNo6j68Fi4Xu_YUOzGjog"; e_fb_hostheader="AcK7pDhT7pZ5VMqBdhx7broZ9exvEu-r5qu23n6WAI5yKqqy76KFk5faFPHk4xuRPnV5BZtl3pVRDnNE"; e_fb_vipaddr="AcJGb_9512yto18ky6NqMeXwOf20gliGMI4T_CUgMgRtIrY7LF9YjtCPu4fkTo2JDAt1-lWHRw"; e_fb_requesthandler="AcJAuQSEtJtkiY44oUSaEqoKwQjvyZnmbVZ_mcYS0-0D7dnTWM8Q0Q7DIM3kmUd_WMvzgircM_M"; e_fb_requesttime="AcLyGiknV2FtrxSgBWOrrwWU6ByYWlBiE6Nor7UkGHPecDsd5mb7p1QbdPIIJd_cs-MhDVMd5Q"; e_fb_builduser="AcLfYIkJefuF3o1piaTlXvR_jtPNGIEmEBtbjyxu5aSTSTTvXGfewkY679MNxLSsMpQ"; e_fb_httpversion="AcJI1kAMf0zjZ-hEpxfw8D3uUmOIXUT04mHxqcqi8IpVnMXboZf0bgHJRbQl"; e_fb_binaryversion="AcLxY4xVoSXjTygIWykeIvmp_4NFn_a3Te1S9rCMTvAGocPSJ7A41_g3UXu-79CdWZHSw4zVq8b1x3taffcJH9LKM5TYM4KHYr8"; e_proxy="AcID0dwdSzdD6By6iayggO2b4V0OKS8gUgC_MnQEJurAx0kGdFAkYkXHvwdedarxNEaQBgINmw-pW_Y"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=160, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7400025933384352"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/24/2024 20:04:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 20:05:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 21:01:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 21:02:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 21:04:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 21:05:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 21:21:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 21:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 22:01:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 22:02:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 22:21:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 22:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 23:13:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/24/2024 23:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 00:13:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 00:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 01:02:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 01:03:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:02:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:03:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:30:37: Error switching inputType 04/25/2024 02:38:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:38:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:52:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 02:53:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:38:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:38:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:38:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:51:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:52:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:52:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 03:53:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 04:09:50: Marker: 0 | ID: 6629d78e817cbf175288e073 | Error: cant_get_message 04/25/2024 04:09:58: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 311113, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 25 Apr 2024 04:10:23 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/25/2024 04:10:00: Error on send one message facebookId => 7325222084266153 04/25/2024 04:10:00: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bd012970-02b9-11ef-85d0-5986acd88eca__1714018223495.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AOFfz3w-SR_INpT14c0dERb" } } 04/25/2024 04:18:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 04:19:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 04:20:37: Error on send one message facebookId => 7325222084266153 04/25/2024 04:20:37: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bd012970-02b9-11ef-85d0-5986acd88eca__1714018223495.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AWSdXQv5BwMk-a72zYLJsCE" } } 04/25/2024 04:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 04:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 04:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 04:51:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 04:52:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 05:18:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 05:19:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 05:20:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7325222084266153"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 325218, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Atn4EUmwTsgSaIRYVtDH_jD', 'x-fb-trace-id': 'C33I0tVf/qY', 'x-fb-rev': '1013039651', 'x-fb-debug': 'rdyjevQgrCtO6SrzPUBqHAQf2gy1YvbfYHTAvR2h0bLQnBs6LeD/jbcuuEuOctZEVpQlAaQw4JJdhadTi9VWmQ==', date: 'Thu, 25 Apr 2024 05:21:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJHxhK0geASICtm2JWa5md8hEiXhqpncbH7KAJV08lxr1ECfwcwx-F37fDhTQ"; e_clientaddr="AcLxUeiyTnsJdO__2pmvbWAl0LlYhK-vFMIvL5LotsgHrYt5PkW08cPlcdCRQta7hpmFkwhLAF-Hu3km8IN8WUQBFC9pS8Bh-j2jZDJhl-T5-mql3A"; e_fb_vipport="AcLfAjcny9Ihl7Cs83j60-beRg3mKlvEN8jGMC0uhBcHUFQrwOU1w2cdk0Ja"; e_upip="AcInuAkwipQbAPvMdHUD590yfZD957iTCHN8n2-FZozR-vhiJUkdcZNzld0yM1WsmskB2UqUiCWjIw4DzHUXF3siN5oltqLX07E"; e_fb_requestsequencenumber="AcJnrLbUl6uolHkzFZYzHXB5urMenInrm31ZNUZTXhAXy0A1nh35pf79Tz4"; e_fb_hostheader="AcJd7zPLkazcq9W9vm2xnJNuBTaFwnvcAhhZ52MkHBT9cZT-HC8D-hp0jwhdKXRPn47iWxUqtHTX1Jp2"; e_fb_vipaddr="AcK8Y8KygihMWiLKZecjeSYchehJYMWiku5-KiycoQle_32gY6iS4b2uOJsGYMJez52HvHSvZoAIxi4IdzDQZGN8U4lNeZo-Qw"; e_fb_requesthandler="AcJdDE2Ec_N1Ng9dxJMnECGtYD9BeyDYntD9ZbdITQOKmbDcJ-dm8--kAU12Xk1pVEH5jBTWJIg"; e_fb_requesttime="AcJvlLNhfHaqAh_dq59pLWBVGZLxdGPlicbbym23xFCsxtQpw-PbqH7h3rU_PLPiwb_NDYgwgA"; e_fb_builduser="AcJxmK7J3WCD5pjhlekgWiGMTFzvLq0ohJCb2Qpt67nm4P9mcC2I3s1MlxpGaqwwhOI"; e_fb_httpversion="AcJHBSAjxAT90-NKxvAbazMYa0Sn92Ds4zjG6Iia6aGMXcwaIqNbIxNOczE3"; e_fb_binaryversion="AcLNM-eKyZHfTHOIZ7xT6EzjbVBKSahUu5X4grb6WYq8M8ma63sBMORy8kEPPjLPg_EVW9asgxQulvqpAS-GkMAbLnvR7QQU4sQ"; e_proxy="AcLC7Wfamqa2lMi9nZESRj2EKTL29PvNmHt_RSiSOtXy7b40O0u-3ww4SH_otS8VT6i1eB_q8-iUCnxU39ZA", http_request_error; e_fb_configversion="AcKB2601mmrTc1C23Q3YKGHu5qbb6Q2HgotDEOHqiZvrS85WsnIutppCvyYqcQ"; e_clientaddr="AcI33bE_jJ00ZMBnnffC5PeuRBQ-L7SqcYRVI7fUj8Uh1iMQVDq716whv6A7YVobC6XMrCTe9YEIK4pixg"; e_fb_vipport="AcKQJACDLAVLW8ZSnmaOEdLDyVqsf8hJRE5359ynBPS7_O9MGL5MIG5a2twf"; e_upip="AcLf_zVGVOMUj6RPh1PqA5h7V1dUl_iONsZS5eyjQ7rVcR3wh2V_9HWZqnJ3uQBb6rGSMnNOxntQR3x-BtQXZLWvoXX0ne_W2w"; e_fb_requestsequencenumber="AcKmTkDkN3k_CqeaLCUi6oKSQF5jhlgBcft-lKyNDky-AcqwFdcGP3MjEg"; e_fb_hostheader="AcL1DjRR0EAkCAPTOBXW1B3fmFzwTtJfSgoVVIbP3jCTzRd9T3QkyRRa0WJiGd8i5_w7DH31fv9x0VX5"; e_fb_vipaddr="AcIh_L0OP0tBxB1vE4w2nwzgs3bt39grt1EsbY_KusMJ71G-j1JcGYWCbCwHex1_PJprLRFi9w"; e_fb_requesthandler="AcLzYJBkbozEbUcJX_nuA2NRp_9quR1WNOEx88ia5QZ8oeCwQE3inERlXAcRrZKGySBFDAf9ppU"; e_fb_requesttime="AcJyjGkNCNtCiMqIkFyOu0Eehg9bOd6ixkVGa_QlQXUjFEtggUVeUF6CT9VbpohJOx68RcHOUg"; e_fb_builduser="AcIEsW7B69sNgYGj5j0Nny8mlo1TYt47WUd2qDGN2vKBaHhupyNzEWe-qf0N-7nT2ao"; e_fb_httpversion="AcJsrteDWrYEvGmzaHQ6xa2jxK2tsQ-R7Tl2M3XUV46ZIMUvECbbq51ZHIul"; e_fb_binaryversion="AcKoubRPHAq2z6MA2NI29fQDOzUr2ztDWudcpeAzG8SZPzEwnanGVwGCZgCC-Io60Ve6xE_vjiNZ8wYGRcBMyfO__yxLM3FoeII"; e_proxy="AcJlSXIzeitV7HGnNt37ma7O3W54R6yq5nUf08sM1dbxwr5Ny14tcp6lQe-e5fK3zkNY9f41f7dyBJk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=160, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7325222084266153"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/25/2024 05:20:36: Error on send one message facebookId => 7325222084266153 04/25/2024 05:20:36: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A7TGOxNlIPQU-h_yEMFaW7t" } } 04/25/2024 05:20:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7325222084266153"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 325392, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATxEfmzbetuo9cXrqkbGBrW', 'x-fb-trace-id': 'HoWKni49WLh', 'x-fb-rev': '1013039651', 'x-fb-debug': 'VhL0HO0BXmOo6/ILQ3a1TLWJe8wtTiA+8jyzhQ/+G4vBy7awgvXSUgwjChevA1M5DirY61BeF7XgZ5u1xtWqkg==', date: 'Thu, 25 Apr 2024 05:21:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLxv4kr-CbB2nEmNcyVB-13DQ8WncV38zsFd2UJ9QdCSMX--8-0bLpEnSNZ70agQzCM0Ca0Q8FG5UJsJNEhe7wBeUlSuEjOVbY"; e_clientaddr="AcIDHgFIHJAibBXfJai2qKer0C99iHon_j0UmdUOvRVJmdMnadcaMgb_kt6VReV0eig1B-dj9DB3xJp3PBo-HGTiriaILePV-_oDXl5fsUM0pYfh"; e_fb_vipport="AcLocUt7K9qSnPgBjwsSPpDRyU8D5gpcOeeITpzTTxQOEcLWpwqOkhKr58-f"; e_upip="AcImvFR1jGS7xz5YG0Xx3w7bmW8yccJCiwKPDLvAUTqFYUuE3szfqG6BFTSz7FJxTT5ZFtKSj17hl-ogpSI-1aMRWNRlQgxZIQ"; e_fb_requestsequencenumber="AcIKw2tA46nttY4ABgL8SpbMxw7PAzK8cUfdanPVxj6AvZ016pQdZoSkvlf3"; e_fb_hostheader="AcJWapxxX0Tf6rOcjiCBmILTEl2Q3Wf-9-V53W3kiESQLTO00A7v6wAWWgMm_EA4f7W_HSJtKJDVG48u"; e_fb_vipaddr="AcL_xjYZ1Jci03XJ7OZy2M30XE0oRHYl9FTvLwqw8mGcgRiEErdt5KBcjPjGSgV7_QTukpOxr9rgVuwsSmDqwTSEZEitoRKHgQ"; e_fb_requesthandler="AcJ5JhMf5t1mT3HaxSFGcqLdrEHUzVV_x8x0SmVZ6lrqUlLe0IFe9PRcmDIptK2op3iMS0w60HU"; e_fb_requesttime="AcLRylSBIDrxObOMwgbtC1H02W3o0KKK04zAJKwEvcd1CDnoc8yIVI3qZPd7vR9MQukTC-ktUA"; e_fb_builduser="AcJKjCouf7oosdW2Y-tVYTcX-ei4U6NfXfaGBAHiKNAp-cKcwvJ3LqL8dbR6p6pex24"; e_fb_httpversion="AcKWVRkxFuM27njkUb0yWQX7PpFSTz2pQFER_mkvWb2NnUkG3-2OfbXHslxE"; e_fb_binaryversion="AcIxfxR6xUmuTbR76jktLAxylj_8tYAyp8EDoxnGQJZCP2L-NXNv30oD5bpWdwENtiApv0CP4OkUQTOt72q26LNKEYZDwk1Le4c"; e_proxy="AcI5Fv3VbGhicXZ-KIfa4f-DXBAq5vmSpAsg3XbfXKY7Vgr9amOIrlyWs7ZOtI8U-FniJ5Xkh-qibCdFOxTL", http_request_error; e_fb_configversion="AcKM3dG58KWqMf3lpN9kO0R2bx7UOCSkqNcsr3qu5qHYmazLhp9PqOocbYA4TA"; e_clientaddr="AcLrhgnmynKwJq4cfTx5PGjJORe1nq2MoK8Wznm87yuBYmEMRrEmWbvqDUDmIj9Fo08Fhtp4xpQoq00q8A"; e_fb_vipport="AcIjt3bfIhmZMGi-oM7xOAGmMrUskPjWuAL5xlyVgEgKuovSsjSVv6yq3WJS"; e_upip="AcLhlQU7rXfs0uKjdw9Owrv-l1jb4r_QfprlcLSWkxfsp8VWz-6gKMRxxsh4tV33d6xgIA4R1dk1OxUSX1sOZlVC2osg31mdBw"; e_fb_requestsequencenumber="AcJE-vUUbL6pfA_ed3FNX6S968HrWJdrvZLRwZI7BfwANTcwbX1jty-L6Q"; e_fb_hostheader="AcLG4ViQ4QmzBpisKaGsVmFqPQmePBI-XyYh7MUO-HR7v219Ci_N4HkkTDjYO3KqPUls_xYqB9eVzT7U"; e_fb_vipaddr="AcI99Z2Fm3z4BHwPnwNdHAZ_sRoVqCuR8N3jEPW7BFRWpuTjWTYk97pv9IEQGLa55GT71SSK-g"; e_fb_requesthandler="AcJCgK3LCcEQv7cP7S0oT0EMpCKyFjWa4zUVlg974KZjcqERtLRhmaywn0cKy07UsK4aFj599z4"; e_fb_requesttime="AcImm3lfkY4K504Fa_3crlfyJb3-tLTYQG6ULxHeepyWy4aKC0E9TQ6sMegYmVLWzsJGEUR6TQ"; e_fb_builduser="AcJWUVZmH_UxNPsqkP0ra56tgSlj2M6jmfmhzwJ1oX2Ce0aaIa8KCiwA7LcF7vtCd00"; e_fb_httpversion="AcKh7Ml9_N-4UYXgBatRvfreReHE_m1eTLC6zkSpK2jNvLz3U182q82pUreU"; e_fb_binaryversion="AcLY1Cd_rEBdXKnWRSJNinC6FsryDtDUeTVTehLYkP94_CP6c20JGMX0-jp6WISMf_Vx80CiuVo3qTTLyfANr1ue0pV0OmQa3w4"; e_proxy="AcIouCSxmhqMY_tjzJR-u5fNi58__9StbNf6k2i5umhQehFgr-fPgzurOCXWkYCdH1amz1C5pz41Nkc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=164, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7325222084266153"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/25/2024 16:09:40: Marker: 0 | ID: 662a8044817cbf175288e116 | Error: cant_get_message 04/25/2024 16:09:40: Error switching inputType 04/25/2024 16:17:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 16:18:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 16:19:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 17:17:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 17:18:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 17:19:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 19:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 19:42:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 20:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 20:42:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 22:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 22:28:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 22:29:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 23:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 23:28:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 23:29:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 23:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/25/2024 23:42:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 00:15:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 00:16:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 00:26:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 00:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 00:28:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 00:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 00:42:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 01:15:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 01:16:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 01:19:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 01:20:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 01:26:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 01:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 01:28:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:05:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:06:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:07:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:17:31: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 558980, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 26 Apr 2024 02:17:57 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/26/2024 02:17:33: Error on send one message facebookId => 7448634041894980 04/26/2024 02:17:33: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/32588880-0373-11ef-85d0-5986acd88eca__1714097877256.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A1ck9dhaedCrCEwr5bH3zM8" } } 04/26/2024 02:19:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:37:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:38:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 02:40:36: Error on send one message facebookId => 7448634041894980 04/26/2024 02:40:36: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/32588880-0373-11ef-85d0-5986acd88eca__1714097877256.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AZT1N-z4aEufC0jIHIc-u_6" } } 04/26/2024 03:03:45: Error on controller payload Input Treatment=> type not found 04/26/2024 03:11:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 03:12:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 03:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 03:21:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 03:22:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 03:23:37: Error on send one message facebookId => 7448634041894980 04/26/2024 03:23:37: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/32588880-0373-11ef-85d0-5986acd88eca__1714097877256.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ArxSBKQ0adbsMTgJEaL2Y3d" } } 04/26/2024 03:55:20: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/26/2024 04:02:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:03:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:03:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:04:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:05:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:06:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:07:37: Error on send one message facebookId => 7448634041894980 04/26/2024 04:07:37: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/32588880-0373-11ef-85d0-5986acd88eca__1714097877256.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AA7ml1rE3ah7QaabxLDCOnb" } } 04/26/2024 04:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:16:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:37:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:38:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 04:39:36: Error on send one message facebookId => 7448634041894980 04/26/2024 04:39:36: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/32588880-0373-11ef-85d0-5986acd88eca__1714097877256.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AJe7-YJvomUDsUVDEV0FY-9" } } 04/26/2024 05:03:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 05:04:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 05:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 05:16:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 05:37:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 05:38:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 05:39:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7448634041894980"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 632664, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6nJFRBMoPFgtmKPZuEVTDC', 'x-fb-trace-id': 'ESj71FcFJsQ', 'x-fb-rev': '1013073077', 'x-fb-debug': '0wKkVDQ/G0jQ5xQccinCqlYGd9UcToEAgMMmsPzTY8Y4lOO1M9R/3Nf+z+lGKd5F8cEAMEzDSMyb96mCouztqw==', date: 'Fri, 26 Apr 2024 05:40:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJYNPQVuCGzlmXAMfPxJXgxTBzIbS7rsNgM70wA0d8WIqlZvlwnxkdc9uOaTQ"; e_clientaddr="AcJTbvXLHKW5djXtm_Nhq6va24N69NVcYLTkVayJKrKEaE5EazE0Sz-co98kPccf09KYu37c9H__GlewhwF8XCE7Btbqt-iYkYIS2ph01j6QJ-8k1w"; e_fb_vipport="AcI-GGcTxW2zvtnn-lDjZfsAtYaWz4YpGfYE8X7B0CtbpBsm-jMcxZ2TnuCM"; e_upip="AcK3cJnv9_Jbp0l7a0taNj14Woc4Vy2D7sZIDb8oSNa_8lBQjeWGkpR8HF6TbwseTHgx7EoJwskFH5RDtqkduixd6K45M4iMhfQ"; e_fb_requestsequencenumber="AcIb8yWSCSi6ALMO020uag96UTsvFt_K1mFMt4zAzAlQln-iP38GGHiiwg5Udw"; e_fb_hostheader="AcIPnWtNrbMUrNMgkCQKdFw12bN4Ct9-KJzS3aDEXq8dmRQtxIXEHf7hKShBBxDrL1G1wuhn1QyeYOYD"; e_fb_vipaddr="AcISkGSx2uXT1GqPTIlS9UVuCCpU51eNn3WkY6q-0PJFij8pj5aIP7pKQZLPCv2eA7wYoA3Bdgy14EqyD7iaz0MtVaQ3AQkLSA"; e_fb_requesthandler="AcKfB_jk4Aif_xQ3rsV-xIQ6t9DSExXrwucNV7okVBkd57BdOkNqui8By8dyFiRzKG6pTxdZli8"; e_fb_requesttime="AcJUjeATO0ommufZt2R5uWFOGVIe0ad2uLP9j8JTcGYOznE50PbdHjGD3sZwwkP2rQP5V0Fr0g"; e_fb_builduser="AcJsQu6oQIGBFBfykugTs0zYml8hXP2giCAJR9CK8W2npDI9WjQv0IabGEgKxDOKsvk"; e_fb_httpversion="AcLcsFVt7rBJFv0g-8bg626lPSkZ2J5KJyRqf_HTn2AjIi_g5wXsQ6RqG7hB"; e_fb_binaryversion="AcKtK1fR-A5cmAARymT4ZU2N0dB6ihtp4pJdokH4UdaOGf0l5jfUhUfvrOMoxCOkVY7Jbu0xeIBhnc3IUZH04M_vwhR4ez1k1T0"; e_proxy="AcJg2z2sbU5K6_Dqtrom-HplJE2yYt_EDjHbwqPHmCmYNu0jA3gKIR-2JqGDXtxDOHQkUA8xkI0SGE4cL9w", http_request_error; e_fb_configversion="AcIVSy3gHpj93F1z9pO-_MYK06crkK8coKtUshjqWcPhrVH8F65ahIFCEhwxqQ"; e_clientaddr="AcLM75HQTEs0CKXHk_-7_7A_TDsu8TOg4ekfFI744xIOd9DaqLLW_3srszuYgS2q1bhNCLk8nMz2iTFL8g"; e_fb_vipport="AcJw04cOaLG733aba_3bsW2E4cRdGmhKT0xUvrt4Y3mxdD0i4JKxd0NMsamv"; e_upip="AcLoWM2QQ09z9LXCKaoYH8UV7ssmsdN2qoD24kX5GM1P9xXWxe0LZZlvswFdyzqL7GKLNkVYYRhDAJyvC6CDlnKEWPrMZl5QxQ"; e_fb_requestsequencenumber="AcJ0_QzyR73JgkAY2IbXkCMVMpl8eLm2YE7_K6yhiopEfHiAx4wneomNrg"; e_fb_hostheader="AcJTyYg7IZZY6TktSKcotN3i6_yYnkFyuvEq9AZGawUBqePfGjdPBKDxhVqBnr9ntPN6nPatDTSbE2G6"; e_fb_vipaddr="AcKK1Lx8bVXoGiucWxdEK3u7_17Jo3qBLA4wZEnX_7oIaXfqgm6qHPadu9S6bCCX4RU6WdQ"; e_fb_requesthandler="AcK5CH9mzmE4SZwqdFal9o_tHoDsHbYMmrjIK6l8HgpIzcF7AU6BbfzGLvA2QGu4srcY89M-b18"; e_fb_requesttime="AcKoeAd4vvfaZSTRs7YivyvtP9OwD8cn_Oms0mqJE2EGbShYb73IFBLvGfEg9186_zaZRFbsgQ"; e_fb_builduser="AcJm6AJGol-HWOeUUuLx9W10V1hNUwc6FThn6J1cgGXduYts2U8fmH06_zUw4OcSCSs"; e_fb_httpversion="AcJPPq0GtpDzhcgfOCoR5K9PHL94kZ-r_Kb0dLO3hEwweyW1jEJ4uGJdraMK"; e_fb_binaryversion="AcLQpJiaAGoKOxzyrsFP4OuU1ksnzSeUlFXUfy3UFTcu8h3YXp9DMx6h0Hz3QolY0VwczJjw9_dqMkl6LCCEcKhRyW5VYPxoPLo"; e_proxy="AcIPygWQH0SguI44LFgh1uGySx7_LRd58tr4t4DXbfZo139uc7DEiPqf-8yr8eU6N0vUDuuQiDAyGBk"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=235, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7448634041894980"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/26/2024 05:39:36: Error on send one message facebookId => 7448634041894980 04/26/2024 05:39:36: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A44DLE55ZSB1nuG3xT9IeZ7" } } 04/26/2024 05:39:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7448634041894980"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 632969, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AF1M15GFrLMt63Xrp_2W_Vp', 'x-fb-trace-id': 'G8Gbb488kOI', 'x-fb-rev': '1013073077', 'x-fb-debug': 'VZquUcjE3SMS6+/kBf/eOU0z/uax2VIHwmeZb7RVKReqfowXtgxSaK07cr2sSUyd0aVgxjT4NT423MfgeTTUYA==', date: 'Fri, 26 Apr 2024 05:40:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJkDW-wCBYJtivLaR6VgnSkbedt2YCbwM_dbYwBfNA99SudzyswJhbmPlT4kQ"; e_clientaddr="AcL0y83rEE0WLywHUtvPzi415laVUB1vEs-GOdnPf4UR2E_s3MaaJnm0wnuXOLMCBppIfiI0XdWQHEBaJMzaerYdJZkQ8WkFWnhnNlNEaIqLJiL81Q"; e_fb_vipport="AcKLhKd-ZHu2_04fdwAsVJaU-V0jHIHENjn6-8VfBvIUX52ZNCgcMtJrln4W"; e_upip="AcIAALvqKcuhZUzplOdydBh2OLEbIn332VH2sFqmxrYBTIH07R4PcR1r1N-6JuehGhYEDJI1spgnQyaaZ5Ca59pL9SX0JYz9Cno"; e_fb_requestsequencenumber="AcJJ5wl8oCWJQyjj661EaumAa5JEIDfNTJ--gWCXvKdaw3iIBEGm7iFx10II7Q"; e_fb_hostheader="AcKNsMA-VY81twqN9C4bpA9KFgGf9iSoUWFLp0hkHNWc-MqNKQV2r967mwoUyQlrVAvPXfbofXQ7A-pZ"; e_fb_vipaddr="AcInE8dPueZXoiOu8PLW5kjXyiGI-6ADnlCy4kNk9vx0KYIJUjOb25FHzHSDykGGSC4NZATWfwiBp1_FWLFn-gtA9CXAencpTQ"; e_fb_requesthandler="AcJYZo0mBEhRoCq_lr1tegYVwX1PjneNWLbCEchB1r_-vFM7DRAUnTQnqK50ryp8HjyllyEWodQ"; e_fb_requesttime="AcLWnz-YP3usKXMzG-mdHW1LBpTrzlXo_T7e1A3HF9fFIpmUvcXLVfj5SQuyPNW05WqelDtnuQ"; e_fb_builduser="AcIYG1qq6YX808bPFqVeF3FFjIJu-azd8R-WF4-EdPLvINxxwMY8KDhuxQ6crA5nP-8"; e_fb_httpversion="AcISkYbD5bU4am248D7VrhUc6roA9luGtDBNnQXF84oSvBEF8jYy35UplMcq"; e_fb_binaryversion="AcLHL2vnTMA_o8R0dd34mSfBf_mjlOavdMT1B-PA7Vd6FW1zCUrPAhfHWGJ6y0qmRgz36j0cA33jpN11zF2NkmNXA-moDw3z-DU"; e_proxy="AcIeRAAtHVyt3lGfaz6Y7UuWaoFmPf36NNXH-IC13WkLYW5VtCeJkDLkmTnASQISuMgwVe8BkIaFBdlGUJdD", http_request_error; e_fb_configversion="AcIo7chq7QmmuTPGLdEhW4FKP_8CFgLTdoz8KK7wZLQHdOA_i3RzjNl_YoGy3Q"; e_clientaddr="AcJwl3oE7airFdv-vYQUGTq61m50jhBoPynb5faNAe0jN7q7xYBVkGIv7jwmFa_94O5gN3J5ntMWRnJGHg"; e_fb_vipport="AcIncCZYy6Ez2e8VmlBFsXI0LrHwr2GbxxaLcls5FDJAGSQewOb1vhfTZD4r"; e_upip="AcL7Rsl3je-O8BVhsW-nDGYHTEmW3IeEPPexEEOv5Z7_6TagS-KLZiFu653QReFmc1GOs9SwGhougPvrKQ7d3vNp4eUNmlUyjg"; e_fb_requestsequencenumber="AcJlA_Py4tfzTfpCZJ1pbsYFAG11TzBO3yWKu4LdrlXg8BrU4pOQy9pR_w"; e_fb_hostheader="AcJU6uXjZbeRfk72357PMmF7W2w5GCFjC9lZJDhUCNojp8pKRZ9o0JTnSvVurRwwxnzyCCu_Va4XP4o5"; e_fb_vipaddr="AcK5ZMnyfYlNp60ByBIqQOl_618taJPZDc-5B90HW5OPziRacG6g0ZaZsSdqk2SBh-D4C9k"; e_fb_requesthandler="AcLZr-dH8bsUnTczSDpp7fzz5i-5Pqk__mQ8fNdwOiyfXzb69ZdYbhpBZTXUywOnHL7l3bm65U8"; e_fb_requesttime="AcLiDNSMlgHfF8e4lMaMPzht3tVipSy-hKVJqKDRHN_yQ3uxmJrtkv88KEfQ-sfPIxJ1b3r4Tw"; e_fb_builduser="AcLE_rg2eqjZjJkVsybxfKPiYICWRuDSHLk9P-aEYs_bf3LhvVO-Yi59lc9flwfUARA"; e_fb_httpversion="AcJjvNnaBOSwWUOoqf_RFXkPqhG9ZFI-sRfpWxfJWQSGd71SrkqM7ePifkib"; e_fb_binaryversion="AcJ-MjAn2eiiXNIgrTIBxb6h3iQsR1mEqxd-QTJlacMdr_FoMZQibJdokUioWo4UVWryY9W8IRO-i14cFm3pRcgjlcWok_64ivM"; e_proxy="AcK3cwKVjXgQXbRTTG2JDRSvE-cpSSygL8wPoyQ-OnbT1lLSMnW2s5KqLZfq93vuw1G9iINFAOpqtmQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=190, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7448634041894980"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/26/2024 06:58:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 06:59:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 07:38:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 07:39:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 07:51:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 07:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 08:03:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 08:04:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 08:27:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 08:28:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 09:03:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 09:04:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 09:27:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 09:28:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 11:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 11:54:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 11:55:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 12:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 12:21:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 12:58:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 12:59:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 13:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 13:21:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 13:58:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 13:59:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 14:51:17: Error switching inputType 04/26/2024 14:59:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 15:00:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 15:47:51: Request bot not found: { id: '108233141067249' } 04/26/2024 15:59:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 16:00:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 17:18:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 17:19:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 17:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 18:18:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 18:19:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 18:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 20:07:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 20:08:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 21:07:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 21:08:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 21:17:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 21:18:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 21:19:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 22:17:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 22:18:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 22:19:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 22:20:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7740191752686353"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 832482, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbqmLyhCwtZUMTlLVFPKLf0', 'x-fb-trace-id': 'HvyrdzQPxQ0', 'x-fb-rev': '1013088323', 'x-fb-debug': 'kwnb0nLxsRRJLIAmK7BJrRs3vX6Z4qEP1O3UMpTGmux2TCXNX3ZtKgswumqoHEbSlW1unyVMxVJR2qnuwcUHqg==', date: 'Fri, 26 Apr 2024 22:21:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLUTTTgVBfyGAqzQOWkTjNN1pWFNPeFbYsotpNydgcTRUlpoYA_H4J7E2RApQ"; e_clientaddr="AcJtTA0r8zsRcYGT62WcCiJyPd6f2NOwHGTosNrfMOl_LztICdKkhQM8rxkwjmuj-i44yo0JNGHXYen9y4KsiQ7ZddP30yg4NyRYi2MEkpegExCCzg"; e_fb_vipport="AcLI6NSosZCXTinrPM9eI3PGMEM_BLUiNULDmJITt_B5b2y6KXYAmrxZwBZB"; e_upip="AcI_-J4gUy2uBUPgpGfmL3BnVjGeFf_B4O8kFz0i22nCe8e-5OK7eNC5sNcxG-T4wMH6zohRtJ6nQTm9br6R9EiBmWdCiYbqe2c"; e_fb_requestsequencenumber="AcIAJLkVBaFNMuaaTVAXIrYEmGqLUNJpRSaY6PfAyIjcZ6wXqqBR1GU5_tBLsw"; e_fb_hostheader="AcKF5oq75YIVtwG31OzbQGikmLLXWpvX9m58vdmN7ZaV52ah-04bhwpPZEqt_E0xu5zeOeZ3HyNfLf9H"; e_fb_vipaddr="AcJKjvU41iipKF_ZiFMPv46GTi4wk_P5Wdi5gO6JJ2PAeYv4YsRWbi6RqKhe-DWSNCRw0vuZPvq5aBGibcnlDZEyITRpnweI_w"; e_fb_requesthandler="AcJK4IhftjN8eYRQvuSuVqgy8nlmKWagV4UQvhqbHFoh4KL_5LXPfSJK78ju27JH6AEGEiBaqj8"; e_fb_requesttime="AcKQ1WDOT-1WuMBOC0Kyahc2nCiFy-XbdTaCVlc1PIcV7vTxEthhpeiJe8yZIKyXfemaC-fJ6w"; e_fb_builduser="AcL5eWmv_YvqtOq3k1oSqlKOWrk939Y66cXkWIcgWqoaoUPnYR3IelKgNWAs49dZf4Q"; e_fb_httpversion="AcJL3-CzJJfPncdda05ge6rOo1BCwZE6X3R8R6WonTbSb2cyYWnhRmHbs2ab"; e_fb_binaryversion="AcI71vhz5JZPMj7cdZsYSXOU1VX7zger-ihjTlhPJOjuOWAUhBUu7vyz8BYy3VVn5sE57duf4zonNVAVHZK0pUy1gmsNYJJdGMI"; e_proxy="AcLD6JfPraSKitJSp3AC4eJuTzLMzgsGJpmYdrEEYu8Rg0i1-cf2xO_dR3avF3HQIcwmxC5WQDK3-Pw4UWay", http_request_error; e_fb_configversion="AcLofvcC9REVKqYiL8ZxeWs1I4ldSnKFG6RWYXtfuyQOjOumYQId8PdvulJi5w"; e_clientaddr="AcLp7qkJmk8GQrIpnI-VYAnf1n3kPIVJvGOgdTEqcreyR4payeVEdkB-F69DbURaoSoWusRzT7HZa-vOAA"; e_fb_vipport="AcIuxQ_HEiZpqS4_JPVsP1dmqIeN6_uSrXMAJgsUgAYdrvKYsK0n09FLtio0"; e_upip="AcIuQHxGXS7-eIgx7sJwqQK2KgmbxGDFb2dcmje1nFu8vP7M29o-f4eVnbfzn7Cpar4ioQ7UUDJSG8Dhni7lwJmv5ZWMZdSGlg"; e_fb_requestsequencenumber="AcJEmRS-zkc237G3L6F5bNEOF4TnVay24Mm-_4Z99nYPybPBuC0daRTVtA"; e_fb_hostheader="AcLRZC7TqNyOpojnXjZZeoJ13mFddLwG1sfIpdtC3yKZKAr7_oYeDigoDsA1ljeO7ElaNw3xUjwm3Io2"; e_fb_vipaddr="AcLnLy5LtIVdwnwFSYr-fXBZ-MOvxeDpVRtJCpCEnj2e30iEADEr0FFZuxACUWtK0An462E"; e_fb_requesthandler="AcJbssVMglO2DNeY1ANP9_13x6DtJSSv5t7tdgK71m_hOaKQa3sCsBzDD7RAWaE_kzIYcUQgyBw"; e_fb_requesttime="AcIXzsYgDbpKmdZpV1wCAT6VJFfuC_6S9iTEcD7gvQHhwyT9gpzRPQK0GNT8BG39AmLg4yuuOQ"; e_fb_builduser="AcIJSO80XNkTDy9sioTORzAS2eAyQ5oBhlhe904Bge2oEJrr-ViPTO_q5lBihPY7ixg"; e_fb_httpversion="AcJCWyaUIed0WEhl-jf6VwcNmfMyGZgVw2R4xEDFsvhSAC25RbCl_g1vCpYx"; e_fb_binaryversion="AcKNpnI_58xnlBMCD7CsyrSEFCXImllQqC7xomE-MBFj26fX0q8Ajw1R83qZB7_qcITXgoHp6KhsIDKO-5heEUIKh99VRGYEajc"; e_proxy="AcKUBD5PysREhdmMQkYHbXYl-Mo5NBDgFRP8Uc6oZll8XT64wXkWkOL7BmCPOhCJcwzi1h78TizdYnE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=31, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=193, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7740191752686353"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/26/2024 22:20:35: Error on send one message facebookId => 7740191752686353 04/26/2024 22:20:35: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AT_vqNN3ILL_eWXHQVCdgom" } } 04/26/2024 22:20:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7740191752686353"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 832655, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACHr6Cmlb53-nrXTZz9fpA0', 'x-fb-trace-id': 'F+Llfs3be2G', 'x-fb-rev': '1013088323', 'x-fb-debug': 'pcNJX4RH/VUQqcNDkaGSNbLqkIWx322QPU2CXT/D3Me3qOz6ImXankQVDR2ZnB3RDwyk12r62Oym/FTJxQoiXw==', date: 'Fri, 26 Apr 2024 22:21:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKH6fW-ezpmHzA_wZAvLL9tqWwwBEpdTPB5v7BjTEjHMKrVWjTBuBwLKy4b_w"; e_clientaddr="AcJt2sjZYMax1uILGxQKfJzSrhQl3oEBtFEaTQNDUbyYgTe5h3JAFfmvimWc44g2OclkeDYNLttRlZdNhdn4nU8JDoD85gfBGJ-7B6taifXj0a7gwA"; e_fb_vipport="AcLJqrqdGC71Yh_2ZHH93_3qKhrzrXh7QTwSj9f2nR96qIcWIKeTz7XoBBC6"; e_upip="AcLKlllyJzSKKxmGmFXSWxz7P6e2zrRo93BsQ8smfUBOdCMSoP4q4Zdhyq3pZWALLQ0NQdUsseXDd9K3_un50d4VTHR9JI3NYic"; e_fb_requestsequencenumber="AcKBE2_ZymqyB3Z6LxTjM7yCi-ey7Y1pQeaTgHSki29xMJirziG6VxtmlHualw"; e_fb_hostheader="AcJs8_1lhaKVog-44baBeqQRSka5MP7_SwlbIUfe2YKhMHA-MuLy0DCrI9YjgwU4yeMMAvoZ9DK5DOue"; e_fb_vipaddr="AcKkWfDtkmBfyaPU55pAdDxhPKWbBD0SDiJWdd4BSu1Z6KBXupDHVdX5svgWz-GPmDw3Ootp08lFWeqOpl1mQ6t1g6P3_rZiFA"; e_fb_requesthandler="AcIXPivCiLieRLGQay-U6RLwX9rzvxQZec9azYH0A7-JnLadwEre070fG8qHsMtygT-vjRfprgY"; e_fb_requesttime="AcJbNPmpMIWIVMK1lyNS7tIvuJMFW-eEmUrfm5LCmxvodmCgA6vaLsmOrdSv_-EWLfcO4GGyVw"; e_fb_builduser="AcLoGqK4fU6V6PZPMzWYsTPQoCPugGi60J9sMS5ZDtcbcidzUmShKlzKEM1Sx7sN-Yw"; e_fb_httpversion="AcKfCcniZbCHTGFrmsmAzA9dgqdnylguYMeZtkJD0SeXLePgkQgE6lqEZApD"; e_fb_binaryversion="AcJkXvghXqvu23y-a2vgttiEszqYeAHQASZvTwFokxrcBYIqlpJK86Mb49nzYLs-1e0RhyO116-e8zwmje3Sg5oks8L8kahbQYY"; e_proxy="AcI3DYJHeNTU8kKlJ4MY1r1C9SDM6qteGFgfdn_F33l7LxcY1VJ1wjQUoAI3hHDnrZkFPtx5iMEOxoP9ydZA", http_request_error; e_fb_configversion="AcIAumiEashDWSLopaOC59naW8DXA5Vs9kqmk0LDu0extc3c8masBslpRGCWug"; e_clientaddr="AcJeDVEdmjEA_C7XxAdVpBc47WyIdl81Zo_nvLwPxcOvqimTEMMT_yPW2WsbLNcjzKdrxhsPcguKW3VUmg"; e_fb_vipport="AcLkXWpbXQ9yY8eSckj-9vfxKl7oL9pOHn2tFIduHTczPrFK7pJzWWJP6OTj"; e_upip="AcL_ymV4QzWoEWLlLIDSM5xcSZhJh-CXjZuWKTZpqcd7o8QYOP-JPuWfZHTKmhCGQTaG21H6BYx557oL3w5raadu5qYhpZ2oSg"; e_fb_requestsequencenumber="AcJ658OjsnfJP-V3UxXC5sh3Az8wqHSlXYtBnl-e-xMnJCbcMpo3UDLHaQ"; e_fb_hostheader="AcI5WbqIkorNX5CT2WuorDjdDmJarxHadGblldlIyCc1RXtuKmT9IqnYVcR8yFxcSNtSY8ohq8N6Ge_M"; e_fb_vipaddr="AcLGG2f3ehYcTI15UeLQvL3RIVYJtzGLHp3UI_lhqiFMjkTE6rIKcxFDMIUvaop3PsmSdqA"; e_fb_requesthandler="AcJ7rqOQjtJCOt0VuFG753hdMnd64sAfglc2I2e8ioBtQLKTt7NnJXCXXNUDQfJDM2egsUwzcZU"; e_fb_requesttime="AcLH1AtgZ7NEm34jTyPDJcQ7XLxaz7l6YGe-BqWYzQVnV5GYzXL--sUhMrHPLWPsb-V5EUI8HQ"; e_fb_builduser="AcKT3iBhGjKIZnccrBY4srh5waYjQIOSxaQHgauECDI3OzD7xbQeADYPeBWakQ3jQ9U"; e_fb_httpversion="AcJW9reKvSe0lPMpuBxH6yU25uKlUjzKig2ls3mjxOEohWUGRzMOtghMZhV2"; e_fb_binaryversion="AcLPFIKwgfcNWGQD9Qt2-SDhGyVug_BLLjqrZ5gmW_Bkw4yJXXzHrk4oPIwem7YCdYmscUzjaBwpPQtutTP73ciG02puDEetJKQ"; e_proxy="AcI6vlBNvtL1saadIJS3cf8nUObyeh2Up5GYGJwpt6H7fLYY3t5dP6ajqvNYeoZ4Ank5154ewt4SnXT6"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7740191752686353"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 04/26/2024 23:39:57: Marker: 0 | ID: 662c3b4d817cbf175288ec68 | Error: cant_get_message 04/26/2024 23:48:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 23:49:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 23:57:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 23:58:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/26/2024 23:59:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 00:05:59: Marker: 0 | ID: 662c4167817cbf175288ed3f | Error: cant_get_message 04/27/2024 00:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 00:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 00:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 00:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 00:16:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 00:48:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 00:49:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 01:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 01:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 01:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 01:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 04:07:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 04:08:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 04:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 04:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 05:43:18: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 929824, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 27 Apr 2024 05:43:45 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/27/2024 05:43:21: Error on send one message facebookId => 7620296818031076 04/27/2024 05:43:21: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1d09d9c0-0459-11ef-85d0-5986acd88eca__1714196625756.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AZa7thsKWO3H_4SmsiS7M9q" } } 04/27/2024 05:51:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 05:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 05:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 05:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 05:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 05:54:39: Error on send one message facebookId => 7620296818031076 04/27/2024 05:54:39: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1d09d9c0-0459-11ef-85d0-5986acd88eca__1714196625756.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AlDppnWer3R0Rw61Yep-yXf" } } 04/27/2024 06:03:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 06:04:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 06:05:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 06:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 06:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 06:16:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:06:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:07:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:08:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:23:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:24:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:25:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:57:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:58:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 08:59:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 09:06:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 09:07:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 09:08:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 09:57:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 09:58:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 09:59:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 18:54:34: Marker: 0 | ID: 662d49ea817cbf175288f2bf | Error: cant_get_message 04/27/2024 19:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 19:03:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 19:04:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 19:39:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 19:40:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 20:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 20:03:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 20:04:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 20:17:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 20:18:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 20:39:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 20:40:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 21:17:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/27/2024 21:18:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 00:41:40: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 04/28/2024 00:41:42: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 04/28/2024 00:41:43: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 04/28/2024 00:57:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 00:58:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 00:59:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 01:55:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 01:56:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 01:57:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 01:58:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 01:59:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:01:12: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 04/28/2024 02:10:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:11:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:12:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:31:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:32:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:32:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:33:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:46:55: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1185561, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 28 Apr 2024 02:47:22 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/28/2024 02:46:57: Error on send one message facebookId => 7588979171150356 04/28/2024 02:46:57: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/a38917d0-0509-11ef-8c96-7599610f6ab7__1714272442829.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ASD4qQyJ1jd7vivxaCAWfOy" } } 04/28/2024 02:50:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:51:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:54:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:55:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:55:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:56:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:56:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 02:57:38: Error on send one message facebookId => 7588979171150356 04/28/2024 02:57:38: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/a38917d0-0509-11ef-8c96-7599610f6ab7__1714272442829.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AP2wdHBFv_NWtFU8h7T8TwD" } } 04/28/2024 03:01:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 03:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 03:03:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 03:32:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 03:33:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 03:54:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 03:55:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 03:56:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 04:01:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 04:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 04:03:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 05:26:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 05:26:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 05:27:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 05:27:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 05:28:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 06:26:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 06:26:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 06:27:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 06:27:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 06:28:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 08:07:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 08:08:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 08:09:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 19:08:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 19:09:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 19:10:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 20:08:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 20:09:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 20:10:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 22:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 22:52:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 23:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/28/2024 23:52:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 00:23:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 00:24:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 00:35:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 00:36:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 00:37:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 01:08:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 01:09:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 01:10:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 01:35:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 01:36:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 01:37:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 01:58:51: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1450459, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 29 Apr 2024 01:59:19 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/29/2024 01:58:53: Error on send one message facebookId => 7995797557120190 04/29/2024 01:58:53: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/176b4cf0-05cc-11ef-8c96-7599610f6ab7__1714355959615.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AEMMY7ARYBTERmJRSs_Lb06" } } 04/29/2024 02:08:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 02:09:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 02:10:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 02:14:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 02:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 02:16:34: Error on send one message facebookId => 7995797557120190 04/29/2024 02:16:34: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/176b4cf0-05cc-11ef-8c96-7599610f6ab7__1714355959615.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AMy7p0jUFWvhnUE5mr67A-1" } } 04/29/2024 02:31:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 02:32:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 02:33:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 03:14:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 03:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 03:31:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 03:32:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 03:33:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 03:40:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 03:41:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 04:40:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 04:41:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 06:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 06:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 06:29:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 06:30:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 06:31:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 06:32:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 06:33:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 07:29:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 07:30:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 07:31:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 07:32:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 07:33:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 09:55:52: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/29/2024 10:04:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 10:05:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 10:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 10:19:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 11:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 11:19:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 15:08:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 15:09:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 15:10:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 15:56:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 15:57:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 15:58:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 16:08:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 16:09:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 16:10:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 16:13:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 16:14:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 16:43:58: Request bot not found: { id: '215725838493727' } 04/29/2024 16:56:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 16:57:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 16:58:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:03:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:04:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:18:21: Error switching inputType 04/29/2024 17:26:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:27:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:49:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:50:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:56:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:56:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:57:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:57:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 17:58:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:03:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:04:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:25:22: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1654920, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 29 Apr 2024 18:25:51 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/29/2024 18:25:25: Error on send one message facebookId => 6988878924551933 04/29/2024 18:25:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/e884aa50-0655-11ef-b2a3-833eb85a59e8__1714415151477.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A14Ch6U8Yc1U8zUWIAsvZJj" } } 04/29/2024 18:33:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:34:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:35:34: Error on send one message facebookId => 6988878924551933 04/29/2024 18:35:34: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/e884aa50-0655-11ef-b2a3-833eb85a59e8__1714415151477.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AGnzVSVR_kkZlYOc4tuMEik" } } 04/29/2024 18:49:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:50:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:56:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 18:57:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 19:33:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 19:34:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 19:36:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 19:37:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 19:40:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 19:41:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 19:42:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 20:36:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 20:37:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 20:40:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 20:41:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 20:42:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 23:25:48: Error switching inputType 04/29/2024 23:33:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 23:34:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/29/2024 23:35:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 00:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 00:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 00:35:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 01:35:59: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 04/30/2024 02:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 02:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 02:35:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 02:39:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 02:40:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 02:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 02:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 02:51:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:05:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:06:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:08:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:09:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:20:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:21:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:35:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:35:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:39:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:40:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:47:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 03:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:05:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:05:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:06:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:06:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:07:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:20:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:21:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:47:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:49:38: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1798249, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 30 Apr 2024 04:50:07 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 04/30/2024 04:49:41: Error on send one message facebookId => 6904020823030678 04/30/2024 04:49:41: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1e28e480-06ad-11ef-8c96-7599610f6ab7__1714452607688.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ASbuFEMncRFPjCqIACw-0JP" } } 04/30/2024 04:57:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:58:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 04:59:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:00:34: Error on send one message facebookId => 6904020823030678 04/30/2024 05:00:34: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1e28e480-06ad-11ef-8c96-7599610f6ab7__1714452607688.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AJrtuEo7tYvWcDLx0ZFRKI9" } } 04/30/2024 05:05:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:06:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:07:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:12:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:13:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:14:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:15:33: Error on send one message facebookId => 6904020823030678 04/30/2024 05:15:33: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1e28e480-06ad-11ef-8c96-7599610f6ab7__1714452607688.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AmxaUxC4XoBMn6bee0D9hNP" } } 04/30/2024 05:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:23:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:24:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:25:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:30:55: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 04/30/2024 05:30:56: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 04/30/2024 05:45:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 05:46:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 06:24:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 06:25:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 06:45:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 06:46:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 09:21:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 09:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 10:21:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 10:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 13:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 13:23:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 13:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 13:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 14:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 14:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 17:37:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 17:38:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 17:53:27: Request bot not found: { id: '111693767414179' } 04/30/2024 18:37:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 18:38:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 18:39:26: Request bot not found: { id: '917983134950234' } 04/30/2024 20:13:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 20:14:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 20:15:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 20:57:35: Request bot not found: { id: '107116341895191' } 04/30/2024 20:59:37: Request bot not found: { id: '107116341895191' } 04/30/2024 21:01:05: Request bot not found: { id: '107116341895191' } 04/30/2024 21:05:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 21:06:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 21:13:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 21:14:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 21:15:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 22:05:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 04/30/2024 22:06:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 00:07:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 00:08:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:07:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:08:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:14:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:15:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:16:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 01:59:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 02:00:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 02:14:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 02:15:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 02:16:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 02:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 02:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 02:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 02:59:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 03:00:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 03:17:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 03:18:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 04:17:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 04:18:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 04:32:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 04:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 04:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:16:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:17:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:18:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:28:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:29:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:32:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:41:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:42:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:43:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:44:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:45:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 05:46:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 06:41:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 06:42:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 06:43:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 06:44:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 06:45:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 06:46:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 06:56:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 06:57:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 07:56:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 07:57:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 08:09:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 08:10:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 09:09:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 09:10:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 09:13:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 09:14:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 09:15:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 10:13:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 10:14:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 10:15:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 11:47:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 11:48:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 11:49:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 12:36:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 12:37:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 12:38:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 12:47:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 12:48:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 12:49:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 13:36:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 13:37:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 13:38:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 15:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 15:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 15:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 15:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 15:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 15:46:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 15:47:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 15:48:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 16:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 16:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 16:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 16:46:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 16:47:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 16:48:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 16:59:21: Marker: 0 | ID: 663274e9817cbf175289129b | Error: cant_get_message 05/01/2024 17:07:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 17:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 17:09:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 18:07:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 18:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 18:09:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 19:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 19:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 19:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 20:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 20:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 20:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 20:37:03: Request bot not found: { id: '133788230054854' } 05/01/2024 20:37:03: Request bot not found: { id: '133788230054854' } 05/01/2024 20:37:47: Request bot not found: { id: '133788230054854' } 05/01/2024 20:40:39: Request bot not found: { id: '133788230054854' } 05/01/2024 20:40:55: Request bot not found: { id: '133788230054854' } 05/01/2024 20:56:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 20:57:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 20:58:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 21:56:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 21:57:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 21:58:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 22:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 22:02:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 22:03:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 22:48:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 22:49:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 22:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:02:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:02:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:03:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:21:22: Error switching inputType 05/01/2024 23:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:31:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:43:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:44:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:49:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:52:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:53:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:54:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/01/2024 23:55:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:02:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:07:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:15:43: Marker: 0 | ID: 6632db2f817cbf1752891679 | Error: cant_get_message 05/02/2024 00:16:48: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2327628, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 02 May 2024 00:17:19 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/02/2024 00:16:51: Error on send one message facebookId => 7471016416321914 05/02/2024 00:16:51: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/56bc2470-0819-11ef-8c96-7599610f6ab7__1714609039415.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AsQS3xpTk7RbLX7qtRer0ca" } } 05/02/2024 00:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:27:32: Error on send one message facebookId => 7471016416321914 05/02/2024 00:27:32: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/56bc2470-0819-11ef-8c96-7599610f6ab7__1714609039415.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AEMEyIe3S9m9fSh0qRd4L6B" } } 05/02/2024 00:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:31:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:40:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:49:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:52:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:53:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:54:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:55:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 00:59:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:00:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:00:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:02:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:07:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:09:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:10:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:26:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:38:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 01:59:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:00:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:00:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:09:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:10:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:27:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:28:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:38:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 02:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 03:27:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 03:28:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 03:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 03:30:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 03:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 08:13:52: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/02/2024 08:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 08:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 09:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 09:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 09:51:15: Error switching inputType 05/02/2024 09:51:16: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/02/2024 09:59:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 10:00:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 10:14:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 10:15:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 10:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 10:53:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 10:54:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 11:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 11:53:13: Error on controller payload Input Treatment=> type not found 05/02/2024 11:53:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 11:54:25: Error on controller payload Input Treatment=> type not found 05/02/2024 11:54:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 12:23:25: Error on controller payload Input Treatment=> type not found 05/02/2024 12:46:33: Error on controller payload Input Treatment=> type not found 05/02/2024 12:48:14: Error on controller payload Input Treatment=> type not found 05/02/2024 12:49:38: Error on controller payload Input Treatment=> type not found 05/02/2024 13:18:52: Request bot not found: { id: '133788230054854' } 05/02/2024 13:20:19: Request bot not found: { id: '133788230054854' } 05/02/2024 13:20:26: Request bot not found: { id: '133788230054854' } 05/02/2024 13:20:34: Request bot not found: { id: '133788230054854' } 05/02/2024 13:20:50: Request bot not found: { id: '133788230054854' } 05/02/2024 13:21:18: Request bot not found: { id: '133788230054854' } 05/02/2024 13:28:36: Error on controller payload Input Treatment=> type not found 05/02/2024 13:58:40: Error on controller payload Input Treatment=> type not found 05/02/2024 14:06:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:08:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:25:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:32:36: Request bot not found: { id: '107116341895191' } 05/02/2024 14:32:55: Request bot not found: { id: '107116341895191' } 05/02/2024 14:33:24: Request bot not found: { id: '107116341895191' } 05/02/2024 14:38:06: Request bot not found: { id: '107116341895191' } 05/02/2024 14:38:22: Request bot not found: { id: '107116341895191' } 05/02/2024 14:38:42: Request bot not found: { id: '107116341895191' } 05/02/2024 14:40:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:40:42: Request bot not found: { id: '107116341895191' } 05/02/2024 14:40:57: Request bot not found: { id: '107116341895191' } 05/02/2024 14:41:27: Request bot not found: { id: '107116341895191' } 05/02/2024 14:41:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:45:13: Request bot not found: { id: '107116341895191' } 05/02/2024 14:45:30: Request bot not found: { id: '107116341895191' } 05/02/2024 14:45:46: Request bot not found: { id: '107116341895191' } 05/02/2024 14:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:47:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 14:49:07: Request bot not found: { id: '107116341895191' } 05/02/2024 14:49:22: Request bot not found: { id: '107116341895191' } 05/02/2024 14:50:01: Request bot not found: { id: '107116341895191' } 05/02/2024 14:52:01: Request bot not found: { id: '107116341895191' } 05/02/2024 14:52:44: Request bot not found: { id: '107116341895191' } 05/02/2024 14:53:00: Request bot not found: { id: '107116341895191' } 05/02/2024 14:58:56: Request bot not found: { id: '107116341895191' } 05/02/2024 14:59:18: Request bot not found: { id: '107116341895191' } 05/02/2024 14:59:28: Request bot not found: { id: '107116341895191' } 05/02/2024 15:17:26: Request bot not found: { id: '107116341895191' } 05/02/2024 15:17:37: Request bot not found: { id: '107116341895191' } 05/02/2024 15:17:55: Request bot not found: { id: '107116341895191' } 05/02/2024 15:18:06: Request bot not found: { id: '107116341895191' } 05/02/2024 15:28:26: Request bot not found: { id: '107116341895191' } 05/02/2024 15:28:43: Request bot not found: { id: '107116341895191' } 05/02/2024 15:28:53: Request bot not found: { id: '107116341895191' } 05/02/2024 15:29:47: Request bot not found: { id: '107116341895191' } 05/02/2024 15:30:21: Request bot not found: { id: '107116341895191' } 05/02/2024 15:30:30: Request bot not found: { id: '107116341895191' } 05/02/2024 15:32:46: Request bot not found: { id: '107116341895191' } 05/02/2024 15:33:02: Request bot not found: { id: '107116341895191' } 05/02/2024 15:34:09: Request bot not found: { id: '107116341895191' } 05/02/2024 15:34:21: Request bot not found: { id: '107116341895191' } 05/02/2024 15:35:08: Request bot not found: { id: '107116341895191' } 05/02/2024 15:40:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 15:41:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 15:45:20: Request bot not found: { id: '133788230054854' } 05/02/2024 15:45:38: Request bot not found: { id: '133788230054854' } 05/02/2024 15:45:47: Request bot not found: { id: '133788230054854' } 05/02/2024 15:45:57: Request bot not found: { id: '133788230054854' } 05/02/2024 15:46:08: Request bot not found: { id: '133788230054854' } 05/02/2024 15:46:20: Request bot not found: { id: '133788230054854' } 05/02/2024 15:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 15:46:32: Request bot not found: { id: '133788230054854' } 05/02/2024 15:46:46: Request bot not found: { id: '133788230054854' } 05/02/2024 15:46:56: Request bot not found: { id: '133788230054854' } 05/02/2024 15:47:11: Request bot not found: { id: '133788230054854' } 05/02/2024 15:47:22: Request bot not found: { id: '133788230054854' } 05/02/2024 15:47:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 15:48:39: Request bot not found: { id: '133788230054854' } 05/02/2024 15:48:52: Request bot not found: { id: '133788230054854' } 05/02/2024 15:50:28: Request bot not found: { id: '133788230054854' } 05/02/2024 15:53:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 15:54:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 15:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 16:53:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 16:54:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 16:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 17:00:36: Error switching inputType 05/02/2024 17:12:58: Request bot not found: { id: '107116341895191' } 05/02/2024 17:13:41: Request bot not found: { id: '107116341895191' } 05/02/2024 17:14:01: Request bot not found: { id: '107116341895191' } 05/02/2024 17:15:34: Request bot not found: { id: '133788230054854' } 05/02/2024 17:15:37: Request bot not found: { id: '133788230054854' } 05/02/2024 17:15:55: Request bot not found: { id: '133788230054854' } 05/02/2024 17:16:03: Request bot not found: { id: '133788230054854' } 05/02/2024 17:16:09: Request bot not found: { id: '133788230054854' } 05/02/2024 17:16:30: Request bot not found: { id: '133788230054854' } 05/02/2024 17:16:42: Request bot not found: { id: '107116341895191' } 05/02/2024 17:16:45: Request bot not found: { id: '133788230054854' } 05/02/2024 17:17:00: Request bot not found: { id: '133788230054854' } 05/02/2024 17:17:06: Request bot not found: { id: '107116341895191' } 05/02/2024 17:19:01: Request bot not found: { id: '107116341895191' } 05/02/2024 17:20:04: Request bot not found: { id: '107116341895191' } 05/02/2024 17:25:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 17:26:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 17:28:54: Request bot not found: { id: '107116341895191' } 05/02/2024 17:34:19: Request bot not found: { id: '107116341895191' } 05/02/2024 17:35:19: Request bot not found: { id: '107116341895191' } 05/02/2024 17:36:10: Request bot not found: { id: '107116341895191' } 05/02/2024 17:36:24: Request bot not found: { id: '107116341895191' } 05/02/2024 17:36:38: Request bot not found: { id: '107116341895191' } 05/02/2024 17:37:02: Request bot not found: { id: '107116341895191' } 05/02/2024 17:37:30: Request bot not found: { id: '107116341895191' } 05/02/2024 17:46:19: Request bot not found: { id: '107116341895191' } 05/02/2024 17:46:48: Request bot not found: { id: '107116341895191' } 05/02/2024 17:58:46: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2562328, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 02 May 2024 17:59:17 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/02/2024 17:58:48: Error on send one message facebookId => 7610137195769007 05/02/2024 17:58:48: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b16ab6e0-08ad-11ef-b2a3-833eb85a59e8__1714672757070.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AYu-0IO4SFWwYWWIqgvYgE7" } } 05/02/2024 18:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 18:08:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 18:09:31: Error on send one message facebookId => 7610137195769007 05/02/2024 18:09:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b16ab6e0-08ad-11ef-b2a3-833eb85a59e8__1714672757070.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Acql5GKKimOCB-Z-1-mwKBk" } } 05/02/2024 18:25:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 18:26:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 19:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 19:08:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 19:53:45: Error switching inputType 05/02/2024 19:54:17: Request bot not found: { id: '133788230054854' } 05/02/2024 19:54:27: Request bot not found: { id: '133788230054854' } 05/02/2024 19:54:44: Request bot not found: { id: '133788230054854' } 05/02/2024 19:54:50: Request bot not found: { id: '133788230054854' } 05/02/2024 19:55:11: Request bot not found: { id: '133788230054854' } 05/02/2024 19:55:29: Request bot not found: { id: '133788230054854' } 05/02/2024 19:55:45: Request bot not found: { id: '133788230054854' } 05/02/2024 19:55:53: Request bot not found: { id: '133788230054854' } 05/02/2024 20:01:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 20:02:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 20:03:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 20:36:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 20:37:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 20:38:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 20:50:44: Marker: 0 | ID: 6633fca4817cbf1752892184 | Error: cant_get_message 05/02/2024 20:58:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 20:59:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:00:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:01:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:02:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:03:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:36:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:37:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:38:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:58:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 21:59:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 22:00:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 22:40:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 22:41:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 22:42:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 23:30:25: Request bot not found: { id: '215725838493727' } 05/02/2024 23:31:09: Request bot not found: { id: '215725838493727' } 05/02/2024 23:31:38: Request bot not found: { id: '215725838493727' } 05/02/2024 23:32:45: Request bot not found: { id: '215725838493727' } 05/02/2024 23:44:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 23:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/02/2024 23:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:17:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:18:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:44:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:48:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:49:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:54:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 00:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:08:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:09:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:29:45: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2663649, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 03 May 2024 01:30:16 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/03/2024 01:29:47: Error on send one message facebookId => 7887110261319885 05/03/2024 01:29:47: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b1fe6cc0-08ec-11ef-8c96-7599610f6ab7__1714699816332.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AgYYlsWIV0dquQhWTcfv_iD" } } 05/03/2024 01:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:34:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:35:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:39:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:40:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:41:31: Error on send one message facebookId => 7887110261319885 05/03/2024 01:41:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b1fe6cc0-08ec-11ef-8c96-7599610f6ab7__1714699816332.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AuWODM6t6iJHik2gmw5Hun8" } } 05/03/2024 01:48:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 01:49:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:08:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:09:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:34:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:35:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:39:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:40:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:44:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 02:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:01:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:02:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:03:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:10:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:11:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:12:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:17:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:18:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:44:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:57:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:58:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 03:59:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 04:17:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 04:18:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 06:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 06:57:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 06:58:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 07:11:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 07:12:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 07:13:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 07:23:34: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2745077, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 03 May 2024 07:24:05 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/03/2024 07:23:36: Error on send one message facebookId => 25466357836341996 05/03/2024 07:23:36: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1fc640d0-091e-11ef-8c96-7599610f6ab7__1714721045853.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Ag3iwrOSSoUszkPluZCj0Ue" } } 05/03/2024 07:31:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 07:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 07:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 07:34:31: Error on send one message facebookId => 25466357836341996 05/03/2024 07:34:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1fc640d0-091e-11ef-8c96-7599610f6ab7__1714721045853.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A383wNLwFTn59KnKZwjw0TB" } } 05/03/2024 08:31:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 08:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 08:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 09:02:25: Marker: 0 | ID: 6634a821817cbf17528927e5 | Error: cant_get_message 05/03/2024 09:02:27: Error switching inputType 05/03/2024 09:02:39: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2764543, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 03 May 2024 09:03:11 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/03/2024 09:02:42: Error on send one message facebookId => 7496016617183510 05/03/2024 09:02:42: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f793ff90-092b-11ef-b2a3-833eb85a59e8__1714726991369.mp4 está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AaYr2sd45Ll6PMl2t9SmTtc" } } 05/03/2024 09:10:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 09:11:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 09:12:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 09:13:31: Error on send one message facebookId => 7496016617183510 05/03/2024 09:13:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f793ff90-092b-11ef-b2a3-833eb85a59e8__1714726991369.mp4 está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ATA52mOOO4e8_zOG58CgwIK" } } 05/03/2024 10:10:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 10:11:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 10:12:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 15:30:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 15:31:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 15:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 16:30:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 16:31:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 16:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 16:51:14: Request bot not found: { id: '133788230054854' } 05/03/2024 16:51:38: Request bot not found: { id: '133788230054854' } 05/03/2024 16:51:46: Request bot not found: { id: '133788230054854' } 05/03/2024 16:51:53: Request bot not found: { id: '133788230054854' } 05/03/2024 16:52:03: Request bot not found: { id: '133788230054854' } 05/03/2024 16:52:40: Request bot not found: { id: '133788230054854' } 05/03/2024 16:52:57: Request bot not found: { id: '133788230054854' } 05/03/2024 16:53:11: Request bot not found: { id: '133788230054854' } 05/03/2024 16:53:22: Request bot not found: { id: '133788230054854' } 05/03/2024 16:53:36: Request bot not found: { id: '133788230054854' } 05/03/2024 16:54:08: Request bot not found: { id: '133788230054854' } 05/03/2024 21:12:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 21:13:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 23:36:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 23:37:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/03/2024 23:38:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 00:36:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 00:37:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 00:38:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 02:47:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 02:48:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 02:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 03:00:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 03:01:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 03:05:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 03:06:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 03:11:32: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2964789, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 04 May 2024 03:12:04 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/04/2024 03:11:34: Error on send one message facebookId => 7578943328810761 05/04/2024 03:11:34: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1530bb90-09c4-11ef-8c96-7599610f6ab7__1714792324553.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AdEyi327-1bIW5sQUP8S47H" } } 05/04/2024 03:20:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 03:21:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 03:22:31: Error on send one message facebookId => 7578943328810761 05/04/2024 03:22:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1530bb90-09c4-11ef-8c96-7599610f6ab7__1714792324553.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AwiF0-l74LTE8QsMDd3nGdd" } } 05/04/2024 03:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 04:00:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 04:01:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 04:05:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 04:06:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 04:13:01: Request bot not found: { id: '917983134950234' } 05/04/2024 04:20:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 04:21:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 06:53:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 06:54:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 06:55:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 07:53:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 07:54:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 07:55:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 12:34:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 12:35:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 13:34:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 13:35:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 16:25:03: Request bot not found: { id: '133788230054854' } 05/04/2024 16:25:13: Request bot not found: { id: '133788230054854' } 05/04/2024 16:25:29: Request bot not found: { id: '133788230054854' } 05/04/2024 16:40:15: Marker: 0 | ID: 663664ef817cbf1752892c0c | Error: cant_get_message 05/04/2024 16:48:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 16:49:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 16:59:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/04/2024 17:48:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 17:49:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 17:50:19: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3120490, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 04 May 2024 17:50:52 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/04/2024 17:50:22: Error on send one message facebookId => 7383614421732768 05/04/2024 17:50:22: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d9694660-0a3e-11ef-8c96-7599610f6ab7__1714845052358.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ADoTwQT5N4y8s7jnnRUOmfq" } } 05/04/2024 17:58:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 17:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 18:00:30: Error on send one message facebookId => 7383614421732768 05/04/2024 18:00:30: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d9694660-0a3e-11ef-8c96-7599610f6ab7__1714845052358.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AZ59EDrChnDkDEe-UnjsXwP" } } 05/04/2024 18:58:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 18:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 19:27:01: Request bot not found: { id: '133788230054854' } 05/04/2024 20:08:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 20:09:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 20:10:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 21:08:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 21:09:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 21:10:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 23:15:00: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/04/2024 23:23:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/04/2024 23:24:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 00:02:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 00:03:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 00:04:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 00:23:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 00:24:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 00:30:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 00:31:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 00:32:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 01:30:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 01:31:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 01:32:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 04:25:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 04:26:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 05:25:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 05:26:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 08:34:02: Error switching inputType 05/05/2024 08:49:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 08:50:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 08:51:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 09:49:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 09:50:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 09:51:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 10:00:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 10:01:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 10:02:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 10:59:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 11:00:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 11:00:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 11:01:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 11:02:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 11:59:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 12:00:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 14:46:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 14:47:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 14:48:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 15:46:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 15:47:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 15:48:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 19:08:26: Request bot not found: { id: '917983134950234' } 05/05/2024 19:09:08: Request bot not found: { id: '917983134950234' } 05/05/2024 23:05:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 23:06:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/05/2024 23:07:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 00:05:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 00:06:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 00:07:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 11:46:06: Request bot not found: { id: '309967135747121' } 05/06/2024 12:55:42: Request bot not found: { id: '234064353428134' } 05/06/2024 12:59:32: Request bot not found: { id: '234064353428134' } 05/06/2024 17:47:24: Request bot not found: { id: '133788230054854' } 05/06/2024 17:47:51: Request bot not found: { id: '133788230054854' } 05/06/2024 17:48:20: Request bot not found: { id: '133788230054854' } 05/06/2024 17:48:33: Request bot not found: { id: '133788230054854' } 05/06/2024 17:49:07: Request bot not found: { id: '133788230054854' } 05/06/2024 17:49:34: Request bot not found: { id: '133788230054854' } 05/06/2024 17:49:39: Request bot not found: { id: '133788230054854' } 05/06/2024 17:49:48: Request bot not found: { id: '133788230054854' } 05/06/2024 17:49:58: Request bot not found: { id: '133788230054854' } 05/06/2024 17:50:08: Request bot not found: { id: '133788230054854' } 05/06/2024 17:50:19: Request bot not found: { id: '133788230054854' } 05/06/2024 17:50:27: Request bot not found: { id: '133788230054854' } 05/06/2024 17:50:34: Request bot not found: { id: '133788230054854' } 05/06/2024 18:29:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 18:30:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 18:31:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 19:29:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 19:30:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 19:31:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 22:43:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 22:44:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 22:45:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 22:53:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 22:54:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 23:43:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 23:44:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 23:45:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 23:51:29: Request bot not found: { id: '133788230054854' } 05/06/2024 23:51:44: Request bot not found: { id: '133788230054854' } 05/06/2024 23:53:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/06/2024 23:54:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 00:42:23: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3759830, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 07 May 2024 00:42:58 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/07/2024 00:42:25: Error on send one message facebookId => 7665011390203618 05/07/2024 00:42:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bfe33700-0c0a-11ef-aaeb-3ba13eb50f6f__1715042578033.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AhJNH6gg27hzmvBKR6LQJ1L" } } 05/07/2024 00:50:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 00:51:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 00:52:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 00:53:28: Error on send one message facebookId => 7665011390203618 05/07/2024 00:53:28: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bfe33700-0c0a-11ef-aaeb-3ba13eb50f6f__1715042578033.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AOj7fTdFNXb93Ay1dQlB8Ax" } } 05/07/2024 01:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 01:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 01:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 01:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 01:40:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 01:41:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 01:42:28: Error on send one message facebookId => 7665011390203618 05/07/2024 01:42:28: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bfe33700-0c0a-11ef-aaeb-3ba13eb50f6f__1715042578033.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Ajp-eS6judroBDpI6X5Tps8" } } 05/07/2024 01:47:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 01:48:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 01:49:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 02:39:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 02:40:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 02:41:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 02:47:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 02:48:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 02:49:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 05:32:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 05:33:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 06:32:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 06:33:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:14:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:15:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:20:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:21:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:22:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:35:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:36:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 10:46:25: Request bot not found: { id: '133788230054854' } 05/07/2024 10:46:59: Request bot not found: { id: '133788230054854' } 05/07/2024 10:47:09: Request bot not found: { id: '133788230054854' } 05/07/2024 10:47:17: Request bot not found: { id: '133788230054854' } 05/07/2024 10:47:49: Request bot not found: { id: '133788230054854' } 05/07/2024 11:14:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 11:15:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 11:35:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 11:36:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 11:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 12:58:25: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66398d77817cbf17528933e9 05/07/2024 13:14:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 13:15:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 13:16:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 14:14:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 14:15:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 14:16:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 14:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 14:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 14:39:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 15:15:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 15:16:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 15:17:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 15:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 15:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 15:39:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 16:15:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 16:16:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 16:17:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 17:22:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/07/2024 17:23:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/07/2024 18:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 18:51:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 18:52:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 19:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 19:51:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 19:52:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 23:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 23:23:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/07/2024 23:24:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 00:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 00:23:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 00:24:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 00:53:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 00:54:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:17:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:18:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:19:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:36:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:37:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:53:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 01:54:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:08:50: Error switching inputType 05/08/2024 02:16:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:17:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:18:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:18:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:19:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:20:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:36:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:37:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:51:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"6800458556724085"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4083541, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AguZiiXbBlkAEB7L1mR-P3j', 'x-fb-trace-id': 'HS/4LXY+VvI', 'x-fb-rev': '1013344917', 'x-fb-debug': 'E/yJNeRHincct7h6gwYoYsLZID22KdD9jspiGlqxFhGXyV9efT+FOl8p/X0NW9HZjtjLDtLmTSXv8F3GuMhHMw==', date: 'Wed, 08 May 2024 02:52:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKa8a8vTA4aJ52ANPKIGrigz14ELpF_EpKld3hp3QU5gfmv7hmF-17cnzLsuA"; e_clientaddr="AcIYetgzfabTveEhtM1Vqd4FhL_FSa45RNoEHYfOG4R1wNDLpI194VOWnWUpdhSoBNjqrRHjcjpmQge6jTryaneWadMYEh389WPEb1xSc7xo0DzL"; e_fb_vipport="AcJRQgiHIQjqAHenLa2NghgttzyGOhDVojIgp-sAQdZx9WPVi-vpg_2ldsuL"; e_upip="AcLG5HmI4Ji7AgnctW9honrJqMjmCS5BL0_WSzmnLOkRW0A0_BaUckRadYmNkLlsbRlrEF6QDEXXzefZGXnBipDNpWlIfDiwSAg"; e_fb_requestsequencenumber="AcK2IDP92Uca3v5cvk8xwi8fYkAr1NmMNuRmtc8nGZOoJJpMQYLYtwb8XaS-Bw"; e_fb_hostheader="AcIbAjkzUu8HHirlCf6fzvIpICvSnxlBO_rVopHoCu6MRNLCCyBJLQzNIDzqw3TIbLMeZkp5H7izspNU"; e_fb_vipaddr="AcIo_5dSZ-dLfWf7I3pyD0pxBawLMMxC7Za1005kBEgaeHA0wl9YsVoWUvTkNM-lUSI_LTOMds2d6oNtCVKYeFuKnhT3FHLX5A"; e_fb_requesthandler="AcIhga_wYHSjwZ5XcVdj_ZobkuBcKcDKtZyfZZQuYUQtmCjol8uK_3vRbn-DXpRr0LrPqrpvfLo"; e_fb_requesttime="AcLiP1tIcDlJSsuWBMRmA7CbMu9dd02zqSnu9M3Q3xoMbSbdhr7_ec09lNqJ07z43Q-Q2kvKBg"; e_fb_builduser="AcL6Ha0tY3C7cGuaauUHUdwi-CY1ABna5UCTMEHlYpwg8vCqGSMMVx9ZCloOhyYowmk"; e_fb_httpversion="AcKyt6Y-NI7rjtBiR6E0zBtXB0h6ybUQI1V4IClj_IU2JfrY0FU1ba_nxNh6"; e_fb_binaryversion="AcJzqac1mwYVdy01iYuXsQEqZY12y7asjUa8CWSDfF-867LjHtz7oerwM6IQ0H-G2iXtFpJ0FXWcH6yci3ha5bydg4DhT6ncAwQ"; e_proxy="AcJ9FTnqxcchWaZq80WvCyGXbmQ3n3pxh0tZntkl-fXM53GsLIFDj7KJ-3HVNK5JM75K88aWZopY-lnhN1X1", http_request_error; e_fb_configversion="AcJi67h1M6Z2hxeuwqvzBUWVR1VteaTQe4NCzDf8_4LkBMtDjOYpCfzUnwrxHQ"; e_clientaddr="AcK_651PQkOnP9I8OYHlvQbYAnlNmeMOAtRoRvS_z55Pb2u6jXlvTcFEsZ_kRkOim56fjwdpTbvFqd-5ig"; e_fb_vipport="AcJaEmKAbDu8b-g2MKrV_4vElt9YopDT1NGB4OvNWg406RU2vP0mJOe-qr0J"; e_upip="AcIucav7A4-OBHUN_xa94nK2FgwRBKX-bE_5McHU7RYs4UL-5tGuvNI_6hYGR0uupbTpY6qaoParH5qJRV-RPud81snOxtY4UQ"; e_fb_requestsequencenumber="AcJyrOMwDHXYVMmtpvKurQydAq6DaQa3GjnJlVNAgH3j5i5ReVvmy4lKSg"; e_fb_hostheader="AcLZmGDMfjEJMvYwNpkOBPDWixp82AE7ngRjYMnap8Bx_XsdhMa5Vc9Hxtnkk0mRa6WfmH9we771SFGp"; e_fb_vipaddr="AcLm8HFTJL5H4q_HzpuMRSovM5C4Lqok35DkWZRqDdzthGIirEJ-Q5j21waPpl0f22_UhrdLvA"; e_fb_requesthandler="AcJSudRZo3rNK4SXFecbNorBiJ0sbc62aW0l3lOUat8XgWnjOUELU5lA-yD1HjzsTQ09n7AcOf0"; e_fb_requesttime="AcIwuCTE6pbbQqmEgTbt_Iy7G4iP2it-4Fcwdh0xrI21iw7JcxXN2zB7OZlJV7zc6uHD_JK7HQ"; e_fb_builduser="AcIlfw5UbTi2j-PdKtiFPC7D_U0aKsUYQDVZ98jWZBaB207sBsdmNyauroua6ooieUM"; e_fb_httpversion="AcIyCDTtSBzSYUQ3x8fyCrDN6QYskD3r_KcUm9i7BTNFLirDSNbiydRZlJjb"; e_fb_binaryversion="AcIctUeQHyNHnAZKbNW8QsosoYx7nBN-frPkMOsgMS3sBVuoF7bvcMYsra4PoXdGJrQsHCX2OQdgPtjFY_DPcFROELheJFKEnQY"; e_proxy="AcJXKPQ-NebaBVUI-ZGWbRHzsvedEJ-SIB8D_Crbmpqbnh296YUELgfwnKuidc5ZHd5QYP70RJWiLGA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=200, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"6800458556724085"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/08/2024 02:51:26: Error on send one message facebookId => 6800458556724085 05/08/2024 02:51:26: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ALzQ6-n4w13aqCZQMxGvvk9" } } 05/08/2024 02:51:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:51:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"6800458556724085"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4083717, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Am0jjccZTjk6Wd2BWdVFf3S', 'x-fb-trace-id': 'GfezGVZu1NG', 'x-fb-rev': '1013344917', 'x-fb-debug': 'sw/t1Lkj0Vx3u3bGF1cfm0jTzfUDw2kplHLR293bDqU24FqdONSUgwhKkacpQjoohYE2thUMTvMTB+797x/iIg==', date: 'Wed, 08 May 2024 02:52:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJmBkATiYy8WYY-dPpz98h7Dj8ZE3RPGlNDS0sLG8WjYO6K8QhRNGqkfhoVlw"; e_clientaddr="AcI0MFBM97Y4kUXWpPzc6ThcXzfrwFwR_tOHAbR7x2z2PYOergWhlKYRiuON5FWhNh89HBKE31ZHQkJALWxVoUxFX_DXmJZY0S_A95CQECb8hoA2"; e_fb_vipport="AcJ9K_MZmVN3Nn2ZtxI6vUHxuX76QasIuDht_k1xKXDRC1nnI5Mdgy4KvGTA"; e_upip="AcKLNQxvPvQui6W7AMQVT2UzoKyPCd_1ltuQQXZJdiZRNKarJcLXFO-tuEb6wqkTyny2LGpeskkzwjLf_8KEwS9m8y_BQgO8y1E"; e_fb_requestsequencenumber="AcIkM7ak7qPOjDbhpaiezgL14qgF4tUVHwmNI5Cg_59V35Duf_YXOtcZ-uij"; e_fb_hostheader="AcKlVCPong_RH2ZUGTe1rfX6-elQlW5IycnAGCN7ASZchDDSwKiK2xeZSKFKbiEN0oeUkW10nySjCQpv"; e_fb_vipaddr="AcIveW30b4Fwsu_sQQ9J2KzxiC8d115qZbZ2YKaQtCjfKxKY-36dx-uCCuRCzOFbJOmv1hQDH0dqeKI0sx2lhqRNexYK5TMbqg"; e_fb_requesthandler="AcIiAPakJ-DAwSYhICqXl1h32DokrcYLirpVRGuGDHysGylOssKzdvsZJRRfkVoDpETBVfZ5Zos"; e_fb_requesttime="AcIGbHcMvYBnfj_7ZlfInIKKEU6QoDN4l9f5WuZjZbr_5HDotwae8Bb2Hn3c_Eh8jgg7d0jJYg"; e_fb_builduser="AcKCFetipEuIR0UVf-21UFg5imkEz-ACY82UMd3xhdfzxJBfMY93Lfsmm9L0KzNlrv8"; e_fb_httpversion="AcL1XMVutKbLtL382WzT8YMD2puG0qng0z5FVF1-cs87uPXkMcAdqNqnCGB1"; e_fb_binaryversion="AcLX-g7e1x-1ZED23XnIg3i9ggh03iLBraeMs9GRzPRvWfU2s1CPB9TMgL5oXK_3teh5y_fQcfkf_XotOWW89BtIBDnQm6d4DyQ"; e_proxy="AcIh6SEZ0KY2fPF6WIofKIFnK0k2bdW60_FZtnZJ1XKZzzbf8r8J-T1ADrEc4z4pa5NQVNeH51C_zZxidfbw", http_request_error; e_fb_configversion="AcK03bYIUzUwwBAVfkXBCMLH49DEQCxfiBBA20LYar87VoixlorS_DRQgoZImA"; e_clientaddr="AcIQnPTokee9lwjllSUDOUamcJ4sPgVTr9whA3nouLdHJWftXbctHJtol_UFqN-R27cUgitUoIkNRdibBw"; e_fb_vipport="AcK-Rlc4A5ltqHU4cd4GbejjFEu101dCZ-4pwSJ8HVRNL8UKHY-z2DKCc6yl"; e_upip="AcJdh2MuKtBCXU-KjRPQh9cOWrBjbhwnJrAljkEYWMS2pk1nE8JnR77UH56WlF8RO5EUBGZuGsK87cMkAEwZmRovBjd_utyz4g"; e_fb_requestsequencenumber="AcJCW6gyUerxD-2huVUwhWhmhs9XyrbY09otdxF9zeO1SGHztOD4jjrO7g"; e_fb_hostheader="AcIGrcznfKGd7AH0zlUp8399l2lRPtX8tUPHWXG6drLQkGramXBxz2NhHAn9IELTzIHGbpz9ggtioAfI"; e_fb_vipaddr="AcIIC90XT1ODiYzLIPJWEHfcifQXONhrbxvPhBMXZKBN1pjq4w6OBEZ3Xv15hMUvhMWH5a9l9A"; e_fb_requesthandler="AcKlvSRVn-tVOGsOUGIEc44oSUsAKMoXzjOyrFONtS7l5VFycyD-eW8447d77OL3GIEp1AWpmOE"; e_fb_requesttime="AcIQVsoSDW_Ua4egOI5dvhpced74DWF_WjzGTfGcHwXTKaQ_5WBKSt7hiRf-UKcLaylBdd06sw"; e_fb_builduser="AcIwQIfG7nT_EjF8W8vBlzPEWLm2qXKh-eP2T0HCS-G7NV__61nxHlWD6lHxvAKWlcc"; e_fb_httpversion="AcLEhYlTkVJGoDE96_5ilB_mLgYiJnE-pzrIf3d6U6Wg137c6EhrVUGb3Wyy"; e_fb_binaryversion="AcJwG50yh7VDVeqs7FnF8dw1WdPg8EsvD28ErezUMRPxlBEKXauNQ-NI1BfAAzs_w2ARn_6RkRd6ofrKN4aSEP9GrO8OXbAFEPw"; e_proxy="AcJojsA5fRfM3A3BiCK97SGsrGWWcpbGrvJRe51e7Sn8wATIr6FKnMufnByUyQeiQEfPnlsiH3ypXys"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=170, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"6800458556724085"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/08/2024 02:52:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 02:57:25: Error on send one message facebookId => 7394264350680559 05/08/2024 02:57:25: Response error send one message => { "error": { "message": "(#10) Essa mensagem foi enviada fora do espaço de tempo permitido. Saiba mais sobre a nova política aqui: https://developers.facebook.com/docs/messenger-platform/policy-overview", "type": "OAuthException", "code": 10, "error_subcode": 2018278, "fbtrace_id": "AccIr4Iy1lgyJDeIGnX7OE0" } } 05/08/2024 03:16:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 03:17:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 03:18:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 03:18:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 03:19:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 03:20:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 03:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 03:51:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 03:52:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 05:03:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 05:04:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 05:21:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 05:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 09:11:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 09:12:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 09:21:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 09:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 09:23:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 09:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 09:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 10:21:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 10:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 10:23:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 10:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 10:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 12:12:53: Request bot not found: { id: '215725838493727' } 05/08/2024 12:45:02: Request bot not found: { id: '1645747618995613' } 05/08/2024 13:30:26: Request bot not found: { id: '107116341895191' } 05/08/2024 13:32:27: Request bot not found: { id: '107116341895191' } 05/08/2024 13:33:34: Request bot not found: { id: '107116341895191' } 05/08/2024 13:33:45: Request bot not found: { id: '107116341895191' } 05/08/2024 13:33:57: Request bot not found: { id: '107116341895191' } 05/08/2024 13:34:47: Request bot not found: { id: '107116341895191' } 05/08/2024 13:35:11: Request bot not found: { id: '107116341895191' } 05/08/2024 13:35:47: Request bot not found: { id: '107116341895191' } 05/08/2024 13:35:57: Request bot not found: { id: '107116341895191' } 05/08/2024 13:36:04: Request bot not found: { id: '107116341895191' } 05/08/2024 15:08:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:08:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:08:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:08:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:10:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:12:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:15:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:15:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:15:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:16:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:17:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/08/2024 15:20:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 15:21:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 15:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 15:24:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 15:25:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 15:51:13: Marker: 0 | ID: 663b9f71817cbf1752894180 | Error: cant_get_message 05/08/2024 15:59:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 16:00:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 16:19:46: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/08/2024 16:27:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 16:28:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 16:29:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 16:59:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 17:00:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 17:27:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 17:28:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 17:29:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 18:11:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 18:12:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 18:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 18:23:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 18:24:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 19:11:03: Request bot not found: { id: '917983134950234' } 05/08/2024 19:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 19:23:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 19:24:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 19:25:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7420154034768665"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4294240, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AB5TlrC634PxDg0eZsctoLJ', 'x-fb-trace-id': 'CH8DY5AAdox', 'x-fb-rev': '1013358761', 'x-fb-debug': '25mOLD6eBZJCi0ulhlPu2QJdHxQVG5m6i5Rc6YXZAlD62IyM/JPe5SxdSsbN5H5+omnpKvLz0gtWKM14kIilDA==', date: 'Wed, 08 May 2024 19:26:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ_qg0ZX7qBotXab9ds1bbhgCKG3kYl4pdMtn6HDyIayCsuBDaAD8aQpJLw1A"; e_clientaddr="AcLUmGky9SpqJWtMr6tLAIN7yqAxgdi1MCzZOKS_DrABb_AH5jiuVXgGD9aIZVMB4M3bIpsaI5L1uyGFMgsMUOiiy_22iUvxJLDBdhJYvs3B7b-MmA"; e_fb_vipport="AcINpX27l7HwSb4_nJ1tKxZlsb8V_2n_dz2Ob5UglD570hQ3IOuKSLAGeNBP"; e_upip="AcJ5Yq53FhVwxsvHKcLfyaRdCU0O_iUP0ejeBcA7iAj0touzYCkGsWl6QOJN8jPhdlO4X7JRY7OcTxMc5cZZT8VQMOykx47v6Go"; e_fb_requestsequencenumber="AcKZblBd-ecADPvLbwNHlBBe-DBdJVNMgj2tz6yVZkyz3L_VlPtlLB51iZRW3g"; e_fb_hostheader="AcI-DEWlHGVT1Jw3FjmufxJ7usP31Oe6DjWX5Zypb5ZOLfMaBPLnN0tq3UjekgpUdWNiUHKAxhuyoqCs"; e_fb_vipaddr="AcI98QbcNpSnWEUYmPGaGIGBDN_a2lh76wKXsSCSQe9uRPd3wraJOSLOBotCTXFKyzotQDSskioC_cN6jFjpSMZ-t0747wF3Cg"; e_fb_requesthandler="AcJOFoIh5Z_wU0OpyVIHWMunynQdxXRDCgEwAnBq4n9wN0hOYu8lcxK4bBOn2KRffj0sYyiM5vE"; e_fb_requesttime="AcLchb-CgOoYqfSMJLapeFCPGlVLLjz_RCBegOBBMatGD2kqeoiJXOFLq4wRZK5y_8fYNAA-4A"; e_fb_builduser="AcI0WOOyVquhhrfn6gmrW4EOudgt0-42gLmDaYuUYc-WsaiNrAEBdCJG-aCZfez91l4"; e_fb_httpversion="AcLclv13-RlR2t4Dlpm0eGhO5UQST69g-rZYeFlxYw6YGGhIwp4rlxCa6XS_"; e_fb_binaryversion="AcIAdSm2VEFgEEs6ByxxqEJDobAIuLxO3LnbbwZSIvuBvEyHTjcu8QqetXXCvMJ3cyMa4yPdrEb3o7jSqdokAyEgac1vJ1oBZTg"; e_proxy="AcK60uE0T3CbCepNUiQMv-nE58evLP2yGf6Q-dccTw4kO8TCgqrKH1ONJD8MJxmEJg2TuSQuB5cIJkq8rEzl", http_request_error; e_fb_configversion="AcLApZ5kz_ORJ1yNTK6wgvC_vRX2Hb-V6VSEi5cadY9gcLxzbyKJNiggm0FTYw"; e_clientaddr="AcJ3tvYHvQMckO2k2En8ZgpinvfHAUfPkns56GuV9bII1tRCL8ifBKNrW9qAU58UyDYxvjpd6QFTAdrg8A"; e_fb_vipport="AcJBTyHXRkvhwzM3r47za4wWUPUeH6791N5diIy8S1JaSTgrPL3zKqZ_M6r8"; e_upip="AcJQZ2mhxP5zbepFJxbut5hQOsLz2D9MWnd6LFUybYb_7DYSCho-6Pp1qXU4CdR0peMPsywpR9tU8OjOezMOFR_MHnLN8Je2Zg"; e_fb_requestsequencenumber="AcIbYu3tHq16App50-_cVM6xVwMpCofLRgEDWRf3ursbTecYh3dLyOjHVw"; e_fb_hostheader="AcLtvMSVOAJzjr1aBo8MA1rrxF79GL8Q7wD0ORH2Vu9OMwW_ceUiFb7kpM0l4QZUMkYWI08t2tVGqTKe"; e_fb_vipaddr="AcItTLB8xKyzc9Yo0fNos6xZcmKNzqVwaRMTpL9Efs84DwAaJaxofTzderWDcD0D9mIZKXTpsg"; e_fb_requesthandler="AcLnIvSN0dLyqn-AwrDkGAwT_IpbHQAKpI7fM_AAiDdk4vQRRKkKQnOZl-d6EwWsj57NshKpNTo"; e_fb_requesttime="AcK6EA9OhlpSRh6CzD-blW8h0-2RVr2V50zDPa3Atjcy8FDuFBAFz9QP4UvA5AuFVPi6Uegifw"; e_fb_builduser="AcII_pz2Y_DveWKly049NRGjmfBuP6XjOTK0Jp13xhUdpwNQo_egxPWFwMvFQbalJGs"; e_fb_httpversion="AcIz-XexS9FMIUFvOBffu8OHFDlfyskkBnj-3AeW3tRB1pofygIyMjYxbwb3"; e_fb_binaryversion="AcIVVMy6V-umr9ooan-gNdNdAYKGOIU70Qnq5pok5ZAwsSJRoQWZDtvgZD8lKyJ385qRUKQIqiiJpVwAk7-NOBtiVRwsKIbTRII"; e_proxy="AcLfQuGF7fUv5_9L5fPDFLwYl8nuWIi_mSZftsKta_atLDFp-AWZIhmWaBWzmI0Ib9MuHmhX4VEVhsI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=167, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7420154034768665"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/08/2024 19:25:26: Error on send one message facebookId => 7420154034768665 05/08/2024 19:25:26: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AjlfsAlxSRUN62zJO3bQ3v-" } } 05/08/2024 19:25:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7420154034768665"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4294433, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Alk5oyuMefW7zXvGCjHtxqj', 'x-fb-trace-id': 'EtkRmx44beE', 'x-fb-rev': '1013358761', 'x-fb-debug': 'fODBFa0eAYGXP2PUV50WZABArGDFRA0p4WXheWaUwoWRvz4KsBaaQJFW5Bw89hxcKHNBpKTYBxM+Y9XsS/SD4g==', date: 'Wed, 08 May 2024 19:26:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJKuTNmQLIQ1NusxtzGENCQb0ZWDzjgBBxoUSH_URzI6SgkRBvIgQ3D2wmYzA"; e_clientaddr="AcKB3jIXeygbedK5G2Zsvd_2xVw3ZPp1Lo1N6iaZB8Y8SfW_dGQztQF3lFsGZJTWAA8Y2fWTQFfXpPoCwToCFzScORFBdeQcC5cLD1qo7ZaSUt_s"; e_fb_vipport="AcIFUsz0L_hjOCSneNG_4ZZAwONP74MPuge6vF40cAjfkhM_uTC32YCDBL9c"; e_upip="AcL0xyD6udwidFtsWAmjN44v7yeUwyKMSA2ijfvBvO2B30zThX6TMaD3rvm9IBtDrR4rOCmioNkKyjcCNxBhq6Jj8sYXGNJS4rc"; e_fb_requestsequencenumber="AcLCowNdevVOhbM_XpyvSs6NJYUL5tX6pFcBF-Ret6ZCOfzopCz4CR6rzdaqPw"; e_fb_hostheader="AcKOZ7g4M06MBoJu5Bf0s718O5hA_-0SKy12GVArQ9CkFYKaGG7pz6jeb8VZqkqq9Y6Q6t5ncx7fuCO9"; e_fb_vipaddr="AcLaTAgk1kvekwbg5yxh5yk2ki9BkkrZtxlbcyfuchZUmh89cdD3O2UUoC90wZ8M25RdGLdLZ728IJtxbhx6iUzf3M4jxAfkEw"; e_fb_requesthandler="AcIcuz2d7ZDTlcj7FfqSPhA57F1LoiGhS7Dd06l0HxvwQ4kiPVvaej5IDhFV5kd1DZDUzL17t30"; e_fb_requesttime="AcLXckuRC2emGtm_j8us5BsVkRFaSQyHbQYIaTsrWLSMewUOnpthgDtht747EoBO2gt3GY168w"; e_fb_builduser="AcLco5IeNwj7JwEkWAuL35qMu5banAjo0FBX3cXDV-htcIynal9Wft9jcmUk_GnVut4"; e_fb_httpversion="AcJ8EgWec4-zJD7n32_rVkQoBknf1PT-S8MUALe2-7-7I5CDDz89PKvkiVR_"; e_fb_binaryversion="AcLSfgUf7OjgXWPpLq2zncJOfjJJ_ztDcK58bmwC8VD4moK5MgcXySyI_Jxpff01wqC4L2HkKbLESVuflxXHjYMAuPfJrzxJJWw"; e_proxy="AcJl5gFc9I1eDcQ0oVluOI-wFuKJbsHJ305diuBQsNXzxXKpP1Dgg4xImYmvIGiR4RFNb5ZRidTMzLdsYmcw", http_request_error; e_fb_configversion="AcKFGFGgL2VbwP3IxyDJWFtR3rCUqB36H2NZIoboWJ-Rabit3CBG6ZycWTaTIw"; e_clientaddr="AcL3TrwTxe78LQy7Lsaa7VIieCQjURPNb-5SE23AcqbHhVc9VHJ0k34myQD_Nt4HNm3QUA22noaFtLXl0A"; e_fb_vipport="AcLJGrMsqua-aBLPJps2BwTA9zwRdSW8uBSxmll8_C2K04IfCROCC0xAT-Xj"; e_upip="AcK1fHwfJoBo-j5bnXCc28RAvqzaPVUCHbOHrpfmrjtNeyZgRuNXn9_O91BxPucDez0z9Al3eWNGJiihWHsjFy5zvT5LR-eKqA"; e_fb_requestsequencenumber="AcKzN_s2UwD5ykxYY3w7cyxSobNDVWOTNvy2jVOhPbp9BsQz4zrnNmw4Lg"; e_fb_hostheader="AcLDXMCX7z7mStZZNtmjHgcTQWQZPPkf2QB8ebAwBDNkWm5BvrfWQqpyryjEkpGfaq6pd2WecNaUYQUE"; e_fb_vipaddr="AcK8szu7xZK-qudsgKC5sN1j0a0Tqt6Af75_VTsf7tb68UQzHrNK81nVO9WquDa35JCpqA5o4A"; e_fb_requesthandler="AcKSebhQMoIW5HBq1wyNFp06LWYLQ1Z3-gkAofQcqzhlQHRnHPDu6aMuWsPSrvhJW5O5EvdS2ds"; e_fb_requesttime="AcJfGMqNxvNBEdaJQhiTBBEhKXHCZ9oElHHBgMOxnu7zwYf1uPwtg72xL-pCykEPkGaogWjVNA"; e_fb_builduser="AcICvKp-zWHbkxNOMJ2jbb7LM3g79VunZhSgr4eH4CHUky40X22MMwMUNc08TKSnbgE"; e_fb_httpversion="AcJNfuHjWQYqD-Huu-_UmtXb-HMKufGBLlBcBV4n4uiNdp7L5ODkMRuLszlq"; e_fb_binaryversion="AcIMOC4cS0W_Q4m596tUFmofI7tCCFJxJ4FjeKoZKLwSu69RipTrfnAUqNn4g3RMNGIHkgDp_GrlzHD6kaI3__9Joki23Z03IT4"; e_proxy="AcIvf1E4-qGM0gfbtO6wQU-YAxlgIPwyDuCz1whkP35xCbbCIoRCXpjoIV4lQY82Pa_rm5Nf5_2biFM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=163, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7420154034768665"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/08/2024 19:30:59: Request bot not found: { id: '128159377280665' } 05/08/2024 19:31:48: Request bot not found: { id: '917983134950234' } 05/08/2024 21:02:55: Request bot not found: { id: '930390113644791' } 05/08/2024 21:02:55: Request bot not found: { id: '930390113644791' } 05/08/2024 21:10:04: Request bot not found: { id: '930390113644791' } 05/08/2024 21:17:13: Request bot not found: { id: '930390113644791' } 05/08/2024 21:17:13: Request bot not found: { id: '930390113644791' } 05/08/2024 21:17:55: Request bot not found: { id: '930390113644791' } 05/08/2024 21:19:51: Request bot not found: { id: '930390113644791' } 05/08/2024 21:48:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 21:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 21:53:42: Request bot not found: { id: '930390113644791' } 05/08/2024 22:10:05: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4323846, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 08 May 2024 22:10:41 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/08/2024 22:10:07: Error on send one message facebookId => 6863197947116907 05/08/2024 22:10:07: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/ce91ea70-0d87-11ef-b93b-9bd25cb26785__1715206240919.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AojhdtccxbrzJSkE94M9lkP" } } 05/08/2024 22:18:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 22:19:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 22:20:26: Error on send one message facebookId => 6863197947116907 05/08/2024 22:20:26: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/ce91ea70-0d87-11ef-b93b-9bd25cb26785__1715206240919.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Aq7NB7iJu5IC9dI7YSnVX4v" } } 05/08/2024 23:18:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/08/2024 23:19:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:29:15: Marker: 0 | ID: 663c18db817cbf1752894389 | Error: cant_get_message 05/09/2024 00:37:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:38:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:41:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:42:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:43:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:44:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:45:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:54:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 00:55:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:05:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:06:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:21:06: Marker: 0 | ID: 663c2502817cbf17528945dd | Error: cant_get_message 05/09/2024 01:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:34:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:35:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:36:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:37:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:38:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:42:46: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4391811, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 09 May 2024 01:43:22 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/09/2024 01:42:48: Error on send one message facebookId => 7471016416321914 05/09/2024 01:42:48: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/84c89ec0-0da5-11ef-aaeb-3ba13eb50f6f__1715219002028.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AmMuC4sab5UN-zKq0K0UMhD" } } 05/09/2024 01:43:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:44:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:45:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:50:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:51:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:52:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 01:53:26: Error on send one message facebookId => 7471016416321914 05/09/2024 01:53:26: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/84c89ec0-0da5-11ef-aaeb-3ba13eb50f6f__1715219002028.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AE4oZBhfXqHAlfH8wcDQ9XS" } } 05/09/2024 02:35:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 02:36:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 02:37:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 02:50:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 02:51:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 02:52:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 03:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 03:28:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 04:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 04:28:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:10:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:11:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:12:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:14:51: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4441707, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 09 May 2024 05:15:28 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/09/2024 05:14:54: Error on send one message facebookId => 7499355220154692 05/09/2024 05:14:54: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/25fa01e0-0dc3-11ef-b93b-9bd25cb26785__1715231727870.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AggnTHyibF3zYQfbdHAfIB_" } } 05/09/2024 05:23:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:25:27: Error on send one message facebookId => 7499355220154692 05/09/2024 05:25:27: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/25fa01e0-0dc3-11ef-b93b-9bd25cb26785__1715231727870.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A0NccqoEZoxm8bM13gyqdT9" } } 05/09/2024 05:38:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:39:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:40:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 05:41:26: Error on send one message facebookId => 7499355220154692 05/09/2024 05:41:26: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/25fa01e0-0dc3-11ef-b93b-9bd25cb26785__1715231727870.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A7wgcngyPMsq2VQiljHw5Ev" } } 05/09/2024 06:36:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 06:37:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 06:38:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 06:39:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 06:40:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 07:36:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 07:37:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 08:08:19: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/09/2024 08:16:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 08:17:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 08:25:32: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4480159, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 09 May 2024 08:26:09 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/09/2024 08:25:35: Error on send one message facebookId => 7573777706034483 05/09/2024 08:25:35: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c96f9000-0ddd-11ef-aaeb-3ba13eb50f6f__1715243169024.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Amos1n-SMuYvK8qX8RWz4St" } } 05/09/2024 08:37:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 08:38:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 08:39:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 08:40:26: Error on send one message facebookId => 7573777706034483 05/09/2024 08:40:26: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c96f9000-0ddd-11ef-aaeb-3ba13eb50f6f__1715243169024.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AffTJxQVf21bQsCx6Be7f0H" } } 05/09/2024 08:49:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 08:50:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 08:51:26: Error on send one message facebookId => 7573777706034483 05/09/2024 08:51:26: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c96f9000-0ddd-11ef-aaeb-3ba13eb50f6f__1715243169024.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AuQlC9Y0V4HOIRRQ7E5ft0e" } } 05/09/2024 09:09:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 09:10:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 09:11:26: Error on send one message facebookId => 7573777706034483 05/09/2024 09:11:26: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c96f9000-0ddd-11ef-aaeb-3ba13eb50f6f__1715243169024.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "APvQpio_Norfg16rGNVwKlK" } } 05/09/2024 09:16:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 09:17:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 10:09:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 10:10:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 11:14:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 11:15:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 11:16:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 12:11:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 12:12:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 12:13:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 12:24:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 12:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 12:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 13:06:35: Request bot not found: { id: '930390113644791' } 05/09/2024 13:08:36: Request bot not found: { id: '930390113644791' } 05/09/2024 13:10:15: Request bot not found: { id: '930390113644791' } 05/09/2024 13:15:19: Request bot not found: { id: '157194474881940' } 05/09/2024 13:15:23: Request bot not found: { id: '7885689554783675' } 05/09/2024 13:15:24: Request bot not found: { id: '157194474881940' } 05/09/2024 13:15:24: Request bot not found: { id: '7885689554783675' } 05/09/2024 13:15:24: Request bot not found: { id: '157194474881940' } 05/09/2024 13:16:47: Request bot not found: { id: '157194474881940' } 05/09/2024 13:16:50: Request bot not found: { id: '157194474881940' } 05/09/2024 13:16:52: Request bot not found: { id: '7885689554783675' } 05/09/2024 13:16:52: Request bot not found: { id: '157194474881940' } 05/09/2024 13:16:53: Request bot not found: { id: '7885689554783675' } 05/09/2024 13:16:53: Request bot not found: { id: '157194474881940' } 05/09/2024 13:16:55: Request bot not found: { id: '157194474881940' } 05/09/2024 13:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 13:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 13:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 13:45:14: Request bot not found: { id: '107116341895191' } 05/09/2024 13:45:29: Request bot not found: { id: '107116341895191' } 05/09/2024 13:45:39: Request bot not found: { id: '107116341895191' } 05/09/2024 13:46:03: Request bot not found: { id: '107116341895191' } 05/09/2024 13:46:16: Request bot not found: { id: '107116341895191' } 05/09/2024 13:46:29: Request bot not found: { id: '107116341895191' } 05/09/2024 13:46:41: Request bot not found: { id: '107116341895191' } 05/09/2024 13:46:49: Request bot not found: { id: '107116341895191' } 05/09/2024 13:46:57: Request bot not found: { id: '107116341895191' } 05/09/2024 13:47:29: Request bot not found: { id: '107116341895191' } 05/09/2024 13:47:39: Request bot not found: { id: '107116341895191' } 05/09/2024 13:47:48: Request bot not found: { id: '107116341895191' } 05/09/2024 13:47:56: Request bot not found: { id: '107116341895191' } 05/09/2024 13:48:21: Request bot not found: { id: '107116341895191' } 05/09/2024 13:51:08: Request bot not found: { id: '917983134950234' } 05/09/2024 13:52:07: Request bot not found: { id: '917983134950234' } 05/09/2024 13:53:08: Request bot not found: { id: '107116341895191' } 05/09/2024 13:53:18: Request bot not found: { id: '107116341895191' } 05/09/2024 13:53:35: Request bot not found: { id: '107116341895191' } 05/09/2024 13:57:03: Request bot not found: { id: '107116341895191' } 05/09/2024 13:57:10: Request bot not found: { id: '107116341895191' } 05/09/2024 13:57:13: Request bot not found: { id: '107116341895191' } 05/09/2024 13:57:19: Request bot not found: { id: '107116341895191' } 05/09/2024 13:57:27: Request bot not found: { id: '107116341895191' } 05/09/2024 13:57:45: Request bot not found: { id: '107116341895191' } 05/09/2024 13:58:00: Request bot not found: { id: '107116341895191' } 05/09/2024 15:56:30: Error switching inputType 05/09/2024 15:56:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/09/2024 15:56:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/09/2024 16:06:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/09/2024 16:06:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/09/2024 18:04:58: Request bot not found: { id: '215725838493727' } 05/09/2024 18:07:50: Request bot not found: { id: '215725838493727' } 05/09/2024 18:12:01: Marker: 0 | ID: 663d11f1817cbf1752894d7f | Error: cant_get_message 05/09/2024 18:16:20: Request bot not found: { id: '215725838493727' } 05/09/2024 18:20:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 18:21:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 18:45:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 18:46:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 18:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 18:56:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 18:57:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 18:58:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:20:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:21:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:28:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:29:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:43:56: Request bot not found: { id: '917983134950234' } 05/09/2024 19:45:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:45:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:46:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:46:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 19:49:45: Request bot not found: { id: '1815581812105014' } 05/09/2024 20:45:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 20:46:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/09/2024 20:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 00:56:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 00:57:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 01:41:03: Marker: 0 | ID: 663d7b2f817cbf1752894f39 | Error: cant_get_message 05/10/2024 01:49:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 01:50:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 01:56:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 01:57:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 01:57:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 01:58:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 02:40:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 02:41:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 02:49:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 02:50:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 02:57:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 02:58:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:03:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:04:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:05:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:10:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:11:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:12:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:15:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:16:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:17:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:31:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:32:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:33:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:40:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:41:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:58:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 03:59:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:00:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:15:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:16:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:17:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:31:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:32:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:33:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:58:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 04:59:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 05:00:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 09:44:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 09:45:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 09:45:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 09:45:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 10:53:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 10:53:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 10:54:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 10:55:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 10:56:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 10:56:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 10:56:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 11:11:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 11:12:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 12:11:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 12:12:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 12:15:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 12:16:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 12:17:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 13:15:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 13:16:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 13:17:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 13:20:20: Request bot not found: { id: '1815581812105014' } 05/10/2024 14:22:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 14:25:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 14:26:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/10/2024 14:56:59: Request bot not found: { id: '215725838493727' } 05/10/2024 15:37:23: Request bot not found: { id: '215725838493727' } 05/10/2024 16:14:28: Request bot not found: { id: '215725838493727' } 05/10/2024 17:12:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 17:13:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 17:23:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 17:24:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 17:25:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 17:50:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 17:51:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 18:50:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/10/2024 18:51:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 01:35:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 01:36:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:27:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:28:03: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4972712, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 11 May 2024 02:28:40 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/11/2024 02:28:05: Error on send one message facebookId => 8246343958712212 05/11/2024 02:28:05: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2e0d0950-0f3e-11ef-aaeb-3ba13eb50f6f__1715394520677.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A0U1E1GiXXYP3Z4k8IAt_sv" } } 05/11/2024 02:28:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:29:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:35:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:36:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:40:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:41:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:42:25: Error on send one message facebookId => 8246343958712212 05/11/2024 02:42:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2e0d0950-0f3e-11ef-aaeb-3ba13eb50f6f__1715394520677.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A1TD8TQ-jvGSkcsd7rYotxO" } } 05/11/2024 02:51:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:52:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:53:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 02:54:25: Error on send one message facebookId => 8246343958712212 05/11/2024 02:54:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2e0d0950-0f3e-11ef-aaeb-3ba13eb50f6f__1715394520677.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AqcQSAVpNa6lVg-8FWVfcD6" } } 05/11/2024 03:03:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:04:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:05:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:20:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:21:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:27:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:28:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:29:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:51:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:52:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 03:53:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 04:03:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 04:04:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 04:05:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 04:20:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 04:21:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 04:38:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 04:39:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 04:40:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 05:03:30: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/11/2024 05:04:30: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/11/2024 05:21:01: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/11/2024 05:38:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 05:39:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 05:40:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 05:51:31: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/11/2024 07:07:01: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/11/2024 08:37:31: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/11/2024 11:29:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 11:30:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 11:31:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 11:53:01: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/11/2024 15:51:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 15:52:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 15:53:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 16:04:21: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 663f5447817cbf1752895807 05/11/2024 16:37:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 16:38:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 16:39:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 16:51:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 16:52:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 16:53:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 16:59:23: Error switching inputType 05/11/2024 17:37:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 17:38:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 17:39:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 17:53:31: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/11/2024 18:15:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 18:16:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 18:17:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 18:18:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7256668431111659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5167297, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aj24Awt0okp-YQZbPfIKF7D', 'x-fb-trace-id': 'Bul8IqG5vAi', 'x-fb-rev': '1013449596', 'x-fb-debug': 'zqKaAe2AKnssJMIvAI/Sry/NO4aaXFc/h8RzEUbeTF02fv7TP1pOivgufBVxAB7ibpiaL/rlMIJTzroi6t5c6g==', date: 'Sat, 11 May 2024 18:19:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKpCTssMkRhuAvGOEK71fSDlGRJXcOLFH9sq7SY7vHmnMQEyADi2QtaTeTiLQ"; e_clientaddr="AcKNLKnRdQOnXQvbA-rN2RwyLmNzc7dtOe0vxlQBcbK5MQ5zKN2cxPo8wjzxIMtzAPBJV2r3YKLgkUKIeRLbYc28kJ693JAaw4ng4Bz6RNN9Co4K"; e_fb_vipport="AcJKKL3cC89WmZcBgFxDtqhCFMcHKh2o03EcdJk5aJMX4F98orE6nyHgGQV9"; e_upip="AcIrrWfh3Wy3O8ptpo2i07MTVrth5u2WNbPU0TUkW_1t0ttIy-5aDE9Dfh6ta6cJZPIL5AB7r-JQDhAg4vzD0UWRLgKeyKF2pPU"; e_fb_requestsequencenumber="AcJo1Ze0Dz3PNO-z9EmblRLHy01nLQDr8rhx_jyA5E0Q_VrRyfYQJsi_YXEI"; e_fb_hostheader="AcLlTtxL1HzTxjLy3KjwPIyqaE15o2cORTnlvcALFRsZmxPvyVPzbq7_uOzE7SxQGbCPAMaJBS9wUikX"; e_fb_vipaddr="AcL2eSs2zVTgEGRhOL7v7p5vCwOOC5f_l8nHd6znGx7njIktJ1uWJ6F5b3thMHpsI0EYPAeDzP-qfBnbt1gMa5nIk5o4n2x58g"; e_fb_requesthandler="AcKWfCRULnersvpKxiltte4QNdLkH1MQqcAXScFMXp3hLaqyR-Ch3qqz5TmB5njLn_yOX0bzl4Q"; e_fb_requesttime="AcJx4x4-VNl9EkcFrGSj69CBsvrXCHr50ELB94abQyJKXMNgmiNFkat7aswfCJmetlkv71Mylg"; e_fb_builduser="AcILWKzRly2J5xNv97fl9nhAAz7AK0mQfVukF3wC2vD3VnsQfdEnhbMXZfJZAkyzSh0"; e_fb_httpversion="AcLa7YJf4zWtJQ-Yo56OXrraf5GWIJkgXI0uGysmQIQz0Y3cImPjOrMSEZa8"; e_fb_binaryversion="AcIuJ-zmYd6dhKDN3b2RQxTNzvVhhdJTvhlMGlMmszt46FkXl97FPUlbngbbiyMZtAQG83i1hhPrgLdKt2xK2qllLQ0f881KYs0"; e_proxy="AcJWbfmm-ECk_DB4KXTovOmXGw3UO-aDNcLFz86dbl0FMuQi4XSoLH9OqsTuwVH7oDJEHrSByGaIeSaI4FRE", http_request_error; e_fb_configversion="AcICFS83d2biDi5criSZdtNMjpP1krmWzcAE0yBvYRvK3Ih78PRXuLhB7IcaBw"; e_clientaddr="AcLlqsL7VTF46nKwW7z4FGMiFrfTHOtknwkg0pb7XBRUpT6oIqrDysmveUNWh9G0yYC2V_stYPQDTTvGZQ"; e_fb_vipport="AcJ5MWGd7MZQxPg6GYJzl2cs5PiPZRBQRoD4B22DkbPTg2pdTAArc9o-z14j"; e_upip="AcJljMQx9n3HgJGYVqdI9G6uMEo4Y0-RHWbHZLxm16PtXgNGgGnhjmvDG8t0PjMi9Jb9KUtaqtGrEaGiAJxT5JjyhsD9slDGww"; e_fb_requestsequencenumber="AcLCnYwYh_hd2gfS-yMeyXCfx0CDuG3et747-xhnRxBxI-ebXm7OGi0X6w"; e_fb_hostheader="AcK5TZsK6rtCERqCvljGGmK_8j85MQxZhutbBkPjghvaPJVRtWz339b80CySyuqEFsEI5zURx1fzINUa"; e_fb_vipaddr="AcKyZzHCoIpumGJVLhCaWTLtEb_0Lq4x6RoGn0WQbZTL1JldBaHfZxw1GqZ11EvasHDzAEZamw"; e_fb_requesthandler="AcIhcvj76MmHZrYNYCZcc4IlGkqt6YvN9teqfbM3M2nzQiNDO0sztq_Ng13uKMSU168ixo9oDOs"; e_fb_requesttime="AcJx2oGGrG3CqNRr0kuL8gskrz-dqHRtQb2miJa6CujJNiPFA4AbKxf4fY3K0ayfb6gkvGM48Q"; e_fb_builduser="AcJhBov5YEyo_yGpBMUhbK5KgXgBhiqqGJ2iIkM8aay0KRC_kGDaywxfaDTmXI8WN7s"; e_fb_httpversion="AcK3SeNHpyXUyuQadYshjefLAEzvaXM8d87gqE86XJnK229LyoCkyjeT84oR"; e_fb_binaryversion="AcJzwRtKSq-Ya9_jcx3QoBU0n3Tx23Q6w9ZlfiMcchiELYyWhtjftGemSGJ0AiM-OfgwoRDTdvBkLmLdDLZjh4xeIV6g23p137c"; e_proxy="AcIugBv1fmCSMbpzgrVx_FE1w1m4m0Q9LOWK6l1xoJS4LGF9-7UZo-PDSSvYCZPLLbrHZlkmS-Sgksd9"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=82, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7256668431111659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/11/2024 18:18:22: Error on send one message facebookId => 7256668431111659 05/11/2024 18:18:22: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ArYavcxvBkRK7xahP_040og" } } 05/11/2024 18:18:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7256668431111659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5167505, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEoM_Xx4wUwl5x12Wowkibq', 'x-fb-trace-id': 'HEdhpALmwPt', 'x-fb-rev': '1013449596', 'x-fb-debug': 'mf6bKMR2W6QsRO4i8gedl2MYFU/hPBXss8fas/RI4ABbi3tT5Iyp7cMMjvCt8k670YdL9aTzZmgSVn4+0nb28w==', date: 'Sat, 11 May 2024 18:19:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKnzEKM9sH6MnDQ1rcEq1qxhnz9EzgagPjlgecYyvepJZUmqPzSIpqxNQem5w"; e_clientaddr="AcLTURpWNoAMbmr5dMafb0w9RMoOCBuqxK6xOlTOAKePUDWFQspLKDSuvkqMy9h3np8Xc3gA9UDSOxnC-WwMuKzgu2qUiBQkGMq1Y5oLctkgna9Z"; e_fb_vipport="AcJrs8quZHTFoy0tQBWjE_j0rNs9a9enPK1Cg3OMeIEyGjYP7ZdtTdmPR0wF"; e_upip="AcJq4_HUrPE_K-dwfY4-6tMZT2FU63YgdJrYInNkx-w1v4fvZhgPJrc_wTGMt9uUO7TJI05I1NBAOb5fXLFKFWJKaXnFTVHi3LE"; e_fb_requestsequencenumber="AcIcoX2DHTxWpYCV1Dp7eseg7_QwctnOWa4HmdMHvHwJSpbNBLnQ_GY3Gs6r"; e_fb_hostheader="AcLLP-BFi1l4zjPyX-XT6p4sP-UhcGtpnuk9tE7BPfOqC00eT835NmNzIZ1Ep85CkgPMIzp1rIR6A5T_"; e_fb_vipaddr="AcImgbZ7dmWjnkSvPWO1GCRs8z3j38pPDJuHRd2lekVn-QmXQsKlZLgojhoyknniShuA-8Y-imrNyWotrmfoxXX5rCxkKTqXsQ"; e_fb_requesthandler="AcKhE7TghDeXxA_FerBdq_yNbKJwsJq83bPF05rlQWu5Loh2ZtlNEdhSjnGjdBp9MQUo4qFrL60"; e_fb_requesttime="AcIo8vQohcBg4xMlVfuhgz0TailOgrXrqT_LQbQFGu9QDXbG8kEV3Ro747V8l56167Y7wqi5fw"; e_fb_builduser="AcL-eb1teKeSQ-0qQo5VMHzc8LOJL9ON8qtf1DGvURzW3oEbuU4hnn3pSkr8Hw96NSw"; e_fb_httpversion="AcKzV20vFQ36rqYHL6GN5XQXsx3x1MKO7Ddg-TQ6W4WdnykHUXaE8Gyuiz-l"; e_fb_binaryversion="AcKDPffbZJNqLoSLVtfpB03zulz8MtbzdFv69NHMSDKUpfAQLm-WDDfLBiOgOKy3CdqOE7KcbnubWJxyjgfyh8128-nGHy-q6RQ"; e_proxy="AcIsB6FNUcfLeut8x-8j3XAbUx7iulOCqBHCDraOA4gWwRKpWsdO2MhiYcOSEI7J3AMZG10doaWG-xs3qpg", http_request_error; e_fb_configversion="AcJr3F6VGWNtSJyjwRwGqnhHzElmc4Xi7gC02r2nx5OlhKrw9e0VcqFsV37Z1A"; e_clientaddr="AcKHqaigJbtDD5Ab0piXSeu_o2yxyCS6LsVAl7Hy7_r0vmoGS048pSQjQijEAaCh40jgyIffBBpL3RKjAw"; e_fb_vipport="AcLdtuJ7FFbDuhtDRXM5STYnE6Xi57cNmnSe81Bqr9M2biO-wpzZ3hiSzAkL"; e_upip="AcK-SdU8bvnlWXCOvzgUNv4fFXuUxIoXU-UQfaMJOBVfYNPf2DUf3v_2tBVqWzsVbqV6jTjwMsU6C6kGoZd62Rdnv7rJKhAwOw"; e_fb_requestsequencenumber="AcJH9iQd58uKDhoMITYgjyP3eWy7YSnVu9yz3bE-gqtZIv505AjIPgvk_w"; e_fb_hostheader="AcJZPdBGzgshURCqLdlgRyR6g2IDcXJHwch-mgggzjnCvUBuP2NPl6CvmvoxgXGiWESQqnA7EzG9rqmv"; e_fb_vipaddr="AcLjtX7OskSYQFGW4z4__RhUaCiJet77qgMQDC4a9Ro5877fjYLESI9n10Y1WQ4DcUIfT7U6Zw"; e_fb_requesthandler="AcIvAR139_u_J1ZqPc4uxupHmZOhJo6oZSnHQTYjo4itW_bgecMkJfCXGZUxN5lA17i0vJQhvrE"; e_fb_requesttime="AcKZb3g9_3Ts6a98RWClNQO6kadYuQP4pLiYT30clYFU5qdwjTMk39W_25Kpk2lZKIq3Mh4jxg"; e_fb_builduser="AcK76G20agmSvD1T7orG8GfmDrEAKPhT40PlFtyxMNMcRb9MTomn8pbomGvWG69CDlY"; e_fb_httpversion="AcI3bhYtdXSvNIJZUnCRAJ-FQdfQQkifS9sdLnvK_5vV-gPtrrgV7ivfiSQa"; e_fb_binaryversion="AcIbBOjd6Ot6YRrVVtlUvnHrNX3aIvM8mq2qbPEGf1Nt9AcPJF41j1WmSEIvpCKII7tT2uQXwJ7wnlkZeqaGxWAVP1-jYaDtQZ4"; e_proxy="AcLRuuCRBc_2vCyWxKmOtAn5VoPCRi7zBMrcHIpKbYIR0xzhxgd0PryZcNB5qSoe5_isGRe56Qm_H48i"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=101, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7256668431111659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/11/2024 19:15:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 19:16:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 19:17:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 19:18:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7256668431111659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5177917, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHEYTT7Tpo8LIEnuiLT4Cv0', 'x-fb-trace-id': 'C5DLXemTfp9', 'x-fb-rev': '1013451599', 'x-fb-debug': 'GUXC2y0JHs1WpvnlfS45eKoSGx3rKJZVtW5g5tgXxHbc7cSzOl+TE1hiMBT4E2wHFlexAQeMRnQNDNLrrqEFVw==', date: 'Sat, 11 May 2024 19:19:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJtbkpFmE_S4ceOQ_phJ7P4Tq7BhTD9lLvH6zMlQgtQ6hnfP8Jk2RYff771_Q"; e_clientaddr="AcIbxkoWTlPddCqheZF9aYn_019KcCPfo-aB8kQSs4sQNf_5kWdMkbOQ5_XzFKKkC_hw2jOGVkX82CNIPE-wmtUpCf6wrW0PLyp_rvqJAJYIUkLbQQ"; e_fb_vipport="AcLg9AnxxeiP4UoYQNBLukp8A3ceBxlobM1wYKUFBcGZLqoxcGGaJUKqnVlr"; e_upip="AcLpOAg8GsGjYwYM7TbAsen1151SCh6jVUeP2DiMuYV0mvlynUi5hQPxsbblHcKK7SLQABRO6SnDA_5lhPoon04VKcJK-D0LgF8"; e_fb_requestsequencenumber="AcLRf5HREMLdxe2aotkigFry9HkQODgnOKyKWwOxbpngojd41c-LNR6N4714"; e_fb_hostheader="AcJg0dRw2-P18Z3cnp9kyurtxSLLxcc7rQOdzZ43CvZj8BG7oQYlEeDvX-SJkjWTngDDaoQA3vqvNKIh"; e_fb_vipaddr="AcJP-KKghZvoBwXgdTKH2ngzK7SBzzvvxhs2SLCX2vsaBkSDEAZHbTcHLD4vJIXCkFiBefltO7mC7ynHKkB5BglnyFMHW83iZg"; e_fb_requesthandler="AcK5KECD7VIANBLR6LTabAKIa5cw0WE25QxJbDO7YDac6zl-8HF6I4u-9pWcmq1DNtM64ScW1DE"; e_fb_requesttime="AcIcuRsBL1cdavL4rgKFHrF0stnBfkioQC9TKX_8jmPvzjjfhh0oMQ8uV1dA5SpMvNWb00QE5g"; e_fb_builduser="AcI7Hv2B6nnd33LsnNMw6OZ36z3oHEOPpDkF0wq2IlmoOAqszivcbnWrSEbg8cSES0w"; e_fb_httpversion="AcKUM_cOcXHEJ4z4AEXR4OS0Z1XLxt9zl4T7v7WS0KmCJPh4takts77GgDAD"; e_fb_binaryversion="AcI5P8K4if_TXw1HtnMnQnYZtg98Ah1LoIYQ-xEFObxTkmya5N5d3GMFymrbnupAibZ4tGvPHzo1hlAUBRMlo8TEXegRuIEOK8M"; e_proxy="AcI-x4mT0Y35goEYVcKnzwf8DOsNLypFJbuGHOJuNd8Kr3hxA9Cil_R3ve79e9BmIJnJSdWOXaQdYM24VMF3", http_request_error; e_fb_configversion="AcJB_LPZSvpY9RzcTL0A0QGuKoCSipjIV66EY8NtnD0AC-Fb6ik0rHs-B5ECGg"; e_clientaddr="AcIre_ul1rn0HJk0UO9XlJYb2QHkULt7_wlDwSlgXQ2V907g_TtWt9-jkjO40_yX_o57F5kBZjIoH5lkyA"; e_fb_vipport="AcJeIb8nlTtDn_gl-gcsEQEPlpGCsDzEt2LsbfyUDZrZFQfWmAgrW0dhYctg"; e_upip="AcLonJHS6RMEo5nlkmdpJjVk025zxaBNmnbIMgRttzVSiT9IJvqNyXtE5rMv5uaWR9EP-TLZXyIN6QjDX4s9P3ug_1UoIdVP6Q"; e_fb_requestsequencenumber="AcKROpyKi_M5wBEZ44UPYHJo0kCmiAOJZfWJlJnCTP7uIOJ2m3yV_aYW9A"; e_fb_hostheader="AcJmliEhpkm5PkFUOrMX1ln3ObF3N3jSZ8QcoD3eIymO606a1i6oWBv2e5XEhp7RJ5RZQLZBGYfzv9PM"; e_fb_vipaddr="AcIK1Q9krdRejivqFhI7il2Z72DUiKkF8anZi5RVj0N7O9f-RPgPZmcE8Ps8oLbrzHgjdVZQ4w"; e_fb_requesthandler="AcKc-yy6XpqH-kvlKSJJJDQA-SYStRdXVB1F7fERnkCAbCt3vonRUMlKSEskXy870J_k99Svn8E"; e_fb_requesttime="AcLQp0wNdohVK4CuczeCDAdIWQKYCcRobrF5eWflMTxTQSX-EZGxk-zLnVDGzldArZddBV3lGA"; e_fb_builduser="AcL7HTEMvDZJkZimXbkfP7QAiHF9ACj3pLwclUQNk182jgyxJjmxfw2JC8dQbXJ6aUU"; e_fb_httpversion="AcJ2iXxFOWRecCLmADy_UoRsIWgO1QJqYS0R4kkid5Y3WGQdw6btxWbyaJ6O"; e_fb_binaryversion="AcIOw-WcEGjbVPqOq9J9AFL-iEIQOxx7vD1PaJjPspMUuxuXMN7juMyJScFan6Oh6BPP2xsfppnr98GOraFXop2IKorbPBxHLE0"; e_proxy="AcKMG-MYJoGoiSKhe0RZexx7p4noUZd7hjz-TnwSX_RI5SsDue5Dwnvb6r4PkVWi7MvQ19IPuAxrtyS-"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=95, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7256668431111659"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/11/2024 19:18:24: Error on send one message facebookId => 7256668431111659 05/11/2024 19:18:24: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ARmf1M8v6zUt0VpE2MYaZsF" } } 05/11/2024 19:18:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7256668431111659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5178094, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AD0HlA1GR4xun65vZwGGVFl', 'x-fb-trace-id': 'AaQ4wGhnFjU', 'x-fb-rev': '1013449596', 'x-fb-debug': 'obxpZXBKoIGw1Vw9G+Mh6+52TyitoXcbU+0div4/JVTH/ePHTry7UsaVVkWLStWjdaYkRJ2yUuVPwCKa5Ve+gQ==', date: 'Sat, 11 May 2024 19:19:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcIk2lO7ZUXATzzLT7jjEzvy4uPpP6FKN3ju9wXTQdEFveNRdTgtVsQ5gmX7kg"; e_clientaddr="AcIh6cQOwYkyZn8MEtZ6eo6zpTgwXjtfOvY_n2p1WYXT--tnQYs2ypqG9RjW_eIZesU42o16HNeQ7Hi-Z1ift-5NKHbZrzaqdmaUW5C3Ncd5GOyi3A"; e_fb_vipport="AcIwGuu9rtGvou5Qh79Q6Co9D82S1DDgkyR5UHQ24ijDC-ObiVUEtS44NG1R"; e_upip="AcL3hKwRP53inJGtlgINMKHTtJFr0m3fAq2pEaKOWxhh_jG-pf9r93C7vl2QIv5jpN6sHCsVClafEX4Id8ke2iOksZWmEnw5M6k"; e_fb_requestsequencenumber="AcLr2MMZpiGS_CbscOluui6IJ5q9JMJcxO5cLe5UBrpH7Ag1o_nAxJMfgy2-"; e_fb_hostheader="AcIqXjlIY83HiGrdH-2gZ6UspYz0gnoDgVtdssjaMm__j1PT8GEowucL0EsIGNMc6KjwE9eD08m8j3Ut"; e_fb_vipaddr="AcKH2ozzPxT4y5RR5j48npHG7VFY2tCnSMVuJZQ4dfs4baYcDzAFHVf8KAt78xu6pTQkTMDIN83hF3d7-6o5eZEx5cz4x6WQNg"; e_fb_requesthandler="AcJ99Aoy5jzgFVBjxW2bpIGEiybHNozBMda_-vIjmamYRSjTUhOmmOKUzs1A0uROUBBy2YPsj_E"; e_fb_requesttime="AcJav-8n4fWimjnrunoveHVs8kFH3Xn6_f3ZaX1Ov97DZ3t46l6h1dd0MFuQA2fI-g8JmTrgGQ"; e_fb_builduser="AcJH8ZPyQu9vCppVwZHj3MGDQGPwifb1oc4eM72-UOpqVQsZaMHiqwTj-nZmlGljI1Y"; e_fb_httpversion="AcKHzChitChuokz6ITf7PTwL5Jbqw-MkjBvfvb8E7mimJousedmLEVs6bOo6"; e_fb_binaryversion="AcIa9Mg5Clp_DUXVNQPPA7iJ1UJl0G-R7sFEvRoPvDgPPKJUO0BTMoG4Kzn_78sq1S2NRRFuPVnE8uXDVoI8rOAacJ0tX0N2u4g"; e_proxy="AcIgYl6WNCIgoFmFqKzgWVSB7FrG_2GOMWrndOyVpVkevzmmJzOLbZqb9wy65qy2lpM3ZXK_wlhDiyn5ip5A", http_request_error; e_fb_configversion="AcIQT6JgAXs9rmttoXUqJT0QBW2q7MIVn1RtbgGSzYWAYhok-5dhj3EkBAxn7A"; e_clientaddr="AcJRsJK3kFdmsE4a_L72gLTH_6Sv40prLUcGxUlWY2tlsud9n5clUeeYnL8vZG6IaTcfUTGrze_wIun9Dg"; e_fb_vipport="AcLTZTmuitafmYW66WH5fMV-uHkSw4vrrcjb6JYlLzvL0ODV_rGfK16bNE0j"; e_upip="AcIv1aSoXuyzRq0XD3J9cE_YOHs4LLRC03H5Ojw5IIPJOtHUbjf3yaZF_bJ-hJDr4Q-KOvcGHDg9GoE57jWyNeQ8gpha70gA9A"; e_fb_requestsequencenumber="AcKDoePTyYug12efLT1DJUpmjgOGMNTWVrzYFAe9zNWNROQroELcuY6N-w"; e_fb_hostheader="AcJ_TRRJbdJzm8aul7wFumwDTjcTcU6s0_qx8vv-_qHbst3oGLZY0U3VeL5kyBryD1R6sSr8whf5qlNl"; e_fb_vipaddr="AcIP10bB9owKuaUXgkgxrf_212QUEwIV2r9PWdKd4gxJOdv4ibwpZII0uU-nD7NpBXVMnO0bEA"; e_fb_requesthandler="AcJhsm2H6g0xOJnl9o8ze6720X8LCL7ZSkAJ_LP0qZHSUtKwvNZkn6Fy6jiWLt5QzOmMh3qE8H0"; e_fb_requesttime="AcI96p2ysMAZuIaL1l5kAfVsDNlTLypGm7bqFAqZVqHcc6S1EhX1JEOXTNWmIBk6vYxKKdf5SQ"; e_fb_builduser="AcKnxRckfpA2Sscn-1aYxb7vE4lTWT4SCzqLi_Bgbbu7xSJdEDlyhSrc_aMGoQCSva0"; e_fb_httpversion="AcI4kVx0CFbLsJKR31rcYTuqLDg-Ao0FoYiVBmY-EUr8zqAN4a9KEbhSAf2Y"; e_fb_binaryversion="AcLQGm4ZuCLzhresfgxR6q74_IeDbQhbJW_2Jpanlt4fPZdGFEecVM55vv_Ywol6ctNWsCln0CxbPM9dr0Wo8D53Dxstz1M7swo"; e_proxy="AcKp1GCIpPAPe3D0aYi3dUZTqPUmnRzoZZPH3jCAF4qao87bapY-0SqsqEQWICSSZ8hd7B5fyZOyT0M"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=162, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7256668431111659"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/11/2024 22:31:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 22:32:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 22:33:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 23:31:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 23:32:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 23:33:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/11/2024 23:55:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/11/2024 23:56:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/12/2024 00:45:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 00:46:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 00:47:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 01:32:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 01:33:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 01:34:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 01:45:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 01:46:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 01:47:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 02:32:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 02:33:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 02:34:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 05:54:01: TypeError: Cannot read properties of undefined (reading '0') at /home/ubuntu/api-facebook/routes/webhook.js:35:71 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 05/12/2024 06:58:03: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/12/2024 06:58:31: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/12/2024 07:06:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 07:07:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 07:08:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 07:19:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 07:20:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 08:19:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 08:20:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 12:26:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/12/2024 12:26:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/12/2024 12:26:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/12/2024 12:32:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/12/2024 17:56:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 17:57:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 17:58:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 18:56:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 18:57:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 18:58:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 19:01:50: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/12/2024 19:54:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/12/2024 20:06:56: Request bot not found: { id: '917983134950234' } 05/12/2024 20:33:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 20:34:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 20:35:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 21:12:07: Request bot not found: { id: '215725838493727' } 05/12/2024 21:33:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 21:34:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/12/2024 21:35:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 00:38:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/13/2024 00:38:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/13/2024 00:39:16: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5503905, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 13 May 2024 00:39:55 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/13/2024 00:39:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/13/2024 02:41:23: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/13/2024 02:41:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/13/2024 10:42:28: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/13/2024 10:42:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/13/2024 13:19:48: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/2332141756835212?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5636873, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /2332141756835212?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2332141756835212?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/2332141756835212?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/2332141756835212?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWPVQTtSEuK2Csw9dgoE7xL', 'x-fb-trace-id': 'BeUVTphObPr', 'x-fb-rev': '1013462610', 'x-fb-debug': 'Dw12uk2OWrlcFDF/01H8AH5UuNbnqtWSZYRFfZ+wHFn9uHbq6ARciwKXxqFIeA0KT6Ayzx367L3TWUuPcKe0IA==', date: 'Mon, 13 May 2024 13:20:27 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJfsVJ8g1wTmkMMWY02GSFBM9FpvXzq54_w-SSot_Fek1PcK8mfNfX9wjOWuQ"; e_clientaddr="AcLBzV2SqAfhXhhKH5casuoplFdsJyO5z7aLUPN2t6XWxY-cAyWOZHWaT3NauGIQDQ3gIGHvr7b0yjgBp5vhRjGXzoUU5j68ZyVViqG3MS3DINzn"; e_fb_vipport="AcINZ2F2Dm8VD1eNEmE5dyhf9Qw7xHoSx9J0Ixc8AFyHgKYcqsluvMw1a1eC"; e_upip="AcKLwpwT7sbUt61KUcX_4Oq8j6D7aUwLRUATdn3jvUjKsBmVqKLX6kYBQs9QYEptPSO3nZLD4coMc8PqfWbsSX4WJbNMtoiQ"; e_fb_requestsequencenumber="AcI0vYq1huAtteo1kkF0PzMi85VybZClfzr53K0_69AwWvsWbIY_DGKha-78"; e_fb_hostheader="AcK9N3oTVG3kGUmhWfFs9xVOJ2lC8FqQQe82iM59h8-kpGLf5vki9RTfyDGxx2aH00PXGZxx4tLK6p-x"; e_fb_vipaddr="AcLM9v1q1IWA8KwxJgfADOD-OlW8INwxP6XQb61-WT4tHhTEpvdpvjikgb9NPBrcV3YrkYVSYJPe8tIA7_jeSDevwyKP-bdT2g"; e_fb_requesthandler="AcLEcevZoGmwFdEjee4Xndz2kl0N1HJZEaP8342wKYcET5HxONj-2KzzUozc1wi06UVJxAnHMw0"; e_fb_requesttime="AcKulpwUjKalKGZo7Ox7YTmPFQHIJ-M9bvNWOip0pEjDSromiAdwMSVTXWWgvHtvSaB0Xfs3fw"; e_fb_builduser="AcKSYLvtE4VR1kG_CvQELMwLy3zV57O9Z-B5YulKvjdsBAkZN_ynUQqpEem3EDQRyIo"; e_fb_httpversion="AcKkk1DnIbRmESFfLgBq1ESOE_-G3zxEIzmSchzPIg4wjOevZI5F3CWu3d-a"; e_fb_binaryversion="AcJvkJjTIo2hl_OQK8AxT_WlnUQm4rX-U5h9afR9AWuZX8v5qwsd7ACuieyWoLHPd4UcMGI_Nt8tSD6UQ91E66_e72Tim6ndl3s"; e_proxy="AcJQWcD4xe0bxtQWU1YYbZ55Foq5l6UiwBzXe9LCWzqul2wvm63S8bDmAKrUgdB2VQ4QxpGs7SZm1ACx4nr9", http_request_error; e_fb_configversion="AcI9L8adxhPpDIUxt1bVnDMBe1E4ywP0b4bBLIwuwxB3md2f3GoEKhsa7wYlOw"; e_clientaddr="AcIsodpG2fNajR28CS7H50xTpI07A6efMsWqshjUtFpCc5cZD66rXTXnk4QYizJGSBZZRkecBszpHlCang"; e_fb_vipport="AcICuN561jNZJ9zGsSfCdLLkdRCmu4wixHkl8yldUKYYLGgk0ITHx0MpFRZP"; e_upip="AcIOUoCk44x5Hdy2z-wBvnIlGj3Q2zBgLrWQs2DehJeqLST4T4wfD20tnpPUYS4FFx7wBal5nc2yiZL5DIUR8uwQII2U3fyF6Q"; e_fb_requestsequencenumber="AcLPpkXA2MzyIGMoGsO2sR-KGrm4CLSb8_1DkzioiqWkLEHnM7XZuxckbw"; e_fb_hostheader="AcIg67zHyAEtPFvA_MfZSUOpuHK-WukX68ruSnJGOtrcrR0dp2nZ-0V9VuiPWyNhaK9PVT3j7iCbKPHJ"; e_fb_vipaddr="AcIcXOSMblZpWqsLCaiAdj5w6Ab3JXn0Onb5u71spu6PjxN_t7xvCxuF5VvmnJcUQpp5fqPpWw"; e_fb_requesthandler="AcKeU7En7Km8rIhnk9rEHfl9rrYnHWCzJaGobfKRDauqnj6zIb6EW39024EmudJN1E4C4SWUMA0"; e_fb_requesttime="AcKKvnckRbhdZEKGdccp_0fjoy-E23sb3H_mKtvG7HtHX2BeWu-qnwvUj08FM-nuydUXae9Hpw"; e_fb_builduser="AcJIYqFWkp3USXixcGR4_lrfe3GD5BPmZjmPRdpB_g6zuCqLLHLu1TDYxlt91SwkZKY"; e_fb_httpversion="AcKNLlzWcfrPuyhVCwIfgS7bXadnx0fUKH_U4bTZeYum67-OMcIdn75C7ncy"; e_fb_binaryversion="AcKR_g0JCycF5gRVsxFcslNSrh-QA89P9G9xhZtRoY1LD-G8TDuGUXHINLyaSjqN_z-kfanp85Rabzsq4lDOF68CAEFXqYmk5zo"; e_proxy="AcLaCzbMsaMttWy7djoUSpjIuTH01Cfly991uDy1krdUnTHwX7OcvFBliUHVXXhrakclpA9s5xqEQSg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=214, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/2332141756835212?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /2332141756835212?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2332141756835212?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/13/2024 13:19:48: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/13/2024 13:19:48: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/13/2024 13:19:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2332141756835212"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5636996, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOgrIbrVTHhgq9raihU8qfL', 'x-fb-trace-id': 'HkIQPejEcrl', 'x-fb-rev': '1013462610', 'x-fb-debug': 'cOZZMggAGU9fpr8vev1qCC8Wxe77+vIChuhtTsTC2ARpnbwXX63F4uFEfAD2y/AW8485FAYMF4hKYfzaga4W5Q==', date: 'Mon, 13 May 2024 13:20:27 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcIHGhSDv5AUXXRioUCeckEZZgHO42NHiUHKyr56Ih5SR51ZYNU8cW4ohBNccQ"; e_clientaddr="AcLeP5p9Ah24EEyfRvRnOh4dHRe5FlB1VlLY5C3cK4y1uRnE1DzqdIMIgb-TmZvD59O1X3NAqW-dBxegJjbnu6bWQT7vtZOow3Seuz07e7EEygo2Qw"; e_fb_vipport="AcLmC5gfKh_ufaA-hIaXkY-Q-bUMyFlwdgg_2YxiMf9SqvwWivaePQGBBiYI"; e_upip="AcIlozonMALYgQWpjW60M4rMuG-MW0h76KLM1gB-2mdzU3op3tK_1mJbbgVflm4BfGXxEsBh7b3Thn4L_r31GnIuLXYQjrUY"; e_fb_requestsequencenumber="AcKBz_w8MJoLiCBISFHrv4UJu5nTtGoZcfLFTKOkyEsljMsSWVXtXyPd5g"; e_fb_hostheader="AcLYmUQ3_4zD7WVV-zQMBlUF4k1uZKFVP64gnij3wN7EcLNEpiQTrcquvREI2S2dGBKDPw5hNatC_RZe"; e_fb_vipaddr="AcJ6VwTxC1xFrcugAyW5lAup2v-bd-OvIR4LnzGWiGOPxkYHg-bUHaup17Qg3a-jecXSBz1gJZtJealBBht67VmAWmidBcIYag"; e_fb_requesthandler="AcLKhGQ5Bom4Cab0EQHDEqtm6NRmFuYhi3-bt_VLsHGkm9TRM2vHoKkqOjTr2ciMx_CDGi7pj0w"; e_fb_requesttime="AcL-nw4sr59KKZMS2M_Cjr2qFcfAXrjA1CAeYkI_DlWb6eATHNrSZIJvwSWWEUtQ0kWPvZspwg"; e_fb_builduser="AcLu5EILDSFtyZMKUM3zOASp6lZrlR04MVMVpdBrBrOabVRv9fpASpQDgPwj93H0aiI"; e_fb_httpversion="AcLIGZNLcmMKL8Ag-6AQeZ4KNm2jf5DIHu_TnrMbEfZrUrELBOaIQUs2w9E_"; e_fb_binaryversion="AcJwBerv4ArC-_LR68z7pcSGlUK0Nzar601A1AH0V5E_pnudC-n4L-Iiqp52emWx0NtnKJRlG8aIuFQJ__fhReedF4f4nP6jQAY"; e_proxy="AcKqvyclLduqRxeD8EenF9tH4tQA3Q2b4fhpKfNvzAgTk1TzQJ7HKJVwX_K4TKXjeZdJB7nI2dyiiI2fyBMu", http_request_error; e_fb_configversion="AcJrbgFQLmNbC6muHGmO0tR3uz72gkPcAP05OyP824zG9rYaOafQSHiwBELAww"; e_clientaddr="AcJlrr2Zt6Oh-vricXiKv11dVWgqPIfMkqYtiHVoPwVfc_qxFDY66RCBC5hMLfXiHUkSX08-jg4CkW1_Qw"; e_fb_vipport="AcKxc7lHyC3T6V09ATuywZ-wTegYszZKTFUas56PFMKSYiFGvn4kVB_3y3Vk"; e_upip="AcIaEoaur4s8ADP_N1lwXPrdTEKABRlIPQiki_6CoW9DXmZ_PPg3ymD-8TdI5q6FrNideLK_zpEDgktnVpINeyKHRTWPS2sUtw"; e_fb_requestsequencenumber="AcIkwIlUsKFe-PceLYQlrkiLpj-3Y701A9QH1GRchOME0DEU93Ub8yAntA"; e_fb_hostheader="AcKOBEoqRFeFzvbjdCNOykDxzrNsw6oYQE4HV4521y1xai6xvgvFUs__05GVnn5kSWKmeNem8o0cpkT7"; e_fb_vipaddr="AcKv_sOgMo2sR5SXAg-rSOdPaOfBoV30EZxmPSMthCW_us7iPmpmI6o2euqkg-njR4Fjdg9dJA"; e_fb_requesthandler="AcKKppwBJQ5zQLnBpj_-YfDW1qgrpWrLS_kuAbpeCYxEXWIzFhYt7WaSHCBBQvUaDGmU6piOHbI"; e_fb_requesttime="AcK4IdwhWCDd9tcZFkNBh3co1dQ1iOVXrgBMb8AeBIPPbs1oTr4eERKdCxec6MxXzqmSxIkBlw"; e_fb_builduser="AcIxqG7m80RwSvSX8pWiTeH6KEtigAABt3UNg9Nvy6xAKjxk-pPpI9lUOA9laZLr_Xg"; e_fb_httpversion="AcI47-_r6O8X-HuUNsqZ-mJ9eyPpCD8BRh4Ft5aZIXKtcFNUL4IERKCBI9i7"; e_fb_binaryversion="AcKxmi64qq0rXkDM22vKOxl0iCADV89n-WcPmjGT613sAJG2Iv6CL5704gqWtjnDGnFCeIkA2FTQ-sQ-jfO7pB4HTd7fxmqvoUA"; e_proxy="AcJoz0BtiqKJKB9V6iTfrrVBAk2U6NTZ3nux8qKEyhGtXDXRyBYu19Uc0VTjrl9PB-cpSEeU03hAQpI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=143, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2332141756835212"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/13/2024 13:19:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/13/2024 13:19:50: Error on send one message facebookId => 2332141756835212 05/13/2024 13:19:50: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AVkrD5EF7uxGn-Mc8oNb2JU" } } 05/13/2024 13:19:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) 05/13/2024 13:19:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2332141756835212"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5637080, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0fAT6JW-gRA57q1CMYupfJ', 'x-fb-trace-id': 'HsTc/5dpDkE', 'x-fb-rev': '1013461364', 'x-fb-debug': 'FETe/1Zka+CNM8t5I1WSeeTwWWpW4cKxn/wVv7pbdiJIDCHP5M1ciXEoCeP7tf/+jzUZGtBtqjg0iaWcEQf8qQ==', date: 'Mon, 13 May 2024 13:20:32 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLTH_wGXPaJQdXN5hEV799ttJvAsWbcVGenhh9NsEXzE9-QkoVW3V7vYJb9Xw"; e_clientaddr="AcJbSH9ww86J-KuP59nHrEz_uVctaFdoiMjGn2AX4BDWu9lGcaQPrr50rt99FrIdDS79w3ZGOZ3ojMhtkUKAoJ9ubppOHK0RHIsiGTMoQUJ24KHT"; e_fb_vipport="AcIYKNUWtiwrmD2gHtFUO_cfSfBYDJ8svbdq6BFJTIrOm0fUlfv-_jKYCEsZ"; e_upip="AcJU6cQD8YfUGwgp0dF3DdcZcUlt50ZqL7DjvPRaFEhXaR1IDrSQVjZH52gwVvtNg5IOzMtvfexdi7wuYdc2BMB1a1dPcka3XQ"; e_fb_requestsequencenumber="AcLHEr7s_nLoLljTAfegLU8DzR1JL9HWtZO7BjsX_U7G5iMdA_74wb6LVYbl"; e_fb_hostheader="AcIo34VzCp0cS3FA9MGstLtwh6QmsyoYzykxfkaZJ7MB0UTV4rFwxFkJajiNfjwPo_4PGMpmoSjeaERR"; e_fb_vipaddr="AcJKgcDHIAhMixxIHYexPtd_wZuDpFheBgkx2I8sh-_4A8KkD3Yt9XjTWLLhiQ3h2iI7kW6fR3YR0lTzZeaXHd7kP1HEybt0eQ"; e_fb_requesthandler="AcLYiqtA7g43T09tbFUxa0PhynsZXmfCYyBBEuhFt4zyFwmDUaiMvnZeMZ3jcpkVbLMHAsYcFbQ"; e_fb_requesttime="AcL0Ap5NppkOSOI22j6aRae3THUaAqzDcJjYbsMbO5SrXCfJNjL9oFNfCsGRVWhoHJGj1OIpaQ"; e_fb_builduser="AcKmx8WNTSTmvVex5HZTxkeSyl0gk2Scnp_S8U-Ms7dF0068dVcALMnuvH4keu973qs"; e_fb_httpversion="AcKL5h5sfxDvuqxgXj-pKQVq5ZbbdIBYzl--XaFesFaTEIwhfld1IFcnxFpX"; e_fb_binaryversion="AcJltDsvBcJ5b5pTPlGKMz5NSG_N3Vqt9TYcvaObEVnU3IEHN1cjgDUXDJP4C_AHbKvdDYbcmEonBczfcFWVRPmLbfU0UEeIRKc"; e_proxy="AcLgP_VqeWno_M3s89zbM4LG3-slX1VbfwwcOOPV2dr5EfXcgBbu_jTj0tdiNo3LCTrx3_OSXHlK5TNQFp6e", http_request_error; e_fb_configversion="AcI6rpyP3zwwXw0cBeqdAPpJH-d_ew12KvWq7_LgtJMnN9hO8pNb4ivCaubEQA"; e_clientaddr="AcII9oqZF879WBYV6-QtD32YRUTRuK2DZdEG4CEyToj70NDgZZ-2bZIHd0Ar_sZLjakxuTltvFuWKunwEQ"; e_fb_vipport="AcLCQ4RwizZRsxQfxTYOSpNFiC9LeNX2_mxpCBuk4szQB46kRVCfhc87JZMI"; e_upip="AcJ4cv_s82yJaxYaucroCgj4rAnuFwwZpRdDquoTH-MDE9P0myhfQzl5Tqzz-1uH0HsLpZ3KxvXMBh76Z5_nGLdWib0ZLwLQgA"; e_fb_requestsequencenumber="AcLTk7H2RS3-n1JHstfKGNz5b_ngkGO9ag1VcggUJ6_go6na3bKfvBX1IA"; e_fb_hostheader="AcLJ5R7hkyB_cHkAGNGz9pOVoZubXmW4VR_bHmBschSPNrJdnw_DWSKj_XBqIcYKG8d8dkTQDGcQnxSD"; e_fb_vipaddr="AcKWQDLac2YMZ3ZC5tHAaezMzlnm4T6_HugfqT-WGH0jlHZVrjkZ4ydWEed98YtSS5_A7njcWg"; e_fb_requesthandler="AcKFJWWD6TUqcoSPOstlngG54d4FsyWoN_yft1secH3CS5ac65jyjNd00q97HFVn_3iIuuH3Dak"; e_fb_requesttime="AcJnTCIY9DEIqHMO5AIVj93oD8VOkH32auOIpeIr4OHEHpD2NcN0GTMBBX8feBhIDxnZWF_aTw"; e_fb_builduser="AcIi4A-NFRuqqAuppcvXkpfGaieHjiBaNXG87lYu7HdI39fCox_jwI8IEDV_BiD3mU8"; e_fb_httpversion="AcJLf07qFwkMDdmFK2Eg2K6FScVlm0WwPxzjWTm5KDzgKvL2ui-aW0XEXKWe"; e_fb_binaryversion="AcIGP0ER-MAD5891rRg8sax9UVOSAAoS6gNZNPBBtPbgkwTi-t9QCkb2TKs115bD12lgCj5B5TYw2Ro7EDP11qMsoUTTxLbPxA8"; e_proxy="AcKrN8NfRVS14VnFBAcsMaAezzwCGOQ1YmgBv1pegDj5Dsx03zdStD6bIgnQotkQC5LpfMoUdBYTdPc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=126, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2332141756835212"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/13/2024 13:19:52: Error on send one message facebookId => 2332141756835212 05/13/2024 13:19:52: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "Amt0R0_MCqRpnKmr6pfJO0e" } } 05/13/2024 13:19:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) 05/13/2024 13:19:54: Error on send one message facebookId => 2332141756835212 05/13/2024 13:19:54: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AmRE18SBftGw_lAEHT4iadF" } } 05/13/2024 13:19:54: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) 05/13/2024 13:19:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2332141756835212"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5637211, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHyb8BqvAMVuTwbTTjcTPeZ', 'x-fb-trace-id': 'FFW9kDZkWN+', 'x-fb-rev': '1013462610', 'x-fb-debug': 'KU53Mvv93icqL1+lOahxtNw0ndGakVD2wdftQeLnJ8ktoRZHxN3u7RD4IwMZvHiHcMBWppChdH+6i3Zq3eKjfA==', date: 'Mon, 13 May 2024 13:20:34 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKrlZjxCPiQ0mZ-ZS5gKxBc3xmN2pjwtaq13DKyPJwdOVQq21S36ov5GQRngg"; e_clientaddr="AcL780AnA58t5DicXeqIvl2n6v1R8eXrRt5Aez6u0iA-jCrDVuP1DxYoUTyws8ZL5FPp6VVoYyKRqjtG_wER_vtpJxo5Y10XyGAUNRlhmZCET2-v"; e_fb_vipport="AcIeYI2AWlQO2sqxOq5D0dCuskhvg7LElgiraJY1Sge0cjduVY21_vipaMrg"; e_upip="AcLZXqdBShRHIFFY6fy-H9UWW4sSN0OSaF43_taLljrLWm3B6599tJowPDzPIovtvTHzU028cBJevzpwMPn07mLTSJeL3Ut2oYw"; e_fb_requestsequencenumber="AcLOS7SezsZflh5cmvPAo6ep-axf_VXaKdEBVKiNOEA-DLDjBDM_haCQo8FD"; e_fb_hostheader="AcIgwOtdGsYmuqlygzgxUo3iW_JsM24ucibdlqkTUGC77lG8nSCtaAzPJqxa7dG4GheMdOt_-WchSnw2"; e_fb_vipaddr="AcJFOF92vVB6DRxp7sui_ICmyVSHVKTHyGvW4_lbrYafhnY5ID1qqqXoogQD5sxq1xD4Zol7HRike6ZuzxHm3LQiWyMfsu7jFQ"; e_fb_requesthandler="AcJiaIpyc-JQhKl5-dPd9otoq7apZrhPc9NYGbgF0pGnRF5DNd7fe6ZnlEOiuL8f7hz5Woxk8ok"; e_fb_requesttime="AcIkN9_CAJylBJDeVGU8YFKiC35iUAfzaQeOmMyl6W_ILD6a6NKVZgTR9SiaslJFteSZrEn0FA"; e_fb_builduser="AcIsizSFYaD2I-mvh_Z3IfGJwX1AhX3f7LpiPB-KZFV-WoGaUnH6-p1KI1i3dzD68rg"; e_fb_httpversion="AcIS9sxLvm9rfr1RyxgGjJVNuP0BLRDU7ALa98l83-UqFrumQI05S8WFhPn5"; e_fb_binaryversion="AcLaBHmdph2RviYchZwzwPaKCoWwAr5TByyodxo8SWMWfkmOW9S8M_ejGDd7ca9LRw0hoUONfKlOG7SY1Ui72_A716Qz0nv_pSk"; e_proxy="AcK0dHUtzNEBf5L7a77CLyPF8D81m8BBlyImjVcbUJSg_WRbsLr1a0HAI0k0iET7w5Eh4f-x4QGJLH6hq5sl", http_request_error; e_fb_configversion="AcIyCDNFeIe90eFI6hR1E5oQNggK55G05EkjbzJ8iuqo8YxMEhHYHeSdW5L2Lw"; e_clientaddr="AcIVbbsHkYEWLH1uy9Jv_zdm-cEEzCgb6TSkCyH3wtCKTtImplmo0yUFjTGqmjhtvkmx7wUWg6PstK1T5w"; e_fb_vipport="AcLt5XpMM2ouWcpEg39X9KK0TVFBZvkvt0uvHSYQYznUq1A2R9kQlsBcBWy6"; e_upip="AcKiHm0D11KsTqvK7JnqbEOSOXjZJ_ZdYuA2II8o-9QWiWZBy1ThnfL-oA6ZIa84MgqjkoKYpLZq5pS475Mfz798d6FNkgCsBA"; e_fb_requestsequencenumber="AcIIb92fSzKVce28NHyPWE_C5bbTZwmkTnqdrqgGctnDLg43hT3aL3XOtA"; e_fb_hostheader="AcK6lk7tKW3Dk-Z9HqtkeEqcc_vP28D1B3yBFos3o2V7ADcbL2mUlQwWZDOMjRP4ww8JJ90CORTRRnb2"; e_fb_vipaddr="AcKEF2c2z0T0uhMwIzNRRr4OpxyMVJNAHHfW5eWYVHcFo3K2gS0AENFz_yqg9RmNTmsUueUnYg"; e_fb_requesthandler="AcJ6ZXuJgPQoQGBomhRt261L3jIaxslMFeH67tfnXu91XUI6zNPW5NGuKJ-cTOEhcQnonODdOt0"; e_fb_requesttime="AcJZa4vrgLhhOibrm0mNTuwzXc_UkMABO3F89sVtzS878C9Qc8yejgK7YT85Sm5JXMK8ADRPVQ"; e_fb_builduser="AcLrLFWbMnl7bmHfHcmJuCivq8Nx2cO_tECFBWrQ4TmWm1Wsl_iwwn1XdImJ70F2khU"; e_fb_httpversion="AcLTQCX-GT9x2wPTm4Jf5U-7_ba_009JOvzVajog8-1Cc3-i8YQuEXnHsu1S"; e_fb_binaryversion="AcJoDFWN4viAPl8s4Edick22YuIlDHTZsZyrkv6jwepvlKtWzGpyusHAMGgO5WirV8z-D6oRozXfCzSRiS7KHk9TnMjPQzi5tq0"; e_proxy="AcLpGC61BqNnoDce3lLXSVitLMYLiUGEZ0rmZJkPbeme1Tsa0KyFYty2gk09ZM74o8eHw4-0gZlD2k0"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=123, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2332141756835212"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/13/2024 14:31:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 14:32:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 14:58:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 14:59:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 15:00:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 15:58:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 15:59:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 16:00:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 16:13:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 16:14:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 16:43:29: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5681450, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 13 May 2024 16:44:08 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/13/2024 16:43:31: Error on send one message facebookId => 25269786846002970 05/13/2024 16:43:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/04b038f0-1148-11ef-aaeb-3ba13eb50f6f__1715618648576.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AcMlkgX0t32iaQHMOx7vktB" } } 05/13/2024 16:51:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 16:52:09: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'length') at module.exports.asyncForEach (/home/ubuntu/api-facebook/utils/Utils.js:15:37) at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:17:13) at messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:17) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/13/2024 16:52:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 16:53:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 16:54:23: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5684893, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 13 May 2024 16:55:02 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/13/2024 16:54:25: Error on send one message facebookId => 25269786846002970 05/13/2024 16:54:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8aa5a110-1149-11ef-aaeb-3ba13eb50f6f__1715619302817.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AMvZL3475R903wH1DEuXk3T" } } 05/13/2024 16:54:25: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5685369, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 13 May 2024 16:55:05 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/13/2024 16:54:28: Error on send one message facebookId => 25269786846002970 05/13/2024 16:54:28: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8c398780-1149-11ef-aaeb-3ba13eb50f6f__1715619305464.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AC24M1CeqzgMkVE4wF3RGw2" } } 05/13/2024 17:07:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 17:08:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 17:09:23: Error on send one message facebookId => 25269786846002970 05/13/2024 17:09:23: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8c398780-1149-11ef-aaeb-3ba13eb50f6f__1715619305464.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AfomE5-ylnu2NdJVJffb5kJ" } } 05/13/2024 17:13:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 17:14:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 18:07:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 18:08:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 18:44:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 18:45:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 19:44:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 19:45:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 20:57:28: Error switching inputType 05/13/2024 20:57:29: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/13/2024 20:57:30: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5734639, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 13 May 2024 20:58:10 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/13/2024 21:05:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 21:06:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 21:07:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 22:05:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 22:06:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/13/2024 22:07:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 00:07:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 00:08:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 00:09:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 00:13:54: Error on controller payload Input Treatment=> type not found 05/14/2024 00:14:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/14/2024 00:14:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/14/2024 00:14:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/14/2024 01:07:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 01:08:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 01:09:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 02:13:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 02:14:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:00:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:01:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:01:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:02:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:02:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:03:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:13:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:14:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 03:14:44: (node:26317) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 05/14/2024 04:00:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 04:01:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 04:01:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 04:02:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 04:02:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 04:03:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 14:05:15: Marker: 0 | ID: 66436f9bff349866cd4eefec | Error: cant_get_message 05/14/2024 14:13:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 14:14:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 14:15:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 15:13:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 15:14:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 15:15:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 18:19:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 18:20:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 18:21:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 19:19:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 19:20:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 19:21:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 21:08:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 21:09:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 22:08:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 22:09:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 22:31:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 22:32:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 22:33:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:03:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:04:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:05:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:15:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:16:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:17:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:31:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:32:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/14/2024 23:33:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:04:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:05:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:05:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:06:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7514207865337251"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 230768, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Acm73KiBmFYZJkaoKVGVItg', 'x-fb-trace-id': 'DnrmIf5umRX', 'x-fb-rev': '1013499993', 'x-fb-debug': 'chde8y5um8BxjyZJQeObjPs3JlQpWEPMUyRMFXwQ1PtRByPRmClOnuw3e7FyA/3IqnrnCMfxhspBWkEW35x6FA==', date: 'Wed, 15 May 2024 00:07:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKzynBHoFSVm-6qQkD9lsVMMsrYPk1lv4gA9ZCk8vzO935l5uIjk0sn4Sc5kg"; e_clientaddr="AcJdfcdT5NocmiRVP3DuPCo0Fy6xZWk_k5vdrQMVN-kR5zb0gAZUHxIjS5OssZY7VkIEFOIiSMUcd0MiZHG625rZD_3V3ed9hGxqpmZvn2z_y6NS"; e_fb_vipport="AcIckYN7G5yU2zqvkt3ZxAvD4WRhNhkqZwlvHMUbvFn0uCVR1mJxSmZmbmst"; e_upip="AcJdxyV-VbQX00q3fg4cX9gStHNNgnh_QjhO9H1Qem3ViYIKEzWD-jDSfW7r7X8OAu9dtJzxV7Hh2q95C5MGI-xLBKxzYlOkyg"; e_fb_requestsequencenumber="AcIcx5wis2FBh9cF7ze3kQOQrfp0Qt19EJd0WOrDHmeG-DvQz03Zex0q5v5FnQ"; e_fb_hostheader="AcJzykeHJ8_7OOObMl-vlubWLK4C9h2uzHpSFdnW4IMwv_V2h3sXgJR9NEk_FvFQb8tBwMXB4sj5kdCd"; e_fb_vipaddr="AcI5xtLMvyfuEdE4X6i3CHAPWbiQxptPgBnaiw11Qu_xUMnmGghvhev4mnfxGpLmepypk4mkABCiIUYJMZ0i6r8EpyQ9ePZMwg"; e_fb_requesthandler="AcIRlX_qmQbW4PrQht5Z2uWF72yLUrmzFcQiyGeqpFCqS_WiP2R5kAisEUJSWI1iJNA6nZJq1t4"; e_fb_requesttime="AcK-R-UE7enfm0c2RqZFf4U4ig2g1tL8QAgVM2_r6Z9oBuVlIwJoGps4aGP5JVmuo5cPFeaL-g"; e_fb_builduser="AcLzhSGleMW5r0cP8bzYQz6nuWnMAcpsI0xLQpMMHawi4xAlAj9PrWyksuu55NeQXC4"; e_fb_httpversion="AcIghZW5zu07qooV8rH2f3Sh-jh2xqsn1wVA1X7-GR9-1JXc3Sszv6arfq9B"; e_fb_binaryversion="AcIwkh_DVTvlW9nEuU5Ui4PWAw6W1XWi144KxfVteea4pJngw4r1wqW-8n6DEXB_ack1X8adzbu6FpTFdsfzejdcf3w3TFKkXZM"; e_proxy="AcI7Oex7usUDHmalQ5AZyWsbltNr4SExl0EO5fiZEVXS7s4nmb26wyj53cdMeyT2iw004vve4VTCzdgJHLU", http_request_error; e_fb_configversion="AcLTikFUtUAfomsi9WdOij2MjcVVBSAm-q1m2ZxjEIofC5mlx_paX-b1mPqQg88hmZpgsjj6fXCVTDw7fqoJeFLWzoBzQdOTwI4"; e_clientaddr="AcLKLavmOOdVhTIj3SGL7aXT2ruvgqVQuTmllIwmCgOpnvuTcg7n0Lp1w-irS-iaEVLmmWFGQh_EYpqwOQ"; e_fb_vipport="AcL0mMWtuCIl_9s3seKmrw_ahq9QNAnpzJcZY5hK0MYPlo4PDA7yQl-PlKLr"; e_upip="AcLoxhXjkKX0PYyGB_3djfvP3FQE-AhzBQFn_rdlURSIDvFfxHDYH5OUPS2RGAhW32iqQZQQKbDdUdpweB2DtZ9DQ6dktj5EdA"; e_fb_requestsequencenumber="AcI9nk-X-bG5vY-ZkuQR70hgC3F4V9s01WwUq5c31T6b872xSabL74Btuw"; e_fb_hostheader="AcI-4LPYXHGaS1wpGM9oWkDrOD1ZPNcb25WnyDCA7W-NaPzePFJrm2XVLNOCQlhB3s2PgAorWKxrwi5q"; e_fb_vipaddr="AcIITU0Ox4fJ6BOrPYRLYKlQiLmG96MSSVqtTeUiNDEsGXjv5fxv38i1HRxO7fcn3G-wxR6w7w"; e_fb_requesthandler="AcISdm-fo6xvNvOhWAnO1NCnsjLq5ThyXCa-9X9M4aB-83OK28LMcV-MOBNp8HB4vTTyttPMOfw"; e_fb_requesttime="AcJWxlF8i9stj25YS4fmCv5ApNI7P8rFxvTgpuHB64KmAqH0YKS5PieUY9so95HOre4qTSzN1w"; e_fb_builduser="AcJDfj76r5C1mWjw8eyjOuwicZv_1YGC5KN57Gb1iaZy_46N95PJZ-QVMByxH9GQdXc"; e_fb_httpversion="AcJQ5Er2olWPlESgPxyTOEc6rJNnzk1Nue02UOFLUWdIWj-VB0XMwHqNUMF9"; e_fb_binaryversion="AcLuN00Pz7hEvZ_NYnpkZBzbt0gsnyUUfGCxQCdrnocT5-Kua0Z1XTzeBUFvPQ0LA2PJ4PXKhl5IWR3M5zRwzJZpx5KpqbGUKe8"; e_proxy="AcJ4cumLBvSu146tDIpIziS0ighFfASSzgAkSxqye13UtvLpOprUc10AfPrRh-YrJIqeo6r0tDAOslc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=167, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7514207865337251"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 00:06:19: Error on send one message facebookId => 7514207865337251 05/15/2024 00:06:19: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A2JjMYr7bK67PubNBT5U3Sl" } } 05/15/2024 00:06:19: Error on send one message facebookId => 7514207865337251 05/15/2024 00:06:19: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AQWnE6gUcQB4FOametyKeCQ" } } 05/15/2024 00:06:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:06:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7514207865337251"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 230992, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgLyHJiSTK50EPV8cxxBuj2', 'x-fb-trace-id': 'EEDHWggu4M9', 'x-fb-rev': '1013499993', 'x-fb-debug': 'o5yVx3IhSta/CxyMY6KyGvMH0KBk4yOztErQEhte4o5p2VV6FrRfaLd3uA2PrjV8n25xj1dL7RoG+X4xf3t/HQ==', date: 'Wed, 15 May 2024 00:07:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJXBDGT2zi34JNQ2ADuexntoZRrKKDa29jP1FDP84zt6aCit7_1rs9lc8HOpg"; e_clientaddr="AcKssBXgHfeUW5t6PNk9Z7_QYdqTLYCCdPYymPFc_vvv5HW6ZfSeFCP6C7Ojpk3r5Z8jvxchE1lnWBMnRwdto2QVe281z4sQe9CoULqlvAiiboS9"; e_fb_vipport="AcI42VTqvhT5uzu2zG6TqGV2fwM_HNs74mT04u5Ck5DWeCmo_m2uPhdYqHwG"; e_upip="AcJUqzkfxuLy__w2wplFLJ0OAEbEUfpZKvUsTd3x6GvePCUEfv_F9SwRkCBan3VyFO2h4rD1RFoshWUdQb4rDRr3woE36WhPwuE"; e_fb_requestsequencenumber="AcLERMhHyv0JfynhYSI6kh0wQIzfb39oj38tZav-7JlWTpTA3yGH1cRbnURq"; e_fb_hostheader="AcL8mYg1Gz6ok6dY52KGo1gpkRABl5eyEfopPEtgwHZWwd5tNJj1TiRAu1AJr2SfOiFoVRIhJxSBysJo"; e_fb_vipaddr="AcJjbvqjG9rpQ2qFXIaz9pTB5kx98_L6Zxtk1Y8_Dcwmq4s3yz02eBifs2xxVUI83lNB2d_qLO4wQJBlJLW1Ay7guWq1djNKiQ"; e_fb_requesthandler="AcKG5L58wYmZ_B6NGg26e_tFew_XYo6btx1K3tIPutAxwgc0OEE76RmHeuch6iTJkhpYkPbpaSo"; e_fb_requesttime="AcKR7oJ_4GwysNtSLYs-LBBI_Qiunb2u1FKlKknW8LN1SKbHT5hjdaLUq9WIwn80uukE-73V1w"; e_fb_builduser="AcIsh_2S-rQspBxLh16wcjXissu4R6b35hzftMrUYha1YlNu_Mzmqyl64zvXaGm9tIs"; e_fb_httpversion="AcKhIAEVgy_QcClCuwugTgZTQBx1GGeBmBL_wwWN6WOswrvVjsxLTI3wVDmz"; e_fb_binaryversion="AcIaVpYaHgmhrhFYas59snn-igTs62FbrPwwo-hPmggh1qKzGRgH5wJLfFIEVORoQwTpiH43h_hGGxjkmNC15Ol3cwoRx4iLxn4"; e_proxy="AcJuGYf60df9rJ6zbkywX8LVpv2g-h54umYk0lMdYFxf_cAvomgteueV6W8SE5dOw093a2ZuMDwa5O3_qfhf", http_request_error; e_fb_configversion="AcLcZTO_fl5JppjnFYa1CgSV6GJRjInnF_Hf781XA3tGwhRbq7CW6VZ19NPmVg"; e_clientaddr="AcJU9YNUrQZ47ejI9XDWLRV81cmOc_ZiIu9VK2F7BelzBO8q_54jQgc52h8s5Ai0cuIffCo1V-q1zMkPfA"; e_fb_vipport="AcK9kIu_TsE94CvZK6WR09vRMA03qoDKLSyuyAzi1yfxjLvBjxqyeR1Wsp0Z"; e_upip="AcL4YuWbIMyVT5Im_dyMk_4GGB2z8dz21Jth9Yrn10WV3jtkniTe6tbi6VZuknj2KIetd0uKGmg5GyqdvX1ULi9s271lb1XSUA"; e_fb_requestsequencenumber="AcLoZIADY3OOVGU6Gqc1dF_eNCebnKMFo-kRZKtxX41kglAaHxLo-XzbiA"; e_fb_hostheader="AcLaF8Czio6I19C3snLuvZkTROBcnTKBs8bOqf86NOZW601n1FU0Mv8UXDJtlz_jGxDcRTssCITiX39B"; e_fb_vipaddr="AcKZM_n1mFqP5B6JawtDKxcPTzZqkSP5MRIj8Qd8nGObThFanjQcc0QJzj6uP0jUJyl1NhCYtg"; e_fb_requesthandler="AcIjG5qkp-x41ZKj7NNyN0TyBFQ4Mq6tnBQD3ElDPMMlVVs2D6khmgHQ-rtXIefsmSqJMvelsZw"; e_fb_requesttime="AcJq5YJp0rqdwPZ5QSga3zgyD8rRgzXMgyKIbAfOPnO2Urigz4CgqJeq8qkLn__042UtgYJHcA"; e_fb_builduser="AcIDiL7VISdUmGzztfOmMk8YYRE0XEVdzdr5obr0tbyFiVQ6Lfr1XjgSaRm8TtWGnoQ"; e_fb_httpversion="AcKDo9cV-VGFeNRofXE00t_MRDzvaOQK3MEvs9tcNh6Xq4IflMJt3Zg_rtP_"; e_fb_binaryversion="AcKAwsO07UbSJxvtr3-tfxa5AytdMbp36VcBoOBw-X6MK4IW7A-1f9ln99m4z2xdSSgYNZYqeQqHS1dGRmukFHGGWxKK8vQsakc"; e_proxy="AcIySdzHv71SLWFYvKRp9VcNaRHY7d18DxiSfpUZT87cahdjw1OWi2El-l1qcjztc6ufRZJPKQuTMPs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=212, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7514207865337251"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 00:07:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:13:01: Error switching inputType 05/15/2024 00:13:06: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/15/2024 00:13:06: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/15/2024 00:13:07: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/15/2024 00:13:07: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/15/2024 00:13:08: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/15/2024 00:21:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:22:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:23:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:40:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:41:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:42:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:42:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:43:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 00:57:40: Error on send one message facebookId => 7668743009844317 05/15/2024 00:57:40: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "AHW4AYKA3b7UnUM6NOQQRJQ" } } 05/15/2024 00:57:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 00:57:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 00:58:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 00:58:40: Error on send one message facebookId => 7668743009844317 05/15/2024 00:58:40: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "A3-pJXXVRrYSrP6OzfhzmAk" } } 05/15/2024 00:58:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 00:59:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 01:04:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 01:05:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 01:06:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7514207865337251"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 292675, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AK5l0nB92J4k1-xZ0kxL-KD', 'x-fb-trace-id': 'DmN+2Vr7y+y', 'x-fb-rev': '1013499993', 'x-fb-debug': 'Oq/RsNsL8uYjl7j53TkgA+eVX6UY+KFmaNv1mboF36aCZsIjTGqzKxYOxfelqMjgjY9K1qso5wUnrPlCxBbyLQ==', date: 'Wed, 15 May 2024 01:07:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLRQRWH5BlqcZVlYsgzXIemFW8bYt0eT6UQAZm1F2UdZdr1FsQrHlMwCal4OA"; e_clientaddr="AcK1DybDiBAWhXOlKr9a0IgcDAjsTwEOKAFakJNdppzkQncjr_UX4sE3s7tGadh3cld8PvlzWT__mfKjp08pt67ItgpWnwfQFk9f9s5TfPjc6gsfFw"; e_fb_vipport="AcKsXMbWarOkDGetLVIkDw3sCoAUzVp77mFsySq9tljvH0OuO26i8M9LB3-Z"; e_upip="AcI2JHIUSTibvNhG5mU9BI3yCPyI3BiKJ-MoXVV_w67fhLnp_Qy0zJ0DX9Q1EwsynxvYxY2er35ypuKevATzHifGvAaJkhbPA78"; e_fb_requestsequencenumber="AcKO6vOdgJ2ukK7wV-ARtDQU7W6FC531v0A4J3xeAmHO9AM-6w4j1oeE3dDY"; e_fb_hostheader="AcLtryyh6jsxG3sxlnHPGcTJJhHkvJNBfAPhsryE8EKBaCgwv9_T18KlvHcQt1cqD9SdDdfpwGn8qsyd"; e_fb_vipaddr="AcKqO6EffXbs3nt2cbnk0IB-LXvp66S_75pkMIairEkH1sdRzZnFJEgo06HRLPFBHjram7zTTTNHjzfsnfOKKxnGkMYTq3mueQ"; e_fb_requesthandler="AcJIjHAXAjtxxA7i4mBAT8pYlXA8yn-IELb_jB2tLIi60AM4_vlUol4hW381mnZ6n-T7TwkDIGQ"; e_fb_requesttime="AcKooRUjLlVHiVAcWhCx6cj8U939cfzGny24bM30C8fUWBmQItObHUWwKaUkCEmKo1GuyQmcjw"; e_fb_builduser="AcJlrhHt4ExXMSEH7-slg-4nFr-iSshYh09aqiOcEM4wxgh2omJYFMD0TCpDKh4UKZc"; e_fb_httpversion="AcLqQzGaDnKfLp0bHjERT0s_9c6Yo8fdd4vzG4eQIgh_7Fy7eyjdw-Tgal4N"; e_fb_binaryversion="AcL3PQCMRQ-RUmVEWDyNOlQAwGtip92DVrKlzJxERjYyXMRxP3_4e77kxGzIKsHQihu6PJQDG3eJZt_dhgCxY87pnh00SmYwedE"; e_proxy="AcJaRtlmjpEzjOdr7lG6PRCCfAtCZWtFtQxXEsg3_tIMOekwT2Bbv37E8H4v8-cM8WXLxTS7wMylyIVlydZ3", http_request_error; e_fb_configversion="AcLV_Vp3G3QbMNBHj4dxwASnJLk48jadIA_l3KiGHrlJvPOXTP90jogSTmNIUA"; e_clientaddr="AcIbZ0E-6-tjXMdgrmcHhfOVpkwSybtbCdvqCUunQRnoeXXI_GtnfkyNVlxvZGlXAnDaE04Wb04zHfsuEg"; e_fb_vipport="AcJ3qrDm2bryRCByTk2INgGkXryiT73Y8gpvog1zQmmJXz8ovtoRDGfdcr1m"; e_upip="AcJzp7pp7nOQNdGLl3jEzj93XYoGuPiSXNRW6gX_G01kd5lH-4ZLSJQbQ0ojIPWj2Hf18Q84O4Lojh8zCwJWiYQmSI-F_Pt6xw"; e_fb_requestsequencenumber="AcJM4yT81EIWBQhOgKpEIbvriGsO8rtaQTJ1rPjOvkUrQ9P2XgxgpU9bDw"; e_fb_hostheader="AcL4_JF1BTLjPkSbDzA7rOlRFGgbyAJNSjtuP64AioYdQXllnWSDapN-XtMttnD9RuxqBEY2SLvp6ZjS"; e_fb_vipaddr="AcJ5CUNabWUeS9Ef_Gen-Ykx--oCT_n7wpvNHJT7ht-DTcnOi3fZptBe1UMY1egMQhmDc5-UnQ"; e_fb_requesthandler="AcJhllN3ynjwA7rJUBGGMXSJmEAIwV4lRRtH3QqRmI1ZobeXVUbEsmGuryd-QsYWBeQhZbfdcdQ"; e_fb_requesttime="AcIIaJNQIx18GhBVyw_ofgdGo1m9RJ1bVr8f8Dnl18bl99jioujR8v8zSGcD4ivdzBUH3YmuDw"; e_fb_builduser="AcJK2dOb-0hdlFGGl0b2SsI6_dDEzbXR0M1tBQ1y5ux5I92MIbpgDR6TOS1W2MzKEMY"; e_fb_httpversion="AcIKDCrXdnz0IbGywJcygobGLEU5hCEJ007NP1wTcUw5TnV7m4FX3Z8iIBoP"; e_fb_binaryversion="AcJ2Hd7GM7jtaVDU1PJLekAIbG8XZ8rPbYLfnqARA2rrfnZLTZeV1G0k8L5ZYnGKmCKEhm7V2Y3r1oM_QJ32RKWFti6BMBUPUak"; e_proxy="AcJ33O8mtxbml7YcII15DkUZJ-qGplhIx5ntQ4oV7USWrCSgcrmla9vtqwqbHfB30eOeXEd8AO4n_Wk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=208, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7514207865337251"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 01:06:21: Error on send one message facebookId => 7514207865337251 05/15/2024 01:06:21: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AEREP4n77DXRkuYbzIJZMgG" } } 05/15/2024 01:06:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7514207865337251"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 292852, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3O0sARaFJ8aUG6mEnuQ9dq', 'x-fb-trace-id': 'HELQ/UYso0A', 'x-fb-rev': '1013499993', 'x-fb-debug': 'btXKGsVozaYLXsBBRCcn9RILIicjAlT1e2l4Z1jtS74GqQCddqV913aactTxnLscb5P7yzgoKvUTJFc+Hc6B1g==', date: 'Wed, 15 May 2024 01:07:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLZ8ZbrFcMIcuooz-n02p0BJoDxf34XBDLE0sYu3eM-TBy7uLDlrGo1ixStDQ"; e_clientaddr="AcJAjgM_BGMM7aN4QtK1qC_TilmZtkF2lWY5cB_OXDSBcdq1B_zmg1UZJDEctYrhdNtlrLvjo1dMxRuSSakjEh40dfhp_5I9U3j_0avNBVOsXFjS"; e_fb_vipport="AcJgWDOc-8-hzf6QAUcZo66GIHiCtL9Drn7zpSLVJI_BHZvHtmVn02uu27mt"; e_upip="AcIxZamOpqZlw6x2L1ld2v1HmelJoAuZm1wVrEjZZst-rZEwM8e7Q1kbABvN9ddpAIzJJ4fZ9JLXGz15oUb0vI5WxNobb8nMsN0"; e_fb_requestsequencenumber="AcICThZDOWv4wdjKgVVVHYK0OOu0nPQW1NY0uCN2hR1Pd5DKcfqriQEcGg"; e_fb_hostheader="AcIm3oYCJWk7NaxY76LihVmxyCDKT7drGr82vVHO09zWkvvSed_1HqzzobHcpkvEUyvv20jk2qlONNRD"; e_fb_vipaddr="AcJdlvtYFSpe4YYyR4avcuCErSuekbzvqjxS3VqxBi4t_zhNGFrJ0p3jeu0XaOiygCrf9tXRdu878UlhyOXVNJlHaiMLElqPUw"; e_fb_requesthandler="AcIHXZwS7etYlwveVN_iYyFY7jiHy2xsq9nhA9pqkNcVi1D2RzYkpURVDP67OndKt8ttbv1Im-w"; e_fb_requesttime="AcJklx-Hzb0NCvEkHhCmKUbHBQRUDhqqbYhGqMAcP_lyf-QfTUjGSU992rSt-nuUy836BikONA"; e_fb_builduser="AcLMnSMrRXT4GvIJkZcGIvXwzeoBp_jmLjR4ZNGoIT6jeJYkmAkN-kNZ4vTV6-qijvw"; e_fb_httpversion="AcIdK4RT99Q7nR0kWnh1MxjOFYdR-Ph0HNtZtvQknhXk-i7p0sOm_akWg_QN"; e_fb_binaryversion="AcJ0waKftgljEckhI9M1O5MKee3l91pWwxqNIqGqCcgbx9MW40e-6gPRwIy3r4YEbOyOBis8buzR9L-zsogqlLog1MxARFjE-iI"; e_proxy="AcLoc7LlBxElOq2xmebO-Ghf5Ubfh-46MFURg96wcOL5rw5qXp3V6d2ySFshMJacyD-ztFzAe-oT4zH06LnW", http_request_error; e_fb_configversion="AcKQ25sUiv1dqCwzGpUciSvAubStP56NmHtm_f3SuG0g5lR6qcWI6uYunPtm2A"; e_clientaddr="AcIRpFDQdKnTltclbOZC_0fo9tOrLBxdqHKFP55dlo-xyqP7Zw6T_zcc-GA3cm3lfkkq4FeX8uCsQTvDjA"; e_fb_vipport="AcIpr0nAzE_ZjSZyh5U_IhWeFcCodp0aRDI-QfwZZJQ7MWRE2PnwKejDQtbH"; e_upip="AcL2d3rYcjwk-NsgrQyR4QFUnjUaT1N-2Q5GM0D5bTV_tu1FY0Zrh_lKyc9Xh9aQKSj_ih3ybQcPL5K41uo0_c3ueUBjqW5k4g"; e_fb_requestsequencenumber="AcLq5_zJvepi5Myc-kDOOQWm4f_9uPZlRbCMSa9hJ_V0YYJJtV8AC-Hs8g"; e_fb_hostheader="AcJs85A-b-jNLYNI1y54CQQO-cMxK3qC7d27ya5xYAoUqOYUQfCwygRvhDcFs8TDB52Xq6Tcyh0WGomx"; e_fb_vipaddr="AcIhHe_4mk7oqj8V0EvpIYVtYnOFbkXfHnYTB1fdXVdhCBAYUsdaUJHg1iwrSJtR4o6Ln7xntQ"; e_fb_requesthandler="AcITZsCdprqWsxPAHo1NV_CqnUmxVT64eXnEPjXZhN5jpGfFDIn9tb9YSBQeSJHgtUeUo1ssCg0"; e_fb_requesttime="AcIr9yJiNNRCsY9SxXIk1Q5RAnZiGXGZFweSb3MnFK2WE8lZ8mA8sBSh0C-BgK7XutKENNW4hQ"; e_fb_builduser="AcLTGyU4pPyR5U0nbHfqGmNwBsFvkkj5WEFBayECRxWJE7HKt3N0oR_tazu5UBN5Dl8"; e_fb_httpversion="AcI0isFf0LvKR5qHJ62PUqfsX4wC2wokcOwXPMp0HmM8KEFDx8sZwqn-cAIR"; e_fb_binaryversion="AcInw-Z14ZCcSMlTdQXwpDd_1dY4nCSSoJ_7zhlKHCaMxyfvlm1sbRK7Xu9YuyzPEusnD9suUCoqnvS-a0bTzT2_LBg3sw1YcvY"; e_proxy="AcL-FIYa5IFmDCVw6AnyQG8Z8nllhvsJ7mNsq0oEkY6M_Wfh1dfsf2Vw0Vv-g--KvL-cZQ_JN6Q-JfY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=165, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7514207865337251"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 01:40:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 01:41:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 01:42:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 01:42:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 01:43:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 02:18:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 02:19:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 02:20:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 02:56:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 02:57:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 02:58:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 02:59:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 03:00:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 03:20:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 03:21:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 03:56:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 03:57:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 03:58:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 03:59:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 04:00:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 04:20:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 04:21:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 08:06:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 08:07:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 09:09:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 14:36:51: Request bot not found: { id: '133788230054854' } 05/15/2024 14:36:52: Request bot not found: { id: '133788230054854' } 05/15/2024 15:00:57: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6155901717855820?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 454739, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6155901717855820?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6155901717855820?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6155901717855820?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6155901717855820?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AeUR6FkdWuJcbt68oiI16In', 'x-fb-trace-id': 'GqIICpN+3kR', 'x-fb-rev': '1013520791', 'x-fb-debug': 'EMRtcMenmkNnDri6yAX4bc4S/Z4gFbQTMOhlnCMTMqZq7SekmaRr9/8WffMYpe4YWugbbFlhDjZXIU5Vwcpa5w==', date: 'Wed, 15 May 2024 15:01:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLtCSXkZ5qXZOUQxpo-4Vf269kpq0M7T-ZA6g6us6h5VXxvq77QcQtgodRCSA"; e_clientaddr="AcKT7oGjqg4WE6qpof4kEI0yR-YNqpc_NpFEi_iaHvLHY28oZEbZDMcz4Zczrdd1t5ns0u-oHCpNWRpUnevVXg7yU2839vJslY_hBAH5K5b87qROoA"; e_fb_vipport="AcKqHSdUoMb9YXS7EwI8vue08zfOXXgSv3tRr6rEORjHx7K3lvieUJ7QcFya"; e_upip="AcKDQMy6SRcpkx8CfFUNycG6M9wlMiZxHdxnxeMPOyN0nW1KwU7_gR7uRHhWC75O58LWGRfIzyFsOrJKYneUdfnXeqwjl02ZoUY"; e_fb_requestsequencenumber="AcJFK-iWkVL_eyCPqlFczxwmBKzGsh3MOrf_xymlxMUj2UsLN-IaR1ELnS0s"; e_fb_hostheader="AcKMyqMllWkMWcX-Xh9RSilrKPURaptVBE-a8ye24k2M2-C1EEVTnRzHCHhyV9qNrgTUC-WWoUTTq_BZ"; e_fb_vipaddr="AcJjMBB_aruJbRrZvVI_Y_HhpHsLNdK85x7uXKLOOPupM42HJ_d8SJaYGJjkZ1GxRIgPa2ZmiQiq4cMuVqshpeQlsn9vQNhbfw"; e_fb_requesthandler="AcKMo94iYL7Xxi1E31Si8PONj-xYXjUhrAuMhly9prZbsOtKeNs9sIp6id-XWHS2ftWk6Mha-QA"; e_fb_requesttime="AcJwg-8yU49206t5CukOzweca3fHY13n_j9FhXSobuEYkSBL9bVfxTZpMtHcrMPvX0ir7PyRQQ"; e_fb_builduser="AcKxIe1BegroGJ5VaF3hEdtK4ELMEyixh8OeT6MGClJ6v7XuqoalMMCkHjln-AvTEdU"; e_fb_httpversion="AcIHrkHL73E5T8i7msGve9Zh1SWjCe-DFukT6gFnPdxzhyH49lOrnWfo6Da3"; e_fb_binaryversion="AcJX04u3dXboN-2dItATmMLzm8Pk4Q5AeVUqEtzNoKl4PKXWMjbDrsuqRzxhrn_F07RlgwIQ-gomB0-v5SDotTWymy8wEv9bXmM"; e_proxy="AcKzNIWknG7c1XDy_kei_qOutyrS7-63MNN6OWR5bXY-BagRAGUsOxHTh2PKdeU-Um2QCgADP6fwkfnzSv-b", http_request_error; e_fb_configversion="AcK4T8bq8aZRcIoE9PhpuWU9Ld5vmXZvbpQRudQIa5WySu8i2T7UAGUraXxNiw"; e_clientaddr="AcLteIbtbAuhDUZrSSRfmhMiZ-vX9h3LBpaM2r4-Y_osT0DYz4x2iOcT5wWyEYDJyH1e1kqFKtqod5py2w"; e_fb_vipport="AcJFjaC_3ACke9KLQVERp5GpGWFEWCBZZn4zJkwgZLIHfFGqqhD_fqVMzR5h"; e_upip="AcLInEy3xJBOf06xIqWCLQn6akx8Crp8nHvbObAJVHOQP3EBXqOWZ-5P1zLeCHm0pP66rKfDcXub8fBmIQ4G1W3bPxUFDQbf8w"; e_fb_requestsequencenumber="AcLZK9fNwmBHqvq7uFQ6NDWoR-CDhDfPeARbGqUXV2j0DbRQ_U4vJuUUhw"; e_fb_hostheader="AcJIkZP1iutDDJV1ksetV3oZ2yHI9KCS22-BPw9DIFJ7NyV7ZlcEeAaYEjE4P2t7a7clJ25D8MT5WhxY"; e_fb_vipaddr="AcIlcEZh5h92OXyJt1txhifKZ1G7Dp0lp5e822rmYBeq2o2-b8YBSpfc1UAN9Yf44bUktIxYgw"; e_fb_requesthandler="AcJm39VAYPc41lVFc3crKCgydzOrRqSVnkzxIMJacp27IiKDS2WnuPxAO6avN9a67jUlPz4g1Sg"; e_fb_requesttime="AcI0IdALd2179RPi5TqcaaYrQhxWxusPIY5Db-ub_zDJ8Xu6K4baVwDek-rBOF9XmuAzxaSAEw"; e_fb_builduser="AcK5to8e-5rbHN2TNwjzTRZx2-21xndLysqqZNp80rn5QszPK6WdJYPSqOy1d_gdtkk"; e_fb_httpversion="AcKe5REPpYThM6o5P7eMpfaUoP2N2zbvrlWxhTD_e0pmAz6EiwgDoHkxe4iA"; e_fb_binaryversion="AcIb2IVl4LPCXjEOCbzJ9UZ8SD9V9UluReMj7SHtf5DA9OM1sxSDd4Lxzmry22aTtHGmxyn9YNejmaz8np-Zf76DCH87HEp_udQ"; e_proxy="AcI3B3I5mf6WOIzju3atimAlNFL9L9q3hPkDjB8UWIFrV9dFr-MP64wieJXiQ8mY4dswLBkT-_uFFrI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=376, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6155901717855820?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6155901717855820?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6155901717855820?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:00:57: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/15/2024 15:00:57: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/15/2024 15:00:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6155901717855820"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 454830, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aa7a3ijpKzI2p7LGhE4NvxD', 'x-fb-trace-id': 'EhsIes+2SlD', 'x-fb-rev': '1013520791', 'x-fb-debug': 'M2tzX84vAVbcHsuMoVUs4fcmsGlcx67GDRFuxcaWUDc7pW8v/gnuEvABk5ZECaAieC8DI/v58SYNpfWaI3lPIw==', date: 'Wed, 15 May 2024 15:01:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcKFfY5Cmd37EGgqgdXURgs4CnOFci3PisM_k1aAqeLtH4Xljbc8PI5lHH0HDA"; e_clientaddr="AcId2ngkj2PvRtcpclZwBnNQpFxrEGAa-JxxdurIHW128_iB8SxcQkzDuSGw3-hy2Y11dRTYxLNgWVYBFtlbL3KVVsd4GHt8eW25TrZMxhf_L2V0Yw"; e_fb_vipport="AcJUE-4EfjCr6sxR22eYvvziqjSCsLkeuVP8rfCachUfHFVmiqybmVYE41ih"; e_upip="AcL2JS_lfYz09UJ7o3UL0q6ppP15ozlBKVQikTgf0RvAbLTjpIJchcSD7sIC3MD2DwU2yB-NYzf75K4bXUNj47nXXclMf4p_fZI"; e_fb_requestsequencenumber="AcJ0Q292CY3dosT3HJVDrGBevcBAVXcjxxzxyGljzwSjw_TBV-z9h6BciGJfGQ"; e_fb_hostheader="AcLQMNLHMRzxofxzXLSGVngxYyQ0j25wUU3Qm1PQHsM5kJGahT2zRLiefziXj2dHEwt--xuDikaA4uEY"; e_fb_vipaddr="AcK1vFe8HGS1s9AcGy9IkFT88xIBETGgLUTOkkpE-G4KUUpngyv_Q85yfMWSr2tYojMBuw2FQ8dCMKrkMZRIBj6I8ibLPrc8dw"; e_fb_requesthandler="AcI4T7fq1JjQKE5v58oHwp3e8ylArHlYVFswUpdIHx34qLYGJgYHaXjp8XkwyZQ3mx_Q7epTVe4"; e_fb_requesttime="AcLmQmJG9Mx45rStov1UqFAJB1U0_-8H6D5ixfXY5_hcX0_HWtOi3GquABAF1Y0a0n4POIeBzg"; e_fb_builduser="AcIt29dXXJlpPhWKyLF9CaC9eq-QN2isUR5QmfAgGg8YURNjs87jRVYgS5rYRFQZnQU"; e_fb_httpversion="AcLqX3zQFig8wFC8K-tJGU-y72GBWlabiUIuJ2D3GsQ2t6viAGweR5_sfdAW"; e_fb_binaryversion="AcKV117pRU74H8a_RRsC2gWp-IBLxlw7WycnE57QNWHg0HilBeShpGn9oANTN1wA-jPlTWlkv_cC4UxQW5NpDNKCHh6Li4-QDAg"; e_proxy="AcIAZpKLHAevKWuK3OiTPpUrjrFP2GRCeQE1B5Ow5Uv23tQOguxF4AMZxUJ9Dm7H6M11PVHl6J2DpG19Gjs", http_request_error; e_fb_configversion="AcJjF7GkLHGijNORmKdGZuAYZpdlfGz_Se5ivw9VUpRlhz2j5D4OuaexpFyxgQ"; e_clientaddr="AcJEwwY03_ACiZE5ksQg1Iq4eoOmc0zbkF6ycVSB3TWc4eGbPc49p4hjJgH9HUESd-rmib4vJ_swCnsx1g"; e_fb_vipport="AcI1AjTsVV37_xEunTng_Zbxk-Tci_xPbpJmDFWmvDMi2hpat9BoLp5P_-0A"; e_upip="AcLdKz2UGRg7xaVXVDv-n4ofKlnTQjys3fuHZD8Lo4kdl9pROTb8EFMmyV72f1PcfTDEdgjwrgQdvZ8kFyDEcxCqcmO1Cap0qA"; e_fb_requestsequencenumber="AcIkh_Lu46iquEdMsk1NWeb4mnOauQv368FP6bmMPgkbXWawKjZLKJr_yA"; e_fb_hostheader="AcISE0zpoXRhBz3JBxnDTV3Vd42itMncFBmoK3VH6qPAao-8aLm9NtI7lQABKdLzzdcMxXhlAuKKJBx4"; e_fb_vipaddr="AcJ_OetXbDYAMI9rsBiODGZmkNSQn4rhQeJutTNP8u33x9tHU5yqE7asYujAgoCuQJEGLMABmw"; e_fb_requesthandler="AcJ3mg5NVmi37bT9zB7LteRYvncUfRMo3iCKCt85oStkc3CAyAHuFWLjOPBsGEP7maR9CoVoKhA"; e_fb_requesttime="AcIs-0nyAnV8QMCEQJJ6-eh9tPZC-a3FmFscz3dPgawSpWXj2lfrvbFVWM6Hl5BXfqxV_zGJkw"; e_fb_builduser="AcKfxiiWYjk9wKxCSxCZy8L8NxXhsZvIu8l3t24VEyKqjarkpthgn4yohS-pKNdUdCk"; e_fb_httpversion="AcI3m5JokUe5V4wRpuNXXTkMGD9-n0VQPOI_sfpSbpLOidfc-gELMhTuVGG0"; e_fb_binaryversion="AcI7uYWukCFR7vPHzN6KH5iFgPyb6Wh6hiRuC0pDqSvAu7SZp_gMLGtRM59NYQ3SpVmFt4cQtQKZNfcmha7_F7C3nhELV_Vhm5k"; e_proxy="AcLd9T0tsdTTkrFMBkRM8AboTxqnGKtRw-k2BU8EEQSSn-7_4HfFDAjkabaHgF8g7AOKa7Hlya8VSbI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=126, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6155901717855820"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:01:00: Error on send one message facebookId => 6155901717855820 05/15/2024 15:01:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADsBLiJwh534s_wjqr29Bfn" } } 05/15/2024 15:01:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6155901717855820"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 454962, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACHwzSm-PAIU6_frx6X9pyD', 'x-fb-trace-id': 'AfS7NvDJPdb', 'x-fb-rev': '1013520791', 'x-fb-debug': 'fIoKxx6UZAqE6LlHwIvl8bF1tdiBECysxMtz0V71khSDNBGnMd0c90bH3/tCqM4MQMagT+YyqX4dib7Y7unqYA==', date: 'Wed, 15 May 2024 15:01:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcI1AG91VRukpO0tgf-NbxQPsyEasBkWaAqILP4LfLRRb9oghinLso3bHgrU6g"; e_clientaddr="AcJVzF41X1Gy-EIMYL8fxtrurbKTU4f4UkxRP7xIJR5sMXhqp8naMs5pD-oi6-5LrM7GX0cYOkn2JZAIJu0SRgTnJAwYYMY_ow6WqB1qSgXfphqayw"; e_fb_vipport="AcLOeoph7z6e-ROF1enp14xC0G0-7jegqHKnJfomRKjyPkcRDt4uBN76lvXu"; e_upip="AcIHm-1EPVvh6yL8OL6iWjlurX1MaltrJbEEyDPdL2F_BG7kBPJwEI3aIbFYucibADfVJL83s4401YJ4uONoa6WxTpkDYDY"; e_fb_requestsequencenumber="AcJUNUfZIDR9BP8ri-rEFrsuAIJg3L5jGSSpmpp4sRPqnqukENCTEXlxI28"; e_fb_hostheader="AcI_GrPNweW-3xqCXrkT2bnclrcS6yQyRjvTmT3fgDXKsHOiEXTDDutgwBRJQMMqhUwMs_K-X4Bu_Zq_"; e_fb_vipaddr="AcIM6EjDEYptNsoIyTvtxSKapSNglgvNp0tP18zrYYpq6gAaEPdfFdbO7O0Sf9mr9nIyisNG3rUyLgczEzuoDOUTDrPzuBZWlw"; e_fb_requesthandler="AcJaXt53AnC9620VP-D5muizxi0VYays2l6fmn9a4gjiFp4mBB7TqX_WcZuWBnVHY3AtCKoRf4k"; e_fb_requesttime="AcKyYf2lS986kzrZLtaphnaAI9IE03fyJLAo33vCkf4U9Pf7NOlP_aCP3BEe3o0kXv6sVO7pbA"; e_fb_builduser="AcJZ7SxirUfL-_XnjMYqiBopsMN-EMvirJPa8VwRsdjoGGP4GuAs70P-S9Rg4YhXD0Y"; e_fb_httpversion="AcKwLYgkiGOyi3-H5uPaxnAoO9bSvZrMh_jLaDNsivBGnOCNU8a2du4fLOgs"; e_fb_binaryversion="AcKozjCdzd95db9fosokYm_TX-xJYvQ6kNaKzvTcEf8Qhl8xc_74CQTEh7-fHs-K_SthUiwStBnQ1EZG9WACQnuaiWSbm62U97Y"; e_proxy="AcI0tZ-eRfhU2htJuf3JgFF5hwjNMyUkDzem7tiHswJXFKrJ75OIEruwkj2t8dv5rwnlILBkkVMKA-JmqfU", http_request_error; e_fb_configversion="AcIjTZHeCEvMsqvV4QknUj4KQ8H2hm_yyhIFLBM-2J4WMD23Vcor7l6ih64iBg"; e_clientaddr="AcL0TmSebt6TBe_CzyDJkRpq60bNF2kfNhYVCkik7wfVwzqR5z3giqcOT0AWKPrJWJ3z5IyhJG9g06Rz-A"; e_fb_vipport="AcJvYPE4izu2Ko45eRMFBOj2vTuPwTV6kBXh39_jBF9etIVZ9226txitcUeZ"; e_upip="AcKf4DWluguNgLWY8h3H_GvR6frTd65zQ0GwzjogRGz0Y6TtXjULr_scaljJEatJ5_piTL0UnSKlCj4lUbq3TG56-cBRphG42g"; e_fb_requestsequencenumber="AcIoZNCr1eiXBlVDj_GpG5nwkdTV1c4QdizL9FYlhYpGbuQ_HP7KTYrWyg"; e_fb_hostheader="AcLSCXmyUktWhCk_0_L8GkLa7-qrxKSBAjSrmEHU4xOsUg9079A1J4sHYAIka5UTc4cMr4mDNs6A-92O"; e_fb_vipaddr="AcLfNdY6PRc4y0aWlgmJVrSdMh49186nu4_3XFqEjS3Ft8E1PRWa94fYkuR6tlnV4zuQODt_ww"; e_fb_requesthandler="AcIyfyCwAewbGBAVOYs1-XoHmzOUCky1KHg6yn6Pl6IVAarB77Po_DzKSDPEWgewLjRcMFWWnvU"; e_fb_requesttime="AcJ62zGjUAoOMdyC6KC5BVGbBg5uYGWDOJkRIAMiy_mz1r0zM5Otld7NbD_pr8BfDg00GHxPsw"; e_fb_builduser="AcI1bQNF1CIz_RipozOv-Ac9-uy6AYxuHIH0jAmZ-xGoIcRDDGCUbqKnfSHCjioh1Fw"; e_fb_httpversion="AcIVDvdibnFTUapqHWpxzrGwJHtl_B8GeGOwLTfa9fenErel3wYGs6e0eNNm"; e_fb_binaryversion="AcJ0FDDP1SHMp1c7hXdCsOj-aUE7YmnVzyyv_GCiRAetkwCuMa1DcOXCW5f7upYzGeKGaIRd_jEaeFtkhC50U_Pee_tOPWrvD7w"; e_proxy="AcIk5J4cTDmQfym2b7gxl2rXb9yObCd1PRTR0tKczlUkch30GokOz0rUrYBSXlK7qenMkWDrmjfLUcA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=123, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6155901717855820"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:01:02: Error on send one message facebookId => 6155901717855820 05/15/2024 15:01:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AEA0O2nd6NEGjOkFC-GxSxH" } } 05/15/2024 15:01:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6155901717855820"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 455193, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXuTf-V2WfpW9Mi-tsGS8is', 'x-fb-trace-id': 'Dr9ESycIKLc', 'x-fb-rev': '1013520791', 'x-fb-debug': 'n0SqeLKAz8UkTAymDp0crqKn4a/OXb1PQlXSBdg8A/8IzMOWAokEKj2eQcJN4DMU+B7rrbVNpFLANq05HpE84A==', date: 'Wed, 15 May 2024 15:01:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLWG_JIzj7docFEhgvoMDTvXolKwtCZs4XsxS74d2cC4z2YL0aFTDNfU5eWJg"; e_clientaddr="AcJkRs-WxVrAnanJ4RhaJ5whtTFP4FtjrzqIbrXNBD_tCHnu1HgBVHNNJSBS6IBBwVAAoTkBGaiaVZS88UNfBQftOYIFW86yAp9_o4KBLrikyXJ1xQ"; e_fb_vipport="AcIj2zeqO9WzokA4Jl_1PHhMAmMoDijyaIAhyf0IpQX1mmmE-LL8bt2a4pAR"; e_upip="AcJwz3i3_K3t_JuCGbhHXIyAGnm43Efwh8YgZG0wqWdAiFpTcsBeeJmyWWwdwH_DkVIXII6hWzV1jnTsolTGXK5Gqo_PJYMucA"; e_fb_requestsequencenumber="AcJsA7HFVT109s3CxJ4zneplfM1bncjmDHt2OCaMVOcSh70nKvOgf3WtVnOhhw"; e_fb_hostheader="AcL7Smo9LQtpnKZiM3HvakG6whyYkejTPbGMsWIfC1Vz_gwqTSaKm8ax3SM7iDiATUsJ5wPxpBYwbCwU"; e_fb_vipaddr="AcJLIOXpPkJiqwx0XnYeZgAsq6LphfO-i-NcjH_98pY49tXoqbSL0Z8MMaPGBbuttr45xsiapePkJoJPXdYU7TqEufzw5J39rg"; e_fb_requesthandler="AcIVP6EDnT69_SotRydJ2JAV3bz53OZ2Ky7KfoyfkTQ9R2PCr8EFcmPSUqIqm75TdTILCA3Wagk"; e_fb_requesttime="AcKJdkHSQoJFY-t2E_pYSN1TeQea8oPxcqIT74EO5E6KIGAkcbx370swNfs8gRxV2LWTkeVmxQ"; e_fb_builduser="AcI1azFtD2G_03CPDJrj6i3B8ABOkIpBcreZTtNNve6JSAZv8T1-A3xgzDyLhe4KXbA"; e_fb_httpversion="AcIQXL1e7fd2C2GiXbDEa4Cq02QYIXPcPFVJRAJHpjNi80h7TL1nytKhIOgn"; e_fb_binaryversion="AcL5LjTiofyc9bPXr8bR7p28fcfzrk_Q-iS93R0rNBPgbGBjnmdTJ6XySCchgba0kJA-r-95K7OF49sLj81m-Zj9HyxC54WODfY"; e_proxy="AcKsv-etcXT5DBM_m1Sbr45r4X_3HeLVDVoIekUzBgt3amdZNHCaU4lHsPzpLEk1AlAbGxwEp_hbd1tB8ffB", http_request_error; e_fb_configversion="AcJhm3fVLdG8njcVEvkDLrJjWB354zSOtKQGsedAull3gLJm7JIAGw9ty7aVJw"; e_clientaddr="AcL2v7WIVr6e7-4mdOyoGKiqTW8YuQP3xvUDTCssg5JmEhi7LCNBIm9DU06HuZPc89oD0-LS6RnpkVJZDA"; e_fb_vipport="AcL-eK9O0lpfr4lbObY5ovZVUZbmbN_AY4QwXK7o0hgp0Sjhuybuk7RVbNpm"; e_upip="AcJnQxBVCpqr9HrIgF4dFH90gr1JK3gstdmvSBp2QF5sbL_nvZGxUNKIAzaPnMOSKrOyyi5ptWoRoWJzKLUYIQ3v0EeZ6bXYmg"; e_fb_requestsequencenumber="AcLYVMaSZTSGp6J83h4X5Ir-iql3MixA71ymvQ-fBVPa5bSj6iLk_5xaHA"; e_fb_hostheader="AcIxX_gSSKZXZtOpx-a0ppZ7t9c7aceaf1WVRj6MetpuTLJfrYqqXjwR8bg0DfZu8T0F2RVU5IjFSG90"; e_fb_vipaddr="AcILXsxHauOwGdvG23sXS8PVHMPjMXlvQUKB7nFYZmh_1ialfMgCtaOXlTaLC1n3csuqoXUH6g"; e_fb_requesthandler="AcJ1cM57i0QRQolF8aimMZ_RVFK4lhHq_FdtQ71TY1TR1RIFRAjNy4X14xVzT4aAafjlt8F31bg"; e_fb_requesttime="AcJUTCDPhSsG6wpopWkyYABrG87Zq54eUEl97SjlDURRk1fsg2367m31hfucW3awV48bQLbrDA"; e_fb_builduser="AcJXJ6JA02D803M1PqkK8DqvqM9atD-0szYJ1QBb2NqL8OjcAnFM9O-kE17RalLU6dg"; e_fb_httpversion="AcIYOJ0pBX5tvWvbeDoVp3RCwRVcwmcZ0i3CLTHuuL5Opo0iTFOS86JZ3mMW"; e_fb_binaryversion="AcJ1IFztszdaZ6UZS6hYTq2sPJwCJsfHswjRwUpmKU0cbFSAjzU826PcY-K4qGp_N0GadywW982V2y6qvj0DyRTXxxZcdiIixHk"; e_proxy="AcJ4Fr0SwbW-UFCNubXPFp3uw7dfKFixjjR2LvUO0QjguSy3A4-ip-uBH8Nc2D56Xx4R4_yk_aaKhjo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=129, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6155901717855820"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:02:18: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 64a88d56c568ee48daf8adc0 05/15/2024 15:03:36: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/9640852059320642?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 455797, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /9640852059320642?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/9640852059320642?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/9640852059320642?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/9640852059320642?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWlEbET6yklrr-TS7juoA2l', 'x-fb-trace-id': 'HRvuohLN9ca', 'x-fb-rev': '1013520791', 'x-fb-debug': 'dC0HT7k3sw3ggFTFQwKCtO9N1jOg30nMw8zmFirQOrS/uZOX4iOBclobSOT3nnc/G+bQ2T0GPVUoijEeYdOzyg==', date: 'Wed, 15 May 2024 15:04:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcJIxvUj2QKo5NrL0UivMvQFBJcjG-KgZdstIFdq-93zghseN1u-iCDzX6ZB2g"; e_clientaddr="AcLez5cmbcdmRMXPLAA4kxPE8kqHL_QQMDw1hzF0WSZWQhE50lj8HKMScDAZPmWHQcUH0hfe4R2-VBqnWTuKl9W4Zh3XNEgKe4fppd96T__0p1dPWQ"; e_fb_vipport="AcIedqw_4aUfWgcZmSRnU6n_jL2RZYbRiWIGoXKeLhI20ea9TWGzNWiFR8rc"; e_upip="AcJErlDGDkbIvXBEf7D1OtOXh5fmfrc9z424-kd_d2ynOfy8VuzW1a-Z-x5JrYrbF7o5JnucAP5g5Lqf4Ret4hIYPDmaX_LlBjo"; e_fb_requestsequencenumber="AcLGhZRyU9oArklgaFQBYSq-awaZ1TF7ppVsCzWCJdibW-AmjQM9dqy5_rDieQ"; e_fb_hostheader="AcIihHgMBWJNDLRAqIGLCHqzN1vGi0UnmZh6ICZRDFSD2pNQ1JWAr2SS7jgEWrbPh-uQdJaoG-tV2_Sw"; e_fb_vipaddr="AcLYOkSUERZ1XVe7ulod6BTh5NBXZWf9LwolnAH7V0Oxqtjr1xjdGBeU5zCuMYUPsbgSaijFn-S1T7kSGfgS5518VSxwbGCFyA"; e_fb_requesthandler="AcKpEPfhDnv5x86iQWMq92soJv4giUcua9HjvlTmZLNDH3p8rwO5MzyhJHKtTwazciu1Ayr64kA"; e_fb_requesttime="AcJt3jURxOesioODSvt1IYNpKSelMa8BgFjqdG6rzYLvTFvSa57kkUB5ie72OX2gO2_Eb6brRQ"; e_fb_builduser="AcJ8Pkg92dshB9HvZ-ea-RkL-7tM30dSkc5MFN5aufHmBCnR1zqQNh8iIWo-LuJ2Qx8"; e_fb_httpversion="AcKIUYydfQI37Yilns9UeSCSwdkL5LP1t8zan9ffiLE7XseyntZ_okiSFxai"; e_fb_binaryversion="AcLjjIl1NMLYy2iMG7hx9vic5wzpyAuxVRZBpxN6DXrTZ1pjAMoOS13vEevwfy0meoc-Nn-_rO6j4ZlVZVl4GnCkK1DmUzpaGcA"; e_proxy="AcKmLW-06BZrGVDa4ZIFdz6tZSmE1Jz-Z7xpk3SfQzc9yfyDsP0hARV5TkbFY5kpHl8xp8jOsCldxBMbdhHw", http_request_error; e_fb_configversion="AcK7sHf4tA6nmavtF5zE10HfsXehcoX2jLGkmgd5i_lBxtfgoGIQHX7lWeWYwg"; e_clientaddr="AcKvXSu_bFojcsRmioU6N36LRxdAuA_Ge5VA8KrumFHqiEK1LtzGTwzo7rXuew-p80YDF95L4xyM1b5lOA"; e_fb_vipport="AcL_4d2LIcau5peiqQQnrGDf1_K-nAWHFZNTjoPAa-TIVh2raXcIKdcc6rYS"; e_upip="AcJQz1zFPyWKPVfYArbeYZ1v04MZlJzZYOOMPu1ACce7KD6Eg3FZoyAXEs9O89uiHmrxEH64mfkxqz-tWZejQ34EQlz-_BT9Ow"; e_fb_requestsequencenumber="AcJIZL4XZgNYnMwp24gYP8FXuuc7-sbeUeVqBSRFiJYzh46YsZCf2TK7TQ"; e_fb_hostheader="AcL6VAzOMRVnUI6WsdyuRro0n94GK3G669VTKRHwCQipaX2c5sq0Y2fjL0y9cPgptBeSlpm1s82VbWzP"; e_fb_vipaddr="AcIskS9HEp5KBcaJ6FNvflr2dukvjAhfK2M27B9L7cj718iVPzp3P5eZqQSKoZQ3cGgG15rRJA"; e_fb_requesthandler="AcLTBgFbnxIsg11BNzlCTMlCpwDcFn4KIMTDVclzwxWnksECUZzcyq30kqBjGjwzW80NWsP7Gi0"; e_fb_requesttime="AcIu-PcEDDJiwLD88UGCYqARiUC_55EXO3rucGn5siMinKv5JwDzuCQfmLKc4DbM42ibcgTv6w"; e_fb_builduser="AcKXoKCX4DGP1lB3gBO8PyBCHodrIZywI7F4VMv9kk3YbYDFYqMMOTHOxq4DCW-EBns"; e_fb_httpversion="AcISp8aymRNDtw0XJf5reqt9i6SHgBzLnb-hST8Pv_sCCHTWl3aG6zx3hlp1"; e_fb_binaryversion="AcJ6sUv7dUDJrAVtYBQSNIzq1I8IN3APbFj3MfEUmwPXCiPoSuYwlMsoaNqWfpOr9HvMGXG1HNcfo9doey3gAnHfqNZp-SQ7bM0"; e_proxy="AcI9GPWi3WVoQ8n_Cb41-zpmTGwAV6IWnKLeScZG0lf-rpIAb_2gGz9AvQYawzELzwoFUHqKEiVKcsg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/9640852059320642?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /9640852059320642?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/9640852059320642?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:03:36: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/15/2024 15:03:37: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/15/2024 15:03:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"9640852059320642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 455888, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2HktruBNcAqwYzzFxVjEdF', 'x-fb-trace-id': 'EhCmqSGy5xv', 'x-fb-rev': '1013520791', 'x-fb-debug': 'eCX8b/dXX9KuWx1hWtecx2UscGipF0ncVDcXZ0+u+gazCF7pVtAZ1db4QdTlvaoMKnq39NxogSA1sEOBl40UiA==', date: 'Wed, 15 May 2024 15:04:18 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcLbtJQnBd2Vkko-I7LaBa_auZCHRN1YC7YhdWyx7BaT2MQDbGao_64cmWavnQ"; e_clientaddr="AcLstMIcWRe0S3EiGHHIEbmdJFYZ_HZ0-cIRX_1wBe1yYWHQrRkmWnDkp5s75zdxJd0SFrsCFuwEGWIbHolhWNkBaLcSp87vLoHC0OAxwtvhlix7xA"; e_fb_vipport="AcIiCBeLSkCAY5BVcW91kI_aXq7GIyHT7j0ppuvD5FzWXdrT2DpbEp5Gl9t5"; e_upip="AcIdEcRlVz4ySvYa0jOiawgJO2W5x3GSiNpEVhMUOwfMlyZgQO4gZsbQ1wjZqVer6YDaUDYNQP4Af5m-NCLSCvfEW8rC2J7BsA"; e_fb_requestsequencenumber="AcJhD8wOCt3PGT_Z1fY0DBZvqoGKYK6HGD_z26jH6ex-QZfEQ8XT9hU84sTa_A"; e_fb_hostheader="AcKPF66_GcaYgKTw4LatsJAuWGkHpPaFNqZvGu4WGRRnilsdnBRb-E_8n27ZozMu9znOg2p5GIzA7Gs0"; e_fb_vipaddr="AcK-kutyqulo482NgcmoYzljcZTnY301Z4m_UyC35sl7wcbFGWymzl25rRKSBq3l1zuAIXeoztPsNtHjtC2vTwLdVjSDzXT3YA"; e_fb_requesthandler="AcJKdrdqUbyLV792XyUc2wNI46llvOD6CxItay8fgThNWw8HRWei11jHbeNYr2QXLvwJv7RoB0o"; e_fb_requesttime="AcLLAC5dEToogmBXuyygaNu5eNWGEL0wQ7lCIzpuBTGjc2eckL8AfhNZWeh8p5EvWKBYeBBVjw"; e_fb_builduser="AcJ-lTrpocC2KBIPf2pU8CDQjHk8jZDrcaZuPo8OmGNj2HaboKtR4gSeLrYqhGLWQgw"; e_fb_httpversion="AcL7K3PLFHdj13SKk22aYzQ6Pp3x4cPPiz7YE7MkN67e8aD36nU6Sro7DiJX"; e_fb_binaryversion="AcIUP-UG4mhnHyJzaGSyIjNnhAXuSFTHuUTsy6kdZzvP9KXRjaGwXXqqXd0Zw9NQbVuqAf5p9qGd6JXHEY-ElQ4E6hCdlAoYbec"; e_proxy="AcIwYlHj8UV6gQxp-d4UjY1aP-82xBKgbqqbVpAUZHrc4urM9QwCkWaZ_dcBKQmH3ZD6m4KzhR03w7xCR058", http_request_error; e_fb_configversion="AcLpuBYKKV4DpkNE0uVEcrQVinVWtKFNLCZ6pazTiQj9dYV4iF342pJ_0FMr1w"; e_clientaddr="AcJZUpGOpuH9H3lljMbQCPEjOdjt5AH65USEK8O9MzKyY6MY9-Bvl10Bdu5LSh-YaBz102Re-AsMAQhmhQ"; e_fb_vipport="AcKUcGwMQtFF0oC6vAOin7KKQpXZQeuLAsZCaQBYR-UBS5rsgT3P76XLjngM"; e_upip="AcIOjCXhknJ7qbCvWffb5fevdOx6pzubJHqg1qhiEwA2Y6yF8XWiB1zt4qHvr_hfPjBo07NrlvNAmIHs6hFjtRyr086twQtZCQ"; e_fb_requestsequencenumber="AcL-syFiBmmARCzXbBS1d7m7d-BTKzymiQ3mHjm8cPE5f3hRxxqAhU327A"; e_fb_hostheader="AcIprh4pGL1Se6zE9Kdmft-tAA8g5hMhWRIq3id6aYj5CkXqUNhPe4b9pheleT2v4AA8VDZQ6m7RpmXa"; e_fb_vipaddr="AcLaxwoA5e5hfFuPQq_4DHuEk_D_lolqqYhd8NbWwQcG97sHtOdIpHF0GUcKDfOz3aiWqn2sDA"; e_fb_requesthandler="AcJRniVJLl8NqcCdvJ4FjaHSp6anw7NiZkXYIEIjRz6NCLWYOIaHmRC8b7HdeRmEQnj7EMjeU8k"; e_fb_requesttime="AcLo8iGI52qjD6FOmV1TNNt-Wt2kgL7SLf3Ols2-SUMLeHMVxHn25VUshATzQKbM3EatcO5_Ng"; e_fb_builduser="AcIzqsLXNd-wqXe-v2snVv9BgUrMJoL5ISxDdbAUmc903c51y9jgZw7fqF5do-JklJM"; e_fb_httpversion="AcL1Ty3ZnmD2cYe6NamCDOo5utglP-BbVtH0IPNQ3Ac53qj5wEjWrVKuUuIe"; e_fb_binaryversion="AcInIN59IHhtMs8jy672zDC0RLmqVIHHMQgCL15YdpfN3qUI95gteeKTWDXKYFO2nYxgjYP-8B6cc2Cx77antBKkAxroLxmkREs"; e_proxy="AcLrjG5oKdoW45eJFjLNb6-JWuey1iqQK2Al4oWWJFfH35K52W9s3BMbOcLnHIY7aJcvkEOJiX4FY5U"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=128, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"9640852059320642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:03:39: Error on send one message facebookId => 9640852059320642 05/15/2024 15:03:39: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Ac7ww-ZVTL67m579OdFjFrH" } } 05/15/2024 15:03:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"9640852059320642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 456196, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4IliG70b2gZEy4oCmd_uR-', 'x-fb-trace-id': 'HjJwfRG2jmI', 'x-fb-rev': '1013520791', 'x-fb-debug': 'pFE/N6iFZX4uXKSWoZPbxvVB7tUvgQdUJObSI9SRDY+NJMfDmi75d/zIVbpEgMKOQPX5nfeshglfpe7Gc0a7/g==', date: 'Wed, 15 May 2024 15:04:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIYH3FoWrqXRCsLURI9icdFDcESiJV6ID2P7VoklOeQqkBNssLsMPedMkcjXA"; e_clientaddr="AcLErPvJ-ywazVpxpzTVWPVITcgqYT6gI1QMxDPBo__UACeMW7u2CY-ceqEICvUtEBCDgLKGVrgq1yyhB9vaBUB7_R92Y8Rk72Czt4tDHS4Wm5CZig"; e_fb_vipport="AcIgruifQvZeB3V7wePnDoDuI7Jljd6o0F13Yn1gnUDN225TmfQ7Wiqyrxka"; e_upip="AcKjMwzZpuDkXWy-C83cUHj7DyqlgHuEBn9x328x32frRGwRKypCmBjtvQIM-kSY5ouICkZN7f4lwJPZiIY21aN_BbUKKM6pvA"; e_fb_requestsequencenumber="AcJ2AHL0uQ6UIA6MmiAC2x1LWtJej_TVyL2fVwP7BRUdSpkLb6gTKpJRNGDvlg"; e_fb_hostheader="AcLpLeYhYTtu8WYZnIRWRfNdR8MmKzfOvFg83T_asyyz3rLQFPt-1KDTJUQ8Z9PlOfMIkz2X5tfutRhi"; e_fb_vipaddr="AcKIfMSUggBZoTtwTYJPqN1t3GMNKvo-tTzJxj73ZwfaiiOmel4RlAjqOejIdSNALF4e-NWOblx6VBdclsweGII5D8LgvNdr9g"; e_fb_requesthandler="AcKpPVbjvEhiZHN5xSgtwZx_KzznapBlz9v4zVj5d2TZP_VlRHJ5D57ouKinaeFEHqZ21jpORCM"; e_fb_requesttime="AcJxq42mBalJUmy_B6fRaL7sWMtiXUmh1lfK6eKKzJNo-W4fezMQPpk7DlmLYerOAQEwmAsPyA"; e_fb_builduser="AcKXluxEL_r-JM635qjEXpfz66uQ02N75DZyapaY7TIYDLLztocOK2MMg3N87ikNk28"; e_fb_httpversion="AcIs4Cb4DuwSf65I8QobDjBLSlpwLfdPqCeFaAVA2Tc8W9YWhpGq89xhr29x"; e_fb_binaryversion="AcL62mHSHgQFIjwHVlDbrJvcYcR3YhlK1cEoaKWsYvFGR4kBW8nvthsybmjQCdNKPZN3kQEBEIGk_6BTJWHMaHskjkAjoBRLmC8"; e_proxy="AcJZVGfu1xrt6RXypPNdbLUH75n3Jf3cqYXgC49VEz9yMefGzr98m9mlqMROCF6NwGuUH3-Kpn0PY3QX9C4G", http_request_error; e_fb_configversion="AcKD03BlByiFrplqwh51q0Xief9UNGJp8O-sruqNoSwbAbk6zIhh4SxD-iLLZw"; e_clientaddr="AcJB2J3vUTU3KS56tL4NgvKFH3hIkR4Bkg7vluUldmVZ57ue4goyTZWDtP-ZtM2kSNAIjWbtEX9k2bSc5g"; e_fb_vipport="AcKCJvzH6qs7UwIXt_MAGffdKk69rJs2pRe7_N6OUCArPdi19-VcFkYba1zc"; e_upip="AcI389BwTQIiYbgiz0k5WAp35jyLfJ5aZ2VpPTg1Z7iq83K8XWb51q6CCenNcjNsSma_B0Fha-ok2Ua1WzuqTFqosUrcmttB5w"; e_fb_requestsequencenumber="AcJ_URKzar4nh0dN-3mfXgJevD8n6N1j3gSvkBFoXwXUFtQN5yC4Do4SOw"; e_fb_hostheader="AcJb_Xq9p2lZMGkJG-rYJS-qZhfED_ZxiA0NIIfCGqk0ZW1KYBulJrS2qOFXfN9Fqk3D4LeVFpqZUYs9"; e_fb_vipaddr="AcIYmlBTOxfxkrV0E9Q9gZBpNB7mnYFfBCD7HbTzO_jV1o6iv2WbjkduOh1Re30Ysq1f3cA04A"; e_fb_requesthandler="AcK2XQAw34v8z4kmOwldJi7zYyZpoJ0WSxqGVZYS1W3SZ_-22GxwmuyVJVSYgQk1AjVP1tzKwKE"; e_fb_requesttime="AcKiTpFyOLhQgLNquMco_rPbHsLlDTy-WjX0BCbfPsMnV6nhNR82YY2rDtzQXM8ob3V2Yx6S9Q"; e_fb_builduser="AcIMV2QCAK239YijaC88qFH2Ly8P0SaouF_SBr9L1xOtvR-FG4Sv5VNVqZL-drzzJ3k"; e_fb_httpversion="AcKbH_uDfWX92mELcCiRDTmp-d9VJQrARXx-8SOs_qBPDR2VKznPE_fIyvp7"; e_fb_binaryversion="AcIBHn8WyFUpli4905q9ELjyFc86x57FqAGy-zHyokZsncqczctRq1HCLMCsp3inYfY3Y5WHgZW4sfYpAvBdaOU0xmr__SZYjDU"; e_proxy="AcI93i-E621he-kZf2ysKmhErpdPWziEI7cUwGKhjSE_ZbJNYJXhzyCI2wQxU2TdTLPBEJucJItyotU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=129, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"9640852059320642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:03:41: Error on send one message facebookId => 9640852059320642 05/15/2024 15:03:41: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2CxYWn4Xl2tYROEpHpBXXg" } } 05/15/2024 15:03:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"9640852059320642"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 456485, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuRsNhDF5e03DLu9VU_tmiu', 'x-fb-trace-id': 'BShmYpY/K3H', 'x-fb-rev': '1013520791', 'x-fb-debug': 'jmnM7rtr7vrNotL6h0LEnIDBiPOs+Wc0V6fckC31pE9lpMkaJGPO28GQuZVZP/NChYe9ne3h4GIMmIUIB64bZA==', date: 'Wed, 15 May 2024 15:04:24 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_fb_configversion="AcIghBJFXgy5rUosbIwq3SX0JeZWA7KKtt5k-ALpQvEp99J6Z7BhwVKLrgWR4g"; e_clientaddr="AcJ6dHV8MuctQw5MaNRl4vhfI7DwG3XhIsGHeFT5XV2GyTOUiAuD4knuzSbFye_KQi5nvt4LewVOtUJbv1Xp14-EO2e8DjnQn-w6dkL5Z8qeT3eU"; e_fb_vipport="AcIlaeJb3vDq83_7d-FFtK90M8po3sGQp-JQCzITlxaLjL9UaesyEGctIQK9"; e_upip="AcKXoyOEPT_pPsW2lCHmej7Q8V_2752h6P5mFeYFYy38mGiyGjdC9GrSAY7BC8AO1Wkf_qbxUcfqBtFGH19JikyFbvY5Fvtnlw"; e_fb_requestsequencenumber="AcLWK5yaca8kb3RpPxqGZYbPDN4y_k8VCAO8XFroGPrWuZemK5b70a_AQfX4"; e_fb_hostheader="AcLoLsaqrTbjnrGrtjw4x0HTYmnJfP5h1Lk2uM-pj8JHucagL9Ya6SB_n2NfVGVbx-NWW_6mQ-zI0adO"; e_fb_vipaddr="AcLMy5aTWenHBbsZJHpwIW68V7JIzFnbTmm1NMntSbT5D2nX-zVAveh8Fq3lZlWGHIp9cEulyLLEueL7vyaFU_-f6fzUCU655g"; e_fb_requesthandler="AcLFi-MiqhTQYK-lH7v6bfhxnAC9r51i-gJ03lp7bE0xJXIXP8FQSIOeV1I1p8u__5v8BFWMg4E"; e_fb_requesttime="AcLgCMcpO96w0iJatXDcSN4URO950sM2LHgyBzmjJ_sFubOR-T3a3Ui8CH0teshCd-XNDu5oug"; e_fb_builduser="AcIfJBhJF5_ziribcn_enLO0XsGrRhePAF1WqvWBohE4lfUWBDvYG5YwQmR4yIcvhpI"; e_fb_httpversion="AcI6rbC1lcEsFKbY-GFgdIJK4CicNOreAhZWr4XDirbQYTxKCvqLcYFrDZzx"; e_fb_binaryversion="AcJL2qPQrynR9SOHZzEAusnrR5t0K2acS5jqLpUbBBGZ_tmR2MYz4OuPesE0fdww43wPEoHL-9tuRqNWD7OqB9uYVwUkN0Sz0AY"; e_proxy="AcLrJd1TsgAR17e0RvfvK3VvsQSu-fTAv06z3rcm03pvhWvQ-iDZds5HXgJGF5quIOQ2-SnFoJ9MKrrOUqAK", http_request_error; e_fb_configversion="AcLe7yBppa8Be0PLGXVrZNnGCiWx8Mhce4eWaIFK-pVwbBiruzqo_Me582nZcw"; e_clientaddr="AcKFmwyvr0cBokA8VQCPqZJIn6tPxLXXBIKhbhXoEeUfOkG4buq6NqKJFTwajHyL9GN3Qf9qY6OTq7nICw"; e_fb_vipport="AcL2LqlSV4tumbb1GFGsJIp6mIHiWBHVzSjpFKoqabOSoP8miTuFBEDMVMpQ"; e_upip="AcKliCk43D7CSKcU88_WM8fb6HuQTQxhKfKegbDL_MAtG342XjHvLWNGdocAtfu92nVdLh3fQsngosZ63wvSsV37BroAxOQCwQ"; e_fb_requestsequencenumber="AcK9Kd8xYzLtZ6SSgHEXWZuHewEMJjerY9ZEhUf-Ns7F7h7oyze8sumghQ"; e_fb_hostheader="AcLM5rUYWamRjKecuNiE8pSSg1ccocVuRDnGx69L0pN8nBhIpeeRNfPu67-INoEnl-DRCn6vyFyD-N3r"; e_fb_vipaddr="AcLB4JdeO7j4_uRUno188sgSuq0Qr9XaJ8vUOKc7tana97o_lbafvpUoP1c2KSQDtO1ffjc9_A"; e_fb_requesthandler="AcKyE9LU6E5o5pzZOa2SFa3DubM00LzfO0EBQNGehBkd8HKfAihIVSQCiiyV4OuaCI7jx4VWlOA"; e_fb_requesttime="AcL4NhcLT9ehC67pQT43K9Rs7nHLnDQh_0hKhFe87ZlRaEAMTNK2qziP5qTzv-JRxIUwHNNoWA"; e_fb_builduser="AcK3hyflIa5obbdq0rl7F9dQ6lI1rx6ya8JbLTKpW6hw70zjayFJR-7l_KMjnGvozl4"; e_fb_httpversion="AcIg5bTdlN6Op2hDRY3oWiL2EM_ItXXtwn617OXTqTEvZHHjQM6eBsuSkKZC"; e_fb_binaryversion="AcIfWfmtESolafAaLochleXYwMJeyq42knIvHvk5Az7tcVctar8NyT7PLC97R6sBhbwXkVuJsnxZmGfZHDJUGFnR3Wvo_21nKdo"; e_proxy="AcJC8F2VlAp9LqfJU3R2fjwLLq-wLYkzKR7vz6vnE8Jilv_MfYCp72wqKStn-vrcSW3av4c-oVbEUC0"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=127, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"9640852059320642"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:04:18: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 64a88bc3c568ee48daf8adbe 05/15/2024 15:08:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:09:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:10:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:16:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:17:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:18:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:33:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:34:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:35:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 15:36:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25351413984505415"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 469327, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnMVaLZjpZucbxCnM_JXM_8', 'x-fb-trace-id': 'AvMmjlx0nJS', 'x-fb-rev': '1013524173', 'x-fb-debug': 'yOavyHIH9nBDJTBvcN4dXOfrLl6h2F6Ua1azvmFLiOWvxjN4B2wKgr/3fbQ5UPcdU4pl6y62QarIMjy+CGHAZQ==', date: 'Wed, 15 May 2024 15:37:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcInjBwki7W8yydeufBidGEYPkukWicwVSZDQDobsXM3GS1yqSKllQ8WQ4v97w"; e_clientaddr="AcIZCQOIzIeIyzLg4Rm68Xsa_bSgu5xB3Y0y5QlOuKayt9Zlwwmknf0bEktSo9p5yw2RfgWpwF1QWK-AvKYvnFrl56_FIOe8MnxkebVPDABUV-OV4Q"; e_fb_vipport="AcLQAKgq1MlFjtfmc52wSG17QJMzOvJi29FWLDJrn3v4_Up-m7SDqOTwpttG"; e_upip="AcIz1PGR3KkLzPqWX_BBWirViKOq_xFl1rz3NETlo2wlBylH7Ke5SRBq1sjUJZ0TOX8_vs1l6OmSZi1kxZArfmzGVWlAA0BN"; e_fb_requestsequencenumber="AcIlRJmBDLPP5RYzP9fmUPNsidoSnZVhMfcDpj0pXwruT4p98Puoh5toedF3Aw"; e_fb_hostheader="AcKWhcqkxst-BmvccoKnIsSj9JbfEBQqfNiflA9ZgWSuDnG537cg-6u7lgL-njpalNh8PckcZcYdiwqu"; e_fb_vipaddr="AcISIg4QsMHeq_mxYeyTq4NNdDpAh6Xbv-HPq741D57Z5sTzBEEHQUTeJbbzd7HTtp1J_nMaR-Lqlt03KGHuJZd_UF4qd6axuw"; e_fb_requesthandler="AcI7-J5I8fuCV-jEW2qvIU7TrUOhiMAqcvXb7gFSGB1E8D3OCbeQWd1qPkCIuLbgAZETBEfueRg"; e_fb_requesttime="AcIr5WfkW4jUFto8hpKD8hE_Y7I3rOfT8Y0z_rRAPyW7QtqWhnQCGreW04XViNxX1QyXtAXzKA"; e_fb_builduser="AcLdH-Zq34VICFlx2-X_suoa6n8y5XT3EyPKIPeKCs3XzIXEldm-wKP9YDVMBouf2T8"; e_fb_httpversion="AcJwU7LYrSoo9UvnxX-U-EZg4SSYCtLVz0Aq6ZH_k62sC2_H7d8UypQaS5k5"; e_fb_binaryversion="AcI_JN2ffdm7hqoMbhTtCoLWBKs1gkUpQtWURMWNgE6vkv-84i-m1DGgVM-zqyU8pGgjllfS7d5zyQkFV542uI6sbeoeQN_OtIc"; e_proxy="AcLzT_cWF3RYyxEUN6yOuSufO6YAArn-kEWal7r0lMaHjQ0olDrFgxIqJRjrFXtEUFpPV9V1yDnDgaDOAoNy", http_request_error; e_fb_configversion="AcImo1typA4casiavDy9J2I6MHXXSpxgtbWUjR3APH5Fr4MDI8V0OAZNkwji7g"; e_clientaddr="AcItcmD9lrZb04r1_R8IUNZd5y4u30Jn5jGxHpeo29gQl09D5hPIgVMGor4cpLxBh_m53twRH1oxgt1t-g"; e_fb_vipport="AcKaJHrqEOWWiyJ9Poe1a0tMLE0CZGaX8v25GPjqMndXREXG_hfgBd7Q9LIs"; e_upip="AcK1LFH5eI6PUD0ijlU31QY5-2jCTsy9-pJFBXMb-yTGF3byX8Pwu26ZmS4Z6nj_OpCessHmvgvEi75rRWuyJWlD46B1zN5vZA"; e_fb_requestsequencenumber="AcJvdP_2Lr6t2oJp_tB85eOCMLYrTuOuGYkzCJlc0LXfok3q8q5R6VPuqg"; e_fb_hostheader="AcKAF0lhWq6GoCXxVgF88wOjxIdU0eWkPLtObxLhaefwmSFCjrlFe0dC9yPKYyWSFZ8pRIdFkc_m1xpE"; e_fb_vipaddr="AcIwmIdp1cW9KC5qULtIAn97peKyuzh0PZ2e_FEdW013mOL2ptuIhzL6SrcsPYBfNJQhLhqulw"; e_fb_requesthandler="AcIkn3xoNHWIMKNZJ-zRM-Z6pVdtQgWgkXNwICT-lWOGPTUyZo5JTs96aspPcmhCUAj3b6I8L1Y"; e_fb_requesttime="AcLPr1CxRh3RXXMsxomBGdguJMbefbQsx49czEQaJ5ZBI3PhAczPIXGkeIDa7JjPKlxPpruOdw"; e_fb_builduser="AcKH1VHqAbWYczJmE012NAXFNQ7orh9FGdZI-eDrYK7ca1or1sNYV8kNIJFOmL12Tk4"; e_fb_httpversion="AcKwJ-SsCFhv7XV1si6_RcWe_otiFD8hc70PMok4eS027kN2MwUCPKdIrxcK"; e_fb_binaryversion="AcJXhl2Shzfj9SeygFh89R-YKopkGDfXT2a-TbOAAej71IRk_6bVgtsxZMrxbDAkI6mDlTJb7n1iBAQYWq2HlkOYKK7DfSgr7d8"; e_proxy="AcKDnrwsQGDTbhaYMZHQ656cPJvhgQxxeLU5vUX3tD60b6sKppth5kROWOWJIaceMcU6FP0M3TUuN7s"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=175, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25351413984505415"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 15:36:19: Error on send one message facebookId => 25351413984505415 05/15/2024 15:36:19: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AKhNob35FMnWWxZrSjGp5va" } } 05/15/2024 15:36:19: Error on send one message facebookId => 25351413984505415 05/15/2024 15:36:19: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AmZjR9QeyC0FkbW5lPyr699" } } 05/15/2024 15:36:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25351413984505415"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 469556, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQ6E6QLJflPF5wQWIhawji2', 'x-fb-trace-id': 'CEGku8dYdpA', 'x-fb-rev': '1013524173', 'x-fb-debug': '9GhjW9m+oNUs7ihroewfox4Fr1kXw0kgn5mnEUkxDCj8khot84usKl5vLoIrLFHhUls5QQ8aXTntYsXyXl4Juw==', date: 'Wed, 15 May 2024 15:37:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKG53ll8_f29yuIdZQAI8FQVC3I7yfRoF82X__NNrXQs3OWqmbmepG-lBd2GA"; e_clientaddr="AcKwjOEY7sCuNwbmEeE7XsEPY30uILlvgrqaiCiTSBJXXVGblyisLfrPOny_tCY05xffxsKwGEKHa9Ts7Uah3hLzBwJIa0YJQL1L0Dl0oU41_xcGyg"; e_fb_vipport="AcKGCzv7nOEfvgaW8eOXMLpuKneqcqeXFcenShLmJjEPuzkRYVcGWQ5v9C8K"; e_upip="AcLIaFejNy_-vdho1ya5plbzDGmWwGRYKseJOW74MTs6AXbYK1JeGTCocYTMKIEDZAw6-vBwcP8syf2M-Ad1tkxUpHt-duZA"; e_fb_requestsequencenumber="AcJW3ZApjgrNw_Aa5n6jMlT4g08w8vT_IDNc0v4kAounFHaUtdVPpQ6EEvwA"; e_fb_hostheader="AcIM7MC-nG6QcVfPIoLtgo0ooDpQK7zMvAEeZiI8n5dCc7wURZUH7AEJdXTX5iXhOry7KeXDUFJxVk8W"; e_fb_vipaddr="AcL3pOtWxU-nT_gIRjF_8KbjO76WnGnNzNlZf1T1js8u0c7b23drmAmicpWOls4S1AaEeBzP-yDiAMcbcXWGbjzckjTTlEX4xQ"; e_fb_requesthandler="AcItulvP4OJ83rnCz7Jwx1FzfxpeT-X1GTOBTu4oaubwg24q2pfRzzsz1vTdT7W2el2x-XXmjgg"; e_fb_requesttime="AcIdhJw5Bt4fxtWNYpa9g_2ZW1r1AuTOv1XV3aFuWcAzBZvDj8FWzHnDC5i2lOBT-0CZAy_kOg"; e_fb_builduser="AcL4em-DGVxYZjweKGKVlsy3hWEah1l_0avqk360CDzzZ5BcjbSx8Ke5m3DoAA84yfI"; e_fb_httpversion="AcJULtZBOztrf0zni_irkhjxjwK6ikkvf2HK6Vfe3KrnaCKpO1CztOsYdVms"; e_fb_binaryversion="AcK2aGziR_LCgpoxESYCwFF_6eQn1-gWKKiIgSirTjXIAhZWCRmRKYREtFuu-3vLfr9TjgF8CyAQhO1yA0KmXCmXRAmPkn3sdRk"; e_proxy="AcLkdOwbEeekxPCkS5MBsQskxbwriSbAUVPrqb3Bg-6JCCQ113eW89DcP8jYZhLy6XV328TWP24s7V8Hm39J", http_request_error; e_fb_configversion="AcKelYzx-_Rdeb4-oHxydU0IpoJN-rIRS8PHUglcVZgv6PVjd_mF9HoXUyPn1w"; e_clientaddr="AcKF-Yg-ZebdM4Z6U-DgqD1ActviQfm1N2dSORsMlIA3_EzwjNMyUR85u0OhYp4pjtG_ezjheV0ZpZth6w"; e_fb_vipport="AcLdi63Xou8Pg5dFC0e60d0NtocPDK_FEE35-KHVyWHcYKPT2RTLRITkaEWV"; e_upip="AcJB1qPID991_Wn7x_MUsp6dlY_UGvsUNtkQHy1gzVwuDcTgLZ6IjlwOLqi0IoGLfzdTQLaSSq19unuvlpsRXXjb1NWSdDDGNw"; e_fb_requestsequencenumber="AcK9fjqneisASQw0uveQCIiploPdT5KzCCruRpyr3VStBKVAjyveQkgbDg"; e_fb_hostheader="AcKazBR4qcK_M9RYPOOr9z0X8wDbhKleGPPxJkxXY2Wi-PE83hsjrKAGqfGzN_tUQVCoiJt5VwLkXrj_"; e_fb_vipaddr="AcKumwxgUqGan-zIn-KMVCCky6RkU4sjAE3DhhkMtEMm90phnD09XB32UhyiFBDsaBoineg9MQ"; e_fb_requesthandler="AcKWhbU0w_vHE-PLLkpRKZJ6hkC-8vDk2tVc-SQ3BJuLmKO7WENakwz62wI4FFA0YgKJWxjEvG4"; e_fb_requesttime="AcJvPI5F00YkL562m0i9NBqpgNG76M3a3nvu-ZMS4fZcnmJJLC-NIA5vWEkg7rmzFdNxoFTG7Q"; e_fb_builduser="AcINsoz0AMKHm4Z3AuSZs-sTwqevN4E4w1hGk8QmUol1judMTLW5dbbMuBrgASOhYlc"; e_fb_httpversion="AcLROhMk-mNN6shNJPD5XSoQOJjMTyOI195fGxbFhIAhw4n9fu3d_lFmNMDj"; e_fb_binaryversion="AcKK9b-IyxlaLZKLUMb6a1YaLVh5n-51uyjT9SrlzMBOrblhaHM-dCOyuiCEWpMa6d1cEX5QE1Hdh0YEJsLL1_6KZM1Hpo6-jAo"; e_proxy="AcIymsohknGnOLDtlqrfqzel_l08TIbcPX6Rpn4imIgI39gybgjrsMpgjy5wtP8614YhqomZH8KtPfo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=178, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25351413984505415"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 16:23:34: Error switching inputType 05/15/2024 16:23:34: Error switching inputType 05/15/2024 16:23:35: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/15/2024 16:23:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 16:23:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 16:23:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 16:24:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 16:24:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 16:33:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 16:34:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 16:35:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 16:36:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25351413984505415"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 482148, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJX2nDxlVkhZo_4l5zuL8kU', 'x-fb-trace-id': 'FGT/kE+pyt1', 'x-fb-rev': '1013524173', 'x-fb-debug': 'q8mAPiejFO2AJgt96kN6SFztm8KfsMuayJdh1aRPbt4aHuCCoLnmyHSXrY6D2Mgse/ewmPi3wVs/K2MCVXU00w==', date: 'Wed, 15 May 2024 16:37:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLkrfpoggdprpCFQINaZkptiMB6sD7Gw3ZVP0F-hTSy_lIS4TRJGS0oDjjYVQ"; e_clientaddr="AcIjc9zukPkJz9bTV8iHAsTx8NES2NBR82f7FNMv9PWro6vlGBe7Gjx6vuDlE6FNawo898fUKnfnwdPjeopKbcEFmbTUVLUvcLXf-uexpBBwpPpx"; e_fb_vipport="AcJBHoFPYJ0U2sm2L15a0VP9HZqqjKhnuWJjrbDYo4QmNjeFXFHzk_hAFnIq"; e_upip="AcJLiBjEnf4gvZMVcfLKKqJTHrDhJNioa0eQLQWCB21oI2AmZ6AKSh4wcHPaAJuR-xFnEasMuSRhrxuwBenomtpA4zYq25UO8Mw"; e_fb_requestsequencenumber="AcL_PKY3WKHpnqwwlyajTPyyEu2w71naEZMkJHEGZjvlPhOevYCefwdwRR2GFg"; e_fb_hostheader="AcKLejGA71CcFF-tk9eVsy_Z5kkz3y4W4WvN0b9dL3LoeLRQp1ad9IQiAjjJHoT6-zxTUAp4D-Py2mNC"; e_fb_vipaddr="AcJ_WT04sKYCB5t0Qxe16qs-fvQevGtuBKSGxOhfl_zHfcOVDn-ymKUoP4nKjrZ14AwROx-m2vnwRooCxG3qA29nm_RohlG7KQ"; e_fb_requesthandler="AcJsH9KxAuTHEIFa_-sYKxrENc92JSCXvj7a8bakYaTuRkIwe_lHJsZsl-yJP8YDPXVVRw3_jpA"; e_fb_requesttime="AcKdb9bzcdH9bLTQ5XnIYxi929SJMw_urQruhSGBzKv24xEDNNp5a9TRuSzkItNXuyN5uAxU-Q"; e_fb_builduser="AcI8HmdPgq6eIlbrCSBkoGppiduARHqLDvaJSZBSLWDHdz2mByUga17_RMMGjJzMPTE"; e_fb_httpversion="AcLNAPP8sb4hGS5m-zFUBMKolZlO2mxeVUPm2UTz2hqmA28K_i1sMJav7Rdw"; e_fb_binaryversion="AcIz3CS9o0Gk7liY3KR1opvKFUhdfinUEz_je5s1aDyMlBHG7GLbGVr_gsaIVGtBiOg5gmIMVknFlIKE8s0h-yetPo6tq3J2K9A"; e_proxy="AcIF9_r0NnsPt8Fne76tTRW5FklGnR_Gvnj5xwAP0uNs7rQLJvSp2ViMYLpWrV0Q_ns6GudsZy6daQBJfy46", http_request_error; e_fb_configversion="AcLR3ALeUY6pYAme-tVIbV5z0-xOleZgzrmYM6zr1zMeuM5FKq-FDBL_4H1_6A"; e_clientaddr="AcKtiGnyJPRWJk5cJSA21Wthww1JLjmRGjbaggVSPgUbRZaZJCTECKtuL4h9W17AOYzPFhfpxj5z2TmHTA"; e_fb_vipport="AcK8Zc1ksXrfkiOmIETzQIWS0EyuRFaTs9N5ryFFFnzgLo5mtn4thWXkbSLd"; e_upip="AcLeyXqAd93_sscZKDVEV3TEvdWHe4Ut7bg9n7SKQn2440nnN-nEsPRs7c_dDBrV0e4FdNs7NNZc5PuUA2_1d9ZJp5SeAT3vig"; e_fb_requestsequencenumber="AcKlnNj3YXJfDEYuYbi9DW-C2sxNxRmewyaHNDZ5E4e09ErPLtVPHZC7kA"; e_fb_hostheader="AcIQrAk3NcyvCkRMEpA-VBR3C66oKXfRPgD1uqvbtUTEQ-AvUPV97E8rf8yHfjI8tx2hj5dqttpf4V-D"; e_fb_vipaddr="AcJAsn_z1DOj52uT1LjDe6WLs842xf8e8UStCr1Uk-TO6ARovnsPYuRnCQdPaSy0Ljbox-AnzQ"; e_fb_requesthandler="AcIwDaGfHMfwVpj37cKZwba9AW9DwRcsnfOIKFyq0gl3HirumatMLoo_UkRMi0jtVkh18K0HvwE"; e_fb_requesttime="AcLmnbTj8rLwyOpIkrUe4YPCWGuX1PUD_z00zf92nMcfs-dOmKjra1RCxdegahiHRFQUC2P42w"; e_fb_builduser="AcKQmpXlu2394F8_BhHpSOyKblBW5t-4lls9HjtPx27lZdARrbe3eMkd9tauecNissM"; e_fb_httpversion="AcIsIHBzTo7MYXIte-jVoau4_SP8LDSL2SgTBrG8jr_vlXcOBBUGBU1eI9h3"; e_fb_binaryversion="AcJmcXy0_UYlcQo1AfdYWxUUsJieYRDCJ4jacLplFrxCOF25b8srlRzq60tb5PWVzPkDkjTUqCYpr6rpQ1Q_B-oHgUAjPI1zcDY"; e_proxy="AcIDCcfhEvUP-QLGN26nCzFR_IwEX2rgT_nFQo4EOoH9qyU7MMJvjOfKkePwlznzlIBq_zHwmUsF7-4"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=202, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25351413984505415"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 16:36:20: Error on send one message facebookId => 25351413984505415 05/15/2024 16:36:20: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A4OTlA3d99wuMqZIjtdp0S3" } } 05/15/2024 16:36:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25351413984505415"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 482327, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdHT6WaAiXclBUu7j2CORvX', 'x-fb-trace-id': 'GT/UY6ZONSz', 'x-fb-rev': '1013524173', 'x-fb-debug': '4iSLoduWt9aNzlfV0GcohPk7F2UF9HBbxkvCN9nZgueC8N5hJ62jza2Nj7ZZIdQnJNBEgYBoWd4esfbYxMdpRg==', date: 'Wed, 15 May 2024 16:37:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ9WQsOXTzDa23W3TrTCQaS5lBACw2jOWLxqgPG75txsPK0u3mV-OnWE6sU3w"; e_clientaddr="AcJIC3_ndhveviZiRTFZ783JL4j7PrZ6C_WzxCKV6Cfu3WmWYljNng5vqw_njQmd4f6Rubbei9c-Fg4E5m-UoRh_MdLla9YdxiyllTzGyxsFxVDeLg"; e_fb_vipport="AcI46R87NMPYKhJMydsO4vo2HvynLgsU_IYySSG8oH2eFCS-29Z2x0QtWVEJ"; e_upip="AcJLsskwzGNSzJgx2qsOqPv866HtTDg2nVXi2pAGoMxAFDhOkWgB_JCY3n57q4Yfk2LYNrIkcojN-mTiAul8TuCguS0IGEvM4A"; e_fb_requestsequencenumber="AcJq8UOYIgidJWSpqYy4Vvozp8qUbehNV2msa4w7ZZNQ8igwJ0dPSeXmgJJ4"; e_fb_hostheader="AcK9hPjWJ-V-rR9qLLD0wr_OqfyfQjPPkUzFnZ1XszuFxugV23qjgXvT3aqbFKDF9LVvT5eI-A7pDdAb"; e_fb_vipaddr="AcLSzowisN-1NXcaV1HzTLDMqQYZDS35loXq2r20BoyJBRe30jlNpNwJHTdnETzV32M1OVPvwiCkTqAOfzKZKOpOfoDu2bJxoA"; e_fb_requesthandler="AcIrapDgeQvIgdwhbPZhSRKTBJjjlKSvJKrt3SuI-ymscgR5Oh0MLo6KgL1ZxBp4BAtRAkK-l3g"; e_fb_requesttime="AcLfiCQapwLvlNUNOHsj4ay_rrgQ--EEiJBhJY6gYJh3vCPuMqbEH6x6binu3RLbMcuAXY5D3A"; e_fb_builduser="AcI55AJbhd1SzQ-ao5bL6RgItUNkxTzcAxAymrhLTjpHpYo6bGoY5iB_gi-xTNNtd4s"; e_fb_httpversion="AcLlnpG3IMHPHgMlfLhvKjI6ujGeFc7RuDIGYbylp_6TLH4HcfQoH9n8pK89"; e_fb_binaryversion="AcKGg-eI9z4bQckEOdcJGc1QAwv_oYX87Qo70G_IH3ng16aqLi_s9hvEjuPQ9ckU5ImX0SrvoLaOk-iMC6GXNSmz1-mQnDh1xUI"; e_proxy="AcJV0XqDs6p0pdWVOpRuXW_JWYRoOTvVe3qicB4TYUpK2Hpv0c4VaqOvPAY0LJlSEIyl9JMVyjFEVkhKBJY", http_request_error; e_fb_configversion="AcIvcJLrwqr04ch2Fh1utILZo3ij3JaDF74JZdJrUtEqs4DRKuLvKF9Dqd8bQA"; e_clientaddr="AcJ5XI5mo7vQs0SMGuGnVh7W6nCjoUQEOAbJokgOU0B91DCY98pBqUjXP8Ix99ge1pKU8AyFL0aEygP0Ig"; e_fb_vipport="AcLqBJoKBxG1maia4cz51abJ9CalTqvrjmPI5ikCXqBJ_vhqOAQKwVffN74k"; e_upip="AcJC07ti_vMy64Z6_ub1niVWFg-4m6T6eni7K3EkGVUaUpT1sXEgkrzR5zlcqiKBMorejK6-EWQupqbopuPC2jAwsLvMYL9BYA"; e_fb_requestsequencenumber="AcI6GE7BXuiJhUblRLAnkqyzy9rMqjydIwHJS_uWxuEeMNcBiYGgWLp4_Q"; e_fb_hostheader="AcK6gbk1htBSGo1H-9-oq8yF7QY06DX9UpbmiNM9a7y6gPcNVPjPoVPpoJ2SiNJVlAmr8XDJ3C_cphEr"; e_fb_vipaddr="AcIlZyt4Fb1M-qjGgb7d8uCQwuAGDA1_ltNUOkVDK21OjIxZnMVklU1iyRgR7QvMyb3_XHAG2g"; e_fb_requesthandler="AcKTAgw2fnOcZveTVDZGpnZQ24cByquBilaCFOwhWYntENluRzlyRQSWC-Kh2yfsPqTiRzIET9g"; e_fb_requesttime="AcJqbO7_BPy9VT-4DtVC2VcxIrp-lX16x-0_PdCCh33M-4DOgwQfrJlHe1XBUa81Il0cUT3LLA"; e_fb_builduser="AcIx8Yy3mEvczantsYq1N42jnW_IaSGG0jCy0EOv05gboCqbx-JLqOQ0fr4n5JS06nQ"; e_fb_httpversion="AcItCbWDACVtqsLj6xN8tkiDjG7Wy8X9vZjO1R6nTZG8ECukh_6fXSi2xkBk"; e_fb_binaryversion="AcLc6geTUoQWxkHiCh6r2OSZtF86ck6Mjoho_3wdyEaKHgM-yxMkj9R4Yn-7fBy5CPkNlehiuLP74-cA-kQ7iRJzMoO0Fh3Ym80"; e_proxy="AcLdyVpzYOgfDjl1KfykjFoPPxyi28Hue1qWXbKuUv6uSMrt_yjlcORID_u5kL4LLF8w_Dbu7ucecq8"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=184, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25351413984505415"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/15/2024 17:46:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 17:48:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 18:44:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 18:45:14: Error switching inputType 05/15/2024 18:45:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 18:53:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 18:54:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 18:55:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 18:55:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 18:56:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 18:57:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 19:53:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 19:54:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 19:55:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 19:55:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 19:56:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 19:57:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 20:01:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 20:01:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 20:19:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 20:20:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 20:21:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 20:43:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 20:47:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 20:48:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 20:49:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 21:17:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 21:18:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 21:58:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/15/2024 22:17:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 22:18:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/15/2024 23:31:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/16/2024 08:12:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/16/2024 11:50:26: Error switching inputType 05/16/2024 11:50:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/16/2024 11:50:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/16/2024 11:50:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/16/2024 11:51:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/16/2024 11:51:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/16/2024 12:33:30: Marker: 0 | ID: 6645fd1aff349866cd4f03ef | Error: cant_get_message 05/16/2024 12:33:31: Marker: 0 | ID: 6645fd1bff349866cd4f03f9 | Error: cant_get_message 05/16/2024 12:41:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 12:41:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 12:42:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 12:42:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 12:43:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 12:43:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 13:41:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 13:41:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 13:42:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 13:42:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 13:43:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 13:43:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 14:00:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 14:01:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 14:02:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 14:03:23: Request bot not found: { id: '133788230054854' } 05/16/2024 14:12:12: Request bot not found: { id: '133788230054854' } 05/16/2024 14:12:25: Request bot not found: { id: '133788230054854' } 05/16/2024 14:12:40: Request bot not found: { id: '133788230054854' } 05/16/2024 14:13:31: Request bot not found: { id: '133788230054854' } 05/16/2024 15:00:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 15:01:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 15:02:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 20:11:13: Error switching inputType 05/16/2024 20:11:13: Error switching inputType 05/16/2024 20:11:14: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/16/2024 20:11:15: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/16/2024 20:13:43: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/16/2024 20:13:44: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/16/2024 20:13:44: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/16/2024 20:13:45: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/16/2024 20:13:45: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/16/2024 20:25:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 20:26:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 20:27:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 20:36:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 20:37:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 20:38:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 21:36:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 21:37:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/16/2024 21:38:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/17/2024 10:48:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 10:50:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 14:52:26: Request bot not found: { id: '128159377280665' } 05/17/2024 18:31:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 18:33:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 18:34:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 18:34:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 18:36:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 18:36:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 18:36:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 18:36:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 22:14:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/17/2024 23:17:21: Marker: 0 | ID: 6647e581ff349866cd4f0790 | Error: cant_get_message 05/17/2024 23:25:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/17/2024 23:26:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/17/2024 23:27:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/17/2024 23:42:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/17/2024 23:43:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/17/2024 23:44:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/18/2024 00:15:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 00:15:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 00:16:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 00:16:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 00:17:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 00:17:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 00:17:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 00:25:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/18/2024 00:26:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/18/2024 00:27:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/18/2024 00:42:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/18/2024 00:43:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/18/2024 00:44:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/18/2024 07:18:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 07:20:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 12:57:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 16:08:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 16:08:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 16:09:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 16:50:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 16:50:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 16:51:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 17:34:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 19:34:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/18/2024 19:35:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/19/2024 12:14:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/19/2024 12:19:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/19/2024 12:20:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/19/2024 19:19:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/20/2024 11:30:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/20/2024 14:08:47: Request bot not found: { id: '234064353428134' } 05/20/2024 18:52:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/20/2024 19:56:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/20/2024 19:57:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/20/2024 19:58:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/20/2024 22:16:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/20/2024 23:45:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/21/2024 00:25:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/21/2024 16:49:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 16:50:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 16:51:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 17:49:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 17:50:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 17:51:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 19:48:46: Request bot not found: { id: '215725838493727' } 05/21/2024 19:49:00: Request bot not found: { id: '215725838493727' } 05/21/2024 20:48:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/21/2024 20:54:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/21/2024 20:54:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/21/2024 20:54:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/21/2024 20:54:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/21/2024 20:55:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/21/2024 22:09:09: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/21/2024 22:17:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 22:18:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 23:17:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/21/2024 23:18:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 01:32:24: Error on send one message facebookId => 8013143658725250 05/22/2024 01:32:24: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AIdg8e7A1WOcraN8R85dtK7" } } 05/22/2024 01:32:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2160809, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzOJ85tWTnjlALpY5m4Hn_v', 'x-fb-trace-id': 'B4aF6GKETFH', 'x-fb-rev': '1013672611', 'x-fb-debug': 'Sbyb56+rMPNDRQivzaahcdDrIPlj9usoR2O41scnhfifQoVse0uROu3axLO5HgTK0Y8mwtQBNNbyNAL3LBlOLA==', date: 'Wed, 22 May 2024 01:33:10 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcK-rImM7EJTodl8K7ZzkqYH37kyF_YVbYqhAZIFQeOuK3d7GtXBg9qfbQb1mg"; e_clientaddr="AcJb_wjghu6Xcdrp34hzvfUawo3rQMSyME-YwXs_aCw8tQIxyEgAqopZ1r0VV7hQPqgckobpLkNzQRIk0ZeJw4a8W8h-pfOYUiBkr_0DY-MGEhiwCQ"; e_fb_vipport="AcIRWuoLUt7yfqe8DDvqZYVOyhdhfhER95OiWOiTNQ-C8zTXfeFsescQFi0x"; e_upip="AcJEaLtdZHX-7aWoMCVG9BHB9psCsJcPxhyeN0SJZRzdRxAMOd08qi-nL1jpcDB7V5jJZp9gYh62O9H0sk6pF-qHMBwR5u-d7WU"; e_fb_requestsequencenumber="AcKXcQJkma1Cz7QXQLw7wBJp96xccxXsqP8Ar_Mtzxel-U0Rnpk04yIJ1ptA0A"; e_fb_hostheader="AcIYQ-HvjeQgOLI0q24OtnC2T6_3ZjFTb5stfDaNZhYy7veFyhIDKBqmshtBtpxlirH4hA7T5ZtKzEFP"; e_fb_vipaddr="AcJGW8tJwPdEUMYR-y3-G4KTRnirH1DEZXc7jhp_cRJ5i-n9iQfQGgnpViYnOeZf357qFUek7XFe_0-0tFLgtN5QUbldycWjXg"; e_fb_requesthandler="AcJ-D1qLgvcbYt0ndQLWfEM4ZJmHfVzlkhBDH-Op8svLxl_bSFLfI5K9zSpSdBTuJIr0oBzx6vw"; e_fb_requesttime="AcLZLynfiXSs6xjly5kdYuIMmYg9yLgNrt7rgRvEkfevMSPIc8gjY3D75Wzn8LKsD3INWUdXMw"; e_fb_builduser="AcKz2uXn6bzuvPyn712tmf7UYJOtj3SbfPu3WMKCRc_NpV-2kh3ZtqvIBcm1OqpybBQ"; e_fb_httpversion="AcI-HrKiBNCiGpX9qsNGFosUiqp-HfXXVBCMGQ941-QXoVCoAtqT9IbMN4hB"; e_fb_binaryversion="AcJSd9yGhssDpixmCasHtH0EwxRS1kBjB88TcVFSuk-J_dhiJSeJGEiM8J8J4yH02b-IY-YQgf5rgS5p61j8v0zS6B4F5kYPKoQ"; e_proxy="AcJlqxIRgkg4Z1zy3Bl0xG3mhfpV4eJOqp2hB4oZJGxWiXvHX6QLGsC8J-w8Ji8K8_JDPZEWscw6Zn79N3Fo", http_request_error; e_fb_configversion="AcKyONUeem2Jx1ME5sW2XTFiNr8_PHaneX6Bgef2WfO8NeGaKavkF8rbYPLuEA"; e_clientaddr="AcLkFwQ51yMcVM_W7Dq0XXZ1voIthtOUJZ5XUk4WHOHB0yJi5WguLa1TPc55IFzGF_5TXucnuuYKj5nSoQ"; e_fb_vipport="AcKBfHe6iMkZK-wMY8AH9M2gQIN4lR7EbKHWEfD0AyvvSnEnWA5KdBr0DYx_"; e_upip="AcJu4GOD51ltSHTi92Fn5SWpSvm01XGTcE5cG_Z16lndEUPzyk7CbRmBpry7a_4C6hhkhGGjqap2Ylm1c1NMyIr5cCtKCJyBKQ"; e_fb_requestsequencenumber="AcIspw1sVjuf3lOs1oN3idayTizvT4CXzfuuZo6NIg1IddBlIhHbozRoyA"; e_fb_hostheader="AcLBxQYGJF3AFs4LhwA88nG_Tw_D4XnpOOoWA59FiEeuXBwRQTjfSn2iXWGQZv45uHSeKHaFSraKKn_h"; e_fb_vipaddr="AcIFRRvrYzVT2ib8UI8yThShiQxmq1iOZRltdIkDm2Ymdy6GEfHrwxepd3CwmLr25DjL8ZbyaA"; e_fb_requesthandler="AcIXosCFJs835hstsPCFougMPuXSMtquNoQHJxKj60Jx4CDXbnrUpPbBqgAtGbX2RZOj_31YfCM"; e_fb_requesttime="AcKx8oZ7KUWryYt_3wOdc4vJPOTGCntl4yfcs7fctVa_fT7r524kzQpxasObfCr6uOuPZt1kkQ"; e_fb_builduser="AcIcrRP2juZ98DYQBTK-Fyk_-w8ytHHOFqI318Hf4K2bFmLAX7Ko1dR0dazZkcFcAeQ"; e_fb_httpversion="AcKFlFFM028ucC8c9pt1T54Xmt2GpGUzFkYMPbaNu_unLwSDb9Sw6na0FAYP"; e_fb_binaryversion="AcI_FE4UhXzT4fFhOZqTe1p9TPqim9o_b4JcoCF-mQgyDHaohApxhxW6sS_LyOG46vXWyvte7bDFRYv4xmSunorAnEORiL8SpA8"; e_proxy="AcKQo3bRaSZMuXXKn_TCUERBqVG6WZr0sJ92J6VfS84ZtUCy8TxylW8FfdCVfLjD2GTKbSj_mtVHN_A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=180, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/22/2024 01:32:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2161047, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3Qic4wEdNdAdorwd4JD3R5', 'x-fb-trace-id': 'GzKcvdae/lA', 'x-fb-rev': '1013672611', 'x-fb-debug': '36Cx4gpihqXnQobT6IqbejpP4ZFam4upUIAI7Q7hMQlDs75FKT4L52n7tkzvNQaS8oMPIJVA1flC7236juw5Kg==', date: 'Wed, 22 May 2024 01:33:11 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcIS54KE46RgeHS9j8Of4qtsinZbFYbaDymxzpUG_-ErDlIdfxUT-Hj2xeWPSw"; e_clientaddr="AcL-TgyTX_ZcwI70egafxHUyJ4P_iqQ2e4CAkE7gtaHAicUVXWK0IbA9VaJR44hZBAiVxZcFSFgwylPZ_j6f9sgQUN5U6KXdavYL3VT48ZHEu3wTnA"; e_fb_vipport="AcLsk40YD3etVZQxHPy10PUZUPIY2HsBDJnH3qViZsVYTMrW4lFyBetRqCAt"; e_upip="AcKJTdVSgwGVNNHCHXb9z3QMVVNFH7fOOakopy7zEDwwJ9COhXKs9pnA0NP5LNUQCea9bOPE43Yjzb5CTbNrejSFLpBgkY_BoA"; e_fb_requestsequencenumber="AcIBvuAjU2twrElt8oH1V5prOJ16o9SmM50GeTOZfdXQAJj4i5aMKsHuTkMR2w"; e_fb_hostheader="AcJkrNxc_Bd0XXE2BqCKj8lykFwaCSytZhgLkNxHf1UqeBdvfv1-wTCEfYV4shXHtbxo0m4h1FuVQl4b"; e_fb_vipaddr="AcKD2DNwkDH0lhwelHqok9O_yCrEMYE96BlgFxOg9acqnB3SPO6tQkg3pm2e5DYn6LfFqnCwGQNu2augUt5uY2IiLvywPP0Wrw"; e_fb_requesthandler="AcJeWUXgxFzPpz7CYhfjmFu9eIs1YQpcx7iw3uO8kHyFvdpFjmhmyVEhdjXORRMQgGGhQrOhSMg"; e_fb_requesttime="AcLc40-no-4BapcT7EIyABO3YnLuopxvliSCbxNWq1QutG3td1uhe0wePDc0inePr9EfNIIOGQ"; e_fb_builduser="AcKOH5tCjNtiV4_gQ84klgmLuU4BFDq6ytjSmyfNv6lI2uPYogqDe5dzm6ZULQ0sFNM"; e_fb_httpversion="AcIHnlkPrcru0uKjgQx2r7dgaGewUjhQM2RsskigXx3bub2j00sYrz5HZv5d"; e_fb_binaryversion="AcKhhsabhPeX_RWtrqZyfWhJVIBlkjxwnS7VXgobKq4U70Pm71W5c5Jb45fL-nLHXyM7iPiw_8iO1ha89AYHwPQFtFK902rBLtk"; e_proxy="AcIp2GUdr5hEGrQ0FOU1eye_-6iu5wHAQFJDZ3lvf5tqDtE5fXj7kl0Y4qdG2KZ0a50ZTpXz612u-8Ly9Ziy", http_request_error; e_fb_configversion="AcI7udrTZ_XfZ0H347DybFwA0uaYwjR65L5In0WlkwPzAI6OFyZI2HNLispJkQ"; e_clientaddr="AcJPx14vU4u6c7KKr0xNccVU-5n4XIbjQBfjYJpeH2GpduTOuVVU91ginw94BA-XBUiChiBliJNwr7A13w"; e_fb_vipport="AcLxlc4DGQQsrRT12OLZwKwwUujxFNU5x-38NuJ-pJNHwuR7xCi8SGCHJXZ2"; e_upip="AcLOmY0KQ_AL-mRBSKmsZcn4qe4B0l8yXXhQqbKX6_qRMD8W8FBGLMU8yD3WGBsPkSPjq9aA1S8yP0_64mz252Por2mX1UvdXg"; e_fb_requestsequencenumber="AcKGg6n6D4S_NWKj2mA2FCwhP-mnr1jTtqf2wajqzvrc1RhlAFpWsOjQSw"; e_fb_hostheader="AcI790XFtqcS8JiE96Wpp4wK7RfqhIGiwpwJiXlX4P4CuLWS1_OrKhTAbwGFpU6TpFDm6PFsGRrWTxbC"; e_fb_vipaddr="AcIGIpUbfUFo48Z3BgeEqPKE4jc5U_oXEg7nfk2DT0ZpDwaJ7UeUKkAok2T4iER_M3G7Vi0u4w"; e_fb_requesthandler="AcLHx-FhTOkK1KqK86WZClUljbrJcX1nuUzQkJpD3PfjjUzpgVHhHsgRU_SWRN-s-zhFCG02w7Y"; e_fb_requesttime="AcIqYF6pIy1T5Kpc43V4eIaNq5oqmIZ7vHZMsHEXBqddtQUwx6H-1KPY80qmRIH2rRVR2FDYzQ"; e_fb_builduser="AcJEVoz2wjLy_ey28rkgFA5rV7oVkunfu8KJ5kciN0ofr18GoI0r_eULJi1qZQ1EMgI"; e_fb_httpversion="AcKPekBfQuc65TXR-w6U3yGOtIDH2w-4OD8Dnu6swXERSRmG18Hd8IiRY1WN"; e_fb_binaryversion="AcIwrgfev1kt6JV8waOq5SLnql9bx0QRcx_ga6s7aTXM7lZGMJHwnlm_sAg-G4OQt9J-WYaLBCbbvJT3IIGOlyZR6jBjpUNfcNA"; e_proxy="AcL9ya8qHX0sai9TVFWW0maYvMn9GpdQfK3xB6EuI7piiy2rAvVxs8jMKSrDrwpMc-WgFsKX3mp-qhI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=181, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/22/2024 01:40:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 01:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 01:42:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 01:43:14: Error on send one message facebookId => 8013143658725250 05/22/2024 01:43:14: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AD_Ht3_vIFbqxTen4dKaums" } } 05/22/2024 01:43:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2163313, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgfJQhqqREx6m71VDmWT_XK', 'x-fb-trace-id': 'GBFhtYWRV2e', 'x-fb-rev': '1013672611', 'x-fb-debug': 'Y+22n6eMHmh8WFzkCt75Fbp2+h4RXeiiJh3Oav7KNfzI/elZXiq1H8eiWcgkO+UBENVmJ7AF5iWtVF7eJ3nnOA==', date: 'Wed, 22 May 2024 01:44:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJUq3sF3USUZTMufZnqV6kmcmEDKl6uNWHyd3puoGjxePT8wO0yx952OJWpMQ"; e_clientaddr="AcJNy-KjumAqPC0edhJFe59V20BhHSKCP_ZrClNpbHkqEvQSRkwpCLXPtYDUqX8xFKiP423FnnlmP8ZM94pQtUo2YokTPb2eLKiA9uMvObSQHQvQ"; e_fb_vipport="AcKWNF1k7XTZJlPbyHYqMNl7LRSlr7W6nYX4jgtyp2Z24lE1zWg8-RNeuDEf"; e_upip="AcKuqI6jUjiMAErEJx_Da26oeblQEgY2n6nySBLZ_yafNiVVBv2c9qpULesW82XKRdH-KRaZ0a3jiagodLShghNp5YSGpSvYPYs"; e_fb_requestsequencenumber="AcK5h5GutU_JKM0XYITFlTOia2DegBH4tfQ4GO3CbxRrWZ1Bq6NGOJIXIF_JMw"; e_fb_hostheader="AcKiuEbVLqFannQQ3_DvdHGWNLuz0CExa4Pt8d4DB-0nTuoZhee_9AaWou3XUhZd0-NQV8GwphTiY3bX"; e_fb_vipaddr="AcKi0MbTjc9fV72Ip9QibsoNvLxfTXwc1Vh94owSQea1AXBG46pQ5Ezh39p3tkZJFVHyn15Tz14SEMsGsf-5lvDT-tsJEOTp2w"; e_fb_requesthandler="AcKEENuoRlpIMXScNI3z02YBrR2jPskORIIihgBjHtOF9L8BEY157j_PQxZ2M0n3m-gPDzAqb6w"; e_fb_requesttime="AcKykPCDNfXx6719SO0AIPOJjJj2lTqq3OuDw0Idl8UmyPdMoiBydR5hWUOeyzmMEaDyTmLYQw"; e_fb_builduser="AcLzMB8HZUxZ7nJdgUmgkjpyya74mHDI-_RyMuoeM0hLgzG5LQqxNPXfQUkOiDva5e8"; e_fb_httpversion="AcLNnpJi0bhdx3uqO4Qw7yo1Kot19fohavnxvAgPEUNfEYoJHT7brTTmwQ6P"; e_fb_binaryversion="AcK3CyYR_9HZPyYe9EM8WpadqsSlGRUgqx9QboYKJLEyxgiqN9Ur3fKvZRhn1VMyyxU2gLfARNILRufw2MWN_0K4IPBR3rPCfLw"; e_proxy="AcJTGyrrx478XJONgGfAa3HplDp1eeHgE_22rbd7cVVytcrrqrBz44ORM1gRq67X_aSyNjaXyHjKRrkOwU4", http_request_error; e_fb_configversion="AcJrQp9wvS1EGQX4s76iViGy6itM67PRDJEJ_f1-EE0JSF32lC7gI6AszijK5A"; e_clientaddr="AcL14_e5q9SdmBxebEOMSVxQeGiy1DoeBSsQIB2jIWD3kAH2SjXQgDI8AaqcXMju68UlNlpodKrBrdNZbQ"; e_fb_vipport="AcJioOm7RPCrgMWBYXLrNRW591Xy0IvX2eowENVovgRa9vbxGFyn4dQ_nGFm"; e_upip="AcL4_dbhI6TbTdBtGC6Iz3cUypVL9ofD15Q8laUYV8GaVqneLkHrEDV0h-gg9ewHbcwX-wPlJf5od_3Kl3rKXDwjti3Shuk1hw"; e_fb_requestsequencenumber="AcJI1ZbSbH71MrHhSAVQhvUrB6HljC_HcudFQOcf9oZIHgz1K6T1N9pYwA"; e_fb_hostheader="AcI2On-YG1Bn0fuVAQlFxC8GYpBj4-avKXewboFU-6RjzjsjChKHQjz9F6DVQw1IU_b6bZRWGlGRoPgP"; e_fb_vipaddr="AcJgY0yB9Q1HPWsuXqt7tyqwWb-gmSiuZVUXASaBfN_SbT-ImUe7KXExNTmAmSlL2-F4AUWiYg"; e_fb_requesthandler="AcK8ys-QIi-NaPTkPllVT0fJ5mV9xhvZmqIQBgoNKKiBvLNOcB_eLJpS-F17VsLuUM2ewQigmGc"; e_fb_requesttime="AcImmMXUDXVGm20K1bEVscC9QkhvkJAG8PKbvYlL7pxwr-J_FQyOWP-B77IURJMsjRah5tPgaw"; e_fb_builduser="AcLoqks3xZShVXMfb3bOOH4T9KlG5OrZbyyaCKDa6EvaIuuSrgcJfq0DnCZuMMDS6q0"; e_fb_httpversion="AcLOWEz4_NBOAnJ18r0TdnFjskXFtAx4g8diBhJ3Xhu8_pta1GhMDKcY1Yy0"; e_fb_binaryversion="AcKZYVoxfDjj9WQoVUu__NgI_NpvpKa77lrMWJgFa4-MkxyvKQqe3zRXWx_b91WPGK2Rc4STGI3Gj8A_EnlMV4z6jCWiH70n8Nw"; e_proxy="AcLjanL3v6V2wf0SVZIa9br2x-mlbS23JEI5TWm7bvesx6XnL2GpQSkPXQYLYUcf8A8PSS2XOfA3w6Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=174, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/22/2024 02:18:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 02:19:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 02:29:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 02:30:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 02:31:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 02:40:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 02:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 02:42:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 02:43:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2180110, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AV-KH86yqbe2p9OyUUPKf9T', 'x-fb-trace-id': 'CaU7iCX3CDe', 'x-fb-rev': '1013672611', 'x-fb-debug': 'i/hclZD/pntjRmA8zgLO7akH9ENNKXbxvrOljBnQhq7HCkLewOgPh3SGfcPQWlUkfmPij+hwK5Y0wYrhE0Zq+w==', date: 'Wed, 22 May 2024 02:44:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcL_vqftZFEVKRYQtB7oGVm7IoiH8DC_3JclJqLGx14Wa0ThvEsJCjlYObUT-g"; e_clientaddr="AcJUk3SNVzG0NS-m9AkdHg2iKXWJZh6Eiw5D1sFv2BaISfP8DshJ7wMTSV5mga2P8PejoyvR4dAa9_2c7RpDyZ2mC0Cds9vN7rRzKnrgMjWB-Se4"; e_fb_vipport="AcL8D9PstzbPk8skI0HNTfx5VYWvX1Ul8PpQ466v7BBde2GOIoEBGiHKmq5q"; e_upip="AcL9_bTIx92vHIoFyTlzYb1nBzpLC3XHVBj3bX0-YwCRkDj8XgekimHbg19AXwJRZHcTfMRLZe4cxEbl8IR9lk07lQpLo_t7PkU"; e_fb_requestsequencenumber="AcJxzofPTyn8GpgySM0TLO_c76BG1SVNLFL4hHHZoUc4mMCaoZSDrQEfq-iz"; e_fb_hostheader="AcInj6oxS-pS_1xx3h48LjgSslucmVKUZRT7cyaoglSovrXVmcy-3dvxrrqkvU76mcR_8AXew1tPFDYh"; e_fb_vipaddr="AcILwDqmWGsnHIL8aQT0F_x5KL8jbPg2d9xyUy2AnMVZo6hwO0CDaTPt63GtNqhxDMdX5mItPs6PTKZyQojsYKURrQrDD2A98w"; e_fb_requesthandler="AcItWrHwmYoShhzZXTejWYgduGmnxnmIghJ7JkWTqVyL2qqjgTxYoY0xzzxlvA2HL9lnPNDBaC4"; e_fb_requesttime="AcLwjlDMC3nBFcZ3OWz2z-zmbtbxAF0sRafiJhnJdr7AlwY8BZA9bYwtiZeWV9K2itKPBtwp5w"; e_fb_builduser="AcLsFKTCVtpk3TKmIvYK9T1n32qWqYL1nSghE--cGwuwf1m48A9jEcxD8L4wtjOalz8"; e_fb_httpversion="AcKrgAvnuP44sXy-i0nklBSIzREoAsCpA8UOBfgdgr1TB_aZL9pkzibFF9Ve"; e_fb_binaryversion="AcL8MSu7trw8JoT-1dmtiS9sRx1o2n_3_ty7W8E6PiSDLjDm6s-VFTOjBX0L6ltp56kEr26r0SLW9_wdU9XaPSrtmM3VS49c9wI"; e_proxy="AcLx9_FZLKtewKz63H7Tgj1BNWp0Kwbf3e90XVhY-Sd6wXKNy-yCYq4_PSHkUqCrGcxfsuxv-aafj4cvhX7T", http_request_error; e_fb_configversion="AcI7aF2OlCrkMmefuHFpS98kjVFSQ-JD-khWWjyrwyy2j1xxFP9yama-fQW9gQ"; e_clientaddr="AcIlTJgo2cUj1uoG6xnUGEGUr9wwRwFibThIHWCJ6kRvF3uOFK2DFgglO-hQrTqywKFBFH6oq_SfH_4isQ"; e_fb_vipport="AcLayvDabc65W0NVOs-CJ_1Cd1MubserI4LtUeSBZ2xYx-MpDoqokWFVoI66"; e_upip="AcJbGragt5T5HSKbLFuC9ZD40FF6Ft3zde-3jSKjJ8FOiKt9_mii02Q9-KLrReoRckPMhHYFnF7t5lnCugZs8PsNCgGgQOXd2Q"; e_fb_requestsequencenumber="AcLglQNK5MfIQ7kVXnFaXuO-Y5nejr3viZW302QilywvWeheeuOQfYLaeA"; e_fb_hostheader="AcLACoo08DprhDVodSQi_F1Je8J8JwUDELtuJz_D9ZoIj0nF25vwlRRtdD8ogR4gNRtEahBicSNZTjJg"; e_fb_vipaddr="AcKTY6A0s3UY55UePo4Kg3yrFk9CkDf382GpHORJnd8yAyjOl3t3aheq5EWVU07U1Wb0xdi06Q"; e_fb_requesthandler="AcKUA1lWm8atM0NthbX7uxVGdoAhAY0J2vt7J89_-g5fKLLYv2zg2rF42WAZV2hbvWr3KyAa8Pw"; e_fb_requesttime="AcJ4m8qniiQI6J_9mH4LcFVWP-554RDot0_1M3ziNlWjfU2CEkd-pfjQEsbYuOmU4NSSxs1Qxw"; e_fb_builduser="AcJC165Wt76ZHuYrW9iCaqgNjHh14GGQ9b3clCo7_VDTfiJ5atU0zCYpdPtkE6NyzE4"; e_fb_httpversion="AcJwqMf8OPDBH3VuLh8IcsLPQUn_TsdwZLrRpeLWxqKBdULapDiCz1sn7jhc"; e_fb_binaryversion="AcLZMK5-Whqj8g2b0IjzVFXeDLNkcQtRqyVo8AWpp35dWNr1PG-lXRaLguADKuSXprOl2nuTWW3PDScug3q4w0WKpKH1x6d1PRI"; e_proxy="AcISDsfHg6hlKzkE035hOvX7UkZVEslV14tNMdO7XcdXtoUYyfEscQZv3NAbqjpW_4gfOX8k21HJnapS"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=84, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/22/2024 02:43:16: Error on send one message facebookId => 8013143658725250 05/22/2024 02:43:16: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AxGuupt644d44CFlFiWE3ua" } } 05/22/2024 02:43:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2180279, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v13.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v13.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJ0s8sl9lWesnvuTAa62lWd', 'x-fb-trace-id': 'GgJ0TBZVHu4', 'x-fb-rev': '1013672611', 'x-fb-debug': 'pMK+Ev78ucq3SUzfm8CYhRdEDUNNdYx301vZZZP70ZQPOuPl5bEM5Rgbf2AB0+C1630JEdC0wr2WZVjwbtyxoA==', date: 'Wed, 22 May 2024 02:44:03 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcIQRLCbRYUl9eJ7syF6M42HpmQPPSIYlpmGBHzRqUtN7mmbRHksl0jTEv7isQ"; e_clientaddr="AcIpkEBRy2NsU-MjDQ_w64JgmKlgn3XFygHxS1yFI8Mg1JSaCJecdjgiJz5xUTlGXzwYk3yXNFtjcInRE8AXbBEF1-cW2XbqzM5w3YVZ2xRCoxFUog"; e_fb_vipport="AcImtIlSRvdO78IbDwhP7JylYaTm4_meYkz6Fv37vz6YyHYt2NNca8JNa8kF"; e_upip="AcKPtEJJb4JrULtgBCs2S-MI92ejvuyUK4p4tk5oCRJLBmSQ3PN07IfxkbQcUD2uMX5CaAxEC39J0rAZSG_q_afDK31UW8ED_pQ"; e_fb_requestsequencenumber="AcJUU3Ys06-HWe1owWvTkJMGskcWqUcWzZwMdsgfVPFUf-sP5hE49WroAXjW"; e_fb_hostheader="AcI459dndUhYhndRPwoObk0Uk3rXPLtm7_fW7i8zT5fxh8dG4ZYSI-qBKw8S8oYj6DdIgIsY9xgjythI"; e_fb_vipaddr="AcI1aIvMTCXJ6WqBI4iTvt5jeP0ArvXNHp2i2F_JZpjQ-xpL1fyAiTIapVh2ikmBISmbQFZZhtDrDc96ywA9486avIgwcdcZQQ"; e_fb_requesthandler="AcKaYjFWANyTSMxjxbJM9gS7j4VaxCPpzovfqOEVBysfBCKmE7bT_vjiWLmGcwKho4ziyAtDstc"; e_fb_requesttime="AcKgt1KVMye2yMYiCpVo9hknYtLz3bvVT4b_MeG6WybNIrkWAyWulFX9XHqUOeFDi2XxW7uZIQ"; e_fb_builduser="AcLfYMGfJz1DAgxO-1GMzQZeSCAQdasKHI01NklVjvjDuSEcSVHmOlltRsmILHT4yB8"; e_fb_httpversion="AcJsFNYF09CNoOmpO2DbxA_o3YqiBO-SEV6axw6rTLdVxK0b5xn0P9KNn9DB"; e_fb_binaryversion="AcJ1QLYlUN0rb9IJHlKkiBJ4eo4GBWQwyXd3K1FzXy0JtdyRFM39or8182WxUc7-PQVf9wesq1_9LAYdY4zrIvIVjR5p4KKEnVY"; e_proxy="AcIu4AF7AWIc8LegxS43kbfB2zo6ma-MLdTmVQZzBYeRuOGPlojZTaFxIuXgm1B-jZ5PMsnbEEXONwGB-v0", http_request_error; e_fb_configversion="AcKoDuBygzCPpW_PWHgVYjFUHFdq2L88BsvjDdKTAth2htT6ACadNdQTnhPjYw"; e_clientaddr="AcK1OwS3_y2Y62rnpsFr4Ua2RCsX4E2zT8z6GdCiCQG4NLlBwEF-WCDC66hjJpWO7LWc8GTEwlDUYu88yw"; e_fb_vipport="AcLb3iOakYez5yH7_MzKLz4SVOLeckGrhyCNpaE1gfzl7uSKUirjoCD_dLR7"; e_upip="AcLcFq_Y2QnDQxQt5XoBNMF2_ipV0ehM0-1EheVl3G1afKShqeAyZw2-X5JCMYshP65JL5xJsdtNFye0y4d1JI8ilTKgpCx0NQ"; e_fb_requestsequencenumber="AcLxp2JZG5CdCblmQGMlrrNVWNrSR1BdE2-oFo4GsSgMncjOB6rueOiXvg"; e_fb_hostheader="AcIvW0GmPYGtwyXSmJzpCrSxDSUTaTklAXIxoLkmBSaRKttV4DSMhx9Kfr-_bXKwYYLbSVv2m9S7FJiT"; e_fb_vipaddr="AcJXP2eP2dzKkffyTDMUWJAHHHm2cyaaIomFpt51zfB3y5ZyHXavu5QRgIbwDDDvT6ttlkoMrA"; e_fb_requesthandler="AcKWr4OKe7MWTYsKwSM9s8CaFi2KFXCRJt66pnFm0jDouj7MDng6pc9PfHt_tYhrKuAEH3whSsw"; e_fb_requesttime="AcLXA_6G9BXdoEuGXdiRAQflwLVoU3hdgKjw4QopWPcgrloZ0FPEDbL6zMKKH8Brsd1egeA4Tw"; e_fb_builduser="AcLh_mhoTVSviSwdaBeU3Vj2Ip-Mk-k8C-bUVMrICt3XUD1NYfRKgoEluJEunUkQKZw"; e_fb_httpversion="AcJR4m4Smd9TvLARpw3juTsHhxshJmcb1sa_SJeK1EAgTQ1XiJjiknv4C_w7"; e_fb_binaryversion="AcJsZw5YvsKt3L9cu84U7jLp4BtaifpGU99QnS3Ef9PPW8FL78dwHOFvjBpsO9A4zOKaMbhUm9epQY02T-c1M0k2MhFt0olYwk4"; e_proxy="AcLi7LBYARsXEgl7TsnrYwMcZjfZ7HMbgRIeUXDeMqpOjQ_O0oa2u2NeVovTuGeHnxvMMX-dYnc9JwoZ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=81, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8013143658725250"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/22/2024 03:29:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 03:30:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 03:31:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 10:52:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/22/2024 10:53:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/22/2024 15:28:29: Request bot not found: { id: '215725838493727' } 05/22/2024 16:49:13: Error on controller payload Input Treatment=> type not found 05/22/2024 16:57:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 16:58:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 16:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 17:01:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/22/2024 17:02:15: Request bot not found: { id: '108233141067249' } 05/22/2024 17:57:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 17:58:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 17:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 20:02:00: Error on controller payload Input Treatment=> type not found 05/22/2024 20:02:01: Marker: 0 | ID: 664e4f39ff349866cd4f0f1f | Error: cant_get_message 05/22/2024 20:10:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 20:11:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 20:50:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 20:51:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 20:52:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 21:10:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 21:11:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 21:50:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 21:51:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/22/2024 21:52:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 00:53:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 00:54:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 00:55:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 01:53:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 01:54:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 01:55:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 02:02:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 02:03:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 02:04:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 03:02:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 03:03:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 03:04:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 13:50:10: Request bot not found: { id: '215725838493727' } 05/23/2024 13:50:49: Request bot not found: { id: '215725838493727' } 05/23/2024 16:31:16: Request bot not found: { id: '215725838493727' } 05/23/2024 22:34:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 22:35:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:04:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:05:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:05:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/23/2024 23:06:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:27:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:28:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:34:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:35:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:40:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:41:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/23/2024 23:42:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:04:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:05:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:06:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:24:00: Marker: 0 | ID: 664fde20ff349866cd4f130c | Error: cant_get_message 05/24/2024 00:32:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:33:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:34:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:35:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:40:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:41:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:42:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:52:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:53:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 00:54:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:26:45: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2689802, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 24 May 2024 01:27:32 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/24/2024 01:26:47: Error on send one message facebookId => 25600330292945156 05/24/2024 01:26:47: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/cb11f9d0-196c-11ef-b93b-9bd25cb26785__1716514052589.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A1QDZdQa_TCrPS7TESoeSUO" } } 05/24/2024 01:32:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:33:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:34:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:35:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:36:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:37:14: Error on send one message facebookId => 25600330292945156 05/24/2024 01:37:14: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/cb11f9d0-196c-11ef-b93b-9bd25cb26785__1716514052589.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AyuXDwWqmaknKe0z8ynXC2z" } } 05/24/2024 01:52:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:53:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 01:54:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 02:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 02:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 02:34:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 02:35:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 02:36:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 02:48:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 02:49:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 02:50:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 03:48:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 03:49:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 03:50:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 04:11:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 04:12:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 04:13:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 04:16:30: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2728703, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 24 May 2024 04:17:18 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 05/24/2024 04:16:32: Error on send one message facebookId => 7308843392576909 05/24/2024 04:16:32: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/820ca920-1984-11ef-b93b-9bd25cb26785__1716524238002.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Ah7-BvSSDTBAelsW7Qds2NG" } } 05/24/2024 04:24:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 04:25:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 04:26:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 04:27:14: Error on send one message facebookId => 7308843392576909 05/24/2024 04:27:14: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/820ca920-1984-11ef-b93b-9bd25cb26785__1716524238002.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AeAheAZwRgV0zRh5sldndpd" } } 05/24/2024 05:24:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 05:25:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 05:26:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 09:07:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 09:08:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 09:09:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 09:20:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 09:21:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 09:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 10:20:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 10:21:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 10:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 11:58:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/24/2024 11:58:40: Request bot not found: { id: '234064353428134' } 05/24/2024 14:52:32: Request bot not found: { id: '133788230054854' } 05/24/2024 15:52:41: Request bot not found: { id: '234064353428134' } 05/24/2024 17:37:00: Request bot not found: { id: '138894166495332' } 05/24/2024 19:09:14: Request bot not found: { id: '107116341895191' } 05/24/2024 19:09:29: Request bot not found: { id: '107116341895191' } 05/24/2024 19:09:41: Request bot not found: { id: '107116341895191' } 05/24/2024 19:10:16: Request bot not found: { id: '107116341895191' } 05/24/2024 19:10:44: Request bot not found: { id: '107116341895191' } 05/24/2024 19:11:51: Request bot not found: { id: '107116341895191' } 05/24/2024 21:08:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 21:09:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 21:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 21:55:15: Request bot not found: { id: '973272346080861' } 05/24/2024 22:08:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 22:09:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 22:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 22:44:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 22:45:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 22:46:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 23:44:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 23:45:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/24/2024 23:46:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 00:25:56: Error switching inputType 05/25/2024 00:36:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 00:37:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 00:38:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 01:36:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 01:37:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 01:38:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 03:12:07: Request bot not found: { id: '234064353428134' } 05/25/2024 03:49:12: Error switching inputType 05/25/2024 04:51:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 04:52:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 04:53:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 05:51:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 05:52:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 05:53:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 12:37:25: Request bot not found: { id: '108233141067249' } 05/25/2024 20:30:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 20:31:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 20:32:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 21:30:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 21:31:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/25/2024 21:32:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 01:17:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 01:18:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 01:19:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 02:17:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 02:18:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 02:19:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 16:52:13: Request bot not found: { id: '133788230054854' } 05/26/2024 23:15:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 23:16:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 23:30:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 23:31:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/26/2024 23:32:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 00:30:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 00:31:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 00:32:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 01:41:54: Marker: 0 | ID: 6653e4e2ff349866cd4f1c40 | Error: cant_get_message 05/27/2024 01:45:25: Error on controller payload Input Treatment=> type not found 05/27/2024 01:53:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 01:54:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 01:55:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 02:53:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 02:54:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 02:55:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 13:10:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 13:11:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 13:12:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 13:29:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 13:30:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 13:31:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 14:29:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 14:30:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 14:31:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 14:46:28: Request bot not found: { id: '128159377280665' } 05/27/2024 21:37:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/27/2024 23:32:30: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 05/27/2024 23:40:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 23:41:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/27/2024 23:42:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 00:40:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 00:41:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 00:42:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 02:17:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 02:18:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 02:19:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 02:58:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 02:59:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 03:00:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 03:17:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 03:18:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 03:19:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 03:58:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 03:59:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 04:00:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 05:34:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 05:35:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 05:36:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 06:34:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 06:35:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 06:36:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 10:38:10: Request bot not found: { id: '215725838493727' } 05/28/2024 12:15:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/28/2024 12:15:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/28/2024 12:15:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/28/2024 14:27:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/28/2024 14:27:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/28/2024 14:27:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/28/2024 15:08:52: Request bot not found: { id: '215725838493727' } 05/28/2024 23:35:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 23:36:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/28/2024 23:37:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 00:35:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 00:36:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 00:37:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 03:03:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 03:04:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 03:56:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 03:57:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:03:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:04:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:06:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:07:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:08:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:27:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:28:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:29:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:53:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:54:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 04:55:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 05:04:22: Request bot not found: { id: '133788230054854' } 05/29/2024 05:05:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 05:06:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 05:07:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 05:42:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 05:43:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 06:04:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 06:05:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 06:06:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 06:07:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25597952983183441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4069140, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxTLRmJy7C-V6oTeCKg0Yff', 'x-fb-trace-id': 'ES16XbTsiFn', 'x-fb-rev': '1013814800', 'x-fb-debug': 'GKc6tirbhFDkaNZq/gi9Se3ie3D4E6GBwGPSN2rjOQcVY60iz9ECzhMj1yZXNz+X2+bhd5J/xbtqupvK8dwB2Q==', date: 'Wed, 29 May 2024 06:08:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJFkRbQfg7hAvfS80QC7zXCB96LHhHAaqQpFAa-DFdG9z2vXqiZsEm8pg4dNSHQW2ond4g-zvOcMOryCxMo"; e_fb_binaryversion="AcLN9IcXuBHVip01rdWcF2Zpsx2TjjmpxnPfxaG4foPl8Ik9C1pSkjIiQkMy7b0_a4AY1Hz_qJ3aPv5xLT1NQHv9a-qDU7zP44Q"; e_fb_httpversion="AcIGzID06SIDt7wNPnXVo4XK25YzqCtMqPlhgo6I5PFAZp90iFlZZ4WflW7k"; e_fb_responsebytes="AcINRZb5mRBaEa9pwI9OInKtNcE0gyxcJzSSDGLa1MkdSXNnu0iI0fOKp8kS"; e_fb_requesttime="AcKi4-5dSNXN_QdBPCl0FgWIU4LROf5EmIi_5dEuRo_j6I6nMh8XiaSCKCpIlEzs6vibrcDERw"; e_fb_requesthandler="AcLb1wKUqLbtDp960cLmEY_3VNnE72zSv_xjDBbjfu1SiJ-3X-30cyNIJ0azrEBKZSwuxOL-JG0"; e_fb_hostheader="AcKNyDPGbp10YW9BADOdL9xgVqNu6bHK_xsVkStUOAq4TQdaIvsB8zXo9sHwp2SlFa1E9F8aXKHlwmOZ"; e_fb_requestsequencenumber="AcJZZzuyhSjyQ5KOyBMASm_4ZYEbhHNqoKcUzPuxx0Opmf8_yMKQYR1qx8gJ"; e_upip="AcIdXQx9PIhIyFNprT0gRtfUPemfFhAqIT5-ZAq-UmrQSwbFTNJQWu79-RMaCjCjpyrpuGfLYbW-rpLLUj-liDeVj-SaxqZ9rQ"; e_fb_builduser="AcIoX1-cjt2xHPFekPZUcOB182up1Z5pl32tfTvxbbr6zNQS_t71WGcRBg6Ec3u7Igw"; e_fb_vipport="AcI7vIBwj2o4txE0DSc8vhwBRgsAkvjyCJ-OjdGEsgz0liDLXet0sQ2A3K-0"; e_clientaddr="AcIb2BqJuCKqIne0F1RgzoueItYgnAJhTbkHPWKPaFpGd6dY4OoZWV5uku1GKKQTvbpyNMdGbFOt226hz4GR59IDKI6MbcphIpuMkYgWd_y1AIJwag"; e_fb_vipaddr="AcK6igjD12A8Mio3bYtdCrmKiwlHro5EzAo0VtelVkWmrnlBqOEh15QX6eT1GUmoC6h-i8CJXH4iPYU-xOBiwRykaaECQoe3QA"; e_fb_configversion="AcKvW1xRFQ5HQeVadfcdQtHXvghb0RSk4YlG-4H6x2XIhqoW3tq6XRVT9-SERA", http_request_error; e_proxy="AcKM9Yua9dVoW1tL05YG9Qm2k_f4Oq6SvNw4k2Ey-kxxL79xIKKQYFBUQF3SgscVVc2P6rd3oQfEISM"; e_fb_binaryversion="AcIxGvsQnS1d0PDCA42rxmw-xAz_SwKUCFAkg5DrUkFrb1xVzCmEwUXkYAAjt_GhHmJuK2VO6ucaqevGTkDq78llWQoFWN2eQ_E"; e_fb_httpversion="AcJ7wWpUUprvW9mjPJSCSbw8Y5MNtEnZ5xyIPvRrtfWGHaTpDX7QMwb3v_Ov"; e_fb_responsebytes="AcIPJQ7E5_v_wbtK7KbwWLaMEmubvMDrcwnknSJ7nezaz1eThcX8DCR4XHn7"; e_fb_requesttime="AcLNbfLGOG-1q1lYC7cn7ebe3xnq3PySn1rLnVquY7H21Gx9tdZgTFKWaoZxg7zTjhZH0nm-Zw"; e_fb_requesthandler="AcLGoBxkY__29DKOe-SnY2PznjY8xBX7PZcyWjBMpOx-HRecCc2bPSpELjOHjv0IWtUFP-N3Azo"; e_fb_hostheader="AcKtgubz9HPTI5TX_ckwDM855C1AdAXc85n5urP1rX_JBSzMO7W3c_WgPMda-pbU61qAjyCmFqAu-wVi"; e_fb_requestsequencenumber="AcJTmv2KbxnWG9t779_vUMC9B5FEqbLdCqQlFutyZ1oSrjPRnfgqJd_oFQ"; e_upip="AcK91eMFh8wrIDl1NBFoCrdHawrgrMt4iSmlTHCkdVE9_lE9QVlJw0P9AzTRUt69T0G3OqgQpWE3GUviqs_448YeqlU5HGJfow"; e_fb_builduser="AcJk-CfuewtOrpvP9YIPkPR9c0YC3ViyL3G_BKymcesqEGt67egUloWiCp6EuRJmjrg"; e_fb_vipport="AcIfJ2KiEKVGVDtvQ596wVl3NGVJayjy9DKx5uTsgDlkf7lPvdS2RpUrpwmH"; e_clientaddr="AcIhFIHKnqzRd4Jog2rRmOD1JjLAhF0wukMTyfAHN8OmnttrB4uhq93fyJEwUJrgsi5fiY_iM3S1_YYSqA"; e_fb_vipaddr="AcKiWYIpM4A5Ldg0dEJYhcx0v4J4Tf4e4Fj9IvDs220CdOFvvl1gcaLUVCgnlIM2Oc05__4"; e_fb_configversion="AcJacBTTR-rsRJy75sQfkR9yeV4EJwjhk2spPPfhtoCqESKGZfwDpDsLEFCQGQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=285, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25597952983183441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/29/2024 06:07:08: Error on send one message facebookId => 25597952983183441 05/29/2024 06:07:08: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AH8ZIzD5DgEq7G7S1kNtVGB" } } 05/29/2024 06:07:08: Error on send one message facebookId => 25597952983183441 05/29/2024 06:07:08: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AcLAzO9VOf9bIRu1SlHpcQ8" } } 05/29/2024 06:07:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25597952983183441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4069541, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuooiLPovxXUS6pVHybsQtF', 'x-fb-trace-id': 'C44IQ8kOVMu', 'x-fb-rev': '1013814800', 'x-fb-debug': 'jiZOhGEJXtO/dhhK/VbXsG6YanstK4YcoAAR/KJ8RZ1i+VcpBw0fJUZ6SicD7lSLv4vpkFZQyNsNWxfoM/zy8Q==', date: 'Wed, 29 May 2024 06:08:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKxEk9I5Nyp4acfJ2POxo1doLvSVIDH2sW2MsGJnVUfScD_0ftgAhdGGtYOvgKXLX16AeNyZDtXztbv0Kmo"; e_fb_binaryversion="AcIbu9yO7LplADR6DIxn2rZA2CFxP9tF_RwEstuKBEXW0Al7W2tIk_XcRA6p90MCwNtm_vkJ1n-aBUTeAEIAwOlDD3dcAs-oI64"; e_fb_httpversion="AcIPrMj7KFAhbljeKRp-zW7yR6_chYEL4ubj5KXYiAsaTZafHGkkJxZ9mBfp"; e_fb_responsebytes="AcImRCncxmbcB98V8iTK_YftLjVxWjPjfRUU01cqKtI5dR19JGYe8M6QuADP"; e_fb_requesttime="AcKd93GEN_CCllnCAZqnG8_Qqew5giXysgCj01dx6LLm_lbLPGQnFr-na2rJjtUh7VEM2fXQ2w"; e_fb_requesthandler="AcIMkI1d1UJQf8EI6b8jdroARgwIWWA7gE3sUdfRt1mA4PrX1DlIeiegnqZOI21Z7t0bHKO_9CU"; e_fb_hostheader="AcIQvRH4kuSrSVt6nVr922y055wokZzCbkkAMQUkTs-mpIMtpq5dW-b0RNJPGCgpIPpfF5KMOwh2h9mK"; e_fb_requestsequencenumber="AcKCbH4ScX3UZk99y5GRNo0vJsndTZE2OYRbmPw-QeTD1xFLO6UJfSarJ3qX"; e_upip="AcJWSDUuVm9rTphlrGPdSXlPLu01J3KJpb-VK7oD7aclwbv8I0TdEM1NXK2nvWcSxgtf1_SC4qgw4B-4H49kJwi-F57MGEpp3NY"; e_fb_builduser="AcKxOhMunMMXAA3sbNDg4pvcaHHG0605t6C0Bttryf_Lzsim-hYguntjBIbsdQ_7nnc"; e_fb_vipport="AcI34byDNQhBTUTdaCk9_E5RLDQ3FJVUhwJyt7QkxxxaoXv7-Lh0plPAkJpS"; e_clientaddr="AcJXRXkIow7geTLiujaNrpsE6KJHSIghWJfhU95xC0emaLadUVMhmT4LuKEw2KsQoHaj1lGzqx1aTCrmukU0u1YRCjq83mNEVDV9ehalV702QJTV"; e_fb_vipaddr="AcLPmITsyOo3kwXMddNhEsf_gXH2kJzLlTjZ_pZpk2vEACE70F2AlJp9XzIEeAfhf8Psndr4upvYRyViZMGD4RlfI00DOf_RRg"; e_fb_configversion="AcI2H0Jj9h60cds1tC8YeKvo_ddigYVsW0RQEOdwv4I94fA0hunNYfoYxaw5bg", http_request_error; e_proxy="AcIYf5jlRjAioAAeuh3kU-4mzlCD458sBJ3YXdizyTrpOhC31nqoJ2yJOXrBPhIk_ooMir8qjqwVNwc"; e_fb_binaryversion="AcL849t7AN-rTu2i35LZx6h5FpQdw8g7OSp4t4r7Ze0f0CyErjCV8-0Kiz-pmDUjRr54GuUCrWTHBkgg8GfHzl6kqTvVSlJ0qKo"; e_fb_httpversion="AcIPfM8_Zv3sPPGVLYNtqyPUBIhW6KULIJw01n7DuNAd3Y83hdpff0_5lty8"; e_fb_responsebytes="AcKKf8UuH7IaLaYEraxX8GBhZRg68nvQ62M_cKss4G6sjvy6zqJgKw6lvXOE"; e_fb_requesttime="AcIUcJ7w17D7EiIYlNjUQcuWCJhK2qxTeg2T8_fEDPJ85gxTXHzpzDeHc16XVpbk3-Vm1MOW8w"; e_fb_requesthandler="AcLgjU-3Uht111saz6j5cEwfItxfP7Kw42K4j8zde6H-Bbpw5d_kgE6-JmSN6clY4W8wmI-aHmw"; e_fb_hostheader="AcIKlLkCNBQ1c18LiZbX3Qqi3prTN_P91V4lEFfJ7pKVKsdtcLbgUkKJYaYYMoWY1_SRNWA4Srv96DmW"; e_fb_requestsequencenumber="AcL2gtXJ9qMnMcJIPtyPV-UXZHfbuxPve1dMUhG0mbo81_rnZ1vb3DY3ng"; e_upip="AcJnfKlaolQjeNmr_-Fo7af7PIIh_kB5MW8l71CJX_jeXOkL9q845WJsbpZQfxdFiGqXcg556tD3i2XpVVxjRPo7MHB34thBkA"; e_fb_builduser="AcIvZX16OJZbhaFyc6iYaYFQyIMb-o8eOq_p-X2lxhm3d44tTecTVD_BpL8KljuGB4g"; e_fb_vipport="AcL5QEUIMK4x8bh8hsYemcYduR0sKTEd_F6vGbG4Dbb4zIQhIy-Kg8X6WX88"; e_clientaddr="AcIhAxFewmf9lY2w-fUYto6OION43yBw4ivWBOO-8GfkKLGKDvWvifMXYQXHM9Q6n3UFUANPytkWH8jMWQ"; e_fb_vipaddr="AcIueIruFKWqW8xtw_J6zg1wEWKaM4hN7dnvvE_LTsE9hrESOLmIsWYT-Ty13msy3lgc_zA"; e_fb_configversion="AcIUmrolGw3sUPOEl3XvqUamD2oK4-q26Ce3O0Hhtcr0TjVVuGtDEDZgk59RJg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=184, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25597952983183441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/29/2024 07:04:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 07:05:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 07:06:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 07:07:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25597952983183441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4079856, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1boWOHf-jdcOx69jnFwHbn', 'x-fb-trace-id': 'ABQutVHRpud', 'x-fb-rev': '1013814800', 'x-fb-debug': 'QqPtyosK7AWbLd8tzkHDM/zoosAIcCesYAHu7pAIv8xubuB4MVMQ3PsH31ouH2eUORc29q3JdeUUIHPdvPh01A==', date: 'Wed, 29 May 2024 07:08:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIWoXswkHnOfYZ3cD_5SJauBGMM5XIumy04bwR9iWd6wN9Kqk7o96eTheZoRvdXwFJWa19WV-VcEi2B9K0"; e_fb_binaryversion="AcI8dDBQ8Iv-oM9dCYKtP8tOIBPj5lJbEkcG9EYIbrW3HKPu_LlzWna5V83DtoWG3Tf18vUlUhuY8g27l_xNbLYI9nbTC8RNxsQ"; e_fb_httpversion="AcIvKtdOdvI-5qg_G_PlGtaJBG2QoITyOfKTi-IzBBGlFOKVI7uT8vwttdM2"; e_fb_responsebytes="AcKLUceF0MwYq6SrzBrTsVOZ9LFpfkkAEeGY3tGfn8Tl6xn406qbBiR8E8HQ"; e_fb_requesttime="AcJd1sPMt2jhIz0BQ6lOwAeOcRizJE91cz-3M48uFQKyMmstqKC2dSGMR3ASYWw3BNWqrw3dGw"; e_fb_requesthandler="AcLTUQI_yow-u5rnB9DPAZpPuMy-kXA2DfBZJdjLaeCqePOoS6JwYPF1rAd2-ie0k7hWG-jKu1w"; e_fb_hostheader="AcLRD183ddJw0UDrGgk7Uz3yN5G17qvASfpj6KS7S7yztG_kxiCbD2ndEHUmEfY5V8p1e_crqtKELXMY"; e_fb_requestsequencenumber="AcLY97l45pezVNpLR6P7igxfbglRyDVdehP7VU2bhqQ7YfxgFgs0JGArX9v_"; e_upip="AcJ2rGrmV2J7_cG8yL6h5Fs54B3qvHHkLKdAaSa1RzNRwnDXaOfA3FcO51VRwATWbhqJjqTEDD-8tncxurZlyo5MAaKKaZLxFrM"; e_fb_builduser="AcI5pLx0A-vlMbnmHRP3A5dIBnaiv91WSeQVZbBrs5UMj_5DC7kvhLPgahErnOqJUjY"; e_fb_vipport="AcJrBT4k_NaY0HXurbj7l7uSgrE-G_wgzDgmtKggrKSlsN7o-UaoYWuW2u25"; e_clientaddr="AcKddDA3jEd4HIDlyQEPWcVYXFossH3fdIbK3tMfrNTJbEMeFCPrWRV0VSuBrH2NcNa3eqaXFaOjEK6tWwQR3ZeLa7xmhJiQdDhXtp5XYp439h-08Q"; e_fb_vipaddr="AcILsts8NpMW3JpgiGmC7X16NA9hbxEIvJpj707mVXuiEFAnCIey1Pdj6ySSOcE1xOX6H1Qn78YfrLEBJDfKspIO5bKyxXn4VA"; e_fb_configversion="AcKsfqyK-u55AGtswwtUhYYAiVSKd34OFy5-24OtzqyVSPgLP9RX5EFwxAy4dw", http_request_error; e_proxy="AcIQHExIWESxGp8stBlMedFwesiSRXT4d-4yUU1PQNHQNRRP_ivZ7WYHXzbnZlOAxuOEpx3KRlEd-8Ll"; e_fb_binaryversion="AcKTn5t8gdnIMbWsSm9y3ehUSAkcf_scYtYyiBpLfbpIENDz5Hk1dEStFyzqfFG6Xi_2xJ4WUdC8rO9FwR3fk7LWdMBKpqsvydE"; e_fb_httpversion="AcIhNoV2G48sKI3NB9RGi7svS9us6g3KvxCdxjMvlEF4TQYlVAkEhBKUjGJa"; e_fb_responsebytes="AcKPu_BjgHdZECvXhK_XRMudko0kn5DfIEy3S5U_MLfUSWtaN-yhWU5j5wwI"; e_fb_requesttime="AcJvxMaLTHzcsObYwIXplRHKVLqitygSgnHau6h0PjWmETGZ9y5IwqGsf8GLTNvGvH_J_Ksfrg"; e_fb_requesthandler="AcJ0bCKyryAkQh_G_ipIjIXhFOJXuRfKfNXVXUvK7D6kmGdOeDAQZWYJg7UNm-25MjddF_K-iHI"; e_fb_hostheader="AcLxFhKTRSogHOPvALEfEWKx73YhG1DIim47axTHQp5ds6BfEmkehqrfBUgUEEms0aeSLxWOhASjM1Ub"; e_fb_requestsequencenumber="AcJkqYF0UTf4CHK4JELeFzgkbg8Al11BsWj_7H8JXxbrXRmvnQirE7XnCw"; e_upip="AcIjdAFq3EjUYr0dOPQxSN9nionFlTIHIG4POA6DsxhYagXkqP6KN9_DuSyS1U73rr9QzqYSMPZ4Wzv7wWdl_BIT4QJ6Ee9ICg"; e_fb_builduser="AcIfYKg1GprdQ9gK-ZdvG_mHO1qA3tPUcS8JA7LTsRtJzjXeMbsItG_XmmzqN08MBV8"; e_fb_vipport="AcK-DEEvu31DTT6e0QePrbjWuoFjJYLMRwNOuSSc0V1_DUTdNIxkFcFyOdpi"; e_clientaddr="AcLTpnIGsFybE-dl3UGF_tUyGXGv7k8XG3IgEdLovmNbvAeh4zPZr1ZTTSLknoqcG_xpEuqX950X9zoLtA"; e_fb_vipaddr="AcJwgnTFTMOLqW4fgQjgdRDaYhUgpxr2sVIoQnvSZjHxtbXaLF5bt5rJTkaRlHHC74-Y2wA"; e_fb_configversion="AcLBKGZtyX6cjEp4LpLAs2F5Q-R_sr4f1o6T7kmssBMAaG8iqzDD-K8-LItsHQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=178, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25597952983183441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/29/2024 07:07:10: Error on send one message facebookId => 25597952983183441 05/29/2024 07:07:10: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AGEptmt3nd1Np5NRaL9GuFt" } } 05/29/2024 07:07:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25597952983183441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4080121, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Afyl89gGsthOcJfvmiz3UOX', 'x-fb-trace-id': 'GlP8rg1Ftqk', 'x-fb-rev': '1013814800', 'x-fb-debug': 'zDVqY8K+9IwvSuUiyTiMMlMNB+gCKLZt97GFuS9rfwfBbXnMcRv1TSLlOhw58uWn19WqviqHeAYD+R8nsZybJQ==', date: 'Wed, 29 May 2024 07:08:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKTL07XQ7aJYLWQo7mC719nrm4lJfko5G6UQw024hUAQ3eo8Ja9eu312EQemV-TTMoFhZLxVL6gEVjPrRE"; e_fb_binaryversion="AcJblx2pA5glFmMUBP5hHtRYXmhsY89M32Kp8L2KYX6bY46ccBSqIlzS4hcPc1ecixs3kS1M5gwFzrEhaLI0jsz0FImbTh8qYIk"; e_fb_httpversion="AcKDIqNOQF2pD1BsFlSNmkN59FM39LjCjYpd3eCbDQ34rALNOT38BopOltB_"; e_fb_responsebytes="AcL_PXmWX1NGUK9GHpHAcV-58MPbzusNqHMFW8NomRQk_LWGbycKtRqADYPh"; e_fb_requesttime="AcLzROSIG5G4hOs-qunFqK5QASJ37NKFDQGSr9LU5h-m8Use4piQxz0vjuQRA6Gx35trXmZ77w"; e_fb_requesthandler="AcKwSHm0jvvZlYKb0__k4d2RrGaUE-1TwxTT6DbikpW4wVWMK8RVqSiKYyDHblW2WqbUCyZqYC8"; e_fb_hostheader="AcJUo4t4sD3hJ2R5WVdQy-O0OrdaWDbGTovrShRuH-jWN8G6akbh6Q8AVyZR5N6ZEE3LJ9z5bLOg_4ji"; e_fb_requestsequencenumber="AcIvd_AOD3GMRMi2VijnEbhu5e0ZU2kCpYC64hdHXscM70sswEHoZYqjpDnE"; e_upip="AcL3IcnYbBSIrTFvVWFXPJ-L4D-fsbghfcmVSwcPRK4HY7KDALk9IAABCSgANtwWWZYXmALwlW7N36iri8bJ0L2IJIQsoVkSsB4"; e_fb_builduser="AcIsuxsoGP0JY0gdJC1XeCRBFixO8Z0sPzjLXAORMEkrPCTb48DVEGET99PEJGVp7gw"; e_fb_vipport="AcLAhCnEBungCNtlbU0EpQ2TOZu4YPMpDTAX4YPh1DKgkfXyogSmQ0H-6FHh"; e_clientaddr="AcJjIUTb1-DEuC-vmSBZDsVG9HzdaE0U0VIYIaau4dJubngYDpuwAw0U00HlA4f45ynwqRTlvumrirp0IkSD0XLc_E9fa0TKfkw_kSos1mXcFN2vWw"; e_fb_vipaddr="AcKyb_EnUsVJgH3R25rwoAwUlL0JDYyWZlHEO8lH5oouP2l9-pPkB454-r5-3i5pHpKCwxo9tlTtgQI9736SuEmUptB7PXQsow"; e_fb_configversion="AcJirJbsQDqWtwWTdorxEekq0TQeMbjm7KiloZZk3Lme6kH_VOTkojj2hLr3FQ", http_request_error; e_proxy="AcIQRzVnbaRr1yMjfAIysWXlbyUmKy1jX0Lsd9AJ9v99kl9KvXOeCrEJ_Ns4mJ0N5rsTHrnUADAKO1U"; e_fb_binaryversion="AcKytKr9W1-SpqI264u6maE6szfsRQv8aaF17CYpGPIll2i4M1hfLcKlFNkfqfQcPzLM5kbkMGIiULa55HYXmyRbn_wA9IZVaww"; e_fb_httpversion="AcJ2rq0fulLCCKPBIpIj4S_mYuDezZ9kpwjBLv6h7fTDkVrE-H1qd8l6SOZH"; e_fb_responsebytes="AcKoxLwxoG9lLAtY39056Wr3cGIGHicQOmM1EL86m53wDb6s2rNsMQ0KWGJM"; e_fb_requesttime="AcJvk6518U0ImBfV_bkBIprtaIpxdc2OqDbPqhzXgFyKVAGskgRMPPvQY9BbfZAoXm89Xh4U5A"; e_fb_requesthandler="AcKMn9QqVXdzEV5XEcasxKKPA211ArKdgBqAmYXKQqGy4qQO4FrqJB_u4HUYevL7FNYBUi45094"; e_fb_hostheader="AcK54HEd-BkCJSAWfb_ZZCepPAhFQqmc-sAeR8FFERZ4GKBI31T_tsfezQiTQbh6DzszdwJlvgp656Nc"; e_fb_requestsequencenumber="AcK_ycE_Wy3YPUP22bN_poDh7mP8uxFrEKIsPUWR_gfRwBcWw9ioWiHggw"; e_upip="AcK6cNStqDxFxha7DltUa04FpnD6X5loqYH1M2JqzuQtxv4zyFe49DReQW56xa5nsKvyFl8OhA8vO3XRy0eJFlxznCMvlMgKTw"; e_fb_builduser="AcK4UX_yXiuZrwVOiBIF0XAxXmg1rn0vpZ14urD4VfLdazlcGZoMptYNhLRJRLx4x0U"; e_fb_vipport="AcLkytflz43OsEJTsV0UaSrUbKOfGAo83N1rdWzqpifUJgN-8Z-ngk1TiyHI"; e_clientaddr="AcJtlBCE46I90jWGsFosCAqDOnLQyUyKJYwjRKa4cLPJLHiBsB9sPgYTN0JfiN9Bgo-0lA2MR3I9XbaIWw"; e_fb_vipaddr="AcJ4Rz5Mozjlh7ejF4HxC--2IKfqMROLGhYh3bbRlca2FaCnTM4-2hb_hJFn7ugsw09ybcE"; e_fb_configversion="AcLzPzJFVfEJMczWvRhoMGAE_7ze8y5KTXISbVwOZt-YCjoJg24yLgjbDYmmtw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=182, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25597952983183441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/29/2024 14:00:20: Request bot not found: { id: '234064353428134' } 05/29/2024 18:11:08: Error switching inputType 05/29/2024 18:11:09: Error switching inputType 05/29/2024 18:11:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/29/2024 18:11:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/29/2024 18:11:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/29/2024 18:11:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/29/2024 22:11:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 22:12:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 22:13:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 23:11:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 23:12:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/29/2024 23:13:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/30/2024 12:05:42: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/2361632590592766?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4382028, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /2361632590592766?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2361632590592766?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/2361632590592766?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/2361632590592766?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AccNxlG_UFu5lqRBrkeVTzg', 'x-fb-trace-id': 'Buj7cVzUh1r', 'x-fb-rev': '1013851530', 'x-fb-debug': 'X6xq3koL7xfLJoLEv85//AtjcFDXAqhInHG4RQozZ1LjH3tMUYXdzbbPvbuZxT8WIMEYEAQL/i0z3y/tKCNUVg==', date: 'Thu, 30 May 2024 12:06:34 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKmgFn7WGFOeFjHSi0DbHbhIgeY1vnXIRMEWJSqUsrToHG3v-0H18B70PVlsVsUMrMVICYphH4_ndr2n98"; e_fb_binaryversion="AcI51586eQTGbBp7hj1A5Uxc5zj0mmSJHxj9R-HlGWh0zQD7AJIIsnuyCgtxXb9ORkFCX7-MVsLlVUEgFvdEXRScjizyCDUpwxM"; e_fb_httpversion="AcLjy2vYwdNIHCWnG7HhhwmAqb6B-W3Q3-6zFi1fLT9v6EKYT0yze1Bk6ZxS"; e_fb_responsebytes="AcLboe_BU7Jl1r6T3e6KVmaZK1DmFNeWCVQAcYY3h0TUxcgy8cLfId0UjOgZ"; e_fb_requesttime="AcJfRxB1F6dCoVvpGQQDd1cxiRabUotC4OPr9GV9_8jTTo0JrkOzhmeD4-pQBYScKCMHKJw4BQ"; e_fb_requesthandler="AcKPpAynYrgtsTlTxgD9LOzNB0ASgOpQzWKYXPU8hTmmKm_c9eTnhSRZx7xYXERGGpaArITt8jQ"; e_fb_hostheader="AcLH7A_4Ai1b_Xxoj8VVFe7mN614F8ZkszgSOaZGVElkENqvkw5Zg6IhpHQVm3QripIuckLN7L-OrfZl"; e_fb_requestsequencenumber="AcJarv42Bzy3EZWJzEjeoMi1YhcJ3D02BeVJfVR3DNACg-EnS7TdM67UUTsrjw"; e_upip="AcI1geAougz7McCPlpH3oSq04jQFEudafhD9gKvvWsZLj4V9p-7es64V_8qCd4_KEWA3b4rOHyWBQfdFViYsryaJpUet3m_4kQ"; e_fb_builduser="AcIkVMgBpgYfbb5RaxHVtV2JQQRSg9bjOCuWvsGCTfnfBP0JFPs2iT70o7L_Ga9epmM"; e_fb_vipport="AcIVdRWcl9i9F77vZWKpsWj384YBO9IHtdis0xL1n96XzwPKNUfGj9P86TLD"; e_clientaddr="AcIjGm_JiFqVtqIUt1-AzqjbVp-sj75Yi4vAUXGp-EPGf7t0I3InZf4fw8qyotJZyqHbUW-AEX6NUBx2clNxgJZkfkbHSSXQAhttt9DcagbhCcHq8Q"; e_fb_vipaddr="AcIcChONTVuirtm4DOKu0_udZzWRxesOMStccRAygstNXUzFcdCevq3GVF_ww5_MzS9aPH1WSXkYPfQ8W2x6PDGImn7GGkwAmg"; e_fb_configversion="AcKlsup-De3ly0kK1DyN3Tucoj4lfDpQUDv7cmaGXzoayf2ii0oDlvOWEwY-gA", http_request_error; e_proxy="AcICCMplThyD8rv6PXQFVza_VahwLvtYlvXWKJDTEU26k6cWdvyUQxAhjrVRgSPBuqt8gVN45rq34bw"; e_fb_binaryversion="AcJrBEzub0tVjVczxTSo2IwlIRrdK-tNCeMIgdRKaMjpFt2pYvC0NzHdMdpu1jOF_0cKz5Hp4LKQ7qMr3jX1UrqsmZ6JlIYEtd8"; e_fb_httpversion="AcJkX-atfGrJGOky9Iyph1FzCI0ZLKaSnBy0muayklp0XOE9TMaJu-RDjiLR"; e_fb_responsebytes="AcJ7Lh1YeftkaEDg5aA1YY-LWmZ3om6e3QznfKCNIYkRSIiWFOkCVUwtZsPL"; e_fb_requesttime="AcLXvX1UE3zsrf7HM7fa9WZMr18sAQjvPkMJP7gTxEvWHSoM5mYFuM7IoJ9vXcfMj5PsPCn6AQ"; e_fb_requesthandler="AcIwismplthfEIReEsuW3ASq_ZzZ3_oSDSzR8g4s5zvENfmccKIFqSyfH-95k_OsedCkPamjwBo"; e_fb_hostheader="AcJUDFwOlH-KQ1t8KBnrCIMAkwZJSvcgzcrwkiLL9kRUrQx_0CKrdlJa-ZFenf1kMI0HDmu9qUl3jaUI"; e_fb_requestsequencenumber="AcIBauaFa4_66TzMqiXIQu-FkngY9lQ53W61B6de5C8KwGfeIQmFSHsvOg"; e_upip="AcJQgtt2YXDmO0vVoedTFPdvhhI2348hX-VHbxR3w1V4LYQ2PS0eMtbNtKWmtBo7WFsZkenqx9n61tAYq9EfBb8tSz54qhccHQ"; e_fb_builduser="AcJ-5ehT_pCRh38cdw8eb0XfK6ZK5HwsoSKkIJ9y4tIKQtnSvsbrXvw3MbIUYjZvNfA"; e_fb_vipport="AcKEKqWAQLbpcoAxpXnWy-myE-PBkBmbC8vHnyzwVu8BMWrxmlpZrCsCob9B"; e_clientaddr="AcI_xTprVKk_i6mit7b2he_ByfgW0c2HlyBafnIGf7HhYHeQ-LCoXo7MSKWI-YJbYeip-988Let53ITYWA"; e_fb_vipaddr="AcJhetUgOSmGIrQx918zBjw2biRnK4tLIN0pGq450OI3ggn-CyPzyuwjf9mHYS9lmLFLih3owQ"; e_fb_configversion="AcKo0bMOpoPgx0sgDObwoXM8sBfPDwuDiERkT3YSw2ArX-goX18-0Cz3WrHuqA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=282, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/2361632590592766?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /2361632590592766?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/2361632590592766?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/30/2024 12:05:42: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/30/2024 12:05:42: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/30/2024 12:05:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2361632590592766"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4382146, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyFvXWvN1NjXumMEv1MnMnB', 'x-fb-trace-id': 'HsOqf7ubxgq', 'x-fb-rev': '1013851530', 'x-fb-debug': '/xZgTnjwJUXtx0YUMs9M3G/74psZ3xif8siSeYrD+KPGShj+FKz75v3LAPoQTpTPMQ2zQ+CvQ1E8EkEwQKiQEg==', date: 'Thu, 30 May 2024 12:06:34 GMT', 'proxy-status': 'http_request_error; e_proxy="AcImfsDnyZZxEUb6S8iVv2HZZkj9GM5MXPfwpraAAe_rufghcrKUqh1JTw2CX0POnrklcFKcbRmHGZc-uMKi"; e_fb_binaryversion="AcJAPDNF5gAg9w6-3dTxXVnZjTJIRR9rtAnUwzAkSii9QxoUirHw6mN0kSQg0pmwnfFeBaMW0-DyCkPfEhrFzMaW8hk4sqdcOoE"; e_fb_httpversion="AcKKaTmy-hvdEsFLPVzq3yPrOGBBlTZAxO0sugCm3ZQRXo3rdGPTVhQA15W3"; e_fb_responsebytes="AcIjYO9qqGmzth4zkSiE26gGjIdGqbUW-2WTYlD3IfQ5QESb19dNU-_szO2Z"; e_fb_requesttime="AcLM5hUAood4Ifydf7QbvOZCCN362Y6hd7tU5VcUmDblf9JK14XBlHp7nO9uLLcIyOd6mahPnA"; e_fb_requesthandler="AcLgdGPy9FP4OjaRHYLFWBg9azeR365IWEZJkEkTImKX-o4MrDcqCzdeAvAge_Y3NHZ-YnwIehU"; e_fb_hostheader="AcLpyKGObTLB8qbJoj3JYhjvlQJ8XGSkxQxbA7isqrA7D9GKbU1zU1F986k6NjSi1wmcHgVQ0Zm8wlE5"; e_fb_requestsequencenumber="AcLGffXWvSM4chVFyjxkUMHyuOzLOPBVIfuFF5-xgun1mFUwC_8hdu7ecb3o"; e_upip="AcJwvO-5rzTU0V-OYFpdGKADCmfc0SEdeRYHDCHkA7dppjjPz61JvWKxUQmmp9yDdQDPU6zGDeCZRu3Pz71OoxGN7PnsULDpkQ"; e_fb_builduser="AcIMeOQ9TylmLyP2aeLSjtpW12xeNGfpcWybQvtnwTU9HF9x5vK1B9RjRplLPNgwiQ4"; e_fb_vipport="AcKSn5-vVK6t-0HR0q4mw0YQDbxscPKPjyvdSx0wZGRolo2mQAZx_6O4kXAv"; e_clientaddr="AcIB_gPy9kUBKegrJuFXFWut_yvo835Zv5e45tKy7qtivAtWl_tGnVGufnZvA7DrTbUUy09aZ4B6vGk88Tp0yij1o5H21IVxVo0Sg3mkh2dQjjcEwA"; e_fb_vipaddr="AcKvkthu1kbMLM4D_hWPtcgCBiaOXnrX-oZic64iihACh_03DAuL4AZQXwaUxz2xdyXtf9L0ZBm_rqNf0wZmHvNWzMrn6svoIw"; e_fb_configversion="AcK7ynOz0TIeVChiGC3dCGZXxFElZuBLmXSYPpc896fMNHd8d5W8Etu-beHO4w", http_request_error; e_proxy="AcLh8P_vK5B89w6fdz-tMw-cgabnYHRz_iYofQyJz1XRPzH8GcvHVfcHreo7FV2GzoxSU6fgQV09WXY"; e_fb_binaryversion="AcJswcHHMBPPPbGfWB1j0PoTn9RQwuIEw8Yuz-RO0hDYdqD5k7KRxX36_Mo3AyjbTCiQHdiDhE6X45DTqEd6FZP-A8clxE5hJMY"; e_fb_httpversion="AcJe7KzMohc3-IqRxgsEcqVx0LYGvT1_spdvNg-ilUR7MTK_kVW1vcx681HI"; e_fb_responsebytes="AcJJHWpcecxOuBbr5tcSyIjt_hz5IARSSlb_xaDZcyRh_s3Pb0yyYBRBO92-"; e_fb_requesttime="AcJImIUBvTHVC5J6uERkEwf1yMZr69qlrMCqUZd5bB7BHFzWxfK8kzdX8OevhyOn6tQyz3yz6w"; e_fb_requesthandler="AcKveG2UWFIwm8ojncqf3SuFnKFviobM0827iSIG38-vWUsOyhMISwF5LQ69jNEBn0T_9msCZoA"; e_fb_hostheader="AcJ6THS1nW1_QWPwOHz1Wcsw6hoIlv8VZ79neB76OwAv2doAptkwM_qcsgRaD9TFBegr9VK9uwWbBF97"; e_fb_requestsequencenumber="AcLj1Ay34SZ6j5I6Ul7BgB0fh8_fWj1n5VDb73PQLLZr6xhYQUEWvr9lGQ"; e_upip="AcLbQOPyxzw3IcuL6THoKgduQWyV0ID9_8OXAvRufn4ItCuxQFpDE_oCxJwYDVCjaBrkCikNo8qEzvCIuwFiSoBZDyRWc1Gwrw"; e_fb_builduser="AcKdjMBle6FJmJwfNf6TMj7TlG4g9J-QQL_fcHFozfqqheH9pLQ6fl65Ra5ho8v46TQ"; e_fb_vipport="AcL8XECkcOq4nk3Ujy4SE6U17vlP4i8CQ_VEhUeYOwCcnoAb22RKcSEX8E5K"; e_clientaddr="AcKm-QUsYn5VyI9ZHZ-Nw_s_zGCml2ZoPtg9GifecvKdAhc8o7imZAslccy0_bpRHszaBdkU4Ny2SDegSw"; e_fb_vipaddr="AcI2swrK5O99G-FpJWyYbduvLRgfv4aCEEm31jOnoGlZuCj8bM0cwcyXL69JTv_4JXhLYdSlvQ"; e_fb_configversion="AcJ-a_ztLccJUkw2qTlN4lgX9vDhqARqSG45Ea0htny33kr7VuAAap8V7fWl_A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=117, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2361632590592766"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/30/2024 12:05:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66586b96ff349866cd4f2595 | [object Object] | 05/30/2024 12:05:44: Error on send one message facebookId => 2361632590592766 05/30/2024 12:05:44: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AbdnAhiuCZUjJzRxLBjjABs" } } 05/30/2024 12:05:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66586b96ff349866cd4f2595 | [object Object] | 05/30/2024 12:05:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2361632590592766"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4382229, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aiojl3cR0hfsrITpjp4BBSb', 'x-fb-trace-id': 'DrFI/viT+Ta', 'x-fb-rev': '1013851530', 'x-fb-debug': '4dzus2ML/U8F9UymXpsnQ72Hqd1rY5+0++9XBdSzOT0g0kUhBTIPXZ/RHPgYI2jOkv1krdkL4mixaLlWway3BQ==', date: 'Thu, 30 May 2024 12:06:39 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLn_p8iOpnOXYJ7lLXVkaL9EdQvdS7o25073szlceQfaxdX6roiMczULbU7xJBCpOuB-_qsQyJ1m0GcIV4"; e_fb_binaryversion="AcJ_N9OYj3aCePT0i-tg1H5I9xtlzVEch3ejoQM_tHzhENCBnRUG77EsNkIIQiClGUHdjggkZT_3wtiHPYMJgDFzxbtH-uej0E8"; e_fb_httpversion="AcLVg5cXqtGE3MY30yHaAk2QZxAjdBrd57iRALDwx9LomiYUM6vry2qtjuMv"; e_fb_responsebytes="AcJSFWlZeIhCmQFIvvNa2z7OGvYDBPNA4FckIwrJJpu9W8EjtV-Rp3QITp2Y"; e_fb_requesttime="AcJXTPBHwiyNzCI7vdu7hrP9cHAoMkm2I5D1iyn436nM1SxmST5QJAG_zSiUFFLAgbZNkbojlQ"; e_fb_requesthandler="AcKrf58PePWsV-u5I3JxiVad_WzJd_JG1sgPFGVmHz5uqjUueSAlorbkGpKOeqNs5YYATkrDg-o"; e_fb_hostheader="AcJEsIrqvXXNY0QxDG3aSoDlNRlHBnmiAWoRqBMr6NiH8CxGU4S7esvcwXFvjYLGTyvGyVIPTKRb3y7j"; e_fb_requestsequencenumber="AcLB2gqM9gUptJvZcQsLdkeR9Hi4uSCwxa33kNcoTL-ovxAbuRtYEJg2RBsH"; e_upip="AcJOaUuriN-XDJHxowK0Eu4HZmn4cZ0pTpASbLjTwGdg0z_4Z-FJH3UTLpLQhn2RiJDjyUXR-l4czkx3qdc7flCi22ioPbbSlCI"; e_fb_builduser="AcJT6-BAlG68wmFcA_1brOiX1Jxzd4JPk0AtV-NC7A7EKPUH9eps9wQUqAoYwd6F4fc"; e_fb_vipport="AcJfMfcX41LMqeGWHGWb65HnLCo0L3IkemQpCwEkbvxJIbbwXDRAQ75tlLwT"; e_clientaddr="AcJvSEmwyvWsgCEtBl9xyCHFRO0ncYTAwz1LYhcc3o_zPOWVIjenxPjkCd4djgu07GpeROXiYBeiu8jo6Yo7wtbTWN9l7X7gOxJRYdtwC9WOzC_u4w"; e_fb_vipaddr="AcIZKZIzoAxPH8tBacbgXmlytDLAATQPyo7PScHl3Evyg6NMPGD8Y5aB71a5Y4k9qDylWk1ZL9XeVRdzr1hKpGLDYLER-DPxzw"; e_fb_configversion="AcJjeNWi9ZfgtQca40NN3RefPktGQMFg3JubFBedK0oaQbgjdUlRwm3bZAUvIg", http_request_error; e_proxy="AcLs7errFlMAzxtb_fDmtAULDRPuVqU4KVJuo_tyB2NpSmzV_1NKBQfgGE5NjM9m92jYK6cNpdCL1N0"; e_fb_binaryversion="AcI356XUkOzQhuQtjUROyWrOGmERcJVFx2vvZDq3ZA9fwH-h0xfQ7XEs5jitmsgYGvwQx0HO9UUm0VWITKbpUvYdrC5DqVfrcMc"; e_fb_httpversion="AcK1EgBb-DTLbGx9B4nRISSA02FnLL4UUWE5gBeEtWcvb1vMgr6InAJeu_Vo"; e_fb_responsebytes="AcKsvCOVDsgB-bPoYxFQxfQoVLtCNELgqUoqEU7uJK1XWGl_RzianipQhaUu"; e_fb_requesttime="AcLnMPRCnq7fynl5Uz6TpkO9CNdM2rKkCDCBVSam3zxQoz1M3UIYBiJ3bREBc5b5nfP2bypriA"; e_fb_requesthandler="AcIYDIvw2TekBBRgW7IKaV_pcXrRkhu_5f3wkLr3D2KLqmutRNvwag-9g9Oifb2FrjJbedmPGHc"; e_fb_hostheader="AcJK-O5u4dRtJj0-Q1k65TN6K9ErufdwgehHr-oTxfqvq0eQC8PxMZ-h2nAgyW9k6AGgpSqAN9RaZyXo"; e_fb_requestsequencenumber="AcLCNIYu_4pfeDp5EFjVjEQP5vdqBnbTuRwU8KtaUF22OhGZmGVRkOqVAQ"; e_upip="AcL6yqwNH-qChdO94p3m7XpCAfDoj7uoj7URJsbybXFk2beae_984jYRyU64-1KzLbChBXSj18VASU3pOcCDzMjgizYUjQCNHw"; e_fb_builduser="AcJj3tLNb7qhblGTqaaz9sg7Sbps-piCIrmU42OoYRcAAnqX4USAkZoWy-MJqar08YU"; e_fb_vipport="AcKf-okH2hCqi1DQpi782-0wdaPX065FjdmPhloeWFSQLr5xqkB9lnBvSuIT"; e_clientaddr="AcKutXGt_LSyu_NPfW-QRNKp83YJqLpI9O9Ub5YHrzNZrch5Zd7TDb_vKT-jTEZH5e5BHE2H0dByFYPT4g"; e_fb_vipaddr="AcIBvBvoLU0Vzr3fNAnCWANsbVrFbIuxcgCo3U1IjdFv90opKdKQk1BhErdb4LtAOITbc39t5w"; e_fb_configversion="AcJsyERU8hhk7LvzSvg3Vj5k_JqT6HZp91o_s1C37e2ZRMN1n6HSCfoVAXtn-A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=119, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2361632590592766"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/30/2024 12:05:46: Error on send one message facebookId => 2361632590592766 05/30/2024 12:05:46: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "ArS9g3qxKR3qWBZv0RyJYTA" } } 05/30/2024 12:05:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66586b96ff349866cd4f2595 | [object Object] | 05/30/2024 12:05:48: Error on send one message facebookId => 2361632590592766 05/30/2024 12:05:48: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AEK50wLxSh4swb3LBp_wtsc" } } 05/30/2024 12:05:48: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) 05/30/2024 12:05:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2361632590592766"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4382364, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANohcCnKzWK7cRSkdnDorGt', 'x-fb-trace-id': 'GLYBmX82ohM', 'x-fb-rev': '1013851530', 'x-fb-debug': 'kz42SMcy8juhnUNcEFoAv0jYJQ0xotZc2y2vIXBQJijt6ntnedNp4uisjSklKxC/0G/iL2DVJZ4jTEKNksGKZw==', date: 'Thu, 30 May 2024 12:06:41 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIWOSWc1ucxSzKiExx17M_sHu6pRVFFTjI0Wi3mB0smsCtq5VKT_iLiJ7G7_sZyr2g0NlU9d_RJ90IKV2Zp"; e_fb_binaryversion="AcL4cjIbY8XEzkD0SSfK2pG6FWbf7oyAaibn_gztXaE57OpBS7ph6y9PhL3hWaqXw9HCzJW7xVLVKnN2zVcBscL-XNdhsdHZLTE"; e_fb_httpversion="AcIwhjP86GGWiUVhIbyaKeF6EE6tEqjHxtyWaMBsrG8AE2WyD-MjQb29EUDw"; e_fb_responsebytes="AcJC2J-IVTqehmirBgifH_rkgtJP9-sjI8xkyO-3fe-excpDxw4IPiYVHX9G"; e_fb_requesttime="AcL4isHK2Xdgs8w3v_56cG99Ni8fkNkT6OIB8qDptWL5WHuslK61nxtKYzVFsH_sEpoS-b12EA"; e_fb_requesthandler="AcJJG5on5VXXasOAzplFU-hKYWPnyibMAIL3nSRaeIOAbbVq-JtNzTDj5atnz4Ueg22P0Wb8xXI"; e_fb_hostheader="AcJtc6yHuyhgoXcf3IxhkghSop38nXItd36qPlsu14_vVnB0x17dw-GZ3s1XEYLmmK1mdGR4pcvzTBI-"; e_fb_requestsequencenumber="AcLmlbcFASjdCDhlTtJvQVvNPRv8TVvXHxhq6grfyaG0l8JMSMUKasiwd3ICPg"; e_upip="AcJYOLgCXdGi4tQtXM9nMmCcpDhMn811-N05KNPiOVyKWyFO84Ll9Ro9H_Qa6JKxC_0efGpAJochotwB4dHm6d_F9YamWaSlOw"; e_fb_builduser="AcLBopsb8RV5y75CTAPdDJ6aqA-2V3d4lHNQecthdHcWwY_c6YHamNXM7dWefp4jmSo"; e_fb_vipport="AcKOpkBHT3mwKbJQW4X-1DxPqF-w1kkV-r_OLRAJbt5y0Wtr_VtRI2yBp6hm"; e_clientaddr="AcJ2Bj3g428YxVIVqAfMxLC2TmzNNijuRGSkvk3Hm9kqhQ1Nt3UPTA8HMRcsfO67-uvz30fXxqh3de8Wnq_9vjc82wXO0QaPmeVmC4jEc8ieigCg"; e_fb_vipaddr="AcJQtGbaNB1l0JD-nuRsEWZYEGQtmwXh6SHXAGen23bCB3LnWMsnn4esBJR8yNyt7fa3vb0hgzCnkjD_x02wsU_82l0wvPMn-g"; e_fb_configversion="AcJwTaPlyztNhPY8AcE5znDRsHVSZ83G_zWwd6YuHTZ0DY2KitIIWMv_ZqngEAS4OdPCZ-lYNll6JNTdwYNoZP5arEv7HfVq6vo", http_request_error; e_proxy="AcKbAQ27No-LzrKc8IJji0S_A5pCxKUnlsdxL5oGzIqPq0I78JbpFA-bCXV3-hj7YUX_DG4pIJ7Nm5k6"; e_fb_binaryversion="AcLr1irsmvSOzq-XS8TLHL28z0zEI34zg01fzdd9r6OtyfCTHwQz426ti3c-GhYKk5sK4cagoluTR7dwX1bKWkhP-txp8S-cjcI"; e_fb_httpversion="AcI36suj88gT2HlXVsptHlvSnWiqZI-bPLZI_QfZEzob6Ai_pQrorcOqjmM8"; e_fb_responsebytes="AcLVc9tPkV0yHw3n-RazehmahGNjVYAzLw7xcR1tmjauVupzHkf22k7U-62o"; e_fb_requesttime="AcK55Qm7jj_DyPhoskkN0-4jgao1NHNsyIZ8p7xaE4DTavUJjEn7dGXX5dMcEemBiA_4vpfBdg"; e_fb_requesthandler="AcK_EFhTkE-TCy1F0KfdQq39_0XOjFH-1OyfEPXLfGCuY9gCAN0lxljymiGE8WyjVthm9Fy1vwE"; e_fb_hostheader="AcJhcnqgYgta-yUGoNj0mQUKCOkx4LjCKl9dKrLoADTJEhtk1uJVFJnIOwMZb46_og19YgFujUYbMxD4"; e_fb_requestsequencenumber="AcJEhskCTaWZIgMoT8ye2cAS_OrnwE65R_CrZPbTHcdNij4w4kP9u-Qx8Q"; e_upip="AcKA07Q5CXvz1B2S8Fm-xyg6LgahWMDIHigPYk8A3XAnOiZzZPKul2YjeNZRx2And5zNgjt0ErvWw2ma0f91KRUCv8DsNm4hVQ"; e_fb_builduser="AcJb1UPEr56Z6slPlRtTriPmRztMTTFUgNiJ0Du1-XcZ947xOTefKN22VhK-5Zhvgx0"; e_fb_vipport="AcJYMYhZMLKI0AgL8WNgwT3huHRPySBJsHmPzdETSG316F7RPZX491JUtltX"; e_clientaddr="AcKD2EPmAZYVa7F-xnutkYVR37T-nHiBKJspdAI0h981FwrXoHe1QBkPaUVwQ0kRFyeifuQ390ZN7ShLkw"; e_fb_vipaddr="AcJF3iePTCxN56ouC2dEQqZaVoNyaG28hXW_d4Jm57Eh32zQ9x0uwpEEyJYKF6SA2QDOF1sP2g"; e_fb_configversion="AcIKmcsKIW8Ly36W7GsZ5z3FdDxfoPovPF59oXulsIiqXJxSPVx-P67gZDw_5w"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=121, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"2361632590592766"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/30/2024 12:27:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 13:15:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 13:16:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 13:18:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 13:19:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 13:51:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 14:48:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 14:49:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 16:25:34: Error switching inputType 05/30/2024 16:25:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 16:25:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 18:13:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 19:42:57: Error switching inputType 05/30/2024 19:42:58: Error switching inputType 05/30/2024 19:43:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 19:43:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 19:43:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/30/2024 21:38:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/30/2024 21:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/30/2024 21:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/30/2024 22:38:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/30/2024 22:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/30/2024 22:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 01:55:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 05:44:59: Error switching inputType 05/31/2024 05:44:59: Error switching inputType 05/31/2024 05:46:22: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 05/31/2024 05:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 05:56:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 05:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 06:30:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 06:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 06:32:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 07:30:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 07:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 07:32:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 08:38:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 08:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 08:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 10:28:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 10:29:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 10:33:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 10:33:30: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 11:28:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 11:29:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 11:30:08: Error on send one message facebookId => 7611520865610102 05/31/2024 11:30:08: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "A2YYgV7c3hKgCIXXrMlLdEA" } } 05/31/2024 12:29:10: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4650319, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKSixKkTXn9b7jMdYkWaRQu', 'x-fb-trace-id': 'B5f5Ajwr734', 'x-fb-rev': '1013885479', 'x-fb-debug': '5CElIs21AVEQdFURyyZtzCZIMnJvZqJAZK9Y1vCfMt0KNyJJ3UoBpKKhXutB6KZnvQeit3FuKIsJmdg/+ZEt3g==', date: 'Fri, 31 May 2024 12:30:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJtpyzoTW8fV0vUkCvnnCswVin3tL2TlUNKmDDsiM4ppVwFoi_3a1x7O5_iSvNf-HAGI3tpP3FdQRGLR6o"; e_fb_binaryversion="AcLKnMEoMPE5JKIFH6mpTnX-k2l5NWvq_xTdVv9XpgNrtyN59p3jc0OQ47EaHfxUh6e0pNrrvzU3-s2g_nERuQam4_JWP77YF3Q"; e_fb_httpversion="AcI3Ex6v0Us8EOEePhHwniL_YSJaiZHRW2gxQADrzcOlAjcRDFDyGnD70QQz"; e_fb_responsebytes="AcJkrUhlKjs4x3HSKCDKUtgi_X6fLm1oiWdXYuSLDKlPOJqouxDbQwwjdXnt"; e_fb_requesttime="AcKwHtPTpoqk5mCZ3_-17jFgNS2VM5LHxiTLbYyF80fj1SKh6kTaZv7iOLOlUdOeszQe4tCk-Q"; e_fb_requesthandler="AcKbH8YXHTKRMBao0zoKXxNWJLvc4e_rFfZrN4aDJsVIjKXwGAXPmawj80hOPwNLH5JO9PSGInw"; e_fb_hostheader="AcL0Nfhg7st1s174q3-o4Zy2RFVaHJegKxEe1S3wex204K638HkvKsyF-4zWQ3dlUVOth6OkcOw4S_2A"; e_fb_requestsequencenumber="AcJnyIOSQ_wfPIALiWIiEHEO-ELd3RTEYAcyhyNdgMxNQWsjnDYQaA4RbVuT"; e_upip="AcIbLi_kN9qI1N5J59YjIwJzUSfN7SoSYSTRaVNAps3WqKo-oazJy3GgauJjbitJr0khihT9pStzNO0IdNjTFoIvro5ELbfnBak"; e_fb_builduser="AcJwhg0I0y0jHI8t4U4rSJqLbs_IvW_H0Okz5jAjvly7Ud3JhK02ixoHN6kfP0RvVJY"; e_fb_vipport="AcKeb3TbS9MHdIEMa05_C6vvfkfpibILkYQsfIxHfXu9zGyATklZ22W-rUiX"; e_clientaddr="AcJZDNWS306y4g8DSvHz2ipJ94OdrCroep849OUTWuqgtN-ui5R2PpvvjlAA5VfXNfAOXehUommfwvi5J_5FxvNU7EFLwRmhJJEgE5EAOoLuSFO22Q"; e_fb_vipaddr="AcKeDlr3m5Pe3lEematSwlVsB1K0AqycOblJ1EHSqiKWxL6bGlDCQthXJNpvixRFrJ9WzHPPwcjc1tUGmfX17oURUy3_0qE4wQ"; e_fb_configversion="AcI58WZL8JCGelYSaHcOF2EgQ4OhDpbsJqxW-RHMyv6qzfpqhSpfmU_WKGGXNA", http_request_error; e_fb_configversion="AcLpTmmIdf1XBI4Wo5Lsdp0cxcnlhsWg603UmUuHpGOplas91frXSG1Wj8AYwA"; e_clientaddr="AcJmm6Z9yKSvKw63iDeIy12sSRZAsGnVx_aHPIthNhnaej7yt6GzyZy-C7PtVADZ9i5YHDVKdXYiL5gSlg"; e_fb_vipport="AcJ1Frz-JHri29eCotMFQgpeCsBZ7A7sCQF4HE8aozcGPweywJQWVP6avRbj"; e_upip="AcLFh-ErfEHqf6qHv9cFv7wks85NWIdv3q9-DF41WcVIMQEx3VFb7fVoK3RudQfjGBvEjThiDPu_xzf1G0fGQQY0xVYxJc8OVg"; e_fb_requestsequencenumber="AcKYYN3rXmemqHfGiXYuBN7o1d67O_glJqTootGE9NSKFDLigllG0cMxZw"; e_fb_hostheader="AcKD9NbSAicVlHWojcWHKpSJwCHK7aoT3m_A4cIm4-uQTwG7nHdn_nn-PG-6MwqU1NJS2O33iAQcPZiG"; e_fb_vipaddr="AcKxjn-yiucMwUvssZX7mBSpCUP2QPXVu3p75m25Q-20JK1NPtkXe3DMz6QV0rIlk7r9IHA"; e_fb_requesthandler="AcLHyn3-FBQ7mB7uibZfdVZE1REFnEQkm-0Xwze6JB7XTJfsX0kGRd1aSIlg4szVcNcqqQKFQRE"; e_fb_requesttime="AcIDbOds8wEhh-RgdZzW7bkcY6wZdUHXtoIQQJr3kuds5fAtrfsLDLgGLURf-j6wwFWdmUj-ew"; e_fb_builduser="AcKmUsNyAbNSqlEQWHwXZ1LtRx0HygBRU6cgpo1Et7q90lR9FX9WfyNsCj2TLbq-TOE"; e_fb_httpversion="AcLU4ubwNKL_Mu2VCjL5HUxGlY6EdWYprUpO-5YvZtwC70ujMM0krGfqg_Li"; e_fb_binaryversion="AcKFCKKfkEBREjCdD_McmeT5u5JLDZlkSTYhMMiCeuCKTnKPhfiF5HjF6sB-DNhE7yMiUkHndeoqqfcjfTiHLy95SHgBXICdn3M"; e_proxy="AcLOAB3reAZjpObEEdlA5MfJrk_QfY4zmCtMjix3B2YQ_ERfZuOiTwBwlV0SnVZ9nZuTdbuO9b1vh_s"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=288, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/31/2024 12:29:10: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/31/2024 12:29:10: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/31/2024 12:29:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4650410, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AN34paMNjrfRbwOZhdFlYei', 'x-fb-trace-id': 'DJN/Le2VY5i', 'x-fb-rev': '1013885479', 'x-fb-debug': 'Kjq9Nm2d32CGBt0qb+Yw6u/obXEkuL2N6FFKjl2dIdY0VNNHRjRcYXyvyNu+BT0NebYVcmVFxmJSOxTEgeB4pg==', date: 'Fri, 31 May 2024 12:30:03 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKqVx-04Mm4Z-OxCJBF8aLWQpebhGRzKCLF5xOuy-LFXHd-KcYQeYigrVThahJIHKAPczVkGGTloIjtcqa9"; e_fb_binaryversion="AcIdCdzoRGdJ7uv3NHwWHuTmAWr_AzgSW3llf94LPVT2vkwGSzXRkCyJBfXTafSalOsJbB2gC_FYqdDjCVrMpfCu-zAbvFQVZ1g"; e_fb_httpversion="AcLctyxjyuulXostSaPXmf8LXQlMwQ_eVm2F8uko8gGz_zmUEMheJ6kUS4et"; e_fb_responsebytes="AcIW8JIndrT1ndNIpnfWAMiSDtxdbR0k4Po7OdzbFcx2C4hkiz7y_aDPHGu1"; e_fb_requesttime="AcItzCXmdpbuJghNMD2Qj76NnTaOOOJB9YuePK_9MqngMAl80l9HNNMNc8gZNBBOzJaqrpg0Eg"; e_fb_requesthandler="AcJMjM2QEZVT-DIE1XgFplHJMHpYWZulMXwV-S-MqjX1KVkW6NtdIALWwiTzoJKqXkn3-MUDmGo"; e_fb_hostheader="AcK6mk5Y4vaBT90rjfvnXhqbdBuuEB5unSxiEmmBHGI8nt2h2XWW-Rgl-QvFFkcUwc87lD_YPFTUgQjP"; e_fb_requestsequencenumber="AcIy9_Bf7DzIc8H3uAo491dXvIqm7gKgyaS_9J4FVNt3ZBOzzo0zHD359-5_"; e_upip="AcK2ROEJDZR_oBdH9tR3MsjFnwBbx8ffaoe2KxWsUfL8bVZmShMO_xU-_L6VefUX_CD_25el_KIkD-dQqPLt_xsXyqrWhlg2NTY"; e_fb_builduser="AcIjJk7CnayVI-ioQBL8se6TR3z3zA-e-hbnALvyiWMtwNpALMsSzHZNpkNmv6nQIvk"; e_fb_vipport="AcLnbjdrAf1-STfOytZbuTiBF-xL9hy16Iup7kQsWeWXwQmoorkQ17gawWBx"; e_clientaddr="AcL4aLFs3JVGFTh6KkHR_9kT8TBM1v0iAqPBj9-CrUnRPHZ2BlNca5waYuzXWXp3sJxW2rO0ZL5i9mSSX104DdlclCrdErK9ldQjbBQ72uW1Qwre"; e_fb_vipaddr="AcIWpmCKBZx7vcHDN-YVc5jQUdPGst3jhczffnQte7vM9MNRM2xo_pfwIj4oBKqiUn2G0UPJpMUOpYejZH0uBSKb5OFnB3KIew"; e_fb_configversion="AcKkzwX9F1FAckjbnzkAhHiPEn0mUPf3LArpDl0LWqzMi0JqMOAjywNgJAnTfg", http_request_error; e_fb_configversion="AcLwgTVP9CpVynIAL0IcM65KZoJKa92eROFukAgSWk2B_P8hCvPxSn3s-nXoOA"; e_clientaddr="AcLwagb3Fwwy0YcgkR4TV2jagfQ_9c8UdH7XWHra7MBZ919nUOeVDnbNdSd2Tjc3tIrZcPIYqafZwJaf-Q"; e_fb_vipport="AcJW1_kgcVTkxsviiPqWxy3bcD0II_N7k0zdEBoq9dCQxoy3avxiI3lRbAGP"; e_upip="AcI9A7R_AQNNu2LHNeHmHt6vt-k9RKLHVDYLnQgduKaAlkCmgkT_NgnCp_1TjSb4CLYYDpJd1PLK8YES2FOEvRmlX3m1qbZzmQ"; e_fb_requestsequencenumber="AcJGMX_XJQxzDR-T8K1Z80jqG3dBVbFMVn5dhjTCmyECCWYE17-Ut68AWg"; e_fb_hostheader="AcJ6n2kZ-m15ecWyNU_idXcyKLcBNutVFC4ztxXNR0cjqjHqRSFfIJilAppD6wx-Eb8f89rxesSrAJJv"; e_fb_vipaddr="AcKPYfJQjvl0UkawrkV2UxmCsO60PEKu6J3IZqZtIOyAjFFm8mixcoVVMPJb6AuJF2KCQvc"; e_fb_requesthandler="AcLCP1w_RvW9HbeaHYUJrolTk1aKR4ByrMfjlLNtdW1j_zyc6xJHuHcgUXJe246GnZAF2EGbb8g"; e_fb_requesttime="AcKf_DJS0vP_Yywv7CvX-gB6Vdey5xIkDaUK7yRc1p4mq4Czxlj8xN4DwIm7rP6-waOBpOkbeg"; e_fb_builduser="AcLi97G2S3KP2YIGU4XprYzH9GxglXsjfS1pKWj6MtZw3V6D6CFUuAuV3C0Y4RjB9R0"; e_fb_httpversion="AcKJom1cytBLLxEmWPAfEoQSScOJhrr-6yqMAWL5uCKFNJie_4hp4xGlVw4V"; e_fb_binaryversion="AcLuyC0dY4SGrT6FCc_7R4I2dt6-FtdRAbVkgJ7sL_-9gsgRLrh0jj6DoshSXbFr8OcMMSebhV0-2zZ96tZi38OiyjS6t51hFdk"; e_proxy="AcJu1OR4PaA0Kk4qdAk1pmBYHSo3c5POW0thfgzgaYk6Z434050DZ2--OrFwuS3UHD_edxOvC0hm1_A"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=155, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/31/2024 12:29:12: Error on send one message facebookId => 5911125655662040 05/31/2024 12:29:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADRuWzmNxaaqEm3QprCqk9D" } } 05/31/2024 12:29:14: Error on send one message facebookId => 5911125655662040 05/31/2024 12:29:14: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AF7iU9aNzONeerI3GkvsGqx" } } 05/31/2024 12:29:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4650739, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqdSJ0LJhDXg9MKcm-rAthW', 'x-fb-trace-id': 'FEOKbQ+YFxJ', 'x-fb-rev': '1013885479', 'x-fb-debug': 'D/5vbaV7D2qXq1uFL4VeI1dqeah92rldJpxcFmEiDCCl8Mlyx6qO9Z/IFNlzI+aZrnjweI1L2YHYsULQ5Smo6A==', date: 'Fri, 31 May 2024 12:30:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJGAxgImWJUNmB3bd0GSgZzmRYvFh2DC3WAVTKlTxkf_2pp5i4NOX-QdSds7XkZGJlbb-SQX6MtCyz6HLhh"; e_fb_binaryversion="AcJcfsXRpXFVFLQICMj_cU0VoeZFXL0KFZDu1HrHTpnGA_81ldWP_6gQVBQ5a7AKxxpct1WA3ck2y1bYfXkuDBtU2UR95xyz0kY"; e_fb_httpversion="AcJECqlPS9fFLOKdpgtq8lHvatRYY4jlA0xe5t7Qr1P2GGZoFOLjHoFW2tba"; e_fb_responsebytes="AcKAhhxRYA05yDwSLTNx4hEWHyGrhUuFb_1OPU_LvbfSq4pRzYf8mEhxqRC6"; e_fb_requesttime="AcIw5e3sXytPGjtu1Z_5L_GL5NMZ6YSq2OKqH3bFYlwNHIPMa6KRTpdPBrS0pIzD1PwBkzmXKQ"; e_fb_requesthandler="AcLLcAeYR39w8l31dt03UKJcWqWzuk8RTEuvpb75VPL0O5bSUCHe2sPNRH4twUp8FFJomV-aCbU"; e_fb_hostheader="AcK5mPfZ9YJWEZ8xHd5SETSRIgKz5nn-Yb2pNBhg0YUmNr478JW0ink2cywZERPwAMPy3x9FKX1PDhd4"; e_fb_requestsequencenumber="AcJ7HKxJ-7p3kP5xv4-ZuGZhqG0HboJfWjwfaVMjoQ6TYYv5U3shYKS6jlVk"; e_upip="AcJX3JZtduQKZW4hwOBnv5V3yYGRGlzcfALpv361enSs7lzdPqnMqbQrSCXuT8fqYVwQCLGHCmXH0YBrhJ7lzsN0T1ck0v1Zmg"; e_fb_builduser="AcI36oRkpYQ7IR8xAYsrwPUSuq-3WB979Yu-MDhE1Y8qgH2Z9fGCPVFP-zWG9aF0ims"; e_fb_vipport="AcLkgXjPDwpiHuLfxG4yP85RWt5F_V2tybc4k6Ru4lQ5CFl5mmxqhARdQUIr"; e_clientaddr="AcJS3eJt0jGr1Uzl_24uKKBh891nfPsnY3a_W4YWFWWixzTLhHyuknsvwYThvFnO4ssUkwZGwFWbm1a82mfEB2hMY7t83u-FS2GL-ko04uNbxVCSTg"; e_fb_vipaddr="AcJ6qjarBsHpxDqe9v7F96Sjy8MtGBKu51AxWZVJ8vVP0DRjwdAxyxk3edxDtENS8A9mUzVFHg1q5qbCJB-hW1mHjSDSRnF2RQ"; e_fb_configversion="AcKwzJbIcCFAfjyI4J0pjKa-sOuuJjjrSyHaSi1Bp12Q4NTZ1naihkshpVfoYw", http_request_error; e_fb_configversion="AcJHOCoqcyrjB9XAA--6vX-bxPgm7taggCx3TwIeVzSYU8DePUVq89ctqmVxCg"; e_clientaddr="AcK2sB0WwdaJkHguBk3Tn4Cz7j6n1NgfrM7mR37z5JrL45B9-fqTmyceibdKT0npgNSPmNkwSXhye3HQjQ"; e_fb_vipport="AcKE3xI_xsAZI_yxAZw2goY0IItXZp-UlT16L6zKUxofVBqtaRAtkt5w5JSU"; e_upip="AcK9kmF2KbUAf-AGWFJL74W7Mz0YsSDDacdPERUcSO0CxpACr0kSfxD9Hj0Ut2_YpfkUAiUxfz1NywNsUJB1SUvB3VSFIqZBSw"; e_fb_requestsequencenumber="AcJrkGxdNXFlZdIDlBoMQDIOdM751d14o2DBOKLnp1eelG32tlMLjctIMA"; e_fb_hostheader="AcJc0pW4nnEqPTGcHvm4owPHNKiNBwrgqdD37dt3tdyOFGWu3Nyh19-hcYyy1pBI7sRomKPdNSKnGcKP"; e_fb_vipaddr="AcJh3IeV8ESVRKj0vswPNT2zKF_uby1_GWNfTrbUbmzlEl8UHyrBhT2mjzmNBlBOnMTq_lE"; e_fb_requesthandler="AcKyQ2TDUUe1f6TgXRA32bB0RXNvFuAhmQZjIOamfvLjgUs-AFHRaQjQukjCdF6bO6OWiCxrn5Y"; e_fb_requesttime="AcJBpK9GkeYrN9Vw8qA-4uJ54XSLeXr3gucciRhuj5JrOT3w6YiyQqFRKyaAGvc4x2B-svLtKQ"; e_fb_builduser="AcLpuJR2_bdIwKvB6NJErjmRF7ufH-AHy3XeGRUKNKyu1ehLVM6jW5YgKaUZQZMTJCY"; e_fb_httpversion="AcLS1DRdLGlkd68PxgFiPKVfdtxmwtZ_x-AJpHtE4cmZpdypVJoG721MD94h"; e_fb_binaryversion="AcIjYG-Ah7JufDdccmJ3tqrvsumaVzYZ4cChU_LLWx8sevS1nkkADdUmjelQLA8WuSZJBJFtAxJhHKB4MkEJpx9FwL9eN8U6_f0"; e_proxy="AcIatiXkRq9TKSm9LpR0Nn48n9Z-j6GKKO8cqVfvfPAsXivcFWFQG9ubsq9V3eyV9cvAOR0GQlhY0S8"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=161, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/31/2024 12:29:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4650521, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5KCBpFBX9jEAtK4JxWLLgi', 'x-fb-trace-id': 'EFsav2nY3jU', 'x-fb-rev': '1013885479', 'x-fb-debug': 'WirWQnn6f3tpOD5ODzIePFn2PcieGsa5ktyon+KbOxmgcNvS99KvqYQWoQLhcXfQPn4fouXApO7Amnjfq7s0zg==', date: 'Fri, 31 May 2024 12:30:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcImhHU2qOqtABUD_O_Ot_HxtunsvtM_sK6XTz6Ut_G0VgbFYJrIT8ARCyYqSTMiZV5BPH6dAFogdj_gwdll"; e_fb_binaryversion="AcJkdyYG-86bwX6JDU3C9_SnUypigxtAXud9sfeWD5JEHCbEFVGpE_D6OMKzkDphfUjEdZ6PT5UFPL4MBGrM6ofpybaruhxN_8s"; e_fb_httpversion="AcJU9xSXtv2sNLHpET7Mj73bdTnfscssk3TibNRzhMXpraHLhqDwqApiS2VG"; e_fb_responsebytes="AcKoiPwZomDqKIO5LoVYMuaYJKneSCpFuiBNtcNxAjLjjclRwnFzC61R8NHY"; e_fb_requesttime="AcLZIDapzDjrQTOt423XbTP-vnwl_vk80lcm88eFjpsVuIVrBzLO7JGvGq5Iui6SlgPDftlqxQ"; e_fb_requesthandler="AcJRcWUM7GF5VG61NTq-ZY4BmAB0YshpVyIUO4UR7ZV2LNvUghZqu32p6ury7tE33YyKE1u2KBg"; e_fb_hostheader="AcL0KHnl3_lVzb_KXsmZdzjxcZt5IdZNw3SKCP_gS86wWRBG1UMhWIFr0gyneIDxrWYwObQIYmOSAuow"; e_fb_requestsequencenumber="AcJuiNHwImdSLlfqlaWqkwjW7ujESMAXxtt2HvMLQqj0t0tq1kBXzXPaGEcS"; e_upip="AcL3RGAs4GezcGA3rxwolc0yeOFlNe0yYToZo6dbR43uoLnK2yE5pq3IrWeybLqKKZ6IPTBG6gWUoO1gmg1BitCxUHLjXHOytwg"; e_fb_builduser="AcJRxvy4dTq_7jhPuTR2mf2vpuhYzcSgXPyQ4_OnXFxe07uhhHXMw53X2sClkXQPMQI"; e_fb_vipport="AcI3hXxsw2tsd46U3rJagRHKR9vA3xb0-wA8bqHBF06NDmiOGz1a_ZAfYzz3"; e_clientaddr="AcK_6RPkyHXr6sCphhdpktiuEZbyWq0dWGWGBUuxAfTJmlMoeLnhtBzyDx9jCltVk3Ep2BI4q_EquzmTGYml1HR1XHmajDC8aPDnLaghItA12wGmRg"; e_fb_vipaddr="AcInSm5voazdyTrwINp4OPspWlMBTpG9RW5DfpVoL9xfDhmxV21dub5FVUJSQGRTr-FY-nbrKqxP8dPREiOlMiGu1jI65TO8kg"; e_fb_configversion="AcJ89veXK2PkFzzcWvLTNIt58LBGmAyXBwdnuNzLQ44QCGQ4Z__VshE-L3hsdA", http_request_error; e_fb_configversion="AcIWBzDGL9Eg9CiUpejNbe9SzDROu2kaqi9LT3w3o6KwUG6PiVEKx_TlB48miw"; e_clientaddr="AcLdEg-raLeXFq43dBBULXFhe1NdCQ1BC_KONnS86gYnU7KIWgAe1WHycBEySauQNePK5Zn4ibYB9FUYGQ"; e_fb_vipport="AcIPndpAqnseJ5wL-iwy9ZoxaGxtFaycW0-53dD5DOr366vLvaEU35-CKga_"; e_upip="AcJgpySwj2IAb3eteBxticVgbpj2HMtx5NE-NgsC7U8iZ5mnIwGz_ONDdFjHhSFFRv9-4AW0BLBtCcHyPLZZY3m8Q9Cr3DnkFQ"; e_fb_requestsequencenumber="AcKhPOeR61SN18kYhk08HvXZA1oJbmjwdJkLmjBIDsTIvwnwpnJaZjceuw"; e_fb_hostheader="AcLq5hFYE8gmRbv5F7U-g-fmcStzYQH5TrvJvaktHYxlXdlJyivHluTgWKRSg4lLPoXWvWiAmbatzUtH"; e_fb_vipaddr="AcL887LTRTxOLZzJoB0a3qvva-5tNEslbwiUXBI0D02R1UllSHsXrAjjcpLCRy9yDVkAshE"; e_fb_requesthandler="AcLbKNziivJNiLmQZPKVB1eAi8Ic5A8RZl9PPh1wj4Gd2o4OWrL9kewICj239mPuJdHvZpFyMGQ"; e_fb_requesttime="AcINC-ctIpSh1JJG6pb_KSiyg_t55gS2ezRT4U6-4jF5ZKz5F_FJG4Z55whOeq02l7y5jELsAQ"; e_fb_builduser="AcLuBYdSe2fnisaw8rtg1LXsBufVusoVXUAAzgqSMH09dz0OqI98Y-0FxHXjLCx0MuI"; e_fb_httpversion="AcLjOsLSkNtnEUfc91qT2OqQlC1uCHAZGIZ5MAXcfOqdZW_cNX-QU0MUPbPc"; e_fb_binaryversion="AcKzrD3WePsP-Gtrw77iJZgH4lB4cLhAtEaEsdaQR4TSDVCcTJUcho2JmTNCMoMdS6DD2rIabcDTxl4vXw4BS6V1gu76DRb1ttw"; e_proxy="AcIaf3-0h55eLGtgGyXzA7u71C8-TdyEOPcWMYnVuYHt7P9JT2CGMFBO4BgkVZkSl67pq09Q8XVXtHs"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=3313, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/31/2024 12:30:06: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65aa762c7af40221edbca40e 05/31/2024 12:36:14: Request bot not found: { id: '1852395741674621' } 05/31/2024 12:36:29: Request bot not found: { id: '1852395741674621' } 05/31/2024 12:36:51: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4652248, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5ryeqsOQf3ik3oo4CP0B9n', 'x-fb-trace-id': 'FDNsxjgI3tr', 'x-fb-rev': '1013885479', 'x-fb-debug': 'KWSdp1T/+vv8UgEl61NIlWBlzL9hUme9Gb7zvuRD0T6qEll4U1qQDLYe3lmaymEDq5Tizwvbm6hJ2JY8mv9FhQ==', date: 'Fri, 31 May 2024 12:37:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIvmA2G79PqjU8OcbRpB_5PMV_QWVbPKSdDVOW99rk7RjlltO_ViFBsAFkivRjTDDSifTAkLplhJZStL_P-"; e_fb_binaryversion="AcKjkkNmJmC9vmcFWtWQ27n9JpT8MKnG6zVtdTK79ZhaqgRemoJgtPcca2yuDVdy-1itKXk5MPITNrhTPefJuyIaOkhnTIr61dc"; e_fb_httpversion="AcLGBo35ndUVxk7zPK4OpHPXM34wykM3BND9p3jzlnirLhxCS5-0QkQCTcD3"; e_fb_responsebytes="AcJm7mH3-vP3uADUYwgkeukhzWTvIgbXKr5q4XjC3M3JGv30XaGrgRGMwxAZ"; e_fb_requesttime="AcLlpFFb8a7UqW53t3ID-fM9_bcP8x9T_QbHoVx0LrE8U0VmlQiK9Qfw95nUYTW5m-DgaQWVCw"; e_fb_requesthandler="AcLujEXdqgJRCO5T8ytNpPf5SFKdjkBbjFSJ80IW4YQrWfLLJMoaLZoalLZeElNCLTwuJtq4Gqw"; e_fb_hostheader="AcK4cr1AYV2cdjlITSjwzA6yYGCdbg2n9AY7Sst1KRV6dvkNPUUToOceVlYEBJ4IKnKMsmOtYWGKVAf2"; e_fb_requestsequencenumber="AcJXgCAjrElyzuBS8iOKM8byxO51nyRzIaDdvOsJnEXDmJnnE4nX5J50Cnx6"; e_upip="AcJKZZIGV3ZiBEA6AXJO9KLMaN7E1uYsvP6pN4l-Gf03fA2kyQ5oLHJYs8N_Sv4vwer9K_6mdpkDWHu9KRdabsmI3fBQ911qro4"; e_fb_builduser="AcK7rDAuFbL7hzwkSntW-cFcvl0Y26GuISYMPAe0pQUz0546EQBexz6XXbGFo-KCi0Y"; e_fb_vipport="AcJjRQvZuOiiRZBco6hQF6-gOk9bQVKe9EEA8SOuMZ_FLZ-p2JNWNILQ10h_"; e_clientaddr="AcKOpPfz1uVtSSQFFgGKkEjCWwb_3I2re38ath7kJWR8PEHTRGmJfTFHqlbddEyRs2mM8tVIHF0eyLH0BLRMMqEnLJwoIMsGeujVv6BU7yJnek8ekA"; e_fb_vipaddr="AcJ9PjwSkL5OnpSx3ma3oOAj1SaVnR7EBDmEvWZSoJolDeIafvb1yYH46nUvjkhKxh0geQ-ZpU4m3XRDDhyp2auPzELC0dlBVQ"; e_fb_configversion="AcLfH9DVTYA32hlXPLbYeFhP5Q4kl98GzeP4MAe1r86qYR-GJ4jjcml2UKfRwA", http_request_error; e_fb_configversion="AcJ6Zf9EV9Z-IWeqeH2FAxvUW5gns6RN4oZdByjUjmeTsL6bnFWNKGMDN0FMtg"; e_clientaddr="AcISxblPRsMWatVjeThCHdr-QlKJarz3CCy6PquJVrCUNgQW8A_lwJSEiJNgWWI-HyRJ5d1GawXAA3e7IQ"; e_fb_vipport="AcL3aLcQXQV2yWRBO1XvmrOAkMhpF1pMcFNEQSc8PmKC_4tqKeIAF4Jbx1kR"; e_upip="AcJ7WqDqXx4x9vkNm9zNfn47VFM4g0s-47N9G5DS-E13ObTbDEpayf630ovopOOQYWnWuO0rNxlpZQ_v5htdWf0Fs73Q2ntiLQ"; e_fb_requestsequencenumber="AcJXvwub5LVMCPxhbMEBImNRWgPqzVB-8zuvRPcD0RZ8FuwTSwiiXTurNw"; e_fb_hostheader="AcLu7CMmL2v3Mth3L3ibtBa0P-t_11ralD4Ab4Fi_aXTFB5LE-a8T_VBBT9xK1ZpP7GOkRS7qnvBZaNq"; e_fb_vipaddr="AcKrc8tyoJhzR0-y8v9k8uy4fpCrt58UdMOQL53BbjhtAuXZBjTM196XnglOcO6YejhbDrAyDg"; e_fb_requesthandler="AcIIhxxfv5zf-KNFygGO4WMCWbEIpS8Rl9RNdoLDeOTqNTaLt-Cgy8-Rb2xgzTJUujilgp96-KU"; e_fb_requesttime="AcKt2vnW6wKs1YI6_GP_kvqxR8nHxjpf_4d-RkBxVQAvr7hj7L7CYFeBGPXtCMOtGK_N1KaAsw"; e_fb_builduser="AcKVf_Zmp6pottdTcPKStZEcEoe8N1FNo4v5hOBFuyqMM3duBxpGSLRDARsusDUJT7A"; e_fb_httpversion="AcL5Qvr8u879RrmAar9Pu9nohUX306p4_BgT8KWQeHnuok5qH04t3lZQrebz"; e_fb_binaryversion="AcKT1NkKC8sz2JPThNchO7mNQUEDAu0mjwlm5Dw2CsH3akNid9ASmMI7xeMVmbhATtebIPPXVbcIY9JwaFENiWQ9T3iANocznQQ"; e_proxy="AcIDCfVIK1kQhqXt3zTDfNuNfEsB-T1Rf4eipjAmtEAu5vcEA-8PpE6sei6J2Iu1e3qTJaJQ098ObALp"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=63, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/5911125655662040?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/31/2024 12:36:51: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/31/2024 12:36:51: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 05/31/2024 12:36:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4652339, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Av-TVuX-f5S4L4h5fz5Xhp5', 'x-fb-trace-id': 'Dt24XhxM0X6', 'x-fb-rev': '1013885479', 'x-fb-debug': 'VIneDsaH/kR8hKAeU7NmfFMhgH3hFqCeh+yhRHEo4TvThOmAU4jzPo2F0qQRNq00+92taHRd5NrVCoo5t8KK0w==', date: 'Fri, 31 May 2024 12:37:45 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKQ-ZiliOXy-DZtScummPm9yB_6Lb80s2S5oSgQLHPD1lyU_UtoT-0rP17A9ICUCCroR74uz_Bf6deq5bc"; e_fb_binaryversion="AcIS8s_tvgcACtbU2sHRhywNXr27Hw8tsbwrj_xxE1FUBmBR5ixxM7m4D5yN-dKJ_Sfe66kHJa8d6FTPYA1tFfqAzQkqM_-MLF4"; e_fb_httpversion="AcLJMBXmRFtpLlJvcWI521YV1NPDYQSym7Ttb_LjvC0-65Uasfz4nJknbuBK"; e_fb_responsebytes="AcLPuYJ_CpIAhXVIWzvsYfHyQ312dpZjxDDzeEwyTszcLFWzunjg9WS-kqYm"; e_fb_requesttime="AcI3wwopxsmiLq61yXtZZxLebY6ZYtxc9BuYkjFXnSm9EavA8rBt8-k7iZnTgeYzDvXJVhR_cQ"; e_fb_requesthandler="AcI1SW-s1Us2y6hZJxb-hYFRMs1tg4WQza1Y0OTfOJ8FjppoFdR2pZMNw7hhkKlyUZppn4JGqvo"; e_fb_hostheader="AcLp5qVVYmyrMz07NSpLd7UyJgRG97G2llqD23wJ9L7DKZa3hLMTSygi08zfOObzj2jorqyUoKT0o0nG"; e_fb_requestsequencenumber="AcJkvxCozF5w_91SNebgEnG0bxeuP3tXT3MAaQXYMZ6xxeiGGkA74TwiVU1K"; e_upip="AcLHoDQGpyR0mpiH8xqbj57FFG5dPG6mf1zxa8QwrcRwaX3SptvSf_f3JXq7du3tB-Vt6SdXoA6MJXzDWVRvWgEqX_ADruIDHxY"; e_fb_builduser="AcJTwRNcNOIizLLCwU_H9tQHH7BwmBpz9o1LBbjzARKq527W30dO9o1v2AEj0ALKU7A"; e_fb_vipport="AcLBVSsfS0g2f55Cbi-kQCjy4-pFc-U1Xq-3tbJwKlQiDsgd1LQZjoUw1-4O"; e_clientaddr="AcJA5n6kEXIy1h696866KhvCG-5y_IiJvAVPduEZxvKUaUuFpOm1ilO0PpFVSkYZMDi1OW-SwaY6-jYsq-5wgqBRpixflOVsPbrpbuURXtWCryFA"; e_fb_vipaddr="AcLXF-fHJhEKnI4uLK-v_HCpgdXTxU42_BDkeA22NVm-XhJ2dgU8rzzvlb7lyCc4YIhnPfhhhJAP7UhDYllt9z5-ibIT6JM3YQ"; e_fb_configversion="AcJJSpyqjdkVUaPdm3ngOWQUzwY63UhPKpD7_1pnzCqB37qEH7w0T1R_EUtEPw", http_request_error; e_fb_configversion="AcJQ7EcUaJd2Cnu_5-N0ZzX4nPhnXH1R_quUoTk_XHEmAna7KY3Xpu60ootAgA"; e_clientaddr="AcJLJUnujJKJ0OrmZaSOjB-m2dQN9ofjStvmU45hAL9jay8LKWy0AF1vyJDtNP6W3aZK38nDhXA3uPpQ1g"; e_fb_vipport="AcKrfQpvt88O2sflYL7C7uMgqTHQxBFwrEK3L5RLz5kc1ERwc0bRlFRRIL4d"; e_upip="AcJFRlD2SzC3fp-W5KNQ8_PImA0S7rlcEgkV7YHp44n_ooA_lgbvAgyqNU5cUpncid5qtHW2MlxZ8xwTjY315vTg66oCklrTtA"; e_fb_requestsequencenumber="AcIBbgGhb-VT9mkDVuMjA3yXywa6EhSQvjcs22T4wP1MSNSNx2al3XO3Kw"; e_fb_hostheader="AcIyA5AwoL5bvCADSAUM7EPLqlh3XsGTY3QAlZ8J9pRFe7nipPkFF5m_UOPH5NGlqRj6nirSBjizPRf7"; e_fb_vipaddr="AcKYhnqlsM1awGVJUDDLj7HCyjcCxceC0MjjReD3F5m4tOWDiYR0uWlftJVFbjlz1rEsW2zMVg"; e_fb_requesthandler="AcIw4BqFM7Lb2-Lr2q5Y33BuuuX0fevajsWec0n5osV0FQeT4POxRuRb0caq8tn9aeBywmW3wfc"; e_fb_requesttime="AcIg7KQ-6trj8SqnFDkukS0KZDswdME1PZzSOD-aD7S8Zz96eIRYH7N5kZD8nKUuvjQbzkW4Hg"; e_fb_builduser="AcJffgu5BW1b6FrkpyBpsrx9Bvcj4joj-Rlj6b9sSs9s3Ab44VZcEaOTJ6z4JAe4jAY"; e_fb_httpversion="AcJoKFYkNzuTRv7cB42HYZUlGnh-sFUZ674wKHN5moh1FrC6yAkfNRNoVNpe"; e_fb_binaryversion="AcKyp9Qf8Cpb98W7SABYYqJ4UCUhsX3E8myZDRJQngP9lhhouZmuVi0S4wTM5lvS7zGSljV6-GV4pFC4Go7uDp8ewv7qvX8cyXY"; e_proxy="AcIWnRzYfTfW9VIMSNfW2c1JTzgVIN2t_ks2UnkHxFrszxdQ1-Db1CKaggmvlWYsLlv_scLoTVOyDjY"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=39, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/31/2024 12:36:54: Error on send one message facebookId => 5911125655662040 05/31/2024 12:36:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A9VAom7VIuqV-mo9S4PZoOD" } } 05/31/2024 12:36:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4652466, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A00R6ZmcXAWqY-uc1ato8KA', 'x-fb-trace-id': 'GIosQpuRZnj', 'x-fb-rev': '1013885479', 'x-fb-debug': 'fH/srigza/5n4lQaJ34gB/RMybbNAaprXtuzsI/IgxWx5a59Ecq2ra5EtCGVPLwIj6Hm+sNQs0ND/J5uBAsNEg==', date: 'Fri, 31 May 2024 12:37:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIv-NNEAMcDnC4DeYykXP9AoBRrrOFBVW3-m2aBge0mrKmpSUUSG_zw6u6m7T765PxevP7XPkLl-Urvg1-n"; e_fb_binaryversion="AcLyAy4W3MOmT5P0EFYfBVxvG8G2MwLfta6qN1EGvZsbtugfF8tlVTztw4Zn4bIQT0JoMiM4pKKhvAnY0fPZdnF6jgJuP62LNMA"; e_fb_httpversion="AcLD0TaOp25PAMXPjbxUXjG5NvwQzpnpJFXCPspiU_Vj9TAQah4GoxM_BR_h"; e_fb_responsebytes="AcIVkJeOqJtIm5b4tR-OAMfzEJWxD8pn6uEzwQNUnxlLHDNPzLW_p4CTFNFp"; e_fb_requesttime="AcLb7LuWoHhI9Pu9KCwY5pNVS5kf43m-DIhnsKuvNrlxb0163lTFlRva3ijAy5yu1DVUZt2qJg"; e_fb_requesthandler="AcJjq8IAGtTwr2iP92vEU467g_04VYT1joNUdCBkTdjlYIM7tRR2yZFX9klwg7nqly1eCOs4kMk"; e_fb_hostheader="AcLtdNQn5JmB1MU3EfO5KVWRCeva3SAan8iYnz_b6fI5R2VMjVY1nMgFMU4WGfUNuWTN85cMkT03y-hr"; e_fb_requestsequencenumber="AcK8VLiOeXNEoUCvIYRfmVMACB8skICTH0AUzw3VDv6SbBJDxmSL4c4ofvYo"; e_upip="AcKr3hWWu64tl3I3NsthLNzaD5QkllZNim-UFAYCcQ17-JDisvf4lrvHeUIvImOu6cTLJDvo50KtVeUzJTAZ-3qqUDE-ct4a9NA"; e_fb_builduser="AcJTUCNbgVi-JGj2ZS2L8caSRDj9zYITL-uhrmxd9uSA2oLkk7guH4I2w-2oSwUn_Kg"; e_fb_vipport="AcLEJZLDRzQMoBgTKo0aoiaiBRmbQBOewuqhAHRBqznZX1VN6ICOBTwORvCh"; e_clientaddr="AcK-6oVTHuFsKd_szO69KJ1N1OKzZYZEEIFUmNI-nCAKafsEHAi792JFFMLSMLMRwPwELZzpvFnPRDVbWBT-uEQ8IXX3pzae_zsVLMsDO3MnN_gaMA"; e_fb_vipaddr="AcK3jeJMJasOO7VaMBlE9GzfRN9n1AKjhWR9VmwJRPN4GwnwtUgSHcBGromatFYOlTcs8FthJHWpEv1mj4HP-1A1iAs0sV80nQ"; e_fb_configversion="AcI4-PWkOWB4tmmHmVYDuVBUsycmfISYqQd7CoCX6rbLLG8iRCpvAo-w6mbueA", http_request_error; e_fb_configversion="AcL0pdjVn4JJEDyfq_nWVH4vBY4IZyVlp87bxhAf9erNX6VyLbPZraaA3AHxGg"; e_clientaddr="AcLV1BQ4ItRlJC3TWQPLs152YUEg3rCMJnhgbtTne5tmvCkVtwxdOgD8obL-DSyPOlS8CRNve_OL5ijFiw"; e_fb_vipport="AcIy7jc7g_HsPOBeUZ40sgUTRJCe89fGiw7JUeqsrzVyWUJ6gZhIO6MCnUU5"; e_upip="AcIRG2jvYIWMHJma1OnoEYhuX22aLNIdI2xJs-w7C4cH4XPd44ti-hDguxWyX_sztzAoNLRehwSqYqmBFGzfYS8CXwDuSDSfNQ"; e_fb_requestsequencenumber="AcJo3pOjbS0SydwiqaNtaNaj8moT5ZkObncqy8qBmErEMEgqvlDb_81hTg"; e_fb_hostheader="AcK7pLnxKiaHMFgioQr4YT9Tyyn1JV4Tudo6F89LuNW0CJWGBfM0qkZJ6qBTf5IbkJgQwjB42h9EqZ3P"; e_fb_vipaddr="AcIgMt8q1-PPurPVB_D5iSIVfMp-OhKdQzEkr6klg4mKgRxmfyRrB2SuyVIEfg6VWNiHuPRYSQ"; e_fb_requesthandler="AcKTd8rp1nb_xXzCctLlcXhre13vZxKAg1prWpETvW6Swcbk4cwHaItgVxtX-JguNrT68w3FXC8"; e_fb_requesttime="AcLWFrfdBkNYvcqIkuEs_bW8NMSLkGgOelqWE1efWrHO40Ifsgy-FvTyZ1mpEQXa8oed51nZMA"; e_fb_builduser="AcKP8YeUMphua7VMO0QO4yWF2INE14t1LwIfZm--OEF0J0PaPEPCmqK5eh39zHjCxQw"; e_fb_httpversion="AcIFjTKJLL_GzLkAkSNm9mPdEOdzSyBC3aqgnpzyTh7tyeI3cR81-JfnhlhL"; e_fb_binaryversion="AcLx2Wh0xovVwYh-DUxnNlCiP4V1YpJP7wMgq9bGtTFD6PPRaw_FNxsuNLVTjs5JYxXlDRDiQv_cO3cr3IM06udyFek-DMlO_-I"; e_proxy="AcKX8hL0Z8bu5lspRoKPmzDciYaXDSSXvviFiiW8LXYmBmytKaeRyFtNo7RmbNJXzHzXTdvdIOF0Wh10"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=38, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/31/2024 12:36:56: Error on send one message facebookId => 5911125655662040 05/31/2024 12:36:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AgXi5LKE-KSGV6orJzTn86L" } } 05/31/2024 12:36:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4652700, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AeJ40uWN4ZV0ewQgB-auRa3', 'x-fb-trace-id': 'DEQYc/BXpl0', 'x-fb-rev': '1013885479', 'x-fb-debug': 'zsP77M4zRGbuO72rT1TcHoC2A/BWKUs3qubtHQbGqkEnLr0oGFcL72nAzd5iQpMGzVXbeyhwc+l1GyPyS5mzOQ==', date: 'Fri, 31 May 2024 12:37:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJL3MG0MROqI5nCGVV5uUk-Sr70idj8Dxx6FXtG57kcoHyFS5dcSuK3XCRzsS1q4X8VOA6FznD-mLX_CKPA"; e_fb_binaryversion="AcJ97cnwMl7faM-FlYrBFqT4gk3VyPtqafJvAK8fn9xGasnN3DLgYtJ5jd8FXURU0pCkT3HW3REqepcx4VNmUk2CHXXqC7Bvps8"; e_fb_httpversion="AcKagSpT1FTlB3b-x9PmXaVIm7czMgui3VNGrXQBvvoxBSfxRRNuCjr36H1A"; e_fb_responsebytes="AcL8SthTYvLFUXD1ggj0ObSMU8Rp_VJ2H8FjpKYjY96_lX__Zcc-LzpFe-x0"; e_fb_requesttime="AcIQOqeMGHAQqDrwdbLptnAdKXrwiJwWTIP8p7O6vMiVfjclBvb3c0PX0tfojx2izpnrT8HxZA"; e_fb_requesthandler="AcL6qDqOxY5KiJxDy4PDk6HUBVVlSQbfduedWl_y8-Ek5MPt2GETEDRi-7RxD_mppLWrQ33wgmU"; e_fb_hostheader="AcLEaH8hH9_jnqrJkkmUSY1fN2PE5OvEYQwxjtnuw6GGOIkcQzpKYB4CTzzY582v4-jIhUn84la6vNJa"; e_fb_requestsequencenumber="AcIEgCbw8YDDnGeKauXe0xjSpLNEhbzB54C3cs5OlP5QwIluAi37ftYHHUd6rw"; e_upip="AcIu4xYu02V_UflJIP1_H2dnZr5OmqvpmNfvr3ff96PrTmRObTsd3fBBZ5HwmzDeXZuTVROKWpHYGKKWQxNGicXJTHuIXD5RY-I"; e_fb_builduser="AcKlG6tRLQHXKROWH3U22kPc6ICLJGyZ3vnR6BStCgV4GgK9FGc4V8OGACAirxHhJnU"; e_fb_vipport="AcLsis3ruo8VGoQUnWsLc1lz-IQOR64CQCF8oarw4DveINnvbxIe2tbctgcI"; e_clientaddr="AcIM4Bb6L7n8dQ277cKXTZjV_if_M8Wb5oK6-hi7MutBa7vxcs-ygPxzYX-QbOVWViNYq7Vkz6eJtFFlocq9KvJ59gVe7qtLyXHiA5rkDwgENUJwUg"; e_fb_vipaddr="AcIUIf2xio9r38SJXq-h2QoTdwZ8a_Jmvc0GsnpDytUoJoZridlNJLaauk4_PuBx4uKT4YHrEPfOb52LfVsuUfHLpSlqJMsozw"; e_fb_configversion="AcKlgU2pXPYVSvP-iPu4Rz3UUz-XfGOISuXzsM-kJ4vMMpWfNsDfg3Gl8rslEw", http_request_error; e_fb_configversion="AcLXFIO_ZXRkWyMZOAjB_8kp2dpzLYOQuh-nVhUEp1X7TYhF-qeTPV_x56nvfg"; e_clientaddr="AcKPDMHqbm_WS0Dkyud5RTjEb8_jxGco5YTmAoxstLKpK3EdavE1kJ8680-4OLMNgJqWi21dqZw_VRFdOQ"; e_fb_vipport="AcI8bA7Aboscoe9VdBHJZ-YeHA4UpmzKY73fcpn594hHpTWVRLe7n1eVAjLb"; e_upip="AcL9MOY82-L9FpFG-OsPuaQEkkCi8YD1ojO0QhDM1myCfh8kyD7IQshS7ZJ7-yt6qZcF7foMfEL_fgP9s6W-ckvAplQcpjAftQ"; e_fb_requestsequencenumber="AcKh7oCNlvgGao4z23_qQqt7MV0HD23zDsjGiklYC3ecjB04TMoWT6Ee1w"; e_fb_hostheader="AcJDwb7lR6ohBzy9pWAYWqNgsnaQLyypDEp0cs-Ko8zwxfZ9xKDtZjNFm7q5lMnkTVsidWOJU4a93wI1"; e_fb_vipaddr="AcLWxrTnnv7i7qerlxAkErXZwTdHH_XFyPE6Z2eNlQ5C2bv0bEc3NuAi81zh4JLY9u-3vlGErg"; e_fb_requesthandler="AcIfH9otwb2Sek_zTpiuBc6Jz9xb2EE8jBacyRd5Jmfki68QHLmJBFMdlaoAE9KJ6101wx5br_s"; e_fb_requesttime="AcJMfUHNZBRQLSgqb_rZEa0d81l9IsXUmmLpClc4zO5pLPzObOk_0mz767_x94J4GvjSpTcFkw"; e_fb_builduser="AcK_QDN0Yia72s5DEjj4CmYtuJpxqIMPBqFnInwFNdsfb5nWTSRuJR1N_vWVHMnGsEI"; e_fb_httpversion="AcJlP1EbPnuuweSfw-MnsDNUxF2C5_zTouFrMqOlRsCHma_-bW-AenM8nQij"; e_fb_binaryversion="AcIF-7T9KUblmFp2lgIL0HaZSz0IAu30kBx7ffWzS4TTBe62fwhupGs8IAXevjo1Cb8MDcbrM_AyMgnD6e6Zohne0sngALts7g8"; e_proxy="AcJlstpl4rucSfutxS7QYWrproHvR38Hb0tEOR-p7qDRWRgo42ghcO403dvm0unmMfV2Xo98kM2Ud6a4"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=35, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"5911125655662040"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 05/31/2024 12:37:06: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 65aa762c7af40221edbca40e 05/31/2024 12:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 12:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 05/31/2024 15:53:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 15:59:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 15:59:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 15:59:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 16:51:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 19:26:36: Error switching inputType 05/31/2024 19:26:37: Error switching inputType 05/31/2024 19:26:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 19:26:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 19:26:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 19:53:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 19:53:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 05/31/2024 21:24:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/01/2024 03:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 03:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 03:56:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 04:07:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 04:08:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 04:09:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 04:18:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 04:19:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 04:20:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 05:18:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 05:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 05:20:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 06:08:56: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 4842646, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 01 Jun 2024 06:09:50 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/01/2024 06:08:59: Error on send one message facebookId => 7530610823683377 06/01/2024 06:08:59: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8e520c70-1fdd-11ef-aecb-854279c32c1a__1717222190775.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AOEjVoXA3H6jKn-S-S7x3iV" } } 06/01/2024 06:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 06:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 06:11:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 06:16:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 06:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 06:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 06:19:08: Error on send one message facebookId => 7530610823683377 06/01/2024 06:19:08: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8e520c70-1fdd-11ef-aecb-854279c32c1a__1717222190775.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ABwdDmU9KS41s6SlDS_WYcg" } } 06/01/2024 07:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 07:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 07:11:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 07:16:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 07:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 07:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 13:38:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/01/2024 16:55:16: Request bot not found: { id: '917983134950234' } 06/01/2024 20:45:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/01/2024 21:04:34: Request bot not found: { id: '108233141067249' } 06/01/2024 22:57:02: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5017276, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 01 Jun 2024 22:57:57 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/01/2024 22:57:05: Error on send one message facebookId => 7676414939111498 06/01/2024 22:57:05: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/63161af0-206a-11ef-aecb-854279c32c1a__1717282677279.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A7851TFSbE8myrTuKYQt3fs" } } 06/01/2024 23:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 23:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 23:07:07: Error on send one message facebookId => 7676414939111498 06/01/2024 23:07:07: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/63161af0-206a-11ef-aecb-854279c32c1a__1717282677279.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ARZnr9L5HP4mZp7pcUNxtZ7" } } 06/01/2024 23:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 23:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 23:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/01/2024 23:20:34: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5023810, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 01 Jun 2024 23:21:29 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/02/2024 00:08:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 00:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 00:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 01:08:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 01:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 01:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 01:32:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 01:33:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 01:34:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 02:32:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 02:33:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 02:34:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 03:41:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/02/2024 06:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 06:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 06:52:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 06:53:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 06:54:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 12:07:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/02/2024 15:03:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 15:04:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 15:05:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 15:07:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/02/2024 15:08:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/02/2024 16:03:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 16:04:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 16:05:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 18:58:36: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/02/2024 19:06:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 19:07:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 19:08:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 19:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 19:25:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 19:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 20:06:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 20:07:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 20:08:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 20:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 20:25:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 20:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 21:33:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 21:34:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 21:35:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 22:27:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 22:28:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 22:29:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 22:33:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 22:34:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 22:35:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:14:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:27:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:27:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:28:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:28:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/02/2024 23:29:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 00:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 00:27:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 00:28:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 02:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 02:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 02:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 03:04:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 03:20:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 03:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 03:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 03:36:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 04:20:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 04:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 04:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 05:14:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 05:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 05:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 05:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 05:41:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 05:42:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 06:14:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 06:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 06:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 06:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 06:41:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 06:42:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 09:48:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 13:02:40: Request bot not found: { id: '234064353428134' } 06/03/2024 14:14:04: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 665d2a2aff349866cd4f31ba 06/03/2024 14:15:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 14:32:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 14:33:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 14:34:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 14:42:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 14:43:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 15:32:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 15:33:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 15:34:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 16:40:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 17:39:23: Request bot not found: { id: '215725838493727' } 06/03/2024 18:02:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 18:08:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 18:08:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 18:09:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 18:09:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 18:10:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 18:13:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/03/2024 19:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:17:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:18:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:30:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:31:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:32:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:53:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:53:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 19:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 20:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 20:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 20:53:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 20:53:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 20:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/03/2024 21:21:01: Request bot not found: { id: '1852395741674621' } 06/04/2024 00:04:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 00:05:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 00:06:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 02:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 02:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 02:34:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 02:35:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 02:36:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 02:37:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 03:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 03:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 03:34:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 08:03:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 08:04:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 08:05:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 09:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 09:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 09:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 10:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 10:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 10:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 10:53:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/04/2024 13:23:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/04/2024 14:17:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 14:18:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 14:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 14:31:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 14:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 14:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 15:31:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 15:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 15:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 17:01:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/04/2024 17:02:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/04/2024 18:01:39: Marker: 0 | ID: 665f5683ff349866cd4f3c00 | Error: cant_get_message 06/04/2024 18:01:41: Error switching inputType 06/04/2024 18:09:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 18:10:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 18:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 18:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 18:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 18:34:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 19:09:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 19:10:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 19:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 19:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 19:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 19:34:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 20:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 20:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 20:02:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 21:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 21:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 21:02:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 23:17:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 23:18:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 23:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/04/2024 23:47:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 04:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 04:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 04:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 04:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 04:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 04:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:00:03: Error on send one message facebookId => 7731211243626734 06/05/2024 05:00:03: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AwLMwDKzqiBqFCXEO4XGVLt" } } 06/05/2024 05:00:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7731211243626734"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5921717, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 4, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AM4K1GMwn5B9VVQ1rENr1Ny', 'x-fb-trace-id': 'FZgTGxN20NM', 'x-fb-rev': '1013979803', 'x-fb-debug': 'Mbt76N0VaX00uvmc6BVGaUcvh0VVgUgXL5zIZNnXC9pkj4HlY6NoX4kKYLlrJx5v7wByE8j0pekhUyNjIMR4YA==', date: 'Wed, 05 Jun 2024 05:01:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIzjUcXxpYfsR4jOwenx-FjRrDBJGeLmfzA7Zqhpoh86eNjB6N4i62tnig370ROMg5FkrY7sj0uPj7BYry4"; e_fb_binaryversion="AcKtr7jYNcWkZd3WwZTHMxAosFhXsAAIg1dxptRG72HtILMJDc-we7jI5z9LQuUp1g2f4VbWn1f2PCS9B4s4PdwRUrHHKNZY_WA"; e_fb_httpversion="AcJRtaY34SOAveZszPXUwb37aFsMxTkVHCNkDyfe1wumUa5-dG80oyBiEq4W"; e_fb_responsebytes="AcKtjVl6yxxTPas3uAPxXi9XGP_eYbnjpjC0WGDYlYs3-vAAdZ1WfFsFL-DY"; e_fb_requesttime="AcKMLo-O0qcZ6lJz2NwWauY5fzL2Qu4VZ9QcLmjoU_4TkKSh7FukL7Uxgniwb91wZCGrAQgUUA"; e_fb_requesthandler="AcJ46u3JuGtss1VLCBx875WPLPI-cI5FcooEO8_dfO31iuZUgF34FaOeXyKFctKyxuZaUScOTQ0"; e_fb_hostheader="AcL-ILaFGSIrwbHiJk_eThWOkYgfXRnC4ApCmUMoh0aDb_X5HXy0tKXdJQ2WRhoN7_O7thwN3dTazyfn"; e_fb_requestsequencenumber="AcLmaWKoEV6fVfcIKe74sApJmen9L_9Kro1EvpfG-WEsuNEyYwbRQ3bhRtgA"; e_upip="AcKUhFZXci_Motc-MH4Vy1YqiyYX4Ydom7HczfmiNzG3PYNutM1Isc42LQblRauw9O0caP2LGH-sTkYzvMWxub_LI5nxnSXAhMs"; e_fb_builduser="AcK6lSmok0HiXS8mYFwMJZQ-pl-l-GyVohPa17kAA9uQFQMg7hzM6N0qKV1RXjiU2PE"; e_fb_vipport="AcLxT_Ux9zNbm0BxSi-065rLC8OpukioP6PwpzcoZoyCWi2V36nTEo8SJPs3"; e_clientaddr="AcJ6Z-pvCiCQDy-DazQDMSXU22hVSqTq8-0RHOeo3V3RLJtNarZM3cAcvtKmg2ZN_5tpVuQhqdANBSS2EhMl3M_4ApxKwhoiC9svau9YNjMl9qA"; e_fb_vipaddr="AcJBzCGdP0vFk45GRhkmJ1JrwHILR4BcekTQC_CUIXImwCr5S44_iUhUMiO2_pNoThhSkJK1pYxwMzZfHXgRcOzBLzI8gjGEHg"; e_fb_configversion="AcLYuoAwwBw7quH1ThqdblPdI5nBpdSM0XXDT5IOGHVEGFcitm7D4y6Ze7vXIA", http_request_error; e_proxy="AcJhS1m2vaz4ZhpmAOV6Yw1Putm1sdENUUZmxq0Qcvz7jDrpEzEOKT7xSlR4NTvK4RFXbH8UJGKH8pw"; e_fb_binaryversion="AcKyxtGzeTn645fRUYaI9uVwI2VN5GoN_jIbQufMGObtnAq0LzjgduPSOyX2ICnaWICBgN7DUNCHar3SFJmZCVOfWXNLOpH8DtE"; e_fb_httpversion="AcKI74yQbdrpKdre_GZbIWfnjcFgZeThPOaFsS0js3Ef0TtMGdPFCs1Pbl_m"; e_fb_responsebytes="AcJ_NG1KaLUdgUuJrJWOEewSAp97sXTraBzD-SahahdZRubz-K1dGLRuHolX"; e_fb_requesttime="AcIPsJpzmxaHoWWmdkkG8GV657fbE9ojhHuLelGZq_7v18JfOsIP_MBS2LNqIHhLQ_YbHtVHUw"; e_fb_requesthandler="AcJXLt43uGyujyLAKU7gYo5dwESBMAAT9hZjtEPi_xazsV9FteBnCmjAR6Mv31gt6abkKNOK3PI"; e_fb_hostheader="AcIkg74uUyf9fnj1UWz0TDcJIfsoLseacDK_cwkNUIrS8Kbol76VL9BThwFqgsLIalmNJsTEdt26uLqH"; e_fb_requestsequencenumber="AcKff5vGDqbYQMPzDKqSjWpz85akKROXl1hB8WVK2O0Rrd0CwiLQFyHc_w"; e_upip="AcLCiXGZT8bP1nspF-J5EwIMx-bUOfA5Hs_l3z0dlrwL0wHQ2aMI4xZh9vlrVYe-P3rLD6C4ee9Hmtv3aKKLBPVmi5_te5xWKA"; e_fb_builduser="AcJFabnlikwfdYRMDx2_oIQYVxYshRAvpweUvLF4DisS9UbS9vHB7JolonwKxQp2Yeo"; e_fb_vipport="AcJngmM8Yio7MmYQwDC9Cr_0YQTCg5Q1K-We9g6wiS6nSt_Q0RvcGtcTOYE2"; e_clientaddr="AcKlluPtbC2XW5lX6U_Cf10xBeXp9FyhAmMReNAIb6rR4o7D8JyrKOGVbv_nuqDYwUmOu_kbewxMB62mRQ"; e_fb_vipaddr="AcL-uz8skpVlcsat3RRRg0I42GdDmuMcCgv6BazJDN11USBu9WhA6en6hqsoKz3xIbt5omst2w"; e_fb_configversion="AcLmx52Ceu0v25sshWtje49P8zcTjU4iZWYeICMwDYLamMF89DS9Sgk3AP13kA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=274, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7731211243626734"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/05/2024 05:08:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:09:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:10:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:20:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:21:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 05:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 06:00:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7731211243626734"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5937150, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYdHyZdxrFeruSB5J5NbS7o', 'x-fb-trace-id': 'EpSrEOzgUE8', 'x-fb-rev': '1013984563', 'x-fb-debug': 'px7man2FjEPRrRmomU8rUIYpIA6c52BD6XL6KPm5259iyJKqgwoLonK3lq3mUVjlHxb5cMFyjTReSR+P36GRTQ==', date: 'Wed, 05 Jun 2024 06:01:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIKPnk1-CdALOtNKPBVoLngSAJS5zqIhDgl8iYqo8AebpkFm1yLD_UaEn38cshiazbqtjMzltw5Si9dELM"; e_fb_binaryversion="AcIfszq6jxTJgI6SxCOPLkaDlZWXgsN7QEyTmnbjTryzXwphIKaM45793mCf920F5vOJpxvKzzXWv6quUuI37xPdKEkPo0t_j3g"; e_fb_httpversion="AcKO2R56LFiTEMsqaPdilNEn1XkcjAMUimcf8HQm9gDoj5OC8aHTVARtfxFx"; e_fb_responsebytes="AcIRmN0kiyiQO_ywEWaupNLXLaPzMAblb3TlMC0vTQwEJ96CgZoU9e4KbSBW"; e_fb_requesttime="AcKhFkafsABve7tijQNafEIbq0CPTB08xopE4gaM02knNIfI6n7U2X7z-9XvtB_HoVtHLSa9yQ"; e_fb_requesthandler="AcJM2c49i5LNMrCxK_itvlh3yFM-QTk24TnUHzW2x-cfPB1YWmS9fB223hrQ9nXwnu2YwnyLLVM"; e_fb_hostheader="AcIQdNaBTt8tHXhY4VuET8E9iywhIh9zrkCip03XqLI7ONvKQ0AS9ZHvL8T18COXT6d0HVlz-wQlMH3p"; e_fb_requestsequencenumber="AcJyZYPNjRZjaTpY-EanBRMRQHJqUeUlVy1MTli1x694S1jiU5FZgxkshB2g"; e_upip="AcJorfHBvm9QK7gBR-EFF7NHvnq3C9bvdbJvjQzTyukXHrXnJexVdwU4zAcVTy5MuJVif1xtPy3DPBf10QcaVJr0zMmuDcfU4uc"; e_fb_builduser="AcJcAibTu_iHdO9-wc6GQ-OsLwcf2M8ICGX4mcw1MCpT_XTt0-PQDR54eoEVNgP4F_Q"; e_fb_vipport="AcIk0lRDQb6a91IEMgiCR5_dSwnHYGvKBjGHTY4pbGPiPj1k9yAVN0-UUQBS"; e_clientaddr="AcIgG8EkC_vQxatLuEtWQeoxNR-NtfD1dLFRECT2lnlivXnL5r9BAjluWa9I4CbOva1_27Lx23oOo4vIaWy9hYwA73fBaYWMJKdtDqhQj5xQ61aMZQ"; e_fb_vipaddr="AcKUh_v8xcWoSD2deXpdxKxDdXeq9BdxX3c6_EW_0MtXmdmv-0P089-OVlKrqxdPrYZB5AS0dK1zSIaxFqkxXBqTYrPw_N2zQg"; e_fb_configversion="AcKeGr6SIQCciv0hFp0-OjwYMYSPMfUoN2yPHvcPfz6xqV5orTPC8qhWOY6lGA", http_request_error; e_proxy="AcLsPwZeB_DxL3vTwg8BhDunBwYj-obiyKjw3rGEiCCj-f5OmMykRf2-eKLH6C7FPrxqqETDRRNXi0lE"; e_fb_binaryversion="AcLjDJ4h3LdWYUcFhoF6xbyGNFza8JzPq-bEt6e8RY3CjwjBuwNWq1PMRx3dTj0ENC_Fc6XQlI49uf6bjXYovnyJZ7-VhxHARBk"; e_fb_httpversion="AcJoEWXXX3uSXqCLRTwuuYqzwvgOQgpxU7q1bRhNPYMDwu9nQTflHTgV2DDl"; e_fb_responsebytes="AcKJ80NgVphiek4GS98h_vobLK4_XHS0egPN3w_LXsPD-wWRzqvZa_Hn8Kad"; e_fb_requesttime="AcJ3OrbJmoOhHGge-8aeL9a40ZPEkC-LYi14-dI5_oyrUbYr6-Px4rJqwftrSYPUSu6QV_cGIw"; e_fb_requesthandler="AcJCjVGbjFKGTGiR_N1nM2HG_DzncaZkqDQ5QejicYt1bHce2wkQ0LlebJfFYf0w2hVhBhO_2Ks"; e_fb_hostheader="AcJFsElMS-Um_E86w5hW8W2Iwqz3dC0VMf3vxAi6O6onUYmHQnTD-gHjbv5EZbIfz41l0Q5LTZwJ1vG4"; e_fb_requestsequencenumber="AcKRSCbtQgQq9VuSfxUWDLvO859WtIQcR5PmmsK7C4PThpgCM5ya1nJR3A"; e_upip="AcJ__k6kAuO0OYyoblALDik5HI_mgYlqb6Lv-62a6ra0FZ8vU2emOYsv-8ItQLCUMa1ffr6OxBt0GPJqy6mXipFgZEqha-_xuw"; e_fb_builduser="AcJv_17lhywAIiHDPX3CVOBFpXlJQqWxWwTPXZ_Y36CMC_GQIgy1tSCavJMqF4ja5CE"; e_fb_vipport="AcI7zKr3qpYXlFOL8YaJ4cI-HTpnFPlDJ8cwt_nCISA1_izT1tnh9CA7zp5Z"; e_clientaddr="AcI-0s_qlbBrcTjQT0oOBSxfNE9_m2_WxBunGjpuhHDt4H_xwEDQ2dXGU6x0OreWO0YL8pfbyUthvuhAFQ"; e_fb_vipaddr="AcIln-Ao8tqRgddZ6fMc4rWYgWnnxE3neF9MVOs5ZzQBLdv_GicaRxk6Af4WaZ3elHGnLJoWmA"; e_fb_configversion="AcLTx53Z1teEr4CiZnI8WwcAR3iIqkLHqZKUzhMYCTjIg0n8aQ2B4SHNFcNn-A"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=79, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7731211243626734"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/05/2024 06:00:05: Error on send one message facebookId => 7731211243626734 06/05/2024 06:00:05: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A2_bfslzCh_BKZMaUkF0PI3" } } 06/05/2024 06:00:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7731211243626734"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 5937316, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALacAAv9HMk6czhkHQzHerp', 'x-fb-trace-id': 'FtPUtei56bZ', 'x-fb-rev': '1013984563', 'x-fb-debug': 'ukB3HMuvGl5H3hpWGZRFaxeMll0j+Rwub/iKjoTlPh0mS7dQFlQGCgsX5scqErPinvg3hFHbzG0Cebs2KdSqJw==', date: 'Wed, 05 Jun 2024 06:01:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLcOh3HWbMSyPNC3TZDaRAcdToDOO9K1rlJRYQw-MuhFg0_cZZ-836KIrlTa0iL2W7L7ypZseLY3qs69mU"; e_fb_binaryversion="AcL0REz9pqhXX4FLWNq4IKUz0xPg0CYljBeSDcbTIwD0_Sz7mS-a8v1W5rXtq15G6uOr_SYgEKIQu2GqDiE6fykh9IDZ9ymtbzI"; e_fb_httpversion="AcJ210UcTcf5EYs9wKTUlKqmZoS0FIohayMBIuD3GlFJoKVUdmZPUiaYP1P8"; e_fb_responsebytes="AcIRXKAAN9X_KEIjZvdYTnz72cmZtgzG9GbZeDEYw7-jOJv-fet-MW3gjeCt"; e_fb_requesttime="AcItOwXY5ozwI1Z0nC-xSI4O2sCipmCG5nnUOBDteyscjN8g2NZwyaPGQJFC4tCDUOTGVzSq0w"; e_fb_requesthandler="AcKugZwylMW_H3NNt-0TRbnUlJy1esqZVj4_GLqdlotVwdhBK3WR48fxGLLqT8aTGkGzywMzWcE"; e_fb_hostheader="AcJul4c5MhN3NXpQ_C913PIrnQ-fBYwfY3rGp2mNd_Xos9cTmZOGsIAa_8sLUQLh06zjjm0VTGcXEDFm"; e_fb_requestsequencenumber="AcIewYuwflhTPMAGn7mXRDZGUvTguLQy8j715cfpic8qfpWJ6ZJQ355IVtA"; e_upip="AcKfM-D5YmLQbTSJcWaro18Q0c5MQXzSYEFuRYsIjqFSpDHfBo2gyoNJ5FeOqEGgC5ee93x8UPNzGpzO8wpIBkZ3iQkDP7ah8Q"; e_fb_builduser="AcKlCNUZxqOnJCtWmNY7uDPfoUnGmevetzngGhP5snWOPfqMOU9FdYwVqyQWw-ruUcg"; e_fb_vipport="AcKsraNdId7COKSC0e0-2q2jmBqFmT1bFczn_G2kae-9cJqFy3AGlkyPsrT7"; e_clientaddr="AcI5fOJqJ6Bo7_pLdcsySMhHqbGUCCA9FZr8oetkYrViTnhul9qt_DYGAi_3OqIEU6ZMGbNJvvX0BXLTWV5cY5r2IVdTzqjxcrRc8cKZcDLKiXqv"; e_fb_vipaddr="AcI7frklm2uaRLMl4OTfSj3xeaNjX3XvxXr1KDENSvNRCXOgDx_KIJymT7eZb-x2WUxrEl7TYYa8jt5FvbB8zCnJrszyIhf_9Q"; e_fb_configversion="AcISYtZ8ZzNfN_pCmb50PqGj9ELmBB0Z_O5e8ZAwqJGftSjBNAbUTxDCIjrLBQ", http_request_error; e_proxy="AcLpBC8cs1b0Tp2tnZAFNlI1JzQqGvpeDqNrFr4XAZeonOydhVqwAIlf1sy45w-zK840DfQ-EMa8Emor"; e_fb_binaryversion="AcIeva4mPxsrx_oGce-w-GIcVwN0L6gfeuyElG5uNUJgI5IC7QQ9voo2zahXfb0mDOg3QpOKjdOH5CC7dq7mKZH6g68H85qYDcw"; e_fb_httpversion="AcJRRxxQpl9HzAtelPE-YblYyNAkvmsUBRZIIf5hDughuqgVkHdq_p67fUgw"; e_fb_responsebytes="AcIp7gZfGe1oaopl5RRE3qWBUm7OqgLZgv5HqRn5DZ3-9RPGAKPhaqKTfhhO"; e_fb_requesttime="AcJnjvE6J6uhwbc8c0-6WnEU6hiuL9T9px68ny-aot6RUfxufBEAxsDkJw_-IO1uc3NaG5Z02Q"; e_fb_requesthandler="AcJUmfyTmJEmlyyOMHOKR0xVNv-eOKCttC2rPIV7-1f0GxJE8sfd14oTfxUxt66QOD9f5W_zwxw"; e_fb_hostheader="AcLGQbAwsjxMsFLKdoA9ciVAuAt2aYhqiRwOkJ_wxExk6mkdy3dKs5xq4jyIu2924W2dqRP5mTpZCpkd"; e_fb_requestsequencenumber="AcIM9hz6DdsiQUqO9n9yBnM08CkZX8WVLYmUIMp3GzJRn_JjjomWeivDOA"; e_upip="AcJAIrV1xHpsgR6UGbuyY6AxN_Nu2cnGYz59pePfhjOAvEM_lvMZ9bQpK3OJzPGvPwtl0g7TvnGRsaikztoah8nMocnUWlLikw"; e_fb_builduser="AcJRG4qv9lbZ11_cC1CqdNljz48kOloTH-xqAMXUpMTDpI-6J9JLKyMVf0xYOHaYA4I"; e_fb_vipport="AcIrPcWG28MzcrXVErf-Hgeqq9cVVvAybDR-KvXcNuujl78WH6fkfwi2CeD-"; e_clientaddr="AcIgiQy4UJN8NS7CY3-SiYjoEn_cr8UeHNcRS1ij2sGn_TAfj64ORrrC3f_bn6-Qkd_wWNjY9LkDG9JfYw"; e_fb_vipaddr="AcLGJ1MVtjP9ELKVgnHSv8L4-2fTHYNnlbEX4UH84khaydxm0GHZGfMlGWbazBhMJzypcb8leA"; e_fb_configversion="AcJXv4lDg-YnYCl2S3cli4cV-_RIJxy-AYUCiQqsfoGhb6sYDb-F0G-xSFvE4g"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=79, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7731211243626734"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/05/2024 06:08:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 06:09:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 06:10:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 06:20:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 06:21:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 06:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 07:27:53: Request bot not found: { id: '1591915494408146' } 06/05/2024 11:54:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 11:55:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 11:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 12:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 12:07:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 15:47:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 16:29:45: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/05/2024 16:29:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 16:52:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 17:02:08: Request bot not found: { id: '917983134950234' } 06/05/2024 19:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 19:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 19:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 19:59:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 20:09:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 20:09:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 20:10:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 20:10:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 20:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 20:11:24: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 06/05/2024 20:11:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 21:09:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 21:10:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 21:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/05/2024 21:41:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 21:50:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 22:43:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 22:44:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/05/2024 22:44:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/06/2024 00:53:27: Request bot not found: { id: '1852395741674621' } 06/06/2024 00:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 00:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 00:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 01:02:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/06/2024 01:02:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/06/2024 01:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 01:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 01:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 01:59:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7887578711286792"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6162700, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtHrgkAEH-xqJPW_bBC0uh8', 'x-fb-trace-id': 'GLZDVY0Xqg3', 'x-fb-rev': '1014009467', 'x-fb-debug': 'hVVdf2sgU9TpAvkJcnnXpo3bYKZGwhvOkdoA+/Lvw82X6PGA0mZFDBKWAnfqnTuT3tzK8+WIVSYase1AFML4pQ==', date: 'Thu, 06 Jun 2024 02:00:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKKf0M9nCanBZ9S5YVX2iWmeBwePn6vKVohC2k9hiwdz7Q3YtqarmZFuMzxnIBK48lIsJ6rk31GRZKBdhiM"; e_fb_binaryversion="AcInFCYYUufgBnYfBx-8BdiVsKhkOzh-qaJPTYLyT8y3jinOOaVDBEuf-CJpzyKIQ6tx-XI6bj13G2Rcqu-IhVuYLK8-elY9vwg"; e_fb_httpversion="AcIIefnn_cVEI1VHW9fKJIhQTKn0ra5Q-Nd_HjxqUtwrJLi0ywq-Y40dHpVE"; e_fb_responsebytes="AcLGqunRMiqNdMG6whWhKP1U9ZndBPmnHhA7nSWTPBjKmh7KfM2GJNEwgd_v"; e_fb_requesttime="AcLOpheujuchKGy1rROSkt3cDe3Aeh29AFUAZ2_Shy4DzBOnN8-U34SZX6y8xzpiOFb_IA96UA"; e_fb_requesthandler="AcJWO04WjbDQ1byX0PQd7dGiG7TDFGFB1SAHVX7vymsyvCkf9haqJWVtlKJrPiULVk-7vXiFlp4"; e_fb_hostheader="AcImP4n668BjT8KkLeqclQ5IndQyyO3rJCoeePMDREB4EJNsCyvr9Befvj_imYBt3uv8dTin3T3O_H2J"; e_fb_requestsequencenumber="AcIRZf81RvaTT6WI-pdmUrDyt4Zn7LbOFVt07bbg3wED1me9WMn8d_o-rKQG"; e_upip="AcJslQO450hAIP4TetYAPtiInIUZJSC1Cd12Y5fiXrWaBThpkK5JygIrQ5kxgKCfzu4GgXwREAbuoGlIZLWJXOPpoa2oE7BAqjQ"; e_fb_builduser="AcKE4j8NGZTgYOhMU3KamD84LYmOACZijfqD9PFKtynP_nPD4gXUsPZlRYwi-6Kp-T4"; e_fb_vipport="AcIiZDIfTbU4uCrSIu6wzKp57KliEuAZ6nVhvxuVBfMAgY4NYroCXvfs-zLi"; e_clientaddr="AcKeKiiwDhFYtEv9Kbd5qxX77DSKTT49nb6kjGPkgS5sdouwzfdCLep-lNxJ8oxaQV1vxpqjCgfFvnIhJFaNX01tzdvZBlnu8EE7po6ZfFpQKvjkoA"; e_fb_vipaddr="AcIq1ZQrzQc5eiuaUFhgOCCSWLgqvNia0Qr9Py6-FqqW2olKrJr_Oy01yDY1r5zdTTnrzerzwM1bKnJW5JnQsZT8xW8IY72GWA"; e_fb_configversion="AcLTR-jznW3P8U_xaW4NKVUGF0gnB6qvyiA3HnrxLQQP0VFoUOwW9UyiD5Caow", http_request_error; e_proxy="AcIVqePepvncf_pSnb8C4sJKHqLCDGoe-CWotzHdPa9lxUXnQNgePLOKFjcsYTadsBcovagaqs_HDYE"; e_fb_binaryversion="AcI0QwtvCMIRP8DxnYJ8eLgiaN017819yzUo0Q-3pUEe96oli6rJ6omxlQGWjhmW_85PVkWgg5lMeueWrvEHLeGTEJMLVTetA9Q"; e_fb_httpversion="AcJrSs8nSjSxG34yaBwMwRprEFlDjvPeE_0-mrt3zPs2pM5cf8f03r2ja1J9"; e_fb_responsebytes="AcJFH_teqY3Pvwaxu4kLBZcY7ql_mQ8LoBPhYdiG59wCpNdBnicvbypySq2u"; e_fb_requesttime="AcKX6tYQG6C48h2Fj3Yi-S5O8UPpIqidNhEvwVN9vh50cn0AlxvGHy1_KIXwxHvhwt4wVFTAMQ"; e_fb_requesthandler="AcKRg8heDuB4GBm9DiLySXoBevAQzXsNIMJ3ZgW8uI3yCAlEQI1569vYpkJBT2Eba5x5A0l3zGY"; e_fb_hostheader="AcLOIQEgOzABDDzolrXAKxyeokUDZRszcqexi98rifuu3vevUUpgMAcbj7Z3Nlpaz4Lr9x-Xsg3w9u3j"; e_fb_requestsequencenumber="AcLlfYJNAgMc_Rojwt4xcj49Jq06YqHnkNEKd8tRzWXuCCrqYHIZlV42Aw"; e_upip="AcKeKtoSZ0KNV-dhdkWnV141MatwVIzwHnl0zUaCRCoru-u6IS1e9LKpaly7SbQ8p2AO6quhi5PFdltB2FSpxu2HOzFucGp6CQ"; e_fb_builduser="AcLT9oaqfAZnyhPx2j3HLXobTp83CsUq4lcTdMRfAj49DrDqrUMgQ7xTqZrv3PCzTUQ"; e_fb_vipport="AcLxVoSnM1gr11Oue1e8EnDujb-wiyzXSGSK3TScg4mrpC-PI485ooA6qJKa"; e_clientaddr="AcKZejzGOgdsNU2f9yWIRdT_EIFkgcu3X_ZbIDP0UVcWT_ehE6LJhv5btHEDP84okFOtpcE0z58G1WxP5A"; e_fb_vipaddr="AcIGqgiRzkRb3ZN54Uoqk8SAJPtgsGVQnywDziivTv2TUH4s9FJ_hjjz6A3R08-nK82bl7c"; e_fb_configversion="AcKxQohcUi8KBGhUqMtV04zWa0H5EIh3kQDqAu2ZRHm6AlAJBCQzomMYOHlGuA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=180, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7887578711286792"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/06/2024 01:59:04: Error on send one message facebookId => 7887578711286792 06/06/2024 01:59:04: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AFQKlYqeDMElBdvTMpJ0CQ2" } } 06/06/2024 01:59:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7887578711286792"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6162871, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJY5bDs0ZVobHSiNJ43_vw5', 'x-fb-trace-id': 'HOAzZAFgiWS', 'x-fb-rev': '1014009467', 'x-fb-debug': 'Ugt5Z7zoUrOeNbKU0EpIpCbVEApFCe7wt14b+f4ZRYrFJ+033FYE43mvynsfc6y/yUKGXkZVY2CwCp0nLzx7iQ==', date: 'Thu, 06 Jun 2024 02:00:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLA0ERdAfBB84jWn63OUMDZTjZ3qf4LpLCxqQKEnXPF1MSRlTNQbUq0-YauCvUsh38Kf_CP7RRhX0BfTwaE"; e_fb_binaryversion="AcIrcfH6bVRMS8p9vHf1KWr4L-f_tU0mvodR06TIKICgfbuwTqSdi4-v-kYA8QsJFeLWFH2jqXWSq5A7KlQYyEcWr4Yl5qCCbXg"; e_fb_httpversion="AcJ4Pv2krg66ELbCrSH201yI1VgvvqZELEqkmo9BAvgNCGji9oAqQjePXWLK"; e_fb_responsebytes="AcInOlBWogKjEMGLNKIAieCA5vs4jLcaNGYC9IIv-sMD2XVG8mCMTsL6uvF3"; e_fb_requesttime="AcJgNI4eBjnm1P6ZtDMWyLw2LvJ4U2NhWXrj7z2vdVzMsHoeOM67fdlC4YzqQFXei8HjUkbSlQ"; e_fb_requesthandler="AcJl7Bz1Kn8ERVm6zpR_H5KUxoahAukxfa26HcZf8Z8Xq5Bn4lm8qrQzldntl76rZXTd3a13OaQ"; e_fb_hostheader="AcL8ooCrzw6uRF05SB3nUuul5gE26WA-Fmjlw1f5C1Eu8KWpRhPxRLNRW25V-hb_Sie_ZPiOQq8GGJSE"; e_fb_requestsequencenumber="AcJZeNgMqLN2y__DeR7Al9Eptxmn78lINzOUz22vViTctCaO237MuMKWDR5Z"; e_upip="AcIRFBTKfhVBnUPf5dZrissy3PUD1xTK44GWTFOjmTb-4Gq30IZtrMpff1z6R61vJAOyjMLHX4RypoNIRPJ2xS1orjKvu8lehCs"; e_fb_builduser="AcJVOHaV1PRYSEsDRijUgELJ-F4fbg64DVRMldJFili5SduUBPZjh38gRgdDN3PaQwU"; e_fb_vipport="AcIZbZSqxRKTY_eQ_fBX4twVSulj1-FfO6vUeUrAnQ5TJrAsPbfuIlZ1dSsT"; e_clientaddr="AcIDXPFHdnWIcMjoy7IqxCTm-qpU5zpTz1lLS4ziGb9OvQDhL2OYkhCa8D59oAO6i3DdyUoKxTnLFqjksz8YsSGuQ3FNwzC7W46FGNRy4GHITf4Ngg"; e_fb_vipaddr="AcJ3CXgC5rBuR1uEWF-KjgAwWHJJRmMmR_qdP6Mdb0-W6GUnmms6dSe-oqRhjttojVuw_M_Le6i2iSE6cV1HdYE7SEK2xXJ4AQ"; e_fb_configversion="AcL4qiX6AB2zV-STjVHLuheXjBLhkelAVYVhvD4IAubHmStDoFvkLlleclOCWw", http_request_error; e_proxy="AcIiVVLu0gHWaeCW4IqbUWPp5Jk1eRkdjRPczr1ERR9XTl0xOV_H23XPB8tpLB5cANUuPZZ5g9YSoXs"; e_fb_binaryversion="AcK90EYNqj_ob0udvs8YmGBXNyo5Goy6vlvG--PEhkpTL5OqDiscCCtZrvxjm5iQ3RHLvMA3FluLbTYdkyfLPZj1VZNq-0WJW68"; e_fb_httpversion="AcI60cCdmiC_aNZqDWphQO7T9DCdShQKI2QMNxVVckZtySZ8TrXD84ywqs9L"; e_fb_responsebytes="AcIQeGqFjweuYkyKC-zezu7kN0jntSf1Y0Ngfb1QFoUNgXywgLQIHQ9EW5dF"; e_fb_requesttime="AcIiFKI7S_E7OrCsAuPDVEIbQLwcFheO-FIC3MfxWj7o387wREKAUfd4UiJWw8nCnflptv7tsQ"; e_fb_requesthandler="AcKe3cUluXUu9x7R3_-uKJwq_MSqv5YbIlz0ohhku2sRfDmJjhXnWB0KIZ727J4WoinstU8yhT8"; e_fb_hostheader="AcK8ewe4FE6sLVJQWTiW0g7t46K1VNwb_Lo_mzdkA94EFhY1kD9NPb68KHnwLAsLg79cQsobSlThhvES"; e_fb_requestsequencenumber="AcLbKQdrZXMOW067brAbt9jOjr9qGm9ogYXGwuERaXjKvx-bqF7Y9YoNwA"; e_upip="AcKSps5zhFX-UovHIwcC_JOEVX8dkk0OLVffNK5jmGOQVRwSZcEWaJTDjtmkZ8YA5bz36OGqwbJpDnlnz8VYQMOaez0zqLgQXg"; e_fb_builduser="AcLDkKbW0J_h1qIqJeiD6dJR3IB6oWDOgmd4Lv7uuNiRlKcKrYIbj8UogmR8uYcCBVs"; e_fb_vipport="AcLHpxE5OhFnI-kc0SEjKRSbG3LIYBlELL0tsYVWwSOvnZyGEYZ34KLUX1oh"; e_clientaddr="AcLEfSoCBEZB2fjoVi9yYeqLtqo14Jq_GKYo5HzOt2M52oiaJImFqbBotq_KsPmWlkqjVp-F0LnBgsPZMQ"; e_fb_vipaddr="AcIlLmhcrGL6VS4JHHR-DjWO0ivmkrf8l8OhoOir1WUSyHa4ivbXaQSGn3E1uOEMxYGQ3ug"; e_fb_configversion="AcKTvOJ4016Per-LC_A8KRcwbWbVUSuTvFbTxuK-m60AJTfStrJj2400gb6xKA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7887578711286792"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/06/2024 02:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 02:27:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 02:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 02:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 02:59:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/06/2024 02:59:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/06/2024 02:59:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/06/2024 03:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 03:00:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/06/2024 03:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 03:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 03:27:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 03:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 03:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 04:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 04:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/06/2024 04:02:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7687477198010165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6190985, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZRin_bDP9GK2KtdCQP2cif', 'x-fb-trace-id': 'EvrXyYg8hUW', 'x-fb-rev': '1014014368', 'x-fb-debug': 'eS+l0Zhba4hUSSDc+Rb5WYtig+UqMNJ/kp9lgov6GmWWHAu+9F/OB42zySjyqQXSJJhsDzOzOWV+/O2xUHgXLw==', date: 'Thu, 06 Jun 2024 04:03:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKvI_CI0ytMDTtW9sDi9hDR_7XFEN7v3vOV86fDduAabsVlXy0gFpV6fXgWH3D3SkyyLyCImNnjs_l0XmgN"; e_fb_binaryversion="AcLjJHcbvEvDOHI-RVvP6trr4GqAmkAXHIVMU9iwswS_tfYm-J4ns6Syf5_pjzxq6yqU82YxOwdhFLKS4474ppcwngvU6X-aGR8"; e_fb_httpversion="AcJ2qr53j_xmnqPMy7PUfyzofmmqSpG0eK18jXyvtKm7blkmdr_o75XxkLW9"; e_fb_responsebytes="AcL2ZKTt6VY77pj4dVOSMEptpVPrh3P5R6Utuae9kqOncSnVyOARJ8BFRRP5"; e_fb_requesttime="AcJmsda1NWwtNcYncFM4hD-f15OqgVtCIl0o2DzOoNk7esg1_6wDXwmhzXeBdsTcNuC-YHy2uQ"; e_fb_requesthandler="AcI97Bb191tRbLMyPppDs9Urhq_ObsT9KejpEDxMEopfvTBZo5UG1Os8Lzyfrb4t5Kqbfcjk1D8"; e_fb_hostheader="AcKyLqrPm1Nn_XQP1Tp69yOAT6Xh7iIqiLeT4vrt8ahamLIOyZPQ-rG6evwRApthIUaGpH2kC0D-k9p2"; e_fb_requestsequencenumber="AcIAFzQm-vSKnp1FSI1756cVXuYvt66xaVBVC2X6_D0nqrzaGHgwe6pCIg8BNA"; e_upip="AcIf1jzKU4aXpGrJOfSbfGH-nA3DXlYsBsl-8yxVekorgC1mXN-WazofQaJadvf_EwuMwRtVN4zlbClwg47TLoEs1qNfMsYbkg"; e_fb_builduser="AcKa9tuzBiGBWyg_3LRqMiLj-4p4I6NDDMoAsl6MnEor7Me0W2NboIjwi2jC0UOfiBk"; e_fb_vipport="AcITpHLHs-oJXWO2WDZEQbtexumqYIbFtdnbleRpSTiKFgRqCXAmv96Kfirb"; e_clientaddr="AcJAGiJtlIw5clGsy9_3FaCf5YtgZLe9hI0brBkadihh_SK2EnLcbrXRgZLAWdLLYxxuIXBy4sE-1ZoZ5Bi9SJQncGeruhgYgtE04XamleSC5eN7vA"; e_fb_vipaddr="AcIBL32vcUfTfOwN-wEsYlrqCLrEI_xXJXEfe-FRGWZC7OjDo0Xou0GyknDjKg_5Ou3bQysbaFDXaVmNjRYgkqhtzcX2Ty1iuA"; e_fb_configversion="AcIEdu2XX3PvnJyBGvfQWrF3eoZsCxaaOixndZLNlEtkNjPG446F13W9-F000A", http_request_error; e_proxy="AcL-ZbLciysSu_xuKKbcvDrHsKNawjTZAg1ftZAfKGnmrs6Xh791uIo1zhAVaIh2yHmfgQl4RKBB_eI"; e_fb_binaryversion="AcI_6qtrUpkctEjZYELiqC-0DNtrtxtBjPpodR0-EO_aDpnQVaN8un48tp-IrW0jOycKtBrjJVOvNyTZ6LGjQNpwo-uitmCmA6w"; e_fb_httpversion="AcIZTOa_lH3oO0idDQvI-YG7RINlEmiUpBDsjIGm4DdRjkPDJ9nshXPSNzt1"; e_fb_responsebytes="AcI0LR4om2u_2CoHQhGvrtMFSeID26VtAJou9FelmEzYoN7k3azxvp1yEmzG"; e_fb_requesttime="AcKZsqyMta32tQSX2ez3sDfIMLwf0zUgcN5X9bv40ehZiXziL7DH2KbudRBO2HI9xnpKUqTpkg"; e_fb_requesthandler="AcJ1zvk0NjR3PHFApySGaeas42suLlL2BUxAq2I3fKVH9Ktl1KgbWW_zYojTyLi5etEwcbyS2B8"; e_fb_hostheader="AcKUib-P-R7COVKA3IfcN_Tk91XLyTt8uc6x-MZSXWHMVyJDdd-KMe8Ltbtqgr7P4GEJgAe8jNxZMwGS"; e_fb_requestsequencenumber="AcLA1ZraB98yAGRrk4h1l1_aCQmdRMrfNkAsvURQBpllC0ouGTNHxjaOKg"; e_upip="AcIsC_wDVybYuN-QseAZ0eeSULKRArwe8rsfjIhI0naYIlXI8hU0q6sczB-8QP0xd-UlWjCHDReRx2X64TDegmBZzA7ACzIsVg"; e_fb_builduser="AcJN4Nn4mI5Dh8MefU2Wkj1mNwguEr6y4YUdB6PfnjzybYoPmqcKieNpNDI5P4VRrgU"; e_fb_vipport="AcLtK7xEQ7bzz3MIxBZ94J5tOf8ZLQb3QVgbqn2pwewzxOQJBskyicCMwxpM"; e_clientaddr="AcITO8a466EDlmUps2-fwkZL9NzzaR0kYHxgaLK0ttYZCHnn-dOroGcj__6cqWzeDsqQgOwDW1-RvHdEfw"; e_fb_vipaddr="AcLjy2IIOSSFxImymdDsiDcQq2aFSj9wstq0KpeTPDNqE9ZQyQxdUlwXpwEVXGSBqF-3DU8"; e_fb_configversion="AcIs7qMvroSuTpx5wlECcxmNIv_eYomM_qbYs3nHQEMy-3s26XJWHTtvuhx5IQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=31, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=178, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7687477198010165"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/06/2024 04:02:04: Error on send one message facebookId => 7687477198010165 06/06/2024 04:02:04: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A40-puwqDR_N_JMAcIj1CqP" } } 06/06/2024 04:02:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7687477198010165"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6191156, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'APynG5h8LPG9MX3X99JxY70', 'x-fb-trace-id': 'HIpLX3bOp4H', 'x-fb-rev': '1014014368', 'x-fb-debug': 'VrG+5Ri8130ELQse2EVHBK5tojUjaABN58dhkIRIEwqYLatjR1dba3a6efNaH96w5+mE/qlfSRs8FBSjyeJUUg==', date: 'Thu, 06 Jun 2024 04:03:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIF7XIJHhJ_njbfwzIPlXKuJhTnVv2K_lbJ6rOAj1LjGtQsKMt3Tx8NkXDM0z-YebIoTU5RVNbVFf5grCNl"; e_fb_binaryversion="AcKiVaeiBIQsJxrhLVs1l3TmtLsy4zG2WVURzFlDALxoGBGAauj3ZWp7Q51uhmBVtsgQ0ia3J3g2ROLsZRnrS_6GSV-qOXdsdX4"; e_fb_httpversion="AcJ3qZLs0aQd08cH9Cxryl4NYsOBods1Vj_ecSHr8aZyWthkZ1UFj9yl9jcP"; e_fb_responsebytes="AcK1nafBIHI5um_mYpaM_3-T-JTPYCfdrU2YBi9iVEEizTPwU0KR6b8Hvp5U"; e_fb_requesttime="AcJ_g0KtypF4mH1JkNRKDqrWCeR9YbCyYbSNxJacQKgNl1SmIxNkkxyYr-WQEq2wKwyTVW3Yxg"; e_fb_requesthandler="AcJOPzieIf3Jt_VSKc4XsfxGBaAv8gr5gC0aKa63Bv2e17tSogio3AUGXaQFR9zkKXjPk71FvAQ"; e_fb_hostheader="AcIzCTouoUOSJscGleKnp-W9Yo-XhKxP0O8my0jojtLfitPfRSd5Fy0IJNNNTswjz6G9GUKlllz3K2G7"; e_fb_requestsequencenumber="AcKtxH6JNpPzJ_yZ7e6tEZfKXpUy5AQnJcbm9jVVosqCv0J01BF71jF2GmhH"; e_upip="AcKvDuDXCZ7u0uFSXT6joOzqIRnRfj09VKe80lz0j5dYVoINI2cX09viFKwh9MuRwPVJYRVcQvG46dIJXpnJfwGI32YpEPRmWUY"; e_fb_builduser="AcJkP_xDtQDzcQJel0h8RJHWGRitn5UqYVA0o-1N4BseZxKBuaBvzRzLYa2Gq6knvxg"; e_fb_vipport="AcKo43iQ90dt3rXaBvZwrLmLuxzPGWeFS2g5BgKsPl7nLyrmQihQc9lK-Lns"; e_clientaddr="AcLlQxwYa006ARj5WNS0i_I7J_rbEqNK_Fu3u4wsKLmlf6rol-z715-yDIq184s_eJmCwHRdpUtIi7n-aPiLnK0Jk-5dqLDY44qiD9SsbUtkdFXCHg"; e_fb_vipaddr="AcLMOxdZl6gm25FgI5ZpOLR1xpNX_Ilk8M_wwhqZomqAz23YIWhyZSogej59bpM4jZ7vMoQJTCCQLX8xM4gyR7bxATtciiv85Q"; e_fb_configversion="AcKWv98qTPyqHZSYdsIXjA29XH7D1qxqlLlbWBzCnfVIxaDu6aHwYBkyiEbtdQ", http_request_error; e_proxy="AcL3RfrMMyjUu88pk2WUqf3RkUkNLOu1vZULnaxWv5e12-NjCuICPqCQJU5hzmke5v87e4Y41JC4Ewk"; e_fb_binaryversion="AcLMzd9dc1brsah83OhjpQ-k3o8D3AoLjmYTFvGkD-P9QH9ZloLd9ZAs0rRG1yLjcauI33L7XgLCCLEQ8Qqq-sijN4yeGXynV9M"; e_fb_httpversion="AcKVKRkKDtyrL9kGvvaFTJaS1yNO7mQvHCXu7BbNEJf2e2f0MkU_b7Au_mjJ"; e_fb_responsebytes="AcIilh-70A2tkFLeMLEFsdZ0dD4iwYtPjgUNCRVQ3eedCF9vJIVqveiEpGUo"; e_fb_requesttime="AcIkLnwvK8FiBMhrZhWj-5fn_NmYkJohcAg49taM-_YX7LMsx2zDpc9pbGPeaF2I5rB8s6g77g"; e_fb_requesthandler="AcJZI7G4NkQ1D5fx8lLrVdVK39suKX8heE1o557bQl_JRVNh6buyy_dxTd3MUgY5JHxzzsaJYtc"; e_fb_hostheader="AcI5VtpKwa_CgXSf2iy0vaPUI6mkLHoNPEnxuz2MUGYIe3FijY49Ocgkeb4JriBQbcROHUkOCCM7YADT"; e_fb_requestsequencenumber="AcKOMFFRByvDhfxVguNPwd2UmzoWGBwXhfEWPGGy7tuHzkpXi7la0f77hA"; e_upip="AcJRjgCuHKKmCDa6ALnC_-ZcjFbyxrVr5GFn1JB2zvxuk1ZwgFUHKyhlP4wZeOTlWsL4EyDn4iEDQtVhKFPU6yBDajIKuPgD1Q"; e_fb_builduser="AcJ5WGClAOuRSY07ZWWpVNozwmi9ADOs-mrnbMHVl3QCwodVPTkVuybuwLdXg1nR8UA"; e_fb_vipport="AcKr13WB0CFJs1uBZ9TR8db08ZsXp6XoELNwVKVLeXd2GITKBoLXgWv5l746"; e_clientaddr="AcKXD5IZ_woqFYY0s_brqtt3t6Q2D2HvYDeX90uhqu1Qfipl4BQKe2M2OIPaq-hPkMeEZR1u7dAI5qu6Bw"; e_fb_vipaddr="AcKZgSirH0feoMXyEEYw6S3bja0bJPI55bre8hPhJbdItB4qj8vh7m2BJsjpL-4FZOssy8A"; e_fb_configversion="AcLuu-aloa94aj6gU2ndQrJM1f60kPXx6I2Du9uEtd9r9wujtr7r_gXcp8gGAw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=179, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7687477198010165"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/06/2024 21:42:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/06/2024 23:54:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 13:22:07: Request bot not found: { id: '215725838493727' } 06/07/2024 15:36:44: Request bot not found: { id: '215725838493727' } 06/07/2024 17:56:34: Request bot not found: { id: '694982824005611' } 06/07/2024 17:56:47: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/6638701849482975?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6580494, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /6638701849482975?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6638701849482975?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/6638701849482975?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/6638701849482975?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A27Dw8lEVPJV0pGydMRyS1I', 'x-fb-trace-id': 'Bb/LHEqUYnF', 'x-fb-rev': '1014054562', 'x-fb-debug': 's3IEYkt58VdE7vww3Y3p08hXQOmNmMC/YLJb38BUC654/gWeFXxi1gC8CAT9+NjnTMTPJU+5gGnJTGHTFvPSeg==', date: 'Fri, 07 Jun 2024 17:57:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcK_28q9NQdPLm4kudsO9jJbAttUiORLblMBa-pmD6lm1F0TCQHEPMD5z1lGZQ22HWPdpQr0FwJgIGvLLj15"; e_fb_binaryversion="AcLRDH8y_tOpX77h2tBCAWalJlwI-gd1R-BOc4km2X2XVjOS60IpiJvQEmz8URdCsAL4NccWpf3jDD7T5yO3ekxhofo5dw7NP_E"; e_fb_httpversion="AcINThZRQTutGyurT1QRRvoxH13EzSCxLBTUPXwMiEBMFU2jwLeWyvCKwFnJ"; e_fb_responsebytes="AcKjQi9FVlaRDrl4vT05ahXodIkdHgGU502hOueBQL9dmMfmSSOdNx6KYgfO"; e_fb_requesttime="AcKgXGf8thLralFVBJiQsii6Y849WenBlXa7OSqWmTpCVHZNy-R_qSLHbLg8jy3OHs7ZKWEhqQ"; e_fb_requesthandler="AcJqW_BLRCGBVHf8jP8t1fr_kKC-tlz4ZVymixgn1tj2rPzSjhQ30V8sQ1ExNLfD2d5mfZNCo48"; e_fb_hostheader="AcL25W72gM-KMHGiOC2lBJRBr-yLk_8m3VnCiGXRhX4eVYzhZNPQbbQixVn_O0avVqcXUs-xPqc7Pgz1"; e_fb_requestsequencenumber="AcKeLUYLr76DqsSuAy8qFShILflrfF8TOgxRvEWlIkhKpTwt8dUV_q0R8uX2yQ"; e_upip="AcK5ePztXbGWm7GYX_aWb1W8cB6db_rfbrqfa_6RjTG2vRT9rp7CKalSK4fpJ12MYi1fgUJ7N3Ch-BQo9yj5GrBNc61lGrghcA"; e_fb_builduser="AcKoKu4Nb1L1yIjuSgnFkOVjcAstAN1MObvzfvjXyJJ4j9fDv4zmfjItWoKKHQilFrM"; e_fb_vipport="AcJIGp3uiAtv6XsDGyh9b611rOoiajk2IF8Koi4XJo8i9saZqdtJy2mIfQRe"; e_clientaddr="AcJvLHvknCG3551_PESE0ixz9E38ItveXOWATSDHFKep3avjRnKn1kk7BrG3IIV6XrHIXSVyzCjx7MxppakRQq_kZnKYhIv_Go-1ecSA-d5P4TZB"; e_fb_vipaddr="AcLGflA7XDqPueemzEnXE-W8tmos3Quq4cavXoEAHfvpSEWumoFSfF4B6e_7N0PoDJG8rcRGpGpAmhhvyeFjp4AiVBFvqs7HJQ"; e_fb_configversion="AcKA5kyCDDg2FPdxZyPmyGs64-gKhV1r6dGxG8yaZVeQMul8xt3iaRjbjy-Cuw", http_request_error; e_fb_configversion="AcJE8jAp9j9QSNNKVQfYtQdJzI4RHmDcQrfOeN14gqPApm9hL6mNnlrZSgNJMlznR_I5wjNqcn5aIwLqLkN1gho-AHpV3fbNtk0"; e_clientaddr="AcK_l8sAxrvD98zMT2b6fZ4L6cT5jp1ZRJBHsk1Cj544oSOnD3bh4v5Rrny1_yMqwfysjjNqCW4DmFgiew"; e_fb_vipport="AcKjU5szuSUKNGLC2oy9mOKVLEt0MUimyXTnhY3gBa3QAjxNHPMnvms7v1QH"; e_upip="AcLrt4xMii-iSuhfgK5O9eIyomnY79C3yBrooUg6unO9Y-cqKBaMFgn8LrveZJEUx4mEdoc-MLVycoWbKQ1qft4Q8B42GD72pw"; e_fb_requestsequencenumber="AcIRCKtL9JJydSfS5ZAuIeLjHDukZJt42EygXzEahzu8H_CYhOt6JXwbDQ"; e_fb_hostheader="AcJWFIxXDoL8I3SkYUorHyFc548UbvHKgVV3_wrYpGEBY3efzTY6Ts-gYagByjqbkRCSJZuofFRZdNGC"; e_fb_vipaddr="AcIAjAcAuESgK528xs_lTKbcXYsoMp6KgLSUrKfw9U3Yx8V8Ss5AnzX8xZwfT04MJCWYH2ngug"; e_fb_requesthandler="AcLx2NwtHCBKdeZRt7j9p9-x2s3JWyjp7QpsQFuhwgkSVJaUNIDa4EB4LsG6mVfJQ5tLLG_B6_g"; e_fb_requesttime="AcLfFsZv-QaY2Jg7mh9Ey88q5RivKOLmegW_G85w6VcD_SGJAPhuj2KVdiQInZCLBCYmVAloaA"; e_fb_builduser="AcKJej3b4PwYcdYl-002gqxHo3fRKPj_D_zOXHnkIxAoun94WpbXeqp86MH0zrc_96Y"; e_fb_httpversion="AcKjg5PFvq3XLyIjvalFL7--cdpoxZKe2nnkm9QGlk6O_ceGP9Sx2gubLVji"; e_fb_binaryversion="AcJCe2f1kTh2UjoktWiOf3qfQzzgW2BqL0_E3sXJlo08s75gYf11JOEbfpUz5RAjxmb-b5VzyxYMFifDR_WrH5sqMoDmhfnl9qw"; e_proxy="AcKwImnHqTUSCtZwVXI4bDzV9gVo8r4qJsRHU4cL6borBAnAX9H_BOuGIrNGKjg2xzAX24k798FPB8s"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=336, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/6638701849482975?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /6638701849482975?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/6638701849482975?fields=name&access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/07/2024 17:56:47: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 06/07/2024 17:56:47: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 06/07/2024 17:56:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6638701849482975"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6580585, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Apm9WTUW2UobfjR08C0FPto', 'x-fb-trace-id': 'H686DLU0Ei5', 'x-fb-rev': '1014054562', 'x-fb-debug': 'asXT+MfW/r8o7eRb0VQMzXKhe+ZEeu6xsDsG9l03PcQ+ef5I48uVjBpga0+JZIx8N4EQ3z8Nl1rtTtOMV3uvqA==', date: 'Fri, 07 Jun 2024 17:57:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKmYY0KlFFR5Of-e-LDl9f4fxqtuGnqmECYBicvVyrxXnMAczWhHekJG1-bwSL2APN-pygWt6LMLaWyV2LX"; e_fb_binaryversion="AcJOURQJtVDybdwFU-nIbQ_yvrDvx4gRb98S7e8_OpO6MZiBxYXNOmFGDaLogysmDLWribeK3u1ek8M2Na02lAYmZ8RbnjNTp70"; e_fb_httpversion="AcIqGMPOJO4Z7aFykFlzhvgUzjLq50oFwufA1nGftXhCMn0cYHN4Fik_mQcO"; e_fb_responsebytes="AcLtRQH4GF15alk2VVfLIaPaBhehTqqjEA0wMW4OyCBcRah6D6F1J76zB9rS"; e_fb_requesttime="AcJjKsefD-jz95u3Z5tlMCp5Xz0QHepqcNWvsKTA5dcFozRG2vxH2xdyTbMV1WPzvRCrQ8PYPw"; e_fb_requesthandler="AcIMZ3v8haoC2_G_xpKz7mVW-9aePMWWVPXBDAUGfGTyorNACiiQitipn_wVVbtu8B5cTnCcgwI"; e_fb_hostheader="AcLWn6H4_eBHTonZ_rmwqGRc440L32vrMTHxZzq_x7XlIwOvsEJOg-dgDS_EA4CJ22RayuqKfo5gpiTk"; e_fb_requestsequencenumber="AcKi55zeo8j963YaOwSIclbUc9BmkgIdFKFepZL0G9zmgfWkAA5xF7eKCoUTwQ"; e_upip="AcKicF8MT2uekX1xcHURPhyqewz9-7Y18o_WeYbfkS5wtu8VMYnzzNUX-_rPgA-ACtOa-JzshBvTEcAFa7QPZWmQMHIZ1zFEsqg"; e_fb_builduser="AcJ01dtyXU32ZJl-37ho5M4AeU3V1prXjTceNA8NbprKk0LQYSahYX79Y8-biH1UgTQ"; e_fb_vipport="AcLuyhqaDyr6R6fYPYiKvmAY2GkQnM1KyL6nV9XqIPdaYXnux1d3AvxT5Qkw"; e_clientaddr="AcJc4ZMEyHdGx_-aTd2JAByWSalFjpYMu78vUOUIK35eeai0NE7ZV2r0ItI54UctJccHECmQMlstBknSnsG4uVHOQkZgy_Y_qkpzK58sK4ak41Jg7A"; e_fb_vipaddr="AcLZeshL76h1upFlau0LjNhnIzyFP_IaUW9dsFnGNOA301G3pak7eISozn3Pez5CQIKIK9RSvotVzRvIfO2X1m8Hb4jdAuhWIQ"; e_fb_configversion="AcI53GjR-cwAVrjRWljfr5hxGmujnU3AdtoHdQeVoU4CjyUIhrGeKTTr3c3bcw", http_request_error; e_fb_configversion="AcJa2SvCyusiLZyZIosw40fPZFet5eTaHWsEzIC2lEh2TWzDhC9z_5es4z3Flw"; e_clientaddr="AcK-z2VFhm1WBQMY-rL7mk1ZWkOKuZdMljdkK559tL7qW-CRikF6_Zv-yJBhawS8alCSuJyf7LbFIWBXtA"; e_fb_vipport="AcIf6kq57yIcv4xbfovoMDrtQBN5_kbZ9D8fOf1Bw_5EpevancZEprfEIxMg"; e_upip="AcLbjiKriJEuCMt3Knva0sEKb5soiooVIGTWE0b5iyUOg1u9N1Mjbe1klH5pq6__eL-vGuO1xc8RsfRm_2dy_0GVw6qpt9tyzg"; e_fb_requestsequencenumber="AcJgiy6SZsGFVrEqvo9p3B_9sMy4ItMIvydF1Ew8FQ-j3DwVAGI85NZ2jg"; e_fb_hostheader="AcJTh-z5BHXDdvDcPPJiA1vHhzEH87l0IXyzS3B6C0g3LWotPoXK2ka7yxpANB_KkrSqcWSVNzxqAbSa"; e_fb_vipaddr="AcIbpr5eL1BAumYV9OCTWYboi_8xxt7CogtutgCo6OJPpILXEahRGdsLmEEUPlCnu0l68Ah9uw"; e_fb_requesthandler="AcIN_S4TvGor1b9ZI-Gl0hLnBLGmfryRu6ftm6d58CBlTQNooLPpQ_TfA-A3_EkfIuIlUs35vjM"; e_fb_requesttime="AcLVaa56GpZVpyRijTMMtx7cYsLjO30m_mwbgEsK1ie_tdH_9lhRLPQm7klSAvL1RsaltSiBrA"; e_fb_builduser="AcLsB9cMPMEtog0g9pe7fTqXXFgd-D1feRg9IlHLoJCnHBSTffBQH7nrplfgjq-2y9M"; e_fb_httpversion="AcLeyXJPTCA_1s-q2R26YSnLZqLF1z4kT2OS7hHlK5TDlPnZN27iVcM6ymVw"; e_fb_binaryversion="AcLSGECmoIRxerQ0Qs_L_voCy7idtdHVPblNs4XVD1uSrViWuBBVCYUHPQvfnnUZvhi86XQnsMcnD2gVBr_JUd0szBvmVt5hkGE"; e_proxy="AcJ7xBqmEctXuT0v2IAlPmiVsI5EDliDCSEQ6eLYP48610bZJahjk363oiunlGxCK8JOz7fHdMUSxHY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=118, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6638701849482975"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/07/2024 17:56:49: Error on send one message facebookId => 6638701849482975 06/07/2024 17:56:49: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AdcqUFcHvVaV5p2tolLRHrW" } } 06/07/2024 17:56:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6638701849482975"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6580704, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AB_qvUENSxkq8eCJDy2KDIY', 'x-fb-trace-id': 'EPXalQAKzQl', 'x-fb-rev': '1014054562', 'x-fb-debug': 'HbJRgd3Fw7zbMPw2O+ll/n9BNQe9riBZafKym/L2UyxEZTtNJWmio8sDTWeonpUhGpS3nPiprW9omFk8+B4oSg==', date: 'Fri, 07 Jun 2024 17:57:50 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKPySqMdFHOfAfQJnNooxPO3WTLTnS1QahwiKfgGAHdVTl82x-d0_B_9UzpSmYQKnJefOzPpI4v7jirdAQ"; e_fb_binaryversion="AcKJqtgGv9mQgbLP0WD-IWUSCkJ4GTC935SMPjL-spUrxw9H3bJncCAVcZ6OHhA4nCNSUtlFU1zfIvBAJQX674M0Ro4QsdKtDCs"; e_fb_httpversion="AcJgL3wgVb6gV4YwHBPk-OS6ZRljHbRR_N5BDrWbIrn72A3UXuG3Ny4tIOCO"; e_fb_responsebytes="AcLshK6xH2wa7OMfY1DUKq0bdF9xxU9eHXDNF1SVjUipzMgtftkewYTguf1B"; e_fb_requesttime="AcK5z1rDxlT6cTC7tVST2E09gf_qmodWNYCpE5LjRwwFWz0qvFssh8BRxMhOSXfZ8dkHqkN-2w"; e_fb_requesthandler="AcKyf4152ZIxxgm-owj3QlKv7pOZlzMz2X_vnbz-kudcyZ1y1cvO6m230YzMejj-ediUetbfhyk"; e_fb_hostheader="AcKtXG4__7AJDdszBl_vLUvUZSzI86s6rZSJpxg4ZrSbhsdFTNrn5_h6Sjg7s94gKB39rWsAWf5suf5y"; e_fb_requestsequencenumber="AcKYn-oFhROg__VNBScxJGMfuPkGvAFgCC-IC-boxrsGHGKpsPhguqb7m0HE"; e_upip="AcKlKIgEygXmtqM_JjWXJWpoCFVJBg_hwPyVjTTJlGpS4jN8-TbzW0kkzP60-vi7oh-VPfebLWNV9Bpyw2hBkRAc8IUyMHj7GIc"; e_fb_builduser="AcKygRQDPBPSxehK8oQE9XSMybuw2KN1Pjmd5TJogjTxIVzLDnq2LOHD-tkr2BKY8l8"; e_fb_vipport="AcIvgAZP_BtmiKxG3ubgZfKJJuwhPL0HVPqiuw48VMCpxrky2d4U5Ik32p4v"; e_clientaddr="AcKqCy-xhEp5Q4eFz5inX2W8T8kZDoibdmimX26YP1JCpnFKUBksQ8gHBNJdg7ua-qWVdKM1_10IEZRWBmw4pAFMDiRD2piqfVse_1MHhastLufPYg"; e_fb_vipaddr="AcKIksm80JNCAdnYdYKTIMRDf6mcnJBmgyOHqew-4m8ypbmBSII9mSaqaIW-Pnh1rIShrTYUJYE2mpBxKCY1v2zXniS2DMxJ_g"; e_fb_configversion="AcKPv-uodx-r-UL-5LZ49cFYt9f4mYSm3DaZuz7JREhZO54Jhjf0cBsvCPnPwQ", http_request_error; e_fb_configversion="AcJCACb4xqBKTo03xzXoE5kQ4l9bn93NkMoJQIXs8fvetfG9QPvjzVd1dA0vpg"; e_clientaddr="AcJ1P7NpBzuvYoPu8aJcqC0FkconZ2dRXnDa0LZz9Ys2G21kpV8-aDs75ZsUA8GOD7lxW31jIHIn2PMsRQ"; e_fb_vipport="AcLg_WqhhvTfwcNO7kinHpTm1ncJJnT2WCbRFzbKH-ssY-Hesu9DmD7IKVvf"; e_upip="AcIUkgTlD9XsnYaOMtdj4Y7aDLSkTkVwXL1hml5TSVjwa8qi1Q8AkGflt4s341vBqBxTLtBCKPdOXplWq5gkCWLwOiilegH55Q"; e_fb_requestsequencenumber="AcKjonmz6v5PTK4jTtJvR66q_eKYXJB-UQ_2R9Mb4SLsbLuouyHa27eyAg"; e_fb_hostheader="AcJJLIfs0P02b9X7AeJvH_OwKyDnn3J5lImUEsqPMb-EO-a_RoLzS627Q3IFcn2r73oZ-ydl4vO_f2TL"; e_fb_vipaddr="AcLvb9g9_sjHjIkEXU6T1PhiuLwAwIAag05RVCSC4o1uKgszk6O15d-ndnwdjLAzxoYENarWmQ"; e_fb_requesthandler="AcKGljI8sJIDGQhbFK9MnK9qCSYdUZEH3G56_icV40zewQ6qSiYODfXJeC-Jov7gg5jN_JfNC_k"; e_fb_requesttime="AcJXXueCEXH0dbW7Jy8JD3kNjoBDctsg4dYKrHA9hiZIbQGyKEKeycjsmGkDxDlAi5e_YzTEPg"; e_fb_builduser="AcIRDy8thWVRfOOPHkJ0V1hqxd2FrxF5KGVQhZ3-1qDioX3hQvEsrGQLpfbke8-SbVY"; e_fb_httpversion="AcJ8WZXoqf98kNJibFcv-X8I7DK6bkDBlJTHYeGlx-Yi3d7pHknM2dfJ6s2s"; e_fb_binaryversion="AcILxErYeFi4y7ktYXG37CE5L4KnmIPspU-Lju54ut5mcKhc5LZz6M5gmyn45lyD2Im6ZtwkL15vp_dyyWoPVuGVpryLa6CW860"; e_proxy="AcKn4XFA0xxp4odwUDW8lhasOI917PVk3YIq9mvxkI6hjaQBjEVtDi7CUK3KGfxb7K5bbBbOKVfQ9Iw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=120, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6638701849482975"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/07/2024 17:56:51: Error on send one message facebookId => 6638701849482975 06/07/2024 17:56:51: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A8QZ9_rP_ONX1dOScexbe60" } } 06/07/2024 17:56:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6638701849482975"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 6580934, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjciD9QAhWm5_DiXf6eLsr-', 'x-fb-trace-id': 'B8K7KyxRDHi', 'x-fb-rev': '1014054562', 'x-fb-debug': 'WpovH6OEkt8iNhSnEDaDlzQ+hnx43ct/tdyeMAeFg6S/dz9r4lmqVR1GRyAHDxo40SqvdosPM7s2IILGT8IiYw==', date: 'Fri, 07 Jun 2024 17:57:53 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKeaXXJbMb-FinbPTrsAIg6yKLvpnSX2MfEtsrFtV3uasuJ8L5f1C6qm_BNnpEDkiToMRxNgNq583EMCDIQ"; e_fb_binaryversion="AcIuVTL1GOzXNaaGJvmNcBQoEffmbhcpJiO-49BPB-Y-DqgfyKgPR8SuWg04mILCL7fCaIy0Z9M4s-PwhNFHxdEnC8St70Qrz_c"; e_fb_httpversion="AcJERQGj7_sghvJm-ImwCQibo1T5-Gf7qgkgQCnXrThnLzPy7D-vgVu_nsBv"; e_fb_responsebytes="AcJfEGHmc6iud7n7RXW0_gsCVWTwnWaXsTOv6nXJPVC-d599QIoTHFEDqb_S"; e_fb_requesttime="AcLqOqjRR6H1di1jwzLsbMv9T7JZ--0k-QxfUsokgNVpN_3JJzel9HmQn6EY4utVZYLqqnHC5w"; e_fb_requesthandler="AcJy-y0PdMSdL18EZ66vG-0mz-WIVbBBE7BYqHb2d5Fh3_i98XoLAOY5Tf6EC1VVjiE0NGzQ0Nc"; e_fb_hostheader="AcLlemb5sv_le9Ngr6CuB3lIqNlR5V3pYQy7CgdIazVCljV-5UECvacIrrJD6kWjTAUkWiyR9Qjs_PcP"; e_fb_requestsequencenumber="AcKWZ52KDZ1R22A1BB3DEQjyumseRAkqqyAzq61KJTTUbiYSx2gFElrtolnH"; e_upip="AcLYWQpBOmF3Uo1YicthYsPupwzBFglig9d0xeH7SN_mFbZLl7AcrSmUDmMQbu4X9JVb5GxDZDckZznWTDebXGjlpRcdqgsRaus"; e_fb_builduser="AcIn8QP1VjrohR7bFGVKDAeE8Cvey65cp3vbgfXUt1tUO8GP53xLCuG2xBP_SYPBX50"; e_fb_vipport="AcIEYR4iQjIZHn0u25YGjZ7a92yRzwPrc-IAIqa25XY_aAKfjOSsbZZHKDrY"; e_clientaddr="AcJdHTFogSEA8RaV4ZygBWmf25t4AdJ-mx06C64pjXkHQj2Pu2oo5m0I6vGNwniuIxFncrt8vDC_t8MRU_546vjgC_oI30UwZ7qoAY1LZYykLUh1aw"; e_fb_vipaddr="AcIBzfYDwIMLa2ZJblm9zSLWohou8HQ031MM2ZPTjb6G4qsmRSQRRAlXGcFyYAxhE_WHC1Did85xxg9UDll9W7qQ1X-591E68A"; e_fb_configversion="AcJCJ65mtRbiYLfHFDW4hr3yfXEjTuQQzKMZ3nRHPrk3-GICHlhv7hA_5ObNITlTDs1L9nKkIrXM2sif-4f9qk9EP3Mf1CMlcAg", http_request_error; e_fb_configversion="AcLs2SmheHyKMtN9IOmCLyt16TVwLc_y4F4HOwOL4dndnbdQuSk1UGO_9tHDbQ"; e_clientaddr="AcJx4yHGRxCm0a6eGicpxOI2oa5pgflKbk0RA754X2jjdXphV9QJgu89oJgKo29_uXsgcmkEdXry1-4NmQ"; e_fb_vipport="AcJEDcDqGwZIEtxQFWJUz2qylh7xk0xju2toT6DYJ_Ba_H-NPO86n3umE42J"; e_upip="AcJGPaBvWxdMppoZiSFY7DImLP2-3hXfmDM0uJMccNfrORATWtvg02x4BxL8rDuNfPAVtgqYFL7u7Xmz2MSIF4HaLWNKO_pqLg"; e_fb_requestsequencenumber="AcIrqKd1JGi6uKQrCtlqGfRpVtJEuukmHTB3q65XZoBOwsl60FSIlpwMMw"; e_fb_hostheader="AcLr9X2kR7xuiOrY8y1tVXOTMj-YdP1GzEc_gf6AEHyog60bwWdZjnLU1ohvH19Ki66DjeIOsWienl5a"; e_fb_vipaddr="AcLxAgOQ9lwyL8w90zLyjdtZRYQRBzW-xGEgHodu4b4EMnXoLU1D7dzH08gWzT17aFYKXeiJ1w"; e_fb_requesthandler="AcLkbL0V-_zONcw-Nkym-CfgIQI5SD77TXBS7aS1zOvCMV2bPH7ZrSVtvQCKtIDMjEWUocGUA0g"; e_fb_requesttime="AcIp1tu4Kcv2dlZ5KCizYopS24-BX7XBQigJVen8UnCMaMVpXJn3HA1inCdppblC-sLPbgNC0w"; e_fb_builduser="AcIePhxe0nw4UZ3g3K2FOcU98vPL20h09mRusj1rejHYA4xNlZ3QkQRrKKTA15211iA"; e_fb_httpversion="AcKO9HCYxG5mO6tAXwI6IJzbg88R3vxweOGRZlUOMpk88YHY3IK4tD53GUgj"; e_fb_binaryversion="AcIfhecdpO8OKauRsFblUqWEO0b1GSWvpjZt1xftguP2iIG1bIVqQILlyZRzb8sJ26q4l2O2Xreq9E8yXEiJ-w0Ghatt-F44UmY"; e_proxy="AcK33e2-5xvzCP0N6te2N5mla_0Aua3qRXDXQqlUK-iasl-Ay8fkUiIRK1ssSojy_jHW6wmLyoA3194"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=124, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', data: '{"recipient":{"id":"6638701849482975"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBO5ZAZCKQsCQVIpahbbMaY0ufSYx8N7X16s0jWAk1DrK4lqfnTn9ClZAG8SKqfoe5ZBa49NcraFZBA2eNfeKIrDuZBeHOCI8JFcM8SocihXjonZAU9F4iI0JdZAX1gVir44XOnFRvoRUpGZATAPK7voVJXCUQpepzFQtNZAtOfEpPZApkOiTkrUQ2J0ZAiZCIWkbyQT60MmIZA7', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/07/2024 17:57:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 6453e28458371e08af2a718c 06/07/2024 17:59:44: Error on send one message facebookId => 7236799926376036 06/07/2024 17:59:44: Response error send one message => { "error": { "message": "(#10) Essa mensagem foi enviada fora do espaço de tempo permitido. Saiba mais sobre a nova política aqui: https://developers.facebook.com/docs/messenger-platform/policy-overview", "type": "OAuthException", "code": 10, "error_subcode": 2018278, "fbtrace_id": "AwYSHSyselci_hey2bZlrFH" } } 06/07/2024 18:03:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/07/2024 18:04:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/07/2024 18:05:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/07/2024 18:06:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/07/2024 18:10:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 18:14:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 18:14:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 18:14:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 18:15:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 18:23:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 18:23:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 18:23:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 18:23:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/07/2024 19:28:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 04:34:08: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/08/2024 04:42:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 04:43:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 04:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 05:42:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 05:43:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 05:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 06:57:47: Error switching inputType 06/08/2024 07:10:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 07:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 07:12:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 08:10:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 08:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 08:12:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 14:34:42: Error switching inputType 06/08/2024 14:34:43: Error switching inputType 06/08/2024 14:34:44: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/08/2024 14:34:45: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/08/2024 14:34:45: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/08/2024 14:34:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 14:34:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 15:11:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 16:04:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 16:05:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 16:06:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 17:04:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 17:05:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 17:06:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 17:13:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/08/2024 18:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 18:48:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 18:49:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 19:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 19:48:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/08/2024 19:49:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/09/2024 02:59:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/09/2024 02:59:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/09/2024 03:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/09/2024 03:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/09/2024 03:59:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/09/2024 04:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 01:58:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/10/2024 02:49:18: Request bot not found: { id: '133788230054854' } 06/10/2024 03:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 03:21:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 03:22:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 03:59:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 04:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 04:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 04:59:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 05:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 05:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 07:36:30: Request bot not found: { id: '1591915494408146' } 06/10/2024 08:52:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/10/2024 09:31:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 09:32:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 09:33:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 10:31:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 10:32:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 10:33:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 12:57:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/10/2024 12:58:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/10/2024 12:58:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/10/2024 14:46:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 14:47:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 14:48:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 18:58:05: Request bot not found: { id: '133788230054854' } 06/10/2024 19:06:14: Request bot not found: { id: '133788230054854' } 06/10/2024 19:06:34: Request bot not found: { id: '133788230054854' } 06/10/2024 19:06:54: Request bot not found: { id: '133788230054854' } 06/10/2024 19:07:27: Request bot not found: { id: '133788230054854' } 06/10/2024 19:07:57: Request bot not found: { id: '133788230054854' } 06/10/2024 19:12:54: Request bot not found: { id: '133788230054854' } 06/10/2024 19:22:24: Request bot not found: { id: '133788230054854' } 06/10/2024 19:28:40: Request bot not found: { id: '133788230054854' } 06/10/2024 19:55:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 19:56:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 19:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 20:55:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 20:56:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 20:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/10/2024 23:27:13: Request bot not found: { id: '128159377280665' } 06/11/2024 13:16:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8187040977994851"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7543205, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AquNJVoK3k7fA-GfnVcDPLL', 'x-fb-trace-id': 'EtYDQBzti7O', 'x-fb-rev': '1014124795', 'x-fb-debug': '23dahwuHQDowzG7/MLRgw30ILnBBlsJCqYBnrdiG+ZvyEcLMhEvhf1b8Br6zFqIL88i0pm1eZ5rPFFzrHLkdTw==', date: 'Tue, 11 Jun 2024 13:17:08 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJA0TlidgKKMY8qj09sjgoG17iSnAZ--baulKaAi2jHWNqre7RwKpOC9naBcAuy67_gfZH9k7_bd80eVKtD"; e_fb_binaryversion="AcJXyOB2HBy2y3VAihIvjDr_o7k1mqI74-wkDYqyl8XXpUtmFLWfKMO6c4LNdEI1cPy57ElYxuEpay-ThL3iwicYMC_MCLcj4xY"; e_fb_httpversion="AcLwkBMVQCB8Zf34Lv_TT7m03FlnsOWqArCChvPNyxYX18Dj9QcvUxfVAChk"; e_fb_responsebytes="AcJbQD8dyY56GNpyqxkrEcwah_EoGa-x0E68bwl-W-OWPB4_vGgVRb3PmOJE"; e_fb_requesttime="AcJguJFnXd9Z01LiZrnNe8uzDWIZeFHaJAaLQTPGr4Bkm0mQ1YmvCSZA9ayLJEUth1BKItu2wg"; e_fb_requesthandler="AcIRYBSOb2jBVN2wbBw4wcbw3KzjrsUtMFfu7_0PBZPNn857n0PBIap-aNBtuRxUD4I3ppYqmBk"; e_fb_hostheader="AcLnpvmsGbmp8pEd5HOaAkz95R1k5E_-WsK6J0GhZRzjt7OR2uAmyxK8aN2od6ENK31nLl9dXIybxU9S"; e_fb_requestsequencenumber="AcIXYDPkIkRBNoJwCVjppRuzbU-Ea2Y_XSIcLXxQuuu53hhop4Anqvas0XG3"; e_upip="AcKvXE9Zkt3YcCcdKNYrYQiZJ29DWPt_XUC41_dRta6q1SGBpgDf-4fDgLRhZvCGIhzhSPMJmFgxGhBgt-OoQe_5RQl-Oy5r0Q"; e_fb_builduser="AcKgFmSQrDnUqlVEy18xS0AuzGrZjtq0eRJVCbTxnjBu1eEdVBcpUwRfcuJAxSuyjX0"; e_fb_vipport="AcI3E5_chd41QsHjBk7VkqMO8SIREGP0jA43mhdiWPJ3l2zuIrUaeOiT1zh5"; e_clientaddr="AcK0gbSLdWvmleyoad4DCQrMxULcPAtN_TI4JFniXFz1sp12W7LIs8k_JcMQz40uoGhcVBUj9xUETDp_iQAueSYEK6J5g8G-_gGNfgNIaq_ILqDwdA"; e_fb_vipaddr="AcJkQFiB1O8laju0cLh2ev2gohstNXU4Ru1lazR-0miOwC0NNf5-u2hyQNDTOjujr_6P5-78BQInOSYLsegbaGxTkkkeQJPFOA"; e_fb_configversion="AcJgpB8rPmyvX8HYMomL4qYPW-gJSUSPL1EZSIot2a_WJpMoEQl87kvmtY7Wew", http_request_error; e_proxy="AcL3r2G89ObMFo52pz6trPNL77Ym_REYi-wKiokuR1GEZGG0qmUBc4zOf24OPzNv6KyYuKMK2nHFe9g"; e_fb_binaryversion="AcKtbdaTVrY5x5o2AZtyNEX80TeHn1efWOfFdJym-bMuNU-cKMZdt0PSFheF1qpyjAusy8gdQCMPoVEoHLhCt-yFyZXj41OEKaQ"; e_fb_httpversion="AcJVVHLSfWSaAb_VBFGZHRZbRpMJiQhvK_1jHM6-yYPXPCJzAufgKeUP_Lq_"; e_fb_responsebytes="AcIKj7B09unAALOnpGITdJb7IqgZPuTg8-p_7HWu66exIun-X81GIAWsnTIJ"; e_fb_requesttime="AcLIVvkfa5lrDXiTp89Hj_L2OSmKFIhvh4-iu6Ffz1mhfBxo30qLhDpGYut82Etq8UbO9CCpsQ"; e_fb_requesthandler="AcK4babeVsFMtXSMeCwhST9v92TZIeDzcjVJTOQneqp818DVICCuaSe5BfwBaFThmHSveu-qWWg"; e_fb_hostheader="AcIB57V8DRnmtww4teqE6pwLjvYakXDjRxakK6Gb3C1iKL4B4XK42f16yPGu3ejyEjHdsDSAHVd9V-yC"; e_fb_requestsequencenumber="AcKbHXF6aP4P4sOcfhRul1GJXQYgqiaX96x_Lo5cmBlzPyShlnirDqaY_g"; e_upip="AcK8NS38QTOl3dltIkiuRDCwYgNOyVyB3dv6OGcKJ4JK4pPz7U0cxhakkbPLh97CKEGAi4U6ry9khK6VMgkXhdKDHW3BJ4I-MQ"; e_fb_builduser="AcIJeeMgaA2U5hInkVm3HE1rI6PtjbsJTaRe5THqNPShafVsqeU25yKRWiRHxN7k3uk"; e_fb_vipport="AcLqbLdnFYrIKWZfA5m13Es1WZd-lluYsoDCz2S_h_CemI7whWsH6F91ynuE"; e_clientaddr="AcJgODEZsTSP4td1nVafkr2J8--JEQKkEWPlp8id0JNymiMnsbSA_Top6LEWBQOkAjnqiWAfMykoM0rooQ"; e_fb_vipaddr="AcJEX-oThVvadCVVcTWfzq-aEvKxevr1CB4eVqNCgbNgl4kUfLbWGFmkhIQiR48E3PMJSCVciw"; e_fb_configversion="AcJWaZLW50kT8B-g6objGfr2Lc8w0dFiD7Z1dKV7IxhvDKgIeNVjqylhpKwAlg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=262, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8187040977994851"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/11/2024 13:16:06: Error on send one message facebookId => 8187040977994851 06/11/2024 13:16:06: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AKAfZSNYzMr3BRZxFtwcl71" } } 06/11/2024 13:16:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8187040977994851"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7543444, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASVeX_-8dWYUhf91u2Yml7_', 'x-fb-trace-id': 'G9tjOI0L27/', 'x-fb-rev': '1014124795', 'x-fb-debug': 'LKlJTjmEI0DkcIysQvOFAxViiq0qtOf/ZGMj7LKoPa03Q3/EIfX1F6FzWx4slEE3VOYvl1C8AjATmGwsD4iIVg==', date: 'Tue, 11 Jun 2024 13:17:09 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKIvl8fEbmMBEhjP6SgHx5BQ-D0ntBwfC96qrmvVm2Oav2KHqXHVcZD8fkCrAB2u4V_12e27XAZJrQOrHfu"; e_fb_binaryversion="AcIVNlPIHaa_EqTwUETJJqeyMxv6MzGdXna8zGvV6_hKfF6myKObG9VDuSizZplV57XBftYpdcMXx_z2Ld9e-RJx5yH5_x8J6tI"; e_fb_httpversion="AcLVjqWda2T35L-TX6rWAmX0nOtgw6gv0ayohfH99MBXLsPSN49EWzRVFjUh"; e_fb_responsebytes="AcI5qZ6Im3KA5h32MR9Ebwtmswpa60j4owlaBXDJ0L5u-VHLd5eo996Gjp8Q"; e_fb_requesttime="AcLdwSFezgKh2wmbg4-QjnANhEIM3oLaVWXpHJpxyGnuPDFNN3g29IbLgp0qeL9SuSzwocY-jg"; e_fb_requesthandler="AcJ-sFpN6c_xgWqITGcCd_hXa0GXF2QSfOyNugUaHeX2-nsWfm7xDD7r8Urim227jp9OnFfrxXU"; e_fb_hostheader="AcIN8d48ybVjijrCHcDH5CmMzK6dzcndYWI38nK_WarwTDuet8zCj3F_6m4UvaqBBiC-bk-FbIDcJ9AD"; e_fb_requestsequencenumber="AcIHGKkM5goKBTs92Yl3cc6gIkiULO4kLyS2vwaoXUPqsdsmO0wlDyENIYP7"; e_upip="AcIceITs4apUqthd-QVCQ3HZiPadAdVcDY6un3bc6ujt0hMa563YxnIx7FBlrQ32eXN2ZgVKVYhz_CWqvZPgQzNUcloQBvZWLA"; e_fb_builduser="AcKoQhVqvILW--O0tlxEslwIZj6VC8-2JtzV5LB7OUisSpZtKD_uisrl8ZtKD5xRvhI"; e_fb_vipport="AcJLNik6Vuuz3QpPh9FAyV12pME2vfatdzcyIMPFY7BTQYkVy5__O97SiikM"; e_clientaddr="AcIH4ZMN0jBAaqmrTiYeqO9pCftQ6WCCtZvqyczehs6PdKlndJQIhmK4ca_Lfi6uonI4yBDQsKugG2g6Z0SpOw80FIfCBCthe8mfeUptGNprXJBBTA"; e_fb_vipaddr="AcJyg1rdtrHreICHjgc-mQQEjSA42bC3mhIji5SNKRtIYJpfxIearXWE8EFiRt7LTtpT3DUCVNNWW37Shs0CjrM_zI2x-2pnDw"; e_fb_configversion="AcIuuKzqNMLLx4VpJPPYhDgY7JW9nkFYAguz6wA0YS54NvE1vlNteMPMuvVuKw", http_request_error; e_proxy="AcKRq2sh-HY_Q7P3lzPo6w2t2eHtOw1OjKvsDCOSURs52LqISRWeJZQQQ5zfU7Ej2ECRiiBtMdWOHHc"; e_fb_binaryversion="AcJIYR17xTe7-84WEh8Sp33xQkMFfBePnugc5mSimmT_XL9nuK0tbJ9Xws2ry0fDlDBNEHxDLbM0wsrzd6ig_YBDfxJvpn-qJ-E"; e_fb_httpversion="AcIVvLFPHzgkpwmS8-34DpLHyNAAg7_CaBTr9f4s43e5MyiX3j75xxGzmZyP"; e_fb_responsebytes="AcKut4SqfjAY_5G_cYB-o6iS1Pt2cQRhuY6lVGcWc839hE5YpXrfIXy31BEc"; e_fb_requesttime="AcLq0eUN_N_jxeZlARACTgbp1YdlEWyGybtijpfChHqFZQ7p7c69AjBP0c7oSs1U9Xggftp3Cw"; e_fb_requesthandler="AcJ86dl5IKYTdp2-cXOluGdmacgGKKMWCfenHHoDJv8YyY5Ft4OkS69Ft24jMz0yoWJFmsGncu4"; e_fb_hostheader="AcKGNWgBurcn9F9c7IzEMk7_IeZEqrb4TuHfhm5mK7QOihJ0UQ-xCPh2jflE_ARReOzNhpnPvwhb03y8"; e_fb_requestsequencenumber="AcJEYyoJBkbnuzMFD1Nc3i5UIFvyERB57tCML7tsh8wi0hOfigQKEixJeQ"; e_upip="AcK2PwkTMGtvfZ2UItt_1AimvbsMdZuFJ9B1CbwwpLe9H09mBNUQqJ6G8qW0JB5rp3Lu-RtfbmE91mdZIWiFUeyaqJz_5Evpnw"; e_fb_builduser="AcLzgyjkQaKE2J1qQflEcznfCRo-lx6v5W7WohyLwhm09xE2SL0UdsQUhFvfi2uTsVQ"; e_fb_vipport="AcIiUr-B45CcAqDmlRVVW4CGYFPQkTblXJ10Oj_E5lRupE3frwrSG2COslTg"; e_clientaddr="AcL2tQOvEbiJIORrtJMg-nVdfAXL8UClIVX1MEqdx_na6qII3WskFCdbOROOU7SIjA9bOUADy73dVJKpRA"; e_fb_vipaddr="AcIypVJHsE3z_T_FvwSv-JIFPq9qg_S-AhutQs4EN29gcuT2s6_ZKMMOl65BCFo8qsnbNae7_g"; e_fb_configversion="AcIDeW33Y4wWC4Py4rSgTY8F7taRssx0ZHYqYb-erBjbWkNFXXp365CUUrqcww"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=153, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8187040977994851"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/11/2024 13:17:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/11/2024 13:18:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/11/2024 13:19:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/11/2024 16:08:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/11/2024 17:49:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/11/2024 17:50:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/11/2024 17:50:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/11/2024 21:22:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/11/2024 21:23:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/11/2024 21:24:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/11/2024 22:22:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/11/2024 22:23:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/11/2024 22:24:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 03:04:53: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 06/12/2024 03:04:55: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 06/12/2024 03:04:55: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 06/12/2024 03:04:56: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 06/12/2024 03:13:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 03:14:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 03:15:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 03:34:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 03:35:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 03:36:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 04:13:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 04:14:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 04:15:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 04:34:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 04:35:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 04:36:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 09:09:39: Request bot not found: { id: '215725838493727' } 06/12/2024 14:54:58: Request bot not found: { id: '133788230054854' } 06/12/2024 14:55:38: Request bot not found: { id: '133788230054854' } 06/12/2024 14:56:04: Request bot not found: { id: '133788230054854' } 06/12/2024 14:56:17: Request bot not found: { id: '133788230054854' } 06/12/2024 14:58:44: Error switching inputType 06/12/2024 14:58:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/12/2024 14:58:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/12/2024 18:51:05: Request bot not found: { id: '215725838493727' } 06/12/2024 21:26:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/12/2024 21:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 21:49:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 21:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 21:51:57: Error on send one message facebookId => 7663562660426759 06/12/2024 21:51:57: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AR1x_ijtbSu9G2PLsEGVGIb" } } 06/12/2024 21:51:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7663562660426759"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7910054, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWxBQvprMp3orc9qTFW1enA', 'x-fb-trace-id': 'Bsv/uEaP8HY', 'x-fb-rev': '1014173553', 'x-fb-debug': 'ePna/r6HR7XJn8qBX7alA5YIu2mHwEwODej5diSohBMsXk+Ul9yj68pN4OWEeKGAqHyaK7oIa7tFe9jGlKlKWQ==', date: 'Wed, 12 Jun 2024 21:53:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLJNwA60e5qD6i8OhGMRTzS-4BPp03sMwEQQNkPksX8cr5IJEfkLIeS0A5dvTSXEvPFPcaTH1dnk3DYPcx3"; e_fb_binaryversion="AcIkyGymBwQKYbRvXN_ciAoIbCEadhNNPZJrZchRLooxzFHwWZaViJ3u_wvJj0H9rivTNj7xHJ7Y7CVITptFKE86Ik_Rlqttp0E"; e_fb_httpversion="AcK41lb9Gximo3aPVB1_UmnWu43nEhYZ-d14LShOI2McdSqkb8bkNWhsqD82"; e_fb_responsebytes="AcLwowp9_PBDdWeCZEXJBT2NCXEUzB34Qn81Bdq44ZjLpf2sB_RGK6c59fQ5"; e_fb_requesttime="AcKwZ9om3_QF2v6LfOkWcEiITHo7S5VRhdxuL5VwW6de_c6VFPDdCxXbdLRMKVAwhSEkUDUG4A"; e_fb_requesthandler="AcK5QgJf-9Sa2RCT3EzVR_IYi5L35EmwW34J1YrDIeCpKLl4zjx0w5czpUkSNToXF9YT52nduts"; e_fb_hostheader="AcLoyEebK9AwgmPC0o5NSXcWVGVHoksH_ztdfa55EFq3T7B_UcKKLp2oZT4bRvyP4A4It2RL-JCuL3ni"; e_fb_requestsequencenumber="AcJeU1KIYLWgqbcSv7jJjYeSXfVaWsr8cBPL7SIENJTtaHs9ofQT09mxvM4"; e_upip="AcLwrbQvpwQgc3VnkJuXaiefW6FMsjPyf2yDP6mso3xP5sMRzjsXmXbbI6zMvaxrWdgglW006FfMxdt_SwaP-HZ9MVF6oSmJRw"; e_fb_builduser="AcLOsuMwnVHNDCJK2QJL7JQ71C-jm30ITVF61CYUDhlodxiCDuthuuNgh_F6UhKnDRs"; e_fb_vipport="AcIBA2pGZbd9JWQRI1-Hxxab0UcYd_pjhUU2wjZeznKWyClT2Ie7z7DS7PDj"; e_clientaddr="AcJe_XU6YGfoZX95IXyauFV0LbOvyMIXrs2Ca7-YxnPr80CFABmDK6oWSKKjgbj_DgbzCtR3WxShLy9rkyJUHGuC3uoh6fdRL9KvccBlMvoyipS4"; e_fb_vipaddr="AcLJuyee2ZqRwVJSjmaUZvYOr8j0XnySOQmRPCI91avkErSckjB7zC1IbIxuxNIxlMVl5p-dkfKS1VaqSmCO0Vs-mrYleXtagQ"; e_fb_configversion="AcIsfNFRDhBlS7tuaH5p5xB1lUh0FmZEh1Z2BYQ_XGdOzUMUvre823cfbPSt7A", http_request_error; e_fb_configversion="AcIAPiLAwoj7ym8He8bkjxxGh3vZPf9kybh9RrykrrCV57J_fuDHWKb0Wc1shQ"; e_fb_vipport="AcJVI3-QocUbKuHOCXUJD7zN7PQ8_4SXTv46bQVsl_r6zwOaHG5PAPUf227H"; e_upip="AcKXdjegAYu0g7_jTLm3PzIxSK84tc66vpq3VDegUUKSC3AQpdRXWd5M9LDHcMF40q0yKK3jmKrF-RGdZxgc2IX7Qglmc9aFQw"; e_fb_requestsequencenumber="AcI9GfCdbMf79744W9LGyeHPz19UA_c-RZxRTvsDH0kPvjdYt3A7lfcOgQ"; e_fb_responsebytes="AcLRpAOXkJyVLs33yXIatKPU6XR6UY0oCEDAcTR-R6unLWh2yZpSodJBhVjV"; e_fb_hostheader="AcL5VwPPbb07DVQNTky6d4Agq_n0UW2799Ef4R2B4qZwWVbgFaOUYGoojuR51dyt85ZebgqaUotSxdVJ"; e_fb_vipaddr="AcKK10f1xNfYSRleLHCUSo05TnkgXxbSNEbJ7VFTk0Ed2mZmx6s6Dcnd6gyY2Ob5gzCX23vxzA"; e_fb_requesthandler="AcIUdlpkoayuCfR8KU9bKBxfVHEs9vaWS7z220LPJlW53WdoRKIbIGSTgDdcKn6J8Vfj0JlIlY4"; e_fb_requesttime="AcKp90QJMNJok4hcSP1lcuBHBL3AXr3-8gCc4IaiOHcdzhOldGUCVL_tyIURd6AwyHtK3Owffw"; e_fb_builduser="AcIlI0i4bMi3hUqSnxqGZK4aua96fPWZbO8ObP6q0Q6sFGVxIKakCiEXBzxhL-3ZOME"; e_fb_httpversion="AcKr7aX-UUjrTPZ12wxGxbnjR6oxwGfvLCL3DvxWmH8RDxllXCucSYwRwhI3"; e_fb_binaryversion="AcKRO2rrb5RB2BLH5eGnZlGjFDwiY35-aZvTMLZQzsRp63PjesxIfrSinsun52FCw9_yBfpFeVstOX3OBWiUlcKXC7vvDV9jGlg"; e_proxy="AcKPcmAz99deAMVN7upCJtvSBvp1mjsqgwQGP9bvaXjEdOp0laE74EUxgp_rzsVQAAzpUI_t27FmRW6M"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=70, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7663562660426759"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/12/2024 22:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 22:49:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 22:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/12/2024 22:51:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7663562660426759"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7920311, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Adu9xON03l2-7-Fm6ReSDHb', 'x-fb-trace-id': 'C2nJoxASDc5', 'x-fb-rev': '1014173553', 'x-fb-debug': '5fug56y1RDjNzpnHEqA0tfrUULyFFFf0jjStp07vI7fzdryZmPhXRiTTktau1gmX+u/AiilhtlJ28yYLdihTkw==', date: 'Wed, 12 Jun 2024 22:53:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKrtcRQEWe6OMRLgS_mxn7kOJP50Pohq1LFXAw5MWQYEiV_MToaqOy6T_91QxGurEtcvYe6IokjRrE0OJI"; e_fb_binaryversion="AcKJE5Od1tsL_8UR4AHBb8Ovqyoupo56oI80DNG6D3wSAQimw9e3BpWf4VD67uoL6tDAVjnE0o3W-7QIeREdZ73uScHdUDVZngg"; e_fb_httpversion="AcJLU1xFmZzpwGCMfJE0m8kPSIYhgpISxas94lB5HMni95sYFOH0fSNP-OjT"; e_fb_responsebytes="AcKGNYLso8viaYEdBx2n2HLYV_17nbZnjJ1LKM0CAnEzNgbeWDA931VYQ7jV"; e_fb_requesttime="AcIDmSMAMDpcHE40-viCCNmL4i3f77Ua84H5pOC0hpj1ALfKpCz67xOcsLsMZyQw7WP8GWArsA"; e_fb_requesthandler="AcKIzr8-87ezfmD78_fOMgo0AAos34AfdES6bKXCTfkDKJFUQDxqvrOrEtNq6Xa34ZIHg2CH-Xk"; e_fb_hostheader="AcIP3A141TpWUd77aUyX4fN9b8e8QNsVbJE5nmR0qFbvf5bOYlq0uxKVr1SAx_eqDCaNkzBJzYKtP2mX"; e_fb_requestsequencenumber="AcICwWE3hF8xUe6FJxkiOiqbRBld0fJ0grk4s0DFL_kcIwdaqyed4IMs7oKpkA"; e_upip="AcL0bOfVRcfl3mj91KMy0Zpf3fknEXXanZBApc9kpEaSISN2HxDUTvFR6FtOkcdhCrHxu6n4yzKm2PTOMz2kwLKa7_MsEAooB98"; e_fb_builduser="AcKv3tZ-XC1Ib4tVn-lq9ZwAvn9iX1m2ZjjtqKOAFrgL0I2Uesu6n9_PzgdCReUFZtU"; e_fb_vipport="AcK8osJPaj2k_VmFW8gB9MLgA5zduD_N_UACcDAm6QffFDXg2TMhNFLYivHn"; e_clientaddr="AcJAHXqmAzIm7Lt8O-Bs5xXnu-Zszg9HnzOyuxGRolhXk901WHM8dNc2GhI4ca8KMxiW_AyfTh6mo8rbEEPCcqyXH4wn0acqsw0_KO2ZVdCi-SC1yA"; e_fb_vipaddr="AcJxmaikeIwWNL64wf1vvk9Fceu6a8cLl5uo-qkjlD6SVyzCQY09PAOpaHlUM5CzXXTNje5T8kE8sxqNOOumL-NpVASj-DkKnw"; e_fb_configversion="AcJi6fDnnwXE08Q7OPnbR2XBefiMvqSVBkkvObIoQ6QILbjbTeiXf2-gSXEgxA", http_request_error; e_fb_configversion="AcJLnIoXhka74Tc2O2QB9JCGtsL1BEOcXu45MhRnnQ7G1L71dwFMh0Q37OI-Gw"; e_fb_vipport="AcK0O2fYSrAkLHaASY2n-uWRNrmOBxkQ8Fe0fpzNlbnB4iTiW-fh5VtOM3LC"; e_upip="AcLqH64yETjVtKrKjmtdtyTaUouca4uJlp_dBnjgtyEUAWx00d0HWSDu9HTXVdPBha5VJ4GLfLh0yFJwbk95_wsdR-YbD4h-9Q"; e_fb_requestsequencenumber="AcJGNYhx2PwGhmUxaIp2l3l7FxOfFUy59UMiEV7e5lvyigFKNqqegrMXkw"; e_fb_responsebytes="AcIZA6qgItU03Pmcad9S8N6XOVVkXnawrCs4_1IIXmas3MNgMYLDepvNxuPM"; e_fb_hostheader="AcIPV3ImkCCJgrgxWLPJIckT3srzddYpwwTM_LRf0_VQOPlCgI-bDlOY1Ef3Bmf_dGL2RMGPYlG6cFaw"; e_fb_vipaddr="AcKJcYLGI_83PpBxL7JkZ1zQ3_W-7SsGrIrxG4OmfhSS6y3BWbGSz6jBpfIXYwCn8wOCRQ"; e_fb_requesthandler="AcIzzyZLbkbzqydMq09eFjjXOC5NkWY2pZptrlKk4s50_CJNe-68b-uZTgRT5aRAHM48aub3QC8"; e_fb_requesttime="AcLuchqt-lYa385oBmfG9UiKNeZD63PJkFyRh8OfP7SiB1CiPdtJkOgCktjiXDTu3KXQm57rVA"; e_fb_builduser="AcIf2Vqvfpnk6ILf1blSErFElwsNBAsRa357xzMweRJRKeMLWJ0YL4A-tbSBhIqDiIA"; e_fb_httpversion="AcIDcWjFWD90-LKmKpE73b_iuzlW7Ax6hvrVxsxusW8H5ZZLnbqCYwNewspj"; e_fb_binaryversion="AcJuCvrtZXkfNVHpYNvi2r3M1uKCqlzWZoOMAALR9gU-xVK8q8q1VpVd0hocoAlYShaj8s1iq1R0AU_DwPplfRJC3rT_wXxluaA"; e_proxy="AcIFvw6tPiuUZIt84PceGhxbtXV3vnQx2j_fF9y-gGN8fadJyeoPZM8BlgCUtNUWzw28ijYWzepim2E"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=151, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7663562660426759"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/12/2024 22:51:59: Error on send one message facebookId => 7663562660426759 06/12/2024 22:51:59: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AQGi4D2HlzrgX4uI4FIbEOO" } } 06/12/2024 22:51:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7663562660426759"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 7920490, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQRaCbrixKQRpfvRfEoWdJu', 'x-fb-trace-id': 'Cbxtln0f/EE', 'x-fb-rev': '1014173553', 'x-fb-debug': 'sO/i7Z2yoe+uJ1KHpyiUq34GT2BPgvj0O3A+V93Lhj//6SOCldK79zvdrqG8Kq09HN40AF3HVnTI2bJsItHMJg==', date: 'Wed, 12 Jun 2024 22:53:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ6T1WW4Iy_Sz7509W2x2RrHChz7SzsddrWZjdlso0EblDmT-4tARfzB4kcOCQvjx0l5WYQ3xTV_PXZDn0k"; e_fb_binaryversion="AcIZmolX9G2udma8xLDRNw7kf4XUuzkCNj0TOROQAp_q8Lg9J4s-pShwHF6Ic-B1smbU23DJAVjuVtjbxQOneHdf_7wF390Ln94"; e_fb_httpversion="AcIUu2WDa6SO5SAfjBXA4efdO0MaNM-H34TPburItCSnIUnw4_zMwv_GIW5r"; e_fb_responsebytes="AcKQk9x5Gn-jYrEyXncO4FBSgBIia60DE_ZzmSKG-Ms5MDols5rCxdncMSld"; e_fb_requesttime="AcIdinkoSkBr93h6q7v8viQf1pTxBK8Xv8hNilxdIlGvJ9pJeYOSpKMbR_CX5sVg-d3fDLQndQ"; e_fb_requesthandler="AcLNULyp3MPP-juKzxx_Hl6qx9bIFJd6LX1Q58cncPjPz46CgMzuFgYVTg2l_7pObkMgHjpag3s"; e_fb_hostheader="AcIWeJ6wQ92jsvDZ7LmBBDmzPoAsKoqOogYKG_sMvsBKn6v0iCRoN5H0oHupFdlZ9SHOlSDZj89gXeud"; e_fb_requestsequencenumber="AcJlzs_hjBwPolN_b_0_tr-4WVF1AcF0Nd1GS8ZvMMyC6DJzSh3Aw5VXZ5wa"; e_upip="AcKMa15yoVHCHaOTQgMKbVwUv6j-imf0Vmwb8KRmxVlgOlzLm0awk4WRmVFMa4HPjUyNr8er7rlt-8ZX0Ip909l3Mglnegheiw"; e_fb_builduser="AcIh4rn7LkkAjBYjgX8A_C8bOO9uwfX7MlK1DrZhDDdi0lDrtLDbM641qltZayOOt1Y"; e_fb_vipport="AcLkSm6-_RRCySfcBH7CgGUWOXybthHOSe_uQJQ1L4INfrN94uUPHEsDYmeX"; e_clientaddr="AcIqUuLwgaRIsCFWhAcSTfOh4j9j0hRPWrdBt4J66KuO5-KsxiYf5BPmEsxFd3n0TqActmPmrX-7Wf6NpZ-kLctidn6_bT0qGYIfO5uhZnZ_5_mx8w"; e_fb_vipaddr="AcIcNwlEn-3SilGVK19PFFe20hvoYGG_CEGdfO0y_SlUPT4QAS2wF0hPNTjF_MLDUvbamiiqHRkPaHre1eKh30JKfKA-9Mqcww"; e_fb_configversion="AcJBrr6GuqZUMwFhVIWrZ5lS5lq_xFmIpn5eAQNMS7zA7ohrcrVV7sXjJKWV_g", http_request_error; e_fb_configversion="AcIAyj1zV_mLixlRmKWoUoK3NHh7e3Mq4DDvUwZwqwwdNMbJhX8H10xmeC8APw"; e_fb_vipport="AcKwKb9Edw5r6cZRPWEegxH3uKeWs7mi4Z2Ww-GQVhUJH_Hw3qmEr_ejcX4B"; e_upip="AcIpKZEaxtmpTwB_MMvVNaKg3TRkesL_LYIfHgeQSlWJNqcmKLyYrswcqm-kTX95EeXCY36D3Mgg1v71inwHlK3Lg1fEOSBmTw"; e_fb_requestsequencenumber="AcLmaNoMqXDc_kAp-8dToG8NogkiSho2oaUHGR2eeDZtfOiQvhpF5bnoAQ"; e_fb_responsebytes="AcKVsEl4yPCJpFRnTXJS1v61KfR7JKvbCmxoLmhEG6yYldq-zeI03hxccFCz"; e_fb_hostheader="AcLArboZGp4KoDdvgWsYe6GrCEQFgR4LcbTZTpfaRgiv2aQ9sOXrzp-NGOSpkgnNGHkxjm1XnZfvuDNj"; e_fb_vipaddr="AcJaqPSiGy1Fb2QBEztyVEQeJxUYUEtN3dcaiU3Q8TTmw4zVs6zeIQoVZN94b72kQ7fSXw"; e_fb_requesthandler="AcLK6WwCDtcqjOuLUVhkRWdkZWW1SPRuI1P77kFQWJCjkVz4m_fDhQ6NZxcNEqGM60ciMmWL6BU"; e_fb_requesttime="AcKzzMgrTQ8DVIIlkFXN-05h-G0-GhBTpmRK4WbUVE27nBXAmAB0hB3zFIdI5KXAyVha-MllVw"; e_fb_builduser="AcJPzX03ZdYwZ7fMsbxs09apfBpFF8TssRn5O8nPqGnvj75pU4qCaO3BqZh2XEM_pQs"; e_fb_httpversion="AcLSU2UJD53IZRT4ladwdXLM0Kj5IjLMnKbeF2_-8lG1ndtxyszYW48EpD1s"; e_fb_binaryversion="AcIhQZ7otLENgf6S8wpjGBualXTRFWid9BcIAQiPqVM7a0-rIYxEpGy382E03mNpxlht0S9B5W-ShgfQSO71bUGbhIgg3ZEiijs"; e_proxy="AcLiFZmcXRDafjmoBCwGbGw99Eefy2FNXpBeGvcUWGlG7hYlIlTbZI8vhnrkS3vigUNaTx2Y8xBAbVg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=196, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7663562660426759"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/13/2024 03:18:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 03:19:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 03:20:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 03:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 03:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 03:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 04:18:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 04:19:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 04:20:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 04:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 04:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 04:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 07:42:19: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8014697, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 13 Jun 2024 07:43:22 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/13/2024 07:42:20: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8015018, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 13 Jun 2024 07:43:24 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/13/2024 07:42:22: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8015390, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 13 Jun 2024 07:43:25 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/13/2024 07:42:22: Error on send one message facebookId => 7759092870814669 06/13/2024 07:42:22: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/9c4fc8b0-2958-11ef-9ac6-4d816d8ae059__1718264602811.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A28TkvuNe_RrciTTXIHsD-W" } } 06/13/2024 07:42:23: Error on send one message facebookId => 7759092870814669 06/13/2024 07:42:23: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/9d193330-2958-11ef-98ac-ad9510964dac__1718264604131.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AWKpjDaSe_-RuzqmQypXG0a" } } 06/13/2024 07:42:24: Error on send one message facebookId => 7759092870814669 06/13/2024 07:42:24: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/9dcfd900-2958-11ef-9ac6-4d816d8ae059__1718264605328.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "As28Mojt4yPn_VsHXvuDAxD" } } 06/13/2024 07:53:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 07:54:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 07:55:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 08:53:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 08:54:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 08:55:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 15:20:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 15:21:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 15:22:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 16:20:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 16:21:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 16:22:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/13/2024 21:19:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/13/2024 21:19:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/13/2024 22:05:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/13/2024 22:06:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/13/2024 22:06:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/13/2024 22:06:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/13/2024 22:12:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/13/2024 22:12:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/14/2024 00:53:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 00:54:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 00:55:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 01:11:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 01:12:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 01:13:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 01:25:35: Request bot not found: { id: '234064353428134' } 06/14/2024 01:53:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 01:54:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 01:55:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 02:11:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 02:12:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 02:13:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 03:57:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 03:58:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 03:59:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 04:57:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 04:58:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 04:59:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 06:56:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 06:57:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 06:58:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 06:59:56: Error on send one message facebookId => 7683788205047876 06/14/2024 06:59:56: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Ai3Um9P3UTEqybElkADO1gN" } } 06/14/2024 06:59:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7683788205047876"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8280455, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AViyIkEwFrIbIezK6-B4NlG', 'x-fb-trace-id': 'GitgzULMbL2', 'x-fb-rev': '1014224665', 'x-fb-debug': 'iOthi0lJfDST14FogjJlfsXeaIc/BRnMmBWOG/ehK8XWbD7fJufB+AceAMsjxG7CNBVdGD6oBeddYywvxa4+Sg==', date: 'Fri, 14 Jun 2024 07:01:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLiVO0O5XA9VYYiekr71wdh42QqViMedjGHnM-vjTtycthlE_xWKTPK8HdkUQ"; e_fb_vipport="AcLewGZe_wrd9z-7XZDA5T5EGkmJkoOVJj9shtBqlyKVpoD1tZZxUGMTAdGO"; e_upip="AcIRYrfrIP3ZxB6bHolgXYCnBsYwJ5e8tRvWPoPjt3o40XQmgRrJgs1FVZYKC5f75L81AzL3NzczrHlpiauvaCrtWHtByNysVQ"; e_fb_requestsequencenumber="AcIr-PUs3Ck7QOvQKg47Ymk0g5wz-EbWmrg_ihask9xmBuLFAf8aYe9UkM5n"; e_fb_responsebytes="AcLXhSI7pUGEuliRXcPIcQPSt1m4dCctKYDNWcvr3AMS3uPXNhVXahLumVXv"; e_fb_hostheader="AcLDkwDTxEpz1VohWusAMZI54vj7Z7dMATVNYhBJBvp72i8qSkS4w5fAjxgpZR4gwuq6LpAXWHcgluBM"; e_fb_vipaddr="AcIJuwCYCrvOKduesbJA22fZ-1izbTjtM-AYgj7zEvSHJzgRWELhb_o56PuaSOYiUy6aoD0uTa5uR1xrRMxe6EjEsp4rBoJkzg"; e_fb_requesthandler="AcL1f98e8kTqdqSHfSTXi68kxzvvuRWLF2sC5mpaAijbmhx5jkuFaamExvihwoN5zggr7MzQ8uc"; e_fb_requesttime="AcLnedOn941iIIR4fDYHSjLVKrolJoQZFZOE_agjGkyBCJdLB0PDzpmEsZyHkMjmQGhjjVE2Ng"; e_fb_builduser="AcJhv680PxWUULVB6GWfgJgGZfGFtZ0v3QWQLYG8NtkGbhvI7w1WdjFTAHL_b-sX08w"; e_fb_httpversion="AcKU4OLMYDTli7ENzINIYqtu7FIRS_XfEOPcJSfXQC47hgAPk1-KqvRQeNyM"; e_fb_binaryversion="AcK-2WzNjrGoiKdzmqzB24Kdlp7eFsqkKn-1c1kInyRiERAT7QIK3CqUj4dqviNqtRApPENx2YQEueXCoa9Cs-GavzwoYNXckIw"; e_proxy="AcKpFcNIn_GPEVdV_ri-D4TG9kV3iU7pduuprEI2XeKC1jsaGeDHz2DMojO4sVI-o5yVVCQDCw-5qGdpT6A", http_request_error; e_fb_configversion="AcJMu1YfagzUOz29QLKcwB8i9uIZoIoiJ-2BTnjFJmcaks8pfiLvHV08nUhBdQ"; e_fb_vipport="AcIsS2bdzBvH8yRviNkfuJXEFFfa4IfGP9KWBKDaI_RnH-6XIj0Br-1jUF4p"; e_upip="AcKtTLPjBnLZWlCFejICKXlbmEC8b7GC-687NoD3TDdaFvL_VYgIoqkMhz5iULcS5miPDPBs7_eP2xAs1DvlqHMpJNcqVSROaw"; e_fb_requestsequencenumber="AcK7fKlOlLdAEifd6WUPB-9LcMsjYf1RSWwyT44aQl0POsmmrmUFDvZW8Q"; e_fb_responsebytes="AcJb_W27avPAj3sVtPH2VDBLaKKjymMsHWLm2YvGYqQJcS_QoJkxIz_mtOLI"; e_fb_hostheader="AcIvnff7g7UaQukVZ9jfT3GxMWHxegKRAaNVSrW3aRQsZs6xCZ8pO_MRZ_UIW9ya3J3M0TK3QVccPMz6"; e_fb_vipaddr="AcIQHvQAbyyJD6YPdvaT4x_Jxrs0LLorREnZdj4ig8cKiTlQvmrCWVpT0X2eVY-aRokoJA"; e_fb_requesthandler="AcJ3yYWSnOylWHXZQ3VinnVcxTwCvr8XBH7I4FbFHY3P_8jwRXMprJhq6kflG3M0bnTcD2DLssU"; e_fb_requesttime="AcI6si7K8jpILc0h7gwR9Do5OWbFJEnl07oZfeZPCfNRSnb03kpPaAJKg7xdn-4GBAeTElgWXQ"; e_fb_builduser="AcKsrOnpGqCan00tEmUsZUT6hgpzsE1cyHU7Zt9-ouVE6lzrLhtoIYEWi5J0902l_6g"; e_fb_httpversion="AcJqDoAvtS-MSE6elG2dEHDa0Fkc3S6D8BBoXqVtWLIYEF2yucA8sbb_7VGo"; e_fb_binaryversion="AcLopUOCVFfs5pJWPu8e98nk0iOWByG5qbMdl7nWoQSWmIaA-SITk8p5g46AEBIJ-k2-IUU0PWvt6APMwKxhazSIU65-EYK4HgE"; e_proxy="AcJ1yJ3tuilwCn0PeLp0QqwnL4-Xz6WdDmtnk6wNmQsNFN_ryaHX26AdVooq9LtoB8ZOUFxAK4bdUHw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=150, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7683788205047876"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/14/2024 07:56:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 07:57:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 07:58:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 07:59:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7683788205047876"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8295166, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAb42Kz8sVnVByUt3iwbfpZ', 'x-fb-trace-id': 'Eevh/YYecd1', 'x-fb-rev': '1014224665', 'x-fb-debug': '0IY2ysSwcYnsGmiGkIDUtWAStbG9+cZ+cF8X04b1OncpS3nFPsOyxpDTM42rRVzZfVTN8l3eERuBQhDNFUxT+g==', date: 'Fri, 14 Jun 2024 08:01:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJgctRJD9tKpvlOf4Of8tcfqOqJuPQ3hz2uIOXAOO4kpJDfeRMwOFdF-UeqoA"; e_fb_vipport="AcJBcYXZCKKGWDk5ZFCzchrEzALLTgbtR-7g-Hf0rkYhePyR705xh5E8Oogk"; e_upip="AcIBRSncGRxw0SsmD3n_3Swk9Vkr6a3AulUR61If6TTRe8XTOlp7JVhvNWjg6nim5VO1TiV5EPncomyhuiO7w_S5tbukqbdZxg"; e_fb_requestsequencenumber="AcIbOZUVk7NjeuWVNST7Y0n6EIwYxpq0yR42f2CdXgiERY-PINk1tbAyy68U"; e_fb_responsebytes="AcJ1r3zo3UlT8vbTsu7aKNKRkqWIwboX1lYcyMDdwOWx9ko5LxByV7UXWJVI"; e_fb_hostheader="AcLTKcQw5LKuTe_Crzblq4nWgfgHGdNkevYHMIamPMo-mxG_QbrfcIuL9EhUzsDLEMUWupS8SfBrdvjP"; e_fb_vipaddr="AcJMXR6FF6ELNOclQpUDZ9QBG2WzE9klZRTIaVMneJiHbgFJiS13gqiN0p7OKd-7NcxCwwMFaLLffTsvchDVLqFhwcZkyWgNsg"; e_fb_requesthandler="AcIm9Uosu8Kbv-7_A9KCz1neGUOv3d9Ib_0kc2h8KfoXMmNG6gbd-94QMK6bok61-0n5NoduR4w"; e_fb_requesttime="AcJ7oBOZru7V6p9muo9I_EpXq3j7dN_zllXlLYP2XydiZWheXBRSHiRqyl0wD2TLqUyKY5Ahuw"; e_fb_builduser="AcIewWT7ualDXvvOt0Dxc7dvfCZuay-wzKEu2fM8iQZBVRM61DwKV_RmmBeZUvx4Qj0"; e_fb_httpversion="AcJOPIPXPOS_hP7VJDJLj7IxNKQK1qm7WdlfNriDCVUexxLM0qlO2rtaycSd"; e_fb_binaryversion="AcIUpE3HDWG0NZOoRFX35u9Cg_rpt4jCdrcvVMDSws8O3WBJ5mVw-ZVnVnr4WtXjo3Lsteakd1WLVyiboTFsW0glIpA0eiZk3CM"; e_proxy="AcIAVuKJgNgqedcCFgPFMPJdPmdEjyY64560oCDYMLijaYTREXXfXL7ASUgXtKGX_Jf6nz7qZHCj5VlaKz39", http_request_error; e_fb_configversion="AcLuEh7t9lJI_W9TD42PZ4XkQ3VA_g9sA9kXQCEuQ2d8I-gj83IOzIfdP0Y-Lg"; e_fb_vipport="AcIgUNEdAc3a_EGCsKbo6OPhFPHAl37HfIZsVI0JvzFLRfZ9biTx1K1dDrIs"; e_upip="AcIpiUHHYTqPHkWqvcXtiUzSEDF4zWjHa25ys0p5SYdGOxm1fmLFIqXvPfvI2ly5cjqnHWGHHxM9xm4s3GPyLK4Kd2_GEmOBFw"; e_fb_requestsequencenumber="AcLcalOQw29oq1XiLMNibupIMbq1vG1uoW6O-NqGWoTYD_hVfSzZj7yHvA"; e_fb_responsebytes="AcJYMzyRTAQuI9AOkynR7RxgPVL0SWbqjs7wkewcUrGvzBz8Y6k7nNzcNmx5"; e_fb_hostheader="AcL0uK0fTB8QIUerxMgB08spu_0T-MOS-J1_JlIikoyfoCM4cMWpFWDeu3Ec--uFJxsaZei04wjo08yy"; e_fb_vipaddr="AcLxYvKNQJ4L6XOJHdBupSP75SqLYz-310s6vUe-MEk2j8Z6ey_UGmoHVeD4SFxAt6UWtw"; e_fb_requesthandler="AcKVv8P6_ee_8ikGuROEG4FDdGDnnZccR_Ot0fmEP6wFqqZvMZkUGh9FSjwDEMoaxct1NSsgDFA"; e_fb_requesttime="AcLu01_eUYMP8iI7PeCe9GvVamiVRMXD6Bpx5CiLLqgCZi_hpgysa-07HnYzyU8gWsdV3PfeYw"; e_fb_builduser="AcJMviEskDjJjl7xjeUuCSgDoryqc2bKJqSHWYP_3pLn8Gp_J7tWfD5iSH0ZYDGmrno"; e_fb_httpversion="AcJODuc8dC5-d3Mq1a8mqUQ8lUigVTG3iUU3Ppk2VEJ4g-J_-tB_uTxsUa8y"; e_fb_binaryversion="AcJVYB6m6pb6e9HZXGlp6YTuFLvlg26ZSMWozc7r8kJDOqTh3i1BmJDkNJ8NzI96WDrDvxzpOuD2xdxpIH6_FqoXTR9YzFafSE0"; e_proxy="AcL-kYZ7MHjTn-z5RZYhnfT12Oy6yaqGlxBxI7F_eAN1yEUCVZHhKX0BM6rtkMvNKVtVbqGt9T7gL3I"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=2, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=159, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7683788205047876"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/14/2024 07:59:58: Error on send one message facebookId => 7683788205047876 06/14/2024 07:59:58: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A8J_PexUiRBvpL0u-vYRaMX" } } 06/14/2024 07:59:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7683788205047876"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 8295343, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AB7cNSgfBHhN21uM_AtVt12', 'x-fb-trace-id': 'Gm+1xDnDpzH', 'x-fb-rev': '1014224665', 'x-fb-debug': 'VbGfup0kcuQPbie4jOR5OCamk76YJPqz8iyxi+Dpa/6sCCp9G92q4VdNm6wDqpBDQug3NZYHXRdK8SwYBZsxUg==', date: 'Fri, 14 Jun 2024 08:01:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLZoDNpzpeS9bQqpGYK_t_cvyn7g2bRkmNNb0ird8087hRpyHSGYSpUwHXNBw"; e_fb_vipport="AcJhE1c0l6SlhtEahjsSCLuCwPpA5Jt0gBaej24uZFvBml2bm13j7BcWj4Tv"; e_upip="AcK2zhcTFKzSTtp_H8-0gksCq9bCf6yP5zWJTLe6kJRXuTAKHimf3VOim3zgcIhWStzpQKaYBlZUO-uBj_0zLWRfglO-zeXDLA"; e_fb_requestsequencenumber="AcLb4hkV1W5m7bEOYZQOerUHLJmVi7NlsJmYCXM779LMX1nvdEC8C1t2bgZp"; e_fb_responsebytes="AcIxhFR3cZjgd_f5yDojH1cO2Bjxiy_NKyIgjalRNsi51wnKoR9XX_GnIXN0"; e_fb_hostheader="AcK5wks3ymGRwBmrg43RcPwavixvIHk7dQglnUegTUwPGvhS5D-VsL3ECmh3Sqa3C8rXtrHtvUNQr2jc"; e_fb_vipaddr="AcIHLvhmphZRa9d3GAqjZbkXikKui0PrXr-EebRmWssKBEwVeJ9SuJeMo9VutbxE6VO882wV_2NREU_XVP1gpTNoiBUbH-igHQ"; e_fb_requesthandler="AcKF_CSquA4NLLrtBJAJIucJrQVawAarFyGgp9nkeyqrb4K8Ku8E3sVm4JlZBYVlrWeffy2atBQ"; e_fb_requesttime="AcLQ00o0Ng4Em7B2IUT7yaknHt83EZbWGRVf2VZdMXmufoKJzXirrh6Yv-fM1vMbVogDSnvHkQ"; e_fb_builduser="AcJMC1JZ_q9L-_yedsr-cqC5QcxqVCqEOYr5r3soBD7lhMwCyL_Melm2l5OsAfCg1wY"; e_fb_httpversion="AcI03qeBj3C1bLYL4yQmZEghgVf8RcQadwUjollKC1r_fYR2pEB9Ru0Ue-se"; e_fb_binaryversion="AcKLnnEEpzahglxXzYVxLenoFeqMbUlrtbV8aMD44-cN8sR7MwQblizMwnaFgtfEVnko6gCxjLwAyKAsbzQjfktb2LBToNJeC1k"; e_proxy="AcL7eTd3WLLI5vDeJTjpr3s151DYQIfAmlkgDvvFVWnoIMxQpBs3XXYVL0ffQ3cD58pkdFF0wbINf2whlVqQ", http_request_error; e_fb_configversion="AcIKp1Yq1IjcWRK-J6lcoSNsFDccHvDhfBr_T0IKgdHNtA_ANnWqHa5sUBRVMQ"; e_fb_vipport="AcKFxD3IuEOXAAvkyHYkyYFMalQpmyTPkYXS0Ja4dZOKNxxkUDaOyXqa_pkw"; e_upip="AcKfh6BFMU4LiSoFXDmoRYDJyZ0Op1VJN-cEnMQfwtiRkugBch03PmKERuHu1Q3Yrn66AkD5g9xVaGDEq9J9vuj5HJsuJnfvpA"; e_fb_requestsequencenumber="AcKzAZ-A0ygKzeF0g0XRyMr7y2m5WgPrr1NFj1jUKHgLCSOb1Ktxch0URg"; e_fb_responsebytes="AcJQOKsCQWGfJlPpovtEfQT_9lZpBI-6JvMvKHbLB1fSWDa4WTIuKcDWa3OJ"; e_fb_hostheader="AcLJKrjBnjcJV1kP68SgtSKnBC4lANTroUib99bWKfT4WYji1_OzzKK95TsixGTR1MZubxrYOtGkJM4C"; e_fb_vipaddr="AcIpgbg_kpuch2G44R0YC5DRf7855J47_MiDQpEjKjcFS7Efm7spyQQfjjysWJ9p9LKbGA"; e_fb_requesthandler="AcIos2tqupMKKj4If_s_bjSlboc-ynmO7A0SSPJAhhVlYtEn8tb3TLiqUhbGX1fjZUTlKdzm8_I"; e_fb_requesttime="AcKHgGLjbOqoFuJUFfrArp5goEQU0V7M0Ko6PWGCmKjweRv3YgMlOVSvy4U68T5gtmXXB9IGpg"; e_fb_builduser="AcIzKA-sqdElPjZo2AYWer_yQdthQNOxyppUEwYgUgmyrdNhsmuyxJVSa1wVfOpCg5k"; e_fb_httpversion="AcLBHybXqSTgTtTKhhK3Wz2csocoU5HsOBnKkjFl87tfgaa34qg4GVSElELr"; e_fb_binaryversion="AcJV4XFUbZsjv0y-y437W2X5GrBLsyoTUPsQSYmNHBLCLwqf2-BwanWNzj1GW4PehOi5X5LZxGy1f5los0eeDiqqoMkDwb6AkT8"; e_proxy="AcLWWLzL-ILV_YvosShc29QAXPNeSSsrKAgsjuht4fOmER4AOSu7YWprdpCpStN2Bxwsgtd-O74msHo"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=148, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7683788205047876"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/14/2024 11:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 11:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 11:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 12:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 12:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 12:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 17:27:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 17:28:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 17:29:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 17:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 17:40:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 17:41:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 18:19:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/14/2024 18:20:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/14/2024 18:20:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/14/2024 18:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 18:40:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/14/2024 18:40:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 18:41:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 22:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 22:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 22:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 23:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 23:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/14/2024 23:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/15/2024 13:40:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/15/2024 13:41:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/15/2024 13:41:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/15/2024 13:42:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/15/2024 13:42:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/15/2024 13:42:39: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/15/2024 14:39:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/16/2024 18:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 18:33:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 18:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 18:35:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 18:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 18:45:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 18:46:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 19:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 19:45:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 19:46:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 20:11:37: Error on controller payload Input Treatment=> type not found 06/16/2024 20:11:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/16/2024 22:08:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 22:09:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 22:10:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 22:11:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 23:08:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 23:09:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 23:10:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/16/2024 23:11:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 10:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 10:45:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 10:46:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 10:47:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 10:47:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25747775834837705"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9092005, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9Zi8ScBk-NJn8OuEJye0wH', 'x-fb-trace-id': 'CL1QkP5+tCN', 'x-fb-rev': '1014265750', 'x-fb-debug': 'OtiSTu6peH/dVZGtQcgW/SuDzwiVLb14by4TgQz7wGF71Qp24x3t2GPLm+zAskvj1/qkgdobTeaSroedm86UjA==', date: 'Mon, 17 Jun 2024 10:49:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcILv3lvIpAvlsoMeI4RVaj-t_lwePtX3wXvFknfJ-4tKe_7jZ3j9Xzq5XZDhw"; e_fb_vipport="AcJm_3PM08ej3ioutlqvlnrB1F-mVv73coVTBv9wsGQgj86GYbzrnbN1WREF"; e_upip="AcI_Bzk2xasH9eOO_V0VZo1Kkk_eCqK4cWfcAPQn0mMyjJD-C6a7OJpWlryVX4CVoE35d22jO_W0Y7bY6YoOX4mdjSq_LTj9MVE"; e_fb_requestsequencenumber="AcJERoPIw8R4y7hFVj1PpwQCBv6ZM5fTJBjD79ZAeQE6XX8QWmI1sTcydPt1"; e_fb_responsebytes="AcJnWMln-MQHAv2mu7dlThNbHrrnkR0dBCM_7ynzHTwRe1XfOZsQG_x-B3f_"; e_fb_hostheader="AcLlxPCFSfbibDg9Z1XQtOsCDx6oOobmcgmMOxX4FMgWxN6Y8oEI31o-PtBPnXMXCkwAjlzzCUZiz7Uh"; e_fb_vipaddr="AcKxvj4AaZIHBMWz-h3StXFGOaBqxuoSuOoaniP35cid5c6xG_wk5ZZsQyigCeRfSNllq0x7iWBT69TZKQ16Ye2r3nXZQvELiw"; e_fb_requesthandler="AcKtHtQLArGslOiQjSqMzO_pNY4nQ_JnS3-ZfcZ0IDR2dtZ6_YFqP7TWf_Hr2-RopreWWxvv09c"; e_fb_requesttime="AcJenMU1Ms__j0LQkcVacuse3r8cHVA4u6reoZ9YIVeRMqCZ1EjB80vf4dIcHq5Ry6QWMOx_-w"; e_fb_builduser="AcKizwEFIGLkhUFbefERpLfO9yggPQfKT1oFc_poAuk30LXvV10mt55iiPD4oJwa324"; e_fb_httpversion="AcL4-MmNhJzFc0qlqw6S-HLViDOLmtTIjJhm6NJSq1FBFLb2lq31akW6dCBU"; e_fb_binaryversion="AcJjoCDmkAtMOgjVYVcgJdDLyvhkx5vZbAP3hOB5CeOvs3t00Rbxq4MA1pFTGUaPPz4kDm385-EYLBDmuBSvSgiBAxifNo9orBQ"; e_proxy="AcJHTwuLjD97vfEzkud8W2eydkzNfuVykHpLWWU5D884LrNiwAoKxs9rfD9aw68bKLcpsP6duvjVFZcifXep", http_request_error; e_fb_configversion="AcIMpM292TRbePf4xAHJ1fEWvOZ9EO5Bv0dWbkyNliRmM9t--db7dgUBCcl92A"; e_fb_vipport="AcLUoLdPgBjOR1_1JFXljaKJYAerfoN7tnIjmrru8YhY6VD7Le_QVCiL6xbm"; e_upip="AcK4V1LIWCQleG0dsR_Njqbf_8DLmS_8WzF3I2PMn8Etxli7vtIE9hD8tKVxa9OQ5Yqmmm7jP37rgm82jvQpCG-ok2iHn4012A"; e_fb_requestsequencenumber="AcIbgxezsrlyCkfb6ssGlGx8GQoXPfnU8BEnKOQJ5Mknq4gjg9S0uwk2Mg"; e_fb_responsebytes="AcJAFXQMPNhCxzOw2c_RBLs-7zhKL2qqJ-j9cu5TW_d5vuLXVhMhA8XJ3Stl"; e_fb_hostheader="AcKbNxcBxkdpe9neEVbDer8OtiSK6Mxi7TJ3Y5XLRsbSwDhCHylWS0N-FQ2CT_3oDv68UA9aolTi2BuH"; e_fb_vipaddr="AcKSPe2iKurl0NRWTP7UymfQ_lXC4Nr2sULnQYH-7QWOETEG2djkTVYvoX7nFhHBnyj0rYVodQ"; e_fb_requesthandler="AcLSZ2ZY7KVX68HxZpmjA1MHnt0OtEFi66U9YpuA0mLx4hNSkpJcC_l2zd9QJ9ClWpBkvfKYdpA"; e_fb_requesttime="AcLTNTDELQ9xu59_wkyh06y5pYgqAZPIdXkXEPbkAqTOU-uZCDJFM_D1sw9KKeTo0-TksEFLlQ"; e_fb_builduser="AcJU5YgSWxA_Wg7c1k9yWfHj-biehh5XjQbmDwdYl42vaJuEiZFbSIHsy8IqIfg1xRM"; e_fb_httpversion="AcLcP7e76JEMKWq2Idi5PPsONjbM-esAJclqYmhgkYxt-zcW5Fvtr6wSyJoQ"; e_fb_binaryversion="AcIvXhzpUQNSc6wMfnATa-_5qfU3eMjMKF6nnOcLXYr1GErHXRugyvozM4ZmRkx1ycQLmza-dxW2ajIPUdGWL2sx0ggUXNMtKBQ"; e_proxy="AcJZBzCOnyUWukJ5q6czH6ZJzZeSLr5izVT524Y1l6vJnLdbHrL0Okel-206_NlNtklo9MsYhTtMaGnH"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=82, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25747775834837705"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/17/2024 10:47:53: Error on send one message facebookId => 25747775834837705 06/17/2024 10:47:53: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A4O4szosNkfy6iQmJ1xnrau" } } 06/17/2024 10:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 10:49:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 11:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 11:45:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 11:46:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 11:47:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25747775834837705"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9102734, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWTz8_FUfKyRbsrmUSvNoZW', 'x-fb-trace-id': 'EWcQFBazdHK', 'x-fb-rev': '1014265750', 'x-fb-debug': 'k8Xnknth67/DDOc1epmE26mUXfWDQIQl1vvNQVNUuWu/5wWMA4UAF2lhWvLRtJyhzFa2A2XILqGbRiTh0445uA==', date: 'Mon, 17 Jun 2024 11:49:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLXnznuYrst4KPbYRaLFGxxtymANg7vC8ZTbbscFWhC4BiPERaIo7HJq1zvRA"; e_fb_vipport="AcL_J2wsOiHmmoyBDFT1TFCZDqYZiaoo_5t6ChN_T1M--2jYe2LABGud33gI"; e_upip="AcI3IG7KOu3ozrIGbITcGhFa0IWUMYf6pqjdaLa_i3xJyedrJ2SK-VFLbCbrouzDFxFCMvOT5zBFEUqmadSqxhnGkq4Ll61hQ8E"; e_fb_requestsequencenumber="AcL88uMwAyjnE5KHHK6xY6ZoeWgG37SvjE5lDnGMQYARJ64mqlhwQA6ZXqN4"; e_fb_responsebytes="AcIXiGXIAUbu5i5CcRtChhieP2WT3VNG5_uYpWrUrp4csLW2ukwa2Mq3Ut6X"; e_fb_hostheader="AcJNjjub-RTw9FA3cpUaNDLCntG6UjTPi79YZfNrwbKhWsRVvzWlz3ZJ4LZA1OtK7wOkeWin6n-Ff5Hm"; e_fb_vipaddr="AcI1qOciT3Ds5fRhnRo3z8DIhM5DYrAGhDIZTotD5ps9Ot33FFoDb2A6b0ONjdY9ryi-zbg3jBnK9sNJByP1-RZJovsN7i0JDg"; e_fb_requesthandler="AcIE_qNv3nNiT6mdncQlHSpJZ7ez3CHLcvW0padKWL60m8kbO24RO8uJO_mgqsfoatCpGKIq_e8"; e_fb_requesttime="AcJigzEH26xpfrOUufOxgqVZFaOFd9dfHdIaoVeBxsNLwv8rUCm_Ns86SRvj4NJPzHwxi1HFNA"; e_fb_builduser="AcILtcK05-ZtAR3ThhHf8t15A3tS9tk7TdwU91R9ha82KlF8hX274IK49d7fnYjtjh8"; e_fb_httpversion="AcJ3SasRkHF1s1lQyP4osNyX9nyiA-p29BQz3cTvfkiILkcDnCaqZy5guRgs"; e_fb_binaryversion="AcLKlxAzVZtMTqQeQVSAiN8QcA0jl6agLId9GyWbslffBvXFVjJe7bh3i1dHp9WPd4-2ocfjz_W-dTjdFUrX-26Xloemve5sK0A"; e_proxy="AcIko2eljYU-ONq8mbbsZ1feQlH7ESBO5km_e5UgvDCNZWjB1dk88y4kT67U8zL6mhQ0_E0qNm-Y4MuW7Ro", http_request_error; e_fb_configversion="AcIPRtJbRMZJbbGSjCYf-cWgupjNHLPZN_DgMRVrW2XlvwcdEdokiQ4IIJar6Q"; e_fb_vipport="AcJV0HU5WYpIJ3GmdvHWS5BqrazMNhqDbrvUZBjUngpvT6jDOvDsfuhgat7_"; e_upip="AcLIi3cbbAGwMBvGPQreV-0aqTELO0cRdXE1ffDpgDshnNhvUFEwZ3PTZWZJ9INviZwiGnWZ6Zx8jg6vj-kijHZmNbYDdqm7kQ"; e_fb_requestsequencenumber="AcJQfOtVx4tF9BtLSsiuaBruSOfUPUvabkNYceQcJCaWh3aDrd4TAz90Gw"; e_fb_responsebytes="AcIAkeC3UmD6PpB1tlc2J1NalSOG1WkN2K8pEkjqNPvpmScFiHoxWKGA7cYW"; e_fb_hostheader="AcI-pkRjMXlai3lEz_4X76DeDltECd_EShXMbRZsgLXuoBlT-RvvJvkAvqOMXTwKOUQoyAauacckdslA"; e_fb_vipaddr="AcKuR_qBTFvqWbOMK27dI-9coAbWiGqrqHInuqwNhPau-X_lRYTn1V_hRU6YDIOJKdxLNw"; e_fb_requesthandler="AcIQa_YI2Ap1TCqE0FZkIbqy1XeOQalGfkG6-m-8wDyy9Qt0D_jiPAmx1emg46ah3UGcl51Qkyc"; e_fb_requesttime="AcLmOQBRH5g2dULxGALKth83DrnE45TJNa0qiHYwCRYEl6iwuY_DG3Gmc4868BE21MFd02Eztg"; e_fb_builduser="AcK2XdcJh_ui5l7hlUDPAFZ1A8mesxZnb7L0s--_6G6CPcXWZchlZSEtXHgAVhhjbZU"; e_fb_httpversion="AcLazhYWl0iW2wJY5nsPccKXTtV69Fm6EUTuoOXNFktASF6dU1ZKKaj5ggI_"; e_fb_binaryversion="AcIKIc-m8MSah5187jLGitXMja9UlAyMaSSCW5U060u9zgwXPAkj3Bd3k7KhI_ATIgpXs5Oeu5v6w842BTsgOtrAwirLimBb8gc"; e_proxy="AcLKtAWtVaEnhdqA2vqNG8atkDxDS4Ep2_IKfDSsC6qhS8sBF2QQGnXQ4lv775GJAyhgc231I1mpw5U"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=235, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25747775834837705"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/17/2024 11:47:55: Error on send one message facebookId => 25747775834837705 06/17/2024 11:47:55: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A52qFn8VGed6_VJKcVQnYKD" } } 06/17/2024 11:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 11:47:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25747775834837705"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9102909, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AILtnXhGPz6tajt6KL-3ycu', 'x-fb-trace-id': 'GmJdySnvDMk', 'x-fb-rev': '1014265750', 'x-fb-debug': 'TdxGh/xXY5YNfLiklgYHpwqdkpDR5jlBZWarhibUnkdzjS/RERJjrRiZIFfu0ZV9+DsxlKLA8c1F18me54rn7w==', date: 'Mon, 17 Jun 2024 11:49:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJFr9BXznsoFO-XhH5KdkzH8X6p6lkQ6W023ha6dSkpqfFjbyQhhrl1g5Pn2A"; e_fb_vipport="AcLzvc7ovedgpiWbSHx4FXRe3mfP3U-cFWFysqJTOrQTlJLLXLSP8xGchsZt"; e_upip="AcLVGU9niYgEm50JVWHkqNSQWwTZZ0D0qhkhapfisYYiZUrlcYGD_G59vk8BPVptb13Au-Pq4_xe-Wy6PL-IMmOLwyd-TuXQr3I"; e_fb_requestsequencenumber="AcKvnEa4nr7FkfU5AKZFXQ_Z3xdB0BRgdTurbV7cGXjuAUcn2aMW99325YZF"; e_fb_responsebytes="AcLDqZ1cXiKXljON1buC3Ppf2dNSmUsS-Bnx5MnIp6KkqnZVqdkMy0HUhQyf"; e_fb_hostheader="AcJm2NgBJSAaDnRTtSoB10a8GFUrvTJYVyEymP18mx1sxLdq_G-oNh3EGRn_g8BalKR9fcbLosm1clGg"; e_fb_vipaddr="AcLM1ot7Jm-0VDaANes2OrKXqQE4Wp2unLYdDvWIJ42DZexPG6V1h6-slriy-HJrkP-s1ivJI6YMCuNqmUohdTAnoikXYNkePA"; e_fb_requesthandler="AcJ05o9fLR89r0TN44FSic58tO4RDQv_7Q776IJbi3O4ej07u5o8tKJq0wil9rMbIsU7pEb1Lb0"; e_fb_requesttime="AcLuatOuLGq02kN8irZ7em99_ADV0IoNJflizwI6yigTSZNapXXREvBbF69yNTlmn5fLryk5oQ"; e_fb_builduser="AcK_ghnF3UAtw7lJ1Keb20NTeRJVlYKJsT_yRG4zRN3vtDJw00uMHCF9r_9L4RXDgbA"; e_fb_httpversion="AcKXWjCSMIYIMVr3eYq_5KIluJWX_NgjEC9P2aZ1tRR7ubvVryG0KHTJlP6Q"; e_fb_binaryversion="AcIBDYM2Jh12TS574UxRrtWgEcgIAW6GHIJc4K936xdqcRMjmgs3rHGUheLVoMLcstwZDgPkwlRbZY0dGk_txPv-2HMEmcN4vzw"; e_proxy="AcLpK_NVmoccaSqnojquBNbwiLiCi1zhhBWOmevRhJ2f6T4sglgG7-iSm_1As5VZeT8TXRfsRY1jArtbS9I", http_request_error; e_fb_configversion="AcLsuWFD6XHKyvVPhXT6eoJfPpRxi-QqEzu0uRTKVy8Yn8pRSdrgYdZwoMB--w"; e_fb_vipport="AcIBD51lSlmrXiO-ba6KThyxeOnSD_QvJwh1FQjRIAq8yMUob0LIWrvtZXjG"; e_upip="AcLHRcFBKUctFLnvNGc4kcn_KeqxOBKTj4mMVLqVm545NqpD7ed8JPANutXqmMTsOxCmOL3ZavawlK_3WpluxotAMfFssdvlfw"; e_fb_requestsequencenumber="AcL-1N3a14GPqmdqDw7o_FhTJsle0gHUVmFGOp1temWS6gUC0p2jiUtBxA"; e_fb_responsebytes="AcL3Sx9qGuiIH3eXkFdWflXf_kEB6M17KUswBJ6yBuGOUDBybpRwJNuHQXVN"; e_fb_hostheader="AcK4dRUUx4La9SZk3zmHyPjY1HnEMiMEgc25I4eHMeP2-q9ZiG8qDUziXpnt2K0d9U20Usoqt9zlQSWp"; e_fb_vipaddr="AcJuZ-P0u1Gm27B-Fm0jwT5O2_FvXWcqy-QjLPPorXMtcmKIIYYadZjdQa9ArN0-Dy6B6w"; e_fb_requesthandler="AcIAFm0WndD7N6nXQHrpyAhfZi0P0D_FkijzYaRWqwlJUKvivGJyTP6rNnXJXVw9W4KFh38oOJk"; e_fb_requesttime="AcIqxfGfVWCqXU377Nxh3__hB239dvfMa3acL5ql4SFIfVnYeAN02_7j67rEM20ZUWddrbjO3g"; e_fb_builduser="AcKns6Ro2EdH4-7Gife-aEeEXv-cSiYYA5cOPQdMwfkH1TBdlWaPIUmlVl1oCxldi4Q"; e_fb_httpversion="AcK9iRt4oYJ5vn8Op3BzBK41HUbmb7-X-d7ZbJdv3kzcUlmRvA4q0TtCmLLM"; e_fb_binaryversion="AcJ2krnHqY1eXNos9bkn134i3wZObg9mSHLV6xcllChUl_Hn9JLR_jGLd9rNhSv7sV_eJzOURo-QmZzdXNgINq69My4zXq91fPU"; e_proxy="AcKxnnHe6_b94bUWB-dj0omUz7ju6aEYcP55sj7QGuu-ZQ1DJtIVvWqgcpO4AumXiec6I_VNH-kuf6s"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=165, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"25747775834837705"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/17/2024 11:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 11:49:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/17/2024 15:01:04: Request bot not found: { id: '1591915494408146' } 06/17/2024 15:35:54: Request bot not found: { id: '133788230054854' } 06/17/2024 15:36:42: Request bot not found: { id: '133788230054854' } 06/17/2024 18:50:20: Request bot not found: { id: '133788230054854' } 06/17/2024 18:50:25: Request bot not found: { id: '133788230054854' } 06/17/2024 18:50:30: Request bot not found: { id: '133788230054854' } 06/17/2024 18:50:44: Request bot not found: { id: '133788230054854' } 06/17/2024 18:50:49: Request bot not found: { id: '133788230054854' } 06/17/2024 18:50:58: Request bot not found: { id: '133788230054854' } 06/17/2024 18:51:04: Request bot not found: { id: '133788230054854' } 06/17/2024 18:51:18: Request bot not found: { id: '133788230054854' } 06/17/2024 18:51:26: Request bot not found: { id: '133788230054854' } 06/17/2024 18:51:36: Request bot not found: { id: '133788230054854' } 06/17/2024 18:51:47: Request bot not found: { id: '133788230054854' } 06/17/2024 18:51:52: Request bot not found: { id: '133788230054854' } 06/17/2024 18:51:56: Request bot not found: { id: '133788230054854' } 06/17/2024 18:52:00: Request bot not found: { id: '133788230054854' } 06/17/2024 18:52:37: Request bot not found: { id: '133788230054854' } 06/17/2024 18:53:34: Request bot not found: { id: '133788230054854' } 06/17/2024 18:54:40: Request bot not found: { id: '133788230054854' } 06/17/2024 18:55:22: Request bot not found: { id: '133788230054854' } 06/17/2024 18:55:59: Request bot not found: { id: '133788230054854' } 06/17/2024 18:56:36: Request bot not found: { id: '133788230054854' } 06/17/2024 18:56:47: Request bot not found: { id: '133788230054854' } 06/17/2024 18:57:20: Request bot not found: { id: '133788230054854' } 06/17/2024 18:57:44: Request bot not found: { id: '133788230054854' } 06/17/2024 18:57:52: Request bot not found: { id: '133788230054854' } 06/17/2024 18:58:13: Request bot not found: { id: '133788230054854' } 06/17/2024 18:58:56: Request bot not found: { id: '133788230054854' } 06/17/2024 18:59:31: Request bot not found: { id: '133788230054854' } 06/17/2024 18:59:46: Request bot not found: { id: '133788230054854' } 06/17/2024 18:59:56: Request bot not found: { id: '133788230054854' } 06/17/2024 19:00:51: Request bot not found: { id: '133788230054854' } 06/17/2024 19:01:18: Request bot not found: { id: '133788230054854' } 06/17/2024 19:03:51: Request bot not found: { id: '133788230054854' } 06/18/2024 00:52:31: Request bot not found: { id: '1852395741674621' } 06/18/2024 02:00:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 02:01:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 02:02:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 02:14:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 02:15:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 02:16:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 02:55:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 02:56:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 02:57:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:00:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:01:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:02:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:07:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:08:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:09:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:14:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:15:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 03:16:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 04:07:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 04:08:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 04:09:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 05:44:47: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9302923, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 18 Jun 2024 05:45:54 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/18/2024 05:44:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/18/2024 06:38:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:39:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:40:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:41:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:47:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:48:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:49:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:55:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:56:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 06:57:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 07:47:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 07:48:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 07:49:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 07:55:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 07:56:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 07:57:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 07:58:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7701758523272911"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9329734, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmLK-anRkQssuCaxPZEmspQ', 'x-fb-trace-id': 'FKmRODjLIM6', 'x-fb-rev': '1014297812', 'x-fb-debug': 'y/ixhiObN1ViItTIxm/9cWaxTKDACXTqB2uvcMVyIDVdnnPaqi5X4l2NyGoe8LSE4kpQwvXgW1yBln6ZDablCg==', date: 'Tue, 18 Jun 2024 08:00:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLsoGQvEM-lL598QQsFxAWQ7-WmHOeA6NoEBg0tgc_DTit_1VgeBJ6Mk5IfFw"; e_fb_vipport="AcJhy_QMAmLINOTPT_2FZin0l380X6pFM47QLQMOEp7nLjvE3vQ_kQGxj6lo"; e_upip="AcJHgHcGiDHU9mpQnvEOcuorRwPJXtADJlrxUkP_hFiWwI24dZBUfqPzrxn7QgLPGkS23mmRtrDKbQ-ddkMfD13PP3mCsSKQb6I"; e_fb_requestsequencenumber="AcJTspwBXRwz9O_zl8YAtsfk3zY4H4I9zqAVGgxjvYqmK9Caz8QHHcLb9GE"; e_fb_responsebytes="AcJ__lGvkNh00K5-QkknLlhO8t8a6ZAmx0isV7AtU_wqTvNxIbCoRBpJOgea"; e_fb_hostheader="AcLvXUBfbDRoiN2OWjGe-T6TGgV9xYgjzszA8iSzubTJaDdVPbQ4u916smhHa7ktwYTdRhlQHgyEM6xV"; e_fb_vipaddr="AcJih7DvbZmUPbR2sl_Abe8T2iOrrv81FkxHgz5wXIZxvRIizE_l9f_bsDN19xzsTPeUCWdD8N1h9o4_UlB3J9JD3cjfZl5GSw"; e_fb_requesthandler="AcIlecKQqfRnBzTB9GqYZD0A6sKfpuMpBfW01wnnd1InoU8JPRVu-aupGLBco2fbzOxivHv-2v8"; e_fb_requesttime="AcL1_F_GsEQjUiljdUzVdBpDX8Arv0Ec9m3ifhPuyb18EA9YBv12BYTbGmXhGH9jegaW266bwg"; e_fb_builduser="AcJryUBStmn48QaKlsfiUdvH1tybuxLrQZ1oKb1V7_3oFZDch2VESBPBPRK5bfUqjeE"; e_fb_httpversion="AcJsgRNGuqSzxm6NwnoAGDHec-vbwUhLySPwssJjrRbys-tbWZ-vZ9BP6oVm"; e_fb_binaryversion="AcKT4G7zFiSyS-LwCkMff2pmtlxYlIXbZDXwrdUhz98pTzY6RlZ0Prg9bWNUHjAOnahwlK_P3EuZKcp3ISutbAPlhqYxtlwhYec"; e_proxy="AcLcuUOPoOQH6lVshI2SY62kU2EZ1g6hRFO6Bt9DOmVvO7_R_OhABke5Rjz4aNI3oElaxP6CG9AZ1MP0F4Kl", http_request_error; e_fb_configversion="AcLXt4nwOG2YUxUh9HnpFdM7-o51wf1PeoAxBJQkJ7UTvtGgrlWJqTN8uKVbzw"; e_fb_vipport="AcI9nlwGREZD6fqGvJhgow5zV5ek6xUjloBHrXlElT8ANb91vz99pioGcRkm"; e_upip="AcKuZ5Wp_DubACh4XB-IMWt1Zm6BU5Z1NjgWeibHiwolBTxuwaLe8B_JYfepncfBn5vtNARX185JJEBig9eW10HISujQEm6MqA"; e_fb_requestsequencenumber="AcLYH6VKmx9_tqWv_dPEwhxV57w0WBnMw3uf-RFAdwTvy3aTlGQwsvPleg"; e_fb_responsebytes="AcIQBYIroIZ62ZvuVKY9A6h58HsmPWNwmatjc9AQDYPEPw-JEbk7x4_hZGGf"; e_fb_hostheader="AcI_qValfcrB8prLfdu248c-svAS8hPOd-WvXQkqwKcJF9hCkLU80IGIOOu8DbP0qA4np8ELc8N5JSvO"; e_fb_vipaddr="AcIjApM4w8edjkWb4GqGE6a8coDOhIFcKyXWbBLTbaQl1UEtw2OjF4TdFpPMq4uC765sJA"; e_fb_requesthandler="AcJxpXlvxwJF-H1y7Ay1hhyzXWOB6dgeAkoRV3rAKyd4BpVLi7fQk77nBR6j8mf1eH8hoFNunIQ"; e_fb_requesttime="AcJXqxQaHMDUcaD00Cyo3ojpGOx5DlQdwhgDg5aV1MRydhc8V8kcE3Fb-du_IRSpwnhe54nHaA"; e_fb_builduser="AcIhGw9Qb6lwdY0RVEx8BHlitU0gDBs_8hp82HXQPyWvxKizjBgvpgn1izI7JM617_8"; e_fb_httpversion="AcK2mMxVvqxy3_WJQdH81C_axm58r4slb_C11Fo-3l1ookKEgMgZk_BIjUYr"; e_fb_binaryversion="AcJlmE7TTWSnPF1t1FMkamjZj52fD-i81VMZdcXw3XuMU9eM_Z21Cc7JOzc16_2kEMKOhWRSeA5jCgcjlV1GL64ke2YTffh10qQ"; e_proxy="AcL5ZX8vgzYXJdZtvKwku-PMiwEg8Ze8Z79NTldkgu97386kiZoqlEQTfijv42kb4a1u6IM1QELWGWk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=154, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7701758523272911"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/18/2024 07:58:54: Error on send one message facebookId => 7701758523272911 06/18/2024 07:58:54: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ATUXhi3po0iWaYYYhmhdZ_X" } } 06/18/2024 07:58:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7701758523272911"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9329908, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgCj2nueir0WtUbquR3fAHR', 'x-fb-trace-id': 'F6AOONu0FBB', 'x-fb-rev': '1014297812', 'x-fb-debug': 'yz4KS5Uqd1ubbduajclKs4bsOFZ/Qw2MZ/FF6MQPnMA/x/RvHEJONeBm1YMmjeBgBJsaiakHXSs9inuGIR99sw==', date: 'Tue, 18 Jun 2024 08:00:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJzryGvkEr5twjsfUS5pArvMSWg7L--vYtrJ_SBxrrmnrQGTRQrpozLAEJSVA"; e_fb_vipport="AcJmX01snEqECEGk9D0fO_jsRFidgc1blsZ2C3QO5AzlzKPJETBPpILdxEHi"; e_upip="AcJkNL9ytYyJQSQWHTXKWix58zOkCevRhrmV770P53gAgmwowMIuqjleDepXGW4i3Ehep-JBxAXwoAsozZf9XGyASXlOMr1kb4Q"; e_fb_requestsequencenumber="AcIhig1KY98qhrQFm5XB5agjuHLY3WCc-CFGmaO1jtzsH3S7N-iEq4CWBAEp"; e_fb_responsebytes="AcJ3MHgSV9d8jWqvrZ6CHKx-T-QKTlSdzH_wRH5sK7ikqcr_RB7B82POvJ15"; e_fb_hostheader="AcLy7UJB1HNKlIuztBGVfOfQF_vgfr-6x5WpjXiucpmdDovZAlzYaTd8pwxJrN2mWYJoFsPOjYLLXKFj"; e_fb_vipaddr="AcI2xwuYyBvI-Lu9oipalPCFzFlyXbAcBoS0OoIzz7MV4wtwp5BA7qS0mNGKMLo6Rr_E2Om1XeAXYbh9-P-YXUsNUf53LCmFaw"; e_fb_requesthandler="AcJeRmNNJnBrsQiPFIoXj9OImJU-aw5nViemLsaPbE02nXKf8XVVxMsy9fILumfvgmLRQ8GwMOM"; e_fb_requesttime="AcLR0lmaOiO6h0lpdKw4JZlX23ut2BqlTgtNWXBzWrBocii6AOvuZ5HDkx5A8JPcrPV1qN4-nA"; e_fb_builduser="AcLOBFElYBskoFOUj8aMdTLDhfC__rROy3IJix1tfSmw9vh0c1Ys1LIOfL2SgbjF0Bg"; e_fb_httpversion="AcLEy6AMxRx2sq4_pKVj66goNfWitmIMQmt8Fnqc-g_7MIsiSdndcBOLXxFt"; e_fb_binaryversion="AcKXdtMvfkADIDizW-DKi0AEwZi8MIy8iSMIx6bQts089jvMserO8Z20S-Z_hnC6bENXLaM___O7KrX0z-mI3WwTXFt-EFjPdrA"; e_proxy="AcLC6LiPG0ZX5Ch44SN9rTuYimU0TbyAiU59tqLlNNdJErP3MqB55k0sdkiDQ54dAzwu9X8sYQPRapIdDs7I", http_request_error; e_fb_configversion="AcKy_yJBbP2GbznLM-L85fPOAZhtPSU3MwW-7ap8YmXoR4WBxjw5ZAOsES7RKA"; e_fb_vipport="AcKrFvQmQLNxEiavbXRtimtUZPy260oSp6W7Jjfpbb7QE_XdFEy5hdHawXz4"; e_upip="AcKnqC5Yvl0J7D7KlEoYtZWZ7KndBF7R8oqz5DY8sNj8AwEgFhU8zufKkR2pmx1bNClSNrDhlmmhlDgNdyR7wy_tSc02Ahk-Bg"; e_fb_requestsequencenumber="AcLQz-SNo236vBUs2FKJyQUI-f-vBk5Q_2kKfy4Zm30vE0rnEOGKYfPd-w"; e_fb_responsebytes="AcK_bDVlRy0rNgZLzJMmJ2uxmIP0W8JZuGiOY6D_nqPm9zrj7CND669LdDf_"; e_fb_hostheader="AcJyiMS8dA1ba_kJdXT_tY9p7E3WsBNIPqBC6QkJWwNp3Ohr957TVaeJTDar9wxPcidL7wiW1mrKxB9W"; e_fb_vipaddr="AcLcnIi5QOmh9v7LaDX0WhzH1SfcZpuMT_YGTMnaB2bv5bRDKo309JNgHt3pYL1hbey74A"; e_fb_requesthandler="AcJ9As80f3fZFudIsfJA4TtQx9TP8cSYGH9a4d6ii4JSlUP79xzf4VagVMOR2ctF8ItWxEFI_yM"; e_fb_requesttime="AcJqpm0Y_SG2ZR8Tx9ccLIB_fNG4HbmiEVuPgXsvB7NK1IhUHlO8LvkN1jL79zxmGOy-BTwOKA"; e_fb_builduser="AcLus5laurWTdlkFu5aSw3C7FdZmU--YCxIV6l3M5VkUYGy2tUX5IEmG7TCGd4kpJVU"; e_fb_httpversion="AcKV-6S7_cdY7I9XiyJz-xnoBiy0_vgzGAjNQsoSlxPHwdnUj0QTe_sVNmdm"; e_fb_binaryversion="AcK2OuduIbWfWCHpUr2CWgN8VJE-IwYwEZJPy9BkP1LWkg5O5OH4Mt4YGGM9QQi775QIZLbFRBd5R6d_MT5i8b73iKAFN1ZkO24"; e_proxy="AcIxwkrihgUgOJlaDKUSI_fgDdh345EXqSaDOxnXahQIj_IgUyuam-UwHe7-QDwhq0YkM2TThMcVnvs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=157, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7701758523272911"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/18/2024 12:53:16: Request bot not found: { id: '234064353428134' } 06/18/2024 16:34:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 16:35:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 16:36:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 16:37:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 17:34:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 17:35:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 17:36:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 17:37:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:22:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:23:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:24:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:33:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:34:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:35:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:39:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:40:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 19:41:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 20:12:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/18/2024 20:33:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 20:34:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 20:35:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 22:43:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 22:44:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 22:45:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 22:54:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 22:55:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 22:56:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 22:57:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 23:08:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 23:09:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/18/2024 23:10:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 00:53:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 00:54:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 00:55:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 01:53:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 01:54:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 01:55:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 02:14:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 02:15:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 02:16:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 02:23:46: Request bot not found: { id: '133788230054854' } 06/19/2024 02:23:52: Request bot not found: { id: '133788230054854' } 06/19/2024 02:24:42: Request bot not found: { id: '133788230054854' } 06/19/2024 02:25:01: Request bot not found: { id: '133788230054854' } 06/19/2024 02:29:59: Request bot not found: { id: '133788230054854' } 06/19/2024 02:30:19: Request bot not found: { id: '133788230054854' } 06/19/2024 02:30:44: Request bot not found: { id: '133788230054854' } 06/19/2024 02:59:31: Error on send one message facebookId => 7474278196027861 06/19/2024 02:59:31: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AIh58PWtD04jKQ0n_551tIM" } } 06/19/2024 02:59:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9546635, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A319JSQ0Kr01k-tkaoBeJan', 'x-fb-trace-id': 'CjUqYjHIU5W', 'x-fb-rev': '1014326238', 'x-fb-debug': '5pojmc/sRJhYByFtX7uKXaZ9L3ZB/ULCOACM4GhIfRIW8gT5hr2lxjMdG/fxU2gbDAkCuN3++639uTk0qJqmJQ==', date: 'Wed, 19 Jun 2024 03:00:39 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJIp93iNsFLFz-wJrxYG-iE2YC2RzB40Pkf21T_ksW5ZTZbom5rMFQ4YFXUHA"; e_fb_vipport="AcKTyaa3RBI33KgdBOe321ncRX1s9MboN7Y14mueK7xBDNCVrxK4u4WK42ho"; e_upip="AcJ5cjJCO8Y3MndqGaT05dM3Mz1rM6L9EetbSHJG_JAAK9DipteQcA6oCZFwzQm4zqD9BQn01aI2BTmkdgsvdkYuh8JUsiLvvg"; e_fb_requestsequencenumber="AcLvLX-_SPrBMLyBpM9SpEGjray34fOtQBvAOj16fyYI0KVdVhSqA8e4re4-"; e_fb_responsebytes="AcJMw2ZFK88z2Oe-ILkfv0N3w7TTyESaBEnnfA90sRHdDsURhIcWVmBQIrFX"; e_fb_hostheader="AcJq3dj8-ZGd0ayxp7ErW-UeWBwLgkii4F7Uu2DqoAlMWlkbEIiOYjcam05SKyqCddSpYsfEooCeUNTH"; e_fb_vipaddr="AcIXx1yOWmlVYVMKFWGh6d81asKG7biSSe7KTB61W_x2MvgafndOy6xluXfJ4Q1b3ztw0Xp0hZ22M6mEW0LkJjZudDO9EQeYng"; e_fb_requesthandler="AcLwNbH52K78ciA7TFcD027dVG4r4XHgmHlp-pSdBqTXp90Z9Vgw_t7Pq9zHuwSTPk_7uGSTaY8"; e_fb_requesttime="AcIgCmRqaEZ7n4sPVwRy8FfhpOqPnQqZ5J-HSYhgwNsaP2gdMOSFzTWouqBqhM-gpIHrsbEnJw"; e_fb_builduser="AcKHC-GqYNH54RO5yicCH_pfSEsYJlbgo0nKYuLQxj0zzj9r33YC6x2wmeOpaMc_1OI"; e_fb_httpversion="AcLDkDs4jg01SPrE9-LHXdl1Ig2IZ96vOKGFRhvu6TAnh9OggC-0-ZFnEUEh"; e_fb_binaryversion="AcLKIL1EYXn6HIhd_hIgU-6_DkSpYt6gBZlTTWzwxozqvUFIfz0cNNGC4jQ1wdxGtc4xYLWZj82ax7cSyKW1BgwvMjnOPSfSNdk"; e_proxy="AcJbwtp-Fv7xK7r9BpbKHHi57xxtCZVz45U3D8YmVbCRFjs3HyYyt9mprYWx8F1sLFA91zzJ1s9-HWMldxYe", http_request_error; e_fb_configversion="AcI-RwFdXyQgbQQ_E_8rwS0SgnN1mRloam9GKSYImM7bdwTXrdM6UBSz22mEjw"; e_fb_vipport="AcJ6wiC3hv9Dmy7MXmgpzxwnsXO15GgiCHddq8uc9jjgrNfsNVEu9wir9G--"; e_upip="AcJ-fVXml-r9tbMYPWK2GA74greewKOnSdSUGe2fRAcW0bnh6QWCEPGV4f6_nIkcVk5AA1uz-b8KQQTsflQEsryMQvHptxTy8g"; e_fb_requestsequencenumber="AcJO3fCiHE_2pa1Vx2SQqMcNWL1pj9QdFUvpiriZvj_Vb7eopumDht6Ohg"; e_fb_responsebytes="AcI2Qc37RIPeT0y2cdHze2GiCmRsRYM6a9a9IOr6_sJywcLemdlwJhcwWe8U"; e_fb_hostheader="AcL8DMFkhXVKEYMOdRC6KRKISb_ZCqKupfIWZoRsBOGpgX7DcheMQf95NT2HMTAbw7YT-FfKQARBWZUh"; e_fb_vipaddr="AcI_ZzYQEjHlfb8Hq0x7vZ0Fj3_knfPfPfaHfxPsGYcZSH6f67aDJrad3mvPvSEma7fdeQ"; e_fb_requesthandler="AcISrx2hPgBQ5I4b47TztndfMyge52D0DvRy38r2cmJ84PwAsPz4tPR8-ze-S9-EK406tM8lhKc"; e_fb_requesttime="AcI14QMeEPafXq0NTskChjT-FROsnzMya6acFx9i7SIcP8FPSWGq_Eh-9qtiYfGBrUFWKKuifA"; e_fb_builduser="AcKaLLwYlzlNoEnn6KOzDjJdYkcSxV-PKTVa1jUElAhGrHM5lBHR1pPNL372kQG3_Kw"; e_fb_httpversion="AcJYii-8POVS7zGxMdAAC0OcfsMdw9H8Rfnr1Q1YUo0xrhbDNTQGV0ixcnDt"; e_fb_binaryversion="AcK009dCR4iX34c_0GGJMhejoWp2cqBM09p5gJcqcND-s7NJTPA3FdvAKyAkWeUs39G-uDNwjbm3clLP8dEeWAB5msqjIznizxE"; e_proxy="AcL2-K71ZDKcSi6eR1nHkiiT-V42pFmTxAKQNYH0QAgCmZpSmKVvjUVMp_xu8zScNaYRsCVjJZFtBNY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=207, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/19/2024 02:59:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9546877, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoFeaH5lDlN0jCGrg1kSoYv', 'x-fb-trace-id': 'CyTcC3gZLta', 'x-fb-rev': '1014326238', 'x-fb-debug': 'uX4pxOHo3rLtkHj3Uf22CiY19y3372M4Kg9XxHvIJUXYTlWQd6soG7WMOJRA1mhWP2ZMrkJbcyMc6KYv+UDN7w==', date: 'Wed, 19 Jun 2024 03:00:39 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcIJ0rgIMQu6IcZe7m5ZRT90rbfHchlRaup2pw3a-VJpESbS8LYT4XL_95a8HQ"; e_fb_vipport="AcLDNSeGQ2gS_-pAnLu3qWU8VYLMh5G1niMugWWhsMNCPCZtUzzkgDccjyEp"; e_upip="AcIA5hWNlABHOsvRuHg-KOLUt9byx-J4zXEMhqUr-FrRGoBR6CTQ6YAKwC0BnnFaAnjxZDRrusWQ-kWVFr8-cX6S536-1w_kTQ"; e_fb_requestsequencenumber="AcJxbH-FDQyOvMDM3VfVoEV8FsX1cPyN75AJiZx7zrWlJtdhKZJ-TACb1ZWd"; e_fb_responsebytes="AcKpz-ChqBs67pnaYZC7Ovq3OABlZ2OV_My0uIAEWib2U29BwY9OQwKE87BS"; e_fb_hostheader="AcL8REsYmYW-494Zc14H_V2gRDXoCeBnYUcfrJTL1VQr_IEIFOKsftv1l6QC4EtniIYZLASBqXS87mTq"; e_fb_vipaddr="AcI9BgUxwOJT1LOGwh33Ex-_O4xv5XV90c4yeZ5FFwns8JTBxKb0yB7D56wOrs41GxmBbuN8GWWazth5ec2W2yvTIrx9SWU4kQ"; e_fb_requesthandler="AcJvUEe8DZFbQcUNFwqMg49Z8yc9VqndzaFNfMQHnZ0AYRK5irp0E_WX5aCq4AZ394KTGLWDWiY"; e_fb_requesttime="AcKIH0a4ayo6pDfKE5PYmr0txwy7cg8tI7epShetO3foHP1E_A5ZXzdI4qBch3mVJ6oigCHFvw"; e_fb_builduser="AcIIxe6NTyS99KVXYNsb70Z-pYv_kebYiU1ZDIIYjuVwgTl1LDKMDDHTEML-0YXkFCo"; e_fb_httpversion="AcK5N4ScDaf5hN7CtdFN4oma4tfwB030j4FKnv2i0r1IilROAZptmcLnjLVW"; e_fb_binaryversion="AcJzmiABOXMSST0YcShMcdZWPeF0tyUnGvWsbOUb9C_uazY-ij7xR6DqRbqyyazMVeP7f72AOipw2EJUu4EzIptoSUAR73uimfI"; e_proxy="AcKDi-amtKcN3NlEyppEJn0qigeOH85XndUNoTG59a8IKnSErTXHqTo47ybG-kde15yJYJdvqRmWj6IUfeI", http_request_error; e_fb_configversion="AcLG1TmnrgI-GEh1sHJELun-E2gKayI6o2vNsFx9EWu2lAh7vzmOZnYoG4Dacw"; e_fb_vipport="AcJkuLYE0iMyRJbxKbioVl075KaSWwoYCXfF5fDv5f3mmlQ3wP2fp60CulZH"; e_upip="AcI0LhccvvvqWPGsLQoVLLwnsvcna4jYGrQsfEUVyyLrf8AVQblrYHHlhfdhntKfyj1cj0zvYPIar0pybtdU_W8dxqz6YmAcFw"; e_fb_requestsequencenumber="AcLKJ4PqfweevAH2sZYWi5kO7nLXtHVDUBs9H3PO8NvLwsnEZHOUoZdRSg"; e_fb_responsebytes="AcLbV70pkqyvXlysj5bqiA6CGEKyOyJYqLgFnmQtY2kf5KM9elz2RYZ48qdO"; e_fb_hostheader="AcK3fLh3-SpvWz9Dikn__V7T29Re33QbUlq_jFz2xrNDfmI13QxGeeyKGRurvbXBOfcPQZOsWQhKuC5Z"; e_fb_vipaddr="AcLN_Y68swHxc10YisrPqZJns5etFePD36jD6zVkLPb00QAm6PRdW2olc4B76fPBJCbCoA"; e_fb_requesthandler="AcI3aj-T8gAAYq9fghFp7xQghCv1i6AlB0Uu5-7MnE3Pd9bDXxBzjxCIrKkGRVQTZCJauidvaC0"; e_fb_requesttime="AcLUZGDkpsbIcmltAjePjKx9XT_agDvl1dbql90Saqomo5d8yeeZIojLam12Xo8a3spaSBfylg"; e_fb_builduser="AcKXy79Vr_CSTot4wEhf6q0f0MnI6mHSDS1t1Kj5yin0c9FCIUbmM-a5cvMK_HojTQM"; e_fb_httpversion="AcJOZ2jsx1MZli7aC0Ysv3Qv6uNcYSzRiYFkEAVqmEwMF0_5iSg3M59Bj5zt"; e_fb_binaryversion="AcLg_vBU9KmoKo1WfAlRo-t_ZfhE7YH44TvQaKkb15vCNufc5q8-nHc3BCHcYIOUBr3ygrgdjbFgF4I5pnBPyA2lil5f9jUu5aE"; e_proxy="AcL9Q7hwoKwg8aPIWM3XeL2sUzM_baArYVmMPXw4tJwrFNosHF2mDbOE_OhP00D2N5XoEoEiXrLoWUc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=155, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/19/2024 03:06:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 03:07:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 03:08:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 03:09:52: Error on send one message facebookId => 7474278196027861 06/19/2024 03:09:52: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A3sBs9eENGaclnhCN8qq8bQ" } } 06/19/2024 03:09:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9549038, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ASPThOgd7v-QZLyBSM2jKS6', 'x-fb-trace-id': 'Ha1+xnfP4up', 'x-fb-rev': '1014322311', 'x-fb-debug': 'pE/6uXCnN2o40zjMlkiFjWgCTAvm1bvXZ78g3uT0RbUODGdir6+r3aCnV1ZimVFoEu9jqKjl9+NiBsnHe718eQ==', date: 'Wed, 19 Jun 2024 03:11:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcI2h4uC_rc3QSvwHvpBnbZSZK1VOjzfvfAnkHAh6zR2c4wmC8EV7gXVMzNdDQ"; e_fb_vipport="AcIb_ou2mqBd9JJeGVj0ZIPmcdppDJ-QAGt9mUrjRGgi70tmD6XSTnG_Wzki"; e_upip="AcIaxO8U6JvTm4kfLSrD3mECisgWNoldOI-l0Chakf3g2fBh6lYgyBcsMD-rvMzNXjodIYjYusVqj4nhrQdoufIpsOHJtqG0UA"; e_fb_requestsequencenumber="AcKJlc4eMB0lUJGPVLKRSykKe6BUf-ANZ0eBOMKffwAI6Prk6MubqVF1PU2n"; e_fb_responsebytes="AcL2Z11Zv_mJSYRQX-WuQzqSo719yWwe3y4iDatOcOBVDfiU1wEYQngK0e3X"; e_fb_hostheader="AcLXzrF5yUtRpuKEJ0F7mbaik81Ho7q310aEWt626ejBrW4z4HxD6EbJnnx5Q85TNGobmjlpIA60DWMd"; e_fb_vipaddr="AcJsfbgju46Rhtou-9eEvlNeehzQZfMLcXL41TdnYTA9d37XMObgrfkBz5KG5NWmOINNxaT-d0ip6CH00mfl-_9nUa1XP3h9zw"; e_fb_requesthandler="AcJ3EN8ij6bJt5CnPV2RDpKwkVbfI3OxlcgxbmYsZP-FQli3d7ys3CQblk-QeeTKw1xuxhrUkEM"; e_fb_requesttime="AcI-jFNfl0hcxwOgyvzm1BVt0r7_4-1tFrjBAiA2UfbWlH2e0EOplwcPaDYbgjbLzHxo3wALNw"; e_fb_builduser="AcLixPBz1uJbwD5faC-I-1-HhhRm3EON8cgHD2RmWHb17Rd3-KT9DMNbdqUt07zH1ZU"; e_fb_httpversion="AcJrVUVWRolHn89kE31idvguWoC4_bkkPLlPC--jhSrzHUvR2DCO-2tZbBCk"; e_fb_binaryversion="AcIC1UaV8vhIY4nagjy1vw7evdnFDsd9HnzphWWePgVVG5t3ARoRe35pMgv1mOJTvuNSPqzmz6w4RbQhwWlOLoxufr56LJ6yzDE"; e_proxy="AcJ6bL07XjxRk46zQ6wjrAna2doY2aI2n5qTvhaP5RxGDA67d9UDzwqTk_qy-PjNNUmB4Q3hHY0hLbrJ0jAG", http_request_error; e_fb_configversion="AcJQPmC847rEYunWkTZUZmAxMaTTx-Nz23L2s3zHiGem2_kwaN-y4oMXvLhJXw"; e_fb_vipport="AcJvBD8b91AOnsOKGJ03wG5VR7yx_qEsao5_5uKlMXt0-CMTYu5AwVqU6JDa"; e_upip="AcJNts-sa7cvlz1UnnFu8GT4HpkZgjC_xncAGzTAsIAQHznVi07uL6mU4InZ-y7VyOnNZMH5UERtk-YX_jmVCBLrqvCQRLHhJw"; e_fb_requestsequencenumber="AcKUSt0tfSKJWWRKFJSHLHKcwX1X_F9Iud7dmc45QigPawz7iPdGHzgU-g"; e_fb_responsebytes="AcJTiUG4PAW-tTkQ_p58bJRgq3b4vVZ7_5n2z073Ms7CESWNWwB1beF79UyV"; e_fb_hostheader="AcIW-INsniWnhQj5x_DOFvYgI0lkLAN2p4YZQfcdm-zmwT84ApX_mb21oAlm9WWh0ueVsGmkBAg7sDlm"; e_fb_vipaddr="AcKEkJ5kkWsFcOgh1g9mxR7e3vxrU0aGK24OhEvERHLbc6MFFACIIQgbSAxUvocWjexV3jmcLQ"; e_fb_requesthandler="AcI0_2_MYSccV9pllZvh1J_9mHSid2EA5M4WgHPjreQoQGKMRO6OVZhiKVw9tEWhM3A6zy19bK0"; e_fb_requesttime="AcJ_gfofde2U6gAfd0CtgfiEMjYt0JVI7rNmryWsVSe-XGH4YXK3UxrCp2hZ32f3lVcTJXNc_w"; e_fb_builduser="AcITX9CyrHg8cneb5oetKgLsJkhsT4u7r6NSyEN2KR-XDFj_EkqDSODTzTQDd9Y7fLE"; e_fb_httpversion="AcJqghtBeLcfXPvUgLt98oGA9bVfR3Dq5evrBtjykGiavAdYyQafQPd8zVgc"; e_fb_binaryversion="AcLFfzwpCmgVXrZSKDc1jd4oIEy6J9IiHAtDNoa890yOe_sWb-i7oPkWdo7ePFFB6Od2OvassWToTtlSV9pV28ELCbuhZe20WvY"; e_proxy="AcLtBE1mJSPr7qw0ZDQAEfma0xAja83vv6XHRDl629u3XC8F32eGFrvBZ5BCk_XzPZXCFYxDOBSj62j3"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3402, tp=-1, tpl=-1, uplat=84, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/19/2024 03:14:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 03:15:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 03:16:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 04:06:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 04:07:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 04:08:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 04:09:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9559826, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AunZb3OR88pZ5MwanQCStBb', 'x-fb-trace-id': 'EW8A5R1M6An', 'x-fb-rev': '1014326238', 'x-fb-debug': 'OXXd7gbr9W+8Rv8BA7saqs/vHAieXeqFOiE+2MWJmpmUSPhGCOhl8fUWRUhSDvocfYwwrkv2B0HNu5Np41qB6Q==', date: 'Wed, 19 Jun 2024 04:11:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLGFLxWS_fCPOTP82vtwOnW_Oq0WN5SqPDMp9yRUaMrVlabWrBR7csQIAQ1LQ"; e_fb_vipport="AcIAX8a58RR0Q0Zo6U-wzZHq2kJnzeMGarU-TQAsXBvaVqh9pifMvlyPd1TR"; e_upip="AcLyPbmAEjOylF738UWDokOIl9nJVxEdlaQnXn02bQmJssa0AscNz9tqACp1fOGf4q9EkLnaVGbMjzLXO8oiWL40NG0f7ItMiSY"; e_fb_requestsequencenumber="AcJ3c9yx395JpQ09IiqRzsA006I6sKMOOAdc7kE8afbrLnpJZXSyBOcayJ13"; e_fb_responsebytes="AcKxtbQNhPOBOrwY092lhf5AY7haFzXqjlQUv2pV2lAVvkKKfuWVJGM0TQXO"; e_fb_hostheader="AcJ7vNoX2-RM8Ql6IzYL6Y5g_DXruOiafrOxI0EHDLXXwtuiUVHgfuknkfiQBw3nUixWhhirKE01q6R-"; e_fb_vipaddr="AcLhU-KtY53h-kc-LhkDriGfhM8x9nRRz395ubJnTitKOnrBXyP7-cMcJwOXEh1Ssa_Cb0qjn0m69lbyvNZZZ2nBsY6isVU_ZQ"; e_fb_requesthandler="AcI9gfIbe8spz6X6oCISxM_qFy30krt75KlcOgkebdBQoMr5Vl0cy3I1eu7axJ5FKztLS5BbaoE"; e_fb_requesttime="AcJQ_1L-j3veR_Gw32PJBUMFrBzhBezMw9SmdDFpOfJJhA5Q72p-TYuQ5hklEg0CkDd7ZFKR4A"; e_fb_builduser="AcLW1lucsjvPgRucmp6hqUUinj-gRQvvSFh__treTXy-vRFaEUIwhQacwdUcc7mWZ9c"; e_fb_httpversion="AcJR9jzw2WPgAWsF_0QmhJElUTWEQf6wWCk5QLSotebGKM0ThVjBzdfAGQBW"; e_fb_binaryversion="AcL8D2HfeuC0Q9fdd6j4nkzBVHzdbWIgmEhfdMlv9U61ckkRRVfPwmMq2fRn_k3rpCYMT3N53nq428Sx_PThks2iL-fquFA06A0"; e_proxy="AcJouDz3dBnrMd5r1iXudHrZ2XSdwF_vzhZNaac8YlYFvKDeHGwutOvLNL9QdPJKySbqjNUtpjOFfa2MJuli", http_request_error; e_fb_configversion="AcLMVg-pOM471k0aTSbOrjED2l2IDfdYOeubSSDHzCfBW0ZIwj8J7KbxV3Jv7g"; e_fb_vipport="AcIYEsXeTqg8R1ujIopLF93VPrR-AxstIZhkp_WAmknFboEia2p-cIBzbdsF"; e_upip="AcL-GSlmgE9AqzXytc06xTFLjiJG7lhr9A2Muec6IiT17wP45iyuUzU8_y-oUToQZh9mehCKcRAsGPTv_omOpvX4sbQXPxeKbg"; e_fb_requestsequencenumber="AcKXwQlGQgl-4BTqvPsn0k1hBqYzEBqVtZodWQv3UKhariFrlV5UGsRjYA"; e_fb_responsebytes="AcLGjYzf9zQXnjuK4XDZScse8v9WJY0uFWqtsIcU6rp8ZQqhRQmibdou-30t"; e_fb_hostheader="AcIWYS00-UkPrUZzZWeGd5WX3ldbNhVduEyyfREdyScEQeVEMq79hSV_mIppGITWeIvcIEOL5ZFFpWrp"; e_fb_vipaddr="AcIw74mB1fSvv_sjWO4IIzgHvvxvHEV8DCiuun0vU8cXOBk6XQLeXW5EZuuS_1yRP8KFMw"; e_fb_requesthandler="AcJZ6xUpw-rt6KMVSR5yw_6oZay6miCNdGMyLlOrchmaOfKtNBOq376MpH_Hzq7wGNyW0uppcT4"; e_fb_requesttime="AcJ-miS8IO94m3YNvZzc81-phCs5vKoNgQUPXJCITVjywjJO1z3FNqQnou5crVUIrdw9-0zEUA"; e_fb_builduser="AcKPudo9hNhspx23ggPMej3OXmO_6C9oo9Q3Z5wwEsMEzZLn-KHbpR_OjGUXWvS1WFY"; e_fb_httpversion="AcJjK9En7-oLpPjHlmknD8B2gGpO2R2biYxC3y9w2c6j9Gqb0ArHHywQ14dP"; e_fb_binaryversion="AcKkxNUrpLPmAaL8-9mCH5G1ixwkRsccutnzRVC_toXo8qADzXHTCej6QS-ncvTucZ2zurvakigxNK-sZPuwvFyHcP_RJq6rb_c"; e_proxy="AcJAmaveKTJBIE0Zzw3TPI52F5fBonFzBVYL3LbYu5Dn0OYcST826iT2crwhl3Ml0tc-ZxnDh5--4VY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/19/2024 04:09:54: Error on send one message facebookId => 7474278196027861 06/19/2024 04:09:54: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A7UGyg2B1sSloanOQm8Hf_h" } } 06/19/2024 04:09:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9559998, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkanC8pRhrWegW8yIua4Kfw', 'x-fb-trace-id': 'EJqcIXrRv5Z', 'x-fb-rev': '1014326238', 'x-fb-debug': '3c7Auh5mR8+f6iGwIuIMF+dPHzJdZose9SV+BAZgEuNpv4VgdyM/yYVO6XAVwCEcCRg8ijX43VqBRkaYwialXg==', date: 'Wed, 19 Jun 2024 04:11:02 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLw7b-Jr3elv9_Dwu5BDnzh3eOSA9b6YR_BA6IMlgmrZNgWXYYLldXycxNqNQ"; e_fb_vipport="AcI91PvpOMNYQGsdlyrUo7cV4NBT-WjevOVsNBCdKHkIdcD7_YS9CD7ACaW9"; e_upip="AcIW9aSipswY51f3j2OSes_g0TojRc7Mi16ovEQrAKn6SSxBwa1gGmnNxb6XXF-vQXjF-jYu2Q0RncvMs2b-P3ErEEwEfVa7tA"; e_fb_requestsequencenumber="AcIOsJztkR8mFm9-QoRlC3LU5WNHztuFwTPzP_H9cRB_pIhVWn7lYUe8XWkp"; e_fb_responsebytes="AcLQxJdVI2xWE3IH5vYOK6Hxv--NasWLVwvqDBFaBcBCMntZBnKgN5FKmi-g"; e_fb_hostheader="AcKYbsqJNjJBfmL9tfmsAWfsoIlFRMDOolk0M1sO9qh4dEWctSsgGgth2J-iYCE9qRoMsFQgIkPctmCY"; e_fb_vipaddr="AcLCJ67xVoqGvAB1UpXY7r36DoABmJY5kBm34ChgfbsPL47vMhdWO309Tu2liZDzSPl9qmS5g8spDNJslpWVMdj2AlL5S5D9HA"; e_fb_requesthandler="AcLgGDYGdKnYgC8AZl5-vuJ0DC8PH2BSCRI5iMjmposp6aLWQTZBD-ABZmdIMzJZD9nXSa37r38"; e_fb_requesttime="AcJ0wqcfml_SYEAPDN5_IW3uIiRXGwPd6bT8QnQURj7wGlKMzpRgfFSyXPTHudeEQbU0G4guMw"; e_fb_builduser="AcLqujB7pVCmj-9dD3NivnLKtm0EUgCNbQgHaA_qzqHXC6pfPRQr38gA8P_1wYySUu4"; e_fb_httpversion="AcIEe-gnMPZp3RcCYrBjxN_SrNpSsJMHUjr3IPR3eLjYsilM4LXvTTKNJx6r"; e_fb_binaryversion="AcKlez4TN0IAJjp3DYvOLpJ3lqihLXFFlAYGwitOMxhSuCF_a5X-PCrwb0Dv7wvg0D7aH0A3hPXa-PK6dxcMsZdVzgE4n33BJ60"; e_proxy="AcINkgNvIJzRpm0BvrkY_BG-1CA3c6mt1hEPxHeg4UJQw6mN4VX3RApsc3NzmcNizSkWJoHb3M9dokuFAyc", http_request_error; e_fb_configversion="AcJtM_vwnvJnWykr2XJp8YxyhT_-4QTABOBHOtmOaxqkVo2Ph5Riv97kyzB_GA"; e_fb_vipport="AcJrJIqjFGb1johgDYS2aDkikwnFlorme49EDtP0RpIUSt8gDmznOuLQZSK_"; e_upip="AcKe_Q6x9o-RMGBwwilR3uCfdvI4BCGh4wbdAJYA6NHrJjUM5ksm9p_vzp3rAJSxRBpZpckJYUezhUBZv9teU9WPAe8ylplPAw"; e_fb_requestsequencenumber="AcKjN4hh9o2o-ZZGRMdZqnLhUFOCRL21sOpFdCC_HbEbBronrcU4d1TL3g"; e_fb_responsebytes="AcJsg9UQzK9Jnl2DJD9jRR16r56i1mIEkMKLJJZ7z3W4JkpN5XRr_oGa082x"; e_fb_hostheader="AcJ-WzVrPwQTgnMk6j5InkEtDB0x8Hn6NNwzIO-CfBJ8PyyjVbYXdAKE7sRz8z2VPPciix7846dqz1Gl"; e_fb_vipaddr="AcKXZvAJ8Ko6ejpGHSsKOIJTbIb_Fil5O3o6wZGXbV3wDQX7LTZuz88vIUGixep7iWrJ6Q"; e_fb_requesthandler="AcLxCuoxefvnbGPU1qUdfE5f6fq_4SWwroNHmb-YAXIoEoJ4ZbmJMrEgdQagn_sQ9dv8AarsvIo"; e_fb_requesttime="AcLpb7J_pQvdHopgYevrxENlHxxbzFm4Ic5ynERQqxWHMXVWOO36ONgk6aaM06DQ7oSKCr3boQ"; e_fb_builduser="AcIoX5Uy00CTKL7rQ0gQiTs9vYmM8e2MjEy5kwPMw-SHxmBdZp3hFaAnEAGgD57B4gY"; e_fb_httpversion="AcKu1q16FcZOVG7Ahb5KXqVLZUlJZdPcKWG-5_W2bmRlBOAjVnJ5wKQbUjPa"; e_fb_binaryversion="AcJGcShJ_5Z3v7xXoHH-hK5fr8oOAo1L7kIyNdmA2xcsg8oDbvv7Xmr2lDw_62o_6ABNGarYqVJlX7snGJp7qObPSssVxoOTsYU"; e_proxy="AcJNMFT465uSxdWAU5_Ubt2diHr0XTnl9sN59kUfERk83ttBRimf9YzO2yUyze3s4O_SR8FwSnYCfb4"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=157, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7474278196027861"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/19/2024 06:19:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 06:20:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 06:21:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 07:19:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 07:20:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 07:21:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 10:56:01: Error on controller payload Input Treatment=> type not found 06/19/2024 10:56:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/19/2024 15:16:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:17:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:18:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:34:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:35:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:36:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:47:18: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 9692740, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 19 Jun 2024 15:48:26 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/19/2024 15:47:20: Error on send one message facebookId => 7759092870814669 06/19/2024 15:47:20: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/5dd9c1d0-2e53-11ef-98ac-ad9510964dac__1718812106349.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A6NKmH5fKYBAJZD5K2DmxNK" } } 06/19/2024 15:54:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:55:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:56:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 15:57:54: Error on send one message facebookId => 7759092870814669 06/19/2024 15:57:54: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/5dd9c1d0-2e53-11ef-98ac-ad9510964dac__1718812106349.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A_PQx2vEsneX9LmBnl6ndw6" } } 06/19/2024 16:13:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 16:14:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 16:15:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 16:16:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 16:17:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 16:18:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 16:26:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 16:27:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 16:28:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:20:51: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 6672f77aff349866cd4f6b25 06/19/2024 17:21:57: Error switching inputType 06/19/2024 17:26:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:27:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:28:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:28:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:29:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:30:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:40:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:41:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:42:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:55:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:56:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 17:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 18:40:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 18:41:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 18:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 18:55:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 18:56:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 18:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 22:20:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 22:21:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 22:22:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 23:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 23:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/19/2024 23:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 00:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 00:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 00:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 01:10:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 01:11:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 01:12:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 01:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 01:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 01:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:10:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:11:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:12:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:47:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:48:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:49:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 02:50:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 15:17:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 15:18:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 15:19:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 15:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 15:58:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 15:59:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 16:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 16:18:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 16:19:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 16:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 16:58:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 16:59:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 17:39:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 17:40:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 17:41:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 17:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 17:53:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 17:54:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 17:55:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 18:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 18:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 18:09:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 18:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 18:19:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 18:20:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 19:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 19:19:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 19:20:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 19:55:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/20/2024 21:36:51: Marker: 0 | ID: 6674a0f3ff349866cd4f7599 | Error: cant_get_message 06/20/2024 21:43:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 21:44:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 21:45:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 21:46:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 22:43:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 22:44:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 22:45:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 22:46:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 23:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 23:09:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/20/2024 23:10:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 00:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 00:09:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 00:10:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 03:01:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 03:02:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 03:03:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 03:34:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 03:35:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 03:36:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 03:37:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 04:34:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 04:35:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 04:36:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 04:37:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 05:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 05:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 05:51:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 06:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 06:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 06:51:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 11:10:05: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10218774, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 21 Jun 2024 11:11:15 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/21/2024 11:10:07: Error on send one message facebookId => 7493946594066796 06/21/2024 11:10:07: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f98501f0-2fbe-11ef-b7ef-b77e40baee63__1718968274831.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ALzs6fVxYsD9vEc1KZAQSEQ" } } 06/21/2024 11:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 11:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 11:19:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 11:20:52: Error on send one message facebookId => 7493946594066796 06/21/2024 11:20:52: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f98501f0-2fbe-11ef-b7ef-b77e40baee63__1718968274831.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ASLUNkbd4BRMowQke3AgWuY" } } 06/21/2024 12:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 12:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 12:19:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/21/2024 16:40:50: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 6674b2c6ff349866cd4f75ea 06/21/2024 22:58:11: Request bot not found: { id: '133788230054854' } 06/22/2024 00:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 00:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 00:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 01:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 01:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 01:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 07:23:14: Marker: 0 | ID: 66767be1ff349866cd4f7bdd | Error: cant_get_message 06/22/2024 07:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 07:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 07:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 07:35:33: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10445215, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 22 Jun 2024 07:36:43 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/22/2024 07:35:35: Error on send one message facebookId => 7883151461745124 06/22/2024 07:35:35: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2bf61970-306a-11ef-b7ef-b77e40baee63__1719041803399.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AiOV6s4Y0cbsjTsB2elymZs" } } 06/22/2024 07:44:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 07:45:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 07:46:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 08:44:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 08:45:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/22/2024 08:46:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 01:07:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 01:08:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 01:09:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 02:07:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 02:08:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 02:09:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 13:24:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 13:25:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 13:26:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 13:30:01: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 10762770, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 23 Jun 2024 13:31:12 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/23/2024 13:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 13:38:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 13:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 14:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 14:37:55: Request bot not found: { id: '1852395741674621' } 06/23/2024 14:38:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 14:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 15:59:10: Request bot not found: { id: '133788230054854' } 06/23/2024 15:59:53: Request bot not found: { id: '133788230054854' } 06/23/2024 16:00:53: Request bot not found: { id: '133788230054854' } 06/23/2024 16:01:45: Request bot not found: { id: '133788230054854' } 06/23/2024 16:02:03: Request bot not found: { id: '133788230054854' } 06/23/2024 16:02:37: Request bot not found: { id: '133788230054854' } 06/23/2024 16:18:20: Error on controller payload Input Treatment=> type not found 06/23/2024 16:18:20: Error on Utils - capitalize error => TypeError: Cannot read properties of undefined (reading 'split') at capitalize (/home/ubuntu/api-facebook/utils/utils_text_capitalize.js:10:28) at receiveName (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_name.js:12:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:49:28) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/23/2024 16:18:20: Error on receiveName treatment: TypeError: Cannot read properties of undefined (reading 'toLowerCase') at isNameValid (/home/ubuntu/api-facebook/utils/utils_text_is_name_valid.js:46:21) at receiveName (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_name.js:13:19) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:49:28) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/23/2024 16:18:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/23/2024 16:32:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 16:33:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 16:34:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 17:32:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 17:33:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 17:34:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 19:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 19:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 19:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 19:38:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 19:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 19:40:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 20:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 20:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 20:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 20:38:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 20:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/23/2024 20:40:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:14:40: Marker: 0 | ID: 6678e4a0ff349866cd4f81b2 | Error: cant_get_message 06/24/2024 03:24:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:25:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:26:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:40:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:41:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:55:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 03:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 04:09:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 04:10:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 04:11:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 04:31:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 04:32:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 04:33:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 05:31:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 05:32:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 05:33:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 12:32:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 12:33:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 12:34:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 14:13:04: Error switching inputType 06/24/2024 14:47:16: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/24/2024 14:47:17: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/24/2024 14:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 14:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 14:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 15:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 15:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 15:56:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 17:07:49: Error switching inputType 06/24/2024 17:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 17:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 17:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 17:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 17:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 17:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:27:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:28:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:29:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:32:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:33:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:41:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:42:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:43:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:55:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 18:56:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:46:49: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/24/2024 19:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:56:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:56:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 19:58:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 20:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 20:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 20:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 20:56:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 20:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 20:58:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 23:31:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11190930, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1d9sM5RVV344c-2hKSOCZT', 'x-fb-trace-id': 'EQychUPQkLu', 'x-fb-rev': '1014442065', 'x-fb-debug': 'naEUX3nnaTRx3eq1LEmKYHBsYgFTr4opbc6WWNnzDJFz0DozfiPmrIfouNTEb8Q3UIqlLpz4kR7DRg26ch0rqg==', date: 'Mon, 24 Jun 2024 23:32:50 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKJdLFSxqNMD-VWviJYJ6l9PhidoTHrphiMDGtO_PCRS2GhA0bk7R6ac_8tFw"; e_fb_vipport="AcIN5gNOzJTbuaTdDbQzxcJmSuLcig1Po_3pzv-ZYZIITd01iYUMM-dE_Ngh"; e_upip="AcJnR32BW0WcbKveRBL1eruKRaxRfh7h81ncheeT1sV8BJYlcLyGyCwrDhSjsvrWnMwcGWRyXynL__Kfi6FgEpMPL7mCK6UEAWM"; e_fb_requestsequencenumber="AcLFBvgoeOPmOmmFoCS6lp2SmfxlVEZR7su3CqPZf3TYaPz_yhkobEslkw"; e_fb_responsebytes="AcJ_q9dXCXoa5PtgVEPk_yYttDHBIk73IgfGqg0EJEgQZvBVhDBe2uDiDLB6"; e_fb_hostheader="AcKwUhgL-smDWf05e5NXl1nMaKBkCDuFivCQWDa9kd_h_AJ_UJjCSFXecbyKq0Lxx3rELM3PpAaUdleZ"; e_fb_vipaddr="AcIjZeL2w2aenBtM8b3OwUhjZRG9emYdcKd2u-uGiLiKLbg6BIOdl2XjUwe1v6F9QWkMwKJh1t9M1KBI2BQ8NIYp__WS3vDpqw"; e_fb_requesthandler="AcL2suBOn01gLcZKdklCfkPVF-WmDThrQOdqXZ7fIPRN1fEh0Xcivqzel4HHZxCqntarLlBGuxY"; e_fb_requesttime="AcI4ljblzMqTWvRSH3orL6Qh2EAgNKDRxs5QEqJiEM8X2ASWXNB1fsRg3M0BpfgdnG8bVmLjMA"; e_fb_builduser="AcIneuEJPEfGAlA7Yj4Z6yr96qLFMhBqZv8zKDRgDtDgHKcW-pzVeETRzZPKygZa14Y"; e_fb_httpversion="AcJXdvXeV5kCv5CvH0zXsyiB_z2Z3z--G8BxCMr0sf6__83wkHwBYnACOd7y"; e_fb_binaryversion="AcK2bu-5vwune8r23BvUo0gzFZBksmI49H5YmB9gNVjO8IyzCWDBKD2bRUk6ltdhwFtLeRoJISNYVRv54T9FUI6jgK-GorbWwr0"; e_proxy="AcLGmAgsByX6q-1drHjjcjd7GslNscp8hTZMUWT-jEf1J7Ma4JkJo5HJlGl0-g2fqyYBSf6NcsZjT06XEGU", http_request_error; e_fb_configversion="AcLm0AqskDxavP-ioLrT2-OL_rw_RKxQIzhT79wl2DL650g0BCeacx2WQQnGsQ"; e_fb_vipport="AcLROIkYXsaApgj-0kny0sa4No9qmNgEt0SuAmV-m51MRihpw5Jr7Wjtjwki"; e_upip="AcL-9D4CiaSC4P56RdGIAcWnZXQxtw7E8ijRW-iwyMj-0kHThEsVSHd1hO2RHVvybXA_AavLlovVSUmV-24DdDOAinrv08HneA"; e_fb_requestsequencenumber="AcJ6tkthcUQbxk0dS3sKBuGeMNd1mhxltnuJNSrurB71WyrVBWDO7Pb9Pw"; e_fb_responsebytes="AcJTJ0eqg6b-Qi4uvNvp_mb_jvjPf617FCiwoMQtDxyPiqf-8MK7NfxpjQX0"; e_fb_hostheader="AcItcbWlVkDYh6YkYNv6XFUUXAd2EsxyTnlafx7iJOl7JINYmSyH-i1SwiEO_CST7t68KbjtJsf0d4wz"; e_fb_vipaddr="AcL4k87yo8gpmyAw7F2WN1wn9p36cqWDaDpGY1ypzpX9IeYBrLwbK8CXnKWDEp0YhO2ycdQrfA"; e_fb_requesthandler="AcJAsUto_MFncLl2tZ6wUrL0H1gdLbYXJFR_F7OADxwKH_QoD85VZBikNG0wU9-Pj8AGEzM-0Dk"; e_fb_requesttime="AcLrKOamfZVvkwsflsKKvsYb4q-hOoGN-qkUW4Yn8tSVPACEXBIFlePUE22QCKjELoR0MHp5xQ"; e_fb_builduser="AcKBdENPEanchTM9a5vC6FQev3ugCxo_yHG4qCGK34nVpeazdeBIJgFCodepyUV3Uo0"; e_fb_httpversion="AcIqYS0mhAzQdyP-T8p8tPtCxuAqiNnkaIN1Uw636XcqYdBCCkBbEZlG8KB7"; e_fb_binaryversion="AcLR-PKKtlbC-RLHAyWqTCnKZZ-qzI0D65-X2WUkgiolUfVwLiXaGcrm7MkZgqQOj1Byw5Z540WmhyoWtkBQbUZPLeUTHF7l7wU"; e_proxy="AcLKVIknNOmicEwj9l8vafPeFsUOOTyi7ZxI5eyhP6nrRytafk7Kd5o9ACAm4l7vdgpVYaT0_Ltfl7ec"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=59, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/24/2024 23:31:38: Error on send one message facebookId => 8587561031271016 06/24/2024 23:31:38: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AzjHbtLECRnaTWDkw4N-Ucq" } } 06/24/2024 23:31:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11191175, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3YPlmawwP2OKAkfBfjXI_B', 'x-fb-trace-id': 'CyJVT58tCpX', 'x-fb-rev': '1014442065', 'x-fb-debug': 'vyThL3uMlsxTn+8hAWxxkjcE1Dv40BIF4paAsH+uiXI25BLzYbxjLF0o29F+JzqTWEkvZqnTYtST76k7zP3Wmw==', date: 'Mon, 24 Jun 2024 23:32:50 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcI8KfjJOPdDG1xKNzKu0eJfKciIC1PeG3aMi_dOZFDQWH2k7u5y1R6oVoim8A"; e_fb_vipport="AcIIRrSKs79KFh_aC9BHOCDP3w4z1W5RV5v6Ls5EBWYzAA2-GdYC_26lbfo7"; e_upip="AcKBiZJsruS0DUm4kRMr-tRvLHJ694tSfvCESc-X7qgEAYMbAPApABn8d5sor5iwfqVPWqeZ69dCXGEWYfbouEbexm-KGTlO1Q"; e_fb_requestsequencenumber="AcI4AhDdyueFLz9hexl7cZSefGqtDJpN7SLMCxFLbElfwlxmbazC_j1ZbUo"; e_fb_responsebytes="AcIjViRydZk7oBF9RrEYdMJEGlMk1b-aIR_PodEmOJ3WUgCTqLyxEYe-iLUg"; e_fb_hostheader="AcKSyMFz7bqT_y7BVBxvFMXNfESWPmkobYb6eLkohEjK8StImOsOwhr6Pc0Lj50ca1IzPQ_vAMFxXNAN"; e_fb_vipaddr="AcID5CT9lk_67KlFNBFwtCGbG9A_eQ4oqHc3B888akiu8fBwceH386eDvi_NHJyOBzq318aLZ8-3NiTZbXCBJ84CNLEv5Hu-yw"; e_fb_requesthandler="AcL5D7TRXLQHQ6-CWYmt3WEWWn_GYdtucJ1p2G5zOKwXxVk3v4bXaz6rSl9KB0RSGN5nKBwvsig"; e_fb_requesttime="AcKEEJpmietTxGMOupbO2UkxDsMexRIMg-BZGpIhaTXX0CQ8-9bi22jGnaGU4aQ7yMi60JwkNQ"; e_fb_builduser="AcJM-mShWkg0fcWF37YHSSUeRvVLhWp9JY6EHS6dBn9xVgVzmnfW72wJVTuoNG_wXks"; e_fb_httpversion="AcKIShosUm3QygKU-gpHw968QqZYe7vOVW1RiF20Glsb88nHF1DKqFWHmIOz"; e_fb_binaryversion="AcKtr2DFVkzv6st-DKHV8xVx9wntWWHHiMIVOfmTk7yAo6fS-xroKm-twW-7xYRSuJbcHA6hPtuhpIkt8viIXjhQAPudcEs58xg"; e_proxy="AcJ43ifMftS2pBrutUwtQizD01HfuCRjIzX_sbBh46cBB1GYYQoCJvCmrN6DZnh7xAFSWcpbHhid3mrYMrnF", http_request_error; e_fb_configversion="AcK6ngzCdeSZn6eUv2qFhuIR29TaNPIhljCRup3YhVuvNZmUUtXqSfZCn4yjsA"; e_fb_vipport="AcKEGFzUt7QJSyjzvTxeesn-VL4uKCDtX94oAGIgU5FfzklWvpaNpAM2C73u"; e_upip="AcIHadoNKwG2HQIXUtfRuGktuAkHvFpR-nFJCFPSAXelZR7QOYN8ON_GpN582DeqP-yuoGd3fSnGqn8a9hWXZPWoqYtBU3RuOA"; e_fb_requestsequencenumber="AcKLJ59gG5gyNtLjwIoXMtgRm4AsNHM3XeT20WSX1WSsBwnpGv9sGRi7KA"; e_fb_responsebytes="AcKFsO-zEBeQyUJRxbgdnxJsAb62eRmWU33k-3PMFluy58YXsCYDbU8Zn04Z"; e_fb_hostheader="AcIAIxwuP9NZmup34GINbZjAhvlZJKg2cJqXiuzTv6bKW4YL4HesUlTnB1YxuXdU_V8usBRt6TySDfw1"; e_fb_vipaddr="AcJ5648G3HZnOjiTy8g4YDqwO6Js7Lp7c2m_IJYrAKMB6n4We27OQ1LMWcHZG7efxriWk_OJ7Q"; e_fb_requesthandler="AcKuyI-kxOMJa7FrluPUv4VdVU0BYeE_w7J6e4fjKLBiil9jjmOr5lw60zkSaCHgqrBc-aBAB9k"; e_fb_requesttime="AcIV0KisMWbrUdT0dx7nGgDdlhtTyYXFGAuwevC2P0hEQDjxv5rkivjghZ1l3aNPBDrnGkBPEw"; e_fb_builduser="AcLmK9kZFq_jeifrc9esoaIhdIkO6FJJTeV-p7UyQuDKc5G1JXahOkPt4wnDeXZPejg"; e_fb_httpversion="AcKzSkADxL_9A-HJitkyKRwnABLT9hgFg4kt5hG-TopJNFaTRsNxiCgiapaI"; e_fb_binaryversion="AcLK1csO7a5t7N5DxBDyfbXHOE2Z0j11k-1bfSW8iaeZuNig6p_z91VfhQUk37Ct3Ks4I3GMjXCvCxPxAoRqHT7XBgX35r949ZU"; e_proxy="AcJ1bLg13sTWBEIg2xI0Kw_gyxwOjmPr6jvG7jsEElrhARsfzdyURpctykHHtsRCAliUZhh3RFLXQZgl"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=60, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/24/2024 23:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 23:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 23:40:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/24/2024 23:41:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11193977, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AI468EArMRCHEwC0lMj23y2', 'x-fb-trace-id': 'FNZ6aqtYSXj', 'x-fb-rev': '1014442065', 'x-fb-debug': 'vDTeHGqq6QWL5G6sOOX7XmbrRKdL5PKMpZW4qa79YNEVyn0oP6N11ZjvyKMVAkdI37tLbyqK2jdpDrbL1TmsGQ==', date: 'Mon, 24 Jun 2024 23:43:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJQNSl883XLAD2qGJPLBjNIytpaKfFH9fhWESRSUslvxzOK_cFFKJIBkXJjMg"; e_fb_vipport="AcJfvOphZkGI7XvE6Lwch4oTHoX7VEwbpNDGzQIyRjHL2bZ6sdGlkBrr1AIE"; e_upip="AcLbUkmVNeyORId6JNZXfl38yBCJXqSHzAS0NyyLikOPJ-y7yZXikacjdVPPzbeMxK-irBcfo644yB8p60CzQDVxhsbumK2aYh0"; e_fb_requestsequencenumber="AcJ2BWYalQXdiAzI51LbV5tDkJwiEzULlWaM9ZBfIfpB5mB0fCXM8vMFWLqF"; e_fb_responsebytes="AcL62HD7bCkVAiiezVo6jvQ2VROavGcPL0is0XqBD5kGlnbLPdr0VlpQ9FSI"; e_fb_hostheader="AcI1GOX6ZeMjRinlCqdWKotn8zgo3cyXKGA4SLv0xlrn3O4DUGbv_bcRtRyP-48ijdSsTIrhoY3l_B1_"; e_fb_vipaddr="AcKcFboWCN2CfF9NvkPoe9v8kkZlD9zRJCbgnMSzOc1ybW768rZhmb59_6HAiRrevmCtzoDRHll1gakto5EjER6nxNiE-41stA"; e_fb_requesthandler="AcL573XOxnenYIhOzzR9YQczzG-8ki0JQk-MEWdGTSIGbM-bk-C4wUSdFHm9p83ajaJhW3Ozhh0"; e_fb_requesttime="AcLHO1OoGwDJhwMuplRGKD7aCiD84CQTHK-l8ushGU5tqakAjn7qUjE_DClHV79hGNDvRmWsMA"; e_fb_builduser="AcL77omDK5RN3N1LEBDTPEWAFNSQ_7eYI1gdLcNRtS0lzsKjnsCg4d1liMnDQgF-y7c"; e_fb_httpversion="AcLhp2rd78OZ1pKIdCIkm3TrgCRcApFZy4Icp-uV7s5q1nMK7dqhPbpg538z"; e_fb_binaryversion="AcJ6GAc6X-6wcBSTnBo88FrLiucLITAtDLiQiNkmKzg7XEbbOisDDnkciAPNAmO3nxqfRXvRUyuF0MjLC3M9tmLjqfIBESR6Zas"; e_proxy="AcL0GMhRaD2SSPmmTPPBdFoChgBOBv1ks0wQGmy98_Eh1WPrvsrFOLsPeCA7f6sn8kIvb4BmnV2Kp5YQ4gus", http_request_error; e_fb_configversion="AcKnmr_Pwiy-oamLbGiY6NNLEg4Gzbr53o9YiA0SwzhweWwMCqiKU4PbVNMfBA"; e_fb_vipport="AcJL1JyVAMcwfh5sNMGocNG_q6WTvzTJ6BKIdW7ttpZ1vImRdQf-4xkrTT_l"; e_upip="AcJ5Yh96i-yCcVPcqieRJ6Dt6EGpUH0asiXT4ydu7iEQH7HKBVmemQi-Bl-GOFFAUFPFCegG_M2KwH9BrAYRQwX_gdB-jSR8Rw"; e_fb_requestsequencenumber="AcJswq_FB-_aHYuhSMghZP_xOEAz8S_3cysZwUAKsD3tN3wMsql5CJr4Zw"; e_fb_responsebytes="AcLsmfeQ907fOL8xSixHl6cXE8wYFMiJAbKEMxAyhxt_29D5s9VVbDjJb-Dl"; e_fb_hostheader="AcIYEs5GPZeTVhAhv_N0CSjib6IqjhNG2aJEGltjegAn0LuxYP0DHoiHalroFkefqyMajkMfuDALj8PI"; e_fb_vipaddr="AcIP741efCxkVBPQs5HIafhZ1ZL7hRTwup0UoeROmYT_IS54fHVA2QP7fNS-eZ_gbgp0BiQ"; e_fb_requesthandler="AcJnGDJfPKCxupfpCGCZhZmV0-h5u1goaNlv5qB2L03tYnd5LrUGAVOx5yfzp9wt800-xdRjzkQ"; e_fb_requesttime="AcJQAgpKU8WGvcTs8ORT_snGv7yx1wBmDlNv4XX4aO6ZhpuZbavfwPJd0pofkubzATZWn7TdDw"; e_fb_builduser="AcJBHJx7tjdTmceZSacGy3k9sN1NleEoZYGe2jXB9pCCQqSD12ngvs240jCbt1G9cGc"; e_fb_httpversion="AcL99IMPI12LFfB9FTtlZBJSP6N0n-8PWgw3pGRZPah4HcI1MkU6iK8jR8y5"; e_fb_binaryversion="AcJLOz6EEORaTEbx0jVBDiyt6ckwWZ4ttd1KNXtllsCoyP9Fxy-nQSFdmf5WjS0BXZLm9aRyHXGux7X71rbMJSjauq35uMha0nw"; e_proxy="AcIJNFP3c7WjD5KX9uChXwjjNU-Bo-LTV0vgyBXZcAFDyjAGDFE-sna_dqR6NDlkirfdQJshZEyptLw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=63, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/24/2024 23:41:48: Error on send one message facebookId => 8587561031271016 06/24/2024 23:41:48: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A091jhP1-9yFtMRBadKgXp9" } } 06/25/2024 00:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:07:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:08:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:33:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:40:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 00:41:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11206756, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AV6TqKtQomjhDVOy4JnHh7Q', 'x-fb-trace-id': 'BYFRcDpolRG', 'x-fb-rev': '1014442065', 'x-fb-debug': '9x4No7JQKOrL78CKWftUQ65RhV7kc/BC8bEAVCUQzpcWYgTMpLRGfxaCPHfl69xeiCV2N6b/IJfGAq7VNNIn3g==', date: 'Tue, 25 Jun 2024 00:43:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLZhV-8zUh1q-rB4H8lEX7EYCQOki2v0WESQh-NBS6O-hGmfJhd6wU_I6zoQA"; e_fb_vipport="AcIAHYMXN5scIeWfsRxWSR7ZWviQuLunl-zke4WzlmYY33luijrodzZGlBCB"; e_upip="AcIH3pHpyM0P118NIMFoLusPKY3CQoJsebZLJYhXlSsgAL0fgfpf5KoVhfhrRBsOLzXDvUbx9zNqtcjZjdhECS8aUAVHn_raHjQ"; e_fb_requestsequencenumber="AcI4DmteKy-UKGU0nOUauGW7wbyXuRy3HyWzgjs_kSDLTxIMXnEBxwmY-hU"; e_fb_responsebytes="AcKXf6RtLBM2RW6RJ6CPzstR3NhvxvQyxKdQsjZ6cbwxg0rfsYzhkk6NCBus"; e_fb_hostheader="AcI596SD-6tiWst0V9sopoMIoO-NuTmBKicvBsI3yQZJGw-pHFZSEBPUA19MfS8gRVeHphQrXQsV2ODs"; e_fb_vipaddr="AcLsjdw5QCw1llkCpGjpLRyWhsCVeQaG9cM_Wcgd51jeKgmEZ92TtJ4n-SjsECKW5U2DdFFwTWx1ck52xvucwFVFRn8cxtrGcw"; e_fb_requesthandler="AcJzsPu5_Z-xugtVVoYsoS9bfmKqv0A9E8w64r6sAYRSgGVnYHh1k8uo19zWvnYE2g92CRYhXtM"; e_fb_requesttime="AcI6YEb-fG8bYPfTO3nadtvw8RZ9v9EZheuPs19pB67ZNEaUz9kMgPrwI_3trecO9Ny3t05fug"; e_fb_builduser="AcKvz211GuXncSqT7YVI3GdK66FvyZZmec8IlbMv0gU_xA-dC2dj8PgP8lFvY69Ot3E"; e_fb_httpversion="AcIGt6U8SABonr6KPMQS6mKZ4ROA0hXmBI5XMMlMQB1ZbyS2BmgSdJXsCEhp"; e_fb_binaryversion="AcKhlGCUnK0QOJ7amHMTROOqVPPfSm4DljwCZ0mMTANoDZl4wzJuBRInbapFsfXZhffahf7fyaFqyfg_mTZUiCfL875NCBU5lG4"; e_proxy="AcKxrwVXLxuaaiAC3Zr3TbYCpBRXn_E-ebMnH-xB6qEORARD1NusaQxRMhXAKBo4kA1iE1zb-NPiyz8fp__V", http_request_error; e_fb_configversion="AcJ1sLt2hwii71jK7elRp_u5LMrieh_tLOGPEAlvqsDFbhsZu_pwKksd3_72bA"; e_fb_vipport="AcKzdX0VEuAUuDJ1oqYgFEIDW99Whhr2c8ZhLvOt0w9LeH8bQ6ex_YkOaTb1"; e_upip="AcIAx6MEa09T4T8vZb3IvX-T2ZbcqLFK3Q_RnnR3d0TLLVGw484Dt_S3pFJsUiiu9zcfGwm7_lm69NPUYfOiVdgwJ6by70wbcA"; e_fb_requestsequencenumber="AcJmUfgQzjAPSWyCiyTGBdLbn6qh7_1sqhPU_HYjBra9dI30Lzq0Js1Mjw"; e_fb_responsebytes="AcLiUXE2kcyP7jm00nkN3Vx4UQ3ZdIujj1bQGAByO-h7FooOPQfkgq3OdXkA"; e_fb_hostheader="AcJDy00OsoNS0jRonrEARiY6xqVUUsr6HbbSVEhFVpyFGQFtJ__GlX5VfsZ3cqoxTLu_oWvyeEnIog7i"; e_fb_vipaddr="AcL9eT9fQtSS5sy9yb4AU7W4Vq4N6JOoyla743bXpwtlvgA8ASGxzaJVX1It8EZQSYdFsQZB6w"; e_fb_requesthandler="AcL5LNNPRna4ZzybHFSkPfFo9wloy6mxf-5TaLSJgx-tkDib_KlK_FR8KZQ4zL_ivdFCN7ipmc8"; e_fb_requesttime="AcIx2gGRECox7QfuZ5BEIJcwDcOP88cx_45n5rGeF_S8lzFaHf-w-Uq_uqQlRBgV8_jLRKeJIQ"; e_fb_builduser="AcL8yoqh_QcacY28mPaulRgx1-YkdOs9VC4zx8rqIO_Yd_JcmSBkPKvRo_l0bXDELLs"; e_fb_httpversion="AcIDZQkYHyxv_O7RcHlKSEvE-kMbHQxPTgW8vHGaJ6AYelZ2QJLdm1rww389"; e_fb_binaryversion="AcLmwICRTMD6zif3bkCdpe69w48NW8-0IvJUWdJH9iP3IZxYRiF6joSqs3fTvl2nsWIRQ_ulH12oxLHKrkNdUIfGHzM4AGNS8dU"; e_proxy="AcJvIYe9C7cogAxOeDv7plQSWqB2cTCVGizWDEKUFC9j9Ol9JwT5Q92Ujfc0mRy4VTJ5W0ZjtCD_YDvB"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=95, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/25/2024 00:41:50: Error on send one message facebookId => 8587561031271016 06/25/2024 00:41:50: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "APXPtnQtJ7fdBw0OD-eiytW" } } 06/25/2024 00:41:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11206926, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AYBMO59-VZ8TmtYmvmIU1rl', 'x-fb-trace-id': 'A3yRJTiBCDT', 'x-fb-rev': '1014442065', 'x-fb-debug': 'oS88ALx6yIsdsZK5C3U+xoRuPyA14hCeyO9hmgr05UYf/6c3HXW2szYeBEemL79+UOjmYfJryfT6FdL225CRiQ==', date: 'Tue, 25 Jun 2024 00:43:03 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLR6FGnVfN_mrQr2MDmZRAgMFxl0EtnxfJZo73Cg2LJLEboe3HkFaFrdyp5hw"; e_fb_vipport="AcISfxLLhvSakzYhwXLa5ffv11-zFUvDOEJoCTLqcAAEdXrIFaVi_5oVdg1t"; e_upip="AcLpzF6gUx9nzCIv6OLUN30CkLET0R8cCmyfgaiPOHjmZw29nFWTL_cyJj5YuVqlqTlZ96uACSETiHdgbrBHI8-Za9y4iQH7_dU"; e_fb_requestsequencenumber="AcKf4s2qT7v3RJjMTFPGdRTXmg-8mDtaIzSMa9wS4TYtQUCZO6kGtk7fhirW"; e_fb_responsebytes="AcI_n4_h9cBFMX_5XX-uoTDLfJ-YuUJa273uZeweEt2zrtG5wMQB1t1-jzrz"; e_fb_hostheader="AcKbG6c_a0i8uP0n_OtXLYHJrCjlBmtiSQCRwxDxjpaYrYKhJHXZiXloHvb17A_5ZjhKZtisq9S_3Q7C"; e_fb_vipaddr="AcLc-pho7cZnRs6WPGpEURwvkHFw1VmBDbBbSjrPv2i4d_douEjZUubzuGeBNzTk7JEig5mnyfgjYKEVJiZniZCOogyx3qRfZg"; e_fb_requesthandler="AcJVozSeeMEtJG79RCxUjv--Vbqnnq_cZ1lyR1IFu6cRiftqw9r4NjpgIDWOg9l-CSek5p4JLek"; e_fb_requesttime="AcJoispNdgT3P7-oRgzFDJ9dV_Pd3mXXrDgqEMcQSamramHJfUELXAkJAfsNmu8XShf6xTUpMQ"; e_fb_builduser="AcJtzpfN_7KWOq5bVaJoLpHrL63yAlwSn6T3s4qxv1RzprB62Kl3sJG0K-MHZRiFfX0"; e_fb_httpversion="AcL41MNc5YbNkDud1xSYehyHtS8xkV5buo5a43ae74B_zF_ItGsw1SDweITJ"; e_fb_binaryversion="AcIi-YX0jD7K-iI9sYVLy1yMfOzCScr6s8lROAsP7HF9sR_fs3rwby-8wXAXR7r1ayHKmNWHcEW8jbG5X3x5slRzAJu39ayaZLg"; e_proxy="AcLRtF8y2eFyMN25tDXICc7iVWZZYeOwDT1ufiiq0uNIZUDn7_Fq78jkMU0asRco1cXSBlpc-qSsan1LfvN1", http_request_error; e_fb_configversion="AcIXg-iBGU26tJrtXhCz4ejRuZiZ14N-K-nAf-HZPY90BulQmWf_yvBYBGQEVQ"; e_fb_vipport="AcK_3AcMeSA2qOxudbHm--lm5Rao7YNxcF0C_cZ6Twwb-HmE1RUEH9PiLW80"; e_upip="AcLVvUpRrmeVNsa9VACIn3hMTG6zWKUuVfaZY8zcFnHZgLNDgKRWriwV53uNzw1ST1jJ_8r6YeX0zyl_TPSG_yPxvx-ClmNs9Q"; e_fb_requestsequencenumber="AcKYQToX39KLi9DtjM69TJjQH-1ceNVoebw9xCJ6X6m5GsEH5yc9Y9Ogtw"; e_fb_responsebytes="AcJyGgJ3imQI2C9M_DDBN6DKuWWYsPXSwYHRshWshigahHEcQLGM5ZZgG52a"; e_fb_hostheader="AcI4bzbTPqyjTktztdtBArZBnXX5OT2KLwN3-1r8uglRceA4Yu66wYvLNYp4MQgxoGJHttmNrHgtSkGA"; e_fb_vipaddr="AcJugwPgGs2aAsegEtpgTn8dA5CRuZODhy4gagVFR0y-vL6b8Sg4OLja546uVCF6rOC4pBY"; e_fb_requesthandler="AcJGLJ902hipf97FDC6bmB7FHWBjqCYymE8nApyMXQZT3JuJJT_XeLULV4wHrkx-fo_ddGIUbcM"; e_fb_requesttime="AcKNMAEDZFNaPMOTGETREzhnUv_PPu8a0irfAatfwTswLzrqzl3ykJABjt9cREw_sacRQ3l4ZQ"; e_fb_builduser="AcIpppfFxsvxRdbWcsADpqsJ8a1iziL7XziW2lA441Y0TQldSTp6Yx-hOLYJFrIThDg"; e_fb_httpversion="AcKDhLLCdIW80iBDBS4GgoPQZevnsrCPrPVvmvulLMQw7mw83RbJeCOjDgc3"; e_fb_binaryversion="AcIu8IGq017horlnNQgUwfqfuMc5TsPONdEN2SygAGDD3KJJvvgqICBmYLTW_r26at8G5VnSOUlzIeaRYSg8A-8-yxeoVNGlO7c"; e_proxy="AcKSx7QgMMdUryCf3FeRcSI6SjiWTZIlcgtUypVwqVV3lxL9w1PVXXY2LA0M2Acaxjb37QHMTMAtWBb8"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=71, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8587561031271016"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/25/2024 01:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:07:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:08:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:33:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:50:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7626963384077742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11224485, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Av9s7cfpTpjXCuCSJfJAUAn', 'x-fb-trace-id': 'An7nb15zkKp', 'x-fb-rev': '1014445688', 'x-fb-debug': 'ZlJoE7r0x0mnejVK38SMnx+aqamX/UDILhAanag/xoh6H3P25jroV1YQIWshaqYg0FxPzaZxI1D+z3sY8HnW7g==', date: 'Tue, 25 Jun 2024 01:51:34 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJQceVadiD45hWbgUv_lBUaTiLlB3DoGcBaMMvIIkKPyDTDh4QHp8XGGavllg"; e_fb_vipport="AcIN_-ZAzIXtsMvnuzlSJ6egHlFfD7yDsmuM8qwBT51kp4-KsmmDVYZRvpFL"; e_upip="AcJzY1Osxei-r4F8hx0w3n7c6X3ttDrZX0W2R5fwhXSXVqSjf-h9SuohFWVfvn5BIfINYgGXc7dVhmxRKRap8TYvFUZgOhw"; e_fb_requestsequencenumber="AcL8C93KLNWGD0DhCDnZM3KKeqCalKq6r_8rqSLucsusYDzf9Adzhv-_nJ4zEw"; e_fb_responsebytes="AcIrIB3MNNJb9g2p0hFCknCo0yWu6IQZnSaPTWT8YA8ajMmuUKmaOrsUKFD4"; e_fb_hostheader="AcKBKCvekjaWWeWSCH2QI24ccRegwjsCcunEW5lea0sungFiHfSdYUBafvv6VFsxVw94fkRcakKxMESZ"; e_fb_vipaddr="AcKQVJph1iOpTbfy7BqKHDGOpbRBYsWfjVNLYg6vMIouOjN6qE1Jc-J7r55ePClEFvs_XPpXpJuulFv5jZlwXR-sNJfhSJ79Hg"; e_fb_requesthandler="AcKPXkOhGUNUV4e4sCB5oVIu9jCzsZqLXtpZe3UZ9PlkGBFMVBFJqT4oqelNjh5GJeeTfl6_3Ic"; e_fb_requesttime="AcJvsxjDwV8bWYPM6fYisykobfP6jx72_bY4UA3YTBzjzqXWf_jJZXsE53vIixXaIjdUzNRpAQ"; e_fb_builduser="AcLqYgh2yZcHABoqadDcITbFYzxYm-yfwu_nvw9EPEcINlcooxEeyRjyg9PbDM8_-6w"; e_fb_httpversion="AcIeTudiU4qA26YrZkcGtWe619sz3uSAOb1T35VPsiaRm5hlHEc8hRLIhcOW"; e_fb_binaryversion="AcLelkX19oRuK1fkVLryh5tn-xUyjkugBVZLexTALpITH3glr3rkIWXa59bluLVzYvi8ShECEEdwlJQLjgtXgmJ0kqlGlfOLCMY"; e_proxy="AcIfSLYsAIPJOy5K-N9n5QjL-_YPBiGuD3kGreiEIGt2g1VvrkbPAvqlh3KRgZxmuRRczg-gMsP_PySJXN_p", http_request_error; e_fb_configversion="AcLXAJ-1YwtmiLLEGFM6iZX0gCBICAUPZA69knu0h3vHxZ57NiB4B0LPYh4uHg"; e_fb_vipport="AcLKLhli85u-U-dXWev3yb7JPynqnwfl3bksmq9DdKMhb7QFAQD7YBJS7O0T"; e_upip="AcK_MyYa0jprkywM2Ep4m1Y7alVIide6il9WnokyOfu1y9TDzhdJy4gjkcN9XKJ7YBJ3u288RBkrTWMmbu2HiFy2wTgSt7ZbdQ"; e_fb_requestsequencenumber="AcLeiiLh_4b2qvmT3UBHk3L0QhXboC42PugYPpRcCedVg-GgQcs5cEQRag"; e_fb_responsebytes="AcKP5AcbB4PleJmmXf53vctBbSyM5rvLi21eKFWNUG0Pdg30zNUWyJBzh9kc"; e_fb_hostheader="AcKDnzwHR1YjEy-15A-3yn6n26udJ1dHAAr6zAXXiPrg3UcrYGKpf9Cb1iiK3Z-fgPFiI_-9IoLR4Fyj"; e_fb_vipaddr="AcKIjF1JBQTBNDCDpFAomO5Yk0hum8eea_AhZLku9DOg2b6Yx5z4IV44TmSvFQtfeUoy17gi4Q"; e_fb_requesthandler="AcKhcGaBYGDpFKDKcYLtcU4WslQ54SQ2_jMWLHPModFOX5q0dGR_EcM6u5oKHsz2WL6V8mjREQ8"; e_fb_requesttime="AcK5xIAXAZjVKRbBCj_YXOzG_lggi-_HdshsN58mzfGUeyTEwHPh1tIFJfxYrtOZvt6k8klXGQ"; e_fb_builduser="AcJ6d0U6dEbv029mm9B-dPB5I3hyvPCk4DruVOlnR7EKDmr75UQd7nPzDxnznjuUWVc"; e_fb_httpversion="AcIX1vJvdqJCuTSGxHYw5CvhHRKbPv9a-ixZZ4yClrYGjSxWAhPK_tzOG4DY"; e_fb_binaryversion="AcIuavwsWmVwq71KeeSPhVJqwskZlmWPbgUyFEoGChCuDF6cxhVaDRorGrdTwyIsFe-LhO12npR2t4kE9-hzx2vFN6EfR841nGU"; e_proxy="AcJds764KtuNuDi5zDCksHbj-wE8YuP2AgYt6M8YbfhVTcWls-_besmOxP9TJIIAHbMya4M-1g6VD9LP"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=79, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7626963384077742"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/25/2024 01:50:22: Error on send one message facebookId => 7626963384077742 06/25/2024 01:50:22: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Ahn2BMpznhn1AR0LN3QuuB-" } } 06/25/2024 01:50:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7626963384077742"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11224728, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AH6WHI5x_Zi64ggK9AS77SU', 'x-fb-trace-id': 'DFhjw5nQFOa', 'x-fb-rev': '1014445688', 'x-fb-debug': '0Oxh+ku389vrLqqu2MpQPDROAirg7eYlN9oaRK3eWrOrea/NQLpQK1AJz14O2oN8mM9+m5uWbNVqCmbISxctLw==', date: 'Tue, 25 Jun 2024 01:51:35 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKYhERuGylv-UNV-U-jxjv7D91XMP0jh7iySBTQlqyNxhoOoR-5_AD0xnOGTQ"; e_fb_vipport="AcKJlQVvi08jixef9mVj_M7l4vQNgPMAvzqag0JzSA_1RtvR1zE0AbHOVwfb"; e_upip="AcKxY2wHrI-aiuVWRl8dbkIFE7mpgioUExoc3GU06bvMDTKCyr_UWJwWY-htpHghY-8nGUEMKWqO0wQ03NAqiTr2H0hc7oL0BPw"; e_fb_requestsequencenumber="AcKl9Ku3qEQZ1Wbu2dINObHj9y3LOBSZEebO_MGpWzaeu5GWDfxpo9y4DzeYiw"; e_fb_responsebytes="AcI6GJOePgBirUXJdWd--opWzRxF9cNRRFL7kWH_E8dMKOT75foDB9B92IyH"; e_fb_hostheader="AcJz4pCouVITjbQaS871XBkY7BX8HGWG8P18wELLIta4LsuLiZdH6O3HisS5wRTdssTaihWg9Z8xxywb"; e_fb_vipaddr="AcJJIy01vkwMDX7jOafXnMUoUTqeGxdcFM-C4sjqVTxdmL8A5e6sollbjPC7ydEG_AZcD7VL62BAyyosao19Ei7POnJpDYUOsw"; e_fb_requesthandler="AcJcQ_RILpvVvVlh6hiT-DZ13X0XIFewA2LOZFNLzqQDd4-wSHlfuq-d3a_4GUmjZ-x8eCxpsfY"; e_fb_requesttime="AcLo3P6120Hj2rdGlBRItCmxdsnVk2QZypNiJMIH6hBukklj9GiU14tSowgLzjU0UVCjK2pkiQ"; e_fb_builduser="AcL7Pr4wOIr-dmWylPm2WfnAW8CbUkVegOJFTnFkzMeuZN3S-0VOGEDjGcnxsVe7Quw"; e_fb_httpversion="AcIPsNc7ZuHEzykE_NDvvw-0Ibnn7dQYolWXyfTB7jct2wRyn8qrBA1UsdyJ"; e_fb_binaryversion="AcI63AIUPHAZf9uw7GCUA-D3VZw3qMbZCOLRNqqWZ9-2Ikv-a0RanNLXkIgrGhWPGcXYsQJs13Li2uj19w6WboqkDM0EUSYRtn8"; e_proxy="AcJ5Kfb_Ag-uqYCHe_Wb9OGn0P3N5sRmBXkXj8euZw--gyYcpbf4ZgTpiL_nw-t7aYKRo7EOhTrRh-ngP4I", http_request_error; e_fb_configversion="AcJCNIFH1egpDoSSKwgqmTqnVs6lNqA7Rd6Tw2V_p7qU6fZ-lNF1Kop0tHSWbg"; e_fb_vipport="AcI731AaYfaCc3sXisF2zUfT6ML9A0gkluLLAvwppnBvXo2kvfc32h9BXP5p"; e_upip="AcI8KuhkdiTD-MLgCbiToJNBqxmF935j7Q8QL40F57z675mrYO7Qf95fnZzr9NbF0dec3nmZ_RULTwnjs_oo30hZNIjzJ9O1yQ"; e_fb_requestsequencenumber="AcJt_d_lm7EeD9J17GbDsSWk_n4yIQJU_Lx2xtcDDl1gaLPTNc3jmpvqNQ"; e_fb_responsebytes="AcIqjoPEW0dCDKMlfRts3AEaFTKb68ksCFVdtO-I5qYUI2N8J6Cb56ektydH"; e_fb_hostheader="AcK5YyvavMNc_fMhrBkaOn5GeaaiUe34YjNyF_K4czTpAW4k_Fi-zi-A4CfBr1vBfXyeMB_6EDyGv6iX"; e_fb_vipaddr="AcK9zP_Y1mL-g3ZmKDrFJvMl8Za12C8i1ybOGpyExcnHBJl9L5pniKbH5bW3-VCLujhcMZzGfA"; e_fb_requesthandler="AcL4XofMFW1iEAoAoCl2jtgByQorO8HKCbFdTDmzCWj6kl1XRWtEuZXexMhp6VKkmsxfL19vsQU"; e_fb_requesttime="AcLdVs62H5G0sBkNggD5zAU-_Nt2zWRz6_JsYfWHYXDDPVCEGnLEHYlplb9bvwgfPsMCC_li_A"; e_fb_builduser="AcLm779OgcfHPzzeF8WTwBqinV9DSkJTwkDCH0oof86KgSDCASwYX8rTIfJ_wxN5Q3g"; e_fb_httpversion="AcJn72KYuFpVTqUYbaK6WFSrkmjNd2OG0g3P6nXBwbMEtnsD3Lev-JEypMqN"; e_fb_binaryversion="AcIuCYMiBarwag4REZVuUeJNREV-kiSgekGQQfNrSHavdEkPz9fgCDn7jw_k67TzEE5ZR0kkjjiDR7F18rxCIXwQpfASxgyboXE"; e_proxy="AcJcLFy-saXxjVK8WbiP2LCe0Gj6jnAU-0GHdkN1KSfqajmeeiaEherl-By7bqYyOvvLckoa2HvZ0oU"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=68, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7626963384077742"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/25/2024 01:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:58:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 01:59:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:22:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:23:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:24:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:24:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:25:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:25:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:26:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:58:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 02:59:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:04:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:05:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:07:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:09:56: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 06/25/2024 03:11:39: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'length') at module.exports.asyncForEach (/home/ubuntu/api-facebook/utils/Utils.js:15:37) at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:17:13) at messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:17) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/25/2024 03:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:19:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:22:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:23:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:24:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:24:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:25:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:25:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:26:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:44:30: Error on controller payload Input Treatment=> type not found 06/25/2024 03:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 03:58:53: Error on controller payload Input Treatment=> type not found 06/25/2024 04:05:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 04:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 04:07:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 04:08:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 05:05:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 05:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 05:07:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 05:08:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 10:15:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 10:16:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 10:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 10:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 10:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 10:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 10:40:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:04:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:05:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:15:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:16:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:18:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 11:19:38: Error on controller payload Input Treatment=> type not found 06/25/2024 11:19:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/25/2024 11:19:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 12:04:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 12:05:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 12:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 12:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 12:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 12:19:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 12:59:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 13:00:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 13:01:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 13:02:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 13:15:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 13:16:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 13:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 13:59:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 14:00:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 14:01:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 14:02:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 14:15:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 14:16:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 14:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 15:22:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 15:23:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 15:24:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 16:22:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 16:23:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 16:24:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 17:13:47: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 667af83aff349866cd4f93f4 06/25/2024 19:00:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8017118171672920"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11451988, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHlIp-in6dqrYMHqyoxmuwB', 'x-fb-trace-id': 'FqNK63lPlJH', 'x-fb-rev': '1014462086', 'x-fb-debug': '08LWO/CpyR+0RmCspgHvXoo/hSGJQjQ8HQnyH5G+Fpi4sRN4bU2bny0wIynwmm51NlwLXe+3BHK3PAqapbnOtw==', date: 'Tue, 25 Jun 2024 19:01:19 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJOtfaE3aU_3Ycj18-ykcBjj2iyy7-k_86HNG9RnAo1oIpuMzGCXsFSiT502Q"; e_fb_vipport="AcKRKsx3-01tp0L0iLsKJzjLKhfc8BVVRUF9_R_nlYQLVf76-rbXBLTZA5ia"; e_upip="AcIV3atnfo1c7nsndmMOj35mcSiXAbuXis18RXb92FNWgwAJQOCR35ndEhQYidxuwoE-oIs4FoszIM0EjIL2_vesybAPpV7IPQ"; e_fb_requestsequencenumber="AcK38DYyfZxaotLyTv6vtbdm7hOfQfdGVne9FYIcnW9oUPPWrLmPE1096b2C"; e_fb_responsebytes="AcK1Ou-s5NZnJ59i8LBdnEzb1vTCyzrpNzZKggG5NnXeetfcZXlKbEqXoVVD"; e_fb_hostheader="AcItSmKbjoRi5KX6aph31WNm30xnb7nPfTY6dLFO1xL7Y6ZwLLIkKZ2Zk1ewav-9Zy0jJqAggfp53LkW"; e_fb_vipaddr="AcLYsxZH-Jkz9spoOmgpM_Yu31M9OcMAWLWdif3GFZLkH2GeiXOhls8WuRS8EYcxx_wqjBsow-exct0gh-Qpnv_QKD4IPY8j"; e_fb_requesthandler="AcKDXxDz2HOJs_g9BJ-UdWkT5bhMih92qOubKnugSwwEE8_W8sWwpc-y_y0J2FUDR2z42nko4OA"; e_fb_requesttime="AcJ07EDoooTbPjIQvbJvIKDTp2TrILZC5I_t939k_slURDAY-MIqlEXXlEa16Ur7dv_U-Nvr8Q"; e_fb_builduser="AcJFnIP9SNLLbIdjQsP93F5_F1f0fpjqPvJdKaSmGwGmhP_WHX85F_HtZQ2zce9csa8"; e_fb_httpversion="AcLeJSRAubYQOzBWVRPFS3SfzsFFmYnaejvldqKCjspNEXdvGk6bvyH0d8RE"; e_fb_binaryversion="AcIoC6sjHFbA355T_s0OvIiLrgOTbpnLYfzaw9Z6Kyb0uuMFaRy_jdX-xwJV6VJalvsDRrrZlVyfKY3tMsZOMIRwUmGs1VOk7lQ"; e_proxy="AcKlzv5Y48nDawnnZJa5ZHrJNDqmpX96IdphOSi9BaEOg5NmQbH23PCz5WG6RUwy-AaiFDmDaBK20YDi6ymk", http_request_error; e_fb_configversion="AcJbz8NqXZ0OXiaCfKqJvAx0Jo2bMrXZ-bT968pU38T0I3jPHJfQ5XlMEYM86w"; e_fb_vipport="AcI7WuHVeCunZIFj-n7EAD-8UtgT2uDoEpVUPyRBBoLa1octv4sOEUK3S958"; e_upip="AcKIhF4hxhMIGZJoQv__tHw3sPwwh8o_v8An9SCkkrR0k3eV6vLkw4tsFQ9ytKDysiEUdtrZdMwHGLpGFfRe8YBnpCxOBFOR"; e_fb_requestsequencenumber="AcL3wd1KFXWIWZLSTpeuESeN5jYdqKM5IKnUxQ1rU1HxuFeJC5KTmSisYA"; e_fb_responsebytes="AcKTjDfNYCq6UwdoRpGxM89aPxAc9noNZprD75gpNu6tISzvKqni5CS_dykh"; e_fb_hostheader="AcIY54xB1SbRPS0OxWlm6Tcpvk9HuGNDGEmtZk3x32oPea8u2h2mjG4V5IP8bUmiUVp68ff6Kjvx-qFb"; e_fb_vipaddr="AcLVZZ3cDgujk6-VcVz8Lx319ejVZZQ3inEIrTByq6DeevyZii1Fk4vWn-k_1h6Lx_3k78bZaA"; e_fb_requesthandler="AcLEvY1FXY4H7EH3r_iFZx2g_-JGa60KOp6QM6Y7HozX129ExLX07EociU2xvU1C91b7lvKt0So"; e_fb_requesttime="AcKvYo7JcqZzmLwzrnRJnl1Tic7QUrH28jKCGqFnDnge-yczofE4wkBUPPc8AXYI2yGaX_OroA"; e_fb_builduser="AcJ16ve9MoTb8qxGmKKeQ5swdueb9FVET3eFALJK0Wg44YXli-RCDs_lk_pUj1sxcwU"; e_fb_httpversion="AcKgM2NfiU0cBB4yQP_g1IW97EvLBxTHFPw4H23v6F2lB3rl2I3LT9jDAwi1"; e_fb_binaryversion="AcLgrh1Nlm8j206pdSdNSMF2qNC1dMPTsA737YhzvV92JPgRcDKYCH8RHxhcNhSZfkxvee_3OLlM6fWQ3_MDFeBDil1yDCfURBA"; e_proxy="AcJC6XvZxcXs7AxXBOVzoVoOL-X4ijKwNHZFNs867PkwXJH2Ii_TgD2uNdFrePDCG10aHJKkrwhsicph"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=29990, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8017118171672920"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/25/2024 19:21:47: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 667b1392ff349866cd4f94c8 06/25/2024 19:30:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8018204324867860"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11460639, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtILM2m2DvFJRz98-8gDjMN', 'x-fb-trace-id': 'AjbD6ILomrE', 'x-fb-rev': '1014467391', 'x-fb-debug': '4ZFAuYQ+Vb6DskfV5LqXMUtN8LCVcPF59OqH5+2mIIiBDHcGXf4sDS6d9IGQElLydHDPubCgAcfzoUkXxhzd+Q==', date: 'Tue, 25 Jun 2024 19:31:52 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLHPnL8GS6eiD2V4dYcmWy4gPOM_yXCiEMmjG0kEBfYe7IoHbh1TEa39YowrQ"; e_fb_vipport="AcIr3QAFQ2pIcPisdzCvxksgQ5q_TFivhnAACW1Ta7e-FnvTQEcS_7rtfNcw"; e_upip="AcJJKwOepFbxIN1UDFUM8WdYZVv2NPMK_ENexLTOROKXKI-fbQDui6R_e7lsZUTFP2dpP470vdXjR7hpEkfhzWr73Ho9HuDOdzM"; e_fb_requestsequencenumber="AcI1f2mxGkFYCPjHA2Q9a22X7ayuRm7KTrnz4FugtJK6bs9U64Iia6FQkXNybA"; e_fb_responsebytes="AcK35ytiSlqjLsX3OXhkkVKmNOPATSGm6QObOG5KHWVKFT2Zvh7HnE_f_Dg_"; e_fb_hostheader="AcISON3G8O1N0ezF9-DOjOymXGxO6pycGkmqq1Zpo4EtJ63E6vixAtHzRUcfEn5GOApuAUJYLeiF8FSJ"; e_fb_vipaddr="AcKJvr7kha85-z0vnnLNgian7HMr3vJD9v58x8YbYg65aA3EyAYNnPten2JGo1-Tdtzeh0Y_4E45_hlAa9FozlZEIWt0qUm9Mg"; e_fb_requesthandler="AcKWDoAxB0G23-RfjcI6BnFV1iSAh5s5Gm2GGsmgcQRM0Qm1hwicg-715unNcHF8xzOkQz8Q4IY"; e_fb_requesttime="AcKJYTDbC64yP1uUbhot-6O-GWXf2wDSruzRzBR6xgMFvVe_WywLek-vaDf5STSd3yBQ6YWUsQ"; e_fb_builduser="AcJSeo0xebWpffM_pxOonya-eeNBjLkGvsHdMx8p3jjypBL8wO9p3U4C1ffmlDU9ANU"; e_fb_httpversion="AcKDtqovuCvPeAqaLgx935jjTHjRgsIrqgOUpLvWkVGaSBDcHU3qdC6SQAnZ"; e_fb_binaryversion="AcLNBOfW9xkacih1LlyofJ5HgoB2Wf6QMkOkHN08LEFqx_jL_54jKuKUiXAWz3ii3rdh7mH4TBKiF2sCvKHLscByt52dUFZjfSM"; e_proxy="AcKKQ1B9jWST4JieVq0Ley61ljoa55e7w_cNioq98nQgpv7d0GTnIeTqvrUmuSjxJgSynVefcJTzKllIgP4", http_request_error; e_fb_configversion="AcKZbwj6yqhaJV2oncGiEZo43nzmp71998wy8bDEE5IJ5ZTYBJr3lh5Xb1l0Pw"; e_fb_vipport="AcJwPzIMKKk_dPYGO6hKePpJgOhxdS9donK43BKEtiwGkzVfkexJy6G-V3jQ"; e_upip="AcIxFmFystEmb3kAR0kdZW4MkWNptEaPidca9gMUo0x4HB7gxweOwUQ-a4wwNp3s3qgbW_VOjSH410pAPUOyymvhpn5HvaSOmA"; e_fb_requestsequencenumber="AcLlLm01OuqEsZ6a_5VHFsl3OINvmndQXAH8pXKEa0_7ez1p9UjtEu1dEw"; e_fb_responsebytes="AcIyMo4arTk5akJEeWacspGmNGFq9IcEGv4FVAdusvEeSpjJIGlvTJc8G5GL"; e_fb_hostheader="AcK_Kz9InelAcu3Zx1IqH9meZq2lq5Iqdp-YY-9B2bmd1f_PXFTriLgXbHARipXqoW8CU9GflOxMs3pX"; e_fb_vipaddr="AcJ_kou9mX16n1lKrZHKhZ_6FuOfFluSoo0JEsD5Q2An7_xRmtDiMjtz4gN1OIoyhlDpQ78"; e_fb_requesthandler="AcLbjdn7hdgdYCRE0BSTx2LNb_M_beC7-yjfPior5yvt3z-m4mNvwBWZmxLOfjWnIDzjlwH9sFE"; e_fb_requesttime="AcIkEkxuCGNd_HZBMvWwab5PexfUcgmfivm4wtPnyA907yVHirgpcRMXo9EaV4PYWa0ZVKpigA"; e_fb_builduser="AcLW0ufjtg5A9ZamazN74z093t-aE836SN9oYnc9n-Hu8Z5Lz3s8ymasW1Wo-tNA15k"; e_fb_httpversion="AcIzIrQdzLfu-YTza4ILH6P3fMiA4htN-2NdUHRNpfkwjlwL1sHumRIfUqf4"; e_fb_binaryversion="AcLxi1ug1dnfNUATgvgEQomYH5R95WB2MAu-uPNrgKkGPDTKqi8xXPD-zUhzBR6WVopLDKmI7141wCNIHLjhRtcWPryMQLlOMo0"; e_proxy="AcJhoiKq4i32hhW62IRS7EKA2DGw94l6KQurflxB_89-No6T-BVUgx3kFTqQqr7IZu1lEcncZ6NhFnE"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=93, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8018204324867860"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/25/2024 19:30:39: Error on send one message facebookId => 8018204324867860 06/25/2024 19:30:39: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AGcJ2tjyIRjz7lb95GrseiF" } } 06/25/2024 19:30:39: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8018204324867860"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11460882, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFD3l_dJHAj71JtUBvDqSzf', 'x-fb-trace-id': 'AJLea0SSKhu', 'x-fb-rev': '1014467391', 'x-fb-debug': 'nKaXlA+1klyxy4ahUWH4WycSrhQpiI8duUubiEpPg7vRWpHbvV1OEt2Tzn/j7sM3lTLN8CUte18fPVsyjdsXig==', date: 'Tue, 25 Jun 2024 19:31:52 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcLXzEuOGmI6Vov-EhJ6N7yJ602zXJUORCItYIIWDrs1akMfFDr3Xav3csKf1Q"; e_fb_vipport="AcITjxvfLGRy0Hdpx_n4K89DXVr4GV_mpZPfyXDarN2Jb7kGZwZnOFRMcT0t"; e_upip="AcJ92Wp8WhJBVMUZ7sKH287lzkG0N8VkZzftX2LakHfI-R6E4hp7esT1OrY1Ocp4gqCiI_Mizy2jceZBEbgRUKfbB-9AruWRfVw"; e_fb_requestsequencenumber="AcKlYoHUxWDWNyxqfpHuGRdxhptD8BdkSBKIpnQJNVP395P69txMHXkNl-86"; e_fb_responsebytes="AcKZJSAKuslWOOP2NH8bWVWl_LlKRPoW-BOzzY_Nw0ceJd3ApfXZPQ4ChHN4"; e_fb_hostheader="AcI1mDtADgKBkDRLx1sB-81xW6zFnx7UJQOGjykMZ1P2DISSOEWElBxJyooFuUjU34zfoc0iGxOFD4eJ"; e_fb_vipaddr="AcIBgEAJ2WfUZmIsI_uRn7j9Vf_CeGHUAPp9rkkEy2AuQN-WhVINmEoL1EwXmCwQJxQ4ana780gC2vLTpFu9Ng0H29m6h9fS3w"; e_fb_requesthandler="AcIUj13qIObzgkn98X6xwBm4E8bVdIQ414U5xNpzM1WiZor4ZNuJhJ7MvQmVXnbNRHBjU7tLGAA"; e_fb_requesttime="AcICR4kYhekMXxrB-1DZ2PZ-p0YELN7eGVo2H5ZFoyAHUdYRmTp_WTVXF_zCTQktzsbI4NFBDA"; e_fb_builduser="AcInZOnkoA75RztKo5k5bXuZZRVz0Ir0cLJLS9IMairBeMOH-LwSScaXBk9l7ZzFiRw"; e_fb_httpversion="AcIuXRlkPmZF5-rsIqnd3Q-MFowNvLmXUr1RcZtr51rWtWwdDpclLto3Fdmk"; e_fb_binaryversion="AcIk6M5psWaLPMvgGnrvMeV_Epu-P3TmBs6po_-0HARFaPXaZVxmwsb2-fvlxdL-7Y-JNnJJhtkmq1Bv_a_Nz1ZAL0HLzoVjjS8"; e_proxy="AcIULw5qpy5SMtsj4-J_DFQNdD0XHSxVuN67bLRxa14_y-a1oFBxGGojI083gbTmVHA3IMTxutlJlTccaHGQ", http_request_error; e_fb_configversion="AcKoK5DpyhsNs2SfIXbRMyv7qz_B11yNam_KiWO8vMk3fpzWOMg2h94MebNdKA"; e_fb_vipport="AcKHnZF3UrUzY2HWRxGCTlfVf7hJL8AWCzYRbryZL5SMELi4DNBMOrXAT464"; e_upip="AcJBxcsCg5TGAkmRAsKu9alDlJYWEv78CEAqJ8pu5kUqy3N8bDNy6fDVpL-ALQ7B5NCB6d2MUcqo33s4Hjv-Er2zuzezRwIUEw"; e_fb_requestsequencenumber="AcJLMY5IVubN0Cxa0mxrBZM1rdrejXGj1f3vfwR86QWBBXTVqfzENXjKxA"; e_fb_responsebytes="AcIX_o8nbwZwfnESlJRWpPSSbZ8mdMuiEqA7nRIqbGmZkFxRL9rri-LlJYll"; e_fb_hostheader="AcI_08u8QcM3kOHAkEZPSBKjlM3meO-p2vM_kW1KlSRm_VoSo24eBbmYZw-7FnGKt3qteoYxx3FVrXyq"; e_fb_vipaddr="AcLbkdXc1xoVxCss5qp3a1AxuXeeyLRDas-dvjbEUq4mG7G5vecrQBcP6OhFLixXSbJTJ7o"; e_fb_requesthandler="AcL65S2yLeo_FFdm6Cq0h0Tljyzf1Ct-NymfOKkiMejn03K2g_egvY48NRsOXSknID7eTFwJobA"; e_fb_requesttime="AcLui_2YcYFy1nF2pTPMY7y655gdo2VFFkRPoz1pZcUYSGqGNnjOfL0rUL2E9VHuzhtUQtLMAQ"; e_fb_builduser="AcLzc3pZYz3JhKeXsw_5snVYtL68L84RXxm9kstlp2MHy_17uXDaS3gkqpYheiWrxn8"; e_fb_httpversion="AcJvtqU5SmnijMkZqCIVTh2oSHBti0L8zGI1SZgFX7aVJIA9LaH6Cru32jPE"; e_fb_binaryversion="AcIRqsybFd-jYL9fmkMbi3Zspwjl1pT2eC_YNcPuZfi-7h26InRWR0EEDoXlokXZORsENzBZq0-AyunBes2GcTY8gAIjiscB5b8"; e_proxy="AcLNRVDjy7zBPZZfv_FHgiXvVufKG6YXJEZpc_iyD2fRI-ex-PHD0rY5B99QvWk3MaaCZsQ-K1HrF3a-"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=120, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8018204324867860"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/25/2024 21:32:35: Error switching inputType 06/25/2024 21:39:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 21:40:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 21:41:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 22:39:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 22:40:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 22:41:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 23:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 23:58:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/25/2024 23:59:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 00:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 00:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 00:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 00:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 00:58:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 00:59:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 01:00:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7566645423433411"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11537129, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATBYHbS5vSIMJHUC0bncNLZ', 'x-fb-trace-id': 'BVTJaJSNVSx', 'x-fb-rev': '1014477204', 'x-fb-debug': 'Bw4/v2Y8RhO15k8gjRwA9o+/h7i1PvoZyOHPiFNvNg2gi81H87LgDOUPUrN/58VcFbDheEQSwhIoRhjYAzQqgw==', date: 'Wed, 26 Jun 2024 01:02:00 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcJ8xDztZ3sgX_v-K0qZdBJPLNR_TW7lvxfDZ1dMuXRKMMhr5MooZvvYlHv_cA"; e_fb_vipport="AcIP4bY5xtYIXBjPTPG3uPzLpzxAngdvX2u3bFA6IV4V8GBccI1LROmH-9bu"; e_upip="AcKSGt-kUKd3FWSUe33DyCfIhK64I4vlQ7DEghJdldoOt3FXMLiUguqbugnqTVo3QE-JWXCWGOJBvC19eEHxxywI21PJrIVIUfo"; e_fb_requestsequencenumber="AcKSkaco--g-bh3_FQ0SBSgamN5Lhik_ou2yX5u4cOvilGzDE-VYJ0IPhXKOVg"; e_fb_responsebytes="AcInrExtbmTDO6Ig_fE11ynS7dG0PmQMrTZxdsdDK0kYCM5hAQQdMX7PTMcg"; e_fb_hostheader="AcJuIGcErmN7E9zeywGNm_Ata2c74iS9mCUlIJtrVomxLyzU8hQjc_FnzBfmsSYvgw4XFI6sJG4JHfAb"; e_fb_vipaddr="AcLBs2LIz-g3PPokm7XYbeQG7QrN6GITOgOaCCATxGRLyqLNpjVw3yN-XLKFSstiJABVjrk0kje3R_EfAK5JyvIGE8nVzrOqnQ"; e_fb_requesthandler="AcI3WxjXFdaGF70JO8cuhPklH9BOmHwETLf9KrsZLqbxeY9yKh5hY6m2CVgmMuuP98Z70iRT66E"; e_fb_requesttime="AcKKspcAdtiw5RIrlCCO01pwn5xLAUhXh2pBp8wy3wrlzrLH701sS2gszhmtibi8g-d7QS5PmA"; e_fb_builduser="AcKl1_CqeoDp55ebPtm8LZiumLseVEzIYP5uNVLu-8-0i6afnGJltAhbeOStlxTBwtA"; e_fb_httpversion="AcIXMdKf0blrVWBYKeTg-S82vEBNKn4JIao05al0xMsMMGVpTfVCwQ7Og_MK"; e_fb_binaryversion="AcJ_aBOMk6DTNkINhNmbys8uKX5ZmYQufGHNJBrGdTqSphTx9E4dkpeEOkbdz5pI4p565aKLgLUNqk3oLCGr4aKVO_oHESnhLf8"; e_proxy="AcJAcmxg-fPJynnetszwFboC-QjNpUuSWIWrIFo0Fnnmrsl-DzxTw8a1P8V8QgJZGST05WV_SoBy4LzMh2ZD", http_request_error; e_fb_configversion="AcL4Y559CFtraSXnHk_63RE5KxvLsVsGKew-6ngbO_sgWkBC_3N6oDZAPKf-zQ"; e_fb_vipport="AcKPvxxLJGTG8xb5jMnjaiXX_HVEKoOaM7Ch1r_byudGLSH0aAPSh2zoVrSS"; e_upip="AcL-MbtRU1yfL7AXArHp2nxOmjiNh62l7JEYprJ4huPoBwVtuoYsX3QJlbg19i-V3KpCSz2UxHUOy22tk77XYaRGT3hXqThOVQ"; e_fb_requestsequencenumber="AcJ_6DTBq84BiYdTlI93FpEjcVBOGZEESmkq4plEVlqWWi7VhWo78SK7_w"; e_fb_responsebytes="AcKjNKwodPOZI3y9CHwrUjI5oqpo13792K8dJPebZxeJIP0HekhHGFMfWjR8"; e_fb_hostheader="AcJK-j7OvArraTIyuq5pcTMCTlv4tVYc48xqHYlxCH-tyIuVEVJ0SjVr-przVQSdN7AndP5S7DneUIHR"; e_fb_vipaddr="AcKOC4zSUPPsVm0UD_kC2GJbw5RmIS47o3iUmCnP3Z9dj8drEKuItwLJklIDB37zsTTMGQs"; e_fb_requesthandler="AcLPxZYflIyauHwzXmumy0DmZBVy0Sn1h0RZPbVsq0p_vRiKARdbE-W1-yQDWcD9g3AxKsRmHVs"; e_fb_requesttime="AcLlW8LeZVCkhWD-g2GRS7E0j1GBVrTrmJ8FQ-5VjotQkLarFYMuMBFenNnUupn_3zKWE_YRPw"; e_fb_builduser="AcKr0RUwftBGPB3_4p1dbC2dTguWYOWOA0lfbLrl4XpZVsttK8d8g-jqXvdx7plaXZg"; e_fb_httpversion="AcIgvPTX1DE9-Dhuqga9lICyGVg96WYOAyn5hnXaQ90pUdsV5rZOAvzBqU3O"; e_fb_binaryversion="AcKmD9utAxWvZ1Fp5l8cIxZIctLlbXrdJE_vO_bMi1IvUK_xJ4kCeLFPabYK7ExfCdQ_Ljkood0XIxFX0OBg-mri-07iRk5_tIw"; e_proxy="AcKQOZjM9mh84fYwu4B6BdW6-SpBOC08IDr1HTTGcUcJvmu7gG1NyRzdOLN3px7yFvY39Watd4_ETh0A"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=75, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7566645423433411"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/26/2024 01:00:49: Error on send one message facebookId => 7566645423433411 06/26/2024 01:00:49: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AJRD-l5e2FeNq40eQDdU8Oa" } } 06/26/2024 01:00:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7566645423433411"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11537313, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzD4sb5DwaL6yYFKABrKbHv', 'x-fb-trace-id': 'HHGL1eA2Tvi', 'x-fb-rev': '1014482965', 'x-fb-debug': '737p5PyOOsL3zK59jm3vRL6efynj/wBILN+Pz0lEO8mJbebenT98XdbRJZtw4eWQZGYfM+DGvfBHIzQ9yPYp6w==', date: 'Wed, 26 Jun 2024 01:02:03 GMT', 'proxy-status': 'http_request_error; e_fb_configversion="AcKEMYd6h4tAy9VhPLPbsynC2AX55pq-JZYGRvZuw78LXL0Cvn8WSlpu-FZWdw"; e_fb_vipport="AcKVROgMUkbp3227XB9x5eQnM8RgriIHAsctS80k8bjhINANcRk0jLF6eOcx"; e_upip="AcJNfrzyBa8nToynrFwni0A0xUCgnsoxBdBIWcP2pAAYY1RKi7W5qEvcSNOc11_f9P1rfSuygBdwP6IME7lNa3GW0_OZRGHN"; e_fb_requestsequencenumber="AcKp7OGYI3uVFwVejRVTDlSvkySWeFSBOnwlkBdGpqW9HIF5jhpNSM6gG9VG"; e_fb_responsebytes="AcIFy_aUKQHR9CTTtD2ED19rv7ukAXAtsSQosjfSyPPoJQ462BcLfElS43wX"; e_fb_hostheader="AcLDX3ngK2mAj0fzU9EJPMMwZFqAvOl_4fHsSFYTkEVPAKhS7KaZHnY51ZOM68pGTO1qeZS5J3SVg4dG"; e_fb_vipaddr="AcItI4YHlaUZzEh8buIEwSbrF7axQlV48eMs3vyG-Wc4N1U22PCTeGuWpFnKr4DAk9WHuQjbwUHXpincGl7VMMJLQPlEZyhrZw"; e_fb_requesthandler="AcI5ivqoT4IHEXySRcqaRfAtXUC53VNCqvLWpsJ3loZhfv1NwY859Foxcu_FNXcnSgHR6lTStes"; e_fb_requesttime="AcLMddQOMbJMjXSbQ4mBXLslWQLc8miBx3g6L4F8tZzrXZyXmbqDOlQOJgO3b9nuFdeUTqtDpw"; e_fb_builduser="AcJgOJA-ZLL-WPouge08KUVEVCPzcT5jDA8DG2K3R4bBSu0b4dQpxe8_rY88i2xcboA"; e_fb_httpversion="AcLjMv5Hb2dXoM52_17V0xMCdt79j5o0GLI-RxpKVQW0SKSMo-DnfHpuvR4h"; e_fb_binaryversion="AcIFLQTFJWW297knd2wmqynNny0r4n6oQFio3AHLikWulbFdmrWySxf3l4al-TVao-3fYhGGVrnQ78qRyS567EN63S31isfWod0"; e_proxy="AcL0FrU2xHGpXg3bM_i2IEk0jIbD9q0gLJKmipuVua6F0q9X7u9l_Ju8svjerjcl2qelWMskH4zvMnYDBq0", http_request_error; e_fb_configversion="AcLxelpDnSd8ZGvdzt8u5UPvOIMWOUrROevd8yNid2z3MEcMLyygJnF7VgznmA"; e_fb_vipport="AcKvYhSeGqVi8I2AtRt5D2aCTBUghe54rfxg0tie6dtfNy0gkerlCn54VceP"; e_upip="AcLHIAcG0dYvGtftoHlvuZnWGgqTlV2Qvi6CmcqGqOUfLRATwdC5dFu_wXddx75TXgIopRtIa8lQ_mzEBGfRxuJ-7d74rO5mrw"; e_fb_requestsequencenumber="AcKaRxRqakp7tjWmzbXYsZbdfWVHgPk0Jto0esEw35hOAL0WETK9_7O4Sg"; e_fb_responsebytes="AcIQ-9aEpKugc6LuYx76EdpYjCALyCq7AQDbeiE45AzubM4UwLZLKzMYc80a"; e_fb_hostheader="AcLlO-szJlvv9RZHMmY8TXbYnWd2fauVEn4qkCet34WbvWolxGBNMaF76j3n3IwUNG5QmbxFGoCapKfe"; e_fb_vipaddr="AcKVEQug3TvC6M7iYVM1GRbeBpcvj942abaUM9KINC5dIeRL3TVwx-vkV85zBRFaOOPHBng"; e_fb_requesthandler="AcIWCKKawjVpbrLdXbjJScfAVkZ8UF7d4XUDx-p1tcyGzwuH1bH7z3FVKzNNBpkvj-CoX3dHjOw"; e_fb_requesttime="AcI8AJnbFICZJjSCM-Zuo4PeIyEJQQAfBwONFis-_4mBDOmNBf4NOHb0Uh5xOhYndxkke9OfEg"; e_fb_builduser="AcITrKkRjF7qOvxzaTPphlwioFDZlSGgmmPDMVDxkSwyCAQosmbti75riskmmGT6xQY"; e_fb_httpversion="AcIM3nmuvUmWSsfZ1rXB5rkDiXiOZG5WAj8dcSK48dBfQNapDKgCRvPEZARD"; e_fb_binaryversion="AcJoucng_aEamZJixMbOzm_jcg7VY8E6lcM8tcW5eQdR7YcXlcReqGOhIV_y7EGJGIRslufEDii_6_cxaetsMDPn-1Q7HJV2SX8"; e_proxy="AcIXELtiOvme_1wNmmhQNUG2CToaCkX2V3bBRPfwPfQ35scSycBTxS9IhJlasOlqF21ZafMXznu5BCyl"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=75, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7566645423433411"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/26/2024 01:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 01:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 01:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 02:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 02:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 02:03:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 03:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 03:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 03:03:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 07:55:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 07:56:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 07:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 08:14:16: Error switching inputType 06/26/2024 08:21:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 08:22:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 08:23:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 08:55:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 08:56:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 08:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 09:21:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 09:22:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 09:23:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 13:25:46: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 6678794bff349866cd4f8068 06/26/2024 13:45:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 13:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 13:47:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 14:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 14:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 14:47:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 18:39:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 18:40:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 18:41:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 20:40:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 20:41:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 20:42:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 20:43:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 21:40:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 21:41:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 21:42:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 21:43:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 21:58:14: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 06/26/2024 22:06:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 22:07:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 22:08:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 23:06:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 23:07:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/26/2024 23:08:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 01:41:38: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 11836333, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 27 Jun 2024 01:42:52 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/27/2024 01:41:40: Error on send one message facebookId => 7165931256841885 06/27/2024 01:41:40: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/9134e860-3426-11ef-b7ef-b77e40baee63__1719452572134.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ASueqBqQXm1WumF3v4Mt49Y" } } 06/27/2024 01:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 01:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 01:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 01:48:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 01:49:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 01:50:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 01:51:48: Error on send one message facebookId => 7165931256841885 06/27/2024 01:51:48: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/9134e860-3426-11ef-b7ef-b77e40baee63__1719452572134.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ACHJo0YLlFcM8ylXyaBqM5A" } } 06/27/2024 02:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 02:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 02:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 02:48:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 02:49:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 02:50:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 05:12:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 05:13:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 05:14:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 05:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 05:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 05:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 06:06:43: Error on controller payload Input Treatment=> type not found 06/27/2024 06:13:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 06:14:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 06:15:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 06:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 06:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 06:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 07:13:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 07:14:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 07:15:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 09:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 09:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 09:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 09:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 10:00:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 10:01:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 10:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 11:00:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 11:01:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 12:09:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/27/2024 12:09:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/27/2024 13:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 13:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 13:36:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 13:37:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 14:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 14:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 14:36:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 14:37:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 17:08:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 17:09:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 17:10:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 18:08:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 18:09:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 18:10:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 19:00:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 19:01:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 19:02:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 19:03:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 19:17:44: Request bot not found: { id: '215725838493727' } 06/27/2024 19:17:44: Request bot not found: { id: '215725838493727' } 06/27/2024 19:31:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 19:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 19:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 20:00:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 20:01:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 20:02:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 20:03:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 20:31:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 20:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 20:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 21:48:05: Error switching inputType 06/27/2024 21:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 21:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 21:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 21:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 21:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 21:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 22:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 23:43:34: Request bot not found: { id: '133788230054854' } 06/27/2024 23:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 23:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/27/2024 23:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:02:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:03:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:04:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:14:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:15:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:17:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:25:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:26:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:27:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:38:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:39:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 00:40:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 01:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 01:17:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 01:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 01:38:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 01:39:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 01:40:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 02:46:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 02:47:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 02:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:36:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:46:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:47:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 03:52:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:22:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:23:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:24:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:36:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 04:52:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 05:22:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 05:23:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 05:24:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 12:49:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 12:50:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 12:50:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 12:50:34: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 12:50:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 12:53:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 13:01:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 13:02:43: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 13:02:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 13:03:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 13:03:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 13:24:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 13:25:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 13:26:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 14:24:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 14:25:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 14:26:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 14:53:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 14:54:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 14:55:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 15:28:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 15:29:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 15:30:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 16:28:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 16:29:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 16:30:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:13:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:15:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:29:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:29:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:30:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:30:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:30:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:30:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:31:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:31:31: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:31:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/28/2024 18:33:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:34:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:35:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:50:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:51:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 18:52:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 19:13:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 19:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 19:15:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 19:33:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 19:34:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 19:35:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 20:52:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 20:53:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 20:54:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 21:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 21:15:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 21:16:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 22:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 22:15:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 22:16:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 23:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 23:12:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 23:13:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/28/2024 23:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 01:31:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 01:32:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 01:33:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 02:31:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 02:32:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 02:33:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 02:57:57: Request bot not found: { id: '133788230054854' } 06/29/2024 02:58:35: Request bot not found: { id: '133788230054854' } 06/29/2024 02:58:43: Request bot not found: { id: '133788230054854' } 06/29/2024 02:58:52: Request bot not found: { id: '133788230054854' } 06/29/2024 02:58:59: Request bot not found: { id: '133788230054854' } 06/29/2024 02:59:11: Request bot not found: { id: '133788230054854' } 06/29/2024 02:59:22: Request bot not found: { id: '133788230054854' } 06/29/2024 03:00:05: Request bot not found: { id: '133788230054854' } 06/29/2024 03:00:16: Request bot not found: { id: '133788230054854' } 06/29/2024 03:00:28: Request bot not found: { id: '133788230054854' } 06/29/2024 03:00:38: Request bot not found: { id: '133788230054854' } 06/29/2024 03:00:51: Request bot not found: { id: '133788230054854' } 06/29/2024 03:00:57: Request bot not found: { id: '133788230054854' } 06/29/2024 03:01:05: Request bot not found: { id: '133788230054854' } 06/29/2024 12:50:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 12:51:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 12:52:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 13:50:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 13:51:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 13:52:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:08:55: Error switching inputType 06/29/2024 14:11:27: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12583797, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 29 Jun 2024 14:12:43 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/29/2024 14:11:30: Error on send one message facebookId => 7933214390033993 06/29/2024 14:11:30: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/a71051e0-3621-11ef-b7ef-b77e40baee63__1719670363646.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Ae49-n5hNjAAE2g9Fpm0IHB" } } 06/29/2024 14:18:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:19:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:21:46: Error on send one message facebookId => 7933214390033993 06/29/2024 14:21:46: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/a71051e0-3621-11ef-b7ef-b77e40baee63__1719670363646.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AYgXqa_lGS7LIM3Lf74USHR" } } 06/29/2024 14:25:12: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12588347, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 29 Jun 2024 14:26:28 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 06/29/2024 14:32:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:33:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:34:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:35:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:44:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 14:46:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 15:44:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 15:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 15:46:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/29/2024 19:50:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/30/2024 02:45:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 02:46:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 02:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 02:48:44: Error on send one message facebookId => 8457749657571944 06/30/2024 02:48:44: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AdCWV4RCC-e8TYuLixdBUxc" } } 06/30/2024 02:48:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8457749657571944"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12721266, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ang5h6amuacLk7XBL_03g85', 'x-fb-trace-id': 'EA2TbB3pcJW', 'x-fb-rev': '1014582441', 'x-fb-debug': 'pJ/GK7YqBKdGTC5flz/cru7W+t92Uvv6AqkZMIQDn4XFpygFhPEfs4e9Br/6ifnLDHkFPKohhcBhApiH5BA5KQ==', date: 'Sun, 30 Jun 2024 02:50:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLB-x-KpW62zL9HyovcaGpT0CIPkYHOVlE81HvHoPymGILVk4Fd4LI88KqfQHborO3vCZRJmyvNnu6hA2Cn"; e_fb_binaryversion="AcLRovljydwgqVqzYwd7KJkf-oTwZb1KGHBc2FPq-5_8GmQ70Tu3cxCBbMKe3nYiB19EZ4pP4KVsF5qxoDN2B5f7ZDqEY08zGIQ"; e_fb_httpversion="AcIUK8zL_12fmBhHmj3Nj_xAs4cu8lfN7W8Wl3vbsm7b3c-WR-bYEHl6FsJ7"; e_fb_responsebytes="AcLuRKbACX8vs-QxodABnu0urK-xLriTre98XCNypWelA0s4rdZvcBh1515O"; e_fb_requesttime="AcKeDFRpVEWMkGWgqNLBK9KycFFB6H3H0sZispLyXaJYfiXIyK5FKiIRyRIgJQXAvG8Cmm2GjQ"; e_fb_requesthandler="AcLmE5MWqwW7dEwJaumqzx2q7amu2mDyv_55adhne9Lsfn1ExBjyxSEtARmRC3NiWM79kGHpg3g"; e_fb_hostheader="AcJNCng7HE5mmZ8wI9faVo1J8UavrA27Wojx8frRhQbROyHJqp076PJPWWUaM85lWbNrJFNdpWlcUoQL"; e_fb_requestsequencenumber="AcKUbRTNt9bzBg30egywjxA1Ljx7lVVATGCI63yFNwkZOTD6VrYSknIsoD7hGA"; e_upip="AcLit3bP1EAeFGdJMTnOEWo2PbojksFJf7hDrbW0yq-1DCri18I9ZVa4GCxb-Oa4RSQJKEZpCt9NS-3MzPuMTP_2wXguZYGAQLA"; e_fb_builduser="AcLYd0BEWi4GuZSVFSndxrM8nWPxBOBgHFkJLEqEUPOol3RDqI-brdAHgx0Ts9LOcCc"; e_fb_vipport="AcKs8cTGeaRqYpMY_Dpner7KydGScunQn8qX3ot4xmj6y0UMi6dzNcAt90l_"; e_clientaddr="AcIgRj0Q4ObO2bFWMtyPbEPuYoGfJzjZdYUPPbFBwx_yiMOEYGGRMY5QsRNUw9SvzO23mm2RXaSPqLxyJokn9Fl6GBTMR8NJ7tnn_39huY3F78PaCw"; e_fb_vipaddr="AcIktEJ5xBUDMxqmcH54nH-9LVjlUHbQ6eyr35OL3swokKaAp3IHRtxhWdjvZAhpsB3X1ujXE4xuH9x0Jr4l7B4mMdWEJ4yKjA"; e_fb_configversion="AcL3x7VZ-HtVe110qbyHq-gZC7Hk-2kcT9lMJDxuP-eF0R4Fs3gjEymriHu7PA", http_request_error; e_fb_configversion="AcJovK_16YTLKts6HgxlBeamN4DVJqQGyVtKQWUnGwqRGysRxD7vFmS9ezSzFA"; e_fb_vipport="AcJPHykM8clpnJHI6K33SvXbKJ4fqRWFBY-35_4tLDrXJbZPgfI5FhKtcKdc"; e_upip="AcLZVqV4PAVneeWfi2CHPH9Sd7sjcQXB_SnJDXpDGWIbhW0Vhl5ccpi_RvYqBUUF-glV9Fn2M-hRhkSjSAVHJOpR8cKAKCStIw"; e_fb_requestsequencenumber="AcKauXHysCRj0HOFDJQhBDDPLrUunC4bjccOBywSwRhGKcQ77LoYlhp_8w"; e_fb_responsebytes="AcITONRcW4uq5nz5spsC0vGLiRDTBMAoYm2c9Qa-IuKhyNUrAevZVgHRqbPd"; e_fb_hostheader="AcKiq_rSQQECkix8uOt6JkmrgiUfBgP2iEDjMw0mZM67Miw-4PmR7royanh5Qme1luhOW_R1zgCIlvIl"; e_fb_vipaddr="AcIm0ZMA4okV-W5zNMKATJm8ei9qwPEJrM4qSQv_POXj9s_h_eHXTRU0zp1Q-gW20ql8iwQ7sQ"; e_fb_requesthandler="AcI8Vf6R6TtcER6MQFSabRdCeuP4bDFprILX_APOFAVF63Hex2r6owqbbOyX7zP6WnEPEImqA5I"; e_fb_requesttime="AcKjRcJXauyJ92AJwuh-XHRJcdT4SQuJbYfYDjxQzzT9vaBSs3JWcbbc1cdHomPs-9SAz6Bhow"; e_fb_builduser="AcIoP0VoBv1LdpE2yUV31bj4YmQ2-wG7ln2ao8_JlvsYk4C4OgCvO5i48GQGwQpYLOk"; e_fb_httpversion="AcKwwjTQxkOxS3QnOCd_3omYk6L7tYZforqolJfpl_evZvP_yvVx2UKNy5ev"; e_fb_binaryversion="AcI73R9Jd4sw8AN8iO22ESF61UW_88BMule5gLB6ywvPHGY6WFCcS_TyGsKB2NSFBF5gjkh5dTeZgqzH6JKEBKSdvoQWYmYUNJg"; e_proxy="AcLiYTJN_sHOClyfKNxMel_xHHi3xcs7T8wr--rYbZ1T5ChmMTTedyl6zB3VIrlgarc7bp65eQgUCPph"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8457749657571944"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/30/2024 03:38:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:39:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:40:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:41:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:45:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:46:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:48:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8457749657571944"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12744771, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALko3SEvePnmPHTYUaTTxgN', 'x-fb-trace-id': 'DpYqvU/chLQ', 'x-fb-rev': '1014582441', 'x-fb-debug': '0Etjw+KTCAsyBzEPwIR8Hl77j2fruJnTGiChkoa83DkxjV1aP/+33OwyV0itb7avY1T80Rb/y6Mmxq4aqgmUnw==', date: 'Sun, 30 Jun 2024 03:50:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJJiQmwnD9jo0NgcwLBZQr5QSu2_BZISBLOTqNTDoBf6GDld8FwZHOKg1ZRyJReREgnEXEulQ7Da3yD7zA"; e_fb_binaryversion="AcKk5EKXAYYp-2fbAjsK52zRAnEkiNb3lUJyKHq4GNZo1NoXE2iz_hw0H2v5zVXyrVv24pvr077xRcLOYgjMxt_jgdgfpa1h-Yw"; e_fb_httpversion="AcJxWq6HAx94Rd-oLpt3k0q-tRg3z2Qh0TGtw1c7leAaEGHtFT2n4OXat2HI"; e_fb_responsebytes="AcLACtDG2bvTCywJD2L2e4EwFM4cWUWu0QflArq9uAqlslvj7CbbqKIdxu__"; e_fb_requesttime="AcJlXjIU8h70gnSbsZt4Ogz5puL_I_5781ohaTTaKbNfxFifKrZaSpGdzXDcc1AqJbllUXyBCw"; e_fb_requesthandler="AcKTfny1QHoAfD0hKHw4ExTsYmJy1EWF9QVCHsoBE2VX_z1kWBK8A8ie6_nIo0F0WMTY9R57PvI"; e_fb_hostheader="AcISd3YZSVQtXtG16rDTEQtxlnEYyrHh8yejqpdIwf8NYlc1ZR1UPSU05Mv_C_aMwGcONr6S0kpRMyrz"; e_fb_requestsequencenumber="AcKqwT_AnfudFy_BXx9PuEN8lN9F_Bq2R7-ZORxHdysAfrsuczIhto8yfrq8"; e_upip="AcJ3HPvrk4gw9eJPmOq322NpXTkZCJIKt_PxVOWNezAkXfahIMm2PWVG38zXoWkFMSbOT8ODxJkblbm31T0_ObPLyJuciGHIdSU"; e_fb_builduser="AcJk30QnMXNk0iCrOA6BHiggH7zqPHN0m7pC_DvUI7vmuKZN7rYr1HB_lQGEPRyk-C0"; e_fb_vipport="AcIDP3grO-bEEeY6Y7cYE2M0Ji8P3SqnO3Lna6bNihlRAlKijP9cEZq_jQ_B"; e_clientaddr="AcK0YYEDtJip-b97G7RT-vjnLOQI77I55B5hjpEN9jIWCnFIumhefrcswHUwvhRZ046yQVolXuuCE2wTWN21Vak4mRbRp1kepcs6i8Q-HTibNnszcw"; e_fb_vipaddr="AcKZvjssPpim-lee5y0Fhbw4MBt0wbDT_EnC4SlXl09CCopGGGKWW0lyZVDNiqgf4FARvB70Kun_MSB6R6ma1ccW2fz16u0bzw"; e_fb_configversion="AcJqgNEoAaaMFdnSGsdSszEdxaF6rhXeJyKHqtXZ5wx-eqiUMzj6iu7VQR35UQ", http_request_error; e_fb_configversion="AcIRJb56OcSnBG-cKA0fnJo2FVIlPqIswlHkqURF2sWSyJnFXQYqw0RmZgNXgw"; e_fb_vipport="AcLVUzVZl-hFV5Br3pbLLemXV2fE3YFTL-EopnCGBbmfPZ-vCQLJk8hqhCsg"; e_upip="AcIGxOnYdEd_10k42kXK_qcp7rT6m_21lqJ9Mq18j50zbEQ56agXR-2kN7IXfAz9aAR36-stnMLPoNa2WiQeKNAB519VYlboxQ"; e_fb_requestsequencenumber="AcImgzs5YTJ07DbP8j5xVz1t2MYnIz_81C7V38q_TfswVIgjwrmfoCeRUA"; e_fb_responsebytes="AcL5aWEHBMCnDykDfoERWpbmqxi05eQ7uZ7noyyfk1kTzb6q3cV0o-zE8w1t"; e_fb_hostheader="AcL6aU_3bKnpYVAi3ZFu_o5xYN__yAhJ6uskLuI7KQtyfevytoWE1BzC1LwrYBbz6ZiKK6DjCTOjfxDL"; e_fb_vipaddr="AcKQM24KA-R7rUGUGxeqmxbkR26BCxrZqWC-sTLHlxxS3j-ELfY-rNyO-6RYoEhbEmcB7R0"; e_fb_requesthandler="AcLYrbbsL4ta1pAAEDh9gPCBDRfwXy7_J9_f8xAG2wD4HzJDhJPrpKbVpgGN-fEszhnL1GIqQBo"; e_fb_requesttime="AcKpO70NCU0o_5IvF_E6pqfFgni9uCAHPjOVr19FBtCevhHoIkMq36zMQ_h-tdFspebAYup2kQ"; e_fb_builduser="AcJXXOaWZdu7Vd8iJ7yb_u21rNJ9_75Chq_bhoD1SGBT1egLVsO934n_4AmqDIUej18"; e_fb_httpversion="AcLAyquuYn7zMH27ULBGu-XWDN0ydBKeuAKMsrdW8m9u778uQF-e0dwdFp8V"; e_fb_binaryversion="AcL5Uq7pxd2SmkBzeQkioT5lpccLCFkF6-rcx_v4jT44I_dz0BP0XlnMlNmcbLc9NtApQriHGhJWyri-KHkd8PKX3UnmbLKewqg"; e_proxy="AcKpHHBtuJ8AgGPIzbQkvweNzBlO2RNUMcI9x7XyXlkbJ9tBPzPHEy-ek_lQ8jJXTCzNDe8w3qRvTF0A"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=69, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8457749657571944"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/30/2024 03:48:46: Error on send one message facebookId => 8457749657571944 06/30/2024 03:48:46: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AAvzFPKyQGKaqYUA1-Zb2PC" } } 06/30/2024 03:48:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8457749657571944"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12744942, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGT78IvOL5T5heqjkh8XRvr', 'x-fb-trace-id': 'EpGT0XCfu1j', 'x-fb-rev': '1014582441', 'x-fb-debug': 'XhBUBbj5B3vNZUY0aR1tZQjB4AlYtae49pJqC0N+wyGB2KW/WTph3xMgsNTkfwHbw2sAg4PC4CbFFkFBUf0Hjw==', date: 'Sun, 30 Jun 2024 03:50:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJp1WwLLYi55VcJ0Xsts1NvFX8APht7qsUR15J_JEDy6jxD0d_vmIF7bU0AqRp8hLFa5Dg9WCJCtkm8f7cd"; e_fb_binaryversion="AcIqz_GzfTrg6f-Of5pFtgVVjVbzt-bIxBLMN7rpIW6_HEPRcfqDvJk221PaF0un3167ukwv644bPsdySrU-hKCSpGx3mH8MeRI"; e_fb_httpversion="AcJO6TmleHqq5_E7dU3xXjl-BlCukILvdCL_ideKxz3mf7prR9wv-_0ZXkWd"; e_fb_responsebytes="AcI5JBzD_4Uo0hlx57v5AYNpPZ59-02ou-b1ZMM0-kQkuQL2M-Mx5O12P-k3"; e_fb_requesttime="AcKqeIRVhSQunAErKJ3NKosEUv5y0KwnEPZHyTvSbDD_rPky44GvxFlVwYvw3_PXtf31fPT-Yg"; e_fb_requesthandler="AcJ_V0ZlI9NwcHnFxni6R4AMyDS-jYE7C_8koO4K0rBM-0NBJKe8h8SGglbsNUlUL8PVzUA_4cc"; e_fb_hostheader="AcKCoAk0Kdj_f0hJ_v88WwTh1fkTXgtWg3tQNaQPsZGbhccmKJijzpDt5kwtn9ZyBK5428GudN72EV_K"; e_fb_requestsequencenumber="AcJo4ZWgT4__KtizbEo1HerE5rQtsXgCmp9TyCFn8qiYZnuU5jIolwXN_ZBajg"; e_upip="AcJFB3cm7tgqQaCli0QiafnYXWFgbRyuOPD0XLVqL9HCA5A3ydlYSY2zH3QXxUCM4hgnbPczgU9j-1cFGpFN2rtOCeAWi4gAzPc"; e_fb_builduser="AcJ_R3Hv_tUz_U4X7_K_AtU6Gyl1_QG8U15olDehVjKoaaubtaeoFP-Adtnx_FRZ2t0"; e_fb_vipport="AcKxJ3t_UtZpxjUqejw-JimDo-pt00AWS7yuNFbWtYU7d2gnTiZYQwmZFjaE"; e_clientaddr="AcJ4w2vwVGx5LZ3yogthn5bGuvC0IkwFIWimNoKOvyrWhcpSCux5FGfua7eAAFTshA_1wy3BQOFG5C-guFJ7DS8tvKfZrgUKcnI97JrjLTJturEAcQ"; e_fb_vipaddr="AcL1NShRsk1a6blFN6fp1MdAqOxgJCdsmtM_9DAIE0cZqTqCWV7eekYmPKoPiYbyTmKwe-vcd-nUbsvduXDbIjb8apTFpZsvvA"; e_fb_configversion="AcInuPTpp6nrTo5KyMLkhjTYsDaTQ2pMU79gP13cQAV_Mn6Qvj0LGWTfZgaqjA", http_request_error; e_fb_configversion="AcKEwPcbHnz1Zgqw61HTWCToTVqgI2hN64IMo4QweCqaITP4k6iU6kr0SRfmng"; e_fb_vipport="AcKd7WgqbhZiR2fq_KxP5sEoY0C5atA7_t7OiZYL_1t9YPh6I0a5npZGvxYy"; e_upip="AcJWQCPRCYQfUg81-WDm96X_MuNvmHEo8tqoMS0UWW-P1tnGaamMQpQTrLYqCDDUdQNfva1o_hyW2Bv4taRP2Oz-fwJzEbNklA"; e_fb_requestsequencenumber="AcKu7qK6wbVKnlstqPSpJiGKNaOUcu8Y7C0F28xGdeqSP6GT9Mkkt0akcA"; e_fb_responsebytes="AcLhfqCmwfRXZSiHgI7aw2Vn0F25Y5i6T_fBeVToO9h0jg0SJJBN7yCCGpHQ"; e_fb_hostheader="AcKxILmkU9N1mF97qM-3GOqSvNHKpNzCVNY-qqFeSIM3N18r0YbpvcAuSS8krja-9hrA7QVp2uqqVS9o"; e_fb_vipaddr="AcJdGhMEhtnD5LPcOfkWbAQDHPxjmdC7cKi7oto7ifHqYrZRNMiBpQgtoYdhD6wU0IXo8wQ"; e_fb_requesthandler="AcJ2POWfstQJW6il8GH7glUksx_UOjc_Z-F5LHdHyIUesfvxzHudwoQastXXO1LXzxbUK7s5ZQI"; e_fb_requesttime="AcJKzfjwEXHKqLa0hCjfgBTxhcYMQDOpb99oY5G89rLOLYztc5FarahEoWDCSnCAbk-eaLCcDQ"; e_fb_builduser="AcJvDEgnMG2B12U1dhtPYBvG-mr7MVGg_-fM9OOS3oFProd-vuI7t7iqtlcByPDikv4"; e_fb_httpversion="AcJEM-mZpx4l4xxmXRL8eoCvCM2aKubwIOJbxOh3ASXr2L69VbFzI39tr1Kn"; e_fb_binaryversion="AcJhxEoYL77xgSMA_AVTijOkWeQ_FMHPA9GNS9DszoeJWxZvTcJJ6ixzzaeE0UF7615hMpuXD6xSvT8oT_fcgLfsmaxZxHzvQww"; e_proxy="AcK_aKjphfbor2K0N1p2JpqeHu0Z_R1xs2_3haDGCyip4z5bU-YkGoapSetqdUMs0KEv-kRyok6yChgW"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=66, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8457749657571944"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 06/30/2024 03:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:50:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 03:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 04:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 04:50:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 04:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 04:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 05:55:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 05:56:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 05:57:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 06:55:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 06:56:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 06:57:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 11:06:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/30/2024 11:06:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/30/2024 11:06:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/30/2024 11:06:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/30/2024 13:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 13:50:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 13:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 13:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 14:12:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 14:13:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 14:14:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 16:40:22: Error switching inputType 06/30/2024 16:40:23: Error switching inputType 06/30/2024 16:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 16:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 16:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 17:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 17:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 17:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 21:03:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 06/30/2024 21:26:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 21:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 21:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 21:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 21:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 21:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 21:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 22:26:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 22:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 22:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 22:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 22:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 22:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 06/30/2024 22:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 02:03:39: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 12996947, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 01 Jul 2024 02:04:56 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/01/2024 02:03:42: Error on send one message facebookId => 25763832759930394 07/01/2024 02:03:42: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/50649300-374e-11ef-b7ef-b77e40baee63__1719799496752.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ALAx4pe-icqSqmcTY6ZMP1U" } } 07/01/2024 02:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 02:11:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 02:12:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 02:13:45: Error on send one message facebookId => 25763832759930394 07/01/2024 02:13:45: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/50649300-374e-11ef-b7ef-b77e40baee63__1719799496752.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A_ve-EOKQOn7kPbBQoWcPjf" } } 07/01/2024 02:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 02:57:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 02:58:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 03:10:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 03:11:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 03:12:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 03:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 03:57:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 03:58:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 12:48:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 12:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 12:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 12:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 13:48:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 13:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 13:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 13:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 14:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 14:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 14:41:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 14:42:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 14:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 14:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 14:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:04:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:05:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:26:48: Marker: 0 | ID: 6682cab8ff349866cd4fc1b1 | Error: cant_get_message 07/01/2024 15:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 15:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 16:36:00: Request bot not found: { id: '215725838493727' } 07/01/2024 16:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 16:41:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 16:42:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 16:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 16:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 16:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 17:05:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 17:06:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 17:07:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 17:08:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 17:09:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 17:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:02:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:04:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:05:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:06:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:07:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:08:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:09:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:21:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:22:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:23:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 18:24:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 19:02:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 19:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 19:04:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 19:21:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 19:22:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 19:23:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 19:24:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 21:46:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 21:47:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 21:48:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 21:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 22:46:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 22:47:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 22:48:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/01/2024 22:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:03:15: Error switching inputType 07/02/2024 00:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:11:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:11:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:12:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:12:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:13:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:45:47: Marker: 0 | ID: 66834dbaff349866cd4fc964 | Error: cant_get_message 07/02/2024 00:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 00:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:11:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:12:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:13:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 01:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 02:18:35: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/02/2024 02:25:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 02:26:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 02:27:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 02:28:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 02:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 02:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 02:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 03:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 03:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 03:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 06:21:23: Error switching inputType 07/02/2024 06:28:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 06:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 06:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 07:28:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 07:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 07:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 11:57:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 11:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 11:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 12:00:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 12:34:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 12:35:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 12:36:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 12:57:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 12:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 12:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 13:00:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 13:34:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 13:35:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 13:36:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 17:40:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/02/2024 17:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 17:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 18:00:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 18:39:57: Error on controller payload Input Treatment=> type not found 07/02/2024 18:40:06: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/02/2024 18:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 18:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 19:00:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 20:19:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 20:20:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 20:21:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 21:10:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/02/2024 21:19:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 21:20:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 21:21:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 21:21:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 21:22:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 21:23:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 22:21:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 22:22:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/02/2024 22:23:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 00:39:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 00:40:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 00:41:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 01:39:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 01:40:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 01:41:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 03:27:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 03:28:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 03:29:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 03:31:43: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/03/2024 03:38:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 03:39:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 03:40:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 03:41:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 04:38:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 04:39:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 04:40:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 04:41:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 10:06:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 10:07:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 10:08:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:04:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:05:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:06:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:06:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:07:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:08:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:37:37: Error switching inputType 07/03/2024 11:44:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:45:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:46:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:57:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 11:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 12:44:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 12:45:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 12:46:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 12:57:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 12:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 12:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 15:03:58: Request bot not found: { id: '1591915494408146' } 07/03/2024 15:04:45: Request bot not found: { id: '1591915494408146' } 07/03/2024 16:24:22: Error switching inputType 07/03/2024 16:31:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 16:32:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 16:33:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 16:49:49: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13750504, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 03 Jul 2024 16:51:09 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/03/2024 16:49:52: Error on send one message facebookId => 25853231090958232 07/03/2024 16:49:52: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/72495e00-395c-11ef-98ac-ad9510964dac__1720025468896.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AjwjUN9RaAKrMRRvCIl4E7z" } } 07/03/2024 16:56:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 16:57:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 16:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 16:59:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 17:00:43: Error on send one message facebookId => 25853231090958232 07/03/2024 17:00:43: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/72495e00-395c-11ef-98ac-ad9510964dac__1720025468896.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AkL0BmR8Jz4O1GLxip39cS2" } } 07/03/2024 17:56:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 17:57:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 17:58:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 17:59:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 21:09:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 21:10:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 21:11:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 21:39:03: Request bot not found: { id: '133788230054854' } 07/03/2024 21:39:21: Request bot not found: { id: '133788230054854' } 07/03/2024 21:39:48: Request bot not found: { id: '133788230054854' } 07/03/2024 21:39:54: Request bot not found: { id: '133788230054854' } 07/03/2024 21:40:11: Request bot not found: { id: '133788230054854' } 07/03/2024 21:40:27: Request bot not found: { id: '133788230054854' } 07/03/2024 21:40:32: Request bot not found: { id: '133788230054854' } 07/03/2024 21:40:36: Request bot not found: { id: '133788230054854' } 07/03/2024 21:40:37: Request bot not found: { id: '133788230054854' } 07/03/2024 21:40:45: Request bot not found: { id: '133788230054854' } 07/03/2024 21:40:55: Request bot not found: { id: '133788230054854' } 07/03/2024 21:41:00: Request bot not found: { id: '133788230054854' } 07/03/2024 21:41:06: Request bot not found: { id: '133788230054854' } 07/03/2024 21:41:15: Request bot not found: { id: '133788230054854' } 07/03/2024 21:41:23: Request bot not found: { id: '133788230054854' } 07/03/2024 21:41:32: Request bot not found: { id: '133788230054854' } 07/03/2024 21:41:36: Request bot not found: { id: '133788230054854' } 07/03/2024 21:41:42: Request bot not found: { id: '133788230054854' } 07/03/2024 21:41:50: Request bot not found: { id: '133788230054854' } 07/03/2024 21:42:00: Request bot not found: { id: '133788230054854' } 07/03/2024 21:42:10: Request bot not found: { id: '133788230054854' } 07/03/2024 21:42:27: Request bot not found: { id: '133788230054854' } 07/03/2024 21:42:33: Request bot not found: { id: '133788230054854' } 07/03/2024 21:42:42: Request bot not found: { id: '133788230054854' } 07/03/2024 21:42:47: Request bot not found: { id: '133788230054854' } 07/03/2024 21:42:53: Request bot not found: { id: '133788230054854' } 07/03/2024 21:43:02: Request bot not found: { id: '133788230054854' } 07/03/2024 21:43:14: Request bot not found: { id: '133788230054854' } 07/03/2024 21:58:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 21:59:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:00:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:09:00: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/03/2024 22:09:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:09:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:10:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:10:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:11:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:11:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:16:10: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/03/2024 22:17:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:18:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:25:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:26:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:27:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 22:28:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 23:09:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 23:10:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 23:11:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 23:25:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 23:26:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 23:27:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/03/2024 23:28:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 00:05:55: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/04/2024 00:17:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 00:18:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 00:19:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 01:17:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 01:18:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 01:19:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 01:20:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8007448675977877"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13863838, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvycjUW6Tx_WPatewf85NHC', 'x-fb-trace-id': 'FGnsb/piEZC', 'x-fb-rev': '1014667385', 'x-fb-debug': 'DyIKwvmNPGZb3Fl5OkjLxzayH4iuKyxiy+Fa+BTXCOo+0O+dAKfEA2NQX6+VtWBTBV0rTJ5BtWXx+V4wfHOlvw==', date: 'Thu, 04 Jul 2024 01:22:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJnHL7uMp-72IXPpaGJTMdA4_0dC3WDLDj9GjPhO_40n_dMX4Scs2tt4q_DB5ppIDznd-ZMHcjkqHgkaEY"; e_fb_binaryversion="AcKjDf1gggPfs0Dgni9QXyFYAdV-1saFelPYNqQHTsHkpagA94yJNeSlAPkRQCVv244eY23KLgO0DdhSeBEFeZtm55BL3scGtoY"; e_fb_httpversion="AcI-qZfkrHQYvqKJLhiF3nuB-ubZ6gv4vISvOeVWsVFTeLWIrriuC32z6iaB"; e_fb_responsebytes="AcIGS5on-NRImezQ6oXY8rDqfgPH1OpW5eJ-d1oNneGKX1W4WAvRjdrvn83y"; e_fb_requesttime="AcJ-jgexNihYfB3y9_w4CNOM5WtTMjw7wTX1da712jg_ddkEFLBUty28h8WQXeHLCgqolimZIw"; e_fb_requesthandler="AcKhr7i8r7NAEgldKTSh-x6g21f3kLhWkj-rqxkRxTFCUPSIpwwt1m4y-pPI85P3F14g_LrYRpg"; e_fb_hostheader="AcIT2d3bkTOzjkE7xs5OYOLddqCv4erBu5WsKHLHl8XDrSiMuWf1KcsKPLzmB-UhVtSEDZ9KnibiOjx9"; e_fb_requestsequencenumber="AcJaJX9__6Ont5K1mjSRjG0e6zeWCL2Q2le93P-au_cWqpkjrhdKPllFz6ky_w"; e_upip="AcKU9_BUUF0unIkPkHMA0eTvdwdU5uH13LsUZ8aHkRqd2I9QGOvUSjkYfu0AMd5gxWX4e26trV-aAInQDoySThi1yrN6iI1hpm1PZQ"; e_fb_builduser="AcImAqsOHizHH-IOBNMcfNuGye6qKsH5ULnFBBhJkGihPwJ--aohuXB3kxlA2UfeNQg"; e_fb_vipport="AcKtE2mq7LjfbYvnjDNUOFRrptaTDG05yRlmvLSYe0SK6HiCNBHM9wJdQ2r2"; e_clientaddr="AcJRU8jeNAE3SdiJyuQjtnbEZVii9AUVlReE0rA7EYp7ASfE9rX5xHVOMfxtZOBt3iQUfoaU6ndtGOh-Tdgzw0-H1xPytJ8OdFTpMqH4vkhtr8zPrw"; e_fb_vipaddr="AcJnyfW4Q3cdyQVfhhIn3yEnaVMfHH5-U7juUTVMap4uEQwTTnS43AsiF7lAzjfkL90YARaB2DD-7n6gOB6dP1O-qn5KS49rgw"; e_fb_configversion="AcLtW62H8ZbxPA6u_Vm0aMJt-i7zg0EOZknElNb12RnroeyiLp9bBVBgfX5iKw", http_request_error; e_proxy="AcIvKj-OnKfKGYxFrX3iDmuBIBze7DWJXiKfAHbVFshxaIyUbCjB1ryM16OEFzo9qVi7mzFiAcp8CQKT"; e_fb_binaryversion="AcJdYXmpp5hBzhbltFc6k1XD8qnuqBlmYpCjyxpKFsXS10-k0ckfdgRzb_1izbrcmxfLMwSuZkp_TCWt7ZkHCVczIcI5mbfXuT0"; e_fb_httpversion="AcL43aT9zpCyiSprR4dXpp307px6m4tZv68UH1rxBXdWwpc2hwZqapDMLP_Q"; e_fb_responsebytes="AcLpgWw2Yh99pSEyIz8VYlSy7M1PnJUXmHxuC1ryOnnXZINZTY18pv8TWQ2z"; e_fb_requesttime="AcJPl2h0PGiY-IWpUH5Y1oSCnLaVXfbQOXBdpjXwHl74oF_GhB6k0VXrDM4spKw1bpll_NCpLg"; e_fb_requesthandler="AcLwFgqvGmj7GpQukeiCDrbPCq2WAsLeJr7-VtKzmCJOG1oF56I3yOjhmSogr-tFZo-b3Jcl8e4"; e_fb_hostheader="AcKcxAg3-5V_64_7uc8gnHz6nMdnWAs1UviVBjQ03_7MO9JlrIc8jXt1aL39p4ZTtBh0hK0aEd2eLV4n"; e_fb_requestsequencenumber="AcLB15PMZGR9Ga-NIlxUNNk8aU2kZXe5kuHfX8N7hNOqMCvW6sLcAPCh1w"; e_upip="AcJBuf21AAU5aUif4limyRDd8efVYkKuP8O6_-UkAVThBVHSJplBrjpkgOGdR5KjLt2B1KJVPFXgYe3esob1Mov5efQ_lh-mig"; e_fb_builduser="AcKGNy3EfOkWZz9Xl36DWeVfAutg2pgw1wZQNa5MZVnAO-HOL3On97cu5qOlVMuEWhM"; e_fb_vipport="AcL6C4EhTQNkzWAgG-9lshP4QRFxZUB-MvBco4C6SGjElBoAWYuH_fYH9L0d"; e_clientaddr="AcKBsORQbHv3WSmxrilSwwBxgM-yX0IkgJ2aKRdobEOUd7gaaJ9GKcXILcDQ1519mi8dNJTec7O4GpHQcA"; e_fb_vipaddr="AcKRdposYNEf4jkIOE6Oz72tEH8s4msxXRqmSd1fqslGTl2V0gj9u4u7FTLixslh06e4V8M"; e_fb_configversion="AcIYWczHNpfP-x4f2yJoiLg1yq9cEDC9igZj8FuUAKsmQE6eLfVwCMyRfKxAwA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=79, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8007448675977877"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/04/2024 01:20:43: Error on send one message facebookId => 8007448675977877 07/04/2024 01:20:43: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A5LbRoiqQiP1rNRpVeCRCxY" } } 07/04/2024 01:20:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8007448675977877"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 13864018, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1Sbl2LwcO-0nmb2rsnxX-6', 'x-fb-trace-id': 'BNQuGRW7GLd', 'x-fb-rev': '1014667385', 'x-fb-debug': '92gfRV9/+KDX9QkKVW9gn5hAVYVQZRuB+dEwEVznHLcpjdxxbKzDHOKrTyOHFlnldxUFY7qiY4W6VVTVKO+/gw==', date: 'Thu, 04 Jul 2024 01:22:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJGjRfSP5tuxzHeuhtQEvPO2N9EPAHcEp8YKr9mWjWyorHjsiHvUJ792p3uRB6iJMRAqIMX2ragvY7dzOMM"; e_fb_binaryversion="AcJODTipwMepBIDeT8b2vEmZS8F_lPF7h8wQCRrYWCfPr81wUuHjljbg_MwMOGuPQtKtu4h7NeuXtVma0FRVv11qdadp5qkkNTo"; e_fb_httpversion="AcLM2GJ4D93Tj5Liu8nAt-wQlydCoX0vdiD2-963E-CwqM7_MyVxtLvHl2DN"; e_fb_responsebytes="AcI4J0IiqFewx9u-yrr6r73uEFNP1oeCyH1lAIDUeavNGL7rUapp3A4wxkme"; e_fb_requesttime="AcJeXkmb7feGPPHWzmNSmzUjAZyp4vdViqAoug05NHzFZm6LMzhs5YA1t0_r_VZ7sVCPvhkUow"; e_fb_requesthandler="AcLeH5-6QFwCkSufKw7YUjqHSHUV0vyRvPAZfv0JVBdiWkim_ZK1VpaQ9PpG5VCix-RvWkPU3pE"; e_fb_hostheader="AcI5J3OPMlyzquXXeyNUbFSsK8pX4GF-mTMpuhqsHOhkhYiuzdlz1b9wL3Ipl-5IHlt7TQVPcdg3_6gU"; e_fb_requestsequencenumber="AcIZGnsim2tZxshHAFLKx-hvlgtzAlhVq7yDkL4BwTTdorkhjxzhvDeEgbf3VA"; e_upip="AcIiLwWF1-T5VfKR9Ais9hfvckUD0xrobHvGawRPSRTxnwd7YkbqnmAGKuwKEd4rppdECmgp-UQeBJ9xxm-5T5hGVgOzSsJZIfT2osA"; e_fb_builduser="AcI9J67cj2T-WfHbY0Ya5pLs6MD0I6dLqSTWF3GNm9Dt_JQ7666LWxaCAiA_0vIbc8w"; e_fb_vipport="AcIfA17IgFoKzkKEPwDTVxeiYfpgHAj4Y-NSncV89u0oAqy77OyO63s7DXdn"; e_clientaddr="AcIqvxYD58mRoRtiNKv9UqiPEWPV04xvV-kTpgZflQmEk-3JN6A5Brf2l1UAGkHYG-L2DEuAqxmAQI3htSkVfIa-uJxWfbYuffAJ26IfDRzMpoFEeA"; e_fb_vipaddr="AcLB1fRRDcjeURxVXLUQdm1ULnwGnS-sjX4UQ2lH5_wrpgoAlz1mT8_vhSiEKadNd-BEWdAy9s4uOK_fP_qG9BkXnqxZMEXI4A"; e_fb_configversion="AcIcTplzLMYE7MnNdNaBhteqmW75yDcYsaUQ4jPKyiIitoXvND_77-3wkXP6PQ", http_request_error; e_proxy="AcLPKbOcU66r3f52AGERtodd04vkz_fWdk5Nwm-Tv29f1IroDRm2u4ga-egaDc91vCGFREEMfmMnMJno"; e_fb_binaryversion="AcJ5ZNMMiNFUaaydw8vxNTOFOx0AMIBeF7d6kkQ_4PyQIavbekAl7K-UM9Si4F1w5SWRNnq697vCU0uIDA5URVPFghqO0flmNAE"; e_fb_httpversion="AcKUAGGnn9gDh6n-8HnH7pYWwtGuTPl0H8P_96ZumCSspWCPdwOV1TJn-sRU"; e_fb_responsebytes="AcK_es7ej7fzGXd6Q94lukCYyoCZYbgT9K7K6EQwb8HVp1P6JSJiU02z-Oq8"; e_fb_requesttime="AcJjnkJ0-ziB9WSZdCuxzboKE3BzGPEMcWIjzVyUJsaShMCKDlo5eF-BQC4mKBWWpu2j_GnE3g"; e_fb_requesthandler="AcKKlf2iokIDbvQTSB6sjjIXl5L_QEPzM0dh5epFp8TD51PcEvA9h999ZK2_04R7DG7JC5svSIo"; e_fb_hostheader="AcJRCnCFj799Y3Dy4vjLGR2gQK7dyGyMmTt2hDFXrBvZbwP2P5Us9CRWLKk-ICTceWYm2IMX0Fl1-_Wr"; e_fb_requestsequencenumber="AcJmHzNxXn9KGiGQZLChfo2S4yUKL_KtPt9fwn89K-bNFIeidYpE8YXY5A"; e_upip="AcIGZe_QloQzh7uhfHJDDqpfVPV1fQ35iFnRmvmawFBvpDMttdCXFvgX8Tyw3uqpOYMuockHIf05Xul8jPcF4xv01Vq-NtOy2Q"; e_fb_builduser="AcIHjvzWo_2Crq3abUKqzF2o5OF1roTUOpJXqXMhLkV6MOaQdtY5Tk4sr6WKVsB85Kk"; e_fb_vipport="AcKHgLUcFB1JeWIs76J03f-pL2u0jPqmMPhgoPP1SSYCq7W9G1qvA4hGHdKz"; e_clientaddr="AcLfuy9CPCq9SRUaCFtE313FCgm2sonujxwMw3Bfw02FSj2AyUF1kw-5LyWQ-FBM6LXTD4IqFK0WpFn2Xg"; e_fb_vipaddr="AcLH1vwmxpWqoUyS0tlczdgOj2VTpL9-V2sp12yR4NnK8d1xXmwQ5dGkrNadHkGZS5bDEFc"; e_fb_configversion="AcJ7zypv6OSQrMiAqOjXrOEhZr-pPknu0QOQig-iBNhylMbDenZrwl3UhrKkWw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=170, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8007448675977877"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/04/2024 01:54:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 01:55:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 01:56:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:05:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:06:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:07:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:08:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:29:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:30:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:31:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:46:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:47:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 02:48:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 03:05:17: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/04/2024 03:05:19: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/04/2024 03:05:20: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/04/2024 03:13:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 03:14:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 03:15:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 04:13:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 04:14:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 04:15:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 05:36:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 05:37:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 05:38:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 05:39:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 06:35:35: Request bot not found: { id: '1591915494408146' } 07/04/2024 06:36:09: Request bot not found: { id: '1591915494408146' } 07/04/2024 06:36:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 06:36:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 06:37:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 06:37:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 06:38:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 06:38:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 06:39:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 07:36:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 07:37:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 07:38:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 16:22:32: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14048311, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 04 Jul 2024 16:23:52 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/04/2024 16:22:34: Error on send one message facebookId => 7910870125637950 07/04/2024 16:22:34: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/cd1211e0-3a21-11ef-98ac-ad9510964dac__1720110232062.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AUS7IhSKnNkpbt1C01W7kUW" } } 07/04/2024 16:26:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 16:27:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 16:28:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 16:29:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 16:30:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 16:31:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 16:32:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 17:25:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/04/2024 17:29:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 17:30:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 17:31:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 17:32:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 19:16:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 19:17:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 19:18:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 19:52:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 19:53:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 19:54:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 20:03:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 20:04:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 20:05:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 20:16:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 20:17:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 20:18:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 21:03:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 21:04:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/04/2024 21:05:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 00:00:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 00:01:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 00:02:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 00:03:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 00:09:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 00:10:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 00:11:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:00:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:01:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:02:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:03:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:09:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:10:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:11:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:49:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:56:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:57:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:58:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 01:59:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:09:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:10:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:11:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:46:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:47:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:48:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:49:16: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14187807, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 05 Jul 2024 02:50:36 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/05/2024 02:49:19: Error on send one message facebookId => 7843281879083093 07/05/2024 02:49:19: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/5b2db270-3a79-11ef-98ac-ad9510964dac__1720147836695.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AnEyJbZm75DgJBRENrpY_Bp" } } 07/05/2024 02:49:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:58:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 02:59:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:00:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:01:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:09:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:10:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:11:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:46:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:47:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:48:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:49:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:58:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 03:59:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:00:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:01:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:35:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:36:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:37:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:38:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:47:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:48:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 04:49:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 05:47:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 05:48:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 05:49:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 07:27:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/05/2024 07:46:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 07:47:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 07:48:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 07:49:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 12:32:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 12:33:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 12:34:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 13:32:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 13:33:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 13:34:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 15:11:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 15:12:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 15:13:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 16:11:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 16:12:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 16:13:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 16:53:25: Request bot not found: { id: '278538958846635' } 07/05/2024 17:51:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/05/2024 17:52:53: Error switching inputType 07/05/2024 17:52:57: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/05/2024 17:55:33: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/05/2024 17:58:04: Error on send one message facebookId => 25691532473824161 07/05/2024 17:58:04: Response error send one message => { "error": { "message": "(#10) Este mensaje se envía fuera del período permitido. Obtén más información sobre la nueva política aquí: https://developers.facebook.com/docs/messenger-platform/policy-overview", "type": "OAuthException", "code": 10, "error_subcode": 2018278, "fbtrace_id": "AGz5fUiRnnxMp7QYg02bRls" } } 07/05/2024 17:59:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/05/2024 17:59:35: Error switching inputType 07/05/2024 17:59:38: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/05/2024 18:01:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/05/2024 18:01:52: Error switching inputType 07/05/2024 18:01:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/05/2024 18:07:40: Error on send one message facebookId => 25691532473824161 07/05/2024 18:07:40: Response error send one message => { "error": { "message": "(#10) Este mensaje se envía fuera del período permitido. Obtén más información sobre la nueva política aquí: https://developers.facebook.com/docs/messenger-platform/policy-overview", "type": "OAuthException", "code": 10, "error_subcode": 2018278, "fbtrace_id": "Akvdfh8EfuK2TDsxBJFCbDE" } } 07/05/2024 23:20:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 23:21:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/05/2024 23:22:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:20:23: Request bot not found: { id: '133788230054854' } 07/06/2024 00:20:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:21:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:22:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:24:14: Request bot not found: { id: '133788230054854' } 07/06/2024 00:26:43: Request bot not found: { id: '133788230054854' } 07/06/2024 00:27:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:28:10: Request bot not found: { id: '133788230054854' } 07/06/2024 00:28:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:29:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:30:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:33:10: Request bot not found: { id: '133788230054854' } 07/06/2024 00:34:20: Request bot not found: { id: '133788230054854' } 07/06/2024 00:37:59: Request bot not found: { id: '133788230054854' } 07/06/2024 00:38:59: Request bot not found: { id: '133788230054854' } 07/06/2024 00:39:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:40:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:41:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 00:42:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 01:37:38: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/06/2024 01:39:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 01:40:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 01:41:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 01:42:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 01:44:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 01:45:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 01:46:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 01:47:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:33:09: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/06/2024 02:35:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:36:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:37:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:38:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:41:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:42:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:43:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:44:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:44:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:45:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:46:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 02:47:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:35:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:36:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:37:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:38:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:41:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:42:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:43:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:44:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:56:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:57:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 03:58:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 04:56:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 04:57:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 04:58:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 15:25:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 15:26:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 15:27:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 15:44:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 15:45:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 15:46:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 16:25:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 16:26:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 16:27:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 16:44:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 16:45:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 16:46:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 17:25:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/06/2024 18:13:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/06/2024 19:38:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 19:38:42: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/06/2024 19:38:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/06/2024 19:38:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/06/2024 19:39:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 19:40:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 20:38:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 20:39:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/06/2024 20:40:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:44:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:45:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:46:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:47:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:48:46: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 14736670, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 07 Jul 2024 00:50:07 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/07/2024 00:48:48: Error on send one message facebookId => 7596625823768883 07/07/2024 00:48:48: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/db25e010-3bfa-11ef-b10e-47b73491e40c__1720313407633.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AOg4LrbNPNQzWvpwqFTs_oZ" } } 07/07/2024 00:55:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:56:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:57:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:58:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 00:59:41: Error on send one message facebookId => 7596625823768883 07/07/2024 00:59:41: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/db25e010-3bfa-11ef-b10e-47b73491e40c__1720313407633.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AHUJyul1rfqATzM7P39zife" } } 07/07/2024 01:55:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 01:56:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 01:57:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 01:58:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 02:40:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 02:41:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 02:42:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 03:15:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 03:16:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 03:17:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 03:40:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 03:41:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 03:42:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 04:15:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 04:16:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 04:17:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 13:46:59: Request bot not found: { id: '1852395741674621' } 07/07/2024 17:19:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/07/2024 17:20:03: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/07/2024 17:20:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/07/2024 17:20:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/07/2024 18:11:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 18:12:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 18:13:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 19:43:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/07/2024 19:43:25: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/07/2024 20:54:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 20:55:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 20:56:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 21:43:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 21:44:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 21:45:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 21:54:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 21:55:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/07/2024 21:56:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 00:03:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 00:04:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 00:05:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 00:06:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 01:03:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 01:04:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 01:05:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 01:06:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 11:19:25: Error switching inputType 07/08/2024 11:26:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 11:27:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 11:28:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 12:12:20: Marker: 0 | ID: 668bd7a4ff349866cd4ff21e | Error: cant_get_message 07/08/2024 12:18:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 12:19:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 12:19:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 12:20:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 12:20:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 13:18:37: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66834ff8ff349866cd4fc9c3 07/08/2024 13:53:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 13:54:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 13:55:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 14:14:49: Error on controller payload Input Treatment=> type not found 07/08/2024 14:21:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 14:22:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 14:23:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 14:24:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 14:53:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 14:54:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 14:55:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 15:12:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 15:13:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 15:14:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 16:12:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 16:13:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 16:14:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 21:00:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 21:01:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 21:02:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 21:03:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 21:54:09: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/08/2024 21:54:10: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/08/2024 22:00:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:01:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:01:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:02:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:02:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:03:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:03:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:22:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:23:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 22:24:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 23:01:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 23:02:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 23:03:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 23:22:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 23:23:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/08/2024 23:24:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 00:20:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 00:21:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 00:23:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 00:26:17: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 00:27:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 00:28:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 01:10:29: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 01:42:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 04:29:19: Error switching inputType 07/09/2024 04:36:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 04:37:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 04:38:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 05:36:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 05:37:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 05:38:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 06:04:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 06:05:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 06:06:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 06:27:54: Error switching inputType 07/09/2024 06:34:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 06:35:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 06:36:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 06:37:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 07:04:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 07:05:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 07:06:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 07:34:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 07:35:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 07:36:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 07:37:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 11:46:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 11:47:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 11:48:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 12:24:20: Request bot not found: { id: '128159377280665' } 07/09/2024 12:46:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 12:47:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 12:48:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 14:36:53: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 14:37:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 14:58:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 14:59:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 15:00:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 15:31:15: Error switching inputType 07/09/2024 15:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 15:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 15:57:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 15:58:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 15:59:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 16:00:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 16:08:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 16:09:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 16:10:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 16:14:56: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 16:15:27: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 16:15:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 16:15:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 16:16:18: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 16:16:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 16:17:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/09/2024 18:00:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 18:01:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 18:02:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 18:15:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 18:16:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 18:17:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 18:28:26: Request bot not found: { id: '108233141067249' } 07/09/2024 19:00:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 19:01:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 19:02:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 19:06:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 19:07:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 19:08:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 19:15:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 19:16:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 19:17:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 21:10:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 21:11:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 21:12:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 21:13:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 21:28:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 21:29:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 21:30:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 21:31:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:10:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:11:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:12:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:13:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:26:44: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/09/2024 22:28:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:29:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:30:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:31:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:34:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:35:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:36:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:51:14: Error switching inputType 07/09/2024 22:58:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 22:59:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:00:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:32:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:33:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:34:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:34:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:35:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:35:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:36:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:53:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:54:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:54:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:58:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/09/2024 23:59:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:00:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:09:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:10:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:11:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:14:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:15:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:16:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:32:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:33:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:34:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:35:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:54:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 00:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:14:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:14:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:15:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:15:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:16:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:16:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:28:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:29:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:30:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:42:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:43:23: Request bot not found: { id: '917983134950234' } 07/10/2024 01:43:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:44:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:51:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:52:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:53:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 01:54:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:14:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:15:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:16:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:28:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:29:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:30:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:42:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:43:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:44:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:51:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:52:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:53:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 02:54:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 03:20:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 03:21:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 03:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 03:22:46: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/10/2024 03:29:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 03:30:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 03:31:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 03:32:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:11:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:14:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:20:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:21:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:29:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:30:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:31:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 04:32:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 05:10:05: Error switching inputType 07/10/2024 05:11:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 05:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 05:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 05:14:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 10:05:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 10:06:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 10:07:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 10:08:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 11:35:24: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 11:35:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 11:36:41: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 11:37:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 11:38:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 11:38:54: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 11:56:05: Request bot not found: { id: '215725838493727' } 07/10/2024 12:47:46: Error switching inputType 07/10/2024 14:14:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:15:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:16:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:17:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:18:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:19:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:20:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:47:18: Error switching inputType 07/10/2024 14:54:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:55:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:56:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 14:57:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:14:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:15:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:16:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:17:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:18:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:19:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:20:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:20:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:21:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:46:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:47:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:48:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 15:49:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 16:46:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 16:47:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 16:48:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 16:49:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 17:10:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 17:11:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 17:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 17:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 18:10:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 18:11:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 18:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 18:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 18:20:29: Marker: 0 | ID: 668ed0edff349866cd501084 | Error: cant_get_message 07/10/2024 18:23:35: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 6689fe10ff349866cd4fec92 07/10/2024 18:25:25: Request bot not found: { id: '133788230054854' } 07/10/2024 18:34:40: Request bot not found: { id: '133788230054854' } 07/10/2024 18:35:39: Request bot not found: { id: '133788230054854' } 07/10/2024 18:52:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 18:53:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 18:54:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 19:52:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 19:53:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 19:54:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 20:21:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 20:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 20:23:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 21:21:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 21:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 21:23:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 22:02:35: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 22:02:48: Error switching inputType 07/10/2024 22:02:48: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 22:03:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 22:03:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 22:06:08: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 22:07:49: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 22:09:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 22:10:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 22:11:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 22:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 22:21:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/10/2024 23:09:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 23:10:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 23:11:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 23:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 23:20:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 23:21:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 23:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 23:23:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/10/2024 23:24:05: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/10/2024 23:24:09: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 00:20:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 00:21:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 00:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 00:23:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 01:49:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 01:50:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 01:51:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:15:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:16:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:17:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:18:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:34:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:35:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:36:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:37:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:48:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:49:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:49:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:50:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:50:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 02:51:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 03:48:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 03:49:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 03:50:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 08:07:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 08:08:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 08:09:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 08:21:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 08:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 08:23:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 08:24:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 09:21:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 09:22:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 09:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 09:24:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 10:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 10:51:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 10:52:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 10:53:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 11:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 11:42:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 11:43:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 11:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 11:51:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 11:52:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 11:53:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 12:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 12:42:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 12:43:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 13:21:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 13:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 13:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 13:24:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 13:30:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 14:21:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 14:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 14:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 14:24:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 14:45:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 14:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 14:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 15:45:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 15:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 15:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 16:12:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 16:13:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 16:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 17:12:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 17:13:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 17:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 17:40:01: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 18:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 18:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 18:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 19:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 19:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 19:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 19:53:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 19:55:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 19:56:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 19:57:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 19:59:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 20:00:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 20:01:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 20:08:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 20:09:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 20:10:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 20:59:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 21:00:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 21:01:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 21:08:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 21:09:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 21:10:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 21:44:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 22:03:51: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 22:04:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 22:04:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 22:40:47: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/11/2024 23:06:57: Error switching inputType 07/11/2024 23:06:57: Error switching inputType 07/11/2024 23:13:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 23:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 23:15:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 23:16:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 23:49:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 23:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/11/2024 23:51:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:13:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:15:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:16:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:28:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:29:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:38:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 00:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:30:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:31:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:32:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:38:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:39:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:43:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:44:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:45:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 01:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:30:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:31:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:32:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:43:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:44:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:45:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:45:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:47:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 02:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 03:09:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 03:10:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 03:11:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 03:45:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 03:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 03:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 03:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 04:09:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 04:10:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 04:11:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 06:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 06:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 06:49:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 06:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 07:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 07:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 07:49:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 07:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 09:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 09:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 09:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 10:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 10:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 10:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:18:56: Error on controller payload Input Treatment=> type not found 07/12/2024 14:25:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:26:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:28:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:28:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:29:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 14:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:05:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:06:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:07:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:08:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:13:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:15:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:16:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:21:48: Marker: 0 | ID: 66914a0cff349866cd50264a | Error: cant_get_message 07/12/2024 15:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:28:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:29:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:29:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:30:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:31:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:42:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:47:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:49:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 15:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:05:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:06:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:07:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:07:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:07:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:08:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:08:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:08:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:09:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:09:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:11:56: Marker: 0 | ID: 669155ccff349866cd50292d | Error: cant_get_message 07/12/2024 16:13:26: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/12/2024 16:13:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:15:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:16:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:21:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:29:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:30:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:31:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:40:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:41:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:41:34: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66915adaff349866cd502a33 07/12/2024 16:42:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:43:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7433595910083138"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16500536, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9JXLD_nXlt7ayamYYmkefc', 'x-fb-trace-id': 'APpMBsiLpuV', 'x-fb-rev': '1014843003', 'x-fb-debug': 'rz4r9UyIdLJxrGbOVccEDv+kyliGPB1teNbWsACI/B893YK+0bGn1wVZ13+41kq8dOLhvJn9LStB4pdjmtBM2w==', date: 'Fri, 12 Jul 2024 16:45:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcK9G_n6SkH6Q6oPwk_rJMQ_sAW1BSg5lYkANSxzedJQp13XXmspLkrB97PkAqbTsdhijZN6otZhWtKb8f3v"; e_fb_binaryversion="AcIlKryHNd0dvfcCKIRVAtj0h2WTZu8sPaNRD2aJbbZ6Ep015vAXZHGTb3HSy_uoSE3clgeHqy_Ozo7F2gTk9wxo-xhrgne6GuE"; e_fb_httpversion="AcKx-VyG6CmTPCL3Rhe_0Z6ycRgf1y1YKnEF3GMh7XfW-2pUcdCJ8bUupBgj"; e_fb_responsebytes="AcKcY2PUYUmf73j_gJlManUOPZJdq4R-ywWEhKM52MWvS0sRuq7HB-sOf2p2"; e_fb_requesttime="AcJtYGnqHQxAO68BQy2srP76ZNs5iD_qsI6SnseqU9615_GbS7L2jR_OEIxPQBE7cOEMyFgHvg"; e_fb_requesthandler="AcKYqHNeXPJEss0RKAm58bs8he1AORiPkvXveqvxB8Cg_fUBxZJ2oQJ2Poo6Ur9NX6MHkVYChKE"; e_fb_hostheader="AcLGeNEb8II4B3aMxoCMnbziYgWbMPmEXz8gReOx1zB4jkiQpEM2uA6eUBEbmoJ4tWNwzsn7-UZejtfE"; e_fb_requestsequencenumber="AcLE0H7UKBxczi5lXHhOhokOfpbvkuMeRpaoQJcwvSPxkrjmNuqNTTFSYVeE"; e_upip="AcLOEDg5EvvccIyXzd3J12VlxqNRf6tQTi3q7bR9jHbC22FodrInyF5JGs0k5v2SVUCB7_noM_swxfWqnwICkdSacyrT5st2NbkKeA4"; e_fb_builduser="AcKJWFvjp-NlfLW549Q7LolCQ61q_wknI7ZckTbEasNiICm_lWIBb1L7Ghaif5X5a1o"; e_fb_vipport="AcJP8seNjY__45zmZrp6dR_TV-TSI-o7s6wGkhzyJrAUW6QEisqtrBwKZ4NZ"; e_clientaddr="AcI59mv21yM2fVZrQFw6NoLkajUX60ZWzvkOsDN5q_s8kLyPSDCpJJFS3lszy-FOc2Zh0ZMrq-8qH8rZHzMoaU_TSaWw18WZng1YWBcarVXgW0wH3A"; e_fb_vipaddr="AcIrsWcBZ4UrAmaIFrS4ICvKx0MQGsGfUkJac0Ks2r0iS1pYbX3jfGoXaVGJgM_hRci2v9_x1rjXb9tq8SYNlnY4IuzED68pzA"; e_fb_configversion="AcIGV5-ruM0WhYuVOvpq3VmrEtL748u1qdtahqyyEQsFHqwSiROW5swZuSkh2Q", http_request_error; e_proxy="AcLSdRSkC8EC0CTeCHnEyhFFbeSlarFaJX5cK7mCsDe_oq9d_6qHLj6TXBwzV6IzJdpHExPXjz6y_2av"; e_fb_binaryversion="AcKM-Gv5c-EP890vEO-8qhl_grsFT-y_Zg5JXiqCrQhJbbznwAaPAeQ-cMXDvZiYsw_WBcB6dRLCybmRhytB83KzTXoCX-R17XQ"; e_fb_httpversion="AcLWcZBq5ChWyI_PmCkz_D3JdIWMfKzba5_n5OJGsxC58798rfAPMUx-1U1E"; e_fb_responsebytes="AcIWFOnLJIYBAF_EjWA3uZZD7V9SxQkAA3lWCtsCY0unhWKpzCzPKYBgv_Yi"; e_fb_requesttime="AcJ8N_p4FjsvxyCapM6UTNezRhGcT-xhNZ0JaZ9luI-Ixs2rA1pxwPVrL3kFEE4lFJxcL48rcA"; e_fb_requesthandler="AcIulRbt9GiUf4ys0GKiAUagg0VS-Ds2J8R58gCG8wK0zZBclkl4WkJWfSB3vtNpT9Z-5UEvrSc"; e_fb_hostheader="AcL6LxIqHCMkQS0tKPNHolft5XN0cnYvWBziWhUAHKlfgvzBn01mzx5aLor6mFWhz6-J4iLLb4HPPBNu"; e_fb_requestsequencenumber="AcIGo7qj9dkwfGtT9BDiDx4ehvYXAndSUxJtYgok4P8qarrB0EN5QAIW_Q"; e_upip="AcJUAySlNhDRpey7yEhKcNeza_5fLL80Fb7XYigHaNwDFzs7Y2PT7Zp9nwzxZLD_95qaD4DBJwJQmJTLA3p0FsPoPfmWciF16w"; e_fb_builduser="AcISy37E8e-AVxUZgyyu9NOxuFp-QvYSigC1Wsdfj8BXyBto0VKEZrIANGsm09RuaeU"; e_fb_vipport="AcJbATHwbyXcvy4qlQDf4GhTLRvUWKAuKZnSwWE6rDNgYrR4Dek-5WxLzG3i"; e_clientaddr="AcKdjdBu7ZcILKgBJmiuRuolCdXtp44j1YUc4_4UAsusCxeOQVBkxRyhLoz3GkkG5Ui06eg0urZDzO7bRw"; e_fb_vipaddr="AcKJtgR0CzLVoX-JSM7JjRqOO0-NAb-AspRG8gWycr4WBYUrrdQiEiRvBGhnSBUR700M2os"; e_fb_configversion="AcJIyscVmYKug9hMPokUnAswgJuIdhRIj1lwArpcgyMynrvSGupTEhMFTZqBxQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=106, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7433595910083138"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/12/2024 16:43:36: Error on send one message facebookId => 7433595910083138 07/12/2024 16:43:36: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AA6XVw7Q9TAUEirgvMd5RJk" } } 07/12/2024 16:43:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7433595910083138"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16500702, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7W5_xLQahTNSYvaWz4qsWB', 'x-fb-trace-id': 'GZq8OFzTc9w', 'x-fb-rev': '1014843003', 'x-fb-debug': 'eVcY9MWFSWDL9dsRmYNqw5u+nLURfh/MMUWV03TnkY6eIwjG1x4FMjmPo9i+V+tfKY+fhPfNegghaBL7RcYEbA==', date: 'Fri, 12 Jul 2024 16:45:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJwB6bb31rK4cRQpBibDKAlkVUrzTvbF03xd1-_TS_xKG-ut7Ob4KlWlQagyVpo9ohlqtVY2MR4DlIzDi8I"; e_fb_binaryversion="AcKir0VoqnNWOOrzO2AFWh-Pqkk_Vag-f4ARHwyBTr9PGJMYiH1EZn_M_rEqL7oZPRmp8BevyYxCvzAJtdBBKYMQEytDfrpqU08"; e_fb_httpversion="AcJIREULk6tID0KE-owP4sZjy5vopohxfn5cEPNzDxLQN9H7YBETJIrlrbeh"; e_fb_responsebytes="AcJRLCCQ1UeJeg0hZ_gv08XM6ft4l_Xln9WV_Lyf4NTSmBkje2p-_4j093UO"; e_fb_requesttime="AcJgQ_DcAlnjkB840ZRShXyIaHs0LK-2MyahZi8wD4vuyfAhjUnmsqAw9gFDNLNJ7cIPxcnt_w"; e_fb_requesthandler="AcI-erEZ7Ppt5H4CsiCVN8QU9lob5zPpj7S-jVMpygIer1D3sTFDSjADdyGyyDiTNRxzXA4xRU0"; e_fb_hostheader="AcLWsgde8DxOO7mkl_bnzwZNp9JSXpgYPSUvTSb3jwqLecl2vgusuUGVs4vW6kL9u-m6U3iEnw-kaTXv"; e_fb_requestsequencenumber="AcJ3K4frcTLtJNWLZGrv8mz1BGgpmPPxv50XvR3SP7wkPW6dVFDolH2RskPtHQ"; e_upip="AcIkET72w6PFTaIxbqPnDU9MjZrAoa2A0pSqskx3q0NxYCMjK_VyEH6lw6et6_Yz_HfzQYfQUGGxGtVeFnhntHmtrIBJWLJStFF_0ps"; e_fb_builduser="AcISODlfnkJQcdj4FybaM_-q60J3S43Jm07D0JnMwTEyRKZUMrPIk4NMtMt-D9onRCI"; e_fb_vipport="AcKw6i0keJ3CeoV1UbrgtAPPFRdIhjSP7eV5lGZzkVcY09JNg-Ks7X0vrJVd"; e_clientaddr="AcIMNh7BuU2M-iV_7RW3QbJHwYCBRfgpgkl6IJKAFTtXGmXgKpNFoNiObhIzpy3GN2AwlKJKvtcSr6Pi-EiE5aKeABzDPre51XK_ZDvKQjHzFUNkrQ"; e_fb_vipaddr="AcLzCX33Maa4zLAHhNCIXW-7gYJamrBkkETVUTbUYDYHaUdeK061MPtv7r-pye7qfJkg4--i8ZQNflxihtQ08Io_EpA7p_7VDA"; e_fb_configversion="AcJMZRYOFwYAvBt3LEOgGS0_OO1VxDeo4nwTPJPIi-07FXxCfy2fyB3TjwM5nA", http_request_error; e_proxy="AcKm4NetPqetqI8aaplDCi2KuAHB7AI7N248HmlTHY6dA1V1eUZLOQzgYTFtF47bn1j4KAH0881R9Pl2"; e_fb_binaryversion="AcIHiwlFmIqBaOZWgPUqYYCAa9YpSV804QTEq_8rTAWLvl4ae65W4_DcWJ1roa5YY-65UjkZTvEQXV3DW5i9kdBif7AMy2TDUMA"; e_fb_httpversion="AcJfix3OShwlrYYENiO2aK2M108Vanksdh-iOy4Ymwdpq_kys7m6ML4Uqgpu"; e_fb_responsebytes="AcJyOw1uCnQdNbpBT9ilp5HJX7k3Xo2b4nMWanKOeNTDFj8rFc5B7jngu5QD"; e_fb_requesttime="AcJs_XZXKffSI07JxVl1kWG0APsjEz7UIKx9l1h6nCAf0-q2d6_trh9K6XEv9-AR4KVQfjB4Mw"; e_fb_requesthandler="AcJ-czztiQCt385pgo6H-Fyf0WEuKdDyHyZ8gpapHoKXG_3bDPpFHVb005h44t6hrynV3Ml1i2c"; e_fb_hostheader="AcK5D-1dXvbIlBNWPNnqPfIGP_NmLVjiezwSRYLAr-6pezKy0inpP1kRunqAjmVbhjUDU-ZLZsu7BAvY"; e_fb_requestsequencenumber="AcKtqMrbKZ_ywCHjRrW_nEtuvogN22YYfHxFX7J2J6TSouTWZLZy280pmA"; e_upip="AcIytc-fJhCSsjx3YMFYPS2yvU8h1YP35R5601DhYs-wx7l-9e1B2FW9uWCaX99OqTjV337yek1Tl-S3mdE3LTw4qjEAZbhyEQ"; e_fb_builduser="AcKbxtOedFbFLTBvEhCeS5qFL9IqtedSNYeQsKIKGxG82Xe17-iB1Rteq55D2d-d5jo"; e_fb_vipport="AcIXQLtAzLDa4VHkaM9FkCK3Xabxs0iOXlobqU1xMcrCJrOLer4yGvOLYmjt"; e_clientaddr="AcIGhCN-nlWBQb0CqemNn3AyZFZXs9gS54CAAXzNl40L68I_ZrexcP1DSJfM-GAUWVXWAN8TAlTHlH5Sng"; e_fb_vipaddr="AcLuFS5bNERC7uwaIwp0XP0azQfq6J0ZZG9KnDJGW2MJSwG6ZAnaF-9VErVpIh_oLjuxk3E"; e_fb_configversion="AcLlSgTkmcxdkEwGl7v82CDwmH3yykQkG7EOZ_gLznb79YcZFdbZrmFx9wtaCg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=78, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7433595910083138"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/12/2024 16:50:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:51:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 16:52:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:07:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:07:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:08:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:08:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:09:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:09:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:21:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:21:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:22:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:23:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:32:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:33:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 17:34:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:12:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:13:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:15:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:25:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:26:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:27:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:27:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:28:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:29:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:30:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:32:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:33:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:34:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:40:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:41:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:42:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:47:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:48:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:49:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:50:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 18:54:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:40:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:41:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:42:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:47:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:48:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:49:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:50:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:54:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:55:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:56:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 19:57:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 20:49:19: Request bot not found: { id: '1852395741674621' } 07/12/2024 20:49:38: Request bot not found: { id: '1852395741674621' } 07/12/2024 20:55:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 20:56:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 20:57:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:17:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:18:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:19:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:38:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:39:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:40:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:41:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:43:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:44:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:45:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:54:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:55:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 21:56:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:13:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:17:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:18:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:19:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:24:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:25:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:26:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:54:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:55:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 22:56:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:24:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:25:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:26:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:45:57: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16620861, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 12 Jul 2024 23:47:23 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/12/2024 23:46:00: Error on send one message facebookId => 7948207121909734 07/12/2024 23:46:00: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/16091780-40a9-11ef-b10e-47b73491e40c__1720828043512.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AG_md2a_x8d4VWlaM46YtNd" } } 07/12/2024 23:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:54:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:55:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:55:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:56:36: Error on send one message facebookId => 7948207121909734 07/12/2024 23:56:36: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/16091780-40a9-11ef-b10e-47b73491e40c__1720828043512.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ALjCLOwwelWEoBVWcMLKGF5" } } 07/12/2024 23:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/12/2024 23:57:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:05:12: Request bot not found: { id: '133788230054854' } 07/13/2024 00:05:19: Request bot not found: { id: '133788230054854' } 07/13/2024 00:05:39: Request bot not found: { id: '133788230054854' } 07/13/2024 00:05:50: Request bot not found: { id: '133788230054854' } 07/13/2024 00:06:05: Request bot not found: { id: '133788230054854' } 07/13/2024 00:06:15: Request bot not found: { id: '133788230054854' } 07/13/2024 00:07:02: Request bot not found: { id: '133788230054854' } 07/13/2024 00:07:09: Request bot not found: { id: '133788230054854' } 07/13/2024 00:07:28: Request bot not found: { id: '133788230054854' } 07/13/2024 00:07:49: Request bot not found: { id: '133788230054854' } 07/13/2024 00:26:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:27:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:28:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:29:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:38:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:39:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:40:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:50:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:51:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:54:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 00:55:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:22:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:23:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:24:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:25:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:33:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:34:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:35:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:50:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:51:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 01:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 02:22:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 02:23:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 02:24:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 02:25:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 02:33:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 02:34:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 02:35:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 03:54:29: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/13/2024 04:03:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 04:04:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 04:05:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 04:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 04:16:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 04:17:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 04:19:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 04:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 04:21:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 05:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 05:16:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 05:17:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 05:19:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 05:20:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 05:21:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 12:09:00: Marker: 0 | ID: 66926e5cff349866cd503785 | Error: cant_get_message 07/13/2024 12:10:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 12:11:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 12:12:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 12:13:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 12:41:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 12:42:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 12:43:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 13:41:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 13:42:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 13:43:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 14:30:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 14:31:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 14:32:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 14:33:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 14:44:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 14:45:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 14:46:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 15:22:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/13/2024 15:30:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 15:31:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 15:32:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 15:33:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 15:44:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 15:45:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 15:46:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 16:05:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 16:06:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 16:07:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 16:08:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 17:05:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 17:06:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 17:07:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 17:08:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 17:36:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/13/2024 17:36:52: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/13/2024 17:37:07: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/13/2024 17:37:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/13/2024 17:37:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/13/2024 17:37:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/13/2024 19:52:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 19:53:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 19:54:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 19:55:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 20:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 20:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 20:16:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 20:17:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 21:14:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 21:15:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 21:16:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 21:17:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 23:16:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 23:17:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 23:18:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 23:35:14: Request bot not found: { id: '1852395741674621' } 07/13/2024 23:35:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 23:35:37: Request bot not found: { id: '1852395741674621' } 07/13/2024 23:36:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 23:37:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/13/2024 23:38:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 00:16:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 00:17:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 00:18:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 00:35:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 00:36:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 00:37:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 00:38:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 02:46:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 02:47:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 02:55:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 02:56:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 02:57:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 02:58:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:19:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:20:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:21:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:29:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:30:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:31:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:32:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:55:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:56:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:57:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 03:58:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 04:26:45: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 16972882, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 14 Jul 2024 04:28:12 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/14/2024 04:26:47: Error on send one message facebookId => 8190848287616137 07/14/2024 04:26:47: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7b1db180-4199-11ef-b10e-47b73491e40c__1720931292312.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AGHQqvDdW8bpKX1-1vo95cQ" } } 07/14/2024 04:29:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 04:30:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 04:31:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 04:32:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 04:41:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 04:42:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 04:43:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 04:44:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 05:13:00: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17043319, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 14 Jul 2024 05:14:27 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/14/2024 05:13:02: Error on send one message facebookId => 25925906827056399 07/14/2024 05:13:02: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f124a1d0-419f-11ef-afa0-fbe4ca8e51cc__1720934067309.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AC-4Jta-OXG0xMQ33ES7Wjz" } } 07/14/2024 05:25:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 05:26:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 05:27:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 05:28:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 05:41:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 05:42:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 05:43:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 05:44:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 06:25:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 06:26:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 06:27:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 06:28:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 09:10:17: Marker: 0 | ID: 669395f9ff349866cd504402 | Error: cant_get_message 07/14/2024 09:17:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 09:18:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 09:19:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 09:39:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 09:40:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 09:41:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 09:42:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:03:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:04:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:17:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:18:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:19:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:32:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:33:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:34:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:35:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:39:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:40:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:41:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 10:42:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 11:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 11:03:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 11:04:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 11:32:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 11:33:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 11:34:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 11:35:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 17:13:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 17:14:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 17:15:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 17:16:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 18:13:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 18:14:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 18:15:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 18:16:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 18:58:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 18:59:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 19:00:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 19:58:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 19:59:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 20:00:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/14/2024 21:54:14: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/14/2024 21:54:15: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/15/2024 00:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 00:03:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 00:04:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 00:05:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 00:07:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 00:08:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 00:09:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 01:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 01:03:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 01:04:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 01:05:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 01:07:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 01:08:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 01:09:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 07:34:11: Error switching inputType 07/15/2024 07:41:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 07:42:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 07:43:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 07:52:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 07:53:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 07:54:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 08:52:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 08:53:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 08:54:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 10:19:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 10:20:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 10:21:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 10:48:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 10:49:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 10:50:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 10:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 11:19:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 11:20:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 11:21:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 11:48:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 11:49:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 11:50:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 11:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 12:40:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 12:41:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 12:42:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 12:43:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 13:46:36: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17423498, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 15 Jul 2024 13:48:04 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/15/2024 13:46:38: Error on send one message facebookId => 8669209816439602 07/15/2024 13:46:38: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/dbdfcf90-42b0-11ef-b10e-47b73491e40c__1721051284233.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AP_FvmAQ8DBYbtvM0T3HGzr" } } 07/15/2024 13:58:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 13:59:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 14:00:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 14:05:12: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/15/2024 14:11:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 14:12:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 14:13:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 14:14:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 14:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 14:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 15:11:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 15:12:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 15:13:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 15:14:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 15:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 15:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 16:38:53: Error switching inputType 07/15/2024 16:46:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 16:47:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 16:48:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 16:49:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 17:54:38: Request bot not found: { id: '128159377280665' } 07/15/2024 18:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 18:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 18:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 18:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 18:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 18:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 18:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 18:19:35: Error on send one message facebookId => 7989558667770646 07/15/2024 18:19:35: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Aq81bBzJJJfflVoC7Np99rr" } } 07/15/2024 18:19:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7989558667770646"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17505116, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANUzVUdAoLu8DBRle1XzUTD', 'x-fb-trace-id': 'CgoLauCOdi4', 'x-fb-rev': '1014883396', 'x-fb-debug': 'RVguGsBC1sZAeJEh71juuDPsDYTMPhnm1N1p0KWnyAnkUM3V5lsvDSg5J+zE3Nln+dvsEDuUWjkFNFVw2R9Muw==', date: 'Mon, 15 Jul 2024 18:21:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJMY6guyiBr2sPWms08qjN1wtAlAahI3waKIohsxXRsK5WAuU6oFAtPlB_gxrBGeqBwJ8lRy-l5ragwTfbx"; e_fb_binaryversion="AcJ6Ha7t1G7tOKf7Y6EVQPV0pePOvAw5jpzphUFvf8tqbcQ31eaJN0sUx2ODTGR59rCQt1cjajP4OtcKanRhBnpSFX6_keki6o8"; e_fb_httpversion="AcKNUhxyKwmFOaZ3qs--aOIIEHLNkms1iQN7aDbGp3OVefEMG4y2hY0whXVl"; e_fb_responsebytes="AcLn9sj8bL36pJwqVtrdUWPNV7SBQq2PysXZJr7ynwk7pBApPVhDcX1qRnqC"; e_fb_requesttime="AcKL2B9yCpbP5xNRRN4OlI02vlKjkHR3dPZ_zJShz8Ok5vvZIgg_VaJUCws2NGCFbSjkVmPOVQ"; e_fb_requesthandler="AcK_om_b8kCE4Fu2TsgdeRU7uyfX7eRp2ppGO4Fy98yyp3guD5R8rp4Ldxg29E4xqDIydiIzkJk"; e_fb_hostheader="AcJ-i5T99x4DuFU6Y1XLdudqqgtaeOjWn6WV-XwKO52H0ZYmVSgMvl6TL6Vw91v3oA2-NocRS47ek4zf"; e_fb_requestsequencenumber="AcLjFiGsg_R31hIjFe9Yj7FMLX4Wsg_iS8lcBlOVuSgOwbj0CaVSOPFf92SwnQ"; e_upip="AcL2Z1yL_luQbPzCbNflxP6bD77O8Ar6c2xsDcjG_u5Ml-qKkfQ7UavBJKKdcQ8qnibR-Cuj0ly2kpa53g4R6YVyPOn9lB46IVu7LMI"; e_fb_builduser="AcI5AtDBlaOINPsBKeBbjaTMpdCYoGQ2L4DZU0H51aXtAsQFVFP8MNgpcD3OXu-CkFo"; e_fb_vipport="AcK-KIB6DUDhduSBfvQ7_YVsTfDnzb7MvxWnCKBfpweBPGCN6XIFJeqM-ATO"; e_clientaddr="AcKg1-em2zWxtIjkxz2N13BLJOkFTDu0vj7DztvEvn_KspYmM3DHTW71d4I8dMXY1hkO8QXGvz-MWvGz6Z5P0PRULVIcPhyNvZPo2FsouaTNhB0f"; e_fb_vipaddr="AcIRL4Z6NO6SR8xzRWNqpcDP6Nc2DdyriUQGrJui3lm4HbvDrBoqG_pz0P88Lhw2c9zHUIn8W7iw7whz0R-cMktUELEos-QS"; e_fb_configversion="AcKJcnIh7Z1ZoLs1F-9E_OazMiAUbVhidPu9jGiqen1H6uPGWOpih9d70M1q8A", http_request_error; e_proxy="AcJBoZZgyBja95N56wsFk6v_PiLNJEvs8YyQcE5O_F-cnPd6FjPyInyFkNVna1nkbwwM-rTiweX4E7JP"; e_fb_binaryversion="AcJ_-meqUT4qT42xlIGFWfq0zBYjnhBFX_K97A0SEm0vaWSi7WMRj-AYFqI4sqjp7dvO-z3CGoZGuBiuIui3IYIt3uRmkfu7MCg"; e_fb_httpversion="AcLHmIYI2UMsGhTHs_EJsWyGqNy9eRzGvVkOb3eKm-T6N2SOPVeA7CKEtnGp"; e_fb_responsebytes="AcLQl3fr2cdb9aTszC6sBaLKrb1splKw9HesUpE46F7pZuiRoaN0CfUIWf8P"; e_fb_requesttime="AcKlug9QsCeKZSgy1Q8bNMZAKGjIv1V7G1KbdnoWuWVcr6hYom8042P2-TLDNiX3My9iWpvizg"; e_fb_requesthandler="AcJfvWLZSTQsuNOYXkLaXQ5VWK6JGrl7VSD54uR6wH-ZvxUiTmhgE9HjpBbetFKetXBEz6YRT1c"; e_fb_hostheader="AcK0zrFkjl5NEowW-k8MjopFmh1NX0z2vHsA1dgrmLNIMNUcUpioyrETDDU1K0t63cagS_3f63fp3_Wk"; e_fb_requestsequencenumber="AcLpmendT1IMkEzvQSZrvRLJHYdsgxiOmrpQCa1nmkWGg-i4Ok6yOQMsLQ"; e_upip="AcIzjdSQHnckemkmMukQmPdA1FIX3dE2CeBQ9oXwapCxDafMcsqff8DwmiDlB2jA_SPPJHY0fsCNPdG2JchOG8nIQwKwakGN"; e_fb_builduser="AcJNksipYq-mykQ197yHlfxiHF_bHfM6Y6bHkhKxOFqLKMme3SwlTVX1e5Quv8our6Y"; e_fb_vipport="AcKLMt6pNkHgRkx5XD9SeRLgtYlzHJm5-6LC9n9zcTnQoNQ33ii5207mUNEd"; e_clientaddr="AcLm337MLwHbEAsL3JU5AD61f0A02LcdjxCWDw_yI4QAsM4tafEd6KKm5pw-3Kr7wNIUR9MNSp_b88YTNQ"; e_fb_vipaddr="AcKcXytT7WPY-9OuGFM5G0DhSV7BvkgTNfQ7wPVrSz68fvSWXsJmOJ3APuJmZvV1-_25EdmnYQ"; e_fb_configversion="AcIHDcxAG3m6QDBo651CMPayfXh04_SVFZYljqwJ6dt-i6GjnU1_Z2dFJV0GkAhIFjprdxUn9jFRlPHC3ekvYczu6aHBR3v7CdE"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=535, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7989558667770646"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/15/2024 18:19:37: Error on send one message facebookId => 7989558667770646 07/15/2024 18:19:37: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A8qjK33U5wS0eXjMtJhFSRP" } } 07/15/2024 18:19:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7989558667770646"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17505375, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AI07-mmkTbJs-Qt6wa_ugHw', 'x-fb-trace-id': 'CEbGZAgs0ld', 'x-fb-rev': '1014883396', 'x-fb-debug': 'NbTxGvhSeU2V6R6u3Yz/XUyYWX895OyEJ/k5B8S3wBtpDGWhTu+U5RjCMWZk0MYoUDnAk4RriTpC/+jgePdTrQ==', date: 'Mon, 15 Jul 2024 18:21:06 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJBYCo5bdHzFlhNoFgBlHTMLVwA3QppVlyiUBbaBH-H9Ar7cmh1EB6xKfS6r-wkRAucnYLhr90uXvElmtrB"; e_fb_binaryversion="AcKS7n7cgIJb3ydojeEr4MhIR99qu5-jOMCn-b791uoH5EqVyU47IE4hiC_CSrsEnuw1vNyzJukzKsx20ByZYD_ehXWoTqzGzls"; e_fb_httpversion="AcKJqLUQtrzw9bZc8iBHK_NsKe8_bL_J6nOgl_-ktRzfHtrXRnN9Q8LM5kGc"; e_fb_responsebytes="AcIBS6-WplSZV0KTL-Ta64i8Fx357zXZlSLWNq-Vow_PJaiOxfTiYFJp2_FU"; e_fb_requesttime="AcKXK-PaHAqDLwQMjDkFiG3yJO5ecG0qY1XZiZxqkbHbOvZ16dW8PhhXIuk8AJ56pbo5wVf4Aw"; e_fb_requesthandler="AcJ2vB_RXkvWF9H3LsfLA0skP1bE7OjEZEoHKzHbZyXZoZz_rYFLQ0Etj1tI3ZNajq06ASCF-9g"; e_fb_hostheader="AcJrD8cL4t5u6rAB3JmU87oXiwnQ21hbjNHUkIl-gDD4SQ3U6uEptJr1Ca-fNMTrhyY-gSzoVZdAOWoM"; e_fb_requestsequencenumber="AcLtf84-c8TZUwx8khilfOfDLaa5AbHNgrfCbOTEkWvzMl14-O7mflDyhBjChg"; e_upip="AcIxK9pZ1lvhZBe7Nz8A6NTaR6hhsFHxTgZBkju3X5MIBi5rJtjESlL03MOGSKpmwDZcdVJbMQbF9ca_DXLGD9qhX9e8qU3LuZEL-RE"; e_fb_builduser="AcLm5M9evzkPy_qufKOdjgNzr_vx0BzHKzNlcAwhRUdRY3-rY8sKeThGTDX4Z-JodOM"; e_fb_vipport="AcL4RuZT7cEfXnOiIjfmkS7nNkBjwF12bJvJ9v09p4dRJl6YA8Gxn9mBUnf3"; e_clientaddr="AcLT7VY1vDI3t994FuDpSzUtTU3uiz98QaDN6828ueUwu6PYKP4aA6l8-sSGu5O4wz7GKSgqPtL7ZYO6KgdI2-ebCmkZFIlyS6utbjBdVysApgn86Q"; e_fb_vipaddr="AcIuKcBBCtbFQGXBny9z8-F24OhnmcujanVWR-VONl9uxz1o7cwxUPnb5vqLUnP0yDO_apAOxPtUapHi67I9K5AoI3FxHIj9"; e_fb_configversion="AcKOVsvG5Zl7cY7pfrdFQlQAxOxlLG542UvhU20UjvBFfEfc0ZyR0evc0ZV_rw", http_request_error; e_proxy="AcIBo5hV0d_aSJCo9gM2Ji2UPtI9LE7vCdVWzfQw_4qSR80iVijtLPRqKnGQymrausHtlg79JzF9qCSa"; e_fb_binaryversion="AcJvwMhFdPpgz4pHyMpycJez30UnpDdbgLEKn4prn9Qdp1fk_L2ZdHM484Oyi0HLomhWNeYj48xgTPdgU5KK3EmZTg7QZasbu0Y"; e_fb_httpversion="AcLPih6C_ZAoQ7xY1Ijjr873Rw6FoGijsfDT1KPdrcKFJFN8fMZy4ShhBSbC"; e_fb_responsebytes="AcLARLdDexi3MA7ankmUsg2dfrkA3hK7Vb9xmZtEU9lWwxqXhD3p7JJHs31H"; e_fb_requesttime="AcInHoymKLHu_5FUWswaqBtJL0z_DJ5vQC_SCxGoLXXVKhs3p2wRTbGie2f5jcbb7OHiISwMSA"; e_fb_requesthandler="AcKy7-CdbF72pTYuRwTg8_aMrEAnk69iqcVsuEwfrpYw4O8ZHdRDWJsGFf7TWucd9CaqjZm3wtE"; e_fb_hostheader="AcJmnNprKh7hM86T3bwsR0n5aMRNOcQrQQ2qbiQw7J11fe_TW8R1DjDaoUjw6FQYrtYbSTy0Et2KnUMo"; e_fb_requestsequencenumber="AcKYVS5hV4E7iuQLXP0KMIopvxqS8qpMXekJYp_hARKECay6lQGABzYZEA"; e_upip="AcIRqQb-yry3Wp-2eW_KPoBrUHx0uoU5MGmPv12tUE3aCRkgxMz4zKtGjREir317VevhYayvY441i-KlgTlNa5DaoHvzRrC0"; e_fb_builduser="AcLLYyG_EtkjuiUR-sqrbQCUONzNvUeJ6qvjctbYIh1Eqhm4LVp9GaKra7TpVReQ_Ds"; e_fb_vipport="AcI_AC3uvAxu5dpdaDSxhA2Kt95RmFrKknmzVCD5tOzrZDJ39culQZ3xAdxG"; e_clientaddr="AcIC4MG1WqwaJmqTR16yWcPBUBw6UrY0WeKOs_uSbEFgQIc4L8w7ACRLp0DICHBMdHaprkr302YLEFViJA"; e_fb_vipaddr="AcIByQDSC38-1knNMzbASO3gqBQjU3gfmEywTVIzCytLn0W_aln9jaA07SU1QUqIWaY7ZC4WNg"; e_fb_configversion="AcKdWt8N0jhod68xVrN1eA8H1fbmsuxZtecJZ75dY2n3Fbky5yGq65j-Cc8GAA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=112, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7989558667770646"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/15/2024 19:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 19:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 19:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 19:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 19:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 19:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 19:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 19:19:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7989558667770646"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17527258, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_7TynK5bmz5wZuzaF-ZBP1', 'x-fb-trace-id': 'DtnD2O+I6Pz', 'x-fb-rev': '1014885591', 'x-fb-debug': 'sd6rXKHvx9M422+9bsuEnWQqg2C/2qURa+mjkQtQNwuJcu8cSkR6sb4pl9enxyC5m6kWcDYInMsv+SiPRE15Aw==', date: 'Mon, 15 Jul 2024 19:21:04 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJr3DHXjVKFqc4HjBkHWA6vMoGMre2Mb1rbA7iahHmSno0I_4shtdc0lhN34hfgrofXAzkEki3D8soLlIzr"; e_fb_binaryversion="AcK3Mq1Xq4ZxBSisvYXsF2l_zYLZSPyGfioxpDLEisDFrrYam7zelR37pMQgYVwfdRKJkyAd1varREmIwXVNSz3xjrO1go3pxBI"; e_fb_httpversion="AcKfm7mUDho9TH9yU8q64cf4I7I-e3Nyy82sZkKJDmw5piyoW8x_MZqkXJ_f"; e_fb_responsebytes="AcKOAmU97TonxrTugGMXrutliWGwp7ebQ417p46hR0sKBGzRgF35iXjPyp_J"; e_fb_requesttime="AcJrS1rWf2t0dXG9IDrLFQ-sP9uSsoRrDlEn24WVwomWbpixhd4xJ3BfDExLgBM51-cpK4sZow"; e_fb_requesthandler="AcJio8DPJAF_TTm7cV0fuydzIf-asQhrSR4EwXv9_gWbBmzKqaMW9eBaMdcftylZ_m0R0aFFRhQ"; e_fb_hostheader="AcLbV9dS-MeocBhHdCAAAve7aAs6rdWgc3sM0N8CIrLaMIZAfSH6rSqDedZVdCg2oOVo5QNTefb1CW9Z"; e_fb_requestsequencenumber="AcLyH1ywdZOuzLbhHK9fvq6GZ9UIn5S0-ryvAPcJnaaXlE4zq0O_ovYtm9KaIw"; e_upip="AcK2NFiKwEZ2E1a1z5TzvHGirF1Idr3E7r_laLOTpMrmxt1NBse5TXNoOesHZJnUkAp03KulvWp4LiUZoLM8vzMd9QsNMwLf7wn_bbE"; e_fb_builduser="AcIog27fMYtQuelAKZJcadsfoi4fcNel8AghJdBmD6RhuBs5jExRw-gaIHQwLxzWD9Q"; e_fb_vipport="AcKPdrgOI3fZKFc-aMAaaTjcSM31W_vNhT7kp0krAaNsPzuYd4LaLu7NbBJ6"; e_clientaddr="AcJvXpZEbETQE_EZsebpFvC790-QVwY6xTrX1BmmWmiSQc4MN4rBz9VeDX7LuktigMrxwPZ1xY7Kb4KEcwXfWJYmpsDCashF1CnKayBEdX3utgQGnA"; e_fb_vipaddr="AcJREH4itWI1zo7_aZrccqDC4HKpMvNNovG3iXTuAOAKEqCEztlaWpQaEvLLik8-fvPIyES3k-U_TZ1OcoYpX-3hZAlcrwZb"; e_fb_configversion="AcLdlcS9noEDQCBe-lcEb8gREa8m8hoo2BLW4NYxG3rBzV_PxjuvmbwF1yLG7A", http_request_error; e_proxy="AcLMc9fZ5zI9ukVK8vBgn0Y61vsDx2OiZ14qL8qFiLXtadQCe38Rho8SM7C05kyw4qdf9WlQ5YgaAte5"; e_fb_binaryversion="AcLtwasL_TvYK6OnsfHNexLYA_H9mLCTZfOj3dIomPqxNjQg8e_-y4P9r1f_JgbCeMsJRMjWMBFRtn7PwsWMEBeig0JDdY0O2uU"; e_fb_httpversion="AcKyG_iUXwo4zUCcE5IbOf5W9R42WJWgDg7M69y29CoyaEoacLurFrMU3wcQ"; e_fb_responsebytes="AcJWF-6ExUjku81FIr6ex-aL5LTqb3uD37-UGEMog6tEctNUWfiwN-dcV7xm"; e_fb_requesttime="AcIlOItgY4wdBnmcWHftGLuwFpYMRKZ5dwNvetp-peD4pgWGRsUB1UDR_cx1-_d3u6CsNIqo9w"; e_fb_requesthandler="AcJQ9ff8vqOTAHfGuFjXuX_4Kab_xBDEEAvvXFMCNeFVMe4hBgriIbvkIAaZ-Ql65qdEdy6O2ZY"; e_fb_hostheader="AcKhkjRzp4za194wRcUzJykIaWaFQ4YgwhK1MUThrgDB-d5MqjS7JRteNVRO3TNAS9zKBs8lGjAYKOZv"; e_fb_requestsequencenumber="AcKjp44urllKh-etZkwOYdwi-SDgTsG9L5vMDgQ43CMOXrI6ow1sTfgLjQ"; e_upip="AcIrJATBMY5OmSWhI_CdhkNLxXIjuZoYQwjBqCnCDN1BAVJ7-QtIyj1SLljfff1-7yPEKHaR1NAxhKj3ssOTxZDuO_xsT2Uf"; e_fb_builduser="AcLqKLk03_s-ZS6DK2srIdvs8Q56tmaHbtWz2IC_FOULaAa3AuXyz_SE7iW1pgH8wWA"; e_fb_vipport="AcJsYZ-rk4yqFNrYCADqkKYKPjtlUH72nOSBTukIOB3VGP38GCDjsZMPoR2X"; e_clientaddr="AcIbGavZ3J4shvjNS9Z8fina5z74wUd9ndM_Q1fEmDkwVcXu13mWwvG8_YJQpCmg0Vd8btb9JRNPA5LOdA"; e_fb_vipaddr="AcJORgyXHouW8aNjIDxjZokVtfPRWuD224GeLbChg2j6TmqYclb876u5dWh58xs3KWkUyApz6g"; e_fb_configversion="AcJFDc9J2--RPu8pc3yE7DWdtBTCVoTb4y1M8RUUYy50GoZ3TcJqVjmWV1Hv0A"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=124, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7989558667770646"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/15/2024 19:19:37: Error on send one message facebookId => 7989558667770646 07/15/2024 19:19:37: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AAUpmhVgNFAgmzgb8NONLw5" } } 07/15/2024 19:19:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7989558667770646"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17527548, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Afhjzl46F5FR3vbjzsTgCeB', 'x-fb-trace-id': 'F/7zOTccahC', 'x-fb-rev': '1014885591', 'x-fb-debug': 'qSJ3GxMIp16kWaxvDV+keFpPvC6QM1Ss6JApwIUB2AzRYJgzd7Rh9T5l9nOTjXEjrs3NrFUDinqIk5oiCxg+xQ==', date: 'Mon, 15 Jul 2024 19:21:07 GMT', 'proxy-status': 'http_request_error; e_proxy="AcL-Oba4OFgJja0I4LjfceS0grFAKC6q5BExUHYvlJz5WL3-rUu4HnvHdQPr6iKfYE4f2h6twu9DBRGvbZmJ"; e_fb_binaryversion="AcJk8qwQQhF82hTMKj-p5x4JJnJ4bih2o4NANaz4wLygqUOI4FIZVTWCArvCKByHX9jqaUxbOqYQpYslZwhh15wZ01yMjnoCVQM"; e_fb_httpversion="AcIZMhNkNr-b5f9MERVV-vPE5UJkfN3row0v3VcY68sNTcIIaIJoKHSaSSQa"; e_fb_responsebytes="AcK26ZbNtbLEOjzU7JS-TqwsYujszLEaWcEOljlZcyCg49sDWszAV9qVfKDx"; e_fb_requesttime="AcJLoSmWgBQ-gvfkgEB_71DOpiA1kg3qkNOtCmHd_FcHukuvbMVFSDD2qH3iqzktmdLofiiYJw"; e_fb_requesthandler="AcJAJHw8fnYHkh83rABPZammn5LCSzpQoG5Jcz-fWzyAYq0_g2XrfvO-_i1jHpnkYXtywiI2X5U"; e_fb_hostheader="AcIRAw9xuOOugE3en0655KOtbP7VUhvCDWx9YGLYAUlNGoo1n4JItgPrNdZJgwDr8u6rW91EbyApbtJ-"; e_fb_requestsequencenumber="AcLQ55kn7wjOYop5QMrd6tfv7L_yjM-09YldYHRNp_Ato7-D8iExunGgliCs"; e_upip="AcImb6QCY009r2HFTmXOZV-rTIPbO-bnTFY4Bgf7ZtfKKsYE4CVD_hei9JTZzLy9cjTZMzIRh2jLi-m4kh3Vn2jcC_YD25h_7EBbacU"; e_fb_builduser="AcLsu5bXjuZtvLrlpGcDQ3_FayBvnUw4Qjdhotr8AZI_1V-y4YkfuEilzvfN5y8pYlg"; e_fb_vipport="AcLWMhDadt_94VmIDR1pLy2hECVJ7_Fg_STs7QQ-6T3Xyth4trEW2NXDOPPo"; e_clientaddr="AcLTqUevdxDvzSEaBISa16_kMhlUSCZ-VxBxNwTi-j72UwqdpjdDC_zvA_y74l1MZ-crRAK9Gn9lPoTJcWwkfhJ_3RdllB5v7UJQ84J9rSF6Gpc"; e_fb_vipaddr="AcLZeC_h63ilXJyIb977iSLPm5MSWaA7OO72vRmzWhiaQrzSrDOpTxYKVZIQbT7jvUfpe3fR5TEgeqq9MIaeEtyyizv1NR3O"; e_fb_configversion="AcLzNJBiVGa-YqsM5c0sR-lRUhSe6HTsemdsje_KWk1brbg8XRWOPG4DZQECtQ", http_request_error; e_proxy="AcJ0__Us_e22Gu5LTKd4N7qocwbhR6GTU8XJfYjipB7NrjqXhZg7Es_qcErx0E35C--jIdS9zHuoAmI7"; e_fb_binaryversion="AcJrI9NqPJyq_lAPGepRO5c2aVPPluAYF6oPQ1QwO563m0UGqCdm5ad6SJjXjxtODTgqlI7HX7QewxdSF4frkofS0xQd2avKAuI"; e_fb_httpversion="AcIW0p2ZWo_6FI5P48G2HRqG-3AI_UH9xDAK6FW9DKWXUsDehVDlIyKNEV0t"; e_fb_responsebytes="AcJLLaJOb2iXBamK-rPk2V9vK73Hzc1OeOfedVE94BCwB0XIZiQl938zdAG5"; e_fb_requesttime="AcIb_HvsYl0md1MXlvTEJF6MrCqlnH4ex-M4oW5M0LvKuOjlEsDkDK471faw7HbBsRkn_91JRA"; e_fb_requesthandler="AcLZmCbsJHIWDULd4erlaqwNelfipPaF9dsAvMXo6ACZ7a1GQ-ynIlU0_jGW2tnNuclOYgAjYD8"; e_fb_hostheader="AcKlN3frWzGxORVDiUHBMy6Wfic9LEBGFiO0tXyYFDhDqkf22iO3bopYm0jlLOEJS_A4oir5z1O2f0jO"; e_fb_requestsequencenumber="AcIPQBI1iCqYsxj-bPh4Me6pTYhB1Ded9oxL_c6Np2RA771i9ZbYxhyZVA"; e_upip="AcJwwFNXn3yAv2Ta4NGyDZWpwZvLMALEjGGud7p0wqxrduSLJMPbXAc37-CNat9gu4AEzoePfchkwMG336gOMW4tgVOwPQ8r"; e_fb_builduser="AcJE6U1p2rXoCh9LC5xxepRqOi2Z7VePcdnmIwbtSqhf5RKBK3M1qLl6QOp5zvXcoGg"; e_fb_vipport="AcJZh0dq6YxMwczmUduOQFdfz9Nbgq8zGfHftKzYyvAb2isDtVKOwgcDC7YS"; e_clientaddr="AcJD-Y02sE_W2z9xsGQ_CIo9A341oS6KTu9Y0urnEoqeUJ41OT09Wvge6uI58apsBVN1-EkbIlNnn75xeQ"; e_fb_vipaddr="AcK1LvrklE_dQC1H8OHxbycl8ryTE7omNVyeH9GOPkWqGGo6NP5ie0N2F4wjH5obOYgviyzAow"; e_fb_configversion="AcK2o_WHqc0ce9h93pPFEr2zmN8YFJTIWrlYsNyMi55r5MDL8dAW2Lvy9TJNKg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=107, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7989558667770646"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/15/2024 20:58:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 20:59:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 21:00:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 21:01:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 21:58:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 21:59:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:00:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:01:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:06:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:07:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:08:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:14:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 22:18:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8332014483498131"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17568604, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6sYvp6Ulrey-gxZCiMeYBu', 'x-fb-trace-id': 'FOOsSXk27nS', 'x-fb-rev': '1014892255', 'x-fb-debug': 'm2C5XF+jObX5YaQsznqtMvPlDqeU0Z32NxiegWLbrmS7QKYmbFRlfX1dzOS2tW5alYxAPPFxFzSciHWcaSV0ZQ==', date: 'Mon, 15 Jul 2024 22:20:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI2PWnyYwgFOE_Kszy_cyW59GU0QcTiuB4hdA-A2nbr5cTuGNXZLY25be3Sku4sFAiB4EsEeVtFSoIxW_Z-"; e_fb_binaryversion="AcIPCd53KTUcJ0PuM5oRyqZ6PvN-2vXdj6PEkgz9pO0mXNgwys2zTEbJyTOsjbHBWga10oo8xBAHdWpDoz-PXog4wSIPR9nHX0U"; e_fb_httpversion="AcIBVRxaJ1E-UIzT2QSJDRRHRstxSv_-1AIn1TPnlMzPcoJZg6gb1nFbiU_e"; e_fb_responsebytes="AcIT_6D6Bn1MUQMN50PbL--0qEaZN-ljFAZh-rDhLOw5jWYibIbmmK2HkyFI"; e_fb_requesttime="AcKBjKJyKSMJKLzL4ZJxKjiZtZ85cVm4xonG79hQjvJZgVCObWCN4X2x_1grYLNNV3VD98Kazw"; e_fb_requesthandler="AcJFTSXVxGlHTWsSKHlj4akKASkaJWhFfZjd7cKJAV2PfNubB4P2z2NZA3lPUPu5nRcmhst6PA4"; e_fb_hostheader="AcLh1BA_9whjZfxWXjsSawQduv5x1KdPQ5fOxtX22Zx-GkEMwjkW7-icAK1FKrD-H7IdUriHrDdyBxqO"; e_fb_requestsequencenumber="AcJlmBv9Q3HShpJxSm3g19Bu1Nzi5z4BVKCD9YYctEUgUtrygwd1rL6KU4tk1g"; e_upip="AcKq_A_Bkw4nALyVDzpDgaKyBxO-pUN4s_zvEoR-fssd-J4BIJboZIjK_MviL0UFISRcxsL0bcUPo25AkncwipH7YK3h-0ocCinEbzA"; e_fb_builduser="AcKoRxNMTpO-eTGJsqcaGLMeuAg5K9gxeojMRKTIladRTQuOevfwC7vcd8jhcf6evjk"; e_fb_vipport="AcIXypaa9OEEo4gPX-YuZnL5OXuwdiFLl80XnT-X2xCa5Gf5XokPOQTCd_pi"; e_clientaddr="AcJLGiu72Dsz-bj44Twg3ov3-1lTo78caawyvjS1haYd7X5IpDYXkHyv0dPMK49LvAmr_x39iihPLegJSSMGvwjid79lnRHvl6M7hqqK607EtQ8wFg"; e_fb_vipaddr="AcK9ZSTBhgnZggpOLhwmdJPXhiQrtDrS_P4HPRAdhjaWWdy1pT7Cegv4WIDzUE38lC3LCC6BYuDe_FTIXLDFzRPnbzyupNxdEA"; e_fb_configversion="AcKF5kxe1PsAoRgnjG-MIizXe0MSxPXNsT29rtzHuZrWs06QR1VE3fniKDjwKw", http_request_error; e_proxy="AcIBZWuPGfzjQ8hKzWPSwSHX__58eWPu65q-sUfAiK_SDxYqNLpQnAEapCgdD86YTVSs2sG4RHKidwLd"; e_fb_binaryversion="AcIAUTNjKP1bgemvuYBI2yEKRkKGb2maRHzT5iVmpYSVR2eNC60HlMSKhUkeagx0w9PU9zaGOonA0UtudO7PqPNvo8QKC2CT1RQ"; e_fb_httpversion="AcKRiF_wd1Q4p5x1miIQUGWpt3zbdipwXNed8QONS-x50yP9ALf5I8S4-YJs"; e_fb_responsebytes="AcLG-aIMNq3s2qhnqvOFA-YT85lVLMcR8juFFz-LmBqPXTYHhJDXhK0a1K25"; e_fb_requesttime="AcIRZMnBd97Y6Wg7p5AJ91TG7KNDWqsWAwmmL5ZIg04AqBsSMwtHgP5JKKyOqNCcXfEVnFVG1g"; e_fb_requesthandler="AcJSgZ_BtFGi4Si_3q86wfFNTlW8q8cJUXc7xDxnVt1im_MzKOgIZNK8b0En4TMVIDqd9f3N2jM"; e_fb_hostheader="AcIiF5zwKM8By40aCEC-bQDpwZZQ_Vlp1CGFGNCmMKSRsmGd-OA5gL7qA2N_qIbxqmpmHC-onLrz2qc9"; e_fb_requestsequencenumber="AcIFVK9o2YHc_1n-NwZ4nvkNuap1vjN-uNfZV8BY3d2uU1Hd__YCvWRTjw"; e_upip="AcJk-R7_TlglS6_l81sYm6T5kU7QhTp8_T86qZFbQvY6FJVoTVuUPugGkfyvEqzLSI_YG8qsDyvlng7P0rkEWmCgjMDLGFhgiA"; e_fb_builduser="AcJtCd8ylnd1r3pp7yazf--agCESFi6tm1ijrvhJqXO_DkP2bhFFPd9uf3sejvsCebQ"; e_fb_vipport="AcLfl350XTs2gLiqu7umAUyWDKvjeqZuAKVYPRPcPEcpdFNyYYcQ-pWlf-eB"; e_clientaddr="AcKtI-J79VVxqI3ThUNB3KD5gt6Shti5u3OTY0l86pG31uGotXeLt8hvEAV6svaBi-hG8tHCl2qH9mThIA"; e_fb_vipaddr="AcKkhULjLldZJiYqR1mpzhMr3uELN47IMlBGR8n_cdwHvzwnMwn83XQ2ocqHgkiEMxb9FAtHVQ"; e_fb_configversion="AcIs4t6hb1_-yr9qDFb5jhnxg8EApCGUb0DlBpCt4MweQzzDiyfLNyVAftyGpQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=62, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8332014483498131"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/15/2024 22:18:31: Error on send one message facebookId => 8332014483498131 07/15/2024 22:18:31: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Ame3Gw5o-44n1ObIbCPOaaN" } } 07/15/2024 22:18:31: Error on send one message facebookId => 8332014483498131 07/15/2024 22:18:31: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AUsEQ9HD8OfUfKdkj9p9kVD" } } 07/15/2024 22:18:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8332014483498131"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17568821, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGO5al2WzPFpchr664jmrio', 'x-fb-trace-id': 'FK8vKPhtohx', 'x-fb-rev': '1014892255', 'x-fb-debug': 'dGabjNlYBZffkC40IJyQyVwhfbRQqKxEZAP5HrLoh0TXFtzcwzF+/0ANvufMUvDCSOccvdaFasTzo5Lk9JGPug==', date: 'Mon, 15 Jul 2024 22:20:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJG2rHFUNCFsK6xkxUMM-fn_vkLTuCE2OtdBFBE_nyk1O-fNn5j-MQ8h0OdsGd1gpubBIu0cMhSlQ8hwf8"; e_fb_binaryversion="AcK2Ik75uZbpTtCwqEtXdZbUl7gc2yvqHwdCCznzRD3Ag9vsjxd1FsytXPGstFfa0tZc_qZZvrAWNJSuYXfIqPWsrj2xDYLkWjM"; e_fb_httpversion="AcLeVAc_pFq2qOzyD6HR0v2sUlHQE7w1Pa59loh3QjSMgHIYp66n3YKzbKOX"; e_fb_responsebytes="AcKzdKVr8T4Nqeif_tpzesItPK4E4RNsar4luY4fZXAT5jBqDVCXe4UJ5w_8"; e_fb_requesttime="AcKudX4y1Sfs5Hh24KB_369sBBxOpSho6SsY6YAeV5QVsMduNEexrGrs7SPo-5_7rmvD3sQFMQ"; e_fb_requesthandler="AcICIpww5gKwaQotDWjwa1AtYkTescSdEPFue7tvpGF4MIsHhGKSTjKEoA9fPUAPXyyVmBSI5P0"; e_fb_hostheader="AcIKR4CcKkX6nBl5AaYHKUWtSMI8OblIor-yvo-0WW4lisLPGC7xlf7DAhcj4YYaFFyoFS8kpHVb_O31"; e_fb_requestsequencenumber="AcLxMzOh1yKavsRJopYNP1LZMLRfqlNTHMcjZGvphAV9fa5lz7U-_hkl7eE"; e_upip="AcLHL4HZeJ5B8RnolZHFuwT3V7014wWf6PR4qRocSYmpY_h4n-si0H-2waMLYHb9ird6kqVoq9F_B4iV1iPl-xyoZ65L36lnbdn4ok8"; e_fb_builduser="AcIOFs36lOSH7tpCxfNobrtZcIHGY6Wxxjzh2-jN22mgUap7DH0U-er05ISRE5FFVs0"; e_fb_vipport="AcIntvaJFPWoWykOrSq9V34U-ae_uaFzVAZdg_zOMZcU9doq7OcmXpCoSzrb"; e_clientaddr="AcIHb1w1gPAokYLFXZ7FD4hvcA5N-3boevysGDh1Vzs6TyRLwM68mWqUdWCnxZUBAyZBZ8EskG1uKhDu9l4TAZr6y_bCFa7I5IYZSWlw7Hz5jKLVIA"; e_fb_vipaddr="AcIN_IaH_Svy-avgEa5p2gOTYyzMTEwtvc8KLFeQgYrtTXjyBGERsCtpBrPoIBBM1NJzKH0niynFIVDqqvT9B3Q2GImhqsGM3A"; e_fb_configversion="AcILcxZEDKJWYcSGomZJsRQDGlWbwjzrKRqkh6LMPXSa6DVJJA4CQamSuxhPYA", http_request_error; e_proxy="AcLZjSgl37Tl0lsBL-gYK9j4OmU8nNujnWwakcOeXwR60a37sij7Jp7VmCq8KcLo8yDuDUHQqXBmhWwb"; e_fb_binaryversion="AcJJlCSudUNbBfgEX46nsdr30umog5UQrqEZl3ZYOX-irmmhACMiHpEWZBs-DrGWe-y8GM2aSFY6tz5jl4e1xJpLL7gfkyrH2Ag"; e_fb_httpversion="AcKCtbl4XoxqmWbW81y1t4R8T18eCCmh7iUquZoxni4g-_WNdY1bUKk6HJvg"; e_fb_responsebytes="AcK2oeSbuFDeqEdNJhncdnXiO9fgBeoFuVuSr4DfmdYfmWfzlLSKoTkKmSb2"; e_fb_requesttime="AcIsuWslEq0kdeEoCu6YzVdJhtcFIaw7ZRBhwTte53oRRH34q2R-SnvEDWRMStFzuVd1pxleUQ"; e_fb_requesthandler="AcLhnEmgZ7tn54cKD4AflHe5ewkdpwTsdc0rpCPOKrF5ACjjzb0moOpBpwbZs9RDEIMP3WpziA0"; e_fb_hostheader="AcIGYvg_xO_TgkG_1lGnAWAbCG4MF41-Cyy5sfDTGhQ74tAEIyDPWivXu_3BGmLwjcNC3JYfGPmLHb57"; e_fb_requestsequencenumber="AcIL9LVhdOkFkJ1VN_y2cKoBZqxtwLiLx8nMSNSEmGT-rJaFSrahHbqzOQ"; e_upip="AcIXeuaCdWi204gCQVHF5uGC1203Z9gKum4gziRzT3KrlP6ja1LDZzk8RnSaerduYPTLhfdNL2CmuDL2QUFGMqW8iF0Dc5XhUg"; e_fb_builduser="AcJ3nuVS0D7ZaXrZUon8oOjQfat2kQOggLb_i7fYt3HMu-ku6j3djrddpnKsl4eRfOE"; e_fb_vipport="AcJlWN75xJX3eyo17eLQF9vipHfYRap0Pq6IavGjxA1Ww59_ffQBSGDTQTQt"; e_clientaddr="AcKPZbfo0r3MO-ZN0VgIyRpwGkfK2i7UIvQbXD2D2djWL_Ciuye0fv-9YsWxJM_hGa_8q-DNlaM-EJiblQ"; e_fb_vipaddr="AcIW2MMA-D_ECg5_NjMrH7dR4vDcZrGtRjanWe5rLNGyHeMJ5H6luRMCKljWbfByOeWH6fN7dw"; e_fb_configversion="AcKCSIbwh2jUQbOAtlrIixKvj2Fa8-eeU2jUIMTKFzOl3G06WVoCDj9P4Y06jw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=79, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8332014483498131"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/15/2024 23:06:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 23:07:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 23:08:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 23:14:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 23:15:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 23:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 23:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/15/2024 23:18:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8332014483498131"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17579727, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AeTWnmOwJ0eZ8_SqoB7LWtE', 'x-fb-trace-id': 'At4HWrGyk77', 'x-fb-rev': '1014895628', 'x-fb-debug': 'ApXFhZnf16L5C97AcDb8ekk55A69lf8Y0jm8i4Qjj4pSq53AzSSZSZ0dw51ECO3vCaJQt8JyyEq9+ZAwXRUyAw==', date: 'Mon, 15 Jul 2024 23:20:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKHCK0TeR0-KZhQdLjCmRLN3M5rE4aLJ7XNA9CFuCprdYnaYp2Hiw3aDRDVMRoqxLwKrqoagTIo9IXwvJVM"; e_fb_binaryversion="AcIsp9PtL4l82eetaXp5ILUMBXxMCyHC_8k1bDdEduERwZY5C_0T2UL5APa8wvqT0OekCl9exZOHBPGHNxmEx0oXfn5w9ebxUd4"; e_fb_httpversion="AcLPHuSdB-5Zb4tuBj4uOFpORCcwAQrgYSEBaL_WR8iYhwyrGtTkz-O8QQHH"; e_fb_responsebytes="AcLYs6VPpE83ADcx5fNYh_9gElCoXn6Upo7FvRec5RSgs2xFKDOkQjzduvyS"; e_fb_requesttime="AcKIhPwLcvkoqamlBseZPC0S1Jakd-E1fl3-qNvhYOL-mcppPyRGyvErI1rVvjHMU6WCa1Lc9w"; e_fb_requesthandler="AcLcpyejkto94Mg5JXvI2lpaOLPoFY1voyUR16QqltONCOrMsS3yBJVKFGfWWrlGVK2HD8fiXzA"; e_fb_hostheader="AcLzSNxorBYjWEkjqQcaAG3J-Dms8X_gPeXCNYrXUIBG-J_t-cPdkCAOJ7LA8Rw-t2fhX34G-9_lw-Hm"; e_fb_requestsequencenumber="AcJJsiSGFq8EkA5TvlYHGjTUpJiVrvcKJbbPa2AZuRyWKf5nDeqJeAftcVs1Ig"; e_upip="AcJi1a_fnTFSuzf8sZJjxVLohfj27lf_wXNrgfjIh_J9j59-5FYI8JehP3cfel3fcCatQYtU9LBaAFqEBAUw1owhQaJ8t0zWic45e_0"; e_fb_builduser="AcKkBmQChrkwUW3XNA2uA7vsExNfYMEYi4NcEBvBKU2Qtz_8lUcK-Lp1CpFfKwBTGJo"; e_fb_vipport="AcKU4cYVlS6S9_0Hf4BzPCePthSdKsl4_hTMu9yytawOjeQ7K5kSqdon4mr1"; e_clientaddr="AcLoGbOhV3sphfdWTAgsTfQepXaVkG0b4AyX9vUodshLmfThA0XBWazL3X07MkAcfQ5V6k3SXUxcKbfxhThBeY4NvKzptRAn8HyY0MaUHolkXzbafg"; e_fb_vipaddr="AcKIoBCNILZ-3PN2887JEaqgBfnLn7lG5v4n5pBA9K59TSZ7aGO66JRYYQqkO8ZlOOuJrlkjQBSdSspO5eVfRzWwJDxf2KLDTQ"; e_fb_configversion="AcKHRAC5sJ12_cjFZ99W3X-OTQ82GeAUPiJSeyReEFB93So9XLoKJklYbpUvxw", http_request_error; e_proxy="AcKEooQiMS9KezeRsbQZClV9uexiRL4Y_ebRwrvEWXl8BY24-iQGAoZKoD7EqlqZujQwDfcenZuSSnKX"; e_fb_binaryversion="AcL2ksy39XU9aRmXfhTwMwSIUYS2ecgC4VZqrkNXtKwJvVLApNQsLK1rJNPF2Y4p_EcuYBGa8nbN1kdnX1dSbn7TRGzuVPY_L_I"; e_fb_httpversion="AcI5V9-1OanQY6UOtySxsVas9hSZ7vjeVUYBA0r4CaZUQvIT80hZUV8OhZzI"; e_fb_responsebytes="AcKeHWqDlnudl2OTd8kLcvF00RIxM3rrkoXFI5hloJoj-sHOl6jjQ-oIeNW4"; e_fb_requesttime="AcJDMWZ458wD-BVekbdV-z2Ced0p1nK39Nxu5ZbK6eABVRUcDafKSyhpVs9hn8-arYvHI03v6g"; e_fb_requesthandler="AcKEjoKuj7TTc7MZoa8BDJH_QzqIm5IT2D1nIwA2YyaW5C_RmF4Va1_-znCNuwNND9DrmCEBDzo"; e_fb_hostheader="AcIrxZVKJ81-2NtJuA3FS0TBZ5GYWGUvK8sAy6P77VYdDu1o9KPxEQd1L6yiU8Utm2BbhxjfXznTql4l"; e_fb_requestsequencenumber="AcJQscWOvz0AQWTW5qlbJdNImGvnN-SX0v2_t0F32bKm5v8SV92RS48JFw"; e_upip="AcJXrFRmkgdjOVLtwCuSe6I-faJzjdU6nZizbnwgZPpo3P2ZJB_jxZ3mJCBQWDpE--Jq97r4sWx9LjUD9JqbItNxb7ZFK5_QBg"; e_fb_builduser="AcJcWSpLgT8eGmNyatsDgmS2_v6PmYyQ7VJzp3_3GD-A8nwzK8CNDswwqvw3hvtwnXU"; e_fb_vipport="AcKRMF5CqgyUGG0aztli2DH05PkIsit-XC78jI-GHmaG9g_WNgUz0wGEBO2z"; e_clientaddr="AcJVRJO5vGge-B1jl7GQQpCThkaoaajYAtsTStE1TR6_Nl18et5k_sfUvmUV3EVaZO722d2QbZwCT-snFw"; e_fb_vipaddr="AcJZi9tWeZPAbWnlIRVD2IWZa-jMyirbqOIpeDR666ednsoEZJoCohH-lgd30KNFw8bbJ1PDQg"; e_fb_configversion="AcI1ZAknvN_LTmJjd0-DNCfVxuzmtzNyKIT3NAE-jNwgHJR_1afp8759F3BltA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=64, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8332014483498131"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/15/2024 23:18:33: Error on send one message facebookId => 8332014483498131 07/15/2024 23:18:33: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AXMxuYWPUvlinSBWqmnrPDp" } } 07/15/2024 23:18:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8332014483498131"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17579897, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AS_2HUjQu43pC6bnmg8zfkE', 'x-fb-trace-id': 'HKiByIMQYVD', 'x-fb-rev': '1014895628', 'x-fb-debug': 'BdDr2uzFZJoE3U0Znf+Wg7iJm9GwuId3eEOd0R9PJ2FMvCTDll1fU/e+yfw03rZXI50GuLiv1o1NSRAv4/YHTQ==', date: 'Mon, 15 Jul 2024 23:20:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLWfvS3_k5XS2U-mZ9kW7-KGsqeV6rE7QCTRlNI9ZzWaQ6rTQiHzeFhiIXhINKAefwLS_xucF-qJNlAaRg"; e_fb_binaryversion="AcKdh4uGxZ1iMJmmdzPwhbVHWO08iQiz4shvcyc-G7Sk_i4D5mOnvkSFUpah9ErwUFA2gKzsubjvRmgUkOSYTziGoMmkrzdh7Q4"; e_fb_httpversion="AcIRH0dXKu20eY87b1Jo0N1gXT-wuQbyDx36L3t7TrhuEEdEcjF_g0X-hk-O"; e_fb_responsebytes="AcJvWHUjyVht4uHMUjupwgoJObdXCuetdFB-AnU4AE80-OTjekylvuZfx-M_"; e_fb_requesttime="AcIHTI9rty8ZDhP5gaAjaEAH0JejgE2Nd1_q5mvbOMvVnY9gPe6kK0fHz8mMM7hQeFyyn7kwEQ"; e_fb_requesthandler="AcLKvlhdcWi2BLlNDVwPTNIXRQ83lmoNuTrHsfHyUUCAmZd7Z6r3YdMgWsJ9LXNTriTl-Gt8N2s"; e_fb_hostheader="AcKoPMkNgIgplsC_jDNEdMTr68xkJCelQvy_4TGa_TjLo6tvi4dlXLmAzRNdN_AvhfHzBoAlTl4YV9m-"; e_fb_requestsequencenumber="AcKnyNP13I4SQuc0_yfZOC9WIuFNLJxOwEfPlLj_un9xORpmCdnPyFOQStR6_A"; e_upip="AcIzCgSJZovTn5FAQzz4rpGF2kMZvYH_E_Hh-DnNJQdBDkTfFCMI9zrCLPHPnUY-fc-BE3LgZKk1p7xr9WgdEQpt43S8W84ks8mTeQ"; e_fb_builduser="AcLEQyRDf1cyNCqNIls1WHRHvwA0XQ0Zs6epKupJZbPQBC5DH_qA1VNDsVNI_X3V91s"; e_fb_vipport="AcLHEdvbphIyZ_S3Q8rls1w7Ayyx7DKQ-upo7NHxpLcWaIGGHX0ns20Bhj03"; e_clientaddr="AcK_UBt2qQH2ceTGGHvRyX0p_-2B8rIrwRp68fmAKUlvmqwQ86-w9zZMOqR_entkz76FHZkWpdut60DkYY_oVN9tWR6LwxxxqJJjuJLWZGG06hqzOQ"; e_fb_vipaddr="AcLIi_mrskJEwcVSvtC0DxbBmOoaHY-b1vbrS9K5RZgm45dpN4jLr9Q2VJgYrICZZAHVyS7CVUBcCTVAEM-P2XwA3fkF2MTYtA"; e_fb_configversion="AcLAmXs2WTAi-ImwzKD2wvFJrKJFCva5DTChOpKepU8AoxVC5vzehuUvxzkCrQ", http_request_error; e_proxy="AcKJ6BlJ0NvoPO5GThpIire82nfsu8JFOPZ5uo5xEYuAkvdlISp0I2zPagDOreoSpYnBcFzYw5nu_f5W"; e_fb_binaryversion="AcJf1gaiCqJwgJRCjZfWnCayv3uoCzD44toLli4n9QbAyDoefModZqdn2FIkp8tlzRP6ILsBaNVLJmrsXEF4xBkSvPqT309HFUQ"; e_fb_httpversion="AcKd59f9_jIPVf7-2o5WnuXhgqsM_ALifx01ggl4l5BeQz2hFMbMb3ddyEe9"; e_fb_responsebytes="AcIFcueLA6I4hkJ8fUuz42c9RMxgbJxKqDg0e5Y0965W0skW3OqTTrVXd4sb"; e_fb_requesttime="AcIEDeEjubuiYjsDjhgQ_CbLAXe7fi88a7zuQiiijh8yBPHTCRwr67Y1IFR5o6F7CYNfnYwZGw"; e_fb_requesthandler="AcIHs4IrQMmpv1VFg3iUyD7dvtp3FEv75dtGBhmxEWj-6LvHpu47FMsAf1AAqhJY-gsWjDCYkig"; e_fb_hostheader="AcJ2yNhcynR5OQBNkwJ3Y7t0I84NPiwMQab8l-1rLu-M036s43xZTHnoiUxGBd3kGZMzXTaIgOCx4OZy"; e_fb_requestsequencenumber="AcKgL6h7XO5f0tVZ3XOF8n3ml6iuKzDd7QrJ6CTudPTrmkEyUQCVAdn8Mw"; e_upip="AcJz_wtKQhrhZyJfmTeuPb2BKC1OMh3aKC3Wfdqd74HC7WZEn6kLkNrcT8CSGSFnJq5X6g6KiWrmRmKzpZKy8Y_9y8mETRIQqw"; e_fb_builduser="AcJWQDUxmmYPtprM6E4X8UNCpDMRj4glaaSvDit9KDAhZ6ZFeWIJz5IV7h02S-gLl-U"; e_fb_vipport="AcJp5a87FnnS2Ln8GFkuhJZrYyrmVo_IeymyBu1e5exW32zibfXHJ26UWQjb"; e_clientaddr="AcIWHI24z9zRTYBkhNb4NzUIGYFxopXHWVcGNkMh1vnm8V1fqOKg9dUopQMqTTcSaavLww6PbagIIZUy4Q"; e_fb_vipaddr="AcI4YSPv6IsZb8FuAdVDT1EU5q9EVqPgpiw7rEi_jyK6066yg9Zi-3JjD0rPbyU2oP_uafMEwQ"; e_fb_configversion="AcJ_qtsULf8Q9T-LBRauo8Kt1PG-ldzI3cpeGXfwClEyhHGcyiDPG4Kmi_LrcA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=66, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8332014483498131"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/16/2024 01:05:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 01:06:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 01:07:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 02:05:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 02:06:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 02:07:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 04:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 04:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 04:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 05:16:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 05:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 05:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 11:19:19: Error switching inputType 07/16/2024 11:26:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 11:27:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 11:28:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 11:30:57: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17715868, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 16 Jul 2024 11:32:26 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/16/2024 11:30:59: Error on send one message facebookId => 26886806714251561 07/16/2024 11:30:59: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/13bbec30-4367-11ef-afa0-fbe4ca8e51cc__1721129546355.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AqAq9YSShV8B1dH4gmAX5De" } } 07/16/2024 11:43:08: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 17731442, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 16 Jul 2024 11:44:37 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/16/2024 11:43:10: Error on send one message facebookId => 26886806714251561 07/16/2024 11:43:10: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c72debf0-4368-11ef-b10e-47b73491e40c__1721130276911.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AwZMRkS6u_FpsSXn16hIe5u" } } 07/16/2024 11:50:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 11:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 11:52:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 11:53:33: Error on send one message facebookId => 26886806714251561 07/16/2024 11:53:33: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c72debf0-4368-11ef-b10e-47b73491e40c__1721130276911.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ARKGLJl7wSG3NVRfVGZuxpR" } } 07/16/2024 12:50:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 12:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 12:52:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 13:48:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 13:49:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 13:50:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 13:51:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 13:52:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 13:53:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 13:54:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:27:39: Marker: 0 | ID: 6696835aff349866cd505ba0 | Error: cant_get_message 07/16/2024 14:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:35:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:36:26: Marker: 0 | ID: 6696856aff349866cd505bbf | Error: cant_get_message 07/16/2024 14:36:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:37:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:49:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:51:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:51:51: Error switching inputType 07/16/2024 14:52:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 14:53:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 15:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 15:35:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 15:36:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 15:37:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 15:51:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 15:52:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 15:53:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 16:09:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 16:10:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 16:11:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 16:44:30: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66969faaff349866cd505e74 07/16/2024 17:09:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:10:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:11:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:42:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:43:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:44:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:45:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:51:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 17:51:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:11:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:12:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:13:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:14:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:23:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:24:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:25:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:26:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:41:06: Error switching inputType 07/16/2024 18:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:51:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:51:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:51:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:52:36: Error on send one message facebookId => 7987840921296469 07/16/2024 18:52:36: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "ATWGaG0J7O56yOu85Dvjwcd" } } 07/16/2024 18:52:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 18:53:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:11:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:12:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:13:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:14:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:28:30: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66801576ff349866cd4fb79c 07/16/2024 19:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:51:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:52:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 19:53:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 21:40:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 21:41:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 21:42:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 22:55:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 22:56:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 22:57:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 23:37:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 23:38:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 23:39:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 23:40:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 23:55:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 23:56:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/16/2024 23:57:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 00:37:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 00:38:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 00:39:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 00:40:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 02:21:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 02:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 02:23:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 03:08:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 03:15:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 03:16:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 03:17:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 03:18:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 03:21:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 03:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 03:23:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 04:15:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 04:16:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 04:17:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 04:18:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 04:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 04:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 04:50:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 04:51:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 05:50:14: Marker: 0 | ID: 66975b96ff349866cd5067ff | Error: cant_get_message 07/17/2024 05:58:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 05:59:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 06:00:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 06:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 06:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 06:35:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 07:33:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 07:34:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 07:35:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 08:18:48: Request bot not found: { id: '234064353428134' } 07/17/2024 08:18:56: Request bot not found: { id: '234064353428134' } 07/17/2024 09:54:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 09:55:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 09:56:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 10:54:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 10:55:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 10:56:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 18:39:46: Marker: 0 | ID: 66980ff2ff349866cd506a5e | Error: cant_get_message 07/17/2024 18:39:46: Error switching inputType 07/17/2024 18:46:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 18:47:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 18:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 18:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 19:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 19:23:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 19:24:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 19:25:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 19:46:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 19:47:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 19:48:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 19:49:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 20:22:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 20:23:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 20:24:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 20:25:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 21:21:44: Marker: 0 | ID: 669835e8ff349866cd506b19 | Error: cant_get_message 07/17/2024 21:28:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 21:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 21:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 21:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 22:23:47: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/17/2024 22:28:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 22:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 22:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 22:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 23:16:02: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/17/2024 23:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 23:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/17/2024 23:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 00:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 00:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 00:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 00:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 00:40:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 00:41:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 01:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 01:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 01:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 01:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 01:40:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 01:41:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 02:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 02:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 02:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 03:49:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 03:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 03:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 03:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 03:53:30: Error on send one message facebookId => 25911804298467582 07/18/2024 03:53:30: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "AQo-lai0_JJO-_y1Ysd1-3G" } } 07/18/2024 04:49:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 04:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 04:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 04:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 04:53:33: Error on send one message facebookId => 25911804298467582 07/18/2024 04:53:33: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "AS-rJuAUaFjo90X9aVH_aON" } } 07/18/2024 07:04:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 07:05:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 07:06:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 07:42:48: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18304174, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 18 Jul 2024 07:44:19 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/18/2024 07:42:51: Error on send one message facebookId => 8284874928198003 07/18/2024 07:42:51: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8a6e2140-44d9-11ef-baa3-23493f815168__1721288659284.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A_Wsn-rriv5JzPbFehwcEDt" } } 07/18/2024 07:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 07:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 07:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 07:59:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 08:00:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 08:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 08:04:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 08:05:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 08:06:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 08:07:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 08:59:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 09:00:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 09:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 09:04:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 09:05:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 09:06:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 09:07:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 13:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 13:27:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 13:28:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 13:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 14:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 14:27:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 14:28:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 14:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 18:49:45: Request bot not found: { id: '309967135747121' } 07/18/2024 19:44:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 19:45:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 19:46:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 19:47:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 20:44:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 20:45:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 20:46:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 20:47:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 21:10:12: Error switching inputType 07/18/2024 21:10:50: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18460370, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 18 Jul 2024 21:12:21 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/18/2024 21:10:53: Error on send one message facebookId => 6380545278736115 07/18/2024 21:10:53: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/6c2168c0-454a-11ef-86d2-8d9f39628c93__1721337141580.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AAY8JutxfUliHFiXwyoY_7E" } } 07/18/2024 21:11:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 21:12:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 21:13:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 21:14:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 21:20:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 21:21:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 21:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 21:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:00:31: Error switching inputType 07/18/2024 22:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:09:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:10:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:11:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:11:33: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/18/2024 22:12:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:13:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:14:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:18:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:19:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:20:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:20:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:21:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:21:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:28:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:29:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:30:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:53:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:54:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 22:55:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:07:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:15:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:17:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:18:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:18:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:19:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:19:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:20:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:21:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:53:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:54:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:55:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/18/2024 23:59:20: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18523977, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 19 Jul 2024 00:00:51 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/18/2024 23:59:22: Error on send one message facebookId => 7949941511761508 07/18/2024 23:59:22: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f5fd7ef0-4561-11ef-baa3-23493f815168__1721347251295.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AS8BrsUQvntsnFi2K2MTCWL" } } 07/19/2024 00:06:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:07:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:08:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:09:31: Error on send one message facebookId => 7949941511761508 07/19/2024 00:09:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f5fd7ef0-4561-11ef-baa3-23493f815168__1721347251295.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AhiMsTHYExmA0oojqiPj8ta" } } 07/19/2024 00:14:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:15:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:16:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:17:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:17:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:18:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:19:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:26:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 00:26:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7949941511761508"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18536519, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'As2AHwGNaHF_rUCCRQSvf4t', 'x-fb-trace-id': 'GHYxxvQl+N+', 'x-fb-rev': '1014995482', 'x-fb-debug': 'hfJ5sUiKSIX7dna67DsRSz/Ze0HMyQlGcQ9tsmiC7tHrcafQM7zIVOk5cDuZ+o/u/mbIfa5B3aZTnXcAWVXepQ==', date: 'Fri, 19 Jul 2024 00:28:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcISFshxPDuscDflsutXSkheqz6tfAYgnrVegxH5vLxu0y-ogha0ZZj5rLfJYE5wU-5sAtwFq7s2NyxyUgqL"; e_fb_binaryversion="AcKVpZoLd6-p7MNVJJYhs97wR5UzMzCGK8DB1RWPoP7zTFXUHHrs0Fac0HzKpy0bgbY_cTmw4q9QNVnXKGb2l6Aa0uxEQEviNwo"; e_fb_httpversion="AcIChVmBzbW3uUjRpENM8Z_5MRSx5gQHuuwMAvUqCs6pUqlVtIWwWLR2_MRz"; e_fb_responsebytes="AcKCzfVBJvh43s8spgLJo1c1ebj7zEO1tiFWJHSW6b0SNaiUlD8fI8e-KeDv"; e_fb_requesttime="AcK7Y4_R4XHGRnojdIAKRuMLQ7um1gX836RzFGt3gM-FlZtXZbpBInjR9XjWbkfRk9YTrKo6PQ"; e_fb_requesthandler="AcJi_eu0ttPOCu2IOxJK6FzJ-8xjF0PlSBZtnTlDAeHL7p7YiFjEKFX5gN6Duwg4S3txQxpPkwU"; e_fb_hostheader="AcLL-9WbQSQ3wExCwIFXzBc_GwJDFCiaW-qfxDU9y0aXfSF-DR8pyEAsWXVRwKzddTUimq-t2nBry2nA"; e_fb_requestsequencenumber="AcKnthPH78PHqbbvDOvSlHxd8tzkklPDvRD-L66NX6AH-UKVBsaefynBPc3n"; e_upip="AcJG4OjYEOJ50JqewDWn31teUbtzVJbJmCQAw8pI1gmblq2N0HKbdc7ld5-c5WfY_MXENp3zuzi3beWC_8IKie4fufESXyz0DT6vvnQ"; e_fb_builduser="AcIZVaLcNeS6fIs0jXRsqHEw0Ny13ELzipd9PcPq4mplF2uSDFkAheouvxLfxza-dKY"; e_fb_vipport="AcKgMpxPZ2zWnobF2wXXVL2wwYJ1mcUNocyhypG8QDRPC8UubLJcnedwyMq3"; e_clientaddr="AcKCKmHF7l3MLA4-WlH2ItD2voXz5CR_vSW0QnDCo7Rzw8cBVHXbL0eIdv82qyFb9OU3VjebRI-eiMSNlTCj86AY5CHi6Ap3Ms41no_cYNaZgxVaeQ"; e_fb_vipaddr="AcKunwUfzBkgrIqxNIQtXXhSbHHppH-jiiIJFQsiQvzv0r2-Rn8KRmKw8EHX9ArVOl0CYdRudNI4Hu-dZTQLMyJGo6IOAlYDkw"; e_fb_configversion="AcKIj4Xj1YMgjwDV3F4ldc7b_KdYNxTmurPHcXjU9oBvKotgd8ctVq3e2NX1ag", http_request_error; e_proxy="AcIXifMcocZqz6GCbWIqlsXXtWwihmqWK-pMn-pWsr5g6_jZCKaeSDhkpWXmmoi5b1iF6XucRn6v5vjV"; e_fb_binaryversion="AcJOqthvDA8FJiLdoZaGt-ePYjFp5_DUjNIAWpB-Db3WCi9W40NE9T8Og0HpKlvH23lbfj_X2ei__C8A5FWbH92WWaSJq5u74lo"; e_fb_httpversion="AcLAiy5_OPmcY2i4r2rDaJPNS4l_R55Tpvkjq7hUR29iGGiLKDDQXLCqIC-G"; e_fb_responsebytes="AcJprbayPt_2gAhFiBR1r67sortNJEI7sQ87LXYdnHPjEeHomAbWReHjTyzc"; e_fb_requesttime="AcIo1EjcJBYvU5BfWWxP6MgdKanckoCK9qIYGaMcNRt5SfplHtcK4isKWB_vF5racrHFY56ysw"; e_fb_requesthandler="AcIHDlm4d1oq-PrAiiRyjFA1rC_AvjLm-aLvdeyOgAjQwGn_sAi-Sjbj7l6HkZJ2rfnIRZRpQ-w"; e_fb_hostheader="AcKYmU-9RoWjYyMwa1sgtz3uQbjKqUArFayyS8SYGy5FfMthQxHkmDj-wB7FgaOaw2gHcpRD17lQkD47"; e_fb_requestsequencenumber="AcLcU3EdEEDhTrdF8DiUgnYrrFkd8L3sIfGcOhOKZCnv3lMy4FXdWGBjyA"; e_upip="AcKdrFEsRxydtIaAVA3rXDaMkzNsVxVTi39ncR0_5kkjSnadMLwIXxS_DCvejprzIwQCLyClOqKSixiLRL8ZJHfM-1ZdvHLlTw"; e_fb_builduser="AcJngswnxjZ-hKBkJLs_zq3ssDtatMGQoHnefcAY-jvlKxGUz20XXF6b3L-mvHWqkt0"; e_fb_vipport="AcL_2P3N2EAH7fKcmCD4FDLmJvwxxX7Qs4-X3c44KOdznlP3kk_1pgJRJKpM"; e_clientaddr="AcIgypCiXivptIP_QnL9ZBVRbh3C2p8ugtu3GE_0Q5sOiRdrcerGcrr6cNjgxBqM9Bd0qNyl81pTh2qLMg"; e_fb_vipaddr="AcIuApJW66g_R4k7N1AuK8B5tLPBN-HSLLxz9hBGtP8ZQFBi9FXdOsDXEqhUNMch84zCWYs3nA"; e_fb_configversion="AcI6zHlCtITGRpYgzcgoIdaSdtRM2KG_nxQjYhphQlAcDrSQpG4PDFZOBzdIvw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=72, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7949941511761508"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/19/2024 00:26:29: Error on send one message facebookId => 7949941511761508 07/19/2024 00:26:29: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AEx7Hs273iZIuTILXsK2x6b" } } 07/19/2024 00:26:31: Error on send one message facebookId => 7949941511761508 07/19/2024 00:26:31: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AIXrhr1pk31pnYJufqZTDW0" } } 07/19/2024 00:26:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7949941511761508"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18536777, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7bV8QthRItzf-XiY8wVXxm', 'x-fb-trace-id': 'A5RjV54uKpV', 'x-fb-rev': '1014995482', 'x-fb-debug': 'rP6HlngzLFmQIU0f0nG45sXygHioWNNL5yc4EwwaV4dbsLu1T8tD6CfUwA/FUJ/yUtVGs5E2wwMYCxami0XztQ==', date: 'Fri, 19 Jul 2024 00:28:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLBmMpgmR5M_ukMiu3vEETrXJRksqaIoKJ3YnYis_o9i-koXpGKUTvY7F2ml0vmJkfRiaHNDOqOMYJ53xY"; e_fb_binaryversion="AcIXLM9rtJCByoIujq4YKEli35iVNdpqfMamCy2w-7Nx1ixxvzJXgMtK_XWO7yGUPOXi0J42ikwX3qZjTNfj_IUR7J88_ryv1fQ"; e_fb_httpversion="AcKulXkjnj_o6f4Jd4GomrAXXd-IlLaapTf7HkDVtA9aNj0hye4SuoAbcq1-"; e_fb_responsebytes="AcL6VO1zygSu8F7vIhq5wOD3eF9aH5UV2OGCNVzGpxNAkevaEjz3F1W2y9Vw"; e_fb_requesttime="AcJX25FZp1pzSEUCXNQzPl7RAfaaMo2hP1zaJ0CJ7VWCKiYtEOxFtRHT7D6eDFzl8iepD9sVJg"; e_fb_requesthandler="AcJQp4RKfFSCgCvaZqKC2kxwmiaa6972ChMBMWSUJOy2i0NldE5HQGiwUUziyiGI3EiK2pOm9Nk"; e_fb_hostheader="AcIF8D2T6nViYBALcqHJgPDFMX8SvZf-1qvKIxijVSkRkV19laRpqO6MoxiTNk9u8uXw45-XqSFnBwdG"; e_fb_requestsequencenumber="AcKKT_IWn-jwtBB6sIMa1IwTypYoWko6qgzq9JVAkdMWMwSZ71XrHv78-lk"; e_upip="AcKqT8gooqa8hgJoX8QEafrEbEJW7mBimxcj3BGNRst3r6Hvpx8zkjFWA-cJLra7QQnxOgERJvClvUVER6IAKHElhM49scKOXAqbu2c"; e_fb_builduser="AcIerhY7sqb8YxbUYPsoO02Bl2hn0nq_P3HqyBRhRaNguri8iinSPJwdEYCGK3zWf5I"; e_fb_vipport="AcLX4ysSjT7SyYyh0WsR891OCurkHoi_vPcUX8vbjFi2C0ktgO0_gkVTWRuH"; e_clientaddr="AcJ5ZYimmfjq9PyPmwvR6Sij7_AewB8GYigcEOUBFA_CS5utgpd4cOJLuT1rO7LaLOYcFXxf2RTiYtpitjhG0dc7K74pisOLFX6zW_owt_GXEJiqwg"; e_fb_vipaddr="AcJ4Z3zId0XnrtXsVAOfzfucqI1ZGznK1f-qsl0MxWW7Y1fHebIzOPedpiUBW1hzhnuYl5OqZPRXdaxF5qF2Cy5zGtVjEWl40Q"; e_fb_configversion="AcJQokpDYMseI4YC1Q6iQuPKn_ItjV9Q8gkT1ylH6qqDGYuovYGPOhoYo_vA4A", http_request_error; e_proxy="AcKS_yIkudN6h6mlQG3VZuu5_PPIP58Sq-LHrVv3yAA1qHtpM1sgfXQ5_dnSY3sz21-YWu5i8zTeeCGQ"; e_fb_binaryversion="AcLchIjRIVxq0YkLBNnrZzBKZynfaJTmlkE73pjoMkH1jNXEfH-VxJ3wMV52joOvIkL729ELdtVfy76OW1QysGzIjH7Svcmz6gI"; e_fb_httpversion="AcLNDkyY6MGzocvR4pg7TGPePWXjxo29ONlcv5OWqVciOkm3XxvxpOzvRvis"; e_fb_responsebytes="AcIYrY_3ZoU1pk1E0vgq8HzFdZBJkMYwUGG7m7WWfEHymkA_yYyz3A1WSb5O"; e_fb_requesttime="AcJQ3o0WSJGa8MtdFNapfRbqRfCwdpT9aFjMsj5ccRITdQjD-KLk58CKRbCpVel3dCGwlbcSPQ"; e_fb_requesthandler="AcLIdWvgPIPNkFrLGGo1A-jgxFRCYb9HAezZDzCvKkpjF46zzYcIUtyKfLaDf8xzZysA9X95jRU"; e_fb_hostheader="AcKvqqIQW__WOd5TOUNUNgaOiJKUZExOZpZ6xsJ9pRRF8SiA-5jYYTp_M7Yfy43g89vDol2TSMIL8tym"; e_fb_requestsequencenumber="AcIOPC9WsvRG0wFKGHiWImT8JqYreMGV8C2zO-rWTTV7BjvJH0bDtH0Jyg"; e_upip="AcKle4gDkKmtyC1AFEp1l9aIs8yqWVZOGmSm4dIgOankjaG7dzwGvfrLf2lodx5gABjPkJXsEHmbnfhneh_7NsGndUvkl8M3uw"; e_fb_builduser="AcKYiTdf9HkdDycyRIt13gY1m-MTiOdJm-Kc-cxwNzQ8cEd2o5WGpH7F8CVwHVBxUp4"; e_fb_vipport="AcL96LoHPn0lcSjV8sFocSim0jfTUjYXb2ZjIsldEsQonCxqEPi2pi3vs-QN"; e_clientaddr="AcJXt53iSb8ho0vuw-oyVANwg1SwRA_5jexemZRvx_UGu7kIw_ysI89nLgP_lZ71EoFy9skSFOaCKUb1NA"; e_fb_vipaddr="AcIWSIGrMB-sAotilMNxgY9PNSkWhlD3UOQ-wtR6OGgdeZLibFZ4rNqpnnlV8c_XnZ8GpgohvQ"; e_fb_configversion="AcLnmcQCsQN68Q7dNv6R3UhPfR75_tjwotDmNFRZrqzK8--ArGjPYgBjTdb6ow"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=64, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7949941511761508"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/19/2024 01:14:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:15:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:16:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:17:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:20:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:21:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:24:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:25:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:26:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7949941511761508"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18554800, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1vKq_GCGq9hZzpwBI1mGiz', 'x-fb-trace-id': 'G6O3cn8N8V7', 'x-fb-rev': '1014995482', 'x-fb-debug': 'RxekyknAE4VtBSifKejhYrHBOAvPKWKvRDU1Fc1d/56HyMUx9nOJM8aFdCUw+THE40flTbmuZMzlaS/7HYmg6w==', date: 'Fri, 19 Jul 2024 01:28:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKUOBcF9k-xB6Tqw6Cg5nU5v8H-H0cpb5UCUo0wjFD06geVJUZ7cOtOb-QDImiXkRK6ATQrjoFvlV9d6hU"; e_fb_binaryversion="AcJw6LskRGouoVk4xcts2PNu3Jz6Uz_wpAsqN22OSpc_bGvE-O_NWJYlhCSA0kEXIJJWUqx1g5xQtV3EjBOsKRVU5si2EOnxi5k"; e_fb_httpversion="AcKCfEG71AHhfujud2ycELX_iCNXUXfushmJqUy3GyYLC3NnenJq3YhSaKEt"; e_fb_responsebytes="AcLL7ETa812HEAuUPCZJJVY9CYEJMR5cQ7KzQOj8slh4oAxxklmkJgq3uir5"; e_fb_requesttime="AcJqI0k4bDV3Jj4tEZvtHam51UpipFRBTk6hNYkBxmCKwQsAs1hfSuuPeKh4qceZLFKB4_aosA"; e_fb_requesthandler="AcIGmF5Ojv0ho7yTHgIbwrYOvpPc8SwZReah2UvJMRnbJ_tSFEpsMVJMLRf1rQ6oS1HKKGI92Ew"; e_fb_hostheader="AcIfQqjtHAw59h_edoPO4pikEJui58lwZPcNDEanpdK-RvGT7qBRjnDLjO0ONi1VCm2qIzLigHenBz4K"; e_fb_requestsequencenumber="AcLZEHb375GEQfw2wqFviU4ABD3KgOholZx1060AQIL5slLtg3NC7dxYn_VLEw"; e_upip="AcKveKAQZ5xsuNmcYpQCGqmi0dQ6rbDX7NnZQ_ZlJS35GS3WzTJRrQvZm5DczSPlY_T8q1t7gkiBMQaU5Ui3zUBkVLBo06grApotGA"; e_fb_builduser="AcI7FgLCriR3zp1UPUsQ7WopXCmY9DC9UEy0SV99HCDPyGOWAnmURZow7KcjqfW3SEU"; e_fb_vipport="AcIr-shAcRbKbNXaPX6fTdBVBPJxZKgGZ7AcNkZfCXK5NhxCNmx3aEAI2WQK"; e_clientaddr="AcJRB6Yj0TcZZ4RPwRVxafZeN0oNMLkpVIm_TS-MOtmLhnvquhVmHGn5mGrNSEkY7FcW5pBihDHxP9VZBICxH1xEaRCLeJiziySVMmtFqTeq6_BQvg"; e_fb_vipaddr="AcKsEYkc6Zlqw83jC7IN3ljAAkjJ4D6FPSBnyKHrEoSWQYPiTJ3Gj6bYZzjMVVFjic9etth6Ei0w4jQuBxinUnBQglzKy3qxMA"; e_fb_configversion="AcIk3Ty7xi8eU_76SPRm8UyV8g11p2RUiPq82NOrNQFgKU1qgDSUVFri3LKrLg", http_request_error; e_proxy="AcKMTRb-6uWJkI4_Fc6Vbd44UjYVnQHgr0ngri7yP-Mrg-qJRvdeW8E8IT4kY8h5OyhpjGWuQdpLUmFS"; e_fb_binaryversion="AcLOEsI14BopZRGFdDVxCEyFkEXLlBFKbkMofpNRcSeUwK3iaUP0fNFz8HC0H7hvEsJ1jhcrqJcbJ_QTPIAPPAq4ni6Mqe2vR08"; e_fb_httpversion="AcIjz9OkvO5MAjc-MzMt4UaDtczbtoA9GIFV7Lx1pBLGqRsySZL1HlBnFMsr"; e_fb_responsebytes="AcKjRHzFwgwq0_kKXjSWiktBPW3PQ1ODaqR_7r6jw9itAMS2XivUb5rvYdWr"; e_fb_requesttime="AcJnYgo3fQxFTE2jqIuMdz9iO0IQbf463Sy-POmcwj8QWxMyvsWADy-nG5JtZyqAz3qL_NQkwQ"; e_fb_requesthandler="AcJuiXUEWP23xDr0OTFiMlzDoSRKVCS2KAvHCXlnYMSXiqCRrMLckF2NDh2sLVCePOGEI7FwuHk"; e_fb_hostheader="AcKd_gEhpnRvrNdPRv3Ha2admsS3AxZ92-8CvG1Q3G71wHltUz4c3eIM2GMwAYekfvbMxSJrd0g3_WWY"; e_fb_requestsequencenumber="AcLRlme5-vr6ltDHYXIYTHxXj-jAe5N8urqe4tAMSycM4Z_VRyIvU66Urg"; e_upip="AcI1HNi-L3Ayf4hmt6tu_FneI-hr9-8GSK-2XLRvMJIyzRKIBfvVzgOod8rWfs3Q9XPLWnBiY8QYFnCGt2rOnKcUiF7eEiOTIg"; e_fb_builduser="AcJfbY75XRPXZqq__T9h8fQ9LZG2Dch22XvAjMxeAq355fQaiq_vNL0eUdY3AND5u78"; e_fb_vipport="AcJpd8ibCBChbWLgOuHtVn9fZIxMtwqqd1uBc-j4ndrec0D264IhlrvnquWw"; e_clientaddr="AcKc1AsTOdquIhVBviNyedJU6SMsGp0OTDEmm_q8WhSCPUi49W0vKy4WQKQHCaR2vD-lfLJSXPf0dpJ92g"; e_fb_vipaddr="AcLxOu6aRGTElMW3ss5qxavb-HTApV-BdeuE6y8e1y5Hu9mEsAYgK2xn7thv4JHKoQGgx2x2vg"; e_fb_configversion="AcKuLWA_oYtp2LugweGbgbmOTY-OLWRYGUWIibjI3lAslMGW9-Xs-sF_BIVgMg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=68, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7949941511761508"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/19/2024 01:26:31: Error on send one message facebookId => 7949941511761508 07/19/2024 01:26:31: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A6mp8ltG9rPNxtgBHtfO8lD" } } 07/19/2024 01:26:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7949941511761508"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18555005, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_G56Dxso_e46fm5OYZA7Nx', 'x-fb-trace-id': 'GGtfKDPhwkW', 'x-fb-rev': '1014995482', 'x-fb-debug': 'zPfJN2Z1BxXdD26ofDGdcSX6DcTKaQWrLp2gCQ6lNv/igBxJ5c0iL2PZwVBrHe5EGJCWqLipJgGf+EWPd0ySdQ==', date: 'Fri, 19 Jul 2024 01:28:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLT7s8DWJ01axIUjtz-J-CkXGHWOwYn-V618Bu9BuXnDSeCfqASvJ5c43XPb-lemPeSFub-oaUYT9FZlBrz"; e_fb_binaryversion="AcJ_PZqw6ftXoZD_9V0mggXViRhfz7k09BhI6oHETD7McHY9-OUn7i1cY4Ut3WmaeDo_ZwdISbjBzj-HlNEG96V6jr-s9pHSgw4"; e_fb_httpversion="AcJvCmtId3dueTFvAfFR4KG7oWc8eC3Ik1PchWnvG4txuUqrqpHda2VtR6C2"; e_fb_responsebytes="AcIOIztep9ubpYhhT5GWlWfddGhgsrsxhhSlOE0GdkpdX5bwT6xI5qTwVkEl"; e_fb_requesttime="AcLiiX2YaXDGLm3QeCeVCTSK6igAtQ5JXS90IcmH7LBLCMUPr3Yl0TJqgUzgH-M-M4TtMpiHaA"; e_fb_requesthandler="AcJQj8SDLzk_96pfcnaRP7-g252FE48Ivrp5p3EnGi4b66kca6zUbRmlDpobjsmfDIrJIxohCTA"; e_fb_hostheader="AcJDjhBVK5IeVn9toNlb_8PdppHNtl6WrE5_3LntvlWoH3PbRwi7_rsEo2HNZNjIe1j1E3RjoqcVrH2z"; e_fb_requestsequencenumber="AcKbRth9GTv4a7RpUPYsnP76WH7Mezw1AJCJDBK2hTN158_KVp8CJotjNHeuFw"; e_upip="AcIBbBQvlHgxr8-bVsEnQNwR_u__0CnPdHLQEMo0JrgPtPQq_Az4Zvr7xswKOzV9LHpJCYcSxF-7L4wqGioQXTG2ewnmusgEDjT2pEo"; e_fb_builduser="AcK7PHmKlIrFL7SaIE_UZ9bdmeMreN5qIfgrFj8wyD6NAIGZEnVVQy0gjNDZE1YvEtA"; e_fb_vipport="AcIESNYX916r2srGnAsuJkUwzpmEvBQ2-ydSr7n-M_ZV10z0fSu4XIItEIJP"; e_clientaddr="AcLBbhDiLkzkj5jeW05x3rHvMeGCGXIsmeYoTiCgA6OO1dtFonAp3OEzPiLEbP2hdZX8nxRXkne55YdB4sTlE5GcKCIXebcpgz55nE43tMnWLvELgg"; e_fb_vipaddr="AcKlpsI0efjDv4GgC0bH11La9lAnfn1iRGzvVG0_v4-x2GdYZ_gM1jCPwGhjmBVD0us_ZVjfKQwE2hE0EiCZN1AplV4YqioDcw"; e_fb_configversion="AcLCZ7pn7aRdYOFjkcPQ-Wx3amqHJO-CxuVidJIZlUy37RHt4BJrtgc8tmxiWA", http_request_error; e_proxy="AcJ9My3tXRvbuDnM1Zlmidw7M3TNzkXezX-MquBhvRItbueFxeDjtNoN8USw0pMjSZPaHH5STUykTao-"; e_fb_binaryversion="AcIZ-ZbtbhZfc3_wmLrM7H2LetfjIhDA4jgADF0UEEMj0Fsog0mKxXw_e4-ssmo7RXCl6UyVdXOpPAZ3u5xPy_cjeI_MffboOHQ"; e_fb_httpversion="AcK-sepzbcbTD3xthLtxyeNgBfzcdrpdPEt2xmlnhiHIZGJCc-ZAJrwotGbt"; e_fb_responsebytes="AcLmMH_bWS4IcaVx8rUfTdzEWZLUU4ubqpjS4vFnMdRd2NGG9Rk2egNw1mcg"; e_fb_requesttime="AcLb448Pzrb0G3nwE-lgS4FkjoGc6mWsO1TruNZz66EV7R5O0yKVUquRISZsjoL2ia0pCvsVxw"; e_fb_requesthandler="AcL0DlMja7lZcCuB_JIVSrX3rS5Q_U8VZ_586Nyibf7T0hmHBhdMx47LkVRHBmAiKZr8axJo4Ek"; e_fb_hostheader="AcJaD9ccJynQ4PgYHH5pX75Ulu7fBolTKLhYQg_iBly_lCYopC3cN7-MYHVeRrfQuPXfVxT157f4N31X"; e_fb_requestsequencenumber="AcJJXd0QEVk3DsKbLDNiZaJus8ApmK3bbovtTi7P_0DFs5aYals3gfN9Sw"; e_upip="AcLfO14eITBxkWTndw_tSvgw2d8s6kG-yYXOVaIkP7mEx5Y4gGUVj_ls4asiDolfYAVNPcq9XG0ESW1NCn1FczrgpH_4L_z34w"; e_fb_builduser="AcLSPovTP4GOSGWimQX99_xDNZec-9pSYUnc22m2Vp94scaAQ-0XoevZ37--8KYEPNQ"; e_fb_vipport="AcK0tP48fHrFpA4phiqjOqt2gLuwZvAFgDVqEwTq9oJA13GDeNbcGEwV2d2k"; e_clientaddr="AcLCEyl0V1zsNon56C7XjIdASea2VSEomtwTcyeHGzOv67BWVX1unNA00HBOfE6jvY-5FHnea2bNWl8n2Q"; e_fb_vipaddr="AcJkbUbovAdjhyiUP1WOFeIlPyq3ZlcnTtb950fWP8rkY3lJSQLAImHTttTZvTo_waJpB_iZPw"; e_fb_configversion="AcLGfp2HOV7Q1ECkgQJtcZ9O5BD4smbv8o8BTGkOeu6NMOKjvDFX5EepMYps9g"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=66, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7949941511761508"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/19/2024 01:31:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:32:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:33:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 01:53:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 02:44:14: Marker: 0 | ID: 6699d2feff349866cd50799f | Error: cant_get_message 07/19/2024 02:50:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 02:51:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 02:52:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 02:53:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 02:55:00: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18577701, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 19 Jul 2024 02:56:31 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/19/2024 02:55:02: Error on send one message facebookId => 8317353571622175 07/19/2024 02:55:02: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/803924d0-457a-11ef-86d2-8d9f39628c93__1721357791133.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AQgBXU0EcsMaaEC7Jc7IRLL" } } 07/19/2024 02:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 02:57:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 02:58:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 03:04:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 03:05:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 03:06:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 03:07:29: Error on send one message facebookId => 8317353571622175 07/19/2024 03:07:29: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AHUX7o2KJ8hSKwa56epxe0r" } } 07/19/2024 03:07:31: Error on send one message facebookId => 8317353571622175 07/19/2024 03:07:31: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ACszEnY1FVmoJdZRvsZQObw" } } 07/19/2024 03:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 03:57:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 03:58:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 04:04:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 04:05:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 04:06:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 04:07:31: Error on send one message facebookId => 8317353571622175 07/19/2024 04:07:31: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AwCao-cAoNDpOhCDmfBZ2_f" } } 07/19/2024 06:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 06:34:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 06:35:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 06:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 06:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 06:47:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 06:48:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 07:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 07:34:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 07:35:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 07:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 07:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 07:47:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 07:48:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 12:18:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 12:19:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 12:20:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:11:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:12:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:13:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:14:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:18:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:19:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:20:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:30:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:31:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 13:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:30:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:31:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:57:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 14:58:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 15:24:55: Error switching inputType 07/19/2024 15:24:56: Error switching inputType 07/19/2024 15:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 15:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 15:34:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 15:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 15:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 15:57:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 15:58:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 16:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 16:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 16:34:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:28:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:29:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:30:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:37:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:37:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:38:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:38:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:39:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:39:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:40:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:40:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 18:41:29: Error on send one message facebookId => 8725463174136696 07/19/2024 18:41:29: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "AWPKtvgzYDfvbAEJ08mh1wQ" } } 07/19/2024 19:28:28: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 6699907eff349866cd5072ab 07/19/2024 19:37:28: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 6699d394ff349866cd5079ba 07/19/2024 19:54:02: Error switching inputType 07/19/2024 19:59:41: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18808454, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 19 Jul 2024 20:01:12 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/19/2024 19:59:43: Error on send one message facebookId => 8338931876131563 07/19/2024 19:59:43: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/a6224b10-4609-11ef-86d2-8d9f39628c93__1721419272769.mp4 está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AmZ-0c26LNk_nWzzAf49mmY" } } 07/19/2024 20:01:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:02:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:03:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:06:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:08:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:09:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:10:30: Error on send one message facebookId => 8338931876131563 07/19/2024 20:10:30: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/a6224b10-4609-11ef-86d2-8d9f39628c93__1721419272769.mp4 está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A5cr5RQa3rKZm7E69XDU6aO" } } 07/19/2024 20:20:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:21:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:22:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:23:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:34:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:42:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:43:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:44:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:46:46: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/19/2024 20:54:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 20:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:01:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:02:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:03:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:38:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:39:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:40:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:41:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:54:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:55:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 21:56:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 22:27:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 22:28:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 22:29:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 23:27:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 23:28:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/19/2024 23:29:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 00:25:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 00:26:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 00:27:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 00:36:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 00:37:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 00:38:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 00:50:15: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8427680080599515?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18882920, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8427680080599515?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8427680080599515?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8427680080599515?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8427680080599515?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcWYenWVTKXkWc_XDxp6rzp', 'x-fb-trace-id': 'B0DwL0DFwA1', 'x-fb-rev': '1015024177', 'x-fb-debug': '2MiWpGRDy3z76fwbsA5loVhDk2Qi6i3mjnkfyRIXKe7XiQlJ1uCKHNv8SBod15DDcI/N3E4/rKCylnrpiRtX/w==', date: 'Sat, 20 Jul 2024 00:51:46 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIkmYuda0mnpeSw2tP0fY1NjTgMFDoVIjPBTWSinMOuK51M2zQ8gAFcDLLBQ-Qd3JRzW9EVDuUw4DNx3IrQ"; e_fb_binaryversion="AcJ52AG0uyllH33JvQL3pZryjgR1try255wjauA-RdpzRp5KQAp-S8Yg5ndgx2PWhvDDuLvWHonKtn2w41kEOh9MXY7U2zyxHPg"; e_fb_httpversion="AcIl_LxIl7Hx39G1GeKFQMM7DTtOJruZVT1zrCsc8FnDH3NwjkJgTl_GV7dG"; e_fb_responsebytes="AcJ0DbNMF2ULRINzqLlWlbgw42SCusSJC0U57kbuSLWHcErSxUrcCgOVo9S3"; e_fb_requesttime="AcJ3V0J2FdUzzhKLEPtg3_Af8cpcJUdv8Tap3ZdwKojdEFwHq6_VBydEjveFY21pqU2SAcDgWA"; e_fb_requesthandler="AcJLI8ug_shSA415rWXbeY-o3PjpXpklfnfc4Tg15MObD0WxDB8l-9ZRN7Iqd1jb5XjoznRtQKY"; e_fb_hostheader="AcIo8Krqiq_ySz8imCxR-Gu3SuMl1wJuiPR7nTPGJB-2K7NA5j9T9Gc5GDhYboh9efwDVqW3fY_BWt2G"; e_fb_requestsequencenumber="AcICdBhokItBbPdnR9zOd1QVUxqXjA_5Tddnl1MpBbENtZrznK44Jxg95I11"; e_upip="AcKlEyKtGRXu2wGY_PBOt_ill6pD4GqH8FYva7tOjuz9DWs1Y2RIuVV1qpKxtmdKOMleEE1xUZLvNZ5jtbYUoGHdyO60rf8xxIQOhMA"; e_fb_builduser="AcJbXIe8UiSuQ41Qk0DzkO3HeyyN14btHW4POFc3C7M96lGJ12XvOIVdNvgHyntic-o"; e_fb_vipport="AcImk-ptzHhY87qNdc6oJRo4Jj7VaEsOeYY7PLxNbLjfQcBzndac6cewRHk8"; e_clientaddr="AcIGeWBCd47mQvpzTnkqf9i5NqpjjsW6vG8O0k3y-jX4fSZWD-rNd6j43Q66dniN2kYuN1cWLwWSnhPBHk54Em0ieVqTcBLtsUk90HrheCv5e9zC"; e_fb_vipaddr="AcIZdUIyVPp_eoxkdy3CBfueP7v3sxTU3W2FFshcfORaKoEl-DWgwvZgUxWyWqidtO51bb8xah66ptzLdDEsopAy-Z4TGK6iYQ"; e_fb_configversion="AcJRrW8MBr1VjI9BA6LNComoutqHcTL3_RuNhI7_v2oda27AbIj-Z2gcMom0Sg", http_request_error; e_proxy="AcL_jpQnA8CCUqzyi_2JZAlcilLyA8G4KdOdDQa0BPtxVdIXlSceJthizzAZE7RL5qc8IyxoSKV-OMcp"; e_fb_binaryversion="AcLurXoQQNjFzLJ9ymvoTG1vZ2QFglICRnuGDp6ev3ZC628TORnaJkJxP3D5dSadBQKol-RSbwAY4QKVhzuF2wjNUxWgGrDzqpQ"; e_fb_httpversion="AcJpZfVxi5XoPvwh3mZf1hQHKlTtEoKOoYnfEXGfrhQG2pFoJ_VVzCUjs1Ru"; e_fb_responsebytes="AcLC94-TrLjWk64xKtSF8s74neSzxcuzO5dsaX7WYNqT1BO6WYmxd6DHqfei"; e_fb_requesttime="AcJDUP_hCtJO2VGDLpozyzASClvXXAuiusfVAewi0lnf5RZFMui6xFDGCxjCCpq42XzGFZ2wFw"; e_fb_requesthandler="AcKzXTAhRu6sNRB6KZwzXtL69NZK_a-tR4GKREdCEJQkkKBzb-rGwWZALoaP7VZsHEOw8yIX0GY"; e_fb_hostheader="AcLx6mn0V_XUXzDrDDsR07IH5cwOyDp6l-6DHpJ85w6OHKUy0UVgp9XjxHlADPfiWE065nOcAFuv0M2o"; e_fb_requestsequencenumber="AcLlbPLnZP8AQqoUb5RUD5-euhCE4wTTpnBHeDnQeFAsN02-K9cTLIcz7g"; e_upip="AcKgryZNAqRLnm8392mqnXZn6hwpyM9sK1gtwKX84qqNestoSKQNZqiKs1OFBf6FZCaauPkgV_4xU99kzTGiNs7hGcj5G9m1Zw"; e_fb_builduser="AcKFD844Rpgi9mY7rfioIFGoaLAcLwDushoEpQEGqF6HCHAo8yCDLc8Me9cpQ7ZUHqI"; e_fb_vipport="AcJ8zCPc4bIP8cV93jyY41mQSmX00yTyT9z5ia7dDZfF7X-AYggTRyQg72cC"; e_clientaddr="AcJQcHuaNxHLlnComqryP_3MWEoXiGnZWj7gaPOAjm_qKGkpQH-6LGaSo_beu8tQ5YmGdXGzaoIhksAf8w"; e_fb_vipaddr="AcJx1a3hRnWN--gsVxDbLbHeTsqGW30gA_L9f8xWy-kRLUaM7HA9MMctDyqAEcHZMxD8NDyqcg"; e_fb_configversion="AcKHdCTAV0qbHZgOEoSB6mqlnXYtnFJDrC0Ir_AV1a0BERHy5SP594817Z9xZw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=221, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8427680080599515?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8427680080599515?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8427680080599515?fields=name&access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/20/2024 00:50:15: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 07/20/2024 00:50:15: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 07/20/2024 00:50:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"8427680080599515"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18883038, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwndVahgesPnCo1-PNOuAz9', 'x-fb-trace-id': 'CEmf0CAdQHR', 'x-fb-rev': '1015024177', 'x-fb-debug': 'ZMaXysV5WJiMSr+7GSYDEoNrY9g5kKdAAzEhkXrKELZRPedk709PMJB4AnQ4zofbYjoa5sIHRr+yOUP3lL0OBw==', date: 'Sat, 20 Jul 2024 00:51:47 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKNmtkT4vq8V-oCoZE_QP5iHrp30qEpLBvniFU2uGOL9KZRbqpIALrMpGVborwK9Kowx8jHvkUUNdviVfg"; e_fb_binaryversion="AcKjrUHOKb2iKGUr0Ei7spW_1Um7BDzbEOu9Z75OVik9QEoizODSGJ10yRVkhdHwO-CDyVGGEiuU0ub8RlWSOIXGsA_VQhsZCS8"; e_fb_httpversion="AcJR-HYRMahYdrKQR4HKVmk5r2kRVYElJ-y8dU2seqoGzgqbniPQkVqH1Mvt"; e_fb_responsebytes="AcJD9Jq78iUnu9ppRMAeLFR83Lbn-_avz7IgkgdIXPXB3-O5zJifOam2qi7w"; e_fb_requesttime="AcK42u7iU2Ons8bsErIIB7vCHb9GFTcneQr163uxkyMOTRtNB1_Fu3sGAyGYgukoagUFpZUBhg"; e_fb_requesthandler="AcJeIy4KCLrvoXsZwaGRWkQ7jwgnvl3K6_lW08tPBMThiUZK4C4RC4CLng-PV1LzVgdSRccrwek"; e_fb_hostheader="AcJ6wT0aBLEPaEL2bfp2vKDnlrGUZDEgbreJuSWe6BQVziMsVRrcnMIjm4JiLaPUvbjs83LJL_M47a4x"; e_fb_requestsequencenumber="AcJgeKVywLZ7iqINKRg3b-nnb3Fy3wsDzbO1KXBAeHtDMghRdBS2Xltty70"; e_upip="AcLirhx72AVffh1Gw8IVBtEGxSqXuzHW21Qpy_P6-_INuK4tfkx-Pa4Y5qHaZDZbDo3KpCvIOJuCHy9I9zKxCCs4Tdg0heY8Mekd3bE"; e_fb_builduser="AcLeWbCoYcicfMIcEge799IX4nN6R-j0d_gQEyxUsI-Op66U8pMW58YcVzIi-F0a8HA"; e_fb_vipport="AcLacYA1uKkvPSK3bmDH7Ttaa1OEfUB70xrNlZbfYDC8qj0Nhwdu8yac94Ks"; e_clientaddr="AcIcS-Z2SkqiJKJuynozO8fxEZNXGC42Y7VKJHim_z5C8xBQCcPTKxRi1BmZCyyQvEYNxyjslC2c8Vj7XXU2yRMnD1JkjwY2FThJLnHK7ZbqtjAi8A"; e_fb_vipaddr="AcKzFC2X5r1W2SDwjonyfO0zAH3CZ_i5wTYZhMUIWmKt59Z8IJlzt58MXoljRkf31viGPtF4M-ghzsXd6TyGDUDAu8poULi-aw"; e_fb_configversion="AcLMp67h9u2bP1Vdv4FyKHPirswDRtYebLL3wfGjWUF2M5Ei2E1uuh-nWAOryg", http_request_error; e_proxy="AcIUL-ifzgAFfNHyj6YU57_qk3PboQf0t9uxNUKOWN6ftVyycRYzNYtCPO-2F1PC14cpH0-sxcglKqMJ"; e_fb_binaryversion="AcJwBTK_6hTkSgCIXQnOCqmmtg7eQrzl7dFgXeNYmtIa5ROaW1yFSMta0s5w1_maxovxnQ3BHUbDinvfhx3TkVzVwuFFePNyLJg"; e_fb_httpversion="AcK5bP6b31BdylkQQiz_qIEmTBL96Ac-FBe78qrD2NUr5S99ivgrbMWVE-XP"; e_fb_responsebytes="AcIBwwimUV1kTvDwEuZyMpnMBfCwXTSohmhNbeQ7ndDwd011BKix2-bA_yNU"; e_fb_requesttime="AcItdmtm4XJ0K_i5EDZN60NHy8e-23BdTRVOXT9cL5wyRoHx_qs4_C-dsnfQKDRPx8X35CMGPw"; e_fb_requesthandler="AcJzm2h9g8D3H9XbsOx4sYAbKs4mRfsAXqVmVN6bU5F7mTFlL-hKahnDzj0Zhm3fhsQYEEnz2u4"; e_fb_hostheader="AcItY4Uiu_weJEUJsYz62bsMXSFQFtv-Fl3toqKQDwzV0SyCYESFZ77Z6S2bQ0XfGZo2crNXu67s1aI6"; e_fb_requestsequencenumber="AcIduqcjId1VEeTPi6ntmfSxgRi8i6zvLaPNa0ahJQHe-_xFWJBCIKhF5g"; e_upip="AcL9xbz90wP9ak5adSQTZh0yfcYALrt70YJzgqwMofZ8bT5B5ntxfE47nofSorfIpTmxFXlbdGwG7-JA0XmIyqindCxdDKgUww"; e_fb_builduser="AcJ5gTU2wn6T4bTpxnY1rjusRvJhZj9h9BQqz3Jlo3I1DMY4BAyqfic51Dpeb03Rlko"; e_fb_vipport="AcKKlgXsLEtyFQfPmqn9BL9VAxZ-93YH0GKU3eSWxDwki1gLsylKaubrFrYk"; e_clientaddr="AcKlOaBzQ3_runkH5WUV2sCDwCYv7i_mr9NaXxDYaC1HsGvhB2Aw0ZYbN8azC_SRjfbxBMbrjqblH6tL1A"; e_fb_vipaddr="AcLJQEm2n0Hl42kbvhMMfm1qG8LD7eV5CEqUoFy3NZmQ6UEOUedZ25_3WzwS2U028jSP2fUPZg"; e_fb_configversion="AcLBbTfpKRp7-e3XLAWzC2kmGnaRp9a_B-naiB-WH7FAO_xvALymjYkH9kpUGQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=34, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"8427680080599515"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/20/2024 00:50:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 00:50:17: Error on send one message facebookId => 8427680080599515 07/20/2024 00:50:17: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AhddwBC3ggK1KIc-KoULW0V" } } 07/20/2024 00:50:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 00:50:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"8427680080599515"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18883113, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyLJiUACzoUXthYMmeY6-Of', 'x-fb-trace-id': 'CLi7pzm4F2d', 'x-fb-rev': '1015024177', 'x-fb-debug': 'By9QOcChvbhpb5nVaTsV1EUxsa0HaMjqI3Xi26L4I1Ksdj+noAvuHYcmbfQgiXP5duAAHa8RRhgU/ZRCIsuKxQ==', date: 'Sat, 20 Jul 2024 00:51:51 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLDU36cgbuvUnodQWRADp_PS67MacSFlt6srHjraIhaRrs6Yue-W2bt-jMnAZr3ZzH3InpXt75N1U0JGb0"; e_fb_binaryversion="AcLz_fofVRHZr0hcdOvejkKkfqAQ208IW573Qu9i7iVBtSGpo0EWwYWqrumbLvXqbnGjbCaS7el9OLbeFWL3pmrYHFScNOYN4g4"; e_fb_httpversion="AcKwP2rpIPlNu_XOJXLDvYov3Pkz9721U1PVpvuzL-UXs6FBFWoR_SoBo_A3"; e_fb_responsebytes="AcLIhKFYi913cyjb6IidjXGmZNmNRe8KHDMoVi6rULw_Yb418TLkE_naMJnZ"; e_fb_requesttime="AcKWkPswHLdbGcbw5ihBNIe9c6QbDlMAknyOLimmTwUN-cMEDfJGOCKlsFVEd3DKcUBytg36ug"; e_fb_requesthandler="AcLyC58LzY7b4kzqKkYuctRX95gdcPVbCtcj8buosuZCr8hRPnvlWn9tmDonXvgYXEkwaqrblvA"; e_fb_hostheader="AcIlcmqlWTlag0HRuHRl3pyDVaAFK_IhlxThaACkWlZ71E3vH0P7KVba2lqpcvR2OixtwaUl3rPhiBPa"; e_fb_requestsequencenumber="AcK2Rg-dejIDiiaKx1QjqtbQLVsqjHjFXYwzorj89-DZpMevFErTQxEtIq4"; e_upip="AcLtoAt1QlJ0rNqDmAcbwUpAFhwnky6Lips16cQ02JEMdJa28SU5VnW5TY_flwEkJdLJb1qwhoa4rqM8AcrlBewWclL4MfZtQe2N1zM"; e_fb_builduser="AcIlcidquuGO4uAaAMq7f8-zpWFmzANp3AFb2GVi7R1nsfrjGCNUbQ9vBSga1t25dr0"; e_fb_vipport="AcIwcKnZOZapDTyeTRV7P-vb-Hd0OKJJWjtX9xIgimT4bn_0ZTt17KgZFyNY"; e_clientaddr="AcJJPJ_opg3AIQsji5Vreqc1ZIPHEvVUYgUAM60OhMi7SJV4RCo15fYUAN-wIi01M5etBnqCNVcoaUnJIHIjrvfogI24z9S4hNBC-uBZuj68Zyw2sA"; e_fb_vipaddr="AcLuk0KLK6iANQeNUv1veNJtXCEbsOaknNWhhh0OOwCRkuBVnz5JcFRvk692VnNZaIkq_LDLhxwqx1e9l7F3K6uGN7UygWPR4Q"; e_fb_configversion="AcKyC6epZu6gFyxKUPGqe_nM0KoAmWAq-gtajCYRESOYShDiH0yuPELlTiZkag", http_request_error; e_proxy="AcInKPYuJ0ae9zVBpsA4RiY_SdnaklfpeAV8PfGj_UI1pSj4d-o3JKWFv1nz-zSTY0BfVLHpcVpYqj_H"; e_fb_binaryversion="AcIT5FGr1uZtW0Y6rHTt2JaWkGx1R1s-PVfams1tLFMTcuFeQf9nTNvncCZD2OnFB3zmJE8WiNoqIixyfeV5FChHVY9Me-NPHn0"; e_fb_httpversion="AcJPN09jQmmUIrArYGJQtL3koBeKk0ZRwVq4n_UQREdUn1OoEyzqfJ0EARkm"; e_fb_responsebytes="AcItlOCNpN0AHX914uo5DmuYbW5f7o0jcjxhUSoFD4MgTpAFnphcdpHwN-PR"; e_fb_requesttime="AcIVIcBRuF8pFFawBhiBOohOIyKXq5Mocy25n_gBbU51jZbx0emzmIUXXQyJvcYvqALW8HE1pw"; e_fb_requesthandler="AcIfFmgWQ_qWs4Bi8is7V8MsJ2vT6A5AokdaiGYu19pPk_YXbXq9TCrJQAwbkC_hSCrerZVquIU"; e_fb_hostheader="AcIs5cB1tioyj-NCp5kUPpSo-RlgQukBjPSfBesxC_XdQ5KrB8F3I1ILlPzPYxCORovxoHmW3etUVBsa"; e_fb_requestsequencenumber="AcJMPmlkeFMKLhHLjFdOHnuQNepILbbkBybmqS8vkxqk8mLjwffa3QNJZg"; e_upip="AcJ-ETL6o2D7r3nsbwywp_kfRdiVI6ovQx8JUAySnlQNqGwAZMa0GRGbPEgVFYdERCnFf_PIQyaXHcFBvIuvaaQEhbo2yg3jPg"; e_fb_builduser="AcI1e5c4-5ca2U062yW6yuft9ipIx6D5Wr0PYa6A7UpBLQidoG1u30dwSuZR3aqoUzg"; e_fb_vipport="AcJqGIFi3MxU7D5n_ym0cI0bjEsPJcCPQFJcGnHNqRd0R4-jXILfAUhZuA-z"; e_clientaddr="AcIedXPwnzSrFBy5ZnsUJE-wWVBu6E4q6QBiBDT4u1H5kleAPeYtA2GOXJDIu48IRd4qgWOp6l-UtXvGPg"; e_fb_vipaddr="AcIPdRWH12LAOEdSR35Awl33osvU_dAGJUJYhnO1gLts2v0AOp6PwBytbBMD2KAAJcK_4DcRMg"; e_fb_configversion="AcKtIVv4be-3SN7kfhLotRbQoOPrlYBws-9MMhrzVZF1_Bph95RB-J9W4phsSg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=46, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"8427680080599515"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/20/2024 00:50:19: Error on send one message facebookId => 8427680080599515 07/20/2024 00:50:19: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AHgokdBT3Nvh8Ikvhi0HrvU" } } 07/20/2024 00:50:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 00:50:22: Error on send one message facebookId => 8427680080599515 07/20/2024 00:50:22: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "A1V5PwJko2GOOhlRf27RkCT" } } 07/20/2024 00:50:22: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) 07/20/2024 00:50:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"8427680080599515"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 18883261, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6j9l2vGWZnNxSedbVFFf5h', 'x-fb-trace-id': 'C5SRYngEpHe', 'x-fb-rev': '1015024177', 'x-fb-debug': 'eSl+VS6/cACOVeNHUcOzBMm4MzR6jnc9czdyFwaisNa1V0m17elVCFFEQKqusxNxMl/C1obpCJmF7pY2KqZa5Q==', date: 'Sat, 20 Jul 2024 00:51:54 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIGt_b5jLHcLFTNdrWdETbngdqNKLAdiszo0AWv4NAfac4rgvke5jRLBkFQapBIM6co-HK3TAf3nKOVFgWT"; e_fb_binaryversion="AcJscWOQPEWuS9R_ug9idlhmbsWB4Fz5oo-iXmJF4ZZm2ZNEMI0gfIq-gAReR2KXQvjkBWUptS174Z8hWgvmdCMbaFuLrl9Q8a0"; e_fb_httpversion="AcJkvT1c3ilT8mg7ZkrAwIHkDLTEYg5uih1k95Wn1PExg4JeXj7EdKBY4peF"; e_fb_responsebytes="AcJ_Vx_Q0sl7T_gWHe0gbuR4dTsthPLMTitzlq7mvcRHfcRkpd86Q2f-vkc8"; e_fb_requesttime="AcL4dn60EJ2N5ALPdqISIN5NvQJuhJ6mZv-7LR-n6CKP0n3Ao73v5KpOeoXqkfNAqiUsWyI2gQ"; e_fb_requesthandler="AcL6qSM-zPYQp8UnoZt5EDIimmK_DgzanRv2kebxcQBPA6tia9_YYs_IKsHHWdzwZBF0kz1XgLw"; e_fb_hostheader="AcIBCWSX7T6QsbJbPnHExo0h5Tf4zL4y9r2hzxK8N6lpxQpccMcC17Zl0GK3QJ6lePocPPryUoF7MTIh"; e_fb_requestsequencenumber="AcI99feAKViVllwUJk_AVP__Cmqbvm3oCaAiIQGVnqWA_1tEh81ntorSB1tzcw"; e_upip="AcLc7mhrQXj0hAI9vdIwpe5Ol9aMJwwI-5rc1_dxAgqv_TiKW6MgochthAXHSlcxQp17VDGgQvzhjrKSS1V4DU2Wbv8zoXc3E3q8xO0"; e_fb_builduser="AcJcUT-GaS5Gmj8P2JJaVWHtL4YX84AddpN9VEBR-OSHojhx-SwHrkZYFV_XZRSm-f0"; e_fb_vipport="AcJ9PFI0ERN9h34QDaEqTTqlTBTwu_K5XOg-0Q8cw2K2snhwhziDlCnyBiM4"; e_clientaddr="AcIfz6le5UX2co36HGB6GPQ1-XLw3B7mYUHMMPVZtNoEQElu2yCPZ4KqKOwktiuGRalWXs8K7T10s8cuE-qnbyH4tcboNGxAzVm6hLksh4dfjw8"; e_fb_vipaddr="AcKlwiqa4Bv280v2OloFRqvC7aNzlqxy6IvE15UicaK3NjXdHjT_XJHSP_PQIYQZlvHdXF_u0dLt4eIeZhBcz2lhej_NWmbrAA"; e_fb_configversion="AcI_waqCycSEUtoSTa1Y6NlsbGw3TQokMGCBn-jXGmLSEP90HrshiPdKybBVJA", http_request_error; e_proxy="AcK--inGjTTeDUhNnf3BNCFVh72WVl4ch6mn8XSsd-FoBz4iHMR23-EklNmJWCez0TOVurv3GP2yaGq8"; e_fb_binaryversion="AcIElNMRj4YrMhXoex68WSuDlx2G254LqadIV0sTWL9mDtiwypcntiwLNxNF77rtzprOXN9OX8JL5anCze7x8WCyNvXqpkZQx0I"; e_fb_httpversion="AcKEs5B_2FG6U5X9QGElb6tSSINyZluaqYLIudcSIbTU7dmFKdTMi6klwNyE"; e_fb_responsebytes="AcK_r_-29SJCmQ-RqjsdQ1Jn_C0vpU6IM3UMRINTLBO3QOAA9Z11h6Z2minB"; e_fb_requesttime="AcIZIer8X_bvSu-rldFyhZF9Z4_ivGwcYOMmugOi9yMuXVhR7PXcIhVN98Oh9-vay-hy92BP1Q"; e_fb_requesthandler="AcKbZuTjY9V_dKF5qw2x8Jb56j7Hu9BSiuk4KvTbWBTWH4sGm7_ZUvz94iFsIcaGgNXMrWBtr9o"; e_fb_hostheader="AcLmgcL9gB4BbdEQVEPpLZNwPImsOKTN5Cp81u_zqbrdQdAtCle6e5Hn8Tg5Gxuv70VhQ4u4Llk71Cvi"; e_fb_requestsequencenumber="AcIrT-Q24BOEDDQ6A998qVLOSaaCj2ylUKB-qvuwXCsH6AKRy4hkb3r_eQ"; e_upip="AcJwSjJWNsE7x_MGPOIKW_I_r5aknd3dg9E6pQ1GmWfym8aXnOpRuvSXqrQhW1F5bFm18wqZw58_H8mv5PKQlytVSEmny7-7YQ"; e_fb_builduser="AcJHAZrM7qPDGi_NjNMbKiqwUNPP4N2CCuEx_O0We92JEDinZnwz8JBh09F_kfi6Fig"; e_fb_vipport="AcKQhwgOfnjefA6a-xqlUs9DBwxoAaOs7qddmJCF5nD2hae_QtQ6NPUCbwKZ"; e_clientaddr="AcJJATryPacRbavdqbBgz7DlV2U_BIrkSuP3QGSwOTVk4cOnFu9j4jwa_ec6bL_o4UIkG9YQ8V4B3AkUqQ"; e_fb_vipaddr="AcI7uDsXY-w0ETRhQ8eRq0dLgjQ8RJLh2R53awwKwY3Ix1hp8Lzl-Fv07GWj0rok--I3ytt19A"; e_fb_configversion="AcLzwVCwI9QaHsEoBlsvYSppLvNdYiIkOHUDF6JqZXKBatSsQfw0yDTc05Ag2A"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=31, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '228' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', data: '{"recipient":{"id":"8427680080599515"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBAFI8IFswerdZBwraikyv3U52XjwjkFiHOwjvXnZA2ZCr1NWuGUMN2tH0zxSDQJZBub2TXEUL9SlRKZBg1HsaOqg62fTr6J0oaYkfrizT2d8aJKePpkc0ldZCE1IjRJCRIFVCQgio6qSgCgpUhHmQ8Qi74AWEZBJpOLw0k80ITlA', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/20/2024 00:57:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 00:57:27: Error on send one message facebookId => 8427680080599515 07/20/2024 00:57:27: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "AoBY-Gb7Zyzq7iqbe6U-pfx" } } 07/20/2024 00:57:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:88:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 00:57:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 00:57:28: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/20/2024 00:58:01: Error switching inputType 07/20/2024 01:05:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:06:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:08:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:09:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:10:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:36:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:37:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 01:38:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:05:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:06:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:07:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:08:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:09:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:10:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:47:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:48:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:49:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 02:50:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 03:31:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 03:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 03:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 03:47:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 03:48:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 03:49:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 03:50:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 04:31:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 04:32:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 04:33:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 08:00:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 08:01:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 08:02:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 09:00:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 09:01:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 09:02:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 17:17:33: Request bot not found: { id: '138894166495332' } 07/20/2024 19:49:49: Marker: 0 | ID: 669c14ddff349866cd508a18 | Error: cant_get_message 07/20/2024 19:50:01: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 19097804, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 20 Jul 2024 19:51:34 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/20/2024 19:50:04: Error on send one message facebookId => 26071285242516289 07/20/2024 19:50:04: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/779c35d0-46d1-11ef-86d2-8d9f39628c93__1721505094061.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AhWjM8eMZ6sfiF8PkrfbEqn" } } 07/20/2024 19:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 19:58:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 19:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 19:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 20:00:30: Error on send one message facebookId => 26071285242516289 07/20/2024 20:00:30: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/779c35d0-46d1-11ef-86d2-8d9f39628c93__1721505094061.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AHjyX6As9OLMmbtIVRR9tzn" } } 07/20/2024 20:00:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 20:01:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 20:02:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 20:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 20:58:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 20:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 20:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 21:00:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 21:01:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 21:02:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 21:03:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 21:03:24: Error on send one message facebookId => 8427680080599515 07/20/2024 21:03:24: Response error send one message => { "error": { "message": "Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user.", "type": "OAuthException", "code": 190, "error_subcode": 464, "fbtrace_id": "Av5DfdrGMTyR-QO_OpEFj26" } } 07/20/2024 21:03:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:88:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 21:03:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 669b09c7ff349866cd5085e4 | [object Object] | 07/20/2024 21:03:24: Error on controller createPersistence : Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters at new ObjectID (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/objectid.js:59:11) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:66:18) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/20/2024 23:04:09: Error switching inputType 07/20/2024 23:04:10: Error switching inputType 07/20/2024 23:09:27: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/20/2024 23:11:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:12:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:13:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:24:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:25:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:26:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:27:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:55:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:56:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/20/2024 23:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:11:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:12:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:13:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:24:27: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 19165354, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 21 Jul 2024 00:25:59 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/21/2024 00:24:29: Error on send one message facebookId => 7801247693258358 07/21/2024 00:24:29: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/cdbb5f10-46f7-11ef-86d2-8d9f39628c93__1721521559425.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AfNq-CxXfrE6nCffZS_Z3bq" } } 07/21/2024 00:31:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:32:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:33:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:34:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:55:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:56:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 00:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 01:31:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 01:32:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 01:33:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 01:34:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 01:51:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 01:52:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 01:53:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 01:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:00:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:01:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:02:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:05:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:06:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:07:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:08:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:27:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:28:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:29:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:36:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:37:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:38:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:39:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 02:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:00:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:01:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:02:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:05:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:06:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:07:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:08:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:27:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:28:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 03:29:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 09:36:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 09:37:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 09:38:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 10:36:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 10:37:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 10:38:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 17:45:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 17:46:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 17:47:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 18:45:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 18:46:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 18:47:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 20:35:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 20:36:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 20:37:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 21:35:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 21:36:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 21:37:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/21/2024 21:38:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7342754432492691"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 19396317, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2guMUvPzuzhfdrWzEAjX2F', 'x-fb-trace-id': 'B+B5nOTPgSA', 'x-fb-rev': '1015040993', 'x-fb-debug': 'k6lojDqQrWDVWh0/08euDchdsTcPBneqjTffnybo0c4YKIN9hLTZ0hSGgU9uWxI1lB/BF60eSg6V3gVfDmNNLQ==', date: 'Sun, 21 Jul 2024 21:40:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLoAcmgngRec9si_LzMOW71BrM-9vLmE5c4IIdZIu6wk1G37Nbtv2VKwzBlOYfpnx0Qu3FOUrzsO9G0vRNv"; e_fb_binaryversion="AcILbgNXdHe0oqIDHWmvTB5mJRlgK5RC-P7WVflIMSME2WBXeN5DWTlQ-BRX3K-Y8zv7W0soXwqXPM1Tli4dZY45HZKBwTjFUz4"; e_fb_httpversion="AcJKXYDr62UXG0AD7X8lMnXFfU-W0WYQ5Q4SjQKnf16hhZpQ1tWa_Kk8wxjq"; e_fb_responsebytes="AcLrTSxHCde-omZjbiwfxJBK7fDmLfarikpCw4tgTfKHmBvEnI7HEsMgUQpQ"; e_fb_requesttime="AcKypeV1JiCiGLfostkHEvrhLJoZledIhWJExm7Sb5MkX5gwDX6G12GFgs8E-gzfdobuqhJECg"; e_fb_requesthandler="AcL-H3vekIidIDd_VQ4IYkPB5-3gGz9p1s0liblT6ZuzT6EAk9j493h7U61HPOnQuBGqZTj5-Jo"; e_fb_hostheader="AcK_VHYs91yvjusuxH7l-Ejq96V6CZd4hHQVb7vFDVT_edt9jbfv_YJDqOr0278S40NmE9f2sF8265d2"; e_fb_requestsequencenumber="AcIohXsBsqeDFLGstiIf4N4e_6pUYq5Aqz2IuxGZ_1ax0i67B9WIgWtPzxf5"; e_upip="AcLD1Xvyptg2Rnjzgod86WpFcRfhfxzkdrJMU9pvU9ThgUATXOFuoSV-_apEjUnRfmXHyEmS0LtzpmEXIRVOny8nRdjfBwHzXxvxm3E"; e_fb_builduser="AcI0Wlh7fKmHW6weNhqLC777K7bVoyIC1rgg87TbAS-sUzMfbasXPsfiibj4BTxZDPQ"; e_fb_vipport="AcJNFk3VsPGviZIFJBiB5ed74AXc5Kr2sjLkHV2I9S3hxJ0H_n_9pCvJfQ3o"; e_clientaddr="AcIrt_Aix_VBd3cLU20_Dd2HBWbfjEWLOev4kRoOJSjtPzh9-FrMclAp_hd-YuPlJ--0h8YKekL-J_TdB4P4DhdMBHKWTCn-K7wnUzIewmiDArJXJw"; e_fb_vipaddr="AcIh3xu_qoVaTfoCHtmnU1lOyzA9nS8LQSXq1jRKOLXaIAjOvGd9uUGhExVIILGyZyZfMJ6cQg1fs1GGJajNWeVuASRum9cj"; e_fb_configversion="AcLyK5SXvR2rxkfRnBzymHUW6Qz3BKRQZImnrLkgeJiXlmIfCCFUan8c-OrRuQ", http_request_error; e_proxy="AcI8axMoi8PAzuDSVjrsDUXDMm2TowCLgu5zkUEDGQUmfGSMpItrjIMuoApn7qHUAM5gzcdVNO8b03ke"; e_fb_binaryversion="AcIvhkXfZMjaPj_oLfUOgggdi7XiaxSwE9Ml-7L3UHhhijT-XRUdGUrshs0kxF97xPXesY1vuQsJE05aIISs-XHGHb3xz1wQAuo"; e_fb_httpversion="AcIRiTjkJoHB49VDLGCIPGZk2g2gScC9RHnvK0QnnvpSk_xwqtoH0VZNEoBi"; e_fb_responsebytes="AcLokSfPgBiDW2MC0EzfMfBsd14eQkJXalggAdMU2_CeA2Ac7aARRr8RdfRN"; e_fb_requesttime="AcJV6hH3O7oxdE8v2ReLsrG1uAlon5p_sH_6y-8za7klDnfElwj7I5YS7y5GN4FEV9dykvvmqg"; e_fb_requesthandler="AcI_suyWTjjD1GR9gEF_PDUsmLnM7SJjlsyWSshGzPswGQiNvv6BOsNIobe2tabNyw_bveZOa3U"; e_fb_hostheader="AcLAbTlQLMWb1n_SigLnS2SBloCS7sXwffs_TcT8m13-sNUnGGPh8eL4Z1NYEZUt6HSRlXBM-nkjzafQ"; e_fb_requestsequencenumber="AcKAuE2YSU4rICgbl2JPrF-PHuJzG0J6u8b88RLztJnCzybUuxysrPxW2A"; e_upip="AcLiA_gx35A4x_lXElD1RBqz8JN_U1EjFxdaat_3hOb7b3v-9ZGmH35u8-jVrVDwusooUYcTZ_raL4Hcy7zPy_5mSQO10lpB"; e_fb_builduser="AcIv6o_6wcpSOLmUA4kJzJbYbtUhaXY2rXcirgxFOZHEk78lbenta7dVRHhg-Emd4Sg"; e_fb_vipport="AcLxdjHIXHAhoLVsZdrgRws7IfwnZra3t1rc1rR6f_AuCYQz3mqmA5ayMmPe"; e_clientaddr="AcJhOmSQyIasvFXPKHkeIYqZYNmg-auyoS1HYKMJJy4YgS-cx0Uhz_OGykvOFO0HyuMdCw3X4BgWtg1CpA"; e_fb_vipaddr="AcLwzLj_HAyYIpmpSFeTMb7F0M-GA5EGz1w3qH7D0orjvnLTqxM7aEMErxMTL1Kka2LZRI5OvQ"; e_fb_configversion="AcK_FJU6Lc2M4IzQJftcNK6xOz7jJ28ev6fqYLdQGIIlkEH8q22NjyVqY7kWzQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=230, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7342754432492691"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/21/2024 21:38:29: Error on send one message facebookId => 7342754432492691 07/21/2024 21:38:29: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AuHzoYQum-6r950bN5s7KL7" } } 07/21/2024 21:38:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7342754432492691"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 19396495, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJXPz-qOkjI7zE1nSzB4qT8', 'x-fb-trace-id': 'Bx+dK39Os3c', 'x-fb-rev': '1015040993', 'x-fb-debug': 'CiKQDfVdemAWxI1+iXM3ZbtjzsqL2E+gMD4YEraTyNU03srVc1QPdXghgzrkeGpNK51DWJS972Nh6VkEkGYBIw==', date: 'Sun, 21 Jul 2024 21:40:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJNfIMcRZh4cLOI7tTurfZU1M71Vk23Cpp_yBaa9EAwK2mget98HCdnYz2nU_3XXPef68z4f3_y1-aLeIoB"; e_fb_binaryversion="AcKVJgKeEQPp4H-z9ZEXFA7sOf-t1z-MJelctSeB2iuwPV55yg6ydEcvABdGZkIqZLYFIz8qdTh1cK7clXrcjD8U3UCX1RWnwCI"; e_fb_httpversion="AcJlEKDlAjiEIn34L5FMWtSkdVOYi8sOp8oSZgOTi0igiKD3HenIshGDy876"; e_fb_responsebytes="AcLCTHgZehod2u0BsRxKkTXx3d3u9tE0sJgB4vDdYcZDwrBr1sCKNyhixtcw"; e_fb_requesttime="AcKCAdZ7RJ5vUWa-wapkxc1bAnxFTq6fOHo-ruMrMG8v92Se5IpH7dbFkuDdjUPEcLfSpFEY0A"; e_fb_requesthandler="AcKjatAc3kg_UqrLMI9K_CNv6retKVBTDKcdlJTMp5B2p-28ss_ddd0gpjvx0sIlr2ICTTYvVIQ"; e_fb_hostheader="AcIWARxs_KFGchVn14zeDwZtQcYo-e_vbKSDCSRgUFJ9iubVlqFYDEVXIeNw4m8D4MtcK-RB-JwwGx1n"; e_fb_requestsequencenumber="AcLC3o_M6J0lFWXCoYCpiILG8lx8PJlqPdPrHebzBL0hPuTVZer0r5Yd6_Q6"; e_upip="AcJreWjTSAGHCXE-1qAAbUSx2cTxufQaDStEbeAH-gxe23ZDJTExya8-JmXXhTS2dNzmzFyM-qylFDs8pkRVjZ9llPneVP9sAGIuRg"; e_fb_builduser="AcK2DLxovzhfuInvAClCLlZHFSLq2vXMhKRmHyJA2zRsGTm8JHzQwDSQ7d1iN3BwGog"; e_fb_vipport="AcIjyUdbzmxLnW_Y8eARaivmvEnFFI2zl8xOLmLVL4ZtC41AcC3w-2GyRjQ8"; e_clientaddr="AcK0fzuURxCAGbman4Dc0LheEgNfp2Ukqs0OccjqPmDKSC69ODCkvnzK7_lExUOGL38hjXBpF3oOV75ZLeqQygPypQzl00rBg9n-wCfEvzYRDapgGg"; e_fb_vipaddr="AcIoW952-cFRnIjBXCT7n98UuRWUzpjDG2NYvu6-Kzd1eMjRX1XzV6CiVI0OIm5texXq_AoVJFKt57qMQQ_Q4Wn8luFqKePr"; e_fb_configversion="AcJ26K8qCQ0vpDVsYwJGIjV5aPUujU5JZJK0PLsJ86pSceyLt-5VmwBSl9p1xA", http_request_error; e_proxy="AcJBI5AFF3WafIAh5JWZxu5W7D1cUmlx65hTHtkxalQqxQHEfJi4dHMMT94vzQKekymGHNvT2PUBTeac"; e_fb_binaryversion="AcIvxKcq_or2myzpp8C-qCUTUYO0So8xI3-KgcAZyeP5TNUYkgrRTslKwODwLQHeuaH2pMjXgmsaOE_KI2lorMnhq6F4gwQ3uQQ"; e_fb_httpversion="AcIb5DYBzMhIjLKParpBk6s7DBGDazX4gFOUDIh0S1Y1G2Ir9jcUH4NeTncA"; e_fb_responsebytes="AcJrQvVttsk7QteFb60CvWAxmTaQBZWXZsMAOkJE1gpVau2fw9_1-WREO7yX"; e_fb_requesttime="AcJ0HaM8ErK-fYcX8CssYiu4yf8J-r7MN0aI--bMlsNXjpGjDiY_C_uJ2Ue3MZJFW2E7wIOinQ"; e_fb_requesthandler="AcKPKx7AHR2YNFh0DkUCiPQJ2vfXyJTH3UhW6P1YiFZU-zzWZ5NoqH6Vn4LN2gFaKWmYR5Sjcgc"; e_fb_hostheader="AcIc6oed11UQsTzZ4_gqKT3mCq7_vnhr-oFWpqlovuxdCkhvHsjp3u_F_hygczLdLU6hUqKz5w6udiED"; e_fb_requestsequencenumber="AcJdNm_gdFK0N6-O3tAUfqYPsnZPXTOl-9-JS3fbCYyzF7TaUmap5LqURw"; e_upip="AcJzz3Rxz4XdUdi9PJk0qNaTOE7sRaBVF-5QEIyVVzwxXRBcqqpNSNpidcapHJtbrUHLjqAIBMx0Ogh4fEopM9LdYDWWdOTT"; e_fb_builduser="AcLTyVHs46OEwPgVn_9KFKRP9r4qIzZOWSuCMYMmpNUUMQfp6LKaJvngAG-mdkimO7Q"; e_fb_vipport="AcIgvpGlgLBgBOiO4QOSagcC8BodxrtO2xUEiL4rvaO6erM97--XEle3p0gu"; e_clientaddr="AcImQTqhpmPfFsMdg6HXlpwPKexxU8KJAzsZg_w_Hn7YC30cPmSJGy44xfcLMu0M7CllsovVJPw83qJrxg"; e_fb_vipaddr="AcLKjOsWGr_sQnuysaOy7AQHzeyN4IESTDND1jWtBw1mp1GELNkt3JYsFvaxiQ08WLg9IP61Sw"; e_fb_configversion="AcJpgQIogsUEuy17sP-A1Q9kUo3hDbhZRhxqHN-ycyjH5vLM3LbH5fFd5G7fKQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=125, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7342754432492691"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/22/2024 04:51:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 04:52:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 04:53:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 05:51:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 05:52:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 05:53:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 10:32:17: Request bot not found: { id: '133788230054854' } 07/22/2024 10:32:38: Request bot not found: { id: '133788230054854' } 07/22/2024 10:33:12: Request bot not found: { id: '133788230054854' } 07/22/2024 14:43:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 14:44:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 14:45:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 14:46:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 15:43:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 15:44:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 15:45:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 15:46:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:06:54: Error switching inputType 07/22/2024 16:06:54: Error switching inputType 07/22/2024 16:14:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:15:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:16:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:17:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:17:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:18:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:19:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:30:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 16:31:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 19:04:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 19:05:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 19:06:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 19:07:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 20:04:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 20:05:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 20:06:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 20:07:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 20:22:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 20:23:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 20:24:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 23:14:23: Error on send one message facebookId => 25632338206411236 07/22/2024 23:14:23: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANCP82ggCnE6rVYskqxHBBn" } } 07/22/2024 23:14:23: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/22/2024 23:54:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 23:55:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/22/2024 23:56:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:07:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:08:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:09:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:19:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:20:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:21:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:26:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:27:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:28:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:39:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:40:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:41:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:54:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:55:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 00:56:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 01:19:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 01:20:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 01:21:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 01:54:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 01:55:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 01:56:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 02:08:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 02:09:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 02:10:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 02:27:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 02:28:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 02:29:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 02:30:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 03:08:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 03:09:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 03:10:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 03:27:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 03:28:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 03:29:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 03:30:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 09:55:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 09:56:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 09:57:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 09:58:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 10:55:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 10:56:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 10:57:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 10:58:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 13:43:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 13:44:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 13:45:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 13:46:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 14:06:14: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/23/2024 14:43:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 14:44:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 14:45:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 14:46:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 17:05:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 17:06:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 17:07:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 17:08:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 18:05:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 18:06:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 18:07:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 18:08:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:05:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:06:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:07:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:21:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:22:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:23:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:24:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:39:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:40:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 20:41:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 21:16:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 21:17:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 21:18:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 22:16:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 22:17:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 22:18:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 23:53:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 23:54:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/23/2024 23:55:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 00:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 00:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 00:39:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 00:40:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 00:53:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 00:54:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 00:55:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:05:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:06:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:07:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:08:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:14:41: Error switching inputType 07/24/2024 01:14:42: Error switching inputType 07/24/2024 01:17:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:18:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:19:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:20:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:21:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:22:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:23:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:24:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:39:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 01:40:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:12:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:13:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:14:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:17:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:18:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:19:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:20:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:21:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:21:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:22:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:22:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:23:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:23:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 02:24:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:12:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:13:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:14:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:15:25: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7144736805629454"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20025617, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AU6dmQPKwJf5phUKA0AXmUa', 'x-fb-trace-id': 'CBjkVEaqCQ+', 'x-fb-rev': '1015100427', 'x-fb-debug': 'wAVEFaEVVB0XHwTXNLohgY1Hf6h0uvrgvcEbxkMfeY0vt299h0bVzwL87Em+hLUkhhUuAgLgzj6tSK3KknkhIQ==', date: 'Wed, 24 Jul 2024 03:17:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJSvWDTdHc1PGVtNC2Yi6QW2FMhDG1n4fvWj3eR-awCLnRkRpL9DV72_gTmZrc7M8WPm_NdperjjJHBcmTm"; e_fb_binaryversion="AcLnB_nzw9n00D5V86AolYwO7GSb7vqxjGa7ajMUdvdjFvCsiKTJHclbTunuAD28FbLuDHOyBeSo8GS8srBuoO3KozdqN1cdWvA"; e_fb_httpversion="AcKr1Sai28kRax8WKMcn4Rbp2Qme2BptwudANGuZizOumG51qwDRYcm3DbHj"; e_fb_responsebytes="AcIiqmVTtTf_rPX0g8JtYPaDBEoe7eZP2iPdXLIveUjaAeXl9k3ei1sJKLi7"; e_fb_requesttime="AcLuzVBKrBcjQ-AE4ivDPQUfIRJlO1SKGf_IX4gLLtLdjdDcjU4KfvAek_pzvTm3eaQHroO2wg"; e_fb_requesthandler="AcKHMuKHXNaRD_F_N8G-xFTdW637PkqQxeUkno2q_tk9BuzAS76L-laCt7I8_KLv2jUhLPAUPXA"; e_fb_hostheader="AcL04rxnrgLyVlObo4lV7u1QWElMDMW6iaB6e3bKdpQT_blfxB7D6iVpPCKtWcD8Vu7B1WbrExzZuLRD"; e_fb_requestsequencenumber="AcIKX1cMeRe30ES7Mt1n4k_gIGXgxalubs1M1ChjNxQsnp7IxEHUz0wOLwEEbQ"; e_upip="AcK8lZ0L0_nlHBIFPsrf_RuelHqVutHo9CyECsESp-iMYcT4_TUUYu-3gqpvu0jn0QblEy65LwwT-j4-Z1o8lvFS8bp9SpsQQkSrDtY"; e_fb_builduser="AcJhb-bqlzJaSMaaAUvt2nkpRur_z0_fqqUGuBfAg2tS6ZOQQw1rydXasi5NMQu6IvM"; e_fb_vipport="AcIrFNfMQDtuRqlC24ZFtGLkG5VB6ChlXOt-urxEeneDSQRDupRdVtBZemHR"; e_clientaddr="AcKVzj9ol992rgwoUekUCe_AZ6pBwNzMBEBXd9aJaj8JVyVGCsYTELHg4lfhU8XIeyB0f4B0D9zhDexbhpPs5rkXwgJXBZHR9Tf1ylvqf-RXYHWptQ"; e_fb_vipaddr="AcJLymupW6insN-Gu_C4D7c67s2jIXIKhuX3dNevjKKw91ZALRSkjAjf8v_3CWqOO9vxI82mB7XghcMtcbNHs3tE5zYAj4Jw7g"; e_fb_configversion="AcL8x4KH8a9cpdr8WMSvO1l3ns8gf6JOQlr2rCZpK8PWJGw7bDnHiKsNMEDhlg", http_request_error; e_proxy="AcLJKOnPDDyMq3rZVUtN2iQyAa3xITWFCrHP7S-8c9vhENGORJvM8pYX6N6vpyNPvDui6OgnuFw4-T-g"; e_fb_binaryversion="AcIq9iuqr8UMHkS78TZ0XfM_YZMVVg8kEOEXkkhR-MwyXuPvsnEvThVyhb7KnxdxLurDLdX3bKJCuVCB-6TIyAD8HG_AbN2nmVQ"; e_fb_httpversion="AcJkGt6hf7oNb39A_drr_sI5rLoMFLj74Fva2TWaFUt-soodBAQXOzVxEDrN"; e_fb_responsebytes="AcIYlmc8J25MC5nH3Mv1n3zE7PbqZDsxEKebLrCOiWIm7H0KN7BmljOGKsfq"; e_fb_requesttime="AcIIuxvkrS6bId0nPIx9B4rOd_-0UBwK7eG6KAckwbDc75Hiw9DwTiNqNqDOdTTypqyOnh59bw"; e_fb_requesthandler="AcJVzvq6G5gT-DvLDSllpivK7jp-0vWWE0ID4K2e23lr3SN2lsY1TKa5CtKTGHwbVaUe5qiUS5w"; e_fb_hostheader="AcLLdWScxgGCZ-fTSY4igUYrD8UGmJjvHioIjsmHo3_XRed7HEZSx16WDuwhTSToFMLJo-WA-AxfK5Hm"; e_fb_requestsequencenumber="AcK-89yHoC_X5feofTqffqZ_mkGtMNl5X2Tisl7QRkiFV1pfFbun1Fiizw"; e_upip="AcL8AT1Xup7YlEb1kAGMeJMPR-l2BHARlBUq93R6OWkY68zadeHsKSzKQz3Ge62jX7ywm7-iCKyJTmuvwbtMJ6D8Q1ZZCDl8rw"; e_fb_builduser="AcKr2C_9ShgmCMbXEaMIkRcx7QEnZ9Cd7Rai2ZJU2N-wknWtVmS0MH-B8b18ltbvDfc"; e_fb_vipport="AcKPXghQF58i4Db4MVdSkc8R6m8ElPbBVsNOIgz5jCw_otI-phHOme1enhDe"; e_clientaddr="AcI2l9o2D66qB_mwhj5r9bQBdbYWiCNGRu4JHw6EBloEN3fz72RzVhGQ7r1E9KcvNvcRJU3nNI_oDuvLUA"; e_fb_vipaddr="AcI3RMUWeVPMESNKCA53WASZbq2khwJ0c-bn37zn7LugWuVpbLPmtx57spCecWO9Rr03zvc"; e_fb_configversion="AcIPDhRYIuikjwQqRDqLYvcVC0UQng61sSzYjGmAdBF3-lV_TE3RGzHZQMkfYg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=90, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7144736805629454"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/24/2024 03:15:27: Error on send one message facebookId => 7144736805629454 07/24/2024 03:15:27: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AZUYqwnpqFr8jqgGg_C_yHL" } } 07/24/2024 03:15:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7144736805629454"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20025790, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqbhDZOx-zExOrcsSOro1-D', 'x-fb-trace-id': 'DQiwaGFxYB8', 'x-fb-rev': '1015100427', 'x-fb-debug': '6P9gRaQ5W7fcOP/9fajPDWVKH1SGyVemfSRWkDyg4PasUSlW6puGC/4GWEheiK9RpLy1YVlilNhbECLnHxvfXA==', date: 'Wed, 24 Jul 2024 03:17:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKJ9v4j4cAnmJVoEsM8pMnkT_snnGe1Wo9bR1pp5_ep5NVTTlO5TRyI4SH-GoS8n3HVX6aLQi3_E2Zwrbe9"; e_fb_binaryversion="AcKlnAVXSmVDMJBwBmbGYcu0b2QcArWApUFiV3hULmisOtqFbrZ9au1g7X5_xzCQrubzTP5BQyzj1c_v0-E2hEs0NVo6kTsWVWw"; e_fb_httpversion="AcJyNtf7R47LVdTpeLdJmIgnHtVP_ArmF50S3F75psNCSn3A0xG7FP_y9e7T"; e_fb_responsebytes="AcIvkuIq7svCXyJLoTKBRGatJp9P035jkWAtTOJAZ509Br4AffBsdgBVvQGR"; e_fb_requesttime="AcKbOFGgu7Pkvl_jSPv92HQEqy9uInK-s-ZWIeINBjdAkzCK7f5RMQ2sKEarGqbi1MvP94LHIQ"; e_fb_requesthandler="AcLpwfXw-tGA33fZS4lawDfRn9oCCLZm9CASAeygffkBjH_vPhwu4DcHS-MsUzafz4CkdHEiRso"; e_fb_hostheader="AcJ7Z-0vMau3z24EvuGFQMrwmQCqSY3WquYNxBMfi6FYY1pOtuWVNtNlBxGkDTysp__Aqf-6-UgSObjt"; e_fb_requestsequencenumber="AcJRyq_cCHoZcxC9DhzzKHKwrzF-IMxO5QDyW-LjtiqzeMfkRFv07yk9-fg"; e_upip="AcKEJLwKQGrTx39LfihBdp3nrMg8YQ_5YeY-gh3Wc_sud8EA-UbQ_FImxintb8f7Cw85zRSXPN6EQeMwL5pJQRH5MBZj-IXLmhfpVnY"; e_fb_builduser="AcIc6-nY-yeJDLnZq06SMKR4QobKxXOPsWmoZLF_dLavP5YJ8mmdCVUvh8XkLFoaSTc"; e_fb_vipport="AcIXItV76J6cd5U1wGWfRRJGu5q_fkA1nn2CfqwiPy5GaA6CxnDfcRvgS2nG"; e_clientaddr="AcIKxTcsIopZogntjI0vRX_sJRr3WtfsjaD2I9t_3wR7sX3x_5HtVGFbrHBishWe4yj0cPnH5cqwmEEeMADGWlAgM-h0agU0eTqU3672xgoVOaeh"; e_fb_vipaddr="AcKvQS76qUUS60H2obi3TY55_LlS0WHZcRM1Tan6wUKeYS3Jx21fQZZWa4tkp_IW6MV2i9mcGjqce-43X33zw0ysitpQAkaaFg"; e_fb_configversion="AcI8siAPr8tg_FF9G1Jy51Kd9pewjgeDaukjWQcMuoxhwQwF8ZWnmDyEZA9k_A", http_request_error; e_proxy="AcL7g6y8_W8Yxwki6dpBd8s8PNsWlQ66ahjmcOKIDk-FY0QEHyjxuc7qTJZktDuaNMTRxWo0YFcI4QrX"; e_fb_binaryversion="AcIItVPaUyCdg8pGdzeawdhy4NH5c1loL2rirdPeTnx_QDIZ8oh1b5eg13JbMda9HmFNdKxtqLDYOvWzT-IJouDI7BO5TA0Xi6E"; e_fb_httpversion="AcLIzySJb39TfY97_EoYyVj98fYzWIQowRUxWMGNBGqnSuwoz-eZBoVbBifT"; e_fb_responsebytes="AcITMpzA3wIRrkl_C0agJdViBuhDRTe-jiEhCWcdTHVWqAY4b8txdmAXmmUQ"; e_fb_requesttime="AcKV-rwGp8XXlXLJjO1NdwJKM8TjDBSlRxu8zjBHcDQs_SiJ1ZuX-Vo8NvghIobpEqRZlDUU3w"; e_fb_requesthandler="AcIDTmkR1q-VoGZ0KsARxoqVSwmsYDB9lV6El6PPzT-YU-huLSt1wGFP4XMJbEzznUIrQMp57nU"; e_fb_hostheader="AcLzyH5o9iCTut_rVr9jltYhb-GuiVNwuGJv3-P-SgrPNTny55YGfWYsN93Sjtn4U21Wgl8vbNbUucCl"; e_fb_requestsequencenumber="AcImPUMP1lBUEeheuQAGYddZTLaQsFL69kMvuHTG-nCkWhFqc9-lo_C2lQ"; e_upip="AcJDYr9vm0wh8ET03qf4QGM1NrTGiYQ__PYDNaJZN9OGGKeIsyuhFlrR-VPhpe-IClCY8AzHZJpbpf-KRAWrnARcaO-hTrs6cA"; e_fb_builduser="AcJ1OJM-5gCdLQKb0-fLesxDS_sUabTzqnSQGOaZ86lWrHvYo6Q7IVgl3tCfds_LPYI"; e_fb_vipport="AcLLIePfTU5IjHl6Nm_cbleQlPpFYWSLJilelsHhuNTDxQW2Cq7O3KFy0aDX"; e_clientaddr="AcKI8mheTVeJCAbQuMQoNHijbgnHJSS2oUABFFhChJCBglGw0ibIun--bao6-EhKo3NYb3qtOP44hY6l9w"; e_fb_vipaddr="AcJU_EyrhVxueM-JLy62MKYLKwMOF-xBEnLRRQsNHTpbvncoTk5DxRc_b4Qzb0lMxPE5L2I"; e_fb_configversion="AcKPQRvzGzuRgsBcPaNMXh6SUQbz-W-19lBdGudTT8XvRCGVqC8T_u8cELzclQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=66, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7144736805629454"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/24/2024 03:21:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:22:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:23:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:39:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 03:40:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 04:37:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 04:38:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 04:39:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 04:40:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 05:25:44: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7854339417955117?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20050427, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7854339417955117?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7854339417955117?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7854339417955117?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7854339417955117?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Nenhum perfil disponível para este usuário."', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjbO2MPcG49i_j_TiifJOCy', 'x-fb-trace-id': 'HU7r9OEhuOZ', 'x-fb-rev': '1015104287', 'x-fb-debug': 'a4ukO4CqAuJvQ4RcN47p1wVfBxJtAScHCiHsTxGRKz4xTHUEnxAFmDvcPFDH9LDjowOuko71StlSHafnZkdFWg==', date: 'Wed, 24 Jul 2024 05:27:19 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKdI4BNRJE1-6WZkc_GNnmEzPmnyhoYGFUzCu6VzsC2sdFRDIlMPyHnLexyxDyR8N6jLigayBNk1J--DhI"; e_fb_binaryversion="AcIgOaYywoL0UTuNCQvpIx0taT5Ork-FGLOU1JfOc3O9oe8RYE1eO-M-YPuX8eHVY_rasHTf5mnrQVJNzxqcRrSI0TsBndkhSC8"; e_fb_httpversion="AcKiFe87YS8KKV-jZcHbKq-yyDdQ6qUeiOh5yRKlFpI35msBboxHbEWZtQAY"; e_fb_responsebytes="AcKUznumZP08cfNRBh1qMJ07UnMtrck8csAcH6NjNHbNfN0nPZIUno2-alTy"; e_fb_requesttime="AcIinJyv-oab9-uIow4xgt5q7s7oNQZ24DiTTT1Hs8Pp3H-ag9g-VRnAabJ-F4VZT96fl2Dg1w"; e_fb_requesthandler="AcItv8IZkHOQraoCWsQviVrYTg9dNy9JaYrFMa_YI3SMMNyMqvWVQltJfdj6lZ1pHTNn1E5cOeg"; e_fb_hostheader="AcLnp4FMC0BOqkHuAR8ds1V0qFGfKcsmvBwVfIaBZIOznili0ztfEbW2paizFpNbjbNI1yIq7ir7AWJN"; e_fb_requestsequencenumber="AcL3ltGIX4pZM8B7AwBkiarK7nUdkmnFk68OCc2cghYUsbgffLxzIVIY6yX6"; e_upip="AcJqNQU7L80AImEU8ItDhawceKyxNefu54TnZ9qhzkotH_n2erNLJFS6bRcWDXYzUBjr79uaGl0uEZ-dpNvyYpPKxtvt_mRS"; e_fb_builduser="AcKr5UA7_Gm4r2CByzJ_ajso2OpYJesjuxzyCNRI1KI70KtYAkXPuwwZGdF2mrbZ26c"; e_fb_vipport="AcJhNcV1NgEP-U2CHfjsyA6yuAalL2CbnuDOEsr91MAeB_REsSJInAWbh5Z3"; e_clientaddr="AcK1OncO-YVZIKEqd0K8vLmUOlQ1Px-x-wp-ZC-NTq5ndPXa2uUDRbeOMojX9yEnJhT3VJL9f82DYdY9llmTp8DR819b1cQKFZt3W-oa-7xjO6ss"; e_fb_vipaddr="AcIIIGqAmwt9_wlo7W5c-p-UNVTfPJi1xxXQBlpkmNvIdvLZZFW-oBJwdtc85zN73VQ1s9mzX6oA-tk56av-x3EaQVdtCfd8Qg"; e_fb_configversion="AcJcAHg-sVgIWDql-tKcErbeBDLyySVOetJkh8kghX2j1Jh1ExnHiTUJlUexCw", http_request_error; e_proxy="AcIHDR25aqIdp8Oiu18qbHsHFra0lBdjmRNsUE1KJJiUtURSW1xgCaUzRA_-mJ6jzVWC6aGJaWZfW3tf"; e_fb_binaryversion="AcJxR0_CKuZb_B6yUmVo7vMk3qadNN9NRzN4P5Cpxrphh59GjJjeq-Ud6U2tzRXVTd-UDGoqlwfoKFJ63FLf2LOyZwfxnenBvwQ"; e_fb_httpversion="AcLZmm7F5_REKCr2SpUo_TvSGSqfAw0yotIzCLJ5S0rXh2sm-UlD0G4qE-LF"; e_fb_responsebytes="AcKtqN-t6m46h9APtwYgMgfDw3Mt5eNT4xrZYzpYAx5MTf40BH_WycIpCv1c"; e_fb_requesttime="AcIF60Ex_8GjeYvR9q_vGzS3w296Qj6hW4hliEReSogA9F9kLBtTCDuP9LIMHYoBP3OV5jGglA"; e_fb_requesthandler="AcLswTw5mYMt_uLE5Hflr6EblcKlmQMQAcuwVbu1BsqxziehJVvblZEdZRAN9PKYZf0lJECcswU"; e_fb_hostheader="AcJSspJoCAxHuUlfM0IySNk9OgYc2RalPXnw9rBxS-TwcAPMhGx5QSm0mQmMlNmSFsAvzBlbYV5f-b5O"; e_fb_requestsequencenumber="AcIMqJqEC9P089Iw80l3natzO8YlC11q1t2wOt8PStYUuYJMprx2QR5mPg"; e_upip="AcKPJrz2H012wL3DEVSXLpYyAcWWT6pumpagCTVLxoRjJXcdAdTIMt060mVhiDmY8TpUUX9Z7gB6ZDNdxtdEcmttYbm-jj6-bQ"; e_fb_builduser="AcKbXGYd9fYlCk0r95wBLf1uB380ZSkRR-ooTcCpn-l20kuOzRjWYIEHVwp9G_FLO_g"; e_fb_vipport="AcJ3hx-EGMy69VieLCSwxLJtVFVQek29uaX5o0a8uccpumCP8Kluzis1avlq"; e_clientaddr="AcKfCML8-p8yCG12h9pCcGu1yXE7fb7UxCOoNXjZTnQ2Hx1LSMTK4G2V2ZelF7KNbeQDaS3KEeWhBpEW2Q"; e_fb_vipaddr="AcJWTobHShfvpXndGgWH2_A5FTWUn5YmY3AbqLTeb2AV3GP-cIiBFzsUBIi8rNmX7JL0jWI_1w"; e_fb_configversion="AcL07L7xMVn3FZTcTNX4qINA9isVUke08m84PfTS-ijWqUu7gIZ0iU3Oh3FbCQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=71, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '182' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7854339417955117?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7854339417955117?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7854339417955117?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/24/2024 05:25:44: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 07/24/2024 05:25:44: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 07/24/2024 05:25:44: Marker: 0 | ID: 66a09058ff349866cd50a0ba | Error: cant_get_message 07/24/2024 05:25:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async finishCallback (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :117:7) at async eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :190:3) | 66a09058ff349866cd50a0ba | [object Object] | 07/24/2024 05:25:46: Error on send one message facebookId => 7854339417955117 07/24/2024 05:25:46: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "AYaBB9pNS44n39nC40Z52DM" } } 07/24/2024 05:25:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66a09058ff349866cd50a0ba | [object Object] | 07/24/2024 05:25:49: Error on send one message facebookId => 7854339417955117 07/24/2024 05:25:49: Response error send one message => { "error": { "message": "(#10) Messaging permission check failure", "type": "OAuthException", "code": 10, "error_subcode": 2018334, "fbtrace_id": "APWDVfxF8ngyGo8-62s8FxF" } } 07/24/2024 05:25:49: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66a09058ff349866cd50a0ba | [object Object] | 07/24/2024 05:32:25: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66a09058ff349866cd50a0bb 07/24/2024 12:35:24: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66a0ed80ff349866cd50a1b3 07/24/2024 13:09:07: Request bot not found: { id: '128159377280665' } 07/24/2024 14:37:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 14:38:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 14:39:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 15:36:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 15:37:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 15:37:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 15:38:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 15:38:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 15:39:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 15:39:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:04:18: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20184219, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 24 Jul 2024 16:05:53 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/24/2024 16:04:21: Error on send one message facebookId => 7719160304847337 07/24/2024 16:04:21: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/9aa9e830-49d6-11ef-86d2-8d9f39628c93__1721837153843.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AFiHDo-x3iRbrzuWlZrsOFY" } } 07/24/2024 16:18:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:19:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:20:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:30:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:31:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:32:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:36:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:37:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:38:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 16:39:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:00:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:01:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:02:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:30:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:31:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:32:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:47:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:48:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 17:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 18:02:46: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20234817, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 24 Jul 2024 18:04:21 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/24/2024 18:02:48: Error on send one message facebookId => 7719160304847337 07/24/2024 18:02:48: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/270b74f0-49e7-11ef-baa3-23493f815168__1721844261311.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ARLKtxM9kPn1nsYFOrSAe12" } } 07/24/2024 18:47:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 18:48:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 18:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 19:46:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 19:47:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 19:48:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 20:46:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 20:47:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 20:48:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 21:43:00: Error switching inputType 07/24/2024 21:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 21:51:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 21:52:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 22:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 22:51:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 22:52:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 23:12:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 23:13:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 23:14:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/24/2024 23:15:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 00:12:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 00:13:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 00:14:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 00:15:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 02:47:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 02:48:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 02:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 02:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 03:04:15: Marker: 0 | ID: 66a1c0afff349866cd50ab99 | Error: cant_get_message 07/25/2024 03:04:18: Error on send one message facebookId => 26157423797235576 07/25/2024 03:04:18: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AeiQDgN_M2wYBSwDunRjo5f" } } 07/25/2024 03:04:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20340912, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhatYHUFHj0CYT_HBukN2za', 'x-fb-trace-id': 'C8i7OG3WGF0', 'x-fb-rev': '1015121557', 'x-fb-debug': 'e9/Etr6pKDb9aO5Uql1VgO355jaKWVrCbaBNsizRtYuYxVf1qwiWmAWQIdNuj0rEL6uPfhV+1zPA2olehV2wUQ==', date: 'Thu, 25 Jul 2024 03:05:56 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLvGH8pTLgxJeqCllkiwerwePO7tMIfVE_d9Ik5tPCGBpaj3L9arNqhdZGa31sP_DRDLMw3g_DUuoQy62Ex"; e_fb_binaryversion="AcJW8W6kR9G5G0-Gcfe41FPYZxsTJMmea_FnWSJWbjqWUGO5HhQps7G_aG42moY0o_smVvgeSaHdNkbUI-o-SVXGneFaEzmT7y8"; e_fb_httpversion="AcLuOtA5HY4ziZosn2GPSu-H0f4mavalmoUuotMmXyWhVbG33dBf95pNMBj0"; e_fb_responsebytes="AcIO_5Sq2zhheIR6ykuTO_Fd1-hjHfci11SA7k7V5VQhkxPMHBNG6xHUXOok"; e_fb_requesttime="AcIiAwh2HHDMoZuEvIfNcakUORs1Mq8jm0_9llf09_0ePaFevmhuq5iR83SokboT1XW6M5w8ww"; e_fb_requesthandler="AcJ6i7Q9vcPiIuOJwrDhMNLrtcuS5No_vzeRqvGtsNADLsGmxwZqxInFkUVBxrvis5FkzTRPmuE"; e_fb_hostheader="AcKycUTdtVp9-Qfx3-XC7UQt2KlyjcES-odhaY2s1EaEYV9FC6D7SZVyLDvEvoGC_QF19jxSvY5_JUJA"; e_fb_requestsequencenumber="AcK4TxsHDWn_EXlhgXCh0XG1aC-cDnakh1gH7oIZvhD-OZlsPPUbEfS_5H_q"; e_upip="AcJiiXDVlqe2reGMstZrNk0L5RAoU2LbX8j81WNqL9ISNZm8X7aJmQ0VCCHJfSjwUuPr0Ls-3io6gS-u0BBeg-QyNK5nA0aNSg8"; e_fb_builduser="AcIjqSBQ92Zt95g2_h4MZcQGTCqzQC-MlbdO2XxwwaESKHpiJeRvhuXpavbh6VOjkRU"; e_fb_vipport="AcJADTq0V8uzqSdlaChbk8JdD9mOIZAxqiGK6dUpqZguslTFTeO4vCAv7RAY"; e_clientaddr="AcJofv1EOM5_4ZBTSjQ4Ccnww0UQyADAvrn6ZzdBguXBKWePX7UkFBvxZEbZsjeQPKQPSCOT51_M7NY7Lj_ydser5v-JY1c1TYiZ5LtaY-RhVxn7_A"; e_fb_vipaddr="AcJYEw31jgUE3JAiNAgxbEd3hTNuq1vHEfaRvjvS7rr5p7vkk-S3a2wSCAlT9QEX-kMdCrsKtwjrP2OimPz7I611eVH0oSrQ7w"; e_fb_configversion="AcK_xW9I3l4EutFB_pR3ihlfLXvzGtf3PGRnoOcbS6tCwSQpRCjc-0XkmZ8Zkw", http_request_error; e_proxy="AcL6hG8EfeFOIO_-YQY_bCiy1Plpyrlja5_LBrnaAiHOmVCNxDueru6p2_aeohT4SzkoTV8aHBcDhOM"; e_fb_binaryversion="AcK-OJCVBuhx4ONOw085y0Bi0PnjM9oYj4okUEggSYNVeiwev475gJmDLFqTJNUK6DRLiz6YrEE-f1Et70yZsC1s9HZ2Ey0J9Vw"; e_fb_httpversion="AcLfbY3Ou9YXORXXo_Fmmf1Q3YHTNXnjgPfZXGtGPG6fwLRi-3sm54M3fPmo"; e_fb_responsebytes="AcLtxKtm2k-n25pDxw1DYDSANnYhLQX-nVNJAHAHaIHyQaWbWPciVw__8pe9"; e_fb_requesttime="AcIlMRYix8Nsv5_GGvc55xv8-K_op_8VA5Sc0xduAlbFCrM6ysSRbABhCHSH7gmi_OXQZWdUAA"; e_fb_requesthandler="AcLoAoIlBNDETU3OHNcQ9kVBdJ8A9tWxesdQ4uHhv3iKzxv-g9-eY97QoGyfn3NGAYkCpWui7YI"; e_fb_hostheader="AcJN7XXK4META8f3NT54ZZoBIuTpN2EWzWSvA8lov3CHp1GQbS6pZVxDeh3OWLq_t2iyrXK5JnF_tXmc"; e_fb_requestsequencenumber="AcKkvesdeI1r4cTJ-KOJPHPGHyle5CAPvv_7awp7jqwN1zYy3NMG_GQqIA"; e_upip="AcJ3viBdJSX0DHixPTdryo6_vzQKgf9j0LxLsaZI_Pc5Az5UkvtCD9XGnxE8WYQhJ_D2RnxcGOqQKdENafWNWmQAf88vA3hyXw"; e_fb_builduser="AcIjS4e_R-R5Z8ieDg1ZqEWoh22tr0UBAohsl88zijxR0sncZvjDuNXn4GihdMhwE_o"; e_fb_vipport="AcJOL_78dl1nKBcCC67k8GltfKTSOuIQWvlmdYwnI81J2YWdpO11c0bMmM60"; e_clientaddr="AcLpONzdu8XF_ob8mppi1wuHhxnt7MdrzBSB8tTUWqxyzQqGSWdJjDtqceCUDuhJg_it4R_TEPFiRIa--g"; e_fb_vipaddr="AcKi-0ilCCW8rfJEAL6hcwlAD2Wuo6mvzm7FlJFndzpv3qh2p7v_07-B4hhS23eBBBrvNiM"; e_fb_configversion="AcIcnW6cXkGIqmCTcZXF82bbiDWUCT9IdjiymmSHJOhTGArhsyUeNpOpARFdTA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=67, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/25/2024 03:04:20: Error on send one message facebookId => 26157423797235576 07/25/2024 03:04:20: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AYHnJ39YGvtSYQy60yryIMm" } } 07/25/2024 03:04:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20341146, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOvKECpKjGo7AdDjR2vfSlD', 'x-fb-trace-id': 'FYdLr4mVKPw', 'x-fb-rev': '1015121557', 'x-fb-debug': 'iOTLoW6yYCzozra2vCxYYOMVrjAct/sPr/YkoEaBvDZvSKjOsyO7XI6HIa/S7Yyun/7typ9agTc3CRjAccBcnQ==', date: 'Thu, 25 Jul 2024 03:05:56 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLij9t4_ygRxj_oboVF-DxiePppdC2vwGVKH-YJXHwbB8EAgsmhMozpge2Kx12arnx2EUk7-Ag22rA8xPG-"; e_fb_binaryversion="AcK7d5kydTrQRbPFae9LgGODFRWwukqvI8EZAO6mQU0QuZDCM8J5Wa34iuutAe1auq9gOhnM564C99xrkwNtYVGhdJM5WL9d2ts"; e_fb_httpversion="AcIbX1NHWaKf2cYmTLb-tT6LRyBce9ruJ9MT9IaU0clw2gTtHP2gdHH8_bk2"; e_fb_responsebytes="AcJv8TRtgYrSiju1L0OsyZnQBQzbBAjCiSPT5pDudJL8rxroIo9DG8Or0i4G"; e_fb_requesttime="AcJmBrZhkmrDcW30UaMeP-15vRsXr0ZR7vkdRKhSwhdHa2YJwurHLSAOeFwCwwwajD78712gqw"; e_fb_requesthandler="AcIXDNI_vGLfcTxSoCUkS0P-df0LnWK--DYCq2ga5WlB8LwwY3JEmc_iwQ0y5irL9g_IyPA1Asc"; e_fb_hostheader="AcKMPJkga73mdtIOqcpjJDMEVokFst6xQjpQO3o4FkGGlMKNTtFn6wCXy7RZ8UidpFU-BFYmCO5okFxe"; e_fb_requestsequencenumber="AcL8VsbFtVt57sxR1cy_9nfvaieHOuSu70ME9d-L7iuAlankK6IlNP9pkouN"; e_upip="AcKbmTclI0q4B-Z5O77dxdePuFIg2IqpXLkx53zR7Xgc8d3vaC129JeDa999EpBooTp-WEz2cYHun4Zyz3kt2d_bOUmdySgdyrU"; e_fb_builduser="AcIcBB-bIhpag6JHHagevhnVqQ2zVFHOTTqmFF2Hv_Ql8VG94pw1xUSV7DmXkJtOVTo"; e_fb_vipport="AcJiQM7LLQ-KlXHCqYOYFmKTisKhCbwoGAnfX5H0Dk8oFPcnbs9LJoINB98R"; e_clientaddr="AcKFzuihO0v8WaNsQmqj8KN8IxkvcpM2IE2zbAr0jp_xoIVbolOXISxLUl4ENa4tUuwBOiw83uVPkG3XuJml0bGFXl-KmYU_MLnmuE3OcwwRYBMzqA"; e_fb_vipaddr="AcLjQtHq_iq5zNja34o6DYPDcS5HZHQWnJO56rX2EIeMbzA2We5MpBPPiRz1NZlN-qO1nJMpB24tS2NprSZUiO0tUG_FAvj3Kw"; e_fb_configversion="AcJEYZM8Ft_7l3NGRjDX2LLPi_gkaGfefh3g0Xd5VMGGekRw_VVPv6NcV5Jhmg", http_request_error; e_proxy="AcKfJD4-3q8TnCuPCV0x3QhRRwOobymJlNC_EbqlymE-5wwdb-BW4p9W8YGIcdAAznI8bq2glIZe3tDj"; e_fb_binaryversion="AcKiQSoDkXv0uoyaqAqWaWk1MsJ9v8AfMLp0HefPuNtcKzPLOtZVwwEFeFuyXgNeudIwkywFScpkHF5iUvUdrLGbW0AU4kz08Rk"; e_fb_httpversion="AcL8qcmmN5fZS76_znUW89o-b2K3VUiswahuBw-7BByyQ6jZsd3zMHbfDMGp"; e_fb_responsebytes="AcK8VYJLYSA7Hg-lWQOkBbc3MhjUWxaNm_-51CsRRp5o4Biuy3GlCR5klTC_"; e_fb_requesttime="AcJbb4VIyExFr2hfp32xIJhAxmHLzoRnNAt3YFr216cngg3o07YmiWJ2AiR3S2QCDCrVbDiSfA"; e_fb_requesthandler="AcKcAEwvxnPZCs2xkFZfOGRPfK5YOkjcUNF8TVNEWMfoGSPW6LPn8MYs6N_vnIRaulxhBmdWKds"; e_fb_hostheader="AcLB7G5EPiJ3X5VaIXPelpuiW68YDQ0DkgBRY0tB9d3A7ss-o25rdtgqDzd8fVsTmqq8QbhjjGTGU5rd"; e_fb_requestsequencenumber="AcIuTQwxT9qMaEnQ0SpHleRXl9lqyHzAJwYV13ZLgJByQMiZZzr9odpbeA"; e_upip="AcIiz06nnFD225esLtlBCkWMFKgsLTSK5ra0HHL4y8D6Tb0DUMtCckOzMH3OiH91GhZUQOCp9C-2lvxl3Pmh-mXDVCSnLct8PQ"; e_fb_builduser="AcL1fa5rH5PeuUeedlB-Rh5i7Uv69Pjh4Y8_7B4Q9q5pq2olEXYhzeKgbrtQZA8PZu0"; e_fb_vipport="AcIOiwYDXu6nT4ciIr-lRAclnY6xIg2JwFwdmLjKsJLIj-pAzfCYwZrdSEKV"; e_clientaddr="AcJgX9BjIkcHj-E-6ROoacO5kP7fn3jhhyUGIQhchD1xnED_031uDZbX0mEtz5RS8_ls-igmMBHhvhQ_xQ"; e_fb_vipaddr="AcIvRoyRXlZYvFf_TXxLEWw-eTGwq17Sa_GOzoMs2cK0P7WWD6u82qK9Me1-LIttcbjFEiw"; e_fb_configversion="AcKy2or8iHbFhmn_L6HhoV-zNUmvmfJLViwaRhaY_g87he_krJh07sww2yyvYQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=61, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/25/2024 03:11:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 03:12:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 03:13:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 03:14:24: Error on send one message facebookId => 26157423797235576 07/25/2024 03:14:24: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Ae6q1evuqB1hs16QXGVzihj" } } 07/25/2024 03:14:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20343255, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AX8GEyiEzN9A5FLcC7fX5I7', 'x-fb-trace-id': 'AdhPmWeRNkk', 'x-fb-rev': '1015121557', 'x-fb-debug': 'amlAb0CxTEXPbTZxP3972VnRGbJhA6vwLoaQ51noIR3JRYSf9ENtJqy6mfg9uLy2pXuMYB6RDwGZvBS4CfY6cQ==', date: 'Thu, 25 Jul 2024 03:16:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKmqPCWMOH8eu5Q0U9l1lFhs4fbTnjnq_5aH1jrvSDD5NcympFd1B78iFQQ1vMqYVk5OnLGM2omXaoWP1eI"; e_fb_binaryversion="AcLWm2FwPXRa3OvqnpSZjXWMcGLIGsDa8F2K0EwwkR1WsGkwQbgYwcf2c_QlPXpxe1ErB6VvEhjuz_qYJTc9q01SosqdGPVfh7s"; e_fb_httpversion="AcIjQpqe17EOg8HEEAr3GnnpW8MaoSKug6e7HMgcbkln2hz26NzGpS8EghlH"; e_fb_responsebytes="AcIm2uTEcNYmBAUdLnRZU9f1Np3X6ehKHsYHiDSIjM6rI2DNQQ-I-DMSNmRF"; e_fb_requesttime="AcJaaDOeyJ1Vva85VKxX6UAtq70eyDHy12NGNIi3YToi3ydii9B12tTO4Xnc2_oFGGwJa1iU8Q"; e_fb_requesthandler="AcLRiF5ZsMSrN_3LMS8Lg8oPSTB7r0xsNkblyTbEXNo3z801p1AL2HTgaHfMDvW49KQrbiRHVl0"; e_fb_hostheader="AcKvnZX84RAKKu3bwt91to3-ltglgag1VSaqruO_5wIR7sVxIWdtisstc2bMgfOGt_J6_w0CKiuWG1TE"; e_fb_requestsequencenumber="AcIVF3WVN3cZ1yUm-eBkUmQslHugnJOXCDAHvrMp9L6muCMgr0ON7Vr-Pzk2sA"; e_upip="AcLUkxykc7KNsPBfcUmzkpy0GIiJl77TKvbzDRLBtVDzBgIBtZecoFqZSLjHqzjgb-p7a85KVTK7jg9o5qRH3aYW_LpDMMz3xV8"; e_fb_builduser="AcLuJG_S3LpPzdbthYtUAFDCtV4sBeLvtOybQxNEiTV8xFP823zUEtK2q6Alx7lbSSM"; e_fb_vipport="AcIYi7YJwS93Sazm5byGUdJpSdiNoSPS-RDdgLoTVdvnom4i6tmWQ5ngO9p3"; e_clientaddr="AcJ7jZ1uy6bJWP1L-k8nRJeF1XLSq3pc3dgW5t_Ow9Eyw1_pECASl-J9HyqBMJVqSBFCjzOg0OFwpq6pA-ccUXntm5TJt_gg6K5-mRVE4_uEJeu2hQ"; e_fb_vipaddr="AcLQgSmhHiZVEojBAry4jKwIYOx4jqx1T1WZip0mkFlTxvwzSBJpyWynYsfPhN2MF_iAdSeouFghQb3timTRAiEpR_44yjMpEw"; e_fb_configversion="AcLb4pfQI8k2KTuXXQpMpANK3cUMKSaPMGGItHj1xnd-Rd_CG2Ueo7ONq2bS0Q", http_request_error; e_proxy="AcKvpiaHGPWh5pmElqBiay7d322LwpuopLecNXNcgYhXysCjSD0D98wGN1EB46djaoEfEwuhoLXYP1Mt"; e_fb_binaryversion="AcL09sdzCxtazzHrLDSC9JIKNec9jLn0ww0-hfBnRK75K8wt8Ie5dQYruQIN2OF6SoUOTC85y8Wv-ZiPILNSwUXm9yV2iFeLyPo"; e_fb_httpversion="AcJ3W6Sga880LQGcnIFRqw7vJBsCSQhzo6-KdUtP8sMwsnVISTBU-ebryHDH"; e_fb_responsebytes="AcKx5WKQiKtRogDEgp7H-YJVUMBX9dSpJqyEkgkaBSYXgqMD47iTsiFONqbu"; e_fb_requesttime="AcJaoXZDmfPKY_jzw8IvGLSS8L33rWlnKSddAhjtKDeog8d2zTM4CZfZ75q6VzVERBtasioGIA"; e_fb_requesthandler="AcJcbg-pxZg6uGlUguQIcqYDOSmRI3toQ3gkcHBJ117Al8YfLi-gRSLZFpn8S1Zt0SxjWUSAgtc"; e_fb_hostheader="AcLo4TsvK9pwydQkFylT9shov5aM7S-LNwBTgmSdsm1CH512p8lfGC2KHdYC62e0v6aLRVA3AqdYtfD0"; e_fb_requestsequencenumber="AcJZz4-Tbt-aR0rKiE43wHdLPsrA1iH6cradl5aXimOiBTq7yDzI4Pz7vw"; e_upip="AcJmFaDvJLRhkNUOxfRswZ6reKrIyMCW8cOCJH12L-1mJCK2EScFKSM1bs-hXR3dUxHq6cZ8CZZuXmyA0MK21CTpm7kBNYgOBw"; e_fb_builduser="AcLbTlpRhswrgjsiZFAFcfzSQU866Tme6yTBQ4DsbUEcAHf8cMDht_pWSqHGkp4Bmz4"; e_fb_vipport="AcIrJWTycYVTXRDVMvhFwonBTDDBNsklYIh_5Kx5v0on4Re6LZDM3ejcbDvb"; e_clientaddr="AcJDYIAObfQ0y9QK4ZZuUdaKqGbjZUUokFt159C_HNEiZkJ3RGZbQiq9TOHLip14vPRsAxlg65Yc0gpUYQ"; e_fb_vipaddr="AcKyo8TfOKEtf-pbwh0kUIp7CKTZ9NQScLJZyQgk7C0FDqbhXwdMwfaIev964AxNblhBXDew1Q"; e_fb_configversion="AcLkUyP4ml4QAggAbBas6PsvXtMM1WDJ1KRKvDy605xJgPApkiCfdkv_i9DpPw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=69, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/25/2024 03:47:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 03:48:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 03:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 03:50:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:11:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:12:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:13:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:14:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20358288, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWzi1hv2JCztnppHzT6xj9z', 'x-fb-trace-id': 'GquF9OxBZCq', 'x-fb-rev': '1015121557', 'x-fb-debug': 'd5pNwU4U0TbrnJVC+iNoU1V0akvvpCWJJojCvOE7zEXYBENDu0VDEooQnLObFEcVyJYsb5MVHAfLCZ1BPwV5wA==', date: 'Thu, 25 Jul 2024 04:16:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLh4lin0ghDFQKTdd0xS-pD_MplRFaynLOzAvbdHV3ouLuOvRmawVhl9Wu-PawBrwYW5czUWd67r02y9s71"; e_fb_binaryversion="AcJ9J2R6Tbc18eYD_S7n80I1V_AqStXELTk1cqJoHt7AofKQBz3Zsw4AB6NrK6J_lcCGsGdGGbxR3tWoKiHGjRpsPSgYto1q4ac"; e_fb_httpversion="AcKoGwHeUCuMmYeoUtn6VCrAsCi2exU5hzc4uR_Qts57trGdRErRaa4SgsYn"; e_fb_responsebytes="AcLypuhCZVygFtpnVzzPRfT0oIgsH7Ka1wWgJf_J3quev1OaqW5qXzAQJfhL"; e_fb_requesttime="AcI4NhPW4NT_68ZMZYRsdKmLRKHyOE1h3rAMVbyH5A3Itwq3diokFs9ivFHJ1prd0pY3hb-0iA"; e_fb_requesthandler="AcIXfTA9Vypg5fAKNkhDh6zYKDRUo3bw_Z7I-C97HIzv0lhhwvrHM6YCwYl9B8OloV5u7-QtK2k"; e_fb_hostheader="AcJ88u49xRba8dd3l3uN9q0WwBOn8d14xKUhMcd0FES3MhihuAPzpJh8pF94k6mDJ8mnC426vTIDESu-"; e_fb_requestsequencenumber="AcIko0M0j0iPv-D9WLboA8FNPRt6nAjSk6Q3Nqebm449G7Q2we2GermQWmfV6g"; e_upip="AcJ0VKQUAlZ2KtM-BkyUFuAQKHJuy1YnU8DBs4MOyB2TKeZjvobCkU_cjYDVnbXQOp2T1AaToo6uLxumoxM5WvIrFeE5IA_gGXk"; e_fb_builduser="AcJkcNt-uPS1ApJujToFowatibz370K4bD2Pg2zojoYtsgjhe5ceAueYrm4aPjwOvEk"; e_fb_vipport="AcIxH2P0DI1-hRJ-QZgKsgKe0oyTO0ciZ56FM7xMLyhvnZwpeNr541nmwJ64"; e_clientaddr="AcJpt5RbYHqIyJbKxRD75UqB9rk5coXHvtIjbjXEMI66JZPL5xUWH19vw_n6RARDGsdRQH8fvu55LDXARcT5MnemOfrFoq1_46Pad0tg5lq8mKBQmg"; e_fb_vipaddr="AcL1Zo6PgybsWM25W1Qjeq-bMUj8lqpsckyElr50cgSdZGsVe3ICCm0zTwNtw-esPH_VKa241HU1_uqkO6EbtH4LN99Xq6-jhw"; e_fb_configversion="AcLCGokUUDm7cGqdJ76jTSfRJm3avi_nvxk-ISadFVGghYEg8ZxQ3kXonvCXivAW1UZ3GJj7Hri3hmhIJNowXlZXDZXr7LH95ew", http_request_error; e_proxy="AcIfxtO7MbUS74AectCvTvgZbY7oVtXQT3RbdviIWbus1iL1zJS2dlEuqk1V3_3o2BR26Vi3vUE_XqE"; e_fb_binaryversion="AcI5frqT0N7x70ngpdLa5H8C3jygNUh-B_0FDWBSIukStlwKgrE7Qqpr9tEnyVvzza9r_aKgY0ht3QX_jp0o2spMGbguxs6J0iM"; e_fb_httpversion="AcLRJXGS5pOSflr-z1tYkTAS0csMUxF8_4XwxaMnFwlbh88FauVGi6sbuqDe"; e_fb_responsebytes="AcLwUFIY5dRC-rEs4ogLlDEoE1Fn4BoxlCgtuIixkO-vNQNiMLumLL6Teh6U"; e_fb_requesttime="AcI9TkWvQKCl4wDAh7q6X0N2G2txfSbBiNxZlmuq_em-LUaLA0SbUzCXrStPxDadziJ-IHRTXg"; e_fb_requesthandler="AcIUsD-l4HoFNiwzv1bSv0fsSIK3mi4f0QuQkApvj8XaHmc3MUqCjxCGcPs3uWX4VOSuGPT0y0Q"; e_fb_hostheader="AcLvLVJVsqvLhHBFhTrCp1fM_Xgxadqm5xX9zFdT9JOx9vWTsGdx7HOqRns82DF9SFpfdc5dhye34Qy7"; e_fb_requestsequencenumber="AcKb41UlcnuEp_0MC7QovLDENB3wyNN3wKjMYncCc53E_vL657LrcEyzJA"; e_upip="AcJU1X6iAx5fA9MBCztfsxmprhhCUxrRhE3YgbIkCoUhP_mg36moTybeYZdg2S2SfC3KQCIu6MQ9QvANW6Zez4LrjNpLK2hltQ"; e_fb_builduser="AcI3hIYZGj3DmT4rSAzbX9TIER6lNcoMX2GRiW814VlJmfIElK8fdSlRRyx64rD-Cls"; e_fb_vipport="AcKyZ_ktSBaCCHPqHVOlAHJMgDeRc-Ium6lEJsigV8wZrsuwd5rpROStkxwA"; e_clientaddr="AcLqoQg-zEExnnqKdXN-JXrK4ma0mGLGjOXvAUyyzwFvx9urumKxs9LjFnJyc0-L1XWbQtsVOy3ssV70BA"; e_fb_vipaddr="AcJ1qluZdj1JvgUIIFpE5IA17BgnUGIeHxBA3vRddnGBhNhX93m5u-XoUnOr5fbSL9FYQ0k"; e_fb_configversion="AcKDSlYXj-95NxEGvYF1utu0TIzAOPj3JFgLENZkA-wmqS5_3b0LkGtZq9G8Hw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=76, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/25/2024 04:14:26: Error on send one message facebookId => 26157423797235576 07/25/2024 04:14:26: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AGptXUqPKDxoKqoNkGUZ_zf" } } 07/25/2024 04:14:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20358454, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKrbKjNIMFe5OnWVHjJHyQA', 'x-fb-trace-id': 'G8uZwtShecU', 'x-fb-rev': '1015121557', 'x-fb-debug': 'YMkaHjVdEwGxS5oahS3ii13hSU6HYanKflwAkXL8Y1UmH7y13Cr8D2Qcvrpj435Db14jgsbjctiM+dsxrSK6BA==', date: 'Thu, 25 Jul 2024 04:16:04 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKVFoPMLfXSaeUdTctdpOMYNUmCFPob1smuLZ2TxfhrXR2z5CfevLLitHpyUpyV8-JNOo3ghO3EgFh4cBBh"; e_fb_binaryversion="AcJ43T_AzAzbrdlHpDDW6hW5k0E--DgTpQGxmFQsr0shjXXE-r7XEi7wHJyl_0EmTkcAk4zN4frenHAjagH2loxp-UAQ-0iSCsc"; e_fb_httpversion="AcJg4_HvNj0vBH7asyle0dIEtWotSHthg0AUonWKtChATX5vYY0CenyTWk9W"; e_fb_responsebytes="AcKzyvuvfIi3h9G5AMZ3Cfwu9X3ky9qyx-3P5o8BsWvhj86Z5fZ8JZb7pbBN"; e_fb_requesttime="AcLg30UdqPQ_Brk7hu_EHp4Nf667MZQxy-Ds1GE49BS2sFQCroz-VKwkw7E-HVOxAcn8CvIh6w"; e_fb_requesthandler="AcK37aCo06pl28k0sM7-zCB0wC8Y4GdfUOMcmCJURcCqVZBwo_Gd1KWY4lrUOPdsVzP3vM4bA_o"; e_fb_hostheader="AcKWdM98IDxGi56quJ0mV24nKwvqEQ43AgVnm7PP6OPWGmWsy5xue0E591Uj9B_N6eBxXo5voQjq9NaZ"; e_fb_requestsequencenumber="AcKMzAEMkUfOWlGd6HYxsJO_kHyaEASi2jroRiopMt6ORxWYDRHhAobvp5kQ"; e_upip="AcLCnXwda6oQdcAYcgRIv3_MUPu3bEdIRYUPcrytjvXgExbJi5zw52YOdHHBAZN5Z7EqVQw2H8arqHGda1JkLpNmH0PtH9qZAQ"; e_fb_builduser="AcISGIH7_XrE_Q5WWZW2XI0qhqpDBFwWXQBAar5KhkZ8GvUpHaPLMIMHtNXIrVmXbkY"; e_fb_vipport="AcIDgi26WIVVwnZZJAUkIpz4KGpjs6kEBtAgGGEjMUfIOwNCbVVZtZQFKGzk"; e_clientaddr="AcJSLDpPGHsZ8sPPGKJ9T2qSkTLcN7PsVpHHwv2FuC6wu0fYPy__nbQNjfT8gjIGo-0VRL3HhyEnlPVAnFedZjKpQnBPK6wkGpGbQqBELo1JrC4qYw"; e_fb_vipaddr="AcI5bjbskKKrxH8jmlOtErqXj0jXtjSRvvm1lkYw5wwKc0-mgfFy0kATOG0FmDTL3ltLf1Ku_DeQivqmfw0VkIkm70wm56onfw"; e_fb_configversion="AcL3GDUGNxwqsKgnAWk_otINRS3AgZey7RnAmZ7S3N4FLfzq3r3Bx4f58aqfcg", http_request_error; e_proxy="AcIBjiSQjaHdXR7VI_Y_EwxXgWV6pMuX-DH7NxPd53Qd-Oe46qKrZF_qnYK7WepIIdyazf4Wy-kEtQVF"; e_fb_binaryversion="AcITPab4LRhaUSRqtcKTkVxYofPzvu9XafKIjrm8V9OlXl3zELH_nRABGAZWz3dagvs84q5PlC-3FHt3pnnmmmk5WMgxQdg6HsA"; e_fb_httpversion="AcIo1qQ4teYYkipdMIqTu2twON4QThN1RqVEqoiOal6fVGtrKipADt089sel"; e_fb_responsebytes="AcJbenCthzZuE2wjBqISxCFpYddSXo39ErHiDU8wecwRizoBzClhCS2mHvwD"; e_fb_requesttime="AcKDlR3VwhDIbsqFtcs06Pad5cCpMOA40JoHk7BnCKYhgg8M6Nqb54PhlAGS3W4vU3F_wncssA"; e_fb_requesthandler="AcJ0NnFdKwIUFfGRa8Ym4MTCFr7gYE0ZCIJDGJ6dS0nF9Ltx6E00RXr45QxBo14YZi3DOQuy8_0"; e_fb_hostheader="AcLeHjRqFWuV9KhrQZjSOYspYKZCf2lqtcdUlCsNFv_5BlWiqo02ns6FPCVhSgsfwTN6yPB7E1oSPE0b"; e_fb_requestsequencenumber="AcJ-7F_MKoY0WOfCWS4a7LrTIyXe00Ue4QrDowBlSnu8Se_XZOfYr6C4nQ"; e_upip="AcKuXYLIquwYcl8Rqaf1v3oUJrIW9XkfBMfEvc3ro7jY2B1WGqvperyIPojXySZWwJln9iYmqVpOJJwTtexIVV36how0aKcDlg"; e_fb_builduser="AcIhnS5zprO9tUzAeHIHAT8wmXC4yqzcqq-nnXO_ar2FpF-SLjkV_xLusm7pyHA4PZE"; e_fb_vipport="AcITPZsUhZbW5Aea28k4TMctE8a34GnWA-fJC_kF5DQG460g4HR6UwbfaEjz"; e_clientaddr="AcJOvnBoBZ65oHgaRiT5B9JRNyO0mJIhUKx7qV9mgeQUEhbvliTbYzymzH2KATwExNImF59tNbdRlURdzQ"; e_fb_vipaddr="AcKfMr4Pb0ucYpz75lJmMKwnrA5llhsLG-vuzZ0TS3OINj41LWIU21ymsXR-aBiPzD7xtGI"; e_fb_configversion="AcIspR5RgxT9DfJ5YQ5ixDMdpaHWx7VtGhbhHiT1x7DsifORBmahHAvR8n8KHw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=66, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26157423797235576"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/25/2024 04:20:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:21:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:23:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:33:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:34:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:35:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:51:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:52:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 04:53:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 05:04:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 05:05:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 05:06:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 05:07:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 05:33:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 05:34:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 05:35:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 06:04:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 06:05:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 06:06:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 06:07:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:32:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:33:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:34:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:35:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:46:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:47:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:48:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:49:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 13:50:24: Error on send one message facebookId => 8033055616785308 07/25/2024 13:50:24: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AUyOVueYH7WmDPkEfavWJyP" } } 07/25/2024 13:50:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033055616785308"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20473279, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcXqww0rVg8kjFmEGlJkUYf', 'x-fb-trace-id': 'Ehd25j/7zl6', 'x-fb-rev': '1015141008', 'x-fb-debug': 'YZcCnWH4WZ88nK22VvL2WJDN4fDRtjFrYvQYafvBWC71NXoYwZPLZihLtNmhdo+kPbKBLCqSH4CaNkyy3kKMEw==', date: 'Thu, 25 Jul 2024 13:52:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLGRifYJlw_RKApILU73XHxgsUxrsOZvEu62ZrE10bHMTQumRwgfePCo30dYjuBF2uLpHWP0uk0mhF7qYia"; e_fb_binaryversion="AcIdxz7Hfy4cD-ElVa00yt-9YPhXvWmxVyQ9ix2V8gWH0zf8Ye_ZuoMyl6yHN806LI_FVz89FK_DCiDzKSGy8HrIjx0iQru3y-E"; e_fb_httpversion="AcL4qWQqKc3qOwJPmCwpEPSyiYg_zBnFpZ0LHCOZ6NYy4lTBQK9Knx2V6dZf"; e_fb_responsebytes="AcLZhDO1vceJror-UXXRx8wivyH1_AnqnIZCnVaE9fEGqD22jtFpybf6KGsL"; e_fb_requesttime="AcKe6b7aTExD2mPnNTULVKP5x8qDF3XiOLfEKj7jqpMcUSjMqLeEz3FW6e-Y2ql4udPnqiRqLQ"; e_fb_requesthandler="AcKmNA2TQcmpaJy9fciS5246p6Bgc73SgAS45vPh2OZmkNLp-2FCNj-AHmgDIcWn3eGxmv0arCo"; e_fb_hostheader="AcIZGvP7BGb87L8Hve0us4gMdA_o8kpW19f3snYxHZDdhvFiTwS8CGUUQG22lRQJBgyaogdFXrRfV-1y"; e_fb_requestsequencenumber="AcK_zjgl969UcgAxmIVh6hd7Z6QXM4wxQosA6la2dwZrpst1aYfvJQklynFj"; e_upip="AcJxTdF8o_dItZPCb3oGh2cqW9VCU2xmVnFy2qoRaQb6a4fNsyHG_oSX9dr9zDOtYADdthixUa2sefpkD0gQShnKSNYvAMWp"; e_fb_builduser="AcJph7KFCwlD1ZxvWbZmedWYd5rvWk7yxLQhOGMozH44lgEkGsBUH6f2YefTty4jspk"; e_fb_vipport="AcIgWERCZKpoPuOzmciar8Nt22rGJpcpbm4LgtUkdgzZHkrYkbYr1_uKRU5Y"; e_clientaddr="AcKKNbO1dH0EPNtNAqKfi-TInh5J7-IBaSeYNdh_jVUxnpHtabhTgjsUVvhCR6Q0fW0UVECRTYow42U9YaApkfXiUehfnGIlTbN3MO9bnzc7TfZJMw"; e_fb_vipaddr="AcJDSkohpA65Ic0TDtBT6QdhUYVnlayWh4w4EoEVxD7RdaIKbGEV3Y3vevJ2R0jfeOfOdNvQNjbslPitIFuaKxnrH3xZ5KCGkw"; e_fb_configversion="AcKTSNdMRiM5fVXu_IWCTxa7dUjo7oIm_qZEKKIoO5xyXsz-dkf5uPdsvlIQ2A", http_request_error; e_proxy="AcITi0axlmrmJmiG27vaJRzN0E5Q9Hhuw9jZBrpcUw2gJB_VLGom906lm-V3iZLRxuWdjqTCG5Nx4eM9"; e_fb_binaryversion="AcKj_-WK56w_QXItqo5Wolei0yR_4-zashyl4ZIh8aOVx3qSSXP_hDZ9NF9DMoANCYNkvTudj8P3oB95kRkqcfQwKcFlQBzjn4Q"; e_fb_httpversion="AcKvjLpjeLfigxa2iHai4CEzHnnX_rKP0QpSBZ53vM-eqkukOMEA98x1c8Ux"; e_fb_responsebytes="AcLWi695f375gIfEJdtUnsQ2Y74qJ5xdXsDDEqnI77WgN9fHxnoSfUu2SZtr"; e_fb_requesttime="AcKOnTMCgjUWQprZz9uGowH0zkL9CIObi8-E-VbCM3aj8BTOy4waLmlYEXekjUBuApDu3E6_lg"; e_fb_requesthandler="AcLVOo-OBhBg39BxZ585i6a7UVqCgscJp9yj4plvQZkIDH7Nl6vpyJ8tO38xwdovM5t9VcJwD8w"; e_fb_hostheader="AcLn1csrE-EULby3M9DqBdmELE4_VPqEtM_6G2Do8fHL3JD-C4uCZHOIrnvtmaaWRA6iJwYYFEgpiagQ"; e_fb_requestsequencenumber="AcJZaoB_wi2MpdlVz3oTlY0qCeIh9LwurLzssjcnM3pMi6bmTOWC_pXjCQ"; e_upip="AcLhSHgIeqQANm-gIdZfFoibS4PZMt9Px25qWbd_waUTjHJziT8C83yHz9sgbGMa8FloAc-_hk_U-N56ZSCE8reMjwYRHNBjsg"; e_fb_builduser="AcKdF3HuxDsPA3PZtrBoUXmIFYQV9vLjIGonefngEHXZ_yLArzfssHniUQXN91w1gjU"; e_fb_vipport="AcKBTPqzvlDtFHkB6n7kNX7IEK59k0PkczuhFq8Y_k7-5fB6ioYS1kS6a11e"; e_clientaddr="AcJ4RbHjGxh5Btz-RnfvrYzj8590nJfPsgfd9Q3wVDcKdsnYJmrX55dhchzzAzWl5hLI1j9u1DD4R0NeGQ"; e_fb_vipaddr="AcIRhw1WXxLyihhivmCnq9rh9uaTGxRI2MhwedJfSBEepGqjwvWrfsy_WGGzEsAujWcniBsQyQ"; e_fb_configversion="AcIXz0GNOLfsumQuiOsxDgI1wSy1fuSm1k0FbAsjO6lxYRVyId5flzysjPCxrA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=412, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033055616785308"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/25/2024 14:46:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 14:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 14:48:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 14:49:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 14:50:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033055616785308"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20487550, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3q2g-lTtp_G6a9jEyMvxdG', 'x-fb-trace-id': 'DgB+PCXk/cS', 'x-fb-rev': '1015141008', 'x-fb-debug': 'e2CLS2cqbWZ1weJxFjlLoDVN+fATiSrk8t+/zY2Lx1XCq7Pl/DBFDifPEWxxHO/bapRhKzfXIFKg5WPrPUo8cQ==', date: 'Thu, 25 Jul 2024 14:52:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLlBC8hsfMFvBHuiSPrVt4Me51Pl-KTqe5qthaJ3MtS2WCTsfWeqTFEfPkHccc4gV9r3bdoFrBPVNZqrx4g"; e_fb_binaryversion="AcLq3TvcZd12JkI6noBmfeoS6lRPT_YeRgUkw7BXA3AZbAOjzf6MykLteRPrAMwxLNBg78k3zkveKLH6Svtk7Bw3RFctFFAhs1Y"; e_fb_httpversion="AcLzLeUHIWlf-W3C7uvNHXSeue2p_BOqZLjH3dDUff_f09jkjBWp8HWtz28v"; e_fb_responsebytes="AcJqe32_5s9RH6bWNz1OsmQZH7Lf7Rb1MlL5CZeBJo3tszAIVrC1DRoWHPE_"; e_fb_requesttime="AcLNROKWK98r-gPYJ8n2P29OB5rnIq1ejiRqnqSXR057Ayk6PyoL-HToY2HUBqplEQ2RtCo3XA"; e_fb_requesthandler="AcIBVWcuKuItCdsN2tX2C43cbQ2pAQ9Vu4fA-4DWMqZ1ff0W8uH08W-eEuadLrWKht4hq52YFwY"; e_fb_hostheader="AcKTiT79g9Ws44f3CalcylC_dvHuPKGORloaB5QY6grUGYWY1D1pAecPmUTNClIR4Z8DUZ4TKuq8gi64"; e_fb_requestsequencenumber="AcJ75S_zcyAHq1A_AvPHs4vHFmdDOzKzdVAT1nGPHQ39ktb37XLVEwmlKYnD"; e_upip="AcKKhOPeWVLKa4Iti4htk9IEt5oITNfwZ33uPnk2ZR_AvAOqkMhHTaz6WRd6HIr_pxeW8PMMzPUqHmSXlp8hNYLGeptiefBVMw"; e_fb_builduser="AcIRgKQgMV4XDPJyDoIE0S1c4UiGdWIoHBag1xfuZ7Gz8iXtJz-ZXxrMG3km9CS5y40"; e_fb_vipport="AcJPznlxoCJWP0G340waVShg42jJdu6xJ-cdzf73SZZCj9vrlfgiFAwDSTJV"; e_clientaddr="AcK9lwrX-K-fmFZM9NOyo467Coo6EQZAfLCXy3OeoKv8MMjgrPhF7eT-MqH06HEHoeiBDHdYhWF_2cQz37MfiWetAAY0L-d6zICEqiFqi5KNhQD8AQ"; e_fb_vipaddr="AcLgjDnRGAHF53b7YPB9esISioGwQwldBw6hM0NinZxh3PaaIjbktBDofcR9qcGXvj4F9QF38D5YWitU0Rvg3wUA3mybZNGDkQ"; e_fb_configversion="AcInWc7rsoJEOvhjR0gnpnqmZydm3w_dU3SxEXcUsessX-UXDE4Y96q5XP3hJg", http_request_error; e_proxy="AcK6WUhJ7mZkB5-rn5H893KyZEveUzSONvF9IRTsJ4htEEgPZpIVV-KoO1PB_vPrRwwHK4QqJ3fJeY_g"; e_fb_binaryversion="AcKVc8OV2WPmZb4jRV8eXQucqdrfHB08X1a0Wy-ZGGM677uGwlGRRHgWT_1ZcazuIP-YF4AIR24lEpaYLUvPfglFk7rzt3Sd1Jo"; e_fb_httpversion="AcJuJdEQPlZ1D3nGWA7UZmZm-fBLg6X23brqTDe5m4d6ysV4XS5vaEoN2eef"; e_fb_responsebytes="AcJeO2S8QRepdmmCJvSZjiG0K_bcEI-7yLIkuCDS7qX2m7fTJCQy_riO4ZMS"; e_fb_requesttime="AcL68dhLFbzwNjPrZix2X1JgJhDedWgxnjHE1HyGN2aNel3R6cmce0i30X3-qXgjlFKQKHQReQ"; e_fb_requesthandler="AcLc_TtPtBulYeE5LOxN5TUdkJmFY8pNwVIeXk1MQbIa1MqS3hGgc-zuUPrrtBcwtSsR2ThHvJY"; e_fb_hostheader="AcJwcGp1jj7FSERhvyfj2ArymMLDTJwkNA4DW00mtjmqQ5YrVIWNcXD1QIBgxg0RsC7R-2Tz_fsJk9sY"; e_fb_requestsequencenumber="AcIuB0tfK4wrHCFw-Gld0WeiOhnVyDizcotNk-HY_tvF6MzANajYLPtSAw"; e_upip="AcJTBh1h5Ws9--9gTMbgmNbTPShrFu0g3HQsDL0uYjTjC_fBMFBZmVXnnZJpO4Jx944LEx1O8SD9xWxUa-j77e1a8RqU4Okrzg"; e_fb_builduser="AcIoiF3k1d6-YtZ175EU3o408WsamEaDTs5-Ilf24OQZNwOHCnu-CTxg-fAUd-SKNxI"; e_fb_vipport="AcJ-Met6nSWe30KnrwvMujeKbDSAPsHORit8SxrQUF0UstrhYsiF3Nr7hWAr"; e_clientaddr="AcK_oonsmk1NApwsGVddCcHo6c0cJNAYKddNX1qPrU--f80CxsJpB6hzGYw0ubI-QnCX9K6iMXilq3us3A"; e_fb_vipaddr="AcIOkujb_pKqbwDtbawJivaeX0oQBfukd6jtzjRQJr8ZfvCMUXfjKjMdUSK2bD3S8jcDY1I"; e_fb_configversion="AcKuv9H2S7EWdKTsy5YkhSdXto40tCAWHMbeimV_Dcnw5IZW3VfrFmAG1OpYiw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=121, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033055616785308"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/25/2024 14:50:26: Error on send one message facebookId => 8033055616785308 07/25/2024 14:50:26: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ArQHz7RkvqiBm0ZblpMJ9DD" } } 07/25/2024 14:50:27: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033055616785308"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20487753, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8rCx2OJHDJ9hYLqEO69F3M', 'x-fb-trace-id': 'ESis/Pmu+VP', 'x-fb-rev': '1015142028', 'x-fb-debug': 'Yw4wzKlhn1tsgbRTpYV+ZZo6gcumcUyCBvLqUhTP+050UaWA3YbGB32T0skNo+x0wje2RwY43O3q8NrSR5X2qA==', date: 'Thu, 25 Jul 2024 14:52:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLk5QwlLMU_1bZHlmFnh1ImLxBzD4-T4P4BvwT1_dBlXb439rOkNIUnuw7hXiA8zUtr98SyzXmXmTrV3M0l"; e_fb_binaryversion="AcKssKSRhSVTfgXdZhSWaDyiz72BUL80TiH2hbyC5O6uLp8HyYHq5PQboYaT-WSNPB8Ne6n6GTdFLBgtLNseT7CQM_UMHMWxZRA"; e_fb_httpversion="AcJnlZKgpcJUkWqGUTA9fLm5DRQhxnG9pAR3y4zyHB4wnWKWsbEpMvRRbfiJ"; e_fb_responsebytes="AcKNKKX7M4Cmx7INXf1-STNtSujynXI81mXpYtHt7WKgcE7k7r5icX9HeZ3x"; e_fb_requesttime="AcJkRbmTKApjOcKOrMPC85frKVqPJWMB2DpxvPdNPe7sKy3VH8e7K_EAsQbILmnBnTmT4qfs-A"; e_fb_requesthandler="AcLuI3UHxpZptSJ1wLOWLPbRXEhcOnRQWtj_tFQ0NFAc0xj06jmL3IrYe8kE4LWzHXS0aDd-5ZA"; e_fb_hostheader="AcJmaX5emYSRQKTTrNH5piGVkhnvOfRK7XJT2lzZ9eo9Ubv0ZQqY45Ak0im4Sdq-kPd3XedcUOZ3bswl"; e_fb_requestsequencenumber="AcLpULbnPOqgdTB15Uuia023HqFzLGDW4Ul3M3RCvcnwgxXTcG4d6ihYyMGH4g"; e_upip="AcIo2xfQcphFTFtXL3bylnI8sQ22G-puwsDvIHE3Bodn3tQ3PX348K0LrVHbacuarvh557QmbJxpwrwWOrPZcQkHuJDtMf4rzf4"; e_fb_builduser="AcLmajc5VMCR5GI1rB5HCCbw4h-4QJavq2-idDDFPFz3k2GZ5zfrYbqgjH2Ic3UrV6k"; e_fb_vipport="AcJgJKAr4MaAgrKGaDryDsV5wk_I6B49eGLkpkvlAyyXs9KnhyJvmp4bS7b9"; e_clientaddr="AcLnQKvUgiBD-lqAeVd6qQu8B6uFWeMr_ihohztp9Cr7N0c2LUG_AZWf0uGDf8zlaIjOWZyJHIXt1x_qxn7Wbo3pxKcrKKyoUDCUfvAbGXgTojkRbw"; e_fb_vipaddr="AcIwiYM4iSl7nD7U7UR0o-tEB2LMwkvhhDKs9q2Kq4nLBtSCRJG8iv5IqqkzncTWXnJOAm3FYqf8QlAQGpz20A8G78f8OIZoNA"; e_fb_configversion="AcJvJjqvG1FdWavGNWVQPeez44lZWrJDn6jWqKiAJ6uAmGMd_ZCvrxCBWn7DOw", http_request_error; e_proxy="AcIze03Ig6RAeqopG8a6MeYDwHeSEnzBW8yTAHv79T552IiNhStBn00Wde2-w4pK8cr7CG6Hp_xC9KC4"; e_fb_binaryversion="AcKw3r3WfbRkFtu0dVO8Aj8j_w31yYlUs0tcpzWbqSgWvVte_gkjcrhzt_SP3kmj9YiZ2mhiQetHL9NbHK2_4zIgK8NRTAdmS4Q"; e_fb_httpversion="AcKvEcDptPnCkqb7akexPcrLYdiDpBPU7xeT4MO9ylxCh51OsXCetZGaWc0O"; e_fb_responsebytes="AcJ0tR1FfDFHbLIMti7RFMCx9qmlL34n6_E6evDfHWverNis8UyWdfRjuzIN"; e_fb_requesttime="AcJG4Pjq_hFCoY7X_GX_pbzeKUQVBEqF7d08oNyFjz_n0IW9GmAy46_1NfE0I4vGwpmwFUxyYg"; e_fb_requesthandler="AcLiLOnIMMO-HUBljBp79M5a5VeXKJKTfFZwCtuT1SaLALov7onh8_QzOEBY6RyiDxgk0rixpmc"; e_fb_hostheader="AcIRXP4ZAAMX28Tz2EgpN1s9EMU4Ibv5OoU1hjAWkuE2_gxEiGHPiz5M8jUvQLdERtpmXKOI1IdOw3vr"; e_fb_requestsequencenumber="AcLd5-6SZ0Su26WmFGUndLVq-U_3_hUhvyv3tvgUxzyEExITeuBJuvDm-A"; e_upip="AcI4pFlYmVvnqZ1igolCxicLwoKHraVYaTYL1qqJEzRVvlzMR3PLke_4wJ9sXhcl8YFMwE67-083kEYxZBtz7vQkpikfxg1EIA"; e_fb_builduser="AcJEpgwHk6LR6Zdwqvt5n2hH2FziW1IjzdZdVc_im0JmvwFAe5K2r5cHGXLWQRLpICg"; e_fb_vipport="AcJrKQLgxfhe-9BhJsyOvHP6ooeiXhLCFxaYtPmaTX5GMLfjdzh42LbpxQHo"; e_clientaddr="AcIb5Un6oN1rbzsWWvkVKuk7kFzseMGPE2ZKw-dSwtoZ8g3yIprKfCM9-eussO9RCC0URZTYmYEwjMpxDg"; e_fb_vipaddr="AcJGy6jfqXmp1Ny7LcRR334SxDhoUnuXQyqrsy1ClmtJw0LVUM4GmdfDAkH1tgHHkvN-cFI"; e_fb_configversion="AcLFAjIRxAFzlrc2YhcYXdZke-UWTtGsFyUPCHKRmdnWLDzCyVY2pMAiZEdrnA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=241, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033055616785308"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/25/2024 15:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 15:48:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 15:49:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 15:50:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:00:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:01:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:02:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:46:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 16:48:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:00:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:01:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:02:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:46:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 17:48:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 20:57:24: Error on controller payload Input Treatment=> type not found 07/25/2024 20:57:25: Marker: 0 | ID: 66a2bc35ff349866cd50b3be | Error: cant_get_message 07/25/2024 20:57:25: Error switching inputType 07/25/2024 21:04:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:05:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:06:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:07:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:16:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:17:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:18:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:28:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:29:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 21:30:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 22:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 22:28:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 22:29:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 22:30:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 23:02:09: Error switching inputType 07/25/2024 23:09:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 23:10:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 23:11:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 23:20:29: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20603971, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 25 Jul 2024 23:22:05 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/25/2024 23:20:31: Error on send one message facebookId => 8432881563412604 07/25/2024 23:20:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b4abe740-4adc-11ef-86d2-8d9f39628c93__1721949725620.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AtZ3BcDgu1neE9jH04y74rS" } } 07/25/2024 23:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 23:28:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 23:29:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/25/2024 23:30:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 00:25:18: Error switching inputType 07/26/2024 00:27:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 00:28:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 00:29:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 00:30:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 00:32:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 00:33:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 00:34:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 01:32:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 01:33:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 01:34:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:23:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:33:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:34:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:35:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:36:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:53:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:54:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:55:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:56:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 12:57:13: Request bot not found: { id: '1591915494408146' } 07/26/2024 13:23:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:23:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:53:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:54:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:55:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 13:56:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:15:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:16:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:17:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:18:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:23:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:26:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:27:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:28:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:29:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 14:30:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:21:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:22:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:23:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:32:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:33:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:34:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:35:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:44:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:45:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:46:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 15:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 16:44:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 16:45:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 16:46:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 16:47:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 18:00:09: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/26/2024 18:42:16: Marker: 0 | ID: 66a3ee08ff349866cd50b92f | Error: cant_get_message 07/26/2024 18:42:53: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20829508, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 26 Jul 2024 18:44:30 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/26/2024 18:42:56: Error on send one message facebookId => 8019452768091529 07/26/2024 18:42:56: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/17f72f60-4b7f-11ef-8568-2d83126cfa52__1722019470678.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A677h9L882wimo6PHbZI6wn" } } 07/26/2024 18:49:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 18:50:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 18:51:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 18:52:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 18:53:25: Error on send one message facebookId => 8019452768091529 07/26/2024 18:53:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/17f72f60-4b7f-11ef-8568-2d83126cfa52__1722019470678.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AGOD7Qj6Wk5k3BuUSCihHHy" } } 07/26/2024 19:49:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 19:50:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 19:51:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 19:51:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20842370, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHDOYxP-b1PczLWoM1fkYEI', 'x-fb-trace-id': 'AIyiAoEpkJa', 'x-fb-rev': '1015183498', 'x-fb-debug': 'DGQVf3VIpJef6RPTWbKvOodqp5uwsKufE5NZWS/lwsqFeLNsio8JXPSvruFojLr2gm0CB1Hb4p/ZtzquF4B0sg==', 'x-fb-server-load': '29', date: 'Fri, 26 Jul 2024 19:53:33 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKhdn7R6TzuwwBofk7c8TgCtaG9ZaXfJSRywsHcYdqQEdMAZjYnlyd-ogc_sE1QnROxESk_SZCQqbitMgVG"; e_fb_binaryversion="AcL5lDC6VnTafSi2JFHb2QMY-aGWIAYxlTQb8_rJR_il2IO9InyrknWCmCOigPw1v9QUnFHfnIEkPR-tfXubA8VrSoBwKz6apGY"; e_fb_httpversion="AcIfQ7z5nEBIBB3JPuGnZZSdXAlFsGayE_eFAXmxVP7yStMPO8WcFGzokbxt"; e_fb_responsebytes="AcKyB34v-ogn8box-xkaGmydXNBD67A382a8RoaMfCFyODums9sqVeT77GWW"; e_fb_requesttime="AcKpriV1oyyzcuXyADnQ-flAaQ_WfpA02H8U5LMRCXkfCc7V2X9QvOHfaFZ0fimEtumttbsRRA"; e_fb_requesthandler="AcLCcNe5x5L9CzA1HCHV8-7HHFA9Sbwz4FltPlV69JEPq_DXraeHY90TmDHbUIr6RFl5ZsKUPGA"; e_fb_hostheader="AcLV9734oJcd30Cz3qduv-KEaof-f8vdcaBodDEhw6XDdSUdn_qndurn-HfcPWVE0bkFL9q-JNiXMp-0"; e_fb_requestsequencenumber="AcIvlFe-2tBlxy3V5ZEpJvYe08pP5MLuOxdJh0THz0vPqx9KrsfS35itWqA"; e_upip="AcK_C_E2NjPpykIms3rrD0Doa98bRUc6Yfdnr4UmPc3gH-mhrjdiXJVZuTK3nLJPSPa-rMLyCwzmb6RPqX8Mnubfv8BZgqhsXllw6rc"; e_fb_builduser="AcLOUKVJK4lQHGmd7z2jrAv18RlRKdg7PdqvsDQJLL4i6Wi_ngC05_fp9bwITueUznc"; e_fb_vipport="AcL4CIv1AKItyOiuwAFfXFX6VQIaDuz41kNYFF2ZtiTY2-zSKf1uLyh3vFqv"; e_clientaddr="AcKHuL2eOixXaXFIKioC_xIPYea-GAzD-HCPvFnEP2UfQHmxezHq-e6Jl8ynkalIEro-1DZq56hRhzWb9HgEZQ5lIYCDgWmEY4WGmLIGNmGzgJJVkw"; e_fb_vipaddr="AcJHqZ0Np549KAZynQIkGfzSYOQhcxdpvmODHhSMmHLG7BJfyu5iL-2mgF5BN8cCSL4akkgh-SZCOe4D0hUKfbn58V5Rg0AiLg"; e_fb_configversion="AcIf4b51hvlka_cs0XaUsytEToKPEwYZStPlsCEJBU1d4pAxxHtftlbZ1hO76w", http_request_error; e_proxy="AcJMi7WlFwlJB9RQ8uvagzwpfzVsUP-QE8xIsA-mtIKTohLA-sh1f6oSHH6p-pywu8wVnhyjqIIDAjlE"; e_fb_binaryversion="AcL1n4vhZ-EeqgruXtA766WBFJgyPkGOQ0fjwiPlfsT5Nipo62olYay-rhtMUFc9kUR2anor9nPR0H47AHvyJ1xn90dyhSSuTwo"; e_fb_httpversion="AcJjbf-kp6Iun5S--va1uoN9ULUAfO42J-ro63H5JHYsWlc9IDtGiyJWszyA"; e_fb_responsebytes="AcLGPGUu0-8sudtUq8F-LiXTIkiAhveVbctif4DWES_gF91Cnc0tVdJ3zdH9"; e_fb_requesttime="AcKFaXQiVZhnI9JbjMtxTihhv1zAeyDqUfyPiXGEVUu80f9tdwcR4JoRGUnkk64dmb1m1ucJmQ"; e_fb_requesthandler="AcLn_cG5T_UDZTCP1dzvH85FeZOhmGhc0vgZnijAttutHbdGvfMP5aYookBYmpUlKIeZNAlg0LM"; e_fb_hostheader="AcLdDbKwFbIDjlm6TeEhLItzFEgukM9vYjBP5g_gL8PGW609fws_dn-HMB77EeZUhWnsntUtefZu4Eve"; e_fb_requestsequencenumber="AcJPY-b9XYSZAmVJ25MyYeEgYiFPiKfnCpUc8mSA5M4d8nVevoCb6pp4Yw"; e_upip="AcKM2TTwUbGLcq9GeDNBcfnn9nGIbaUtbzZF07F2NlI7ydxGjkRMwk-tYpTUYlugzyHGGWbQNnQ6TqBnfQ5plZsLmxmHOwtsXg"; e_fb_builduser="AcIFyrLCHGzPcLWhwrS8sdax6u8Li-5zqT0IJVjuMpFk4EWm-OC-bxkPeTU3KJmhILI"; e_fb_vipport="AcLsVXLLvK-AO2sP3zlY5TbxS1jM-4s5M1siyynT-_1Djgjd_jz87sDKOIqr"; e_clientaddr="AcLR6d4q3-1700UdX1NTB5dnWuaQCO4RB9uECgnnCGZeT_GQkJO0O77u8MUPZ_iBeV5S9pTqU5neh10o6A"; e_fb_vipaddr="AcKYTQHRQ9txCVkPmxVGiSr6OzqiQb2N-XEfST8YcO2fkgGql0qLkIpZm-Wcyi0tYhmvXyk"; e_fb_configversion="AcIPG7ei49x34j5eV8XtPdg97sNUhXmJVnUUxmX-tgGCsEIgUtzaRTEeK3FDIA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=105, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=354, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/26/2024 19:51:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20842608, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'At542V0_Y3mg9pZCC_bKl9f', 'x-fb-trace-id': 'EtLWlVMG1L0', 'x-fb-rev': '1015178554', 'x-fb-debug': 'NAlI2O6uDJm64cwKJsvrZOa4n9Aza7lD+wiXYENUD8XYTtok67tC2Y/wZgRrDz1IAsGmJBXTGo/xx84JMK6tPw==', date: 'Fri, 26 Jul 2024 19:53:34 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJItac0cEsJtNr_xAwqD2aLYK00A8axE9nIUUlgUbV4CVTlp8kAW4D0fREatfwZxVjrW5tMRezNkRrhwkny"; e_fb_binaryversion="AcKMoX09tMYXRsWsj7KermW9uv8w9woAwx8oEzcGD18Fx0s_wuj_iilYeBLMq5eC0xOZHm4kpKxhHdUZYwxkHDzXQexaQ2IqMgw"; e_fb_httpversion="AcJRJ9_nRJ0cre5zRDtgRjEnKscKpiqMi4vAzP2pAuiBwuK5R57maljBZHj_"; e_fb_responsebytes="AcIXGqLjCw83UeAv0nc2Eg1F7_CJni39g5_1vmvYumUQQLkhC5O2wvJpFMC-"; e_fb_requesttime="AcLkM5EhmBcHdtKBX-oHwQyFk7lHJjfG6GiswR2ZMz8W9AG_9K3i5UqJLMpLpFMxbTBGdCbpJQ"; e_fb_requesthandler="AcIeDmn4nvjLl7A9ptB2kYY98n2xNLXW_bURKW9Akq199nkGby39yP7ZuAnsWdOiPfjJuUAqTlA"; e_fb_hostheader="AcL5ClFjMX9Hb6E1XjjPa7S3ZvF1b-822z-E72n9IQ2_R9pZwNhJRIWhveXUOeUo_fQzQcHuIA61FGzN"; e_fb_requestsequencenumber="AcKibxK_PQ3GPPT0aBIoPtsIJu37RiH7Q7nURDriGO5iG_pafs7C1V9uY_WcYA"; e_upip="AcJ3KHAfJYCS_QZqobTl7mxFTKbI-f818Y5f96KUGs06AAY2GW4b7f6PnJg0u_C3s5P3sFebcyRXcNcSNoa0SQWzayK2dfbGKPVLoqI"; e_fb_builduser="AcKrKLk-WqbpevQez7dzzBRZVM-MN0ulaCXnKMXhkbKSSzUjPjRDRy3kvO0pGBaDscQ"; e_fb_vipport="AcJzbmEN46aBx3dxCcf7eJPJ8co9PFqPc0vAPC6JiB1vPg7Ru7UECEeNY8GD"; e_clientaddr="AcKZO03Sw_Myw65Nt3dcqLZMKMI5Q0jnWvHhXogvJmijsjC2gd5FKiFbeXSGBsMICJybdd_uoJPsH2u8mvbUCkSmDj8_QBBDv_ExKPzt2c6s-D4I"; e_fb_vipaddr="AcJS3_gtq2JgbNIBeWFffy60kBHo5s5R1aXZvuxHSmJw46BECGCBgSAIF4P00HhisjIqnMn2JVTZYqpXWRDMTCXE5cb0dgTEXA"; e_fb_configversion="AcIPcYcU0JlNzFhz0O6zBSZlv1Cxpfia17zwHyqcsLl_F2vm7KpqVtNtA-y_lw", http_request_error; e_proxy="AcLfPrG4_y8cvQgoscWu07vphjw2SJetzqvfMRnml5SIzLcvit6ADtBBJFM6UWPUbJQ5koXDBATm1ftD"; e_fb_binaryversion="AcLGTDcfJe-fHgJQiqKAcnHvcK3vzRxim2RkuyV_OcOzCUldBl8l9uC11Y5EAlp8vSfV7omqv_5fF4FYngbhIhWwKmerAuqKBe8"; e_fb_httpversion="AcI6V76modkRcjjALhV_mlefZ2_6ST401uIkX_pLYmL6-nzmV_iF8XPd8JO9"; e_fb_responsebytes="AcJeB2hCp3ncBp5Jy-N6lVQNflhr1sU-vQiX6AilhZzSV__57vB8KgYdbPSp"; e_fb_requesttime="AcKVAkDco4zUu91VD_NHH1a3_--33_BgVRn-ZME-yeB5DLCmQjlyLeeEwE2zVFUSCC3SIK5P4Q"; e_fb_requesthandler="AcLtjcsPEhhLWpL-JIF8Z9b3762gHKKOvRsO9li5rm10SDaWUvjkNPB0cuu_BS4IuxEhJlpUow8"; e_fb_hostheader="AcI1znba_ysWVNYSidls8Sc4OnW6VT1f537WYlcJzNqWfordNJxRP0diXfjRlNXXmJ3rp9RkPWqYADSa"; e_fb_requestsequencenumber="AcILwCgKmBLrrCUz8WbbwbrLadTV5QGxmy1KbhgbXxduaBqFyJxfWooDKg"; e_upip="AcIucUc6WHwS1wQQ4vyS2iz-A-E5m2498fc5xMlfIcu22TQ5jvYQyU3hc7uutKCJZZFHfE0yFFGx2kaqS-hdtQPuT5Y4Pt-8gg"; e_fb_builduser="AcIbA74AmP3Lh-6b7eIvJ5F3nBxomUqxkuLDtMBgwlWZmk2arXebET-SMQXH0nXASEU"; e_fb_vipport="AcL0eNv7O4pZ2FmnBVkhbGmUHu6jmLV0ZqoFKHU4ED48j9Fy78Wce07yVSod"; e_clientaddr="AcIM-eMe9iEIOD0EhDLtabxY-dEmYqVXElzkrAxyTGVsKp3ms2H89E1cVfXptzZ9WRqfyimz0c3NFaE6ng"; e_fb_vipaddr="AcL8G99Pq5im77-RoIw4wzHKW2c-N8atC4YchOQKh_mKhIXS9gVr6beXxTX73S8JN4VedJg"; e_fb_configversion="AcK-kXxVzbt5emjIJAyi_O_YpbdViG3tX8slMxdOekI_DJRiYukhS1_ANppskA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=110, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=225, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/26/2024 19:52:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 19:58:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 19:59:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 20:00:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 20:01:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 20:02:23: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20845286, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4SODBixMrHpwXQ5OcNqZ5q', 'x-fb-trace-id': 'A66ymhbYDE7', 'x-fb-rev': '1015183498', 'x-fb-debug': 'P/HB+y3iUM33ckqTXnbRcerxuWibSa7r18aGf+DV2j9eED05jVUdGC+ieHWoud5H+wNT/eCE+qF+Zzxh8b1rSQ==', 'x-fb-server-load': '28', date: 'Fri, 26 Jul 2024 20:04:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIABYtyMmtgFHoGMlX4X8i9MydnbeVygtYdFu6ffwBnabaJpHPw_7UU2v_dAXvCs6nGbvSMtfU84prYs7Q"; e_fb_binaryversion="AcKLtgx17jOmhEHTMWHkvjiwh-4_LM1UKIPRYHYtWWl6pv_mgk-V8U4Shy9KYF900yW-UWPawNRPQQpe0qFaPd7eJCLdVcq5BUE"; e_fb_httpversion="AcISaKuyZ37OxUEN2qefVk0DzNkCchfqnyZjoIqSte6_lIj3G0jL7kTds20e"; e_fb_responsebytes="AcJrtoUIr_yjcrqdHKX6cA6z8tFEkpJbUqBmfnKBBc4JVob1y13ol8IGykGf"; e_fb_requesttime="AcIKqrV_I1uclH25GaXBsAcTScfIl_57bFbVFJqIVoXuzodyXOTQxhc_0QjXkjozjZhVcKrgrg"; e_fb_requesthandler="AcLhpGA5d0A_oGVLwSz59ak3H8ZXliLVoLj3-oQcQvOZiyFULU6uDQHhq3aIx7E1jjstF7kqYM4"; e_fb_hostheader="AcI3XilXg0rm7oKy2CBWF0nOhQXgBtV_ET8YFzVb0zlLjac7NHnlFdjzgsMI9LjQwFWF2XAaNI346L6Q"; e_fb_requestsequencenumber="AcKJaZMJ9LEjCq3ifSaDyiOkOJAPskDIimYhy0CqFCGzMq0OJrTDVv8RKpQX7A"; e_upip="AcJ3UWgUSsLt_ovbqRjnGdepaUglx1B_rI3kszTD3aThv36x1q-MS5wmo0D5Vjr9XZdTl3cjwFfFK9ShsZSU-VprlSGujuklfWAFbw"; e_fb_builduser="AcKuRv62fYCMI7Gb1Jo1hqTf5B_VosnuAWiq1DOMoiUN2AbIUbjE_Q3qqs2h_mXin_A"; e_fb_vipport="AcIBLy-BZWLipsMSRcAMU42sviRl5WoG39T3S4InCdD8AWkxdo96kEoPc3LZ"; e_clientaddr="AcKEUlMHgKhEPItxrZxkNTXMsnRa9B-SK8fxKGjFblDNuL6clOj_8VU0RAkosbW7D6aqomz2X3jFODO2K3slSF5GBLEheOXlY6cBEZCQjQnTNxbMXQ"; e_fb_vipaddr="AcJuHy3DvJOxkzQk66PozWadZXpJf3yKyZFR2aNghW3cTue84uhpePGlPFTGNNS-sA7xFyJMLdG5odJnhh4DAuaix3U8AaRmzw"; e_fb_configversion="AcK9izBXAIW6iZ0OMUYUPnTbGquB5TiBZkGK8p42fems5e-gkuhoALcvpyVbtw", http_request_error; e_proxy="AcI7_F1XX2oL7a8_xXDCx1LqMmwMwaWxBKdmxYLnaHLkLCl3ZXhMJJthZjahlYTQL2jrTMucwe9EISI"; e_fb_binaryversion="AcJPpMVLWPQjuamlICtZkjbydxSctT4oKGN_dwseUR8jE9uNEg9RVJmul_ttj69D0ph3Db2rfMkEAxYGzvu8UFyDWZ-wL6sgQ2g"; e_fb_httpversion="AcJIDFBoj7MGUvbpN8XdUhjyIUUXffBkNvG3jVyE5PpsiCQeox_oxKaXC0zm"; e_fb_responsebytes="AcJZn03bjJScgR5mryOvIsV3WF_5C4boX8d7rN9Oh_XdFTzZ1X4_AFREllJX"; e_fb_requesttime="AcIAucTOYlcvk_6Bj214yjuWNJBZw22GroxLkkgr_xl1krLUrb4qXR3l9UpNZXUqwxQCcPbtZQ"; e_fb_requesthandler="AcJDRzexDA7MShfoUBMbw1HUAbixDsKSY8JgoaV4ZHFGrbF1aRru0yxG8C0yvBOGzvDFriwSud0"; e_fb_hostheader="AcKhsixCUonb6m_NfS65iMt-ofRj-LEwJwSllDUNap7tRgL6geqU5qkgERAGoGat4UPzDfTGPJUXbAk9"; e_fb_requestsequencenumber="AcIkYPPwRkAURiRsTJG2cIqqMysL2OaCwHpugC1KDBfm1Qc0dhaHc2AW5w"; e_upip="AcJD59ySQDDQ2IboMvfS48Ctn0GMA23MBjcBbJ6ilvHhRFTy2ckGryj6cC7x7joF6rVVFFkIka-wC1TrCb1Rhb4JgtC7AiFdzA"; e_fb_builduser="AcKi9S0U1Y_SIUvokUc6NUsH2o9gBqc4uy0EIs8pLp5aeeuk7gYkv-HBKmOnE6W0ikY"; e_fb_vipport="AcJ1ntyx9tF6DE7BRGrfo4e-AETnDvKzmmPtz7iCZuuTjgKIt8KDrZP5ifTG"; e_clientaddr="AcLBUoc0StzUzYBQtUtCmQ_QKslaonIF5mGPrniJ5YlULRyA6fp90yOjEtZOg5-7ovl-qmlzdbVnsw_PUQ"; e_fb_vipaddr="AcIZxjpGzEroZWj1INw1C2-67akWOKEXR1JiN9mpnCKw88Voa9hroQt_JMUXh_NORjUq_tk"; e_fb_configversion="AcIDaoS_6XtJAgA9RcmST7FrrcCmb46_UCVvhRMrmoRT8x5OM2gpFHCZFVtvsw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=110, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=199, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/26/2024 20:55:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20854441, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtR-dhiNZrbvfiqnyBXn7T3', 'x-fb-trace-id': 'H8EwKFzrcMR', 'x-fb-rev': '1015183498', 'x-fb-debug': 'py4nztGIGTutmPCINoDmMEvq1LT86DJmmhjur7bqD6922vQ0sNh+ZbTCP4HLH7jTADf9kqrYCBpFzmBRmOmDXw==', 'x-fb-server-load': '22', date: 'Fri, 26 Jul 2024 20:57:15 GMT', 'proxy-status': 'http_request_error; e_fb_responsebytes="AcI7GP1YShWUIWzr54NC3WpI1CVj_0Xd0twgOx6sm_YbkOw04B-IXfvGzYCw"; e_fb_requesttime="AcJI9i2km0h9msOZ6ZGUlOX5fyvuz62PyaZsHKIsaUyJblqaZ9uQvIDkYBKjTBOTEnirjl_3pQ"; e_proxy="AcL-ZjE6yNf7c3HI-XLt5rDSyRVQ6AAZTGCiAwMmG9cjVehVWR3qqT4myWwUxTEHUGQOqY68q2VY_DeJr_c"; e_fb_binaryversion="AcJPIqoRgkkqgJ9etSjzGL7fQHnxniQrQCzxBD6CKH6G5Rt-BEPHigh_8ct05SM7uASxbVOjxzkl2mjWMyGG07qIENhsJpDM8sI"; e_fb_httpversion="AcKy5UNSGk-gFDitIMT1GyCwT_Sll-Y4BduE--P10WN0FPA-bwiftbhaQiHb"; e_fb_canaryid="AcIg5R0JsIaif4u9Eez5MdgNmNwLZh_pP_xPlNziOI9thk9uqj9FHrBsNJQKgLXV1xfJ3Kq475E4g4F9Frw6kj6yQBi1ClWv2Wh5BKLbE4kHRdqiyZL-BQRhcwmygJT6qU2KU9ITnYCoRXKPbOYPbQ"; e_fb_requestsequencenumber="AcIXly2qe4-qe3KbuAcocs0Mg84OiEsVu0o0uW6D3TESXXbOfCEoiDPwQAFx"; e_upip="AcL3P0Izs4t1bHYGUVm4So78N08QP7Hgd1eOeRMyeV4bGPbwrxL-6QBO1fXmcLaOiZPtH8-65LcgFe4Z2GtZ5hcHUYhzcnj-MX5RH_o"; e_fb_requesthandler="AcLXIVDoBTe1_lP3Bbw52v7W084WdSJKOVIGHGfP4PBP9oJwgdX5wW-Mwk-l42eoomt4u6SnBK0"; e_fb_hostheader="AcLk_E6Z3JSdDV-ak3JzkRuYUnRGKYCCSn51mzqWRIAPAZggntkKQMQXf08_LytHMhwKZM5KwmroSRAO"; e_fb_builduser="AcKAGHOS3hZ6V7hnVt9ROu-Dx1bXJ5RZcrDb5w6PUOoocNAUzPzm98Di4-FaN9nBmEg"; e_fb_vipport="AcIvQjf9ThxI1ceU-N3w3vNPulMH4kEYNJgfn3U2J8VIHlAxzLKWAMryP0yu"; e_clientaddr="AcJIAcpNhbVymqHyNUZ-YgcRUDE3fwwvpmcXrbAxnfaEOlDHpRpe8qCKmdXqDaeOTcbPp6jnOxwH471YY2SbOdkG9gxHL-91xuJLDQkxLZKSaLNXhw"; e_fb_vipaddr="AcJRd8s3UIpWjtKDxHjz2Rcw9-0jPr5u4vGVmsL2sTchDOfQtQzdsvI1JPU-W0HOTfh0ecfQf6QJK70Y4rH0VbDXzS0uev1sDQ"; e_fb_configversion="AcKf3N1lPKWEConi4mIa0ddsfYWHX7lg0ra7kk6HRYw1CShJWk3-8zehcWo2KQ", http_request_error; e_proxy="AcLmiVzcnudSa5y5seW_9aQl9TJI94ehgqLsXxgWS8SKj6K8UOQXvY1kUpFLC8hPDCPrwffRMmno42f_"; e_fb_binaryversion="AcKYktQ0y6u5svEa-g6cVKQtVKQMuA56bjqvKymcCFr5HHuKxNWML5NzT_1UxPA1H6gO46OZ5o2Ad60WeSNCf6Ck0kNdOItskMk"; e_fb_httpversion="AcJjtEyBhtKGB7czb5h0LdEgx9ufABqWjOr3CG9vhyHQjKzXFy_WKwRsFwK0"; e_fb_responsebytes="AcJgqGHR2wuCk4fKJt6CtRjLCk8BgOx6JyYOzlttLVIkFa-V8prJX4YSG3in"; e_fb_requesttime="AcKcTrLgZaUjGREzSPiwEIjLDWIh8-ZGvYaHSq9TCDwHj-L-902BRGfnNHpfAuBVhr1_0A0qyQ"; e_fb_requesthandler="AcLk5LRXsBqp0Q8v5pT2tBry4NnFVKmGPrf0w_LLS1P2e0pUnZvyUdYHmldHD1YC_uen9TtSDUI"; e_fb_hostheader="AcIz83IYBH6gd_jtYbHtuuRzwdZrzFZg3jFdg6zUgD-yRI8V-GZ-xROvZlV950RuSFsIwFlkIHsbePlA"; e_fb_requestsequencenumber="AcJh_re-djB67EHqJbgwHDYX-_ZnCGccOF-UE0MKwqZ9EltLZff5bDyM0w"; e_upip="AcK6xJgCjiRWQaDCUgcRKORX_jLYeIYHE3zytRrtzNpo9o_VZTgu9n_-ouLlUIBGvTqw8v2aMaM4ttlVB1FiK-nZe5VZIuWsNA"; e_fb_builduser="AcJzeEbe_DOLdNOAoW2uJRVOY0PsqmHBjiF0sHBn-1_3-9HBRw-4khW3ZGyYhMlPlds"; e_fb_vipport="AcJv9TVh_tOa7mxGG3BU3YXcn7abprBYQ5kXdcxAUweUDma76ZMVlXvz3e5y"; e_clientaddr="AcLbKIjb8eD5esdz4hHU8sRPH_tR5Gt6W-l1Ob1kXCY019RDlPZz03OwPC5rtCSQ_6_28Yzjm5Bid6Pn7w"; e_fb_vipaddr="AcIIiaVzmzOfNynBQLknzvV-bCW9TbxSf1p7M1dGmS4Jp8vop0_fS7TUP-M1HFpEUP10spJDQA"; e_fb_configversion="AcI1rb4waVFZNqSw7I_vBcRW2_SJ_CpwkTT2BxMxxjWYAviAudK2qVOnYx0C-g"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=168, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/26/2024 20:55:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20854630, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATt1GDl2AVoEej-omIlazp7', 'x-fb-trace-id': 'HjoyA84J3ik', 'x-fb-rev': '1015183498', 'x-fb-debug': 'MIxkOc84kWFd+csgJAv0ir5QrP9kVHPjrhyYD2DDojopCCjOOk0mPCnYQj2QbjJtnHQrLczNnc/QV6KX3lq0wQ==', 'x-fb-server-load': '31', date: 'Fri, 26 Jul 2024 20:57:18 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJsNhjWtWUu_UGmoXFyIHecFvPck_3S_iZ6jej4F216uOtJjwBP3YmQ4dv7-maietw0Zn9pjeyvvZK5V0Q"; e_fb_binaryversion="AcKkmZBxJfnwKvOGd12D3hlsVmTyBxtbwqIcWUR4-_PdvAOOtnuK2OMFaiTF2dvoxadK-VcUjpOy32s1O3GBsIaDAW6wyjFgv8o"; e_fb_httpversion="AcIiStrm5TL7DqInbNMiP8-6bj7523dosCaNwyygKIEJ3QImnCjUZjzoNQuu"; e_fb_responsebytes="AcKWL3nuJRnwzJKEtMrkN75QYvzASgO22VvZIbwh8PeLrG9IjIlbaB90j9OV"; e_fb_requesttime="AcIawoTWdOKs7usFd83lwHhigYuDeVxlCItggQbntrCdN2-GDW1Us3YKzvNLywdCOfDTh7TTEg"; e_fb_requesthandler="AcJwYHQVuG0Y1JxQPQZGEdRVTSTHcDYT3agxrCvgFoBdD-XQkpb8OgtglGXHfQzoOHY_XFd2Fjs"; e_fb_hostheader="AcIAYiZrDBhlAg35HviEHYD9cbJfgvrSBL1HXa7IMXVrm9cjk4ElU_N7nEjEA79z8PdpNbTWwIeTO2De"; e_fb_requestsequencenumber="AcL91M6Zzf43F69RTlCxU7-HRiJMelOOE_Wp7CTFMLOFGNQca5DAz67tgoyrXQ"; e_upip="AcIRdqrQ4uw4-PNX8brF9I6_8TvdSJkghRumNBHfQuJIInoHo3cITKnRQocgZNs-psZ9LIlX5VpxThcl6-A0jNFW1YqqlM-lY1jXslg"; e_fb_builduser="AcK6kZjBniFYl8fq6ILS-bSdi7a5TYFsdDVQmybFg1C_Vx11XtwVw9Tdi_moyf2nqDM"; e_fb_vipport="AcL0-H2j7aBzrLUW7_zyh74rNJ7rZdgyG8wMY2qyPyDYw14yB6DX7l2NAzNE"; e_clientaddr="AcLlmZxZl0RL_gkELz0oSsvpl9bdxwMJQA8OVpyrdhQ-JUEl-xax3lrs8aVDci32rpDh9TV6ttULFznisYauHdESVYU9eOKzy4dt9qii9fEowZiSwQ"; e_fb_vipaddr="AcJaG_3JkxbodVWuN8uEAdtJlHJoLu_eM5eN_mbfGtNFLdi1hNx1bqdeH61N617MhJ6fnlfxqqfWyT5XNF6ysk9wSkI4LQa4HA"; e_fb_configversion="AcIu6o15OhIV0Dvkphbd5pVZ0jdZ0fpKflTD8TN80oMvJ1GbwJesl2ATMl5_Yw", http_request_error; e_proxy="AcKKlej516kRhkf8omP1Zye2HCkZaZAjJVbHypEq4kZh7V9OXLydxfUNjxi-Vwpr__VgU2MTWA3e6Hs"; e_fb_binaryversion="AcL-j7iC6Cd6KyQa9hYEodDzK-05-CWcnNmOw5tAaKDPbXUobrBoIW0XJaSXz2FScV459iTuht5CFZ4ogPWop3mRcebHKN0qpjs"; e_fb_httpversion="AcKYmaUHt8ldyz_YalXuZfhz5HEwcj1mQJ0XFTiuz3UWQvwKwqAk0PeqxJhL"; e_fb_responsebytes="AcLbjRMOl-4UYlOaiurj1lnuyUekK5hFQqzsUPNlQfT_CdEwi1M-JLhztRNS"; e_fb_requesttime="AcI5sQBgbuRmP_NCNtwbht6Trh083NoiVmxfnurWpYD3kPhMcNRqitU5ixg04SiEjsdwXw0Cyg"; e_fb_requesthandler="AcKPYtQZMxIkZSDFOnyHUNj3oGfDLo-HM2PMmEUlWsYbPu_8pKsaGi1foxhT6hAL7SLuq9SIqDE"; e_fb_hostheader="AcIw6CPy7rwJjk2BcCJKB6zrsmUnN999LhYBSSHsWNZGJT81yMbFZV3a-0FhXcS_Tbq9-xPf93QIHl9p"; e_fb_requestsequencenumber="AcIMBQDZ11E8bkacxfdYIOaVpf-5UVkCU8mSSgAkS_RAk3Da7besb6lLVg"; e_upip="AcJGO7ixwJWZVG7wxGsxqlrFsYcyfYlSKryYJfRjFyCBJ3BqC9X0caJwrExbSkdd-r7nc-lQeaHAPEzt5AOXwEV6vA2O27EkOw"; e_fb_builduser="AcJA9dFnmXicIC_nAPEAjo_bDRCEr3f83sWgqrOgO7Q3PARDSAqj7eoR2uiHm0-_WRQ"; e_fb_vipport="AcLZ9Ci6Hz_jr6fzeyd9Xm_NM1usM9yAHJLsFmhj0rxXlNImopcL5YHtd67G"; e_clientaddr="AcJ4xbB4_-difjGDyxYi6LSsUWsJPisLt1EVbNmQpzpjnjJjwMWPwhQOFapU-EjmNBd08d3uZygBfo30lg"; e_fb_vipaddr="AcLd8eZVfAS_PZprbLC7WsIbzQchwOBF3toB4Ubnt5R1KzQCZvam8hd3Tv8v-wvL0wZfU2p0qQ"; e_fb_configversion="AcLwYCxynl8EsS8dySbCOKTCm4xr9gRCKD1nWpNbCdkNc-sMFVmrYQONbZbYjg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=174, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/26/2024 20:55:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20855088, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5y8dKCnDxmIm8wZJHhr4Rt', 'x-fb-trace-id': 'FFOn2daWOO1', 'x-fb-rev': '1015183498', 'x-fb-debug': 'zC+8bzLctvoakUdyDSxP8nwSDQEErQLFhBGFXIXgQbJX4ZFe8N23ppUrVZHcNq3dhUmSwWJJtV08RuO4mZmdBA==', 'x-fb-server-load': '37', date: 'Fri, 26 Jul 2024 20:57:33 GMT', 'proxy-status': 'http_request_error; e_proxy="AcISJDoaDDhAhYSzcwlCTgx--q0jFPY4KpYRgbcdnGxTVcWzA99MPxchrnHTzEOmkUEvdFEuFQgslKNe2cZ6"; e_fb_binaryversion="AcI1WC-GqhUZqNi1qe2muTEgCzI-7cg45t5EbmoKUzKH9WmRLdEizAhk5kAKeQjfSJp3XBSbR3w_rB0QP6Szmdwd7lz2gVon_Ps"; e_fb_httpversion="AcKVMZUXHSM0SWH0VYhM29bkQfNpMsqtaZWZw1K7Zg1IEffJZbX68apGPeC8"; e_fb_responsebytes="AcL9zWBbTO1Iv_XosQ3fnpKkaHxhBNLJQ784A78blBc5cVGuWsIijr-4WJ7E"; e_fb_requesttime="AcL1QSiAihpaNs8RBQzMRFhi-KNBH7pphD66z1y1u2AdU6zYpAKzXC-bYOAAFUVnfBCbVcZAtg"; e_fb_requesthandler="AcL76WxS4zDb9h8PjHRNBlJEaY4gLELN7XTcC-4fFcvCqGqvi_assE7HYG6RnZkdSJnIHEo5MLY"; e_fb_hostheader="AcKasNRqfDaHaUPuy31_YtpxNCByZZX6oGMSBVsqehhpg8Loz2mEsHIv2Lu5TXOyo2t0SOyYDGfCiK7k"; e_fb_requestsequencenumber="AcLRU-l6fvBNajKKmLG_xQY8IgZTQ9p56IxEW_2f1JzBn8x22elArhtm3BTh"; e_upip="AcKnRarQdzzKdhCOAq-2FQ8ttyAQpl0amEzZFT3ee3ktTulAkZrsrvFXfOcyUoXyNnzx7RZfS2ZnC5LQcAcr6785bxTg8C95oQQWyCI"; e_fb_builduser="AcL1ujhXnVSFS5iZ_t9nr5yrPOgZolmmL8AA9byRxxYX9bRPYk531w6AeP6XAaneIVw"; e_fb_vipport="AcInZhPOszC94SifIw6EOvtoUjOfMkq3dvvZGljYTQPT0P92idpWe3eH0co9"; e_clientaddr="AcJphyzHfUJBS4r_XXFxifPyf10eJl_Szq8e_QBAyx09Xh_GFaF3RVWFbZDRvyYSEwshRBu-oro_sUWb6kTdtvt6hsxa7rdO3ZxkwBPzF-eFRiukUA"; e_fb_vipaddr="AcJP2O2ig5yeBa2i4dmh2DwGQnWZrNTTANxL5NAlMDNYKBAQ4E_3HV6mMdQa2DvKqGqBvy4OR55tLmt6FwCbj3DDn8iJ6V5euA"; e_fb_configversion="AcL0uiyLwDBPWD6wJxVd3pAU64cVEXq4RgRH6dbxw2s0RqcmcINAjdz13h2m2A", http_request_error; e_proxy="AcKpNv8z6ZjAofmY1rLL-sm9ER8dPRmm5IDHXPjMnR41OgDdQfemi1MPZwDlluB-wIv7a3rfvQlCSafW"; e_fb_binaryversion="AcJCebuRAcTRFrURID0K3xdps3VE6Ny-c4ypG9b9w4JGD1O_IhvgmM29kmNgqv0g1XbHD4iomxmlQKzxv1mSidiPZRWkLznTq4o"; e_fb_httpversion="AcJtaGtddZUUs3qtweY0h1kUBGO-n-vfZ0WoNckGb1kPYRw0xQlT6FcVfvGw"; e_fb_responsebytes="AcIDRETn7UiiZZS_Qm2wHaoo1Si7bfI49cjLl91ZqT7naOkZXtw6oKI6hdHs"; e_fb_requesttime="AcKpWN9fQxNNac6nOSKAdQT45K1zQeHEpfA3QrvbJB5Y2kXnzu4RPgkluUZog6RUpsPiAbVRWw"; e_fb_requesthandler="AcKlF_YM_Ytv7FeuXN9rcEx9oQxFLHHolIVxfNN-4KfYaEbocMwHJAowgO1eDb4MgRN3RakKKZk"; e_fb_hostheader="AcLQ1pbZdgclBEB6p7ciOHGTZVJchWUsG1YRr8TM0ESEO6ZtFxKZBLQevJBvpd11QRjSeV2BUZDe4r7G"; e_fb_requestsequencenumber="AcLQUcO1xIxOeEwTBb7cWzh-YKf4p4MV_Lxzo9x8Ac5vGnXydQ34ov2D5Q"; e_upip="AcJI3-yVguV70NOsO-anbAPzY3nIJE9BMwPqlDBmAwlzLVbbqhDrulHVuGDq4-WmhBW_1sTUJuPco6ZAEbmEu81x64Cp9VsYXg"; e_fb_builduser="AcJn7EXjmtbVrkp-uKijsw2dKELOe2_mDHm49ac8GkYGy4HMEn6OiCRZ4q4NAOUEjSc"; e_fb_vipport="AcJsgaM2vxMPwJWutM5jwcVsyQqy4LMDdIIUL008sEAEwL5EMdFAB1lqkMcZ"; e_clientaddr="AcKPiTR-DEq9MpYN3vDoItugi86LEhp9ObDSWGkJmfw1OIm2Em337tIYVNLtMLlm-K7zozH94--OpbH4_A"; e_fb_vipaddr="AcLjkfNZs9TdfONTkZC67PymMerjgs5siNjqr9C1LYkiEfrlDR5qpIYg1wOGZq_rnc0-hRABIg"; e_fb_configversion="AcIhOv3PWS62RcwjSPQpLdLbt75Lv4DZsKtw2IYRxhEfJrGTYfCiPFHyM133ug"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/26/2024 20:55:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 20855323, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Am3f0vKevJ6mrl5Rg-1Ntzp', 'x-fb-trace-id': 'GvHxAGeON87', 'x-fb-rev': '1015183498', 'x-fb-debug': '16kma3o6wEWeYUo3dP+HzR0FTxuJ2ei5Cf+ZpdIcWL9XkugeM6fwvKbhJQGQPfJFZ7e0xKWgLnTzV1DeWHus4w==', 'x-fb-server-load': '29', date: 'Fri, 26 Jul 2024 20:57:36 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKwWDAdbqtWxsrmKAdJdKM8iuDQN-VdHjZiV__e2d0wHZtemJY0NwENkA1slTKtmbt97FJtkJc16avJOjsW"; e_fb_binaryversion="AcIs8bTl0IXHVGGI6s4QCGn7GuUUwdEHYmsaIiXNWCQSMJhBhTW5X5kS5Ffsni_pEUbXLBY0mE-i2UneyIlYfADavoY_LQYXNhg"; e_fb_httpversion="AcIc8pIUzJch03KImf-lKasg6w1PH0dufC3qTACEzszb-fg07ChtRjE4CP1H"; e_fb_responsebytes="AcLGrAB8swlEHvACDwkqtKGzxusNtzU8IWBXyFgY-0W1vca_TNZfDQW2Hf32"; e_fb_requesttime="AcJRcLnKJ1bCBGFZ9eiiNjW8y-F2LNJgrTh5idsoQ5pY_GW6Jzp9L5enjcBhkcZaSV1TGYgMzw"; e_fb_requesthandler="AcLvlHHj_3kg8pTNT5EV8oKNuacSOMC05R5dQ1Kg41qNudb4V6ubKp7XJQVO5KTCCvYh2tCsdME"; e_fb_hostheader="AcKWxtXFZuFcJ-pb0LGqxOyWYI1UaQSq7g7q7aDRQkYP4xDM_865vlAsm5cGG0Y9R-uSaAjm_avPfgb8"; e_fb_requestsequencenumber="AcI_JTNsBIPS5Hf5mnMhiaU4yQd2hIxzDJQuAKjwYGpTXfSje8VA9rBdapdJnw"; e_upip="AcJyBkRhC6V_HhGIGh5rWDLaLRlvA0ojm-yPVScg378yddXQMV9Hi4ED-UIk80HG7WkaYxgdlgxue01cK_KWkgouWjpHeeEzBRmlbak"; e_fb_builduser="AcKRJcmWcHF2A2dsFPrFqUNgA2cj8Lk-v0SD2LS59GTxms-Uy6Kn1wt0qM_xtTmtgxU"; e_fb_vipport="AcJav4yPiTdXeGIDxVOec8KJcs8gajhaETIiWJBBCGY_bKrPaR9Yga5C4qsN"; e_clientaddr="AcLcTQeL5Y6STUNJUH189RC03NXk-iYnRGe5PGfUHRf0wft-1euBRiF295r97JNtIBPLizlDPK08PgrzaqXjxmDKuixS4i-uIFeQMO2dAn5zrih1ow"; e_fb_vipaddr="AcLjnO5kNu22rwweejuz2T_jzd6FzWCPYjUANRBaEDImGe1l44fFd-H7WfOzHbaTXJ7x9actpUbm2SIB03yZsfrTi7bWFf1x9w"; e_fb_configversion="AcJtolcNfuqvLL8VEPKFCsJD769cvWCq8GVHgpxrG6BwimB-f8uIFwI7tbn8PQ", http_request_error; e_proxy="AcLjsdDD9rjRV6vlYJAYrFxJ3HF2GAFatsEUJ7f_ItqsZW18uDzFi5PNYiGI7_ZL95toMHJTmfSOYOmk"; e_fb_binaryversion="AcI4WSPXRqsf3ilu5DrkT_SLCqntZ7tRmBRJjak9hXwGbI3uYdLUzIRXQqQ1mDfOMmgm0jXzRmQsXEV-20TMXk0LgxJxZ-yrMMQ"; e_fb_httpversion="AcIWGx59H3J7FAfbJnVWWjVbZxhPjfp2xTQtars00u53JFzwCUWR2aI0EJFt"; e_fb_responsebytes="AcK7u8_-JCKokzWXCmZyh-iLIuDZqJ8Zb9PIpCAqEFZ8aBULBPxrBdVI2Rdx"; e_fb_requesttime="AcIb9yYurfRgNK_NiFmS4NrZ1WyTDx4lumHGANrVRhORgSwbroME2jKkbNejWEmOmA66rJCZxQ"; e_fb_requesthandler="AcJqsCV_X64M6uMe78_Z01oJ2wc05kWQP7G-jO2gUocVX8PB8zsdf9qsDgEZN6CXwleArZ4BEdM"; e_fb_hostheader="AcJCVed4X3JKTspLVM-iol7bvoPCT99hR1TytKgqKhzZR5l62pKimRdB8BaIY6Vwyr3NkZKHilKSIvqJ"; e_fb_requestsequencenumber="AcLIFLR23qulHdddlQxqZrGxlwXLbW6URfBa2Bc77QBr-iqkRnad3_kT8w"; e_upip="AcImzqcrSDrMhcKSS7RVYoweJNrDpNSGcZvYfOmoFUY_zLJcS-xzpaQj8Q2_ioAP3iNw5Y_S6vuM3uKfFNdyYotJNgCye4dJcg"; e_fb_builduser="AcJF31YXfagTPTp_8q8i3OS37A6oMl2ZIgSX2AYtE9yHxTN6zIzEeo9I9ZEhBA-MCVc"; e_fb_vipport="AcL_2PwzkS9eGy1vKRNHv5_uRQo1qrTMVfZX2Jt1KoBJohGB-FJUKWVbY9mO"; e_clientaddr="AcIhllx0EPAwOMRnXQ6_CeyFdstEE7sg5NzIGvO-LDyy4UruJjb1GSHmk538gweXxvsdyyszK_EJsUrp6w"; e_fb_vipaddr="AcIrIPl89mLX0lZUAO4YAOazh7V1UZyicSW_UeOOcMsW4En1qE2CA3v2xfoA4LUgNIURBeNmgg"; e_fb_configversion="AcKMX0CErdD7mKHe-s0BueqzbT9h9BRwBX1ertS42pgn_SyZh4vpxwuAfLw_tA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=289, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/26/2024 21:02:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 21:03:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 21:04:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 21:05:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 21:39:32: Error switching inputType 07/26/2024 21:39:32: Error switching inputType 07/26/2024 21:46:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 21:47:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 21:48:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 21:49:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 22:02:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 22:03:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 22:04:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 22:05:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 22:46:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 22:47:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 22:48:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/26/2024 22:49:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 00:49:44: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/27/2024 00:56:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 00:57:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 00:58:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 00:59:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 01:56:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 01:57:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 01:58:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 01:59:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 07:08:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 07:09:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 07:10:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 07:11:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 07:22:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 07:23:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 07:24:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 07:25:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 08:22:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 08:23:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 08:24:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 08:25:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 09:30:03: Error switching inputType 07/27/2024 09:37:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 09:38:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 09:39:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 10:37:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 10:38:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 10:39:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 12:36:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 12:37:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 12:38:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 12:47:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 12:48:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 12:49:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 12:58:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 12:59:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 13:00:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 13:01:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 13:58:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 13:59:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 14:00:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 14:01:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 15:38:11: Marker: 0 | ID: 66a51463ff349866cd50bcce | Error: cant_get_message 07/27/2024 15:42:51: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21063701, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 27 Jul 2024 15:44:29 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/27/2024 15:42:54: Error on send one message facebookId => 7515403361898171 07/27/2024 15:42:54: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1c24c380-4c2f-11ef-8568-2d83126cfa52__1722095069112.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ARTEox-7ZEyfyOvpIeo93oo" } } 07/27/2024 15:49:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 15:50:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 15:51:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 15:52:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 15:53:24: Error on send one message facebookId => 7515403361898171 07/27/2024 15:53:24: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1c24c380-4c2f-11ef-8568-2d83126cfa52__1722095069112.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AxJ1jZUMQpuXENdlFyxnenr" } } 07/27/2024 16:49:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 16:50:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 16:51:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 16:52:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 19:36:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21104518, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkGytFP-cnJElX_hqJFfM2x', 'x-fb-trace-id': 'EExmWCRtm4E', 'x-fb-rev': '1015205490', 'x-fb-debug': 'UMZcasagBMhPzzDoYFlyPHaia+xD9UHH9HJzRbfVHOUMzCRAeOuy7S1yATqzj7V/V/8YiLjibThxdEAdmBVGKA==', 'x-fb-server-load': '35', date: 'Sat, 27 Jul 2024 19:38:28 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJxJb-CrM2ickI2aCfEogn0jO2RoWmK4hu3CyJezyP2CM2jw9p3D6KTa_mbfWb0FNSGzR_HhJWI3qHKH2JK"; e_fb_binaryversion="AcISFlivmOFW9LgB2XkPjKLwWyMs9Wp-J7QguSoDODeVZxDHDiuAuKcpmVTXr96VdfC5HFMEP0a-vWnNhg7hOPogJChIfzTbALY"; e_fb_httpversion="AcJbUSebv0ZCWnPmherubO-il4ZQpaD07x2E7Baf0GWjoPCkOyunDq2UeHsf"; e_fb_responsebytes="AcJ5soCBopV2bz50Dh_sOHKt8_tposkaQdOtVpjT4OtJ0ox6pn82uXs029st"; e_fb_requesttime="AcLELC5bGbo0fgMmeTXHb0SnGDiA5Qpb4Ll8LioQVH8To-3OMPVnnPnl-hZ3-Y1tatqRJ1y8sw"; e_fb_requesthandler="AcIFAN-9PAbRDW8yRAY48A_cI-EcgxHunTb0cWHTm9VRJYgIx3Me_wcQVCmWTNSD4bymz_lMLSk"; e_fb_hostheader="AcLPa5d8tfzSEdpOeyTAimSjV7CF1pMt7vUAbhImNUWLL2ULpbb0zn8VpTsYtQVAhFqGCJ2YTA_wKciQ"; e_fb_requestsequencenumber="AcJAUW05GDNLQgr3vUu5KWxKQVCNXH6fsRq2yWQdDTCMfDsMHo4QJp_MSaEA"; e_upip="AcLgSZaHs9WXzEPJwQARLxwenpc0bGtOe-IWMToOSMGE0JcLfkgczw4En0F6m0Tl8GWdrcN5r38AC_nYJv0fE7sCExAXxHaBwnI6jmc"; e_fb_builduser="AcLm0ckfbW487PsRu2O_OAcHbQu52-1oTJ3G9YVY--J9QL_Q3gqnMDRkdZUIobhV8L0"; e_fb_vipport="AcKaFoBSh6r6MppVyYhT0zXC1hBawCP5_LUe-ynvwmA0yNkOOJpF9TtZgXYG"; e_clientaddr="AcJ-Sp5hj70q4iIAZirT10RRt6ykC0OGEbPR714nR6EWN0hXDqeV8pQ2CX1ECszFlNgTow_veRR4UCTGfe2sZNeClVfFK5AmtpIoUxTCTUmLMN4eMA"; e_fb_vipaddr="AcLWt8wSoW1mwcMeWuETgd13kvZkgxwOh0sF19q-he9nfW2UeBf0EA6eo70uMBCQnFXDNkQORgsmL8NX4_5HazNoOrB45lJx8w"; e_fb_configversion="AcLtqBrxzB8i-bqqbvS7W2bRVIzDjp21zvaKDi9pHZ8TLI7SajhGRNfo0mIrcg", http_request_error; e_proxy="AcL1pEzJhM7WA8sD4o8NiKB81RA8G0b500_k0x8bs246vbTxT9jwFN2J472sCXH_XXy-nEKuUBugUJB3"; e_fb_binaryversion="AcLAAeVBTNRxtESPt8YWMLw_HjaY6oX0pKq4JICC3DaX5QFgonH0k321BUAcoFSakXoTMwvYud545ROBs4YMHa9fR4EsDtp3gyw"; e_fb_httpversion="AcIzTqrZJV3vtckM6JGZwo2sdmuMBBOBHyb3TkKwXLMegrHM4oBZtdid9j6n"; e_fb_responsebytes="AcJcd4_KUbz9DP2fb0SCAGFHPWVjcgmqHDxjlJK55EEZbpObJO2dI2CNwn2b"; e_fb_requesttime="AcJYe4a_eqZCw5QfoOnGVGAnxi8cjA-FDDvq6KoMO5vz71bwevqg4r6qPlBu3IwvBRHPwRT7Mw"; e_fb_requesthandler="AcLPt22xlWbT9MXJ7hAhLPpvaWgj0XeHhMvkq-_FdL7CdLz6lSfHR34IHJRhyzAlVNFuG3lV7nk"; e_fb_hostheader="AcIJ6AXOgVNSyX8jr68qOkFdZ3s780JB4_zpz-oBaMQSlhaC_52G0eUzQXCDl4GJs8ERXOA6SmMuLN9b"; e_fb_requestsequencenumber="AcLHvf1NREupiVq-c8gNE2hhCdChHh7IU5vR6Al7FrFq7KrT4XXpz96CjA"; e_upip="AcJbp4bAZmkQ0nMsTdireKPRVM0o2IPGauZuCLQHXlDvYS7WJZm92xQGJToOLq8fvecW480msvxQY48CebhWizIr74U9gXFeLg"; e_fb_builduser="AcJI9F0ZiREFfF29EYgiiwbWoEmY-Tkl7-M3ZZo4An4ex-rT_iiMGQcqjYfh8BlU6Qo"; e_fb_vipport="AcIYkPGnJgZZYIFkfVn0LrYp1j-ijzc6qXlBFe-dEfwvhBl9c6ugtk4XexUW"; e_clientaddr="AcLcPqo_QtMRsvTwMntZQFuk-ZV3_sGAwTfe6wRQIMcb8ySoYN-SQKua2T5jB1V2OTE0WDoXpwm5rG9Iag"; e_fb_vipaddr="AcLLYWW9po33C0FSfZtZSG-NiYF9WjfltB7Mnm0be4vgZ5JTvqqCDOxXOFnjTpftWsHIhUo"; e_fb_configversion="AcJ7KWFWDcrtw4rTGt_8Q8Il85nXhUrkmijm8PiFk5Kfs7Q7HmbkEeOErYWOYQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=110, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/27/2024 19:36:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21104758, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnlPvw1wN-92YcJSemScE1I', 'x-fb-trace-id': 'AUb1bTLb2AN', 'x-fb-rev': '1015205490', 'x-fb-debug': 'xw71/U9yN6DZJiedV2V3mS0gB9hSKi9pe7bja+PzGcPpSpXPxh5lKXdAt/WOcgmKODN1scp79BjfKp5I5ZGP3Q==', 'x-fb-server-load': '31', date: 'Sat, 27 Jul 2024 19:38:29 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKf9Zg8Mlapu3CdqKBh6lmYaQupdCdH6tE7pI-uc7DY2nIAUgkpbT0dDWhFhWvcuf_Sz8GEHaeFCy88Rrss"; e_fb_binaryversion="AcIfFq7e63dv4VUdYNN0XYuMzUUQstcC1OYkSMwXCwyPmTDVwjVbS2-8cESjiyjU3-P1J9V0soo6B7AnfnM3GIWhqhj4FU67bJA"; e_fb_httpversion="AcIrBEo1ssTrPgy5KyPKyB9Ora6akYs7mlnHibe_MK1M6-8QYcGZsG1mBsvq"; e_fb_responsebytes="AcIL_z8gzwm2xBN0onXdv-W4vY5BvTGNwEFNdtS6E-83F24LBc8P3sYx9SAW"; e_fb_requesttime="AcI70dACJaQAMf2qQ3A9hA1DSp8aNZB8boQ15YpCwmM-xTOPofmb_xVhEf8OiF0hGU9PMGRIiQ"; e_fb_requesthandler="AcKOfuV7hprdVZI9rZ-V7IAge4n4zNd8z6QJk_GMo2rMYyIklW-h7TBQ_m9Dk_zbX14VoI4GBFs"; e_fb_hostheader="AcLSmrCMXZHxBh5YEGubGY6WeP5u9DwXvmbdvjQFhP5OMSk8FCqrDEEI-Ph1K8p_06_ndMzyz50IC8KZ"; e_fb_requestsequencenumber="AcIedSsty6zUCHy0S0oPzQrfvKyhtjT98i6aXTSq-rkCqusNO73ODQMAo2JU"; e_upip="AcJVpXarCWPgMWPsfV2gddZQP2L2mWpp6NMlDuwmrGZwWgIdy4lrtDRn-gEWl1OCXSnOTddU15D7tiLL7VEwjq2BPGGf7uI87pZGTCs"; e_fb_builduser="AcIWO6pQDGs4VY_mNe12CiJXGMYc4A7xlxSQ3Gw5RKkZsB6EJ3vfovhdZAHLm7gc1sQ"; e_fb_vipport="AcL2xMbkC4g8KV62eWuVwsagdNmajZ5gpAjXjehlJTHfUPhD5cQBDazEk3uQ"; e_clientaddr="AcKqCqbYTNicRtjEV1GpxTB0iAz63OZbDfa2js_XEi1ZN9yjMtKINjFmlXw5je4-C5NkJJzAY2SlWqOpFebH754pqPnqTPRISePSzhOYDYznxfYvKQ"; e_fb_vipaddr="AcIn94e57oXOLfP3xcAF2WMfmKHuFD-niz0C31c7OLvEMJvhz7J5p0_3eTlPjmzLzBKAFbDO7w1E2cmdR3vxsmnEj185b5B5CA"; e_fb_configversion="AcJYeyHyK8F_ZLNCl54tQsJC1IWmrq4nn5db9df-eiO6ESBad52Xq_F9qlGjgw", http_request_error; e_proxy="AcLVCIGISGDJ_vkaAzLP3XGa6126Xz0cibDIWidNhMvY31XWBSAfuYZDSyPYk3Fv1I9_zYDpardhU8o"; e_fb_binaryversion="AcKuoH8AFaIxjAMFfHTOCLI8LkRhzwjCyS0leGIFwVkunZo83cs8ZngvSk1R-3KgkfnhROE9IX8uHSqnSiBdIN5kRe7SkQZHmNY"; e_fb_httpversion="AcJp8neV6nhIFVHpgvexO_oWs3DcBrUBOMbNI3YK6RhuJ-a2yiLTSQD3EKdu"; e_fb_responsebytes="AcKX4EVItwfqDSOvL7RMRmdNizdTIc1LWcm7pKEj2-sc-WAhz-LrgavytU9T"; e_fb_requesttime="AcKHqQ43g7urAU0vuR76n32l0ZMQidQ9AxKPl_dqed60gy0gEtnzvYOOjDx4gqztLGYgDUSDrA"; e_fb_requesthandler="AcJHCvJ9qxokA3aZvtD4iMcknzhqUnPn2Y7GbIGZz-c4Ez9JK-wtUpzSRBDp-Q_Xib7NRRyJRGE"; e_fb_hostheader="AcJXmQkZdtCIOd6jgGIh1e5BoSI_Id__637Jcbe0wxG1i-MuUW0Fe7U6t-QwylqzhTzNRNbU1VU2cAe-"; e_fb_requestsequencenumber="AcIT4yvR7b0e2QJxR5GVrONTfdt5MOBVnmEXd6QxYFngPZlirN22r-yl-A"; e_upip="AcJkABUjfRNFo-RYjXQseL1UsPMNPWpcdmy8LsRrWQH7gCyW03A8aIG8N4Upao2_BMHpEYqYifJo_LNUrFqLq8Xx63dbANxg3w"; e_fb_builduser="AcIgoCOW3DSRrsLzM6sZC5bf2T8uXA7LFF71uwSMmt6GLm1Elxv7g4oZQMSQ8Ah_Rsw"; e_fb_vipport="AcKh5glpvv7HzJVH3uZFIBR-dRgfZCzUzsX9-1vdfMcq31UkUgGxrVNtmsda"; e_clientaddr="AcKGvBrP8zR8-xfTvePU9lYPAQGalUf1LVCGzC7JW2mk4zhLkmz3AdJftBAAWyNlg2_U6eLBha1laYcM7Q"; e_fb_vipaddr="AcKmrnGYVFREZ_pr_MZwOnNIBNkKyYYPPqVPg7IUtcGMw17oRoHfTgr06Hz5V22KEIn6i5A"; e_fb_configversion="AcIhC-0Cxu5l1rxogC0ILg0nNXFZFh1azCqLPd2EV7qYl5rP18YJZoE1vJpeyw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=105, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=181, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/27/2024 19:43:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 19:44:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 19:45:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 19:46:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 19:47:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21107655, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0pB_Hf-a051G0av1uOmzZj', 'x-fb-trace-id': 'H3FahSWFMEB', 'x-fb-rev': '1015205490', 'x-fb-debug': 'mz0b9B+vMyOH3IUBYTSTUI5A5iviNyVvyoCgW5eR7e2EhFTMb74NrD9Kluq/jHkg07czm0tgazildfBf1FwjXQ==', 'x-fb-server-load': '29', date: 'Sat, 27 Jul 2024 19:49:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIZUDtjeMj5mUvZrwC3l4QZPFDEI_Nhr2-299M9aYw28254AqsymvOOpkEWmikS8vUhDRJ-LyvGG3kdaWnh"; e_fb_binaryversion="AcLsSi-KTYRqmlcNdHnhmqKHNmYTEyUWEZidqGqBlLQjzdR6lMyv6uYFGyeThFo1Z0AtziGEU6gkTu-F5xk6Ux4n7aVwxezca2A"; e_fb_httpversion="AcLF3t2lCqJJqywBvpJZXHB6m8txfybga6VgdBRYDa6oCDMf5UTParhahOiB"; e_fb_responsebytes="AcKexnY5LeDG9xHS0Zm8m_pCcQJnnsWTUIQ7QTbX1xMACINsPw8nsMLkITP5"; e_fb_requesttime="AcJAJ6skq6BpnrvqvNIFdSAcJqyCUykATAXdHhuY2Ed7rBzjhpWd-TaDYQms-i7OzIsEPZP3jQ"; e_fb_requesthandler="AcLOvxgSlWR6bkLFfva3CzcHzDuiBbxTlt6538Dm8WUgTb-vIVOttS8MMnEF046ulGgPdjSmHDU"; e_fb_hostheader="AcIh1KTWCEbgS2aN2bKrWANvay74pscUyrTrpN1M7pfEIhB52jYJFket8Q_tUqfj_1eYKMaKgofdHrMT"; e_fb_requestsequencenumber="AcLPgR4yKzGEWz9r9mrF6ghFUwqgQwcfCX9KhZB6A73ZMDFoIpHeNXvpq_ee"; e_upip="AcKdX6wCBXhzZKqGIpJHHHjI_6mbR2ZnYrJQgSFLhx3jmDUvYAy-zawk1Lt7wdrTbTQ0U3P9SjpAnYXwAwQpw2O1ZHbwMpfEP1DweuY"; e_fb_builduser="AcJt3q_hD4Vkrbwto09Xw4D5E_c4XlFZ6UqnH_5ir7uO7q66vjvv8g3B2WR7H4Ko8oo"; e_fb_vipport="AcJo0WMsw53p4ojvGrCWc7xXCUOLKgCU3EnD5r-JZjDShUSV2vlaElpSl0Yk"; e_clientaddr="AcLBky_xGPA4oWugS7ysF3p8gwsJpxDn0Y12Li_NhT7ZXSdT9DkDbbkMsHybF7WbhBZCtsDn_6fBRytO4dslQh1k9mXF0OH5G5ixpBdDCpyDrprC6Q"; e_fb_vipaddr="AcIEVC_6gy4qaCx8LZS7XNdWG-ZAgLBfypThKRqKh4f4qPKPcYJaA_XgKIIqq4GQzrFHhh6wob4vY1r1FcvgUYvBz00dYDoQMA"; e_fb_configversion="AcJaZ8YzvAunUrNPHl-1hPT_wj1N9Yqd28Y87U5D_0fDQw9-Ad4xLVEWV0RH-w", http_request_error; e_proxy="AcIfslfPKK2IAB6tIHmhKJ45Gu_HBB57_X-4_xzkJBmb-GMaGHMMHhXBD_LgoNJ8xdbqkF41AAncOew6"; e_fb_binaryversion="AcIO2Usck0dtA1xxoFRGEcr4PrYZPjRdStsHdaNc152vBQjvDj0uqzzvrsFieLVZ3vCvmL1UBMhnC53fHVzR4ClVdzOWUQWVqwg"; e_fb_httpversion="AcKVt6FQ8pZcdeVMLLHqCffe6AdsckBJlnQsTu9hbuARxv9pnT5f_Xh_J2Y5"; e_fb_responsebytes="AcI4ggEpUWfeBaOGaRZGhl17bcmcLE4vbe1aGFmsxF4fJR2-0776xcz21IWn"; e_fb_requesttime="AcI9sFcgeDmNSZWRMg23hfz8RbN4rmqFYY-Ak-vMaHMAefOdFvDP3vIu7zvQvNmt2z-t9ylf1Q"; e_fb_requesthandler="AcJAlAXPIOmzZXTcBSXJYZ1SPSvHxqxS8pzzB7BDlEyOXIF2Dad7rYehTbKDdRrsUginJAd0Wwo"; e_fb_hostheader="AcLFw9_9ccmgp_WXH-p6Mc5V9mHX_KT3kqXiVOh2NPeZfqWOHazeqMsww1priFHBJD9MvvxDqwyUJeYp"; e_fb_requestsequencenumber="AcIE5DIEjTW0BrmyLkQ-4ctJTLl1XEAL16NVAu6og-B1c6nT-lQb-61RcA"; e_upip="AcIyk_PwRu-3xU8sPCgsO8H5SI4Xj79n4OHdeIv7C1Mp30wH9hP6cMabG-1IiIJy8H7TY0JFxSybxIgDAaoE16NGFOo4YpCQtg"; e_fb_builduser="AcIOz3f8IjMmsG6niH3j7XizyhpGCEJkqrfTT6Iver0eHco7getg1KVoWGm7vCEinCs"; e_fb_vipport="AcJqzL5fiARPl1-dPQor6nEqJIHgc0A1KQRA0rv5yBeZeUpRGVOchn7CHinr"; e_clientaddr="AcL7tA7elVPv8C3If2BRhhzS6xTw1FaB-BadJoXJzEq2luEYXblDLZpQPZ3CA9gSpwRWQgEXVWMN7fzinA"; e_fb_vipaddr="AcL7uhPWo01rpBZRf-pJ9wBgePxNZO2o7TtBcyZkd3PgUWhi8zbTCRQeiLTxYR9-6rtmfQk"; e_fb_configversion="AcKpqxLiw0K6Wo3CwDIoZv3RVVVQFLsoKHVhA_PowkaKn5WsiSYY7_zUTInc-g"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=105, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=208, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7592131537563617"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/27/2024 19:53:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 19:54:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 19:55:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 20:43:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 20:44:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 20:45:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 20:46:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 20:53:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 20:54:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 20:55:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 22:25:16: Marker: 0 | ID: 66a573ccff349866cd50bdc3 | Error: cant_get_message 07/27/2024 22:32:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 22:33:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 22:34:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 22:35:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 22:46:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 22:47:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 22:48:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 22:49:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 23:32:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 23:33:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 23:34:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 23:35:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 23:46:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 23:47:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 23:48:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/27/2024 23:49:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 00:26:30: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 07/28/2024 00:38:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 00:39:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 00:40:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 01:19:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 01:20:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 01:21:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 01:22:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 01:38:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 01:39:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 01:40:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 02:19:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 02:20:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 02:21:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 02:22:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 12:56:01: Request bot not found: { id: '234064353428134' } 07/28/2024 12:56:31: Request bot not found: { id: '234064353428134' } 07/28/2024 21:24:48: Request bot not found: { id: '1852395741674621' } 07/28/2024 21:45:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 21:52:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 21:53:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 21:54:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 21:55:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 22:52:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 22:53:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 22:54:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 22:55:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 23:21:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 23:22:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 23:23:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 23:24:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 23:33:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 23:34:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 23:35:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/28/2024 23:36:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:01:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:02:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:03:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:04:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:05:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7911039045599832"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21423798, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ai-v1D6fqQ3eFgHTW3LNY7x', 'x-fb-trace-id': 'Aoa6BVqz1sF', 'x-fb-rev': '1015213238', 'x-fb-debug': 'lugRKTEbiwjBcPlJVXW5h2oicgS7bdWJBGMCPLw6I0mM+XgRBMjCY8RiiGkuvm1gk2RZRsK61lJRGUwY3uKgbQ==', 'x-fb-server-load': '19', date: 'Mon, 29 Jul 2024 00:07:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJJ_DNbIvXOokS8_3CfgeS_bov4NhnpG96pxrbzotXMjlzgS10eFAbejOA4LMcWu8V_GZ33SbiZc3Wq1xU-"; e_fb_binaryversion="AcK-ker4T45NS8_AT-4yCzypJzmR4vqvpfzeJdpYyUOlOYmPi28y8mJrZFYOs8PWLRyOrBIAIo9NzeUSthkF9TfX9ZLvDAfJRMo"; e_fb_httpversion="AcIIrnk7GYMM4DJi9olZ7MPrW_TiH-4RmFz5FecfrSUTHOevTd3J2jdMUWP6"; e_fb_responsebytes="AcIF30Lpjz4HQiWbUWtqT2AHkNjLicQ_NuoksfHiuBX-vv6RN3HzRl8V9RVp"; e_fb_requesttime="AcIuNF0iVZ_Nri2zev5jsUxZVp4Mo5H2N2sWyTEC_2TX2N148KiCfzZhuDO-O3iHhYJdND1DUA"; e_fb_requesthandler="AcLwoWelhN3iUFEGUYlNVCBx2GhaD6vH9EkVDkNXktomtAEN3fM9I-NRY0ATssNTPnGjTh-Kzpk"; e_fb_hostheader="AcKWoDkZXOYCyPy_0cMmLhGpfnAwVnIbPvN1R8ebRfgzEnBmZ6hgMVSI342gHuQ-cve47S0G0TyTpr2P"; e_fb_requestsequencenumber="AcKnGzurj7q11phonI7pStYTg0FBNunsYFMp91eFFUyRHmouYLOIwTPMRx9qEw"; e_upip="AcLovylPlGPXfWuWd_5MSM_mttxK38Ef9eE8ZIwAM2y0eNrTBIkKZpqfhOnWk34rDw6bC2k02NkMjpCAAWVoHlG3Z03n8a9Ia1z0qYs"; e_fb_builduser="AcIOviIdKID73dQAyBFY1Y2Ajhyrqr-i9PMRJaxNvV-dXmf7va_oOeopknva6TwS6zs"; e_fb_vipport="AcJP6uBMfCea7vIxGiApbuiBWznwNuCpKvOSLNQwA_Suzf5Iu7O7qSdCI50k"; e_clientaddr="AcJXFkZ_iFkn7OjmKY45EN9bR_kVNA9CqPNnm2S9f1IYH4TLweyNuuH-v3MwvI6JpiBk4w4iV5hI6ZvKAZlc43bGkvM9QfchjohxZwcXmUgFOvec"; e_fb_vipaddr="AcJbE1j_26DVJkewPdoOPHBlGinHQTLQfwe57aTnuchvG0l0OapVgVPkO9dPLKf0ZAT7OqcFk1IVBduotZqGXihQV61OpCn2BA"; e_fb_configversion="AcLS7GuFmlh9WzIu8jGlbS61SWBL09eFG9AzM_8U61pF8BupmtAF02Ecb0sKMg", http_request_error; e_proxy="AcJC7ctNKqdxvhnt_aESY7bXMLg7SCUPZRUb3jmwqhFLdZIGw9kFMVVF7OaDU7bxohX8SEWWdyXSvKuI"; e_fb_binaryversion="AcLu9sSSUfO_DWu133td7Obi5TxJP91Iba-HC6NVliBztZCW5H4_pDhdynivqxP86jUx64UWAtAsy7rooLJrwK8Wu357YTJ3Kks"; e_fb_httpversion="AcKJ9urC9xsdke0YFeq0jhcQG32jlxTj4FiBYsi0vdjNaHL4F0F15hzfWhpi"; e_fb_responsebytes="AcLl1PkGUQpgjSfEVJcEry1yt8nHWWj6D2D7XrtyPxlY29bJYB8QJ27Is9st"; e_fb_requesttime="AcIM94X56_yi_dXQJAZaSQBQMa_9ROCj-1F7v4AOPbpAF2Z01Rk1deU1D-dFrz2H-OC52LtnVA"; e_fb_requesthandler="AcIRunMKvPUo0HJRI3OO8kgR4_jmMjKrOpaauWKp7SUE30I1uip3Tfnx_92VGEHF5rflZ69VPBM"; e_fb_hostheader="AcJ7ZozfvthyHGoFI4mtLNEHCudGDccVeFR0D6GRy1fPayXe76zvDPXx1Ap9kFeJA5d13gVeb50e3-3e"; e_fb_requestsequencenumber="AcLDBoqoLhQLCFNBvwsJczMD-XM0KT3wIeNwIsDLAB3O5vmnzKf_NZg2hw"; e_upip="AcKKXXb1fihxRx-Bxo-El1sLxNSSs5drh0AvVZHvldHgDjxlFTVvnA40lRsP_7-VJ1acaDamqCtPpWWHCtJ0YloHTTmbmmeKHw"; e_fb_builduser="AcIUCEYcSexK49jWzniDs6aexMqjbR_lPQ1NTSyYMw4hn2XpTwfTZeFLIOO7UzsnStE"; e_fb_vipport="AcJBuj-jVmi13r8rozdtnelTvFDSQbkPMJxm5yyCG6yHDAvHTBAQek3C2ePC"; e_clientaddr="AcIvTAfcIflJuXCBj_KzbIeBfLVYFn8Xd4n1EzAZYVKIkryPVGgX3u6psyOuWEQLCruABvhBF78p6gAFaA"; e_fb_vipaddr="AcLwetM12EQXQzle2vhrE0NOB9yy2GwJJZ_Z3cY_Su9aWK9uGsUmu5yn8Z5jzHkrFT1GNZfZ4g"; e_fb_configversion="AcJwXOmgo6LioFyH9dCZdlifAAWHkUlqIeNxL05jceFun46ynBYxuQwayo54KA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=69, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7911039045599832"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/29/2024 00:05:21: Error on send one message facebookId => 7911039045599832 07/29/2024 00:05:21: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AquX9_59HQd_J6D2RF9golf" } } 07/29/2024 00:05:21: Error on send one message facebookId => 7911039045599832 07/29/2024 00:05:21: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AXJLOM89jmCfXUrZz4Wkf27" } } 07/29/2024 00:05:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7911039045599832"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21424011, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ar7KlcLCNjXE8slZ0Ml1Os2', 'x-fb-trace-id': 'Aszt61E7xpP', 'x-fb-rev': '1015213238', 'x-fb-debug': 'VxiSTNqvYj6Cq/VUvfzdIvXyiVL7XYg9oKPk1XKh6jW9k6JyGBUNK41PSwCaZptzv/es8gPjJSR9/rn+ZlOuWw==', 'x-fb-server-load': '37', date: 'Mon, 29 Jul 2024 00:07:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJoPHW4C2HB14uDRnbwblT6b3K5GJoqRvSOm31lMULyO10DJo0IIGi8efIa5btKn_6vhJm5YSv8vHqeFFoI"; e_fb_binaryversion="AcIrR3PxgMcvvplKXpfWSxLDbYaV2cYCdW_-yOOoE7x8XMLo2zj97CEAlcw0iyHqn9blgDIBhH1axhmt4oihvbcSdgxdDHDEGqg"; e_fb_httpversion="AcIP2pnLk2-XXF0xbQXsO0TS6cT6oltGHRTz3wNsukUhSmLKnA8AtelSAnfq"; e_fb_responsebytes="AcLacfdYziLHyT3xbxXdUkILYbzImNlFENCygXrL1y3YkY3GWxJjOCe14Xoa"; e_fb_requesttime="AcKVNkK-0ezr09CK5xLJ5N9DSN-XVChof0Hitpibn8tUSQfQieZr82L0wp1EDlHW29WS_1Yt6Q"; e_fb_requesthandler="AcJTrBZAx8I1bJvelOBuVCwc2oFMSgU8KNzfodEx6DPqk1uWDm3p7rRK8SWyQK8TLSCYsSi0rlc"; e_fb_hostheader="AcJPSFcqeL8gbQ8-MpGdQGCwNVh_wtC5TNjkXv93rqEJe9gS8zoYQzRP_8gf24RRBsp9FN99QvUGD4w5"; e_fb_requestsequencenumber="AcKJxH_n4gV7ZRqcEmQx8jVPnkwYTtnDopUco5zRrKIcZGd67w76d9tsSYNs2g"; e_upip="AcJAvBlA2lkGazPZr7_9WAwX9sIpA3dSJUUpc3A0wkJTHROO1QDDzuaOWXVMPnKsJVxo5NjjT1cYrore7CdATzoP6M_dPtMR8KIMZpI"; e_fb_builduser="AcL1N-iaJwU_l4mHxlVHGYyELru3v9WvDevtMl4dc9dGFWAQCfvA8LBH3s7GS9QEWVM"; e_fb_vipport="AcL_0JlJ-myDi_PeCwC4iaP9N5xoCs4fmgt1rEOgFTUqJEBS_yMNCiUFBEBv"; e_clientaddr="AcIO1zcrN0hOYuc-V_F7NJ0DlEnZzUTXtyM7LwqTEl2UtPWy6WR_15LmRzcZ8c0e8W5LZhL27hAm7_MtPwzhG4AEWxw-s3dIEIqulj7TQBRZCDnXYA"; e_fb_vipaddr="AcKy8CmI2hsTq9iV_IDj3pmdYz3_cMhitSbQW76qogRI4kIGaUC5JTYnRNAI1ESGxx1otyuU_h6Odknc6kzmQboDYXxvCN_L8A"; e_fb_configversion="AcILADAqeXf_P6Xh_V1U91gU1eaePYeVnA3yBZPb6td2Dbd6nNSRhfzZQadMPQ", http_request_error; e_proxy="AcIpH_GZpChiQ1dh13MT7D0aMu6XqlFQhU3PtNymFHWrT_w_K-g6qxHOooWOMcGOjLg5TN3ohjmBtw4W"; e_fb_binaryversion="AcJmyqAa9YKBeR_esfcOLFjJAcWWu77zTA0IZiO0fT6HY4XMP5v4OjphP0tpDaB-Rivi0kSE06BlECjR60Sp3vAK2cF1ePGk4zM"; e_fb_httpversion="AcJ-jTk9bPEMkrJ__yHk1WJxKsSa8Wk-_Bs_x2gRJYE8QQRp-8No9OV00XjT"; e_fb_responsebytes="AcLAugQfRNPODaXt3ATfYa7FfKy7lsKrBhvyL92CyIxy2uiB6ShjjrsrLmzH"; e_fb_requesttime="AcKIgDu3-813Jb7-ew_RcYe-1p0HDJlwMA1iLl8JBYUiOobFTtWV0_rt7HE8OmL2vV_jPiuSig"; e_fb_requesthandler="AcKcLKNoCygIi7_2ZmWA9tV2LcJpIN8mjIfMsaJ6tCyBuK6gxBsNAN1v54-K0_o5lU5nP8O0HpY"; e_fb_hostheader="AcIqjuYK7puUC48SVKpB4g49b1R9CvZoNAzpDzxPhyDRJAtqBNdyBrWG9xj-DdRLwX64VdKu-mwvabDW"; e_fb_requestsequencenumber="AcIVxllPGr8LHNOcVyGNDWZXkmLpXo3B5DuiBcRGIBupUqhE-SznvStgGQ"; e_upip="AcIuUI4qVOKOw0xb21KLT7_U8lryQR_gVAq6L5HJm6_p5BLE8OQwaUKr3y-6B8agvPMkdLg-d4EviLr94WMLzB_XfFd8jw76Jw"; e_fb_builduser="AcLeBHwMeePyDoUaVEtPMw7AN_KyJuzD-Waw_Hmhy7Mn9gq--lAOTeaGVAfm9ttCIzU"; e_fb_vipport="AcIC6y1si7G4HdosD4IoUfXqyNiTr0K_ySz20n8sQ0RCL_b4FGKJpL94u8sm"; e_clientaddr="AcL8NPWZIy3qqr70YGDHl8uipRFCB0jgqgKksrEVKmlqVqj31xI0r6Ys2_XAYHq4nlmzI3xW0TWquzSYVw"; e_fb_vipaddr="AcKOGmuuIVIE9BUIN6qn6qK1dYC4gybwbXALQZedID_xdxz2MHkxXFDQCUXkJjemX8pfpHZ4UQ"; e_fb_configversion="AcLTUSpgG9Z0xatJyAWMFJt3z5OkJhoojpE-OVz7_SQP89RV5Q9BMsGlyxb6NA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=74, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7911039045599832"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/29/2024 00:15:56: Request bot not found: { id: '1852395741674621' } 07/29/2024 00:33:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:34:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:35:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:36:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:51:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:52:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 00:53:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:01:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:02:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:03:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:04:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:05:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7911039045599832"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21436017, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUVqFcWzQeU-_2ccWRc8FVN', 'x-fb-trace-id': 'A0Ca6L0D4yl', 'x-fb-rev': '1015213238', 'x-fb-debug': 'w0uQwOHS3DDG8j+puJBqYz4YATeXEtPE5HUtndWyiNRECYJYXUl2aBjWn3daM9+RZ5miD0xyzVkSh74g32VioA==', 'x-fb-server-load': '36', date: 'Mon, 29 Jul 2024 01:07:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIjU_Iaip5dxm2BUbUoU4uiMi63f7vJzCQw8A-h1E8FmPtmy699oFu5tBI_uJicm8KQx_m5mthgT-b5AeNl"; e_fb_binaryversion="AcLyihZTZJ8Krn3dom58FjdsfL3Se7sTtjzfIuSgF2--bf1ByFZR0YrwcFLS9RI2vLCJGLrQjIYESkXaGiqwbu-sfxep_SUiH0s"; e_fb_httpversion="AcJ9yVo5z8fnWKXPFsEnzOy1pgRvSPKsePe7ZCveyZozNNz8D0WPYn6JtZtA"; e_fb_responsebytes="AcI6rTIzruWZbw6sbHucG1K8zcx2ze9C_8pqKpSCWjxV3KIhLazQYidrG0yC"; e_fb_requesttime="AcLW2MRoNIuTn3uug3DrOhmD2Ko2_Uioyp_1sd1jae-ISR-KB-HfVyxWMtNWtFGPj8gVv8E6XA"; e_fb_requesthandler="AcI8PFP7CUNdkM-bQYjuvQ3_mIyQXYu-b0KL3NcM7XC_oL7frS3Zp3StrI1YzJ-wa8DTMHZqW1g"; e_fb_hostheader="AcLqkXnnrm6j72fAmqFYKPJMAcZHuTHsgrJbaQhjS-p_v5r8aFFOgvH4t3Ts4uVD7rkEkfe8QZsmx7bD"; e_fb_requestsequencenumber="AcJauCpYcz5VqfjCsljK_ZSlnI9yKxvDpty8cvXojSIhO9eIOz5pgxaApcqYsQ"; e_upip="AcLNTGGza2W9Xejcou_B1GSc_xISbRk1kX0K93NsznQTYGlABOfWZWm8ib_DPRMYvnwYtCPUhoeqf4AOeVi2b_1zil7ppWIBPmLUCbU"; e_fb_builduser="AcJvsevWADmhWcnL7811aoemTUiUnv3_OD0-8Hq32iT2l7t1fQDRPK-Mi1RiJ-ktWRo"; e_fb_vipport="AcLekYwEC-Otxc-y5ti9w38rhJYJ4d2gW_E8Mr09URPrckKHPXjcpQ2r5f1s"; e_clientaddr="AcIfc_q586L9vyOibVwtZ7mLO-7vSazA9N0mShe7CHveuLaiKA6_Wq37Q72TyfoX9EIHPBzXZT56pXwgstjqevGybh31gbF4V51Kr__kzWuOdNiV"; e_fb_vipaddr="AcJsQOZZZ-XPX9HCCXP4deI-6Z3SCXeOPklJo2Aa2HHr5hXDJrN_rjdocdx1NZSnyN97_erLT0JzCp1c1PzPaniBoBlJ2VKS-Q"; e_fb_configversion="AcJEHpJeMWSqYfuHyyvmKXK8JqtKPgh7HMq8eSdR0woovQqZnGw8lEnL-axLKQ", http_request_error; e_proxy="AcLdw93UvkRl91GB-CAXgrZljy90xP4rdy1KdxJIqnxmocq3MB8s5FwlmH3hcPLZLbRLtMr7ZzgWQiQx"; e_fb_binaryversion="AcKSLvjf7x152dYfx0vqGwfU-nY0ujZ1dfTsmbcyeRWsqrItz8Ueuw0P_B3qY67nmTUs2hxIsElzqmiOMRM9hKH1LbETfgzgQwo"; e_fb_httpversion="AcI077rMJOU2C9zbSdWRRHWnyNNl3tSxt04oh1coabK3jeOoJQp_2x0n7lMh"; e_fb_responsebytes="AcKRmkStSlprcLmOBhhMvBbICsP_PkZpipvC_dtUAl-ob1ibn0sdAEJufYcq"; e_fb_requesttime="AcI-UZZSpOGKWnwue6OQ7WyZ7M1OxH7bHc_vh7AvIhAAj441X92UVMCKTZxZ2_vX8RPhQqiJHQ"; e_fb_requesthandler="AcLPEQeASWYPdi7ESpPWJidx3BH3Yj8EyvdUDvV-TBJycexa26PiJvyGynsCZnApxmTqfUPaJew"; e_fb_hostheader="AcKzaCQexXpnC7uDe7OLRpxbQHZqEOAru440pTkpMW-5AxoJfy5qU-ixI6Sycb7TAACVlW0gKJ9MW1F6"; e_fb_requestsequencenumber="AcJY2Pnw5-IS48UlM1bsSVBKbCx3vA5JmT_Zjdya1ZvNa3hpHbQSuPdFQQ"; e_upip="AcLo5SOR5DkfpMxbu0NGHgkk6SZW9lK2t6eDTohsGC7KAO4YwH2Ltr8ERM642kjbYlvmb5LSscOXj4TMoB3dPp2X_-Je-A_h6g"; e_fb_builduser="AcLcN2V7xTnB9a4Ka_NJ3bd3ICdwUf30ICkYgmJxaYWTR8p0PyYl5_IEk-a9r8PWSb8"; e_fb_vipport="AcL1_zRyazXS0loxd9COIx2kX5wp7XBdZobLbnYQCyVz7vibRl2g8VK4foSS"; e_clientaddr="AcJEun0G-1GY9CO7GS0m9_aqyTZUNzINTQZRxTg6gjwhjag2LxdYjSrsxe8GjmANdMbtwYW4CDTs0Yk4-A"; e_fb_vipaddr="AcKBUR_vFiOG0gW4IrWWJUpsiIANLEuuVwJWQxKWSaBLiUVY1t2hIQyCptNA8RKZ5WXCrSTZqQ"; e_fb_configversion="AcI9H5ObpVR-_Woxzt2i8zpBUOTB7hiEX5NIRZziMGflh6WOcoB05X7oftvpCQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=83, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7911039045599832"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/29/2024 01:05:23: Error on send one message facebookId => 7911039045599832 07/29/2024 01:05:23: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AzOV5m2tKVdRkP5UqvAqPpN" } } 07/29/2024 01:05:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7911039045599832"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21436185, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvZkWWvqerlfKQUDWOwI1k7', 'x-fb-trace-id': 'CkeGEZdQaIn', 'x-fb-rev': '1015213238', 'x-fb-debug': 'NUPnfRzn6WJhBbLy8xnu2ja31cmMcdYUFWoljIKE5RSm45ibzQf7LoD2o389mpCddbLC+ginXDIEo1dB4KlJdQ==', 'x-fb-server-load': '30', date: 'Mon, 29 Jul 2024 01:07:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcILmmHjq8nEKwbQvwYA-0QeCUiul9RoNVijALNxSfWeNd-VkBURDMAzUgpfbO0h2_fSd-liBGQgYNqSeh8"; e_fb_binaryversion="AcIrAQcV-SYBC1WFH5QmHlUlRYdIv2VEIYVDr-3jicQv6NeeAW8L0qgASmAufWND0Fpu20g6uugnA2iDaxhXWF9LbRKVKVAlD6A"; e_fb_httpversion="AcJQ55PDixHnXTShWOUo16HZjMjCMFrcB8jVV7iUi_tTpoG07SqnSG9MEP6b"; e_fb_responsebytes="AcK1_ugeJN-XqHL1-bxGXBa6_dYcEL2W6xFyWSRIMVALSuSFb6_vLggvtjFj"; e_fb_requesttime="AcJ2n00gWPsPcDWtJetByGVxMhSjOiX8mF8hyVcw-TlWXAWmPp9xZDywUbovltMQmZAUCxEdQg"; e_fb_requesthandler="AcL1-XLVwIV0OqBK_WkUo0ntrwP3j59IsoUIlFRL5Fdat343NMBGdxTjik6CB5w7icmklK9tCRY"; e_fb_hostheader="AcJtBBbxdYh3IJF_Z2Smnoap__svGl7xouwSl0V44-H1umaAdlVMFO66IwQmpc5SAS1VRSqHlZ7a7LoL"; e_fb_requestsequencenumber="AcKIWlcGXX6Q6L0RSlzTqDvrtl7VvQlJlxckcynRbcrLSTiPdkrLi8I48oqK"; e_upip="AcIxWxCzIuJ_mJtUX9R6OTrmanK3W455ZiQ3YSuIzBDHdPqMrp1I_HW5M_8V21A0WU6FqtywFioAQaym04l2ekM42EumDaE7cG144A"; e_fb_builduser="AcIOC9orSiHGvircpHDon9BMR_bgxUXOgj6UkFBYAKDzSVywY8hfCBu84movZxhxWG4"; e_fb_vipport="AcLYiCVJnOIUtkb8q2Z7Gav4a3NWspHwbXvw-BxAnjh8Mb_LEx1N2yvDVwvh"; e_clientaddr="AcK4ncOvzJ4MdPgmz0z5KVJMdzlb7NtnPF1NbQSLg_Q_HQFXj4daDqkYC_HhoOWcY3CdOlYdzyLeBn06Up9rAM-1WH80NAsL3ZGHNrnBcUS0Vtfcpg"; e_fb_vipaddr="AcKwFYRI2L-RMaz2A2ZQsjQUA3Um3-uPlpGmMXqiNH3dFUbNKp_ROTbnNCu8EAXrg3VS9ZHhEtIZP5-wqUTRkpKbpJxNwnukCw"; e_fb_configversion="AcKYlzn6OvUgBwfawKJGxr9ZCZe-Yvnv1v7g6aK1W6h-io7Uo47dXXnTSLl99g", http_request_error; e_proxy="AcKIbIEKptb5F29g5FjNJXqC8SaL3zZPr8yOyxmLZe5OLt2h3mqOlr7-hqfXG-MUELIt2NHg9FbDHxLE"; e_fb_binaryversion="AcLE2nEGmccK2Ghjba4EILRM2pnuXmEnRdNtD_DDRuSO3x8GpVFjRkC7glUZNbhbNJljq-nNOAwbR9I9UKe9h60AF6BUUjP81jA"; e_fb_httpversion="AcLAWGFU5QvTYL9nsrZ08hPD8vbPgAyel0qzAsZ-th2pNxD_E9yTBjq8RvTQ"; e_fb_responsebytes="AcIgrpExnbmnPSvOLlc6_2pb7vt1_r4_6ASgRJ01yZkaWGzcq-MFIAzHu9H-"; e_fb_requesttime="AcJ8EXyTlTiZZSoZNYY_ErnH-SXhSReT49A2gI_1w_K4pXZnWAP35Q06tNcMEowSk5r_qdA8qw"; e_fb_requesthandler="AcJM7tzD9NQvOnMmP1JJrWRLavgvNhxFnnWRo-Jg8ceOTSsj7Y52osAZ1jvJxc5nKC7xrQGCVUU"; e_fb_hostheader="AcJeUHShw7-u5QaL3RskqicdzBQPL2Nty1EieiuaT3ewo02hNFB_xclhYPr68Q2mViOrofvKFpeF1EIt"; e_fb_requestsequencenumber="AcI-lp7S8PjQypmqvpUpYBfI0t1GL7hJwkN2nP0CTb_hfs2_hDR9E1uLJA"; e_upip="AcLllTEBxyMU4-QDYg52jmCRdiseN0vtLAEJc1oMVM1U90VCiux66383nuLjsFnM1wFuYjWESTP5gjL-UPcq8krUg2uSAlIIgA"; e_fb_builduser="AcLVTidpW0FWsMOB8xxetC9_jzFc7_74gL1W6c_61xYbg1Ma3SFARqoIj-LrLtL8Q50"; e_fb_vipport="AcIAQHHyu_IzFWKLs0gS9hTjqNhe2XKyaLoX0AHTNArskGnuMFbXEbXHJKGi"; e_clientaddr="AcKpuBX04Xq6engKef_t2JoviPryOLMIp_wR5otK2fdhU_MeWMyCG3aUSjHdoxvxuGzuuH7O38uWd2VwnQ"; e_fb_vipaddr="AcLYrVQ-jOmSEGF7cY7DOBIYidZRsk86pMuQnu7V1kdr6Dd6eacP6Uc1JCjTMKQsQOZeREdOeQ"; e_fb_configversion="AcKCMyYb-ddXZWw9xoQXqW_X7m2wvKOyDzhM8dcyw4H_MJnpS5odyIHa-vK6TQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=71, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7911039045599832"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/29/2024 01:18:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:19:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:20:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:21:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:37:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:38:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:39:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:51:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:52:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 01:53:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:00:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:01:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:02:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:07:48: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21452389, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 29 Jul 2024 02:09:27 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/29/2024 02:07:51: Error on send one message facebookId => 7943036059116946 07/29/2024 02:07:51: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/9523c800-4d4f-11ef-8568-2d83126cfa52__1722218967168.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A8lYPZa878NfvlEy_45TPVM" } } 07/29/2024 02:15:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:16:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:17:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:18:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:19:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:20:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 02:21:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 03:00:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 03:01:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 03:02:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 03:13:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 03:14:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 03:15:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 03:16:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 04:13:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 04:14:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 04:15:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 04:16:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 06:36:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 06:37:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 06:38:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 06:39:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 07:36:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 07:37:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 07:38:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 07:39:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 11:46:40: Request bot not found: { id: '1591915494408146' } 07/29/2024 11:46:58: Request bot not found: { id: '1591915494408146' } 07/29/2024 11:47:24: Request bot not found: { id: '1591915494408146' } 07/29/2024 11:47:48: Request bot not found: { id: '1591915494408146' } 07/29/2024 11:47:48: Request bot not found: { id: '1591915494408146' } 07/29/2024 22:49:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 22:50:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 22:51:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 22:52:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 22:56:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 22:57:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 22:58:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 22:59:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 23:16:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 23:17:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 23:18:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 23:49:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 23:50:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 23:51:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/29/2024 23:52:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 00:16:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 00:17:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 00:18:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 00:37:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 00:38:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 00:39:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 00:40:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 01:38:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 01:39:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 01:40:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 01:41:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 02:38:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 02:39:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 02:40:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 02:41:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 02:59:36: Request bot not found: { id: '309967135747121' } 07/30/2024 13:01:55: Request bot not found: { id: '1852395741674621' } 07/30/2024 15:51:29: Request bot not found: { id: '234064353428134' } 07/30/2024 15:52:04: Request bot not found: { id: '234064353428134' } 07/30/2024 15:52:27: Request bot not found: { id: '234064353428134' } 07/30/2024 15:54:09: Request bot not found: { id: '234064353428134' } 07/30/2024 15:55:06: Request bot not found: { id: '234064353428134' } 07/30/2024 15:55:35: Request bot not found: { id: '234064353428134' } 07/30/2024 15:57:16: Request bot not found: { id: '234064353428134' } 07/30/2024 17:01:08: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7549774318451117?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21893961, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7549774318451117?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7549774318451117?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7549774318451117?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7549774318451117?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ay5UJQQA3U9nppws9QrSBTp', 'x-fb-trace-id': 'GHOE2tv5VTl', 'x-fb-rev': '1015254805', 'x-fb-debug': 'Op/DDmnnfE9Gs9p+EnZfUkL8haPzjpVKRXommKCdkBn9ZBOgIlYowxp/KKD8mU014Zwq3iTRSaDjHVfkSYOFeg==', 'x-fb-server-load': '56', date: 'Tue, 30 Jul 2024 17:02:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKsGxL6JmPg5KsP9jHTUttiHqzRMUkJOKOm--n1OtupazgJ1dmCGdVvahf48DwXUFd0Px1iWlmsDMzjubCh"; e_fb_binaryversion="AcLxXtaMZVMDfjL41hNidjgICT9RMjxq58jnN236Co_K17oVkT9SADttKfBwfVBnxMyVUOu9IYvko0Vcu4mhcw83o-zheJNwru8"; e_fb_httpversion="AcIplJdm4cBjP_gWyn2vsecL1VuW-JypJYKR1pvdXl7LBLoiJL1noH1RQ4vn"; e_fb_responsebytes="AcJSbUsJRFebxhP80TjIGCo5z-iXqS2wlCBNw8snlWx-TvyJLMJmqqoZjlwV"; e_fb_requesttime="AcJqnuRNh68COnjvVrzEEzdB57EMp3Bh_T_fHNAAXSdmmsU5wcbhDubAc4-fDbmpEM9X8t5gOg"; e_fb_requesthandler="AcJZenpDfxUi-hv6C_75WgEug86EbN3_C6w4qt860Cp7de1net_JE7DdwhM6HpY55WmYMu2sG4E"; e_fb_hostheader="AcKUa-D7yY65-9yfGEUJ4_ayHiPma9iByKP4rk1AyxHAQQdDcZs90L4PrIE7_9mq7tsIZ0ucG_LszPnl"; e_fb_requestsequencenumber="AcJlCdsxSleG6nugYYuE_6DKSUTMze0-7FaZDxeafS69DbUZ67DIZ4pEQ8XI"; e_upip="AcIQAwBYMu84xVkH3Jgj1IMs7ithNN_Bf3XKGzl0E_fSKftyI6V_Q-Y5yLe1VJ4N57YNIOAuNLvXdwqp83-vsufCEQ5OVQqiwjTTERI"; e_fb_builduser="AcI1mR3HgqoFVenSuPk9qN8PjDwRq0bZ5KGj8bm3SrBPOke1MzFYqDqzHzBq9nXmsfw"; e_fb_vipport="AcJu54v6D4STV8vY-jUSOBULUD5V0aRbBnbtL_Xr-nzicSnVZwZFFxNLwAFI"; e_clientaddr="AcJ-LROjrNCDcGFuEKzecjVv74AJiLmLfp9LhMV-zxqnMW_H4FxwEPfUM-N7tLtzLaotfXMUA6tldxGmIWhjlUUJCSR_nzak19HXwd-v8vF7fyDh"; e_fb_vipaddr="AcKS3ZB9XQdNkuUl7QpTOo-ki1OxmyEtMtrYHtXjcYa16lxh0GLinv3FVu8zzbdsozl8cjSXb5JaE0ngHpfotpgtTVUWzv76"; e_fb_configversion="AcLzoP9OZt_mfjK2ffX73vfOjRjjWeCSzLbYm8Z1QYSYw1BNP0A24u-dMiCirg", http_request_error; e_fb_configversion="AcJvcsay8EuF0AwFkdzP1s7Sop7bEDmA4I4GXoLUjWI70C5fX4wsHvHVsTrZmA"; e_clientaddr="AcLZ1A9xiRjcHlnDCvEO1OvEblwQJwDThtDVgy2gn9FaG54BVFWNr62WRVHK97-5hWN3FvfArMpFgNTXag"; e_fb_vipport="AcIxCB2fkc_sLRymUmcMmUrv9ClUYHy21JKSpaxnbtr3O_U9b2GSiSizkQMt"; e_upip="AcL1VuKEJfDPSL40wVWdasjQH_wBBlOswbMO_mZhpBdbhsGWdE653tkmRqh7mhFSqc7f-NogOBMXKcl8RSEVhvGbIddv4f6C"; e_fb_requestsequencenumber="AcK4PURDFSt_rNPefJPgmZbpGpY6pQd6iYYH5WrPGTgdJsQ-okis34zeRg"; e_fb_hostheader="AcJgf0LixOmPKeaD92DAKhHOalsK3PsDaKSbsBqLSAVxSard27jW4WVnOOcTwyoTKncRYgH4kuDlb0eK"; e_fb_vipaddr="AcJwIFLDX5txIF0Cgc5c_5JEMfcPmKiDMgoX8OEO671klX39IPYP7G6WaAUl60bvjYfdJA"; e_fb_requesthandler="AcKp-2zcuH1LAzOBHG2Ypps8wIQy01x2goeWbAgg5Q4KzPL4qpe5ETMHYC2qbFoorqnaZ-w40aY"; e_fb_requesttime="AcKszLqMGDbEAxHdvPo-YzPQ4lvkHLzXWak7Y3347HLqnFS6Iqw2DRxyvNeoGzq-O1Zpw9tBkw"; e_fb_builduser="AcLvuuAljujlQckuRULgsEhzGwAnn0FVB2VkDcNnkZlvu4MjTu8GzvmOpD2DOm_IR8c"; e_fb_httpversion="AcIDrDWXkquLSZGdlXWi2aBnubT8k2AT-jz462VJ7UJo3DNBr0nEbHK3L2fW"; e_fb_binaryversion="AcIo3Ha8taADV1SZIuiJ77OfrxlykPbacThI1nm0fBDUFSI0htZ8jOCVZH769BqwqzQ_y9OYQn45IFEDXvjQvB6Qpk826PhxRA8"; e_proxy="AcLAwsKemqiMC2XxxiG0GDU1n_EznRzns8VYXiQ-BGG7eNFWxzYyf69PqIwE8_1HSVCind2tGkkRgXs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=484, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7549774318451117?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7549774318451117?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7549774318451117?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/30/2024 17:01:08: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 07/30/2024 17:01:08: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 07/30/2024 17:01:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7549774318451117"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21894097, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACE2sHmalAaJLedngNg4W5j', 'x-fb-trace-id': 'DOJ2MOdV4Mr', 'x-fb-rev': '1015254805', 'x-fb-debug': 'G/qOErKLGSlvbKcrr0stZVnlaNvYNKRblVrBySuB/diYn/opOy0SnLz2lMTH68tvyXnnJzoQ+tG2y2IX4lI4Vg==', 'x-fb-server-load': '53', date: 'Tue, 30 Jul 2024 17:02:48 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKBDvI5khZhGDNQA5CCVVTL2nq33WztQd7NRtUDbRV-WaheevnFAB8iq7OiGEe0AS4VrOlaJyLjlnp9IwgF"; e_fb_binaryversion="AcLmTm55WZMPHeBY7XkwHOYZGKYwD-yWN5b4UkEM8MpR6-2pmr2Kkgz7Q1hVB8FUvQD45wqXwXC1dP7IBELUdD3K8bg-yajZFLE"; e_fb_httpversion="AcJ74M0FrV5ZlkVume1DdpJR8BE3ETupt-0WelS37XSdm5Y66V7ZT2lgW1ZX"; e_fb_responsebytes="AcIxJLwgKSFWjbyWSoAMywuAA91Lhc5Eh3Xk6VdhRByD0viwBEbQpzBslF9n"; e_fb_requesttime="AcL7tvyTIoVCbSC16rtVSdblpVqzmiHjb2yNBAnLxHLKkie1jBoQF1qsRVPVYFmN033rbY_fMg"; e_fb_requesthandler="AcK81iODbSmLtuf3_wqTfq75yzuOj-Sym05SHn5DxjvwVqSGN8WWxi0PK5nbYuxKTYW4saEsBXo"; e_fb_hostheader="AcIJko2qkq_7Mf-inSQhhNxMIg7g_jwE1QqnUTUcfLhjPJ0JNXutAYfw_CZoLW-W3zCiMyk_2Bflly5b"; e_fb_requestsequencenumber="AcKzOub18nfxg6J_9FIIwkjoeJccsJoyoLfiO3IwyuZgNZpA8Iixs9Y_1oZA"; e_upip="AcKoQhMPPWrqg556aHUJ2ZYwOQ3C_sDkXb9HkL1T8yBjIywvkK0UZ2zKDALEpf0yPVrNH6H7U1C_z4vBniCbAnJTIr8UP_D5_CgdMEg"; e_fb_builduser="AcKCizm77PRgr-y-YJgoF_8dtRe-8asf6Mcsy-VPjPkJSb_uhzBmPAl7KacTgvmDOCo"; e_fb_vipport="AcKMXy2Je7MH_t8xV6aRqW2zs1MFgdwXxzN7CbQzRXdEGqVMXAhd4yPVnl1_"; e_clientaddr="AcJ8QHoGBpNOpZ1zzCj8l2p_t5EcfdNt5q2hdH4NB2d_gEJlpfqj_wy2C1vnF6Pvz7kRI0vAkcNtixEksi5ZdHrY14by0KAVTLDAFhL96lxPuDFiRA"; e_fb_vipaddr="AcLcFMjYAe9wF21KQzKUKH_l7lL7AW4BWo7DcehTymP9ZcAqd87wVtECJCb8YX2tfzzrE2IYez1IijWP1LxWtISxdlQLrn5y"; e_fb_configversion="AcKhqgqgCulxRdJwoWX0DOFT4euZ3GIwQc_NL4jC5bzyRQTZ2DujE4N1eIPmRA", http_request_error; e_fb_configversion="AcKJ-AEzTQapdA7dczq-AhSu4Gpq2RWAjwZ5lCoEX5RohtP4at06LB4s89pd7g"; e_clientaddr="AcJK46vQJAsKTA9eV7KoKucXYeoKic2ZKDhM6jIZ3VRD-OedHmLrOxGqgX0AAxzG0VzEzO1dlCR1pz-H5w"; e_fb_vipport="AcIkyoIW051jSiXmKkD4jrtWQiTVX41TZSS5wBdWlQffWEKdesTDprRCmmjN"; e_upip="AcIdf0DJWPUt40w8jCbA27IBGasPIcObElcZqdutjy8TVH5leOyH1oH7qo0WC_pvgJVGinw1qMPkc0Nw8Ej8SBkOPLgBFuJI"; e_fb_requestsequencenumber="AcKnjhT8slJZSqXfYVt9KsAj-rOfp4WTDgNQ8xkK8dx-iXQ6Gr324WsHEA"; e_fb_hostheader="AcIBBVICg3_vmnJaRjbmlaOwaezpdVa2jbTuMoEFmTFWylzJxCes9tGCsTndAW9rAHmxv6cpGPRisT6O"; e_fb_vipaddr="AcIWBIzINrDb7ShLljFr0GoPtN5HuRrI5uWq4Vt-QtppMYcd5fnC0UrtsxOdvj45UIQW2g"; e_fb_requesthandler="AcLdUgao0F1R3jBCMi1tg6coSMSv-m4A_9I1JpXF42nzSFztZN0OPHPWopsXUUahKRiLkhdm-0k"; e_fb_requesttime="AcK510Sxmkv3dJsI0dxnh09zqvi-jOEsxK8hGvetE95mdqB7G2mrFjfwScnXhv78DkLkOS9yzQ"; e_fb_builduser="AcKYg-SB0zR6E6eZQHqOqVa0zQMgtBcjtP00cHg5uEayuRBirBgBm_wZsp3TyEGZoxw"; e_fb_httpversion="AcKEZ1p8mBqtQg_2zYkJAqKxCkp8u0uvqJ72reopioqcJ1kVKrDIMoEperHE"; e_fb_binaryversion="AcKNrUCa_-WcaPihtHwKIPGFIkOgWO5t9H0UoNn07F-v7JvbYtbjO7ApP0p-304Qjwe03DNESoGAQDjDu19cAAn0ad7TVHpzKnw"; e_proxy="AcJfMfVBG3cSqa22lTx2WzF-gSoNMlGswafG_UA0u3qz_hslk2RN5-7i8nzXHtmaU7KjfwgcLRd9J1w"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=246, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7549774318451117"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/30/2024 17:01:10: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66a91c54ff349866cd50cb4c | [object Object] | 07/30/2024 17:01:10: Error on send one message facebookId => 7549774318451117 07/30/2024 17:01:10: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ADQMtgjH-l9JXkXvcw2CFYy" } } 07/30/2024 17:01:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66a91c54ff349866cd50cb4c | [object Object] | 07/30/2024 17:01:12: Error on send one message facebookId => 7549774318451117 07/30/2024 17:01:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AA83G9mw_wQKIm68AzH2dtx" } } 07/30/2024 17:01:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7549774318451117"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21894343, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al32I2DvnXh8yiz5VXHljj2', 'x-fb-trace-id': 'FgB3WRSaZm9', 'x-fb-rev': '1015254805', 'x-fb-debug': 'sMGN0BExRhW8OxePcOz7RHcjWQ7t9m/kT0/8bL5AGDgqkguEyqfCIDIj7daZQcMy52i5yDiEbR1rVHi6CdI2sA==', 'x-fb-server-load': '50', date: 'Tue, 30 Jul 2024 17:02:52 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcLwpjtg21obXXBfGPchsf8X0f95H4euzDkioI1NsSA5GweSN6-uNszlJm_TfMWeH9uvq1JA8UnWgmnlu3o_"; e_fb_binaryversion="AcLfNMDQpBJuKlxJ1kiX_J_iPKJaUa22C6DZlqaGK22fr3virtNJZb_8RCdoQTan7aR6u0lvoWwOy9YrUY6aXbqD1HIzVJboZKQ"; e_fb_httpversion="AcKRU5R_r-M1Xo-0TZC3sGUQIKIuAs7tBZs3Mc_UEn1kbbX-WDoRwQvVCVj6"; e_fb_responsebytes="AcIFh-EGGXGrcO_CmdM-PKrX2liy78VVrpPekIxvC5oQyKy6lfap6M-3FirU"; e_fb_requesttime="AcKkfREJ_laeyZctokSCyxDEImYKu5M406qTBDshMRz8JYkF5WLGNrmY5qnBPq6HcAGY9kBzPQ"; e_fb_requesthandler="AcJDmQgUgD9Ys5vNDPsGVXcyN41WJMHihNWf3B6Wlhk7G5g-uol4Ns9D7Oky6waNeJc5OWAearw"; e_fb_hostheader="AcKAecAUmVACDvhzMF2qwplNQU_U2kc6XAlACy8QhcLnS-wLsxwhXHS1GyUu8qgmiHBch6yTl7T8ZE61"; e_fb_requestsequencenumber="AcLdFVy-zf1UiyVFHHzs8x4e_S88zH2XYqThFaG7WciDAvAQV8OWH_AdDdJ1"; e_upip="AcKYCHiiRZmUkUVEtonwK4kiuAk8rUhKZtievCZzp0hB9tY9WLb1OEMXOx4bkleaCb3qS0mOEPuYVPhEBOeYih73PwsZY_hxFQw_YdM"; e_fb_builduser="AcIqBwEQYuUs2fXNLtVZf1oZYcNbd_J8I_ejPu_wkwm5AcfYWf-PXf3rmkruMZdyDjA"; e_fb_vipport="AcJ-LW1WaDvWuk_OQaLaDqmXX10SH_6T31jxFPr8DsfgxlRHFK852AqshbQj"; e_clientaddr="AcLFQbX-bRYzEWR4jatujCXd3p0CZiyxiaoKsGhRW35q0ANlUdksxxKpHRi8dHue1D50cRJglppPgcyBbfTJGo_pPqaLYmEAB2HSFpRNnjs4cLo9sA"; e_fb_vipaddr="AcLhaFDfLiqkcOc493Rc2eYfdogFkkI5FhSNMbdZ2a6keXW0Z9wCU0bz9JOQqHGGtsGOM6316KplgfHfdSjHOtHtrrGhmNzu"; e_fb_configversion="AcJfxGZzSJVaaT31r7q1SDers76OFoZWX0Dwng-2pJqdAdT9EaLnPCl5lWYUeg", http_request_error; e_fb_configversion="AcJ6x1m3dgrbuGRD5S4dMRGzUUgRWyl2uaO78CjKN7c05553I7u16bxEJFwvhg"; e_clientaddr="AcJW5NT4tbua9NhxUcgoKjKE87nrAD2y3nAnqAHq8h9pkCmnfkJRgbA3Ib7i_PN6YWPlh0xv9e98Sx_S9w"; e_fb_vipport="AcIeZIGF8bOa4PsBfYpwPfHBURsfx90VkDaTgZpMXZpw39Y_hSQB5SDiWCgQ"; e_upip="AcLvM6sk8naiB7EPONBhUOgKlItfnziVc9QS5zwlMUzolFtC-goMTPcTckjPPH0K8ltVx8_2NDxAB05r5QalcmXc6aXc4F80"; e_fb_requestsequencenumber="AcKNMvPjGrgbH8JthL9UaEeIeuHdaqe8EEMYTEew9ekMuX5h27ZDKSJRPw"; e_fb_hostheader="AcLRdRdZYJI-Gk0jeNFeJ4JbhwIepcyEIgnFj64ZNvMbbAmxdpBvompeM_DHksHdPxHOkqdwB3LgSVvQ"; e_fb_vipaddr="AcL3jgjW0L863UWRVqc-5yHosnYquDTgKEoOHsutDWkw4XDiOcMFJ89PuTC8jSN3Y36Blw"; e_fb_requesthandler="AcKBayp9CD7qrI347QyY04xEBTQWH0tUOMFPDp3c90v52LDM32FKffDLYm-3V-BqkFBLoB51oa0"; e_fb_requesttime="AcJMFmEQZ33HA9VFnkkdphgl5QqW-ZxSYCxwdO89GR4vkmcmJvEedsozCIBcKFoU2agkFfxAAg"; e_fb_builduser="AcJwHP4oFfNqky_OzCelP7OugM-brkTpPQtG284raBUidCS814qEtMK337n_heePCYU"; e_fb_httpversion="AcL5TBp9N3QwbEVReO4ulPI1Zu-M5gE-vWIf-C4IlGnaUDVXzvCN0sn24JLQ"; e_fb_binaryversion="AcIfr95BVhQjca2fXs0P303Y_p24yDIK5bsBYCEHBaEh8EjWDPdXL_sJ4Ch3QuUmAImhVLiZP3smhsWccILqWXvCrZELwWMRNoo"; e_proxy="AcLBlMZgAtGYJ7kFdY4o4cArXjZm4thPzD_Ot1kXzWzCftCODgYcfU_M0t_DCK_3kA2r4vYi_qK4fcA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=252, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7549774318451117"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/30/2024 17:01:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66a91c54ff349866cd50cb4c | [object Object] | 07/30/2024 17:01:15: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 07/30/2024 17:01:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7549774318451117"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 21894527, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwluuEU9azj2U6GrDf0jVh-', 'x-fb-trace-id': 'Ggp9qXTISH3', 'x-fb-rev': '1015254805', 'x-fb-debug': 'dJOUFCwO9DkMI4oU/V4V4e9RomuYhKhRfRsLPUlOuNMEOITsZcaxzXuG3RsrMLVOjhjmSCFwg/HM+JUwToKPCA==', 'x-fb-server-load': '48', date: 'Tue, 30 Jul 2024 17:02:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcLHgogYQI6uQrlmWc5cs9oRhibzL2_-RB2547TbEj_Nv22icqImW5ZdYOlhWE3Ifq8f7H5cXXXa-IWLlXKl"; e_fb_binaryversion="AcLDFAPvZKicVva1vzFJvILtFS_n_02RvcvTCPeI7HpNkuXZv1J8CRhqIqHLdhd-1GmSMpgcpZWBhM9_toWPIn8K2JD73aDy1Mk"; e_fb_httpversion="AcJyJCIBfKA_M4nqM8SNWhOF9rA6hfeOA9dNBGjJsE5OMCsCq7VLGeZU2S6O"; e_fb_responsebytes="AcJctxvkELDYv8PawgFT-Hz6rGfprLQRFP5-D6CJVHq7mAe1RRzpDsojirWl"; e_fb_requesttime="AcJhMsAI94otGmrV5dPSWzWajmcb0j1ZEkRryln6gE2dShFESVC9iLtnNNCaRO7QvLzOjpTtEw"; e_fb_requesthandler="AcKmQ36jlg1FVcaRxziTRB8pxACP0leHI-0U3XJdkiV9JPSHapFBtTIjHSUwB8XrZivjSgGoknk"; e_fb_hostheader="AcKdhqyR27tglaDnql-kAIBobeeZQxTEMUyz9Eu3kZbeoGgh8qm693nmh_YVhMgoisaAb8mWG78xq0M6"; e_fb_requestsequencenumber="AcL0Ea-gPufhgSqLRUJ1Gy1Px6m1ZPB3qrLTduVXXq0Jm69ayy0sq3w1lMUx"; e_upip="AcL92pMUXXMlUpmj9u3aT82fIGTlGiJC_97Uq2WoH9I_c_7_JdYsBSs_oXN0FBWcpNM_FV9QU_be-boyWJpSdvpV6kMbYaWHk7cCgX4"; e_fb_builduser="AcLQ1t1fc06ZyiuvH2FRy84761qbU40Ggx0NUyo8f7cllOWwUaeSBi1O9eHOhnM3_w8"; e_fb_vipport="AcK-UkbLz-6v1qswt9T5NzD2thk8IOwut_ypwh-EeChmEPTFHIJ1aUqc-3mj"; e_clientaddr="AcLSt3PNmjzFAZAinIoo7RXv3UDOJ-uPE_f0-exuwCJLDBT3Mqd4DFo2stCwcoElyUkFRQmwbTKDapcW6UAOuL2CQvZ9FCBFZG5CsCmdBHjUArmsUg"; e_fb_vipaddr="AcJm9y7O1aWb9kwJQHznnlEpRYyMFcySQHZllkag-3sM0tv-B-TDFYvXLszBOh864QL0mFTeLJnpSW6NsdqtiMMHruAqmTT0"; e_fb_configversion="AcL7ZH8ilfm9mUe8euVTpgrlbFGRW8_2jTk94XFXqtyDUUu44bSh0NHhxinrzw", http_request_error; e_fb_configversion="AcIa7cpzWcB4L_cKg6klNaxv8tcd7Ce1G8uCLxYvA-PhWOjjZOBdE6lvEq-NQA"; e_clientaddr="AcIt2ux38UWQoD6ucbhli71MbV7JhJ0rWi3BMyGa1Iq3uCJVEWGLewxaVnKS00NXYV1ruNWbJ84G0wwViw"; e_fb_vipport="AcKlnUAlNRclpbsQx6GKRw9g-JpyX7MMwiD2qTdzlavyNxqyj5L4sWqNHn-3"; e_upip="AcJHShcOBkuDAfPFFMXtrEIg_GkCEFxEJTu5o5lTfoGEOatDfVJiH9MJ1XW8kLhED48d7k-RfSoeIOA-VW3RO0thhS2og901"; e_fb_requestsequencenumber="AcLFAQkhqJfa2ljekDPoQTX3a1FrLYdYZUcGqAaHE4GPtwrgUNOoSjF-NQ"; e_fb_hostheader="AcKrL2zO0b99F6eR7w9hMA5dvTFjAuM8qHT9Mpc9d_Mb79wrXx2rJyJ17PxToSixSzKTJTMf7HAhryaX"; e_fb_vipaddr="AcI0FyRXFh9OGOt5H0v0titKo52SU0U-gXW8tNLA0RonuxdKGjwY9PC0ugbCMOVrdtItmw"; e_fb_requesthandler="AcImbOCc6B0MUmvRa_DjQgmj49xp3HLDo_ikuOci8oZOXFmpuYCJF-1lqWijw4TtvDCY2tK-AuY"; e_fb_requesttime="AcKltGUyHdXX5poxpvxa3FbpPSe9x2yI5HK75WbsqDkrVjHP0UpjTd7tf4Ecaz09Rgs396zIGw"; e_fb_builduser="AcK1QYiCGYz3MiUuX-5RSyN-scTnwpImb_Xmbvpd1bXgQh_h8dzDGC7vujVTzzVN7YA"; e_fb_httpversion="AcIQ_Dv3xyMPPiFq1qmZ0n1nH2PkKp_cTm0b9MyyNzXNaJb3OzVzJRIKHCeo"; e_fb_binaryversion="AcJIJ5muUWEFf8gJb6stZwp_clxSpOMPalNOxvcdBmDOsC4eEorNIIPbv4mdDnQCOpiOzPU88Tsa6DWG3j_jeWvkGJebN8q7Nec"; e_proxy="AcK8XjQ__vZWcNN242v1BPx15E1RUvsKW4fPkBh9efE0C-nXuGfdUY0nFETbzBxX1DAbxiZdzr5XFoM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=280, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7549774318451117"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 07/30/2024 17:10:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:11:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:12:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:13:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:23:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:24:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:26:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:35:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:36:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:37:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:45:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:46:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:47:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 17:48:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:11:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:12:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:13:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:25:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:26:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:27:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:45:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:46:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:47:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 18:48:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 19:25:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 19:26:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 19:27:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 21:27:03: Request bot not found: { id: '234064353428134' } 07/30/2024 21:28:32: Request bot not found: { id: '1852395741674621' } 07/30/2024 21:45:50: Request bot not found: { id: '133788230054854' } 07/30/2024 22:25:45: Request bot not found: { id: '234064353428134' } 07/30/2024 22:40:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 22:41:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 22:42:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 22:43:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 23:25:32: Error switching inputType 07/30/2024 23:32:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 23:33:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 23:34:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 23:35:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 23:40:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 23:41:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 23:42:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/30/2024 23:43:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 00:18:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 00:19:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 00:20:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 00:21:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 00:32:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 00:33:08: Request bot not found: { id: '234064353428134' } 07/31/2024 00:33:09: Request bot not found: { id: '234064353428134' } 07/31/2024 00:33:10: Request bot not found: { id: '234064353428134' } 07/31/2024 00:33:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 00:34:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 00:35:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 01:18:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 01:19:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 01:20:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 01:21:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 03:22:05: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 07/31/2024 03:22:13: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 22030866, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 31 Jul 2024 03:23:54 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 07/31/2024 03:22:16: Error on send one message facebookId => 7972798712786005 07/31/2024 03:22:16: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/505cc480-4eec-11ef-8568-2d83126cfa52__1722396233928.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A_GCPV0jPbipU9XFlYPKck6" } } 07/31/2024 03:29:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 03:30:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 03:31:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 03:32:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 04:29:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 04:30:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 04:31:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 04:32:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 12:21:15: Request bot not found: { id: '133788230054854' } 07/31/2024 12:21:59: Request bot not found: { id: '133788230054854' } 07/31/2024 12:22:05: Request bot not found: { id: '133788230054854' } 07/31/2024 12:22:22: Request bot not found: { id: '133788230054854' } 07/31/2024 12:22:41: Request bot not found: { id: '133788230054854' } 07/31/2024 12:28:22: Error on controller payload Input Treatment=> type not found 07/31/2024 12:35:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 12:36:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 12:37:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 12:38:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 13:35:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 13:36:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 13:37:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 13:38:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 14:28:53: Request bot not found: { id: '1591915494408146' } 07/31/2024 14:28:56: Request bot not found: { id: '1591915494408146' } 07/31/2024 14:32:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 14:33:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 14:34:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 14:35:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 15:32:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 15:33:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 15:34:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 15:35:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 18:56:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 18:57:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 18:58:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 19:05:53: Request bot not found: { id: '1815581812105014' } 07/31/2024 19:47:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 19:56:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 19:56:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 19:57:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 19:57:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 19:58:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 19:58:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 19:59:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 20:54:19: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66aa8f04ff349866cd50d1d7 07/31/2024 22:00:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 22:01:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 22:02:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 22:03:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 23:00:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 23:01:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 23:02:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 23:03:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 07/31/2024 23:54:22: Request bot not found: { id: '133788230054854' } 07/31/2024 23:54:31: Request bot not found: { id: '133788230054854' } 08/01/2024 09:11:27: Error on controller payload Input Treatment=> type not found 08/01/2024 10:02:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 10:03:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 10:04:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 10:14:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 10:15:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 10:16:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 10:17:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:06:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:07:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:08:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:09:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:14:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:15:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:16:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:17:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 11:58:10: Request bot not found: { id: '234064353428134' } 08/01/2024 11:58:30: Request bot not found: { id: '234064353428134' } 08/01/2024 13:10:09: Marker: 0 | ID: 66ab8931ff349866cd50d62c | Error: cant_get_message 08/01/2024 13:17:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 13:18:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 13:19:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 13:22:10: Error on controller payload Input Treatment=> type not found 08/01/2024 13:29:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 13:30:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 13:31:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 14:17:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 14:18:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 14:19:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 14:29:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 14:30:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 14:31:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 15:22:01: Request bot not found: { id: '1852395741674621' } 08/01/2024 20:06:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 20:07:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 20:08:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 20:09:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 21:06:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 21:07:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 21:08:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 21:09:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/01/2024 21:13:58: Request bot not found: { id: '863113247096430' } 08/02/2024 00:43:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 00:44:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 00:45:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 00:46:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 01:02:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 01:03:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 01:04:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 01:05:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 01:06:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26758087967123074"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 22540196, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5_eBd0FBIlVJbUvr4GB4EE', 'x-fb-trace-id': 'Da0ps7PNTX6', 'x-fb-rev': '1015342087', 'x-fb-debug': 'AE/l6QHvVNcx2QUjqc9uIc8WrziN/L9OFaOjxID3ZRs977gs1WWEbVDzfPtMsz3zL5hx9ieJOKrK5cg8rE/Cow==', 'x-fb-server-load': '32', date: 'Fri, 02 Aug 2024 01:08:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLVlnKIPu6eIawF7Ilau4MXqf6Zm_JftuAW6oyzZXARhNqR6JjrUcmNniH--oEH1jMawApc314rqiuVjB2x"; e_fb_binaryversion="AcJfARon6WMRv75NBCgf0FIiHI00e-8EB6G16s67bka67BtZBR-XSA-R7bQ-Fs-5iNV3YPcRYd3GlCd21OSSkkBv2OSy0es40u0"; e_fb_httpversion="AcL6dkMG_ne7IHYfUNsBzItOdIV7FUASSN6rNmAEu63WXSQfJSviZ6IBTZJV"; e_fb_responsebytes="AcKZytckp_YGTiHiZpHm_bG47dL9W3dtiQhoBvzwlT9z61ZAPPVwRVFwKw3b"; e_fb_requesttime="AcJMz1WChY_VXadFmmqh4QshFB72JtBX2VUin1nejeG8oxScJXah-KtubSALDdZV8UIx4BEatA"; e_fb_requesthandler="AcK_Ri-QIekAmvKQPJ3Jw4xOJdQrL8LZySYA-tbZaStEJHnHxFMt3aiIOJVpRQhu3ItEYAFycaU"; e_fb_hostheader="AcJciOUsgTfTiqDyS40pxjEyheNQQAJ-g65NrDzV60FT1imMRWW_lY63jTSg8Zurdz_ayGL6eEgYJ7N1"; e_fb_requestsequencenumber="AcKwjZ3UHqU5cfWc0v2dTikbLXnSFo7DQz-w8AnwmHG1qZpnSss_9OKdo09_Zw"; e_upip="AcJNpzDUNYqkXAS1zjAOnnYw8Y3b0xqGWpvMPKrQpab21y3GmigDz3wxAcQHlBv0i14LVGp6APE9o3fgzbxvpqLRxhp7QSp9pYnZi6I"; e_fb_builduser="AcK4FR7w3NTZ-a9MkmtrF7dMxMe1u5kY3aJ9Ue6qokGY91pzs45fLmis5Uy_AD-96-c"; e_fb_vipport="AcLAEt9UJQqVWh8JhKikwA-WulvNgoNvKBxnRyICbAsUl4pwfQpavRMuXVSE"; e_clientaddr="AcL10Pk9JSfJo_cTFVs0hZTFd0VZhNT_mmgphTwi9njeSG8QEzPmc7imTOGzqc0TvE9hv4qxaaTIZJHbkNxLh9Ke_BIMTqXCtkG9KkCljqqcptclhA"; e_fb_vipaddr="AcKhWI65r2ZPY5VnSrJJSAwmPKO5NPwcB1Qh1xnsx7RbxD8oiS1Q-y-J7s4799bawOP8WQ-8-hdyM6H6eMJ3ywG_fBOAVyr3QQ"; e_fb_configversion="AcI6C9IWEPbuRfCebBdD3Ls9wg8Xl-kt00R_YJtUVrY93hfAFDOpn8nzp5HTiw", http_request_error; e_proxy="AcJrm_FNmiCpuYAiKYeyTHRoWzAxeodc1LA88fY9Ec6Qf5q5uY75hIKo3nWSFkSxNNypkIzAQ_7NTmks"; e_fb_binaryversion="AcIbbow-1kiFDxaiZX0jwxan6kR2W2spMOVL5nRkSfU7feZiOduk14vKQQ993BoLgjmeNYG737b-uPQ5WDR2CS9DzGHyc8KZWf8"; e_fb_httpversion="AcIm_tIFNKaViqIbVNTdmw66NZaBiRbPXGHr1cfxToLhL-tIip5Zi4PEcbzL"; e_fb_responsebytes="AcJazFRtv9UMYvGdmHoc4AQK5OpWeyZ1xplMJF6mMxCk0J5EtkPcmVHDyjt-"; e_fb_requesttime="AcIotZ7WrE-VCCS9I5HjP1-0HcD8Qz7lJagu6nv54mzSzeuIfFMKODzq3F07LCzCn_-EWwddaw"; e_fb_requesthandler="AcL2b2fy6WkFUxFgL3MB2RPoW2ytNGYagcg6OBRtQSmWf3eMfGrWy9Ffv21AKv5wGYLOkFO2Btg"; e_fb_hostheader="AcIOuwSqSg1Vq-IJm8USP5YR1NQX-GBd7tdQQwQz07zMnMAonTmHCKGa9Fhb4uKQ_e6e4gi-jCKv8z_I"; e_fb_requestsequencenumber="AcJebJW0xUcvIcWPEng-df1sFphZt5EH8GTSO28k-3kMbICIXK5k0OxzEA"; e_upip="AcKQVwylh2oPqJhLYoZS4sWC4UQpH8mHX81_gW6UNq24hdFYgm4MQUmOtQfLLZIk7lmfWA1mLYBkGUdPbHtsEDbtoCYsScLLXg"; e_fb_builduser="AcLlYyI_gIZMXlCL8fY4al4WbPvKSVA29kwLewJYKaNdvHj-0P-q6oVc1Juzwe83GsI"; e_fb_vipport="AcKj_lYnYStLS0pAG8ZbKqGT12hKkilzLeHw6QQH8dqeFTcMLebAjW2qzZ56"; e_clientaddr="AcKQpzMv7gmpHHbrCfcViXQZXlyC9MwymyUZz0E7RDldwxJ3nPXIsEbhx2RAnmrMuSOb2FJRqRa3h5hg1A"; e_fb_vipaddr="AcIBizeKC-zT4R74SXj095k8JSXJKBFmZ2aJdU3LNGAWqv_zipLeHxvpTkgZzXIvcXc3arV3hQ"; e_fb_configversion="AcIe-BDYLX7XKDiGek34FMEA0wBI4zHC3IMXYXxUEqDKjkJF3bGZ8smuTCkpPA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=67, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26758087967123074"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/02/2024 01:06:18: Error on send one message facebookId => 26758087967123074 08/02/2024 01:06:18: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AfgvpoxDIU1-gNrOfRhlsJv" } } 08/02/2024 01:06:18: Error on send one message facebookId => 26758087967123074 08/02/2024 01:06:18: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AcqiQvri010acjnPDB_uTJq" } } 08/02/2024 01:06:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26758087967123074"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 22540421, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6GLxMY2XRSBVt8sAwzzp3R', 'x-fb-trace-id': 'EWfgdgL9Pvl', 'x-fb-rev': '1015342087', 'x-fb-debug': '2hBoNXtIxFP6sid1+R1QyZfvk67aap6CFMWlUL4LbcGitG17CXyBjuDMzQWqegYQbr8XHGHVLnyiGeC25jzbCA==', 'x-fb-server-load': '24', date: 'Fri, 02 Aug 2024 01:08:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcL8ZQxshzrvhiocCIeg293etLjofNgToLwvazrPGdl4iBo6_HYLksqm8Q3HAbOcrfPA1KAVh9LrDyhuaQo"; e_fb_binaryversion="AcJ1MNfINWosY2HhG-Skf-JP4mTr56MwhLmb1OcctuGHbOKiLPYc0RDtnUHNRaCu3DzjmiCIZzUyhKsu8NntykBqT3DQzGPxiDg"; e_fb_httpversion="AcKu7f_fvFZW5p0wanHATPwHP1sfSKH4DdHDn3IM4H2m5gRpqjhJ1FJOH9Qw"; e_fb_responsebytes="AcKiVJdA-1hVtkBPnlA6mNMne8mf9gBwMLF_DQrSd3SU7zMjxzVv5-mHW5QS"; e_fb_requesttime="AcJI-mSMnWqSymBkI4vQSq_1iM2-eAXJnGYiFjO9ieRoJ0ASsBJ7I-KPSfO4g3sXUNOuDYxzFg"; e_fb_requesthandler="AcJ5tp56YxShtYpNoNCf0yin33Eo5P-mYcQtjkn1cad8ELPv0A6MnnNYp207jg8V2gCyhdbkHaI"; e_fb_hostheader="AcLrKT1dhz_c7rEFXENVbq4vrkoKk2itnECm7dgsoi-moWyBEhd7JoYZ_YOzXimp-r3svXFUZZAbLCB_"; e_fb_requestsequencenumber="AcJOMFhh68PmuBt-z3th0uT7Y4TFF8Hh8xpmLY5MX8ChpSnLM6kVdgiknCY"; e_upip="AcKD7PCjbJp7hkhNlQ-FAx8Lk0EZ384y5j8kCE_J_LPir5PF5PdDhvoo7vJoekXnccwfsfqa3p3oOXVQmMaK2bUP3e-d1-TtGbNe"; e_fb_builduser="AcLGik5lMstQuPGZ70NnkiwkKzm3zmAfKiUHb8Sb0lLpa1Q3JdlIoG3z65IXPTG-kr8"; e_fb_vipport="AcJjwQQjvvrQcZj_E0i3tHDT-8UvHVkfU05nl8LPaqqQTmVcNedlAomi1KjV"; e_clientaddr="AcJdxO8ZLuy_0BmOtfV_kvbZdh1bKo5V4B-TIzBK5SgIRl_D4lXtpyFEICFn10wffdVTHBJQgNRMHtTUP9Q6Xik7D2G-9Oo24tnqANDSOV_DSy10Rw"; e_fb_vipaddr="AcIkI9sxkHXefSgLR5OYfbsvOZcxOR5lYLymXf_K9pYRK9wRbcoNuu8GBYDRqDk7AlKp96mEYbMqEbtdqjL6lLc19bdDEdTA1g"; e_fb_configversion="AcKFp0VXLXQjhd6pS5nJLmXhvm7zYNN6XBj7PlvM8mCgBMFX4j6xnPwHpSsKXg", http_request_error; e_proxy="AcKcZhQ9K0HUQW2TiXK1Sot_YszPMlv37CZgcQd1wZaw3NnMxuM9rVZka6mkX4WQv6E24MEkynQ-SQI"; e_fb_binaryversion="AcJdW_rbnDiUBjDv_lMHukVDupKiKxgIKmNe8_W9Sh-5nuf3YTDTmPgzGuki2AQDXt98BxdC8o72tHdWqHfurll6KZikNfaJkNw"; e_fb_httpversion="AcKg6VrmHG3qJMv91BC5fjrPSVVoFIdsL1p92gDefVAL6QM9Vzz3ZWhzFt6V"; e_fb_responsebytes="AcKX0uqwzcYsu13GpU8Qt8dAVQbxqyAvZi0Sn8xpWBR5QqSyfno6gwFesau8"; e_fb_requesttime="AcK5wkRnXNgqeW-cYgmkIHwqygMjWzir3KcLldgz396sdAqdCHkko_DbBBuSzlZ2E3JXJPFYQw"; e_fb_requesthandler="AcJfdm-J-gL_MUQwjUyKYkOH51YYy2w_FhzV4UnQp731YWtIvUSoi-R5yX2M6QloKeZx6Hbj9tQ"; e_fb_hostheader="AcIJ8OB0rD_0_kSGexxFoC41Ak0xb4cepZ6AXwxFYsjXLyl3ZLYyhAUUtwEXOMeggrab5vHDGL_Rr-Ff"; e_fb_requestsequencenumber="AcJ_fmA8dkZWCnWrBgtfnmrL_Qb0a6j0C2TjwQ98J-40A82EOo8HJcPFTw"; e_upip="AcLzYmutR94VFvW6kAVcizjGMnF5tVL3C8vxxZY2yMMLoZuhDWs3VbpX8Oa6G6KyAcF87sQd0naB8aehluHqcrRB6tmvPxjXNA"; e_fb_builduser="AcLlSK888AWdVB1I5DaSo_4rA43epc1Jg9iMJKfhlEIMkeWJ0NWRr5J_hH8HzC9SVM4"; e_fb_vipport="AcJS5x7aaWpJp2qjxSGpqDzxtCHI9FKd4LiLWV9nKBiqki1AhhD-cYu4yOWa"; e_clientaddr="AcIaObxeL1Mr2YhA-So0Grf6OrJfYtsOzZ_OQRNSKEIDFNnX9D8Myab_fZPhSrZ6Cbs0W9TO7b2Zz_tIHQ"; e_fb_vipaddr="AcKReCZIxsEjAnEmqtfNMQqUNN-ytzZ0onWnCAXSrSZq9mYHXkhiJdPIppzpRO4MB5AddZipxQ"; e_fb_configversion="AcIH-9WJqGgiO2TDUEzoJl_EDB5ERgVdPYDKmxmRvQGgr2RTceD9YGRL6Ro-9A"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=76, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26758087967123074"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/02/2024 01:12:43: Error on controller payload Input Treatment=> type not found 08/02/2024 01:19:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 01:20:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 01:21:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 01:22:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:02:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:03:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:04:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:05:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:06:18: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26758087967123074"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 22551925, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsVM8f4R07b-aKz_PVk5Nki', 'x-fb-trace-id': 'Fh7ELp9TIoX', 'x-fb-rev': '1015342087', 'x-fb-debug': 'P/2TOZ/KYHzpuk8LE1SkbfEY6c1ib6aG66/6043S1zJ8p46w0KjOaVBngSZFIsuNxbUxVqYQmfMHEH3el1bOSA==', 'x-fb-server-load': '49', date: 'Fri, 02 Aug 2024 02:08:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLLpmPWWmkvYnZTbdSM4ZcRGjIUWvQM37z-hIHQZLLRyfeJfYiFf9OrzLv3zEZEzFSQHO56d_y9YBs79dD6"; e_fb_binaryversion="AcIG1dqS_7xQe0NAHsH65f_IUMphWAf1u5z9apiNMdxYfvJIBukcf_gR1aWnLqToxkXJDqvInjre4N1TnPzUlOkir76wf-woXgg"; e_fb_httpversion="AcLkCiJw670C8PPvw5okLFsLoWWdIZnqThfgGti5c6VbyLPWsO7WLOcB4A9r"; e_fb_responsebytes="AcJsslGVEwJXfFYQtxStP5RWMDdViUqBt0PiHx0fPIRb_oPUFc_ZPoQUURkv"; e_fb_requesttime="AcJogJ51YiVg_VthzEgAbcbnlzbTAq1cFo2BuPcoeAmGwO5DZjOa9Aum6Kvhrd1IQ4slEePMeQ"; e_fb_requesthandler="AcK68eQvuMhcA0z-jsevSBMJ8s6G4hr0BxtcXUmtBSCfKmK5_drmpw_9zBGCMaFMUpraNkxz6Hw"; e_fb_hostheader="AcLyG3ITO33i8rJ1ipzJtqtnuKuSOjrwUxY5E7uh4KAlKOcHu_QsiR9o8GA7I4bfLbvFHKF9nSquZSjZ"; e_fb_requestsequencenumber="AcKI2YmXXnYhwRYwDBhOq9AR-Fkl_t6jo1C_tDqAJOLPG1TY8W9vzmTekTBk"; e_upip="AcLVZbThOAoaM7Zg_pcBOz7nC8IIZ6Rkc6s8GGjCGJI0VJK1coflDdmV710ruBGC1mC92xb4Wr2jRA4FVVlch1hvw6kRqzbw5-YOVB8"; e_fb_builduser="AcJl2-hroZMCo6UnEHkQLYX4w-A_aC8D27FdpKvo9_2rymUArV5odB-jXE8970uaqws"; e_fb_vipport="AcIzIVXRZEeROnmOSzORP6kvNQiA_HBYueyu9lLnZ6DbZuDLFJeBrK6ILQee"; e_clientaddr="AcJyCsa6NTGyiYUCiBHkGHy63_YcAM8Bg6IoNhCP1-Kco66ua75IcKzRnNPvwytQ3VQg1d7vtTUFVGnfmqXVrjIJ4rPmVC4QQELFmVbmdx_u7YCxwA"; e_fb_vipaddr="AcIWCO2e6MLSSHeOK-Gl5aGc5DdBjPcwfrUzjLqn48D5DvbhjJir80VcRq71xynsZgxi4Ggj5yXZaX9TaweKruamAPxHfhmBWw"; e_fb_configversion="AcI6OAMBacbYoGd_baXaghxeB4F2ntAGK7AKEYQqRSEjsLoevB-ykXmQot7TwA", http_request_error; e_proxy="AcII18GIcgLlfDvgss6l18pEbNoFUBqoFDBg-FBjmBZcSWLpoILKbTtgx-jZs8yIAbx8kI_gzHrK3_T7"; e_fb_binaryversion="AcIZenbVJkOrPvGRjFmkk4TMCNRtwq1zf0Rv8I_z5--DDJv00gO6d7EKrq_hKWZllWCKp_5NXKYW0xaNz4EouzU7ExcAZWN4ZDA"; e_fb_httpversion="AcJvRnM6W1g9c-La6Zw_2Q6HF_elNsCPMPUceFELi7vE2crk2ljf_vv_Tz26"; e_fb_responsebytes="AcIGvKBSdIFiaKNjdPUeYsI3qgsNimMkMUq3MJhYWc-VAyIsrbMGVV0QW1z5"; e_fb_requesttime="AcLdVqx36MIRkvbmC1tjtmZ_cHLLAZBXv5kIQAy2vXqheonDBgML8tyPlnO-pVRYSrb1E4Fzig"; e_fb_requesthandler="AcKhbPh5A0sUEe0DXGx5egxHBXduAw8TbRbUtu17jINhk3dNK14YWAM2LRNcAxtYgcRXuOcaM8k"; e_fb_hostheader="AcIbgvk9OD9SeeafjoYjc9Py80aRIv1LAtVrpixpjeu_iw7AiOJfuJ0CdLMkNtzT6ukKbsjbc68_9ulx"; e_fb_requestsequencenumber="AcKNb_fKtrpmtzcmNSalrK6e4Y08J4JIQSb71_Vm3GxnOJXGSO94HmcECQ"; e_upip="AcI2j1tXq9_PQMs6ca-uVnsBm5JIWtmGpm9Ds69Gq1-_mteh8cLNteekZ1XEymEJPKzbSOBTEsFe2h4ZXuHHOPZAuyW9rjgC2Q"; e_fb_builduser="AcLEhmWfNl7GFSIz0kE9eSNAwOLpnBxL6AVTHx-lhvd_nbd_TK-xO6hWynsmPwxcCx8"; e_fb_vipport="AcLRQoyy9fSmQ_UlwekTXaPXW-71qeSoN_SSXZWvjPQ1sNATv1tsS-W2NrjV"; e_clientaddr="AcJFnvLrVfCW3sVHcMSBHu6kVnAeJ4i2CIig4wdVWwtbZS5Qq6So08DqgCy5Y13oJzprUOWIFe3epnx4jA"; e_fb_vipaddr="AcLBij9CkKu_vt0IyCa6_OTP6hC7I236NTFdReVGQ3xGlfWGd_fsaJo7xwo8pTL4zfPtP_Vb2w"; e_fb_configversion="AcLFAX1paPLl3L_AbSaggYkflwc9bA4Bm-oyONwKI3dDZejRQF3aIt1rA1BAeQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=103, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26758087967123074"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/02/2024 02:06:20: Error on send one message facebookId => 26758087967123074 08/02/2024 02:06:20: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AqyL20LuDtEqTIVniI5rZLr" } } 08/02/2024 02:06:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26758087967123074"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 22552104, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9zl-ElPOiVxOMoEVnEJ724', 'x-fb-trace-id': 'EDmRU/t0DCX', 'x-fb-rev': '1015342087', 'x-fb-debug': 'LIqcP6DMoenKMMeuKvBnWF7GpUnPur2l1vwqxEoRB99uvPuDzXzAiKnvqLe4URPsnpllPm3yyylLLxS06Q3W7A==', 'x-fb-server-load': '35', date: 'Fri, 02 Aug 2024 02:08:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIOqxCLlgkOmZZ2yu9ok6_5PP3JikTSSK3tsMnhR7pBFCkd_iY_Jjso5A2cBF2yYpX1a3lUAQcd35KE09k"; e_fb_binaryversion="AcK5EtyEjrdG6_xTs2DXDe7Gil4EtJ-iXakoSKcFcO8KdoT25eGe-5PaNKUutNAaVqFReMk_EkFjDqxAgycy8cyNPSH_oDgnfzo"; e_fb_httpversion="AcJJcWF42BBopSnsvbbeaaeNoeG-Bq7xSZLNkYDSUBDQIot2-veJ0W-3Cb67"; e_fb_responsebytes="AcKnoLus-fJpcJm-PT_a5bvylW63ub48wRozkrbrgOQmNAWemKuq0T7nF_tp"; e_fb_requesttime="AcIEcioDxYvdjoceqFRBCFZ66BzJNYSIPXm24DmhWNwm7HOIjlntsJb1QEtoiT7LCFblwJuD1A"; e_fb_requesthandler="AcLYt_n02xb5elUaja4Pa_YiKbf9SgVmFMmiDnaNiyX8aA3iOfuzDlNEP8Ew9vH6Yw3pyA4kxXA"; e_fb_hostheader="AcJclPKNO9RIfqKqvGHn-Er4GGHiK-UuSkikBrF_8jKG13mFRVT3UijtB9l4eMrxloyasp12RrP9Bj52"; e_fb_requestsequencenumber="AcL_acNSuKGouhWFNvA4TwmymhPxoDAMdRmZ4ky47eTBg28oRS1BBfKxdyif"; e_upip="AcJRvyHtUGQmQgrKte7HfvbTjGxzZPvvh0Cc1md2QcV5SLaJgTgizJhs-eyje4YYQaXYOty1M827AsU7v1doHWFkS5mpKAndr_IkIqM"; e_fb_builduser="AcKZ0FGxpZtXF6Yu6DJ8vVgys4a7z2u-LLxaaOkF_p0p0SphRjxaiRrc8LuUuMVHYAw"; e_fb_vipport="AcLhK2y8bCNvd9rybDAPYlWGuxFGUdUAfukyReu2fGke12UKgCwPepl_gRYP"; e_clientaddr="AcIhnj1s7tVg9--IXA9G0cTDgNbINET5RprnEHx45SXWyiwljCemteQcVOBpOtYGYrBKQXQdiqlbB65-XzZJvwX0INjABCQV0C_BEkjCQyyV1RSX2g"; e_fb_vipaddr="AcIvAGxUEMPoACrdCs3GbET2AZ38R3MzOy-6Cq8C129GvBWVu0_ESypO8kw7q-D4WK6guyk_uRJ36DzoHXzUAjIUr4lVpcDoUA"; e_fb_configversion="AcKEzUJdcZBJep6c4Hy_P4rIdWLj-njStU5OVcz6QFzkdJhrzZaA6ND11ny93A", http_request_error; e_proxy="AcIT9BhrqfS3cyWjvOTmCck4L-SOckgQvYwvL3N1agOVfY9q_1YpFocup3r7Hciguf6AAcB-i3tY_F3j"; e_fb_binaryversion="AcJKIaU_XyowQeSiZqnlmbXuNiPx41Y4-LJwSzPhk6vrCOfevzewzTIMwe7PvRahZx_txUAZF_3higNMZDtJVqwZk_yyFioRROc"; e_fb_httpversion="AcIWCgm1Ep0ZediHodAWK0uFygh4amuW6EBt8qcFZxfGAvypBkf7gaRkyZm-"; e_fb_responsebytes="AcJ8Zar95ZXuuPRYaWw3KDOwqejj6EejITDDx3Ofg3jx36BqvxWJgXkm_mQn"; e_fb_requesttime="AcJv_72eLrtn2KcpGpuf0uMd5gviKuL6XbiikwKpBjH6uemC1UAda2raIXXDXH2VMLVt5fakMg"; e_fb_requesthandler="AcKl9ayvh8JLM6bBNh9w7nieEM3MBcMh4fKtPbA4RMOOQ0Imkq70YwIJCyjbzFS6yfd_DraO5n4"; e_fb_hostheader="AcLV_3PyEBSDOm56504dpvpwZW52RQVus1LHdrPd6W_SL5L2mlGg1DFvTV4SdHT3h9ZJdvOFpK0mhz7E"; e_fb_requestsequencenumber="AcJixwRTsjMjMSWdKCCHvhs7KMfgvT0HB7F823P_bfOwxk8OP4eyzBY1sg"; e_upip="AcIc2UXW_z5WHbpSM2jYGAIWzYmCIN9R45nRlp0PmOTH9RLjXhoPo6qgPz2_XJtW_RrK2I9qN3uThEvJa7pokIM6dxQQZRc04Q"; e_fb_builduser="AcKLBk4J6DQaU5CjyGT4hpdWu6w5fcaNVD1PVrFMp3PHjfkODY3DS0hLSI0hTbQ1Mrg"; e_fb_vipport="AcJqnoxAgmxu23ltWjk-rubKWZ_2tQ-ESjYBfEGWzjhsX-0e-TjcT_DIouDi"; e_clientaddr="AcIFRlwNsl_7yo6IUy-bUAG3Kv3-akQoGXfkvX3u9fW_b-kdxxIuEL-ZLqoZ5vTkVn4i_jJGP14KoIreGw"; e_fb_vipaddr="AcIN8oHtLZXYrqWBBO6a0Myp3qveYYgm-AR2baPzC0fE-gBHy0XyhHWc-vkWTmyeY3PKR6uzgw"; e_fb_configversion="AcILK9hVjBYAZ8iRxI3455_VTrx0dPgymMOwFGtQ7gf5l6j-Z6LsoaBnFJHmEQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=75, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26758087967123074"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/02/2024 02:25:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:26:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:27:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:39:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:40:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:41:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:45:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:46:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:47:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 02:48:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 03:39:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 03:40:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 03:41:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 03:45:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 03:46:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 03:47:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 03:48:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 11:23:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 11:24:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 11:25:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 11:26:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 11:44:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 12:45:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 12:46:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 12:47:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 12:48:18: Error on send one message facebookId => 7978213222258817 08/02/2024 12:48:18: Response error send one message => { "error": { "message": "(#-1) Erro interno inesperado", "type": "OAuthException", "code": -1, "error_subcode": 2018012, "fbtrace_id": "AYJ8740W92k9UDsYUqVYwqJ" } } 08/02/2024 13:33:26: Request bot not found: { id: '234064353428134' } 08/02/2024 13:45:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 13:46:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 13:47:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 19:34:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 19:35:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 19:36:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 19:37:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 20:34:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 20:35:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 20:36:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 20:37:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 21:06:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 21:07:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 21:08:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 21:23:10: Request bot not found: { id: '863113247096430' } 08/02/2024 21:33:43: Marker: 0 | ID: 66ad50b7ff349866cd50dc13 | Error: cant_get_message 08/02/2024 21:40:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 21:41:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 21:42:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 21:43:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 22:40:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 22:41:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 22:42:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/02/2024 22:43:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 14:26:21: Request bot not found: { id: '1852395741674621' } 08/03/2024 21:23:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 21:24:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 21:25:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 21:26:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 21:31:08: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/03/2024 21:48:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 21:49:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 21:50:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 21:58:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 21:59:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:00:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:01:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:18:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:19:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:20:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:20:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:21:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:21:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:22:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:23:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:23:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:24:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:25:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:26:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:56:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:57:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:58:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 22:59:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:20:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:21:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:22:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:23:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:55:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:56:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:56:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:57:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:57:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:58:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:58:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/03/2024 23:59:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 00:55:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 00:56:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 00:57:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 00:58:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 15:08:17: Request bot not found: { id: '133788230054854' } 08/04/2024 19:08:29: Request bot not found: { id: '1815581812105014' } 08/04/2024 22:07:01: Marker: 0 | ID: 66affb85ff349866cd50df0d | Error: cant_get_message 08/04/2024 22:14:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 22:15:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 22:16:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:08:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:09:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:10:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:11:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:14:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:15:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:16:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:38:52: Request bot not found: { id: '1815581812105014' } 08/04/2024 23:47:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:48:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/04/2024 23:49:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 00:08:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 00:09:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 00:10:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 00:11:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 00:43:26: Request bot not found: { id: '278538958846635' } 08/05/2024 01:52:04: Marker: 0 | ID: 66b03044ff349866cd50e0a4 | Error: cant_get_message 08/05/2024 01:53:32: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 23324761, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 05 Aug 2024 01:55:16 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/05/2024 01:53:34: Error on send one message facebookId => 8095755790461948 08/05/2024 01:53:34: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c2f42c10-52cd-11ef-8568-2d83126cfa52__1722822916433.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Aol8Tl2trpBl56twbZf6gJi" } } 08/05/2024 02:00:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 02:01:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 02:02:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 02:03:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 02:04:18: Error on send one message facebookId => 8095755790461948 08/05/2024 02:04:18: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c2f42c10-52cd-11ef-8568-2d83126cfa52__1722822916433.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Ag0pQEuGC_UUl3TbUwJVRLI" } } 08/05/2024 03:00:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 03:01:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 03:02:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 03:03:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 10:27:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 10:28:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 10:29:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 10:30:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:09:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:10:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:11:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:12:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:22:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:23:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:24:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:27:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:28:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:29:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 11:30:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 12:07:06: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7679566338805219?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 23433705, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7679566338805219?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7679566338805219?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7679566338805219?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7679566338805219?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AoaZSM0VMXxcprLBIXCCC6z', 'x-fb-trace-id': 'FUY5wGMShpp', 'x-fb-rev': '1015402607', 'x-fb-debug': 'Bk4T3zqFQzckm13xwAR8tkVCWw4khuHs8a+QMcgsciFQIrDPSUJYz+pVCFutd8/WaEfDMOLVCVxnLc/tEPjuFA==', 'x-fb-server-load': '43', date: 'Mon, 05 Aug 2024 12:08:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIastsXZwpFXZn5jtdFKG1HJvsxLo1DQN9AheS34YcB_xoNVG3f9-wSisIAnR6UHvCV3PJ8uYT8qgurU84"; e_fb_binaryversion="AcL9twj2-Dx7VWIGmux5JGSM5W6HtE7bXA4eDjiQykKdPT3zogKm1DFJPAu7nSAXSQqmsDzJSMF-IVXW2Y5hP5MkR1LvoOn47mI"; e_fb_httpversion="AcKVnVPiWp7ZPSpDGINGfKXn3DUzawwm9HJQ-BYFVg5UkXVX911TknroqnJ2"; e_fb_responsebytes="AcIkso0UX-ePePyMkHCTlN8DQ6pEUtJy0pUUKDXaG_uoNG_ZLHFEKnSJ4TDr"; e_fb_requesttime="AcIZcaSn3Q9KN-kGmSxofaaO0w4qbX-CQSBF5RodBPWV05G5gC0BSy7EjPGSft0st7Qu2HI_0A"; e_fb_requesthandler="AcLaeTSfN-O19zrDiIuL8DoeoYHva_QcbyRBEPFv_QCrUa-gLz4jfG1GCYRIaC88DSLNWKVDyOA"; e_fb_hostheader="AcIXU3xsS_mEI4gj1Cm41Omz0YvioVSYpw98G-IsvVkvh2rZ2stHxbtZ2MyZt90KZgNDElgYYDjW_RW8"; e_fb_requestsequencenumber="AcLl6jFOOkrRv_b93my3RjXxPLkdl9N8GnQ-mMBtmvUT0I7zLaDhZtzO7dPU"; e_upip="AcJ00M-F47cV4A0WOwcfDPvgeYwAspHJRi2FioL15SPjd92j8UNiTPjKaOExLccyi-92b47t53HcD_l0yOEE-001g6EOB5R6-mPwLAU"; e_fb_builduser="AcKIQYwp0LMwLTGkE4KurG6MqGYkhb6I7n_vYUZi_2NJaPAfDMUhshXrYuZ4l5SGmew"; e_fb_vipport="AcIbMGfpnmskVbOmR331dhZ9GIw5aseNRx_MozU9x8lIfkrCO8ENLrERVMyB"; e_clientaddr="AcLz0oG8iKQgY2n-CukaTxwQzFI5IOiN2_N5mv2J3MWPh5uD8_LnpBs0IVFLsnPSTdRvCAFrwizGrQhgHCJyy7QtMMf1HoZowVR7WPuKFUtMUW2Y"; e_fb_vipaddr="AcJpiiG00o5mebpgGfEx0OHIpvM8XS65QRgjyMFnLVO2RPhOfdZLqBWXLW-yo6piCrRad438_jhq2XqH727ue5vtt4qi7t_CGA"; e_fb_configversion="AcLtfcww2-fGZfLTqxv5Rrdjlk8AhMiGZUxxgq5YtT9CSFqcrb-4d_U0t02N7w", http_request_error; e_fb_configversion="AcK9_YzNTKQriaP7Khyd8jcbgsKpVdf0Qkw1jQmWpR2a3N8bLTUuLaVJRVo2PA"; e_clientaddr="AcKilTRIRxmwBEyjkaXMWb6RrLcRhzzd7IuDY04hdFTkqqfyaXwVbRFcNDE_qspHE0owLH6wb86ptlPxFw"; e_fb_vipport="AcKSwSMuLOK5XSawQp3KmvrkVh0Y0_ztZKmdTIGVbbdHKDo7xWfC4HhbL1e2"; e_upip="AcIqQlxC5dvsxM9WrDZK8xEqDFCibf7FNU7oFpDvS-r7yH49D-oNaGWU_K4xCqvdt_gOecEa-UTblUMGlWvUmdmqdhzW1tCQXA"; e_fb_requestsequencenumber="AcKUed7nz87m5ZxrYVnd0D3lMcZyrGf1ED2Yd7Fz9zZL20Tie330Ocl4Rg"; e_fb_hostheader="AcKBpr7HZWi-i17BARzOn0ro0cFyp-n7mqfqqpSr7MLcz39JjFeXaYUgmUJc4jdtd4hYT_sZV7pZSmem"; e_fb_vipaddr="AcLwz9fA6-w-HsF459FDjY5UcLFXv85SBdanuKWNUK4g2TRYjC-gwoVoarPrwB_cyslk4Q"; e_fb_requesthandler="AcK7xiDyi6YIz23QoqKEzlcAZeafpODUPEMCywpiSdbnQ3rU_ijGfKrJNO5VDqJwRQThB1ODcNw"; e_fb_requesttime="AcKDtu9KXkVgmDtYdIEthvG5TXTIim4Bij9E9bwwWXs07ccLuWIIddSWFj21hDcy9eqbamkXNw"; e_fb_builduser="AcIiGCQTTZh2CeZClFSlul4Dl9--m6mzqA2eZI_HZqKg_65LlMgs-8Oc5ZVVUR35edE"; e_fb_httpversion="AcJNKKr-NFu7tk6SeUEita0IPEMwr9OMO0rR4NoAq_l9b303CXwpuFRFAirq"; e_fb_binaryversion="AcI86dQE5R0amk1pzj8q9hgDxytv8IOUX71jMgCuywqCO2MpJO0Ur4_-G4ZkMnx3bV-OIgujaxJDnXQ6JXw_9aW10Q0EYgjLU0g"; e_proxy="AcKbRKVzwDbdxGWtfOvYZWYOzX3xM8gTMpr-YkDxZJte4bsVE6Zkl9qQjMM0p5aAiYx6Iy3AMg7BXCk"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=234, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7679566338805219?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7679566338805219?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7679566338805219?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/05/2024 12:07:06: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/05/2024 12:07:06: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/05/2024 12:07:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7679566338805219"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 23433841, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7XcXGem4Mw_uSzjVo2QGzN', 'x-fb-trace-id': 'DrR6DiuAMGk', 'x-fb-rev': '1015402607', 'x-fb-debug': 'uglwqRzxMSwxjOeQ5Otqof6AGg4sLxaBkeBl/XZTb0R1gVm6JQMAe0iKZyrA0KkMO8jB4HrEBsRI+nr1LKRQsQ==', 'x-fb-server-load': '59', date: 'Mon, 05 Aug 2024 12:08:51 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJrKoPoh4uKzVyHUkrY7xhpCrBBKE0BHbph1EF10m-bN1FUvu3qjBGReZIOB7fmVEe3o14g9psVjtDQJvdj"; e_fb_binaryversion="AcLyAiTOlYMWf7lSTMd6TFNxPakSy9icDxen2duJq4kuDsiVeG3zkicW1clMnoXAXLOuzC5vQhKgfJLZhcv0nS0ArqDxpaeaG2Q"; e_fb_httpversion="AcIpwc7qG1q8JqBCnIITPLhCXiYCfecFGXTInfC6GquUMj1uE97zHbOanHdd"; e_fb_responsebytes="AcL4BszYwcN67iEdVP2-BUhsDSHggEd9i9yuF4rwnuDT5QebIaYIjrOjsOCz"; e_fb_requesttime="AcI5WktxMLgnAdPwRlpPRZQ2jjnkS8H695C3Eedsz8NOcS4vDLxPM1Bg2RjB4zZMgp_m3KcqmA"; e_fb_requesthandler="AcKHHuGpPDpwOBF2gwMNR_dGWh7PdTFpwxuEcgPmq7N-rIru1sOxSWF7toH9YaMlxhKGmroHpxM"; e_fb_hostheader="AcKbwB1tVlgpA8bn_MjC8GoSrDve5VGDzm0n0crAUD8vEY0aJNjal9jJEwyXPhvQcjagC6bw97Y6cOvq"; e_fb_requestsequencenumber="AcJA4qgYVo4Byo85IdgdsI450N74FF_hxLnkDgyMCNtR32aF3LK7LQsASXw"; e_upip="AcJ4yZBry_270I2MN4hz6DOUzNjnLUCgjWVI2IhdBNEZTn4CugdmNVlmxvN5gBMIEmEedXVMpY3ZEpAApX6XStoV-ty2Ve8UL0VntHU"; e_fb_builduser="AcJ8LdukH9gcH2MqhKI6VnVcPGgIX73dDad2s9mA_5Ua52sPj7YfxV9D37r0kIbPZkA"; e_fb_vipport="AcJNW32FfCGX5BSnIHAbAK14EjJ7pqHiYMURiEC0ZKc7OFTVooX-7-Tp2RpK"; e_clientaddr="AcJ42VprGhHzNKkk3IlHi7QlBYluG3N7e6cp34bemHkH4cHwh-egJd7XsVkXsQ8X_gzRtikLuasaZWwhaBiamzhmKy_4Nfe4iKrUiw9rfpZP2R_04w"; e_fb_vipaddr="AcITlTMBLZt7b2ZcElutqyrX1cwOUWers12T7tC7wm0nbnOgADCyoQ01cp69UOGJVfbvLu7AW-Hy11j6ai9JRsVc9A2dI13RXw"; e_fb_configversion="AcKcTA1k4EEeKfn6FRsbrQ7pWJ9xxTipWy8aGlGR_N8LUEEqewuV-UfvZFXlAw", http_request_error; e_fb_configversion="AcICwezz0RtmaXayrlCzTWbZdKAHgI0nKlSFoz9kQ665Zx9g2xH6ogUOSoPp9g"; e_clientaddr="AcLiFoeRhsZzW7QKbC5fz1L8V5ZVm5h2f2UdZzeD77ZHAGfuvTg-KFuFM3TRWGBwYJ4GYNBLpsBcaUHbTg"; e_fb_vipport="AcKO6iBaPUA59j7I0-FRNn4wNphNMv2c6h7T-TiBkSpAZyYhFX2jD1l8hn-6"; e_upip="AcIutSGxGvHJ-NRGEWML3dujht68Jq-Xm52LDT4K5kOZl_AgU7Vi6td7fXXHZXrF8v3eoJgkjTneBRYv0DQnZwF203Xaft18Dg"; e_fb_requestsequencenumber="AcLbxAi1rrfh-8rHPH_QQWKIzXo9Qv84dZHXYXMG6jIzg6b81Hl53ifSDA"; e_fb_hostheader="AcK1_H88jESAjD1vU1DbL8v3DzsZd2pvXzxfeIym0f93Hw2gGV2Th63o11Yl0viqU2YugLazFwIa4RAT"; e_fb_vipaddr="AcJTATdDRO3qB3pNllGwiC4yUSURgYJS86u80g0GXxZzN0H-BzK0l8GSQh2J_trWuKu0KQ"; e_fb_requesthandler="AcKuhliN4ZnQPKUzOOs4AJqMyuhvnDjU1QGkxc2mAbw34UcbgUiJx8PNRg3Ur82SMlXSmOnHyDY"; e_fb_requesttime="AcL4_g1pS8a52FPOq8zkXYzR6Q6d69Lbpa0wbELPmnDm8orZmOtz6a7GF3KNPiai3NVXtwhnXg"; e_fb_builduser="AcJKBfsOlti1A9su5V0GqVH7DW_ELwcrA6nb4gSZt-1S-2QAWWbrBDbwW1UMRrrvLJM"; e_fb_httpversion="AcKk0asPy4Fz2LPZku4_4AFVlKPlFltfu-THaL0wwNQo4uAbqmTV_gd3oEjg"; e_fb_binaryversion="AcKq0AtNL6mfpiCSiGsNVpnCxD7KnqrgCo-fPzXPTEvz1BUJXOxMJgopl0B2sy-lxM1CkTgEZcwqUkijtZ0Zy6DVB4li-cJl7vk"; e_proxy="AcKHxY56wM3J9JggwrFYQ5BpkxGYicQyFPJn-YI5B4VXCWbnZGmdzMPNM-E0dRGwZdCUJuCkQ2ODEuQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=175, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7679566338805219"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/05/2024 12:07:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b0c06aff349866cd50e1d7 | [object Object] | 08/05/2024 12:07:09: Error on send one message facebookId => 7679566338805219 08/05/2024 12:07:09: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AwaispMLFBW9b4Y0VVN8puu" } } 08/05/2024 12:07:11: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b0c06aff349866cd50e1d7 | [object Object] | 08/05/2024 12:07:11: Error on send one message facebookId => 7679566338805219 08/05/2024 12:07:11: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "Aarkpov5zMtJlcRdrQ3XFZG" } } 08/05/2024 12:07:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7679566338805219"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 23433931, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'At31DYGEm6MJW67MXK0DCN7', 'x-fb-trace-id': 'GkI24t3QyLe', 'x-fb-rev': '1015402607', 'x-fb-debug': 'RbVOoHqIzQua7fNCJ6N3UJFG/QUt9i69YGVfNuFI2aGKfka99sxG5ZIlTYZOABFXEJ7lWc1ZMWRP7ZqTcdwLdA==', 'x-fb-server-load': '46', date: 'Mon, 05 Aug 2024 12:08:55 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIbO41uDWhHPqRU0nD4yq9sYkVPbrHDHAbImSwD_GOpWAPUlLXSBfct4JksgEGZ7zOzmYs4ZtckXds4yuaW"; e_fb_binaryversion="AcIbE3-PnIhVBzm30SvOuqZRMX-WrtwsbOn7NkQFs-4Htj5gpegKPd4pL3_AeF5DO5gDd3LefCLrkEpe61pzVetPHr0t4X8iayk"; e_fb_httpversion="AcLk8omxtlCLxn-W0BRYcYQ7CKGnGZuFTm95svuhdixhwtu5RojDhAnxKSAH"; e_fb_responsebytes="AcLL_j4S2mxo1fgxn8pQD2O3djT1U17ORV6P3e9yNp-Su9UOWSS4ZWsoKtXv"; e_fb_requesttime="AcLHxoAi1Run1tX9yXuwWTEgx5jC3ayTQF29yQFqeLhp-GxwfhP6lX75MoEHmz_VgJ8a9S91TA"; e_fb_requesthandler="AcKGugVcVDs2ts7jafPuUOCN0uHTdAowSylYrixmfN1nHewjA64co3kUf189QtXFjplULZLk2lk"; e_fb_hostheader="AcKPz7SHOwEzMKvcujaPZNpu5gCZ6v8rZ3xyLRJyBtvjbJO7LabrL-vkdCNtiBFs00kGBKJJ8_yp8VnC"; e_fb_requestsequencenumber="AcKBgI9joy2rUP3YJgDqnAlIx6Dww9FO3N7KPfxQrK4jOKY7gz3fcLz1dcjB1w"; e_upip="AcLADoO9xT5enA1guAQ0pKzt0n00F3Fv8jL6HLAkoB9q--at1YjhkBJzv8ZorTNJ34MZ1TJ_B6QUA9a13WhgXIe4tSJ03dfEBYRtrhE"; e_fb_builduser="AcKdByHvu60QneFeXPuScfoAjA9qjHQxIUfJcX50AXnERztq-4pYDf37-IfS1u_ucJE"; e_fb_vipport="AcJPHn2P07INtZMHw4axd4u_5clmOztCtTWJwC8sUOFaarC1noXZ-dZIwUKe"; e_clientaddr="AcLT7Uci8vlJdwuYLA6Nig6BCP_42wcU_nMcS_rc3hKALZg7guEVc1y3YEf2rmY3Lky_MZ5ZD0a7tfXYVg6wWl5pWJ9rYlP7YPKZOl7-GR-nf8yf0Q"; e_fb_vipaddr="AcKulEA9KuL4enqrQM40jZdVcXvdKfGtM34QCqpFHFHmlOhe2QQmtstJNzLzRQm7vwkhXE8rCgTJm1VGo88F2pa9-1LSTb8DyA"; e_fb_configversion="AcLFinBsndNog0UFyaqbdygM6VEPmkPX-TjQ1Qb6zgeHZpTTiV6dYCSckLl1lQ", http_request_error; e_fb_configversion="AcIGZE5u-0sVj4QTjWjs2yNm5KjSWXPCgioigmT_B3aJTRfXcpLULhdwNNEEVA"; e_clientaddr="AcKOSZd-8wlYYjtyUz-og0IUIQMnOXFlfcTrDWBSXJDSHTzbaeI72VYcwREWwY49HnHrqnur6C30bmB-eA"; e_fb_vipport="AcLcFg-4HXY1UsCkzpCgj8FrJ0ceNoxhEutaR3AI5c_Ghx-8y99kyjYYtaZK"; e_upip="AcIbkeTCE0MfFI4SrKfJ72irbk8QE-Ezv2AZkvs_M9hnGHZ_AhJYfLqJ7nCl8lBdePp6Zk-uT_1MvFpL9Od9HxdOw8ZJ_ILK6g"; e_fb_requestsequencenumber="AcLfbRCkxZ8dZ2PkCxM4QtVe0MTr0gM9io6UDSbsPYDx8TxnL2qbXuVuaA"; e_fb_hostheader="AcIxBwDsGPR27OnTdjXJHkcR48c7afjzWl9W1V4tOBGiKDLrvFiUmSCEUN6RfPkL0j1DLACKHFzU3SKF"; e_fb_vipaddr="AcK4hM4fPiKGmM6LZnAqa6mz3AAO5PEBaqU0taG78V5cHXDilaDwN7cGUcFQfJ0WZ7epRg"; e_fb_requesthandler="AcLHUmLKnBBpPOB5H5loxG7z2607yQv2jZYuWMohzewkbl0LXWxeTCukWuOOuHLtqj-v_ORsrxA"; e_fb_requesttime="AcL-VOnzBy0QZy6uEi6AruNjFW26uTG6zdHlfXClIuFCdb7K9nwurewAa2b2UwYKsTrGOfbbaA"; e_fb_builduser="AcL88lP24fHV9SxSLRXg9LCA8D79fMlC3QxqsNT0TJ02aGZ-b1igm9Rq8Cfttuup-NQ"; e_fb_httpversion="AcKxQI5rPqAaqv95sLOtjdCry62ndlt8Ec4dSVIVZeIm-CCFOnf5KzDF1oht"; e_fb_binaryversion="AcJxhJGzvfEJJmBH6KWCbfJFg3umv6I4rWOKpOBi0DEqjcjX_iB6g3AMJ1EBjCY0y8havckNx8IDnSmyR8rd2M1OGesovb_Vnps"; e_proxy="AcJIayWQXr4H5n1fCOBCJGIpkPHYPeBf2gfE8LYshGMEc9j1vF03S7jzjabHM_PDqtuEIq8_NcRkjTc"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=139, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7679566338805219"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/05/2024 12:07:13: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b0c06aff349866cd50e1d7 | [object Object] | 08/05/2024 12:07:13: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/05/2024 12:07:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7679566338805219"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 23434071, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiMbrQe14jhKzEij5pRoFg5', 'x-fb-trace-id': 'CkmboAJZ3Ft', 'x-fb-rev': '1015402607', 'x-fb-debug': 'szggfem3BdW7w3VIjcDi3UtHP6xB2xxzuCcH7B2Py/STJ2iKiEo7ceKmV/O/gwhhr5kjTQOykFGHc3JwEURgfg==', 'x-fb-server-load': '43', date: 'Mon, 05 Aug 2024 12:08:58 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcLzxn28iSgATOAaaUpl778s9fwOV_CkBVjFGCAvwWotNtDCX9d151uP1rOxDZB-TbXACIqAfIuHk2FNIkfR"; e_fb_binaryversion="AcK7CENZCuvYu9QzSjsy-E2fO2-xdbfPbLXA6RvHpUMOXVrr6u_0EtjT87TVzWWxgHrKorO-oauI-9913VwDpZLB4vEFczEpBpc"; e_fb_httpversion="AcJIU02ZgPRryqxdcBLEiTB_sPrP7iMcEulZ9gogHKYrIEtq7ERJTlGCWCjC"; e_fb_responsebytes="AcIb4xstu0l3fUTO31z2bXEGxqJG0yXWZmyIS3-0SfuZbGSlp8GiL11uMmng"; e_fb_requesttime="AcJZXWGJ939UQh0Xava_q9tl95syjUttRL2yqEe023J0beUIADw_VISvMT-tyKFuLuxQDvyHWA"; e_fb_requesthandler="AcLeGaw9Dsz1YsNK2B06JGnwnZAhqoG-105gsDZW18M_qXcvW_94E7VoUH9PjfoCcAyZSIbN8BY"; e_fb_hostheader="AcKbxWBV_qyxm7oyGrDnmKGWjftWJ_WFsz_9CFlJuXniG-a7cZhOk4KaR5crcSCax1MhMxOzq7TsFuq5"; e_fb_requestsequencenumber="AcK0tqY2U2BjrH9XWsy0o0VPxHzDukPmdHWz0XZffAtjn-Hj4SqW1gupTSA"; e_upip="AcI35J-zl31WHvyYJ_fxYqAo8t0SGjF1KM70dzoLWp2c0lAE9tmSkHGs55UOGAFENa84tOENXllAT4NyvbZChPKqiWRMhbz6UXJvyBw"; e_fb_builduser="AcKIMAIpe2ibSF2mDMdAdh_jSeT06nFTVR_6M8BEEJLZyqCOF5ug7rt2vv2Ax_HUkw8"; e_fb_vipport="AcKz2iC5VukI9Dv7TkcmBPHuRERCzWqTR5UfZXd4QmJwNmtOb_130EHlJMnX"; e_clientaddr="AcLw-x2lqj0kwKoezrfhugmRx2uHC4yjeBDJmV6jTpkSOn7CcGJ_UrGPqwf7XaPRuxBhR8PY-Vroo6dHjny6z1I-CRHhmXjnrsc5a2PqBMAIHMlz3g"; e_fb_vipaddr="AcIaKW9EUyT78-oy5GXvcFK21ph2EpO_G8V1PRdtkqWU60mDY35PigdOOMqmuMZsaBZthIbTFlQ_uq_X1xk80b-QcjMgvgZvyQ"; e_fb_configversion="AcIEzeFGKsFOFNZ5kXRUG-pV-bFf6ZfolwCz33B0CCkYuyeeCn-22xH71E3vvA", http_request_error; e_fb_configversion="AcK_DDlUmQYuuNwe9EhhKzKCGpfQ0eXn6VUkj89RRSHiBQl1oojX7Yws8UYlww"; e_clientaddr="AcI8wJbQ0_ERbL4iFvUsab6fzbasxgxpXbXK-sxGLPFXG6wIjfHoxd1bTqJbgukZBjNn3lOCNkmRdq9m_g"; e_fb_vipport="AcKXCGwvXd5wlOwWW_FvDD_dV4OWIlSGnUdUvisWf85hWxFqbqhbVZXeMAkU"; e_upip="AcIncgfZDvdgcqKDJBjjJZtw6t5erI9Pck6fgAK17zt-BAh0Gq3UxVqvF32p2d1xU4VfwUqyIOYkNZ34ohZ9M8WhkF-hMHCF4g"; e_fb_requestsequencenumber="AcIwQ3QHhp9suotZkj_DIN0PAN4Wyks5mJ6JKliIBGCM2_HWpWC3A-ceDw"; e_fb_hostheader="AcKEV7bHrsRdDsYf4Y-g8dIXbpFGSVT2fjerfN7hsB6hsMbqHSmn0EZ5O6bNWYvLqHOwM9GnpOvr7BHp"; e_fb_vipaddr="AcIM1mcAF4zMzX1lvgzMKSop0GMHNg3jNVJKKWYk5ueQq5B6r_HOUDNiCB-uqo3UW4jA6A"; e_fb_requesthandler="AcKZuWvbRP1hXzHR8i8HtD2NBXwJHBwLj_1shsZO4MvY-x_2LWX09TtoQ-KKyWXv_Jj0XCa9-lY"; e_fb_requesttime="AcIdFjMi2u7qbZhKztKStZ326TyY98s24c16D21TgpYonSF7gnn6VcUxJzNlvrodigoV88FauQ"; e_fb_builduser="AcJ6qBM8NTGpFw0Sy_bY2Z1B01270yI8mokVaQrPffV2Hch-t3JnvmBNHOvUNzTX1dI"; e_fb_httpversion="AcLMXuB4XYkGWBAkZNnLpPisIGxGdznOErtm3z6mCNFzFtp2Z-pSkCk7sNqq"; e_fb_binaryversion="AcJO_crFBsKnFUEqTqGsvfIVntjEwWegBflvOCEv82NRaHeUN4EOxZFoF6bMDEzgzWqJ9BpIcMQhcXvfqPHyxUGzaxZ40e7BYXk"; e_proxy="AcIsOcky2jgrZTBmsynA_8AmT_90gwWAqJIuGx_qlVKKGTpA9D3vQki9570krNZ_l5OgTCjIlDwWCwI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=149, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"7679566338805219"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/05/2024 12:22:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 12:23:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 12:24:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 14:18:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 14:19:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 14:20:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 14:21:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 15:18:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 15:19:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 15:20:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 15:21:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/05/2024 18:20:02: Request bot not found: { id: '133788230054854' } 08/05/2024 18:20:53: Request bot not found: { id: '133788230054854' } 08/05/2024 20:18:17: Request bot not found: { id: '863113247096430' } 08/05/2024 20:26:23: Request bot not found: { id: '863113247096430' } 08/06/2024 00:03:13: Error switching inputType 08/06/2024 00:03:13: Error switching inputType 08/06/2024 00:11:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 00:12:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 00:13:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 01:11:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 01:12:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 01:13:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 01:50:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 01:51:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 01:52:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 01:53:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 02:04:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 02:04:43: Request bot not found: { id: '1852395741674621' } 08/06/2024 02:05:04: Request bot not found: { id: '1852395741674621' } 08/06/2024 02:05:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 02:06:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 02:15:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 02:16:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 02:17:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 02:18:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 03:15:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 03:16:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 03:17:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 03:18:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 06:26:34: Marker: 0 | ID: 66b1c21aff349866cd50e489 | Error: cant_get_message 08/06/2024 06:33:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 06:34:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 06:35:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 06:36:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 07:21:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 07:22:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 07:23:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 07:24:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 08:21:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 08:22:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 08:23:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 08:24:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 11:51:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 11:52:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 11:59:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 12:00:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 12:13:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 12:14:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 12:15:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 12:16:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:13:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:14:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:15:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:16:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:36:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:37:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:38:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:39:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 13:55:19: Request bot not found: { id: '215725838493727' } 08/06/2024 16:53:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 16:54:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 16:55:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 16:56:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 17:13:43: Request bot not found: { id: '111693767414179' } 08/06/2024 17:53:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 17:54:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 17:55:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 17:56:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 21:49:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 21:50:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 21:51:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 22:49:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 22:50:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/06/2024 22:51:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 00:58:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 00:59:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 01:00:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 01:58:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 01:59:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 02:00:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 12:31:08: Request bot not found: { id: '133788230054854' } 08/07/2024 12:32:42: Request bot not found: { id: '133788230054854' } 08/07/2024 12:34:43: Request bot not found: { id: '234064353428134' } 08/07/2024 13:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 14:00:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 14:01:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 14:02:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 14:26:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 14:27:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 14:28:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 14:29:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 14:35:15: Request bot not found: { id: '863113247096430' } 08/07/2024 14:40:53: Request bot not found: { id: '1591915494408146' } 08/07/2024 14:40:54: Request bot not found: { id: '1591915494408146' } 08/07/2024 14:41:01: Request bot not found: { id: '1591915494408146' } 08/07/2024 14:41:20: Request bot not found: { id: '1591915494408146' } 08/07/2024 14:49:47: Request bot not found: { id: '1591915494408146' } 08/07/2024 14:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:00:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:01:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:02:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:21:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:22:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:23:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:26:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:27:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:28:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:29:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 15:38:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 16:05:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 16:06:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 16:07:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 16:08:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 16:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 16:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 16:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 16:38:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 17:05:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 17:06:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 17:07:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 17:08:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 17:15:06: Request bot not found: { id: '863113247096430' } 08/07/2024 17:15:13: Request bot not found: { id: '863113247096430' } 08/07/2024 17:15:26: Request bot not found: { id: '863113247096430' } 08/07/2024 17:34:44: Request bot not found: { id: '863113247096430' } 08/07/2024 17:35:05: Request bot not found: { id: '863113247096430' } 08/07/2024 18:23:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:24:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:24:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:25:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:25:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:26:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:26:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:27:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:27:33: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24036888, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 07 Aug 2024 18:29:19 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/07/2024 18:27:35: Error on send one message facebookId => 8253127504725191 08/07/2024 18:27:35: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f5c91050-54ea-11ef-80e0-37ff5d1f4f07__1723055359445.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AazJrQ76ACzotFz_7FNiRt7" } } 08/07/2024 18:34:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:38:16: Error on send one message facebookId => 8253127504725191 08/07/2024 18:38:16: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f5c91050-54ea-11ef-80e0-37ff5d1f4f07__1723055359445.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AJtDyvXm6ASr4fJ2Hv-2g4-" } } 08/07/2024 18:55:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:56:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:57:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 18:58:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:34:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:42:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:43:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:44:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:45:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:55:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:56:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:57:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 19:58:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 20:42:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 20:43:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 20:44:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 20:45:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 21:07:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 21:08:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 21:09:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 21:19:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 21:20:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 21:21:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 21:22:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 22:19:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 22:20:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 22:21:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 22:22:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/07/2024 22:44:02: Request bot not found: { id: '1138272279528180' } 08/08/2024 00:18:31: Error switching inputType 08/08/2024 00:25:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 00:26:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 00:27:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 00:28:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 00:34:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 00:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 00:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 00:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:12:19: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/08/2024 01:12:20: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/08/2024 01:19:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:20:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:21:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:22:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:25:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:26:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:27:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:28:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:34:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:39:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:40:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 01:42:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 02:19:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 02:20:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 02:21:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 02:22:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 02:39:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 02:40:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 02:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 02:42:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:33:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:34:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:39:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:40:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:42:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:46:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:47:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:48:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:49:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:58:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 05:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 06:00:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 06:01:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 06:02:13: Error on send one message facebookId => 8411493665550537 08/08/2024 06:02:13: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AJVKWZ15_75b9ZF6zGoYX05" } } 08/08/2024 06:02:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8411493665550537"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24199515, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdziZshbmSGuJLabG8fn08o', 'x-fb-trace-id': 'DgrfFU5F9js', 'x-fb-rev': '1015502162', 'x-fb-debug': 'SnbXf0yuteelHV25md/SW1Hf374/XIqqwobV6XJ3Ss4M6mC5upg3R+cF7oZIfy71NQT+Y51reHJsGsmBaW1jug==', 'x-fb-server-load': '61', date: 'Thu, 08 Aug 2024 06:04:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIBN0A7l1LogiInZGJQXcwx_grTAimPLJkzTFgvnj1e_nBy5b_0ovH5jOqbVAUF6-XrCrdA6jouwrv2o1w"; e_fb_binaryversion="AcIThLCXxpkED6GDyZrwIv7t8sCcId6WixY92Nv7R71apbPsOs01HvLsttmepx7Z6O9z_mebW0-Gqxqf3SWATpWuCm0uKMV0Iik"; e_fb_httpversion="AcJiZhoLZDjOQKN77DPRP4U85VRLxN7Ovq7KmdxF71uI50_ZieU1wEWayTlH"; e_fb_responsebytes="AcK11H71UumYbeFUlB7rhlVHSHySy0N8hP22C6O-xDfZZzzMYG6EWfjC2eRL"; e_fb_requesttime="AcJCytoRWITll9LOHBaYNYs6AgMCGU7MMxroXl1pwOMfOBUY3G6kP_tm4IJhD95xxCVugQ9Vig"; e_fb_requesthandler="AcLqnBtwDGRjaSiOsjVuRcrJ-nvrZED9LjTylGj3vdl6c92tsFgy6zpw6enKmvBqCKofyJH0fiU"; e_fb_hostheader="AcJj11yua1pFGKT2eaSZsLWIerWH7cSOVAmkHmRwo_B2XhfUvN-VmmBcfsOC-Q8yunK_OlsPejSzQu9B"; e_fb_requestsequencenumber="AcKqmaIa_UlpjKWg2ly4OJW2u6EWMYHVCwCVQU0hv-FPtkRHZqjkd2vXBH3S"; e_upip="AcJ48vblOTmOzCIY0c7PzAKFDDOeH4LKDaGDAclO4LXSifC00AZTaL5BlrDO88gB4cg75HHNU1vQZq2GE1ZO-NTvaYz9xo62NuhRPYg"; e_fb_builduser="AcL2ZjQLWp0WJKe5CW1dY_v7C4bUAd7Hym-CzZoSUOS0fgb8zOFtYFYs-t0N2GhiZqY"; e_fb_vipport="AcK7CJx_nU4ILtQv-087pQxMldaEaB4iGESLEWYCHN-1LkHwKSeEWMD3kC-u"; e_clientaddr="AcLPtNELYWwAEDVzx3rHDq-euWJwBqaozvVhmEQp2oWSjBeULTFt32bYGkfuytWC8-P8Dg2tX76XxrxOQDB9o7VNRYvBnrEXjO3DC4aFvQZBt6s"; e_fb_vipaddr="AcJ_WODcuFMxcHLk8YYtLcAQimPWAO3nyLQeRa0glUnLRJxNaGi5_gmjLUDMs_hQoRc8bb977Mf9zKmDFusVgsv8UkBJ0dKEjg"; e_fb_configversion="AcJV8KMVH_XDh9DrMZeh6J97IsJNDpVt4JwqvJz5Mxrpw9eXF2JF6sPLf9qgEw", http_request_error; e_proxy="AcKlA-yV3NOoq2dVJuyuSDIDzqugqmVkNd7EY4MGppvBmipp-f0wDYSyXeTgFW59JYYy_Q_kM-nhc1k"; e_fb_binaryversion="AcI5NOqGGbrXfUPmIQauase674DcrcwD4RIGsiR8R9oVJKNz7OxwkNlDLBx9aiofA8XQg4xvMHgOMoQ0hij_FPfYhqdJzTpSmHw"; e_fb_httpversion="AcKuISDf6T9BKTtH6XXTuuoVwCYeLmakld2qg8kkRsbemhTB1iCf0k-WR9iI"; e_fb_responsebytes="AcKjUSAMU-Uo5ouk4WWZX6empXwI07A1lbd-xEj2glf9FOpztkfPvsn0EIAf"; e_fb_requesttime="AcIttZ7dbnJPxqfhKxLSU7uNlUrhTXA4MVL55r2t-IyPKQKMiQE_tmT-nhVgqVwPYphigmCEDg"; e_fb_requesthandler="AcLza6RkEuKtDsWlzHsqAMikaxL8keyPqtsIUyUaaaNOjTgRRyGwmAkN6kjigvgQeImF3XTE-MM"; e_fb_hostheader="AcIOiVLFqjncVEcyqK-PZRGezROsxv4h5wDGMvsOy-sUh0oehpap7F_2Z-gw2gVEedwwHL9RYXsmq3_Q"; e_fb_requestsequencenumber="AcLyqT_ZjdmaR7_3l5eHFm9qrOo0IIOf0c6j86aAl3JXtVXOOqa8G5nNFQ"; e_upip="AcJ5q35RNpx7RvvrlhZWmtYUmrCP5RXQY7KWOSh6ZfONa736ZUY-0cQSwaiPrUu13o9h1xQmiiR5iSaY-ptEGje3OhfQQSXKaQ"; e_fb_builduser="AcLWU4CwxYuX0u0nAAXtrdEgzYNdv_JF8oPPizywEJBarrloOlLgNdZjfpfY6sl0xnw"; e_fb_vipport="AcL49tq61OXjO2luB6fTMZTd3u3N7DhD0R1dz1Hto2wK6xbnKRBbrkaC5GDd"; e_clientaddr="AcKnxFNdzQT0ZD79Hd7IJoSYQF2Pe05a9AUu5_U_kPesZmX_AqlIUmkmaW013XDYApg1PH3HYH7ReitgwQ"; e_fb_vipaddr="AcJbsiMRX6_GYR56Wbq0wuU6pZNgS_GiJoxqKQaAvPTZ4K9Or_Ph2RlImviBUx6mDuB6FQ"; e_fb_configversion="AcLqMrQnhRizEbDQG9lTkwoarxG8mD6c1kj-OBlQeA97J9Cp0yj02Cz0xRbhvg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=164, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8411493665550537"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/08/2024 06:39:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 06:40:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 06:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 06:42:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 06:58:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 06:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 07:00:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 07:01:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 07:02:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8411493665550537"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24213884, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADMAk0oWWwQDRKP8Ah6JzzV', 'x-fb-trace-id': 'EBqTqK0bBm2', 'x-fb-rev': '1015504969', 'x-fb-debug': 'dj1dyaQjgGIAEZJkHZJyl08z2+JZFdrYZRk0AyZBhOx+OL1U4ZhF3lpfQomVVw0pVtX7HyX4rwBsPvko7DO8PQ==', 'x-fb-server-load': '35', date: 'Thu, 08 Aug 2024 07:04:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLpsunKf4Wmi-GPmWzim9bC1RMSxBNDflGlOuA-jFPmD3OFyI1BjAgBoJfFfeZmND13_sq2MxU5-qrbdcCo"; e_fb_binaryversion="AcKt0bpwcDzTIdpIK9d83aXTEUeKVWSHDqimB0EipRZpT_L6EaYIks4zaYSGCNsEP6XRUMRXXOMZvdzNDreTUWV2WycyeF94PBo"; e_fb_httpversion="AcIIAEu-Qx0DRAB1AT2I7FAjuBTlLolU0hj2-lACajswlU335g1OMg3DMYjm"; e_fb_responsebytes="AcLvhxEdsd9H1Nzsh0BoDs2ppV0VK6m3_OMrgsThBy4EponLQ1mgvnd7KFfA"; e_fb_requesttime="AcJB8IZrHt-0TpVcP7bp6GOQYIVy83QSDlnHeaKNTuHc8aV2aJY_45FqdLI1OgfcpaycpA1shg"; e_fb_requesthandler="AcLREo7xH3HRnfxNpEFnCUYDwnwfBLx66aAEcSe8gTM5DdkVTnGryhJDD5Ilhf7rXxYQGxfWFB4"; e_fb_hostheader="AcLPqqGDc_FPj3g8euARL1HZpUdPMvXgfI7pPEHITk2TxqR-P1nD9C85Kk6MUUOv_2h4qbgJDi_mIKEj"; e_fb_requestsequencenumber="AcJCMZT-Rm1x6WoVSWWg32NoPwmVwyIHKT8xHqZ_jA1g_ZgvF9m5a6_Ojk-X"; e_upip="AcJkb6V1zRN-fandwH_cJMURcZzrjDQZns7sz000c114Et7vymKlvwlDiIgmgPuePnJ2Oxmtz5hrZqmVynINLN-nv2Sw8fcGO2FEhxg"; e_fb_builduser="AcKiJFD4WXdUcB35Rao-YZf18M7KcQC2gb9aDyHwhEkCfRG1Ttk2RVtCoiy-lZ0CRcU"; e_fb_vipport="AcI8uGiwEHR-lFFb3YLVzRAxmK7PzN4ed0TeFgkZ0q5ZlfeSagBVumeSItD5"; e_clientaddr="AcJZ7eVy6gyxoO1zOQP5yhEXuLvKWH-CLktHVrv1omHwPR2L8cvJjnEAmjtFww_doGOQ-UeL9AOfqdG7iXSVuEE5VRigimu-GPkXGVW_-wDrGhLf-g"; e_fb_vipaddr="AcKVqs1fgG-q-E1luJY-sZP6_JbFCctCAFYeyN8T5DI3TRF8nFZSxmY6QLDSZfrE5QjiUr0e8W9lvb6r0HYEKkHGqOaWXqWamg"; e_fb_configversion="AcKUl9KLMrrEuWGPwnN54971ajqZqJQBG4VAw5Z0z35a87Ig7DNQcKpZvcCqQQ", http_request_error; e_proxy="AcImn-HVTsoWKICUuQ5a2fQoTVC6N394mSmc57qnDJPMj5tGvb_7LDyIvrRyc-pbLRgpH15cKp0ZFHU"; e_fb_binaryversion="AcKyIu-JXH8-uF_EBbKyGIZMgp_yZn3hUOu4Q3Tx63npsGifwB2FxEQtHQs_WjHwApOB7FTAHEuY9xTR4gFI70Qvu2PGhzEEd1M"; e_fb_httpversion="AcK7qGTRTdL4zssalSaGa_3nOmRcZ-fQQDmGmrH11iSlME1lhwzJl2YuTk43"; e_fb_responsebytes="AcJ_rUi16RSvSmflddsHwyTTIVSLki2nombLoUDyPCC5oDFQLKSNtgchzURm"; e_fb_requesttime="AcLBfdnDviDeSO6lESh01_I2nTe7e6jdjKWuSSroc4my3W_kIYh2xP5qileaXdg-xehPGs3EHg"; e_fb_requesthandler="AcIQOQL4jSj2efLkXr1tAVeSfiHaVTht9jxNRj313jpsy24BUenHy0bUPYVBUirqL3PIAE5ZnnI"; e_fb_hostheader="AcKWpXYGNTjdJaUhrhlm1TwmJEqipsPNPVdY8eHNNQrTuV9NEGxZvxc5pZxi7mF36FmHug4ktgazFsEj"; e_fb_requestsequencenumber="AcJXxecjUNblpXfU1s4rwFqusfFu8DMPzIezPHTCBxcIWs-hcqHoLN9zEA"; e_upip="AcIVeBghIsFbO7KVYr7_MYsQyDaGt2b9Oo0f6_-8ETf1-Beno-3wSJbKkKiEkObF8t0oaFm57xN9_mZoC9yrGBzZiznoreDuHw"; e_fb_builduser="AcK1eJrG8kzYxr3GHT9gP8PQPjb45SqVB9BIYCtE8-rAUZ3o0wIuwfnrAfNWZ6PrDKc"; e_fb_vipport="AcKboFe8GgaUVjTa9nE6d8kQNrqBRqFcSeSX5tRzkqrc87RaOWvO9vrapy6t"; e_clientaddr="AcI_bI_Sykc2eeb5BojF6VSItTBrWfE-XoXdx3JdxFcRwSDkJ2-IU0TroR0rtO5UlsE9mqKlgJblJ0IXzw"; e_fb_vipaddr="AcLn5IvYeKRH_pZHnDZAg5TuvSzb7nt_9dgsNYgGw8MwiSQxHZ4eJMBUt--TE5hZT5_iAA"; e_fb_configversion="AcIbmpiDItVzBnCxJJNNLN5Y93yAOOiZGUlISyHcPEqcIT-F8qleJTBvHC5gBA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=177, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8411493665550537"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/08/2024 07:02:15: Error on send one message facebookId => 8411493665550537 08/08/2024 07:02:15: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Awt3Es3tyQUUaT5atrtNpRY" } } 08/08/2024 07:02:16: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8411493665550537"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24214093, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARbujXGBk3V9txG3JIfy6UO', 'x-fb-trace-id': 'BifpAPIft8p', 'x-fb-rev': '1015503958', 'x-fb-debug': '5Q1ndqzTLG0H2jC3VjC21hzhvly4zDdP+roY+34KrQzXu3XkZKGHyzlqXIADkUZvPWgaPpTaU/CpxXcilR7kVg==', 'x-fb-server-load': '30', date: 'Thu, 08 Aug 2024 07:04:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIdmDvPdnyDyIrZ8uC0KyACcqMyAxPEqdhDjdR5tT2HUwMy8iTdIyE-1xQF6c89yYPETAuMZc9tMMk_GSR2"; e_fb_binaryversion="AcKY2SjoYFkWjPrslXxA_RrGcoOg3c3a5SrHbIsR-5BOPvLuhC7gLvMU84dQcZgGJX7aDhNGoOX1tAOp-u-vZbpwRXHeIIEUu8Y"; e_fb_httpversion="AcJ2Tiwm7T2ilu0kxN-1azpdEfMp5tMh8lcPPkdD78lX-Ys5S22u52F5-toR"; e_fb_responsebytes="AcLbugdXh4Nt6NPpQgNYHnZQh2yIElpAdjoHSm765Fvr1yM3U4mXwpeNKjWq"; e_fb_requesttime="AcLf0sMJ4N6W8E-zCDWMrgGMjKySM3DrTpFoV3rtlr7O4o7BRmIuKqdwgbRhzodBElRp5B5icA"; e_fb_requesthandler="AcIPL6zC_D0Z29nDtlC01MNNY8cFjV5iKofJLMrTNTP2WjWnoTEJ3CeHkefMZTHmvrGq3QSD_mw"; e_fb_hostheader="AcLI0KHacB6sKgkRWfSK6e2e6t7iGSrZD25fCP5pjtmiCh2aItZHnKbiqKjxWJswOxgUGNu5UtOtawP3"; e_fb_requestsequencenumber="AcLZ5vL0hXW3a8o8V35b71z3P2Bt3LCcZAhnJwacQPT37C4AhpQRCNv45qae"; e_upip="AcKahMWlkA9bakSEd1d36QXTUHXdZ079fceiYG_Nu-yUhIaJFc4RlS3eEH4gZC-YEeztOUsLC1EhzMxnkhLJeRuwy5sTZiXHxO-Bns8"; e_fb_builduser="AcJHxdhsNINeyUY0cqngRidWtuA6CxgCMw_y4M3NZpFwPON96KigM_UuNxksk70aIlE"; e_fb_vipport="AcLQupyS3Jtpqf7EIqn_MvBHuHmhblNlDKpU6eDL3Xk5ta_EkYwEvwNuAo2K"; e_clientaddr="AcKD7VYNMXG-No9y_k7K_dV8Yz3qZBpmNd0_e8dtEi0Xo4FFvX9t2Z6CwXzZQJow6rx-1CvOwGN-6PTcFNOg6V3atWL7JyzjHXv0G8KuYdRxL06Y_A"; e_fb_vipaddr="AcLillDi9T5QIS0XoQiCQhsvrYlCGkbfzR2wdYwjzn3jEOKzgB_bPVanHMkd7jwVrdDjxVX3PVNfbkS4ryeKWCPz2ibRMIRw8Q"; e_fb_configversion="AcLk15qyRB_f_OVhYbLHGsVuMMnGaILNeg5Z1TFHOZHXIAfgoX1CttDbo1aHdw", http_request_error; e_proxy="AcJATSnZvY3tZlRGkiCXvNoRDv6tEq3j6Hf9LDKFP-Di7p0h6P9732u0H94YYtmRpojJoi0iqZTGh9E"; e_fb_binaryversion="AcLW7kxZYzGtaT7MhdVIqnCGw_0kv1S0hUl-2ooneKrkYyPVzv0SdnmxzUBpLVxaoLSbYSgonb0XIhoOJr68-zhv0Mvq1jT-dAk"; e_fb_httpversion="AcIQzmG5vQEdrQd6Z_FEngsJoa_5vvJ2nqHLm9QpsDVbe0fMki5pp7rcF2Wm"; e_fb_responsebytes="AcKk6_93IcNvtY_27yjAzIrfE1uHvqd6sy7GcmhGf52-tKxRvhAu9Of3worP"; e_fb_requesttime="AcJ7jZXcme2J59ZY-GbhttG7KSVOnDmHS54En0CKE1flnD5gSrZBf3NnMEhyQ8qzO1QOkn-Ihg"; e_fb_requesthandler="AcKfo3seExRGNB8ve8-t3eEraIvkfWdQpXyCvdiiWQy7_N5ojaDGfZunVUtmWV9E6p1Qkksf0Gk"; e_fb_hostheader="AcLih4cUcVmc1gu7Op79Sacu2nS0UlxprkYZpilvvyyeo-ypx03EXAK8WwdsL4-p-Z0Tm-c7WltNEZfr"; e_fb_requestsequencenumber="AcJw3nySoN8a5ywevQSd9F79oLfLyVgOmmr4jCKJZRwYAprsBQay94t87Q"; e_upip="AcIp9NGPyI6Ismdt-RynZN5FBPbFHCXfMWTVuJ-ZPzJSdO3dTOLqJhYVhnW9T_m3GW4543OrbPPFY7cMX4iyGW06UGVCjDQ_TA"; e_fb_builduser="AcLH_oY79RssXp83dyHggg1cCXPHiT2XbHGh9toxLsNHHPWM3aTp2r11Bir33kKaGC4"; e_fb_vipport="AcKSGb-xH7q5ohRXgWnXwnlpzDTCzqJHsxD1PoGowJtcDUG3MANvCAAvauMk"; e_clientaddr="AcLjK1ynuu7ZdW6EF2_KI5N0h3Oyx3EILy65_zCI0sgj6xupPiARV2wbxpmhk6UbsQC9qwYv7227L7wkAg"; e_fb_vipaddr="AcJLD6hAnZP3VooAm3MccnMf28Nyds-8J5s2U3D3NxvE2hbScqbHAvuzK8EFG7o22Hw13A"; e_fb_configversion="AcLpL9CCDCjLcwh9a7ZjK9E8Pkp4DIs-zm4XqVwtim2Lj0ud3uqsktNcaj9PrA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=148, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8411493665550537"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/08/2024 08:46:10: Request bot not found: { id: '1591915494408146' } 08/08/2024 08:51:20: Request bot not found: { id: '1591915494408146' } 08/08/2024 08:51:26: Request bot not found: { id: '1591915494408146' } 08/08/2024 09:39:32: Request bot not found: { id: '1591915494408146' } 08/08/2024 09:45:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 09:46:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 09:47:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 10:45:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 10:46:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 10:47:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 10:56:03: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/08/2024 11:03:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 11:04:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 11:05:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 11:06:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 12:03:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 12:04:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 12:05:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 12:06:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 13:28:32: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24291485, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 08 Aug 2024 13:30:19 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/08/2024 13:28:35: Error on send one message facebookId => 7860197090768686 08/08/2024 13:28:35: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/5b54b2e0-558a-11ef-80e0-37ff5d1f4f07__1723123819790.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AJrpitOb15X-2ztfUumdQU_" } } 08/08/2024 13:57:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 13:58:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 13:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:00:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:30:13: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66b4ba86ff349866cd50f49c 08/08/2024 14:35:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:37:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:38:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:54:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:55:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:56:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:57:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:58:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 14:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 15:00:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 15:00:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 15:01:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 15:02:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 15:54:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 15:55:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 15:56:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 15:59:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:00:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:01:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:02:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:09:45: Request bot not found: { id: '863113247096430' } 08/08/2024 16:25:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:26:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:27:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:28:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:39:48: Error switching inputType 08/08/2024 16:39:49: Error switching inputType 08/08/2024 16:48:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:49:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:50:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 16:51:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 17:25:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 17:26:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 17:27:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 17:28:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 17:48:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 17:49:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 17:50:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 17:51:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 18:42:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 18:43:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 18:44:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 18:47:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 18:48:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 18:49:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 18:50:12: Request bot not found: { id: '128159377280665' } 08/08/2024 18:50:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 18:50:35: Request bot not found: { id: '128159377280665' } 08/08/2024 19:42:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:43:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:43:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:44:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:44:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:45:16: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:46:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:47:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:48:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:49:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 19:50:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 20:43:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 20:44:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 20:45:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 20:46:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:07:39: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24400417, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 08 Aug 2024 21:09:26 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/08/2024 21:07:41: Error on send one message facebookId => 8985542008127763 08/08/2024 21:07:41: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7e758340-55ca-11ef-80e0-37ff5d1f4f07__1723151366516.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AKzZSUeDu9oYrsOPSqGy7nn" } } 08/08/2024 21:11:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:12:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:13:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:14:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:14:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:15:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:18:15: Error on send one message facebookId => 8985542008127763 08/08/2024 21:18:15: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7e758340-55ca-11ef-80e0-37ff5d1f4f07__1723151366516.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Af46wHBT1fB9WJ-Zkw35s7z" } } 08/08/2024 21:37:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:38:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:39:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 21:40:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:14:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:15:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:28:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:30:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:31:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:37:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:38:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:39:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 22:40:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:07:37: Marker: 0 | ID: 66b54fb9ff349866cd50fba4 | Error: cant_get_message 08/08/2024 23:15:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:26:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:27:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:28:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:28:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:30:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:30:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8525842197426285"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24431938, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AH6aUve6t39XosDNwg-scFP', 'x-fb-trace-id': 'FzHvZKCmnXA', 'x-fb-rev': '1015522392', 'x-fb-debug': '0wcZw+R8L9olrnJp2ASga20+NGcqmc3cu3Y8LEuFmzieh/4Rp94jHyBvEXnuxycaIOT8hQcMtbHKtHHDN8SUGA==', 'x-fb-server-load': '44', date: 'Thu, 08 Aug 2024 23:32:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIyQhEqXd2gJW1eFoPqSC0t1SssPecR-6BNp0IFClVT54wmoj1mTp4MsA8GXWi82_hfadmJQQZMsSYNwhFf"; e_fb_binaryversion="AcJG_T4f4lF-jrnnp-e9qetaGOnCuCAtYaYknyGG201GfEkLu5wq1GXhGwno49sY5Zu-oQrIUbein0kJ6D9zB0CTxruAOwDVLf8"; e_fb_httpversion="AcKjZCee2kv-vK4gwr7uGHdig_5uScgtX9oxujudbshfjYfOijogWRBeB-9r"; e_fb_responsebytes="AcLr_SHv-telTNlfH4-IjQ3qeigb--pOOaE-oJX7XkUICrxM-mohEeMOZ64H"; e_fb_requesttime="AcI2Q7luWbDU5J0HhYOFPwkuKH6N2wdF-YoEWt4qBr0pEvlWJFo-RRqXWCVNifWiNUVwdAG6-A"; e_fb_requesthandler="AcIrfSDGGTljrXZ7GjiKR5lUfMxd8TxKPmFLmjo1hKZhSRxXzXK_jCcyM6zPLt95c8aghXTzmJE"; e_fb_hostheader="AcIe4bvp1ldzXbwdXj3v8Ps9VQYKkSFeo48IWa8L_y-4368PXk0TK5kLY1fv8QzNfJjWZo5MEwO8A62N"; e_fb_requestsequencenumber="AcI0YgmLdfFONGXQLGVxAhc1SOepupip1oUePEdEX-pl2YFEBiRzIJCKUlzh"; e_upip="AcLYor01geZVVJcvEEmi1Hk9s-KyetyGDPUUL45T0YKCy3PXdyRDG6YGWnJP9KPGkCFXzi4Uyb-BOqEmL3UT1KG-jvr6hPfzgYmi"; e_fb_builduser="AcLlnerOeL7MkmHp6FTNGsyNdDsH80QyxjNnZU9DbBi9nlE7ThUlYAWfOUN9gRgD0JU"; e_fb_vipport="AcJF9ThJlJ7_hAM4W44x7j0_aAtvn6nniQGl1BISD8vfo1MciCQ7kLXKil8Q"; e_clientaddr="AcJSr7kK-LPAqp37K1ax2R678g9nrc1Vr84PKWa6vpvLK7DfHqwD8LS6rdFI5HZ3xgAeTQO0TQODnTFdxV0ufA28G7uEnsX3ELRBkbCbJ1kFV2p_Mg"; e_fb_vipaddr="AcJ1uh1gzgZIaWfoJzzAuHCuWbwkd_Hs6_N9RCx06cxvWpTYrPjRhUG9Ov_DWxUgONEGvS4234elOH2QnwDmH1s5sOHQ1pLxCg"; e_fb_configversion="AcLOld0WwBwx6VLsg6OwBRclh5dpI-ENrelHxLG3F7POtnYBiqi4kVUexOiiyg", http_request_error; e_proxy="AcJjvikWqB3laTQ_jNctr63Qi1TkmY4YCuJn6pMEetretH2rRfvsUZqSIbB8hPSWLkIzop_5_MsbYnE"; e_fb_binaryversion="AcLigaDo1AFpGI-sHJLaKC4w-Spnt4qnZbb9vhHTjoOmFu6gvd_6ZP4K_PuOyZQx9vWpa29Le94KdaCv4B6j7q-e1pZpr6cp-uY"; e_fb_httpversion="AcIp9jxqANBfzt-EgB4tl8I3iy-nZVR6TnZq3QCT7QYjIW4_GPEmaMbrDXxU"; e_fb_responsebytes="AcKBBrGdxAjt9a6PTKg0zSCXLrLA3bfQyfFSd3ePYplsmkuIJ76By25dnhLo"; e_fb_requesttime="AcL1iZFYzPMc1p1XRy9oEo3UgmuaaimzaCD-va1xq16JFOIvXsPw0fmPyZFapGHMn8q0kyAQhw"; e_fb_requesthandler="AcJ573imgeSK18DfCdtwVrxEhALr3sANVr95SFvbtP_urAWnGnAZ2kl1HxGIptL8DZ-Ndp8Cjcg"; e_fb_hostheader="AcJBLPMLQ4me1ESjpkW3_1ETzoFCsG8KEU_xY5wEjKEk4rmS65w-2QIHBdnMY1TzvyMxYlVd2ehY0MwI"; e_fb_requestsequencenumber="AcK9-HeuYPhZHGpf0Er0hOHIoAg6XEpMQXjVVFqj6gO2uO9CYfaP-qtYXg"; e_upip="AcJs0L70Fid_z4hFlHJMB8kuBhfFXBu-AG244-LszPpe9PA1ZltvT2inxUrRkOpd3tG0oprHGkKZ4KPwfLY65nSN8rBvgh-Z3g"; e_fb_builduser="AcLr90ex7Q39dfxukH9i1a2bitTBIhsoxsxk614ejtWnW6S4YDgHvYGRbuTtIztVeFs"; e_fb_vipport="AcIjxd3Fhjvhj76ydhMz4JvMpniYBzOQFG2fNbCPj2WUevcNbCiO0cD2hA87"; e_clientaddr="AcJ0qF_AA7lcMZEiIbI556JMoGI7pbvqG43ONSBM_2DCOeFlRhnAm313Y6pZu1giKTaW85QVFeXnshbkoQ"; e_fb_vipaddr="AcI1U4iNCadBDq7C9VZpaZ4RbaWgJu1-uyDMwRvmGidCQpFbas9JfObf-jX9VOi2EU-B7g"; e_fb_configversion="AcItmFXj79ZOLtZ_f_ZUHUs9Y3UVx6dZLJvomaNo-Y5DjyniT_DmZnE0A8lnLQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=153, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8525842197426285"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/08/2024 23:30:13: Error on send one message facebookId => 8525842197426285 08/08/2024 23:30:13: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AnE_HthyyPyP5eZUeEQJJlf" } } 08/08/2024 23:30:13: Error on send one message facebookId => 8525842197426285 08/08/2024 23:30:13: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A4IHrL9yrEQlf2PCnSH0_vH" } } 08/08/2024 23:30:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8525842197426285"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24432155, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOQCwNTtoAr0NNo_8USazSU', 'x-fb-trace-id': 'C8X8ylpFNx1', 'x-fb-rev': '1015522392', 'x-fb-debug': 'qWfQhD9yQzS1pokxIk0mUhxCdptKpSvIcBhJYG2fiP3L00RunOSNI67/7T0FoIBcu8KgnEbbE0rDy+ROAAXFZw==', 'x-fb-server-load': '42', date: 'Thu, 08 Aug 2024 23:32:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLVmJxRHM30ileXuGSTWjtHsQQR5o3Q4F0mabhOGdU_r4gxTeFzcPAvo2i9EqLvOXDaEJi_jJrBfZ7U88_L"; e_fb_binaryversion="AcKGSWobTzwmmKrfOL7fTTW1qRuIl5dSRC53od7tLuT-6tOVh3H2CyHLsXJ4rp3xZsHKjwFFe87EE69mWIltuclJAVvT-D8Dnss"; e_fb_httpversion="AcLaQt32gXhMWAjtf5HFJey9y4SQW7_mBIe0anEU7ms3R3p8yutfDsTbDV6b"; e_fb_responsebytes="AcKq4FP8UdN-3Ce4icRiUV6rX8WKqW3vW3553oyPMHpAWPIPoGNLMS7CsAoS"; e_fb_requesttime="AcI25JRJvJ93OrbJiBX6pqxoSnZUnYpMNttUl0ZJ8Ojq-G6T9qnoWVb0IP4E3UWe6Ut-SO-LgA"; e_fb_requesthandler="AcIsev2_58OIXJR5D1v3bxgsYFAr2uHUbukBx8sagOzgv1u7pnW482S1mGXL9lMr2Ah430fySD4"; e_fb_hostheader="AcJpnMZcd_1-yvJoDeg5zCUuZ0DAsIujWuGft8KQIJ5ZO7PYSUCFHxynB8xP9iEvZWHh6RapsAQd1OCd"; e_fb_requestsequencenumber="AcLTcWwC5LCTeXKbMdoAVuTLUgcvtblggBC94w8HeBMUID4FdrH8FUetNc3kWA"; e_upip="AcI3LgaW3bJENuq9PFuTpfT39p26Cz55uXm-p-2kW8-LItzLtls-WACIOAsyu0L6lNzIQmsmk6HPrDQRSDF-bFC95GiqFBGE97Bzgg"; e_fb_builduser="AcKt1JMhigNctl5vs0CtWq0y4hPRD-zhEGzln8BRzU2e9ldDc2CeCAtOjNSXCiXbTLY"; e_fb_vipport="AcLCTxRfxmHcR7STlCIUXUL8nBEmIJGl6QPh48TVF7T3SOFFWwAPKE1_I_5X"; e_clientaddr="AcKJpkBh6acauERNCQ9DpfiZAvtlEX52vfB_SJ_eZtA6ISpr4dPlmIP_9SH3OZNcuvWCq8RQAQ7wKzT9KKXiURA-sfnibqX0IWIIWQOaidopAi8uKw"; e_fb_vipaddr="AcKjXoGIv0ppF7siOjT_pKvymLDWMFzNZojoNrSuUc2ZqGjdL89AVcsSoTmOkAg73LqJgm_if9jwgNMjpBdBQ0UiqIwKxUQYbA"; e_fb_configversion="AcKHGV8Ab-cUwTwxCyBaz6jOMm80klBmxdEPdlPCzxOUDyuAIJ9cRwYZMPLEoQ", http_request_error; e_proxy="AcI2h3miDirEAnmR1cwyQTWCUV1qJYKq_cpInVTn0t2swPsYU4tG5Gp-0DGt8Es3L36vYcsQIMxdWb4"; e_fb_binaryversion="AcJtJ6ZPEaiwaFankgWvVT1X9Ok-i29wq9_NMMQAVMRnQo12JnKqBaiLNxAHWxo2NqFEXUW6o4kpOmEG1yDZClQ1-YI1MBg57Qc"; e_fb_httpversion="AcL94t14iOb9CfAMamjEPwrTH2Pi4MiQCf6HXqjPxAXwHEVG5I7kCs3iYxmT"; e_fb_responsebytes="AcJolzr_Z6mrFmCmknJc4AXvHqPWl4jPhNE1Kcv4a_t2pIJrwl99w11uKmiL"; e_fb_requesttime="AcLSwaqXMRNK4XZvgRsh0e0hYbi7n-h4e4bE87eZRG24WpFd99KmmdD0uYsRUbwkA34oX_ZcoA"; e_fb_requesthandler="AcL8CmrdNQGv0DNF0qrvY2LaZA3JeC3S6h9oFEX3zEHkcis97exJQzKA8UaGGCFEVend5bsdRcI"; e_fb_hostheader="AcLFTVLeof5y6-Sc6MwKGHtOynvnw3IoUv8koETvBGdf8kOXqYXNyBrJd1JJI6eF-ndL7gDuhAfuiO4S"; e_fb_requestsequencenumber="AcIBw0VMqG7VNNqfSYizwA4h7bDDxSKgcv_qq7gv2jDBarJq3joNnVNPEQ"; e_upip="AcKIVpyqhpo4WwLOSxyjd19Zjx2FvlZU4ukdHamtHAGdqDA6Dz1y0rWW_xMXdBqiuYy5lIiHIQPjWKIE3btgVP-NNT3DJzKGlw"; e_fb_builduser="AcLhmLCj--nZXazqNbhbfWTNEfCG58V9Iti6CdTZ81whCbxIp3Ko6LZ-KsI7yDr1S-0"; e_fb_vipport="AcJz6Dk744ROwdKs3D5W1XqjqsTx5-Ge6h95X65DEWJU1_UGBjLylNlAouv0"; e_clientaddr="AcLr6WKGSWD-oDLXlTyCIWO1z0nsQcR2tgTGUUfySJg-FlqC3SJyERV54ZJDrRudph7RIoE-2E27cF-wkA"; e_fb_vipaddr="AcKqVBiMRNQNEwhRTMQO3TDPYX2V6TBBNcgbZpIe6EfOnljHH2iIhlisUkLT4leS2QQNWw"; e_fb_configversion="AcI_wuorpWwFRvGMY7k_16VyT-BmB_l9Bw-gyIigRJtmce-QoMzohqY-AjMsUQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=153, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8525842197426285"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/08/2024 23:31:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:45:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:46:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/08/2024 23:47:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:08:13: Error switching inputType 08/09/2024 00:15:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:17:55: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24444011, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 09 Aug 2024 00:19:42 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/09/2024 00:17:57: Error on send one message facebookId => 7505067582933016 08/09/2024 00:17:57: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/12d40010-55e5-11ef-8ab4-a368795bbcd1__1723162782353.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A2_pYs0ENnlL6ppJgEOv25R" } } 08/09/2024 00:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:26:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:27:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:28:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:28:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:30:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8525842197426285"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24452079, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbR52CcRRYYzsEtppi3WC9g', 'x-fb-trace-id': 'GpL+dJOo46D', 'x-fb-rev': '1015526443', 'x-fb-debug': 'mjWsn98rqB2qWHEd6zvWQLkELjnKWTqGiUf4lGI7GbWhnUTk/NkBJTI3RYj+HmMioNr/pcO+QhA3B/JfMo2GNg==', 'x-fb-server-load': '30', date: 'Fri, 09 Aug 2024 00:32:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKbvZVMrqWjen_6nDtErohQZqi5PEgxA5a76Cp5jFfRwnATcradGbr57gMX2_wGtr_74AMHQ_6Ae4efpv-s"; e_fb_binaryversion="AcJm0fYNmHtqV5ytSr8nYJy2HzSdush49nYlBd2LgBG9_ZQOI2UN3KbcueKG1WbRBjpGZekF5R5PMbCq4hv7ZcxTI4aXL6NGSBw"; e_fb_httpversion="AcKyg5MAHphgl_eqcxoezaQciSCM5wCuvDCxcR1ftMraiH8qg86bWTNpixQU"; e_fb_responsebytes="AcJ9pbzh7mTfcFcSNW_xSgHJVF89iQgSoWiHY4pFDGEsJAvg3Lfa_CiSJnw9"; e_fb_requesttime="AcJDk3XDCcJ7BO0WWIdkkOMBFPcyUf2KqESlsHxyfvKw0y62FWk2OuGZHRlHCNBtO0YiljZOAA"; e_fb_requesthandler="AcLg_NGtyFSgJqHBAdEfjzZP_cBt3z_il4DCFbOXXX_S6xwIhpek19gHL8KNE8zoVCll8y1cTYA"; e_fb_hostheader="AcJzM_xtEBRspLzUKQ6w5X5a7dTrD2_H2mqOBBVQi1PAPwToH60VwoU8YeUqiLMjl_Gvl5It8qGnezVn"; e_fb_requestsequencenumber="AcLrGQUj0GzYfc6T3NoH2JfagXylBFC-h9pKqfVASpm-zUWt5B1bdVMpzLZbrg"; e_upip="AcLUp3HoG4UqZvzHhHHk9h9UVoVgkDmUc_kRfrs7xvj2oOX1wKkp4SQ75H8sh-jxyshHK4GDywUiHK_Hb_JUSZ6qs-ArrBCrkpSzqKU"; e_fb_builduser="AcLIWx1PdMFaL5v11CLHeDLcc1l7aHDwa0mW52_AhDH72PRJhZKVs7xzZi5UxPxGne8"; e_fb_vipport="AcKy_5SMRPSpM0NYiIjOLIL1kOMmcB5_pZqx2ESpck5uXFGQ0iOzSOwIgqHV"; e_clientaddr="AcJFlZzsmfCVDQf1bxFg88klUJQjeN_2Ye8RDDlFpaCDltMgx6jN_GX82LISp0rILW1gxp7LQ2ZEe_cJD2aYIQZxe2ne2J91yyZsVD9j_6BPpNAusA"; e_fb_vipaddr="AcIiGEhBFyI7czcuNIYF8RYGTXTIFhvahexAtEpLNr2kQSywoglsp0ZO--0j4uc96lwvdp0KQS3r-z6qhcy_6faagk8mwFNFDw"; e_fb_configversion="AcJL2ppYUEq1KAQz58dT-zsgVnciROTX3bD5hIOG98BIwnSJkvR5M9dTTvH_kw", http_request_error; e_proxy="AcIDH8wYcx2AN91TRcG3XW2D7NSWq2VMS7j7CTNUQ0tT6F8FUIB3He5tfUG3FNmJ9o0rk_31wsBG4m4"; e_fb_binaryversion="AcJcV71b05KO6n88V7SEgVhmCQTC-wNYQAJC8-UqjRozcVXxWukWVotWJBxxP7sRDqlby9b7sFR_jJG1zBNDYUK3Fm7dZNGKYq8"; e_fb_httpversion="AcJnKsfagGsXEm9xmkhk32io_T6osmcdIVedd-0tAymKSNcmSNLew3kE7BHN"; e_fb_responsebytes="AcJCONOdkf9jyxgWyncJdEhaxOoLPN9EmDFRHqhV3jchhKacxqx1dPBp2eZX"; e_fb_requesttime="AcJ89xdwYUacdV5JhihOa7uqlbiVaGjwjFd-orJk2ab4ApQOA4fmlGHIymmhq-yAp5Ii__CfyQ"; e_fb_requesthandler="AcI2d4c0CUrFgXySjXbXkYzsz8uRWxKVDLyjbBQbvT-LkLCR_1OjFHn6rH3tj0kLE7qOyIDVC80"; e_fb_hostheader="AcK89OjLwVqIxbzitq0Ks2ZiBzB8fMgly7M3dQKvsUP_53QdgZULOYVlwnSGzQW_kDhKtQxx5553Nqha"; e_fb_requestsequencenumber="AcJLeq3IDSonItxBfurNVyZkM3xgvIQkFc7s_tqI4OzGpN04TGrTPHeU2Q"; e_upip="AcKAnBDry7FsXDFKEimnylTufIYicy1teD6huvOJponNwBGytskELWe8qMgDCrprdr3AwC5tY0RAv4ZXOxCAebCMwImaEY1FuA"; e_fb_builduser="AcIAE9rgCGt1rAujdH_0sDeWboSNEzZUDGZh49CpBQciidziAhWIoGvVkWcHHWBM7iE"; e_fb_vipport="AcIeZQUkcY-9PH71u6yhsfPb9ToZciWrJgCNP8u215Fwp7LFYFsuB2NO5OGO"; e_clientaddr="AcKEvb2Vyr78c_jIu_TL_A6jaQGbJPnnWJqvsetQwQss_O_mUIZva1IVwu8wrL8NdXlw65NgC6ywwllm-w"; e_fb_vipaddr="AcJSuRAzilt1UeM8_LicnoAJoO_PdLFd3z68MBtp0Bu94EW5By6WnS9_HohViMQTn143iw"; e_fb_configversion="AcJi7UAAN9gedWUt9werwyp01kwBp9ywOPUyVB7hsp0siG3PJb9tfaRaujnngA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8525842197426285"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 00:30:14: Error on send one message facebookId => 8525842197426285 08/09/2024 00:30:14: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ASVFEZiGX1Q6xEhW_-IuLHm" } } 08/09/2024 00:30:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:30:15: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8525842197426285"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24452256, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtH41OQCFSQhnRMlY9ROKXK', 'x-fb-trace-id': 'EAUjlODs+GL', 'x-fb-rev': '1015526443', 'x-fb-debug': 'N6wKFsIsm+6mL0b+xEz/l1QSmKXPO4IB+5SxpBoCXGELsTNmo59xzsvHkplDexnzuCv7HYCiFfxcOs6zy2v8dQ==', 'x-fb-server-load': '34', date: 'Fri, 09 Aug 2024 00:32:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLSo5h7Hxy09CkqARrAhKT3J4QfSdLUy_QpmWSap98ZubrPAtRUKD-URCiS8RRCnb9OTkamxXXUjTJ3MKg"; e_fb_binaryversion="AcLSTnWBj4Hd9_xzkd3gBAcKn8n5MH0atr-F1SZ9wDuYh6bH-gRyEA_k_Ep-KZ1itEdoNcYHMx3wxKZJ2EQ4Xlke438DZlomu3I"; e_fb_httpversion="AcJaqb770QlLviv5Axr07NH2Yc-wkbwFYPj5S66DuCLQ_kpqfR8SV_ZdLnlo"; e_fb_responsebytes="AcJ7iHCB877R6oAc_kAS7kEZBHpg7dJ_aayD9edN0DI5012Jz9mUa4mZEIp3"; e_fb_requesttime="AcI6wV6jKdEKZQ1YLpN2Y9JMTC26CLTx1N06uUfnkE08lCrSTIT4Y0UlGQ97skYj61v_gW5CRg"; e_fb_requesthandler="AcLQEnkxuNzLGhdoBGUFLzlFAzQiWYdvmxHczNduZX2S8BfME4RuG3dhNbppByi6WGGX4pJRhKU"; e_fb_hostheader="AcIzT6ZMHZ-CJv26W0quHK0GMpzZVLPvtW2P7yb5jaeLxu3Xp3doSA5YAUeE7rSl-mSD4SjQfcsh1vrs"; e_fb_requestsequencenumber="AcKXH-h5jzggZ80FD1qepBhnrucp815GK54Ehp4whaDHDDrtUighNrX3zgLr"; e_upip="AcIW4UHXzLS3eWWqvBMhNMJkbKg2zR5XzYHeHBHSDd-ZVYJlWiysQozyXIOv_HLD99IZA6Y2nVDMOpBMxeO78fMiejh-AwlLl9GCIho"; e_fb_builduser="AcJIuCiJ2atf7ehRLh6X0KBk5V_GxpdQTi_vh5iwIqeS1BfbpCeG1IqBUAnnboNkYdU"; e_fb_vipport="AcJwUzUmf1NnfMQhl-g8KGFT4vm_lfTle2Hne5skA8WQK8DtZLIFlHuy7zEl"; e_clientaddr="AcLWo9vj5_7uyxIeUZSpPduBGA__h7rMCHcSaXLghROz2l9VQhGiyu5SUMLR7ZOhmNsVphLXLC72poOOvYikC4ZtdJHbSm3m1_nmPYvtVuvDSzFEjw"; e_fb_vipaddr="AcJDU_QBrYuOTAjog-hXwPnj-nushNeJtW2GBuENBmCdMSccoQEpLq3pEcD4Xnvo3E8KKmPgjunMVW9B0bNF-1Hgj6p_zyR60A"; e_fb_configversion="AcKR8UoSMXwHkMySWJ5BdGOv56rLs0sNzzjJqEGXA7Z6uB-NObIOuZ5sD-RHBw", http_request_error; e_proxy="AcIyexR2q7am_k81Y3elSiaQBfiF60ur5UI41bYw-irUYJxkwPgWfwo2Wis4L0cI689_dOqizSd4o2g"; e_fb_binaryversion="AcJJsZr4oFMuzkWL0B9fHNAnp4fJs_1H-mcDSlYC8lJf8W0AsPGcddOdAY_lhvU3OnsPt-NpgV5SPLG3DaNc4dWi9--bKtiKzU8"; e_fb_httpversion="AcI71_m297eQRrGI3BcySLHyr5xSpCvxbXZv-EB-2j7OwSL-hu489V0NrJ27"; e_fb_responsebytes="AcIUSVW2Ka0zE5buS2O_kpdZbDWOrhBXaeCRXcCBZuj0QQvhC9xyaOh-BATu"; e_fb_requesttime="AcL3D8xDhEWrG5B3GJID-xTOcRMQCdBKirpYz3gMD81oU_2A7SXWgry0oDVyj_uh9eSTb4R_1g"; e_fb_requesthandler="AcItG5OPp5IEBb5qLjgt6mXYuFxyZGiudjF3BHG8Fhf8dC262TeNj8yvlJmJlAKSi1Vqbqs-oO4"; e_fb_hostheader="AcIcfhmVU2vJoECBfbjfcpfXynkafHF1HkFr3HMQJj0_11IDlvsGMD3cfHc6LZicL2dwVIsGEm2NNxBL"; e_fb_requestsequencenumber="AcJe5Fa9IUDcV8FMXARG84X86C9TpBmRwCKZPrz46KjGkRldjDGfAz2zyQ"; e_upip="AcKciddGfOwNtHoOzgTFYns1QWDqxXcMUt6C9_0amVKRffaJL6GNMSwCdp_V3c5PA3uwDd52XYJb9GucHhdzm_HgkwQ5hk65jg"; e_fb_builduser="AcKXfRdBGJr_Z4ExtrlOsIRZwXk6J1rJcSB4vIBYaeV_6-DDCFbcKnbzPB1st_Q6VhQ"; e_fb_vipport="AcJsaVV9g_kCAzmzNPKFY7FGE8x_QCK8uUlCX4pyMu6bo9osCOFzX4jZNpK6"; e_clientaddr="AcIsyT5pwQdn3OPjD_qqvxH3hVsPFYsGlQNecLGMpPLTPrcgwfv7gN44S23VzUiz3-f1LzEywM8BN5B2VQ"; e_fb_vipaddr="AcJj3EXVShp7DYesIgyh5Qios-3hR6QJo9cT5zdONO1L6fOVMEB2v9Fbw-rrDTF1N7vTgg"; e_fb_configversion="AcJPeyoyaVaLSHSqF2cPC8oO4lk8SmOM19v_wt18m063y6cgYVD8k5h2hjJ5Vg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=233, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8525842197426285"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 00:45:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:46:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:47:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:51:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:52:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:53:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 00:54:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:15:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:21:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:23:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:24:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:28:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:30:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:31:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:41:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:42:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:43:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 01:44:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 02:01:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 02:02:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 02:03:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 02:04:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 02:21:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 02:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 02:23:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 02:24:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:01:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:02:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:03:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:04:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:07:19: Error switching inputType 08/09/2024 03:15:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:32:44: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24519026, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 09 Aug 2024 03:34:31 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/09/2024 03:32:46: Error on send one message facebookId => 26367336982912161 08/09/2024 03:32:46: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/4a262fa0-5600-11ef-80e0-37ff5d1f4f07__1723174471578.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AMfEcaKyC6IVB1qcEAsBkAU" } } 08/09/2024 03:41:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:42:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:43:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:52:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:53:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 03:54:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:02:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:03:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:04:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:15:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:19:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:20:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:42:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:43:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:44:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:45:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:52:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:53:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 04:54:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:15:40: Marker: 0 | ID: 66b5a5fcff349866cd510508 | Error: cant_get_message 08/09/2024 05:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:19:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:20:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:23:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:24:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:25:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:42:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:43:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:44:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 05:45:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 06:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 06:23:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 06:24:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 06:25:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 11:08:19: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/7895012597286504?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24614810, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /7895012597286504?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7895012597286504?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/7895012597286504?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/7895012597286504?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Anro3N6IBU_o783O5HHJcV2', 'x-fb-trace-id': 'BGEu8GOUQY6', 'x-fb-rev': '1015539449', 'x-fb-debug': 'OE0nV2WvL4JmTYlLuDUvK3GcrFsTDbF9Pt2/d2lUPZFAKlz0I98+IJa1/QtjGqGT/inPv0KXQbXjWksAAzSyIQ==', 'x-fb-server-load': '51', date: 'Fri, 09 Aug 2024 11:10:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcI6BN2-0kj08qmPEQBKSi9X-VP56QXSfYUFZvw-ScH3rEVrZ0PPxXTAdCFNtcn3fVDm4xj5nRzrIR5x_SQ"; e_fb_binaryversion="AcKIw190Xbkxu49Bf3ZiFpqGnRFiQRAdP6ULfMpNi_xQ7SuozclW7-AbLLlcuT_VAlU-yw1rT-Lh7AOR95pufq12yzwuGBjaHwo"; e_fb_httpversion="AcL_arR4cfIpTRutNAsL4yBixUCcFvKmGjc2munz6AngdAojOIIVbcXFVj1-"; e_fb_responsebytes="AcJC9WuebBVYCvc42nCJjKBcrNNSn2IcFHnXBxGajYB7aSoG6MGZ0rZpswuC"; e_fb_requesttime="AcKq5BFCqmdnzKIMalgbqmLfAPH73mnlJ5J3KEMEFub4ATBPS2L4q36MmXqO0tCP9IWUcNaW2Q"; e_fb_requesthandler="AcKPXnIT0VXvrqwoXlBZHOr6rVYRnE_kTpIJj4QmLtZJ0klcqSX273EB4thrxpNPNc-RIVh6B08"; e_fb_hostheader="AcLnUYGeUzTyX_Q4HffmgwQru-IC7iNhKdVuj62ejIjnB1CWFaIw8Qu_cB7p_2YREaUxt272Vwv-d3Hv"; e_fb_requestsequencenumber="AcINIxQfbz80-_CYpBfvAqbAGlPV1pgP5q1ul3yS8ymL1_yadw6gYcm0ZmVEkA"; e_upip="AcJOuwBWaRE5G75cBuj_BCBGx0medXOt8kj0M4OpimjtMQXcVr3Cal3AIFTNLQO0dZj83v5IsEiwhyqK80TRhoFaHjX6S-JZohfsaYo"; e_fb_builduser="AcLlYsXqzH2wYUVAWsgvHHymT_mjRWZVn2ScehMwZXff_t9ruSYSMYElKCoG0QeXFXM"; e_fb_vipport="AcL93Rp9SKANyMMv_-nO69BGWa-wWBZ0HsLJHQmhmI_iEmG5Ftz-oO_NIDfw"; e_clientaddr="AcKoSpjUyv8-rfPqHBVUYPk_3VatJQYhuzkA5xX893cbkLQhmKiPxoqgsRWQWlrkkerPqX4Cpmjlb8VHmg53mtii2RG-V65HwGzLrjImEIgMdO6e"; e_fb_vipaddr="AcIbE2oX1TfR6jX0mdA6PUFRG1dqB71zQSy4eMkhyER8a3QrIcT1h14Bwd_10L05rk03iXZkqn-0lPVhbTUzHXtuNos-meWWAw"; e_fb_configversion="AcK9PnrXnkvB6o81KyD8bmFUWyYPOdYiXKpRImJs71sgBZ14haxihhnD3pSCRA", http_request_error; e_fb_configversion="AcIN3-PBhz3cGJfqFOZI4h6-vAbOp8MzqLytUG-wYNBY3eayg2x3XpHhGe_Fzw"; e_clientaddr="AcLRTd0lZPq9clel-TZBydu7EOY6AF3Z3MsHMptXFg_smkadp2MN_VP9XMlFhKUzwW2eHbbd6AKQZkuV6g"; e_fb_vipport="AcLyjVtDeh3bZ5dFQiMmoGXf12hWWa2Yv8-YZXyotwwSiGfLrpoCGkKaBIfK"; e_upip="AcLQ4pnoowVp9L7vDAaLuuS4rkj130ZSov9swOBSlSyHFB3SbIAPzDNCpLsv44cevGyBCGJjKopu79KWfW5MPeMLq8d7fhnxsQ"; e_fb_requestsequencenumber="AcLGJJw7DBuiNu-zJ0j5k2dc15Qr-1ervO_Dccg157Q7vDx_njOvM9cYxg"; e_fb_hostheader="AcI_p2TVTBEn7XiDWmKaWD0u8oAqYeu1LuMStTRcCYQTej4EJ-0i7BfmxPO2BN6Fgs6TNJ1-d5dzrzQc"; e_fb_vipaddr="AcIdqGu0dxI1jd-6oZ4VWaf89qPjXahTvTysgvylesoBUHJnZ99fWDqlFvSUhiOIH6NNkQ"; e_fb_requesthandler="AcIa0sSREZhvgpelgr8gkHj0JNX5jblKtpM_wB1DayJ8izpNeU88j_kMnwN9YOKzNcqrWO8mJrs"; e_fb_requesttime="AcKHBZDqn00Lb60xzvSe6aflITbnfc20GnSii1v2W-vJFhH6OHytg1MxDaZKqVSFrDG3Yjjsvw"; e_fb_builduser="AcIa_BRU0K7dh2RV19Mvhy21WUlPa40rWroUjxqWdMDdN87GSr9joO-s6ue1X_vnWlU"; e_fb_httpversion="AcLuL_2IzVqzmAjaC7WGnx00u7BNDFqTyme5UxB82QOFxkuvqf2BMy2Rk048"; e_fb_binaryversion="AcLP3w-J8YLQZhbkubaOQChm4xRJz_vX3LL6H1hfcrBg1msD2ttEwDCqH585qjsSjHDgyIZvQo8pE0qna4WKOR7yH0FuKsFuCNw"; e_proxy="AcL-WFH_L3MqAs2zDLbVGrChczAmMo7hUWCCjbe91oizCrV7bKrCM2UidqYU6Aba05Sna7qVwsePY8I"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=1090, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/7895012597286504?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /7895012597286504?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/7895012597286504?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 11:08:19: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/09/2024 11:08:19: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/09/2024 11:08:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"7895012597286504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24614936, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbA05a657ggstEAcc3t65xc', 'x-fb-trace-id': 'C9bPzhfb2nz', 'x-fb-rev': '1015539449', 'x-fb-debug': 'V3Ow3NFx4uivN0VEMvcDQDB3pbsB7Gw5zpKe6LYOValZJeVPNw6KtVLNdwzh6OkB65mOglgdrXCO2XU8g/Qd5g==', 'x-fb-server-load': '45', date: 'Fri, 09 Aug 2024 11:10:07 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKV3kW7pisxyc60C0gF8gveVWocRnXagDlrKknTKNnByt4YPTSuntlah_I9Dr_AJb69iCbKR5aJRMiDBQUI"; e_fb_binaryversion="AcIFxq5RTmx8bSopkrVN-8myV7eU0DpR1dU3YeM37U9cpaCTPkEKhqYAAawvzIoaKQIpUnEfuDieB-GMhT0bxGko88OClIeZt2g"; e_fb_httpversion="AcILqwelqZEFASqjiDDA56s60vIg-69gbq3xuKJP75tFIgZlUajBd-Do8dZG"; e_fb_responsebytes="AcL7iEZrrDJ6nik4BAgjysC5Y-YeyRljA761Pa5OkduHVB9yeKQemUrP_BCu"; e_fb_requesttime="AcJTz-EggQCdns3K8UBwO0Kr6z4ujhI1HmVn_x4s_QmR8GxUPezTHqdNWRQudEG9tKP0GsjaoQ"; e_fb_requesthandler="AcLRtgcHhozFwTSlUYqEJf2-uT-2o1XziMAc3ZprOIZ-j5avmEzsBA1xKIMrrzl1fP-Ti5WhaQU"; e_fb_hostheader="AcKdE4iXHwT67nWjPMcadb1E3dq-BlTJ_6e0UyoA7jSlOy8-Vqv427UceffbC5-Y_RhsLteajXdO1b1u"; e_fb_requestsequencenumber="AcJaFQZdcyfwBkT2YpN7-ccjx4BitDjFuCpe1tMsTf6VaNsu0gS8oXItaVSe"; e_upip="AcJMgqtMSxuz0WgO3p6XjBeeZogViToqEYpRzoZTYY6ftJX8OPj8sEmBiXppKSP6YMgYIqw-EeiMWQ4ovn8EPUjpTbTtuwl2vbApgw"; e_fb_builduser="AcJZ1NBWL0O6aMGw0VljZ8P7AxIXLCcsP5y_23hrwdzRkkupzqBO_mVOwu2qYcQj5iI"; e_fb_vipport="AcI8CXQsIQ_MUnc-yexcU5hoKloxcCDpi7zWVAekEcji0yxmpvBKyI_q8_-A"; e_clientaddr="AcJkjCB2EJz0Dga-q3Zq6-pBq9IBvhP6Q2MT02bIcdlZOSRydOesETMM8IuqEu9WWXMRfHGxhv0YlrcX8E_crdcOz4GBlU0qjb87-P9mAMTXoOJkEw"; e_fb_vipaddr="AcK0Ityxg2Fk_nWoB3WVf_q4GJkDciJleo2pfH6GTFqKjhZiaSG826FGdotx2sMUn0-1GJRB5x__O_mdQb-newn0DC0S3KJGWQ"; e_fb_configversion="AcL07Q50-j6rtZOGNKCcfxYJx5Wqoa5dyU9fdZb2l8osLEKtEmoJw20lWEt5ug", http_request_error; e_fb_configversion="AcLp3jEyhc3HdInVlwt1tTSEoQvwF8e2WLhjjV93NF5xq7BKhZKi4RceKwrytg"; e_clientaddr="AcLJv9xAuFXFyVWo0--qkwj0_KFHBxnP9i8IPupwbexVRJeSEc7VUA0ZkXVe2Jdtsd1Gcpa9WpkgSRfAew"; e_fb_vipport="AcJgukCStnPFSYLEzEsXTX_CHdjpoATy9_ZhG5iGqmnlewfkYK4kyfRCJ00K"; e_upip="AcKHZ-JXSVlRFJUF4pcqSo_eiO2Y0bs1G7Q5srAC6W4FWovWLnf7PjvoRRhVkN5GZQooEvAyRgEmDxBSePuSdRkx3aEyJ7ze3g"; e_fb_requestsequencenumber="AcLmtxTZyGS3TlLr4ysBL5T77Yf7qLntH-zTkMFyOCFWghw1oaTYHqKp7A"; e_fb_hostheader="AcIn_HCskWL0UvW-LdnNIJMWbx6DKfmDCYPSh6FQm7SKTvedQnXAhB1nc-LBiBVq79Nvr7ppqz9PcBlb"; e_fb_vipaddr="AcK8-nkKKJo7ToHlEe41EwzUZtmWCYNVYJnQcTUE3Yq8gJGAkHcpYdcHTOnQQHkWqjUIXvpKnw"; e_fb_requesthandler="AcJQQ73WFcKAZwcz1MsjJL3jrSr5KIJlJusFj-KfTIKB6aGQ4OCmO8BTrccVf1YaSKVBGq0OfPY"; e_fb_requesttime="AcJuFDTCfSO76-2NTTr-WwdvJOa2qV-34vYmP35X6QEbR1_pZyUHvU3uDGSuKFXWnxi6WOLzKQ"; e_fb_builduser="AcLFnVTXNPjfQlFKgvBzK26QOnnuYfjXY4RLl4PViJmwG5SRGkcCOfXPOhWZSmaxRTc"; e_fb_httpversion="AcIz-n8rH6BZuWr5LcBt5CtJNo4HwKgYZQhvvsNtICxAqp2ZmRJx-PFiBbCB"; e_fb_binaryversion="AcJCPstJSfHjb5xr7ggBczmyQHAqmffRDjuur1JUQ20_GQGWxXVB3pd3VX1LNIGafvwSVGOq6oHjr-DFe1Qf5E5evUklwqQcGmY"; e_proxy="AcJn66fOiSdjI1huEE7AeOJ1s4YJ5jO4R8pt0W_PrByB7BXBWsiL8q3j-QYLfQT3AHUgn0z-YizXRPnE"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=136, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"7895012597286504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 11:08:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b5f8a3ff349866cd5106f3 | [object Object] | 08/09/2024 11:08:21: Error on send one message facebookId => 7895012597286504 08/09/2024 11:08:21: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2MHGZG3sZeE0frq3a5ojT9" } } 08/09/2024 11:08:23: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b5f8a3ff349866cd5106f3 | [object Object] | 08/09/2024 11:08:24: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"7895012597286504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24615018, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACSWBWA65kwp7M5wog3Z9JN', 'x-fb-trace-id': 'GHxaeyB78us', 'x-fb-rev': '1015539449', 'x-fb-debug': 'fw3QJaF7ip3r9IVQRpNy2NGr/xN6qB+Y8fU2b61JehE23s2ok16pDrncXJSVmj3dzF93kZlD/LG0yEpjUUo47w==', 'x-fb-server-load': '42', date: 'Fri, 09 Aug 2024 11:10:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcL5-f1xz0K8ZjY38b2ZXOCJaEx5nXhjby_ckU4YNZLqSpn48xne9OZ5BBoWjkpweQprvaTrqDMf4sf5j4o"; e_fb_binaryversion="AcIfsWQMdZyMTSqtgthxDrvJjHmwk5pWTxmC6unSu9LI24R65WpFYSkAI5yeki_PLZK8EEpsylmAFeEASoSmTViclJRVqnF2irg"; e_fb_httpversion="AcIE1Ywws9Hzj1KOXr5pw--RWq2d5q9act-s2sz009_Cn2zFSdijWQZr8tkJ"; e_fb_responsebytes="AcK4cUud7OldeBMhOegICpvKoICl5VMf1V50QTnDkWyz6SghmAE33kwvI-K0"; e_fb_requesttime="AcI_3mnG6WMN3HB_J0dHSL7Wf2bFuUIAcDZ9HaSeu7WBdX-lxRGdhP6vNuM56cC-aCgGqgz5hw"; e_fb_requesthandler="AcIeW3A9L-KoeLlCOh0rvTYCCYJl8jMuiZsobFt__0Bo7F6QC2zIbcnsAfGQZe2cc3cSlExNL7o"; e_fb_hostheader="AcJ24kIzxr0L--wvzDNJgsS6EwruHMjK9Fi0KoUmoYqaFJqDTDPJKR_tht8lFj1mWTjyR9XWiDtz99c4"; e_fb_requestsequencenumber="AcLcjBs4wnjpCSgfoohM9jgPkRfFBUSWIklwlyRv1MyLG_UCQVYI7NaKsTmDjw"; e_upip="AcJQ3xAs4Zg4BnGd47PYs-z7CVYkhjzAT3AcxPJGfK21DJR1G_O1OEbNJLAP5XUTiP5WNqxk2JuZHBPq-zCAhXYaHEjJDe5lRMqitO8"; e_fb_builduser="AcJ0FzODdW9o5FE394KsLIc3GcKU6Tu7K7LqV_1CX_mqdyJLQH-grYzHwv29ReXVNE4"; e_fb_vipport="AcJxKuiBibr5538rwmXl0D-P6LBlxQTZMMKJg7hD-YFFSmM5xUTo5Dste8us"; e_clientaddr="AcKcfi01L4i8naoQNsTdiQtrmqPzxCJIFMxpq52Es0GBzWewbihm81Nkz6f3Y9ZbcaynmOzewUJM7bsYhp4gIOlyYs0jbqO9bERTkLwpm_-6XjHNkA"; e_fb_vipaddr="AcIcUkFPoDyxKQzV5ZuCm-nRRn2P9zT1EUeit90jrq8xZXgYtA5_Ifv552pLhhk0czg4S9LJrE1f9VjyepWRC5Mz5onQ8faAig"; e_fb_configversion="AcJtDi0Qs5jzvZmqt68kkQiMOLhBYIL0NDxBJtX8XDrQ6cAuSMjcplhXFHeOqA", http_request_error; e_fb_configversion="AcI45nJ0X_0mL8AM1FBclWGdpcHq-zs9_Z7OyVzvktciZUzjuFv7qvBRzyxthQ"; e_clientaddr="AcKfSJpU2CUqpz9S34Q29CLlqjYLv-kxVnankR6blrhDhTJbPoY2XgVMbVFkyEJCeNnN-LJMQgwCtZKLxg"; e_fb_vipport="AcIbV9IfTH0sspYupq1bp-X3pyvKgnLraf1IdzMk94arLqvOddgDeQBZT-QP"; e_upip="AcI1K-vy7jwOiMieiJCzJIRE7u_tV0UL943V-TArknPFbTYVW_Snd6k-ZwW4hc3DifhSf6uYDrfkTUsqhh8BmmKinIM1KYSMXg"; e_fb_requestsequencenumber="AcJdrjimjHMiBhCuQCDugsZpX5roSLi8YLdwV00IRdG352jonpMVTOdPoA"; e_fb_hostheader="AcJCIWVQhpODQTpGVgk-75MptwtuAlvlYLf5oncKtSUY8eq8jmDn1_XNm_S8XdmYeARSF3u5qxhzo0Jx"; e_fb_vipaddr="AcLcBXihaSGsDSBLZMHkwgYJJ3FFuU1zXaN5LsBeX5KtPr-ESacubuS3Apk_gD4ebNyz4A"; e_fb_requesthandler="AcLEClIAoUVMnk7sUxBEtFvFtveUL0m5pFemu2Jm3e-XzZzbuOW9qV8_Kwa7voesqDI4iq1uj0w"; e_fb_requesttime="AcKz6qhetZXoXAH47Psg0jUvD9UwoLpZLtrySf7HEqYuja1-KZ1RP7sfc7qV6-nQip2rjDgybQ"; e_fb_builduser="AcJ1Q1tTUJ_RYpcSKeckjzVITYGk9aTG2FnBSlk-ywx0LW1F7jl7-iF3Rza9lda3QSM"; e_fb_httpversion="AcIdITPgBvg8kbrw6c5mM8BHlwqNeYzY3f3PIc3OWyLvPztQ4fUPiU_mWvPc"; e_fb_binaryversion="AcIZe0Gbnmqw3YUS2GDBw0JztkVGD3eO50kKnn-F3vgeSAUGljOP0VjsuS26XqwL9bhdD9GGSRgHzbm_Ldl9eyWhwHzMHsE-ff4"; e_proxy="AcIFQv4GSKeMGXLQRsbzYZjJWlayM-sQFpuiCagf8S-AePJnWAwpn0ZoNzNbZgcGacPrjMZDSKBY_QQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=157, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"7895012597286504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 11:08:24: Error on send one message facebookId => 7895012597286504 08/09/2024 11:08:24: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AkhfEJe27L3EgHoUvk1YtUB" } } 08/09/2024 11:08:26: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b5f8a3ff349866cd5106f3 | [object Object] | 08/09/2024 11:08:26: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/09/2024 11:08:26: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"7895012597286504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24615158, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIJc-jMOZxnef-ohPMIwX0w', 'x-fb-trace-id': 'GcHVs89aSBe', 'x-fb-rev': '1015539449', 'x-fb-debug': 'KHI6My0P/S6OrTptYipKzZCHNqYuWbh0Gz95QAjyl6B0TGfbZzcH6UDcA3Cit9/Jbz23T3ttPNthyPtlP0X2SQ==', 'x-fb-server-load': '40', date: 'Fri, 09 Aug 2024 11:10:13 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcLSNmm7tCDAaJ6IRzTnrGiqnYowMv3wYSoSIzK4Xqzmss6m3z77ERb6SRiYTGQKbQLzFpUMIQU_WXcMkXG6"; e_fb_binaryversion="AcLM97YsXMMKAjjhk8zE9EnsSujvdf3XMjEr-IbiO_VQMU_ZSxBT_P3A5VK4V3qQIO8qe9QnNzfyAHYgl-TtVPRY56wD6f5wH_0"; e_fb_httpversion="AcK354Ye6V4zGtR6I552XRRuBfq8DuNSRLQtp1fgzqJnyfq6dfy3U_z0gT1-"; e_fb_responsebytes="AcJH-RBSsV14XkRZis1a0u8vQBmpj2ggARGKWnx5P12NGKuwXRupG1gEQGyV"; e_fb_requesttime="AcL90xPUbVLODI-jtu05J6xyK_uOBf_wYl25StmFybedDf8gdorZwd0Iv0mFA1m4GjAnclzZjQ"; e_fb_requesthandler="AcJH_raCanjcKSLwsYMjDfQSjRbtFXjM4tCIgnpObrPxlBp5NY65eJ5PsPBCKBASjlA4hfKkFic"; e_fb_hostheader="AcKdv344W5lF_WSUJERcdWDxKSCM3B6mzqC4ZCcJJ3bpoafriDOJ1Ed347x5cRpgBnVQL_SW034XwzM_"; e_fb_requestsequencenumber="AcJuffbk6BpCoK8x0J46OHj11AFXOAy2Ael8_C7a8vO2imZayoRbUzNbJK0BoQ"; e_upip="AcJ5LfCZDpmE_3GyDYO61pRVt_Qmsdqi7qnpsNVkGIrXi_GkLp7ipjaCEzFQTJZFANPlWS-P3-SHdNE3rZxTpBHeGS9lvV26F6P0oHw"; e_fb_builduser="AcL9FijmV3vzoJG5XpJJrtNojwzXl65JEbf-FSPiV4sNbdsu2fWI95puW1xkuOMpGvo"; e_fb_vipport="AcJGIvcqEqsS7Rlhf1BU0eiZREdn7kbO83iKi34TMyCBbr_89dGGHMdBJ5MN"; e_clientaddr="AcJPY5Ztitj1WSuXlIgXYiq-vzWZm70tOLQp6SOpXsQcJJjc-Z54DJJ2QO9m3R-_4R8EoL5g9F2K_wJUoAJUQhaXtgFpB5xaVrGS88JEmrGBXEtgog"; e_fb_vipaddr="AcJof5MBYlAbJ9uBR7cKJfZNUhBdAyr4TsVyXGNV9AvfShCFEr3BO6oqIMpSWtXNDKwIsth5chEahuF6meuRss4MHmt36Qz_uA"; e_fb_configversion="AcKVpb4d3qtzqLG3s9orkpXFHqLRFZdJLzIDFOVoORtiCvwWRO4uXbO94QNSIA", http_request_error; e_fb_configversion="AcINVIFgd_giR7mccpyfNMABet4SLT5RhrC1fSHQcVQsB_PXEAtcGoLxu4Nkrw"; e_clientaddr="AcKPKjwrWr9UKVH6zHwATTzw244F4K0Wcub7QelQjdAemCzJ8L5d2vYwpeH4HH_jkkEi5-Vyzob5lyMomg"; e_fb_vipport="AcLwgl48tNjI3FCd0bbreXx1PPM5gTkx2-GwomvbP3iO9sTyZENMn4krSMnk"; e_upip="AcLefb78mYZjc2OclUtlZzO792J2vlJCzlgS5YtyQzekiU_cIK_yBltXjxzMJY3rkFaK5PYizU_lK8HZ4rJzLWj9GosP-1TuQw"; e_fb_requestsequencenumber="AcKkPgdLBYPxRbuWygxQg316T_-IkLqHrNKXEhTvWKNWt45MjAjMnu3X6g"; e_fb_hostheader="AcJKF3uDi5x7GNAOKixXnxITsmwtyOa2dItZhfYjIZGG4qvBy3-Ev9vEBOZw7EOUGAdu-4uNGiOVODpm"; e_fb_vipaddr="AcLWNWay0Umnf6fzqH9gOE5P28ImrXziXCPgLThws5-qyTpsaqbJSCHlXZIIjDvbnNmh-g"; e_fb_requesthandler="AcLyOSqlTlfcFf_IaXv8E4s9wGN-LWUJnLAnFPkDgujIi8jn4e2M0njFWYX2v_652VJJTK9T4wQ"; e_fb_requesttime="AcIyCFKxLWSZ9PgfMePi-utbQs54ag3roiuzvy2pi6CO69VkbkHE0yGSs9LaaueaUZs5pIneaA"; e_fb_builduser="AcJS6imp3nVrEnttjoG0BoiqHmVJ6s2RR46ZQBgmUy46Vck_taN6QQPSzzqWBoqed6s"; e_fb_httpversion="AcJW8fKOcC114OMn60hfI4zjSeOKI_HckOEMrsz-e2uyoR8QxQEr7KZtv4oZ"; e_fb_binaryversion="AcKNOab0DJIS8Q4wpcyDDOqqolCafpq2jkotx6vsxg34vvO13S4OlszZ6MbRD7yEp0dkWSPBv_DMfvfXTVMn_2Wm5hMATtYUecc"; e_proxy="AcLGBCrHCqqcczxlPTsIQTQAQUaYQYiYxatCUSwB5a_T9DDfupaeC5i4QDrSaFGV-wyu-qEdiDiz-vE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=151, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"7895012597286504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 11:38:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 11:39:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 11:40:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 12:22:53: Error switching inputType 08/09/2024 12:22:53: Error switching inputType 08/09/2024 12:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 12:30:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 12:31:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 12:32:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 12:39:37: Request bot not found: { id: '863113247096430' } 08/09/2024 12:42:37: Error switching inputType 08/09/2024 12:43:18: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24639219, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 09 Aug 2024 12:45:06 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/09/2024 12:43:21: Error on send one message facebookId => 7992395640808492 08/09/2024 12:43:21: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/346cf0c0-564d-11ef-80e0-37ff5d1f4f07__1723207506380.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AY0I02lt9uymUMtq5Ar9-jD" } } 08/09/2024 12:54:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 12:55:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 12:56:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 12:57:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 13:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 13:30:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 13:31:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 13:32:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 13:54:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 13:55:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 13:56:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 13:57:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 14:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 14:19:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 14:20:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 14:55:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 14:56:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 14:57:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 14:58:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:42:04: Error switching inputType 08/09/2024 15:49:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:50:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:51:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:55:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:56:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:57:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 15:58:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 16:16:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 16:17:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 16:18:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 16:19:14: Error on send one message facebookId => 8324079700977422 08/09/2024 16:19:14: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A_inDzdc9hrKepxT-NWWI6E" } } 08/09/2024 16:49:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 16:50:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 16:51:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 17:17:51: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/26959726493618271?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24706635, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /26959726493618271?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/26959726493618271?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/26959726493618271?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/26959726493618271?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMvUgg949f5H9x7WTJuIkg9', 'x-fb-trace-id': 'HtywVPBJcX8', 'x-fb-rev': '1015543513', 'x-fb-debug': 'A/dfMKnk0J8un7rTfmhz/oKo70DiHSRyY2j+jWv6JZ8TY63UWyLHqtltTHw1syFzkw9ai7D7DsvY81aGxx0BPA==', 'x-fb-server-load': '45', date: 'Fri, 09 Aug 2024 17:19:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIHRXac5TSjuVs_Kbh_PIouC5PwZPMm8BXGs7Q2zjkNX9bYRbeS_D00MM796nndKiArYZ5lm_l4WxWf7rf9"; e_fb_binaryversion="AcITT1h4nbDmf3WH9Gckc358b29wFVRCmsIyopJmICyv_danzQw44Ofg_DnTb0M2vE9IsKNlefUdt-uvZJaPFREFVAbpP-pLIOk"; e_fb_httpversion="AcL-zIe8vzpkxY_UOPNlnvhItkHRyyB2DvhXk5vhrzj6DFQPcY-3tF0oWehm"; e_fb_responsebytes="AcJyKu-jXgm513SBKS6WWI2C_ihfNfws56r2GPVOhPgmds_JF5SlBjSKd4e1"; e_fb_requesttime="AcIFdXKgOW6PxRSDd3OX1oc2Mf3AxArV88NCus5YvaUVvU42YtwDYPmXZmCgT4XlFZKRRF8-nA"; e_fb_requesthandler="AcKZM6GDYUStlEBgrkvECB_o10nEDHNu2s2_TnwJbixcfsiuUPpkOO7ShrZ77Y3EWHTFjv5rVrA"; e_fb_hostheader="AcIRr-lrfjIZkxNL875xAfimbGiSf3WS7PmQDVuvbPW1W31g_WNzaqbVFr8-dxk7Ygjlz_gdaZfHfSd_"; e_fb_requestsequencenumber="AcKcrGjn3mcG-WcPmZQBxTnP7IBhkDMRIh0kqpMXmlbxjc7yB3gvWu9aV8cD"; e_upip="AcIdJCri-2XvN7M8LnJyr5bBCZ2jzCVUGd97clrAiT67SjTrfjsiQ_8i-SIowR4cTDwqvqQZMsCVHT8OSDRqA-Xb3--Cv7lgyIVgAQ"; e_fb_builduser="AcLWOch6sGgXJlBd21Fzlj5SLoKd3M50fHUlnaeE4-9Ay90q46_J5IsdHBnJBQguWMM"; e_fb_vipport="AcIoT0tKHmiIcQw2wK1xvnAsIiH-JqQbp93G5uS32F9I3c1FXYvjZd66lqUh"; e_clientaddr="AcKMY3fek7EN7MaDI9M4AaIgw40rcsuKbSYvFNPqNXHjZsOUwxXOwzKZntFzCATWTxLMGw_1fNK_bGVs3WiyRRSDfTwH8P7g6W4hsQwoafwHdCr3zA"; e_fb_vipaddr="AcKmBR-9HoxZWyj-t5POk1Dw-tA-x3r26uwN834y-7DpM8KxT9yveZrqQJbdnh_O2G1NKkw2M1dWz2DHz1tAyGaHKdNL1E3a7A"; e_fb_configversion="AcJ4bTF-jiRsr22bQxwdtMXULTESm6EOYyuE0dsk-ZB_DwDRoS2O8P6lZN-5gg", http_request_error; e_fb_configversion="AcKZo_g2FOn62tdhlxrA8nq4TGGUjSqsiLqDVDhgilyENMFesWLhv4AvTYbMpg"; e_clientaddr="AcIKgVxVuNU-gErxAJK9VJET2sEGgwLMMT1Cl3R11NroWGu5Rq-gXmEvzDBd-Bs6vXAU_q7qLx45aoofkA"; e_fb_vipport="AcJz-QP-b5Np1HxoEhi7LXdS3G0K5s37Ya0cVyC-hGCASpxLywioV3gAEp9X"; e_upip="AcKt_njH1VKqES2468H6lqiV08RTCxOCGuTgXgKWa4cKE8QMaO2c_DYVkfiSRPDY1Il6n8L9FTuTrmaRDFDvI_5s6L4ZwNNVmA"; e_fb_requestsequencenumber="AcKxnPX83PG6O2zmqu0d6GEuDiNRnTfHIiaK3xkZQqzXihBq3dEmxEpo1Q"; e_fb_hostheader="AcI370GNnPMdSs5tN2LpM0VisnuZWlmN_TWmbq-MVaSWuop9MkVKuYF9L5LhPpjn4Ks55uDluRFxhCw3"; e_fb_vipaddr="AcKM5-RmBzp_bGdNKP3ZPYTRsiSTBghUmZOjkWDcdmJfBb7bXky1ECyoRmNdFaxvIltdNQ"; e_fb_requesthandler="AcLKbgUY0JUxmXuydk06qFdz452lQbwxIPhpjopNI-H1X5IFIfeeIAoN_804AobR4flHWkK0UjM"; e_fb_requesttime="AcLsJSfPVIo7MZwIxkX6RlwSGt9XRlnfguk_kTDOy0o-PCYoCUEmN7O_iiPjbjBClMr6Hg97Lw"; e_fb_builduser="AcLDBCzILjjehvEZA-bLkXVsNmROWMQA5L5GYZWouNLC3UTJRvrcykMkPRF2vNpbNxA"; e_fb_httpversion="AcLydR9op6eA7m569pzsDj6MO9uewnqoxLM8JlWpZ_IUVKAkqp0td74o6zV1"; e_fb_binaryversion="AcLr_n8UfrwNNcuxMRof8e3GwNOfwWwwkzyFRQDjoBCSrF2W_26xwulJt-LJovBWc0fJr4iqOUukqczbhCQRCFv7iit50bIWmuA"; e_proxy="AcLugrHf9k8HAlnUa9apotcsiztw9NVimw9GKvgXthrhBvTtreUL4WTYH1qDzxW4TYB_sq9kM5BVWlI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=178, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/26959726493618271?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /26959726493618271?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/26959726493618271?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 17:17:51: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/09/2024 17:17:51: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/09/2024 17:17:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24706756, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmxaydOQcmcCVc6UVvZkJEw', 'x-fb-trace-id': 'B3WAFtG0gPe', 'x-fb-rev': '1015543513', 'x-fb-debug': 'XD+WrqJ3O+totGYA1GvkPAYHzeXzTxKDPEoGIc3EfCmiza2X6A1N28j7+Icrf3xJzCdcqBedL3NYmRicmU6hYw==', 'x-fb-server-load': '41', date: 'Fri, 09 Aug 2024 17:19:39 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJHdUd0QlnkpPwO9tOGKJT4l0mvbSJADcWc9rcrvCMMHZQ1Curq8FgPzOsdnFM4HT3qviA2gXQjhIFWiqw9"; e_fb_binaryversion="AcK5IwFy0Pa_1LAj9eLQkQJll_fuiCkjRLUSCkx7VxhHeMAOE6WzjnxqoTs_TQK773fsy1I6GSYLHrDoV8lgH9-EC0vyx_7JaNQ"; e_fb_httpversion="AcIhZOvYhNGeGA_PHFoggtrovotZk78ZedUPqTWbH8KDeY8F1i1bMQn4LwtQ"; e_fb_responsebytes="AcJbj_KNK09GRCA0xmiak7VCWibq_wlvm0thmk6Ta-dwcoe-ApZ8vSd6Lk0i"; e_fb_requesttime="AcJ1FlJ9WPbwu9WgbXQwlstUCpg9f-OZQRGML-gjKyjTWRqGH8L3Ef1iONX6rkwKqBDA2XVaOQ"; e_fb_requesthandler="AcKBjSmYwNJkHMOuLWjqQN7Uu0OXoVwJVY9FRb4IaXLigV3_x0NlZQmBFTf7x0TzxJZBSkDmEEk"; e_fb_hostheader="AcKIptXfD610GlyQu1ggcuPQS7BvXTpgE3-U1xvYa984ptGNY4fqgL-JKKBBhW5gdLA9A0Jcp0gzdCe8"; e_fb_requestsequencenumber="AcKwxzvsuU9nM8Adwby8ctlChHVvVNCPHgXVNIczedc3068VQBZpBl-L3xyx"; e_upip="AcLnHJjwVmMAr1PpUk2VI-4jUkrYfrlVduPKaFr2h5IFi66S_OBJcrLlhrbGotQByExTWzgG0_OPLGuqcPnUHfbPXKK1OK_MlDZMBF8"; e_fb_builduser="AcJhWfpGGShlgmJ7hJ4rpJfFmRUHQgLgmvNu-6rq_YErbOYzm2z-LahTtuaN8-uvWUQ"; e_fb_vipport="AcKw9wLPb7a-NNvqCx8eY1cjVQwjQiXk8dGa2MjHiQsV9IvBKOWG5IxrpzVy"; e_clientaddr="AcIojPXVLL-LDqQDeX3RC4Xt2Aycyya8z_fiYjRA-rZxhCF21WiDLhsbNLX03Ww8VSJT7lPps5gj1AIJyvlNh4XAKCpQuO2wn0C0Dk-MYr1YvSSAUg"; e_fb_vipaddr="AcKCwuWPv78WEILexNP1QT5vJPP-laphMd5zSLOHGNnsMUwKWiwlfXx49fI6YhwE2kx2rNxiMFSqXsIm5S9VDSBJ9ylvuMysSA"; e_fb_configversion="AcIPMESDKByUo4E2tOafKtuUtLa8xHj_zvvjD4Ll4JtrNKTmGvmpZCXEw_tNjA", http_request_error; e_fb_configversion="AcL0P1cSIzCxvvMc84IudYdxYejICeN25J7bijxtz715G3BE6jhAKFefF01ndA"; e_clientaddr="AcJ_COt1gfCkWVAXmlCF_uAUqtVR_prHUjd44RevxSKAGQ6ZoWkrOQ_V7v7g2CUkYbXINKJummohpMGsBw"; e_fb_vipport="AcJI1hfj2BV39IM1V4k-mygdijRRbZ73kGAhqtpeB1Venr7WJ-XT59tcUr1q"; e_upip="AcI0XwGYO1oaZbux9YlYRZ0RVDdqQADbEmNDYNHggjkgzybQBeOMWw76-ECho6VXh_SH6Oo-ko5XafvvxQQfVr0ze8A28UxgKQ"; e_fb_requestsequencenumber="AcIV547SZzIsBqBISgf_dGsehZqblVrDBT_FH9R7fvHduhYw098SIGw7vg"; e_fb_hostheader="AcKWRLxaM6CMtYxkph1VIsAJ-_3fxLJGwu6nq7SYIuhQQrEKfS1vitziBv-o05D2OotTken3yOU3_xXq"; e_fb_vipaddr="AcKA1Zkl1_HY-XM3_jqS7ynyC-DHjlQdGujk_wPQS6Y2fC7ZDHNLmDHjf_JOFxTyCoxFpA"; e_fb_requesthandler="AcIY1b8IXZMePYkIx-c9OEZqZD3PUckMaizgFfzm0A3qbbSp9IFGFWF-8hSfO-BhqcxTtX88L00"; e_fb_requesttime="AcKotYRfTu1D6ZWSObOaE390FNrZ04oz-4LWEtHGrrrtKxd5U8MjyUHaAUDjVonHRaqpay7UiA"; e_fb_builduser="AcI90Qok_RnzzA83cZDcTl94yRwqWiFSAZLLpHlFvfRGfFzaCyHEjv2QmiO9DyDYj-k"; e_fb_httpversion="AcI92ywsPhqmzYswGiRe36f7UyRgIFXX9BzBreB5pY-D71yXfdwEp8ZhChfo"; e_fb_binaryversion="AcJFqho-ckREtGGicRU8e-fP9T0--L3zSDo28wDYJsLAVIK3gPdMC0mMSonrWY6EzXLzSXn-EkX3lhNTo4V5ItqBWTNZ1dSoitc"; e_proxy="AcIBpcAlCK_iCgWjn3WvBRV0e9JkXW6LxZDonSthnlD5W1sUphWU7Zw-uqYvXoV_-2a2qdefm1n7WoU"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=155, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 17:17:52: Error switching inputType 08/09/2024 17:17:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 17:17:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 17:17:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24706908, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3BuvjFF1JOZq-o24W0SRDj', 'x-fb-trace-id': 'ChUcWuVKmMi', 'x-fb-rev': '1015546633', 'x-fb-debug': 'Ua4vzBjvGQSeOLaaUI7/0GeWA50X5mqf7brZcR1t00TevIvaO2IsyXfGpteEz0M5wZHeY97FxofW0gmwDoDvMQ==', 'x-fb-server-load': '43', date: 'Fri, 09 Aug 2024 17:19:40 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJMDswEdgfmEqc6LOWIMO-0yC4kBXjrbSE6FO2NmGDCjmPimiSFN3y6iPTLOHwlc3NzgHrEVHtwtTOtSEBY"; e_fb_binaryversion="AcIuS7FKK_wHnNP91jRjkqyDWZltFrSOZZpL5SEFZG-Ivhhs1YgAe2goqy9FQSQK90QjtPxxwbjjFaS1PRtr3ULQjj8qMcrcxRA"; e_fb_httpversion="AcK5y542Of5hHUuXRWvvgm4m5XuMfHn1lGiA0yiqqEI3L3JMu1zM3PvFt7E6"; e_fb_responsebytes="AcKi0edZv_8t-HXmCLzJXGdIIUhuAtT0UwKCy-AlTQDn8ffFyhZ1Q01mY37M"; e_fb_requesttime="AcLFe5DCQY6EAe48onDuwrOPJL7zW5ig-ryKJ5Fq3v_XRWLRNgZbHmdQU3KBhGdFos8nEVQowQ"; e_fb_requesthandler="AcJhvo7DuY5N0w93RzjZpTcH9WUW00xM9cgbbTIEW0JYP0aVl31EtdBbtz0r3Sf492P6sR4acrY"; e_fb_hostheader="AcJJ4gmZvc4QcYqwWhs-oqwFY94nr6pshuNpcR86t-WuPj7ReKfaQl_FEZOlCR-kmEXBY3lXm4p_RO5B"; e_fb_requestsequencenumber="AcIr6b7Zgb1N-CW1L82bKGW5HVMvBgfxL3OqFBEf177c_UfA2BmjalB2eqRa"; e_upip="AcI04ur4WMieJE53Bd-RxL8XNg_3Tfcipqfgb2svam7JUnLMAAWXCRctX7Q1LzIHaSnmxoHTYimfxDOyy6GqMP0m9Bz4IE4xx5CLtE8"; e_fb_builduser="AcLjTDGuYEUXNWTddkI7iRrvepgLGDbGp8sWPf7nJNFp219OQHlpdReUEXYYJ3HABN4"; e_fb_vipport="AcIM7YNmzTbYFeCdQ-Fy2Q8qEqsUU46Jar3rpwNfqwEhytuuIX4HB1vZMQ3E"; e_clientaddr="AcLqr4JhW8UcsBeq_3OkkvLZsxiMTQnpU9t0JeAS1juJAy2seqt3QZSm32ZDvSX_m7bINf1b4HQWDUyvesO749m7SdeWxIJFoxtbZfiCDQOET7lxGQ"; e_fb_vipaddr="AcLE9ngFgNRSkx8qx3z3B_OWAKs0Cz9UwFOCRj1GUSxicR5xkcYisT4OFcnNE6T76l0DfXU-m5Ss_dU-uJeRMfm6bl0zgwbQwg"; e_fb_configversion="AcLNY8xf-5FWL7m91lYEpOHhnMqTOEK5SmuFBnePePmZxxS7EV_bPJs0gm3uNg", http_request_error; e_fb_configversion="AcITcvTnKdR5CMnzAdk3gfpO9R1g5ho7xzg-p08WkxQEInbjgaayTU8eomJ_yg"; e_clientaddr="AcKW5Ig647HHU3v4AIMnu1SGrHVjsvy-N9kmPAHDljRX9gztIDTtmTiyDJO-Edmt0mS6EPOGZaEkuJRrjQ"; e_fb_vipport="AcL3o7H1Y97BvXeYsS4QeNMASjhq2yCyMEHTMioGRmoZqKSTGZlhE3ke3oO5"; e_upip="AcJCtG5pF--wamINn8HBcQcl0WhbqbKVcoLrXmEqLb5Lcv4t6OsubMOs8dVnRizqDJSsLbi5TrO8sGfE8hDTHt45ULC8kPzsJg"; e_fb_requestsequencenumber="AcK7ulD2_kETfbAWn5cLKymk-Deu5IU6nB_-TjnWEgcQ62Net35iRVopQQ"; e_fb_hostheader="AcI7S_o2YulisHOcw8OK8iEjxYa6zCgYvurHNL8blQ6Uln0hul0CMomAjoJUgjzUAi4uDyzCsi0Kuf-D"; e_fb_vipaddr="AcJJ9Mx_r5VDEyIw7-17j0SXVaazsAP_Ehb529GSD2p6X57Ooj4wjNBRTlrlcpVaYKWFTw"; e_fb_requesthandler="AcLEqvPoGh1p1NtrRAAjmPuZI_KzBFjRQSOHy1H_Boxj5W7xFDYtqd-s6GGIyAz2r2r17xrViME"; e_fb_requesttime="AcJGlsN5O6P-MSoUJeD863GD0FYeM7AmO_2qPm_9bohqSQOswuuz3DjXrxHGm9nNX3FqO_2hyw"; e_fb_builduser="AcKmGPWW3_CNzd8evWvZkw8PkzO7agutVMQAB4J5DQ0Ku9pxU4zzRwBX3Qao55myUqw"; e_fb_httpversion="AcKk7n8mYC1SZilu9pDjq6503OLvTBaGSWOz2fnxI6jYKHULxH3XWDtX11Lk"; e_fb_binaryversion="AcKwEmWomhLgIYFc3lOyS_ogp6Q9LL2qxeKz_KoG-vJckgv9YJj00auydLSSne_jWCmTlhoEeDPIDTzUCHrjKWUIXtAxvLCeFgY"; e_proxy="AcLycf6ZVHR9XaMisuOLq11lTjQWVCP35iD1YzottJvRqUjX8nsmWSvkJ7E6PviK1zfE_smExZs1kic"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=153, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 17:17:53: Error on send one message facebookId => 26959726493618271 08/09/2024 17:17:53: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "ANWZJUmatwv6oCLszZ0pIsr" } } 08/09/2024 17:17:53: Error on controller verify_blocked TypeError: Cannot read properties of undefined (reading 'c') at verifyBlocked (/home/ubuntu/api-facebook/controllers/facebook/verify_blocked.js:8:54) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:30:49) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/09/2024 17:17:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 17:17:53: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/09/2024 17:17:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 17:17:54: Error on send one message facebookId => 26959726493618271 08/09/2024 17:17:54: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AXYLXZcM4njiWCwv462TMEK" } } 08/09/2024 17:17:54: Error on controller verify_blocked TypeError: Cannot read properties of undefined (reading 'c') at verifyBlocked (/home/ubuntu/api-facebook/controllers/facebook/verify_blocked.js:8:54) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:30:49) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/09/2024 17:17:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 17:17:54: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/09/2024 17:17:55: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 17:17:55: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/09/2024 17:17:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24707255, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8uOI3DTWjoBJCZUmahotsc', 'x-fb-trace-id': 'BrAcwuKszqT', 'x-fb-rev': '1015543513', 'x-fb-debug': 'mWGe0iCC5vuSJ+hv1WBJAw1gvGkG1uMHoaVt6arfLRSr6sar+yBrpFNeHdUMdXU5lkyDMfJY7jyadc5pcopn+g==', 'x-fb-server-load': '44', date: 'Fri, 09 Aug 2024 17:19:43 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcITUqsdEYrjBzgD_Jckrzjv5nBdgjFkNTNeYh0oS5bzmdicgSsqNrQj5Ffhj_jQ7UsJr8eIBLQnDAfXIm3d"; e_fb_binaryversion="AcJ3ZoHFwkVt5njXtpbXE18SJGtr8R98gqPB5AQQ087AfUaTwl26IxjuOFA-_gj-ih0uTf0PAg66WJzbIiUBNXhg0N-9iCFGlE0"; e_fb_httpversion="AcJ6rvkHn7XrbavgKk4fZChSYW_kjT1NIXJlOGZaR9dyn_e380yfsFjMEDV9"; e_fb_responsebytes="AcKHB6nhvSALMmCvhom0aL1PKXs-vlVxNB2acndCw3kffKa_LKlG-smySLG5"; e_fb_requesttime="AcKKWthp74dbrPyyQUNfx6r0ab7au5LgUHSd-MisobtZBYIBkPYchh3g7ZFLXABYa0DNURm1Vg"; e_fb_requesthandler="AcJf2wz2o_hkvQUOTl5RQ9aleHm9rzzw25Pkj1eRi8kYM4-0Yi7tN1mx0uyr48LuiekHfVqXOi4"; e_fb_hostheader="AcJGwqO1MP8Mgd3rgH207Hvr0Y9XvjCFNBwAI38UbGDsaB6xMBB2oJ71dwhasNWRk_VsQMQlE5EV7EtR"; e_fb_requestsequencenumber="AcI-QKUJpQgde8LQ09bp4iteD34OU37DY05u--RHxCRfphPnoVj4sJSaXPI"; e_upip="AcIIY-GXfzc5Otkzi_sBQttWM4VLl3FFch7sfno8QFOIJXQXVXaYd4GjI0QOeO9_31UhUnr-haoyxw2V4itKMYv0qHwsUtQZzYoHq9s"; e_fb_builduser="AcJl5J1_7xSrEC32bNWT0sf8pmhSeJOBImE15w648qoPlVSymrV2T7XbZyAIr85uGXg"; e_fb_vipport="AcLbToZV_udIqcdkzVZ8yv0PMfMz9Csl_BBBHeaiSmFkAJOCP9o_-2vkX2BF"; e_clientaddr="AcKdcoThmX3s5pwUzOthiyqEy2oOGjhGdUudBPsR8kuAo4HX1LG6Z7Y28PXBRz-XBcLF-BeKkb5UaUDVE8mJOQrKBfQxgycXJUQ21rasQ_QLymqcQQ"; e_fb_vipaddr="AcLx_0wQXDklciuyZyx1XKTIwVVMbBS1UFFMHI6d5ZBw4F9FecqPnYE9pTXDP1RYBFl7YZK0o0hmMl_DykQaAarPMtjibK48bA"; e_fb_configversion="AcJWVyDTGhxhqVfo7L6WtXziafVhkv5glGVS52LPJbMiu8xGm_9-TWSGGPZbww", http_request_error; e_fb_configversion="AcK1R7jiX-fOfe2YggFYo_mQP7fqIK0aX8tZnRkBpYZ3q1FclsXE274aizhnXA"; e_clientaddr="AcIyY9HPR4Z_kemIX1li6-UV2jaKwhXiuVa1Tf59GN1sQS4AnQCG2h6b-JVozD7kkbc9yy5uDiB3v4wNPw"; e_fb_vipport="AcJhIZJA98OOTh9ZhJQaWxJkx7B1_GsOdW03lJ_KxM0damvCCSncFDbBvrOI"; e_upip="AcJpvlcqa6WyKOq2X0Axv-c0d7Kd82dR3q4yIuPBPe6W218SnyttrVgcAg29RtON3tj6s7r-eXlIl3msOIZ5BKKT1F7v1NX0dA"; e_fb_requestsequencenumber="AcIqOIgw1rGfk-_mHQ2lu8yooNzeW6FlZ34VHHZFqJK7gKdZ6q_MSzvczw"; e_fb_hostheader="AcIDjK8SLbAfuoscoTPP8ei-lThhVK2dcnAgIYkO8fObuId_IlaTkHKwzk12wBhwDoRuHWTAbZ2ij5BV"; e_fb_vipaddr="AcL5woY438szq-ZS6UbYAJbl1K95N30O7r-roI88pfAwX57gFVlgwZrYSxxokdip7HTAWQ"; e_fb_requesthandler="AcJvZ5BpCpFLhBOrD6p_AAA7iPB7WLw6r1nAtaJVHAn6izhj8tAvcwDjVMfgWWW3lSJzIPHlrsk"; e_fb_requesttime="AcK6PS1loc_YuqjnCBTFex-sy3AWu0D82muuw9I4_BscTZ3EA6gt5-fUFi5215UunSN3sdPuDg"; e_fb_builduser="AcKxMJcBlf6Uz1v49Knx-N4UfKhwAFUp2YYL2tuaXrlNBcHXGe5ABvLRBgZaMOvQMCw"; e_fb_httpversion="AcK1N7iNyiMuuLFPpNuKFaFMx7oh-vegN20Csm13fdVUyCX11HYeNfZmMFh5"; e_fb_binaryversion="AcJ3K1rnWqk2Zlno8zZ8ihIJX08axyaVg8Ce-fWqT8VAMp-hC0x-yTN5Gta9GR0TgH3hN2NEu9tKN-hmrsnwNYEbtrmN_xFwglk"; e_proxy="AcIf0PekZwmK_osSju5-4b7k48RND9yqciJBTTUxAM8oKqvraX2Sbg-NkjUkmOEeanAcwA7xaXkPxyI"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 17:17:56: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 17:17:56: Error on send one message facebookId => 26959726493618271 08/09/2024 17:17:56: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AIVVzNcbNwN_k-U-5SglSYR" } } 08/09/2024 17:17:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24707282, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADtAKltNN26hmAgwl2o-Cyp', 'x-fb-trace-id': 'F2lPsDZVFdj', 'x-fb-rev': '1015543513', 'x-fb-debug': 'uCH4FRhz4OQkivAQnSsx8uN8uYih5gAbWJQ54aAoI82DbQRYkuJtUSV6lOqfIs4O3SOVwTii7Y2ImqXWjhzCHA==', 'x-fb-server-load': '42', date: 'Fri, 09 Aug 2024 17:19:44 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIQNQm3yGlWu847EpJlQb6sHnjnRh5Ve46OGIK8uSrsrWdsTwrmauxq7EXE61hMWaoBH6BcBkaXBnXVEDo"; e_fb_binaryversion="AcJfxuXh7Or5aLn98jm7wHP4STOuPPijQ1Oy4NK8OzHKWWS_Nsw3QgG0tKAXf1Wlk5NIxh6e7sCSj47cvmx46rhc6X6NuVp8ka4"; e_fb_httpversion="AcJ3doVm6fr4hSlDnFSGLJLW5QuoAMDUz5XWy4fzrmog-O0JNQN4Lw-tWl3H"; e_fb_responsebytes="AcJjtOx7zn16XBEag8sdwprQuTtKTMBnNgXdM3vOIx2K2cYZIp3igglHsCjU"; e_fb_requesttime="AcIovQH_6k2TWitRyxv4LhFOSxGqIlT6_frQjUKlTEDYQ460dWNskMd7McGaePStJeC1yDtNSg"; e_fb_requesthandler="AcI7-LPq8azGXvclTBnzlJ8ENomHiJxk_oNeOxDpGOEkF5dplYnyGTzSq2zg66aAxPFUD0y4txQ"; e_fb_hostheader="AcKvKtE_ZcsE4QVZWQaMHh8iP1fDWo-JQwxEyhqQ8JhbhA_tWXNrv65vDKlyhGnSMj4QWzhxJ1L9lT2_"; e_fb_requestsequencenumber="AcKJuIHvwYBqMtSP9Vx4fl_SK9Dyz8JynUbyR5fxrxXeZNcVCLLkjpCcykal"; e_upip="AcKLunB5ErrHmDJjzZM96idgwgH_eNcGN5Lz1_23KDctqJVFWueslbbsmneviN0L6CD5WXl9XG3ywdHGxNR6a7nUie72hJu-F1lgRto"; e_fb_builduser="AcLjOYYV2GtPvZ7GJfV1wNA49F77RgsExkr6e7uVGsQG0scZtqJi9gvKthXjbSrJQzk"; e_fb_vipport="AcKTos93cT_XMe0vYkg8k89OBSdZ2f_QJwrxBJDuR7S1KHVQyzWJErYMlyV0"; e_clientaddr="AcJklfY88CEtZrZKAYHLGZE0GLrds1TvVArB6eeZhsZT8Eo-AbQaf__lspm95wgmDMaFWLiHhCQf3DbqEfDB9RvH-eB-tAR9YA4IYigAhToCu96MUQ"; e_fb_vipaddr="AcJYldI0JKbEI2KN0ZQ93saiMg9WHKBBP90MkFFqPbT7fSZqIT1ajYdh6qd3jtIXmUR5c5P9chSH3hHB_RBT9Q8zH_rWosZrxA"; e_fb_configversion="AcK4dWxS3ye39nfrohnqgA52vfNn5jMXi1UhTChZqVGQOAFG0OeQIAaon29RYg", http_request_error; e_fb_configversion="AcJ54x602SA48DMARxRq7B1IS-yo_JJsJn1Ghy-y3U9zw9tot7isip4vJookrw"; e_clientaddr="AcKOe2w8gRC-ksgiw_ZMwScEnvg9MQMtF0PsA5mB7n9qVZbjPJq5DGYJSXv1Y63_8X9O4qcJO9vPC1LZgQ"; e_fb_vipport="AcKlQenCA6qQ3vvN1A5022YKE92ur98VbXZk-CJ7hJ9bJfOkROR3T9NJdHq8"; e_upip="AcLWrbZdWQx9c8e_ZRtcQzlv2wdoaYfyjIJlTh5d4tL4M3WGqKkJRTirkNaz366p-9oNTvgR6p1863T1CVd5i5LIz1fQWfuyXQ"; e_fb_requestsequencenumber="AcINJ41KcspVp4vmD5bRekeC7LjTq7lowCozbzjOXXDuOA1ByLfuLmX2dw"; e_fb_hostheader="AcLqCgYvfxPP58J-8AAZfn7s6wFbR-YX41ocemvWMvUf8nBWWwAduQpoih90jnu0YB3E10gWS6Vhdj-E"; e_fb_vipaddr="AcIEFmftJGqChgfQAtv-NI6I04TgTvIW6DLv7773OQ77YuPqhH2JoLEsUgeyh0xuD17c3w"; e_fb_requesthandler="AcKBHv3BcLeHTgp9i8h3iqMzDl00b4An57Rxny7Ko_uokzdakRqlDWEAXYE6XFoxtKWNTK7njQA"; e_fb_requesttime="AcL2Y8MIj8FEZzPlW7PPjqSWo6M3eXckKvuWdODSlK51Avf9qeB8-3WoGoUmGMoNMcih-XpT5w"; e_fb_builduser="AcJ1oJSHjS5rD2XuOJYlMNClsMjvliKSOu3Bp9-nCokz3NfdltfrxQry-t6QAkDLaqc"; e_fb_httpversion="AcKRKOhWho3EoKIwOhVlOzrSN1vVnBDIBPYlMwZUUZQRydtXVJcnDXWum3AV"; e_fb_binaryversion="AcL_bDN4v-7hR-R3DQJYBtuXfa3KA1J0-x9X7amFcSBPZuLlRs6tInmeyBD80kGInEgjj2yPz_n98oKKerVzPg-kl0jIyDw0CA8"; e_proxy="AcJU4r1hkPiMLyQ5BHczNV4XW6KBexz_AvxUhcrf5KhYCopDNKeP1ClmR8BR6T0bQM6QPHwcSnGWJ6U"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=157, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 17:17:58: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 17:17:58: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/09/2024 17:17:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24707421, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aobaj7rVr1en4Y59pE8ekqV', 'x-fb-trace-id': 'DJyRjL2vj81', 'x-fb-rev': '1015543513', 'x-fb-debug': 'ToZkw2LpUjkj7bB07LiXDJ7UYaUCk8hNsjN0g1PsKlLYkOwMLgJCOGc4bGNhgD9XoZQj4Bu1ZzKI1Uuv0eggSw==', 'x-fb-server-load': '49', date: 'Fri, 09 Aug 2024 17:19:46 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJFvFgNEBWxwAUgwb8CpyQi0jCFVMBKV1_gW0OlnHeWB7TNiQzqe9RtODxll0p14pe6GezVsUac46EagyNy"; e_fb_binaryversion="AcIjWaJ9a699HykMpMnXHut_IveibKPaOW7E6pGsGfNrF4QnX951JUmn7T7WqmJcvwNVmw0wPc8yKha3QlcadZb04rSGqzYdhJY"; e_fb_httpversion="AcICZoytBb6BREHLxPRIQu-AgFg1MS6ugib5y1t9b2Pgh4TNqFDqf4KTBig4"; e_fb_responsebytes="AcKPusPiVIrZ58fpLdhcSf98uFHBj8aobz5ReQxdXPAmGhuFCnQo-JnmU9OU"; e_fb_requesttime="AcJDsfWa_3vQ5Zo_TyMPxKNLxGiVgbqr16LvYvMffHMXTJk17ZAS31w35lyvffj_Ns0TpnnmWw"; e_fb_requesthandler="AcJnDTHHxGwBsRFDC24hBFPZcyEYa-ike95wOD0jrVhu2RXL_77x9ffoxNCsVm5L97OKufTAR3M"; e_fb_hostheader="AcIzDtY6NRE4joW0Ffjs0DIJgB_OeOw0qn_BG1Cg9C8G50zSTPyfp1mFo9hvpgG79LK96ueJWUdfYoVu"; e_fb_requestsequencenumber="AcL9ruCRN6M2cH-TEg8qP5LYf5oui3AfzP3Kj119WgEQtVuZknV4E7ujioVo1A"; e_upip="AcL1fbc-jQbRS_GoDID7J0UrN8sHQAxhHcqec7XLEJxPdMsO1xdtRQ5w14qSO0PfLWgUbJ6rmC490Jz8uG7Movfg9FLl0-eTfXJuC6Y"; e_fb_builduser="AcLNp-MvVabpQvwpvuZLtOTBG4PcRKvha-uPlwgKeDwkx9D7Ss1lxfISaBep65uAFag"; e_fb_vipport="AcJs8oUMazY3avjdA1SHRlMt1m1nNYuPyViECruet6K-0VjyY3wFajn-UwJV"; e_clientaddr="AcK9CfZEfZV_P9Rr2DqqrrI7sieyixxkLyYfpHpwsr8A7wPLm0Py4k0VcqICdziJi2OLwUFyeD8FxN0xVlra7jPQUF45-Fp4_FZdwY3tuB4g3XK1QQ"; e_fb_vipaddr="AcK07BGEZsQ_KtM0B-A8XURLMdnvnQQENQywwAHb1RL6rp6nFsfmU_zB_QPKVUS0X1Bassz-ouSLzhf9nnXhrRfBFWnwde36DQ"; e_fb_configversion="AcKmdC6XThEPeGZHjsaFpttsXAAlqDCjJdZFkY3WWZbl_4u2oZx6Imv6r09dLw", http_request_error; e_fb_configversion="AcJ0XsJWKWX_npdaaRhaeDW3yO6n3QVHBYJUoLgF4iz0flunt_Wc5YzCKIP_eQ"; e_clientaddr="AcKUj7UAqCZJvY8-RaIfnBMk0_t8vjGNyVOJb-BiNzeMU3Ic0p9uH6Xgsusj2D-bj-F4t2jTHoujHgZFCA"; e_fb_vipport="AcJAqzUMA61OP08w7VRTU2BsxrKhnieeJb3Y0z_YgUvVdI6u_DPa7DtajF1z"; e_upip="AcJ0YJcbZDCDpu9JEVtIroD9HR4fdU_RWvhN8VrdedYgcmx-yqBTJyGHCLwq5L3rTqB8fI5VXhKOW_C1C1E3-lNrSbj46ajiDA"; e_fb_requestsequencenumber="AcIpvOtjlsaV5aJkgnQPQWFWndfE5d7I4WmeXttb-4ZhMijuiF6AtS_ihQ"; e_fb_hostheader="AcKF6hzKlJ5yo0F_AqT8mcEGIdrOu1ZAhCs2aNiRoxV7ZFY3v7yU9kge6Ecb1pKXm0uvTpoWXwanwrxo"; e_fb_vipaddr="AcJt88APGPt1_nRZPQPZBg0IU8jg3SLs52ekhtPbB3YsGDC2R0-mITChcV81derkWSEtOQYqrw"; e_fb_requesthandler="AcJ8DCgzdv3PgTsjeJLclosSIO-zWjhSXttNDKSlpG_-f0bo0KN3oyMgJwkTBexAvF2TmKnUSLA"; e_fb_requesttime="AcLjwBTWU2xXCz5eufCmbS3cpbZZtklLtbmCa2uMoKqpEUnVHPSSOmPl5Ge9PceYhYkd5cAmPA"; e_fb_builduser="AcL1mW25NtS20glxUzCCPDeBwvPppZXBMbeKFWhGXid0dOE1B0BlQ3lvfumFaoaxvWg"; e_fb_httpversion="AcLfJDkrEGKI5mZmVqTVJG5e0GNoKEnfautajXZ_DfyGVx4VEz4ZoIoUmuv6"; e_fb_binaryversion="AcJfOfMxyonL6XJ_btojnJEIdRGMZwMpuFlx_RYYcD1tpZE2J6Bn-yrJwRr-ddYvmNSv82rhQFTNZyNOx2AP6WvOevSB12aX4fo"; e_proxy="AcIc7pEPWt5BJXoyMSG13pPUv9dgHxG3F-16DxteXPJ69Wpe18qeF4MhLTNGP02KI5AH0ULFdVahuvCG"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3401, tp=-1, tpl=-1, uplat=77, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"26959726493618271"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/09/2024 19:03:40: Error on send one message facebookId => 26959726493618271 08/09/2024 19:03:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AlQQ0ruHOz6t6rO_tpqbBtR" } } 08/09/2024 19:03:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:88:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 19:03:40: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 19:03:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 08/09/2024 19:12:26: Error switching inputType 08/09/2024 19:38:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 19:39:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 19:40:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 19:57:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 19:58:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 19:59:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:00:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:35:02: Error on send one message facebookId => 26959726493618271 08/09/2024 20:35:02: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A8-ty7t55SZMOgJBqE8HbAi" } } 08/09/2024 20:35:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:88:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 20:35:02: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 20:35:02: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/09/2024 20:35:05: Error on send one message facebookId => 26959726493618271 08/09/2024 20:35:05: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AcLggk_e3PdRq1HzMeeXfz-" } } 08/09/2024 20:35:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:88:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 20:35:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b64f3fff349866cd510c1e | [object Object] | 08/09/2024 20:35:05: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at consoleCall () at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/09/2024 20:38:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:39:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:40:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:51:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:52:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:53:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:54:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:57:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:58:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 20:59:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 21:00:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 21:13:46: Error switching inputType 08/09/2024 21:20:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 21:21:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 21:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 21:23:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:20:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:20:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:21:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:21:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:23:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:23:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:32:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:33:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:34:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 22:35:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:32:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:32:27: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 24799625, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 09 Aug 2024 23:34:15 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/09/2024 23:32:29: Error on send one message facebookId => 26367336982912161 08/09/2024 23:32:29: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/e3b06490-56a7-11ef-a70a-fd9a3decd9a5__1723246455129.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A7h9bYo7pyPaf9vWE_kHkZa" } } 08/09/2024 23:33:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:34:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:35:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:39:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:40:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:42:07: Marker: 0 | ID: 66b6a94fff349866cd511160 | Error: cant_get_message 08/09/2024 23:42:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:43:14: Error on send one message facebookId => 26367336982912161 08/09/2024 23:43:14: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/e3b06490-56a7-11ef-a70a-fd9a3decd9a5__1723246455129.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AIQDovEN4fpoaqhNOJYvC9R" } } 08/09/2024 23:49:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:50:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:51:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:52:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:57:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:58:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/09/2024 23:59:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:11:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:12:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:13:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:39:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:40:03: Marker: 0 | ID: 66b6b6e3ff349866cd511252 | Error: cant_get_message 08/10/2024 00:40:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:42:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:46:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:47:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:47:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:48:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:48:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:49:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:49:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:49:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:50:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:51:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:52:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:57:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 00:59:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:06:17: Request bot not found: { id: '863113247096430' } 08/10/2024 01:06:46: Request bot not found: { id: '863113247096430' } 08/10/2024 01:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:11:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:12:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:13:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:46:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:47:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:47:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:48:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:48:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:49:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 01:49:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 02:30:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 02:31:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 02:32:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 02:33:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 03:30:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 03:31:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 03:32:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 03:33:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 03:35:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 03:36:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 03:37:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 03:38:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 04:35:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 04:36:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 04:37:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 04:38:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 05:05:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 05:06:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 05:07:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 05:08:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 05:17:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 05:18:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 05:19:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 05:20:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 06:17:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 06:18:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 06:19:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 06:20:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 07:51:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 07:52:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 07:53:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 07:54:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:16:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:17:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:18:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:19:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:32:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:33:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:34:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:35:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:43:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:44:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:45:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:45:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:46:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:46:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:47:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 08:48:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 09:43:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 09:44:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 09:45:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 09:45:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 09:46:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 09:46:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 09:47:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 09:48:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 11:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 11:59:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 12:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 12:01:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 12:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 12:59:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 13:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 13:01:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 13:53:01: Request bot not found: { id: '863113247096430' } 08/10/2024 13:54:58: Request bot not found: { id: '863113247096430' } 08/10/2024 15:14:09: Request bot not found: { id: '863113247096430' } 08/10/2024 15:33:44: Error switching inputType 08/10/2024 15:34:53: Marker: 0 | ID: 66b7889dff349866cd51187d | Error: cant_get_message 08/10/2024 15:40:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:42:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:42:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:42:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:43:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:43:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:43:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:44:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:44:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:47:57: Marker: 0 | ID: 66b78badff349866cd511904 | Error: cant_get_message 08/10/2024 15:55:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:56:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:57:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:57:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 15:59:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:40:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:42:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:42:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:43:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:43:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:44:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:45:01: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/10/2024 16:52:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:53:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:54:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:55:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:55:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:56:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:57:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:57:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 16:59:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:20:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:21:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:22:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:37:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:38:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:39:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:40:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:52:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:53:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:54:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:55:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 17:59:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:01:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:02:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:15:21: Error switching inputType 08/10/2024 18:22:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:23:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:24:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:25:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:37:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:38:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:39:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:40:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 18:59:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 19:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 19:01:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 19:02:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 19:22:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 19:23:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 19:24:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 19:25:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 20:07:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 20:08:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 20:09:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 20:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 20:31:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 20:32:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 20:33:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:07:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:08:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:09:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:11:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:12:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:13:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:31:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:32:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 21:33:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 22:07:11: Error switching inputType 08/10/2024 22:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 22:11:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 22:12:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 22:13:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 22:14:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 22:15:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 22:16:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 22:17:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 23:14:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 23:15:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 23:16:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/10/2024 23:17:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 00:15:04: Error switching inputType 08/11/2024 00:15:05: Error switching inputType 08/11/2024 00:22:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 00:23:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 00:24:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 00:25:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 00:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 00:59:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 01:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 01:01:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 01:22:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 01:23:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 01:24:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 01:25:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 01:58:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 01:59:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 02:00:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 02:01:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 03:12:58: Marker: 0 | ID: 66b82c3aff349866cd511fe3 | Error: cant_get_message 08/11/2024 03:20:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 03:21:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 03:22:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 04:20:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 04:21:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 04:22:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 05:39:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 05:40:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 05:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 05:42:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 06:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 06:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 06:41:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 06:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 08:26:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 08:27:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 08:28:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 08:37:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 08:38:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 08:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 08:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 09:37:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 09:38:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 09:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 09:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 09:59:03: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:01:12: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:18:39: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:24:30: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:25:07: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:27:23: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:27:54: Error switching inputType 08/11/2024 10:29:29: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25259491, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 11 Aug 2024 10:31:18 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/11/2024 10:29:32: Error on send one message facebookId => 7575897079182502 08/11/2024 10:29:32: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d8546850-57cc-11ef-a70a-fd9a3decd9a5__1723372278613.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AMBRMTjnWeonyd9qL4uGayn" } } 08/11/2024 10:31:04: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:31:23: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:36:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 10:37:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 10:37:46: Request bot not found: { id: '1591915494408146' } 08/11/2024 10:38:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 10:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 10:40:13: Error on send one message facebookId => 7575897079182502 08/11/2024 10:40:13: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d8546850-57cc-11ef-a70a-fd9a3decd9a5__1723372278613.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AsAGFXqSNyaDLlKdI7iPclk" } } 08/11/2024 10:48:50: Request bot not found: { id: '1591915494408146' } 08/11/2024 11:36:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 11:37:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 11:38:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 11:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 16:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 16:41:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 16:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 16:43:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:01:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:02:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:03:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:04:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:14:51: Marker: 0 | ID: 66b8f18bff349866cd5122a2 | Error: cant_get_message 08/11/2024 17:21:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:22:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:23:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:24:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:35:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:36:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:37:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:38:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:41:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:43:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:47:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:48:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:49:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 17:50:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:01:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:02:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:03:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:04:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:21:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:22:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:23:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:24:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:35:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:36:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:37:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:38:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:47:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:48:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:49:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 18:50:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 19:02:48: Error switching inputType 08/11/2024 19:09:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 19:10:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 19:11:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 19:12:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 20:09:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 20:10:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 20:11:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 20:12:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 21:04:26: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/11/2024 21:04:32: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25383554, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 11 Aug 2024 21:06:21 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/11/2024 21:04:34: Error on send one message facebookId => 7971638829617016 08/11/2024 21:04:34: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8f9c3cb0-5825-11ef-8ab4-a368795bbcd1__1723410381819.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A4T-8WD1RL_i0a91wjHtcgu" } } 08/11/2024 21:10:03: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25388651, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 11 Aug 2024 21:11:53 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/11/2024 21:10:06: Error on send one message facebookId => 7971638829617016 08/11/2024 21:10:06: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/553baaf0-5826-11ef-a70a-fd9a3decd9a5__1723410713375.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ACaOKqWATbEv40yg__Zo3IZ" } } 08/11/2024 21:17:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 21:18:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 21:19:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 21:20:12: Error on send one message facebookId => 7971638829617016 08/11/2024 21:20:12: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/553baaf0-5826-11ef-a70a-fd9a3decd9a5__1723410713375.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Agx9mU4UQHsRD2JLUluKwAH" } } 08/11/2024 22:17:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 22:18:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 22:19:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 23:58:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/11/2024 23:59:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 00:00:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 00:01:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 00:58:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 00:59:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:00:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:01:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:28:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:29:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:30:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 01:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:03:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:04:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:05:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:06:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:13:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:14:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:15:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:28:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25458189, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACK1MyWaRw14vr5PCIUAgHC', 'x-fb-trace-id': 'ES/yH+1V4RV', 'x-fb-rev': '1015584105', 'x-fb-debug': 'h+ujqNDUlTKvkjMa2WWwb5zTKjt8MAwtQrPMV9IaNjdL0RFqUwogOvtg7bCKDuk/1KDlKQIcDONtv+B7lyf24g==', 'x-fb-server-load': '14', date: 'Mon, 12 Aug 2024 02:29:57 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLFi9xjxDPXjvC6CHWJ4D6uRSlwXibT5AbaTfm2nKPY0Z4cYv62QwlyoRjk8QPhoe4Sjd_15dUf4nlwCSY"; e_fb_binaryversion="AcJfvstL6F9uTZRMqn7o_QpzUzH-glyuKqgoBJpcLAiDBKGRSm51741qiUJWYmTS1H4JW4O0vX4Oyeg_ZY4F75ZU-zuVeY85Wps"; e_fb_httpversion="AcK-eca2g1OlHSiTNIMsc-8oBo76hGTic2I3KLy-gjDA60_XJgxZPZmcp3hv"; e_fb_responsebytes="AcKW39mmZrcgMvrtMyIzCRfsoP_UcOzbLIx_ZtCk-gLX5VHjOx4n3zJBpIHZ"; e_fb_requesttime="AcIAFAzC4lEsqG43HO1Oopv9-udTa0o2oNK0-ibIu6KXnavLZaVKshBdnGXTqchuQSV8uZYHFg"; e_fb_requesthandler="AcJW-RqTh8Qo6wEqa87uJGnY3gFiGCpr9p5-FURoTXk_SLKwmYHm-klZhIrOlDkQMZfriGX4tyI"; e_fb_hostheader="AcIcBOPKoRHSWsdNazexvlPykzIvDbPSRmfKyqJnfZ2R1JcWkaR25bwyt4nG9XZOGa6Zd85STYXs--Ka"; e_fb_requestsequencenumber="AcLWK6fJXP09pzoWwHcRZM3uAogpKMLXeniHCJQSpdetqAOD4Umslue34lvS"; e_upip="AcJXaR-Z6vvDoFPu5Sj31C9ymirDGuoiRdBtnetCSrtmZFR1t3KPV9oUMQfpoe-09iZyEMByZavMkJGrbAHtCVEL1aDkuMRPdtk"; e_fb_builduser="AcLresikZctghMzTU43A0n6byq_3Vcoh0ejvqZ-uvhu5X6ei8WxKOU1BLzQOc0PuI_U"; e_fb_vipport="AcJM_0XiQcjx6YHao9IOP93dkvgafhJrjX1C_DVJXVn_k6OdRUrWjUZwAgar"; e_clientaddr="AcLWY9KqFH-6aLZ6GM_-JabCEOTFD3XlaZ6MOLvWndWCDG2wiMykcvjz-QZq9N8fB-BMNihwuWnZ4TKw2c7kc2ddBS9VbzIrUXUMFOaPUR0B3Lx6eA"; e_fb_vipaddr="AcIZMzEFoGdjbJOYxYXUlrfduCS2WEEjP2gs5X1agD2UehgMbTnpmRO3JE9439MbE9_QXieCA4NSYLw-AURURkGZyahibyXN5w"; e_fb_configversion="AcI75HRaMa9DCqmq9X-YIb_vw5SyPTUwLJD5_IUiu_cDD3n3u8JGj8QHCiYXug", http_request_error; e_proxy="AcLI9aYhd5x-zNvBf4XGG_A9eOikRhMUafIQKGwWUbu3pabIyPTgETvfGyxDgsKPLl1zF_Ux2nsQ-6U"; e_fb_binaryversion="AcKuP-li0UHLGHd1qY-ga2QZeVl1rUT-yxJ9qpu3ke3fiJFnuRBFXJCBT-2aJWJGjH_tW2Q-XsgcQmH0NxeBzqNO90Vhjjvo8GQ"; e_fb_httpversion="AcJEEkT9VGGecFP2-Dt6nQA3DganvpE7FKfojQPttw3OUfcUsb1cNoyKpFFz"; e_fb_responsebytes="AcK3s9OQk5y9PbQaKtZk770J1vRWJ9J1HzHQlK5nuFJF9BRrRnfqbgmY1Nrh"; e_fb_requesttime="AcJpEa0v6l4PSxzqz-XX9x8TTKJeOvnaIhH5DPD1hshbRKl1W2c3tT_ia0CqAUEYfkaCKFmsvA"; e_fb_requesthandler="AcLPDnTLXD3R1fGR0hWtqhfpM7wnfJUzBQKZ_GJUoTYzn9zzPlcROhpdFj1eUWu8cIxSy2Guzwc"; e_fb_hostheader="AcJci6hZEOcVSlwAELU1IwCGDHg8Cm91Eo5bXNBJftOYSUMDJ9Fleeb17En_ZatmbZ7hckS1-omGWA9Z"; e_fb_requestsequencenumber="AcI3jmyEFMsM6c7k43LPYV_9dBU2U0l6mUBmnANjKkIIs7u3B2lVx9PG4w"; e_upip="AcJ-6QTer3OHzGdj9L-wzCEGoqjS8K61DHeh4BqZoWUT6_UVDB14KQkt2xbJVXViqUaCBMnB-kEccSXC3lEH7WSNxk-QIKhQTA"; e_fb_builduser="AcKqXgHsemQ91WVx4yufjdAl9B3UXHxuUTRZt0ZawauHj6Tyzp2UVtfcK3SPV_ye3uI"; e_fb_vipport="AcKrQj6bpntaIxKYlSJlyXR8ALL6pu0d3CdC8aE4zHa0BTsb6FoaUqiDlPgI"; e_clientaddr="AcIA2X6JJiLia9xzmm7Uy0wwzbzjgSCxi4zd0VuRgie2SldB4XJAgfvDUYk2w9NawiUMpaSDPHgpsxi8Sg"; e_fb_vipaddr="AcLXJgTP0Rj2LHPHAOaickdl6S9ra9vrUfKJZU3JqVDFuodgLHPNJbkKoPBE1jICkNnKbQ"; e_fb_configversion="AcIIQHPcz32LzsHMpdpcZwQ7xX1kR956QkfXJAnu4VpENyS2wep3jhBUkPJ43Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=383, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 02:28:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25458426, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A38W8VmFeXDChoRGd1Y2K4F', 'x-fb-trace-id': 'D+Ewx4XdhCh', 'x-fb-rev': '1015584105', 'x-fb-debug': 'tGqDE6Cey6AgPi4S6Q9wQuQYdIJpiq5fMm4QuK/HM2FSSCSWVWyTk1NkHtDOXNiL9vwn8RAjixt29cilTeMhvw==', 'x-fb-server-load': '31', date: 'Mon, 12 Aug 2024 02:29:58 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIu3ey-O94ZrufkgEuRGp1mVajtu9f7EtrEKymy_D6czI9dk7axX5P5SLhY1xR6cBnxWij1lvpa4uh9zqP9"; e_fb_binaryversion="AcLJVjzx7AfKV3xkejEqeNctUKnDnfuDJ_cJTyCIfolED5pf_jmgtOY-y87WxTca_GFxezHxtvS4mxGPnbnz5rOid-Vn3CHNX_0"; e_fb_httpversion="AcJB_QOYtssNGQ4YGiCStfYlbC5tg7DzGzeQ54hBgO05ooHCtylvkFolisw2"; e_fb_responsebytes="AcLzkJA8boNUlOzfXyjZQ0LfLdQMtukcBNtLHP_MHGPd8PVIPEn83BnBMuJE"; e_fb_requesttime="AcKKSsbl120FKdeXuCuDJI3kN4zk_KxCo8bgZnuN4SmwI5sutWStkk5r6ZImwFllzV1XQ8TWRw"; e_fb_requesthandler="AcKZ4DoJz-1c8vXKkfVG4aBPcWrmKpSKGPSy6h8xjkn3ecr9cTWy5sWXcFJvKtKn8URZ_8APtx4"; e_fb_hostheader="AcK3MU1rX8JqviMa5htsWuIni4HXvKXL4wDikQxWob3injQeguSgCo7WDOn2Nz_N0uYJmpy0-C2g0Qti"; e_fb_requestsequencenumber="AcISjcrQxZzRuNV9wrufAdb7qlaEn9y6u8nNJeAkAmXDcY6KafOZeeSWGTRsCw"; e_upip="AcKoQpXPG_za8F5sr7JQuNLtF1R0wbmHP3yqmiBfL8Z2eWfKeR5XQgIeEeixcNop1JfhVOqzOV2oZZVFwCphh8Suqyu5UpTnT_Tww1c"; e_fb_builduser="AcKUw5qzSRV2C9G_xekz318vrI3ofluvxkW0oJbexOWtjpViTg8QnxmDapJlqZFVa2Y"; e_fb_vipport="AcKGtyDHgWJNZXOu-gwd14f6znmS-Fz7R_YCFZS0v6fIpmUl0LvDMOYG5avo"; e_clientaddr="AcJdy4tnyCN0Dn0E_N3RVBlcFJWP3aBDLLIUB4yp-sslovBVAzYMmwCtKJeilDEizxuq8S1_o9G_I7SaB4Ep4u_qi4PV8Ueauq_fudQNrFHsH6hnuA"; e_fb_vipaddr="AcJzZIPo-4BkO1to8CQjpOvpnwDnRXISf6DX8dhP41Wt4rDQjGUtwK0WW7sVS8aXSpfazNs03XJQrmNz5Aco3I5UPkeEf0Hqrw"; e_fb_configversion="AcIEOUkMb2rZyhorUvCUh7CoNPRKzzplV2ZaV1bfhhIYXm6X8nNnIUWXry0p2w", http_request_error; e_proxy="AcIpH3fYESawK9RvFAviKLJOaoC3m8ow9rNtUK4q29lDNkGg0Wwl9Ayndvx3U3_SoNTlvx2lEJoU8do"; e_fb_binaryversion="AcKQcAP3wy3-LEFBcALEycffF_0EOi8rncbEpgjvIEIpjKDZbqsQByDkITcfDrh88ZMA7Wn5Cak39tJ6tw0E5rRSW9nM6LdA1T4"; e_fb_httpversion="AcJQivsBVteGeao-Nf-e71iJgOk32goQu602PSX0Tpi4gLqGoB83K-ZEulJA"; e_fb_responsebytes="AcLqSpvOMOAPiYK3nI4j5To6aAIelvxxTF9QytUsg5wpGZlrNi1MrgoyIKNN"; e_fb_requesttime="AcLtJQOBX3lo-XwKMPSEo_7z9rjtaVYT7e4OWS1wF31UsL7Ai2yXrT1n8af8zDaHWBbhmFTveA"; e_fb_requesthandler="AcILnsHOmZqH06kj1giGm-uaE9qyK7iMnibl-w1jLO3q6zwYXZi24vO69-b4NQ_Mj0y8Ho5ER4Q"; e_fb_hostheader="AcK1_gx1jrr-NChXLpEIQbP6bIoaRFUuukeCqso5MzsngNq9_nR9zZBhES53tNcF7JHw4lj4y_iF-843"; e_fb_requestsequencenumber="AcLN5dWwgb9yedhyr4xM2JUBvrQG-SPaU3BPPDpHpVsGcNZsK0epOuQtpQ"; e_upip="AcLMtvb27iEXAtM4ER8y8zNh4aCvUg8wr_B_0IpgyWCJ0TOVlXl_3Z-yNBeZswzH10NQ9c5RzIT23tKWVOK2xboE8Z9SqGuJ_w"; e_fb_builduser="AcI0bCfxYQFRoaoLfrr9uEE2Me3aQQkGQJQRk38CRxOi9_oPk-5Q68cvhrQXPwAZy00"; e_fb_vipport="AcJOfEqYcAsF-awUY4RaxyJeTbz5jY6HsbPBh8Yd5Q5G4u4iCl15pBoL2W9g"; e_clientaddr="AcL4Liuc4gHya_uLseCsQ6lGpINZD25_sOFHtkEk0oLfzpATV5LWpQEUJccL5oUUHHex_FOLN7onqTibUA"; e_fb_vipaddr="AcJ7fCw6LmSEUF11moLulvOZVVYPnhvGFLWxzXOFQhgUbLZqMtgVF00MjPGwGoZvRIPL7w"; e_fb_configversion="AcLio_Jj3gVOhcVfPuZ-CBZe262KO1BoxFyRw90NqgbEbhjMEnf7atKGLJ2Fcw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=404, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 02:28:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:29:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:30:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25459931, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzkRAzK9icgqPgfB-OfBhsS', 'x-fb-trace-id': 'HuO6z7otMIm', 'x-fb-rev': '1015584105', 'x-fb-debug': '7kslelx5fx6e/gJl0UWitWVg4D2p8hAsXRBvWm1qzP2FTiVtTySIz5PVhfwPtBB6jHW3caEBZxDp2OMLoIp7xw==', 'x-fb-server-load': '24', date: 'Mon, 12 Aug 2024 02:31:53 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLUWSJXGZ4I5NSIj3TJTf_Sjl1eQX4CcDPEX1xK597ETPi67lAitUHeUpGmHvPvSj1DBZ-AP_Ur58n1X0xv"; e_fb_binaryversion="AcLeWSTl5UAVZAFVJ38IeSRSwd5HispuTceXjQgApW7I1anMlLOOFI6lUd7o9cZmCWjaXdGBXX13sd3QDKjkxUdPY0JDZ6y0vn4"; e_fb_httpversion="AcJR1I5Ydzn8jAV2yhjNwCPXYqVxATKzy8PzEX51dKdb6VOUOSlJlEg62m_l"; e_fb_responsebytes="AcLkEbf8YZtCMf2p-QrydGXlIcQARGhH8_DkUDEh0CuJFXKRASJ25OnmtT-S"; e_fb_requesttime="AcI8MO0a1evi6Tt058Br_io2chT_edwylFslMTI-wP0mCqmR8hql7yRXeOsqtsr7YeFlSvyEuA"; e_fb_requesthandler="AcKNrhCBPnwaH_GwJ7ASHw7JWLoU7v4KqW9e4S2yD3Sg9WUAwrL9dvL06Kqn_W-pel36J5RBMpQ"; e_fb_hostheader="AcIAGd1ZYzjCPpQRTCOGZnmbBKce3_MoBEEYTIjZCBoRgPKdpPLcr8sPz3AYP2y32I4L4h4fIiQy8akD"; e_fb_requestsequencenumber="AcKyTZEa05RWVATnD4xfaU6hEWFc0U-HX-8p2UFXG04uBy7GCnHAmW6SPXS5aA"; e_upip="AcIPZPqqT70ovxwgZ9SrFEbltt58IUcwyoHEsmt1QgHbVC-DJ_VKYdTorXLpgdGRw5tOnmnBJ5e_UU73cx1AvkY_8jL_RWxP1IBcNVE"; e_fb_builduser="AcItPRdUkdlYxm-vhLgo7uRLfDD5RtA8ITYS99Q7btGLUC6wm4Cb_ng5bvteNikEXDE"; e_fb_vipport="AcJALsA-emr21_IjW5bjYg7Ep3YS-89pM2FH08cn6CSdcOhb1X4p-zUZU8Ju"; e_clientaddr="AcJgqU_9x1-wzhdaQDcRcGtiXJdvhyJ_3wP3XAhDTLGoTiEoM4cVx5ZK5UyM_RKgrZM2m8JSRK1ffHKgChjiPD-R1yH687YhRP350Bie3Ejzgj3m"; e_fb_vipaddr="AcIj7SJ3ZUwOfOtsE8y7T1L5DzdUhW9wxJQBxHZyg7lpwZYzljzWaT1go-j0oIBYW3NyKlV9-Qp5o2rJ1e8n1MjifUnDQaSFGQ"; e_fb_configversion="AcKo3Rq4-Wvg9q3NxujKkRznhIj0qXGHxIHVx4ezkXpiW6z2aR59_SGsuPyE1g", http_request_error; e_proxy="AcJNiWjpIGOFN5s5_yOwSpnG5BXAnJSZVI0xDPhgrUPiiyzR85StRzwj2QfuQLCvteoJ2YxD3er99TFr"; e_fb_binaryversion="AcKGIwiq2WxbIW_65NwGXzPPu0cCNyIwLG6JtiBo1SB_m2hWmS6hxeqIOUa9cqNzi1XsH997LteRY2AB2otFSIcjJIYM1o_OPfU"; e_fb_httpversion="AcIaeFQ6K7CfHUXnYh_MQc2Q6QnGHbggjlhUji6IkUGdkAz2mswRypIdPD2g"; e_fb_responsebytes="AcLvSjXHZZVgCF5vN3KoFtdMfGTNSC7ra2bpdRSQJupf-UG0nqrtdKjh1P8U"; e_fb_requesttime="AcJ3uA6FLfpcwIboCt4vo3rkkEgdhkOxRiRLxRIr-cuc9MdJGTch_FZcozChRdEYBOjLjmucSQ"; e_fb_requesthandler="AcJHbIVDMb88szTWEbdk38cQTvFil1apcHXGyFnBNKYZnfxtKgEBB7cgILNgPIQ7TvSNG85OjxU"; e_fb_hostheader="AcKfQrZsxQtx2X9HrnMTEF_W206xJzWnHRCZV2rjZLYB9f_6CMG4KCu3MmnGzjD0Ct1TezTU-lJVK6Kf"; e_fb_requestsequencenumber="AcLlS0-nfercn5zJZGgca9sJK-ZxmVEW4u-MZeI8YC2TdPDED-LQw9TaPA"; e_upip="AcKmYl1GKabBzWaNv3ShIWTnYXqidL4I7MH499jZEXQW21KgipI2AcbBI2GZ1eeGqdRQLBTHOgZMBD7hU-VdwRAybKn2qfjH3Q"; e_fb_builduser="AcJGwqC4v0xgziA1rNLu6ueZti3fZ5nxS1ObwMaRHF6hTb6I9xWTeLUBKytWqPHk-eY"; e_fb_vipport="AcJY_CVZ660juSyVY9bwyNUBajJGnuijeoksn8qsmYCbedbLytAbw2F0NR3V"; e_clientaddr="AcISwbsBpKOiMGYJNZ4ee5mqczlUrEp4PXS82Yr1je9-r110KLpOc-oA3aF0UJDO3fh6GZth6SlIM0z9Wg"; e_fb_vipaddr="AcLNmYPpEOJxJQiVPYJDlifYwp4tGAofbTSBFbWLTmIZwxIPK3pdIYAM2PiOKYkUjI3PDxnK0g"; e_fb_configversion="AcJ3AyNLNZI6Ekjukw5lpjPldM4FIsu1iOiIYvNam4g1DrLuGrUCrav6qdbZ8A"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=307, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 02:30:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25460108, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A9Cd_itbkVz2X954aO1CVe-', 'x-fb-trace-id': 'AY8vimpTxi+', 'x-fb-rev': '1015584105', 'x-fb-debug': 'rcecYm7FXUcWusTpM4C4/eFzLPD3kR/Kp6oEVaOon5EOa3NrAuMMQrb1z/XBnrFVK/pJJOt1Io7zpJ+mH5uVEA==', 'x-fb-server-load': '27', date: 'Mon, 12 Aug 2024 02:31:56 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJs1U7-dINIPpB_0zpJP2t9a3QOIkm0cB7lE20KyHeJgJj7LBtNP2JpZisAYhPqYM8PowME74klVS1_ohw"; e_fb_binaryversion="AcJRsSxXJYaFgjHgLIxy44cSGfRQgeVVedJbii6VZO1UKoPTLuf0sIfgq0iw3gQLjJ9SrDGMDFDHu7ikjR6-i9IR6iXvbUAyd7M"; e_fb_httpversion="AcJKHXVuSWEkBNaP8zsqsKmxWiKoYljXUAh7E-h0o-sjsXG9Hi3tIXAPc7BL"; e_fb_responsebytes="AcJMfBOtoIkMp25VcLMHQIx1NrnvwjGCkcql5ZKei6uY85yl7Aju3Oth35tJ"; e_fb_requesttime="AcIfC1ObBShoWf057FKpJFseHYpdAG2DXRW7iAKqV_guGNFyuL5xNgT-EqD143uiNZ4Sl7jgVA"; e_fb_requesthandler="AcIqSNeEtTHdHGpvjuL-bNrGSg3vmLWDVUaRtzfWDdaKVVzycuEo8T488hSC8DHiuMvqUNB3F34"; e_fb_hostheader="AcJP3Cvl9zm0UQEZNu9QUvd92VLSywPmbKozfWnd3bBoCF0FYk0kB7lNvXQNNCb9w95Cp6NIMsNiUjbO"; e_fb_requestsequencenumber="AcKaECO6POqkuqWZFJY6hPKEltY77juz3snZiW-yEs13MgTCHaJbtNaT8VfW5A"; e_upip="AcKQudMBJthROaqo0DbTMXmBWGIU1ecH2w8WZZqUcD7DLkdptN_7wcX1x91B4aD3qquwPRQuz3ZntnciK4IbTTqFpp7GYc7Mzn_qn50"; e_fb_builduser="AcKXc3eVYTk-NXbkzYxw9XtHO6ufBvkLWjGpRoCz84ZJIUifesomsw8tYg_E_dZT7LA"; e_fb_vipport="AcJbb6qfMeop_buAv2UwK67PqZwn1fdk_3DZlBG4rZCWgqz6VFPgamaUiAws"; e_clientaddr="AcKBCos4kOgAec_WHx23TZ_77lX6-RliW9esTE0OxqtS6bHk2NHdOq2oSz_F534bEK5EBNsN5BwcAiKECQ5yqjg67RnXVw6QGtB2Cwo-P96gwvsuGw"; e_fb_vipaddr="AcJtySxhGOyHUQkzQM-MXIc48os9OnEwmUzHM3MZGBtfFWBvhGKLMHtYBQLBcaQ-PkvjKRQM8FG2Gjmx0eqlO6FP-JWzjYBvJw"; e_fb_configversion="AcLzU2MH6vO2j7_edlZeWcscYmBcsyTaJXtMvfowc2NRHQxYSd9uAK52L9itzg", http_request_error; e_proxy="AcJcjyr7fTJr2IN4BfqBdhWYlGBP19rzN4Mu-XFo7TRp4tqZm8LzMm2qSe_8G2ByCX4y8NMS_6SMqV7J"; e_fb_binaryversion="AcJT3kXau0srr-r5Q1kbhuE7TEkSPBtuwIswTVh1VPZUPzLHi7VPY1RZYT4N4CnKIlG17HH4cS9Ghrs-DSwjJkJETpCAThs3xdk"; e_fb_httpversion="AcLAPpzDIpmQa2hGBTFkwHqXMBNf4IsWowvL_8zJT3IgilktApfJJx186EqZ"; e_fb_responsebytes="AcKrGgEmuCfrF2JkpF30Qu_aAy3ECi5SxQWK9HtewLlPNqxF2gHNKyRpLCh_"; e_fb_requesttime="AcJQjh5OB7Md3iE4lsgR_qpyT_6E-moZUAy700QVlbov2v-W1FnvO5QfhmPM404nkAby0X_iAQ"; e_fb_requesthandler="AcLfI-QZsSXCx4wDmdOdAiQd7n0_lNKbGGvA6VDxOqYLTWz4IAcsBd0KooqzTKHo_SICvQ-UI_M"; e_fb_hostheader="AcL2uyKX1mjliCDQPWC6mTkcNEnh_tGgydKSQdXYeXZTkfXQAI119VTUlKQWO_A-FaAc4jMV1P3MvZBA"; e_fb_requestsequencenumber="AcLPQLpp6RlwyaElfLX-Vvf7reZMiSYNGkGSNFH907drpAw4FgwhNibLOw"; e_upip="AcLtZg14Y856s4VTIajh7wevWePsgo6UjpE3cY8Zo9Gna-tBO15FgpLskI0m646LAQWyudVVrzi07CaJn1yoPv25kRFNcCBHkg"; e_fb_builduser="AcJ6bgw1o3QPR_uFRys7e48NqFNjBAOxZPsoAGXCNijZK6McHUsVoSeiPrR590qsx3o"; e_fb_vipport="AcLJ7KtPJAbQ8-6vCAyE7mbJpXtpJBaoXOqO4rYD5EVnytgrOBIeuzJ1jK7L"; e_clientaddr="AcIldKewpLeqa5sBY4n96IxffQbwA_JxmLaqjWqJs5bOnZYJrFgHguh9ZCOt5vTkRGk3vvXWN9FyYw26vw"; e_fb_vipaddr="AcKnhgg9ObKtWfMvY-ZPJUKcLDLtgLAk6pZ-2NeICVE7I6-q2F_0-fm7zbzf6g-el_YvpK15RA"; e_fb_configversion="AcKwhTWwpt9TApMFuYgxZ4LKD16Pg_5CpT4DLM-l3ZW5xib_uKnSyIerbpIokA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=374, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 02:30:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:31:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:31:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25461419, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'At9WACO-uMHy_Up0hUPUfnj', 'x-fb-trace-id': 'D44RzEkG8zF', 'x-fb-rev': '1015584105', 'x-fb-debug': 'gCvW16IkTW6hUW9ow//RcGGoDNXb/myDBDFv/3jCYes0KBowhw9G9vcPOq6BHu05Aa2/QmjsE+k+mZ067r+raw==', 'x-fb-server-load': '23', date: 'Mon, 12 Aug 2024 02:33:34 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKExtp031d1aA_Pxwsd76QVkg_94Hs-HfO_eQFDJ56Z5sBi77EOTfUnb7Wt6J0utQt9OYI8mLyFYMUTX8T4"; e_fb_binaryversion="AcK4le7-1MXkiKQE__gFXqnpEVl2hW8k9WKjyOHCos3yG-6QNUJgxWrqbEEZMZcxIXxMqm3jPH_31YVwSSh_YR7hephjypgqvTw"; e_fb_httpversion="AcJBamvHdGGSL_jIqFsLtfrW0uAEe3UTfPjOZJMwmT5fn_YEYX5TWdbKmmEa"; e_fb_responsebytes="AcK4ScVhuvIcnlpWC7tnXnLddv4P9_CR-qMG2BqLVyyCzRCcUA4a3Kfb2GPm"; e_fb_requesttime="AcLFBvR-aCKU_5zSTBvvZWfCcj6_9EC6DGcamYedOnxjQDsUEtjHMchG0nK6rp3WK0AeOsQywg"; e_fb_requesthandler="AcL-yogvtLjZ59PuROOz3Vaw-WghcVeqzJMX3qArUf18bN4XzolDfdQRBHjdzVhgdPo3dgImU54"; e_fb_hostheader="AcLBOgLpOUgYRuHVqTV6eNplSlBon3laDfQ5AGvViH_Pw8X7iRzrEswJNa06VcF1Fzun76BZeu-oPxu-"; e_fb_requestsequencenumber="AcIyHHgl78mbG9QZ0Po-Qs6Ne3jpNp33fywk1_GfWAq9MVUcq5_D2JxNasYQsA"; e_upip="AcKE4Hbun1Q41UZVQdwrB7lJV8zwNY0BbiRk61Oae4eDnCdw65vTC8setMkykho4MFi2B-r5C1nqEEyjpxXnk_P9q860J_yy4jG4cqo"; e_fb_builduser="AcJw8VCkNO3DV__0AGUK0-TIhRPXEQA_PnZDctka_2QArNZm4hLBrY7XuPrQWlOvJ0Y"; e_fb_vipport="AcIuIP5T6Q5RnhOL3CERg4iUESIsdX7XZmZPhcezlQNX4gkYEqLq_8Hd8NaO"; e_clientaddr="AcIFyw16GUA2EpowHKJZuXj94TLz0nD-WxNXWhEw6AnW_-9Rza3IPGKaJM4qzCKiQW9kVUSIU9gKd9krZlkMg-iZ5duS6MHHfW4qGwBr3Lncw961OQ"; e_fb_vipaddr="AcIn7dgTOs06utIqfXVFSNh2qOnqyvcxP_9XqfD2McbgRoOBNhfX3X9NgZuO89fF6Akx4KpHAT86MvP8MRQDB2m4y3PxkEHNfw"; e_fb_configversion="AcKbc0UlrRCVy01x_04daVSaDJ_aYrrW7ZQtzGYR57YvUlm9UELiizVPtub9tw", http_request_error; e_proxy="AcICoprTK-gmvvXeL8hBBBWPGVeJ-loEO_KpCnQOCGiCm3IvX4fJGADNS50He0eO2aP4a88BB72s2hXh"; e_fb_binaryversion="AcIcGvEQLHI-8bKL7gT1C1SlsYBG5lTd1QUQuXYLMz8vAK3SM-jd-5opxuTi_XKDq1wifGi0Q9GiUmI1vg3-yydIoVXm2vNpDzQ"; e_fb_httpversion="AcLwopHk26TrwPpmP5r0Fv-j6Q4x1FSCY_Xtnm1pIxoJ5PXeutvxVqUC2_uV"; e_fb_responsebytes="AcL2FhdDVBCDDFp1Iz2e926ZZm_Iomp8Y62ZhCeAcHJozu0024YXuOFVI7wO"; e_fb_requesttime="AcIuTTm6R4IFBqAfJNO5UxacM2862ustvdjeel82l6d-UZeoFO3ml0eBPezfpRGAwtXbvODSbQ"; e_fb_requesthandler="AcK6nFUkPhe087N-RJzMMRZ2BNylUlFCoYMEboWPnpVrCJvkg4UFJ71WMb0Td6_0xQ6rryQgh3k"; e_fb_hostheader="AcL9Ei7I3HTPONl8SfkWo3eok3Q0cfghclHgjTW51MKotNbfTGRk7J7Mpz5Hg4sPq1jvftDYAEZebxGa"; e_fb_requestsequencenumber="AcJAUtTRgZCMJaWNzuaK5i98teeHJO8DD086cJiyPgzjSqK2FoG6OM4keA"; e_upip="AcKdldRtnnvV9gFLOgQ_fhQvrbdBwZEvIqzEoJp5HH2YfPhxffVlpBm1LD3Vyl3DLCpz_Ugy_kvZuOhZ5GsXtjlSF4NSpuIszw"; e_fb_builduser="AcI04BmQs6AJU-syE9JDiu7-xXfrGgUfUO03XBBEUMv9DoDp2847Z6LKsVXwIlgZlxw"; e_fb_vipport="AcLIS-eXQ9TfRb5fkbND7LDWjR-USGKf7e7-E-fhvYuCEeRNv0r7JUljUmGO"; e_clientaddr="AcJ8L77BCx-JOHkSz7pNwSedkaMsl4aPIKHVuegRSDOx30yh7SMAKcVbdud_dl_gUkzzn0hFd_NlJLfnyA"; e_fb_vipaddr="AcIG5LGp1caz9hqqBE9CBPBRK9-mTn-DaVC7yYCza5mD9tp7KNAGhQyzcwvfX84iXILIIijH-w"; e_fb_configversion="AcIELkyARjsSJS4OFG16qkM5kBGZzL4al5FuCO8s4rDz81dHl7m3J-Tkup1EWg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=244, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 02:31:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25461631, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AbIhf2ZxedMFhklx0DUKrCy', 'x-fb-trace-id': 'DAgtPJdS4/L', 'x-fb-rev': '1015584105', 'x-fb-debug': '7K60kMZ2IS2HnQVFmImdi/bTWRjBfsLOMloMFTI8ulGTJuGRlayrutPV+E9EnS87og9rK4CT51Ej61IxNU87Rg==', 'x-fb-server-load': '35', date: 'Mon, 12 Aug 2024 02:33:37 GMT', 'proxy-status': 'http_request_error; e_proxy="AcImVd3ULpVt3THcx7U8SXIzGfi5tNEAatFklGEjUCJ5-bR-3rtiml_hUReioPmvA-LwPhf6W-ORQG8KeVty"; e_fb_binaryversion="AcLqv_76Jog7QOUQVS9NTCm01xOf9HdsbqMGzX2ejHPHFGIDSznOlAjbLybZhc-jwRkzjDB8j85LmdXqfk5nRgISe-8TLFvc8TM"; e_fb_httpversion="AcLAQifRrcBr2mFvnkkvrAzQCSV5KnM-469DCvGKUfv7ZvJKB5AclFLV-LGa"; e_fb_responsebytes="AcJY1v-tToThs0Q3sk0q6pHpkK6En8M6mdOx8i5S9UwmlNTdVf1NbsqmMwOp"; e_fb_requesttime="AcLfjkWgTGBWY4U7pBKpqX68GtrlFsZ4OgMFudEZh-t-IqkIIvB22yjQRbpiFsxQRig_gDWJgg"; e_fb_requesthandler="AcKpodPhVHA3xLwwv9B7St_QmjoIYfrMM8NjIC6_uWsrmPRonF3XJobtVjbKdl3ye5iltnH393A"; e_fb_hostheader="AcIdwvBaVyFjL6zsfHGnov3Tr6HB2v4ucmaMb8jZ9tg8HHa1ShDa2lbIX21RQ2AWkoleO1_vakN0lxVF"; e_fb_requestsequencenumber="AcIfrwqb4xaqLkDbqr_ld_QBVflCd6J3YChv4zjQup7YkExVTwawxyPochyeVw"; e_upip="AcL3wrVUPVjaHaF7gsAuQIR_SakkDRPm6XYjbaJhG_g1VitdJfFW0GOWgVvp0kJS8xCPpf0aJyb1RQRS6nRgmA2drr4yUwNpIc61iL8"; e_fb_builduser="AcLMUAsiXASVr263mcS5lUXgfVWKk8Cw4t4nYxSrYm7TFrigGxADN2QJckWd6upu8d0"; e_fb_vipport="AcIX4vX_Q8UjLezup2mRfuzw01DnDF9mVHzDYYVNBxnQziz6JlWdNX6TXvUJ"; e_clientaddr="AcIDMTpioUm8ZchX4NubPhsqKBB9S_1l06tSU8hdmh-1L3i8XO6c920ctFh2QTBhlwkWTI6GWvlJR-MdudEm-LFfQQReKEAcKFgF3vYeUlxvo37mSA"; e_fb_vipaddr="AcIbfWi2Jso9ATeJUgUcIkQnG8g_DpyPUOfNH0J_gx0TWGbBTf--WQYeYDLPw8LUA6E20lXBOoCKDXAnmgRoQD_cgfn-oZY0aQ"; e_fb_configversion="AcKdbyohvT5lPKP75QbcEtFxRLs8NwBmh_SBLAcoyTpc4ijhdSjRm9Qo21TcXA", http_request_error; e_proxy="AcIICXSAeozU1xue6YdZnWoLnNEFYBdsFPoDeceBk4QaiTXVt9-9EsMt7JkYhII-Bd0mYBmlWcfhW1Hw"; e_fb_binaryversion="AcJdz2Z3gjSaFDQ3twBnKMWhtnEOeb2f8oqKx5ydRV1LzCrAK21ZgIBdm8f6j9RpbLIMtgt-6PuiFJPm-lJrTmuKLTvs2EjJfKg"; e_fb_httpversion="AcJ1p0xip5LZ5gOAq2ouHlC1FTuaok9nyzsdHxvrmyeThwBAFaCqG7SW96Cm"; e_fb_responsebytes="AcL7AnKhoDlVzbs-f_sIYcjtazy_1KXrI9V8nu6c_yscy7z0RZVSOtAcSika"; e_fb_requesttime="AcLRY-yJLxiwYsuaA0BWJ6yY6rDoMUc62g4BrxVqmXnK07MtLCu7n9w7oUxfDqIAe4OV-0-Dbg"; e_fb_requesthandler="AcIrLkvXI3GNtQ3eT8L-lWXaam9AokWVubVsW9sKMEXpWOuYDpevvRR_AR1q2Psk_ztgIbaoW4s"; e_fb_hostheader="AcIirlLg4InzS2Adm99H0Pkw_XzVBF7hEMJ4AboVPQWTrSTINWm8h_fMpoHvQILeoad762Z_7iswyoJk"; e_fb_requestsequencenumber="AcIcdVaVPYtfCwFhS8DNm_j_WpV4VMOs8L_EviG04daueQi0dOf69-AJVg"; e_upip="AcK9J36Q3xnWHVZML34Wa5FrXDRN3haBadnu-3PiJYTJiaR5zeV-0s3ndHuHFqzPGHelWNw8yO8cYj8pPXlEJ3RPmV5e6jK2SA"; e_fb_builduser="AcK9hCzj2-KAyZFCYCUCW-CIOpS5blqAFVmEeAH3SsvVVPcI2zVUxlqsXUl8XGCnHpQ"; e_fb_vipport="AcI76tJdJE_0jVTpMm2nj8EI3hA1M4ZzQobjJZ-sx1_fcvy9xoQdCQDGhx5v"; e_clientaddr="AcLil1jjA4938wwEr5AndJ5ukIho-3whqrSxIUJHX_psywoaKs7IkvF5QpuSJoTgEvZACIE15pJcFkCJpA"; e_fb_vipaddr="AcLOxQ2g660QZss1IfBpuu6ninFvqjiu9w76wVK4iPSztpNmfQWXxxJedgfUUT5N3pn3Ct92ig"; e_fb_configversion="AcLPIzOJeg1x-9jnZ5iXO5l2ykq1Y-1ipgMyS-doYVD9nrDYhqLnvRlTDdRhSw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=282, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 02:33:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:34:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:35:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:36:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:41:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:43:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 02:44:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25466331, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlHwRWutbB-6vDav4IX5Y9D', 'x-fb-trace-id': 'FwvXJNXI+6g', 'x-fb-rev': '1015584105', 'x-fb-debug': '9nduIFl6tdE8BhrXKAscRvyY/xjP2Q3AxbP2+jFy6mM55863YIq/vwxHV4TejUs8M8MpoP+D0KX++NYo7eNZtg==', 'x-fb-server-load': '53', date: 'Mon, 12 Aug 2024 02:46:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKNI3aM91d6rU0udZjqCt_KGaxnnX3WXGsJvyg3m9tE1LWGt58lAKR_Dw21A49ddKfmMYS91Vz6qF1UWlo"; e_fb_binaryversion="AcKV4HiVNVeP5UCvHx708M5DqJNrPBihGksxQYW2JfRD2Y4u0mOMX-OL_I8PEAdeEq8pQmqeOtv9CKYhiPlx5HxnblDlwsXt-SI"; e_fb_httpversion="AcI93sNkQiqpi4fAYwFtzuf8iPaGa83P7bmXotZ8t-Z-jec5wy9H5Z9Cbsn8"; e_fb_responsebytes="AcKQH8xqo_wwG1nWSyMtMM0q_X0VKdsi1L2e5Nkfyd-tbA-a7KTI4Op3r3CG"; e_fb_requesttime="AcK_upMy6be224k71U9WbsGnZcLyYku2NnTgLtxMS7t4joR1oTcB_glKyCf3FFil3w2ul83J4g"; e_fb_requesthandler="AcKrAWwypRlxrviVR8vSdWMXEA511QenJaN7NfVFtKHdMPsArsMi7aGFMIDhO5ryyVc2j6WZAOg"; e_fb_hostheader="AcKJIxAy5CDvYM6pvRFV9qhhs3eHyA7ataHfuh2HQb6TjNHiYileJBoJWypG4FPDOShihc2aQsWidg_l"; e_fb_requestsequencenumber="AcKKYKuCnu2JHPtE2gnhGGpVnbBS36src0zC5DYIj8WWZ9ZYiXU_j1s7Ihb0Cw"; e_upip="AcJwmVZzGvb2CrW_Lo1DBXi--AcfYkn14Ir-EKp44gdZTeQ1AyX2rgkzl6PAMx77KSC4pRnHLNeqy5PbzcyVi89280DKb--eAs3WDg"; e_fb_builduser="AcJ4MwEBUunTEhM5E4aXDjghGdbAXnHNgwoJ1Ua1gHpbahFarf4Iy1oIIDjqMu_W1U4"; e_fb_vipport="AcK6vIDrUl1BNqc7Hl0vcLJQ6258-F9BMXdVAs1BjNreSZK8b6ZDv5cDzFbr"; e_clientaddr="AcIpbfDHU7iDOxVvjO9GGWrdHtpj3uyk-xVzBCMHfBMD70V9dq0u9RBNxj5_p-WgHJ7AKHBD9R4a2jkWvynmZzalExYhyGsrVOle-HGbnDlMgACVxA"; e_fb_vipaddr="AcIW7jkmgjnqkFUOHPLg7SW0RJ5AJ833pjm4emkmMS-B_YogSFDz_GhD1WZ_2eNLxAsuuKgOaTbjt4hvQsyJ2zjMOog8Zfl1nA"; e_fb_configversion="AcJtQB6TJ174zMzpcs9YFzz5V06-rinvMAyEOKyQs381MSKk7HJ2xHrs5iCeag", http_request_error; e_proxy="AcI2b_Lnqh1gAciSdQ4tototCuB-Rj87xPdZEZQdijL25CPX77FBaONyXxrYyCayM2D1CKgngzfxwpM"; e_fb_binaryversion="AcIUqpamHX1LacNymcjdfwV6X-GrtDGoERpiHCXw8JhxdUv4XTwa_smzqh0eyet6w4HXGkG5ZFJRlKRxq3xTpk6h5WKMK-77EZ8"; e_fb_httpversion="AcIqLs_sPE360YbhwB_1FUnOKn6YhjkOU8sJMCe-8KS8X2IbrPpP3NB3JldF"; e_fb_responsebytes="AcKMnOd_kFaeVbtDxPO-soWo-kq7Mr3uO0JTVWw8hON-CGHnJSkvrOrwVyuL"; e_fb_requesttime="AcIx7J7Qw615BsUvfQD2zbzftk66EHd-176XCDP5C8EaN9Nym7MrZ7PggAEquyvdlHWQvW_Ypg"; e_fb_requesthandler="AcKJDH1Awk_G24LxU9AZS55u9KgzR4mAWc0My1xmnjm5lV0xy8dN-0ro_YbSCdnJExr2TkY99gA"; e_fb_hostheader="AcIYqK_ZU7m3MblicAqOzntVzNwu_J58iLoQ8v_A0ZlFmWcme4emSAC6vFnrMINODQBa5SlNSlDiJI_c"; e_fb_requestsequencenumber="AcIp0hFNGVM8hUsAzWsx7fwFEzMaxLcMFGuZGqSC5MPGVGzZf47ckTp7Ow"; e_upip="AcJYCUsmM6GCR_RxUkzojz_aer8iUtUlmTlZ_9QPEAQGWIkK3s-8XkZE2E8bdSRckRAoRUwe2AfUT4vx-fmjg6oSxsZayP4AzQ"; e_fb_builduser="AcK5OzpwXcYphh8bO1-bGGgV0lMOHOxMfhGTBrBfEvQotanYVhdY1wHen83pLntR9XY"; e_fb_vipport="AcJHCgNsv2ThytyhXvm2ZtTPzBAR56mvXNogYyFGNyqyJeFnyoelqp8-hs7D"; e_clientaddr="AcKHiV89XqeGd35SJNOHdQY3eQWE8uuZQvUZhzP0QVSZnPv9TGzRXH4t6k9mRSTjMogswhP1LgvNM8pkjw"; e_fb_vipaddr="AcKzrUmpZ3a-7-WJS1-sQvq24IqB0XbRFJaRkyu3UvGu1NdV2BNaFafleZwz2kgNueBydg"; e_fb_configversion="AcJ0LyFE0H7xWxi5CbVuMBcLs0atNZ8gpMsXitP2cUkaLy3gN3sK0YdBC9M7CA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=336, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8433449093354208"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 02:53:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:00:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:01:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:02:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:03:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:03:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:04:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:05:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:06:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:13:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:14:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:15:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:28:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:29:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:30:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:31:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:33:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:34:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:35:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:36:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:41:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 03:43:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 04:00:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 04:01:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 04:02:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 04:03:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 09:32:35: Marker: 0 | ID: 66b9d6b3ff349866cd5129fd | Error: cant_get_message 08/12/2024 09:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 09:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 09:41:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 09:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 09:43:10: Error on send one message facebookId => 26305527935729196 08/12/2024 09:43:10: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AyrBG7DqZdmzwdrN16fQvp9" } } 08/12/2024 09:43:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26305527935729196"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25543096, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKS0dN2yX1y6oWVaLbo_pGZ', 'x-fb-trace-id': 'EaBrVFBHiDO', 'x-fb-rev': '1015586114', 'x-fb-debug': 'yNMqKAW17jPh87/kN7ynUNAfI0zHTf1ZLYi8MaGKBX4c0x01BCQGXk8kvocB89Oay86k6JST4FlEQMYcmcBgVw==', 'x-fb-server-load': '26', date: 'Mon, 12 Aug 2024 09:45:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI85AziG1H_qqSplavmBXiMGuO_buYHy4ZRM-QozGSNxTVAAWDuKRZ9a04eJ0HVHvH--fsGtFQTpkgynNg"; e_fb_binaryversion="AcJp-1fa2Ll8yydpEeyxc0ohn_BsaSRUg07JHdzZgwtltG2kQ-TzVpn7izgdFlhFqlPzWM2UXQ8uCx2w_1tuKPFZogb_0kpCzzE"; e_fb_httpversion="AcI8mEdfd6zEJrblujMcoRHCUi0gfOj4eic-IDtn4By5xc2rO19IsnFGCJKe"; e_fb_responsebytes="AcLnV-FnCOcxgTYJTo_5nk5XnUskWZq5IEv_Ea3h5yxRI2lkIoEpIHuSbv_C"; e_fb_requesttime="AcIQzi_3cw2SeTC8cZv-iuinYKPxQ2jYNhUPv9pQqtdUzG1MY_y0gLCDfKdzKX0u_kIlIMbQ4Q"; e_fb_requesthandler="AcKZ-m-ZQgTqktkdXd1Zy0D69mPiMCmL6a-iPZIJ1YtuPijvnbYZAh3k6wg8pVRJOL9q4ytMD94"; e_fb_hostheader="AcKetsHON-moSzK6uALKs4FYmmyBcXYFce8buRsk6BL_n0JL56pIqKZFhWVQOqzOr3wajkbIJSY6mMuc"; e_fb_requestsequencenumber="AcLgTuAnSFrnJQB29IDhnE8A0DkFPIIXErVQzBGOTWG-lz5MtywhMXMERTa7"; e_upip="AcLYhOcptLf031FmVRfwcVQncNesZoB28d0oO_RTQIogMW7dr0piCtQtUA5cRKtq11F9pztpDyk309vcKA8-9yTHOEl1kpsHka-mv2g"; e_fb_builduser="AcI0hEhcR4CJTBNL-sFEtb24Xsu-clLEDkgcsf3W7PgYp0Z4spr7E8rnye-5v_eyih8"; e_fb_vipport="AcKvaVbSUlcDgU1GRGUYsdTdRgEcY2YduzIfqnmTz5zHaTawQbwxRUZHTFxh"; e_clientaddr="AcKzEkgWwzyOBz5he21g7-NZGOUzLPRmU6m82cNiQyQC9IaKcZ3lcGD23kjxY9cNs6yhVuIxRLDxYpDFYjB91LfM2vxLHH2ppBlPWJC6VjrpHoMp0A"; e_fb_vipaddr="AcIpA4TIxfNm8V279b1ODf1bgoJKAWJmXzS6MRZ8TE70Y3qigRmjX-lOpml4vY2covjXtIi2QQO2HoZcegUIRTs4c_TciCgk_w"; e_fb_configversion="AcJXblVD5ueUhxKyl-N2qgT32YWQFaEE5Vwi10EMzSe_Vcc6V_l3CbwSHYqueQ", http_request_error; e_proxy="AcLl7KXYru155PGz6DEf8n2cpi48WcN8TSRbCAJswdJH47dRZ303vzAAtxmV_NTd64x4h1u3WR17c8Y"; e_fb_binaryversion="AcJlLe0bksDvh8JJk8TF-EPeznBt2KVzDmvW3hwVwFRMHP5EzmBYeC13X_OnuauQL6h2_u1H7hw8h1s633oUcI9YzvSlVW64VIY"; e_fb_httpversion="AcIbQXPeoQLUks4l0ys_8t215LR4k5q_m-hSNDiF-lyUc0dgcFDQEMwRtazj"; e_fb_responsebytes="AcI8yjPqJDAZ0YlUyV1A4dMkZbM_JI9OAan_dE04peVrRady5si2GdSKx5l6"; e_fb_requesttime="AcLL6RX_Ap1qoU0pmXjAWw2KT4R4VN52Ql9xMYSwq4-99z9HS-jFgveFrQc5_ZqmOs684Ts2XQ"; e_fb_requesthandler="AcLKOij5BIPe0VSmbqhl419v8LfIDdmII5cSwREOrsRyUA2Z1Mw-V-fG8ACSpYMKisKVUITgkxA"; e_fb_hostheader="AcIEfWS-BmgtlrCI36vq7nig4ZNZBAY_3w3v_M9a3dGX-rWK1kwP2rgy6rep9Eh5CuQOTMkD0syRc8xI"; e_fb_requestsequencenumber="AcIoyVaGCWvSqmGow5wU38B5zfxzH-PuhJDZE8-Hot8WJfajMa1Y1_mqOA"; e_upip="AcL_aaYm23-8_SkW-_OCVZl3A9SZwcfnAa-Mwo8Oyygt1LzBTWYCDvjIVk0K_fsqoVoy4gyniUgWiSeXRKOg-bEKkJ7iI4Ijfg"; e_fb_builduser="AcKiOgKfGdqnmyFhqalgI6B3tfT-x90ghUYlQFpMd33Yz3KtH_beZzDAlk8jpQ4tCYc"; e_fb_vipport="AcJvNuGgLF63PDAXiQB_mMN-96mqkscsw_ZLRVlrhVf6p5K-sVlXoODTXAA1"; e_clientaddr="AcJ54UokZJb2Kb21omWxZAxZs6gYcG3DQwEK3mPbhPU3EVmq028T6tGTru9yhIFJMdBgTJFd35EDIBXQDg"; e_fb_vipaddr="AcJwWrBWxi8KA9JYF9OMbBvl8hZQLMNnsgO5FRAcW3Qryy5RdrniBAnHpXdPNFOKQDMsXA"; e_fb_configversion="AcKHdgh5aHkZG2FMuF4xNwOdaCMmMT_u6ZwpIj6obu5Lz1Q36YZv_CTdvNTo4Q"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=222, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26305527935729196"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 09:54:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 09:55:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 09:56:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 09:57:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 10:39:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 10:40:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 10:41:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 10:42:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 10:43:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26305527935729196"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25554575, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArQiyYSczsvy-hFSAbG3Jsw', 'x-fb-trace-id': 'Awu0YlmamZT', 'x-fb-rev': '1015586713', 'x-fb-debug': 'vDZH4rVysl6AVsfkMSY8aWMmEWpkRMoPXhgK+nbWCxQ26qmlmn783rzRRzMBLOcSgjjwI5ToPNZHrFrRaMKzqg==', 'x-fb-server-load': '52', date: 'Mon, 12 Aug 2024 10:45:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJXPvYGJvoV6ifAu9EjcWqBHXCHIIkfJqKzIeFUbDaEtctVwzKcQCfYbN9Q6jB6wKztuugfDPGR3aLQZms"; e_fb_binaryversion="AcJLBZSiSJzIWqPReJK8UX41EAF1JFEVkizt_F0dFEfxli_e7Nn8aXp8J2-jtXRvsz3HsvtiJtkd8x05bFg5MgwBCJiMl51dsvw"; e_fb_httpversion="AcJdq2nac_ncVLOdnAnxyUMkTBNczOquaiq5COF0rXHA5bnTvej8QOdmXfG5"; e_fb_responsebytes="AcKBUuKYabW6XE9vKV6DSq0wLgY05zF_OuFHWrULrUzfwuFWNDk-2rpjOHvb"; e_fb_requesttime="AcIaJ_bqnfLi3-Slf7Ny4TBwQCO4dnP54bcPznbSrwXDa2hYfhdhtJLu0te95Zrcbm7krGJ_SQ"; e_fb_requesthandler="AcJOnCtlg0Kf22zmKH3r9OjYHlBb5FFc-mby1JzFltV5vT5VFaqJQgDJzzb4OYvFDgHfjVYD3xo"; e_fb_hostheader="AcKukGOtpYhlN0CRzQyVphZ3SlLQuxijB__oS_UbVA6Quika0uQkhGzFWG1D7AR1zL3U5I5rszH_x2xM"; e_fb_requestsequencenumber="AcLfC-07Ohuarv72bRv4zxdAvY_3uDws2VLom6QXvP3IjzUDGX_HSxvzTmX9"; e_upip="AcJtKF2Gl5-fnq1YcM228HVTaZeMpEta2JSSgSWAcz_JwtmPfECL17_GW6KOB4vl7di4YQ6yovP0hkbJTYxp9S1RLQM7BSB6JmSJdj8"; e_fb_builduser="AcJU-aw5Wr7R9Uua5I1jvLyy4Sv88QjqE9wghnLJBja4He1vc7PVggqpRJ-rbllzbyc"; e_fb_vipport="AcJuizww-7LQu96YFRXzR9kbta22tgQ_ZDQBQACAsmxReG8Hgw06RJKwHhDX"; e_clientaddr="AcLwOlUnWoYAbQTN9rEUkGLlS6mCDjQ0XGNYmAviOBtzK3LA0ozZ4a_9CPMzqrsa6DX4YNkCDfGeg3c75X1GXjFVeWR2fvZZm0oo06UyxgBBqIIPlA"; e_fb_vipaddr="AcIT2lkrD9ld8Safuu4jvXhvAHvR-0y5IyHuyKdAHwcDkRFx8gYBMez4zL-pgBwcOJfNY9mtwAxQhxdgo6n03YX0EIQwOTMzhA"; e_fb_configversion="AcLAYBvbCXvafe5ZxjmGQISWoyZwKUMbkyklzOyfij5p5vHDjbPY1DCP4lOmag", http_request_error; e_proxy="AcLU6iopFerCIpyOqFj7zGWpKH81VMK7T8iRMS2DBvgQeWA-LWEYoO8gfO1ssCQpnbz2bOlyxk3HD4w"; e_fb_binaryversion="AcLJmUHi6S6ZiMcC1x_j9SJzdu9dcrr6I4W-gzXBxcD57tHXTLZJON_7AVaMC-apSax1s1zV_nb7UoRo68V6paxecHgMd1Z6x5g"; e_fb_httpversion="AcLDbPiieaJOoFjBvgKnPepzjP-YwKQlMN04pEXgb8PYORVzQMU_I0TU7Z8q"; e_fb_responsebytes="AcKDl80hPv4UdDGo0ZW1yYrcbUGZYF_Uvj_NkPGPesZfZUIL_zVOEKe-e89z"; e_fb_requesttime="AcLBM88CF-_Vl44UP9AzNBHk_2Ve1LN7vcdAYnzs9tMWHzDUe-kck95htflO2L3WkFV09rqAGg"; e_fb_requesthandler="AcKpd9N6OpjYJgr-0Qpse5tLUNbbZDYjGEJ-jYUl7jkkwL60Q9wEkBYk7kj7ctquRGSYJ5sCC7M"; e_fb_hostheader="AcJWoo8rcJY6WCF5nhw3FNCDREvY7-9BMCOwnV3OVeZUmKlyIKwPoGCIC8OaMKEfj1R97KGbBKX8Dls5"; e_fb_requestsequencenumber="AcLMCksMDK-Ym_ap1Rk4YSubI6DDNa-UQDbrx19U8Lo4evIrWMQBdsCt3A"; e_upip="AcLHQhcvS2g8hsFR6tKxOm7eNbU4Rt8vyedGp3D2neABrLzzjGsMZtWZh9r6Du9qiJcz_w4EC2fhRMnbMCUcDrHh9pNpcAckvQ"; e_fb_builduser="AcKNW6bCq-bmtzL0LsKG61UmYBC0Siz0PEBO_3D-UIke3F4nd9yJ-OPpEdfcoYiZtds"; e_fb_vipport="AcLfsjFTrQCq9fHyx5prpq-CwDBTqXTS5oruH2faGf-Qzo0uHWqHgfbd3530"; e_clientaddr="AcL67kQWS_mITK_auRtXqklaGigRUaLWdZOetGKr12zm5XceH-M713q0FpcxI7gpEMj4RxZZ4KusYxc5zw"; e_fb_vipaddr="AcL68TPezDRiGy-VJFbMX0Wb-Jqp7_9qiHkt7XDqkB3yOTiBC8L6yizlEeg3Vth6xBu-u9mVnA"; e_fb_configversion="AcJ4jfa1vEn2svjHV2clmarweBSyml7zkFP5ys_dKPl32jdO3nnuCnJItmYEXA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=84, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26305527935729196"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 10:43:12: Error on send one message facebookId => 26305527935729196 08/12/2024 10:43:12: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ARCR_G_Q2V5bhzea_QL13Xk" } } 08/12/2024 10:43:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26305527935729196"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25554739, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4wohZ2HLVJSBiCPNdGbFeX', 'x-fb-trace-id': 'AR7kYXpa02P', 'x-fb-rev': '1015586114', 'x-fb-debug': 'I4UOGo9AHeFZ6uMrDo17dVk3GnJA/+9juEkoYdSKIoeWZ+3kew7ukuxHzMsmVMuSo6QoBdI73vufP/o5fdkXYg==', 'x-fb-server-load': '62', date: 'Mon, 12 Aug 2024 10:45:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKAQEphbjkC438Cbd-HMFtSrK2WTzNFTJm2LdN7QtJ7QhMTF6lk42NHXsyaqhaQdQOvuRoEqhnJJKAjJqJ3"; e_fb_binaryversion="AcJVRldFd1fRMfJmaKSfm4smEqz_eaOXbWjPtAvdlP0bhtTTPisUpbQaeYGcy_AqvIrq1P42LMo0nj58nus6PfMyYO6NhsfPUE8"; e_fb_httpversion="AcJhqBmwqCXUaMVzLzg8ouhyk8sJ50KxjXWtUNr6NTcwUkbEsNXmQSC6XqSp"; e_fb_responsebytes="AcIxOgnm8lIU1VdzXlIkS2_0bgrTnO3Gp-W-ULp75HoBUqbzaEdEId3hPOej"; e_fb_requesttime="AcL9usnRL208N9ui3WePXSH1Bn5j4VpjGF7Q5Jj3dARbmeYFKTFmndIA6M8SecUqgYBQWp5vVw"; e_fb_requesthandler="AcJAqntO3_c1orJtldn8yRuNgKzkBxAqRk27MWqUj2HcxoNXYqEHi2Ji1Ao2MidjVrmmph5gEEw"; e_fb_hostheader="AcKDRNXMoAIo4VRnaBCLBpk652shBlXBN06sf6NLcg2nNpspXOS8o8fTGBqZONnV-J4e3oEOynPBaqLl"; e_fb_requestsequencenumber="AcKkkLFYMSqJv1b5-h1d6qS4afPbfBwUX1S9mGWMW7GqpPA9pDlTtZ_cSXme"; e_upip="AcI8Uw90ZBpiNp9low4ASLMZOUKmY4Ga3wBmXPEkEPj9I5VMJlbyPt4OClRob-fmIBjuQKc8ts5dw9iSIquui_osdxskfFFCQWEMug"; e_fb_builduser="AcL-yxd1XPfv4eHUN4M73pLQPPY_-PbrEGh29oAnZ7s1RU1mOCI2yH2aL1kQRCUhyX0"; e_fb_vipport="AcLivQwcJH0ZqvtlHAwTsYpYP0xnhLmazuO7XuLzFjg3XCdH10eiNdJQLlDy"; e_clientaddr="AcIBU8Mj9B8gKo8_wFYxDS33hba0T19OG4FfngqJgU3uekuIqToBaHTkpAEzPXQHSpN6N6m6uhnVwextL_kBhE4M-jbXP4mwRvk29ilANijABEg9"; e_fb_vipaddr="AcKih2CRQzUoSe_LF6kzyg-n4Uz_p1XSl48XvrWVjQl7tvhNouQqAKdLS3xV2Tlo-XpTNTCrfJWIofh6u7mCK-8Q-bwiGxGlIg"; e_fb_configversion="AcK5E7AQR59evWEYCxy8sNiZLZumqBQnQgxfIuA2Lo6ju7yDpoiHEnVx5lQEWw", http_request_error; e_proxy="AcJxKV72KvA77J5iCOj_HhWHwJjmwZpOqbhl3gfNjlKf7gKslr8B_tINpU5pnncvmg2KwfKwSBvBHGLZ"; e_fb_binaryversion="AcIf-3SZbw6dG9WUah5OnI8nANwZ__w2tSz72IIwKWx1sQdE6ireRZpxsBSPUJU9ih9yrjijqS9n38RKC9rs56GI2ktcg7YDZj0"; e_fb_httpversion="AcISz-wqnmKEOrMoreDoAUvsAJ7e6AAEa4swR1Gy8NqKlLERVIgsV1E5Va6H"; e_fb_responsebytes="AcJe0arTwtJijK-h808FemwfpH6ig09KTeIHDp6QmPzXhoTggd_tl_lZJXcP"; e_fb_requesttime="AcI8I9yVrJuhFSBZitRxE1dnaUUodX4ymmjkI1-O1_TUPGjGhcOmuEG8HdpnzQCZ4hrjJxbszA"; e_fb_requesthandler="AcK350jHhWFf1how5Vab1ZUBaXVKeLx9QCr7tDuawS1cStwIrX9Up6iK2JZELestt1H9eUYM0Ac"; e_fb_hostheader="AcJvyheM6-u19KINT8EdZMIBxWysmVwcUKUzXaRCrfRuaamyxfj5gQqHrifsBrmwNhJOrKbfjXLqe5-g"; e_fb_requestsequencenumber="AcIlppTudhRj4onkEqXEsPPoDWfS9zanhyeHk4d0fDqkT-0IFU4TihjsTA"; e_upip="AcJyPYgs5uDm7VgenQQc_elnksn57Acr2yRiUN792Hsug9WE2q1rXfXvpiwTb_Vm5tYGKSKQR_m5rpWxt4vChjBSr7rj_PsGpQ"; e_fb_builduser="AcLLNwOL9HwkuRy0IbzrlgWg7zcNFWO6CtgaTSDeuCtDbgWyGqomUJtRvhP8x_f__PY"; e_fb_vipport="AcJRPg5GZEyT4kKTCcFWSZGy2VssbVp4e4fswNwgpjJWSYflYQXfKnrBazAZ"; e_clientaddr="AcIJKk_kw9o5z4HATumhSFbdUkV7NlToaFj5zIDH_PjTn1XZwa8V6awVVRqdKk9Zdwe9wI2gn4xcxkIUMA"; e_fb_vipaddr="AcI0ScqZ4_JAIku-weUs_f2ZITReFxh3v_iHm8wm3OJJhOralxGAwvxnJPrPmD6YL3AE3P3wOw"; e_fb_configversion="AcK7SAHDi8hUcQH452r-_qS-GwrHbkQRgRpsMpDmjSMBYgjmGboOd7n4pZHhVw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=79, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26305527935729196"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 10:54:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 10:55:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 10:56:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 10:57:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 11:47:14: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8107063902703935?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25566902, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8107063902703935?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8107063902703935?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8107063902703935?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8107063902703935?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8Cxb-vrYdufhIlq_INBuB7', 'x-fb-trace-id': 'F1WhNqUVKCo', 'x-fb-rev': '1015586713', 'x-fb-debug': 'Exr1uPrnEXT1UxfA88ekla8fI2Ac3f5/ZTgVN5kt5fVGeBVDD0uJUGtmmj5j5JSAmNzv09ix4cxjZt5Oi0rlag==', 'x-fb-server-load': '31', date: 'Mon, 12 Aug 2024 11:49:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJWpdLfuXm5Rq69AIv12ihgEyVolOTSURWz-MqgfKq6km3nboeAwuJr6S5CVb37rhKsj6xDAXrn7sEZiVI"; e_fb_binaryversion="AcIkzTkxwhG3EGQn7PX1G6PRbf7SwuReYvSUkEs5oqyaeh-EFPttae7QYFmU47XMcjFE5OSshrqq3B--hx0pYXyAirsOUHiSPpc"; e_fb_httpversion="AcJf2HYm3cXoyJkRG7mWON3jD5fEpR5dkPlllRSV886tBx9JfjOzrutClRg5"; e_fb_responsebytes="AcIAgqeXTfaER1Not2DfhhC15FUvPK-6jQg6GQD_W7FTygerbyDcX5Gbppb4"; e_fb_requesttime="AcIlposIHmpavs9QN-wgBgT2neADXKKtBsJuC-YCjy5uiydg5wuTU9VFBMBTW2adncShgYdMKA"; e_fb_requesthandler="AcLwaaW15PT3NqlH8rTx65rKkMozUuIt-SsK8yhOwXL6HKyJuXdTzmOuSETqDaTlfLtU6m9V2Rs"; e_fb_hostheader="AcJaoqSeA65p2y5gTaEJ8FgNhMQSc-jU6XJYOhcQRiSSjPq-lQvwaoYhfx5EReoN8AS8oKwtKvwcM0pN"; e_fb_requestsequencenumber="AcLVZsEcxLy6OnunmTVQsgpHnNHgb433EEKVcxTPFHrcnXErRL6uqlvq0h-B"; e_upip="AcKF7wwP-ZRoz9f2Idkk9LXf0AaZwNfRJ_p9lYpzuqW7kZstGFAu-Q0YHlBEwr4m_e16_laysBc_FRq1hqiQm3gO37LxI02Nj-yQIg"; e_fb_builduser="AcITxvbC_odqZZH8TjE9iVeHA8NOiKzbvrMoMJaMTHL62bAU5XIbFwqvOu5LdK5uYTs"; e_fb_vipport="AcJnkUnZTylruevMxkW6p0DrmPqFgDNPzAUvE1-I48ETPzp01TR9eP40rvc7"; e_clientaddr="AcIJ1omocBra77i8mkOrS5wtklI13BHAmg1R484tBujIun5wg1W--sXYM9OpLMRMjtP1VaXAqBSYGOj-Ovy8ZmDK547pYINLAUCaMbBM22Cp9zbKXA"; e_fb_vipaddr="AcICKKZw8CvoU7wPI8wK4dX9eOrtxSP1wUuqRvcAKYRfgDmjEp__33EThTYJSF-dhD0gAjWipeqxsJKb3lFcHBgt45n2gZghsw"; e_fb_configversion="AcLb3ZxJfQUeJhZzpO-N0LvnJHPX2SAZlHKHKhKMFZklq6YRZvvrT8TI-l9PYA", http_request_error; e_fb_configversion="AcLelvROmjfHzAbrsjdJSQ872BS0P2LF9L8w9_5DGfB0PG2BY9LC1vjq042zBQ"; e_clientaddr="AcKVYUigTAB4UOZoT6UUdx6uYzgJZJJSra-SJVbuDxQ63Weqb1m_4UNPgu1r14k3a6NK3VUbNIwqsNxRwQ"; e_fb_vipport="AcKpsa2fvxJGvUdmslAHy0L5UjPzQGm-15bHK1knXEGjpiEELdwt8vOs3Vwu"; e_upip="AcKIEyRyhPFr6DEvnxeqSg1kf_m5loZpuxE0JGy6fTJ40L0E7wXqqUphybnFbISe-iu8g3N9O99hvMnEjm8EDIxAB1VZPITmnA"; e_fb_requestsequencenumber="AcIDFf0W8wdQ5GHneSUGWbLyEg186PdJENgeGYGV5DsAxxmWuOwbusdjJA"; e_fb_hostheader="AcJ364t3WEfod4fy_ScmxiBsGe-OZBa6zwWWh_R0mV4QvxElvIods1HRN6xZMWCqHs4k4j1nNTxuuYGx"; e_fb_vipaddr="AcL1HzFnuz4QUyxYpQhu-goUQwMOWGgHWk8m6lHyZoYWF0rtGe3m7qV1_CgEqxhbh-mvMw"; e_fb_requesthandler="AcJ4ZyfrPyEfRMM3Ge0ZQB1yTfoiElr-2MyamAvWA17uywD92hhvGWGosAD0VkGz-Q2coqEdwQU"; e_fb_requesttime="AcJ4JLcnNNWyGcr6qKtMYdQ5BLpX0PlyF7SFrDDjh21DU1Zc6991mgQ3e-a9K5H6Fdo6OvKa8w"; e_fb_builduser="AcLJK8ImTAxSMcc0f-bF_awZ6xIOz9o3GIFlln0J3kLPtboFLc0y1Ephc1_7P0xlQjw"; e_fb_httpversion="AcJSjgHbhnoJ6hwr9QIx_AI7gDXfTGMoBv1psbt7guhMruij_fNQn8vWe-ad"; e_fb_binaryversion="AcLHjkIHx_JsnlhqPrHwuGIP5ahFh7g-hXP5lqv753CobxlSGUPAKIiLhxO760CwUrOEh83YDh1Ji83_f9tLXH5XK5WCVnZQVYA"; e_proxy="AcIMlq5FHDNYlKVEX-XOyfw28UBvDukULKN4m6tf0fY8wqnXgRZFw80nGedNBA4kjIr6CQ56_KBInZE"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=251, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8107063902703935?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8107063902703935?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8107063902703935?fields=name&access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:47:14: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/12/2024 11:47:14: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/12/2024 11:47:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25567023, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzAl2-0KLzlj_TRqbYoUiad', 'x-fb-trace-id': 'Be2w1swkGvq', 'x-fb-rev': '1015586713', 'x-fb-debug': 'R/mCxMQSzFe5Dh2VLlalRPF6S6yRUw8J+o2fc9Ag7MoJYHy/4ulvH5uvZM7hBPDoy5VEc+VJ4uMqvP4BftEZIw==', 'x-fb-server-load': '34', date: 'Mon, 12 Aug 2024 11:49:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJ3z46_amBYN14EHIepdiorY8QF7aBU1mlSdpwJCqqb4H2OMNzbNsd8YXP2VuQLdbELASVkA7UEc4VXJ0o"; e_fb_binaryversion="AcKNikIXBh-peWc5zS1WVhS_eDhQr504Gdp5Lankcn9WJ2VmKUib1GdyiBJHtsvCQk_4819C3LvSTsEWua7oGPJ4WpDgHplkiSo"; e_fb_httpversion="AcJ9kWAyQH5j-RqlMGhkHWsxMHF29GHI9obFeTVQ_ug1IYRP29b72rKjEA0Y"; e_fb_responsebytes="AcIu6HytSHj5P4fF37obFcBACEhYcEKT0sAWLDNZQBdaPFs6aCV8P5xhvZvU"; e_fb_requesttime="AcJOM5N-Htyk0kOVbwwmjyoy2sEePhJeZ0Yo7lJXF3qjJnGoEVstib0Z1v9xk5xUNZq1JdwPtw"; e_fb_requesthandler="AcL4g34O_nrMJCmUSfMEvHNTZ2-Kpckwkq3Pehy-7QHD9kpABEGKqYsbseBa_p2awpPqSQscR58"; e_fb_hostheader="AcJVqdXyGZ7b2Q9UABKtWitHMYKwlJ41iYh6uVfaCn9J29nrH5PavTrV8ycBhO3Z9CxES1kN56gCFsP3"; e_fb_requestsequencenumber="AcLrULw6dFB4Wu8x3LxIMLx-yfAO7L_315-fOuoCdeElgqXtXMYJ78mcECJR"; e_upip="AcKVzK9cfnHeq5s2mExBv1J2B9ySh0ToPr27ow3GEx6Bb8YcBcXlULun0pKvJXpZjEX8B0v4kbB8DnPMyhFP7pZKO_5nW3OGiJ1Vu2Q"; e_fb_builduser="AcLtrqm4ubG0kX5HC6DQvqUE1vhc0z-i8wP7ZxM57oDvwcxQuAkvbe4qMgXKsHs_gWU"; e_fb_vipport="AcIp1UeUOqiz2NyGVbbF_XxEy6ZbcHK49ag9qRdrQ6h5QoNeO-FZeD4Ny1Ep"; e_clientaddr="AcL_joIGyeGL-waudXy7LEoXgrQv7oMtMPkfFyP91gD2orv2BOs8rhAjJ1NMpCbq5gWej_ZQxFuIze1guTWxktE8CvS9r_bjK9E4HypEFbeFoNVJvA"; e_fb_vipaddr="AcIHtS8AJxfBiM8PXPsUbxS6Sn4aGM-ukdKVp37Wku6E8shSlYq45PcZ9PjEWids5AW3j1guEUj2t8PYEQD2pf3tP0qmQczeXA"; e_fb_configversion="AcJrRxV_xVRNLPT16XECVOvCJSE4dlUjBMszo_dYPfenq3SlKyCvJv9Wzd_aQA", http_request_error; e_fb_configversion="AcKhVQQy_RZm0alhM1aIDDbs9jQGQhaBVo5pf9_XaInycBR8hK2RYp62Vr3-Eg"; e_clientaddr="AcLtWhMHSrwMn_z_S5SZh2nm0zpZg_7biBScwDFEwYR8Cybv9z81a56VsppPrwvpQaGj8oiya1amAoNqTw"; e_fb_vipport="AcK8SyHd-8MwEhXew1EpmkpajlW7Ymh9c-IbmGUrdhZkoExoVdRb_rSwf9w2"; e_upip="AcLUtC_YEja2IcI2sKN47sR2JRjTSpWbuwjszk8ohKY64rJMe7rsiRb_McCVlusaHu8x8d-t1KrgCaM0L73bCKhRbJh_IMwAbA"; e_fb_requestsequencenumber="AcJMNoERbaq8hujOAEmeNwkxbE5SVgxkhpQKEGvNJvkvdaXr5BkzWck_Dw"; e_fb_hostheader="AcLWLMXWqOqZfUrIkCu4y5tzCXX_vAsv6YR_MaCypSA-yS1B1VTAeSb4M-5q_7C2yEbMjleZEqoAR_nC"; e_fb_vipaddr="AcIDdnD0pQltT9jME1OjPCd5s7zvQO6dKiaY9YcMVEt8Yquwl5fw_vg7I5Rd7ZGynIb9TA"; e_fb_requesthandler="AcKTZGaUCbRr-qPfSnicongnfFKgfKRB86KtrehuQpIeT22Mqq1XKN5xjOIeKD5jcp7AaP7wTj4"; e_fb_requesttime="AcLK0Dv3hzV1b0LDE0doUsIgO87_8hJWzSex0_Z9WwehAauJCtrU2uUrYBSoMwj14rmUUts-4w"; e_fb_builduser="AcJUp1gPL1n30hLcjQkvPk-s4vajyoxwk3zen85zedaI1zERp2NORkvhsjtgpnTp_oM"; e_fb_httpversion="AcKiphKO6LJG3eM7HpFNUNlVk-u7qmLHriN1vRR_VSi1XsVU70h_Z_1R2Y4n"; e_fb_binaryversion="AcL3B_R2-l8-jmZnqdpai7osGW8r_s9RCBEf9MFzSGVwdB4e_6QK6PTWWCw5FfX0QqE7-I4T9Bh3UOgGq4f78w4FpJAKC0qZ8aw"; e_proxy="AcIT5VDcggOSpWoG_Oy-PUCm4sP_zwG-LXAukLTXa9JYpap4tU3xeMNdDPTU7EwRT8KTgf_UV67q9Ao"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=148, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:47:16: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:47:16: Error on send one message facebookId => 8107063902703935 08/12/2024 11:47:16: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A6M3nCBErJrDdrszvbpcg7q" } } 08/12/2024 11:47:18: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:47:19: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25567109, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyE0Ur96_f8yj8oVYKkXFkM', 'x-fb-trace-id': 'E6g6mNBjODL', 'x-fb-rev': '1015586713', 'x-fb-debug': 'bW7YUrvtB060xzCQady2exlAoJAci++1be15NyoT09LKO0dt490ohBDDBa4MQlfkceg93sDs3f0p1cv4RCS4/w==', 'x-fb-server-load': '34', date: 'Mon, 12 Aug 2024 11:49:09 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKWnLungay27Mwv8NjyABIh5rNQ9La0DJNlP6zME9dHfUdbG6nsfBueTMXLSIvVAjmEAtV_SXr3uB7ORVaq"; e_fb_binaryversion="AcI9R2Q6FUdM4QxI98f8sH2HHHkLUSu50YlFhTJnQiEcyGQ2aBlazwsVOV63GoySLhLlqjPcOIuFSTFo9b8VrEqshq3tTBsZyxM"; e_fb_httpversion="AcKN2pSUOOnTZr8oYYoZcYpJrkAB-_vHieSITkvRxcJuX8-1Bx8HFNnrW4tT"; e_fb_responsebytes="AcLLpi0D6WgrAjSxkAQJwiilnpp-XerJFiqfrtezip8YjilcOJ_dIqe4fFsm"; e_fb_requesttime="AcI6DBUseTUuGsKHq-1jAplgriN6TTY4i-A0uNbvJX0D_dEQTMcQ6e0D4qUki4HSBCCqO3Q87g"; e_fb_requesthandler="AcKGL3MJvJU9HdnGamhib2mb7pVdcVnO2Qsk4RPA3Wh4tnONFAb40ys38-QzFHFU89_PddQo0SI"; e_fb_hostheader="AcLhdjA1hCtg133Q5W0uHxsuDlV-xDD9KEdplhlYTLLTWdK-EAwfVZ9y9Vvl-m_-g87ztUKUrEvztKrF"; e_fb_requestsequencenumber="AcLyOk5jovYvrabWjbME3Kwye7y6ZFtMrfmUu5dM0UEshbLEPcOP7mEzD7E"; e_upip="AcJjuACVzOmJQEzqf_gW47DhtMr_4urtMYl_3ZXp6cnNPpfCoaos8T-aU0yBVsCYG80SCC6r-pOos6Du-ZtLhHrpmk1_Tpu1Lez8jHQ"; e_fb_builduser="AcItu_-vObXku7EkAKqAm2wJ_Va-D2L-63MZKekZqL3Cw4YoQ1MGPPF0lOLfjtM-naM"; e_fb_vipport="AcJGmdKAGm0Pl48LF3ATt1s2__0pZbHVCCxoEpz7D7ku97X3MNBN1H9oQsG3"; e_clientaddr="AcIr0Y9RDkssx84wIzNntAljcEv9Y4J5Fhz1W1CaX5stxEN64AgaapuBj7RTdV3xnaZoGraJSDUZY-K_PAn6nxNPJ6JRDd8ZSY8rl8biubT69mgZ"; e_fb_vipaddr="AcLIc1Qij9PvhY6eofe-CamvP0-pYi3qBuFs0Mnjky1T3yo4P289q3Y2o8cOjskG45IXNcZTL4bqSL91LnRedkpGU4nQs09YBQ"; e_fb_configversion="AcJy2ACqvwunDsvE14yQqFOt-cVUWfE1P7n9CIdYiQfIsQDV_O5fYF_mCJ5tyA", http_request_error; e_fb_configversion="AcLi0BRKtEwyPmW9lkVPANkVT0XugkqsqYV8rJCeF5ps8j8nv3y6rjRS0_7TxA"; e_clientaddr="AcKwknjl4E1KeT1lq0fb7_Y_Hd5AEcN1SPqTnsRty-Friv8bZEB06Wp6StYU9nbxDj382H54DMALwCrXEw"; e_fb_vipport="AcLzi6a-ePXH48O8rOPf11q14N1QVRQKGqnOGZii2LIfNngxZBKraRhTzhh1"; e_upip="AcIrvq4nHZ8vrpxweAnN--LoXOcSQb2lMdm8F0VV9jGOqM66Ui2LBBZRLvr6l2hnT42uVIcCIRwoNN96Br9Xg3-jVUedrKTt3A"; e_fb_requestsequencenumber="AcJipyuJpjU4D24epY_jsi2b7_lcD7FrBaeBEH7GyFGi8tr2oMaAn6IaeQ"; e_fb_hostheader="AcKOg1bS4tOLe5seIAHfVrhj4kp30vK4Sk0iPgpzSkgPbSvY185xFumZm4oE5RaN_bghPrWhLxJmN8y2"; e_fb_vipaddr="AcL1WrApReXJTM--wk2yT1G6jPi8cWKqUuX2PYt4CnrvhE7F6FjT9skAarXmNThLd0NKlg"; e_fb_requesthandler="AcJonbSFR2Ip42ZnuD2osK3ytxD0d1iqd9xNqtD81apih7yC59X5VchMc3A7AMx2-bfCqLY_vUw"; e_fb_requesttime="AcK_DRifXotDkSeLoDuPKfrDW114bEjHOTxfpOEF-8r5G7C9iY-hNZpLUWJHMJ-460REvewmVg"; e_fb_builduser="AcK1SYkWzT-vb7ythbswFLqbdNKot2MwbFBFm2RJkAyBaZ4NlVBFjAl0mIyeZPC_P0g"; e_fb_httpversion="AcJT6U-Pw-xljyYeL-YLlT4ktCIKmEHP9nXoVgmdM4t4r6KdEDY3fOuZgnX7"; e_fb_binaryversion="AcI4R_PRCEpD-K92dcFwQ8DKtglFHmpuPAV3XDdyK3MczpYNd3w9WPOQBFJZ53TGs8s7rmcRuMxR4PiXdJF-xcuZjiHv47Ru3hE"; e_proxy="AcK-uZm63-u1CHBG4uCwIeTztJQduiqwSa9WOU7FUtGOR3S9WRS-W89oRhLuy-Yv3Olcrt5mRSa8gOs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=147, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:47:19: Error on send one message facebookId => 8107063902703935 08/12/2024 11:47:19: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AdOe3JcK-4sFJvLi4sWnubp" } } 08/12/2024 11:47:21: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:47:21: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/12/2024 11:47:21: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25567260, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8I7YvT8E0taJWF1LQCGc4L', 'x-fb-trace-id': 'G5MZH303t27', 'x-fb-rev': '1015586713', 'x-fb-debug': 'rbhnav8RcH3l3bMEeG6VrIjSupztvrL9LuA2QBc5McJnfJ+ivqDvYg5+4Fi9Mf9JGGi8UvsiKF2v7OaeGCjexA==', 'x-fb-server-load': '36', date: 'Mon, 12 Aug 2024 11:49:11 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcLrFKeQ3CBHE0HzwNPKW7d8jWp_bfqSGAJ6qH2JLGvHYmEKnyHtZOdO6z7rC1zwweah5VYABPc4eQ3TuDgH"; e_fb_binaryversion="AcKwOvL7IwH0VyKdK_aCOM0hgQ5wTiUpdXS6ZxrfJf54g2AU77RQMwvfhXkqWaUOfab_KcyEWo4VfAgjJGBw2P6kNIyhEcswY10"; e_fb_httpversion="AcLrxAf56irDLW1mSRueCLOZ81nFI4gBILuyCFl9wLavBT-hsY4Bh8PkrQhA"; e_fb_responsebytes="AcIwzgZRdkepMcY4J9hZZyknYJtDhD1qLpO6082bq8JueM7G0y8CdcOK4h0p"; e_fb_requesttime="AcLfnyMzIT8IVNZYsQGLm1rCCH9JWeu_HqjnazIG1oFlbP6eHLPiS9orE6FvSBiLOHw3jW3O0g"; e_fb_requesthandler="AcKV1_UD-mcxHrjUvpJb0hDim9H-JHGENeepw0soR4PfbfAjRtVFOpIm0mV2CH-pl_R7Is3EkkM"; e_fb_hostheader="AcLVC8KYRIv60CtsV0lFg77THGOZN3Ec5NJnj8Qeq2c3vJ24sfzR65O3bUpHvKZr9Ey0cy1heMv_tw9d"; e_fb_requestsequencenumber="AcJ7G5tZPaONz-bkhr53xPadhkW4wnJjuLRPYL4Ng0WIdcCBT-xNeEKptZ7x"; e_upip="AcJK99f-TJvld47NiDHIzeLxdOURo0P4ws9BYDoa2yKI_Qq9ioh8AT_l_lL0y3g5fWTtGQpeSFGtapaioue9T_BTKcIg1qsBMmzz3w"; e_fb_builduser="AcKcIfEtShsRdWrRQ19Y_ml6jhY-R1ykayidfvRROmocqDk-0z3bhHDliLTlGmxr_Mk"; e_fb_vipport="AcLfbV_ZmC237N0KrpSsdTCbCyYqB13gWOYIhwIHX161gquBZr3P8a-yjg5P"; e_clientaddr="AcKfQnp9guW1_V4jOLzqpZH99frLtiswx1O2sUhiSP9RVbbfX1zHKwL-T3nlnbHoc087em2ixz4aDhuFz7Mip0tirGEkXTI1Rq2Wxtz17937A8v7cw"; e_fb_vipaddr="AcJIqCOkGFs9lIXByPnIwsu7OJIPS7KpVJXLwdOfxPck-tpHAknZ8_vIAFnRSMNrzjtlDAN209ajDo_4SsH1_M6tUWbW2mcGOg"; e_fb_configversion="AcLvXlcB9BMGZaXTEOS6-CAGa_NmmOOxnnZdvEzt1Kyv6Kz1peqMgrIoG3s4HQ", http_request_error; e_fb_configversion="AcLZCqTeTHdhisNMn_oz5Ee5kajeJbmsn_kLDu596EZaMBTemknGnYA_32lexw"; e_clientaddr="AcLHg7qsVqE04ms5fNbuRDwXvc2r1NDkxLoYD8xbOCum0DoMxrRW3capGfl-6466iKnZIb9YTDUW49kkGw"; e_fb_vipport="AcI7VYkWWIh6Kpahncg7T266QxbkK_rWs9zlzaDtR3l1HE2Xyr6Ae4OjGq9r"; e_upip="AcKobkl8_upEez-J44KJJwZjMQ9hT93AA2lonBWvXfeGJ9V87gNjNIRm4RDxEa9X8hTmQqXAz16MEjvaw2qUZN4_a0pRjiHjrw"; e_fb_requestsequencenumber="AcKBbSRaJ-yQTyBVLI4qnj7Z8ojLiPdSMsQTXxrj1chWb8X0atxmMIcgUw"; e_fb_hostheader="AcLKJyoeGmDC2I45yEjT1tJbKc9JZj3RXAZNOZc_BxTjS89oCg1tgQEbqrJT2GbA2OmQ7BDeorq5nTUX"; e_fb_vipaddr="AcLFdGBKkMhMvmCVnv0SADidulFCw6UVvbtVjQUypM2DVCbeK0pU9pYxZrsIr8ivhLz8XA"; e_fb_requesthandler="AcIiTUiczatDr6Uvmq-Trrwc7C_hN_KoxCRsEEDjwuRQ9nKqIFi3IXOBWQdUZpj9oUSpUuZZ2rk"; e_fb_requesttime="AcLp1Zs5yVZD9r-2egzBckFvpGeZKk_X1fbl536p6gwutCADOPRxW8YuiJpgZ9E1ZyMRFoaK9Q"; e_fb_builduser="AcJ0wC6dF2lfucB8w_2fA1EoSeE6oSvGDkvYTIWK5dpRkuc3_JKOglMSpqvdK1tfukE"; e_fb_httpversion="AcIWkeJKzVMun7Qeeg94Pprw4gVtLI7x9d2xB2TW3n0JxzTSDVLExRv5Doqr"; e_fb_binaryversion="AcI4KBLPbV_SalgfRUoBgTeJwPGI-_HERWtGUAyF01ew3grzHdCX2d2U_v86pBJLZfEseyUCU1mrWLli_vruMaptSM_lH29KTI0"; e_proxy="AcIUmJmToqGxqyUBEQNd6_qzZMozi-tm8qEYa4DRuMQOZAnIcG75SqoaiolOPxnS_ZGOQZez6xFzghY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:47:28: Error on send one message facebookId => 8107063902703935 08/12/2024 11:47:28: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AKqnMgHtNfxp1PgSsVAVtFN" } } 08/12/2024 11:47:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:88:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:47:28: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:47:28: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/12/2024 11:49:00: Error on send one message facebookId => 8107063902703935 08/12/2024 11:49:00: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A1bw25Cxa7OWhM2yM7RUr5_" } } 08/12/2024 11:49:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:88:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:00: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:00: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/12/2024 11:49:07: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25568189, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ApuVGARSyPKpRUhU6CCPJFH', 'x-fb-trace-id': 'ErmWGOkSMCW', 'x-fb-rev': '1015586713', 'x-fb-debug': 'RHN+OBNDZcfP93ljyOoABg4nOmPbQV/S9+pPnGA9aK+Jjz8nYmlz1MqGcgnrVvMr6jIlty09mLPAVMTcuuWRdw==', 'x-fb-server-load': '28', date: 'Mon, 12 Aug 2024 11:50:57 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJla580HPsVtIbAsr5Cfnj0cq3hgtZdbzImZFVyNf3oG7MyV7bebYFckD4syx2Pqq94cp54s08-NChKmbXU"; e_fb_binaryversion="AcKRM7HROqi9egYdbQTR8quHDKp_iZMRw78WBp5AQQE9ZBERurjWMK9uS4N9Z_a2DgZQklwODZ3lBDX6L4H--1Yn3vY3WD-24s8"; e_fb_httpversion="AcL6eLQjGkcauyS7tbza_4QjkdXGhOL1n4-qm5wzdLwxoXhq-J8q-RZ1IOfZ"; e_fb_responsebytes="AcLHIPzx205fcPHiogaK1ilRmfEYSvBCD6v_ZGVBOetY_qPDy2a1IUa4tZEh"; e_fb_requesttime="AcK--dETiksmuC6esg8MsY2-SmEvEyjnwTtDy_zwkFvOBVaBbd0-KM_2E7VbReSVSpspGdkiag"; e_fb_requesthandler="AcKs8isRekqnVtyw7kid2XcHASFgRLWrJS4FQ9TxyreGUW5LsZKsBvKdlrOkWAmR25PLMrKagS8"; e_fb_hostheader="AcJ100L7TX31ZHYzBxKg_p_EaRGn2ZM-FCsf-EIgwcVNw4GSppT5DHO6g7XMOqcMkLXxZBk1b3WcYpR8"; e_fb_requestsequencenumber="AcLKlstu0-NjeHoPIold5w2WSgr9YZxByGAFxq9ZNn0_bb9mJ0VZey8EeQQ"; e_upip="AcICjX-7zRMlIM3vRMCwLcwrG69TFuvPWWOhMOBipSGqT6-9ejOwK3T3V0Iq0QnDZdrcgH9glwVIYWxMJvQQSB5oO0jmaG0hLxjDqWU"; e_fb_builduser="AcJ7Xo_g-Nja6GIjRNRogC0KyfUlg_AssN-xmeSOJfr5gob6cbaUCSMReyPezgHh-vU"; e_fb_vipport="AcLwQ_R05eUE87SBwpx5Rh3tDUzjbPCzRVf0clCDQu2biLj1SXeeV8NYgUBL"; e_clientaddr="AcKxynGXTzNFRJw3TwuzQ4MsYPZ9qiiQn0dXKpjRS3EMJLJ_T8PBYqDOMMBxYcJ3wYoOkEO5zkXCJNA5wW1_Kkgk3-lQM6nQmoGeJaUiX_z2TSfecg"; e_fb_vipaddr="AcKMrzv6K48iKQJlMh2-gmUg-J23uEmV3Ur_0TxE9k7CwWLYNDnkJCdIw1YcZzWV-N1pevMshLsunRmenGGcDLEXaWpkWLvlXw"; e_fb_configversion="AcK783tHVv_bKuwPvwesp9H52VxAJndgt2ZXkT-_UFwQTKVI_inHtZlA9wytCQ", http_request_error; e_fb_configversion="AcIjQc6nCsRXyhzWrEChRmx5qB1rBbd_MA3YKbx7nVp2kgJ3pZwOiTIJK0nd4w"; e_clientaddr="AcKUlrkHAy50WkJVgVml2IW6b3eowkxvde3jJb-qTDCwQe8G-g3TzQR4qyBJv8Hn3SbMWCq4teJlFadwxQ"; e_fb_vipport="AcLIIztw_W8x1_vxCyNjSvj_Lk4f7MCOxDLeP7xW6IxUAsAEdcBVXNXDDlnK"; e_upip="AcI7DPgUTmNTPvfXDS-qXu8_OzD6j1kGEhBaijTwrKa_8xs_oqTS2xJRV8RuLEFkeFhXGHONwtB9DkTHoNaRTD5oHmxkYAQ46g"; e_fb_requestsequencenumber="AcLoxD06hBNjk5rTKLh5RMw4KsDaFSY4k4ayD9tLYVupZ_kqv4VGDY6JUw"; e_fb_hostheader="AcIA3x5NK6jVEk0P3TVbzQn-jNAKPwG6z4v_7Nqy2M4d4Xa58Kpj1V0huv2-kKz1Vwx-oc21Q_1vz4gQ"; e_fb_vipaddr="AcKwO8wu3pa369iGuVDFHONkZf297dJ0by72Coe-dIB5PuKt7nplT92JeAnSVTvX0ohYEg"; e_fb_requesthandler="AcLoNPrW0cmygiPFVMU_n22kchZiam7KkTxkiENmTmdc3a-1Q2j05Sicy7cFEEU5GuH6kGv_yNI"; e_fb_requesttime="AcJjd1GaewufbEMfRYkVp4lm9evLWUqhJ7nACVljKO1PQRv-z0DSk9LhCboBumlNa1e03zjNQg"; e_fb_builduser="AcLbg7FUsitD2Ru_8BeI0ER2wRyb-2pJiAiqBPyOtTmgquoGhK2UWf4BbzpUqYwqSJ4"; e_fb_httpversion="AcLoP-30hOWE51PtlRZyUVub92VJtmSyX2GNwm7MWvfLqiTar3QKugiSF2Xj"; e_fb_binaryversion="AcJjA2sqCoa7gOhTh1qk96qqg9vgmsbVCi9B4io-6ruoUVv3iTievz-2RyiVhJ7gsScBjc1pksH0sZ1ZQApCMVJZuuYimxMLrKM"; e_proxy="AcLYuvqFHAZ3_ULJcOg_grTYzJhpfWshmOTYf4QpscVX5Ew6uEdrQytmcKuOOvvQb7UHlYrXpe2LlCg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=148, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:49:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:10: Error on send one message facebookId => 8107063902703935 08/12/2024 11:49:10: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A4zem5tmVXCxSKXFAHs8_8L" } } 08/12/2024 11:49:12: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25568274, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ANg17yroUvvmXApI9uV5x_k', 'x-fb-trace-id': 'D3Y2Dp4FxoC', 'x-fb-rev': '1015586713', 'x-fb-debug': 'YWhusjDrVe4ljCdFllf7G4v4v77BoykbE5y9JYfttsBGe+PuulpKF/ALre0xbwC8vjjFD+gHeuWIve8eWM7B2w==', 'x-fb-server-load': '44', date: 'Mon, 12 Aug 2024 11:51:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcLQiT_nI-gJkNCYe8rM_coW3j3WBvpmGGsM-CpeGTypcQDDqZLVfnQQXIwR9gGjlLknYZDXlJQT5cKMHus"; e_fb_binaryversion="AcLgZ14c89PNq8GfF7pPT2c3YEQTv7JexDR5FQjbjaFvCJfRrpLv4RCp6AsLMH9j2hFus3Ot4Sv-bxm3oKymLxjGhNZsdFaz9A0"; e_fb_httpversion="AcILWa-lIU7jNFb49UMwEQxNdYTP_v9qa1EZwlJjT6AfasOg2sgLih5RBXNo"; e_fb_responsebytes="AcJp96PFol5MLS4gufhzWRN20bWRbrVxcbCTVY3lmHF_pGQQvjRXeqDGJiEg"; e_fb_requesttime="AcKvyXPCU2PWYED6KPHMoR08lLTNnfI7L0zWqTkt7pzgjDXZI3L-gIYOcWDyfRYEad1voraqZA"; e_fb_requesthandler="AcLjer4svbYKv-g3otknihTMvfl3MLRuSwZ32m6ub5tXCdqXykzAFSOjLUO9j-UIZtgDcffB52s"; e_fb_hostheader="AcIHg5htFloVPRJBO2tBhxmNoj3SnkFAMl_V6_ZTN6p-a39twbM5Wg_sOudskiGFbeXS-ZEtpEpKcWyW"; e_fb_requestsequencenumber="AcI_tH1hPZHDSMgyjSIKytfbnQuv-46BMxqXwQP5UzWs815rTrFMcUln8B1nVQ"; e_upip="AcI6hIuZDO1fUFBA5n3KcgmZSVLELV6oCQ0nteS1Ce7DHCXsD8Se-ArnuYrLmGRY7h7uBKYuvu7qaEXSeSOCb9VR-H7CqCCQnLY4xrI"; e_fb_builduser="AcI7bYr3tAScr5yy-NnXBSuYY_uawDL9XVmKFZlh0tHubg0tmSABUxOdWI7msVEDl5U"; e_fb_vipport="AcJuevNgwhU4i5QRHIyqKx-N-tloXJ8Tr1pLz3sn3Y2nRJuVVTxNIrEdQZtE"; e_clientaddr="AcLlO4Wc4-yNKp7OvD2Eeg-DgGmlBlK2DvEKCvgQjGdSq_KL344ahC9VhbPMjruqv7US5FBRQ7SHFXG17OqbdInm-LlZe_BewqqkhsFYVJh5rzMySg"; e_fb_vipaddr="AcIgvX2JOnzEHdSEkiDM3JSf7bp_e0Lg_pxUQc2XDpH6rh5eMvWcF1FQPaucoUboNKMqNhst-gBLY8OGSKnCWq71UOqrSFCHuQ"; e_fb_configversion="AcJcG1FRshjvAY_KDsNodPfbbyskUDLpxG8W7dLE3fEF1AqQYx4TvOnfIkh80w", http_request_error; e_fb_configversion="AcLgXoGBu__kfrIz7ifWpV8Q0HFI83dIhu4LuKEUGzLapTfJrkzetrXWsURBHg"; e_clientaddr="AcKJFoJv0W7mILTKVJYfJd0YsO-CdqoUlf7ImFT70lQnYqPXXjJkTdndeI3Ew8_WsyrOKlLDoQTkIUZ7Kw"; e_fb_vipport="AcLx0eT2VQf4yGnTf1khEmjyA-oVtiDheQFMN9UzYNJGCyE_y1r3CHEn1jRM"; e_upip="AcLUldLUMZa1Ze4T-0oosVQj2ygPzaEgYtj9M09QD5BzjI7zvyoiapRlhy6cvcXQfH2netHPequS7tTpNkCShf_RqUrRth4aGQ"; e_fb_requestsequencenumber="AcIBiOVYwv3Sq3RUh8sLShU4BH66rSPFl1ZJ-St3FGJHjDFkQeVRFVFh0g"; e_fb_hostheader="AcKBmIyUF7jllmYkr3ckMb-RK0SF38vu_q_N1o7ewpFS8rp6zdtK-rCVWylMERdUSJ57_PF8pKOUY072"; e_fb_vipaddr="AcLEXkNlW4heEGp-nF4Ciq0nBYjNGjlwm7MJT5UDAge2AjlUp9BWLonhwzqvYGxKD_hfkA"; e_fb_requesthandler="AcKZWiOALsUqvAKyotwcQH5A06TojpnbodUHbwVCob_Gyn7UuV4cRI1ale4hSsqkf8sYWAZwH6Y"; e_fb_requesttime="AcLiUQQyC__0HVIgZ-j1xDJkCFEZKWXlt6DNnJC7-kYNmxe7WbzdWa5l07mM8UXBRWaOSmLLBw"; e_fb_builduser="AcIZMl0MSL-pt5_tPkFWF1Ivsxhpn91E8jwccoZbIAjj0boBiNgF3oIuJTaTif6M3fw"; e_fb_httpversion="AcLmixRjCeVi9Gg_kaBWDV9TwnVcPxHChkJFcVFBWikJJVpqt76A8RhBXU3y"; e_fb_binaryversion="AcL4RD4HsMhr9eQmWTO8E0dBssz7QoNE6krgLcin49hvffyxe5VKG-S6NyVjn1KuDMxNUVB-T4Gg-in0z6zTXMqfUttQ9viNcPs"; e_proxy="AcJ8xQOUCS9S6IEC9spTi7I6vGbKApDZduDGqiQJU9F0Wunzx9bPsVEtKyW2rT1_lEdDOPICf5PlBDY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:49:12: Error on send one message facebookId => 8107063902703935 08/12/2024 11:49:12: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A-3IyisKZy0385Bes497UVK" } } 08/12/2024 11:49:14: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:14: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/12/2024 11:49:14: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25568436, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWAs_kRpDk9gppUW6VMMCP3', 'x-fb-trace-id': 'EqrrpzaxVC+', 'x-fb-rev': '1015586713', 'x-fb-debug': '87iszw4ah7MhqNxNlkKFEqmLFATLOI727EWrMdOSk4bPbEydbf/ap7H3E/TIpuGnLLDb1tD7m1byVNyT9Vlvmg==', 'x-fb-server-load': '29', date: 'Mon, 12 Aug 2024 11:51:04 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKgaP8cV4NQ7-C18UYAM65mE-DfpFqgUG6DvXhRyjplnU18stXF4vFLzQ5zsku2IS2u47l1R7cXqsxxyol_"; e_fb_binaryversion="AcIRWQGBJkpMR8-mAP81MpVpuIlOWjH6g8N_XKQ8fWGUzSdqWQiaqlem5g5wFz8qquQpZ8J7olmZ-wKOqUFz5FxfvJG43-LcLy8"; e_fb_httpversion="AcJSThLtbEPAMkuEE35SamH45nHrEteGQqo55l2DzvQGl6A6U2j0HiF5VL-0"; e_fb_responsebytes="AcI0sZPCpi8meviwPUiJ2SqW10HkbJHtc3mpBv_hr6c1u7FluSZB6rMzrFie"; e_fb_requesttime="AcIgmotGJAw1sBvgnfUe1ka5HrqNEjTHoE7mvPqB-pH07tgOgWpc-RgXKQYKxzeIhLaD-HGHfQ"; e_fb_requesthandler="AcJ_Gxe9gf-PyQjSiB283-uwmpdbdTJ-hVHD1EY9CL-RxJ7vqOFM0K8yFsjwnItTP-qk5xLdzNY"; e_fb_hostheader="AcKLJOSTukWx8QtWwC_k4W4A0L3ZVBUf2EIUcLywStfEUcwuMQQBlpE1L1BVC-jCm3NGBtWZKs4Pol_Z"; e_fb_requestsequencenumber="AcJWGl7LuwYy4oBVnbZEipFVFSaLuMV4ht3mv3DjfJ5x4ZdblTFS-LFbaz60"; e_upip="AcLR-0bPRAldzXcnWtuYHovQE7tYUxNSuMrP1kND-38-SvQQYbATKWaymcgXI4F06Ybr7xTSs41TWJ2mkoNvsieOYgE4k49wWKZnTXc"; e_fb_builduser="AcKNMJh_rJCGfGK2rhz3MdePimBjqc2JTNysGC-DDRWgE_M4goGMvll2ARUQwvYFyPM"; e_fb_vipport="AcK7ROFUkOEGua1iGH52cqpoG8ciPF7czewvfQwl7AAhGgXVa9T7YclR1azY"; e_clientaddr="AcLNTk_6ih3Ax2W_ClOjrwh6tMM0zdGaikBlHTbuoJoyq7SX_eN7aNXPqoPOXF39A2aC8dsHI8CuKR1qHG7_tk7nvQOgP90qj9P2anP9hQa7nJt2"; e_fb_vipaddr="AcLtEKAQpDW1kjKrmmyPf4M8QJKS32vOLbyrSl4ZaUMPhDwfgF48hziLeTwKNx4N5_lCi7Qs48V2rYweZEshJ9NJc1pt6-hzZw"; e_fb_configversion="AcI_lkTwh50F7QRwxvmvUfmB1_I3FfqHGYMPFe9gFPX0nbpxNwmndkRXEE673A", http_request_error; e_fb_configversion="AcKSSCKDO9cHIrxY9Zv9D7F6S2AiwAElFEa1K-zmj9E2bsyJ1BwC3nuDoIb4Kw"; e_clientaddr="AcLLGICm5R5JuXZre1AICjANBWNG8qp6ZG7XKsgTT8tSDfFJqTLaZ1F5kE9gtq22TQPu-9r_yY-XoHZUiQ"; e_fb_vipport="AcJzslS27b-gihYwx4VjdNzNxa4O-AEgqncVE19QDt_DPNJCVKish9Gq-Okb"; e_upip="AcIxhuaEf5PtQdMcFvabJKUhBi2-4rlE-zUaJM3YSOG13h-V8ND5JDAJVO8JUC5XzX_vpeEyYzCAHgkgXNj0dlSaizWJSDwI1w"; e_fb_requestsequencenumber="AcIKqIlCexSDH38xsnqJdOo2laNf-xCVLO6EmhrpoTj6_T2BEUUitG5PxQ"; e_fb_hostheader="AcJ5JcpNNj9cu_ILwGIqayMz1SGTZU4NUwZnT9FEEeX35Uj2gcX5o0kXh8bOUzqFGXLmOWDLa3cYi3WR"; e_fb_vipaddr="AcKLW1eaj-3qUq3NKdJTIid8Try8uYpjXioYliM_nSRyelW4H0oTAhXC1ai7V9Vzksxl0g"; e_fb_requesthandler="AcJ_1ONsu9tm-C20Q1oUuCC-NwTczG8EfyIknoh-7gTef7GNg9jAA9U0s9fAxNsA2P265av_vAw"; e_fb_requesttime="AcJNXvr7ZCKqKvWiyD9q0hdlsZ8YFW-Cf_y7oWDTJQUlzBuFQWGax4wl9EBOoIgxix7dGH6QjA"; e_fb_builduser="AcJcXLx4TLD0mvmkO6H3_9rIOtgC6pHIrJJl2d4FLOxsQaVj1z3Lzwmw692OtCCFlRw"; e_fb_httpversion="AcIsbU3MQjs6_5ydSy6cIIczEOvLdP941pLpg6ACUgHf14oLTWj5tFaAL4M0"; e_fb_binaryversion="AcLVycCMxoNVPcaUpneG5wB-Vn858jPzlHgDJmfWn-Z5Q6E-0yyeo9MgJKmm07hBZxqxnrZ2uOuAx5TSsTN3PsRH_941dQLZo9o"; e_proxy="AcKvQG2zE4HCAGwsI8R5sZHGFQn7y8b8Et4ymtD-HeUuU1dkJPeya05_JWCShIbKKFp6Z6PciJ23k4Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=153, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:49:33: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:33: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25568726, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4CeZIqWiisnKpKp6O8_ooi', 'x-fb-trace-id': 'Ex+5V/Et5IQ', 'x-fb-rev': '1015586713', 'x-fb-debug': 'Bwkvt8oKKmlzfsfilh6gEydJBKp02/Rkrb5GxRU9ZeUvUQU05hFLkIiNWw7s7DLvm6tggDAKM0doz2NBYAd5Mw==', 'x-fb-server-load': '27', date: 'Mon, 12 Aug 2024 11:51:23 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIP_bs2rK7jiokgBZol9uKmb7G9GIDzxIPmYdN5_yTXcMXnOEvCet5sVefruaUQnSg_UaMSPkWVVzqf9qE"; e_fb_binaryversion="AcK9dSk9aGhza0pYJCEmfzgAIT5aKzEeM02j3kiBTLYoYmUIfhHJZeoH1Kpry92VznH9wGUjudBS2X7XZWhPtdiQwoWz37bW7B4"; e_fb_httpversion="AcJWTt4aKSSRLZKb-azE3XeRQI7VUIDKHL7HtSXYWD_5Tdzf6eBqL031zAOE"; e_fb_responsebytes="AcKl6v_BgZVfXsiECGo5kOFBlMc5PqttO_vHzdQ0-QVB4JCAOY4akYBjaZpv"; e_fb_requesttime="AcKJFTHdFtSl2OohInCOoI72UbJB3AutPZ1cnm7w1B4-1x22Y9vGC3CbZmDORq9ExArieGpcKg"; e_fb_requesthandler="AcIz0-dZ4wx1fh_gZPk1gI12rc-FGf9fQS7sScgzKzDi7hacqFmGOzXOBRvbPl6dup8Pbly-leI"; e_fb_hostheader="AcLZNwbaIzXNDFb_w8nowUktTL9Pgsg0KedvVTfY5zqeXuf6HBsljTTIfbS2Gfcs9jIU5WnXJjEFZ9cl"; e_fb_requestsequencenumber="AcJNb6iFwa4TqLfoJDGBBbyQYvNNcXD5a91VRS7hqIS1Z5QN59xDhM4V_XTvZw"; e_upip="AcJKwHvkYD5NxEn2rOHgX7d0t8AetDLekH0iM-5DrdTz7nY5EvNcYHk5u72f2ljTn35TR_YXswJQjJsx1x8jyHaVLMGC4DlEompce8A"; e_fb_builduser="AcLyGp46ObaU3UHPuon7-yhWuBvbNtkzDUp-oritaiMiwWTdePHSKldIjPYHB3STmeo"; e_fb_vipport="AcKSW_HgNTOU7nJFXaM70JJh80WZuqneKVh0pr88ugCnuSSXwdRhSU4L46ZS"; e_clientaddr="AcJ-H1w_xlaEG9IMwd5SubekUcy26BPKcshIQwY5QKJAuNU1VYb9qp9YllGKYFEvdODnXsfd-N3hmxoA_G5rB4_5nmZNbQT0iIigZhyO_WAEMBn50Q"; e_fb_vipaddr="AcLJEgrFTkObpCMVjr21PwDY2WjuG7WZpWurL-7xtxfUpGMb7tCYvnc-nYSUGtctHmBtNqkOMxO-EEFlw2VDB7fyxlgiq1yknA"; e_fb_configversion="AcLH7U4fRsTOP7zxv51-qD2JzTgkB4Ww8NcdlsxYiDVX4VF6Se7lCUXIk6InPA", http_request_error; e_fb_configversion="AcLZnXDx9eqy67WTTl25ncjZd4BZCHgvpqlUr0s4uxGhviMjAmaI027RQrDamW7QaswFVn--VZTAIWMgTDrkfXQV-nRx2G9fAho"; e_clientaddr="AcJCIYgcKFM1QU_Z6rgYAWMS7RhJmLxnYbzOrYVcRKbFi4yKeO76Hy0vuOSpcVNJQzW7IvkKXn3GYAloZw"; e_fb_vipport="AcLOny3ASo92YgRmLihG-j0kFw2s_6QIqx-sXofJ47F1b3vXKVNnBCZyoLRc"; e_upip="AcKNcJg3f2yulBKT_XlRtEZxh40tA_n8Lus3IxWYF11h1QCSpF1bhy03ziYD_2tIg-OMGGpTNubrJMlizoPDQWOeSMmKN5D6cg"; e_fb_requestsequencenumber="AcJFpGqu8Z7b63cM5dAgAxTsmiX8ITbgbeAVELTuxFiZB3lB7stPTG9u3g"; e_fb_hostheader="AcKO1TdJTZ-8elXr5fykbw2S5tsZSeGtiaCwZcdSRPsfNdCFVIIA_txBbulYwwGuiVSdGSENKxxszoUM"; e_fb_vipaddr="AcINeUsUO7G7h7jpTePRvPyt58RzMIiTQQd6TH8YoCbDVVPZddSgtDvhR_7F_sKemWL_vA"; e_fb_requesthandler="AcIhzOlcP0fpNuBYBqI4SZJm4oDyjAnZFNB7_FiEnXTKgzJP4fMUSARIa5dDjatLB9w84sO7Wuk"; e_fb_requesttime="AcKWlbNUPMDa7du1pWh-QD9deuA5lxX0CrU_stzEoZNC288U_SA9pW7qyV0eW5exQv4wZ6budA"; e_fb_builduser="AcIUsj84CmQ8Vq7AAp1BSxI8qFb6g5ShhAH2Fl6U_dMlTFZcBlVYaZhOZX4GpIM0QtE"; e_fb_httpversion="AcIav5E5NH3zOKPpa2oMiK5-7qNJiPbysUnLjZQc8q_QiJYX-3IrUZCSZ9Ca"; e_fb_binaryversion="AcIrlfZ0Wj2LmeduT-KAkKG4oY_3y9a3CPQEDeWG5inVLgleTSfitdNjv1pjW84IgfiqsKBB36sZ_YGdjrN-Wp9yZgn6U9ABwWA"; e_proxy="AcI0H16uPpgFufdOxVsRkp5TZHo0vwHm5SDPMm9DJUxkGKSq4kb3xli3-TpuO-Cs13uQ8MZfFX-eTn4"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=164, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:49:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:35: Error on send one message facebookId => 8107063902703935 08/12/2024 11:49:35: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AM3eseG3TMbTdT7h9p9LX8_" } } 08/12/2024 11:49:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25568806, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ALLQV-f5328rs3XGkl0ckQu', 'x-fb-trace-id': 'EqsB4NLujd3', 'x-fb-rev': '1015586713', 'x-fb-debug': 'je33Tlwgme/dQIxoXKSiZeLkTn8pTfROoUA+/4ORJVy3dopADQsYIqg69T0Pw3s7cWP4owApvmnCO6iK5XiL9A==', 'x-fb-server-load': '42', date: 'Mon, 12 Aug 2024 11:51:27 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIXed5-9bD6CAQmxOQAh9kjux9V4ZWzINohhO8EXMhwfU8xaddks4INvENjBw6N_xtOqqhqo9yKsSvUQOc"; e_fb_binaryversion="AcJWwlRQzH4w17PexmQCFVazQJxog_ZJT3_nw2bHmXhYfqWbpqKNspqQuv_lxhiUVeDxLoyJ7v_a4d5MpvGRWeiwpOIYXE9wPmo"; e_fb_httpversion="AcKTOqTzAGl0ByLu0I5qH_2S7C0AjATwXxG8a-GAycxaVq9nuxUj5qMiV9Rd"; e_fb_responsebytes="AcI4CXYBMJjwfmRnjNNKsqtrjGMcybqUXm944R7w6YBXGXcx2pzytWtPfwxY"; e_fb_requesttime="AcJM-ewA5MYOkwon1hbTSGp4T0oM5okoj_ffwLs7_OnXjRYq8P-9RTRqo99oLfTgtJNDna4CgA"; e_fb_requesthandler="AcJ87MlMADIr8RbDJ__Tv7gmIx_lvPeFORghzaTPIdPZppKVx-SfJGtgTRU5NcidN1JdykRu_n4"; e_fb_hostheader="AcIvYC6pf26nRPx2qdOjLA3oF1U0V3O-Zj6NatcbA4henA8L4XMgXYhhktpMAT2C66q6PhxPY8GPHgOO"; e_fb_requestsequencenumber="AcJSBX8SHT6byiExEw-imHJlukFtCdgeYCnRfwj1IDGAl2Br68qTbMb4A9Ax"; e_upip="AcIS2rYLjUm2nZSvaoCtHT4w1RRC_qk-I5XJSGoMCglwIeb2RN4LZPq-zCOmJufRBvtR99LnD5Oc8-kFYR_ADAX9jALsLFUStbW3oV0"; e_fb_builduser="AcInOUNhr5VZU79CT1L7CIQjjfsKZewYutFqgAQZBMsHYd2w88f83QBErNz29L8yX6c"; e_fb_vipport="AcLRVC2RjoeYloAwA4-tAvEJHy5bhn5K22eschhvt4JdHSnBx1T3LXDatKoa"; e_clientaddr="AcIZ_5WMOO1yoOP6yJg0WzTMzOolakWeHZb0w2IWtF1PFb5GkOwF-5PvNt0Ra0hBzw_meNwpap5QktQkV2DoAkmGWl2htRSy3mxUd_Ax2vGE-2tJiQ"; e_fb_vipaddr="AcKtKz2yv0Lg4PPSP-nuRS4o-3JcxZkXWTlpdkCAN645RK_5LK6ThUTFGl4k31hhGOzxOByk0F8buzvmIC-qp2MWP5yhtKfrnA"; e_fb_configversion="AcLcZkkdgSD_b5JVo_ODMQLmAu88IGkbx1d5twgANklapZ4w1p9g00r6YRI9jA", http_request_error; e_fb_configversion="AcJmvGNeKFHWizpIL95Q5j57203NyqotwoF_2Clv2exU9bFyjJT-3wMYwLrJ8Q"; e_clientaddr="AcIhxkTS7GR1tJA_YKA2UcrCZ09UbL_KLRTvb260KULv2mfGeuypo1JffBXfQWIMOR1kylymntM-xGRzPQ"; e_fb_vipport="AcJzlbJqYsGO9Rzu63YWQMRTP2Udp4KpQkCpkYv_q7yfjbF3pyjKzMY23l84"; e_upip="AcJEuWTnlb-g2Tp7asszeS_pDXxVRBV3hnodP_LNLGXfGqOg1W00YQu_HHXScTOyntXuE_xkwhBYPy-IEpU8FqF-oicIlsWOVQ"; e_fb_requestsequencenumber="AcI0tpddkR4NaYyz4YIQc9wyz7Bp6IFX4o-X_W4DxhmeRE9JstcNM3w21w"; e_fb_hostheader="AcIsF7WTZ3q9Xi7NmrnSaCjw4PtHkybGpP_8YIGwZMJbHD4deekiyMUtFoTP2C2_OubMnKwphErHwteh"; e_fb_vipaddr="AcLuWf7HPVrbN5O-FW7KVcHR9Oay5d31uVh0pjx63CnePDoB8bTPdl9yAEFaua-s_2o21g"; e_fb_requesthandler="AcKy9QGgR9mxdiokivpxI_-NK30gXi_wdbJKt02pAlUHZXLPCORuRvDBXTlxUtqSZHGkAuP2BZc"; e_fb_requesttime="AcIg7Wessh-8ty1hc1pxHSw2ANXhQaYuwtDiH5HvhnCWUUiAb3Et1QsMiT5bG0NWNUrUg4Q8jA"; e_fb_builduser="AcLywaN48KjotDkpzxtkA7ROXVctm0f2Wbz6TBp4ce26RzgBTkDED_6dLiUeGAP1goM"; e_fb_httpversion="AcKGctrhT6Hx28lh63k9HGmMdelPA7WjHrDNA17mX9LPlwETkU9F0xcgj2xB"; e_fb_binaryversion="AcKy0vanhV3KT2Xv7TtiQxRYUpZYrgQTZUuBufXkLqSxiYtAmUyg6iaMOmgcXa4UqEmw5S8zGnXxGHnXHa-oSORtlNMshEkUvNQ"; e_proxy="AcJ2igCY8bV4PPm0YhFTvdjY8-3XZNCVjT2s2GtS11lt4tDmL5pPibOdtO7DzvPRqpAi9yIey382qNM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=149, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:49:37: Error on send one message facebookId => 8107063902703935 08/12/2024 11:49:37: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A2Sy2LbJI1E3_-WAwyhk-i_" } } 08/12/2024 11:49:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:40: Error on send one message facebookId => 8107063902703935 08/12/2024 11:49:40: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AYeKBWjwUJknGlgw8Pb88kT" } } 08/12/2024 11:49:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/12/2024 11:49:40: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25568977, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArSsXpfQXHJE4jdMpksGaD4', 'x-fb-trace-id': 'FjefDGfiNod', 'x-fb-rev': '1015586713', 'x-fb-debug': 'SXQKLDWSIdgH58bfJPMucImpumliYOXfCzoLphRJRIkVBcT06eteC/3WIAtZOzwKwbZfJO4b+xDTwVubwYpb8Q==', 'x-fb-server-load': '33', date: 'Mon, 12 Aug 2024 11:51:30 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcItDiUOcL0xG0AyXLFMOSoU_QYS6_OBMcD53hPS5RLn-gHSWLUhL6Atka6qczjjI7HTpR0tgrvhY0gR77QX"; e_fb_binaryversion="AcLDOBetG64BsZTzi_LlmBLeCUXJlYWWNdlqRUIPr49IM7Jsr1rAhfrmU-ZJVy9sz3cac9fI3aDvT1ROGsS2k9q1qjI9QzXSAfI"; e_fb_httpversion="AcL7KYF4VZxY9Ad86jiXLTahaoqf5vm2pzSJgvGwGj7RAk2BMTxzDV6PjZZm"; e_fb_responsebytes="AcKO5ZVoEN3WmvCPZD3yDKmBD9j4XW6jmtJ0A0-50srkmderFmjFaJXWyh_V"; e_fb_requesttime="AcJlrrsJZ9tnqTbZjmwrPJ6EO05f8gyWVM5NP6Ri_fSCyhl6gDd5c15vs190HzQmZ1yfrAp9sg"; e_fb_requesthandler="AcLWCphingkR9pHaGflb1zOKKRD8CCoQVf-j2zkvICFzzNYg23ZjQru1D_UMrM31wl5uAICTShI"; e_fb_hostheader="AcLoealnVgcFFuJ3eUB7XF176KqZaz2faGNKgXAkpHitQ0h0ZOyIPbwNY156X8Y0VtDFECFCJJqKUXPp"; e_fb_requestsequencenumber="AcInKr54bWriLvXRTVf2ZsaXeJ5PLMXgX23TmjUa3xLKBvlwjsli6x5JkN8v"; e_upip="AcIxfMBoKpWlDmwLzl3VNwNO0ng25eYwGTQ1Icq_nU5-wzseDhNBjETpTOpRNczG7sWDByillhk_cPm9FdbhstnZovbrEjsygCBoWVo"; e_fb_builduser="AcL2eyJLBMXrlobPZIdNv7VH0woKZHz8nMiI-wOoKjYgLaKqp16C3aQU3WPnCg4yUDs"; e_fb_vipport="AcI5RU5Ei0wOfiOcN5TyeO8wfiThXIBfEArJwhCa43ZZ1Oy_7YHmq3egiBII"; e_clientaddr="AcKJxfku36i0c1jf4sL6iR28vmOQuIpijQzByuARQQ2ER4hSHM0TleuWnS3UTE_TE9yzbI7tHXgMQKNLlVP1eNmVwcUYjFis0JjD-TrwtAHcGYMpIA"; e_fb_vipaddr="AcIEHCj_LRbW_aUdTML-bNOFR3AhksVb0NEN8DYzhJUOw8358JhS58WxmqJbe8WYWCFrzTOztHYixVFCybWBDR9U8KSZjj8SRg"; e_fb_configversion="AcKTv2TkhwNdWhvSY5DC5VjesbuKYUfG_rT3h1Se8C7IapTkyuRQjewDj5nu1Q", http_request_error; e_fb_configversion="AcKrETOSFX4oLEvb7OGR975xu9DVvu2AeG-lDbrrfRsei2GaUpFNF1lz1dBXkw"; e_clientaddr="AcJ2ldwXkahioMKoM9bUWlpO9-h6KTkithFb7sP5yYH4DJ6Xg1zinu0-bm5FZ1QmbnjAtOVxeF0Iy2TS4A"; e_fb_vipport="AcLedSAwrYFUXXWzvvBn-Q-kZm_UwR2aoHVBKsvQCNoTQz5fJmLI2mP_4eKy"; e_upip="AcI_nv9Q7VyZEp5sDRzn1BBfrb25ShmQnunVBC3jB3wDCBBogobojxDTXMOFBaChsgcGRIMMRbtbMo9-kEUpij-pRfgxe4jShg"; e_fb_requestsequencenumber="AcLK83LHJeirMoHrzLLgOx4nief2mS7NH50AJ0j6Bi5amp0O2ZfuaMka_Q"; e_fb_hostheader="AcI_JRhlU-rdo-7TeAZSNrJnN49rk0YrglFHAhvBEYqjc9iT9UCMB0eBPJg0zCOehNYRE5UESBPwU4wR"; e_fb_vipaddr="AcJQN_cWpjHZ9FPdCrGfbGfccWAgw0JkAlVQMlsjhWaMl416qCrsOnBh-7Zb1ATAaTqmPg"; e_fb_requesthandler="AcLy8j2dyCa8p7VyNgygTJuDsyCqnomtlhsnmzKZUGxviKWfToPRpZuT1V_rD9WYYxA8ibUBeCA"; e_fb_requesttime="AcKnUrTvLBj1nzaHVAJqWRhGLP8Fkjkkqq6WpJ6ef9KmmLxklSd9rLQa7Yn464neA7z3DxCpvA"; e_fb_builduser="AcIQTjxOuO1Tei8KAOQHzVpQEOL6qgV-dqUxpWVLpsZLozjYr_9_IB9HPj0wqveu33E"; e_fb_httpversion="AcJiwQGRiCUekBf4tRz1SXHFeGvDOCj4qwrTpXeqygFlkPyvSFtpE8eYKVw5"; e_fb_binaryversion="AcLz797TMH0tJV7EiR4Yt-evLyJUKUTm1m0P4lPMGrfxzqK48cNsYxZx6vS1gZPGG850T5k-e6HTtN8yQm51gBz3aVeImkFl2wk"; e_proxy="AcLiqBNJ7UDlH7KCia0A5PTeItoBtEesJPzuOrkrQVhmwuS_Y1yT3Et00q1vpkS0vcGXO93raRsaeDY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', data: '{"recipient":{"id":"8107063902703935"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBABZAFAZAwHjTPE9IG3xoRgrh2Xt21LZAVTllXtzZCbC8F9Djrl12PdId8erIWMA7YIt7OXIzoX6EoBCLfZC7zwuXnpQ8lZASjNwJOl6jTyOrypYx5UaKn1xBCyYAEGZCcgLtZAiZAurKXyFIOlq2StjlKMiGRjLltQ6NsGnjIBUdNZAye85ZCRUnZAkLfxtE3coHZCgZDZD', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 11:49:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:150:13) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:44: Error on send one message facebookId => 8107063902703935 08/12/2024 11:49:44: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AFVgNOUPI-UR7dI-py56c3-" } } 08/12/2024 11:49:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:88:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:44: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:97:11) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66b9f642ff349866cd512aab | [object Object] | 08/12/2024 11:49:44: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/12/2024 13:24:09: Request bot not found: { id: '863113247096430' } 08/12/2024 13:25:18: Request bot not found: { id: '863113247096430' } 08/12/2024 13:37:18: Marker: 0 | ID: 66ba100eff349866cd512b10 | Error: cant_get_message 08/12/2024 13:44:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 13:45:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 13:46:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 13:47:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:12:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:13:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:14:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:15:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:17:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:18:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:19:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:20:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:44:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:45:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:46:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:47:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 14:58:00: Marker: 0 | ID: 66ba22f8ff349866cd512bcf | Error: cant_get_message 08/12/2024 15:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:09:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:10:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:11:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:12:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:13:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:14:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:15:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:17:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:18:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:19:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:19:36: Request bot not found: { id: '133788230054854' } 08/12/2024 15:20:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:21:41: Request bot not found: { id: '133788230054854' } 08/12/2024 15:21:55: Request bot not found: { id: '133788230054854' } 08/12/2024 15:22:07: Request bot not found: { id: '133788230054854' } 08/12/2024 15:22:43: Request bot not found: { id: '133788230054854' } 08/12/2024 15:23:06: Request bot not found: { id: '133788230054854' } 08/12/2024 15:23:23: Request bot not found: { id: '133788230054854' } 08/12/2024 15:25:55: Request bot not found: { id: '133788230054854' } 08/12/2024 15:31:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:32:08: Request bot not found: { id: '133788230054854' } 08/12/2024 15:32:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:33:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:34:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:54:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:55:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:56:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 15:57:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:09:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:10:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:11:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:31:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:32:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:33:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:34:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:54:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:55:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:56:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 16:57:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 17:07:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 17:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 17:09:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 17:10:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 17:41:47: Error on controller payload Input Treatment=> type not found 08/12/2024 17:48:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 17:49:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 17:50:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 17:51:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 18:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 18:09:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 18:10:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 18:11:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 19:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 19:09:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 19:10:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 19:11:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 19:34:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 19:35:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 19:36:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 19:37:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:21:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:22:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:23:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:24:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:29:53: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/12/2024 20:32:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:33:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:34:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:34:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:35:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:35:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:36:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:36:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26719947830936997"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25692630, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8pW2ANdrGzW2TIKcxsGmh0', 'x-fb-trace-id': 'FbMCshjaTTy', 'x-fb-rev': '1015602493', 'x-fb-debug': 'WkDsatpOrC+A33xQKUx2XdpLeSJEstfAjCj4o2eiX81pn3PZFSsXcoU2cxHL54IFTYn+HDwleWEpfF88pIhulA==', 'x-fb-server-load': '24', date: 'Mon, 12 Aug 2024 20:38:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKn0u8ju_qfDMUcse2FRcGwJvNeJ-s8VOPg_0AEtp3ZgXBY6MzGovqGdXTFSiSxZ_yuDwKqeCV_ZvesDM8p"; e_fb_binaryversion="AcKgWNsS5XjnJL5woLbWBR1PGs_Cu7hrU7YqrqDex5IUuo4sxqeVdn74QBWcb1Ms8XeyqOQ7Wzlq_j9vlulMQEsPqfw2X25Jdps"; e_fb_httpversion="AcL5P8z8b-Rlqx0dg56pXDvex9viCnbLSgP8HApe3bUg5fXO1V95qLyycOWn"; e_fb_responsebytes="AcL_d2ezuAoIXK99RU1ypUmgOx8aalsdXr824jCUTzuZ0vH7SADJmtR5Kexd"; e_fb_requesttime="AcIrCqm7L43wq60rutar40aR-U6-p5KfN7HhgBYGjZuVMGd1pNRqQSUe7h4pP2NfqDGE8esI5Q"; e_fb_requesthandler="AcLVWdM3xAwbzx13Cihp5T4mfMQZav9rbCdPGv84MeMRI5W_XnimHgMNUQ8uk1D3ey7I1dXzhUU"; e_fb_hostheader="AcKgmI16AuKZ8AAtCkNJ7GRkkB5KRJ5kuLVGsYPdWSvgGCFdcvR2esXEEho6Pt0uafmrrVGtGOIe7hrL"; e_fb_requestsequencenumber="AcKaMru7AEd2pdWoDOD3ertqqgGEb9uN_c_5h5OXSt84JTNH-HHarge5MlOX"; e_upip="AcJgQvQ4FN_6Gxax5IwF2aIcqigQOwESUTmEYLd2SzMnj8-uh5ScZ-36xMlnto0QWSGi0Zxlvw8MRDfOE1_TmUiGtM4C0iQ9qLd5l5o"; e_fb_builduser="AcInm3lC7Mjc_OidjROP99QggunliaPa7RsZHxcp9Xbo711KMuxDtUHiFb6RUi4a36U"; e_fb_vipport="AcIFNLm-te5RwnrbfgwGe2wvq12fEtmZMWXftc4WJy2YiGx5MTVhJtYUgApd"; e_clientaddr="AcKExhwbaNeMyTnI1kIV4E3ikKcvP-Eix3zqIIm0V-OvuMvXac6964deVMiJYr3TmsykE9YjiM0HLlSWdMaokCcCnwwXsN8ICKnnGdMzDLuZAFMwUQ"; e_fb_vipaddr="AcJBui4rqP219LpsM8IxSLLwY5ObuInADF5AfP6vTQblLkQg3kHqTu5ktPkNhutix6OQuECvEZEdIeX-aYtsQW_Il04Pc8Wb"; e_fb_configversion="AcL56VPAZbVFM41EWctRsYXr0kIgt518Unl8BabfzTTsrgilGuAMTq1YLrLP3w", http_request_error; e_proxy="AcIR7xWCvRQWyx-XfANY9f2becsggUNfDG3PZRbj7jOSznMULAdnnOZwAbL0ngsqOyVpDoawUT3eDqs"; e_fb_binaryversion="AcJXABicIX5zP09iLOTb09C2C1UF78x-XHeefjVZcj4_CxEEsvlylJ7q5lxK4-LpT5mCYLmSy9eKFYovYL8lpUpo_A80twQChc0"; e_fb_httpversion="AcJt1jV4xLcNuYrgU5utHs-weZ3-20U5OlenoMAvl4eFWDMLmQrFGJD0DwHR"; e_fb_responsebytes="AcJiwWcTuqtq04kTOsJ_noV29WheuLj7wqCzyGCxwcHCwR9s3aaG1OuxbkR3"; e_fb_requesttime="AcICnwYg4Y8blDxIBw9Pz4N2NW5R5Eg66Plp7UNOsgpybLXZWkKc59zx1IDg8-GVVSL3XaJXSA"; e_fb_requesthandler="AcJHJH6YdVSIYOBZ30-Gn5LYRBgwmtZcRAKam4z3XkkbxLmmIVBBjTToenThpDNPnrx_59p9Nyk"; e_fb_hostheader="AcKYQVRSuUOBnBV9hvIALwFjGQ4FMg3obEClh5Sq_DBOgcXcQMMueUZnjlSdFLdptSRBFz4Yl5778QSR"; e_fb_requestsequencenumber="AcIHIIZHnu-fBW27DLVussXpYR_gmFtNi1H1j41-AXHJdI-Ss5rOgEuZnA"; e_upip="AcKaB6ajlVVx8__v3V8EdB2KyIlFz3qCXBrQVeIdL1vr7foQYWlSqlUZiN7sei5B86XOewEi-mfhkD9LQD3RJWuNgsDseSpl"; e_fb_builduser="AcJGIVaMrygiK2TWImRG29C7NnIbgOSKwq6yysA2kpYATzrzcizhHrWyCrghG4tMoS4"; e_fb_vipport="AcImAwrOet2DJoLPVJTUEfYBdwOGxcQr5E6GaGrfY9m3XCEiXJaiEZ0M3tGz"; e_clientaddr="AcLBfgdfcHj9t4U686A0XsyLo6_uhafCcvPQjgJhqmOeh9BxkfEvSQaKD-m2Wt7IH5qYDbDVaiE9UQgfCA"; e_fb_vipaddr="AcKaCVytGACwC4rn8xC5_oE7peRZ20D-goFKDS1fjvufXdikcfEvxC_XWXIdAw5E_UX0zw"; e_fb_configversion="AcKgEPDgg-vvv2qgpDFQvJ6C64eHHhhn-O1Zn4Hk4v783c7HkJqL8-rcQiiM9Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=215, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26719947830936997"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 20:36:10: Error on send one message facebookId => 26719947830936997 08/12/2024 20:36:10: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A-fSdxQPvQeExcGNQZ2ORO8" } } 08/12/2024 20:36:10: Error on send one message facebookId => 26719947830936997 08/12/2024 20:36:10: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AWnw72rJhhMNbhAx_EO9-K0" } } 08/12/2024 20:36:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:36:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26719947830936997"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25692847, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AleQ2CJ0qVpZvK3NBHW_uvz', 'x-fb-trace-id': 'AvuRJPW/8hd', 'x-fb-rev': '1015598229', 'x-fb-debug': 'ya5L0BrSf0djZk4p5CaH69MBg88FjsrRb1r3vmFZQpmrx4P66xKFoUPo5tXhJexgUjvU6SjCIHVO2EZyE1KW9w==', 'x-fb-server-load': '22', date: 'Mon, 12 Aug 2024 20:38:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIIzWsAXvwzMrKCRDxq20fJ2fXOiTCvPkykA_DCMbJVMr5jte3MVisPvk7VhdF3zwImkLs123z0bCLCWsMV"; e_fb_binaryversion="AcJ8tgRhGF_tHB6x81YC3pXtMOePPXXTaVh8c_mUAY0mH7gGt64GtHspkmRJz7_tl4x2MspT26k1W3lt-wNEvYqYb99vJNIgo04"; e_fb_httpversion="AcLyVxbSVbsoRj-M2ma13QdYFr7pkLwZaC_GLk2FrHOMLK5Jk-vJxc6lZiYv"; e_fb_responsebytes="AcJMEcEhB9AS7zFDP3BaE3S8IZuR4oE0x8_Sd2dyYU4eN6DusnurzgvU0Ntn"; e_fb_requesttime="AcLIJj8OXsdEefA3SqlJnkVdwb_6ge2P-FWbe_a_yrTJfdfb-WyAPSwCIGoI3CukRxD-p7nsmQ"; e_fb_requesthandler="AcIuVKXmTat00umxmNilI5SJUKxss1U9Be9K6__fVVPBe7bdFx9tR6ckbN42t3Q5pGixuWOwB_Q"; e_fb_hostheader="AcJs44tsIk0AZotmvRWNtF8b2Q_IIzSIHJCHw0_BHU7qK4Db2sNyYakIMqbxGXgdt_LhFkopW0BvsiCC"; e_fb_requestsequencenumber="AcIZT7L4apM9UTp1wpV9fPzY_Q72kpJgDO3wvgDK44JnIGQxo5Us928vEGQ"; e_upip="AcL-QH1sb5J9nmHhGWfqVHhTLwOvoOqeixGL_LS56yFv8Mn0St4CDmCuIkD04rvD_z9NJSA7FAhuxSNXwqx1gctYoLnpnla5OaJOtD0"; e_fb_builduser="AcJpZBllZhIDHerAMcqPYROcU6v089FYpdFHq95WHc8Dij5RoSAE8isjOf3c76U0zps"; e_fb_vipport="AcKkNj0VIFP_3nkLVycHc5TwxC8kqTPq6mNArdX5RVpSM_ycMa0wn7nYVwjR"; e_clientaddr="AcK_Cc4jb-79aGSh0R-lfwStEPB_nfFBpsKsjFJzch3e2-5x2Lt9LB5NzDLfbcF6ajac7vTbo11BIb6uQdnh2T39TLiq0mat5_4Y0nGyRhmrTUqY"; e_fb_vipaddr="AcJelxcSko_frKTIbbLt7SrxO94G88CdOUv7bg5oLSR-8Dp9e_Ob64wq_4Lchba2EdmeNCGEHE_I8dVSeRfHCexf-gJ4GYDl"; e_fb_configversion="AcI0pjFF9soTLA3GrXO5v6Brzjb-U5oy7_ARPNuJZCTI7MwaFNdu5IlxWY8aKQ", http_request_error; e_proxy="AcJQu-RkXoY-f72jMccWPN3kN9zJ2-0sxhLDhgJrHkJm6Wb7JA08BJn0jKOB0rxlFRae0giHbvw1UgY"; e_fb_binaryversion="AcJ0i6d6nN9Q6ABn8_WH3Jbwbo7TY33mh19uGM2HYUyPAkOZbMdfud4qgrEbNwXkf7UyEqoRyg-Qp-sdQ1WuCXoaXftdvsh6Zzs"; e_fb_httpversion="AcJ3W8rIIS_eSM8YA6DpiDa0DGm_0enS9wYlgdYyLcIULqUX_4Fdpf87e0ls"; e_fb_responsebytes="AcJIilXEyPoGEeVltTlvrNS1-aGVuXutULyiUbvqMAzldENJi84WdQabzvko"; e_fb_requesttime="AcJUdjasSfhpGPdZQFc-pWxFHiytIkPluW8Yx8wnhLFQtD5w__13AKVD2LXYyEztEyn-H0MPpQ"; e_fb_requesthandler="AcJKOoz0VA9IJWT2DSkKkyH7VcdPoy_LyjaVYwsORpxRIdP1hSpsfaDBusu89Zk01kP9LMI12wY"; e_fb_hostheader="AcLjLbH_LDcUkX9WKlI31pqJzbFnIFq5S5FDrGrzmzfukVt5zrhnUDEOw4MxMyGv-4EJQarqQ_0JctLx"; e_fb_requestsequencenumber="AcJF8I4yENxW20eyKpaM5gn0ub7HhBuYtLkg5IBBox8mZ0yoeRJLkub4cg"; e_upip="AcLk8cxVYEUNhDthTR4FhJDc_hD6PbaeJUTZP3VU32b7efx9cEBCXsStY4vXjUR-ELmZMxXRKx3watEGD-ACIzCbQ0RF9fkz"; e_fb_builduser="AcKWBBUJbLQLAzUAXF_YPZ3C9mtI8-lZffer1vfJviY-lEVYptZyzUOCJCu26KFO0yc"; e_fb_vipport="AcJJY8hAJ9HCoX5WqYfhnX1et0k-fGkC2loekuyfE6pFzqT0k1Jh2kVOYUQ1"; e_clientaddr="AcLX71LqzAI4OJrHAwoKcaEZ3TYKLOWFOOeu_o7w7hkvNxYetpV_hUDBC_2RG-s7XeMmIAacrI2vgKJN_w"; e_fb_vipaddr="AcI3JzMuuPIGVI65-HgoYzzyEkV_Hn_Qb3WFHUXiwbtMy8NK0kwENlhTWZIvmzihosXJtQ"; e_fb_configversion="AcJw25XyJvzkUh6QnIktzaKQpia4KBMbbP-KBEczSw0_d2tH9fHQcXb_gcMLpg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=217, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26719947830936997"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 20:37:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:37:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:38:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 20:39:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 21:32:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 21:33:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 21:34:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 21:35:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 21:36:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26719947830936997"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25704120, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AvneyHSXRMpCYBD6TEdJhoW', 'x-fb-trace-id': 'FKWYl1KkseC', 'x-fb-rev': '1015602493', 'x-fb-debug': 'P0lNUHS7lyKrb4/FSYPCX/h5tHYiMS7XCXhGwjpNSkBR3Le1nu9ZwqGE6F5tKle8Ji+rn//AD9dSuO7RZ6JTrg==', 'x-fb-server-load': '29', date: 'Mon, 12 Aug 2024 21:38:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLfS2_FmLm8iYjr1EaFHYxP0gbk8x1vw17pzlppX93MEE8haynitBDefAsZrhZeiuwnXgdQr5T-mCyjyrLB"; e_fb_binaryversion="AcJ1phuNHWLUJAuBHtTR7BIe1vd2goxJLzYlfQsdhZ7EOWa13nJm-vz3yIgpKGUmXbd4RAUVpV5RKjiy3Wr20qx9zkN1TQFWz3M"; e_fb_httpversion="AcJMFhEnC_wzcBxuUfb0Kdd3WCU9UlTF4UyiqCpt_5Vh4HnsxLj-VyawBOuU"; e_fb_responsebytes="AcJKz_D57KeyA0t9Xb7E-d7iE9gXroYea-bU_h85XtIAKg-gVRxytUIbyWvc"; e_fb_requesttime="AcKDkfe0TA6WBxKCe-2tGmZkofSuNLwDkubMAeGpzATd4BZJmV9X7fBw0msQigZYh_t-gpjAQA"; e_fb_requesthandler="AcJ90oDcYvhW-XGg2m_AY8SHt8WZONTwAnjzL2bz0NvVmH7NP9FDb1_oT9S5w7avT5ixrxHFj2w"; e_fb_hostheader="AcKG6UAv729A3JSJuIyVuvhsJ5nFUW_uYegZme5XvVBWw02TO5tnoRrrHg0kr5oVsIwR5TRlYvuPE_ob"; e_fb_requestsequencenumber="AcLHTXb16Xvik6hBw-3Ie8V6sten_HxgTqDTjaH9Mz8jQssjPeV45OkValKM"; e_upip="AcKYhvl42y_w2xnrfdKGo39WEe1jPpoqRMt1Pub9vuCFUChPol04fY7iy69ENn7YSLzXtiYN0DspSAw8zUuJM74sTYyK7WeWSUMGjl4"; e_fb_builduser="AcKEqoPNodo-0afx_3IrwL_Wz7xXu6DE9ropaceWzxP4KZvrVg4Rg_kPOg8bxNJse28"; e_fb_vipport="AcILxoVse_qvwDHA-HONYulWbZAYX9O5iNoyRqkbjWTj9CIPhVDdKOR73hLC"; e_clientaddr="AcLbw2Z3_5OV9uJC_NhYUrOOQZMrOVuOaFwqM4xgrx6ko3HbiUgJ3D92JjaCEleq42n2HQFd7hHC9b7cIpxGyft7-2HhqUPMRLRO6apDq09KZBm_9w"; e_fb_vipaddr="AcKk-mG3wwNXGd12sVgqBOUWjehcN6guFU0DgfO4U38QxYyGe6sMzJGUWpBanqdQFJrMF6NGZkuJQ7sxxYb0t0DxYkAEmopM"; e_fb_configversion="AcLGd6v_g3LYQhcGg70qhpk2fQaTgauuQCP4PXIw2MucmPmkCIMfjt5jIN_qnQ", http_request_error; e_proxy="AcLGQ6Py2QpSUJnsF-HbFCDpSxLynRuMWj7IPuojybLhcWuUKhE49yaQ6r66WG_0I1vPHvwIIPzaVJ8"; e_fb_binaryversion="AcK2pOGI1lDvWjo5AoGhxywNsHbwEtk0O1oWZw5-84gojhg0BdPay0eQy9DXidJ8PxKa_FvPsSmUdI1E5aPayRX-jYGM7wqpewE"; e_fb_httpversion="AcKWXuf9W1_-YMLCl-ZeJSkq_wfg8iqFJ2qtLBnEmefnMSYi6ByN_RnwJmRt"; e_fb_responsebytes="AcIjPA0Xn8dfzg6DRUPzAwW5bKxLn_QXwpu2-0SPV-uZIQRzBvoH1dFwXu6F"; e_fb_requesttime="AcLz-Q3c6SdW60yaDezHCgjerKb87Y5iYs8MYXK_q3GzGODXHeaLQIZHo9pujxDtZtZl0BOVLg"; e_fb_requesthandler="AcJnqnoVSpaxRowELzi_RdM_3ZHi-eVRAgRZpT202Zh9-Inwv6Xt7vMUKBUkKbHTDgR5XQDG5ZY"; e_fb_hostheader="AcJTRL_NJsKKK5CXiERHMrGL2jBN3O36Oa72QIn_MttIondwgasOuex0K43r09H-38gZNJ0hJ3au1Upg"; e_fb_requestsequencenumber="AcK3oaa-b78xNGWffVqZ4vTMyUzdtkLplC7lM40SDD2_ruYjp2FQlZ6Owg"; e_upip="AcJKlYPpWzYkSjP18DLsgUvQQEm_inGBHhCtZ2L1TNu8J-sgX8mohjRl39E2SRiyDefM16CnCtkSmD_fTbVP2lJ9Gy6Iymlz"; e_fb_builduser="AcIDo6hRwROLnM8x5-NDfJQKydgQoWXOzOkw0u6jPEtytXHCq76NeFqRDEbYENHT58Y"; e_fb_vipport="AcLnmNKaaEDQP9zqiQSyg3oPnP12TO0tF_n1Kytt0meDxbSy1zuR6DPvGpBT"; e_clientaddr="AcK6TIlDMMZ9Gg0y9ysSqOIbMU3d2dpgMC2Dcp9igv2rjHiiBL_3bJPcw59d5wSehAZWGNIMapIwHb114Q"; e_fb_vipaddr="AcIS5TwUPXPeoQ0b_vYoQihPQ7l5-2V8GJxQLbc_Qeu5xtAOg3hoFg_-MKk89s3Vp02z6g"; e_fb_configversion="AcKKLYl2H0uWV8XRLfvVmbQPebQyCGbKOkQMVRswPzASL1UHyPVqPjNBH8Krzg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=212, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26719947830936997"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 21:36:12: Error on send one message facebookId => 26719947830936997 08/12/2024 21:36:12: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A9zIYVHoM006pOPotXd2Y-V" } } 08/12/2024 21:36:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 21:36:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26719947830936997"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25704288, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdX5jLexPx8PU4EoEyAjdqe', 'x-fb-trace-id': 'FfW1CaIglvd', 'x-fb-rev': '1015602493', 'x-fb-debug': '49aO4h5PhN+I8ocMGXk0MkSU7PPNIMiDpwHzGXy2juNTNDhwUVKIbLW5IBEJoLspeLZGlwWAi0Drzs/xEmbjEA==', 'x-fb-server-load': '24', date: 'Mon, 12 Aug 2024 21:38:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLf4OA1ipZkR4wPH4ywG43yA6Cz9bNVmJjSdr5tyuNBW_GBh1cuIIxXL6UsIz8bbRbtxb6dFIcoIkmFoh8"; e_fb_binaryversion="AcLtix9IHxBygrCPCkEHKkC0ONoW6lZrcaNEIPOluX0dQ8Y21nzmGP84sD_Ah-tDNyvcEUa9oo5jtIntIfuc11SFNv7Kt5KlvyE"; e_fb_httpversion="AcIZ8zGsfcYC8j94--7DwTya1cTOfu_BV1nff954EJNwa51YvhtdH4BjUvNv"; e_fb_responsebytes="AcJvySroWb1gkpx4rKqm77kxfxEteqwo-n1CvaZMFaMyQM8xk6HmZkGx0Cxm"; e_fb_requesttime="AcKzDmawF0_GMW7JlcJrKNAWeFCCdvoN4yVkEGv9Jk0JdLpDFBmbvP8kXcIRCKjkdALid9qwNA"; e_fb_requesthandler="AcJXS8pcmiHd0BQG2XdQNnHh48BPd3Raq0Vpqs8sAO0fw4LsnNYnB6a2WATlqn6c-dc924PqxD8"; e_fb_hostheader="AcI6TZ9oVOLAWBM82quTtWEYVM1TWSUfSJgS7i2f1VjtEBD5ipz9S0dVjXJ-1wdPFbT7y0rpY3UmtXzk"; e_fb_requestsequencenumber="AcJQCjCh-TRFwKjnQt_wAD5weJrFC2sNlZ9Z0OdMup5OTXVdZFYeGH6i1LA"; e_upip="AcK2K6VDj_vFjPm6rtT4voOAKSNCByL1FXCdfsxppTUFrrXpPLWVhAZXTcFquidl939Deo94L2hClOjZhCHZR0wji1Acl5k-rrgD4Ag"; e_fb_builduser="AcI4mJjO__t_VYJzbeETfJf0yo1UK4Pg_bC9oWtDAbLhzJrnaqhJjSeQAd5pOSsokIc"; e_fb_vipport="AcK4o1xV3kz8cN3vAPZzt_3dLHiQ4a4eHi2SxwevHvNhskGLjviCDA7_pghf"; e_clientaddr="AcL3WXabRzUnlvpNThvD1RemUEGxmP_GqY3x3UnfROnT-w0KYwQjBh0Sam9vddG8SIvR1IHUb4xGZV2DG19VpfKoLGZMTCIuGVbPlGQm0zbUn9dE"; e_fb_vipaddr="AcJwi65ro4anoeVZigGxmXgrfE8dHV1AvEbeO8USYNRKKtnRvWebGSNwGhv1eDAyvjFJ_q383_DA7wgPsz-YTIq9Rhmcja2k"; e_fb_configversion="AcJj33UZmik_mTr_XhLqDWJUbJ2MFulAjIvyvowPPJYzPP4-U7iXkgr014Lh8g", http_request_error; e_proxy="AcJOdE3WtVVNNUT3mYBZRUwnS4ksDqaTJ7uu1_HAJaa4Gjgq-OxiYw7lg8I276Yrr7Dsevo1HcNikFk"; e_fb_binaryversion="AcKIH6fI1BU5SXOotYK5URy6Ywm-2g8w94EKXnV7cpxbqYUGzhUf525EWlY66IJyLfLoVdkFTQOQad-7yly0jd5wMOO_EOldYyU"; e_fb_httpversion="AcIXmV8nGJhocEZ-JSeLpG57USYwmH_xAtp4EngIp9JcOwFuSauDQasbLKTi"; e_fb_responsebytes="AcJqM4ADX7Eyybcjy-ECKv8V_iJzfspUNt4mKGCWet8ZSxA1EFgqQ4kw1LiL"; e_fb_requesttime="AcK-a1l77vmvOYWuxtIF_1xbrJyNIKHb0r2SkW04rPGxrxDOLhe4diLGPwne4vpgTAaiZXvMvw"; e_fb_requesthandler="AcJT1fOPpWaZWW1J5M5pbEAPulzQWv5s0leoU092k_qt2U_uLqE58M98w1CLrYzlX4UbjnT3i7w"; e_fb_hostheader="AcLrYOSLAnZIsUligMU6w29iM5p837YzG1IhjH2KsJ0zn0E5wosF7qwDaPq8V21u_Vxf-BbnizKGltdL"; e_fb_requestsequencenumber="AcKocuv1yY5QwZgS4ZxUisJiYumVOGA25-4vdbr6TRElDff82UhzoNx6Hg"; e_upip="AcJv0RDP_rS_9V1_TAxSAYH9kaN0bKi5xct5oCtIYBPEwsUlHYe1uyg7zwD90CynZNV0qGnrGmcbOv0L1RaPMGs3cNykmVr1"; e_fb_builduser="AcLLSzyDH0bjGzdITEgmQrvzPyUZiUUggG5o7L4b4OpWu1DRIvQRJv4XGKUcyXIGxAg"; e_fb_vipport="AcIklOewOtrF0wsZuaZNG-8O98YBPA8qhhF4kSyoWV4vESNczem_0NNBFflX"; e_clientaddr="AcK2WCnPiH36pHucwBOZR3U59X7Fd16fHSgrVSA5ldQIed6_wwRTQIF2LzAymAn6Hv_360XDzWxHota_Gg"; e_fb_vipaddr="AcK3Feri0Z1CwVFfhL0J76LnDIAkICu3JXMy09oeNVrrcZFvd6OejFUAKEa1smig8ehwdA"; e_fb_configversion="AcJfWQTXyfCq3BflfBP6CglefRknGYwt83ZDToKF5Bc1E-uuGco9yxQ11RmrmA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=237, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26719947830936997"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/12/2024 21:37:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 21:38:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 21:39:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 22:03:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 22:04:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 22:05:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 22:44:33: Request bot not found: { id: '133788230054854' } 08/12/2024 23:03:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 23:04:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/12/2024 23:05:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 00:33:07: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25739396, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 13 Aug 2024 00:34:58 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/13/2024 00:33:09: Error on send one message facebookId => 8994350653913881 08/13/2024 00:33:09: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/de3d0cf0-590b-11ef-a70a-fd9a3decd9a5__1723509297983.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Acu6OFlAxnT5yl9W-u_bZTR" } } 08/13/2024 00:41:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 00:42:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 00:43:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 00:44:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 01:41:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 01:42:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 01:43:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 01:44:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 01:59:11: Request bot not found: { id: '133788230054854' } 08/13/2024 01:59:20: Request bot not found: { id: '133788230054854' } 08/13/2024 01:59:44: Request bot not found: { id: '133788230054854' } 08/13/2024 01:59:48: Request bot not found: { id: '133788230054854' } 08/13/2024 02:00:06: Request bot not found: { id: '133788230054854' } 08/13/2024 04:15:25: Error switching inputType 08/13/2024 04:22:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 04:23:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 04:24:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 04:25:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 04:45:21: Marker: 0 | ID: 66bae4e1ff349866cd513299 | Error: cant_get_message 08/13/2024 04:46:02: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25787339, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 13 Aug 2024 04:47:52 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/13/2024 04:46:04: Error on send one message facebookId => 26276261258697419 08/13/2024 04:46:04: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/33103590-592f-11ef-a70a-fd9a3decd9a5__1723524472681.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "APnELTsqY_PuaSMW1-lTSr8" } } 08/13/2024 04:53:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 04:54:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 04:55:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 04:56:11: Error on send one message facebookId => 26276261258697419 08/13/2024 04:56:11: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/33103590-592f-11ef-a70a-fd9a3decd9a5__1723524472681.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AOG01oOtLwGDmi6J5dzQOls" } } 08/13/2024 05:03:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:04:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:05:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:06:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:06:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:07:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:09:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:22:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:23:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:24:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 05:25:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 06:03:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 06:04:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 06:05:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 06:06:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 06:06:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 06:07:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 06:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 06:09:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 11:47:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 11:48:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 11:49:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 11:50:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 11:59:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 12:00:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 12:01:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 12:02:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8610511858981537"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25869068, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'At0R9OziTnYNrRT_rWFXIKH', 'x-fb-trace-id': 'CiQCqR/Zy48', 'x-fb-rev': '1015624712', 'x-fb-debug': 'O2fGGzyX87fCNkNwNMxwNSy39iF8QRni5XXCOainiVZMK70ReZQCrvSbmAYOyvwRjFeYcjc2CBe3Ike6UccMrA==', 'x-fb-server-load': '21', date: 'Tue, 13 Aug 2024 12:04:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLlPMcHRG0YIvnpljo3WkpKX4JxcQTuUF3ionWsNcAIf4E8ZlRPEZSxKRDdhERY2pVu_bHoMj5NFURYrvU"; e_fb_binaryversion="AcLcddmM5fWQnyvL_v0SEa4A3gnKMwDKnYWorClUtszqmrallvA-wOPiqMBkiECUeiUEpdrvGtiDMLM70epweSYPdqLGF_oqn8s"; e_fb_httpversion="AcKDmnBTU0pm0pqBRn7xol8jNVT3l6v_doZ3bGi_BzUWgaOXaawzj5qmXKc5"; e_fb_responsebytes="AcLksS2YnCwaCZ9T-lr4Xqcace5Kyah11DSUOg4fy2AGrLtB3CWY0HM1E2vm"; e_fb_requesttime="AcJ6FCKWi2R0ybAWvrkkvoEiEOUeSSaxqEwYtj2jCSZib5x78rxD75_sdlINSRUqgpoqwQVsTQ"; e_fb_requesthandler="AcIZ5yFn_fkS3k2izGZ3UutsWO9xGmC186F2WfMriY_1m0ZVqwd9MzXemSHXj4CH1sNKYI88_kw"; e_fb_hostheader="AcKafMSZCNq-n8rgUGDOQRBczoLax2faRhMmYKGd_Kv_Wx9CsT9nCJdnjEgfVzf0JzHwPBI2dDyUJ0ah"; e_fb_requestsequencenumber="AcIEQ9zRdY8LO0k91JxqF_1ifob5OA_pdRz_uuuNd9ceb6rLsoDL3KT8JLGM"; e_upip="AcLfZcDfDhJBlYFyBB4wRMFIkhm89bG0KYPYsDjGbzVinquy7IOBrntG767YNXquEPYcVxOWS7ijRnJfDPVKhzVxxf15UAoHV_sOgno"; e_fb_builduser="AcK1axFN_RPI0Grm7LZJ3EeiGLSlIKLcASHGsC9EQZIxGjSR1LpDd7h2YkgWvY3XhQE"; e_fb_vipport="AcIrhTKBxP7pZklJFGxY_KXsiyC22-rrg-m9kb7mGkGIITAvJwp-6EpYWm_I"; e_clientaddr="AcIxo7D5j1XHt7RG6DiX25vb1ySCvxZvhywdKZU2TMYGhgfkfTGBG_ainoleo3z5xcZvj8twjtWyrPYtF49Gf2gIkB2MnzKjpiMzhzHUJiQxLLrn5w"; e_fb_vipaddr="AcIjGuLmAqA6aHrklkO8y0A4l6Q1vpo-_hx1MVIxUcD5fn-Q_EnSw4bLFGqBZbs4qlJdpMU6NrTO00MAfwt2FrbFlAj1lV66zg"; e_fb_configversion="AcJekbkVMndwp6ARivSnkrCCT_Oetpe4bKSRQJFfOsAMSMDx5t9bWvrNbWoUgg", http_request_error; e_proxy="AcL_LsV77FGgrV2JqN9QqAOHiIsJzvmrego8kNXlIW69IM7GFlQAtdh_4UKCTheRJhWVArdQH7A_jUA"; e_fb_binaryversion="AcLfodzO1xKjz4YV8A4mtbSm9h_bShONB_bsr4UrQe2Z34vNxq-E3YB6pu0aTojnLj4p7TMnGSI735doJMj9iHFhffWqhiv-PWg"; e_fb_httpversion="AcLkNhNN5evPlPt5q65JRr__wIw1AACnx-7VdOpAvZZrUhQHaJSi59NYqh1g"; e_fb_responsebytes="AcI5tQz2h5BQorVZQcvtmVbIHiTxjT0aXHLnmsZyZ__4AIrY5IUyOq-tClDg"; e_fb_requesttime="AcLAjPvF1Y1znO4CfrpkOAJ-iuJOUxDydIdPUUqXCsd7Q05Upou90oqKlX2mZoc-P3hnEGVjCA"; e_fb_requesthandler="AcIR3uoLv_bBopCB8X8zmHlL_iEul5s5sI3jBsdv1vMKExZzNHCnbmmC7bg9nqdKybEaSMsPtqo"; e_fb_hostheader="AcKyPJYcwRFy8uXxVcj7CV2gRbcqS2Alf5LeO-Kcukz9rY8ZJWd9WuVdJkUWjoi7aAqU6BuGMFrsBOxM"; e_fb_requestsequencenumber="AcKTNa85pvQ1yGOlp-hWxR3_BFlR75Cz0ITkA_Mn2TxxiIHYJMNf7tMHTg"; e_upip="AcKnJTMZfBIB4SSJOd3roDfQ86YsG9E2TNax1hSD1bbDYYp6dXChEIadojceefcRrg66Z-KkOOSLM5gm0TezKl3NRfgY4vwvkw"; e_fb_builduser="AcLixlbizko0K1NYI7YHpcHTKdSDdbBB_DUhP_zPU3gmOrAkGIAuDPlgG-92AOJezRg"; e_fb_vipport="AcJxHM78n0SvRC-CMJMyIx-GnjvO9pSgknUTiTBH6gyicy2k1WtyTLNzFw4j"; e_clientaddr="AcKH0s4gKpnywLDfPe9uM9I6AIcC_OISmn3DP9DgZXZgR9mH0bz3gOtnBufPrInQ1m35CEfjpeIMJpIScQ"; e_fb_vipaddr="AcKy0XkjQ-Fbh6hhuVrAqNZGhKMQUcvAFOowMX5gIBBl7thAzlaGfPpRf4taQEAuKTju_A"; e_fb_configversion="AcKEXnq0kZfHcjv30XFlnTXnEW2-xPQq3Qat-WgrxzqNndFDE6mR9uJRsqcjoQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=234, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8610511858981537"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/13/2024 12:02:09: Error on send one message facebookId => 8610511858981537 08/13/2024 12:02:09: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AXM2j5gN9d41lBHJK-VXHN1" } } 08/13/2024 12:02:09: Error on send one message facebookId => 8610511858981537 08/13/2024 12:02:09: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AivAjsIPRDBtnLpq3qp9LC0" } } 08/13/2024 12:02:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8610511858981537"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25869297, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_JzYuOaBj_6Nv1rVtj6Srw', 'x-fb-trace-id': 'AsBI5sJ1yyt', 'x-fb-rev': '1015624712', 'x-fb-debug': 'ZWDwfzFMmUVteuzWCRG/Wud2UEZS1PTiZZDmLuf217gHVQ0lzLo4BmjBe2qxGV+0j8XSwkgiyu7lTHFOeyMWtA==', 'x-fb-server-load': '39', date: 'Tue, 13 Aug 2024 12:04:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLfj3FZ7QCUrB2OVVIlyXT9rqBg17_5vhzBGagaF4PnQkK6myUkCaQ7XS21FKVmoOKgvJ2dB0rgCaw6uQ61"; e_fb_binaryversion="AcL27yk22bJz1WA4bK4iDCQUwClVfnugdtv6F7nyHw8zGl9OqeKblNPNwJJTdBVoO8GgKIgbjlXE3dCrEUkiQPItUTqw1BarlCw"; e_fb_httpversion="AcKEXJYY6DXlD_9bR6Od4fqQfjyvxyVYbLq02Ug2V1oP5vnLEHZt63kd1cPs"; e_fb_responsebytes="AcKbufp8pwUq4iHyNfN__VO9ZRzK1JTRVxfZmqIZTc8cgd-eIOFtySLAld-P"; e_fb_requesttime="AcI7B23_VOhaD1AJgPJ95yhRo59wCs8m3bw-R21kRUYF0PfR4fnNpVgRhBGp3IQ_wlq9z92deA"; e_fb_requesthandler="AcJj_oCQ_eo4rQPAJHKvxroYAfxF09eXLn7G5KWswQZ1rdzAJV1IM-IEKAbP_EVPYD8rAlWnr10"; e_fb_hostheader="AcLPWmO6mpFJBRlEO5x6l7RA4xHv-0UN39mzGkE7IlOYX9Q7-h3MsIQwmI4o9pg8WMpFDHcYIi-Axhyq"; e_fb_requestsequencenumber="AcKDF-GEhfWUQB3Ny-HvwWLwCPT3CbWkoklGkt8lo2BmV7yNhUEJTLYrsJ_T"; e_upip="AcI6ohEVU9H7ZJczUFD-jAbzxGb4f6PP3wvLlkihuRzklaCLy7siUV5HAFpr_HVTmdcIOSi_4wiWHEJ4oCijvhe0MbD4KstF5VVcahc"; e_fb_builduser="AcJPtfjxB8ijwFHzKPfLn0yO12lF149rMkGzmCiRDJa955KrWXBxXkuMxhSRlmiv7Es"; e_fb_vipport="AcIp3i8GwSwSm0PXqOlEZy5JbW_pHNPt1r9izL4ZlydwWR-Dt3_ZruROAvbO"; e_clientaddr="AcJVzjh0UE7QpUPm_EA9BvnpisERC8pqa44CFqewCmwRMVRg3jK-5DtoItpCq8J3KgS7CeolQwuJRtKOJBHL3O625hYAqoXebp8dJZ7wN8z0-1rZcQ"; e_fb_vipaddr="AcInJxYQ0tsw3B9owVfS7ffFBOBcVlkng-RdKG7eB9VB18zugiGzxVuA9uUgqxUc3Z0qn1dpwmvKzfhjPdfEiNof1E5uSTgUOg"; e_fb_configversion="AcLY3Hgi3XefRya4v7FkkM2ivrzEWxGc2hI0UzkgGjGWG98nM7tUnWU77N_Q0Q", http_request_error; e_proxy="AcJn9aEPbJQwvjM8uCBfV_KAF-foOKiPnHPy4iVz2L8Qtfe1R9DoiSIRWcYOC9xc9iLr1AlUVUsg8iE"; e_fb_binaryversion="AcLK0XtcyJTUpfxBloWCAjEKYGZ_GLCGUClfjYzIddd83kEFk1Nl-_sRhFk5o659-P6rDZCimMVbUodmfPPeFsOGcPO9wIdjoFI"; e_fb_httpversion="AcLH19E8Ghp1gnttCEKQK0IQFUlFImpTniC9tQcABMn6y3-qIfWyei9E12nx"; e_fb_responsebytes="AcI9LoZcyy7WwSWSoPfuc_FhmeRGagj0BQY97i26hcrt8AAJVElXSchLRk1U"; e_fb_requesttime="AcLfPhMFRdUF6nzqMpx896_GmlFCLIu0ea9Q97GTZ4GD5SxO5xW3vr-fy0pXgePGe3JbrwWnnA"; e_fb_requesthandler="AcKYcNizyQvGMehJ1PC__kvDHe1BxI0bZSRhkB0R-GZKTiZZJb1MAm-kJ8sWyMBspNSHwBpgQbQ"; e_fb_hostheader="AcIKRw_DOVcdgAANiWZdEkMkQXTkkWjmIr24sRaH2a9PJAwq9f1HUt4gj-oAFADdkoFEnagtCkFokQQ-"; e_fb_requestsequencenumber="AcJZUWEYCiTsEb8e11GPSbSItZuxKHvwZl7pSE2bLreIXbNgWeyp2xpN6A"; e_upip="AcI8xysU0Aq5xUVCACT0cnsutVZnDNMDAlytCOfOZFTsB9qlTlNx1IScoZPlqgCsfOOa9B8GEBAjUOn8Xox04XiR4n6kphlAQw"; e_fb_builduser="AcIwcPp3OjnIjwkW02FzUTWve2ZLn36QN3IHNWKRtpS2kn5HcGaRUtHE0LUpD74Smbs"; e_fb_vipport="AcJ5U4x6KQFPEStsE6vYlKo_VnoiQx_YyANfwSogwvK18V1yXDznlA1fAR-1"; e_clientaddr="AcJfZ5cesur4eZk6RS_-f8nadewCnRne-qp8rqrEdtqiXKZ3GNjAzo9nYH2mDb-dZx_5r1UG-R8dT_FQ-w"; e_fb_vipaddr="AcLhDZ12JEBW3LY7VZJL2K-FIB4qGYzFHU4pHfGg_Nw7AB2guM_h3Av8fXehHYBGXF7dwQ"; e_fb_configversion="AcKVBYLkNbMkBFZcsNPhQqvjPdCgtdXNkB4DOKR2Tx-lxYK6vLpqsjJKC0pJIWncdSVhRxsm7sQ4iYo0QG-rXZxNQbQyoDnpALs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8610511858981537"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/13/2024 12:11:14: Request bot not found: { id: '133788230054854' } 08/13/2024 12:59:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:00:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:01:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:02:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8610511858981537"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25879623, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiO-3oTUCSTqjWutvSv9K3U', 'x-fb-trace-id': 'C/iA2dx/psq', 'x-fb-rev': '1015624712', 'x-fb-debug': 'bp7TVY1Y6N8b9Zhz5xTaDUJRR3ZdbkVET9URpR5XjB1podLnOY8QslZ4hPF8JGc4/T1/3tzsjaU1HM+tKTAuKw==', 'x-fb-server-load': '34', date: 'Tue, 13 Aug 2024 13:04:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLYFBXZIElSsO75NReidn-9qGxTedN-IezQkZ3eL5c5OmIdVW7MBEAgQVD-oMJ7UxnQrMpAYwDBuLdgN-62"; e_fb_binaryversion="AcKBTn9wtKKwXo-65SzpHrO5506p6Ta2DtSUbd_xgL5801v8WAZJ_ht8xJFuRq2VQA-q7EImDvJH-frBm2_kviyjXz2VthlWsaI"; e_fb_httpversion="AcIm94Nvv_qSu4e2eZcj-1FZPLInP9mfboWN-jmTx2xohAZhTtPL0SPtw28T"; e_fb_responsebytes="AcJ7sPzIrNchAp-PNUufUoYAL6DQkzreF8-2g5geldxM8A-IfFYeoUCZcx8Z"; e_fb_requesttime="AcKdk6NwvJiJFTpU7ti99BJMh0ZbuYkKTyzGTR5sBSZRL_m7tST6EzxwMeZIi0tRdUG1BLf8yw"; e_fb_requesthandler="AcKH5ir_p5ZrcTF80imdEwZRnFNC1Z0PDei-nC-48B8hwDohjXU2socp5gGYAI5CLyHXMCvSopw"; e_fb_hostheader="AcIy5jtyxrvATh40QzGcqKVmudc01uUcg86otQyfzHI7C5rVcCxQeeRt6A8VvO64iBH9XkfvPjMLH-tv"; e_fb_requestsequencenumber="AcJ--APK15cA75pedZFwSWXxXrWHzV9jojecsFkBZx0a9bUPqA29fG5l_3Gz"; e_upip="AcIN6KBPoHa6IpJf055OIEgl1jqlJt1pKjm1iicKlWUdxlgbBZXg1HfKBmxybiGj1ZqKGqU-bXmCm7eoShWVyZelEBs_PvBLhy7nkxw"; e_fb_builduser="AcIUHC6mGOOcREV7UOmKPH-y7Fccrtijq5I6FcAjm2c9FHHfW427zASqrtsOt0TFIT8"; e_fb_vipport="AcJCFxuPHuAjUDb6V49WZyaD-EcYFRK_-iFhsE_bjGujcZ96d1bqbbiLd02S"; e_clientaddr="AcItKPne2biYYBgtp4tS8jaQP4jdijw_xWw66n9f1_Erxk1gCA8wtu2_VZ6Htfk-wwKwkAciOXKw52X6dilq3QWxM96lYqgsIr6u8ncafQlBFP4zgg"; e_fb_vipaddr="AcLmpFDCn-OgAnCuD-myRo8kNqrwnp2bQNTvbxOIHEOLl2IuxY4JlTmlO5DrhPDq_9-Fhmw1At4_V2Bem5F-kSFQS4yLb06xSw"; e_fb_configversion="AcLDCvwl2AOLFHR0qAU4RblC5nIiyJH6B1j3IE1H7esrmW8RYZ5cVuTBFn3oNQ", http_request_error; e_proxy="AcKR70FriKKo5BgcKP6P5cBwpJEla7qgzLu_cNYkUKSTE7AP0LfmOhCpVYaM_lImGyUViPzNzSlKa5E"; e_fb_binaryversion="AcINocFcJpY1cCY1ZduiyLpRyhWFZ3wOL65l1swL9JFYJo_flAEcJfiGAzfL1LT1v6QR43Tikk-jglhuY7CHlo2nIL_ikvURtGE"; e_fb_httpversion="AcJXNMN5ps0RYsi1S1duG9ipsw7v1Vh7aaDEUKCXiWiWsFhNb_TsW4sPE3PR"; e_fb_responsebytes="AcImJVQhr_f3NpzJyOtGeldutQlXwWZfvOLmz5Mq3Zw90LGON4qadaw_Psb-"; e_fb_requesttime="AcKs1GcDSdOACAazxf66NqhH9CTZZXFmWQneo6DbV5pnAohcuIx0GkGWq59UuAkN9S00LyVcsg"; e_fb_requesthandler="AcL7e5rzyi1VT3hR_90Oo88XZqjfZ9djGHwgZYFvclokK_5y5hGPjxzGYfH71jcNRRXQtRX7kXw"; e_fb_hostheader="AcK5_oRFbetD24WoQL-I0lxbdsBEa9rBKi6rXLIJjYKoU9he2AS9BYbUjPZDaxj2J78FZaFjuV4LGDYQ"; e_fb_requestsequencenumber="AcJPvI1SBE-f4liKKLaQHPb24e4oMGsz4HFOCTzVLqj_YR-qPGHeCxex2A"; e_upip="AcKJ2Kmjylgwkc_WUMR6hSjeRaSVTRVkHksDIy3O1sIX3_OPUfCwxqeGEyiZ-9-Z-gTRMVZumGY-fLqRnXAkGzs-g2Xre68VMw"; e_fb_builduser="AcImWj2CBBnaSr75Z_73UsV8sig161IYoOEfNo_6U28VrDYsX-uKbCi4A7PLvbmK0g4"; e_fb_vipport="AcL2Kr84Mf2G_gJZnsd0j2YeOq9f9DNH598INt1LnmNT3IsMNHPX3t-saIej"; e_clientaddr="AcJw9UlhYTzRyA-pPn9_Ggq7KQvcXatpd6IWewnPvefevCHWwzup11K1OlgtodnV-ACvtOTwK5wusUyPfA"; e_fb_vipaddr="AcImtkPcZJabfNcN9Im5N4lCp5B03TjapYstA0LMQiz-hGH70qjH9ygyUyoOJcozUkTSdQ"; e_fb_configversion="AcJDQlmxuKkcKlpvXfGqFRS0uDXNKd2EIbXVISDYN-BZcRqQHKMcegMAVC2LVg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=155, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8610511858981537"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/13/2024 13:02:11: Error on send one message facebookId => 8610511858981537 08/13/2024 13:02:11: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AAuGJuXW-E9vsTPVnQi6QyC" } } 08/13/2024 13:02:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8610511858981537"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 25879809, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AobnXPB6oymWwpYRbtQIr_F', 'x-fb-trace-id': 'H7xm82sCfDj', 'x-fb-rev': '1015624712', 'x-fb-debug': 'vuqOPnSDr1zc1bot7MJQ1mX/Du0RO9D8E20XTUgqwGGAfFPGdZCK2qnaDe2McbpAc87AbQNlscwXkd+icSjxCg==', 'x-fb-server-load': '38', date: 'Tue, 13 Aug 2024 13:04:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJNovBrOEsGmQQAZvxGcGO5vZ5Gs_QZsYArH2F_QI6kBRTpZPiuMPrLjpZsNqsWi4DqorUmPKH2PvC0TPE"; e_fb_binaryversion="AcKdCaHZCn2aSh2yzzqpCUboZFrniM8FQokkAgqRmToMPjIxUIV_ltMgeytfu1Yo7Ua-_jsOXOJIIcpjcE7x2eGW5j1V2XqnLXs"; e_fb_httpversion="AcLLFC5hPEhMQylTCCNk3BVPoc66a4oLg1ZYGgdV5ZLtsY5b_0WQRgTaAdXl"; e_fb_responsebytes="AcKznkvWpRjJttN0wKkwdxnJem7LfbXn2HKt4r5emh62S3ZKKuXG87fdUsRt"; e_fb_requesttime="AcLUOzezVMdYrTqlfx2cJAul4NxNsJSdebaLNgNrPEeBrLMo_KJ43IWKyWjCbJ-zyTAnc8EO4w"; e_fb_requesthandler="AcJgtvM4GF3YluyyKEurBIG0h_f4VjbmShryG4xG5Z-JWz0NSocOastXddtDmUFtxguM2XIDuY4"; e_fb_hostheader="AcKkv5JoeJgnWUNkefsg6_ZZILdRTlsRw-ra88JCv4NlI2NSaWdWke0S8eiivXNCxqZino-EgICs2iFZ"; e_fb_requestsequencenumber="AcJV2bTkOT4ze4SM6JANNjzH-izvkI9WQJxXwugFMK9BVAx6omMcehkUgh8iMw"; e_upip="AcJkhrNnj0tvB_-A6_Kmd1jeBWh1dn0jxrFW45EJwLZ_uZQ3BxfLll073CKJpuus4b6IJuXB0gMkkMly3Kj5XGiGYNeoaWulOKJZ1g"; e_fb_builduser="AcIcu8ACTFjheBFjNg9bp29NwTq2jdlOn88UKJMoo-je90_uFkBeHSgUfYhxzRAM8Wc"; e_fb_vipport="AcJ1xjiZSGAoXrbx53J0wc2SCjyslvAWRRUYp0AZzBtEyuRhNiZVzQUp78lr"; e_clientaddr="AcK_WJG4sbq1Z74eao0r6TabYeIK-HZ-l7MkyPHWTGznWAEUEHIQez_8oHT3kIGjws2iwwlBYpewInnCQRWU0zbB3laeSf4jjkbRg7k2ij6X1xGmkQ"; e_fb_vipaddr="AcJ7iBNoTYy8GNjFGKO89YzX_oZEShSpY5axDbzZDHd4Yx-1R-KbnTX17vgs8VL2j46gXtKgOTyqzgewNOCC8DjnjDsCEbXtuw"; e_fb_configversion="AcJsSgBIE2ysIPhBmbV3lTfbjwaGzCqW-ygOA4LsL_vpvjDGEElkj9zMkQfRwA", http_request_error; e_proxy="AcKCrrXv9eOey_5jhLq9WOVEl1bTs1MT6_HFGg8SKQbnzgGfqTAHTIra1iHhFMT74wtRwzdIXqxxxJM"; e_fb_binaryversion="AcIOzv-E5-ob-JqY8W_xZMmB_KigSYmGuDj5hIoAaNhD2iQ9ELA7ObNJd7yZaLr9AnO3scy5CkwcVFq7502IcUOX0BK9v1DXrhU"; e_fb_httpversion="AcK5BBRuNVd3VP0fWyg6flGZ3gijRA-ebhLVkTYISfo2yy5sU-SSaDEXDrh4"; e_fb_responsebytes="AcJW_mHfAFTighmZgk4rFDw9zOOooswCYkOk2Osi7am1B_kZ-gnzoDKs2Orb"; e_fb_requesttime="AcJ_GSRbMyP61TgvunKw4o5YnEB8MPSzcxQfSPteJsyWgQzlP1hT4SVU-_lYyGi6Aoyg97N1gQ"; e_fb_requesthandler="AcLTygrNT_tt_I8isArfwyrxpXU5NBlGKzaCV20Ca1R8N1PNJ2P1f3uPh6tjRG-dpS-PdKnpHj4"; e_fb_hostheader="AcIMCx9KIKPF1MHVZ64iABaoFMty_bLKjRibl8xjNyzfcgbLab7E99aB8tF6YBQBJOPkbEsO3DP41dqZ"; e_fb_requestsequencenumber="AcI9NTqxgG2QmIJcnhb-U0iwefXeJz9nnS0zokf8juXWZpM98TRz39R_zw"; e_upip="AcIGXOHsWfGky_qCSvr4a34qBxiSdU16NXhOFklYT8A5qsAuvQepdqPX3T6LnlDugTmlDAmryflrkAAtdipdgqprRnt9DXyIbQ"; e_fb_builduser="AcKgRKPdw4wnHwcpvkdE4QvDN1F0_4KM0F5qinf364gzzzN18h0S2S4She25-j-cuI4"; e_fb_vipport="AcJeb2p-F6ZvboBSxsu7crR62gSRploIQ6Enxy_bShrRVYJ9-vVDXJgrf5Nu"; e_clientaddr="AcKYksAZh15QED1qlaQLDQOEltKdBmFdGXw0ebmuQBTeV_ODUjFVVpN-ffelEe8gjiOwCGwNo7aEYV8zhw"; e_fb_vipaddr="AcJROrWel51zZqnjAEaDWf1BsEiMyx37vV3bvazurtRvvBK52kDKMRPAPLI73HZVS9-HVQ"; e_fb_configversion="AcLa94yPIbMjxgdmp4NLXFqkR7P2qddNjjVztLnY3-FjrEdFGi8sFNdNWmWYpw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=167, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8610511858981537"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/13/2024 13:11:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:12:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:13:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:14:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:26:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:27:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:28:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:29:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:47:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:48:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:49:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:50:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 13:59:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:00:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:01:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:11:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:12:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:13:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:14:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:26:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:27:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:28:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:29:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 14:59:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 15:00:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 15:00:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 15:01:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 15:01:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 15:02:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 15:03:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 16:00:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 16:01:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 16:02:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 16:03:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 17:58:39: Error switching inputType 08/13/2024 17:58:40: Error switching inputType 08/13/2024 18:05:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 18:06:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 18:07:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 18:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 19:05:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 19:06:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 19:07:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 19:08:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 19:24:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 19:25:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 19:26:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 19:27:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 20:24:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 20:25:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 20:26:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 20:27:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 21:45:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 21:46:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 21:47:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 21:48:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:10:07: Error switching inputType 08/13/2024 22:17:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:18:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:19:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:28:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:29:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:30:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:31:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:45:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:46:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:47:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 22:48:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 23:14:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 23:15:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 23:16:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 23:17:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 23:28:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 23:29:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 23:30:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/13/2024 23:31:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 00:02:51: Request bot not found: { id: '1852395741674621' } 08/14/2024 00:14:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 00:15:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 00:16:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 00:17:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 02:04:47: Marker: 0 | ID: 66bc10bfff349866cd5139ad | Error: cant_get_message 08/14/2024 02:11:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 02:12:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 02:13:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 02:14:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 03:11:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 03:12:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 03:13:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 03:14:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 06:51:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 06:52:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 06:53:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 06:54:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 07:14:54: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26100696, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 14 Aug 2024 07:16:46 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/14/2024 07:14:57: Error on send one message facebookId => 8519826104729371 08/14/2024 07:14:57: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2a4bf370-5a0d-11ef-8ab4-a368795bbcd1__1723619806247.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A4ta79_irynFqbjcVBmxPtt" } } 08/14/2024 07:21:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 07:22:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 07:23:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 07:24:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 07:25:10: Error on send one message facebookId => 8519826104729371 08/14/2024 07:25:10: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2a4bf370-5a0d-11ef-8ab4-a368795bbcd1__1723619806247.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AOmkyWAv4rFaiXZZvlaB-vG" } } 08/14/2024 07:38:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 07:39:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 07:40:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 07:41:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:21:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:22:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:23:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:24:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:25:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:26:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:27:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:28:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:36:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:37:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:38:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:38:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:39:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:39:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:40:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 08:41:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 09:36:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 09:37:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 09:38:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 09:39:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 10:26:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 10:27:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 10:28:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 10:29:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 10:32:58: Marker: 0 | ID: 66bc87daff349866cd513bd7 | Error: cant_get_message 08/14/2024 10:40:07: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/14/2024 10:47:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 10:48:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 10:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 10:50:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 11:10:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 11:11:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 11:12:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 11:26:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 11:27:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 11:28:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 11:29:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:10:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:11:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:12:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:55:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:56:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:57:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:57:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:58:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 12:58:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 13:22:47: Marker: 0 | ID: 66bcafa7ff349866cd513dfe | Error: cant_get_message 08/14/2024 13:25:43: Request bot not found: { id: '111693767414179' } 08/14/2024 13:27:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 13:28:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 13:29:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 13:30:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 13:49:47: Request bot not found: { id: '917983134950234' } 08/14/2024 13:50:52: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26195438, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 14 Aug 2024 13:52:43 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/14/2024 13:50:54: Error on send one message facebookId => 8088970934496773 08/14/2024 13:50:54: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7ac3e830-5a44-11ef-a70a-fd9a3decd9a5__1723643563571.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AAx8kds0JGwDtHwCHrl_uAW" } } 08/14/2024 14:10:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:11:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:12:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:13:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:20:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:21:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:22:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:23:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:25:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:26:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:27:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:28:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:29:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 08/14/2024 14:30:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:31:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:32:16: Error switching inputType 08/14/2024 14:32:17: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 08/14/2024 14:33:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:34:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:35:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 14:36:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 08/14/2024 14:41:40: Error switching inputType 08/14/2024 14:41:40: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 14:42:09: Error switching inputType 08/14/2024 14:42:09: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 14:42:39: Request bot not found: { id: '863113247096430' } 08/14/2024 14:43:31: Error switching inputType 08/14/2024 14:43:31: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 14:44:02: Error switching inputType 08/14/2024 14:44:02: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 14:44:21: Error switching inputType 08/14/2024 14:44:21: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 14:52:02: Error switching inputType 08/14/2024 14:52:02: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 15:29:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:30:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:31:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:31:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:32:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:33:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:33:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:34:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:34:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:35:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:36:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:43:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:43:38: Error switching inputType 08/14/2024 15:43:38: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 15:44:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 15:45:13: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 16:43:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 16:44:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 16:45:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 16:45:08: Error switching inputType 08/14/2024 16:45:08: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 08/14/2024 16:48:04: Error switching inputType 08/14/2024 17:04:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 17:05:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 17:06:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 17:07:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 18:04:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 18:05:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 18:05:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 18:06:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 18:06:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 18:07:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 18:07:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 18:08:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 19:05:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 19:06:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 19:07:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 19:08:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 19:14:30: Error switching inputType 08/14/2024 19:14:30: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:14:47: Error switching inputType 08/14/2024 19:14:47: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:15:18: Error switching inputType 08/14/2024 19:15:18: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:15:22: Error switching inputType 08/14/2024 19:15:22: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:15:25: Error switching inputType 08/14/2024 19:15:25: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:15:27: Error switching inputType 08/14/2024 19:15:27: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:17:08: Error switching inputType 08/14/2024 19:17:08: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:17:09: Error switching inputType 08/14/2024 19:17:09: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:38:47: Request bot not found: { id: '1852395741674621' } 08/14/2024 19:41:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 19:42:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 08/14/2024 19:43:02: Error switching inputType 08/14/2024 19:43:02: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:43:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 19:43:59: Error switching inputType 08/14/2024 19:43:59: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 19:44:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 20:15:01: Error switching inputType 08/14/2024 20:15:01: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 20:15:29: Error switching inputType 08/14/2024 20:15:29: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 20:15:46: Error switching inputType 08/14/2024 20:15:46: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 20:16:26: Error switching inputType 08/14/2024 20:16:26: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 20:35:22: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/14/2024 20:44:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 20:45:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 20:46:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 20:47:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 20:56:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 20:57:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 20:58:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 21:31:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 21:32:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 21:33:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 21:34:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 21:56:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 21:57:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 21:58:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 22:31:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 22:32:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 22:33:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 22:34:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 23:24:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 23:25:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 23:26:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/14/2024 23:27:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 00:24:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 00:25:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 00:26:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 00:27:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 01:39:02: Error switching inputType 08/15/2024 01:47:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 01:48:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 01:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 01:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 01:50:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 01:50:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 01:51:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 01:52:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 02:47:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 02:48:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 02:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 02:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 02:50:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 02:50:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 02:51:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 02:52:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 03:29:38: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/15/2024 03:38:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 03:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 03:40:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 03:41:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 04:38:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 04:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 04:40:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 04:41:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 05:46:20: Error switching inputType 08/15/2024 05:46:21: Error switching inputType 08/15/2024 05:53:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 05:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 05:55:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 05:56:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 06:53:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 06:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 06:55:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 06:56:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 07:38:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 07:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 07:40:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 07:41:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 07:50:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 07:51:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 07:52:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 07:53:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 12:44:23: Error on controller payload Input Treatment=> type not found 08/15/2024 12:51:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 12:52:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 12:53:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 12:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 13:03:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 13:04:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 13:05:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 13:06:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 14:03:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 14:04:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 14:05:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 14:06:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 08/15/2024 15:07:44: Error switching inputType You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 08/15/2024 15:08:43: Error switching inputType 08/15/2024 15:37:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 15:38:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 15:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 15:40:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 15:48:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 15:49:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 15:50:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 15:51:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 15:59:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 16:00:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 16:01:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 16:02:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 16:59:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:00:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:01:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:02:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:12:13: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26581218, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 15 Aug 2024 17:14:06 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/15/2024 17:12:15: Error on send one message facebookId => 7880509342061497 08/15/2024 17:12:15: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c6df1470-5b29-11ef-8ab4-a368795bbcd1__1723742046007.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AabshRd84jsTcdt4qBkNvaG" } } 08/15/2024 17:19:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:20:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:21:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:22:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:23:09: Error on send one message facebookId => 7880509342061497 08/15/2024 17:23:09: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c6df1470-5b29-11ef-8ab4-a368795bbcd1__1723742046007.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Alo62FUUH-WHgLao1oMtk67" } } 08/15/2024 17:30:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:31:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:32:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:38:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:40:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:40:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:41:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:41:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:42:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:53:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:55:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 17:56:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:21:58: Error switching inputType 08/15/2024 18:28:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:29:12: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:30:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:31:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:31:15: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:32:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:33:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:33:07: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66be1f05ff349866cd514ebc 08/15/2024 18:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:40:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:41:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:42:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:44:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:45:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:46:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:47:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:53:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:55:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 18:56:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:28:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:29:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:30:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:31:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:31:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:32:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7677102332398585"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26615617, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AHt1MQXPYFhHoOSC9fTMY2o', 'x-fb-trace-id': 'EG4oui/EzOd', 'x-fb-rev': '1015706927', 'x-fb-debug': 'Z6Ll3V1CKYB2o6Q3weFx2/XCFm15P4/x+tQaTegeK9eFtc6iqHzQWFPKUq3f4cykp/5VA2zZrZokYaUFxjqDWA==', 'x-fb-server-load': '38', date: 'Thu, 15 Aug 2024 19:34:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJmG9Tre_N6wwUKVvDFSvscEVnVnh8UF0tJJmnmSjpffQwDX36iqr1hm3WU4QAQRzXeicrSnOEjhPR7RDR3"; e_fb_binaryversion="AcIn2mf9H-jyfy-WTXVVuzHPy1I0q3oEHa364OxQJ4KK00hFwtdDcM8hWfqNhKdO2bKIgP3ancPHCo9qNxDE4IAeN0wZbVAGQGM"; e_fb_httpversion="AcIWgZ_bs5NIV2Vp6hk5S_PRaFwnbK9qEmg34zeiAMgoLBelEQQ1f1MLUA35"; e_fb_responsebytes="AcLAyOqMvLrIbHhGtZzqZlcjLcvlW1b2yRQkqqtBuFxyMcjWWdbCNBG0brMB"; e_fb_requesttime="AcJe2G3NPOrxaY0byPFn4GZXSEJ5nk2VSeQT-R65937LffMqkWJx0XRYIJ4d8EyFubNjsYfNpw"; e_fb_requesthandler="AcLmt49csshme8uadm75HJkub_Gr4dIx3ojhNjhkkfqBokenyM6jGAt39xKSY59W-6Lk-a5kWGI"; e_fb_hostheader="AcJ_ZaamHB1gRZs7UuTA9Rsafs40R8sCR9X-xniFfTtcPtr05g5NZyfP8JwLnmaCrCEb0T3113ZCYkY9"; e_fb_requestsequencenumber="AcJ6tgR6q5T3PJLV6cu8bBrKwHEOF2v3r0dwTFyKKnCabo3EZCrxQAjBgRX5"; e_upip="AcL_FN03kvbxvV6dp6IlZs0KxIhlBOwF25WM6RW2x_dfvhnGuMxlGGfRDVB6k75etVOk3S0gWqdhcpM8M3EaUwWymMBUAN5GhtBvIw"; e_fb_builduser="AcKnlWQvme9pX1lgCo_hATZb_sVXF9Jkiyua0PnPJG0j_e3uhAt_h-YX07GuvA3VrNs"; e_fb_vipport="AcI4yWKMmhvNbNDPXaCeMkplMrDAAk8oZeNNP4mg6zpPJ5cJdmz9jHmNr31y"; e_clientaddr="AcLQJiFqLveLu9PGr__P8RA9xgRdjO14lICkHzL8j1IBRMOtY-mhjB9nDh8hmZNE4oxxpqRtWOxXiuhh0emY3H7rUYt6bbW2QkWbUcPSbLay8yg1Dw"; e_fb_vipaddr="AcLncj1E1S-QaGs0x-AfwDCHMSuExS6ZBvb6rP7UudCbg7EgH2C7OyQzQUpsi3GuInhagxYDyqx4F8zB24LKhtFljsezPGpV9g"; e_fb_configversion="AcLew1aqKYy0Ynjp9VcWl-Lafgif7yi5D1un1uXStKCN2kWPMNO1Rdraj_at5Q", http_request_error; e_proxy="AcJfB5tsQtMOIsNfFVWTThBKA7bMbbqF5QjnAuH4Nq9lpJFwcXaARIqmle__n4DBOLStEcIM7hJgYpcA"; e_fb_binaryversion="AcKYK0enZfL4lqu7QN_wyAyC4k8oit4BpX0BSxDBb23lhfUiEnoOc-KGmNb7G8inr4uLzpyq9EhXXo0XohRTCdO1bz8XVSwUNds"; e_fb_httpversion="AcLdXDxyBV-iBFr2xc0cQJdOz96Vj5A7XgAFAgjE_DYzM0hSNME9t1L-nAoC"; e_fb_responsebytes="AcIvof8FZk-aLqwtL5fUFzGlCQbhXv3mPYnZ3ZrDi4r29JCjGT56-a6rc9h1"; e_fb_requesttime="AcJghFdMMCtnBWvZqY_QHTXBPNHkvdUwLK-jhM725X9-fRfT4or1iP7829os1IZP9utJPjdz8Q"; e_fb_requesthandler="AcKs9A3t1YIH5646gh-pYtyxeAQI15-tUwPVwjvfy-_hyqIQ0p0C75Os5uBJytyjQGgYnr-UI50"; e_fb_hostheader="AcLFmKWsXEo9lNhfkxcW0EWkBerY3U5DLToXKwwUD9y40U3TxVmO4en3VgtrDyPYCcV35d0uI2TWPSLK"; e_fb_requestsequencenumber="AcJdIcaDYAzUykGFG1puEhackMurnYhIYCyRnVCysy9veAvu65zJETuZ5g"; e_upip="AcLgUquAOdzFaoYXd1pcRBg5o-GWDAcMYZ1-oR4nt9TTd00Qn495o1GSV2_kq9vnFZw-F96x3jlAcfiyepsbv7BAXr6e4L6ATA"; e_fb_builduser="AcJSfOqo2RycVkjg7-muZljovpdjHB7Nbm3IauD8BoCHQJdtn_QuIUKTtNdpJ8Bmv9Q"; e_fb_vipport="AcKuBH50PAM-JCkE5pbOuHSfR6NdtW6vY8xEQMDOAo7Gf1VyJHLm6wha3uyC"; e_clientaddr="AcKdsFbRoNzuMxzE-58Mv5W7cEXtqfInnzRJF7SSRruDTVt6dIOycI6aIKvLy3j31Yq69MbQBT6tN2Gt1w"; e_fb_vipaddr="AcIRYew6w7DfCFzqvJz5nyn3sX68t3nCv8DZmSGvMQK6LtXEum-6D9crDR5BnLqsf8Ym9H9_Uw"; e_fb_configversion="AcLfdwZTfb5PUp48-U9fmJ96bSDnew4P2-ahUjYdKoZxwa6zyG9DQYAn-Vfhzg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=95, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7677102332398585"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/15/2024 19:32:10: Error on send one message facebookId => 7677102332398585 08/15/2024 19:32:10: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AicUe5Q9T8qAUb1snfRurx_" } } 08/15/2024 19:32:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:32:11: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7677102332398585"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26615789, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVkvFu7aeSlfCKV4hf9uazq', 'x-fb-trace-id': 'C0vSYW8aWX4', 'x-fb-rev': '1015702558', 'x-fb-debug': 'iJVOrQY2iZIVw+OgUm+jEEjJ4uwxClH5DIaJvPr1JBtNXXK8qN5qF7HNMEl72sRxlNN253iIf4Vq/toiwgd7IA==', 'x-fb-server-load': '36', date: 'Thu, 15 Aug 2024 19:34:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJEL2XGmCSID34t6rcEEzW7NMYhdPMP4GYc7N0GNJIwVhyM-IAJfKiX42Wj1J5fpYZMIWIoQhN8u97V7rlT"; e_fb_binaryversion="AcKf_LxWnv9-jlF3uhafJF72au8F-B8NFAOyQdGlPCRqNhDJEl1sxxJGESV2SaCCt0pdSPkQ-sgwjfpD5KxNv-9OrKzqCioA-Uw"; e_fb_httpversion="AcKcmx7N7M09ZXU5d7CWZWRTS0-UOVpkZawv0Zt8idkNNVwpvw5M_M-XKljs"; e_fb_responsebytes="AcJzjZljgObbWdP1rvdHEKsRlwJmm4rAiAJB0AWxGw6mm57aNcHRcymaq2DE"; e_fb_requesttime="AcJl4q6Ml_deVxZz5rIs6LnKAPHCZ66YONUV_vnB6sg3QjjS01Im5SpdcPOIFQtE3uwVBBlFRw"; e_fb_requesthandler="AcJWiN8-hCGJ9lv9UH9yWAsvBnFLopCk1jfTPN7ILGUHXmTPJBlLOdFiVegWaGSqT6bIpk3Gf4g"; e_fb_hostheader="AcIAnCdZ3OlfTgSAGcmNUWOKPkHvtCVDVyAfqrHLfMXc6olpGyGL3Kt6bvZBx3rQd67IaCkgGaD3EoMG"; e_fb_requestsequencenumber="AcKv8-TS4TEwBVtVRTRfDiJOW2zb8huH_KwBNWEXkUnS-TFhFB5lQEa3MtEnkQ"; e_upip="AcK0GJfiDD4CTbYmz_szXMR-zaTZzhPrsuR2FcwptT1S3UPMUlsf94Pl6A2l5vKi2QPASSiXGGijwWPWHzqQvZ_ksY4s7ceuDISn7g"; e_fb_builduser="AcJkHl5niz7-8k-VxARE2FLhMVtUp8R-A1wA4TrKiUZrV-13iwXoie7A7-dIk-uJtWA"; e_fb_vipport="AcK7UO5Ph_xB_e8Jp4JoPSUzqOFf5ekS9AZzQzAXeqx8KyM5nPLEGrkY3QVY"; e_clientaddr="AcIWfw8DVQX8sCPNe84iwRqaYXRWTh0yka0WjtTY8mgKzjoO72lxiI-aad7QMriJZ9htRot1n9Ce9XZ_JwRHgjfEapfzTN14xlIG9o-Flr4HWNAX8w"; e_fb_vipaddr="AcLNbiW-OQf0uUukwHlGUKAsir8h2-w05Cwu0pmZzL5105F42XZXN9XrqgZR4-4HLYvUYl_sHsRm_Z-exEIk9p_rI2tGv5oVJQ"; e_fb_configversion="AcK2yBlBSqpHT5WXqaCRjjo16ZsZxOT7lItmg2yIPZFnsaJ-OGtEaLR1XRNc7Q", http_request_error; e_proxy="AcJULd3VtyhXx5PVhKZLX5Bj4a2yMmZOYtn8OTd8piOdlROFIzvl8vc4IVCUvWOgcLadzmNJYP5guat_"; e_fb_binaryversion="AcIWhiRHVSsJ3Y7VVhSJYrP-dXV8wp0LQEdEMKULfO53cT6vVMym1Tw387DRsGklSiMUsVPmfw72NgZA6rLhH8gz3cX-UdGgGCw"; e_fb_httpversion="AcJPUOQBr9WZoQ2Th4UmIxin4zgt0jl8MTvQ2FnDr4OVyYmc-htHQKK-13tN"; e_fb_responsebytes="AcLEEtW1e4aYJfYcf-IOajr-WAhPaa9t1z9meP484JoSunFWM8Q5gi69ZkMQ"; e_fb_requesttime="AcLKXBEicmtSQZYjYZfWhhfTl6ayJNm707cAEqi-Pgc9jijqeCZwgGe5bTmFV4skY6o6fxVnSw"; e_fb_requesthandler="AcLfHGeqOvWUe8uWcZhqSstZHqyR7kY1LpyoNjaivEEfYtILiY1eiyy-Iji9893bSuy567jXc2k"; e_fb_hostheader="AcLfQQIx4h4SJzfPOxWyhvXH8MemPdWnPpbDPTSAXunryW4F8U8yyfSXPoebu5tYxHMRAyA8y23T7QT5"; e_fb_requestsequencenumber="AcJs4yZEfhqoNcRjryIs3bins4gAK3UHNDmGWTM4WUhdXWXXWIkU_zbvsA"; e_upip="AcIJnj7CEn0CEgKVjwrmQeE_t5IS6n9Pidykb4X0NJKWwZSbIP3SNLg_FvUJ0m9tgqV1tIl3wasLPljI1LBIu0fvSLmKgHqMkA"; e_fb_builduser="AcJ1JrrlRKxUX7QXcgWohAg7YfAgiPTVht1yYILkGQcJQNa32WZ4FaxDs-Js8Qk2_s0"; e_fb_vipport="AcIfLK7FDzQO-b-80p5cOuYjrbz2s28d9tjbcbc7h4Kh7nkv006b_BOgZBMx"; e_clientaddr="AcJEemXqRPnqwZeI1mltUyTkjt5bn-RWi3E1_rnCW_ae8jyZFv-F0U4J_bgloXJhwRw7lN1u9VhLbzsqdQ"; e_fb_vipaddr="AcLaadaDZr7CCaUp0X3qntfvSOWcNkfI9aQC6k6OKuLX9dgmtOu2m2JkeFp1gdOJHIhXESzTKg"; e_fb_configversion="AcK0L3KYOwqid3rLOsstvWLw8KBuakRzehz1UwS6gMBHLkoLJhkQTJh7U0KKvQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=88, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7677102332398585"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/15/2024 19:33:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:34:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:44:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:45:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:46:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 19:47:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 20:54:14: Marker: 0 | ID: 66be6af6ff349866cd5151f7 | Error: cant_get_message 08/15/2024 23:06:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:07:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:08:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:09:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:13:50: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/15/2024 23:21:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:22:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:23:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:24:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:30:33: Marker: 0 | ID: 66be8f99ff349866cd51532b | Error: cant_get_message 08/15/2024 23:42:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:43:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:44:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:45:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:47:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:48:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:49:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:50:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:55:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:56:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/15/2024 23:57:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:21:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:22:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:23:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:24:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:25:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7899333210114874"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26679440, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgxP71TN_rOe7oo8E8iaY8h', 'x-fb-trace-id': 'Bx/SjcAjtBb', 'x-fb-rev': '1015718097', 'x-fb-debug': 'uzOJgyFmi6NbVqGtlxYDHCTzyFLAroQL81nv77AOSYTdaJ/xaYoHAQHBYwInwar4Q1jhMH0mH6dEFfJzdbxDug==', 'x-fb-server-load': '30', date: 'Fri, 16 Aug 2024 00:27:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJba-HFOmr2uGC6H8voVdSfPgDeMtink9xBizrNDuBbzCEbCn8rcLdMVHu-qBc6MHs26A-dtX3avF30rFv8"; e_fb_binaryversion="AcLaGxpFKFknIr7m_9QNcHkiZfaf9wC-9ckqDlGyLcCY5jeDJDFkkOu7-Q7AwKMXnKnVFnEfLupomqm-Dii1bHGBF7L7oAZ6Lpk"; e_fb_httpversion="AcJ1YIcvFLfkhlbKdNC1yVUtHzl6B9NkMbvg_LT4SCD4ytpueGvasKxnr7s8"; e_fb_responsebytes="AcJlwphq0O8n_-BlQSLkjFoeEw8LQzMFEiLAwCcQ8UaQR1gGwqHYJCo3uVJr"; e_fb_requesttime="AcLB9-OUfgE6yP_49nuOFb5n2m2CVN0t3QG5MHxgZJcsIb5DCvf2l61bNvUC5KmJAAfi_ODmhw"; e_fb_requesthandler="AcJXC51FSYyJOb89ocE35JuDl4sX_iZpmDlxq0Vsrl-I3OUA8tSNo9CJIGFBWE5L02b-mo8U_8U"; e_fb_hostheader="AcIXfQ-fJtc9lpZr2a-OjQAYDcjtu9uYrz_P73c3jQpZKzcVH-kF-2TQ3ryZeSGUAkFqsUPECQQ_78lh"; e_fb_requestsequencenumber="AcKaADT7bls6lNkhxuKs1wW1rR35OkFXB7nLOf4spSz4u2zDquufwu5TNqMD"; e_upip="AcLeczVto1NaBiHrW_02ZVthC2JEHJHKWVm7RqJthC7ds9unrlLzPnCRFrsikDl7j75XvxWJZz3vupmCJDmYPzBkts-su-Gx9A8kRio"; e_fb_builduser="AcK4gWlPX8WnLLGPFYRA5BD1H4bdqmDo434DqHoTrpeXOYPKu84JrjSR6hdeKMJpbwI"; e_fb_vipport="AcKT2SS19nmCuyzPrVyCtlhM1cK8GkIR73s5JkO2Vh-WuG5VVV5FPamV4PBL"; e_clientaddr="AcLAG8uV0TT76y5znv1QHQ2kqChkgwThoH0nmGiMOQLWG5sfasfBz7SNJz9ugMxuyMIWyYod2G5vdZ-1JTcNbvwgKFhDQHGY-UFxmXSFFCfaipb-kg"; e_fb_vipaddr="AcJHcyQzzSL9P04RVyhSO3D9NHWdm3zhjrjycTd8ZEyVmAWNoPpC-lMCnTHgQSxPTmfOZohuzbUlcNt3gM7GhT35GcM8SHUs-Q"; e_fb_configversion="AcIReF_jaT3RFVXa4S1dyxVqYPJJWnwTUsHzF4eZ8e4C3eNU_Vf12-kItGMItQ", http_request_error; e_proxy="AcJ947WX5fui-HtQGlTIOdFAGedRzlb7xthLtNJ2Plli6CCFpx0gnwMd1Rjb8LK39-hU7KF4VOptqM4"; e_fb_binaryversion="AcIKrgK6BnP3g4GcarJareGVyX_N4y7fbJIcvwrfTXEUlYCsg8T8wZH79inwzWaUTBQaXLvJFxDcwcYFGryTSAJlBeupq4mIdDs"; e_fb_httpversion="AcIN8AqZCNxJ9bOFUtNozls9gM1PeuC3c-EJ8sHQkyNy80LE94Lt6ofZSxka"; e_fb_responsebytes="AcJ0T_XLhMbN8rfsP903Gfs9Zxoob-k63GbBqAvrhjBcoyBjMgZ8UvaTJ90K"; e_fb_requesttime="AcJ1GQiIxF28nEWct8OrdLV5VCMsgcQP9HoSqTcNb7wAdAGIPSYQiyCiTvRdjJkXR7CKFS5hGA"; e_fb_requesthandler="AcKCi6O9ypD3nwaPS9cF4WpXRqueNNEDK7s2JBpNa11g2xHdz86TXQJk-4YAs2osHZnTbZpqEuA"; e_fb_hostheader="AcIyLUW1-boq3I78t-_LgBg8oJNuPZDpm5BkA-xUOv0181rjAWhQKOzpPb--wR4Tydqm35ScnQx2t_xe"; e_fb_requestsequencenumber="AcIkWISdUgRysmjKX0KHjcdkizgDXhRUp_2Sdo4UWQgGXD0OkfpmDMJ9sg"; e_upip="AcIbsYzFZQaW05UqSAHRO_UjuhMru6ZMax6lFtFLOVkv_dT3mlN4QxjdXh0igQDFNYpMGoiBbIJKTYuQsc136oiYZcjl1II7Wg"; e_fb_builduser="AcJ6RQvKVUBO3zwgCotmTqpkOuJttwTm7f8NBP7OXUhMfd0OsqD6lCRLBcKw2bZR61E"; e_fb_vipport="AcLQ3DY75ILdbFD28kJxugwQIhCHQQntJX0O2TTppTSo-yqMvSaYe893vOKI"; e_clientaddr="AcL5Hk8lG9XAr-o99idqEDKCMtAGPFH7E2OZq0BDL-HTmNb23ZVag3WJRyXRXV7QPV6O3ZFDr4usrI54-A"; e_fb_vipaddr="AcIOOvrbw6HZDqAJqEdqXEts9R8vskXy_0yT8XtuAUuaawaV408NCX2nUxyGr-UjWUJSHQ"; e_fb_configversion="AcLc5-i8TSITvFFqvck3Jyh8hCVd7PBKMSotk6DeoDjbvx_0ZBTNwCpTimPsiQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=224, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7899333210114874"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/16/2024 00:25:09: Error on send one message facebookId => 7899333210114874 08/16/2024 00:25:09: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AZSifbJx2moajwij1amMSRM" } } 08/16/2024 00:25:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7899333210114874"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26679622, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkUvfO570NU6ERowdjxuCcg', 'x-fb-trace-id': 'D5t5vALvlJN', 'x-fb-rev': '1015718097', 'x-fb-debug': 'WfEBBvknD/XCT1tksUhHNIlQKlbRMuiTG9navzth/VAtkVDJ0J59Oa7TGZ7egIj2Usio29kecIXyXYwMIV01zQ==', 'x-fb-server-load': '27', date: 'Fri, 16 Aug 2024 00:27:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKsLdu-zP64GoVWdrzoHnJgi4GtOM8DI3OBZDe9ZlNOcRBr9B2hL-mL3DOWJ2MTVvFmAuaKPVuK8She2gCa"; e_fb_binaryversion="AcIzIDZrnDf5sjE-DSU6k8FyXpgKYwiSbj9UdUKwz-l0DHs5YHt0CYg1L11ceL3afst7wCJHZ9g2TeQfhcj_5SYtwuqq1HSPMOY"; e_fb_httpversion="AcJvbzR7rk8uJu3TdwSc-df4OnQoV6cXJIZuUwvhrHswQCTfJvqhdWXoXzP3"; e_fb_responsebytes="AcI6S-4JRBhBO-K-qXLJE6bY_FPjmtFPn6zqLQmGTH-F4EfZfyNrkc1aZVDs"; e_fb_requesttime="AcI44UA4okhqnAf-l9Q9mn9tnCUv8NRJQGk9HaBJnFhkgFkbv5XPI9486f0YofUUznUSNmirvg"; e_fb_requesthandler="AcJyC6aJ6wavCVbovVDZeLnBTU2OTjK6sp-TdAVhI8a5l1WxrPUTO2GgIUH0q22ace85yjX7SQs"; e_fb_hostheader="AcJbF6KCT0rMp-YvroEPotakrEh8kLQ6hUMmBsHUY-5JYEhua_RiMcD4EwsrMHiUJrBbrm4LX_Iji5iB"; e_fb_requestsequencenumber="AcJ-fSMZ_GnDQsuSQzn-foEmpkp_3pMWY4i_Wokf8bKA442brXTudOBSsZvr"; e_upip="AcL0jiiZgXxQqY16BkfKpUdMv7_zvc-iESaPacKBXYZ8Vjt1BuOigv8kPHQbwQ70P-ThCq41E1yxf28-yvelIb51cIyQornpFkwrxTo"; e_fb_builduser="AcL0M6XnXdQBdpsSR5pf07IkJs28NAK52ajGlsl0TzQC982TKUqYytYLih1UcSlxktA"; e_fb_vipport="AcIB-HyukkPfCJPQmjLRhAiMzzs1xLrMBwcuOCpeCGaCjv_XAjAJ3nfQRchM"; e_clientaddr="AcJS0cK-ZDCLumVMSNstWjlsTcrQPwCiY8rVfIxN5leBK2K_hXpw4GBKW0E94vmSnETWzoOzsAonGGfIHDdlKKHx6jwMCnxXxz1qZkVZLOLoG-CfhQ"; e_fb_vipaddr="AcKW4BxkFxuRhQv4f56Gycgb4MgxFj3q9wmpuNbEV45ZL17WdIQAgtSA-Cjxhwm7WuOWwrmgpKHVtZN6pYqn0-l6QCcDW6ahWg"; e_fb_configversion="AcIihxhKSirqds3zFDeFjk-yDfv_qaKU5llFCQAyVEgAL19l3vgSI_QducEmTg", http_request_error; e_proxy="AcK7NMnwnWjn2_8cDi0dXi-b3BA8M6TbjFVS7loyInTbsQEP34SHfVNpTMcNuGqRmVwHYNbwwM7SXFs"; e_fb_binaryversion="AcILT3vF30wGCT5oTmgD4MHh87UXmEsKqsUQWLa9GdiMos66bODbqcKjZwzydSxq2K-_GVxXfR4J9SwpkQQC36OprtTNDpgdvJM"; e_fb_httpversion="AcJYNS_x-9s_kYyN2ZQGbZOVShCW3GEbiFgkDsyMnOkBsSt8ynqjBZZM7FKF"; e_fb_responsebytes="AcLdmAVIxReo3tq2m434rXydR0e_3vvVxUiIuhNRwmHUPctpdaUsPR7hFRfx"; e_fb_requesttime="AcL3iJ478OIjci0SaMgymkMfUEfSkupPn0yYVjahnKXzz6wVOx7FlnCaNGr3Dq7WiEArIVBfgg"; e_fb_requesthandler="AcITzBoepVWWZE6Sjtbkr5UFxk3NDDt6yAszanP-oQ902Ssk6O2fPStR1b0vk-2kfJyiai2bo0U"; e_fb_hostheader="AcKqurDBam1RGnQknskEHZwpar07ikKtl6HNVWir-bgNxBUQ2WvvIRefiM1jJQNa9uM0_SW5YG-VXM4U"; e_fb_requestsequencenumber="AcLTxlgsPYjh153prllDZIc9gnUvKKl492MiNx2Dcy5rn7Ri0Nu8Wyyl3Q"; e_upip="AcL2J1w4c8ECX47Vtr88LY6oinXdvoVtU1_4kT7iluwP2DobwFlc63PIVISKGama4yQXBpYbgsGspiNDUpX2M9ibusEaOdmXeg"; e_fb_builduser="AcLJAwgwGxkqx_fJj18lHoueT9_ZM5ZHm4qeKn88DqV9CCgofN-AWNFXoH_myqNEhv8"; e_fb_vipport="AcJFy2Bqa6RKJrHzEjTT_aZy0QpR4JsGmOQ516bZYtqEOiQDIKBT2ugDKk4c"; e_clientaddr="AcJOAlsJ237FPlpBSY-dndLRmnGQKVBS-d-1oHANAG7ilQoPqZ8HMUKzRLML4pVYL5mwEpIh-pEvY5HOrA"; e_fb_vipaddr="AcLH8_VRUesQV9XDs5iE3PZbtyvWjHzm9em3Umn07a_UDlPzV5L7quzS44oRfA85pq_yXg"; e_fb_configversion="AcKkWTj5wH4uoStwFAmTcod07hfsW-hwfxjqCDLHTXxwf4MUq1VPbhKtxPdfKA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=168, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7899333210114874"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/16/2024 00:47:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:48:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:49:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:50:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:55:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:56:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 00:57:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 01:24:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 01:25:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 01:26:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 01:27:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:15:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:16:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:17:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:18:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:24:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:25:10: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:26:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:27:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:54:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:55:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:56:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 02:57:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:05:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:06:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:07:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:08:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:15:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:16:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:17:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:18:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:37:01: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/16/2024 03:37:03: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26722316, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 16 Aug 2024 03:38:56 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/16/2024 03:37:06: Error on send one message facebookId => 7986244978160514 08/16/2024 03:37:06: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1104c9d0-5b81-11ef-a70a-fd9a3decd9a5__1723779536621.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Aq5jv_jYlSs0efqPLI_Asc5" } } 08/16/2024 03:44:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:45:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:46:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 03:47:09: Error on send one message facebookId => 7986244978160514 08/16/2024 03:47:09: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1104c9d0-5b81-11ef-a70a-fd9a3decd9a5__1723779536621.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AgJqiN49BdSy_zvbgeGzPP6" } } 08/16/2024 04:05:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 04:06:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 04:07:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 04:08:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 04:44:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 04:45:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 04:46:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 09:22:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 09:23:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 09:24:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 09:25:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 09:38:40: Request bot not found: { id: '863113247096430' } 08/16/2024 09:59:46: Request bot not found: { id: '863113247096430' } 08/16/2024 10:22:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 10:23:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 10:24:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 10:25:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 10:32:10: Request bot not found: { id: '1591915494408146' } 08/16/2024 10:33:21: Request bot not found: { id: '1591915494408146' } 08/16/2024 10:42:21: Request bot not found: { id: '863113247096430' } 08/16/2024 14:57:36: Request bot not found: { id: '863113247096430' } 08/16/2024 16:02:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 16:03:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 16:04:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 16:05:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:02:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:03:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:04:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:05:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:12:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:14:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 17:16:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8225630320790381"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26871331, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AZfFyUsRCqmW_QAd-FC4PNz', 'x-fb-trace-id': 'AyzWt/gehLD', 'x-fb-rev': '1015735961', 'x-fb-debug': 'TzX3j68ktdtAyh3p6kcnVXevBh6dzgY990+b8WRARpVUR0dUveeWz5dF7yL5W41huSIDky1PPc0ILfaT3ToJvA==', 'x-fb-server-load': '39', date: 'Fri, 16 Aug 2024 17:18:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI5OcAMdpmffOsd6dZfJUm7xk9s3cdxkr73GaohewgJPf4thg4H7YKQbSgDD7kBME4jVsk4zqxXjR4kXhNW"; e_fb_binaryversion="AcLoB6a8UGqlrQLct-aWqMs95SyrCseBeL0lFSSN_am1lt8pNKCr6C68eyothAG3_eYvChqqa29JOxJfHNSsjn-IN0-8kW5Xt2g"; e_fb_httpversion="AcKA7eap-VaZykyZjSJjL7I589TU8kt69vm7rwhk6m4ah1fRBMOY1APBM7a7"; e_fb_responsebytes="AcJbvNc0iF3NPYTCC4U-itbwqUOovB__yfYxDVP9fdu9MvZTHiLA5bogbvCG"; e_fb_requesttime="AcLP5aS1vWvoy10_YlKdPxIdA3bW4tp9vnAsWDSa0EMrayVci0yX6iJJz_HnLbjpUzru8X7nRA"; e_fb_requesthandler="AcJgaKo-sqjGoFWe9Z7HlSVIRv5Od4r7telWcTDfCCt74qaYpckfYTk1PXegOlZ-bKBMRxl_9SA"; e_fb_hostheader="AcKt2fEf1XUE5da9-TXnSYp3_o146yUltmdYpSqPGntEQsYrYnY-_w7AkYUPbmIO7NTlgNz_78TDHqDM"; e_fb_requestsequencenumber="AcIpzTpcHxx6yCT5ySdca28UrZ7tVKDA68zFJwEWcJKJfse8oHCiNUyw7cDh"; e_upip="AcKaQBGFcxBmj5N_0COGRJJv98hTl5TN2HQfIQfoRDm7Tkr1y0waFNVVBOp40qCPy8BTRmS_HPZKYyLVeOwCO_23QAElFYqMoc4zD60"; e_fb_builduser="AcIEp8TZmAklRsXQsN6DxqM3fJxK-NZl6lhHDSiL5u7p8TryNE0m0KEecUUEhOnv8wQ"; e_fb_vipport="AcJ1FPZMhRi04KoKudKsSodLW4c7pNyDrKwOQMqPWh1d_R7Zz4ufc_ZEeYxF"; e_clientaddr="AcKdm-uJ7PXFdouka7HZaZ3q94gh_wZHn3C0cfOxmBmrpOfR20SAsxat6tXMoRhLLq-TG9rhnZ4kCJPHmjYWGRMlhbjyRbRWGe0QiL3W4D6M_YjLvA"; e_fb_vipaddr="AcKft2USO4w6dgG69eMh-NFtWu9zTjuqI9r5x2vGX3JzzrQ6-JgtVzJtzUxjQ1ooEjbvH9QhcPnw3RNDZO3i-56AZvHGKgErXw"; e_fb_configversion="AcJNa4-mKxPVSRJP-2yOnAUws1FBhN8JMT7Kq5s9UyDWyBX5bNU8ZauJOmHBFA", http_request_error; e_proxy="AcJbhChj5IZ3qkfWyWaqTw31s5VGvMIfTqbD_ZXabtbJZPIOageKJ0tvvcAdD74kVhMdGWfSQ4uMb5s"; e_fb_binaryversion="AcJQKYNFftH2UlrKDDzQT7p2Cib8u6hgE3Jnmcg2Ys4e3xlxrCYInp6Yg7WDAnY-4jEz4zx6Y4scSt_ju29VbB3XAVC_7pCLWAI"; e_fb_httpversion="AcK55Au-snEx19ELMFx3BZg3TH9rTME0H13qLNZYh5dJ8KvTiO2Xk7wc0Lr9"; e_fb_responsebytes="AcLVBShyA2q6a4HmNyQGH3L2ubAK4fNWiSKMK3h4YmsDieZFK6SQlxjfwu4R"; e_fb_requesttime="AcJyeRCInJYQqJV3WNlYAxAwGdOZmrld92_i3It4RMeoCKp772BNj98rOKp4dJMEYnGXodmBuw"; e_fb_requesthandler="AcJyfztAJOkjfOC8xKKlh7sbUjz1AFOBN1PVDwvmEjhHjw44OB7FBk7uUUsHRmcH_Gypf6U8u8c"; e_fb_hostheader="AcIkJnw2h6ddvTnqVPfCgEJqERygPvwSlGoR5Ubs-d_ENSA7wrCqgkWdIxVIDlVARAowoIhja7JoiL9w"; e_fb_requestsequencenumber="AcKOxY5-BLAsHhMxoZhmM40ckwjew-hrPEzqvhy6n_ObzKXnnqQIpo6XNQ"; e_upip="AcJPPV7hxfkk384zcG3mkiEHXkezInLl54p8MTcRWpZ6DYk9ngSbNm7sVWz5QKtgqV1w0OhDMmfol6Ha6MDKVYvY0tcBFcAHTg"; e_fb_builduser="AcIjTciohZEAAgjU5dFJ6vxOl3vDS7jpPV0iNKR4QmSqSRYR4NkOp6i_F1iykH6Esmg"; e_fb_vipport="AcKRcP6mbVqNlmk9i91JbPQfHUTvN3HIFN2lUw7DU4XuutH6vWtBLUTQr0l9"; e_clientaddr="AcIcvUMzbDMfTqTQ6kGUFhdYZ7HgxV2atYbCrtx79u-TcZY2nEmG4MQQNgtJsExwQ1MW_urNla3Qfjst6w"; e_fb_vipaddr="AcL32js_ITjVN9eCAucoLPPghIqx0UhKED4FASHD38CN5NkATea2uPYZIo0VoDm7pM7j_Q"; e_fb_configversion="AcJgdcOLkrpVzA2xF83LgD2kOjkOV-biDt1yHpb2yNrF_9jlRQ2VBPk0J03v-Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8225630320790381"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/16/2024 17:16:07: Error on send one message facebookId => 8225630320790381 08/16/2024 17:16:07: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AhFLlu2Lzuzl2UqvdW9p3h0" } } 08/16/2024 18:12:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 18:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 18:14:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 18:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 18:16:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8225630320790381"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26881770, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQXLmaIDpLOfuBBcfQzmT30', 'x-fb-trace-id': 'FKMa6qXQ6Mp', 'x-fb-rev': '1015739156', 'x-fb-debug': 'FtgWuzohNs3YXl2Rt985OVtEM+T2jDq5WjGOzS/QWb/8cfFahnY162ah9j4+CEqfqRVcel6va2UZeSmmaEobKA==', 'x-fb-server-load': '32', date: 'Fri, 16 Aug 2024 18:18:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcK6OXCiW86_wGUPGYTKXg7s8CoUry2Oh10_ey6XW7TlwJOm-KzmaX20RGrxtlqS4zQiLKdaP4PZkV53i7rR"; e_fb_binaryversion="AcKcEAIVSRxCJmH8u1BCerywSs2CDPFjiIDYF3-M8iJuEDVZcRPYtgqTCS1KSGPS_nef-xpGUTNRIOQJNIv2qT2Sqe7vLHN1sgU"; e_fb_httpversion="AcK6us5e8awMPagOJ_VA8_js6YiSFiEKETwEoCX5Qtl6P_KxssO0C7rF83GK"; e_fb_responsebytes="AcIqQpa3VVcm6ghzxYMFrBdUcKRXh4AtiTHeJygX4eBaQzGjZ1w2YucHCupP"; e_fb_requesttime="AcI_dl5Tr6qBYbb7XsYU1GhCmHevrtwEetnkX7ZKlXOqmwOJlteaLfBwP79tGD5SHTGHRNupWg"; e_fb_requesthandler="AcJ7lie1NkWTEzwtmZAYQCaUV-SjjjHX63hDW17MAFb2aOv74LeUXF9shtFPecJ_4rYKQmvHLBA"; e_fb_hostheader="AcI1Sv2UrbfBWgmLZW31_xQaOAOiMpj1lvuhac_oegYMnFf6v5ZApdVblgRwlxsHE2vFJ4rFiENZwTMD"; e_fb_requestsequencenumber="AcIjtMAwVhF-0bJmCIgBPwIPGAsKEtIkGsjZzsrfzHcNZFJo3NMHKmuPSNUi"; e_upip="AcLRUzVPDz513Kym6SB7JC9RkvSnt7sANw6MmeNkx0Yq6QQk1rVT1eWkKZOH55fJ1c1_PnjgJE6neGerB1w6UmWzRGH99xfOB98"; e_fb_builduser="AcKasmRWjWBdLBbB6UiQA4QELY8paz1AAvK9lzADG8862J55Gq9DKU4qsosv77MGCXQ"; e_fb_vipport="AcI8L7u5-hW2rHHLweOnFDRNstBvoeoVEZhS4_QdA2lNViY8mSAYDiS1j2Lb"; e_clientaddr="AcJq25qQAS_wRB237pZp6gBdyapjx-H0BfjIjMCN_s4yw6xAeKUrlsoHq6gPfQ0Jrda6v0kHjr8I99LgGtV7b4IdfVi-VPBOxkN_8ZpEnSgd2_hi"; e_fb_vipaddr="AcL4Sp9IjZwsARfVvhx_qvYJEXuAGS4EuxPn7zeRUstZtZuyQTce-B_3JD6HOV68iYoRo27H_XtEDKJ5oqUHsZDmbhIOo82u2Q"; e_fb_configversion="AcLs6vl4QidfJqvJM9KE8qOHoY-si5kc9Z946dP181-Jw9rTWjikl2fYHbxvzg", http_request_error; e_proxy="AcL7WL6PnBXf9GnjstZF_taccEI77p80kcsqiiRtBcy9kvGuJwl5vGvIHu2IGjO5d9fh-mGuLDu92wZd"; e_fb_binaryversion="AcLO6iRP7zRdWceTRhuve7fkUeOdJdekC1pgbm46z2VwGQGr1Humr_z5O80Wg-ax3Od3O3RcLjhUg2pPwIqz-I_52W_BlRkXODY"; e_fb_httpversion="AcIqJIFP_kEt2NeaXkFD3dy86UAiMjTMxXZfnIr7thXfrtSXE53HZujeV1AW"; e_fb_responsebytes="AcJtR_VkGBWPM57GlbN5Gh7VOxjKDc8zHTOZLG3AQAosmDHDEiEWaIxbbi2M"; e_fb_requesttime="AcL4XviyrS9qtoYnq_O_bIFPlUYYIGxf0y4vH3g8qVgCGGBWdhCqCINV-EcVG_HJ37NRP1isxg"; e_fb_requesthandler="AcJ_mv6srzIwXoUrfOwJw79Ywek9ktkw7SYUL4fSSyOb4bFWATXKDn39yOKHd1J_l6f82cKM0UE"; e_fb_hostheader="AcKEeKnmWeDuup8NJ2Qr25TXZ1IfIOVN6hufMS5ulaxiQ-fCmC-HymUE4BdiMjwi0bqliThehhIr_WOn"; e_fb_requestsequencenumber="AcIfas7KAC7NE2b8bfq8X7tIuAyYHQW4e6y95ZMWEWnxyfNFGZyGdYGpGA"; e_upip="AcLqGzDiTonKV3pCblkVDbG_9gTpUsj3Ft1xMd06EJicLUGLFZUeXS8ejUubV1i163wNGCIeTPf3WUY-7CJCOZhrl9HFhMO-tg"; e_fb_builduser="AcLgJ6ykjHQW4mt_bc_VUOvRwM6NFGhGlDEN7X8FA2EU8TEfs-0EWmZzNG2qkFW5YSQ"; e_fb_vipport="AcKG3PvoSGuIk9EMNdRQNz8xGAXU9F9rRLn1k3W41yikvfb4m1NBpK8rvI8N"; e_clientaddr="AcIu-9iK6PdimaOYzoT0aBWKZWxRkqIHJoWVqmaB_oCI48k-Ti5EgVb8FUiOALxvkQ4frKNJ0-cNHzrp8w"; e_fb_vipaddr="AcLPZQuznLX6EqRmaVpsvYaz4dbHbqJYRkX2os8-ZHnTncdB7ostK1-f3XMf3QtbxKcacvXCxg"; e_fb_configversion="AcKktQNF17Kv6CQS7L9cAi4L1fs-n0bj2w2-xiXMImcSSPxsie9sLR1UtkcwMg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3407, tp=-1, tpl=-1, uplat=89, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8225630320790381"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/16/2024 18:16:09: Error on send one message facebookId => 8225630320790381 08/16/2024 18:16:09: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AUVw4Zs38H4Hamb2AhGnyb3" } } 08/16/2024 18:16:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8225630320790381"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26881936, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMRUFjICJhTYbEp_GO1r2gZ', 'x-fb-trace-id': 'FNATPC+/9CI', 'x-fb-rev': '1015739156', 'x-fb-debug': 'qIMRgD6U1Fxg3EXU3YcxNfcI+oMY/koTe8EgItoSZKjf2YeiFwca1r8LWtH8LovJ66UypgnAUscVvWkP746l6w==', 'x-fb-server-load': '27', date: 'Fri, 16 Aug 2024 18:18:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIYTv79X2Y0gqfbIij39xHaYApEoNE4BIcjF0hGMHDsA65Ot6r0BGIh__OiFhbiMpb3yqsyDECvRwfdyFM"; e_fb_binaryversion="AcI6vvRZ1Vq2A9TIa4Fo-s8eugN3lZOiChNKzVOijCVFatgHpgR10zEZpm4rRSMjS3NQUe31bGDhWjGgmBtDKTDCc0b_n1nRDMs"; e_fb_httpversion="AcKovyyiE7Tq8Eaa_Qz0nsmwE2jfYfj6KjIp0dsyOBpGsrf4fatW0qritcRy"; e_fb_responsebytes="AcLoUcZlrUDt5W1LNGqnc3TufhIeuGKQkPVmhG4gnzkcbd9ESaGLxOutQ9NH"; e_fb_requesttime="AcIqdtDuof90l_prPe7jwj2c3st5eu8-bJFK8mPvK-1p3YmNftPnjsyM-UBnTdDrYQWwzx_Rxw"; e_fb_requesthandler="AcKo2e-8P7mCVOEjpWKtOiBPeuPiiW8Mk5J3dzVV63l1UGHGLa0FDn3tsogzOgkI5xh32ojjEH8"; e_fb_hostheader="AcIOp1eMn7psXlppL3xkhlNl87L-JXM0CUigzY2MKI8GDgxiU4HO1YowWeqUAZBZEJ_3aI0tCvXrC4VZ"; e_fb_requestsequencenumber="AcLJWRVnOMkDZl79Id5cR3jVlShmiAPzaO4bNp6CniIjG3XM9V1x8hDNCyPa"; e_upip="AcLiCBZ7buyekL-kP675y8ZU_E9Jrisgiq9omUQzVYNh88KdvL5Z7SjdLMuqX1E4mmiffaqFa-RoAoFDx0raZriQ94RmLI0m8JcnjUI"; e_fb_builduser="AcIafVM6ljxteobGhFhBEE7tx9TkatQ5yCbt0i4hMmnZxpOrZW4RB-2Facvwcpo3QvQ"; e_fb_vipport="AcJ_rzmlREiR9FHL1duEGYVRFQl_Os4cIC85AlmiHZyNBPZ5rf9fgSCBicEv"; e_clientaddr="AcJ7vdJiOS-HIMY5UfyAxKX3susw5x-G1EgDErpd2DqwwnkmGUoCgD5T0gLto3Y2OInwTf1LMrKRcdicKk7kk8Jc6qg1IZYCiofSVGC_TQbaEwbMqg"; e_fb_vipaddr="AcLUMeSZ_gsJ1N33nLaROg5i7sgwSw0CoeCrZmuOFjvr2hOhHIAB4iSMRNSTigYeWSrZHC7XYxxQXT9Pa86QgNsfjRdU4fgx_A"; e_fb_configversion="AcKTsZMskvhSf0kmFGZjvP5gZ3MKc7AD2egyZI_bIZ4MWCPGOGrXHmsAopQpGA", http_request_error; e_proxy="AcKOV0UgkgpGQyZ2TpriYLuDa15iX6It-Gn9QdV_oiMDSfe1NBhTouLpCeFO4KayjKkWFkngtuShlOG5"; e_fb_binaryversion="AcJ8rfn_kA6Ff0L8iQEwYgVCEVREXrKlShetd3FdgkFrL-ZTxeJh2c0guVrPLjfcK2lTTZUgPYQ9YSVYo9h9Zdk6WrEaupyUtKw"; e_fb_httpversion="AcJczsVIlv8eSMg5CaWw07ZJ4P-yMHBpGfbgUF6Nd-m5bTtiaMHsWiat92rw"; e_fb_responsebytes="AcIGv5VS-a8rPEW21qyoeMzF5R7xpST5fypR5yO0O2LJFEnZIQMZxYA4SEuW"; e_fb_requesttime="AcKJEaFHHUuzUiqDjGtVqXh-Xbs8S-9KpLyfCF5a_q2Zza5KSyMLiDqHqOXb_AQGl_X4t4W3lg"; e_fb_requesthandler="AcIRBw3t_-9fbV_TdAKQ_YcFF9iV8FKNY5oflavon6X_lOQVvNFSYjZi70RKqaqwJMdAJW1sSCA"; e_fb_hostheader="AcLsAnJ_yX7m_pDdw6CbHQvsUdHPsoeh_pnLCoud8oZ8ch7Vpc3GKFCmoZOS_jzz4KfFQaC6PnHrUPDy"; e_fb_requestsequencenumber="AcL4CxYmP3xU7mc0EJtcIbDkNui_IOmPgF-1XLEjfil-KOjPVIe3rl-T3w"; e_upip="AcLbGl4GP6O6qx0Sz4bBokJ4fTyu6ta4Adgxcjm1YXwJlOzYKW8nFmTtSjPS2FJHO--rhV4HfdttRkawbpReSams1WP72y19uQ"; e_fb_builduser="AcIfoq0BKfEkPmH0JHtWIMrINXjXz13HkoPOYbOBmsW2lyduVHv_qJO4WgqsVHLI5kE"; e_fb_vipport="AcJ08d2Hwo5hARIu7r0PJ4bfIzmctUMQ4U4PGwThwVKAmXjtn4Dv3eGk4NGp"; e_clientaddr="AcLWngLos9SZCrfXyagTOVQ4JDljzKy89nZWNJlQzt0ADwHmhbL_j7rBNMRrv3WCAwnEfuKFmj7TDLQNzQ"; e_fb_vipaddr="AcLKAVJNcK8KNjsRzVcjSESj9-SuR2ynoDs7HOtgbIG1zoX2pB0R2BbiZ8gwS08ntFHLon6ZAQ"; e_fb_configversion="AcIF1dhnipDmmCh23vc9ps16COHyX56O3tMoCQbkj2i7Di5Qsma0B_SYPXG1cg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=83, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8225630320790381"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/16/2024 19:30:47: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 26901744, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 16 Aug 2024 19:32:41 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/16/2024 19:30:50: Error on send one message facebookId => 7965958843441470 08/16/2024 19:30:50: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/4d6be310-5c06-11ef-8ab4-a368795bbcd1__1723836761025.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A9JAqq-c8IY_td0bXW8nWZF" } } 08/16/2024 19:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 19:32:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 19:33:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 19:34:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 19:38:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 19:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 19:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 19:41:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:30:12: Request bot not found: { id: '917983134950234' } 08/16/2024 20:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:31:12: Request bot not found: { id: '917983134950234' } 08/16/2024 20:32:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:33:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:34:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:38:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:41:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 20:59:59: Request bot not found: { id: '917983134950234' } 08/16/2024 21:00:01: Request bot not found: { id: '917983134950234' } 08/16/2024 21:20:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 21:21:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 21:22:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 21:23:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 21:59:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 22:00:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 22:01:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 22:02:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 22:20:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 22:21:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 22:22:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 22:23:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 22:59:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 23:00:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 23:01:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 23:02:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 23:18:12: Error switching inputType 08/16/2024 23:18:13: Error switching inputType 08/16/2024 23:25:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 23:26:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 23:27:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/16/2024 23:28:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 00:25:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 00:26:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 00:27:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 00:28:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 00:36:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 00:37:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 00:38:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 00:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:03:12: Error switching inputType 08/17/2024 01:04:54: Marker: 0 | ID: 66bff736ff349866cd515c57 | Error: cant_get_message 08/17/2024 01:10:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:11:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:11:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:12:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:12:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:14:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:36:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:37:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:38:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 01:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 02:10:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 02:11:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 02:11:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 02:12:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 02:12:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 02:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 02:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 02:14:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 03:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 03:14:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 03:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 03:16:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 03:17:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 03:18:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 03:19:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 03:20:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:03:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27015970, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgdwHHiIWGt_Xobtz4XD-bO', 'x-fb-trace-id': 'BK3WuTNRYyC', 'x-fb-rev': '1015759610', 'x-fb-debug': '3gWcsRbyAiCUKE67Ro/d0bxFWBf85KU7KrEXfH662SPMbu0nuC+xK6faqp5YTCoCysgIEr5jyQI8d/DWgfcq9Q==', 'x-fb-server-load': '34', date: 'Sat, 17 Aug 2024 04:05:13 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLeNEs4fSePNc5Bs8BKKqmjECMphNBfKLKHuRMreZRUZ1XAapGQ8n_SgaJx2Xm9nsIt4zvh4dPwAPNdfCmm"; e_fb_binaryversion="AcJWfnwNFOCV8HMqummVsDU83VZLllmkJstUrzTWg2A4_VHWGE6YDvDENFCt8oKO_Pz8vCPf730j3RDmFYfL_wzMAYoKq4QV1hE"; e_fb_httpversion="AcLg0e2QYR3r0Uuy9BWQwymuCDNRW44dNktzPyVptAl5TRlNw1qQgb6hOIXt"; e_fb_responsebytes="AcIn0GEAy2QcVaomru9NHIRg87liaEXBtXbA_L0K26x8bZWzPUyXXvJNeUx2"; e_fb_requesttime="AcKTPUFyxY99SZ8cp62xDqsGtD7TK23UKYtSZh1vv4xeDTiIMez3hS3tzjblx9dQNyPAlBgPiA"; e_fb_requesthandler="AcKTgdSPbFbSDoR6jOhIp7QVykZ2VjBJR0h-IUGCVZ3_b1WACfdrhOjGNCvaPM5Q4CgogBASNao"; e_fb_hostheader="AcJSfra8MQoBR24Vg5QBW-FO3nxqeBjtuDEsg1vWV36h359_Woh79ZyXHGg6Mf7RzgUXvrlPwOTFt6yS"; e_fb_requestsequencenumber="AcJFc68qZUqFcqsyZyMsdJ-KLGc2zXEPo7qQHhDS479ceYPL9xk7kORTYIYR"; e_upip="AcLBq0OdRNC0-_p3GcMVhPP9H3vBwqlE5BCRxR7t_lZ0t4BGa_r0hePsP2ZAxgAgIknDJNCFtXbP8rqkc8EhOUi5XO5MLmROeCgY8w"; e_fb_builduser="AcJjIr7D1S0SncTjk0uA3lIRwTPwZVA_djMcd5VIksXMf0FKiKx94PyDaIu-Es3nVYo"; e_fb_vipport="AcKqwRzUbkmG7MMAprYekH764iQb9jKGBhLl_YBSRZX3MCctgyyoYfmhR7bq"; e_clientaddr="AcIzQrwrewadkqdQebzy72bcuGCVDcGAC3kG783jI_vFcPtbEqrOwu3rjtnPpaWrkbb8JcqfTSbGVqJb9YioBTVEwy1N_--OTeS0dE0Gxxgbwbpy1Q"; e_fb_vipaddr="AcKsalv3g0im4rn2QDWcMPEI6kYXyr8IHEJR3YdGSB62E0ibfe9_Mw9gLDeFLqMGfHiMFfDgeUsTRViphHB5xsl9acsdN2qCGA"; e_fb_configversion="AcI_NCpNom51DeTh-Kvgplm9Tpd9SMQovuFsNIIRh1OUPYYR5quaTgC9895jsw", http_request_error; e_proxy="AcJxHBbu15xr5GzkjJKXStC5I55uigD4yFfRu0DdKpQ59O2aZVmPqaEG9DgohL8_lqitO6vI-LPYXv8"; e_fb_binaryversion="AcIJwsmrMYcYWmk7dvAZWmKqO3zvEpOcML08hTKK0d18pVJKb1g4xvPr3XrYFDWqcN6vYf1dv2G3KWGsqKdNTn1ifKA9pPHeYBI"; e_fb_httpversion="AcJvpEP4hum4Nn33G8pvrwCCOAcWZ3fUG1XgB07z_FEgxRJohFAb8OOt9cAl"; e_fb_responsebytes="AcIGdu6uVHV0TSXUtU6vhief95Tkgu015iovzfrZpf9-vXSoqMtKB27QfW2V"; e_fb_requesttime="AcKcIBW5JeOcKvBTkfroxa-IEbjelPBqgn7PYOFlFIiArWl294R1v4GGUjMzyiMBZIvzfjxoPg"; e_fb_requesthandler="AcIrXKm0xaUbRJXYZaz5bvnjigFZPTUBeBkcy86dAUSWVh0EJ0Ey89bbIy5UYkmIqB04qgWY8-Q"; e_fb_hostheader="AcL_A8IUc34_aR42NWpuhCLlzS4HM6WbU3nWJtweTYQlQ7Dd7fSKpVUYNybPd_3_PVcsOKELTsAccKyN"; e_fb_requestsequencenumber="AcJNe3snjIHQ1VGW1y3godcpA37xh8ytIt-XiQV7B2m-4Qy2zSQd7iRnwQ"; e_upip="AcIv5sN9HJ9NAjDUuMxVS0NRCDn53D3zXF8zjBCq21v0l1DcaENim9tdcnY-OPvWLoR8cKG8ZU_s7ALK1CFDu3SX_Hf_yrvcwA"; e_fb_builduser="AcLNWlCcB2D9L5nLoYZjq9Zmvwf1D-n8B8tRHrDgC_UesWwXhq3SrfxLSQJGoVt9ZAM"; e_fb_vipport="AcKEati9WK0YBK1M5yOqxJSRn6L22yKF0py4T46UvYfRk2O-9SZL6juHqtAP"; e_clientaddr="AcJhJl0bg4WHSXlTI6ICTh1JAUpEVK9W3aphXDiaEY3KwcFxLMUEIrsyzDxxrZDs5irBaGI_zHm39pHH4A"; e_fb_vipaddr="AcJpeBwNacKJsglHt1NnWRg4dVNFBiyrQgC8h3w1nhSSODhhqic83UAAbrXxmMpUyfP4nTyPSTk"; e_fb_configversion="AcJW6U_HF4pnpQWYY31UFcAJzl6SAWhl2qtmTOJZc1VVSFJB3xXOaKxg7v9vYg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=382, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:03:22: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27016147, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AO2-pzNyY1L5bdG6iXKiZAM', 'x-fb-trace-id': 'EVf02cXNqJO', 'x-fb-rev': '1015759610', 'x-fb-debug': '7yiIwx8b2GMfKQjSTnJ060fiv5mWe+wBqeVC7hnnlkq5leRR5B1J38p/ZIbK+LmBXIeuXU4BCKj3eQjsB2705A==', 'x-fb-server-load': '36', date: 'Sat, 17 Aug 2024 04:05:16 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLJE21OQ79MmfNwhQ2unuJjrG1Ys7Ljem6s45AzIENB-Uo-rE1MYMfdgwMVB_3YqgGxGWRkufkHjRGeZLkP"; e_fb_binaryversion="AcL9EuJC2IDrVzEZS8G9tDmEnaJqLso7MP7KPbYY9dgmFtvaYx8gm15h_xrxT-UdYUlTO2wdq5TkMPgQgnqnfzpwrqndTXBjIns"; e_fb_httpversion="AcI5bdvbQizeKWLsXZm_u4TECBcgixhT1lpmSYOXru8n3np_UgnkOjkC8QTl"; e_fb_responsebytes="AcK0YX3wpOaqRSLBX6h8147I-p4wSzFPGKOHyTbTPBJgdorbsCzLLonPxuju"; e_fb_requesttime="AcI6JSMnLK--46z1JNpfTlsrr4o80ceBHp-4bQ2Jg-80OUTKjBe5qT4b_KhVmw1UU7h7O4_v4w"; e_fb_requesthandler="AcI5vN1mb9zHFIU0n36lqq348s3-FBWdGH1UpRpkrbJvDQLcccVlFuX7cwlTYoa-pIOtI5JNKho"; e_fb_hostheader="AcKlQ6aczCRzpDA1MFz8URh_XQmjm0m4RQpCQfZxpbFTY9x5zxDY8PotW2bmR2OSWRaTOoUrGCHgan9I"; e_fb_requestsequencenumber="AcJHtfXd3GVCwLmoANsAapeBuO_oJowcRC-g-A9yryR38ewExTnJ8t2JPKi3"; e_upip="AcLRiklLPbyjh2vsiSJoVre2AFAJBygMPfZ60t-xEXEXyWbajMUzoyamUxTtUS_P9R3ks7lDiSYtk7uUybH3FmFFgrlAW8OjtB25dJ4"; e_fb_builduser="AcKyp3zEMZVpbj2zY8Tq-ua94iMU6_1LhFpyAQRXmmyRo53lJkrXaoIFnD41N1I40CM"; e_fb_vipport="AcL-zvoKHyI3CJ99CHdTzppJTd8Z4Xl_4nKOUgeuO_-3PoynRLCVwsHUy6rw"; e_clientaddr="AcI0t-VILKnh30oc3JfG2LoumO2qaLa-gKWIjgRnQfh8UZTTan740tbeDWaDlS0Hs9r4kZZ8pbI1yrtTk_aloRZdZWGRgJCdMkA8H3JrCWWbaq7vag"; e_fb_vipaddr="AcII48VgZ1xNM_Wo2GqfKYS_jBS8ifDxVBiXRJFRXL4aVfV4jH1r-EiStyneIT8EU3AwcKPmaeMB_01e4CtLJQfNxfVdU4oxlQ"; e_fb_configversion="AcIw7HKlTQmZZXuX2Vd2g51JORc-XpIdhJ4JhgMaLbSqmSl-DvM3xmxSAR9P5g", http_request_error; e_proxy="AcItpzpsaxMLzpNNZH-jdM_-rtaScQ8C5_5y_JvEtA1eAcF2pdZDThsp8EVtXDyZ9VPlDDoad0197B8"; e_fb_binaryversion="AcLL2Ssgi6aO11qXQpnXfsvDa5Y-nm-hj8pbGLxgSvlVs2ZWJtOrkcOjvpOtQ-HstH8pXC-mIxTnzJGTYMJxzXSo7ybt3V3YV1k"; e_fb_httpversion="AcLReSERQyOl_LQgFDdP0NwzJMob8upvZ4S1-nBvOF3UGMs43bpjEJ2pCQQ-"; e_fb_responsebytes="AcLLo3zCkrR9Lvb6PSa9pZFzLt1d68-EFlVpC_QsXd1v838WgiQmyx8JUCGs"; e_fb_requesttime="AcJGLvmzD3lq1WmZ9jVuYJ6veLUSxmi_mz2XQhJmmGn6WcXLohNRtNvMi6NIXIDYnjFHyZmP3w"; e_fb_requesthandler="AcInLUtR22NSONOSbAhxKvDpqNd2JpHSLsjLpUsJuZwxava0q_kBvAasUtOvD8V6GaGn9r6eQZw"; e_fb_hostheader="AcLVfi9HAHhbt6Idaiz3-QkDGKQntTjoseobgZy5qTliJapxxhWcCM6k3V0k1EbmzeW_nqH-tLFYdLTT"; e_fb_requestsequencenumber="AcIeBvAZzd2oYOamHD-b1w8FbYt43lljF5AGN5i5NApk2d8OGlUKsr3YLg"; e_upip="AcK_PeopvUPOuQCuWP11vcL8aguI2Kd9cGUj3-u3zJCuDyZyNCxf_PiK6knykDcFqapxbYG4kNWwMs9fBVGrwZP7maVa1b3Izw"; e_fb_builduser="AcLRd2XXSPUi5hUF4kg78QMV76fXBUharlgKCS4qFgmJHTakkVrZPDdLoVALFnABvmc"; e_fb_vipport="AcJ_gLnFjtc3_nmxC7eUOFn9M1eFDLCsWQUcnexkdSByxV9qAwxo3VPfSqV-"; e_clientaddr="AcKAKKvFGoFxCmES7ebsOFB9U1fuEqm_HkhXwP5Gfh8S-ORogoAw5rtUg4uG-u79AxXeE81q1dDR5N_cJQ"; e_fb_vipaddr="AcLtbqTHpHcx29gmWpw8hCFf6vCdKV6uGh9B896oWnU0rC54ep7khklfRJ6YyIuJzQUcVgktlBg"; e_fb_configversion="AcJbxpwEefgwh8QWvgpxs3FPZAzO4rzKZZklLlnZWbvEBbShVx3z6yVITsyRUg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=353, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:04:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27017020, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AK7o7prsmNTwn597lAgeLJ2', 'x-fb-trace-id': 'EwwH9oiP40c', 'x-fb-rev': '1015759610', 'x-fb-debug': '2Rf0CYTFYIdfbFq2J27B+GVmwQjie3ViwDzIX1/sZetGpLyVepWGJsckCXjRaMEbxj8gPmaff1YG9zkic0ocDA==', 'x-fb-server-load': '21', date: 'Sat, 17 Aug 2024 04:05:55 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIN67pzxGwAGdptfGFz8BmqJovv_njQ0vO6EHY_eX-zUTeIFWMpp7dEVPtLJDZZ7LtIeJ0Nr-9qN7IZfsE"; e_fb_binaryversion="AcIOdwtWgIRtTLZJyI4133Rd6EurXcr-Gbz72oP6saycgK46qEGRuFc9lVHRMUUm-2J-5yPlcxljp1dU5ZkfmjqsWn1gbiQxLiY"; e_fb_httpversion="AcL3WVpZuwm0x1BCpekaxwoZij90ncCZPQ7sbjZbrIAWweD4tIj2y1bQsP0A"; e_fb_responsebytes="AcL891SLl7PgyXpa3n2u5SUQZzLQuy_Z2974asRALAq6AZhzOEq2VwIva7xz"; e_fb_requesttime="AcKpmhLw0dkUmB7gUpLBZoxGW0eEx1MeGitBrnStWAeFQf6ffD_oXnCKtoAGyCINRxd-8xXGzQ"; e_fb_requesthandler="AcLl3fUJaDPOukeFer7W9y43zl0K_T-x5G38lflv8BLGxJKeh7yAkeeGXZYcEillbVZj8DkyKyw"; e_fb_hostheader="AcKHEmh3QKQ4x_DJRqbgRebbWHe2WuljIgNQU0csXK3cnK0c_6NitnwxhYb6hdiH-5gDfDJmOt6Rn2fq"; e_fb_requestsequencenumber="AcIMpqF5IJR3mlDZ5KBXwDv_qsDIKA6DMWc6lORFiO98oBPfrlgQ8mm_mIFx"; e_upip="AcL9_t7YreyRr7VPGINWCsoZqMofqzxjeXriBLgh7cur2gZoM1Q_TuSdoUFgsd89tAE1CayMUwfgomHQ0X0zc6NHmpOfuDXIbDDOKuM"; e_fb_builduser="AcJWahhTKNhrJUgT1NpATF9TbktG3fE4IHYTJzAqsZykDlE_IrdtI4fYeyWG1OtBohc"; e_fb_vipport="AcLSoYgSFQfP_tKP43T3tuwa1bS0NnLq19C1OHjqEVvOOIEBOdDGbK8bsJ3e"; e_clientaddr="AcIOg0XAIVFKBgCtOO3W5Gr7TFOxQC7RAANybGIx1JCBLz1EhQN8g2L1k05YwyzHPq5_uuAi7TfMT-eWQv9fJSDtuoLYZ8yLiE2bQ69kRA2Ol_Ol"; e_fb_vipaddr="AcLSStIolK9_UxegI-dxwL1QkBqevJDW3_nYF-vKq_jc0AJrUg2kAok6FhfrI-XpEBssHjnQVZtuS6i694Xtbc9DsSVb8cO24A"; e_fb_configversion="AcJgFIRkFkV3eBpV8-HgObjyTAdrypwDre2WOh9RhLZVIMm6-21wqw9VO2U6Mw", http_request_error; e_proxy="AcLc4nZffy8sg7EkyxPXXMDxdtlo3O3EBywmuBu0ZVlj2V2akAsr1s4CUNQAYHYy3ghNSzST8MdZIgM"; e_fb_binaryversion="AcKqJmI4wh_qbW4CqIxcNspi5suFXX-9WyZnD5JngiL219DfvAp56PdM2EIO3olB_2HHLU2la49tJWtqxPsTt5VPB8THfUuD0cI"; e_fb_httpversion="AcJjNGQj1AtQWPiRJvLFLRo-WY5bLajIN_XcONaPnMqw6RwxTiJVGpA5RmjX"; e_fb_responsebytes="AcJWLjaf6112tJolXCdcEKWTagM7pb5oLZnhxk3DOi6AitPubkEM7DyDVFdp"; e_fb_requesttime="AcLUYr_1uvzC2Kjb_7q5xKfI2086tOurINsc6xRbA9yjWoyJvf85h-jMRM--WW-gwdUrxMcYvg"; e_fb_requesthandler="AcITR-UyA85EacHp0AYx7rCrt4c4J74WhVkAmCOatIhUKQGvEvi6eBQ16aRRfTZpWuW1GWAH_ts"; e_fb_hostheader="AcIjkU6QjH8lxaEPBy_Q_TYGbwHau473BQ-oYvsjkjdVWnoD-8Ft3Af2-MqjxMnoBMkT3YrTbt_xNHs6"; e_fb_requestsequencenumber="AcLElns3hCPL3-0ogT5FYyim6_IeCdgzsoWm9uXRE-u1E6D67cMMZy8MiQ"; e_upip="AcLU_4HV9Od89ozTZbdGw4TgxVEj8hUBdR5d-6BXZI9J-f_kEHF9_w5e2ZLCyikLZVZa86OS3gZoyBK8sasoLzk6ToszTWQhOg"; e_fb_builduser="AcIgSA8S4i_5F_Y13m-xPjbCaevRsjCeFTGuvRubKQxQ-aYw7ks9qTIRUlFBVHPE_5E"; e_fb_vipport="AcKLPc-2v76pAtSfOR_JeRYHvigP1wMF4ztCMkZghCqINv-3Jvner0R55brk"; e_clientaddr="AcJ4PIPzA2GEZUNYgS0esLJHVRUsPPkYoHkRfgyMZuqLHJPUx825Qimbsfe_6RKeCMG_tW-a11NUph7-og"; e_fb_vipaddr="AcIHJ8Bo1OQCwA6k5X1CgyU9N8T4bbooGLeiYMX3MctbCuFC3aak6RK17MYrQ3pRMUBwd7w"; e_fb_configversion="AcLHCMZ6RXJZxCJA0PhBp-SZsR2pYh6aILpgu0ZG7NO6dmvaj0Tkby8xRN1Lzg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=375, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:04:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27017265, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ak6dEvBLPTJvjj4MDRhJHYO', 'x-fb-trace-id': 'CzdS0COIAgW', 'x-fb-rev': '1015759610', 'x-fb-debug': 'jjsZuXEp8veWFqQzCOsGmOMIYqOFwq6zMXXVRllTRUcSCdB3GxSQZrSJPKuLwfh36br9lYq6trdGZg5XsniMBA==', 'x-fb-server-load': '34', date: 'Sat, 17 Aug 2024 04:05:58 GMT', 'proxy-status': 'http_request_error; e_proxy="AcILqVSCL5tlIyVUjvKnzguvoSvz2lC3Q0AtYghZhDglaTD1A0PV1UqRh5mwHrFmK3dVuo8416B1HiD5nVl1"; e_fb_binaryversion="AcLV7Xv4IVPD8v3dHbH5mHpvO95s3_-CXtT7wH-b7pVD89ObB73N2iwgmfVSSSkrIhs72nIVywB3YdT465t6q6chEGFtR5MCuKc"; e_fb_httpversion="AcLb8PK9z8h45gqQM_BkLlsjarFEFPBSG5SOKCmthqiGwmeWriLBMelN4oYE"; e_fb_responsebytes="AcKhOxjgn4h5uVkDKweTkG5anT7u_jyht1iRqzaBZ10k-nvY9BBXJ3mTSYxA"; e_fb_requesttime="AcLmFUQD7ltXbvrnTzF2tq5ZvHPgCeJ0jVAgef4_etpoB265jwm7bT2KoEi39AbsJM2puTHplg"; e_fb_requesthandler="AcIt1_tvIMO8_K14fzoUW_Diyv0JJ_D-w6xv-6TQq2H0ZAM28aG1xlVbK_QvPquISnXuCGFVV9M"; e_fb_hostheader="AcKCS36l9HHp8Ujyj8NdpL_OuDvrQkdE8YrtmTxahudLyszh5SC7ykblU_BM6LOR1it9Fd3fkTEPkrol"; e_fb_requestsequencenumber="AcJY1xniTtFgEOI9XAVaMbptlsoZl5BLskYwrISsc97rYLGdFAVrdQgtFV_o"; e_upip="AcKzabUO-ae_sKjtunpNeDEAeerKMahmsYC8kbGIZHzsbPrNycMnTN6ORIGBfd4BcrlRj6_xx8sZVR1JV8ThmMy0fwkBzVWZAPcm-Xw"; e_fb_builduser="AcL4tQyodS9p1vuO2lpSby--Ewc1iYCmH4DaEePMiWU-5ThDLTDom3nwW36_q3XyhJE"; e_fb_vipport="AcIIqrNJOl5KRXOI3t2IhZWs4oHlEg3seK_dkYfv4bYEl-ATKaDnYZTkTp3W"; e_clientaddr="AcKlyvfHvNivrL-CIzf9vMq34u9greA6uNhEk3J5AtU5cE0qDp5gFrG82oLsn_rQ5aPhWSd-w5D2Z0uR8BkIjThkrV_4_C3EOTWsWbt4sQww4A219Q"; e_fb_vipaddr="AcIfHo-_DYw95E6Lk1Tp3JMaM9qp2snTthk1M4x-BaHhHxktAlAwpjebDj13gYprog46enaSraoUdyygo_y1ZXcfNmEJDedK2g"; e_fb_configversion="AcKvdSuowx59-FxpVNdTY180TvEV0X8ksDCGI-DkOGD7v547QGnUlAsp4NmfXA", http_request_error; e_proxy="AcLmxGgYe_AT9UphOtaZT6XYxt_1ELpUVbvUXhVLw-WXx8GPZajdGqUOMJeURZdLhbbomYTtgYGO6vk"; e_fb_binaryversion="AcKNXVvCe81MmEnD3KqkoYjXEGzg4rC15Ca0ryUtlEJ9scVqt8-rRz8JjKY6YwmnXNcP5ToOqrWgWaBHTZI6_x_CqCafS1igKqc"; e_fb_httpversion="AcJttamLaoQTw76CcJ2oiUazjI4J2oMpY2k9TpL7W15VkOMptCZx3faIsd34"; e_fb_responsebytes="AcIgZ034RrxnoGrAS8dJV6O53bW3xSpfAb64_3T80KXDM5EgyqsFQVcAz9l_"; e_fb_requesttime="AcLvA08aen6TkUwHR0FxBT9KUIGdG4G5GpFaLIkXpHwDO14enehW-yLk_RlCzdB1SZLBwp1uzg"; e_fb_requesthandler="AcJaTM6KhW7K2iDbtEHi2cfTpm2bgiPWkPhtZp7iOuw9AXif32puSZvSLkChAQH-s370zojOk1w"; e_fb_hostheader="AcJln1iTd_etoHXjKNnIXHS2NcJ8V0H2cp5Jq6YXX2PiR9ukG27axtSHs14819yGAalorvniCHHrlIEn"; e_fb_requestsequencenumber="AcJFi3VUbM2pK5z10wtzSZkazZbnR0p7AxHX6xrsE4CLUG4K_4TyQaM-eg"; e_upip="AcJgnma0R1xx66SZVVIX9Gh4l4qhDOU6knpe_4T8xKpy7UTS4KS1rz1UNNSJO89lu__CgHQK6GZJ7sMAvnQpzG59k_TBp5G6bg"; e_fb_builduser="AcIQKRsoyEoi0-xer6ZUgiPdv5IfW8AkQg1SBRNr-iVNXZVK6kIsFSdZoPBrmlCC_1M"; e_fb_vipport="AcK_EM80WmLllBuaqOtPPhN5yFuvU3on0mV_xefMhxrWrR_zr-RO5s77Ir3e"; e_clientaddr="AcJ8r9HA92AoZSPQhF0m2nm7IwAMQMu85V4X62V7BUm0H9IMSwzBhyrUGC_3vT4ia0z6DS18b129BNc-Jw"; e_fb_vipaddr="AcIOoEyNpUex9mawxDNdaTv9rhEmc8FLw4-IA1Zy2FPAa-XyZWUZHWRvuMgFpSa6Bb8O3ls"; e_fb_configversion="AcJwZId0kpPF1J_wxChQNMbAZHooXSPswcYkyvYVxv4ypFwc66Vt0-B6BZt-nA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=386, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:05:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27018221, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0wLj049Dc8bvTIcq3UPVOE', 'x-fb-trace-id': 'ALwwMvsT25S', 'x-fb-rev': '1015759610', 'x-fb-debug': 'V7QlCJKIM1SDVDoVUH1S30yRQsuYhMull5Grv4mbONldMZmZF/JreILa25Lv7Pyx2nPELYjd+ETAUmyIo2y70A==', 'x-fb-server-load': '38', date: 'Sat, 17 Aug 2024 04:07:23 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIZypIQQBx6SDIm6__ej-HSrqxX5dsWX--8yN5HYsd10brvw1zwBITUSQqbuDhezSnj4xuH3yaU5raleKk"; e_fb_binaryversion="AcK5N_C-i602_RhkVnIfox0MwqH2JZExdcsVwK3p2LQfc0tQ7nAEfUBIHoy6JISBxC1PMoKlAVkNneuh9XhfPZbb3pzonDNqk6o"; e_fb_httpversion="AcK2iXn_iFvuGq6YgQwkn0wYTv64yMIGFTmyv4ptAc1So2REoa2jlduKIlaP"; e_fb_responsebytes="AcLkCW9z63uBcqL7TxXzXTJbxDY4gFO_RFOiX6TQWw07p0Pdzgo3Ut5lI1og"; e_fb_requesttime="AcKjNEYM1YuhHVHttimDccrhi2ATOpDWtVtCV8RGR8bQ9CiLvvsO96U69xExjoCWrgbXvihy6A"; e_fb_requesthandler="AcILWQm-sj3-nZyyDhJiP9zf6FclUips1f-qAkARanLHB6DEMpB1wcaHjV0xyoEHOJVu5tG3ICc"; e_fb_hostheader="AcLKp97JzdWhOI2kos7btKoXtjAVGvCBQ3_fR5roI0DRQTXklqo3HzIF7RzG-22t0N3TRPUHeixmVX38"; e_fb_requestsequencenumber="AcKnIQJW_k0ENIAlU1xc-NBnkMPS_M8MjDjCQEJGIWovtBzoz5BlYOn7ZuPsag"; e_upip="AcLUZp1dr3FaFUz0z6bWOro0oxgNpt1l6YVVgL7LAjoC5KPAkngUw99wNTjKxqWP7YUSH6ok0OlmoWw0QttgokWHWQUEGMnOopEBmXI"; e_fb_builduser="AcLMSYbfdaJ9tSa1A8ZBsBZTpRBgB8iOyPqoq62IcubKK0hPXaXYx2ZQWkdXOQklLxA"; e_fb_vipport="AcJDXnmJrGGMO9gNL-1lYBNKTWhk3QdtLMavSwXV8eOy86Lo3Hvx7s05Zhsj"; e_clientaddr="AcKjxCBtyjbIGA-I44qe6e6Iep33GpO5GnQPgx0CguVYhx5C4J_C3lf3D1kNJFOK28NbdzytHJFfpL7fJmBYypakHMcgn4ip9rP41EIR2lpdvyII4w"; e_fb_vipaddr="AcJU0CrrsWdUmFlmjzr5ZRcTp6mQP8EXTYOTC6unTT-_sUqMZLkPbmf-YUQyaMPs2fpn1podd-NL-fHjKWlovJYZJC4yRNnWSg"; e_fb_configversion="AcKHm7yicul9iwrKwO2k5EVNDv0RoNO_Cle2_nC7uByHMwEpw8FHdNDhRgAP7Q", http_request_error; e_proxy="AcLbXwxwWODt0n9v1r279dtkkYcBuDDe27e1OWAuqUd7-CUvclP85KEyW17I0qMcF3EDgPbsxgxTGfLV"; e_fb_binaryversion="AcJdcFqLIMJgkvoZ40ZKsfoemq-KsTEOnrLo8wDJlcYmOG1wnmTv_ENQOLka9TNWmz6jWdT-s0pGuNfgnImwTSD1oLVebPzDikE"; e_fb_httpversion="AcIGMbx_87ZxEfs61bHZrm5kUdKhYO5Q1dFUTB_rIz_TRBSKIfedXtZmWcjX"; e_fb_responsebytes="AcI4rkmmuEolurwsJu1G-l4Tjydq3jOq20-gS68qYcoR3zMbzDfpWZL62IAU"; e_fb_requesttime="AcIH4rIcYN0UeKX5kmpwXVJynfSs3nnqUHs2xUqsLCG5NNVMIIjHUJ_UQzSgGCBOqIcRELY5Tw"; e_fb_requesthandler="AcLfNIJArUd3-dDR1qu7hbQ0HBmJexuLUDYdQuDWmdP_hzmUDPhkBDxIhdul2ISxiwTM5sTq_40"; e_fb_hostheader="AcI2VxPMWqncCo1Xgn1PkuBrR7gvhbsYGHNwdJyHVv11F7s_FfW20I2sWyNTUnJPn2wWG6BQyAPmzOmi"; e_fb_requestsequencenumber="AcIkXsp9eC1M_1XTkFxXoOi8v01uAkYctxFL7Gqo_DM1sFqjq4ZBrNjb3g"; e_upip="AcIO3sefIOKn59HwHjO2O6qUfGfQQmyrGbvlqslx6peHXusppafNhic1MoGCp82fZmCZUu1XxIN8qg-4g4WTogjgjWV3NdWi9w"; e_fb_builduser="AcKIHiNskpvOVKzzgjnmBK7UiJtuUVkYrnLmIDKQx062whxSzOGdoZSLEF1Vo4fTUIE"; e_fb_vipport="AcJus2gtr0fvesGhUJWF2vao73UM-KatX7uiXz9zmwYrX7hwV9zJjkkKAfj8"; e_clientaddr="AcL1gxlWo8dy6EoX1q_s-sBbDfMG8gpS8QwMXIb37dsYomsoA7o792ZPmAK6D6DSxFBchwSpnsW732aUXg"; e_fb_vipaddr="AcLKElFmEUzdvLKezAoqJEJrxjy8FlHw35gHYPvZZ7dUFaVimCqfx_xe9ySKDwmSFySQZxofHg"; e_fb_configversion="AcKvGsOyxYcShcBt4QPYfLicQfERQaev9uwb5kdr7gWszaqMN3XcI4YDvk2t7g"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3407, tp=-1, tpl=-1, uplat=261, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:05:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27018342, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlPYhiA0B0-gJu-6p8oIzjq', 'x-fb-trace-id': 'EPDFzgTJqWr', 'x-fb-rev': '1015759610', 'x-fb-debug': 'ltmyJTDFFT6G7yTl7hGBx9ZMvl0PZxPBepJ9z4Kcbl3Y3OfOrNd3HkBsoqXEgynlIr3pS7I+6a/e6Pb6Khtkrw==', 'x-fb-server-load': '34', date: 'Sat, 17 Aug 2024 04:07:25 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJNIKdcPVk_3t52OdvLGv6-nUEGicwxqzmMIQknhDV8NG_HPxz3FRC5EfcvEvvlhFgLGvADS-F5AKEKZoc"; e_fb_binaryversion="AcLac7maB9ZQTF6K-RfUSms5P8QvYHZiR4X1zWBPWtE4ku6jpPaEEZ27qvSPpnQ6qMbz_HFcIy-PveKZeW-3xkVNkf8KRXkSCs4"; e_fb_httpversion="AcKpQJ0HQ9Gw61yUS6yYevNBaP7x19wmR2lDbdOPqumEh5xskBiLFTYxgc2u"; e_fb_responsebytes="AcKqlRPvR2wucwAHElFna9ohq9GNaVunRQlToWCwi6fRaLmj2X5ZrlcD9sHS"; e_fb_requesttime="AcIJpXkz7PxDK_TyOy9n2vm_uXklv37nVYcIxqj6XHk-4TCLr0sS4pfka1AXv9_SIb_2FrYzYw"; e_fb_requesthandler="AcKL37-oO7GIeKWeZ0XbIpwm9HK3ZgCmkiXUqEhW0u6SH35cljFIksQUZjxNLw5KTzk_Q60yDiQ"; e_fb_hostheader="AcI0-2CWxOOgqGxA51EXlZW5SdcjJA0H5Q3vibCjq4CfFxmuiWIfqQJVhhcbbdie0HdoHwAjMFdffJbn"; e_fb_requestsequencenumber="AcKsqty5xLCcKQEABMuWMp73NA7POAfN4H8VTwA87dry0psJjozLb2zNHcGU_w"; e_upip="AcL0ucsJdTcdkEq2jrYTrbm9IZqDle_qSb1JB3Po-v46pSnTCB7VMe8rmZ_b3GPmyRstewCnF5QiNkn4nnRFZfrVrDCgxFTusBJVBv4"; e_fb_builduser="AcLfse83JNiwpA9nccq0j2WNgbbmgjOXkOG20f5mpXO-sopY7MCQS3idKE-d5wWILUs"; e_fb_vipport="AcJQwlCp5ofjeXgYhB3kofVr9DoQ-0DvdQEYkidlK6GHLCZjuMjjWMjloPid"; e_clientaddr="AcJ50hwLiHwhIi3bxJ-2Wp5IbI8dl1nGAP_h-2MAyxEHI6e86fpXLSat5k0WHAbwjNa3F2P8JlI23wwQNr-JuIQxvJCUt0_XfqcwsK5k7amgyhzy7w"; e_fb_vipaddr="AcJSIm_RWdpmqpf5k2iXfOCAqLuxLlhEJRi7PsNrIWljtbtNaJCzs-BbB7nmRw-pV-cB2X1IsqtEQ6SQt7hzGXzcfczGotOFWQ"; e_fb_configversion="AcKaG4zQ5lsUv4n-tho7ihug1HCXiHnyy9Qtj09VC_fwSUO9fzjdplLOBMtc-g", http_request_error; e_proxy="AcLMEi-nSXIDF_CVkniepEKvNnu4gVVjh_7mZ8YPMNasjTBHGI2cr3lvTDzq0_lxHwZf_KRONT77jdQ"; e_fb_binaryversion="AcIeBz2p3g_Y6SLRLj4XyLGdrxd5xEQr7dMYe54OdUUZBIgupe9UbU0_juPlE0ABds7e5l-JH071VfwES6pubXTYX97gXIMCCMs"; e_fb_httpversion="AcLxN3VlE2FbqrwVPRcbSiSioMzcWQFYSH7OTa1bWc37_A_ugwZ9tbfgXlC5"; e_fb_responsebytes="AcIK1DHmxdIhP9SQRVNNBi7J5jmgCl65yC7Q7rYfmd0YQ50h0X1zIASGsh1a"; e_fb_requesttime="AcIEvLqxITk7HwPbB5-QwdyvXQt0ViATX6yA2uZnweiYU2oczWb4xjavOvTBdHKOkC5JTqpTrQ"; e_fb_requesthandler="AcJD2RFK3rdLI6hd_JUCLZn8Fvy0X0qQJlkk4RxEM2QdyxpKqI-xSl1cdEy5gOQIJZJPoSM83GA"; e_fb_hostheader="AcLxweRh8qq7nVwGgW__p4U3Pt1UsDBW0ljTdpXHNX--W-S8ZX6bdD0NlfLncywVLBuNuuGZ6Z9gf7z-"; e_fb_requestsequencenumber="AcISOhTNqSSOsLAsbvoGWmyj4NuSvWGTnk0h9AhA6Jna0883gbeXHWW7JQ"; e_upip="AcKMPHLgMUFIcjdS_sbQZzc6gtc6O_Z0_VupThLyMP119u7oEGWlSNiHXguXP3V79udvc6eO-P6DQv8Flk1E6Km4fW51wkuVng"; e_fb_builduser="AcK1OK7OhNzUIGSmtpYcR7q8vysviH1GIvETUQ0g_bpPa1hUm-lHv4Gg4Fy1UzoS0xA"; e_fb_vipport="AcLPdvp-UNdxRr7KsF3WXnr2OyXR6yf_6yX8AJoA83tXdvR0FBl41UTuvM9W"; e_clientaddr="AcLUYw6jwWT_0Z1e7Gvyw71-SqpXVx4IU1SZIUkxqFJMDD4Od5NeyYUasWLlkNqnm2hD0YeV755xj2tZhw"; e_fb_vipaddr="AcKYOmejo-5_L3e7BA1SLXSFA3kdwcXM39Q-0qw5_k8ErH-j6BisCFm_DvEiE-t7pD1a8OOK4A"; e_fb_configversion="AcJF09bGhCAqSXZF1QWvOMc8KZyNOJrunOhDwkD9U_Dv7cXY_W3T25Y-2tGA_w"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=287, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:05:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27018563, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkAoee1RCkrEYfA6e4kQRoM', 'x-fb-trace-id': 'C+rzqc2lPdJ', 'x-fb-rev': '1015759610', 'x-fb-debug': 'omTknNTYbsYMZsb/5+oGkjjUtgHI2n93Nv6V+hNXYHELPYZzg33Jql/hworSlcTdoI0kBE0z2wALayNbOzAi8g==', 'x-fb-server-load': '18', date: 'Sat, 17 Aug 2024 04:07:26 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI8Ygk26OMAkXbk8ZFIxv55jXh7G2UTnRdOe5TEwTWJBUyNp6vXRUfVCJ67RzkmyW_aiGXPN_3aL7Kk7AOW"; e_fb_binaryversion="AcKYegEsz3pA-WmPd9KdWVGZRfOrCXrq2fdDXjMhTdrLsp7BqoDMUDzal_77PIl1RLvdyHdwhrsFPTjOJ7dO7Ytc8ieaWK5Mby8"; e_fb_httpversion="AcJPdPsOViwvqKEfvx4ZTqBMKNnVWz0E3-V_v0fi3PXMV4ZOY8xFVZOlVbXq"; e_fb_responsebytes="AcIWhLl40Hwa7ir9SzZbvoPvkDac9HFGgFHFFyf2CkeVhFv1pFIRakzox1mn"; e_fb_requesttime="AcKv4k-TCkPiqeqmAhaxyh2ilbvMRHxviIJPgR4ucA3SYCdtMXnfPy1UGiAHcbz8vrwDP_TwQw"; e_fb_requesthandler="AcJBELOkjVyodf3QhUYFYeZBd99H541WbiwuXZpXE_6FopWa9xABAQdMQM4CJnaQVuFnTOBJnYg"; e_fb_hostheader="AcKD6oNOX3X0MAUoKeIhd_v632hxw9GEjzTb2TMwbHVKDzOwtrwLeIB-bfbTVb7DTIC9xxP3v-ueiB8I"; e_fb_requestsequencenumber="AcLvxsFkPdTw3FInHS0T2beOV7SI_9nBS5Rj8Hste91Ox8yWGJUWQPvLlMv-"; e_upip="AcK2qZQtUvdVbwr2K-IE0uve1oXGOcagZaVDWpugqda45Lk9eRG9ozEIAepVUb3c8kOVFsdOxpDBQf9AjcEaweGv0Hx_Isk6HTksXCE"; e_fb_builduser="AcKf4tmf8sHFZE1BNtF0izzHR5bzIT0itSDloFE5gA1CTyyQXxqIfBpa065sExR2P50"; e_fb_vipport="AcL969LXJdqif_5Z3U5KiykXIA6EZAhxxZVVgSXTDunTn8SAsNGdSnTE_RUE"; e_clientaddr="AcIeQoCBS5vGArSYHS26wsYeLHatpR-k3MLDBZ-ldsOa0KCiiSoEnSzWmLV6HRluxNDg--bJ0j9_tELcyP6g2bJOZmAUiFD0RNzMfHuq_DYrHB--oA"; e_fb_vipaddr="AcL7Fn2e195a4DnVMU9pGGxmNlIj6H7Gu5OVO-CXU0-c5cI3096V2VnPDDih-K8xWo16VMd6Vbwp443sPiOhmf-GOzUf2_EWWg"; e_fb_configversion="AcIQPvmt-8Ls78syG7fuwOFWuW02pcYt2CZsxsT4Oy3WC8rwxP4lGxmHtw8L7Q", http_request_error; e_proxy="AcKp-cIIjumjVybyRnIHm2KAGazkm7kk4vFwHI5ryASnVedO5Z9NiOi6rDxflEu4Naz7aMohhSw5T_Rr"; e_fb_binaryversion="AcKb6AtsHAFz13W8OljavWkLsJDxqeUX7wjiux0AOgmR7Wc9SDAGaxcvxP7Mxetl28I56J4Xlv-kB9Zda9S-Bdx4Eeva_0Wu0WM"; e_fb_httpversion="AcIJFsMfgfFrow1n4PVJOFzYwI_VAG3ZzHQHWT-ZDU_H4sFYkvvHmLOthmkP"; e_fb_responsebytes="AcJqYO3FTv9uZVo_Nw6OhGo95Q5lmID8hRl9KiSmGlvHPIUgp-_9uL5TZypU"; e_fb_requesttime="AcLCXmCQlr9BHvNe3JDZV9P7WiDeOOz8MwdfGOiTr2JJvy0wYs2t8tixlIu0XmfcZLd2qv_32g"; e_fb_requesthandler="AcKTHFUajvGq41xj3i_yt8lRopKT2YssqH4728Ng55tz2tGuOdn8HE-0XUqO9_gCYY0ZepobbLc"; e_fb_hostheader="AcJKBPcq9H4zupvRaS7w__os62bEGvW78UnFPxf7SzIOmEtfaVk05j93aYZz8ZpmOc9A1OETMlpRofUD"; e_fb_requestsequencenumber="AcIT9qx6sFpCmLSiRaZdWIb2QpUiNgBvJNPtPflmJciD5_f7IQZBmoGHEg"; e_upip="AcJGOrjeJqTXtg7VoX9mEsvHOFEU3AcFtcSW-okVtM6PA2bxHc4f9lAy7H-Q4nhK0G8FLaelKppN7sGA3cXl292kuTY8HROfQw"; e_fb_builduser="AcL27u6N5dcDdI9b-3noljIOV8bxyhI4zsrUOwW65c0Ui0uT3AWymYsVVrBI1O9UqKw"; e_fb_vipport="AcIfZ9UQ8X9as7iBIk7wU6Dv9fckM4Cc6QpVzxxXopX36dHzKUhE1oT5MHPo"; e_clientaddr="AcIxcbR3EHO5ZGmNxeQdCv48246_d1Xa-gClk6AxSCToqYn8Nw41syZ06s1Lsd26RqQ_fEXWU5tZFueWRA"; e_fb_vipaddr="AcI7DeIVTJSnq1VsT79h1OjThpuZ7Gmh_vHGi1dhoySSsMAsjXtG5gDouvBb_EyfM5nOknRgww"; e_fb_configversion="AcKvr7ONrNvOgJymB_lWDuDuxlwrL5FC0E6wOOlJOScXHgL6vS_NaaQRUGOGoQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=287, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:05:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27018719, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKofZqZo6FcKixiZhBOgtk8', 'x-fb-trace-id': 'E1yVMF0iVZu', 'x-fb-rev': '1015759610', 'x-fb-debug': 'OK8AeVuOx3Ivzqsr56mOP9xN43pISXuv2yM1S3m2Z7ulNgnuPGVuGJZTRMmFN7m9teqGxeTIex1sxOr5WgR1GA==', 'x-fb-server-load': '34', date: 'Sat, 17 Aug 2024 04:07:31 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIsQXpBHXAMk_FhfgNqXRzTwLuAWL9JDcwUxzCWXrP7oiNFh0tK0JsGAoWfV9iLmWtGZ84_7yBRY9Z9mT3X"; e_fb_binaryversion="AcLPfgNJl2y0GXdWnmLf9MHA09uxqOh5DEt98LwXxbHX28YznL5wNGxfakn5DHpCg41hpxniD_pnOz6zWfarW68n0LWv9JNarTY"; e_fb_httpversion="AcL2M_CKxq8cy8vrIONH6IOzER7ZUUSO06_FiXHlI7v-Cji4H4QHRxA2Asve"; e_fb_responsebytes="AcJP7Rv3jQEFyLvu4TeVMSqtRp9k5aobuRUOToN_f7DbqSMAbLXTxrvCzELn"; e_fb_requesttime="AcLOW2buRL6qAemx-bSOVCYb_0SK9BJVAiLg5NCoi-BTj6W-e1VjV2ImsSJMPvSEqZYsI1mlbw"; e_fb_requesthandler="AcLdVfrEoQt-FtDEzUm6ZgxhNySHpu0ZA-vSJlnm5mtbYBd_c4K-I_8yZurYJPaSHYcpC52his0"; e_fb_hostheader="AcLVNsuwqNgswTrqaJpceRV-OwZPSY9zRvSf7xJPKzOQTksl5laq8S1Muu4IGmD-Yrfg4D5UkgV7VXs3"; e_fb_requestsequencenumber="AcKBdxvZQk_EJ5E86CaLkcCxvBvySx7D2WijynEgh0GUh12FVSqZc3N1iyQW"; e_upip="AcLtZm5oGyDqZSBnHhwMQWg_zpAWtBv8jKi9kfuJ2ar5eC3yYvKo9PHfsIqy3jMsjn9jwhJtKg5q-uoMTOZJYt87M-4wdtXartthPY8"; e_fb_builduser="AcK037KJUXxcJexMSz2rPNPNpSbM5sUfCVRbXmixmxE7pke9FLEoD672HPpdg6iZXQg"; e_fb_vipport="AcLfwapSsRT7SlULsdN2T7asSn6o0rn2PlWsPQatyCZJlqOIuMvSzrylZffA"; e_clientaddr="AcJ5wz6VoDT3DnGrYbrK2NZWr6OrPB3RAHVN0gLz218UFvtw8wxNKCctIeG9BUKF-_SgRAgQQix04DhdzHueFWDCcixYWLW-j7pQY3ViW0AQHCzSxQ"; e_fb_vipaddr="AcI2jeY_neQigZlhNS2v60wWQ0qLil7sdqResmCoGg3zRoBl7IIid4UCIT_YF_ly4w1v0KUYk9qcpt5aSzvGTzzZSzGkvtnp-Q"; e_fb_configversion="AcLwv7pRcb9lrmf6F-t8-XiCsK3AjfQqEx-f2aSPhQCSImq39fKzuYLuaunWuA", http_request_error; e_proxy="AcLcMkzMzs6hteqYuyfaAfLUS34ebYjLgb6oXZHV1WkZbCO_ua-b4PRRZPLVaucAqh87EKuNMtnRZL4t"; e_fb_binaryversion="AcKAbL7IlVWIqm4SAIOmj2qhRGZZ4cKqyjuXHxZ6ONSxVy1Y1vb5mNPPTo5oA_tAGsi7o2YK8ysz6DkfCMISINgdH9r-10xYEmE"; e_fb_httpversion="AcIFP7JQHl4vpoKojpoXcaMeR37jYHoV-0zI4UbzgrBy165cZwcqbIuBZoL2"; e_fb_responsebytes="AcLpJnk2y4Xl44tBt_ICJBcD51WxA3No_qcTR2E9Cs8jAxxCXZpzUU8dLM0-"; e_fb_requesttime="AcJPYKMD1eBtdFevNlSfl1ds3SmTn6C-SlVqAeTy1oPi1suEqf0P_YEtze2E5L_y4qDro_es8w"; e_fb_requesthandler="AcKSMStuvO9eCnUQmKNfghviG_m8tRwFdFxiYSgnG2hhQ-9CGHntSp_HyzPaj_RYlVGPCixS-nE"; e_fb_hostheader="AcLQ8D-F13MjwYWzWSJGCjOubq6lYiiot4AQ1GNEiiEU26UZia4oDBqGnDn1sqqZ8oVDjFOErEvIEJ9a"; e_fb_requestsequencenumber="AcKSAlbd-Bmm3pA-KTcABncPKX_phJW4dotdTT3hLLw9Pf1ILWWVNugaaA"; e_upip="AcL5HbT4Y6sfgNfvMoZEv0GoKERzjNISuZqLSbjzVn1xTk9_GVY7n0GxsbNFsqq9mbkHFdhckg-dNdKCxzGU9Wfw9Dp2citLiQ"; e_fb_builduser="AcJm0acsth5q14eULSugOP36kvPjzSm6q9yw9DGxwiEk9U8DnM0HNHAfXmdTrNuTIqg"; e_fb_vipport="AcLSg7kqBP7cwsvk69R2jaHtmU-NSnZIA93FPvSWVUL4B6cWYC790gRF0JgE"; e_clientaddr="AcJg2gJvACPpxpXuONrQ9xush8c1-OzdpnOI04eJFC43SfTy6hmBCmDba16UzTJyrWuZgqw4RLNBPjbqDQ"; e_fb_vipaddr="AcIeUmgVDw8iS3ZW46_sA6C8NdokGXvRSvTJRLuEgxgZudFlYrk_AaTQh3ooDSho954vHaiS8Q"; e_fb_configversion="AcKjykt6GmIgknwD2_CXGpA18S9BdXM8NQc17nxx0nbGjnhP6548kPkG5ixOrg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=288, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7782759688499210"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:12:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:14:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:14:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:16:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:17:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:18:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:19:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:20:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:41:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:42:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:43:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:47:18: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27029408, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 17 Aug 2024 04:49:12 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/17/2024 04:47:20: Error on send one message facebookId => 8310943122290857 08/17/2024 04:47:20: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/0c227dd0-5c54-11ef-a70a-fd9a3decd9a5__1723870152237.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AUq8ik2TcStg_f-I42-hNSS" } } 08/17/2024 04:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:56:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 04:58:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8310943122290857"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27031874, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7a9FQmIpG0RS_g_0uk-PJA', 'x-fb-trace-id': 'BNQTA4+SUly', 'x-fb-rev': '1015759610', 'x-fb-debug': 'UPvLtOqq7YekQUkhkZ2iAt3BRyXsjC8My9gwA9NeiJnB0RSb6Cq/mgS8fyw44FnUBiPpVk7TtATzOTaBP+NxWA==', 'x-fb-server-load': '26', date: 'Sat, 17 Aug 2024 05:00:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJWnfiM_uWO2pZm6_js2DuzPGIuV5ZzXyv26y3cDc9dyY6kMAIxvGf_UIeSyyESPt21CItqEgyIeTUCUH9R"; e_fb_binaryversion="AcKvlMz3NcDAE-hT1RvbTntLF4FnOLrht2LGvlHBf7Hn4yWCxSXtLwvaRIMc3bVLFlI_GNXjzuiz1NZqTktgzujn4TWmn8Hy8PE"; e_fb_httpversion="AcKTPpko4dvzh5obj2MAHTq4tuBCi7fqnlO2wPPHIOBafJCXmnhQM7TWGfTf"; e_fb_responsebytes="AcKF32swCmi84CFWjGxxkVkKxIVSKZHNtTdark-lY37qTEFKyyGKYTTCnOHn"; e_fb_requesttime="AcK8TsuD0H285NYvDTLV9o5Cq3GECbIMNBMWCtz39hjzEp5XG18xiK_ZPZd5a96aqHORa79D7g"; e_fb_requesthandler="AcIjhSx54byVS81woe3rlAKZ930UiCBH2dePkOmO-_e7N2xgthd9S5M3imFNhW0Ym_Zz3EqQmQ0"; e_fb_hostheader="AcK-_AP_n7xgv4DDS34dCCjLqAN2Hbe7TmSB-WhRiP1d7pBAjGbS52p4UmF48s80WB_pm_nYoOMEEaWV"; e_fb_requestsequencenumber="AcJSgkB7KkzeK7WEv3Mc2VPcdoZQlmWG7CWzhj-Pzh2UgvCmEn-NmjQbyu6x"; e_upip="AcLfMJvRQa0-ItzNS4Ar9Q4g10RWTuQdc-JE-ZfDiwmW9vJx2s7698MbDUX-Ijd09EAHK5zVXh9gC6TZtUj5WVTfiwsv27-tdFoP3I8"; e_fb_builduser="AcKv20jBKfP98QMcegyok1AT1BBbOHMhHB9rA6kw7y5s11b2gUZ4Na21J1aaxkrhD_s"; e_fb_vipport="AcKIUrs0KmYcOE2JobvZRDwhQgR5XmjI6A7CJA550DTIO-5AIi3u2aJu_4UB"; e_clientaddr="AcJs2SHTyf6DrQSvLTULq-taCkeo5X6uGpLMG59sUtxu9496gc8AuUJGw8qo-XK_iM3bKjnqaOIAMnfd3wlgx7obY9fIQyyr2q9vfEj8s414i3NN"; e_fb_vipaddr="AcIkf9gNNNbyG3OW93z6gREqslxe7OPv8KA61fO1joe9h16CtDhgnbWsoLIJB-wAaRL5tAeRNpOV2NolejqmDXM2v7TApYJD9g"; e_fb_configversion="AcIjQGlUzoeU7FQp8u7NVKd5FWK22rfMAVyRc3f9hWRX-SAaTjsm5AgM_X6aXw", http_request_error; e_proxy="AcI8POuzf31HpDzUE-i956eK0--eGQPR2EpVAfpPnhmGgzT9flm2rdY5HoYkiUdvAcpWhYggyO9I7n4"; e_fb_binaryversion="AcKw9F9GI-c_t5sD3uijR_--X8rdhyzDiXJr4qfZ_dy-nCvKljQPygr9Xg12145OGXyvlqMzg0m-I98IUJ22JgxtSrYXkZHVFuM"; e_fb_httpversion="AcKGxixzimTHBBvcB-Ls06Jfl22itdD9PVPRgak5OpvQBXhSmqzZx1pg6DY8"; e_fb_responsebytes="AcIgW0LXhNE8jcyCHVp86RuiaV_v--T5EdQQZxcsxQbV7Zg7QVl2rL3bGZHS"; e_fb_requesttime="AcLzEgTpbi_Xqww3l-a94HIk7klI2uspyvS5KgN9hULiAPTCPOusIATPk8am-ndVBf21v0QOQg"; e_fb_requesthandler="AcKXzRK4Q5U6T1Zc6xPAZiGVY2ySErCWyU2iOY2Iwsj7PjPZVdhoDyIlQbJ_cp9z5Piv1zLEQ_0"; e_fb_hostheader="AcLT_-hyaZp2neZGmoGhjGUYsUQViuRdm8FtaCqh9_PPhSCf1osjVY5DtBgQVHCPdjCfWZ9Gdu-l66gm"; e_fb_requestsequencenumber="AcKtDa6blfpWleieQM80_Lik5xtV8LVL_fzGMTkCspVXhPVIRnxo8TKqwg"; e_upip="AcJyHjjz41wXh8Y1we4_6hfB29Z4-9LMaABpD0B0_cZzBli1SPF-nhbZlX7TOW92L9LlVlvTRMp5M-S6RgQACg09Doo4uW74Ug"; e_fb_builduser="AcKHB-PAMI8i27EAPvqBG1okRLGkqIo59r9nWqpEaJmV-ojQtbKFletfM6ihn0Z1E1M"; e_fb_vipport="AcJ0RQoC6LeKthKaO8rfBM8SKbA2oUTMPljbvqz4gh-0k8a-dtq87E2fbZ8y"; e_clientaddr="AcJL4tDaYyNtEARumg6E6J5s-rvuqjks8mZZvUXCzJmnnWwultaaaqGsZv3gwV2uLJ4HBz_dklH-hS_ihg"; e_fb_vipaddr="AcITODxOqBPUE8VmaMic5-rKuRx5WG45qgrPO4PyDJZcg-Hu4UIRkb1JtfGtJj9F5ZjuhB4"; e_fb_configversion="AcK41VrX-2sPrqaCWHgWafj9wJZizGp_qH-m3-y32EqzGtQQ1169Nu_6yEOcqQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=186, ullat=1', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8310943122290857"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 04:58:06: Error on send one message facebookId => 8310943122290857 08/17/2024 04:58:06: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ADKj7OW6170RMrXBNEu0yBL" } } 08/17/2024 04:58:08: Error on send one message facebookId => 8310943122290857 08/17/2024 04:58:08: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AHAE29iRVoE1A0QqzH93Q0S" } } 08/17/2024 04:58:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8310943122290857"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27032065, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AgmjvtS7uqXkh9Ob8tYgsor', 'x-fb-trace-id': 'BGe6NO3eD9W', 'x-fb-rev': '1015759610', 'x-fb-debug': '8xnDGIoHTfJiSsDgRe2j/zPXvbqovn0fnpuElvKiFrdbsV/S0AuC1TA5CrW6w/aIzsiPsQockcNGMoNK/kljgw==', 'x-fb-server-load': '33', date: 'Sat, 17 Aug 2024 05:00:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKG2emBMElerV6XnHaR0vcoNcZTRDmazvnkdOjNHEDefj21_T5WxbqZvDSAL9CZFZp2AIQQB9zzcSOHRCyo"; e_fb_binaryversion="AcJqH5fL-lmcNPdHicZP-KYSVhMr-4VsR-9UCrGGbH1G4T-ZvSDxg6xwspHy2FavCswKhEL7Km1ff3x7jHjZB6eNg1mVrv0wkGI"; e_fb_httpversion="AcKBr9ImN7bwkzdd5I1CyeRJZiHlL5enflvrM1qWVwgNzbhOUrPPxGlIQr6q"; e_fb_responsebytes="AcKXmsy1oEqM-Y5aOW77IJy8JOm6aG4c_Bacn91MhmaOnPpBi8LH9HC2tPrF"; e_fb_requesttime="AcIsOpdolBcpZIOf6Zuq0alGWIe8Jzwq1-lu09eSF7JqwBaR8QCCj-FrS6dgt6C2S6maD_zftQ"; e_fb_requesthandler="AcKegvP9xLMA5hyGKV_rHsIbMlmoGHBCmXZNqhGEAp8lfqPG93PBvAUHkDmB8Q_irNUd8blRxgE"; e_fb_hostheader="AcK-tsFnKQ5tMAuXr0Vea56tET6piaDpBs-6dBSLdSDLUqdeZQrVmFlvDGSUbXyFDqq-TiofGrX25oDD"; e_fb_requestsequencenumber="AcKx5wiY78lNt_GHzkb6wkoQfxev1sGhS-7hlC491GxjszOM7_snGL7lS6z2"; e_upip="AcKp2R7oUkstzeZnruZGRoEYQ8Ju8wzLh8y5N4Ha_1kF6vltN8wIdiSTEnxBZi3f51dhyYCYIQ5nHsexNyQyI0uWb063f_5S5XGIUSs"; e_fb_builduser="AcL5Uu1t7wEN7aKMacV3CKxcvaN31ajWv5M3qKy_fhtcgfaNJkQDxqkAvPsFeoFy62k"; e_fb_vipport="AcIq0muqsym7sr-vRwxhnkfYtEo5xP5vQnZ5GpuV9nwdVs3NI60t1lqP5M1X"; e_clientaddr="AcI0fVeAqAe6MlK1Dnamm_B9uttjYOP7eAXKcHiR9ZbLgAxiGcO-GH5lcowlbIenHZ6lMnFE6TKfvLtv9ZPPzfYXm3Q669JlSDOXqNHEMqVGcCiOnA"; e_fb_vipaddr="AcKJq4eSS6GGR0z-tIvtAUzvvuV6Gs91RVa8tYEy3EwKiFXr1LcjGmNkntIUqUFYI_FTYs707Eb2qU-O_9GFzx48fqiWM5XW8w"; e_fb_configversion="AcJHd-OWH6lKUbu-LrgShuU-gFQIN5JKzBSZuPx8wZv2olBiR3dqJxKZhrnyFA", http_request_error; e_proxy="AcI7mIn6-Ka_JASOjtOA3P32gumwzHwj3Ill9bJVWnaCoTRyRZDUX1kAx3L19WmiAcsh243y9c1bdlo"; e_fb_binaryversion="AcI1xP8Vnvy7OEPtFUmZz2Uuw3fKuQyUCE7zGs_0Pi1aCKyJCzCvRCuTDb4lWto4TZbATZnVuUbkx1pwA_3E8ZfjXsRFT4B9mUM"; e_fb_httpversion="AcJzjgeBifoAypZpfpM_w8ENYGcNTmBRZKSW6WMlPLIB8OZFKE5CwvckWgLY"; e_fb_responsebytes="AcL2cfsFs88-UlEwH7BbhqV-AXHrCAMXKICoREo2rrcJzoGnG5gZLLBg6us4"; e_fb_requesttime="AcKWI3CruPJnsGSEXPan42KLhEq2dShkIaiPPblU0UjT9UaxwiY88qXU2aBVg-n8lZMNeRyBkQ"; e_fb_requesthandler="AcIo1SK0TUoygz-l1Vf9xoQE0A-aHt8qGihZt9G1u-TCbgKsGRJsQBEBu1ttNln8oUvPdZ3Bj-c"; e_fb_hostheader="AcJVsE-PaCsR2e1eR7V9gzP7fIC31Wyljpr9kONLWZ10h2hC-xovja1AOfNBTkjB7G190GKb7-cKterJ"; e_fb_requestsequencenumber="AcKVWmJY5kf8Rm6JKSSdM3eIaA0YhRBpyLevPlHOUlE-VXZ5_a_Yq_boBw"; e_upip="AcK3fT9L6cTM204dwdDJqdAzxEyvlnBkX3JA2sXLghxp9JfU_LVZEWTdcAOsqsOeSVfXIHLpvEFIpndE49udF81uj9CO-hbOUA"; e_fb_builduser="AcKw2u-VoAsnPh9uLOB73YSopFKTs4Js7pxQ6L3VNFoafyINmY4B6kMIfE9HfVNVu90"; e_fb_vipport="AcKUT_mVmrwjGoLTjg6ESMvT69tQmwcOyYWAcSzwz8xScAtM2nQ50Id8hxXF"; e_clientaddr="AcJfv0I2KdXYRqqYYrVipRBrsd21Kxh6Zlywli8f5EAEMQSMtJgGqJcA9gzJ1VJEf-aiifcxKNXcJJvdmQ"; e_fb_vipaddr="AcLSpeuu1EgfINO7mYMSgiMEARiC_Ke-r41v1LEBKyjYe7JzkOiBfvAbA1WE6HoZGHslJCc"; e_fb_configversion="AcKbqg17bmi1AlDN4i9CZVZAijzOFjdpFAXILZPifL9ipPtDd-B-2svMLfm2fQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=205, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8310943122290857"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 05:11:50: Marker: 0 | ID: 66c03116ff349866cd515eaa | Error: cant_get_message 08/17/2024 05:12:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:14:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:18:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:19:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:20:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:21:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:30:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:32:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:33:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:41:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:42:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:43:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:56:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 05:58:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8310943122290857"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27046341, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwWXf0G1N7dKMxX4GnbrJjK', 'x-fb-trace-id': 'DLPG3HOqte8', 'x-fb-rev': '1015761039', 'x-fb-debug': 'ayDU9ean7k7hwAdkigC9DQVkkxqGfLvJfnal5T1YBQnBFYbCQP8JfB+2/ze3DMkQttx8JSutcGB7ysiU+j4eIg==', 'x-fb-server-load': '45', date: 'Sat, 17 Aug 2024 06:00:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIyaWKjXbfO1hBKRpRiL0jejq4dMXNx-SAuNjCU62Qh-2NxV4XQxwSKbcUIAqWnIsZVkqVybc0ZLJKWjGWu"; e_fb_binaryversion="AcLaIDnbfRFSGH0vPM4oSn2BzLHGcRJpeHX2Nko8keRK7wTXC81qcE02xA8SiGsdiavEy3nwJfknuSpMwSaREyzbkqZ3rYOsOEg"; e_fb_httpversion="AcKnr5Vz0jAab_bfvygy2Nguadr5sub0B7r_e0DGnAkxWjPP2uajC8E2RXlr"; e_fb_responsebytes="AcKR2KyGYrtP7aAcrDHk1Q-jraaQZnpAVpYnoPjnM3Vb99A-ZnhRuQDNQNKU"; e_fb_requesttime="AcJalvyF4VySI1d8UQ2t1Huun_NgdHYPBxgXSGwrCOfENwWVdKg8XvlDVXaS8e7BlWXVW5Qm6Q"; e_fb_requesthandler="AcJpgQmqHa4SOWruI5ObmC-LicHyJNMLDxDIklp1bS9VqzfJKDRmUeyAtuylqxwhwoL7b896LTQ"; e_fb_hostheader="AcKGpxRngyCZSM9gn4RJt5dokrDwAs5GboAbeuMLxRaKWCPCy5mX3oBi45lOdhMGpFVK4v8IxrTEEU48"; e_fb_requestsequencenumber="AcLjIHf2myYVxtow-Dep-1b0EHdrHtiqtJHYKkOEyoLyKPpEmR8P6hCi425W"; e_upip="AcKjC0jA7sQwc75ofoLMkG9JDpUFPK58OMTOg6TV4O2PKzGQoqwDw8dCSDJ9_mcr_HJPW-3iS277-MzkJjJxOyx95Xoi_aDgUEwdVsM"; e_fb_builduser="AcKvt89FLf5lx44o6_IGV9bSiVQ7aKi_DE_BO7X3diu8HUjZo-imMThm8_yGDSyTJOQ"; e_fb_vipport="AcJlv1NqUC7uHbbhOEuXySlGR-1o0EEctQwxqmV2no5ZBFknktoF_lKqMgO5"; e_clientaddr="AcLPyTRIpumEJVJOFRKpbSSaKKllnClDCzdTVzVUCEhEwZBex9GTuSGHTOYHoyTqnAJ4aa1y5RMZS8yubl9uu8eG7oUFsbg0wvLc3sHQaHymG65wTA"; e_fb_vipaddr="AcKjqSCLahoOxi1PqxhMhDXiwUWj3u9sHEWEwy0TQCDdPr72EkUGbEShDc5svS6YR3qsPs6C3ZcRHMfwTBVA02_acFnM4Uo_zg"; e_fb_configversion="AcKylTfOvx8Kb0VnO3WrfbkmZIwGHmulBwIa52CFxvxranCylOeFnT88bcni6w", http_request_error; e_proxy="AcJFCnYc-fybP8wI7cR2jD_jbH4B16BT7pcYXV87xuhfzOTztbf8lOIoRBfr3Kyb-zRu1PQ7GSyn_zY"; e_fb_binaryversion="AcJEvGmjuk4krlQGVLSP5_rkL_5RJ3oASyC3x4kkMKX0vXJYpZUs4Wqq9GwVpLasQ20kNbd2DQBy2S-q5sQR0KvbEmKAgS2GhzM"; e_fb_httpversion="AcLOpN7tMk5-4Km_XdkpfoaUaXDrH9_Ox7U8xJgiioCj3sHL8gEU6Mk9WZgB"; e_fb_responsebytes="AcJwaynERT_w1EYXb55DJpghM1YZ4Id3cGY9HBybaQdO51IHNg9C8MbaxpA4"; e_fb_requesttime="AcLsicWeCgC0u6QdYuawiXEeLWqaR5msNog3TeFpyfI7KvkOShHR0wMPaHBf5JDn6tCWsDwufQ"; e_fb_requesthandler="AcIQnCOOOdvubcIcVqQOwE7qdQj--wD72RkcH6SuNJ-x3FohuQoWpt7ekL7iY-vQJnpw2Tz09Ks"; e_fb_hostheader="AcIQopiOyac9sE-kw7xXMQFw2zlzaC6W42ZSl3QHKozxSrEH6D6LQnOlhGQMUH_BcnlwGQdPbB-_MirC"; e_fb_requestsequencenumber="AcL2iv7xZ5lO7Q60kDbqAj_xVF99U81cYKRHt2RMErx-Ejp0_WqF3vIVZg"; e_upip="AcKq3NhnebqtE8QryGe-YxnKG9SrqV3nvSQzoc0wFZCNNtHo8Z0NprBXgBzm2NQZSdpAqqiEJ-tjHqq2Xp7XJEwgQB2sGz7Zaw"; e_fb_builduser="AcKZ5eX83u9XlSpr23gxa4VSnt8ruO_6kaIJv6ao7UxEhFcRLFAxv7OylpGETV5JBd4"; e_fb_vipport="AcLbS4Vxjcar3bVXwDvrBbAUEunxkoW-pTMwtjb9Pv-NQu1bi2IGTmy0ZLZK"; e_clientaddr="AcJMaDOOdpS_-ds7mV5AkNXUAvvq__yyo0xvig6z_Pq4Lb3WUw5TnB6A5kDUxSgN-yJ_Xtl9Df7dcPnmow"; e_fb_vipaddr="AcLuRTpzJO1SnjDY17hCzG3OXXVZh444VfV1QWXx1y7O2PG7XmmxpZQfDJRSpIPX16Z2Eg"; e_fb_configversion="AcJjkh80mICTkVDWm6rOjVeWpKZy70fwlP-YaSssh24xfaNvXr0pyAI9Xysa4g"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=157, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8310943122290857"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 05:58:08: Error on send one message facebookId => 8310943122290857 08/17/2024 05:58:08: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A_MyyrXDLhuNRbnjT1UfWZg" } } 08/17/2024 05:58:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8310943122290857"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27046512, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2ZrBCP6Frd0sbysunwKDZG', 'x-fb-trace-id': 'GEucSs4TR5c', 'x-fb-rev': '1015761039', 'x-fb-debug': 'eIXvgqe74qDzu03Lb2NWSDX8YXqpnYBxOCGCDjjozFK/qNOFNKB/y+eRimfdw4icEEOq0qRIVlR4rX4OWiRcgA==', 'x-fb-server-load': '53', date: 'Sat, 17 Aug 2024 06:00:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLChksR7XbCEuMSuLlC3Sl6z_cDyfhJ67fNsRqlCPFZ216TMY177ytYvEM96XlrfV_PDFlQ5nfCcCl4FyRh"; e_fb_binaryversion="AcLFfSGcFqrcZSlaTNya7An2zIKHDArvZEXouBq0tglADJS66xh1ynwPozQkArnq7zF7lTHkqhWnCve2oeLY_erM9KqQ6basLZ4"; e_fb_httpversion="AcICS6MzMNN3DXC6hkEMhbAy6F6ILLfZXFrzz7zxQCA79PCHsoUri1Ss2WTh"; e_fb_responsebytes="AcJZNtjFjNuFuhTaEXmQoJNQB-nJOI7bv04xNpLQuRLzWrQrFmKh4C3dOjAO"; e_fb_requesttime="AcL7E0T56WxtKnhpimzmBqVdkWhGi4grqsFQPIUdWLsyiyvwAg2hQUqu5-1Z2TVa-gsxBhJoQw"; e_fb_requesthandler="AcLRNRfsX1ntGK378fLbHgy0BkD02If10ijHAB-gaLXCQHdClUIRKibFhhG2yYVd9fxFYH08gmM"; e_fb_hostheader="AcKxyaUcsorM8izCMvQyrB7ObrG-eyXbNOojKh-cauoUt7ZuF5ny-QW-iYEsz7STEwdbG1QTYndYIqTr"; e_fb_requestsequencenumber="AcIgVLsEGyF9obONby2nOsEJpG-XAlMEaFnAGY6i-i-o7YdmGkmB2wGVYJmS"; e_upip="AcKhAfdp3EITaIJEwBN5l4B2a3k1sW4uh6h0k8x68U1dZrCMF3LTlsWJtqEkCafVBnwLGPaDvbNPIHASJQ9MBmGnf_xHQ5tX5LGndQ"; e_fb_builduser="AcIARPxv3DIhkHg9RTJfiikQzhYqEQIYmVNcZ7EipSi5P_qa93UBCaI1_aAZ6CCxiVE"; e_fb_vipport="AcI9XJrgP3V59Yz_zurDit0UHgU4ex2Ba2EicnkVpfKLTLpZzuEdYCsQAN1t"; e_clientaddr="AcKWjOVrYC-IPsPdq53CMjbsM0H7IopnUphWG9GraYj0pi6yrONKke98B0NAwK_7afZ1nlKfEDwIyvBzj4o6VVyY__iSZR8woFvKjwIO6gHinzttow"; e_fb_vipaddr="AcK_XcE1A1yMTHtipgWvMjQWgcx110K276YLFHmRpOwLMgaD3kZqS-hFBGtTL_AZ-jmn5HOfUV4W4dpYIHe_DeB-HgbtXGkaNQ"; e_fb_configversion="AcIoljHna0JVUsE-QqrNPSshFLtbgIHDF2WiPWsGxGSAqSC1vFaM3gqu44rjOA", http_request_error; e_proxy="AcIMW9YSOYLIPvuAUJbfVale_RB1H_4ewBKctlgRW6tc2u9sgNDpGyaH_eRlMViR8ANmqDusP3dLmbk"; e_fb_binaryversion="AcKHQJ_mZrqUTbJX8j3yXMuF6cT_Hb3L0quqtFp84JHPa6zj7clLcdVfYPVROwE0XKurKxi3FBh4qwnDzebXTElUAABjU92jqII"; e_fb_httpversion="AcKa8f4-IV-6hHFjACbDwK9VJMTwtIIMwp3wOg4ag_dEGb6oAo-1lVZ0opiF"; e_fb_responsebytes="AcKraO9PJbfucOqfct0dNo1464EvUq6xAVvi-OdqxnxsIvXgcOwS0eW2lvKo"; e_fb_requesttime="AcJC7NQTbKzQsd1LWMOLmHz8v2-M3a04rs4AgYurN7-ah2LYoV_sniUbV9pDU9q_ogB8bV0mIw"; e_fb_requesthandler="AcI5oESP4LObmTtLj95pudjgyJv5gsXzy_CIDf9NpErPrmVsGmasm_GjZovlxOVOwyvkXFqc0kY"; e_fb_hostheader="AcI4306QEObAXRT0kP0V2HeXqGH949cWXdjD5qlT06LXkOz1D6kFErF_m6FExiiMYzHn13FrLH7pIMFy"; e_fb_requestsequencenumber="AcK_idkTDBonPuS_QyvHDsnavAE9LlwnPaC1zklXyckkzwpT5_cD3tOb-g"; e_upip="AcK-mk4m_C2ONMIbbsxk8zVmEHq6lNLlnImUDPdz9TFntMqHo3M8aKQcNYhD9o-jZGvasvtuh5BHXx85kEZ0Pwe93idsnR1pTg"; e_fb_builduser="AcLocPQZ9LidkhdGTcEw4eNphS-tI8ZgIwXv3uSr-uxMJx4pMDBUtULBO6wFGvcgIxk"; e_fb_vipport="AcJAO7g6IwYqu7f0uhOR24o1BrpB7TlNvMvCY-zNx-zz3wZ9_0FUFZub4WLC"; e_clientaddr="AcLQ_kT3is4YYNYYjKnt4L-jU145GETPYdaCL7-pAJiCE_QjszLB4nqGIZVW4CAj5-_vkmuXq2zaPTTCHg"; e_fb_vipaddr="AcL6t-o-8IUMr1FWen3Nqd9qpWxDVYdavjHUuzurGp5NL57OGmcPAKlbiPLSjRE1BzzvOw"; e_fb_configversion="AcJew-HXUn4GjT2lpvkPesGcNG2WbBZXYpcP67ZSJMwDm5WExonVUXmgjrsmDA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=206, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8310943122290857"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/17/2024 06:18:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 06:19:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 06:20:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 06:21:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 06:30:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 06:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 06:32:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 06:33:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 11:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 11:32:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 11:33:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 11:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 11:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 11:41:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 11:42:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:32:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:33:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:39:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:41:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:42:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:44:56: Error switching inputType 08/17/2024 12:51:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:52:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:53:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 12:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 13:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 13:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 13:56:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 13:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 14:26:11: Error on controller payload Input Treatment=> type not found 08/17/2024 14:33:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 14:34:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 14:35:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 14:36:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 14:44:05: Request bot not found: { id: '863113247096430' } 08/17/2024 14:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 14:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 14:56:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 14:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:14:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:16:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:17:03: Error on controller payload Input Treatment=> type not found 08/17/2024 15:17:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:24:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:25:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:26:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:52:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:53:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:56:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 15:58:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:14:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:16:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:17:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:24:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:25:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:26:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:52:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:53:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:55:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:56:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:58:02: Marker: 0 | ID: 66c0d69aff349866cd5162ce | Error: cant_get_message 08/17/2024 16:58:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 16:59:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:00:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:01:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:02:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:05:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:06:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:07:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:08:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:21:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:22:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:23:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:56:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:58:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:59:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 17:59:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:00:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:01:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:02:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:06:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:08:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:21:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:22:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:23:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:40:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:50:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:51:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:52:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:56:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:57:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:58:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 18:59:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:14:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:15:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:16:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:22:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:23:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:24:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:41:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:42:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:44:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:50:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:51:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 19:52:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:16:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:22:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:23:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:24:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:41:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:42:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 20:44:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:16:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:20:36: Marker: 0 | ID: 66c11424ff349866cd51677b | Error: cant_get_message 08/17/2024 21:27:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:28:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:29:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:30:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:35:48: Marker: 0 | ID: 66c117b4ff349866cd5167ae | Error: cant_get_message 08/17/2024 21:42:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:44:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:58:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 21:59:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:00:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:01:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:08:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:11:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:27:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:28:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:29:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:30:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:42:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:44:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:58:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 22:59:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 23:00:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 23:01:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 23:08:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 23:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 23:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/17/2024 23:11:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 00:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 00:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 00:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 00:20:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:14:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:15:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:16:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:18:53: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/18/2024 01:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:20:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:24:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:26:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:26:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:27:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:27:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 01:28:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:24:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:26:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:26:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:27:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:27:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:27:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:28:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:28:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:29:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:30:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:30:15: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27333205, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 18 Aug 2024 02:32:10 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/18/2024 02:30:18: Error on send one message facebookId => 7796797510446367 08/18/2024 02:30:18: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/11a532f0-5d0a-11ef-8ab4-a368795bbcd1__1723948329887.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AY0sPUFlWDLciQ84KRfJxLO" } } 08/18/2024 02:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:40:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:41:08: Error on send one message facebookId => 7796797510446367 08/18/2024 02:41:08: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/11a532f0-5d0a-11ef-8ab4-a368795bbcd1__1723948329887.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AiOXfux4tjWaeLPidqGRVG1" } } 08/18/2024 02:51:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:52:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:53:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 02:54:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 03:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 03:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 03:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 03:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 03:40:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8218063024920556"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27351684, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1MXPFQYg9eWwgZHQO6DZxH', 'x-fb-trace-id': 'FcRjsMUsQR9', 'x-fb-rev': '1015766972', 'x-fb-debug': 'Zescq7hlkWXHjjEUY/0kjjpLK2zAxWvwxuoFCmwLws6SwOw1GKkAMz0smxJcjKHJhBEikFvgv5FhzpWwpyUg+Q==', 'x-fb-server-load': '39', date: 'Sun, 18 Aug 2024 03:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLe88mnXlp04pfT1RvAwbPGqbXcbIscC7sD41vYBUf73YP2VeouDgP5OuXBdb50iHvpciyaM6rCGfs7J-Ks"; e_fb_binaryversion="AcKs5zpI4-6xwcH22SkvdbRWIFC-z7qO610IyKbIg96DEh-yccr-LJOW5wVOf8FkGkHM1IPm-cIsGqbtequwR08FS3HViv_2XMA"; e_fb_httpversion="AcJl715ZEXkS8X1OMsR9MiVdfRssbCeYaY-PKUnOh2CL3nPrdBQOZvZSCtOF"; e_fb_responsebytes="AcLr9JSFGCKpV4jqcy-o8BFti4gNoGzUCwnZ5lqk22ccPlQsDGLD2V7rQI7i"; e_fb_requesttime="AcLfPTf_z3GlnvIKMbL89KN4wzZqV8XGpnuUQEWvZV1fBf0ZKah8YWUmKCf6L6W-7oDEHvMlTQ"; e_fb_requesthandler="AcIZzPbIGMun2wH2Ynf9AFI_rJz_JdhEPr1hJNpusAwUQsrbSFdPaBlG2jsDHDonazBZett7t24"; e_fb_hostheader="AcLvb6jUnQKXOE_ymzTAdQ92U9KXqyqUEuoGkFCqckjgDXwn6Ec5cnZDtYb00UbTWYk6dSJr3vTxv4W5"; e_fb_requestsequencenumber="AcKiG2X-X3Zo6X4GTlt9-VH-eB7xa1lt66GCFyEqreZsuwPo7LK7qM-pWWAy"; e_upip="AcJrnRPXW8lm0KcXONPQULTgiS9ccnABLvlwO7ZzIjwZyxaX1JYJj9VdBLoQuVdfVedPlWPWnnf-2TkD3Ak-g43fB0zg__w0Ut7EHg"; e_fb_builduser="AcLHehel4dbTZOULSNy_X4uOZnl8sHV-Z6_yZXM4xl-wZmPhWdrOBMquhGwZUONnHYo"; e_fb_vipport="AcKYV5PIO8T0cyw2fEwGHp7aunzvQ2VvKm6KK392fS6UKKSTrrpV8tiBEiuw"; e_clientaddr="AcIOzq-8X-XXum7y_ouvPy1lGxM6vD7K8gzT6cHkxyvtiiKpbjLgS7kvR-U79cLy6loAcIPDzmXlRlT3xvON4ww0c6DUtdTM9ouLAhjF7_7XUyQlkA"; e_fb_vipaddr="AcLygPNsDzyacyLZMgD5Ie6K9vauLSzdLg-syCoNh6EI7dHWq6hV019geIT9F87wPMxRl_AfAd1LaEQuHmzrz_hmirh7SK6Adw"; e_fb_configversion="AcLxiVTmsYKtUvDWu3G7xeNKfs0PzyppRp8xVgZ5MS9GeVt45cxXPyLs7SFkdA", http_request_error; e_proxy="AcIHxd1hNuXvQ2zQylnn1vqSlAwJoI7eCqIbHE54-sr5q5P5zXHbMeQtvxLT1syCHy6mKGkKvavU8xs"; e_fb_binaryversion="AcKgPdWb17ALjVcPQ49Wy3dw7jaLAKB8G1yayKfe7D-Aq8khrlcMWssV76BillA-cDLhl5xreH3L5doOnBY4Ijrdxm1Nf6SBAdQ"; e_fb_httpversion="AcJxvE3uq6a0s84EWHIjJlTTKXDGotMfWv3q-7scN_L8runU5vCkQYctTjiz"; e_fb_responsebytes="AcKg-Vvf61SiiH6iI0fq2qyo0ky4oiuV76WOMhVm5crPrh2zBkEsFhds5a3b"; e_fb_requesttime="AcKq9WVVpIBEyvupBs1H3mCKFjNrwj-miA2CMKTVGjq90mEfrfXIRzqvxvu9fNPGSqSD2tYTJg"; e_fb_requesthandler="AcJ5wFVQlQbU_kVl7K0WTSsIBi6kBBFln4Pu5Nb7NKlsSLW1x-6E-VIfqXoXkk4glPFw4oxYXhk"; e_fb_hostheader="AcIEauXmQYL-kDA4248oAPJa2v5qoMoHNtFSa3Z9Dd3wcyUreJ2Qbl8IODkTUIf8FEGDuR1ovQ6EHbgw"; e_fb_requestsequencenumber="AcL4E6sEWXbSpDG7lTa3aM1qnxt0B929WsQNJuodsJFo1roSkoTSZWVjBg"; e_upip="AcI5uizUfR6oYhIxqoSElkx_6uGFRk_WWecqRrcCIXQiF2AlZhuV3K_S2umgU46h-FmIjiaFM_V33qlS261Fw6t8m6W5ABr7XQ"; e_fb_builduser="AcIvp0pdbrTwT9qxfOFdC-ejEHWdF-VZzXQUR4TEHQhyRK7w1yjyCCp2dW2uK8CVbOw"; e_fb_vipport="AcJ4wWey7-r4lb-Us3ZbQU4ORIkEuQGO9HQZHPN3Q7WEM6CQnRQb93s3i0oi"; e_clientaddr="AcKat1SDoq29RkG7LpS3E69u8jlrv6ASqrTJSZwUoThcLq3N2II1jfGVePLhNIZErQDu_qHh676GJO530A"; e_fb_vipaddr="AcKXtUgOInwFll13_XAvwqAOoWxT48U3r9n4Aa_UzOlcSzoc21CWlA0yzWyZ6nsNi2dx8g"; e_fb_configversion="AcLwcw5i5RH4kf_MD1cx8CS0-hpN8JRbLU8qxMmU_lszy0tneNVaZlgrVDsuVQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=271, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8218063024920556"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/18/2024 03:40:06: Error on send one message facebookId => 8218063024920556 08/18/2024 03:40:06: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AOrrqCqeblvHErTWIPG-4OW" } } 08/18/2024 03:40:06: Error on send one message facebookId => 8218063024920556 08/18/2024 03:40:06: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A7zSlc1Qs1Qr1v7OBoQCZBH" } } 08/18/2024 03:40:06: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8218063024920556"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27351929, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiL80nYx4jLa8RxswiVHyUN', 'x-fb-trace-id': 'At9kz/TLFxd', 'x-fb-rev': '1015766972', 'x-fb-debug': 'Qk1ByPLrT4tv/audHjcHjuISzL66uuhsCULSaqusbDsFMhVmPOSVPTcsCKxbSbGAkv7/YoSPWVLz3jWahIb20w==', 'x-fb-server-load': '31', date: 'Sun, 18 Aug 2024 03:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIqDQh5bZJo4ZTs7kjxJGeetFguDAg8v76gYSPf_K9qzrRuciOhMm2hse6nPUQpFs-cvZrqU6xhllhpS_QE"; e_fb_binaryversion="AcIvyELdT7BudgnS1jPA01q-7mwnb3VJm_INTUKvQX_qmzCFMtVfMF5tNAIlF6uuy9SDAlDnH9Q5UgWetnd0L--JeTnZTV7zThU"; e_fb_httpversion="AcJQ364p1goDUncxsAE2VfUXHndkWdGIOk6Rl0bt4MAWsSDotsv-TR4yXrhE"; e_fb_responsebytes="AcK_Gy7SgAF_ph3ApQRJjhVd4azFNmI-ju8SUraujSWHhbKPThWP_NdPsTLw"; e_fb_requesttime="AcJDfg1hjNvjt7X9sRhcZ8esBhuE7yAaiZCRitGuGnmBxVDOd29PLeXqzIcinceUTyJs573pRg"; e_fb_requesthandler="AcLDsrr8oheny4ljX7tiekzNAu3B4Y4Uo7XMzIroouzmyYteal--ut3T8frOuaQyksdommPbPBo"; e_fb_hostheader="AcIdzefKEUb98aCRdd7hC0KFMv2iKFFa0ohfeOGvCgD00Wz-oOjTNqj8MLEKKxr_PMqQ3QJ8a_cfGqyR"; e_fb_requestsequencenumber="AcJUdlo_W7zCNG6oSWbnJ0xKWrhk8nT-m4bZ9hnwTWvtrH9ViDFiUUNZtmM"; e_upip="AcIz0vyCcIQwyJAe_2-6vrl6XzjNsnv_akkRru8nhyGl4B2A0Z2J9gOaGS8Ws3cwHp0QuA5dgC6c4ez9t4Eza7RXhws8o37y71gZ"; e_fb_builduser="AcK9D2sCS1sovLGvxhBOh0E69zk3v5GULl8h6aIY_Afux10fqRVRcExJbI_Mthr5ZlY"; e_fb_vipport="AcLhnysdjsQrXHcqlGIRk6j0cuC58zqFIiO4dqAvPw-14BstNc3joHkWmgUZ"; e_clientaddr="AcLaA6OAmwqz3v2kNDzzB4Y1JTgLYj0F6RNX0YePfFXKZm2gh-rO0kcuX2qFpL5c6gH87WC1izjyiP3OOA91jyQzlHasaFdidLn9BHu5ctnh93UeKg"; e_fb_vipaddr="AcJW3DMEbG-xkiVd7dRD1hTBH7LfkFfmZR1t4BUKAxOqF_1FMMkkH4kKV202Oc3_OuGrs-wn92S8O91gfCJeCoIc3IA_k35XTg"; e_fb_configversion="AcKRixyewyS2P-4pIfzad2ZiObVLvzCtJ7Smx_LHEEgK7hot7xAfwbX3Q_D7kw", http_request_error; e_proxy="AcLbYQNdjFSsVZrkDUEV_utAAi--ywnhbumSnE5vsRCxaJG49Pyx4gM-a2OmkgADFsWitHvQOuU2CHk"; e_fb_binaryversion="AcK-x3P2_S7S7tf5twsVasP_ewElHEF3qNci1-QYdxaKO_hgIGjWq3Rm_xER8KXCJcox3aq1xMVAyBXhpJ256AZ7ziDI4Rz5if4"; e_fb_httpversion="AcKH334_9VC7d6SgYOHouMGCzzsswq3CCNXmap0GBJXLa2hhd2h1MPqiduDr"; e_fb_responsebytes="AcKwsjIyrZMChVfxZNE9HUcAbBkwWVH7qNcWdWkxg2btFTkID_UgdkRZ0k0z"; e_fb_requesttime="AcLFWxJinnAm1EDSytKL_5LhV0WF_e1GlqfqdiCfVav8xGcOwgASWJw3MmqnYl2eLBwC-YGR8w"; e_fb_requesthandler="AcKh0-HWolMLXKSr8AfpfTwaIlCY4xHNnmLmU7FRiXKs8KOpaSf9_rn-SQAPqRgNrcgkPO1Q0KE"; e_fb_hostheader="AcLFjvbiNzH0jYc1uFNTsodmGIlYKe4qefQbNolCS271g3fsAo9sYKR6wMxiE84yBcDaEBy6VPWXtZl6"; e_fb_requestsequencenumber="AcL1zW6iOSpsI-uOJuUg5To9HuAbNPKMUj3oDrm5_Ia-M_5PK9a3Ej4stg"; e_upip="AcI0iBS5TK1bndYQox9ZjXMcsOWA3i0O3waRDoWkciDA5Md-5ZFtv60t1ycAWoC-JtMGBdK9TEKZJquZYbiJpLuH081rq9VnOA"; e_fb_builduser="AcIuDJ-EDTEbg2dlc1yb2FOLrvRjNFglOXbPpnNinyB61s-yg22FASUaRzgUuOKzQCw"; e_fb_vipport="AcIGHakGRDZhxg_TnvZR2r9a9J13cQQvCyMHO6NDF3xfksLLNqPV8YzKB6RD"; e_clientaddr="AcJ_hSmvIME7P9FVqpwsoHkmspuBlp2BJFANrSSkOfVJ6pcNcKLFH6IoM9sQ4pdudLyEmzaZq18Bn3ULyQ"; e_fb_vipaddr="AcK69W3yhwf-jEcnAgwN757eMKCTTctBGrl0GZtzN7gYHdAW9Ciong3oPp3qinYPr4DyQg"; e_fb_configversion="AcI_E6dDZEgF7tT4-YbXs2qFeXVKJb6zjJDxl3pGexL_nQOiwlYVkyQzeR_1Kw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=238, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8218063024920556"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/18/2024 03:51:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 03:52:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 03:53:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 03:54:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:29:08: Marker: 0 | ID: 66c17894ff349866cd516dba | Error: cant_get_message 08/18/2024 04:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 04:40:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8218063024920556"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27363927, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWg5skTp19FAw4WB7fvQYdW', 'x-fb-trace-id': 'ABiYLG+GGPx', 'x-fb-rev': '1015773999', 'x-fb-debug': 'SutAS1LL7udqWPqXqB8hZA5yoYQ43p/mTlPats/2RA1uGZRUOd/16XWFNyhVdHE7Bs/p3/D9dCYg/F2ElkqDCQ==', 'x-fb-server-load': '38', date: 'Sun, 18 Aug 2024 04:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJYKs73MUS75-y4MfKxJQ5QFKVjQOv26Er1pVuKQ6svIcdLkJeiLpoN02NpcZ0LWKRRdb58urUzJgmmO68"; e_fb_binaryversion="AcJUPNUXRFsJQrH-MIUBmgdY4FP1PS3Wx8IIU_jaM34URdtwW33pNCtTq6NzSNeyLFtHTq2H_pABq47il9Tg_KwPzY02vXvL3vo"; e_fb_httpversion="AcJ6bKaruJHCdrKdAfK26eDeupaGcMmQrUmG2R73vwLeILdpZPT3LwiGFeiY"; e_fb_responsebytes="AcJZk1TaeAVameRwLCGFoZ7z5JH11n6_UBIfACbhmERBU_jBIrBqS3KEWtFG"; e_fb_requesttime="AcIa-jbSGdPUsUx4abfdyOFUpqMhhMcoR4jZMSS1O8Tskp7KKFW6clJTHCSB5u3bpMyqzTJOXA"; e_fb_requesthandler="AcILecOtTCCkdAamUvb6f1OebsyrTG-ow_to02CA0WLxCByP4gyQ-x9ZIkj2JgfTHUwvN1qH_BE"; e_fb_hostheader="AcIoXf8SFLpYIPvHWDLqQrV3cwnycfkMdv-GqBcTfkq3tzMUn_t2iJVcw6IBkVZR8rv7hf95S3G6DW33"; e_fb_requestsequencenumber="AcKxFko7uCyizkDAwte6ztcyOqlIC2CiFq7i-HFzLz_L5uv7fvQy-U0kULswyQ"; e_upip="AcLiBEbJF3CATlSZlrseTxyjhSDi2itpcEFxvl71XiYSq1D0IUArOVgSNavjCJmI1hEhe9EX6Kx3_yPALh-I9QA5y5A8mDaWUbk4vlU"; e_fb_builduser="AcKc9Amy-FTs1Tb2bTZU1IPiB890OO8Jk5p6Wald8gPy4n7xP55IbC4Do-4nnmdSeAg"; e_fb_vipport="AcLl977LEO6OoMDTvqvYJA9IFSWdF3z56qJeH3x7iVXuIu9VN0ONCNU1lDdu"; e_clientaddr="AcIjcVwX5-59bhptdrzBhPP6ng_IihHtsGxhTLw1E0k--68Ne9EmmNOTPV29nP6D_XKxZNNaZRsKZNLmf8cOJKaP8ibwBjVdGxlLWkWm4O8hEuI_vA"; e_fb_vipaddr="AcI7oKlfiHjSBsXr9LXfUmssEZfJ7fxAW6uoy0uK1Mj_j2gS2eXa5j-Dbx0dNe74RQ5ZnhlYpsABeMuk7iWSOuu9BNH0kITkRQ"; e_fb_configversion="AcLMJ8YVV_NX8y4VIjC22rOiKq3Glitzjy-pP1UMWV_mi1Lp2BTff1RdpB5bEA", http_request_error; e_proxy="AcJeU8uXlPiwoEE0adp9do-T3mdshy-_InQLpQi1xe7OFuq3LKFHC6fvVQEEaHPaA8yuutc5_85uuL8"; e_fb_binaryversion="AcIM6e1uJTD7G_Ojd01I0zQoOeJZGVktqU4abx7h6Zr6kLaqMoGnuB4nV_hrHUraurhIn_Izp3npOrytV2F6ZCoE1UzZ5B3xV5U"; e_fb_httpversion="AcLHQ9AgPaLIjJSopq63HpmsR0xgNPE2zvpRODQKO9wVK06Zm5lnKKSVmNLd"; e_fb_responsebytes="AcKy-5M5wYyv_3k2iNuCY3lyILstFwZicEQKsi6Syd1IVPNOEhBKjgiUU_Au"; e_fb_requesttime="AcIC4KdFgimA9zfzcHaeyc9CgApN5vdBnPcWEAgBt3QvpHI8gfEf2dKeYXxvLlpYEmvGxZZ1mA"; e_fb_requesthandler="AcLSK5xcQHVNSsRZ4L3Dx4OMG0yLg3dwP0SOSU3YKhR7HV4IzCqyWH2UbKNlUgcB09KHz12VR1Y"; e_fb_hostheader="AcK5kdaOaG7RsyNw4CeiSl9KXRbbrEU2QVIoscRd4qEjPn5Cm2dHBuQcK2hxeYLDx7ySq1jbzAcSHgjc"; e_fb_requestsequencenumber="AcLtFOJDsNDrGW5O7uc3DC_3Ran0LFbM5jqXOI1o-rTv0BfGepXgOaPctg"; e_upip="AcJ0WHtVKyyhCvXQ4Jl3tG5AnX2gAha3JJrLk6xdIMny2UqK-nLROs_P5ewqLmxCh_vHclEd55nDYrwgy5xR9l5c5dKmorzxkw"; e_fb_builduser="AcKikxyfCbwPKVGARd_u-OxHw8faAaZbu-1kpml6mdkgtOkOWrR5N5AQAOmmNk7zmy8"; e_fb_vipport="AcIV-sQZtVAsFwZUinhZp0eSqCww2mt_KQdDuj61YxWV3NgdQykMM6fhqQd0"; e_clientaddr="AcLEaGWeCeQHidh0YyiKBwYrMhgXZ2CPknow8fXlL_RZbsA6yc7FKd6IV3nbqqNvnxi1So6vTI3pPgSSHQ"; e_fb_vipaddr="AcIiTlw2TBp1fq9xPXGRtSyj8QZmw8JkUC4kRlgOKI5cG4R9J0OZAd1P3QMk1R0c64upPdg"; e_fb_configversion="AcKcXMjphBQa3bdGaezde4sV1eyw0UZ8fQ3BiCyXvrLdRJUhSns5_jjKX-g-dw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=30, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8218063024920556"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/18/2024 04:40:07: Error on send one message facebookId => 8218063024920556 08/18/2024 04:40:07: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AgXogM1ytASR97zDcBecHcy" } } 08/18/2024 04:40:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8218063024920556"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27364114, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmEE3wk56EjT8lZgqsZDc24', 'x-fb-trace-id': 'AUOLmldCz02', 'x-fb-rev': '1015773999', 'x-fb-debug': 'eXnIRQVQNefSWe3opMf5P7Wf0owBC+jKdjGGvpMfegWuOLy1Y4AvRoM8+1gVUZd4hNV9Ziy5ubUcWaELeB+hdw==', 'x-fb-server-load': '55', date: 'Sun, 18 Aug 2024 04:42:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ1H-1cj093lHKyJu5gZ3B0kx59Sflx5tsyr8g3x-a5VmQyztzPOzMbBCsmDjtyMygPtKbcv6yGVP4PJ8M7"; e_fb_binaryversion="AcIR5kDUsVbJy_zV7hJPaylQMaIQSODiaKbiDa0UA8VyI-GBHYkZijfAtJhWBR-LCKzK9EWF_KZ9q9IFrT1nbweLq6-gBsWXljo"; e_fb_httpversion="AcL_iao4C8iJkYPUGkwD5lN6vvO6sVJ9UGmnnaPUVJmDIM59FpZVOsc6N4FV"; e_fb_responsebytes="AcKcyvstwARVZNzV49AQkqNuj6Tgd61UWxP5zA_w4qa5i42AF5JcQEUL_-oZ"; e_fb_requesttime="AcJopclvq3A3g4Ra_UgG5E0ixBqVCSV2fH5ddo23RazradK1ikfEkv9KcnOzUjUFkW-qknuN5g"; e_fb_requesthandler="AcJMDRg-m4nBQAzJspY48SCFXxYF5bCWID_TqMZZ5gXfnD-Mi3kcky_ldYqWiFYljIrxuu_hiI4"; e_fb_hostheader="AcKBJGmJzgODJXZw3D7lfC_QdDcIKvAJbxvOkanMO_rRR5awPuXmKQcOmY2XDmKNMCBvNTmVjABB6VWg"; e_fb_requestsequencenumber="AcLGgMJYLIhdSWyQuh-F00Ub5mYYBMpqPmQYzQ7wSYINRbXvx7kjIBUNjtEPMg"; e_upip="AcLb29kfjGj0UDyjEYCxCz23NYX9TC0KOBsYFr-G8RjGl_9YNljihYohBo3MxzDw1r8XEz1lidKLcz5hO-HOn8UZuTFXtUrP0vDoo9Y"; e_fb_builduser="AcIfy4ZGPkxQZO8iV78WyzFFnv-lSIgeuE2oTMBqi1RDhEJWyM561_2eV4TvzhIetR4"; e_fb_vipport="AcKVkMCjKezKjri-s28Id7sJ_ozsEKoLFATc3393qwkrCNOg4yx5mvZWhIo7"; e_clientaddr="AcIO3H29NjmQzz7zVjr2vQu9ZpWS8jfhs7bVGguStpvE48X-RyIPRTcY0i1IZ9xpShrk-AidpVh5N36yqTjgtpsJpFF1DsRjIQiXpgIXzdrpfDj_9w"; e_fb_vipaddr="AcIj4QzE86pt3XnIngwRoywSik9VFf3EzCVX6o9rgMLdKBnq-iugaWCg3Abtd4dQjhYG8P-Z0mknNL570zaE4nm-tLJxtz8bPg"; e_fb_configversion="AcLlBjQP0MaWj91q6lVIl0ANe04my39fd68vdADj5_mMJUvHDVXf-WRqzNlr9w", http_request_error; e_proxy="AcK1dPT_ELUQE4e464B0UL9sTmIMqX2ikbptUrQTEdLTZU3l64eji6L95DzI1gWsrZMwfz_tEuAUcZA"; e_fb_binaryversion="AcLFoPpewiDxhGrWbWQxkovcAQs090CSb9AQIhApyuR7xuZnN9eS78jupKR3ndAjaLg2uytZUMkoYblB1sgnzSfcDtRsd7HoKZk"; e_fb_httpversion="AcJJcRk1Y_YfFnETkfsaD951rG-nBJdpdwVRpaULJXdEW6GJDCfuk_0YKxni"; e_fb_responsebytes="AcJFb_l1N-jFrUiycCDgRG5aEHwtAZUij1Xwa89VQlLstBsYvlUmSvCl3NOJ"; e_fb_requesttime="AcKjhXipdhqa9fOhkxDrzm53mQ3gkpapmR2j1UYUl0ctuSRnNJSA-9RAo633UqBNCtfJ2l1QAw"; e_fb_requesthandler="AcLEgwjOYkObKX1zF0UFUzKzXFeyiG5Dw1RlNrTbBop0lBgRlFT4t5mJUj33xwK1S4VqWRxpLFc"; e_fb_hostheader="AcJ-PhhbN1LinHPqUcpZ1WX7lAXEDFClQuhdI346utq7_FJv_-rs_9nST-ffuA0xLIftQw_7JumEtEMt"; e_fb_requestsequencenumber="AcJDf7HQNaYOLD0tcZDwsGS8_aO5IIk2NGAGxqW8dD3TRYPoYcq4Vb0YWw"; e_upip="AcIigT2mLNeJZMbBq0kn16UwD4SYdMVzKRCjal1S7D7K522OBSIbl30uswkZDvgLqIyPzvNHGs_XiWG6az3jB5vdsMTMklqmEA"; e_fb_builduser="AcLPNgoXuNLh6mVthjQtKSI0hQH83w4wnphnxXsCKMKFgi-tUuMdT0Lzw2EI6EKDa9Y"; e_fb_vipport="AcKNjafnbpyjRJFMJedF-PKyuCPtsFbegV-Q4XCY8hi3hv7lLpGb0OrRWiqi"; e_clientaddr="AcKfjLMsGzdkx0uhjqBTetPfi87-B6Gyo-_IJEsWTeDQWe30xR6nFf56_T2gyRUVp13lvVeUn3qYg0_ruQ"; e_fb_vipaddr="AcLaXRvIx9gIoe63ZLOCQ6jb3BR67cVMmmRaC8jlWXqbKJysOLHQGGVT7qBLIeJL7EKbnKw"; e_fb_configversion="AcIH1aIWEnHXWKSycV_PjTwH6H1q18P3FBjMPQzztbPN-2gVfyrG9gE5yZFSfg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=194, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8218063024920556"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/18/2024 05:12:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:13:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:14:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:15:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:24:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:26:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 05:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:20:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:24:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:26:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:44:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 06:46:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 07:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 07:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 07:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 07:20:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 10:56:24: Error switching inputType 08/18/2024 11:03:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:35:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:39:05: Error on send one message facebookId => 8289677264403283 08/18/2024 11:39:05: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A_yStIBpJcyK3gEmHDV56yE" } } 08/18/2024 11:39:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8289677264403283"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27463311, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-dq9-bzqckpoBj2wOb4yQI', 'x-fb-trace-id': 'BGjCyDfroSr', 'x-fb-rev': '1015775128', 'x-fb-debug': '0xWPe0hW2HZIkdihBby6K3Ch+lCdc2Q5P1Z8KMc5KtzY075m9vYORUFclhauqQAj6e3f+O8CGNIhqrqY92+9Zg==', 'x-fb-server-load': '38', date: 'Sun, 18 Aug 2024 11:41:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI4yBH6DSSgy3SmiGdg0rTd_meC282w880_r3UoHD7o3H-Gfla3t0kiIXI9EH7fD58pS92cdlF7z8itt2cD"; e_fb_binaryversion="AcJlNaUjPLaBfrhPNvl5M-M5ODW1KubB-4gv4z2l0_LOsdZqnrUvwX363WGEkwvmy-rZ4x76WL8TfYUiHpTdRSKHkVS_2FH5R5s"; e_fb_httpversion="AcJHXqGZtGjE_9Smga6LaMbw4XFFIRxPEV-BquzdOmsjJzg4i_bmt5elE6Hi"; e_fb_responsebytes="AcL8VWISXSGGVUU6iIDjagmZ8ib9mL8QH-VAGLsupu-hW_-CxyH303yv5hke"; e_fb_requesttime="AcKHWqLdAqOpb6RASNy4DFqCwx0Z7pDcr-O4NzcpPt2pCvG_OQe3NUjpUK0WmihVNl8lTgl3mA"; e_fb_requesthandler="AcL3XY-MRW-ijRgNZJ5yB5hAfYHsHqqTEwbdjdcIMfWJnhbolHY2p7CDPvvtf-rPnUrN_K8qgAY"; e_fb_hostheader="AcJXiAFQ8fuX4RYIma-c3HRDFcpmFGfzKNQez6GXfLTW-eKoXfpms2NYojAAtBv-2OhL0BaDD_Ot4yHA"; e_fb_requestsequencenumber="AcJlEjFKLpSCBvRRoIf3uv2jko0XDSJrrKidRmQR2HtRXQhL2Nl3hS25fQ"; e_upip="AcKF5TSavuKFbWZ3FlJ_P2XmzcITDASU6rW6iF8xwvw2nmKwAR8iOj_XvBzYoTxBsTT-U8oP--IJBNy9ZK93zrFBYWVMX6jtZaqr"; e_fb_builduser="AcKTYoncSsUdmx-xxjYb9Q95TzZNaN8_aH-5R_zFsUdl5Z593EuZOtIoBFC-J1o50ZU"; e_fb_vipport="AcJKLOgdDlAaB3TKfsiB5VdiPmSFvROdikBgKeLVICnuFzH66mfEY_tL2Ca6"; e_clientaddr="AcLMI9cfgr2nnKxf7Cs01XbN9Pg3G3JV7G5GOz71TkFLT5RmITAjLZRDGKy_IZJJQuoXLnkwAUU2TfeZRSx96AY-NsXkAZKRhPc8HfchzHiG7YbiVg"; e_fb_vipaddr="AcK8kfhZAzz-lGqRbp8k_3zcxS7Mgt2QH-cC0rp5bKrA04ofEgw8eUPEyeDvgLuZG3ctXyKNorBtgThn7PG9gD95rvYBt1Zm4g"; e_fb_configversion="AcJ2bAVXKtQc74pcU4blETADSCb_CIYF0RpLgBZEfpoaV-6_Ez9zB38Sc6gV3Q", http_request_error; e_proxy="AcK9HpIOfBvudLsNzVBNbus4r8TxQlHLT4V7kDSKuwG4KPLMghWWAs2JqdCgjSpK315D8n1eaVSWIPs"; e_fb_binaryversion="AcKRMQCRUUCNcj-K17ShjzGnt3xZe-gf2ODDsVo3FopmtSGEtGIoHqTd_7OhHNy88804VunrRIZTRsLzod-CGGaerIuT7gQiOi8"; e_fb_httpversion="AcIRR2BlkApXdVZpLouVCaaxMNzI9mqbMa7xYCZ4cnKrkG-tf7awb5SgIy-B"; e_fb_responsebytes="AcLv801H72lnR2Lw9KPLxRgA5b4fJ4e40CXMaR_hz1Gfn39g_DexNkgqKTm-"; e_fb_requesttime="AcIdRIg5WGXH5vfvAZB_11GbHUed6YoK58BZFTk_M5rkDv00xOFyfrqArQMAtVB3-LI3I5dAPg"; e_fb_requesthandler="AcLSWHOHK5ISnec7bz7QURulld5U9EtP16CuVIdoFxBNOoTIF5OEKfgjAsmDD6YqHRtrAaX3b6s"; e_fb_hostheader="AcKAmXiKXos3KW09gXju-7wA7UPub0fSH5UGfziwtxKBys8f-baVJZXN8hiicUt8QLgqV1XpLztwZ18Z"; e_fb_requestsequencenumber="AcKkwX6G3f9ijm29BHWlVQANJlXTg2w2yzyDvr-pK59zK9zoqs3-Qf61XA"; e_upip="AcIh41EQohzaAsAi9kzT-x2aAIrYspE14vOaNle6eR30UA4n8rVpEel5CzYE784E_v2gI0yYZ9dIZQuui-1SnxM9CosbVyACLw"; e_fb_builduser="AcK7jNIdQcMHBzM1xC0mWEmp4c9w3yw1SOCJXUfBHmRIwHsg99ot4xj2qS2iLpM4kV4"; e_fb_vipport="AcIn-ptovcQF-LZPLI5ESEmPNQ3cGftbhjf2js_RfwOYyEUkrJ9vBeuDpncD"; e_clientaddr="AcLMRB-Ni8LBHMuY5aIH_F09pqHWRaYXw0H3zSBYbxTfBBLQld9-kPmNQaNTWVeJA9ptw137Rvq9DQ-wMw"; e_fb_vipaddr="AcI031qNDsZu0vVzXbSehnWcEqZwAH6GXkC_wEiQKpar3TeJT_rcCpvwf3yxfUTck6ZMRPin1ck"; e_fb_configversion="AcJ99JvDiI9HKCktZgFdQ7N-oJNBKW9ksfYTPvX6WKkxM5JxAj0hniLJdyFaYA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=3402, tp=-1, tpl=-1, uplat=231, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8289677264403283"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/18/2024 11:39:07: Error on send one message facebookId => 8289677264403283 08/18/2024 11:39:07: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AHcEdRJiXdnu4Jc3P2sp58c" } } 08/18/2024 11:39:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:39:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8289677264403283"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27463523, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyG27ov-KBi3mLrBEnKSsqy', 'x-fb-trace-id': 'ENox91WGwSa', 'x-fb-rev': '1015775128', 'x-fb-debug': 'pVlLfU1/QR/HMHAe4eHi2OZPdrSj3ZnKKeS7nAvbw8OpUS2JbNTcQuv22IFrM9Jt2HPKfNqIPUb4uA6sBWa/0g==', 'x-fb-server-load': '44', date: 'Sun, 18 Aug 2024 11:41:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLbReHpmEqQQwiz-XJFGxK1EhBOWXrDdWzdxt21_bhLd0Yw-XGbGmG5ZoJ0q4Xx88jaQd_fR2_VhvIVmY0"; e_fb_binaryversion="AcK8HNgPjMAkpXvfpxsan5UcvZbcYdUIIkkkrDb4JJvSxPVfLzo9apn4iXzUEVjnuQ3f-OVti7OEnjREX_beEIecrIdaPaBWFjw"; e_fb_httpversion="AcLKLzi14nHoYMVo_g6k6rszsctYleIB4JQh6DQgEzchwAaWgkLqBwbgNWg_"; e_fb_responsebytes="AcJBeXa50AZgvXhRdu1cyF_7b39x-PGLgXxfx5p4kaoQfSCPkiQq0F8CyJlH"; e_fb_requesttime="AcLULn36O0UpXa4abL-qusXjYx1wdyuOc7ZGVXHldTINMY8ASMa3Z2n5J-HqErrsv-4vjsOLMQ"; e_fb_requesthandler="AcJ0Ibnlgzb1vFRzbmFWdHBcWlteZvcgEnAGAiuOG0MhAeBU8LLWvM3_K4A6k3Uts_3Y2o5OYUs"; e_fb_hostheader="AcJwhB7ZlgmikD5GT-JJv-VftNjsiGpJax-twQSUlrSHiAF5bj8gbhBkpKowZZwkkqcbdNfLy4mSUHAu"; e_fb_requestsequencenumber="AcIcBAdAEnJEd3jnpj-bj2EzR5Krw3uHrVkTBDi4Igm-GBqI7yxmGyIBa4T4"; e_upip="AcKZeq_UcHPHL6REX-F-01sh1yFqif0cKr11Mds5PM1yMlyeAlNR8nqJJZ-8TqJhbDsyzNtkFsIweZ-zppeAVkPEP7jR3GDpd7WCVIY"; e_fb_builduser="AcLQyxaqbFbp_07C8Whgbzx7XAz5i5dgbbt0xhhTEcOfiZTf9bShBOw-q7N4MfXhtDI"; e_fb_vipport="AcJ5ayBeAhoMMt5e_jC_zsQsNjcjL14Xg1hfzqw5FuPLzgMQ3EZYN-OYmfzg"; e_clientaddr="AcLhDDG5C6pq_NqgUbxfhOdAyr0MLC10q_xxenxpvqlbf5_yZU84gB1FvOlLt9fp33U3rVN3Q2ZZZXUNB0BmwECPnpPNLTSE82dTtLOpnTez41g_eA"; e_fb_vipaddr="AcK_UChH9fm0QOplseHVvdT9Ea816jE4-LaVCDskxAX0rzjsEBiXjwPxnp6dVv8l1vY5JNJqFzVp4Tgp4Jj5PkXhXkYsY9M9Zg"; e_fb_configversion="AcJnHL5br_CmsnW1efohZ1AIbk-Oedij0JGDuJPg75uzORed7XIn8eoyBP_g3A", http_request_error; e_proxy="AcL7b7Pg5RG3-xuP6H4EFPFV5i03VJIs0pc9fQM5q03VS2hxqwqvenwb5i_1QMsqoNJnw8a4nMr51pM"; e_fb_binaryversion="AcKFobvzADdUhsO3x8S0JUAoNxrfBdpaDEvQHuDqlwkW-mpXKFjXKC8tKhbck-4XKt853z_AGFqe8l0DdWhOrWqRSW8DrBwe5l0"; e_fb_httpversion="AcKkTkVAqQ8GyI5I9H1cBvgxD9mYLDyhVW0TFhK9iGYNkBcNp87p2u_ZJBQe"; e_fb_responsebytes="AcKx7MyN608Q1RPL_TxaguTiL5SQlqrYivOR7eBgce_REXaUsflvnVVO6rs5"; e_fb_requesttime="AcKdtglkcq7T3MNLT5gsUrIr9MIWcFE7xuYj2oaVTT4XbVrw37s2KUp6zycVUAmjMDIVAZl3bA"; e_fb_requesthandler="AcIV6iXBQH5Agp0SEj1DEghl0uIgsqk4hOPFMwoYcHS6CAJzYw7W31VH4vioZ_w0Q2rYdV3Npmk"; e_fb_hostheader="AcIpZgsXu21r6tBoPNev3xOWHC1LmVMVs3PCabdhiRpMthnwZQUjmtdbwOXDtyrDoGONX5MhxHp3V-7c"; e_fb_requestsequencenumber="AcLoZ0fVjXetiGLocpjTH_vd1dneWrTME5LaXHFfXnWrWt5WSPyIiNdedQ"; e_upip="AcKai7I1htrnEZQt2t-YiqxwMtfhB8b8a8fOOme2pag3Y_J5kMQsmhYMrqY1RBxjkdVcGH8O8aNc6gFWEGzKIZjgoPiNzoUGIw"; e_fb_builduser="AcL42jwejI5r6lJUqQzxghvqyhE3WE7GB43HtfI6V2ihq_-7T11T4BHlGqUJ04wah3w"; e_fb_vipport="AcKyUmu5YQSMUmnLFAYS-T-NTiheqaUuk0Tzq0EUOM-_LVK0XHy5wboQxvaO"; e_clientaddr="AcKoKe0uaQyz75JLUo2WG6q9A-j3BuvHKyFLSPnCk-IUxoXEvc5xm_nYTfx2eqC6VnOGYdt94NjS9Ef0MQ"; e_fb_vipaddr="AcJ9WT3_ZXJBy2kLu87KyCrbb8pK_No1Vw6yAzLUtl81jlRUy9ZjnmWxfHZE4FTK47mgXS5wo0o"; e_fb_configversion="AcLDvaxrSft_0pwueLEvFeR0K2JQaensIzBuXxBKRpxGWsP_nnouqtBSDEMxoQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=162, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8289677264403283"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/18/2024 11:55:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:56:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:57:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 11:58:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:35:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:39:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8289677264403283"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27477623, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AsAXN_wuT9iRKF50QRqrRwB', 'x-fb-trace-id': 'ApCV7blqaEf', 'x-fb-rev': '1015775128', 'x-fb-debug': 'AdYXAhVbVSElRXrNQ4U5D7VQekQqtBxhAddmNd4suQ1YC0UhHH7saejIrzTKfmAhw6B7nGXvOWft8DAu6r8RDQ==', 'x-fb-server-load': '32', date: 'Sun, 18 Aug 2024 12:41:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIgCoZ02xeHOkgfDyxYHTxdQArPfWEbnb5g2Mvxi4Vv_DWfWE-GkKJOKiEBGL74uQrrCBiJ8xCSgujdFF0S"; e_fb_binaryversion="AcJalQXDY16wE8R0yIR4M-Qn-kt5ikH7VddEHMXJb6FqIa4ruu4GajXzmYI2lsZMWd13b7yQTORm6YSjq6YM46-DKW73574Uo0Y"; e_fb_httpversion="AcLk1MapGf_7C_6EDylvo_YsNE3Ast9ejTPSODhZmRrThEco0g5zjnEOuvcf"; e_fb_responsebytes="AcJHdLLUxGv1g_rA2KZz70XhdAOlgziBSnK4ioLmtwT9SdzscuR3b-wwhjXV"; e_fb_requesttime="AcJVIFufwGaeefl1d3n2Kn2qyAFjFcjr3SeYVd08vBkEH15UMcctWGnr4bvDt61F8M9MDeQVaA"; e_fb_requesthandler="AcI1NEi9-s76B8r1W9jJ7xERFD5G97MfWh3g6855Qcy5be3SM-3VPiH8zYPXf1a5WCk623iG9TM"; e_fb_hostheader="AcKVtaQhSBj30PuUQNl_neRXfmiPrFuox3wCq3b0EWhIi4jZggZMEH1KVUtijV63RV86RO6T2Lt6e7wk"; e_fb_requestsequencenumber="AcKBjZtrE5A329rgTOpMmrlKhE9_wRxBKMaLalQjsuQPkGcf6i2ggWbXlxDz"; e_upip="AcIFQFMyV_vJBdvktHPhcD3VuIKuCrjN_glq2vCNTq9gFjeD9x8a2J_AAxgQoG65-CHN4QwFcLRVkd1wO0KLWN-nEXHvaIyJhHVAftM"; e_fb_builduser="AcJkAVBdVr9xLsfv5Pi884OgcguvkPuRowSnBzbmQY_U5chjlQsZdWZvTk5rd1egxGQ"; e_fb_vipport="AcJRmx_oNByEYzfFDdfDL2uZOit0lBuVbyasnlhKm4aCeJ1C1OH8b7DCh0zG"; e_clientaddr="AcKtHXP6kmdzUu8A8zuCbUR-VWH3RF4BqblHkGYtDZfVLAoAgYLSp69aKdMabogM-ZG2KNZwJ08dQLptKIHBhVyxnCzCG52RnAq5RJBJhkvfUxky"; e_fb_vipaddr="AcLXXPm5BxkWcDjszuN7iyK7l9LkXSFs3iZ7ZUjbdTVthSMA986C6vN6MWNDwOU4H_oHTJte4AYQJoy2Wxw7gEWhj0sA4L0A5A"; e_fb_configversion="AcLnrVvvPMR7IsB6IxYG78txMwPAtY72CrxUIQgmCxlPvL-jmg-9X37oHcrCGg", http_request_error; e_proxy="AcKUSFMzDUhKacCeQacAwYNdo4Pmr8frAzbFM2pbdDG_xB2lZCgU7Vq6FOFmqqm1yvw_GU4Gop4EZyA"; e_fb_binaryversion="AcJLqQ7laJ9vFoJmNUFdBU6wVqmdHbaNhXGYaAPPxP1vyY-JHBwxRrqOXYnHlVbCtuzNVA6bMxkZey1Kw7LNQm5FafkRdy8sjXs"; e_fb_httpversion="AcL8myaWmkyuTbbKNT2Ek70YkFnpRBrLQQmu_wITXVDr3Jb0tQmbA2a_5Jb8"; e_fb_responsebytes="AcKS-5K3Wcb_m_eIcI6G72l9aZxH5rvOVsHAlaJdhyOHh4RLDgF6kwJaLf99"; e_fb_requesttime="AcJuQ_ChqW1TGKMDguDCd5mv5RV51LTk5DBj9Y43vZP4ZagXLMVNzW7uxRHRAuIdNE_XeUMY3g"; e_fb_requesthandler="AcIWyEgdPpzeB-rBwIKnEz65gtZX3bg-ttVyYFttxZ6nJca_FeGwdNceBd2BrT9B3leMXD_32Cs"; e_fb_hostheader="AcJfeIYZhv34YXxSItgJ7QERS8drNF1v-svXlKVOBVpKILVhx7N37bup6bZxYaWaBJFHyfpQ2zdBrkUy"; e_fb_requestsequencenumber="AcJjDhV41jvhpYbMdDn4poeC0pSgvoxno-KbnGUxlLRfUpPX02UnFN_A5g"; e_upip="AcK1eibIjIyiUEYLM65Css2wr0W0KU9-9j5r4GxsQS8aXaYTYURaSKE-25dKP7cPive9n0GwYGX5qEzgINcFUHnCKi9zNB_05g"; e_fb_builduser="AcJqjXiyBsJqcsTk78GwFkHlMdWJkxG5epLluMygq5ox3uoB4_df0_v5qZ5m-jXztWM"; e_fb_vipport="AcI9GDRg1EyoPEcHX6moMFH2TBPwfhl1RcWPYPBMhZEU5c8Wq0YuQH8c0bT6"; e_clientaddr="AcJaPmuelFxsnfXxusEMI42ompAv7v0_Z-WlNklEN3Gnk5i8oXZhLu7N3E-GDz8ufTvx_HqnpafJ7sguMQ"; e_fb_vipaddr="AcLign8htY0w7NK_iPm4k93iJZ-YBQKGlmYi6yDyDg8ZIuHBPdPwMXMdtMMN-m-J-vWb0Ww"; e_fb_configversion="AcKsuVyBQUYqVVI5SEeX4CAiKfVhYucgG5PO95QdS7zO6GK33W6JBcLDgl4mQA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=183, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8289677264403283"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/18/2024 12:39:07: Error on send one message facebookId => 8289677264403283 08/18/2024 12:39:07: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AZs1xCVY4UmbMU0Y1dxKbZ-" } } 08/18/2024 12:39:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8289677264403283"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27477814, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACyMnzXogW_Vmd-nQZumlQa', 'x-fb-trace-id': 'FaDhMtpYsmO', 'x-fb-rev': '1015775128', 'x-fb-debug': 'XrTPGwmsSNkWMosfz528U4CNfEu8j/sq6Qu7l8YHSCDY3sW9jNd3PpHO/pdkYpimwYy+XavRz6fH0SS2RZ4dOA==', 'x-fb-server-load': '61', date: 'Sun, 18 Aug 2024 12:41:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIlRre8XmSTI2d5GiV9ACVyjmfxZnwbLFYB0h5etQe5up-rvMTXXfmT9-65tQHsciQmOaq6OrIJ1qlyFJ0"; e_fb_binaryversion="AcIknVSl3JenWmHRE3xGF6_12iwyn81fqQhQQd1MAoosOOjy-M62kCSO6CNpT80eg3qlkHmsvA6PFL3pUEkzulRJyUeAczZ9Lro"; e_fb_httpversion="AcJPkAwwoewoVGb4AqFcjW5ALt9CvXnNaGmuT7dhnuboUXO_-bJ-Mv1B0dRf"; e_fb_responsebytes="AcJ3EumzLV9mNDNisA-LcYiBrkpI4xGgFcbZU8Gt0gh1VAHKqFEE3lnb_Q1F"; e_fb_requesttime="AcKTujQxsZTdqqZugDG-Gj5XMklecVC7KP1p2WuFqfR8pTG0TMwnCLyO9brpNu-otLgNIDqL1A"; e_fb_requesthandler="AcIMaJy5GgysoUpz2FeCJJ2NPBz-tVnX5dCUbw7Z-Q-vGEju-Mi1YgAwwt6Eyf3MvFLB6tHcNhI"; e_fb_hostheader="AcJlZUgMQVkENNozmjxANWwAnSake7y3obIprPC52TFaPuvEFPA8LUOgrki29WOVgA3xZAll35vg5JES"; e_fb_requestsequencenumber="AcIJ7Rvu1xZNCKBl2LnAAFR6si2GEkz5w4S5oBwxdAOMNnxPSCn-h845x_zV"; e_upip="AcIiQ1cSU8Vx-bgxHURBgi63KGuZBFpH5pDo3ncIUL72DTEz5AITlZf637qo-Oyz9cYz_45miYCxB92HJkczpE7iP7vh3HfTNLkrmqE"; e_fb_builduser="AcLLrHYJM7nIGQD049sph6RoeN_dptkAUInHYvU0gPgvZNRudhnjpYym4i4KyXkPz_8"; e_fb_vipport="AcKgd0zog9H0TSJqXsXd0wk0r1eFVRlG90W6ukkl0S8U29-BGB4EpsLcxSCL"; e_clientaddr="AcLCNWW6fRUZ-St79GL6cIlzpAtANZZZWB2cJslsZ6wHyYBw8ykw-XctZrG1QPPnhr06ckLZQM1o3Eyg0vg8HuVuZ0eUFzGAQ00Qf2PtfiJCtDfT"; e_fb_vipaddr="AcKGisEJERgE2doM6zQClWK2rinhA3jfmVHCDK3LgFee8UygCbh8RJ2QsogowfxZZrr38kNkvfzebfVQPsQLcZwuLfOImrHvnA"; e_fb_configversion="AcIvya6uA-uD8vlo76raDw8HURDAx-C14V0NuW0N-KLRqiob5N6fQunyei1WlA", http_request_error; e_proxy="AcKSNXh9H-xF3jrCGM2pH_oxiNZ9kF4UWUqCeJZDo-CHHN8fMcHd18YTAFvgXNScTc3R9QhDh_HOG6U"; e_fb_binaryversion="AcLRZ8LRemDA0cEYAuMgLZCrLgFVTyLVsl14CO8tWTbiKk3JqdE0QiegzG9bNQ4iLIETbWaqWSfOer4qsU0ULFAvDGXIHBmKe9g"; e_fb_httpversion="AcLXhFw_vQ2yTt7V8nAv3mnM3evO78xhthuvbwHAFyfqkgq6q357CzL4wTDn"; e_fb_responsebytes="AcKfouLcdhBfAxyeOD9luyAeiLe54f7w0BQWCwsOmDGA1uEd2qDb-3GokhTK"; e_fb_requesttime="AcJu_PsO5OLNtdm-Kf4Rt-tGhjIrl7C5Z6-SE_MIsrzElrKP7XrIbb3DXGvn_FDvSHUcY4H9GQ"; e_fb_requesthandler="AcL5eSGSbEtVpr5TAF5u_rdJWSs4psukltI1VA0xWZvK8slwRH-zeCSU37eCIl_DEi5AWunFSZQ"; e_fb_hostheader="AcLft-FmiFuWwHb_M1lxAcO3docHoh3gof0gANhWHoamKD8XGB1C5tn7fJEJPvy-rzEqqMGghH5N4wjF"; e_fb_requestsequencenumber="AcLj_1yZZLOKVAPywub44veJs5uE7J3lKuRru8S19ThmwgZalmm18wMhKA"; e_upip="AcIFd4YlomHdeIeGpOjngVpJRwE7Sx23KcvJtxyaviBvzGOdMOqYwoL3YRmfgEl7o8ZeNE29PrxCaRSSEonV0sju20cqoz3jlQ"; e_fb_builduser="AcJqSyJORkKvnI4fYRdG0YFkYmjYXoi4QOGuDfOnmT-KIS7kDpPnHUd5vPYeHitWk3U"; e_fb_vipport="AcLAeEKsFQGK4Ns6CkJutzIFiar-cym59pEYuNHJhZoVTWh8o1dI3cN6qnaf"; e_clientaddr="AcIh3ILG86lR2Wh5-lFC_jDq5S0TrBek0RYnTgtOpbA1l6f33b8o1Z1pfW3dfz74Xd5xzXtvg50XOzciKA"; e_fb_vipaddr="AcLPqJEwEylAxlJn0VDJHT-bre8rm8rbEsEPT3n4qRAhGekbv2RzdmXalNHh6JXWZWLLB99vkYA"; e_fb_configversion="AcKi4BHY3-3hAyXRxgBMt2eAZxJ-gc4uPGQmrFNaMfnl-ezgMOUJo8xtkKhWwQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=173, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8289677264403283"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/18/2024 12:55:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:56:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:57:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 12:58:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:23:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:24:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:25:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:26:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:44:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:46:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 13:51:24: Error on controller payload Input Treatment=> type not found 08/18/2024 13:51:24: Marker: 0 | ID: 66c1fc5cff349866cd5172c2 | Error: cant_get_message 08/18/2024 13:55:45: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27494457, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 18 Aug 2024 13:57:40 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/18/2024 13:55:48: Error on send one message facebookId => 7723155594460430 08/18/2024 13:55:48: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d55c4d00-5d69-11ef-84ef-0bad56fb2d37__1723989460432.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A_zCP9SXa5XUkPN7Svu6vKm" } } 08/18/2024 13:57:14: Error on controller payload Input Treatment=> type not found 08/18/2024 13:57:21: Error switching inputType 08/18/2024 14:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:08:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:19:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:20:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:21:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:30:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:31:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:32:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:33:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:44:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:46:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:52:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:53:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 14:54:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:00:43: Request bot not found: { id: '1852395741674621' } 08/18/2024 15:00:48: Request bot not found: { id: '1852395741674621' } 08/18/2024 15:00:49: Request bot not found: { id: '1852395741674621' } 08/18/2024 15:04:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:05:41: Request bot not found: { id: '863113247096430' } 08/18/2024 15:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:06:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:08:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:30:00: Marker: 0 | ID: 66c21378ff349866cd5174bc | Error: cant_get_message 08/18/2024 15:30:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:31:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:32:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:33:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:40:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:52:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:53:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 15:54:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 16:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 16:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 16:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 16:40:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 17:40:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 17:41:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 17:42:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 17:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:26:51: Request bot not found: { id: '1852395741674621' } 08/18/2024 18:27:04: Request bot not found: { id: '1852395741674621' } 08/18/2024 18:28:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:29:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:30:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:31:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:36:04: Error on controller payload Input Treatment=> type not found 08/18/2024 18:36:05: Marker: 0 | ID: 66c23f15ff349866cd517671 | Error: cant_get_message 08/18/2024 18:40:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:41:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:42:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:46:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:47:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 18:48:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:08:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:11:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:15:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:16:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:28:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:29:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:30:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:31:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:32:30: Error on controller payload Input Treatment=> type not found 08/18/2024 19:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:46:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:47:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 19:48:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:08:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:09:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:11:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:15:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:16:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:17:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:20:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:21:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:22:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:23:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:26:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:27:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:28:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:29:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:46:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:47:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 20:48:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 21:20:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 21:21:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 21:22:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 21:23:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 21:45:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 21:46:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 21:47:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 21:48:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 22:48:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 22:49:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 22:50:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 22:51:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 23:29:35: Error switching inputType 08/18/2024 23:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 23:37:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 23:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 23:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 23:48:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 23:49:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 23:50:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/18/2024 23:51:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 00:36:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 00:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 00:38:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 00:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 00:40:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7725138170942644"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27652220, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'An2T1hXGG1Z5B1XFPIgHvD8', 'x-fb-trace-id': 'FpSW39bhEXO', 'x-fb-rev': '1015779431', 'x-fb-debug': '2Uo/oSRs+sH4yIHEoT1gZkvGWCUwiEJrkeO8GCrVadAb4lRvhmXHELCMxBv7kxdc/7d6Jdyr9EGPCexb0rimbQ==', 'x-fb-server-load': '24', date: 'Mon, 19 Aug 2024 00:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKiUeNJZ_yD4Jax_a0iKAjgNPC5ZovXqTRRiKWw21t2z3m5Qvlii5fcslgPUI_coui9ryhMRZlGnHizQ8zM"; e_fb_binaryversion="AcKvmTIqxOZHtIWSgY4l6g--CWZWLC7zjbbPVlUzlij3nL-SLww1BfgdZoSFxVHCx69ulFlB7TypFqCEdAaMKNtGNYTrZ4eTx04"; e_fb_httpversion="AcIOu7ZkxR5kV3_ZNSbjLV4EMXV4TZiRAk7scLmdFtkUbmIHBvRckaKDm94H"; e_fb_responsebytes="AcLQnLC-_X2AyQ0lnAoigI3JBVj-7og4JkHxojE_v76p3ipdJnQni70W4kvP"; e_fb_requesttime="AcIWCI9ag563uO1SdvUr2Gm_AdClqCiGo0AxOYy7Ey9dZUuoYiMlA6KJ3mHVGptkwFC4WXMNrA"; e_fb_requesthandler="AcLcWueeK40h3-4-a-IuJNciZst-WonV6GP0_B-vspYEjlybaiS_Pko9IG-b6fiGIfSiHDPqsOU"; e_fb_hostheader="AcLp3efh4l_dVmsXPfzWDDpr42mouAgOSHiR10i3e7n1D0C8FuLT1bEJz0JJEvCOVNwkwhtz8M7q64jo"; e_fb_requestsequencenumber="AcIW9xHOQPVTbPKkYVlNIvDDknXdo6sTyd8kCYDCJtNI30cfnnimCNcFIvfq"; e_upip="AcJfWUoY3-xj9gb4p2U1jCnhN4RsuSGhSNortjtbckiAxqO65PVNN7c6fFwFB536Lwj5s55NbsZvruZvZKB6otqEUXCOf8PYoOrhE8A"; e_fb_builduser="AcKNcPa0f_cT2SUJgLz_5Z23M47FKvVb1xEPYa3h-ZGqhVvJT5o05e1yylIt6ItA8XI"; e_fb_vipport="AcKOumRLstDiNR9_WX41kIjiKVJlJpG1MiPjjEffslE8IT9aOFJasJd3Eh6Q"; e_clientaddr="AcJFy3DpVzc8K8HBqLG8jF1429nR4cdqmW97KPxK4hD0nvpGnft8UpNiHEtb4h58Q8pyDMv-2zm3n_BAYeQfqJmnWR17J1NsDQaV2aXk37AqA4cMdg"; e_fb_vipaddr="AcI5FVAK5dfO9eKFem1KE0XNiZYxxuu4jfz4vXd-yP9KphlIrR4xBCOIsqI5Vf-6MvlD4GL40VBhFjbmKHsE3vDNWxsXbWwfOQ"; e_fb_configversion="AcLR-ptSDeD8ASuuckUNGJ6A-mefkgCG4y3hdqN3uAnHICsD0SblCSG-hTlLtw", http_request_error; e_proxy="AcK6KH9xmeoKIXUDYD58t4WQhJRQY73A4DeWZ4tEO-WhYsDx94ubCWShvnEh01DiARi0Rig_i6YgUhpN"; e_fb_binaryversion="AcKnIvnpvWoEkVE3YxcHpurQMy8kCBs7FKWXwfkzTNo_C4AEBzZE5obYMc5_vmNUzR4b5HQpb_AmsGFuuvdPz7drYG8fSTk8tHg"; e_fb_httpversion="AcJpFplxYVEXgT8igLrUHSYQu0kC078SpxFe45hmOM-5XLVvdpYJy6uUIhJJ"; e_fb_responsebytes="AcIfjmx51JPkxM-uwCAJzNrxfpXzmzfTnaebmX6C1nGks_iO5mMF7OeWpTyn"; e_fb_requesttime="AcI-7aKTilJLDuoPxWiCxDQNZSfMMXw7_qEkR26P2Ivffhu0rFPWyidwch_jJGshH5aVANJHEg"; e_fb_requesthandler="AcKKMkqy1pvczJmEpOpuDxnhwKJ_AnynV4t8sjcMK-N9LPc0UnXFWYUQ7ZrTDJRNQOMu-6dOqxQ"; e_fb_hostheader="AcKvY0RVwbanYPpWI0NIg-Q2zP9CXcPfxYlJPW8Ck8QoHlMA3hul49P0qmcpjaJ8OmOflr3m04PtVmK1"; e_fb_requestsequencenumber="AcKTqOIpw9MfPQXtTRc1d2qi3KTnKT_gBA6OpO_eaNlYrxCf3iIdY91QlA"; e_upip="AcKcbRpmrztHagEa5mOY4EgFxOSEHg_35DP_1XRo3OOEb6diXwn8xAYoQwHJX_El2rHDG_ZYkKau_T3pox2E-8VeWy_Jy7XHOw"; e_fb_builduser="AcK0XhORx4uPJjrLxpU8FvhjTbWV2WKPSdtBx6-Fb3uTtjJmXLnvVTncubJz4tSoCho"; e_fb_vipport="AcLQZopd5N7s4Qvbaw7aOFpbJiLgHZyWuEerN6JNpLtU17UC0kzpoSHQ0zgn"; e_clientaddr="AcKWOQQjyF6jGX_tmRojnV2FKprr3beucwpHVNPH42zwnYlFdhwAY9XvC2kSGBJpR3eNnlbolTbmW7UWgQ"; e_fb_vipaddr="AcJL1lFt2LhIryTRRJCf61tyMLTNFK0h17Wl8fGXZnnYjVrb5lxDDClSLny2fGDBG4u1TbU_Iw"; e_fb_configversion="AcLQV090wNXYt8debAPaByhzdsAa3XllH9h5WeuofVYMFEWivMmFMG9miS9nUg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3402, tp=-1, tpl=-1, uplat=79, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7725138170942644"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/19/2024 00:40:07: Error on send one message facebookId => 7725138170942644 08/19/2024 00:40:07: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A6ZDkz9pRZAxFN06o74DsSl" } } 08/19/2024 00:40:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7725138170942644"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27652407, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_yXTbNBu_SBQYBDvU0Xmqm', 'x-fb-trace-id': 'E2P8+/lQHxV', 'x-fb-rev': '1015779431', 'x-fb-debug': 'aWVtit10SwOFOp5i9d0I6sm4clgayONIrE8OYhx4gHG+4xqHstiPpmkRoowcI3D4gvbUM9tVfzRXNejEUzTuuQ==', 'x-fb-server-load': '33', date: 'Mon, 19 Aug 2024 00:42:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI0FGhvOY1itWd8XyAi7-pvhegQdSEqSR-i7ExHC97lkPXFOjL4yVkXzve7VJUpgbzfDPayBYgNHhqqNRUp"; e_fb_binaryversion="AcLbNFCgzLrPxeqMcPd3xEEDa8awH8zGzZ4hNp7mdzku_X74CS-hm-FT83LNz1unqlFIzM6awF-IFEhGK-iu0opI8Iv_ovCk8Rc"; e_fb_httpversion="AcJPs-q52zexNbrRNVlwZPUxNLrDayraNEoEQ4npI9h56BawIlBtqLsTzA3V"; e_fb_responsebytes="AcIglDiPvZZUE3KJc7AQUasaTjNNgRAamHatCjWqV2V6-GNaaIFjnRuT6_so"; e_fb_requesttime="AcJSqDvc3ymmvEQ9tLSo7AD1l1mf8WhE2CRCJYKUFSNmYLQaRRvbeHmfwlj8A_Us5DwFKh0Wcw"; e_fb_requesthandler="AcII7Mw21iIXnZmLWmFHT8VJ73Vm0s798sYBsZg1iIs92HQFytrPpp2gM2fjYtc0C-jueBX3Nl0"; e_fb_hostheader="AcKdVHD4_8RECU0ZXHuf75sWIc6z6vEihaF0sOMcaiaqnEuanevVhgcePnT15CVE2tp_BBSf3bBkWUgu"; e_fb_requestsequencenumber="AcKjho42faBEUdjVuen5G_Y4IP9AvyTs96X8Liocgru0yl3IIFIswR74-rUk"; e_upip="AcKBSYTM4k6PyhIlD-CUHwp6lDC9HykkT3pK98QJTna4q_B8BjiysKi8vfxAL6to7bDYmMCSbSnwmMKbT9Q8KG77FgbQoflhsrnpFxM"; e_fb_builduser="AcLxuICw2eUpte4kjum9V3jCNWLKwWcPjIv3DbmXl6jkiNFGPthsCLN1aXgMNpmXVCE"; e_fb_vipport="AcION72RWDBTtsQ3B0Npc7f_4Gt-r7ouQRbzWS74WsH3vRuahAgkmUN74vA5"; e_clientaddr="AcJ-0tLWVPS3F6KKO_5tVJ1GTAdAAU2ZWWf_8rnZABU3dOZxxplJq3XkBQ98cLHi1S5y1G0Nc4o53fN9isI3ePckIgDoM578WyePMv9QjCiL0XPmww"; e_fb_vipaddr="AcJkbXy-JRB7crHA1bluEGRhTMUg6od3SxQzzDZW25ZJzPh1K10UEkv6-uZ2z6-bzjEzqc3UJlUZvuRn6Y1oJXgYsfHmMU39ZQ"; e_fb_configversion="AcLO4zFT-kPPpbbd5jr8hX7aOqKjlCXknrGclP7WL0uRxvXa0AouKscF8uOHqg", http_request_error; e_proxy="AcLOsUu1PFRpZhOaoSgLvlQAu7sWFVc_z5ksGj1-9YWyMWUeABtaHdQ4OqYuQ5d5_3-1OOY8Z23rAn0U"; e_fb_binaryversion="AcKbvSzYTNcdlDzhCqYacOAFu1dSCDdJ3LgMebHwVSoHENbnJlqSgMCXCpV8PvPO0K1iqug3vyzSCZG2_dZYEfxIYkmhoedmJmQ"; e_fb_httpversion="AcKBO18jsKeSf32TKaMxcgPfFqGxiO0JOZGpILJyMfTxWqxcj7WKeK41AYLk"; e_fb_responsebytes="AcJoYq6yUNOVbxPKD3jmVqC-U64zWbndH8-USErbnBPeDNL62Yrg06knKslf"; e_fb_requesttime="AcKA3mJssQZpeBZJ_JhUg0UmEtW9zOvd4bExUTmv9HblgM2GgH804BLREJbN2GaBsTKHYnVO4w"; e_fb_requesthandler="AcLmrq-yHs80sQVZPxsyDNmmbUqk1EJ7UNRfiIbh0SGsh69EXAbFYNNBb7FSVQUsZdL93nhyND0"; e_fb_hostheader="AcKBmfO4IfpvcNRydPUKvWT3hY9yL7Yi4sOH5vgfIW7OKeDkZLsT7BGAnH4eKQsbCWujhKAokU-HbPSb"; e_fb_requestsequencenumber="AcIQMo2EG5o6LnXR-98PqK2929QH1ozzWiiQcMq5egmEBV1GqR9dwwWTlA"; e_upip="AcJTMdwuJlN5Vz1B6kh1UTxK8VQzyQVeVGLG9ji0CHnuk2hHRsyQwTiztMbJegVFWHQI2lywvh-AuzFbdsZZZRJ_iQmFkPjFpw"; e_fb_builduser="AcLRUID6pVc8NYYWLHV1-NJ0fuTlcj2yeF0vJjN2KGedOHmC7NidnOmBYaspQi0D1Xw"; e_fb_vipport="AcLIuj9lIFbd90O3TmcN3XL3YSec6uY4VDG-VT2I4Vw_Ai_6MAK2BzNWxkY0"; e_clientaddr="AcKvzYSDAiWFAaMjg0rNJ55JQXUXYviiz_eILxbuA1ES-M-MCvouGf4d5lc0HuYN5Fabkyey3gHq99y5jA"; e_fb_vipaddr="AcI-4PUApT1---fKEeHQ7cL5qo4D5xi7-zwUhNw3DoIdPmtBcw-27FLaI9W3oeGtskk66Xdw1A"; e_fb_configversion="AcIpe1XyyZv1dBq3qG77tWZBUl200l2umDDttb9JhZm-GTnGeRMQjg1L11FyDA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=102, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7725138170942644"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/19/2024 00:58:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 00:59:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:00:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:01:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:10:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:11:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:12:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:13:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:36:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:42:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:43:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:44:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:45:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:53:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:54:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 01:55:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:10:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:11:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:12:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:13:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:20:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:36:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:42:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:43:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:44:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:45:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:53:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:54:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 02:55:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:09:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:10:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:11:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:12:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:20:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:58:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 03:59:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:00:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:01:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:09:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:10:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:11:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:12:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:17:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 04:18:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 05:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 05:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 05:17:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 05:18:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 05:49:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 05:50:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 05:51:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 05:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:13:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:14:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:49:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:50:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:51:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 06:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 07:13:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 07:14:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 07:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 07:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 07:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 07:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 07:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 07:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 08:43:21: Request bot not found: { id: '1591915494408146' } 08/19/2024 12:15:32: Request bot not found: { id: '1852395741674621' } 08/19/2024 13:53:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 13:54:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 13:55:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 13:56:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 14:08:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 14:09:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 14:10:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 14:11:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 14:15:12: Request bot not found: { id: '1852395741674621' } 08/19/2024 14:20:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 14:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 14:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 14:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:20:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:34:22: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27837651, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 19 Aug 2024 15:36:17 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/19/2024 15:34:24: Error on send one message facebookId => 26717048754575565 08/19/2024 15:34:24: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c693d630-5e40-11ef-84ef-0bad56fb2d37__1724081777427.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AjeisB4J-GK_fv4wttPjW0v" } } 08/19/2024 15:41:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:42:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:43:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:44:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:50:44: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/19/2024 15:52:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:53:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:54:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:55:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:57:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:58:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 15:59:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:00:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:01:04: Error on send one message facebookId => 26765885526343370 08/19/2024 16:01:04: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AMbiDvklfufzElBy0efpI-s" } } 08/19/2024 16:01:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26765885526343370"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27846996, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4I4hcDIiZ60OvhBsEk7XXa', 'x-fb-trace-id': 'HMN/RaO6KB2', 'x-fb-rev': '1015783013', 'x-fb-debug': 'iAHDq1AHj96lPtEfIQFoRwNK/lcvje6WojBndlzG/m67P67DIFn9txM5YgiZEUAg2IvFfDL2E1QZ9w/Wsqe4MA==', 'x-fb-server-load': '39', date: 'Mon, 19 Aug 2024 16:03:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIoN63mbjqNsuKsfhNVUhSch33whX1G0JylxyiRWbXF24fTuweZBxmnUCFT3J-1w8WC47EF5VMxFlByJ6M"; e_fb_binaryversion="AcIeQXX1zJG1XO47zvmUvtnHMJ4X4aBoJKPyTw-7XbaumaAimshhbIeJNlJ2sA5qbN_D3anFZ0OLDmwYrFCcvM3peq9fEDGnbSc"; e_fb_httpversion="AcKs9hzN1zY8zX56SH3j9TMt0_cPE0XhNT6-Fwvi5IeYou92sLbXpcY9MI4r"; e_fb_responsebytes="AcI62RvAJsFgTwnhWK1bQrLl0sOTEd6cVu28gBd1USWjtWW3XrqmQ-APdRCt"; e_fb_requesttime="AcL2SjrhI_xts0pZr6H4Pze3ZUlRmw6uKAJYnDZTPQj3-sWokGkX9i-awHH8-cutc1_xMNE0lQ"; e_fb_requesthandler="AcKeN5YrQbNpf2r5pX-AfltgMfjVhccwbdM3ZQgEbB3XXKfmnWr3ZsaZLtNQO1l-29U_6P4rc7U"; e_fb_hostheader="AcIYgLDOr8rlDLBOPMfO1Q5fR9VlHDNt62g1WY_dt7kmGh41wdgmVo5GpUVTjb8s02cm-y4i3hh7gDuE"; e_fb_requestsequencenumber="AcJD4aqbSR8fzKo2fvPSR019MGrSZfLyl93ApLv2iA2xGCqcIqxLoaXvMv9n"; e_upip="AcL6bQkApKha4MpQpi8weql8kyCScCT3I0opFcW4jdQtiNc0LXK3YZZvobO3szoe2VqgHHsgdUSMMUTbZeERXEuapny5bwb4Z9xnP9I"; e_fb_builduser="AcKk0Z6KHy_JgLYJeEqNgexD1CarPma5q-JgKCr2k1GhCFoB9ZD86JdjOi_L-GGvrBs"; e_fb_vipport="AcKutET0JhOmE03ULgymQl5unDPm2Fl4ZcFLp_7sp1xHAgKvRGqquaJTSnae"; e_clientaddr="AcIw8X1nwr20LYYlu3PunkBpvr8R7Diqj8oZTxZhTrQ-1SzF-pQ3OxIps4UNZp8SHxZPBKt6mq7TN3QGuK5MGKpsHTLGKz60W6Q2cN4AIrZNFbXgPQ"; e_fb_vipaddr="AcJha_PHcaUmag86O95n7n97I8IC2iqlAFKm-wIkXhN6UR_nTdE6Cii9WAe-LilspMo5YnZtJ4vtlxF5O4nboJTInzGHtbrUQQ"; e_fb_configversion="AcIZ4pMv7FLIumWsGiAqIIz1JnP_vLO3YlkLWcA0Oxux3NBfN-C77pVihKsQsg", http_request_error; e_proxy="AcKvc7QEDqs3B_9H7ccs7Acd6ec66gvQ94qgIiOSbinbLahqCKdhALU8aXB254x2JmWJvqQhEbNc0Kk"; e_fb_binaryversion="AcICWjzdovyNgT51l6oVjxzkBDYUp5yXyouoyc0QUGA-HzxA8WKNNr35Anar3bK-3OQlVp2yxFY0ebqpeRt-Tp-8EaP9QQkHAWw"; e_fb_httpversion="AcIlZ_XCUpfR9iWMOjABlpG2BbFoWc9bOLRQlOtY6j62bm165a8aEn1qaodB"; e_fb_responsebytes="AcJv9peLS4oBUuNBoQi_xgr-0A0Y4xCazGLACBWgqJ2j1dY8izQrfMGOjkTj"; e_fb_requesttime="AcIw6jp2ol9_Qn7CCdBLCfYE6fdaUq-Hroo2Rouw3OLqBVhIk7zYrg50xWIXL-ZGWELN4mSpug"; e_fb_requesthandler="AcKtIW1yHv3xFs1rPnFSOivJ1NJdUPHYd4zI353mEzhM0Lm9sEkmNI6zrUm4JnRJCsA6PAjnNIA"; e_fb_hostheader="AcLEJkK_kzim7DARkEv0ynNx_DOrwzZpiH3mx4wnasvADgVkxxFlZYtDXi1UzOKi690bzGGbzAVEXrMR"; e_fb_requestsequencenumber="AcLhnY60fgpdduzCuiE-sPZLG8-cm7oi2MKo1wU6RrXVzv5e9BPdr0aCig"; e_upip="AcIL6O4La5pdOgTaa55oeD_2-4LtqHVfyA7hfEDwqZwUB2xjaUm-ImSa18SeLVj7QIk5CMDFO7Xfs4bvAAG3JDSo7hzLN_pHWg"; e_fb_builduser="AcId0xyFo8RhsXWfANTaj4E8a7H15hDJpmmh5hw45lU7TPuhKZiGqNhYFNdySxFDuTE"; e_fb_vipport="AcKlwy0UpO7rkgBrafnVuxgKhmMy42XkHMKLafgygz3mOiTe5B4cWUOYidYV"; e_clientaddr="AcIo6goHevmy8VOrwgUrLrYqlE0s6FEmhbCCojon6tlYyJaBrypMDEclfkkS8bSIOvqcS5x0YmT9R3vPdA"; e_fb_vipaddr="AcJDPwswQK1rx_59B0uw_SQ_uRpMDSI_PySy15GIX9-pU0miYKA_FEm1OPWxZFPQGaGSi74gIUs"; e_fb_configversion="AcKVzQv84P3VkVDMhrtFpBen3tuAT1dHFwdeJpS9eq8vmb45Iv1E5kKymhiiug"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=160, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26765885526343370"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/19/2024 16:03:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:04:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:05:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:06:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:15:15: Error switching inputType 08/19/2024 16:15:17: Error switching inputType 08/19/2024 16:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:25:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:30:48: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/19/2024 16:30:49: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/19/2024 16:30:50: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/19/2024 16:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:41:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:41:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:42:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:43:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:44:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:57:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:58:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 16:59:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:00:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:01:05: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26765885526343370"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27869203, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AawPLjmUmMY2nO6GPI-0ciC', 'x-fb-trace-id': 'D7bYuq/X+tr', 'x-fb-rev': '1015783013', 'x-fb-debug': 'Sv/pHOG96VUKy2yTpF4YWZ4wDFMnePlV5h+r8DDobBc18doEfyUoyYxTi8XsXLCYroLms4E4ANNHLVNzvSERuQ==', 'x-fb-server-load': '46', date: 'Mon, 19 Aug 2024 17:03:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI-OaczkmOCHNUSkpdMFiO-jCkFsVJRGpjqKqFmZJBdcrDLNKj3rDCaER-zcNXuNki5ovAj-06FgMA1E6U"; e_fb_binaryversion="AcLJrKyfFdurLDQv0R-LHxPv67Hgyww3m5gLahgflNx4Xtj20BYRCsueKCjETPOgeCuklQ_WUeGkTfh6DkQV9tR4FSmweYq5dOk"; e_fb_httpversion="AcKZOZqNAwcHN4p7tKzObecsrdkjpzZb3Tw_QLY-TlO3uFjaw6gGnKP81ONX"; e_fb_responsebytes="AcK7pqb2lgI8o4wabK64M-BEM0MeAbixINGOka0TuH1vWRAUzUIrCE2AyVW1"; e_fb_requesttime="AcIHbstm5sStpbNvD66uniFfF2OOO0V9Yw2wyCGRU4aYULlzK89r0Opi4P60O5wgdtvazL6iIA"; e_fb_requesthandler="AcKOj0VYw_xvME0Q_Qsr8ZzNXU2n9BnrzSIIXsektsGbPPM0_98TBV4q_3jHXv0lniG-shCFce4"; e_fb_hostheader="AcK12Ttd2EhUq0z8Yl4b9cwJ6VSni-YQT1WarfIvxkyHt_6qfvG2WWCSyxAQPFQUCozhoY2jmXOJnQGb"; e_fb_requestsequencenumber="AcIqw5ceD-LFZHCvaxYf1ffLK5dSnwpDoIygLz6QtrugANqJjK_04UUbYd_MWQ"; e_upip="AcLO87dwkjPQeGFx87I4O-aj4qra0zho5rC699kYkqrzRbHsA0b0Jf0omeUD5xiCPURsFAmyIlTwIwSIZn_B-CDQTmd_GNYIx2EoF_o"; e_fb_builduser="AcJMI2AXdTaWVNmGA-UnwnqOKpV7lk3FA0Z_-MnyGzqbbhz50-WK9K2f5HcKuIpzC9s"; e_fb_vipport="AcLQdWm05U_Pw9yb8lDji92TnhxpFg5CIrQzWKungK7-CID5_Q0b1YkSUbyd"; e_clientaddr="AcKX4x8hyNp_VaPiuwqSgajJdXOmMqw9hH9Fb9Sme9yxupYtmx5yEo4I1nrUoRICpDhaRq4ShIUmGDahji2CQYNXeoxg0rrm6Kd3vxEkacn5BkjdHw"; e_fb_vipaddr="AcK4NVsMO3riSzB1k_ZmTPiv0IiQj4nkRqov7fWG23Qdtdwbm7GAc6t26eowBIeydNMu1TtgB2vMhqyfAJGM4CtNabBxwHub-Q"; e_fb_configversion="AcIM46903PEttrBoHOOJzZza-F-KMr6H7giWFkAeu_UDxQMS4MdqgdjbqAy4Bw", http_request_error; e_proxy="AcIlqstYmjOoHux33fMpJ1UwdpZqcud7B_yspSuIz1ZkI5BrcfyH5mZbDLJ6VRLmLZ6ApcKKeT1e9hDk"; e_fb_binaryversion="AcI30rseEdDnqWsZZrAUgr8xfaPa8kCFgJT6ljfCyQZTEE3K2m1RQkO55LdUKGhXumqRHi53yvgb-KQ8GPM49wUn2Q_-gIzOz80"; e_fb_httpversion="AcKSJCRWqQI9TJBDstLlBeRkggOmttLb4-9ME5GC1vehNgZ40o_Mlz5XE6_B"; e_fb_responsebytes="AcJL_joZ6gFhjt-y7tyVUfu5ctlj_OyMXQehlxqCsSSVDpebkVoDSrhy-lG7"; e_fb_requesttime="AcKdXVj3IXAjnlOF-w9HD7qv_rSjeUvpFUAAG_0jPRBaNgjs0AihyKUpw6YRgKbsd_IY7EYtfw"; e_fb_requesthandler="AcIbpyLs-xCHjzBLhPXNhcXEWMefoLtUxZ1QlnGFXjPvPb_PIBkOqVlnLmIbxrnfXnBD1YCw7dA"; e_fb_hostheader="AcJ0w4K2qd-Eovt4kJHZdkTcU8CaOVRQ5TYDQyNKZjf1wDILdOk41r6A2ZZnoWsORkgVz_xXk0cIpc-0"; e_fb_requestsequencenumber="AcL5bzjQLG9xY4JXGOg9bGic7CIGq8IRWgIUCzdMeL_Lrs4i4yIzKUwSYw"; e_upip="AcJT0psXxRTok_S0iR3Uwm6OEOkRDG4kck5ZJBkCyfXRahhZ2clxeI2b9fsx4cvydG8_JZHhLnCYJ0Rlmkdu25yGb5ABtsVlwg"; e_fb_builduser="AcL2R9iiyECdrP95NT94jHVT_q9QaB3MaJKL0JG3h0Bts9zmys0u_9VX5mFebXBw0Fc"; e_fb_vipport="AcJY5D1Vfe5KUF_1S7c1uZKgIGdjIJcPTvqds_dPgCa_3blNgh42VO30CJGy"; e_clientaddr="AcLmCCKl6zjc1bC8xVnBCyEnpe44Q8QbfGo4XvV05CqobvNzB2AmqkjQHNwCubs8ldD9PV-nelDLDcEW8w"; e_fb_vipaddr="AcI6I9hxNCE0Qr8DRspVVEauUR2cVEa0BGu596lS7im95o6qVM9MCLpywBl9_iCyNUrd5tvBPQ"; e_fb_configversion="AcIF7P6nwvVc3leCK1iIzPAtPuK2_CCBPZYon-BANqrYjwiYszWay3Q3cwD9wg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=209, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26765885526343370"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/19/2024 17:01:06: Error on send one message facebookId => 26765885526343370 08/19/2024 17:01:06: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AaChXqwpJao8X8bIgBBKu0f" } } 08/19/2024 17:01:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26765885526343370"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 27869373, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AN1SAVZmLtHGH3onSjmUF63', 'x-fb-trace-id': 'DZ+QDLj+gUe', 'x-fb-rev': '1015786974', 'x-fb-debug': 'df97dKpAen2F21Hot0I+LKU9RQamjg1yPA0nwUwGBM3j1/9xZgF51VlIBJfVBQM9+Izn20H4l8WWh52RN0tg7A==', 'x-fb-server-load': '51', date: 'Mon, 19 Aug 2024 17:03:04 GMT', 'proxy-status': 'http_request_error; e_proxy="AcK_qTIHC-0swKAuc6Kf5twM1z-eoAPNrHuZ2foM48OV07AiQD73SJHglInSC0z7EBO701yE4zh8sL4D1UKo"; e_fb_binaryversion="AcIqaGofiiS9qxTfcsCl6Bq4LIKfYgz7QBbWkIAR_YSpJE7caef6PN4lwjcWzjIgxG1fWvbv9EWcuhiwKq1Gs9BwbdZK9feKoRk"; e_fb_httpversion="AcKTgtbIRix0WXLPG-7aTbV3_LXNA6Tys3G-cP1NbFQXjTzAcRESn7pYV6AO"; e_fb_responsebytes="AcImq1O0IEkM3tPrDIyDA_QxoIqhtO0qLhKBSDO1kuNuRFmaIeQmTCgflmGl"; e_fb_requesttime="AcJ542Kbt6hPV1HSppOt9MJR34uuoQInnYVfmyebihXZZJ1jFR4ta-TIa2hpIWUTvyPOajiX_Q"; e_fb_requesthandler="AcLNuEJMNUr0942krQOTzLQ99ZeETCI1SeiZUi_hj7P126ViG3NvVxoHalT_5cFxVgxqp6428Kg"; e_fb_hostheader="AcIPnaRyLnVxWDzmDFjTDa_ft70CgwbDdEtVqoQkUOCVlL3U6hFSigb5GrlMLiwic3g1CeA_HpbG0VTS"; e_fb_requestsequencenumber="AcIx_MLPeTxnhb2vYwsX0GtuhFzaafSNkIcOu6tkoDZvbgWt3zmVzv6OGEC0"; e_upip="AcIxQ5JFygAABJLmbHWzG09OZ0tbSihx2kfuAhKTI51bODf09jAPDO0m-b3DUBwfNtB7FbLYM51slzLo8Xt0_Gh8m77pp8rnITldL7c"; e_fb_builduser="AcIeEivVnBBRH-2CmWkUOTWGCFgRT4qzNLZRMgx2haMgqGgEEuG8MfFcPEdmHRUiKTs"; e_fb_vipport="AcL4kw_3Pc140es2cuGGo7Ys26K-8xS_WvLphH8KHQOFJr7DSj9Xtkib690X"; e_clientaddr="AcKDMpEuBOw9PL047QWJ8hxZhYm_9rbyyRbrELHFag5E1ofYtGnC-vFZpQoSoqZM-dYW8a87Xjt16G5k81SeDJuZJF6tDrM8pEqXECk2Lj4JVnFA"; e_fb_vipaddr="AcJJipzYRrjGtcktGmgunGhBBAXkV5Y76D9KZ61OppCdgGvodY0EqHFm04u_lTVy0GCxv9Kem5reEKi4T0THG3n2Zg8_Y0ThmQ"; e_fb_configversion="AcKO-EcwfISxtquQOl6Ru7K0tLgcHmVsgrwCb4ZJfVkIVZV8Q8HVH8lRIyAhKQ", http_request_error; e_proxy="AcJzAhnmfFXaQL-Y76h5pVsrTbRleEIrZilH3iSVDjeMZKpGf-MXtui9dbuVELguSVqotZkeyo2tR9-Q"; e_fb_binaryversion="AcJGcIiDgKmvwQ14bdv5QAd4GMAzz9tTjkUf1uvGJbMFICDxoQZ93s3t-4-byMLtjFKkB7LPLMTv7ZgRuMdpuptvijyu-aQ31pI"; e_fb_httpversion="AcI7rZJwttozB9eF4YVb6z9ty56t2v9UpOVrO7HvUiYRMU6gHU5TwhTX0wZC"; e_fb_responsebytes="AcJhgJ6az4J0Mxh0GK10XbNSHq_gz8WrVMayDlcunoN6AnEGpFxw47G7UsPc"; e_fb_requesttime="AcKlI8L7rMyJ8XoH5xQhizXxdc7SEXZV6ENCG3jPr6yrF0HaoiJwsruPJADNU6f94cSiCfxLQQ"; e_fb_requesthandler="AcLtBjngQthtFpVCVUjoE9Dmiw2FfzCUVSmfEZ98WzJpRyuksPIR5jp9lycAJyfRm8sI8a21V8o"; e_fb_hostheader="AcL8_msE1IV9EVFF_UG6ffVKOQ4n3AI_5Qxsx0yGdHJvbbr-m4grzYuMJkGpvAG2jJV9STrP3rk7flvc"; e_fb_requestsequencenumber="AcIyfg1zHiUHv3hemlEDhRCBN0sUflTk1TX-MtGqHYZYEqM8FWBxlh03uQ"; e_upip="AcJUUZyEEnl0tCM8SoHZsh5yxd7ZCLw2qO7J16vfA6uWLJ9X1fSy_Q44yDlN2XUkeJf7ZfP85d2Pnt3QW0Szje0mH_E07JZDjw"; e_fb_builduser="AcLCpoz0Bw63UTPPG6-ifmHmPNE0IQW5aiJTneZqETO7J7x8rdMYwmoinoNUbr0qnMo"; e_fb_vipport="AcLFFXYiwR5ksCJizPcJoezTFrqGt7MKPXhTjU6V6FK37tHMgFEb6dokeZNs"; e_clientaddr="AcKGKNUJVXQHSiEhWlLZnbZPfz9vnZ_vBb-VeaFn084i2zHuzsYsIpbHZNCzOhnUkohNrgMS-7QTTSERSA"; e_fb_vipaddr="AcJBwj_0Q-_O5zxQykl167A6CdQUzClwMt2CdWirnOoSUQgFZNr2ZcLaYLcbkHIyGlZpOTl93w"; e_fb_configversion="AcKrtuz8P7dh6Yq9rDypJNL3I0INWpWi6SL_tIYcL91fnoOrnGO9h2YoO3Xk3w"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=71, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26765885526343370"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/19/2024 17:03:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:04:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:05:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:06:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:07:23: Error switching inputType 08/19/2024 17:14:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:16:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:16:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:17:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:17:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:18:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:19:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:25:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:39:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 17:41:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:14:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:16:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:17:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:17:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:18:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:19:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:36:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 18:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 19:36:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 19:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 19:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 19:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:06:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:07:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:08:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:25:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 21:59:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:00:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:00:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:01:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:01:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:02:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:02:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:03:09: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:11:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:12:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:13:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:14:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:25:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:25:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:26:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:29:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:30:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:31:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:41:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:42:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 22:59:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:00:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:01:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:02:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:08:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:09:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:10:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:11:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:22:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:40:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:41:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:42:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/19/2024 23:50:17: Request bot not found: { id: '1852395741674621' } 08/20/2024 00:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 00:22:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 00:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 00:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 03:36:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 03:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 03:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 03:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 03:48:47: Request bot not found: { id: '1591915494408146' } 08/20/2024 03:49:17: Request bot not found: { id: '1591915494408146' } 08/20/2024 04:36:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 04:37:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 04:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 04:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 05:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 05:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 05:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 05:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 06:21:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 06:22:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 06:23:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 06:24:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 10:20:23: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28092713, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 20 Aug 2024 10:22:19 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/20/2024 10:20:25: Error on send one message facebookId => 7972431169492499 08/20/2024 10:20:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/146f3dc0-5ede-11ef-af5e-53b8066cf369__1724149339036.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "APij-7WnMg3Zb0DwFcZ6ed6" } } 08/20/2024 10:28:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 10:29:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 10:30:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 10:31:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 10:39:02: Error switching inputType 08/20/2024 10:39:03: Error switching inputType 08/20/2024 10:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 10:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 10:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 10:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 11:28:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 11:29:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 11:30:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 11:31:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 11:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 11:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 11:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 11:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:34:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:35:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:36:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:36:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:37:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:38:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:39:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:42:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:43:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:44:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:45:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:47:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:48:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 12:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:02:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:03:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:36:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:37:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:38:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:39:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:40:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:41:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:42:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:43:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:44:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:45:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:46:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 13:47:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:02:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:03:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:06:38: Error switching inputType 08/20/2024 14:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:15:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:15:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:16:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:16:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:17:04: Error on send one message facebookId => 26120183497625186 08/20/2024 14:17:04: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AOyA5YGx0jcifuMMPXU6yM-" } } 08/20/2024 14:17:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26120183497625186"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28158650, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_dH_HCezR-hoNWHmyfQgKm', 'x-fb-trace-id': 'Houg+pJzww9', 'x-fb-rev': '1015818339', 'x-fb-debug': 'dlVwYsg/W/toEg3hIpK/FKAJCzMOdYPhrcEJnS1c3cqAII9CANOQEUhdR5KVGKE5CnR9pdXMKxIRIpCT03jwhg==', 'x-fb-server-load': '44', date: 'Tue, 20 Aug 2024 14:19:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKci2i7Ka7_BWPJ42uaSEZyFvdSK0qwh7WkYGHGGBIEtw-GPlNLzPVKXe2pJXSWcj2gNtjzFN7l8wh7Tvgu"; e_fb_binaryversion="AcLnRnMBzJH2LNx6Juv0SfMJa_OkInyrS7T4chrMWD0LmngNWj41vz6Oe6nGmNxHkMbjy-QyHCiLZJUGerlEmjFPnondlUzmgTQ"; e_fb_httpversion="AcIfALps35eEPrNUp1gVaNKGM-LVyCfc_vZMjB8kQnmNL9kWB3nCbGgUB0zc"; e_fb_responsebytes="AcJo94eAfcnQFA0z5ILabGRfAcBSfxxw6VAIgB_d2pDeALt0fjd-TPZB467L"; e_fb_requesttime="AcL7pVgrdGizpwUaxr_DcsM2DIROPfwglaltla6TdwAFV5h4_lr0d3Xmg9bwg7NHUghdMWZlIg"; e_fb_requesthandler="AcKbZjjqPgIVvFJvpviRrKheIVQ8m6vQP1tUoU1AOLdPzymvoqjUQV2Mv9e5ZKCExGla9zYan-8"; e_fb_hostheader="AcKZEt6S4j5NEaRBsLIQIq8Gje8W0Rn8HoXbi1dc3z5c2_G9TxGDfhWjJW193lv5EdvfGR9kyH98zbiz"; e_fb_requestsequencenumber="AcKK9j0V1pirYSaqHgq9lJW6Ej1GYTNoq_zd0KuCjwf17BC3QalnQSBOIL6V0g"; e_upip="AcLNQPyFSNdMfBL7siZZrsdhAOss3Lscc4yqhXLQDZQsi8o_5bfvGuSVWWdRa5SO-Fgx1R6KZKbWjrbPdMPrCJX8NUf56hqnuHBco2Q"; e_fb_builduser="AcIm2u_mVstqKV0GS7kwOKL9s3AnkSI5TKpiUCRJqHwJy44d8Ji7v52iMwsr7TinaPM"; e_fb_vipport="AcIBcnlLX7iI9YH7hNil2omwN60uVmX24HW7y47U_vU9sqMn-E1sARJkAhGB"; e_clientaddr="AcLjmXdYwlWShAGuPpcyEZ45PRmaJxZPWTfEfaWckwZ-0Uq33BREYRmpUyWRg9J7VTItxabi4WFk9OTTqAv2GjtgB11N3L1wpb0BIYEfVe0z60VXkQ"; e_fb_vipaddr="AcIeTjtkUvPRDgJPsIOOafSXhdQy_b6RfOaZ5OTiJoSoLDFTmpwQ40N81MJAXTW12Rduu_YVA1xtQcHZk-_w4Tw4zUWiBvT50Q"; e_fb_configversion="AcI6to3WdKTkducM-Gy7ooSQgFWioNeM43lWJ80jy4QDbqKLoUKNgW7Rvbi0wA", http_request_error; e_proxy="AcJ7i3hIIenX1PvH4RTzCqxoajijtconOATWUqTZyTKuyWBrUzxRMtysNoPnwntUOkT9r-XQRNmVRZeu"; e_fb_binaryversion="AcLXFC5hcsPb9xmv6rrbj4Uub4TQm3-CTUwV6IiMnQY8kvtlei_lVf8wQepK2PDxkZz5rqVG2ApcI3YhbT6yF1wxI_XQE1Uz9q4"; e_fb_httpversion="AcIYaBfuGqvxkXNvCmRC_cAL_lF2erbhgMCbdmrNHY6e11DoRUY8kbuhYRR3"; e_fb_responsebytes="AcIYGgWY6BqN8Q_-pb1dxUa9vEFbRTQpXr9adjb61iEeEDvKPmOh33OWww83"; e_fb_requesttime="AcLCRcDGNY_zSYKkMsA3H56CcE9aaMAqB9vqivDlLh990Hp7yy6rYGAg6hh87-E6-cww-8sjaA"; e_fb_requesthandler="AcIviq6I57o35TYmfDuDrZwWZAGeCN2AhAy8B8H1jPDRI6U33raq496zylcueGcqtLazg-3nPZk"; e_fb_hostheader="AcLQD_iIcP4LDoxVDU8D4I6bJZw3ZY8ccc8hfcLApdJM-NnCjjvDFIWra0-Dy7CNkXxYg75B4qc4Zsug"; e_fb_requestsequencenumber="AcKSYprL95StPJgViTdGk1ZugOhCItDxzGUPmeqLNeKmPPw9pnsnNwdyvw"; e_upip="AcJ3F6XTD54Sx8GxcUMSW-ZX4OghvtClXo2tcCLq1tv1-wtdUjWsfkdR5harPKOFxrFbWXyBPnalxXDdSHLjh0PPA2wLZ4ymxQ"; e_fb_builduser="AcLebeDl2MNIclc5d7sHjdj5dEeEen5Z_hAnK1kxQTqFuxqnH8mmbmjJlm4k3e3l5rg"; e_fb_vipport="AcIECwxZ31mmoyVx23g07D-gS6oEIxlovPRHhB9tpGKTROXIMHjZAxhp3h-I"; e_clientaddr="AcJFbVpelDWeC6n6WGRxRo5T8soy-y17t3O-dUuO0CN_xBErhtwfnubO5j4s_s2e49CWyuwl5a2YJkgvCw"; e_fb_vipaddr="AcJ8l5G6Vj7CM6NNUTg8bqyMrIZxqWEy4LrCZNzEXM1JbNijWQtzrX8l_Va0aFOSqOBLn6tW8Q"; e_fb_configversion="AcLtchDb_DuRBoi1W3PEkkPwage2781_-nCGkXN8ggUfsThv5mPMCrCr1d13wQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3407, tp=-1, tpl=-1, uplat=82, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26120183497625186"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/20/2024 14:40:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:41:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:42:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:43:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:44:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:45:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:46:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:47:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 14:53:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:15:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:15:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:16:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:16:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:17:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26120183497625186"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28174385, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJW_pWSD8TxPc8IKd-agDM3', 'x-fb-trace-id': 'Hdekpu5sFCy', 'x-fb-rev': '1015818339', 'x-fb-debug': 'QGav0HeK9bDq1uumQGDDuGtLj9KCGiUwB5oxLI6ovhkP6mAcOwDK+b5BI01zeZLsSn6ELAzEy3vEaFjlFDhl9A==', 'x-fb-server-load': '41', date: 'Tue, 20 Aug 2024 15:19:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJhm8KnZmM-zYSBHlX1ovnF1pjX0QNzFZ1OYqVKusve-4bOT-89EUiSXEGe3f2GTWB-srxTfzqxxO5YmdRg"; e_fb_binaryversion="AcKmoIgI0Xa4P8JIf5eC4_lUCyD9o-JNYthXRzasVpvECFUpylUvF4m77tixteqR1q5g_MM-2uglknYArgV7AjrNtHVWmd7O7Kw"; e_fb_httpversion="AcJYBA-Ot90nKB58Jv9g59hy5lyRESHLHUxflQqXXe--0kGMynomSHmRFmzB"; e_fb_responsebytes="AcKxrhzLpFf97qxcKFS71jhINvN_hmvW4LlEzcmZ_XbRo2nzzCpfjK6qmKBh"; e_fb_requesttime="AcIQcp86YqlVtGU9KneHOZweOyZ681DcAymzDEy7j00BGfyf0kYQEBhXNYV7OWmxK3mH1xtpQw"; e_fb_requesthandler="AcKf3Lg4jXYS0FGPonpYIb6iujwEfow7TOa5qfHrXQsnpoLsLk2fI-m0m-PlSN5EQYnztuvX9jk"; e_fb_hostheader="AcI6xek_yW10FmR7-BDO0gnJXYNGXoVzxjzxAmAXxjubQ-2Rp5wrmovIzAVxRhB3G2IdJyzSYuKYl2re"; e_fb_requestsequencenumber="AcKXtmQZ9GGSUd5an6Yhl9hJFL3nEyKQK2y_LBTaK_BO2AJCVdXNBkjc86KQgg"; e_upip="AcKu97m5PIaOnMT5fRsKq5KsJO1BjSG8_5iRZWh1wUR_abB2uZnqvHEJrW2nZvWT7V8bMT-3RS7MSZF5VZm-5GTU4VtQKy9l3rrXue0"; e_fb_builduser="AcKJO7MNoAhfUjWMbV9LWqQYZdvusGDT2JKDUxXe4phSp8UdJJb3OZyy86QH5rmai3s"; e_fb_vipport="AcKe6_LJTk2L85v-h4_2ApM1OmFPjeAsQDohbmxnjzAIY4hKARILgVcssgbW"; e_clientaddr="AcL22yZPo1TRWsId7y3ykythdxjFmRwUmuEkijXPtyJ1EO_1si9vNrMMGOD3UPP0TDqPCgnd0m7fDo4-v7VXMdWQ2MZvyGPR37nmLGv_sMpFuAUE3w"; e_fb_vipaddr="AcJNdAHFNfaejMRD1SaKe_8Gr32CaNXent1fHJs3ZdJPbh0tTiE3zIntEauk2uSkkEl6_UNfS0vDJn6UkZ0vN9QJLJmU7GI-5Q"; e_fb_configversion="AcLIWYlmmvgoY_ACuqz9NsNiW3YE8cXkYTMYH0FgPkERyZkxoOj8BzBREcJP4g", http_request_error; e_proxy="AcIEy0DYdvblXPJvTz9NkhJ-3aIEy25RiSPzPFpKyNDjGyyuY1RIEVfZ9vj2sPObm0R95R7FCzOPWLcX"; e_fb_binaryversion="AcJzhWEePihgPHAG2-Dc446PrvS33cbf6dIMnUCE1s2Hqrnx9BIffiYbF2AnOcnWywNh6AD1bZheVKQcp7XFmFEeMSDXiG5ke5s"; e_fb_httpversion="AcJ0PHWunywmmfj6hGJlK0xxmJoEKZxuWqy7O93ey7m9maBv3gChuUsAnxNh"; e_fb_responsebytes="AcLGN4INDmFm491qH4eW9-AMc7sFtdLF_GdwOhSkcy115Oz9Dxoh2o5ziEfu"; e_fb_requesttime="AcKanE2PnP-jy3R1AHycf8xbGam1REmWxEpGNffZsvY69IvaVbcgDuvZM2PSqz0UPmHVRJYVag"; e_fb_requesthandler="AcLXahtm-BjdQpvfaKkAsVDvGJs4lkXSwgbkoEUDTYoxxqrXCR6eu1hX5-kxCKgbOLxBc70RO_Y"; e_fb_hostheader="AcJh9eP19IS53y_W71XmYMFgCPghWohiOJf23M-A579vLlIExSRkVA6VogJ522jGzvlPO_0XEo10ba6_"; e_fb_requestsequencenumber="AcLVBWC-QSqnZpQb9Bnc6N7f5Och8H6vAIX3K0sBqO-256bg50VRThyhuw"; e_upip="AcLamNZa_YPL0WucD4h-NG2xXtMv4ExyTDJjhdp2s1LyVdaHpJEdIWTWa12OgtUosXPlQbNpyBdn2YxW6AdRy9BFj2VXBwhToQ"; e_fb_builduser="AcKDQM9hy06wydIEZm7mN0vr093FkInjOKyEqh3Ta_qjd-UP6EgGU5kN28JQuHSCv5o"; e_fb_vipport="AcKZHE9zn7LlU5aJeEcFG5kbTZctQcOv3Li7ctFnT7dEBG-1uF3GBV7_rC8c"; e_clientaddr="AcIHZg-agU0oSBm7UFsuJRRsfG1sL1_Rtyk4q0JwwQD8g01V7vnsET9MuUFwajGHz43Xdso9MyfqQZM8XA"; e_fb_vipaddr="AcJ4tzcr7-AktZJt_fs1tW18hMFXrY5XIsjxDlJ4mklzypZ6T1CLMLqYmGq-6vqynWcv1Gbqew"; e_fb_configversion="AcI17Oeayi8TWxUhFiTfQSc6CwaLYP02gNM9nJNTMcfW3xJS5q6sLCCtPSswiQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=77, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26120183497625186"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/20/2024 15:17:06: Error on send one message facebookId => 26120183497625186 08/20/2024 15:17:06: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AFchwWTgFr7uXPVC4cqi-rb" } } 08/20/2024 15:17:07: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26120183497625186"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28174557, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGRu67xxxZlabJ1eSgM7BRu', 'x-fb-trace-id': 'CN84Io/uoiw', 'x-fb-rev': '1015818339', 'x-fb-debug': '756GQLgnKztGBfPgusKHKSgO/nMENuw0Gr4IswvnUSsmZtneCA6uGIOB39Doe5mqlGSKiGqaD2TFK51Bg9/uDA==', 'x-fb-server-load': '51', date: 'Tue, 20 Aug 2024 15:19:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLzBWcnNu7C4it4Y8lFB7Ucl38m0hHNCtrI1J-84GmJe4gob2Kfm7Otk_XAKlHensAzTAEp5aQHrd6NrsAp"; e_fb_binaryversion="AcI_clP3gaQY0-_1nqhz0kOQgJ0SODs1yaVXyK9MGJVlhvjxEMwAEVc8QzhuhgWBc6UJnZOCf1WldZJhSRrFGSIJl4LoBYh14BU"; e_fb_httpversion="AcLlK6asvm0IvnfykEmxkTOCeQVsvRvkZHgqny2GnTBiyOg0uBgOyjtVzIr4"; e_fb_responsebytes="AcIDAF7N6aAH1BvW44K4Rwq_wnW4hO2tjdqCkA179ZjOkj0sz5-gf5zDd2fk"; e_fb_requesttime="AcL4FRDDB9pmHBx7QODaQUY7YuLbbnVA3EkbmU9zEv_0EvubuR_1TKwiC9cdgsl5pZcizUGPKA"; e_fb_requesthandler="AcI0RJ-YBzb5Q8FO5gn2uWgOsfwA77R3M78DzDx5hzok-fHXtAZlsIKvnKfeIn_w-OVyRdB3iV4"; e_fb_hostheader="AcIQwP22qg00CQwIJ4N2SP_96JsDUQcms3EigOl4yuYNJ-cWpzE2IsD0SVTnDxiyPw___MHjqILtRfIY"; e_fb_requestsequencenumber="AcL3Z3syxCC2I0WEyHRLqZNqiBd5LHjKGQAKrR7aCZtSsSpPah3cCMplLjGUQw"; e_upip="AcLpy1RoSeVAsquGY7GabKyKnjQj6WC0tSid4BUGtx_LLu89E9Hvz4x0k5Ah0Cj-zFSrMua9HlApAuy-vUC3ovTrvLNjpgsvMc9PaFQ"; e_fb_builduser="AcLRZD6409p39t_VZvSx5rFwXKGJ2JHLQJIjItCSYYlBhM75WsgLZPauuMLQJiY5dvo"; e_fb_vipport="AcIokJrtuD8QuZTyP8B_g3_i-VVt8g53BRHeIaCX8mCpHlCQQNgnOREvji1c"; e_clientaddr="AcIlu78aWJhX5sAKcT8XSIvp0DBHghlsgHb_JU9RWaVE7C_VaQt44-5VXs8nqs1f4ggBF2ElUgoFVz-ItXK_ob70YKTY6jA7vH8ZbytsJ5DDhqF6Xg"; e_fb_vipaddr="AcJL3kw1XMka0NZCPOt8VkNuh1l-3DlyqzlFDPG2H_GIsL_EUFFVpri4FRBGzuR0PQd_mjW0eAIlezMU5LoKAlBrReuSrEafQw"; e_fb_configversion="AcLI-PQMhh44SFA1iGhsA7xZzTB0dN2_Rr5-IzcMwe1t97jvrL5MgxcICG1xkQ", http_request_error; e_proxy="AcJlOG-3TSAPDyq9qUvF8zSWGoGKLELCo5tR3pT0k7OVxLS1OtfOf5jFTvMM76C_xlPCdZgHIM3KWWFi"; e_fb_binaryversion="AcKb7kriXw11WNof1yaxlAlhyxCOgZH6tCWz63YRKhaiQqzxpbXbKDC9ywjPeNJTD_MsqOqBDpeAYZY2o0lPnJw8ExJD165zewk"; e_fb_httpversion="AcIg5kcDCL2NuMAlEDSn5qa66RVrOVyKz_ADfyhCd4K-NI47uDDdMLz0v0jZ"; e_fb_responsebytes="AcKoFWggh1YCl040mPQUb5Yw3VSiBXOxiSQ1qsn1lr2W8x3kJmi_zJCePe9v"; e_fb_requesttime="AcKv2q82DLCBiMnjRNct2ThBVVwBp-OMaFNbkE73e_oRKJXtTtp8ee89ledulOhLuouO13DZwg"; e_fb_requesthandler="AcLhi950N9wmOynFRqlnEjgpWXuQlF_0ERTrQSdjp6Ehp8nSMQXtKpbe7_YtumzaII1NCaTvRmI"; e_fb_hostheader="AcJDsrcYQXFxVjN1FOk6oM8wSaYgrZfI-i_7DXrmvgWa23W7aA19P5LHZCyOXlfYwesnBAIHuWJeK0go"; e_fb_requestsequencenumber="AcLYzMEMW7ws7jdRvUbs-fgDftHPqt3Ulb2i5EvYOiKTqlLwAywsrdLgAQ"; e_upip="AcKXkucNWN349IlpH8FvlOoy6_Z11RDA1CARLE2E8ApcRbUESSSdtc6jcmlOj1V_y0PwYlFTfptwhINZtcHXrKbjrxfXI_LQ0w"; e_fb_builduser="AcLAZBnYGNDr32lPSQS3GmIcCdf6yxHNHPOMr13k09nZoeq81tm9mizmP5pwcBG1qnA"; e_fb_vipport="AcIIST8Mi7CR2GZyZxOpSuGpfqctqNZThgm8Bc3R2RYfwKf3bhaXUnxjDuGM"; e_clientaddr="AcL25yn81NayDW-rzy9SWCZZ6ogh5rzpTj7ErXfEQN9X-n-j5Cwus5zoxAcgmIILl_xh1RQOfNNQklz9eA"; e_fb_vipaddr="AcIBA-U8CE0HrYBaCCLCegSVXLtKm6NgO846cC0vY1Z8z_hEHWo3bbj1JP3oynAc0hFNrJ8GQQ"; e_fb_configversion="AcISnQ5kMealQCvL9TzYDTweXQuy9aaWAb9U5v5Q4zgn3riXIFZ18K9b17nKwQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=76, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26120183497625186"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/20/2024 15:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:22:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:23:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:41:08: Request bot not found: { id: '133788230054854' } 08/20/2024 15:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 15:53:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:11:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:15:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:16:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:17:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:25:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:26:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:27:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:28:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:29:53: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28196018, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 20 Aug 2024 16:31:49 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/20/2024 16:29:55: Error on send one message facebookId => 8486506051382205 08/20/2024 16:29:55: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b2f68d80-5f11-11ef-af5e-53b8066cf369__1724171509336.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Akz0b3_DIn9RvHKqmVDtoSa" } } 08/20/2024 16:36:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:37:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:38:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:39:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:40:06: Error on send one message facebookId => 8486506051382205 08/20/2024 16:40:06: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b2f68d80-5f11-11ef-af5e-53b8066cf369__1724171509336.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A4Tj5gvqRu3-isqeMYzups-" } } 08/20/2024 16:47:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:48:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 16:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:25:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:26:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:27:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:27:37: Request bot not found: { id: '863113247096430' } 08/20/2024 17:28:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:47:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:48:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 17:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 18:08:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 18:09:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 18:10:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 18:11:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 19:08:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 19:09:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 19:10:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 19:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 19:31:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 19:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 19:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 19:34:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 20:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 20:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 20:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 20:22:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 20:31:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 20:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 20:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 20:34:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:17:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:18:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:22:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:45:02: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28261464, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 20 Aug 2024 21:46:58 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/20/2024 21:45:04: Error on send one message facebookId => 25733950299529506 08/20/2024 21:45:04: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b9adbeb0-5f3d-11ef-af5e-53b8066cf369__1724190418459.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AnafynqA89GEcQYdyOTC8X_" } } 08/20/2024 21:48:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:53:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:54:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:55:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:56:06: Error on send one message facebookId => 25733950299529506 08/20/2024 21:56:06: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b9adbeb0-5f3d-11ef-af5e-53b8066cf369__1724190418459.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AeKKt22GFQkV26e-qHkmXb8" } } 08/20/2024 21:58:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 21:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:02:44: Error switching inputType 08/20/2024 22:09:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:10:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:17:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:18:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:48:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:52:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:53:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:54:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:55:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:58:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 22:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 23:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 23:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 23:09:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 23:10:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 23:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 23:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/20/2024 23:40:41: Request bot not found: { id: '863113247096430' } 08/20/2024 23:41:01: Request bot not found: { id: '863113247096430' } 08/21/2024 00:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:22:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:23:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:43:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:44:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:45:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:46:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:49:40: Marker: 0 | ID: 66c539a4ff349866cd519677 | Error: cant_get_message 08/21/2024 00:50:56: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28306614, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 21 Aug 2024 00:52:52 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/21/2024 00:50:58: Error on send one message facebookId => 7716965488433031 08/21/2024 00:50:58: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b2148f20-5f57-11ef-af5e-53b8066cf369__1724201572626.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ACaosS_ZyTvK6KUVkHtDwMP" } } 08/21/2024 00:57:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:58:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 00:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:01:05: Error on send one message facebookId => 7716965488433031 08/21/2024 01:01:05: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/b2148f20-5f57-11ef-af5e-53b8066cf369__1724201572626.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A8_GX2oDAtvBvCrPse6RPcO" } } 08/21/2024 01:17:03: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28311949, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Nenhum perfil disponível para este usuário."', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEJMYkc5kw8BGagq2Ihdy4y', 'x-fb-trace-id': 'FIjOQZMJ/lV', 'x-fb-rev': '1015838336', 'x-fb-debug': 'qFsTAsGqB70zqWdpODMnXIikPjtxPyt0D0ZAvmPIsHvO2T1YC/5Dwwt3zjle7Z/kfKhAjbSTrdLV3lykyGGoTA==', 'x-fb-server-load': '38', date: 'Wed, 21 Aug 2024 01:19:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKagrPJfdLkgGUEwa1WIonCjeoW7gZxUOSbH84ndBgsIdrMatgNBtAhIeVRVhbeZMYDCWvkJ09RtbSn1uLU"; e_fb_binaryversion="AcJFfNjeP5EizMTbWEhnFLuWzT_PbzwKIPR8tu3eXsOHeMH_378aGgZf8WBqVaWlEqh3KLoZlvNN6F1_W3HhzqqTdG7mNd6PzlQ"; e_fb_httpversion="AcI_6CopdhKa9LGQnhRNE6AEuAS7OO134CKb09zlCdgBNP1O6aFaOSZfRkWh"; e_fb_responsebytes="AcIoo9abvftYWv-xGgw5h4K3VNEwn93LWGLx8pJbwzhQxaHzfvveh3HIGQ1t"; e_fb_requesttime="AcJGv5ElkMKYI-UjJZvuA6JAp8b2GjdnH9cVSBEzvX054ER52MZ8mSskay06WNpq6PxEIzl33g"; e_fb_requesthandler="AcIZEUaPjU-_j2G_CRr7KljwslvhE2q4LJ2lP0dIDEJd-gEum8CaAmZr7AOLVbzaYCs4RNHWUPU"; e_fb_hostheader="AcK77HwllLqWTeN4fONRXYvkLDb3of59eSKPFSQUg7dPM6f9xxGf2KXrBOUdOOarDi1IUXOKZGdRvi8e"; e_fb_requestsequencenumber="AcJBVUZKK8bCpYNsrK8FZ_shBVfRZ2gTyuPKfJlKvl2F_0M9tCs0_uJu7rDS8w"; e_upip="AcJ3H5FuJK7wbvN7nKzjLR7lCjmvcrtR2mVmv8jFVTFB0ueeW--7CqxFP2dtD3HwugyfHKr09BhRuldUhuboMHVBwlsa8yi_fL0"; e_fb_builduser="AcI4buYy0oAgTgC42I_UIv8GATgwYfIHpcr9vw9Xf0-C-THMwln85v_HVwiVPwoXqyo"; e_fb_vipport="AcLsKRTvvUT1jqJphUIlRK81laJmAl4fX-KZzwwj1MKpDQDLAOKHt9Z2EueG"; e_clientaddr="AcLYY88oWpCYYsk5wQqHTqeiqECtha7CZYEY5nEy0gTSTtAMH9Zy5FkTRDKyeGZw8i3wUOQunjCO50CE4HleugTkXyxX9UiUgvPNy09eaRybyljB6A"; e_fb_vipaddr="AcJuaRRLrzfdjG1DzlfAKiAuL2r4s_nI7j4e3XiMY0rHsgrZcQauWwiXI50hHFtNIMAVglXmlzg6SJlg4Bkz7Teokq9nem_wug"; e_fb_configversion="AcIg45K-YSR1EPXXmMX4WhDZuha-xbH_y0Oxr640rodYNW3hiFXOvJDjFTGZ-Q", http_request_error; e_proxy="AcKyKpD94H1MFumvL0dqshsEYpEZ5bvcDOAvjGXaErfZ327ZG9wsXFBs3PtHx-4xlVymZ26UsZJK8l4"; e_fb_binaryversion="AcK65dsqD2z4dUrKWvFVSiW46yKFkUQqQC48B1Wz_CW7J3ifjHUS4JjJnyj30C3i6OvWE7-g88VcT-B-8_BtJJcsZbMHauVzmSg"; e_fb_httpversion="AcLgG2dtY8B8So2Tlg6uib1uVpzEbKkj4hiXD5U-dE-ou5PXk_ROpzkQzS53"; e_fb_responsebytes="AcL6EGbJ7x0qMa4vHbaYYPHLlQ5euyLnXKoUwCfRbdqYhZnVaJ37Dj9KpGNM"; e_fb_requesttime="AcI0e8z678E5M5Jm6DMAq1a6HyD_hA0oElsBp-Wy20njc52VjBBkjiSgB1jXOu_9DmDj8Np08A"; e_fb_requesthandler="AcJTYGevkQrnyAYko4Sxd0v1Jz5ZcBYvA93cfC3zqoXxVjpx1Hv1FkHotbO6VDa5wBEHb-rMI7c"; e_fb_hostheader="AcLxcVJsD-SetJB6IGeKBDJvfq2jBK4ecgRoz-SiuilqW3ckv2LYC6BXOYx4duz6zd97ll4PnnifDSKQ"; e_fb_requestsequencenumber="AcJwGzQUVYoRZs6c910mYXsDbFjJl8wwOTTWy2qbPn3Jue_NnH4nd0FSsA"; e_upip="AcIinOmiiqAuq4LBAqQMBn386SC8DwFdy7uJw9VAyWzvKl8i95g4LplYUF-k2-aBoSl7zdWrVrt9o4L_YTYCsllbB7bcb2UIGw"; e_fb_builduser="AcK_GS6FnIddIboiGnERVbzuv910M3oUFnZilblutWA-hXoU-kYX77HXFUlqBx1BzHY"; e_fb_vipport="AcIj_21LQpRoq0-GklKt27J_6SvfNCUZZL0Q99qyjscWFVJmh2jlfuOKuYrK"; e_clientaddr="AcKA9HnqXaElgSEbAF423TxnNZcV0ULsOX4DhBKS6EDGI9XMnYw2torKrM7AppgQuz_ds13725qGbKzS-g"; e_fb_vipaddr="AcJz9QmGD69Wh-jq7IO8Oxa3urMDUeQM_9NYOVITtcfXF6oxOfri3kGeND183rBrZhjDCIM"; e_fb_configversion="AcIv99eGHYvfGYocFw940NbdPTTb9p9DirCTieOrVbtBvJE0PUqAI3JhLWXtWA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=242, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '182' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/21/2024 01:17:03: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/21/2024 01:17:03: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/21/2024 01:17:03: Marker: 0 | ID: 66c5400fff349866cd5196be | Error: cant_get_message 08/21/2024 01:17:05: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async finishCallback (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :117:7) at async eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :190:3) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:17:08: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:17:09: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:20:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:20:39: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:20:51: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:20:53: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:21:35: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:21:37: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async finishCallback (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :94:7) at async eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :227:3) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:21:41: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:21:43: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:21:46: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:22:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:23:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:25:24: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:25:27: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async finishCallback (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :94:8) at async eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :136:3) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:25:29: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:25:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:27:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:27:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async finishCallback (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :94:8) at async eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :136:3) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:27:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:27:48: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:100:9) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:27:50: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async finishCallback (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :94:8) at async eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :136:3) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:27:52: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async finishCallback (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :94:13) at async eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :182:5) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:27:54: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:39:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66c5400fff349866cd5196be | [object Object] | 08/21/2024 01:27:55: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28317194, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Nenhum perfil disponível para este usuário."', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8zIaWr1uMrSTYEtG4RcN0R', 'x-fb-trace-id': 'AJgo5Tn4EhP', 'x-fb-rev': '1015838336', 'x-fb-debug': 'jkhETfNIdtVdGpBS/WdGJSV2i+zKd97ng1MdZDUhzj51nl4hEUObdQjK018v8OjqoX8g2QK5Um7sRHGMDPI1eQ==', 'x-fb-server-load': '18', date: 'Wed, 21 Aug 2024 01:29:51 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLz34WQwshhUuqb7IHO68a0v7CAWwmkq7kLA17ByM6PWSVRINplCNCIEE2GbFMNzwBx-b6-C4A5mxVjNI0"; e_fb_binaryversion="AcIBLAoHiaz21n7ntUnZa0K30i9m9823-9XkvThrDAHTjut7WfJSLbj7iGJ7UDTGseyvVn6RZLZ-qpwqqD1u-Hca4bxnktl8AP4"; e_fb_httpversion="AcKy3lBez-772eO8eV9d-eLV-iruJqdETg2_jpDVS4TdQjps4wyVd538yRR-"; e_fb_responsebytes="AcL9lu2CddgOuR1mTJ08hI8L7qOE0eyYL2vLAyR44I4I0oI08PkCRAhxeA_r"; e_fb_requesttime="AcKOIIMyaq28pTJZitUFwdZ3WOUwI6acDpvYsh_ZVp1mNBCQrvsL8Yizj9JAu62jhLjmoOY7Xg"; e_fb_requesthandler="AcL2w8CIR9vv3xNpWnKevYapZF8z1w_MUfoPCyzLDXrHwImZfGIC_Va_0lkSOtk-Pa71tqcMX7Q"; e_fb_hostheader="AcLZPzfCql4QxjS4Fm2ucv_kCmYFJxUY8uU0wN7ZznlLov8Bf8ekLZg0CwgRe_Lco29sEf2EuizdTWoP"; e_fb_requestsequencenumber="AcJ7npy269EUQmJNoKvX8jDgwp8KLZSjqjkT2ERc-Z0_ae1bkfbg-dGsurpXOw"; e_upip="AcJCqRWeEdSdadswV2ZWnd7EH8zl-4fadYApch2rNcMS6QO1Z_63hz1GN6G05budKoRno9LvSwPe4_y2_4XUG5AFJa53oDPIdTnKDNk"; e_fb_builduser="AcKMgAL6VRTZ1n0uL1NMRkROnxv-buQUuZxJhFF6cl4c8_-LPCCF-z7_tQQ4OaJoN2k"; e_fb_vipport="AcLScLXkWJwnw1mS5ymXRqR3zlSCvJy-EdaysONygMGZ8BdC-QKgsTSG8vpo"; e_clientaddr="AcLcLe5tfKYTvnNOLvPUrySlZjkAZgdR5I1zYQc4hLEL778h6ajqXXw0EbdkNKvpKsgU_YgiBctkgK_VBvlPtFwYu7WolmhhA8Xi8fgwqfCl4wwRXw"; e_fb_vipaddr="AcIlO6-Lf5NTP0Ml2pw6WKZJmHX-mNkTLWi0UiuRaoxuLQdIJvXzFr9faiX4WBQ-dkOxmsq44XjE15YKOnAZ8gJkfCBN2KaUVQ"; e_fb_configversion="AcJvIImpUJXSkPo-IBdpuBhd7iV24f-9csOjPG-dSx5h3Fa_NCuszbif3Pb8Sw", http_request_error; e_proxy="AcLKcRRNhtxQPze_U106JxqvuPMnkiAtlEJX2I7hkN8CLzvebhsLt1ua367JvqZ09pjUdUnnRSDYOG8"; e_fb_binaryversion="AcIYRGBx8OHd6mz35EYVbF5l49W9VqXyG99VKEBPGyF2scLI-XsZWe9emvdmf1yhMN8SeakuCq2BcCVRSZMP_Ya2iDwWFt9Evg4"; e_fb_httpversion="AcKAVn5UCvCWPFa4ZXgPFPHr5hYzQBEJdLSNuf2-ztbgY-8cuZsqzEMdJlmd"; e_fb_responsebytes="AcKN3b_TKvHKahyq1xyzh-0tefw0lthO6ogqbDiXMcUvx8m7a_RumTLzTp62"; e_fb_requesttime="AcKGr2AdkMpYdYZWF-gyZT1QThl0Occ7A8IZAbFxcMFt6ubJ7IP3Zkxqk4fy4Yxn6szY8C-01g"; e_fb_requesthandler="AcJnGyFErpjEmQy4C8K63r8pFZYsVrvDClnNoXnMMIUOtRncpJxdOe-aANltASkQ9Au9C4BdBzY"; e_fb_hostheader="AcJTcvwFUGMeE1hQERgNQ8xYUP1HnnPPCdFkbWu8PJ0WconxGK_7ftN8sX2WZb-mK2O5cIUqnoUTLE75"; e_fb_requestsequencenumber="AcIRTXWhHf1dpNT9ROZnGXTdjCQPEiGOIGundM2j_jDMbU43shx35Zq7zA"; e_upip="AcJeD7nmFXusBue8HsXYEpyeDEEBPkP96pgqysZr6yYCWXAU6MG1iat75p9bfosjTdYonzf7iE4FsVW97CBtsD8vj43AOAPCgg"; e_fb_builduser="AcLSX4E_aa5dg530ZDJN4OtNNKNSlVZC5qwK8Juyg3GbfCDUrkMJ14oPgBthEYuKImo"; e_fb_vipport="AcLYGq6WZS3UfjeGwJOXAEWizW1YwHJizOAbIVEr8-DVS1Xc2AVOq77-bcMt"; e_clientaddr="AcK5KyhOlIHM-JqLka1kmX6cWzNb1ymuMHZqcLu0wG1hcVHEwZG86mqvmTsrF23UGnRXYMSNbSkTuQCVuw"; e_fb_vipaddr="AcLWHAA470k0czElyd3kE1CGU1QS6IZSNLlSHRLkEvXw7eLSFqzElhAlQEFi2UYkolcnVUQ"; e_fb_configversion="AcL2OLS5C-nVZpymkomkxO3me9xtB--MNPBtkCflsXWZQxuGlEA1O5il0S1aNw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=178, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '182' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8032498720139146?fields=name&access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/21/2024 01:27:55: ERROR, Do fallback RangeError: Maximum call stack size exceeded at isBuf (/home/ubuntu/api-facebook/node_modules/socket.io-parser/is-buffer.js:17:15) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:136:44) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) at _removeBlobs (/home/ubuntu/api-facebook/node_modules/socket.io-parser/binary.js:138:9) 08/21/2024 01:34:03: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c5400fff349866cd5196bf 08/21/2024 01:43:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:44:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:45:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:46:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:57:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:58:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 01:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 02:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 02:43:55: Marker: 0 | ID: 66c5546bff349866cd5197ba | Error: cant_get_message 08/21/2024 02:44:10: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28332417, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 21 Aug 2024 02:46:07 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/21/2024 02:44:13: Error on send one message facebookId => 7716965488433031 08/21/2024 02:44:13: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/842e45f0-5f67-11ef-af5e-53b8066cf369__1724208367567.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Aakx2XBBzj354kMAYLamhX5" } } 08/21/2024 02:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 02:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 02:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 02:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 02:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 02:53:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 02:53:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 03:12:33: Marker: 0 | ID: 66c55b21ff349866cd51980d | Error: cant_get_message 08/21/2024 03:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 03:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 03:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 03:22:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 03:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 03:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 03:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 03:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:22:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:24:34: Error switching inputType 08/21/2024 04:31:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:34:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:50:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 04:52:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:26:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:27:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:28:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:29:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:31:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:32:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:34:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:46:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:47:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:48:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 05:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 06:46:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 06:47:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 06:48:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 06:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 07:54:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 07:55:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 07:56:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 07:57:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 08:54:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 08:55:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 08:56:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 08:57:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:06:14: Error switching inputType 08/21/2024 12:13:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:15:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:16:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:36:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:37:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:38:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:39:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:51:32: Marker: 0 | ID: 66c5e2d4ff349866cd519b8d | Error: cant_get_message 08/21/2024 12:53:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:54:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:55:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:56:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:57:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:58:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:58:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 12:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:14:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:15:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:16:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:18:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:36:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:37:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:38:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:39:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:57:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:58:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 13:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:01:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:18:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:19:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:20:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:20:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:21:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:21:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:22:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:48:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:49:08: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:50:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:50:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:50:10: Marker: 0 | ID: 66c5fea2ff349866cd519df1 | Error: cant_get_message 08/21/2024 14:51:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:51:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:52:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:53:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:54:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:55:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:56:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 14:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:00:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:00:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:01:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:02:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:02:11: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:03:39: Marker: 0 | ID: 66c601cbff349866cd519f3e | Error: cant_get_message 08/21/2024 15:03:49: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28499815, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 21 Aug 2024 15:05:46 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/21/2024 15:03:51: Error on send one message facebookId => 7716965488433031 08/21/2024 15:03:51: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d7cc0af0-5fce-11ef-84ef-0bad56fb2d37__1724252746015.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A1FOtdlPy6K8jppOy6Ygvls" } } 08/21/2024 15:10:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:10:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:11:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:13:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:14:14: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:15:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:16:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:17:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:19:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:20:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:21:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:21:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:23:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:24:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:25:03: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c34c97ff349866cd518028 08/21/2024 15:34:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:35:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:36:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:37:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:41:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:42:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:43:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:44:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:45:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:46:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:47:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:48:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c34c97ff349866cd518028 08/21/2024 15:48:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:49:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:50:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:51:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:52:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:53:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:54:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:55:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:55:07: Marker: 0 | ID: 66c60ddbff349866cd51a218 | Error: cant_get_message 08/21/2024 15:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 15:59:03: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c34c97ff349866cd518028 08/21/2024 15:59:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:00:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:00:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:01:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:02:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:11:03: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c34c97ff349866cd518028 08/21/2024 16:14:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:15:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:16:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:17:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:34:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:35:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:36:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:37:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:45:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:46:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:47:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:48:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:53:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:54:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:55:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:57:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 16:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:01:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:02:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:29:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:30:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:31:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:39:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:40:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:41:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:41:05: Marker: 0 | ID: 66c626b1ff349866cd51a450 | Error: cant_get_message 08/21/2024 17:42:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:42:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:43:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:44:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:44:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:45:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:45:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:46:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 17:52:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c60abcff349866cd51a13f 08/21/2024 17:56:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66b7cc62ff349866cd511d65 08/21/2024 18:22:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/21/2024 18:39:05: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c60abcff349866cd51a13f 08/21/2024 18:42:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/21/2024 18:47:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:48:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:49:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:50:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:56:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:57:58: Marker: 0 | ID: 66c638b6ff349866cd51a6c2 | Error: cant_get_message 08/21/2024 18:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 18:59:46: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/21/2024 19:00:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:02:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:02:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:06:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:07:06: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:08:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:09:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:47:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:48:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:49:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:50:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 19:59:22: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/21/2024 20:02:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:02:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:07:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:08:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:09:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:10:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:14:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:15:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:16:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:27:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:27:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c64713ff349866cd51a806 08/21/2024 20:28:03: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c64713ff349866cd51a806 08/21/2024 20:42:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:42:20: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/21/2024 20:42:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/21/2024 20:42:50: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:106:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/21/2024 20:43:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:43:04: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/21/2024 20:43:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/21/2024 20:43:40: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/21/2024 20:44:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 20:45:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 21:10:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c64713ff349866cd51a806 08/21/2024 21:42:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 21:43:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 21:44:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 21:45:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:04:34: Marker: 0 | ID: 66c66472ff349866cd51ab00 | Error: cant_get_message 08/21/2024 22:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:13:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:14:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:21:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:23:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:23:07: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:44:29: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28657676, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 21 Aug 2024 22:46:26 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/21/2024 22:44:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28657838, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AonGo7WLmerZLj9xAc7KDa3', 'x-fb-trace-id': 'A7LZasuSJ1O', 'x-fb-rev': '1015866820', 'x-fb-debug': '5KSm4Li0s172AcgLzQmOmP23p+DuJWytjth7Rii2sM0CdeaS7VxUBDVsm7s96cuYtDzK9fDpwCTclZfbra4mrg==', 'x-fb-server-load': '29', date: 'Wed, 21 Aug 2024 22:46:26 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKFIaK9O6yB3An0mdC37JQepkZkN3zySPZgh0bnz1ZlnNmm3bkPowZg4kGcHEsOcmdFBuTm8a0mM9It5GXW"; e_fb_binaryversion="AcLaQR_6OnTABj8Bto91FCSjg55ZmmcoU4CG0mKGqWUdGicOK_PIzylnBULgSf19jDh-v6Pfv_SqerrXuyIKxBx2QtkBNa2AREI"; e_fb_httpversion="AcLLTyHYYz1eIjtCzeUHE9VSkE_M4p6eBUasQsSKuXn0doLxelNQSN-ACa09"; e_fb_responsebytes="AcKwVLrHuX309_TKlwK6rRLx6xCRxqiY6i8HDhdYTTgFLxY8MtMETz_CEDen"; e_fb_requesttime="AcIhw0Jw_LI9VK3d0Jt1iNg_Wly_JEhpibkTaKR9bmcyzHVwsorcXUMkMFUr2TNzT1cLGBHZAQ"; e_fb_requesthandler="AcILCztHWbjmFVHTyILWnumVX-moWKwmvD0bFTfHMEuH5dRSjXsz6JBvVub2JGJ9jkrIFMn5MDY"; e_fb_hostheader="AcJz33nufMFzfQpQ_N4i9QV36Uu7M1A-z4h_ZOwLCjp9U8z8bZzCTACpfFVNYmAFprsDMRRvvOBuETfe"; e_fb_requestsequencenumber="AcKO9e60sLqhgMQzYG9j6KA_3Ek7Jd0liy3eocNeAtljBfvV-tgxBOfAIdgwfA"; e_upip="AcLVizJq-qer9fmZwizBobiuX-nHdDHU--3OhaCWizVqe3kKbdpOP_3z7ZyPbJ6c-_Dzr534IqanFs0ZZb4sjzX2ocfCBvHreWLNpP0"; e_fb_builduser="AcLPf9eIBJ1r3Ls0bQW87z3TOGk2HsxO4IJuSuz1usk3wi02tCjIoUfzNZ39nXHdfIQ"; e_fb_vipport="AcKXaoGS0OQ9g87i2tendzWdC4M4sDkMcx5QOcZGoOVYkgZh5DzUXIvtGhMS"; e_clientaddr="AcJ-Pn_6qpbEI-I55iYVxSErjkM6Mm-C9I_WeWpEIe-ZwM-0poD8VxqvAE1mazuQ0FxBwaO6z3B9x3iRgRhsyQw9jHxrH58oh9Pxe6Hlfy4zusekjQ"; e_fb_vipaddr="AcIXmTNpxVkYgxJafcKL4iAv3PxYX1svnT1apwKf21m_DfJMsPf_hMWHTejzYPUw1hy8ksRB1DNeo5F1n8PMYUugGZQEb4nUpA"; e_fb_configversion="AcI5rM1FT-Kfu2NF827zUST2PGKZ5xlaoe5OetsrZQlBJvSemiqVwDzAdQRQhg", http_request_error; e_proxy="AcI0cv0Ol8CWHOyMZsm6BHoaDDZrpc2cRZM5qCA-xonEakBEVENI3loWjTAl2Dg7M1SIHNLHhCQJWek"; e_fb_binaryversion="AcJDKu7GO1iHzmn-1JcI97yZQ2DxwNRiymlDQLFOU7elm35ILBm1DCJd5yFm5GfNrRc6liHlkAjs5Ehxs963nZzNR-jkr7CODvk"; e_fb_httpversion="AcKZbalREBaUCJIhYzsA1AbEudJGr5qD7ZrEq-nxmJZvqv_UK94jPbhj8xpZ"; e_fb_responsebytes="AcLPDV30gA7eCD23HTuqAxgNU07CLM93InoiftlF7fAnGZoVCBFUat3Do14k"; e_fb_requesttime="AcKxo5UzsVZaKJtqR5KOANFYJaXxKQ1vpghmR1eLPpR0ff2eHGGPFopVvoCWkUFceHS0w49OVQ"; e_fb_requesthandler="AcK5P55qHrfsHyVL_G8oIIz5GZThogdSWH9yFAKzxZPt6BrY8q3ZGVeCRBxk4js0LWRY6Nyxh8M"; e_fb_hostheader="AcLlKdYuDOZ0DNxj3fZNVaLHSWRTBO5arKPmFovp-GvNn-BZMeYnrMn07kl1N6byBZxfF-6kkIEtHB-Z"; e_fb_requestsequencenumber="AcIcKvwxvFKdbJwO6hoxxu3uyEB_iPvW46094n7FcsURbNaA46DWE937Bg"; e_upip="AcIe0F7zcHeY-jglSersB3wfpbQ16fvy_L9DDdWBTEJYwPZVHe0U0ZV8qQSWPr0Pp1aPgPB9xPh59C3xIP5npthgJ-V2sZMGhw"; e_fb_builduser="AcLr1UYtbvIGN2XmNFJm41_V74DmV-sSUixC-mkMglO38Kn8FHfvUgNsuNl-KOM22fc"; e_fb_vipport="AcLKcZE8PIvBoVlOestekrNv_PjXjLqKehJR0HTjplYk8UtcrRbkLNQJvc9g"; e_clientaddr="AcINM4yHknL_JOSxcWf7JG_lyRBdhnDcVQmvODgtkClivHR8c1mRbISpoWB3FO9AsTRQ4E6D_nnHqig_ZQ"; e_fb_vipaddr="AcKymODUxhZ57UFttU_5xBh-biiaJkjy-160HXwFo9cysIy8fAuGzG9_X-f5R9vmE_eG1A"; e_fb_configversion="AcK-9B9Qg8O6udFxD1j8BVrq8B21dAo3lt4b8lp0aSQ0bh1ajYVP0htoDwhjYA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=276, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/21/2024 22:44:31: Error on send one message facebookId => 7716965488433031 08/21/2024 22:44:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/32d26580-600f-11ef-84ef-0bad56fb2d37__1724280386520.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AW_XjOzOrqjSNizxBRuRq23" } } 08/21/2024 22:44:32: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28657999, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2Nj6UhXm7IfnW8ejoNFBsG', 'x-fb-trace-id': 'HwhNNG/JbQW', 'x-fb-rev': '1015866820', 'x-fb-debug': 'bYD21zf9LkN6U3mCMuOq8KEcQHL1Utp9q2GnKIYKEengH+bl4Cr4AdHG96udT8Eg0u2a5L0XWfX6/GJuLftMTw==', 'x-fb-server-load': '21', date: 'Wed, 21 Aug 2024 22:46:29 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIkguNcv7yIDdwQQ2h-JrYsU45CKXxVe0YNyz85p81P4rvYI0K6tzq1GeX1YRuZxtgy1aMVHujuCeP9CGI"; e_fb_binaryversion="AcIzoBSoZ7xqeYCMXSiJEOPnBeTStOAzifyNO0Buw9P9IXkNxuxYMqzl0ig9jN9l1WdlO5unfjqZ35CpnnHkZrY3lTVxA17JFmU"; e_fb_httpversion="AcImGNLGQY-QIEVJf4z5F0Y_bNHHODb0Sm6DHfqabe7ooKinCytZdW_04sCn"; e_fb_responsebytes="AcKC8RmhXiQP_46Jdg1oTMQ8_id1nUxQslb1K1uHKjEeoJieo6jdH7Y0xAXY"; e_fb_requesttime="AcLyRSxDP2KDKQDVv0QrRd5rC1ucUJfujSWEKdzHSxC4RbmmZpR65pesz9QwHg3irKXxMKkY5A"; e_fb_requesthandler="AcJbmU61haaAhflxDmY7PGLO0yjjK2YBLSoB6aYjb0-b1U_aMiMvO1HFgDnHVY8JRPEHTz395Y4"; e_fb_hostheader="AcK5Xv48GJrcxg89hYmCOuTdIaLPtNxIlqbORvdbviCvzXSRFR5lKezmK5dl08aoV8A2JLNqkuC9qE7A"; e_fb_requestsequencenumber="AcKVLTxs8aanvmecS1RB7Q_FguI8JbsEQYvcGy_I9PiaWtaX3tfw0JD5hJyj"; e_upip="AcKtPc_yf6-YuU5J82ngd8kS-C63szsYWSXmdwgysguAZ0clOGsxz5_XZNRuwbssELXbuZeOTBVxviYhHt-_y9KmMBbs55ulP6wVpbk"; e_fb_builduser="AcIZ8Cmc81Xv3ZINjDI1vV1V1qnm_Fmlva9ZvHYFjzZNLfUJeDPbDXPlV5wHU7QCUn8"; e_fb_vipport="AcJzKA0oF_RyKJ23dfTihoKsg5gflWfSz7SO7RqMqJAqYOK_62NWHPherXFL"; e_clientaddr="AcKNmn-HbfzXna3hbmCWJ8I1Kh9f52lQK8vO3wK7LkF2leLOnu8boWBVWGnaw9WxqE6iRvef2T9Xk25NVTRSUEiFVPZu_2poqgT71LwPcWYrSKgY"; e_fb_vipaddr="AcJ7p8oVnZmcI5ehkdKKIsNE7SuGKqBq7wfy1Hr-k1KbWsmlrlG_qlr-65scTHosP-vr3aA9dYiJWM97rhEMu--mBpWujG_1tQ"; e_fb_configversion="AcJfsMVuuh3VI06ZhG1ZF8XqtAmKG2ceayZS81-3rGoJLssoTrosi2cfut2LVw", http_request_error; e_proxy="AcIhIIANHTMnGm18OEXlRbYcNkBBM9woZVoQS-pe4IyNX00QAJ6Slxxn2YbVO4Jqy0OdYAb7AJtvnT3C"; e_fb_binaryversion="AcJNOsXrgvQPbRiU2mz1aNdNJaKnX1amao7Mt2FAiISIZF1mMiqwXtAZtDDG4_yZ0CGrAQniyWDQrFxXNvA2DbrSouOyTjdH7TE"; e_fb_httpversion="AcIrG6r4lBegjjyCaEGYDf3qdk9vZJQPQ5FVWeZGH2fIIA-SkvUMl74ZnSyY"; e_fb_responsebytes="AcL_g9rxHdYXQ3gzIo7eulXrSunDKciTT6CI-ZRCuTYccEPhW0v6fwm54fGg"; e_fb_requesttime="AcKOmaoSkm2yuglr_ZDVAewI1gO159U_RUMuN0F6pzYkFh0h-3munxUCVXICfjjzcIQ66MBQKg"; e_fb_requesthandler="AcJi6SRhFtEfs4Nz-5bX7zQTacNs_CiErDZy1_39EE6Rd_rD6XLwhQzwjaYq54JzTZKwuqzRog0"; e_fb_hostheader="AcL4hhY-P9cznGi2Cr8GxxWYnSU-RRwdS4z0vrxkBf9AX308GoAruBBGoZG6mglXoJlwPKLUGNYBLtQD"; e_fb_requestsequencenumber="AcL6A7lJ-1zIBTaurpUH6Or6RQOcANGsiyv8wSrgFthq_M92IWS-pHPEQw"; e_upip="AcI01FQL9qISsFuUSGpgktdCgiW3jKMyehr_uARS3Z3nDamR88ACInb5cA1YN3Qio99g-jXRsxiSYIpxYpTwHs8rpQ1DHMWv0A"; e_fb_builduser="AcKeae019u0CULOtJLqJz8UW8DgDh3k8E-aKJEYAatSLfX4GXJV-6LMMNetTjIh2iYk"; e_fb_vipport="AcLTSDhT1vZIPdykUcCZ0vf9IoyL-A8dvaakWi7u4OdlOKfTnIg9cQf2fc-J"; e_clientaddr="AcLk7WdeYWRCspNdhqhZ9M9oIMIuvvZO9NyByBftYKN8OLrrgGcUEYoScnteVqEZ4FrjJ9j7dVuvDEOWWA"; e_fb_vipaddr="AcJcwN33ixk0nOHUGUJt-FTBx9S9Elov8DMcaT7wwd_0QkUAbweEmTImyYNeUCl3OP5vfo7LGg"; e_fb_configversion="AcIR2rB_QaJWKu8rlJM4MTZ5BQmWePL26MJFeu7g67X1AbOGLjYXIHykpcK3ww"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=176, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/21/2024 22:46:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:47:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:48:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:49:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:51:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:52:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:53:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:54:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:55:08: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28661096, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5kF403m7NhnEMG5Aau1cQj', 'x-fb-trace-id': 'GGWDfYIkf1e', 'x-fb-rev': '1015866820', 'x-fb-debug': 'RdQoj+qb9tUyMEopcdInRCo0IQB4yVub/8oS2ZrZ14mR558+fGtPB2kTvuPF53z83XjRia0upRF0MAWjnCYfQw==', 'x-fb-server-load': '29', date: 'Wed, 21 Aug 2024 22:57:05 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLZlw6tdBDUvm3oQKZqSjlfF4v73rVi4IGxCf2oPS-8npkyGA5DVX2JhsrptJJ6RPIgP-bxiv7pMGGpR7U"; e_fb_binaryversion="AcIQ1haiesdO-NgDURYx7djGAfR6zYK7pnVC9gp-2s8EqXEQLiANBWr08jxhYQGCfi9heMnHHYhvR6Q7JM5IO4-2M8EOze8oN4U"; e_fb_httpversion="AcLCH6mPgsHJJKa-0zXPcXWL0o7WdaiI6RFXoPuHubbvM2oIQmVu-T57b7Ms"; e_fb_responsebytes="AcJ_fqv56Avs4l81D8rITZeztsYknK4MdPY_IF3pNOeFtHlslfYFCx5Ljzc3"; e_fb_requesttime="AcIpI1XoZJyroXP5y72-QGI3D64PFMz8YasTDlREGd3rdUpTQQuHaWsMFtFlWUQXGIggMh5BKw"; e_fb_requesthandler="AcLYAh5Jr4-ca_Aev1QxnKq7m9iCptJ1LOK-LvpFkdFHt6W7EQWKB0TqpS65Lc0ETl9VU5tWB8M"; e_fb_hostheader="AcLhSrOP1JVdtVAa2UcAvbo6NAaAyF70zE7MOma2G3d7uSEsGWcvudNej2QXyRQCCCuRPSTubsrt7a6P"; e_fb_requestsequencenumber="AcKffX1Q8uHdjmCuepl94ad0VLGLx8ehAzacy6kwP2HTmZsjxFO_nn538yk22g"; e_upip="AcKxNXr99gR4sil9aOTzA2FI8-fXV4d1EyUlVbPVhtMHRVqXkkK-qCBnBukBDUUtdc3c_U1qKjLO95mztrl-T3HLpg0neM-KMNTqD1c"; e_fb_builduser="AcKtAyYVM5UDS1Y7UWFglOM6dAup4XhwD6n95k2dMgInWg7nm75QL51OJzmrUSP2mw8"; e_fb_vipport="AcJOT6dsoOzgo1ddTj_ZdFH-CUhtKh3nCzm-TdhdH4hdm2P0Fyn8cnMnz6lY"; e_clientaddr="AcJj88Wwv_UJlKvu07GAjOlIQtFvwlZWkltxCMwjcK4YLySfrpBeQ2FuMOewy7eHkscG-L54JtmQM5UjcZQ2GAe2USKUbExhV2RZvd1g_yjOhcTZ"; e_fb_vipaddr="AcITpILImTLDkN4A613QDlmWxQIj-E_Oi58DsQVx1qrTyqJHjCMwWCM0ww71JlKoHfTbHzK38JDlxVgHZN8GXE_8yE8TQsGHjA"; e_fb_configversion="AcLrpMJVRquIz80U0b-hw0nlPQ7VLluCtC_nNQaKWbNvxA3gm9Kd-jxVRZx-DA", http_request_error; e_proxy="AcIJkLeIn9F8CmRhkZuVC_hOICNelufotLAaCnHGAHiFP8TUrmUAr52AaXUUVsS0zqoFQKaN_mfjn1BE"; e_fb_binaryversion="AcK57m0BpRdwFvqyVq_ZMPxd_CTyWdtfb_LkOwmZ6sGMMw1JFDbesTSUWY3ejGuoSyU0ww9g6-YXVPTKEtUd_IFHsf1cDV1_jBA"; e_fb_httpversion="AcKO0BLTnIotPB87rtuGNUjlKvRbZ20iXqQ_zqsehHeJBNLqKGaHl951cesX"; e_fb_responsebytes="AcJ2cyhK5Kd-StFlWHFpWOkpUQeGpAK1hNHrO7G0SMPrFQX8n8rMOHQwB2NO"; e_fb_requesttime="AcIRd2BWGjiCS2AgntB9VXZ4IxWo67ah10SjdR5bqCqg9NTY0nSa74U4ZTVYWXO2OKWN40ykow"; e_fb_requesthandler="AcLf8oeZdTcZWE1mipoPK6cZ0mT2pm486oVmjJRzDfVoEWc5TQ5_EUETEaPJUrihFs4AYyQU7HM"; e_fb_hostheader="AcJ3FKoHrI-Or42YCa0K8vx65Aebjx3eZ-VkCKImElr-uy8KVTj-yqdcVF3L4AJkaPEakLWbwsJvYcMD"; e_fb_requestsequencenumber="AcK9q_05qxdi_E_2CgAuZpX8MlmEqtN2Ncqiy0AfuKCqIUDb_gYpWcyh-A"; e_upip="AcLRUDzDAjli-7muX5LV3AALiQywKhVcwlou5F8Wm2l4r5dwBsaFO0YSxnvGD3hinNPUcuR_iYdpy1mRtAVltfqT2FQy_nIJ0Q"; e_fb_builduser="AcLZRbsaXAyrB-A_WJsUlQFdRUI6OeLwTdN_g0UD3tTmvWOJ7T3vACV-vUPa_Q4aYII"; e_fb_vipport="AcJv8NHEQn7EBKr4HWyYjpLQipE_M0R0rn2Z4NBOEMkeuWbr9onJSrURzpO5"; e_clientaddr="AcISFLNwL1Bg-aB5viR8tP13TAYvqMBdI-pGb7PypOADsyANc0iOEKieFfyy8udWlsdfJrlxltObNjwMVQ"; e_fb_vipaddr="AcK8RjnjBY_0mrnVqBsmomxanDEVPsos_bRqhtbcrUDo3-6pY5Co1d-hHvpASe4esDSIn8Pd2Q"; e_fb_configversion="AcLzznfDm67kxQjkHa6zFBcqF9iIBriIN0o_wLtFiMaIhiu0ojSEVE7_oPiE3A"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=109, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=166, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/21/2024 22:55:10: Error on send one message facebookId => 7716965488433031 08/21/2024 22:55:10: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/32d26580-600f-11ef-84ef-0bad56fb2d37__1724280386520.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AEg5tBBn3xB3Owh-Im2nkSU" } } 08/21/2024 22:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 22:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:16:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:17:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:19:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:51:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:52:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:53:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/21/2024 23:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:03:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:07:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28679881, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwPyWqchYrPPWvzmX-PHnvn', 'x-fb-trace-id': 'DQ78wUdRQFR', 'x-fb-rev': '1015872296', 'x-fb-debug': 'tHc5sqe8nPtH1oai1WWF2eWrkeN4tXQwIVJ44FwuDoRDHKmTy9UGv66zibIb2Tdkve/MlYMmeigeXmYzWmTshA==', 'x-fb-server-load': '37', date: 'Thu, 22 Aug 2024 00:09:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJjDNRK3lFbI7Kk9nD9mvHJ8HPe7l_pyfVAyD7MXVNNxo6o1j4hocpnSsGThuJjRIdxj_Qt_cLjvNOAlcdq"; e_fb_binaryversion="AcLWeGmg2UFAp3Em7L6Z-TcDlEuT6dGmqDQvQPaXp6nvOBogdyWAm7O2B1rY8FFS3aVPETYxSWlan3YRf-0ivNlMPw62KuGv2vw"; e_fb_httpversion="AcKkqoH0J2xIVyqps7kpZ27cW-jLVODOeOfgoSX8Z8nYjkKTtvPIgkk7DhNO"; e_fb_responsebytes="AcL2HrSxAD4hBehjSYA9BU7cK1hC_x9T1FFm9xSttdo1B0vED0VfpRkFCY0-"; e_fb_requesttime="AcJ0uWC_9Mb8H1TXtNIxHsTkR0NzXvFQcy6vvrlhE_ly8rBZ6w1p4cpS_b2MNc-iXaDVCkNFcQ"; e_fb_requesthandler="AcIy65UOdwDWNo9pt0Ar713xBrKklW4TKsvimXK7CKxf5AijQFP6RgXKLvMXVnNqMMzTIl2ijxg"; e_fb_hostheader="AcLRV6m8-IQVrJJWF1rY-uVv9bt-8VDf_KEKq8scoKwlx0o9rMaIvplTiEJvHl8vxCjdSZSIl6v5SS-E"; e_fb_requestsequencenumber="AcKkZue-u2k0TjQvRz9x21s17EZU8D76ts8hLKsNbugXNM9bEMBPOy_GgvpAAQ"; e_upip="AcIbUs1-WZ-9eGLcgGbiILtIDj9Kutoo7gxX_fJC7v3zDH5qnhriuxJz_0v8IBJzIFsR-VJKDTgQ-B3BnXTXgnSZsJxZxpR5O23WoD0"; e_fb_builduser="AcLJle3vDcxiQSmurlSCuKzte-n_Qa5rbP0jk4hCR0-NRq7Ck07OtONtABg3QIYU3ZQ"; e_fb_vipport="AcI-EIxaWEH7FYk4_6b5gTrX8oRTOWQAD1X6qwYJ3QEHRDgk03T5HDrGGiTb"; e_clientaddr="AcI9khhHXaXFkEeSYQSDmOmo_NcuIronUsTjk1yVWqSAZaRuOxctNrOBul5ohDjb6J9T1mH6c6owuDxEphBRcMtKALtt9Oo2fL-eHoF3nmZrd_yM1w"; e_fb_vipaddr="AcLc-dwhNXCSNCC1iUnACiQwUqy2SBBz3Hh7_YPzVUtzx7V-_CiKUCX4M6L0jGcpufMicuuPC6FXt9t0xIIfOe-U4iJDBdeBqw"; e_fb_configversion="AcIHFQVufAY7jcKsPftBNwkccQboIZRCDw5Vcc5maK0bHr2-gA3BOjZf7ovI9w", http_request_error; e_proxy="AcITrYwoUUrvAeKJG3JtbjBF2tkxqLPuJiNxDfNbcbhqus0fA-vrl69gkQ3MA746bFHABDFuT8ldXHEN"; e_fb_binaryversion="AcJCSxY2gNFWC0UtSd5CpfEeaeejxdV6q2KW9Q7q90l4BZGm9cMvfVI-bE_VRtcGOEEsWglKY3jRzUz5c90KBepJhvuKeZzx3Hw"; e_fb_httpversion="AcL7ZcuqwYlZzBb_dSSKokqnHTcAhcuwMb6BPrqjWkNFd-Fd2zqF66BsjsZj"; e_fb_responsebytes="AcKq41Bj15UbfEOQg8Xm04nTAXFDrnEAR9a0m3xSCndgvUGYjpK4rVefUAyA"; e_fb_requesttime="AcIm5yEQjFv_mHCtTYWiz9MJkMomSPTSTrFXH60TaY3cNpS_WxFTydY65Muvc_mu7ZxFCiiYZA"; e_fb_requesthandler="AcJ7O5uHMRX1A6xPhVaR46HGCqCsku9LEdpPPNQQ3OgXo_nnzQZhTHG95fA4lXWc6jqTHfrG2TY"; e_fb_hostheader="AcK-aomxZpokpFQxEK3A_HexCN-ezczV11yq0K7SURgTKmpar_FY1rZU31E5AtT-d97k0UEKqciVR5e0"; e_fb_requestsequencenumber="AcKBUjP3nf_N9Qv--P9G9QRdWLm__O5cPFlMwwdBoeEZelI5iBvkRjWt0g"; e_upip="AcJT-uISl_WUlf3WYVzCsf4dEWqYrS6hmnkF0tfpNMcsYEJA9Mr_nCBRKklpRnoRf-xqrnXBaVF8oKOjW6G0xnfOlx8nANvmhQ"; e_fb_builduser="AcLd9GpPL-iQQwjC4IhH1mRBHTPfEcWG8UrZsa6civZiB4S4jNhgOPx2OMLmw8x0FwQ"; e_fb_vipport="AcKUI5wJCBICKAYa91zK4MsnEJ6xdkH62JUswOBSxEyHJL4keBkvdmqr0GB1"; e_clientaddr="AcIlUDS5ytqbDWjFeKvU6dDTUVTDDH6T4le02tPI_nV-_80-pQLmn49yffw__rOfqAF1Fg8NVlwXokDQeQ"; e_fb_vipaddr="AcIoLco2thB22iDqxUWkuG1oWJ0Tv5Lc-We_au3CG7TpEAdCvSwVz0qmYpuaU9hPviUtfLYC6A"; e_fb_configversion="AcJd0JZxa1WSkHszxVtav1sHCykx9P9Hha1Dx7O32ZbAn355F47tQwUHRsFduw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3402, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/22/2024 00:16:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:16:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c66c46ff349866cd51ab84 08/22/2024 00:17:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:18:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:19:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 00:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 01:03:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 01:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 01:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 01:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 01:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 01:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 01:07:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 01:08:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:07:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:08:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:13:53: Error switching inputType 08/22/2024 02:20:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:21:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:27:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:38:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c5d835ff349866cd519a55 08/22/2024 02:41:59: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28715333, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 22 Aug 2024 02:43:56 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/22/2024 02:52:46: Marker: 0 | ID: 66c6a7feff349866cd51af55 | Error: cant_get_message 08/22/2024 02:54:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:55:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 02:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:02:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:20:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:21:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:24:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:27:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:29:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:30:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:31:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:38:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:39:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:40:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:54:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:55:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:56:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 03:57:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 04:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 04:29:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 04:30:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 04:31:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 04:38:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 04:39:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 04:40:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 07:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 07:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 08:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 08:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 08:49:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 08:50:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 08:51:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 08:52:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 08:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 08:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 09:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 09:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 09:38:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c6f9aaff349866cd51b0ec 08/22/2024 13:15:15: Error on controller payload Input Treatment=> type not found 08/22/2024 13:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 13:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 13:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 13:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 13:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:02:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:07:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:15:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:16:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:17:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:18:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:33:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:34:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:35:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:36:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 14:57:59: Marker: 0 | ID: 66c751f6ff349866cd51b314 | Error: cant_get_message 08/22/2024 14:59:47: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28864368, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 22 Aug 2024 15:01:45 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/22/2024 14:59:49: Error on send one message facebookId => 7716965488433031 08/22/2024 14:59:49: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/72aea0f0-6097-11ef-af5e-53b8066cf369__1724338905215.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A8v6EhWWbcxwglRfSfdIaMA" } } 08/22/2024 15:04:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:07:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:07:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:08:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28866570, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3EGZo7GvuAmi-wGPyPrlTz', 'x-fb-trace-id': 'A/zIOJdDJSn', 'x-fb-rev': '1015891883', 'x-fb-debug': 'boA+RlE1zde1BX2XlnVoPGEKtxe/3Qmif41qKiwjYSoOh9tyDAFZN5xVqzix31vpFAxLr6v5KzmsnrFifLYrEQ==', 'x-fb-server-load': '56', date: 'Thu, 22 Aug 2024 15:10:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcImYvOb4KBrUoRAGk_a-pdMUlhWyztzXVaBnGbhsXrkKiWGQlsnIBqs2BpkiQJuc41lOXqSwTKoICp19_8"; e_fb_binaryversion="AcJanctH7Y5MF7x6ZTp1TfQA_ty5X5oiCB8sHqA_K9gCQpOojRFSckDfsUJtYpmSamhy2XRp4fckAzkNJjo5UXPs40bN-LSpQAU"; e_fb_httpversion="AcKWKFsgjGLhOsoUFAKpTTNK0h7yN-B9KLby1arBbae2BqTjLRcFxklL6aFG"; e_fb_responsebytes="AcLj8oV-Sts_4WeoIRaI85sC30x-ZnVz9Ngc7CkXVJetXpudHXbNoZ3yyBam"; e_fb_requesttime="AcJP2djEch_gw_vzI71Fldrp49ho56PL0xClED-8uQRdGaQz3Cbn80o8vc97TFs8tAI9MKihFQ"; e_fb_requesthandler="AcJhrp9f97pPlU9qx4TKwh5CDhW2DkEmvDF109NG3hHYPlVFdPaBQOYWzrvQM5VQGl8f2FJs-3A"; e_fb_hostheader="AcKpP04qaiuMNf_ehVPWbdD0AHDjTM9pE3IgKGAsM7zhyRt8SMAqYGlJuNZLXfvVaK6YZ-MDKJsl0CFu"; e_fb_requestsequencenumber="AcIT_m_JDHTKJPj7-JZsbCxrYbEP1nkOmBpRN3DmNi55jCCXFikPIBn-d8I1"; e_upip="AcL62vuVu1nd3U4gKRdfp9QrGnYvtcqag2Cm75Rd0yGEWCvOFQT4JTSShSRbRHO_ixsWotn_m5HE1S6mm5A4AWSPdDS2FD-bnAdWhB4"; e_fb_builduser="AcL1PvG7wFGz3ghbL4pUOqxsrt2xhK5ojfbJQSTW5bvbu4Br0btRE-FMMlvo20ZQD1M"; e_fb_vipport="AcLi6VmvW-EEXKSU2sEwgYi8TMObvq_L7vEPtc9C1qpgmkL4rPals4IAUi-g"; e_clientaddr="AcI6TPP3Gdd0K90IgTneA8jLZewu1HACr3mkEXAgmYoOljfv706FVjjw2sLz9rMUDZt95nG-AzeI9rSN__lW5emVst7PswbmerWkIDgl-F3nCf0"; e_fb_vipaddr="AcIHCZnzT3M3q-OpDkTZLiq7J8YviV2ZRdduT6EYhrl7JrFjXv1E31hvJK3b11gv9G8yfipU1PJ-Dbh9kEsWHlqW34TF7WTlLg"; e_fb_configversion="AcKSxLKyN4Njeup9vbPbkdRXzbflk240DyB0HESSFoEGsJDoVYjbXPev9lKptQ", http_request_error; e_proxy="AcLeXwIccWt63lls2vqU7l7JwtI5t3iVsApj85r54DgZP8MitadMVR1hxbLZsTNpIfcnQQvH6vfNacw"; e_fb_binaryversion="AcKC10i90BG3cCkIB5KUKgnvyQzF72xcDQw0JO5OtyvzVYDs0VA_9V08Icu3Mpq-e1jzS0YmtG2025h6P1lxQ6WqGQmya-EO_no"; e_fb_httpversion="AcKZGDTaC_rtf0CB1eBMkCNdbKY6QYCuSyabcTGVgAEAXIA4Xfu7zf8Pxr8-"; e_fb_responsebytes="AcID1iMwFKVtMnFo2Pp8fRBn5cEmezzfoM9I6x58UGaG5WmC15XAdDAC1314"; e_fb_requesttime="AcIdb0C1LmLMOeOW6zG8W3XSUBi_OT_tyCWoA7tBh0o3HxAqxj5VMO6VOT3jX6h6Pm6ZoA2BDA"; e_fb_requesthandler="AcKOy5EkRieQZ07dODitvMpKJwEBqwDVB_X5UZSZEx0hOjzlSNz5UXAeAIhmxpn6QwQcMHUnZbY"; e_fb_hostheader="AcIQH_opz3d2hXeWmerjyTpz7fbfEtUlb5ctQW7GqsDEHi3sJ_8DSLJ0seN7-VS7QY9ZnVV4UG9GNf7w"; e_fb_requestsequencenumber="AcIEjMs6OJImJB1CzbzbpMmXPtEo9knM1V45fL_IKQPbk05hllD_zP8stA"; e_upip="AcIXuaTTSciIONDFtKUK3FkQXnXavH5JMFkSKUnAasSKjrwHPNUfDOtP11V8ksiHd_7Nlhd-YWmnrglMrxC2aoICAUnY2Yovig"; e_fb_builduser="AcIEB_4VNbLPxnOLEBycOG3RpUTokuKWUhK78kv5FAPUVa8nEv2M2Dm2tmuZ9L57gfk"; e_fb_vipport="AcJPOfmDDWe85H7e9QNAOTI4b8xuyYaz2Tlmqg6VlxP1bf1zkjKbAw241m9M"; e_clientaddr="AcLxdxLXr94kg5sD4UBsFozxhK6jsHUF02qFpN2zCwWxrW05Oan-irctIZqqgqze7_WnfwIWdY-s0vEt3A"; e_fb_vipaddr="AcKnicuZISctDeyIs5Pd2tgyvbytY6Ou1750TpGiYUaSZj6d6iWQVdVANg3JKULHY_x2hA"; e_fb_configversion="AcIpB_5BqfDtzdztnNV5IQPMCKx2-ngvICkjkWw4dbgTiWVybzzO_yU2aS5J3Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=254, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/22/2024 15:15:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:16:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:16:38: Marker: 0 | ID: 66c75655ff349866cd51b41b | Error: cant_get_message 08/22/2024 15:17:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:18:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:29:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c6f9aaff349866cd51b0ec 08/22/2024 15:33:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:34:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:35:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:36:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 15:59:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:04:30: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28889560, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 22 Aug 2024 16:06:28 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/22/2024 16:04:33: Error on send one message facebookId => 8920776301317719 08/22/2024 16:04:33: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7d5a04a0-60a0-11ef-84ef-0bad56fb2d37__1724342788586.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Ai3_W_tFcg69WTpNYXBK3Fo" } } 08/22/2024 16:10:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:14:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:15:04: Error on send one message facebookId => 8920776301317719 08/22/2024 16:15:04: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7d5a04a0-60a0-11ef-84ef-0bad56fb2d37__1724342788586.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AGOhtn4XxM2pOzYthXkXqzE" } } 08/22/2024 16:24:28: Error switching inputType 08/22/2024 16:24:29: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/22/2024 16:32:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:33:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:34:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 16:35:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:08:53: Marker: 0 | ID: 66c770a4ff349866cd51b67a | Error: cant_get_message 08/22/2024 17:10:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:14:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:16:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:17:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:18:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:32:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:33:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:34:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:35:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:47:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:48:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:49:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 17:50:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 18:16:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 18:17:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 18:18:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 18:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 18:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 18:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 18:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 19:23:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 19:24:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 19:25:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 19:26:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 19:27:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8306910686028152"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28934512, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AyRENOjoILYqiNKsuR38mPi', 'x-fb-trace-id': 'GRwFoRc45HH', 'x-fb-rev': '1015896319', 'x-fb-debug': 'p2RiuiBV0/+NELviZ7KdlfwopgJtCQg1AP5av/9hPyEIUfOZlGRfbaYCbX9tlydcra+Eo8OisRK6DRcl4Br41w==', 'x-fb-server-load': '52', date: 'Thu, 22 Aug 2024 19:29:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcK2PKYzotx8DwJpa9l47_eTNxiQ_reY6mQ-Rjr1CMx39Wbd0GjsmI1RyJWQ3uOmath4_Yi6hEannP3vBzz3"; e_fb_binaryversion="AcItbcqe2oWv_7wlsZrZ84ad3CI35swLVvL5oC7uJYqU2LXb9Lon8Z0kmgMU4JdYMliuzcza0sOBrEUSnwJGjGIVKWoLbBaXtYY"; e_fb_httpversion="AcI5vBApBz4ilKYnYairdUDSQ5MusDoSyw42UtPsf9_fnX6aoonX9_cKsYa6"; e_fb_responsebytes="AcI2dJdO6WMffUZmiWIqrzKZ7Y6P4CDrON7sH2Lypv5PJyUQFOgsNakY75nv"; e_fb_requesttime="AcIi9UsQLPHehPEAI7665YAQcw1DmKoMBw9RDW8KrT4o8zZUZLqyEIMOJ2t5HZnt2jnkYR9k5w"; e_fb_requesthandler="AcLQOsMYjc9d7nysx7A8iLfn6hIDkauxEPgWJiTauUB0ecnQpsO-bJ5vUGLX6usIlIzwauYqOmU"; e_fb_hostheader="AcI2GnOe0nXkq2QCdsJWxOU_8y622oJ5hyKRNnX-0dT5rA2mmSlqNjyOqMZJWym_Aate4mglAwFuhB-o"; e_fb_requestsequencenumber="AcITM7LjHj4KyPViyLAtvjkfLN3Rpz_LAMHB0cPGlffytZkg3ZY31hhI3RNlEg"; e_upip="AcIZ6Oju-TwNVbruHHtWXjquXNNzYi3kXelQEr8hgOS3MZutTWk3xHZA5APKqu73mViQtNu6s7NWOlA3rOvHNik3QtYZE7S58-DZtaE"; e_fb_builduser="AcLKGfxSadgHXmoR9OBhgyKKUnRXMhA_OMXetdMlomOJu0LfzAX2yll1oBLzZJuho8k"; e_fb_vipport="AcIsINxlSXToY7bn_cdW_5ChwHeezbxxKZSAymOUG2hU2mEERo4mNy1mr7DU"; e_clientaddr="AcJDJqr5LURvY8tYDk8oR6jaK8Ykl6mTG6jKGI99RcaHqILy8zPXOPOe9HhG1AMQoH1mhP0w2NcQpPvXmzCE9ofWYeF_ReRQIllcfiuuOFQelXFI"; e_fb_vipaddr="AcL13UHBLKuWeZ3ZXwnhyy2e2gEMMHhQHSVinwNH_UQ1SEtSRyCrYhuGMM7TBXEgO_o6zreJI_s-BMvC71k-be7K1Wbxuh8LHw"; e_fb_configversion="AcL5B_G96kOVto6p4FVjd7KTapA2RyVooPLd_eQm3HascjpTiBfoDKPqmqKJdQ", http_request_error; e_proxy="AcIlPmkz2ckqu_ZJWT672ZcVH6PHrpVzXiOF0Mgr7hmG3WB16DtMgiW_LQXU9iBtJo_CGQBQaqKfi2o"; e_fb_binaryversion="AcKngvVBtZrAsdiklCFdyGqGDsq0rNt0lTP2RMnsPNnggqQPc6ppICGgt-Hbcl4KeYcUDr2IZ_O1lSjIpdcFKOo24082QlhqrwI"; e_fb_httpversion="AcKMTZQNJiWjIit_ju2HMyYrgV01W4T_mz8sZRm77OX-r6ZwTXm3FKFs8aAH"; e_fb_responsebytes="AcJkysK0saN509njcykIaDyqeFbnLZlSDa8Vq8yfJJySlqXUFLFf5cPVAFDj"; e_fb_requesttime="AcJ2hFgCFeSIcCGRNUSK8RGS0iTtE_fqeXH_zRo9TuuofgoVvAfXw1Bwin3Up8Tz31XaJslTMA"; e_fb_requesthandler="AcL5ORHJLN0tD8xf43Cp5CekDmgatKcW-KRmMV_gQnxnbChceDOZaZck7wlAn8942PUWXCvJUA8"; e_fb_hostheader="AcL6_23Qldif3cPb5uQD08ysAYH00ES07Lxk0eEHVRhMf4LjVcPiUSg7NoFHUVHWeuivJ1FqHxKy8iPn"; e_fb_requestsequencenumber="AcIvYVldB14ls0vaQXNENP2exv5THTtfvokmc-Ea1_q66DwcygYaglEXUg"; e_upip="AcIMPdk8IBd-vLpgUNX-5Bfj6gnYZTEcF_Gmd8qoXneuNrBmh6pHpDLsPM70KgXYa-wGqtyEnSuQkEphkz7aFGtqINjyW_NSpw"; e_fb_builduser="AcLQxC-A_si1JPghPovGKNJEFBS8zVRZhw_mJ-J6Sq1gyHptdiJGDfEWKA_iWpNrMqk"; e_fb_vipport="AcIe14xDKuO56Yb484dKf32vJMQYkFLK8q7mwkKgjYbilGiGLkbpDMPAiTQR"; e_clientaddr="AcIa9wrnDKRXDoTuJaWEz9dKPc0K7Y2v59k-c8iXfqKpua8-Qhyl6GajMfxL8BdaalebY3ekWNAAvPwgUA"; e_fb_vipaddr="AcJj0g_jAFM2p6t4nh_Ce9pYGwb53YMmt7ZpfjFPCYc5LffbXq6RblG6UT-yw8uZgkMK0Q"; e_fb_configversion="AcL7IExEgMvvLaliAyxW7OOYULnFR-VLsD59DmcW6LUU1klMRIOz5IS9XqbbCw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=195, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8306910686028152"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/22/2024 19:27:04: Error on send one message facebookId => 8306910686028152 08/22/2024 19:27:04: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AojA8dL2ucbyoJh2FPQPhF9" } } 08/22/2024 19:27:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8306910686028152"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28934690, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ath--PExZdVZ4eCwzlRp3Qv', 'x-fb-trace-id': 'Ble+H391erb', 'x-fb-rev': '1015896319', 'x-fb-debug': 'sUBihv9kEwQWKUrAeSEcj7XbA69SYtJeOLFQlQBJcB52Hr4YEeUha4xryqEWyLmJ+8GdUDZAzebChfhmUlh+bg==', 'x-fb-server-load': '44', date: 'Thu, 22 Aug 2024 19:29:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI5v9jYkyMzxHU7MkNU1JzmJ12HMNhYdV-i7pjZNsUFb8_0SLw9TxKcaWFVgkcDrMBN9iacdiaFvFhdmRar"; e_fb_binaryversion="AcJMbfMAgIE7TPPSjYTdzsGJLSWfIde0bbD2MKTaVeAfNytWlRe8vtXNRdIhxXmusnF6yI6ucnlHXflg1rrneXg6YzcGBt0iKgE"; e_fb_httpversion="AcLC_JCWAnyok7o2AYaMFBWcmCdh3mKHBbfUCksqKhjOU7s3qkpikmGtI6t1"; e_fb_responsebytes="AcKus4nFxg5RotCv9vppNdN_fKoDKxTm6YI1GCQCZubkvU-GWGjWhEk-b15r"; e_fb_requesttime="AcJAdOIBKKMNOVjvYgw2wBy-zV4M0X2BhaXuRcT0w1oLjxb3rFnt8pGU8S_vIZvUP6Z5DigHcA"; e_fb_requesthandler="AcIVH0q_gUZhsxchik0a15uBESg5Xi3aI8qmw82QaYQmunXYCPJ4WY06PFeJg_mYuavsQaAr0L8"; e_fb_hostheader="AcJkItscNhqFu2Z-rmqqxZ7_KE_eknCEw6yU5gt7HZI7xKmgHBbEyiP4WqyYRuZBZZOpy1ZPocbqnECL"; e_fb_requestsequencenumber="AcIAnLcBtSVRtmNjk4qMzw-A1WnICOy3txBMTMoYTFS0jRnj-9a7j_UJ0eayDw"; e_upip="AcIVVSiWgeqzsvtzusvYncN90zkDE62XyC0qveGt4ZIgT0kKJODA7gOlXyfYA7qJ4YVTeG696jlERPq2-e8mxBpPze6pSNf5ghkObnc"; e_fb_builduser="AcJzwwsfjrk8sSNjMPiAjzrihfyweigDWG8IrYbED-w1LFiHv0uHATScXUec8AsuagY"; e_fb_vipport="AcKnByIubYQyF16xpYEwgbQhreIK6dtzx1Y7D32kUe9tfx3gJkKklm0mpOZk"; e_clientaddr="AcIGq7WUeZrS7VPMjQvXufhv2IaDmn6AnLYiY9gPXWTEynYx4cmmuy65YGHt0IauUMNaHiteDB1CHqQye_lrcwgxRF5RkadtKYjl8zUmdh6Ia6nZlQ"; e_fb_vipaddr="AcKyOQ6AY_7fctZ7SYCIKETtYO-1WCcgTqPiGZN4Hw9K0pc62wftRgoPggXX00wc6ZeapNoFzMECZePdd6a0D0mXrnFTpWZ-gQ"; e_fb_configversion="AcKrvYECmAdHEiYwWNeMxzCN05bfPllP-mksKCpP96Nmp2YeZSRxA0dcM0Wb0A", http_request_error; e_proxy="AcLdwpjX-kkoCGfbvR2lGoJ5nPCx83sjM0Uk4Zube9Mna_iMLtWyoeC9sltbmV4JDkXoKxiS9GUl_VE"; e_fb_binaryversion="AcLm67uV0GcTCgnjmqoUMjtnjAiv4F8C1tLPBlWAi4Oek8wp8NnTecv5SRhSn-LOHM31pXjKzlKx9CRjB5kOCNYOmcVekKIha6U"; e_fb_httpversion="AcIsksG9U2dk5fIWzn25iX3VBe13bBXNNITCl8M-HaE99F6eLEbUjgNfhKA6"; e_fb_responsebytes="AcJh6JhXAcbvbh9khvcbZNpbkWX_VJYdY0vAXrplkIg1Rd1SJWCDC64QeO9B"; e_fb_requesttime="AcLQIkMus60PhhHrjLZtUmmJOlqSqqSC7a0s6p57AtMYlIpuFUw4M-7nigWMO3ND_McmOPpTpg"; e_fb_requesthandler="AcL2xAKaSINhxKNko9WIliy15nvbTmmPnxci2bEagblviGjCDR1nZTox9UU8C84ixH8gGuVLDfQ"; e_fb_hostheader="AcKmf1oAO2h2DvWu7LbKGjXYnz2TCadOgXg1GEzIb80fztbFhTPkuU0fUSxQjy5i93cxAovptSnbZ5MO"; e_fb_requestsequencenumber="AcIUxnrph1uWC9T97GEPoW6HtN2WS2R91aWydzzy_G3lMcfuNY8pR_twGg"; e_upip="AcLQ_Pet-WB6H49bSG_oRNhHWR78_7_E6_gJv7hKaSbQMnRbP89wZPfC1xGzn8WjXW9954kL2Lk653EhrnQy8m3IDYBr_LPU5g"; e_fb_builduser="AcKsIHchl9cEYvFhNhd1Gk6gP71gSItXB32WtrL-_k-lGbaz36CKBV31OFufOXXYEO4"; e_fb_vipport="AcKaefo7Barf06eC7tGJKnmlz273ahtblIe4Hlc1GnlYu8bjXxdDR2_MlWrV"; e_clientaddr="AcIkaTo6C0RD9t3-X57-0UdIYvlWpbrZYXBm4JFXLGdrD_dycDTh2zp8w4XXxwO-ogtVOmXTOzvnGqs4rw"; e_fb_vipaddr="AcLRSKW4Hiz2BAdnRFKPdD2qlNAvR2-rTZOa9NBZhRS4jmVJ56QkLmuzc42U_Nb_Ki9Vpw"; e_fb_configversion="AcLFVF0lbFHKPe7T-XZknlzu_B6FOFzbrn3lQmD5DpiyUPr7pwU_2E-Gi_2T4A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8306910686028152"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/22/2024 19:49:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/22/2024 20:11:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 20:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 20:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 20:14:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 20:50:59: Error on controller payload Input Treatment=> type not found 08/22/2024 20:58:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 20:59:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:01:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:02:33: Request bot not found: { id: '863113247096430' } 08/22/2024 21:11:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:12:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:12:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:13:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:14:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:14:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:15:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:58:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 21:59:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:12:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:13:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:14:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:15:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:20:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:22:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:28:48: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 28973421, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 22 Aug 2024 22:30:46 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/22/2024 22:28:51: Error on send one message facebookId => 8106479509470354 08/22/2024 22:28:51: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2cf11680-60d6-11ef-9972-0fc895a2faf0__1724365846504.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AKXhm0o_7PblxKIsLRxnivx" } } 08/22/2024 22:35:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:36:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:37:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:38:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:39:04: Error on send one message facebookId => 8106479509470354 08/22/2024 22:39:04: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/2cf11680-60d6-11ef-9972-0fc895a2faf0__1724365846504.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ANem1sbYmwW84QRmSzLWqMR" } } 08/22/2024 22:52:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:53:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:54:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:55:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 22:59:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:00:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:35:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:36:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:37:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:38:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:52:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:53:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:54:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:55:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/22/2024 23:59:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 00:00:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 00:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 00:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:28:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:29:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:30:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:31:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:41:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:44:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 01:53:23: Marker: 0 | ID: 66c7eb92ff349866cd51ba62 | Error: cant_get_message 08/23/2024 01:53:34: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29016137, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 23 Aug 2024 01:55:32 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/23/2024 01:53:36: Error on send one message facebookId => 7716965488433031 08/23/2024 01:53:36: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c81e3630-60f2-11ef-9972-0fc895a2faf0__1724378132755.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ApQ6thFN8N6_OdwvEyKF5Yx" } } 08/23/2024 02:00:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:04:04: Error on send one message facebookId => 7716965488433031 08/23/2024 02:04:04: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c81e3630-60f2-11ef-9972-0fc895a2faf0__1724378132755.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AcRE4XgBdoO8hUhAspOnwY0" } } 08/23/2024 02:10:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:11:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:12:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:13:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:32:57: Error switching inputType 08/23/2024 02:32:58: Error switching inputType 08/23/2024 02:40:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:40:10: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/23/2024 02:40:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/23/2024 02:40:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/23/2024 02:40:12: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:110:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/23/2024 02:40:16: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/23/2024 02:41:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:41:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:41:46: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/23/2024 02:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:44:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:55:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:56:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:57:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 02:58:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:00:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:05:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:06:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:07:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:08:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:40:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:41:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:55:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:56:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:57:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 03:58:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 04:05:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 04:06:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 04:07:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 04:08:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 06:51:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 06:52:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 06:53:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 06:54:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 07:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 07:24:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 07:25:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 07:26:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 07:50:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 07:51:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 07:52:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 07:53:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:04:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:24:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:25:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:26:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:41:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 08:44:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:04:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:04:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:05:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:06:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:28:45: Request bot not found: { id: '863113247096430' } 08/23/2024 09:44:02: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29129777, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 23 Aug 2024 09:46:00 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/23/2024 09:44:04: Error on send one message facebookId => 8573317239356867 08/23/2024 09:44:04: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/811f71d0-6134-11ef-af5e-53b8066cf369__1724406360429.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AzBfegYbuFcRinPICs-iLwN" } } 08/23/2024 09:51:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:52:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:53:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:54:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 09:55:03: Error on send one message facebookId => 8573317239356867 08/23/2024 09:55:03: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/811f71d0-6134-11ef-af5e-53b8066cf369__1724406360429.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ADe6pwgdavlnnWZh5mShoIn" } } 08/23/2024 10:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 10:04:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 10:05:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 10:06:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 10:51:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 10:52:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 10:53:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 10:54:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 11:45:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 11:46:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 11:47:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 11:48:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 12:45:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 12:46:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 12:47:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 12:48:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 13:37:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 13:38:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 13:39:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 13:40:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 14:02:22: Error switching inputType 08/23/2024 14:02:23: Error switching inputType 08/23/2024 14:11:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 14:12:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 14:13:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 14:14:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 14:33:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c208eaff349866cd51743c 08/23/2024 14:37:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 14:38:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 14:39:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 14:40:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:09:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c8a359ff349866cd51c1c1 08/23/2024 15:11:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:12:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:13:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:13:25: Error switching inputType 08/23/2024 15:14:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:20:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:22:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:24:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8494321310628441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29206970, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACxefAAvvq21AuBuw87VOKY', 'x-fb-trace-id': 'CxFcJ3z3fxN', 'x-fb-rev': '1015923376', 'x-fb-debug': '4ML7xRG3ZpgXnjyRZEXW8gK1Htp03ZUnYqpHEnVcO4aPhyHwBT0J3i2ff2/H5kOKztkxwF0STajBT+fOY47O6Q==', 'x-fb-server-load': '48', date: 'Fri, 23 Aug 2024 15:26:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIJoj42M9wI7EJID9RdOdLGZWLoAV8Kg7MyxGYKu1F4QAINvrQZAQ1N0uwuMO5xuI4GaOsnSJ_-zww_v7Y"; e_fb_binaryversion="AcIwQOV8MqPIpxxNXHP09f6tQ-yOYeCDpZdWotOvBfcVrUbMDZJpk-XIQQlMhH7GPLhdh--lzwGI-AO7WBsdAnAFS_robFPKg0o"; e_fb_httpversion="AcIG5fipnPzCiLuizeAnGSqh4jguqDSbHIWMGXSQ2vxc4Z5CznjIGvmQoBf-"; e_fb_responsebytes="AcJf51jLse1f2W9G3e1-VLKk4s4qKd-nLN41oMoAMvT_2AGqe2itimm3Fp-T"; e_fb_requesttime="AcJ_EFrCZXD5XXcNiV3C_StkA2QtVSZob2f8PVVtl6rY7yzxUqv8b7p0PwvuM4zhuiyX86dEaw"; e_fb_requesthandler="AcIr20OBtaGGECSVa1IKEWuKBbhM7gYT1bAWXLP6cCPw5tbwtPqW7zg255LyiybKQL2FKXyRYus"; e_fb_hostheader="AcIXFsW5EK3cg3T7XkaH1VbLMMxn8tEwcZDZpP8j17_f98t4KokZXy-FdMYt_DksDpVOSehzokVZ2ptb"; e_fb_requestsequencenumber="AcLfNpDBRVMbA-YhdqkQEk0aEPZRrssV5a2dYq72oq5e5HIBuQmuK7RsdPdq8A"; e_upip="AcIXH7-3R-EbNC3eHaQVt7-VIWGR0GGl3YJ8oJc1nYPgLR4kXBmusalu1K_RLyETm8fzsSQVQKkLNKKtl_97yVL88Hi1QRDXu0NLNn8"; e_fb_builduser="AcLmSIQMd-jELiOcxnhlzpbFRns_3gAndcgTXfQXvQNDfMMelUJBFuMCadS_rI898Mk"; e_fb_vipport="AcJ7JZhd0woeMlTOPNL1XfeYKYs8cjLE7788D6hvLOW_34CcItkCiD_IhSdt"; e_clientaddr="AcJj8D3N2daxYpViVM-AeXVDP4VS-UKp4ONShe626d-axrQOrnUcdGL9liWuLnaexocSkJHzO9v06sM1rIeLJKUuGFvmPKQRvj9Vho3YCtJg4R0v_A"; e_fb_vipaddr="AcLo-ml7j9SLVqWHnaEJtnm8alZp2ZKOK3Hs6hymQse1Kyiv6l3zUDVWk3tkYyjHIXfzwjGv6c2PqaPHqTPsl13hIRp--zPc5g"; e_fb_configversion="AcI_2SsNKUC8NncYOlv8CzJRHRIVjc2gUcICc0rmlAf3UrQSY1T5k4f0GpCSoA", http_request_error; e_proxy="AcLXnsPVY4u5KBZAAg8Fjx3wVP9K6EGjzJAeA3PMv3Q-u_1W9d-LO9yai0USN5JC9v5_gpImXQTUzIk"; e_fb_binaryversion="AcL2r7CRq6G5vdKjuKR2ThTRTPZFGI3hh37IPvNDa1W0TuVmj4kDdjl7m14bhh1Cbaj4u0wBfiWbeLsaLSO3h7Tp5BgHFi5q-H0"; e_fb_httpversion="AcKDSxBLhzgJCk9BfSwKvGGmezYNVtbBeKxVkEK_dUyMN_KCvOZKNgaBeMvg"; e_fb_responsebytes="AcJR1qn4uKG4Y0M5sDRjxD2uVjHZrDh9GvKeNpP1ZCVaY2eSxCggje43TwPo"; e_fb_requesttime="AcIvJgwTFrZctnsit4g2XKZcMXJ9Q_oV24JKZie9k-9lSkWXYsXaZ-BuTccjzy90xq2k_jOYhA"; e_fb_requesthandler="AcKh4BulAeZsHZ41j4gMW4mMx19I_WCDXv_IGBzAvESA4_XjicXOK0_52j7HkF1lXblvA0lFSnM"; e_fb_hostheader="AcKkMnU63nDwjdRCBlZIN4VMtSefS23hc4utrAo8enRLggHbbvy9trXPDydRxoU3XpAF3UPCYJzER1ro"; e_fb_requestsequencenumber="AcI1KYDgx7ZVqedo_KQw0kyoVuRCPNzL2i2uKpvvfTjHMbfpE2L7pPC7PA"; e_upip="AcIdXItjKWSAL_PRFQAP0WxEE76NmqSMsOM9lzI1eRsdHzJSZxpTcyg8jIyIJHU_3nvIja4fAM6G_oTndnGUcenTuoPcYBvXqA"; e_fb_builduser="AcIW0sF5YxSqUiczjLpsy1mZfcRK6ziurGG-Ix0w2FAZa1vmOMHpBhSqFFgGwdoWhGo"; e_fb_vipport="AcJA7qR1T7RD6vkR_rTWKF60qDEUTpwxcpVaeJtyu5o14Sv3TRTEMUsMdOel"; e_clientaddr="AcKgsVVNkPgglZejYin0ftjJZhzaW_DLKyF1aY0-4FgOIJnwd3aDljlt7ZXpgsbSaGOaKyuRQfRdF6RLRg"; e_fb_vipaddr="AcJXTYRuw59bKeRwsExwQP5I9lPhYt7Gojm_0BJWWCXLXgl_FdK8UVh3zlwhIf6vdAJd7KOAa2U"; e_fb_configversion="AcJ2LlJJxfvW7qRFkG82YoyLOsc20pkcjF4Dqv2g02HRyFTgsScAulxUx_m1QA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=161, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8494321310628441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/23/2024 15:24:01: Error on send one message facebookId => 8494321310628441 08/23/2024 15:24:01: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AsFueB3UB83wjZybO7Aw-H1" } } 08/23/2024 15:30:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/23/2024 15:34:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:35:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:36:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:37:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 15:51:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c8966dff349866cd51c0c1 08/23/2024 15:52:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c8966dff349866cd51c0c1 08/23/2024 15:52:16: Request bot not found: { id: '863113247096430' } 08/23/2024 16:20:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 16:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 16:22:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 16:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 16:24:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8494321310628441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29222817, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ag9jAhPhag7OFdC2zL6k83l', 'x-fb-trace-id': 'DoGowSmaf7w', 'x-fb-rev': '1015923376', 'x-fb-debug': 'qkEG8YqHwJusavMrQugM2dg63DlifqrW/T4vS0OIeRQLXnVG4Iy7Cxc6x/za+HTELZp4Qyum4N8xAYFGkQ8znQ==', 'x-fb-server-load': '37', date: 'Fri, 23 Aug 2024 16:26:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJp2-ojuVW51SfMvXxKAYvNz6TnpFiYF9YkG4wDgX6Z5EizXjJyUBhGjgaLV7eALaXIBA8tFTIlFlnCK0Y"; e_fb_binaryversion="AcIuwKBErew1oIkBKaTMCR0bn9MfwjkSKIvwjO6gLMcR1RuGT2wxQA78HwwlxrBLt24-D5nwNveCzBnDWG9g95j4RMGKPPYQnLc"; e_fb_httpversion="AcJkWHpg3etFP2a50gSS7jb32n_-EAXAOy2jp23Y5822mq9QYICa2d0uzNhN"; e_fb_responsebytes="AcLZUfb1uVaa57L7I6LfDaylKR4onOnDNdeisjROmC_72H65p3uUoHqOGenX"; e_fb_requesttime="AcKBhpY2Pi1kqFm24BnqLxprZlSvWlYpUz1iIbRv1socXHjoQGoeFce70H8WoAZo5VvvqVKRFQ"; e_fb_requesthandler="AcL_6vll38u_-yRO3mls75eqHzO3_gOyfacpjisZ2qRA3kjX1yc4rawJQ3LJaGGtaSiGqZ_LKvQ"; e_fb_hostheader="AcJFjeSoadSQRAG3Xn0eNxJGqbDeC2pn8xCpPVTUk86gKi-4ocXWtkIoCYOQ4JQ_MNEe0q65eaHeRfe3"; e_fb_requestsequencenumber="AcK5eDUryuHhVnUT2sFZ7Nua1tIP1k_w2Mw-9khHZfDYbr6oucuHLGs9smQ"; e_upip="AcLQjB0uyb6g-DP5o1NnY8TZBpoFsQ6KFmOdXVAISSuwykS_YJGGurxHCqACNF4b7ySNQZ4gjSAJYRP35LZXSXFA3ry39eXlgasv"; e_fb_builduser="AcICD-t_iERPTPCV91qo50yxSgCsjAY1ehRmwp_N38TDKF41CzedX7Hu8XCx6BDLZp4"; e_fb_vipport="AcItnF0uJjYkptmtgiuN9Tdt8emkpnZgpD0si67quKQx-CG6wkdqKFJntsBB"; e_clientaddr="AcKpeBxIHDJRbn1MDS2oNuZLKLI-VqNDeT_jU_llRIgve1jnmNjEoxgprEKtieXbl5s1hDOyYmE5Q6x0Zdo6fIW0rOG-u2AzZUZjHRTSoNrQhyGL5Q"; e_fb_vipaddr="AcIM11vbjnzXza2fEkziT0yRBuCDiuz0GPTDmaYAmpXtz9FRk1uqhIX8zTw3vJhj0T-MpCLfOOZrz3TN0E2xchEcb-lduYtK4A"; e_fb_configversion="AcL6EaMnaynlygMX2U5Ai4ze1ZpRezk0qLfpG3d_601bdWduggUHtV6p4BMJlA", http_request_error; e_proxy="AcLPmqF-ESMtolVuvrQ8bFM4JZ4gDqg0vYP77J9h-47atWXGej2f0tmS5PfdpIZiG9-X3lemLRf6sc4"; e_fb_binaryversion="AcLNMX6Yz8UYvDV_ztiIQ9Lj1Eef9FrQbqF4cVDTBzue2vsW88pZ4cVDOPhRflBFq_3Y-4yFVLipwzdnZZ6y1K2oNhJ16QbWMTc"; e_fb_httpversion="AcICgUqVIx4E0pwz56-UjqUS6quB2yIw5b5XWhgEBJ929kmPnzKh8Z3WOgkS"; e_fb_responsebytes="AcKHZXOm9LXoTxQYLi7wj4rtRPssVKeY3_GJ1UgjBnNAkqKvayUYBeBX2TX0"; e_fb_requesttime="AcIWpXstXJvAOyYYtHZA6BdjCDSnSdlCSYaHqcn0I3gH4Mrq8heehj48qWJi2xGGdKOpDO80LQ"; e_fb_requesthandler="AcJv7D4KwqtGFbWwcKLmC6VJdhyqI6qjNMunQVPUDqj4xcx-zbrXy1GmeAhNLzroZiyvld_jTF4"; e_fb_hostheader="AcJulCNKl6MWN6IO3_NIi2zhbuVsGZZFVaGmnuVQCpQnn81zWA6lFnE37E0jOTsSbryq6_x-Gl4ndJ-K"; e_fb_requestsequencenumber="AcI4LGQ92oeDGDUU0qnoiOws0HeqFk4ijCEG9S9yQEjIAPGsUjIB82Ejvw"; e_upip="AcIvZQ0Vhh0VEXfmjn_gNaNNmv30zuYbb6M1-eeAn4MpDKpCH6Rzm3bIeZ2s5FLHjI_RTDaVTfKW2xe3uski58C0p8-gIsi6GA"; e_fb_builduser="AcKySX9vsD9-hl5ZyLG3gqSggP5kahLVkyLk49IGwnnk6fWl39ovJfTWuqzCRJF6iuE"; e_fb_vipport="AcKCIXOVHnEhHpjXqFF4m8gyUXqrqLjNEMiYfFxejTbYNNGttRJXr9Em_eBQ"; e_clientaddr="AcItwQc_06LLzq_-zhVlx2dxO616UOrgVGZEwECdx7kFxS9fs0d-0u6NuEvFyLPOBlhTMuPELy996i9eTQ"; e_fb_vipaddr="AcJ1iTAVkU27ywjF6KlPfXpcfypbT4fBsSEbPzfMdT5YBRHPjbiFWetDh6PyRxZb_jWg8A"; e_fb_configversion="AcJqv_y-5uRHrgK2FlYp2zPVgn4inUF5mLH3F8duqCNpU_zZnB02HJ7BVRCK5w"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=153, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8494321310628441"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/23/2024 16:24:03: Error on send one message facebookId => 8494321310628441 08/23/2024 16:24:03: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ACZoT12w3j6linvVHHbc42c" } } 08/23/2024 16:24:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8494321310628441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29222996, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjS0Xx2OmRgaXF36nLAsK3-', 'x-fb-trace-id': 'BOH48cMsNEr', 'x-fb-rev': '1015923376', 'x-fb-debug': 'yNq9kNUfxfFNMyybvSv5M24rgykmI7lw1qQZYfcNufDCPbjbAJ0EkeDpCR8rIKz+hrnnhpCZQAc2kKvANJbZzw==', 'x-fb-server-load': '30', date: 'Fri, 23 Aug 2024 16:26:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJvE9cn2Qkk24K75Raz7jdcJoHLVsNCuRHG2cN6qt_mAV7ss0xHeMxo9dlvbmFaz3BqBr1cgaszAz1IK_wf"; e_fb_binaryversion="AcKNz6Lq2wBzHDW3Mx7xuDs5B9QZBH54ackm8QY_5ivnVpfJa_D5GEvR9x6mwUL8vHUK4eQXM_FYkpcZiKhAspjNeJBa3GrL2OY"; e_fb_httpversion="AcKNz6TlFTPRgA06VPhH59bhyPFo9YdyBvSmPDpd-GSnL64PkK60lanQUytC"; e_fb_responsebytes="AcKZaN0fBH3zqXwxP_A-wAjqudLF4NOSqipRbTZHTL93WLXn3-IN05rTtdwX"; e_fb_requesttime="AcLPNB6lZ2Fpqg-mFravewuCRyxP-oVukOZtbelqe3_dnfPKsSZREUN7YWhVoYMiR_k773YC2Q"; e_fb_requesthandler="AcLRj-_TQd62vq2--vHaJuoAvSGd9Bak2XC9HbEDjulFT4Y516JrsvHQ1_VBaMqiNNaqXATOObQ"; e_fb_hostheader="AcKUNckmFebK6FgdhXT5EdRDpmnFOUY5G9mZSumvVZt04Fo6XfA6ZhPTHFjN6WowgASgE3TMoBp2i7sS"; e_fb_requestsequencenumber="AcIqMwpUftPpK-eSKoUSHW7v4HsO7mrEM3PRpak2vihvbox9JXdh6BSJ-e2K"; e_upip="AcLetJIPKZf8D8_HoJRG4UrgFBZSCw23dtGKR4ZRJa8C9f07zpdZk3zmwWPaUCjevDn95La7x94DVRymfHGeRW_5Bwy2piq7rubN7Jo"; e_fb_builduser="AcK-RWanojB8Jmh0n44f0MwVbZQeEAwQj0qx90ezCGTX-puRMxlO1EVu7eY-1wPVJoc"; e_fb_vipport="AcLQMqIKnufofIS_3y8iUrockpTdSfoTmknhK9JS6Hqmw3EqVBl5NLdY3BID"; e_clientaddr="AcIgnXv7CbJm7ZtG9TU6FtrTKuQfzvUm3l1zbVywFYOHv_Q0U4mgVHB52e5c9T_V0uPdmkMikYYD0Ef2-owpScsO76Bh9nhDC8YnonWECM7rkNiW1A"; e_fb_vipaddr="AcKE_60B9bzAtSk2cgBia4vpJkWyvkwTqosdgLSl-e_zylYkac-W1kzYO7MArVdltRdw_sh0yXWiZHLyKChKt170qFUJxmX0rg"; e_fb_configversion="AcJZUPVtY_og98MkfVPRQeaw9UXjywv0IiVvFq21QP1SmCkkA9dXoOwGznLdSA", http_request_error; e_proxy="AcJwEQ1IfFYi39JP8s8gs3vnfaF8i5dtMIw_nGzOptKqWPe-isixbPi6TEO7RzxsdUQ4O8GtTjDPi3c"; e_fb_binaryversion="AcLni06T3ruwQPgcT4icHP_P776WCXm1uaVDNRXX0AErl6KB9iSm4rstYuaHaSmJn3ftSSjrg0Z-p-xNSomguqiZdczvyzLVKYo"; e_fb_httpversion="AcKvXFZRLc88s4rdenqRk27kg8aDSmvgULKrGMbbMcDB2rFETOUpLdgZV9im"; e_fb_responsebytes="AcKTqJb0JtUTBtMaNzJajP6k8p-LrSKWRugroLa5BGOTjFqsLKS4RngU42wi"; e_fb_requesttime="AcJszGXTAGlzvXXEso4xPqp2xtBQtzmos0SNxCsKyAh8PjwUhwK-bVHxkLA6zihNVOuCCzgrAg"; e_fb_requesthandler="AcIFLl93svafdnBldkYiii06Bcs_UtvE5bzdbJc-Q10rWtPSCxYlYhKlHOCvp1XaYU_-3BW0Yf0"; e_fb_hostheader="AcL3xXvQCw0uWw4qkk16-V2V9znj0s-DdOH733lp3Q-GYUcu-bICPt_wXuK20f41QMOO1jB1rYJIw0_a"; e_fb_requestsequencenumber="AcLkxpZzQW0Iu6Ono9yAygDXVdA7JIFK8Goh93CL7oUXim5JZZIfrylJtw"; e_upip="AcIlx8Q1Cwti3otSuxu8uDcjnNjaG80vM_j-9D6CG2-2-6A9mfgu4QFyV3nrDfo5G2cUmUTKo9pveuZAhInsKtuHhtJov4UNHA"; e_fb_builduser="AcJ3HWzqpZZH3xR8lTqedGhhB-YhpXZqedeUQeyukmC-5GHzqNzMGU58d5KBWtayTts"; e_fb_vipport="AcKEboeYqEdMxuncce1Ewnulv3KTAX14Zk_LrKPgVmFJ8jRbOYlS8OW23AeR"; e_clientaddr="AcJhuqU_Nbrr3bP6AgyBKbzt8ShXDqOeua6J2qcHkW1q02BdJ_7d1gWJFa71UoqM_2xHxViuAhs_m2g7gA"; e_fb_vipaddr="AcJK3kI_VzCBhvvmqwcS182y8RU9DkUk6qcbABSC1_zW_F8uassd7-gLEzmyZ5eVhAbrZg"; e_fb_configversion="AcJI-Ya2BHUJmGYDyMkLo4jsFE_5i3KZWGwC6t_jIKY9ctU_RWzqLtAVP65A7g"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8494321310628441"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/23/2024 16:34:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 16:35:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 16:36:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 16:37:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 19:29:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 19:30:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 19:31:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 19:32:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:29:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:30:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:31:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:32:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:44:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:44:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:45:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:45:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:46:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:46:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 20:47:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 21:44:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 21:45:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 21:46:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 21:47:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 21:53:59: Marker: 0 | ID: 66c904f7ff349866cd51c594 | Error: cant_get_message 08/23/2024 21:54:00: Marker: 0 | ID: 66c904f8ff349866cd51c59e | Error: cant_get_message 08/23/2024 21:54:01: Error switching inputType 08/23/2024 21:57:17: Error on controller payload Input Treatment=> type not found 08/23/2024 22:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:04:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:04:04: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c0b303ff349866cd5160ec 08/23/2024 22:13:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:14:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:15:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:16:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:22:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:24:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:47:02: Error on controller payload Input Treatment=> type not found 08/23/2024 22:54:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:55:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:56:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 22:57:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:01:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:03:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:04:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:05:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8012780795477642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29308036, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATLPGhU5wzY0qCL3Xsjb8Fz', 'x-fb-trace-id': 'BPSkyeUMYri', 'x-fb-rev': '1015935303', 'x-fb-debug': 'gHXRtlBe+BFDTTRc/8pr++9jugzwxG9EjrvNMvLGWRZCzWWjshYHhT+qikchn28vDVocI6rjL8VSebz1N+mvGw==', 'x-fb-server-load': '21', date: 'Fri, 23 Aug 2024 23:07:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIhWDvlyD8ZTvFgOOmm5DTePledvj_hQNNzdpat3yyDq1D4wNj46PGcrqatjy7wG2jCOOJwwelrZEeMYo0"; e_fb_binaryversion="AcLI63DXPNS4JUU_vsZlLEC6KfgRufuqOOCoR4PhHlJ9U2gTgleSVMe1nV3PRf8LC7VivPcYgC6HGB48sRAiDDvAclxbY-yYB3I"; e_fb_httpversion="AcL9GvCpJG2GT7Pp8U-KOZa2ozeLn820DpOnPgRkc6WzJDcLI8NsAq_6fgw2"; e_fb_responsebytes="AcIH2VglvWv0VlDRz16FKVexc-BdC589DXWtMOAcY93VPgnZ0tFOGZh9Veik"; e_fb_requesttime="AcJLo6OEgtCPoz4KZlDfRy62NAgifwos75KRj8QI7-Y2_vJfdSgCEedvT0wOgEg3FzSnuHWOdw"; e_fb_requesthandler="AcK9Kq0pisTg1jMkopjJiuNHs0abDjmbiGgS2l44nTPRgOVSACw_ydFn3Q2ED37kqug87muo4p4"; e_fb_hostheader="AcI1V_7KmgZbRkDMkGSTSmf5GGBJ5rAUZu7cSPiCALi4eLz_9DsmxZvK_yN8-bOI1ljuO6EkoKA0V84Y"; e_fb_requestsequencenumber="AcIsRZ8mDosCu4WJpn6SXjxkHA9G66Mzgd8Yxf3rftQ-AXoBUa_TC7sHYHyq"; e_upip="AcIj3ZmfGyP1htDfmcZiXR98-Rm6FbKwVliRSkgCabb2d1jrctmBleaZSmP74gyTBjIkwb-31AgWEJsj5Z6t8yV9XzI9yHWgOcwS2X4"; e_fb_builduser="AcJXAjDCAv0PRv4Qeku7sYb3iDipD_3sr78nz2SKKHglqetIARh6k_sYUFVQpWGC3H8"; e_fb_vipport="AcJ2IHcFM2RWHuvwKJw1Z854Xa3KcOIv2iMOpcR-imq7mdjELXZh4OfSVE4W"; e_clientaddr="AcJKn8R0O4G_fsHngV8GKCv6iD2oOXBccmPPXTyvGNFi4PQnBlIux9r3UZBt70VD_fZxhHKkTklRqSro5Ert9T5uiOauVeNfmXv5scIytTpJQDw3IQ"; e_fb_vipaddr="AcIt4AuJi584hq0r5jLPAn5ZNzDO3tQPONdQ0Y1SvG3KIkv9tA8fNg4zDRLEcxNFvOSQpOCovrmmwG9EA5wvHv_iv7CuLHxUiQ"; e_fb_configversion="AcID4j0wEaNdUSCVVJWE3PJoMi2PBlYobeBc2nhP9wdg4vqgcPV0lrVcTZFNfA", http_request_error; e_proxy="AcL4ZeD-3flL_9AnnDWswTKMi9jgntN64GWyZKJ7jQJHjL3ugBL0E2sTZmC7cmeCRnLfUsbFfmaibAs"; e_fb_binaryversion="AcJctG9Nb9RGCz0Alx_CaEizeWy6GcHRp1ngKfUDNLaHp1nWzyewnTfkZHyd80c5WvG6X7giIvFB53idpX8nCdnqssDQTUXYyXs"; e_fb_httpversion="AcKx8f1pOcvO7tXogU8IqZQIdXyrfJUAZ3GRv974GMNpCfyutyA6krUQHSnX"; e_fb_responsebytes="AcLyXTkSuHKmq9plW3YO3oPLb0aoZ0KENQoFC8Sd2daReKJRh7Sx3IDIaUg6"; e_fb_requesttime="AcLK3a0N3oapw5ZMmNL9xvnLGcmMC_8tW5PBcZTN0DRZsOq_Rk_3pDb7k-5OZM1TihdPizRCDQ"; e_fb_requesthandler="AcJbnMygWgTBbWA2R1zwJfX3dGvMTgGs4e9SD9GNZn4VgDNCll90H6Rl7HZAIX5JNn5Xi308Z94"; e_fb_hostheader="AcLZ5b7LnGzDOstTNBV_qQL5yw_tGh2kWWrfV29sai9l2KFKUCCm9qCJhirn77HzKX2rwEbpfDrW7JE2"; e_fb_requestsequencenumber="AcI7FowoH9pOHBcfYL7uZGevGwoO57gD2wltZlhUWWmW9ZNYlnALhnEIWA"; e_upip="AcK9FGhxyzbEPS98HqPwe3PKwq2T3dbF-We2VAeXi6zKhswHeTu6xr9RekXi8zQN_V1wxiOt3V2T6OwqqwT9AnsuVdSszIzgqQ"; e_fb_builduser="AcJe-REbuo2YfxiFVcHblQHcyetW3EEDnBWa_DLbvUlfmBqF_3Pw6ZLN4iKn-cpmsSw"; e_fb_vipport="AcKtvgBZVU-cNuuXzZbJzJ1_WSra3F-skZasAjxjnPfefAUsFs8f78n55pBg"; e_clientaddr="AcK_na6y6Qafy1ZE1AKtriuyTZoFjGBCUpGSMgWVtYMA6-epx3lFAhG1WfwCFjnZVjwQAMeN6kmB2qswCA"; e_fb_vipaddr="AcLunS9i8LXxQ0O9CP81qWlfDTU8eg4dShK3TsOP9uOjaL7-Eq7DyVe2_11l3Jzc8fPvjSg"; e_fb_configversion="AcKnKxTyDYXLx5N-yf4Lg8WZu46TxwdJ3KySuRKxR-Msy1cF4R2J_Ndm0wGMOw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=278, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8012780795477642"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/23/2024 23:05:03: Error on send one message facebookId => 8012780795477642 08/23/2024 23:05:03: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ALHCGZT2I27xTO6gYBppFWg" } } 08/23/2024 23:05:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8012780795477642"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29308213, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwVqbceyl3sTNJkDg-C2TYy', 'x-fb-trace-id': 'AGP+wIN267z', 'x-fb-rev': '1015935303', 'x-fb-debug': '0yBAQFMsOhYrzX5iLnnT3d+hK6UYyvGoduxPR0gXI6XQsXxCNT+KwfQYrqC7ZoecAelQSKBxYukJ2ytrlStCgQ==', 'x-fb-server-load': '37', date: 'Fri, 23 Aug 2024 23:07:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLY7ikuf0dPf95_nYOGlCX0hFURLUWKjV-ltXfcrhZ3bvUdkTZmYSRh9M5_vMl6WIWEZ97n2q-6WDYHT9s"; e_fb_binaryversion="AcJWGqTxQSEFh6IVyhlchTH0y1XeBfulWABgrl-xIxaBrGNYPLkz0tPFAgAIl6lhkm9ZsGFQnaFRu_iPr7LnTFZ-jmWSzIFvmeo"; e_fb_httpversion="AcJMxOJlDd50C_onzN-jZTXWAnBocDLNhr98AlXcbfkXvdnW09OC5FBPnQCF"; e_fb_responsebytes="AcIpnsW2Vmz6iWF2cLLCbP6MVGO-xIiPmEF503sDltI1AQKqmyi1_aONsMUw"; e_fb_requesttime="AcJhTICQb9Zu0BZ4gGxWtLXv6YZB69B7hy7xgOvM0zj7asI9bySCuvnbDjzy0JSsyPXKtbM7iQ"; e_fb_requesthandler="AcL1N7Y-1INqOvL8v5eODEYQxDJdPV1YEeVnO8wx0ippuW6YWSdPWHZIHIElUNcBgHfxRyMIRT0"; e_fb_hostheader="AcLofMppySuEcLtXx23LQjuFgk1sxSCgYS3HcjdJbxzb8Vyz-O0qR3AkMJHg6BdPi2v63LE2k5S9VAs9"; e_fb_requestsequencenumber="AcJmZjtFpkJmp1hd5uGhQpBnhYv9yqRxnAuUKUHNQRlyjMHawNbT078BoJCdJA"; e_upip="AcKqraRPfc_jUzja7lTPxZF3bT8fa7ifT5sxL1W4kH642OTsUPMTU91UBdQdGE4Z-6KPR7hmZA-P8IaX984xrD3oXd09mM-N-K6jrEo"; e_fb_builduser="AcLko0iZegPjVCvjXDwJkWuHr22AnPRVUdx5fbvRtGyHcY42V5MSFdx1p6hYU28DTN0"; e_fb_vipport="AcJfTxaWGd0nhzm27O0mNdimjNwPlQKxXi2wKXOyKsdAHNoQD6xYvyDO1KBF"; e_clientaddr="AcJRT-b0CTKSbmXQyc0Dfw141Nr0bwEv9stjDzDrH4irL4DI5tENgJVWTEeObLLWyGHfu9-YhTHLYto9Pfi_9MLUuUmG4eqBuaaofpqmk502awsy"; e_fb_vipaddr="AcLeFibaH1-lEJFq2k-jdRd7TWO4qhMxfxlpY5_QMDfDQqd6GRS_OI2677QphpSBG_LziBObCSG-zih4Am-G96AgzgDGd29RTQ"; e_fb_configversion="AcKBbOp2k3XxpdxhiAh1MXvAq2YkVszhbD-EDF8EbAKGmD33ScPJ-4zAc6fHgw", http_request_error; e_proxy="AcJatvQ4-VoVB4PWgy5RjziXv5fUmdILfLqutiA44JI2HEyAiPClq67tvq93CovRKec_wHWA-VkuA0g"; e_fb_binaryversion="AcIY8_uL1NBMji3EQs7pIRXtpaSXwaZkuiRQw-TZvWbhg8dJOBMHw-XgdFF-zCA0GdtTviqs3q7fGgcM0TkH7ZwLta21RTY4xOE"; e_fb_httpversion="AcKVC7FEhsd6hAkPzNW3KqBMNAJaYUB_PQqzAfdkKyGVaVZKn1O_OuB6aNSi"; e_fb_responsebytes="AcK3CH3jRi0O0JHysr4zugSSg_37jAkx7rQqIudA9gqnX_pz28CNKizr-cvi"; e_fb_requesttime="AcIpcMLKKOidZrCXPWrWPu7wYVc7s7qgT4g2Cs7Z3BvnGr1l5Vy1aYSARO-ahXqzpVU83eKOnA"; e_fb_requesthandler="AcJFit1xtzeRVKk1F6UYOUOHne_oi2KYmQw9mtbNy_iFcDRZiCcRaomMKksfLvFk3lxMJRdic_w"; e_fb_hostheader="AcIiwl4IG-LeBfytV_thP_3JAhy-s19FVYQlA02C353U5MStaaItdFKqjZf-NMdZJpT83aI1y3jlbDiw"; e_fb_requestsequencenumber="AcJOVttuS-bszvrIoBSZI-aZjy_MWWG4Eb5bL_2UXPHqK8cJxYQdkLbflA"; e_upip="AcKzA35Qwh9Y3bbzZ5tLy4Gh4YlGT4b3ArJlk0_hbk8-VpPYFsv7WZrhmDjWz5_FKWGkBHYsJEqmIYnpXBcUlGJJRRqCCrs8gg"; e_fb_builduser="AcJho4rBwviG2GGzFScirdMpsbTDRQakOoIetg0uzdRgIFfAar3-Cz4NN-2uem8Bxfk"; e_fb_vipport="AcI-E4hecWeiRLSgyYT8fnccfdvkGegPnaR5s9s8dOwzBRHK_Kh91oI9_vpp"; e_clientaddr="AcJXmEaK8d_Rg6QOfzjMK2nR22Q9iS-d9Dp6ogbG2jxzoBUOxgiPUzKURRdRRW_piXvA5Br7yDVZ9PAFfw"; e_fb_vipaddr="AcLShNQUQgFF42cGACs34WPmKw0HAsVw_ePTyjZsFToznlRdpZpR8oTNFzHwNm8nlW3P3mo"; e_fb_configversion="AcLbd7S53v3zk-IxUWYAHrdH052t_qLY8-IVlwtwkJf1ipjKDb-Qfp0niBAHlQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=260, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8012780795477642"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/23/2024 23:12:17: Error on controller payload Input Treatment=> type not found 08/23/2024 23:19:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:20:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:22:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:22:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:24:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:28:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:29:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:30:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:31:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:35:09: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/23/2024 23:35:10: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/23/2024 23:35:11: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/23/2024 23:40:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:41:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:44:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/23/2024 23:45:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:19:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:20:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:22:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:39:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c6380eff349866cd51a65a 08/24/2024 00:40:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:41:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:42:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:43:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:44:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 00:45:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 01:18:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 01:19:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 01:20:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 01:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 02:06:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 02:07:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 02:08:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 02:09:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 02:18:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 02:19:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 02:20:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 02:21:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:06:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:07:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:09:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:09:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:10:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:11:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:12:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 03:53:46: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/24/2024 04:02:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 04:03:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 04:04:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 04:05:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 04:15:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 04:16:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 04:17:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 04:18:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 05:15:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 05:16:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 05:17:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 05:18:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 08:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 08:09:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 08:10:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 08:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 09:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 09:09:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 09:10:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 09:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 11:39:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c9c43cff349866cd51cc0e 08/24/2024 12:02:46: Error on controller payload Input Treatment=> type not found 08/24/2024 12:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:12:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:13:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:14:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:17:31: Error on controller payload Input Treatment=> type not found 08/24/2024 12:24:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:25:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:26:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:27:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:38:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:39:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 12:59:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 13:00:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 13:01:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 13:02:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 13:22:19: Request bot not found: { id: '133788230054854' } 08/24/2024 13:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 13:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 13:38:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 13:39:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 13:59:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 14:00:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 14:01:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 14:02:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 15:13:51: Marker: 0 | ID: 66c9f8afff349866cd51cdeb | Error: cant_get_message 08/24/2024 15:20:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 15:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 15:22:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 15:23:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 15:25:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c9f7e6ff349866cd51cdd2 08/24/2024 16:20:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 16:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 16:22:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 16:23:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:13:44: Request bot not found: { id: '863113247096430' } 08/24/2024 18:35:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:38:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:55:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:56:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:57:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:58:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 18:59:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:00:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:01:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:02:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:04:33: Error switching inputType 08/24/2024 19:14:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:15:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:16:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:17:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:18:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:19:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:20:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:24:17: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29569839, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 24 Aug 2024 19:26:17 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/24/2024 19:24:19: Error on send one message facebookId => 8047063961995359 08/24/2024 19:24:19: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bbcc6340-624e-11ef-9972-0fc895a2faf0__1724527576948.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AsoqagUAlyXl0EToaRnb3mr" } } 08/24/2024 19:31:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:32:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:33:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:34:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:35:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:35:02: Error on send one message facebookId => 8047063961995359 08/24/2024 19:35:02: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bbcc6340-624e-11ef-9972-0fc895a2faf0__1724527576948.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AEG34Yei5Mf5AYwIRrD9Gry" } } 08/24/2024 19:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:38:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:38:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:39:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:40:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:41:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 19:59:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:00:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:01:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:02:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:03:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:04:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:05:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:05:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:06:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:06:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:07:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:16:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:17:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:18:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:19:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:24:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:25:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:26:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:27:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:39:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:40:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:41:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 20:42:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:05:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:06:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:07:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:24:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:24:31: Error switching inputType 08/24/2024 21:25:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:26:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:27:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:29:49: Error switching inputType 08/24/2024 21:29:49: Error on o continue conversation Flow : ReferenceError: FacebookController is not defined at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:108:7) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/24/2024 21:34:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:35:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:35:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:38:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:39:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:39:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:40:00: Marker: 0 | ID: 66ca5330ff349866cd51d3fd | Error: cant_get_message 08/24/2024 21:40:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:40:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:41:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:41:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:42:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:42:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:43:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:46:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:48:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:48:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:49:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:49:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:50:03: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ca4f8eff349866cd51d2ce 08/24/2024 21:51:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:52:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:52:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ca4f8eff349866cd51d2ce 08/24/2024 21:53:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:54:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 21:54:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ca4f8eff349866cd51d2ce 08/24/2024 22:05:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:06:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:07:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:09:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:10:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:12:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:13:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7569677473137621"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29637658, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":1}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A65GtjAbVSdT_nFA6Y-F0MQ', 'x-fb-trace-id': 'FzzbKZRAU5F', 'x-fb-rev': '1015953760', 'x-fb-debug': 'CEFNixLTNQ1Nn0ovz9ySYvkvt2rEHKewAh8jVF6ioG0FJ5mnykctGnOKOs1f2AvlDr97sBcLPoQBNuJ4oXGFhw==', 'x-fb-server-load': '24', date: 'Sat, 24 Aug 2024 22:15:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLeRfIytKrRQwRKzNrZTAv7Jikl09d82IkcZjUWLUd5AEGx_uyV0aMy_4pWvxB8lJ1iyUbIaUqlW37eIgw"; e_fb_binaryversion="AcJRCj44b9O91t0VAdYtqwRWU-7hx90vQAgoPxBkV3zAMQA4plxoWKsoopNjcymTPKcBBBKCTzGp9DpPSPcTRsU3z-jSHy0PkxM"; e_fb_httpversion="AcJhsTXXWX6Rr9uPwfd9OrSLQUEShfJ2E6hciu5A220u6hD8irvw-7uBjmww"; e_fb_responsebytes="AcJZwlLaH5vdFi07OdYOMd0IRYNFkmANCNA3S_UH_xKBEqnBb8jfQMQ8HMbo"; e_fb_requesttime="AcINJbOdNOv7gyENtGQWv5LSIi_npI220t4B4VXNdXAV5K4C_AwvwV2MpX1UY34HH8eA1fv3Fw"; e_fb_requesthandler="AcL2AyT6hd2OFpQm-mK0UECKEbXDn_igfTtaRdvpym0pzyKqLoTTrR0slsw4jyEqVOLYGYNPZO4"; e_fb_hostheader="AcL9HGWI4rffLDcxk88LSOkgrrq5SMPHIah5WThNAoG_eLh_pI-O4ZBFSkeRX64ADIZuzia4fqTDN-vO"; e_fb_requestsequencenumber="AcLj95cDClXwpnfhS6y2Kcy4u3bKInceVrJkbMARAQ2BR0blhY03ux3y50c"; e_upip="AcL1wUIrNLHaor_M6elippzwce6DcMywn1e2W3WO-R3WuAAhnn2JT5Namo9z4FQ4lvG1O4d-Jfd_xQmXr43-c2MaYnmTQfEdcMN4lzk"; e_fb_builduser="AcJM4aqsmJVvFF_A8xIEK0EbkmsGGYGEN_RTdZcBwTzTf4Kf87JX-v1HVgZ2_8PPlFo"; e_fb_vipport="AcIQcuD8HUTAiTW4Oz7AUR9ZICszsD3lKUeiJzc6vLQ95gnsIOzaa0NDnapp"; e_clientaddr="AcJhhTC224YxKweDe34g7hp4jPnscAyXSG-PwuNFALN-QAZtJZmKnIDg-vtueVR4NRcUVZF-vTJpNVJXxLbQr703n3tuBjprh4jGG6cAkmkPGcTe2w"; e_fb_vipaddr="AcJhZ9_bRd81a8MC2bGuNM2FczhAjhgYzCAvSetoRBwBPivyC8CeEjfJ2LgnZCnQe1LWJzdmz652HZ3iueJOGjoLsQ5V8iNbMQ"; e_fb_configversion="AcK9dhrR5pQ8wzjmuDShlToXwUNRqbbdHF8K9_WiHHfSWMzi1KW9rEef7VioMw", http_request_error; e_proxy="AcK5dEeydK-G530FA5CVdMPtrkKNaroOrRlf6xvviG3L2oYtJ220jqIyV5KyUNh4nruDN49UHKnaNMI"; e_fb_binaryversion="AcL2YNBWrW2DYiaeZ4JzzTFn89CjOOlmtE5sXkD9XILj0TdS_Hhj6MnnDJOBygh61CdToXY5v2kWgOROLXBlyie6n07HBtmOJec"; e_fb_httpversion="AcKdSvBPkE75NqDCM6s6-opx3DFhBR-CSH-rQ4uVQRp9DUucfSY-Dz-aXRoQ"; e_fb_responsebytes="AcIyTSQPL7yfK3h0mLqS6p12KzBCtz6s9XYgpNYqVW4vK3_r_Cykc95HxBij"; e_fb_requesttime="AcJsj3-dqh2ibil7hA5-Exn15EDSbCEzqQYL72WWD4QHcuiMeD-at4dUJJ05GxMiNcaHliuDlA"; e_fb_requesthandler="AcLD4F_sJtmiEOT4in_2-IhVPWEDucTpNzGtczvbigKOcv9DTbMzG5SMKlphCnbJlOAOwUOO2B8"; e_fb_hostheader="AcJ7FU8IBBQahTYn4DKyHN3GfIdrcUpByQfcX-bDQcau16t8gGM36qX4fIHe-GW1YOLl_wRgSVWFzHA7"; e_fb_requestsequencenumber="AcIDH12jhwGSkcj6Gx38WxibcIH_NPJulp2Dv5zFNQpitNKJWuTPT5Ol2A"; e_upip="AcIKqRKdim0QNpj5ZwoKaVftGJ8yJq2jGezuNoYfvniaxvRAdlhzLsl17t9nsaiYHntoYZvTk6eu5mg-t9062E8Q1RrICy4CFg"; e_fb_builduser="AcKql9B3MXBsYtpSmhiq_WlT8UAKlpU8fULsaolLeUac1kr8Q2G1AIfwo1WdSGkX8hM"; e_fb_vipport="AcILDa89V3Bgmw-V_5XFdMY5lzKBD9BktuWe0-DnNgkgoZebpsnvnYYM1c7D"; e_clientaddr="AcLse9JLHgyMeB_qGR9lEO2SR7H2576_qL2tzU-RktfKiS2LlAUJkP6M_VqVKjUvJlDWKe3vaAFngbgQKA"; e_fb_vipaddr="AcKxpA1V_DsRvpSFEdEbms8NiCKNHP84PByX1ggcYJ9xv9Lb2qRG_fX5W_KpVqC7CpeQFw"; e_fb_configversion="AcIyZWsYNI_ZfQTNluEBAg5Gwankd9ukgj2ZS2Wd4Wg8FbAR-sYC8jy4qW1fkg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=151, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7569677473137621"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/24/2024 22:13:00: Error on send one message facebookId => 7569677473137621 08/24/2024 22:13:00: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AodkPcahO3AwJR2YZlf5lCM" } } 08/24/2024 22:26:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ca523fff349866cd51d3a4 08/24/2024 22:27:55: Error switching inputType 08/24/2024 22:34:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:34:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:35:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:35:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:39:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:40:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:41:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:41:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:42:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:42:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:43:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:45:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:45:33: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29659645, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 24 Aug 2024 22:47:32 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/24/2024 22:45:35: Error on send one message facebookId => 8168281259925433 08/24/2024 22:45:35: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d984f700-626a-11ef-9972-0fc895a2faf0__1724539652720.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ALaVsitO28Yfj224kjUf9WY" } } 08/24/2024 22:46:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/24/2024 22:46:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:46:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/24/2024 22:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:52:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:53:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:54:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:55:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 22:56:02: Error on send one message facebookId => 8168281259925433 08/24/2024 22:56:02: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d984f700-626a-11ef-9972-0fc895a2faf0__1724539652720.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AIBHLkAIE_okrzTGLpjrTH8" } } 08/24/2024 22:56:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ca62e3ff349866cd51d8cd 08/24/2024 23:09:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:09:10: Marker: 0 | ID: 66ca6816ff349866cd51d993 | Error: cant_get_message 08/24/2024 23:10:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:12:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:13:00: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7569677473137621"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29670405, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ahm6uOGoImOGHjnLHjYHTf5', 'x-fb-trace-id': 'ECw0faxxOH/', 'x-fb-rev': '1015954521', 'x-fb-debug': 'A9JDE3yCRQJpmK+cxxzCouI6g/8/PJbB5Ds9Hn9Kz3jaZ+Dt+UPdhFCnI2QmcTMsyx/r36eGX/nxOwDGk7/LEA==', 'x-fb-server-load': '14', date: 'Sat, 24 Aug 2024 23:15:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ7lF11ILFqbIUO2EDKWy84KzG8xaXuevsS7K2UPghSMAF4sdtmp_2AIXy44gMsOoCdqvgDP4n4-UGj1w-V"; e_fb_binaryversion="AcJmGu1bNL1AEuljZwEmeVXoteFfNT1pnLYNU95OO3nvH6AN6-BF_OBEz74PLVNkcu1d3LXI11u6oZVVL9lkRhTh5CwKbnzbavI"; e_fb_httpversion="AcLUo5eMBHTBsgN9ZE-JZAyuHjzryR9W3naRCevD2cCmOpFW2vNJ5_-t5dHL"; e_fb_responsebytes="AcKHUj2nQb9U-TN5z8EIGPrXXXLOlAfOlEGbYNC5X_c7yCKa-RF-N40nlu0F"; e_fb_requesttime="AcIC_-oW6tZyqct_jQaMMRqZICi5TqlHyBXfPgNN2yFnqc3VMAZcRmljvscczFkumfTXUUQhQA"; e_fb_requesthandler="AcJTz_9Qm_l45Lx3jwuKgl9dKZnB_lMPg9-9Bo3wOh_TNwL082Nnhxuwa4fwDEqMtzkb2ySGLFQ"; e_fb_hostheader="AcKEP8v06sa8tnMPWdZWjw74ULsoMlpX12juI9OKwJ9p2t7RJG07oG7CrOT2knWk_wBQGAplhQ-O-tpA"; e_fb_requestsequencenumber="AcIT_RXMGIfdp6CcGjDn99anfjDLIoLiPPvt9o8LxUzqg2gUy02NutFcNd0"; e_upip="AcITIYn2UnGzpUvwin_usVAMMhO8fRIgM2zAR-PmoRivMXCrlN_sjO-xG0gsCLwRRWtl4PLLuefaVZrRGtKX660MKFRf1jbWXxjNS5o"; e_fb_builduser="AcKdyASmqphg5GWnqJCpdkrGjB2P_8FB8cqSvhryL3Ir_mPDr9ZHoUS2Cf_a1HFRMe8"; e_fb_vipport="AcLzwdIIozWVrnMVmTJDJLmuJO9cK5rrZRQe_NlhQGaFRy7TCBMVdN0qwTKG"; e_clientaddr="AcIeZ5MwsbmMEsbjmLYcSV0tYhCTk7FZF-5LoqCa5s-Jb2zYaLsOhB0blNfWlk64ZYH1CQvKt2WLbcPBAOQMP0RirTaYaOgLu-uEQHiyVdwX3v3-dQ"; e_fb_vipaddr="AcIMGFRgonmZT-H3zK66wvclPtE1YN5c_-2c5Mq8lsxRT_XwVRWrkUBs9dvZidQXxlN8h5u_HoC6k7QD2ixuQ16hhIMo525IHA"; e_fb_configversion="AcIK254JVm8nHDpR06XS9M01wDZflqzVKzYdTCcm66eWi4mGChN8kFYPGDYLHg", http_request_error; e_proxy="AcLVjwL9vNvJegmxXNLS9l0BAOruUli2n82w5Yi385Kg_5BeSHo-OqxRsKqjagcb85eLpiVBPgLk_3s"; e_fb_binaryversion="AcIjbToATBAkw_4jCh3K99ewNRIrcYsI0jUdVOKWzeKWXx00FgaF87TAsVOEuz5iqDnljWYPR2yAJ8O5unz_1KGaua98f1CqYgw"; e_fb_httpversion="AcJ2L_wnrzYheuSHl5CjjGC4D_IDM76YQ_OI5vl5X7MUxiEF8bakhD5O2svj"; e_fb_responsebytes="AcL1wkQ-HQyHmidbbEZQIW5Hiiea4bG5ifxnHrEiS5oIRumjYj-rkbSMSnXp"; e_fb_requesttime="AcIHtTi90KASdkEy-g9HRzS8uoUmkiDnpPqQ5IRpPVY90T3ELBj9fYC5EKAs68kizG7UpHcdww"; e_fb_requesthandler="AcLN_sjJ3FKylJNEY0fKt1hn5nM6BOVV11ohxRFd2Bxpx9DU9myJfrlFsofFW7N1GhvM_-7VWRU"; e_fb_hostheader="AcKeeNXLvEYm46WpEPDQWIU6OkwS0grVi_3iurlJcgPFDDwe6vExgJLdsnX5_7sTs0aJLNhxbjkFrapz"; e_fb_requestsequencenumber="AcJUoL_aqTIdslf9zEzlQOE6e6CoRxFZ5t6KPxfATr264FaFbzqFfoHSwg"; e_upip="AcKJ8FGj_VpEfauKvw3OrJhPTnlTIpWxXWJxkVsqOah-pu-vXAWnLBdjGWqJnTE93Ahmfpdajp8t7OV5RvB7pVgXrfgA25rVVA"; e_fb_builduser="AcKLSu5TwPZc8mm99x_YpCRltHMG65Z3gn2eUz9nn7EuCXn_i_CbQ-g7cWElhZM4lPk"; e_fb_vipport="AcK1QTopg9AfbVa-dcivfojXe8T43giZbGL8iChQraBbv4L2xnmUQ7K-ba2D"; e_clientaddr="AcJe1OV9kXaFIM_Hsu5ZaUTdRi4gLN3Pg1GsFoYugvl45GD9GmIL23RmX7QzuOmueTYJQ8wbCyxuMldHGQ"; e_fb_vipaddr="AcJJbpwfDywUHgRq9rWxYWfPXCU1DhmuIMfTKNK2d5TiNFfRwh3KkL-Nr8FBJy5fAxWEGA"; e_fb_configversion="AcLYCSFKlQlx3G9mRal8W9uipHCuRveoaIYyfkmPFaTqXEYTaNJI3mgHIBoReA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=145, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7569677473137621"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/24/2024 23:13:02: Error on send one message facebookId => 7569677473137621 08/24/2024 23:13:02: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AG62EDXeoympliv4jTb-lzY" } } 08/24/2024 23:13:03: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7569677473137621"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29670568, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AA7xxk0yt25YrZ8VBvi0_Pr', 'x-fb-trace-id': 'Hwf9GfMaYQu', 'x-fb-rev': '1015954521', 'x-fb-debug': 'rSppqni0Q1eqNwwjiikkcIHWrkmMJXXjdUP7lLrIJ+n85N34Minc5G/c1ci7eAo7PaLGYws8AnT5+NGxaOSz1Q==', 'x-fb-server-load': '23', date: 'Sat, 24 Aug 2024 23:15:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ6Lx1eAUoc3pYR8ikgoWciEICOHQZKUjtt68fgJNx2fLfbUL2nq8pJWjK9GOzzyTlhWnzZKBHoWhWEOL6O"; e_fb_binaryversion="AcInAvEjkqaprWWc0s7Im9hk7FAzYhWaem4S_bm5MUoLGCjgK7_vk3Ois6CZsnfYmuIG4DRSiOpjIQaUCcX0FcZfOT6eiWlUSx8"; e_fb_httpversion="AcIi4phuOVM4RRJF3hYUEzIB-ltgmIRefnKxPnzy-MOa0VzDElQINygRQE5L"; e_fb_responsebytes="AcLs7T3KQtxIJZmhz7_jKR-LsTNKXOmWfjJhgtBbonfou44gt-Q8FXPBOtEa"; e_fb_requesttime="AcIp3nJjf4wD8xTbb-R1OGy-p3s8MMkq9HZWhwjdynzl5v0yCpsXrVdwc4SBSboEAQgb8bBgOA"; e_fb_requesthandler="AcJuhcoQ62DYjvdNj1p2QToMWhL2zkHuzBc7NCuVPT_2Xt4KRMmMlBYgxpoIZ6bQjC7wt9H8NfI"; e_fb_hostheader="AcI3h-6KSlfhUcK90lS3-OugMmyxb4pOnJMgl9BQ1_pOA_-iqI6gKWJt9jEkouzoKfyApdWz3T9sF3ga"; e_fb_requestsequencenumber="AcI78a-40-A7PWn1RhXr6lP4xxCuSFBOkmrRZPX71TQxU2fOS5sBkk-RDVdt"; e_upip="AcKiyzpGYdJYxA7yd-Onv4F4jycQq3jGgmLv455T4L0lY0r13rZvkeiRElohW8Xdr1rOqcMMQ3xEXmLDge1IZhnD5InpHaFcdea8Mg"; e_fb_builduser="AcLmcxoyjcB126DlSyDk1imBykdIWwcdFJUbvTZKOB367Zxls6pqFlKV4XokK3prtvI"; e_fb_vipport="AcIWG2Hx6aCsmz6pPnl-HEyHuaZ1hxsXzOCCk_sppcdCauLQ-QhedwdgacLX"; e_clientaddr="AcKEASvSaF47KV4f7eyfJIUB711AZ1wBtrx76e2ATcUmvpTULs6Lqmzf_C1oXDsR7-c5yktvZGom-mDFJK27pMflMCpFyuWf-KhUVXaitvXUd7Qsuw"; e_fb_vipaddr="AcI9iHAk8G-_0g9Col3M-D0FFeabTxQ7qtl7FfKPUL_bfJbn6fdyjy5SSzpaFo006dur2o4_tIQUoHTay3-FgY2sBNnJd4WrgQ"; e_fb_configversion="AcIooVwRGQOnjfNPkBL-DKzixDNx0RGPgqWcTmKKb_Z9qu7_nT7NYOe1xCUwmw", http_request_error; e_proxy="AcJDv9xCWBN7QJHaO7vBzJ7LlUxjqfdFf4iAYQ7UmxH9dW877lz9Qh3bEmpa7_i1L3dkS9JSguL6bD4"; e_fb_binaryversion="AcIOro3l_doIcRiJZyGUZY5_ekErt4AHNXNbPPx4prkW6dr7spG3o5GuxJDAGXdSyRerbZe3saG5fzEDjvw7pkuOBocGmduXF4Y"; e_fb_httpversion="AcLHm_sTGLMCH9m4gJPVrLa-UYKiDVlrfJxJ6RFT3vXszccmNV0hbzJeH-QH"; e_fb_responsebytes="AcJFL4dQj5XBm4CSWNVn2qS8qrfQKldP1-Qd-w6vmehs_Fu3bSXts-GcA-4j"; e_fb_requesttime="AcLVmHmAPpZJLDzocHRgdPyB4sxg0b70766buoD3gUW3opQh-0eEEqNIC6HygdTLHj7s-f5gYQ"; e_fb_requesthandler="AcIfJzLGWVOsH8Gs5yxb639iXicdHjqKhOZ6YGoJg61CErOyV_h-j1_4gPtLhDacKtmKUC2wKrY"; e_fb_hostheader="AcJDmsQjyRKdUDSCvzqMmjvJbPj8K7DhOh8tvjlE0H73DBJUhEtKgzypvhDzYEeHI5AeSIWUVof9jL7w"; e_fb_requestsequencenumber="AcJ2NVbFMO_JkmpfBOPxU-tA1jRBeaN4yUnfu7DOYM6SncCv9QFT7hnRNw"; e_upip="AcIFOpdY2d23AqXhA3a2-D4YM4wOG2sClsFZ9zL-RXNubFCjdfy1m0PG06pvj7hGw3s-bFupVhKZ3U2jMNWlyhXviEuUBi7XoQ"; e_fb_builduser="AcKR9ItGIz83gxUOz7vwlaPHVy6GnRkqxAyNYorKwrnkZXuycoIPtHNjgzk01_VXohQ"; e_fb_vipport="AcK7GZR2NvAOeLjucG8ce7zR9KM7E90OMRCG8myXzCDQ_5pjHUu8ko-gDkrJ"; e_clientaddr="AcIoK3b3Ypsje0QPF3GiyGniHNlNfyrhEBGc7jiDANlzTJTMDnWq7c1SGvtPRBiCk6bO3_BZ9ub-tkcwWA"; e_fb_vipaddr="AcKrF1r2teBuKWu_9jHcu-fGqj-2T9B_-hzbRDXRoKce-kXLp41__478ULQK1uw_1lTWAg"; e_fb_configversion="AcJWk_iJp_gPVcOVTfwrd0B8jCF8wNZ5iMzSlYzYzdtlY3Z4SmJrzQwnuV3Lyg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=151, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7569677473137621"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/24/2024 23:13:22: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29670800, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 24 Aug 2024 23:15:22 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/24/2024 23:13:25: Error on send one message facebookId => 7716965488433031 08/24/2024 23:13:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bc9fab40-626e-11ef-af5e-53b8066cf369__1724541322228.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ALcTCmK8Ts-ifOn_1Ouyfs4" } } 08/24/2024 23:20:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:22:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:23:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:24:02: Error on send one message facebookId => 7716965488433031 08/24/2024 23:24:02: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/bc9fab40-626e-11ef-af5e-53b8066cf369__1724541322228.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ALW5KGWGitKfw5Az_fHHig3" } } 08/24/2024 23:34:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:35:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:36:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:37:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:37:46: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/24/2024 23:41:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:42:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:43:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:45:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:45:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:46:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:46:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:52:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:53:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:54:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/24/2024 23:55:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 00:20:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 00:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 00:22:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 00:23:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 00:39:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 668ddecaff349866cd500527 08/25/2024 00:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 00:45:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 00:46:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 00:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 01:20:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 01:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 01:22:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 01:23:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 01:55:16: Request bot not found: { id: '863113247096430' } 08/25/2024 02:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:09:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:10:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:20:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:22:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:23:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:45:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:46:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 02:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:08:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:09:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:10:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:11:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:20:12: Request bot not found: { id: '128159377280665' } 08/25/2024 03:44:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:45:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:46:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:47:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 03:57:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c7eda1ff349866cd51ba99 08/25/2024 05:25:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 05:26:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 05:27:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 05:28:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 05:51:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 05:52:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 05:53:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 05:54:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 06:25:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 06:26:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 06:27:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 06:28:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 06:38:00: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cabe90ff349866cd51dd6b 08/25/2024 06:51:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 06:52:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 06:53:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 06:54:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 07:01:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 07:02:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 07:03:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 07:04:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 08:01:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 08:02:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 08:03:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 08:04:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 11:20:27: Marker: 0 | ID: 66cb137bff349866cd51deb9 | Error: cant_get_message 08/25/2024 11:20:31: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/25/2024 11:20:42: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29822169, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 25 Aug 2024 11:22:42 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/25/2024 11:20:44: Error on send one message facebookId => 8383179558385432 08/25/2024 11:20:44: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/581b2ee0-62d4-11ef-9972-0fc895a2faf0__1724584962254.mp4 está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Ah00hk8JBncODzBghpiclAH" } } 08/25/2024 11:32:50: Error on Utils uploadFromUrl => Error: Request failed with status code 401 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', Authorization: ':@n2xC0DSHQ]N@[;uZE-NR@BSdnUiJpWcC@g$,,*auQA+Qy1iezWG+Uc:qy.MA7,YXYyiG}%8;pYkbY:/RdRCU:Pc9kHGfQHEfUi#Ac-Gt4FhVmLkxV}t!kY#MfyB=w+', 'User-Agent': 'axios/0.18.1', 'Content-Length': 294 }, method: 'post', url: 'https://api.cdn.globalbot.ai/upload/conversation/clone', data: '{"url":"https://video.xx.fbcdn.net/v/t42.3356-2/457118619_8111292815606845_3153253889820878191_n.mp4?_nc_cat=104&ccb=1-7&_nc_sid=4f86bc&_nc_ohc=kWFp6VqyhTwQ7kNvgE_XY9b&_nc_ht=video.xx&oh=03_Q7cD1QFGc3p-fZYnjccJaG7siLuGGogOa7UkpJx4VQsKMYSQqQ&oe=66CD0C4E","conversationId":"","origin":"facebook"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'api.cdn.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'api.cdn.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29828082, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /upload/conversation/clone HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'Authorization: :@n2xC0DSHQ]N@[;uZE-NR@BSdnUiJpWcC@g$,,*auQA+Qy1iezWG+Uc:qy.MA7,YXYyiG}%8;pYkbY:/RdRCU:Pc9kHGfQHEfUi#Ac-Gt4FhVmLkxV}t!kY#MfyB=w+\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 294\r\n' + 'Host: api.cdn.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/upload/conversation/clone', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, socket: [TLSSocket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [Array], rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 401, statusMessage: 'Unauthorized', client: [TLSSocket], _consuming: false, _dumped: false, req: [Circular *1], responseUrl: 'https://api.cdn.globalbot.ai/upload/conversation/clone', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 18, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.cdn.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 294, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://api.cdn.globalbot.ai/upload/conversation/clone', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], authorization: [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 401, statusText: 'Unauthorized', headers: { server: 'nginx/1.15.5 (Ubuntu)', date: 'Sun, 25 Aug 2024 11:34:50 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '71', connection: 'close', 'x-powered-by': 'Express', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation, AccountId', etag: 'W/"47-wyGw/eU5cjZndHXmsklq/5afoNs"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://api.cdn.globalbot.ai/upload/conversation/clone', data: '{"url":"https://video.xx.fbcdn.net/v/t42.3356-2/457118619_8111292815606845_3153253889820878191_n.mp4?_nc_cat=104&ccb=1-7&_nc_sid=4f86bc&_nc_ohc=kWFp6VqyhTwQ7kNvgE_XY9b&_nc_ht=video.xx&oh=03_Q7cD1QFGc3p-fZYnjccJaG7siLuGGogOa7UkpJx4VQsKMYSQqQ&oe=66CD0C4E","conversationId":"","origin":"facebook"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /upload/conversation/clone HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'Authorization: :@n2xC0DSHQ]N@[;uZE-NR@BSdnUiJpWcC@g$,,*auQA+Qy1iezWG+Uc:qy.MA7,YXYyiG}%8;pYkbY:/RdRCU:Pc9kHGfQHEfUi#Ac-Gt4FhVmLkxV}t!kY#MfyB=w+\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 294\r\n' + 'Host: api.cdn.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/upload/conversation/clone', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.cdn.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'limit exceeded', code: 'INVALID_FILE_SIZE' } } } 08/25/2024 11:35:54: Error on Utils uploadFromUrl => Error: Request failed with status code 401 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', Authorization: ':@n2xC0DSHQ]N@[;uZE-NR@BSdnUiJpWcC@g$,,*auQA+Qy1iezWG+Uc:qy.MA7,YXYyiG}%8;pYkbY:/RdRCU:Pc9kHGfQHEfUi#Ac-Gt4FhVmLkxV}t!kY#MfyB=w+', 'User-Agent': 'axios/0.18.1', 'Content-Length': 327 }, method: 'post', url: 'https://api.cdn.globalbot.ai/upload/conversation/clone', data: '{"url":"https://video.xx.fbcdn.net/v/t42.3356-2/456787685_26455343967413531_8177940213114557628_n.mp4?_nc_cat=110&ccb=1-7&_nc_sid=4f86bc&_nc_ohc=W5nGtXXBz4EQ7kNvgH1dcGl&_nc_ht=video.xx&_nc_gid=AOfyoyYTnsad3qCuaXUan2K&oh=03_Q7cD1QFKSnFrmeQvxI-lP9_-362Vzww4ZxXW9AlU3_1EaVjVZg&oe=66CD0123","conversationId":"","origin":"facebook"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'api.cdn.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'api.cdn.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29830419, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /upload/conversation/clone HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'Authorization: :@n2xC0DSHQ]N@[;uZE-NR@BSdnUiJpWcC@g$,,*auQA+Qy1iezWG+Uc:qy.MA7,YXYyiG}%8;pYkbY:/RdRCU:Pc9kHGfQHEfUi#Ac-Gt4FhVmLkxV}t!kY#MfyB=w+\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 327\r\n' + 'Host: api.cdn.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/upload/conversation/clone', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, socket: [TLSSocket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [Array], rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 401, statusMessage: 'Unauthorized', client: [TLSSocket], _consuming: false, _dumped: false, req: [Circular *1], responseUrl: 'https://api.cdn.globalbot.ai/upload/conversation/clone', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 18, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.cdn.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 327, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://api.cdn.globalbot.ai/upload/conversation/clone', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], authorization: [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 401, statusText: 'Unauthorized', headers: { server: 'nginx/1.15.5 (Ubuntu)', date: 'Sun, 25 Aug 2024 11:37:54 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '71', connection: 'close', 'x-powered-by': 'Express', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation, AccountId', etag: 'W/"47-wyGw/eU5cjZndHXmsklq/5afoNs"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://api.cdn.globalbot.ai/upload/conversation/clone', data: '{"url":"https://video.xx.fbcdn.net/v/t42.3356-2/456787685_26455343967413531_8177940213114557628_n.mp4?_nc_cat=110&ccb=1-7&_nc_sid=4f86bc&_nc_ohc=W5nGtXXBz4EQ7kNvgH1dcGl&_nc_ht=video.xx&_nc_gid=AOfyoyYTnsad3qCuaXUan2K&oh=03_Q7cD1QFKSnFrmeQvxI-lP9_-362Vzww4ZxXW9AlU3_1EaVjVZg&oe=66CD0123","conversationId":"","origin":"facebook"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /upload/conversation/clone HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'Authorization: :@n2xC0DSHQ]N@[;uZE-NR@BSdnUiJpWcC@g$,,*auQA+Qy1iezWG+Uc:qy.MA7,YXYyiG}%8;pYkbY:/RdRCU:Pc9kHGfQHEfUi#Ac-Gt4FhVmLkxV}t!kY#MfyB=w+\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 327\r\n' + 'Host: api.cdn.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/upload/conversation/clone', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.cdn.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'limit exceeded', code: 'INVALID_FILE_SIZE' } } } 08/25/2024 11:50:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 11:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 11:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 11:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:50:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 12:57:46: Marker: 0 | ID: 66cb2a4aff349866cd51e0c9 | Error: cant_get_message 08/25/2024 13:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:19:11: Request bot not found: { id: '1852395741674621' } 08/25/2024 13:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 13:54:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 14:37:39: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29872513, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 25 Aug 2024 14:39:40 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/25/2024 14:37:42: Error on send one message facebookId => 7541754302592482 08/25/2024 14:37:42: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/dc04e9b0-62ef-11ef-9972-0fc895a2faf0__1724596779979.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AHMLY0fIKjtm73Nc4LskAT0" } } 08/25/2024 14:43:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 14:44:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 14:45:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 14:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 14:48:02: Error on send one message facebookId => 7541754302592482 08/25/2024 14:48:02: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/dc04e9b0-62ef-11ef-9972-0fc895a2faf0__1724596779979.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AnwBAYI5sow4CJ-uqxxst3d" } } 08/25/2024 14:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 14:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 14:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 14:54:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 15:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 15:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 15:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 15:54:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 15:57:20: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/25/2024 15:57:21: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/25/2024 16:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:07:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:15:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:16:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:17:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:18:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:27:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:28:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:32:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:32:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:40:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:41:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:42:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:43:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:54:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:54:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 16:54:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:06:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:27:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:28:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:38:14: Error switching inputType 08/25/2024 17:38:14: Error switching inputType 08/25/2024 17:38:15: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/25/2024 17:44:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:45:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:47:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:54:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 17:55:36: Error on controller payload Input Treatment=> type not found 08/25/2024 18:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:01:59: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ca9be6ff349866cd51dc91 08/25/2024 18:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:02:59: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cb5ee1ff349866cd51e3e0 08/25/2024 18:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:44:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:45:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 18:47:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 19:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 19:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 19:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 19:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:13:59: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cb8e59ff349866cd51e6ab 08/25/2024 20:15:59: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cb8e59ff349866cd51e6ab 08/25/2024 20:18:34: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29975996, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 25 Aug 2024 20:20:35 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/25/2024 20:18:37: Error on send one message facebookId => 26479734671672020 08/25/2024 20:18:37: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7c1b3ab0-631f-11ef-9972-0fc895a2faf0__1724617234907.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A2amNeU0UR3-Fp94e71bpwz" } } 08/25/2024 20:24:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:25:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:26:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:27:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:29:02: Error on send one message facebookId => 26479734671672020 08/25/2024 20:29:02: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7c1b3ab0-631f-11ef-9972-0fc895a2faf0__1724617234907.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AbaJUBU8cIbESpzACH7oDI5" } } 08/25/2024 20:29:21: Marker: 0 | ID: 66cb9421ff349866cd51e832 | Error: cant_get_message 08/25/2024 20:29:22: Marker: 0 | ID: 66cb9422ff349866cd51e83c | Error: cant_get_message 08/25/2024 20:35:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:35:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:39:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:40:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:41:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:42:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:43:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 20:44:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:03:04: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29995216, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 25 Aug 2024 21:05:05 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/25/2024 21:06:04: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 29997736, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 25 Aug 2024 21:08:04 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/25/2024 21:06:06: Error on send one message facebookId => 7495527843880483 08/25/2024 21:06:06: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/1e7fbe10-6326-11ef-af5e-53b8066cf369__1724620084337.mp4 está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AzNPSfFNFvHLPjdYNX_eHeh" } } 08/25/2024 21:09:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:10:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:11:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:12:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:17:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:18:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:18:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:19:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:19:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:21:58: Marker: 0 | ID: 66cba076ff349866cd51eada | Error: cant_get_message 08/25/2024 21:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:26:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:27:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:28:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:28:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:35:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:40:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:40:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:42:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:42:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:43:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 21:44:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:17:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:18:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:18:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:19:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:19:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:21:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7495527843880483"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30020371, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKHPm5JHspyY1T4xxEtEASd', 'x-fb-trace-id': 'GQ2ouahdMbt', 'x-fb-rev': '1015961547', 'x-fb-debug': 'TWlEtGurSZQjv/qEkyOPwATdJZnp3oxhG1IeTEatjOKGfK4n3Z95YUoDYl/4PP6qwtvJQAAJ8Bwf/Uw2vxRZPA==', 'x-fb-server-load': '25', date: 'Sun, 25 Aug 2024 22:24:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKCiwwO0M5krj96SPEV9dHffH-Zmu7s6rp8fqMz3x7XbzNDwSxhEm_CEyGj03XNeW48uDKGy91SCLM6rEK9"; e_fb_binaryversion="AcKGEBlWSHFbXuABGEm5QA40u7VnntH22Uk9Xb0D6Nmh-WO4Um513p99416Kig-mZg1Q4-M0mFWjvb4Dd8PsK04VMhXTHBRc03c"; e_fb_httpversion="AcKNBiTR0UBm5wNVmJxGLY0duIWnul2-cA8kRLbnbBjyz90iUZFuqLLhzCU3"; e_fb_responsebytes="AcI7aYw8G5NF56GUjtA5xHui8FGc8tJAAKeXi4LBsKhVncNwNbjIitswpREL"; e_fb_requesttime="AcJQxBGTq7zcwG2kBJWZ9BbFKUxglzthKWGuWFg30CWPB-vIIydr0_QJT7-hLYSl9oA51OJobQ"; e_fb_requesthandler="AcK5Jp7BRKVKlZnWekNq7jQ3s428zw4mRIQTCCk-8HdIa3rO8DabT2u2Yf0RpvmrEraOM1ZcFCI"; e_fb_hostheader="AcJBN3wO920d8HQpOZlc_ewzznRFel6nU0-3Fce7UE-MfKKIf6f6OKAqR3W0XWBDt97kd5aiwDqXCAKG"; e_fb_requestsequencenumber="AcI0gC7vFHbjSGs7-FCzBp_wsN3S_KQ-7gOjbH-Vkj7CCqh1UUjTnOZmdOry"; e_upip="AcKyInDkIJaYdyTXUKchOUXmlM26GUrQhNzrrvFXTRqhWTN1FWliVKvG6WF5JScpmCH1ipXC4N-5VGNd1wPvcrzacelcfUV4QqnPNGY"; e_fb_builduser="AcIzD6dVV3o-nFFGnsBxwz7W_BV-pzGbuDXpoKgASerrIk9z0PLcNTq_Ui_viVR8W08"; e_fb_vipport="AcI2jYJdVGpSU15mk3BD3CRFSAxoiHv2XGRZeCporH8E1PXkKkiHZsVy33AL"; e_clientaddr="AcJmHCOFPruSz1J2Aujf7Y_nqDAApFgL0SDPxmiFIULIMk8KQYxaiLWT-0PdRY6jsb4t4BwZq9M8RVFgqGzllrGfp8EpsOUoe0VtE6uV8sEDzlgOnA"; e_fb_vipaddr="AcIMJfjAmSLo6J8nEQ6FsWKsnRCWA1aZw2SNXO9NZL4NGoeWoB-Zs3tfT5gowZtPjWA8ZuHNWuLfAYEbo4vlZ3-2ZR4DZnXEFA"; e_fb_configversion="AcIocSzGI3RaDxQxVs2ke1i1K507YcH1Aim2CgtGkSvT-NHk8cPquKZGiXJV7A", http_request_error; e_proxy="AcKNTb9WAj8w3Spj6rn0wjJLWJVcDNyeqFNDwGvn5WcrLabXDl0mF_sOa4-w2ow5uGGRu-YRqZAI-0A"; e_fb_binaryversion="AcKwHnXekqqE0zamXGzh6_o2dERoQExjmIBCCyXEh5BUO_064DNovYdESF7T8bqGG8XQCHCjlgzMIxa9BkORDQpo8d8yD3ifaE8"; e_fb_httpversion="AcLrVmR-4tX8WvGsMn5vWDZpY8Mg2yIAYxwH3_LFX2UUkkn5de0lLY9tovgZ"; e_fb_responsebytes="AcL0AKn7jX7upz3dJZW_9Aa-MGdAApYFQQAVqXUTaVZYoue2r4EfuG1Infqt"; e_fb_requesttime="AcKdiVRIEjv_6WdzxGEagAQR_pJT0G3GYwpk-W1-X96v1ZxriBrA37OKgicSrVrJLPfIldc8kg"; e_fb_requesthandler="AcIzr2T8VKZGKaWZ1avmXDqWoaexi9-FkEXltsKsdFp7Z5ZaP_wZlHQCpyGzC7TKIn35SuF5VdQ"; e_fb_hostheader="AcKZrVT12cFEQtOocyyeb8imY3xwAKCveRXwrZga8c_M3qrttRMtZhk_fyaX0fH1RjbEfrLLKuLikm55"; e_fb_requestsequencenumber="AcKKvscxRkue3ZeI2rtB9gmI_-IwQ_klVh48ID8I9RVP9bHQ08PyHb9aPA"; e_upip="AcI3Unnw1HX_5mZNaKb26TwF-IXMlJKi3GCaRI342_2wqnjrG-AONGInDyfDWCP3sLfEJInpvyi5XOe64x-z2Q5-GPNd6F5cAA"; e_fb_builduser="AcJwxVumCeq2IFprRRYwM3tl-PPEvUKRMKVjsAxKRcRJkr7b63fNVhshn-sFMHKAQfA"; e_fb_vipport="AcJaJ3E_jxMWFyR4ol1LpNurdHOCpGVeoHgHahXYMaxOrHQq43UY0NSeD-Vu"; e_clientaddr="AcIV9LZOLWDgPrdMoksqQhh4sTog8XAlBFs5y6CnRZU_xzvMXWYx4KUad1tED_dzPEpsO6Hi-Q1FnXvDWw"; e_fb_vipaddr="AcKJQiyixGhzdDP8wXbbDWcozNJyZZB0LPo7aaD0_3nJ9Nb2_U5M5SAxlduRVasjS61GXw"; e_fb_configversion="AcIEYpqK4dxuIT7QlcEcWHe-WSaziZcJL8vWUVaHOBzwPMBOga26XqDVcV_0dQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=267, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7495527843880483"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/25/2024 22:22:01: Error on send one message facebookId => 7495527843880483 08/25/2024 22:22:01: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AgXxgn0hAwpUO4JvFz7sCkt" } } 08/25/2024 22:22:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:22:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7495527843880483"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30020562, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiDKjz6sbSqqquo1j998UBa', 'x-fb-trace-id': 'AM1vm2ugHxE', 'x-fb-rev': '1015961547', 'x-fb-debug': 'Wmm5a7AZQeNKIjj2SL64ye72WicGyPQMdSaxd3UeF4cGQVoFsSe2Ja7HyR504FIP0uSXy2FsrAncBTHZqgG/eg==', 'x-fb-server-load': '25', date: 'Sun, 25 Aug 2024 22:24:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLoss0PtwNb7tynMacX86rR6oCjrUxo9_Zwb4dH0DZjknidtP0kTmoxcMlu_cU5WpaLoRCt3vibGSgJb0c"; e_fb_binaryversion="AcJxR0JCqEc1I9ezVwNqzu_gjWjeoI4fwwR7zzV9-xTpVI0g24ztiKkkpogDgBfXsh8x8-gvQjp7RgISpQFA1uUNxQQAntKMw40"; e_fb_httpversion="AcKj6F0_mI3hnsDini9r6KGXnWHjYH_LeRAspgdlbcbWZVSId-7-Iithk0ma"; e_fb_responsebytes="AcK8QUHNzUJouZ_O9TUU_vRPF_RpNnwUzUB1IAWYRnHTRk9qm808n8JacZ0R"; e_fb_requesttime="AcJSVP2JSIIrru1qoWWy8UR8ELUIhcdtKvttXl_jnvBC8YorWEDrBhGz-9h0vDGRuchGYEhkpQ"; e_fb_requesthandler="AcJxqPjNw2WCKixDjqPPgn9zfU7qeOO2mUOySjEVaBIFsK05c6y2zyvisEmB7X6ShBvpPAN8mOI"; e_fb_hostheader="AcJMYIFJPgIbhUmNeXZ2FUxSg-FbEY-jOecqYUmWOUBAE1fbUDCBrf9tsLiV3SXlml3MAhLsyn6LJ9Z1"; e_fb_requestsequencenumber="AcKQYr9eOavYoF9SZBn8EW_sZpUrPTmReJcEHhA5v-oB-3J11W47Y63TVog"; e_upip="AcIx0nIKBldyGyr5gm4HwXteiGuQNGJ_Liv2j21KVyeltUaEfp5UMZdLTA0Uzhx1ILVImdp5IwYYtYKa5NIkPCmc_mBWXnFj_z1188Y"; e_fb_builduser="AcIhmM1VPpXaaMQfnlD0gM4AV5_RxIxiYztzbnwz5tBVfNNxdRT9Hiaq9EMpYe2gLuI"; e_fb_vipport="AcJl37W3bPc8_fUvYO0HuoyHHB4bx1MZeTeJ4AVXRz_PdSidBLqr4EVIzs1O"; e_clientaddr="AcJH3mrfQxD6qXPextDCu5sI07WOMNoZkK2lGnLsMBfmhEmgDPjiGfE3FQ7oHVEw62MRTLHBCQA-pDhoYHes5VXv8azULVBjWDzLvVIZS09mLTGdqw"; e_fb_vipaddr="AcIQZ_vxQ73CEIvAwDCqfGYh48WxBnXN8APcYK3yIn1i_Pm2eWD4DpTGOVS1-beOQQ7htFsajdjHIqhd-uTT6_sMcMqSs_oBwQ"; e_fb_configversion="AcJUHS4zsa-PyMIVEfhhs22wMgiEx-NKbVDPIzFnboV9ZnJ3MDhrwXtZrhDTUA", http_request_error; e_proxy="AcKkGekQKOkh3vHi_cssYNiP8ww1eOqGiiuctG3oFkydjrQQotU-lPk2p6plGJ7gdKhRG1F86fIcGBU"; e_fb_binaryversion="AcI8khcX90GBvU90IyqH6N2KRI2ojz8Ms7H50yaRsnpb9NjFMRt7JWyfs1U2VEZXalx5TJzYyetUq1XgfZlYfvxce8nJ1YEMdNM"; e_fb_httpversion="AcJbTFfOOZBvhVwiN-A81DiZrnaILXm2eUkVOdsLorHedCPdLiSP5SyiD5vT"; e_fb_responsebytes="AcKxE0XOJWmQhoh78aYbrEvRKJmwzOv3nxBlo8GVseK_5IwzXXyvvR5lqsoO"; e_fb_requesttime="AcKxs6B7_Rpirv6UyS6QVGKGlb8_uMoEXFr6fEg_7QMXNNJ-vxx72fwNbzOmqGr5uhvGY8OiCA"; e_fb_requesthandler="AcLHMvUOG9r09ZyXS-cL76KgWsB1hF7Mv_Xt8lL-kXmFP6pRYWOZiv7rM7vlhHK70o1kl0ho7Ig"; e_fb_hostheader="AcIh7RbHI67AF_7LvockvvFVmIret5yLk21SdI-gN8xB2KKqx5VgWzNwUZYgjgIqxtBNF1diEQTiVAq3"; e_fb_requestsequencenumber="AcLKndmo6uQZWbG0qwTpIV4uzFE2iz2GYAAtuOaW_sCxBwMRWHb0AXswNw"; e_upip="AcJ6w-GjlM8T57V6PavnH1XmZCWnHlkV8XW9x32C01jtgKKgQLgPPeOgtdFjcFDJKP4GM-wXOBMu_djaj6ej6C9YJM2hCdzP8A"; e_fb_builduser="AcIuxHzHUA42KvEvypnUcsyZ_aqHTaaff3kZaZnrCLGbrGD7TvlyUKRUo4q5VEvv4m8"; e_fb_vipport="AcLXWUSILM7gaMcOrBYgTtgdtKy2r4oN2t_PD9GBNF9wuFOQg6XIk5BB-lzl"; e_clientaddr="AcKcuKLoUwQsjG-YCgpiWUb_3bo2-CzrlgygTtcBe7cyJXvBpoI1knp_PC0TVvuyWiyYV0tJNv68YBCLKQ"; e_fb_vipaddr="AcKVStx6t-lFULqyo12fR4rRzgx-aYoLMRn6vSADRN9y58lOy4nb_ZEWCMkkNUqc6kXqWQ"; e_fb_configversion="AcJf02TJxbvLaRuXLrqjDArao57voESxJZGCkmQyHOZVFYgRTsGu9AQqXFqapw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=147, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7495527843880483"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/25/2024 22:25:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:26:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:27:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 22:28:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:25:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:26:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:27:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:28:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:52:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:54:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:55:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/25/2024 23:55:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 01:37:59: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cbda0bff349866cd51ee3d 08/26/2024 02:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:07:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:14:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:15:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:16:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:17:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:19:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:21:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:22:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 02:39:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:11:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:12:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:13:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:14:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:19:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:21:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:22:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:39:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:44:24: Error switching inputType 08/26/2024 03:51:59: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cbe198ff349866cd51ef35 08/26/2024 03:55:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:56:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:57:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 03:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:07:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:55:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:56:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:57:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 04:59:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7905695226152584"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30135906, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqtdnVERAxTyEOR13_3zooL', 'x-fb-trace-id': 'EuOVtmWFtV/', 'x-fb-rev': '1015963787', 'x-fb-debug': 'sNEYoJN8T0948Zxjk+mJ0FD5GJSA/XFLgxG8qo6dTng+lernmeJfAlUffzFm1c06kBWGFwkyfByiCjtXH4NYbQ==', 'x-fb-server-load': '35', date: 'Mon, 26 Aug 2024 05:02:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJPFoxSqbtyoE6CYcZInI6M_s5kah-TL_LdCKnhs2Bq_V4O7TGLnDM6nf_FvFi76G6WGf-f5KnnLZP-BKPo"; e_fb_binaryversion="AcLw0iDiogm4HMu4GD8gPD5qcML0GkJjwwW_XOERMx_7Jv_-BOM2nqmcPAj5rzyXfy878siKK22WCdJsKiu3uRP3xWEPBTYGVus"; e_fb_httpversion="AcJn5a4zlHTNSbQgi3rFVmsfealbXB_vGcFEgcohKx7A69x25qWrfpZdSvpD"; e_fb_responsebytes="AcImc17ieMcVuHvYMnP3UHluHI3mL9egNn2bJspEimxgwi5daxQ5qqYPll8S"; e_fb_requesttime="AcLyOZxxD_OiV7r-b2aja-Pqu_tC__TkLUZIt9JiIMOrVBIfIYKMgNNsWiT0tQXqvLimdjVoUw"; e_fb_requesthandler="AcKixZGR8EA5QL7WxLVGoymTQ0rSlWilzqNnZxBEvMlyHvupI-buDj-IYZ389yxhBhtdwsRO5Oc"; e_fb_hostheader="AcI7-9s-wHOPQc8u3gMXM3FV40P-BFD8gguF62tD8oB-a7AMRhbknXBK419nH3YlkjXowZc22nWrLsaj"; e_fb_requestsequencenumber="AcIAnnyF2zGmgQD7RJQzofJbi_QZwf7SLsCH5mmAPLkXP6XbIHD6RMutm9dSSg"; e_upip="AcJrn1Tiq2hLW4EyNOHjHlIPJm_-DdYPgZh-vftddkfnxJ9qUr-nHVDGR-cTSP3R3Sv65jXLjjCAf0sdFiBENOcdbCGAJ-S4wY_DGC8"; e_fb_builduser="AcIxCxjZKoABe6xq6SdnYSzl2qD4O2einAdInPrPypFt89H6SjdLwkwkNZqNg6PasuE"; e_fb_vipport="AcIDVHmXEeA7BB-R2Bbm0xnL61UNvn7NfEtEi4Tceg1ekA54BUoCUA0TxuUq"; e_clientaddr="AcLdLWsfiI1iywJ0Pla-ky8SFk4c8x59S98tITxaQfdOe260Cw7yMpKDKpWinoJB5IRV0E-JckzRh_4hPict3_f3TYXQQI9QzMCcsAD5lXm4kFUjSA"; e_fb_vipaddr="AcIm7xdoMVNpXUQ1zrLQTYLpTatfQd0OUcjvt9Ww_WWQ6S734LdJoMWBpnskW4h08i5NTFOmr-3PWtdU0LdW3qYyOvm0ftmiyQ"; e_fb_configversion="AcLffoJERsj_xYwRZSQnzLJSPyreDjKpCp9QKyh8j21EL6xCL7TWebRUefB2CA", http_request_error; e_proxy="AcLbrTs570AOYkhUtoBLzeo5jtMKtmuigg51BbWV0iZ-4vhajwbhMukaAX4KH5tEwD3Cq3HbaM9LW2RT"; e_fb_binaryversion="AcLw5fIB0QSVK8oH9KVHhX4dL17Z4o6NItcrARgQM9iDVpy5xu71XCOg8cveR6rx_LOctGnZMUQNKwkY3JTZ0BaKOaEuov7Ny2E"; e_fb_httpversion="AcKVh3D19Q_yBsftqsTT58BTtya4HZM4rb4nQaK9qOhw6qLTvf5pkSSwtlfn"; e_fb_responsebytes="AcJLDyeqYwxJq_ADoYfGdTeiFSmfjUocOr7C_rXHtmW6GPNAweKE9NfYLJfE"; e_fb_requesttime="AcIZUgoKDREoeIe1Cz0iprJzrX66E_CKD9Nm5ftTwG3J4zZx87TgPKSAK03lFLGweV_Y016G9Q"; e_fb_requesthandler="AcLni9sCYkItBcW9GCWL7IezL6l6nhWA8tKWwzm_exie_yGL9VVzOWnWPpj69btz1uJztJ1Q6IY"; e_fb_hostheader="AcJl_93D4yThb6ouads5vD5PrQ1G3GaBJW05v8x9QpyJEtJblZk_7n6mDh63w-vw_WLE8acbFp1RS9sU"; e_fb_requestsequencenumber="AcId3L994VCD8u6fuj391Y6Lw-bHzyhiOCWSSejqVJ06gGisPSdY4WFuDA"; e_upip="AcKZBwgyiRw9lHFU_AMqoYkfqNyPhh0GOX0PL-DGDvLBmCsXrQA0uhaPMc7N8UOwiStudR_CcUreCXCWEOqCcScS9gip-8nURQ"; e_fb_builduser="AcKvUYEBANEShHtNsGVxBiUdFq8RVSd0rnfKfwe6pibgZONhkj_vTMgKjeVuVUnCr4w"; e_fb_vipport="AcLrAe6m8AmvdrRDo9pQO3hr4g0G0daPiV5eoSeDV3m5NoR0UsINpi5d5pex"; e_clientaddr="AcJvopFDvsQB3HahxS7KNUlDTz_l6H9745twEOT0fkaRmzOwVsMpy4iMZuvup0TSVfVeuKfUO9_EUVZK2w"; e_fb_vipaddr="AcI-WEioWqhRqUtQnQOrM3vXLRsS6Xu52dAM0D8q82YB3-p1rssx_tgjVg-idhXjlJZAVAkx0w"; e_fb_configversion="AcJM7ujVlXQElAMRbziDMiK3n8eopMwm4fklMx4lNA8_M6Z_H3ZElMEU7J2qjA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=91, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7905695226152584"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 05:00:01: Error on send one message facebookId => 7905695226152584 08/26/2024 05:00:01: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ArWGln2DZhqnnpbYHNjKL69" } } 08/26/2024 05:00:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:00:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7905695226152584"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30136092, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcpIz6bN2YObUkLFsxYFxSj', 'x-fb-trace-id': 'HCoWp6tfP4P', 'x-fb-rev': '1015963787', 'x-fb-debug': '+g8T2rcMD2uENmc+sBbsN06MzbFwsHuK7kavvCteoCIRVnEf+eT9fbYLJxrxmpe6zQwz/WAZYgkHDEKOScWYIg==', 'x-fb-server-load': '24', date: 'Mon, 26 Aug 2024 05:02:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLTLJEPbMzu7RtSbXvHQG4hzvN8XeDDi1sHLG75jG2de8yNu84PfD6v6VIfRHB2CE45z6N0FQEehowUvIg"; e_fb_binaryversion="AcKixtgRkNPGTPnseaIv3mkx9wNyohH1MvJOEN0mZfFmwHOcEhk5rR4mvtuFuYQXJJTRrJPBzOm9JftiEiUucXxNf4odxDLf-XU"; e_fb_httpversion="AcKqmhkXdXffc4xmZJ6ClGEc29PXZ8okNeuSkQ7me8beNsyZApN8aGRvhWQ2"; e_fb_responsebytes="AcKnw7ymoicewiZ86ZehUVF_V8vtI1IlX_kCJDdXBug3kf5HrmfwWIZ2ruOx"; e_fb_requesttime="AcLGTGf7sIzvnQl9iQS2qQ4m3CT8HYwelXuOw5B4zxX0MnST9346t9UOYUQvcmZBVhwb_saU4w"; e_fb_requesthandler="AcKkxZEUPFHCslGZFOYgXSF9z0rJyMEQyVXCaI2DAsj7k1OICl7GNFzPtLFacg0BUIiOGKNfDMI"; e_fb_hostheader="AcIZN_ZuoLz16slJp0WQI3d08GTG83hGQLkpj1osN_DxRJr_tSKl33ogVgGMQapYd9OgwSpyvy_CJoUK"; e_fb_requestsequencenumber="AcL_mPFr0lILWWZqTMJKIRlZCfjty22QaHIOXLlRrqXm2FtJVB1rRkgMmM12"; e_upip="AcKIRQknMi2WYALlVDJKAv18o2IjXGu3cSoBxZcY3nuq-5qN4uhqapV8qf8opChfTt4k96e0eKFVOhXOxtpGvCJwMW7rNQSidEr_djk"; e_fb_builduser="AcITidH8QflQPhLCR2N2Oy0JjAV9TmyXonLgbIIC_XuoYZ973pom7vlepaTQuaN3aRU"; e_fb_vipport="AcIMbxjkluVgIfldH6rPc25ud60LhyNPxHdhN2kaiP5FYb7uLr4QyHXKENPJ"; e_clientaddr="AcI70ri7tJ_Rz9kvuuTRv_i_T_6HZREJkPsIkUIAHQv_PaCnhQic2EcRgQf7wPT_jH9wYg2KC-LnzPs59hWX6794np7kAEEP_JWwL2UpYtD_2MTR"; e_fb_vipaddr="AcLQwwOPM1sk9KDTCd6-EmdyzN9OfwRmoRB9FSxgxcaP0EiA1MFZcOYLbETjQkSeDHM4FgVDQtn9iIrU7zi1j27bA7PLLwySnQ"; e_fb_configversion="AcKX8ZjvOy8A1nGa5dij4Vn2ic4-0PSdHXFuw1T8eMx-IRePumILFnIFIDDHyQ", http_request_error; e_proxy="AcLNCg9aEPaWh4IaBB4vGWUnC4fQ9DMYrGyo92fI2SVq01gk_pQoO9Imre92oyYPz8OBVrrWzO24h1E"; e_fb_binaryversion="AcJEcbTTgEAQ7jB-4sAKIpzve4fQmnlWlBpn2WdwQoKIEqO4uND9rzpurMTE2YJ8ruM_00Xu3ekLbjroi5U3Z-motKaWyyAE7GI"; e_fb_httpversion="AcI1dy5hhPFjGhK3vmo-_ALljeCZ1FR0GqfaabyK0fsIMaAD2SyW1ZfzBwxs"; e_fb_responsebytes="AcJGCR3q9yCKogR_1pd_AuxVAVptccoPVAadto0smsjwF78opST48woN1qI3"; e_fb_requesttime="AcKA7V-9QfoxhxxdwfunBVOxfBqIHvtyqksYYbj_QbbDqaulRioA5To31NV2ppHHupBvoA0MVA"; e_fb_requesthandler="AcI9lJAwAyvEPrUVc6gDj8opj_9ZMx4KBbxrXKRvnanJvqC4tUylSpFHUPhl1WI-h95fWmiJIkc"; e_fb_hostheader="AcIrRNxk5gk2TJppJOUV9Eu3ZFdtSKJ6E4sbA2trhdhVeSlK6Fg3s7pgTsRRRIelyI2Xyp3KDrfOqG43"; e_fb_requestsequencenumber="AcKpffrtDI816dwctrcrbO89iC2HgLDKwnMIKmLNBr-WQH_4yPMv9PA7zA"; e_upip="AcKKsCKLZO3LqBRhkWf3_sncMQyz4XTb8_wuJAFkXKDmdbvicp0lH_8z21dxswr7hunAjPbD37_Wtzvr_lbFpoFdwiXYs3xnjA"; e_fb_builduser="AcJ2yHiEzIu-Q0e7lq1CDOQZzufPA53-JaLENrbKOeMCi-0ywox2iRr_xTymXlwUNJQ"; e_fb_vipport="AcK4WmxIR_5mA4oY2RwxCbbPGomuCU5sPtJsYc73x-QbgvI_G6IWUbc_0Jio"; e_clientaddr="AcITn8ESwEXfPdA4SrnZ1k6B6kYD8TPpKQY8kK2uts-f35GWf5Y_A568e6GFCbyrVba-Ow1h3FJIMC8MAg"; e_fb_vipaddr="AcJPeI0tNUnMwAA1dsc2rVQOFmUPJ-NcaTN7tVOWJHb1tEeAXdFMRjC6qAZEtxeZn9S1Wpo"; e_fb_configversion="AcJDoMZJfwOb1slmlv5w3Pd4axrJoqHbWGRZZdetwVpGe2tC6R1j-DPSmdG8UA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7905695226152584"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 05:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:07:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:39:22: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30144968, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 26 Aug 2024 05:41:22 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/26/2024 05:39:24: Error on send one message facebookId => 8120111351398060 08/26/2024 05:39:24: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d3c73e50-636d-11ef-af5e-53b8066cf369__1724650882741.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AWJANSq6UnTDG0xOKcj6bcO" } } 08/26/2024 05:45:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:47:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:48:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:50:01: Error on send one message facebookId => 8120111351398060 08/26/2024 05:50:01: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d3c73e50-636d-11ef-af5e-53b8066cf369__1724650882741.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ALqzkt_F4GDi81nGBblMjC5" } } 08/26/2024 05:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 05:59:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:33:58: Error switching inputType 08/26/2024 06:39:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:40:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:45:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:47:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:47:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:48:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:48:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:55:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:56:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:57:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 06:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 07:55:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 07:56:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 07:57:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 07:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 08:02:32: Marker: 0 | ID: 66cc3698ff349866cd51f444 | Error: cant_get_message 08/26/2024 08:02:33: Error switching inputType 08/26/2024 08:04:05: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30180569, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 26 Aug 2024 08:06:06 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/26/2024 08:04:07: Error on send one message facebookId => 8267077710074607 08/26/2024 08:04:07: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/0b76d450-6382-11ef-9972-0fc895a2faf0__1724659566101.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AF047QhlTVfqhOT4-4Q7_KN" } } 08/26/2024 08:10:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 08:11:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 08:12:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 08:13:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 08:15:01: Error on send one message facebookId => 8267077710074607 08/26/2024 08:15:01: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/0b76d450-6382-11ef-9972-0fc895a2faf0__1724659566101.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AnG0cJSj0DK7Y_wNw6OO9Hq" } } 08/26/2024 09:10:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 09:11:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 09:12:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 09:13:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:21:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:22:17: Error switching inputType 08/26/2024 10:22:18: Error switching inputType 08/26/2024 10:22:48: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/26/2024 10:22:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:23:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:28:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:31:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:31:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 10:33:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:07:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:07:59: Error on send one message facebookId => 7612775175449774 08/26/2024 11:07:59: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AHotox253HnWf6v41wOhVij" } } 08/26/2024 11:07:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7612775175449774"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30219642, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWTEVOC6CBg1bwluH3l8Ve1', 'x-fb-trace-id': 'EJ8IJDUy7/F', 'x-fb-rev': '1015965180', 'x-fb-debug': 'Lt99VSJMCntaQvItsn8R0ZQT30ANvyPAKq4UhIw3TedHEFPvJUQbiAohqXhpwv6rPxfT60HL5+HjT/mjFh0ojA==', 'x-fb-server-load': '30', date: 'Mon, 26 Aug 2024 11:10:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIFjy_eeVeV9FJoXU-tXu_2AGxp4ocGyQReaTuAPs0ZzFRfBy5PcRKCxkq49cYgoixWaYdfLTJYA3m5RMJT"; e_fb_binaryversion="AcKy2KYPzTkYzdZq8S6nHUjiJtfJJX_B3hhyq8QIeL3dZGFAGrvAWS0IbnaUXsSV7a9gAsUUTGGS5q406mU0M4Cx6H_0ZOGPvy8"; e_fb_httpversion="AcKc7Y_o0lJprJ1ZRuDvHh0mpX4qMq54dwhJgx6LbbFW37uP_HYcdubkWetH"; e_fb_responsebytes="AcLJtEDHG55kC13O1qye5KREdTRmdBAy1hoqSujm6Hu7Ztl28OD2whk0SoHC"; e_fb_requesttime="AcIkvzdeuqaLL0pcXJaUenVTucb97reZM9CpbmaMvZulwA1WWzglEtmUQD-zPLJ6Xzdye34n9Q"; e_fb_requesthandler="AcJjgcgF3K4spxtRcHfZH2KU1HNJYmmQj1zpqAf-1jkPkxUXzWTeIpnpQB_KbvkRN1xH2hSIShU"; e_fb_hostheader="AcIT0OTwubHUNR7RMIqbJHRymF44oqgp3twfVRkkf2kmZnM4w38rShMxKrtponYVl2GsUw4zbCFcn5cj"; e_fb_requestsequencenumber="AcIV11kftKpISujfkgzQdV7TfLYfetX8Gjr0QaYtl62NcD4arN4XmBI_6nl0UQ"; e_upip="AcJq11Oe7zWPiHcOZvil2eLtgJPl-hruObAwOiFPGuTD0QHEH59HpGJQX3LWXTPA89yxWvcmxsVuMQHPFny4_8PM642eQHJFRwQh0D8"; e_fb_builduser="AcLKx_6WP9mbkAUp1bhL7QP5jiyU6dxyi5E3DNqDp0-SA_-aP9VllX8F0zxi88eB5MQ"; e_fb_vipport="AcIHW-E01bACcVLuxfA2UNdsvOooCaRC42eWQlkZKhNXkt2CwEPxXspOjwHB"; e_clientaddr="AcK4iW-BU-1Yl_sRXRTTRNv0B76SxNpgzQdjWbXiOYrH7mRd6j-96W0y0tPBMlp16o87H01uN3Ts0ek5QM4VzorxHfUTCeDdATq1xw6vDUK2ByZ11g"; e_fb_vipaddr="AcL5A0giGRZtNWW361tw64DV3jKs2ZIANJdjvR4DnfMxhKhoDFa5wcQ4VvVO9NPH_HNJXewmoPepoNfLvNT-a3MRMeIOMEDk6g"; e_fb_configversion="AcI1_LvMbYRiBJWzb_7LVHWNgW_82wq61TINbBszPFheQfmOI38I8W89OJCONg", http_request_error; e_proxy="AcI5gbQT_RCjjaTxksnU8rD3HYNJV9mXYfwgiiKbzfMbKeVJfVO9G_h67holP0WfeHtO90bNJ3n-wag"; e_fb_binaryversion="AcIuhiOLFHv_VwIbjJK2e2CabTR1CYlLQpnnKO7OzKizv3KGYI2kWnt7OmBO1nOQ3OYB--f_KLH--hfYBI2Wtqi3t7kDhxKJt4c"; e_fb_httpversion="AcKUoi8TLNxqTmvIrlLI5wWAsubBFcueO1FLh0oIQs7JIZjWJUdnQqPOn7Pw"; e_fb_responsebytes="AcJkj3QVpM_RPIJZnUG0UaVscqZw9YJUF9YzN6Hn4Q6Nvngf5_Qr4EFvLeLL"; e_fb_requesttime="AcKENj7Usmx5b0EUi0E6_z8UXyhq2D2u6BuCB16FwlErOaF4-_N9CtLQcKWg5kh4cwNAxzGS9Q"; e_fb_requesthandler="AcJ4SfmPSrIlsBEJBl-F3yBO6tm-keewB1Z89WkIoKm6ErKkK37f-SFuZWGVQPNI4QqwZSByyDk"; e_fb_hostheader="AcKGFIYixXpgCPXcSegGr3W5VEWN3K_GEK2WAafgMf8SunchRzfVO2sgNtHvgVnJEOMMRlHJsRekRqza"; e_fb_requestsequencenumber="AcJk86Qp0N3aNjoqNO6j1KVXGghMXcB3WGNOtMAwRGUUWeduq-qhBy16rw"; e_upip="AcLzPG1ClUfZW-juizuttgvEGHBsD-M61Tep2-rGb-lOomJURw26xCFDvTnrnzETcDNDW5OZ8XTfknmhWufffHQwGBiiEGJbJA"; e_fb_builduser="AcL5VmHaEtk0PqdM_t-LzD89nWsadTtjQm3sIQz2Bq7yTkiyMjRur-7Mp5E1q95E8zE"; e_fb_vipport="AcJvRwTRnh0qymqSo6QTL3vqKnEJBCJ5FckHwKKrazS4PR2YQWg2i1kLH_xf"; e_clientaddr="AcKbfrhs6wO1IPrld-67MSU0KYClTYBrs9IOoH9fGOZsiw4GGwURvYTg2hDF6Nx7KL1HnPg2pbhUSDGVeQ"; e_fb_vipaddr="AcJ06gdeGqookjZMTUHkgKE772NOJ0vaTfc3mdeKRd_VNwJXyant2W2AP-TTa8Hqv_g8vBo"; e_fb_configversion="AcJL_isoTPwDosTaBtn0VJ5dgy6N1PfGceWwK9809dajhSKCjN8l9d-AkR8OWQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=251, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7612775175449774"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 11:08:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:09:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:10:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:21:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:22:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:23:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:28:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:29:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:30:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:31:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:31:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 11:33:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:04:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:07:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7612775175449774"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30232209, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AD8DJQsz4KpPeZpxaCR4sKX', 'x-fb-trace-id': 'A86Fu9HAaQM', 'x-fb-rev': '1015966117', 'x-fb-debug': 'knULVcgtBlzivYjkVylZZKUV/uJZa6VhARER/4fxH0a05eOI2s5DpPeumgSNQIVDiqWwgDNJcWGWUBKij9MnOg==', 'x-fb-server-load': '39', date: 'Mon, 26 Aug 2024 12:10:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJr6RuMWRXF1jptzIwsDaOQ12hP9Y5_iSG4K3lqfMOZtF8MFaA6YerWgChPKdruL4g9xzftuP3QJXZdaro"; e_fb_binaryversion="AcLJOv1vNRXpOYD65ydbMfv7GrHRQnOvWnxdpJlxIZdJrRVccASudVlHiHeD82XYhNteALb6IxRCYb-Kcn7YznS1U4KZWSipDzk"; e_fb_httpversion="AcLbHYaP1yMjAR_xdnObTZSF_IMqPL7XaT8wtdFhKC2hldtKwiYZmZAgOXpl"; e_fb_responsebytes="AcIW0G7KqlTg3TEfjY9Rjh2HHTle7dh8K47glmyQoi3w5JPuoIg54siwVGv9"; e_fb_requesttime="AcJ8BTh95DZnh7dojNKky87lwG3mexmD-3qVbKUfhxNE7MRFvsUo4WCDG_QgY99KP9BwR_34Tg"; e_fb_requesthandler="AcKFpbZEbjQP0YYN_xw6gkAaXDS_YPX84Nd_Cg83AyrH3ImNtudfWnGPpOijMEapJf35dMkSKYI"; e_fb_hostheader="AcL-enfkwC--CjM9HfsbfVvDzs3LRQsjCkXf1LOKu6D0_aXD4jrNzN46lpUoxNN-8CJzeY6HzsE-CUvp"; e_fb_requestsequencenumber="AcLHWQ4kctxCUd5PbZz-BLcBMtH0XukoGkSaRAhdnZ2Rarpu7apIAsLF1hM_"; e_upip="AcInOew99KFwW-sVwDUfywTqEvVXDnR8JMvQFtgeb2feGKY_2UV7q7UpRBiH0uTC3uoqNLk6o3WK_uGsVvxELhWw0ZPyU2o0jDgDLL8"; e_fb_builduser="AcLgHMEZlzwjjBfNJRTCgmVUqsp6byB9RsV0aWCv_d25Ud06qs6zFSsq00TfbkOSXAg"; e_fb_vipport="AcKhNzudOooktni-ZmIQdvsjSbjBQx0ZVEysmm94h-_yWOobcUT3YPQYynF1"; e_clientaddr="AcLO4F7LO-MsVtaV4ygq452w5gg6obuQ114mKM_FppsmnKxoFTinhOvRXDRCcKeJHQInereIeAAF1Eyc4g7aUCMNu_rkp3TGZi0g5xcuy7hS0ASkKA"; e_fb_vipaddr="AcI1r4J5A2DyoJFWFIUP5j_WIVaaeeXol1mXV0S-y9h9LvE32KZHrHsOjvURthMItqLr184CxyJIweaMqdjvEv-txh-fCdZXAA"; e_fb_configversion="AcIBzQqa_ydPuu6rsBWuM2fgP_kGyoS6sZWZKUs5uGHmdk-BeQLnQNs91WDmvQ", http_request_error; e_proxy="AcKmGSc9xRDLmPwBbeLt7GdWD-hzKcxsXXR3TMYM7Ho-xXTqgWE3F9o_oSsBv5cUVWUm47eS0rPnxItb"; e_fb_binaryversion="AcJqU_PUsagOFR3jC3zsuulQ9K83-7UNa0MlmBx3k9BseJn6fh4KUFTnvakBNhClqx-DrRaYMWK2n8jWcBjAHNL7b1LVYWiz5AY"; e_fb_httpversion="AcLe86zfpirtJrrj8yqzxlXGe9BZmW8p7IUO_5c12UnkkEFyNZHb-WxP3NQF"; e_fb_responsebytes="AcLzzePnQMLYcgipoXDQyM9ghJUlOii6EQyLnayzDWKnQtkarIM1156iVAvE"; e_fb_requesttime="AcJlVDJs2ilqeeVKOfDtDaENlqZV-5ewUefDQWcoz2GHBPa6J3HM0O_7e828vS-w9Nt94ylimw"; e_fb_requesthandler="AcLbcQ2oyaDL9O-kSJrD9dFVUvdRdzCBXSpqWEydmJeIUnqb4V7W7u26LhBscbLltK-3Msy8OWw"; e_fb_hostheader="AcIum1TsACF6rEN1o5U5YWfqfxJzJ_fDBdUcKY1fx5hrvEiaDEpwOwHi5f6RgTS0xK7UiDdJolW8RlF6"; e_fb_requestsequencenumber="AcJVq9CorGJYC9qKgr-3bP1qXuxCoaaFxhQlC3FLaFKoORCWEAUu0Exs_Q"; e_upip="AcJQo0fwiG8CqHjY5lB9dzkcNAhN6JaWLqh7m0N_AQRqDDHe8K89RK7hZ4cUhLKFI0UwVdsY07m4SfQATnz3FhNDTva1XEk9yg"; e_fb_builduser="AcJ9T5qi0-Ee-VT0LsiOHMCKj-cSKEGfKVDX0erMKRlN7BTgpnKchRxY-V1QdfM7Cdk"; e_fb_vipport="AcJ9kmS7BCjwDIyu3spnB3Z1LE1kII3TFZ7QdnoN9p4bSEshJbhpm2LtTaGt"; e_clientaddr="AcJh2vOqrn_83STaS6QY9WESifC8MXhj8TaFVDRo38SHGht0Odm6tXJYaOb1uHlAhQIlM0Bwdch1w7V8nQ"; e_fb_vipaddr="AcLhJ5kGF7LDZeDj18N3UBxIPiB5w00ZS9ztxvknSmSpPacehWKmIE4CElXN--oTCsfvqHJzKQ"; e_fb_configversion="AcL5ujFslm1BmZG2t5i-jQTqZU7g4FZ7fRd4Ap8i9Dxe9uYHFFVpUC-Fy9qnwQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=109, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=65, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7612775175449774"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 12:08:01: Error on send one message facebookId => 7612775175449774 08/26/2024 12:08:01: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AHwZ-q-3YE-Uxkwue8DHjdr" } } 08/26/2024 12:08:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:08:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7612775175449774"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30232385, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AqwDC_iE56orxDVnRvxsE27', 'x-fb-trace-id': 'Dt0uwAadFJ/', 'x-fb-rev': '1015966117', 'x-fb-debug': 'b4uzcLrBI5rfErLTdjs5hEXZM0tPAWIJUrAvtTEqriiT8XBbn5WQ45iBDiuofynx4xdDHoiu6NuPdAdW78RU3A==', 'x-fb-server-load': '40', date: 'Mon, 26 Aug 2024 12:10:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKlIfpWmxL9YSajdwtNQ-Qo85UgJe9wlVOBM0kdDNiN9mINvYC9n-lhyu78Kn0tXfOj9DOiiLQ2-HZTKtE"; e_fb_binaryversion="AcIyOuJDVV0jAOSQj7negvoJoDLR0-iQYCgZmAImV7xhe6k9eZEqfDVEVI2vNuMojL_VnENLIKKZzfePYg1D0L8dC6OPxjrraEs"; e_fb_httpversion="AcJSkcy1TyAMMXz_A0QJceT9XcgugpFoKKLT-erYqrOYeN65fzTrVuAtiU5f"; e_fb_responsebytes="AcLhQMAH2VPaa8tS-DZ7yZZpxuvm5G7n6pC5GYdqaczO2q3IAlIbb7H-0Z_I"; e_fb_requesttime="AcJl5nIo_4O6-HXWKRRe4uCYYOmLupeOkRCw0o8B8_yw2l4FHHcAvJcIs9T3aihuYkjKzfIA4g"; e_fb_requesthandler="AcLV2lwLC6yRncrQfbEiqOJvMy0HmqWXMaYK7RuUPyzJgR-9KlI192RR5mduCfO1PPH5XZV2RK8"; e_fb_hostheader="AcK12uQ-r8vTnt-kNl4YkBpqAxaj1FoMrAyEgEoj6RdeSsIHKkZWQeWCVuJuBHH-R1QUCKYvcKm9JPIN"; e_fb_requestsequencenumber="AcK9zBEuBI_DrMtBSM8N9gDRzNxkfVmEYnzdL_kOyGQ6OxSMqCieXIf9nTQ4EA"; e_upip="AcJumURZW45jqVaUqE4K6JqGtXT6byn0sW75PhEuRf4dE1ofhUq6UD_JjpPOU2B0gh-8li1FkV_ElM7b36nk_QlivUIOvWcwEIm0LgY"; e_fb_builduser="AcIyeqWYVU7vkl0cOrRaa44162zws_8stJLqKvK7k6FicLTr1vxkBo1eHyO5A5nKXPg"; e_fb_vipport="AcJR_97xRLVL7tl13vBnbsDAKBLW2E0zib-aJTWGskNlynd9121hfPamINgU"; e_clientaddr="AcJI84t5k3GiqhzT3Wy_xc4MGR3xl3M-yrwFLLCY01UtfG_1MWWd6YPCwaD2RWSrNrI79RwhfhB7xkAK4Yl1BuN7shATxiAyNzxjZV_eCLt2sdlW4Q"; e_fb_vipaddr="AcKW4KpGguAM_rV1nJ9cP0r4YHBciGjqTof9NkLM2reT6NGKIRnOB6MQ99F28lJNZ8itaqlLD4r6TAa5GghzobN4JERBZEHm6A"; e_fb_configversion="AcK2uGERU7uyssfO8p2ZTpj-zKXNJUlQfELlKOyCqKugTZXldAMCZwVbKYQ8GA", http_request_error; e_proxy="AcK1LS8ryJKmSd2DwUmdK7kC6zIr2fUGrpawXDSQ4bZ6IddNgdqGYX6sv31IbmNLrtrLoHcOPye2oUOY"; e_fb_binaryversion="AcLLPDtxI4yYAsVTcQfA3S-vphpIs1ZLE9H0gktExxo3QQbEd1CK8aooMUbYRwVXQ4Y1LIhWIsyQaT7mIN2j013eWlCNttA7feY"; e_fb_httpversion="AcKtzUGkqZwytd6IR7Cz1qQ26s3OgaKXe_SGcn1YkxDDnwnJz57TiXTvuvoc"; e_fb_responsebytes="AcK-1dHAX0PMrJyZDCEoFD-Nn__C7AUj9VdjLfRNc1aeEmh7fbtbYQHOrhnz"; e_fb_requesttime="AcIoH3kT9mgURqWcLvV95C9X3XCkOyBnahoZz_Gd_FRmDusma3aWyxzTXIb_h-cuuc9ZR13pDQ"; e_fb_requesthandler="AcJjsDQRp8SqhPmpJFg_kZsakckPXzwNIQLKp2qRBbepZjGZPzmmGEHNXn10SyFDGHJ1bl7FZDc"; e_fb_hostheader="AcL-bfriQRCkd4c5ctdm1Li8P-qUBM47AqU1z-Gq4xoWjXTAwXitxBn0zEwtIVRZB4fJG_ddRbQrF4aa"; e_fb_requestsequencenumber="AcKmwBSSFKcHjogSZe2zOfBY82OKTFPZdHf0JIWDkt-wfrREx6JMWBXTOQ"; e_upip="AcKrdE8TkRmYOmoRrbXb2TSDEalPBFQ1_RAlvvLL3TPM18uSOGWc-A9cCj4NMXVc4SWcmIYsxOxKIp9SVGbCGf412bbTElKqZQ"; e_fb_builduser="AcI9AAMkew17DzEKZ9Ktnmi2r8g6mA3yYHLTrGXg6RLHv1l4vuGL3QA_nenDdUo1xmY"; e_fb_vipport="AcKPO9sEC9Ron8umwPtT8TWG9eZeULh8-jQfh6P-6OMzJ9_wB1uoEhpY0QnL"; e_clientaddr="AcJXIqooECj9nFgR3iDUCvcie5dnUmBLGVFeiR-9aLZ3BhIs7ybQxkGpMhW-2IbDa5Wb6TnRrwH7zKCXtw"; e_fb_vipaddr="AcKlJVEVHBrX3kSoRHMPgyTvXfNNnAcbFUFySHmrzp9cWPDk_FTbebShdwQgSQFHZnOy2cNwQg"; e_fb_configversion="AcLGd8ut-0jcVVCJdmh4R2ln4luUIc_ktvd85aSCDqKlUd0AZIgItYdWrA5aTg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=144, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7612775175449774"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 12:08:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:09:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:10:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:51:00: Marker: 0 | ID: 66cc7a34ff349866cd51f682 | Error: cant_get_message 08/26/2024 12:57:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 12:59:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:48:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:49:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:50:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:57:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 13:59:48: Error switching inputType 08/26/2024 13:59:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:07:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:09:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:19:45: Request bot not found: { id: '863113247096430' } 08/26/2024 14:35:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:44:30: Error switching inputType 08/26/2024 14:46:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:47:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:48:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:48:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:49:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:50:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 14:55:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:05:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:07:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:08:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:16:04: Error switching inputType 08/26/2024 15:18:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:19:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:21:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:23:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:24:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:25:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:27:35: Error switching inputType 08/26/2024 15:34:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:35:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:35:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:38:33: Error switching inputType 08/26/2024 15:38:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:39:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8052465738174623"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30302077, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AfOyuuDoNGgMOeh-B7NJyqa', 'x-fb-trace-id': 'D/dgk6UYVP8', 'x-fb-rev': '1015966117', 'x-fb-debug': 'VjBJn5ck3QYkjFl/27/kfvXJwkrH73y5Ho0HbuD/xEUMKwR4pBIyDSIkcXXaXvyHnqy67cusPol2x2tawdZ8zg==', 'x-fb-server-load': '38', date: 'Mon, 26 Aug 2024 15:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI3v6i6LmPOePoevaANMvgTSPCPafBI2gMCuK0HxJOOl8uzJdEmHpNo5SJQvs_mItyPwLIp4ppFYQK8NP77"; e_fb_binaryversion="AcLSDdG9IvnaOwSYnuk9AITUYi5XpVCjZCuRiLISp__XzZahr71HUWEvP0sb9H6sea26DnGRh0Ivkmnmqgyp16oLhwYDIu5r-Zg"; e_fb_httpversion="AcLMZ0tIxIxqUDU60e1S15ETAUtQrRpJ97U417Maaks2xTKBASwOGp_X6RKo"; e_fb_responsebytes="AcIVvNnJfmpSK80K9xbbvxiq4uIOxv5aHwcFsxc8LU1iE-EeISbRa4mKjV-Z"; e_fb_requesttime="AcI89rn-W0URpBLgi4qLh1A1GcER09IbpNaazbb7HNie6Vt_IlBhRUS5TWWg3iq0ZGIiejyj4g"; e_fb_requesthandler="AcJbYkxUJmhS1-_iCygTCxnLwlBHDSkuiDoXA3-rGdNhGoe6nPY8pYScO9AuRvoY2l6hesVMVYg"; e_fb_hostheader="AcIL7Vr7sOF0IkredXwj773XgB9eGQpJSPBa1k6rwCXYdPJzoF4MiRLsaxEiP2MTSoTbWuVpXWddflcG"; e_fb_requestsequencenumber="AcJJTtw659tK7TrriCpscFjdDwbT4rrjGOPrVyKXuH3pW2PQsK56ZzWi0Qopmg"; e_upip="AcK0bFsemDz71cxleUEajFcbM9GSWCo9-hQXPjpGO5LkC2tBKLnqnOX7M_l9OxRMLtD0Ve50lE_Nc-pxtBSKutFrAD6_VXwiz0lo8hQ"; e_fb_builduser="AcJ88bq5pb3sbInuF3QlqNdcBD34u5tVwjvoE7rdCti-tIThro0GwgSy9sZxxkxIB9U"; e_fb_vipport="AcLDjORJ8S3e0UEmg8-b_d9HbLlHLuDNh6k2utuMzQ8c1D9M5RSsckbYu6ff"; e_clientaddr="AcJEM6WPwrWJifHtXA-CVsFywiyWjaouxoQ_kXmjq0Oj6M4A28qaN0t0Hovmd3V9vsygQGwglMK8WkSkrQPx1wYHN2mK198Mwar5QXqG8OliilyW1Q"; e_fb_vipaddr="AcKF-lJ0h_nhE6p131kjryOt_T7qIF58fZRFQbR4dZvJe1_unN8I3cZlriRplEJVA-eZTl0d2QlbtNhn8DZLRa0RBgX0e19u8Q"; e_fb_configversion="AcLK4gYaKn91KuYhE_DXkeZezxeRuaQAuG66K3TZfLWWCVQqweOC627IgmBI_A", http_request_error; e_proxy="AcIl97NX3FD1wHyJYls-Hqm6baDPnq9lpYwOCcwgfrLPj8WW_u1i7521CZUgzCSp4amsP6g8mdH8v3s"; e_fb_binaryversion="AcKBEQHRX4LEjEN1X8SkPnGool_58UwXJT7sv7DLX3qc4IOHADbzYy2CJ0er13ndOGwNnD4t97QEN47wPKAh4Z___EB9syQAR0I"; e_fb_httpversion="AcIEUI6kLFgBnFSYiDb233IdhhfCNLP5ZwtIFoYvSRQF8IKoKe8pWtphNFOx"; e_fb_responsebytes="AcL7Db3yw96EhkEyGsMRUzib44JQCq3kBJVzR_OYUec40qXEV87Q0NPhYzz4"; e_fb_requesttime="AcIfY99cVuByv6niPMKZc6OAwXISLmTt0A3AiF22oQigBzcRMlEF-J8WPhsOhzZi5BVqnseTAQ"; e_fb_requesthandler="AcI5Oq0dD73Bb8ED7LNfveIMGXXJu7qZ1h_7SoXcczzVJ-ITqU31qU9gkz-w0c_ARigrD1dho9I"; e_fb_hostheader="AcIn0bf3X4pjE0MnzpfA60M0JrQ2Fxd4At6O_YJnDamPhhrnAK5GPrqXKcIO3_z-H1BAYzW24KaUAy6P"; e_fb_requestsequencenumber="AcJB2wD0p8tmZTGEiL6S0ZYtQBBANaD9frB9g2JfpJ6xOAeyaCKM5y1nVg"; e_upip="AcJaLPFjCLEMRmn5ThwxYkBpElKIaXRq8SDg3nuds0zSBK6--1pWo9LaJFCqd8BPUrgfoBsfhuSHv5XCWimx_oqLKHwUjycAog"; e_fb_builduser="AcI9TxMLulnq_OTVVhiQv_84XSui1hTA5wnjUfI-kTBU_vrEqj0V9z6ZCHJfw9GX4zg"; e_fb_vipport="AcJVgNQnJ77Q_ShZ7LMv95pH_X2Kei_9ljq0NIeiPqJzM53zwG9X7-zSWIL2"; e_clientaddr="AcJX3ZWBB6i21wvOvGgEKN_0EncLNAczDuk3YOGEOmCR6InrOvhc6VoL4sdp-6sMdhDRjl72Y02TwkD2ww"; e_fb_vipaddr="AcKsktEkKO1lXYmtq991m_kzh6Qyd2eiRQeTSWN5H-P3Ega4qMscxpNQaPxTrt3YGcSnodY"; e_fb_configversion="AcJ-Uz0wJ5rVowM4SLE-ClXHOWberBNFCD-QGjc7Mm8KCAeBRVcCHFAtF-nxDQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=186, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8052465738174623"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 15:40:01: Error on send one message facebookId => 8052465738174623 08/26/2024 15:40:01: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AHs37DTVeX3hOidN436gYCE" } } 08/26/2024 15:40:02: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8052465738174623"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30302255, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArSpwYcfWZRryTx1dAUT620', 'x-fb-trace-id': 'E4Pa7CLSWqk', 'x-fb-rev': '1015966117', 'x-fb-debug': 'DmKjHBmSpsFV6VZrtKsXzVNTb6rOJjlbLbDjcjQld1fGVwq4R8x+BVNKhjEMRXm8wcGu0Z0ddRhmtAqJ8bQuiQ==', 'x-fb-server-load': '38', date: 'Mon, 26 Aug 2024 15:42:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLCd8LZCVx1RmDg5Qweh5gEKN8vBOxRy0dDGh1W7k_aYmoFBaXeCEAFU-jf-uuSUChDjzIqK_2_e4EdH3Y8"; e_fb_binaryversion="AcKvZAo7uyUJUMtL32HPWJqqgAJmMic9p3oRPPxUiPtg--qX_S20eT418a2TSyBBsjtCKmyrYKNhkt7pyuegsMZ39UCN7j_ZzdU"; e_fb_httpversion="AcJuI5ZMzlMD5QgxEHH03kLDO7emzIT-Qsl6rAc79URrb3WyvhwUzC0PsqyG"; e_fb_responsebytes="AcKZejMe-X9Vzo6QzAupER8YW85IvXMrHb0hJDGdiJK0MZEiDVGK8KyfZ-GZ"; e_fb_requesttime="AcJZ2N_ONQQRxk3huOYZu5vFpRcnKm0M-hn9QBw32fqkavAjbf3CJWM1ajDntDXT3iu8gwv0Bg"; e_fb_requesthandler="AcIaHup1D0sje37agQ7PMP35fR87Wh7qgHPr9nBRpWDreu2N6STJ409FjNsTFPfBrcCSlUPFyWw"; e_fb_hostheader="AcLNrVTVwSf5v1F7LD1qaUHMvGORvfHltIXcx03EFIqQiRaIvWnEF8cCgiPZsXdK0qk-ZzhgVlNo2EQc"; e_fb_requestsequencenumber="AcIm9RlE-S7V8Y3XJYW4xNo9Z4xLynb0HnouNc2kg1vFb18PZ3NZp3KD4ONn"; e_upip="AcLaJJ-5-VMkrqgINIeMZLIqSgUIWE24wCMPBcMc8OCKryBIqrqmjhybaHFbSy36VrMndzWPmDWWVwXBB8bncWfq0CBU8Seb7cBZUoI"; e_fb_builduser="AcKUTlXEuVm_YlPTpsBlKuohm3rVRaynueCZqk_T4XV4CJwDzlEXWhXMX4cZXawpUKQ"; e_fb_vipport="AcL6XwyMatmXFhMHtlMr6Ap9OsHrQ0LV6WuYSgPuDZEp-zkbNvUFJn1tW4x4"; e_clientaddr="AcLZrsfwSt_o7UnKv16AN13sLLb6eV00XrjAZDkqHNRyVxe2kAsnLqPxvKEcUKwy-2l5ZFsu6aAyJChqQ-iv30gY_BobXySiT8ELyV0jbGCcnZq_HQ"; e_fb_vipaddr="AcK2MaxeluPpc7RFVe-WQVfQGoO2eI_w6JU9HwTHH3cmrdnPdTwDSld657GUrZSaTNDLZYXT9oG5LYaJtUCXHTwUO0F9Xwb_mQ"; e_fb_configversion="AcK49thd2RDW-fDuVD-X0deCHqFk989fg09cOaXYbLIKb4fKZKCC_6JkZeY5Aw", http_request_error; e_proxy="AcLWDq5A1z-bolwA5PbU7Hl80HItIuLIdI6ZDRNsGCNIzfND37WfPv7wqi4XBl29o7ylx8cRJR63Im2r"; e_fb_binaryversion="AcKuQPAKi6Lnl_KqRw27NyjLZdi0aes7mCN-mfelIwfQb1vkpnp50fLjBDVm5El7sqsIczhmxA3ZQYKk4xC5El99X-uIqbEYnSM"; e_fb_httpversion="AcIzO41IZ64VnsKP645MRtTX7FrrxswM0vQ0IVOjidgrk1F__cxcEbVdliyV"; e_fb_responsebytes="AcJwOHkBJZJM4fvnezEqq34X9Zm31RXsn1Bcs8oWr5gmKI6pMSKiqgHKlhVl"; e_fb_requesttime="AcJDLI1uoDgT9TnoVyzw3R5jDdT-pq4q0XEnqaPZM24KPZuKv8wcA_saGLWHMFLTVV4ewLshmA"; e_fb_requesthandler="AcIx0_Ovq54md3SAJ7G4W8HPP137is--OUWRxAYRYi5wl0PwL88Wt5mEW3jG38jIaoQ0-q2Qfbw"; e_fb_hostheader="AcKIpFVjMlTzLK-N5uAZ3LGYYRBq7WvUto3vBNPClZV0RThQfnkGH1kmgI_FBbLS4-rhlJ2atL4E-YR-"; e_fb_requestsequencenumber="AcIbTNPIjFiguc0zlgVeQf7t6Ns_lej4yJD9k5oQxT8clZVtRwRKWx29GA"; e_upip="AcJIo4UXe2UP3uHDRGgMp4zxY8QkCL0hFBd-SkEwW4D9A5rLCi4W2CPWerZu-J29BsENKBFMBucafv-v5EUEhB2kWurNE7XKkg"; e_fb_builduser="AcKs-2MFYJlf3kD9IfLkMPnIeTEy1VGeuub7A8GYDbNkdSRPvDFEUbrTucQ_bslTy2Q"; e_fb_vipport="AcJ1lUsGciWkHiXYYqGv5jyxCMCe2-yk90xrN0KPlZeqCIURKTYp5IhW1_bS"; e_clientaddr="AcJPXkae5BKIKIHPmz1cAws6azhs2YTgF4cnHrW0DYVUpxOyfqF5IssnYqIRK4aer51Tt4z7pwTdI8syzA"; e_fb_vipaddr="AcK1UlvogLZEea8lYoe7LN02fk9BbPSzRYqrOtrfIXeyU8JUdI25zxrb3Vp37PmnIV5q2u4"; e_fb_configversion="AcKf9WxT6scmOInUMxjxVkBs36rDSxeiHUt9IJU5E8D7pyP3a0XNZTETm_8CAg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=352, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8052465738174623"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 15:42:53: Error switching inputType 08/26/2024 15:45:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:46:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:47:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:47:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:48:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:49:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:49:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:50:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:50:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:57:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:58:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 15:59:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:00:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:02:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:02:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:02:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:03:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:17:59: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cca82aff349866cd51fd42 08/26/2024 16:18:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:19:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:20:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:21:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:23:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:23:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:34:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:35:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:36:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:48:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:49:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:50:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:57:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:58:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 16:59:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 17:00:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 17:36:38: Error switching inputType 08/26/2024 17:42:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 17:43:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 17:45:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 17:45:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 17:58:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 17:59:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 18:00:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 18:01:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 18:42:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 18:43:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 18:44:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 18:45:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 18:58:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 18:59:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 19:00:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 19:01:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 19:33:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 19:34:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 20:36:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 20:37:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 20:38:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 20:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:08:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cc9ee6ff349866cd51fb70 08/26/2024 21:13:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:13:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:14:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:15:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:36:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:37:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:38:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:46:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:47:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:48:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 21:49:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:03:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:04:12: Error on controller payload Input Treatment=> type not found 08/26/2024 22:04:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:05:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:06:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:11:02: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c7a4b4ff349866cd51b7ee 08/26/2024 22:13:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:13:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:14:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:15:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:16:16: Marker: 0 | ID: 66ccfeb0ff349866cd520259 | Error: cant_get_message 08/26/2024 22:18:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:19:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:20:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:21:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:22:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:23:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:27:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:28:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8282123898497681"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30414191, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AElSgcsAYnAUGObLgqsdONu', 'x-fb-trace-id': 'DG7xmFk05eJ', 'x-fb-rev': '1015979500', 'x-fb-debug': 'as8vaRLJS5oXyvus9nj2mX6cNLIF3UexhneqdDcmRNIczZbmlHCqo26AKQirWDQDMNYkFdwvLA9XDYyVJHEYZg==', 'x-fb-server-load': '25', date: 'Mon, 26 Aug 2024 22:31:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcILWLdl2TtyEozzLueLU-ym6kBbrlchKbYG1uq41snz3zVkLj2EVB8AECroETN6e3rEBCA_qmtkss1XPqg"; e_fb_binaryversion="AcJycG3kPiUm6LY-KR92bFEoKxAFiPz8mwHBHT7H-n9uu-0ft59oMOVu8Xp1ai9fgxAAvJfUanQqnYxYluB-QJo1CAg04mRplMY"; e_fb_httpversion="AcIPyaYjCNMgDUZMn_mK6GL61_ejthfwu5-kTWV7-jHg5fRLG8nfKS4SyiVg"; e_fb_responsebytes="AcLti8Jja-TrT2uiUfBb6H1hiPu0iHCkvLwjthqnoegK16rrK0boRi2j3DmQ"; e_fb_requesttime="AcKcZKNSShnXaYiObqxa_w-HFln6f8HRHXUGp3bsMC8pdtBz8H6NQLUyjGyOZbGy7kSk7RkL-w"; e_fb_requesthandler="AcIcK34kSOIJ8RowdFv6_ZSDxRh11m8t1pNwx-Ar9w7TJpPtpEjlcXFWiXtAb_uU-LA1FLSyLWI"; e_fb_hostheader="AcIyzXPKT29jUqN08UcUNjlqIOrCkyFnnNWJy31bd9JMd5Togp3TX_5aKSFYhitU31kOLA_dNDxjsXiy"; e_fb_requestsequencenumber="AcLHe5SB63EePKDxK7cDncPn9ath2q_DYfTezdt-KjU-_2j0K3VvC0g2x7og"; e_upip="AcJE-NqYpDvBKC9ESLBAss-UM-ms6ZTJLLvGk_HER4Mi1K234DnEmiiUpy4-SVvQHe_u1UytKyAsFncdceASilfsWtQ6C7E_Hewjeg"; e_fb_builduser="AcJcYR_LpEJicfJOgufTsYbQ33O4mac6H5sMEH1OeI5noG8mlfAc-rcLLRBtIrRvD54"; e_fb_vipport="AcLdUxA4Xk4-nmG8kaJwX6aKS-w8XmOkW1J7qSUCIJ5jjrT4saRQ48nzYqmU"; e_clientaddr="AcL41lSYkHDShU4edAwd76Q_r4ZxQbbXbEFiGsvvaLhsQUXbtcVStd-Ck740UBwDkhA7cDi6T5jAvd4FJab8ML1q24jXq6o-GelRT1FKkU9UUcmx"; e_fb_vipaddr="AcIr1mL_xLqKK6RmRwqc4QHbckaO0Mub3qAjXb5aykBjzcbsXtnMaG15gyeLlpP71R_ZKVBLlkg8FYMoNmWHYhxFVHlNUxO2hg"; e_fb_configversion="AcLoFdUka7Q9Fsooc5RUWCIFvhOYwYnBmyyfOAp_lKcAwEqd_586FC1nJyXhlQ", http_request_error; e_proxy="AcKw17YzeDQR52SQRxHxZ0FJdVkm5__yOV5mch-wieXTCUZEGAJza7RaX_Rtd56aYT6HMsdoNFQiZ8g"; e_fb_binaryversion="AcLFAa6LXHgS-Earw2-Czai6ri7_-oRYiqY0bewPyBTxEuOaclqeg0DM4x7ovxlbSE0qmaLnU5tJzlODeKzKa7s6gCPC9KmRerM"; e_fb_httpversion="AcI2C8F470JVatwcUhfSOKrtBsAqXWVAwc2vj8Y2jG8Z5Kx6vZMaSTRg5h1E"; e_fb_responsebytes="AcIjBLlC9I8M6mNCvdz_CoM32Tooalc8el9lLvqeB8mM51BtmlQqGcm_f_V-"; e_fb_requesttime="AcIc8ZXN-tYPEjh3gDMcuucUItLG4m70a8m6sy9KjU9QuzSxLdrksMKqn7CE1OZSwCH_TUS_1Q"; e_fb_requesthandler="AcJZjpTrz4k80dhqWU-F45GA83frNl4gvYkkGDTP3Q8laLSwbVPTziXcgjHLFH38DfgKkf7pLCk"; e_fb_hostheader="AcIctARpbZQ-1OTmoWV9yDtXLh32sSYsA-_FrdpUaSGyeVDTc3S3y7bgFWiHl_pGzqzyAoO28ctlAu0g"; e_fb_requestsequencenumber="AcIjus2AsydeUXjhD44ihN6Uk0hFOLX3BRe909GW_ZX0i5eY1ZSLptNvhQ"; e_upip="AcLu8KR8HSQQ_G0XIFAKGH0EWq6jFzfkLydQfYaNSiIHXopJ-mRQRi7YYE3snnvTSPHBkoCl7iHmtzq0Tz5E7ShTjxZw2cOLRw"; e_fb_builduser="AcJ7_RIzFLAo20-xXSuu4szldh1Y-wDRDYYVVMFun6_HPOFDy148_IlAv5lH-_NuPhU"; e_fb_vipport="AcLohRO8Tju7MukeES-4FbVZHvnurhQRilagDoiXDgzD1W0Jm4tt4sTB8qS5"; e_clientaddr="AcJiN64TsXqw7S3BVGpl4010yLTKa0-5p0hEyg8d1pp_PktSDHcBEHk7CSPXAqDCmdG_5bv51doyPZXlog"; e_fb_vipaddr="AcInyXgrDPtqfYFFi3qJCQktUyAfPrXdbOryEJ7FjplOAEGB9jN67oEDIwQBnDZfJAF0nQ"; e_fb_configversion="AcICsOeMej6ar-0xmkYGs-7x2Il1K6IdOj0JPGHQ6xFtsyuGgso4yJYq3FaJ1g"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=149, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8282123898497681"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 22:28:59: Error on send one message facebookId => 8282123898497681 08/26/2024 22:28:59: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AqUwBMcbFyd19eB2Gmp_H_Y" } } 08/26/2024 22:28:59: Error on send one message facebookId => 8282123898497681 08/26/2024 22:28:59: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ArDKccVDaMoCCQrp1a3I_A0" } } 08/26/2024 22:28:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8282123898497681"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30414403, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AF44Q9QPVG_vTRf5ieNLP3T', 'x-fb-trace-id': 'E+SdmSw73dZ', 'x-fb-rev': '1015979500', 'x-fb-debug': '3VRsrL8BN13WMmlJcXCnqMgKWtuA5imrYf9p1oVBazvD+YbYU+CDXe2Y0z/EIwqlLauLRdPl4bzrQx65s06HDA==', 'x-fb-server-load': '28', date: 'Mon, 26 Aug 2024 22:31:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcITJszRIpluvTfdNIgwBtlsd4tqeiXjq2I4aXzLw5BUepqNljuJ_U_NXqdxHfCJnM45RhFfE9ir_zhrIF5W"; e_fb_binaryversion="AcJ0cZmwQyKD3zYTaMeSETC8d3SRffSb6o5r9kOZPmfvh85Ytynz9ih3GovANcHfU3m5aIm4_IX_XAyHdswNK-8r82feuzcOlOg"; e_fb_httpversion="AcIhAzYwPVLbJZTM674LgNrIjgOovl9rEh3NKQDUsbbHJRvzF4-3mpW-j6FW"; e_fb_responsebytes="AcLVOS4cLt8V6EoHipMmEnEPIVHXwlUxDsSHgLbA-NiX9fIuK01FCh1aUXNE"; e_fb_requesttime="AcK7m_SbUL3YmI6gSIau5qSRnGQ5BpDpSda15gO63DiPvv3gPSFg2DwcVXy8CVwjGV10Luoahw"; e_fb_requesthandler="AcJ4iK8xXzhXobTixf_XfrQXI9pGzN8efJvOIPvpV8JFxjE8LPe3YDEF6Zfw9pifo5VengWgCgs"; e_fb_hostheader="AcKrN79XS6r71G1KbdyEEZd259GHAU07pxU8oxkAmwSQDHDHyyefJ4EW39pBRaKIgCk4UO9Iy3l-nIg9"; e_fb_requestsequencenumber="AcLFqJehCc1H5FJvv7_YHQiBuMdp5974jM_WcyqBB5neNVRhJWNAKH6JmqT1"; e_upip="AcJJ6lKHbOW965qMrwW3uDdw3Vb9WXpvBNl9hO6cAzayb-Su-Y3cPCGHHNT1YMwbD8KzTCIAdPT6tjce04E2h5hQRGtlaA80HjSg7LE"; e_fb_builduser="AcJXNYPFWDfdSBV2dw2WEHYV7F3g_8bYMBMRXowowsKzt1b69iwkmtWI_d4Exl9VRO4"; e_fb_vipport="AcLNk0-PYhs-kdNX2-5Li_kA6jh1Z5wU8XiKVlPsbYBSLRfiL268QGDl-zSE"; e_clientaddr="AcJiwewalP6tAXLRx2M0tBUMXPXu9_h9z6xkwV1YJFVypC-edqffeowFEI4auMhWb_880Y_qmzgLv9Ybv8XyN16Wr716pfSw_EVm-iZ8vFn16gT3zw"; e_fb_vipaddr="AcJ16S_V92Q4FegbMkLKqABmIYwcpT7FjFVhxe6SmoztsmWxbPSrMuTXAlcE2RoFIihgypbWSTUeZTve3Ji9hxk22xwNtzPOCg"; e_fb_configversion="AcJdoZvKlRaqscqUTiJQYlBSWbu-l9wcbq7M2iyKHJ1H3KR5vfLtaIC41zUiYA", http_request_error; e_proxy="AcKQFn1Rr2dUBKazW92PkNQfJNu3LcHJxAEHS0z0d4kn4aB_Kn-_1--FUnLFt-fcWVJgL6Cv2lI90l4"; e_fb_binaryversion="AcK8s0SG4PL82ItXr1VDSS6_m-LpB4Rl1oyp2XeKCUYeIh4N8MpPaGuDLwTZNR3AsT0akWSJOqgXyzqsVnGDkx7SQMR5y8I8LwA"; e_fb_httpversion="AcLMd1ni4TikuYaiBNuP7pHxO9YEXVmmMqLToN75o0wa0EUUhTZ0gTKXGvEk"; e_fb_responsebytes="AcKQ3XknxZCIbg8ZbksC_0LmoLj5epPYf_njP-CJy4lYelNwC2bE_bfE02xF"; e_fb_requesttime="AcIxU41guI3ZZwReOFEWqhgQeeSLvMMKbpSjGFfpKTNMsl0r7SdAFOEmWWOv3I_y4op3SZL22w"; e_fb_requesthandler="AcJnCN8a0LUiAENciTSXTOL_uPxReFQngZgCOy0YImcGzFCyn4MMoBdVRX95u9eSkripsQigNRc"; e_fb_hostheader="AcJORX6tvocDAFopyLn2bDrZYONsXY0amuBu_QPeP4FVjrb4byuF5Zw3Souvo_F-RDyCx5jUi8Ypw7ha"; e_fb_requestsequencenumber="AcLeusJwoT1o6jcBD-IU7wvQ3Pus8CkiTnGlXAJXFJqVy-tI8dSn9fIE0Q"; e_upip="AcL2DuuBix65TqHgjai7Fo0Qy-TcggI8uCUjp-05f5kRgY6yhe0Dqbj6zxOFEJjZwXpUc7n0I6A2bkQT7e5nP0wvyi7uhoZuTg"; e_fb_builduser="AcLXBVNxDfzgPFYaA0z-CCElTx-Uu8VA9FTqG7qhdx6_NRX63oLLBfaMuI4RU-wIJSs"; e_fb_vipport="AcJw8q0eX4VgqUva_WE7IEgrI3prg_dkrdO0akTETUaY3s5uHr8ytv1A51mF"; e_clientaddr="AcICHpHVzpU37Y0rg8BB_EG29-ve9n-mhYOQqZCnewGf1LtEsLc2JEyU0qss3fr3BgtI8KM5ZOqXp4foMw"; e_fb_vipaddr="AcK7L8iUvQJXHv6xO7GOlLJFBFjE6aQwJkJfgepsVUEPzS-eSyx6EhYbXTrJ97rzrRTNOw"; e_fb_configversion="AcJfIuOKPhgq-k17a8jEABgS1AR-0VvA1zhbf-GUNPQyCIzDx7EQT32eP6ei7w"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=161, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8282123898497681"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 22:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:40:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:41:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 22:42:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:03:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:04:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:05:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:06:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:15:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ccf5efff349866cd520194 08/26/2024 23:18:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:19:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:20:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:21:01: Marker: 0 | ID: 66cd0dddff349866cd52043a | Error: cant_get_message 08/26/2024 23:21:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:27:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:28:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:28:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8282123898497681"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30431443, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AL1w4D76WKfbY1yN4ngvZYB', 'x-fb-trace-id': 'CebvVJjwpJN', 'x-fb-rev': '1015979500', 'x-fb-debug': 'J4UO2tkUq9q7bkm7ufcl+RPYp8k4Akng0PZI942NbLB/uLchCHjrPbOPZqdRsYp6JQJLv33VNSvU7UzHhTl4Yw==', 'x-fb-server-load': '33', date: 'Mon, 26 Aug 2024 23:31:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcL31JgSoCFoecc0lWuTvKx4fuRJmGAEGSKMTrmij7wnwPhSz47-ER8wRDQtphWyUDWYhcW6WRx6wvn1NSI"; e_fb_binaryversion="AcK_3WGsCXdjidoFCrM0awyXdJP8EEJjBL3N2ofysiwy5EREgrJdwVnwVFlB1dVBMeezXWKQsb_hRK5juGsoy1cGPI7M6EfEPvc"; e_fb_httpversion="AcJYuJ8f99h14HA1dR5VKe8cWh6yEPzGqhVxflC_TXRMfn6EwpVGSiOSWwrV"; e_fb_responsebytes="AcL2vLNO7ilVQopoRlNVJ1NhM5EaL83OaTkYdf2a-0j8l6nGCFS1skErxnI1"; e_fb_requesttime="AcKQp_bQRZueusw0No-2fpAuIciLRZdKVsoBT9Kq7ycfpB8sadwJ-lWP5PN2tT9bVbYCIcJtNQ"; e_fb_requesthandler="AcLT1l2l2jRxfgZqUriZESzMvL2bh1kIXtmEg3vMBvETemw4PszOmhurifTF3Cfaf52EJT2f8o8"; e_fb_hostheader="AcIYFzazFTu_O0GWvs-BfVhsm_P7mg1bPXxNN1ngPAdJGIF6GvuI-mlEB2-8F2s8-kgZIdvxbr5NSs2a"; e_fb_requestsequencenumber="AcI4d7wwYC6j29bgblZd-WVU1P8ADf9RUMz2mjIKy-TMM7wsgg-DF2-shPBtlw"; e_upip="AcLqCeBEtIa6VAgE6L1c0KKuT3O0TLaYS9YPGw7wEL0KJGlDFVQ-IZHX4dqzdbzBoOwCVrZqPJVQl29MeXnCa8SC38oYQnGUwWuWmjs"; e_fb_builduser="AcLCBmPwmu4afjz9qDEm-h7u3igqyQg71RJznL5VBj3BvH3I2sypMymFsR8lHRh4d88"; e_fb_vipport="AcL026Hyl8JzgZLMy6EnD3OMZN_0C2kmy66pUPFtCDFWDnY7WYMuoZveeebH"; e_clientaddr="AcLtiXZ6jjG8pVS23e7wGjrwbb8tOepF1kc1QWaT8aXytCABUi8FiTLtSGsy-cKq3hXHQ0dACL15O61SmzqQNujA6KyacbhDTBUOCQFb4i5iCucfMQ"; e_fb_vipaddr="AcIzX2y5RMIcN3v5cc0XX3Ev4v4IiDNKLkS1v5fCRDQN-FvgL8o_FUxCv4YUJV0_Q7KxXIg5SAuE5lwVNZLEPtawyG4sevgUeg"; e_fb_configversion="AcK9zomWrw0bFOEq_DLQYwGbsBr7wiUSjH84X2AwcboMcvOJ723n7WQtWuwpEO2irm96VoLHYUvgxicluqZ8Pegbgt2kXkFka6g", http_request_error; e_proxy="AcK3he10FpWqPtn54pnsjdHTdoWgwTWFgPVCaIvzKmfkjYp_4vjY96JCEx04cIH4HJucYaj5WuoLv78"; e_fb_binaryversion="AcJwDJQ9iJM-FSwUKaKQFvnTHvaFD66z0A2ggJiXKUUSGOUkLHbkAgHzUq5Ad4FtOECstG4F8HTaqiXlz7q6u25K5NKVsfeGk_U"; e_fb_httpversion="AcIDFtX8SeD-DKei5kTg-DSXTwEy22L3Erqh7SWIklFVHlotZf01bQI8wc1N"; e_fb_responsebytes="AcKwPJwFBAQY-fQUk7yLfsMDL1hhSP1sdv4jiyc2u-WxKN1Sjqoc-EbH-W87"; e_fb_requesttime="AcJTPA7K7wdyQn42K5tyIg5frboCkVEVMZCH9Xi5V59cy5ZZbI-Jdlcj_ue0sWDRl1q8Qhg7ug"; e_fb_requesthandler="AcLw1eyOoBd8ebVHiA6_9WnU30yYvMrZnrPU5D13Aq2jC9D46k9XpifQcOiuyLpYmriliUJDY5o"; e_fb_hostheader="AcJ35tHTxr7k_VB2Jt_rvsSqqr0CiZI4PUBO4USQlGnDjuj3mX5fFXTSlT_oeccyIDdBum_p2FJXK41u"; e_fb_requestsequencenumber="AcL_-EWhHrqmEtEJBooPnrMeN8nfS9Nu2MG47g351vGcaoKZqmUjfKWsyQ"; e_upip="AcLM86RKuY62hVCovmsKFmSG932-IM45e46sJhZRgvrlctqX0Ul1jO9f5Sd2gyBGyooFsQSVO-JvVX-l4reTKF2uu7UDa-kO5w"; e_fb_builduser="AcKp0FhJyenhHP6xZHHSBo0KDTApTmzIs9MYARAnULnXD5-v9cBTRKB6MWMBpRiWtgE"; e_fb_vipport="AcK3tzQBYEetmABsRF89ymQWMGDsvfjfIVw1SzLGWC_GTMii2H0gWIMVtkQO"; e_clientaddr="AcK4i5JvkS_KfA9W6Y3Zh6-fbXjd7UfW-o10zGyN4OXd9sgdVmiqmhykZosgHcF2_k8oPyaj0jrwAA402A"; e_fb_vipaddr="AcIils2asMEY-YHaqwKkgGoFJRP2swfi4lq1pP8cXMLrkDi1RS4WodjYeptAsIvWen5a7A"; e_fb_configversion="AcKrx7dcblEEiVcpky2xZVLBDlf11RR4-XZFmN4TF6t_RMNYmCr1RxtOP_fEqw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=159, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8282123898497681"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 23:29:01: Error on send one message facebookId => 8282123898497681 08/26/2024 23:29:01: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AkZEA1-hPuDPhszLRiout1n" } } 08/26/2024 23:29:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:29:01: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8282123898497681"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30431606, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_2ZvJkzuvy53bLHTc_4jKU', 'x-fb-trace-id': 'GFPgNG0ls1I', 'x-fb-rev': '1015979500', 'x-fb-debug': 'ugoWIMao/KE2j22MFb7hb+NzrzopX9sZCh/4HcS6rPuAdvy2OCGiObrQmxvhczWemhlLry1Xr44n4BHr2rNqAQ==', 'x-fb-server-load': '29', date: 'Mon, 26 Aug 2024 23:31:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJmSTVDHFIgLi4Z9UZuvBXDjMS8r9JbV_rbUOv7tSMv7AX2Hk3_NATnz3HlKaoxO7TwnfwOT6PzW7vTT9QE"; e_fb_binaryversion="AcIQnMH43gAoi4zPOHOlh0QX13r2LtTOThpT8SegJrlegxJOqRzyEy-RORrIBg4jaQ2D_fKto2FOMl3KFZQ4VEMBwqmnORf06qw"; e_fb_httpversion="AcJqmM8kKt9gbvRMU-ZE6ncsMr5zahbPav3ES1jgoToEmlO1M8W1ylkWUbfH"; e_fb_responsebytes="AcLePh2lCHNAuYQ4hWlDIVHQQ1PB5ipk16IRs2ZX8u4G6IDCqZb43RFe89hw"; e_fb_requesttime="AcI7lAxFaIwzm7yiYVPMkdgd4ZEb2SRffnp4YNMYsVBTP6WbH8mPxJm2sMQiDF6M2NW4XCAKnA"; e_fb_requesthandler="AcILjCU0IenjuEqIx1O642bOTXpIzwpZuvvwCmg3pELENmAD7AMf5KRV4v1TEQZy1PQ8vFE4ctE"; e_fb_hostheader="AcIrbVtJbchCBEsM_862gLmy32bx3j52Coiho70VJkY0JGa6kbjSnHZHMDFA8tL4sVsYPoHoNW5EGjM9"; e_fb_requestsequencenumber="AcK7dk7vg2jI8aSGaQo-aK3zNSx6M5nbqb77CNlO1dFGIM2HUBYTpJXkX5O2"; e_upip="AcJ8ZbhWzPBDspXNns19MM_AZBOiBZAd0zTQLHujMpElLJeygYK0rrmUFDYfwtoFWIBnD8YvA5X1cwQJqAOLjI4spp_N7OetCb9Nwo0"; e_fb_builduser="AcLxxRQWCc0miGzghYRBuBXGQDtk-8L-UaF6nMPWyjHHzOIXlraod-acjtw2DAlc1ME"; e_fb_vipport="AcI1vSVgmRKXbT0Vb_kaKRxbdnbncoQ-87PQZfaps5zU1bqdd5X-UVsr2V9N"; e_clientaddr="AcLQ6oPvNGilerJA3XmnteTIDhhJ_L9hHiYu9ovGQ9htn0hYD5BILf1MCFQzo0vvIQ46d3mougsguLL5pnFbO0Bn4DQumYGCgeTB60ElTVza4hjtSA"; e_fb_vipaddr="AcLDef0bmJtl5SMNmqWljlWHVWYSjdVE4YDBbmlZ4jhcB8Pam02WAONtM5ERIUne1DIgND3Jjcp8bo2KjJbfrLbaXe9iS44GDw"; e_fb_configversion="AcLzxtzlaOV0kEMcCrZBgQx5sGPVBw0znZK2HTjp15SPOGBQKW4CeAAJwbyj-A", http_request_error; e_proxy="AcJHfDLEoAdUne31J0wFmq1cx9cFUitz2VT2n_061vAWz-eSfQXVXO1pDn-ig3XDqzdDRe04rCi4tOs"; e_fb_binaryversion="AcKzM95YLG0bAlIg1_HFvgu5qvnvF20xwscll3snLrDN7EtvsX6tiujvkrodiosexsuQbf1UwS4qxEjRfVUHHUdCR2iuKoXhvtU"; e_fb_httpversion="AcJDCY7wqIbpgSpdgOsucxZiVfyUm8bWcppIGJKVP3Vr-0fcrcMJMS7EQrGw"; e_fb_responsebytes="AcKb5J3MsRaFSGZ3l-CgOqG2l5yAPoTBHMJdBnWk2sChVuayehDtYLxyvaNZ"; e_fb_requesttime="AcI29HIcuxckHu0UIKXLSh3hkMTKxWgM72TkHy03RqszrNRLlrM2m5KCGj1xf7cwTPZwAGSJ5Q"; e_fb_requesthandler="AcL-wpmdM4U4ocKgaK03rMw38AGukrgIFq3Xd99OA4v9NLuuUtyiHoL4ZIIIW-cg1KohuvMjnl0"; e_fb_hostheader="AcJvdkGcqlC3I7n9A4E6K_5KXqFALBmBWM5Amz2UtUeHY3mCRxp8WMIBwe0dC_FaVW1VhNmIV_7it4yw"; e_fb_requestsequencenumber="AcJA8Kq3WWMuTqhj2JT9H1zqSZKsTePQiacGR07m1hCDGbt7e7GgE1F1KA"; e_upip="AcKWEvRlkF1nRoY7t_qBRFVcfU6Q7J77l-nZmJ2KD6IRlbo1_fhBFOgToTvo7A6wFHrxm3Zf3vvToc_7jJSutynTuPiLlqkadQ"; e_fb_builduser="AcKOmHM8VEiz8ESXP9GsQaqn5F0Y1QFufhM0nqk5t493WwAaP9ncuj1mFcU3puFRUn8"; e_fb_vipport="AcJh0yV8sAcmTC0xzxhFfLqZpW2nz0SdHuUfetue-2X7UNoqRv5ufocTs9mc"; e_clientaddr="AcJR1RW6rgJTOW_461frglCzPvgJlHkDt4dqybyuGMF4LMq0gMf_d23TeMjnmQqNujiQirFwfLJrfLk-ZQ"; e_fb_vipaddr="AcLjIAL7wBPqfV1kXWDgV0oOC1mjWM89qZ3_U1CCtYiEz3JGWBJlmC-bK9HhSXfevPvXCQ"; e_fb_configversion="AcKhwCCV2WB8PQf6f5Lqi_cxQfwAQfKOOe7nnxMP9zeJF_sUwU1olBwnBhcIfw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8282123898497681"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/26/2024 23:29:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:30:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:40:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:41:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:42:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/26/2024 23:57:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ca98d0ff349866cd51dc5e 08/27/2024 00:27:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 00:28:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 00:29:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 00:30:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 02:15:44: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/27/2024 02:23:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 02:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 02:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 02:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 03:23:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 03:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 03:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 03:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 03:28:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cbae08ff349866cd51eb96 08/27/2024 06:23:46: Request bot not found: { id: '1645747618995613' } 08/27/2024 08:18:35: Request bot not found: { id: '1591915494408146' } 08/27/2024 08:18:48: Request bot not found: { id: '1591915494408146' } 08/27/2024 08:19:29: Request bot not found: { id: '1591915494408146' } 08/27/2024 10:36:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 10:37:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 10:38:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 10:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 10:48:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 10:49:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 10:50:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 10:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 11:48:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 11:49:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 11:50:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 11:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 14:31:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 14:33:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 14:33:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 14:35:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:04:08: Marker: 0 | ID: 66cdeae8ff349866cd5206a3 | Error: cant_get_message 08/27/2024 15:07:21: Request bot not found: { id: '108233141067249' } 08/27/2024 15:09:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:10:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:10:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:11:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:11:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:12:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:12:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:31:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:32:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:33:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:34:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:49:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:50:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 15:52:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 16:31:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/27/2024 16:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 16:40:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 16:41:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 16:43:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 16:55:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 16:56:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 16:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 16:58:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:40:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:41:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:42:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:55:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:56:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:58:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 17:58:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 18:00:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 18:00:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 18:57:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 18:58:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 18:59:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 19:00:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 19:38:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 19:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 19:40:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 19:41:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 20:38:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 20:39:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 20:40:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 20:41:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 21:44:17: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/27/2024 21:50:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 21:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 21:52:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 21:53:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:02:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:03:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:04:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:05:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:26:28: Error switching inputType 08/27/2024 22:30:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cc9c33ff349866cd51fa74 08/27/2024 22:30:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cc9c33ff349866cd51fa74 08/27/2024 22:32:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:33:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:34:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:35:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:35:58: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cc3698ff349866cd51f446 08/27/2024 22:43:29: Request bot not found: { id: '1852395741674621' } 08/27/2024 22:50:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:51:59: Marker: 0 | ID: 66ce588fff349866cd520a83 | Error: cant_get_message 08/27/2024 22:52:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:53:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:58:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 22:59:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:00:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:01:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:02:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:03:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:04:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:05:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:16:13: Error switching inputType 08/27/2024 23:18:19: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30714464, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 27 Aug 2024 23:20:21 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/27/2024 23:18:21: Error on send one message facebookId => 7716965488433031 08/27/2024 23:18:21: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/edee17f0-64ca-11ef-af5e-53b8066cf369__1724800820975.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AZmZY9UvRcfZn3tlRxkZ47y" } } 08/27/2024 23:23:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:27:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:29:00: Error on send one message facebookId => 7716965488433031 08/27/2024 23:29:00: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/edee17f0-64ca-11ef-af5e-53b8066cf369__1724800820975.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ASttyJP8RfeINg9d9uC9CrH" } } 08/27/2024 23:32:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:33:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:34:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:35:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/27/2024 23:56:51: Error switching inputType 08/28/2024 00:02:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:03:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:04:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:05:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:23:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:24:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:25:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:25:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:26:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:28:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:30:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:31:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:32:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 00:33:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:02:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:03:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:04:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:05:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:30:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:31:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:32:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:33:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:50:49: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/28/2024 01:56:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:57:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:57:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:58:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:58:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:59:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 01:59:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 02:12:13: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8855208737835976?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30758204, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8855208737835976?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8855208737835976?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8855208737835976?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8855208737835976?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjtmwEsUAe3uM9_udRg-eu8', 'x-fb-trace-id': 'HOfqKUA9LMm', 'x-fb-rev': '1016015341', 'x-fb-debug': 'ONT8A5AJVC8RHg9PTGPk7zvCdGyFAaR2QA7HxlUPNgcZwIhcyRrpiox1QGflPhDt4/XBGluAzQd5jpSBj/G82g==', 'x-fb-server-load': '28', date: 'Wed, 28 Aug 2024 02:14:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJLL6ps78RzcV-2YCoJBI_ZJ2ts3_7ck4q5XPdHL98p9RWDW0eXkGeAGZQPi025Yq99nrNgrg13rNQLrO4"; e_fb_binaryversion="AcK1YZNgcz2OROcIyGioz6kNDNlKBDRPOhDMCcFgkiFNn_9Yc8uzOCw_TI20nNTQJRmnzxr4dhk6ryXDxjIPTasaiwnZGyCK4qY"; e_fb_httpversion="AcIODUoxbY-ExctryZAqSz17cef1utVzpzCCx2jzQPA8HZYNehvmb95xm5Qq"; e_fb_responsebytes="AcJbklnKSzZhpr0SY8jHFhmsklwtURuKjnd9xItMHpU4in1RRrcc1k80pWxL"; e_fb_requesttime="AcK-QvqeEbulNe53L-O2ONvE454tsg7Qv68jr242phf9mClKjUnLIEDwEuelrW1mFI7nyeA-gQ"; e_fb_requesthandler="AcKFbWBYqiehyZPL7BezRrTXpocIv-KJWKeoepCrDlK3ZNSg_QRX4R-4j-bIj9PLL6CgG1_VghE"; e_fb_hostheader="AcIHxkPSWJnGMHsy2dzN1XDrPMgYMUIrFwv0KvBUg_qsTpMEGyt26RqcbsyLckpBYDeKjbYutgxL-inz"; e_fb_requestsequencenumber="AcIsVZgKWy5tJd6rI4hFhWZcV-Muc7I8YOyTz8sJ0egW4tETT9keq0kvpcXv"; e_upip="AcJ9a01GgEGBO3qjrOGgzPm5KEgq13EDh71XUUykZGIp7NOrSLRXIZVBGBd9srUwZTJK_61d_LH8Ntyjka5vfsjMndmIRNEBq1IQfEs"; e_fb_builduser="AcKFG-7M-REWutQ2z5AQXheGXk8VNx_WXlVAbGxgmOkzjhYbsI8rG2O66MI6DC9jEJQ"; e_fb_vipport="AcJwKbtgVJ-FFw9AMV63tfcJNVXIEUyre3C6RXkiayQE6uTkvBllp4cWPBxC"; e_clientaddr="AcLow2pEKK6xL46Y6g5Q8ELApws9HxBnYjoNmVluGXtRt763ENTcJKpjFjpd8CDtfpurvv-ovk2Oq_iRJadlllFfv-1kKfvf9NU4n-S_p6zr3ARN0A"; e_fb_vipaddr="AcIJ36QSx7UAi3OaArNmC6V5sLIimU_d2m5W1PMhfXLYgYV1Pk2SBbVwxB07eajxUDOV72LSoLA0lZ9fcWOW9WpVxRE7g4q1jQ"; e_fb_configversion="AcJEtdbQrghi17mf2yRJWvWdKhOzsKAlCqjlj7uSr6miKgKm9VNpKrfIHPRpmA", http_request_error; e_fb_configversion="AcKV2jKwxm0lqKw_2CIYxixp0If0c0rNjopgxb1omkE5PfyWRuVtuLpqNpHWng"; e_clientaddr="AcJcbqOJhsfVdZhFo84JD7iu3N5kcM-nW5ZcWjyKEJyVobBLOl1UeQE5eSzXtgw_u5MSRdRrVBSsYrLu9A"; e_fb_vipport="AcKhK6n7Hj58ddDyZlkjo7YbRsxv6djPFkAWCD0eO9P7s5PZwq9PUZQKK01t"; e_upip="AcI_tf6KwdNX9cbbnWbdtFoiBO8plrIDmd9_KVY1d1AB-amyrHZCs-65HotW-Z2TyVWHKasGAI9uWyJ8O_Krn49iTw8TaQ9kCA"; e_fb_requestsequencenumber="AcKl8xdAkdEjeEV0ihJaw1pEaig-l38ntItjVw-Mxoa_5YyPKKpFex2Sxg"; e_fb_hostheader="AcLYVH62uNyBPi666tMvlvtm_yYZj0XNoyE3uVAmYjUa11j-_DH5dzd1r-d-jQvrEa6K_fUPbeeM2e0z"; e_fb_vipaddr="AcKKSMymmB43Al__BYW4NnABYNFk1RqFwD5rjlRZuDFMSDzzrkJbjtvqCHGj0J3CnSB8gg"; e_fb_requesthandler="AcLHvoF5MqdpyxibwGGcy5mTwop1wEaCGjZPUJbiGxXxQtf4ZroeqpltFba1dUBOwwq-UJr9v24"; e_fb_requesttime="AcLB5TUZxcV69xqB4tvE6Wxtb9v-c_hCPylIDsbIlda51p0O7wFO3pCs-TJpuf1ZaOBGBWQJvw"; e_fb_builduser="AcKf4kAONRvVJt0YZdjuygn9xQ-600z06KjiU1KwtDE6n8xHZKXsxnH5yrws45Cdx4c"; e_fb_httpversion="AcIhy40BXzMYGbUWAnLZQtKQeyJ1mJhdh49iK1Cg0B6IsNc0W6H2H5lBClrP"; e_fb_binaryversion="AcLgHHL9jhe7-ABVZmmgdqEGkYE6CHeuBpZUM6dmaKRFCI_DrmlI1rQLW_GuaB8neLY7H-cTRmBYysf1okJHCTWA_aMz0x2fesU"; e_proxy="AcLJ1WIFnTSkz8QMt4UzfQMsHe1-9gv3GBKR8746-S-QKC3RSQq4vHXxw7MzNSGjzHBTDEkfssxrcuE"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=324, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8855208737835976?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8855208737835976?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8855208737835976?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 02:12:13: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/28/2024 02:12:13: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 08/28/2024 02:12:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8855208737835976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30758362, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aen4H6igfyFGmYWi1yGHbuj', 'x-fb-trace-id': 'Cfeiv9VfBaB', 'x-fb-rev': '1016015341', 'x-fb-debug': 'WGmpUObv0vhNtsK8CMLMGd6IaES1S8xOMgBWJBbcEjVTHSKue6s/XVJaBxABYJdhDB31JDAMquxrReREKhotAg==', 'x-fb-server-load': '26', date: 'Wed, 28 Aug 2024 02:14:15 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcImI3LugOARo0LcnM1PSGJjqmR7hVt54AwlkCdLFnxd96DQSeQHDXrKOUMheTH8TPNKBwETCvbJG_z6Qlkf"; e_fb_binaryversion="AcKBmbHj4ANgP3EEED0UZgGO3BBp6mr_hDErJJzYzqwe82niU16ceirqLtjyGYPwgZCke75GIJAS4VLcnx5ymilUtx7F7Fh9f8s"; e_fb_httpversion="AcKkRF8D9d0Rn5OTUyxo9DfHAUMihYaekD4kNNo06TXHqNOKInxbZg4pOO6N"; e_fb_responsebytes="AcJoCR8x_7-z_-RZzsDZSbNOB4kuYQJIpfYnEPsCqznDgqL08qBiPwoSMDmW"; e_fb_requesttime="AcIMXPGPdYbPrMIk7bhAoOHN0QS1ox-bnHKM1yIr37etWJTKpSlb-FyNbs1w7XLsft-DhSA1kA"; e_fb_requesthandler="AcJtp1yc5wYXMufmlhTRWK6jGYNrV0vxGRVnB2rKq1Y67KkepY8Ds4lT8UeFmiOYETYmQ6OBChA"; e_fb_hostheader="AcKVnHutgjLkuNIINubyyJs68Pon1fAmqKIOXamoMXtA7DpeuGDkA6nJwfB5mFoqDvFDr-wfFXdkDobV"; e_fb_requestsequencenumber="AcL4d8-8e6T4bVU8R8jsAXTdHpO0tI2v1NtV8jLZ52IiVwlPYWNC6wGfrCCp"; e_upip="AcI74pGkB9LnFNbKe7Tg_BhiZIzDotsGv_jzBCd6WR_-doLIqUyy3iRg36S6naT7yAh8RFBGxdpk735upnFi6p3-rjb6gHY39k3pWkc"; e_fb_builduser="AcLpZTfGdk5df1-PB_BD6JxtjJKDi73RaASbRDojCHeyk9mW_VCrtbHt1ZDm0FfQ-f8"; e_fb_vipport="AcLpct6R1lZRrWrZ5wxczbQ72-gdvRe8H6Q4FsGTASJa7VAh619shRM-E3zd"; e_clientaddr="AcKXX_x4BdnVPx6EmVBu2_e67Y_baTcuIvdskkM1Q-rkFi60kUb2AhB0p2KIhmwnfRfv8jE4XprC09M9VlWavnlpmOL2VOXGHObKCXxONTYg6D35jQ"; e_fb_vipaddr="AcIbMh4nOhD13JHTSHmlInG_Wt5O2woqZUZTpeoU4yeyBNFHFj1s-tPMNzCZBRjHDu8j0uL10fXg4JfTCBGo1qHxx1JAF3kuDw"; e_fb_configversion="AcKskDer4iYtu7-qI0NzY9tZxjlyeMXf7afIsB2667UoBOtQav2M8DA5l3lCAA", http_request_error; e_fb_configversion="AcKxC985LIkVIH1sX5-UI5s5lRNDIImLCgRpTIr_frhILtHAANvU6GKDRZoZjA"; e_clientaddr="AcL0JTC4oxln4-Ud-0Qr2Q_Mqp2QPtCgSXuDqB8Rjkm6O7PUij0-ROJI-BenW-eGDZaNPrsdBT56Sh23Lg"; e_fb_vipport="AcKkdtfvmSMZJ9nX42jU9nDwSYx9V647aRgcttZfabne9gr11148e08yNoUU"; e_upip="AcLG2gyhILdrVIefgDlaayc4LNRagjywzZXCvfTwQaYkq11q2rHjvAmn65IvzHyA54TO3aKxOTZpibPDk3DXIuwtAWFPeIINJA"; e_fb_requestsequencenumber="AcJSK9O_2LGH3N43Q5Pj7Vn-BgQQTuDbf0sM1fVNk2AL64ULy56FcUA6cQ"; e_fb_hostheader="AcJ7LrJnLrKZBH7VK1ERkm53ntLRdnsLYxAzxoAFPQAeRfCs33n75MrAhWtYkuxft1LIkjsRCLh4m36A"; e_fb_vipaddr="AcISPc_SdUdfFqmTinta6qIKeYCsF-Lo5a0Sr8WOOYZcWHR0kxSwBeIiCgDMHS8XMkq_Kg"; e_fb_requesthandler="AcKHc9Xz63Dwv7hc4lO9r8D5WJNwDNUOxSVrbFE-wYrmWzDZi-Pa7EVCUjlaY0AytiydwF2bWOQ"; e_fb_requesttime="AcLaDeG0Wgyr8UKKOk4rbVWMF_bAY7GS7rXUpj4uT5mio1GgTZeU_AISgL7A9B5W0KmLJkBGtg"; e_fb_builduser="AcJ7TBigogCStyJhhNNW0WZneU618fTNVeyKEUFDigeqwP1rKKgscHFGzSW7_FhE1vs"; e_fb_httpversion="AcKjg_ysJwXd3oGubUAoL04Otv089ZKbaGMA-QGKKy9WS1TLXKbbGjkO2pV_"; e_fb_binaryversion="AcJOD3dtbuF4Iv-0_ZDQjSKw65-h9iuspJeDoNCOrQ_UnSLkz9XoIVbf74hzDuB_kqa1MV-YMLxbjX8ctMWOLKnZof63p0c2kJg"; e_proxy="AcKrOOVmj-ZErWsv8lNmh74qeAXsCOJTkLMZrw2lVtwih4E_Dkbs3fNQgoNA2FqcVMGRd7feR0w07R0"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=140, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8855208737835976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 02:12:15: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 66ce877dff349866cd520dd3 | [object Object] | 08/28/2024 02:12:15: Error on send one message facebookId => 8855208737835976 08/28/2024 02:12:15: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "A064fxp0_5eSsk75ME7jR42" } } 08/28/2024 02:12:17: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66ce877dff349866cd520dd3 | [object Object] | 08/28/2024 02:12:17: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8855208737835976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30758455, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuI-NkeWiSK9V7iuXVh9PTv', 'x-fb-trace-id': 'Dm7PgtuB0FD', 'x-fb-rev': '1016015341', 'x-fb-debug': '8N3nWyaaPT2o4dYFOpmNv4adW7XD9uQgkj9cIf+zt+Iqif78OImbIA2yKXzg3sCtbhsVgzezkjTVaRUTqnFG8Q==', 'x-fb-server-load': '30', date: 'Wed, 28 Aug 2024 02:14:19 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJ1SWi1jLhYz3TQ9DdniMOouQIH4qYmDgfs51UEB97VWXjPmesgZqOUOwOiqk1dyEhznIo_eidIF7YJddpg"; e_fb_binaryversion="AcLRgpiLDvfyH-u_PGQ6ak59oCr17Vmcw-9mXtFRfx2acEhtaQXT66DMKEY1otIE8jYFrngjaDT4oW27sJdMTDaSjl1GljFdTeo"; e_fb_httpversion="AcI9BGbk1mD-1KgGNc11U-O3VlTXEovQ-mXNTHYrMDv8aDSkuYA86UYVUDWT"; e_fb_responsebytes="AcLEnEQ9TiJeBSpwz8X_2onu_qsjOokfm53qNIbLGt7y-sK_tJF420Zz8QzT"; e_fb_requesttime="AcLDx5_tayYsLii28l2i_Tw3D6p0qjXHyUf_GJ1Rq224Eaj9f0C3jzaRMg5OI8khQwNa33k0_g"; e_fb_requesthandler="AcJO3OQ0ci5rz8oI62ehhFqKo4U-3uGDrz_GzNrPb6lQwu-kFGPthDcwtMkGBJvRa6rsnBaKmkk"; e_fb_hostheader="AcKsvBu01u_b76TFSU887sLDK8FmjH8eepEbSOuuRf4YTHIXTeJ7nfk8UlWQKafN5mCdC8g_yYf7xRGH"; e_fb_requestsequencenumber="AcKitJ3Mz_7duDy4pnG2fWSHflQLd_DcpDHnDjZKrOuUB4gJ5yydTKrCh2lt"; e_upip="AcLeEkjCpD0bjDxtqKcwePHw7w1gOy-VqL-oUVZYpcUvIvoY8L9qHn2rji73G65p_a0gj-zgiXUK0wmytepXx0B75Im_gzY4DppkrA"; e_fb_builduser="AcJLgvQPOOMjOW98uxIh2wk9ku0Dsui91ag57g8NAQcmLopG-17cnbYhJlu5LzJCgHQ"; e_fb_vipport="AcIrkM_QXku9RaYFD-6-TpckJ0MylsjKyOrN0eqD_XQ_I6_PguOuER2PtnL5"; e_clientaddr="AcICzxmrVY796b95b91Hc7Pn8Ln0FszN7YmimX2L-lPFLWxNPfnOdN1C0DY2X3NnZync0z0Sx2wt9GEG8KBV_fvkChadOVDT5GlpzE5sPoiRStgF"; e_fb_vipaddr="AcLK-ScXZiQG3GhbHkC3Tk7yJqwJhruHVsS5LKmMj8fcY9NZBz4O1vHjkWQCR-diesB2s9-Rsx7axNOYewIVzwx0gNNoIfy_YQ"; e_fb_configversion="AcLrLFcmEdTJgTIHUUUMsQpq9LNGsx6Mhbl32SshJL5E8U-rErkMOP3Wn9Ht_A", http_request_error; e_fb_configversion="AcKS7WSyJ2bkspwzRW0HfrGSJ-AVIBWHzwYdR1SP8yiK8OBrY98ZPYaL4N1wNQ"; e_clientaddr="AcKE-osLS9PgNlYCHWGeM1ordl8h2vPAcNf4r6haAoj7dd0mCuN_XPDgizHCEJkpqUdfvKgtzn6jyivwpw"; e_fb_vipport="AcLjYgg9BpXn058d2m-XaNH3cWXFxFO3z2Mg8cf03dptzHc4aLq70qWX2hgW"; e_upip="AcKyiQohNG4S0uAQkJXDeoIzwi2uGYXmM3VY_qiJbeQ18cxq_bDJ7XHvwnWxsq6jIsBNgd6NeOImbR6G9DAsC25WBCThB4wn5w"; e_fb_requestsequencenumber="AcKIDQ3VN5cMKnFHBi_iESkFguMK3d_vqAjh6aAoIA6M6FG3nKQqUDtw6w"; e_fb_hostheader="AcKels2y8uaf6-x1Bzr0DOofH13AujeKaHKhifuEuWuD473UcCGpBgd94qoTIrf8356jjPITGs_dw86e"; e_fb_vipaddr="AcIvWkT15WDWr8B0QkjmDE0BhoFcit0D9NwjYyWXuOz2krfDyhCOrnZ50j6xXRGMSNnT_A"; e_fb_requesthandler="AcJRHM1mV2mVpnNulhrAP7JNaERoBaZYMBQIsV8PShr4yLJZFATBFlN7uM06vV5sEM5x5H6lxIU"; e_fb_requesttime="AcL3AlVxFZpVjl-mF4peAC1brL8zG1MDl1SCxvzjAoQDLPVsPg__QJAedlP-PZBNVqUV1OrYqA"; e_fb_builduser="AcJJuZ88N9mv-X7ecyCMx-mSGhz509Z3AajbrxiFj4B58dsq3byGnZIdXDR0pBApFhE"; e_fb_httpversion="AcJN_5YiRnuXwtCMJf5GQX2Hcvoaoh8w80BnPQvBrv_Pi0V7khBWDaFLkdzC"; e_fb_binaryversion="AcIKIoQO3OCBr6AVESSqd_QXhIg-ESIvwQS-qMUStFPwQ4ik5JO2Z1Z-d8yEy4vJU96TfK7yMvnaZI941dA02PwQKOpoHoUoXjI"; e_proxy="AcIiAuBsErVVdHgpQKx5Fl8oIIZJUWAw_H7XzxcwzX19SajwdnhfnsaaBsqaFIFqjoWdzEGJuHFvfYI"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=135, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8855208737835976"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 02:12:17: Error on send one message facebookId => 8855208737835976 08/28/2024 02:12:17: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AV-gXVljA9NMkt-36bBaRIZ" } } 08/28/2024 02:12:19: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 66ce877dff349866cd520dd3 | [object Object] | 08/28/2024 02:12:19: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 08/28/2024 02:12:20: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8855208737835976"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30758593, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AERZ8S-YJYC5ab9_G3p_Oe6', 'x-fb-trace-id': 'He2qMCO/cMA', 'x-fb-rev': '1016015341', 'x-fb-debug': 'KJiBnkxt20b4hWWDSzzGDF1+9ofTTU5qcAvvcpKEZRrg0xcGG4luydlMvVioPbxZ9kq7bArbhqRQfL6hd19nSg==', 'x-fb-server-load': '26', date: 'Wed, 28 Aug 2024 02:14:22 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJGEA5zBKtCz2G-NXNPrQoRBmqt8gGgJTJthDsrK_lLJ_s27m3UiEtEycGi8--gLH-pT7zXWWqrMb67yOc"; e_fb_binaryversion="AcJa0eLNxMspAbZ6havY1Q4xfxi0ovhTzMTfwNbcSnJc17sGKc8Lm8CXCadseAyZjj0uuhhv5KfRjn-3iAev1N6f5MM8GPCoTyM"; e_fb_httpversion="AcLCtvxUUju87DlCVw5r7xr9kLAdIOtjMTJx6qvgWAeY35l7t09dGby15j0K"; e_fb_responsebytes="AcLohMRDGvFxK_SR4Cy57BRjTlf0fzUR48v4PjOJqfOySY6ZQ3F5eNW3WLZM"; e_fb_requesttime="AcJDSqSKXXT-lkZo7CmNVCPFfbC3Gs_bjF09XqvzYGSKh5HSELQOQVYnmYXELlJpArPZyGRlWg"; e_fb_requesthandler="AcL2CJOGs5JLznxODwoHf25AOBq0ofc4_YE8jV5GldspgVjxFFk7GPuw-zdAKgnTE1-Uwgwy-as"; e_fb_hostheader="AcIc5N6gbbKfiZ0N8PUcqWoYhm5lQLrvx4Z9JxRKd4h2NtmTBp3UTIhUXNhAFsE6HzsgykvNnJ-OZfvg"; e_fb_requestsequencenumber="AcJGTsIOiAOMW4JDivIzV18TTTi7UOkD8blRQguGjOgfvHRQeiQQXLUbcWA"; e_upip="AcIujgh9D7eeHgbFaKvFsrTzb4tUvUDhdJGQlNQHoBPX8p4pDw7OlFIP1Ybm7EO6jetA9P9pk5y9FU9-MoBtUC74gpXDM0MtoX8b-Z0"; e_fb_builduser="AcKfvKMwtzOa2LQSVCgNVpcxaZEBhlHR3XmBKJJ1N6ueRpG7U8dQUl_WsGvDV21VvNw"; e_fb_vipport="AcK7Bmr6hA2DG_wGqx8y2Dtr7ZCfzTHwnZIRg-nPu1XB9KYjkS1FAOZfXPGj"; e_clientaddr="AcI3pD0llz7laSw16GSbFkb3_cuMi16LRxlK7refZ1nceQaO7Nob5BX7lEZg5ydfyL7TDXWpDKKfvkiwNN04l0l4erpmVGVG4T6G9y5u5-eVhIJO"; e_fb_vipaddr="AcIxp1KlTKtgg0WQ0fed2c0GFRkpVNeO5hOjAgepvLvzG_rK8WGAUOiOG4Q5Hu28SsZi3Xe-lmo7nkb6tumS1Nvu4v6iNloaNw"; e_fb_configversion="AcIgSdDxVr8qA54QI8lGpcb-ry695CdV-4OTX6iyvY8np36RW3XAUbwK1TP0Rw", http_request_error; e_fb_configversion="AcKmiBRWXXKl1UFR61N7zY472IlWVTiFzmHG34dnhgAaKVAtpvpj4UHHrzD8SQ"; e_clientaddr="AcLctl6EExRcxxEs9TH5FcKOpRXliSArbe1s1kBWBBpV2LT54c2YBRwPAzsd8S04VS0x5SKboQqAagz7zQ"; e_fb_vipport="AcI_PjLhRrhTtwLV0dkJ92VWsLUPm2vsmAKrvhcmLoaVo4oYwdCBJd66QZMz"; e_upip="AcLZgBRHU3C1nOJFx_0TZSHyGwmoFgmEWOc1K1GmcqydjIMtJY3nFRhpY04GTjDd_c2v-TNYfcjmHkt_19qHXRp0vMqehON6mA"; e_fb_requestsequencenumber="AcIKni4axJR0lsP-yyN3jrBD85cSr0Q8xa5YMav6MVDPzSQZUTm_iV-mgA"; e_fb_hostheader="AcI24ASyyU4I6hYACx6mG8TitY6LR3LLF22FoDro32VHPffghKgfgPJN3tW12wHZtEy_ifEcLcVcOM2P"; e_fb_vipaddr="AcI8oXO-V4oWXzK6O-CSyU7c_7uFqiHmFWY6h0JVZ5SYTQFout4EavLSVVbnu7XV-xyP6A"; e_fb_requesthandler="AcKVaOMWOI_veMusEp_-Jbyt9ppBoEkqTVhcP6hgwDZ5eoC4UTOtOwotnxYAav_IyiHLGltG1Ig"; e_fb_requesttime="AcJOEoiq_O2pS0lA9yw5hQGeJDk3nQbn4OaGS7i7ZNeBuEbjRmMWv9tkiTU6OIlMVVWH7URp9Q"; e_fb_builduser="AcLgypkhZ2T6LngN8vu_E-3CG-DaLdgBJ8pV9q8NfbzxmfoP2fRZ3TZPk6sX9fd9Uyw"; e_fb_httpversion="AcIynKseW0fWSQ_muzQJCCIJA77VWXSaCDwrNfHffB0lzAPV8umrMbeQJS0y"; e_fb_binaryversion="AcJhns9-aZ2S5nbfUWvP8_7AcQqpDGEl4vWaNGzkjMf243lIXXkarP1Ucy4DxWfAOjHPSLhm81rwXMu2g7SgXy9_V4FJGvXoVJs"; e_proxy="AcKdPN7qd7J5SUAzOgioCSeJ4MISA3qe9n-VAv3jMAzu0APn8dEQYTJc9dkRSOJWdItrOfmI0s23sck"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=130, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8855208737835976"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 03:29:56: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/28/2024 04:37:47: Error on controller payload Input Treatment=> type not found 08/28/2024 04:43:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 04:44:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 04:45:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 04:46:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 05:11:20: Error switching inputType 08/28/2024 05:18:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 05:19:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 05:20:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 05:21:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 05:46:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 05:47:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 05:48:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 05:49:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 06:18:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 06:19:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 06:20:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 06:21:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 06:46:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 06:47:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 06:48:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 06:49:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 07:30:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 07:30:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 07:31:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 07:31:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 07:32:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 07:32:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 07:33:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 07:33:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 09:32:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ce5e3cff349866cd520ae6 08/28/2024 13:16:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:17:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:18:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:19:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:19:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:21:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:22:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:31:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:32:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:33:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:34:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:39:47: Marker: 0 | ID: 66cf28a3ff349866cd52132c | Error: cant_get_message 08/28/2024 13:43:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:44:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:45:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:45:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:46:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:46:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 13:55:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cf214dff349866cd52113e 08/28/2024 14:10:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:11:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:11:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:11:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:12:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:12:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:12:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:12:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:12:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:13:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:13:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:13:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:13:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:13:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:20:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:21:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:22:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:23:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:31:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cf214dff349866cd52113e 08/28/2024 14:43:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cf214dff349866cd52113e 08/28/2024 14:51:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:53:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:53:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 14:54:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:20:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:21:29: Marker: 0 | ID: 66cf4079ff349866cd521543 | Error: cant_get_message 08/28/2024 15:21:29: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30938188, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AXcee_bBpC99GPNgfLiH1PN', 'x-fb-trace-id': 'D/PXpoixNyb', 'x-fb-rev': '1016036106', 'x-fb-debug': 'zfX8y5k6N/hAN0C8vWTUNok35+9RVFhzSZ/6iX4tRCQcMgsqrwdIud0q1JTHfVaXLCiuR4UcszJlb3ltJ/7ihg==', 'x-fb-server-load': '40', date: 'Wed, 28 Aug 2024 15:23:32 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI7Ocz8zQ7mcfLIDPXDETNpLDdlneujEpmO6f7Xw3bqYFmdyZpbodzTErjiOSxkgfWv2WJvhCpBKEQTurnl"; e_fb_binaryversion="AcI-VEaVsPyfXKXeKl2lq--T9CPH63myt-_ZBhL7rdoNOQWXbkWit3sYAK9lYpSzO86XScHt2-_XlW562LqJI_DtuVIvlpj9__0"; e_fb_httpversion="AcJD3MsAlQJ9QWki8Yzu_nwPlDQ4Yh_2DmIxFmUu0g_pFuN9JSH_SmJ2Njgq"; e_fb_responsebytes="AcKWo21Y6M1MX1cS45e6qKJc-mO7BQuQrW5P7x6xcUuqepikrTOcVGHFwLfr"; e_fb_requesttime="AcLSmHdzvJNcomhwhlWqbdwSegjzox6rErx3esR3J7OQn4QGovwldYKC0743d-M6g4ByWrRfGw"; e_fb_requesthandler="AcLQBCvQE8ivTD7eRtVZZJ1bwMKTCDA4svWkNYLvWkvwVyVKCzjb9z02iFEdG5v2_-VxaU1ewsw"; e_fb_hostheader="AcL2YPe4jOVXit4lstF7JdYR3qbM2SieuOp_zxEASfYQ9htsy-imb9kEB49e0c19_0xciG76UqDfYnZ9"; e_fb_requestsequencenumber="AcIQPfjlviHwDL4JZWVbVKHODgpe4NcOnAGE8MCbsQbPT4wT1oQr8z5jfFib"; e_upip="AcLNSRXyyA3F3HrJICfEFkS17iaTLmRqvyklYSeaEcVmB9mdlwpaIBEMjWpVqaJBl1CHfBlZ9xeqIC3fxCl3bqv3FX7SSiF-eaohF_w"; e_fb_builduser="AcKYAc1XfHu5JZZYYCWeI-HtTuwFjWWnlcUEil2TBmCUHyaf53S7S33CPwx_av3Eq6M"; e_fb_vipport="AcJu1qdN1J9WRS8N0AT6Wc0T2gjuh1RlrezMMs2ICUadCucZAidSz3US95iS"; e_clientaddr="AcJ5t5rlO6kpr2liaLPFlOffCaA8zcRXBkxXRzAq9uZPXCVbxqXc0IR9ME8Nu44KAyov83yqT-e3br0KrYl62trPh_9ejjdhymFqyL-WofVYkrDRRQ"; e_fb_vipaddr="AcIoTo025kJutX0p5Kdw37TqYm6uleJvN0NsGEMxeDPC7KxoVTuED_G0jdta3h_9l0JRGmyn4QRS-aIQXhdlYedyYhusyQul5w"; e_fb_configversion="AcIL8xO-6p7MPFhOW8_eUOR9I71HWWyX9AHFFBF97mT7N9eBixXMIwQgzRAw4A", http_request_error; e_proxy="AcLNi0pZKpg3Z5TBb7NCFGOTm2BYkzCcdz8IaO2Itvuqb8vgNAfzMCJgZpgyFWcxsDsYafn_T3_rtLg"; e_fb_binaryversion="AcI54_eBhL6OuXLM3rJd-iZNEZwvESFpHDOzQ-XKWtcb6GRsD_JjM58xAhcLN81nBBbl5ROE5vK8VzYhrY26FfgOhI8GJwYOUO0"; e_fb_httpversion="AcLLWr9JaeC51quIi4wYDyFA9sBn9ldTPNbl2kl1oVrGkHELhxZK6lzP7q8G"; e_fb_responsebytes="AcJPMMt4slBUqQqcJP5ozJ3PEDfkZoRBRAteCyZlOoJY1IhwZdzSgJf3X5d3"; e_fb_requesttime="AcJANLb53SCr7cvD9IpZ3JzzW--0Q8OpRPLlY8QzdD6Yg9LoOyHkhNXHIY7ljgU4EV4IitBu8Q"; e_fb_requesthandler="AcKarRWXS-Yn33daQ9rSWf_J-pQHlxmehcXMKmArwGv0GLjPoAN6nm-nq4hNc89MQGW_fmnJaEQ"; e_fb_hostheader="AcIA2s8KFXjEV80kpgIVXlBpHAyujFONyjyW5Ksl1nThpGq09vvMh0pByjrH62wYzlkiz1W7rXfQVnjC"; e_fb_requestsequencenumber="AcKT3EtESzsTMP3x0Tc3NjOhYMFjbo5zWx5gmKMS0CattM-IWjMT2TA3LQ"; e_upip="AcJgQt5l6VfS4la7xc-nRgEr1cfD8i4VwtRqzVEHYN-Sh5scYea_nH_nFzzw7NTSZKL2AEH_vGm6HT37a5Jc4eM3LRk3Dkspkw"; e_fb_builduser="AcLM0SCKwkw7P1s8gkBsTC0Wt0eS1_BXudHS5uRtcrk4rP-vksG0X0811BSOU-jz1NU"; e_fb_vipport="AcIHskpzrzhcrzAYpQM0t_euTMBkNxu7rKLCX1WuCK1OO_BM2TC_RPXsYSdO"; e_clientaddr="AcKpdIM0N-RSZeXIGiz4bJEVTFu4-Fdn_rqFA53m77wzE7sTnAB7YwnwaNlBxxu_1_CXpTUe9Ddrxt9TIA"; e_fb_vipaddr="AcK67aav3wRpR8VR3r5HN8MrjkS4ffgl0SDrlVlKMNpCSGRhjmXTgZR1UIRqdrqGt7jIjQ"; e_fb_configversion="AcIeW-3GeWdkcnLfBrzu4WiqSa-LbX6vmL0Lbt2m7HGAv2DYV2P79vW39ukk6Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=256, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 15:21:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30938313, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AW5s2eXdoFMpZx1rCEBIrou', 'x-fb-trace-id': 'GqSuNgQTXe+', 'x-fb-rev': '1016036106', 'x-fb-debug': 'jCqFRiZi7ID/sh0ZNyNqGfPLa5nJeigNL20LbGO6Cm6NssPUY/bu6bVyM9WKELkGmBaSfU+9fDqdGff9dVrqvg==', 'x-fb-server-load': '40', date: 'Wed, 28 Aug 2024 15:23:37 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIDvxwgl4Nx0EJbCbS7ICF1zy10oF8_q5Gcg39FDv8T0ZVievpgMuFTn4RAS0iYJHlSymon0wPyaUI3F8E"; e_fb_binaryversion="AcKiGtkhRZ-nXFDvs4-Gz_uVD18SB52ziCUEz63A2-qEukEgUBfpY2gqs-Nzr60casqwDfTkFPBXmlIj6Hqc-cCkH31JcwQP_KI"; e_fb_httpversion="AcIEXybT-M847tuugoys_LyM6nYG6M08IVYGa6V2x5QUIxAAiO0w9bbzcupK"; e_fb_responsebytes="AcJrc0ocHQz9rHbSloiEnVbIB5R5MTWstaIDdt5OpmFuEC1W8x8MpW2rhE2R"; e_fb_requesttime="AcKgxKmUr4o9I1nwPP1e9wNLARn5RwSBQKFEf44JOn2ptnrbnw97heQlZLqcw28cqdsRHtTMyA"; e_fb_requesthandler="AcJ_7i6vHAjET_9A2IKxj_hWB7LNZcyagIIEadIHUFGCS66F2tcp3SxJEaqleewiYeTkK3SYvgc"; e_fb_hostheader="AcK3C_6cRMLlGGlpg0VdZV1ySSkgdiYJDnTyFXc6HZMUqeOO6x3dMyTqcmWEf2xxPLiXRKp_l3osgj7H"; e_fb_requestsequencenumber="AcKcNKXGC8gUtEm1HUBRd80jJ97Yiug6gZmA25PoIsEgkX6q9RUyuEdfWAo"; e_upip="AcJxh-jEIBkIfFkhUGnlXVCYwxTKU-dIS-zAmyoAdAUaDLQQ2XGmcQaXLSXF_5tfZPlH_cWcBfdUQpbZeaCfZ-_64D-S29rK_cvIp_A"; e_fb_builduser="AcL8VMwz0kWtMvqXX9qsesUlAWrRoFas5naVGmjZjJ7fSbyHymp-nIUKlYa9HyX4MK8"; e_fb_vipport="AcIvFOVqmKmFdYSxF6g3jdUR0V6EYNu4UTAWkMtYxHhN27QjKTASsHVoMIAG"; e_clientaddr="AcIURERoVhF-ZpF6xWzE7_PXX6YiVvxOVgCNrcd76jgQymDMcra2iI00qb7ymjLyGTEHakrNMquD7_39S_pLkTPTt7n3mcJnIHOjxZQDzl793vxQbA"; e_fb_vipaddr="AcL1IQzTl_ZDKQitfGNz5MtjQ6DL00mOHQmhNnDLrhWfzjwCzS1yPeFc-AGPlOArSNj4VLfNb0660oNUk1zD3KYnBUFLeRTq2g"; e_fb_configversion="AcILfoEcWBtUJIR27qyotACmYm-og_Wl2fmnwd6kRD0pV6JdVQUnGLH_GOptKQ", http_request_error; e_proxy="AcIrs5PeuPzrM0E-M88T4U0IsHMQWJXjUoyd13WqZB-y66Naoh0-TCxiqsYnZX9G08i5JhhLGeSTFPM"; e_fb_binaryversion="AcIAJW6Ms6FlLIPUJ_oxKEnzlYht361lpscX3yp0jtuLFrGknljLi-dxHzGYejizHYcmBsCFgCxDa0o_iH7FEmfalyW4HrGTB_o"; e_fb_httpversion="AcJW-PdWQd4AUs8vJjxFtKa2CrIb_zTGQ7VYA--jYPF5IUFjLjlWl1TGrD1K"; e_fb_responsebytes="AcJwTTEApqNfMdsu2Ac1BOS_UJHec7TrhycuTC-aZeafU2J5g7npaoMpuKYo"; e_fb_requesttime="AcJPibHWJWpWnC2ilLMLjHJ1sP0Q2IBTHiwfkIR8eX9ngzLvwti1i2O3T6ydcXatcTsBKCPMVg"; e_fb_requesthandler="AcKiRsBvK_gUGY0dJIL0cJAO4qP-hRkNbUYKLEd_NaySbHYDiZ2AIEsJLIto-PulKG5QUrPSUgo"; e_fb_hostheader="AcIUPrn7mTfrktvEkkmDT7OcCxyzCC5uWSOKvEXEKLRS00VCJCYPN7blqpQIzG8TXlv44OtvD18okoV5"; e_fb_requestsequencenumber="AcIiUncSxBVpaK_qN26XvQCYCpIWLUPZ3biAOfcxrGdoKPERuyDoLanQLA"; e_upip="AcJAZpcwuw9gAlhM4P5dEo-OMImp_8yVhJpY4ctZTcdQKbFHlxC2fedC2XNoNOD-u5wwQWeYPli3ftshEovGiWjgPTUWGPa4kg"; e_fb_builduser="AcJEzsDmLvkfeL4S45UBroGC4teoDpv3coViIpzGdOZExOGf_5odwZj3CJwRMDbuz5E"; e_fb_vipport="AcI_DNRLX9y1Nh7g8klH9BXmehq9ssxnqYSHnpGTn0q-ztul1NGrOXWNMlMf"; e_clientaddr="AcLDfHQPUzaM0gqsepUH_Mi39l0OlovNt4hvZ3m8t_jV01mITbDDmtSjUBwkp3EgnTQCWEr-8pevJ1S4XA"; e_fb_vipaddr="AcJCWkxRLvkL9YwXiFed-vtwf5Y10EYIb_lavXSDxNHJ-IiTaGy2D7fzcyIDSeOWsULzqg"; e_fb_configversion="AcLgIWMM0jEYclbKUIMn6XV9R1p3_eMS3ppf_uxCPDO6IjOfvlz4VlDjn3cKjw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=255, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 15:21:35: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30938546, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AT7ipWXj8IT83gH2Im6PCT_', 'x-fb-trace-id': 'C8CegrQZPhX', 'x-fb-rev': '1016036106', 'x-fb-debug': 'cHuD+Gyc+jltl5NYLLqpWdw5XdbqM2Dz4tTH2Yu6QcV97SGg9rbDSZsyk5CQovrm5agnaxWwAWD7vj1Fr++W3w==', 'x-fb-server-load': '42', date: 'Wed, 28 Aug 2024 15:23:38 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKpsG6ANMcw7L9oJAdoxBEzHGs1MC7jvl8wu6ZaC1d-qpqWdozUoRSuwNq1uva_65PmoA2NYbKIVwbUUow"; e_fb_binaryversion="AcKy26lhd1CXbJJeOfC5DO9ZHT13lNCFqelwZas6iJc7nAcJjj7x9yBzeHQsehhenK2Q8GIosMZCgXpF-5FVAKrl0GjVIoTdfwA"; e_fb_httpversion="AcJ8dDD_xGtDXnk83pb6C8-t7-6rHZqJ1s6MmRtJoXkD_D239viJ4BR4s3gJ"; e_fb_responsebytes="AcI7BvQ5qOLXKVkjQm3NgawlFG09hpyWKJuA1thWKGQKAbRGGXVtrYV-1azY"; e_fb_requesttime="AcKA1EyThDMxTDKPUdp_ujGnQO4drNVqvCJUpQpH6yMaR2RLMLE0yEC43S7se3MRu5NQ85Ro5g"; e_fb_requesthandler="AcJ8IwMsRPSnlt8RdPfu5iD-Bg2uWO0IXko8EdOIPpXZWdabcGDTua5_QdNKLsKMkFXFUrULIp0"; e_fb_hostheader="AcLf90BMH8pjLko8auU0jf11WQcqQYImktfm6SUKNceLrIO34d875ycvOyw13gQluNLiIANEVdb_D7Gp"; e_fb_requestsequencenumber="AcLRRoh2Y5ZA33040abPaKBd-qlUjSuX7pk84wu-eDaesxUq_q-AOnfhhdbS"; e_upip="AcLHnjUvBtAT8F9xAdui0QGvqUCjayZzolH0S8fLRArNreuVy2GzzZ_OKEERp3ZL8mtyDlg_OR28SXyPE7YvLYrBDDKDxld0y_mK28o"; e_fb_builduser="AcJ1Yxpbt1YCX5hrGbZQUUhwERyxVnkzaRVX_KO7P_DIK-pSQ6dfHtANn2kS4gYbiAE"; e_fb_vipport="AcLtFlYiqgFgP4h3kN8M3P2tlLpajRGG5YJyYWpgy9RDtK2FRtCXdBisMjIV"; e_clientaddr="AcIkY72YADtHAKXe7K170SCABTdxZ7CVCw49xCTxSugW1vQXCAt-2JrVVQ6INLnYIU14i3l7FhXzlWmw2vg841aTkf-FZmQ-sKyZTbjbf4WEtEBRVA"; e_fb_vipaddr="AcKr50NkMOZW19M3vEHeck0_Zzhjpu8s_ihkt3OA1e1ePxhSMG8NDR9O3BHAtmsy_BBMtShZvLOEFiOtbcLIEdHumETyT9z0dA"; e_fb_configversion="AcI64GlU3cKu97oL0wKT4n9nASUkgoTkkll8V_7p0yHtCsNdG5IPjypAcv865Q", http_request_error; e_proxy="AcJOfcuYBWQHfKM9zwYLakLEOp-FhiecrC9jrcZYGkW9GKbPJvdz-jk7t5iJRQ2F-rxxkBjDxDiBkxY"; e_fb_binaryversion="AcKPiGtUYcxAepNNljKJ5bKdvcOOVUWqbBpj7IhrkztBkWvtvPnWzJgaDc-sBwiXSXfV0iSPyKrzzyfNbMBSQZ9OTbauY-hPRUg"; e_fb_httpversion="AcL3ICqaDw19CwPcJCgqSAi0TCw95sJ4K8CWE9MewKPaDJcStJAKaBiP2kjh"; e_fb_responsebytes="AcLggiPSYs3dK4kVM2VTN7bm_Lkv7ltcekIzyfMUW7o5EZe5J_7dOEVWkaUY"; e_fb_requesttime="AcJtTpbM8os6x1isn4mK-RA1xbJW4Q6ApwA2js7VjdafVXi49MrNl65YafeOEnS4hXDWa1V1nw"; e_fb_requesthandler="AcL-UodAETk9xMF0NbimdVvLb5cZCNycN1H-EzMpJPF0JG7KTqu1P3lBjpYD74l6RCYhg-wBVro"; e_fb_hostheader="AcKr6DgERg9xhEVEylGJqufnJUEPyyJx3IC8LUWXHWWvxP6VlTpJvCpWkAyS4FpzPh6tWBVO2OZn2cva"; e_fb_requestsequencenumber="AcKjoJT5Tejl7yMMtlx4PMDo00zqkoCw2cynu_BS8j8qZuZ5nl4f5iz2Nw"; e_upip="AcK6xJMTtw2IZdj0JQw-VhWYuxns-wVTxgvI23-d8lIb3GTTmNq7j5NgemsNMRoLZht8kLUs5RO5az13GCBIHFyUAEN5K1PJNQ"; e_fb_builduser="AcLiHD91RvEXhpRYno2s4pxvKDUvaGOBQ5Z1T9cbxPO68j6zbgzy8OBjV5a-bAD5x_c"; e_fb_vipport="AcJ7vUj_8ng3I6bTH1YE3DPG8iC3yd25TU3u1xdCYJp20oP4vHZOFKlajuPI"; e_clientaddr="AcIF3BAvbKCgTLCqTWCbV63uip08kdQ1_wnOTHTd9VtMxbEz2TVzbmX5SJjlacQD7fa0mMLI16IT1_iwUA"; e_fb_vipaddr="AcLFOPz4tWjGjL7w84IQ0o-_5Q02NDGUWBoOlTqrGJ75TsCO7-adtAfOLBuNhL8_A7ZfEA"; e_fb_configversion="AcJoetgU6GajcOBnLgkPLFRHXxsto_Lld5Wsan4r9zFBLP-qQ5gRxb0hIqOxQA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=255, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 15:21:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:22:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:23:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:26:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:28:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:28:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:28:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:29:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:29:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:30:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30942328, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AA3cjrHbcaWuMAG1spHgqoc', 'x-fb-trace-id': 'GkDeTlqrR91', 'x-fb-rev': '1016036106', 'x-fb-debug': 'wlQzQ0PG60H2MnR4Dp4ijmSc7wfZd6jFUhxJQWCLAZTy8pDuaL+HnEnu/vPzTEXlh2l+fbwnFg52RhNQei7PcA==', 'x-fb-server-load': '33', date: 'Wed, 28 Aug 2024 15:33:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIwRNZog2-llChN14Belds5wwW8r7t1zR7gqc1nkyci821HqmWZ-pWageC8rq6qQy0S7ZgOaGoyq7JqHMPy"; e_fb_binaryversion="AcL4m8H6ibeQKZuExWX6CTwecMuAT3Whh-dlrr8KUqWHjiV6dG3NUFVnsrliyzrL7Y-NrNN2c6WUR5Vjuk6wvj-EYGbJA2cX0sw"; e_fb_httpversion="AcLv-U1Pq3Kw1dyZC7BcBJb6y4sEWCEpKF7LMN0SUAjLExhmB_VfF6Eq51h-"; e_fb_responsebytes="AcLl_7Gc4YA389hHRGK4aW4gtNzpw42OYP7wm9D2ZpRWbOXG91VHUX4pAnVZ"; e_fb_requesttime="AcIBSveNaP8EWfSyEnGLqhcv00T_c9JAGM8cibOQYPHFjN8SJvMqaFD-rIFJKZ7s0ixwubxliA"; e_fb_requesthandler="AcKPK3m4vG2FNZhN50dCfanGY0i86WiK3FhFq_gKx1l1CosREQS5PREoTnA0VpTb1vcHurmuGJw"; e_fb_hostheader="AcL44T6mjglhXG-tp_iOi4lHcWt0Una6sNzuTsk_3p5DnXQyvSfGskWXRzLBABtBpQzb3IG4dXlgPauX"; e_fb_requestsequencenumber="AcLZjr6YxwH1WttLVw4Qb26R5xtCFDypRlUumfFiWAMD5jLu83xF0jViH8zIXg"; e_upip="AcJsLMY4dUmyDyeyO7iJxa1omWaWBdF7fJaKrVvOcE_BwEgHTC9-QG7kykKhWc6q3-0P7IOkaQtiqWjOIlUZaQaQx7rjSh7NNPkC_g"; e_fb_builduser="AcJ-b1UU3JOyi8Ys1wrjpko8q48O8DF_7CO59a7jaLxEKnBZ16JN-sx73k6ZTtuBCZc"; e_fb_vipport="AcJmNLiyEnp9W4k1GHfmMx7Ti4aIrYV0zJDEjyZlnDRbUKcGsxeROktnuT8J"; e_clientaddr="AcLbDodsX0AJQR0M2CGzdArhWc14HPeOXCqWIS9AR35BhXzAdvE9LZoow_0bR5-y7ZyGnBvv1FjZTAfTOaATJQqV-hnI-YVarUjATzCaW-TUmYcsrA"; e_fb_vipaddr="AcLRetdP01QwOrSAO_Za8O_zMGlw_aL6be3iacoeusRPrpHERbQkoDuc8BS5_4vwgfdtmfK8gmB7P9k8cNnzIPvi3RQddspYrA"; e_fb_configversion="AcI_rOO2WeBT7hD64YmLCh28mPP23dLUi44iBxbFMiOZaQejnooow6lAw5dojQ", http_request_error; e_proxy="AcJ-zAU43BKo6i1nkP0yLcn3HKGwxpnHNblAWjZJonwDaw7GJbdJEHBP8fNzUNFydCsLwS3TKmz9Mn2L"; e_fb_binaryversion="AcI9Xsk6M01kWagc8HODYu4CBTXXsmEXJemExFoqW58Y2W5b5-bIOJXSgnI2euTeYFTcktOBwxCGsozUvT5C-XCPONFVcLU6eaI"; e_fb_httpversion="AcJasIbzSKQxVS33Gvi9LXNJ8wCA_rtS-iRZUguMXzXIFpTDSC0ZcpnT3RQG"; e_fb_responsebytes="AcLsyvFmYPNJmJkqiEm2cBt5AhT8xP0RJHaj84XkHYL6EgXMKGPXMS8K93RB"; e_fb_requesttime="AcIxu4Wsdir6TLi7NEBRc-L_tnVw3rHvo6AZELqIwgDy-6xN4LBQ3UDq3I_2LvEDg2SWRa0kCg"; e_fb_requesthandler="AcIWfywQ8hWTmPsB4Fbs5uhS-vHNUsfHyeELzT6MBR-M5EowUUB-TZgtdLlMwunnOQRYJIWzNJc"; e_fb_hostheader="AcLqjdTkGJUjqJ62YG_Gzq4bRBhUKBPbApodZgMui-AR_D4JArGdCSN9o3VJld3dg8aLDVPKk68shE8v"; e_fb_requestsequencenumber="AcJuuNEj2o1oif07v647AdsGzqfyHFl1-LpxyuQj5CaeK-SeT1k3YPtwpw"; e_upip="AcJRsHKKNfpN1Ih2_-PEG_uFk3StxH9uvV93JiRWr5QPqw_l_dwUUNTlD-tn9WGBIsMFHA8ktagRtPgXWO9TS5LoQwNKx38Iww"; e_fb_builduser="AcKfSuLoujspBfB-fy7lGCApyehgZE0C5JleSqKtUMEVh8QF9TY4kW-ZT0mzHlwgSmI"; e_fb_vipport="AcKpkx4QCZVhsYm3Sxi-Gfq_8U8a0tgSNt_HQlwraAPehreozL_48-O8HVf9"; e_clientaddr="AcK29N0x6BsiNZZBxsBM83gd_2K2OMkZdR3-qUjEBNttAAikdct3ojYiAx5D3aGZ7aYFPkuEBdliK5xJDA"; e_fb_vipaddr="AcJaNKR8Jq2FDiR4qwmlztol8SkcT6-HEGGf9-UGMAxsfNkfJFF0VF_Rf4OAU6xzGPnYW8B-4Q"; e_fb_configversion="AcKTf1LieEvJ4y6SCq4J5srgQWVhD8a2jEhzoMUjL_vsjGNR61BufP9pDkssLA"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 15:51:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:52:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:53:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:53:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:54:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:55:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:56:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 15:56:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:03:26: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 30955525, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Wed, 28 Aug 2024 16:05:29 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/28/2024 16:03:29: Error on send one message facebookId => 26674061125574338 08/28/2024 16:03:29: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/586ec7f0-6557-11ef-9d00-6d8639bfc58c__1724861129199.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AQ2mi9cKwEvmaGMwNKzyL2V" } } 08/28/2024 16:05:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:05:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:05:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:07:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:07:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:07:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:07:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:09:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:09:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:09:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:10:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:10:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:11:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:11:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:48:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/28/2024 16:53:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:54:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:55:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 16:56:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 17:38:51: Request bot not found: { id: '1138272279528180' } 08/28/2024 18:11:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 18:13:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 18:14:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 18:14:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 18:26:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cf66b6ff349866cd52171f 08/28/2024 18:37:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 18:38:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 18:39:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 18:40:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:02:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:03:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:04:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:06:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:29:41: Request bot not found: { id: '863113247096430' } 08/28/2024 19:37:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:38:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:39:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:40:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:45:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:45:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:46:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:47:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:57:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:59:05: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 19:59:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 20:00:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 20:57:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 20:58:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 20:59:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:00:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:46:04: Marker: 0 | ID: 66cf9a9cff349866cd5219fd | Error: cant_get_message 08/28/2024 21:46:04: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 31033775, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxHG2R_-ablBAPMKJxALqla', 'x-fb-trace-id': 'ESfgJ2l1kdW', 'x-fb-rev': '1016038141', 'x-fb-debug': 'MuMWJbYWxUHQ45QY5SNs0s7L8vJJHtqJhq0zepWUJKQB1P3CGZ/lGM+NK8EBZHtWsUvEKwRnusKYn+8VyLY2ww==', 'x-fb-server-load': '40', date: 'Wed, 28 Aug 2024 21:48:07 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLoyJJhwdwbP3dcyvYPQtUCwQvEh_JtE1xo42XHiZX-ztKPiD919BBRyC8KwKW2HixfRi9zn7nrkiSpiPjd"; e_fb_binaryversion="AcKqkBGV8PEHeLcP0RY4UG_2ttBsD2BHaVPqlDUsT5hqGV2SIp55MPwzWErpapxyM5sQdeH2fRHf8FcgVok4SPWyX7MgjIu0XR8"; e_fb_httpversion="AcKI6lv1-AU-RxMVwQ8hiK6Gu2pcP8sQ76fsZVA4sa_swKoy2QwXHFPVqdZ3"; e_fb_responsebytes="AcIyYlDWQzOa_x1MkMKuubDzmqOKo9rUDgWfXeHpnlLXHuuyZ7EurNWc5_zM"; e_fb_requesttime="AcJewHwsfee44S0_XHDEWilCn2woDrfS73eW8Mds1w3H70rphDV4g_opH_k8sCnhwyrkh0WzqA"; e_fb_requesthandler="AcIr8DYQ5Q2pHN4NgvOweBG3h9UM3p6gY1elvNmn6--OXjIuR4bbcIqqrtFWV3CBwAMhLNsS6ME"; e_fb_hostheader="AcISAOz3Xzzaup1NuSJkxfUDEnL6SVz0bqvPsmhu6PZII9Lvhc5hVEnojTTghc2MF74WeSL7zwswVfsv"; e_fb_requestsequencenumber="AcIZj4RV3MYa1_vMrRtgv7Z4--TEQOsVC2vryy2AF1TaBSUVe6kPxIKZeqc"; e_upip="AcILpuNErwMqBTNMkhaxEBDYzlDuoDd61LPleWYEvCrZnltzE_7SJB776lGDX_VB5YVeVT-I1WwZj9OdiUR87xCSYw_LXCgQe-1gOzI"; e_fb_builduser="AcI2vcsexfgjfF2qs5TPFxfZgY-LQweK7--nxnJQUR9zqx0NWLZ77zHZ297Ji9hUEXY"; e_fb_vipport="AcJ1xgxVN0irog1Bl9M2yXOv9x2xsMRiadoko2EM97kvqHYxoMsH02Qpq3AI"; e_clientaddr="AcL8rBuxL5WC6gRTr4wNAGpK9Czuu9vOS9WvySGjZDE8dzj6imdq03wtVDoEvaUQytkKC-ObjDyS6pfkSTRZoLtwDCxlkD8GTWzh7G_gZDFd20DpwA"; e_fb_vipaddr="AcICt_lpAYf3YCTbOt8M7oG_ck-DFQ5sKDdnKz-9D5LPzinhwaEW0VM7K9yJQEpU7oJLawcMsrSvi_zZCIQwGyKlUGH9pGLNTw"; e_fb_configversion="AcLTkYDaziizYSb3NVQwYLKt-zUxkWJ7bXVwL8Yn24uTBBnXMfKs3UMjLazqYg", http_request_error; e_proxy="AcLOLCLC4uNSs-Y1MYZwGYaOghKiOqfJI6SBw5EBhl4t2-UGzEAv3NlCgx7IgQOfdMYEDkSOa4KYGsM"; e_fb_binaryversion="AcLxstemJAPCwwehiDbBoo6G6KJQmVflViJ3Lpp2Vw4aDTNXrxBXl5JeaXUqtvbGzwVn3dJN_PVjTK-9r7FsU9wH2JRTKt8JX8o"; e_fb_httpversion="AcI00vkKCZf1K0hEl41w8gp6wHZGUsY7LsYueb032eInHFQFvmp_EnKPfY_D"; e_fb_responsebytes="AcKp7GUAtSfm36RI_q8tW9XUJex3IiNvsbmTRPSIDf_r7xn_rvayYt8GBub9"; e_fb_requesttime="AcLguY8Cle4iPRNCDBNuD30Zt1dakaPv4-QRZu5f4jC6PeUo1RzsCsCZb5uKQt7dMjSaZSh08g"; e_fb_requesthandler="AcIMzgvWIdjInOra5QbblEa_KtSo1aPFZq2cweEt25TdEYZMhDVI-NgDeKeUScaXst0y89a_pb4"; e_fb_hostheader="AcIOHgG8BBJYTgGR6SppDMMBsoywEKgftepbvrTZhBKcOQUWfKTwqhVPef0ulwFNGFLau8Dq3TpWOhmt"; e_fb_requestsequencenumber="AcJ9c7vhU9VG8Mq9fKUFgnBhLXwulMq3Edqj_xtYoTbri7F_TtxV73oX9A"; e_upip="AcK7BHEVpzMrdPTgEkSLPdwe6Mbh1uWj3Ql37ADXSBov5Y4N4-Dw4dClOzzCraNmYtD-IC_r2jB9taiyWktDRxqbSTbYHLwPOg"; e_fb_builduser="AcJ7wAtK4Ij8MiezN2EPeW8l1CNFBYbmAHRNmm57WOVkoxtzyah9BIw0EoUuIXgB8tM"; e_fb_vipport="AcKZicIP-eXkxSSaeNtY_4aduLu1vdNU8N_-PU6_Oqe7IsMgZIBroh02uVmi"; e_clientaddr="AcKVMwXoAaFptwfSFwguGs-pE532ylBI7cdUh1vBMI2B25rk5tWxwlaPWez3pE1Dj4Revu-O_MS92y5yYA"; e_fb_vipaddr="AcIYDjYXSl8nEm82HkRWw1xIJXCeJl7O0ALUy7gyFyEruUHnReakf-2P76uCcVqCFP9Abg"; e_fb_configversion="AcLsqrEMPGmE1lJCR8381b7nMvYorIghEX_-OwHQ9Axm6SFIUQhRXt_jR-1GVA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=252, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 21:46:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 31033891, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACBA0UBEq7iiN7If9oVaCLp', 'x-fb-trace-id': 'AcS+OskpK51', 'x-fb-rev': '1016038141', 'x-fb-debug': '5QUkx03V/w0XoumUMZM9LoQcPlvkaGrtJCNe1bfd7RIc6E5RKVxNNnv5AZqAwdIbD7HF2hX7CElM6iNHGmIX+w==', 'x-fb-server-load': '28', date: 'Wed, 28 Aug 2024 21:48:12 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJpKWkc02NeX0QUqg2AwDBUXhO4xjaCb68XkRzbg2SI0qLn-4iDayP5nnSMMABB35GkN9suH8wLGmPsy0I7"; e_fb_binaryversion="AcIeFBNSVIzA3iUcC8Z0EWeR5_ILLDxKFy7VyY_k3dsFDybWWrakQItxNulw7YQjV2Jn387pCMdHsKeSjjZ3D7jQNb8cKQThPZY"; e_fb_httpversion="AcLc3S-HHyXYdkSSfxWoGH6lKqmFdSezUG0n62oDkFUlWuca83JzPKTcGE_8"; e_fb_responsebytes="AcJdJRbc1TH47BzMeiDCIJJ5Gexwqe-hR25M-Eodn_e6oI_Wh8R-X9IUt_sh"; e_fb_requesttime="AcK-aPArL7tH3oP_JNy36H1xorBTsFAQJ6UTJIhmJIUGYPs3N1ziIWXQMd_pfaseouCf9V_GJw"; e_fb_requesthandler="AcL4JO8qkuoeb0fWBl8ZRJFztOo1wPYmbcATAQRhRSzfIEcmlgLhymE5mfRGuHRjkhur1U_Frnc"; e_fb_hostheader="AcJpxmWaEsuEeSasxe1_L5Nt0GfpoMtaV69nrDfkVzwpzmAzwq_muNSz5-wQ3NSYtYFpfzfnIsv_baC4"; e_fb_requestsequencenumber="AcKcfMgOBYvl9KviWWCL390ed0fccdvycIrUx3GzYQZ0PqnCKXUpVY6SAktL"; e_upip="AcL_eu-4rXmhwC5eZV2IExwvAj9_TYqKk1MVtwXf5mF6kLGJw4fjTEQ_Fc2GCXHxdmAqtdXZKOFmew9WQcpsP--rk5UrfGNwIsbqYsM"; e_fb_builduser="AcJyW6rY0NwXM2lEvfNoqi0RBQZwoym03oZUXJ5fmOgs6O5vm8VeDeaUN8BassP5YUc"; e_fb_vipport="AcJJLNO49XM6ZZxzMe7k0orKkExDWJZMMiMQEfp9TwVt3xu1yFMd97X2Psmw"; e_clientaddr="AcKGtYoSzyjPoEAwsa7cYisrK0lV-HXcCmE6C5UZIq8WsyOKLo-VV-X8IUtIiFlpO9QH9w0U5Ts_lZAQVUFhrQfi3I1R3ONqLNB0HonvQKLLUK_Zhg"; e_fb_vipaddr="AcJ3NymYGR3CuFmRBvrR858DcWVVD4R5a9vqV2yoLxZt5vwhOh0Vwl9PUebvkTb3hZtcCHqKJnFe1MfDH4A7NF4-70Lnrammxw"; e_fb_configversion="AcIIiREzvM3Q78g867zik5XxclFmrKkLRgi-ye0OKyx-iHGK7ryVnPNSvILSgQ", http_request_error; e_proxy="AcLjs8mfW2rUNYQpBxoKzl80nSlQBLCbxP2PUDKjHUirtIvnEse-IzCF89h3wP7ytj7NwNA0DkvHNLg"; e_fb_binaryversion="AcJxOzUzwKHvBVJYGora-Z0YQRdX7ed3Ig7WSEN-8QuvTZjxAaGuMVo8r56MsRNAewa1sqL-0wkhd1ruVUFjZvKhuu5l61XGBwA"; e_fb_httpversion="AcLZHj47WLjBudBDWmyeXP1Z-yiusqC8Iv2xYEneM1r6WU4YSPgSG7yaxf8b"; e_fb_responsebytes="AcLnLCWSPfKtaelLxUckikYd-fyKUArta9_UYYVkp_zkWsFyOyAUw6rNSuRw"; e_fb_requesttime="AcItt17Ne5dN9w-0lUvqmWP9AYey5uHmPJ08H1jYFDEUSMsifefNFhRY8MZO-8OOQib_PjHtGA"; e_fb_requesthandler="AcJjW1E6n2suXeylP04XWxeD74dt7JvMvdCE93W0pF-Du3EeaIxfqtTiOLQ0BJlqu_iGhA_UT_8"; e_fb_hostheader="AcLzZh6o5fDxu0M40UgOe8XdUhizFfWfOmsB-3iN6MXRKBfE4Tdnb3TpKbdeWGnlS-rLhQeTG2r28IMZ"; e_fb_requestsequencenumber="AcJqEzZgOuA5fE5lloJZiAsnzOQ7CzqWdV4iTMOMhR8jSouG64-h2lVA8w"; e_upip="AcLfYQdExaJYAhcsK8HuExlE6fbbbqt0oW-jCjU33mbbl90dmAd3befp3RZn6202kvK_CtObHwEnIiNbPKFJ8DoB8lSRfdq2yA"; e_fb_builduser="AcJdx6JU_ABrkbVl66arjMkUl2VqV-f9U0fL0AdkEP3KGHj2VxHBpSNNZ6D38VNYDRw"; e_fb_vipport="AcI0mUjw0vu-UquA03l_pbZqIm-WIh9sa44cc2Lhz-H2lxTziVKNOzLowMB8"; e_clientaddr="AcLJpOiUXepDO2GBOMd3NT38WxDkuneG9XUUFgDTjoYiUIQh7ZBEDZipc4LQM8F1Pu4pv295a10jCn1TKw"; e_fb_vipaddr="AcLtJIt9ItiuEyuY55gq5djHxiaU0u7y5KuAFunBxSy10HnMmzqHZpfFW63iMQaMgMw9tg"; e_fb_configversion="AcJH_ZJv17JjsW4OI9GpYfDBLS8Lx29Hfa9KShxaSVbERu1vMOW41nu5XzjIWQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=253, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 21:46:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 31034124, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AE2pwVdnWvWhBJk3t9EF2hB', 'x-fb-trace-id': 'DzHsWZhI56o', 'x-fb-rev': '1016038141', 'x-fb-debug': 'lE+s35HA5PZbw7n17cgaM+7u8Vfnn3mCaZq0XwNMNXyf3hTkDOGTjsBLAO3P4Ybh3GYL96+aIutISWzSgZ97RQ==', 'x-fb-server-load': '31', date: 'Wed, 28 Aug 2024 21:48:12 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJFU2hEv66V-4CzuSamJp30vNEps2pcYMMHNJVbWpN1WN_PO-NZjdUxxWfNms9s8VDdRSD9JRqag5qZO-qq"; e_fb_binaryversion="AcJ-f8eGDjFD9ZK4PXnxLl6i0p-BPku_qMgZM21y_32W3OeBLcHfgDhifhCZ_-dOfiRwsHBuZwTkQBPehcnAY2j0vw1A_I8RTIs"; e_fb_httpversion="AcL0fgMfMPKZe6SjtOtOxWmELW7fcygxtnhZa1luSaW1NrcNdSjgoxJEEQgc"; e_fb_responsebytes="AcIBEJvJWJzIU4jgk9wnBezdSO1Tx33eB6lIaoX8N63R8PUq5dCV7OcAixlu"; e_fb_requesttime="AcInq2AR80Y_matBM1n_np9GqxU89ynaw6YivBjBcuorIrF7Q1R7bN9AlejNvZOd61yrXqEd9g"; e_fb_requesthandler="AcKrgedfCEMz1q-REQGUQuUOhJSGllJn1iTd8CIwrh13kaqAHlNWALiAe2wVXb0zvHY5p8UndtQ"; e_fb_hostheader="AcK5dmuSPeexUc-_goYD9LPD_x_T7efCPBzq5ZjQv1NfzNUYjctm6OXZXpj91I5D8HcSWdDr-HzADXDO"; e_fb_requestsequencenumber="AcJdGmkvL1hKYcAR4OoYjb7R0S5_ReulQq-V3waMLTerZs65Da8PmpgB_CAE"; e_upip="AcJ_bf7GcdOZ8TfmAxUIYmj5_YUvjg8IEjtmYBPzVqKbiMV2185x7oSxsQRgAw1Ho4tHahoq62COEM_kitX2zdoQqqbixkANLjnhzck"; e_fb_builduser="AcJaHNOXKtezL8lYkYZXCKO8vMFZTDUeXIiygWSyo54fiJ3TCo2jPWd-qQDQZ6n2yIA"; e_fb_vipport="AcL6veXYeg1BGnbAoH2RcftevloVIqffycCQT5FQXord6vh2VJ605ZShsJ4R"; e_clientaddr="AcIJOPjFTyNebOiCgMiE9JJy9FDDYZT17mQthr168BKoGv86kyknvBMiLG6BBBS4viqfJipcxBabtcYauPrzTWVyIpaCqSmsYgcrpXtyD-8nlQ0Z"; e_fb_vipaddr="AcLjZ4d8TDV20_5As-a8WZX6hoA5SqULnq8QZ_YCMaHhWCMcJ_8BaXNSQkBwGCNqodj-MnMm_zRA85ddV1_N7op7xwiDoBCIVA"; e_fb_configversion="AcK06A8q-Haq3TebQnDSaRsILVRBurnDWILbOIpxTZ60EfkXy-_tt9Hgt8oW9A", http_request_error; e_proxy="AcLBr6D4AxXb-qTVtGcvXhapHTfg-mUUaP8bFP7iUQ7-Olcv9KUC0Mk9f-jgUGquAF6XJZcGJi7mU0A"; e_fb_binaryversion="AcKLIymeYdu1bKtoErKBKXERc_3fTvHP7tO2ylqgspu7CxSibTLEFmcP3iTw53JEA0PaJkMA9NlPOYQru-wNvTtUw3GxeZyDC50"; e_fb_httpversion="AcJyuiYN4KFo8qxusclwhImeqONE0mQPydMYruLd5W21y4k1BFbwEaIoozmE"; e_fb_responsebytes="AcL7kclJDO1gM6qu9mTpk5tQXtMePEt_1QeCFrEtU7dzCpaqiYqM6ZgR9fpg"; e_fb_requesttime="AcLHThsenfQFnGlQCyeA1xdHGH79dTDmz8065E2NDNWKScBe-R30ZqJc2DijBysKxKfOpbjhDQ"; e_fb_requesthandler="AcIZIfoT7RCzS8klIP4RHTdhJemgz1ze7sV072SJFSbL4HrAQmdX-C66MG2Pd6PSL2NlhJKVv_k"; e_fb_hostheader="AcKsImbW-v82JODhxMgfbDsRDmd_q2ues4d8RjI6FJqGRoMUw5bqBP9wxw1gaUkWaRhHKy_9IOnZRJTa"; e_fb_requestsequencenumber="AcKhVU06FdpqbSLooyJ29LG9ZhAW_KBnv9Kgzwqt3Wqenv_9zf7JYcK4Mg"; e_upip="AcJyCYPi-gu181JJntlU488dypnt_TFvQLvLkFfYKibYctjJxioFEWAUsiKwgyxbINY8CLGjcIYo5SyhsvGMnN6woC2Lw1WaKQ"; e_fb_builduser="AcKibpxqIZOamhy3CfdBdYYT9n7AwPQktKwbWKh_ucQ6XOoJbP684BasrhD1m7GLTzs"; e_fb_vipport="AcKzP8GTo_8Ay1nxKdOTWyaO1Y6XhrTKNKb2tZh4sUeWCHyWLH0yfe7eAG82"; e_clientaddr="AcJweXszensbhIF9dLK1XnCvwuZKvbIDlkO-11stWF0x8Sy47QDiPXp7Xt9v_F6wSoe5_JzYvhyRDB7VNw"; e_fb_vipaddr="AcJ-INqhtq4sBajmYhION74pK3Yf9I0jB2b6NwinLXAvRF9UU5brOYvALGCuU94vib1j6w"; e_fb_configversion="AcIKGGxYDYAl58tcRnUEqEDr9moyvWdLF9CERCctlZu5kBvASsq2R_LPf8qMAQdU3hjmjoFUOmDNSwQsnaID5-YnLl3QDOL6izM"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=234, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 21:50:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:51:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:51:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:52:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:52:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:52:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:53:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:53:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:53:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:55:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:55:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 21:56:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 31037221, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlhkWIdAhhiZXFFYNjpA2Hd', 'x-fb-trace-id': 'FqVoNu+k0Kv', 'x-fb-rev': '1016038141', 'x-fb-debug': 'S3lLXQRuJuY7O2G2qiWII6AXWhgPgXt2b6GhDpnTY3l5zHCDiFWrGaH8v0UavBdVmh8EWlRvR0ujfUIKbOcqmQ==', 'x-fb-server-load': '23', date: 'Wed, 28 Aug 2024 21:59:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKB713L7d8LALIEP-AVtaxGRjReluvO6iT21C2oPh3Z0ORDrd59UpWjcV2NafEjrPFgkouZQ-Y12h69_AKN"; e_fb_binaryversion="AcLw7SjLyyYT_WKLjoCykghfJdS4L5JSZdHZaPkrWUAqFsQnZjA26WHEMGl4t4tnPPUoMvwr-nx8NiILlFoTZCXK7mHPnP2b5_g"; e_fb_httpversion="AcL06jZzDBJxFajlvB0WaKWomvp0Ab0nCTt1aZSi_LMCHBPl2SQ39uNFYKNH"; e_fb_responsebytes="AcKbdzeNRgTZThh20BDPcbWL5QpaB9bGmYNeX5ACHWW0FeuRKHiqpvp41cmC"; e_fb_requesttime="AcL27wQftJdC0C-n2CX9Lzb-GGW4TUel7DKCksgh_paBC4_cgqm0KhnIClD9boRYchdPNJwDMA"; e_fb_requesthandler="AcKqn4eXzFcayJAbWSXhKxEaPBT2PgJFCfiXKAPhQ-PuXNFHmTlUCx7EvN5dEssKl-xnO7Uo_Kk"; e_fb_hostheader="AcJLdHQfSoN9D6FlXIirbPREQGEAPfu5UccJGEDiEw4wIl8vFf4Yeedo6VvTiS67ktk5sGM_ATlMGCel"; e_fb_requestsequencenumber="AcIGFdMFOXfujninhRskUShUSTRGBPHSLBiUQsMOOu7mmkTFIc3V1v0McX-U"; e_upip="AcIDEIHiciz7FLQXt6M8jOKXzk_UVfiZe0I9XJhhZHZAkbPgShffTUh8jODnHMA9H739lwq5l3xalaA0y_NlmsGznOm6zMuEVteys_g"; e_fb_builduser="AcLIBHEa-C2ZQM0rfWPxvmYgaQ-e99seIjx6862U3uMxsjf-aT2OVGu5GFYIeQIAEIk"; e_fb_vipport="AcJzgEPqGAYkHkRLgDrHWbkJZhUV6L5TtDSi_XsalJNx0LIoMM264PQU3HAx"; e_clientaddr="AcK0Y_DVt27tAUv-6G_DEXVKajpWsPRHrNA4eeo1_HhVmCdHdcxopmrqlJ4_5hhbi1TSPvmKyNtOhaFMlCBLlilJzvPzYMEYLblRNcBfKIfg_hR9"; e_fb_vipaddr="AcI-aYcQKEI9H3hRSOw9AscHhRp1LClIKRKxpxrUXTSU-3YlTu5E_ANdx5HXPHzluYHtXCI0LRmOk5k5BMbgysntIRaPBJVmpQ"; e_fb_configversion="AcLLzFKNmGFUv15c68kKvPqdsNj3WScbD3zftRy2MT7wK_eaaWXk_RgBnE0_dQ", http_request_error; e_proxy="AcKq4IAGZRaZAkksx64KziOg2USYmZgwNq4FsgQqrt1kSdoIGdkC-MfcLhOy-4mtr0eGW0Vem3-zOGY"; e_fb_binaryversion="AcKDm5wf5qcbL8Z6xSNlz2Ew0RQGmFESoYxyQJLaB_NoiluvtNtKlOVivyyi6fzBycQ0jMbq5PFkxmpB1C53qNZHuNS7ZNjGaHs"; e_fb_httpversion="AcIfoxxWIB_iGcJB6-aMNpwmmafI-9IL2Tt-OJ1olBNd9kCEtubXJFvTRt4g"; e_fb_responsebytes="AcK1lDLp-PhsWZNJCCN59GLJJDfzotv-kzhJ8oBFjwZyPZXqAuvTEN6tlo1w"; e_fb_requesttime="AcK-OwMXtdnJZ0eIx6LYVCq-8QCjxJ5R_HHONmW-0kgUgAbz4XaDZKx-dp3bkhoTyfBeKdF7XA"; e_fb_requesthandler="AcLfCZXRLsoDHY2-kMIqrb2PeQW6KYZSFGAv8rXw9r0z2LwA4bl5_bYIXWy7wWyFa-fixRt-3co"; e_fb_hostheader="AcJcPiEyGxHEV7NOiv9C2XrLoGeopP-PZDAleQCJMku6K7d2H_kVL2FDLVch90nZVWIqUMjzsqlIquRQ"; e_fb_requestsequencenumber="AcKvvgTAyPj7Dxtg0Zn8acMiOgrgaBJpl1WbXRhy_1Ec330569l_AaOvHA"; e_upip="AcL3f8mc4RcMbesqlc3VnTJvZ4z5IHUcw4tylwKmQOqIl_xuxn08fbEr6rsJjoQ6XcxiLsFymYrtjIPsqRgqGwahGUF_IuBGuw"; e_fb_builduser="AcIulag57btF401zUQP0P3dk2uyqO0prY5eVqgZu1uRfPjOT5GSkf-FJ5FtJC54GQSM"; e_fb_vipport="AcLNqq0F0wk25fSePpaeyqPcsqHpOwOiqfrQTT-wSshHDoIM9OrJm4eyV5J1"; e_clientaddr="AcLy2aSa7Jz6FvSk7JzADhEqGneYpSaDd_9EW8gqvOLBBIEsZhSag0zTbn3jqqH6r61QbawspKFqu6y_kQ"; e_fb_vipaddr="AcJ_Rg_KYMrWHxV2bM1ZOM54DwYt8ZWQAlBGUUeeiPrjnD00P9J04eEAwaeHqiyfnc-7UA"; e_fb_configversion="AcJP0suXA_ZB-_8goiSMkuqRfh5FPvXQS-TmUBESfNVTuRFIoduXsQx-bP8mwQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=7, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=282, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7716965488433031"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/28/2024 22:43:30: Error switching inputType 08/28/2024 22:43:31: Error switching inputType 08/28/2024 22:49:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 22:50:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 22:51:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 22:52:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 22:52:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 22:53:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 22:54:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 22:55:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 23:49:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 23:50:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 23:51:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/28/2024 23:52:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 00:35:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 00:36:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 00:37:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 00:38:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 01:35:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 01:36:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 01:37:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 01:38:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 01:53:07: Error on controller payload Input Treatment=> type not found 08/29/2024 01:53:08: Marker: 0 | ID: 66cfd484ff349866cd521bf1 | Error: cant_get_message 08/29/2024 01:59:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 02:00:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 02:01:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 02:02:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 02:59:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 03:00:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 03:01:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 03:02:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 03:29:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/29/2024 04:43:57: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66cffa0dff349866cd521c5b 08/29/2024 08:16:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 08:17:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 08:18:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 08:19:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 08:58:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 08:59:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:00:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:01:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:16:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:17:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:18:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:19:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:39:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:40:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:41:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:42:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:52:41: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 31182539, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 29 Aug 2024 09:54:44 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/29/2024 09:58:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 09:59:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 10:00:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 10:01:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 10:13:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 10:14:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 10:15:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 10:16:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 11:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 11:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 11:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 11:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 12:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 12:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 12:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 12:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 13:41:07: Error switching inputType 08/29/2024 13:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 13:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 13:49:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 13:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 13:58:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 13:59:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 14:00:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 14:01:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 14:52:56: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66d088b9ff349866cd5220ea 08/29/2024 14:58:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 14:59:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 15:00:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 15:01:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 15:28:45: Marker: 0 | ID: 66d093adff349866cd5221b1 | Error: cant_get_message 08/29/2024 15:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 15:35:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 15:36:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 15:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 16:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 16:35:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 16:36:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 16:37:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 18:37:56: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/29/2024 18:37:57: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/29/2024 18:43:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 18:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 18:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 18:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 18:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:02:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:03:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:04:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:21:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:22:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:23:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:24:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:43:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 19:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 20:01:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 20:02:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 20:03:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 20:04:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 20:21:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 20:22:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 20:23:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 20:24:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 21:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 21:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 21:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 21:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:02:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:10:56: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c539a4ff349866cd519679 08/29/2024 22:11:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:12:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:14:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:14:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:15:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:16:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:17:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:18:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:24:01: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66ce5291ff349866cd520a14 08/29/2024 22:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:32:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:33:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:35:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:36:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:37:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:38:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:39:56: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66d0ee8dff349866cd522345 08/29/2024 22:45:07: Error switching inputType 08/29/2024 22:49:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:53:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 22:55:02: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:15:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:16:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:17:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:18:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:32:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:33:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:35:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:36:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:37:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:38:24: (node:29174) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (Use `node --trace-deprecation ...` to show where the warning was created) 08/29/2024 23:38:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:49:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:53:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/29/2024 23:54:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 00:28:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 00:29:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 00:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 00:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 00:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 00:32:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 00:33:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 00:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:03:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:04:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:05:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:06:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:28:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:29:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:32:34: Error switching inputType 08/30/2024 01:32:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:33:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:38:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:39:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:40:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:41:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:49:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 01:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:03:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:04:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:05:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:06:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:38:51: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 58954, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 30 Aug 2024 02:40:55 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/30/2024 02:38:53: Error on send one message facebookId => 26894500796815152 08/30/2024 02:38:53: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/479cd070-6679-11ef-af73-55f1cfef46f4__1724985655031.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ASUvXw1Mjh-y-S4UwPGK96G" } } 08/30/2024 02:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:48:58: Error on send one message facebookId => 26894500796815152 08/30/2024 02:48:58: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/479cd070-6679-11ef-af73-55f1cfef46f4__1724985655031.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AReGGh8WWEIMqUSPFUCDAAR" } } 08/30/2024 02:49:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 02:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 03:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 03:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 03:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 03:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:22:40: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 79126, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 30 Aug 2024 04:24:44 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/30/2024 04:22:43: Error on send one message facebookId => 8144450798972426 08/30/2024 04:22:43: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c8aa3230-6687-11ef-9dd1-ef63a8a0658f__1724991884499.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "APXOZdeKGSn10kxI9G8_evl" } } 08/30/2024 04:28:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:29:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:32:58: Error on send one message facebookId => 8144450798972426 08/30/2024 04:32:58: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c8aa3230-6687-11ef-9dd1-ef63a8a0658f__1724991884499.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A2RQvTRYHDRU1cP-Wxn85v4" } } 08/30/2024 04:37:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:38:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:39:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:40:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:49:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 04:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:28:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:29:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:37:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:38:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:39:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:40:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:49:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:50:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 05:52:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 06:28:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 06:29:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 06:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 06:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 08:43:30: Request bot not found: { id: '863113247096430' } 08/30/2024 09:08:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:09:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:10:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:11:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:33:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:35:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:36:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 09:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:12:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:13:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:14:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:15:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:16:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 10:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:12:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:13:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:14:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:15:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:16:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:32:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:33:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 11:34:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:29:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:30:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:31:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:32:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:39:27: Error switching inputType 08/30/2024 12:39:28: Error switching inputType 08/30/2024 12:43:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:47:56: Error on send one message facebookId => 8191894850900022 08/30/2024 12:47:56: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Amqkn30RakRipV92viKPOEw" } } 08/30/2024 12:47:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8191894850900022"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 199727, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmWL0EOzjN-DYOzLOaJqCmZ', 'x-fb-trace-id': 'CuXFn4w7rip', 'x-fb-rev': '1016106561', 'x-fb-debug': 'XZlNVQxShMkskT3DWYPDGQvoCOEoz0Lzgi3uEc2GKTtOzTPoWfhl1t+yPFGL7pEKfW6/ED8kWDvFj95pA2qqdw==', 'x-fb-server-load': '44', date: 'Fri, 30 Aug 2024 12:50:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJt3GME_HkOy9ELu2voZWR9t9SmY1UX2kkcBErOScXpSYNqmNAvfKIJABjG1P-GiiK39OEPgjqLZ7-gBss"; e_fb_binaryversion="AcKxJtjZ2kUNqhYm9nyvVsX0QGJTbYGFXcrJRKTdJ8r-r5jv4eJFgpvG1q-Gd2NCWY_0WMm8h4d8N42V-BE6RMQZbZc1hED7kIs"; e_fb_httpversion="AcL3hmyd1tilAhxKLK2pdJbQH5n9pdcDwIlD_p-pakT3DzMnsODZtMGpkL7P"; e_fb_responsebytes="AcJaRfPegknppDYlpGGXHkmLEHCIkpfALKg-Zw5OMfYP9oPNuzgeo9lxPvi4"; e_fb_requesttime="AcIX7He8qq9L68LYPVUuB0zfQ2X5G-1A7YuRAsyY3t0F0C2EPjzjkYSDaiufNgOxLP_1vSrKLw"; e_fb_requesthandler="AcIr5jAjJ5B95md1gFJsy3NfACOhJOf9FwQ7C6w_pYZAOW3A1wBXQp6plziGyqAYXV4TWEnfFBU"; e_fb_hostheader="AcJcH3w82RflrIzpIPshR-FEu5PwAHD55caTDevthUeUVXuBX1nMq8sk2OFF-GjwK05uO1KjFYtkzllz"; e_fb_requestsequencenumber="AcIx5_Khrh0jB-4NNVEr1O8Sbw42wczpIbheB3fXDaSWtFLvvNw-ZQkkplw"; e_upip="AcJVVAnCk_Ifp03IcPquqJK6ln4LkHV22QrAe4ES21nlj4qJ24oxafnhAWHeqUrS_oB-U97tVCVw7PLyI4cHTzDmLyrvqCuUYqbL6wM"; e_fb_builduser="AcLy4_SYUO8G6C5lFzH5qg_IV9oGD7W-oaqbWqP9OdlKF8u7ol5Ha-aZ55cBOQXCBGs"; e_fb_vipport="AcIxgMBEl19xKn_jLChGweWL_wzXkzFotAzs13tRk9euCKuWvzoBOgaWSrTu"; e_clientaddr="AcJnTbsC2dkz9U2K4GQxC2ID5QYSDxx2YpqmdJcP2-qIbEFa6_zZYKUzqKPJ18klJ1R4DVrr_QWYPC9Z2pU1roT5UyEt42AgCHwUgGAIZwlwZ1eQlw"; e_fb_vipaddr="AcKryfqQQ7iq7t-yroz2dfxDM5r1hzxXDpcoYqchcDNa7wfA5vmzns5KGeP6wMV0GPihhS917snxZ26tr06nBgEN40Os6LcLBA"; e_fb_configversion="AcJWoWJhZPQap16vK17_n21jBXmrUuFlEByyZIXjHKlXn4BRWmQgAtwoVPPUKw", http_request_error; e_proxy="AcKv_lHZQGaII06dyk-faCUwLNUII1kOboIjAcA-EE1sMR8vhPkDNLACwhZNNAPSC6lI5IGCdTumvvY"; e_fb_binaryversion="AcKOClqu48PQHCKh_bqxrz8j8CwagbFc0WZBoP7EzUouWTfvkRUUlvGik6BlRatrY6zo8Tx1hE64YCEbuvp6TDFfcJjhC19DdPg"; e_fb_httpversion="AcLvPUCbYqxXrPwjwyrsltSwkJ6NtZx_pcn6AvkUI-Nqvky8VptjURSf8Iqr"; e_fb_responsebytes="AcIGdw1tYkj7mkc0tF8c0TnwDFSdG3_9ZHwsDnWsTGZ8TOfKuKwM0ifZ0a0M"; e_fb_requesttime="AcJB6_pVV_H0-Mpo7TzfIMA3PQxG6iDgVGOxEOwpbM9TWgftawn36yGjb1CNw_ZGIklSe0DaNg"; e_fb_requesthandler="AcLHfYuz2Eo44IsbBi-uab9cJgzWEVXjwTmChwCpqmdTws7TF68Gim0DNW9l8Nfxdpo08cT_1uQ"; e_fb_hostheader="AcL6qm1kCRHVR_-QXvUo4_e5UKXIXBi4DFYVIYa6Cod85h9Jja5Rzcto0RNF8Y0t1tssLb0AMENFmPuj"; e_fb_requestsequencenumber="AcJcdNH2c0coFz88TiyTFoy_oVFQU8gpKC9w_sWUE_0ifkWbxF5-XO6Lug"; e_upip="AcLF0gsrcWr4XJG5VvoawKkFuzBXXbdcRYLoUM3yYjPeRuahZvdCrscqZM39GJNTG65FOUgXEbAayYgOORRbSG4fifA06ba_lg"; e_fb_builduser="AcJsnupEY9Bnu1bJkU8F2s_5ekgouH7O9sUnzjBynm7DLbFojQQeKkOmHPaYxhXFYpg"; e_fb_vipport="AcKhFlY-jtsWFydFdFDrTtzHbvfWAPIbmVJZfS3S-F2c8OTKFyIrm7uQgPht"; e_clientaddr="AcJIfDAE8t-Ir_9LdZIycWiQQobmkEnROsvNz30kUIQlviUbrKylY40_sZlVAuBbc9bkfM35xpS_2YxlaA"; e_fb_vipaddr="AcLqVme83Sv4CMzoYKR_YyRxGrtGDhv7vj-6MRN1I_EKq--bGbi0ZwydEsokBGHUGW_Hgg"; e_fb_configversion="AcJ3ecKwGSfBaH6jjqs39Pkkq7aRI1q6KfSOefOTMxaiISZLweEgnz0lkz5rGw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=166, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8191894850900022"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/30/2024 12:47:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 12:47:56: Error on send one message facebookId => 8191894850900022 08/30/2024 12:47:56: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AACmxhfeCRAW0T_NQQ6Euxz" } } 08/30/2024 12:47:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8191894850900022"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 199929, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7p2ZlMfw_9pim_bmAjr0pC', 'x-fb-trace-id': 'FhdW/5l121T', 'x-fb-rev': '1016106561', 'x-fb-debug': 'psVnZExQ66VvtX8ZCAHA5FMmD3skg7PBgUNYJk0h9C3/KYq8gsxpZ7sdgjjV/zyJ8Xb/cyuGZFRXzK8vDnSNfw==', 'x-fb-server-load': '29', date: 'Fri, 30 Aug 2024 12:50:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKq7lbI5AFFTZzOKw-gUGtI1gAEKW1VDSdbnH1rYBE5EsGFLT-RKCaEMmYCdF2vYbjtoHMkKnPOZ4bYQyvl"; e_fb_binaryversion="AcJREd3sHMZemAjLZZ80SuY0u7PxU3L4aG8OA8RZm-WFUQvJQbw7eu9C8eh6dXnwdGL3Un2Uz__HgMYqBz2D5XPzCDbgb2Eu53k"; e_fb_httpversion="AcLopLCUrxSEuU6RybFCRnSHJ1O-H_Y3eS5jQO-p7kdfgAHbDM_UtqayC3oC"; e_fb_responsebytes="AcKaTN9wYxUG6UkEx4fTwjrO2ndgWHKZCw992lIYA74Xn-4gB8x9_lxtw1OR"; e_fb_requesttime="AcK95Q_6Gg-91uVDHnZL9zq8ViTm6Ndj3cy5vhGIDYIFp9Oz8uLLDpHxEg04YZFvvnwYSakNBg"; e_fb_requesthandler="AcIA0V_BGdGxqu6q1irKPepZPdjIrjiFn8wMGge0X9retlAhoxLMaunNls1mmWNZog6TDUtBPbs"; e_fb_hostheader="AcLrTNb-V9hQzHHVLBWf1KMY3sSyai5U6gvEhQAyJegi2d5mInjQvLyR6qM-FToaC1kfzuOBe14vhPvD"; e_fb_requestsequencenumber="AcIBmMeFCZBu6RZzaOW4RxyXngTxTlhyAtccn9TPpZs53jFXyjGEDJVDZ-iC"; e_upip="AcLqJ4tB7tedDLNGMMSHpX__NeYqd9tc4cjtvxGFjlpiheEatQfklqBMZ9f5ooycdpoPI7j7uSfBIFMAMHjBk_BRzehVATNAPX2xWO8"; e_fb_builduser="AcK5lMaqKGtHrbZhxB18rVcrtzlSB3RPnUsIgndWHKalUztWPICQt66hSS37yG7O7tE"; e_fb_vipport="AcKDo-Ujs0V1bY9cMmyQyKotuZxZ4fanjjJdUI0ie3fsdYU8Ty8-Kt3aCTQ7"; e_clientaddr="AcJov2a-jKn14iPtY4ctxIBUDlLKk64T0lxOWxwptuR_9CstZzOvZXA7RVkuwh_a8PtmpkUs3RsgtVKJ1KMtvC6nqLDoQmlOegUGi_BQgzps1Eze"; e_fb_vipaddr="AcIr1MEEC4gPomyDkX_73Ov79QrDCKBbpY-3BkMVW-IV-YEyP-KpYi65pgx0HfWogyw1ho7slIFxJ8iUlijxQzQIx1wPr-x_gQ"; e_fb_configversion="AcL_S3qeyx4RJdBWfDuA5PbKlYQmoQLHAmTPelq5GpwSl3KSmqeCSM0dBtHCDw", http_request_error; e_proxy="AcIkZqWOg077B-2VpqUe-Yjm2w85MUUZ5O9fkxfVGxRcHS0E8U_O9q53lX37aECbz4VRk5hrZ_aCu_g"; e_fb_binaryversion="AcItDx-DbvYBLH91Cw0ZjZDLX_IzpgleeOwXbfUgb1JY9AE6UV-27K36UgoWzZp4B5vc27iyJfuA1B38keGSDMr7nzfeOfVa4tg"; e_fb_httpversion="AcKPvAEd7dgBmmF6wPkccD8u8WpMA-bDqYLqFyLOnJfUOPNjzFUpNUGDpCMB"; e_fb_responsebytes="AcIZoeCiI5pGwZ17ckQv1snentsZ0y_ittbSlKJfhc_XrC-yuKXFS2Nr2UZS"; e_fb_requesttime="AcJFwghLnKTRWZgmwj1oc-ENL39MMyeRs6wOFh32jH5JSYf9Xy4hkC7cbj8roqbiyan9CuwhFA"; e_fb_requesthandler="AcK8UaG_YIy149hK9Wuop7lIzWNhtW4k244DS0ZAsErWf6wxvUrgzM7_R-FIC9QlJrr_XCJBjUU"; e_fb_hostheader="AcLd2B92QtkeTqo5BjkdY0oR9qVQegL_6Ks1XiZm9I7Dxs_pULyP8O6BVuPFBWb6mlQ3uolpbl6xt-4p"; e_fb_requestsequencenumber="AcKIpxGJea9wWJ50fHpJWb6jOiMFY4T8uDXEU5VrvHb8_GYNHQX4mMHUUQ"; e_upip="AcKr1WeTxvK1wQURKAfaXnf5zkiwXSJF-Q63Q8ujmIkEZss9kXL-2jO6j2BUk-fio88w0R7D9_C7uFYC8B6ieCqbme5qS1rnEA"; e_fb_builduser="AcJrdC6cEk9Z-XvurHnfqQ2PknxoXRDdiIvWwJJeDfvROF2RWTEXe9YMD_sPCpY8K5g"; e_fb_vipport="AcKeSzTP3aizw-LU64lNt-0jJhjULCdbwGI1D3lg5EMTi2vW-S8z5KjaF7r5"; e_clientaddr="AcIKg7fbrY5K2L6V0fpVeXBM1X2dflEm4U0elxFS1eUrh7UEd50KwWEdEI3HqFh7bONjO9RCmmGJbSCDdA"; e_fb_vipaddr="AcLgE0jNB6VoPk4GexcE88_uQ8XJT-xf3qkGOdVPlaKNln6hlHzKqNR5Egr_-Zxchofp5A"; e_fb_configversion="AcLokwLpDUxk2qBh9yL3-faDz9_T0f5e1h_RY5_xkh68a19l798hqqyBXFP3VQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=155, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8191894850900022"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/30/2024 12:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 13:43:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 13:44:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 13:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 13:45:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 13:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 13:46:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 13:47:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8191894850900022"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 210852, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A79_T-X3maDpqwSqelt5G5q', 'x-fb-trace-id': 'CAg1tWXNGOb', 'x-fb-rev': '1016106561', 'x-fb-debug': '3n3NWhnMSz2IqMlOUt1Uc6TuSxn9/F65TnG1nEidi4PnP+FJMQu6/qqo+nOsPOofg/GUJ4QkIQXShXcMQdgGIA==', 'x-fb-server-load': '41', date: 'Fri, 30 Aug 2024 13:50:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIEzt4TIF-UVwXSQCUdbNaBLsp2BMy2KSWeI-8mY0w-4DeHmPnkG2uB_OCQAIZ08VrkR4knOcrgK14BbsIl"; e_fb_binaryversion="AcK_LywxHAGwrR8DN0qwwRwhBWZYm9ebfliv1n6RjPvujB5GcVXnlK2TxxTbTnUNCEp4GPCrN_aAjh3yG9sao-w5v6iKlP5W2V4"; e_fb_httpversion="AcLZ8YwSdRP4_PqKqnvt7eTfu_cOs_KSesiUepITdDxGiQOCaCIXHuDqcHSa"; e_fb_responsebytes="AcKCopWHDZhgBMoqAJ4j_EyYtHQfordy-mF-b3rwcZFHHeqWO0UFZwaXghV1"; e_fb_requesttime="AcKk0tmuA5hdFNl5aGaG5mWk3ZsVcam757RE_BqlDCqm8rL_ZbGqFjN3nmf4f9sYZtGelbBxMw"; e_fb_requesthandler="AcI8w6ENtNOmmnLQXNdxxMw9PPwWxCyhvG363wTUUvyms4UaqXlEl-D8W5sCbdjSvnRIOhMb_FY"; e_fb_hostheader="AcLqWALr0OzghnRk2s6WimCINWiSNnSxVQw07q-SphHoezkc9MlJTmoDb-xPh9CAED3PtVIvgolHgHFc"; e_fb_requestsequencenumber="AcIG-5dF4l_E02wGVwLrAKsKzXqjh4NkmPmDOzM7BeSa-s7iQd2zELNAYMQc"; e_upip="AcJIXQVPyBAarcwwk1mp-k9zFdyvasaYX4TPoe63wTgNT3tnqt9_El94ZH2UdCd4hbegbLHiuz32E4uD7_2_OHsTDg0Y_2OVx5dQzmw"; e_fb_builduser="AcKCw9uGDDKj47378BP2w5AeEVBwdrgKrAZX8rGuZxZZk0KlJvSwBEMuJDGhlpUpGNs"; e_fb_vipport="AcL8KYxv0w54U5exDKP_F7zXPtqW6h_umOC-1G-jBi4QjPpVF9j7P16VYb30"; e_clientaddr="AcL-6owNKx_o7dj5tJEFQr1Qr6axXSgJHalb8ivexblhYPFNHyDZfLsL3U6oj_L2iaQBJTLAunUDFUdmlicaoAAJZxoga1fIpXth1C3eY3rPnsetng"; e_fb_vipaddr="AcK-P94UVC5n66n9ibaRSLDBlUju9VBprabQ8z6xTJvtSOIe3bb7yxj9so5RNOGKza195d3eWUzKmYT-eH61itdme9t9HQTTHg"; e_fb_configversion="AcKwtajftwaP7k7NXgFWzLefyxXPLSWAivCWW3PPIVrCPr5QUHoFnvHxZJAHKA", http_request_error; e_proxy="AcLBg8XY6RCpBI9G1bdeYfHjykWfdurDh-BE0CCvopsApndXR1F8J8pyG1AtcPgwzz5x-mHQoDUaj7Y"; e_fb_binaryversion="AcLY1jLO2E_MJ7UHmoGpjZUzNqgTepE-3pDPlgVKCPDdRVZvw7BZKeZnLRdNIXaT3RsTYls6C-3UUvo3MAfiKhfSH3VeGtVnj1s"; e_fb_httpversion="AcLVxCcKwwGxsibZM7TmU-Ko5FWjr1Ti6JWzs1fpzQ7wfm1_c-ji8XQH3Mc8"; e_fb_responsebytes="AcK2XWcKpnK3wClKR6ZnDEOjcTAczA68zJcF-YYG14BfJ5yelSuaIGnPiIlJ"; e_fb_requesttime="AcIxFzQ__3S_VYRasW1Da4Gl_ET5K1FoUKtDNLJCOYpu4du72zjBVWG2dJX_ybh_bSKABDyXqA"; e_fb_requesthandler="AcLFJrmYjLRtJgieksXKnh4IWrCPPFQ7Rs_BCayE0MDSG2_kVF9ikRCA3Bthb9WkzEbq-qr5svY"; e_fb_hostheader="AcJSHaOl9NryTVutBbuFmO3M5VRVfJg-00ker6f6fTrVI6ybDQJk8Kz4q4AzdsTsMMtevDCrQ6Q5P48H"; e_fb_requestsequencenumber="AcL4V-weill0z7KhoC5legRHffnTmz1N77Y_n_g52PvEpTba3ZWP2syLYQ"; e_upip="AcJK3WmEbCa0lf1i0FZTW3TcN9OlThreWNC9I1K-wp9ppWAO3PUBEyJ5kcWqpcnWJddY-Ob7Ge9VWTNKxTgmfDahDhFMrCHjYg"; e_fb_builduser="AcJlYtBw-NckNKLeFQZcVDPzC7aV72YX-zifVUHSrjqv1J-Wa8z7KBY98kgDMaZT_u4"; e_fb_vipport="AcKADwZKl123ASLlmYXdB-gM6K4pjhHQwW16O1ofCk_1TivODj2UgU0Oiuhk"; e_clientaddr="AcKB7fGPK8yLnQ6_JeN4Eazb2Ev15Rc92PqwAr6nQWQ_vc7W7oXR0aZBB4KAVffgvOhaqF4XZ7zOTWoR0w"; e_fb_vipaddr="AcLUhP6dzEoPm5_9AM3S3D9qtgNjQRgfiOfoF-yOVBM77S8mf12SrMvJQTRAOZtDg0K-8g"; e_fb_configversion="AcIHQ1rYCYpBmkLlmPD8sUKiitXIZ1RACq9bBnV2bZ9dcIKBcM5_jMIHE3DkmA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=166, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8191894850900022"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/30/2024 13:47:58: Error on send one message facebookId => 8191894850900022 08/30/2024 13:47:58: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AENUSB6kh7h7f94wvQxRPaj" } } 08/30/2024 13:47:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 13:47:59: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8191894850900022"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 211020, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AGmFUKWrusftm2ygFLoKmTG', 'x-fb-trace-id': 'AF5FH82q/t1', 'x-fb-rev': '1016106561', 'x-fb-debug': 'aTjqwDddFaRE4Schp/gBDWT9R1Mem6cIr3hVlBKF0qoahrkBSfqAPGyzFwo1/yeyeRQi1WVsOKMt0z4snrZlMQ==', 'x-fb-server-load': '35', date: 'Fri, 30 Aug 2024 13:50:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJhJ0CorntrzfWt7Bzpr8vPloHdOQz75l96h-BUFONIMmjCRz_8tFbqDkQGM_r0QfnnqReNCVjsMfJsTg0x"; e_fb_binaryversion="AcLC0mWLe_eDTjO5Xk9uP-aTFSOfLY7ORl8dHBqBrNVFgk_xfb04wBcU5N2kvinDUIBnygribSSToperIAB7hBE24vgq-Q5Q-ak"; e_fb_httpversion="AcJqhXKnzqDMADe78z94nh4zCnrjYqSgMJnB_pt1VOidH3ke3KTaf2q3bexC"; e_fb_responsebytes="AcL4uC0Jwi-dVRVk7nwsNKtqWcBn7mZr9VfzZwnl6ndXkE8x2wVCIqlcmAdx"; e_fb_requesttime="AcLoqWLg_ecwMAp9rhSbE8jRPSoUMdEe4ElpeX7gjd8LjcMsjwDwomqrSmD1qh2HY24pam2dxg"; e_fb_requesthandler="AcJTV3IgGt8hxOZDZSS-Gr0ulG7NWWWnTXh_GNjEl9NTLBrCz3VCVwQplvHLca68Za8HSCH7r-w"; e_fb_hostheader="AcL8HVKBxsYxw5QttJv9b_XKLLqEckp9j48FZi3l79GXYKShz2tiG6JuQyXiG8_DY6baeZ3hTtW11qxG"; e_fb_requestsequencenumber="AcKWP7QwztPYvLAOF8pyQYkORmh4etSoqGU3Tqcr78nCWVn2_okECJeKFDYR"; e_upip="AcLmAqxsVp35lsZv3Mv3l17pRhtrJU_W47OIr5krAa5rP1bjzV7Zu3ST97GTSBMj_XGbe34unHQKoFaQRCZRFJkX8p8kyI-UwNIbFoA"; e_fb_builduser="AcLODONkIPJxDChmSGMuO8c9xo6HNIzxCML0OWZQAreQkqgo8NVerUsogmg0PAQC2g8"; e_fb_vipport="AcJiXZPD4Tdpztuvdgrx64vlqcd8e60Gf6F1qHaQhDTU_hxAB53VGT_MUD-O"; e_clientaddr="AcI2ZwPbnhNH-O_Y8k9qJtGQu3RmPVhjSRyWqUT-iD3a6XvYM65BPsNXPGHDSVYpN0rjk2fPz_cm78DSjghfuLoYL6aLBFqF1IevtfNvfCTUbwao1g"; e_fb_vipaddr="AcI4cwovxS3_p7bB5wTjnbw4Wp-0uFotTlMfBBFB2EFKNPJ9xk1rkNMe_lRngRQrk06cd3oIeqUNY-YHN3uVa7YaBjgdgHkQ-A"; e_fb_configversion="AcK60LGL7XlXT1srnyvvvqirl0bzhmqVlDq0OdqDFE4ztyrPK7D_hVa72EYCzw", http_request_error; e_proxy="AcI8K1EPqffW1TKdarxqiLQUNhs5supR82DVqMEgKvdjoX-pf5cE5B6-4v41c2aNoKMNP0BJtny65m0"; e_fb_binaryversion="AcKU8ECKYV9SiJ81uwRKXTIJzoxNBkMkm073Pb7VOFskZVjNxaUOqlBHJmy5BYwalK5_fW-QZ9yqIXR46_GBWH_4v5iSbr0x7iY"; e_fb_httpversion="AcKWnSExT0-CEaHGm4Jle13d8dImBWIxgMwtPv-t8mfmFQlSjua7vOCqjHkj"; e_fb_responsebytes="AcJnSu1W_iGdhLwbgySRu0CyvXZ-YndedLhAn28oieM-9uliNHVUBFKsQqwB"; e_fb_requesttime="AcLTcfdU5np6H5nTHtvZGCTEnhyru0tWnseBEM_BvLYXeTMUcC7L4Is0TqPxZBHkbtoH4SLkqg"; e_fb_requesthandler="AcJKFByR5LmCPFXMs_JWkd15wiK9i-AYkFKnHuPgeCrwRcZR2r_EU85kuvGrQGh6VxPGMQSXNkg"; e_fb_hostheader="AcLHMwiWpk_Q6QKQvrtFaSkaaoha5KlDsgyeCvmReVtWkL8-vKdyzPmnHzpU6q6Yz55WVqe-cit6uIGH"; e_fb_requestsequencenumber="AcJhV_zHiOXNArHabkn0LeYt8zFJ7oxNTiPj-StL4xyomXBzwOm4n9aUfg"; e_upip="AcI6zpU1oE1hci8TShjCWAuiVoSsmaIJx0Pw5JHtDOlOJ0VJXwvN23RlcR0a-SxQry3K6rqJlQ05UGZqZoH0tIMftNPXB4hpsw"; e_fb_builduser="AcJVjkDpRr_yBKnD9OavA-gAFl3iljgWqfrTgbLoE7OUZ4x7pjiDOgvxh9fjbAOpFOk"; e_fb_vipport="AcLh_0_jogznl15CBq_Hx2AEiiBMTd9vPgW2JacyM-6EL7Rc1TrBLl9BDMrN"; e_clientaddr="AcKW6FwDzG_NnmWpyiXkI6GwkltQO5cXdsxpyElexlHmgKCdzNIKKrjQ7wqUWW_20NPpr_4samuz1qYemQ"; e_fb_vipaddr="AcK48zvaVs7UU2EWrEJVPF2ssFR95pY7jTcmpup9ht4SqNaduQwJ6JT1yQgwvJHRmZQTAg"; e_fb_configversion="AcKryAly82xyrItabSZ8wOpGDg3C-lSyJ9WKUtQAd13IZGdd8p1mf43vIqWVSw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=156, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8191894850900022"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/30/2024 13:48:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:04:20: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 08/30/2024 14:08:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:09:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:10:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:11:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:16:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:17:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:18:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:20:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:44:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:48:48: Error switching inputType 08/30/2024 14:48:48: Error switching inputType 08/30/2024 14:54:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:55:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:56:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 14:57:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:06:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:07:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:08:55: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66d1186711e0a671f61b8ddd 08/30/2024 15:08:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:08:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:16:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:17:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:18:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:19:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:25:41: Marker: 0 | ID: 66d1e47511e0a671f61b9ab7 | Error: cant_get_message 08/30/2024 15:31:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:32:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:33:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 15:34:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:08:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:08:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:18:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:18:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:19:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:19:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:21:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:21:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:21:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:30:37: Error switching inputType 08/30/2024 16:30:37: Error switching inputType 08/30/2024 16:30:38: Error switching inputType 08/30/2024 16:31:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:32:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:33:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:34:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:36:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:36:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:46:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 16:47:02: Error on receiveEmail treatment: Error: Request failed with status code 403 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 5000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://api.emailable.com/v1/verify?email=financeiro@globalbot.com.br&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'api.emailable.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'api.emailable.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 277174, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /v1/verify?email=financeiro@globalbot.com.br&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: api.emailable.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v1/verify?email=financeiro@globalbot.com.br&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, socket: [TLSSocket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [Array], rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 403, statusMessage: 'Forbidden', client: [TLSSocket], _consuming: false, _dumped: false, req: [Circular *1], responseUrl: 'https://api.emailable.com/v1/verify?email=financeiro@globalbot.com.br&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.emailable.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://api.emailable.com/v1/verify?email=financeiro@globalbot.com.br&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 403, statusText: 'Forbidden', headers: { date: 'Fri, 30 Aug 2024 16:49:06 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '30', connection: 'close', 'x-permitted-cross-domain-policies': 'none', 'cache-control': 'no-cache', 'x-request-id': '4d190f53-23b1-49f6-97b6-86011b029a8d', 'x-runtime': '0.008950', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', vary: 'Origin', 'x-bs': 'web5', 'cf-cache-status': 'DYNAMIC', 'expect-ct': 'max-age=86400, enforce', 'referrer-policy': 'same-origin', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block', server: 'cloudflare', 'cf-ray': '8bb645af78cca501-GRU', 'alt-svc': 'h3=":443"; ma=86400' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 5000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://api.emailable.com/v1/verify?email=financeiro@globalbot.com.br&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /v1/verify?email=financeiro@globalbot.com.br&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: api.emailable.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v1/verify?email=financeiro@globalbot.com.br&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.emailable.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { message: 'Invalid API key.' } } } 08/30/2024 16:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:23:40: Error switching inputType 08/30/2024 17:30:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:31:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:32:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:33:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:36:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:36:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:46:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 17:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 18:25:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 18:26:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 18:27:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 18:28:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 18:46:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 18:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 18:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 18:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:25:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:26:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:27:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:28:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:35:29: Error on controller payload Input Treatment=> type not found 08/30/2024 19:35:29: Marker: 0 | ID: 66d21f0111e0a671f61b9e92 | Error: cant_get_message 08/30/2024 19:41:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:42:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:43:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:44:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:51:52: Error switching inputType 08/30/2024 19:51:53: Error switching inputType 08/30/2024 19:57:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:58:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:59:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 19:59:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 20:00:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 20:00:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 20:01:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 20:02:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 20:57:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 20:58:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 20:59:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 20:59:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:00:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:00:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:01:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:02:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:36:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:37:42: Marker: 0 | ID: 66d23ba611e0a671f61ba0c1 | Error: cant_get_message 08/30/2024 21:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:50:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:50:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:54:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:55:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 21:56:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:24:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:25:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:26:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:27:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:30:12: Marker: 0 | ID: 66d247f411e0a671f61ba289 | Error: cant_get_message 08/30/2024 22:31:53: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 375716, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 30 Aug 2024 22:33:57 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/30/2024 22:31:55: Error on send one message facebookId => 7822438487861568 08/30/2024 22:31:55: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f1ef8cb0-671f-11ef-af73-55f1cfef46f4__1725057237243.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AahAFpTUzcMXKgrjXVNRkn0" } } 08/30/2024 22:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:39:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:40:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:41:57: Error on send one message facebookId => 7822438487861568 08/30/2024 22:41:57: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f1ef8cb0-671f-11ef-af73-55f1cfef46f4__1725057237243.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AUstG1qbefpIL3g1-Yfl_1U" } } 08/30/2024 22:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:50:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:50:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:51:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:52:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:54:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:55:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:56:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 22:57:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8085704038216181"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 387384, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEsvTFrUjhMi95oxY0BXMBc', 'x-fb-trace-id': 'EsdHHJJR0rv', 'x-fb-rev': '1016119877', 'x-fb-debug': '2aMZ1fjF9Swn/43eOmkNAnZeD4ZVPvZLG/lN8RubO+ip8QqB2ndd2lUttGH7yvH02eFMa2Myr7EsRPJdl4hV7A==', 'x-fb-server-load': '22', date: 'Fri, 30 Aug 2024 23:00:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ4A-X6PCU-wDnPnmAA30auHtUJjeggWszLn0A6w6olqKONTKaXVRlfUu9b9CqjUOCszPjB6KjINtlRY380"; e_fb_binaryversion="AcK4CnL58bIppLjbfhtw0ediTQxneZqaAH2Jig9ZKpYxsS4fAg0prZQ7H6Mc2qXcW1eogYWYG3Qe1fmIcXE_VO8oHMfr4AzqyBw"; e_fb_httpversion="AcIG80lmb1VbB5gaq3D-XBJ7o7TXGjqj4pnUt_-FXBCdZJRwbRkIHrDf4ibo"; e_fb_responsebytes="AcLvlHy8idWccFvFAcu55A_zp_VfyYTX1E_Mn1Jsb6qxR7CNV2lNQEKpAYw3"; e_fb_requesttime="AcI3pasaojatAGgBy6MvptDCmL3lKKJSXmzyzVKAUCTTjewCcBAwQ0yywiHFkYuaXCG0pyoq4Q"; e_fb_requesthandler="AcL9aorQEzkeWV0fU8WaZDNI0lM_qNz3yTNSEtNn4p29Pih38NynarLq22MrppMo0isLZLM_gH4"; e_fb_hostheader="AcJGGpxX6Mf61YhYIjGe-pr0ivltdrZAys4ZjcZchEeA7V3yy-ECcZ7oCpVGQvW3NjyHEekmBPiaD8IV"; e_fb_requestsequencenumber="AcKL3RLomBxiqsENE82oeFuLxVZpkBWL-laRD3Xb9_JBdyvUjn-rFmWIol9b"; e_upip="AcKh864Sb82VEAnlHYkI7bowfZ58XswMSroNX2HTpw9ZhpFYZlKVWY7XmIPG8dBr6mUP67I8gIDz7EmNQ6ijKXJSuizkuaXMndI10qo"; e_fb_builduser="AcIn92JX202J-40ix8oM9VJaA17X_75oUm558HtJBix8eT-BQBtgyK5Nk8Jx5ggsymw"; e_fb_vipport="AcINfYd9xuQKF5oHOkdELJ2FsNVsoxhI2MhZBhIYrurBpmtaETmk3anDIpdk"; e_clientaddr="AcLrT9RyI-xFce5lq81ZBMZa8w1zcOhQI7uaQJpaouIlIFjGQ57Yrqw5tyyHvbFrYlJcJp5qURyt7fMnr5Crr2mupcMYCrlYSVLKUu4hXPq_0_36sQ"; e_fb_vipaddr="AcKQuIk7xUuahxas3wNq25Q7vTQfiinszktO7jC3NfJJebWCDPfLgorOe4cM65n0tLA280Cp7TFrxGa5iQ4goeuBVXnlhQD75g"; e_fb_configversion="AcKY9lm3dnQBC0RgqZxNVD9XBddxiPSSyMxoiC_ThA0hsD5ohmNbbHyQK4i8XQ", http_request_error; e_proxy="AcLHBSv5_BeiaORA9ZF6QX4MgeHvMG_2g3Ruq9O2fdeTEOnJ80NPenrJDnYkxeX0T9noyf3IRW45OSw"; e_fb_binaryversion="AcKDBs17h-TMFcG2-TjjqIW8v03FtDlkwIZvvJtezmjADArI5-NKAsQt7jsk6eTg0J74TjRNePv0wPMcFIkG6zmhQhGRtg91rFc"; e_fb_httpversion="AcKR0XAiBUwda5pFC64lgC-gpp9d9ayabuOjfChZVVLkLaCl7ZCP4Bh-Tk_m"; e_fb_responsebytes="AcIXetrf_Ngw7FloOMiDjPFzP0X3hmSOg8XpXoPHv3bo1dxKVvDjghZErIbS"; e_fb_requesttime="AcKZd5KFhiyaZp6swSkTQeanG-cAIUpI2SsorSmgWrhgyVYNdNqouZ1HCT1JgqX8Gt8TY7kPnA"; e_fb_requesthandler="AcKM55A-z_Ng1Ol8541AZqqyqE1LVPQeZfvnp34_5c9S6nkMrjYl9MzoTBZEqOf5HlIm4nX-Xlg"; e_fb_hostheader="AcI79_PJQD8kQk0k9b01472joX5ECccsutp_j6dSY2uJnmYBGySloHxwwbmRKvi34XRJDX_S_iU028P_"; e_fb_requestsequencenumber="AcL6WXu77q4B4MPeobp1isuDihGrTUhiJr1ulW4Y1Kkz0sH-FvbkJI_p2Q"; e_upip="AcK9l0zyUlvNWoSAQAFXBFdG8fhmcjGgM1N_NTAmES_RHkzvbBumTQwSNeIgWgLK4_JKz5tuYliSPhTLCYBLyREJrhoa6JhabA"; e_fb_builduser="AcLQwpTaqL9xQZVbz2x15JOhcJ0X2WSk0kZmCwM_2UEET1vVDZG6VMqH9Dcn_bNW25Q"; e_fb_vipport="AcL23MMj3aJoOkp_bFCARF4fx8d9C-YC9-dVlsFIh8MA1xUHQ30xqbqWXa7l"; e_clientaddr="AcIylVFhAj2FdOcwSqps15fn_2cJpPyf0CqbBswFMfSGwk8gUv3cyD742i4Ae91U2dTNXCdmeQFVqLNywA"; e_fb_vipaddr="AcJJ4IswD5g6atompswRUp55J1EpUXHWdeD4qdxyW6Ek7JDajZvub6RilWwLNoaQpoV4qw"; e_fb_configversion="AcKJZdTBMUFOwuN006mjcWg0dSGd3f8cdTInDcePL8OeHuphGKBqcQMoA5OSjA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=150, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8085704038216181"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/30/2024 22:57:57: Error on send one message facebookId => 8085704038216181 08/30/2024 22:57:57: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AeaBsasEfT18NyshTqS6A1d" } } 08/30/2024 22:57:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8085704038216181"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 387550, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ar82il6ApIkAagoWq5_U1Qx', 'x-fb-trace-id': 'FT+Wn+uV7RE', 'x-fb-rev': '1016124273', 'x-fb-debug': 'bKEFxXa9HYyK+lP0lcQDTIxqxx5XJXlgYYaCVtxaGA/gi7TkE6Sxa3QzIpT02tDeOoy6llQFVxI4c4DI4dSQug==', 'x-fb-server-load': '19', date: 'Fri, 30 Aug 2024 23:00:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKbJrDK0H1nb_zwRroICwP01weMIeP-4hVeQO4L5zPXmCjNJp7132HlAqvJ6MDxFrHgLWzcdnnoitfUueAS"; e_fb_binaryversion="AcI69Ddz6LH4YfDyNvtTI4MjVqUCOjXbOBja9eMndC7APuR-_aMx62IjNfMu_mrsOz_G0gGycidj-QbWmhP8fPsb7vNcHBIUVgQ"; e_fb_httpversion="AcKJ1sy4ytZbGwz1uyCVE4YlUwJODPb8l4ULQt6nNRYEUA8qvpNxbk8G-qZT"; e_fb_responsebytes="AcKCU9v6lJX2af7XwAzBOvY4WsNMVqrzBv1evHgbdZ2xRYj8C8IC21QNPeiY"; e_fb_requesttime="AcICUxzOHgBcrnZ9_KvIz-Gk7y05234OGkJqEeLw6B4VMg5Oy5rPwXFcIsAIJNMn3pUuP4pEfw"; e_fb_requesthandler="AcKJeqSwVV26yLCTtFRW9LJljW4egHvTwS51ry0oOftcD9HL5EuKnju-NJI-OxM3y9ejTMtp2Ps"; e_fb_hostheader="AcKMx73KdIrSMiunSHW9Tn9F4l-aAvksJR5AjaMzz8k0-hNhH-yS0MKsVXK_5SM2TE_QAJltdMOyo_dt"; e_fb_requestsequencenumber="AcIcKh-ra83QZny4VdunRqSmUBwz60yZc0AHXDQ5BJWoN11RFZs0CUJu8JsH"; e_upip="AcIvsHOrDoKGjFSllVE_Dj42mfIUcv--Q_X6kDjcgaVa54lwm9Gf848VmskTY0uyoMbDeGUn0rbm_v3M1UcT5r2LphmJS0pWYsOat-M"; e_fb_builduser="AcI2BiZYg1PJxj57hwOxWGrqQIuwCNz8oPdb5ELsdFhkpBeYeO1It_XavBLNyQG9Hq8"; e_fb_vipport="AcLzLzRpJl4XLS2ftoFAUdBuXazD96DLBcJEgohlT2sTkavMliFGF5ukL6i4"; e_clientaddr="AcLaEISm-f4jm3qoKNfMhMdksrN-xGVHZtbD4C51kgo8gO8ZKn_2j1ic8h_-itjrz_WLQHMCwgwPQvVgnvTYX2HIATwc5VcXOO-JXGblf90jRUNs"; e_fb_vipaddr="AcIggEqM1gUuQR5HiUwBDPGk1NrAA10pnWrPAnmJJXQswNAsdaHobCtnPGxrPdiS3k0l6zH9JCjokHuKTFYxgPuKnwFxdTWD5Q"; e_fb_configversion="AcL1-awnyyYGpu8YSk3L1Q-gRxffXh6-9tbglcaaF5OXe_vWueY4xziqpff3jg", http_request_error; e_proxy="AcKarWxHmZxIqqvevbm1H8O1ZfeqEPPGnb2RW2KIaLgnVd8JQ7LPX0rWXeI7HlaRDS7bVCvGuTqQvnI"; e_fb_binaryversion="AcLUcyIvggRenMozlgov8RzTFvqRf-xK6BVaWuvBETpYQCP3zvd6nkakRoBm7-ZRZ-WB7da3adMXITfp6TKo3lMwHevhS_3G1kg"; e_fb_httpversion="AcKtH1sRyHBjqPC-lSAdZaJ-Dm1U8sgYaHqE1XjfQzd6Vckv-dn_1NZ50R5L"; e_fb_responsebytes="AcLEJ6feuQXr-BaOYomF1Dmeh_Ut86PuJR3-nHMI9DOoqaA5cqdTdqv8Gmot"; e_fb_requesttime="AcJuzKFv-VCJJ3Z0D7NemYcoGw9e_8h-tSdqxnItWj6wD0nbMt76R7i-_mgbR3LRtbTRbSfsxw"; e_fb_requesthandler="AcJZe5LZ-Pf54gnP8guuSMJ46Ohj0Zyb8j00-smp5nVXEzHLgrCmEZS1ragTtLYysLSw3Ij-MvA"; e_fb_hostheader="AcJh64boxPqPtnUtqbfzVLvscIzLG5aMFMELGv-rQjVULPrEoJ4bPvBOdjn7e8FIn9P5O80APF4C8hxK"; e_fb_requestsequencenumber="AcJ7zHnmPFcFTIMqhKquw0X3-VF5to6bN6UZXyydXxnCnnLMowLZGUtmdw"; e_upip="AcJspMue3vq8LjhNL59JOZcjxHpKXo5Ja80ofLH4XjTTF2vGEKqNWcSN2SIxA9NVI1d1gX6M0CfxAYg1u_ntRcb0-75o9MeMew"; e_fb_builduser="AcJx__xA6rS3jdgGygEK7jewpzmqZuNbQwUQjiV8th8WWfSdad9WV_Jj5havlsbY0Vg"; e_fb_vipport="AcJvQExxmrhut5sf6shooxcyH0IPn02ycTS6m3FghUrI0nT9XGzgxL6z-SAZ"; e_clientaddr="AcI826UtWB8i3i4MuSaLAsx8L2ZdCY-Ge8MDEsPuFH0IMz4s0RV9Tr6cBkM_fKWuP-bsgfc-64ggUceHjA"; e_fb_vipaddr="AcL-xLpgOytSeWvYfdkP7mpyERJvLu_C1-23Cko-efl4fkopsKyoxrXyF6aPKpHF1qTiwg"; e_fb_configversion="AcJrw81HxrMWODtrmW7MFcwXMfXdUMq9C9JpCXUuDhOZqP_StGfyFoXFuaAR_A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=162, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8085704038216181"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/30/2024 23:24:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:25:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:26:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:27:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:41:14: Marker: 0 | ID: 66d2589a11e0a671f61ba3d4 | Error: cant_get_message 08/30/2024 23:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:48:06: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 397507, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 30 Aug 2024 23:50:10 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 08/30/2024 23:48:08: Error on send one message facebookId => 7716965488433031 08/30/2024 23:48:08: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/97eeed40-672a-11ef-af73-55f1cfef46f4__1725061810708.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A_QX0yGBK0-BeB_zbrbANx9" } } 08/30/2024 23:50:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:51:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:52:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:54:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:55:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:56:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:57:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/30/2024 23:58:58: Error on send one message facebookId => 7716965488433031 08/30/2024 23:58:58: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/97eeed40-672a-11ef-af73-55f1cfef46f4__1725061810708.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "As9ZRwxyH-K5udgwnlp1Y25" } } 08/31/2024 00:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 00:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 00:08:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 00:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 00:15:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 00:16:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 00:17:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 00:18:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 01:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 01:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 01:08:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 01:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 01:15:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 01:16:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 01:17:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 01:18:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 03:19:18: Error switching inputType 08/31/2024 03:19:19: Error switching inputType 08/31/2024 03:25:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 03:26:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 03:27:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 03:28:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:25:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:26:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:27:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:28:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:43:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:44:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:44:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:45:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:45:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:46:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 04:46:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:15:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:16:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:17:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:17:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:18:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:18:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:19:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:20:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:21:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:35:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:36:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 05:39:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8224140120941192"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 481410, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AOO6toArecH_RUvIsfG2q3_', 'x-fb-trace-id': 'AhJOTvD4G58', 'x-fb-rev': '1016133077', 'x-fb-debug': 'bIy1QIoWji8nBhNr8A0lRvsKH5lJRlFyXLfJVVZfLhKcManFd64jOXji2yYA+IgY4xIW5jNggm/IQewHNtQtYg==', 'x-fb-server-load': '30', date: 'Sat, 31 Aug 2024 05:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIYI-0qWe1LAUWVYQPz-qnuv39NqZ_38GKiUo7wGvvlhqZ58uB5WNrnE5gR3oeDQ2twS6Kn49DSPJCZ_Gi9"; e_fb_binaryversion="AcIRTqeKRjmLI_SOvFX589r5J8QLvHH3aUlyv3Tno-KG-0Ghjbb6XcditGLQF01EP8yGcgY09sshKEkifMIOep-5eRceJ1jlSic"; e_fb_httpversion="AcKK3TKwEVCwTKvuiSn6_iRyENExWpOKZZYLB4Xq8IwiKKZL4i1n5T99PS19"; e_fb_responsebytes="AcInef9teATE5-Q55l2vOLrzKEjTHEFwQNI11h29jVHigWd0vL1Iy8SWXtG7"; e_fb_requesttime="AcKMAjngswjI3zg1hDrOOU_VRFYR_LGLDYinFsl_i-MzlGZhl-pdc9QevY0LXFYx71Wr1PjD3Q"; e_fb_requesthandler="AcI47fc6ozfq7g6haRfdk07hERe6Buxwhb_OrVlRglExpidMmXqkhZg7lUj1lk3bm3so1yKN8RE"; e_fb_hostheader="AcLqnxGtO7fbcSS9X2C0zfqCRZcpsN6GQNFr2zslrGvm74Wg2QYVuDwwndEwumxcgNJ71TmZ9TtV8IlS"; e_fb_requestsequencenumber="AcILeU-H1W4zFMmFnSP0zKM-obf9JuySVv3CkRS6YXrcnOYw-W_TxwFcebzE"; e_upip="AcLuWXBxKWjhC1H70KpAFIaBUyupJe2xgBirM1tlc80KbrpM7qHNNGJtAWKrmZc2qCvQfEc2vYVZw1jluWAeQVaMmHWahGZ2L6H76h8"; e_fb_builduser="AcIgqeW_-OuERrW_4ky52-o1LFHJHo_-lpyFMo4QcMNUsPXaMU0ZiBmdUadMmABzJig"; e_fb_vipport="AcIuxIe5Jt_s9ihCImuxdvLeNtPd9EgCsj37WASRaG0V6LorcxW9q-boj5Z4"; e_clientaddr="AcJg05fmthhIsfZe4Gjxmm7VNLgG3eaX3ChM5KyvopoWiXSv5cIdk7dU2YRpV5rar9dcYZV1KoGXqnRzhoLr38EbdLHJc4ssONS0GWsyoNC_hvSXAw"; e_fb_vipaddr="AcK8mSQEr3LkdBOcuFSCx5fImHIfsXFWjfAGvBvGzaaXDBn7leZSzuB4c1LYbWHGccc-QupMT4sFNF9dlAs8g9zSluPlV6HzRQ"; e_fb_configversion="AcKi22DPzTEio_3St8s8609lddA4fONqQwa9oFT63QUoIgoyiaS44SG1fPgYhQ", http_request_error; e_proxy="AcL2LUTkuimlMjywrEemw9sLY44l6uzt-y-twuMQpPafPg2wCFLWQZlfwWmWRyKkqoNLd0zNVVsyyVE"; e_fb_binaryversion="AcKf8HbNjSdaxPEo7CUgWESYPc6lMAgtglAfOA4M4rTvss6IJ7ExBYsJ1CDQmpNhUniBtHIlUQDQUAMckxqeyOKifrumC0vo4Bc"; e_fb_httpversion="AcKxaBSe_M3TjxwSWwZ6bgrRqSkARa7s53P-TU6h1AzOApkLXvw5GqakII8T"; e_fb_responsebytes="AcKgom795zPymk1rTxDVx6mUy72t2sMabh8HnB39Jyz6YE5AC4cog-eva75q"; e_fb_requesttime="AcKDGNucEJ1cJqEOXbUZf15g_mZICC9pfuNIxTQqOv77KdjCbUvmUXt3xiJUiFYCTGQRXrg2gw"; e_fb_requesthandler="AcLlfEko4it6FuFy0v_iiIRab8ZWJ5NokKInkWa305xwRnrtHBpXYxhHFpY0xOCbnw1dljJ7nok"; e_fb_hostheader="AcKHraNir3SJiYh5kk_t8gpVNKzppMcJMIbgD3f1j8kdEFAaNz8oDU0R7Xz-gPln2Z3l3M19W-SmNDep"; e_fb_requestsequencenumber="AcKAk8pcBItIxE-bGaInpsKNLqvZ-VJqz4WiZnT4AO5betF5owfW9CaxiQ"; e_upip="AcJuCcrT0VpczeDETuIznkL-JhkfQuTM-u17rsYcwqnlj72kfWqHjDt-YXsyaqegxOo5KJhM7aA5nX7TkcrZnIsf_BGYLw8HUg"; e_fb_builduser="AcLzrjUHMJsngvyMVtrVLoJtOpoquMSfm3qNj53pcd8h0ntKVZN0Wxh5gzZfm23HWGo"; e_fb_vipport="AcLfi_5EgyPT8hu_q1Z-P8GsodN-ERF0NuSJn3fDDyAGSKfN97iXdrwjrm2t"; e_clientaddr="AcLmbfhshyZC_r9dpAgRugfR54FVdm9dTQ1OU7Yarj56xypTRwJiKMmvk6yuT7NIbLx6KPO1w_B3o7t8tQ"; e_fb_vipaddr="AcKkPp8-n0caRNxn8oqpKCgfMloTHUL1Unmpa1H-ACO5g_eYMTu3b_-f4U-0iSsDVQfiqQ"; e_fb_configversion="AcKMymfmWVj-PbllPid2gg1ailLd7AeXDyrL3ZPckeVJ3m548H0rL4tBTNKizQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=174, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8224140120941192"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/31/2024 05:39:55: Error on send one message facebookId => 8224140120941192 08/31/2024 05:39:55: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ABFR3MEF1QS1p4Bm82s9E7_" } } 08/31/2024 05:39:55: Error on send one message facebookId => 8224140120941192 08/31/2024 05:39:55: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AXoi9Kz8gICjgOdN9XcEeSn" } } 08/31/2024 05:39:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8224140120941192"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 481619, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0VICgABxG6eum5Y3TA8_RF', 'x-fb-trace-id': 'HFk9t0Wq3mn', 'x-fb-rev': '1016133077', 'x-fb-debug': 'MLpZc5K+iNQu3Gq3XHvg7IcB151oZ6eBsYGOq18KnmRrXi1DDQMIHZJKQV8HNgjJE6H37Yulbl5tORNiNCDcCQ==', 'x-fb-server-load': '27', date: 'Sat, 31 Aug 2024 05:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcL-R-HDtVqliKVP1iNTq7q9omF86hkbJvY2nmLzau3IbGj7ia91l6sPWqMokt6S0OWe75t6HiiyxK6GHvdh"; e_fb_binaryversion="AcJhG4J9MslHZ0iBu3OcYzebI85hqElPVt1NbAfPGSwQavLvdevaR06HKGgqDTkp9ns2SoxR0d-F66DlhxjKp9Sk4rkClhdGFnM"; e_fb_httpversion="AcKxRSZZnQsOMdBXRS1uYY-0q1Rb2MOL4bbqchz0uBmymEBe_85ZmQbPeLc6"; e_fb_responsebytes="AcKUW1cF96qnbqh4W_tAH77xl4sO_KPzlV8o4n06mOzoVn69qZxlPIvhbenh"; e_fb_requesttime="AcIrftu5OOZ-DBaOlL7y2IFGfnqAIdAy0B6N4EiHYNUvxN2k4F034iwASc9Chgo4Y7xeNBeM7g"; e_fb_requesthandler="AcITOjCIxBwuUd3FmX-gcoEOSLXXr3ErmTbOnYSJSRhzF-4tcTrwgkEaJVMYdf80TchoDbba5Rs"; e_fb_hostheader="AcK6BWUAA1H4crQ5Z_c0p20PcbhJ2P54hw8sZvMkQHAIopehoykAo-mcohCjf4IEzVXxn7UAM17rKVkV"; e_fb_requestsequencenumber="AcLToKYEX_cXpN7-_T8khhAIn1Dv1PgzHw2o0tThEh9eK4AiED6o0FswAxtX"; e_upip="AcK65dJCtW4cwwxako_m768781CCXCsFkQ9LKv1WFLEryUb6OzqGgUHk4aHRncjxGy9Ro6jVBOX6g0vzZotBlUEKeZgRPNBRNWm_VZA"; e_fb_builduser="AcKCa3EmRMpcIxNjNHCVIy754fB2b60ADKBS-RbuycOZBbQ4oKOpgCEzOrNMjGjOg9c"; e_fb_vipport="AcIhO-HJkpkcBYllva6WOkC7ptabstrucE4nXa5MV9IWprUlpUnaEhz1HckR"; e_clientaddr="AcIjBpVQyk4QPQtDobbHjKchUcyqWBCuOu_EGNg4BGM7YcSItEjYGZK5TB93bKH1pMffyP2ZMgif5_hGjmOvu5m5VlbLxWnU6bzpwX3cPMEJt1jRYw"; e_fb_vipaddr="AcJ54mnZBoEicHHQbt_OtXTQxjLuVQeq8LqumfA8Kc7epRdPtBdbGDCQSl6aW72ExLG1FlQrlml4Zq01FwgsVyhOKvvgP1du1w"; e_fb_configversion="AcLlAmKGB3J3LBZ7eDmWya2EFY7ri5dQ2FlBNjYXs7sQROu080Hyc4Rt_YKiHg", http_request_error; e_proxy="AcLPGIYOaAyIquVhEQcGJxOOp1T-VZv0LhFTy_AO0mEvgIxtUTWNa-OXByGfvW6kou_Fo5Xbj09aH5w"; e_fb_binaryversion="AcIGnch4Ac0JSROpQYoKwm9UQvEzUDOZA1XmrTNYk0CKBdSvp9mifQApy9YOh5P3zfUNwlkNkj6_7iE1CtYJ3G6YmxwF2zCr5uU"; e_fb_httpversion="AcJR5dyfdkLwGmaZi90w0JQUWewaf2x9GKsv0GKrAdEYsrKaNvHM8ZiyU9SV"; e_fb_responsebytes="AcIzAuXWeAdwWLu2l-vDPPc7MT15oWyUTE3CyixuVwfmlfywTjJYrxm6Zb_j"; e_fb_requesttime="AcL1HZkVqsDrig1vkN5Ldhfg3_-VCxEcSuW0bDNL1dGKG4pcsAYZf_2RSbHEZ3J8dD1TkPMxog"; e_fb_requesthandler="AcLPfClztGXn4zXVvysLQDAD4-3LdXClH64DwnaG0dp_-6idZb3w2hDnmy079gFLkIjgyc_qvU0"; e_fb_hostheader="AcK92AFnv9le_6Y8tP87w5qysSCw-qMitT47JXvyQw4a53ie8SKKR2qfEF6I8TqwoQOKZm-l3wJyzfjr"; e_fb_requestsequencenumber="AcKCag8lquzS2AGQnU64LRvBV6WJ2BIKcrLmAjY7c3mSPjAvdTS6asjgcw"; e_upip="AcIPgNDiIW6BxMHMuXrzhOnm0rOF4fGA4LOjdXGB-olkn_PUFcmJ1TJIwYL5J9NEQn4Rdi9CL7qMCVoK9MMKWpct53xydu6kog"; e_fb_builduser="AcJML_jc9G7r8Xz7-0HASDZjJF1F9bW3COgm3W1apoMdMD-PhJfNuW_pgyRlRWlGrhA"; e_fb_vipport="AcIfrQocxLAyFqlDi2DPxIyxZK192-883xir62X29OVrqSYZ75Ec9VqF5lOq"; e_clientaddr="AcLiBYFvAFuqpWDaW2fDMnTK200dy1kVeAsiwkXViODIne6WkRnOPmxq4eHP-ln5BMI7EXROZpNPuKEVJQ"; e_fb_vipaddr="AcLHaFRDhXOiH6r0kNmTMKSVWAMpwwv9W60VyFU_5fi7LdMZyasktJkMBerauWMpTrcKSw"; e_fb_configversion="AcIs1zgTU4svVrWPUPjKiRD9OBsOSkIKsgtNM_qyWhJpHJTUAXjoQmdAj8u47Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8224140120941192"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/31/2024 06:35:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 06:36:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 06:37:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 06:38:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 06:39:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8224140120941192"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 492160, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuOzNDK_1RWUwnuyCeExowP', 'x-fb-trace-id': 'F9dO1BlXbPd', 'x-fb-rev': '1016133077', 'x-fb-debug': 'grEVWq0spepRta/iIKx4iu5rwdGAJRG3hDCalFP9sWTv7648zzmXF2QPTuWw86TcsgChTm5J4cSgBaM8YE5QNA==', 'x-fb-server-load': '59', date: 'Sat, 31 Aug 2024 06:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJXiCJaxfvIzobdCw3S-TJrtKePH9KAZu7sIratK5JTiFAx4epvcp408BaXOwQme1QRmVAH8D2W5yRTWUyb"; e_fb_binaryversion="AcK_c7MvQ9xvp1cloLVvJFKRQPZ83stC59P1cgsj2qUx6NIeCq7RH6W9E_1cd1zluWmd2pFs5LFpeSJbydGed2oPsFkj2fE-oSA"; e_fb_httpversion="AcJsN6cPeXPMOIPd2HQUe824-QKmQykEK3RaOWb-zqt0P9NwGIkMyz2NI71X"; e_fb_responsebytes="AcJlsVwfJCnoNlWBSfblBG5eM5v2rntF42uwBd0QW8W5SW2wQBYEzFEHziw_"; e_fb_requesttime="AcJI-lxlqu15r-kJvvLdM6HMWWw1jiP9q7DDT5r2xcRAxUlEW9kkvuDYpQz6ddAszu0WsRGQYQ"; e_fb_requesthandler="AcLISdt9Sfpy5qJ7BetKCJeeIrl7RnccntjfFyv2qUswAK6VENyhIjWb2HgPYvXcVKFAanoyCaM"; e_fb_hostheader="AcLahqR47llquJY0qa5jqxfKS8NiIRFCXCsBcGgnNBonQAMRU0WTDoEZl8GhAIKaTzrjhbLZIv4IGB8O"; e_fb_requestsequencenumber="AcL44KIJrrfhQVx9gzfdkgEgrlC5169CtN1GvzF65RwD-VY-6Hd1Vi-3FAC7"; e_upip="AcLjSiFuptmJRIS0OE35qwJPK2BUQkhN_WQU7tk5FcZuKtL6_epI6yzpVmMr5anAsYmUocOr4Q0pm3fkbXjT60ypou0OQLGpZX2ILLE"; e_fb_builduser="AcJRS-zhcG30WEuwUd9q38BkEUoV6ZVPfpFpSfCKf1ILZ2GjtET8w9GEXt2m7b58ttw"; e_fb_vipport="AcLLlQ7gS4hdzc2cz16V9PVyOpWNkcCO9OugFjbBpP1EpHwTSpGFRyugxIk-"; e_clientaddr="AcLHmWZxxjujx_9KQCiG5VNVhke-Gz2yeCD0lpFkZwjX4kl77JgICsZPCXIm0lMos2MpgAK9X08sK2sMVcgWlFw5ddHa6hJB_MYOq9ZLZNkpWNaTxQ"; e_fb_vipaddr="AcJX0A-fpvbdspOvfvmoMpUXKRHCTH5WI-0V7KF7wCHmSHLd-XWOTdpfS2ZW0a8_M7Sm0m0PJhl0XhK7MUzCprfWfC3_zD24fw"; e_fb_configversion="AcJcOWGx8ON3uJlcHrY9WH1PrTPEGum5MxkrnTs7EWdyTPYRaPUCrDHo3B6VqQ", http_request_error; e_proxy="AcJ6G52pcfKyHPiYXr_XvO5bZ4zzJXnNUyBtF1te6zJ7tgCMRxaFtkl87JEydHGQC323a2j_km91V-8"; e_fb_binaryversion="AcJHDMiyKUoedabsBvgvOiw0Ks3kMOEhTBDACR7vC0ZkJ4GVA9r0Qy0IpKTK3NXnZ2pJpbd57BJUOi1C7lKd5Vapa6xQDA6AO9U"; e_fb_httpversion="AcJ0MMsOXcaXt1JKy8IK6tDKKshH1jSznbHX4JJMo5RnJ10YzesppCU8HqF2"; e_fb_responsebytes="AcI4Cjkv3ncLV1NkPItZ7o57uzY0IEoiKHFbmNUjYifHxcDSNKvAQW31dPs3"; e_fb_requesttime="AcI1CWdMT3eC7wON4xoyaMGayW1-ro-WPS97W_CYhvmXu7cQ5qeqJpJnFD3wvlj1c5gP-sQwLA"; e_fb_requesthandler="AcJtbL8ZcekSDsGWimSTl_HDoEoYjAe05loU6KDOCgyQbCJU3tmAXBkbYQfCwjS0F0c0QrC92tU"; e_fb_hostheader="AcL3O7u2H12fBk6n0rBdrygE0H0zfHUwdYdfyDFRhKIBlIV_D7r6gHVEfRVnjqxNIJPZkCXpPMBFzOnQ"; e_fb_requestsequencenumber="AcLH-1QwVjZQcuxLAp2MECi9vC3t5RmmsPKsmArtcfrfRC1mYsBBLqu6YA"; e_upip="AcIdQ4yR2bx3X0FZAFr5NA1ex3nMhpL36H52Cgku56_CBGn-l6SUXFJBTqPlo1uBUOsu2d8_vWKqOlA6PHd8RLNOPy9m9d0SqA"; e_fb_builduser="AcJv_8GMWCSYZRXyAkBNsfhniYrUR9fP2AB7UgW7lFAK7o-OcBO_ymPl2eNNXtmduP8"; e_fb_vipport="AcIjHnIRWmT7eir3-IfxwbrSTrwOZVxpaX6WUMcnoxSD3Nv3eqMfrUiy7R_H"; e_clientaddr="AcLcKxktnZKHFm0V3eDlA1SO9cyCR29HDSeX75GIWb76leO5vufcesORrRWJzUkBIdUQA9uuWANcaaYGgg"; e_fb_vipaddr="AcIsx6hXbHcvAnT9pJUZQlJaUdhjrf4ihEVwTzOamB_SM8QaFXqkToezQ3JaWpEKWVdR3hQ"; e_fb_configversion="AcKAHohqvjy2Rcu4B9THKnTFZHJxM4tcWNxaqifRMcOEKF9ixSceh0fNnoV3cA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=3437, tp=-1, tpl=-1, uplat=188, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8224140120941192"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/31/2024 06:39:57: Error on send one message facebookId => 8224140120941192 08/31/2024 06:39:57: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ADGHYwMZwBBJNZBz2nk7TXs" } } 08/31/2024 06:39:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8224140120941192"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 492330, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AuG8-UZQFQeodUgcz1wC1cl', 'x-fb-trace-id': 'Ck8kbKdAsCA', 'x-fb-rev': '1016133077', 'x-fb-debug': 'IfetiXq5XV4QObPgue6JRBEzGCap5fMqlVuQe+cTEBEjrs+yQZtEuYnOC/ar+Q0f7YouCMI3fLVfV5Ylc2wt2A==', 'x-fb-server-load': '43', date: 'Sat, 31 Aug 2024 06:42:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLz-4YnUuMjqsZJtg9FtL-VtsKo-5C92_cAd1kldvYwAwKQwDQ9LJnFlyExR4laeaq6Mg25l_Z848gglXiq"; e_fb_binaryversion="AcLMD7yntyFjrQ89IyhFVEvCrkAsltpahLzON4gwavMNmZvPZjzhcX4XRTGR827TChewNetQzEGuKkt0SurvpZGR2hoJfkIhC48"; e_fb_httpversion="AcKUqFbnlnEDdr68EHXrw49s4I5WBkdLnN16arsYEI5hVUFieb2QlbAvc5b5"; e_fb_responsebytes="AcJU8WbONHIsjfIvGqL3Cj8EmzZAiVFw4KWsABmag8kYNvuqgX8C76z7D9wZ"; e_fb_requesttime="AcKk7beA8rpIxYkRzJ3d4MrDZsnPrLLFT1W1BMak9qCb5TMF-841dZVT_4bTY9znNsp7J6_tXg"; e_fb_requesthandler="AcIVsCkRgqu5mJjxGvfHcUMWIxh6JgcBFeUe90CRFrR79ipe2NhNMitYWF3k35L1T2vsTXQJ11Q"; e_fb_hostheader="AcLMGbDQ4YXlD97zjAAcSecRVCD4DV6YnSptwZxJnIqDqwu-Bj2x1mU8J2gkRspMICIzlJnydigyqRXj"; e_fb_requestsequencenumber="AcK6E-H3ne9msRguTrxraYZOIY_GZ4WLJlavxu8PL3dspAugSKzh2KPUVIkF"; e_upip="AcK8F5vpOd1XXPDEOB5VZriBbO5YjJZMxU2MzTqOfAzQFPqsk3jY525nFZNXzTKujLd7jijH1lJcBfhDiCUd-2B197GpTQDAkf68QPc"; e_fb_builduser="AcJDa_WBgbiwF-RXyzoCYTjZupHRhs4lo0VPXJAOTTzQYRjb9vMagJ1jqT0gfvjIzdE"; e_fb_vipport="AcL3MZ9umxltfTmGHOAZAlTwc_x_8-EP9XbtZ2RQEsXktZoRbmmcCHkE4rcm"; e_clientaddr="AcKrr0M-S3H9cxWTOxgnhkncaEOBgGkT8TB24dWfwCvXnhEYCIvFkAnsfKti9HaQEwtVCbz8aW2W9VJ_HC9sAPZ_fxKVFTPNhC6rZrUED2XO52_2HA"; e_fb_vipaddr="AcJpl-4IJV6y2dbyBUaWPzfn9lt_NxSqaJi1GNAZfFhjBN30fDuR7-UIBNKctFoaZuN2yeuZrKTt4O5HZ-7jQE7Y95bZuol1tQ"; e_fb_configversion="AcLKz196zVJIszweBR9mKOxgNUt5r_malRprfaFSzZ7U65U_UJHczpOVvP5CWQ", http_request_error; e_proxy="AcK2Z0jgCyPJQeeuHMk0hXML5edTOzMzGJnESB3mY_tJ-lLaDLQZFqE51GFKhWLXQZ7Ftw-wrJyNQcc"; e_fb_binaryversion="AcJXHp4o-ocGr18pRSaVFa9EhV8IxNwn-Z19rdbHM_1Aor7rvZ-YnyLKBYbyiXVzJYKdlx6I8EM2YeP0usKJMdOjq0RbUn4-73E"; e_fb_httpversion="AcKMtHYhiKYHiVGVhfssh1grtOZNQ6FKzsGXtCB5YnVCxe6ER7U_ETYKez0g"; e_fb_responsebytes="AcJQFYUvxA4UinWdOUvU8-JUP9_j5yigRvD-q2fVyV3hRWN_DrpG0HJOvg_4"; e_fb_requesttime="AcIkKx_Kdq1JK_RnH2YoeDTzo4La_RiCiMoLwatUO4PgrkchSwu0LlvMSe7z3Kc5BFXM4cpFyg"; e_fb_requesthandler="AcLEVNfEvZIGJQY_9YhgzviEQpD5ZNmqtaw62v7qUWLSm8MNt89F2LR3f7spFlpgFbCv0IifPsc"; e_fb_hostheader="AcKOrzk2F31f5Ktw1Apueo9twHO9sO6z-GuDi377QpCQ4ZsdLuO-BBGoRD_RvpKh6_9UTIkx3piW3upH"; e_fb_requestsequencenumber="AcKzh0WAr67I8vJuMDXdfK9ynx0RoAEDh0d8owizadEdDFeDaafo7wwkJg"; e_upip="AcIpkLngArLG_DvBfBELs9LIZNiUC85HGakseKDWOsLmtZ9ki9jrHu6j15XOIjoQFvYYOMkU8yjImXhfkAagzly80tzOjKISeg"; e_fb_builduser="AcJO4yNKNxGInDmv_JmgJIB3e2-VoLeF_ScjyzopmteYCHEZCZkU4-d2pqNpd_kUWcY"; e_fb_vipport="AcK6sZT2I2t7lTt8IhsK03mVCegzUBOHWJgVVHNHuY-QxmTGCW4TQeTcczBO"; e_clientaddr="AcJOSniXf9rE2YKt6YBWuIn1a8gBSqB6DJrV_J2h-3n7-EXqXC2j94jt4QAaeiN0ZrZDiBTFl8SUmf6Jng"; e_fb_vipaddr="AcLdnAHf9Nv7vwRAekEjtQgEQxc8DcmDBJBk-mHb4bzy8T4Ccwvl2dQ0whiK4822krefIQ"; e_fb_configversion="AcLBRbW1b440IuTQF1E9gQYY49wNFqsmcrbt98nTomTODn0O_pPSxJ0amtkywg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=157, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8224140120941192"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/31/2024 07:05:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 07:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 07:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 07:08:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 08:05:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 08:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 08:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 08:08:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 09:42:39: Error switching inputType 08/31/2024 09:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 09:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 09:50:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 09:51:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 10:00:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 10:01:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 10:02:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 10:03:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:00:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:01:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:02:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:03:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:20:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:21:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:22:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:23:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:51:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:52:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 11:54:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:51:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:52:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:52:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:54:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:54:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:55:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8350967658303647"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 571687, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzzneRSD-NpgLFyKEmxjFdK', 'x-fb-trace-id': 'CInDTxZT9Vk', 'x-fb-rev': '1016135666', 'x-fb-debug': 'OjsVT7R6i21hPSyApP7jYHLjjoDxTqbXSLtg3nQyRhbpfkuZZFlMzMeoujeVch/0Vl/L1RwhqO4i3Mmuwf38qQ==', 'x-fb-server-load': '43', date: 'Sat, 31 Aug 2024 12:58:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ_e08Vx-40Yxf-xXJ0yF_i82d_QLd6QwicB-8Skcr2JMOovruAlIXjqF79pFmSJP0cQZ8VfJ_V4RgUEfg"; e_fb_binaryversion="AcLmRNtCAgWp0xq_gPVVkJ_f1SCX2kLpiJQ4aQ4UQrk6Hz7HF8SMct504J9dDEk8pivCop6xUVEhzAbSrf3gWdHohi-HJ4mv_-o"; e_fb_httpversion="AcLSue52nrU59cSq6f19iPvIrurHhkYbiLcDw2KS2lRtlWQNDC0GsFycb0J4"; e_fb_responsebytes="AcLqVoBv3x4uFphG7JFnVkz8v1__qS9S-SUWq0QhXiLARBTzvpXhfU1NlxE6"; e_fb_requesttime="AcKWN2gqvwSskJcRK4lmEIABvyHYGwy6wPtBB1Zupaf1ZsNRZAUwYIqyI1u84LEBK_ADWjGdrg"; e_fb_requesthandler="AcI0RphfS_bHbS2K5EaNRNzdlh8NQMDtJbsmGyQkPuyLLDyIyJW-OYBI6a4HJW80yMjW-EC1ApE"; e_fb_hostheader="AcJM_bHnkaxysdDGO3NMlXZkdcDrlT_Q1OWsM-5FkDDE8UAF6smdZRTvhpypYb-nwtGEb_wTJzbpHeTj"; e_fb_requestsequencenumber="AcK4HeE4aCDtOrfXHyF6zTCha_P8ZjwYNvcjZdW49U0zPgw97uESC_CvgXL3Ow"; e_upip="AcJh3kBo3qgpLPO6LWv9fcfhJQ0LlcTdktiNtmehUPFHRiXByoImNF7vsaI704phssPF871TxmakzoxHYw0k6fW91guo5B3Fn80Zmg"; e_fb_builduser="AcLhUyQVDpXuq5Mrh_YjD-NWH42jFJ2Tse8-w1jY0jGHuyVtOTVcrO66Uwd5CRDGrhI"; e_fb_vipport="AcJHciug0dbgNeOjq86M8eUKtyqyHSGyb7YlVK8yunu0IHcaachOkMGbwY5J"; e_clientaddr="AcK1FF9NSJnycRdVIovqp7vmmbdfbYTCuk9RX4kvLSHeZkK6mh45qDnP3lCWTf2khy-mcF-u5Ov4cd0zZfjhnrMG0-6TmjnrazGOZxP-_OLKYQGhvQ"; e_fb_vipaddr="AcIuJXw5hteR5jPRk8qvXyX3gfZTqr4mseZjOEEetW9d2CklDMtKqSG8hi6x84_6ZgUu8g7YUmGh2N25adaeJmTMYLxsMSQotQ"; e_fb_configversion="AcI72p0lJPtXGjqhGaOQ7_-uaAUqw-ea7rzPt-e-Jgm_oCF49C9WkgIFxtJVNA", http_request_error; e_proxy="AcLhHxp19sjsNNeC7oJ_mYw0jVxfi1U_1H_1HQrPtBvxJKiP6Mnlh6r46YR_Ip4L272uGL__nLxQshY"; e_fb_binaryversion="AcLb82tJeqb40LcF1Z92_9sthqyQDYwNR6gEdVZqCxB5BlDs4X4laEjjjFWkMLm-RpADtlpo-W-LO42FFyrSr_ymrMOTx6eeFg4"; e_fb_httpversion="AcKEc8fivFuzJjIKuNDZfqdcRQwQckP1mxWDTtwVyU8_5C41LUUQT8V7PFZZ"; e_fb_responsebytes="AcJS_SA2BquKW7-Hfcm1I-YShG_5nK6oFZV1u2fmQ_XmoblaoxU54KARsZct"; e_fb_requesttime="AcJz81ZkHpLdFCmh5Csk6y-HzHQD4AYhgaOyPpD77hGj2NL-FUL3SwDEiwNHBbP4NUmbf-sBlw"; e_fb_requesthandler="AcJ1ea40Z7uQ5YBxVJtJ36ueivpoP0OS115sxEGaPGiH9q7dm9VDBkHdEwNFdM35Ol8CkuatxfA"; e_fb_hostheader="AcI3BrwoDk7EcWIBqKO0dDFYdCvGjqQtnTULGmu-H3_5jaLmcw4AqxYDU58zosNIOuUzxwR9ITyPz2SR"; e_fb_requestsequencenumber="AcJnDQYrSQAZwFsx45IeZcpTa4U1gkb7w81D8_k62qQPChjAMmfzAnIJsw"; e_upip="AcIwIxc-mdJxPMOCOPpwjelyDsp35QtkEvgB7KH16c21sgW7f-TcMJNQgeaEHdPzxYSWdSDJUr2wpc-vMMJULPFHMIq7neqE-Q"; e_fb_builduser="AcJwA2v-SiFzxjYIiN8-Gk1xzYFZoPluLpIlJKsabcQq7WF6bm9FZWWaN7Aka2A2He4"; e_fb_vipport="AcIkcnTujRGD7EjkgzXV4yfDxsPQwjuotD57SwvPrhlGOoRTxTLR4q5mQ-Hu"; e_clientaddr="AcIy0FIpQrJy6Aa5Fie7h0rpZ9LiVoUG2-p5CdVIG12fTvrjNZhgPvWl078BXg9zy3xGXOPVU3AwIpCS7Q"; e_fb_vipaddr="AcLv7pUDrRMvfdeoO-ekOt7wIJDE_8_pQy6ENpYsKjoXLUYbOQdCCDH2pAP54JRQ1NgIag"; e_fb_configversion="AcLMZapnmq3YqYUdh0iTrPqCmkNhvOscuQjlyQ_hMfz1RCG6PHLSVPnSCuC4EA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=169, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8350967658303647"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/31/2024 12:55:57: Error on send one message facebookId => 8350967658303647 08/31/2024 12:55:57: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AlBFLrRiqQQotJMJVE18kpq" } } 08/31/2024 12:55:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 12:55:58: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8350967658303647"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 571856, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ABirD0vOCBekxlDl6xWmbaE', 'x-fb-trace-id': 'EIWobVWOAjK', 'x-fb-rev': '1016135666', 'x-fb-debug': 'V/X1SSGb0SaX3FVyeZRothb1LZbpSlRafQOhDTqfVPgEEd9ElYSSHoxx/MPHylX0NF1YU85jocNiZT5w8fjJQQ==', 'x-fb-server-load': '47', date: 'Sat, 31 Aug 2024 12:58:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJK5qg-KfnHrHdLVeB07Dm9ETOFDkZVROMLI6Wv2jjU3ZZPkYjMvHT-dbh2zgu-bKnOSyAmxBznrRv33RvI"; e_fb_binaryversion="AcLN6PISfUKTZ5QAhZpSup5hO74-d7-uVczgzrKunuSoo3DoTZvvV0Bm9vvgSH2CpL1rKwvdpFPWFuB9Z7Wc9YxDkDLCSTL9O3I"; e_fb_httpversion="AcIGL2-VHUxIoZ_i_XffAnIG_HEjxQRn8fv7CgStDlrWPyelTj69ujGmCP46"; e_fb_responsebytes="AcIu1iW9f1Cm-EYfhUiJWXAysxEOIQiErTgSEnPlO3b44FBwjetCDW1b5OOX"; e_fb_requesttime="AcI36XPh0Cxt40Y1uI0VkukQ7ENHZsnp5LQJXU3sdcXe7zCTg-G0FVAw_8iK9VOHrRCz_Y4RPA"; e_fb_requesthandler="AcJYOsepH233RAu70EBRuK-uymdW22DT61H-ikc0bXg0Qiz1tZ1xLDf7DEhGDfsOJP64qIcRxaI"; e_fb_hostheader="AcJq4lfY_p53fBAg2Udo3FzZODVqwym_GjZvWF5efXtA6l458B4dBAkx_3AdFzqQKwGGM8LjifFARPKj"; e_fb_requestsequencenumber="AcI8vkDDWdKOmIoeTPEsUpec1MtAQhTksZm0eGAyNwAs_x91fwnt3Cg6wXOr"; e_upip="AcJ7vWk4YLrubTIjE1Gy35nDE2yDdl_5Arh327cAhIX9azTz134Zi_31aVXseaRESlgdmhuOyN_Ke87FB3FU2g-bII0xPbtwox9FWA"; e_fb_builduser="AcKOkGDY5nSlx1DAls5tt_VlymsSSqWPGQyfJh-kmpIKXEn7_K1aI33um9mpYsM8nb8"; e_fb_vipport="AcITiRCgNDFykDLuBJ5ctU3vs3YqSn7zrijIQVIlxNIZIgsc-nqo7ZArB-NL"; e_clientaddr="AcJILegwQnMeL7PfyDqW4E-ODKgJCjX3VyNkaYo4O1XneAet3g33FAK8PrRQknRp--5VDoKGfcENCd-k-I3al3bqqJxVRFcjW74IDR9OUZTk0b6V"; e_fb_vipaddr="AcJAOwyOHaEDJWwpliRpkPv0A60kraq8TEmF_4S4zMFLOyhR69I5NXbTV5IXXnstjAACwQuQLRbIR9IfPaDPSnL_6utWM7BIJw"; e_fb_configversion="AcKD0gzDBYQA0g-QIbTsz9z576jkZ5T-3BvlvnZRd4N7hb1shR05TXjQODqlEg", http_request_error; e_proxy="AcIv5qGXmpvGtE1BMiHZfD8Grk2x9D6PxsDdYRPV5qi34H-qKunMM4P3-FQ9RIeIijuPL_RWQEWzf84"; e_fb_binaryversion="AcLM3lTJIDpHON2rtBCqHXXi_eyK88gR0SzFpw88M5hzN4e14gK4EJTS3IHhvZWIJcpVsDgfdJDgHEtBaiXI90w8_6F3sEEFVos"; e_fb_httpversion="AcI3OQ1XRzrQcUHdvISyMhDzOXClXeaV6YcowM4fgWq1tETLuS0vzakg_Bv7"; e_fb_responsebytes="AcKhvL-AWhfPm3c3uyuOq2fRy0RG-5Sy30i9to9ULbzhLr8YAe-sTsnDFCb3"; e_fb_requesttime="AcLvErxEAm3hVUffxVfGfohtwlgEW_QPO-i1nnExEJSfJaS5SvGLNE_fr0MJavtc4NB-2INP4w"; e_fb_requesthandler="AcJzed92ZwI8qQZ7W9D5RI30NyQrxnk-jDkriupccYbMlYhn7cU0Z496gWHgEI0C63qzxQPjNrI"; e_fb_hostheader="AcIb6RV26I-IWkc6qUoeYvnjwlgIaVPoLRA3gc7vm1yB_HIs-QbgvIfa8lZ3QGoIYPpj8pUdOSQRJ3_9"; e_fb_requestsequencenumber="AcJ_0BblTWjg_Qtg3ydb84WUqESM4mf5g4m7oZZTAJjd8ivnj5SvzCXW1Q"; e_upip="AcLVj9fD5t6bLep1p3H99YIuDBPE4HYHDXjlRWz0mj6l-77MWQR3MZnMRigVTclqz_TzjoyoJ-dslgBfbThq120pJxv6AIjKHw"; e_fb_builduser="AcIvG_NOqhIJrDQSf5XV8agnF9Bw5NNgl5S2HwEEIz8vM0wOvt2_4CnoFUWjmJ8VGiY"; e_fb_vipport="AcIt5xBHH7fZaHh8FBRbOLfMrfJ2nmblsr3V-1tk3YOkdCjlwOk8J0hN-cCQ"; e_clientaddr="AcJhGFQXXTrKY76OkJ9R7fDQBrEjUoEQ7WTmyVehH3NU7g9cEc3iVa5rSf7aH3kpVCFAlZiTFLto4fhKiw"; e_fb_vipaddr="AcLNlj5hIDo43MsmntPooW4qxB1r621bCUyIUN_-tXSzGrFpmHUVIsOnpStdf1nYpZjvGg"; e_fb_configversion="AcKz72EN-qmIdR4vkeAsmSh8GUT2pbrpkNQ7Pz8X0BLjvvwDXuV8ivMp1aCyHw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=163, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8350967658303647"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/31/2024 13:12:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 13:13:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 13:14:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 13:15:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 13:23:55: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66d0c403ff349866cd522258 08/31/2024 13:52:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 13:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 13:54:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 13:55:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 13:59:27: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 08/31/2024 14:05:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 14:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 14:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 14:08:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 14:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:05:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:07:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:08:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:13:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:14:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:15:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:16:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:17:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:41:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:42:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:43:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 15:44:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:13:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:14:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:15:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:16:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:17:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:46:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 16:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:42:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:43:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:44:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:45:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:46:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:47:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:48:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:49:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:50:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:51:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:52:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 17:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:42:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:43:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:44:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:45:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:50:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:51:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:52:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:53:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:57:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:58:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 18:59:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:00:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:01:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:13:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:14:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:15:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:16:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:37:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:38:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:45:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:46:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:47:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:54:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:55:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:56:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 19:57:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 20:54:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 20:55:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 20:56:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 20:57:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:02:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:05:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:05:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:06:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:39:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:40:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:41:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 21:42:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:02:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:02:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:05:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:05:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:05:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:06:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:39:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:40:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:41:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 22:42:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 23:30:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 23:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 23:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 23:33:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 08/31/2024 23:34:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8088160001232720"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 729218, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AeN3cYpxHhMTUZMzQWCNHL4', 'x-fb-trace-id': 'BJt7SdfEC67', 'x-fb-rev': '1016138622', 'x-fb-debug': 'Bp0Nyf2UBFxfap26Y7tclZRYuopnxBrWpjJCTz3kNigZI3HzaDn4XcqPgBGniMVVEbAry6ykkiGQIUMtPwFOAw==', 'x-fb-server-load': '24', date: 'Sat, 31 Aug 2024 23:37:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJLDt22YQcpoofOTjJ508RlBF_GgUcyOYyq_lFcMhYEtieIYwDCK5mM5KxnPXW-yVtQ4hzeZd_62E7k06xG"; e_fb_binaryversion="AcICe6QJyQzK93L9zEgNURAB-Nm9hXO21HneXIzHTGRiBO0PfWCXP5iobp8ZvWnutDcNQWq-zyKoInIid5uAEY7WkYj6ilEj5xI"; e_fb_httpversion="AcJ_0FSNoR1-j_HERLDa9DwDqJv27pObPMoUhShR17_ASVtZ14SYe0HAgP_J"; e_fb_responsebytes="AcJRKeZfGlGkhqaOaOue98sOuKh1MgjICvurZe0yOWMR2KhQYN_66fAW9hAv"; e_fb_requesttime="AcJLCQ2LFhwyvjRpklsmPamC_oBOVyWWX6gXp-3R6DTsrQRbormX1ZEE4xYLqQpdr6ziqWS9Sw"; e_fb_requesthandler="AcKW7uih9X6HWF0CS6IUmavXNpEfWWWrIhKJFwJoZ4uTqnqofs1m9Ivp6pg0gWCCsB6Kqm6c4Ug"; e_fb_hostheader="AcL9KL1vSRaeUy42zx4ca2UiE0TI6I9UYs-rvdDev1DFTd5fxzi7VmKsb_86QpHpEe_D8DWSRKXFXYEF"; e_fb_requestsequencenumber="AcLDG3iZNVx-2IkIiv3PHH2zuMYy_j_-82sX9y9qBjnrPN6wiJfghlF3v1RsAA"; e_upip="AcIEFaJZjxiutxKKa1GVcjQrLetq5XP12fXEqIx8agh7TlXYWeYqYSNwrL_AlGyMXOB7nJu5DwNNJCGBNJQpnPoalQ4tT1YsmrNPt24"; e_fb_builduser="AcKkAHUhxRrXuASdZDMw06_z2_aNmHYIchdHq_eXSx2ht-iccwPoalqbtQcK5UZRUZU"; e_fb_vipport="AcK7eB4Oq5DW4aa05KJWA0LP6Y_JSlxGbmsxjhh8GulrZXN5pCzqrUBuSFuC"; e_clientaddr="AcLoP3gP1dsLvNqsXZTt8_-ivkDcbPYwN3tHc7OUbuOh0FQCeQdIKO_-6X4rnDI1-Xmdn9ommUq_wogbmdxEJCGHNgwQ353yYttDMd7bwz-ZeJ9Axw"; e_fb_vipaddr="AcJujz4ledYitjwDrc3dq5Nul5caiT1dNqjm7vLZXl7w7E962CpIuXTXNOJgd1YfmrXUVXqgr0157l2abX4LlGgP4JuDyiKruA"; e_fb_configversion="AcJ21p2p72JSBX_bc3qyrP99zdDt6ua8HXqrmTrqUG5hzdxtv3b0tnrQwBwB8Q", http_request_error; e_proxy="AcLeZup0z2_Dh_FGRcbjrimcLU_r0CWUjBcMdLV-TzplBW4ecdl-pMhFZp6mgzPvx1f51FSZaLr6k5Gn"; e_fb_binaryversion="AcIz7-jar0u7JbwN9Aun1iMm15UQbH9j4NRluiG6LtZT6Wfm1P0tEqrLHOPefgAWPcJUx735ntrfvx6_sVQwFyA_U63XHV95G4E"; e_fb_httpversion="AcLqsU5s8dN8KUJdMFMLjwZ3BTROeBend0hIUKEKEZOk5q86BjpzHIpfUx4E"; e_fb_responsebytes="AcJcZZaTzuOZ82eKEMSZfJuCsQ-WZcJ8_-ycL1rLQNfG7IpEYILTh7OOVMTh"; e_fb_requesttime="AcLUqYU2bAFxwmytNygiKt6Aamx1ZUnM4vmyj_epCkDRVahcZV2YJhCu-24H0rDBhmwsyk7HDg"; e_fb_requesthandler="AcLJki77htO5L9O4Le2Ec8jOWgT-OXdBcGQLFMIDPt8cNCrVWjt6qF8olJkuRmkJVVldSyotISc"; e_fb_hostheader="AcKuwZVFzoWhhZEUvPAiC6AFOM0MoTzV_ZRKv1zwi4RVPRyi6TxE4wa7KhM47Ocwu2FYfdBV7AiSONE2"; e_fb_requestsequencenumber="AcJooopoOoN2OSQEyF_LitYqSk2_Mm28F2S-uSjvgGORlRcA2qxOY9_aLg"; e_upip="AcKDov1Yn6Uzhbs2xh5uFImIHFPNbypQJx5FOVp9enliuQzNZf7_1rEaECORwgqe8009DsrlUiHcwRupKRpJB0Y_eERwKZacJw"; e_fb_builduser="AcIKffUzTz4J_EWfsMzHPGUDHpOnB8Sb2SShT3Jc3evRjUeMhXaeAKxrSa0KMvVBJwg"; e_fb_vipport="AcJFBkb-EzNP6FsaljJeWoBtjQCpLquaVUa3h7LcUhhdAAqXb-4y0-8LSuXV"; e_clientaddr="AcLoUSsVH1I8TykpWwqD-CYnqNR9B0r5b0F3v5ILqGzJC5vNoM-Stdd_wWoTTB9r8DEVWx7ZZEnC_uGvsQ"; e_fb_vipaddr="AcIIGdgrIIdcPO4i6hIbHy-daHqLdn2vVWaLtFJuXJbB6W_aYTxj2A8XEOFRKF56Vo9ZyPrkrg"; e_fb_configversion="AcJ091aK7vhSCcq0PtyO86FIqUNms-IKiTU50mpTqgdevhwwQck8zI65LRTmKg"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=65, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8088160001232720"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 08/31/2024 23:34:55: Error on send one message facebookId => 8088160001232720 08/31/2024 23:34:55: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AyerDDRKMkK6lS1jNcrcqjZ" } } 08/31/2024 23:34:55: Error on send one message facebookId => 8088160001232720 08/31/2024 23:34:55: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AVMcMffYu1P2okl8RCNUyJH" } } 08/31/2024 23:34:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8088160001232720"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 729436, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ABs5IJCEIHCPQP2LjzcxyXO', 'x-fb-trace-id': 'BW35j2yM+mr', 'x-fb-rev': '1016138622', 'x-fb-debug': 'SLLu8wSfspHQPAXq3MlD9NnCP+Umkg5+nmNOwlSvRqFI/vjAt2VIy0o3RblNVRIEyt4RKM2as1Ku0oCJQAoKFw==', 'x-fb-server-load': '26', date: 'Sat, 31 Aug 2024 23:37:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ6jSyRfEy2QtZNeLCC_dtEqne4cewoAjkzX0ERenBxjF73E-qyPgEIJ7fjofgHtOy728KnkPEZXgKCQa4"; e_fb_binaryversion="AcJ65pIW9hcBD8p54SbAOM9iDQiTt1AK1aKhpd2x-SrPeVjfgpd3Mu3uABARw7FNAqZ34RDxrZTIxkJzj67zjH-E1eg5nTEVFO8"; e_fb_httpversion="AcKB1QpFe9yPfqakANiS2GbVGb4JJre0uY9euymiVjaA3uWTdwdB0P9qd81p"; e_fb_responsebytes="AcLeJYyTD3cmKx7oPXk2sW1k86lEHyIY7tCNIfH-fUte2zkj3SUqj1kJg0z5"; e_fb_requesttime="AcLyuxr9KMhwh8HZUPmUdZiqnLZeVVz5LCVAZiZLSsIyL4jgSrTierDsag4QB5-XMBIOEb7APQ"; e_fb_requesthandler="AcLXI4DimU8P7MlHVJYOpABobtp5TVlnjylpMskOGLbJC3Iq71rUpJFt9rGBDjn9vec5cp_G4tY"; e_fb_hostheader="AcIXhp6zqFH10Blf2jEYS4KwPFtvsLydwDasEJHFtyjS4EfJi8UmaoibHVpwAzcwhlSx6TD5L8ID7jRe"; e_fb_requestsequencenumber="AcL6c1RmCCRth3Lcg9TL7IKfBLlTqE3WfAn6nqiyQkQchq3RhpxwzTv0xjhOsQ"; e_upip="AcIrszCVCvCiZNhArYVV5MRN3XSCHL8En_5ksFv6ab_6tpCDzbdiOEqRaswE1JmUp0eghKkIfUJiom-zEheYxLTZr1oHbQbuKCDyT-8"; e_fb_builduser="AcKMXTS7FIVYKf1kfjibGqnas1lWryM7d2-oTiwc7h77-tkT8PysvIFuuWWW35hCuds"; e_fb_vipport="AcKddwmu_Ezo0ngGit0KkBTbplBZwi1fpcwlpHdM3RlZZyqb5gtu-SPbuf7K"; e_clientaddr="AcL_-7_pwAGXYnbjNpfGrwJuzrQQMI_cRqj1B7rigJejNF85s476yeZCDkjg1HGuwITaWwtFpb9L8dmqaMSdiwRV-Kx1MoWM1o4UqCKDuxB53wVXtQ"; e_fb_vipaddr="AcJzvEOWUuwNAW2N_o31Lgo7Ann0Agtpk6o57Sd85J-gHKqzNox3WEWm2ecKrM2AuCAqvLW01bUomHNtW__HS1qD62mqVNL6Rg"; e_fb_configversion="AcLgsKj2iQrv7dFcNqAdgnPfPWFM1VJSPoRPxYie4kYQS-nPwzZPR6T2yS_8-A", http_request_error; e_proxy="AcKzexF5wyUUAu-0fN5lqbebATl339702PRA4kAin-Ll0qpFdPzRKi2TzCICxU_HsyQXYjjcuiFNOC-e"; e_fb_binaryversion="AcLqoEGXFD0RDRh7wrxiF2oR2ws32a6Uu1-va9yitNB2UYOCrmpgTjLRUNnvYXxbV3CL9ZpOk92Q216jWiJfPhEBIC8kJ6aEF3M"; e_fb_httpversion="AcJtDdPVaQsEnAL3gMbwJlKHFseEZAenhP9pqu0o9MAg8wWKYB6fKGektun0"; e_fb_responsebytes="AcJe_i3aPAnKMRA4lWL-9QLAIY3O4yraMQj3k2EXrKuTBiY3QhOt0LsEX4AJ"; e_fb_requesttime="AcJxFYr_ppXZMeL5h7NkQnj-HqTi-QD3ub1WDbqSkX16TBqtl5wHYKtDGNybkmUlWA_mMz8u_g"; e_fb_requesthandler="AcLOwtwI_X6Eo_uFkd12qN7wa82urwp2q1zaDCYtI3Y4eKpvDegadnlis2ReR_F2bwBJljcyVnE"; e_fb_hostheader="AcJn6jcNkM8VB3Ctex2bjV4tmlbXZs3fvBmg2Jk2ZYf0k7XH0ccSBG5Y-6qSFNFHnnJv5JMTDEZCBQp-"; e_fb_requestsequencenumber="AcJRpE92nz9Yq1lwsQbafnAzkC7Si4ai703_n2LPlwN95lBNyXUyar8HOg"; e_upip="AcJcvppgIO3dnMjRvu-HTbNjCc1cjvLohY9BytJYGDJbWseBgJBRwXxXiFNYvDMIfxzN4cbtHTimxo-9M8ryl6s0v-ihgyIymg"; e_fb_builduser="AcIIs277bSL4UkfrpdKg60D3xWpRopnfXnLikC1Vnm50rQahmT4bwow56tfXVSjEUNI"; e_fb_vipport="AcKBEBaBoem1ed40SKrWgvcEeMGHtDDb6c1EonWtpun72MxttrbT30ik3_rm"; e_clientaddr="AcLLxGM08l484NyPHi8mOgEbHGtz4u5lCVyZRxGCLKNztdlw9JKv65ZZnem4K_DjSywZAWTaYgqR-A_0-w"; e_fb_vipaddr="AcK_8xnh1aTnqR2F7_Ron0bZDkU_7kOiem3KOsMe41y2SShKHUS_dSF1rBud6LuA_Ml0nAo-FQ"; e_fb_configversion="AcKbHDQciacJDWlRzutm3Rshpv-kHG165lIFBzu0RSPx3pGkZQMEM6ocZ3D7_g"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=107, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=66, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8088160001232720"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 00:30:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 00:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 00:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 00:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 00:34:55: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8088160001232720"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 744181, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmTXPCCqZpPIE_zkOJIYSEj', 'x-fb-trace-id': 'CZEChYZYZDi', 'x-fb-rev': '1016138622', 'x-fb-debug': 'Qfs0EFYyLvQyrwBJ9qfHcuHjqhWI3ekesPXSHMwyeJsKpLnmz1sthIrJxAyr3pOzqWOjT8ALYYJXRHk5cTtTxg==', 'x-fb-server-load': '19', date: 'Sun, 01 Sep 2024 00:37:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIgQo55XQgHg3vww-gI9FAFqF_-bUQrMqfBg4OzBsIW73J3f9F9BATZHpjr8q45a3as2Yu9pZm0Ro7cJ1fc"; e_fb_binaryversion="AcKB0rSFwsLuYC2MiOqeFAFS9Fs36Aq4364TlTLAVbOhKzy8QjqsJrkMAZ6WDJwPOWqYePAFQ7nZgpzOYILUSKnLIDD787fuzCU"; e_fb_httpversion="AcK8q7VljD2FtTHiXWJRe0YB00LGGph5mzPXixJF0jmuGlaDEzmt6dNRHJc-"; e_fb_responsebytes="AcIXM1PpopUE6kbpcptubcr1D5x1Phie5xIajXBiiuntgGt-toI1dxn19x6T"; e_fb_requesttime="AcIEzsfnQ1gILsoeaaUfA8wdlD9q9t-MHO4gOZSkAC8CpZ9U9VBJFXPfH91yOcl0oX2erzMppA"; e_fb_requesthandler="AcIZ9L37GlgzrWBdYJLB1qtin8W4l96xvRuxQ9rCL8ANlvMdpOHqapMlP3I19N1FptBtIKiRY3c"; e_fb_hostheader="AcKDH477GrjlZI3Ub2IimxpX1th3iLU_C00znDza6W9Zpk4KhB5Mpouu1BblfqfK1Y8PElIhPms-TgZB"; e_fb_requestsequencenumber="AcLdj4NrC0njryOv-jgg7reFMXA4ODyNY3fkbGZeC-OpBxgAxtYGUc8Bqg7BKA"; e_upip="AcJ8GKFI45XnyrHfs5MHnbGGMw1yP7vXhmgUanxzrOJvuTqLS_S8uGJzpTkfMY-HtQPD1sPsdskj25BbcuJkVdouA_MwISl4289_wio"; e_fb_builduser="AcJzDeVMhjvy9W5CaXMQr26V7G3oJ0zgaH1Py7rmUvOKNCX0naec1B8t5P6TXzDApgo"; e_fb_vipport="AcK1GG8ojwo3m3Rm-WBLRMBOPvb2knlI5gnsJQLoOSbuNGYMXV4j_56LdFGA"; e_clientaddr="AcKYAt8zRD3ilPNerWLmnRX7m7gzKobo8jRvxsVau5uwQSFmY5iP0mAypDOszLVq7dWDKfvbgUnQnc6WxQuRUh8ku91Ex6iinq7mPiZONAzXOxhumw"; e_fb_vipaddr="AcJwqIo7grYR4pAvuieFQqQKsOTv10hq7cv18-AQrOvNaEZNj2Y1D2gDbwFPmvUb8uVGNeCD6P0fC2N5qjUMbu3_d6nRp7dWeQ"; e_fb_configversion="AcLzVcX7jDN7uL3MxP7ei4YLuQNSPBARCN-R0aqOuad5rBq0GMr9hpQ3xAn-Nw", http_request_error; e_proxy="AcJuOpizyjd-Sz2M__-tFrtydxEvmQM7hjqY2SjCdWuzcD5qY17i6S116I6tKFUFFP0wvG9dO58wK6k"; e_fb_binaryversion="AcIJjaps6HDrqx8IAe74gikN7BXoSISY0UsAxmi_BbmKyHtO4u_3y1AaWyYyfC-U1T7U2HLVnnMoglWLeV5wgCQMrQ8Jjg7sfDg"; e_fb_httpversion="AcKVZ0svrAyWQJd4xg_sVMfFoKfz0AhmuNaBsHnwT83RBffezJx5TSAFb0Ik"; e_fb_responsebytes="AcJTbCrBbuzYZDitzF0Red63N4NCbMdf8bdBAba--xyPfG8lcL0gSAg4xvS8"; e_fb_requesttime="AcLa_wwyHQlD5NFYZm0wfPN5JofUaJNk8YzTxNZjD6GQsoPRqXPC8FqzojATE2zGGDF6ZSuDBg"; e_fb_requesthandler="AcKjwxMMSQ5hpKLp4Slyy1AzIUhm3KpL8WdMsfS5FY73oxDvo2bP-0i22pXL52BUwuW1rDPy0W8"; e_fb_hostheader="AcLD9U4W2Ha8E2-ojc4N4f10xvOCLA6z-tjprydWzYiczfsztu67PzNS-0ZA8d-RVSXTegvs2GKWN-jF"; e_fb_requestsequencenumber="AcJZwd-z8USoXv87Lq9G3jXQL2nvrBR4fNl5s6hQMPFtA-ZosF0A0MzGWA"; e_upip="AcKggbvUNUYKizYfqSoxzXHTlr3zlSqNi_v-nYfXa9Kc4y2ppwwb35LOpt56hjqBL2_GxhcNTzoGtWDYv2MSAxCKsLt1PPKBuQ"; e_fb_builduser="AcIma09JzKLgAsR8NfaFEbpIYbtZKYMo_I6r0Bz46zwSk_4u6w-L4v7Be2psI7FrUHQ"; e_fb_vipport="AcJNwHQietZanvW1yQogE7ui6sjDa2xh5b_SzIPI9Qz4Z3iAOJO0dQ3uAwfQ"; e_clientaddr="AcJiZQbaOE8Qx5eXw29SLBgAgwI9oZP7EhgMZhzECfE5BSQZgamMBle8JranQLN-rWPFvfdUR-dlL6OXnQ"; e_fb_vipaddr="AcKkb4dFTZhw-x_W9wJAoc10mrGxhfLsqdzN7W6sVzJuOZ7VP6gYbzuOaoCPGGx3hyW1AQ"; e_fb_configversion="AcL6c2stkpKxuQaen1CzKgd4RglPT1HvEKlOuuZ5_WUclRZou-qxK2WmMZqMwA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=153, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8088160001232720"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 00:34:57: Error on send one message facebookId => 8088160001232720 09/01/2024 00:34:57: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A1dRbNZwBd9LgOCYUHohwIq" } } 09/01/2024 00:34:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8088160001232720"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 744354, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWnsxWBddF5otUm6NpBpwLG', 'x-fb-trace-id': 'EDiuTaUt2Q+', 'x-fb-rev': '1016138622', 'x-fb-debug': 'CktyHUR/ZWUGsIvNYdZZw9/OLuRXHsHb2Rptx0SmHGEKuyA+dnQuSGYfVsK+qlWKHUGAIdj+gRx8fDbazhVdOw==', 'x-fb-server-load': '26', date: 'Sun, 01 Sep 2024 00:37:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJISty6jQooE9jqnZoDIhz3W4WRtJ03srRVReLjsRZv3M2cHszsQ7_w6IWCEUd73i-1Kaw_ifUzFtUp5nc"; e_fb_binaryversion="AcJOOVyDyBQSLAhVGLetVouO7cc7bUYy_EzYWNbhBs6wbyo5XGyli6aZZ_xa0E1m9sEnUc3HrD-dhmLjBXwqygy91tB2_1WBios"; e_fb_httpversion="AcLd0BXsDRJNoj2VHPaGXktCQpE43lsXq_eutHOsypGXZ_RzAJWVnSeSiGF4"; e_fb_responsebytes="AcJk65whDMlMkjwtpqGI8p-12oYxxfYLCeRgBLoFvSkjKgnPZyp8xvhUB5Xy"; e_fb_requesttime="AcLLt64kTjb7OVx79D-RnAbzJUXYPhXEIO3ZNLZGacGQr8ml1snlR0c5azBDMS1BSEMSDaTiJw"; e_fb_requesthandler="AcJz30QspPKegtXKhik0Fhw0ZU6hXK4T23RW7BoBGamzOGue8AJlyvQxlZ6hzRF9-b9GmShOkTY"; e_fb_hostheader="AcJPcHjPHR7_gTi548Q3ck7xPbVBTSLGjY93b2JiOYwplHBY-F87M4cd3mvC96vpuvBWVM2w7n_--gCQ"; e_fb_requestsequencenumber="AcKsU7Notk98XEg982Ix_UnVRHTSltzgYc4xB17EpJu446HH9teHtPshjL7_"; e_upip="AcLj2t9KY9x_BfZ3WJXu5dy1XQLZd8NfF9TijLPvnac06V0BKtKLqa1IJWOc4mbc1U44-WjJJkqFSF80PHkbirXem6ec6gPqp4zqwk0"; e_fb_builduser="AcKb5qZTNiyP0heFQxFlEE2zuBDkcDR4xQJ6YTGFgvyjCSAe2PGEIcw71vs3s79e6rs"; e_fb_vipport="AcIEVRKckU2ArI06V_Wjp87sm7ObS0guG65JRIIP1rfnQ5KSDDJcY2PAbg92"; e_clientaddr="AcKfPEIpk2Yc6dfCkymynO5l0rw-Nb8fInqBZpRaIDfPaZsX9kyZkF3vihbfsMK8Vf4HXxYBu47Df_s5mqTx-DlvT2OKAheC1ziWG_-d7RZx8xuD-w"; e_fb_vipaddr="AcLg5FS9n_IDlR4QlbLygmybDtjxYBqpEb4wxOED9QFAfy9izdZFsHHY8nrAMGz9Nbk3QuYTMoQvyaITH-DWV3QRwUQyYrzv_Q"; e_fb_configversion="AcIMvvURAJm-zAzS8FHRTWwx3UXKTpHw-zCbWyqcj-SGdpHDfvmBevUR_LRd-w", http_request_error; e_proxy="AcJuXbcNOa5yjy65H-pz44onN4dfrhPmYGk78t6QhMKx4cdbRExF0M9rXdBa1K7Y8reDKk77JTlv1OA"; e_fb_binaryversion="AcK1k_75QBzcXh9sXHjdotw5Rq3uvoRrCHFDBRRinb6OUUGNtGP-COobA5W1EumxnuU5O8Z9a_zGOZ6nsMw6rLotgXyq_mNc9Vw"; e_fb_httpversion="AcLd5zv0Zp_DnD4m-TDr_2mrXZ63XkmL7pis62paMWjxJkoUOmZcYqzZRfdW"; e_fb_responsebytes="AcLVe2v57yx1uAir2lZP4obw4q2NtxrqiqNvfw4hkyI1ReGLGTZ_iqZFvEP_"; e_fb_requesttime="AcKpoZ60SCtVwdCh1CAb-YHb9iNEwLMpEAQ-sgwr6j_Gq8ms903uidWRxeNFuCh_yePvIGcDDg"; e_fb_requesthandler="AcJCF7-awnPyqLeQdi0opTne-jfXVnPGqEzUq-lB0MVcFgRjC1mwPSrWgxVNgjkvJEfC2cadlB8"; e_fb_hostheader="AcLvPENaB_3qzffG3ch2_ZjOSq-eXHYDreqg2VaORETysjxyZyxnXwGHCGY2PI1npQZpdm9MogyAU1GK"; e_fb_requestsequencenumber="AcLDFURwDSnojMvMOBKyvUukghRJjyGMpO4lV1N16zZ4cTesWpZY2qiOUA"; e_upip="AcLaLXLjs7hm-FALvNiLV-Y2BMrPCZ_4_q8vqCfEKMYjltSappZBqMjl6dfl731zsYWteL52gJwiLO8g-gMFzfa2WEFZUrGw0Q"; e_fb_builduser="AcI9YGL47dZp8TrjdWYjFSCPTptgyofb6-8TkpLpwBcHiTvUeYw4vkGullpYVcDbuzw"; e_fb_vipport="AcIqkK-bpQ4l6VGeZTNdaOFfoDu5RAmzi-8_pFK_gPaY0RlN58-unf0_XQx8"; e_clientaddr="AcLnGoq-44bmiK9rEIjGNQbCSJayby8DIN_-Fum7OEFDkU0s2ytGcpQEL__GNiniKRN1A-jb56YY0OaHMQ"; e_fb_vipaddr="AcKR0WbFB5FLhjlPGHRPnFF3tPRSv5mg2XIxKxGklAcWzitlAQalxwTmbvy58-XYQC2Nxg"; e_fb_configversion="AcKNoWMwQyX2FrnBoryEQXtyteVrWdovcmsqyVWYpPYdVgJK5y4pnuFrnhFsBg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=149, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8088160001232720"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 01:40:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 01:41:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 01:42:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 01:43:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 02:01:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 02:02:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 02:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 02:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 03:01:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 03:02:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 03:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 03:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 04:56:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 04:56:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 04:57:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 04:57:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 04:58:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 04:58:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 04:59:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 04:59:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 05:56:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 05:56:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 05:57:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 05:57:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 05:58:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 05:58:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 05:59:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 05:59:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:14:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:15:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:16:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:17:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:25:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:26:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:27:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:28:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:39:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:40:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:41:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 06:42:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:11:54: Error on send one message facebookId => 26452947654349076 09/01/2024 07:11:54: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A7-PtwIUbMTFSoW1JLUUy5i" } } 09/01/2024 07:11:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26452947654349076"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 826967, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQy3z2ZCMWU_LAbpJBxVlUQ', 'x-fb-trace-id': 'BT3Q8aNCsZY', 'x-fb-rev': '1016140233', 'x-fb-debug': 'AKzJaK1Jsond0I7GyKzDQU5NH7ZziiCLOO9A5gB0XV+pw1NAHll1V7CDvq2o9aVoJoQ1fRBDPb/L7V4/EaB2Ig==', 'x-fb-server-load': '33', date: 'Sun, 01 Sep 2024 07:14:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIEB5MzDeD1FXGx8E1MGGv_pPJzHFXUmll6Fy90CtaCmCa_tVVFcJ_h5-njIyznqpbjHA8ZuJOZ49_Pg64I"; e_fb_binaryversion="AcLQBL78tItduDls_A_zZIbbgTQ7KTwvMYiQhXXReZxSfZn5o3jrDeng6A-UFeg3HkDQVRjEgcBi9yK8tp-os0djvGOCWdjy8X8"; e_fb_httpversion="AcLMC-8vDxrqzy6qtDVQa_2tioTld4WlJATZ6msgBtzdWrdbWGigbvYhKuPn"; e_fb_responsebytes="AcLQAHxyv5PpsdtkHdzmFpxWAHL53Jgj0Rq6vYswdAPlwnWN721EnbgAZyGe"; e_fb_requesttime="AcIYClT2GkcxR5ziwr3GgYjJD24Ngz214aSnkv9_BfQFpGoFcRgxlyhfzKV-QJod9I5WE3PC5Q"; e_fb_requesthandler="AcIqydR2G6oQCsvpGEOzIRSG0sikafPJHWqS8f_w0kJGGoZmv6qRuSMJH3RAorFc1GLcq33bmio"; e_fb_hostheader="AcJXU61nSavSiVifj71QIr3BCf8gP78-JWfhdsbw01IH89Bu7tlDmladNh-WNKEG_UCmqPxiDB98Y3eO"; e_fb_requestsequencenumber="AcKX1BfihDnjxEmKTAp9UQ0XB6N2FIfMewqhV3yJeYWtFCOBRrqcRHMimg"; e_upip="AcIF7V_sFcIJSnUac9h5Pfl5zxwhVSzTfB9_rj60-5H1PKqleLlWzienB8ce20MN4COq4zBms3N_6roJoBNiTCoLjJWuBwhxLTixqjw"; e_fb_builduser="AcKnDK7gHB1NdtCAF8FmV3XNqgtLfOUnMU4SiFCa5mijHwyXkQM0BGkC7ENdIi7mCR0"; e_fb_vipport="AcKq-e74mPEuOfs2qa_FRubNRAwQvrPig7Bpr5dI1A53WDX84EwPAizNpwYu"; e_clientaddr="AcJmVWaP8NgwDFpkIvSkZ10N8zI6HX0ovdiE6cYNVrT4Bqeja_qGf85SrpYnXMOHvjtYCcC4gto50gdlDiTWdGnwtJr_lb6qfxReRFZTTAq70t4YTQ"; e_fb_vipaddr="AcLVb36rRLTadxKsV4wnBCLSs11nOCOIEI6R-2HsW4gI-YA3tnnv0ZCNq8rLTLM3L9KgbN6NkurGtfLcBVo7Dv3B9F9od0QzgQ"; e_fb_configversion="AcK5fRSW-ejwBs1BzWL-SmiZyFjbARk2Jzye5P_V3X_LCoYvg-kqHOmLjVIKPg", http_request_error; e_proxy="AcJ_sgtnsYcWxGZ1uLPNOa2qLywCzwX6NyDOk9ycyohqDIWi8IQMM-2kCnFnQDCOT7YJWYcwzqdF8mw"; e_fb_binaryversion="AcKkqMUGVnXhXOgVVYJeyjDK01Aq2MGgDuiakQpWUj3AiEn2CFhomGWCPsxlDwxWn9yMBPh_5xl-JwxlY-sWHsHGVdCCKFV7Gwg"; e_fb_httpversion="AcJrVbz6HFD8hRUuDD9Euo0DUGSlZ2BO_X5MvvEKctrAn4BeQrupukbqkPX9"; e_fb_responsebytes="AcKJRqQAeaL5SaVKATySo12efdxjn-KfsUOCffYOAGgsQESz6_zKe33eoF56"; e_fb_requesttime="AcL11E-GBCjIOl4VubDQWL7m6kM8HrV2OT6oTf3Ji7XbUT0tfJAUgcj9iLl98dkjSUX_2kFBkA"; e_fb_requesthandler="AcKCA-7RYZfBlzoEPzy8u2HZ28nQwrKrwzn049nQbp-CKiMgqycSIy75awAKJRK2OTqmvKtMeQA"; e_fb_hostheader="AcK1OlXREv2d_sSOfio2GU5tL1u6y4Sea6ytkxIb3FUBFmmjbVgvDSU0iQQUhGetRG8FJu6MegmicumO"; e_fb_requestsequencenumber="AcLosgnUqsqYGu3QFX-ygi0-7wQ6VkAVsfEiw_xiplYKSU7tVbgrL2RRVA"; e_upip="AcIIaBKJKH-i3106sVk4booLpDGhuq08uxbIc0TmqPlA9IT26B46feJWuV0H_uw-PzUebBINmDTogHHK6JR3ygVCFky9AbDpQg"; e_fb_builduser="AcJHFIxtFLaZTrGiMpLwTCJHb-rHjGbAPZm-MZXZ2M5P3JY4AftfzPdPijP0DC4evLE"; e_fb_vipport="AcL0jmTxqtzd0PboTO-P1TAlzR0ipj9yXhLR8RpMKtlQJZPJrWlj3snbGZiZ"; e_clientaddr="AcK2RQAYPmRc_RHO3unpy4-pi5GHfvBd2bRMMsoCaUJLpGRUkKyRQjfPflwjs040pVGeW6mQXg6EGuUuqQ"; e_fb_vipaddr="AcI5dtfQNHejvEm6oyL0tahrS25XQky6UqM73fYUzR8JmcfDKwkFEB48WdgEFZDkzPXwog"; e_fb_configversion="AcIEaPNi_CeCjgT6OhihExPLxtNbOYYSG4d5VYnrKfSYCGUKdnVMC8VXNQoYaQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=191, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26452947654349076"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 07:39:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:40:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:41:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:42:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:45:53: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 834558, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 01 Sep 2024 07:47:58 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/01/2024 07:45:55: Error on send one message facebookId => 8553210778044915 09/01/2024 07:45:55: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/81dde3a0-6836-11ef-9dd1-ef63a8a0658f__1725176878810.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A1m3aY_fL5fGFwTw50yetK1" } } 09/01/2024 07:51:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:52:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:53:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:54:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:55:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 07:56:56: Error on send one message facebookId => 8553210778044915 09/01/2024 07:56:56: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/81dde3a0-6836-11ef-9dd1-ef63a8a0658f__1725176878810.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ADMiR4hYNhDmOqUMJr660y1" } } 09/01/2024 08:00:16: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 839215, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 01 Sep 2024 08:02:22 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/01/2024 08:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 08:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 08:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 08:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 08:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 08:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 08:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 08:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 08:11:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26452947654349076"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 843064, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AwCxXQWHe1X2aIzfnAWZmqo', 'x-fb-trace-id': 'FqywrJQULRN', 'x-fb-rev': '1016140233', 'x-fb-debug': 't7Vl0eLIFDAhJAB8u8749EfDpB5vWfvfN5l6vWPvnALv/KGzlh3pqyQa8Ii3vEheuhBAzNQwJMaJBj1l1y9JfQ==', 'x-fb-server-load': '34', date: 'Sun, 01 Sep 2024 08:14:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI6QZywYzMzo6slXOQR0at3BEPfkSLWICv_I7y0p3dn3jleprJ27n2Fu7uZpLiGgo43T2G6VFUeUmLPPoIS"; e_fb_binaryversion="AcL_s4tAhxo75-LDXbxcecxhyt60ogfQlHj2N9HBw5hmDR7u_Cmo7Py3JkOBXrTAJt6vcTbTh8C1MxNLKd7HSqp39RK0ywvrF9o"; e_fb_httpversion="AcKlmo4Txl_ZnJ3fbxtwh7P1NfzpE43bwDWniStxu-YkWyHbkJY1ARzHXtIE"; e_fb_responsebytes="AcKON0RZoHU9pG6pxa1ADkd-NLd4cBWVW3Op_txqprVm5Hr4VknvEIO3AxlW"; e_fb_requesttime="AcLalYbkVzl7HfJbqNZ2_pacLLQ8-zM76v8G90WiW3CSi_Eu2mb5ghk3IVPrygjJFe47aFrocQ"; e_fb_requesthandler="AcInfRJMw2-oq41marOzYantR20fPrB5VffbZ3HakjNo-p1sEotVfWRzGROZrAzwMrn1As9Kwuo"; e_fb_hostheader="AcJkSPgw5C42g9TXnd657o0QmaTXJQKb9x8JqHuuOz4VcTuXXZVMohWBUN0WOGI1BVCRkT10IiSHxSOq"; e_fb_requestsequencenumber="AcLyVAuS8OOEnconBD1nKbo1Yaml5m7vrtM-j4Fv_SIQeKk_Am6J46T7I0o"; e_upip="AcLSTcbFcrgZiqFaGGV9cK4Wv_7ekCZEr3P8rsjpOrIIe_dct9f3z9Lkm4R4Pxo1t19SqG7eno0UI5tMg9ShiNMkrYI4PJnUxdxM"; e_fb_builduser="AcIMds2olG4GzAf_OB9ujj2P4QSOSGPwZ8-gniyaJGN_xMi9KLIRPjo-NQD5FQc3roM"; e_fb_vipport="AcLUb-_FxI9dEkUcusokwBA1FA-spehqeLwYhx32PA3xn86BvIzRYcEtYY9z"; e_clientaddr="AcK2kBok6R8JF-CeiJzn2HaAot922JeDKzK9o1M6JoQj_Rrm3i6xtxo1TmuTQX0I_hdvOSdqV_CrI7laDDaUeFbRVTl3kshwe6NXBTbxPlxu0Qnd4w"; e_fb_vipaddr="AcKnOYUuf2dSVXGVM11Hvfi_NpdIzdM0QxLPN3X4m8qK-6OU8JHHAOrRQgVNsIWjrElc7yRmpd9hGf5jh571098sKk_Lw_5Iyg"; e_fb_configversion="AcIUjBwfEa9EY4T8Ec3S6_rGjZuxqEGbG-AKxTiFQtkOJC4hGJJBBRGMZbBWlg", http_request_error; e_proxy="AcJO46KWV_hT8PTHFG_T6tAqBW5FanCMyOmHJXirT_k5T7SoHpiHGEG9bNBU19qCZVMA8mnvlDrmZ4Y"; e_fb_binaryversion="AcIG71cim_gF7g2ZSlbkaC-M68J0EDXo4uENk5yPgcbUghu7qQGZ1U2jUgPFAHlyQVHa1r6IuxzGxOWMo6pHl5XJtXDShTOP9GA"; e_fb_httpversion="AcJn3YJpGFR0RPW1f86Tobu9icmhpSpdyILpu4Ji5NTgfnMH4c0Z8Q6-sgIO"; e_fb_responsebytes="AcIc5UtbiOcbGQ92MGAtFDZeZ8Fy3evyMuEwBrhmaBFDbs5x4t10Vs3iepmr"; e_fb_requesttime="AcKesM8_WMyogAIHlLQp74-Cmnn-KM9I8OAGqrE2SIpVSa30oa-bw53PPDPJ7aA2-dodSE1ZGg"; e_fb_requesthandler="AcJ8qh8LxWuweZpzD-WdYsFDKRSHvFDoH5uBXibXkWhw0sYVEY0l90uJEXRc13uUGnyLCgZbwwU"; e_fb_hostheader="AcIRNe6zxzMl8sStOyDTeACjkgXLLQ5bN-AmSWkjt8UEjengf4JnPE8NSERlHQ9fvKO3YVR1R-v0Fcq_"; e_fb_requestsequencenumber="AcJPNEE2l7InvC1qARQHDF_prEkrdtYBBbtPSyOggDOLk0npL_fK0rXXwA"; e_upip="AcJlZI6JfABjFKKcyEdgJfQJIpYAup8EIGVOFK0yO87gt4wWatIFXRQRLgzzvONqgCzNZgOuB2ziuP6x35ZcJXXRzeuPS4tnLQ"; e_fb_builduser="AcLrqnYIgJodFDwteBbcc0S5qaOD3-IRRS6xPfV3k2x9idJO4VquMTbuMUapDJBZ61I"; e_fb_vipport="AcKvEduvoDcpHbYMIHXHvUO-KaIoxM4yUL6iaA9oW6WQ0gSiG6gsnThQAT7G"; e_clientaddr="AcIfy0FTk7wMYADDKDwgKVgIYp4IF-jq7Lel2oYzxWdJ_wxpaHo_fkeIYg19tw-DLY_uOVJyhCSRc6xx3g"; e_fb_vipaddr="AcIEv5m4KNeOTbafmSkNGX1dVsFoTYoaAErxdtY8UEVZoUJJLbZNd2W-BNPJ46LnMjMb6A"; e_fb_configversion="AcI7oV_iVXu2ZwY3Y4FBIq0Pnql02NhUc7vJMjkFJRgU9xZ-ZfcAhKWAT1yZOg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=155, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26452947654349076"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 08:11:56: Error on send one message facebookId => 26452947654349076 09/01/2024 08:11:56: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ApiG6pCaGRUfiB8UqRimANR" } } 09/01/2024 08:11:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26452947654349076"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 843244, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AtsIaqyXP8vD4rlcCGUKcrw', 'x-fb-trace-id': 'DXXSlboFoWz', 'x-fb-rev': '1016140233', 'x-fb-debug': '4a4EoaNcNkv4NR5TZ8NnSQr77mW6TWRD0LjdtA4pPWkiZYSlVbgF84ohFO1OdK463/V6BGTCsfPU52vgbIRVxg==', 'x-fb-server-load': '25', date: 'Sun, 01 Sep 2024 08:14:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJpOQBO9EMey-hahGEv_67WYikBYdNVZkLiFs2f7rQ1PAYXvX5a2mbtjh6yVyJLjh0FYGZi8-AVcPLjhqdQ"; e_fb_binaryversion="AcIXXov6n5VACsQ6LHKAAWBnnS0U7Q11fjDtdRrYI6062LvuJ46BvxRfD5mZsu9U2wTB8AEZI-WDIB-VRbaVlyhQ-agKc3gvK2A"; e_fb_httpversion="AcIQnnWTy0BbAFZjLS0Qs8HM04fvhXH21UcGRf-SZ4py6L5Aay8gd3iKBZPA"; e_fb_responsebytes="AcLqVqZ88YXI3hd6g74RKKIeL5yDFsh5JLMQQUByyLEWsfPuULpYK3lL8BMP"; e_fb_requesttime="AcLnKPu5R2ceB3finWRI19H16ntTh_tyBO70SW4lmSnAdsojNpPiJlzI2dq50kAhSb4JJZt2lA"; e_fb_requesthandler="AcLhMPuZbq7g8QwgnYC6hoHUNWYavg5On1OmvNNdNfnwLi84TWeMhjRUmEOHyUaUITTdRu6Ewwc"; e_fb_hostheader="AcLeoDpUla_d8F4HYQPhKCU6-eRAfWewAZSyF6shbQKlkxB5jyU8Rz2tKFHaocc1eBsq-FTx4iMbyH8C"; e_fb_requestsequencenumber="AcK2NL_oglAAwnI5uGy0-eliCOdEMmckJyUwsDD9UdqEx6NOC-hk6CznnA"; e_upip="AcJWX_QyEuK_SHFW52xJEFJYtcuszD7naZUSuTi1Q9FCGorV1YHBSc7FHKd7BtarB85LigseCBYPf8ptb_nu9QsTUBBXag6uRHTwWa4"; e_fb_builduser="AcL5BomCi6CbVtK0SAsuTkPBadvrdPetMmwMjM9PddgWu2-JxXzGjmTQk-NJ8D8Vdtg"; e_fb_vipport="AcKQnGehGOw-mYwRphbuWP6wMo0s11-qqFejiS-r2YxAtBlDRhCyeWqwgXy8"; e_clientaddr="AcI-lD6wWM8LOs1CNh3ITlBVPuWlvRo0OHopBoQDHSwKeHZi82FWpKX_MdJicPzomzsJhZ0lCno0O-x-c0_33Nu8cGGlKkyfxVem32gqi6TOfQ8msA"; e_fb_vipaddr="AcK-eyDAhdRAt3BksXZYFUDDgiOaz2ZdduIT22qzoq4rNbHh5NNkSCZyT_NF4R-JMlRiAs2qJA3otbLk9aw1TJZ38oXjmXc5tw"; e_fb_configversion="AcKueT2KjCmVbybCMi5CnNGpGrw81uqtZ5Vunw3Th1ZcZiRwZb22rAuCtor5DQ", http_request_error; e_proxy="AcKlNEt4Rj7LQB1c2MZydgtaCAtIyfwmsNPGOGyFzv2P0OayhbBSIZfFA5McmCC2wgHFwsMKxx8XLxo"; e_fb_binaryversion="AcJg31GQ51DMZT49cupb2mo4O9qEZYFrbdm1fE9NeZRd0SxNDI_yw-C-4gvO23tA2sdN6XDxiZ6vwnibQGBXbVBOXefbtfXMXLA"; e_fb_httpversion="AcJsPDraTMxgqIU1QDGmNxHWmHalPiRKliqJtT7BeZgGQgBUnx3i7zLV9tln"; e_fb_responsebytes="AcIY3NFKO7Vm4EpjjxNpSlYpwVuLyoyc9KMznzlO9Iw7f345_bfABcivFUQn"; e_fb_requesttime="AcIr_XlbTAEY_ITu2dsMY2nFxt8iDcGcwHJhIRbjqJjgoJCg-G_LLcBTuMpxV45QPiWGuacliQ"; e_fb_requesthandler="AcKYPcmnFw17m_zA5U__nV5a2sL4AeYLYdH1tCgQ94eVc5sOjsNOdBbppFOKrQIKGELS3mtldDc"; e_fb_hostheader="AcKQaRjSB8GIJoRuCzJhXRbrWpihhzeqbHwldmQurfZp7rkc2fO8RKDKdcNDlpDKJG1-zGhQQl6kjcSe"; e_fb_requestsequencenumber="AcLVQzA-kMfkg3-tYxKPavc4fUAlDdeI8Wpi1SMdR6z9xeRnnf-BZbmtEA"; e_upip="AcJdZm5etsBcdQuoq0SAaT8GpLS0apUY2DURoMi9Csa61a__HWyK7V1Q8rg3f7aNun-NKFj-OYXpNL8LsIJG5nPIUhx_J194ng"; e_fb_builduser="AcIpepRrDwbplveEmLf4Ll0fZN9LZN4dO4nd7UaPcFn4u9YrisFACSzMu-N6EfmdvvU"; e_fb_vipport="AcJ5BTPSo6tCR-2yBfDaN9M7KccNJ1Km6asf4f392msK0J5Yg5iHA0M1eklj"; e_clientaddr="AcILu_Tm7z1MMRT63PXukn74O1_E0sDxldzzdhadP5U3scJ2-cQzXXGZrUFYpyrBfpafFMrT5ssdwURUyw"; e_fb_vipaddr="AcIC0OMjT5qUdSz7_TcCOhC4JU8T8efNAs75qjxGbVkY9gKiZMsYufStDwhJrsr7QXpkOA"; e_fb_configversion="AcJ7kCvUC_wCgz1rg32y5Y_3SizsqN470MKi65LWaElLWw0x6j-0Zxidj6VpT8UHhcXt0WVyKWalkJ31nbTZtCNRANhVQsedVpc"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=151, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26452947654349076"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 09:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 09:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 09:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 09:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 11:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 11:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 11:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 11:35:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 12:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 12:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 12:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 12:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 12:35:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 12:35:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 12:36:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 12:37:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:11:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:35:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:36:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:37:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:48:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:49:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:50:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 13:51:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 14:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 14:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 14:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 14:11:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 14:48:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 14:49:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 14:50:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 14:51:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 15:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 15:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 15:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 15:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:02:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:05:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:14:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:15:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:16:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:17:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:26:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:27:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:28:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:29:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:30:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:43:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:44:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:45:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:46:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:55:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:56:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:57:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 16:58:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:02:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:05:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:06:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8675752932459078"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1098829, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7Ba8ownVwTdJ-8QD4lHuUq', 'x-fb-trace-id': 'F2Ep2IfBFYN', 'x-fb-rev': '1016142202', 'x-fb-debug': 'udBDrmLCCT5Ilmduxcri/SRm7orYKFW2rVz68ue8dGUNxWlw7flTHIKGOTN6x3tU8ic3NkhR4wS7wpFOE0Svwg==', 'x-fb-server-load': '40', date: 'Sun, 01 Sep 2024 17:09:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLeaLnMGmqk_QVhugTzIcQQ_taU2jN4y0yrQAfo0fJWKmRjSjvmJYeSb6ieBIDNb9YnGTHMXyQRmAxa1xA"; e_fb_binaryversion="AcKbu3MJVEBLj4RPM9Othe0GWGf5boQYnrO9ZXyBson5rkCw9gnH_cW3CtAN0VMNU38qLmi76r8QGOxreLwuAdpMH3Gv1_D0bfM"; e_fb_httpversion="AcKHnGfioSGNQv8SckHy5QNHqEVVzTN3rlq_2MsuZYfbf88lq_atuCkB3p5S"; e_fb_responsebytes="AcLHzvykFL9U5VHgaHrCh-8VPlJb6CJ3zIaP-uiBncBNPhcu8dNzOwdoKV5J"; e_fb_requesttime="AcJWBz3VGxr2Kebe1kXAO3gGAuhrMOpqw9EItF8R2p8gRFq96tZ8ntfCjEh8fxG4wxr0VS9-JA"; e_fb_requesthandler="AcKyMBBpVs4q2hL5_kf4oztvzjJjy-LMFr1rHGyFsREWEjNfgH5IjxqJmvEUcJrrRG6ACEtfiNM"; e_fb_hostheader="AcKRptLAu9iqBHV70eRsqys5CnErG1JvJSBpqHCRrPlWDOmvEsEwSabqyk33gUUSdtqdYDvoE-QpBbmk"; e_fb_requestsequencenumber="AcJpD7c1vOURTA1rRSib4u2tzO3pm48l9JkpRYqIcRpHJOu7Aj0uy87UQFmM"; e_upip="AcLbx3RIoiSlBNwWyPGg-1pL5mxoLR9cZ0d-bUcqn-dOiS2_WQZYNRiG13_cwoJeFoPkSJ-BPO4qmPGmG2G8CgnvL9libZEikMTyXlo"; e_fb_builduser="AcJUaQ3FRCkYg3oVjuBfZlIY-WoGO3MeBvbWoSnDJ3j60C74IevFd7qNIzK0lKcD518"; e_fb_vipport="AcLDsPZZ6FjETcA4i9EZridusIf2h3PQTTuP6RzmmrdO9bdrR_QCSGCk9Hbj"; e_clientaddr="AcKq_MVR_TDe0DNyYwRoae9PsQctA_iwttI1smCpMe6q9G7yjuK-JtkBn1TcqVkkg73qHoKBm5jnKNZzvhi_Un3OYaJxkv3QMlDiEEdSU8NZf-Kuaw"; e_fb_vipaddr="AcL0va0ovd1hK1ASBYRGN1p64YgLM6T5h_2pBUOsAWKkmeM6PBWo2XS7Y5t5j52Sw4Ehw8pETwVrRsVIM9jwzB8ox6ZOl-lo7Q"; e_fb_configversion="AcIwTU5vSk4qElgTcDuDXKSELPwbGUgTh8iDLmbp_0Fwf__PjBG7UbZVF5ow7w", http_request_error; e_proxy="AcIXc6GuO8HKBc70qa6_4mJ768gsxpji3Sr3obehbi9D_xamFN1qnvPVxiR9lTuP6dyX7NiWRNovYbU"; e_fb_binaryversion="AcIW7ldOQrfHqnJ5MJeEZUbCilEPT1kqj6vH9ryWQ0-K0xFFhF3F_7GYgirgBnc03IFBHlC7elSz_bC1-NDurVqLmC7EK6RNRhA"; e_fb_httpversion="AcJBICnITISXQPrd_Ia7d1kIctWoieQy8CcK6Jc-l-gzF2VX9UPwoc6jhohK"; e_fb_responsebytes="AcKrKiYWznOXoIhl8ZXunBgeom8Ha-55EDpWX1gH8CZVSOAWjLPD0si7rly8"; e_fb_requesttime="AcJsTWU_tKURjEp2quya4C1y55hdnq3DTbyek_tFWGYutdp2HmMf_9lCv-l1Sgodgk05qc75Pw"; e_fb_requesthandler="AcKjgjxDWWN-M1JmB2A6o5JsxcESv2t2OR1-Oe_-6G01gBMQcmR0TuiGVM-viH2R8-IGdq6fzfc"; e_fb_hostheader="AcJPRqCfudsbfmYnIidYei6oW_p91o-UceWfWZBBggd_CbUyRaXHClvQvySID4vNf9YaDJd72I35zDHE"; e_fb_requestsequencenumber="AcLgWE2mXzvq1ihb_fzqRw17adOIUZPVntzaOkbqZ9wGMwqs83jphHi1-g"; e_upip="AcIqOOnApW9giORovOkDiBRBZjSjHzmsoaL0S1o-BrUqf5KU54_n8Yb0VVsJ6B3YA1NvTRUls2o6w9ynjIomUPO-3-huVP8jCQ"; e_fb_builduser="AcJPH3jS6IpUhdmOPsr95eQNV2yxl8hooWYvrANnj13p7VJYQ0DZ1WerQgzguiLTC7s"; e_fb_vipport="AcLjl3ppIjgyGxTvL_JFKGrj82duaC_fYCg-H7nbrD0bMarYXsKL7bZ-42_N"; e_clientaddr="AcIYRzt_mdaJ7KjLkB4mbO38nudOaKCJs5pWz8Ju_yXV3PpvwqR9uQaWQO0R2Lw9PgLwfyf4vMZzH6HUpg"; e_fb_vipaddr="AcJhx2KiigXTS6_ZbvfACuzZ7CQbyo1SqQwkYSbdIBa0h0PRSYI3wfpsFUoQrqNziLKFNA"; e_fb_configversion="AcIBcTw4OmYOR_p6gwIu8s_3NnyxAzyN9zwGClztRb2j1jhwHdtAY1bPjzFv-A"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=154, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8675752932459078"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 17:06:54: Error on send one message facebookId => 8675752932459078 09/01/2024 17:06:54: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AHLo6upqZ6REQ1asQQgCLRQ" } } 09/01/2024 17:06:56: Error on send one message facebookId => 8675752932459078 09/01/2024 17:06:56: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AyzqOROKfD8lB_nfIe7BBj6" } } 09/01/2024 17:06:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8675752932459078"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1099084, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AIe3Bj9NpJ7aNvvFwcunvKW', 'x-fb-trace-id': 'AsPQeN/z3Vb', 'x-fb-rev': '1016142202', 'x-fb-debug': 'X1/ngS25cJ5WqUHLNXVRDd3S+s198seD9sW8TY12hB2P3aYUNtQuFrAPQ1YfRp85g1J3eCsgvcu6xI9RHwcGqQ==', 'x-fb-server-load': '41', date: 'Sun, 01 Sep 2024 17:09:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJYDdu3T1NWAUAmtkIG_ONekpnBmxW6isuDgqFI1nqGPpuygoQRmJiBa2Cca-RQxMfkJlaGonHH3K49Abo"; e_fb_binaryversion="AcJ-AkMddj3ro5EOYmHAftfnsimQb3C0IDf6cE6o9kg5r-rdsYuBbcap6opeqb_K-0RQpaPijaf5AyInKZLGj1SVrmnqTQeQS8s"; e_fb_httpversion="AcJfxolFpJI-QQcqQIxpH-aTWUaUkYGokz8qR-F39r_2DHhb4MwAQmnbHell"; e_fb_responsebytes="AcKi8oJCUTTG4dh16aHw7ignaykVnezzN918Gi6L9zzL-biPIUx7OWw-smpz"; e_fb_requesttime="AcKsHA2doFt4dPaS4kpiJEpbWcVQ-JxSKI7kzeFZ0DjJSQI7VBZDBc18bEZy6Bt1Ag50G8lsRQ"; e_fb_requesthandler="AcLaup3uUhpO0hoM19Gm6QVKZoDL2u0sGMhKAdxo2K9hKCPoEJn038bLpnf8NlIRTXKlPgLELBM"; e_fb_hostheader="AcIZqn7cAvHFl5Unl7FJwDekXLI__qWmMOH5_zXBRCg7kGKOFzk7KHFEfF1Kr56f0OWdN-dSxri1rD1e"; e_fb_requestsequencenumber="AcId0fXnBjoIoqdCCxA1f6SSKcohYUV6_dUgZnxDpY02LoGXqGTjA5VgtHeP"; e_upip="AcI9SYz8ytv6v1stzXoUsUbFLW2Gwsxz6buHHpfKzsRjmh377crch_PjkWRCyVEiI5I4dKD4zgJeY_dLc_koa9C9YU85sJTcizwwYS4"; e_fb_builduser="AcKxoYmalopBBOxdvpiaQG-ewe7RkXQIa7Yc6h1rih9di2HvCPQQLHEOe63rvBrqx20"; e_fb_vipport="AcKtc75YRIDHUnqM7Clqix5GT7rp8NUvzkDdtReH1gCmHOZ0Ldj2M3mrWF3O"; e_clientaddr="AcLc9JFY_0l7gITqWP3wK6Eae5SeRAB6iMdHsM03azgFHJibj6bxifAKV5RFhmdHRnlZL9G4Zqz1BL9ZvIcbA55t3EftIW6oLRQ2tYtRK2mRVB5B0g"; e_fb_vipaddr="AcKuw9A-Kb2IQSL6c8WkCr7Vn4-UdCxBIB9tDRk2HIDInncYSI7rIF8LxDkQL8vqjpqitjBqvunz9YdaqkrYPDk5wTjHmW0SqQ"; e_fb_configversion="AcImHdi3qfgYyUMyN9qsmks9Y_fcjfPwuNTV1097X-ACdTr28sOmZF-jkjPsag", http_request_error; e_proxy="AcLKeITW7LumUigccx2cHkKTOCOrM3uZzE5VYxAKnuHlEmnIyXwofbdVvR6PDBARkXt3Nb_4If3nk3s"; e_fb_binaryversion="AcJ7eYeDLcIn58KwNLN9iv5gvudTJfrcHmq5NNZPr6DzeS7BABnnKXGUdDGJ_2wJGU52CJfpfYpqg-qC2r8_LvbowUkTB6uq0Us"; e_fb_httpversion="AcLuWNjcXtxzUklz0J_BUJO4gDWojyL0fwx5SD5P_t3UuwyQMHFj-E8374Op"; e_fb_responsebytes="AcLNTAQot-ZArqtf-V3RysKB1v_kAoEvvqE9DHxb3yWy5GQ8yUt85hlHQW0z"; e_fb_requesttime="AcKi6tbclnzSXciGtWw1n4h9hV0oayNkHbjqy7HbAoPrNoigiSgZWj990Wt63BMgSxkIRx1g5g"; e_fb_requesthandler="AcJTb_25C49c-9lFsNlO3jUc2bp2_hDK5OHExfVMiFQrE9BAg-YcoeJ3FFeB4U0gynmeoIcgVm0"; e_fb_hostheader="AcLaZ_UdIl25ad6AnCAZskHocyt8R9oNh0DuVPMUWOsr85HOHI8VxIKSwNphErCqbEAmaLCzMEN1Ecqt"; e_fb_requestsequencenumber="AcL5_AZ03TIwwAD3EgqhhzMeIMwGpNalEBK2qO0HW18Sx_v8yWQhjRShZw"; e_upip="AcIYk5_ZFX30EYQ8thQdQSqK5OqNYLZiclwGUdsrPBLVSwd4SVJRQRxEALLhU2cqVlfm7iOqMLkG1kQeFckcDL6F2IzL2B29KA"; e_fb_builduser="AcJjxt3GCRs_109p2LIVRTnneu8ptVIOLzAbps77nEFILiPa17ptPDiZVYdC2it3tyo"; e_fb_vipport="AcI9NVvd1kQU-KvlqbhC2mKURR9x6G00o8JCilRqWrGreAI7R9oLwuBoGG80"; e_clientaddr="AcKh8vbr7BqJ8_94aYUV1-b_CUg55rIA9gOhtI2krHAwKSMdx5I8yhKSCtg8iIwcyhQ36xWWMYkcr_5NfA"; e_fb_vipaddr="AcJULDBU98Q6EcJI9s2Zxes69rqSpxpg3yITWEBfFXDWfHH-fzese1eAiF4QiFesxa6Hog"; e_fb_configversion="AcIRtgNCB8pqxXZScbkLDlyCB45QTTlVJ6u6FidUdIOb88GytrJu9UPPuAa4BA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=164, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8675752932459078"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 17:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:11:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:26:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:27:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:28:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:29:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:30:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 17:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:02:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:04:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:05:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:06:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8675752932459078"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1111204, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7ykZ_906lopNq-ffEPsH7q', 'x-fb-trace-id': 'F0YqXGELnQn', 'x-fb-rev': '1016142611', 'x-fb-debug': '2EgJstMje4KAT5vnryu53VnlCuyCtNyGE0S9bCZoU4fPG+oBOxF7GDh69cQq1RKQX2JmbiCIQ+2ydAzpL5/o/A==', 'x-fb-server-load': '25', date: 'Sun, 01 Sep 2024 18:09:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI5uTWlCKc2TAIVcPeC4pYT8x4lQrAfxOoPcUppb_YXA_skWgGLABQsNHgSO8uH-_edk7UdUYiA7d6aLRMD"; e_fb_binaryversion="AcIbh7f3aAE6cH0Udes_IQGVpYJJpAyTEdRo96T_9nmlpsZa0pDNjM70YOcgyJ3h15qy8MxxNeoEgebDdLFkgsQy8lK5EioNKec"; e_fb_httpversion="AcKQOQan9TEcLP7P7a4FN9safk4hAUrfB9hEZ60sqH9WyzXlqXAmjwA2LGk9"; e_fb_responsebytes="AcKcE5E5J8L6FpXNcoFpQxYXOKXh6pxcccQ2iLZab2b1hgsjC7Qr3Jphxrg5"; e_fb_requesttime="AcJAp-R7fiJcPix4SAWzqa94OPDLzJDZL499P98kAqSHTDuRBsUT2Cc9IfV2fTapkviYlx6KYg"; e_fb_requesthandler="AcLz4zQBmo_w7LxYAJws1gE2QB983iUMu8VwspvL2Ox0Tx3llx2RPAcFpYneUufZHUAAzxTiFhk"; e_fb_hostheader="AcKVbYl_YeYDIjPb2YDCVZdT9l9PffJUjfnY5w0ZrAdnANhAKRUodgxT_VR01EvMpnx_aR54njntZbhN"; e_fb_requestsequencenumber="AcJxo6lPJWbrQzEV0RzBQgWVD7j2PV4U1u1cx1qllq0uc_4dy7Ok-BudajUvaA"; e_upip="AcLN2mlTq4fPgb8WBIAeWojBeVpJgi9NBLd46r_V9HafTd_GIlu1ajXRDWAUJmxrwOFXaZBfU4hTuFBpc0kimxVkZAQ5KnFgBOaL2w"; e_fb_builduser="AcIJ62xuASw2EGMlT4h_Z8UkO4flxoX70l1HJPkMPDkHnehupoYmPbl8etKzm2-kYoA"; e_fb_vipport="AcLcJeOON9ikvDNmuD5WwgXnukuRDK0Q1DCM3ZY9YZmEE3-E_1WOL67wJB4T"; e_clientaddr="AcIFNr8m8x1DJeFwayz_xUYFN2WHA-1T90nkx4pdvqfqRcPE9cpndyXyEGRU_KYQibURNjEyELYlJPDze1dLTkehaZ2ZUHz4m32peeTpx86YL0RKcg"; e_fb_vipaddr="AcKQqqSUeF56YxvKLfDgKOkSn2Xl4aGNsp7TbmFvxeKEGdMPp6rqrKnfqj5fokdHyjbtCYAY65H4LvGNDMta-BzQb-bmZALF"; e_fb_configversion="AcIJJW0MjwyD5HAgBgL_oUO0jZ6i8FJqE80ViOfyg4hsFuCEj-mwp3z64WFPJg", http_request_error; e_proxy="AcIhyWZEGnNlQuS7TJ-AHoWo2iO-7zGUtLv3bNpptPBhVEEpXgaxRH7zERNtSvc5z9oQbRcsmH-Nyrg"; e_fb_binaryversion="AcLIdEZgUX18yp6jPtYZwA5KIsMpIkJGERk7Jl8ZEBJxhdD-EH8aMAASf0LjcO5eVztZK9ak4iowSOivFZa1iqFfyleTEWdgI08"; e_fb_httpversion="AcIKjjCmEXb8Yy1hS3mE-hjPZjNO2oz49dT6LV6A2Z0mnj8qBsDxwT1a4oeh"; e_fb_responsebytes="AcIhXLm0rsUvD4XrNrxrCPWd8Zr1992ApZLxZ0P7a9C51QUhTLpduYi2cXfu"; e_fb_requesttime="AcJOsa1fiFYC3aDb7_0fvK0d0RXoxthUX9G5W1tG0XALR2eaeWHxiMIvLatPuo2PFmyyh-FHdw"; e_fb_requesthandler="AcIzgVnl9TFrLgHPjskiJ5TWJBnf8viFHg0rdvVdSJywhQ9WAiRvNRGSfiPMcXK-HVD8lOiaivA"; e_fb_hostheader="AcIlGxICUFiozIXBcwHU7plfUA8ku4RciyXFW3buHu92D9KBqVsDWCJ1_zMnzFy7sb9LREHianR8zRiQ"; e_fb_requestsequencenumber="AcK2AWlxeP_sFBVbcyTwZHwSJD4CwE1-6x9N6tZE7-MQivXa2n0CIajieg"; e_upip="AcIQ1k7hMmwZeH08CB1cMXkvAHrA4GFG2kbKHdS2K5AeXfnUuX2mMfoqt8jqNPiMexlac5G-WxC7i_6y3JOuxhnNwS1cbNIu"; e_fb_builduser="AcJMpb-j0dhrk16q2bGptUeImjvqs7eem7NFeS_MOswp3k1OcxqOL0dk6ElY1J6RVeQ"; e_fb_vipport="AcKgoF4KxY2bEA8Nx2EX0kzbGJYaebBu60fgosWpbpwg8QF1Czu-b_p_mD3o"; e_clientaddr="AcIwbL4YwvneRK-O8iF2hvNkzwLOsMTHWTgE7hG9mlvVjWEvQ8vqJ1IoPOUJP1eUyLX0yNXSF3a9k8n2DA"; e_fb_vipaddr="AcKsb6b6EEU-HiQa3jnEQEGewFmxjgSD_ckRGDspx_bZdEPueQ3gHDcfwhs7__pcNqhUtw"; e_fb_configversion="AcK00NM4xHy58HxzuN8nr6HZk1-4OyLNdEXiKD0Za9nt0kVUoP91V--xctv3Vw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=219, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8675752932459078"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 18:06:56: Error on send one message facebookId => 8675752932459078 09/01/2024 18:06:56: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A2G_aOo4CVU4EeU3enAnUi-" } } 09/01/2024 18:06:57: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8675752932459078"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1111402, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Aepz9NAKWGcguaTuyizzbKp', 'x-fb-trace-id': 'Di0mwuUZTwE', 'x-fb-rev': '1016142611', 'x-fb-debug': 'D6Yl1+eHRFeeHTqQUmESi+XDG1yRMbgO7/MloJjBsxLlpGsAv55iooeS7WxpvIDZ4ovhyyR/GtUBQY43E6iDVw==', 'x-fb-server-load': '21', date: 'Sun, 01 Sep 2024 18:09:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIvzXYMEd8OAdqFQnoqB3e6y9Pin_ZLbtmDwfLrSva6BZCiSn1MmVUYe_Gka6kVJbesQim56mFLntnDmcnD"; e_fb_binaryversion="AcKOGSDsYuJcjESiIB6z5uB5e32fv_-LytaK7HHBMoC6D-ScLsP7cUWF8Q1wo9Eiejoc_kmrZAnxrhKuZtxx7iLxO07duSRGQ_s"; e_fb_httpversion="AcK3og8Yt-JFgU0VpEepj_M-WNFX_PlUhPepjzmBqsXFq_sDN4uL8c5FFWkA"; e_fb_responsebytes="AcJDzANWoSzwB02f4Q74tWorjpTFQM7JGjfGnDXhPJt6SUckcqHORkbApNKq"; e_fb_requesttime="AcLROGcXM-gok-aJuxaQ8hGhDkIJuuVK3U3Taj9rBoZejheVRZkamPOastEGHluLJ-kv5QLw_g"; e_fb_requesthandler="AcJBRKzJBGK7Z9bsGlsz1Sq76R07uyFdW3h3Ve7qPV_1vt2rNmB9rf1GfFRbxuAYaWzC7fZ3pc4"; e_fb_hostheader="AcIwUlqUR38fzSNIQzf_RQS0VlpHdotV17aOqmS-gA0DslBrtFfgC8hjAfYSDCqeziuW3cw3WHnkZaCx"; e_fb_requestsequencenumber="AcKaIcsgAn5FJNcXXWtkLvJEDj5Y4r0LhOEL4rk0_pI621UcL-lgr5pFw-dz"; e_upip="AcIAWAL9q-8aUe0UBozinqOsJp4tKv7mm-CPdKzx8Op5LIBdOKiusxllFHMDEsO21ptx-09YVCiorpytomlnnuy0M6NR_N0FKYpjyQ"; e_fb_builduser="AcJ1Uzhof37tRgf88zbhVOF7apG84SHI1YyB5otW9FvdoyZ2aAZufmGhdd08_Uqex6M"; e_fb_vipport="AcJcUlF7dpd2ZpGq3BP7eDqkTWuLr2KRHJszJkLUSM0pH3BpaGgOUlt6OC6N"; e_clientaddr="AcI_MF1NBDkZ7iWT7QGmzh5Li_B01qaYcMkle63SevRi1NXLy0zKvv_H6NzSH7emeCoZtlNnJ3yF7-NGxN7OeW0jF6VYgrrvSyfCOqqlyD4K8WP3"; e_fb_vipaddr="AcKMH_CzbhqOR7_ZdOJnWrsyFX5peIur9Qbl9ii-O4o5HIjxsIQtxdGHxxy0lFmgP5vbJHAAVHX0JgmICwsiJ4Yd1FxhJ9IL"; e_fb_configversion="AcL7qgTEYYq0Yb5qETqV1fxo6oH63zs9ZzFBGxD9haBtLkiwDfM2hP3Pw7phwg", http_request_error; e_proxy="AcL15aSwokZ-p00pKLviXKxxO4jdvND-J--X0uHRFp68oIHJtodgSv-1vxFAhXb6dYd4bdmMOypbGZ4"; e_fb_binaryversion="AcJztmI6VX11QmLdhgLn21niugQsmjlPjB_O3NH3d2KWKydu48DKrcokdKgs4OfSf3kJ5u8qMrX4mhzQyd8rpO7O9Xvthnua3TY"; e_fb_httpversion="AcIGusr0PucOyBqrYLPTT6sNxUqj8Nn9TElWaBBoK-ixcGy1rI7dQniKmXOH"; e_fb_responsebytes="AcKRrRarbni72hbDfHYAhv6boXQTEru7GVDYbttf1FYVsk1Fx_qHXvuyPO6R"; e_fb_requesttime="AcJZ8kYJjKrVpVf5cXcOAvEAJ-LNDaGiQnT_5IAQ_tV-rg15btmvgStlxtIJ9ZWGZkn2zAbXJQ"; e_fb_requesthandler="AcKaSNpX7LAzBxb5g7cZd3w0y2ErrzGFfgUp64AsdcCA8p7zcT28wIfaGPRoyCGx_b9GzZzYt4A"; e_fb_hostheader="AcJq4Z_qOBj6FNHiPo-Er4wuP6RZWcL8ZxXVvlinhreXNh7MR-4i4lqd8wEZ1fgc5elq8sNo7G8F6gR8"; e_fb_requestsequencenumber="AcL3RhY1Kg1eNqrFX7ki3WUrKj7khbYFFssIZA-wcbjdWx0J0l-pvD7RbQ"; e_upip="AcI931XxUuFOSeaH23BIabZVycWb3k0d1YeB1KdnkUqzBVyqugoUFK5rGwIrEcrTp7NCtxhuYfW37E9oOpveZkYzZP-CXmo4"; e_fb_builduser="AcLa7dtyfwtKa5zExG-rE2-MyUfJZvlphWCj9445EaHqPEJhyu8S4XBLaHUDIKwPo1o"; e_fb_vipport="AcImIYy941YF1tIaMZWv88R9M6-90h3G_3d6DsKpFD9weDZGnlZIAs26eKpP"; e_clientaddr="AcLC0JXf_FBQeMw_nHK94VX-Atkl209kYMUWiQ1b22lOKOssT34z-oNrORVCybsqShITCTD0bUaG0acmbg"; e_fb_vipaddr="AcKdgQAlT4KAfQiI4Ai3CaWCWq5AqKp_2EpGA6Y5ENiRWyU3ABAbQW07KQxP5thUT_HHLA"; e_fb_configversion="AcIJzxVagYm7pdsGpw1JDWXGt4sE04yaoLz9QycuaD1m67eFPqJGqgNJsoNg0Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=246, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8675752932459078"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/01/2024 18:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:11:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:29:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:30:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 18:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:25:53: Error switching inputType 09/01/2024 19:25:54: Error switching inputType 09/01/2024 19:26:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:27:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:28:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:29:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:29:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:30:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:33:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 19:35:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:03:13: Error switching inputType 09/01/2024 20:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:10:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:11:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:12:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:26:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:27:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:28:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:29:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:31:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:35:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:52:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:53:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:54:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 20:55:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:11:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:12:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:27:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:28:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:29:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:30:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:52:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:53:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:54:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 21:55:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 22:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 22:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 22:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 22:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 22:27:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 22:28:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 22:29:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 22:30:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:07:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:08:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:12:22: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1184359, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 01 Sep 2024 23:14:28 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/01/2024 23:12:23: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1184679, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 01 Sep 2024 23:14:29 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/01/2024 23:12:24: Error on send one message facebookId => 8394836880567574 09/01/2024 23:12:24: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/efaf1f30-68b7-11ef-9dd1-ef63a8a0658f__1725232468131.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ACa5GJQXq9mk8KX7KtBB51u" } } 09/01/2024 23:12:26: Error on send one message facebookId => 8394836880567574 09/01/2024 23:12:26: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f0a6ecb0-68b7-11ef-af73-55f1cfef46f4__1725232469755.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "APxgJ2fMVsYahbVAVJtIH7D" } } 09/01/2024 23:18:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:19:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:20:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:21:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:22:56: Error on send one message facebookId => 8394836880567574 09/01/2024 23:22:56: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/efaf1f30-68b7-11ef-9dd1-ef63a8a0658f__1725232468131.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AWxRW3A9dPjTD_9NEhCeebe" } } 09/01/2024 23:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/01/2024 23:35:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:11:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:12:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:13:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:14:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:16:02: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1200596, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 02 Sep 2024 00:18:08 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/02/2024 00:16:04: Error on send one message facebookId => 8374876459243083 09/02/2024 00:16:04: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/d4787b90-68c0-11ef-9dd1-ef63a8a0658f__1725236287945.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Au6a_sd0Ohs6gDgXwU3ITOi" } } 09/02/2024 00:22:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:23:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:24:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:25:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:26:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8374876459243083"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1203078, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-RpQcw16OVnuUQU1LjDV9G', 'x-fb-trace-id': 'B/bQ6cE+uou', 'x-fb-rev': '1016146657', 'x-fb-debug': 'LboQjp1JJShWQ12jlqT0Odf03nm3SeGRofn3uW4ELPk5PNL6ZWZsfcY3ORpaFsQvY65Q/6ApNb/SzcQBhKSJxA==', 'x-fb-server-load': '24', date: 'Mon, 02 Sep 2024 00:29:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKJH0JVVNnfyQF5CLUpnmLJBArKd1y0nrVcjE4B1x4SAmFIsdWxyeReF5-R8u-K8uX2rtilmSGEsIZ5zaoN"; e_fb_binaryversion="AcJWHFEltOxnY5LBlftlUBuiN9vRjsg-Ru4-S6dGn4WV4vtXzz1u4IeA1ZWTjb2sQ7oQCxpwsrSxIxNqYlC4YLeon29TbhJyn4w"; e_fb_httpversion="AcLIf2UAr5jrNxu5kpSGxSrOlrWmbHi857BIKv1P6iyf2ZeWuYz5SpVKbmoE"; e_fb_responsebytes="AcIluP9-CXXOrebDig1Ff1z1jcFPoKdsziuD8xcFnec8mMQz6XCBLu8cY-Gv"; e_fb_requesttime="AcLJ7H0vuJV2jKXkIAntokdPkDny7AsrhPogAyh5bWsgVLTefRKiF4JcmkW4PEovydTKTMQ_1A"; e_fb_requesthandler="AcKg-iyiwAvDLFqUuwhW4kzieR2uLvu6MivzbO7x5a-c3vUOdrio8MMJe5ngwOeNJ107N0wMC00"; e_fb_hostheader="AcLFpB47ehAuJuv4I1LvTv1W9K0ncDQvptnP-F9yaUK2xrDWmijZ3EFUSPZbVsenb4OqdqSp6lB6-Y85"; e_fb_requestsequencenumber="AcJCk_MfgSRZU7lHNQyDmiNFUtLyOqvq8rpSaeKuUf1zenk2ALp2ktD9j4lX"; e_upip="AcKX5dnz0JtqP-ikBRAdTTfG4QT5okaB1Tx6e7zabrACHVKPH1i3XrJhtHvrrtIZMA12CcWyGNeiXL_dCYfbWvx4dEvO4GMIT0F_94E"; e_fb_builduser="AcJRG0fQef8o-Lsq59xNuwSoCiQqipN_t5A1AOxJYHkq3CeyPCwctukmWwJnnJbHwjE"; e_fb_vipport="AcJD5r7iAarge2qM8SpJk_T19XCV5dxEdlmlWg2NKWWTpnY4XOC2YjKcAyfp"; e_clientaddr="AcJln_CRsydnxaxT2tgMqqMvNQLDUj0itohxtMNBTlaqOTYnfXSBrFDf_PMV6yXTxXfaad079c7f1t7hxLEmN5cmIpq7VfzypvzA2MavFkAMJxrkNg"; e_fb_vipaddr="AcKG5ZZSqUot2Pch76BkCK5BAHtyiosu7S5Ct2NTAoWgGP93tD77w_iFtmlbyEzALqstskMYd8jDfexf5KWVvdX_BLmv0GOilA"; e_fb_configversion="AcLIHK2nRT1vgIjr0XHOPFnltJPm_nV8YzaFhs9PI4kQ-7ygMwg0qW-79eyVTA", http_request_error; e_fb_configversion="AcJzJwqmoKEQ5Z0lLKE_WkRobRMBjgzXERtXeTcWs_Px2hbYTdSdR4O3-j_Gnw"; e_clientaddr="AcIo0Ktuu2WNEVp0Dmnf1Xr7aUZENjwsMevpbAHVEFRxWa2UhcnBNP5IhU37nptiJRGapw2oxcE-qAhpJA"; e_fb_vipport="AcJFkPVD0xQxmh6kvszmQ9GZzm1XYYn0u-e6jbRpUutoLqudRFyxEfynS6ho"; e_upip="AcKb0cLGczQ-0ezc_T6LNZnAX7MmULrrWKov8hgySQfD4ZXAxOWRzvgGuEYbHMkunqaObHO4x8_5Ap0l6RbyAG-FnB3z_SsW5w"; e_fb_requestsequencenumber="AcKs-XD_buu4fNgcrtlDzj8HmtmBuNfuoN0j_XiRhxZ5nX0eYvv_YLcxGw"; e_fb_hostheader="AcKjebg9TVqnr1SeGOCvA0aFStW_56q4xD9q1lZaXXWzehJNEp2Ytle5bHP5DNK-egkaOjnYsBC5DetZ"; e_fb_vipaddr="AcLE-suZJR1PaQMLKDaSFw08lUzeocRBM0K8_RXs1M4oNbUmXlHLwML1PVrXLgxuTzeL2rs6bg"; e_fb_requesthandler="AcL0BM_ZpSbAPyUNlUc0AWrqmtmL3gXyxWwH3IkDi3niz0I5S3VvDwDGqD8x_NMMzZJF1fhKAOc"; e_fb_requesttime="AcKxM3Mbi6tLRuYgmqaejpWbqmYNXbPudEA7t1rLY-4pmA83-F2V119XFk5s571WRkyBYUHw-Q"; e_fb_builduser="AcLi0CoHev6ZkCkzFRrEy5GZBLgTrIAebqkyuUTLiw84RKQ5KHWdpPuwHubb1ChygC8"; e_fb_httpversion="AcLajRojH62NJMSKtAE_Gi_8RYHkNF_zraqfkSvYFUfaAgH3Z0OevocuhoKL"; e_fb_binaryversion="AcKzXIB_nnk6p9iJMMwtjIitqmczO3_mfC3g1WPEr7n_SJCuIjxrpiJ5Ecri2YbdNknMZR68DctTFGlynIIQZicnX0y8DOyUNVg"; e_proxy="AcKU1of9mdI0O2azLn5nm5mlSIjEO7tHSN8ToyLhy0KgJYmE1s5NjshL2dNuPiGDgfrhfsF8TS5Jker1"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3404, tp=-1, tpl=-1, uplat=46, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8374876459243083"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/02/2024 00:26:54: Error on send one message facebookId => 8374876459243083 09/02/2024 00:26:54: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Ad5S5bSmnX0dGBxmLarFmT-" } } 09/02/2024 00:26:56: Error on send one message facebookId => 8374876459243083 09/02/2024 00:26:56: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "Aph4XRcErjMvUm6UAtjQq-O" } } 09/02/2024 00:26:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8374876459243083"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1203271, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlYI6VXp4GMzbze1Frlib2_', 'x-fb-trace-id': 'FHaK05OLCo9', 'x-fb-rev': '1016146657', 'x-fb-debug': 'ozMI8l4bJS+ICb9eHOOMy/vmuqzeuwgSwVVY8nY43g2oDZbReVOo5bFxbtgSFaiGin6Vu3xsM50UwEWixgXyrA==', 'x-fb-server-load': '28', date: 'Mon, 02 Sep 2024 00:29:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKQdPBku6xmGTWK6JRJWz4n_nmDPXcIf3t6Bnxq-4TOaf0-7LPSD9gSkHy7EzaW1mGQv9YwvkXxqW1BQ7k"; e_fb_binaryversion="AcLc4ugBYwO8nN_XhJPindOYqZtvZS3OYteQlm_KWIEAIBfyneAB9289Rdqdj8Ii9lcci4Lm_FNXSW5b1ME7P3WwtRdtqdpfdpk"; e_fb_httpversion="AcJBfE-WDAZxmmnxGdZbe0OpkH5_x3ckWXi4-Csv5kS0nauqPTH_WGhabQ2h"; e_fb_responsebytes="AcIKUt3ADiymShAOvMV1fE2a5-mVW-6So8Wz4ILsRLxI5A-ZqAbZaXymEI0z"; e_fb_requesttime="AcLJIzhOj2214TsN5BChkjkxdELh_5OOVXehyrLtkoHlSV2f5thW9mzyyjZ289cpB-qYG0NsrQ"; e_fb_requesthandler="AcLsWuhgrh67gr2Ln_QVhBRlfmk5LDKD4qR6Kr6YuyMwEF4G_WTJikK7G0pHzUB5H_ahyAKPh3E"; e_fb_hostheader="AcKrWaO6VODBvK7eolc4cwctr5AbvdbLggC_5I8ntPqjNG-DDEvkdD606CDuTWHfIM5uABYBiEnZXGji"; e_fb_requestsequencenumber="AcJWfL8eBtOzgYWusOQnnQeB2qlZbTlmsdRa0G4ZubZgmE5qyYLBdUMxuzYc"; e_upip="AcLEtKujOVKKmBSBMmPjCIx13yw5N5qEFL9Uyo24bHxRO0u-miGLkKhojutVTTlGc2Kb9pJuZWma3gLwhYsWazx7TOkXu1LqtfnOeQ"; e_fb_builduser="AcKfK5xbjbjd3L7h574atNNjte3GXEAZkRvEcMK2QPadqUxl3vhMSikdT5JdF3ZkoAc"; e_fb_vipport="AcKaGxyc22HNLl7gASWSO2D74FG95Qe3LGt8qAi9gmItYY8WI0MuJYGriBD2"; e_clientaddr="AcL_WP9RR4esYqLA-UGaYKgYQfR7YnqtyRy8mD1QohJ3Cf-_j_z8LAKHpWWXVZHwcWP_AJrlUP4jpzm7d5kepkhqvRGmQinzdbI7O1HiwFL1-_eY"; e_fb_vipaddr="AcJbuSrw4ImJuM9UyM4iFb2aEIOg_o7rp0z2uBYwuu2L2mBA4htsnOI5UJDyOqb7O4mR2akIP_WLXpzJEkI_SxVcQ_dhHvWQog"; e_fb_configversion="AcLQpDhkdi6b7jwJRailUieqVuIg6R2kxns9uUZg10MXHz2dqE37WG41oc3EhQ", http_request_error; e_fb_configversion="AcJD2MfuOMI1i8ZWfAirIjlShjlJamRsJKWASLOSTEnYBYC41jG_Z2kfb7Q2GA"; e_clientaddr="AcIMZBbs8xueKW9GU-BBmxKeRCQKrIOhDOEO1lHzF1VB2LO2tG5TEUdv5P6vxGbPr4HuDeRjqQwgLR3tUA"; e_fb_vipport="AcK9gr2I1_YrjhDPrWCKc2DN_A83KmeOPvtbWAk6ypJALaj1ZlLS_c_qcahX"; e_upip="AcKGlI9bHoFOdxntGA01xRps_HR2j5GJ_-OWzMOn9OgWMzrsknFuKXA3brtwdDSwVYuo6z5s1FaeIy_iLNUKT9Gl31Vx2UvF8A"; e_fb_requestsequencenumber="AcKHLX8ciwboYcP9VTdtYSAXCV0BpmIsbpi3MYWYiSwDtDJb17LSY8eJcw"; e_fb_hostheader="AcLD6OuJ_eHvlhVvy5BhHcJCqxxrPezMJlVfnRzH2SzzaYxwaJTT9KOxtuxHz1OGggLPQsHMLkCwY0Bu"; e_fb_vipaddr="AcLAj-J156ilauVbYPIwWZOlw44me338snx6w5lL6UdTzxubjIWpTzUgsz5I3rSQ_W2vdsqehw"; e_fb_requesthandler="AcLqfPCYr35HsHFjZOZ_2VPIYLlQwpDLGeweG7BWXrfKBKgWFJZHaN_oYUUktPNr4U11UZCyIdU"; e_fb_requesttime="AcI40x_iak874I2yqYEvdt1DxQbUQ3VLcZ5G09Qt9KrP2rJVLUenfOaAxHyXfbHEsJZhDNzWcg"; e_fb_builduser="AcKTPmmmjsIuLBjhZw6zXkeueGxvrphIVfgHymurXQmKTdrJqhSvmQi0hN7e4vNYGhk"; e_fb_httpversion="AcLUivgLCkyb2QTdj8r4QBZVt4IK6jhtnBmoOAHXx8X38M-wB8HiFMRzYmBH"; e_fb_binaryversion="AcKOkcLdwYTalmPk27fNEuvjR3ZLzhqAurAGSz5lgTq0eQKteB6hRskL_rkk5PJ_WwHjRYsqg6O4bwCUapCjnzVrb7OXyP2f0sI"; e_proxy="AcLOtFsUGpj5oV1q0Pd0weDDp6iIgoD3-P_Flv5Bev_Eq5Vu3Gh9E7HwazJTHdKNhb0US0f8sWMcZCw3"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=46, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8374876459243083"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/02/2024 00:32:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:33:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:35:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 00:36:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394836880567574"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1205308, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AikTGaxGC-IUtV2GjAV-uXV', 'x-fb-trace-id': 'FZVVR7HE00p', 'x-fb-rev': '1016146657', 'x-fb-debug': '0OLeUXWDjrc/j/LMCcOLDvc2IEy1FXSu3weRhLEOKYc8B6ygjDfz2pPfnVXLQJwtd3/1VM+l6VrnmO2VVZJYIQ==', 'x-fb-server-load': '29', date: 'Mon, 02 Sep 2024 00:39:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKThnTi0Ic6v6JlXeW3IVUd513RoyOZFin5dAI-EWQ3L2cTcxH4n__BSICRhzEtHPpz_zZ8Eno6mKJc__V_"; e_fb_binaryversion="AcJGgdQCJB09Xtd8052cjoB1lwUehTgwSzpK_gB6DMsOejVgSBi8S-k41dJe7XkBIqUXJM9AuRHMR32vorYVKkiihhXM7O3TGl8"; e_fb_httpversion="AcJbFW1VMqp_ezkewbUQZWW1-q9UjBfN1bCrrU2RTKwoZZCiKy6-emWqTta_"; e_fb_responsebytes="AcIGLBqY2znlB5qWdHRPGZ4SL2-HHACBkie9c6ZgnnaWWckI7Dj4E6vhcRye"; e_fb_requesttime="AcK96u5TlLzs0tWfwdky7JdDKyBbS37vMGvqVcaHjYJ5wzAj1UcOOdYxtZyGJcWD0vtBXDULhA"; e_fb_requesthandler="AcJvkuDqt4qa0lcj0VsT7ZCy077rj4oj1D7XLnAhQZIzJ4nt-osDbgxyWUhZ71kjB6NQeMKRmDM"; e_fb_hostheader="AcJjoNp1sUMfayDhQ13o-0ZNax6gko1V3alNsA78K5fNofp5Z3L4y3A0cleYWYkAXCwhZV3WpkjxylAg"; e_fb_requestsequencenumber="AcKf-EpBMmjejAjMrFaiQokyktLlHjlw08ETH27KFTWHtGMyWMXXwbL6hjq2"; e_upip="AcIlJjHGO50VXCRknoZrt579ndoRxNObKAKlU0R4jCukrKNq0pd7LrB4ydmYPZD77Apqnr_SXRIEoMVe5GTDY6vr6XFw7_Dk0vB_gLU"; e_fb_builduser="AcLVcqw4CXx3kVPKyxE0tVJOpZYtEnhDkLwoLoMGmCrdKxUlUMo7aN4jPNLx2Amj_Pc"; e_fb_vipport="AcKl62XdYK8oX95I26axT2WdnbbJr49B25Ble4JRvtxYWPOBKo6okbk2JxVZ"; e_clientaddr="AcLrSPtl1u1wPK-laIxTNs5lcncz57cISJ8NBQC405D5lG_KSZ5DBatdscVCNDJ6f7Vb8XWJ4uHN2wNY_FXJOFg65bWKfdg2SgrJIFKgAlvB5anbWA"; e_fb_vipaddr="AcLAUhjLYaW0cHQZpNwAQ0PKmVYDF-_N46a1_WKrb9ofNh8K1deteEt6oLBQ0Ku_FFgI6uT_hYWFGF2mC1Lbck5w7hhBgmrhxQ"; e_fb_configversion="AcKQIZsaFVCVEUdpr2UqrrxqhHSv7qMpIx7nKzL9QznpnVWFUGK8Ir4_hs8VTQ", http_request_error; e_fb_configversion="AcJgKiMdL_i1huabCJ1IXp8ewAwTMF3wk4c8rbKS1g5V50OU0HZdW_1Ev2EPig"; e_clientaddr="AcL8I1F12Qh6bCesrdYfP8qYRI9l1eA1s0UJo1iyCPbNw43X3p0sdqNAqyILnnLO06Jg8zgaZG1P_Fntdg"; e_fb_vipport="AcKfLwaYpKy-ZZlqm8hE46kwFBLK3JN1ID1JLQKjhfAbRxEW1kg9Vcc27iit"; e_upip="AcI7OR7WiHeFRU9wgVQW6MwSHxydxFxxm_mc4a6CzO4T2DAnJYBf9JJ2RFNTBs6zL0TgxsU65F5gg4qQB9liKBmof0TxMjUB2Q"; e_fb_requestsequencenumber="AcKEWc28LeNIrR3gyBwGIHZco-f4aCBC2UR5ZgQTHptUiAOM_7ElSKbiRg"; e_fb_hostheader="AcI3weEgavSxmBj-7oSoltLV4eo9l6YsmRiNHDI6TpSRGQDkiEd9iAdbiDPCiJbga3nefTeuWoUZv8FA"; e_fb_vipaddr="AcL_wl0nKsfoyLpbD39LbL7hNX5UbS-GnvYn8w_yJ53aTpMLcAl4pESmeaNLkbMJ2NiVcQ"; e_fb_requesthandler="AcJZewFKhOSxjQXCem3ZPVk4ByD7KnBhSmfpkMSSYrLwEEgIqVpWAv7lZo1hiYDl1rZXL84xeIo"; e_fb_requesttime="AcJF2jx3bni-sHX_kf50pOEfwMGsT0z9cRz4X6Rb8MVAOSHpkZfCGip4B7ASgg6XIO_mDPGZWg"; e_fb_builduser="AcIMMfvvsvRp-9XsAYGnmTatvCzouCnHnMUNdpb4_xCNc4UctPYYJ1LjD-TNrM2UsN8"; e_fb_httpversion="AcKh91yDWLVZaLjRcqg3k8vo8z2aFoy6hBSIeguV43nPdiyt0nzsGaq_W5Iw"; e_fb_binaryversion="AcJ1Ya1EGbjFdhGVkZWyG9gXh1uBcxpdOu4W_4XKnAYtg5VQCZlUWO5XaACAQCSBrrPdq_SdYrLvMesfWAYWCgyxiwHUW1SPxn4"; e_proxy="AcIxibhzul33mRqweY8605TDrZEn-PCjEcmKa36rcrSMCv5iX7bP7VXCfrz-3nM8E0CTx5ZAtjICeQs"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=133, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394836880567574"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/02/2024 00:36:56: Error on send one message facebookId => 8394836880567574 09/02/2024 00:36:56: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AmiUTtihdkUrZ9w5VfXsOVr" } } 09/02/2024 00:36:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394836880567574"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1205505, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AhpOtwGaPeog1axFt4X8r48', 'x-fb-trace-id': 'FyT2fFlXjxd', 'x-fb-rev': '1016146657', 'x-fb-debug': 'JA5iKE9yqBji4zHIcJup8lOyo1+QLkFbKaadKQSvA4kWJbaoWyhT2cAbPdHkWf5Ro4j7bDRaQBSaVPhNuPrQDA==', 'x-fb-server-load': '32', date: 'Mon, 02 Sep 2024 00:39:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKxUI1iP8O4OGJ5StsKrKZfXk8BTJii--hOJuUy7722PvmUyuvOQz7a3oFYZ2ZMrS0LZG_PzUjoHz5DXbcW"; e_fb_binaryversion="AcKESvrbOCNlBEiYylvaiYUNsHy3Q9psFPmq1UaOxKehaCZ-9FT96iJLURAg2SZvnJz7TyEM7pReoR__HUPEdlqvLFPOUOvxfYo"; e_fb_httpversion="AcKaGPALCHBVe_DrtGNVO4mRPhz94qAefmSSQ7XVDMp-Ryhs8AQXHANSNjZG"; e_fb_responsebytes="AcK520A3t1KOTucfMgGQu9PKUMxUv7ZUKZdaKoBfPD9dXEIzz2-JgiSiePcB"; e_fb_requesttime="AcJBNIgG0qKiGrPtrKUd58JEWuJeKYcWFjfSiYwPw7EPFmQHXsg8ig2t1gP8LTo0se9bJTDq5Q"; e_fb_requesthandler="AcIU9O4J5n-eoTHkpcbVDEe0QND-wL6IsfZEn8j5Xci2p_5AjGc3I6RRt-Ak9sPZiwICeIz0bAw"; e_fb_hostheader="AcK4QwWuBNYVpBtuFhTpBgzNeEJ4-T8ct8MFRAoYM4JpFgI5HDENRwFql7VCbgv3B6nuL-JZjL6my-GS"; e_fb_requestsequencenumber="AcJTNWJ1FMLJ7_2Mq2XsCVw6BJQrHPZKzxLxEWrB4p1mJz4eL-92ijWPMTNT"; e_upip="AcL4HZMWboa99VHWTqLI96wbDokcevTVLCbmumCsBSVfZT0_Xr8ktnACt8nd4cSSydCpzVougWV26uR_WSGRWcqJbytx-fbyqiNrw4Q"; e_fb_builduser="AcIVzvjJYgFosqq_GRJL1KpNeDTmz1io-yQNWJXzZsMMlRz6ZclgkRzDM-fGVXk-6hY"; e_fb_vipport="AcLIvNElPjwQamDkG7mJuTwB9DTJxZQC7IUJfVi-2G9oyN6eFfWJosNxsCsL"; e_clientaddr="AcKHgugHFHLSGSEO74wqvWYIvnC7Lr_-4_lnFqr_bvrINpN8ggfgWAPoC-zh4DO7vdQFiEfknpr0C2rpGhSw4UBQEVfbhl_iDza6PUsCdKFds4r4tA"; e_fb_vipaddr="AcJdgCLSQjJF6eRfLXQEJO2pTbJQzZX2Cv3qow52Fbz3jnjy5bhRTmtbg5e4gJyfSTKPXHIZXzusA3sHh6bw1ZYlJnrXG2OD2w"; e_fb_configversion="AcKdZGRglY8cyRuAXwxyyQ0rdOk2AEBgK8rRqyAM0CtbJrSL5bxCg6RWaOR58Q", http_request_error; e_fb_configversion="AcJVjdwcOs7KAw3mUBobzdBztgEdQxoEqxMKbYKbzldQOoMd1gG9nKJ7TtQTRg"; e_clientaddr="AcJ-9aX_-HhKkzFEZrulaYgV1AvU12qSyymsIlpQvG0eu1s_vfSKbfv7aaKkFvQD8So9hwzPspdCha1Gkw"; e_fb_vipport="AcJbaL8ozqje-EsoE2QXnoHGsGPfDkRuvtJxctikFcPXoHZUzKyDiI7NdQsU"; e_upip="AcJMC6YxcWh_a9cFeaHi-h3LBOrJ-cRP-zPrSJ1e1BHF6qR7foXQkEvHOMseNrwmKPXIKpXabvoOmYJ5SmetlGzWctAhBGg9-Q"; e_fb_requestsequencenumber="AcJI7G5XtoABBhVpOoAbL9-IdPWOmgVmyldx3BZ8OZToujrnCUQh5hHuLA"; e_fb_hostheader="AcIph0wjD152D2ssd0Z797BUmiN-S4DDbDKVLTyGVsLtLLCLZe0dPO8C-9iBJIPjdzTdFfWMAqXZ894B"; e_fb_vipaddr="AcJZ-2KzVD5_LfAp981s6SwZ8alWKGGVxdiNckoRx85frwQhn7t0qbgcjhIzeNaYzJXWCQ"; e_fb_requesthandler="AcIcfYusDhCoJQ_Z2dOm-SEFKNRulFLFQ4wtU6KfzTiBu-0WpUOvs-IivqAUZ3BTtzIaLvyDO3Y"; e_fb_requesttime="AcLD8Thsg9TGlwsRS8VkaBpniz56jOvpgnFpMp4iHNaL1M6sn-xuV6_w8I-AasVAo_sX9xBpKw"; e_fb_builduser="AcIMpMEqnpdMzyifgguv0ifkYsygah75sNpR3g7roxe2zkTppKvWrxWrkRDRjj_2jmk"; e_fb_httpversion="AcJzokyweLVnNlvUnvH9xhM3ddZLGCVBdmjYIRLNf_wF_OKR6cZNNyak5IHa"; e_fb_binaryversion="AcIVUbWV2Y_r66B5OtqnjnQDQpAj11TFju7Z3GADSF8HJnrdseLG7x45I2etJzekrV9S09L12kgbtsw69KqNnzexF6Ha2Z7omKY"; e_proxy="AcJxqGedXz6GHWaAcshyErJL5DpUDP_oi3-Qa9wILCpV3djImuLFf_od6w3FJQdWDVxZ2i96NruLHWI"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=132, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394836880567574"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/02/2024 01:22:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 01:23:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 01:24:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 01:25:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/02/2024 01:26:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8374876459243083"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1214247, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8e5hUGOZp-CkhYqjMiOGX8', 'x-fb-trace-id': 'DrJx6RizL6E', 'x-fb-rev': '1016146657', 'x-fb-debug': 'bXuCStBvKEzFemhLIwfw0vK7OhEuMw+HomYjjFCbRgpjAlGgMVpFIbgcHv94s+h1yw10zEnDNSk05MmB+GD+LQ==', 'x-fb-server-load': '31', date: 'Mon, 02 Sep 2024 01:29:00 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcLQPYJcDSPAJpALeiJ1tETFCVxWKu6-xNbLxPt3iLqvOWpHk598II6BQmJJeNv5p0_UFDK0WigtzGsfMhA"; e_fb_binaryversion="AcIsCRi97TbxyGfhB_e5_RqHIM31_CmS5aeFXcY5y07Nor4YquAS-KrPJ4_GbMjprCPHrT6LjoG79A-uK2tHTddKCopwHZrYtAM"; e_fb_httpversion="AcKQ7tEJw5hVmOHbqzCt1rRDp3nJ5ZFPBuqCaGDaAsT5_SgfxHPHYXmo4EHg"; e_fb_responsebytes="AcIXsS5YQX7UAzBIaM8BiidazFvH9iH7fc7IwVW43WUGyKOy71URug2JxNUd"; e_fb_requesttime="AcIV7SacmqfryyPdJQzdfNEtSAAAyR1abg5KWT-6yVksT4QcmCI1PQyikVBoA798XzQL2rna6w"; e_fb_requesthandler="AcKPMcqhgQw1gq7kXPg0yV1EDSegNmoVpAPz9oKWHY2etUov5niOTJf1G1GxfrSwhHnvabGrH2I"; e_fb_hostheader="AcIU0YjWqhPjbMsybqTVMyLMPk8Qg2TVg6IA5TO3fqLCQ4CZZKkqBJcIeD58DMMgyUJBMfBPQ3ErnpIh"; e_fb_requestsequencenumber="AcIqYWLDF_Q1bDz-HVu8XykQVBXFEOB11J2N2oO2YWuZL77hoIBWI30Whjf0tQ"; e_upip="AcLULnM3pTVTrK8kY-RlKoyzsFHeuqvsoxutFpMm6mgKWRORZrhF-T_cAzhnEQpdYpKSvihBTgS-qi4L3EaagcZCy8YL28kSbsZyJRM"; e_fb_builduser="AcIsBHHTIWL8VEVgzMUSSQylmY6Wlj2aB-n_rXpyCUTIUDojdJFv9x4t4Kvf8XbOc24"; e_fb_vipport="AcKfPviSn-CtMYTmoxeEFBauKg57EFPo_tgkrrKo9aTH0_A771R4ebeB0Y-Q"; e_clientaddr="AcIYWvO1pJo6jYpGFU4z_KxLu99NiiGLp3Bywv86wFVAG803Z3JgvgZGg9iUqOMeATwS2eX9FPaYzjG_LRYzexCOe2kB7kDAtcoe8NTzQ-0paMor"; e_fb_vipaddr="AcKHIuWrdK-FYFSU8r4Hg53QYagoHLzBa5i4eVWT9m7okWvYCHNmJQzJge17v4WCaDDTLPOkwndMwTRtwIXf3oEgbeuk6BGKqQ"; e_fb_configversion="AcKAnMHRfbfJkx7DBOxKC7SGq6b8uVRFMfyCFrlidNQx4SLDnzBzmQjYDZp4TA", http_request_error; e_fb_configversion="AcJLuW3zRH3H7pzmxW64eZUt_7hD8kyyfV_-FItPKnFPcu_CGQik8zZy0cWnQ0_9threGAnIQGHSbIT5exhpC025JEly4hdnLq8"; e_clientaddr="AcLEDS_nSoGBVpBtQnuDdX2qjk3c1Qw_hLDIZQHRJvU0cvZ1tv8yW1JoAoXgfwb4PSvZgK6pjT7S3MJpmg"; e_fb_vipport="AcJAVXaaE1rd9psxMwTIN94TR8yb2dxiNp6CKhl0UBdN-JSW3bMHXXRLT98a"; e_upip="AcJ0zfbibw2LzjB78t92RHXr-H9gsGpQZuzH9ED19YqYs_IesZ0yKAirGrMfVx-vTi884C6IvoKSorZfqObS9EnYYxUxXhS75A"; e_fb_requestsequencenumber="AcJ5QueiipAJBYzh-dKrzeh0FOFzGJ9vKqCuaYYPmQ_gzoaPfHQYocgkWg"; e_fb_hostheader="AcKA5nRGmWDnUpzBpPvnudktbzMKZTxgQl_yUyv6HrX01iphLU2Cm94Do_l2MGZvBWm7ZZww8xALaasr"; e_fb_vipaddr="AcLnOv0idhz2Mxf1PZtNRYhmrWnQxC0t92hM2kr3f8WwoQJpb-0dPwuAuS1B-_fT2Isr-g"; e_fb_requesthandler="AcJHOta62rdHezShjJeHAF-2wXnxKtVcifi2qneHNc_XukVkROPkVdJa9e7f3BBVr5NB072p-bo"; e_fb_requesttime="AcIkb2_dBNh5IXGZNGbHNu2XnCaGa4hi5AGX_LoyAgKBgAy0kv6tun4LDPGqIIz8v0J6QomToQ"; e_fb_builduser="AcJWNJub-r-QTOS-bxrbqHNlIEOElyJQy-UVyKN64xWHpqkdKWTQ1dBfIOdTbL--bbw"; e_fb_httpversion="AcLbBnbksdXgDz3kOPmoSgFzQ5enmh7Ahs2tXezG8EOKNAVpyvSylV8jnpXt"; e_fb_binaryversion="AcL9fUtoEuTw4mcHpJVThbmMiRNe0TBl4LmYJ_s8ZbM3pnQsRizMnKoVc33ReaPrsw9phHS_UKN-4aEM_hzj2uJwYxSwBkszbh8"; e_proxy="AcI12qhidYT7Pk1fv_2hJATjtCB8wdSZPCww7AwnX3hCpzqdzigN-mYynwTAqx5q5lzxrmQ3rkmSFKY"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=133, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8374876459243083"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/02/2024 01:26:56: Error on send one message facebookId => 8374876459243083 09/02/2024 01:26:56: Response error send one message => { "error": { "message": "Any of the pages_read_engagement, pages_manage_metadata,\n pages_read_user_content, pages_manage_ads, pages_show_list or\n pages_messaging permission(s) must be granted before impersonating a\n user's page.", "type": "OAuthException", "code": 190, "fbtrace_id": "AwDTE7TiPzWT_sUfvK_vk8u" } } 09/02/2024 01:26:56: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8374876459243083"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1214425, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json', 'www-authenticate': `OAuth "Facebook Platform" "access_denied" "Any of the pages_read_engagement, pages_manage_metadata,\\n pages_read_user_content, pages_manage_ads, pages_show_list or\\n pages_messaging permission(s) must be granted before impersonating a\\n user's page."`, 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ab2yrTwBHAbE1JX3ixjmbmY', 'x-fb-trace-id': 'B1lAyLiT6AS', 'x-fb-rev': '1016147360', 'x-fb-debug': 'ZHO+MxbdvuJUk5dLFBcYe62Rh7KVWIwu07AcqcoBPMjNEVm95ac8pvTWYcJiAM/SQ7IbaEt29rbiUzJukVIDDw==', 'x-fb-server-load': '44', date: 'Mon, 02 Sep 2024 01:29:02 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcKyzBFTWepJPvM4srAPgZQXu2CcEREZLpEK72zBlns3kYBnhjCRZOrmS_RhOuRxSVosQngpSnt-Bpsd6GJP"; e_fb_binaryversion="AcK1ocpzAF319dwl7hYHNY51tf0gifcfgnnv_yYy8_7zg07miJ6msBBe0m1N0gcam2lDAMZKrEROtwJvHsz2vQ2fWJUvrsvRRgA"; e_fb_httpversion="AcKPp7R9WRK1CsAw2cpLCtizfNHEorFnVEisODs5h23mg7uK1s_0cYnufQ5X"; e_fb_responsebytes="AcIogwCiHiqKpktteKntVNoWF9XpHtbkgbhc_wSPmgKovXdh-PtdqPGffnl5"; e_fb_requesttime="AcJVqXN-rNh8OZB-A-kHlolLOnCVrlWq5HpE905FLIWTX9mcMI1LyRy4W_f44eQPyNKIDDTHjA"; e_fb_requesthandler="AcIM6Lpk5PZigPhW7jxpdM_Xikhd4Ngm11AdTN4wU0l3S4eISUzpRjOo_JAdK28nRDYgZ_tunk4"; e_fb_hostheader="AcKGAwUkJ-GQhHSUNUx5L7mEok_dweoV6Pk12JgilqjGuk2FZz9rqwxX8T92UHpgk8cHl_wa4WXdmnqh"; e_fb_requestsequencenumber="AcIY1tAzuDrf-rq3Rv5oiLlHxWRvJoQxP4b0lmSNWRTsBRuh2oh4Y6OOgnkl"; e_upip="AcL4Cp3bggWxxdcP_w4RlHrgy5nLjx-urqy6ebKBXaTBookpjqkQh98oIn1WPNnT_SYmIhiTZJVoJ9TjfW6S8pINFOqcTsZ5uDk12gA"; e_fb_builduser="AcK2UhbT5MEyoI-xJtGAVnGD7PVWMieYdrA9MkB-S8kPaBrwjnuv6MD9Vl7EDDy4UC0"; e_fb_vipport="AcLQKwoUD6aFXiyuKHjuQ9HVQaXct5pXsa92ozP-dCvBodjFTwKb7fE15ew1"; e_clientaddr="AcLO3nsVcE8n1K74dsV3O_Nxsb14Quc1xQZHMK3h0efDj2_DXUG2oaXifySVA-JYuo8EQHnR86pTKOJtd_I7OYQSae-VnV4dSxfXcugA0QVuRn3KAg"; e_fb_vipaddr="AcIf_dArv5Np5PCgZPHaNgQzClnn9bSZEy1h9VWufEWPkFCTZm6h-E4F4dDXPEPSXkErzufX1_HhWhLvdc00kGBuNluykPZiig"; e_fb_configversion="AcKgcuMiyZlgvaYvCxwOiSpz9KgvNfX9_LFoJh29uwt6tZ3s7SuWUP2Qzsg9Qg", http_request_error; e_fb_configversion="AcLrn9WKyGdqzC4qyvhRe-EUZjVkWksdCImwcBABv_9kXVsGGxc2RHyVDw4C0g"; e_clientaddr="AcL5Qhf85ISyl-P7l_0UA7QFJJHBtjFophLI2rGLbGWiXJPERm0jKBAMPkLIrKhnX_ydrtT3QPo17LWldQ"; e_fb_vipport="AcJKqT0Npk9zdj_vt_XYVmZCpN6rY0HbmBsIdMfO82Ys10J7DANjUaQDn9zs"; e_upip="AcJD48cEj5aZYVGgZfrQiuYSXQNHKtkA4E3sTYfaaXifDvJdXcekKKqzJbpCTVSne1lEiX2ejc3jp4hg3IZUrc6vqtB6NkTS9g"; e_fb_requestsequencenumber="AcJa_WElGsLCdafwK8t1eIZQSzltL-4ZnS9sJ5RXlv1VZI8MTOee0RuYsQ"; e_fb_hostheader="AcLlbp6APwdtJ3ukGCtthpEiemMfNygYJEDjz4gbSmUymoWZx79UK-6loKECeEmok-ecWto_NmKQjmR0"; e_fb_vipaddr="AcI4Aye1k9_1Z7TrTxukdiHOCbP3_0a7XSp3RhQz1P9odZOwrXQ8mviwQ1kOQAchLW8uZA"; e_fb_requesthandler="AcK_gNFnmRhluY3FKdtA9pxDtxJjKP9xOJu0KUI4xZHBO7xBt_7ewmQ9TVyiHNKSVjxRlROO9fo"; e_fb_requesttime="AcJB-Q1OXOSldAu-4X2LPHvqUWlYDkeYKfX0wQpL1a-78ymS_fcj50yuTRbGISyJPW-Z8nyevg"; e_fb_builduser="AcLgTAvttIihYrwU7_BMeTFDwFziIlCb2DzwASDmlqDFnkJ5LwqbW6o_9y8Dhi-dVts"; e_fb_httpversion="AcKQvOM5-cQoagsIGFdbvQS1C_XwHlRYCFJTMQlPeChME9hIJ0Y1TcHsv5ki"; e_fb_binaryversion="AcKXMa_AkrIt_xzWdZ17s07Pfgcdc0ro9X0VZtEScTXIN2cqlI-lSaHQSqI_SMCneCGtyvgp4QEjz_kolsLSggbY-x-foQ2vszw"; e_proxy="AcIqGb4T7ve_BcZNfCDEczm6KUMf7P2NcummprcE-VmnXwemrj1ClvUzM_pb7eUv95fJuft9E0QfNBs"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=133, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8374876459243083"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 09/04/2024 12:56:55: Error switching inputType 09/04/2024 13:08:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 13:09:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 13:10:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 13:11:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 13:23:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 13:24:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 13:25:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 13:26:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 13:27:52: Error on send one message facebookId => 8394575843919680 09/04/2024 13:27:52: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AXBHQfZH1KwN2i9YOpY9pVL" } } 09/04/2024 13:27:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394575843919680"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1824426, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFrkABweo0EowUMtM7-6ecJ', 'x-fb-trace-id': 'CHExZo/OkKC', 'x-fb-rev': '1016201056', 'x-fb-debug': '3PpHFp8uOaMhEEd7PFgSEz4x1r3nhNwY5qK3NWIPkIFMfAIVnB4y39EgKVLz3JUIjM79EQbWld6G3efxH72OEg==', 'x-fb-server-load': '50', date: 'Wed, 04 Sep 2024 13:30:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI5l3-SGpdX7cmOacCg86Qm5zTsMNmvGOWVbHUB8ufXvozCEI6DUC2DMHKvJbyNIFd40c9wANuOBfFLs1Ea"; e_fb_binaryversion="AcLp8-qnA5_tuTEmLgBFVRn3GvzyOan0AL6to5EiEYsPj3ImCIk96mk01IMafYRnVlMWkE6_EZ1z6limbwpnBS2bN7ppKEaRGGQ"; e_fb_httpversion="AcKv4XeOJKxcwKWpPipkg6QBdrfpwrrOpbQ1pDOTivo5MGH9A6uSB1PDMC0v"; e_fb_responsebytes="AcLQzrhbiycljYP_XViRsawKp_jtL44DaqlWwXEQQ6kJ7kknYy9zetQdzxDQ"; e_fb_requesttime="AcIgrQKvxKuJDpbj_KHYOixv3D6qyXDzUg5WhgM6zTCpSmdnhM1sv5FB7vqmniYESToGZxVBPw"; e_fb_requesthandler="AcLFj5p_APVlwvMPj1C5NR2nWrnPE6feaiZgeqkd2rAD9vZnaa5wsgx4hBtzOB_fmKfqEQZvj50"; e_fb_hostheader="AcLfWA_g51RovpUFJB1r3CzLXHTkhAw-2GSVbQypEKCMRttdCumZxpNICcPpacatiGJW5sjlaULDOLIE"; e_fb_requestsequencenumber="AcI79aHievuTZdECu2XnDEIWZyfE2Xp6hqwpDGqIsCKsFhIc-Amyft_3kuH4"; e_upip="AcKAaBuNhx6zrVE2KOQiz4UNUvkumNbsbuhd2kHvXiGRQocm8ZQLhxrFiccvFQsANXuuGrno3PxgocUX1mWxe-hdwgg-kJgDG0abmTw"; e_fb_builduser="AcLbzSOd_8GX-3rKnZ3BSo74ftnbe2_n9Lat10Md9FYkuD5rsP3NDYBi5KUgcOkRloU"; e_fb_vipport="AcJbDYV0pEBUzAuXZysWKIy47XWCWvJIzE_4g84M_c6cY5IMNvU4mAmdaROs"; e_clientaddr="AcIT29lHG2UCB_IISYTDi3VyPLo4A9z7oCEiEcpYMcko9lpXuI0fs5tgegvHN6mb1dU2ngA6BXJL5Ia4nozWkfhPXLJM2jn3nR54tHDtpDOQuURLTA"; e_fb_vipaddr="AcI4PLPNCS9JGMYrzjpznYCIz4jHSvzzQ-hcnc0KuykKYvdbY_hemwb8Xlm_pD0n_6dCg3kul35-FlNpnU5qW-0l1xRjQWppqg"; e_fb_configversion="AcJ2WbR99OfHyArGfaIQyJKh5p-rizPWOFkiebg0_TjCk4n74nrQdE7r1PTjaA", http_request_error; e_proxy="AcKiblqRsM-g6H0HrhjlbtjnSlkXeJIOaNGeWjkcZolqzhX1Nev5GqCM-devfleMo6LXl2e7S9hck7Q"; e_fb_binaryversion="AcLwdTNGSPXYb4lxRYrejbj9YQ-75d11QK-U1chSFh9360lYPVsAHxOFyN0YMq4By9D-0fTe0cHEKwIxD7oYusnZNKiovcCIQM4"; e_fb_httpversion="AcLZJilRbUj46i6pkbHr2bOq6VC4es1sCYCERy3FA35o-kcXxzsl7y5SXE2B"; e_fb_responsebytes="AcJxc0OtML8OGv8ldpb9Wlcq109VR6DiuzUjeFQu-X0Os8OIpqx3SCQt3nB-"; e_fb_requesttime="AcLscmFwP0kmCDs_-ogDnQNnz2cmAZimD4HnZrjYMeTUlOco_YAQl8V5oG7TQBlDx8JW3r9sWQ"; e_fb_requesthandler="AcKmQ7IQfa6DmfPRXsiy1jxYpu41WXs3ExSr1o_e7kliMJbBUxMfdv4SY8tyGWlKsUVqNzgUIOg"; e_fb_hostheader="AcJ0d_ziagqwyPCmVIjnZgci3mL_x7sXAe18ZEQ3dsXlA4bNHMaGMtwZ1B9n4O5CCwV0fA-UrnIXGWwv"; e_fb_requestsequencenumber="AcL-7-Ypk7Om1cY_OVqDHcypWNE6aLvNA0xq3AQuUF2Sf44ncOkKAtxCcg"; e_upip="AcJtm4HjEUrWSn6n3ywSkhuVHc2nP5aHS9L55qhABTBeAIgg-upFgh-jgo_xAs5zWQu6ig78YVfr5-xzu5dNnZCrgQ9ZpPrxKg"; e_fb_builduser="AcL_-JgdvKTQ-o-8NYmIUbiLYJmEf3LVskBKrRlt1v7DghAcQGndIdakiExuZJt-cXI"; e_fb_vipport="AcKuYK3SSQj4BLhPu4McEkcW6GQyGSGolEtgClhFSaqfQbGB0-7eqdlL50zm"; e_clientaddr="AcItjVyIKb8w2VP-1R_yIo93SJv0VEM8NKyTt5-6uy_5OSquZdXIdZdakoO4FNvc-lcgKQlA_Ltel7fzrw"; e_fb_vipaddr="AcI5E5RewG94IGWrak8YThn731WPGrWWNhZ4pfHUyA2y9nRVRDOGJAXPrDuNtfWEPdKzpA"; e_fb_configversion="AcLy9xx7hoHljxHKKEGVCVyqXqGg3ipu9X9hYzvDF6vrWsZuQzsoo1oWedRFCQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=287, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394575843919680"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/04/2024 13:27:52: Error on send one message facebookId => 8394575843919680 09/04/2024 13:27:52: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A6PdNN_hVnOXIqXIVTPVQQy" } } 09/04/2024 13:27:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394575843919680"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1824650, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1TgSjtc0zwHmgBBCBMi6lS', 'x-fb-trace-id': 'G6iTvfWu6MW', 'x-fb-rev': '1016198903', 'x-fb-debug': '+03jUrd3lFQxMbwWz0z3mgGp+EImPChLncIhMEFDjuAIh6k3tUr6aqCPLYSRAUuAdG2O19ljfDMsA7trR+/wKg==', 'x-fb-server-load': '38', date: 'Wed, 04 Sep 2024 13:30:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJmbxhhd3M8A9ds5mXzIdaqYocmUglkQ_536iolTqcuRBZl-W5WuuAKLt1scx1EVo1LcLxXTu0jn8kMKV1C"; e_fb_binaryversion="AcLHTN8mrel28OUMvUrd97ERDzR-KpXeS_JsvG8Fx5CcE-ld_NnK8ZFwPQnf2CCJmlH9BC3wtPwq8H65UR9AldSMMsCll8vC1bc"; e_fb_httpversion="AcIOsi7Bye8Up-Kuq6RZcYahhWs_zZJW0m9VNydxKUGtuKfTjIFi1WKxOzYq"; e_fb_responsebytes="AcIRW_X87-i6wtx1eb98cJpubQZ-vBZgVy4zL-ACWsEBIm7czDvs0pWDHgTO"; e_fb_requesttime="AcLhnhmN3PpuvyGyveLWMtUGZ3Lf5rcjUrEjJAUxCyK67XLkatF5WOhuNS-kL93r025JKcvdEA"; e_fb_requesthandler="AcIk6caBd-8XpipV6iqwfEPhh-3-1EgHAt1A2lX_SF3IrwtT70u84uhYDkKwZIWJXpapBJzGgxA"; e_fb_hostheader="AcIpXvVe57-n4imb6YNUwyisFsGwB-CT-fNcDj-XkhqF6DPAnFkXgS-oytj1PhjFQcs_fb0NEz6_G-ed"; e_fb_requestsequencenumber="AcJuWkz_1H7FG6ZH6-HahPuLhB9vseSeUw_9LMvbcCT5qwetE60bQaZtwkJUDg"; e_upip="AcIto3EwfXfwM9ZiaWHJrPX90mTDGmMiNgFN9Uyb0jL9gpQZ6lJnteLk8_0n4_XSYjGE75yDuwg-iobXo-Md_wXaCAaTgS7HtUI6gxk"; e_fb_builduser="AcLTwAA646hZFRCwKsckMTsXchkdDZ3as79CrRLsBsJVC4mM4LDX10u6rUFRFZ2wrgk"; e_fb_vipport="AcJO64s1tYXvywpWdm2ddyhm6Pn8yYnADWCdlXHds34rDS1vGMWai5-02poo"; e_clientaddr="AcLOuglGlqTsN0tczbuxU7Vm_mcbmrFa0HBN87RHcmjfYl4GKx1ow1JO1B2bSAa-cTVoNGxoJGbHkwsFLUBVSZJSvxzM2f3G4eWKIuluq2DScBA2Cg"; e_fb_vipaddr="AcJA6ILQHkSaxv7X9v3XWaYKQNnePxnFFpH0OU29iwdtqxxHa8tfP27Yi_1v4xZRkWAr-Lfhp0CX0NdJ6iLxpBKKe3F_0Mb_lA"; e_fb_configversion="AcK86lHAAPXQ5cLtTLbhl6Gt-GJ5qAJ-EKq1Aj32_Y0nK0V7trigkQ654Qi3kQWw7L0NSLagbEtKGzyEEvNPUCpoujxx7f6Ig9A", http_request_error; e_proxy="AcIY_5kU0pBdDBwkJG_OqIpILvLLIj6mRqLev4ZEsKnMq6FBbnjKgEPJ1wmr6-dKxdYynzVqZWia_Rs"; e_fb_binaryversion="AcLUXogkV8cLRbU6XxYkvm-jBABkd_BpGhNY9FgaLXdydqSqqcpW_1XjQbTAAY0mLFkYyAa1QMGozY34bFmxefF-NBhDtNuM8Ac"; e_fb_httpversion="AcITbuQlXOT7uqLrtQFujRTr8Rs4-sV596ueOMtV_2R32Kq6MCctaKpQP6Tz"; e_fb_responsebytes="AcKghcToN7ua3HuWuXQb-6h498tjDqqSIv2n3TiMr7qiZQIfokfrRkDAz8oS"; e_fb_requesttime="AcIC7amNrEqUbtXk9uTmoUDIBryfeOvhuBBhMxLzd6BDd3kFYgSz4Buj_c0JcdSiQH58zDTLIg"; e_fb_requesthandler="AcJdBW4bG_SRFPBdefXCZVvFh4Xul5tuKvoazbmrFIwwePWspAxYwG2xqCCxWPOd3Ry8yOP5KLc"; e_fb_hostheader="AcLlqueifZsZOJsvmrgg982OeZIsneizpyFSgJNO3LU62vd1zrqygBcanYAc4FAHuss9d7DqBZK_fX0U"; e_fb_requestsequencenumber="AcKqY_-iQia-BQvN_wBxTFx1tSRGxkfjyTZnnhYAZcvai_72LOtwYzKAdg"; e_upip="AcInT3GRVUA-ED5HqoAMqwHa1jXc8WUHeR1eRxmZIXubPuB-2kPU4h0diEt97kl7YAX9-fQUFUfSRNJF4GvfUdrojjkl4fKwqg"; e_fb_builduser="AcKFpNKuZQOEph89ZbKyRNTC0JAWueh-dOEBHoC7c68UnKw4dfvAEPUBvj0BJ_04Du4"; e_fb_vipport="AcLktix7UC3dNw6XQMNBSAd9mVQ9_Kh2cq5g0VoX5oANL_XiK3Y6TTBOYXXM"; e_clientaddr="AcJdBubDg7tD76ipD59hsIglduRYiqdau7m4AK3Hv4hCRj7smJNg_e596UdVYaBTmM8RPcemcfliUFkMwA"; e_fb_vipaddr="AcIpWMXB8bHyX2xgDKSz9W26R0H9vgrYSfC3kzFILTmZqyAsG5UtGdX5Wy2wRPAvSB-OFw"; e_fb_configversion="AcJAhE77u50wzVKhwfqGzsdK5D3-rAg_nmcM8NWl3Zn6CSiPEbmwGGM_RZvZrQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=149, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394575843919680"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/04/2024 14:23:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 14:24:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 14:25:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 14:26:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 14:27:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394575843919680"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1834944, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWnt7dDugJnvZ12cvUs3ol4', 'x-fb-trace-id': 'D5WKfDSBKNC', 'x-fb-rev': '1016201056', 'x-fb-debug': 'O3+KGxdSP9dDvzF3xUszpjBpYMR5XVeKLs8de78/qFNA5P0NQvlsW7Pszidi/BlyyyBmvCMsujJ9plccMdRXng==', 'x-fb-server-load': '46', date: 'Wed, 04 Sep 2024 14:30:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIwIsRJx6WZFFC5w8ALHfsa0XmBbn-iOpilLwo43N0XgQzumpdzHOrWQVDZVg7cYL6xQ8a8CaK-GncruTw"; e_fb_binaryversion="AcLYAb-eaFda4pLB-3lHJYqHHgQohcbikqcMBbA0HnqKd2i53tQ0hIXxJm5-Jc1qrMKPjdZkUXmTY2ZiOH4HFmoWkCAPf-WR4_o"; e_fb_httpversion="AcLoZf4ABUS2nt5HrUQlaEjBBdfwzxxb2fTDB7MemFCcrpN_cgBEO2FdcG0c"; e_fb_responsebytes="AcKazfYHq4p7G6OfidFPkFyJuM6KTJYk_HBqFBNIpZ_kMIRI-JRX6b7SvIAK"; e_fb_requesttime="AcI-vwUCTV4r-sDvkKrPihQyFlW3zJbT9DH4e0Tr5XYo4aWrtXkuFhxz1VqXKp9kXDhqK9mUsA"; e_fb_requesthandler="AcIgqjzjhEJlGnHa-IZ_AwWZ99JHEqoELD_-6svU8Y866rL1SKxoBlC-a5vO6x2DERPL0L5hNuw"; e_fb_hostheader="AcJ7hA7z5wPUX2THmH7jLqoglRlYNxqb2CNXs0A7jfXSleqfkzTr7p_ugQDcx-0K2OB2c6cv52dWK-j6"; e_fb_requestsequencenumber="AcIdS4BH3-PiUxsK75h-TGZHRCUTXB8NoBpIaN_3wrcv-9LPLBtRuysLn_ovLg"; e_upip="AcKoZgSUo1iRuraGh3pl2BOFgDDBXV6IXr-9Vw31EuO6qhjfZnaDjxC0oIviru3N0N5JL--abiAMEct8rSOTUefN2isfe9f8H3dPD_I"; e_fb_builduser="AcKATdUamXmw2ylbBHL_c02s1kTlkZR3qudqEbwzUrvH364NuWI2KlXSOWZPNh9GJss"; e_fb_vipport="AcJr9ox1BjArEf9IDJqyqsNBad28_020IWvdPL4krb56sVKm9DJ3NnkLBRml"; e_clientaddr="AcJjn1xDl9YI8GSWqRC0WY0REEkLP5jCIz943oMwjX7umbG6wLaOwg2Pev9Cnlp1Oka9gUgAiiWK6PSNg3LYmB8Nw0k9uGfQCUHCmugPDMXCczIM4w"; e_fb_vipaddr="AcJHkaaxjer13SZIQaJrqsOzcyhDdGdfTflHRSc13qDj8abfbtD5KA1SDZd5sbN563jQaQLEmqq3_CXpLaD7_Ws-P5VBXc-p3Q"; e_fb_configversion="AcJx8JuhSTl8EX1sTju0FX3x--81ud5x-WuklJtgRkXc6-yFxFrzAzErjobB1A", http_request_error; e_proxy="AcKX8ko8zh-jZTy7akMwcLP0zcooDFYKl2FCA2qcD3QXrvRcqwQeR1wFJB2FX_7qi-ZKyJyW-KPaB-Q"; e_fb_binaryversion="AcKwQWEVJbdZ-TxP_soeYtNn-TBTZQrWn_E4-nMouI-c_XOP9fCsDrqxG1H_Pq0R37HVBpbie4q9OagCLYebh3elXNoXonqCsjs"; e_fb_httpversion="AcL91HfJMPmS63s_x1pvzqwnZ4qxv6s6wC4nS9DK5X-DLIOnOQMQiXnmO_tw"; e_fb_responsebytes="AcK63IM93hXQmefZI2LzCzUYdqsYR2HHQuTxWCPe6yLT-Ede52-UVboykL4o"; e_fb_requesttime="AcLVCP85Z75884oliewh-9XBzomjk7Eq0SJCTIpH7BlDmEALh5p5ntfjAYa1IL-rYkwtwsPxsw"; e_fb_requesthandler="AcJ7OCNwPRPPdpB3wbkCGYfk131D-Jkmk7Yo_z5mTKB3REARBUn5N5iQ2nfI6VRDtTWoh232wo8"; e_fb_hostheader="AcIRFlpfLOO6QdYGt9SE24fJoedYjBJtmKxVHt5wKtwRDFOJV4v9FBzjCSSe-u9B0hoZDQCx_0HSWe-w"; e_fb_requestsequencenumber="AcIay0CEdaZ-Z8lNPawrtDg3mjQbY5BK1FklTdBj23Idr9WlgbnoRCV6cQ"; e_upip="AcLaHs1B1Ao0v5UKZMJndG66dABM2XStKAEu62C7KWJIW-lrmo9PvrUNBvrPje-6D6b-CDQDbLuhsLedy6_4lntjXPaQVC5hkg"; e_fb_builduser="AcJSjPgHYvPqjPNjIUtiIlsAjJx5Dl5j-5YGuRb6sRJxdNup_EO8BYCeqFGPsbYfuNA"; e_fb_vipport="AcJ7f6GVPk12XojTzLdKF84-EU0NEcfXVFd7i_-oaQM6YAnFa0_yCBRxkT6p"; e_clientaddr="AcIePmEeZk6ka_-F6_N1k-M6grbNvN_QO2MQgsc1B0Yh43SQalkiWvYJJDOKHnI6NNfcdRVrhqhzURa0VQ"; e_fb_vipaddr="AcJ730iPdnukMWSEtQIrdmAnqf7zA_nzO8Nn9O15mpo76z-URL0lpAoxv1S3TBtRH2kOOQ"; e_fb_configversion="AcI9RBjrmiPgtD78n0YElYUd4UYuK851PsatMAJ9OK0Fbr_wvCQUKpdFpYdUTg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=163, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394575843919680"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/04/2024 14:27:54: Error on send one message facebookId => 8394575843919680 09/04/2024 14:27:54: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ANeJdFSnQaARQRQZLJQ2kMe" } } 09/04/2024 14:27:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394575843919680"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1835119, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATAhEeA9rWKIVYDroQeyA1n', 'x-fb-trace-id': 'Gkk4AbVh3Kl', 'x-fb-rev': '1016201056', 'x-fb-debug': 'jGK4e2W8ogLA1KQoENi4dNLJyNxYfnTvlGSAUyCpYMaAEKcOPKgeDCesRhBm29QsEg06IJF7JHbGHy3lP3ma/A==', 'x-fb-server-load': '41', date: 'Wed, 04 Sep 2024 14:30:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIIFryFoTTHMLdhEsEJfaamsMU29KMmsLRZ-gsbsbuPGJ2MzQbjfIftwHTvAPE7jDtGabrIY9iuZL4SLBnv"; e_fb_binaryversion="AcLmJhQ5V49ijtYKeBeal_yQ__s78UybUHBn5Sbku3JBJQYi6o_nSPWv3U8tjk_uC_vwuvpX95ZV2ZOc2yKgewIVSnDjgXmGfTs"; e_fb_httpversion="AcJMiisthg3232N_k60wIDeAV7RQyVzGKkZgQ4qMYXd4HO4GZTEFcJ4Qt0vW"; e_fb_responsebytes="AcJaVyRvYn84lizFBQmWsggvD5fxptmakA-ErrVRm6QnKdi1ingeQW34ddoX"; e_fb_requesttime="AcIZjoCqnQuo5m04TL79N1proKOtpWV0I6caDOZ1qCa633lO3tVSjAV4YcuEuaZBn_LceVZU9g"; e_fb_requesthandler="AcKxUCsT3jDdYXiZlgXKZiSHmsoH44M6mOiLt5mBut38r-ypBm2ZNuBcOX2XM1CJna79aSixEeY"; e_fb_hostheader="AcK6sHSxKHBR9S1dME6dsKEaAN50RTBLIAgPN2a-L7QdzpnxDN81OhtvifQl9S1llQSP8g_zvwdJGJ04"; e_fb_requestsequencenumber="AcLwffUK0JzkVH3nMlyV6qjGgtVcHu_dfELcrbP8VW9Ol7JvG1O_JUcynSI"; e_upip="AcJ0SsgwtVkHVCAy7L6vTLCs3YDefb_UJLyM7Kpp2H4gvUVQP_gbyn9WsGp3BoiLZm1tdmaSchmsrimAh0WjNA7lIkoaLCfC4mPZztU"; e_fb_builduser="AcL7C9Y4-SxLGuY8tRVf7XzRp_jm5nigoKsfTQrUMLfN2OCJblcUE4hINjcPrWkvwXQ"; e_fb_vipport="AcI8nOQdnWhUoP4HgqsEoPj6XdFD0WMbwxxcmTpdUW864aXn7-JnBvwsqSLd"; e_clientaddr="AcLJIzRivzETZC-frTWhr7qFG6iXQqOWokUeuG6gdb9AZmrcwdy5nZbV_Hvbv9bpMO150vXNIp6DigX-1-wB6yDhbiHn_FRMJ_cz-MqCx7tkPMEBow"; e_fb_vipaddr="AcKrblWGLBWXtCHZgG2HALxB0wJ9C4zXgdnlkMPr2L7q0abJty0EWElw8K_rp6OLqRt6HQF9D26WeJp882Dizee9LK6AOjKnWA"; e_fb_configversion="AcK6zsYzTBEVGqo7DACQ8OmBng7IRU7lFUVKwuSRAIYQmO7Kcz1WWkOzy_nMlQ", http_request_error; e_proxy="AcI1YiaikPHLceCSVl4nrQlbnDoingwlkpsFTzDR5Cgdj0hyyutmw-W081G1VnsJs9RkBGNgut3vui8"; e_fb_binaryversion="AcLRza1Hkbp6QqQbA3-iDhVmPGnt5m3H8qxX6B0Qc8LXwL5M2lpQec19eT2bjIruYEilH2LA_zOe_25a0hkPA5_ZWdzmt9YRuxU"; e_fb_httpversion="AcJwQs6afF093xAHrMHlJ0SEaymq2ILyrKwzzhz6VKbUcsc2rl0OSVEe7J2v"; e_fb_responsebytes="AcJ1b9u_-qfk_Vmb1hhmnN7wOkcbOXfNjxbM8MjUE34R20Wl90nXwBSPZktv"; e_fb_requesttime="AcIrqPubzYTTIGVWji1Vtym1XLIny97MJy7s_jhJw6Lp7e0OxlnK25yUhuJJHMc2rB3n23gqQw"; e_fb_requesthandler="AcJgZLX261esXB1-QJH6tXStL66WS-j6vXmjfEYBPfDeEs3KnztObDDERFKA3XFnvWjrQ4tgBTc"; e_fb_hostheader="AcK5ttVmlSI3LPl2Y_eTNmJXVgvJWqDs1YcI1-h0V9g4XYlKnVAHA-8Vse5cvD79EwxgcRn9tKro31M-"; e_fb_requestsequencenumber="AcKOGpGQAAgY7Vyh6v0xjR3sOgqp3il0IKK9u3yuYD7eQqqoD4nQMxkzSQ"; e_upip="AcIcswPgq5rbwKHorP0XDzvmWleJWJbiNqb1IcagDxE4YRXBaIHgZRtpmkIuCipell5fUXgeWALR94lmqgENbqKCJNswj3wboQ"; e_fb_builduser="AcLAAp8VyTBgD5nYjxRs6cke9ppC6HR_yotw05ZxODVRbseQaGRfag9zbuDj_1hytQY"; e_fb_vipport="AcL9r1k5gi7HMr1uWPm4t712ZjiGb1XxiLHMyIAPTqNhc_niNEjSIHJE9uem"; e_clientaddr="AcIKZdZ04KaLMxzeRihpOEyJ8BXWk9LB30rplyzhUpXvxjeMBJ2Ilua5sGvjDGDoMSsJiE9uQg9onXfCMw"; e_fb_vipaddr="AcLYzYiRPJ1A_CxkUkfyK2-U-EeqkN0TREZeZUUjgG4RkVqErBYw81Qam_xkS3FpVyHAAw"; e_fb_configversion="AcJ5dNHvXKb6ut-E_JL4kFQT-Rg3jJwX6Zy8KHGyC7NhxS-1WI5lZGZ724kniQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8394575843919680"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/04/2024 14:57:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 14:58:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 14:59:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:00:19: Request bot not found: { id: '215725838493727' } 09/04/2024 15:00:24: Request bot not found: { id: '215725838493727' } 09/04/2024 15:00:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:07:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:08:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:09:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:10:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:36:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:37:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:38:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:39:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:58:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 15:59:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:00:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:01:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:02:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:02:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:03:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:03:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:04:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:04:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:05:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:05:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:06:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:07:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:07:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:08:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:08:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:09:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:10:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:36:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:37:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:38:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:39:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:48:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:49:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:50:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 16:51:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:01:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:02:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:03:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:04:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:05:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:06:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:07:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:08:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:29:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:30:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:31:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:32:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:33:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:46:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 17:47:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:02:49: Marker: 0 | ID: 66d8a0c911e0a671f61bc67b | Error: cant_get_message 09/04/2024 18:13:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:14:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:14:56: Error switching inputType 09/04/2024 18:15:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:16:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 09/04/2024 18:20:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:21:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:22:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:23:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:24:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:27:40: Request bot not found: { id: '234064353428134' } 09/04/2024 18:27:46: Request bot not found: { id: '234064353428134' } 09/04/2024 18:30:46: Request bot not found: { id: '234064353428134' } 09/04/2024 18:32:58: Request bot not found: { id: '234064353428134' } 09/04/2024 18:40:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:41:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 18:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:13:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:13:59: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 09/04/2024 19:14:11: Error on send one message facebookId => 6955918561177227 09/04/2024 19:14:11: Response error send one message => { "error": { "message": "An unexpected error has occurred. Please retry your request later.", "type": "OAuthException", "is_transient": true, "code": 2, "fbtrace_id": "AFNazkPa3ymcPOUv7x4wjYj" } } 09/04/2024 19:14:11: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 09/04/2024 19:14:45: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 09/04/2024 19:14:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:15:22: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 09/04/2024 19:15:32: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 09/04/2024 19:15:37: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 09/04/2024 19:15:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:16:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:20:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:21:14: Error on receiveEmail treatment: Error: Request failed with status code 403 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 5000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://api.emailable.com/v1/verify?email=teste@teste.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'api.emailable.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'api.emailable.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 1932049, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /v1/verify?email=teste@teste.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: api.emailable.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v1/verify?email=teste@teste.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, socket: [TLSSocket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [Array], rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 403, statusMessage: 'Forbidden', client: [TLSSocket], _consuming: false, _dumped: false, req: [Circular *1], responseUrl: 'https://api.emailable.com/v1/verify?email=teste@teste.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.emailable.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://api.emailable.com/v1/verify?email=teste@teste.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 403, statusText: 'Forbidden', headers: { date: 'Wed, 04 Sep 2024 19:23:22 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '30', connection: 'close', 'x-permitted-cross-domain-policies': 'none', 'cache-control': 'no-cache', 'x-request-id': 'b3d091fa-6605-4340-8d47-c760da710051', 'x-runtime': '0.007999', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', vary: 'Origin', 'x-bs': 'web8', 'cf-cache-status': 'DYNAMIC', 'expect-ct': 'max-age=86400, enforce', 'referrer-policy': 'same-origin', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block', server: 'cloudflare', 'cf-ray': '8be05a887cd2a537-GRU', 'alt-svc': 'h3=":443"; ma=86400' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 5000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://api.emailable.com/v1/verify?email=teste@teste.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /v1/verify?email=teste@teste.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: api.emailable.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v1/verify?email=teste@teste.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.emailable.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { message: 'Invalid API key.' } } } 09/04/2024 19:21:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:22:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:23:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:24:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:40:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:41:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:45:48: Request bot not found: { id: '133788230054854' } 09/04/2024 19:45:49: Request bot not found: { id: '133788230054854' } 09/04/2024 19:45:51: Request bot not found: { id: '133788230054854' } 09/04/2024 19:45:52: Request bot not found: { id: '133788230054854' } 09/04/2024 19:48:36: Error switching inputType 09/04/2024 19:48:37: Error switching inputType 09/04/2024 19:54:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:55:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:56:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 19:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 20:20:29: Marker: 0 | ID: 66d8c10d11e0a671f61bcaf7 | Error: cant_get_message 09/04/2024 20:26:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 20:27:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 20:28:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 20:29:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 20:54:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 20:55:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 20:56:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 20:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 21:26:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 21:27:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 21:28:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 21:29:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 22:03:09: Error switching inputType 09/04/2024 22:09:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 22:10:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 22:11:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 22:12:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:09:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:10:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:11:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:12:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:46:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:52:16: Error switching inputType 09/04/2024 23:58:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/04/2024 23:59:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:00:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:01:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:04:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:05:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:06:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:07:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:46:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:46:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:47:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:56:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:57:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:58:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:58:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:59:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 00:59:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:00:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:00:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:01:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:04:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:05:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:06:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:07:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:44:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:46:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 01:47:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:18:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:19:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:20:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:21:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:22:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:40:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:41:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 03:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 04:40:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 04:41:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 04:42:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 04:43:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 10:59:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 11:00:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 11:01:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 11:02:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 11:59:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:00:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:01:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:02:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:02:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:03:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:04:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:05:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:06:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:19:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:20:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:21:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:22:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:36:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:37:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:38:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:39:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 12:40:51: Error on send one message facebookId => 8110020312399901 09/05/2024 12:40:51: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A04tVekfq0sI0TIPD3GPmn1" } } 09/05/2024 12:40:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8110020312399901"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2146799, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AMwndDeoF3AvWhdPRdKCvKc', 'x-fb-trace-id': 'CLocp51Z5Du', 'x-fb-rev': '1016235849', 'x-fb-debug': 'APM3Zbma9UX3lMOeiISz3fzwZ+s1Q24k03K6mrZm/vI7dFFYc6BfuNJ+bzJdWvRNHKvqhQ5G4qEYMt4Eqa+G8Q==', 'x-fb-server-load': '35', date: 'Thu, 05 Sep 2024 12:43:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcL0OgYl9A1XsMDr5bnr98bniByyKmQSKfe9_vO9VSULLXmbAanYagHsOdjPq1DDylZmSjTbXNbM-jLP0eNO"; e_fb_binaryversion="AcID2vG0-jJX_wESK7LSjaiK7jaJQqHnj_kJgiZL_0VE4YDv6ji1eUNWXt6LruKRf2KvT_kDM8JLBVCsMdsAQSaeSz4YA_SqOnM"; e_fb_httpversion="AcLlU83V8m3tg6fFnFH460oZWbcw4B6C4iCExEqHA79NUwFmFgqusxOg5Bxz"; e_fb_responsebytes="AcKtFGw2WdaVqdWXo8Ev-l89eGTIauoEsygEp89nG1hFWBBcJAgQ-sr_zeBE"; e_fb_requesttime="AcK0fTvE9Q-xg-GytF2XQB91B3-pelSz2xiquO7w0C-yLoDw4dilJAMLpERZ0tN4zmfAHNUMSw"; e_fb_requesthandler="AcLnvtbWcyrnM6YX-D7YOm5LjNbiB2yrXRCc6qYM7CSlbKRUGoqOkowlTpUpYJAaHLxEb96M2lA"; e_fb_hostheader="AcKudTfA03S9nmtWxzMwqiHyRo1J28H7m5C0KJ4tpIY6ZlJ5jnmOAuNZwgg5bk8qAC1INcANcJkeWupd"; e_fb_requestsequencenumber="AcLxi0BqxKUR3UQQmI6tkiTHl_wJA1-KyYcTfuitlg7l2dvTJV8NRTHjCLkR"; e_upip="AcK76GpSYso9uIz71yQ6wb51ZYyUiIXRprmRbxteHchixtws8vlcifa1pu4iyS0915LSJg5eAR6TUDLfIBlt--SuqdhNLGmENwfNvOo"; e_fb_builduser="AcKPcCo5bLjxtUyTwnFypOZRvoWGZv4Lwa1caHpXhSlObeu1FXAVpbpbhijNptTowso"; e_fb_vipport="AcJf2yCq2I8gO8WwU0OPHjGu9UkRBwt50s_IqLSm_jOE6N2OM7jhja3BnP2-"; e_clientaddr="AcLH-kzP80Itz03Y8g_2ox3es11EqcQ813KbuG_nz_ET6LGz1KiTwtr6mkdV4NXh-nmSl5TqXBYBoO7CgUvKsX-kHZp8JdKvr4s0BadLeIzxQr_fvA"; e_fb_vipaddr="AcJeLTEZiWeFlPTmjw942IFZB1jCjLNEeGin4su9cdCD3Hyf9IvSVdG7kf-WBtjR_PHDNh7EVCdJ_6V5h9wivr6aMGHf7Uimzw"; e_fb_configversion="AcJiG2_FG0Z2iD3HFJy-UWTKnqpAd5oR9Jlc0V2x6ADdY-235DiYaPQIzSkVmg", http_request_error; e_proxy="AcLATv05m9yDmyXhRk0Bm_GGVNixjMDlpwUeTaHHIISGveAjj6HRPIFrCAE97Ct7YCK8wSL2PO44-Pg"; e_fb_binaryversion="AcJn-TwNG3FiFpVRj0UzimOcHYezmcyVHVwSt6v4rKC7sKW1YjWdERbVQeFAJk6-Le5UVlsLTppEXY8XzMYNg-xXD6pwA3D__UU"; e_fb_httpversion="AcL8AHO6Zv30NslXqMvrp8EZmQrJp2J-P7bVFWi_ZezSxWFdGMqloo-KoD0a"; e_fb_responsebytes="AcL6JcS1R_piEDxVkEAWMs2c9xggSMZucw_cYnO9UX5-nHId6zfvrSOqQydb"; e_fb_requesttime="AcJwZ0NgTdsgDLFoubT214w8GvIL55IO0Uexnrlzt2JAEX_BKzkq1-3MrqpXYQ1PwKToFpbdGQ"; e_fb_requesthandler="AcJbt1cfYJJboGKr_D2x_angQiRyeNHjF-Nz0Ml5v9aadlJliqXYllcFxbilCWClNMWJI5-MaVQ"; e_fb_hostheader="AcKOsIqpGqXulHO2g80R-3lVllInZFnPzLrc3gbomtCCyw-A5rNguUHMk1uvqMyLvEWSGkmaQVolX6Y1"; e_fb_requestsequencenumber="AcK_-7BenYQ0fbPAWuppsoHxqOeD9RVNbEyyxEKrxEADRw0YYjZHDaZGDQ"; e_upip="AcLyGNpDPzLTN9O40IfjUBwZMX-WN1eo4kbPgbaLs-o1gYmcxbI1B3iUaiL60qqxDVjaYC22vKOBHpik8nGOrQsstN8pphicMw"; e_fb_builduser="AcLrsyryplAmuAjGy2QFbZILDMzFdPU1aPJREhmFua1Y3ZMaVTCe__36QsLfZOo3T2A"; e_fb_vipport="AcKiNoL4YIwkiZ1EncAcBj_4ADeYCEhpjYgI12zm61eQqpeBz_1YwxFWdCoq"; e_clientaddr="AcIx1EMPhUWcB9i0vgdd-NRt3hH5h7BknDoRkMqjOE1rMMraG6lDJszrLaB80EdZunq80U6Ykm04kXXRig"; e_fb_vipaddr="AcIXW5uDN7pm0gCfp5jDpPw0cQ17bzdQOJZuRXrXJfcZ9b5exDir1MADbSj-gAvIFP32ANJGKQ"; e_fb_configversion="AcJIEtvYz9X4jbxkaJadNOkrKtJZUw84caV5jgbLROwfaiUIF3XAAlL5nvrOLA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=165, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8110020312399901"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/05/2024 12:40:51: Error on send one message facebookId => 8110020312399901 09/05/2024 12:40:51: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AMrmDy_Dgul4FVmw4LRtFn5" } } 09/05/2024 12:40:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8110020312399901"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2147047, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AENu9wcAmTuKoJ65hF3YttT', 'x-fb-trace-id': 'Dn11wrgC4Vz', 'x-fb-rev': '1016237976', 'x-fb-debug': '+gnFkQtJjR5O6kT409Cyymg3VOcJ3jUIuh+NEyrXbUDTVSs8ENDcmRXxoJqf1xjSmOQqHZWpbY80Eld4+JJO2w==', 'x-fb-server-load': '44', date: 'Thu, 05 Sep 2024 12:43:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcK7O_7y3YMSjBy_VTJE7Uhg-cCgzvQQSzv54MVP6IEE7d0vygWby6QyJJ7wg9cTi6VmBQWMXoZ1FDYMXy0U"; e_fb_binaryversion="AcK4kv61eJQDZb4vUxet3NKz15YL8QbvRjpt6jRwfHxi3nXIUx3l3MMp8MJP-v2bEfeNnFy7kB1oLZN74yqo92Xcw5Yzt0HcX1s"; e_fb_httpversion="AcJd0gmpa9JuxFn09EL18BH5-4ngw36u-nhmasJIB9eYo-hiTYcl07ZIQRxG"; e_fb_responsebytes="AcKYOQEqGSvmZ3qqJx8OWoWK8vthfSecO6dG5Ya1ai1Tv6n9F3V8vpFz6dRY"; e_fb_requesttime="AcISC0lWmmCft8KljQ87ZjJRagY5SmjEYSmuQmtIThY4AFlTAFiUL1pBcBhW2toXSaZ_leb2iA"; e_fb_requesthandler="AcIEBPaAUG6RJTnJ5TuiIPofYnYXIfqzFWtda8D4CrZWr21OGXC67uBmAAFp1H0gwkcGJuohnaY"; e_fb_hostheader="AcJtSetCC7Y-30HC3aU6Bd3J4UGEMuLgOdDyarapEpqnizSYx7b6WoEOIBFRBl242y7st2sOYRxL0OL1"; e_fb_requestsequencenumber="AcIMeaXrQtaFF1Hlp-dXWxGxfZDSlsh1xz6rc7oF7R4HHJO-ZjjlXCFvk_wF"; e_upip="AcL7OCecVmeKWS_6WKeGAr8h2d1d-RkSWJJzwYPrgO-CwccPMLEcUz2w1V2w8SfhEDugNUcg6_5OuI4p6g1Xvp1ZBKEUyvsUxVyI_8M"; e_fb_builduser="AcL7eUwEgsRSAH-3KZ4hXZkyPmCv74PdMmR1aBgiMCIKI5lCUs-b6ymn-1XTPYoZ9wY"; e_fb_vipport="AcLm0UvgJGvuL3LVnhlnKIZdUH0kCgJ2MWpMcwbVpuyoZXRcLvi-iIaegh8y"; e_clientaddr="AcI7OMBIYaNJQxX9DLtK7VWQwC4XNALTUAsm8lFPjT7PggrMyB4fO49W2u-4ElPWg6ESfxz2Zzi2D6_NnPU1ESWeZHcmcDa1T2MJWdlVtbx8Zrha"; e_fb_vipaddr="AcIGyTOAS_MSBuk5UmoylHIEjQJx95UN2yMozVLf859aUfeW9ubxmbUKWkL33-Z-8TXBw-IgtsSbak8F--vj3jlMngF1I-hWOQ"; e_fb_configversion="AcK4lix_QKwdl-aMivHqhx0uHtI4PHKJtCRMsJSBJbogYsiGkJs5Vp4hsl0l_A", http_request_error; e_proxy="AcKMWesFOYN4U8OyGZupqDTp9031GS7gcA9-uu6c96v8F67AI56CTwnnoDIz6M63DWX0mHLb_h6hCr8"; e_fb_binaryversion="AcJfBPCenOxKF0483330BOdfW8rZKG1XIO3XvGyxjnDnuqzxwK762QJGkxySi1ikrfzTtj7ceDEmdnVJbvC3CHBkGfqImNjTKPs"; e_fb_httpversion="AcI9qY7tVBgLcppSLk-VZ7EVGS6fvZ2Vutc56U_fp94EuE_39a4s_N1tD7Vu"; e_fb_responsebytes="AcJRrgAWUbIRI4S88d5XJF6mdunb8XOysSadeABCDczN8KrTchcLUGIwEfcC"; e_fb_requesttime="AcJ2USzXYXvtcnzwlfVrgT6Qp4l7OZtmwoyjXYPauXs6Vsmn519ML2buPMxrLBVc_LuQDegoFw"; e_fb_requesthandler="AcJy1iN_rwdYfMF4ElqMW5__fKh4mri5Yoa69HWmViaDxzRDx3daWNRFD9oMKuuUBSeB1NZU3HU"; e_fb_hostheader="AcJlFWwyhmaQYttdUi7JSuRt-GQ-kMJxV1D3_U6EPqNWKImVl5vHviENXARJTd2hTJ0DDdkQwc3f3uWj"; e_fb_requestsequencenumber="AcIT9o674BLxe6n1AARKFqyut3hImFZg_N2dcjsYK-LKgyE4A3UUfx1J0w"; e_upip="AcJLFH3RFJOYSH-TNUWdSRMeJ5z4DKBWSPmbLM3wafkv9GaB4LvLFg5eAK_GcFE7Avu4183L3IO96akwuJ8o5tzIoTo2FEti-g"; e_fb_builduser="AcJa5VQZT5Dc6TNTQL6zM6CWaGKpYEXzO9XDe5Vic8gvN1uWPQQDAg7CHQ1Eo5WY7vc"; e_fb_vipport="AcLh4oIfB5YpGApwHzqhkp36SVfcJeQcyMjU9MUeUqrBkgR2eO9VjiFX48Lr"; e_clientaddr="AcKt44cHYubY6kvjSzULj6wQbws0Y2WNEzIpK1cR-GoZfGIUdSEzgtdX2xAy5tNGpaN1aScy852Mj8XwfA"; e_fb_vipaddr="AcJqUAmPSjlfWw2oK_92i3Ir9y1eALh1EmbAVhZs6K-rAFm6fY4vdfz400jMA-OFlIM4gs17yQ"; e_fb_configversion="AcJZKrbFTFRIFEh_9bWoeJj-P27Wi8E1q_qHixacRXLKWdS2se3uvUXw7gXV_w"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=171, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8110020312399901"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/05/2024 13:02:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:03:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:04:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:05:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:06:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:36:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:37:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:38:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:39:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 13:40:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8110020312399901"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2160067, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AlTbiOAusEZQWzUOgdID610', 'x-fb-trace-id': 'Cl0nMNuUiIf', 'x-fb-rev': '1016235849', 'x-fb-debug': '8P8AfgaxD362UxAF8AElhfyZk5T9siw4O9kuLFWC4RIeqvYUZZMOB+ZlfYj5+xP0EToDuVdQ24hX8p4SzGAf1w==', 'x-fb-server-load': '33', date: 'Thu, 05 Sep 2024 13:43:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI6yOu74DxbLr634M1D7-j8uCY-V7J-4Ww7NJWwhtMiFyB3faxQrWItsiu13DMsqU0Vjy1ZUD8DsEE5r1E"; e_fb_binaryversion="AcIcqaoYBXGwWIToldxc2R7K9c1C6tvhsNFIzHT05YyDqZqYdeuO8sWiH7TdPC8j5lYNVqX_EIzPpj2CZ0oCkakTKISpt7meTxk"; e_fb_httpversion="AcKGhajPJIaH8Xg3P8KvmTOZKzpf85QfJNNtTpRg9_cMEiig3PAu0qeK1Tmf"; e_fb_responsebytes="AcIV0oHkX0JT_gTN5P52MrhMiHrsJw-u_vdEPqV6tI98EfznngdeDPXDvhb-"; e_fb_requesttime="AcLeNwQMVqYEHQgdD7rtj8_Q68b9E2MxnGFrtlWt17EuNvNAwQP0egJOfKv274ze28o-6A8c9g"; e_fb_requesthandler="AcKD7tNr3mUELqSBTa2CLJquIdqRkm9aZupXugx8WjV1_ml6j7cJnCJrhUrLd_7e3efmTsGBE78"; e_fb_hostheader="AcJLfel-bpqJ6YnFWR-rk0UyI0zyYUX4irhwyGyizHneL3anvuCB-9h5LLYdIXIUiaPegyVM7nICyxMA"; e_fb_requestsequencenumber="AcLY45c7owh0lTMJcvFnFaTV5VxA2Rpy4Gu67s3izsRexJ9KoNunqgctwErN"; e_upip="AcLF8DxZeZI-qeiDla2qnqT18fAxctJI3mZ6ZCow1xyzND7r4DO6qIgqqAm7moXd8RxiFG_T1_M3ZAxiiULfnLe1KsyJWBNii-TxNtU"; e_fb_builduser="AcJ2zOqWx9IDkW1n0EVTDVnqRXEIg7o6PZTg8wHf04c75AI6DhIAAsaWpXOm2WFzWV0"; e_fb_vipport="AcIsd3dZoUiqHy0yQ2HsgQofh2KH1WpxpeXM8Ka4hUvrP9lX0za_eXbik7BY"; e_clientaddr="AcI4lToTYfLzV4EWXjcpiZmHCSLtk7FM9gYpVGBTfNLRO56D5gC-HJ4XBRJdq_3QO7PP8is7ZZGk_3E5t3_HEKITOWrK557KfOBJlBM26Rbnn60kOA"; e_fb_vipaddr="AcIYIL2S6Z1yzPJ3RDHwlH9ptguvovnnhqo2P8a8idIj2V-Dgn435TdcP9qa2C8XIPzXAhxVutMYltAur6qF9jGXeSEPfLBX3w"; e_fb_configversion="AcIFkrxsD4MB-EyoUZxjAqY3ZWpE6KinwR3bwAmuBXYuim_3-FttCNqBgD7ZOQ", http_request_error; e_proxy="AcIBNh1dXzyRk8eIYYV3iSvqjgcGrF9XTYjQyF9ggz3CdMMp7blA5whsAaoKlcP5t4Sd6gSL2atOEko"; e_fb_binaryversion="AcKn1Mp_71Ob9hVXjIoCm_88-nrENBqDogQu0mfaHncJP8MjfE_YPfqKdnvbPpCHjZiD636O0Jjhwr7O_W4bxVEptieQlIeirvk"; e_fb_httpversion="AcLgGYRoVjKg_S-igd0JUuQREbEd_i_0Z7oJQy09sxI4iuZp-hjiGfs6FYLs"; e_fb_responsebytes="AcK3lznZolZT6PEjEY_dyKlpkXA_C-gOnA_F-xlU9OOOsS1-vY2TWqC6dj71"; e_fb_requesttime="AcJgC-Cqx4-TfQNWr8ccn2BTDWGVj2tvgtJswqSAbj7AJbzYZxnWIGdKXkF9OFAqgKYi6tN-cg"; e_fb_requesthandler="AcIC3SfFifrohA7KCrP5sATkJonAOZM2diWgSsNrAKDUvOJiCGmsA6OE6T5fmDB19tkmqy3AdUs"; e_fb_hostheader="AcKPThu_nbYidx2c8iSyigSvqgP83pPkOwvtYPadm9g8SOMRyOUw-Nt3ebXehVUBgXhOgibo0C22sLWc"; e_fb_requestsequencenumber="AcLUiOXGv2U-Wk1UwlF_gKiNG_w8U4WatKnRUUCJOW8zGBwpYWifQwRkFQ"; e_upip="AcJ3QUKCx05x36Br2pRmLMxklcfYADCNgBLzDXlQrVlNhjJ0ynC2cbex-7V2LNKerF1dj2NRWiJ1_jwmrJ3BRvBOv96XmONgsw"; e_fb_builduser="AcL48CXrb1uiPIT1SNZ6IwazSaovUm7oNbJmwBVw9MvLRTMznIZYeugOBSXCmw74hmY"; e_fb_vipport="AcJwwBeb8dVJxBTBwxQdhGUM0O6qm_DifDdBGKPaNaL1nnPguExgXk3O5haX"; e_clientaddr="AcKig0CHkFxkvh0-nzaTY0TU1WEZ-wSIj6bAOXfnfkBTuaHjih2PMoSZxKLgGMJBsrdb_kcOtb0xQPtQXQ"; e_fb_vipaddr="AcK8LN3VybkcU4LiEkLF073UrEiH4wPYAdCjlUT9o62a16ptp0_xgRh2Z9mSBsrIGrLzPg"; e_fb_configversion="AcJBMXibrcpk92dyg4JD2awltKGObmBzkdyg2XuWbeo4MCpi5eyj1fmJcpyUwg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=151, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8110020312399901"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/05/2024 13:40:53: Error on send one message facebookId => 8110020312399901 09/05/2024 13:40:53: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A4mpIC-EePh-GM66PmNHUXE" } } 09/05/2024 13:40:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8110020312399901"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2160253, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ag8S1ssUplBuyjA1rziDB-7', 'x-fb-trace-id': 'FtoGqfaW5kf', 'x-fb-rev': '1016235849', 'x-fb-debug': '+w6+SYgEs2VBk8qoeHqeuPyN17yXix29SB24JnRQ2iIYaslIoT7pgsxdpc/pqfIdQky1ihT3eyHDHoWmChGJwA==', 'x-fb-server-load': '23', date: 'Thu, 05 Sep 2024 13:43:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJG6cgdrtWLl-zECTxCfKwQGpmw0ZqYTroBoLdmjn0fZC4p-U5hfUnrF3vXbQ-Rze6rG6Rvbt7rrpA_CXcb"; e_fb_binaryversion="AcLthAzoncaVKA1JLwuoin8rgzuN8tqvm0DAJWuLQc2QKjwBbPjer_MObyFTNjI3Rc4RgKqfi_PZotovImY5KMrP1nlKheVBZBw"; e_fb_httpversion="AcJN3p9yh5rdS9m706E_bnW4ojfNnBd2Ls9WNFooL20ayTq5UIB4JfJOgFLS"; e_fb_responsebytes="AcJN8Qt1RwId4dLj-YgIbbp6_Rh-xi6e2en8Zihrsm_JuYB3pQYpRiRnczIa"; e_fb_requesttime="AcKxa_zLJF7TmUyXByW2u1x6t26Buc-tJ7eveI04E3XBegX0ob3k55ssJgYzgbfFZcZpi4qPPQ"; e_fb_requesthandler="AcLCWzld4HFc_vXEViRDr4lkAuTfWY2kN4ew9Pot12dP5yXRMMDh37MpSRkqgo5rHihDx1vmLX4"; e_fb_hostheader="AcK_7FcA9sAV2kSbWqwmWMpgBKQDitFX29gzXMslzCbHDaqJ-mg-jkn3X_Kzug0mfFP-T1i4dUb0gioU"; e_fb_requestsequencenumber="AcLrLpuYfJxQx_HcphRKaxOgLVNvoJFGRjHdZBy46k5xdkhAwOls-3uxQvxquA"; e_upip="AcLXYY89gjJ954ykWSTZE4RIyQu2IqK54yZn8XOcALRs2WEHrtktq30bk9_I-zzMZ0JrpJxcO8tkcQhH6cTtZmIubt6enPQal3JVRkA"; e_fb_builduser="AcKu4HA894W4NYITTF5dFRjBqz-eeofKm_RoqVRW6goFnbp5asv7mUlbyjnsYElnWTw"; e_fb_vipport="AcKkDbCc2f5rGHzWDoS_Xy40mC57NNz5CDjqwPMQ7kFxCN9QTk_u0ALmAFLY"; e_clientaddr="AcIbKfU150PFEpGzh49cXgZs8f4-UTuMDibWtJchN7TFc3AIN7MwUvJBpETET2tdrJTqFVXWctOnUKpU7ng1YlZshMT2szwPJY3WXc8bjxzdAtnsPQ"; e_fb_vipaddr="AcKygzO8kUVnqu5D2TSAfvWyWZ4GNPFlNO4J2iK8ufMtpVbLyeS8f7d_h1D1yKv1iMNsMHcQJ7lGpNTv5CvMUscUG-jH_1YPdA"; e_fb_configversion="AcKnlktv1x2_zzKy3Q4EAs6DmpLM6EcO2BYgZkZqb6S4cSx1LB8mCnwnZCdLXg", http_request_error; e_proxy="AcKoNh4o-FtvI84UjJUDFEEAQOIFwD0m3lLB48DtJB7je6rMcjoPfBQC9sMkQQkv_rhd8y96Fv0aP1s"; e_fb_binaryversion="AcIU3bOMCGvob6u5vYaOvr8KeWm8PPr63R_s0sZ-YEfgb3spDCDyZZ3GjHV8dd3MPPaftcQ8ssTds-3YZAlmogOmSfCZLtc60PE"; e_fb_httpversion="AcIMcQs992STG4d8Mks8B10Ar0GRdIuiKndSSmEGPUmVVyhfyEESxDWLg2CX"; e_fb_responsebytes="AcL6u2cGkvsYgMXxiHBXj1t35SxsaOMQzihwQTc_qs7chBMT8eGfokzL0gGt"; e_fb_requesttime="AcKd3iT5f-xOomWTiKEaZNTaUR50picfcnWlhEJtrccadxhqi7GRzUjYunc-Xu1WJLspgvkpsg"; e_fb_requesthandler="AcIdDzBlL86t_fqF1WTWa_ju_p5ZI_Atl-fKnQbMMs38Bau4UTpnSBHKovzxgz7h6oLqDX0KLwY"; e_fb_hostheader="AcKEe3spHWVtHZv8dFAtwSpgah2pnB-wY3YhKFq2BN7CZHkaw8jDujEYp2UXfLmoVz0Ydd31b-Eg9tFB"; e_fb_requestsequencenumber="AcLxI6boURt3ta25oMYzt_ThtMEJQ91ws8WqAUaN60qF4hpwF01n2kzo6g"; e_upip="AcJJRfNDOoN0MHJEPWFPWrW_Zfff6wFYHIsWSJ206Y0A5R7P9M9jDv4iT1DwXaAnWAGBM3jFNtAKVLWoHxHJk9F8Iie2zUj7gw"; e_fb_builduser="AcJ2YNNiRAGsQO0BwTFdKurWXmA37n03CtmmY4c8-Z3sMSWJSMPHUqHjcbhO1bKlKHs"; e_fb_vipport="AcLSvuyCgmJ6qzPNFfC3Uhqa5-jfAFXJSIgz7sgppv-RV8C-MOkVe1Yq2gvp"; e_clientaddr="AcKJe70xkWOYNSeeDVE_CmmFTPbyx8QbW-J2Cmvoo0hlF5dt5V5FBfyjYI0_RVarfKs70VCloVPq0aRlkA"; e_fb_vipaddr="AcKfIGTco6_49DedKKjhb_dDfXezgFGY7GwQ1Sc4QvhjZuKMcoJa__61RKjvBLlqllq37g"; e_fb_configversion="AcL2s71-y1_oWS_CbmW_JbTxO8xnTtXH3z2AWbAbAKP0FjUab3uGuNonMRKzPQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=4, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=625, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8110020312399901"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/05/2024 15:38:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 15:39:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 15:40:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 15:41:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 16:30:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 16:31:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 16:32:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 16:33:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 16:38:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 16:39:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 16:40:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 16:41:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 17:26:43: Error switching inputType 09/05/2024 17:30:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 17:31:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 17:32:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 17:32:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 17:33:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 17:33:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 17:34:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 17:35:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 18:32:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 18:33:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 18:34:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 18:35:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:14:03: Marker: 0 | ID: 66da02fb11e0a671f61bd241 | Error: cant_get_message 09/05/2024 19:15:16: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2223764, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 05 Sep 2024 19:17:25 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/05/2024 19:15:18: Error on send one message facebookId => 8902714409742052 09/05/2024 19:15:18: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7be3ae70-6bbb-11ef-af73-55f1cfef46f4__1725563845335.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AzNrqquAwc4qU5bMAAyTmzO" } } 09/05/2024 19:21:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:22:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:23:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:24:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:25:53: Error on send one message facebookId => 8902714409742052 09/05/2024 19:25:53: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/7be3ae70-6bbb-11ef-af73-55f1cfef46f4__1725563845335.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AJoLESXutTy8tXV28WWe4Nc" } } 09/05/2024 19:40:52: Marker: 0 | ID: 66da094411e0a671f61bd284 | Error: cant_get_message 09/05/2024 19:46:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:47:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:48:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:49:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 19:50:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:21:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:22:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:23:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:24:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:46:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:46:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:47:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:47:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:48:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:48:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:49:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 20:50:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 21:11:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 21:12:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 21:13:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 21:14:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 21:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 21:46:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 21:47:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 21:48:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 22:08:22: Error switching inputType 09/05/2024 22:08:23: Error switching inputType 09/05/2024 22:11:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 22:12:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 22:13:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 22:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 22:14:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 22:15:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 22:16:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 22:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:16:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:47:18: Error on controller payload Input Treatment=> type not found 09/05/2024 23:47:18: Marker: 0 | ID: 66da430611e0a671f61bd519 | Error: cant_get_message 09/05/2024 23:53:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:54:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:55:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:56:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/05/2024 23:57:51: Error on send one message facebookId => 8297485280302993 09/05/2024 23:57:51: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AmCU0fT4BtrUJEowxbkwnp9" } } 09/05/2024 23:57:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8297485280302993"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2289254, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARzoDqaVu9y_1nxa3qBkvLD', 'x-fb-trace-id': 'Ge8X5aBpXPY', 'x-fb-rev': '1016255605', 'x-fb-debug': 'Afd844hY+wEPUBxf+qkKBAZdptivh1lB8ft/gzfL+Lg+nIh39nvVc1+fRJ4v11nGMbVIJD3fsHUomdVR1vxgEQ==', 'x-fb-server-load': '37', date: 'Fri, 06 Sep 2024 00:00:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIbxmnNHponxdMLz8E5OjzH47g5OYc_xXOGly6Y2nJPFipRsDBcWqxcct68Ndj0P9WsTQ0fGX14cO_atMA"; e_fb_binaryversion="AcLRVeWZ8uKHBmQ6vCY2RiGxRLVhLXtQO9wzeFKKqKma5FJDkOLpL5p92bXYjz79PCBuGYPHI2WXjCczIz9AVJ-l6r4htpDP_Q0"; e_fb_httpversion="AcLlCXarGmVomFWPxhned1z1ezPlX1W9Uo2Oi6yM6DyMAhR2IXSLsEWHOib8"; e_fb_responsebytes="AcL8lc3abeQAmq-cAoar226j1FRx8-g4XSjUj2Q7cwTr2DBpTIeDNuxsNpL5"; e_fb_requesttime="AcJJB2ju0H_HOiZWPZ65wZsaDlqXhpULMkXisvw8oO1tIvH-wxPsLuChg0HJJO93K1ruJmDwpg"; e_fb_requesthandler="AcKirjx18yE7v8JAvcYMQ41VCKUscdB9l2pAxC7H6KzzWuQAwLrnm0Njuwhu0gQbHvrpg1yuvWg"; e_fb_hostheader="AcIzwk5gJS-28w3rPlKINkQW8qpRQ3xcoOzp19IJTOtMwn3VOfAm4e4ZlBahfROxl4cGIdsbyuvCbZSN"; e_fb_requestsequencenumber="AcLfPRLsJFN_CNKF9jH-TBag_xTIocLd8h_qmu73TTOkYuxsRT9qzXag4moKWg"; e_upip="AcLFR7rHLGwoYz1qX_kTvgvHmHwji9x0QgViuD5t0C5oxIk9xOH3N6gyD1h26VVSfCK4w6l3yWnKcNdhSjhEGfNUGc7W1aqaABeNCGM"; e_fb_builduser="AcLSG2qkX_idYRoCwQmkP_uo4oKt7N3TDvt8IhLfjVtgxbrcXsy12FX_y5x1njLlfnk"; e_fb_vipport="AcLQqgs742-GJYv1G5iUbaKD8bta3_Zd1kJeT2jBuaZPtm-VbdDg6dpj0geN"; e_clientaddr="AcJZnKdsF-1cpS6ZNXoI7wj1CvzyhtGBoRRmLrsK-hbV0oEIvRuT9in8_bgOCEdmIgX6xV32vqKmFaDO9JY9lfR8irgpbI0y8m3S4IPNpx4FBO8fTg"; e_fb_vipaddr="AcKCGAiPB0RYb9RGgA3-SqMBm9EZ6RQkT5JeCewYArjEcMuxk5sspOaeL-owzGaLTFtZ9hh4szsdSU57z0YYVE3Xcy5-UE7auA"; e_fb_configversion="AcKWV7gF0urMiuCzVNv9ZJH68xjzfjr3Jot0TSJe-wP8Io1O-Ub3VJR1-AURNQ", http_request_error; e_proxy="AcKMXCHlfznclj_er4AzpxH2AtLQ2ILH4-SIi9RjKWED_TRm3j6Sx5Gn2-OVJ0eF4eC7ttX_XZS-ywM"; e_fb_binaryversion="AcIoycGdERs7nAHuAMJHJvsgrmJYGVDv8oxM3QYy7cJiYdeyb1DKRPmPbZxKoOGWdTkqH6WYiGdfc6jxFoT4wZj48uTaPDU35iQ"; e_fb_httpversion="AcKp7fY-JHmE2bKyyxqU0CWcxqWyH-iAExXMHDnAgtMIJXNL06LbxutIxstY"; e_fb_responsebytes="AcK-XhbxPsDMw862uyzslCpXSn1C7Z299LUTTOViOf9a3QWPtxcXhj_XQgCJ"; e_fb_requesttime="AcLWpQhfpr_UwDy6_G4ld_bIo7_KQpy-6EpAkVASw35Fxb5sX2q4qfORJ8mkitLkFHxRqDli9w"; e_fb_requesthandler="AcJuiRCbY2cKV_OM4gAKZDrXII6I4XmLnMikT8wLJyLzWQDIVKWiE9iWuUJ6fbPkgxWaB-zWXls"; e_fb_hostheader="AcL8CoiamBsSqMUOmQBNMa4Zpr4YWL68Dgcgf30iXro7BUsf1w397U7ZWc3qY79gmJa4dPHznf-y9OKH"; e_fb_requestsequencenumber="AcLcnoWfpFUCDTdtMe2IWi_vcJYjBLHeqF0dhBusM5fNjp6Wk646AZSVZg"; e_upip="AcI4FhvjE_07OlnL56QoUBvOOPyTB9YvqeyxtsSCtstOQnFojtYEJc1XioP4TJ-Pxo2AQQ7Q3Ng3YjDZvKa9g47jIq1XBjAf0g"; e_fb_builduser="AcKcXWPmQNs0YIwewC2DZCrHvugXBxp-itMy0WU5QZKYuWyElvX558L5mmWHyTp9Iww"; e_fb_vipport="AcLlrdZOlHBtoEXr-anU3uJOf8oagN-dCzW2g6npR2bccZuYFOIdjiKF-Wd5"; e_clientaddr="AcLtFky1KHvaCTVivSKv6muXRfQU1e01AD8gLDVSHYGrfH_lu8FtcS4FiLE-VRSkFk3wZ-yRTlCJFTdVmg"; e_fb_vipaddr="AcJRLeZ0IV4k45RfDQ5EqUSNHJg_LeEnBbVn6h1Dp3ZXYbLm5up_KaZizMFT04NmjXMnqQ"; e_fb_configversion="AcIIQV92nwLI769ugLgdPsIAi3zwfvteSqy32074NpFQXpkXUWaQk5uLZnXHLQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8297485280302993"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/06/2024 00:53:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 00:54:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 00:55:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 00:56:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 00:57:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8297485280302993"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2299631, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Abwm8FAMD30TgVO1RrCjNvT', 'x-fb-trace-id': 'BYigenAnOx2', 'x-fb-rev': '1016260354', 'x-fb-debug': '3VgX3Vi3aBV0Z6tL9Fe59WC+sJGO0VDfSp0uyHE+6A8/RZKMPJ32xb0M0we8tPjNBObXPmosX5oq3qZoH3OMug==', 'x-fb-server-load': '22', date: 'Fri, 06 Sep 2024 01:00:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcImf16Lk9fRSHHEYfHiMSZWy0GvXbHqCwDoevpSR7-s9hUb7moEpZ8rp37GmmLPyoT6egvPGJWxcj75HEuA"; e_fb_binaryversion="AcJ_fCYxuvsGZ65nUxo6ggoL6nuKOvfKBr4tkExgKiYyuWz50TY_98RJXoFR8zkoElyZ9urZOD5S9waEA5AGSYVE2DBSbgwSd9Q"; e_fb_httpversion="AcIWhH6P98_4Aibm6aYYUAanJU4XfyPMewee8AzlFmwRDgDtu-kF8N_RbJrK"; e_fb_responsebytes="AcIIpH1yb67M9a1aslozFdF6ZeoYFx9ZIvKzF0XhDuYP5kGN84cSQpOkAVg8"; e_fb_requesttime="AcLA605sOzADYyFQgxklZc-Y-bU_JLLgu1Pg4DknET5xpv_AbdvN1xXULW4E9Crpr0BVnR9jWA"; e_fb_requesthandler="AcLhzWXEXMjaxM3zL6rlLGmPu-hd38EoMGi_BhIYmZUmVvxi3guk9-ksw2WW6c0eikljrXADRGs"; e_fb_hostheader="AcJnaY7sw8-SEEnXRy1EcbDUqpaDdI2QhTIqVRvGtuRnWfPWubexHRCNf3Rf6CdASTL6-8HAXatuPfMC"; e_fb_requestsequencenumber="AcKBVrSCAORII_ddSU3SwldVpDAgVJWj21feD6J3RYj5nL_M3gy5ttuXRYQ"; e_upip="AcIaxTQpfbVRfEQuvJ34zTFQaxfcMUN9JoYaj477XKTQMlVlZSvsi_cNYTbl1GKSm266NOrhIhVCVaJtlsbSgsDQcwlVmGy2MaA4O3c"; e_fb_builduser="AcJvviKLwTMzmQsi4WN70YtaOKjS9aAhAatbe_Tp-QAF-4cIGZTbc9bIDmLZUWgr5jw"; e_fb_vipport="AcIiJHo2g8-x5pjBw4YHrG9Wz3e0tYAt5ie9UIWXQSfagbn41MPR5X4JPl-u"; e_clientaddr="AcLd5B3rQFqqwKG4BOaOFii_yisHdNjJz4LLx3DgF2vkpCBJbbbJj8ruu_UUEdn2eMPIQaFWDmtD42BguJ4C1tIQPnVibvaVU2vYM7-NueCCl6vM"; e_fb_vipaddr="AcLViClKEj9kxJAgsCr6CQCCHAqsIAMLvHD-C2z7th3vjdNEPOIt4b-AlkcXgnJzNEHPJHyX4fijjUExaORynk4FYXWJewp8CA"; e_fb_configversion="AcIjrxh_DYFFwoZju3r1MVZsddBOxNNeHoGh2LIxWs9OQbHfISV9TXsmcVp3aQ", http_request_error; e_proxy="AcJBveRlEx7iuoPsC0kxqc7ww66n5AMAhEUG8QbJ5wkp7v-ovofkQc0FnyWZW5xhKyHgXgHwuSjht30"; e_fb_binaryversion="AcLMyvft8bexRIDa_hZZ8g-g92K994_QE32cxdCYyEiUngdRp-qobfvu8DmCs0ZT-wEbQMQeTojr7V1_Xd4Os5bXCOyqnIr9vOI"; e_fb_httpversion="AcK47fNouawSV4tj8FMnStujEaZTgbMhHywEybw5ANXhQjuTVqKeoIIv9Ri4"; e_fb_responsebytes="AcJtxmIP8JtdMwaDYRlloHYk7q02P17OB7LuWz13mve549Sjild5eXE5A_vg"; e_fb_requesttime="AcKdj2DNT1gtomP9NKWyZsE4ChWI_B52iEU50LQKbDN8O9Wka6wGgpQUDajhFKiU6QxTUHoPfg"; e_fb_requesthandler="AcJVBchznvdmNAkDMSQOBszhDQVirftl-z7sFBr2FN1jWBg8kImij6qr4oRgSyW7oQo8DLYv0m0"; e_fb_hostheader="AcJzbeurXbAe3zdwHNjXcQaiq-p11CqAzjPWgYchewtF-GErvlyNowjSisklCWEq6wBFN65R3sXO_pwA"; e_fb_requestsequencenumber="AcL0ciEx1KhsBCUGOEsaWjBkl-bg3iFFaSKWq53nVItMizH6o5QTBjFc_g"; e_upip="AcKY5QWN70XOhu_F36YU3Nyy6f_0j8cZINX57LSZ0GYqNRuCkvUjBFuR4K0krZFP5OSyg44tVl8AdU2y6SsRjvS3PVSwQPhPLg"; e_fb_builduser="AcJTa9H4XY5imPXAaBWBSR6GP_GZSiIZO_hA_SG2ElPkGwwbihCcqt5co7hGuIl_R-E"; e_fb_vipport="AcKyypOW2sEBYC4ZeTjBpgyYbNuztO44xpmmKGGbdPdsRYgZ7pr_Iq0eU0AP"; e_clientaddr="AcIztF2VvKmBcZ7Nbr-vzhOm-XbEyNNIqm30fmYIQUmv_Y3b5vCcInGLPoNJqcTjRALd-SxwMkT1jgYVTA"; e_fb_vipaddr="AcLxqPzC6IlrKQblyG_eZF1ndlx98v_FMO8iH2hyghbIcMAen3c7kST9r_SGcPMITFji0g"; e_fb_configversion="AcKokh3ZKVNMtJp2CMdJYNiNd2P6anzWrhfbZKCQpgYpt5YpK68Vt5jBICRohw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8297485280302993"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/06/2024 00:57:53: Error on send one message facebookId => 8297485280302993 09/06/2024 00:57:53: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AQPPUHgiMEU1ldpRKLNAPBq" } } 09/06/2024 00:57:53: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8297485280302993"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2299800, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AEe27ZzRr3oJ9dT-7nkBizA', 'x-fb-trace-id': 'D4SvxjklcAN', 'x-fb-rev': '1016260354', 'x-fb-debug': 'loEqPcu7eTsDrku/Mnt3OJQG5VfGLwnKhjIWDuknDO0kuc3NRmIDTFy1OmjGNkrI9HUdj0y+9R+lreByMVf5BQ==', 'x-fb-server-load': '31', date: 'Fri, 06 Sep 2024 01:00:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIeUyenJ8VqhHwIsnyXdDKh13GGQ-RJ3xkpi3lSvcy1gGoliR8fT9Q21MLVXburMQ1nzca_NvKBFgCkzzU"; e_fb_binaryversion="AcJ4oc5VW6BxJ08RlDoVGyqhGQmJH2u8oMxHqKx5sjHjLRqLBgHfITe8ESZXmh1MyaMb2x6WXBy8H9gj2h5SZQ30mcbZR3KnVsI"; e_fb_httpversion="AcIm4ByP2sQ-a4-mPbbTISfTHHRMxNCSKuAE_9CbaGK9d9iyPcvJqvO6ueBb"; e_fb_responsebytes="AcJxPNIjQIYUboKxrn9kY8rVeIVvT0p32N0B50lKawOguvM5vPX-QBt4vT9T"; e_fb_requesttime="AcIniqNChbEz9SpH2_kyqeKkFyJEWKG_WG4plV3rYeZzn-TpWqmm3JdemWO9aLE4rW6TcjYkHg"; e_fb_requesthandler="AcL66bsIpiASKG-sI2sv1KCPf0bmVijXGdRhY5Ckg3lMoiZEzI7sfp2z4wMnc9mreZtJ826peBo"; e_fb_hostheader="AcKmxWo7Xlf_rDkDvDLAMKxCHte59b6XrS_6eT3cJGFFHjghj_WMoQhFSPa1tfE7ejWW5ie9cnxUsDNo"; e_fb_requestsequencenumber="AcI0kDGlRaFyyvBBWptEHyv5RDsQr33-PnQRCCQnDysoFcONyZhTymahW_VT"; e_upip="AcKLTdE1MQ2sKoNxjMYl090p2qCCOdc5_8gLU3m_p7XCbxvx2Njx20UDjwzqF2O_BA-AwTgo6kf-kbC5FS1D2DMSxbGfs8JVsDki1_Y"; e_fb_builduser="AcKxK5FiEFIm2QkKcYuqO2SfI3TJnuC0TdbFXCH2RevwyGoSi_du5cZIGdiLPmoOFYo"; e_fb_vipport="AcJgmUhUaOLn7mwGpJJRz6xgbA8sCGlPiMzwiHulHvdv5fXQvkzZSmqOyLqD"; e_clientaddr="AcKwZk_VremHj6QeyTvugr-7AlLKnGauKjlkLkREP3ogxCOl7XVNfgwBHBvKDH3YlSeGEQEoq_dBl_uAfD3WTHlFmrTTm5yy-ykVVjgzSM-umHkQDQ"; e_fb_vipaddr="AcLfmBt_4SUR5D4TAKJhDUzm7qvKq_QKjPZZ9_HMGu2ok5TnoPZ7um-edhKmWKndtxyUMlptAP-F6Y6f3o4ERqTc-YpyR8EncA"; e_fb_configversion="AcLcFIM68w9Nd6IKcrrXY-KGPRQdKqg5cRLyg6zOlVGdWjESR7_0ozNygJaAZw", http_request_error; e_proxy="AcI2LwwDyQOrADWWIkiosn-KDUrm7cnpQ5joTjFycP406DGOUDenJLyzpO7DB-oHc3gOGxsEvmhQFKs"; e_fb_binaryversion="AcIyYl4SZN4e73m4Us1cXOFayHpNnxa97v9zJBKUAWeLs90siqsrOV_WB9eYnAzTzcxm8awsE2xEtqvT1eGWQh3NW_jEjrENtoA"; e_fb_httpversion="AcL2fcT1v65dsf-gAFKOden0iaGfHZF35NT03Is5b1AiXkcd0LzKRroNK1_P"; e_fb_responsebytes="AcJ2S6sLaPbB5cLNN0iUUT9WP4LJbGyiepddvKEpBJl0BnsSdlEuKgFpeOXq"; e_fb_requesttime="AcJuffibFepfJO2Xwl_XA0KlnGzDYYSVDi25ClWOEpBRdmg0Y5LqGoG9Uot0iMfY4Xk3KOIMaw"; e_fb_requesthandler="AcIxflPim9bGaCWx_yVvCfrb0Cj2-k5kr53UnqWCGOSYSEsDb-WqTKK2qMNd0_MPzaxVYKs5Fao"; e_fb_hostheader="AcLtAd2jjWpYtZwm8h_1AyqGLGhYbVrKbPUFZmclsVyE7Ldxd8mYRKjXIy8PRF4pvIK1INmIAN5dbKPf"; e_fb_requestsequencenumber="AcJfgAaTWMjDQNlfX_3hBUU6Ag741T9LCMhPzRG65uZPyu266eYOHBAQiQ"; e_upip="AcL8CebV5QTUwPVV08bnCUgAOUy-e8_WYEG4IAwr-h1z3Gyz9_ZRGFrN1QTNM89pXXJnl5UDngUyZAE7qXT10LE311ht1rMjdA"; e_fb_builduser="AcIGSp2GHg8iEI0aGCElsGgyO2JgasNpJX4xP_wCb6GcOJ5XrxVeBZSAJRqLQLllxPg"; e_fb_vipport="AcIjxqIuRAK-oE3it_6bXHc07H5j0z36FKYJlD7z2HhCWM05TSeDIGypBaD2"; e_clientaddr="AcKH1pX2-BB3prXCPDUoZi9cprQLJQjUR12nfJFfa2_dDkbktdZppXi9m4wXcFk_sKk7irSvoDODQF-QeQ"; e_fb_vipaddr="AcKX5ZsDaakTxmMIYUn8IzSGLUUTtgFCsyrix1mGVcTX4JeztHQFD8Qrhx2TsAU_DrZRSw"; e_fb_configversion="AcKGsZlyJQLm-FYv65VS1pMSpZSWfMfx6ApkIbYjzy-_2DI-8Y3UY4HYACjgvg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=178, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8297485280302993"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/06/2024 01:03:26: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 09/06/2024 01:09:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 01:10:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 01:11:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 01:12:43: Error switching inputType 09/06/2024 01:12:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 01:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 01:19:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 01:20:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 01:21:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 02:09:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 02:10:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 02:11:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 02:12:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 08:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 08:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 08:51:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 08:52:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:41:39: Error on controller payload Input Treatment=> type not found 09/06/2024 09:47:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:48:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:51:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:52:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:58:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 09:59:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 10:00:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 10:01:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 10:58:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 10:59:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 11:00:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 11:01:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 11:04:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 11:05:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 11:06:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 11:07:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 11:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:04:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:05:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:06:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:07:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:09:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:10:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 12:11:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 13:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 13:09:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 13:10:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 13:11:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 13:53:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 13:54:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 13:55:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 13:56:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:27:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:28:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:29:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:30:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:53:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:54:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:55:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:56:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 14:56:52: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2460586, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Fri, 06 Sep 2024 14:59:01 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/06/2024 14:56:54: Error on send one message facebookId => 8110227169025395 09/06/2024 14:56:54: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8d826d10-6c60-11ef-9dd1-ef63a8a0658f__1725634741857.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "At7GIURcWhtzNlLFr5u00oE" } } 09/06/2024 15:01:52: Marker: 0 | ID: 66db196011e0a671f61bd90f | Error: cant_get_message 09/06/2024 15:02:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:03:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:04:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:05:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:06:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:07:52: Error on send one message facebookId => 8110227169025395 09/06/2024 15:07:52: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/8d826d10-6c60-11ef-9dd1-ef63a8a0658f__1725634741857.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AWH-0e8TkajobiT6_PfZ9OA" } } 09/06/2024 15:13:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:16:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:54:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:55:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:56:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 15:57:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:05:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:06:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:07:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:13:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:16:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:23:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:24:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:25:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:26:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:54:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:55:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:56:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 16:57:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 17:05:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 17:06:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 17:07:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 17:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 17:23:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 17:24:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 17:25:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 17:26:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 18:43:09: Error switching inputType 09/06/2024 18:43:09: Error switching inputType 09/06/2024 18:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 18:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 18:51:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 18:52:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 19:44:35: Error on receiveEmail treatment: Error: Request failed with status code 403 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 5000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://api.emailable.com/v1/verify?email=Gilson silva46855601@gmail.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'api.emailable.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'api.emailable.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2525604, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /v1/verify?email=Gilson%20silva46855601@gmail.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: api.emailable.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v1/verify?email=Gilson%20silva46855601@gmail.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, socket: [TLSSocket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [Array], rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 403, statusMessage: 'Forbidden', client: [TLSSocket], _consuming: false, _dumped: false, req: [Circular *1], responseUrl: 'https://api.emailable.com/v1/verify?email=Gilson%20silva46855601@gmail.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 40, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.emailable.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://api.emailable.com/v1/verify?email=Gilson%20silva46855601@gmail.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 403, statusText: 'Forbidden', headers: { date: 'Fri, 06 Sep 2024 19:46:45 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '30', connection: 'close', 'x-permitted-cross-domain-policies': 'none', 'cache-control': 'no-cache', 'x-request-id': 'f8db9822-d11c-4cbd-8b0b-ba109ed2066a', 'x-runtime': '0.013515', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', vary: 'Origin', 'x-bs': 'web5', 'cf-cache-status': 'DYNAMIC', 'expect-ct': 'max-age=86400, enforce', 'referrer-policy': 'same-origin', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block', server: 'cloudflare', 'cf-ray': '8bf0f7888c181d34-GRU', 'alt-svc': 'h3=":443"; ma=86400' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 5000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://api.emailable.com/v1/verify?email=Gilson silva46855601@gmail.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /v1/verify?email=Gilson%20silva46855601@gmail.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: api.emailable.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v1/verify?email=Gilson%20silva46855601@gmail.com&api_key=bf50dd9040458c3a312d3d20d94f18a265edc322df14867f2f698328f34d0738', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'api.emailable.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { message: 'Invalid API key.' } } } 09/06/2024 19:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 19:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 19:51:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 19:52:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:05:10: Error switching inputType 09/06/2024 20:08:51: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/06/2024 20:12:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:13:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:16:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:30:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:31:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:32:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:33:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:43:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:44:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 20:45:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:12:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:13:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:16:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:35:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:36:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:37:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:38:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:41:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:43:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:44:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 21:45:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:16:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:41:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:43:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:44:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/06/2024 22:45:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 00:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 00:51:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 00:52:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 00:53:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 01:04:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 01:05:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 01:06:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 01:07:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 01:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 01:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 01:16:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 01:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 02:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 02:15:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 02:16:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 02:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 03:40:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 03:41:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 03:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 03:43:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:11:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:12:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:13:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:14:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:21:31: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2643563, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 07 Sep 2024 04:23:41 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/07/2024 04:21:33: Error on send one message facebookId => 8467299666655139 09/07/2024 04:21:33: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f6644ae0-6cd0-11ef-9dd1-ef63a8a0658f__1725683021454.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Aio4TIGN2OGI3e_2lcQmc16" } } 09/07/2024 04:27:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:28:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:29:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:31:52: Error on send one message facebookId => 8467299666655139 09/07/2024 04:31:52: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f6644ae0-6cd0-11ef-9dd1-ef63a8a0658f__1725683021454.jpg está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A8X554PBCoTC5eFDOtEvoiK" } } 09/07/2024 04:39:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:40:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:40:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:41:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:41:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 04:43:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 05:09:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 05:10:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 05:11:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 05:12:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 06:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 06:23:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 06:24:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 06:25:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 07:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 07:23:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 07:24:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 07:25:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 14:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 14:23:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 14:24:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 14:25:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:19:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:21:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:23:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:24:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:25:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:26:27: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/07/2024 15:33:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:34:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:35:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:36:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:43:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:44:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:45:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:46:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:57:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:58:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 15:59:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:00:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:08:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:18:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:19:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:21:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:28:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:29:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:33:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:33:49: Error on send one message facebookId => 7942325365836824 09/07/2024 16:33:49: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AsvuRiwUiWmdiM5VsCyAh7t" } } 09/07/2024 16:33:49: Error on send one message facebookId => 7942325365836824 09/07/2024 16:33:49: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ApsSayIU3JwOcn9Otcp4yrg" } } 09/07/2024 16:33:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7942325365836824"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2800956, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdX59zIhnaowCC5Cgwg9orK', 'x-fb-trace-id': 'FhsIHizIQZH', 'x-fb-rev': '1016306349', 'x-fb-debug': '5R8kphATyLyuwi3n5N2tDsMUOnYuw9MTayOsi+R7omge1/cPTKP6BzhYGazVIlmHlsu0J6L1YRjMfPF4HUFX6Q==', 'x-fb-server-load': '48', date: 'Sat, 07 Sep 2024 16:36:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLSY-QSR__vJRP7nG4YSAV7AvvEw-8B95mypY0RJ8wwGcYfavWmwXylFn-TuMP5-FID0OOHAvSp9MIexl77"; e_fb_binaryversion="AcIqaYPggR0Y8D_aKCKuSxsOEMZGL19tEFoVlrcrPWmNOe2C5tqtjWtBaCllDOVi4WP_WgZA-c634qA_ypEg1CFvyoU-OlUdyAI"; e_fb_httpversion="AcJuDSP52U1wHlBBfA4AHBkPcR566AkUb3HT-b-t47gS1o9837Bc6vstZ-tl"; e_fb_responsebytes="AcJDm-feBb7Dezb84M9AApDwfHk_hMDmwIXPtuXtgQw0baPvI8szzndWjkUy"; e_fb_requesttime="AcJyrpbXWiEZlcMN9mKfJrlJYyn9Isi455vNHszVvUDiXwYXIjPRsTdZ0HNzw5o-ajGGXrux9A"; e_fb_requesthandler="AcKI0ECejUlLyTZe5ROoKhUmnNl665rk4a1SOG2N0V9XH9if5gZFR7rYmfnb_BUGtZhe6v214Vg"; e_fb_hostheader="AcJprMPu2KH2Guum4CKeZkxsUaDts2uL14yCOGICXNNcnx_yiMFLEpPxM_yhjH1vmsogyWPM6PWs48nh"; e_fb_requestsequencenumber="AcJSgwoLOgzSzy118gEUaMYrKuRHiKxieLptrAn7MNTAKJhieK-6Tr10wkl-0Q"; e_upip="AcIFi6p1shVwaW-FO3JkP2cxbImrPV3UTBFRB3fh5S26g4yGx24N1jliPFwcTvn5z7cC4vqrhlc5MU9d16r7UkaAA1afUryRw6Wf1VA"; e_fb_builduser="AcKWFdGb674vv_53WINRn-VIANjU7iG3jtceQPu9gZtcCz-NcHuoXGhNtRJ7yUvbRdo"; e_fb_vipport="AcKy9iY8Wl5a8Jj_ysmHi9munF1mEFQE0KmhJ6KWaQRLASWmPXYchSk_donz"; e_clientaddr="AcKoSNVrMW65Sp-wami4mYf7aJn-rXdtEhrqI79L3ssCykskWF9bikr4GruRfqYytO3a5nbmBO6WZsrOqWTalm1gXHDaKuMRtOmdOWwFYbIo76dM2A"; e_fb_vipaddr="AcJ0UovpiIz1anrh3VkPGNHzaTrlzKZRYYpX4s7iG9qYnHx2Kk9I25BLr_49-HlEBZpOBlZhpZ6ou2RJGOQmrilxbRXvL2mFeg"; e_fb_configversion="AcIWCWqVaU5pZdKZNsykCYs02bpeswv0qpnh7iYOTGdbLQA1p6taAITJvXzQ0g", http_request_error; e_proxy="AcI177Pm1EghkyTxDOkf2op5cjB0zZs2rt4DtLi9JNxTslrS_DyX6jpk_nqqL_CMswMWP8itu6KYg80"; e_fb_binaryversion="AcL_W_ZTlLIWE_6YmaXf5A39fE0vLB1gfhgwSWNpqmViaBy_aBEs4flTQim8sxrfPzC1wyYCKCF7humRBd67zgq9Igt8W9rBhuE"; e_fb_httpversion="AcIarLbDVO5bwdRDlusRd6BXBYpMxlulvTWUgfcdXEreAJWnhxFtDxlQm2N5"; e_fb_responsebytes="AcIFQVw1mgpOjKNoAUBEhnHmotZ3qUn7iZMdRqNmdO9rK2-HQMZAE76w2Z8R"; e_fb_requesttime="AcJzD_-4lqIGxJ6PXVB25AbFE0H4reJQhqlUDIrnkBJQ4U3DzObmR8KgQYicedHC3hTjcvh0fw"; e_fb_requesthandler="AcKliVfjqyFNxP1aD8Et7BLV3tPdsbjDsASdHr2xHxUsF5K0SqIclAPGZYM9A8hst1U13YdFha0"; e_fb_hostheader="AcKjmPstLb6QhQ8vXPZNXbOG8HSP25EhdGa6zGwIk2wy9wW08pbDvdox5KoYAU8vqUxY9eNeL-mPrv31"; e_fb_requestsequencenumber="AcJErTnOye3IyvKjk_Oi17Oe1_bjwZpKBeeN-yWafoVo6gDfJTl1CcG9xQ"; e_upip="AcKJxSTj8AbxkfGnyW0AAhK2V_PBkOygyz-0AoTi33CKO6JconUOmJS-KgmXRPuE3XUDFAczzeLb5_FoFqpAIQfAnUnQL9NPxg"; e_fb_builduser="AcJK7Xa5CfZh0ewdy079xEdhqnKfmvoBLs4eKZREm0FurP7pj8u7DDJptta_rQsffrg"; e_fb_vipport="AcLfc-WMfh12cYGM_NkEuUloXbDv-Us7W61oin_1XaoJtMJ3jBgfYmPMTZya"; e_clientaddr="AcI9cfPmTFtehLAuD7Aih-KmKaG0xXeYVxNNDaNkQz1T3jVOsM2dVCDU2d2PwJs2fFvOPe2QvNP9_TxS-Q"; e_fb_vipaddr="AcKNOmeaQkKnWzC00ds8WmluM-gFZt5mpoILpI-nhfachaoNkR27Nd0-j6RWY45OzeCksg"; e_fb_configversion="AcITvz4wn4g8qrDl4zFKkFCQPHUd8U3Bi82z-Fux5oPZ1VLHxbWxw1I1QV4hgg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=166, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7942325365836824"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 16:33:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7942325365836824"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2801221, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARfzYd17ce-UdqZ8oGROaN7', 'x-fb-trace-id': 'BEn/hTpyGGs', 'x-fb-rev': '1016306349', 'x-fb-debug': 'S0kwDh7ZFiAeTTGeekxrf7b2QGePHND3S5T1F+xT320/+x5sKK9ByDQgCpgtJ9ir0f9fpsveSDUQ6uOQKJ0vYw==', 'x-fb-server-load': '43', date: 'Sat, 07 Sep 2024 16:36:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIevdogFNnbrNJ5w8yccrEEDDekCsl0Wy-Q5i0pF2e_PhkkByy0LUKVvohfUaLm0wsstkxA87WKmrWgJ8l6"; e_fb_binaryversion="AcI5K7yv-XMdkwvK5AeeTFjHFfkrAKOn0v9Ny0ZHdk_SnBUi-O-K7E7Z-9_1MyTz0uXQUDRMlYjyD76YqVwyj0cnOdTj_LWTSlU"; e_fb_httpversion="AcJSRGxr8n9E-veKb_cqY_SZpQulX7cyHeUSBWPEKVYQ33kBWGEhF5BarAUQ"; e_fb_responsebytes="AcJFwHS-hyB7KuV8WCz1o3YBQ0Xd9pACMkFO1Q7pc6tEKCxXn_FJiMY1n1eg"; e_fb_requesttime="AcKdNuK8d3Bu6rz-tsIWb-bytuI0KBLZ4OeGuz6g_xMixjAH_0kXrNCG2cB_9S_sh9q0vSp2uQ"; e_fb_requesthandler="AcKzEeA-_ihQDRhfMe96w0goagDEA1v3POIzgpUajqM3dxU2B-CsClJ_ZbktleCptHsB3eJCw-E"; e_fb_hostheader="AcL-yELNxbgN3Fy1B3yHrsNs7poWSkRzxHd8XRE2b_tfCbDOFo3ZHOe7eIqH2eMyMwOqJCBw3__jbimQ"; e_fb_requestsequencenumber="AcK1z5cvaiySUrrC1Uv0Rfjt803d4DosTXECI4Ud80YjIobaLiAXAtoSyA"; e_upip="AcLckZ2N9jzdSEHpJVz-l9I7NcCvhqj5pdA6T0tmfz11K-J3-xjw4jV3dmPZBVeqeYeZBM2-XueJWIF-iAcL65scfKq-MapIeQABmLM"; e_fb_builduser="AcInJR0bvkMUjdYEhAxNJRGS8TnnsgV-h0TJGQKcjwHmEOqntZqqo45G0QyjB-Sem_A"; e_fb_vipport="AcLXANuAkqmDvCJ0_pYI7r7ovrVhmbzMHksgBVgdy53Sv2xyWksTVlnLoPht"; e_clientaddr="AcJj-flWJ58QkOxSGEbWXn9kChzJVNiAyCfKJ9JjoTuXEiMkRG035sK8G5sswg3BesRvvpopJDVqAZrwYBZTBPZmyaOBMcvaTEOZhIdh1EkGh412YA"; e_fb_vipaddr="AcJ2xypgQ95a0iDGVdtCiUtBRGSYEMklv3Dj-b-cIxmZjj8Qm5EBIINryGYFfiG92ZqEbGhyGnwIVOOM_vYB5JwOXX5Htp5CrQ"; e_fb_configversion="AcJg6_-i4d9sHummbki_9Ujf6Qvi86_xPlYoOcTeoxxOJk5hlt33AHGqBiCctQ", http_request_error; e_proxy="AcKNJ49MG5JEW4Euu1Qxqio44XMuGhecJ_qlJKpLRTa3bJsBsUFLNk0va_YZzIaq3E71ZOnK7Kxi5yQ"; e_fb_binaryversion="AcLOc9FLeWq6v2KFs6tJUaiC-kf2RnQFCvZz1eQxqIh8ud-srmEvvzd3alavElOlAnnKAbC3gxY7f48SMkT6ze28z8VgxAuKMWI"; e_fb_httpversion="AcL7y6zitd40ByaZ9cuOFngkCP5D_TtFFt0GEGgq9ixCe6UFBW1PvhbrKHlF"; e_fb_responsebytes="AcIIOlGR2KiQvQ33k2rS0peum3wgwpAumfnNmBYexS5tMYavHLdRCZcRzDzk"; e_fb_requesttime="AcK3VuFlQMPxliJi5b7JybF011wx_ZzjJliNA9OEOkUqFKJGqnzDM4quPGBqtBIY28GMQHCsYQ"; e_fb_requesthandler="AcJJijwXSH7hWCdH5YCjvkNEB2-dYR_j7y_U0QcFEAI3ypWDniDmfEdeXrwXb73BQDGvm-MnVm8"; e_fb_hostheader="AcKiD5vV61toGyrZY7NM5T0I_Mra1goPRWBVCfCH_Pv4bi6qJJacBwlJglu63HJl3t-JP_vfdmTiDDVm"; e_fb_requestsequencenumber="AcLifIDPsvX7O-g2OZYqamMRv9qQeUIPijJaApkVLKjmfs7rYRRPwfSVQA"; e_upip="AcJuirnmwbJPs2jMceOiRf5OoZ6EjZKpIht6ZCSUEZs-5qEVYeCWAZj8HLEhBKbpzsUCigqvid784T72GZWh10bDcYgLyGmzlw"; e_fb_builduser="AcJJxJihSZ5SZSNKWa7WbSLywjvm2bqCuMtsitWgl6mCoSJVvXdT2JDcfBCur5PGZ4o"; e_fb_vipport="AcI5sskHiIKR79BYN2eJFfOXRYEGz6DbLDK3DrTDkNxtH6eQL_SMDqEr3q1t"; e_clientaddr="AcJ_x9n7N7CCHSycxAe0CYDBKUbdi2q_C2rgruxiLd1jDmU_AGw2vwB_CwGVwniuHNLZdzpea4k7_xyJvw"; e_fb_vipaddr="AcIABzRKSWXC1809dxYh0Sj0f6dCPH9TvpFLMHxvT4gHizUKh_XfAZRdAPS_XeLES0l02w"; e_fb_configversion="AcK69aKPdlhogFBn4rfAdEthroeKHJkWPS7HT25lU32JXnyvsFMBdk596-VpnQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=161, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7942325365836824"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 16:34:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:35:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:36:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:48:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:49:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:50:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:51:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 16:52:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:05:03: Marker: 0 | ID: 66dc87bf11e0a671f61be60f | Error: cant_get_message 09/07/2024 17:06:49: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2810395, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 07 Sep 2024 17:09:00 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/07/2024 17:06:51: Error on send one message facebookId => 26534022399578154 09/07/2024 17:06:51: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/dffd4430-6d3b-11ef-9dd1-ef63a8a0658f__1725728940019.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AmGLcqKvOzp0_32I6cQNr4z" } } 09/07/2024 17:12:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:13:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:14:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:15:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:16:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:17:51: Error on send one message facebookId => 26534022399578154 09/07/2024 17:17:51: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/dffd4430-6d3b-11ef-9dd1-ef63a8a0658f__1725728940019.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A7sPSiFCkR84GP6fXvFKVln" } } 09/07/2024 17:28:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:29:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:33:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7942325365836824"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2816175, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ATztwVcQuYX4pxwFRW9EgEn', 'x-fb-trace-id': 'HtrEgHTvtDC', 'x-fb-rev': '1016307126', 'x-fb-debug': 'S7FfhHmpSFeWG9qAgGUsXXOX9iSEQCc4Cp9sQTjl/H5zqzyivGm7VgwGZM2NrkMPmB2OSjhuW6z1GW1sL0cL5A==', 'x-fb-server-load': '29', date: 'Sat, 07 Sep 2024 17:36:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIpW7gXIjFwTPcb5n9YBcZZro8HkwlqgmNVdkWDQoYAdKZU4SfBQchz71w6Aof_aboeyVIIQ0saYdAVQ6c"; e_fb_binaryversion="AcJ-UBwg5t9xiJbeY-AUhB3Lw4uiAq4mxuwQxOT1dejeMnjmy3dgoIzKbGij5S9vA_8ZuLBUYPDDXj0ftxvmepP3DI3ltVWEC-Q"; e_fb_httpversion="AcJkYhKAjKDsKx8Ut1Tgbl2QgdrS9j7kRAHgyrxNPITMV7i8PqJxfQ_iLhYm"; e_fb_responsebytes="AcIpw-f_CdSivacQknoqSvhSAo7H4f6IBBxdL1Ew8Mj8qAUDjcIcXtt3-yCQ"; e_fb_requesttime="AcIOC11hzltp8hkyOeK8-cKzZHZPy4SBh7-itZHaoU6FyGyzonsz1gEUzuyuNNpH0idCXcxDGg"; e_fb_requesthandler="AcJ6JJX4OqwB5xPO1a6rWJxwwfbR1gN5CZd9JReRH01sxcs0gwlE6tpWzVx-4Om3_s9QO_9WX9o"; e_fb_hostheader="AcI6FVR_MEMzIYY5niXp7v8YTZ6EMnq5WaO2si5wULL_9FUWiYFczy7qZ8ZcBYzM7BtXz1kByIGQ26Fk"; e_fb_requestsequencenumber="AcIaSQc3GZSDyjdojpmSkJYaYOqWiqQW6ku1icbRW3HhdmxDWS4-FXDNJryZ"; e_upip="AcLD1u-RiA6COL1sJ6K6qAVLN9OquEAFyTeOI124JWsNPbJj27k_PKUrkJUuH6WDFO1hE0ebWaEN6IlF0lrLDHEo1JtWLPvXo-OLN5s"; e_fb_builduser="AcJFdu-GTiLfBpT4W-_YDLBUGGiJgPNPD6HcMqE3yKFOqEZrs_vcuQSsW1Toy2frb4k"; e_fb_vipport="AcK-N8FYM31HeI4XCkoLkWfvkXaH0OA0xSjSQwD4uirmShc1E1A6BA9r8LVN"; e_clientaddr="AcIXNr5F-VxwY-3bypqrLw9aQGLvKZNORoH5K7QlTIfLp7vYUPFI3zjjd2fKBGqlX1e6dORGB_Syn2oV1p-pMIgj8jBsPzCApwB_d4RmvL4QfPxo"; e_fb_vipaddr="AcKlytCPioy-_9q8OfvKpvEwVo8Of-vOLf3-wfOw3UcBKCn_uip5e0xoLmRA2AhGZfT-IJVPsuu5eC4BL8AGPQ0iq2hi7FDqig"; e_fb_configversion="AcKClNJ5c8ruNk2Kz-njW9MAiTDYOA27dl51zmjh0uUq-Ww6aDfQC9lMPMlq_g", http_request_error; e_proxy="AcIfLUyDAHxKaLpM911dPYCiAzDhWcD_jkl_N_Su0-0udZREVmUQIb40pknU9sTr5fZo6aO7-d-TcaM"; e_fb_binaryversion="AcLCc24qAcBql-eJhaOcty376IUhrO_CZojWf7iqvQj_dyJpbEORFlFXvi0cxh004HWvmcwEtPiRZmqhekxsi76rJMrPKdXjfro"; e_fb_httpversion="AcIGdzt9j5FNZKQwG3vI8xIFsvN4FbXw8HmgyWoq_lPUf873cZxvdDZ7nhOE"; e_fb_responsebytes="AcLnM3bmojGOxsYfUiJNICWPiGuohiES_j6_vj8e9PwZEkfYUzERyCYGcvc1"; e_fb_requesttime="AcLZysg2azjUnCL6iTUgIpc3X4pyhOhNCuwv67gEw1oKKMNm5UgNlr57Ek-vvSPxgwdNLOxitA"; e_fb_requesthandler="AcLM3J8wFmspEypn7ieEmzBWV2XHnMHjH4XZ-mF0jv5GikoLWe-Iu7usuuzpw_MaXI7Rt8aKofo"; e_fb_hostheader="AcJ5Jv1s9ci8jwIouo6ceMBHUfXnpdzSdlksnky_nIxexzS82EpL5AbmnmeiCzPHKDbceFRAPTjTwCte"; e_fb_requestsequencenumber="AcKaojBsIoaQuDucmaBASQSijB2u68LqJgarOOF9fWXf30GkNMDUlNor8A"; e_upip="AcIIau4hWWN19IET8qm-iIERUP2uHwKEEFUwz3lZmHx9x0V1WIbhx0CLVvKBZcQW8Cs51AD06MDaORQeUurRmpK2-2UmFNFOeA"; e_fb_builduser="AcJ4MZV7Jtb9RNzPR4QNXuJbRx7ODdMpqYm6mYeW7g3cJoCmah6IB5TE8LygU47tEmU"; e_fb_vipport="AcK5OBmaogJ7IrLaY-JHcWRBLTELDtUxmnSLbM8fK_dd-jGLtRhlMLMohfEH"; e_clientaddr="AcL3DfoebJbHKimOQiXODmGkhFwqfCvKistUrLhUa_RVws5QqLXlg8BfpKKtPFiHR3Gh6grIVxy1LQ-fJA"; e_fb_vipaddr="AcI3wifop6nVCVKEQx3IPhHtuxYdimG8cuMLhvtObFkZf53m49h8MaD7T9qZ_aJ8BcOIQg"; e_fb_configversion="AcLxK9uWGBbqrlsNGyXCJjY9sEXawjY62ASGFOD6GoyuE1APv46NKbUKm7ReGg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=154, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7942325365836824"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 17:33:51: Error on send one message facebookId => 7942325365836824 09/07/2024 17:33:51: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AUcaRHHkQLaYLEs5ub3qW1s" } } 09/07/2024 17:33:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7942325365836824"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2816372, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ACMzY-BoQJDfQqfHZTzuoCP', 'x-fb-trace-id': 'BP1nkOlH56O', 'x-fb-rev': '1016307126', 'x-fb-debug': '41p9d9hl+M3TyR18+vxmQHQUpzK49B30oW4Efrjol8XIspxcGHJ+buxI3w4ewTGojOmQK/8XPghkML3X/JCwqw==', 'x-fb-server-load': '38', date: 'Sat, 07 Sep 2024 17:36:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJd3xXzDWPmhdlwssHLf7Eve3Mo5r80airdsXG7RXMMHsGDhBiDqRh3LtJtXPP-_YSmtyeO0i22R4Ev490A"; e_fb_binaryversion="AcKkL5xJw_4QvSDdr5wbiWeEGEI4iD8BchHzNJUmpm6YrVM9UJK98-ak86Krzwb54Jhm0s2UOCh_yGlSTuGzoRP-mqbyI852U3Y"; e_fb_httpversion="AcKlzWl2HQlpKS0Gh0WOYzHF48kPjwP3FHAOQP8EPl-Rt9lKXWRUjcoiAxC7"; e_fb_responsebytes="AcK3KOKmkMFFuepBsR1hafC_RimzErdwrG6GREnYQ9t2eWCUbguWq8sxaSi1"; e_fb_requesttime="AcJMUB66RnCf248Zkq_QKGFKfQkS9NJocM3rN7qPjze5SguEh6p5hhoJGQ18OWjK2iUH75nZlw"; e_fb_requesthandler="AcLKftFjvrGc1EyWTtGrDIMkWv5dQyZan0ZzdEawk4OeP6D7NCgRA5Lx7xU0KSy-7os9s16I6Ow"; e_fb_hostheader="AcLuLSUT9kx1-09ojYTGU7ohZZj_Iq1nevQTvdItIUfjHaAeluNmJIbVRIAnf3VN537_z34B2n1VThsS"; e_fb_requestsequencenumber="AcJtmpGJB-DP75ZX9ezLRmP02ZneaY4ysKxPUsoCFE7W-p6r33X0L-yPLlKQ"; e_upip="AcJ6r6caN0Z50GOtPga2GcgaEcFGpN-JARhl57rrBa66dJnmHr0ajR_QhqGwdpt0xfRsnrHlQ5fOKm1m54BJksHVwij8Cfsp7UtU2A"; e_fb_builduser="AcJZpLZOlmBXZKWeMQUyjGinrQhKVpKPEcjD1OH8vUkdfWQJnWLmRPJisd6A-eAI25U"; e_fb_vipport="AcIPNqrXAcyQmEqsc445AP35PvputJGfmfjASba_pt6igjCZSk-FqLhANiFW"; e_clientaddr="AcLzT139t87rvMMYAOKDQgEr-U5V528Sd0aqneBHKsFdFFHEY-_x5GAEG1B2NPF808mIG83pGXwKn7t5apyWSSLz9nga-NLVGt2FLMYAAJNAQSnAWg"; e_fb_vipaddr="AcJ3schtxRscQOTdAriY0aFN2TqxOrHXW00i5nrrh-R3pMUmPC0_lHSeI61wkmks7EvNME7It8MjmwDCxWQG-zUVbb3tpTQivg"; e_fb_configversion="AcJ2t22hQyCA6H-lmz6Kn7jgiRYvsm1lOfIgwuPD8jOK6Y-10KHMd0bVoQ08hg", http_request_error; e_proxy="AcLGuWQtgLMrn_egbZ29zKaoEVpJ6NUji9iUYdfeV9hXRVRNnuesATNv1zE6bL9QwzXnyS-o3Kr_Rk8"; e_fb_binaryversion="AcIJ1qJWIYyNCytn5HgfN97uaOMM9bAXbUhumKe5W6ONJnlq_hdtsbE5elOg_4W5p4o7ktqdhzJSthaZlIV0qFeObQIfVRgawNY"; e_fb_httpversion="AcJtGCay-Jg__gXhWxJeXxbaQkK7riDvQKILCvye51vR7EwkgkC-owligdO6"; e_fb_responsebytes="AcIRQTxaPWmmQBJ-mgXFno58zgNluXMTOL3u33z8SMqgSUTlzT69eQN0LtW_"; e_fb_requesttime="AcIFANrF81ZBUVUwhqrJHz1oeHvyui0A00g5u4t2pgHHF1x_8W3MFAxzzjoB666bqtDPWKMlVA"; e_fb_requesthandler="AcKq9UGiEjR0-ayRKH1_YyH_A8yssQfEkcRvjxkltKGBy3AfB4umLkiTH3F_mw4hdZcW5hmjeDs"; e_fb_hostheader="AcIjKUdHyRPDaSYa5cJO0jpBSf7GoAcNql0BUdZJ_J6Yfwq9GUv1DpIQW91wxQAdbVy5OKXqda7U26Ns"; e_fb_requestsequencenumber="AcJeShF-W0hzTHlJprWgEJauQ800AVkO7vhpd6Hm-j_CnzEvFG4WLWFokg"; e_upip="AcKgyHx62uV2b8SYRYkKKrGD77yQSiN6bpGCXpTK4RCWAwifqcmnTILK7kq7d_vpXno_ZCwNoCPlH3hSIxjU2lNMcSBWOXWTKA"; e_fb_builduser="AcL9YYCESuerBESs71H2yv4-MQMwkQYzALmc9Ep6pYp2Mic05R5vDrSeHhyC3Hn0Y_g"; e_fb_vipport="AcKsylguE_Rk_27HlWazng7x43hOSX7Thqwn37gQ6JtGptPvNp_A_YI4h-4j"; e_clientaddr="AcJNbABBF1rT4ARL7vZ0BEL3blxox0BlhtEZEDJfT6Fo3qWoORwwDyzRUAz0lXAklfDqRi4aW2tQxMA4-Q"; e_fb_vipaddr="AcLT7vdH0SDh5ru-sa2E8uwStLXtkcTWHRog0IDCo-3k1Xgk3oW_5gb2MdxkPs_JFNsnBw"; e_fb_configversion="AcLxlCnlLXg_e6e_QSYnMXNH5Z0uIxS_YaSi7aisqOS_Ex2eWvR_ofWBob3NnA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=159, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7942325365836824"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 17:48:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:49:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:50:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:51:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 17:52:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 18:12:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 18:19:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 18:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 18:21:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 18:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 18:23:49: Error on send one message facebookId => 26534022399578154 09/07/2024 18:23:49: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A7U58FpHQ67cU25lmLi0Iet" } } 09/07/2024 18:23:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26534022399578154"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2826210, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ArZmzFNTCJxDR8ERp1IauPN', 'x-fb-trace-id': 'A5LwfPpIK95', 'x-fb-rev': '1016307126', 'x-fb-debug': '2qrmzOqrlC/OhbJyuOeVLnE1+208kSKf6P0G0B/e/HA/SBLVidgGITYU35Eh7Q/HNOFBAoOWIEpi5UlpZrxTtw==', 'x-fb-server-load': '28', date: 'Sat, 07 Sep 2024 18:26:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLvOZbI5Xld0Mb5aN9wPjPmUGL81-j4AleqL_N2q9Jk0iLYeOoWizuYtS4jfOSMmWpA2CiAzGTTDYTf7Fy-"; e_fb_binaryversion="AcL-FuzZ0_t32ESy4HPv2lOymOw_zpUGJbFYf-fDbDhBbyq4QnT8uAHQtYoVomqEn3tFH29EUmUwRJK81le4Oo1Hriuir0vTuHI"; e_fb_httpversion="AcKSQVSi8Q5-k6s6IULCKdW3UR-VMkqU3I0gw9Nb-5WOLsNapGB5z8ThErfG"; e_fb_responsebytes="AcJ8Y3y-qPp2EU3BP0f4HNYpNdjSC6an1v9gqrQw016-wkotoH6opNZ6IKFk"; e_fb_requesttime="AcLjkFdHMeM6EF7XC0ayqoKCO2ie04SsFx4eOC2OF4SxG3fwDoQs6GY8aFnFRDLSESZDbeRP7A"; e_fb_requesthandler="AcI70rThOx8Qmcvbu4ej-25PBD-ugo5pNZhYVDMyR1N-Q3aw-pbE3TNSC50QvYWZuCSs6myuiZ0"; e_fb_hostheader="AcJRDBLCo3w114oC98N2uUNeLMHlo_VlP0eRk98lIJUuaodIaBMeFnbTXwam8knT8g4cXpBs1Kzxm5Q8"; e_fb_requestsequencenumber="AcIYuPfPqZZ_vpx_lgvpa8npfjxYFFHursX7OaBPm3-k8ddIgENAqqK8sijP"; e_upip="AcKYJQYsLTb73JYU83I9U8asIi8oayT34C7yEbcE16P3RTxWg8JGxptvNf9YH9LMEN73rZO3AAbU5GjCgsxuvp7u-3lBRoA2nbD0yZk"; e_fb_builduser="AcIs4HIlM2W92rEwbkr-JIq_ZWQdy9sI5jsmF-GhJH3LM2JdxlzZOh18VEkF5eRA7ts"; e_fb_vipport="AcJOUiI3miuHyubmxpSQAFh-pKsMQ9UYsF53lLpkurRQC456tZkJKhEWad2F"; e_clientaddr="AcIYKe722XrTgLg_kgbUmDHlegzuI4ERvUsqu62R7L2kGrsEh8w5-dPaSofAVmk1IKkJ9R0Sj8Vd5cFoFYG2vVMbediO54zQgY82ZOyIy3T27Zwt"; e_fb_vipaddr="AcIVxHtC-D2ZbQr_MvUzn_-EryZpXSh2q4L5vSWZdB05e7cfYcNGTDSl_VRK-TuNjN6YVOyy8KPp6cH8Kowf2J70xmNvHYlAnQ"; e_fb_configversion="AcIuegOcTSafFvD43pmhHHVme4ckhVTac8ELmvMnn7nCBYLCV-Ng-ngy6Ss5Mg", http_request_error; e_proxy="AcL3RO9yKpsePWs8upNMwixT3piA1g9iGHXHifX2XomzKlOQnx4ZtSfNwcKNWxYYSINXUCan8itiQ_k"; e_fb_binaryversion="AcLta9_bZR3v_pmCyhcmrFDQTtiM0knNMLYmnPsjQuVvLTMDKhUuFi_KSLKW2ddvZReeXnNcmPYmFBnL_fvPny2ulR918NDz7tw"; e_fb_httpversion="AcIR7SXh6zRMAzYGLwrwGla4jk0Ui7gLoPGX4RhjXU11CugWmrsqwQExZDGI"; e_fb_responsebytes="AcKp6jEjNdcPUUzvbm5bci4rwtkZGpkP-iKFIKhwrS_ebZlfEIG0gHTlHo3C"; e_fb_requesttime="AcLiEIWC-ExMuzXoxZNuXqhpkJWY0eVp91-ylVuYSBB_2WPAQ7id8uHQnKNGS0FSYz_VQXrFXg"; e_fb_requesthandler="AcKsWndxeMcNuvNCj-vEGHhurHN9dAS7zJ3iV3EBg7qZyHvNnKiwTDToPwTN_kNyGPiQLex9Cko"; e_fb_hostheader="AcJzfsSzhVvI3HyAloQ5vWNtvKS1g7PnWPVXCIPR00nB5XDUe_FKT9flxsHQMrbEvRS7qAIDH6h73bK9"; e_fb_requestsequencenumber="AcLVlEJiGd5IGovbIoibnHQQ0uz_IqdugG7QT8cAQftZYMmRXFkq-bAW_A"; e_upip="AcIfmH7jrS2OwON15RBSi3b3HRABkQCKXyVTjx2brly24uu_FKEuwobKQl1QCya7k2jVY9b2WAQ_09THHXS4Dx37aw_twGExgQ"; e_fb_builduser="AcJVfrMwCkAJoHfxo0sq3HKiX-zllRpet2gycYnOXFba3b48h95JrEFwqoJzaUN9hkU"; e_fb_vipport="AcJm3zcNM2iVO-U826cty2ziDKUNXWM5Rc-3Vp4qPXmrpqQ27ftM6TXmK0Jn"; e_clientaddr="AcJifUVgtyjF4oIw3ELgt-O0aFAcySNymAr8wbawiAfbxHpLOBkDZ7VZt9irtAFebOx-mJbeNmI4slYTsQ"; e_fb_vipaddr="AcJPogKD9XTa0caCnNHFcW3cRycvAqCs66BmyZLVvdZziCjo7hcVpXbJILZNIh6nS1XBSw"; e_fb_configversion="AcJ2elj5Yj33xfjXYCOevDzqWFu9iBSgQ6_E1Uann1dVQb6pGKu7U1-ggNoCfw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=190, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26534022399578154"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 18:23:51: Error on send one message facebookId => 26534022399578154 09/07/2024 18:23:51: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AGEMGw5yxnJxO3rV8qHfPUe" } } 09/07/2024 18:23:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26534022399578154"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2826410, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnkvF9mICBBvqrM1Ub52mJd', 'x-fb-trace-id': 'FrMZe+t6UOy', 'x-fb-rev': '1016307126', 'x-fb-debug': 'mUjFZSFT2ghL6czsPJnAEdCdPHWLjrsJj6X9SIuZzvNTKgam2uHkqjrUm823NeTnE1tzDSeYShChBBbktXOHKA==', 'x-fb-server-load': '31', date: 'Sat, 07 Sep 2024 18:26:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJbbMu34Y2dqq4nofckpxXgH3gLJVJgPtWpkdRZZau7ojL5r9ADmXT6E-q1aH0yt2JHXvXq8TJXFuy73emG"; e_fb_binaryversion="AcLOtTDm9fAXb7Y03W9-Z4XJ2xzmmUCw9eTwATV9KWYFcXzicJrecRZFhtD10-m-J1N55ECNZVxedZBxH1oVoZHHVKdTPlpQKgo"; e_fb_httpversion="AcKRxXi_8WwSDvKbNCSFcZ1yI_QC2NHRTTaaltbUk_egnWiah73q3KujGI_E"; e_fb_responsebytes="AcJd-YzuE9_Psfs2aRJIIV_2ExF16x-G1L72UfD40Inhq83AzLXUEH6Evv0E"; e_fb_requesttime="AcKUif-m7y66DjzqAwpCgYGU3o6qNC6Q2fXtKBxwtlc0ZXLD2LbHwjOcdn7J2GvHvZp9iUJAWw"; e_fb_requesthandler="AcKvF-5RzzthLnNk1SYHfzAljcuINna9S1-PJYWG7OwCOoJ0Ps73vwLi86H4j5T8Y_eXdqrLtUA"; e_fb_hostheader="AcKMBvlxpPWswK8OFe4gx4uSa7WwQYck_lThAst3UDoZGfYwXN8dLtvnmfObI-NWFalF3OjkTcgJDLSA"; e_fb_requestsequencenumber="AcKVrhUY1vyca8A-kMjXaAaSy8N5B4YGCyZ8Iga0BVru5ukPce0INlGEZk6L"; e_upip="AcLrEDjwc6Tvu5Hm19vhywOcaBo_f9HgX-LvJhCQ1Wo6-wIQoAhDU9xsPa-HrWZLRfprX5PH93WxauOw3WY6mqjo_Wtkb1C6uyglW6w"; e_fb_builduser="AcJCUd1RXrNnxXt4cxtlwbsbF-M5wvblD7ayh_XnZ6wtTtB2XXBZk_46E9Ex75wUW2Y"; e_fb_vipport="AcL_-nuzmyVlGJp6Hu5pFf1yZi9FF-pAfho4ERV3AcYBEmNgbQ7uWLlkmSQC"; e_clientaddr="AcJZIIc7-FJmnCtMSb9p86h1Ta_spEBwFLEouK726uxY8tI6MJhQb66D-TmEbUEbAc0lqN7QvbcMDFJDNAltkw_pOZIN3h9aQn5Eu_DbioovuFTGFg"; e_fb_vipaddr="AcJEOywwYqAr8_fEq3zjS5MlD8mp1J_zofEHE9rDe27or2czArF57LmWmGNnVjJwOVe19xGOZLboITQ4jPc7Svd9FvX7s5k03w"; e_fb_configversion="AcLYKiHYa2BEQQghoJzjqv2yaL_vVF8kG2_dbsXs-NxgIqubyQ8rEBzVL2hvZQ", http_request_error; e_proxy="AcLlJ9xZvnjvGFTzWpbeNL698VD2Wm5zxctQJGaGq50pdjaAcBSmksg9rseKEwNyGLCNdXUcffwD0v0"; e_fb_binaryversion="AcISZf89zY_TCpsMuNqbWSiSDthNv9M8GcpXybrp1_1yXLUYZWs3Qh9sfVkxk-zVUZMCsR3J8BYHk1e9nF9lUv7NeGhHEmuNGTI"; e_fb_httpversion="AcKlAuY_Hf-cjH4sD8snothylJDoIMQG2Z_VC8__Sd0IcuvmqmD7NvDD6Iry"; e_fb_responsebytes="AcJvhhZ33QX_rCAnXepKKiF2PtF6UvyFxbIKTxqHSY_0UHKx-2XwREvKpGNj"; e_fb_requesttime="AcJ10vDUloEJfJEtH_69vO0S8LjONALBu8yZ4952oPKMEJvHkYbARuzaIMms4_O7gsVJqrmkAw"; e_fb_requesthandler="AcJ2FnbYliVGshnGOMtHCJQ2KoEdvOR5AFIIhpUWgZEzoxTyuIeWy528-onfFzsc0p_q42qI--I"; e_fb_hostheader="AcIE9m7x3OIRC2BeEYUn8I6kzqJA-mWRrVuj55CwnFDI6VcI6LhMXBSZRu2TukX0LwzQbM1hRC_y-z2N"; e_fb_requestsequencenumber="AcLMgtMm6wf9YC6IfpzSUTgYzpQIdHHiJ_fI_CqTjo6yJ7i49BHsWpnAfg"; e_upip="AcKkTHikS5-VS8LaNyvYoLk6hKwQcBjESWpkb5yKuuHUcaWLGecdxsgvV1z5A5Gpifuw2kMYvnDaRgEIEZnhteKu02kGhx_Tdw"; e_fb_builduser="AcI7EbDpFP3GsxfV13apZrzexkjbDg1-G5jpMzsXXJY7X1bYr1gRHuzSE8LH5Cr6I3Q"; e_fb_vipport="AcLMm4msnjCs4OUlMXy-VMFMmM5zAB0AGuvKMt_G1tsfPLmAQW48Fc2B4RYu"; e_clientaddr="AcITOgW9Mwr24c6VPvKJxksYsjACIfPrb_tX_A2WASbgBhZHxmhaGb_6KXt_Az8vzTDJErnyLTn9RFpTPw"; e_fb_vipaddr="AcL__bOZNXRvb8j275ApTTWnSNzENZU9lITG7icwhdvVEbkXvUl0yvk1la_EzyQM8j-qsg"; e_fb_configversion="AcLbSElSkzyXenKis4mE2cMqYtRQwEdn4OmQ-hV8OdFcdAn-QwO8RoAk7wutsA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=157, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26534022399578154"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 18:53:58: Error switching inputType 09/07/2024 19:01:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 19:02:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 19:03:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 19:04:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 19:19:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 19:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 19:21:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 19:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 19:23:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26534022399578154"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2839961, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AkDth23HcopQXwfyoQ7fKZD', 'x-fb-trace-id': 'DcuXVaBmPGH', 'x-fb-rev': '1016308019', 'x-fb-debug': 'k1/ABr6gKrROX+VBw+nQiSjqPaLl6u8qmuohKZT6NXKvqvYg0XNQ+OlvphThHi9Rg+XJVxg2yPhsTXPTbwKySA==', 'x-fb-server-load': '22', date: 'Sat, 07 Sep 2024 19:26:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKMgurYohnJiHNppfRb8jt3PSeVUBP24PII98TwvnVzyji46NY82jxRHbpwTlODyA35vef08dAIY9pewOQZ"; e_fb_binaryversion="AcLsSL89l4JEsgEFis_9OGUGsMXgbdV_Ora03nWIEpqxWJqA_IIsTJmW43I_ocbs5uKheDP_QA-FjpQRLo7aLypL89baT8gvWl4"; e_fb_httpversion="AcK5CmquRAftrqGAywdR7fbHDs4KCjRoROLHTYcpI6JBqOLkKbkuT_Zwz0iS"; e_fb_responsebytes="AcLx2Y4__tsEr_-Zlwx98NCyhG7hh9GlnKrFVo_hKRnIekmuxIeFy09d9-5Q"; e_fb_requesttime="AcLle2HcroaTBYKxKMwPu2RZ3awQLIj4tnn2ScjenCXgQBN5VvXZrtoscuSJ3vQ9z-a5pXWSTQ"; e_fb_requesthandler="AcLgS5noHYT7rjoNmOV0ZeHaW0FhrwAiHES4g-YATcTjJBCgWj1oW8aWmxyL858_eRw8mZltTuY"; e_fb_hostheader="AcLP3h62SqZm-8J6DaRwKN-FO9-iw-D-V5H-_FlXzSY5NZs80N1qL92hzdqAeIxykF-5IB5d-xIwJtZS"; e_fb_requestsequencenumber="AcIrt8h7_mDN--pPryAY03kdHZrEVbu96ugBPavdw4lRQuQwwNEsPimbbzoB"; e_upip="AcLkmkotZMTUY8O_Dy2ot_dCIdXz5jZNWjPXGqw2xhX0GILBct1sz_HEKuSzfbAG_yxAvMNJi1mxGYfaUkNe6nH1KXGwZ5gsmJWvzZo"; e_fb_builduser="AcKbGqCvswNzu9OFkZNoOqttV4pdXLQvU_uet3-zzoDfhAXj72odKqqI5tBdqTxY-qk"; e_fb_vipport="AcL7NXa7QA061T_yBh5V2SW3WokeuFAZCwphTN14m-cUPkbJD_3B59t0rAt6"; e_clientaddr="AcL2jzhlgaiOa54HKeuY0OXaKvpqbxeIRnQ2G-LtWyir5DdVzEBw3PcIHskw0JpwW0smTogW5yKzU22l3gCJIGhLsO-EpThZIfIBpZruzCCkNYMR1Q"; e_fb_vipaddr="AcJNHvCtVnraYbqMrkcWyo-rIxgpuZQB0kWSNFSqvVKpj4EMjx5Qb6tr5oIRmLeVQobYApauKmt4ts4JyMNvUjgut2BGSvX_qA"; e_fb_configversion="AcKWqsu3gEiGgVh_WPV01cMMjt-y9zKjpx80-46fjpCRQoMdZUkpCke9Mo8YjA", http_request_error; e_proxy="AcIh-CHTB_L0pyzMVc6oWokdXl3f4AMDsLpyxgZpBw7aNohNQd58598sjF03zofgXWcTLTXQLNmlb7M"; e_fb_binaryversion="AcLdDwPn1r4tWU5kA-b71G_YbKD4Xo_xBzhAwWWimerE1PbS3xVEFt7R7wMqmHKvY0W5Gij5FTj7Y4dYSugPaGaBEe4XrvyTQM8"; e_fb_httpversion="AcK0HWDOkpsY6Tdx68E70ceCuZ0hBfzJU00Hyg6h3nKnGwL_BdPxMZl9voEn"; e_fb_responsebytes="AcLCm9eZ0fypRwVSTE9rO_vSWvhS5vVRu7GVB0p6-KpSYuZyVFXaLzKyzlGw"; e_fb_requesttime="AcKdc6SLQ-X0ZYoaFdvxHpm_vR2guK42u90NeUUB1Hp2jy94buczxbHUWQ2RGlcMssVKzgRoEQ"; e_fb_requesthandler="AcI0FFz72lSuaqc2F7yr4LbltGkORlvqW1NLwGOx2RtYg9UvTBL4ok84lkWW1HDzOFBNJVQDbNI"; e_fb_hostheader="AcJ0pwj26GQy66F7P__o5x0BmzH3t4BJbsKpEbubQHAGh32mrXShpElmqe8a22XqTp-9yTGnQqayHW1b"; e_fb_requestsequencenumber="AcL5-vs-x7c2BMl8rtJICIx0v5L5NGbImKyNsR3dR6DEwkShoVak7PRElw"; e_upip="AcLwbZJCMjxrZY_ISU5x533o2la2fvStl6zy4mUAI7H8V38Hfk5p4nbYFtZ-7F_qXzcCeTyNbGsZwfqBMQvpYk68WQzFEiXhtg"; e_fb_builduser="AcKi_rgwKZwVj6sNBvGE4jId-nrpNXIKCJlDwmXZ3HdNbdBEDiJMTFst7UWKN9Sq5Fc"; e_fb_vipport="AcICjPwHAkSbHID1kjpPPuNiq0QrskfkNr2y-E5rmVj7P5XE6osspKUQEco3"; e_clientaddr="AcIn4NyWAg53ebHQWIOIuGp4YjjXLcYZmVRySIYb5a2fYGCTbvD-2jjIzdbW60VezGus9vctGMhYueYuog"; e_fb_vipaddr="AcJHrIcxNla6c7XRq6W3bE01gtmMRJE_G7FZMjtkqNFBuWpqMh7DlNB8DOSmFdDiKTNQuw"; e_fb_configversion="AcKj2F_ddgXFM84POKVz-Np28L6T3LnMwlRw7ABWbHPQN2v3PoaRKdEVjGlJ5A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=949, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26534022399578154"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 19:23:51: Error on send one message facebookId => 26534022399578154 09/07/2024 19:23:51: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AVQiTchivglK91dx_TQFYYA" } } 09/07/2024 19:23:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26534022399578154"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2840136, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Avy2MBHtq2b4MuWS1DQ1rRA', 'x-fb-trace-id': 'Eh6VyufSAQM', 'x-fb-rev': '1016308019', 'x-fb-debug': '3618Ws+/v3PE/L+MW6pSDBhsJBXhKlwtInszlb+aQJ9Fc2xRS91fLMdY+HKT9hlMwclJWh+NVLHajdCLmc75Kw==', 'x-fb-server-load': '29', date: 'Sat, 07 Sep 2024 19:26:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIxqIBOU5NEGoqqd1q6iJ3_FJ6E9WnDQdB5mWEycL1s-qQ3vcJEHQF0X2HtQoXsgekF_FtBMNaI5ASV9UsC"; e_fb_binaryversion="AcI55-ZxtD2H2xEudQLCoRvhU-dMI16j8W-5fKgTrTvhlY2Yt4a4FfDOKUMl3-6di39LWf-Mi6ErYJh9ecgq2DDGEAHE-HBzKP0"; e_fb_httpversion="AcJoNnMQul5PmiJJa3OhLtu2QmN5Xrgmm2zQEyZ-mDvzVFv6_jowMS4_hvzn"; e_fb_responsebytes="AcIdl0g9ZsOj9ZLS1AENTy5BYDVCpIELpmTDi2NB3VjoKG_iPWnnU6GPpBMW"; e_fb_requesttime="AcLO2NmU7-gAcPmNqIhyRRvsMiaJnC30rHUfHmsvAPi7CpcOSHn9fxBCMHpkb05BV25a9urXRQ"; e_fb_requesthandler="AcL8cXjbKmdoskiSldDj9WxjlyUglSkXCM38Wfpqjxsl31_eSRcmIn_EnXWvFivc8dMwJJbBs8k"; e_fb_hostheader="AcJi4PWnGCTCsMGKTh5TQ8Lm7EmxA6o33f_VPdR5dXJMBiflejq6rFlB1ZfeIaWH3KUiIOITS7Px1mfJ"; e_fb_requestsequencenumber="AcILuAopKC22ckwsG0CpZ70ccDRKYi9PDmoqpg-9HVPUwyAEKExyt3UzPk4"; e_upip="AcLRTZkPFp2slnofxfW5VAtbYoBJkhAhxF4vIuDcPW84q8MjhVyTmkDtIZioHdtT1ZUP-DEBMECPSWTVCQiOzB7YWxxxLCvBs4qZ0z4"; e_fb_builduser="AcKi3aAOj3VoRnuyztNaIbu64OUOnuuMvBOTPKYz8-FAY3JyACaC2YsIBm_w8XD3yOk"; e_fb_vipport="AcLSPZhffSxspGTkjriHunv5wbqzkWwcW_9Y7luSoklgom940PJTJSEjVCx8"; e_clientaddr="AcKCqviwdnx21XQUxNFkEtR7OSnp_HNgSXWGvdVTP2kTx9CoQDTapYX6B_9g5Lq-Ch3Keg3ih1qtA1Fbfj-MQ7_p1JoBsOqd6sG-o09yJeTQMAX8"; e_fb_vipaddr="AcJRbWqlIuChDBX0Y5x_-RrvImtdUcijBooVK85x6rbzWo1I0wLNjuSbhx9NLqMcawrH5bT98z1qk807x4FWGC_Pw_NnAvmo7w"; e_fb_configversion="AcL64yh1a5jngX1tzT3f8Tkoi0v72S_bFtqfejekfgdNgmBT8EVKemSsHGWGdw", http_request_error; e_proxy="AcK80XxzOwTP9SU_Fo0BekoobaDDV9UEGB37qIIg1Sj0LsNeKFDh4tZ7FtM-wH3dWTW4tpxXB3jRskA"; e_fb_binaryversion="AcJmd19yIzkyjk1RjpXmh2QSlNIJ_baHqKDY6AHx9zzI4ziOhsxD0cSg1sEPgwwj-qUKGsvyT9mC7f43tXecbzRzWmUlXArsVrQ"; e_fb_httpversion="AcJaf2NECqGtHqAPPgEL2ySS2yFjL1INP2ScN497XGUvEc9AZofJH2Oj6H9D"; e_fb_responsebytes="AcKe2Jy-FlrOivPiaWJI5PGYom6nhCiFKfV2z5yjrZY8j1E8PqxJItdKB7O2"; e_fb_requesttime="AcK2Q6BAirtjzz3tLYaSSxdupNRYjjY82ytH7hXzBLxPnNlk4hA-NmSnff-_5V7r7Yq4TJcyyQ"; e_fb_requesthandler="AcL4D1ERetU2dlECbrbt1AOSrbGl6n9r1_Bw6nDyKOnqJjgaoCMJraMyVt3IW_GJEyPy1JvRsZ4"; e_fb_hostheader="AcJLWui9hQk4wo0SIHxczDj05lV4XwFKxSxhrCmEHN-elU7cfI6F4sFuER082bJXtoHhjliqLcZ_In3w"; e_fb_requestsequencenumber="AcJHeJbSEQ5w5F5uTxFTN0Bc5gX3ulWfoudP56O2F6b5QCpQy4am9oP1UA"; e_upip="AcJ_q2_nBQbjy1894Ozne3iks1420BnWjvpFb9u4yokYhmnlhwyL7yW1SDG6qyi-mTbc0LE1d1vQtG4XjDizlYsMAEOifKQJ4Q"; e_fb_builduser="AcKUL2eYlh9RabN83blLsrmmWlPbMAEGITMWq65bb2y41z7-8KtNE_J2VhHGcRiY6w8"; e_fb_vipport="AcKtH0axz-JVqvzIYXpH2IeDnXSmXrNtJ8wrygZyDCzZIJ7alas11jqePfAG"; e_clientaddr="AcIk2X0c-qTZEnTxNboxAUeiWOISVfRvTQzUofVrVF5kvoIPhp2YsTmnytidgb-nyOK6DxvQwHNxU__8rA"; e_fb_vipaddr="AcLKzHxKqrV1Q8XDUkGQGM3cEuRibUrS07SNG4K0TsSqGPxj3WjKGuIE1vUZwVXGsJvV0g"; e_fb_configversion="AcKFLisay-A2lgPekMHi7qhi7ynMd-i_3r-r2y33Uw09Ak9BL5e-KQKaUVF1Vw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=185, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26534022399578154"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 20:01:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:02:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:03:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:04:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:10:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:11:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:12:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:13:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:14:54: Error on controller payload Input Treatment=> type not found 09/07/2024 20:26:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:27:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:28:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 20:29:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:10:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:11:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:12:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:13:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:14:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8247747225271346"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2863928, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiQPSzuCLPdKq8XNBMfGz9I', 'x-fb-trace-id': 'DTnmzFafP1K', 'x-fb-rev': '1016308393', 'x-fb-debug': 'vaFiD0aWlCNOtCBoNYFjTY4w4A4aNLwlZ2TPbif6zwrqyiVVRe41yyXdpJQclo41An1gSULSUEVvjch/4TgAmg==', 'x-fb-server-load': '25', date: 'Sat, 07 Sep 2024 21:17:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIIU__a1NdRjtfyn1CRZwqBpii3J3sEgCcdCQ2_0wRtvutO0gMgl9COtyETZwgVinE7x2dMLL7urlEk2Mg_"; e_fb_binaryversion="AcLZDfIVxR75rwL5x_ncwXCIEqThbrM3Oy7G4N84JwiO9YMUdGQmlje2jKQvmBb8RQzdy1BZEQU7jjTvaMH44LImd6jj9jJdBS0"; e_fb_httpversion="AcIJpFfX93F1wPPSo3EaU3LrsmZlPRAnRrFyerfMtyQEc_gJzrZp9zM6blNt"; e_fb_responsebytes="AcL2K7LstT2ZtZh14Pgu7VgBCBQG6LieQcKFUISvAO-XcODDIkRp2r6oL5Ej"; e_fb_requesttime="AcI_tf81NnlI4ihIC38hxEew4FQP7D6wpJdyGiMevG3ItT0SerG8XfwmAOD2MswAdoWG3ARQWw"; e_fb_requesthandler="AcIxVoiZ3gFL72DXHX0uA8yHiTskg78VQQWKr2MoAISWR0byRXBcWTRoqPOJ_EU01bFgM1pDQQM"; e_fb_hostheader="AcKUFQSPSszrUbGfoEQ_mCLPKmS0G61xO48mCIDRBTLC5-bWPwzG8c8AoEGXt9mp9M3zj3fRa-bnEKwS"; e_fb_requestsequencenumber="AcIC6pShiOiZO-4pJXXgs0v_FIW2O_Si2XSD57kuZYSpx96q9aNLGSwCpkQ"; e_upip="AcJPnhZanATP1lPN8BrndHMdO0OeN7Qs24IMSNLIJ-1cxqIeff7tjzLSLCV6CIWasUzO7ruzGM50dmofasWiw7-2kxBmTQfVAKfJnSE"; e_fb_builduser="AcI9lftArUjzS0xB3-hJqiDAGrMxE3pMs9iWZStEvLVKibDOBhhfR_mlZgeK5h-qQk4"; e_fb_vipport="AcL1wqxZtsLuHScCgow8Ob7oLCDa0pL0w5svw4Cwhn5QbCdiG0CSqsQFnkU6"; e_clientaddr="AcK-KhXzKG9UKd6XRgYekEpv_sM-NSOjYHsQujfz67Wc7eL8HQ-RSOgmfDtas-96QHvR8byj9qAc-9UsTylvCDnVXQrK7q1Tdav82juYaKOwg7QPUA"; e_fb_vipaddr="AcI4hPP925zIB9widCdV9-dtHNMscne7CXl2RSF6_Cje2NOaMA1nE-_NYsLrzkcwIqJD2gLZq-B4ktaYkOCb5YFu1_2_ZPJPbA"; e_fb_configversion="AcL641yGZ2h-sA4x7Zg6xLIKIqZgUSFjfTnP5D_ORqIjRooRpWQIb4Ipl0gz3A", http_request_error; e_proxy="AcJ4I7v_S7OfQbtTQqWr9eiLMxWYqLfAf4GcnfDnMBBtfTrsWY_r5oa05ibIICsf-klPkJlBPKqOHiI"; e_fb_binaryversion="AcJEREz00Cxo3yCdb-Dt1KCZRxRf-o80uVk9NGzYajpJ4LOvMD-d_hjWgKxGa_AE6YHjd5w6WE-vrmo1k8UoygiHVUOqFPA_dls"; e_fb_httpversion="AcLcdDJcqXuSznl1fq2_V3q3T-XekqVYQtjv5d9ryDAZ9FAvHjKQdAMlFJ3n"; e_fb_responsebytes="AcIRf92VcvkW_Qmq6l33n0JBM_-rjFgaUmEuttxBitT3H1Krv0-d5w81vNv6"; e_fb_requesttime="AcJbIvlYE0y1yn-zafJpDKxFobf-nPbgMhf45taDSM66gZPxTM2zwrBXxBtIFOJ0mOHwzUS0NQ"; e_fb_requesthandler="AcL5IG2SREUV6GXik1_xKH21fz-094tySjFXN5RlnkA5Of0H14WWUdy578FHdNSaX2DHOj60xTA"; e_fb_hostheader="AcJ1KFwQaI5QT5ZS7jbt_d9eONn_ML_jjN9l4lTLCB4u4jOEAS80aadJJSrgPfTsrtodv9nJwa0_bkPh"; e_fb_requestsequencenumber="AcL1fVZFMAvMEMgyyAQYmnKrP2FCrLJnxA3pCcEKEX46bigpxkXX7mphyA"; e_upip="AcLiBFw05hyy-B01sjQdDO6hornbozgWd5Aa1RuSC9hy-3V67GoH1S2UowMefRxDoTkXA8GXA60FH8ypJ082_4aTVIWMHaPXjg"; e_fb_builduser="AcI3MK52iVRKzWpA40sOt5XhbysDxX7l_Yvf5DdvXis96TsvPe7pFL1Lj1jhSGUNuAU"; e_fb_vipport="AcIL9T7N4pQ-ChCkPbJF0tbvvT8JhS1JHtvUge1hNUTq1R7u9qor5z8fvAEC"; e_clientaddr="AcKRzqBIRTAGHZ4iKBLx6IRAqD9oJQbj076Eutmo2OtkFZerB-kyQF8b0HmD_U_tJK-GZyeQ32qNuaicdA"; e_fb_vipaddr="AcIGuyDMnyLUxxBv8RZlYZuWeK9lIR8cxg5AWVKzdVybDbUp7AFswV-wbn_Mif1pZu7Ldg"; e_fb_configversion="AcJcPa_pFfJ5wn-Hv8XtizMvscPEryjSsKeQojGYJhOuzMd46W-4R-5jdukG2A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=253, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8247747225271346"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 21:14:51: Error on send one message facebookId => 8247747225271346 09/07/2024 21:14:51: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AMATRIwHQhzB4eR2W1TOQJL" } } 09/07/2024 21:14:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8247747225271346"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 2864097, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Au7b-_AM_6HeUH6ISLgIOf6', 'x-fb-trace-id': 'B28HIg7KFCc', 'x-fb-rev': '1016308393', 'x-fb-debug': 'KfvPhRA644AyWDhcnPYs4N0jdqMuE/UxFRSzZKOqdymtcpr19/+gmRAleH9/b09My4hxRRFQ+/cGGL3siB0DBQ==', 'x-fb-server-load': '40', date: 'Sat, 07 Sep 2024 21:17:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIYBPmuifWNSEnHbAvO3BjFosH1fNF0ztbxgexov9Jl90VaClrl8eZNnHQt_zlvIN2Xic4Vm53ZJoD6ibw"; e_fb_binaryversion="AcKjiVQPcrJp25WD3hqoCpysK3EYtzxcidjy87CO9-FGwupfY8iE2mIqO28bmASKpjbdIQ6gSbuY2E-nLDsmjJxre70VUzODZgA"; e_fb_httpversion="AcIpYDxfrR0JrsGwx6Ziv5pwhMw1wdWQkm3QOXkxlPte4y8G_Uk5R1GM2bhI"; e_fb_responsebytes="AcKJ_iRA2WSgOVKK9tS6QkAK-7jjp0QhyOH_ixPIFCi9Vzmy2gghmS1xukjn"; e_fb_requesttime="AcKOO5EWUm0riaBGbCjbepzlePZY1TUCwy8D5rR7MNKG76WSCrTGWlgEy-NEUoLU5ZjsPSZgtw"; e_fb_requesthandler="AcLcuKXa5egE7lcXr8Oz1UBacMc5aKSkLGl1dULi4kg5SCLCYzTkHl9ZtuVwi2DdikPWNxE1g9I"; e_fb_hostheader="AcIjXd40TyBQk5oDGax18HETlZzLhGXmNdWXqaKs8L00St9scVeD-tNQ0bxnfWly1yQCR838-9W3w0gO"; e_fb_requestsequencenumber="AcI0tWKVbeSxqRGbK5viHER5kgGmn1fIPlgY0sc8fTMzZq3kjeHsyAKQ5FGj"; e_upip="AcKPYRjB2GUfWR5dN01KEZt7Lb7vB9xz599Xxm_HqlKfZBGc0GZ57DQsmTAy5F_agTdvWgAMbQXihGoR57q6EhgIXZBskCnY9fV3"; e_fb_builduser="AcL9nUAB1_G76vg7diCvFjDn0ZARRDAinPGT9HP96IH24T83_ZuJHtGE_rl5WnGe1I0"; e_fb_vipport="AcIb0bSYtARsUN_IDMeZsN4XNuwAzEj6xmR8GUhq3YT5-X0LH_SRFgv1tCqx"; e_clientaddr="AcJ6u4k8JBPfrNF1wBehrA7Wv3tZnNwBua1fmKPkYUcaaTYd5M-fUFlG91TnceoCyk3ZBzOcFJuH6czLTqOtgs5hPcUDR6K5mMPHtXH3t3mBKHJtOw"; e_fb_vipaddr="AcJeWIoVoqW_DrXHHjyDycTb2qQRJDykn7TqADVHYhTwh9Sm8wB0B_WiUghEURIMyPoS1D9_4B7gjng1La2QULfKeQrIC6OlTA"; e_fb_configversion="AcIiDBeakIzOe-NKVsSMzdzZ-B3DVBalmFW7WmA9fDnJLVDnQZIBJOnrlKDd-g", http_request_error; e_proxy="AcJm3dVLZo21t5K1er5HFwhm2CjTMGHFyAY2-YZhZDlQxRTqDzrAY-8mIcdqIfJKfvbdxgs4-DBfuw0"; e_fb_binaryversion="AcJkMi8u2eYBjv4QuQzVVJ2KWU3PdDCG3aterKCRDNsvLjJIWOqsk3DnhEyp_l2TiZ161tULM29aL8hIxBCKaz8W2ZlStdPzJ-c"; e_fb_httpversion="AcL8EqNWCIgfWzPCQHoeMNemXAsMRp8OSIWatHhGWfDCYb4AZvF_Hjx0Jkvc"; e_fb_responsebytes="AcILTt_G7z_mBxHLEtHqrCd5xntaQRwCceuekXGmShRONtLYOYTKOd_oSpqW"; e_fb_requesttime="AcK1_MMH0f03WJH6eKL3yRPqXrt4VrGtL7xZj65el4PDbinEjDglpbUv9H6cGb8S8BZ8note8w"; e_fb_requesthandler="AcJvkB_5M59jC7JGpkGX2wJ1WvZnfVVY33jlQ9bhOWosP2yy7gH-umUFR17WueQvdnZ9W2gK7kk"; e_fb_hostheader="AcJdcAADA2yMS8IwhLn9Exp0rHUNwe0U1KqMOKIrIEWgOpeZNb9JkuHvFYB2pC5FxCaSni-_OI8ykw73"; e_fb_requestsequencenumber="AcJJdgiP8kkfSliLfvR0Y7GuBoBfC1cuNJeZkCR9EGCAzhlk8juYXuPgZg"; e_upip="AcLqoVd-TPlJIeT6R9XPpgfIHvjHrDiCX_ECaIdEnaGtDuIniyerFk4_iHGefYYMrlAf3l9vI417GGbdjne49ydAGMaSN6VHpQ"; e_fb_builduser="AcII85viGGvs4oGmDKn8X8wa5iFzO1kLtpPWkb-SfXMDzLLiDG7Fcy1E_gI8b7W64GI"; e_fb_vipport="AcIwkYVJYMsQcH3kbNVh27ZmtXZ_-UVNmQdxMbzgGUinCoLtwjTrNT-6UfLI"; e_clientaddr="AcJyPkUWHGe_2xoRjrV7ib5YfrJaEVc4maGU_ykdQDdjZA6m4kTN_x4JCf2fv6SHtHUOKHE0ArEQ_o-XFg"; e_fb_vipaddr="AcKKivjybJnmBkPRQVY2b-bP8jUJchzK_FsWYwEH5JlKDXiompVPdoh8pGbNyIPPlQ9_Bw"; e_fb_configversion="AcJiqbn8Qb1sllm82c8HtDwFlQ_QbhmglwSIM16fXxtcP_4PJFcj8Ckv_hgRjA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=309, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8247747225271346"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/07/2024 21:26:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:27:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:28:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:28:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:29:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:29:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:30:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 21:59:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:00:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:01:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:02:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:11:42: Marker: 0 | ID: 66dccf9e11e0a671f61be912 | Error: cant_get_message 09/07/2024 22:17:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:18:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:19:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:28:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:29:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:35:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:36:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:37:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:38:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:49:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:50:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:51:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:52:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 22:59:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:00:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:01:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:02:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:17:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:18:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:19:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:28:59: Error switching inputType 09/07/2024 23:35:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:35:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:36:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:36:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:37:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:37:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:38:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:38:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:49:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:50:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:51:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/07/2024 23:52:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 00:04:19: Error on controller payload Input Treatment=> type not found 09/08/2024 00:10:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 00:11:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 00:12:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 00:13:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 00:35:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 00:36:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 00:37:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 00:38:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 01:10:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 01:11:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 01:12:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 01:13:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 03:51:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 03:52:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 03:53:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 03:54:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 03:55:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:11:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:12:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:13:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:14:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:15:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:51:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:52:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:53:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:54:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 04:55:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:11:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:12:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:13:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:14:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:15:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:51:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:52:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:53:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 05:54:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:18:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:19:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:21:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:31:21: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3002574, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 08 Sep 2024 06:33:31 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/08/2024 06:31:23: Error on send one message facebookId => 7852221808215063 09/08/2024 06:31:23: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/443b3c70-6dac-11ef-9dd1-ef63a8a0658f__1725777211831.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ABhJLRxxHZJbYCHCEMKFD7i" } } 09/08/2024 06:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:33:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:39:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:40:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:41:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:42:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:51:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:52:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:53:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 06:54:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 07:30:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 07:31:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 07:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 07:33:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 07:39:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 07:40:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 07:41:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 07:42:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 08:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 08:23:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 08:24:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 08:25:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 09:22:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 09:23:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 09:24:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 09:25:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 11:17:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 11:18:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 11:19:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 11:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:12:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:13:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:17:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:18:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:19:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:45:07: Marker: 0 | ID: 66dd9c5311e0a671f61bf1f2 | Error: cant_get_message 09/08/2024 12:51:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:52:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 12:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:12:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:13:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:34:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:35:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:36:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:51:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:52:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 13:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 14:34:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 14:35:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 14:36:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 14:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 16:56:54: Request bot not found: { id: '863113247096430' } 09/08/2024 16:57:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 16:58:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 16:59:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:00:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:09:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:10:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:11:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:12:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:13:49: Error on send one message facebookId => 8365274126842994 09/08/2024 17:13:49: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Ac9FIhp2o_diYMmedLiof67" } } 09/08/2024 17:13:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8365274126842994"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3137002, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFlyWG3JIwABs1oDIIr47TP', 'x-fb-trace-id': 'Ah8MtaoMrQd', 'x-fb-rev': '1016317167', 'x-fb-debug': 'mBlKKm+wLBLtyuYhTwyzP6/cnj+7zs0cQUBpC+8bBA9KqSehx6UVcxbDKGobvhPFsoR+PYHayEh1VVEOozd6Aw==', 'x-fb-server-load': '39', date: 'Sun, 08 Sep 2024 17:16:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJPIZG33A25KrXCGiXAITGs8TvfjklnPVO5siRPDQF7WoODaI-IpQ-lifq9dxax2UXfGiR5xrwfoL_VRQlL"; e_fb_binaryversion="AcLJPJsXBf1YryKvHpBAVLPF692KSFcd3VCJuZbi5fgvObhAYYvkYqd9irVktguFwNQf3y1WCLi9Qk_0JfhpaZNhkHV4nhYkzSY"; e_fb_httpversion="AcKdRq9qG2xiOgvJ0Zl7HDsqHw5kcuAkhITc7CopvXxHE_nCGR19Ls8d3eL8"; e_fb_responsebytes="AcKihnD8hbfe0VPTxs3SRd8bQ__iHeUR7OT-9ixObTUWaVLDQWO9aRzsBbS9"; e_fb_requesttime="AcLOonIFOucZs46noPsSLh0jNxacWdernCjiQ0ZGeaIrEBgaDQQIoMtoXxgA3Gg5RuO2q9wB4Q"; e_fb_requesthandler="AcKKXn29UN96J0XDRhuu3_AoHadUJ_GWK3ikxsd7E_wr5eazCACXJzcUcYtw3qOjDy32z7np9oY"; e_fb_hostheader="AcIKiKvvkl8LWnz4IyqTihq2O3gizba3FeRvNKiQxY3ditHIPe0823ln8IFTgCcmVydJZ8JlHhQ2h4xe"; e_fb_requestsequencenumber="AcLGsNk8MR-I_0viJK0Z6YlpFqQL0qUTWBCx-lmXKKbhyBEm13x0LFsAPjcy"; e_upip="AcJnxewchvIr1Ug8NRrRpxmOo-j0Qk46S1HDkzPe4bJoUNvtvehBCU2iYwj1lh2KD2n6jyxGuHnwCk3dXWLNn0yjck_wIirIweTZbw"; e_fb_builduser="AcKFKLXghpGSFGJ1YKHdLiEhqoTd7pevWKS8Xm307cIiUm-_pDPEsnNQ-TdAIKdA_8s"; e_fb_vipport="AcKYBD20OLC8pyPGgK2Nw6Vx-A6tQiPelOoq-yrN-OJ0mmGQFBORUpvu31ai"; e_clientaddr="AcLaJ5KsgnWataqQSFYRDFJYmRC-bixc-GGCUP1JRb-K6Mj_E8ckqbfgG1jeHlGMvs0nvGGAHdpMC789D_2UZ2Z1ZL-smWrAvZfW-3dwTIMQH9ZI-w"; e_fb_vipaddr="AcLfHMvtUHAeQ26ybvSb7IqL-mFqlB9aPb6xRS1NOIJL7YaXoRW4v6AwyGszZKu-aZbyiTB7Qxn3F2T-cl6voRlvFGn6Mckong"; e_fb_configversion="AcKv-JD80B3-ZC2WbkydKR6YOeRN818luyUH_JEYaAfxdS0K2CYKMjBE9vRGQg", http_request_error; e_proxy="AcLUtgzYxp9A19xdoK3lFhvhcy2en78gniW8ek3jC3GyIZHPSkzMY2CK7vjmrnHoNgSAP6ime90bgR4"; e_fb_binaryversion="AcJJ_Ki4K6r8WHxyvCnKC-B2wcfHerxIDbzNSetg3iSjBR6vTkkeNblt4b25bCgZFWX4xzgkDYFY2jfIAxhTDjTICJZ-unGVzQM"; e_fb_httpversion="AcJOEg39ZiqdVEhPDwnzGIwsF7r7nRbgbg4RxShC7-afuvTpb1BIQfFfi38d"; e_fb_responsebytes="AcLomTsElrYP9nbWxWcNS1cQLouYCzYY_maMDd0XTnPCrDsC3J9xsgY2Tz3E"; e_fb_requesttime="AcLvj6DG24TDREqNj9j0yrO1FSyslQComv3xxJFTZhgVJdxpXnP5IDHe7OjN8GdCx8FMWFziFg"; e_fb_requesthandler="AcIGoMpAy9gHsio2eiFXSQ5-FWU2EhpNvnUtnlOY9-s9lOvg1FM3lGmom5bS0J5h0g_Z-8x5-UU"; e_fb_hostheader="AcJMasiecwcKba8HvzB7TV46E6tti7JdvLy6laO6KIN5I2ZvPOZcCtg0Z_QhH2yRSOoMSk9dx2-i8od6"; e_fb_requestsequencenumber="AcJUZJZhplmP7SGON5ky5RuUpPipMTDt7II3ruCS5PeMEUxWZimdbRHMlg"; e_upip="AcJ3TDWKpa7h0X-Erc9NziKPl7J-_YAOY4ejAKVkHXi75G2E9DbK31CM6jX02WtWSMbFObjDPOlBrWY3NCfrXXvbCvVh18fY1Q"; e_fb_builduser="AcImebMEtDBb8h_5qYWkXAlp5I7n46J3U405LrPKLPdLb5IhgIdc7F8AQw3XIJB_pZs"; e_fb_vipport="AcK-FP4dpQwZpcjqhw2tAylQcrz4AyzqB1hWzen8u1b5OQ0EoC4Zxr_0FfoU"; e_clientaddr="AcLdeHX-BSCOlMWUXWYPGr3kShRaM1AI1eH_G5COr4X5Szuma6BsK7AZh3v9UBVx6waWri9HdM8Jqm1WxA"; e_fb_vipaddr="AcIBWBgCubS3-rGfpdReh6H-rxc7H6dzu0rkBHqrgLD0bU5qb-QtVLUMuKj84uYP3aWp5A"; e_fb_configversion="AcLd2s5OhJqp55Bw7zhOnavwHiqPkSEs-TodcgMXjsi-hiALfOqxeTlQL7Huug"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=359, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8365274126842994"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/08/2024 17:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:17:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:18:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:19:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:41:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:42:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:43:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:45:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:52:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:55:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:57:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:58:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 17:59:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:00:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:07:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:08:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:09:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:09:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:10:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:10:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:11:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:12:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:13:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8365274126842994"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3157648, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8yrPmVfYG1pIkHvO-RFM8E', 'x-fb-trace-id': 'DcAjZcmP91u', 'x-fb-rev': '1016317167', 'x-fb-debug': 'oHQbkcKVAAVCINUxS0QnZXmzfIkT6QCwCxw2TV6p/AWNJbRlvdrbwVdLkFZMx2rpTL/Pgc2jz178kz5xiwcZUA==', 'x-fb-server-load': '32', date: 'Sun, 08 Sep 2024 18:16:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJik3fkVeO4o4p_Cb3hjl-Xp9A1aSBcg5OeDGoUn5H1FVyexTH2KEX8jdxD2F2KMr8A9_QC5GpW2iT_Yus"; e_fb_binaryversion="AcKs3tLuUk8MkaT61fPMVtydWJtPQyL-BS8yAfmXAKXBA01R1radhllj0wVVEDNIJCfwiKQmn-hO_7oVqrXwJAJmqgtkUQs1-5I"; e_fb_httpversion="AcKDhqW4LATklcR-eeb8XI9fiNv968fprjAUakbHXIuc7SH3VKUQDm-xdRKB"; e_fb_responsebytes="AcJdCUPcNFAQU7B1-kBYQ-tD50nGaC5Qu6mSW0aYDdM7QpMi16UVDS34kTyU"; e_fb_requesttime="AcJoLBLVzteu0W6MfeIBXBQLA0jXyoDGPNopiCR8RJ0W1iSTleK8WbvsSZQbIcU-dJT5reD1eA"; e_fb_requesthandler="AcII34o0DYjIppZa3VibkOe1bcMAWYXBIDx67Y7tZk-CX7qd17fH-0cbCVaQCBR_Di4StcouKK8"; e_fb_hostheader="AcIQsWsUt-dCi6Qy8nMJttSRaw2CIfhfsGibkMQzDf_3zckoejKwlCwIHdnSurVHK0QyX03TPEf8UxJG"; e_fb_requestsequencenumber="AcIOv20BXL0-2qCFuMrtV5HP2nXi2QW4h_uVFt9nj0EcvsERJUtctYpRWaze"; e_upip="AcKCvJ-GnRfdZjobIVcFMT5W2b-BGuihYfZuGo4yg7cXqvJoN0glEYikpOf6AwKJtlgNEgiiUlgKq31Q_MPjlXt3P7ROC1Mlw8HJfV4"; e_fb_builduser="AcJ7ZBZlAUkgNwUxvAO9818Bh8DCDOfgc1OAFxen1Mzbv4gAtz_aBcY_B9pVirrEN4E"; e_fb_vipport="AcI499EWGnKrj3NqCB2VK7MK8B2idiv8p3fdByPnkrSRFDo1AVgxZoqF-4O5"; e_clientaddr="AcJdgvvbEXhd6tmaAReuM7W-eqwuCLHqMVJNLyQhoJ2jhOId1uEd9hsQ0X9ntxys9_k38aTliSBh41wVjbmAkvNg3fM9zTMsYfk3Bif3lIS8qa2jpQ"; e_fb_vipaddr="AcK-5P8umYZV_EXIRLJH_kfVAVW8H0vdtMJlfIgj7iTOWbdSuG1oVv9ZrF0AbHlMoXu4XLgQPzsIInXbOJjA_YW5zR8vDvzM"; e_fb_configversion="AcKvnFule8uZsvnTADI1YpAbCSnTEvFEozOI3p7WjAHCGl3rCQq2SpCfyAywNg", http_request_error; e_proxy="AcIdIJCenN7k8AYgsr3Odizrf9fqqfNhYGUK0mZ3POq6UrY2Q_FxPlvWKzZuKCbM_v6tSfCz3Sjy_i0"; e_fb_binaryversion="AcLRcJNMQ3Qu338AcB8Wn7lwjSk807KAWbfHT_S5R_QEChmtKC6G5b7q0seNIzgrIcU_rFfTb00rD1mErYVACRen-WHEzPdd7fU"; e_fb_httpversion="AcIqVJy8xKyNhPJYyj9Z--3ftZBb8nTXW4sR4L0zjbHuIv-7oyCA94EiAO0G"; e_fb_responsebytes="AcIgCm_zqydDidGobe2wMpH6g6GTntOVyTMYln94mfsGIgDiLrcnErGwE7vI"; e_fb_requesttime="AcL_rL1Bk84H6Cybv_nPQPDOz4YlFEEXA1debyEBtUaOs6euJm4Nir5Gf8Iu_60Ls66Q1D7u3g"; e_fb_requesthandler="AcLQQjkJD2rmmtuTJ2m2r_InO52-BkMn9kqK8ALiaINQO9vOT1SOTK_2mC_fH-t3pEIea7A3yno"; e_fb_hostheader="AcIjD-pXpszdQzwiOExdHbIyL9ZXP9siEO6oznl6FU8tpXj8KmYaQLe1aP6LG9T-oJjzsHZ570rSNRBO"; e_fb_requestsequencenumber="AcKI6g8dAB0BjAzksT1TMkjAdtidHKZeCPkWENOfh0UYrKW3FiWbV39efg"; e_upip="AcLDsJwyeFZyZHk-clVMqO9By1VVQC1bkDkhaqFgiA8pk8YQDH5NnyypPW0cvhqJHafnnEnm3oGQo-lOn2o4B0iYGcjzIeqz"; e_fb_builduser="AcItVM8xSxQ_Q2Vfei38zYgmhQLEus2RPcuOt0-pmNAnz1gOOvbOxNkpBIarYL23MU4"; e_fb_vipport="AcI_0X8QnC8MZ5y6gxGExzMDordfWtEF7EMA_p_-vUbgcLO1jcDCdAJ3Hbah"; e_clientaddr="AcK16WDby0oKKAEovDjpOlQwGUv2PHzb7TeS65gqbt-1QkRdw3YF-lWfMOr_Auc4rFD3TXcNyvs7IrTm2w"; e_fb_vipaddr="AcL0cAFF8mK9rcoTJwAGVzn-rPD5fpKB53AP0Ak_XPjeeoZtu_kvUJdqpULMKXoalqAJxA"; e_fb_configversion="AcKyVS_WLDzj0tJMlPn_9OMOKCAq-bxU_aSzxH6zFYMixsoPiqRDV-Sf4EQnpw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8365274126842994"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/08/2024 18:13:51: Error on send one message facebookId => 8365274126842994 09/08/2024 18:13:51: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A7AU4lfUD1mmWo_pqckasT3" } } 09/08/2024 18:13:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8365274126842994"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3157814, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A5JQIt_GKUQsI9EVgSKPDsq', 'x-fb-trace-id': 'GOleEFRxQ2L', 'x-fb-rev': '1016317167', 'x-fb-debug': 'tLWpUy4B8pcMu7AQ8u4Ufw0doBYcbcFlbRZfjJhFIVBPO2EXz6Khi426Zw49quSr7Ctq0n9uSYTsy2sLgFd0YA==', 'x-fb-server-load': '39', date: 'Sun, 08 Sep 2024 18:16:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLFdMWcj-r-EoFXtVtRWXs62x56IHkMCnsaM7qMpA0QCjG68cAThdioB1g-mJtb68seU-agKkrR1uQKEw1l"; e_fb_binaryversion="AcJCpjnwLQFBbtHclJKeQSTE-PHxYVLORtI-slrpGNDIHUIL91gywHaTt5mWBRLvIItb_dUdPTfYWzTlKsaa50nb9IurrY7zhh8"; e_fb_httpversion="AcIZQzp08Hh8R6I0IoDi6TmlRepj48sHl00Vh2UajqdPGML0CMU_DqDpeST8"; e_fb_responsebytes="AcIxgFKRiFXZa_2PV97VYSXMI6cf0Kr5k3-djTTqkcRdxwnskMT5XHA7q63D"; e_fb_requesttime="AcKOEhk0tFgyStUnT23TDVnMYFTdYEsTD803It0JRlk53AgfFJ8Xe8te9xbgwuKJyfFhxas0Iw"; e_fb_requesthandler="AcJWyVw2jw6v4Guxz7Yoyv2UUL0u7Rv2kSa245BHFKRAivLkUwGSFq_Z8fKmnM57HCvs5N8mah8"; e_fb_hostheader="AcJD2prVaorXIffD5Kkbl_z-Kt_TT-m8BiAGnTWHTQ-OIhaUzIlSWxEFOLa6UQYAxHD3kfwFc_sRQnzC"; e_fb_requestsequencenumber="AcLoE9Z1t_n2tDtfdsg-5U4Hi1Cbq04O7in9xDDSPtPhgrEhEJmxhDVUNahd"; e_upip="AcIk1YqV0bwlG6WHcyLSQjH7R0m6bfIS3Wf4V1UFCPRxtdI7G99uniqlb8P32HGBDtOzkcevjJwaFxmcekSGC9R712_LVVOTz1w2QA"; e_fb_builduser="AcKuhRfPOMvHJIlB6BzpOyWASbohNHFkU-GWrNcRPYWmUQ8hJijI5Qy1_mopFY30AkI"; e_fb_vipport="AcJZrnRyUvqJSgQ6MUBPHdfXrrWSTRh0FsWWyi65TD5fUeGJJ8M8ypavMWDD"; e_clientaddr="AcIXjrl6xMgrFcry52ZBYKNPY7VmjJyFIrmZgb9v6queSTDoQbAO6Pz-Un_Gk-rrhQou9Yx96lePdvXoIPkjX5F0SZSj5XF1mep6H_brtYRZ5lungg"; e_fb_vipaddr="AcJ0bzDIctS9C7ECaCxBN97xC9YV0eRMJWoUwgDOWYi-E1b0n7zXsHrLJi6q6vaO-85EarBvwqXAHyDbllAcnNr0FmSRqKpw"; e_fb_configversion="AcKzZ9tUasnJmmCb6xxLGkLv4Riao1Ornksw9PaaijgDYB8PY1nYb8ojh7nr6g", http_request_error; e_proxy="AcJ8XhxuXwO73gb_wK24o9pWm7zsbzetaMrLR2TTfgFvz-E-OuXDrG5oA7lVORNk3L6_zjskH9BYsPs"; e_fb_binaryversion="AcKqft55C1q-Cl0urnoO-HV0o1_sR7GHFqluCuJdY5MpbRvrk0iXKGtYfT7rEK298kv758oIBPUmhFLms7FylwvF31F-KgvxzDQ"; e_fb_httpversion="AcIpsGfhMm7Bf6G5qpqTV-5afdOV7sDu1GoBRmD-45-UunaXt-m775QDeaOw"; e_fb_responsebytes="AcIS-wPG3GGqoBzbpoWx4nVOqiihC6Na8kYy6C2YJjFL9q-dg9lLnGyd_UBF"; e_fb_requesttime="AcIJvkY0wfzeSy6D7lMLPdsbrxWAfXWK_osStnsg6VuYNNZ7Bx8BFiIIU9LM02AQa262zUR_gw"; e_fb_requesthandler="AcI2tsqYVb_14WAC4SjAEyNG7aNTB_d1Jxt06kEpOMbrw7Kg0F6CC8VNC32NufBQ_sYMaueliwM"; e_fb_hostheader="AcKMXlvb9OcayTqC4VSN-5RCj8RilY3qsxD6up9Qv_OJfNZpHbYepbWt_sCdJSNlrEucKe7gF74jSSli"; e_fb_requestsequencenumber="AcIVB7wMaggGS5lmQNkrgGyVfUvdel3CY_S-EeX9CBLaotuAyP7BcDgDWw"; e_upip="AcIoB32n95DApBE6a79zI9oSNfj6HTUTqhmsU8FUbaYB8MyTvYnkZ5XXLeL6AgP_-7sTcmff5j4CYcnKVeOMfbxTNlJrP8So"; e_fb_builduser="AcLkoanx9-bwRXj7hkQxNvm-eEuAcE_OOtf4s27xmClRFn-xIJX-vhBbVUnWCurX19g"; e_fb_vipport="AcJWFu0vxl8EpH5HBwfTsoVh7oaab2ccD9ROzuU1ka1qZWJbh-JOlhq31UxE"; e_clientaddr="AcI_aQXry_AxrPFv49F7ye4k-sI5QwF8ZMBTBioNPPRXCFxMfQAYsKLS3DWP9LgebPkn9yt35Gqh841flw"; e_fb_vipaddr="AcKpcj3-jzmPlHyEKM9wxxALjYHMOlV1qeJOa7rh8Uq9P2UEpZhPzsKX4u-2NMSSO-7qBA"; e_fb_configversion="AcLF0_w0kd84dsgR2ZgMAM4hiZZzZ_v6o5TrQO-PKounijAs3NFREmza3ATxSA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=217, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8365274126842994"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/08/2024 18:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:17:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:17:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:18:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:19:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:34:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:35:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:36:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:41:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:42:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:43:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:44:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 18:45:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:07:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:08:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:09:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:10:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:17:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:34:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:35:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:36:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 19:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 21:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 21:06:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 21:07:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 21:08:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 21:09:48: Error on send one message facebookId => 8487590351275194 09/08/2024 21:09:48: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AkgASKVoHKQqdWFvtupzvLd" } } 09/08/2024 21:09:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8487590351275194"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3199100, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AjJHf741Dy5Of0CBatdzEqO', 'x-fb-trace-id': 'GMMcrdA9QsT', 'x-fb-rev': '1016318129', 'x-fb-debug': 'jxHOBLeIhOKsfJO0qb+w4EZhkDWpXHk4rGrU6rCUjqw1PIV2UgYeiIDJ5+KpCdTDCWNb4+DxMtBSuhEB64TGxg==', 'x-fb-server-load': '47', date: 'Sun, 08 Sep 2024 21:12:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcK4hsFmMKH7QAC3V0TZ9hUMF66g489QQPsHKOwnAnH3jNcZvFSrl0NvFr2BfB-AiP1NEQVc1XEGnyk9TYU-"; e_fb_binaryversion="AcKI6c1Mn-npgNmIwPvL17dWWBcOmBA3dxhYyvUSUkCDw-pJcfC3cyZISI2JxVKXaYuRaA8cshxGBCKnRfW_UdOXydx5KPxqe-Y"; e_fb_httpversion="AcKTm0gYWh7n7VokinSxGxZbHbMWizFMdE8WaxoXlS5_nBCsMe4TSbkol0fa"; e_fb_responsebytes="AcJbbr2yUEmS1e9ckZqRyLxsMEKck1CHycYKdDCLwipxZdgOK2b3EvsbOyKl"; e_fb_requesttime="AcJY5ynanrjPEpwmpH5HkcGtYHj-NNcQKDUru1didb4mVtYsTbbsmxXH0IbDIqQ_XsvvVyN87g"; e_fb_requesthandler="AcKDfeyAOBcuKCiyQzKjP8VpWt7XqtkWt6Ce0IZx55cTAY5fVHrRKaWOHK67E4j6qyKDxwYcn_U"; e_fb_hostheader="AcI-M2MYmTebaqfco5x0bFU03b3AydgRHvsp76TsLCIp1hZf1UyVrwzb6Dzu1mYI-if8O8Xhd2zelXYR"; e_fb_requestsequencenumber="AcJMAkVOIu3G_0vtP4qItaihHlnupahHRDgJgVyHgtRN-WUMg11d8_b0kl3c"; e_upip="AcLg4OwiFydkW93aP3g0IT1Ki3DIFZGSwEXkLRtjSQNIRONZmxj0zjtWpUhShZxHWFtfP5z2xYFrerhsErtFNCUNPuzBO16CCUHZY_0"; e_fb_builduser="AcJIA5xwQ5Fl3v5FwJ1AjlqCih4a4nS0lFJsZBfcKCqHzb8XOo2yh843jtMjf2sePT8"; e_fb_vipport="AcLyZb7bfOclbXfHoVB5wbUYgjjO37urh0uhSu8DYL6nu78A5CYCuWo8haWy"; e_clientaddr="AcJxJFptbv6Z4c--3871zGW77lEoa9XIq9NKkktHSkdf1DJAdVm6LKEb_Vpw5gS21cVMeRXwyOW81F-mjHdWVcf2fvHzppDyKjlvZCLD8aYTit8EsQ"; e_fb_vipaddr="AcIYR7yh77peli6WQtFmr3BK7Vj1d3VtL_y-R1gshoVxeN_0CE6_suOJyHE_fhXkSp_gUiJ8v860I_aW89CkMA2trrEUFtlOUA"; e_fb_configversion="AcKBVv_lrsATOZLGRRevoyKDD6OXobyxRWTNK3RWokrpk1e68CiBVqGJtaqb0PPHfMQIqUmD-CKORJ0RyJENXV2S8GbNeAgxNL8", http_request_error; e_proxy="AcJsZL9kqibR-chanhg3TCYZguMCvh05VWKqJ8FzXyr6ABYVd9DQhKKWOnYDe4gK-qw4gumj5MuK1U0"; e_fb_binaryversion="AcLycxO04GVVJBknY-KME60YLSA14zWkQPgHfIEfh64q5gDh26S3CkWliS-tqjTK1hXVWGXxGA751Oi6nUWVlXnU6frtNXonpMI"; e_fb_httpversion="AcJ4wTJLOyWp2DtRJlU4938IsajN9J3b1vEWyI9C1wMpqU_05eg_0SFAJbT3"; e_fb_responsebytes="AcKt9kLRLCb2tXOrU8tLtyniDJfx2xwCFjSRwwQrJp4SPcr-25T9VYBZR3FN"; e_fb_requesttime="AcJj8iFPqi3vXnxtKsDXxwS3z5lI0z2zP8M-RDCIIhEPDb-0CBiSRkIRsKWvWueWat0AYn56WQ"; e_fb_requesthandler="AcJXgjQJ8vhCVfTeJcxMwenEMbmue-Z66iSoO_pi_U_ODNMFz16alN8uE1-ZuK2XIp-hJ3PgHtw"; e_fb_hostheader="AcK43EwYUuBNmNM0dlrtHe95JELD0Zj9-a61nIC4djbUDHzScQ0L_MGSwPDdqNzLE3ZHmz8Ktmb8hWQa"; e_fb_requestsequencenumber="AcKSnJ3FzWTu2QW82lpL2l9PIT7GwA5JXPdEZGkosZBVQJPkFCE8rP20nQ"; e_upip="AcIXOmOXkrW8sy0zXAaeuLabmz4ZCwQ4O8fLR9kVNuFX0p5tROwOxxjKiH7AfCa41JZGt15djaJYOnhKBz0fyG0lzMqOMmHCZA"; e_fb_builduser="AcLGmRS2fU3iMyWKtAZN5ZYgPEsdK5Fl6h76usk8D6jDbqJkgcGrS_ZGSB-_K0iiD7A"; e_fb_vipport="AcIxXEbIkvYVdnELM87i0WAXcEZIriEsBo2greHgBenqFqc98a0bL5M8Nx6F"; e_clientaddr="AcKCf2y3yCYC-wRanD-aoZxdCIluD3L01dCBZ7HdFyRGxZmnpX3cUueMy3GfJ43w0V362P1ZtEL4YW1nqg"; e_fb_vipaddr="AcKC57ewgL0tSo8dnnt-05oVeIy8Gbq3MYRA65DZLHFKMVIFlOgZ7ztc6iesVMJIxedgRg"; e_fb_configversion="AcL5cRKOPSeOR50pOann_2dvFftKgKyH6lQGZTO_giSumIBRoo8M6mETnFvrMw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=225, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8487590351275194"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/08/2024 21:42:08: Request bot not found: { id: '863113247096430' } 09/08/2024 21:42:37: Request bot not found: { id: '863113247096430' } 09/08/2024 22:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 22:06:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 22:07:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 22:08:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 22:09:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8487590351275194"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3210397, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AUQoq7Rs6VfSLzpgcDaonsj', 'x-fb-trace-id': 'D+motqHpp7e', 'x-fb-rev': '1016318537', 'x-fb-debug': '4SmvDow7xYeG1Wj45aMi1jcLZ6yRJxs1dPBIlW7h3KPaCqNyRUuf2srk7nyFr4I21ott9Z5Np4qZ1BhP0qWD6g==', 'x-fb-server-load': '18', date: 'Sun, 08 Sep 2024 22:12:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKIZO8LGTziiyyLADsyEoDE58WETvzqT6n9osghB3511WeaklO7PCNoL1TnROSHAV8B8TwdJseSWT_TH5yc"; e_fb_binaryversion="AcKBRn4Fx_Gs3ZZIVBc_UM52GDa9o0MjT3knFaw1onCj9ivLODT3S3d7iu4OztD5zxoq9tSobRB1oJp-H2gGXaKKHq5nO8MAgKM"; e_fb_httpversion="AcKm9Uo7D-VUL1gf6FuX98KzSukl3iEL5TT-6E4x6bkughlg-Ck-mSdrN3OT"; e_fb_responsebytes="AcKJlY5aUgQKfeP8sNmZ4y0pNyoy92S0uy7KOW8ijZ3bcDmm4ZfYW6evIDe3"; e_fb_requesttime="AcKE8A_qelU0Hov-dKTsb3Sa4bYl-8bAr9k4_PvzPOaugAv4503hhRNO3_phzzZ_IjefQvgX1g"; e_fb_requesthandler="AcKoksnLMVipf0957lfLhRbYStIe1jiLb21I7gqbO3Y0WfQgkaYmi7y12F0P8pXn7qp9eTt7FE8"; e_fb_hostheader="AcL6FtBd8oosmnTEGZNZRZp0dmsMHDsJBferZD9c0IAazvdqgUdbqiZTlmgAurF3QNq8om5P_7zNKwly"; e_fb_requestsequencenumber="AcK15YXTY_nVnxw-CBYhIcZKLCOi13di4kPE_NDMmerD9bw9AzA_8NAeMyvk"; e_upip="AcLGD9LbsPaoUw5ouQVWlEv0bZJEEXxRA37Jg30PYgFwtveUWFUg5VJLJ2hb2UEC6mm8KYQ4OMb_e2U611yMNpaaCZ_T0kccHqaLIQ0"; e_fb_builduser="AcLuhG0iS4n8bvtZLUEJyolr5-7wxAZVAV0NFNkfu9TC4L91eymxg_Il_dL6UoK49aQ"; e_fb_vipport="AcI2BJFuPgSA1heRa_nB3pi3EMoXNoE6rcj3cwPPOa1nvOqfPO_teX16XZ_W"; e_clientaddr="AcLyG76Qgp3HSazFgj2abz8doiJbb0Yv2cBfLHGcWiJ6HvTXcX80S63gGZ2asS0FVsFMQOlDtJj_Pf7rkRXJ9oAjGMsSoDYTwsIGR_CU2RclgoIY"; e_fb_vipaddr="AcJevfm2PXRBczyJrR8Yv81DiePVyL6lbSu0VcIYjuFNsNiAI0i82MJvl6bxyhVHaYHvNF2bCIG0CwNcrwvwr_7CZnoaoY6rvw"; e_fb_configversion="AcLRWHqSzqxM1WmFevSQUSjdFzwI7bea1VYgRW33-J4ZeERDiIHQyrSGC22o6Q", http_request_error; e_proxy="AcJN49UvZZEnBlia9_rmnNP0F8aCoz3oNex_xGowe-CNA_DgJ3bNQ0pnRrRv59OG7hQjw0NYli-CBCw"; e_fb_binaryversion="AcKpEMhEPIJ3pzNVoq7YN0EwW5NJagA70Y7uwWECXZIxe2TAMzcf29qucxf_IMtiaDUGzaRM7VWEGL7EwhSg7CvizifDHDOfNSs"; e_fb_httpversion="AcK84-A-8xPIxaFr6NUVlBzDpoMHl7ZLQv6Aa8mBu6CL2KibuA1MZ6szn4ot"; e_fb_responsebytes="AcIfK4PtwKtzXEtxcGxGYyWFgh6HsPxWl8PxMiaVHPMTAKNAyeBzxSgpDTvY"; e_fb_requesttime="AcJ6VUoRqG_wxO1HfgVBNlVFpvBrnjzU4uicrCvVo6LlGin19QZ_ELOxUkEapsxyPtlORx0HHw"; e_fb_requesthandler="AcIqD06a2_om1rjl68Ano30qXXZEFT--xKFxlO0IirzH6gdmjDXGfYMah0ItyvhFvzMumdt9hsQ"; e_fb_hostheader="AcK-6pD46AXWqPv1WXa3WYFcUSZTZ_4pLST56I9PU6hIFBxC2Z8gEvKuklpG3fTUt7GsMNhilDSVRdEr"; e_fb_requestsequencenumber="AcLs6AVXX1pgcl-7lw8xcQ2otR8F5KFHPa9I94_V53UNBelC73Iady9ioA"; e_upip="AcLCpoTC-JwwHp-LXVmyfH9Qd2P8YhZgy2_V-SFTMvfJLoQeFY-YcQ_zzvhq6LVgW_IoxdOEEm13ZuDm5tVobvi_d5x471oRIw"; e_fb_builduser="AcKSKayITunCP2-9npLpBo0HXY_1NuoRK63mf0BrJv4W7G-WbOp4JZE-BdeNDovKRwY"; e_fb_vipport="AcK5we5-pXZuP2W5a1pp5V53HvurjUfR30VISBNbgxtuzpuqBpRkMIW_CpeE"; e_clientaddr="AcILEdXPCyV8G40YMm6wsqoUX_un4wQj8M_XWP9-lIQrSoBWFtyKdbqdpHWKrftffSoNmZDl9w0TBkDKpQ"; e_fb_vipaddr="AcJVmmWgpHHmUyP-XEI2_7_rqt3cTuk4MCNXvDYRT60qgc-y2mLsQjgrwZ963of4HZVQNA"; e_fb_configversion="AcJ_9ViSs_rK9zNysMVJ_5nGXqrF7uF5PH2O0C8U0mJfNR4HZAU6UuTWz0FIUg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=152, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8487590351275194"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/08/2024 22:09:50: Error on send one message facebookId => 8487590351275194 09/08/2024 22:09:50: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AzFxAnB6NooS-6P12PWQtKR" } } 09/08/2024 22:09:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8487590351275194"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3210587, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AujdFDkyYHMixZB4KWmbrad', 'x-fb-trace-id': 'CL6QbcDoPIx', 'x-fb-rev': '1016318537', 'x-fb-debug': 'x8kHm7Qw69n288B3iq/fnPeTtDZwlCJpExi4TlIfFK0q5SAbpN3nGsXj1sIHG6+QKoHDncpM7y55iGGyuzH0PA==', 'x-fb-server-load': '28', date: 'Sun, 08 Sep 2024 22:12:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKl5RO6ORFz2hsO97Kp_r74p6LvjDvWaFyVpX71bxLixDmy3xHHKsWthMWBlCPphnu9_UoYsHKBucbLASsd"; e_fb_binaryversion="AcJiKlsh8rjMAXfIA_mKJa2VHvRiHagb7Ec2D4fJSQ0CvKTrdquLNVMhsDuKnRlhwaQFCptBaKsyfsaPub8wgJyTlvR-mXr1aXY"; e_fb_httpversion="AcJww47o0vVsaIVeYtDK-eWl9TLRZ8SkKyJJH4iJ3di4_CFkZS50SeFq5OiU"; e_fb_responsebytes="AcJCsKTxoMDu4-OnLlFvQPjalDQbjBzJdT-_XgOLxMlzOC7xOFzBuyn9W7_H"; e_fb_requesttime="AcLvwBG8FMjoc5fDCGzoRkiIXXbMBCdMYI1NSd2aJpLR7gc14S_z-m4uf_WU7aIOghuZrD-Ubw"; e_fb_requesthandler="AcLjt3IQ_JI8NqlEZ_Ms45-jagAyi8X30k6r9_lmXrpqOe64LhuDBNqcnHQu4sNpK-Wjya38DZ8"; e_fb_hostheader="AcJybXGJDrbY3oFRVadXAy77zdDky7vTxP-UKmcqrQ8YaqTUhXm1S2GM3LDeJgtR81_wDRIbgN4BiPab"; e_fb_requestsequencenumber="AcJx_GSjRwfHl-sSggfLbGDyctY8_mFW-P5EWvGVC9SqfpKBTME8fAE6I8qK"; e_upip="AcIBfNTSLz0urv2t6fsG_SybT0_QqO8gu96_ePYlMV7tcdJ0Ersb4hMiZ5fdY_EvCXKnm8240_5TknaP9C2ys8exswySi-6WNtpp3x8"; e_fb_builduser="AcJ5QriPZm80Xb3TixBN567upozRmtGLd-xUtKIcPzUHhWlaUVELSaqE3LOVYiGG_Qg"; e_fb_vipport="AcLkw_Z-sHg6C5mGrBAjvg62_rLCFBIZtrMrgTkb6YZIyA439kbiFtaC-jYm"; e_clientaddr="AcJJAfy2LwqA4i_1WMw-WYVgwZMU3SZudR14ynK3bpFHd4TWd27uva1ujqmL6FjV0lOlh4wP5owTZyeMWxbot3NUWITlM92TiUYuElOwenttSpIgTg"; e_fb_vipaddr="AcIg1OJMZmsqUh4PmEuDsOEsphNVSRUATQ_URaq2JZzRZni0LoFl8awylCeyYVIqa_6sv78UdE_--qYbBuugmi78WkQGn7W-8A"; e_fb_configversion="AcK8EPYJ69zbA4GUvWRcRtTp100YfeSRfhPc7v09uIoLOZXNXhNDeSHAVRNxGw", http_request_error; e_proxy="AcIde7bxNkv731vwfqve9jf6qaGpz9FaTl_xcJzYFhT-CYvutvS6DMRoENdLfZ4mwbUT7cqiYpny4wQ"; e_fb_binaryversion="AcKRoLBKMC7mbEttKODZKSDbprKgC3xOi0Ax-QLagv2zp17R9_HoK8yg9_NshmdTkFDSIiSyfmUldNnUcWTWu1IwqdyqVIYs_yM"; e_fb_httpversion="AcI8fXbUN5Ry1H7Z34ey0Yg5i1IyiiU9dbNJOPrRZq3j5Nf5nejuacyoup25"; e_fb_responsebytes="AcIq8cat6eCIg6tzA1aOkImcUhHeJD0VrTog5JvPHKtX_0zOmOlq8M9jk4H_"; e_fb_requesttime="AcKupwO03GhCjtWSBpwcIRaYiY5rym9tUpsU9JIAweeZ_Gfbwu968DbcxXNSaWi-H6ys5BDXow"; e_fb_requesthandler="AcKjsLtQpHo2dXQMQTMBfj2kd70S3bpkax9et6xn6n7b9l98tYnT7uGkv9e9ry7-rQMmLpHcIlM"; e_fb_hostheader="AcLkzhYoruGVCWfvRW2dPAfrSYS_e_uQA7W2ylmchd-VSkc-NlHajtkOSp8zMzZFD_S-qWzuyihR1KSm"; e_fb_requestsequencenumber="AcKJ467M2GhW-AaGkaHasypzin3_63QC1LcgEEfijmcGILWn_CxRohuq9Q"; e_upip="AcLEe3HnECFu5gYRdeooDJBMrDowN1KPO6NiYT2BZW2owqAt4WKtPqYMIUMq6EUq_yf5MnyoF7dwtmBOVkFWC-TxTNDYXccOnA"; e_fb_builduser="AcI6p0iETXgnWGuCb80r28m3rS2XfwzIFWV1C5d0IOxsKGZ4bCDY-lyv1HvzfFXyydU"; e_fb_vipport="AcLPe_kM3Y48ak12bxKqVEaHKMQVSQai2EG-LTIIdOMKBWh5kYrpflt5lU5Q"; e_clientaddr="AcKng5yqs_ebd6CX3NOyHOuLoBnrnvVEod2ZIjoRVw4uOBF1e0cffxmOy49qxOJCazW340Q4Qm0zw3Lg6A"; e_fb_vipaddr="AcKPyffU63IuD7dHALSGZJ3fHSnxEb-w0PsNEeveD7s7PK_yVTMFGoEtyFgvzit_6hOhIg"; e_fb_configversion="AcJsJ8frQ9Ol5AgUxrE1pymq7__1jn1SReDGTghO8RuUKwOpZxNo035f6a5rqQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8487590351275194"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/08/2024 23:17:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 23:18:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 23:19:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 23:20:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 23:36:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 23:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 23:38:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/08/2024 23:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 00:25:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 00:26:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 00:27:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 00:28:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 00:36:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 00:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 00:38:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 00:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 01:25:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 01:26:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 01:27:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 01:28:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:35:36: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/09/2024 02:35:38: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/09/2024 02:35:38: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/09/2024 02:35:39: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/09/2024 02:42:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:43:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:44:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:45:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:49:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:50:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:51:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:52:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:55:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 02:57:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:49:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:50:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:51:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:52:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:54:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:55:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 03:57:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 04:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 04:06:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 04:07:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 04:08:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 04:48:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 04:49:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 04:50:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 04:51:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:06:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:07:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:08:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:48:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:49:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:50:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:51:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:52:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:52:53: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3311448, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 09 Sep 2024 05:55:05 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/09/2024 05:52:56: Error on send one message facebookId => 8248814331844964 09/09/2024 05:52:56: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/0feb0df0-6e70-11ef-9dd1-ef63a8a0658f__1725861305423.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AQ0Mr8YSrN5-V06T7XdD8XV" } } 09/09/2024 05:58:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 05:59:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 06:00:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 06:01:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 06:02:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 06:03:50: Error on send one message facebookId => 8248814331844964 09/09/2024 06:03:50: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/0feb0df0-6e70-11ef-9dd1-ef63a8a0658f__1725861305423.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Ak2loV3SSEr83lrV4FZeG9j" } } 09/09/2024 06:45:43: Request bot not found: { id: '133788230054854' } 09/09/2024 06:45:45: Request bot not found: { id: '133788230054854' } 09/09/2024 06:45:50: Request bot not found: { id: '133788230054854' } 09/09/2024 06:58:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 06:59:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 07:00:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 07:01:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 07:02:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 10:03:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 10:04:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 10:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 10:06:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:03:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:04:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:06:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:07:10: Error switching inputType 09/09/2024 11:07:11: Error switching inputType 09/09/2024 11:13:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:13:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 11:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 09/09/2024 12:03:05: Error switching inputType 09/09/2024 12:13:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 12:13:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 12:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 12:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 12:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 12:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 12:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 12:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 13:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 13:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 13:55:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 13:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 13:56:53: Request bot not found: { id: '863113247096430' } 09/09/2024 13:58:48: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66dd934411e0a671f61bf1a5 09/09/2024 14:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 14:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 14:55:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 14:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:02:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:03:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:04:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:07:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:08:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:09:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:10:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:51:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:52:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:53:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 15:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:02:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:03:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:04:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:07:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:08:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:09:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:10:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:13:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:51:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:52:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 16:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:13:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:14:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:16:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:17:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:18:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:19:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:20:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:23:48: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66df181011e0a671f61bfe26 09/09/2024 17:26:50: Marker: 0 | ID: 66df2fda11e0a671f61c000f | Error: cant_get_message 09/09/2024 17:32:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:33:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:34:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:36:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:40:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:41:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 17:42:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:33:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:37:06: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/09/2024 18:37:07: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/09/2024 18:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:40:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:41:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:42:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:43:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8188234271261947"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3472570, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AWG3hWw_mT_0freo5iTxVvQ', 'x-fb-trace-id': 'CIN2gNGzugH', 'x-fb-rev': '1016327994', 'x-fb-debug': 'lw1dqGu/HNccxerrz8x2GR32dYHoU1ZoLugjWyx81Xu6em6Goe+oqUu9VFmulESca5g9YXN6O5pGni3bLn+bsQ==', 'x-fb-server-load': '35', date: 'Mon, 09 Sep 2024 18:46:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLZPlMo0C13kuYJye67LKpY1nKh-BHnEI0CgBmtq0YM4qy8e7m0MNOAarFStLoS9nHgJxWZdLGFdQ_KtEDB"; e_fb_binaryversion="AcKIGvAFUhcIqlDuajzq748m46JgJFIVI_Df6s1XY_eTfOASXZCwmCUPOKV2CeH-hZCbB7SvMnbENJ4JqDg2lIZML2odTiS-d3c"; e_fb_httpversion="AcIpztl7FmKtwmb-DlFW49MHrXTjygn2FALQl0pYbP1fNOGb4BWDs9fCiDRt"; e_fb_responsebytes="AcJGCI84JAyVCgxngn8M7lFxw6PO7qzkwSfsWRYYmdaXHzXPIkr2F0mmBx-F"; e_fb_requesttime="AcKsKptSfmCHO8eQCodG3dogWBeMN93iDW-dOuTM-7F0441lrcQJ8QvHlMR7ZzoI6fxNHSfGRw"; e_fb_requesthandler="AcInkgLCTNdnJ0pK2bivDv1FwbSFRt1fVSqAMvFwE1lOxmtpYzXmXs8r5HszVjwV-Mhsa1U58ao"; e_fb_hostheader="AcKLjuv6hx1wmfGLVhharlyRFkk-_fjkyRZei708RYIrulAy-SxTvZT2tnfeeZ1UizK3KxxIVNLuZl54"; e_fb_requestsequencenumber="AcIvljEZc0b4sGBvMeCp6P08p8hARGfd_Bk52eHihDmIEZudOKuXJ7O7FzXh"; e_upip="AcLY83XcjuxDKznT_d-If7CevnPmQ3hJpBNNwa9V9bh4FXKUQq5aXhzeORsf7hDEIKy-gK457vSoxPjuMs_OJ6CMHjqEiKOTdPM9Ek0"; e_fb_builduser="AcKjeR7V_rFf0vnNRoNIswDJXAjx-vpC7lxKN-gH1AbNfdMWxxayqt6psNg37eM5BA4"; e_fb_vipport="AcIXSe3zbL0VzAju9agWZDmQTNlGfbc6lMorJT-EI4c9dAgzc0LzQjeKNPnp"; e_clientaddr="AcJcqG1pCdJwKLoc6G5XSS1Ub5jXHVvBa2VLBZUIzXQh6GMLdhjfFU_ZK_t3kcJN0WRQdiUoYsPUIU8CK8cBMvvviMGQyMt_9xSwKqn3sjazJvmh"; e_fb_vipaddr="AcK0cPM2GN45hR8ki3XYnk1omFmvdpmKGnxp-OXKiL9CbwfpCBdeOcV7xgntS4MXEHaOw3cHZjxDHydH0PiBRVVyzKy5vFQx"; e_fb_configversion="AcI1az_enXk4sCXIH-v8SI6lsrzGc2MOfhmk-NRIuy_UMdgY23x-nZhtbRBvgA", http_request_error; e_proxy="AcJ6o2Ic7dQewoCRLYezaO5Xj0ugj4cDnVJ9ItOfU5X1pXnkOghwKw7fcX-ylLkTJyqprQ9xPlFOjUQ"; e_fb_binaryversion="AcJibSEecTdFialuylwZBPi_oHaRLghDQiSF6dGIl8G6xsbdh4KBvOT53FkFmH5Uu1zCRhmpDnQVWlOEr1qONw5FTVq15nraJWs"; e_fb_httpversion="AcIThDjsiBuXrCXF4mvvB7s5UuqCGz1FPhp87iq_82fxnnyQ20yfGmtj7GYD"; e_fb_responsebytes="AcJ91hJzFO5pwPB7Nmsm1UFUORZZx99qL2FssKUSA96jpkEkHq2OD-j3wp0W"; e_fb_requesttime="AcKDLVW0wGqOc_mPSnQ2lOmFGP9ZQaGH8LnCD3qwSXp3AAp59DSts0TwPPc5iqZjAzt7Q91DKQ"; e_fb_requesthandler="AcKHPD9dyFOULl7lwWgCbLXLX88V4WXU-2BfNjKRX9qlUOCADB0KLCf0E3YwIaroS6Qv51dNKdk"; e_fb_hostheader="AcICJmxLqkrhYN_UcFTiSPOHCEa72tO1oP0wQ8iNzqGuU0sI4YGq2LlHsZvQC8C8DcYXmqsb544qktIW"; e_fb_requestsequencenumber="AcLoVH38nw5wqU5VN4eiCpQAsP4oOYwX9cBFVcMYfXpsRrMAPXJVCRG1LQ"; e_upip="AcJq0xwpPUo4KLxKImHSIQn0rh9FOsulIGNGiO0bFZjEquwJrD2rQx1fXHG_1kpdOf7piq7WOKHhUU7GPWJo1c4pA-LLIVX2"; e_fb_builduser="AcL4CI2SC9PB8WXZDoTPDPkZMqUIlNgLoTZhPDzlAMvF97IXOfFxfX0dFAlBIKAg9iI"; e_fb_vipport="AcLesFkVByZCrnaqMFKlv0NrF1S5MVg8JX5LGlvPGHJbBvoZP3K-K4I8UmGd"; e_clientaddr="AcK9VxsGo346K2fKtt3M3X0v9z3gZJ_mJnERg5Rui43mvUUU9A09PjQeLroL3Vz5k4EjdSLxGYvO_yvt0w"; e_fb_vipaddr="AcISEU4H_pee8Nsl6gjuwp3OYkTqDP1I0NcBn3XOdPjHjT8O1HDZxMd-uWsXoATYRWrYCA"; e_fb_configversion="AcKndWCBrq6tglw0CxOASpZ1AjZNLqub52PEPMPxOIaFXbJGQnjiwTU04drzvA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=557, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8188234271261947"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/09/2024 18:43:50: Error on send one message facebookId => 8188234271261947 09/09/2024 18:43:50: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AEiSXfRbVrx8P1xVQIT8Z7n" } } 09/09/2024 18:43:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:43:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8188234271261947"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3472769, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AId8Dr2sHvdw0juan1IF74U', 'x-fb-trace-id': 'Gyllo/UrDWy', 'x-fb-rev': '1016327994', 'x-fb-debug': 'Vrid/8XDZomMBcn025mWxZ6ySHWSkWf4ECuaw3qO7q7d+qQs+/YygHGAkhxRQu/galj/KWC1vE7ArwX8M/L75Q==', 'x-fb-server-load': '29', date: 'Mon, 09 Sep 2024 18:46:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIX_DU-Tuc3ruch4SA-yqGoXzqirmHk96l-pWlouNsoDQfw1OIxtxNgn5yj03jgHfoZ1xGsbRDPfR1fFMXJ"; e_fb_binaryversion="AcI--cGjM4CHtU5z-5XmL2Rkf5yfS5A5CrVa26-n8TiFTP7E5XknooTDMkjndlEbiwcFTYXCLYL8xYOHWyTJ_3Wp_MBdXXNeWKA"; e_fb_httpversion="AcIy6lbTd-HrgDpM9mhRBdUsWDoV8P6Y3ywOvuFaAYpzJUKta2kiQ8Cl9mYc"; e_fb_responsebytes="AcKV2YjcI_aW8_R4He8kEEJjUnPIdIzdw8diYI1Hh1r7xAvSjMQrC16PXDjG"; e_fb_requesttime="AcLL1OeHDMT1MF25ttMc1Z95Egqdrn55PwCriLcbdDbi_NNFKaQs3asOkHIG7NehR1YPqjmVFA"; e_fb_requesthandler="AcKzy8dQK3BImTBfeQMcvN-yqofjzXph6oTjK-Rp2Ce4RhsK1xB7MowiKatfzSb2Yo1dsKyxKcI"; e_fb_hostheader="AcJ8x22uI24bNlDHjfeV0Fq46fXkNevIxalLK9YnHLIsRnRqiaJVz-WDf-vN69cH5jRs6XA-7OHd6D9P"; e_fb_requestsequencenumber="AcKPt4jb1OCGQCT_tjSmOGNYO61nm73c2TcuIagxSVZh_Q5gIrQkNFeV_bwz"; e_upip="AcKwVjPF7ap4G6Vdrs3OwI-wAoERr_qJN2xxqjRK7DTkkho6QS5eJeYmFNgvsOXqs8xaAfcTGl3qtpZqu3mzYP1AV5Zrqj2nj4NztGM"; e_fb_builduser="AcJdIcz-tc61t7gHyXNhwQOxz8Lssn52HMpbZBhGIzI9CDwWlCkc6cfXu-vd46yr0AA"; e_fb_vipport="AcJZAYdQO0kDm61M-7b88-ek1EnmDcMJ4Jge9M5ISJsXJ0KSfnVu6BOlS3__"; e_clientaddr="AcIIogKal6WKSdAXYTWINl3Gn_IgWn6avs21v5m8d8fS_iV-yA9i3bd_VxoOAaf17lOhfXMsxFlLagEjW0XGQSkmHju4ZCtNtoxNnQ6n05NUxQe9Hg"; e_fb_vipaddr="AcLqLC_oinG3P3D_Mru6dLUPJ0n2L0nmrp8do7a_Y4OJP4blP3Kth0ksGYt31Q7eEwIabfPwlMy8M8nMLL5nCZiOGCHxDge7"; e_fb_configversion="AcJI4p1aKv63hNJ14yTzm-tBPlcU1hIxgORWBznN_QgSvVGVOOHKjnYy8JrmAw", http_request_error; e_proxy="AcK8EKo1kQb2q3i5ZD-KTrWGXQT1Nt241we39ynA0VOlM3s-ykb5e8TYZlkKTrODg7jkeIBk9Mvr41A"; e_fb_binaryversion="AcJh93eXz6WIDuqtC9es2KLNNkMDSUcKj3vJc02wpQx2oc5ivrbNy1BBdxhKi5jv6ejNPR7t5t8JoJ5C_eflBh3W7320N8gOp4o"; e_fb_httpversion="AcK0UJ3IAcUF2EofoCKRB8j1LUeJDF_MOhG3zZ3FlfRksDpIjo7FfY6flv7M"; e_fb_responsebytes="AcIDxsgCsgMRvyIKgmy7CvReirDF95-IYXEWGFX0MFA5LPKFX4ATVO9dgf8j"; e_fb_requesttime="AcKlbvNkXBqm24J30TmOqGB9Qc0ZHTczIWOLZ4KkNGcx8ATOdRhLPo0uHDr7cBvIBN_YQYJ5Rw"; e_fb_requesthandler="AcJt0icgN7YwPtMi_Mr7y-X-tjo_kAc1ziHjAtE02NbcpgpUl_KnpnhoOge4LvUSI-ib1dlpL7c"; e_fb_hostheader="AcKZFwBIvYm9cJFYbnjZAzA9_nr3ZHlpxIwciB8g9gYyk1jFLrx-XEn81wmpYhU61e19KA-qMhhi3GXU"; e_fb_requestsequencenumber="AcLxgOprZZetvESBbKaCZlFpbKVriBXCt_EZ3HXuaqeXHTnbdRtsKQkRfQ"; e_upip="AcIjEggsr3A-aeEdjEzmAQwRkZCfHD1ybsuVQmrMmRTRCk248e5pF6cYYxfQNL1hjehojffuAUFwruQ51nmwXRlkSqRj_GI0"; e_fb_builduser="AcJkYqtUu6_WbOLM8Sv34AiA_pQ3ZlZUepPhO6_9MpjQ82EqaFC9pGV9uL1jUfemgvw"; e_fb_vipport="AcIp7wqg-DgstmLBoZxivqpWYr_tNxDij3WwCLfvKx_ClpuG3M5wDwuNSHX6"; e_clientaddr="AcLCcclEnjXPS8eTlJCOK1PTRlt4fbeniVw6xWz987XzXlVAsshCqc_6yn8vUK9ZPBmx1tAjlpnC31fRZQ"; e_fb_vipaddr="AcLhF9DKuYC4CEkeTspu8gcwPEfRQ56LZJTMEYEWJpmUrBHaS1-3RtVHPraan1t8ss5XCA"; e_fb_configversion="AcIa9oWxbVsl9Wz6k7afljpKgkEDM2I_Hp_GauKVTHd49PrKeVmDsnI27eJejA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=220, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8188234271261947"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/09/2024 18:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:44:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:45:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:45:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:46:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 18:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:15:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:16:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:43:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 19:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 20:15:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 20:16:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 20:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 20:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 20:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 20:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 20:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 20:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:18:35: Marker: 0 | ID: 66df662b11e0a671f61c02f2 | Error: cant_get_message 09/09/2024 21:24:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:25:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:26:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:27:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:39:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7925006697608894"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3513823, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3RusunfQ2_sV93h_OM0Z5V', 'x-fb-trace-id': 'GRs1dyE90zh', 'x-fb-rev': '1016338897', 'x-fb-debug': '9/pvp6W9GnGNHAnV/CEXDFsrXAMvMlhWYRyVNn+ZD6ukwJzP/whZc6Cet2pJTDofEuM3WeoxNkQHXTnZaNmWGg==', 'x-fb-server-load': '24', date: 'Mon, 09 Sep 2024 21:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJwl4Alr0nlhpOnPM2PmCxa5jHPCIltbDN1e8p3XmRGS9Syx1injlUN2Zcs6CwvmeHGB5JC-Fm5NjvsDOf1"; e_fb_binaryversion="AcKC6mDN4Gr43CDwE5ZM2pO0CmDCUlb_OKvJwRUduGJdCHkbSwq3D0XeCBO8xlUfeNVgW4nyYRmyMe8ENA-d_5TsynQ45N6LHt4"; e_fb_httpversion="AcJf4fkhOfsy4b4G9phKGmdbqEHFtKeDWreRBa_D2Nf8QiqUatyexUymTFIZ"; e_fb_responsebytes="AcJ_mKpAp_0j6z4XUgV4RjcKjiAEEcBGSrHrja-RVGQGBeVrYhHod3mqXmqh"; e_fb_requesttime="AcLDYYN4I9RCCQqlG4DBusK1sLKqQ2IBVOXlK3J2KZII_1ZSYKH-bQzSm8s_2I7laROwaXj4Ng"; e_fb_requesthandler="AcInQ1utxxApi7zKv_1re-8K3LQWqYUzFoAo1II2zsOzSZXgxDjroWhwNhRMhiIB-arqQXRaX9c"; e_fb_hostheader="AcKsFS1VG3u41S8B7rtC84M1q6Ps36vh40EHk8YaPghgnLf95fjJcHO4S10PzZVL30xPPh1tqTw2Ihcc"; e_fb_requestsequencenumber="AcJp8kOmPfVkccx7uqf6b-C7Vy9XCKuXGmHf8j6bhhKZNVFlTrjlbiiYLpI"; e_upip="AcL1cb7pA5Dj8Sb2r6r43fvwXkRF7_OH9KT-2kPtQxhpIjfdtr5KLFQJpIPE09kOeooXiQ2dESLcWzxkWMR7frCtbvRJypZP2wcyluo"; e_fb_builduser="AcJJ8BEX8n2nTfkinO8uO-RZXHOg8DBAenot82KBv5eIErfjslZQq3kii-azS7mDuiY"; e_fb_vipport="AcJ8Ipo0v4YaW358oTlFTflEHtj2KuAsNjluwiEysy7akfuJ005WzMD2CAEA"; e_clientaddr="AcLBxZjG1mu2LAy7j7fBRGfKFYNP5X_plooY8LMMr4M3zEAYhHcnRGg5KEQG3hKW1o1XrillWyymJg9YkUZRWPQvEKA8RvhLYTr5RP-lSCcQ-fQYnQ"; e_fb_vipaddr="AcKD0v5IlQVpKcbobVGVFHFQol1HpckMXOg83zT3tV2pmaMulQHLm8IJVxrybuuZlvyMevmvx3ZOZ55RTgZbFobRvyLakzJwkg"; e_fb_configversion="AcKGyjul--u78gMgKhiJBR0LEPFVEjw4Xnm0lzquiuHdnBatAel-fh9VlRCdnw", http_request_error; e_proxy="AcIqZFqmS4rT3csTKe4M_dhx049RxsHtKoWJjxNuz84kPexVxu-0BoBgCK1Q_yBYhYE46-_PPJdl1Mk"; e_fb_binaryversion="AcKE2O_uDnP-sdGnYq_c9KNr8et-VNGjpo1iAe7ipPcuehVvi6Hip9x4OsJAHzp9cVfFAXZnrfMHKFFOxzSph1-1sRVMDlVSXiU"; e_fb_httpversion="AcI0U8vhjvOFG7G5cpByswU98CxhCjR_Zwnm6CybkynXvCN3VApTsPR4TMrg"; e_fb_responsebytes="AcJ-oDwf2uVTjvFs8WbuSabbJJEc2uzjYBMG-WVZ5GTCLrSHxd5T_DxuJYza"; e_fb_requesttime="AcI9Zy7NDEWuE4GBqaTcuH8rl1rzbWUwkQdkKGnGIhgVc4wAqrEiQ2_FTRKSWndimfEVda-HmA"; e_fb_requesthandler="AcLcMehWwOWKGhRKxu0_8AsqJegjz-MsBwRKMAajtAiB0xCu0aS5ivB6LKvoAMPKufjEHyQMs2Y"; e_fb_hostheader="AcLya20lcCTGBfxLez4bbpBO78BGwML1hDXkVargfei2bBe5GiF7Q_V55hmn8YR0oPRBvMb3xYAM4xBR"; e_fb_requestsequencenumber="AcL7FXeUEXBXLjemmpp8zpIaW1Tbd8AsGCYWlm3YnHJHUy9Wx3hsA58fsQ"; e_upip="AcJqcG4zpFQF4W-Bygsv7otCn6VfU2Yz5WCDpVXOKmDO2Qh0d0iEpDtMikO4f0U6NBFk9a--N8a-8V28imnCUegzQ5bIRGrBKA"; e_fb_builduser="AcIKawSwmguZ_dkaX9phplAWir1PH7EdE4RUWYgkkrqcWhbzQCa9ASlSOjPWUe5t85o"; e_fb_vipport="AcJtA-eHi-7rGUfee4GHQiTUTMKGjgCQmOuOPYnL3OTz34QeMfwLgY7y58kv"; e_clientaddr="AcKcv3EbefCJFFNrjXBoiDCbJy0cujrnF2RcBZfXxVYAJtnbw-kU_mlGZOpDssmt065bZbhMMnFfOeOYLg"; e_fb_vipaddr="AcJmkVOaC4NSYjqlU4eh6vyp4ujpTj3K07O7qyK2ym1GrhimVTuDUB13Lx16sMkTck521w"; e_fb_configversion="AcJ0bjHtBTOiSk0hkxTmDxdG4icfGdNJdzjpcsLRrDr9JY5XelubQaNKt1H_GQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=4, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=160, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7925006697608894"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/09/2024 21:39:48: Error on send one message facebookId => 7925006697608894 09/09/2024 21:39:48: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Arq9r434HEgejy6ZumJbiAU" } } 09/09/2024 21:39:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 21:39:48: Error on send one message facebookId => 7925006697608894 09/09/2024 21:39:48: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AVt_DppWZabo38vNXushb8C" } } 09/09/2024 21:39:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7925006697608894"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3514020, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1vAW-pTo6lxutwB89IPNYB', 'x-fb-trace-id': 'D8FksRdxYVZ', 'x-fb-rev': '1016338897', 'x-fb-debug': 'LU6AN6pEoefekblCqRtjN2ltr7QZC49zmEP7BKLaWpZ3OQvcXjokGsdxMtOioOcIFgQp5FnE8sj9h/++U1tnyw==', 'x-fb-server-load': '35', date: 'Mon, 09 Sep 2024 21:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJM01UvlOHztrCz8V2kQXwIVt_UNydS2UlRiq5j6CihI8TYDdEWxicn8yQH_DBPOpHugJ94ImlM9lYQPgrM"; e_fb_binaryversion="AcIWHlrbMgiFA0hOXXqko7i0PKS_y3BxfCZFL616XsR40ISLtkXkdsBocDsVKjxbV1sftqMfZvTkdLmOJF_KVLZ8qtgdc2YDpIw"; e_fb_httpversion="AcK7B7lJCeZzynOAozLJzTft8nRjr1GD7MjnQpLfkf-O9y2PuMQ8XYL3NU0F"; e_fb_responsebytes="AcLwhPY1BntjY_q9fEUp2tBykK7rqJKNMMsOc7ftHuMl-wkZLACkrW6xUs8Q"; e_fb_requesttime="AcIE73jegifEnVj40ItAHm25lpsGB0xEBBKd8xKkuTkPs7oIx0t0vj76GCpZWpYBWINhOqwdyQ"; e_fb_requesthandler="AcLkCAcahnWt-q5zPhnfGbzNaT87bbQGAEIjC2GOSkdhdjPoHPSVUG2GtV5Q86NT8rcqQf88uG8"; e_fb_hostheader="AcLwsv1P6t_qoKsJS2jQd91Aq0qnqrow-Jz2BGKvhgouUXWHYcGgkatbJx5xvdMDS3Cb1iVTiXqzgbnV"; e_fb_requestsequencenumber="AcIXVMg9aTXdh6mjVQnm_U8SeFxAvynw4Mlw5cWgY9fRbRhGiT8qEqk-t0XW"; e_upip="AcKOTzEXidvtMulMLqA2AoiX1yc-nd9OOeQQhq5LcPOQu2UHqLxypNglvCypX0eUJOVJaqhkEMUnaCOJ8BKQJ2SKUqcwQlD118oqMw"; e_fb_builduser="AcKzHSjLXlL22Yp9naF5kfMvQXM_5dEtyTVhObqG1CdyjbCz7mB5_wvqlxYlR-LKd3Y"; e_fb_vipport="AcJsy_O1_-xgokVmYo2dGQkEVEiw7CmNi4bG6Gdhx0VbLVBYyzHwYgXYkkX8"; e_clientaddr="AcIcPDn2VE6t_TvMTBDyicX7fP3EaweAwoHlcgjARj63YbKEDU_5KaWAosXYonKE_u8PPaiNNrfc037QKS26GvEvb8bi1AguzVRH8by-Rj8LbI_aRQ"; e_fb_vipaddr="AcKfri3sFBFmuORF2o2VGeHllNHoaDXRqgh-SapvuJXCQrG_RqGSN1-Dz-gi9KYqNF_at-RiVV4nuIvqXLHckmcVj4P62rfU5Q"; e_fb_configversion="AcL6YudGFO1375IGYsWEDOO06La2FzgJApisEYd_33ns1ADHK-17xo0JkPxgfw", http_request_error; e_proxy="AcLCWw1GhKhG7WzZcECbZd7gRGHJP_Kb28ADc9zuRafCe49aeSbyAIfb5ye7DzYpCGMLGuSDbtai0uo"; e_fb_binaryversion="AcIqGcN350_tIPNQDU17x7kdCPiJF0gYtI3M0NREuxIh9EeE0l80FhDuPj9kNpU_W6kroLgMnCeP5k-m7Ju3AAIoPvn0sTzyShU"; e_fb_httpversion="AcIi94FwKqDlomEtWn9S46vnwWLMajs7jm1rP3K24vtGbZmK4NlelZONnT1r"; e_fb_responsebytes="AcJ3j-1ijaZtV_Wm1CLwdtxyUX6dCijq8Fr4rUXs5m9IZ1MK8dtKA-O_L7Su"; e_fb_requesttime="AcLI5VTuVzkbkh-L7WXbJievS-PjQtFBYyCiSYEzMPk0KECLGrvzIpFywj41cS9iBAJaF5WGEQ"; e_fb_requesthandler="AcKxhjZzbgt8njpfGfBrwqacs_3mSIdcUzf-hB6Dtgv5RLQPI_t3D-t_H5FzWiOzUDD_lMMVl5I"; e_fb_hostheader="AcLeOC0ptKwLYNv5D3N7hl3flQYRIfg7-BPfcBVgx520b4ot3gIybuZtaLz1umy8vVh9HI4GRenn5LfZ"; e_fb_requestsequencenumber="AcJlem7J54lg5ReQ8OZUYSUqaepfEKC35esvJq_hHEHOLJouxl34H0GiOw"; e_upip="AcL_P-_LhVtpj13qIoHTFbeT9TEE-r0Kf02gCM2rGcNiX_pJH9QjNa4M2HOuY8vUCll7BFQbNW5wx0tfy2Gc4O2rHJqQfU6jHg"; e_fb_builduser="AcK0cPAmKvg19uPJtEkZbajUIIiuJpxuB-7IfANmYZWIT6JsoHjpekvq9ZdzW8JqF_s"; e_fb_vipport="AcL3FL45mkdoKMLPJCL3bfbxa6Af74fv9UZmSEODn6Op877fNYuJsI16D5VH"; e_clientaddr="AcLQ_lQzXt0ggI87_CyWshQ5p_lgq0BTdEOQoWAJZDTx2taekUr_t1wdcH8VyTjuOfF5WEpPO0MH4KDVsQ"; e_fb_vipaddr="AcJmHiByLi6h97a6w5JQxgK3AFBmSlk5vFZRiQl3xXO5ab7KTrIpGhn9kvXjSqkQzLmI3g"; e_fb_configversion="AcKnugSlf3FmSnmtPliuXhzap_d8MjTNl71G7glpU_QbVs4_AuVPoSeifC0NuQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=159, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7925006697608894"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/09/2024 22:00:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:01:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:02:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:03:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:31:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:33:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 22:39:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7925006697608894"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3529673, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A3zQOxf9XQIxBggXshzOg33', 'x-fb-trace-id': 'ERaru54WWpD', 'x-fb-rev': '1016338897', 'x-fb-debug': 'MTFgIij+0sgj8RAUBk3wssL2NQoV6VwYmxLk67tB+mlqtusEep3al1yPgQaIhcSHijHcLGlSYRefrVL42PGqOg==', 'x-fb-server-load': '29', date: 'Mon, 09 Sep 2024 22:42:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKQZgqUsJlYI5S0NepnDvlFXEMDQlmNwL1nQO90h1GEYrCvfOEuw0kdX9wx_ARpL2w-OM0THkD-7OGdBpZs"; e_fb_binaryversion="AcL4rD8q3r38FarB3j2gPdS7u6qvd_iDAs0UV3wOXcvInhiN2eMTqVoOuM-Qq-xRB_eyNW3TdI8lu92C0MIchG3zse0yXd1fXqA"; e_fb_httpversion="AcI_AwJn7NWgHK6Dm8vrU6iaEDqHU0z4XhIvsoPjuhBtWFrJQ2FJNECqoioj"; e_fb_responsebytes="AcKi9uccT_9M0wed-JXJAJokYB4R_sZJjQqdMLXce9eZP1yNGqhdk_0uY-Uo"; e_fb_requesttime="AcKSMTiEJIETvd6VolVyE-sl79QSUyv29J7NoCw8KneV8ZSSmpymR2zrmv3NeB8rUYiR45g6yw"; e_fb_requesthandler="AcKB21kDSJcZzk8XCdBFV-4tfqd6Iss2N6GyR-kaZw1rxfFUFpVpeaFD9AGqVvwzk2IbNUEHJUQ"; e_fb_hostheader="AcLHKLYTcwEVZWVdBZU302fCHADaGkXn_u3YKvH8-SOUt9D0hew_FH0AD-ZVUJ7SNVu8lIVHhJycOJxd"; e_fb_requestsequencenumber="AcLi1IkYNZ89bbWw8Q_wyCpHZqrFoA3f5my0-qx9TuGQ4j7c-zQ7vxOxUqG4"; e_upip="AcJ7dtthgbCpb22f7ETLzbBducVHwdj7U01eRwdqg3kMzAsFIIEN5uqLChyRlRvj4YAak6zO1-JcitqbAflkMcm9gShc5IzYou3hkc4"; e_fb_builduser="AcJvnrIdaSY6jCCTqOVpW8cHPuR_P3v1SDDfcEjDn9de-ZUAqh8H59WQ3k8GsWb9e3E"; e_fb_vipport="AcIBrJ_JCy1Teq916I3dsCqOp8RF-yZJqy6gt7lw_aaM7V6oPa3zfuB2B5Iv"; e_clientaddr="AcIC-d59n7larm5i0CRl8wgSpqP5if2CNHzTCLfdu3xcVVGqJoTfSai7R6WnEaHcdvBYax_QB5SkxqAl3UHZXhXyf-sa0XJ4sl9GMh_GizhK5A"; e_fb_vipaddr="AcKbYcBxMTSVAmqNvcZDpyZMJl73Sgf2guNghdMY_UAOe2qUK-Y0oU9RcKmTQFopDhuCdtmx1-ukM2P-HI8UeJlSBsovrFjebg"; e_fb_configversion="AcI-jfNro-UKpESjkg538-o1O3WjouZ8fdmJ-iqM0t1KFvzv6sVF4Z6mqnqJ3A", http_request_error; e_proxy="AcLNKe_F4sLagFM7V_IQ-NsEyViWP6f0FuyfN3dvPs6VHLWrydDvr4rVYY-jGlYKnn-nlExlBaVx3qI"; e_fb_binaryversion="AcLlX_t34aIE11lPeyFnMZSHKVrlYk4go5-yexm8TDOJogylI3t99lRosKY6LKhsbcn-fkbegOPKSwKfWDTWlpXU-vIwgN6fR48"; e_fb_httpversion="AcJitZNX9M0joZLAQytPy_6R_5yt6A_drk0c3XY_YegbEMZCmuaDLpDdeJdP"; e_fb_responsebytes="AcJ6F0Gk6yTf14XGCtbtvNsKoCURBU1jSKG3OBdpioEFpIG9vRXkHP6H5qXj"; e_fb_requesttime="AcKifFNrSd-Oy2LzZmPvOEL9-29MRhVddqn1kg-jWZ1M8yi8pn1hz-CK8UAJFqwLed9vR7hqcg"; e_fb_requesthandler="AcIclQ_Kj6rCQs_SmZUSgS-_IX6HH4B4foKbjOlCzGmwNQqtu69NClDGgxrEB0oT47SMjjfGYnw"; e_fb_hostheader="AcIxswYJX4fomsGlswf6nQam9imumwH07hdXRvy5OUKBZwgoL_bJmZkZoBHxofDuBM755eJcyFMcvtcO"; e_fb_requestsequencenumber="AcItdXq6CERGQnKuMIGLvFFadNwNbg27-9IIrCsDsbhy0_mgMBQLt0Q-_Q"; e_upip="AcKql4MfZawi6tbBKpJPNfY22Q0_W3024GxGdAEJv1qius12zjpJaHQfAfBmI98CeH6U8I4AiyEx0kP2XwKZfhxZATc_tGTDjg"; e_fb_builduser="AcLwtMmX7hseAoQCKErDE5z3txCei3wncI5sz78lg6zKNKZqXtbVq9K8WN5y0yPqqzo"; e_fb_vipport="AcLTkFsAhjwrMLgq-Ev-44Z_Fa2jhOE6Qq49-PjF6nIG60hsPsyDyp8JtWbJ"; e_clientaddr="AcLTS15D4gi8h1GUy6Txfap1jNdbS2hY1synZnUv3Kxu9dv-N-Mng1-SimQrynqrl-wTnhbm8r3s2fDvcA"; e_fb_vipaddr="AcLdikas5vFo9_i2LqudT5NUHL2TvApB8PiRNcMl5J8khTuy4C0acOUGk2jRKpeDegqjEA"; e_fb_configversion="AcLyQXSV1N1GVxCPFHbING8S09oY3qc5xdiL1g8l3KT84MMqK-2U08xlBUQ28A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=213, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7925006697608894"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/09/2024 22:39:50: Error on send one message facebookId => 7925006697608894 09/09/2024 22:39:50: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AFsUeSm48B6aZv33apChjSq" } } 09/09/2024 22:39:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7925006697608894"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3529843, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AcqCQwYkJvTa-n7Yxs4n2QY', 'x-fb-trace-id': 'FfbP/U2lcx8', 'x-fb-rev': '1016343391', 'x-fb-debug': 'N15qWBKkJHq6WoU0oZpHYjy1ReK1NrpaxKtHpjdVSodJm8xsc1o86NO6kOAtL6IArytG2HJ0YzgemS+Gh9GIPQ==', 'x-fb-server-load': '15', date: 'Mon, 09 Sep 2024 22:42:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJrRQUgUexL-I2SDMLXrpJG2MR9pUnrCHMEl-cQuTEb_XN1JYAKW5sOkmJ-HlOHyAdlBJNkAv43Tfqv2Dk"; e_fb_binaryversion="AcJdkWHli9L2xBMZMTwhWvBw4KBhywdgK9HObYqT7LH7NP0JOAbFeK15ZWPcPO1jusCW5VJIA7-CcGRdGBmt4ofiz-Iqa8-J3H8"; e_fb_httpversion="AcLxnGDf4Kvxe1ipSnxDYWGqEN-dBpS_wOWX9npwPzgjq96_JKF986Brqapn"; e_fb_responsebytes="AcKZdBf2c8ZDP6CRR0b62lD4GlHfQjhopul1ivTW_uMX42HbzVbDCjGMm23U"; e_fb_requesttime="AcJkyuI3iAAixmIG0Ndee6AsytDg-FJ-99JrnMYFyG8KF1jBX_YcA-uE4ffaSP6t87AJzJMY0g"; e_fb_requesthandler="AcL-b0EJYD_B2h4E2LarDI3FGSemmhDe4bGoCKxOCYSTVt00iNfzl4nONM6lyBN9vfu5frPoSJY"; e_fb_hostheader="AcIOqgwY1eG-mSGF6eyGMQt433NXP1vqzYRVm35p4-2ygSckRfaQDoeemn-vuj_lxdCGdYAgGWvwapYH"; e_fb_requestsequencenumber="AcLkS_OTYSRhZHV2TlUMAeXKsqG6CCLbMtLsfWmNjoFBc_M9iN4OUf6XHHFMtA"; e_upip="AcJUq2ao6Su1XhxE0huWddLxDqhmQLSR-sFR8sFC0iVj1dHMHaumOkCx2nenSfawg36GCUbbCneniipN2lHL2UpWh8synBmxKmFwKTo"; e_fb_builduser="AcKDDrgNyAy0E-dwBWH9Bd_0oo5Fl3OMkv83ES8jOI0DXVDsdBGAAAhm7hoChcT3EKA"; e_fb_vipport="AcKm0fnnOUvBPntHLvPuNBA_WWEfbxxH2oYUqw8J2O6q_PMYG21hWfQIU9MU"; e_clientaddr="AcJWapUxoBp8xsJFXfe6SMJ3oejpLmkMaK2VvOoZrsk_G6Xsf2ZCVYi7ln3PykTI_LVqLEIYzi0Y5DPrQ_vpddedpfwD_ijBT3spq23ibmMN3JFCnA"; e_fb_vipaddr="AcIdpNyBBFGFlbUMEuJaTuN2HGL5qGyELwhjoFc7vom_a25aE08HwXc75IyuSXnWv9WF5b-9TJ-waQirVJ-a4NDDs7ZjAriytA"; e_fb_configversion="AcIqPULVqBTa7rZjU5yNg1zRa4hjRZeM_ZWrYKYUzu2ksaVvdQtyzlti2kG7ew", http_request_error; e_proxy="AcLg3hM1dpBVqCOq_PPcBx0jJ_OsT2X7WbFBOWijG909kE9cuDr7IuFAJnzaMDEtCW-oBs_eeS2Va44"; e_fb_binaryversion="AcI14buGZYG-wAgK7dKr75zlqaYmvfUodo0XGVvq7OErHwpAR3NAO6Z8KsRoebp6tZP44JM0-EO7g45kOZXgebNO5kIcT8KAp4I"; e_fb_httpversion="AcJkUZo5X0zoJm6kWCPwSyLQs7AXFDCmrDXbGAtQ4eHKkBHi6ifTEy-mwIPs"; e_fb_responsebytes="AcKhl6gMEWNA_6XlHbQmK33bxAeWy_5EunCejmN_tmxV_18C1m4Pj4q4_DKu"; e_fb_requesttime="AcIJX5OTZK7A95s0g_1L2ZL2ayzhP6GkvgWBsFcKtkNXM7T83qxXdY_WcHeKhoxUEBq18-9urg"; e_fb_requesthandler="AcIN5SIaTt4nUaJRccgGufQMqi2rpMIl1Ge-UWOBZmuOA-BV1oLkuIA4JRHClXQ5rJAMSygg4XA"; e_fb_hostheader="AcKweWJdG8jY9Q2bdjrtqJov5oQQl49WZQTCbOwsGbjd0PBL6bYNVaD7DcnVwPFgEAdMtK_3yck3Ye_Q"; e_fb_requestsequencenumber="AcIzCx-doydUkuuQfLSCDOPwn-Mk0YfTQvT1YYa-1EmgGlZYrdByA2mhYg"; e_upip="AcKngXOrN9I6xk164QxeW4XY_ORtsUmEX4Opl_6W9OtnewAhh6FgGtDMdBLMi7eekwPVjINvLOzIapDFzx8pYxdtNzqFK8xLFA"; e_fb_builduser="AcInXUPjHdcHjsWTGbIfgfDBlNwTKZY0-_lWkSm54vcgES7sg3M9uqjKBT6Dk3Z7tR4"; e_fb_vipport="AcKwKAHVOPV8BUdabnGrtIdpoDADcdIdcFK5cbxiVZhCRoii1VzLJseDM0Qq"; e_clientaddr="AcKbN2vQD1vsoKDQfOLCkwFDKM9lB7MLtsskVqelnxNBw8xvik8hLfl4WCH8LanKQr8uPwrA_4XwvBdgNw"; e_fb_vipaddr="AcLmLmRnJ5-hCABMH6JrBhDR6NDKC-ah4Nxt4CTTK6TldA3IC4smvdrMkZLQOV68hQnM4g"; e_fb_configversion="AcJzO0xtp8FBUVJbXEd6Ng3EvgA4b1O1VWJO5aJG7vUpahKJUc0UaOUEG9ipAg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=151, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7925006697608894"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/09/2024 23:00:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:01:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:02:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:03:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:16:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:19:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:29:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:30:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:31:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:31:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:33:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/09/2024 23:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 00:29:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 00:30:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 00:31:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 00:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:33:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:41:04: Request bot not found: { id: '863113247096430' } 09/10/2024 01:43:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:45:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:46:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:46:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:48:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:49:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:50:57: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3571619, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 10 Sep 2024 01:53:09 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/10/2024 01:50:59: Error on send one message facebookId => 26532773043034661 09/10/2024 01:50:59: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/6e131510-6f17-11ef-af73-55f1cfef46f4__1725933189345.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AY9VcRzf4NmGISFcRLSGh9V" } } 09/10/2024 01:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:56:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:58:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 01:59:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:00:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:01:49: Error on send one message facebookId => 26532773043034661 09/10/2024 02:01:49: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/6e131510-6f17-11ef-af73-55f1cfef46f4__1725933189345.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AuhoAHe97D27hC9RjHjo_1q" } } 09/10/2024 02:43:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:56:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:58:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 02:59:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 03:00:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 04:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 04:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 04:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 04:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 05:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 05:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 05:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 05:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 06:42:27: Request bot not found: { id: '863113247096430' } 09/10/2024 08:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 08:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 08:48:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 08:49:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 09:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 09:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 09:48:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 09:49:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 11:48:47: Request bot not found: { id: '863113247096430' } 09/10/2024 12:39:38: Error on controller payload Input Treatment=> type not found 09/10/2024 12:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 12:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 12:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 12:48:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:31:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:33:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:35:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:48:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:48:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 13:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:31:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:33:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:48:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:49:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 14:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 15:28:10: Error switching inputType 09/10/2024 15:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 15:35:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 15:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 15:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 15:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 15:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 15:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 15:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:02:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:03:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:04:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:05:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:08:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:08:56: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3744368, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 10 Sep 2024 16:11:08 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/10/2024 16:08:58: Error on send one message facebookId => 8579754802055150 09/10/2024 16:08:58: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/4a31d140-6f8f-11ef-af73-55f1cfef46f4__1725984668756.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AUIVziKuxiMAxeGaAt9qrw3" } } 09/10/2024 16:09:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:10:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:11:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:14:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:15:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:16:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:19:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8579754802055150"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3749615, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AaGYGkkycAFlmT9OgU38me5', 'x-fb-trace-id': 'GH58G9IU/KB', 'x-fb-rev': '1016361404', 'x-fb-debug': 'Lc0Bnd9S+gqYBTrSF2tkeykCCpX0g5oJLH8cTX69a1DwPLZ/SnSBd3GRCYG6f1MUm2miIk1kS3CVL4wn4YnZbg==', 'x-fb-server-load': '40', date: 'Tue, 10 Sep 2024 16:22:05 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLVWIP-o4BOEPyFZ8yc_v6tieWre1NbB1cpj92m2Tihfe3QKKtKVjR3p8cbsgnBjoYH5S_qYZQ5JbazVemg"; e_fb_binaryversion="AcLNxmr35T-7LqVQkHN0GUlzy7ldxWqgY7d1eUS4-BpVtW1dK_pw8DxC0aca6elHYWZXl5fNOSJXvigI51D2AeLbM83tBGKH8rc"; e_fb_httpversion="AcI8rtYzTp0vjaEBKMGhQR2899wyicgizdyvUf5sQ_JAWzHDoYWSqznC_8Ag"; e_fb_responsebytes="AcIYZC-Vm6a6DKwUqr235i93x6-62hp9p1lcMHs5HBKM3VHaY8i_aCq2uvqj"; e_fb_requesttime="AcKBuPemKmu1HiaURIt7ApW2V1ayFvie7BF16UYPaDzJA7oivZn-OnZrf5U9mz3raJQqZjQ7mQ"; e_fb_requesthandler="AcIC5i-bAmjDjJsLO1YTD2nWg9dZup5D_LGKmMSIlzRMuMA_SdNEMI89ErM8ooPmabWEXMQ1yRU"; e_fb_hostheader="AcJFVNxiTUEMvT-ABQnOoNUL6JqgIcYI6hiELXvpvefp6vhuWdGrliYi483cX9KSfKbZ43ihGW4-7KJz"; e_fb_requestsequencenumber="AcJECRSh-DkFWg9CcyBfhIc4htMpt9P2BYA81O4cq1TqCJvx15iqgSdpx0bD"; e_upip="AcIv2VoMQz5cIjGDitukK8NXEeLnIFvjPSsqxO4ia3652WfCCQ8Cc4IyPYb_Wk-hMaL8D5FTMJK9oFLmtEYX4L3cec5MzoEUg3rDYA"; e_fb_builduser="AcIaD4rE_KB5NF7wHu6HfMhWLG16QWkyh_iHLVlyqESLn7aqJoHqeT6qDfz7dgBbElg"; e_fb_vipport="AcKDyVuCA8FQsO_hJLIbrxfQRRXpEjn5NS1wKrDBG1mpTGLvcaBXHjK5YwNy"; e_clientaddr="AcJcesF9dFcSP25dFEUJsPVIZsh1ObgtiwImeRiz_5GJBBhoysZhGSeDGRB6IkITiTusnf-f0d9ySv-YNdNLh5nhZnAFofPfO3PLSpaSV1GCCQip7w"; e_fb_vipaddr="AcIPm_PssGPpnC11xJny2L_X8M0BahgcpSUBwM853Mgi-ifGvd7xmk3oHITl78ACypdRIOkqA88nKk2VlifEg3_XDTGHIYoPkA"; e_fb_configversion="AcL7_jLl-J-Om8Yx7pF0M9MrrDot02yhqIk2MpmOVQNJ68R21WpDYFK3ZSz_hg", http_request_error; e_proxy="AcI5cF3s1pddp1LvhiVRCtbF35gsD3BAuhBwfDb_So9ZSilscba51OKY23KUEwnel1TXq54Y_PSA_z0"; e_fb_binaryversion="AcJSU_UDTMCQjryIsZWEy0-Fxp8dpgwUo9WwN0STuBC6BpHvce3ln5vnuK4t80GJueuuPrCt7UlF7Jkh2i_ohq9mGxRQUjeah2w"; e_fb_httpversion="AcIrenwEwRsvKra4G8-kXmOccUIlsmnW3je7-6RToDc9laxgYOlYNLTk0Kkq"; e_fb_responsebytes="AcLXy8cDLlg7HI35IU_xTDuYGgHG5HBgoL0Hz1WRaEgc2N5aijoezEe2-rwS"; e_fb_requesttime="AcLmtZhHOg7jJX2DREHFnPDn3Fog3FfEvKUAzfGHmLKyi1khGtUaBI1RkewNvfMwie9QC5h_AQ"; e_fb_requesthandler="AcIKJdPjhJS-T0SOEzaSH1Nzr4aOGP5vPKfhP0ETtntWmhm0LROSbBg7dQFc6b0MZViM-1l1bbs"; e_fb_hostheader="AcJEy-HuYk8PGOt6vW-bnaOJkCSAg6b7j78fUKuOt6tvL4krccGS92YNnd9tTcFDh0UPZV8AyRlqTgK1"; e_fb_requestsequencenumber="AcIqUoBxtse5djbu0auEYuuOJZDtPxvMXl6P2v5w0IxVgw1WkrsuCAYIeA"; e_upip="AcJCM282tNA3xyvGFl4XantWU-kK9NtjyUbMWTFngkAzd9wirVycDGwq8wKDnMEBqN87o8O81VzvgT-s-9asvLilSXrWwD-Z8g"; e_fb_builduser="AcK_5wzfZTdwuGBpe0p6Hzh2mCpDdZz-tE_k0Dn8FzQM2sO3W0_vB2Viww8pFWbZ9U0"; e_fb_vipport="AcIEYR2b2w_gKaIH1UsUiz05v5ErXHyfiiDg2H4d1NBSxc7jali9ZIwiLgCQ"; e_clientaddr="AcLsC9i6lLbZjR7451LypTtZEwGQ7DduZj3kNIZ7jd2BvxBbHy2mPrZqjE7bCo_9U4lAvN8qWnOh7qwiJg"; e_fb_vipaddr="AcKRK8JvbsVTcyAkHGl5MpWrfcNkhtE36lQSKGw1URKRXid1SBXVWK4FER6uraX8uyKf_g"; e_fb_configversion="AcKeCnBdrm15lz6EXW03p4Gr3CDjjjEMo-10as7eleB9qdUZWu_ptYG8Mddfng"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=159, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8579754802055150"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/10/2024 16:19:52: Error on send one message facebookId => 8579754802055150 09/10/2024 16:19:52: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Ac-D-zRxU4qgYiUTss-bxXm" } } 09/10/2024 16:19:54: Error on send one message facebookId => 8579754802055150 09/10/2024 16:19:54: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ASZcloZ6gGV6G4JdIKFW7vA" } } 09/10/2024 16:19:54: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8579754802055150"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3749809, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Axmh6QxzMyoO3uIVjMYfVw6', 'x-fb-trace-id': 'EWX36ijqCGY', 'x-fb-rev': '1016361404', 'x-fb-debug': 'UzEbrx9hcr2+T064WpiXGVEvsGvGiDPBbMqQo20vB8g+EQvHDw9oWnyd4YAtNumnIEZgfVcozcg/17CbW4IBEg==', 'x-fb-server-load': '47', date: 'Tue, 10 Sep 2024 16:22:07 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLGWTTdFqcfx1JV3U2yBfQmDqcVdxBzbh64dzI4ODp7ux8QXk9eNozXiWXD1bc-n5KkPqO9jvo_KgnB4o4"; e_fb_binaryversion="AcInDc5lMBBBuHqJCdM9o0UnWpk36RH7YRBIIQ6YcsccsgOHxOaJrI_AhmVvzSFP-OeJKnxAvHfQPWa4wg4cXKadkejV9pDIc1I"; e_fb_httpversion="AcLfOA5diSqqFPbh2FLtlayU7VAkd_UP2ZgnVhD9ll9tkxeb4W8qiXNOtbKl"; e_fb_responsebytes="AcLYaFvhwiVbMwjruYYiS7tcFN7_Soh2GTCHWHPtx6yenCGL2qqwzhO4QnFU"; e_fb_requesttime="AcKZsQ8P6_MvdVLavqSpSSPXsYDEryElUccHZzLW5c3hRqABo-zDvenr5LDtN0YOj0EQTtZM-g"; e_fb_requesthandler="AcKdf28eNlWh6VtDF9ddGOfnMppiYLbKr9cnRVmXWr-cAv07BnVaxVgshABuIe8XRZSBY_Swbhc"; e_fb_hostheader="AcJ80_JkR7GZ3SsFfmXDn9WnjaZUdcD0XrSca7ERD5KoWM_qq6gtyWz3IXbPR0apab_NeJeIgZ8Cn1oE"; e_fb_requestsequencenumber="AcL7_0VYpPMtCQIRMcTQNUysMAviGWbTmF1ffVj9VVH-3mApEOy7dHcaskGfgw"; e_upip="AcJ9ulWBSHCNmVNy502hGeC_R6kX4jXPYUA-JaC5XpltI0XGSy_CWQafnRFKI5S0ZUn5bwtl9Np_xQ9wqGrkOF13kzOZjEeX6PWMZQ"; e_fb_builduser="AcJtoeLs7JxnGOhb8o5UclfJAvXETPS9Sd1dpBFZG1oyXJSBJcbiVog-1MXFqDWB5yI"; e_fb_vipport="AcJEfNfE7A6e22X5itiP3uq8KdRUNouqrocjUIBRnNUe6mbPJ1oukUasIsus"; e_clientaddr="AcJpzuwZAJg4PKYOSyFVm34u8_I3Jqzn0m2_A18uRfS863QOwdEUjUXf72VZx4SUKXfMEYI_4i6P1si1yMvQXW_cBNt0QG3NTt9A4dt2hzReyHq96Q"; e_fb_vipaddr="AcJbbqX8Qqcm-lyKk68MY4NXbBQRcc5eIxPn5DN4A8R_MTvPlNYcZcnU6sXCnWazwrhK3Db2On52dQzgBVK1bMhSnNiihl8U_Q"; e_fb_configversion="AcJ__htcDAl5QpcBJPKy9BNU75X9kXYEBpLBKhUSiUvrqyKak0I1c__y5_Hcvw", http_request_error; e_proxy="AcJvK704RL0Dhv5TAE8qk9auwvynd-T3QM7s0-5Uk5NAWAyKo1tWMUiOokXTzT7b7JFuvuhGSso_ASc"; e_fb_binaryversion="AcIJiuqp24HTLX-jOvcWkDLKnhfIFdJ8X_22nQCbkPRo6vKQJvtIIL1IooeG07IDboau03z2DzmrWscx4UGtmw1Ltrr_SKzUb40"; e_fb_httpversion="AcKauu8wkBxQH6GG61_lHznj9MwpGlwm4WKABkTLaHJoooowfuEonFJnGbZY"; e_fb_responsebytes="AcKDULrIysK8_rGkMXszJRXC32r4b0hIl9RxC82MN4gF1am7MKu28Hvjrkqs"; e_fb_requesttime="AcJqaVdromz0Wb4cQZ_poAX6kqKN_iEiFlvXcEJWMhqVAdPWy-xjy-0mr-r0LXfki_A-wyZREQ"; e_fb_requesthandler="AcL-7QIKOgy80itNCkUxXSkEk-oZQ5CHdxQ9fiSgnKwRhXwzPswVSg_aCMxt2aFelIIr0zmri28"; e_fb_hostheader="AcLs6Z8cJDS0g3zZv7LJMFmbPgQooU2-nUlg7NjdieCgWinm_N9guWrZqAb9qvC4k8bY-9qY9M2UKT1W"; e_fb_requestsequencenumber="AcL-k7z61eFZW6bqU53tjOt5_he13OZLOcSdbHXFdUgbfqK7v4fnluEn6w"; e_upip="AcJn1aiym_XLJCFQDn8WCcNg_Zodraf2Nq_H60Ae0X2pNHLeMQosdhWAZ1pu22XX9QeUL9OUq_NrIUgV0rxLFQ7qxa0hfR9pcA"; e_fb_builduser="AcL5w2U2vaaZn7Ifu7PMKtSce8-mGY8Cm_IViNpLiZcxQ2N75hR7LvNSGiT4-V4vUH0"; e_fb_vipport="AcLoF-0pCbn8Cb33_hQDyGXrA6Qv9tOBgzl5LXtQWOQEWXlWt-296Qq0blz_"; e_clientaddr="AcKjVPBn8XzMmPaPNT1uTlHan9OHyrk44IQjyTcPDI3nTDlzMZcnKZwJfOr4ShWa6dyZZDoCvoYQnaimqA"; e_fb_vipaddr="AcIyWNdsKVpOko05U9BzdWBXoCVBkRLvLEvFej0IImyPJbLyz_L9xBOHDeBl1wmsW3gfpQ"; e_fb_configversion="AcKioAEiupB7SWN2ZnSDpbqy9ZYUEns_UPDxhLdBjqcoF6bV_2MuJtBHuyy0xQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=168, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8579754802055150"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/10/2024 16:29:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:30:21: Request bot not found: { id: '863113247096430' } 09/10/2024 16:30:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:31:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:34:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:35:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:40:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:41:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:51:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:53:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 16:54:31: Error on controller payload Input Treatment=> type not found 09/10/2024 16:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:14:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:15:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:16:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:17:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:19:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8579754802055150"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3765486, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AfkHThHjs24oKEgrXGlXsG4', 'x-fb-trace-id': 'G2136ZrPvuT', 'x-fb-rev': '1016363395', 'x-fb-debug': 'HYKWplVfA9Kfv411qf85FXNJq4ZcOo+Ji09BI0dL6Goz3TXYyKaVgkLQc6IkaVx2IS9cWQ0JN44406hH0gDVJQ==', 'x-fb-server-load': '39', date: 'Tue, 10 Sep 2024 17:22:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIr-pidci_mzeob7Cp18VgiPw6TDGFKY-AJtOV82dR-dpgElaprW3405z1M5k98_-mY7fFeYOKX5SfbVvoZ"; e_fb_binaryversion="AcIURiybge6LaUsSlaav8UWtFRlPR5vWL_HQPPZXonCZp9I0lFHaJRubC24lopHBfhh4kSlm1bsvd2WHQmEoGcvro7JV77k-oWk"; e_fb_httpversion="AcI22SiiKqnTZrLubcZJ_5wlphmqUGek-cAI5eQf7N_Pxd-FlrrvtSY3ig15"; e_fb_responsebytes="AcLIpovFILFN4N8QZKSiIt954yuVQZdK3xKOljDJwuwfyQUp7XI0-NCqomcC"; e_fb_requesttime="AcI-95c7ouEmwK0qhvRxk-rZtuyc__WNB-NXVqIjo1TC67eOA3LaATRxZDxXPueD96r2_U2Qlg"; e_fb_requesthandler="AcLnYMExAMHdPCu4-KXLjw9-yyGv_u7ZYVsc_66H1AWxHjANPgjJAgb5cG-6O1y_uSAIEtjGahY"; e_fb_hostheader="AcJwmyzTwfigSRT0qURSpNOL7E11Oghws7P9rLiBknTSOTZ-KECnb2oSDERd1J_pLJFat23mK4kbEBXU"; e_fb_requestsequencenumber="AcJ4heOy9nVhgQkjk2n8kzE-6LgLn3Pchf7f7ZmJmTQT5pakqpJc6ItQz1df"; e_upip="AcKZJVzLLQk-8NK6a4pp8N_7Kcu9_Ad5Go1k4UZ30H6GYzphx3Cy8VHGjCgUy0jj6xxGhqRvku5GBEA30hwWUb4fvqox80fDx_arRPI"; e_fb_builduser="AcLtE00BSozxzyxIzbKQWo48jgnokZM668crpylMj6clb7iCqfhGKpN-Hdecm0FKBWg"; e_fb_vipport="AcLWueHsVSzMoCYMa4vn7nxl9BMVPuyluv9IhiS19yXtlpuh2cw3TVBTWpwp"; e_clientaddr="AcKRGDWZMlBZSuA3N3wTDEhMtOpvDAZ3nQKcOBPvBDVAggaiMPPzrAShlIJNl5rjI3BFFRdAHAoyYMoIkBVzz01VDAjOHW_34TvKx0DoQUKSjX6Y"; e_fb_vipaddr="AcLe9DNQ2NFErKZh1-1N0AsaUVp_fzDgOsfxs07rLAVUeA6lgAjQcY2YHujY-IxsxfKokwh7lcHRSjkz7U60AEFGBqXh8-ENXA"; e_fb_configversion="AcLvpDl8kjYHknHyuGRKZfDWXnshsenBMI8ofl0EPqHPvYsfh_pwHBqWHs9loA", http_request_error; e_proxy="AcKIq4_4MV7QOZ1LzB_uqZ5SjDAK_S9WtiVfJYHP80ZKblM25epFPeZld99yOGR1oWPdlTxiMqctd6Y"; e_fb_binaryversion="AcJvqnroXTxWmt3UkDx5Dy5eaMDbxP88X8eH3by-skawNaXMhlqpZTNb1ODZyM9bag0e0AgyRjEE8nzr4GfODItkz_nS4rvk4A4"; e_fb_httpversion="AcIfjh5CubUwUgM89UzJOB8U_5mcJBakb8NaufKL2n3qViHhtVCKXnkdY6b4"; e_fb_responsebytes="AcJIQoz33IYXESjoUmEM6m6H5BVSxvyQ-Xep3Zb2llwRd1OymGcAns9RSIZB"; e_fb_requesttime="AcL84c_-hag-xzT-K1Lzx7Hh0XVdlDDL8sDT1lfaammPBYSi7vlYpzAYK4Quj-_9Pl7GM8idBQ"; e_fb_requesthandler="AcJGMNq8HLnjxg68f7ONCKPLgzJkj2_XKcTEEU12N7QAx1Stm8TTE6YaWehLrJ_QOk3XE3mMbsY"; e_fb_hostheader="AcLI8f-4ji3QXHhIOlsWHKsfdHgsDZmEzqrHuFlAx-ZbCv9XKgKRm7gwkxGp2fbMy0wd825OPZ_LplQD"; e_fb_requestsequencenumber="AcJJkyIGY7uFjEvBaxDTqECf0sQSfR8h8GHTKQtc-kNQTgAcO9V3mmxftQ"; e_upip="AcJSxcxe3KHxPYw8RLENSZ3fpworfzFD5M7aS03ki300QWYkD1ggpii9-CN3UjNVM7whQ-EnHumxEtEAOrGddmdXZyxTzD17mA"; e_fb_builduser="AcLyFKEuz45EC4PxeO6uR4QuvYlh-UmbsiqwBVe7j7EjFwDY7v2mecXnLyF9SaRnWKE"; e_fb_vipport="AcLhKpYPxVvKHJ5NgWtCkX0VQHudenzYV-bQ5WXhNwWdg9SxoJOrWWEyePL1"; e_clientaddr="AcKjbXhH_iN1vx5d-fla7PDtQk09WdwZyYnVOya5pLsgp8TUeB1gI9FIlXZXJWfRbMYBi0BDT_LB0M_v7w"; e_fb_vipaddr="AcJHj1HNvfiYrIqjY1B2QNVuxam-sOWksU7IZVcF41M-rbn-kMDu5dHWd3lSEhMgIRrTWw"; e_fb_configversion="AcIY-grk4Mr4tNW16x9ZHo324kIJ5mqBkhZaQcu4xKc8YvGlnUVm8gAs3O_l1w"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3406, tp=-1, tpl=-1, uplat=311, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8579754802055150"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/10/2024 17:19:49: Error on send one message facebookId => 8579754802055150 09/10/2024 17:19:49: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AMmX8VBWKRljGXQ0DqSODqk" } } 09/10/2024 17:19:52: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8579754802055150"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3765671, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A7Z03cwnOPFZaN4xt01Jr0i', 'x-fb-trace-id': 'Ep2j5aWziy4', 'x-fb-rev': '1016363395', 'x-fb-debug': 'fJ6y4y05g6dUn8IKqnl8x9oU/+ajDD17p1t+SOBBn3hDSgj0t7UGYSokDQu8hfJYLLjcqwu1CO3ZyLn02PBeyg==', 'x-fb-server-load': '37', date: 'Tue, 10 Sep 2024 17:22:05 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLbUoceOlaW-vhHDzOOBAd69QvDmVgV3YMPaQePxfp61sUybyuLoKBOwqEAQLhgO4Y8kxipldGNWWSzfQEe"; e_fb_binaryversion="AcLv4JgmXIFQshI8jafYVLcqKnz5yZrS4FKSrJwrq_xBLCCRWQ906kOS_jBKkHZsR0ynfndLWagak5NYTC7qcT1FRaEbU6ZTStQ"; e_fb_httpversion="AcKEK-RJVSpiUEO8WRHfHKz4NpODxgkKvKT4utQBNRxYnWF2ZfpgQqoeuYaW"; e_fb_responsebytes="AcLrziB-5CfPPXBzaUHkWUGVW9bzYj4fzkAs_p-Whrj5UEK3u25JkI9tvkI5"; e_fb_requesttime="AcKBeQwBpqtJbNNcaR8AB53Q70Moc4mN0Rsxm0jpJ8MEXrcZu3pouTS3cRDaWWgFIMz5v_wlWA"; e_fb_requesthandler="AcKy4dkkjc7NTNwC6_dPM-YiB_49GvRA0ROToP8cDa5nG6isSlnuHTA4D7wg36VZcy2fleUx1kg"; e_fb_hostheader="AcLGqb3zx5QVrhMXNU1HSdZ6Tm_ilrvNXLZmpqRp8XRfFRsiA4s7ZCsa7hlxRJa17Mgf3YpMbHPKOLAp"; e_fb_requestsequencenumber="AcJ0caVH7P8kelI2pxNGI_ukezigbLR6ftwxU9oraGrFN9Xf1cy-jZ5FlB8N"; e_upip="AcI9-4QEpZV2iYNZjSCPMIJmL9MvVTP7sAX2ePQC4QipBk4JTWagVMIvr0svsCVsPnXEqJxvvuDqZOW-E_hJ6Gh08QmiAeon8J1upw"; e_fb_builduser="AcL_QtOrPGbvke96YXixZ9USWMbESVKhnqIleo8UCOrmmTcmaqVQqyTapx5xY2r4erw"; e_fb_vipport="AcKBzZ7tr47k7fx1JIQiS-oooH4Y_xGoeTBXas3krXt4SLrsmTPQYnkttIDC"; e_clientaddr="AcJv-bIJkRpfokudzKEow6bLSohqxdNAILxJMRg6lCyRvPSPwUn6OQJVsWiM42pkGP7QazgjAzNZTNOOT5gywh_as0GR5j3vtgLzvAOV2x7A57Rl"; e_fb_vipaddr="AcIopwyRevNjrVjibzU4BrGTAwCvl1ZesNrOKle7U5SwYwyIbZFQCDdmM5FrV-q7n-s0KEFXO-ZzL5UA3MMdAD5Shee5ger6rg"; e_fb_configversion="AcLASaUwM9GRfUa__XHbsbdSGIMFbtUwpA9ZGCehAYFxIjkkxv09WAyxHWIg5w", http_request_error; e_proxy="AcK-nLQwjw0YvPwUH0oL0gmS0PkVW5LT2R-RcSKj-klqrOoTq6Kt7RFU1y-HKJ5W1Tx3fUlCQyY3HB8"; e_fb_binaryversion="AcJe-Bx6g9eua4bJ_CzlPDtEDJKT15hwIMG39g0JxxfAJvv3zZQ7w-zPf6MYfOu7U07do2ssLlh9-TBxzqjmQZZvsN8Sz9o27RU"; e_fb_httpversion="AcK2ml2bQUenkjTer9eMryrsq75K1Wfobs0VcUCZ1OaBbdaQ6MMzmUtMoy89"; e_fb_responsebytes="AcJ-Z0Ivg7OszyM_es4ChXWzdShjpuwROfsul4dnPOOcqdtQ7gSlQvYcsm3q"; e_fb_requesttime="AcJYIT8PK46IC2ACKiNVFsCm_ueo2FZMAN6ru-5IdEWnIkedlWsWsTeHbdrFnGCMwHA2y9Xxow"; e_fb_requesthandler="AcJ4Yoqm5Lq519D42LyBjC_9DU0ioDYh4s9gtCONIOzU7pflfsg35JEqPqq-ad6eUYFoZBGL1I0"; e_fb_hostheader="AcKmtPa9JgMmzy_L8EgHuSX1s3QLQEfK5AmCAytsYuajtHir88L9z3rE2anV9mWGcwzQaqE4Uv34htki"; e_fb_requestsequencenumber="AcKp-OrtR--hZB4-AQR6bULTtzP2An834ZaSjsFMDtLPWG7t0Jbenkym3w"; e_upip="AcK7avJSRbHm1mNY-9bZ2IGdsz7GpD5RJQnATuJ88_biR83Eu1PGF2bwbS5kvsu8deW0WdDsQ-GjJtd3NgWoOlhsqPH1ndThFw"; e_fb_builduser="AcIkGME8xJ38Jg7WJCdqTUZoY5JfeQxdKzSf2fFLdpSr6tRa-YWH7_Bv2vGxAz8dH2I"; e_fb_vipport="AcLcPvfN_HE79UsBIohCaK2hS6cAEyjGoAgi94IzrulfEw4DSOavP6TdRTAs"; e_clientaddr="AcL2j9GutIXQfLwYkUUwjWLZq3kmaS1njNw5JioCXh6nWUZdxb3ygJe5ymCgYsLZV5edNT8w-trS537rUg"; e_fb_vipaddr="AcLE0FF6ZldIlpjzfCA823bqZ2uX7uxyE5Dpc62cEmecCVRJWeLvYBJQZM59XT3zRa2QAg"; e_fb_configversion="AcJyZjDFvy7QU7A4mt0n2oRSYPnHWnoUzQHaxXjRBpvotZ8su9MZSnbp7R-F6Q"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=201, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8579754802055150"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/10/2024 17:29:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:30:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:31:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:32:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:51:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 17:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 18:39:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 18:40:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 18:41:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 18:42:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 19:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 19:40:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 19:41:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 19:42:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 19:54:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 19:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 19:56:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 19:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:05:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:07:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:08:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:09:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:19:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:20:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:22:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 20:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:05:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:06:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:07:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:08:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:09:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:19:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:20:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:22:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 21:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 22:41:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 22:42:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 22:43:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 22:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 22:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:41:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:42:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:43:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:44:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:44:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:45:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:46:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:51:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:52:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:53:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:54:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:55:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:56:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:58:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:58:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:59:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/10/2024 23:59:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:00:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:01:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:19:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:20:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:21:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:22:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:23:47: Error on send one message facebookId => 7749839295122476 09/11/2024 00:23:47: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A07p12j1gNMOmXNBtQpKg50" } } 09/11/2024 00:23:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7749839295122476"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3867242, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A1quAyglclBYNAefsGSmhmc', 'x-fb-trace-id': 'HgNNRLiP69W', 'x-fb-rev': '1016377356', 'x-fb-debug': 'FFb3IjWFeb627dWpSN2jx7QT9StZKvCQ4kfGmbsUjfEhh9xxaHon1KNfXPseHJd6SRsq+1ywY6LkU1H09s/1fA==', 'x-fb-server-load': '28', date: 'Wed, 11 Sep 2024 00:26:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIbJWJE4wECMJe93nK0Y7QKPI7aq9PPg83wt6hPOOOnLVO6beCiNG5mr03KRM6c70tUGhZZLo8lt7RcMMg"; e_fb_binaryversion="AcJ5TjB_s5Dg8adOAljUOYpOQMEIQrgRXIj5J7zrNLwzQkFI6KocCe3Hk5GlAOjktUlnACWOqDlp6Mi3fj8FQ4IO_PBTtpAoUKM"; e_fb_httpversion="AcLe9Z8-VJP7wytR2QfQbsna5kuaO18pNBpfCUcAjSU7PDSJ5hfG2QY21Cem"; e_fb_responsebytes="AcLFtD6SHv4_M1Cv6SjarEXyIiGrGopNED__Gx2Dz7nzCfSAWiKYZ6JUUnvP"; e_fb_requesttime="AcJzUKK4-rCQRQaMryHPdBgkSGtqxWH75B1rwZtFDvKJE9-tnSonaYYQa6mXhtux4uKgHJuqfQ"; e_fb_requesthandler="AcLpvsAgNPwYTIkboXDpAfL9Ft9DyRdTEVj3e4ldpOP4Tq2OV6qYw_7Dqo2Du7K0AB3rvieDBSk"; e_fb_hostheader="AcLmy-oE6P82gZXGAFaNzLaYguyO3iSYEQybwaZw3LVfV1kdu82tBbjAKDcVbqtmQiyOWDJBqgyDbBv0"; e_fb_requestsequencenumber="AcJw9IMk2-DzWAVJEuHbYLtndW3nsT_J3p-o5Cewn7U4cyRojUGNr6S_kQ4"; e_upip="AcISo0C7r9gZXbq13spH9OAfmxF7BLvroVlID3VNhsvS8-qXYS8qwO87pVYPlgaz1HOCypErY636Rb0O2ZgpjZmUCcuDnKXf9UlVaPU"; e_fb_builduser="AcLwIuHTaTtgnuD_YbMg-FPnIxqTVy6WUW99kLGfZgDVCwW-fIb0ZPL4eo29-VFM-JM"; e_fb_vipport="AcIn-B5y9FNW2M0Ly1RoIsZQYNV_cKcxrR9LokARmTomQv_pYDeUWcOp-3Tt"; e_clientaddr="AcLXTYSPaitnvAUu6XuHPBCmtytore2qc9octv_gptXlKqzY3QTJ5cnrZ0jNYhuJ0ylV1DPT5sqgtOEJkWORwisj5BE4Y_i4efamn3C1I9GD4-HjDg"; e_fb_vipaddr="AcIjfTk0NYSXylzvYZvJB7CEgQxVkcOVLTkVPW46C4Btcz0fUjuLTzJBCcY079IgkuXw50KvPnwnP92X0JgDGt0gxMKfZm9S7Q"; e_fb_configversion="AcJ2pdRDpC29o9fPyG-hr0wDPEgZmnPR0y1-wqANqAPPeimg9I-95enKMnLaXw", http_request_error; e_proxy="AcL8Rtf5HRvJuRsyH74YyGFOIC0c8DWOEhd09vw5WlU-vpOHEsomwbCtaDl6WV3RsSk5u06j6OLSxds"; e_fb_binaryversion="AcIwHxZogMpQHMdAWEy2tWYzlPq-vMwAsYKRtQQUIFVxIJxpDbYVbp_Dq50ENe2EEbqlA6b9Y5m4ExK_2_NB1kP7l0lmgRAiFzA"; e_fb_httpversion="AcLJ02vHMx8Kw0nqglx8qaLf2rjcmq8_MFT7ZP64ZE4YnPCp2hLiprig7u3A"; e_fb_responsebytes="AcJ6REEwUTSpolnJH-S-DPN2eKHDWuKub99NaMbfH7nVWPZdIT-ghGq93I3k"; e_fb_requesttime="AcLs1DSy3GdOoEHZmPjC2biEixOWLnZgrSQH2ESPRFjDEuJf07TqzIQzi5YkOkxN0Ylypqf5JQ"; e_fb_requesthandler="AcLkxt2mpJ5AsVOU4g49LwfnO-xrtWg_zsmqkKoKPUk0Lkucv5TAf5nkAFbxBB0z3uMh1Kxb3dY"; e_fb_hostheader="AcLJ5NZfaAxYuAH2F-2-qfYZN6s5aOflbQsH_XCq6IAIx9CwYdc9uA3j5CMklHZ1JYtj9Kdpch7ykLNP"; e_fb_requestsequencenumber="AcIoZ7TknyF0cjzn6QrRZfJiy22QQhHdfQO9tm8pIGLbHXhQnJ8WuVjnRw"; e_upip="AcLnX6Il2QesA9-Rfu5IKwCO5bDC1rX48-lkqmjze-Q8SZ2MvzP_m3KBj7xn4bmJvP5ZOzfazmzNSE9XkqSatNCBJ58Zvf19Kw"; e_fb_builduser="AcKCmXBNTSq1u6wssqIjAfDbsKou_NC2GBliAy8gto8t_NTC6cGnS7zdAQfNN1kMSdo"; e_fb_vipport="AcJ7rEeH7UO69-MC3i_8P6mxur0TIhcrZ38_GqgbsYVNrvCEhlPFIGdoZkF8"; e_clientaddr="AcKEaq8JOxpbQUWMFQU4NfG6u508cLd6dC61wxFgWq-SAxjRLZTJmisQom6sq40qhiKsKCuubAK-fVtdWA"; e_fb_vipaddr="AcIBjjb6o34FiMeKesGGGPYVwrBeTJcs5Fd-t19rM4bjSnguXWaBf1JQjZKAgglWztLdmw"; e_fb_configversion="AcI4ruSZXmp47ECtgvHIM98qfY2nprbZ4B_Tmt0dBddHiX-sM2GA2XT81w7sBg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=156, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7749839295122476"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 00:23:47: Error on send one message facebookId => 7749839295122476 09/11/2024 00:23:47: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AiM5JWQcN-3jf5IZ-jWjsI2" } } 09/11/2024 00:23:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7749839295122476"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3867473, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AniX4nbBh4A1FB0RTVkw25V', 'x-fb-trace-id': 'D4w2NdTesAY', 'x-fb-rev': '1016377356', 'x-fb-debug': 'pSghx+HiiiPmFAATlKfEFhMNeyU202xXfhK3SENkILVJNBQusfeKANX7ajrTB0uUe50gIIG2DJcViQ2bnSzgjw==', 'x-fb-server-load': '34', date: 'Wed, 11 Sep 2024 00:26:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJTRYgFb2-sTdJM10K7umNZzF0rbmhS8_0m5NnfwGMH8H53e7B0ywNZdkfs1kodtQuL23gk0lnFK_Anlcrh"; e_fb_binaryversion="AcLEMLXuIytVbyiqQdAWjMwelFimrJHa5XTLbmAuuHJfnhXRuSM8QnT0B1fWewVy1mZzNfiH6HB8-lQgT86R8pwrlVEF00jNvG0"; e_fb_httpversion="AcImNhEfBKPiCFkAlgDfvM9BUG2F4a4k_QAINzkrbJUrSDdphWPgMQaYtRGQ"; e_fb_responsebytes="AcLhGvVm75xXyAg7LydhGZGf5DK8idpUKq2cxPANwLwoWPBdHFB9KJkE4v5q"; e_fb_requesttime="AcK7G_D2OOOK1LZ-ybRVvAv7XjEi-NwY5F2m-d6J6hsmYOZt4SwNFhY5ilrKRdAH-jGUVJYH-w"; e_fb_requesthandler="AcIHUqfBQYwMDEeRCsneKWZMNpya8XsNuTRu3Z1DAVPsiYPQy5a-kPh89GTi1r8kyD4U17T6kcU"; e_fb_hostheader="AcJTYzewKlrd_QOZ3jbaPjCzaZ5uqoh4Q7eBK-D95idA6Fv4414dBnmi-YY__cZY_5CERWEB4C7liE-T"; e_fb_requestsequencenumber="AcKIs3Sy4IVESLOe0u0PqWIFGHzCZC_xOUmVWhxz6nQae_OF6DNdmc9HiyeK"; e_upip="AcIqT_TLAydL2_jsp6m4dGeZv-o50Drz0Y7WAFcovoz8pO9RO5GJo_ZH_OJt7e-H5nPZXhDh_Sk8e_FgqT2OLvjS28OZNC0lnRKtMLw"; e_fb_builduser="AcJONALZFvVFEnPgGpGP8JeuwZGFrFJc9DvXk_I-YBL1pJcK2J52rf4ErXRNxLrKYa4"; e_fb_vipport="AcLcLrzo0PWYmdTbn-0HOUg4cO3p9k1DL6LA0ZSgrLFTsOFChNITncErXy6f"; e_clientaddr="AcIEe3_MY4lnyJ5E8hFI4Zh88zN3YeA3byAMbj4FhWjYc7NUnnRl2gT2Agr76mHj8Ha_hhvkARWVIX_wHK8tT-D1jMTqbCk6inuLdg1RTCU_Jhbs"; e_fb_vipaddr="AcJ8zZzzk5Il_1BGT2dKDXKsfB6LTJniUqfw3UqS-yHutQljQSdQFi1OZekMF_3Wtq3xr8aHSSzQ5_YTnF0Czg0VHWRsMotJtQ"; e_fb_configversion="AcIrkRq85X33SoItSprkm8p2pYogVRqZ5RMP3nQeuZW41DCWrOwLCy5HkMgcCQ", http_request_error; e_proxy="AcK8EL2HJut8fV8Owh5oN5l-sdpHJqyhDJc1BKu8ylrxcHVGjArfthjvYqPVmo4vT_5NvWyYBfiJ0kM"; e_fb_binaryversion="AcJuNI0Xx1XX924q6Z8tpLDzob_uh5C7NJdOhjcR2mY5Esfz2mLlmJ8iQATygde7MpsP2lGmvVWCup0VEZoRIZXNbtV5ezkytDQ"; e_fb_httpversion="AcIhKkjMSweM3U8qwjvf8bAPdacMmhedcLvqPXmXN3KErAEcUOo3QAlGR4D-"; e_fb_responsebytes="AcJudJzHjWMEhz9Fxe6lK7bSrd6iU3je55J6XBKZcgakmXqZsy6sQXFbVKzP"; e_fb_requesttime="AcJrQUtb0SB7hlxc5M-mNY6iWsMWCLlqCOP2aDegUHLNKMTOC-kjsnuYkDEMK3jW7n3ZkPuWTg"; e_fb_requesthandler="AcLEaHPhAhDGRqy-heP4qTdCG2LhEqhsYQeJvmjKermjwtYIdPNAkGCOWRlXgBrVL07xMrgOKpo"; e_fb_hostheader="AcKKxYhw9pKPulsJAzyMZG5NhOr5wcBEgvYS4l_TJGb3LdbDZrN28d27ldILzqrJ2UReX_ufMJnZD5Lb"; e_fb_requestsequencenumber="AcIE7-U8ZM5mFfNEHJSfSjsmLaUImbXegLCJXVTrV12E-MVbWIoGrEVfew"; e_upip="AcKUrGwUYFGwFG3HjUxIoxKobEiWzTENAEDPsYYbl3N7LPNe884fyIQxNdTw7D8tpE4APGPHxhUDgfRilj78rxIZnE2wvYhljw"; e_fb_builduser="AcJJGiKyNEb9RHwL9AsNHnjCe8yIK3s0UPykOc3gP8H9ovpCDuXI25RnFRIyc_o-ZUI"; e_fb_vipport="AcLw5otrAyJSrD6A3_oZrTXtSylE0x8Y30OkVQ82JDBEnxp8BteX8dMvTZo4"; e_clientaddr="AcLfOYliZ22B4ckiHAyQe9Ol5vM2xiQGWQ5fNQ-lJqwwSJDVJUkDbNTFDRKRKswBdvoSoF8ij2CAjx6Gjg"; e_fb_vipaddr="AcLH_dpKqwqwmQGJy8HjuWEk7Rhhey8aXb9lPpofq8wCkx0qz9Yeg9Euni6JlKy6QhxvxA"; e_fb_configversion="AcIQbZdYUYoXSM5mDERkPUOj6AAwJCcvHH6-WYte9zZKt5UNpuVT4EL0PlDfsg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=174, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7749839295122476"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 00:51:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:52:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:53:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:54:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:55:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:57:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:58:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 00:59:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:18:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:19:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:20:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:21:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:22:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:23:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7749839295122476"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3879098, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-Rde1mYiacq8FBQ7V0n9mr', 'x-fb-trace-id': 'BBO6FmueHZM', 'x-fb-rev': '1016377356', 'x-fb-debug': 'GcR3AR73egnk2RQzx0DaCZ9TuSquqtn88rotwjDaqdn/ynYABEJPYEcs3dmkgVYrEjga80eGtXTA+s2iWiLIDA==', 'x-fb-server-load': '25', date: 'Wed, 11 Sep 2024 01:26:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIAZOMElEmwvtgkuTa8TKkmVw1MCLMRVpQAP90m_Mt8q2Aog2awOzeGWPuMUb_YtnIDo_vH_xkZ6uG4XAn1"; e_fb_binaryversion="AcKNXcmlnQ_BcoPCDH2U2IqruagRtFQAFDIFwdT4OGpj7gopw9JlezpzrkGELmcjWvbf0yMKxWEZk9bv42hjmtMssJrz7va2tS4"; e_fb_httpversion="AcKWoN1YdwmvWav_Iieb3wr8aQpZxqO_KSJAN9fqsVFXodaIgltq8T0Za-_1"; e_fb_responsebytes="AcJ5Pn804vynilhvWgotv6CGx_BKEekOnNifEzGKX25xc_aI-tV_JNAXVByb"; e_fb_requesttime="AcJNMXy1_FMZAvWdhpMhYiS-ZWNKv6qgdekww0XzykfvuOlJ1SO2rKLPlpuRGmAuTvFIIR3hoA"; e_fb_requesthandler="AcKz_NNueVd60_gxbcsWxdS8zmU1IAiCVplrNHRR1z-8X7YYaR8x0ym0QbQg9WTzgBYrxI6ITzU"; e_fb_hostheader="AcIsGkaR6fjV8KVOs1qW_DXEuzvLc6kUzz2UQevRoDri9ijWO11YwEHrIqmoZETGswfWC750-CAJi2EW"; e_fb_requestsequencenumber="AcLBMTc3CzvGlFo5V94wRpoV2OAYV5wDe8PgKInR5NBKck3nSey4pu43bsy-"; e_upip="AcLS_GVTr5RrD0T1LTYpcLhWBfXlXpOeg_5qNV5rP85i074Uwkj-0JyJCr5C81FU55AupkU_lQwP0M8mfENKeMk58XryWYPaIC3_Y0s"; e_fb_builduser="AcLXZfMWtM8Dzl98BZbUAiuQDRg9JgS4srEtwT6Z-ml_W3E3Oda6QjLLhXd8rQQ0UVE"; e_fb_vipport="AcIlYP-P1SIm_UUPMW-hEWIdfDeHTkdRvHHDv6PzI6sIG98QAN2pIV68dKOd"; e_clientaddr="AcJIEOqiTuybQh2d05xTv6qwNnfggqcJcIQ08Q4_v7KhE-3Twco10B1EkYUSkcmMr-tpemmyBJQGVVjJRQSEucF7-fgkv6m2ra7nWmfWyJEeSdCUCQ"; e_fb_vipaddr="AcKVsaOzXZjzKJ3oKFeIksOiCbNSnj7744r1M9HWpU98XD3_DcV3z2N52KNzZFidB3ms3jZe4TKEyNECpdeGiM8YrT5v4ezx_g"; e_fb_configversion="AcIGwhi8B8xllVqijCDApJW9pDrWJFlwS4I7Jsx6b4k1e9ICfy5jjSGx0FwYgQ", http_request_error; e_proxy="AcI9cD0HcdvAUOk5kIt0SJzUrrl3xXyaknj3vtwkuYltW-dwq1hXeTuHnJXFcSDs86xUYBbgDVqPpFk"; e_fb_binaryversion="AcJfbYVh_aVjyTcBejOISNXxMFub6I7riu78NIGL4VWL8ipcU62dCMHa1d9XgH_QcBYjJ86Kbn0DJH06wEsBJhtA5_2R9PcdpkA"; e_fb_httpversion="AcKeD1SWzSCXJFsACOADI_gepuAKO19ObNnFqomth_A2DVWW2isJEUZUxRAm"; e_fb_responsebytes="AcKTAfEWDJqXj-FJkMRuB04V-377JFXt56Px-qrUOarI2u81PAtrqTATJPW4"; e_fb_requesttime="AcLza9_lzLALe_MYIKWdFiifsML48RT1LNoluSFpZQzmun-ynBchqG0qZssW8AwuR4GFyNDP-Q"; e_fb_requesthandler="AcK0NulxkoJFlquXr7cw52k0r-8deCAJFnYPLvwTUERHs2NEbLY4VLJPlIPX2PZRgV7rhLU2JIo"; e_fb_hostheader="AcK9jn4QSuwII5aEstgGset1cmabIm7_7TYFftUTo_LS80BMCjMq37NvzPMMapPhTMyavruYXS3kC0qd"; e_fb_requestsequencenumber="AcKa0qwVT0nwbRBa6GGOAdSaAVA3uM1JXl4ancyJ-nL7rSNM0aj7C90VAg"; e_upip="AcKjV3IAGs8EhnV4QOxlhDFD2T9Wxyxtp-TlZCISiHk7HIADsya0ktC_94AE5obmmzEzTlFrYZiUwUom3K6UDtvrb4AmxqI6bg"; e_fb_builduser="AcKhNSlVa8uObS3MVxDAIksRTcWWdDBBmajOPrk29PDYpLLVoQHvcjM6GBONHHwAyqk"; e_fb_vipport="AcIlIS2Vo---JfwL_Y9PUBr-FYmw8k4RK9BzsIQGvpVgVICzZrVq6Po1lWtR"; e_clientaddr="AcLFWjJn1OgjHKpxxxCIZng6jReW--wqE4saz_AJA7Xfr6PluqG9DLrmgfq6Cq3H2kTRHQG4Mfk8iBG3rw"; e_fb_vipaddr="AcJm_El_OflW5NmrZnT3GiKHlcrHceUKj1WKzbG_1GZHssX232FR4WYN_yb_D7Gw0hJiCQ"; e_fb_configversion="AcL7cT34R6e2J_JVxOlekf-8jT83yvsU4WTeR7R2DGDjAZvQ5LARmPDSwCTRkQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=180, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7749839295122476"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 01:23:49: Error on send one message facebookId => 7749839295122476 09/11/2024 01:23:49: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AGectZiGn_N2NXDhEIDcnfI" } } 09/11/2024 01:23:49: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7749839295122476"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3879274, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ay5PGGSlZoskVAshGyQeDtQ', 'x-fb-trace-id': 'DT62SxvKaZ5', 'x-fb-rev': '1016377356', 'x-fb-debug': 'l0MqCM288tcK7bZTyXYmZ/rK2LJ/SLpLNktznKIw6qEuHWbit0MJV6WMdc4H/LZxprBW6Gqy9fG0RdqgtEo4cA==', 'x-fb-server-load': '21', date: 'Wed, 11 Sep 2024 01:26:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLtiW26miXO5eYZvzqGoNRalUYEAbUa68M2N6fpTEKUnlykOEJJ3yPetDSTlMe7oAYNM1AJjWKZ0Yz0Vk4"; e_fb_binaryversion="AcLA1cRyflJ9f6gcEJsNCKVb22qYnmtENNqejtFXHU2HXu7CO1HG-SvOmokHEzfH4k4UKSiEX4xUUtgSBInlvyov6yXXVkYjdK4"; e_fb_httpversion="AcLbTC6tS8tJQ8Jp4rZG_jzupKDprfXZAK5hhd9p8QehSfavyk3TGLpgafK2"; e_fb_responsebytes="AcI4H85b8mVG2Q6yFEnJtbCG1LCpX06IKxVwOoUMYedoafs-81JuMhJti8Aa"; e_fb_requesttime="AcL_pRvpgNCVtJVYh-HaN301ao1haq8kUBDuE8CLbMddmxexrT0eXNGD54A-N3qUE_pfJE1AvQ"; e_fb_requesthandler="AcJbUk9afVVgrN_S7iSajZ1bkY4tpjfBX533w5ulLls1-FEtSFGg7121N39MvaJcwWiTGivbydk"; e_fb_hostheader="AcIDGdeVf6dKIeU9tJTRR80ERJEbQ1tkhtDu_6PlDPk0k3giD1tgEYnv5zOHkN9alkN3zq8c1bcy6bBF"; e_fb_requestsequencenumber="AcIwPC0RAMp6Fhh8aLW_eybccexkTAegi2XhClNmYYDEiNYEdVvvdltskvw5"; e_upip="AcKXQbn1OipFdpAim36rXBUFZVqneR4XkevDm7W6H-kwliuwPSyWptGIQp5e1PRKo8YSN61A6sr4Ov8cQGBmrRAb7ovKW-ETMhclrrc"; e_fb_builduser="AcKINzIFUVvxLnL_LuyNUcY_VPDsDVVO3BnqNWN1H6DtfG46tP2ZDVl20Juc8aZaDik"; e_fb_vipport="AcLKIT1E_QzQOBJwOkzE-r6xzEQjfwHtIz1cDsmczel__WAePLjdS3vNE-gd"; e_clientaddr="AcL5jldULQNvp3pJRG_CTloIPgZeCHq-xvisudXRhf_4ZEhcxECIaRKDay6cqYd-0Pzk8RvBafESAKQl8Im1EgnraN61E1hyAN2hf1Yexyf3SRizKQ"; e_fb_vipaddr="AcK3mpaMTtq0susB7LsK0Q1Fcc6Po_6gESgmoHn6ZZ-8GsG66LnlZIKwiXMNg7CzswHe472wFVNWQnvhTbv8jGqQbxgG54gotg"; e_fb_configversion="AcJ1QOnH__uLtXW_fZNi19xL7923f-wXhjQPsCOZ9tk1UemmtX2OPrHg6sD-Jw", http_request_error; e_proxy="AcKYt7yF2F2RnXw0QYYfPXl6bewjImpQX43c4UaCE1F6bP06Ps0fb7m72zSYv--pixhiohRWclLQm5I"; e_fb_binaryversion="AcIodSfZL3gGruDcvqOUs1FRhW6nx5ZSdNNTPIqAyQMRuPqyOnSkBuKBPscQ96fKEwVbs5ccJV5iIaCZkK5oZYQvjT4W-nycDqo"; e_fb_httpversion="AcLhpJjeWPRxDhwmG5Uq_fBL6ZOYSYDl1gkCwabK30JC-1tQKxWCxIcm_kbl"; e_fb_responsebytes="AcIutUfeXjAIQFvr0PMJH-I0d0F6HGgJw_NwW7TQ_RXBtOG-TA6WINCW8CpZ"; e_fb_requesttime="AcITIVMH2SMyHzQmwWqj3lp5hBt6rwogfOP2QDPOklEjcleBC4qbOAlXvEbevkd0yrdnr0nSGA"; e_fb_requesthandler="AcIbSfx4LhvRiY--XnDq-sLUW1wfu6jQ9vLrxgi0kC9ewK46me4rnwCZ8bh1_mDj9ivojn1dep0"; e_fb_hostheader="AcLue7RqoWqyuK4CYtH97tb9F9gm44io2fP8Lv9vGTeaCV14xvfKMrcs0Jbo4ZB6I3rT_rDmXeLBDFBc"; e_fb_requestsequencenumber="AcLxXvVLPF1idP0-cOdC4sc6Kr1q7XnxmOhGlAKM0V8TFJJMDX4H6uuHtQ"; e_upip="AcI2V_GINQ4kSMKPhqM2GLuE8ectm2BsLuuLNKeK534ZeSIpkl0AWVwfdx6ZVQ6JMqS6OWzp9ZXilzpVfEEYCsiyOCoVqFI_LQ"; e_fb_builduser="AcL0UBLDKSxGYYJdpMrwnmzSkTBLwcWx4BWHmBvPAvlfc3_x2GEV3Iaue0q-zTtWm1M"; e_fb_vipport="AcJof73oC6xpe7K8MABftqC7cAQUMeZmPii66TpkHBzXfwY7RR8HJKLuFoqJ"; e_clientaddr="AcIBzXOX-MuPyL2vSv9qAKgQCQa-QdirZcsO1qr2eqgd12_NbsS3hWQWuzx5yF9j-651vOkrhtNbyQMHyQ"; e_fb_vipaddr="AcK49AoyPg1Q_6eOD6dhnGwNP06HQGAi15O4_GYezRkDEzH9fSpteJUYHvf6uCraVn-v8A"; e_fb_configversion="AcLyYsiDh6pd4G_Te-XuKT-WGILve_bAt-vMCro0CvLGOdhQdW2zutuGhZIDHg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=177, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"7749839295122476"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 01:43:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 01:47:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 02:43:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 02:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 02:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 02:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 02:47:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:12:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:13:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:14:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:15:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:16:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:22:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:23:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:24:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:25:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 03:26:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:12:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:13:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:14:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:15:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:16:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:22:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:23:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:24:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:25:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 04:26:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:23:09: Error switching inputType 09/11/2024 10:23:09: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3980006, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmMKRNDXp_ddSKaVq9feDWD', 'x-fb-trace-id': 'FXPChY+grWB', 'x-fb-rev': '1016393741', 'x-fb-debug': 'vPBR2Sl6g/TYxptB27JzLTN0tJL6RE1BjM00/OjJZ70GkQ2XFSjtPo9a0rjMn6nDfe5EUT8ygpyop6WzxwaRVQ==', 'x-fb-server-load': '39', date: 'Wed, 11 Sep 2024 10:25:22 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJKG3yJ1xIE3nd1CHH83jcG-MTRlOa_ZjgTwnQlMDX_16eJB43qEkC__YOx4p-iCpvStXxFUpC3AOgwFS9Q"; e_fb_binaryversion="AcLB1ZuD8b1mXG9po_zkX3dFuFfuVJWUzhyY7SXCOJ8KEzN4D6oDVIUiVRZb9ySmQj1ICtpEvZDbeZrngsrzliTSXGdcbezTI4E"; e_fb_httpversion="AcI7ncKnJW8N6At17hquDx5-_J0saxNUPsDp0yOvAp82GBDoW8H9DBTvJT3U"; e_fb_responsebytes="AcL4ZvFo-qf4I3XW0NbpcWzPJArb06-KoOfSPDjsCvbI_ksx7WUJ8f9aTxEf"; e_fb_requesttime="AcKWT-49igEKO5EU58QhJXSFvNDOLHA3PsHZimdqItK7im7Xtoq9nN6b0N6aRQY2aW6iijsKgw"; e_fb_requesthandler="AcJe0DC3pk7buw2VVAJo7Hv-doJeoa_7IUfX50HlcEEkKzjMj-ZQsksGDpnVmaylJGYdkA4prpE"; e_fb_hostheader="AcJNhp_orQ_gJPlsfUqLHqJaHgE54Pm_YHv5_X2M24T4VmiADMolOo_xapXIzaavR754VmJP4CQnCdkd"; e_fb_requestsequencenumber="AcK2QLCLfgqKOBj7M6cYctMOukjopyGlXnw3bzfvahDoP0ZnhUCbupAOFxDT"; e_upip="AcKxm4WStHgRkQBR7VPYHt81LHluRINJ2GcekYzT-L_E9eQWl7V0wKKct9TZjQLixRr80mkQLYMUOOMeFd3Q5rCiXoqlgnbWJtGs6E8"; e_fb_builduser="AcJiTZgMuozu_grJ0RaVFMkFivubzfRuK9Q0sSDq6OOf5vR5GXGiz_8MZH3FQpkjxmQ"; e_fb_vipport="AcJdwPDzQvaUqLfw4ZrlEGX0LMUsOi7pIT0PP31SzhdceLmLCnoDBM9jwWeX"; e_clientaddr="AcK69MelEO16Nd77XXWMdMW3Hm7pcyw7RLmem-F8-sB6M5wcPt2gZivPM5jf94mRKGd70gDjec87IlQp0qwi3wm9YoDQFpmyYPtQZAdLnYXNbf4PXA"; e_fb_vipaddr="AcJfBfY3m22ddrJnnyIevGtnaywAvkBx8tDqeGiEZa20_iW6sDie5UulrEh2dqQF91_QGPP8dXx3CpxwWKvMZWBDvy1yQcYLXA"; e_fb_configversion="AcIoSu4_n7IaEktAsMkKc5kzv3O8_4eCNqugUjneYRA8OGbMYhEdA81V_oRMjw", http_request_error; e_proxy="AcKK3PARsiY346Y2PUqnJhBsCGsTYFqyUs4M9jiVyFZO39jF4OgJBJkfzr6a2WcgQ0grjneBko8u1Yk"; e_fb_binaryversion="AcKBWaBdrq3zQkvtOAj2QJoPh8CX942hyksw9WHGkSQ60waCdhKpT2V8-elZ5HYykZJnpkpkpF4YihTdKLsRY3YL4u3Dx84_Occ"; e_fb_httpversion="AcLwtmCjVZT4XJvp3UIQXWcN3-hL70fV9n2mZ0cP2lnQYnkdlqr5UzK2hi-3"; e_fb_responsebytes="AcIajRI8osi6bU9ytJ7IrvwIILpBsaefv2xuS2jcm8F6K1A3uGpfXtD-Yv17"; e_fb_requesttime="AcLAEmS6-fXWTIqlsTcEF0w3VleRulJI81huIHyQ0Hnz9BIjKOyMqeh6iqXV4nkwb_26au07XQ"; e_fb_requesthandler="AcKKQGHVGFpRA3kSWim5VgUGSlsjddJnHZ0U1XKQbeVIU3VTCJmgoLqoXsyhEMDLC5BKRg2lJ8U"; e_fb_hostheader="AcLo4hWFJsK1tAqKfLd4jhc6H68kWKzL5TzwUkUMEkBclfYeC1qOGe06NS99q5da9nqTDEMTZM1wKltL"; e_fb_requestsequencenumber="AcIMb07AvP0AlQ-c5RZqZH0o034KP3P6vG9i_EaXtD-sNEMlds38XT_ulA"; e_upip="AcL4V4EbcOPLqvZ8_xvFE1sqJ7j0LK5KeOmRSxvG-Flg46TKnNlqeOn9szx6L5uX8X9LtiKxD0gCA1Rp0az7g_3d_eOyEG85Pw"; e_fb_builduser="AcLoyKBReQ6yGg5LVaEfGfxFu3lSqedgI3DRTjwX2_-JZ4Rf3SmExyzuys7OnNWcpbg"; e_fb_vipport="AcJPdHuinISJSESyGA2uDrZ9YYG1tevB-rg1GcQ-qqZgO9AU1qqnhOfvPkde"; e_clientaddr="AcIBMz5eepvkGoYpGF6BVZPtU-qVn5BuNAELgc-H-cOCC9rcYhUEyLh-pNLW6NyP1REovrtjy6svIGnTIw"; e_fb_vipaddr="AcKy1334YpubOEe4kKpRQofulcS3oa7dOyvPtM2TMedKWSvXwoUeRjGvI5uqH0jihqGn9Q"; e_fb_configversion="AcKHYFyADV8g88vHlRNwhc4dRpcQFuD3x8osyHevq1fdrd88ONJlUdasWNwvSw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=310, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 10:23:10: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3980297, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AehjAdW4GWg020N3Wm_6zar', 'x-fb-trace-id': 'H9us5a5yKwO', 'x-fb-rev': '1016393741', 'x-fb-debug': '/APVac0Kv43fl0kdSjnC3ckcVcZELbJ984ulMZYjgie2ZuzwA+SiLhDk30qd2TXdZhA1NxSvpnfM8Ql1/Bkong==', 'x-fb-server-load': '53', date: 'Wed, 11 Sep 2024 10:25:23 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIzC0DtE5hx00mXoo5M_YJ9ciwkwMI6jYXhTsQSPegTfmLMpOxDMpUnFbwi3TwVOlSTVwzWrBD2c80FE6tf"; e_fb_binaryversion="AcKwooIO8aHvVOKDoItlNGLNZ126TyzyTVmqGFk4D5M8VCVoevD1q80kS4XnAQX4hnUzeAAYil-QbzA5i6XnbHAKeNVeCkJB8jw"; e_fb_httpversion="AcJucxB1gqI5XJ9GCcdC8n2PEewNXRusIQ49wt-cEBQ7KuX8TEzPcCSA7stu"; e_fb_responsebytes="AcK9C6ePqzh59M0EBOCjL5_6SzetUbKVHsFYgKir1xewl0ku-TMyC6lpdonO"; e_fb_requesttime="AcK7FoEiOU_Qz0rZVy0hIc11ebLnttBOLKj5SUghZ_gUC96lHLLQ_7HbCOf3iWP6EIvORRHIEw"; e_fb_requesthandler="AcJF2kO6lYQ91GSvjK8_PjGq38iqtIRIQoJ7g4tzwdeapa1AmKhfZuR94MT5O6yDbyeY26TATo4"; e_fb_hostheader="AcJddsZ-GyHN6D76x3t3l_RT04KpNIHzI6Q3HhG2g8yASovYfGk1xiMdwAdB0jsfyYMnc6tYine6P1fZ"; e_fb_requestsequencenumber="AcKy4GoQf898FoJ0ZiG91ngOZch5p541xnpX5PLfNzpmB4dC9GYpOxFSRWTQ"; e_upip="AcK28YpiYX9hj-BSHfD1JgE84MhlJgxvVu7UM-UNwGZpjcDVF5uReR_kDuK4rpey7cv05n2JQEOKdqDSnboBotWEkUO5KIntfF-agqg"; e_fb_builduser="AcJ_Snk_STOT2j4XBatWy9di8yUu6NsQgT2uzLQBrG6YXghPbRDFtAnshpRvVbIv1Nc"; e_fb_vipport="AcL7LgosEhl7d2TW0KwQy3DqZCYbJFc17zXwmyLR1rzrC9jSNUAujCXap4Ox"; e_clientaddr="AcJ_LFymJHd7HZ3FADzCT-8dGAP3QaatfVgL1ed8cHV7t6NaIr3MI2ap_z2GE8XGWE4VjXz_f6-s5dQJktOBbpBDrV1wy_ibLk5yjRbOT8n7Cd7xmw"; e_fb_vipaddr="AcJc57vLTZEtlpB5D2LlcDonagZsG8eqgNzZQj7hlhZp6wdOhqAgB1muS61Xgi9RpG0vDs-AXJoFJ5LztiMZlVXqOFODZV4Ufg"; e_fb_configversion="AcIFBJoS_T3-AhxxUZfmElKFSQESTp10iDsuyaNCZsSiMEd6tWsciqSu4cOySg", http_request_error; e_proxy="AcL4UBtUVHMMY9Iok_CxANjFCFzXlJpzalSa414FAPkXXELUWF-N61a61cWuY1qlVKJHmb5uFD7AnDc"; e_fb_binaryversion="AcLDDff5enB8RU0xFFyOCVCtsp6EQFyXDiatDA7lxYjd6gDsOXAROuJEZ9JUwjtthaDsqJIBthM4VXyWyCe379ElqonUtwBSzF8"; e_fb_httpversion="AcLh8OaTS0yRuUq8VbECBkN6NUff2WjZ34BHVIGl5ORpIXhHXFpczUQQ1M9w"; e_fb_responsebytes="AcLWT1uCbQkRvDHYtmcrKKtqTs7cp4PtnKuelEbMgJNKNnbm0uvpf0Jr-H5M"; e_fb_requesttime="AcIl2UDYp-ge8qBOQCwAXuYcu7hpA-aygm4pBZO9uwoOmnMKsJqGlMMNlpjCJCXaf9YBdlf9rQ"; e_fb_requesthandler="AcLTQvZ-jDa_7oiUCCkPvd3ucc6rOgDEreq1JQnDzNCT6ID159UhKvxNutvB7ORX8dNhwrEm1tQ"; e_fb_hostheader="AcJdUFI_9D3HVEmZFsY2PmuEfwvP1ycMU8FMyBbTe5EVV-_AxdxRghV6dF3aI-hkfVkW98VxVFPs71eV"; e_fb_requestsequencenumber="AcL4QIFXQ7hjwn87e3_t64pC4ibg7I43mmHEkAXojP2vKwqCt5LEdK1pHQ"; e_upip="AcJlvmWteSTeCWDkEGY32PoYQApqRIVDa8aIE2HIuA5ooWRzc9JMn9_1TTxKO30Uxvogh5ljbiw4rgvR6Dd0hjS2iFa0WDmgRQ"; e_fb_builduser="AcKN6h_g0QfrsCbTWDoPZqWtrx3n1ul6NcLy9K8f1pn39OZqUJ3Gg_DpY6Sw-OSDq-U"; e_fb_vipport="AcLHfGO17jJbkVN2QaviHV9fjjOTtTMgUHh3ohWGq1jDKriUkEPZt-B-DmZG"; e_clientaddr="AcLVT5CBbHsNolH4Edmoc0WEg21-aeviUHMjJGTG18JmDIBeBpXiPm54Uj7HplEZp06IGHoMoZPN4TySYw"; e_fb_vipaddr="AcKnDbq9IaEWNYiNhZCZKCcT1r8Z6EUjA0_dUp7SdZBoFQaWTtzCTRU-EAR-u1M_uZXoFw"; e_fb_configversion="AcITgSr_Dy6rPO7oOUCqeaxO9codXtXIW8BWv2_Hg9ANKRCWxqyl9r6LN4hKgA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=317, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 10:23:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3980327, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AzzrTAoWnEOEmWFrog0U1xa', 'x-fb-trace-id': 'B32yrC6vsMR', 'x-fb-rev': '1016394734', 'x-fb-debug': 'iknrVdg1g3fKI5IUreOlvc/KvF46drtbn0tumYztrQb8GJl1DpLdwb7pLjlnolrCN4nyf9frr6zFdiN6Fr/4+Q==', 'x-fb-server-load': '49', date: 'Wed, 11 Sep 2024 10:25:25 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLGzWgogPHr5-gf7BhgY9A9aTlCg1y6YV51uCHFiniHmmK3V_CdNqnjsiOT2ff_YJ1ak79CtzY9_ZVAQKL-"; e_fb_binaryversion="AcJtIxUYCAZPNYDzO_O6owLh4yN1Y11_DkNT3FgvDom2cIInco8sRGHlS12O9fCghfMvVOJTR9NOSe_CsiiMtLP-0glUS2l-bBs"; e_fb_httpversion="AcKRbCz0-bQdk6UJXwWqD8jvZT6ovUVR-pWPjJbMNH3iDvDXPb7c0GZf_Mq9"; e_fb_responsebytes="AcK0Wm00D7lbVcVP-4h1MFKKjFGbsgFQ3Bf7725AsuHJZy9VC8rBeW2v3TVC"; e_fb_requesttime="AcLrlIiW91nOeYar3SXFsc2mvd202AJV1NCqHZ-HqHdwfIprKac6y8-UtE5OD2f8ue9d7fY31g"; e_fb_requesthandler="AcK57mylOQBmsSvuebffcUuY5RSSBJD4Tw0rBg4IyC-rLkSA6rpeQdNOnNrsR3zq7cXsewDTgv0"; e_fb_hostheader="AcJMzN3R-2tU3R7Ae62BCng0DaScd191yV9cxvN2H2X5-laShY1KuPvGsPh-zxXEShMLN7c1xOnxrqGa"; e_fb_requestsequencenumber="AcI0qr_6E1-ZreLXn12_gjXrZmhHYl4NkeXRM4EkXOwQkqCf41dLnIPfnro"; e_upip="AcKvHJW8X5SuRr_N1lTbzJeSfYuXQB-X0JYcBJrW99abaTBm6jEEV49ZCOOAEzxSBanGO9J8sxaMDWBYeBr1mHXZljeSqrFStIZqEmc"; e_fb_builduser="AcKFBbZUjFdndXIo173yOWaXvEL2wqvflkx8Vq7qtp_C4rMJKze9JlZ7T5aEHtxUhwM"; e_fb_vipport="AcLSm3NumVtClAun7C-5wLtU8KL-NFrhfEDEu8RZPEAPkLqKW_vZMGlkO6gF"; e_clientaddr="AcK_pqO4Sk7llXaT8C-dg-vyjuKusnU_JFTLjnYUWlqyOothrPJLBZX2CigbgBAsa836tseqoeHBopXhEpCQUGqv81xYyYQJ7D4Xt5z9DnLuDamo"; e_fb_vipaddr="AcJ4fDKgxIrNMRN29C5jEOcfOET-bxsfT7-0nnWc0c-mOba4vZYeeac-BpiVeZsLIcPHCu5wKUnGvbEWYals_K6JcaOqzLavzQ"; e_fb_configversion="AcKUgwf4AvqNkNaUbWVpV8ZBwJj6ZNHMbuqVxRM9Lw8UAfINd66K7XPbZjb_SQ", http_request_error; e_proxy="AcJrpsX5Wp2sPt_aX4hvs68Qv4-EYF14IBWKrkqAODBrT8VZck9j8VMllyS73EtFO7AFyra5Dp2cKnk"; e_fb_binaryversion="AcJ6SAq0R0PD5uZJ03m6lGF9K7iybBdXOtGVbMc8F7I-5WWB5cCf3zwbqHprUTvFUJxf_pGOGv6xGqivNrT-wArLhDClm5ulOfI"; e_fb_httpversion="AcJaUe1KBF_QCy0ubSBXFNgLeCAhB31_K8sqWeQ4vsWAkONYPPZtI_wcPi7U"; e_fb_responsebytes="AcJRZeSQJkX7ZF75H_sTylmGcFH49KWFT8Hv-ggBN_vTjYxuMWyXlf4SuPcv"; e_fb_requesttime="AcLFMuTb8AlT7kJowZwIXxgaeBmXI0M8Klq_TN0L7_qHe7-L4hGfevUaEVyy-PJXy-bmeofI4A"; e_fb_requesthandler="AcKFFHJzGJeu-c8-wxzhjcn2uU1tQzZOjVPcTZCrhp4GcUBsBIcNvcq_dnGnIyB40Rktbw4G8iE"; e_fb_hostheader="AcIju3yywQ13-qWXBMzu9gYz1DqM2nTkHjdP_ulYiJvxSKtyHptnDQpHjr-eVmGGSf9I1d3ixQJEZPye"; e_fb_requestsequencenumber="AcLxsR23kotKsGUrJsdWxirEzbK5mNz6tETqWXAB3nUVWXEDfDTflSNJmQ"; e_upip="AcLOFytbGznL7fSpR67qlS31lrfAyiS57ArDAs0Wf_ZwAEZ3Flr0vHj1QH96qgpOLAWf5Xv1NllUcggHaDP0_IbMkZhRFJUxyw"; e_fb_builduser="AcLIhb3mzw5MF2NWoAoK83oYx0C021XIuNeN6rrib911CjKQIIyyGfGKw7DXAxzDXkY"; e_fb_vipport="AcJ_mJwUD0NIQKpsch7U6VDVCNXHro2FDLMypGR2MUZliMhq_yqZSi8A0PEC"; e_clientaddr="AcK_44PyIHNZLPKwjxdnSHAZD_mzfg44Clh6cBLgGj-MzkJgraemj5Q9_InVsiGBxijenbQ_QMR2ZIjYhg"; e_fb_vipaddr="AcKRuXRp41-OfO8B2SALw5oVxHIsGWMRt3W8Kx6aoTye1kcovv45tTxD3tCpdMev8JM67w"; e_fb_configversion="AcJWGdNAY-5m_YZXHjB6ocVPlmXHD0F61R52FyLQYB4-5a2pIMOq-7Hh4l3GfA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=360, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 10:23:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3980526, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Ao-6l-t7XUDyNUMja7CP9CR', 'x-fb-trace-id': 'HVFwjvE9mge', 'x-fb-rev': '1016393741', 'x-fb-debug': 'l8phaZJRlG354J7uJv8toXQxo+uT4Dqrx02g9jqI1Htf+j3w1SarVYsyzG2BKN34zg80VNLl5zDtey9NSMwD/Q==', 'x-fb-server-load': '53', date: 'Wed, 11 Sep 2024 10:25:26 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJAkv4w_WmGZBRzk7WIibV0aOScCjK_wG3NuNcUTSRaIcw9wKf7_XOANvgqPBWyPy2wdcbiZZLl-sCmUsLR"; e_fb_binaryversion="AcLlYZamGkVrPF9W40Aabfsj01EegD__AxuNb0FFgDaCPLSLgQx-8D3YQDjtlGPVnpF2dll5OJFW8wHIh0kI0_Pyrl6qCk6qyMk"; e_fb_httpversion="AcI4YgN6vBm7tJ3zdv8tJ5wTHHh3PkvxD-P1Tl6QARV8zoyfaIbn0TwPMXcx"; e_fb_responsebytes="AcK8vjYJ3SrqJXMeDXBmJuYd8BWG2FIe5OfOjRLM3xSacCBrIfMe4QENhvkI"; e_fb_requesttime="AcL_p2ProQp4-HiPAHvlhcMaIF87DMHOzxrnUSBK3jHBzlklQFPyvbvFrO2wKpiN6W-16X5-_Q"; e_fb_requesthandler="AcJihbsy2Wa8uEZHSHKeKWzuCDGilarjPf3kIDatram3HEWLEfayP8dwr6wqAXxcocp_G4zh9bk"; e_fb_hostheader="AcJR9Nz8XFNRLEYFv2VvT9ykGOgT0Upkva-DdoUi-5NTHSCTDjpOn-5J5oZv9qtCa9Pg5rSJDIQ4vVNn"; e_fb_requestsequencenumber="AcKhbOTo7iqK5Ws2N3cjQWnDYtqbhnAcqs6hr6vKpreRTiRIOXk4bfXoTRWB"; e_upip="AcL9pfGvNMpcnTsshKEUctcDFLGx3_R2OWdCh8L-gcgFRQDGxkeWXK8nFDe3rfcMijj-iFXWaAnvfjiMIdKxNREk3DZ0kyGt-DR6"; e_fb_builduser="AcLP01mQc7mTAFK2rIbXC41AVhDCPKiwzXo7dghd5q4rX7N9fhUaqPWidmMlF8ZKMS0"; e_fb_vipport="AcKWcSmiuDCiyD9DiiYzDfwo1u4dD4KrCv8o27E_be2PTyAI9RGDzMt4FrJz"; e_clientaddr="AcJH6XbxEmXuqmjMeYT40838wG989J_aiviBnVMhUBngMx0ujvwkAiBaQmwPg-8DLNELEVtalOBrAciaYCItBXxKaSkgXp4N6KAgwuKlkXZqF2ShJA"; e_fb_vipaddr="AcLUF7qPAyoqr6M78TlLxUAead8hRyKFYI4AJVD_Zt2S_uALUxJn9wbpllPZwAvz6nFlJtynf-dHSiJPdoo4jqCNn9a0eKtZrg"; e_fb_configversion="AcIs26cfrhWcjHFpGH1Q6hsrF3FzJpzziRdj3Ry02e8RG9Ct4-LUpxOjkL6c9A", http_request_error; e_proxy="AcISreiCE_-_GljBVumG60flF-U_qogV9V8IrcMvY8z09I633x14x-LfQicNJ_uKFMG2VenQTYmFaK8"; e_fb_binaryversion="AcIRcTOfP5bWD5BEx6Ryd6Xh7gKbYOTSYy4JBpxnDG36LGpCZdKs4YpubaL-9yHpVjkPbQORU_1S0vtKfVBK2BYcvfMLrmpw-YM"; e_fb_httpversion="AcK1eg-ZfMO4u3wMTZvJBdhmpjv8d4ISs4799RL-fUuDZU9G0fQkrQCXhPyV"; e_fb_responsebytes="AcKrjorFE-GO_3mKYodNC4nuCIV9u664-LXvQ8tkd7sCSOM0KGE4QWVe9F9U"; e_fb_requesttime="AcL4HfjfoZJSxgX9Tqyw17sANe9yjuLGx-FIUMKWDpR3UkT8ShC6cDQjmBblKT0c0LLnb-wwtw"; e_fb_requesthandler="AcKiGA6ryTIpD8bITKjSxFpKx18vjpBTMkOe_HEHye64x2B7dePJW62OLmz5iidFSSEBMQcqs5A"; e_fb_hostheader="AcLwDTypp1k_SFUIdpPi2IXSnIdoqNbnA48zjmEfReiNddRvQjIV8xSSiCjd-chjMywiVk1UA9Q5sdyo"; e_fb_requestsequencenumber="AcLpxVFUZlRS8qzGTmtwzi4YyWY2EWjnKB9diKR9w0zeI4QzEoDwdakQ6Q"; e_upip="AcI7W5TXI1qM0_TmwhrGCEt4tC1qKBcM7Ez2g4VfXC3H6SVrctCD4J-w_A0h5l6kuzKirXvwhVmkIx-sjjDwzzQZW8FIM0BDrA"; e_fb_builduser="AcKL30u9MgItjGJKK8fICsAllRVe_h8ioQO1xsVghymujqYsSFytbmQFuQesFSdODew"; e_fb_vipport="AcLyOsUZvdFjNJe8l0onnSKCETingaMrSESkhrzITF2_EOcXBALpOplw8GX9"; e_clientaddr="AcIJ_WAA1v1m0xYUVIuDNMBmscH5t_dTuIFa7aY1YtIZPrfSxFrVb3NOycbBZxSB_M3wyldMI2gauiOu5Q"; e_fb_vipaddr="AcJnS_GrApVVcyPEEKoxQTvH6rW2Ku_0FFo-rnNNqY41AfyO0SjrEXEZZPEy9AQ6GG-SwQ"; e_fb_configversion="AcITX7auSIiF6DWATxNkN2Js0hXJ6le8K50_9jCFYJEo0k6I6wXPSLuAS0Z61A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=313, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 10:25:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:26:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:29:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:30:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:31:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:32:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:33:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3986021, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmFYuueYX3Ud-i1ppM8mkd-', 'x-fb-trace-id': 'EPKo27h4bED', 'x-fb-rev': '1016394734', 'x-fb-debug': 'LHUYwpvZ2ITMSHmHIMBKrtirB7Qj2jFze6quW8gm7CpH+eHeCHiH70BrGDTSPausAxU8EkbcKlX9jxNrgQ/OyA==', 'x-fb-server-load': '58', date: 'Wed, 11 Sep 2024 10:36:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLIPvKuXqnWl2bJRbWUGdTAuRYwJKDuntb1jW_7D1gYOF3W_-9xBRKv26ugm4dT1tkADwhIt12xltRCNCbn"; e_fb_binaryversion="AcIwlvUCr24qjyYfCMn1QXYlHIBveddjXl2Uv2QOKYkXx9eepNeS969n4Ffu9QcILq3Oe3sQe0O30pspk1Wwbe9sclZFcuDiW74"; e_fb_httpversion="AcJZypJzDPUeyFxguJCbsnm1xonMU-6nmMzIQdfOrr2reNvnmpiYsL6IZ7so"; e_fb_responsebytes="AcIfIinav4yQ9jhv437tRWzi6Z5dU7t5gwK_DdaLjx3pGqImu9VDVgTDW6gr"; e_fb_requesttime="AcL1eXu0vpO8qmZLiLmoDQsZMIoEQxt7YXLBGs-pL6XFH2NzdRXZ-dbZ_nEPnhEwkn2d6jk-1A"; e_fb_requesthandler="AcKm8mHT36H36cNtC-PWrPLmRxLhbTzcEVLHLiNSWdgNOhlAN9XmpgTQ1jYFXR3_A7fq_woXzMo"; e_fb_hostheader="AcLQIKEAovTe0rR9rfF4zNYyDf-KLZoLFMyFkx7aNs3c51Hhcn136UY9guwVDQQVVe9EqUzrG1IidJBs"; e_fb_requestsequencenumber="AcJifJrJb9lDNJpFJl9EjgYq0s5RsxftzRWwVXA1Qsb7VdCs1oOINT2Uzom4qA"; e_upip="AcIURviSRgtPM8ZPJpjNvuuodaZ3ccmjDMYLxi0seP7lm-5qabsrRm5jsr_BukrkXWiEAFy2DVJzhZrfP2y8zGIwPGguXNZ1z-pZWg"; e_fb_builduser="AcIL10Lj3R_KWRokCcd4RndviuefKvmDS5L8wBYWNV1fUh1jLmD1_S2IfVwO0xZZlJg"; e_fb_vipport="AcKAqZvW623G7NHSbm5RAmnzPRj7s5cRHJ-a9D1xp4pu_QXwuXlh9T9zWqgL"; e_clientaddr="AcLHnqMZqc3EtIDJ7JubN4hRYF2kbd4c-7Rpa1-8KvVi9k2KnWS3PWA5AfI2ZubGdLU-SWUOE_qavEaZxieinFpuxdeX7yqtkg545yB729FeSJxEaQ"; e_fb_vipaddr="AcKo_fOAJx84cO8RBbmKVWVw9wnak0C9X2z-8COIFPq1N3KKYiaZTX6SPEnhrqFbhCjwDpDGKYdmrcYgqKjcHU2HluVrWWJd7A"; e_fb_configversion="AcJ5R92LkIyNx1DLzHHOSQAoK0NSQKMQ0lUMPwQ7nPpAot5KZmRFvEHsRSjtGA", http_request_error; e_proxy="AcKxoOiDCuOoS4kcELfpfWOzIiDrQMigz73rwB7jSM98_SthV4GtvCZj3Zu9KZoHZxSiAMa4XwQ8Tt4"; e_fb_binaryversion="AcJ25Loddt9vjZn_IH0HvW0VJkM5CGsUb5RwkPptLe8DjN_kW1cd8_tuvYZoiDyHi_FgeQRb8o1p2o5qdYwQDq6mqM46lg71VTE"; e_fb_httpversion="AcJ63fAK1di_5fbYNJEaLNzNPpwL-kf-PvDYJvRMfKl8RmpW6oSjdOFu-rfW"; e_fb_responsebytes="AcLfykuoPnUK-V_htdcGXfuXoc-nWuon7sRxprbTKFVVavArYiO3FsTM1dJE"; e_fb_requesttime="AcIrryJMhdVELzO_p0CKO5UfT_49s7oYs7RskvZYx00SMKAK4r1IGionzUN65NdZlwMK3hwS5Q"; e_fb_requesthandler="AcL-wMP7-z_f3jDn56EYUNE-8OAhiFSaqLOisc2ByWR5xQGJ1Aqj_BJf0GjyGs9smhG6lD87rls"; e_fb_hostheader="AcIAL__CPt7Zo19-xMf5u6-1n_g6RkzsSZJZtErF0_upSaGvfgPN5zd6RybvSa-aKnfEqBt3wxst7F_B"; e_fb_requestsequencenumber="AcJiO-pOWZeRZuFFx_Y8gVK4Ns6MsBNj0FOXfyupEEb3Lq9ReztPrDgGtQ"; e_upip="AcJ_bp9WRenm5UXKW85gBaguLPF0BQzov5o9-QAbkHF0xBNx5lnd8EI8qsRrGzfpHlEuDd8KYoOqDwvEYNCq2B8U_80UdqA5AA"; e_fb_builduser="AcLfE6rd13hgFbk-n5cFaJ5sIzxGpiiC-T6EEpZx_H1-QbtwcV9KAVuiFr5vLZkPwWI"; e_fb_vipport="AcIURuqzfNkZ0EuLTn5HfRZkqOyHhlxuctOOC4ITQO8rF1OTdfiaJJqyVA3T"; e_clientaddr="AcKM-9AUZpwQmN_h2mX3FIEBRwgyTDfWjO7gjtIdgqDl6Ayfo7iStwKn7VNXWfSh7lYHaSq525tkgdAFmA"; e_fb_vipaddr="AcKYwbU45ysY6UHtOAM4bv6eiI44ZTrztU9saoBzvFjTJM1t12vK8Il2ZYJRG5WfZlDAJA"; e_fb_configversion="AcIpYN_csNSjFxibSnVwP7crUxSRMxu8EDac3dO07iQhtLtf-FlLPBa1oqQtOQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=503, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 10:33:50: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3986242, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AQal_fGilXgkp50B8EzJzvr', 'x-fb-trace-id': 'EBV+iH/oUwp', 'x-fb-rev': '1016394734', 'x-fb-debug': 'vFZ+Ypq3NRY7sc/ILT1mAxTmqmo3TJn6Lx1D4LSzi3sMDQZRH0g83hH+H753ZZcgXjIYiKrrbK8sL4Nh1ZRh0A==', 'x-fb-server-load': '51', date: 'Wed, 11 Sep 2024 10:36:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLNQpyT_fIbQNcHoB7cKovBNQ9aXR0H43FHQ8H7aQRphYEjSqdzACazU7UvAQ7YP-MAmL5wU1-7xUXADcE3"; e_fb_binaryversion="AcJN9NSkyX4bsHKZOF78mWpDUP9v963LrwNxLyKW3eCwnMlHRgZTcMpNDSMAN32v4W5iVGQxl6i8GxOmacquCl3eteMknPy81Ts"; e_fb_httpversion="AcJoaPVg2Sott-8xrEZe0adPJKZQ8q6GKiE1zQe3mWgIDykDPiUyhhjhrv2N"; e_fb_responsebytes="AcIDm2_YplJvM87_2Vpdze9baN47v3e052bc_rbizbGu9-9sN2VyfDfkcfQ3"; e_fb_requesttime="AcIzigiOuZf3yKtCqDmNryC3Tynk_l4Lv9JoNFpDwNcdq7jhs0pTRPB1KPy0evyKxjKVII8lKQ"; e_fb_requesthandler="AcIq4KOwoisaEEGHz93o9D1FOphLSc3eCwsskTeiSUnAP0XVjZYuXpNn7Xn_FXkyZ9Qd6vOX4Lg"; e_fb_hostheader="AcKxQsy1Zs5nMitisOqez0nWoc9Rw0ZZgYJYzSISO2bIf2Hp8AI1-kn2zbQEPhsmVleT-x5KZEGhyRcc"; e_fb_requestsequencenumber="AcKQDiE_urFTGxzmiPJ0eXPZURVg_x3xpeFbXfVgw6pUemmXWEKsKYDj4M5I"; e_upip="AcKsU61Qrtd7zUa_nqBAxXGF8TQu5Ct4jgkOWl6fx4h3FwFWYrwyCgSKSFzD6RMiFKTLVTz1_qtp0173aErNfBhOeo1fxgdnEvdZsLM"; e_fb_builduser="AcJecvCnnbXnJeeivCVbx_7wfhVzc_OeAfZRC7OqTULACVZMXQ8Nzg8hOzGU01Z-bLU"; e_fb_vipport="AcK2KVvXod_V1s54P6Puy8wQDsViYyt46vHawzpda5ejirvOosYKd1lUBKqH"; e_clientaddr="AcLvpWXvk5nC7S-_tt5qHacJiLbOQ6u67clkamA2RJmA8vd64SN6pPfDGTN21vUQYYORlZM2p1zZdVg5kn7HLoeKpEt9WlVTUaJay4bEKHCmtaIUKQ"; e_fb_vipaddr="AcKoMjkco4hyoQKqbSrUlGS8D6WpsZm7q1rQzBz1CPCVAjugcIwAPO4BIGCqeIpT0T_cs5SzKA9FxQ3EV9EbkmLWXJFKvi6Lcg"; e_fb_configversion="AcI_O-MnJ-hEfm81KSj4Gf5NuLFkLPS1-tqnspJZtVWmb2fKixxT1iUDfkuBhA", http_request_error; e_proxy="AcL7q4cyL9MvDIUQ0bzb19hUoFoOBrWG43yObOj5LLsohslXrq0quRq4PYohcTWbnutD_ZDkppaDh1Y"; e_fb_binaryversion="AcLemvTj-4XRoXgtpEjOvt00jTmyie6B7yxZnReM1-HqnEHgCrGFXLmOOxCNbjBhHwPXNEdh5JHRqVvwgQ4CvAvDuvHhASAOecE"; e_fb_httpversion="AcKLMsQnRsHUjAh8FO3Aqeg1m67yO1n5_SRVgiKV-XR9RaTzfYa3UfBdGCr6"; e_fb_responsebytes="AcIu3ed3LlvTySquIYCZhb7gYa98I4TQYgCikNrsScuelckUTbdN-tSeeyoO"; e_fb_requesttime="AcK6GyrmJcS9rVJW7s-mO4E16cOzZDiKVxAAjpP5LC7__p9yY272ksHJKx08qQEqP-1x9spU4Q"; e_fb_requesthandler="AcKqJmoHRSr6DXAZ9ijnahBFSQMe-IWkEcPHuR-2D8XmkQoURSnOQV7Vl5BaeQH8U2O3Ihfze6U"; e_fb_hostheader="AcLGWgx91tWkmSMx7X3KRBfaEzrbgu0gHmijQ5onHKOn0eIMYCdQ_cWmYWNAfRGHrwiB90q-CpL-5iqZ"; e_fb_requestsequencenumber="AcJcHHVmUDWx9obnLsME3cx1-7aWQRIf7-hI0QP9gRQkvZ_KyEzuH8gP5g"; e_upip="AcLWLBpr7Y71wbAn5SoH-7cIApk6Eut5x2c_CEMBWp0c1-rFLW1jLege_SkGHcH3ktptirrDe8D92Lzd4xNDo78sogh5lx3LoQ"; e_fb_builduser="AcKDxg99Hq2XDkswd9XRdn8S2_3Kxv83G1rfAM-try7JeS4HtsAgPzXS0kaaqlfC3k8"; e_fb_vipport="AcIwIe15DS97DtnPuD8POZFFnemGP6db5ImNe42n8kbtI9PSiq56FnVZII4O"; e_clientaddr="AcLZWG-X3InwmrHdtVQlSvF0PXKi_VzumMNOh10k-IBYDHULMuzNcBDkXawlQIXqcSxixoRXvnUno-57AA"; e_fb_vipaddr="AcJBofqdLibXrzBB0uTsYIfwHLhqe3v0bXEO1HNsEjldgFmL60PRxeeEhF0QCz52t2RwtA"; e_fb_configversion="AcKSgy-P4vWUJb_XoM73ZOKigtBfJlxTjYAQ6QJ3W0WuwoevIH6MsGgDeN2JLw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=2770, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 10:40:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:41:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:42:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:43:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:44:47: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 3988987, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A-XZ_VAAjCOpC6wrib6H3Wx', 'x-fb-trace-id': 'Clb98tB2FuL', 'x-fb-rev': '1016394734', 'x-fb-debug': 'FhhCLwEAuVOx4iGZi8L6HjbPtbI41JCoFqgoUN4dLrmwUwBtBJoUACXimVP73sajjeTJqGBWa3xlIhrl3iPrQw==', 'x-fb-server-load': '30', date: 'Wed, 11 Sep 2024 10:47:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI001wnUuyyelo7jQXn4vRJf7Zk21A4J01Dvbl1GIniTMmcbRdhUvGyzQx1V1Gexa8u9gX61HQyRqemk1WP"; e_fb_binaryversion="AcJZTUkfOZZsdNxLH1BrfMJ5pn5kjKDUWcXVpNxBrsOSYRPrf8tH0BA1SDlEqnMIaZNcwo2ylDOmE83LsXNkbCf4L8wuYIolZEo"; e_fb_httpversion="AcI9dR6VhErY4z_9VCH8OTQrQXP32moLI5wMa1jq0m4_t5OeKj1zTMQQoRMS"; e_fb_responsebytes="AcKj-siG0wz3uxu1yAgezusFdJaql5hmoPaY3BnswMHuAU4_v5QNT0RJsGgt"; e_fb_requesttime="AcJ74cKfNx6LV8V-fVsRqlWtP-nTsrf8aYgFe7dWTj4V_BEhz8pivn7lX7PoBFJhgvyq3PJm2A"; e_fb_requesthandler="AcL7Mtq-eW8lF3Ex8eVRM-qqRE7PRtVf-ja6X5QGb_oOCObHAjNu62JzldU86KzUEgVv_sO7lOs"; e_fb_hostheader="AcL5OleojlaC6YDrXyb9oFcczGrrqeHMfVl8FSk39oac8j47YI8m6kP-TC5T2n-jZWhs4kE2IsS9PxlK"; e_fb_requestsequencenumber="AcKk6FDZhDzNiheRqTwik1heafj2758o8tUoJDpm7CkrM3F78GwWBTmfI08"; e_upip="AcI5Wot-C0kJy_07NW33Gt9-l4mfy7WRK1wHPddLubcNlYmyltMbIg6BKO47UfFAnzrvUS45jpXvJztb1VMBz_dDZKMbRNgfeEg7o10"; e_fb_builduser="AcIJrtPq-QY1eG9ZHzSunlAOppYtJOqxQFxX-GtPfTD6Dbyo2nb06mojK8Qfnoe6cns"; e_fb_vipport="AcJD2vSW7KL4x7aWzXkrCEMWr1TUwbgeBV9CUM-cakAHSYm5rAEu_zlZ4WIh"; e_clientaddr="AcJWTw5EPEJB9rLPnenfFNz0MTMsak-62UAXY63eEh3ljY5QZO31A-3iAqzXGaggsa0JpwKRSWtmVmFsPAK0XeKid4aIkAfunAd37hYwa92gJLvc"; e_fb_vipaddr="AcLGAh6PPvenbAbDnAwe1yv1CQTYMLQWZ7HddCMlLkgRHknCRuOyemjY4_N6QbIdt5M51H5ijV-_S_5jxlZ8O-4GmKsWaI_t-A"; e_fb_configversion="AcJ268mtCFuEpCgtic8kKRF6VUoId7nEraKi-6NHQ2mEJcLPBmmh__nSYa0Z2A", http_request_error; e_proxy="AcKFvSXR-7QGffiZA8SfL30FFaMMJewx_vrZXgEG3-v1yPFyyRd_iCs3JMJ-flnhW_plSTQkV6XyS-U"; e_fb_binaryversion="AcISl-RHO8wovseHE9Q-WW9jXdm0R23e8MgmXgHMSAdz1bukkhslDibOVojlRpCb42Wt1JtDu3sfurDmjDs4KP3DSjoGcjFtJb8"; e_fb_httpversion="AcJn-b2A-OcdfJVMnFEQkQY9UDfvd2hFfF6DDafC2f5CvmXNH4wv4iRCS0ER"; e_fb_responsebytes="AcLjAy8BPRhcpNJwzhv0xh3xp1rvq0iCAU0falldwiDyKxueEfssrDOBimEX"; e_fb_requesttime="AcI2n-hKBG763wY69h1XGIDm4NgevaWsiWybo6X2vWfjI_O5onuQ9ndRk0xawrLWmzv5Z28ARw"; e_fb_requesthandler="AcIM2cbE-ViN2W1uDEokobvwS4ueZDLpDK_klHe6vCEFmZoOKW6FwhVkgS8Tkf5sfKMVplUwP-Y"; e_fb_hostheader="AcLsU29vdJVb_NiEm4CD5vVwLCUGq0JJB_wCRtRkA9PywWZZUqZdwWXvBgq4oacDJOkdJnXVz1PQ3nQk"; e_fb_requestsequencenumber="AcLnXcqyfEbbJpTyXG-Zp9v6tjwcB3JzARE2vNAA8PwhkGKbpyM8By_k9w"; e_upip="AcLlRZniwXTGDF-h-sZolksSCI73LCSWnYI5giDsSznLByrDWtty4Qew-BrReTav-Tjp-5kEa87qozWU6_Rq9PMvLJh-ZSH3dA"; e_fb_builduser="AcKv6YY5qfNEEDcKTCIBD5kj5xB67dx2Vj-Oj8kPwC4it1-CgdEtCPShm6DURAhu4lo"; e_fb_vipport="AcJsFRo2SCa6k2ZzBPidMkdI5zvgALG5xoMeSlCnwJ4PU73RicH0XrodWl_t"; e_clientaddr="AcLpOavgFQwxW-58xXa97SE3g8ff4uPcVg1brKKbmuQko9Xy71r64vTazDfu3fv4jPuaoDmHNv1vSgejFw"; e_fb_vipaddr="AcIQ5pxiXKjKXjmw_AfeEhkOWGKWkcmcaV1BvUpVvP3dm2l19cdYJeAoS0RZ4wikkpt7HA"; e_fb_configversion="AcLIZOMsordkkNToGAjT3WToikQZbj_2CRbwlPD4aMXl5ozVER3lcGGwLU1_bA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=411, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26593975716916683"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/11/2024 10:58:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 10:59:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 11:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 11:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 11:40:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 11:41:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 11:42:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 11:43:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 11:58:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 11:59:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 12:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 12:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 12:33:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 12:34:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 12:35:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 12:36:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 13:33:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 13:34:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 13:35:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 13:36:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 14:59:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:02:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:05:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:06:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:07:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:08:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:30:33: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/11/2024 15:41:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:42:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:43:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 15:54:46: Marker: 0 | ID: 66e1bd4611e0a671f61c2059 | Error: cant_get_message 09/11/2024 15:59:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:03:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:04:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:05:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:06:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:07:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:08:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:37:58: Error switching inputType 09/11/2024 16:37:59: Error switching inputType 09/11/2024 16:43:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:44:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:46:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 16:47:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:03:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:04:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:43:28: Error switching inputType 09/11/2024 17:43:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:45:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:47:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:55:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:56:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 17:58:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:05:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:06:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:07:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:14:34: Marker: 0 | ID: 66e1de0a11e0a671f61c9331 | Error: cant_get_message 09/11/2024 18:14:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:15:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:16:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:17:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:17:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:19:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:20:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:20:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:21:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:22:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:25:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:44:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:46:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 18:47:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:02:57: Error on send one message facebookId => 8363413303680997 09/11/2024 19:02:57: Response error send one message => { "error": { "message": "An unexpected error has occurred. Please retry your request later.", "type": "OAuthException", "is_transient": true, "code": 2, "fbtrace_id": "ARcM1dubxuCcsE6KsoDEqA8" } } 09/11/2024 19:14:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:15:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:16:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:17:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:17:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:18:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:19:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:21:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:22:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:23:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:30:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:31:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:32:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:33:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:45:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 19:47:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:06:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:07:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:08:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:09:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:09:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:10:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:11:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:12:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:44:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:45:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:46:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 20:47:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 21:06:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 21:07:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 21:08:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 21:09:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 21:31:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 21:32:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 21:33:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 21:34:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 22:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 22:01:56: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 22:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 22:03:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 22:31:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 22:32:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 22:33:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 22:34:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 23:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 23:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 23:02:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/11/2024 23:03:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 01:59:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 02:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 02:01:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 02:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 02:59:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 03:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 03:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 03:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 05:48:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 05:49:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 05:50:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 05:51:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 06:07:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 06:08:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 06:09:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 06:10:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 06:20:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 06:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 06:22:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 06:23:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 07:20:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 07:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 07:22:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 07:23:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 07:24:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8574458705931904"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 54509252, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Akle4MkQFpBygIpXQQcCIB7', 'x-fb-trace-id': 'Akzw6uutxDu', 'x-fb-rev': '1016424566', 'x-fb-debug': 'ZfGmCvAJKKZATfQN+xLm9gSrErkk8q/nYc3dgO5OcCZEbjwwWXmCXTi96+JGV3ercKfbbMItO6WXvXveSTuFJw==', 'x-fb-server-load': '27', date: 'Thu, 12 Sep 2024 07:27:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLTqTHuDr7_E-7xf0rDpP4z17abGjcZjlwiN8uAnNiVuaAs9ImLbEUnbVQLsik6r6W3hgO_cRfaJYWaqj9P"; e_fb_binaryversion="AcJAbL3-UVvmyuWYiO3gE2PYNHobPxaJ49NNXP_6_BaGzrGA860ttPzNMRbfP8Ly-mmYJLUTuoTixx6RqH9b536KUlPk0M2AC1g"; e_fb_httpversion="AcL7ZkLNi6So_Z1RUiro5tTK9gJtCdyCEkCy1W8DRRBqca12b3Tf3NyjcfHG"; e_fb_responsebytes="AcJcF5QkHlL7kUv_MMHPkDlSmDuOFqiknmhgnlKSZJNSNN_yB9k1z9J6Lbet"; e_fb_requesttime="AcI0gVV_zbh56uldfxTMHxwZYI_khhKzMd-oO3_yllDCt7Re5vGjkajIu3KZOvPXk7bLiV9fbQ"; e_fb_requesthandler="AcItPPUfTEJiNKDFFihEcRkmplDBTfKTfNGuS9OKJ9Zxa0ODLUNz7-uuQVYwLGQYArV9gzZ2QH8"; e_fb_hostheader="AcLp-dZSTh1UWcdCDe-ze-3B6pv3HD7YMiVGBSTycOMp3Sq10g_4XcegTl7t88dqt6asGovPq-cFpqZv"; e_fb_requestsequencenumber="AcIGiVxoqzW2DXWLsHacl_fyCbR4TnPp9vwb2ZsS84TZEtxvyKsuPJOgj4Fv"; e_upip="AcKI6saCL0R_KGxYu8oI9dP0MG3n-4Kga6RSwEJQ8jdSS2aeM9H0XYCd6WNNuYN-BWqRsKQXN_gwrUAUgt-DF6Vr3K3vIB3RaLHFcA"; e_fb_builduser="AcLUpEVU8BFKpUkDo29a-ThFqG-4eEMSLwH5xlUzqm0nJcqsKKsk57aGiqRusEBTNN0"; e_fb_vipport="AcLoHzOXkuHUoobCIOhn1mAjPhbOC-RL-G-B6bMcHgJHO2-eN5OhmaoxevaF"; e_clientaddr="AcIj2C5PBLQIHdld6BpBNkLAHBnJB7KmVYOBX7tFTIr1VnfhvdApFilzAQ0jRLOBj_P4Vy3s1ZvU29Pdjc4ekeGLmL2E3k2Ro7fguoRSgn0S-4LTEA"; e_fb_vipaddr="AcIZLYhcoGmkQox5clWDM2m7pY4_oxYz_uYnrPmQRnFdDtLlsFPXeIgR-t-tpU5PiRfWPoglyDTWY1N4QQGNHCh7ElQlbAYQUA"; e_fb_configversion="AcKGEE5tj6ir9j_u5f9rsDN3rwZkGe06a8gHMcUQ17FmpazGOJPfex8gNkuytg", http_request_error; e_proxy="AcLugzCgpzKFGqUcojXCZgIhmWNLRahRbZ7w4JTDjON2vkuWQmlUj_iF_Q2WnuuJjXYCxMf85ARoGn0"; e_fb_binaryversion="AcK_-jDXA4jGa0jLvEiWJEMZsKsOzaZPYQs7T3mQuZ98iz_gLlAi6yD0I8dN8SoQn4PWMtUFypiJ64mphb0RQ-gu23KpqUAOrqg"; e_fb_httpversion="AcLsAAeeSDAJvm3OXkjubzLksOT1ODjSKEEooYRlhW2Xx8uTvuuMtMeNIngw"; e_fb_responsebytes="AcIi8A-5BKKsjxZ6Ys3PHBx7Y3Xz-Jd1mP3GE0rf9NHrEBhV-DLYuNF2Dokf"; e_fb_requesttime="AcKWdo5AwbxZk7boyKf9SICYMxTj5UmAUSbvY4GVSEk-PuQ0mRlKRaUjb_na7eiuL7DN8cDwjg"; e_fb_requesthandler="AcK8I-sdlcSW2qje7HcpbzAO539iVQLGkWAyI05O9Z8CMbYWRBodk6P2aXn1o6ALH3jTl_atIFo"; e_fb_hostheader="AcIhkCpPqzm76ZQM3h2d2HEi50chQQLRj9MqxT-knpH63adomuE1Mc5Y-eFPM68CF0RNi2Sijc03SFwa"; e_fb_requestsequencenumber="AcIMB84G06DsStGgbm1fKkIWphIIO4NLhJKa16M0jGOvT5CXCmLHcj1CKQ"; e_upip="AcKSzN3ukBq8qnx0HtFRsGSBWylNyvO6eI3YbBbz5h5SvH-u-MZWe0AzhGooulZjJAArha7L3kdTuLHVIXJx6AwSF6L8W5rV6A"; e_fb_builduser="AcKX5Jr8g09UKz_r6hKKKsGYsqplwLK0EsqlgOW1YEXQvg9ZRyQRBOd0a5JGP4FskYQ"; e_fb_vipport="AcJFjFBvAf00OaZYITG2HS7Ad9Jm20xyDL2QoToROjc1za37c5ta_3wBtmo2"; e_clientaddr="AcLn95sRogfJR7dGhJvh9e_N5tkuwcOxKVrpf3awWP03eOTicyolxkphUySbs5R-FC0oGdwt1HN-FAqK7w"; e_fb_vipaddr="AcJj0WSlFx5m2rtBVgRmRVncFWbY-92EbIZLTQ3ipBa-0faz32z065VdAhBhA4z2-Z-WMg"; e_fb_configversion="AcLV62xV6-k8Qld_nTNjyLs5_DLyd8TeHOYDm-OyrqMui4LgyMSAByf-QrrUMA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=228, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8574458705931904"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/12/2024 07:24:48: Error on send one message facebookId => 8574458705931904 09/12/2024 07:24:48: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AVU-osVSdIXQLJ2wzxgGSFn" } } 09/12/2024 07:24:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8574458705931904"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 54509438, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ApyENDTct8G1_0NFYvnaZXa', 'x-fb-trace-id': 'Gu5pHeDc8eK', 'x-fb-rev': '1016424566', 'x-fb-debug': 'pLjyxjG+LJkUFPq7k0i0lA+xwu+0xCG5fhkZF4twfCc1goWCq8qRZTNhFFbGBpRZZPEYD/ZONlHjNYQx556jtg==', 'x-fb-server-load': '19', date: 'Thu, 12 Sep 2024 07:27:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLi10mBK-gbysCkYNVbFguEsjq9CgF7L1M_KEyIabPCsJm9Nd8HwwOkroNvejcb0NvBk630_oxH3XyBGb0"; e_fb_binaryversion="AcI66dxVMS-m1t1NqW2THArDOGHyRZ6a27qkxRASNM4PdesRN9YGrtEMZZxASwchIeVhNUOROSl_i96i7E1JTsUG9sIANd3QT0E"; e_fb_httpversion="AcJO7DZ4AHlhXLPflXr38-Vg8i-GGEqTMn5HgOe6wjQy_u9MytnBLqkA7-iB"; e_fb_responsebytes="AcLxMTRe6TNpYwpKGuqLfCIz6loKd6qTrMR6DM405311m2gqJpSFZD3RlvFy"; e_fb_requesttime="AcLDJtmie8unSTE91T7ulRBRyWmvBUnkjSYgpzFnsKv0X0OS4ktAXaL74KJhSs0HQ38QIRTHNg"; e_fb_requesthandler="AcLxNiPvn7GA1kI27znsLlXQ6sZ1lzSCisWk6tmpYzSoKsIZ2bg9xBM3SNDoYjG2gosytJ0K_5o"; e_fb_hostheader="AcIWn91a1gOcmw9hGerNdNFhb-KXCg8-0lgibJ9o_cRjs5I1KqqiRwpbVCHIkcXaxHIGhUxdb2LSi8Fd"; e_fb_requestsequencenumber="AcLGHCAIO7Iw_nkmvWg8BV2Ohz8KiYknVxLcKLbFoIFGUelHxpOSGyXxAKc"; e_upip="AcJCrDBl-c8vchB9hKvaLGfm1NOJeMcqvDO66s1-Gg3bzFmJ6fjZBfGMp6iOVVv_p5j_KgCnr782NyJsRsVCN3-zTlqoMbxMOh1Cyw"; e_fb_builduser="AcKbkuqYvickYVdyZIcYYLEhj-erwGWkAo2zimsClNPjdZNbM_e35-SdGzMgUkKyfw4"; e_fb_vipport="AcIc_49By1JrzvfSDUxEq7MecM8b7Uq_h4yIj5napth-AqvV7_ZFSzLH7BzM"; e_clientaddr="AcJKiyev3NG0vQhdNaENY1zj9iTGvTuOzMbcmVrfe6sGSsGydihYZvEg24zY27ZhR2UsNiamvriZQ0CUiuFCvai02zcHYuX6EgEgP-1O6fSBV42X"; e_fb_vipaddr="AcIEPsgYm5F3drATq-_4AGVGW4Ctikx0FHIBB07OD39zenl1qnSzmBAkBlXsbCXMhdcsVGFmdLkGL-CRRdr6vys3x7w4XkQWEw"; e_fb_configversion="AcKdbfiyVJVbwdvzYgBdUrqR5sNNolDwutuTzx5n3h7P-XBth-7TSY3b-4A8Tg", http_request_error; e_proxy="AcKhyZG2nO43HE29AudTGsv9IjqyTvZjr0pvArJ8pZVTuuQ3nQzLhI-M3Oshf9wWKV6TOA-p-r1y_4o"; e_fb_binaryversion="AcLWXJ-wuo-luKoGgk34x3uuUhhQ6ivEoF5KyUG3HaplTymP0F3HDhPGLAEr_NHKthl57oww2SsiQsGj8hD0a1j1r2X3PKzcu-o"; e_fb_httpversion="AcJnssg_rKI5whsSA6XnAkLWxdmsvKc2dRHe_qYeOhBB4gq1xLjVdfny5osE"; e_fb_responsebytes="AcKc4YnWJhU53X9x19-r86Ht_6Nva6HAs8gktyIL-dpaip6R4QHNAJ2Hm4Wt"; e_fb_requesttime="AcKZkbCaIZqdB7w641EbAmYgN4nkPgnUtD9tmZEk9SiuDDCt7ZW4_KvPycVp3A8NO_zjV11Stw"; e_fb_requesthandler="AcJJI8cyWdnI8Rx23fptLbg0sx0AVKQ1hRnKYE9sVt_RzqcaywLhLPn7AblJNLDLqLzQliLl678"; e_fb_hostheader="AcIdVK8W5PpqGAueMv5ptFS3sWHHPnujy1WcFfMGE7EMdXO7caRh8RxJTQWOnhVCWOOfs9_WEMASxK51"; e_fb_requestsequencenumber="AcJRUXtrOaYq7bhxYLCumCDimJQQbqA84L4vrA3e0hnRXu6Y_GzQfPzXRw"; e_upip="AcJjlhPHvgRxecN6WIkr2OOWGyeZAs9-fgHFBJLwNAo6NND5aqHGfgrSPRi95DLUcF-RrKlhzS_UGPLV2G7weLMOFer9rIG4Eg"; e_fb_builduser="AcKEYTE_LtBN2B_mdW9iFpgwpvDPFMetAtmyQ454MdenAsSbSWpQHp5i5QyDKizdWJk"; e_fb_vipport="AcLR6fSZXJs2u5S9bR5sRcXoBYlJteME0W0HdOkdeIgmF1KUnS51kEGM5YSO"; e_clientaddr="AcLnQL8evmTPUtYEs6a9wTTUeIxhqiP1UjbNzKS-KC0TxQd4v7AxFOSvRj-wAgc3sI4J7FsSEDxeNmMi7A"; e_fb_vipaddr="AcKn3Mkh-vpEo5bKQXO0rKCesBHs6rDzB_Rv4OOSoa1lPmsPcvcbViiZWkTMvTTg1znDuQ"; e_fb_configversion="AcLP3FnbNdKyWBeDqj13ESDMiJIpWmOfgdMSj5my6ABAUojc9naTvWmxbjsfpw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=160, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8574458705931904"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/12/2024 08:18:24: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 54519324, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 12 Sep 2024 08:20:38 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/12/2024 08:18:26: Error on send one message facebookId => 8258948374197295 09/12/2024 08:18:26: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/e42e1d20-70df-11ef-8cea-d132efcc8e4e__1726129238002.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A9HETAoXsknDWlbsY6ssEwI" } } 09/12/2024 10:15:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 10:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 10:17:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 10:18:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 10:19:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 11:00:19: Request bot not found: { id: '863113247096430' } 09/12/2024 11:00:26: Request bot not found: { id: '863113247096430' } 09/12/2024 12:02:41: Request bot not found: { id: '863113247096430' } 09/12/2024 12:11:11: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 54571661, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 12 Sep 2024 12:13:25 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/12/2024 12:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 12:19:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 12:20:33: Request bot not found: { id: '1591915494408146' } 09/12/2024 12:20:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 12:21:29: Request bot not found: { id: '1591915494408146' } 09/12/2024 12:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 12:30:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 12:31:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 12:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 12:33:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 12:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 13:30:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 13:31:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 13:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 13:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 13:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 14:31:09: Error switching inputType 09/12/2024 14:37:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 14:38:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 14:39:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 14:40:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 14:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 14:52:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 14:53:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 14:54:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:03:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:04:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:05:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:06:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:29:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:30:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:31:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:32:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:43:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:43:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:44:03: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:44:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:46:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:49:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:49:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:49:59: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 15:50:04: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:03:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:04:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:05:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:06:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:29:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:30:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:31:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:38:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:39:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:40:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:41:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:43:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:44:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:45:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:46:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 16:47:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 17:48:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 17:49:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 17:51:01: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:20:29: Marker: 0 | ID: 66e330ed11e0a671f61ce8ae | Error: cant_get_message 09/12/2024 18:26:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:27:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:28:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:29:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:56:00: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:57:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 18:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:26:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:27:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:28:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:29:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:40:36: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/12/2024 19:47:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:55:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:56:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:57:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 19:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:13:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:14:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:15:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:16:53: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:17:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:47:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:49:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 20:51:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:17:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:19:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:50:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:50:54: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:52:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:52:51: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:53:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:54:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:55:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:56:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 21:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:07:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:08:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:09:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:10:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:11:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:17:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:19:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:48:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:49:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:50:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:52:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:52:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:53:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 22:54:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:07:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:08:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:09:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:10:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:11:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:12:26: Error switching inputType 09/12/2024 23:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:19:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:20:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:21:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:25:02: Error switching inputType 09/12/2024 23:25:03: Error switching inputType 09/12/2024 23:26:31: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55001604, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 12 Sep 2024 23:28:46 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/12/2024 23:26:34: Error on send one message facebookId => 26602762082702829 09/12/2024 23:26:34: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c1c59270-715e-11ef-8cea-d132efcc8e4e__1726183726359.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "Akfq1eF12F39JBJvCIdicrq" } } 09/12/2024 23:26:47: Marker: 0 | ID: 66e378b611e0a671f61cfa04 | Error: cant_get_message 09/12/2024 23:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:36:47: Error on send one message facebookId => 26602762082702829 09/12/2024 23:36:47: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/c1c59270-715e-11ef-8cea-d132efcc8e4e__1726183726359.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AaFdrUbvYTL1ByeaTptilBX" } } 09/12/2024 23:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:44:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:44:50: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55008841, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Thu, 12 Sep 2024 23:47:05 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/12/2024 23:44:53: Error on send one message facebookId => 8331131883617502 09/12/2024 23:44:53: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/50c970c0-7161-11ef-a52c-3b4dcf4a99de__1726184825292.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AJ9eNrjPD1wos0vbC8IikLw" } } 09/12/2024 23:45:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:46:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:47:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:51:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:52:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:53:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:53:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:54:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:54:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:55:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:56:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/12/2024 23:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:03:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:04:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:05:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:06:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:07:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:10:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:11:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:12:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:13:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:19:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:19:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:20:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:20:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:33:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:35:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:44:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:45:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:46:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:47:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 00:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:00:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:01:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:02:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:19:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:20:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:58:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 01:59:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 02:00:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 02:01:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 02:02:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 06:39:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 06:40:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 06:41:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 06:42:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 06:43:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 07:39:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 07:40:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 07:41:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 07:42:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 07:43:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 08:15:33: Request bot not found: { id: '863113247096430' } 09/13/2024 09:14:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 09:15:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 09:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 09:17:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:14:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:15:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:17:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:42:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:43:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:44:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:45:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:54:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:55:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:56:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 10:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 11:54:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 11:55:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 11:56:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 11:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 13:40:20: Request bot not found: { id: '863113247096430' } 09/13/2024 16:43:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 16:44:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 16:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 16:46:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 16:47:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 16:56:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 16:57:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 16:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 16:59:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:09:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:10:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:12:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:13:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:50:55: Error switching inputType 09/13/2024 17:50:55: Marker: 0 | ID: 66e47b7f11e0a671f61cfff1 | Error: cant_get_message 09/13/2024 17:51:22: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/13/2024 17:56:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:57:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:57:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:59:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 17:59:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:00:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:00:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:04:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:05:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:06:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:07:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:08:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:09:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:10:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:12:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:12:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:13:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:19:55: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:20:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:22:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:56:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:57:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 18:59:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:00:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:12:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:13:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:47:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:48:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:49:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 19:50:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:12:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:13:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:47:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:48:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:49:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:50:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 20:59:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 21:00:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 21:01:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 21:18:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 21:19:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 21:20:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 21:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 21:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 21:59:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 22:00:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 22:01:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 22:02:48: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8277753082301069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55292319, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4bBDftMGFOQVGIdrJoNB1S', 'x-fb-trace-id': 'Hvoj4iGwEW4', 'x-fb-rev': '1016484250', 'x-fb-debug': 'QrhacI1p9IjTD5MlL6Xsupj/V5Z8s7ZMr16DcRyGxKFUSQCmp0IrZw6NNyytKEfcdmW6wdssNxUkYOdbM5prpA==', 'x-fb-server-load': '28', date: 'Fri, 13 Sep 2024 22:05:03 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLjIw4Y6NQM-2CWJFFqjcUMedNKhGIgQjH4pBMfGWOL5MVHDtrBd6zQsMs_42YQPLYlJtbP3IRSVu_W84U"; e_fb_binaryversion="AcKYTTA010SQtzrI8FUgaRhUvk78IN-c_QIrMw4u9nD4o41ql5ON5BwW0jaZwjUxIp6L1TO4HhUZB8wWqeoHbfEWRkU-t-rmC1E"; e_fb_httpversion="AcLXowXtGxVfPHFbO83FnxInj5c4sposSVJX--m3ZKjy22MDZSKsLBTtNl0O"; e_fb_responsebytes="AcJ7Lm5lgKfyMbKRiZkFEAQtnJNFrZNpBKzCJIKFAvyVXDivHsO8nmbCR_Oe"; e_fb_requesttime="AcKn_BQ1Kqo_uMp_KOkv9dvxVLHfsfRmn8Kt0vfOEmq-sWFxhp1G_nFVBstu4M_KvvwrcdgprA"; e_fb_requesthandler="AcLxdzcfv8n-QxKuSJIcOcEdNKtTtvlILSQDnKn4SBWDcRgJ_0kfHAME0ICZPzuOnZEzxINCmJQ"; e_fb_hostheader="AcJc5qyt4jUGoiee15EjrVJe_GA1V-gFLXL4X0NiAFRVtCC1vYmlDdEqAGYMtPZJfoXKOOOwWoOf9kOk"; e_fb_requestsequencenumber="AcLvcHUKBIffbW6PV7kMJE1-iBRqhAHJsqz5OMFBBFV8qF3sFKDqZVOSyM8"; e_upip="AcJjenFqiD0v7UiONn_ZFi28JIHvNyKryi_5iqZaQPSwyeH1JW5yxsSlUPB5QHUc077mM28p4DWeIl_NKlSKP466z1as_Ji7Dzz4r2s"; e_fb_builduser="AcJjwHV4xC5BJ-HdbLfXsa6kOPGCb8EguBA8A39VmzArNagCww_3kgVjNExDbXH2dOc"; e_fb_vipport="AcKfST9tz0syy3dPL_1OU8QjYQNAr5tMwYEty86kK6UXf-bAzsf64o1losZn"; e_clientaddr="AcLDhJRgvvjCEOHoze6rYe0p_g8IM_5L92uCdmRMuu1SMZgw0l2EsKmNWghGzOFUCTpztKc-QXGagIcEGgY7Cdyd_Oqhl374yNiiVlIwHJiGhyx8xg"; e_fb_vipaddr="AcLCnf3XdbNz5VqHLWTX4XQNUnVlPKPAY2YSD5D4R51CeKhsulKKaWJN4FV21nIvhanadyPjnZCYjmqtRrWN2GG6di3KV3A6jQ"; e_fb_configversion="AcJdy7mZatAELo6601MInqmiO6jSE956UWJyGhMw784EebBQHtvnfdjJf4BoFw", http_request_error; e_proxy="AcIM6z0SpKl2A76rYQgMLDAuYmQhtTwHQgfLwyVL-ZFdtvmV3iPXiKuPXlvsgu6vWxoKAAlH1eF5gczB"; e_fb_binaryversion="AcLwuP6i8WRxZ50TPelr3YWDdVu4BizMMbQVJ7vyl2AgwECw3NiV-JKx9MP4JGUJ7RZXm38zTxR2KEVBgirZblZnaEkEfhxY9Bc"; e_fb_httpversion="AcKSkqwcRt2iyG447TyoJr6reGSslTDUaJz0JQ30TZFTZUJ2HSd98pZ5WWAv"; e_fb_responsebytes="AcJkHppzyT021_2dFuEKSp0HjikuJxaoPd54Movshm8QmlUrCVo3gDSw-hub"; e_fb_requesttime="AcIbLiPPZ7VGTehxIM_DDmNe0f8eUaigvtjxZwazoUmiyrVAYT_Ub83zheNMnRb53MUycP9a5g"; e_fb_requesthandler="AcLlCdfPZSm0FWklchDA5NLRvCAWgxNRfUICoaymas91N78fbeVE6jP2dpJO6gwHQebYNls4s9c"; e_fb_hostheader="AcKIOCYrb8HVkLuun5Ezr8KRx14Wv5EuoYkAW9zIS7t9kCmdKqKDE2rhL-FDjaYmXOdHlGvya4R9OlSB"; e_fb_requestsequencenumber="AcJrB3_KU8TI2TZuxJ5mKnnXBA1t1tD-GHhysgaqzHlsv53MEMejtK2DzQ"; e_upip="AcJBD8j10mbUgDc_GYK3FjWEqOTlpOIiYAe3W--SzAchLBWmUvPSOU_MIuyFFzgCwNOW-LiPiG7pIqO7futCNsekYTd3yB9Znw"; e_fb_builduser="AcLWuu1Ev8cMo6QfqrdOn-nGIC8bsSUdtqshXr59TYPp4M5aN6kjEzQFl33vb6Rxexs"; e_fb_vipport="AcJvCFqgVRVFLZvW-ZSPNVtRoFmvqs6oJTJuXkCO8HzqtCUE8VKrqEhzNrSS"; e_clientaddr="AcKuUam3vUoCZ68B6Qr8Dv1_WkqWFB1E8NgV9p832yVNAUZOAxXU3RpMlaLWOrhZehjxmWnLxbx2fX_tew"; e_fb_vipaddr="AcK9A4Emrcq-QWiBaYcy88LzL9UyhRzc4Myg-DNq3YH6i36p53z11K8aho5509lMP_0WYaI"; e_fb_configversion="AcIQBOot5LPYeRndwkmpcQgvaHuzWKwfDWIGXPbmNLXB899w_hJEsPTJ94BWqQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=400, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8277753082301069"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/13/2024 22:02:50: Error on send one message facebookId => 8277753082301069 09/13/2024 22:02:50: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AYh5Vtq-46jqQaYejZpYyWY" } } 09/13/2024 22:02:51: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8277753082301069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55292492, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A56_ZJhOAibdNML6y1ygSOg', 'x-fb-trace-id': 'EhGFFtgNO9t', 'x-fb-rev': '1016484250', 'x-fb-debug': 'ZYIk8gGd/1NbexOXlNZx5Z8WjTdreDwWs7o1FQtzWVpdJYSfSivwvuaSWuuDjX4a/KTbXtlvo9CTlPLWZ6Kg7A==', 'x-fb-server-load': '30', date: 'Fri, 13 Sep 2024 22:05:06 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ0qLqQvbwKWonWu4-9i_yMXpwvbzi83XjeqqGgB2b0RH1OzQCdIDEjHZN4FtMGugd6kpMnnsOlivDX7Bbz"; e_fb_binaryversion="AcKimOLg2XmsLgRabVR5BdhogVxk5eK7hkaHHVHZE2LzmPxB1AwoD2_JGnF6AcDLR4csV-vrQh4LA7VtflPRJFoNaDW1yKURNfE"; e_fb_httpversion="AcLWd9MtAsUeT-4ADQQcPdvBeaFU9KEQX4nDoQ3xuQwr_TaERcQeQi3BtJeb"; e_fb_responsebytes="AcJkLXtlX1EJbwK8c9JZUaRmoDao0wkxiSzLO4xYfrc-c7H4ivcQzacz42OI"; e_fb_requesttime="AcLxi4MYA2pCYXwQn87xhi5DYGrV4z6aqJ4FZ2oFbcMtarE7nO5krGp5QdhXM7uOd3X_y4Cwnw"; e_fb_requesthandler="AcIi-8CMyLwMpeOLOpMLpb8hdQEHe2UKXAV2Al1g-y-sIoztjJeMybQpEoxKpy-v6FOSKvv7Wbk"; e_fb_hostheader="AcLMi-R0kqiJAMo7P-wjQOW5nzkQeWbr-mbTmb_qwl6orYF9qBr9CmHt6n4_zbERpbeOepSIhszohQU2"; e_fb_requestsequencenumber="AcK-0Xr3XV4FjLfZLPDOw94JlE7Tz3rQYAP2i_pZSG4xSLUZuQKD-A_uf6Q"; e_upip="AcJ3Br0wKsau_Lw4iQg3wsW-_U2Fx8O6YUlt7AoS7eOuaLbclisJibOHHKgUXw7O6OOtxIuQZcax4gsjBx-pw-W57sRhWQWNFEyk26o"; e_fb_builduser="AcL8rK6IzoYcIsge5fRnKHT4RUJwEmfQm2VpNxQBqgfyXnZanshIt6_7v2qCY1OEubc"; e_fb_vipport="AcIhr4LD4N8iVsPDbnNqdRi3HsIN9KQi-yUOAvF59Z_sd4L8xc_yaV8aU0Up"; e_clientaddr="AcLyNwsF8yDjDKzsfSy18-DbVrZIIOP_QKkGRpBb0TC-7NETlU48Zg2S1llFEXitorQLA-2gcW5xq-BdoAYJ8y9q59rfsvf8JiTA5YWdhNvrwNYo0g"; e_fb_vipaddr="AcLvRfnKUlq1rGRisBw8-gGv69yPcGW75gJkoND2RP4aK7SsOAycH2HrT6yfqnbl-aeM5oAeJ-z6w9QmA25CQettit46oi6SvQ"; e_fb_configversion="AcIzX_6R_ouaU89Kr6qpGphfseCvv_CElRC-Pdl7FrX_7rQSs9fZBfPVAZtT4w", http_request_error; e_proxy="AcLsoXmg9zpJZiQFSggVk0gfm86PfP75qHKJ8P0wKc_RrT1q0L8PaN5eVzU7DzJWyJhT-ERyAJn0_Xw"; e_fb_binaryversion="AcJZWoT2tcsaeEOH8sBGvleAjjNWXZ8bpnUoEN8M_yvp5RFknKxEkpEdi4eGHxn3CbJNLCdydTW77pHDjKmZ0OussiYd0VjbgO4"; e_fb_httpversion="AcI-0vzK_U9ybDsvGTSjaeFfiJhs0TMhrcFVMQMs5hbgf3WhoyUtumPTtrz2"; e_fb_responsebytes="AcIEJFF7hAEWC7cxYVbdojds5Kcu2-pXf9vBj-VL76JncvjxBOoEiViHOT8U"; e_fb_requesttime="AcKV0ZIDIj2ToYOsinlmv3v1qcqm0Uv7kKwviM9hjCVhCz00RJc2Ak--_GfEDFHEuR4i5T2ioA"; e_fb_requesthandler="AcLEgGpR8IH7TbTAwjCmrthsaga7iKPFp3z9ZTyL1YseGciLRxJPqAEVG4BFnzW5e25L3FEy3xI"; e_fb_hostheader="AcLazTXrkOenn3V1v_-DQAEcvXZJ_Ep0xPN-y13hDcdmU_X7DvBHmjdxZk8rSFGXVxcfZYyP0Cxgha__"; e_fb_requestsequencenumber="AcJPEaqVSMOzwMt7To5IlUSRWDoU7kTTHsTDo1FecvhUB9TMLLLeJjadGQ"; e_upip="AcKCojKjTPh9Gx-qqD--e7MOr0LmT8LW036amQC0GiCzY6mihp3TbMvU8km-_UCNF6_va9ihyDYOXziV4OcXJXAQlpp2WiIDfw"; e_fb_builduser="AcKoo_hBTzY6pZI2BnrKhRftJkNjKWOExL3hRz8cNUM0FpOmv1tphus0eVy89kr85_0"; e_fb_vipport="AcLbs41lI1_ua57DrmTneYjWABNtlytC9u_LRsaX2H9ocm8Ib317botR2YMQ"; e_clientaddr="AcIW9Xs5MD-0sfVqrUaRuV-LCqw88Kzg446_2v9ABIP3LkRrlKFRLMF1JeJDJ0qGhGb9mOfjEeD-WSEx1w"; e_fb_vipaddr="AcIxu0cRB0k44g8jd6k9xexbKywTJkXZ0zGGZryzgFeIDW-AzVD0pPIsh78e51rCRU9if6Y"; e_fb_configversion="AcKPX8g_ZU1T7nRw1Kp8jnF0WRxp-gQ6D2wQRfbsVbmyM_sPXTrG1eUvphKjyA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=28, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=180, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8277753082301069"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/13/2024 22:18:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 22:19:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 22:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 22:21:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 23:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 23:37:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 23:38:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 23:39:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 23:43:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 23:44:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 23:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/13/2024 23:46:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 00:36:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 00:37:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 00:38:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 00:39:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 00:43:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 00:44:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 00:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 00:46:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 03:10:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 03:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 03:12:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 03:13:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 03:14:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 03:15:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 03:16:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 03:17:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 04:10:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 04:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 04:12:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 04:13:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 04:14:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 04:15:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 04:16:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 04:17:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:41:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:42:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:43:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:44:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:47:10: Marker: 0 | ID: 66e5235e11e0a671f61d05f4 | Error: cant_get_message 09/14/2024 05:55:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:56:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:57:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 05:59:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:00:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:01:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:02:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:41:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:42:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:43:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:44:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:55:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:56:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:57:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 06:59:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 07:00:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 07:01:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 07:02:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 07:51:14: Error on controller payload Input Treatment=> type not found 09/14/2024 07:57:44: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66c5d835ff349866cd519a55 09/14/2024 08:55:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 08:56:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 08:57:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 08:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 09:55:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 09:56:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 09:57:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 09:58:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:04:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:05:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:06:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:07:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:31:43: Marker: 0 | ID: 66e59e4f11e0a671f61d084a | Error: cant_get_message 09/14/2024 14:37:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:38:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:39:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:40:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 14:41:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:18:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:19:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:22:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:37:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:38:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:39:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:40:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 15:41:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:12:37: Marker: 0 | ID: 66e5b5f511e0a671f61d08e3 | Error: cant_get_message 09/14/2024 16:18:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:18:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:19:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:19:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:21:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:21:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:22:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:23:09: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55508410, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 14 Sep 2024 16:25:25 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/14/2024 16:23:11: Error on send one message facebookId => 26602762082702829 09/14/2024 16:23:11: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f25fdaf0-72b5-11ef-a52c-3b4dcf4a99de__1726331125279.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AQNVgoV-nkJZ4zQgh4rcaXK" } } 09/14/2024 16:29:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:30:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:31:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:32:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:33:46: Error on send one message facebookId => 26602762082702829 09/14/2024 16:33:46: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/f25fdaf0-72b5-11ef-a52c-3b4dcf4a99de__1726331125279.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AlzX3A9xsOrChaYt5zMBINT" } } 09/14/2024 16:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:46:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:47:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 16:48:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:15:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:16:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:17:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:26:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:27:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:28:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:29:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:46:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:47:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 17:48:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 18:14:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 18:15:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 18:16:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 18:17:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 18:26:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 18:27:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 18:28:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 18:29:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:24:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:25:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:26:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:27:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:35:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:36:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:37:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:38:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:41:30: Error switching inputType 09/14/2024 19:47:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:49:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 19:50:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:17:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:19:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:22:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:23:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:24:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:25:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:26:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:33:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:34:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:35:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:36:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:37:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:38:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:45:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:46:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:47:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:48:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:50:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:54:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:55:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:56:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:57:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 20:58:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:04:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:05:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:06:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:07:25: Error switching inputType 09/14/2024 21:07:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:13:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:14:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:15:35: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55586878, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sat, 14 Sep 2024 21:17:51 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/14/2024 21:15:38: Error on send one message facebookId => 8315762388540754 09/14/2024 21:15:38: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/ccd71a90-72de-11ef-a52c-3b4dcf4a99de__1726348671673.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AJHmvfQOPM4omcAWUOdk1OV" } } 09/14/2024 21:15:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:16:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:17:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:19:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:20:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:21:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:22:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:22:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:23:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:23:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:24:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:25:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:30:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:31:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:33:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:34:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:34:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:35:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26845412505074657"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55596801, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AmA3OaTbNY9s3DFqNwWF89w', 'x-fb-trace-id': 'CkO68u1qxIF', 'x-fb-rev': '1016504043', 'x-fb-debug': 'kPKzQTqMP4HyGFTMbp0rI1kCp5/ylKI3CtGzWQLnfo1Jzd6aDWgOlgfnEuEyxKGq4thXNcC8rhOc3zt6JnQKTg==', 'x-fb-server-load': '20', date: 'Sat, 14 Sep 2024 21:38:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLMQblmDeyzV09AcWiWyyqa-9y65SQuHFeh7nqlNkJ1q8pnz2CQJPTu6V_HXdAbG9F7LAJ6t0KpA3rfO5RM"; e_fb_binaryversion="AcIOHBm6QqERSxQkvKxoJgbq5tGqNuoiXtICAf2ROKIc7j45t1S6kubMwcA8ze6P-vgCe1f_WJ6RtezmamCtDh1rYSOa3pJQzR8"; e_fb_httpversion="AcJBlBa4arXwyLBRTd3sfR_T6SDSFoIoLmi0HT-rce1S3TDriPbluQDRqpb-"; e_fb_responsebytes="AcLdi_hrwVAX-6qGsRTBLw1cc1tWXfm8eHWW54d6Z2iNc3oQ7HXvZLGPJjgp"; e_fb_requesttime="AcLe9bCLgZsWqALe1Enxb-FxyOSrRFKt_qXOWGaKkj6VbCVKX5BLlmEXIEKe4aB-t-tqPy_TEw"; e_fb_requesthandler="AcJLVjiGbzwykDJF7Nte012r2F35KHWGBeCigm0xjQiAf4YdyVKTulZlikAwiXmtM991YCE5T2s"; e_fb_hostheader="AcJ0wYQ1ghJ9IagAINJU_j3Kw2klQ4KFF-KHqryuJSQwvsL0HijRtKOTTX6SNg-lWsE7ZrIHE3hsLJBw"; e_fb_requestsequencenumber="AcIQ5Bfxh1HC2ll5v_pYSQRN5G0wyIK0VNPyhukaJzu2P6yx-_GzrUEBPkJe"; e_upip="AcKm1Tlp-r1g6vEU3jrwLTqzfCFwTeUfOYIB-S9FLpgQ6imawliyKtq4Vv6aQCCuvsW1Xc-2jt2lymXrYD1peLOhtJpxOmoExvnuYA"; e_fb_builduser="AcLatxKd335Zr5YJXNrcia-YstJhGd1hnH6hVZbujkyYfaaEHeK5Mvp4m862BH-uZqM"; e_fb_vipport="AcKA8spImO0i7f9Wy0E1yniPQtLk6KU25qgSntShdQbUgpj_y6kUBOzfcL_T"; e_clientaddr="AcJ1vS4TRah0vIjdkl90tOsckpPJ0mOVB1LWStBTxYn5G173HI5j8Jv4uYyBggMJHKP7Y6BrBt4-VuAP51We-dyTNWjresmjpTUx3YR6-RaRj-nZ"; e_fb_vipaddr="AcKNOkDe6ZGovJfarzkRXn4h0mlcgzsIKKRkIFb8dIEIMOmbYBkB08Y2VgyMgyc2fWSF0J170O5rQWK32PGE-rVPwEkQSt7dSA"; e_fb_configversion="AcLROQTKeG6ZR1yHfcNz3YVmsPdelSigRZdwTihr2UDXC0Y3twojI-cl5FTaWg", http_request_error; e_proxy="AcJVDM8zqc5Cup1sdvCJJvFQGo3t5k7AwJxubDyYE-rOBab22nV4i89UmoGhcmR-fFKBo_NX9EuulS4"; e_fb_binaryversion="AcJ2lwg2y3pybVqC6CuHNOHA5TIM9Cymc-veVAAyQaC3uAxcuSV18Qe8hQ5bLqdijoNUGWzUhBGgY9-2iudzuX0zmTj3OG0j4Rw"; e_fb_httpversion="AcKwG-S4wQY3qQuGPeB23nxZ6zf6zPU_TyhlbBXwu3pa3yqH-jXne7cs9seO"; e_fb_responsebytes="AcL9OBYawuzYSFcflhmxSwr7zw8HoypXhuYFjWWjNzuM8Dbr7NayVFG5jnxI"; e_fb_requesttime="AcJZbA7RQyXUJuNUQvyKI6YxraqagFuECOu-6-psX0O_y6v_ou6efgeyFZPWGOTn9_PBoBJRqA"; e_fb_requesthandler="AcLD-5j-IGcdDFcivx6TrNLsBwoQv9dEFdfDT1HfrK2iFWF-SolSlDFEEjyLct3bFPneIQHsLVs"; e_fb_hostheader="AcIYV4hIBwW0b7nlGIO6lNv4lamFB5vJGmZpuO5FMyBTdUwLM8O0Jg-CLrDYFeKodM4yJGwQ5ENCs81f"; e_fb_requestsequencenumber="AcLDIU1MzMVnzeJ7RR_aZ5U7TW8oP-hl489sIzXnbdKLRXdig6IRgGczqQ"; e_upip="AcL6IUvgEJJh3k4tS1qH-l_k0_wDN9dpcPV0QM5mOTorcqySTFxlKIrlwv-ZsrKbk8GR0oUGOBodT_cypdAl1S9PPYIwuWABTQ"; e_fb_builduser="AcJjLoPn7Qz3yNu_H8sisyG-FaV9bfHw-QZVglR5U9kt-I_6gjedf942mOUr8JGLSbQ"; e_fb_vipport="AcIAGxcQ1tZNjB0fJ6w8h-nBniXNkf_yd0MwtGKpzh3PVZEhxDDn_D3NkAZ_"; e_clientaddr="AcJHgfUXsaUW_CqskEL9OSonIwlWIvfGZ1HbAmW7CLEVXeD2uM3fEcI6hey-GyO9aTZdxQh_0e3Hk--JXA"; e_fb_vipaddr="AcJPhmn5e4sB_bR_EjTxX0dU3D9DMVT_0JCO7YWN9Fefkc5VoxM_9DWxBdBDh8QZfntVdA"; e_fb_configversion="AcKoOU27__42taEcVcJNcvc0LfPdfrC6ZW6W2wkeBcug_cXS5x7Ch7y5Fe3Vdw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=149, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26845412505074657"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/14/2024 21:35:46: Error on send one message facebookId => 26845412505074657 09/14/2024 21:35:46: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "A0yJW6F5wqameT_rdBcfpme" } } 09/14/2024 21:35:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:35:46: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26845412505074657"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55596967, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":1,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AFAdUyGAEEc_kivZ74fZuL2', 'x-fb-trace-id': 'Agc94lbkHxO', 'x-fb-rev': '1016504043', 'x-fb-debug': 'AuroLH5n3yoML7DATLmOn20KqW74L2zrcXwbeFD4oqyviHVzwitk3h9O1Nzhw2SrZc/U2AJHOsKn9w91Lkiqvg==', 'x-fb-server-load': '24', date: 'Sat, 14 Sep 2024 21:38:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJ_Tldug1LjDh3kzWJVfmn_VNLUuoAVcJCTnLHXw5J32A8J0bppk-Lbz7i5km0aHjFuLdo82ZYdkYRZM6Q"; e_fb_binaryversion="AcLS8L0TewqToF1zCOhJnDuqiYy4OpN3yEuHSerVGcgTZIV5FAR2GsLkOPAEVRWu2CQ6e6xJSvScmjGAEk67AEL0RobqN6sJ0ac"; e_fb_httpversion="AcKWbYaKGdY7RN6IDXUaIpiZErI8rokHgF21MzKatO3py4Tww8Ftd5lnToFD"; e_fb_responsebytes="AcIpIJINZ9xb2OVjh-iqZVgrkwCq4l-tkjDb9BbffFQ9ple45W2tWMbY8qVV"; e_fb_requesttime="AcJCuNSi5MIvEvaBlxmeHicdkQoUKJNEe3e_oSx-CEmKdobgPO4VFmWzkh-MTAXWMs28IzvORw"; e_fb_requesthandler="AcK4QOfm8WWxEv0J_rXp30LAGuFMxn6ZtgSy_H0IoT5EtFGyHalmlEwokdOZS7mSB-f4aDkvovE"; e_fb_hostheader="AcJsPUxpsHfq5CXiahoa2KDyXxXVtA9InPfCFKXsUS-xgT7j_dIrnAbbufmkJ1HByWO_iVf54Yb1we4L"; e_fb_requestsequencenumber="AcLeXX6Keu3y6UMuN-x5bgnGai1w3AMUfIUA4oIY4aB3sHSubLl9Cxx4PDZB"; e_upip="AcIaU2CjTgeJ5DbZ0juk9dC6rNOBRhp9tX6sRcRMcz46toBQl2wru6PjxPY7v-euUS66ryKgLUfJpN_FDHYtDCYmZs4eeMPUkLXd3z0"; e_fb_builduser="AcIJ_1la9Q37ISWekWHJc50FCc_8yv_sS2rOs0hBkqbSyyQTHfj1vXhwtGkEoGdnz9o"; e_fb_vipport="AcI_iw16nzQhgo8qNxAUYQATLZhkj8KCQ6RSB6TwYC-6D4sdIFeyD1SPxtHT"; e_clientaddr="AcLIR3VqC8fQWBr3_-JoasISSczcQE_wrxtSAE8cjmp6otyutyv56iK2inEXcSJ_h-IdiW8uotej7j3qJVpJ_w5Y8Ov-zsFM6pdPW98EPfq7908LUA"; e_fb_vipaddr="AcIFWAHl17gFYZDHrA3SZxRK9XHPLQhqNpSRTgLQnlfe_g5PQaPaTMmIuPtwMxKefNDmdI-dzX9cTrUAPS_B5ADhF5ei-tV5dw"; e_fb_configversion="AcLL_VhRyHg3erYRKH41a2q9RUfatAH_-27QIoFrgaKq6g_4whzBwBXOMxrqew", http_request_error; e_proxy="AcLjToesYvC7FCtEbD1VSouPxjF_kHD76acrjASyGQUAFdJYlmgu7kbY-h7ENAYoDJPr67ZbSMo2y78"; e_fb_binaryversion="AcKvW-TrIQP_F1DNIlHJUWgb--4gWBNxsWTxzGnQXdmd9bC074fQFP-oMYE49J25fvU-yjRhWr4DHXQnbUlHI0niFwV25hm7cKU"; e_fb_httpversion="AcJzRAT3_y32jWPSJR2no5ccb55qm0bAZ7nZwgrDl43_FLpIufKE5JqnUolg"; e_fb_responsebytes="AcLNQFL0Hwua5bbZaC5q4UqMtyDc7bhuoIUWAC8Wp8WXLPvBSyIIbjxkww6B"; e_fb_requesttime="AcKV1Obh0PFhZ0p-jjo9baC1hd_ihMjTpZGLO4xCYhWtmA3bObQpiahfgLNAxD93jPymd3Opew"; e_fb_requesthandler="AcLeqEYhFJmrdjWF2ssxge4aZTV8MFS8l27NTbM_c7uCdgNnVlLLenjIxz8JQPC47kG9-YfWqqA"; e_fb_hostheader="AcJAN9ZiICQJ_1Jrd68Jpknqo90wR4HSzRz4IV7ySRkq3YbIdrNgA8rX-7s5qpQFj3MMQX7GKxtq8BMH"; e_fb_requestsequencenumber="AcI1_afac9XwnOrwK5Ck4eTEx0V5Y5nTHSA99IWrUSXQDmtdO6CIgt98rw"; e_upip="AcLPQI_ZfZoOkrT3xXHN69h5R2KwaMvNEo5zWf8Hka4VXfSqtd3yahl97GfspfMi96-DYyPKimakKJneXlCq8Seb99lEJNmJgQ"; e_fb_builduser="AcJA-0Ah_cEC3mOf11gfoY7OTY8wDB-QYSQD_DC96-zGchnKQa-HYzM9YYwKrQ_06Js"; e_fb_vipport="AcK_ie9Z7KSwF7eZyc-6Bp8DmuqSm1JIpPVh0GOcI48Rki-Q4h_iRvTtbusA"; e_clientaddr="AcJofzatsSVqc6C0IbjYBuysOg0xmxBnXh3ovOVwEfNYrlgR_nmfsDWrs0C293ZrLBX4zTJiIIOa9UiiZA"; e_fb_vipaddr="AcIscICuaUO6UzY7zkoh7piQ4fxi0oEkIjOy7xmjwGvb4WgdHsXK6jOzRs_j1VmHtNInDg"; e_fb_configversion="AcIoX17btab7nY1OXVja0q8FJNBdG8MMZg__wNHYow6zJVbDu9kjK6DTGZ3OJQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=2, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=153, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26845412505074657"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/14/2024 21:36:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:37:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:50:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:54:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:54:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:55:19: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 09/14/2024 21:55:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:56:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:57:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 21:58:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:01:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:02:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:03:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:04:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:13:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:14:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:15:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:16:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:21:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:22:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:23:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:24:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:24:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:25:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:25:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:26:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:27:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:34:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:35:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:36:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:37:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:50:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:50:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:53:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:54:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 22:54:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 23:24:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 23:25:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 23:26:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 23:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 23:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 23:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 23:33:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/14/2024 23:34:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:14:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:15:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:16:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:17:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:18:47: Error on send one message facebookId => 8336544269725828 09/15/2024 00:18:47: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AQJahWVigvZkDpSHdAOI272" } } 09/15/2024 00:18:47: Error on send one message facebookId => 8336544269725828 09/15/2024 00:18:47: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AXZMeH_FwmNrTi8JXNyOoyK" } } 09/15/2024 00:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:33:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:34:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 00:41:03: Error on controller payload Input Treatment=> type not found 09/15/2024 01:14:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 01:15:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 01:16:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 01:17:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 01:18:46: Error on send one message facebookId => 8336544269725828 09/15/2024 01:18:46: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AMw4MmsVydTKJN-hlnrDtw9" } } 09/15/2024 01:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 01:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 01:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 01:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 02:43:59: Error switching inputType 09/15/2024 02:50:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 02:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 02:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 02:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:37:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:38:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:39:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:40:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:50:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 03:54:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:16:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:17:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:19:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:20:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:37:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:38:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:39:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:40:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 04:54:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 05:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 05:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 05:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 05:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 05:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 05:58:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 05:59:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 06:00:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 06:01:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 06:58:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 06:59:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 07:00:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 07:01:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:09:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:10:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:11:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:12:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:13:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:39:25: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/15/2024 09:46:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 09:49:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:09:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:10:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:11:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:12:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:13:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:46:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:49:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:52:16: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/15/2024 10:58:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 10:59:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 11:00:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 11:01:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 11:58:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 11:59:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 12:00:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 12:00:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 12:01:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 12:01:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 12:02:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 12:03:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 14:24:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 14:25:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 14:26:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 14:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 14:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 14:58:29: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 55842102, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 15 Sep 2024 15:00:46 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/15/2024 14:58:31: Error on send one message facebookId => 9010859252261030 09/15/2024 14:58:31: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/494e3470-7373-11ef-a52c-3b4dcf4a99de__1726412446007.gif está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AQUCmg5romzRSzuCJZBAkPG" } } 09/15/2024 15:07:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:08:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:09:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:09:50: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 56318850, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 15 Sep 2024 15:12:07 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/15/2024 15:09:53: Error on send one message facebookId => 9010859252261030 09/15/2024 15:09:53: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/df6ba8b0-7374-11ef-8cea-d132efcc8e4e__1726413127355.gif está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AerWBp5iymRdgWX112ajgtI" } } 09/15/2024 15:10:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:10:54: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/15/2024 15:10:56: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 09/15/2024 15:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:19:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:20:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:21:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:24:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:25:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:25:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:26:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:26:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:44:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:45:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:46:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:50:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 15:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:07:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:08:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:09:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:10:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:19:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:20:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:21:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:44:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:45:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:46:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:47:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:51:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:54:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 16:55:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 17:41:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 17:42:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 17:43:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 17:44:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 17:52:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 17:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:00:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:01:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:02:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:03:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:09:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:10:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:11:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:12:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:19:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:20:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:21:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:33:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:33:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:34:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:35:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:35:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:36:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:37:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 18:38:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:00:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:01:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:02:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:03:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:09:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:10:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:11:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:12:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:19:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:20:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:21:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:23:40: Error on controller payload Input Treatment=> type not found 09/15/2024 19:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:33:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:33:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:34:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:35:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 19:58:00: Error switching inputType 09/15/2024 19:58:26: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 56770589, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 15 Sep 2024 20:00:43 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/15/2024 19:58:28: Error on send one message facebookId => 8053123678120305 09/15/2024 19:58:28: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/308161e0-739d-11ef-8cea-d132efcc8e4e__1726430443262.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AAE-p8suPnOCDgyQDoA9K9u" } } 09/15/2024 20:04:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:05:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:06:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:07:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:16:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:17:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:19:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:19:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:20:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:21:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:22:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 20:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:04:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:05:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:06:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:07:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:08:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:16:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:17:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:18:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:19:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:19:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:20:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:21:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:22:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:26:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:37:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:38:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:39:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 21:40:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 22:37:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 22:38:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 22:39:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 22:40:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 23:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 23:54:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 23:55:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 23:56:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/15/2024 23:57:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:08:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:09:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:10:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:11:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:12:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:33:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:53:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:54:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:55:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:56:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 00:57:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:30:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:32:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 01:33:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:20:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:21:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:22:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:23:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:27:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:28:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:29:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:30:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 02:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:16:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:17:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:18:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:19:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:20:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:20:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:21:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:22:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 03:23:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 04:16:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 04:17:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 04:18:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 04:19:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 04:20:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 06:24:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 06:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 06:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 06:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 06:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 06:34:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 07:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 07:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 07:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 07:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 07:34:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:55:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:55:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 08:55:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 09:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 10:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 10:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 10:32:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 10:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:38:25: Request bot not found: { id: '138894166495332' } 09/16/2024 11:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 11:41:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:03:10: Request bot not found: { id: '138894166495332' } 09/16/2024 12:09:05: Error switching inputType 09/16/2024 12:16:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:16:54: Request bot not found: { id: '138894166495332' } 09/16/2024 12:17:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:18:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:19:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 12:41:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:01:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:02:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:04:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:16:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:17:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:18:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:19:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:36:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:37:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:39:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 13:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:01:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:02:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:04:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:36:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:52:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:55:02: Error switching inputType 09/16/2024 14:55:02: Marker: 0 | ID: 66e846c611e0a671f61d430e | Error: cant_get_message 09/16/2024 14:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:58:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:58:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:59:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 14:59:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:00:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:04:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:05:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:06:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:23:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:24:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:25:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:26:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:39:52: Request bot not found: { id: '863113247096430' } 09/16/2024 15:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:52:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:54:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8242799239107504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57047897, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A8GmORzVIW5WWk5alezBpY6', 'x-fb-trace-id': 'BLwNhWhpydI', 'x-fb-rev': '1016517816', 'x-fb-debug': '457jxvEEpH0m6HakrbEC64CxE0PxAjRtJUPdgpDpy9aSEu9Yz04Sghndz4kZWbeaZ7lEutR2ATC1/nCXc4SjGQ==', 'x-fb-server-load': '42', date: 'Mon, 16 Sep 2024 15:57:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLJjKbVuhzxAyn_a8YaNNyrE3lKcq4oqplnbzp5mtMUWrTM5Ii1RR7inrxI-EF5oJmUTtU46Iywgv76jm2K"; e_fb_binaryversion="AcKtGgWbowJXmeuesKhrUCj9rDTvLmhVPVXIZcQPiBcatTLrDpjubRs0YWwUcUectMQQ_XGtDszpRxPK9fEQM0qsyeyNCrK4cr8"; e_fb_httpversion="AcL0CdHVWwTvEQqIEiqdytBhJ4ap1rgMHcECG-7h5o3hCEGsDMalriKPVhah"; e_fb_responsebytes="AcIBBehSpcK5CoB2adCGQpyv6ksvcdsvdrGmZATvxHL891z-c8hKoNQ0WOlz"; e_fb_requesttime="AcJFvTGZi5P8abe1LRRl5v_4Un-XESxtYRFbZnSfPBgOKViJK0D7yPxSM8ruSBBgxCVLjiUWUg"; e_fb_requesthandler="AcIXRhagTBACZ7bKlar-RjmAVNmUG2gG5amJg68QbffREzpzmAdz1fZKRH4nxK7J0WXEbwYpQg8"; e_fb_hostheader="AcJDyvKwp3J7zNVbnrDuysUCkBL95axoalJIY1qe23rVMJA2Me_E6L3JTmdwyetsi9Cce4P6RobXvFfS"; e_fb_requestsequencenumber="AcIY9AIARJ60x528CbaQ4YENY7EX489zxsnHWHY7eekQz41Hu_9hrclKgaHb"; e_upip="AcK2OKkHbV-nvQ9k37x8sguaQDyDL7DySkVV_6q5Gns7n7OLT7iBQV9ZTlMrQd6-M8Rv7-mWv1ygVHwQ_pKtaRYO4vck4dI8gm99TDo"; e_fb_builduser="AcJhJzo3-uKVbgrg_0bPy0TUuYp87Z_Qhb-ucPBEFLyNH_sVTlHTW-JjNg063LcJj8A"; e_fb_vipport="AcIEDH0zj-68T4Z7kNa5P2C8ZKiBpWRoajMckzRFd89ydTLXb0u3qkJ963KE"; e_clientaddr="AcJZUaPTDi1H4b-5WbmVgQz3tRJ1Jh3ojF_b52V0vkQhL-07fPVe5XizJ7gePR1nWkJZzQ6r5Pm6cxuNDhEVIpKEHIhZcvUebn3L1hWS7MR6u9rbIA"; e_fb_vipaddr="AcIxc1TOvSZY05_S55JMbeAgZzxbHB4VRHB3rr1kHG-yxVdr3d9xx7qBqy6QrGftpc_j5yWpe9ilmr-TR6B98EN2yhRZgY_BgQ"; e_fb_configversion="AcL7l4ACmsBLazzkKODoQr02gcGnPRRU0cYkos7wv4ZjM2NPMadoZ685st5-7g", http_request_error; e_proxy="AcLTee-aQTk2ZyqchKdUDlG5tBbU9-51xAmKt5JF-9B6I7IFwT_lpcr9I1lmMvx31sO2h-WGbFMdYOQ"; e_fb_binaryversion="AcJfXPkJg-G-kDUvXNWyOfKQNtLDqpVjwFwlVIXw7_-TLbpz4zZ3i99FHuGEwtqn2BR9ej8hW6O9GOdH6cIcOW2_TqsrJlQ9zgc"; e_fb_httpversion="AcIAq40XCyxBJoJM6WRxFGrDt2k0uDEejRPgoh_U7gofCODDFDQdqY_ZeBRD"; e_fb_responsebytes="AcKE5dKZ4nnDI8kCKoreCyQ_i3elY-O1ZHhm_3qRZORUN8XtpHnm1RbVJhMJ"; e_fb_requesttime="AcL9-o9PnWtPJ8Wk7UEnlgPD9LVQ1e3_jwHvDfazCaMfinELUk65PQpsYurd01QysFKGyNYsOQ"; e_fb_requesthandler="AcJn_kV-9UkT6vQ6i9gga8a0I6NLJ9RFTb62lxLVhdIa6MZggfk77HvVm_c2ERh42W_ReC2yUmw"; e_fb_hostheader="AcL_E-UTw55xSmGqOyBkyM6HSOWSoJDxoMqEmSYvg3WChlN9NxUZSuMb-rnd-HJphFHwGNP4ABKoL9YV"; e_fb_requestsequencenumber="AcKJKppJEY8Vv85n4O4Y9u3WrK64U5vG-8Wx8txNm1YJJKhFLPgWNOTEjg"; e_upip="AcIMnQyUMoQJ51Jl1RdssSdF_WJbTzqpZ4IMiBUgoiZ0Wih_keVWxPu_Q2wJtTxiQIMLUEWr_ahHcgUQ36I_fxWYsLPj9DvjuA"; e_fb_builduser="AcJJS9o87Da9RK0KCGSqijNFGxjrs6A7HozS4LDZCrfTrJNJpJYIGG_JLJbiosLH09I"; e_fb_vipport="AcIwJEMzWG8eZN5AnYlSwUBLUs8LkPcrB6QkPzIYF3x3vHO8mb6nY010h79x"; e_clientaddr="AcKMm3dRN8F4yZvA_m3EeGIL1wJD8pygIMNdaqlyDJpmB-Ao_sZhNacHlSyArBjkDhPs_3kSS5KZ1AmYLA"; e_fb_vipaddr="AcJRCD9xWBn_F2iLox0ZKKK7ma8BTdHdITkc0GTrHfcClMJE4g0WiRPhL1LruKjApm5Lbw"; e_fb_configversion="AcJhpYceclMI5fZwM3P4u2E4YvwWmRLNrCDs03upTKcjdlnJh2Rd9c_B1Fpf5Q"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=208, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8242799239107504"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 15:54:44: Error on send one message facebookId => 8242799239107504 09/16/2024 15:54:44: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Ae_2CTvm5xfs96Tv63E412W" } } 09/16/2024 15:54:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8242799239107504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57048066, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AnmPBWFE-SXHZO5alYdA1zo', 'x-fb-trace-id': 'GxqoCsI8DFg', 'x-fb-rev': '1016517816', 'x-fb-debug': 'L0zsgxfAoKp/qQzBosowlfxP7z9jbQ3ukrVCpQgqawsdu+PMATonll3Jsk1hhLtFhlBrBljp2tkTNz+pZVIu+A==', 'x-fb-server-load': '39', date: 'Mon, 16 Sep 2024 15:57:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKoc5-vS2sg3Mi5Ud8pDqQEIbyMpzL2ocyZOOPK3A8wopHE35M-Rw3hugE3i7FXGwmPMsGGDVz_07N1qHVT"; e_fb_binaryversion="AcLCOHQjDcOIspUFh6VTuUbzAEUim2ie8TeKxI7jPdt9p3FEV6L-ljivAUpfs1pY-XI6Qz4MXN6nhMu2qSw2yn_-B8E3cemlcAY"; e_fb_httpversion="AcIWCZX1-aBWhJ5rVxGdNmMHwXcnUe0wayYkjE1IqQY-CbERPYImiaNrkbQl"; e_fb_responsebytes="AcJZu11v7g26QHf687ZSbkK0f9lvWMnadRYIz1-h1jlOpF6zxtVx0doL_Bq6"; e_fb_requesttime="AcKK5SmC5HIdeQGyxBLbUeX4rjt4i8A8CkXuHRv7gSfQ0Ur7ibg9R-8_QJP_RKyzgud6cc0Wrw"; e_fb_requesthandler="AcLIs3fdRF_E8Fccc7RNbABcme35paW4SPpH__GWGgG9nmEfN68BuIiPenTkqiLh_8J4jEPmD-A"; e_fb_hostheader="AcJsIjmEzL8PKv0GUdDp1o70dPifcWU-qP55FTH39f5qDvjKxqPULTEpAnmwH9m30SOTm-gNGfPpUKgM"; e_fb_requestsequencenumber="AcJgv3o30lmGh5ydo4-wsYbF9q3BLCx_eOtqmrsYlNse_iucQTof8BXusJzK"; e_upip="AcJSiwqRkqS5zsbez8uF_4C5iSozyo4VHaFUAt0cYFTx3z6yvi0ARfrrWvGewJPOYYKP-DZ1wwLR_fJ0BIHh_TUY5HEE2lQ0Hk18XCw"; e_fb_builduser="AcJFenH3hwuvwSI0vxEzNP7qVnSCVTjfRQxvDpLo3HAdsikOwroeQlP6QqEgU7UAwAs"; e_fb_vipport="AcKcnWy3kYZTNtHtW-1D6i5BzNyu63GxWeBQ3_Gj2plpsLb6CCkupp-OwQxL"; e_clientaddr="AcIoGiEZXBTJkIWfbT4oC5H20igBVDBhNGf3UJWwgw9ylQoKKsQRPTmuVDo6HY19KkugTpO0QZbqjmi7AV1siTawt4orR-c2DhNZX-sDErSvEYko"; e_fb_vipaddr="AcIV_8a1ES0MLW9jarcrvHqz50UxwuiKtFXIcKtksWRRfBGKBxdDtdhAZ2Fs4Utj7EaY3l9yjM5cpR24OJ_1sFUGhK8h17nuPw"; e_fb_configversion="AcKrYpGHb9hhbvT53b5lNNzPduHSQLrxqd6TRMVp07QymLz6wSFQSpfFxFNHjw", http_request_error; e_proxy="AcIHlRiySSI888qzCZh_DxHwpm93XO93OE8C2ZQ7T2lUH3C5p72TecLDxG9nUj4qZ-csSGmlnDG4vNw"; e_fb_binaryversion="AcK6EzHsTCxwaqH6T75ClALbs-eiZwx5nkAZAW6L6mvECa_yhJs_BmACx7RLjrchbFN46u2i_3Ylxzq023gTaVppSOYAXd1QP7Q"; e_fb_httpversion="AcIVRn4oFEEnApamMapRPZ48Nu00i7jRNy-O_-Wwbzfq_ygN0NMMrgq952YZ"; e_fb_responsebytes="AcIbSf0qiNcOVnwQ9IWwAgfNkfuz0kTIl-3i3cvAdSYPvz6AVIRsImOgdsWW"; e_fb_requesttime="AcLdFBL1-zGSJC-hmnCZ8q1B8jvetcJS_-kVrmMDSr_lohZsy9uYvWAinNmesqq_KTWZNU-zDA"; e_fb_requesthandler="AcIXO2avu0gaTFcie9a_h1ivrK5QLDkx45_0GVVbjYjbmn1eLHFevY4zf93ABuRtNUSTsZrRQ30"; e_fb_hostheader="AcL0l3rEhhuEuCv7op6l9NBDjCx7VSKORzizlJlUnFGRKG6tFd5Woo6othCAaHg-iHjOyLIPgsDp8jWG"; e_fb_requestsequencenumber="AcLledLvJoUItD_SNsXrdW89Sll0eGPMhpWuG4kH1IRPmHZOStliM5z-0A"; e_upip="AcJUfUwV-ak-N-aGuTPjK_lKUAWqVs8bDAfDHOwtRNW8RJ3nqamV3KQDmZt2M9H3WLA_qae8SbyArtEv2MQTlQUyxNLYDXm9WQ"; e_fb_builduser="AcJXRBRDhWMn8ciSgPM983PUvlIzwH0qsdeWg-xabuKukK-vCiNEgup4UAPxivXvVIA"; e_fb_vipport="AcJRyfeAxUXBzEU1N7xWu0Dm9_ipxFpjZ5srrQ0mSdsH1rfBJEVD5k__1W8P"; e_clientaddr="AcJ_0Qt0JVHZkAwIlg-jcHmEZb8QyoA-T9zrfQu5hb5vycQmC6TyBLE_jmYtOF5_3-A-DB0cIj-XU1mZnA"; e_fb_vipaddr="AcL4JGXHdsqf5DUakmyoYZjD_bzrtM0o-AzJX4razCnvwScgaLTz5vQa2gg5S8QFWbYSzA"; e_fb_configversion="AcK8RpkcBN-wLwwJB_NDpqIt40i6gEegR7NcR482o3vXhyKL5s_c4eqGMkJ7XA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=156, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8242799239107504"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 15:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:56:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:56:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:58:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:58:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 15:59:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:15:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:18:40: Error on controller payload Input Treatment=> type not found 09/16/2024 16:23:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:24:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:25:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:26:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:28:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:57:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 16:58:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:09:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:11:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:12:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:20:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:22:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:23:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:24:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:26:07: Error on send one message facebookId => 8161898293901784 09/16/2024 17:26:07: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AYZFrgVq4G00RNciF-8Cueo" } } 09/16/2024 17:28:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:32:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:34:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:34:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:35:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:35:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:36:42: Error on send one message facebookId => 8161898293901784 09/16/2024 17:36:42: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "Al0axnIVkbWXzASbdJ57mSE" } } 09/16/2024 17:36:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8161898293901784"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57085921, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4l5dzGAE_xp2Vxix3eCEo6', 'x-fb-trace-id': 'EO8ySO9aKM7', 'x-fb-rev': '1016520233', 'x-fb-debug': 'R7I5UPnhH+t3bKYFrpWuNrz3WAindpHcj+7fJCQYpa+621Ttge5aOlI79Rgyh1oc4QChpCKiIs2niUOJPjSIMw==', 'x-fb-server-load': '63', date: 'Mon, 16 Sep 2024 17:39:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcI8o24LHId0Oyt8wnvmriKWV4vNHYbE44K3WOL1zvL2yhkjDhzeDp9ZiQ4fcPTEOeV5-HVspDvIm2wU66HW"; e_fb_binaryversion="AcLEDw3enS7NnbZQM2FiZfNgOFG1zI5ZOHyybJGb9K7qxpNVFllxPCnzPro7MxQ4aGcLVXDIl6PyjE0zn3IlhBJaAsFkdvTyNhU"; e_fb_httpversion="AcKSoN3JBdegKcSr-Zd9AqjX-Xw0br8Ud9unHSpTlpfaP7QwBlmeb0htMgmh"; e_fb_responsebytes="AcJ_xaQIaCWBwLqeM9rhwC9nCHwkmS1jffhFx3Z5KkJibf2wMt3yBCPhwzSN"; e_fb_requesttime="AcL5v7rqTNZHXBZsJ1NjIQfZmYrK7Tl7zBmC9-4NonoLh0xmDOq_WUy76aVTnINJQVTtKLQUbg"; e_fb_requesthandler="AcJWXu5PaIGq5XHxsin7CRMldzKtWTLgWjXn_CtqyJr_k5vChiFiMjDyaR7S3_40AQJT-LtGCkI"; e_fb_hostheader="AcL-0O8eAvDgE51zbwMXWEx4Q1lIza39iHP7iBSWTHoQ66h1GQ_lAntQhP-KBo-n60SoK77JOtxdIA5t"; e_fb_requestsequencenumber="AcIfCq7APeLZRWAoAInWq8Yl0PquJbF5Gj7H-epe03l-hr2L6KrPjWz8v0tO"; e_upip="AcJRbbQ_zVoPy7MeLt3zafiL7-RdLRjc6tApCyQ_fEJCyHVyGFju3B-nmGTLLU_oDwbs-zdiH2S6W6d6xf_MHYlB3mJyx_x-MgjiAQ"; e_fb_builduser="AcLfXJN0cfSn0UxZVQ96V8THVyRLcUsJIw0ofdUXJun9xPw0Ylp3-arjCrIieOhUM0s"; e_fb_vipport="AcLncdW4Jj0KQ6jtU9YJX0nq44ckjMedHb_ExRedA0RYVTRzqlWtaFmqeyc-"; e_clientaddr="AcL5QMNkfquivIOfuiuqxTC9EUF5Yr1Omnkpe_RoL_9G6sQ9ZXZHfVGypfITVHhLg-ajyE3w4zOk1b9-cqXf4j7un7OWJDHOzyOspxZSvkHGppvssQ"; e_fb_vipaddr="AcKFOHvB9TgITQoAzoFF7En0buNXqGzzaVCThYFA8GC8KOtdIY3Fer2KlayqGZkts1nw7otgcprtBphq30c7kpVl6s5I7bYY"; e_fb_configversion="AcK-KRST1v5nBd11BNiahg564ns0fmT_Hjm5hDwEflU8z7Pe3Vp8S9pkNUIz9w", http_request_error; e_proxy="AcK8jWMpe59Uien5jQUDD9-CjvGtZrlxN_J9ESVi0xQ0BIqabvojNrdzc0eEZCe_nmzM_MF9dBfPwow"; e_fb_binaryversion="AcKvjDUkRpYq4Y3P0ZxUnu0KjZAEro_cWXf9qkNPS8wlcJsph74NaXfO2Qv3Qqowl_w9mbd0VogCo341Lm3he343lqa3qZ7Ch8E"; e_fb_httpversion="AcKW9giqymvpAeRfB_FuJpCEamgsW8QuVf8kGWCr3WZ0MJitrPiJn7JxFI4g"; e_fb_responsebytes="AcLat68m1jMyO51KHODZ-GRw17MKKk4CvJs5Nx8dcSDYMPOauo7OYIYtDs80"; e_fb_requesttime="AcKP3-qPo0gs10gJnFvzs9Wz5ihNXVd6JPLFMDhT5bF0Ntszj5DqIj5-yFLGIq8HpKq9hSKJjw"; e_fb_requesthandler="AcKxUQS-p9jleC2vLLoTojdvKVHMFkZKjCsjZKb_y_yKUGh3v-jCmHIy-noBoh9d-NoAm4U2Ab0"; e_fb_hostheader="AcImLfSrkHHBb8thlj3gYOvjqs82fWasyMPKpatkHLsEo3ciRLOdHqYe3xZmcDUyVzK_DGY9MBwq2GFG"; e_fb_requestsequencenumber="AcLGVe1bJ3PLOnKZ-jjjL3kvESY8sCGWpP_uxwZJeInIVyddOHI75uqD-g"; e_upip="AcIWcd0wKgoAz-PPNxYK7eszMMdM8tMldx6Mph5crqkclVT55IKJSt-6NHlMLdfNT3Kqn3wNwSVt1gJyJLvm18qKBk2_ZU5i"; e_fb_builduser="AcIoQ7DXoCNG37ZC_CWTgdnFYmTwdkSpRIyjR1k1dpJLtP4WtUG4lIQo4cNO22IxsXs"; e_fb_vipport="AcJah6NMo6jbLBaQ1vDd-TuqEzZcLow9W554UfrRWkJSesrFlGPopRtsX8Ak"; e_clientaddr="AcJnXUEQHVIoTpk-E8q-JcAzlVjUHGjsODWeL4BgDzptHDCAsBD5b2Z_5fEIu_KJjj7atdEJJTqe4aIugQ"; e_fb_vipaddr="AcLfuR7sj-DcGRr-nud2YRN9J6KdKzJjCUPWLvQvm0tAVFmTvN0H1Ee4kiikSRNYBuiMcA"; e_fb_configversion="AcL714FI9pmUZSVJkksvM_te1m_t1_GEL2FFxzQSyXRSJk1vn5q75Skxral8Yw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=249, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8161898293901784"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 17:36:42: Error on send one message facebookId => 8161898293901784 09/16/2024 17:36:42: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AhN9IyxEE3X7az81hlIIhUy" } } 09/16/2024 17:36:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8161898293901784"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57086145, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 3, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Al9YUOo1BfeeHdlty6bXWC-', 'x-fb-trace-id': 'HKWcGeOanrU', 'x-fb-rev': '1016517816', 'x-fb-debug': 'QXqbtitZgt1IDNvZd+BpchO3gMfHirDj+pnaRywuIGYeKyLDKiG44N+H9Ow6216U9iUjJjpoJi18JFTHhvzm1g==', 'x-fb-server-load': '49', date: 'Mon, 16 Sep 2024 17:39:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKNa2L-iQH5YzUwa0wc1bEC2cUN3DgXXL47GSmXEgNMSZdR_5xvhio_c4l0kKSZM11W62jZpW-qEIj_gKNP"; e_fb_binaryversion="AcJbcdRIeuRrWX32rYKxVpbTPxZlBEDXDtqjhiLeuJPgGR1BiBb-zYGmbvxCUlWisrpMlsv0WTESzzJCj9rgeQNIhofjVMwFRGM"; e_fb_httpversion="AcIu11KeLZxByfXz0caSK0pGVtGQra8IG4NZAppqGZGIfZQB4pCh18VKPlEJ"; e_fb_responsebytes="AcLVqsQEKYlI5aLP2gJbm9KUAZg5I5WvBPjvlq2XOwBrMHY_Z-VctXsjGkXY"; e_fb_requesttime="AcJPCSHkFLH_ItsTzkKcVtG4oDjHjDoaL2A39WP5or1_evGYxIBvePdBV7jnGHF1BWBH174b6g"; e_fb_requesthandler="AcJCFySOi--ami8uctIQXP7Ky3p5rl81dwizqZCis9z_MT8Y6mWY0rIN7mzI-aI1wQwyCf8Y8-A"; e_fb_hostheader="AcLRjFOhM3lP8aPC7ICEXn1Uipl04iVWe6zDGTslnWV23wIR0auWVlth0IVfuO4kIeSfKJJbkxpr7Bdq"; e_fb_requestsequencenumber="AcJicSDc7TxhfKLlUOyZVMuDfD3jneiEMFnhi1LRgUah6g2bxt4va6sR-Mpp"; e_upip="AcLuY7mZgg_4nmK0-8PJqZrBuYH1AWaJAahpkyjpB4TS_QrGHRUVrqPhRqUnOozBldxtVT5iwzJ5yD0ku7O8_MEtocjyeIXtsZXXX_Q"; e_fb_builduser="AcK69FX5pGsuDJ3tgXySBd2b-o-66demDdx9n_ZshYa_XgBxEXiTF7ZccZH3HopHbwk"; e_fb_vipport="AcLBdFBZJ28HT6n72fKVdW3jjSoeEKX0q9LgRQpZFLLyxdtegYLVvTlIg4zT"; e_clientaddr="AcItJdWbshiV2m62famtq5lzru5BKPaxdzjpFJI-xDymATLkKz_3JZ01Gzzzkz38s_77dY-cHJyoqQS2yFU9Kdst9SmrazRRE_SbhrJg0F8PzowCaQ"; e_fb_vipaddr="AcJxWAtGG7egV3EpbB6CFP4n_X2ppA8j49kHzIweqsoXFacJ8Ya6367-vASgfTaUZ7b1UKJvkf7B4IM8NsSf3JbajH6dVYAO"; e_fb_configversion="AcLyaLP6xxjRJvL9zVrEUEucsB3hFBoMRmqHiFotBmDQ-EYTWarFP_l-eXEBhg", http_request_error; e_proxy="AcLDz1ShcDdHlhK1ZYZwNUJeOLHjzvmp8x-V0WCuOAIxWHIdtR0wFxg-Z376fP9zyHMQ5wFmdQIBJm0"; e_fb_binaryversion="AcJIBlG7pAEw9jRP6fPtuRLmsy86d6XTdMftBy-hxrCDi8OfyCehFMsPOwTo7BYx6HFJMVslWmzT1R6ydG8i27-KJXXjm5tegew"; e_fb_httpversion="AcKJTHTzD58aym6QyPxngQYrawcUb4PRxZAv1Ou1Ox2nyuKDbCCNIunfpV1x"; e_fb_responsebytes="AcJ0ZWzg2MI3qE3PB2OoSJYmvnaWdMWuzJT_XpXqEmAIasaBYfpTLIZ_jRTh"; e_fb_requesttime="AcK06upP4KlOl5juUDu-xop7aDBPgq9Sl8KpOKiHQqOPYRF_v5CwqPO0YUfaHa3NX0MzZNTPZw"; e_fb_requesthandler="AcLVBWWbJLouhxGr8Qr4lCTNOCpNy9nm4mWsR4AMGlzuvbbNFO34XzpAscPUZDjn09-eEiGi53A"; e_fb_hostheader="AcJ4i1hfatUz22ddaZ-PTRShB4663ehaayHnWvZGFpfHy90ExNQNNCellXYxfXpLygrbI1S0YI7NRi9g"; e_fb_requestsequencenumber="AcItozBX_GTA0HSprIk2xEsDlVlaJ8vPUfbKiPYEhOy9SQkz1aAZh4v6tA"; e_upip="AcI_E7Soehp1P1Tt5pYaJh8BpMhyWNX1e7bYSVO-Qp3zTfWc5Ly_Ns8LD5GOC9g3nQeQjoiJx8cRFXWp3rjaMb5CDEYl1mXD"; e_fb_builduser="AcInrFXelqvRZTS8KQ0iPcS0kEQ_6drRcZZW4kuJhNpsd-FOcpc7b0lJdJAjz5g7TE8"; e_fb_vipport="AcIjvHEK_PxbcGAz7yzA_IoNULI4MVpw41uRin7ud0OroKeUVtUDupsUrxsZ"; e_clientaddr="AcL1Mi9R8zqv3rrzi-zU6hv-XY3Dwb5-GQpqM2W7NirASEfb0QC5sgX6XI33GUtXdEUnnKVzYkzuDDV1OA"; e_fb_vipaddr="AcKpAZ9NZ_pf8NAOxSw6feJ8YcS_WI1X984n5RrsudihIugvZgxYMwC8uf7F6gKbwHjgPg"; e_fb_configversion="AcKDPDfSxrQJfoXg_qPsYM2t8AJl2NgQbwWStHTUHN_pgc9urqsWTUxwhP_kkw"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=228, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8161898293901784"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 17:37:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:41:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:52:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 17:54:23: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57092041, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 16 Sep 2024 17:56:40 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/16/2024 17:54:25: Error on send one message facebookId => 8503624406362182 09/16/2024 17:54:25: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/06cfab50-7455-11ef-8cea-d132efcc8e4e__1726509400709.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A8AHZcykdEZeGo05tWCOK1j" } } 09/16/2024 18:00:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:01:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:02:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:04:47: Error on send one message facebookId => 8503624406362182 09/16/2024 18:04:47: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/06cfab50-7455-11ef-8cea-d132efcc8e4e__1726509400709.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AE7ip5J5iXLgfNlH94kzEVM" } } 09/16/2024 18:16:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:17:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:18:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:19:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:20:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:34:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:34:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:34:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:35:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:35:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:35:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:36:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8161898293901784"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57105344, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVH8c1jo0npYqpJiGaB8iWp', 'x-fb-trace-id': 'EaUvz6kZc95', 'x-fb-rev': '1016520233', 'x-fb-debug': 'uTupUj/XtMLQlqM3hAZyI7zgQipA8nLtVLYXwgst0SiHDVoafLiJC4HKSiWtAdd4l96XwZ5WMNmJSdHQoWxCbw==', 'x-fb-server-load': '30', date: 'Mon, 16 Sep 2024 18:39:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKC2THqcRVbFdKe1AsO8VrPbVc0vzw74uAkPvBbl1j7fq0pTJuFUM953uEU-AwvWdptdouw_0PT-aIPIIva"; e_fb_binaryversion="AcIkH7tMeDbQuBNnj1CmjlGyHE8kPcc-f9DUUArqrlDU4ZlvSMguJTmf0Is0Nbgwqhzj60-nNv4RAzE-aOdqS4Noric3zhhWIC4"; e_fb_httpversion="AcJJ77zDh0alAJ1PRxUO6kRxOFvdRqKqW_t0nNZ3jZs5Ak-ja3s1QR1LGxyN"; e_fb_responsebytes="AcKDCsvqfMb7CdvzNhfyn5kFgB3eoXw9R-ZMuOcO7Lvd_XLfcQme8SFvmZol"; e_fb_requesttime="AcLTgkWk5ZUlV0-7k5I3zZtFhyrGyF0CQqhAKQmUErfnUYCYKY97qo8D8n2z2Q0jUEk5KHxnLQ"; e_fb_requesthandler="AcINIs3j8JadaDZJiRueWJOfhR_DlAzif9mAnxDCubfLSk3EnBzryIu1kUi0W0O8AdO8Eg--6Rc"; e_fb_hostheader="AcKgjzexp1hnawhOuieOtPCbXIxWeRNW2fQ51VNE7M-U5-VKpVQIOddv39d3Z8Sksvn3slVtaKsbQsDr"; e_fb_requestsequencenumber="AcKbzKTXybtGqho-XewSR_X_93GUTG3dfh7M3DtxHMoC3KIh98cKIuGPRR-n"; e_upip="AcIbdKUJfWYXwEOID96lBrLikCEOV7NP2jWU8Z-Fs7BJyDSb6HDPvPh1latiHKW5OPCB8RK952z1Yr-WaXdO2ahL4ob65YpXIttjwEM"; e_fb_builduser="AcKx265VQZZQ4hBZAWv7CMrkTjg1BRbJFQblroISqvyErQMeS-OfemPjAthcl8BVny4"; e_fb_vipport="AcKuFROMKn5q4SX7cHRyn1dZ_g56VuptEP5bF9H8uz8ULYT74xtdwh3Apkkx"; e_clientaddr="AcKtAD0cR0e11IOoY99KjpJ17eBkYw5DsC2mmChuyl1KfQULB18SO2mG_DGXCbgb1HMsuo_heUtVnj5b7Nez9PxFMrvdqtQrn_YfTk_MxGKHJFohFw"; e_fb_vipaddr="AcLZNxsEbR0UmbhJn3eWId-49WmRgGP072o9WAC9r91wqr4dWwZNQN9hCsV0NpfnuxSy-GQ1eHaMq8Ln2O2jREanNq7vnsL2"; e_fb_configversion="AcKfyjGHYqG4-VDFdI5ZjMfxT_JRnMkCIaAxNdws11Za_oxRhhw8p3VclgBd_A", http_request_error; e_proxy="AcKIPENSJoHfT2haHuyojhq98maCNE8Vnu9Yop86ihvP9HV5Lf1bwT0tvb3DcMMBuBs-ssBH-ypNfB8"; e_fb_binaryversion="AcKTlaM71wbQljFvSwJQLi6B3NKBz4LuOIC_PW8A5w8xdtaE4_XV9uoHXHgAUhC2Id4mbSaK38EBziINKirbUejKysIdoLl1WKI"; e_fb_httpversion="AcIp30V9AP1AwAYMYgpXYhdEbm5rA5U5xQ-87bQno0L016c3fHFdo-Ce0TU_"; e_fb_responsebytes="AcJiPooMRLEqQQyCNE-yvt-eN3IPKgGpGb8RU_uNJvJn3CtLSquqfqvbm7UP"; e_fb_requesttime="AcJvpcW1-LZkcck-nM_qcjHazzvrHpG--YFFSv7Dy7-rxyekeJ8D3y-0bUqL7CeEjMW3bPqiew"; e_fb_requesthandler="AcJ6TtS9fSK87mwCe7NRnMMOwxZ8oc7Zx-VkSQV6gtNlgvyZFx8dIV2YzhHx17kXSiqxquVXhDw"; e_fb_hostheader="AcJqpZDtfJagixu3Icy5odS6jG7tL1MiDayxJv0iPWsNQI6NZ3z_6rvphZ72DCcZ8oXAPBP0HkA5cxc4"; e_fb_requestsequencenumber="AcKEIFbfU6GXA2IvnQUpVXgOH2YH25WR7lHn6cHHKlVVZR-QGre90PFPdg"; e_upip="AcIKeWq1QuJERa6_2gJ0t1ivJhjtKSjBFh_kR3NO4rXRk6lJ2XteXODQX4k8NiYC8IRfp1FxnVF2Tml5cf83MPUkcwlXluFL"; e_fb_builduser="AcJJCTTUBjbDUhK5kEyGaiddkrzNDeYhoO-QgYHqLXx70yQfIwNqsB4abhLxVau49to"; e_fb_vipport="AcL8_5DGEZofLournPIuBkA29P9k67EH741HiWOhjZkNFSVupAvQOBWh4p5D"; e_clientaddr="AcLwi_9XROc-6jPgO_gMX81LRRtcP2YzCKneOoipW_0KiJcQtTYp0vc5eS45DCwuc8z3zF-z6GsUr3OU8w"; e_fb_vipaddr="AcL7SJVXY74xVn4xJO8jvy4eqTVE1ZTIqw-l9P2MzoBmyJ1niZNKm4hX_ePJ3uooJjHBqw"; e_fb_configversion="AcJT8kSpnEQyOivh6FHceInAEe6TQCCXps1xMRfO5qWxjHOYXT8Kzvxw2C4-rg"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=227, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8161898293901784"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 18:36:44: Error on send one message facebookId => 8161898293901784 09/16/2024 18:36:44: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AnJYXhHHdL8P4gn6tLGZIom" } } 09/16/2024 18:36:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8161898293901784"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57105523, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AJJw0HAnXjXVtOL1onzD7DC', 'x-fb-trace-id': 'HFn+45dzGGn', 'x-fb-rev': '1016520233', 'x-fb-debug': 'UR54XPFrmagfDpbGymRJ1klsB9QMSxJ+o+7GaFwqIijeRz8gGlpG9TYWI0b1/MmUMLFl7sZCRx2RPMnKK+7czA==', 'x-fb-server-load': '36', date: 'Mon, 16 Sep 2024 18:39:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLWvkhwEAwPn8RWUjJBbIUDiTqGLndai6D7imMZoHDi6vE8_1WCtcQ4Aexc-S3QC5jgc_0bB8_XvTJfUjEi"; e_fb_binaryversion="AcKV8Yf7yAh1jLTHjaNt84dQsWcnmZnP1C_BcAB4y0o2zhAfdPtASHjZKt90rwsB9RtLG0Be9q4oqtjZPA_5JWz08WvIXYPbiAE"; e_fb_httpversion="AcL7gvKv0Q_kTRaaIFk-knEeoBCu1c7Vgz3oqNo8s65mX7BSJiQ2Nm1x0WN9"; e_fb_responsebytes="AcK5yQYfjvRt0dHopRXl9WD7_cSV5TlonLsOKg3_QsvhYvcnm5fJu_MGMPfp"; e_fb_requesttime="AcKq59Du_Mb5yfjuyxrRKIIDejo_9E3P3DgcmC0DXS2n8HJPfEm19T1D6dxF7K_vaGaZ0rm_uA"; e_fb_requesthandler="AcJJotvKkZ0lJFaEBIgiQ6ruAsY69vvsQ_e2sy5km8PGMINrGpuQvzNOgbVwtgRFg3tFxQd1CTE"; e_fb_hostheader="AcJ6ksLCB0LN5hre5GCb1CSWzlC9Tn63aCNER5l-PkhyxLRqlhEtvfP86_a9k-x4AyU3WspHRDpeYsQD"; e_fb_requestsequencenumber="AcLqf0XCjAI4PeowaBlqhnEz8QLm-1HOfy4nOkTxKmfLcwnanZYLeFvNmHBT"; e_upip="AcIpUAcVzlfr3V7GltQvDk649NPGEQDJ4eIsE1yhh6k36KPGpK6hcfPUyCYHs4_8LFs75LciMJSN8VJtJ3CRR9JNU4QQgJh63wUM2x4"; e_fb_builduser="AcJsQmhyHOxMpVAzPoTkUP0F6npf5LB_6flYphXQL6QIuMlc4xdP3lfeQTbzr3XO9-c"; e_fb_vipport="AcLG7x3SraAO6Wm8HIomKjma4PkUKxldw0uvmGfP5UjreKKHzOmBVIjKGcUG"; e_clientaddr="AcK4wLiIC3sAlJ_KE591YKy3n4VtwN73qlH1oedreCa10zUbu3gzCCRfFmOkIhropjXB2ddsOx5YViVHgj5opOMe-2NTyN_F6r96FKSMd02JkT200w"; e_fb_vipaddr="AcJS_ORWoF9K7iP968XkJVomh8brOH2OHKRIrerwkYppiPzf5n5aHzcoO264WpLGZoNlN2C8l-VSNT0QCIm39ZO6UO0h_xcJ"; e_fb_configversion="AcJrOnrEE_OkiOre7yjNsS-7H2w4i8eXEpeeXe6Q6d68SwwZ9bVq_DszOcqVWg", http_request_error; e_proxy="AcK9nmRuoXWVP8h6GWRLUzCRrLxxSoycYkrei1JX-HoHLS_jPKOn7orHb6s0lbGvAM2_QyKTTKxPUQw"; e_fb_binaryversion="AcK1AJAv5kq7jIo7y-IBFLDSMDLLhfEMuTLl0hXrxTLqxIn5-Q5zm8SQjQW_as3p0L5b3lFFx7k4Qr_QjxNynA8g6uMKtGuMSRs"; e_fb_httpversion="AcLxXOiuTStKsryQSlBUqsDGlhRumevjNDvOqtdLhoRHtiy0IP_yd3EikXTj"; e_fb_responsebytes="AcJCLa7VQz5uhqj9GxQkq9vDJMUrOGjZ9yK5W-BP5EjaEvQQ5BjHZotkv9qp"; e_fb_requesttime="AcKXeZ0j7W75NBhh8FyN7jWYWBMoDujHl4dESQLYsu2d-prN2JwA_eP5-b1-yC9l77Wuz1DrWA"; e_fb_requesthandler="AcLhmD7ECy69cKIr2rJe3cQhEMwhJA5bPTQT9qXlt8ahZmUjTdKl1nxVcJc_Hqu_euVxIa0yZWQ"; e_fb_hostheader="AcJGrHMertyMtmhC_56ksiWzG8wu1FLwjE890ozGk6wPY2tjPtGgRDA6QxkSutz1u9t7-S6UC5dANq10"; e_fb_requestsequencenumber="AcJg8gPMrWA5szcP0UsazzpY_f5n_JVlwBVwAO5hIckJ5bHPw4uOnwigOA"; e_upip="AcIHxeOFOl8VZxKM1rPo4zcaOxdWHd45TNoZuFo39t5VaAvJW5q6KqVUS3uzHUMKV3ssxq9lq48osRF9eux6UW9uJ7qc3gKC"; e_fb_builduser="AcL3sSnQG8C93PG9zlawuCpQ18YTltScMis1OJKhHQEFpTa_gHFYmYyhNkq7vr2reKY"; e_fb_vipport="AcJEgeBK-RZEJVOgFGzjJfgki8qJoaU6xoQoN5fhFeQ5MaxNGTqIx2epgMVs"; e_clientaddr="AcKhWR1VyxkX-aw6gLYMOLfJQ2m42iGFt5uuteVgaPh2TUiHfeaX8KiKuTVNLITVGuaN9s0usjoBhqusig"; e_fb_vipaddr="AcLBR1ZyFI92y00guIQdHPP7xVDy8aETkBo8tITpWukSabej3UvYldNsQejl5C28SDGtaw"; e_fb_configversion="AcJi6c7LPrMR-s15dEV22bYLelAUBjQwI6dGRr2SX_K7gvCRUPgk_HrGe4Uk6A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=218, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8161898293901784"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 18:37:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:41:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 18:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:00:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:01:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:02:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:16:45: Request bot not found: { id: '863113247096430' } 09/16/2024 19:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:34:11: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 09/16/2024 19:34:12: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26815106744801297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57121796, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ABoNk5ihnRD4JMJOS26JZ93', 'x-fb-trace-id': 'FppT/z1HQSJ', 'x-fb-rev': '1016520233', 'x-fb-debug': 'cR7N1HIxwGE7EFcV3ZeWntmlf2Tvi2s2ATi/Crs7Qu5uKzKFt/SP5SbMBuVATu+g3HgqqwMVogUJxLNggB2++w==', 'x-fb-server-load': '48', date: 'Mon, 16 Sep 2024 19:36:29 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLCpRUD4A1sFvxslAhjsPJ5Ka63vPRtFDBFVrtIQamwZTsbeu4elAjJJSdpl5F2hTi2y3CpjZBK2YJt_UZD"; e_fb_binaryversion="AcLyGlDT06oqkH6GD3yw6STDqgeiRwvOOOJpTbEkTll5UPyjyZ9TfZ1WtBxTA05RJJt_SePWs8lmO8ble7F736d6b7BjB9sttc8"; e_fb_httpversion="AcLp3sRurmBJzqUuAsxsvKKECaAiNf7ur_Yp2KIboJybH_MYHva9GGCnqR_W"; e_fb_responsebytes="AcKODrhUmspf6hWY67t5cvEmtpOr_d9nBmko43kXfzWrBhOcHLzgL7t6G1vZ"; e_fb_requesttime="AcLrsWG7tRPBxwJy8IWiStffW0-71Z249tmqxKyuL3f_zY3X5KsWBQXh254kJEclA7w5MUXkQA"; e_fb_requesthandler="AcKZ8ZfA5mL-pfoR0BNQ4NETZYNcjntGnFxBA8yl-Z-qGb_o45WWz7EN9XhQ9eb5bO3pK-lHuhE"; e_fb_hostheader="AcKzIddFm_VPik8mt7VLKWW7AwxZ-4O31l-ut4T2sb5VZUxoUsMVe_5jn5C7lJfc_plXy9phqnYB9um4"; e_fb_requestsequencenumber="AcJ56iBdeAS52j6rznulzt5LMKJqGqfTpJeJKxa-hfZtbMuw3t2fxhFqirEQ"; e_upip="AcIDyWYOySbFsVgL4wFSPYEY1O9ucX3FhWOfXrQId8h5E_V3byn-0Gq6Xpcfcs7t7EnhKLFrgZuV9IQoUh53KE-NnANho70rHD48G_c"; e_fb_builduser="AcIdjU7F3I5Eh_HnBC-kWyT-3nGCYSm4fkbab0ACeE3JgP9AyDBpNjvM6Na6cPJmvIE"; e_fb_vipport="AcJvwmRsWv0JIy8sUHNqPg9M_9XxNUSc_E4ma5cQBVgbWINCkk05OkMy0TN7"; e_clientaddr="AcLkkQMBhm6KmZhgM_f56lD0Fk3NU_WPkh2Lvr2Y7vPQHDyX24MSadZCCtxjv3gfDgs3VJAsJJKwZAYaT0ZRNifuWCPCg2ocUxEH0Fbt1SKO5Yqtng"; e_fb_vipaddr="AcIdS9Gdax3Be3YA-XwIG-fnorP9NXrWKO48jZJb0CuLfvqNDgWL4j0U0mqJEqhA1xUQFK5aK2O39SQ_qIUt6qJF2gfSt6-E"; e_fb_configversion="AcIPrfSDAmaKNAfH-RFq5bupGs5OIdeLPRT6DRmt6kXrbOkgGuKU63CdSi2BjQ", http_request_error; e_proxy="AcKrv4RJGHVzntZ49CE0Quq0-1qDcqJ23EWcfiq8cwnMrT1RbIworUERDEnc1xi9U-3n3GMmnw1Urqk"; e_fb_binaryversion="AcL8_YiOqKlh2Z1rxQHHXfE4i4Yx9YMZ6OaB6Bnamy0FGoJqyCWyQJg5XGyvTajgPYPsO636JHsoPg41PSYcnSCySqvorxJ2qmU"; e_fb_httpversion="AcL4n4kQEvznAf0sAMZEt9eRx4GnunqBa4y0-8uuh4yURV4OiiBnbVD4yHGf"; e_fb_responsebytes="AcLnKO5KLNp7ek6AVIX3IinN4AaWlJ9M1Lkrh2henrJLBbvxdS071thM5bbm"; e_fb_requesttime="AcJxcz6u14SV2ubqbLDcUAMzzfxk-H8HTWU7f0NgNpOKxNvNsn5GBb384G9Gbp4ZLv97EtpREg"; e_fb_requesthandler="AcKxdWubAXhu2OKVZj8z6OJYZwmT8JluB0Fmr4ImhNwYnIkBVekVPnIX7cuDBZloGWlMkgoj9jI"; e_fb_hostheader="AcJYRmF3CzON4jPCXRsdp7s9QSRxePmSeGRVr3RDE70dMCN8oTygLJnSR_W3UItr5vegpWINO1WKVpD0"; e_fb_requestsequencenumber="AcI5PfzHqOMAVfFs6YNreL--AiYbsuk296zbIv_SaQM_ILQGFDwuLotQ6Q"; e_upip="AcK9xjx64hv1G9ze5L-SAohLcNN6KgSLUY_CBO4UswBhpD9vPaB8adXE300jfu4rUPUBQbPBGlpAj6nxm-stD6JP8Uk5FReS"; e_fb_builduser="AcL1LIamH0MpwGqvnTpodoTXcpXKWXJvJVQ_bJn1ccngBp_Qy45ujJMypdbaA0ng8uo"; e_fb_vipport="AcKDi_CWh_OZGlFd7bZTx7-mm35K3N-lkaBHbkTQ0jPExgBNAjXS3fCmuCiZ"; e_clientaddr="AcK149C_zMzet3lqrRk9RQ6qt2kau5IeWaSNX1Dhr2JbV8rJEsB4oL8A_BnNjipiFPtrVs7_Kq4G44cC3A"; e_fb_vipaddr="AcJDdmvCiSePe-xaJVcchVm949IiBgVQnimqSR5Kq_HIk_w8iE1jlSxxyiIUIx_cM0LaYw"; e_fb_configversion="AcKJqmEMp7ztq60yXSNMrGcMYdvkfVBKOkVHDPV9MGwggDrIG6mLI7CCx3k5jA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=457, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26815106744801297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 19:34:13: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26815106744801297"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57122036, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A6rk2tYaVWeFjaKXScTcrON', 'x-fb-trace-id': 'CMbnWbb01A6', 'x-fb-rev': '1016525504', 'x-fb-debug': 'eN4e3C2ptXwwZ1hqB987RZ6txhY2Bj/X3YBUJruow4S5Y3UmRoRH22+o9wWGwvSjNiD4OtWEgjEtNGzGuPLT6Q==', 'x-fb-server-load': '48', date: 'Mon, 16 Sep 2024 19:36:30 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLI4cpyMmPSj0B4mWhHk4TXGQrQpT70LCq1FIlq8OsQdB_aJ3uYsaItVDEtFUDXQr9fopKnFnX-eeSWVd_3"; e_fb_binaryversion="AcKIC-1d1GSrvQkQPKvg94dKoZ4lG7j41xpUY7qubihRJJAugLy6PKxo-1CN7B3RrXNbPjT6RM88Masvpr0sJ_4KX8fVODoEjqI"; e_fb_httpversion="AcKAOFhSipQENTF_GxX2Mvyd1JZDTmqzsJ2tvMwM3ktvNH3H47hzvtQFjHwB"; e_fb_responsebytes="AcIRM94xLfbrviyNwFrNxE2N_8B8IKlzChAgidhk2klRhBJqJpaSlTuv5P3Y"; e_fb_requesttime="AcJqKFV-_zrGzS19jdHTIdxUfl10PfsCIZ5eGbLVwAiKcHOVia7gHfWZN2bpq5eYB0uOvHjUMA"; e_fb_requesthandler="AcJ-g5ZtGsI766qpWwf_8IpsSXILDt8rzuoGJY944nU09cRjQSjtVzHZpLtinz6__qvO83L4H0g"; e_fb_hostheader="AcLhz6tCGxebCrF-hXT4c12cqk1e1c2y_tG-9pHMsuNh4lqKLaKDeyeh5veKXwkYpoLTuDdZW2z9ZqHS"; e_fb_requestsequencenumber="AcL8NDvBkQ8joU5ryq26sPwnA3UzGsrUIPWMqibDyg2BpBltKPn4Md0XF61K7g"; e_upip="AcIydOpYpgVuhnj9UNcdEkKO-HkjVVp7cqXZxh5zusjrJq6U4t5wsga8ZI7pL1r0HFR1UDBjflA4ldO08f6AQ8Uye3kB1CB3r8xgTgs"; e_fb_builduser="AcLVAGB9Nom6q9NyNIDSXx5r1NMNsgy8II4flyMg7uyhLBOwrkfWBhQB1s-mBUXlcDc"; e_fb_vipport="AcLZEn72zYlIlIMMLd3xFWi3ewoVC_qx1L757uqoK8oVzUO_ZK8f4LCrYAtF"; e_clientaddr="AcI90gY6nzUaBhyCO49DAvOzPjGY1dFskDNCmZNLMQtRX4ubusVZj_WYls7Aq-5Y3PWUv46yehkOgZUDOAy3G5mHAqabc9vIO4DQSxPyVeOwFc4DDw"; e_fb_vipaddr="AcItthSzxAlLJ04foCX_9nMVOj-8SybMm14CaXrgKaqYSu3IzFdIcURNKY-jwvNj34lmDMMSIy3e848Xs40XJ7HS-sv_Lxts"; e_fb_configversion="AcIZk1W1HevkcxS0oiUBOETx0x9CMx63nGSefk2QRUo6avSVHdkIjxZ-MoO_ZQ", http_request_error; e_proxy="AcIb3xIYyLBe2r0Ux8huzGbs3FebmC962qBChXLcl_e-nVwvGJ4nTkZGu6-dMPTjRQMR3wzXflONrpc"; e_fb_binaryversion="AcJLUMWC9baF8hSUDVWffrGrTWlvY9zlz-Vj6qrTGQmYbyE1SPNi82SRvgn4SRJ4xDcU9_i4xeShqwoKuHkatziNy_yb3NfPd38"; e_fb_httpversion="AcI6-LaI1WgBEs8sUDQh03fYPCmNlEkJWHw0Wvt30w--n95g2fMFP4MNC9dY"; e_fb_responsebytes="AcK_S3NY7XS32GtfPU-W_CU4RLqxRON1KdcMzi6ujGLIvzOuvBfi3ZerH3UD"; e_fb_requesttime="AcIjNrpYlGOjARYUw11xSWUvt2sG3rLkFQAOqGcl_48sQitYadMqzLaEMN7M1SN3hZiSn9MHug"; e_fb_requesthandler="AcItNE82AKCWlmnxnolu9FVoAxok4_JyxXxXpN8ad3YpeyaeASj2v4djqnt0pGGMz-yRls-vzlQ"; e_fb_hostheader="AcJvWBqXu1yOli5V2sk80-ZWXySytm_U49A_TbO8Gc5PV2zp2W94a6lO6Ld9iZaCebLIBnSzPo4ool9w"; e_fb_requestsequencenumber="AcI1D6xAkMMdqJCAvfcMLEHltk_qv5_og_KEg-JP9i3aaRSe99qxff-dEg"; e_upip="AcKkCAaHEZp-gZFhbRWAoOsys1E060gVnwSWJPSA1ogDTxA3zPqyusvoMZKPjJo5384dtwS-guKHingIhPQuEN9hwtsJJuvI"; e_fb_builduser="AcLWCZHuJCLCxFqNvpN_UIOmFJiuB3Ws900jqOCKdN90DgnB8N2_DNdLEIgYnKRFU5A"; e_fb_vipport="AcIchrH0j0hcisPcwhhIK0IKfqjlMHeNfdPgWC-Z69TMTbCYAC_sGu4duR2j"; e_clientaddr="AcL9PgRzov6F46jQufkTQxSDuWW_W9HdHzRMaVOdYF_S2ujx8hUSRIz6bzMckBXAVDk_MRSJMjegPv1xCg"; e_fb_vipaddr="AcKLwgnDNYLokn6msb_lDRsFHOKsuPwKiH_uX8OVsNSmU1ftGLAKDac2vaHsL4PXgMSarA"; e_fb_configversion="AcIhW3iISwjK5K1Cts1czth9ziqkNhg9GxBXALRPIrXvokw5QhFWpVlwTSwNO7Teb6KN_G-_m_TOPsS18pnc-mmxpQxajsPJD_A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=637, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26815106744801297"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 19:34:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:35:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:36:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"9130589366955727"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57122675, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AAqPnqkkGvf3xrGLtc87oI6', 'x-fb-trace-id': 'HTpbhbhTCeq', 'x-fb-rev': '1016525504', 'x-fb-debug': 'P4Lkx0xcsV5vZEvTaFe/+mUflY+Q7YRCt2Pq2KZNNuAjGVzqKC+uxM9YBWsHkRKsky/R6KSGdMh/J7Xsw7UmAQ==', 'x-fb-server-load': '49', date: 'Mon, 16 Sep 2024 19:39:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIN1eksibt32278Y7inZ3ELb8gXcqusKyS_GMst7GdqaJrjPYPhCJdrs7kHxyZRIWoIQ9iuEdX42GlH7NDh"; e_fb_binaryversion="AcKVy3MJNRdnAGSOjkoBah2Y7NALxJs1CTuCpkmRKQZNox9tEMTy-Po-px45ZxxlE5g9VQQZpOnTguUJUrMIgbuWCGEh6e_UIXo"; e_fb_httpversion="AcKrRYeev2yVMfnCqfHCUSMmKyJ2zZK_NB6qyRYLXCI-g5uUjoBY-fhVz3CV"; e_fb_responsebytes="AcLmVwXeYyuoQXqV_4-LU7ca05FYblh9nJcuCT9GPAb4sOKbrcEzTMpRZ7Xv"; e_fb_requesttime="AcK8Z--1-uvJGjRPlFSrOq4zzVw_h88Uwdgmsjh_8q984u8ZGIbpyW6zRmdXZ85tM7mdpsd9cA"; e_fb_requesthandler="AcK-5bXhL9iOMpxM6AvpQVIX4HeShXiczmkF4wi7yZNbdTtzvSzcjrW2jrFt4lHLlBuwoXJMaKw"; e_fb_hostheader="AcJkOE3XSlkO4OtyFEY95_qavQMy9hsBGF0jMtwTO9CwHoMntAUX10D2ABDxovp3BsGZagx-tXP4cWzH"; e_fb_requestsequencenumber="AcLZakuC_OZlPs9XLz9zTARPifNVaXWjycygy5BHDYfC0xmZRa7xvPOWcF-8"; e_upip="AcI97pf6m4kU0V9_9G_CnBeOzDLJszaz_5fIyYMNoP95FqQTDN-U9ad9qz1zqk54mRZDFJeRbDybfMGa7xC0VfUBeD8WMqtGI-hfQvc"; e_fb_builduser="AcLLYrpUnKtaArTbkG3z1fVyGAx0rbC2LqPT3x3Sj-Ziixoz9y5XdFUZvS8DEjUB_zU"; e_fb_vipport="AcKoegnSrFEedCmXrQbJpPsedaTn051A2tM75nnR4P4R1XMJ17i725Dz0KgW"; e_clientaddr="AcKQBgmjEloSn952d5DUmKz9kPSs4uw8Ekln3HFTOQUf9M6hzvHz9HEvrzaQrlvsgNObTC47EejR2QIh0PyCTvACGXnWCbkBS5BeKhYuWWHKCsVisQ"; e_fb_vipaddr="AcK4qFjK0MQdUL9lEARYtYYcw0paBXRq6S3YnMd6RohwZTVYLtShtmioWxnBLDO59amGV42DRSfble2zm7HWFyTcZekUc1hx"; e_fb_configversion="AcKmcCvJJ8HbiSIEo-4gbuDKyJHKMXUKX5ZnV4BvUycZM_G9skIZYaIGv3xABA", http_request_error; e_proxy="AcLhafiUI0ZdrePQsQaGamPI9wkYeWflp8SCaA-AINKK8pum8cuBxzCq_51GRiJQGvQBli9gk_8aSug"; e_fb_binaryversion="AcKxQo-5ADBsK08AoWTrHB_84toGuVttEiw5qJh2Sro0xQGS7HyyZXzcdzUfr8f5L6-99jfdeABInbyxMFL3tUxcGKdiQR-w1og"; e_fb_httpversion="AcLGuvDolm-QSFGk5r3I-99NDkQKwwKiXv3NXCnSCFHmZceXzKDtW8XPaCYO"; e_fb_responsebytes="AcIQgQwdZuoRagXQLXmL3hjLJ_Ukparn5T4vkxNUq70vLWNLCinhVuKeBQAR"; e_fb_requesttime="AcJRSpHwYW7Nh7RVCDzp6QMokBu7V7lzfpe1fQmIDA5TdU4cmqcHDSn-F_UbU3CXL40kE_K-xw"; e_fb_requesthandler="AcLd9N0tKwmpZc238cFwrnYVkZ1NRxgymlmwNHHcUh0M6Wm0j5EJsiYYBsNStUcGKdLjmm4DPm8"; e_fb_hostheader="AcKhgBpcjizS4EFrfUNJ7XB86Dd_2vwxRL67zoqlKUnm2XYyKt4EPwzEWYWKTHsPuF6X5h_mozQo0eNz"; e_fb_requestsequencenumber="AcJsILopyJ8gm1djss18gB9r6G-2BhwMhgK3IKkbKuFsKEVGx5PXycg_qA"; e_upip="AcJBuFXtIGrCuBBUOCqkA9cwgaB56U1JLQpYPWBYr3wf2QQF4593gfWdUf9fzWe_zle0KO80geZLrIA_wZMZRu3rSmDk6e-r"; e_fb_builduser="AcI5uqiksBMoYAw3aEIiaoSXNAbDGP-3QfDp6rXAJ1ljKpRUfXafAuiizJLNJ3r2d1I"; e_fb_vipport="AcLEEw2OaOxyri2OTYnIpwGdAlgx0loHSQv2rsguGNIUfg3vsom4w6WI4sK6"; e_clientaddr="AcK6VgwGT6hWAQJWyrv0nLiWloP32a3eE8gOZb0TZH3fpEoukW9Ykkc1jXcRuOwfgbDZEGbeKktA1ikwdg"; e_fb_vipaddr="AcKHQ0hk-RJ1MyTbA9RcIlhvF2bwXJFjDivcL7bvLYjDzYSZXxKaww8YuxZpiHaWStxJfA"; e_fb_configversion="AcJtSGfJuck_CTogQuWKBdMHrPoC71p4kQPn2AfVVfOtNAh3lxinLaVnb9AuoA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=275, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"9130589366955727"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 19:36:44: Error on send one message facebookId => 9130589366955727 09/16/2024 19:36:44: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AkqRDzXumHsIPmmk--HNzyH" } } 09/16/2024 19:36:45: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"9130589366955727"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57122874, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 46, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":2,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AxI2Cyxq3my4A3npnOtnido', 'x-fb-trace-id': 'D2xxYsyCe4X', 'x-fb-rev': '1016525504', 'x-fb-debug': 'nqCFxol3jQ8seky/tON5rOv6jewoNRqbIiel/jBemgh1/2CnSkky+SWu/GoilJTcHX+zWIQ1xA9h+dbF+SxBxw==', 'x-fb-server-load': '47', date: 'Mon, 16 Sep 2024 19:39:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKEIPD_c9egY5GVGIwLYyNlBn8Xzgd2C9g2nLhXlup8bVQ8UKE-jPZgFquNDKHt5IPYv8Z9BD0Yy1pYX0K2"; e_fb_binaryversion="AcIP_0jSBJyyyw2EP0KuBxDTafxEIAOv_aVVGqd7uJe-E40Vt5x3wDvKAKM2cMe9ARNmF_zNUY4t_b25AHsowucHHBYOLlTrmrg"; e_fb_httpversion="AcKHxRq1S4lrAwkqSjlh8dP9Js4UQKT4q_5Um9Db-xm1Aybh1PSuzXYUZhfz"; e_fb_responsebytes="AcI1GLKvgWi5eloQH3Cu1fmkWyTmSz8_Oz5-_zaA4IAvcbfFKiMpaHe79Erx"; e_fb_requesttime="AcIorFn1aHcNnaEflcMu-VxPPctUrMwQJEQhmEq7rjvDQFNP34kOoZWiSsLW9xWNsW2IbsZCsA"; e_fb_requesthandler="AcIe0uN3_AVcAqxV_4DcBsuq5d2UUZtHW_MUqdwIn4je_GjQBEgOGOLawo7sZNpfoHTmnTHUHF0"; e_fb_hostheader="AcIR96mp4AdFZO1iDVOZb7OhkwL1gAOtYcUmC4eHxiom2YltIuj37bhNrCFtOHifrRh_OAjd5BBEeI6c"; e_fb_requestsequencenumber="AcKX9FzaVNopnhrRxOZfJioASZOYyczdNXkdS1jQ0zM1o_ati8NeM-fXW4_j"; e_upip="AcI-j4BF7KvWuqdON93RR3xjZ1uZre0AQexgi6jQspLlv0h7bjSjkfRA4u-dvRco7iuPZGuAKC4E8Br-8AE66KdRLqSbI-BtDPDdyLk"; e_fb_builduser="AcJw0xRfUwXC_EBt3b4yyvH3_nqWH7KAVAAn20oYd3URH8kj5bB_DUr0BRvtMTmStmk"; e_fb_vipport="AcIYcZQpzvForVSrPrUY5QFWoT-ykVfLRH2JbfY_eZ8t9daREhnjcXxkyRVS"; e_clientaddr="AcIJK2sPrnt0nv5anKczyrNOuCgoI1vMbZS7-TfwTLb8NHJIhlSFLtkNB4vAg5pzFgAf6Y-SinWPlQNur1VwwmjCdnZLMebblzOHueptFezJfIGHXw"; e_fb_vipaddr="AcIRSpnHVCN8Bf94h6D5exF4j-Ajrm_SwddNBhRFjRV8cvQj0Dxb6x3UeZQMBHulopkS19WXDFMWgmFB0VkrmxQGeKs94LwI"; e_fb_configversion="AcKnVvegrtQSGDAGDCBYorn7QOCdD7krGMsdHGwi2I9wD9KHknI8R6ghEAGrpA", http_request_error; e_proxy="AcLYslgAe7kqQMuwmO7NSh2XRz9TP_bZUwYnNa2nhn5Tp89hvy2wvW5pF19mq8zfiYpLdY3HJ76ToZA"; e_fb_binaryversion="AcK7ai2XSfOobUzP2o68ckH00XFZ3roIU_jP5He2qYNOTXUXGOdLPFjUVu9muLmEnvWf-eHt2qVuTauaNt4EA4baqJ5EtgBiWg8"; e_fb_httpversion="AcLs-tF1JXAih5Zxlk9-ZlINJT3RU5fy8e0L-HGUvRZl2jJy-Vpne723e4qO"; e_fb_responsebytes="AcKYlm1FHw8kapj4feoaGMWLkqhY1az6YxZprdb-JKvTkbJiOPIlBuR3LVwt"; e_fb_requesttime="AcIadiXb7QUF0qj-9qfp66KaDLTfiC5RFW0RfKnDY0PeECp0TttuAL3KhzlXn1QE5BXxaN_UDQ"; e_fb_requesthandler="AcJN4tAg72dCA5ehLSk5LyAetolQmc2XMn-1hgumI2zpHYHqJ6DHMzkG8xIIL95YVFWndvzLioo"; e_fb_hostheader="AcKlLNffRy1fodC_aDmLhOh0HWzki0KikFkZq7HG2ajhjVUSGSVk8JBQkOrIJguCjx-XG4HSA5t9kFli"; e_fb_requestsequencenumber="AcLChiwZULunVPWMuDT5angM9xn3IUmZq8nLhmzeFa8_O1O5eUpRZoPIwg"; e_upip="AcIeXJilPD0X43S8Ip9nKzUPIBbwjjmeLJZRqDS5FwQvbXyHcnO4VjxCmzOULGtfUOVBD_TXl21vi74-ssyjUpYxRkz1hHVU"; e_fb_builduser="AcI2xWEIgHMqWiC01scZwCAwAfsdlxyzXCpAKfVl9_5utCk0o5H6zwxktoQ-P74YbqM"; e_fb_vipport="AcJieZMnGjNgy8rIt94gpp9lFzc6uP_P3SVOubd0HIgqlEsSpTapuoHyMSGp"; e_clientaddr="AcIVdlhoZJhsnX3PBINXeTNc0GP_0bY-eYGmimx8QeYAuHwnFWwFzKEpWQufzeAi-grRRTpPJ0TPVw5j8Q"; e_fb_vipaddr="AcLECZjzuRVWO4UT3M1j3-j7UaWK7EmrPNS-OmZlhWjdw1E17xcVTui1ih5IFEA10a6plg"; e_fb_configversion="AcI6IdEeBvL4-87Cto6N0Dl2phJucR_erb0cU_pw_4vqfGVUUj8Omv833L58Lw"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=419, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"9130589366955727"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 19:40:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:41:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:42:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:43:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:44:42: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 69 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26815106744801297"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57124820, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 69, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Agi-ztO4PFkSRPqIiA8ZyJi', 'x-fb-trace-id': 'FCCcuBNhsDI', 'x-fb-rev': '1016525504', 'x-fb-debug': '6OVIjy2DAuk9eEXzLQaKQ3xKqhI8TOpb4xK0CpPemGfRT9wlXBvMFfJSuT3kskVydISAe2sq6hym9AY6PakutQ==', 'x-fb-server-load': '55', date: 'Mon, 16 Sep 2024 19:47:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIjekctYckgfdkzGS0gBSiZWgxSib1oqBm-yG9RWT3zrFjegZK7-l-EUl8QvklR67m8Qb-cq1I3x6dVUgNw"; e_fb_binaryversion="AcKYLi6y-YgiNJY6dJwZIJv8JWNJ0lm064n2OkJrYpbiCbx0w4wryJzESDtpT-iM8VibwGydKkjc51gN267KUT9PU8jKsXBxlqY"; e_fb_httpversion="AcK0HU_09C8meYwsYSeL7cPwtJG2DvHbhf05O27hOS-aHvRE_l6Y1ppXE6eb"; e_fb_responsebytes="AcIpiDsMMSkAnp55E9KacpQzsPX5X3JeNRJ-tb8Wh_rJtqtunBqayFTTdx7n"; e_fb_requesttime="AcL7JV1PiHq-taCr3QMxQ77WEB-6MnPaOIt7ur80e-ptTZkFD0AAm0niz_y2XrEOAl1IWgnaxQ"; e_fb_requesthandler="AcJMfW79XVXaIWjHXouM4mZpvTI65bQcMrZ4qeZPWnwgkO04xUwJ1NACRP9GeR5fE9rnMTG8eKg"; e_fb_hostheader="AcJIJ7Y1M54_wgecnebD_DOhEmLVgejBZUQOxwzkG-ZkGagqYWpIF8zfFvi4cS4EZ2AJRMNQmNin3orO"; e_fb_requestsequencenumber="AcLOJt62plOgzFLBUe9PshrWtk__T60n6tyiAneW4dnSrrPMJRFIY5-PerUS_g"; e_upip="AcKCRCqt4TB8yTYNOeyLZCPyfOpXwhvqITQQwFmgB_9mNuvSRoSMrLL0PQDLquyvp9ji5qxjic37Yy0ys8jFJuMuq1iVqNFwF-z3Ano"; e_fb_builduser="AcKkJmiPHV6ikxLLRTWoj5Qek6fwCPfQ3b9KTkpZjHpCOu9ZDUphu7vjPNFuF1zK7wc"; e_fb_vipport="AcLghzrBYYRKrM2NijCcRkDPi1a2RbixOKGAU1BLlxp-aNmXhkXj9BrlO91S"; e_clientaddr="AcKwkSf9TGbU77rTkU4aj7Fr1olEuNm7Zs9Bdv-lviLFH9Gh9Mk7wp8-FG0qTJ8RosxqDdbhTG6c67r12gLi7Fck2jXRqtiD09JSSCXOKffrL0KiCA"; e_fb_vipaddr="AcJmr15GX5EUFXWCWNcHGQldSM2k172_fpzqjL7EsAAbR88OVXVAArcDU3lSK4eF6uqs-LNoy-M9Ijh_VUuyepL-WgfFkbrh"; e_fb_configversion="AcLKFiKcm3dVPtLN4pqClsJi3QR69jgFhRQzgHcdMF6tqlEHdT-wK8fe7S_AsA", http_request_error; e_proxy="AcK153ClXtbs9GUlG5T7CfawU5dermFK5VeCEZN6ZqgoIBpEIJ6pxyYcXfJcTuQTwzFo1YuDNVEOnAU"; e_fb_binaryversion="AcJSV0bJzsBT_zdinSzCii5TLRf-sIwmMZv3A9lvrBkW8JyiKk91qzwJTW0awtvr8LrarfmkMUdTRO54TS6goHCdo8nOCN5RnwI"; e_fb_httpversion="AcJohONWus983fUKgHymo3zwTOu0PLWjfgrnehbcgzAtJXZBtBsKiCwOaCNa"; e_fb_responsebytes="AcIw9aC1GHTyN-poKYa5mhdlKQP-Mc5BG8GzLeq-TK5NwnPRss1E0KKyucqN"; e_fb_requesttime="AcIHnW68eCF7ud62bRkrBlGo2oskd6GaQEyn8wRwJc8dY-jxfI-molIVHJ-i6qPrtvgmng6C6g"; e_fb_requesthandler="AcLoHis69SZvhkQZK-NArWvUyinHQz8e-A3344HoE48SU6KhauO0VVne1uMv_eXSGM18IWJgZvE"; e_fb_hostheader="AcL9vXXmQB9NoD7v20b2ewFwdvICGhkE3GL8e_yvlbgf98fq08wyByeGUNQza1fFgNzebUFjz0xHdIPT"; e_fb_requestsequencenumber="AcLvd7ykMlJ95VX7j7P59ki1k7EtBiIPkKKbCxh-apBjXtfkHFWdgd67QQ"; e_upip="AcJ3Y2uLyBoFnQzrwAdpPiMz8lxLoKSraJgq0nDpr75XK_cZB782mOkcgC--Iq_hs-34DsihBc5-ipYEJgEX_aAhfmTcXDi2"; e_fb_builduser="AcIwh2kCC-idrMZeD2EmmjnlSgsqZfSObLBu2V9hN-u_pnvnMj4VXO24ROzQTF0J0JM"; e_fb_vipport="AcKREL9OgIPWYpy_Sb85G_tJUmS0hUVfoAz7lrNKihs1qHnsCfPvopWM5eyi"; e_clientaddr="AcITAJ-EVT3Bd253AYE6loOIyjLR0ULM2unVFRmkO8uKNDUGc9hyU6nyw5CtNXaZZhdY5XkwgFjO-xeuQg"; e_fb_vipaddr="AcKUjKUh5o6oqcy7_gjk8iwKMNXNmogHDkQQ6dqPbQ1LN9NAWB3KqA_qxWxQeZHIIcihIA"; e_fb_configversion="AcIoIa8cbP2G_u-TT79dBgPQRAUUubVYth6BMD2FfFZMSK6rrOp2K16x2PI9oA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=432, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26815106744801297"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 69\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 19:50:07: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57127340, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Mon, 16 Sep 2024 19:52:25 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/16/2024 19:50:10: Error on send one message facebookId => 8413273532062189 09/16/2024 19:50:10: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/321635d0-7465-11ef-a52c-3b4dcf4a99de__1726516345261.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ArGA22IUZ69GDDVOLOs8-xx" } } 09/16/2024 19:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:57:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:58:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 19:59:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:00:44: Error on send one message facebookId => 8413273532062189 09/16/2024 20:00:44: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/321635d0-7465-11ef-a52c-3b4dcf4a99de__1726516345261.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AENCW8Jr4qTkBPf5OJwPHH8" } } 09/16/2024 20:02:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:03:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:04:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:05:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:41:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:42:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:43:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:44:43: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26815106744801297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57143035, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v14.0 as v2.6 has been deprecated.', 'x-business-use-case-usage': '{"565033343594012":[{"type":"messenger","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Falha na ação do remetente"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v14.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVaoyqcK8U9dPAjsM46EH2C', 'x-fb-trace-id': 'BcrYX/KniMs', 'x-fb-rev': '1016525504', 'x-fb-debug': 'agzMtL9P7ROTIT3lIjLAUHtDiNS4LgRnIiOAMzLB4vJG9460+onUGSX9FdWq8AZ1Ld+85zwOKBzQb7P+FrQd8w==', 'x-fb-server-load': '31', date: 'Mon, 16 Sep 2024 20:47:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcLMtvKQ1RVO9G8TRfSal_Lnj63AgDN4A2R95YHuNcuUeA6FTJwfyRQ2-D1Z3tPSi2mzqOUg7AdtMU759mEw"; e_fb_binaryversion="AcJxt1O34mYzycwY4gLYnsmcrpRb3UfzypZCmEDdYEGAVZvxT9MO7cVuWgoO6bCTWdTUte-8QX789uNUWYb7xCwhOU-pyJ454pM"; e_fb_httpversion="AcItwrqyD0RGSneY7NN_bzrcEw2sRvx-UJ5Uy6kiSyzc8e8RYsP-jhan6JtL"; e_fb_responsebytes="AcK0RGu4Wf3PY5JjeBLXu8UGrhOUqgY0jYxIetYYBUlw6eE0x1DgcGGpB707"; e_fb_requesttime="AcIOTpmwTKkKdlXadImjIaB8xpCSs3Ipcem2H65Cv7UM2jLAtFq-GSVYv0nzP_mryuy-rsnV4A"; e_fb_requesthandler="AcK14vF9PAZR42pzxEDrTELiAVenOW1sjdVE6Hz93eAf4vGFBYybiQHTKmrXGmVgbAnpYgN5XH8"; e_fb_hostheader="AcLemB0fV6AYOIKIp2Ppg2LrrxXsmyWnqQug1-7O_B8uCI5qFEWFHeSTIhPlcZNL56HPElpM1pRMFAPd"; e_fb_requestsequencenumber="AcLU5l-AdcJPcGisZpeWcJuKn9xB-xDJg7bWUbFcPq-BfK6LjRY_uYZ5FXs"; e_upip="AcJX1_eJ38KsBZJWpSzkcMqcVvM6P_o0tFmJjbfl9Fv8aDmS4QMQkIf71WatNNgc4PkNLW3XeBottTEwJe819ziWLXneK3LvERRek7w"; e_fb_builduser="AcIKmceobE1eEh4wXLKRd9r0s2yI4SactaB3Qo-UbpvCb6HvVg4L6SIMIH1x95fYHCc"; e_fb_vipport="AcK_hBwFT5BUUWEdW3YkTbtXn8Az9oefab3SSqRuSAP5aPc7EzKImHuT3vDL"; e_clientaddr="AcLSVAAy77uLHs4R0dhhwrt6DkD5x3MqHrxFGtHbgNmxnaJyLRHorlyWVrtTX0saONvZftu4z-rCCS0BxmUY1neXRuwthaOm-rux0U00XNjeLXPA-A"; e_fb_vipaddr="AcKHjlvNESYQU3sGoqlavZ90pZ-7nBEpJmd8tzGv4DNtvm3jDTLk7I52hv679t80PvzvelFFhHk3OTTlEFUCfg9LX5uDTJoa"; e_fb_configversion="AcIfEv3Rca1NbsB8vCRRLYcA4h3h-rx4cYu7U7tgm94aIDBX6lcTu3CwmQQpiA", http_request_error; e_proxy="AcJvlG1nl_WwHV1lIW11BnfaXSkgKV43CJ-GPfcUVr9b43l2VFP_2R0w-nt725zFGiRcJeGUflmUMKd_"; e_fb_binaryversion="AcKSqImM0xMlkbeB5X0b0d4wYqDdFFBmciPsTb9laMSXCSKr039EPWgTm7S-KoXbvsyaMTriMGDMKnNLQxw6EmEBX-8_E4txL4s"; e_fb_httpversion="AcKMuAom1VOt0H4U6BO9ni8Qq9rNh5muz5z8D4X5gWcSmUaBXnaicT8A5iO3"; e_fb_responsebytes="AcL5M4aOgM35B9A7uaXF6mAWXkeFw0fPaXB9mxhQetaNhGJ7Z927eEO4QP-v"; e_fb_requesttime="AcLRaf91gdgOuIUEBx-aDjU-XkVGSd3uADvDhfeCve0MtxRTeJc2SrLRLP99qe_yKTiMmduSAg"; e_fb_requesthandler="AcL-e-u5BXOiw-bC4DrcGF2jB9tMR784GhaKNCMZlsx_XsOS6sDz0c8XLcuO2_7dKdIOoQPOlKE"; e_fb_hostheader="AcJepsIsS9joBMzUAKtyp7h6BoaRhYYSSYImS_8-LYVOcs8jLeOxNkkTzkW_m--vA1D8o43TvcKSrGqr"; e_fb_requestsequencenumber="AcKP1nMIPp0jDiOhslDSDluGhlSNXnhM-eSJiDEfaSwniFOTmHXEK7yKWQ"; e_upip="AcKXnawju81LKxHA8q5untyTOcV4LMvJVIJsYjAWabUXvCuqYvjSm7Yeodc1MePHjZV2SUN3O-0TJYp5WB0NBTUKhpW_e8GP"; e_fb_builduser="AcKatNk33CrSi27z1mmpFdwX0uSsllvcMQWS5yuKs0CsKobf-o1rDgLbENo1abe4Ge0"; e_fb_vipport="AcJtigC_zL4SudpWWzeQ3RFAmFOS41DuaT-vnHmQnMDYUz_0v7ewAai7WGUg"; e_clientaddr="AcL5qNUzOyGjBqngRYYVkTJy54zvvjT34_HvCQCD1iW6fm2t6Ww3JDXGtaELY87MB0JDJTUat0fSJCVwtQ"; e_fb_vipaddr="AcLjEOaPDvn8GNeCuVia-yYiGspZ6SVx6z2yF-LbsHiUmWdVQgmoQoR4Q9-ABJTZMthyGQWkhg"; e_fb_configversion="AcKQiXk0UNWXLdrgnjM9gLqP1Xi-3453zQsXA6vNet52zQI6QoKpkG2VXrq9RQ"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=108, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=328, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '165' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"26815106744801297"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/16/2024 20:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:57:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:58:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 20:59:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:02:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:03:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:04:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:05:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:27:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:28:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:30:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:44:40: Error on controller payload Input Treatment=> type not found 09/16/2024 21:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:52:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 21:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:27:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:28:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:36:53: Marker: 0 | ID: 66e8b30511e0a671f61d4ae2 | Error: cant_get_message 09/16/2024 22:43:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:44:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:45:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:46:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:52:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 22:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 23:24:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 23:25:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 23:26:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 23:27:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 23:43:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 23:44:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 23:45:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/16/2024 23:46:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:19:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:20:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:21:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:22:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:24:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:25:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:26:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:26:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:27:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:27:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:28:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:31:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 00:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:26:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:27:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:28:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:35:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:36:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 01:39:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 02:35:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 02:36:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 02:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 02:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 02:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 03:48:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 03:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 03:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 03:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:48:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:49:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:50:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:51:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:53:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 04:56:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 05:18:15: Marker: 0 | ID: 66e9111711e0a671f61d4f37 | Error: cant_get_message 09/17/2024 05:29:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 05:30:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 05:31:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 05:32:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 05:53:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 05:54:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 05:55:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 05:56:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 07:31:32: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 09/17/2024 07:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 07:38:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 07:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 07:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:01:06: Error on controller payload Input Treatment=> type not found 09/17/2024 08:01:06: Marker: 0 | ID: 66e9374211e0a671f61d5057 | Error: cant_get_message 09/17/2024 08:07:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:08:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:09:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:38:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:39:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:40:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:58:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 08:59:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 09:00:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 09:01:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 09:07:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 09:08:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 09:09:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 09:09:52: Marker: 0 | ID: 66e9476011e0a671f61d50f9 | Error: cant_get_message 09/17/2024 09:09:55: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 09/17/2024 09:09:57: Error on o continue conversation Flow : TypeError: Cannot read properties of undefined (reading 'exit') at continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:107:36) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:79:11) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 09/17/2024 09:10:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 09:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 09:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 10:00:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 10:01:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 11:25:37: Request bot not found: { id: '1591915494408146' } 09/17/2024 13:35:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 13:36:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 13:37:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 13:38:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 13:47:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 13:48:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 13:49:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 13:50:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:41:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:42:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:43:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:44:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:47:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:48:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:49:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:49:42: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57389200, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 17 Sep 2024 14:52:00 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/17/2024 14:49:44: Error on send one message facebookId => 26805763332372166 09/17/2024 14:49:44: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/64c955d0-7504-11ef-8cea-d132efcc8e4e__1726584720301.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "ASMK16QCijxtSR44aXbAX4i" } } 09/17/2024 14:50:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:57:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:58:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 14:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 15:00:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 15:57:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 15:58:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 15:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 15:59:58: Error switching inputType 09/17/2024 16:00:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 16:16:38: Error switching inputType 09/17/2024 16:16:38: Error switching inputType 09/17/2024 16:32:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 16:33:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 16:34:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 16:35:48: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:32:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:33:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:34:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:35:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:43:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:44:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:45:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:46:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:54:57: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:55:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:56:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 17:57:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 18:09:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 18:10:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 18:11:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 18:12:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 18:54:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 18:55:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 18:56:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 18:57:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:09:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:10:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:11:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:12:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:35:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:36:58: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:37:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:38:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 19:39:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:35:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:36:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:37:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:38:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:39:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:40:52: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:41:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:42:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:43:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:48:47: Error switching inputType 09/17/2024 20:55:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:56:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:57:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:58:49: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 20:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:40:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:41:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:42:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:43:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:55:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:56:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:57:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:58:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 21:59:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 22:00:41: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8585889061441846"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57499971, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v15.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v15.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AiwfuV8UIsrBLTbHAOEdtxt', 'x-fb-trace-id': 'C8WyJtR7nho', 'x-fb-rev': '1016568017', 'x-fb-debug': 'aVtci63/6W7wZuEjiMmYBBo/ywtGSBmUvnRQlYgJLt9SLd48p4W7lIbCUViYLzGxH2sSKN9QOax3V1T0m/1nFg==', date: 'Tue, 17 Sep 2024 22:03:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKr5vvhwnGGRVFLrkKHbuxUJfRYMFauvOt1iE2Nvq6AzSNGDkeBWqVLwu0NoJkDgAFOgtIXZpuyxf95YxU"; e_fb_binaryversion="AcKZQg8DemSxQ9Yqr-iqnhaHeLlaSmnr2-DXe7Ogw32KZkJnL5Q2U6U3fbG7RoPYpHO_Ip-1b402fylK4CrANmoRa-mz8AyM8AQ"; e_fb_httpversion="AcIozjCx6lfOPwh8PZCeXR8shnXQRU2jEXL3Mgze67zS0eVGBGuHNISQlX04"; e_fb_responsebytes="AcKLmmPgHYl-nEZgDSvGSpGkSsbKBBAE1knYQj3G74BlWlCB7qCmAzzI3p72"; e_fb_requesttime="AcJu4wgBZvl6xAGbaxKzbqVFniP7_Iolz6AE5_yzMaXRq0o0IDKjHKdVzrl3mZwarw9jdudCzA"; e_fb_requesthandler="AcJSmm_HfR9qdENmJLCMbXo2H2uWcCvLDnbxxicyKE2yXpH43YLNvaXrtdHFswvUR59UFRrjK4k"; e_fb_hostheader="AcKoeQVoYhfsZTzLMm7VHDRrNVHohFuhhHUm1njtcs3qFTLqqm8ugE0WXmiXwE7yszhtF-VMPso1WcUE"; e_fb_requestsequencenumber="AcJz0Gdn4R5EX8PpxzlxfX-p7u8dbvZLcFxQIGwqdIZHnYjo4AwTxUNloIo"; e_upip="AcIPohH7iu7A6APVUJjiYh2T3GH69ZzFc3jvGtj_KDvqdFtNplgN9shIlrA_XzXErGDg4f4CbT1m45YKXlobDuoPaG6YOArq28BEow"; e_fb_builduser="AcJKdLYxElnodc2181tAyHCJa3DTMlX7ZHJGyNsTIFepd5fc1JSn11po3c8AGduGem8"; e_fb_vipport="AcJVk6cBmbuPYdWUKXcXRa52Pp4C0aQ-HMpX_HYlYp4hegMXIFKkbzQYDLHT"; e_clientaddr="AcLfjCV6awsbTgrz7DX6kp0wGgp-Toqwh8XYZiXi8vHZwcKZ_1bh5L-BWo_4fCF1Mu5iWFTpD9ouAGF491_dlB-jQ2F5uwd2-4Cw0TVClwy6SOXb1Q"; e_fb_vipaddr="AcLVy-ynXGjjtndoTbEmn4ORmG1CMvPZEptQ7kCGJC_pfrhbEBgZkrJb6-l97E0ri0NYelu-OksIHTt8skgKuOqMSJYdaJoRDA"; e_fb_configversion="AcJIJKueXgFwsL2q2lS4aJbrDFvVD9Aq5VVqzOJlEsJWLrZ-oSUdE3Pklo90KA", http_request_error; e_proxy="AcKsgOCsklRKWCXgl-9eySizJDSmvnyzIkuUcs8_V-nF1EoSf9roR7w-RW_yBeEDvay5lt7IRjoHkGQ"; e_fb_binaryversion="AcLzEjZka28sQ5PMq1p3A9o2WcPQxY_2LKBCIfzEgvF6F774G-tW6GvbHkCylk0yhQRomx6P8GKr45vQhizGN1PwSXA23GAn9lY"; e_fb_httpversion="AcLbqNdZkOjYdA8hjVZHRwfjRS9y5dFfCKQA2EHq-eYg4lBxcBaMVBjm21mS"; e_fb_responsebytes="AcIUilXCsQaBIloJQkHwZTEH7sv6e3bhv-21BTdHyUZsmjOK-8VJBI6WjhU3"; e_fb_requesttime="AcKsVIC6wVpO-CmSehQEhaUk2qAhi8Dwyq6RSBlGVs3ujAMne3kryfhNrV_XKZGD7xUqtASdqQ"; e_fb_requesthandler="AcKf6P6hcAEZhkiwAF3i3qUv43kGavEuBPmuG3z7aOeZlUQZymGqtw82s9STgPemrf-jehynWFc"; e_fb_hostheader="AcIXDCAT-oZ8l_gA4O2P4Li5aZPHoPFtb6kj87t2noWY5iV0PdmPXrsb7uR2Ll_r_3i5KikHTarNH-EC"; e_fb_requestsequencenumber="AcKgay_alM4FLCftfgSumCPiMJ-9TBnpytX_lNVsKgdVsp9F1vAkB4NSwg"; e_upip="AcIr_GMHPyqrRwB5Fua8SwvedUJ62yMKQxhDY7ykXC_fSH_hQ95YHlN98sphsHMYx_z8CP6aXZHcbouf-i_OU71dtXfi_J5UMA"; e_fb_builduser="AcIuZzhEQJYGV8R_W_js2eIHwP9ye8fJQ-dkoNx2Y5EihEG93zLJ0TNbnc1UodVayTA"; e_fb_vipport="AcJ4JuyaEcTKHxRXyQcJvAvNxWizJP3l1KPr11Of6_oKiyT2jPcU_yYVhyn3"; e_clientaddr="AcJCIaMbR2LhLRIKK4ws3yXC46LzXCcaXbtgVV7oJl5Z2EKv-ex0dHH2jH7aetF73bJWZ1A6HtNBkLo2Yg"; e_fb_vipaddr="AcJ_kFFgJckVIfjUppZsthCu8oYF0Sx26m5iGMqKVElTtBaKGpmLnsgi4GWx9nvG_P4Bsw"; e_fb_configversion="AcLMmmkEyg8yI5WebpNx-ZEYSnED3mvUqb4wrrHRA7ZKSwg4BXM-PBNwrJi_7g"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=149, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8585889061441846"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/17/2024 22:00:43: Error on send one message facebookId => 8585889061441846 09/17/2024 22:00:43: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AW__BamrfIfNv0HRrgGYWZR" } } 09/17/2024 22:00:44: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8585889061441846"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57500150, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v15.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v15.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A2uBsAZpMTIpYg4Xa-RzjyL', 'x-fb-trace-id': 'D/Muass3KGB', 'x-fb-rev': '1016568017', 'x-fb-debug': '9FrSQ8HCDknq+4ZfCMTqIuy1Qe9Ebu3BtO6Yv6/DUhFvQIwG7NIjGy/7FN3jmLFTimxHwsl/56Fagg89rVnxfQ==', date: 'Tue, 17 Sep 2024 22:03:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIcapO7yH8s7GTLX0h9XW51_Un8o15OyJn8vZ1o1T2yKxWXzEQygN5mf6CDjuR2NFlpBGAS5iPfTWMl7v4c"; e_fb_binaryversion="AcKv3vKegPrtmscYDHeoncJLAxlw1QDIQfcfqVXoNBmmCzXjw08_15qYdE5t1E6OqSuOR7XhlrCbL5zb3_cJXelqQohjpZr7NI4"; e_fb_httpversion="AcKy6v9OZ-kjNfmuADNYeYwD1Bogsa9vYOsp270yn0BUwOdyfu2JViRlHR4S"; e_fb_responsebytes="AcJFTTkkrWESK7ZOcONRusoO-MwPqDiU5v--oS7X44isg4bf5FqraSH8PrWM"; e_fb_requesttime="AcJtjE1BxNHZHZaddmejEsDVp3bdjkLHueIPKkdAr49-W6k8MCh6TuFfR7xw2nCYnnoplVdxnw"; e_fb_requesthandler="AcJkmruyUS5omgkE8c3MzeU87OhLQ1PkqdA9-myzuaB7HL9Ft9Q7IsANXmOZKAnjXxqj5X7I3Jg"; e_fb_hostheader="AcIy7GAu_M_D4XgsI4Iv4zPJW-fOwflF54i81oqtDTtUrIPw63DHlvDlAcgHzXc9dO8ztgzZaUo_wuOB"; e_fb_requestsequencenumber="AcIOHt2MFXUKJpY_XAMXav2oyNKXg3DcaNvF0iM1VwH5Bn9iyXIGUJXEZ1s"; e_upip="AcJvsDvvVQ0zPm9jvkkHLj3dMFYhAdJV1Py1vCSS69mt_FoyjDYTgKwpLbVt5Biznvvlk536g2YQ3Uu_MdJCymADtM59E0hN6xtaqfU"; e_fb_builduser="AcJo-DHbsDyQDyAiGOYBCWzlkThCvI-gYT57PIRWobjXi9HzUDCAoSJyYSZj3qD2ees"; e_fb_vipport="AcIBe2uLU_i6ADFCGztQetQEfn4hkENr4k-m_YFR2ZAfmzTbQcGGc3H84wfp"; e_clientaddr="AcJDg4lMfwcDR9ZwX6o2XHr0NT8yvewtkbb_BWYAPPYyDHzp9aqzll2UqU7QEkUGV6IF2Wv3LKTBIfe5_TtoE5B3ygODbduWY94NDifL1y5kjy1A"; e_fb_vipaddr="AcIVENxD3jpnWKxQy5Ax7iYZ6ItjzlVC1AFmniuk_qEX20ggkxPvzS4iS6R0GQOj71l9DeIr0GU8pF2aDcgzpXSm3ZJRkW1knw"; e_fb_configversion="AcJYmmBomLb-LNTHW1TXUGlBoqgTzMPhm9CyLqRoDviRw9oJxoCoexOD9LVxFQ", http_request_error; e_proxy="AcJL8QmACoJl_k9rdTkrpLE4ndhuBGsSgqaMcMpxGVkrrWPSmZGFsePB4TMn5yCs2qA_i0vBHaqH1aI"; e_fb_binaryversion="AcKQlLxRskUgHSAn6fWC9kAzRgcBqrwP8PbRCiShMRtHs8IIsabq1EacMPoxEC9B3j2Ipky5SXNDXneFxELxm17fth0tUdHtrSU"; e_fb_httpversion="AcI1BIrR0Ae3PG6pmSjrijfUyyF6UHahBcJtgrA904qytRC9YAo7x49pQVfe"; e_fb_responsebytes="AcITT-dbGCeCPFgsqvNbUp48mCcSY5asVGfdoA3qL0ny73h6BHT64G8Mr6O7"; e_fb_requesttime="AcJcQqkMejh-IzXpU67zZvSYqH8O1ViT3YUMKL0k4T7HAcIMV3iYOAjQ4m5nGbcRbE-0fqkL-w"; e_fb_requesthandler="AcL3te-kDGOcVRot4vTY8-f7Q1QWBmddojpG9xLEA0xiR5nDUk3sccpUQhPeaM0tHK1xEeN4UsI"; e_fb_hostheader="AcIrMSs_dKS8u--ECtyOVEDdKUWuCz3dnv9EGuqCbEi_GO3eLU6DirilTHHmmSJwj9xFLw455TY5HOVm"; e_fb_requestsequencenumber="AcLe0exh0RZ9t21XOoHOmnEnsUZPxKkxzcUhq-9bTtq441fHoswQQ-x_aQ"; e_upip="AcLks195u8T38UUXuzRkkfrRlCibCWsR6K3pCdvqSNpmOtmoP9688TVYCuyRN35mKdcFd5Hp4yCleoEm1ohE9B-Oew_gvRQshQ"; e_fb_builduser="AcJg5ZqIlVHCOM8VhXZhqsmu2Tin-15SZ4NPcTTNBLh-G1q-TG5xyUOcVoPXoKvQl4I"; e_fb_vipport="AcIqAQgpcMVeBat-Yxa9eejWDy220lIcqhnF4b-R_po3gvenMjKOyR41qfqj"; e_clientaddr="AcLE9t8TqjkwI4nfhx33MCdGFh33WvSQ_e_t7piy8GCuA_yPx26mZJXkV71BDukoaxg6YGpPZvtcgTJveA"; e_fb_vipaddr="AcJAfVOz9QpnEPMIsPLw5OY6ytAXSucJ7s9JJ6vEkgLA0OPNvUQA3kodGnjvEjyNSvF7cg"; e_fb_configversion="AcISMYCVEW3OZXeDwVrYzmy3V90xa5i6kcF0h7LCevVnxN-mTPPt75G6-nACeA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=158, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8585889061441846"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/17/2024 22:50:50: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 22:51:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 22:52:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 22:54:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 22:54:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:23:57: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 57516376, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Tue, 17 Sep 2024 23:26:15 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/17/2024 23:23:59: Error on send one message facebookId => 8608379655873709 09/17/2024 23:23:59: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/3bfaef40-754c-11ef-a52c-3b4dcf4a99de__1726615575604.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AsO81FW-vBDFCkob-c_7OZU" } } 09/17/2024 23:29:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:30:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:31:14: Error on controller payload Input Treatment=> type not found 09/17/2024 23:31:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:32:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:33:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:34:43: Error on send one message facebookId => 8608379655873709 09/17/2024 23:34:43: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/3bfaef40-754c-11ef-a52c-3b4dcf4a99de__1726615575604.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "AMXwgCMT2O8vTFuGTKKFCS6" } } 09/17/2024 23:37:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:38:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:39:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/17/2024 23:40:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:29:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:30:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:31:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:32:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:33:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:37:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:38:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:39:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 00:40:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 02:36:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 02:37:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 02:38:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 02:39:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 02:51:47: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 02:52:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 02:53:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 02:54:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 03:51:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 03:52:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 03:53:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 03:54:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 10:16:32: Marker: 0 | ID: 66eaa88011e0a671f61d5af1 | Error: cant_get_message 09/18/2024 10:16:32: Marker: 0 | ID: 66eaa88011e0a671f61d5afb | Error: cant_get_message 09/18/2024 10:22:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 10:22:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 10:23:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 10:23:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 10:24:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 10:24:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 10:25:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 10:25:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 11:22:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 11:22:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 11:23:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 11:23:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 11:24:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 11:24:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 11:25:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 11:25:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/18/2024 15:16:49: Request bot not found: { id: '234064353428134' } 09/18/2024 18:32:40: Request bot not found: { id: '612321819204464' } 09/18/2024 18:33:46: Request bot not found: { id: '612321819204464' } 09/18/2024 21:27:08: Request bot not found: { id: '138894166495332' } 09/19/2024 11:27:22: Request bot not found: { id: '138894166495332' } 09/19/2024 11:33:44: Request bot not found: { id: '863113247096430' } 09/19/2024 12:30:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 12:31:46: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 12:32:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 12:33:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 13:30:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 13:31:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 13:32:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 13:33:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 18:48:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 18:49:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 18:50:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 18:51:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 19:11:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 19:12:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 19:13:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 19:14:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 19:48:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 19:49:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 19:50:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 19:51:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 20:10:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 20:11:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 20:12:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 20:13:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 20:14:43: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 21:10:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 21:11:44: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 21:12:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 21:13:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 21:14:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 21:53:32: Error on controller payload Input Treatment=> type not found 09/19/2024 21:59:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 22:00:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 22:01:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 22:02:45: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 22:59:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 23:00:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 23:01:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/19/2024 23:02:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/20/2024 16:09:48: Request bot not found: { id: '863113247096430' } 09/20/2024 18:12:01: Request bot not found: { id: '278538958846635' } 09/20/2024 23:42:38: Request bot not found: { id: '1852395741674621' } 09/21/2024 07:15:34: Marker: 0 | ID: 66ee729611e0a671f61d5d27 | Error: cant_get_message 09/21/2024 11:41:58: Request bot not found: { id: '2226987370951427' } 09/22/2024 00:39:06: Error on controller payload Input Treatment=> type not found 09/22/2024 00:45:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/22/2024 00:46:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/22/2024 00:47:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/22/2024 00:48:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/22/2024 01:45:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/22/2024 01:46:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/22/2024 01:47:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/22/2024 01:48:38: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/22/2024 23:59:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 00:00:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 00:01:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 00:02:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 00:31:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 00:32:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 00:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 00:34:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 00:59:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 01:00:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 01:01:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 01:02:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 01:31:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 01:32:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 01:33:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 01:34:37: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 03:56:22: Request bot not found: { id: '133788230054854' } 09/23/2024 03:56:52: Request bot not found: { id: '133788230054854' } 09/23/2024 03:57:03: Request bot not found: { id: '133788230054854' } 09/23/2024 03:57:17: Request bot not found: { id: '133788230054854' } 09/23/2024 03:57:55: Request bot not found: { id: '133788230054854' } 09/23/2024 14:21:03: Request bot not found: { id: '863113247096430' } 09/23/2024 14:21:25: Request bot not found: { id: '863113247096430' } 09/23/2024 22:18:38: Request bot not found: { id: '863113247096430' } 09/23/2024 23:04:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 23:05:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 23:06:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 23:07:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 23:18:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 23:19:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 23:20:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 23:21:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/23/2024 23:22:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:18:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:19:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:20:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:21:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:22:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:24:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:25:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:26:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 00:27:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 01:24:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 01:25:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 01:26:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 01:27:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 06:49:23: Marker: 0 | ID: 66f260f211e0a671f61d5fab | Error: cant_get_message 09/24/2024 06:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 06:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 06:57:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 06:58:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 07:55:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 07:56:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 07:57:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 07:58:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 13:19:26: Request bot not found: { id: '863113247096430' } 09/24/2024 13:19:30: Request bot not found: { id: '863113247096430' } 09/24/2024 18:05:44: Request bot not found: { id: '133788230054854' } 09/24/2024 18:07:59: Request bot not found: { id: '133788230054854' } 09/24/2024 18:08:22: Request bot not found: { id: '133788230054854' } 09/24/2024 18:08:30: Request bot not found: { id: '133788230054854' } 09/24/2024 18:08:47: Request bot not found: { id: '133788230054854' } 09/24/2024 18:08:54: Request bot not found: { id: '133788230054854' } 09/24/2024 18:09:11: Request bot not found: { id: '133788230054854' } 09/24/2024 18:09:22: Request bot not found: { id: '133788230054854' } 09/24/2024 20:27:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 20:28:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 20:29:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 20:30:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 21:27:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 21:28:18: Request bot not found: { id: '863113247096430' } 09/24/2024 21:28:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 21:29:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 21:30:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/24/2024 23:02:28: Request bot not found: { id: '138894166495332' } 09/25/2024 01:10:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 01:11:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 01:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 01:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 02:10:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 02:11:41: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 02:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 02:13:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 12:08:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 12:09:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 12:10:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 12:11:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 13:08:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 13:09:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 13:10:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 13:11:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 16:32:35: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66f3fbc111e0a671f61d60c2 09/25/2024 23:00:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 23:01:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 23:02:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 23:03:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/25/2024 23:45:34: Request bot not found: { id: '863113247096430' } 09/25/2024 23:45:41: Request bot not found: { id: '863113247096430' } 09/26/2024 00:00:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 00:01:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 00:02:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 00:03:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 06:50:44: Request bot not found: { id: '1591915494408146' } 09/26/2024 06:50:47: Request bot not found: { id: '1591915494408146' } 09/26/2024 10:03:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 10:04:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 10:05:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 10:06:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 11:03:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 11:04:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 11:05:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 11:06:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 13:29:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 13:30:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 13:31:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 13:32:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 14:29:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 14:30:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 14:31:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/26/2024 14:32:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/27/2024 19:39:18: Request bot not found: { id: '863113247096430' } 09/27/2024 19:39:19: Request bot not found: { id: '863113247096430' } 09/27/2024 20:37:13: Request bot not found: { id: '863113247096430' } 09/28/2024 16:26:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 16:27:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 16:28:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 16:29:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 17:26:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 17:27:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 17:28:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 17:29:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 18:12:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 18:13:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 18:14:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 18:15:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 19:12:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 19:13:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 19:14:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/28/2024 19:15:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/29/2024 16:52:43: Marker: 0 | ID: 66f985db11e0a671f61d62ea | Error: cant_get_message 09/29/2024 16:52:57: Check phone Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'webchat.globalbot.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'webchat.globalbot.ai', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 60555807, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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: false, _dumped: false, req: [Circular *1], responseUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 16, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://webchat.globalbot.ai/knowledge/phone?message=', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { server: 'nginx/1.14.0 (Ubuntu)', date: 'Sun, 29 Sep 2024 16:55:25 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '49', connection: 'close', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization, Conversation', etag: 'W/"31-MQ+Wm3xe/3ptraWYP4RLeVtvNBE"' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://webchat.globalbot.ai/knowledge/phone?message=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /knowledge/phone?message= HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: webchat.globalbot.ai\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/knowledge/phone?message=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'webchat.globalbot.ai', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { success: false, message: 'Missing information' } } } 09/29/2024 16:53:00: Error on send one message facebookId => 8117218585070845 09/29/2024 16:53:00: Response error send one message => { "error": { "message": "(#100) Esse número https://cdn.globalbot.ai/files_upload/facebook/9f93bdd0-7e83-11ef-98e8-eb17c921771e__1727628925485.png está correto? should represent a valid URL", "type": "OAuthException", "code": 100, "fbtrace_id": "A1np6kv7J8z5OBDhQYSWB5Z" } } 09/29/2024 16:59:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/29/2024 17:00:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/29/2024 17:01:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/29/2024 17:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/29/2024 17:59:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/29/2024 18:00:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/29/2024 18:01:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/29/2024 18:02:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 13:01:49: Request bot not found: { id: '863113247096430' } 09/30/2024 13:09:11: Request bot not found: { id: '863113247096430' } 09/30/2024 13:09:43: Request bot not found: { id: '863113247096430' } 09/30/2024 13:15:42: Request bot not found: { id: '863113247096430' } 09/30/2024 13:16:27: Request bot not found: { id: '863113247096430' } 09/30/2024 14:53:20: Request bot not found: { id: '863113247096430' } 09/30/2024 15:45:40: Request bot not found: { id: '863113247096430' } 09/30/2024 20:16:39: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 20:17:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 20:18:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 20:19:35: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 20:34:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 20:35:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 20:36:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 20:37:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 20:38:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 21:03:44: Request bot not found: { id: '863113247096430' } 09/30/2024 21:05:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 21:06:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 21:07:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 21:08:42: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 21:09:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 22:59:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 23:00:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 23:01:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 23:02:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 09/30/2024 23:03:36: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033046916783991"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 60879806, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v15.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v15.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ADuQ8QD1grJHQV0wZ-WCXMI', 'x-fb-trace-id': 'DSGaQrv2yJV', 'x-fb-rev': '1016928253', 'x-fb-debug': '3icM+McqanTPOPTPErqWP/+9lt4l0aWFwZuKr2a6y0VckoPrIbF4lb/qxAsJv6M0zn/zCu2fx3GG8f1dEY5+Gw==', date: 'Mon, 30 Sep 2024 23:06:05 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKjwnDQ33KRUCPHDGToTbQhhGNOCIdltG1K672HgM8U5wyjsjhuwcn3leowHaDxa5zU0IPLGGKUHRhVD4Y"; e_fb_binaryversion="AcLK7gd9U9In4tJ_7COz8vorqtczLiDjcAnIfa8n2-fk6vRwpw9U3wY-LEpddpprgb5lrEuGM3Z-w-yXWKGI2IHTA5rB9EbNWs0"; e_fb_httpversion="AcIhtQt6hKpd5khYPNKBvdy-WsBdso4TO2wtMJw9AtkNyOzfop9u7q_EpmXY"; e_fb_responsebytes="AcKx9nVzFr7PRqXSVvfsldtpGzxNudXI97XSdnYScIjYkKpWMaOITjpcOH7d"; e_fb_requesttime="AcL4M8sHrcTlhavlpl4ysLK6v_Xn787v-zIBzfUE8hvKWWhKWF4KH9ZCnImOe9JHybHskkl14w"; e_fb_requesthandler="AcJlsnP0bgD_riqXg41GEo-SVGW0eB1RQ_vgPBb60zFqxs7Dif7sTotBxxuldDTqV2KZJaB5YvI"; e_fb_hostheader="AcK7W-FctztTeFx5xpc3e775lhlQ2ItcZOOtlZEVoOHYfKbMwsH8ynqX4PVz_R9FXyGxLCleV2xT00pU"; e_fb_requestsequencenumber="AcLAlfqCJAxjSF6ZXCx-aKV9kesQbBGb9Ic4Iia0BVDilgexVSXJ2EnY13R6"; e_upip="AcLgoueubs7utaGsMkbaFErXK8phFV0s34JVhi26oO9RToruK4M5VXakj7dTv5kfM-3IUEu35rrBGYdnMeWmUWPa0L6BgykjYlkpsx0"; e_fb_builduser="AcJdi5iX3-zD4z_SO55jHT6neys4U7IK-LQRh5U6msTVAgdQ0Gr9M46Re7jzSjSmnHw"; e_fb_vipport="AcJuos2GKqz20bUrtSb9Bl8kGRT__PniBn-ZKHPZBXw0PdxUNNQYlFvgdPPV"; e_clientaddr="AcLs5g79bJkT6cdWv-9e0eQ9yMwZOM9Ie6SN96z0_DSWq3-_rGqdqig4eoc_fyDCbHm4M22RlzRWcsSbbptE_NiLSUA4hXaqlQ-RLirzb041VGx7Wg"; e_fb_vipaddr="AcIRv269qM9olF0xxfpaJWk-Z4kezAKNGJ70wd3UuQj9NXIyWhRkQCw6hU87LAb25xbMvt-Y1pKS0wFLuzUYe8JuPCo22rQEpQ"; e_fb_configversion="AcLpJok2IY5xmq6PH2PWd8pW8w7__ifZZLA51dHIB6G_HMgCK1pu7yFXkU0mcQ", http_request_error; e_proxy="AcK6chsKLWHxPLIiGtqVi9iggNP3DwksS1GRV_Io0U72xNPrldnh_CPRJf-qM0H0a08ZqfT0GJ75C_Y"; e_fb_binaryversion="AcIZsgk8S5npboRRvZ7qQ0uBsIOqTr6bnxDt7bF2HSTMfCM43VW--rwYsguvjNnD8mmgwAw1flNlX4CWnXmB42ElQTGRJRhg9Us"; e_fb_httpversion="AcKwRyabZvxSu3upuMFYELV6Kfbrrot5iEbLFJX2nvDifmLmN6pRHHWiNz9W"; e_fb_responsebytes="AcILHhHQaRiHoDbPXsOohXGK_UN2cIyCOvUylTwlMj6m3ByDXV0YZm4nlZDO"; e_fb_requesttime="AcJC-FUVbg14M-xFp4ZuAssOebehMTPbOzZprLsGeVzpGXmGRnMA8eZBnb4L3jqeYd67ftOVog"; e_fb_requesthandler="AcKgsxAgG8A4KrXdKQSvPX1OlYE_iuQRPcA54348LaVjLK7hWkkDXEkTTIJyuI7WOeRnEe3ozOE"; e_fb_hostheader="AcLwEV3lebKZtH9_QjVRulCsYX_rtOfgHuG79rvZs-_Mk-U4wnyoHQP5uFf5KTrCSTzjmDcl9jrHq0FW"; e_fb_requestsequencenumber="AcK2YZbeI2hjA7vlMSK3LFHfZsKpXgajS64yBvRzfcMS2Y8sQKB-FDvagA"; e_upip="AcKvjZVUsTfVTD1wpfgL7xwhdgqZ15sqj98ZUWHYYqJGpw1y2BbdWORA6VNECDSC6bomhxIaCN8slFnpNrMtfSirP1vSV7rW5w"; e_fb_builduser="AcJQbKfM_Hd1JJzOu3xsFH0MJ03WK9osjTT3eMWT8hTfs7xtTrZS3ZPvHc-2mMGvOzU"; e_fb_vipport="AcIDw9sX0gNqS3PxvR9moSNZ7NiCDNC4a1Xm_6fYhfHtJ5zugtRF8Da0yfAQ"; e_clientaddr="AcInGyMjd8ayFV6j-mg5A3hKAu3RomLPz17FNneMWOlVWNik7FoXk079D0lLoA7jZf9aCdFCqPxpDqzLMQ"; e_fb_vipaddr="AcKUs0du-BDgx8mpVI8VxgJNDZbXgo8nX5MZbYUrRQiGMkeQFHcUbyyXqyoN8pIDPUm5Y5U"; e_fb_configversion="AcIgzlHB1AjQdRNJkD4xq5nREiavHkHYz_zxzA342C11MAed8_AiKVjLn-mabA"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=182, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033046916783991"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/30/2024 23:03:36: Error on send one message facebookId => 8033046916783991 09/30/2024 23:03:36: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AZ-fvEB2mlKh-6tgZdmomhm" } } 09/30/2024 23:03:38: Error on send one message facebookId => 8033046916783991 09/30/2024 23:03:38: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "ANtdF5oATkhn15aB1Fckq5U" } } 09/30/2024 23:03:38: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033046916783991"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 60880004, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v15.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v15.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AVfxkw5JwWFOCYCMASb15I1', 'x-fb-trace-id': 'EC1yIqd9Fes', 'x-fb-rev': '1016928253', 'x-fb-debug': 'JL+DWSA6GjZvWxRk5nX2VvNl3m1ntpBz9ibu9BDE4gPj+px4WPbQizfnWQ934D5ReCP9ndnIoIXzj9X0fVnVxg==', date: 'Mon, 30 Sep 2024 23:06:07 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJAHMMdwnn6EeS6QpVBZEcIJSvlhdZFEAbNLJokHck6gs__I9bzD8C5gF1N0SpsIc69ws9lsf1nhoks0CBV"; e_fb_binaryversion="AcK71B90bMFr8cU70hfucy7GSylmD5diWAPyJ-FfJIKrfTPqKkpwKhbvRgLEUdLgGGLBUMc6ZOgicNwpZq812YNjdy1Fn-3UoMM"; e_fb_httpversion="AcITgTVJ4UseG2_2bR3TXXKRSf3-PP317FD1IFVcBGMrl3SCN0yQDtaDtkNY"; e_fb_responsebytes="AcJMGf1sEMeqFmt-plRbTQaaD1ewVGD_IHnm37S5pPTNSvKV8qohsM_pt3nV"; e_fb_requesttime="AcKWg6zm3Irc7mwpUzM4LD_Z8shOrOHp-_T3D8vj5rONnzjls_1YlI1pvu-eXbQOi8iN94Ei_w"; e_fb_requesthandler="AcKb7QGvYeDU6mo5qK2nngCARJWcoGbwyVa3QXgka2f_enGNRNkrityI6wTrP2XjPYNqnz9hHHk"; e_fb_hostheader="AcLRRVmFV1CveKtqTy7Dzee0ri0oyzTrrS7iaKGI1Vc_CNu-bqOyYN3t1PRa_aICO84spucH5Up7xo61"; e_fb_requestsequencenumber="AcJAGqmKACIN5TlV4D6xYXcF-VoFcBNiiiHXiIBUw_0JCh-aRy_-yHLwv3Yw"; e_upip="AcITZ5PfDx2Uv8DYzoVDpPU5nELX0vpTAf2hQXyVnJIHGhE-Ap8-qvTMdBVfX32LA9bnnwpRXiZHNPqB2QGK-Z5jNGGuNuiVNA1AuYE"; e_fb_builduser="AcK0qhBSxpI2xQvhzsYloHixpTiaDtPZ_hb-Tb4mIS9f04uwIPKI-efVtGOLv973fhQ"; e_fb_vipport="AcJRz63yVt0bpsVApZFWa1v7sp_62z4poPKMqKn4i0OkGt5iB8UL-CezNyZ7"; e_clientaddr="AcJqcJ7HwBEb_wubVwxvwjM_weawp_68H0L2WpF2LXKMR_-5sD5b6wfFwvGMj5XZFlWGYZDaxYLG8jWK3b4dl0rqCsfgPhxwYkKZL6efwqDpKrAIEw"; e_fb_vipaddr="AcIJTK7gw1swV5EAYMxN8lk9g6ExKDwWg2xpufKiYoY46XHZ8g-4TIyEPhggRIWb9KtvtSruYXatXYBS--Tz6-lkoZjyEyzOQw"; e_fb_configversion="AcKOxNQhheF3rbWNC4yq6a1DzKWLg8x2v8Pu2y82qxrAz5PEUE1qp4txcMrQNQ", http_request_error; e_proxy="AcIert77Pq1sdzRod2rBpC97x48PneNxzFe7b3qLydOgEzmOpyiwP0-Vp1DhmV6bI3QxEkZaGp04gWzW"; e_fb_binaryversion="AcIVhrPFEL-uAdmV_rMLsCy5wy97jESMf1ih-RW_2gNfrw8kPRIKRyjXWq_IAwbuSRdVOui1F093IPhrzuRozycIJ8vQAWPhPiQ"; e_fb_httpversion="AcIqVrPZnvi-thJpvSPGr69bG7JiFi_FepkVV0sVdjkI5bkQ1OSYDwGujgWr"; e_fb_responsebytes="AcKUMR08nXmkRPddNwZ2MKPJuX2D4n4oIHr8x-R_AliIwjMa9V5BsU9GxS20"; e_fb_requesttime="AcKwCf5vyA4ATidIJTB0nm7i9j8HGMIpQUS2JrsZsZ7DgruDKNWyptcPdsyDVV4hW5BNgYnWBg"; e_fb_requesthandler="AcJyRSXrD7iZTtG06w9NUXMqLTPVdLNaY4X-NSxHIGwz6IaaLsQ4b02exrXHUUwCJtwD-26BadM"; e_fb_hostheader="AcJbgF80KAhi4XIOcQ8EBECZmwXMoB2cGbxztu2HaojO7M8K0aMX-eTFfyN6CN_0MmWvnn0EVJr2_Jq4"; e_fb_requestsequencenumber="AcIabL18_HeoKTNSLKDzPtQgfik0pCOaYrL6lSd60mVpN4YBHqQXYzYpZw"; e_upip="AcLWZbcxUefOLn_OmDWnjij9X8N-SGMLwVH-atk0J2ATHX3JzZ5wktb8P5EogDAguJ9Qq5Ovq4tHwiplhBeAdMf8e_XXKy35Tg"; e_fb_builduser="AcIEGD_hA8KBMcBcVjFJflT-Xuh1CNYwxd6w5YOCBGV7c4ApmLsoBtUmAYQ52OnbMPQ"; e_fb_vipport="AcKvRuyjp8SGlYp_cqq7kskyZVBxyzZrwzlclBGOPaAhjdtJkRmRZULnHw_g"; e_clientaddr="AcLyPz4eRDhbBadx30E96bG2jSTZ3koh_hPdDUP_VpZUIgG0AY6wAnvPhgVzjRteQu05CEOJSxIT42tTqQ"; e_fb_vipaddr="AcKh5EQ1-YF1NZTDwJVCO58nfQYtONS6YbN_em4zsteO4KHpR7IcFRClD4VN7zHQyi36XS4"; e_fb_configversion="AcJE9UvFE2GCeQBRU0v359MezcxzBO_YUNO0OMe5hR1gRkWCdxRqV8Ws1ogEAQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=192, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033046916783991"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 09/30/2024 23:59:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 00:00:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 00:01:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 00:02:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 00:03:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033046916783991"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 60890272, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v15.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v15.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A0cbzQnMQ3xEX_ddfHJzqYP', 'x-fb-trace-id': 'D3m3RykVxND', 'x-fb-rev': '1016931930', 'x-fb-debug': '/9Rrfapfjx7lYnbvIPaz439JswjpaV0iLyy8dnDPw6ZPgnyCBtMgz8Qe0W9NhZx4MlG9d887NPkL78+eQKVGkg==', date: 'Tue, 01 Oct 2024 00:06:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcJYmr5qDp16UzgHSAlqwABA1aKXhTNsqTdaucIVSn0WcjFqUoJd2jKQBNNNFUxOEvLDJcgcWOmsOFPIWk7f"; e_fb_binaryversion="AcImu9C3UCbPY1qNQEas2KD25Ieu7e6O36_KCERiMXJs69LlExi8Jw3uRuJAHo4sN8x3KAoa2FsvdHTH6y4fLujm2wQmvBbbl-Y"; e_fb_httpversion="AcK7sKtZYu2gMYYvFKWO-AIjdY2HD_l8Lnu1_dhPQgslW9gNEW_uFPrm2Ssw"; e_fb_responsebytes="AcJlQF3hyVNvMmWPkD0BWH5D8VRB40zPE8H-T0Zf7mjRHYE-fh20wrX9JS7o"; e_fb_requesttime="AcIsNr5K4a9e450PwyOzNjBVFWndii6uLzc2vf_DsF0_MiZNSX8AZBOW5eB2cRTtGZijpbO3IQ"; e_fb_requesthandler="AcKAfX35Swq0El8yVNYDWp3247nqENT-pKKSR65VlqZ_A-2ZBNcmyLide11E7zrYdq87CSU6lMU"; e_fb_hostheader="AcKETxwKeH2ZPOdBXv-CxtJ9R5h-KgQCjB1uRtIuEB8aFvXWuE62ipab9Cwi6Y1Dn3JuToobaWH8ga2m"; e_fb_requestsequencenumber="AcJP94HowmU6kNqhmyHdd-IEQU8ky0ojINN2CjOJLtlLnxdwCt2m9ME7zRgxwA"; e_upip="AcItK-lUrIB-ebCFRXY0YdpKFnpRhbFlEtPdT28UMcl954l5dZPv-PKkJMubyGwq2iOD7zlFt8XLWV05QbirCuA9jKgflnX7rhtyn0E"; e_fb_builduser="AcIN3lsbTCVbIBPPe8EgVdxz2erLdUKPsFQ_U6_y87j66LXJx--IatUQ0E5COfOpgOg"; e_fb_vipport="AcICEbK40gka-pefRttgUP6WVVvbnKvxgB9DBRrUpmEunnK5eNgEzXsWhm1s"; e_clientaddr="AcKsSjMsPNVvZjf-BATY_Q-Ks6EAXnphNfQiDNvuUSWY7FGcELAeOv2nDIGMMW8O1prnHz7DMlCB2BykqC3LTqxzMnOgs69EG6FPNpvSiqPZkLiP"; e_fb_vipaddr="AcKKYnASwhAY1DY6aR8Ex4ZkaZ934SSBBh74wv7g26KY6kKm8eIbgJwKy1zdjZYv4mHW1TIoEny1EGFO2fnqp5jWj75R7K0JDQ"; e_fb_configversion="AcL5uOtPaWaRs5vwbpJF5f7k5rB27Wf8Su4MUqEWQeh6VtXrC3DYO8I9B6wqVg", http_request_error; e_proxy="AcImtpOF2QACDIVTsoMxlh_Wc6OZJ40oyOKIJrt99v_wd6PAF_ow7kaElHpTnobBbe3yaDPHwtzbHu4"; e_fb_binaryversion="AcL-A9tO9moNSJc28y1Eor18ZtqH4-fSEVGtaqDyUYv1e65Ngq4VL6aV1y2gPwxk73B5chgzIo7rvXOMZq7FPYhrFZD2JJBWbi4"; e_fb_httpversion="AcJW0YGvsUdegfBk4bs0F--IMNaX1XXuHP_cuW1zJKExsZbzKhtcbE4WTNTt"; e_fb_responsebytes="AcJtV8pzm-I3gcQSWdBDHsAwDK2yEVDztSaYqJvTYUnY7MCoyOzjDwQF85lN"; e_fb_requesttime="AcLdWqEYa5NZESkNGseDQzBdm_JMtJg_O21PD2PzjbgpsL9JmZgjQyD96Mzicnyhx8TGMLCwWw"; e_fb_requesthandler="AcIcctJv7AWab9op84-Ur6FlcP92gvNMm06qoHv_o-CZDXjWDmMBOcZJgnmWpF6o2B6dfHD8u2o"; e_fb_hostheader="AcLz7POk2vjeZBK6qfjjLszlJwphPo1fMU8rZ66-jB8q0wzrLPihm0hdNUM7UP4BizqsMx-1rz2Lj1tT"; e_fb_requestsequencenumber="AcIVoq8Whqm1OqMGYbF6XPQbah7m9df0gIjTh-owtg4rLjYrqT-R2XmQQg"; e_upip="AcL5nGU9S9ZAPYU7XPuCHErNi4VOtwgrPL139z6HCuDshNB5ZmofkaUyXwNHmAIQmSat-LHjY4MVGHvgGN9T0tSOw-9dojfA5g"; e_fb_builduser="AcK-C48lAHelrrKT2vmhb_DmOfq9NqE9HfKSivN1CsXek4rYPg-q14lvHMcy94Y8e5c"; e_fb_vipport="AcJvcA1o8ECdo4UEFaaMfF_uR_nmVrQV276-IfSf9CBeiynbegGv1Pr_MmN7"; e_clientaddr="AcKRcYE39ZLsQZLEDZ41yp-s7d7z9xYqhQBQN83VkZReODWHNQ6M0u_Pe1QoVf0m_q0K_kzY5yr7q7--oQ"; e_fb_vipaddr="AcJ9tIXs4ilmoJV4TmProsQl33LFQ3dcF7xIKhWF6Vwzkws1nufKqDpmd-EG1X1IQvz6v2M"; e_fb_configversion="AcLE0LOovAVssYOfEMuGHe3tgWHhRVOl9v87OiTLLBFKwNgyzabP9bEvIo3qTg"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=199, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033046916783991"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 10/01/2024 00:03:33: Error on send one message facebookId => 8033046916783991 10/01/2024 00:03:33: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AMf2e6vaEOKS_ss2rB7sQz6" } } 10/01/2024 00:03:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033046916783991"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 60890453, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v15.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v15.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AKVP-b3txmlOjOS_PM1mdpc', 'x-fb-trace-id': 'BOAUiOpDoq5', 'x-fb-rev': '1016931930', 'x-fb-debug': 'c6XNmvw1Mv8/FsvkDAWdK5gGCaIe0ww1bOci6BsH5PUFqCtaMh9P9CcoOCl9WChrAGxPlJrXXhrItF21UFXoFg==', date: 'Tue, 01 Oct 2024 00:06:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIQtaMCGa92x5nTfHBzw2PPbrsjk9RS-1rjtVpuhPhZvkydFa7NwPJdzPjN1FwKfqnJaHoo2k-npcOsNRc1"; e_fb_binaryversion="AcKyXJt9shXEH2VajI44Dec5qh06RA2n01EhrZ13Xmsv9RAQeW2m1Wwgl6vXFtHafCt2-GKmdcdRvJufJFMsQI_zuiy6NqCzjT8"; e_fb_httpversion="AcL1zUwIrZ7fIRbotxaOYo2P2WheRmxfAap0964X0jX3WW3wRaKx3BTGTfbY"; e_fb_responsebytes="AcKb4NJ5vmsJ3aUsG5OeHkxp7empRi8k7bbUbvwBsgh1qQWbsD_H7hIVvi47"; e_fb_requesttime="AcKuGYNBbm0hn9s0WaHYXjOQjQ88XyuwIMnUkMfIAA4C_WknNSOOa6MCghiNZTbjCBS0RQtgrA"; e_fb_requesthandler="AcJcFwho1_UIjHNmtq4U0guJw6AHTYtoaPU5nau8p3Kk_y1Ll1QqYsEZ3zu3YAzSaExzxMbr-Vk"; e_fb_hostheader="AcI4lrnbV-0BtB9Hxao2Ei4EKa9pN0TXw21zWx91GspJ6c5tMpkEJAkvtYRCW23QH7w2JDqSrFGvhonU"; e_fb_requestsequencenumber="AcJZQEY4zAfj25ZczBHBptbIebEDLHbdn2bWVE31cup4JOrQg40uqvGxn0XI"; e_upip="AcLcRKdffv64A82kRvgwLdcyNSa3MxCO7-ZoGVOWjEjt8Wu1JAAgsfaxqTQGiSDeyeX9MSuWT-W1yEpGSyu-eoPABdFrK552ZRG1370"; e_fb_builduser="AcJ-PNtjGB1Pxn4sRCC2J81de6FVmNAXa-wmlPXwcaBxaj7LPTSsHfpt-VMddryJdGM"; e_fb_vipport="AcJMgG-XbueV5U15-MjPwUDzomyTmdN7qQMdSxnTXgDJTfGduNeUkj3CxlFr"; e_clientaddr="AcIP0jdlyTmax6nvvlAgCOQb-dya50g0DjhqtQRAlU17IoRKi2cQfm474FlDZUQnCzEPnMh67y5AaIETIjJLcgmahU0pGStW08S7F7LgIdprCfmnLg"; e_fb_vipaddr="AcIzf-0LuEGqWuZArDrtrarJCnM6vu_cFGbCdn24A1Dgas9qfIi_yk_tsOrU4ub6dp5IHCR2_2aQCmKqW5LvfkQ_pBuvanWGkA"; e_fb_configversion="AcIRIDq9kvz4te25ZQpmxLEtz0_E4HOL8yDqYgDX3QyyTOMjHyWSxWvHzsEHFA", http_request_error; e_proxy="AcIq5WVjDt6dpnAN0yV08-LLC1NGcDOw3aGmOQhA4cuwHgxIaAQNF0qmbqNHs3u25WIBnggs24_isa0"; e_fb_binaryversion="AcL8jdk3LlMuCTJuVlakzQmUVyRxw-xe-gwfDsC3UYhqywt1tcfSmzKmf093iy8rc5LGJIjRecYHhVVZr1Y9WYgJFd2-EswFikA"; e_fb_httpversion="AcKbI-DI7U4KRvi7FkC8Y3bHfLCI6jdxTOaUJMzVWnzs1J4-K9QyJ6PHMqZ4"; e_fb_responsebytes="AcKedsaTiGzjGnWf8pSx-ntFqdiENxEhCQSqgVCgTxW53r-NFSM-TlPd30hJ"; e_fb_requesttime="AcKSZE4I7dPvVfYuvm57GeeO1kUajbl5AtLLZv8LGX3qNfqOEq6_8Mp0Hk-Imk1tTyPBw_YTcg"; e_fb_requesthandler="AcI8kHRTDCaDtThmgNsguPnAD2-fNsC29TyHSzL55mhdSbMVIA8f1n-tOYYqE4C2yoUtyzFRreI"; e_fb_hostheader="AcLdHuIWyjGGL51qhrH44u9lEarCzYpGwdTCxn_iNYDhM06dWWSEwOTv_mjXiL7POYzkFPVSzDE0EOAK"; e_fb_requestsequencenumber="AcK0GiSIJ-61cNw9UTD5vDfAdt5O383sXJuanO94v_Y_wNQAHPbJLbSUAQ"; e_upip="AcJDyWDK7_BeApfEXwxuebD0Au6bBB_R2pKr4wsZuc1fLUEFZMOQ-CH8ZoPcwnapT4I2G0wPy8GxpsXtMvzKjPLX_-H5W86l8w"; e_fb_builduser="AcL3DP6NX7S6fdewVHu4b9of63GpSVU0cKj9_F-hYJg5e4h9KiF9_MmKBStjQF76boY"; e_fb_vipport="AcKyF2e8tSYs6CFFipz0M3KvP9NaAoPrFYDhfeMM6zGK9gpQ5t4bnYihK6d_"; e_clientaddr="AcJD21bQQ2MHbq8tXZ0MGjNAsUyfD1V8OMQpEsSE74l-iPcMWB8dLfeRw6KmTAxURIBZYLixKQPxBuHlZQ"; e_fb_vipaddr="AcJ-0l1K1oF98WECRBnQw7xSp91_5KDQTbvFPAWLElsSNn1hIEZ-G1CCfUAPE4pdRk_Nb2M"; e_fb_configversion="AcKsWh-JrPOVYf03ZpzVxY6V2N_q5Pljhv2MesgfsywES0m2fXLOMsA6F1y-eQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=29, rtx=0, c=10, mss=1380, tbw=391, tp=-1, tpl=-1, uplat=189, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8033046916783991"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 10/01/2024 11:40:38: Request bot not found: { id: '138894166495332' } 10/01/2024 19:30:42: Request bot not found: { id: '863113247096430' } 10/01/2024 19:43:30: Error on Persistence - treatment | error => Persistence CRON - Conversation as finished! interaction: 66fb05ab11e0a671f61d6374 10/01/2024 22:38:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 22:39:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 22:40:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 22:41:36: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 23:26:00: Request bot not found: { id: '1852395741674621' } 10/01/2024 23:26:09: Request bot not found: { id: '1852395741674621' } 10/01/2024 23:26:23: Request bot not found: { id: '1852395741674621' } 10/01/2024 23:38:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 23:39:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 23:40:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/01/2024 23:41:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 09:57:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 09:58:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 09:59:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 10:00:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 10:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 10:57:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 10:58:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 10:59:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 11:00:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 11:01:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 12:47:26: Request bot not found: { id: '863113247096430' } 10/02/2024 13:44:31: Request bot not found: { id: '128159377280665' } 10/02/2024 17:33:33: Error switching inputType 10/02/2024 17:33:34: Error switching inputType 10/02/2024 17:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 17:40:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 17:41:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 17:42:33: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 17:43:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 18:39:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 18:40:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 18:41:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 18:42:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/02/2024 18:43:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 04:02:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 04:03:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 04:04:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 04:05:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 04:06:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 05:02:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 05:03:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 05:04:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 05:05:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 05:06:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 12:38:30: Request bot not found: { id: '1591915494408146' } 10/03/2024 14:34:48: Request bot not found: { id: '234064353428134' } 10/03/2024 21:40:20: Error on controller payload Input Treatment=> type not found 10/03/2024 21:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 21:47:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 21:48:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 21:49:34: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 22:46:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 22:47:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 22:48:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/03/2024 22:49:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 00:42:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 00:43:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 00:44:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 00:45:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 01:42:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 01:43:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 01:44:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 01:45:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 01:46:28: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8184399944958947"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 61649787, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v15.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v15.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdOG465NjZt2Mds0nd71ZPp', 'x-fb-trace-id': 'G/AxC4gmH8E', 'x-fb-rev': '1017050905', 'x-fb-debug': 'srT2GOii8+Et5G3IsMg88Kj5z88JDydGqYC7+uyv1pW7T3Ju0Mqec3AyIhoilwKYtycQVHUzBN28fDnJj3lVug==', date: 'Fri, 04 Oct 2024 01:49:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKNH2JCfET9lbnD9pAnpbLTnxWncBUQPKAZ7nR84QucMIUaAHUAWOfdwnilW1PmhAFFcv9Ek2go5yeM1zYz"; e_fb_binaryversion="AcLVeiEAWMA9c8F2dzEluUU2L8KirRL3lz9D_aGuOLzpQ1fbqGNOLJ7sZOo8nQM3guZXoJlKNJ1PlEHxAyg5zdMB4sxN9kB_Mt0"; e_fb_httpversion="AcKH2lH31s-VRTItjBxoZeRF-Y-754p1n6t_IuzrQ7Ml8h8UC3yQ7IxQOwgA"; e_fb_responsebytes="AcL4wdaBXfkFGZJjfC5jHnP5JVaIuPB8kZoadQVYKKQW9-sY1L4IaQ8rqe8R"; e_fb_requesttime="AcLEVO1OsE_14wn6N76BS1Ju9NJxGmrkcnNlZCUkZ0l9PlZuajEWBjM4Stqc9EwTeKpL_97f9A"; e_fb_requesthandler="AcKiE4vcEE4-A8-8nMp_q1rOAMtq2r6KcH8kdWm87xl3-5azHV4cw7_0_a-5bZRd0U2WQW-Qug0"; e_fb_hostheader="AcLGlV_qQTKP1kg3H0V5TrPQftX79-qxQ2YjiJwBuz5LoeyWUSoEZ2vqfUtuoZhkuiL0L4gCLbRq92kV"; e_fb_requestsequencenumber="AcK0RqszR7bv5TON_VAPOVrNJ3xKlucRWJ4N6WIsyG0-wOamF7XFr4jSZCue"; e_upip="AcLwz52fkwOBQp6_SvfsDy_VEqt0N0iJbRc24p04-558DeN7-8Blo1If2VE027oxOO7JJMlN-0S0D3QzCTfQn-0xgtZlQre0kEhZxkc"; e_fb_builduser="AcI_F7H5IwL8axIPRvmoCd-HGE57xYGJfsZX2plLqA9cdzPaD3bsTVL0xpmUpU7TAuw"; e_fb_vipport="AcL2b3hoVFqhkc7VrVcXyCeHaRPhFibC8pz4tIyyLh4dY9lXbgXgkPuP9B8M"; e_clientaddr="AcJZTjB9dy4L2OWOI1akg4LS1Q7AiI4T6_tPeQsb_UpXwVjGYWYTXgwIEJiWzb9x46kIVbhvT1j1RoPL66xZcgfltyLN6nFYpKvnP9Hg71akT_WbIw"; e_fb_vipaddr="AcIe9JmizdxYcH8iohNrsoG5D9mqe8ZTMUmMwlsn5H2ax3XKG7ej44SfS5OkV6TI5gBTirlNgucS8XWWOMxWGwA7j6Wlxl1D8g"; e_fb_configversion="AcLClSUX0_xTgUjLRDKnBafZe5QpO127sYhjb5Oz6k7mfKhrjp4_CoMQpt0D4A", http_request_error; e_proxy="AcITfCoTSeLpOEavg8qLIXuzRO3gstuHX-M_wDmY-qmEaMIqtGq37_cTvGfdD3JCmNGvORwXlCZSdwo"; e_fb_binaryversion="AcIHEXyHBdAE6jvPTX1K6m3KbBMf7EC96QFNigS2eJx1IKAxUcqppcGrZfO4y-vzV3w_4XrTvCwxdV5NoxQKvBpIN0qgvVZoNI0"; e_fb_httpversion="AcJcRrarWGe2nYT1-1lEFEwN33jIOWPFekjsUN6uaGadq-w88mpE5HtesMym"; e_fb_responsebytes="AcKqdUM9l6bRlhZJm5hgvYaTA7rCmzPTIJ9ZCH5ubfyyregsU1XM40dhKBaQ"; e_fb_requesttime="AcJvJ0R_n3PEGhhY3Tgr6y8-9Grhk82My624dfbYi5qza2QMH2Ovp19TiZo3SwGyeNevGtC-Cg"; e_fb_requesthandler="AcINw-SKymp5-Q3VgpAFWOUkCo2UFzzDy3KadqOJwp2Y9jKVQuBxwzjH6zRUt58SHXJ3NCH6HjE"; e_fb_hostheader="AcLE-pwAkf_fj-Kgp3E85ngouLmv3buOzzD80vgta7sIVa-qmepyNgwhnQlp4_0qYnxr00Jo_rgWElsc"; e_fb_requestsequencenumber="AcK6qsvt5KcHsRuBvv-UVaH5897fSHZCpFTFMdOThzoZxR5xWIwd_jiz2Q"; e_upip="AcLAze0lHwPfwzylyWRHzFuJToDv7GSi3TiObLW7H-xdm7143mDtlTqEUQlEPGOt7ghOi2c9L7LvF5qdSIbjQIilQ1Qml-oSzQ"; e_fb_builduser="AcLCI_9mkaFgGMUyE2ReET2QSI-d8HnaJ33Tk1Gj_QcJbGE1GHHzfpWfitAs8rW00ZA"; e_fb_vipport="AcKVakGNVDD3uddyCQEZwLBfAnqcomHvfUERzy7i_jcNoe136shbFpHooEk1"; e_clientaddr="AcI3UiPzEwNPKdnUpsrZ2qfP4wGjHzqkOPAJj-Jo8fONvNU2J_7nTsqYZV-Hcvf6ukTjbJF1b9WtDt0_rw"; e_fb_vipaddr="AcJhso_hCrsMbqWzvZjAyLiARB55AEnDLBGqfHgyp4B2Lq-C_z0Q8nniteyObrdoIArLVg"; e_fb_configversion="AcIOVOkxlai7FTgmQIfRWP_G1Z4LXhnSMGXQVeeiTU5vwqKZdI1NTvkQEpmhlQ"', 'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=10, mss=1380, tbw=3405, tp=-1, tpl=-1, uplat=178, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8184399944958947"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 10/04/2024 01:46:30: Error on send one message facebookId => 8184399944958947 10/04/2024 01:46:30: Response error send one message => { "error": { "message": "(#551) Esta pessoa não está disponível no momento.", "type": "OAuthException", "code": 551, "error_subcode": 1545041, "fbtrace_id": "AEvs2vc0I2tYwwqZCQhNm_7" } } 10/04/2024 01:46:31: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8184399944958947"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 61649960, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 44, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin', 'access-control-allow-origin': '*', 'x-ad-api-version-warning': 'The call has been auto-upgraded to v15.0 as v2.6 has been deprecated.', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#551) Esta pessoa não está disponível no momento."', 'facebook-api-version': 'v15.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AfhO4QZfYMrgHB5GPAmqloJ', 'x-fb-trace-id': 'B5q9/9vB72j', 'x-fb-rev': '1017050905', 'x-fb-debug': '2AE5GmuEC/qYjkKcSNhDxng21l2NyYTOZ+TR6VZCAiEs09H8q58jopQlsNvlCvLxo3G5c5TykfV47mmtiHaR9g==', date: 'Fri, 04 Oct 2024 01:49:02 GMT', 'proxy-status': 'http_request_error; e_proxy="AcKw-rVZemfmx7f8_1vPSE6_vcnq2n-0JklLZ27_oZg6rcK50vAVzLY9nJXoo-lEjLWBtlMAHNQ1UERjQR2q"; e_fb_binaryversion="AcIYRIar_F97ZmEqkMBjuk20Crlwk0tVgRzftpuRORG5tN_xm1_jmviJYJomrTuG1FXdsYnGTCKfDw7SI5AFLw3aofPN-cJdiOo"; e_fb_httpversion="AcL5WagI7dJR-XbpdBwRVAscxDJ-r4fJBtGGSEd_TIP7JK6MkhUZkdkTbYK_"; e_fb_responsebytes="AcJrex2G9q_Vrj1wiL-Ls-TkJQZaaxlKpM0z7LvHMnRyTwOhFRly1qCROWKq"; e_fb_requesttime="AcLiaOsa6-opgFYF4joJ2wFRgBgWJhNR6XMJoec1DytIXiF-PmNHmKcb3IEplu5rnHg-_wUXPA"; e_fb_requesthandler="AcKmGUDASm5KaFGUEs-KCRR9w8jheq_yZ0M9TMitTTVrScV9v7Z9M-gA0ifz3iE1yZA7350Y32Y"; e_fb_hostheader="AcKJC4xsapyQQWA2tFw8XCAEOFQQXxcs5bh3fbh-FtF-h-E5UgMkiPY4B0e0ThPtK_Nf9Y1xjB6CufRi"; e_fb_requestsequencenumber="AcKRJU0ypybNnsHG_RfBGLKw8AffkfJ33mDHHwCweXc11iPMO-PmCydjM13rIQ"; e_upip="AcJbUwDwURiBdxY8L8rUN28zKu4Y4zVU-sj73mA2Qj5A3rDvHHKl-KLjGC_WaZHLQ2THQPQAfrWC0KtOUu6ygNPSKEdQyE_NwCGz6g"; e_fb_builduser="AcJA_01-TOY0G1dVZS85yXQ3TCbmQEU07d6-vDO2EvTxEvQlEVPeh8-C1gMjcg3KK4Q"; e_fb_vipport="AcKPQn6AIDWfDHtdAlC79FtOcIAuOTM02KVPhqgBmvKYhGNJz8TrClEZ3vvY"; e_clientaddr="AcKH2_KyPeaYS2ANBkf6kb6YXMjZeTc8hpKNm8r9O5liXOuOCsDZ0CPmjmNG36E9PvIb9IYR2o9xAKDa7zSih7W2vAKe7rHhesLyTxEktoIywHCCjQ"; e_fb_vipaddr="AcLSZfKkg0rmLJ7ca7k5dhIIJuX_yq7xcFCnTTCK6dM5x1DMaycS8In-Ckpn31Lt7LE8w5Ud6VMPiR0UaoxAs2jkOTzXymDJPg"; e_fb_configversion="AcKeQGEL1mCc6enlyNRV2fYRq7hIUkCB8rXgmyyLs6y4I8-2Xefn7C-cpRreyw", http_request_error; e_proxy="AcIZpz-X0hG16ne5GvsRzOSdRcwAJqj_IlvQJRNGLpWovY65kUKSHkxd-MUv2vos35uyOhNaZ2o67Dc"; e_fb_binaryversion="AcKNBopuC2SssIcYFPnkKZZE4NrIXoVr2qCQbyG6Te8K6UaS9MPiJXXQDDhR8uDxt5ieG8HqjH9UIcfouF_KBfhRwJAYRMZP3EA"; e_fb_httpversion="AcKAydZASiCpU9_Iq7fxXSTQEU8Y0FKgzIn4oCDjRiNeLUxLDX9cGTGOLFCQ"; e_fb_responsebytes="AcKISY8bmYHHSXb0TAwvdJrKDSPYGYJIOFCPXV3ZDf5CJyJ1tfmJpmO-zuZO"; e_fb_requesttime="AcISbiDQyi7qCed97I_zCXEeaRUWWe3aQEXU9-Q7ZGA8LhMQf8_12SV86bqdPHbnWPEf4RPU3g"; e_fb_requesthandler="AcKS5Lnn79WGIpbE1hW7jTTn740cng_9sL38JDtg3RfIKHsQss8xjA_4zxaznpy5ysvtnvKjcI4"; e_fb_hostheader="AcKx05R0XMD3qahhY95kPrkTOAtNJagS1vvWB8MvXHEDQcDohU_FYass9BKufreuXE25z5dmVRIBI1uR"; e_fb_requestsequencenumber="AcLPo_4O9uCtAxbLeEaZXS1UCHSb85X2ahU1z-9gEJ9frz2SB3wV3ONFhw"; e_upip="AcI1OdunRm0eUxa_sezDDir_c60iKR0C3fSK59vmWQw9qa_G7lBOpemuct6Vnr8JKt4xNYbPxT7lpgJkIguky6oXyj-XjUpYwQ"; e_fb_builduser="AcLU6QRWUzer4quV5m3bq0xrz_MGBh2t8vQuYDS8b_BMxemWQ0MMwf-lXibc-_sWSbQ"; e_fb_vipport="AcI7LBPJcvLLVj7qYkE2w0I6mHAaUzcbXTuAi0DRMvos-ZMWSW0VA8xHlxEt"; e_clientaddr="AcK_Cn6fsQ_5IBvk6V0fQ2-flY345XTIPhCM6WZN-Y4UYLN9t6o3lbhP52-N0eK5_PCoKeKlF76skmk5mg"; e_fb_vipaddr="AcIZvlMOZ13OcqCb0UlbV2AfRPpXN5Y0luGUjsMtfNvULXIL_6qf9QeCeaA304vcvuo_xw"; e_fb_configversion="AcKDiEFk8DVzTujWYGFSDVBziZn3-7gsOx3WJWD4Y8y9nDHC-qAc4yQhS43wkQ"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=157, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close', 'content-length': '187' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', data: '{"recipient":{"id":"8184399944958947"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBOZBV0hYp9sRt5tDGkL5J2katOZAwPpysVpeWJZAsr7AlsDOZBbkfEKKoQqqMKN7WH9q2afIWkrCk3KY9fOLbSFEhiFmNMZBjK3aiql4Vmfuxd1kcOfYZCaAXuIdJKWiZAwi8ddpHFXKIPnV4QNOCW64BeJEqQu9fi46U0ZC8O3XTCKYUZB61YC4tZB', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 10/04/2024 02:03:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 02:04:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 02:05:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 02:06:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 03:03:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 03:04:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 03:05:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 03:06:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/04/2024 16:20:41: Request bot not found: { id: '863113247096430' } 10/05/2024 11:48:19: Error switching inputType 10/05/2024 11:48:19: Marker: 0 | ID: 6701278311e0a671f61d6898 | Error: cant_get_message 10/05/2024 11:48:19: Marker: 0 | ID: 6701278311e0a671f61d68ad | Error: cant_get_message 10/05/2024 11:48:20: Error switching inputType 10/05/2024 11:48:20: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 10/05/2024 11:54:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 11:54:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 11:55:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 11:55:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 11:56:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 11:56:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 11:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 11:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 12:54:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 12:54:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 12:55:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 12:55:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 12:56:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 12:56:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 12:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 12:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 15:05:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 15:06:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 15:07:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 15:08:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 15:12:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 15:13:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 15:14:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 15:15:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 16:12:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 16:13:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 16:14:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 16:15:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 21:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 21:58:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 21:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 22:00:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 22:57:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 22:58:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 22:59:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/05/2024 23:00:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 21:35:21: Marker: 0 | ID: 6703029911e0a671f61d6afe | Error: cant_get_message 10/06/2024 21:41:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 21:42:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 21:43:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 21:44:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 21:45:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 22:41:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 22:42:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 22:43:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 22:44:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/06/2024 22:45:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 11:18:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 11:19:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 11:20:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 11:21:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 11:28:34: Request bot not found: { id: '863113247096430' } 10/07/2024 11:28:40: Request bot not found: { id: '863113247096430' } 10/07/2024 11:28:43: Request bot not found: { id: '863113247096430' } 10/07/2024 12:18:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 12:19:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 12:20:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 12:21:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 13:02:26: Request bot not found: { id: '863113247096430' } 10/07/2024 13:02:29: Request bot not found: { id: '863113247096430' } 10/07/2024 13:02:37: Request bot not found: { id: '863113247096430' } 10/07/2024 13:02:45: Request bot not found: { id: '863113247096430' } 10/07/2024 13:09:23: Request bot not found: { id: '863113247096430' } 10/07/2024 13:35:26: Request bot not found: { id: '863113247096430' } 10/07/2024 15:05:50: Request bot not found: { id: '863113247096430' } 10/07/2024 20:16:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 20:17:32: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 20:18:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 20:19:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 21:16:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 21:17:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 21:18:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/07/2024 21:19:30: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/08/2024 15:23:20: Request bot not found: { id: '863113247096430' } 10/08/2024 15:23:22: Request bot not found: { id: '863113247096430' } 10/08/2024 15:23:27: Request bot not found: { id: '863113247096430' } 10/09/2024 17:13:29: Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'https://graph.facebook.com/8393269254042365?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: undefined }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 63179087, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'GET /8393269254042365?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8393269254042365?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/8393269254042365?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/8393269254042365?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'ARePp_z3xRgApz9naVb-p7G', 'x-fb-trace-id': 'DSFCNIq9cGp', 'x-fb-rev': '1017188272', 'x-fb-debug': 'bv6FnJyA+39NIpb6QGXhAUIMN0eOln6khTtKBcsirS/SZH8ew63MsKhsN3g+7SXV6S7N2KTEARDk0znvbuMbIw==', date: 'Wed, 09 Oct 2024 17:16:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcIcVips-Ch-1OuE-tiOOTbF9WcrH4ZGU-W3rJfZ5cc-xw-a7QQuLhdjs-rNqkI1WR9vQC-FTL902nf4IHO-"; e_fb_binaryversion="AcLyYm1v2lD-dsQC_bh6vqEWIYzMaoaYW7jFDzS3XOmQRsvqXN2aCVuWi-FSexqQT83eoZWre4870pm2Fk65P1gc4ssFX8H7vfk"; e_fb_httpversion="AcIxfSIZyv1V_n8UKf3WOOSFB1hW49OoatMpSxjjqbz2A7sXRtqcJNB0uBca"; e_fb_responsebytes="AcJU8_A1WS-bgOveg7M0LiBTr-Mxqw4Pxbx7DZ6CRVKhYb4kT5GXP3yS0DE9"; e_fb_requesttime="AcINBjntIza8mUxqMQTJWRPgiWkpIXZ8FLXoHx20kmhvUU_7xaVdpjMpQUVUiRCB4pOLOUZUpw"; e_fb_requesthandler="AcLrjVhaC9CnJkP_g04YkV3ioNvyXKQT0Ut_9zal6LiGcMskZtwQ-D7_6Gg8XPgVp13sFrcQbaw"; e_fb_hostheader="AcI58BXCuq9bfN2SAwHtbV7cb5l1CHm_xB6vRwjqujCmpVg62t6a6CPNBlDrOVNaZFpG1HcE6KrCWY56"; e_fb_requestsequencenumber="AcI_Moipwpgllrl13TAuSuJd_YtE9cPQYwo9psisLjlFVFRFJcEORTliiH5SOw"; e_upip="AcIk6LpCAGGhT9yiNLZrORL3SL1eHybG5NKu1N_PlhXUjE4WRNRell_DgHh_1HgaCrqDoAyFIXEsP5_hWh9QZByQFqyHgFayS-sXlg"; e_fb_builduser="AcKSrTcz250bczcmrwn8TUroTKRc9eDYI1xJnTSagmTQLEkzEXOx9Q1bulRBdJK144o"; e_fb_vipport="AcK9Yf-Iep-mPGhLVKAj6lcq_T9uuhp1DoP7hW74Gm8DNoCa_AZPEVVTgdQb"; e_clientaddr="AcKYKfneA3Xgv8t9F6__xi5_Q_TYGo2GofbymdAHVVMePPlGB1_Vlt3XQFJpnSR4rSPlysLYE2B1rK1vP-GMVVdvO8WcgbScbyvya-da4W2b8Ig"; e_fb_vipaddr="AcKKMyszUNjT80kIcQOCnfFt1b8kYT3ErHvdC_2pvnovhBTUhTISVIbOgf_cKTzW3tLS0mPtB2o8-eWu4EKEXWMdzll_YLeAkg"; e_fb_configversion="AcJQd8RQco2uTWHLfs7KvC8g_wXgxlZ-egumEIB1kcedHuApWKQWPGQhnfHwnA", http_request_error; e_fb_configversion="AcLtzi6R0k-opA0CilaqmX7h_I4hKVX_kS5rGP8Db4KyOU_Bn9Hs6wcaNnXTOg"; e_clientaddr="AcIC9x1sJqEhYS6p5nCsZhZBEycj9NxkNutUou3bJduv_rbJqc7FNDYwi7xWdy85RxNF0VIQ_9sG5Yu2uw"; e_fb_vipport="AcIYTH6ACiHzwrW_ZQt5wwH3YzfaB3zN4erWUfm9H03I29QdVuoTGlO38WTX"; e_upip="AcItzZbSyUYUcUW8MaAKLlTQQ7Shm5PEBTx6RIW6S1srYQRcfP54hrlejUxreF8Y_UlljUEQyjZ1h2IxgSsn76InG4D81ygcTA"; e_fb_requestsequencenumber="AcJzcVEIjIYFj-e721O8EVgBSbBrLOWt__W6bD7GSyJucvKuorQTVqg_KQ"; e_fb_hostheader="AcKsnFBR6mgbfYzc1_WlROXl9lIBjc0-DVD-2eQpR002VLPRFtPfLKZlPO7cDP0LAkDJZpa-wZsxrIR-"; e_fb_vipaddr="AcJKeXZgg5U30KcL1LKRfH11w1C_3o6qq0nNgHYFAu0ZLThfg3AvYe2cUuHxY7TUrNe5ZJmsjP8"; e_fb_requesthandler="AcI0I67TVPR82q_X1iTBghlAKHtjrkVwpe530EHzlNTs9mnoc_g4Mp4Is_Go-nUP_kLqKuMc6l8"; e_fb_requesttime="AcLtN3OZOXAwSbnYsxhcpuNYx_x1QisP8T_RRlzKH4O-VjyYrzwV8pOlS-C6uSv9-mjV0I0_-g"; e_fb_builduser="AcKA4CVRfq6l0mWBVgBh9JDUzVkTN045Smp0ZrMnPL1l7hAWItwvHopoWc3r6dFHfKY"; e_fb_httpversion="AcIc1dTaQChGJZv84ZALMaEGsublxBr-DgJDTlhKYqmgSDxIr0ehT36R9ZsV"; e_fb_binaryversion="AcKFVTbxCU1rs_ni96JjRU7tZ_KZ-Ta_rt7N01SdnBU2AEbRPnjM8GHTEcJPDujhNtIhaeWluwqc2gTtfpKXTBBu_mpS0-EHCrw"; e_proxy="AcLBqeLNsmUOvLZg52Vj6cjMdWvqhu6k84igB-VwE7CcDQ26qry-aKSO8nRO5yuzl-d_86byx4Czv_A"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=327, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'get', url: 'https://graph.facebook.com/8393269254042365?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /8393269254042365?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: graph.facebook.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/8393269254042365?fields=name&access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 10/09/2024 17:13:29: Error on create conversation controller => Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 10/09/2024 17:13:29: Error on update updateFacebookInteraction Error: cyclic dependency detected at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:333:34) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:729:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) at serializeObject (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:347:18) at serializeInto (/home/ubuntu/api-facebook/node_modules/bson/lib/bson/parser/serializer.js:947:17) 10/09/2024 17:13:30: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8393269254042365"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 63179223, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A_uc1sI81cL6Yd_x7EDziSt', 'x-fb-trace-id': 'GwR1kH+xCjk', 'x-fb-rev': '1017188272', 'x-fb-debug': 'cZbE9ka5GCFg+zIuk8KTaJB3J57HoewQqr1ZyTL38D83ojd1bdLXkl2WgNkBol3fnvR0wpWWEWw6+tBp5xMVtA==', date: 'Wed, 09 Oct 2024 17:16:05 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcL5axFOZB1UU_0IcEH60-FU34jZ72bwSq6ZsDtR3-BaX0hyxHKWOWrNWWsaJMLt319scjEz9BAmriOGoIg"; e_fb_binaryversion="AcJLDRNqQaKOoR4rFHvHeKTej4J-5D_vKlHe7h1dna2R9pDq6uSd9E4-tn0D3GNyzqSeDIXTlhx3Gpex7UPanN6P02gIT1e8FeQ"; e_fb_httpversion="AcKuPT28YMJNYgqBBXbb2cjWyWjsHtlPteBInbTkPIcEOAr1F7uvPX8PZhJy"; e_fb_responsebytes="AcLHmTaQ47I3e9BZ_5pr2MieeGCbNCe2-2_I58uvTpYBkIinH4BnlTSnlHrS"; e_fb_requesttime="AcJS2fAdWcOiyj66UVgvIQeoNomvGgl_DGNT9MXhEGOEgHOFd60y5yh_d6VbmyF3VVW6jOriAQ"; e_fb_requesthandler="AcJr-ayTKodMd172gDaU8-E5i-nci7-hJ3KHBVV4IX2slhNAbztOHyxpni6SoHkxu-dwwXJWUh4"; e_fb_hostheader="AcJV62TDU6oefg_6omHxuKKg2GF-GiJ3SP4yD_fWa4q-2WSEiYda2gWZBvCcSPmRq6ELVVmsjzSlUojQ"; e_fb_requestsequencenumber="AcKDbKRvOrzYsoxQUQvHIk_FN89YV2iMoTHpMeLTUg5npKD75v1mdoK1N8H3Aw"; e_upip="AcJ94-4hyopXdwvGSJmxymR0gJAmhPesb7lPdbYVpF9diTGrQovZQWCQ2gqUmiHzsaeA7rUrbiv2fsJcvOmIstNSSrR5LvKDvPSVC3U"; e_fb_builduser="AcJfMS2-RKKbOmYvxHUoYos358fFWe6KK_Ez5zWH33vt5nTpsQe9WCegMaJlmQipAX0"; e_fb_vipport="AcJcXcRL3cFSWlShAEiFAtKp8IXVG2BQWPovTE1gm0YzOYcAcIJ91jXACZTU"; e_clientaddr="AcIDFWh5DvNu_BnPp9ZQpP90_0UEkuQQbYSKAinz5mOxLr8VKs3fg5KIXZ3_zpHlJJvd39HuiJc9_Zabv-4ZnZSoWjIvGHSwdgDJbFG6s_K3z2JDAg"; e_fb_vipaddr="AcKnv1io-jUAGKWTQn88u6ySfm7f-FFCoTzPppYocSY5s2teF5JSi-6AJD4K7JqHTtn1TiK3eGR_5t4NLqvrFl79xrdrk5oiHg"; e_fb_configversion="AcIVRSQjdVZWFQFHQPvuEuyBe19_0WEK4gmLzSC2ps62aP79Nc2UVN_OT8aZ6g", http_request_error; e_fb_configversion="AcJnAblMADmSSzZd9o_3knKUzJ0cZ3FClcgu8-A8Vk5zc6jLM2jcnGKGZVKJnA"; e_clientaddr="AcL0r_5C3l2rpegjjK7y2i_cKxGCoHnC6IvyPN_IEd0YGIP5bkxZn2a-k7rYXtHI9V7qPxwiNt1ZqJ8RUQ"; e_fb_vipport="AcKlt9nWdzOHWk0x5LLLRFGqpYd64z6KiU-EhHMwZI-lpTd-uwqeETlU_GJI"; e_upip="AcIQpDNYshsyWlcz4OwJZnwLix_Oqp9Xqe7eoopV4juG_48ojEk4vtcmfEk2_yHZ-1D6mS_6JKDMNvh-HCQpBS4Vq6iZX1JpPQ"; e_fb_requestsequencenumber="AcKpRgn7VVYoqcp6qN1Zt_tTDVfTOFZxrF92SADXyFUGqv-vBEjYVGyhZA"; e_fb_hostheader="AcLY5n3RNQrOlzaSjm17XHuQgSpKPzxzY15NGbkRgCoKDjzdStCdEug37Mh3FgnTgTcITRIReu4rmrdT"; e_fb_vipaddr="AcIImTxkSDPE22LMOCzcre5GLVRPPk-oiVUtTiF9XMeFBtNLmQaekwHICUS5XhKO4ls5Vw7LjBQ"; e_fb_requesthandler="AcJJGVoMGpw5t-241AbZoo59zulNIZMI75Fd5Wa4rKdMRAIz0_8PC4oxsFKSmLTzXuxNFRrRmKo"; e_fb_requesttime="AcIBetUlpGRRqzEe9l_euBgSDibYSXw7b0T8eNUjYqTnZPkT0y3c9EJt8p2hMgxmiC_y_navrQ"; e_fb_builduser="AcIDW4L7RgsENUhMr9d1bfbUYSpX2OPubMIiSlL1tUFRMZglD5RDH0Xu4srSVXIqu2s"; e_fb_httpversion="AcKuFvtOmOWkXWiLG7OoXANpjXSQT0U__TgdZkSSGAQUiQXnKEY5DjCNgQOE"; e_fb_binaryversion="AcJxqyYu3H3zI8z1lvTF3ydRmRJtt_VMjL47uI690zBXa-G4PRmGXCMK_T4kTZew7i7wbZkLe1hdC4ocsTQfRSyO-HcQA7jFzBk"; e_proxy="AcLw8MJnQbKubcNlQGxjIpk5JefRRzaQRX8F_TmZdsaTjLEqWCnSHtD_YbgoYDKSLicd3qZlfZcQJBA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=216, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8393269254042365"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 10/09/2024 17:13:31: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async initFlow (/home/ubuntu/api-facebook/controllers/flow/init_flow.js:21:7) at async messageInit (/home/ubuntu/api-facebook/controllers/flow/message_init.js:84:7) at async Object.hook (/home/ubuntu/api-facebook/controllers/flow/hook.js:18:9) at async /home/ubuntu/api-facebook/routes/webhook.js:32:7 | 6706b9b911e0a671f61d6c13 | [object Object] | 10/09/2024 17:13:32: Error on send one message facebookId => 8393269254042365 10/09/2024 17:13:32: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AH6rMj_LS-o7vqB_hDVff57" } } 10/09/2024 17:13:34: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:182:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 6706b9b911e0a671f61d6c13 | [object Object] | 10/09/2024 17:13:34: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 67 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8393269254042365"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 63179305, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 67, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'Apurl0FhGH8sg7Dszwg1QH3', 'x-fb-trace-id': 'BGsYVWNx0Ue', 'x-fb-rev': '1017188272', 'x-fb-debug': 'k6q7k82ZmRe6jM1/PXC1L6+cVITUxIGj6Wofkdyzuy4KV7MWX1N7yzy9+zAHFHAxZaQXgTclLSaqZsU+AE/KDQ==', date: 'Wed, 09 Oct 2024 17:16:10 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJRV-qvgyCvDi2sGNIXRapCCrWNmbYhIiqrkg8jmO51taP-dYq0leimV9tTm0mjxWbAjNxgJTysM2MPESg"; e_fb_binaryversion="AcIzrQsWQRJvA0MxBInoL6GWRtTKW3mqaB8B-Yad85YzkOXUBx8nZCvwUVzXFwx8mPUxzndP_WS-ic-xUk6Nf_NR1JYHZUEmF44"; e_fb_httpversion="AcKRpNHU720osDU9Va-cHgMb4M0upX-0TlEGoqttWJA_Y3G6gGerDScM4Rk2"; e_fb_responsebytes="AcJs9Yxvi2kAWp8_uQ299yJvDPPXrhsG26Sfe4GfU5X5R8O8qVmU_vzMmtim"; e_fb_requesttime="AcL1igvCZv1KnFebw58nRJJVDCas7EKfGDOjaBWyxDo30cCcutWMbmZliuipIbTFZrVwVdPvfw"; e_fb_requesthandler="AcLrBj6vgf_soE-hj9XQfb_PUPh3sRzr4Uhuc4XAg4ljM8ccQ4t99Wh2gVxt91uVWr-pA903yWE"; e_fb_hostheader="AcI5lM4WiBxgAKoNkgywfsJbKZy7q3mkcYwZF7gMjI17JLDM7gP5yxDvwItNO-x-d8tb1E_CuM9GpsF2"; e_fb_requestsequencenumber="AcLyGdGVlv91XB9Y3dfgZTQajhU6FsCs_0dmy5JXPKHd70tGRaDRoMLGIm-vvA"; e_upip="AcKI_NtnMVastDp7COMt9R3zuy1vi4MdNab_eQudREsgpcTUMq2WLbSrSsWy0t_0R1qfjKFABA_xADzvGLcCt0E1ajo-zwK0iMY79w"; e_fb_builduser="AcLvYZlXz044BRYPEYpGCYjxkjIJ0S4ie7iehgoaeX15B2olsIrzXCBue6o1Lo-z0qY"; e_fb_vipport="AcJYI7QpJ2TREQ5n7GxxIVf0tZqGeTwKAK16KUEB5T_0Rt_DF1GbpQuoYKL7"; e_clientaddr="AcKvL2OsNuqFsRwEfbu4tAPv7KBKAWmEkwihYVJNO-SqSz1BWZfObiyL7-mbYB2f53uQvo9b1xLgepUbaiFmSs6IegUDlCo8jcNVgOsFxe0VSUdJOg"; e_fb_vipaddr="AcKYBrLKbAFKtuAXPfDnST1UehhPabmVSHTw4sMGuefWS0Sh-ovyJ8FIGOpBPwJ1gCPCjsgIH5lh1zYl1zJPL5zhCuXoq2mMIA"; e_fb_configversion="AcLkwtvpAek6z5YHBz8FydRUc8WZEf5TTLzooK8EK2lJMs2vIwPlXdDxobnCeg", http_request_error; e_fb_configversion="AcIJAwhwLT5qJVt1l7SDuG_Frz3AyiAtC0oj6nAlF8fq8HeNr2KYaReQlN8VTg"; e_clientaddr="AcID6B0vlLQqFPIviHCL49dCYmWn7OS-tX_rMuSfIti0Z35DS_AAyaWyWw59OlYjou_Vo2OKqO7qQLTB0A"; e_fb_vipport="AcLrvuCg9C7t237sjQZqJZpUy4ec0IDTiyWnsBiNJAQcCtqFfZYPm4GRVKbQ"; e_upip="AcKaB06aFJf-bZFx70U79QxLBGVDcxgSpFZtHBbr9ilZG2G5WUZ5PFwah3_qbcmJz2qOHHDysoHJrXbM4zSv29I7rphcv_19Rg"; e_fb_requestsequencenumber="AcLU_XLKYhJkqJLGojPsnrmzVs_gFARqfXF5tEC6Fw1Kwu2gv_hiJif-eA"; e_fb_hostheader="AcKKrC-8IyZsJ5FtNHPjDz72jwR3h-cJoI9_crgSOnnlr8pBBbVhKW9UYYNe110u8Zdjoz1wM8s6mFYv"; e_fb_vipaddr="AcL0JZMyxIW-eQ2xyyyP-TjIOqScVHgUtSkV2LHrJ_Ds__HiUdGJxWMwOsAJbQ5X4teOMaVoirE"; e_fb_requesthandler="AcKZ8zM2gHdwX30ku8SdB0--ctdtWVgDuO2QVr9cXs-crQNqXeGXnup7e-zxA6EiOvCv-f6VDkY"; e_fb_requesttime="AcJMa1ypW9-_WHcTIDUd8h_1p3nyPMtCw9qnsnZ9OgbQ5ZF72jeYzeLyhH5oQ6Kd1mOJ-FUIgg"; e_fb_builduser="AcJ-RCxX0rLGdQ8Nt7OHszRaV2s7MQnTCvYCFZfRjGnLQlXesSSyjlUXEtlMcSS_qjo"; e_fb_httpversion="AcLfMiSCaDoKbxFjz2PoE67KYyAvzk__XIk1L0fYs-Q9Hm54NLrmjFFxwv6O"; e_fb_binaryversion="AcIibWwILfGc3V5VtmzihyO6vicd_6mUj6LHKo7uFzc7p1kqEPDu5EfBEMUF94jlsSkdp0mJzsG9iRuUaOpQwrXCsWG6jdJnAZg"; e_proxy="AcL1ZWIU4NLA5eMDjUjdVseSsYXMq0dZhLokGwEjTMCAQMZ5kDCmVRvw81s1_jNE6d0A2piuMX46cBA"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=193, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8393269254042365"},"sender_action":"typing_on"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 67\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 10/09/2024 17:13:34: Error on send one message facebookId => 8393269254042365 10/09/2024 17:13:34: Response error send one message => { "error": { "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.", "type": "OAuthException", "code": 190, "error_subcode": 460, "fbtrace_id": "AJNb6DS37X9vutin0kRvo-k" } } 10/09/2024 17:13:36: Error on Update conversation controller => TypeError: create is not a function at updateConversation (/home/ubuntu/api-facebook/controllers/conversation/update_conversation.js:28:15) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.sendOneMessage (/home/ubuntu/api-facebook/controllers/facebook/send_one_message.js:23:7) at async mainTreatmentsInputTypes (/home/ubuntu/api-facebook/controllers/flow/inputTypes/input_type_main_treatments.js:36:9) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:75:45) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) | 6706b9b911e0a671f61d6c13 | [object Object] | 10/09/2024 17:13:36: Error on controller createPersistence : Error: Persistence validation failed: configTwo.transhipment: Path `configTwo.transhipment` is required. at ValidationError.inspect (/home/ubuntu/api-facebook/node_modules/mongoose/lib/error/validation.js:48:26) at formatValue (node:internal/util/inspect:790:19) at inspect (node:internal/util/inspect:350:10) at formatWithOptionsInternal (node:internal/util/inspect:2241:40) at formatWithOptions (node:internal/util/inspect:2103:10) at console.value (node:internal/console/constructor:348:14) at console.warn (node:internal/console/constructor:381:61) at createPersistence (/home/ubuntu/api-facebook/controllers/persistence/persistence_create.js:82:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async flow (/home/ubuntu/api-facebook/controllers/flow/flow.js:92:24) at async callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:47:7) at async Timeout._onTimeout (/home/ubuntu/api-facebook/controllers/flow/flow.js:133:9) { errors: { 'configTwo.transhipment': ValidatorError: Path `configTwo.transhipment` is required. at validate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1270:13) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1253:7 at Array.forEach () at SchemaBoolean.SchemaType.doValidate (/home/ubuntu/api-facebook/node_modules/mongoose/lib/schematype.js:1198:14) at /home/ubuntu/api-facebook/node_modules/mongoose/lib/document.js:2573:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { properties: [Object], kind: 'required', path: 'configTwo.transhipment', value: undefined, reason: undefined, [Symbol(mongoose:validatorError)]: true } }, _message: 'Persistence validation failed' } 10/09/2024 17:13:37: Error sending one message - async function typing Error: Request failed with status code 400 at createError (/home/ubuntu/api-facebook/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/ubuntu/api-facebook/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json;charset=utf-8', 'User-Agent': 'axios/0.18.1', 'Content-Length': 68 }, method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8393269254042365"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'graph.facebook.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'graph.facebook.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *1], [Symbol(res)]: [TLSWrap], [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 63179449, [Symbol(kHandle)]: [TLSWrap], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object], [Symbol(RequestTimeout)]: undefined }, _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: IncomingMessage { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 3, _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://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', redirects: [], [Symbol(kCapture)]: false, [Symbol(kHeaders)]: [Object], [Symbol(kHeadersCount)]: 42, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: Writable { _writableState: [WritableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _redirectCount: 0, _redirects: [], _requestBodyLength: 68, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', [Symbol(kCapture)]: false }, [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], host: [Array] }, [Symbol(kUniqueHeaders)]: null }, response: { status: 400, statusText: 'Bad Request', headers: { vary: 'Origin, Accept-Encoding', 'access-control-allow-origin': '*', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons."', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'A4rldqVd9ZULdk3AuhcaEAd', 'x-fb-trace-id': 'FWs4cNRDBEV', 'x-fb-rev': '1017188272', 'x-fb-debug': 'Hjq3io1Tmvg8wciuTAYuW/l3OxBNKebbaLIFBjFsO/dEnzrgM/rzZoSyteRFr3gEX/0z531o6tamoZF7q94HFQ==', date: 'Wed, 09 Oct 2024 17:16:12 GMT', 'transfer-encoding': 'chunked', 'proxy-status': 'http_request_error; e_proxy="AcJF3cQwmUp5eQkruN-mSjHdpxLsd_8UAfn-qgYnWRViuk33EYeuDGrHYP1MfZ-TTKjRUxDomNX1tl6yWw3h"; e_fb_binaryversion="AcJIQYBzEn-aWz-rgMwk_qJYRrV53pV9_JrdNfF1vlApv04oLnK76zxs4hJsCw-dLYXmRZvQ-AdoyxBAcR3mQ_9xcaz56Y1tqwM"; e_fb_httpversion="AcIp_wDabvQ2ib_FnBdJsy0wzQ0zAQKVbg7DfdFWEryMZ4MMBT9hYS0IQHdh"; e_fb_responsebytes="AcJwlkJvWmiK70zc4kwIziwbD1Mbdxl4P7MKfmX1xOnwhm1qznyWuFNlhBtC"; e_fb_requesttime="AcJ5DV-Fh3sh0B4Bur80NwV36dbVGrZIh6BPVCB29gvMcuOxelTOYlXIVbaok6Ck0XW2ZKg3HA"; e_fb_requesthandler="AcIAEl62dY7DTJMNuKlVdklhVHO_vYiuhLp5rAMy5w3C1iIKQZZjmmYtLCDk43wXw3uht_i5KvE"; e_fb_hostheader="AcI79p0dY_FNgdJJ2viW0NVtU_TvkokBj1mrCZe-_XmIMDalnM9UrUipXp7ICq8ANW3WEGamt133eo9Z"; e_fb_requestsequencenumber="AcKihAbeThQfC1Q22n6ceR7a-IoViwXpvmPORjXiH0fwGDJ_GXGX2XUii_8tVQ"; e_upip="AcJaL5nt408Mv-XPiIoO1dY9jFQ2FtiVVRNMrZayuJgQCtHl7GwO5tS-tFp_0Q9h9rLI-fRcqLWkalAXUZW5qccOOrT5g5ac-vMNUw"; e_fb_builduser="AcKOBbS7fuVM8-E04jA99J7KqQou2aOgSC2dmyULUZ0sB3n3YRwpWyUvsBPuaWUlRE4"; e_fb_vipport="AcKOyvgLfz057F_6M1WKQw81FakUXsHTBei3gEtRbGyordKFERkQPHsEV2_6"; e_clientaddr="AcLEftW5rpAXU_YTKc-8i_43F2a2rHpxpuiPIySfkvwjzVBgtRtnmEMjhV3JsmXujgZ2FqCERNk9pJFzK02kBDIs_2WezVU7gQ2GTgwxNyywIRzFzg"; e_fb_vipaddr="AcI_LhyESKNgWpAK9n5j7POaYExAM81kGXJMD8cBp6c5cCfMUkOhwY55l_G_9c3R4HmryjV1WVqcqsVFbegL9AhWYEyDkxaycQ"; e_fb_configversion="AcIRIOMkdbwHLlQR9fq2UkETzOkxyawFsQC22VDqe31LRCojuLh-dPOmiysgeA", http_request_error; e_fb_configversion="AcJRkcEpieFK1LENv6TtiRbVbsPTR2oahjiaeWcFTQuU6vb3FjZ4ISj8nU5hXQ"; e_clientaddr="AcI0Vg6F0NQT8cVz8Ky-Bwy7rTq0vM3ngeUKpLOS7-EDUv1HH_xHs0tN8edhrhifxAZ09VXNLg7aF2ql1A"; e_fb_vipport="AcKqJpfIVV551pNCIhpKPggnwtTBtGaKgEvDwux5oZeEbBkAc2QFLxYjaO04"; e_upip="AcIe6vXiF45quJlpIb5IdVeUMSebhY5UVsWU4MYGAZgvfZMlovuvIa4n9R5nDKuuIXnBBOagkGlutejsQtvUYqWpZxQDg4RozQ"; e_fb_requestsequencenumber="AcL4gJKbnPxE96afeOq_u8_TUoSacQ4UOfGs3fo1fpd8hNQiaSUBFjBoyw"; e_fb_hostheader="AcKPsKFblsLOIOYR8GxPFvpFMAaF9j5oQgKTEP7QQtXLv4sDYYYalbAOm_9fOodFYFpfASJTbcMq0BSW"; e_fb_vipaddr="AcKVjew1wEN1-f5DEfjgPyR-IY4uGSpUyf1qCOY4pqeY2YkuGYxvzXt0BWajrkLjqpOwKc-BdrY"; e_fb_requesthandler="AcLapNqDyloq22k1Tczwzeu_Jx5AylQAGf2wk0xEj3KpIctwOuCnU5NpqhIvOvdseLbGGgrkzW4"; e_fb_requesttime="AcJpDFDKnPqORxpmlSSXPiyM8Z2mQ3mVrKs3oFaXEWfq2yDqnFgz7s5gYSZUYG-THBRrJ3TwSQ"; e_fb_builduser="AcJSB0U34F0Nas6UTGAmqlWED-G2v_m3kVnmWZ6XmjDZQw8iFCF3tu6Am_vO6G0sBvA"; e_fb_httpversion="AcLHHqCBsAT3IWW9nQ4BT1AZGyr9T1UfEH0WklhaMThRDvigE6ygfZHPpGto"; e_fb_binaryversion="AcJ1AeaHXrAgFakn4k3pQU2svEhlnMk3Q5XgrDPA6k1xT3XNrkeDW0gwa3TxGOLEQOLX1WBepWrQaGnkugQ_dAAVm1imXDBlw8g"; e_proxy="AcLyUkoOmS0IUL6RKw9_VpS7KbB5srnwW3g_PWiilsfJiAjvElUTK-CYTb7Gz2V-R3AiouSUnBtSU_I"', 'x-fb-connection-quality': 'UNKNOWN; q=-1, rtt=-1, rtx=0, c=10, mss=1380, tbw=372, tp=-1, tpl=-1, uplat=741, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'close' }, config: { adapter: [Function: httpAdapter], transformRequest: [Object], transformResponse: [Object], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', data: '{"recipient":{"id":"8393269254042365"},"sender_action":"typing_off"}' }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json;charset=utf-8\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Content-Length: 68\r\n' + 'Host: graph.facebook.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: '/v2.6/me/messages?access_token=EAAb9sYSjp9wBADjh7p4mbLD3mSEOuM8CYfvfmPVHveG7hMAplAclZBCatXJwxiZBU3pnOH3Q8PcOZCsZCycj7ZCToamUZA0kzNJ5hGxnL6vRkrJSBBOBEPhNTj4Vf9r0hRRDdCftyaKsI3KmikQxKwKrsddMmdKXwQd2p1hJ4WO5sMikVQZBFZAp', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'graph.facebook.com', protocol: 'https:', _redirectable: [Writable], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(kUniqueHeaders)]: null }, data: { error: [Object] } } } 10/09/2024 20:39:26: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 20:40:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 20:41:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 20:42:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 20:43:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 21:22:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 21:23:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 21:24:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 21:25:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 22:22:29: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 22:23:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 22:24:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 22:25:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/09/2024 22:28:46: Request bot not found: { id: '863113247096430' } 10/09/2024 22:28:53: Request bot not found: { id: '863113247096430' } 10/10/2024 10:54:32: Request bot not found: { id: '234064353428134' } You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of undefined (reading 'post') at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :77:29) at Array.forEach () at updateIdentifiers (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :65:14) at eval (eval at callback (/home/ubuntu/api-facebook/controllers/flow/callback.js:38:17), :140:39) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) 10/10/2024 11:14:22: Request bot not found: { id: '863113247096430' } 10/10/2024 11:14:23: Request bot not found: { id: '863113247096430' } 10/11/2024 14:07:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 14:08:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 14:09:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 14:10:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 15:07:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 15:08:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 15:09:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 15:10:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 15:19:02: Request bot not found: { id: '128159377280665' } 10/11/2024 17:40:27: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 17:41:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 17:42:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 17:43:40: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 17:44:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 17:48:07: Request bot not found: { id: '128159377280665' } 10/11/2024 17:49:03: Request bot not found: { id: '128159377280665' } 10/11/2024 18:40:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 18:41:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 18:42:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 18:43:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/11/2024 18:44:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 11:38:57: Marker: 0 | ID: 670a5fd111e0a671f61d6e3b | Error: cant_get_message 10/12/2024 11:45:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 11:46:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 11:47:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 11:48:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 12:45:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 12:46:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 12:47:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 12:48:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 16:54:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 16:55:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 16:56:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 16:57:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 17:54:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 17:55:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 17:56:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 17:57:24: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 17:58:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/12/2024 19:23:19: Request bot not found: { id: '863113247096430' } 10/14/2024 03:25:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:26:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:27:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:28:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:29:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:39:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:40:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:41:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:42:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 03:43:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 04:39:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 04:40:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 04:41:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 04:42:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 04:43:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/14/2024 12:15:18: Request bot not found: { id: '863113247096430' } 10/14/2024 12:15:21: Request bot not found: { id: '863113247096430' } 10/14/2024 12:15:30: Request bot not found: { id: '863113247096430' } 10/14/2024 12:26:45: Request bot not found: { id: '863113247096430' } 10/14/2024 13:35:14: Request bot not found: { id: '138894166495332' } 10/14/2024 13:35:28: Request bot not found: { id: '138894166495332' } 10/14/2024 13:35:31: Request bot not found: { id: '138894166495332' } 10/14/2024 14:27:27: Request bot not found: { id: '863113247096430' } 10/14/2024 14:27:57: Request bot not found: { id: '863113247096430' } 10/15/2024 01:53:23: Marker: 0 | ID: 670dcb1311e0a671f61d7094 | Error: cant_get_message 10/15/2024 01:59:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 02:00:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 02:01:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 02:02:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 02:03:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 02:59:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 03:00:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 03:01:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 03:02:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 03:03:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 15:48:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 15:49:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 15:50:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 15:51:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 16:48:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 16:49:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 16:50:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 16:51:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/15/2024 17:35:40: Request bot not found: { id: '234064353428134' } 10/15/2024 18:26:03: Error on Persistence - treatment | error => { status: 404, message: 'Persistence not found!' } 10/15/2024 18:27:21: Error on Persistence - treatment | error => { status: 404, message: 'Persistence not found!' } 10/15/2024 18:28:21: Error on Persistence - treatment | error => { status: 404, message: 'Persistence not found!' } 10/15/2024 18:29:21: Error on Persistence - treatment | error => { status: 404, message: 'Persistence not found!' } 10/15/2024 18:30:22: Error on Persistence - treatment | error => { status: 404, message: 'Persistence not found!' } 10/15/2024 18:32:22: Error on Persistence - treatment | error => { status: 404, message: 'Persistence not found!' } 10/16/2024 12:17:11: Request bot not found: { id: '863113247096430' } 10/16/2024 15:28:51: Request bot not found: { id: '863113247096430' } 10/16/2024 15:28:52: Request bot not found: { id: '863113247096430' } 10/16/2024 23:34:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/16/2024 23:35:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/16/2024 23:36:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/16/2024 23:37:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/16/2024 23:38:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 00:34:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 00:35:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 00:36:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 00:37:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 00:38:18: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 16:20:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 16:21:28: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 16:22:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 16:23:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 16:24:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:12:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:13:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:14:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:15:19: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:16:25: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:20:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:21:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:22:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:23:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 17:24:22: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 18:12:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 18:13:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 18:14:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 18:15:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 18:16:21: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:52:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:52:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:53:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:53:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:54:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:54:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:55:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:55:23: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:56:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:56:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 20:57:58: Check phone TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:173:13) at Object.request (node:https:357:10) at RedirectableRequest._performRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:169:24) at new RedirectableRequest (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:66:8) at Object.wrappedProtocol.request (/home/ubuntu/api-facebook/node_modules/follow-redirects/index.js:307:14) at dispatchHttpRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:141:25) at new Promise () at httpAdapter (/home/ubuntu/api-facebook/node_modules/axios/lib/adapters/http.js:18:10) at dispatchRequest (/home/ubuntu/api-facebook/node_modules/axios/lib/core/dispatchRequest.js:59:10) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports.checkPhone (/home/ubuntu/api-facebook/utils/Utils.js:123:24) at async receivePhone (/home/ubuntu/api-facebook/controllers/flow/receive_treatment_functions/receive_phone.js:13:21) at async treatmentReceiveInputType (/home/ubuntu/api-facebook/controllers/flow/treatment_receive_input_type.js:84:29) at async continueConversationFlow (/home/ubuntu/api-facebook/controllers/flow/message_init_continue_conversation.js:46:28) { code: 'ERR_UNESCAPED_CHARACTERS' } 10/17/2024 21:06:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 21:07:20: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 21:08:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 21:09:31: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 } 10/17/2024 21:10:17: Error on Persistence - treatment | error => { message: 'Persistence has no expiration time now', status: 404 }